1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.69. 4@%:@ 5@%:@ 6@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7@%:@ 8@%:@ 9@%:@ This configure script is free software; the Free Software Foundation 10@%:@ gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in @%:@( 26 *posix*) : 27 set -o posix ;; @%:@( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in @%:@( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in @%:@(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in @%:@ (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in @%:@( 170 *posix*) : 171 set -o posix ;; @%:@( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199test \$(( 1 + 1 )) = 2 || exit 1 200 201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 PATH=/empty FPATH=/empty; export PATH FPATH 206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210else 211 as_have_required=no 212fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217as_found=false 218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in @%:@( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233fi 234fi 235 done;; 236 esac 237 as_found=false 238done 239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242fi; } 243IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249# neutralization value for shells without unset; and this also 250# works around shells that cannot unset nonexistent variables. 251# Preserve -v and -x to the replacement shell. 252BASH_ENV=/dev/null 253ENV=/dev/null 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255case $- in @%:@ (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260esac 261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262# Admittedly, this is quite paranoid, since all the known shells bail 263# out after a failed `exec'. 264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265exit 255 266fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276$0: including any error possibly output before this 277$0: message. Then install a modern shell, or manually run 278$0: the script under such a shell if you do have one." 279 fi 280 exit 1 281fi 282fi 283fi 284SHELL=${CONFIG_SHELL-/bin/sh} 285export SHELL 286# Unset more variables known to interfere with behavior of common tools. 287CLICOLOR_FORCE= GREP_OPTIONS= 288unset CLICOLOR_FORCE GREP_OPTIONS 289 290## --------------------- ## 291## M4sh Shell Functions. ## 292## --------------------- ## 293@%:@ as_fn_unset VAR 294@%:@ --------------- 295@%:@ Portably unset VAR. 296as_fn_unset () 297{ 298 { eval $1=; unset $1;} 299} 300as_unset=as_fn_unset 301 302@%:@ as_fn_set_status STATUS 303@%:@ ----------------------- 304@%:@ Set @S|@? to STATUS, without forking. 305as_fn_set_status () 306{ 307 return $1 308} @%:@ as_fn_set_status 309 310@%:@ as_fn_exit STATUS 311@%:@ ----------------- 312@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313as_fn_exit () 314{ 315 set +e 316 as_fn_set_status $1 317 exit $1 318} @%:@ as_fn_exit 319 320@%:@ as_fn_mkdir_p 321@%:@ ------------- 322@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. 323as_fn_mkdir_p () 324{ 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342$as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366} @%:@ as_fn_mkdir_p 367 368@%:@ as_fn_executable_p FILE 369@%:@ ----------------------- 370@%:@ Test if FILE is an executable regular file. 371as_fn_executable_p () 372{ 373 test -f "$1" && test -x "$1" 374} @%:@ as_fn_executable_p 375@%:@ as_fn_append VAR VALUE 376@%:@ ---------------------- 377@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take 378@%:@ advantage of any shell optimizations that allow amortized linear growth over 379@%:@ repeated appends, instead of the typical quadratic growth present in naive 380@%:@ implementations. 381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391fi # as_fn_append 392 393@%:@ as_fn_arith ARG... 394@%:@ ------------------ 395@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the 396@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments 397@%:@ must be portable across @S|@(()) and expr. 398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408fi # as_fn_arith 409 410 411@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] 412@%:@ ---------------------------------------- 413@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415@%:@ script with STATUS, using 1 if that was 0. 416as_fn_error () 417{ 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425} @%:@ as_fn_error 426 427if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430else 431 as_expr=false 432fi 433 434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436else 437 as_basename=false 438fi 439 440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442else 443 as_dirname=false 444fi 445 446as_me=`$as_basename -- "$0" || 447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450$as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465# Avoid depending upon Character Ranges. 466as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469as_cr_digits='0123456789' 470as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506} 507 508ECHO_C= ECHO_N= ECHO_T= 509case `echo -n x` in @%:@((((( 510-n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520 521rm -f conf$$ conf$$.exe conf$$.file 522if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527fi 528if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542else 543 as_ln_s='cp -pR' 544fi 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546rmdir conf$$.dir 2>/dev/null 547 548if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553fi 554 555as_test_x='test -x' 556as_executable_p=as_fn_executable_p 557 558# Sed expression to map a string onto a valid CPP name. 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561# Sed expression to map a string onto a valid variable name. 562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567test -n "$DJDIR" || exec 7<&0 </dev/null 568exec 6>&1 569 570# Name of the host. 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572# so uname gets run too. 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575# 576# Initializations. 577# 578ac_default_prefix=/usr/local 579ac_clean_files= 580ac_config_libobj_dir=. 581LIB@&t@OBJS= 582cross_compiling=no 583subdirs= 584MFLAGS= 585MAKEFLAGS= 586 587# Identity of this package. 588PACKAGE_NAME= 589PACKAGE_TARNAME= 590PACKAGE_VERSION= 591PACKAGE_STRING= 592PACKAGE_BUGREPORT= 593PACKAGE_URL= 594 595ac_unique_file="configure.ac" 596# Factoring default headers for most tests. 597ac_includes_default="\ 598#include <stdio.h> 599#ifdef HAVE_SYS_TYPES_H 600# include <sys/types.h> 601#endif 602#ifdef HAVE_SYS_STAT_H 603# include <sys/stat.h> 604#endif 605#ifdef STDC_HEADERS 606# include <stdlib.h> 607# include <stddef.h> 608#else 609# ifdef HAVE_STDLIB_H 610# include <stdlib.h> 611# endif 612#endif 613#ifdef HAVE_STRING_H 614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 615# include <memory.h> 616# endif 617# include <string.h> 618#endif 619#ifdef HAVE_STRINGS_H 620# include <strings.h> 621#endif 622#ifdef HAVE_INTTYPES_H 623# include <inttypes.h> 624#endif 625#ifdef HAVE_STDINT_H 626# include <stdint.h> 627#endif 628#ifdef HAVE_UNISTD_H 629# include <unistd.h> 630#endif" 631 632ac_subst_vars='am__EXEEXT_FALSE 633am__EXEEXT_TRUE 634LTLIBOBJS 635LIB@&t@OBJS 636EVAS_LIBS 637EVAS_CFLAGS 638ECORE_LIBS 639ECORE_CFLAGS 640EINA_LIBS 641EINA_CFLAGS 642PKG_CONFIG_LIBDIR 643PKG_CONFIG_PATH 644PKG_CONFIG 645OTOOL64 646OTOOL 647LIPO 648NMEDIT 649DSYMUTIL 650MANIFEST_TOOL 651RANLIB 652ac_ct_AR 653AR 654DLLTOOL 655OBJDUMP 656LN_S 657NM 658ac_ct_DUMPBIN 659DUMPBIN 660LD 661FGREP 662SED 663LIBTOOL 664EGREP 665GREP 666CPP 667am__fastdepCC_FALSE 668am__fastdepCC_TRUE 669CCDEPMODE 670am__nodep 671AMDEPBACKSLASH 672AMDEP_FALSE 673AMDEP_TRUE 674am__quote 675am__include 676DEPDIR 677OBJEXT 678EXEEXT 679ac_ct_CC 680CPPFLAGS 681LDFLAGS 682CFLAGS 683CC 684host_os 685host_vendor 686host_cpu 687host 688build_os 689build_vendor 690build_cpu 691build 692AM_BACKSLASH 693AM_DEFAULT_VERBOSITY 694AM_DEFAULT_V 695AM_V 696am__untar 697am__tar 698AMTAR 699am__leading_dot 700SET_MAKE 701AWK 702mkdir_p 703MKDIR_P 704INSTALL_STRIP_PROGRAM 705STRIP 706install_sh 707MAKEINFO 708AUTOHEADER 709AUTOMAKE 710AUTOCONF 711ACLOCAL 712VERSION 713PACKAGE 714CYGPATH_W 715am__isrc 716INSTALL_DATA 717INSTALL_SCRIPT 718INSTALL_PROGRAM 719target_alias 720host_alias 721build_alias 722LIBS 723ECHO_T 724ECHO_N 725ECHO_C 726DEFS 727mandir 728localedir 729libdir 730psdir 731pdfdir 732dvidir 733htmldir 734infodir 735docdir 736oldincludedir 737includedir 738localstatedir 739sharedstatedir 740sysconfdir 741datadir 742datarootdir 743libexecdir 744sbindir 745bindir 746program_transform_name 747prefix 748exec_prefix 749PACKAGE_URL 750PACKAGE_BUGREPORT 751PACKAGE_STRING 752PACKAGE_VERSION 753PACKAGE_TARNAME 754PACKAGE_NAME 755PATH_SEPARATOR 756SHELL' 757ac_subst_files='' 758ac_user_opts=' 759enable_option_checking 760enable_silent_rules 761enable_dependency_tracking 762enable_shared 763enable_static 764with_pic 765enable_fast_install 766with_gnu_ld 767with_sysroot 768enable_libtool_lock 769' 770 ac_precious_vars='build_alias 771host_alias 772target_alias 773CC 774CFLAGS 775LDFLAGS 776LIBS 777CPPFLAGS 778CPP 779PKG_CONFIG 780PKG_CONFIG_PATH 781PKG_CONFIG_LIBDIR 782EINA_CFLAGS 783EINA_LIBS 784ECORE_CFLAGS 785ECORE_LIBS 786EVAS_CFLAGS 787EVAS_LIBS' 788 789 790# Initialize some variables set by options. 791ac_init_help= 792ac_init_version=false 793ac_unrecognized_opts= 794ac_unrecognized_sep= 795# The variables have the same names as the options, with 796# dashes changed to underlines. 797cache_file=/dev/null 798exec_prefix=NONE 799no_create= 800no_recursion= 801prefix=NONE 802program_prefix=NONE 803program_suffix=NONE 804program_transform_name=s,x,x, 805silent= 806site= 807srcdir= 808verbose= 809x_includes=NONE 810x_libraries=NONE 811 812# Installation directory options. 813# These are left unexpanded so users can "make install exec_prefix=/foo" 814# and all the variables that are supposed to be based on exec_prefix 815# by default will actually change. 816# Use braces instead of parens because sh, perl, etc. also accept them. 817# (The list follows the same order as the GNU Coding Standards.) 818bindir='${exec_prefix}/bin' 819sbindir='${exec_prefix}/sbin' 820libexecdir='${exec_prefix}/libexec' 821datarootdir='${prefix}/share' 822datadir='${datarootdir}' 823sysconfdir='${prefix}/etc' 824sharedstatedir='${prefix}/com' 825localstatedir='${prefix}/var' 826includedir='${prefix}/include' 827oldincludedir='/usr/include' 828docdir='${datarootdir}/doc/${PACKAGE}' 829infodir='${datarootdir}/info' 830htmldir='${docdir}' 831dvidir='${docdir}' 832pdfdir='${docdir}' 833psdir='${docdir}' 834libdir='${exec_prefix}/lib' 835localedir='${datarootdir}/locale' 836mandir='${datarootdir}/man' 837 838ac_prev= 839ac_dashdash= 840for ac_option 841do 842 # If the previous option needs an argument, assign it. 843 if test -n "$ac_prev"; then 844 eval $ac_prev=\$ac_option 845 ac_prev= 846 continue 847 fi 848 849 case $ac_option in 850 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 851 *=) ac_optarg= ;; 852 *) ac_optarg=yes ;; 853 esac 854 855 # Accept the important Cygnus configure options, so we can diagnose typos. 856 857 case $ac_dashdash$ac_option in 858 --) 859 ac_dashdash=yes ;; 860 861 -bindir | --bindir | --bindi | --bind | --bin | --bi) 862 ac_prev=bindir ;; 863 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 864 bindir=$ac_optarg ;; 865 866 -build | --build | --buil | --bui | --bu) 867 ac_prev=build_alias ;; 868 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 869 build_alias=$ac_optarg ;; 870 871 -cache-file | --cache-file | --cache-fil | --cache-fi \ 872 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 873 ac_prev=cache_file ;; 874 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 875 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 876 cache_file=$ac_optarg ;; 877 878 --config-cache | -C) 879 cache_file=config.cache ;; 880 881 -datadir | --datadir | --datadi | --datad) 882 ac_prev=datadir ;; 883 -datadir=* | --datadir=* | --datadi=* | --datad=*) 884 datadir=$ac_optarg ;; 885 886 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 887 | --dataroo | --dataro | --datar) 888 ac_prev=datarootdir ;; 889 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 890 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 891 datarootdir=$ac_optarg ;; 892 893 -disable-* | --disable-*) 894 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 895 # Reject names that are not valid shell variable names. 896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 897 as_fn_error $? "invalid feature name: $ac_useropt" 898 ac_useropt_orig=$ac_useropt 899 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 900 case $ac_user_opts in 901 *" 902"enable_$ac_useropt" 903"*) ;; 904 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 905 ac_unrecognized_sep=', ';; 906 esac 907 eval enable_$ac_useropt=no ;; 908 909 -docdir | --docdir | --docdi | --doc | --do) 910 ac_prev=docdir ;; 911 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 912 docdir=$ac_optarg ;; 913 914 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 915 ac_prev=dvidir ;; 916 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 917 dvidir=$ac_optarg ;; 918 919 -enable-* | --enable-*) 920 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 921 # Reject names that are not valid shell variable names. 922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 923 as_fn_error $? "invalid feature name: $ac_useropt" 924 ac_useropt_orig=$ac_useropt 925 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 926 case $ac_user_opts in 927 *" 928"enable_$ac_useropt" 929"*) ;; 930 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 931 ac_unrecognized_sep=', ';; 932 esac 933 eval enable_$ac_useropt=\$ac_optarg ;; 934 935 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 936 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 937 | --exec | --exe | --ex) 938 ac_prev=exec_prefix ;; 939 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 940 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 941 | --exec=* | --exe=* | --ex=*) 942 exec_prefix=$ac_optarg ;; 943 944 -gas | --gas | --ga | --g) 945 # Obsolete; use --with-gas. 946 with_gas=yes ;; 947 948 -help | --help | --hel | --he | -h) 949 ac_init_help=long ;; 950 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 951 ac_init_help=recursive ;; 952 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 953 ac_init_help=short ;; 954 955 -host | --host | --hos | --ho) 956 ac_prev=host_alias ;; 957 -host=* | --host=* | --hos=* | --ho=*) 958 host_alias=$ac_optarg ;; 959 960 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 961 ac_prev=htmldir ;; 962 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 963 | --ht=*) 964 htmldir=$ac_optarg ;; 965 966 -includedir | --includedir | --includedi | --included | --include \ 967 | --includ | --inclu | --incl | --inc) 968 ac_prev=includedir ;; 969 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 970 | --includ=* | --inclu=* | --incl=* | --inc=*) 971 includedir=$ac_optarg ;; 972 973 -infodir | --infodir | --infodi | --infod | --info | --inf) 974 ac_prev=infodir ;; 975 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 976 infodir=$ac_optarg ;; 977 978 -libdir | --libdir | --libdi | --libd) 979 ac_prev=libdir ;; 980 -libdir=* | --libdir=* | --libdi=* | --libd=*) 981 libdir=$ac_optarg ;; 982 983 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 984 | --libexe | --libex | --libe) 985 ac_prev=libexecdir ;; 986 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 987 | --libexe=* | --libex=* | --libe=*) 988 libexecdir=$ac_optarg ;; 989 990 -localedir | --localedir | --localedi | --localed | --locale) 991 ac_prev=localedir ;; 992 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 993 localedir=$ac_optarg ;; 994 995 -localstatedir | --localstatedir | --localstatedi | --localstated \ 996 | --localstate | --localstat | --localsta | --localst | --locals) 997 ac_prev=localstatedir ;; 998 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 999 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1000 localstatedir=$ac_optarg ;; 1001 1002 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1003 ac_prev=mandir ;; 1004 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1005 mandir=$ac_optarg ;; 1006 1007 -nfp | --nfp | --nf) 1008 # Obsolete; use --without-fp. 1009 with_fp=no ;; 1010 1011 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1012 | --no-cr | --no-c | -n) 1013 no_create=yes ;; 1014 1015 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1016 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1017 no_recursion=yes ;; 1018 1019 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1020 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1021 | --oldin | --oldi | --old | --ol | --o) 1022 ac_prev=oldincludedir ;; 1023 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1024 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1025 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1026 oldincludedir=$ac_optarg ;; 1027 1028 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1029 ac_prev=prefix ;; 1030 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1031 prefix=$ac_optarg ;; 1032 1033 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1034 | --program-pre | --program-pr | --program-p) 1035 ac_prev=program_prefix ;; 1036 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1037 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1038 program_prefix=$ac_optarg ;; 1039 1040 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1041 | --program-suf | --program-su | --program-s) 1042 ac_prev=program_suffix ;; 1043 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1044 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1045 program_suffix=$ac_optarg ;; 1046 1047 -program-transform-name | --program-transform-name \ 1048 | --program-transform-nam | --program-transform-na \ 1049 | --program-transform-n | --program-transform- \ 1050 | --program-transform | --program-transfor \ 1051 | --program-transfo | --program-transf \ 1052 | --program-trans | --program-tran \ 1053 | --progr-tra | --program-tr | --program-t) 1054 ac_prev=program_transform_name ;; 1055 -program-transform-name=* | --program-transform-name=* \ 1056 | --program-transform-nam=* | --program-transform-na=* \ 1057 | --program-transform-n=* | --program-transform-=* \ 1058 | --program-transform=* | --program-transfor=* \ 1059 | --program-transfo=* | --program-transf=* \ 1060 | --program-trans=* | --program-tran=* \ 1061 | --progr-tra=* | --program-tr=* | --program-t=*) 1062 program_transform_name=$ac_optarg ;; 1063 1064 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1065 ac_prev=pdfdir ;; 1066 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1067 pdfdir=$ac_optarg ;; 1068 1069 -psdir | --psdir | --psdi | --psd | --ps) 1070 ac_prev=psdir ;; 1071 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1072 psdir=$ac_optarg ;; 1073 1074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1075 | -silent | --silent | --silen | --sile | --sil) 1076 silent=yes ;; 1077 1078 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1079 ac_prev=sbindir ;; 1080 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1081 | --sbi=* | --sb=*) 1082 sbindir=$ac_optarg ;; 1083 1084 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1085 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1086 | --sharedst | --shareds | --shared | --share | --shar \ 1087 | --sha | --sh) 1088 ac_prev=sharedstatedir ;; 1089 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1090 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1091 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1092 | --sha=* | --sh=*) 1093 sharedstatedir=$ac_optarg ;; 1094 1095 -site | --site | --sit) 1096 ac_prev=site ;; 1097 -site=* | --site=* | --sit=*) 1098 site=$ac_optarg ;; 1099 1100 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1101 ac_prev=srcdir ;; 1102 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1103 srcdir=$ac_optarg ;; 1104 1105 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1106 | --syscon | --sysco | --sysc | --sys | --sy) 1107 ac_prev=sysconfdir ;; 1108 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1109 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1110 sysconfdir=$ac_optarg ;; 1111 1112 -target | --target | --targe | --targ | --tar | --ta | --t) 1113 ac_prev=target_alias ;; 1114 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1115 target_alias=$ac_optarg ;; 1116 1117 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1118 verbose=yes ;; 1119 1120 -version | --version | --versio | --versi | --vers | -V) 1121 ac_init_version=: ;; 1122 1123 -with-* | --with-*) 1124 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1125 # Reject names that are not valid shell variable names. 1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1127 as_fn_error $? "invalid package name: $ac_useropt" 1128 ac_useropt_orig=$ac_useropt 1129 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1130 case $ac_user_opts in 1131 *" 1132"with_$ac_useropt" 1133"*) ;; 1134 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1135 ac_unrecognized_sep=', ';; 1136 esac 1137 eval with_$ac_useropt=\$ac_optarg ;; 1138 1139 -without-* | --without-*) 1140 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1141 # Reject names that are not valid shell variable names. 1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1143 as_fn_error $? "invalid package name: $ac_useropt" 1144 ac_useropt_orig=$ac_useropt 1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1146 case $ac_user_opts in 1147 *" 1148"with_$ac_useropt" 1149"*) ;; 1150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1151 ac_unrecognized_sep=', ';; 1152 esac 1153 eval with_$ac_useropt=no ;; 1154 1155 --x) 1156 # Obsolete; use --with-x. 1157 with_x=yes ;; 1158 1159 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1160 | --x-incl | --x-inc | --x-in | --x-i) 1161 ac_prev=x_includes ;; 1162 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1163 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1164 x_includes=$ac_optarg ;; 1165 1166 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1167 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1168 ac_prev=x_libraries ;; 1169 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1170 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1171 x_libraries=$ac_optarg ;; 1172 1173 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1174Try \`$0 --help' for more information" 1175 ;; 1176 1177 *=*) 1178 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1179 # Reject names that are not valid shell variable names. 1180 case $ac_envvar in #( 1181 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1182 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1183 esac 1184 eval $ac_envvar=\$ac_optarg 1185 export $ac_envvar ;; 1186 1187 *) 1188 # FIXME: should be removed in autoconf 3.0. 1189 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1191 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1192 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1193 ;; 1194 1195 esac 1196done 1197 1198if test -n "$ac_prev"; then 1199 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1200 as_fn_error $? "missing argument to $ac_option" 1201fi 1202 1203if test -n "$ac_unrecognized_opts"; then 1204 case $enable_option_checking in 1205 no) ;; 1206 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1207 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1208 esac 1209fi 1210 1211# Check all directory arguments for consistency. 1212for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1213 datadir sysconfdir sharedstatedir localstatedir includedir \ 1214 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1215 libdir localedir mandir 1216do 1217 eval ac_val=\$$ac_var 1218 # Remove trailing slashes. 1219 case $ac_val in 1220 */ ) 1221 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1222 eval $ac_var=\$ac_val;; 1223 esac 1224 # Be sure to have absolute directory names. 1225 case $ac_val in 1226 [\\/$]* | ?:[\\/]* ) continue;; 1227 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1228 esac 1229 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1230done 1231 1232# There might be people who depend on the old broken behavior: `$host' 1233# used to hold the argument of --host etc. 1234# FIXME: To remove some day. 1235build=$build_alias 1236host=$host_alias 1237target=$target_alias 1238 1239# FIXME: To remove some day. 1240if test "x$host_alias" != x; then 1241 if test "x$build_alias" = x; then 1242 cross_compiling=maybe 1243 elif test "x$build_alias" != "x$host_alias"; then 1244 cross_compiling=yes 1245 fi 1246fi 1247 1248ac_tool_prefix= 1249test -n "$host_alias" && ac_tool_prefix=$host_alias- 1250 1251test "$silent" = yes && exec 6>/dev/null 1252 1253 1254ac_pwd=`pwd` && test -n "$ac_pwd" && 1255ac_ls_di=`ls -di .` && 1256ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1257 as_fn_error $? "working directory cannot be determined" 1258test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1259 as_fn_error $? "pwd does not report name of working directory" 1260 1261 1262# Find the source files, if location was not specified. 1263if test -z "$srcdir"; then 1264 ac_srcdir_defaulted=yes 1265 # Try the directory containing this script, then the parent directory. 1266 ac_confdir=`$as_dirname -- "$as_myself" || 1267$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1268 X"$as_myself" : 'X\(//\)[^/]' \| \ 1269 X"$as_myself" : 'X\(//\)$' \| \ 1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1271$as_echo X"$as_myself" | 1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1273 s//\1/ 1274 q 1275 } 1276 /^X\(\/\/\)[^/].*/{ 1277 s//\1/ 1278 q 1279 } 1280 /^X\(\/\/\)$/{ 1281 s//\1/ 1282 q 1283 } 1284 /^X\(\/\).*/{ 1285 s//\1/ 1286 q 1287 } 1288 s/.*/./; q'` 1289 srcdir=$ac_confdir 1290 if test ! -r "$srcdir/$ac_unique_file"; then 1291 srcdir=.. 1292 fi 1293else 1294 ac_srcdir_defaulted=no 1295fi 1296if test ! -r "$srcdir/$ac_unique_file"; then 1297 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1298 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1299fi 1300ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1301ac_abs_confdir=`( 1302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1303 pwd)` 1304# When building in place, set srcdir=. 1305if test "$ac_abs_confdir" = "$ac_pwd"; then 1306 srcdir=. 1307fi 1308# Remove unnecessary trailing slashes from srcdir. 1309# Double slashes in file names in object file debugging info 1310# mess up M-x gdb in Emacs. 1311case $srcdir in 1312*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1313esac 1314for ac_var in $ac_precious_vars; do 1315 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1316 eval ac_env_${ac_var}_value=\$${ac_var} 1317 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1318 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1319done 1320 1321# 1322# Report the --help message. 1323# 1324if test "$ac_init_help" = "long"; then 1325 # Omit some internal or obsolete options to make the list less imposing. 1326 # This message is too long to be a string in the A/UX 3.1 sh. 1327 cat <<_ACEOF 1328\`configure' configures this package to adapt to many kinds of systems. 1329 1330Usage: $0 [OPTION]... [VAR=VALUE]... 1331 1332To assign environment variables (e.g., CC, CFLAGS...), specify them as 1333VAR=VALUE. See below for descriptions of some of the useful variables. 1334 1335Defaults for the options are specified in brackets. 1336 1337Configuration: 1338 -h, --help display this help and exit 1339 --help=short display options specific to this package 1340 --help=recursive display the short help of all the included packages 1341 -V, --version display version information and exit 1342 -q, --quiet, --silent do not print \`checking ...' messages 1343 --cache-file=FILE cache test results in FILE [disabled] 1344 -C, --config-cache alias for \`--cache-file=config.cache' 1345 -n, --no-create do not create output files 1346 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1347 1348Installation directories: 1349 --prefix=PREFIX install architecture-independent files in PREFIX 1350 @<:@@S|@ac_default_prefix@:>@ 1351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1352 @<:@PREFIX@:>@ 1353 1354By default, \`make install' will install all the files in 1355\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1356an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1357for instance \`--prefix=\$HOME'. 1358 1359For better control, use the options below. 1360 1361Fine tuning of the installation directories: 1362 --bindir=DIR user executables [EPREFIX/bin] 1363 --sbindir=DIR system admin executables [EPREFIX/sbin] 1364 --libexecdir=DIR program executables [EPREFIX/libexec] 1365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1367 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1368 --libdir=DIR object code libraries [EPREFIX/lib] 1369 --includedir=DIR C header files [PREFIX/include] 1370 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1373 --infodir=DIR info documentation [DATAROOTDIR/info] 1374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1375 --mandir=DIR man documentation [DATAROOTDIR/man] 1376 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@ 1377 --htmldir=DIR html documentation [DOCDIR] 1378 --dvidir=DIR dvi documentation [DOCDIR] 1379 --pdfdir=DIR pdf documentation [DOCDIR] 1380 --psdir=DIR ps documentation [DOCDIR] 1381_ACEOF 1382 1383 cat <<\_ACEOF 1384 1385Program names: 1386 --program-prefix=PREFIX prepend PREFIX to installed program names 1387 --program-suffix=SUFFIX append SUFFIX to installed program names 1388 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1389 1390System types: 1391 --build=BUILD configure for building on BUILD [guessed] 1392 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1393_ACEOF 1394fi 1395 1396if test -n "$ac_init_help"; then 1397 1398 cat <<\_ACEOF 1399 1400Optional Features: 1401 --disable-option-checking ignore unrecognized --enable/--with options 1402 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1403 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1404 --enable-silent-rules less verbose build output (undo: "make V=1") 1405 --disable-silent-rules verbose build output (undo: "make V=0") 1406 --enable-dependency-tracking 1407 do not reject slow dependency extractors 1408 --disable-dependency-tracking 1409 speeds up one-time build 1410 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@ 1411 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@ 1412 --enable-fast-install@<:@=PKGS@:>@ 1413 optimize for fast installation @<:@default=yes@:>@ 1414 --disable-libtool-lock avoid locking (might break parallel builds) 1415 1416Optional Packages: 1417 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1418 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1419 --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use 1420 both@:>@ 1421 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@ 1422 --with-sysroot=DIR Search for dependent libraries within DIR 1423 (or the compiler's sysroot if not specified). 1424 1425Some influential environment variables: 1426 CC C compiler command 1427 CFLAGS C compiler flags 1428 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1429 nonstandard directory <lib dir> 1430 LIBS libraries to pass to the linker, e.g. -l<library> 1431 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1432 you have headers in a nonstandard directory <include dir> 1433 CPP C preprocessor 1434 PKG_CONFIG path to pkg-config utility 1435 PKG_CONFIG_PATH 1436 directories to add to pkg-config's search path 1437 PKG_CONFIG_LIBDIR 1438 path overriding pkg-config's built-in search path 1439 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config 1440 EINA_LIBS linker flags for EINA, overriding pkg-config 1441 ECORE_CFLAGS 1442 C compiler flags for ECORE, overriding pkg-config 1443 ECORE_LIBS linker flags for ECORE, overriding pkg-config 1444 EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config 1445 EVAS_LIBS linker flags for EVAS, overriding pkg-config 1446 1447Use these variables to override the choices made by `configure' or to help 1448it to find libraries and programs with nonstandard names/locations. 1449 1450Report bugs to the package provider. 1451_ACEOF 1452ac_status=$? 1453fi 1454 1455if test "$ac_init_help" = "recursive"; then 1456 # If there are subdirs, report their specific --help. 1457 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1458 test -d "$ac_dir" || 1459 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1460 continue 1461 ac_builddir=. 1462 1463case "$ac_dir" in 1464.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1465*) 1466 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1467 # A ".." for each directory in $ac_dir_suffix. 1468 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1469 case $ac_top_builddir_sub in 1470 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1471 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1472 esac ;; 1473esac 1474ac_abs_top_builddir=$ac_pwd 1475ac_abs_builddir=$ac_pwd$ac_dir_suffix 1476# for backward compatibility: 1477ac_top_builddir=$ac_top_build_prefix 1478 1479case $srcdir in 1480 .) # We are building in place. 1481 ac_srcdir=. 1482 ac_top_srcdir=$ac_top_builddir_sub 1483 ac_abs_top_srcdir=$ac_pwd ;; 1484 [\\/]* | ?:[\\/]* ) # Absolute name. 1485 ac_srcdir=$srcdir$ac_dir_suffix; 1486 ac_top_srcdir=$srcdir 1487 ac_abs_top_srcdir=$srcdir ;; 1488 *) # Relative name. 1489 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1490 ac_top_srcdir=$ac_top_build_prefix$srcdir 1491 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1492esac 1493ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1494 1495 cd "$ac_dir" || { ac_status=$?; continue; } 1496 # Check for guested configure. 1497 if test -f "$ac_srcdir/configure.gnu"; then 1498 echo && 1499 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1500 elif test -f "$ac_srcdir/configure"; then 1501 echo && 1502 $SHELL "$ac_srcdir/configure" --help=recursive 1503 else 1504 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1505 fi || ac_status=$? 1506 cd "$ac_pwd" || { ac_status=$?; break; } 1507 done 1508fi 1509 1510test -n "$ac_init_help" && exit $ac_status 1511if $ac_init_version; then 1512 cat <<\_ACEOF 1513configure 1514generated by GNU Autoconf 2.69 1515 1516Copyright (C) 2012 Free Software Foundation, Inc. 1517This configure script is free software; the Free Software Foundation 1518gives unlimited permission to copy, distribute and modify it. 1519_ACEOF 1520 exit 1521fi 1522 1523## ------------------------ ## 1524## Autoconf initialization. ## 1525## ------------------------ ## 1526 1527@%:@ ac_fn_c_try_compile LINENO 1528@%:@ -------------------------- 1529@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. 1530ac_fn_c_try_compile () 1531{ 1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1533 rm -f conftest.$ac_objext 1534 if { { ac_try="$ac_compile" 1535case "(($ac_try" in 1536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1537 *) ac_try_echo=$ac_try;; 1538esac 1539eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1540$as_echo "$ac_try_echo"; } >&5 1541 (eval "$ac_compile") 2>conftest.err 1542 ac_status=$? 1543 if test -s conftest.err; then 1544 grep -v '^ *+' conftest.err >conftest.er1 1545 cat conftest.er1 >&5 1546 mv -f conftest.er1 conftest.err 1547 fi 1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1549 test $ac_status = 0; } && { 1550 test -z "$ac_c_werror_flag" || 1551 test ! -s conftest.err 1552 } && test -s conftest.$ac_objext; then : 1553 ac_retval=0 1554else 1555 $as_echo "$as_me: failed program was:" >&5 1556sed 's/^/| /' conftest.$ac_ext >&5 1557 1558 ac_retval=1 1559fi 1560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1561 as_fn_set_status $ac_retval 1562 1563} @%:@ ac_fn_c_try_compile 1564 1565@%:@ ac_fn_c_try_cpp LINENO 1566@%:@ ---------------------- 1567@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. 1568ac_fn_c_try_cpp () 1569{ 1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1571 if { { ac_try="$ac_cpp conftest.$ac_ext" 1572case "(($ac_try" in 1573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1574 *) ac_try_echo=$ac_try;; 1575esac 1576eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1577$as_echo "$ac_try_echo"; } >&5 1578 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1579 ac_status=$? 1580 if test -s conftest.err; then 1581 grep -v '^ *+' conftest.err >conftest.er1 1582 cat conftest.er1 >&5 1583 mv -f conftest.er1 conftest.err 1584 fi 1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1586 test $ac_status = 0; } > conftest.i && { 1587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1588 test ! -s conftest.err 1589 }; then : 1590 ac_retval=0 1591else 1592 $as_echo "$as_me: failed program was:" >&5 1593sed 's/^/| /' conftest.$ac_ext >&5 1594 1595 ac_retval=1 1596fi 1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1598 as_fn_set_status $ac_retval 1599 1600} @%:@ ac_fn_c_try_cpp 1601 1602@%:@ ac_fn_c_try_run LINENO 1603@%:@ ---------------------- 1604@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes 1605@%:@ that executables *can* be run. 1606ac_fn_c_try_run () 1607{ 1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1609 if { { ac_try="$ac_link" 1610case "(($ac_try" in 1611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1612 *) ac_try_echo=$ac_try;; 1613esac 1614eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1615$as_echo "$ac_try_echo"; } >&5 1616 (eval "$ac_link") 2>&5 1617 ac_status=$? 1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1619 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1620 { { case "(($ac_try" in 1621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1622 *) ac_try_echo=$ac_try;; 1623esac 1624eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1625$as_echo "$ac_try_echo"; } >&5 1626 (eval "$ac_try") 2>&5 1627 ac_status=$? 1628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1629 test $ac_status = 0; }; }; then : 1630 ac_retval=0 1631else 1632 $as_echo "$as_me: program exited with status $ac_status" >&5 1633 $as_echo "$as_me: failed program was:" >&5 1634sed 's/^/| /' conftest.$ac_ext >&5 1635 1636 ac_retval=$ac_status 1637fi 1638 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1640 as_fn_set_status $ac_retval 1641 1642} @%:@ ac_fn_c_try_run 1643 1644@%:@ ac_fn_c_try_link LINENO 1645@%:@ ----------------------- 1646@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. 1647ac_fn_c_try_link () 1648{ 1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1650 rm -f conftest.$ac_objext conftest$ac_exeext 1651 if { { ac_try="$ac_link" 1652case "(($ac_try" in 1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1654 *) ac_try_echo=$ac_try;; 1655esac 1656eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1657$as_echo "$ac_try_echo"; } >&5 1658 (eval "$ac_link") 2>conftest.err 1659 ac_status=$? 1660 if test -s conftest.err; then 1661 grep -v '^ *+' conftest.err >conftest.er1 1662 cat conftest.er1 >&5 1663 mv -f conftest.er1 conftest.err 1664 fi 1665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1666 test $ac_status = 0; } && { 1667 test -z "$ac_c_werror_flag" || 1668 test ! -s conftest.err 1669 } && test -s conftest$ac_exeext && { 1670 test "$cross_compiling" = yes || 1671 test -x conftest$ac_exeext 1672 }; then : 1673 ac_retval=0 1674else 1675 $as_echo "$as_me: failed program was:" >&5 1676sed 's/^/| /' conftest.$ac_ext >&5 1677 1678 ac_retval=1 1679fi 1680 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1681 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1682 # interfere with the next link command; also delete a directory that is 1683 # left behind by Apple's compiler. We do this before executing the actions. 1684 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1686 as_fn_set_status $ac_retval 1687 1688} @%:@ ac_fn_c_try_link 1689 1690@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1691@%:@ ------------------------------------------------------- 1692@%:@ Tests whether HEADER exists and can be compiled using the include files in 1693@%:@ INCLUDES, setting the cache variable VAR accordingly. 1694ac_fn_c_check_header_compile () 1695{ 1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1698$as_echo_n "checking for $2... " >&6; } 1699if eval \${$3+:} false; then : 1700 $as_echo_n "(cached) " >&6 1701else 1702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1703/* end confdefs.h. */ 1704$4 1705@%:@include <$2> 1706_ACEOF 1707if ac_fn_c_try_compile "$LINENO"; then : 1708 eval "$3=yes" 1709else 1710 eval "$3=no" 1711fi 1712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1713fi 1714eval ac_res=\$$3 1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1716$as_echo "$ac_res" >&6; } 1717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1718 1719} @%:@ ac_fn_c_check_header_compile 1720 1721@%:@ ac_fn_c_check_func LINENO FUNC VAR 1722@%:@ ---------------------------------- 1723@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly 1724ac_fn_c_check_func () 1725{ 1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1728$as_echo_n "checking for $2... " >&6; } 1729if eval \${$3+:} false; then : 1730 $as_echo_n "(cached) " >&6 1731else 1732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1733/* end confdefs.h. */ 1734/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1735 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1736#define $2 innocuous_$2 1737 1738/* System header to define __stub macros and hopefully few prototypes, 1739 which can conflict with char $2 (); below. 1740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1741 <limits.h> exists even on freestanding compilers. */ 1742 1743#ifdef __STDC__ 1744# include <limits.h> 1745#else 1746# include <assert.h> 1747#endif 1748 1749#undef $2 1750 1751/* Override any GCC internal prototype to avoid an error. 1752 Use char because int might match the return type of a GCC 1753 builtin and then its argument prototype would still apply. */ 1754#ifdef __cplusplus 1755extern "C" 1756#endif 1757char $2 (); 1758/* The GNU C library defines this for functions which it implements 1759 to always fail with ENOSYS. Some functions are actually named 1760 something starting with __ and the normal name is an alias. */ 1761#if defined __stub_$2 || defined __stub___$2 1762choke me 1763#endif 1764 1765int 1766main () 1767{ 1768return $2 (); 1769 ; 1770 return 0; 1771} 1772_ACEOF 1773if ac_fn_c_try_link "$LINENO"; then : 1774 eval "$3=yes" 1775else 1776 eval "$3=no" 1777fi 1778rm -f core conftest.err conftest.$ac_objext \ 1779 conftest$ac_exeext conftest.$ac_ext 1780fi 1781eval ac_res=\$$3 1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1783$as_echo "$ac_res" >&6; } 1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1785 1786} @%:@ ac_fn_c_check_func 1787cat >config.log <<_ACEOF 1788This file contains any messages produced by compilers while 1789running configure, to aid debugging if configure makes a mistake. 1790 1791It was created by $as_me, which was 1792generated by GNU Autoconf 2.69. Invocation command line was 1793 1794 $ $0 $@ 1795 1796_ACEOF 1797exec 5>>config.log 1798{ 1799cat <<_ASUNAME 1800## --------- ## 1801## Platform. ## 1802## --------- ## 1803 1804hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1805uname -m = `(uname -m) 2>/dev/null || echo unknown` 1806uname -r = `(uname -r) 2>/dev/null || echo unknown` 1807uname -s = `(uname -s) 2>/dev/null || echo unknown` 1808uname -v = `(uname -v) 2>/dev/null || echo unknown` 1809 1810/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1811/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1812 1813/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1814/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1815/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1816/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1817/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1818/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1819/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1820 1821_ASUNAME 1822 1823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1824for as_dir in $PATH 1825do 1826 IFS=$as_save_IFS 1827 test -z "$as_dir" && as_dir=. 1828 $as_echo "PATH: $as_dir" 1829 done 1830IFS=$as_save_IFS 1831 1832} >&5 1833 1834cat >&5 <<_ACEOF 1835 1836 1837## ----------- ## 1838## Core tests. ## 1839## ----------- ## 1840 1841_ACEOF 1842 1843 1844# Keep a trace of the command line. 1845# Strip out --no-create and --no-recursion so they do not pile up. 1846# Strip out --silent because we don't want to record it for future runs. 1847# Also quote any args containing shell meta-characters. 1848# Make two passes to allow for proper duplicate-argument suppression. 1849ac_configure_args= 1850ac_configure_args0= 1851ac_configure_args1= 1852ac_must_keep_next=false 1853for ac_pass in 1 2 1854do 1855 for ac_arg 1856 do 1857 case $ac_arg in 1858 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1859 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1860 | -silent | --silent | --silen | --sile | --sil) 1861 continue ;; 1862 *\'*) 1863 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1864 esac 1865 case $ac_pass in 1866 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1867 2) 1868 as_fn_append ac_configure_args1 " '$ac_arg'" 1869 if test $ac_must_keep_next = true; then 1870 ac_must_keep_next=false # Got value, back to normal. 1871 else 1872 case $ac_arg in 1873 *=* | --config-cache | -C | -disable-* | --disable-* \ 1874 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1875 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1876 | -with-* | --with-* | -without-* | --without-* | --x) 1877 case "$ac_configure_args0 " in 1878 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1879 esac 1880 ;; 1881 -* ) ac_must_keep_next=true ;; 1882 esac 1883 fi 1884 as_fn_append ac_configure_args " '$ac_arg'" 1885 ;; 1886 esac 1887 done 1888done 1889{ ac_configure_args0=; unset ac_configure_args0;} 1890{ ac_configure_args1=; unset ac_configure_args1;} 1891 1892# When interrupted or exit'd, cleanup temporary files, and complete 1893# config.log. We remove comments because anyway the quotes in there 1894# would cause problems or look ugly. 1895# WARNING: Use '\'' to represent an apostrophe within the trap. 1896# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1897trap 'exit_status=$? 1898 # Save into config.log some information that might help in debugging. 1899 { 1900 echo 1901 1902 $as_echo "## ---------------- ## 1903## Cache variables. ## 1904## ---------------- ##" 1905 echo 1906 # The following way of writing the cache mishandles newlines in values, 1907( 1908 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1909 eval ac_val=\$$ac_var 1910 case $ac_val in #( 1911 *${as_nl}*) 1912 case $ac_var in #( 1913 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1914$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1915 esac 1916 case $ac_var in #( 1917 _ | IFS | as_nl) ;; #( 1918 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1919 *) { eval $ac_var=; unset $ac_var;} ;; 1920 esac ;; 1921 esac 1922 done 1923 (set) 2>&1 | 1924 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1925 *${as_nl}ac_space=\ *) 1926 sed -n \ 1927 "s/'\''/'\''\\\\'\'''\''/g; 1928 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1929 ;; #( 1930 *) 1931 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1932 ;; 1933 esac | 1934 sort 1935) 1936 echo 1937 1938 $as_echo "## ----------------- ## 1939## Output variables. ## 1940## ----------------- ##" 1941 echo 1942 for ac_var in $ac_subst_vars 1943 do 1944 eval ac_val=\$$ac_var 1945 case $ac_val in 1946 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1947 esac 1948 $as_echo "$ac_var='\''$ac_val'\''" 1949 done | sort 1950 echo 1951 1952 if test -n "$ac_subst_files"; then 1953 $as_echo "## ------------------- ## 1954## File substitutions. ## 1955## ------------------- ##" 1956 echo 1957 for ac_var in $ac_subst_files 1958 do 1959 eval ac_val=\$$ac_var 1960 case $ac_val in 1961 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1962 esac 1963 $as_echo "$ac_var='\''$ac_val'\''" 1964 done | sort 1965 echo 1966 fi 1967 1968 if test -s confdefs.h; then 1969 $as_echo "## ----------- ## 1970## confdefs.h. ## 1971## ----------- ##" 1972 echo 1973 cat confdefs.h 1974 echo 1975 fi 1976 test "$ac_signal" != 0 && 1977 $as_echo "$as_me: caught signal $ac_signal" 1978 $as_echo "$as_me: exit $exit_status" 1979 } >&5 1980 rm -f core *.core core.conftest.* && 1981 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1982 exit $exit_status 1983' 0 1984for ac_signal in 1 2 13 15; do 1985 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1986done 1987ac_signal=0 1988 1989# confdefs.h avoids OS command line length limits that DEFS can exceed. 1990rm -f -r conftest* confdefs.h 1991 1992$as_echo "/* confdefs.h */" > confdefs.h 1993 1994# Predefined preprocessor variables. 1995 1996cat >>confdefs.h <<_ACEOF 1997@%:@define PACKAGE_NAME "$PACKAGE_NAME" 1998_ACEOF 1999 2000cat >>confdefs.h <<_ACEOF 2001@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2002_ACEOF 2003 2004cat >>confdefs.h <<_ACEOF 2005@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 2006_ACEOF 2007 2008cat >>confdefs.h <<_ACEOF 2009@%:@define PACKAGE_STRING "$PACKAGE_STRING" 2010_ACEOF 2011 2012cat >>confdefs.h <<_ACEOF 2013@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2014_ACEOF 2015 2016cat >>confdefs.h <<_ACEOF 2017@%:@define PACKAGE_URL "$PACKAGE_URL" 2018_ACEOF 2019 2020 2021# Let the site file select an alternate cache file if it wants to. 2022# Prefer an explicitly selected file to automatically selected ones. 2023ac_site_file1=NONE 2024ac_site_file2=NONE 2025if test -n "$CONFIG_SITE"; then 2026 # We do not want a PATH search for config.site. 2027 case $CONFIG_SITE in @%:@(( 2028 -*) ac_site_file1=./$CONFIG_SITE;; 2029 */*) ac_site_file1=$CONFIG_SITE;; 2030 *) ac_site_file1=./$CONFIG_SITE;; 2031 esac 2032elif test "x$prefix" != xNONE; then 2033 ac_site_file1=$prefix/share/config.site 2034 ac_site_file2=$prefix/etc/config.site 2035else 2036 ac_site_file1=$ac_default_prefix/share/config.site 2037 ac_site_file2=$ac_default_prefix/etc/config.site 2038fi 2039for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2040do 2041 test "x$ac_site_file" = xNONE && continue 2042 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2043 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2044$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2045 sed 's/^/| /' "$ac_site_file" >&5 2046 . "$ac_site_file" \ 2047 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2048$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2049as_fn_error $? "failed to load site script $ac_site_file 2050See \`config.log' for more details" "$LINENO" 5; } 2051 fi 2052done 2053 2054if test -r "$cache_file"; then 2055 # Some versions of bash will fail to source /dev/null (special files 2056 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2057 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2058 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2059$as_echo "$as_me: loading cache $cache_file" >&6;} 2060 case $cache_file in 2061 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2062 *) . "./$cache_file";; 2063 esac 2064 fi 2065else 2066 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2067$as_echo "$as_me: creating cache $cache_file" >&6;} 2068 >$cache_file 2069fi 2070 2071# Check that the precious variables saved in the cache have kept the same 2072# value. 2073ac_cache_corrupted=false 2074for ac_var in $ac_precious_vars; do 2075 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2076 eval ac_new_set=\$ac_env_${ac_var}_set 2077 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2078 eval ac_new_val=\$ac_env_${ac_var}_value 2079 case $ac_old_set,$ac_new_set in 2080 set,) 2081 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2082$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2083 ac_cache_corrupted=: ;; 2084 ,set) 2085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2086$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2087 ac_cache_corrupted=: ;; 2088 ,);; 2089 *) 2090 if test "x$ac_old_val" != "x$ac_new_val"; then 2091 # differences in whitespace do not lead to failure. 2092 ac_old_val_w=`echo x $ac_old_val` 2093 ac_new_val_w=`echo x $ac_new_val` 2094 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2096$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2097 ac_cache_corrupted=: 2098 else 2099 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2100$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2101 eval $ac_var=\$ac_old_val 2102 fi 2103 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2104$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2105 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2106$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2107 fi;; 2108 esac 2109 # Pass precious variables to config.status. 2110 if test "$ac_new_set" = set; then 2111 case $ac_new_val in 2112 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2113 *) ac_arg=$ac_var=$ac_new_val ;; 2114 esac 2115 case " $ac_configure_args " in 2116 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2117 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2118 esac 2119 fi 2120done 2121if $ac_cache_corrupted; then 2122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2123$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2125$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2126 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2127fi 2128## -------------------- ## 2129## Main body of script. ## 2130## -------------------- ## 2131 2132ac_ext=c 2133ac_cpp='$CPP $CPPFLAGS' 2134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2136ac_compiler_gnu=$ac_cv_c_compiler_gnu 2137 2138 2139 2140 2141am__api_version='1.12' 2142 2143ac_aux_dir= 2144for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2145 if test -f "$ac_dir/install-sh"; then 2146 ac_aux_dir=$ac_dir 2147 ac_install_sh="$ac_aux_dir/install-sh -c" 2148 break 2149 elif test -f "$ac_dir/install.sh"; then 2150 ac_aux_dir=$ac_dir 2151 ac_install_sh="$ac_aux_dir/install.sh -c" 2152 break 2153 elif test -f "$ac_dir/shtool"; then 2154 ac_aux_dir=$ac_dir 2155 ac_install_sh="$ac_aux_dir/shtool install -c" 2156 break 2157 fi 2158done 2159if test -z "$ac_aux_dir"; then 2160 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2161fi 2162 2163# These three variables are undocumented and unsupported, 2164# and are intended to be withdrawn in a future Autoconf release. 2165# They can cause serious problems if a builder's source tree is in a directory 2166# whose full name contains unusual characters. 2167ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2168ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2169ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2170 2171 2172# Find a good install program. We prefer a C program (faster), 2173# so one script is as good as another. But avoid the broken or 2174# incompatible versions: 2175# SysV /etc/install, /usr/sbin/install 2176# SunOS /usr/etc/install 2177# IRIX /sbin/install 2178# AIX /bin/install 2179# AmigaOS /C/install, which installs bootblocks on floppy discs 2180# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2181# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2182# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2183# OS/2's system install, which has a completely different semantic 2184# ./install, which can be erroneously created by make from ./install.sh. 2185# Reject install programs that cannot install multiple files. 2186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2187$as_echo_n "checking for a BSD-compatible install... " >&6; } 2188if test -z "$INSTALL"; then 2189if ${ac_cv_path_install+:} false; then : 2190 $as_echo_n "(cached) " >&6 2191else 2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2193for as_dir in $PATH 2194do 2195 IFS=$as_save_IFS 2196 test -z "$as_dir" && as_dir=. 2197 # Account for people who put trailing slashes in PATH elements. 2198case $as_dir/ in @%:@(( 2199 ./ | .// | /[cC]/* | \ 2200 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2201 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2202 /usr/ucb/* ) ;; 2203 *) 2204 # OSF1 and SCO ODT 3.0 have their own names for install. 2205 # Don't use installbsd from OSF since it installs stuff as root 2206 # by default. 2207 for ac_prog in ginstall scoinst install; do 2208 for ac_exec_ext in '' $ac_executable_extensions; do 2209 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2210 if test $ac_prog = install && 2211 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2212 # AIX install. It has an incompatible calling convention. 2213 : 2214 elif test $ac_prog = install && 2215 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2216 # program-specific install script used by HP pwplus--don't use. 2217 : 2218 else 2219 rm -rf conftest.one conftest.two conftest.dir 2220 echo one > conftest.one 2221 echo two > conftest.two 2222 mkdir conftest.dir 2223 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2224 test -s conftest.one && test -s conftest.two && 2225 test -s conftest.dir/conftest.one && 2226 test -s conftest.dir/conftest.two 2227 then 2228 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2229 break 3 2230 fi 2231 fi 2232 fi 2233 done 2234 done 2235 ;; 2236esac 2237 2238 done 2239IFS=$as_save_IFS 2240 2241rm -rf conftest.one conftest.two conftest.dir 2242 2243fi 2244 if test "${ac_cv_path_install+set}" = set; then 2245 INSTALL=$ac_cv_path_install 2246 else 2247 # As a last resort, use the slow shell script. Don't cache a 2248 # value for INSTALL within a source directory, because that will 2249 # break other packages using the cache if that directory is 2250 # removed, or if the value is a relative name. 2251 INSTALL=$ac_install_sh 2252 fi 2253fi 2254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2255$as_echo "$INSTALL" >&6; } 2256 2257# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2258# It thinks the first close brace ends the variable substitution. 2259test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2260 2261test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2262 2263test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2264 2265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2266$as_echo_n "checking whether build environment is sane... " >&6; } 2267# Reject unsafe characters in $srcdir or the absolute working directory 2268# name. Accept space and tab only in the latter. 2269am_lf=' 2270' 2271case `pwd` in 2272 *[\\\"\#\$\&\'\`$am_lf]*) 2273 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2274esac 2275case $srcdir in 2276 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2277 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2278esac 2279 2280# Do 'set' in a subshell so we don't clobber the current shell's 2281# arguments. Must try -L first in case configure is actually a 2282# symlink; some systems play weird games with the mod time of symlinks 2283# (eg FreeBSD returns the mod time of the symlink's containing 2284# directory). 2285if ( 2286 am_has_slept=no 2287 for am_try in 1 2; do 2288 echo "timestamp, slept: $am_has_slept" > conftest.file 2289 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2290 if test "$*" = "X"; then 2291 # -L didn't work. 2292 set X `ls -t "$srcdir/configure" conftest.file` 2293 fi 2294 if test "$*" != "X $srcdir/configure conftest.file" \ 2295 && test "$*" != "X conftest.file $srcdir/configure"; then 2296 2297 # If neither matched, then we have a broken ls. This can happen 2298 # if, for instance, CONFIG_SHELL is bash and it inherits a 2299 # broken ls alias from the environment. This has actually 2300 # happened. Such a system could not be considered "sane". 2301 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2302 alias in your environment" "$LINENO" 5 2303 fi 2304 if test "$2" = conftest.file || test $am_try -eq 2; then 2305 break 2306 fi 2307 # Just in case. 2308 sleep 1 2309 am_has_slept=yes 2310 done 2311 test "$2" = conftest.file 2312 ) 2313then 2314 # Ok. 2315 : 2316else 2317 as_fn_error $? "newly created file is older than distributed files! 2318Check your system clock" "$LINENO" 5 2319fi 2320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2321$as_echo "yes" >&6; } 2322# If we didn't sleep, we still need to ensure time stamps of config.status and 2323# generated files are strictly newer. 2324am_sleep_pid= 2325if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2326 ( sleep 1 ) & 2327 am_sleep_pid=$! 2328fi 2329 2330rm -f conftest.file 2331 2332test "$program_prefix" != NONE && 2333 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2334# Use a double $ so make ignores it. 2335test "$program_suffix" != NONE && 2336 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2337# Double any \ or $. 2338# By default was `s,x,x', remove it if useless. 2339ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2340program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2341 2342# expand $ac_aux_dir to an absolute path 2343am_aux_dir=`cd $ac_aux_dir && pwd` 2344 2345if test x"${MISSING+set}" != xset; then 2346 case $am_aux_dir in 2347 *\ * | *\ *) 2348 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2349 *) 2350 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2351 esac 2352fi 2353# Use eval to expand $SHELL 2354if eval "$MISSING --run true"; then 2355 am_missing_run="$MISSING --run " 2356else 2357 am_missing_run= 2358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2359$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2360fi 2361 2362if test x"${install_sh}" != xset; then 2363 case $am_aux_dir in 2364 *\ * | *\ *) 2365 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2366 *) 2367 install_sh="\${SHELL} $am_aux_dir/install-sh" 2368 esac 2369fi 2370 2371# Installed binaries are usually stripped using 'strip' when the user 2372# run "make install-strip". However 'strip' might not be the right 2373# tool to use in cross-compilation environments, therefore Automake 2374# will honor the 'STRIP' environment variable to overrule this program. 2375if test "$cross_compiling" != no; then 2376 if test -n "$ac_tool_prefix"; then 2377 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2378set dummy ${ac_tool_prefix}strip; ac_word=$2 2379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2380$as_echo_n "checking for $ac_word... " >&6; } 2381if ${ac_cv_prog_STRIP+:} false; then : 2382 $as_echo_n "(cached) " >&6 2383else 2384 if test -n "$STRIP"; then 2385 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2386else 2387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2388for as_dir in $PATH 2389do 2390 IFS=$as_save_IFS 2391 test -z "$as_dir" && as_dir=. 2392 for ac_exec_ext in '' $ac_executable_extensions; do 2393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2394 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2396 break 2 2397 fi 2398done 2399 done 2400IFS=$as_save_IFS 2401 2402fi 2403fi 2404STRIP=$ac_cv_prog_STRIP 2405if test -n "$STRIP"; then 2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2407$as_echo "$STRIP" >&6; } 2408else 2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2410$as_echo "no" >&6; } 2411fi 2412 2413 2414fi 2415if test -z "$ac_cv_prog_STRIP"; then 2416 ac_ct_STRIP=$STRIP 2417 # Extract the first word of "strip", so it can be a program name with args. 2418set dummy strip; ac_word=$2 2419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2420$as_echo_n "checking for $ac_word... " >&6; } 2421if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2422 $as_echo_n "(cached) " >&6 2423else 2424 if test -n "$ac_ct_STRIP"; then 2425 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2426else 2427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2428for as_dir in $PATH 2429do 2430 IFS=$as_save_IFS 2431 test -z "$as_dir" && as_dir=. 2432 for ac_exec_ext in '' $ac_executable_extensions; do 2433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2434 ac_cv_prog_ac_ct_STRIP="strip" 2435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2436 break 2 2437 fi 2438done 2439 done 2440IFS=$as_save_IFS 2441 2442fi 2443fi 2444ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2445if test -n "$ac_ct_STRIP"; then 2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2447$as_echo "$ac_ct_STRIP" >&6; } 2448else 2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2450$as_echo "no" >&6; } 2451fi 2452 2453 if test "x$ac_ct_STRIP" = x; then 2454 STRIP=":" 2455 else 2456 case $cross_compiling:$ac_tool_warned in 2457yes:) 2458{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2459$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2460ac_tool_warned=yes ;; 2461esac 2462 STRIP=$ac_ct_STRIP 2463 fi 2464else 2465 STRIP="$ac_cv_prog_STRIP" 2466fi 2467 2468fi 2469INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2470 2471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2472$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2473if test -z "$MKDIR_P"; then 2474 if ${ac_cv_path_mkdir+:} false; then : 2475 $as_echo_n "(cached) " >&6 2476else 2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2478for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2479do 2480 IFS=$as_save_IFS 2481 test -z "$as_dir" && as_dir=. 2482 for ac_prog in mkdir gmkdir; do 2483 for ac_exec_ext in '' $ac_executable_extensions; do 2484 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2485 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2486 'mkdir (GNU coreutils) '* | \ 2487 'mkdir (coreutils) '* | \ 2488 'mkdir (fileutils) '4.1*) 2489 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2490 break 3;; 2491 esac 2492 done 2493 done 2494 done 2495IFS=$as_save_IFS 2496 2497fi 2498 2499 test -d ./--version && rmdir ./--version 2500 if test "${ac_cv_path_mkdir+set}" = set; then 2501 MKDIR_P="$ac_cv_path_mkdir -p" 2502 else 2503 # As a last resort, use the slow shell script. Don't cache a 2504 # value for MKDIR_P within a source directory, because that will 2505 # break other packages using the cache if that directory is 2506 # removed, or if the value is a relative name. 2507 MKDIR_P="$ac_install_sh -d" 2508 fi 2509fi 2510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2511$as_echo "$MKDIR_P" >&6; } 2512 2513for ac_prog in gawk mawk nawk awk 2514do 2515 # Extract the first word of "$ac_prog", so it can be a program name with args. 2516set dummy $ac_prog; ac_word=$2 2517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2518$as_echo_n "checking for $ac_word... " >&6; } 2519if ${ac_cv_prog_AWK+:} false; then : 2520 $as_echo_n "(cached) " >&6 2521else 2522 if test -n "$AWK"; then 2523 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2524else 2525as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2526for as_dir in $PATH 2527do 2528 IFS=$as_save_IFS 2529 test -z "$as_dir" && as_dir=. 2530 for ac_exec_ext in '' $ac_executable_extensions; do 2531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2532 ac_cv_prog_AWK="$ac_prog" 2533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2534 break 2 2535 fi 2536done 2537 done 2538IFS=$as_save_IFS 2539 2540fi 2541fi 2542AWK=$ac_cv_prog_AWK 2543if test -n "$AWK"; then 2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2545$as_echo "$AWK" >&6; } 2546else 2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2548$as_echo "no" >&6; } 2549fi 2550 2551 2552 test -n "$AWK" && break 2553done 2554 2555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2556$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2557set x ${MAKE-make} 2558ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2559if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2560 $as_echo_n "(cached) " >&6 2561else 2562 cat >conftest.make <<\_ACEOF 2563SHELL = /bin/sh 2564all: 2565 @echo '@@@%%%=$(MAKE)=@@@%%%' 2566_ACEOF 2567# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2568case `${MAKE-make} -f conftest.make 2>/dev/null` in 2569 *@@@%%%=?*=@@@%%%*) 2570 eval ac_cv_prog_make_${ac_make}_set=yes;; 2571 *) 2572 eval ac_cv_prog_make_${ac_make}_set=no;; 2573esac 2574rm -f conftest.make 2575fi 2576if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2578$as_echo "yes" >&6; } 2579 SET_MAKE= 2580else 2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2582$as_echo "no" >&6; } 2583 SET_MAKE="MAKE=${MAKE-make}" 2584fi 2585 2586rm -rf .tst 2>/dev/null 2587mkdir .tst 2>/dev/null 2588if test -d .tst; then 2589 am__leading_dot=. 2590else 2591 am__leading_dot=_ 2592fi 2593rmdir .tst 2>/dev/null 2594 2595if test "`cd $srcdir && pwd`" != "`pwd`"; then 2596 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2597 # is not polluted with repeated "-I." 2598 am__isrc=' -I$(srcdir)' 2599 # test to see if srcdir already configured 2600 if test -f $srcdir/config.status; then 2601 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2602 fi 2603fi 2604 2605# test whether we have cygpath 2606if test -z "$CYGPATH_W"; then 2607 if (cygpath --version) >/dev/null 2>/dev/null; then 2608 CYGPATH_W='cygpath -w' 2609 else 2610 CYGPATH_W=echo 2611 fi 2612fi 2613 2614 2615# Define the identity of the package. 2616 2617 PACKAGE=emprint 2618 VERSION=0.1.0 2619 2620 2621cat >>confdefs.h <<_ACEOF 2622@%:@define PACKAGE "$PACKAGE" 2623_ACEOF 2624 2625 2626cat >>confdefs.h <<_ACEOF 2627@%:@define VERSION "$VERSION" 2628_ACEOF 2629 2630# Some tools Automake needs. 2631 2632ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2633 2634 2635AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2636 2637 2638AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2639 2640 2641AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2642 2643 2644MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2645 2646# For better backward compatibility. To be removed once Automake 1.9.x 2647# dies out for good. For more background, see: 2648# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2649# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2650mkdir_p='$(MKDIR_P)' 2651 2652# We need awk for the "check" target. The system "awk" is bad on 2653# some platforms. 2654# Always define AMTAR for backward compatibility. Yes, it's still used 2655# in the wild :-( We should find a proper way to deprecate it ... 2656AMTAR='$${TAR-tar}' 2657 2658am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2659 2660 2661 2662 2663 2664ac_config_headers="$ac_config_headers config.h" 2665 2666@%:@ Check whether --enable-silent-rules was given. 2667if test "${enable_silent_rules+set}" = set; then : 2668 enableval=$enable_silent_rules; 2669fi 2670 2671case $enable_silent_rules in @%:@ ((( 2672 yes) AM_DEFAULT_VERBOSITY=0;; 2673 no) AM_DEFAULT_VERBOSITY=1;; 2674 *) AM_DEFAULT_VERBOSITY=0;; 2675esac 2676am_make=${MAKE-make} 2677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2678$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2679if ${am_cv_make_support_nested_variables+:} false; then : 2680 $as_echo_n "(cached) " >&6 2681else 2682 if $as_echo 'TRUE=$(BAR$(V)) 2683BAR0=false 2684BAR1=true 2685V=1 2686am__doit: 2687 @$(TRUE) 2688.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2689 am_cv_make_support_nested_variables=yes 2690else 2691 am_cv_make_support_nested_variables=no 2692fi 2693fi 2694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2695$as_echo "$am_cv_make_support_nested_variables" >&6; } 2696if test $am_cv_make_support_nested_variables = yes; then 2697 AM_V='$(V)' 2698 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2699else 2700 AM_V=$AM_DEFAULT_VERBOSITY 2701 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2702fi 2703AM_BACKSLASH='\' 2704 2705 2706# Make sure we can run config.sub. 2707$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2708 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2709 2710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2711$as_echo_n "checking build system type... " >&6; } 2712if ${ac_cv_build+:} false; then : 2713 $as_echo_n "(cached) " >&6 2714else 2715 ac_build_alias=$build_alias 2716test "x$ac_build_alias" = x && 2717 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2718test "x$ac_build_alias" = x && 2719 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2720ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2721 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2722 2723fi 2724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2725$as_echo "$ac_cv_build" >&6; } 2726case $ac_cv_build in 2727*-*-*) ;; 2728*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2729esac 2730build=$ac_cv_build 2731ac_save_IFS=$IFS; IFS='-' 2732set x $ac_cv_build 2733shift 2734build_cpu=$1 2735build_vendor=$2 2736shift; shift 2737# Remember, the first character of IFS is used to create $*, 2738# except with old shells: 2739build_os=$* 2740IFS=$ac_save_IFS 2741case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2742 2743 2744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2745$as_echo_n "checking host system type... " >&6; } 2746if ${ac_cv_host+:} false; then : 2747 $as_echo_n "(cached) " >&6 2748else 2749 if test "x$host_alias" = x; then 2750 ac_cv_host=$ac_cv_build 2751else 2752 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2753 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2754fi 2755 2756fi 2757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2758$as_echo "$ac_cv_host" >&6; } 2759case $ac_cv_host in 2760*-*-*) ;; 2761*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2762esac 2763host=$ac_cv_host 2764ac_save_IFS=$IFS; IFS='-' 2765set x $ac_cv_host 2766shift 2767host_cpu=$1 2768host_vendor=$2 2769shift; shift 2770# Remember, the first character of IFS is used to create $*, 2771# except with old shells: 2772host_os=$* 2773IFS=$ac_save_IFS 2774case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2775 2776 2777 2778ac_ext=c 2779ac_cpp='$CPP $CPPFLAGS' 2780ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2781ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2782ac_compiler_gnu=$ac_cv_c_compiler_gnu 2783if test -n "$ac_tool_prefix"; then 2784 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2785set dummy ${ac_tool_prefix}gcc; ac_word=$2 2786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2787$as_echo_n "checking for $ac_word... " >&6; } 2788if ${ac_cv_prog_CC+:} false; then : 2789 $as_echo_n "(cached) " >&6 2790else 2791 if test -n "$CC"; then 2792 ac_cv_prog_CC="$CC" # Let the user override the test. 2793else 2794as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2795for as_dir in $PATH 2796do 2797 IFS=$as_save_IFS 2798 test -z "$as_dir" && as_dir=. 2799 for ac_exec_ext in '' $ac_executable_extensions; do 2800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2801 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2803 break 2 2804 fi 2805done 2806 done 2807IFS=$as_save_IFS 2808 2809fi 2810fi 2811CC=$ac_cv_prog_CC 2812if test -n "$CC"; then 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2814$as_echo "$CC" >&6; } 2815else 2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2817$as_echo "no" >&6; } 2818fi 2819 2820 2821fi 2822if test -z "$ac_cv_prog_CC"; then 2823 ac_ct_CC=$CC 2824 # Extract the first word of "gcc", so it can be a program name with args. 2825set dummy gcc; ac_word=$2 2826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2827$as_echo_n "checking for $ac_word... " >&6; } 2828if ${ac_cv_prog_ac_ct_CC+:} false; then : 2829 $as_echo_n "(cached) " >&6 2830else 2831 if test -n "$ac_ct_CC"; then 2832 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2833else 2834as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2835for as_dir in $PATH 2836do 2837 IFS=$as_save_IFS 2838 test -z "$as_dir" && as_dir=. 2839 for ac_exec_ext in '' $ac_executable_extensions; do 2840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2841 ac_cv_prog_ac_ct_CC="gcc" 2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2843 break 2 2844 fi 2845done 2846 done 2847IFS=$as_save_IFS 2848 2849fi 2850fi 2851ac_ct_CC=$ac_cv_prog_ac_ct_CC 2852if test -n "$ac_ct_CC"; then 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2854$as_echo "$ac_ct_CC" >&6; } 2855else 2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2857$as_echo "no" >&6; } 2858fi 2859 2860 if test "x$ac_ct_CC" = x; then 2861 CC="" 2862 else 2863 case $cross_compiling:$ac_tool_warned in 2864yes:) 2865{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2866$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2867ac_tool_warned=yes ;; 2868esac 2869 CC=$ac_ct_CC 2870 fi 2871else 2872 CC="$ac_cv_prog_CC" 2873fi 2874 2875if test -z "$CC"; then 2876 if test -n "$ac_tool_prefix"; then 2877 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2878set dummy ${ac_tool_prefix}cc; ac_word=$2 2879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2880$as_echo_n "checking for $ac_word... " >&6; } 2881if ${ac_cv_prog_CC+:} false; then : 2882 $as_echo_n "(cached) " >&6 2883else 2884 if test -n "$CC"; then 2885 ac_cv_prog_CC="$CC" # Let the user override the test. 2886else 2887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2888for as_dir in $PATH 2889do 2890 IFS=$as_save_IFS 2891 test -z "$as_dir" && as_dir=. 2892 for ac_exec_ext in '' $ac_executable_extensions; do 2893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2894 ac_cv_prog_CC="${ac_tool_prefix}cc" 2895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2896 break 2 2897 fi 2898done 2899 done 2900IFS=$as_save_IFS 2901 2902fi 2903fi 2904CC=$ac_cv_prog_CC 2905if test -n "$CC"; then 2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2907$as_echo "$CC" >&6; } 2908else 2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2910$as_echo "no" >&6; } 2911fi 2912 2913 2914 fi 2915fi 2916if test -z "$CC"; then 2917 # Extract the first word of "cc", so it can be a program name with args. 2918set dummy cc; ac_word=$2 2919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2920$as_echo_n "checking for $ac_word... " >&6; } 2921if ${ac_cv_prog_CC+:} false; then : 2922 $as_echo_n "(cached) " >&6 2923else 2924 if test -n "$CC"; then 2925 ac_cv_prog_CC="$CC" # Let the user override the test. 2926else 2927 ac_prog_rejected=no 2928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2929for as_dir in $PATH 2930do 2931 IFS=$as_save_IFS 2932 test -z "$as_dir" && as_dir=. 2933 for ac_exec_ext in '' $ac_executable_extensions; do 2934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2935 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2936 ac_prog_rejected=yes 2937 continue 2938 fi 2939 ac_cv_prog_CC="cc" 2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2941 break 2 2942 fi 2943done 2944 done 2945IFS=$as_save_IFS 2946 2947if test $ac_prog_rejected = yes; then 2948 # We found a bogon in the path, so make sure we never use it. 2949 set dummy $ac_cv_prog_CC 2950 shift 2951 if test $@%:@ != 0; then 2952 # We chose a different compiler from the bogus one. 2953 # However, it has the same basename, so the bogon will be chosen 2954 # first if we set CC to just the basename; use the full file name. 2955 shift 2956 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2957 fi 2958fi 2959fi 2960fi 2961CC=$ac_cv_prog_CC 2962if test -n "$CC"; then 2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2964$as_echo "$CC" >&6; } 2965else 2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2967$as_echo "no" >&6; } 2968fi 2969 2970 2971fi 2972if test -z "$CC"; then 2973 if test -n "$ac_tool_prefix"; then 2974 for ac_prog in cl.exe 2975 do 2976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2977set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2979$as_echo_n "checking for $ac_word... " >&6; } 2980if ${ac_cv_prog_CC+:} false; then : 2981 $as_echo_n "(cached) " >&6 2982else 2983 if test -n "$CC"; then 2984 ac_cv_prog_CC="$CC" # Let the user override the test. 2985else 2986as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2987for as_dir in $PATH 2988do 2989 IFS=$as_save_IFS 2990 test -z "$as_dir" && as_dir=. 2991 for ac_exec_ext in '' $ac_executable_extensions; do 2992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2993 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2995 break 2 2996 fi 2997done 2998 done 2999IFS=$as_save_IFS 3000 3001fi 3002fi 3003CC=$ac_cv_prog_CC 3004if test -n "$CC"; then 3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3006$as_echo "$CC" >&6; } 3007else 3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3009$as_echo "no" >&6; } 3010fi 3011 3012 3013 test -n "$CC" && break 3014 done 3015fi 3016if test -z "$CC"; then 3017 ac_ct_CC=$CC 3018 for ac_prog in cl.exe 3019do 3020 # Extract the first word of "$ac_prog", so it can be a program name with args. 3021set dummy $ac_prog; ac_word=$2 3022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3023$as_echo_n "checking for $ac_word... " >&6; } 3024if ${ac_cv_prog_ac_ct_CC+:} false; then : 3025 $as_echo_n "(cached) " >&6 3026else 3027 if test -n "$ac_ct_CC"; then 3028 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3029else 3030as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3031for as_dir in $PATH 3032do 3033 IFS=$as_save_IFS 3034 test -z "$as_dir" && as_dir=. 3035 for ac_exec_ext in '' $ac_executable_extensions; do 3036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3037 ac_cv_prog_ac_ct_CC="$ac_prog" 3038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3039 break 2 3040 fi 3041done 3042 done 3043IFS=$as_save_IFS 3044 3045fi 3046fi 3047ac_ct_CC=$ac_cv_prog_ac_ct_CC 3048if test -n "$ac_ct_CC"; then 3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3050$as_echo "$ac_ct_CC" >&6; } 3051else 3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3053$as_echo "no" >&6; } 3054fi 3055 3056 3057 test -n "$ac_ct_CC" && break 3058done 3059 3060 if test "x$ac_ct_CC" = x; then 3061 CC="" 3062 else 3063 case $cross_compiling:$ac_tool_warned in 3064yes:) 3065{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3066$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3067ac_tool_warned=yes ;; 3068esac 3069 CC=$ac_ct_CC 3070 fi 3071fi 3072 3073fi 3074 3075 3076test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3077$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3078as_fn_error $? "no acceptable C compiler found in \$PATH 3079See \`config.log' for more details" "$LINENO" 5; } 3080 3081# Provide some information about the compiler. 3082$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3083set X $ac_compile 3084ac_compiler=$2 3085for ac_option in --version -v -V -qversion; do 3086 { { ac_try="$ac_compiler $ac_option >&5" 3087case "(($ac_try" in 3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3089 *) ac_try_echo=$ac_try;; 3090esac 3091eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3092$as_echo "$ac_try_echo"; } >&5 3093 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3094 ac_status=$? 3095 if test -s conftest.err; then 3096 sed '10a\ 3097... rest of stderr output deleted ... 3098 10q' conftest.err >conftest.er1 3099 cat conftest.er1 >&5 3100 fi 3101 rm -f conftest.er1 conftest.err 3102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3103 test $ac_status = 0; } 3104done 3105 3106cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3107/* end confdefs.h. */ 3108 3109int 3110main () 3111{ 3112 3113 ; 3114 return 0; 3115} 3116_ACEOF 3117ac_clean_files_save=$ac_clean_files 3118ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3119# Try to create an executable without -o first, disregard a.out. 3120# It will help us diagnose broken compilers, and finding out an intuition 3121# of exeext. 3122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3123$as_echo_n "checking whether the C compiler works... " >&6; } 3124ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3125 3126# The possible output files: 3127ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3128 3129ac_rmfiles= 3130for ac_file in $ac_files 3131do 3132 case $ac_file in 3133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3134 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3135 esac 3136done 3137rm -f $ac_rmfiles 3138 3139if { { ac_try="$ac_link_default" 3140case "(($ac_try" in 3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3142 *) ac_try_echo=$ac_try;; 3143esac 3144eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3145$as_echo "$ac_try_echo"; } >&5 3146 (eval "$ac_link_default") 2>&5 3147 ac_status=$? 3148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3149 test $ac_status = 0; }; then : 3150 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3151# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3152# in a Makefile. We should not override ac_cv_exeext if it was cached, 3153# so that the user can short-circuit this test for compilers unknown to 3154# Autoconf. 3155for ac_file in $ac_files '' 3156do 3157 test -f "$ac_file" || continue 3158 case $ac_file in 3159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3160 ;; 3161 [ab].out ) 3162 # We found the default executable, but exeext='' is most 3163 # certainly right. 3164 break;; 3165 *.* ) 3166 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3167 then :; else 3168 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3169 fi 3170 # We set ac_cv_exeext here because the later test for it is not 3171 # safe: cross compilers may not add the suffix if given an `-o' 3172 # argument, so we may need to know it at that point already. 3173 # Even if this section looks crufty: it has the advantage of 3174 # actually working. 3175 break;; 3176 * ) 3177 break;; 3178 esac 3179done 3180test "$ac_cv_exeext" = no && ac_cv_exeext= 3181 3182else 3183 ac_file='' 3184fi 3185if test -z "$ac_file"; then : 3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3187$as_echo "no" >&6; } 3188$as_echo "$as_me: failed program was:" >&5 3189sed 's/^/| /' conftest.$ac_ext >&5 3190 3191{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3192$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3193as_fn_error 77 "C compiler cannot create executables 3194See \`config.log' for more details" "$LINENO" 5; } 3195else 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3197$as_echo "yes" >&6; } 3198fi 3199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3200$as_echo_n "checking for C compiler default output file name... " >&6; } 3201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3202$as_echo "$ac_file" >&6; } 3203ac_exeext=$ac_cv_exeext 3204 3205rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3206ac_clean_files=$ac_clean_files_save 3207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3208$as_echo_n "checking for suffix of executables... " >&6; } 3209if { { ac_try="$ac_link" 3210case "(($ac_try" in 3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3212 *) ac_try_echo=$ac_try;; 3213esac 3214eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3215$as_echo "$ac_try_echo"; } >&5 3216 (eval "$ac_link") 2>&5 3217 ac_status=$? 3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3219 test $ac_status = 0; }; then : 3220 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3221# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3222# work properly (i.e., refer to `conftest.exe'), while it won't with 3223# `rm'. 3224for ac_file in conftest.exe conftest conftest.*; do 3225 test -f "$ac_file" || continue 3226 case $ac_file in 3227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3228 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3229 break;; 3230 * ) break;; 3231 esac 3232done 3233else 3234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3235$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3236as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3237See \`config.log' for more details" "$LINENO" 5; } 3238fi 3239rm -f conftest conftest$ac_cv_exeext 3240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3241$as_echo "$ac_cv_exeext" >&6; } 3242 3243rm -f conftest.$ac_ext 3244EXEEXT=$ac_cv_exeext 3245ac_exeext=$EXEEXT 3246cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3247/* end confdefs.h. */ 3248@%:@include <stdio.h> 3249int 3250main () 3251{ 3252FILE *f = fopen ("conftest.out", "w"); 3253 return ferror (f) || fclose (f) != 0; 3254 3255 ; 3256 return 0; 3257} 3258_ACEOF 3259ac_clean_files="$ac_clean_files conftest.out" 3260# Check that the compiler produces executables we can run. If not, either 3261# the compiler is broken, or we cross compile. 3262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3263$as_echo_n "checking whether we are cross compiling... " >&6; } 3264if test "$cross_compiling" != yes; then 3265 { { ac_try="$ac_link" 3266case "(($ac_try" in 3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3268 *) ac_try_echo=$ac_try;; 3269esac 3270eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3271$as_echo "$ac_try_echo"; } >&5 3272 (eval "$ac_link") 2>&5 3273 ac_status=$? 3274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3275 test $ac_status = 0; } 3276 if { ac_try='./conftest$ac_cv_exeext' 3277 { { case "(($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_try") 2>&5 3284 ac_status=$? 3285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3286 test $ac_status = 0; }; }; then 3287 cross_compiling=no 3288 else 3289 if test "$cross_compiling" = maybe; then 3290 cross_compiling=yes 3291 else 3292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3293$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3294as_fn_error $? "cannot run C compiled programs. 3295If you meant to cross compile, use \`--host'. 3296See \`config.log' for more details" "$LINENO" 5; } 3297 fi 3298 fi 3299fi 3300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3301$as_echo "$cross_compiling" >&6; } 3302 3303rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3304ac_clean_files=$ac_clean_files_save 3305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3306$as_echo_n "checking for suffix of object files... " >&6; } 3307if ${ac_cv_objext+:} false; then : 3308 $as_echo_n "(cached) " >&6 3309else 3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3311/* end confdefs.h. */ 3312 3313int 3314main () 3315{ 3316 3317 ; 3318 return 0; 3319} 3320_ACEOF 3321rm -f conftest.o conftest.obj 3322if { { ac_try="$ac_compile" 3323case "(($ac_try" in 3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3325 *) ac_try_echo=$ac_try;; 3326esac 3327eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3328$as_echo "$ac_try_echo"; } >&5 3329 (eval "$ac_compile") 2>&5 3330 ac_status=$? 3331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3332 test $ac_status = 0; }; then : 3333 for ac_file in conftest.o conftest.obj conftest.*; do 3334 test -f "$ac_file" || continue; 3335 case $ac_file in 3336 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3337 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3338 break;; 3339 esac 3340done 3341else 3342 $as_echo "$as_me: failed program was:" >&5 3343sed 's/^/| /' conftest.$ac_ext >&5 3344 3345{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3346$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3347as_fn_error $? "cannot compute suffix of object files: cannot compile 3348See \`config.log' for more details" "$LINENO" 5; } 3349fi 3350rm -f conftest.$ac_cv_objext conftest.$ac_ext 3351fi 3352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3353$as_echo "$ac_cv_objext" >&6; } 3354OBJEXT=$ac_cv_objext 3355ac_objext=$OBJEXT 3356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3357$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3358if ${ac_cv_c_compiler_gnu+:} false; then : 3359 $as_echo_n "(cached) " >&6 3360else 3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3362/* end confdefs.h. */ 3363 3364int 3365main () 3366{ 3367#ifndef __GNUC__ 3368 choke me 3369#endif 3370 3371 ; 3372 return 0; 3373} 3374_ACEOF 3375if ac_fn_c_try_compile "$LINENO"; then : 3376 ac_compiler_gnu=yes 3377else 3378 ac_compiler_gnu=no 3379fi 3380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3381ac_cv_c_compiler_gnu=$ac_compiler_gnu 3382 3383fi 3384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3385$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3386if test $ac_compiler_gnu = yes; then 3387 GCC=yes 3388else 3389 GCC= 3390fi 3391ac_test_CFLAGS=${CFLAGS+set} 3392ac_save_CFLAGS=$CFLAGS 3393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3394$as_echo_n "checking whether $CC accepts -g... " >&6; } 3395if ${ac_cv_prog_cc_g+:} false; then : 3396 $as_echo_n "(cached) " >&6 3397else 3398 ac_save_c_werror_flag=$ac_c_werror_flag 3399 ac_c_werror_flag=yes 3400 ac_cv_prog_cc_g=no 3401 CFLAGS="-g" 3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3403/* end confdefs.h. */ 3404 3405int 3406main () 3407{ 3408 3409 ; 3410 return 0; 3411} 3412_ACEOF 3413if ac_fn_c_try_compile "$LINENO"; then : 3414 ac_cv_prog_cc_g=yes 3415else 3416 CFLAGS="" 3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3418/* end confdefs.h. */ 3419 3420int 3421main () 3422{ 3423 3424 ; 3425 return 0; 3426} 3427_ACEOF 3428if ac_fn_c_try_compile "$LINENO"; then : 3429 3430else 3431 ac_c_werror_flag=$ac_save_c_werror_flag 3432 CFLAGS="-g" 3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3434/* end confdefs.h. */ 3435 3436int 3437main () 3438{ 3439 3440 ; 3441 return 0; 3442} 3443_ACEOF 3444if ac_fn_c_try_compile "$LINENO"; then : 3445 ac_cv_prog_cc_g=yes 3446fi 3447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3448fi 3449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3450fi 3451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3452 ac_c_werror_flag=$ac_save_c_werror_flag 3453fi 3454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3455$as_echo "$ac_cv_prog_cc_g" >&6; } 3456if test "$ac_test_CFLAGS" = set; then 3457 CFLAGS=$ac_save_CFLAGS 3458elif test $ac_cv_prog_cc_g = yes; then 3459 if test "$GCC" = yes; then 3460 CFLAGS="-g -O2" 3461 else 3462 CFLAGS="-g" 3463 fi 3464else 3465 if test "$GCC" = yes; then 3466 CFLAGS="-O2" 3467 else 3468 CFLAGS= 3469 fi 3470fi 3471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3472$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3473if ${ac_cv_prog_cc_c89+:} false; then : 3474 $as_echo_n "(cached) " >&6 3475else 3476 ac_cv_prog_cc_c89=no 3477ac_save_CC=$CC 3478cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3479/* end confdefs.h. */ 3480#include <stdarg.h> 3481#include <stdio.h> 3482struct stat; 3483/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3484struct buf { int x; }; 3485FILE * (*rcsopen) (struct buf *, struct stat *, int); 3486static char *e (p, i) 3487 char **p; 3488 int i; 3489{ 3490 return p[i]; 3491} 3492static char *f (char * (*g) (char **, int), char **p, ...) 3493{ 3494 char *s; 3495 va_list v; 3496 va_start (v,p); 3497 s = g (p, va_arg (v,int)); 3498 va_end (v); 3499 return s; 3500} 3501 3502/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3503 function prototypes and stuff, but not '\xHH' hex character constants. 3504 These don't provoke an error unfortunately, instead are silently treated 3505 as 'x'. The following induces an error, until -std is added to get 3506 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3507 array size at least. It's necessary to write '\x00'==0 to get something 3508 that's true only with -std. */ 3509int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3510 3511/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3512 inside strings and character constants. */ 3513#define FOO(x) 'x' 3514int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3515 3516int test (int i, double x); 3517struct s1 {int (*f) (int a);}; 3518struct s2 {int (*f) (double a);}; 3519int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3520int argc; 3521char **argv; 3522int 3523main () 3524{ 3525return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3526 ; 3527 return 0; 3528} 3529_ACEOF 3530for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3531 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3532do 3533 CC="$ac_save_CC $ac_arg" 3534 if ac_fn_c_try_compile "$LINENO"; then : 3535 ac_cv_prog_cc_c89=$ac_arg 3536fi 3537rm -f core conftest.err conftest.$ac_objext 3538 test "x$ac_cv_prog_cc_c89" != "xno" && break 3539done 3540rm -f conftest.$ac_ext 3541CC=$ac_save_CC 3542 3543fi 3544# AC_CACHE_VAL 3545case "x$ac_cv_prog_cc_c89" in 3546 x) 3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3548$as_echo "none needed" >&6; } ;; 3549 xno) 3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3551$as_echo "unsupported" >&6; } ;; 3552 *) 3553 CC="$CC $ac_cv_prog_cc_c89" 3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3555$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3556esac 3557if test "x$ac_cv_prog_cc_c89" != xno; then : 3558 3559fi 3560 3561ac_ext=c 3562ac_cpp='$CPP $CPPFLAGS' 3563ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3564ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3565ac_compiler_gnu=$ac_cv_c_compiler_gnu 3566DEPDIR="${am__leading_dot}deps" 3567 3568ac_config_commands="$ac_config_commands depfiles" 3569 3570 3571am_make=${MAKE-make} 3572cat > confinc << 'END' 3573am__doit: 3574 @echo this is the am__doit target 3575.PHONY: am__doit 3576END 3577# If we don't find an include directive, just comment out the code. 3578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3579$as_echo_n "checking for style of include used by $am_make... " >&6; } 3580am__include="#" 3581am__quote= 3582_am_result=none 3583# First try GNU make style include. 3584echo "include confinc" > confmf 3585# Ignore all kinds of additional output from 'make'. 3586case `$am_make -s -f confmf 2> /dev/null` in #( 3587*the\ am__doit\ target*) 3588 am__include=include 3589 am__quote= 3590 _am_result=GNU 3591 ;; 3592esac 3593# Now try BSD make style include. 3594if test "$am__include" = "#"; then 3595 echo '.include "confinc"' > confmf 3596 case `$am_make -s -f confmf 2> /dev/null` in #( 3597 *the\ am__doit\ target*) 3598 am__include=.include 3599 am__quote="\"" 3600 _am_result=BSD 3601 ;; 3602 esac 3603fi 3604 3605 3606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3607$as_echo "$_am_result" >&6; } 3608rm -f confinc confmf 3609 3610@%:@ Check whether --enable-dependency-tracking was given. 3611if test "${enable_dependency_tracking+set}" = set; then : 3612 enableval=$enable_dependency_tracking; 3613fi 3614 3615if test "x$enable_dependency_tracking" != xno; then 3616 am_depcomp="$ac_aux_dir/depcomp" 3617 AMDEPBACKSLASH='\' 3618 am__nodep='_no' 3619fi 3620 if test "x$enable_dependency_tracking" != xno; then 3621 AMDEP_TRUE= 3622 AMDEP_FALSE='#' 3623else 3624 AMDEP_TRUE='#' 3625 AMDEP_FALSE= 3626fi 3627 3628 3629 3630depcc="$CC" am_compiler_list= 3631 3632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3633$as_echo_n "checking dependency style of $depcc... " >&6; } 3634if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3635 $as_echo_n "(cached) " >&6 3636else 3637 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3638 # We make a subdir and do the tests there. Otherwise we can end up 3639 # making bogus files that we don't know about and never remove. For 3640 # instance it was reported that on HP-UX the gcc test will end up 3641 # making a dummy file named 'D' -- because '-MD' means "put the output 3642 # in D". 3643 rm -rf conftest.dir 3644 mkdir conftest.dir 3645 # Copy depcomp to subdir because otherwise we won't find it if we're 3646 # using a relative directory. 3647 cp "$am_depcomp" conftest.dir 3648 cd conftest.dir 3649 # We will build objects and dependencies in a subdirectory because 3650 # it helps to detect inapplicable dependency modes. For instance 3651 # both Tru64's cc and ICC support -MD to output dependencies as a 3652 # side effect of compilation, but ICC will put the dependencies in 3653 # the current directory while Tru64 will put them in the object 3654 # directory. 3655 mkdir sub 3656 3657 am_cv_CC_dependencies_compiler_type=none 3658 if test "$am_compiler_list" = ""; then 3659 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3660 fi 3661 am__universal=false 3662 case " $depcc " in #( 3663 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3664 esac 3665 3666 for depmode in $am_compiler_list; do 3667 # Setup a source with many dependencies, because some compilers 3668 # like to wrap large dependency lists on column 80 (with \), and 3669 # we should not choose a depcomp mode which is confused by this. 3670 # 3671 # We need to recreate these files for each test, as the compiler may 3672 # overwrite some of them when testing with obscure command lines. 3673 # This happens at least with the AIX C compiler. 3674 : > sub/conftest.c 3675 for i in 1 2 3 4 5 6; do 3676 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3677 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3678 # Solaris 10 /bin/sh. 3679 echo '/* dummy */' > sub/conftst$i.h 3680 done 3681 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3682 3683 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3684 # mode. It turns out that the SunPro C++ compiler does not properly 3685 # handle '-M -o', and we need to detect this. Also, some Intel 3686 # versions had trouble with output in subdirs. 3687 am__obj=sub/conftest.${OBJEXT-o} 3688 am__minus_obj="-o $am__obj" 3689 case $depmode in 3690 gcc) 3691 # This depmode causes a compiler race in universal mode. 3692 test "$am__universal" = false || continue 3693 ;; 3694 nosideeffect) 3695 # After this tag, mechanisms are not by side-effect, so they'll 3696 # only be used when explicitly requested. 3697 if test "x$enable_dependency_tracking" = xyes; then 3698 continue 3699 else 3700 break 3701 fi 3702 ;; 3703 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3704 # This compiler won't grok '-c -o', but also, the minuso test has 3705 # not run yet. These depmodes are late enough in the game, and 3706 # so weak that their functioning should not be impacted. 3707 am__obj=conftest.${OBJEXT-o} 3708 am__minus_obj= 3709 ;; 3710 none) break ;; 3711 esac 3712 if depmode=$depmode \ 3713 source=sub/conftest.c object=$am__obj \ 3714 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3715 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3716 >/dev/null 2>conftest.err && 3717 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3718 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3719 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3720 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3721 # icc doesn't choke on unknown options, it will just issue warnings 3722 # or remarks (even with -Werror). So we grep stderr for any message 3723 # that says an option was ignored or not supported. 3724 # When given -MP, icc 7.0 and 7.1 complain thusly: 3725 # icc: Command line warning: ignoring option '-M'; no argument required 3726 # The diagnosis changed in icc 8.0: 3727 # icc: Command line remark: option '-MP' not supported 3728 if (grep 'ignoring option' conftest.err || 3729 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3730 am_cv_CC_dependencies_compiler_type=$depmode 3731 break 3732 fi 3733 fi 3734 done 3735 3736 cd .. 3737 rm -rf conftest.dir 3738else 3739 am_cv_CC_dependencies_compiler_type=none 3740fi 3741 3742fi 3743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3744$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3745CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3746 3747 if 3748 test "x$enable_dependency_tracking" != xno \ 3749 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3750 am__fastdepCC_TRUE= 3751 am__fastdepCC_FALSE='#' 3752else 3753 am__fastdepCC_TRUE='#' 3754 am__fastdepCC_FALSE= 3755fi 3756 3757 3758 3759ac_ext=c 3760ac_cpp='$CPP $CPPFLAGS' 3761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3763ac_compiler_gnu=$ac_cv_c_compiler_gnu 3764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3765$as_echo_n "checking how to run the C preprocessor... " >&6; } 3766# On Suns, sometimes $CPP names a directory. 3767if test -n "$CPP" && test -d "$CPP"; then 3768 CPP= 3769fi 3770if test -z "$CPP"; then 3771 if ${ac_cv_prog_CPP+:} false; then : 3772 $as_echo_n "(cached) " >&6 3773else 3774 # Double quotes because CPP needs to be expanded 3775 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3776 do 3777 ac_preproc_ok=false 3778for ac_c_preproc_warn_flag in '' yes 3779do 3780 # Use a header file that comes with gcc, so configuring glibc 3781 # with a fresh cross-compiler works. 3782 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3783 # <limits.h> exists even on freestanding compilers. 3784 # On the NeXT, cc -E runs the code through the compiler's parser, 3785 # not just through cpp. "Syntax error" is here to catch this case. 3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3787/* end confdefs.h. */ 3788@%:@ifdef __STDC__ 3789@%:@ include <limits.h> 3790@%:@else 3791@%:@ include <assert.h> 3792@%:@endif 3793 Syntax error 3794_ACEOF 3795if ac_fn_c_try_cpp "$LINENO"; then : 3796 3797else 3798 # Broken: fails on valid input. 3799continue 3800fi 3801rm -f conftest.err conftest.i conftest.$ac_ext 3802 3803 # OK, works on sane cases. Now check whether nonexistent headers 3804 # can be detected and how. 3805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3806/* end confdefs.h. */ 3807@%:@include <ac_nonexistent.h> 3808_ACEOF 3809if ac_fn_c_try_cpp "$LINENO"; then : 3810 # Broken: success on invalid input. 3811continue 3812else 3813 # Passes both tests. 3814ac_preproc_ok=: 3815break 3816fi 3817rm -f conftest.err conftest.i conftest.$ac_ext 3818 3819done 3820# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3821rm -f conftest.i conftest.err conftest.$ac_ext 3822if $ac_preproc_ok; then : 3823 break 3824fi 3825 3826 done 3827 ac_cv_prog_CPP=$CPP 3828 3829fi 3830 CPP=$ac_cv_prog_CPP 3831else 3832 ac_cv_prog_CPP=$CPP 3833fi 3834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3835$as_echo "$CPP" >&6; } 3836ac_preproc_ok=false 3837for ac_c_preproc_warn_flag in '' yes 3838do 3839 # Use a header file that comes with gcc, so configuring glibc 3840 # with a fresh cross-compiler works. 3841 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3842 # <limits.h> exists even on freestanding compilers. 3843 # On the NeXT, cc -E runs the code through the compiler's parser, 3844 # not just through cpp. "Syntax error" is here to catch this case. 3845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3846/* end confdefs.h. */ 3847@%:@ifdef __STDC__ 3848@%:@ include <limits.h> 3849@%:@else 3850@%:@ include <assert.h> 3851@%:@endif 3852 Syntax error 3853_ACEOF 3854if ac_fn_c_try_cpp "$LINENO"; then : 3855 3856else 3857 # Broken: fails on valid input. 3858continue 3859fi 3860rm -f conftest.err conftest.i conftest.$ac_ext 3861 3862 # OK, works on sane cases. Now check whether nonexistent headers 3863 # can be detected and how. 3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3865/* end confdefs.h. */ 3866@%:@include <ac_nonexistent.h> 3867_ACEOF 3868if ac_fn_c_try_cpp "$LINENO"; then : 3869 # Broken: success on invalid input. 3870continue 3871else 3872 # Passes both tests. 3873ac_preproc_ok=: 3874break 3875fi 3876rm -f conftest.err conftest.i conftest.$ac_ext 3877 3878done 3879# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3880rm -f conftest.i conftest.err conftest.$ac_ext 3881if $ac_preproc_ok; then : 3882 3883else 3884 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3885$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3886as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3887See \`config.log' for more details" "$LINENO" 5; } 3888fi 3889 3890ac_ext=c 3891ac_cpp='$CPP $CPPFLAGS' 3892ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3893ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3894ac_compiler_gnu=$ac_cv_c_compiler_gnu 3895 3896 3897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3898$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3899if ${ac_cv_path_GREP+:} false; then : 3900 $as_echo_n "(cached) " >&6 3901else 3902 if test -z "$GREP"; then 3903 ac_path_GREP_found=false 3904 # Loop through the user's path and test for each of PROGNAME-LIST 3905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3906for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3907do 3908 IFS=$as_save_IFS 3909 test -z "$as_dir" && as_dir=. 3910 for ac_prog in grep ggrep; do 3911 for ac_exec_ext in '' $ac_executable_extensions; do 3912 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3913 as_fn_executable_p "$ac_path_GREP" || continue 3914# Check for GNU ac_path_GREP and select it if it is found. 3915 # Check for GNU $ac_path_GREP 3916case `"$ac_path_GREP" --version 2>&1` in 3917*GNU*) 3918 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3919*) 3920 ac_count=0 3921 $as_echo_n 0123456789 >"conftest.in" 3922 while : 3923 do 3924 cat "conftest.in" "conftest.in" >"conftest.tmp" 3925 mv "conftest.tmp" "conftest.in" 3926 cp "conftest.in" "conftest.nl" 3927 $as_echo 'GREP' >> "conftest.nl" 3928 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3929 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3930 as_fn_arith $ac_count + 1 && ac_count=$as_val 3931 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3932 # Best one so far, save it but keep looking for a better one 3933 ac_cv_path_GREP="$ac_path_GREP" 3934 ac_path_GREP_max=$ac_count 3935 fi 3936 # 10*(2^10) chars as input seems more than enough 3937 test $ac_count -gt 10 && break 3938 done 3939 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3940esac 3941 3942 $ac_path_GREP_found && break 3 3943 done 3944 done 3945 done 3946IFS=$as_save_IFS 3947 if test -z "$ac_cv_path_GREP"; then 3948 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3949 fi 3950else 3951 ac_cv_path_GREP=$GREP 3952fi 3953 3954fi 3955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3956$as_echo "$ac_cv_path_GREP" >&6; } 3957 GREP="$ac_cv_path_GREP" 3958 3959 3960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3961$as_echo_n "checking for egrep... " >&6; } 3962if ${ac_cv_path_EGREP+:} false; then : 3963 $as_echo_n "(cached) " >&6 3964else 3965 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3966 then ac_cv_path_EGREP="$GREP -E" 3967 else 3968 if test -z "$EGREP"; then 3969 ac_path_EGREP_found=false 3970 # Loop through the user's path and test for each of PROGNAME-LIST 3971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3972for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3973do 3974 IFS=$as_save_IFS 3975 test -z "$as_dir" && as_dir=. 3976 for ac_prog in egrep; do 3977 for ac_exec_ext in '' $ac_executable_extensions; do 3978 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3979 as_fn_executable_p "$ac_path_EGREP" || continue 3980# Check for GNU ac_path_EGREP and select it if it is found. 3981 # Check for GNU $ac_path_EGREP 3982case `"$ac_path_EGREP" --version 2>&1` in 3983*GNU*) 3984 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3985*) 3986 ac_count=0 3987 $as_echo_n 0123456789 >"conftest.in" 3988 while : 3989 do 3990 cat "conftest.in" "conftest.in" >"conftest.tmp" 3991 mv "conftest.tmp" "conftest.in" 3992 cp "conftest.in" "conftest.nl" 3993 $as_echo 'EGREP' >> "conftest.nl" 3994 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3995 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3996 as_fn_arith $ac_count + 1 && ac_count=$as_val 3997 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3998 # Best one so far, save it but keep looking for a better one 3999 ac_cv_path_EGREP="$ac_path_EGREP" 4000 ac_path_EGREP_max=$ac_count 4001 fi 4002 # 10*(2^10) chars as input seems more than enough 4003 test $ac_count -gt 10 && break 4004 done 4005 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4006esac 4007 4008 $ac_path_EGREP_found && break 3 4009 done 4010 done 4011 done 4012IFS=$as_save_IFS 4013 if test -z "$ac_cv_path_EGREP"; then 4014 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4015 fi 4016else 4017 ac_cv_path_EGREP=$EGREP 4018fi 4019 4020 fi 4021fi 4022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4023$as_echo "$ac_cv_path_EGREP" >&6; } 4024 EGREP="$ac_cv_path_EGREP" 4025 4026 4027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4028$as_echo_n "checking for ANSI C header files... " >&6; } 4029if ${ac_cv_header_stdc+:} false; then : 4030 $as_echo_n "(cached) " >&6 4031else 4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4033/* end confdefs.h. */ 4034#include <stdlib.h> 4035#include <stdarg.h> 4036#include <string.h> 4037#include <float.h> 4038 4039int 4040main () 4041{ 4042 4043 ; 4044 return 0; 4045} 4046_ACEOF 4047if ac_fn_c_try_compile "$LINENO"; then : 4048 ac_cv_header_stdc=yes 4049else 4050 ac_cv_header_stdc=no 4051fi 4052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4053 4054if test $ac_cv_header_stdc = yes; then 4055 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4057/* end confdefs.h. */ 4058#include <string.h> 4059 4060_ACEOF 4061if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4062 $EGREP "memchr" >/dev/null 2>&1; then : 4063 4064else 4065 ac_cv_header_stdc=no 4066fi 4067rm -f conftest* 4068 4069fi 4070 4071if test $ac_cv_header_stdc = yes; then 4072 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4074/* end confdefs.h. */ 4075#include <stdlib.h> 4076 4077_ACEOF 4078if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4079 $EGREP "free" >/dev/null 2>&1; then : 4080 4081else 4082 ac_cv_header_stdc=no 4083fi 4084rm -f conftest* 4085 4086fi 4087 4088if test $ac_cv_header_stdc = yes; then 4089 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4090 if test "$cross_compiling" = yes; then : 4091 : 4092else 4093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4094/* end confdefs.h. */ 4095#include <ctype.h> 4096#include <stdlib.h> 4097#if ((' ' & 0x0FF) == 0x020) 4098# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4099# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4100#else 4101# define ISLOWER(c) \ 4102 (('a' <= (c) && (c) <= 'i') \ 4103 || ('j' <= (c) && (c) <= 'r') \ 4104 || ('s' <= (c) && (c) <= 'z')) 4105# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4106#endif 4107 4108#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4109int 4110main () 4111{ 4112 int i; 4113 for (i = 0; i < 256; i++) 4114 if (XOR (islower (i), ISLOWER (i)) 4115 || toupper (i) != TOUPPER (i)) 4116 return 2; 4117 return 0; 4118} 4119_ACEOF 4120if ac_fn_c_try_run "$LINENO"; then : 4121 4122else 4123 ac_cv_header_stdc=no 4124fi 4125rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4126 conftest.$ac_objext conftest.beam conftest.$ac_ext 4127fi 4128 4129fi 4130fi 4131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4132$as_echo "$ac_cv_header_stdc" >&6; } 4133if test $ac_cv_header_stdc = yes; then 4134 4135$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h 4136 4137fi 4138 4139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 4140$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4141if ${ac_cv_header_time+:} false; then : 4142 $as_echo_n "(cached) " >&6 4143else 4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4145/* end confdefs.h. */ 4146#include <sys/types.h> 4147#include <sys/time.h> 4148#include <time.h> 4149 4150int 4151main () 4152{ 4153if ((struct tm *) 0) 4154return 0; 4155 ; 4156 return 0; 4157} 4158_ACEOF 4159if ac_fn_c_try_compile "$LINENO"; then : 4160 ac_cv_header_time=yes 4161else 4162 ac_cv_header_time=no 4163fi 4164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4165fi 4166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 4167$as_echo "$ac_cv_header_time" >&6; } 4168if test $ac_cv_header_time = yes; then 4169 4170$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h 4171 4172fi 4173 4174@%:@ Check whether --enable-shared was given. 4175if test "${enable_shared+set}" = set; then : 4176 enableval=$enable_shared; p=${PACKAGE-default} 4177 case $enableval in 4178 yes) enable_shared=yes ;; 4179 no) enable_shared=no ;; 4180 *) 4181 enable_shared=no 4182 # Look at the argument we got. We use all the common list separators. 4183 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4184 for pkg in $enableval; do 4185 IFS="$lt_save_ifs" 4186 if test "X$pkg" = "X$p"; then 4187 enable_shared=yes 4188 fi 4189 done 4190 IFS="$lt_save_ifs" 4191 ;; 4192 esac 4193else 4194 enable_shared=yes 4195fi 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205case `pwd` in 4206 *\ * | *\ *) 4207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4208$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4209esac 4210 4211 4212 4213macro_version='2.4.2' 4214macro_revision='1.3337' 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228ltmain="$ac_aux_dir/ltmain.sh" 4229 4230# Backslashify metacharacters that are still active within 4231# double-quoted strings. 4232sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4233 4234# Same as above, but do not quote variable references. 4235double_quote_subst='s/\(["`\\]\)/\\\1/g' 4236 4237# Sed substitution to delay expansion of an escaped shell variable in a 4238# double_quote_subst'ed string. 4239delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4240 4241# Sed substitution to delay expansion of an escaped single quote. 4242delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4243 4244# Sed substitution to avoid accidental globbing in evaled expressions 4245no_glob_subst='s/\*/\\\*/g' 4246 4247ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4248ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4249ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4250 4251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4252$as_echo_n "checking how to print strings... " >&6; } 4253# Test print first, because it will be a builtin if present. 4254if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4255 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4256 ECHO='print -r --' 4257elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4258 ECHO='printf %s\n' 4259else 4260 # Use this function as a fallback that always works. 4261 func_fallback_echo () 4262 { 4263 eval 'cat <<_LTECHO_EOF 4264$1 4265_LTECHO_EOF' 4266 } 4267 ECHO='func_fallback_echo' 4268fi 4269 4270# func_echo_all arg... 4271# Invoke $ECHO with all args, space-separated. 4272func_echo_all () 4273{ 4274 $ECHO "" 4275} 4276 4277case "$ECHO" in 4278 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4279$as_echo "printf" >&6; } ;; 4280 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4281$as_echo "print -r" >&6; } ;; 4282 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4283$as_echo "cat" >&6; } ;; 4284esac 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4300$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4301if ${ac_cv_path_SED+:} false; then : 4302 $as_echo_n "(cached) " >&6 4303else 4304 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4305 for ac_i in 1 2 3 4 5 6 7; do 4306 ac_script="$ac_script$as_nl$ac_script" 4307 done 4308 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4309 { ac_script=; unset ac_script;} 4310 if test -z "$SED"; then 4311 ac_path_SED_found=false 4312 # Loop through the user's path and test for each of PROGNAME-LIST 4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4314for as_dir in $PATH 4315do 4316 IFS=$as_save_IFS 4317 test -z "$as_dir" && as_dir=. 4318 for ac_prog in sed gsed; do 4319 for ac_exec_ext in '' $ac_executable_extensions; do 4320 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4321 as_fn_executable_p "$ac_path_SED" || continue 4322# Check for GNU ac_path_SED and select it if it is found. 4323 # Check for GNU $ac_path_SED 4324case `"$ac_path_SED" --version 2>&1` in 4325*GNU*) 4326 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4327*) 4328 ac_count=0 4329 $as_echo_n 0123456789 >"conftest.in" 4330 while : 4331 do 4332 cat "conftest.in" "conftest.in" >"conftest.tmp" 4333 mv "conftest.tmp" "conftest.in" 4334 cp "conftest.in" "conftest.nl" 4335 $as_echo '' >> "conftest.nl" 4336 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4337 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4338 as_fn_arith $ac_count + 1 && ac_count=$as_val 4339 if test $ac_count -gt ${ac_path_SED_max-0}; then 4340 # Best one so far, save it but keep looking for a better one 4341 ac_cv_path_SED="$ac_path_SED" 4342 ac_path_SED_max=$ac_count 4343 fi 4344 # 10*(2^10) chars as input seems more than enough 4345 test $ac_count -gt 10 && break 4346 done 4347 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4348esac 4349 4350 $ac_path_SED_found && break 3 4351 done 4352 done 4353 done 4354IFS=$as_save_IFS 4355 if test -z "$ac_cv_path_SED"; then 4356 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4357 fi 4358else 4359 ac_cv_path_SED=$SED 4360fi 4361 4362fi 4363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4364$as_echo "$ac_cv_path_SED" >&6; } 4365 SED="$ac_cv_path_SED" 4366 rm -f conftest.sed 4367 4368test -z "$SED" && SED=sed 4369Xsed="$SED -e 1s/^X//" 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4382$as_echo_n "checking for fgrep... " >&6; } 4383if ${ac_cv_path_FGREP+:} false; then : 4384 $as_echo_n "(cached) " >&6 4385else 4386 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4387 then ac_cv_path_FGREP="$GREP -F" 4388 else 4389 if test -z "$FGREP"; then 4390 ac_path_FGREP_found=false 4391 # Loop through the user's path and test for each of PROGNAME-LIST 4392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4393for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4394do 4395 IFS=$as_save_IFS 4396 test -z "$as_dir" && as_dir=. 4397 for ac_prog in fgrep; do 4398 for ac_exec_ext in '' $ac_executable_extensions; do 4399 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4400 as_fn_executable_p "$ac_path_FGREP" || continue 4401# Check for GNU ac_path_FGREP and select it if it is found. 4402 # Check for GNU $ac_path_FGREP 4403case `"$ac_path_FGREP" --version 2>&1` in 4404*GNU*) 4405 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4406*) 4407 ac_count=0 4408 $as_echo_n 0123456789 >"conftest.in" 4409 while : 4410 do 4411 cat "conftest.in" "conftest.in" >"conftest.tmp" 4412 mv "conftest.tmp" "conftest.in" 4413 cp "conftest.in" "conftest.nl" 4414 $as_echo 'FGREP' >> "conftest.nl" 4415 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4416 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4417 as_fn_arith $ac_count + 1 && ac_count=$as_val 4418 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4419 # Best one so far, save it but keep looking for a better one 4420 ac_cv_path_FGREP="$ac_path_FGREP" 4421 ac_path_FGREP_max=$ac_count 4422 fi 4423 # 10*(2^10) chars as input seems more than enough 4424 test $ac_count -gt 10 && break 4425 done 4426 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4427esac 4428 4429 $ac_path_FGREP_found && break 3 4430 done 4431 done 4432 done 4433IFS=$as_save_IFS 4434 if test -z "$ac_cv_path_FGREP"; then 4435 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4436 fi 4437else 4438 ac_cv_path_FGREP=$FGREP 4439fi 4440 4441 fi 4442fi 4443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4444$as_echo "$ac_cv_path_FGREP" >&6; } 4445 FGREP="$ac_cv_path_FGREP" 4446 4447 4448test -z "$GREP" && GREP=grep 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468@%:@ Check whether --with-gnu-ld was given. 4469if test "${with_gnu_ld+set}" = set; then : 4470 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4471else 4472 with_gnu_ld=no 4473fi 4474 4475ac_prog=ld 4476if test "$GCC" = yes; then 4477 # Check if gcc -print-prog-name=ld gives a path. 4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4479$as_echo_n "checking for ld used by $CC... " >&6; } 4480 case $host in 4481 *-*-mingw*) 4482 # gcc leaves a trailing carriage return which upsets mingw 4483 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4484 *) 4485 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4486 esac 4487 case $ac_prog in 4488 # Accept absolute paths. 4489 [\\/]* | ?:[\\/]*) 4490 re_direlt='/[^/][^/]*/\.\./' 4491 # Canonicalize the pathname of ld 4492 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4493 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4494 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4495 done 4496 test -z "$LD" && LD="$ac_prog" 4497 ;; 4498 "") 4499 # If it fails, then pretend we aren't using GCC. 4500 ac_prog=ld 4501 ;; 4502 *) 4503 # If it is relative, then search for the first ld in PATH. 4504 with_gnu_ld=unknown 4505 ;; 4506 esac 4507elif test "$with_gnu_ld" = yes; then 4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4509$as_echo_n "checking for GNU ld... " >&6; } 4510else 4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4512$as_echo_n "checking for non-GNU ld... " >&6; } 4513fi 4514if ${lt_cv_path_LD+:} false; then : 4515 $as_echo_n "(cached) " >&6 4516else 4517 if test -z "$LD"; then 4518 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4519 for ac_dir in $PATH; do 4520 IFS="$lt_save_ifs" 4521 test -z "$ac_dir" && ac_dir=. 4522 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4523 lt_cv_path_LD="$ac_dir/$ac_prog" 4524 # Check to see if the program is GNU ld. I'd rather use --version, 4525 # but apparently some variants of GNU ld only accept -v. 4526 # Break only if it was the GNU/non-GNU ld that we prefer. 4527 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4528 *GNU* | *'with BFD'*) 4529 test "$with_gnu_ld" != no && break 4530 ;; 4531 *) 4532 test "$with_gnu_ld" != yes && break 4533 ;; 4534 esac 4535 fi 4536 done 4537 IFS="$lt_save_ifs" 4538else 4539 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4540fi 4541fi 4542 4543LD="$lt_cv_path_LD" 4544if test -n "$LD"; then 4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4546$as_echo "$LD" >&6; } 4547else 4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4549$as_echo "no" >&6; } 4550fi 4551test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4553$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4554if ${lt_cv_prog_gnu_ld+:} false; then : 4555 $as_echo_n "(cached) " >&6 4556else 4557 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4558case `$LD -v 2>&1 </dev/null` in 4559*GNU* | *'with BFD'*) 4560 lt_cv_prog_gnu_ld=yes 4561 ;; 4562*) 4563 lt_cv_prog_gnu_ld=no 4564 ;; 4565esac 4566fi 4567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4568$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4569with_gnu_ld=$lt_cv_prog_gnu_ld 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4580$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4581if ${lt_cv_path_NM+:} false; then : 4582 $as_echo_n "(cached) " >&6 4583else 4584 if test -n "$NM"; then 4585 # Let the user override the test. 4586 lt_cv_path_NM="$NM" 4587else 4588 lt_nm_to_check="${ac_tool_prefix}nm" 4589 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4590 lt_nm_to_check="$lt_nm_to_check nm" 4591 fi 4592 for lt_tmp_nm in $lt_nm_to_check; do 4593 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4594 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4595 IFS="$lt_save_ifs" 4596 test -z "$ac_dir" && ac_dir=. 4597 tmp_nm="$ac_dir/$lt_tmp_nm" 4598 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4599 # Check to see if the nm accepts a BSD-compat flag. 4600 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4601 # nm: unknown option "B" ignored 4602 # Tru64's nm complains that /dev/null is an invalid object file 4603 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4604 */dev/null* | *'Invalid file or object type'*) 4605 lt_cv_path_NM="$tmp_nm -B" 4606 break 4607 ;; 4608 *) 4609 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4610 */dev/null*) 4611 lt_cv_path_NM="$tmp_nm -p" 4612 break 4613 ;; 4614 *) 4615 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4616 continue # so that we can try to find one that supports BSD flags 4617 ;; 4618 esac 4619 ;; 4620 esac 4621 fi 4622 done 4623 IFS="$lt_save_ifs" 4624 done 4625 : ${lt_cv_path_NM=no} 4626fi 4627fi 4628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4629$as_echo "$lt_cv_path_NM" >&6; } 4630if test "$lt_cv_path_NM" != "no"; then 4631 NM="$lt_cv_path_NM" 4632else 4633 # Didn't find any BSD compatible name lister, look for dumpbin. 4634 if test -n "$DUMPBIN"; then : 4635 # Let the user override the test. 4636 else 4637 if test -n "$ac_tool_prefix"; then 4638 for ac_prog in dumpbin "link -dump" 4639 do 4640 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4641set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4643$as_echo_n "checking for $ac_word... " >&6; } 4644if ${ac_cv_prog_DUMPBIN+:} false; then : 4645 $as_echo_n "(cached) " >&6 4646else 4647 if test -n "$DUMPBIN"; then 4648 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4649else 4650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4651for as_dir in $PATH 4652do 4653 IFS=$as_save_IFS 4654 test -z "$as_dir" && as_dir=. 4655 for ac_exec_ext in '' $ac_executable_extensions; do 4656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4657 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4659 break 2 4660 fi 4661done 4662 done 4663IFS=$as_save_IFS 4664 4665fi 4666fi 4667DUMPBIN=$ac_cv_prog_DUMPBIN 4668if test -n "$DUMPBIN"; then 4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4670$as_echo "$DUMPBIN" >&6; } 4671else 4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4673$as_echo "no" >&6; } 4674fi 4675 4676 4677 test -n "$DUMPBIN" && break 4678 done 4679fi 4680if test -z "$DUMPBIN"; then 4681 ac_ct_DUMPBIN=$DUMPBIN 4682 for ac_prog in dumpbin "link -dump" 4683do 4684 # Extract the first word of "$ac_prog", so it can be a program name with args. 4685set dummy $ac_prog; ac_word=$2 4686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4687$as_echo_n "checking for $ac_word... " >&6; } 4688if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4689 $as_echo_n "(cached) " >&6 4690else 4691 if test -n "$ac_ct_DUMPBIN"; then 4692 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4693else 4694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4695for as_dir in $PATH 4696do 4697 IFS=$as_save_IFS 4698 test -z "$as_dir" && as_dir=. 4699 for ac_exec_ext in '' $ac_executable_extensions; do 4700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4701 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4703 break 2 4704 fi 4705done 4706 done 4707IFS=$as_save_IFS 4708 4709fi 4710fi 4711ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4712if test -n "$ac_ct_DUMPBIN"; then 4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4714$as_echo "$ac_ct_DUMPBIN" >&6; } 4715else 4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4717$as_echo "no" >&6; } 4718fi 4719 4720 4721 test -n "$ac_ct_DUMPBIN" && break 4722done 4723 4724 if test "x$ac_ct_DUMPBIN" = x; then 4725 DUMPBIN=":" 4726 else 4727 case $cross_compiling:$ac_tool_warned in 4728yes:) 4729{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4730$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4731ac_tool_warned=yes ;; 4732esac 4733 DUMPBIN=$ac_ct_DUMPBIN 4734 fi 4735fi 4736 4737 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4738 *COFF*) 4739 DUMPBIN="$DUMPBIN -symbols" 4740 ;; 4741 *) 4742 DUMPBIN=: 4743 ;; 4744 esac 4745 fi 4746 4747 if test "$DUMPBIN" != ":"; then 4748 NM="$DUMPBIN" 4749 fi 4750fi 4751test -z "$NM" && NM=nm 4752 4753 4754 4755 4756 4757 4758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4759$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4760if ${lt_cv_nm_interface+:} false; then : 4761 $as_echo_n "(cached) " >&6 4762else 4763 lt_cv_nm_interface="BSD nm" 4764 echo "int some_variable = 0;" > conftest.$ac_ext 4765 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4766 (eval "$ac_compile" 2>conftest.err) 4767 cat conftest.err >&5 4768 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4769 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4770 cat conftest.err >&5 4771 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4772 cat conftest.out >&5 4773 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4774 lt_cv_nm_interface="MS dumpbin" 4775 fi 4776 rm -f conftest* 4777fi 4778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4779$as_echo "$lt_cv_nm_interface" >&6; } 4780 4781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4782$as_echo_n "checking whether ln -s works... " >&6; } 4783LN_S=$as_ln_s 4784if test "$LN_S" = "ln -s"; then 4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4786$as_echo "yes" >&6; } 4787else 4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4789$as_echo "no, using $LN_S" >&6; } 4790fi 4791 4792# find the maximum length of command line arguments 4793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4794$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4795if ${lt_cv_sys_max_cmd_len+:} false; then : 4796 $as_echo_n "(cached) " >&6 4797else 4798 i=0 4799 teststring="ABCD" 4800 4801 case $build_os in 4802 msdosdjgpp*) 4803 # On DJGPP, this test can blow up pretty badly due to problems in libc 4804 # (any single argument exceeding 2000 bytes causes a buffer overrun 4805 # during glob expansion). Even if it were fixed, the result of this 4806 # check would be larger than it should be. 4807 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4808 ;; 4809 4810 gnu*) 4811 # Under GNU Hurd, this test is not required because there is 4812 # no limit to the length of command line arguments. 4813 # Libtool will interpret -1 as no limit whatsoever 4814 lt_cv_sys_max_cmd_len=-1; 4815 ;; 4816 4817 cygwin* | mingw* | cegcc*) 4818 # On Win9x/ME, this test blows up -- it succeeds, but takes 4819 # about 5 minutes as the teststring grows exponentially. 4820 # Worse, since 9x/ME are not pre-emptively multitasking, 4821 # you end up with a "frozen" computer, even though with patience 4822 # the test eventually succeeds (with a max line length of 256k). 4823 # Instead, let's just punt: use the minimum linelength reported by 4824 # all of the supported platforms: 8192 (on NT/2K/XP). 4825 lt_cv_sys_max_cmd_len=8192; 4826 ;; 4827 4828 mint*) 4829 # On MiNT this can take a long time and run out of memory. 4830 lt_cv_sys_max_cmd_len=8192; 4831 ;; 4832 4833 amigaos*) 4834 # On AmigaOS with pdksh, this test takes hours, literally. 4835 # So we just punt and use a minimum line length of 8192. 4836 lt_cv_sys_max_cmd_len=8192; 4837 ;; 4838 4839 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4840 # This has been around since 386BSD, at least. Likely further. 4841 if test -x /sbin/sysctl; then 4842 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4843 elif test -x /usr/sbin/sysctl; then 4844 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4845 else 4846 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4847 fi 4848 # And add a safety zone 4849 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4850 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4851 ;; 4852 4853 interix*) 4854 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4855 lt_cv_sys_max_cmd_len=196608 4856 ;; 4857 4858 os2*) 4859 # The test takes a long time on OS/2. 4860 lt_cv_sys_max_cmd_len=8192 4861 ;; 4862 4863 osf*) 4864 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4865 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4866 # nice to cause kernel panics so lets avoid the loop below. 4867 # First set a reasonable default. 4868 lt_cv_sys_max_cmd_len=16384 4869 # 4870 if test -x /sbin/sysconfig; then 4871 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4872 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4873 esac 4874 fi 4875 ;; 4876 sco3.2v5*) 4877 lt_cv_sys_max_cmd_len=102400 4878 ;; 4879 sysv5* | sco5v6* | sysv4.2uw2*) 4880 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4881 if test -n "$kargmax"; then 4882 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4883 else 4884 lt_cv_sys_max_cmd_len=32768 4885 fi 4886 ;; 4887 *) 4888 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4889 if test -n "$lt_cv_sys_max_cmd_len"; then 4890 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4891 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4892 else 4893 # Make teststring a little bigger before we do anything with it. 4894 # a 1K string should be a reasonable start. 4895 for i in 1 2 3 4 5 6 7 8 ; do 4896 teststring=$teststring$teststring 4897 done 4898 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4899 # If test is not a shell built-in, we'll probably end up computing a 4900 # maximum length that is only half of the actual maximum length, but 4901 # we can't tell. 4902 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 4903 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4904 test $i != 17 # 1/2 MB should be enough 4905 do 4906 i=`expr $i + 1` 4907 teststring=$teststring$teststring 4908 done 4909 # Only check the string length outside the loop. 4910 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4911 teststring= 4912 # Add a significant safety factor because C++ compilers can tack on 4913 # massive amounts of additional arguments before passing them to the 4914 # linker. It appears as though 1/2 is a usable value. 4915 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4916 fi 4917 ;; 4918 esac 4919 4920fi 4921 4922if test -n $lt_cv_sys_max_cmd_len ; then 4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4924$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4925else 4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4927$as_echo "none" >&6; } 4928fi 4929max_cmd_len=$lt_cv_sys_max_cmd_len 4930 4931 4932 4933 4934 4935 4936: ${CP="cp -f"} 4937: ${MV="mv -f"} 4938: ${RM="rm -f"} 4939 4940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4941$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4942# Try some XSI features 4943xsi_shell=no 4944( _lt_dummy="a/b/c" 4945 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 4946 = c,a/b,b/c, \ 4947 && eval 'test $(( 1 + 1 )) -eq 2 \ 4948 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4949 && xsi_shell=yes 4950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4951$as_echo "$xsi_shell" >&6; } 4952 4953 4954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4955$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4956lt_shell_append=no 4957( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4958 >/dev/null 2>&1 \ 4959 && lt_shell_append=yes 4960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4961$as_echo "$lt_shell_append" >&6; } 4962 4963 4964if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4965 lt_unset=unset 4966else 4967 lt_unset=false 4968fi 4969 4970 4971 4972 4973 4974# test EBCDIC or ASCII 4975case `echo X|tr X '\101'` in 4976 A) # ASCII based system 4977 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4978 lt_SP2NL='tr \040 \012' 4979 lt_NL2SP='tr \015\012 \040\040' 4980 ;; 4981 *) # EBCDIC based system 4982 lt_SP2NL='tr \100 \n' 4983 lt_NL2SP='tr \r\n \100\100' 4984 ;; 4985esac 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4996$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4997if ${lt_cv_to_host_file_cmd+:} false; then : 4998 $as_echo_n "(cached) " >&6 4999else 5000 case $host in 5001 *-*-mingw* ) 5002 case $build in 5003 *-*-mingw* ) # actually msys 5004 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5005 ;; 5006 *-*-cygwin* ) 5007 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5008 ;; 5009 * ) # otherwise, assume *nix 5010 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5011 ;; 5012 esac 5013 ;; 5014 *-*-cygwin* ) 5015 case $build in 5016 *-*-mingw* ) # actually msys 5017 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5018 ;; 5019 *-*-cygwin* ) 5020 lt_cv_to_host_file_cmd=func_convert_file_noop 5021 ;; 5022 * ) # otherwise, assume *nix 5023 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5024 ;; 5025 esac 5026 ;; 5027 * ) # unhandled hosts (and "normal" native builds) 5028 lt_cv_to_host_file_cmd=func_convert_file_noop 5029 ;; 5030esac 5031 5032fi 5033 5034to_host_file_cmd=$lt_cv_to_host_file_cmd 5035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5036$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5037 5038 5039 5040 5041 5042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5043$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5044if ${lt_cv_to_tool_file_cmd+:} false; then : 5045 $as_echo_n "(cached) " >&6 5046else 5047 #assume ordinary cross tools, or native build. 5048lt_cv_to_tool_file_cmd=func_convert_file_noop 5049case $host in 5050 *-*-mingw* ) 5051 case $build in 5052 *-*-mingw* ) # actually msys 5053 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5054 ;; 5055 esac 5056 ;; 5057esac 5058 5059fi 5060 5061to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5063$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5064 5065 5066 5067 5068 5069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5070$as_echo_n "checking for $LD option to reload object files... " >&6; } 5071if ${lt_cv_ld_reload_flag+:} false; then : 5072 $as_echo_n "(cached) " >&6 5073else 5074 lt_cv_ld_reload_flag='-r' 5075fi 5076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5077$as_echo "$lt_cv_ld_reload_flag" >&6; } 5078reload_flag=$lt_cv_ld_reload_flag 5079case $reload_flag in 5080"" | " "*) ;; 5081*) reload_flag=" $reload_flag" ;; 5082esac 5083reload_cmds='$LD$reload_flag -o $output$reload_objs' 5084case $host_os in 5085 cygwin* | mingw* | pw32* | cegcc*) 5086 if test "$GCC" != yes; then 5087 reload_cmds=false 5088 fi 5089 ;; 5090 darwin*) 5091 if test "$GCC" = yes; then 5092 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5093 else 5094 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5095 fi 5096 ;; 5097esac 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107if test -n "$ac_tool_prefix"; then 5108 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5109set dummy ${ac_tool_prefix}objdump; ac_word=$2 5110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5111$as_echo_n "checking for $ac_word... " >&6; } 5112if ${ac_cv_prog_OBJDUMP+:} false; then : 5113 $as_echo_n "(cached) " >&6 5114else 5115 if test -n "$OBJDUMP"; then 5116 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5117else 5118as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5119for as_dir in $PATH 5120do 5121 IFS=$as_save_IFS 5122 test -z "$as_dir" && as_dir=. 5123 for ac_exec_ext in '' $ac_executable_extensions; do 5124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5125 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5127 break 2 5128 fi 5129done 5130 done 5131IFS=$as_save_IFS 5132 5133fi 5134fi 5135OBJDUMP=$ac_cv_prog_OBJDUMP 5136if test -n "$OBJDUMP"; then 5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5138$as_echo "$OBJDUMP" >&6; } 5139else 5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5141$as_echo "no" >&6; } 5142fi 5143 5144 5145fi 5146if test -z "$ac_cv_prog_OBJDUMP"; then 5147 ac_ct_OBJDUMP=$OBJDUMP 5148 # Extract the first word of "objdump", so it can be a program name with args. 5149set dummy objdump; ac_word=$2 5150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5151$as_echo_n "checking for $ac_word... " >&6; } 5152if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5153 $as_echo_n "(cached) " >&6 5154else 5155 if test -n "$ac_ct_OBJDUMP"; then 5156 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5157else 5158as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5159for as_dir in $PATH 5160do 5161 IFS=$as_save_IFS 5162 test -z "$as_dir" && as_dir=. 5163 for ac_exec_ext in '' $ac_executable_extensions; do 5164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5165 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5167 break 2 5168 fi 5169done 5170 done 5171IFS=$as_save_IFS 5172 5173fi 5174fi 5175ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5176if test -n "$ac_ct_OBJDUMP"; then 5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5178$as_echo "$ac_ct_OBJDUMP" >&6; } 5179else 5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5181$as_echo "no" >&6; } 5182fi 5183 5184 if test "x$ac_ct_OBJDUMP" = x; then 5185 OBJDUMP="false" 5186 else 5187 case $cross_compiling:$ac_tool_warned in 5188yes:) 5189{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5190$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5191ac_tool_warned=yes ;; 5192esac 5193 OBJDUMP=$ac_ct_OBJDUMP 5194 fi 5195else 5196 OBJDUMP="$ac_cv_prog_OBJDUMP" 5197fi 5198 5199test -z "$OBJDUMP" && OBJDUMP=objdump 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5210$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5211if ${lt_cv_deplibs_check_method+:} false; then : 5212 $as_echo_n "(cached) " >&6 5213else 5214 lt_cv_file_magic_cmd='$MAGIC_CMD' 5215lt_cv_file_magic_test_file= 5216lt_cv_deplibs_check_method='unknown' 5217# Need to set the preceding variable on all platforms that support 5218# interlibrary dependencies. 5219# 'none' -- dependencies not supported. 5220# `unknown' -- same as none, but documents that we really don't know. 5221# 'pass_all' -- all dependencies passed with no checks. 5222# 'test_compile' -- check by making test program. 5223# 'file_magic [[regex]]' -- check by looking for files in library path 5224# which responds to the $file_magic_cmd with a given extended regex. 5225# If you have `file' or equivalent on your system and you're not sure 5226# whether `pass_all' will *always* work, you probably want this one. 5227 5228case $host_os in 5229aix[4-9]*) 5230 lt_cv_deplibs_check_method=pass_all 5231 ;; 5232 5233beos*) 5234 lt_cv_deplibs_check_method=pass_all 5235 ;; 5236 5237bsdi[45]*) 5238 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5239 lt_cv_file_magic_cmd='/usr/bin/file -L' 5240 lt_cv_file_magic_test_file=/shlib/libc.so 5241 ;; 5242 5243cygwin*) 5244 # func_win32_libid is a shell function defined in ltmain.sh 5245 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5246 lt_cv_file_magic_cmd='func_win32_libid' 5247 ;; 5248 5249mingw* | pw32*) 5250 # Base MSYS/MinGW do not provide the 'file' command needed by 5251 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5252 # unless we find 'file', for example because we are cross-compiling. 5253 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5254 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5255 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5256 lt_cv_file_magic_cmd='func_win32_libid' 5257 else 5258 # Keep this pattern in sync with the one in func_win32_libid. 5259 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5260 lt_cv_file_magic_cmd='$OBJDUMP -f' 5261 fi 5262 ;; 5263 5264cegcc*) 5265 # use the weaker test based on 'objdump'. See mingw*. 5266 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5267 lt_cv_file_magic_cmd='$OBJDUMP -f' 5268 ;; 5269 5270darwin* | rhapsody*) 5271 lt_cv_deplibs_check_method=pass_all 5272 ;; 5273 5274freebsd* | dragonfly*) 5275 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5276 case $host_cpu in 5277 i*86 ) 5278 # Not sure whether the presence of OpenBSD here was a mistake. 5279 # Let's accept both of them until this is cleared up. 5280 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5281 lt_cv_file_magic_cmd=/usr/bin/file 5282 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5283 ;; 5284 esac 5285 else 5286 lt_cv_deplibs_check_method=pass_all 5287 fi 5288 ;; 5289 5290gnu*) 5291 lt_cv_deplibs_check_method=pass_all 5292 ;; 5293 5294haiku*) 5295 lt_cv_deplibs_check_method=pass_all 5296 ;; 5297 5298hpux10.20* | hpux11*) 5299 lt_cv_file_magic_cmd=/usr/bin/file 5300 case $host_cpu in 5301 ia64*) 5302 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5303 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5304 ;; 5305 hppa*64*) 5306 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]' 5307 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5308 ;; 5309 *) 5310 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5311 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5312 ;; 5313 esac 5314 ;; 5315 5316interix[3-9]*) 5317 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5318 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5319 ;; 5320 5321irix5* | irix6* | nonstopux*) 5322 case $LD in 5323 *-32|*"-32 ") libmagic=32-bit;; 5324 *-n32|*"-n32 ") libmagic=N32;; 5325 *-64|*"-64 ") libmagic=64-bit;; 5326 *) libmagic=never-match;; 5327 esac 5328 lt_cv_deplibs_check_method=pass_all 5329 ;; 5330 5331# This must be glibc/ELF. 5332linux* | k*bsd*-gnu | kopensolaris*-gnu) 5333 lt_cv_deplibs_check_method=pass_all 5334 ;; 5335 5336netbsd*) 5337 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5338 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5339 else 5340 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5341 fi 5342 ;; 5343 5344newos6*) 5345 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5346 lt_cv_file_magic_cmd=/usr/bin/file 5347 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5348 ;; 5349 5350*nto* | *qnx*) 5351 lt_cv_deplibs_check_method=pass_all 5352 ;; 5353 5354openbsd*) 5355 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5356 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5357 else 5358 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5359 fi 5360 ;; 5361 5362osf3* | osf4* | osf5*) 5363 lt_cv_deplibs_check_method=pass_all 5364 ;; 5365 5366rdos*) 5367 lt_cv_deplibs_check_method=pass_all 5368 ;; 5369 5370solaris*) 5371 lt_cv_deplibs_check_method=pass_all 5372 ;; 5373 5374sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5375 lt_cv_deplibs_check_method=pass_all 5376 ;; 5377 5378sysv4 | sysv4.3*) 5379 case $host_vendor in 5380 motorola) 5381 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]' 5382 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5383 ;; 5384 ncr) 5385 lt_cv_deplibs_check_method=pass_all 5386 ;; 5387 sequent) 5388 lt_cv_file_magic_cmd='/bin/file' 5389 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5390 ;; 5391 sni) 5392 lt_cv_file_magic_cmd='/bin/file' 5393 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5394 lt_cv_file_magic_test_file=/lib/libc.so 5395 ;; 5396 siemens) 5397 lt_cv_deplibs_check_method=pass_all 5398 ;; 5399 pc) 5400 lt_cv_deplibs_check_method=pass_all 5401 ;; 5402 esac 5403 ;; 5404 5405tpf*) 5406 lt_cv_deplibs_check_method=pass_all 5407 ;; 5408esac 5409 5410fi 5411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5412$as_echo "$lt_cv_deplibs_check_method" >&6; } 5413 5414file_magic_glob= 5415want_nocaseglob=no 5416if test "$build" = "$host"; then 5417 case $host_os in 5418 mingw* | pw32*) 5419 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5420 want_nocaseglob=yes 5421 else 5422 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5423 fi 5424 ;; 5425 esac 5426fi 5427 5428file_magic_cmd=$lt_cv_file_magic_cmd 5429deplibs_check_method=$lt_cv_deplibs_check_method 5430test -z "$deplibs_check_method" && deplibs_check_method=unknown 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453if test -n "$ac_tool_prefix"; then 5454 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5455set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5457$as_echo_n "checking for $ac_word... " >&6; } 5458if ${ac_cv_prog_DLLTOOL+:} false; then : 5459 $as_echo_n "(cached) " >&6 5460else 5461 if test -n "$DLLTOOL"; then 5462 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5463else 5464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5465for as_dir in $PATH 5466do 5467 IFS=$as_save_IFS 5468 test -z "$as_dir" && as_dir=. 5469 for ac_exec_ext in '' $ac_executable_extensions; do 5470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5471 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5473 break 2 5474 fi 5475done 5476 done 5477IFS=$as_save_IFS 5478 5479fi 5480fi 5481DLLTOOL=$ac_cv_prog_DLLTOOL 5482if test -n "$DLLTOOL"; then 5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5484$as_echo "$DLLTOOL" >&6; } 5485else 5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5487$as_echo "no" >&6; } 5488fi 5489 5490 5491fi 5492if test -z "$ac_cv_prog_DLLTOOL"; then 5493 ac_ct_DLLTOOL=$DLLTOOL 5494 # Extract the first word of "dlltool", so it can be a program name with args. 5495set dummy dlltool; ac_word=$2 5496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5497$as_echo_n "checking for $ac_word... " >&6; } 5498if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5499 $as_echo_n "(cached) " >&6 5500else 5501 if test -n "$ac_ct_DLLTOOL"; then 5502 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5503else 5504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5505for as_dir in $PATH 5506do 5507 IFS=$as_save_IFS 5508 test -z "$as_dir" && as_dir=. 5509 for ac_exec_ext in '' $ac_executable_extensions; do 5510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5511 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5513 break 2 5514 fi 5515done 5516 done 5517IFS=$as_save_IFS 5518 5519fi 5520fi 5521ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5522if test -n "$ac_ct_DLLTOOL"; then 5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5524$as_echo "$ac_ct_DLLTOOL" >&6; } 5525else 5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5527$as_echo "no" >&6; } 5528fi 5529 5530 if test "x$ac_ct_DLLTOOL" = x; then 5531 DLLTOOL="false" 5532 else 5533 case $cross_compiling:$ac_tool_warned in 5534yes:) 5535{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5536$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5537ac_tool_warned=yes ;; 5538esac 5539 DLLTOOL=$ac_ct_DLLTOOL 5540 fi 5541else 5542 DLLTOOL="$ac_cv_prog_DLLTOOL" 5543fi 5544 5545test -z "$DLLTOOL" && DLLTOOL=dlltool 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5557$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5558if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5559 $as_echo_n "(cached) " >&6 5560else 5561 lt_cv_sharedlib_from_linklib_cmd='unknown' 5562 5563case $host_os in 5564cygwin* | mingw* | pw32* | cegcc*) 5565 # two different shell functions defined in ltmain.sh 5566 # decide which to use based on capabilities of $DLLTOOL 5567 case `$DLLTOOL --help 2>&1` in 5568 *--identify-strict*) 5569 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5570 ;; 5571 *) 5572 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5573 ;; 5574 esac 5575 ;; 5576*) 5577 # fallback: assume linklib IS sharedlib 5578 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5579 ;; 5580esac 5581 5582fi 5583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5584$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5585sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5586test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5587 5588 5589 5590 5591 5592 5593 5594if test -n "$ac_tool_prefix"; then 5595 for ac_prog in ar 5596 do 5597 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5598set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5600$as_echo_n "checking for $ac_word... " >&6; } 5601if ${ac_cv_prog_AR+:} false; then : 5602 $as_echo_n "(cached) " >&6 5603else 5604 if test -n "$AR"; then 5605 ac_cv_prog_AR="$AR" # Let the user override the test. 5606else 5607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5608for as_dir in $PATH 5609do 5610 IFS=$as_save_IFS 5611 test -z "$as_dir" && as_dir=. 5612 for ac_exec_ext in '' $ac_executable_extensions; do 5613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5614 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5616 break 2 5617 fi 5618done 5619 done 5620IFS=$as_save_IFS 5621 5622fi 5623fi 5624AR=$ac_cv_prog_AR 5625if test -n "$AR"; then 5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5627$as_echo "$AR" >&6; } 5628else 5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5630$as_echo "no" >&6; } 5631fi 5632 5633 5634 test -n "$AR" && break 5635 done 5636fi 5637if test -z "$AR"; then 5638 ac_ct_AR=$AR 5639 for ac_prog in ar 5640do 5641 # Extract the first word of "$ac_prog", so it can be a program name with args. 5642set dummy $ac_prog; ac_word=$2 5643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5644$as_echo_n "checking for $ac_word... " >&6; } 5645if ${ac_cv_prog_ac_ct_AR+:} false; then : 5646 $as_echo_n "(cached) " >&6 5647else 5648 if test -n "$ac_ct_AR"; then 5649 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5650else 5651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5652for as_dir in $PATH 5653do 5654 IFS=$as_save_IFS 5655 test -z "$as_dir" && as_dir=. 5656 for ac_exec_ext in '' $ac_executable_extensions; do 5657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5658 ac_cv_prog_ac_ct_AR="$ac_prog" 5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5660 break 2 5661 fi 5662done 5663 done 5664IFS=$as_save_IFS 5665 5666fi 5667fi 5668ac_ct_AR=$ac_cv_prog_ac_ct_AR 5669if test -n "$ac_ct_AR"; then 5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5671$as_echo "$ac_ct_AR" >&6; } 5672else 5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5674$as_echo "no" >&6; } 5675fi 5676 5677 5678 test -n "$ac_ct_AR" && break 5679done 5680 5681 if test "x$ac_ct_AR" = x; then 5682 AR="false" 5683 else 5684 case $cross_compiling:$ac_tool_warned in 5685yes:) 5686{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5687$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5688ac_tool_warned=yes ;; 5689esac 5690 AR=$ac_ct_AR 5691 fi 5692fi 5693 5694: ${AR=ar} 5695: ${AR_FLAGS=cru} 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5708$as_echo_n "checking for archiver @FILE support... " >&6; } 5709if ${lt_cv_ar_at_file+:} false; then : 5710 $as_echo_n "(cached) " >&6 5711else 5712 lt_cv_ar_at_file=no 5713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5714/* end confdefs.h. */ 5715 5716int 5717main () 5718{ 5719 5720 ; 5721 return 0; 5722} 5723_ACEOF 5724if ac_fn_c_try_compile "$LINENO"; then : 5725 echo conftest.$ac_objext > conftest.lst 5726 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5727 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5728 (eval $lt_ar_try) 2>&5 5729 ac_status=$? 5730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5731 test $ac_status = 0; } 5732 if test "$ac_status" -eq 0; then 5733 # Ensure the archiver fails upon bogus file names. 5734 rm -f conftest.$ac_objext libconftest.a 5735 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5736 (eval $lt_ar_try) 2>&5 5737 ac_status=$? 5738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5739 test $ac_status = 0; } 5740 if test "$ac_status" -ne 0; then 5741 lt_cv_ar_at_file=@ 5742 fi 5743 fi 5744 rm -f conftest.* libconftest.a 5745 5746fi 5747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5748 5749fi 5750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5751$as_echo "$lt_cv_ar_at_file" >&6; } 5752 5753if test "x$lt_cv_ar_at_file" = xno; then 5754 archiver_list_spec= 5755else 5756 archiver_list_spec=$lt_cv_ar_at_file 5757fi 5758 5759 5760 5761 5762 5763 5764 5765if test -n "$ac_tool_prefix"; then 5766 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5767set dummy ${ac_tool_prefix}strip; 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_STRIP+:} false; then : 5771 $as_echo_n "(cached) " >&6 5772else 5773 if test -n "$STRIP"; then 5774 ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip" 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 5793STRIP=$ac_cv_prog_STRIP 5794if test -n "$STRIP"; then 5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5796$as_echo "$STRIP" >&6; } 5797else 5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5799$as_echo "no" >&6; } 5800fi 5801 5802 5803fi 5804if test -z "$ac_cv_prog_STRIP"; then 5805 ac_ct_STRIP=$STRIP 5806 # Extract the first word of "strip", so it can be a program name with args. 5807set dummy strip; ac_word=$2 5808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5809$as_echo_n "checking for $ac_word... " >&6; } 5810if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5811 $as_echo_n "(cached) " >&6 5812else 5813 if test -n "$ac_ct_STRIP"; then 5814 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5815else 5816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5817for as_dir in $PATH 5818do 5819 IFS=$as_save_IFS 5820 test -z "$as_dir" && as_dir=. 5821 for ac_exec_ext in '' $ac_executable_extensions; do 5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5823 ac_cv_prog_ac_ct_STRIP="strip" 5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5825 break 2 5826 fi 5827done 5828 done 5829IFS=$as_save_IFS 5830 5831fi 5832fi 5833ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5834if test -n "$ac_ct_STRIP"; then 5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5836$as_echo "$ac_ct_STRIP" >&6; } 5837else 5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5839$as_echo "no" >&6; } 5840fi 5841 5842 if test "x$ac_ct_STRIP" = x; then 5843 STRIP=":" 5844 else 5845 case $cross_compiling:$ac_tool_warned in 5846yes:) 5847{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5848$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5849ac_tool_warned=yes ;; 5850esac 5851 STRIP=$ac_ct_STRIP 5852 fi 5853else 5854 STRIP="$ac_cv_prog_STRIP" 5855fi 5856 5857test -z "$STRIP" && STRIP=: 5858 5859 5860 5861 5862 5863 5864if test -n "$ac_tool_prefix"; then 5865 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5866set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5868$as_echo_n "checking for $ac_word... " >&6; } 5869if ${ac_cv_prog_RANLIB+:} false; then : 5870 $as_echo_n "(cached) " >&6 5871else 5872 if test -n "$RANLIB"; then 5873 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5874else 5875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5876for as_dir in $PATH 5877do 5878 IFS=$as_save_IFS 5879 test -z "$as_dir" && as_dir=. 5880 for ac_exec_ext in '' $ac_executable_extensions; do 5881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5882 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5884 break 2 5885 fi 5886done 5887 done 5888IFS=$as_save_IFS 5889 5890fi 5891fi 5892RANLIB=$ac_cv_prog_RANLIB 5893if test -n "$RANLIB"; then 5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5895$as_echo "$RANLIB" >&6; } 5896else 5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5898$as_echo "no" >&6; } 5899fi 5900 5901 5902fi 5903if test -z "$ac_cv_prog_RANLIB"; then 5904 ac_ct_RANLIB=$RANLIB 5905 # Extract the first word of "ranlib", so it can be a program name with args. 5906set dummy ranlib; ac_word=$2 5907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5908$as_echo_n "checking for $ac_word... " >&6; } 5909if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5910 $as_echo_n "(cached) " >&6 5911else 5912 if test -n "$ac_ct_RANLIB"; then 5913 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5914else 5915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5916for as_dir in $PATH 5917do 5918 IFS=$as_save_IFS 5919 test -z "$as_dir" && as_dir=. 5920 for ac_exec_ext in '' $ac_executable_extensions; do 5921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5922 ac_cv_prog_ac_ct_RANLIB="ranlib" 5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5924 break 2 5925 fi 5926done 5927 done 5928IFS=$as_save_IFS 5929 5930fi 5931fi 5932ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5933if test -n "$ac_ct_RANLIB"; then 5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5935$as_echo "$ac_ct_RANLIB" >&6; } 5936else 5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5938$as_echo "no" >&6; } 5939fi 5940 5941 if test "x$ac_ct_RANLIB" = x; then 5942 RANLIB=":" 5943 else 5944 case $cross_compiling:$ac_tool_warned in 5945yes:) 5946{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5947$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5948ac_tool_warned=yes ;; 5949esac 5950 RANLIB=$ac_ct_RANLIB 5951 fi 5952else 5953 RANLIB="$ac_cv_prog_RANLIB" 5954fi 5955 5956test -z "$RANLIB" && RANLIB=: 5957 5958 5959 5960 5961 5962 5963# Determine commands to create old-style static archives. 5964old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5965old_postinstall_cmds='chmod 644 $oldlib' 5966old_postuninstall_cmds= 5967 5968if test -n "$RANLIB"; then 5969 case $host_os in 5970 openbsd*) 5971 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5972 ;; 5973 *) 5974 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5975 ;; 5976 esac 5977 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5978fi 5979 5980case $host_os in 5981 darwin*) 5982 lock_old_archive_extraction=yes ;; 5983 *) 5984 lock_old_archive_extraction=no ;; 5985esac 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025# If no C compiler was specified, use CC. 6026LTCC=${LTCC-"$CC"} 6027 6028# If no C compiler flags were specified, use CFLAGS. 6029LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6030 6031# Allow CC to be a program name with arguments. 6032compiler=$CC 6033 6034 6035# Check for command to grab the raw symbol name followed by C symbol from nm. 6036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6037$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6038if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6039 $as_echo_n "(cached) " >&6 6040else 6041 6042# These are sane defaults that work on at least a few old systems. 6043# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6044 6045# Character class describing NM global symbol codes. 6046symcode='[BCDEGRST]' 6047 6048# Regexp to match symbols that can be accessed directly from C. 6049sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6050 6051# Define system-specific variables. 6052case $host_os in 6053aix*) 6054 symcode='[BCDT]' 6055 ;; 6056cygwin* | mingw* | pw32* | cegcc*) 6057 symcode='[ABCDGISTW]' 6058 ;; 6059hpux*) 6060 if test "$host_cpu" = ia64; then 6061 symcode='[ABCDEGRST]' 6062 fi 6063 ;; 6064irix* | nonstopux*) 6065 symcode='[BCDEGRST]' 6066 ;; 6067osf*) 6068 symcode='[BCDEGQRST]' 6069 ;; 6070solaris*) 6071 symcode='[BDRT]' 6072 ;; 6073sco3.2v5*) 6074 symcode='[DT]' 6075 ;; 6076sysv4.2uw2*) 6077 symcode='[DT]' 6078 ;; 6079sysv5* | sco5v6* | unixware* | OpenUNIX*) 6080 symcode='[ABDT]' 6081 ;; 6082sysv4) 6083 symcode='[DFNSTU]' 6084 ;; 6085esac 6086 6087# If we're using GNU nm, then use its standard symbol codes. 6088case `$NM -V 2>&1` in 6089*GNU* | *'with BFD'*) 6090 symcode='[ABCDGIRSTW]' ;; 6091esac 6092 6093# Transform an extracted symbol line into a proper C declaration. 6094# Some systems (esp. on ia64) link data and code symbols differently, 6095# so use this general approach. 6096lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6097 6098# Transform an extracted symbol line into symbol name and symbol address 6099lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6100lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 6101 6102# Handle CRLF in mingw tool chain 6103opt_cr= 6104case $build_os in 6105mingw*) 6106 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6107 ;; 6108esac 6109 6110# Try without a prefix underscore, then with it. 6111for ac_symprfx in "" "_"; do 6112 6113 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6114 symxfrm="\\1 $ac_symprfx\\2 \\2" 6115 6116 # Write the raw and C identifiers. 6117 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6118 # Fake it for dumpbin and say T for any non-static function 6119 # and D for any global variable. 6120 # Also find C++ and __fastcall symbols from MSVC++, 6121 # which start with @ or ?. 6122 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6123" {last_section=section; section=\$ 3};"\ 6124" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6125" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6126" \$ 0!~/External *\|/{next};"\ 6127" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6128" {if(hide[section]) next};"\ 6129" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6130" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6131" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6132" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6133" ' prfx=^$ac_symprfx" 6134 else 6135 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6136 fi 6137 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6138 6139 # Check to see that the pipe works correctly. 6140 pipe_works=no 6141 6142 rm -f conftest* 6143 cat > conftest.$ac_ext <<_LT_EOF 6144#ifdef __cplusplus 6145extern "C" { 6146#endif 6147char nm_test_var; 6148void nm_test_func(void); 6149void nm_test_func(void){} 6150#ifdef __cplusplus 6151} 6152#endif 6153int main(){nm_test_var='a';nm_test_func();return(0);} 6154_LT_EOF 6155 6156 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6157 (eval $ac_compile) 2>&5 6158 ac_status=$? 6159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6160 test $ac_status = 0; }; then 6161 # Now try to grab the symbols. 6162 nlist=conftest.nm 6163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6164 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6165 ac_status=$? 6166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6167 test $ac_status = 0; } && test -s "$nlist"; then 6168 # Try sorting and uniquifying the output. 6169 if sort "$nlist" | uniq > "$nlist"T; then 6170 mv -f "$nlist"T "$nlist" 6171 else 6172 rm -f "$nlist"T 6173 fi 6174 6175 # Make sure that we snagged all the symbols we need. 6176 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6177 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6178 cat <<_LT_EOF > conftest.$ac_ext 6179/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6180#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6181/* DATA imports from DLLs on WIN32 con't be const, because runtime 6182 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6183# define LT@&t@_DLSYM_CONST 6184#elif defined(__osf__) 6185/* This system does not cope well with relocations in const data. */ 6186# define LT@&t@_DLSYM_CONST 6187#else 6188# define LT@&t@_DLSYM_CONST const 6189#endif 6190 6191#ifdef __cplusplus 6192extern "C" { 6193#endif 6194 6195_LT_EOF 6196 # Now generate the symbol file. 6197 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6198 6199 cat <<_LT_EOF >> conftest.$ac_ext 6200 6201/* The mapping between symbol names and symbols. */ 6202LT@&t@_DLSYM_CONST struct { 6203 const char *name; 6204 void *address; 6205} 6206lt__PROGRAM__LTX_preloaded_symbols[] = 6207{ 6208 { "@PROGRAM@", (void *) 0 }, 6209_LT_EOF 6210 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6211 cat <<\_LT_EOF >> conftest.$ac_ext 6212 {0, (void *) 0} 6213}; 6214 6215/* This works around a problem in FreeBSD linker */ 6216#ifdef FREEBSD_WORKAROUND 6217static const void *lt_preloaded_setup() { 6218 return lt__PROGRAM__LTX_preloaded_symbols; 6219} 6220#endif 6221 6222#ifdef __cplusplus 6223} 6224#endif 6225_LT_EOF 6226 # Now try linking the two files. 6227 mv conftest.$ac_objext conftstm.$ac_objext 6228 lt_globsym_save_LIBS=$LIBS 6229 lt_globsym_save_CFLAGS=$CFLAGS 6230 LIBS="conftstm.$ac_objext" 6231 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6233 (eval $ac_link) 2>&5 6234 ac_status=$? 6235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6236 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6237 pipe_works=yes 6238 fi 6239 LIBS=$lt_globsym_save_LIBS 6240 CFLAGS=$lt_globsym_save_CFLAGS 6241 else 6242 echo "cannot find nm_test_func in $nlist" >&5 6243 fi 6244 else 6245 echo "cannot find nm_test_var in $nlist" >&5 6246 fi 6247 else 6248 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6249 fi 6250 else 6251 echo "$progname: failed program was:" >&5 6252 cat conftest.$ac_ext >&5 6253 fi 6254 rm -rf conftest* conftst* 6255 6256 # Do not use the global_symbol_pipe unless it works. 6257 if test "$pipe_works" = yes; then 6258 break 6259 else 6260 lt_cv_sys_global_symbol_pipe= 6261 fi 6262done 6263 6264fi 6265 6266if test -z "$lt_cv_sys_global_symbol_pipe"; then 6267 lt_cv_sys_global_symbol_to_cdecl= 6268fi 6269if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6271$as_echo "failed" >&6; } 6272else 6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6274$as_echo "ok" >&6; } 6275fi 6276 6277# Response file support. 6278if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6279 nm_file_list_spec='@' 6280elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6281 nm_file_list_spec='@' 6282fi 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6311$as_echo_n "checking for sysroot... " >&6; } 6312 6313@%:@ Check whether --with-sysroot was given. 6314if test "${with_sysroot+set}" = set; then : 6315 withval=$with_sysroot; 6316else 6317 with_sysroot=no 6318fi 6319 6320 6321lt_sysroot= 6322case ${with_sysroot} in #( 6323 yes) 6324 if test "$GCC" = yes; then 6325 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6326 fi 6327 ;; #( 6328 /*) 6329 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6330 ;; #( 6331 no|'') 6332 ;; #( 6333 *) 6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6335$as_echo "${with_sysroot}" >&6; } 6336 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6337 ;; 6338esac 6339 6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6341$as_echo "${lt_sysroot:-no}" >&6; } 6342 6343 6344 6345 6346 6347@%:@ Check whether --enable-libtool-lock was given. 6348if test "${enable_libtool_lock+set}" = set; then : 6349 enableval=$enable_libtool_lock; 6350fi 6351 6352test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6353 6354# Some flags need to be propagated to the compiler or linker for good 6355# libtool support. 6356case $host in 6357ia64-*-hpux*) 6358 # Find out which ABI we are using. 6359 echo 'int i;' > conftest.$ac_ext 6360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6361 (eval $ac_compile) 2>&5 6362 ac_status=$? 6363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6364 test $ac_status = 0; }; then 6365 case `/usr/bin/file conftest.$ac_objext` in 6366 *ELF-32*) 6367 HPUX_IA64_MODE="32" 6368 ;; 6369 *ELF-64*) 6370 HPUX_IA64_MODE="64" 6371 ;; 6372 esac 6373 fi 6374 rm -rf conftest* 6375 ;; 6376*-*-irix6*) 6377 # Find out which ABI we are using. 6378 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6379 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6380 (eval $ac_compile) 2>&5 6381 ac_status=$? 6382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6383 test $ac_status = 0; }; then 6384 if test "$lt_cv_prog_gnu_ld" = yes; then 6385 case `/usr/bin/file conftest.$ac_objext` in 6386 *32-bit*) 6387 LD="${LD-ld} -melf32bsmip" 6388 ;; 6389 *N32*) 6390 LD="${LD-ld} -melf32bmipn32" 6391 ;; 6392 *64-bit*) 6393 LD="${LD-ld} -melf64bmip" 6394 ;; 6395 esac 6396 else 6397 case `/usr/bin/file conftest.$ac_objext` in 6398 *32-bit*) 6399 LD="${LD-ld} -32" 6400 ;; 6401 *N32*) 6402 LD="${LD-ld} -n32" 6403 ;; 6404 *64-bit*) 6405 LD="${LD-ld} -64" 6406 ;; 6407 esac 6408 fi 6409 fi 6410 rm -rf conftest* 6411 ;; 6412 6413x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6414s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6415 # Find out which ABI we are using. 6416 echo 'int i;' > conftest.$ac_ext 6417 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6418 (eval $ac_compile) 2>&5 6419 ac_status=$? 6420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6421 test $ac_status = 0; }; then 6422 case `/usr/bin/file conftest.o` in 6423 *32-bit*) 6424 case $host in 6425 x86_64-*kfreebsd*-gnu) 6426 LD="${LD-ld} -m elf_i386_fbsd" 6427 ;; 6428 x86_64-*linux*) 6429 LD="${LD-ld} -m elf_i386" 6430 ;; 6431 ppc64-*linux*|powerpc64-*linux*) 6432 LD="${LD-ld} -m elf32ppclinux" 6433 ;; 6434 s390x-*linux*) 6435 LD="${LD-ld} -m elf_s390" 6436 ;; 6437 sparc64-*linux*) 6438 LD="${LD-ld} -m elf32_sparc" 6439 ;; 6440 esac 6441 ;; 6442 *64-bit*) 6443 case $host in 6444 x86_64-*kfreebsd*-gnu) 6445 LD="${LD-ld} -m elf_x86_64_fbsd" 6446 ;; 6447 x86_64-*linux*) 6448 LD="${LD-ld} -m elf_x86_64" 6449 ;; 6450 ppc*-*linux*|powerpc*-*linux*) 6451 LD="${LD-ld} -m elf64ppc" 6452 ;; 6453 s390*-*linux*|s390*-*tpf*) 6454 LD="${LD-ld} -m elf64_s390" 6455 ;; 6456 sparc*-*linux*) 6457 LD="${LD-ld} -m elf64_sparc" 6458 ;; 6459 esac 6460 ;; 6461 esac 6462 fi 6463 rm -rf conftest* 6464 ;; 6465 6466*-*-sco3.2v5*) 6467 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6468 SAVE_CFLAGS="$CFLAGS" 6469 CFLAGS="$CFLAGS -belf" 6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6471$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6472if ${lt_cv_cc_needs_belf+:} false; then : 6473 $as_echo_n "(cached) " >&6 6474else 6475 ac_ext=c 6476ac_cpp='$CPP $CPPFLAGS' 6477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6478ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6479ac_compiler_gnu=$ac_cv_c_compiler_gnu 6480 6481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6482/* end confdefs.h. */ 6483 6484int 6485main () 6486{ 6487 6488 ; 6489 return 0; 6490} 6491_ACEOF 6492if ac_fn_c_try_link "$LINENO"; then : 6493 lt_cv_cc_needs_belf=yes 6494else 6495 lt_cv_cc_needs_belf=no 6496fi 6497rm -f core conftest.err conftest.$ac_objext \ 6498 conftest$ac_exeext conftest.$ac_ext 6499 ac_ext=c 6500ac_cpp='$CPP $CPPFLAGS' 6501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6503ac_compiler_gnu=$ac_cv_c_compiler_gnu 6504 6505fi 6506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6507$as_echo "$lt_cv_cc_needs_belf" >&6; } 6508 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6509 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6510 CFLAGS="$SAVE_CFLAGS" 6511 fi 6512 ;; 6513*-*solaris*) 6514 # Find out which ABI we are using. 6515 echo 'int i;' > conftest.$ac_ext 6516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6517 (eval $ac_compile) 2>&5 6518 ac_status=$? 6519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6520 test $ac_status = 0; }; then 6521 case `/usr/bin/file conftest.o` in 6522 *64-bit*) 6523 case $lt_cv_prog_gnu_ld in 6524 yes*) 6525 case $host in 6526 i?86-*-solaris*) 6527 LD="${LD-ld} -m elf_x86_64" 6528 ;; 6529 sparc*-*-solaris*) 6530 LD="${LD-ld} -m elf64_sparc" 6531 ;; 6532 esac 6533 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6534 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6535 LD="${LD-ld}_sol2" 6536 fi 6537 ;; 6538 *) 6539 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6540 LD="${LD-ld} -64" 6541 fi 6542 ;; 6543 esac 6544 ;; 6545 esac 6546 fi 6547 rm -rf conftest* 6548 ;; 6549esac 6550 6551need_locks="$enable_libtool_lock" 6552 6553if test -n "$ac_tool_prefix"; then 6554 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6555set dummy ${ac_tool_prefix}mt; ac_word=$2 6556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6557$as_echo_n "checking for $ac_word... " >&6; } 6558if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6559 $as_echo_n "(cached) " >&6 6560else 6561 if test -n "$MANIFEST_TOOL"; then 6562 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6563else 6564as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6565for as_dir in $PATH 6566do 6567 IFS=$as_save_IFS 6568 test -z "$as_dir" && as_dir=. 6569 for ac_exec_ext in '' $ac_executable_extensions; do 6570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6571 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6573 break 2 6574 fi 6575done 6576 done 6577IFS=$as_save_IFS 6578 6579fi 6580fi 6581MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6582if test -n "$MANIFEST_TOOL"; then 6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6584$as_echo "$MANIFEST_TOOL" >&6; } 6585else 6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6587$as_echo "no" >&6; } 6588fi 6589 6590 6591fi 6592if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6593 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6594 # Extract the first word of "mt", so it can be a program name with args. 6595set dummy mt; ac_word=$2 6596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6597$as_echo_n "checking for $ac_word... " >&6; } 6598if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6599 $as_echo_n "(cached) " >&6 6600else 6601 if test -n "$ac_ct_MANIFEST_TOOL"; then 6602 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6603else 6604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6605for as_dir in $PATH 6606do 6607 IFS=$as_save_IFS 6608 test -z "$as_dir" && as_dir=. 6609 for ac_exec_ext in '' $ac_executable_extensions; do 6610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6611 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6613 break 2 6614 fi 6615done 6616 done 6617IFS=$as_save_IFS 6618 6619fi 6620fi 6621ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6622if test -n "$ac_ct_MANIFEST_TOOL"; then 6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6624$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6625else 6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6627$as_echo "no" >&6; } 6628fi 6629 6630 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6631 MANIFEST_TOOL=":" 6632 else 6633 case $cross_compiling:$ac_tool_warned in 6634yes:) 6635{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6636$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6637ac_tool_warned=yes ;; 6638esac 6639 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6640 fi 6641else 6642 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6643fi 6644 6645test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6647$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6648if ${lt_cv_path_mainfest_tool+:} false; then : 6649 $as_echo_n "(cached) " >&6 6650else 6651 lt_cv_path_mainfest_tool=no 6652 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6653 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6654 cat conftest.err >&5 6655 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6656 lt_cv_path_mainfest_tool=yes 6657 fi 6658 rm -f conftest* 6659fi 6660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6661$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6662if test "x$lt_cv_path_mainfest_tool" != xyes; then 6663 MANIFEST_TOOL=: 6664fi 6665 6666 6667 6668 6669 6670 6671 case $host_os in 6672 rhapsody* | darwin*) 6673 if test -n "$ac_tool_prefix"; then 6674 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6675set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6677$as_echo_n "checking for $ac_word... " >&6; } 6678if ${ac_cv_prog_DSYMUTIL+:} false; then : 6679 $as_echo_n "(cached) " >&6 6680else 6681 if test -n "$DSYMUTIL"; then 6682 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6683else 6684as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6685for as_dir in $PATH 6686do 6687 IFS=$as_save_IFS 6688 test -z "$as_dir" && as_dir=. 6689 for ac_exec_ext in '' $ac_executable_extensions; do 6690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6691 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6693 break 2 6694 fi 6695done 6696 done 6697IFS=$as_save_IFS 6698 6699fi 6700fi 6701DSYMUTIL=$ac_cv_prog_DSYMUTIL 6702if test -n "$DSYMUTIL"; then 6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6704$as_echo "$DSYMUTIL" >&6; } 6705else 6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6707$as_echo "no" >&6; } 6708fi 6709 6710 6711fi 6712if test -z "$ac_cv_prog_DSYMUTIL"; then 6713 ac_ct_DSYMUTIL=$DSYMUTIL 6714 # Extract the first word of "dsymutil", so it can be a program name with args. 6715set dummy dsymutil; ac_word=$2 6716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6717$as_echo_n "checking for $ac_word... " >&6; } 6718if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6719 $as_echo_n "(cached) " >&6 6720else 6721 if test -n "$ac_ct_DSYMUTIL"; then 6722 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6723else 6724as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6725for as_dir in $PATH 6726do 6727 IFS=$as_save_IFS 6728 test -z "$as_dir" && as_dir=. 6729 for ac_exec_ext in '' $ac_executable_extensions; do 6730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6731 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6733 break 2 6734 fi 6735done 6736 done 6737IFS=$as_save_IFS 6738 6739fi 6740fi 6741ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6742if test -n "$ac_ct_DSYMUTIL"; then 6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6744$as_echo "$ac_ct_DSYMUTIL" >&6; } 6745else 6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6747$as_echo "no" >&6; } 6748fi 6749 6750 if test "x$ac_ct_DSYMUTIL" = x; then 6751 DSYMUTIL=":" 6752 else 6753 case $cross_compiling:$ac_tool_warned in 6754yes:) 6755{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6756$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6757ac_tool_warned=yes ;; 6758esac 6759 DSYMUTIL=$ac_ct_DSYMUTIL 6760 fi 6761else 6762 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6763fi 6764 6765 if test -n "$ac_tool_prefix"; then 6766 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6767set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6769$as_echo_n "checking for $ac_word... " >&6; } 6770if ${ac_cv_prog_NMEDIT+:} false; then : 6771 $as_echo_n "(cached) " >&6 6772else 6773 if test -n "$NMEDIT"; then 6774 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6775else 6776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6777for as_dir in $PATH 6778do 6779 IFS=$as_save_IFS 6780 test -z "$as_dir" && as_dir=. 6781 for ac_exec_ext in '' $ac_executable_extensions; do 6782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6783 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6785 break 2 6786 fi 6787done 6788 done 6789IFS=$as_save_IFS 6790 6791fi 6792fi 6793NMEDIT=$ac_cv_prog_NMEDIT 6794if test -n "$NMEDIT"; then 6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6796$as_echo "$NMEDIT" >&6; } 6797else 6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6799$as_echo "no" >&6; } 6800fi 6801 6802 6803fi 6804if test -z "$ac_cv_prog_NMEDIT"; then 6805 ac_ct_NMEDIT=$NMEDIT 6806 # Extract the first word of "nmedit", so it can be a program name with args. 6807set dummy nmedit; ac_word=$2 6808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6809$as_echo_n "checking for $ac_word... " >&6; } 6810if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6811 $as_echo_n "(cached) " >&6 6812else 6813 if test -n "$ac_ct_NMEDIT"; then 6814 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6815else 6816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6817for as_dir in $PATH 6818do 6819 IFS=$as_save_IFS 6820 test -z "$as_dir" && as_dir=. 6821 for ac_exec_ext in '' $ac_executable_extensions; do 6822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6823 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6825 break 2 6826 fi 6827done 6828 done 6829IFS=$as_save_IFS 6830 6831fi 6832fi 6833ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6834if test -n "$ac_ct_NMEDIT"; then 6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6836$as_echo "$ac_ct_NMEDIT" >&6; } 6837else 6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6839$as_echo "no" >&6; } 6840fi 6841 6842 if test "x$ac_ct_NMEDIT" = x; then 6843 NMEDIT=":" 6844 else 6845 case $cross_compiling:$ac_tool_warned in 6846yes:) 6847{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6848$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6849ac_tool_warned=yes ;; 6850esac 6851 NMEDIT=$ac_ct_NMEDIT 6852 fi 6853else 6854 NMEDIT="$ac_cv_prog_NMEDIT" 6855fi 6856 6857 if test -n "$ac_tool_prefix"; then 6858 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6859set dummy ${ac_tool_prefix}lipo; ac_word=$2 6860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6861$as_echo_n "checking for $ac_word... " >&6; } 6862if ${ac_cv_prog_LIPO+:} false; then : 6863 $as_echo_n "(cached) " >&6 6864else 6865 if test -n "$LIPO"; then 6866 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6867else 6868as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6869for as_dir in $PATH 6870do 6871 IFS=$as_save_IFS 6872 test -z "$as_dir" && as_dir=. 6873 for ac_exec_ext in '' $ac_executable_extensions; do 6874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6875 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6877 break 2 6878 fi 6879done 6880 done 6881IFS=$as_save_IFS 6882 6883fi 6884fi 6885LIPO=$ac_cv_prog_LIPO 6886if test -n "$LIPO"; then 6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6888$as_echo "$LIPO" >&6; } 6889else 6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6891$as_echo "no" >&6; } 6892fi 6893 6894 6895fi 6896if test -z "$ac_cv_prog_LIPO"; then 6897 ac_ct_LIPO=$LIPO 6898 # Extract the first word of "lipo", so it can be a program name with args. 6899set dummy lipo; ac_word=$2 6900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6901$as_echo_n "checking for $ac_word... " >&6; } 6902if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6903 $as_echo_n "(cached) " >&6 6904else 6905 if test -n "$ac_ct_LIPO"; then 6906 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6907else 6908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6909for as_dir in $PATH 6910do 6911 IFS=$as_save_IFS 6912 test -z "$as_dir" && as_dir=. 6913 for ac_exec_ext in '' $ac_executable_extensions; do 6914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6915 ac_cv_prog_ac_ct_LIPO="lipo" 6916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6917 break 2 6918 fi 6919done 6920 done 6921IFS=$as_save_IFS 6922 6923fi 6924fi 6925ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6926if test -n "$ac_ct_LIPO"; then 6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6928$as_echo "$ac_ct_LIPO" >&6; } 6929else 6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6931$as_echo "no" >&6; } 6932fi 6933 6934 if test "x$ac_ct_LIPO" = x; then 6935 LIPO=":" 6936 else 6937 case $cross_compiling:$ac_tool_warned in 6938yes:) 6939{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6940$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6941ac_tool_warned=yes ;; 6942esac 6943 LIPO=$ac_ct_LIPO 6944 fi 6945else 6946 LIPO="$ac_cv_prog_LIPO" 6947fi 6948 6949 if test -n "$ac_tool_prefix"; then 6950 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6951set dummy ${ac_tool_prefix}otool; ac_word=$2 6952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6953$as_echo_n "checking for $ac_word... " >&6; } 6954if ${ac_cv_prog_OTOOL+:} false; then : 6955 $as_echo_n "(cached) " >&6 6956else 6957 if test -n "$OTOOL"; then 6958 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6959else 6960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6961for as_dir in $PATH 6962do 6963 IFS=$as_save_IFS 6964 test -z "$as_dir" && as_dir=. 6965 for ac_exec_ext in '' $ac_executable_extensions; do 6966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6967 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6969 break 2 6970 fi 6971done 6972 done 6973IFS=$as_save_IFS 6974 6975fi 6976fi 6977OTOOL=$ac_cv_prog_OTOOL 6978if test -n "$OTOOL"; then 6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6980$as_echo "$OTOOL" >&6; } 6981else 6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6983$as_echo "no" >&6; } 6984fi 6985 6986 6987fi 6988if test -z "$ac_cv_prog_OTOOL"; then 6989 ac_ct_OTOOL=$OTOOL 6990 # Extract the first word of "otool", so it can be a program name with args. 6991set dummy otool; ac_word=$2 6992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6993$as_echo_n "checking for $ac_word... " >&6; } 6994if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6995 $as_echo_n "(cached) " >&6 6996else 6997 if test -n "$ac_ct_OTOOL"; then 6998 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6999else 7000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7001for as_dir in $PATH 7002do 7003 IFS=$as_save_IFS 7004 test -z "$as_dir" && as_dir=. 7005 for ac_exec_ext in '' $ac_executable_extensions; do 7006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7007 ac_cv_prog_ac_ct_OTOOL="otool" 7008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7009 break 2 7010 fi 7011done 7012 done 7013IFS=$as_save_IFS 7014 7015fi 7016fi 7017ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7018if test -n "$ac_ct_OTOOL"; then 7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7020$as_echo "$ac_ct_OTOOL" >&6; } 7021else 7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7023$as_echo "no" >&6; } 7024fi 7025 7026 if test "x$ac_ct_OTOOL" = x; then 7027 OTOOL=":" 7028 else 7029 case $cross_compiling:$ac_tool_warned in 7030yes:) 7031{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7032$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7033ac_tool_warned=yes ;; 7034esac 7035 OTOOL=$ac_ct_OTOOL 7036 fi 7037else 7038 OTOOL="$ac_cv_prog_OTOOL" 7039fi 7040 7041 if test -n "$ac_tool_prefix"; then 7042 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7043set dummy ${ac_tool_prefix}otool64; ac_word=$2 7044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7045$as_echo_n "checking for $ac_word... " >&6; } 7046if ${ac_cv_prog_OTOOL64+:} false; then : 7047 $as_echo_n "(cached) " >&6 7048else 7049 if test -n "$OTOOL64"; then 7050 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7051else 7052as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7053for as_dir in $PATH 7054do 7055 IFS=$as_save_IFS 7056 test -z "$as_dir" && as_dir=. 7057 for ac_exec_ext in '' $ac_executable_extensions; do 7058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7059 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7061 break 2 7062 fi 7063done 7064 done 7065IFS=$as_save_IFS 7066 7067fi 7068fi 7069OTOOL64=$ac_cv_prog_OTOOL64 7070if test -n "$OTOOL64"; then 7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7072$as_echo "$OTOOL64" >&6; } 7073else 7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7075$as_echo "no" >&6; } 7076fi 7077 7078 7079fi 7080if test -z "$ac_cv_prog_OTOOL64"; then 7081 ac_ct_OTOOL64=$OTOOL64 7082 # Extract the first word of "otool64", so it can be a program name with args. 7083set dummy otool64; ac_word=$2 7084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7085$as_echo_n "checking for $ac_word... " >&6; } 7086if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7087 $as_echo_n "(cached) " >&6 7088else 7089 if test -n "$ac_ct_OTOOL64"; then 7090 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7091else 7092as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7093for as_dir in $PATH 7094do 7095 IFS=$as_save_IFS 7096 test -z "$as_dir" && as_dir=. 7097 for ac_exec_ext in '' $ac_executable_extensions; do 7098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7099 ac_cv_prog_ac_ct_OTOOL64="otool64" 7100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7101 break 2 7102 fi 7103done 7104 done 7105IFS=$as_save_IFS 7106 7107fi 7108fi 7109ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7110if test -n "$ac_ct_OTOOL64"; then 7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7112$as_echo "$ac_ct_OTOOL64" >&6; } 7113else 7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7115$as_echo "no" >&6; } 7116fi 7117 7118 if test "x$ac_ct_OTOOL64" = x; then 7119 OTOOL64=":" 7120 else 7121 case $cross_compiling:$ac_tool_warned in 7122yes:) 7123{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7124$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7125ac_tool_warned=yes ;; 7126esac 7127 OTOOL64=$ac_ct_OTOOL64 7128 fi 7129else 7130 OTOOL64="$ac_cv_prog_OTOOL64" 7131fi 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7160$as_echo_n "checking for -single_module linker flag... " >&6; } 7161if ${lt_cv_apple_cc_single_mod+:} false; then : 7162 $as_echo_n "(cached) " >&6 7163else 7164 lt_cv_apple_cc_single_mod=no 7165 if test -z "${LT_MULTI_MODULE}"; then 7166 # By default we will add the -single_module flag. You can override 7167 # by either setting the environment variable LT_MULTI_MODULE 7168 # non-empty at configure time, or by adding -multi_module to the 7169 # link flags. 7170 rm -rf libconftest.dylib* 7171 echo "int foo(void){return 1;}" > conftest.c 7172 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7173-dynamiclib -Wl,-single_module conftest.c" >&5 7174 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7175 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7176 _lt_result=$? 7177 # If there is a non-empty error log, and "single_module" 7178 # appears in it, assume the flag caused a linker warning 7179 if test -s conftest.err && $GREP single_module conftest.err; then 7180 cat conftest.err >&5 7181 # Otherwise, if the output was created with a 0 exit code from 7182 # the compiler, it worked. 7183 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7184 lt_cv_apple_cc_single_mod=yes 7185 else 7186 cat conftest.err >&5 7187 fi 7188 rm -rf libconftest.dylib* 7189 rm -f conftest.* 7190 fi 7191fi 7192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7193$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7194 7195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7196$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7197if ${lt_cv_ld_exported_symbols_list+:} false; then : 7198 $as_echo_n "(cached) " >&6 7199else 7200 lt_cv_ld_exported_symbols_list=no 7201 save_LDFLAGS=$LDFLAGS 7202 echo "_main" > conftest.sym 7203 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7205/* end confdefs.h. */ 7206 7207int 7208main () 7209{ 7210 7211 ; 7212 return 0; 7213} 7214_ACEOF 7215if ac_fn_c_try_link "$LINENO"; then : 7216 lt_cv_ld_exported_symbols_list=yes 7217else 7218 lt_cv_ld_exported_symbols_list=no 7219fi 7220rm -f core conftest.err conftest.$ac_objext \ 7221 conftest$ac_exeext conftest.$ac_ext 7222 LDFLAGS="$save_LDFLAGS" 7223 7224fi 7225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7226$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7227 7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7229$as_echo_n "checking for -force_load linker flag... " >&6; } 7230if ${lt_cv_ld_force_load+:} false; then : 7231 $as_echo_n "(cached) " >&6 7232else 7233 lt_cv_ld_force_load=no 7234 cat > conftest.c << _LT_EOF 7235int forced_loaded() { return 2;} 7236_LT_EOF 7237 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7238 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7239 echo "$AR cru libconftest.a conftest.o" >&5 7240 $AR cru libconftest.a conftest.o 2>&5 7241 echo "$RANLIB libconftest.a" >&5 7242 $RANLIB libconftest.a 2>&5 7243 cat > conftest.c << _LT_EOF 7244int main() { return 0;} 7245_LT_EOF 7246 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7247 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7248 _lt_result=$? 7249 if test -s conftest.err && $GREP force_load conftest.err; then 7250 cat conftest.err >&5 7251 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7252 lt_cv_ld_force_load=yes 7253 else 7254 cat conftest.err >&5 7255 fi 7256 rm -f conftest.err libconftest.a conftest conftest.c 7257 rm -rf conftest.dSYM 7258 7259fi 7260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7261$as_echo "$lt_cv_ld_force_load" >&6; } 7262 case $host_os in 7263 rhapsody* | darwin1.[012]) 7264 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7265 darwin1.*) 7266 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7267 darwin*) # darwin 5.x on 7268 # if running on 10.5 or later, the deployment target defaults 7269 # to the OS version, if on x86, and 10.4, the deployment 7270 # target defaults to 10.4. Don't you love it? 7271 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7272 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7273 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7274 10.[012]*) 7275 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7276 10.*) 7277 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7278 esac 7279 ;; 7280 esac 7281 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7282 _lt_dar_single_mod='$single_module' 7283 fi 7284 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7285 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7286 else 7287 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7288 fi 7289 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7290 _lt_dsymutil='~$DSYMUTIL $lib || :' 7291 else 7292 _lt_dsymutil= 7293 fi 7294 ;; 7295 esac 7296 7297# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7298for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7299 inttypes.h stdint.h unistd.h 7300do : 7301 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7302ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7303" 7304if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7305 cat >>confdefs.h <<_ACEOF 7306@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7307_ACEOF 7308 7309fi 7310 7311done 7312 7313 7314for ac_header in dlfcn.h 7315do : 7316 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7317" 7318if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7319 cat >>confdefs.h <<_ACEOF 7320@%:@define HAVE_DLFCN_H 1 7321_ACEOF 7322 7323fi 7324 7325done 7326 7327 7328 7329 7330 7331# Set options 7332 7333 7334 7335 enable_dlopen=no 7336 7337 7338 enable_win32_dll=no 7339 7340 7341 7342 @%:@ Check whether --enable-static was given. 7343if test "${enable_static+set}" = set; then : 7344 enableval=$enable_static; p=${PACKAGE-default} 7345 case $enableval in 7346 yes) enable_static=yes ;; 7347 no) enable_static=no ;; 7348 *) 7349 enable_static=no 7350 # Look at the argument we got. We use all the common list separators. 7351 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7352 for pkg in $enableval; do 7353 IFS="$lt_save_ifs" 7354 if test "X$pkg" = "X$p"; then 7355 enable_static=yes 7356 fi 7357 done 7358 IFS="$lt_save_ifs" 7359 ;; 7360 esac 7361else 7362 enable_static=yes 7363fi 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374@%:@ Check whether --with-pic was given. 7375if test "${with_pic+set}" = set; then : 7376 withval=$with_pic; lt_p=${PACKAGE-default} 7377 case $withval in 7378 yes|no) pic_mode=$withval ;; 7379 *) 7380 pic_mode=default 7381 # Look at the argument we got. We use all the common list separators. 7382 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7383 for lt_pkg in $withval; do 7384 IFS="$lt_save_ifs" 7385 if test "X$lt_pkg" = "X$lt_p"; then 7386 pic_mode=yes 7387 fi 7388 done 7389 IFS="$lt_save_ifs" 7390 ;; 7391 esac 7392else 7393 pic_mode=default 7394fi 7395 7396 7397test -z "$pic_mode" && pic_mode=default 7398 7399 7400 7401 7402 7403 7404 7405 @%:@ Check whether --enable-fast-install was given. 7406if test "${enable_fast_install+set}" = set; then : 7407 enableval=$enable_fast_install; p=${PACKAGE-default} 7408 case $enableval in 7409 yes) enable_fast_install=yes ;; 7410 no) enable_fast_install=no ;; 7411 *) 7412 enable_fast_install=no 7413 # Look at the argument we got. We use all the common list separators. 7414 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7415 for pkg in $enableval; do 7416 IFS="$lt_save_ifs" 7417 if test "X$pkg" = "X$p"; then 7418 enable_fast_install=yes 7419 fi 7420 done 7421 IFS="$lt_save_ifs" 7422 ;; 7423 esac 7424else 7425 enable_fast_install=yes 7426fi 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438# This can be used to rebuild libtool when needed 7439LIBTOOL_DEPS="$ltmain" 7440 7441# Always use our own libtool. 7442LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473test -z "$LN_S" && LN_S="ln -s" 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488if test -n "${ZSH_VERSION+set}" ; then 7489 setopt NO_GLOB_SUBST 7490fi 7491 7492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7493$as_echo_n "checking for objdir... " >&6; } 7494if ${lt_cv_objdir+:} false; then : 7495 $as_echo_n "(cached) " >&6 7496else 7497 rm -f .libs 2>/dev/null 7498mkdir .libs 2>/dev/null 7499if test -d .libs; then 7500 lt_cv_objdir=.libs 7501else 7502 # MS-DOS does not allow filenames that begin with a dot. 7503 lt_cv_objdir=_libs 7504fi 7505rmdir .libs 2>/dev/null 7506fi 7507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7508$as_echo "$lt_cv_objdir" >&6; } 7509objdir=$lt_cv_objdir 7510 7511 7512 7513 7514 7515cat >>confdefs.h <<_ACEOF 7516@%:@define LT_OBJDIR "$lt_cv_objdir/" 7517_ACEOF 7518 7519 7520 7521 7522case $host_os in 7523aix3*) 7524 # AIX sometimes has problems with the GCC collect2 program. For some 7525 # reason, if we set the COLLECT_NAMES environment variable, the problems 7526 # vanish in a puff of smoke. 7527 if test "X${COLLECT_NAMES+set}" != Xset; then 7528 COLLECT_NAMES= 7529 export COLLECT_NAMES 7530 fi 7531 ;; 7532esac 7533 7534# Global variables: 7535ofile=libtool 7536can_build_shared=yes 7537 7538# All known linkers require a `.a' archive for static linking (except MSVC, 7539# which needs '.lib'). 7540libext=a 7541 7542with_gnu_ld="$lt_cv_prog_gnu_ld" 7543 7544old_CC="$CC" 7545old_CFLAGS="$CFLAGS" 7546 7547# Set sane defaults for various variables 7548test -z "$CC" && CC=cc 7549test -z "$LTCC" && LTCC=$CC 7550test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7551test -z "$LD" && LD=ld 7552test -z "$ac_objext" && ac_objext=o 7553 7554for cc_temp in $compiler""; do 7555 case $cc_temp in 7556 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7557 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7558 \-*) ;; 7559 *) break;; 7560 esac 7561done 7562cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7563 7564 7565# Only perform the check for file, if the check method requires it 7566test -z "$MAGIC_CMD" && MAGIC_CMD=file 7567case $deplibs_check_method in 7568file_magic*) 7569 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7571$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7572if ${lt_cv_path_MAGIC_CMD+:} false; then : 7573 $as_echo_n "(cached) " >&6 7574else 7575 case $MAGIC_CMD in 7576[\\/*] | ?:[\\/]*) 7577 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7578 ;; 7579*) 7580 lt_save_MAGIC_CMD="$MAGIC_CMD" 7581 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7582 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7583 for ac_dir in $ac_dummy; do 7584 IFS="$lt_save_ifs" 7585 test -z "$ac_dir" && ac_dir=. 7586 if test -f $ac_dir/${ac_tool_prefix}file; then 7587 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7588 if test -n "$file_magic_test_file"; then 7589 case $deplibs_check_method in 7590 "file_magic "*) 7591 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7592 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7593 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7594 $EGREP "$file_magic_regex" > /dev/null; then 7595 : 7596 else 7597 cat <<_LT_EOF 1>&2 7598 7599*** Warning: the command libtool uses to detect shared libraries, 7600*** $file_magic_cmd, produces output that libtool cannot recognize. 7601*** The result is that libtool may fail to recognize shared libraries 7602*** as such. This will affect the creation of libtool libraries that 7603*** depend on shared libraries, but programs linked with such libtool 7604*** libraries will work regardless of this problem. Nevertheless, you 7605*** may want to report the problem to your system manager and/or to 7606*** bug-libtool@gnu.org 7607 7608_LT_EOF 7609 fi ;; 7610 esac 7611 fi 7612 break 7613 fi 7614 done 7615 IFS="$lt_save_ifs" 7616 MAGIC_CMD="$lt_save_MAGIC_CMD" 7617 ;; 7618esac 7619fi 7620 7621MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7622if test -n "$MAGIC_CMD"; then 7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7624$as_echo "$MAGIC_CMD" >&6; } 7625else 7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7627$as_echo "no" >&6; } 7628fi 7629 7630 7631 7632 7633 7634if test -z "$lt_cv_path_MAGIC_CMD"; then 7635 if test -n "$ac_tool_prefix"; then 7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7637$as_echo_n "checking for file... " >&6; } 7638if ${lt_cv_path_MAGIC_CMD+:} false; then : 7639 $as_echo_n "(cached) " >&6 7640else 7641 case $MAGIC_CMD in 7642[\\/*] | ?:[\\/]*) 7643 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7644 ;; 7645*) 7646 lt_save_MAGIC_CMD="$MAGIC_CMD" 7647 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7648 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7649 for ac_dir in $ac_dummy; do 7650 IFS="$lt_save_ifs" 7651 test -z "$ac_dir" && ac_dir=. 7652 if test -f $ac_dir/file; then 7653 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7654 if test -n "$file_magic_test_file"; then 7655 case $deplibs_check_method in 7656 "file_magic "*) 7657 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7658 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7659 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7660 $EGREP "$file_magic_regex" > /dev/null; then 7661 : 7662 else 7663 cat <<_LT_EOF 1>&2 7664 7665*** Warning: the command libtool uses to detect shared libraries, 7666*** $file_magic_cmd, produces output that libtool cannot recognize. 7667*** The result is that libtool may fail to recognize shared libraries 7668*** as such. This will affect the creation of libtool libraries that 7669*** depend on shared libraries, but programs linked with such libtool 7670*** libraries will work regardless of this problem. Nevertheless, you 7671*** may want to report the problem to your system manager and/or to 7672*** bug-libtool@gnu.org 7673 7674_LT_EOF 7675 fi ;; 7676 esac 7677 fi 7678 break 7679 fi 7680 done 7681 IFS="$lt_save_ifs" 7682 MAGIC_CMD="$lt_save_MAGIC_CMD" 7683 ;; 7684esac 7685fi 7686 7687MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7688if test -n "$MAGIC_CMD"; then 7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7690$as_echo "$MAGIC_CMD" >&6; } 7691else 7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7693$as_echo "no" >&6; } 7694fi 7695 7696 7697 else 7698 MAGIC_CMD=: 7699 fi 7700fi 7701 7702 fi 7703 ;; 7704esac 7705 7706# Use C for the default configuration in the libtool script 7707 7708lt_save_CC="$CC" 7709ac_ext=c 7710ac_cpp='$CPP $CPPFLAGS' 7711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7713ac_compiler_gnu=$ac_cv_c_compiler_gnu 7714 7715 7716# Source file extension for C test sources. 7717ac_ext=c 7718 7719# Object file extension for compiled C test sources. 7720objext=o 7721objext=$objext 7722 7723# Code to be used in simple compile tests 7724lt_simple_compile_test_code="int some_variable = 0;" 7725 7726# Code to be used in simple link tests 7727lt_simple_link_test_code='int main(){return(0);}' 7728 7729 7730 7731 7732 7733 7734 7735# If no C compiler was specified, use CC. 7736LTCC=${LTCC-"$CC"} 7737 7738# If no C compiler flags were specified, use CFLAGS. 7739LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7740 7741# Allow CC to be a program name with arguments. 7742compiler=$CC 7743 7744# Save the default compiler, since it gets overwritten when the other 7745# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7746compiler_DEFAULT=$CC 7747 7748# save warnings/boilerplate of simple test code 7749ac_outfile=conftest.$ac_objext 7750echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7751eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7752_lt_compiler_boilerplate=`cat conftest.err` 7753$RM conftest* 7754 7755ac_outfile=conftest.$ac_objext 7756echo "$lt_simple_link_test_code" >conftest.$ac_ext 7757eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7758_lt_linker_boilerplate=`cat conftest.err` 7759$RM -r conftest* 7760 7761 7762if test -n "$compiler"; then 7763 7764lt_prog_compiler_no_builtin_flag= 7765 7766if test "$GCC" = yes; then 7767 case $cc_basename in 7768 nvcc*) 7769 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 7770 *) 7771 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7772 esac 7773 7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7775$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7776if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 7777 $as_echo_n "(cached) " >&6 7778else 7779 lt_cv_prog_compiler_rtti_exceptions=no 7780 ac_outfile=conftest.$ac_objext 7781 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7782 lt_compiler_flag="-fno-rtti -fno-exceptions" 7783 # Insert the option either (1) after the last *FLAGS variable, or 7784 # (2) before a word containing "conftest.", or (3) at the end. 7785 # Note that $ac_compile itself does not contain backslashes and begins 7786 # with a dollar sign (not a hyphen), so the echo should work correctly. 7787 # The option is referenced via a variable to avoid confusing sed. 7788 lt_compile=`echo "$ac_compile" | $SED \ 7789 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7790 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7791 -e 's:$: $lt_compiler_flag:'` 7792 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7793 (eval "$lt_compile" 2>conftest.err) 7794 ac_status=$? 7795 cat conftest.err >&5 7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7797 if (exit $ac_status) && test -s "$ac_outfile"; then 7798 # The compiler can only warn and ignore the option if not recognized 7799 # So say no if there are warnings other than the usual output. 7800 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 7801 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7802 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7803 lt_cv_prog_compiler_rtti_exceptions=yes 7804 fi 7805 fi 7806 $RM conftest* 7807 7808fi 7809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7810$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7811 7812if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7813 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7814else 7815 : 7816fi 7817 7818fi 7819 7820 7821 7822 7823 7824 7825 lt_prog_compiler_wl= 7826lt_prog_compiler_pic= 7827lt_prog_compiler_static= 7828 7829 7830 if test "$GCC" = yes; then 7831 lt_prog_compiler_wl='-Wl,' 7832 lt_prog_compiler_static='-static' 7833 7834 case $host_os in 7835 aix*) 7836 # All AIX code is PIC. 7837 if test "$host_cpu" = ia64; then 7838 # AIX 5 now supports IA64 processor 7839 lt_prog_compiler_static='-Bstatic' 7840 fi 7841 ;; 7842 7843 amigaos*) 7844 case $host_cpu in 7845 powerpc) 7846 # see comment about AmigaOS4 .so support 7847 lt_prog_compiler_pic='-fPIC' 7848 ;; 7849 m68k) 7850 # FIXME: we need at least 68020 code to build shared libraries, but 7851 # adding the `-m68020' flag to GCC prevents building anything better, 7852 # like `-m68040'. 7853 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7854 ;; 7855 esac 7856 ;; 7857 7858 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7859 # PIC is the default for these OSes. 7860 ;; 7861 7862 mingw* | cygwin* | pw32* | os2* | cegcc*) 7863 # This hack is so that the source file can tell whether it is being 7864 # built for inclusion in a dll (and should export symbols for example). 7865 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7866 # (--disable-auto-import) libraries 7867 lt_prog_compiler_pic='-DDLL_EXPORT' 7868 ;; 7869 7870 darwin* | rhapsody*) 7871 # PIC is the default on this platform 7872 # Common symbols not allowed in MH_DYLIB files 7873 lt_prog_compiler_pic='-fno-common' 7874 ;; 7875 7876 haiku*) 7877 # PIC is the default for Haiku. 7878 # The "-static" flag exists, but is broken. 7879 lt_prog_compiler_static= 7880 ;; 7881 7882 hpux*) 7883 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7884 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7885 # sets the default TLS model and affects inlining. 7886 case $host_cpu in 7887 hppa*64*) 7888 # +Z the default 7889 ;; 7890 *) 7891 lt_prog_compiler_pic='-fPIC' 7892 ;; 7893 esac 7894 ;; 7895 7896 interix[3-9]*) 7897 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7898 # Instead, we relocate shared libraries at runtime. 7899 ;; 7900 7901 msdosdjgpp*) 7902 # Just because we use GCC doesn't mean we suddenly get shared libraries 7903 # on systems that don't support them. 7904 lt_prog_compiler_can_build_shared=no 7905 enable_shared=no 7906 ;; 7907 7908 *nto* | *qnx*) 7909 # QNX uses GNU C++, but need to define -shared option too, otherwise 7910 # it will coredump. 7911 lt_prog_compiler_pic='-fPIC -shared' 7912 ;; 7913 7914 sysv4*MP*) 7915 if test -d /usr/nec; then 7916 lt_prog_compiler_pic=-Kconform_pic 7917 fi 7918 ;; 7919 7920 *) 7921 lt_prog_compiler_pic='-fPIC' 7922 ;; 7923 esac 7924 7925 case $cc_basename in 7926 nvcc*) # Cuda Compiler Driver 2.2 7927 lt_prog_compiler_wl='-Xlinker ' 7928 if test -n "$lt_prog_compiler_pic"; then 7929 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 7930 fi 7931 ;; 7932 esac 7933 else 7934 # PORTME Check for flag to pass linker flags through the system compiler. 7935 case $host_os in 7936 aix*) 7937 lt_prog_compiler_wl='-Wl,' 7938 if test "$host_cpu" = ia64; then 7939 # AIX 5 now supports IA64 processor 7940 lt_prog_compiler_static='-Bstatic' 7941 else 7942 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7943 fi 7944 ;; 7945 7946 mingw* | cygwin* | pw32* | os2* | cegcc*) 7947 # This hack is so that the source file can tell whether it is being 7948 # built for inclusion in a dll (and should export symbols for example). 7949 lt_prog_compiler_pic='-DDLL_EXPORT' 7950 ;; 7951 7952 hpux9* | hpux10* | hpux11*) 7953 lt_prog_compiler_wl='-Wl,' 7954 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7955 # not for PA HP-UX. 7956 case $host_cpu in 7957 hppa*64*|ia64*) 7958 # +Z the default 7959 ;; 7960 *) 7961 lt_prog_compiler_pic='+Z' 7962 ;; 7963 esac 7964 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7965 lt_prog_compiler_static='${wl}-a ${wl}archive' 7966 ;; 7967 7968 irix5* | irix6* | nonstopux*) 7969 lt_prog_compiler_wl='-Wl,' 7970 # PIC (with -KPIC) is the default. 7971 lt_prog_compiler_static='-non_shared' 7972 ;; 7973 7974 linux* | k*bsd*-gnu | kopensolaris*-gnu) 7975 case $cc_basename in 7976 # old Intel for x86_64 which still supported -KPIC. 7977 ecc*) 7978 lt_prog_compiler_wl='-Wl,' 7979 lt_prog_compiler_pic='-KPIC' 7980 lt_prog_compiler_static='-static' 7981 ;; 7982 # icc used to be incompatible with GCC. 7983 # ICC 10 doesn't accept -KPIC any more. 7984 icc* | ifort*) 7985 lt_prog_compiler_wl='-Wl,' 7986 lt_prog_compiler_pic='-fPIC' 7987 lt_prog_compiler_static='-static' 7988 ;; 7989 # Lahey Fortran 8.1. 7990 lf95*) 7991 lt_prog_compiler_wl='-Wl,' 7992 lt_prog_compiler_pic='--shared' 7993 lt_prog_compiler_static='--static' 7994 ;; 7995 nagfor*) 7996 # NAG Fortran compiler 7997 lt_prog_compiler_wl='-Wl,-Wl,,' 7998 lt_prog_compiler_pic='-PIC' 7999 lt_prog_compiler_static='-Bstatic' 8000 ;; 8001 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8002 # Portland Group compilers (*not* the Pentium gcc compiler, 8003 # which looks to be a dead project) 8004 lt_prog_compiler_wl='-Wl,' 8005 lt_prog_compiler_pic='-fpic' 8006 lt_prog_compiler_static='-Bstatic' 8007 ;; 8008 ccc*) 8009 lt_prog_compiler_wl='-Wl,' 8010 # All Alpha code is PIC. 8011 lt_prog_compiler_static='-non_shared' 8012 ;; 8013 xl* | bgxl* | bgf* | mpixl*) 8014 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8015 lt_prog_compiler_wl='-Wl,' 8016 lt_prog_compiler_pic='-qpic' 8017 lt_prog_compiler_static='-qstaticlink' 8018 ;; 8019 *) 8020 case `$CC -V 2>&1 | sed 5q` in 8021 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8022 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8023 lt_prog_compiler_pic='-KPIC' 8024 lt_prog_compiler_static='-Bstatic' 8025 lt_prog_compiler_wl='' 8026 ;; 8027 *Sun\ F* | *Sun*Fortran*) 8028 lt_prog_compiler_pic='-KPIC' 8029 lt_prog_compiler_static='-Bstatic' 8030 lt_prog_compiler_wl='-Qoption ld ' 8031 ;; 8032 *Sun\ C*) 8033 # Sun C 5.9 8034 lt_prog_compiler_pic='-KPIC' 8035 lt_prog_compiler_static='-Bstatic' 8036 lt_prog_compiler_wl='-Wl,' 8037 ;; 8038 *Intel*\ [CF]*Compiler*) 8039 lt_prog_compiler_wl='-Wl,' 8040 lt_prog_compiler_pic='-fPIC' 8041 lt_prog_compiler_static='-static' 8042 ;; 8043 *Portland\ Group*) 8044 lt_prog_compiler_wl='-Wl,' 8045 lt_prog_compiler_pic='-fpic' 8046 lt_prog_compiler_static='-Bstatic' 8047 ;; 8048 esac 8049 ;; 8050 esac 8051 ;; 8052 8053 newsos6) 8054 lt_prog_compiler_pic='-KPIC' 8055 lt_prog_compiler_static='-Bstatic' 8056 ;; 8057 8058 *nto* | *qnx*) 8059 # QNX uses GNU C++, but need to define -shared option too, otherwise 8060 # it will coredump. 8061 lt_prog_compiler_pic='-fPIC -shared' 8062 ;; 8063 8064 osf3* | osf4* | osf5*) 8065 lt_prog_compiler_wl='-Wl,' 8066 # All OSF/1 code is PIC. 8067 lt_prog_compiler_static='-non_shared' 8068 ;; 8069 8070 rdos*) 8071 lt_prog_compiler_static='-non_shared' 8072 ;; 8073 8074 solaris*) 8075 lt_prog_compiler_pic='-KPIC' 8076 lt_prog_compiler_static='-Bstatic' 8077 case $cc_basename in 8078 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8079 lt_prog_compiler_wl='-Qoption ld ';; 8080 *) 8081 lt_prog_compiler_wl='-Wl,';; 8082 esac 8083 ;; 8084 8085 sunos4*) 8086 lt_prog_compiler_wl='-Qoption ld ' 8087 lt_prog_compiler_pic='-PIC' 8088 lt_prog_compiler_static='-Bstatic' 8089 ;; 8090 8091 sysv4 | sysv4.2uw2* | sysv4.3*) 8092 lt_prog_compiler_wl='-Wl,' 8093 lt_prog_compiler_pic='-KPIC' 8094 lt_prog_compiler_static='-Bstatic' 8095 ;; 8096 8097 sysv4*MP*) 8098 if test -d /usr/nec ;then 8099 lt_prog_compiler_pic='-Kconform_pic' 8100 lt_prog_compiler_static='-Bstatic' 8101 fi 8102 ;; 8103 8104 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8105 lt_prog_compiler_wl='-Wl,' 8106 lt_prog_compiler_pic='-KPIC' 8107 lt_prog_compiler_static='-Bstatic' 8108 ;; 8109 8110 unicos*) 8111 lt_prog_compiler_wl='-Wl,' 8112 lt_prog_compiler_can_build_shared=no 8113 ;; 8114 8115 uts4*) 8116 lt_prog_compiler_pic='-pic' 8117 lt_prog_compiler_static='-Bstatic' 8118 ;; 8119 8120 *) 8121 lt_prog_compiler_can_build_shared=no 8122 ;; 8123 esac 8124 fi 8125 8126case $host_os in 8127 # For platforms which do not support PIC, -DPIC is meaningless: 8128 *djgpp*) 8129 lt_prog_compiler_pic= 8130 ;; 8131 *) 8132 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC" 8133 ;; 8134esac 8135 8136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8137$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8138if ${lt_cv_prog_compiler_pic+:} false; then : 8139 $as_echo_n "(cached) " >&6 8140else 8141 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8142fi 8143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8144$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8145lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8146 8147# 8148# Check to make sure the PIC flag actually works. 8149# 8150if test -n "$lt_prog_compiler_pic"; then 8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8152$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8153if ${lt_cv_prog_compiler_pic_works+:} false; then : 8154 $as_echo_n "(cached) " >&6 8155else 8156 lt_cv_prog_compiler_pic_works=no 8157 ac_outfile=conftest.$ac_objext 8158 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8159 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" 8160 # Insert the option either (1) after the last *FLAGS variable, or 8161 # (2) before a word containing "conftest.", or (3) at the end. 8162 # Note that $ac_compile itself does not contain backslashes and begins 8163 # with a dollar sign (not a hyphen), so the echo should work correctly. 8164 # The option is referenced via a variable to avoid confusing sed. 8165 lt_compile=`echo "$ac_compile" | $SED \ 8166 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8168 -e 's:$: $lt_compiler_flag:'` 8169 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8170 (eval "$lt_compile" 2>conftest.err) 8171 ac_status=$? 8172 cat conftest.err >&5 8173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8174 if (exit $ac_status) && test -s "$ac_outfile"; then 8175 # The compiler can only warn and ignore the option if not recognized 8176 # So say no if there are warnings other than the usual output. 8177 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8178 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8179 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8180 lt_cv_prog_compiler_pic_works=yes 8181 fi 8182 fi 8183 $RM conftest* 8184 8185fi 8186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8187$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8188 8189if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8190 case $lt_prog_compiler_pic in 8191 "" | " "*) ;; 8192 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8193 esac 8194else 8195 lt_prog_compiler_pic= 8196 lt_prog_compiler_can_build_shared=no 8197fi 8198 8199fi 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211# 8212# Check to make sure the static flag actually works. 8213# 8214wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8216$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8217if ${lt_cv_prog_compiler_static_works+:} false; then : 8218 $as_echo_n "(cached) " >&6 8219else 8220 lt_cv_prog_compiler_static_works=no 8221 save_LDFLAGS="$LDFLAGS" 8222 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8223 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8224 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8225 # The linker can only warn and ignore the option if not recognized 8226 # So say no if there are warnings 8227 if test -s conftest.err; then 8228 # Append any errors to the config.log. 8229 cat conftest.err 1>&5 8230 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8231 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8232 if diff conftest.exp conftest.er2 >/dev/null; then 8233 lt_cv_prog_compiler_static_works=yes 8234 fi 8235 else 8236 lt_cv_prog_compiler_static_works=yes 8237 fi 8238 fi 8239 $RM -r conftest* 8240 LDFLAGS="$save_LDFLAGS" 8241 8242fi 8243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8244$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8245 8246if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8247 : 8248else 8249 lt_prog_compiler_static= 8250fi 8251 8252 8253 8254 8255 8256 8257 8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8259$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8260if ${lt_cv_prog_compiler_c_o+:} false; then : 8261 $as_echo_n "(cached) " >&6 8262else 8263 lt_cv_prog_compiler_c_o=no 8264 $RM -r conftest 2>/dev/null 8265 mkdir conftest 8266 cd conftest 8267 mkdir out 8268 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8269 8270 lt_compiler_flag="-o out/conftest2.$ac_objext" 8271 # Insert the option either (1) after the last *FLAGS variable, or 8272 # (2) before a word containing "conftest.", or (3) at the end. 8273 # Note that $ac_compile itself does not contain backslashes and begins 8274 # with a dollar sign (not a hyphen), so the echo should work correctly. 8275 lt_compile=`echo "$ac_compile" | $SED \ 8276 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8277 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8278 -e 's:$: $lt_compiler_flag:'` 8279 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8280 (eval "$lt_compile" 2>out/conftest.err) 8281 ac_status=$? 8282 cat out/conftest.err >&5 8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8284 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8285 then 8286 # The compiler can only warn and ignore the option if not recognized 8287 # So say no if there are warnings 8288 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8289 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8290 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8291 lt_cv_prog_compiler_c_o=yes 8292 fi 8293 fi 8294 chmod u+w . 2>&5 8295 $RM conftest* 8296 # SGI C++ compiler will create directory out/ii_files/ for 8297 # template instantiation 8298 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8299 $RM out/* && rmdir out 8300 cd .. 8301 $RM -r conftest 8302 $RM conftest* 8303 8304fi 8305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8306$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8307 8308 8309 8310 8311 8312 8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8314$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8315if ${lt_cv_prog_compiler_c_o+:} false; then : 8316 $as_echo_n "(cached) " >&6 8317else 8318 lt_cv_prog_compiler_c_o=no 8319 $RM -r conftest 2>/dev/null 8320 mkdir conftest 8321 cd conftest 8322 mkdir out 8323 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8324 8325 lt_compiler_flag="-o out/conftest2.$ac_objext" 8326 # Insert the option either (1) after the last *FLAGS variable, or 8327 # (2) before a word containing "conftest.", or (3) at the end. 8328 # Note that $ac_compile itself does not contain backslashes and begins 8329 # with a dollar sign (not a hyphen), so the echo should work correctly. 8330 lt_compile=`echo "$ac_compile" | $SED \ 8331 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8332 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8333 -e 's:$: $lt_compiler_flag:'` 8334 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8335 (eval "$lt_compile" 2>out/conftest.err) 8336 ac_status=$? 8337 cat out/conftest.err >&5 8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8339 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8340 then 8341 # The compiler can only warn and ignore the option if not recognized 8342 # So say no if there are warnings 8343 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8344 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8345 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8346 lt_cv_prog_compiler_c_o=yes 8347 fi 8348 fi 8349 chmod u+w . 2>&5 8350 $RM conftest* 8351 # SGI C++ compiler will create directory out/ii_files/ for 8352 # template instantiation 8353 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8354 $RM out/* && rmdir out 8355 cd .. 8356 $RM -r conftest 8357 $RM conftest* 8358 8359fi 8360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8361$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8362 8363 8364 8365 8366hard_links="nottested" 8367if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8368 # do not overwrite the value of need_locks provided by the user 8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8370$as_echo_n "checking if we can lock with hard links... " >&6; } 8371 hard_links=yes 8372 $RM conftest* 8373 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8374 touch conftest.a 8375 ln conftest.a conftest.b 2>&5 || hard_links=no 8376 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8378$as_echo "$hard_links" >&6; } 8379 if test "$hard_links" = no; then 8380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8381$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8382 need_locks=warn 8383 fi 8384else 8385 need_locks=no 8386fi 8387 8388 8389 8390 8391 8392 8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8394$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8395 8396 runpath_var= 8397 allow_undefined_flag= 8398 always_export_symbols=no 8399 archive_cmds= 8400 archive_expsym_cmds= 8401 compiler_needs_object=no 8402 enable_shared_with_static_runtimes=no 8403 export_dynamic_flag_spec= 8404 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8405 hardcode_automatic=no 8406 hardcode_direct=no 8407 hardcode_direct_absolute=no 8408 hardcode_libdir_flag_spec= 8409 hardcode_libdir_separator= 8410 hardcode_minus_L=no 8411 hardcode_shlibpath_var=unsupported 8412 inherit_rpath=no 8413 link_all_deplibs=unknown 8414 module_cmds= 8415 module_expsym_cmds= 8416 old_archive_from_new_cmds= 8417 old_archive_from_expsyms_cmds= 8418 thread_safe_flag_spec= 8419 whole_archive_flag_spec= 8420 # include_expsyms should be a list of space-separated symbols to be *always* 8421 # included in the symbol list 8422 include_expsyms= 8423 # exclude_expsyms can be an extended regexp of symbols to exclude 8424 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8425 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8426 # as well as any symbol that contains `d'. 8427 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8428 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8429 # platforms (ab)use it in PIC code, but their linkers get confused if 8430 # the symbol is explicitly referenced. Since portable code cannot 8431 # rely on this symbol name, it's probably fine to never include it in 8432 # preloaded symbol tables. 8433 # Exclude shared library initialization/finalization symbols. 8434 extract_expsyms_cmds= 8435 8436 case $host_os in 8437 cygwin* | mingw* | pw32* | cegcc*) 8438 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8439 # When not using gcc, we currently assume that we are using 8440 # Microsoft Visual C++. 8441 if test "$GCC" != yes; then 8442 with_gnu_ld=no 8443 fi 8444 ;; 8445 interix*) 8446 # we just hope/assume this is gcc and not c89 (= MSVC++) 8447 with_gnu_ld=yes 8448 ;; 8449 openbsd*) 8450 with_gnu_ld=no 8451 ;; 8452 esac 8453 8454 ld_shlibs=yes 8455 8456 # On some targets, GNU ld is compatible enough with the native linker 8457 # that we're better off using the native interface for both. 8458 lt_use_gnu_ld_interface=no 8459 if test "$with_gnu_ld" = yes; then 8460 case $host_os in 8461 aix*) 8462 # The AIX port of GNU ld has always aspired to compatibility 8463 # with the native linker. However, as the warning in the GNU ld 8464 # block says, versions before 2.19.5* couldn't really create working 8465 # shared libraries, regardless of the interface used. 8466 case `$LD -v 2>&1` in 8467 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8468 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8469 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8470 *) 8471 lt_use_gnu_ld_interface=yes 8472 ;; 8473 esac 8474 ;; 8475 *) 8476 lt_use_gnu_ld_interface=yes 8477 ;; 8478 esac 8479 fi 8480 8481 if test "$lt_use_gnu_ld_interface" = yes; then 8482 # If archive_cmds runs LD, not CC, wlarc should be empty 8483 wlarc='${wl}' 8484 8485 # Set some defaults for GNU ld with shared library support. These 8486 # are reset later if shared libraries are not supported. Putting them 8487 # here allows them to be overridden if necessary. 8488 runpath_var=LD_RUN_PATH 8489 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8490 export_dynamic_flag_spec='${wl}--export-dynamic' 8491 # ancient GNU ld didn't support --whole-archive et. al. 8492 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8493 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8494 else 8495 whole_archive_flag_spec= 8496 fi 8497 supports_anon_versioning=no 8498 case `$LD -v 2>&1` in 8499 *GNU\ gold*) supports_anon_versioning=yes ;; 8500 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8501 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8502 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8503 *\ 2.11.*) ;; # other 2.11 versions 8504 *) supports_anon_versioning=yes ;; 8505 esac 8506 8507 # See if GNU ld supports shared libraries. 8508 case $host_os in 8509 aix[3-9]*) 8510 # On AIX/PPC, the GNU linker is very broken 8511 if test "$host_cpu" != ia64; then 8512 ld_shlibs=no 8513 cat <<_LT_EOF 1>&2 8514 8515*** Warning: the GNU linker, at least up to release 2.19, is reported 8516*** to be unable to reliably create shared libraries on AIX. 8517*** Therefore, libtool is disabling shared libraries support. If you 8518*** really care for shared libraries, you may want to install binutils 8519*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8520*** You will then need to restart the configuration process. 8521 8522_LT_EOF 8523 fi 8524 ;; 8525 8526 amigaos*) 8527 case $host_cpu in 8528 powerpc) 8529 # see comment about AmigaOS4 .so support 8530 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8531 archive_expsym_cmds='' 8532 ;; 8533 m68k) 8534 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)' 8535 hardcode_libdir_flag_spec='-L$libdir' 8536 hardcode_minus_L=yes 8537 ;; 8538 esac 8539 ;; 8540 8541 beos*) 8542 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8543 allow_undefined_flag=unsupported 8544 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8545 # support --undefined. This deserves some investigation. FIXME 8546 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8547 else 8548 ld_shlibs=no 8549 fi 8550 ;; 8551 8552 cygwin* | mingw* | pw32* | cegcc*) 8553 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8554 # as there is no search path for DLLs. 8555 hardcode_libdir_flag_spec='-L$libdir' 8556 export_dynamic_flag_spec='${wl}--export-all-symbols' 8557 allow_undefined_flag=unsupported 8558 always_export_symbols=no 8559 enable_shared_with_static_runtimes=yes 8560 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' 8561 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8562 8563 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8564 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8565 # If the export-symbols file already is a .def file (1st line 8566 # is EXPORTS), use it as is; otherwise, prepend... 8567 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8568 cp $export_symbols $output_objdir/$soname.def; 8569 else 8570 echo EXPORTS > $output_objdir/$soname.def; 8571 cat $export_symbols >> $output_objdir/$soname.def; 8572 fi~ 8573 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8574 else 8575 ld_shlibs=no 8576 fi 8577 ;; 8578 8579 haiku*) 8580 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8581 link_all_deplibs=yes 8582 ;; 8583 8584 interix[3-9]*) 8585 hardcode_direct=no 8586 hardcode_shlibpath_var=no 8587 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8588 export_dynamic_flag_spec='${wl}-E' 8589 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8590 # Instead, shared libraries are loaded at an image base (0x10000000 by 8591 # default) and relocated if they conflict, which is a slow very memory 8592 # consuming and fragmenting process. To avoid this, we pick a random, 8593 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8594 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8595 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8596 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' 8597 ;; 8598 8599 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8600 tmp_diet=no 8601 if test "$host_os" = linux-dietlibc; then 8602 case $cc_basename in 8603 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8604 esac 8605 fi 8606 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8607 && test "$tmp_diet" = no 8608 then 8609 tmp_addflag=' $pic_flag' 8610 tmp_sharedflag='-shared' 8611 case $cc_basename,$host_cpu in 8612 pgcc*) # Portland Group C compiler 8613 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' 8614 tmp_addflag=' $pic_flag' 8615 ;; 8616 pgf77* | pgf90* | pgf95* | pgfortran*) 8617 # Portland Group f77 and f90 compilers 8618 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' 8619 tmp_addflag=' $pic_flag -Mnomain' ;; 8620 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8621 tmp_addflag=' -i_dynamic' ;; 8622 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8623 tmp_addflag=' -i_dynamic -nofor_main' ;; 8624 ifc* | ifort*) # Intel Fortran compiler 8625 tmp_addflag=' -nofor_main' ;; 8626 lf95*) # Lahey Fortran 8.1 8627 whole_archive_flag_spec= 8628 tmp_sharedflag='--shared' ;; 8629 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8630 tmp_sharedflag='-qmkshrobj' 8631 tmp_addflag= ;; 8632 nvcc*) # Cuda Compiler Driver 2.2 8633 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' 8634 compiler_needs_object=yes 8635 ;; 8636 esac 8637 case `$CC -V 2>&1 | sed 5q` in 8638 *Sun\ C*) # Sun C 5.9 8639 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' 8640 compiler_needs_object=yes 8641 tmp_sharedflag='-G' ;; 8642 *Sun\ F*) # Sun Fortran 8.3 8643 tmp_sharedflag='-G' ;; 8644 esac 8645 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8646 8647 if test "x$supports_anon_versioning" = xyes; then 8648 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8649 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8650 echo "local: *; };" >> $output_objdir/$libname.ver~ 8651 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8652 fi 8653 8654 case $cc_basename in 8655 xlf* | bgf* | bgxlf* | mpixlf*) 8656 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8657 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8658 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8659 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 8660 if test "x$supports_anon_versioning" = xyes; then 8661 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8662 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8663 echo "local: *; };" >> $output_objdir/$libname.ver~ 8664 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8665 fi 8666 ;; 8667 esac 8668 else 8669 ld_shlibs=no 8670 fi 8671 ;; 8672 8673 netbsd*) 8674 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8675 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8676 wlarc= 8677 else 8678 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8679 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8680 fi 8681 ;; 8682 8683 solaris*) 8684 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8685 ld_shlibs=no 8686 cat <<_LT_EOF 1>&2 8687 8688*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8689*** create shared libraries on Solaris systems. Therefore, libtool 8690*** is disabling shared libraries support. We urge you to upgrade GNU 8691*** binutils to release 2.9.1 or newer. Another option is to modify 8692*** your PATH or compiler configuration so that the native linker is 8693*** used, and then restart. 8694 8695_LT_EOF 8696 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8697 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8698 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8699 else 8700 ld_shlibs=no 8701 fi 8702 ;; 8703 8704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8705 case `$LD -v 2>&1` in 8706 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8707 ld_shlibs=no 8708 cat <<_LT_EOF 1>&2 8709 8710*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8711*** reliably create shared libraries on SCO systems. Therefore, libtool 8712*** is disabling shared libraries support. We urge you to upgrade GNU 8713*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8714*** your PATH or compiler configuration so that the native linker is 8715*** used, and then restart. 8716 8717_LT_EOF 8718 ;; 8719 *) 8720 # For security reasons, it is highly recommended that you always 8721 # use absolute paths for naming shared libraries, and exclude the 8722 # DT_RUNPATH tag from executables and libraries. But doing so 8723 # requires that you compile everything twice, which is a pain. 8724 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8725 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8726 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8727 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8728 else 8729 ld_shlibs=no 8730 fi 8731 ;; 8732 esac 8733 ;; 8734 8735 sunos4*) 8736 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8737 wlarc= 8738 hardcode_direct=yes 8739 hardcode_shlibpath_var=no 8740 ;; 8741 8742 *) 8743 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8744 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8745 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8746 else 8747 ld_shlibs=no 8748 fi 8749 ;; 8750 esac 8751 8752 if test "$ld_shlibs" = no; then 8753 runpath_var= 8754 hardcode_libdir_flag_spec= 8755 export_dynamic_flag_spec= 8756 whole_archive_flag_spec= 8757 fi 8758 else 8759 # PORTME fill in a description of your system's linker (not GNU ld) 8760 case $host_os in 8761 aix3*) 8762 allow_undefined_flag=unsupported 8763 always_export_symbols=yes 8764 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' 8765 # Note: this linker hardcodes the directories in LIBPATH if there 8766 # are no directories specified by -L. 8767 hardcode_minus_L=yes 8768 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8769 # Neither direct hardcoding nor static linking is supported with a 8770 # broken collect2. 8771 hardcode_direct=unsupported 8772 fi 8773 ;; 8774 8775 aix[4-9]*) 8776 if test "$host_cpu" = ia64; then 8777 # On IA64, the linker does run time linking by default, so we don't 8778 # have to do anything special. 8779 aix_use_runtimelinking=no 8780 exp_sym_flag='-Bexport' 8781 no_entry_flag="" 8782 else 8783 # If we're using GNU nm, then we don't want the "-C" option. 8784 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8785 # Also, AIX nm treats weak defined symbols like other global 8786 # defined symbols, whereas GNU nm marks them as "W". 8787 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8788 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 8789 else 8790 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 8791 fi 8792 aix_use_runtimelinking=no 8793 8794 # Test if we are trying to use run time linking or normal 8795 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8796 # need to do runtime linking. 8797 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8798 for ld_flag in $LDFLAGS; do 8799 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8800 aix_use_runtimelinking=yes 8801 break 8802 fi 8803 done 8804 ;; 8805 esac 8806 8807 exp_sym_flag='-bexport' 8808 no_entry_flag='-bnoentry' 8809 fi 8810 8811 # When large executables or shared objects are built, AIX ld can 8812 # have problems creating the table of contents. If linking a library 8813 # or program results in "error TOC overflow" add -mminimal-toc to 8814 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8815 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8816 8817 archive_cmds='' 8818 hardcode_direct=yes 8819 hardcode_direct_absolute=yes 8820 hardcode_libdir_separator=':' 8821 link_all_deplibs=yes 8822 file_list_spec='${wl}-f,' 8823 8824 if test "$GCC" = yes; then 8825 case $host_os in aix4.[012]|aix4.[012].*) 8826 # We only want to do this on AIX 4.2 and lower, the check 8827 # below for broken collect2 doesn't work under 4.3+ 8828 collect2name=`${CC} -print-prog-name=collect2` 8829 if test -f "$collect2name" && 8830 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8831 then 8832 # We have reworked collect2 8833 : 8834 else 8835 # We have old collect2 8836 hardcode_direct=unsupported 8837 # It fails to find uninstalled libraries when the uninstalled 8838 # path is not listed in the libpath. Setting hardcode_minus_L 8839 # to unsupported forces relinking 8840 hardcode_minus_L=yes 8841 hardcode_libdir_flag_spec='-L$libdir' 8842 hardcode_libdir_separator= 8843 fi 8844 ;; 8845 esac 8846 shared_flag='-shared' 8847 if test "$aix_use_runtimelinking" = yes; then 8848 shared_flag="$shared_flag "'${wl}-G' 8849 fi 8850 else 8851 # not using gcc 8852 if test "$host_cpu" = ia64; then 8853 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8854 # chokes on -Wl,-G. The following line is correct: 8855 shared_flag='-G' 8856 else 8857 if test "$aix_use_runtimelinking" = yes; then 8858 shared_flag='${wl}-G' 8859 else 8860 shared_flag='${wl}-bM:SRE' 8861 fi 8862 fi 8863 fi 8864 8865 export_dynamic_flag_spec='${wl}-bexpall' 8866 # It seems that -bexpall does not export symbols beginning with 8867 # underscore (_), so it is better to generate a list of symbols to export. 8868 always_export_symbols=yes 8869 if test "$aix_use_runtimelinking" = yes; then 8870 # Warning - without using the other runtime loading flags (-brtl), 8871 # -berok will link without error, but may produce a broken library. 8872 allow_undefined_flag='-berok' 8873 # Determine the default libpath from the value encoded in an 8874 # empty executable. 8875 if test "${lt_cv_aix_libpath+set}" = set; then 8876 aix_libpath=$lt_cv_aix_libpath 8877else 8878 if ${lt_cv_aix_libpath_+:} false; then : 8879 $as_echo_n "(cached) " >&6 8880else 8881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8882/* end confdefs.h. */ 8883 8884int 8885main () 8886{ 8887 8888 ; 8889 return 0; 8890} 8891_ACEOF 8892if ac_fn_c_try_link "$LINENO"; then : 8893 8894 lt_aix_libpath_sed=' 8895 /Import File Strings/,/^$/ { 8896 /^0/ { 8897 s/^0 *\([^ ]*\) *$/\1/ 8898 p 8899 } 8900 }' 8901 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8902 # Check for a 64-bit object if we didn't find anything. 8903 if test -z "$lt_cv_aix_libpath_"; then 8904 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8905 fi 8906fi 8907rm -f core conftest.err conftest.$ac_objext \ 8908 conftest$ac_exeext conftest.$ac_ext 8909 if test -z "$lt_cv_aix_libpath_"; then 8910 lt_cv_aix_libpath_="/usr/lib:/lib" 8911 fi 8912 8913fi 8914 8915 aix_libpath=$lt_cv_aix_libpath_ 8916fi 8917 8918 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8919 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 8920 else 8921 if test "$host_cpu" = ia64; then 8922 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8923 allow_undefined_flag="-z nodefs" 8924 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" 8925 else 8926 # Determine the default libpath from the value encoded in an 8927 # empty executable. 8928 if test "${lt_cv_aix_libpath+set}" = set; then 8929 aix_libpath=$lt_cv_aix_libpath 8930else 8931 if ${lt_cv_aix_libpath_+:} false; then : 8932 $as_echo_n "(cached) " >&6 8933else 8934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8935/* end confdefs.h. */ 8936 8937int 8938main () 8939{ 8940 8941 ; 8942 return 0; 8943} 8944_ACEOF 8945if ac_fn_c_try_link "$LINENO"; then : 8946 8947 lt_aix_libpath_sed=' 8948 /Import File Strings/,/^$/ { 8949 /^0/ { 8950 s/^0 *\([^ ]*\) *$/\1/ 8951 p 8952 } 8953 }' 8954 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8955 # Check for a 64-bit object if we didn't find anything. 8956 if test -z "$lt_cv_aix_libpath_"; then 8957 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8958 fi 8959fi 8960rm -f core conftest.err conftest.$ac_objext \ 8961 conftest$ac_exeext conftest.$ac_ext 8962 if test -z "$lt_cv_aix_libpath_"; then 8963 lt_cv_aix_libpath_="/usr/lib:/lib" 8964 fi 8965 8966fi 8967 8968 aix_libpath=$lt_cv_aix_libpath_ 8969fi 8970 8971 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8972 # Warning - without using the other run time loading flags, 8973 # -berok will link without error, but may produce a broken library. 8974 no_undefined_flag=' ${wl}-bernotok' 8975 allow_undefined_flag=' ${wl}-berok' 8976 if test "$with_gnu_ld" = yes; then 8977 # We only use this code for GNU lds that support --whole-archive. 8978 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 8979 else 8980 # Exported symbols can be pulled into shared objects from archives 8981 whole_archive_flag_spec='$convenience' 8982 fi 8983 archive_cmds_need_lc=yes 8984 # This is similar to how AIX traditionally builds its shared libraries. 8985 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 8986 fi 8987 fi 8988 ;; 8989 8990 amigaos*) 8991 case $host_cpu in 8992 powerpc) 8993 # see comment about AmigaOS4 .so support 8994 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8995 archive_expsym_cmds='' 8996 ;; 8997 m68k) 8998 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)' 8999 hardcode_libdir_flag_spec='-L$libdir' 9000 hardcode_minus_L=yes 9001 ;; 9002 esac 9003 ;; 9004 9005 bsdi[45]*) 9006 export_dynamic_flag_spec=-rdynamic 9007 ;; 9008 9009 cygwin* | mingw* | pw32* | cegcc*) 9010 # When not using gcc, we currently assume that we are using 9011 # Microsoft Visual C++. 9012 # hardcode_libdir_flag_spec is actually meaningless, as there is 9013 # no search path for DLLs. 9014 case $cc_basename in 9015 cl*) 9016 # Native MSVC 9017 hardcode_libdir_flag_spec=' ' 9018 allow_undefined_flag=unsupported 9019 always_export_symbols=yes 9020 file_list_spec='@' 9021 # Tell ltmain to make .lib files, not .a files. 9022 libext=lib 9023 # Tell ltmain to make .dll files, not .so files. 9024 shrext_cmds=".dll" 9025 # FIXME: Setting linknames here is a bad hack. 9026 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9027 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9028 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9029 else 9030 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9031 fi~ 9032 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9033 linknames=' 9034 # The linker will not automatically build a static lib if we build a DLL. 9035 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9036 enable_shared_with_static_runtimes=yes 9037 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9038 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9039 # Don't use ranlib 9040 old_postinstall_cmds='chmod 644 $oldlib' 9041 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9042 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9043 case $lt_outputfile in 9044 *.exe|*.EXE) ;; 9045 *) 9046 lt_outputfile="$lt_outputfile.exe" 9047 lt_tool_outputfile="$lt_tool_outputfile.exe" 9048 ;; 9049 esac~ 9050 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9051 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9052 $RM "$lt_outputfile.manifest"; 9053 fi' 9054 ;; 9055 *) 9056 # Assume MSVC wrapper 9057 hardcode_libdir_flag_spec=' ' 9058 allow_undefined_flag=unsupported 9059 # Tell ltmain to make .lib files, not .a files. 9060 libext=lib 9061 # Tell ltmain to make .dll files, not .so files. 9062 shrext_cmds=".dll" 9063 # FIXME: Setting linknames here is a bad hack. 9064 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9065 # The linker will automatically build a .lib file if we build a DLL. 9066 old_archive_from_new_cmds='true' 9067 # FIXME: Should let the user specify the lib program. 9068 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9069 enable_shared_with_static_runtimes=yes 9070 ;; 9071 esac 9072 ;; 9073 9074 darwin* | rhapsody*) 9075 9076 9077 archive_cmds_need_lc=no 9078 hardcode_direct=no 9079 hardcode_automatic=yes 9080 hardcode_shlibpath_var=unsupported 9081 if test "$lt_cv_ld_force_load" = "yes"; then 9082 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\"`' 9083 9084 else 9085 whole_archive_flag_spec='' 9086 fi 9087 link_all_deplibs=yes 9088 allow_undefined_flag="$_lt_dar_allow_undefined" 9089 case $cc_basename in 9090 ifort*) _lt_dar_can_shared=yes ;; 9091 *) _lt_dar_can_shared=$GCC ;; 9092 esac 9093 if test "$_lt_dar_can_shared" = "yes"; then 9094 output_verbose_link_cmd=func_echo_all 9095 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9096 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9097 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}" 9098 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}" 9099 9100 else 9101 ld_shlibs=no 9102 fi 9103 9104 ;; 9105 9106 dgux*) 9107 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9108 hardcode_libdir_flag_spec='-L$libdir' 9109 hardcode_shlibpath_var=no 9110 ;; 9111 9112 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9113 # support. Future versions do this automatically, but an explicit c++rt0.o 9114 # does not break anything, and helps significantly (at the cost of a little 9115 # extra space). 9116 freebsd2.2*) 9117 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9118 hardcode_libdir_flag_spec='-R$libdir' 9119 hardcode_direct=yes 9120 hardcode_shlibpath_var=no 9121 ;; 9122 9123 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9124 freebsd2.*) 9125 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9126 hardcode_direct=yes 9127 hardcode_minus_L=yes 9128 hardcode_shlibpath_var=no 9129 ;; 9130 9131 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9132 freebsd* | dragonfly*) 9133 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9134 hardcode_libdir_flag_spec='-R$libdir' 9135 hardcode_direct=yes 9136 hardcode_shlibpath_var=no 9137 ;; 9138 9139 hpux9*) 9140 if test "$GCC" = yes; then 9141 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9142 else 9143 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9144 fi 9145 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9146 hardcode_libdir_separator=: 9147 hardcode_direct=yes 9148 9149 # hardcode_minus_L: Not really in the search PATH, 9150 # but as the default location of the library. 9151 hardcode_minus_L=yes 9152 export_dynamic_flag_spec='${wl}-E' 9153 ;; 9154 9155 hpux10*) 9156 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9157 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9158 else 9159 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9160 fi 9161 if test "$with_gnu_ld" = no; then 9162 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9163 hardcode_libdir_separator=: 9164 hardcode_direct=yes 9165 hardcode_direct_absolute=yes 9166 export_dynamic_flag_spec='${wl}-E' 9167 # hardcode_minus_L: Not really in the search PATH, 9168 # but as the default location of the library. 9169 hardcode_minus_L=yes 9170 fi 9171 ;; 9172 9173 hpux11*) 9174 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9175 case $host_cpu in 9176 hppa*64*) 9177 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9178 ;; 9179 ia64*) 9180 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9181 ;; 9182 *) 9183 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9184 ;; 9185 esac 9186 else 9187 case $host_cpu in 9188 hppa*64*) 9189 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9190 ;; 9191 ia64*) 9192 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9193 ;; 9194 *) 9195 9196 # Older versions of the 11.00 compiler do not understand -b yet 9197 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9199$as_echo_n "checking if $CC understands -b... " >&6; } 9200if ${lt_cv_prog_compiler__b+:} false; then : 9201 $as_echo_n "(cached) " >&6 9202else 9203 lt_cv_prog_compiler__b=no 9204 save_LDFLAGS="$LDFLAGS" 9205 LDFLAGS="$LDFLAGS -b" 9206 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9207 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9208 # The linker can only warn and ignore the option if not recognized 9209 # So say no if there are warnings 9210 if test -s conftest.err; then 9211 # Append any errors to the config.log. 9212 cat conftest.err 1>&5 9213 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9214 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9215 if diff conftest.exp conftest.er2 >/dev/null; then 9216 lt_cv_prog_compiler__b=yes 9217 fi 9218 else 9219 lt_cv_prog_compiler__b=yes 9220 fi 9221 fi 9222 $RM -r conftest* 9223 LDFLAGS="$save_LDFLAGS" 9224 9225fi 9226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9227$as_echo "$lt_cv_prog_compiler__b" >&6; } 9228 9229if test x"$lt_cv_prog_compiler__b" = xyes; then 9230 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9231else 9232 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9233fi 9234 9235 ;; 9236 esac 9237 fi 9238 if test "$with_gnu_ld" = no; then 9239 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9240 hardcode_libdir_separator=: 9241 9242 case $host_cpu in 9243 hppa*64*|ia64*) 9244 hardcode_direct=no 9245 hardcode_shlibpath_var=no 9246 ;; 9247 *) 9248 hardcode_direct=yes 9249 hardcode_direct_absolute=yes 9250 export_dynamic_flag_spec='${wl}-E' 9251 9252 # hardcode_minus_L: Not really in the search PATH, 9253 # but as the default location of the library. 9254 hardcode_minus_L=yes 9255 ;; 9256 esac 9257 fi 9258 ;; 9259 9260 irix5* | irix6* | nonstopux*) 9261 if test "$GCC" = yes; then 9262 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' 9263 # Try to use the -exported_symbol ld option, if it does not 9264 # work, assume that -exports_file does not work either and 9265 # implicitly export all symbols. 9266 # This should be the same for all languages, so no per-tag cache variable. 9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9268$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9269if ${lt_cv_irix_exported_symbol+:} false; then : 9270 $as_echo_n "(cached) " >&6 9271else 9272 save_LDFLAGS="$LDFLAGS" 9273 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9275/* end confdefs.h. */ 9276int foo (void) { return 0; } 9277_ACEOF 9278if ac_fn_c_try_link "$LINENO"; then : 9279 lt_cv_irix_exported_symbol=yes 9280else 9281 lt_cv_irix_exported_symbol=no 9282fi 9283rm -f core conftest.err conftest.$ac_objext \ 9284 conftest$ac_exeext conftest.$ac_ext 9285 LDFLAGS="$save_LDFLAGS" 9286fi 9287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9288$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9289 if test "$lt_cv_irix_exported_symbol" = yes; then 9290 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' 9291 fi 9292 else 9293 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' 9294 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' 9295 fi 9296 archive_cmds_need_lc='no' 9297 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9298 hardcode_libdir_separator=: 9299 inherit_rpath=yes 9300 link_all_deplibs=yes 9301 ;; 9302 9303 netbsd*) 9304 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9305 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9306 else 9307 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9308 fi 9309 hardcode_libdir_flag_spec='-R$libdir' 9310 hardcode_direct=yes 9311 hardcode_shlibpath_var=no 9312 ;; 9313 9314 newsos6) 9315 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9316 hardcode_direct=yes 9317 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9318 hardcode_libdir_separator=: 9319 hardcode_shlibpath_var=no 9320 ;; 9321 9322 *nto* | *qnx*) 9323 ;; 9324 9325 openbsd*) 9326 if test -f /usr/libexec/ld.so; then 9327 hardcode_direct=yes 9328 hardcode_shlibpath_var=no 9329 hardcode_direct_absolute=yes 9330 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9331 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9332 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9333 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9334 export_dynamic_flag_spec='${wl}-E' 9335 else 9336 case $host_os in 9337 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9338 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9339 hardcode_libdir_flag_spec='-R$libdir' 9340 ;; 9341 *) 9342 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9343 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9344 ;; 9345 esac 9346 fi 9347 else 9348 ld_shlibs=no 9349 fi 9350 ;; 9351 9352 os2*) 9353 hardcode_libdir_flag_spec='-L$libdir' 9354 hardcode_minus_L=yes 9355 allow_undefined_flag=unsupported 9356 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 9357 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9358 ;; 9359 9360 osf3*) 9361 if test "$GCC" = yes; then 9362 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9363 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' 9364 else 9365 allow_undefined_flag=' -expect_unresolved \*' 9366 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' 9367 fi 9368 archive_cmds_need_lc='no' 9369 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9370 hardcode_libdir_separator=: 9371 ;; 9372 9373 osf4* | osf5*) # as osf3* with the addition of -msym flag 9374 if test "$GCC" = yes; then 9375 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9376 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' 9377 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9378 else 9379 allow_undefined_flag=' -expect_unresolved \*' 9380 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' 9381 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~ 9382 $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' 9383 9384 # Both c and cxx compiler support -rpath directly 9385 hardcode_libdir_flag_spec='-rpath $libdir' 9386 fi 9387 archive_cmds_need_lc='no' 9388 hardcode_libdir_separator=: 9389 ;; 9390 9391 solaris*) 9392 no_undefined_flag=' -z defs' 9393 if test "$GCC" = yes; then 9394 wlarc='${wl}' 9395 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9396 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9397 $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' 9398 else 9399 case `$CC -V 2>&1` in 9400 *"Compilers 5.0"*) 9401 wlarc='' 9402 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9403 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9404 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9405 ;; 9406 *) 9407 wlarc='${wl}' 9408 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9409 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9410 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9411 ;; 9412 esac 9413 fi 9414 hardcode_libdir_flag_spec='-R$libdir' 9415 hardcode_shlibpath_var=no 9416 case $host_os in 9417 solaris2.[0-5] | solaris2.[0-5].*) ;; 9418 *) 9419 # The compiler driver will combine and reorder linker options, 9420 # but understands `-z linker_flag'. GCC discards it without `$wl', 9421 # but is careful enough not to reorder. 9422 # Supported since Solaris 2.6 (maybe 2.5.1?) 9423 if test "$GCC" = yes; then 9424 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9425 else 9426 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9427 fi 9428 ;; 9429 esac 9430 link_all_deplibs=yes 9431 ;; 9432 9433 sunos4*) 9434 if test "x$host_vendor" = xsequent; then 9435 # Use $CC to link under sequent, because it throws in some extra .o 9436 # files that make .init and .fini sections work. 9437 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9438 else 9439 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9440 fi 9441 hardcode_libdir_flag_spec='-L$libdir' 9442 hardcode_direct=yes 9443 hardcode_minus_L=yes 9444 hardcode_shlibpath_var=no 9445 ;; 9446 9447 sysv4) 9448 case $host_vendor in 9449 sni) 9450 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9451 hardcode_direct=yes # is this really true??? 9452 ;; 9453 siemens) 9454 ## LD is ld it makes a PLAMLIB 9455 ## CC just makes a GrossModule. 9456 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9457 reload_cmds='$CC -r -o $output$reload_objs' 9458 hardcode_direct=no 9459 ;; 9460 motorola) 9461 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9462 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9463 ;; 9464 esac 9465 runpath_var='LD_RUN_PATH' 9466 hardcode_shlibpath_var=no 9467 ;; 9468 9469 sysv4.3*) 9470 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9471 hardcode_shlibpath_var=no 9472 export_dynamic_flag_spec='-Bexport' 9473 ;; 9474 9475 sysv4*MP*) 9476 if test -d /usr/nec; then 9477 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9478 hardcode_shlibpath_var=no 9479 runpath_var=LD_RUN_PATH 9480 hardcode_runpath_var=yes 9481 ld_shlibs=yes 9482 fi 9483 ;; 9484 9485 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9486 no_undefined_flag='${wl}-z,text' 9487 archive_cmds_need_lc=no 9488 hardcode_shlibpath_var=no 9489 runpath_var='LD_RUN_PATH' 9490 9491 if test "$GCC" = yes; then 9492 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9493 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9494 else 9495 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9496 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9497 fi 9498 ;; 9499 9500 sysv5* | sco3.2v5* | sco5v6*) 9501 # Note: We can NOT use -z defs as we might desire, because we do not 9502 # link with -lc, and that would cause any symbols used from libc to 9503 # always be unresolved, which means just about no library would 9504 # ever link correctly. If we're not using GNU ld we use -z text 9505 # though, which does catch some bad symbols but isn't as heavy-handed 9506 # as -z defs. 9507 no_undefined_flag='${wl}-z,text' 9508 allow_undefined_flag='${wl}-z,nodefs' 9509 archive_cmds_need_lc=no 9510 hardcode_shlibpath_var=no 9511 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9512 hardcode_libdir_separator=':' 9513 link_all_deplibs=yes 9514 export_dynamic_flag_spec='${wl}-Bexport' 9515 runpath_var='LD_RUN_PATH' 9516 9517 if test "$GCC" = yes; then 9518 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9519 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9520 else 9521 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9522 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9523 fi 9524 ;; 9525 9526 uts4*) 9527 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9528 hardcode_libdir_flag_spec='-L$libdir' 9529 hardcode_shlibpath_var=no 9530 ;; 9531 9532 *) 9533 ld_shlibs=no 9534 ;; 9535 esac 9536 9537 if test x$host_vendor = xsni; then 9538 case $host in 9539 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9540 export_dynamic_flag_spec='${wl}-Blargedynsym' 9541 ;; 9542 esac 9543 fi 9544 fi 9545 9546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9547$as_echo "$ld_shlibs" >&6; } 9548test "$ld_shlibs" = no && can_build_shared=no 9549 9550with_gnu_ld=$with_gnu_ld 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566# 9567# Do we need to explicitly link libc? 9568# 9569case "x$archive_cmds_need_lc" in 9570x|xyes) 9571 # Assume -lc should be added 9572 archive_cmds_need_lc=yes 9573 9574 if test "$enable_shared" = yes && test "$GCC" = yes; then 9575 case $archive_cmds in 9576 *'~'*) 9577 # FIXME: we may have to deal with multi-command sequences. 9578 ;; 9579 '$CC '*) 9580 # Test whether the compiler implicitly links with -lc since on some 9581 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9582 # to ld, don't add -lc before -lgcc. 9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9584$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9585if ${lt_cv_archive_cmds_need_lc+:} false; then : 9586 $as_echo_n "(cached) " >&6 9587else 9588 $RM conftest* 9589 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9590 9591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9592 (eval $ac_compile) 2>&5 9593 ac_status=$? 9594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9595 test $ac_status = 0; } 2>conftest.err; then 9596 soname=conftest 9597 lib=conftest 9598 libobjs=conftest.$ac_objext 9599 deplibs= 9600 wl=$lt_prog_compiler_wl 9601 pic_flag=$lt_prog_compiler_pic 9602 compiler_flags=-v 9603 linker_flags=-v 9604 verstring= 9605 output_objdir=. 9606 libname=conftest 9607 lt_save_allow_undefined_flag=$allow_undefined_flag 9608 allow_undefined_flag= 9609 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9610 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9611 ac_status=$? 9612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9613 test $ac_status = 0; } 9614 then 9615 lt_cv_archive_cmds_need_lc=no 9616 else 9617 lt_cv_archive_cmds_need_lc=yes 9618 fi 9619 allow_undefined_flag=$lt_save_allow_undefined_flag 9620 else 9621 cat conftest.err 1>&5 9622 fi 9623 $RM conftest* 9624 9625fi 9626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9627$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9628 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9629 ;; 9630 esac 9631 fi 9632 ;; 9633esac 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9787$as_echo_n "checking dynamic linker characteristics... " >&6; } 9788 9789if test "$GCC" = yes; then 9790 case $host_os in 9791 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9792 *) lt_awk_arg="/^libraries:/" ;; 9793 esac 9794 case $host_os in 9795 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 9796 *) lt_sed_strip_eq="s,=/,/,g" ;; 9797 esac 9798 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 9799 case $lt_search_path_spec in 9800 *\;*) 9801 # if the path contains ";" then we assume it to be the separator 9802 # otherwise default to the standard path separator (i.e. ":") - it is 9803 # assumed that no part of a normal pathname contains ";" but that should 9804 # okay in the real world where ";" in dirpaths is itself problematic. 9805 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 9806 ;; 9807 *) 9808 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 9809 ;; 9810 esac 9811 # Ok, now we have the path, separated by spaces, we can step through it 9812 # and add multilib dir if necessary. 9813 lt_tmp_lt_search_path_spec= 9814 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9815 for lt_sys_path in $lt_search_path_spec; do 9816 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9817 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9818 else 9819 test -d "$lt_sys_path" && \ 9820 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9821 fi 9822 done 9823 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 9824BEGIN {RS=" "; FS="/|\n";} { 9825 lt_foo=""; 9826 lt_count=0; 9827 for (lt_i = NF; lt_i > 0; lt_i--) { 9828 if ($lt_i != "" && $lt_i != ".") { 9829 if ($lt_i == "..") { 9830 lt_count++; 9831 } else { 9832 if (lt_count == 0) { 9833 lt_foo="/" $lt_i lt_foo; 9834 } else { 9835 lt_count--; 9836 } 9837 } 9838 } 9839 } 9840 if (lt_foo != "") { lt_freq[lt_foo]++; } 9841 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9842}'` 9843 # AWK program above erroneously prepends '/' to C:/dos/paths 9844 # for these hosts. 9845 case $host_os in 9846 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 9847 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 9848 esac 9849 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 9850else 9851 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9852fi 9853library_names_spec= 9854libname_spec='lib$name' 9855soname_spec= 9856shrext_cmds=".so" 9857postinstall_cmds= 9858postuninstall_cmds= 9859finish_cmds= 9860finish_eval= 9861shlibpath_var= 9862shlibpath_overrides_runpath=unknown 9863version_type=none 9864dynamic_linker="$host_os ld.so" 9865sys_lib_dlsearch_path_spec="/lib /usr/lib" 9866need_lib_prefix=unknown 9867hardcode_into_libs=no 9868 9869# when you set need_version to no, make sure it does not cause -set_version 9870# flags to be left without arguments 9871need_version=unknown 9872 9873case $host_os in 9874aix3*) 9875 version_type=linux # correct to gnu/linux during the next big refactor 9876 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9877 shlibpath_var=LIBPATH 9878 9879 # AIX 3 has no versioning support, so we append a major version to the name. 9880 soname_spec='${libname}${release}${shared_ext}$major' 9881 ;; 9882 9883aix[4-9]*) 9884 version_type=linux # correct to gnu/linux during the next big refactor 9885 need_lib_prefix=no 9886 need_version=no 9887 hardcode_into_libs=yes 9888 if test "$host_cpu" = ia64; then 9889 # AIX 5 supports IA64 9890 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9891 shlibpath_var=LD_LIBRARY_PATH 9892 else 9893 # With GCC up to 2.95.x, collect2 would create an import file 9894 # for dependence libraries. The import file would start with 9895 # the line `#! .'. This would cause the generated library to 9896 # depend on `.', always an invalid library. This was fixed in 9897 # development snapshots of GCC prior to 3.0. 9898 case $host_os in 9899 aix4 | aix4.[01] | aix4.[01].*) 9900 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9901 echo ' yes ' 9902 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9903 : 9904 else 9905 can_build_shared=no 9906 fi 9907 ;; 9908 esac 9909 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9910 # soname into executable. Probably we can add versioning support to 9911 # collect2, so additional links can be useful in future. 9912 if test "$aix_use_runtimelinking" = yes; then 9913 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9914 # instead of lib<name>.a to let people know that these are not 9915 # typical AIX shared libraries. 9916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9917 else 9918 # We preserve .a as extension for shared libraries through AIX4.2 9919 # and later when we are not doing run time linking. 9920 library_names_spec='${libname}${release}.a $libname.a' 9921 soname_spec='${libname}${release}${shared_ext}$major' 9922 fi 9923 shlibpath_var=LIBPATH 9924 fi 9925 ;; 9926 9927amigaos*) 9928 case $host_cpu in 9929 powerpc) 9930 # Since July 2007 AmigaOS4 officially supports .so libraries. 9931 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9933 ;; 9934 m68k) 9935 library_names_spec='$libname.ixlibrary $libname.a' 9936 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9937 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 9938 ;; 9939 esac 9940 ;; 9941 9942beos*) 9943 library_names_spec='${libname}${shared_ext}' 9944 dynamic_linker="$host_os ld.so" 9945 shlibpath_var=LIBRARY_PATH 9946 ;; 9947 9948bsdi[45]*) 9949 version_type=linux # correct to gnu/linux during the next big refactor 9950 need_version=no 9951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9952 soname_spec='${libname}${release}${shared_ext}$major' 9953 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9954 shlibpath_var=LD_LIBRARY_PATH 9955 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9956 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9957 # the default ld.so.conf also contains /usr/contrib/lib and 9958 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9959 # libtool to hard-code these into programs 9960 ;; 9961 9962cygwin* | mingw* | pw32* | cegcc*) 9963 version_type=windows 9964 shrext_cmds=".dll" 9965 need_version=no 9966 need_lib_prefix=no 9967 9968 case $GCC,$cc_basename in 9969 yes,*) 9970 # gcc 9971 library_names_spec='$libname.dll.a' 9972 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9973 postinstall_cmds='base_file=`basename \${file}`~ 9974 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9975 dldir=$destdir/`dirname \$dlpath`~ 9976 test -d \$dldir || mkdir -p \$dldir~ 9977 $install_prog $dir/$dlname \$dldir/$dlname~ 9978 chmod a+x \$dldir/$dlname~ 9979 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9980 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9981 fi' 9982 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9983 dlpath=$dir/\$dldll~ 9984 $RM \$dlpath' 9985 shlibpath_overrides_runpath=yes 9986 9987 case $host_os in 9988 cygwin*) 9989 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9990 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9991 9992 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 9993 ;; 9994 mingw* | cegcc*) 9995 # MinGW DLLs use traditional 'lib' prefix 9996 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9997 ;; 9998 pw32*) 9999 # pw32 DLLs use 'pw' prefix rather than 'lib' 10000 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10001 ;; 10002 esac 10003 dynamic_linker='Win32 ld.exe' 10004 ;; 10005 10006 *,cl*) 10007 # Native MSVC 10008 libname_spec='$name' 10009 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10010 library_names_spec='${libname}.dll.lib' 10011 10012 case $build_os in 10013 mingw*) 10014 sys_lib_search_path_spec= 10015 lt_save_ifs=$IFS 10016 IFS=';' 10017 for lt_path in $LIB 10018 do 10019 IFS=$lt_save_ifs 10020 # Let DOS variable expansion print the short 8.3 style file name. 10021 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10022 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10023 done 10024 IFS=$lt_save_ifs 10025 # Convert to MSYS style. 10026 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10027 ;; 10028 cygwin*) 10029 # Convert to unix form, then to dos form, then back to unix form 10030 # but this time dos style (no spaces!) so that the unix form looks 10031 # like /cygdrive/c/PROGRA~1:/cygdr... 10032 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10033 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10034 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10035 ;; 10036 *) 10037 sys_lib_search_path_spec="$LIB" 10038 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10039 # It is most probably a Windows format PATH. 10040 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10041 else 10042 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10043 fi 10044 # FIXME: find the short name or the path components, as spaces are 10045 # common. (e.g. "Program Files" -> "PROGRA~1") 10046 ;; 10047 esac 10048 10049 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10050 postinstall_cmds='base_file=`basename \${file}`~ 10051 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10052 dldir=$destdir/`dirname \$dlpath`~ 10053 test -d \$dldir || mkdir -p \$dldir~ 10054 $install_prog $dir/$dlname \$dldir/$dlname' 10055 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10056 dlpath=$dir/\$dldll~ 10057 $RM \$dlpath' 10058 shlibpath_overrides_runpath=yes 10059 dynamic_linker='Win32 link.exe' 10060 ;; 10061 10062 *) 10063 # Assume MSVC wrapper 10064 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10065 dynamic_linker='Win32 ld.exe' 10066 ;; 10067 esac 10068 # FIXME: first we should search . and the directory the executable is in 10069 shlibpath_var=PATH 10070 ;; 10071 10072darwin* | rhapsody*) 10073 dynamic_linker="$host_os dyld" 10074 version_type=darwin 10075 need_lib_prefix=no 10076 need_version=no 10077 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10078 soname_spec='${libname}${release}${major}$shared_ext' 10079 shlibpath_overrides_runpath=yes 10080 shlibpath_var=DYLD_LIBRARY_PATH 10081 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10082 10083 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10084 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10085 ;; 10086 10087dgux*) 10088 version_type=linux # correct to gnu/linux during the next big refactor 10089 need_lib_prefix=no 10090 need_version=no 10091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10092 soname_spec='${libname}${release}${shared_ext}$major' 10093 shlibpath_var=LD_LIBRARY_PATH 10094 ;; 10095 10096freebsd* | dragonfly*) 10097 # DragonFly does not have aout. When/if they implement a new 10098 # versioning mechanism, adjust this. 10099 if test -x /usr/bin/objformat; then 10100 objformat=`/usr/bin/objformat` 10101 else 10102 case $host_os in 10103 freebsd[23].*) objformat=aout ;; 10104 *) objformat=elf ;; 10105 esac 10106 fi 10107 version_type=freebsd-$objformat 10108 case $version_type in 10109 freebsd-elf*) 10110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10111 need_version=no 10112 need_lib_prefix=no 10113 ;; 10114 freebsd-*) 10115 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10116 need_version=yes 10117 ;; 10118 esac 10119 shlibpath_var=LD_LIBRARY_PATH 10120 case $host_os in 10121 freebsd2.*) 10122 shlibpath_overrides_runpath=yes 10123 ;; 10124 freebsd3.[01]* | freebsdelf3.[01]*) 10125 shlibpath_overrides_runpath=yes 10126 hardcode_into_libs=yes 10127 ;; 10128 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10129 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10130 shlibpath_overrides_runpath=no 10131 hardcode_into_libs=yes 10132 ;; 10133 *) # from 4.6 on, and DragonFly 10134 shlibpath_overrides_runpath=yes 10135 hardcode_into_libs=yes 10136 ;; 10137 esac 10138 ;; 10139 10140gnu*) 10141 version_type=linux # correct to gnu/linux during the next big refactor 10142 need_lib_prefix=no 10143 need_version=no 10144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10145 soname_spec='${libname}${release}${shared_ext}$major' 10146 shlibpath_var=LD_LIBRARY_PATH 10147 shlibpath_overrides_runpath=no 10148 hardcode_into_libs=yes 10149 ;; 10150 10151haiku*) 10152 version_type=linux # correct to gnu/linux during the next big refactor 10153 need_lib_prefix=no 10154 need_version=no 10155 dynamic_linker="$host_os runtime_loader" 10156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10157 soname_spec='${libname}${release}${shared_ext}$major' 10158 shlibpath_var=LIBRARY_PATH 10159 shlibpath_overrides_runpath=yes 10160 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10161 hardcode_into_libs=yes 10162 ;; 10163 10164hpux9* | hpux10* | hpux11*) 10165 # Give a soname corresponding to the major version so that dld.sl refuses to 10166 # link against other versions. 10167 version_type=sunos 10168 need_lib_prefix=no 10169 need_version=no 10170 case $host_cpu in 10171 ia64*) 10172 shrext_cmds='.so' 10173 hardcode_into_libs=yes 10174 dynamic_linker="$host_os dld.so" 10175 shlibpath_var=LD_LIBRARY_PATH 10176 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10178 soname_spec='${libname}${release}${shared_ext}$major' 10179 if test "X$HPUX_IA64_MODE" = X32; then 10180 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10181 else 10182 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10183 fi 10184 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10185 ;; 10186 hppa*64*) 10187 shrext_cmds='.sl' 10188 hardcode_into_libs=yes 10189 dynamic_linker="$host_os dld.sl" 10190 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10191 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10193 soname_spec='${libname}${release}${shared_ext}$major' 10194 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10195 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10196 ;; 10197 *) 10198 shrext_cmds='.sl' 10199 dynamic_linker="$host_os dld.sl" 10200 shlibpath_var=SHLIB_PATH 10201 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10203 soname_spec='${libname}${release}${shared_ext}$major' 10204 ;; 10205 esac 10206 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10207 postinstall_cmds='chmod 555 $lib' 10208 # or fails outright, so override atomically: 10209 install_override_mode=555 10210 ;; 10211 10212interix[3-9]*) 10213 version_type=linux # correct to gnu/linux during the next big refactor 10214 need_lib_prefix=no 10215 need_version=no 10216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10217 soname_spec='${libname}${release}${shared_ext}$major' 10218 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10219 shlibpath_var=LD_LIBRARY_PATH 10220 shlibpath_overrides_runpath=no 10221 hardcode_into_libs=yes 10222 ;; 10223 10224irix5* | irix6* | nonstopux*) 10225 case $host_os in 10226 nonstopux*) version_type=nonstopux ;; 10227 *) 10228 if test "$lt_cv_prog_gnu_ld" = yes; then 10229 version_type=linux # correct to gnu/linux during the next big refactor 10230 else 10231 version_type=irix 10232 fi ;; 10233 esac 10234 need_lib_prefix=no 10235 need_version=no 10236 soname_spec='${libname}${release}${shared_ext}$major' 10237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10238 case $host_os in 10239 irix5* | nonstopux*) 10240 libsuff= shlibsuff= 10241 ;; 10242 *) 10243 case $LD in # libtool.m4 will add one of these switches to LD 10244 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10245 libsuff= shlibsuff= libmagic=32-bit;; 10246 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10247 libsuff=32 shlibsuff=N32 libmagic=N32;; 10248 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10249 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10250 *) libsuff= shlibsuff= libmagic=never-match;; 10251 esac 10252 ;; 10253 esac 10254 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10255 shlibpath_overrides_runpath=no 10256 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10257 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10258 hardcode_into_libs=yes 10259 ;; 10260 10261# No shared lib support for Linux oldld, aout, or coff. 10262linux*oldld* | linux*aout* | linux*coff*) 10263 dynamic_linker=no 10264 ;; 10265 10266# This must be glibc/ELF. 10267linux* | k*bsd*-gnu | kopensolaris*-gnu) 10268 version_type=linux # correct to gnu/linux during the next big refactor 10269 need_lib_prefix=no 10270 need_version=no 10271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10272 soname_spec='${libname}${release}${shared_ext}$major' 10273 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10274 shlibpath_var=LD_LIBRARY_PATH 10275 shlibpath_overrides_runpath=no 10276 10277 # Some binutils ld are patched to set DT_RUNPATH 10278 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10279 $as_echo_n "(cached) " >&6 10280else 10281 lt_cv_shlibpath_overrides_runpath=no 10282 save_LDFLAGS=$LDFLAGS 10283 save_libdir=$libdir 10284 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10285 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10287/* end confdefs.h. */ 10288 10289int 10290main () 10291{ 10292 10293 ; 10294 return 0; 10295} 10296_ACEOF 10297if ac_fn_c_try_link "$LINENO"; then : 10298 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10299 lt_cv_shlibpath_overrides_runpath=yes 10300fi 10301fi 10302rm -f core conftest.err conftest.$ac_objext \ 10303 conftest$ac_exeext conftest.$ac_ext 10304 LDFLAGS=$save_LDFLAGS 10305 libdir=$save_libdir 10306 10307fi 10308 10309 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10310 10311 # This implies no fast_install, which is unacceptable. 10312 # Some rework will be needed to allow for fast_install 10313 # before this can be enabled. 10314 hardcode_into_libs=yes 10315 10316 # Append ld.so.conf contents to the search path 10317 if test -f /etc/ld.so.conf; then 10318 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' ' '` 10319 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10320 fi 10321 10322 # We used to test for /lib/ld.so.1 and disable shared libraries on 10323 # powerpc, because MkLinux only supported shared libraries with the 10324 # GNU dynamic linker. Since this was broken with cross compilers, 10325 # most powerpc-linux boxes support dynamic linking these days and 10326 # people can always --disable-shared, the test was removed, and we 10327 # assume the GNU/Linux dynamic linker is in use. 10328 dynamic_linker='GNU/Linux ld.so' 10329 ;; 10330 10331netbsd*) 10332 version_type=sunos 10333 need_lib_prefix=no 10334 need_version=no 10335 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10337 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10338 dynamic_linker='NetBSD (a.out) ld.so' 10339 else 10340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10341 soname_spec='${libname}${release}${shared_ext}$major' 10342 dynamic_linker='NetBSD ld.elf_so' 10343 fi 10344 shlibpath_var=LD_LIBRARY_PATH 10345 shlibpath_overrides_runpath=yes 10346 hardcode_into_libs=yes 10347 ;; 10348 10349newsos6) 10350 version_type=linux # correct to gnu/linux during the next big refactor 10351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10352 shlibpath_var=LD_LIBRARY_PATH 10353 shlibpath_overrides_runpath=yes 10354 ;; 10355 10356*nto* | *qnx*) 10357 version_type=qnx 10358 need_lib_prefix=no 10359 need_version=no 10360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10361 soname_spec='${libname}${release}${shared_ext}$major' 10362 shlibpath_var=LD_LIBRARY_PATH 10363 shlibpath_overrides_runpath=no 10364 hardcode_into_libs=yes 10365 dynamic_linker='ldqnx.so' 10366 ;; 10367 10368openbsd*) 10369 version_type=sunos 10370 sys_lib_dlsearch_path_spec="/usr/lib" 10371 need_lib_prefix=no 10372 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10373 case $host_os in 10374 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10375 *) need_version=no ;; 10376 esac 10377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10378 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10379 shlibpath_var=LD_LIBRARY_PATH 10380 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10381 case $host_os in 10382 openbsd2.[89] | openbsd2.[89].*) 10383 shlibpath_overrides_runpath=no 10384 ;; 10385 *) 10386 shlibpath_overrides_runpath=yes 10387 ;; 10388 esac 10389 else 10390 shlibpath_overrides_runpath=yes 10391 fi 10392 ;; 10393 10394os2*) 10395 libname_spec='$name' 10396 shrext_cmds=".dll" 10397 need_lib_prefix=no 10398 library_names_spec='$libname${shared_ext} $libname.a' 10399 dynamic_linker='OS/2 ld.exe' 10400 shlibpath_var=LIBPATH 10401 ;; 10402 10403osf3* | osf4* | osf5*) 10404 version_type=osf 10405 need_lib_prefix=no 10406 need_version=no 10407 soname_spec='${libname}${release}${shared_ext}$major' 10408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10409 shlibpath_var=LD_LIBRARY_PATH 10410 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10411 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10412 ;; 10413 10414rdos*) 10415 dynamic_linker=no 10416 ;; 10417 10418solaris*) 10419 version_type=linux # correct to gnu/linux during the next big refactor 10420 need_lib_prefix=no 10421 need_version=no 10422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10423 soname_spec='${libname}${release}${shared_ext}$major' 10424 shlibpath_var=LD_LIBRARY_PATH 10425 shlibpath_overrides_runpath=yes 10426 hardcode_into_libs=yes 10427 # ldd complains unless libraries are executable 10428 postinstall_cmds='chmod +x $lib' 10429 ;; 10430 10431sunos4*) 10432 version_type=sunos 10433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10434 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10435 shlibpath_var=LD_LIBRARY_PATH 10436 shlibpath_overrides_runpath=yes 10437 if test "$with_gnu_ld" = yes; then 10438 need_lib_prefix=no 10439 fi 10440 need_version=yes 10441 ;; 10442 10443sysv4 | sysv4.3*) 10444 version_type=linux # correct to gnu/linux during the next big refactor 10445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10446 soname_spec='${libname}${release}${shared_ext}$major' 10447 shlibpath_var=LD_LIBRARY_PATH 10448 case $host_vendor in 10449 sni) 10450 shlibpath_overrides_runpath=no 10451 need_lib_prefix=no 10452 runpath_var=LD_RUN_PATH 10453 ;; 10454 siemens) 10455 need_lib_prefix=no 10456 ;; 10457 motorola) 10458 need_lib_prefix=no 10459 need_version=no 10460 shlibpath_overrides_runpath=no 10461 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10462 ;; 10463 esac 10464 ;; 10465 10466sysv4*MP*) 10467 if test -d /usr/nec ;then 10468 version_type=linux # correct to gnu/linux during the next big refactor 10469 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10470 soname_spec='$libname${shared_ext}.$major' 10471 shlibpath_var=LD_LIBRARY_PATH 10472 fi 10473 ;; 10474 10475sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10476 version_type=freebsd-elf 10477 need_lib_prefix=no 10478 need_version=no 10479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10480 soname_spec='${libname}${release}${shared_ext}$major' 10481 shlibpath_var=LD_LIBRARY_PATH 10482 shlibpath_overrides_runpath=yes 10483 hardcode_into_libs=yes 10484 if test "$with_gnu_ld" = yes; then 10485 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10486 else 10487 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10488 case $host_os in 10489 sco3.2v5*) 10490 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10491 ;; 10492 esac 10493 fi 10494 sys_lib_dlsearch_path_spec='/usr/lib' 10495 ;; 10496 10497tpf*) 10498 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10499 version_type=linux # correct to gnu/linux during the next big refactor 10500 need_lib_prefix=no 10501 need_version=no 10502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10503 shlibpath_var=LD_LIBRARY_PATH 10504 shlibpath_overrides_runpath=no 10505 hardcode_into_libs=yes 10506 ;; 10507 10508uts4*) 10509 version_type=linux # correct to gnu/linux during the next big refactor 10510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10511 soname_spec='${libname}${release}${shared_ext}$major' 10512 shlibpath_var=LD_LIBRARY_PATH 10513 ;; 10514 10515*) 10516 dynamic_linker=no 10517 ;; 10518esac 10519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10520$as_echo "$dynamic_linker" >&6; } 10521test "$dynamic_linker" = no && can_build_shared=no 10522 10523variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10524if test "$GCC" = yes; then 10525 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10526fi 10527 10528if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10529 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10530fi 10531if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10532 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10533fi 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10627$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10628hardcode_action= 10629if test -n "$hardcode_libdir_flag_spec" || 10630 test -n "$runpath_var" || 10631 test "X$hardcode_automatic" = "Xyes" ; then 10632 10633 # We can hardcode non-existent directories. 10634 if test "$hardcode_direct" != no && 10635 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10636 # have to relink, otherwise we might link with an installed library 10637 # when we should be linking with a yet-to-be-installed one 10638 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10639 test "$hardcode_minus_L" != no; then 10640 # Linking always hardcodes the temporary library directory. 10641 hardcode_action=relink 10642 else 10643 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10644 hardcode_action=immediate 10645 fi 10646else 10647 # We cannot hardcode anything, or else we can only hardcode existing 10648 # directories. 10649 hardcode_action=unsupported 10650fi 10651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10652$as_echo "$hardcode_action" >&6; } 10653 10654if test "$hardcode_action" = relink || 10655 test "$inherit_rpath" = yes; then 10656 # Fast installation is not supported 10657 enable_fast_install=no 10658elif test "$shlibpath_overrides_runpath" = yes || 10659 test "$enable_shared" = no; then 10660 # Fast installation is not necessary 10661 enable_fast_install=needless 10662fi 10663 10664 10665 10666 10667 10668 10669 if test "x$enable_dlopen" != xyes; then 10670 enable_dlopen=unknown 10671 enable_dlopen_self=unknown 10672 enable_dlopen_self_static=unknown 10673else 10674 lt_cv_dlopen=no 10675 lt_cv_dlopen_libs= 10676 10677 case $host_os in 10678 beos*) 10679 lt_cv_dlopen="load_add_on" 10680 lt_cv_dlopen_libs= 10681 lt_cv_dlopen_self=yes 10682 ;; 10683 10684 mingw* | pw32* | cegcc*) 10685 lt_cv_dlopen="LoadLibrary" 10686 lt_cv_dlopen_libs= 10687 ;; 10688 10689 cygwin*) 10690 lt_cv_dlopen="dlopen" 10691 lt_cv_dlopen_libs= 10692 ;; 10693 10694 darwin*) 10695 # if libdl is installed we need to link against it 10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10697$as_echo_n "checking for dlopen in -ldl... " >&6; } 10698if ${ac_cv_lib_dl_dlopen+:} false; then : 10699 $as_echo_n "(cached) " >&6 10700else 10701 ac_check_lib_save_LIBS=$LIBS 10702LIBS="-ldl $LIBS" 10703cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10704/* end confdefs.h. */ 10705 10706/* Override any GCC internal prototype to avoid an error. 10707 Use char because int might match the return type of a GCC 10708 builtin and then its argument prototype would still apply. */ 10709#ifdef __cplusplus 10710extern "C" 10711#endif 10712char dlopen (); 10713int 10714main () 10715{ 10716return dlopen (); 10717 ; 10718 return 0; 10719} 10720_ACEOF 10721if ac_fn_c_try_link "$LINENO"; then : 10722 ac_cv_lib_dl_dlopen=yes 10723else 10724 ac_cv_lib_dl_dlopen=no 10725fi 10726rm -f core conftest.err conftest.$ac_objext \ 10727 conftest$ac_exeext conftest.$ac_ext 10728LIBS=$ac_check_lib_save_LIBS 10729fi 10730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10731$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10732if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10733 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10734else 10735 10736 lt_cv_dlopen="dyld" 10737 lt_cv_dlopen_libs= 10738 lt_cv_dlopen_self=yes 10739 10740fi 10741 10742 ;; 10743 10744 *) 10745 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10746if test "x$ac_cv_func_shl_load" = xyes; then : 10747 lt_cv_dlopen="shl_load" 10748else 10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10750$as_echo_n "checking for shl_load in -ldld... " >&6; } 10751if ${ac_cv_lib_dld_shl_load+:} false; then : 10752 $as_echo_n "(cached) " >&6 10753else 10754 ac_check_lib_save_LIBS=$LIBS 10755LIBS="-ldld $LIBS" 10756cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10757/* end confdefs.h. */ 10758 10759/* Override any GCC internal prototype to avoid an error. 10760 Use char because int might match the return type of a GCC 10761 builtin and then its argument prototype would still apply. */ 10762#ifdef __cplusplus 10763extern "C" 10764#endif 10765char shl_load (); 10766int 10767main () 10768{ 10769return shl_load (); 10770 ; 10771 return 0; 10772} 10773_ACEOF 10774if ac_fn_c_try_link "$LINENO"; then : 10775 ac_cv_lib_dld_shl_load=yes 10776else 10777 ac_cv_lib_dld_shl_load=no 10778fi 10779rm -f core conftest.err conftest.$ac_objext \ 10780 conftest$ac_exeext conftest.$ac_ext 10781LIBS=$ac_check_lib_save_LIBS 10782fi 10783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10784$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10785if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 10786 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10787else 10788 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10789if test "x$ac_cv_func_dlopen" = xyes; then : 10790 lt_cv_dlopen="dlopen" 10791else 10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10793$as_echo_n "checking for dlopen in -ldl... " >&6; } 10794if ${ac_cv_lib_dl_dlopen+:} false; then : 10795 $as_echo_n "(cached) " >&6 10796else 10797 ac_check_lib_save_LIBS=$LIBS 10798LIBS="-ldl $LIBS" 10799cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10800/* end confdefs.h. */ 10801 10802/* Override any GCC internal prototype to avoid an error. 10803 Use char because int might match the return type of a GCC 10804 builtin and then its argument prototype would still apply. */ 10805#ifdef __cplusplus 10806extern "C" 10807#endif 10808char dlopen (); 10809int 10810main () 10811{ 10812return dlopen (); 10813 ; 10814 return 0; 10815} 10816_ACEOF 10817if ac_fn_c_try_link "$LINENO"; then : 10818 ac_cv_lib_dl_dlopen=yes 10819else 10820 ac_cv_lib_dl_dlopen=no 10821fi 10822rm -f core conftest.err conftest.$ac_objext \ 10823 conftest$ac_exeext conftest.$ac_ext 10824LIBS=$ac_check_lib_save_LIBS 10825fi 10826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10827$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10828if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10829 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10830else 10831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10832$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10833if ${ac_cv_lib_svld_dlopen+:} false; then : 10834 $as_echo_n "(cached) " >&6 10835else 10836 ac_check_lib_save_LIBS=$LIBS 10837LIBS="-lsvld $LIBS" 10838cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10839/* end confdefs.h. */ 10840 10841/* Override any GCC internal prototype to avoid an error. 10842 Use char because int might match the return type of a GCC 10843 builtin and then its argument prototype would still apply. */ 10844#ifdef __cplusplus 10845extern "C" 10846#endif 10847char dlopen (); 10848int 10849main () 10850{ 10851return dlopen (); 10852 ; 10853 return 0; 10854} 10855_ACEOF 10856if ac_fn_c_try_link "$LINENO"; then : 10857 ac_cv_lib_svld_dlopen=yes 10858else 10859 ac_cv_lib_svld_dlopen=no 10860fi 10861rm -f core conftest.err conftest.$ac_objext \ 10862 conftest$ac_exeext conftest.$ac_ext 10863LIBS=$ac_check_lib_save_LIBS 10864fi 10865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10866$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10867if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 10868 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10869else 10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10871$as_echo_n "checking for dld_link in -ldld... " >&6; } 10872if ${ac_cv_lib_dld_dld_link+:} false; then : 10873 $as_echo_n "(cached) " >&6 10874else 10875 ac_check_lib_save_LIBS=$LIBS 10876LIBS="-ldld $LIBS" 10877cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10878/* end confdefs.h. */ 10879 10880/* Override any GCC internal prototype to avoid an error. 10881 Use char because int might match the return type of a GCC 10882 builtin and then its argument prototype would still apply. */ 10883#ifdef __cplusplus 10884extern "C" 10885#endif 10886char dld_link (); 10887int 10888main () 10889{ 10890return dld_link (); 10891 ; 10892 return 0; 10893} 10894_ACEOF 10895if ac_fn_c_try_link "$LINENO"; then : 10896 ac_cv_lib_dld_dld_link=yes 10897else 10898 ac_cv_lib_dld_dld_link=no 10899fi 10900rm -f core conftest.err conftest.$ac_objext \ 10901 conftest$ac_exeext conftest.$ac_ext 10902LIBS=$ac_check_lib_save_LIBS 10903fi 10904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10905$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10906if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 10907 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10908fi 10909 10910 10911fi 10912 10913 10914fi 10915 10916 10917fi 10918 10919 10920fi 10921 10922 10923fi 10924 10925 ;; 10926 esac 10927 10928 if test "x$lt_cv_dlopen" != xno; then 10929 enable_dlopen=yes 10930 else 10931 enable_dlopen=no 10932 fi 10933 10934 case $lt_cv_dlopen in 10935 dlopen) 10936 save_CPPFLAGS="$CPPFLAGS" 10937 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10938 10939 save_LDFLAGS="$LDFLAGS" 10940 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10941 10942 save_LIBS="$LIBS" 10943 LIBS="$lt_cv_dlopen_libs $LIBS" 10944 10945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10946$as_echo_n "checking whether a program can dlopen itself... " >&6; } 10947if ${lt_cv_dlopen_self+:} false; then : 10948 $as_echo_n "(cached) " >&6 10949else 10950 if test "$cross_compiling" = yes; then : 10951 lt_cv_dlopen_self=cross 10952else 10953 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10954 lt_status=$lt_dlunknown 10955 cat > conftest.$ac_ext <<_LT_EOF 10956#line $LINENO "configure" 10957#include "confdefs.h" 10958 10959#if HAVE_DLFCN_H 10960#include <dlfcn.h> 10961#endif 10962 10963#include <stdio.h> 10964 10965#ifdef RTLD_GLOBAL 10966# define LT_DLGLOBAL RTLD_GLOBAL 10967#else 10968# ifdef DL_GLOBAL 10969# define LT_DLGLOBAL DL_GLOBAL 10970# else 10971# define LT_DLGLOBAL 0 10972# endif 10973#endif 10974 10975/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10976 find out it does not work in some platform. */ 10977#ifndef LT_DLLAZY_OR_NOW 10978# ifdef RTLD_LAZY 10979# define LT_DLLAZY_OR_NOW RTLD_LAZY 10980# else 10981# ifdef DL_LAZY 10982# define LT_DLLAZY_OR_NOW DL_LAZY 10983# else 10984# ifdef RTLD_NOW 10985# define LT_DLLAZY_OR_NOW RTLD_NOW 10986# else 10987# ifdef DL_NOW 10988# define LT_DLLAZY_OR_NOW DL_NOW 10989# else 10990# define LT_DLLAZY_OR_NOW 0 10991# endif 10992# endif 10993# endif 10994# endif 10995#endif 10996 10997/* When -fvisbility=hidden is used, assume the code has been annotated 10998 correspondingly for the symbols needed. */ 10999#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11000int fnord () __attribute__((visibility("default"))); 11001#endif 11002 11003int fnord () { return 42; } 11004int main () 11005{ 11006 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11007 int status = $lt_dlunknown; 11008 11009 if (self) 11010 { 11011 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11012 else 11013 { 11014 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11015 else puts (dlerror ()); 11016 } 11017 /* dlclose (self); */ 11018 } 11019 else 11020 puts (dlerror ()); 11021 11022 return status; 11023} 11024_LT_EOF 11025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11026 (eval $ac_link) 2>&5 11027 ac_status=$? 11028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11029 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11030 (./conftest; exit; ) >&5 2>/dev/null 11031 lt_status=$? 11032 case x$lt_status in 11033 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11034 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11035 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11036 esac 11037 else : 11038 # compilation failed 11039 lt_cv_dlopen_self=no 11040 fi 11041fi 11042rm -fr conftest* 11043 11044 11045fi 11046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11047$as_echo "$lt_cv_dlopen_self" >&6; } 11048 11049 if test "x$lt_cv_dlopen_self" = xyes; then 11050 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11052$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11053if ${lt_cv_dlopen_self_static+:} false; then : 11054 $as_echo_n "(cached) " >&6 11055else 11056 if test "$cross_compiling" = yes; then : 11057 lt_cv_dlopen_self_static=cross 11058else 11059 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11060 lt_status=$lt_dlunknown 11061 cat > conftest.$ac_ext <<_LT_EOF 11062#line $LINENO "configure" 11063#include "confdefs.h" 11064 11065#if HAVE_DLFCN_H 11066#include <dlfcn.h> 11067#endif 11068 11069#include <stdio.h> 11070 11071#ifdef RTLD_GLOBAL 11072# define LT_DLGLOBAL RTLD_GLOBAL 11073#else 11074# ifdef DL_GLOBAL 11075# define LT_DLGLOBAL DL_GLOBAL 11076# else 11077# define LT_DLGLOBAL 0 11078# endif 11079#endif 11080 11081/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11082 find out it does not work in some platform. */ 11083#ifndef LT_DLLAZY_OR_NOW 11084# ifdef RTLD_LAZY 11085# define LT_DLLAZY_OR_NOW RTLD_LAZY 11086# else 11087# ifdef DL_LAZY 11088# define LT_DLLAZY_OR_NOW DL_LAZY 11089# else 11090# ifdef RTLD_NOW 11091# define LT_DLLAZY_OR_NOW RTLD_NOW 11092# else 11093# ifdef DL_NOW 11094# define LT_DLLAZY_OR_NOW DL_NOW 11095# else 11096# define LT_DLLAZY_OR_NOW 0 11097# endif 11098# endif 11099# endif 11100# endif 11101#endif 11102 11103/* When -fvisbility=hidden is used, assume the code has been annotated 11104 correspondingly for the symbols needed. */ 11105#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11106int fnord () __attribute__((visibility("default"))); 11107#endif 11108 11109int fnord () { return 42; } 11110int main () 11111{ 11112 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11113 int status = $lt_dlunknown; 11114 11115 if (self) 11116 { 11117 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11118 else 11119 { 11120 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11121 else puts (dlerror ()); 11122 } 11123 /* dlclose (self); */ 11124 } 11125 else 11126 puts (dlerror ()); 11127 11128 return status; 11129} 11130_LT_EOF 11131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11132 (eval $ac_link) 2>&5 11133 ac_status=$? 11134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11135 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11136 (./conftest; exit; ) >&5 2>/dev/null 11137 lt_status=$? 11138 case x$lt_status in 11139 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11140 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11141 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11142 esac 11143 else : 11144 # compilation failed 11145 lt_cv_dlopen_self_static=no 11146 fi 11147fi 11148rm -fr conftest* 11149 11150 11151fi 11152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11153$as_echo "$lt_cv_dlopen_self_static" >&6; } 11154 fi 11155 11156 CPPFLAGS="$save_CPPFLAGS" 11157 LDFLAGS="$save_LDFLAGS" 11158 LIBS="$save_LIBS" 11159 ;; 11160 esac 11161 11162 case $lt_cv_dlopen_self in 11163 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11164 *) enable_dlopen_self=unknown ;; 11165 esac 11166 11167 case $lt_cv_dlopen_self_static in 11168 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11169 *) enable_dlopen_self_static=unknown ;; 11170 esac 11171fi 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189striplib= 11190old_striplib= 11191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11192$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11193if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11194 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11195 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11197$as_echo "yes" >&6; } 11198else 11199# FIXME - insert some real tests, host_os isn't really good enough 11200 case $host_os in 11201 darwin*) 11202 if test -n "$STRIP" ; then 11203 striplib="$STRIP -x" 11204 old_striplib="$STRIP -S" 11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11206$as_echo "yes" >&6; } 11207 else 11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11209$as_echo "no" >&6; } 11210 fi 11211 ;; 11212 *) 11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11214$as_echo "no" >&6; } 11215 ;; 11216 esac 11217fi 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 # Report which library types will actually be built 11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11232$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11234$as_echo "$can_build_shared" >&6; } 11235 11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11237$as_echo_n "checking whether to build shared libraries... " >&6; } 11238 test "$can_build_shared" = "no" && enable_shared=no 11239 11240 # On AIX, shared libraries and static libraries use the same namespace, and 11241 # are all built from PIC. 11242 case $host_os in 11243 aix3*) 11244 test "$enable_shared" = yes && enable_static=no 11245 if test -n "$RANLIB"; then 11246 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11247 postinstall_cmds='$RANLIB $lib' 11248 fi 11249 ;; 11250 11251 aix[4-9]*) 11252 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11253 test "$enable_shared" = yes && enable_static=no 11254 fi 11255 ;; 11256 esac 11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11258$as_echo "$enable_shared" >&6; } 11259 11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11261$as_echo_n "checking whether to build static libraries... " >&6; } 11262 # Make sure either enable_shared or enable_static is yes. 11263 test "$enable_shared" = yes || enable_static=yes 11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11265$as_echo "$enable_static" >&6; } 11266 11267 11268 11269 11270fi 11271ac_ext=c 11272ac_cpp='$CPP $CPPFLAGS' 11273ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11274ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11275ac_compiler_gnu=$ac_cv_c_compiler_gnu 11276 11277CC="$lt_save_CC" 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 ac_config_commands="$ac_config_commands libtool" 11294 11295 11296 11297 11298# Only expand once: 11299 11300 11301 11302 11303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5 11304$as_echo_n "checking for __attribute__... " >&6; } 11305 11306if ${ac_cv___attribute__+:} false; then : 11307 $as_echo_n "(cached) " >&6 11308else 11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11310/* end confdefs.h. */ 11311 11312#include <stdlib.h> 11313 11314int func(int x); 11315int foo(int x __attribute__ ((unused))) 11316{ 11317 exit(1); 11318} 11319 11320int 11321main () 11322{ 11323 11324 ; 11325 return 0; 11326} 11327_ACEOF 11328if ac_fn_c_try_compile "$LINENO"; then : 11329 ac_cv___attribute__="yes" 11330else 11331 ac_cv___attribute__="no" 11332 11333fi 11334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11335fi 11336 11337 11338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5 11339$as_echo "$ac_cv___attribute__" >&6; } 11340 11341if test "x${ac_cv___attribute__}" = "xyes" ; then 11342 11343$as_echo "@%:@define HAVE___ATTRIBUTE__ 1" >>confdefs.h 11344 11345 11346$as_echo "@%:@define __UNUSED__ __attribute__((unused))" >>confdefs.h 11347 11348 else 11349 11350$as_echo "@%:@define __UNUSED__ /**/" >>confdefs.h 11351 11352fi 11353 11354 11355 11356if test "x${prefix}" = "xNONE"; then 11357 11358cat >>confdefs.h <<_ACEOF 11359@%:@define PACKAGE_DATA_DIR "${ac_default_prefix}/share/${PACKAGE}" 11360_ACEOF 11361 11362else 11363 11364cat >>confdefs.h <<_ACEOF 11365@%:@define PACKAGE_DATA_DIR "${prefix}/share/${PACKAGE}" 11366_ACEOF 11367 11368fi 11369 11370if test "x${datadir}" = 'x${prefix}/bin'; then 11371 if test "x${prefix}" = "xNONE"; then 11372 11373cat >>confdefs.h <<_ACEOF 11374@%:@define PACKAGE_BIN_DIR "${ac_default_prefix}/bin" 11375_ACEOF 11376 11377 else 11378 11379cat >>confdefs.h <<_ACEOF 11380@%:@define PACKAGE_BIN_DIR "${prefix}/bin" 11381_ACEOF 11382 11383 fi 11384else 11385 11386cat >>confdefs.h <<_ACEOF 11387@%:@define PACKAGE_BIN_DIR "${bindir}" 11388_ACEOF 11389 11390fi 11391 11392 11393 11394 11395 11396 11397 11398 11399if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 11400 if test -n "$ac_tool_prefix"; then 11401 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 11402set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 11403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11404$as_echo_n "checking for $ac_word... " >&6; } 11405if ${ac_cv_path_PKG_CONFIG+:} false; then : 11406 $as_echo_n "(cached) " >&6 11407else 11408 case $PKG_CONFIG in 11409 [\\/]* | ?:[\\/]*) 11410 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11411 ;; 11412 *) 11413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11414for as_dir in $PATH 11415do 11416 IFS=$as_save_IFS 11417 test -z "$as_dir" && as_dir=. 11418 for ac_exec_ext in '' $ac_executable_extensions; do 11419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11420 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11422 break 2 11423 fi 11424done 11425 done 11426IFS=$as_save_IFS 11427 11428 ;; 11429esac 11430fi 11431PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11432if test -n "$PKG_CONFIG"; then 11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 11434$as_echo "$PKG_CONFIG" >&6; } 11435else 11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11437$as_echo "no" >&6; } 11438fi 11439 11440 11441fi 11442if test -z "$ac_cv_path_PKG_CONFIG"; then 11443 ac_pt_PKG_CONFIG=$PKG_CONFIG 11444 # Extract the first word of "pkg-config", so it can be a program name with args. 11445set dummy pkg-config; ac_word=$2 11446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11447$as_echo_n "checking for $ac_word... " >&6; } 11448if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 11449 $as_echo_n "(cached) " >&6 11450else 11451 case $ac_pt_PKG_CONFIG in 11452 [\\/]* | ?:[\\/]*) 11453 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 11454 ;; 11455 *) 11456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11457for as_dir in $PATH 11458do 11459 IFS=$as_save_IFS 11460 test -z "$as_dir" && as_dir=. 11461 for ac_exec_ext in '' $ac_executable_extensions; do 11462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11463 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11465 break 2 11466 fi 11467done 11468 done 11469IFS=$as_save_IFS 11470 11471 ;; 11472esac 11473fi 11474ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 11475if test -n "$ac_pt_PKG_CONFIG"; then 11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 11477$as_echo "$ac_pt_PKG_CONFIG" >&6; } 11478else 11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11480$as_echo "no" >&6; } 11481fi 11482 11483 if test "x$ac_pt_PKG_CONFIG" = x; then 11484 PKG_CONFIG="" 11485 else 11486 case $cross_compiling:$ac_tool_warned in 11487yes:) 11488{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11489$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11490ac_tool_warned=yes ;; 11491esac 11492 PKG_CONFIG=$ac_pt_PKG_CONFIG 11493 fi 11494else 11495 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 11496fi 11497 11498fi 11499if test -n "$PKG_CONFIG"; then 11500 _pkg_min_version=0.9.0 11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 11502$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 11503 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11505$as_echo "yes" >&6; } 11506 else 11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11508$as_echo "no" >&6; } 11509 PKG_CONFIG="" 11510 fi 11511fi 11512 11513 11514 11515default_max="4096" 11516ac_ext=c 11517ac_cpp='$CPP $CPPFLAGS' 11518ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11519ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11520ac_compiler_gnu=$ac_cv_c_compiler_gnu 11521 11522 11523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5 11524$as_echo_n "checking for PATH_MAX in limits.h... " >&6; } 11525cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11526/* end confdefs.h. */ 11527 11528#include <limits.h> 11529 11530int 11531main () 11532{ 11533 11534int i = PATH_MAX; 11535 11536 ; 11537 return 0; 11538} 11539_ACEOF 11540if ac_fn_c_try_compile "$LINENO"; then : 11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11542$as_echo "yes" >&6; } 11543else 11544 11545 11546cat >>confdefs.h <<_ACEOF 11547@%:@define PATH_MAX ${default_max} 11548_ACEOF 11549 11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5 11551$as_echo "no: using ${default_max}" >&6; } 11552 11553fi 11554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11555 11556ac_ext=c 11557ac_cpp='$CPP $CPPFLAGS' 11558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11559ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11560ac_compiler_gnu=$ac_cv_c_compiler_gnu 11561 11562 11563 11564 11565 11566pkg_failed=no 11567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5 11568$as_echo_n "checking for EINA... " >&6; } 11569 11570if test -n "$EINA_CFLAGS"; then 11571 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS" 11572 elif test -n "$PKG_CONFIG"; then 11573 if test -n "$PKG_CONFIG" && \ 11574 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina\""; } >&5 11575 ($PKG_CONFIG --exists --print-errors "eina") 2>&5 11576 ac_status=$? 11577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11578 test $ac_status = 0; }; then 11579 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina" 2>/dev/null` 11580 test "x$?" != "x0" && pkg_failed=yes 11581else 11582 pkg_failed=yes 11583fi 11584 else 11585 pkg_failed=untried 11586fi 11587if test -n "$EINA_LIBS"; then 11588 pkg_cv_EINA_LIBS="$EINA_LIBS" 11589 elif test -n "$PKG_CONFIG"; then 11590 if test -n "$PKG_CONFIG" && \ 11591 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina\""; } >&5 11592 ($PKG_CONFIG --exists --print-errors "eina") 2>&5 11593 ac_status=$? 11594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11595 test $ac_status = 0; }; then 11596 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina" 2>/dev/null` 11597 test "x$?" != "x0" && pkg_failed=yes 11598else 11599 pkg_failed=yes 11600fi 11601 else 11602 pkg_failed=untried 11603fi 11604 11605 11606 11607if test $pkg_failed = yes; then 11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11609$as_echo "no" >&6; } 11610 11611if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11612 _pkg_short_errors_supported=yes 11613else 11614 _pkg_short_errors_supported=no 11615fi 11616 if test $_pkg_short_errors_supported = yes; then 11617 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina" 2>&1` 11618 else 11619 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina" 2>&1` 11620 fi 11621 # Put the nasty error message in config.log where it belongs 11622 echo "$EINA_PKG_ERRORS" >&5 11623 11624 as_fn_error $? "Package requirements (eina) were not met: 11625 11626$EINA_PKG_ERRORS 11627 11628Consider adjusting the PKG_CONFIG_PATH environment variable if you 11629installed software in a non-standard prefix. 11630 11631Alternatively, you may set the environment variables EINA_CFLAGS 11632and EINA_LIBS to avoid the need to call pkg-config. 11633See the pkg-config man page for more details." "$LINENO" 5 11634elif test $pkg_failed = untried; then 11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11636$as_echo "no" >&6; } 11637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11638$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11639as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 11640is in your PATH or set the PKG_CONFIG environment variable to the full 11641path to pkg-config. 11642 11643Alternatively, you may set the environment variables EINA_CFLAGS 11644and EINA_LIBS to avoid the need to call pkg-config. 11645See the pkg-config man page for more details. 11646 11647To get pkg-config, see <http://pkg-config.freedesktop.org/>. 11648See \`config.log' for more details" "$LINENO" 5; } 11649else 11650 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS 11651 EINA_LIBS=$pkg_cv_EINA_LIBS 11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11653$as_echo "yes" >&6; } 11654 11655fi 11656 11657pkg_failed=no 11658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE" >&5 11659$as_echo_n "checking for ECORE... " >&6; } 11660 11661if test -n "$ECORE_CFLAGS"; then 11662 pkg_cv_ECORE_CFLAGS="$ECORE_CFLAGS" 11663 elif test -n "$PKG_CONFIG"; then 11664 if test -n "$PKG_CONFIG" && \ 11665 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore 11666ecore-file 11667ecore-x 11668ecore-evas 11669ecore-input 11670\""; } >&5 11671 ($PKG_CONFIG --exists --print-errors "ecore 11672ecore-file 11673ecore-x 11674ecore-evas 11675ecore-input 11676") 2>&5 11677 ac_status=$? 11678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11679 test $ac_status = 0; }; then 11680 pkg_cv_ECORE_CFLAGS=`$PKG_CONFIG --cflags "ecore 11681ecore-file 11682ecore-x 11683ecore-evas 11684ecore-input 11685" 2>/dev/null` 11686 test "x$?" != "x0" && pkg_failed=yes 11687else 11688 pkg_failed=yes 11689fi 11690 else 11691 pkg_failed=untried 11692fi 11693if test -n "$ECORE_LIBS"; then 11694 pkg_cv_ECORE_LIBS="$ECORE_LIBS" 11695 elif test -n "$PKG_CONFIG"; then 11696 if test -n "$PKG_CONFIG" && \ 11697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore 11698ecore-file 11699ecore-x 11700ecore-evas 11701ecore-input 11702\""; } >&5 11703 ($PKG_CONFIG --exists --print-errors "ecore 11704ecore-file 11705ecore-x 11706ecore-evas 11707ecore-input 11708") 2>&5 11709 ac_status=$? 11710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11711 test $ac_status = 0; }; then 11712 pkg_cv_ECORE_LIBS=`$PKG_CONFIG --libs "ecore 11713ecore-file 11714ecore-x 11715ecore-evas 11716ecore-input 11717" 2>/dev/null` 11718 test "x$?" != "x0" && pkg_failed=yes 11719else 11720 pkg_failed=yes 11721fi 11722 else 11723 pkg_failed=untried 11724fi 11725 11726 11727 11728if test $pkg_failed = yes; then 11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11730$as_echo "no" >&6; } 11731 11732if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11733 _pkg_short_errors_supported=yes 11734else 11735 _pkg_short_errors_supported=no 11736fi 11737 if test $_pkg_short_errors_supported = yes; then 11738 ECORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore 11739ecore-file 11740ecore-x 11741ecore-evas 11742ecore-input 11743" 2>&1` 11744 else 11745 ECORE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore 11746ecore-file 11747ecore-x 11748ecore-evas 11749ecore-input 11750" 2>&1` 11751 fi 11752 # Put the nasty error message in config.log where it belongs 11753 echo "$ECORE_PKG_ERRORS" >&5 11754 11755 as_fn_error $? "Package requirements (ecore 11756ecore-file 11757ecore-x 11758ecore-evas 11759ecore-input 11760) were not met: 11761 11762$ECORE_PKG_ERRORS 11763 11764Consider adjusting the PKG_CONFIG_PATH environment variable if you 11765installed software in a non-standard prefix. 11766 11767Alternatively, you may set the environment variables ECORE_CFLAGS 11768and ECORE_LIBS to avoid the need to call pkg-config. 11769See the pkg-config man page for more details." "$LINENO" 5 11770elif test $pkg_failed = untried; then 11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11772$as_echo "no" >&6; } 11773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11774$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11775as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 11776is in your PATH or set the PKG_CONFIG environment variable to the full 11777path to pkg-config. 11778 11779Alternatively, you may set the environment variables ECORE_CFLAGS 11780and ECORE_LIBS to avoid the need to call pkg-config. 11781See the pkg-config man page for more details. 11782 11783To get pkg-config, see <http://pkg-config.freedesktop.org/>. 11784See \`config.log' for more details" "$LINENO" 5; } 11785else 11786 ECORE_CFLAGS=$pkg_cv_ECORE_CFLAGS 11787 ECORE_LIBS=$pkg_cv_ECORE_LIBS 11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11789$as_echo "yes" >&6; } 11790 11791fi 11792 11793pkg_failed=no 11794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5 11795$as_echo_n "checking for EVAS... " >&6; } 11796 11797if test -n "$EVAS_CFLAGS"; then 11798 pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS" 11799 elif test -n "$PKG_CONFIG"; then 11800 if test -n "$PKG_CONFIG" && \ 11801 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas\""; } >&5 11802 ($PKG_CONFIG --exists --print-errors "evas") 2>&5 11803 ac_status=$? 11804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11805 test $ac_status = 0; }; then 11806 pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas" 2>/dev/null` 11807 test "x$?" != "x0" && pkg_failed=yes 11808else 11809 pkg_failed=yes 11810fi 11811 else 11812 pkg_failed=untried 11813fi 11814if test -n "$EVAS_LIBS"; then 11815 pkg_cv_EVAS_LIBS="$EVAS_LIBS" 11816 elif test -n "$PKG_CONFIG"; then 11817 if test -n "$PKG_CONFIG" && \ 11818 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas\""; } >&5 11819 ($PKG_CONFIG --exists --print-errors "evas") 2>&5 11820 ac_status=$? 11821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11822 test $ac_status = 0; }; then 11823 pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas" 2>/dev/null` 11824 test "x$?" != "x0" && pkg_failed=yes 11825else 11826 pkg_failed=yes 11827fi 11828 else 11829 pkg_failed=untried 11830fi 11831 11832 11833 11834if test $pkg_failed = yes; then 11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11836$as_echo "no" >&6; } 11837 11838if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11839 _pkg_short_errors_supported=yes 11840else 11841 _pkg_short_errors_supported=no 11842fi 11843 if test $_pkg_short_errors_supported = yes; then 11844 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas" 2>&1` 11845 else 11846 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas" 2>&1` 11847 fi 11848 # Put the nasty error message in config.log where it belongs 11849 echo "$EVAS_PKG_ERRORS" >&5 11850 11851 as_fn_error $? "Package requirements (evas) were not met: 11852 11853$EVAS_PKG_ERRORS 11854 11855Consider adjusting the PKG_CONFIG_PATH environment variable if you 11856installed software in a non-standard prefix. 11857 11858Alternatively, you may set the environment variables EVAS_CFLAGS 11859and EVAS_LIBS to avoid the need to call pkg-config. 11860See the pkg-config man page for more details." "$LINENO" 5 11861elif test $pkg_failed = untried; then 11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11863$as_echo "no" >&6; } 11864 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11865$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11866as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 11867is in your PATH or set the PKG_CONFIG environment variable to the full 11868path to pkg-config. 11869 11870Alternatively, you may set the environment variables EVAS_CFLAGS 11871and EVAS_LIBS to avoid the need to call pkg-config. 11872See the pkg-config man page for more details. 11873 11874To get pkg-config, see <http://pkg-config.freedesktop.org/>. 11875See \`config.log' for more details" "$LINENO" 5; } 11876else 11877 EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS 11878 EVAS_LIBS=$pkg_cv_EVAS_LIBS 11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11880$as_echo "yes" >&6; } 11881 11882fi 11883 11884ac_config_files="$ac_config_files Makefile src/Makefile src/bin/Makefile data/Makefile data/images/Makefile" 11885 11886ac_config_commands="$ac_config_commands default" 11887 11888cat >confcache <<\_ACEOF 11889# This file is a shell script that caches the results of configure 11890# tests run on this system so they can be shared between configure 11891# scripts and configure runs, see configure's option --config-cache. 11892# It is not useful on other systems. If it contains results you don't 11893# want to keep, you may remove or edit it. 11894# 11895# config.status only pays attention to the cache file if you give it 11896# the --recheck option to rerun configure. 11897# 11898# `ac_cv_env_foo' variables (set or unset) will be overridden when 11899# loading this file, other *unset* `ac_cv_foo' will be assigned the 11900# following values. 11901 11902_ACEOF 11903 11904# The following way of writing the cache mishandles newlines in values, 11905# but we know of no workaround that is simple, portable, and efficient. 11906# So, we kill variables containing newlines. 11907# Ultrix sh set writes to stderr and can't be redirected directly, 11908# and sets the high bit in the cache file unless we assign to the vars. 11909( 11910 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 11911 eval ac_val=\$$ac_var 11912 case $ac_val in #( 11913 *${as_nl}*) 11914 case $ac_var in #( 11915 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 11916$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 11917 esac 11918 case $ac_var in #( 11919 _ | IFS | as_nl) ;; #( 11920 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 11921 *) { eval $ac_var=; unset $ac_var;} ;; 11922 esac ;; 11923 esac 11924 done 11925 11926 (set) 2>&1 | 11927 case $as_nl`(ac_space=' '; set) 2>&1` in #( 11928 *${as_nl}ac_space=\ *) 11929 # `set' does not quote correctly, so add quotes: double-quote 11930 # substitution turns \\\\ into \\, and sed turns \\ into \. 11931 sed -n \ 11932 "s/'/'\\\\''/g; 11933 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 11934 ;; #( 11935 *) 11936 # `set' quotes correctly as required by POSIX, so do not add quotes. 11937 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 11938 ;; 11939 esac | 11940 sort 11941) | 11942 sed ' 11943 /^ac_cv_env_/b end 11944 t clear 11945 :clear 11946 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 11947 t end 11948 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 11949 :end' >>confcache 11950if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 11951 if test -w "$cache_file"; then 11952 if test "x$cache_file" != "x/dev/null"; then 11953 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11954$as_echo "$as_me: updating cache $cache_file" >&6;} 11955 if test ! -f "$cache_file" || test -h "$cache_file"; then 11956 cat confcache >"$cache_file" 11957 else 11958 case $cache_file in #( 11959 */* | ?:*) 11960 mv -f confcache "$cache_file"$$ && 11961 mv -f "$cache_file"$$ "$cache_file" ;; #( 11962 *) 11963 mv -f confcache "$cache_file" ;; 11964 esac 11965 fi 11966 fi 11967 else 11968 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 11969$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11970 fi 11971fi 11972rm -f confcache 11973 11974test "x$prefix" = xNONE && prefix=$ac_default_prefix 11975# Let make expand exec_prefix. 11976test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 11977 11978DEFS=-DHAVE_CONFIG_H 11979 11980ac_libobjs= 11981ac_ltlibobjs= 11982U= 11983for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 11984 # 1. Remove the extension, and $U if already installed. 11985 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 11986 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11987 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 11988 # will be set to the directory where LIBOBJS objects are built. 11989 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 11990 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 11991done 11992LIB@&t@OBJS=$ac_libobjs 11993 11994LTLIBOBJS=$ac_ltlibobjs 11995 11996 11997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 11998$as_echo_n "checking that generated files are newer than configure... " >&6; } 11999 if test -n "$am_sleep_pid"; then 12000 # Hide warnings about reused PIDs. 12001 wait $am_sleep_pid 2>/dev/null 12002 fi 12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 12004$as_echo "done" >&6; } 12005 if test -n "$EXEEXT"; then 12006 am__EXEEXT_TRUE= 12007 am__EXEEXT_FALSE='#' 12008else 12009 am__EXEEXT_TRUE='#' 12010 am__EXEEXT_FALSE= 12011fi 12012 12013if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12014 as_fn_error $? "conditional \"AMDEP\" was never defined. 12015Usually this means the macro was only invoked conditionally." "$LINENO" 5 12016fi 12017if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12018 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12019Usually this means the macro was only invoked conditionally." "$LINENO" 5 12020fi 12021 12022: "${CONFIG_STATUS=./config.status}" 12023ac_write_fail=0 12024ac_clean_files_save=$ac_clean_files 12025ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12026{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12027$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12028as_write_fail=0 12029cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12030#! $SHELL 12031# Generated by $as_me. 12032# Run this file to recreate the current configuration. 12033# Compiler output produced by configure, useful for debugging 12034# configure, is in config.log if it exists. 12035 12036debug=false 12037ac_cs_recheck=false 12038ac_cs_silent=false 12039 12040SHELL=\${CONFIG_SHELL-$SHELL} 12041export SHELL 12042_ASEOF 12043cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12044## -------------------- ## 12045## M4sh Initialization. ## 12046## -------------------- ## 12047 12048# Be more Bourne compatible 12049DUALCASE=1; export DUALCASE # for MKS sh 12050if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12051 emulate sh 12052 NULLCMD=: 12053 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12054 # is contrary to our usage. Disable this feature. 12055 alias -g '${1+"$@"}'='"$@"' 12056 setopt NO_GLOB_SUBST 12057else 12058 case `(set -o) 2>/dev/null` in @%:@( 12059 *posix*) : 12060 set -o posix ;; @%:@( 12061 *) : 12062 ;; 12063esac 12064fi 12065 12066 12067as_nl=' 12068' 12069export as_nl 12070# Printing a long string crashes Solaris 7 /usr/bin/printf. 12071as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12072as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12073as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12074# Prefer a ksh shell builtin over an external printf program on Solaris, 12075# but without wasting forks for bash or zsh. 12076if test -z "$BASH_VERSION$ZSH_VERSION" \ 12077 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12078 as_echo='print -r --' 12079 as_echo_n='print -rn --' 12080elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12081 as_echo='printf %s\n' 12082 as_echo_n='printf %s' 12083else 12084 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12085 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12086 as_echo_n='/usr/ucb/echo -n' 12087 else 12088 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12089 as_echo_n_body='eval 12090 arg=$1; 12091 case $arg in @%:@( 12092 *"$as_nl"*) 12093 expr "X$arg" : "X\\(.*\\)$as_nl"; 12094 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12095 esac; 12096 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12097 ' 12098 export as_echo_n_body 12099 as_echo_n='sh -c $as_echo_n_body as_echo' 12100 fi 12101 export as_echo_body 12102 as_echo='sh -c $as_echo_body as_echo' 12103fi 12104 12105# The user is always right. 12106if test "${PATH_SEPARATOR+set}" != set; then 12107 PATH_SEPARATOR=: 12108 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12109 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12110 PATH_SEPARATOR=';' 12111 } 12112fi 12113 12114 12115# IFS 12116# We need space, tab and new line, in precisely that order. Quoting is 12117# there to prevent editors from complaining about space-tab. 12118# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12119# splitting by setting IFS to empty value.) 12120IFS=" "" $as_nl" 12121 12122# Find who we are. Look in the path if we contain no directory separator. 12123as_myself= 12124case $0 in @%:@(( 12125 *[\\/]* ) as_myself=$0 ;; 12126 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12127for as_dir in $PATH 12128do 12129 IFS=$as_save_IFS 12130 test -z "$as_dir" && as_dir=. 12131 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12132 done 12133IFS=$as_save_IFS 12134 12135 ;; 12136esac 12137# We did not find ourselves, most probably we were run as `sh COMMAND' 12138# in which case we are not to be found in the path. 12139if test "x$as_myself" = x; then 12140 as_myself=$0 12141fi 12142if test ! -f "$as_myself"; then 12143 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12144 exit 1 12145fi 12146 12147# Unset variables that we do not need and which cause bugs (e.g. in 12148# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12149# suppresses any "Segmentation fault" message there. '((' could 12150# trigger a bug in pdksh 5.2.14. 12151for as_var in BASH_ENV ENV MAIL MAILPATH 12152do eval test x\${$as_var+set} = xset \ 12153 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12154done 12155PS1='$ ' 12156PS2='> ' 12157PS4='+ ' 12158 12159# NLS nuisances. 12160LC_ALL=C 12161export LC_ALL 12162LANGUAGE=C 12163export LANGUAGE 12164 12165# CDPATH. 12166(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12167 12168 12169@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] 12170@%:@ ---------------------------------------- 12171@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12172@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12173@%:@ script with STATUS, using 1 if that was 0. 12174as_fn_error () 12175{ 12176 as_status=$1; test $as_status -eq 0 && as_status=1 12177 if test "$4"; then 12178 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12179 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12180 fi 12181 $as_echo "$as_me: error: $2" >&2 12182 as_fn_exit $as_status 12183} @%:@ as_fn_error 12184 12185 12186@%:@ as_fn_set_status STATUS 12187@%:@ ----------------------- 12188@%:@ Set @S|@? to STATUS, without forking. 12189as_fn_set_status () 12190{ 12191 return $1 12192} @%:@ as_fn_set_status 12193 12194@%:@ as_fn_exit STATUS 12195@%:@ ----------------- 12196@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12197as_fn_exit () 12198{ 12199 set +e 12200 as_fn_set_status $1 12201 exit $1 12202} @%:@ as_fn_exit 12203 12204@%:@ as_fn_unset VAR 12205@%:@ --------------- 12206@%:@ Portably unset VAR. 12207as_fn_unset () 12208{ 12209 { eval $1=; unset $1;} 12210} 12211as_unset=as_fn_unset 12212@%:@ as_fn_append VAR VALUE 12213@%:@ ---------------------- 12214@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take 12215@%:@ advantage of any shell optimizations that allow amortized linear growth over 12216@%:@ repeated appends, instead of the typical quadratic growth present in naive 12217@%:@ implementations. 12218if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12219 eval 'as_fn_append () 12220 { 12221 eval $1+=\$2 12222 }' 12223else 12224 as_fn_append () 12225 { 12226 eval $1=\$$1\$2 12227 } 12228fi # as_fn_append 12229 12230@%:@ as_fn_arith ARG... 12231@%:@ ------------------ 12232@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the 12233@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments 12234@%:@ must be portable across @S|@(()) and expr. 12235if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12236 eval 'as_fn_arith () 12237 { 12238 as_val=$(( $* )) 12239 }' 12240else 12241 as_fn_arith () 12242 { 12243 as_val=`expr "$@" || test $? -eq 1` 12244 } 12245fi # as_fn_arith 12246 12247 12248if expr a : '\(a\)' >/dev/null 2>&1 && 12249 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12250 as_expr=expr 12251else 12252 as_expr=false 12253fi 12254 12255if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12256 as_basename=basename 12257else 12258 as_basename=false 12259fi 12260 12261if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12262 as_dirname=dirname 12263else 12264 as_dirname=false 12265fi 12266 12267as_me=`$as_basename -- "$0" || 12268$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12269 X"$0" : 'X\(//\)$' \| \ 12270 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12271$as_echo X/"$0" | 12272 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12273 s//\1/ 12274 q 12275 } 12276 /^X\/\(\/\/\)$/{ 12277 s//\1/ 12278 q 12279 } 12280 /^X\/\(\/\).*/{ 12281 s//\1/ 12282 q 12283 } 12284 s/.*/./; q'` 12285 12286# Avoid depending upon Character Ranges. 12287as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12288as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12289as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12290as_cr_digits='0123456789' 12291as_cr_alnum=$as_cr_Letters$as_cr_digits 12292 12293ECHO_C= ECHO_N= ECHO_T= 12294case `echo -n x` in @%:@((((( 12295-n*) 12296 case `echo 'xy\c'` in 12297 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12298 xy) ECHO_C='\c';; 12299 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 12300 ECHO_T=' ';; 12301 esac;; 12302*) 12303 ECHO_N='-n';; 12304esac 12305 12306rm -f conf$$ conf$$.exe conf$$.file 12307if test -d conf$$.dir; then 12308 rm -f conf$$.dir/conf$$.file 12309else 12310 rm -f conf$$.dir 12311 mkdir conf$$.dir 2>/dev/null 12312fi 12313if (echo >conf$$.file) 2>/dev/null; then 12314 if ln -s conf$$.file conf$$ 2>/dev/null; then 12315 as_ln_s='ln -s' 12316 # ... but there are two gotchas: 12317 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12318 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12319 # In both cases, we have to default to `cp -pR'. 12320 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12321 as_ln_s='cp -pR' 12322 elif ln conf$$.file conf$$ 2>/dev/null; then 12323 as_ln_s=ln 12324 else 12325 as_ln_s='cp -pR' 12326 fi 12327else 12328 as_ln_s='cp -pR' 12329fi 12330rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12331rmdir conf$$.dir 2>/dev/null 12332 12333 12334@%:@ as_fn_mkdir_p 12335@%:@ ------------- 12336@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. 12337as_fn_mkdir_p () 12338{ 12339 12340 case $as_dir in #( 12341 -*) as_dir=./$as_dir;; 12342 esac 12343 test -d "$as_dir" || eval $as_mkdir_p || { 12344 as_dirs= 12345 while :; do 12346 case $as_dir in #( 12347 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12348 *) as_qdir=$as_dir;; 12349 esac 12350 as_dirs="'$as_qdir' $as_dirs" 12351 as_dir=`$as_dirname -- "$as_dir" || 12352$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12353 X"$as_dir" : 'X\(//\)[^/]' \| \ 12354 X"$as_dir" : 'X\(//\)$' \| \ 12355 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12356$as_echo X"$as_dir" | 12357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12358 s//\1/ 12359 q 12360 } 12361 /^X\(\/\/\)[^/].*/{ 12362 s//\1/ 12363 q 12364 } 12365 /^X\(\/\/\)$/{ 12366 s//\1/ 12367 q 12368 } 12369 /^X\(\/\).*/{ 12370 s//\1/ 12371 q 12372 } 12373 s/.*/./; q'` 12374 test -d "$as_dir" && break 12375 done 12376 test -z "$as_dirs" || eval "mkdir $as_dirs" 12377 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 12378 12379 12380} @%:@ as_fn_mkdir_p 12381if mkdir -p . 2>/dev/null; then 12382 as_mkdir_p='mkdir -p "$as_dir"' 12383else 12384 test -d ./-p && rmdir ./-p 12385 as_mkdir_p=false 12386fi 12387 12388 12389@%:@ as_fn_executable_p FILE 12390@%:@ ----------------------- 12391@%:@ Test if FILE is an executable regular file. 12392as_fn_executable_p () 12393{ 12394 test -f "$1" && test -x "$1" 12395} @%:@ as_fn_executable_p 12396as_test_x='test -x' 12397as_executable_p=as_fn_executable_p 12398 12399# Sed expression to map a string onto a valid CPP name. 12400as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12401 12402# Sed expression to map a string onto a valid variable name. 12403as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12404 12405 12406exec 6>&1 12407## ----------------------------------- ## 12408## Main body of $CONFIG_STATUS script. ## 12409## ----------------------------------- ## 12410_ASEOF 12411test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 12412 12413cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12414# Save the log message, to keep $0 and so on meaningful, and to 12415# report actual input values of CONFIG_FILES etc. instead of their 12416# values after options handling. 12417ac_log=" 12418This file was extended by $as_me, which was 12419generated by GNU Autoconf 2.69. Invocation command line was 12420 12421 CONFIG_FILES = $CONFIG_FILES 12422 CONFIG_HEADERS = $CONFIG_HEADERS 12423 CONFIG_LINKS = $CONFIG_LINKS 12424 CONFIG_COMMANDS = $CONFIG_COMMANDS 12425 $ $0 $@ 12426 12427on `(hostname || uname -n) 2>/dev/null | sed 1q` 12428" 12429 12430_ACEOF 12431 12432case $ac_config_files in *" 12433"*) set x $ac_config_files; shift; ac_config_files=$*;; 12434esac 12435 12436case $ac_config_headers in *" 12437"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 12438esac 12439 12440 12441cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12442# Files that config.status was made for. 12443config_files="$ac_config_files" 12444config_headers="$ac_config_headers" 12445config_commands="$ac_config_commands" 12446 12447_ACEOF 12448 12449cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12450ac_cs_usage="\ 12451\`$as_me' instantiates files and other configuration actions 12452from templates according to the current configuration. Unless the files 12453and actions are specified as TAGs, all are instantiated by default. 12454 12455Usage: $0 [OPTION]... [TAG]... 12456 12457 -h, --help print this help, then exit 12458 -V, --version print version number and configuration settings, then exit 12459 --config print configuration, then exit 12460 -q, --quiet, --silent 12461 do not print progress messages 12462 -d, --debug don't remove temporary files 12463 --recheck update $as_me by reconfiguring in the same conditions 12464 --file=FILE[:TEMPLATE] 12465 instantiate the configuration file FILE 12466 --header=FILE[:TEMPLATE] 12467 instantiate the configuration header FILE 12468 12469Configuration files: 12470$config_files 12471 12472Configuration headers: 12473$config_headers 12474 12475Configuration commands: 12476$config_commands 12477 12478Report bugs to the package provider." 12479 12480_ACEOF 12481cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12482ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 12483ac_cs_version="\\ 12484config.status 12485configured by $0, generated by GNU Autoconf 2.69, 12486 with options \\"\$ac_cs_config\\" 12487 12488Copyright (C) 2012 Free Software Foundation, Inc. 12489This config.status script is free software; the Free Software Foundation 12490gives unlimited permission to copy, distribute and modify it." 12491 12492ac_pwd='$ac_pwd' 12493srcdir='$srcdir' 12494INSTALL='$INSTALL' 12495MKDIR_P='$MKDIR_P' 12496AWK='$AWK' 12497test -n "\$AWK" || AWK=awk 12498_ACEOF 12499 12500cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12501# The default lists apply if the user does not specify any file. 12502ac_need_defaults=: 12503while test $# != 0 12504do 12505 case $1 in 12506 --*=?*) 12507 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12508 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12509 ac_shift=: 12510 ;; 12511 --*=) 12512 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12513 ac_optarg= 12514 ac_shift=: 12515 ;; 12516 *) 12517 ac_option=$1 12518 ac_optarg=$2 12519 ac_shift=shift 12520 ;; 12521 esac 12522 12523 case $ac_option in 12524 # Handling of the options. 12525 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12526 ac_cs_recheck=: ;; 12527 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12528 $as_echo "$ac_cs_version"; exit ;; 12529 --config | --confi | --conf | --con | --co | --c ) 12530 $as_echo "$ac_cs_config"; exit ;; 12531 --debug | --debu | --deb | --de | --d | -d ) 12532 debug=: ;; 12533 --file | --fil | --fi | --f ) 12534 $ac_shift 12535 case $ac_optarg in 12536 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12537 '') as_fn_error $? "missing file argument" ;; 12538 esac 12539 as_fn_append CONFIG_FILES " '$ac_optarg'" 12540 ac_need_defaults=false;; 12541 --header | --heade | --head | --hea ) 12542 $ac_shift 12543 case $ac_optarg in 12544 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12545 esac 12546 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 12547 ac_need_defaults=false;; 12548 --he | --h) 12549 # Conflict between --help and --header 12550 as_fn_error $? "ambiguous option: \`$1' 12551Try \`$0 --help' for more information.";; 12552 --help | --hel | -h ) 12553 $as_echo "$ac_cs_usage"; exit ;; 12554 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12555 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12556 ac_cs_silent=: ;; 12557 12558 # This is an error. 12559 -*) as_fn_error $? "unrecognized option: \`$1' 12560Try \`$0 --help' for more information." ;; 12561 12562 *) as_fn_append ac_config_targets " $1" 12563 ac_need_defaults=false ;; 12564 12565 esac 12566 shift 12567done 12568 12569ac_configure_extra_args= 12570 12571if $ac_cs_silent; then 12572 exec 6>/dev/null 12573 ac_configure_extra_args="$ac_configure_extra_args --silent" 12574fi 12575 12576_ACEOF 12577cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12578if \$ac_cs_recheck; then 12579 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12580 shift 12581 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12582 CONFIG_SHELL='$SHELL' 12583 export CONFIG_SHELL 12584 exec "\$@" 12585fi 12586 12587_ACEOF 12588cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12589exec 5>>config.log 12590{ 12591 echo 12592 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 12593@%:@@%:@ Running $as_me. @%:@@%:@ 12594_ASBOX 12595 $as_echo "$ac_log" 12596} >&5 12597 12598_ACEOF 12599cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12600# 12601# INIT-COMMANDS 12602# 12603AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 12604 12605 12606# The HP-UX ksh and POSIX shell print the target directory to stdout 12607# if CDPATH is set. 12608(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12609 12610sed_quote_subst='$sed_quote_subst' 12611double_quote_subst='$double_quote_subst' 12612delay_variable_subst='$delay_variable_subst' 12613enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 12614macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 12615macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 12616enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 12617pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 12618enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 12619SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 12620ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 12621PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 12622host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 12623host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 12624host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 12625build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 12626build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 12627build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 12628SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 12629Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 12630GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 12631EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 12632FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 12633LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 12634NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 12635LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 12636max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 12637ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 12638exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 12639lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 12640lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 12641lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 12642lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 12643lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 12644reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 12645reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 12646OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 12647deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 12648file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 12649file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 12650want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 12651DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 12652sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 12653AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 12654AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 12655archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 12656STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 12657RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 12658old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12659old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12660old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 12661lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 12662CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 12663CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 12664compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 12665GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 12666lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 12667lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 12668lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 12669lt_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"`' 12670nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 12671lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 12672objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 12673MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 12674lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 12675lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 12676lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 12677lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 12678lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 12679need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 12680MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 12681DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 12682NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 12683LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 12684OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 12685OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 12686libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 12687shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 12688extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12689archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 12690enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 12691export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 12692whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 12693compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 12694old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 12695old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12696archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 12697archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12698module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 12699module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12700with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 12701allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 12702no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 12703hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 12704hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 12705hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 12706hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 12707hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 12708hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 12709hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 12710inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 12711link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 12712always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 12713export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 12714exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 12715include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 12716prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 12717postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 12718file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 12719variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 12720need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 12721need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 12722version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 12723runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 12724shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 12725shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 12726libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 12727library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 12728soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 12729install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 12730postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12731postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12732finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 12733finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 12734hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 12735sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 12736sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 12737hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 12738enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 12739enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 12740enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 12741old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 12742striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 12743 12744LTCC='$LTCC' 12745LTCFLAGS='$LTCFLAGS' 12746compiler='$compiler_DEFAULT' 12747 12748# A function that is used when there is no print builtin or printf. 12749func_fallback_echo () 12750{ 12751 eval 'cat <<_LTECHO_EOF 12752\$1 12753_LTECHO_EOF' 12754} 12755 12756# Quote evaled strings. 12757for var in SHELL \ 12758ECHO \ 12759PATH_SEPARATOR \ 12760SED \ 12761GREP \ 12762EGREP \ 12763FGREP \ 12764LD \ 12765NM \ 12766LN_S \ 12767lt_SP2NL \ 12768lt_NL2SP \ 12769reload_flag \ 12770OBJDUMP \ 12771deplibs_check_method \ 12772file_magic_cmd \ 12773file_magic_glob \ 12774want_nocaseglob \ 12775DLLTOOL \ 12776sharedlib_from_linklib_cmd \ 12777AR \ 12778AR_FLAGS \ 12779archiver_list_spec \ 12780STRIP \ 12781RANLIB \ 12782CC \ 12783CFLAGS \ 12784compiler \ 12785lt_cv_sys_global_symbol_pipe \ 12786lt_cv_sys_global_symbol_to_cdecl \ 12787lt_cv_sys_global_symbol_to_c_name_address \ 12788lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12789nm_file_list_spec \ 12790lt_prog_compiler_no_builtin_flag \ 12791lt_prog_compiler_pic \ 12792lt_prog_compiler_wl \ 12793lt_prog_compiler_static \ 12794lt_cv_prog_compiler_c_o \ 12795need_locks \ 12796MANIFEST_TOOL \ 12797DSYMUTIL \ 12798NMEDIT \ 12799LIPO \ 12800OTOOL \ 12801OTOOL64 \ 12802shrext_cmds \ 12803export_dynamic_flag_spec \ 12804whole_archive_flag_spec \ 12805compiler_needs_object \ 12806with_gnu_ld \ 12807allow_undefined_flag \ 12808no_undefined_flag \ 12809hardcode_libdir_flag_spec \ 12810hardcode_libdir_separator \ 12811exclude_expsyms \ 12812include_expsyms \ 12813file_list_spec \ 12814variables_saved_for_relink \ 12815libname_spec \ 12816library_names_spec \ 12817soname_spec \ 12818install_override_mode \ 12819finish_eval \ 12820old_striplib \ 12821striplib; do 12822 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12823 *[\\\\\\\`\\"\\\$]*) 12824 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 12825 ;; 12826 *) 12827 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12828 ;; 12829 esac 12830done 12831 12832# Double-quote double-evaled strings. 12833for var in reload_cmds \ 12834old_postinstall_cmds \ 12835old_postuninstall_cmds \ 12836old_archive_cmds \ 12837extract_expsyms_cmds \ 12838old_archive_from_new_cmds \ 12839old_archive_from_expsyms_cmds \ 12840archive_cmds \ 12841archive_expsym_cmds \ 12842module_cmds \ 12843module_expsym_cmds \ 12844export_symbols_cmds \ 12845prelink_cmds \ 12846postlink_cmds \ 12847postinstall_cmds \ 12848postuninstall_cmds \ 12849finish_cmds \ 12850sys_lib_search_path_spec \ 12851sys_lib_dlsearch_path_spec; do 12852 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12853 *[\\\\\\\`\\"\\\$]*) 12854 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 12855 ;; 12856 *) 12857 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12858 ;; 12859 esac 12860done 12861 12862ac_aux_dir='$ac_aux_dir' 12863xsi_shell='$xsi_shell' 12864lt_shell_append='$lt_shell_append' 12865 12866# See if we are running on zsh, and set the options which allow our 12867# commands through without removal of \ escapes INIT. 12868if test -n "\${ZSH_VERSION+set}" ; then 12869 setopt NO_GLOB_SUBST 12870fi 12871 12872 12873 PACKAGE='$PACKAGE' 12874 VERSION='$VERSION' 12875 TIMESTAMP='$TIMESTAMP' 12876 RM='$RM' 12877 ofile='$ofile' 12878 12879 12880 12881 12882_ACEOF 12883 12884cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12885 12886# Handling of arguments. 12887for ac_config_target in $ac_config_targets 12888do 12889 case $ac_config_target in 12890 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 12891 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 12892 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 12893 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12894 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 12895 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;; 12896 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 12897 "data/images/Makefile") CONFIG_FILES="$CONFIG_FILES data/images/Makefile" ;; 12898 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 12899 12900 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 12901 esac 12902done 12903 12904 12905# If the user did not use the arguments to specify the items to instantiate, 12906# then the envvar interface is used. Set only those that are not. 12907# We use the long form for the default assignment because of an extremely 12908# bizarre bug on SunOS 4.1.3. 12909if $ac_need_defaults; then 12910 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 12911 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 12912 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 12913fi 12914 12915# Have a temporary directory for convenience. Make it in the build tree 12916# simply because there is no reason against having it here, and in addition, 12917# creating and moving files from /tmp can sometimes cause problems. 12918# Hook for its removal unless debugging. 12919# Note that there is a small window in which the directory will not be cleaned: 12920# after its creation but before its name has been assigned to `$tmp'. 12921$debug || 12922{ 12923 tmp= ac_tmp= 12924 trap 'exit_status=$? 12925 : "${ac_tmp:=$tmp}" 12926 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 12927' 0 12928 trap 'as_fn_exit 1' 1 2 13 15 12929} 12930# Create a (secure) tmp directory for tmp files. 12931 12932{ 12933 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 12934 test -d "$tmp" 12935} || 12936{ 12937 tmp=./conf$$-$RANDOM 12938 (umask 077 && mkdir "$tmp") 12939} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 12940ac_tmp=$tmp 12941 12942# Set up the scripts for CONFIG_FILES section. 12943# No need to generate them if there are no CONFIG_FILES. 12944# This happens for instance with `./config.status config.h'. 12945if test -n "$CONFIG_FILES"; then 12946 12947 12948ac_cr=`echo X | tr X '\015'` 12949# On cygwin, bash can eat \r inside `` if the user requested igncr. 12950# But we know of no other shell where ac_cr would be empty at this 12951# point, so we can use a bashism as a fallback. 12952if test "x$ac_cr" = x; then 12953 eval ac_cr=\$\'\\r\' 12954fi 12955ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 12956if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 12957 ac_cs_awk_cr='\\r' 12958else 12959 ac_cs_awk_cr=$ac_cr 12960fi 12961 12962echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 12963_ACEOF 12964 12965 12966{ 12967 echo "cat >conf$$subs.awk <<_ACEOF" && 12968 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 12969 echo "_ACEOF" 12970} >conf$$subs.sh || 12971 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12972ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 12973ac_delim='%!_!# ' 12974for ac_last_try in false false false false false :; do 12975 . ./conf$$subs.sh || 12976 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12977 12978 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 12979 if test $ac_delim_n = $ac_delim_num; then 12980 break 12981 elif $ac_last_try; then 12982 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12983 else 12984 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12985 fi 12986done 12987rm -f conf$$subs.sh 12988 12989cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12990cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 12991_ACEOF 12992sed -n ' 12993h 12994s/^/S["/; s/!.*/"]=/ 12995p 12996g 12997s/^[^!]*!// 12998:repl 12999t repl 13000s/'"$ac_delim"'$// 13001t delim 13002:nl 13003h 13004s/\(.\{148\}\)..*/\1/ 13005t more1 13006s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13007p 13008n 13009b repl 13010:more1 13011s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13012p 13013g 13014s/.\{148\}// 13015t nl 13016:delim 13017h 13018s/\(.\{148\}\)..*/\1/ 13019t more2 13020s/["\\]/\\&/g; s/^/"/; s/$/"/ 13021p 13022b 13023:more2 13024s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13025p 13026g 13027s/.\{148\}// 13028t delim 13029' <conf$$subs.awk | sed ' 13030/^[^""]/{ 13031 N 13032 s/\n// 13033} 13034' >>$CONFIG_STATUS || ac_write_fail=1 13035rm -f conf$$subs.awk 13036cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13037_ACAWK 13038cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13039 for (key in S) S_is_set[key] = 1 13040 FS = "" 13041 13042} 13043{ 13044 line = $ 0 13045 nfields = split(line, field, "@") 13046 substed = 0 13047 len = length(field[1]) 13048 for (i = 2; i < nfields; i++) { 13049 key = field[i] 13050 keylen = length(key) 13051 if (S_is_set[key]) { 13052 value = S[key] 13053 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13054 len += length(value) + length(field[++i]) 13055 substed = 1 13056 } else 13057 len += 1 + keylen 13058 } 13059 13060 print line 13061} 13062 13063_ACAWK 13064_ACEOF 13065cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13066if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13067 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13068else 13069 cat 13070fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 13071 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13072_ACEOF 13073 13074# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13075# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13076# trailing colons and then remove the whole line if VPATH becomes empty 13077# (actually we leave an empty line to preserve line numbers). 13078if test "x$srcdir" = x.; then 13079 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13080h 13081s/// 13082s/^/:/ 13083s/[ ]*$/:/ 13084s/:\$(srcdir):/:/g 13085s/:\${srcdir}:/:/g 13086s/:@srcdir@:/:/g 13087s/^:*// 13088s/:*$// 13089x 13090s/\(=[ ]*\).*/\1/ 13091G 13092s/\n// 13093s/^[^=]*=[ ]*$// 13094}' 13095fi 13096 13097cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13098fi # test -n "$CONFIG_FILES" 13099 13100# Set up the scripts for CONFIG_HEADERS section. 13101# No need to generate them if there are no CONFIG_HEADERS. 13102# This happens for instance with `./config.status Makefile'. 13103if test -n "$CONFIG_HEADERS"; then 13104cat >"$ac_tmp/defines.awk" <<\_ACAWK || 13105BEGIN { 13106_ACEOF 13107 13108# Transform confdefs.h into an awk script `defines.awk', embedded as 13109# here-document in config.status, that substitutes the proper values into 13110# config.h.in to produce config.h. 13111 13112# Create a delimiter string that does not exist in confdefs.h, to ease 13113# handling of long lines. 13114ac_delim='%!_!# ' 13115for ac_last_try in false false :; do 13116 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 13117 if test -z "$ac_tt"; then 13118 break 13119 elif $ac_last_try; then 13120 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13121 else 13122 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13123 fi 13124done 13125 13126# For the awk script, D is an array of macro values keyed by name, 13127# likewise P contains macro parameters if any. Preserve backslash 13128# newline sequences. 13129 13130ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 13131sed -n ' 13132s/.\{148\}/&'"$ac_delim"'/g 13133t rset 13134:rset 13135s/^[ ]*#[ ]*define[ ][ ]*/ / 13136t def 13137d 13138:def 13139s/\\$// 13140t bsnl 13141s/["\\]/\\&/g 13142s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13143D["\1"]=" \3"/p 13144s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 13145d 13146:bsnl 13147s/["\\]/\\&/g 13148s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13149D["\1"]=" \3\\\\\\n"\\/p 13150t cont 13151s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 13152t cont 13153d 13154:cont 13155n 13156s/.\{148\}/&'"$ac_delim"'/g 13157t clear 13158:clear 13159s/\\$// 13160t bsnlc 13161s/["\\]/\\&/g; s/^/"/; s/$/"/p 13162d 13163:bsnlc 13164s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 13165b cont 13166' <confdefs.h | sed ' 13167s/'"$ac_delim"'/"\\\ 13168"/g' >>$CONFIG_STATUS || ac_write_fail=1 13169 13170cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13171 for (key in D) D_is_set[key] = 1 13172 FS = "" 13173} 13174/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 13175 line = \$ 0 13176 split(line, arg, " ") 13177 if (arg[1] == "#") { 13178 defundef = arg[2] 13179 mac1 = arg[3] 13180 } else { 13181 defundef = substr(arg[1], 2) 13182 mac1 = arg[2] 13183 } 13184 split(mac1, mac2, "(") #) 13185 macro = mac2[1] 13186 prefix = substr(line, 1, index(line, defundef) - 1) 13187 if (D_is_set[macro]) { 13188 # Preserve the white space surrounding the "#". 13189 print prefix "define", macro P[macro] D[macro] 13190 next 13191 } else { 13192 # Replace #undef with comments. This is necessary, for example, 13193 # in the case of _POSIX_SOURCE, which is predefined and required 13194 # on some systems where configure will not decide to define it. 13195 if (defundef == "undef") { 13196 print "/*", prefix defundef, macro, "*/" 13197 next 13198 } 13199 } 13200} 13201{ print } 13202_ACAWK 13203_ACEOF 13204cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13205 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13206fi # test -n "$CONFIG_HEADERS" 13207 13208 13209eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 13210shift 13211for ac_tag 13212do 13213 case $ac_tag in 13214 :[FHLC]) ac_mode=$ac_tag; continue;; 13215 esac 13216 case $ac_mode$ac_tag in 13217 :[FHL]*:*);; 13218 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 13219 :[FH]-) ac_tag=-:-;; 13220 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13221 esac 13222 ac_save_IFS=$IFS 13223 IFS=: 13224 set x $ac_tag 13225 IFS=$ac_save_IFS 13226 shift 13227 ac_file=$1 13228 shift 13229 13230 case $ac_mode in 13231 :L) ac_source=$1;; 13232 :[FH]) 13233 ac_file_inputs= 13234 for ac_f 13235 do 13236 case $ac_f in 13237 -) ac_f="$ac_tmp/stdin";; 13238 *) # Look for the file first in the build tree, then in the source tree 13239 # (if the path is not absolute). The absolute path cannot be DOS-style, 13240 # because $ac_f cannot contain `:'. 13241 test -f "$ac_f" || 13242 case $ac_f in 13243 [\\/$]*) false;; 13244 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13245 esac || 13246 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 13247 esac 13248 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13249 as_fn_append ac_file_inputs " '$ac_f'" 13250 done 13251 13252 # Let's still pretend it is `configure' which instantiates (i.e., don't 13253 # use $as_me), people would be surprised to read: 13254 # /* config.h. Generated by config.status. */ 13255 configure_input='Generated from '` 13256 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13257 `' by configure.' 13258 if test x"$ac_file" != x-; then 13259 configure_input="$ac_file. $configure_input" 13260 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13261$as_echo "$as_me: creating $ac_file" >&6;} 13262 fi 13263 # Neutralize special characters interpreted by sed in replacement strings. 13264 case $configure_input in #( 13265 *\&* | *\|* | *\\* ) 13266 ac_sed_conf_input=`$as_echo "$configure_input" | 13267 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13268 *) ac_sed_conf_input=$configure_input;; 13269 esac 13270 13271 case $ac_tag in 13272 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 13273 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13274 esac 13275 ;; 13276 esac 13277 13278 ac_dir=`$as_dirname -- "$ac_file" || 13279$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13280 X"$ac_file" : 'X\(//\)[^/]' \| \ 13281 X"$ac_file" : 'X\(//\)$' \| \ 13282 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13283$as_echo X"$ac_file" | 13284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13285 s//\1/ 13286 q 13287 } 13288 /^X\(\/\/\)[^/].*/{ 13289 s//\1/ 13290 q 13291 } 13292 /^X\(\/\/\)$/{ 13293 s//\1/ 13294 q 13295 } 13296 /^X\(\/\).*/{ 13297 s//\1/ 13298 q 13299 } 13300 s/.*/./; q'` 13301 as_dir="$ac_dir"; as_fn_mkdir_p 13302 ac_builddir=. 13303 13304case "$ac_dir" in 13305.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13306*) 13307 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13308 # A ".." for each directory in $ac_dir_suffix. 13309 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13310 case $ac_top_builddir_sub in 13311 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13312 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13313 esac ;; 13314esac 13315ac_abs_top_builddir=$ac_pwd 13316ac_abs_builddir=$ac_pwd$ac_dir_suffix 13317# for backward compatibility: 13318ac_top_builddir=$ac_top_build_prefix 13319 13320case $srcdir in 13321 .) # We are building in place. 13322 ac_srcdir=. 13323 ac_top_srcdir=$ac_top_builddir_sub 13324 ac_abs_top_srcdir=$ac_pwd ;; 13325 [\\/]* | ?:[\\/]* ) # Absolute name. 13326 ac_srcdir=$srcdir$ac_dir_suffix; 13327 ac_top_srcdir=$srcdir 13328 ac_abs_top_srcdir=$srcdir ;; 13329 *) # Relative name. 13330 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13331 ac_top_srcdir=$ac_top_build_prefix$srcdir 13332 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13333esac 13334ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13335 13336 13337 case $ac_mode in 13338 :F) 13339 # 13340 # CONFIG_FILE 13341 # 13342 13343 case $INSTALL in 13344 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13345 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13346 esac 13347 ac_MKDIR_P=$MKDIR_P 13348 case $MKDIR_P in 13349 [\\/$]* | ?:[\\/]* ) ;; 13350 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13351 esac 13352_ACEOF 13353 13354cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13355# If the template does not know about datarootdir, expand it. 13356# FIXME: This hack should be removed a few years after 2.60. 13357ac_datarootdir_hack=; ac_datarootdir_seen= 13358ac_sed_dataroot=' 13359/datarootdir/ { 13360 p 13361 q 13362} 13363/@datadir@/p 13364/@docdir@/p 13365/@infodir@/p 13366/@localedir@/p 13367/@mandir@/p' 13368case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13369*datarootdir*) ac_datarootdir_seen=yes;; 13370*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13372$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13373_ACEOF 13374cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13375 ac_datarootdir_hack=' 13376 s&@datadir@&$datadir&g 13377 s&@docdir@&$docdir&g 13378 s&@infodir@&$infodir&g 13379 s&@localedir@&$localedir&g 13380 s&@mandir@&$mandir&g 13381 s&\\\${datarootdir}&$datarootdir&g' ;; 13382esac 13383_ACEOF 13384 13385# Neutralize VPATH when `$srcdir' = `.'. 13386# Shell code in configure.ac might set extrasub. 13387# FIXME: do we really want to maintain this feature? 13388cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13389ac_sed_extra="$ac_vpsub 13390$extrasub 13391_ACEOF 13392cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13393:t 13394/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13395s|@configure_input@|$ac_sed_conf_input|;t t 13396s&@top_builddir@&$ac_top_builddir_sub&;t t 13397s&@top_build_prefix@&$ac_top_build_prefix&;t t 13398s&@srcdir@&$ac_srcdir&;t t 13399s&@abs_srcdir@&$ac_abs_srcdir&;t t 13400s&@top_srcdir@&$ac_top_srcdir&;t t 13401s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 13402s&@builddir@&$ac_builddir&;t t 13403s&@abs_builddir@&$ac_abs_builddir&;t t 13404s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13405s&@INSTALL@&$ac_INSTALL&;t t 13406s&@MKDIR_P@&$ac_MKDIR_P&;t t 13407$ac_datarootdir_hack 13408" 13409eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 13410 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13411 13412test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13413 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 13414 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 13415 "$ac_tmp/out"`; test -z "$ac_out"; } && 13416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13417which seems to be undefined. Please make sure it is defined" >&5 13418$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13419which seems to be undefined. Please make sure it is defined" >&2;} 13420 13421 rm -f "$ac_tmp/stdin" 13422 case $ac_file in 13423 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 13424 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 13425 esac \ 13426 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13427 ;; 13428 :H) 13429 # 13430 # CONFIG_HEADER 13431 # 13432 if test x"$ac_file" != x-; then 13433 { 13434 $as_echo "/* $configure_input */" \ 13435 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 13436 } >"$ac_tmp/config.h" \ 13437 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13438 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 13439 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 13440$as_echo "$as_me: $ac_file is unchanged" >&6;} 13441 else 13442 rm -f "$ac_file" 13443 mv "$ac_tmp/config.h" "$ac_file" \ 13444 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13445 fi 13446 else 13447 $as_echo "/* $configure_input */" \ 13448 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 13449 || as_fn_error $? "could not create -" "$LINENO" 5 13450 fi 13451# Compute "$ac_file"'s index in $config_headers. 13452_am_arg="$ac_file" 13453_am_stamp_count=1 13454for _am_header in $config_headers :; do 13455 case $_am_header in 13456 $_am_arg | $_am_arg:* ) 13457 break ;; 13458 * ) 13459 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 13460 esac 13461done 13462echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 13463$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13464 X"$_am_arg" : 'X\(//\)[^/]' \| \ 13465 X"$_am_arg" : 'X\(//\)$' \| \ 13466 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 13467$as_echo X"$_am_arg" | 13468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13469 s//\1/ 13470 q 13471 } 13472 /^X\(\/\/\)[^/].*/{ 13473 s//\1/ 13474 q 13475 } 13476 /^X\(\/\/\)$/{ 13477 s//\1/ 13478 q 13479 } 13480 /^X\(\/\).*/{ 13481 s//\1/ 13482 q 13483 } 13484 s/.*/./; q'`/stamp-h$_am_stamp_count 13485 ;; 13486 13487 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 13488$as_echo "$as_me: executing $ac_file commands" >&6;} 13489 ;; 13490 esac 13491 13492 13493 case $ac_file$ac_mode in 13494 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 13495 # Autoconf 2.62 quotes --file arguments for eval, but not when files 13496 # are listed without --file. Let's play safe and only enable the eval 13497 # if we detect the quoting. 13498 case $CONFIG_FILES in 13499 *\'*) eval set x "$CONFIG_FILES" ;; 13500 *) set x $CONFIG_FILES ;; 13501 esac 13502 shift 13503 for mf 13504 do 13505 # Strip MF so we end up with the name of the file. 13506 mf=`echo "$mf" | sed -e 's/:.*$//'` 13507 # Check whether this is an Automake generated Makefile or not. 13508 # We used to match only the files named 'Makefile.in', but 13509 # some people rename them; so instead we look at the file content. 13510 # Grep'ing the first line is not enough: some people post-process 13511 # each Makefile.in and add a new line on top of each file to say so. 13512 # Grep'ing the whole file is not good either: AIX grep has a line 13513 # limit of 2048, but all sed's we know have understand at least 4000. 13514 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 13515 dirpart=`$as_dirname -- "$mf" || 13516$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13517 X"$mf" : 'X\(//\)[^/]' \| \ 13518 X"$mf" : 'X\(//\)$' \| \ 13519 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 13520$as_echo X"$mf" | 13521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13522 s//\1/ 13523 q 13524 } 13525 /^X\(\/\/\)[^/].*/{ 13526 s//\1/ 13527 q 13528 } 13529 /^X\(\/\/\)$/{ 13530 s//\1/ 13531 q 13532 } 13533 /^X\(\/\).*/{ 13534 s//\1/ 13535 q 13536 } 13537 s/.*/./; q'` 13538 else 13539 continue 13540 fi 13541 # Extract the definition of DEPDIR, am__include, and am__quote 13542 # from the Makefile without running 'make'. 13543 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 13544 test -z "$DEPDIR" && continue 13545 am__include=`sed -n 's/^am__include = //p' < "$mf"` 13546 test -z "am__include" && continue 13547 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 13548 # Find all dependency output files, they are included files with 13549 # $(DEPDIR) in their names. We invoke sed twice because it is the 13550 # simplest approach to changing $(DEPDIR) to its actual value in the 13551 # expansion. 13552 for file in `sed -n " 13553 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 13554 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 13555 # Make sure the directory exists. 13556 test -f "$dirpart/$file" && continue 13557 fdir=`$as_dirname -- "$file" || 13558$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13559 X"$file" : 'X\(//\)[^/]' \| \ 13560 X"$file" : 'X\(//\)$' \| \ 13561 X"$file" : 'X\(/\)' \| . 2>/dev/null || 13562$as_echo X"$file" | 13563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13564 s//\1/ 13565 q 13566 } 13567 /^X\(\/\/\)[^/].*/{ 13568 s//\1/ 13569 q 13570 } 13571 /^X\(\/\/\)$/{ 13572 s//\1/ 13573 q 13574 } 13575 /^X\(\/\).*/{ 13576 s//\1/ 13577 q 13578 } 13579 s/.*/./; q'` 13580 as_dir=$dirpart/$fdir; as_fn_mkdir_p 13581 # echo "creating $dirpart/$file" 13582 echo '# dummy' > "$dirpart/$file" 13583 done 13584 done 13585} 13586 ;; 13587 "libtool":C) 13588 13589 # See if we are running on zsh, and set the options which allow our 13590 # commands through without removal of \ escapes. 13591 if test -n "${ZSH_VERSION+set}" ; then 13592 setopt NO_GLOB_SUBST 13593 fi 13594 13595 cfgfile="${ofile}T" 13596 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 13597 $RM "$cfgfile" 13598 13599 cat <<_LT_EOF >> "$cfgfile" 13600#! $SHELL 13601 13602# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 13603# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 13604# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13605# NOTE: Changes made to this file will be lost: look at ltmain.sh. 13606# 13607# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 13608# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 13609# Foundation, Inc. 13610# Written by Gordon Matzigkeit, 1996 13611# 13612# This file is part of GNU Libtool. 13613# 13614# GNU Libtool is free software; you can redistribute it and/or 13615# modify it under the terms of the GNU General Public License as 13616# published by the Free Software Foundation; either version 2 of 13617# the License, or (at your option) any later version. 13618# 13619# As a special exception to the GNU General Public License, 13620# if you distribute this file as part of a program or library that 13621# is built using GNU Libtool, you may include this file under the 13622# same distribution terms that you use for the rest of that program. 13623# 13624# GNU Libtool is distributed in the hope that it will be useful, 13625# but WITHOUT ANY WARRANTY; without even the implied warranty of 13626# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13627# GNU General Public License for more details. 13628# 13629# You should have received a copy of the GNU General Public License 13630# along with GNU Libtool; see the file COPYING. If not, a copy 13631# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 13632# obtained by writing to the Free Software Foundation, Inc., 13633# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 13634 13635 13636# The names of the tagged configurations supported by this script. 13637available_tags="" 13638 13639# ### BEGIN LIBTOOL CONFIG 13640 13641# Whether or not to build shared libraries. 13642build_libtool_libs=$enable_shared 13643 13644# Which release of libtool.m4 was used? 13645macro_version=$macro_version 13646macro_revision=$macro_revision 13647 13648# Whether or not to build static libraries. 13649build_old_libs=$enable_static 13650 13651# What type of objects to build. 13652pic_mode=$pic_mode 13653 13654# Whether or not to optimize for fast installation. 13655fast_install=$enable_fast_install 13656 13657# Shell to use when invoking shell scripts. 13658SHELL=$lt_SHELL 13659 13660# An echo program that protects backslashes. 13661ECHO=$lt_ECHO 13662 13663# The PATH separator for the build system. 13664PATH_SEPARATOR=$lt_PATH_SEPARATOR 13665 13666# The host system. 13667host_alias=$host_alias 13668host=$host 13669host_os=$host_os 13670 13671# The build system. 13672build_alias=$build_alias 13673build=$build 13674build_os=$build_os 13675 13676# A sed program that does not truncate output. 13677SED=$lt_SED 13678 13679# Sed that helps us avoid accidentally triggering echo(1) options like -n. 13680Xsed="\$SED -e 1s/^X//" 13681 13682# A grep program that handles long lines. 13683GREP=$lt_GREP 13684 13685# An ERE matcher. 13686EGREP=$lt_EGREP 13687 13688# A literal string matcher. 13689FGREP=$lt_FGREP 13690 13691# A BSD- or MS-compatible name lister. 13692NM=$lt_NM 13693 13694# Whether we need soft or hard links. 13695LN_S=$lt_LN_S 13696 13697# What is the maximum length of a command? 13698max_cmd_len=$max_cmd_len 13699 13700# Object file suffix (normally "o"). 13701objext=$ac_objext 13702 13703# Executable file suffix (normally ""). 13704exeext=$exeext 13705 13706# whether the shell understands "unset". 13707lt_unset=$lt_unset 13708 13709# turn spaces into newlines. 13710SP2NL=$lt_lt_SP2NL 13711 13712# turn newlines into spaces. 13713NL2SP=$lt_lt_NL2SP 13714 13715# convert \$build file names to \$host format. 13716to_host_file_cmd=$lt_cv_to_host_file_cmd 13717 13718# convert \$build files to toolchain format. 13719to_tool_file_cmd=$lt_cv_to_tool_file_cmd 13720 13721# An object symbol dumper. 13722OBJDUMP=$lt_OBJDUMP 13723 13724# Method to check whether dependent libraries are shared objects. 13725deplibs_check_method=$lt_deplibs_check_method 13726 13727# Command to use when deplibs_check_method = "file_magic". 13728file_magic_cmd=$lt_file_magic_cmd 13729 13730# How to find potential files when deplibs_check_method = "file_magic". 13731file_magic_glob=$lt_file_magic_glob 13732 13733# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 13734want_nocaseglob=$lt_want_nocaseglob 13735 13736# DLL creation program. 13737DLLTOOL=$lt_DLLTOOL 13738 13739# Command to associate shared and link libraries. 13740sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 13741 13742# The archiver. 13743AR=$lt_AR 13744 13745# Flags to create an archive. 13746AR_FLAGS=$lt_AR_FLAGS 13747 13748# How to feed a file listing to the archiver. 13749archiver_list_spec=$lt_archiver_list_spec 13750 13751# A symbol stripping program. 13752STRIP=$lt_STRIP 13753 13754# Commands used to install an old-style archive. 13755RANLIB=$lt_RANLIB 13756old_postinstall_cmds=$lt_old_postinstall_cmds 13757old_postuninstall_cmds=$lt_old_postuninstall_cmds 13758 13759# Whether to use a lock for old archive extraction. 13760lock_old_archive_extraction=$lock_old_archive_extraction 13761 13762# A C compiler. 13763LTCC=$lt_CC 13764 13765# LTCC compiler flags. 13766LTCFLAGS=$lt_CFLAGS 13767 13768# Take the output of nm and produce a listing of raw symbols and C names. 13769global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 13770 13771# Transform the output of nm in a proper C declaration. 13772global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 13773 13774# Transform the output of nm in a C name address pair. 13775global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 13776 13777# Transform the output of nm in a C name address pair when lib prefix is needed. 13778global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 13779 13780# Specify filename containing input files for \$NM. 13781nm_file_list_spec=$lt_nm_file_list_spec 13782 13783# The root where to search for dependent libraries,and in which our libraries should be installed. 13784lt_sysroot=$lt_sysroot 13785 13786# The name of the directory that contains temporary libtool files. 13787objdir=$objdir 13788 13789# Used to examine libraries when file_magic_cmd begins with "file". 13790MAGIC_CMD=$MAGIC_CMD 13791 13792# Must we lock files when doing compilation? 13793need_locks=$lt_need_locks 13794 13795# Manifest tool. 13796MANIFEST_TOOL=$lt_MANIFEST_TOOL 13797 13798# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 13799DSYMUTIL=$lt_DSYMUTIL 13800 13801# Tool to change global to local symbols on Mac OS X. 13802NMEDIT=$lt_NMEDIT 13803 13804# Tool to manipulate fat objects and archives on Mac OS X. 13805LIPO=$lt_LIPO 13806 13807# ldd/readelf like tool for Mach-O binaries on Mac OS X. 13808OTOOL=$lt_OTOOL 13809 13810# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 13811OTOOL64=$lt_OTOOL64 13812 13813# Old archive suffix (normally "a"). 13814libext=$libext 13815 13816# Shared library suffix (normally ".so"). 13817shrext_cmds=$lt_shrext_cmds 13818 13819# The commands to extract the exported symbol list from a shared archive. 13820extract_expsyms_cmds=$lt_extract_expsyms_cmds 13821 13822# Variables whose values should be saved in libtool wrapper scripts and 13823# restored at link time. 13824variables_saved_for_relink=$lt_variables_saved_for_relink 13825 13826# Do we need the "lib" prefix for modules? 13827need_lib_prefix=$need_lib_prefix 13828 13829# Do we need a version for libraries? 13830need_version=$need_version 13831 13832# Library versioning type. 13833version_type=$version_type 13834 13835# Shared library runtime path variable. 13836runpath_var=$runpath_var 13837 13838# Shared library path variable. 13839shlibpath_var=$shlibpath_var 13840 13841# Is shlibpath searched before the hard-coded library search path? 13842shlibpath_overrides_runpath=$shlibpath_overrides_runpath 13843 13844# Format of library name prefix. 13845libname_spec=$lt_libname_spec 13846 13847# List of archive names. First name is the real one, the rest are links. 13848# The last name is the one that the linker finds with -lNAME 13849library_names_spec=$lt_library_names_spec 13850 13851# The coded name of the library, if different from the real name. 13852soname_spec=$lt_soname_spec 13853 13854# Permission mode override for installation of shared libraries. 13855install_override_mode=$lt_install_override_mode 13856 13857# Command to use after installation of a shared archive. 13858postinstall_cmds=$lt_postinstall_cmds 13859 13860# Command to use after uninstallation of a shared archive. 13861postuninstall_cmds=$lt_postuninstall_cmds 13862 13863# Commands used to finish a libtool library installation in a directory. 13864finish_cmds=$lt_finish_cmds 13865 13866# As "finish_cmds", except a single script fragment to be evaled but 13867# not shown. 13868finish_eval=$lt_finish_eval 13869 13870# Whether we should hardcode library paths into libraries. 13871hardcode_into_libs=$hardcode_into_libs 13872 13873# Compile-time system search path for libraries. 13874sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 13875 13876# Run-time system search path for libraries. 13877sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 13878 13879# Whether dlopen is supported. 13880dlopen_support=$enable_dlopen 13881 13882# Whether dlopen of programs is supported. 13883dlopen_self=$enable_dlopen_self 13884 13885# Whether dlopen of statically linked programs is supported. 13886dlopen_self_static=$enable_dlopen_self_static 13887 13888# Commands to strip libraries. 13889old_striplib=$lt_old_striplib 13890striplib=$lt_striplib 13891 13892 13893# The linker used to build libraries. 13894LD=$lt_LD 13895 13896# How to create reloadable object files. 13897reload_flag=$lt_reload_flag 13898reload_cmds=$lt_reload_cmds 13899 13900# Commands used to build an old-style archive. 13901old_archive_cmds=$lt_old_archive_cmds 13902 13903# A language specific compiler. 13904CC=$lt_compiler 13905 13906# Is the compiler the GNU compiler? 13907with_gcc=$GCC 13908 13909# Compiler flag to turn off builtin functions. 13910no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 13911 13912# Additional compiler flags for building library objects. 13913pic_flag=$lt_lt_prog_compiler_pic 13914 13915# How to pass a linker flag through the compiler. 13916wl=$lt_lt_prog_compiler_wl 13917 13918# Compiler flag to prevent dynamic linking. 13919link_static_flag=$lt_lt_prog_compiler_static 13920 13921# Does compiler simultaneously support -c and -o options? 13922compiler_c_o=$lt_lt_cv_prog_compiler_c_o 13923 13924# Whether or not to add -lc for building shared libraries. 13925build_libtool_need_lc=$archive_cmds_need_lc 13926 13927# Whether or not to disallow shared libs when runtime libs are static. 13928allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 13929 13930# Compiler flag to allow reflexive dlopens. 13931export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 13932 13933# Compiler flag to generate shared objects directly from archives. 13934whole_archive_flag_spec=$lt_whole_archive_flag_spec 13935 13936# Whether the compiler copes with passing no objects directly. 13937compiler_needs_object=$lt_compiler_needs_object 13938 13939# Create an old-style archive from a shared archive. 13940old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 13941 13942# Create a temporary old-style archive to link instead of a shared archive. 13943old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 13944 13945# Commands used to build a shared archive. 13946archive_cmds=$lt_archive_cmds 13947archive_expsym_cmds=$lt_archive_expsym_cmds 13948 13949# Commands used to build a loadable module if different from building 13950# a shared archive. 13951module_cmds=$lt_module_cmds 13952module_expsym_cmds=$lt_module_expsym_cmds 13953 13954# Whether we are building with GNU ld or not. 13955with_gnu_ld=$lt_with_gnu_ld 13956 13957# Flag that allows shared libraries with undefined symbols to be built. 13958allow_undefined_flag=$lt_allow_undefined_flag 13959 13960# Flag that enforces no undefined symbols. 13961no_undefined_flag=$lt_no_undefined_flag 13962 13963# Flag to hardcode \$libdir into a binary during linking. 13964# This must work even if \$libdir does not exist 13965hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 13966 13967# Whether we need a single "-rpath" flag with a separated argument. 13968hardcode_libdir_separator=$lt_hardcode_libdir_separator 13969 13970# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13971# DIR into the resulting binary. 13972hardcode_direct=$hardcode_direct 13973 13974# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13975# DIR into the resulting binary and the resulting library dependency is 13976# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 13977# library is relocated. 13978hardcode_direct_absolute=$hardcode_direct_absolute 13979 13980# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 13981# into the resulting binary. 13982hardcode_minus_L=$hardcode_minus_L 13983 13984# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 13985# into the resulting binary. 13986hardcode_shlibpath_var=$hardcode_shlibpath_var 13987 13988# Set to "yes" if building a shared library automatically hardcodes DIR 13989# into the library and all subsequent libraries and executables linked 13990# against it. 13991hardcode_automatic=$hardcode_automatic 13992 13993# Set to yes if linker adds runtime paths of dependent libraries 13994# to runtime path list. 13995inherit_rpath=$inherit_rpath 13996 13997# Whether libtool must link a program against all its dependency libraries. 13998link_all_deplibs=$link_all_deplibs 13999 14000# Set to "yes" if exported symbols are required. 14001always_export_symbols=$always_export_symbols 14002 14003# The commands to list exported symbols. 14004export_symbols_cmds=$lt_export_symbols_cmds 14005 14006# Symbols that should not be listed in the preloaded symbols. 14007exclude_expsyms=$lt_exclude_expsyms 14008 14009# Symbols that must always be exported. 14010include_expsyms=$lt_include_expsyms 14011 14012# Commands necessary for linking programs (against libraries) with templates. 14013prelink_cmds=$lt_prelink_cmds 14014 14015# Commands necessary for finishing linking programs. 14016postlink_cmds=$lt_postlink_cmds 14017 14018# Specify filename containing input files. 14019file_list_spec=$lt_file_list_spec 14020 14021# How to hardcode a shared library path into an executable. 14022hardcode_action=$hardcode_action 14023 14024# ### END LIBTOOL CONFIG 14025 14026_LT_EOF 14027 14028 case $host_os in 14029 aix3*) 14030 cat <<\_LT_EOF >> "$cfgfile" 14031# AIX sometimes has problems with the GCC collect2 program. For some 14032# reason, if we set the COLLECT_NAMES environment variable, the problems 14033# vanish in a puff of smoke. 14034if test "X${COLLECT_NAMES+set}" != Xset; then 14035 COLLECT_NAMES= 14036 export COLLECT_NAMES 14037fi 14038_LT_EOF 14039 ;; 14040 esac 14041 14042 14043ltmain="$ac_aux_dir/ltmain.sh" 14044 14045 14046 # We use sed instead of cat because bash on DJGPP gets confused if 14047 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14048 # text mode, it properly converts lines to CR/LF. This bash problem 14049 # is reportedly fixed, but why not run on old versions too? 14050 sed '$q' "$ltmain" >> "$cfgfile" \ 14051 || (rm -f "$cfgfile"; exit 1) 14052 14053 if test x"$xsi_shell" = xyes; then 14054 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 14055func_dirname ()\ 14056{\ 14057\ case ${1} in\ 14058\ */*) func_dirname_result="${1%/*}${2}" ;;\ 14059\ * ) func_dirname_result="${3}" ;;\ 14060\ esac\ 14061} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 14062 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14063 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14064test 0 -eq $? || _lt_function_replace_fail=: 14065 14066 14067 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 14068func_basename ()\ 14069{\ 14070\ func_basename_result="${1##*/}"\ 14071} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 14072 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14073 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14074test 0 -eq $? || _lt_function_replace_fail=: 14075 14076 14077 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 14078func_dirname_and_basename ()\ 14079{\ 14080\ case ${1} in\ 14081\ */*) func_dirname_result="${1%/*}${2}" ;;\ 14082\ * ) func_dirname_result="${3}" ;;\ 14083\ esac\ 14084\ func_basename_result="${1##*/}"\ 14085} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 14086 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14087 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14088test 0 -eq $? || _lt_function_replace_fail=: 14089 14090 14091 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 14092func_stripname ()\ 14093{\ 14094\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 14095\ # positional parameters, so assign one to ordinary parameter first.\ 14096\ func_stripname_result=${3}\ 14097\ func_stripname_result=${func_stripname_result#"${1}"}\ 14098\ func_stripname_result=${func_stripname_result%"${2}"}\ 14099} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 14100 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14101 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14102test 0 -eq $? || _lt_function_replace_fail=: 14103 14104 14105 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 14106func_split_long_opt ()\ 14107{\ 14108\ func_split_long_opt_name=${1%%=*}\ 14109\ func_split_long_opt_arg=${1#*=}\ 14110} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 14111 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14112 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14113test 0 -eq $? || _lt_function_replace_fail=: 14114 14115 14116 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 14117func_split_short_opt ()\ 14118{\ 14119\ func_split_short_opt_arg=${1#??}\ 14120\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 14121} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 14122 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14123 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14124test 0 -eq $? || _lt_function_replace_fail=: 14125 14126 14127 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 14128func_lo2o ()\ 14129{\ 14130\ case ${1} in\ 14131\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 14132\ *) func_lo2o_result=${1} ;;\ 14133\ esac\ 14134} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 14135 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14136 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14137test 0 -eq $? || _lt_function_replace_fail=: 14138 14139 14140 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 14141func_xform ()\ 14142{\ 14143 func_xform_result=${1%.*}.lo\ 14144} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 14145 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14146 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14147test 0 -eq $? || _lt_function_replace_fail=: 14148 14149 14150 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 14151func_arith ()\ 14152{\ 14153 func_arith_result=$(( $* ))\ 14154} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 14155 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14156 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14157test 0 -eq $? || _lt_function_replace_fail=: 14158 14159 14160 sed -e '/^func_len ()$/,/^} # func_len /c\ 14161func_len ()\ 14162{\ 14163 func_len_result=${#1}\ 14164} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 14165 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14166 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14167test 0 -eq $? || _lt_function_replace_fail=: 14168 14169fi 14170 14171if test x"$lt_shell_append" = xyes; then 14172 sed -e '/^func_append ()$/,/^} # func_append /c\ 14173func_append ()\ 14174{\ 14175 eval "${1}+=\\${2}"\ 14176} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 14177 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14178 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14179test 0 -eq $? || _lt_function_replace_fail=: 14180 14181 14182 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 14183func_append_quoted ()\ 14184{\ 14185\ func_quote_for_eval "${2}"\ 14186\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 14187} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 14188 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14189 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14190test 0 -eq $? || _lt_function_replace_fail=: 14191 14192 14193 # Save a `func_append' function call where possible by direct use of '+=' 14194 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 14195 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14196 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14197 test 0 -eq $? || _lt_function_replace_fail=: 14198else 14199 # Save a `func_append' function call even when '+=' is not available 14200 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 14201 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14202 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14203 test 0 -eq $? || _lt_function_replace_fail=: 14204fi 14205 14206if test x"$_lt_function_replace_fail" = x":"; then 14207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 14208$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 14209fi 14210 14211 14212 mv -f "$cfgfile" "$ofile" || 14213 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14214 chmod +x "$ofile" 14215 14216 ;; 14217 "default":C) 14218 ;; 14219 14220 esac 14221done # for ac_tag 14222 14223 14224as_fn_exit 0 14225_ACEOF 14226ac_clean_files=$ac_clean_files_save 14227 14228test $ac_write_fail = 0 || 14229 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14230 14231 14232# configure is writing to config.log, and then calls config.status. 14233# config.status does its own redirection, appending to config.log. 14234# Unfortunately, on DOS this fails, as config.log is still kept open 14235# by configure, so config.status won't be able to write to it; its 14236# output is simply discarded. So we exec the FD to /dev/null, 14237# effectively closing config.log, so it can be properly (re)opened and 14238# appended to by config.status. When coming back to configure, we 14239# need to make the FD available again. 14240if test "$no_create" != yes; then 14241 ac_cs_success=: 14242 ac_config_status_args= 14243 test "$silent" = yes && 14244 ac_config_status_args="$ac_config_status_args --quiet" 14245 exec 5>/dev/null 14246 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14247 exec 5>>config.log 14248 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14249 # would make configure fail if this is the last instruction. 14250 $ac_cs_success || as_fn_exit 1 14251fi 14252if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14254$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14255fi 14256 14257