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 199 200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 PATH=/empty FPATH=/empty; export PATH FPATH 205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 207test \$(( 1 + 1 )) = 2 || 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 $? 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 "$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 $as_val. Take advantage of shells that can avoid forks. The arguments 397# must be portable across $(()) 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 $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=. 581LIBOBJS= 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="lib/psiconv" 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 635PSICONVETCDIR 636ASCIIDOCS_FALSE 637ASCIIDOCS_TRUE 638HTML4DOCS_FALSE 639HTML4DOCS_TRUE 640XHTMLDOCS_FALSE 641XHTMLDOCS_TRUE 642LIB_DMALLOC 643LIBOBJS 644INT_32_BIT 645INT_16_BIT 646INT_8_BIT 647LIB_MAGICK 648IMAGEMAGICK 649cflags_set 650CPP 651OTOOL64 652OTOOL 653LIPO 654NMEDIT 655DSYMUTIL 656MANIFEST_TOOL 657RANLIB 658ac_ct_AR 659AR 660DLLTOOL 661OBJDUMP 662LN_S 663NM 664ac_ct_DUMPBIN 665DUMPBIN 666LD 667FGREP 668EGREP 669GREP 670SED 671am__fastdepCC_FALSE 672am__fastdepCC_TRUE 673CCDEPMODE 674am__nodep 675AMDEPBACKSLASH 676AMDEP_FALSE 677AMDEP_TRUE 678am__quote 679am__include 680DEPDIR 681OBJEXT 682EXEEXT 683ac_ct_CC 684CPPFLAGS 685LDFLAGS 686CFLAGS 687CC 688host_os 689host_vendor 690host_cpu 691host 692build_os 693build_vendor 694build_cpu 695build 696LIBTOOL 697am__untar 698am__tar 699AMTAR 700am__leading_dot 701SET_MAKE 702AWK 703mkdir_p 704MKDIR_P 705INSTALL_STRIP_PROGRAM 706STRIP 707install_sh 708MAKEINFO 709AUTOHEADER 710AUTOMAKE 711AUTOCONF 712ACLOCAL 713VERSION 714PACKAGE 715CYGPATH_W 716am__isrc 717INSTALL_DATA 718INSTALL_SCRIPT 719INSTALL_PROGRAM 720target_alias 721host_alias 722build_alias 723LIBS 724ECHO_T 725ECHO_N 726ECHO_C 727DEFS 728mandir 729localedir 730libdir 731psdir 732pdfdir 733dvidir 734htmldir 735infodir 736docdir 737oldincludedir 738includedir 739localstatedir 740sharedstatedir 741sysconfdir 742datadir 743datarootdir 744libexecdir 745sbindir 746bindir 747program_transform_name 748prefix 749exec_prefix 750PACKAGE_URL 751PACKAGE_BUGREPORT 752PACKAGE_STRING 753PACKAGE_VERSION 754PACKAGE_TARNAME 755PACKAGE_NAME 756PATH_SEPARATOR 757SHELL' 758ac_subst_files='' 759ac_user_opts=' 760enable_option_checking 761enable_shared 762enable_static 763with_pic 764enable_fast_install 765enable_dependency_tracking 766with_gnu_ld 767with_sysroot 768enable_libtool_lock 769enable_compile_warnings 770enable_iso_c 771with_imagemagick 772enable_dmalloc 773enable_xhtml_docs 774enable_html4_docs 775enable_ascii_docs 776with_etcdir 777' 778 ac_precious_vars='build_alias 779host_alias 780target_alias 781CC 782CFLAGS 783LDFLAGS 784LIBS 785CPPFLAGS 786CPP' 787 788 789# Initialize some variables set by options. 790ac_init_help= 791ac_init_version=false 792ac_unrecognized_opts= 793ac_unrecognized_sep= 794# The variables have the same names as the options, with 795# dashes changed to underlines. 796cache_file=/dev/null 797exec_prefix=NONE 798no_create= 799no_recursion= 800prefix=NONE 801program_prefix=NONE 802program_suffix=NONE 803program_transform_name=s,x,x, 804silent= 805site= 806srcdir= 807verbose= 808x_includes=NONE 809x_libraries=NONE 810 811# Installation directory options. 812# These are left unexpanded so users can "make install exec_prefix=/foo" 813# and all the variables that are supposed to be based on exec_prefix 814# by default will actually change. 815# Use braces instead of parens because sh, perl, etc. also accept them. 816# (The list follows the same order as the GNU Coding Standards.) 817bindir='${exec_prefix}/bin' 818sbindir='${exec_prefix}/sbin' 819libexecdir='${exec_prefix}/libexec' 820datarootdir='${prefix}/share' 821datadir='${datarootdir}' 822sysconfdir='${prefix}/etc' 823sharedstatedir='${prefix}/com' 824localstatedir='${prefix}/var' 825includedir='${prefix}/include' 826oldincludedir='/usr/include' 827docdir='${datarootdir}/doc/${PACKAGE}' 828infodir='${datarootdir}/info' 829htmldir='${docdir}' 830dvidir='${docdir}' 831pdfdir='${docdir}' 832psdir='${docdir}' 833libdir='${exec_prefix}/lib' 834localedir='${datarootdir}/locale' 835mandir='${datarootdir}/man' 836 837ac_prev= 838ac_dashdash= 839for ac_option 840do 841 # If the previous option needs an argument, assign it. 842 if test -n "$ac_prev"; then 843 eval $ac_prev=\$ac_option 844 ac_prev= 845 continue 846 fi 847 848 case $ac_option in 849 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 850 *=) ac_optarg= ;; 851 *) ac_optarg=yes ;; 852 esac 853 854 # Accept the important Cygnus configure options, so we can diagnose typos. 855 856 case $ac_dashdash$ac_option in 857 --) 858 ac_dashdash=yes ;; 859 860 -bindir | --bindir | --bindi | --bind | --bin | --bi) 861 ac_prev=bindir ;; 862 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 863 bindir=$ac_optarg ;; 864 865 -build | --build | --buil | --bui | --bu) 866 ac_prev=build_alias ;; 867 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 868 build_alias=$ac_optarg ;; 869 870 -cache-file | --cache-file | --cache-fil | --cache-fi \ 871 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 872 ac_prev=cache_file ;; 873 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 874 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 875 cache_file=$ac_optarg ;; 876 877 --config-cache | -C) 878 cache_file=config.cache ;; 879 880 -datadir | --datadir | --datadi | --datad) 881 ac_prev=datadir ;; 882 -datadir=* | --datadir=* | --datadi=* | --datad=*) 883 datadir=$ac_optarg ;; 884 885 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 886 | --dataroo | --dataro | --datar) 887 ac_prev=datarootdir ;; 888 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 889 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 890 datarootdir=$ac_optarg ;; 891 892 -disable-* | --disable-*) 893 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 894 # Reject names that are not valid shell variable names. 895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 896 as_fn_error $? "invalid feature name: $ac_useropt" 897 ac_useropt_orig=$ac_useropt 898 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 899 case $ac_user_opts in 900 *" 901"enable_$ac_useropt" 902"*) ;; 903 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 904 ac_unrecognized_sep=', ';; 905 esac 906 eval enable_$ac_useropt=no ;; 907 908 -docdir | --docdir | --docdi | --doc | --do) 909 ac_prev=docdir ;; 910 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 911 docdir=$ac_optarg ;; 912 913 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 914 ac_prev=dvidir ;; 915 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 916 dvidir=$ac_optarg ;; 917 918 -enable-* | --enable-*) 919 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 920 # Reject names that are not valid shell variable names. 921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 922 as_fn_error $? "invalid feature name: $ac_useropt" 923 ac_useropt_orig=$ac_useropt 924 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 925 case $ac_user_opts in 926 *" 927"enable_$ac_useropt" 928"*) ;; 929 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 930 ac_unrecognized_sep=', ';; 931 esac 932 eval enable_$ac_useropt=\$ac_optarg ;; 933 934 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 935 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 936 | --exec | --exe | --ex) 937 ac_prev=exec_prefix ;; 938 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 939 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 940 | --exec=* | --exe=* | --ex=*) 941 exec_prefix=$ac_optarg ;; 942 943 -gas | --gas | --ga | --g) 944 # Obsolete; use --with-gas. 945 with_gas=yes ;; 946 947 -help | --help | --hel | --he | -h) 948 ac_init_help=long ;; 949 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 950 ac_init_help=recursive ;; 951 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 952 ac_init_help=short ;; 953 954 -host | --host | --hos | --ho) 955 ac_prev=host_alias ;; 956 -host=* | --host=* | --hos=* | --ho=*) 957 host_alias=$ac_optarg ;; 958 959 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 960 ac_prev=htmldir ;; 961 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 962 | --ht=*) 963 htmldir=$ac_optarg ;; 964 965 -includedir | --includedir | --includedi | --included | --include \ 966 | --includ | --inclu | --incl | --inc) 967 ac_prev=includedir ;; 968 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 969 | --includ=* | --inclu=* | --incl=* | --inc=*) 970 includedir=$ac_optarg ;; 971 972 -infodir | --infodir | --infodi | --infod | --info | --inf) 973 ac_prev=infodir ;; 974 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 975 infodir=$ac_optarg ;; 976 977 -libdir | --libdir | --libdi | --libd) 978 ac_prev=libdir ;; 979 -libdir=* | --libdir=* | --libdi=* | --libd=*) 980 libdir=$ac_optarg ;; 981 982 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 983 | --libexe | --libex | --libe) 984 ac_prev=libexecdir ;; 985 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 986 | --libexe=* | --libex=* | --libe=*) 987 libexecdir=$ac_optarg ;; 988 989 -localedir | --localedir | --localedi | --localed | --locale) 990 ac_prev=localedir ;; 991 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 992 localedir=$ac_optarg ;; 993 994 -localstatedir | --localstatedir | --localstatedi | --localstated \ 995 | --localstate | --localstat | --localsta | --localst | --locals) 996 ac_prev=localstatedir ;; 997 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 998 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 999 localstatedir=$ac_optarg ;; 1000 1001 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1002 ac_prev=mandir ;; 1003 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1004 mandir=$ac_optarg ;; 1005 1006 -nfp | --nfp | --nf) 1007 # Obsolete; use --without-fp. 1008 with_fp=no ;; 1009 1010 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1011 | --no-cr | --no-c | -n) 1012 no_create=yes ;; 1013 1014 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1015 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1016 no_recursion=yes ;; 1017 1018 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1019 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1020 | --oldin | --oldi | --old | --ol | --o) 1021 ac_prev=oldincludedir ;; 1022 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1023 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1024 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1025 oldincludedir=$ac_optarg ;; 1026 1027 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1028 ac_prev=prefix ;; 1029 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1030 prefix=$ac_optarg ;; 1031 1032 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1033 | --program-pre | --program-pr | --program-p) 1034 ac_prev=program_prefix ;; 1035 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1036 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1037 program_prefix=$ac_optarg ;; 1038 1039 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1040 | --program-suf | --program-su | --program-s) 1041 ac_prev=program_suffix ;; 1042 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1043 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1044 program_suffix=$ac_optarg ;; 1045 1046 -program-transform-name | --program-transform-name \ 1047 | --program-transform-nam | --program-transform-na \ 1048 | --program-transform-n | --program-transform- \ 1049 | --program-transform | --program-transfor \ 1050 | --program-transfo | --program-transf \ 1051 | --program-trans | --program-tran \ 1052 | --progr-tra | --program-tr | --program-t) 1053 ac_prev=program_transform_name ;; 1054 -program-transform-name=* | --program-transform-name=* \ 1055 | --program-transform-nam=* | --program-transform-na=* \ 1056 | --program-transform-n=* | --program-transform-=* \ 1057 | --program-transform=* | --program-transfor=* \ 1058 | --program-transfo=* | --program-transf=* \ 1059 | --program-trans=* | --program-tran=* \ 1060 | --progr-tra=* | --program-tr=* | --program-t=*) 1061 program_transform_name=$ac_optarg ;; 1062 1063 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1064 ac_prev=pdfdir ;; 1065 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1066 pdfdir=$ac_optarg ;; 1067 1068 -psdir | --psdir | --psdi | --psd | --ps) 1069 ac_prev=psdir ;; 1070 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1071 psdir=$ac_optarg ;; 1072 1073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1074 | -silent | --silent | --silen | --sile | --sil) 1075 silent=yes ;; 1076 1077 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1078 ac_prev=sbindir ;; 1079 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1080 | --sbi=* | --sb=*) 1081 sbindir=$ac_optarg ;; 1082 1083 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1084 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1085 | --sharedst | --shareds | --shared | --share | --shar \ 1086 | --sha | --sh) 1087 ac_prev=sharedstatedir ;; 1088 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1089 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1090 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1091 | --sha=* | --sh=*) 1092 sharedstatedir=$ac_optarg ;; 1093 1094 -site | --site | --sit) 1095 ac_prev=site ;; 1096 -site=* | --site=* | --sit=*) 1097 site=$ac_optarg ;; 1098 1099 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1100 ac_prev=srcdir ;; 1101 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1102 srcdir=$ac_optarg ;; 1103 1104 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1105 | --syscon | --sysco | --sysc | --sys | --sy) 1106 ac_prev=sysconfdir ;; 1107 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1108 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1109 sysconfdir=$ac_optarg ;; 1110 1111 -target | --target | --targe | --targ | --tar | --ta | --t) 1112 ac_prev=target_alias ;; 1113 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1114 target_alias=$ac_optarg ;; 1115 1116 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1117 verbose=yes ;; 1118 1119 -version | --version | --versio | --versi | --vers | -V) 1120 ac_init_version=: ;; 1121 1122 -with-* | --with-*) 1123 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1124 # Reject names that are not valid shell variable names. 1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1126 as_fn_error $? "invalid package name: $ac_useropt" 1127 ac_useropt_orig=$ac_useropt 1128 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1129 case $ac_user_opts in 1130 *" 1131"with_$ac_useropt" 1132"*) ;; 1133 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1134 ac_unrecognized_sep=', ';; 1135 esac 1136 eval with_$ac_useropt=\$ac_optarg ;; 1137 1138 -without-* | --without-*) 1139 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1140 # Reject names that are not valid shell variable names. 1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1142 as_fn_error $? "invalid package name: $ac_useropt" 1143 ac_useropt_orig=$ac_useropt 1144 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1145 case $ac_user_opts in 1146 *" 1147"with_$ac_useropt" 1148"*) ;; 1149 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1150 ac_unrecognized_sep=', ';; 1151 esac 1152 eval with_$ac_useropt=no ;; 1153 1154 --x) 1155 # Obsolete; use --with-x. 1156 with_x=yes ;; 1157 1158 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1159 | --x-incl | --x-inc | --x-in | --x-i) 1160 ac_prev=x_includes ;; 1161 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1162 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1163 x_includes=$ac_optarg ;; 1164 1165 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1166 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1167 ac_prev=x_libraries ;; 1168 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1169 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1170 x_libraries=$ac_optarg ;; 1171 1172 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1173Try \`$0 --help' for more information" 1174 ;; 1175 1176 *=*) 1177 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1178 # Reject names that are not valid shell variable names. 1179 case $ac_envvar in #( 1180 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1181 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1182 esac 1183 eval $ac_envvar=\$ac_optarg 1184 export $ac_envvar ;; 1185 1186 *) 1187 # FIXME: should be removed in autoconf 3.0. 1188 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1189 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1190 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1191 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1192 ;; 1193 1194 esac 1195done 1196 1197if test -n "$ac_prev"; then 1198 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1199 as_fn_error $? "missing argument to $ac_option" 1200fi 1201 1202if test -n "$ac_unrecognized_opts"; then 1203 case $enable_option_checking in 1204 no) ;; 1205 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1206 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1207 esac 1208fi 1209 1210# Check all directory arguments for consistency. 1211for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1212 datadir sysconfdir sharedstatedir localstatedir includedir \ 1213 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1214 libdir localedir mandir 1215do 1216 eval ac_val=\$$ac_var 1217 # Remove trailing slashes. 1218 case $ac_val in 1219 */ ) 1220 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1221 eval $ac_var=\$ac_val;; 1222 esac 1223 # Be sure to have absolute directory names. 1224 case $ac_val in 1225 [\\/$]* | ?:[\\/]* ) continue;; 1226 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1227 esac 1228 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1229done 1230 1231# There might be people who depend on the old broken behavior: `$host' 1232# used to hold the argument of --host etc. 1233# FIXME: To remove some day. 1234build=$build_alias 1235host=$host_alias 1236target=$target_alias 1237 1238# FIXME: To remove some day. 1239if test "x$host_alias" != x; then 1240 if test "x$build_alias" = x; then 1241 cross_compiling=maybe 1242 elif test "x$build_alias" != "x$host_alias"; then 1243 cross_compiling=yes 1244 fi 1245fi 1246 1247ac_tool_prefix= 1248test -n "$host_alias" && ac_tool_prefix=$host_alias- 1249 1250test "$silent" = yes && exec 6>/dev/null 1251 1252 1253ac_pwd=`pwd` && test -n "$ac_pwd" && 1254ac_ls_di=`ls -di .` && 1255ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1256 as_fn_error $? "working directory cannot be determined" 1257test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1258 as_fn_error $? "pwd does not report name of working directory" 1259 1260 1261# Find the source files, if location was not specified. 1262if test -z "$srcdir"; then 1263 ac_srcdir_defaulted=yes 1264 # Try the directory containing this script, then the parent directory. 1265 ac_confdir=`$as_dirname -- "$as_myself" || 1266$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1267 X"$as_myself" : 'X\(//\)[^/]' \| \ 1268 X"$as_myself" : 'X\(//\)$' \| \ 1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1270$as_echo X"$as_myself" | 1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1272 s//\1/ 1273 q 1274 } 1275 /^X\(\/\/\)[^/].*/{ 1276 s//\1/ 1277 q 1278 } 1279 /^X\(\/\/\)$/{ 1280 s//\1/ 1281 q 1282 } 1283 /^X\(\/\).*/{ 1284 s//\1/ 1285 q 1286 } 1287 s/.*/./; q'` 1288 srcdir=$ac_confdir 1289 if test ! -r "$srcdir/$ac_unique_file"; then 1290 srcdir=.. 1291 fi 1292else 1293 ac_srcdir_defaulted=no 1294fi 1295if test ! -r "$srcdir/$ac_unique_file"; then 1296 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1297 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1298fi 1299ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1300ac_abs_confdir=`( 1301 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1302 pwd)` 1303# When building in place, set srcdir=. 1304if test "$ac_abs_confdir" = "$ac_pwd"; then 1305 srcdir=. 1306fi 1307# Remove unnecessary trailing slashes from srcdir. 1308# Double slashes in file names in object file debugging info 1309# mess up M-x gdb in Emacs. 1310case $srcdir in 1311*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1312esac 1313for ac_var in $ac_precious_vars; do 1314 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1315 eval ac_env_${ac_var}_value=\$${ac_var} 1316 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1317 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1318done 1319 1320# 1321# Report the --help message. 1322# 1323if test "$ac_init_help" = "long"; then 1324 # Omit some internal or obsolete options to make the list less imposing. 1325 # This message is too long to be a string in the A/UX 3.1 sh. 1326 cat <<_ACEOF 1327\`configure' configures this package to adapt to many kinds of systems. 1328 1329Usage: $0 [OPTION]... [VAR=VALUE]... 1330 1331To assign environment variables (e.g., CC, CFLAGS...), specify them as 1332VAR=VALUE. See below for descriptions of some of the useful variables. 1333 1334Defaults for the options are specified in brackets. 1335 1336Configuration: 1337 -h, --help display this help and exit 1338 --help=short display options specific to this package 1339 --help=recursive display the short help of all the included packages 1340 -V, --version display version information and exit 1341 -q, --quiet, --silent do not print \`checking ...' messages 1342 --cache-file=FILE cache test results in FILE [disabled] 1343 -C, --config-cache alias for \`--cache-file=config.cache' 1344 -n, --no-create do not create output files 1345 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1346 1347Installation directories: 1348 --prefix=PREFIX install architecture-independent files in PREFIX 1349 [$ac_default_prefix] 1350 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1351 [PREFIX] 1352 1353By default, \`make install' will install all the files in 1354\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1355an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1356for instance \`--prefix=\$HOME'. 1357 1358For better control, use the options below. 1359 1360Fine tuning of the installation directories: 1361 --bindir=DIR user executables [EPREFIX/bin] 1362 --sbindir=DIR system admin executables [EPREFIX/sbin] 1363 --libexecdir=DIR program executables [EPREFIX/libexec] 1364 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1365 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1366 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1367 --libdir=DIR object code libraries [EPREFIX/lib] 1368 --includedir=DIR C header files [PREFIX/include] 1369 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1370 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1371 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1372 --infodir=DIR info documentation [DATAROOTDIR/info] 1373 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1374 --mandir=DIR man documentation [DATAROOTDIR/man] 1375 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1376 --htmldir=DIR html documentation [DOCDIR] 1377 --dvidir=DIR dvi documentation [DOCDIR] 1378 --pdfdir=DIR pdf documentation [DOCDIR] 1379 --psdir=DIR ps documentation [DOCDIR] 1380_ACEOF 1381 1382 cat <<\_ACEOF 1383 1384Program names: 1385 --program-prefix=PREFIX prepend PREFIX to installed program names 1386 --program-suffix=SUFFIX append SUFFIX to installed program names 1387 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1388 1389System types: 1390 --build=BUILD configure for building on BUILD [guessed] 1391 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1392_ACEOF 1393fi 1394 1395if test -n "$ac_init_help"; then 1396 1397 cat <<\_ACEOF 1398 1399Optional Features: 1400 --disable-option-checking ignore unrecognized --enable/--with options 1401 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1402 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1403 --enable-shared[=PKGS] build shared libraries [default=yes] 1404 --enable-static[=PKGS] build static libraries [default=yes] 1405 --enable-fast-install[=PKGS] 1406 optimize for fast installation [default=yes] 1407 --disable-dependency-tracking speeds up one-time build 1408 --enable-dependency-tracking do not reject slow dependency extractors 1409 --disable-libtool-lock avoid locking (might break parallel builds) 1410 --enable-compile-warnings=no/minimum/yes Turn on compiler warnings. 1411 --enable-iso-c Try to warn if code is not ISO C 1412 --enable-dmalloc Enable dmalloc for developers (default:off) 1413 --disable-xhtml-docs Disable generation of XHTML docs (default: on) 1414 --enable-html4-docs Enable generation of HTML 4 docs (default: off) 1415 --enable-ascii-docs Enable generation of ASCII docs (default: off) 1416 1417Optional Packages: 1418 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1419 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1420 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1421 both] 1422 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1423 --with-sysroot=DIR Search for dependent libraries within DIR 1424 (or the compiler's sysroot if not specified). 1425 --with-imagemagick enable ImageMagick (default = yes) 1426 --with-etcdir=DIR Set configfile dir (default: SYSCONFDIR/psiconv) 1427 1428Some influential environment variables: 1429 CC C compiler command 1430 CFLAGS C compiler flags 1431 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1432 nonstandard directory <lib dir> 1433 LIBS libraries to pass to the linker, e.g. -l<library> 1434 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1435 you have headers in a nonstandard directory <include dir> 1436 CPP C preprocessor 1437 1438Use these variables to override the choices made by `configure' or to help 1439it to find libraries and programs with nonstandard names/locations. 1440 1441Report bugs to the package provider. 1442_ACEOF 1443ac_status=$? 1444fi 1445 1446if test "$ac_init_help" = "recursive"; then 1447 # If there are subdirs, report their specific --help. 1448 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1449 test -d "$ac_dir" || 1450 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1451 continue 1452 ac_builddir=. 1453 1454case "$ac_dir" in 1455.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1456*) 1457 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1458 # A ".." for each directory in $ac_dir_suffix. 1459 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1460 case $ac_top_builddir_sub in 1461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1463 esac ;; 1464esac 1465ac_abs_top_builddir=$ac_pwd 1466ac_abs_builddir=$ac_pwd$ac_dir_suffix 1467# for backward compatibility: 1468ac_top_builddir=$ac_top_build_prefix 1469 1470case $srcdir in 1471 .) # We are building in place. 1472 ac_srcdir=. 1473 ac_top_srcdir=$ac_top_builddir_sub 1474 ac_abs_top_srcdir=$ac_pwd ;; 1475 [\\/]* | ?:[\\/]* ) # Absolute name. 1476 ac_srcdir=$srcdir$ac_dir_suffix; 1477 ac_top_srcdir=$srcdir 1478 ac_abs_top_srcdir=$srcdir ;; 1479 *) # Relative name. 1480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1481 ac_top_srcdir=$ac_top_build_prefix$srcdir 1482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1483esac 1484ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1485 1486 cd "$ac_dir" || { ac_status=$?; continue; } 1487 # Check for guested configure. 1488 if test -f "$ac_srcdir/configure.gnu"; then 1489 echo && 1490 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1491 elif test -f "$ac_srcdir/configure"; then 1492 echo && 1493 $SHELL "$ac_srcdir/configure" --help=recursive 1494 else 1495 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1496 fi || ac_status=$? 1497 cd "$ac_pwd" || { ac_status=$?; break; } 1498 done 1499fi 1500 1501test -n "$ac_init_help" && exit $ac_status 1502if $ac_init_version; then 1503 cat <<\_ACEOF 1504configure 1505generated by GNU Autoconf 2.69 1506 1507Copyright (C) 2012 Free Software Foundation, Inc. 1508This configure script is free software; the Free Software Foundation 1509gives unlimited permission to copy, distribute and modify it. 1510_ACEOF 1511 exit 1512fi 1513 1514## ------------------------ ## 1515## Autoconf initialization. ## 1516## ------------------------ ## 1517 1518# ac_fn_c_try_compile LINENO 1519# -------------------------- 1520# Try to compile conftest.$ac_ext, and return whether this succeeded. 1521ac_fn_c_try_compile () 1522{ 1523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1524 rm -f conftest.$ac_objext 1525 if { { ac_try="$ac_compile" 1526case "(($ac_try" in 1527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1528 *) ac_try_echo=$ac_try;; 1529esac 1530eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1531$as_echo "$ac_try_echo"; } >&5 1532 (eval "$ac_compile") 2>conftest.err 1533 ac_status=$? 1534 if test -s conftest.err; then 1535 grep -v '^ *+' conftest.err >conftest.er1 1536 cat conftest.er1 >&5 1537 mv -f conftest.er1 conftest.err 1538 fi 1539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1540 test $ac_status = 0; } && { 1541 test -z "$ac_c_werror_flag" || 1542 test ! -s conftest.err 1543 } && test -s conftest.$ac_objext; then : 1544 ac_retval=0 1545else 1546 $as_echo "$as_me: failed program was:" >&5 1547sed 's/^/| /' conftest.$ac_ext >&5 1548 1549 ac_retval=1 1550fi 1551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1552 as_fn_set_status $ac_retval 1553 1554} # ac_fn_c_try_compile 1555 1556# ac_fn_c_try_link LINENO 1557# ----------------------- 1558# Try to link conftest.$ac_ext, and return whether this succeeded. 1559ac_fn_c_try_link () 1560{ 1561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1562 rm -f conftest.$ac_objext conftest$ac_exeext 1563 if { { ac_try="$ac_link" 1564case "(($ac_try" in 1565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1566 *) ac_try_echo=$ac_try;; 1567esac 1568eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1569$as_echo "$ac_try_echo"; } >&5 1570 (eval "$ac_link") 2>conftest.err 1571 ac_status=$? 1572 if test -s conftest.err; then 1573 grep -v '^ *+' conftest.err >conftest.er1 1574 cat conftest.er1 >&5 1575 mv -f conftest.er1 conftest.err 1576 fi 1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1578 test $ac_status = 0; } && { 1579 test -z "$ac_c_werror_flag" || 1580 test ! -s conftest.err 1581 } && test -s conftest$ac_exeext && { 1582 test "$cross_compiling" = yes || 1583 test -x conftest$ac_exeext 1584 }; then : 1585 ac_retval=0 1586else 1587 $as_echo "$as_me: failed program was:" >&5 1588sed 's/^/| /' conftest.$ac_ext >&5 1589 1590 ac_retval=1 1591fi 1592 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1593 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1594 # interfere with the next link command; also delete a directory that is 1595 # left behind by Apple's compiler. We do this before executing the actions. 1596 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1598 as_fn_set_status $ac_retval 1599 1600} # ac_fn_c_try_link 1601 1602# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1603# ------------------------------------------------------- 1604# Tests whether HEADER exists and can be compiled using the include files in 1605# INCLUDES, setting the cache variable VAR accordingly. 1606ac_fn_c_check_header_compile () 1607{ 1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1610$as_echo_n "checking for $2... " >&6; } 1611if eval \${$3+:} false; then : 1612 $as_echo_n "(cached) " >&6 1613else 1614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1615/* end confdefs.h. */ 1616$4 1617#include <$2> 1618_ACEOF 1619if ac_fn_c_try_compile "$LINENO"; then : 1620 eval "$3=yes" 1621else 1622 eval "$3=no" 1623fi 1624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1625fi 1626eval ac_res=\$$3 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1628$as_echo "$ac_res" >&6; } 1629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1630 1631} # ac_fn_c_check_header_compile 1632 1633# ac_fn_c_try_cpp LINENO 1634# ---------------------- 1635# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1636ac_fn_c_try_cpp () 1637{ 1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1639 if { { ac_try="$ac_cpp conftest.$ac_ext" 1640case "(($ac_try" in 1641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1642 *) ac_try_echo=$ac_try;; 1643esac 1644eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1645$as_echo "$ac_try_echo"; } >&5 1646 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1647 ac_status=$? 1648 if test -s conftest.err; then 1649 grep -v '^ *+' conftest.err >conftest.er1 1650 cat conftest.er1 >&5 1651 mv -f conftest.er1 conftest.err 1652 fi 1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1654 test $ac_status = 0; } > conftest.i && { 1655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1656 test ! -s conftest.err 1657 }; then : 1658 ac_retval=0 1659else 1660 $as_echo "$as_me: failed program was:" >&5 1661sed 's/^/| /' conftest.$ac_ext >&5 1662 1663 ac_retval=1 1664fi 1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1666 as_fn_set_status $ac_retval 1667 1668} # ac_fn_c_try_cpp 1669 1670# ac_fn_c_try_run LINENO 1671# ---------------------- 1672# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1673# that executables *can* be run. 1674ac_fn_c_try_run () 1675{ 1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1677 if { { ac_try="$ac_link" 1678case "(($ac_try" in 1679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1680 *) ac_try_echo=$ac_try;; 1681esac 1682eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1683$as_echo "$ac_try_echo"; } >&5 1684 (eval "$ac_link") 2>&5 1685 ac_status=$? 1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1687 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1688 { { case "(($ac_try" in 1689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1690 *) ac_try_echo=$ac_try;; 1691esac 1692eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1693$as_echo "$ac_try_echo"; } >&5 1694 (eval "$ac_try") 2>&5 1695 ac_status=$? 1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1697 test $ac_status = 0; }; }; then : 1698 ac_retval=0 1699else 1700 $as_echo "$as_me: program exited with status $ac_status" >&5 1701 $as_echo "$as_me: failed program was:" >&5 1702sed 's/^/| /' conftest.$ac_ext >&5 1703 1704 ac_retval=$ac_status 1705fi 1706 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1708 as_fn_set_status $ac_retval 1709 1710} # ac_fn_c_try_run 1711 1712# ac_fn_c_check_func LINENO FUNC VAR 1713# ---------------------------------- 1714# Tests whether FUNC exists, setting the cache variable VAR accordingly 1715ac_fn_c_check_func () 1716{ 1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1719$as_echo_n "checking for $2... " >&6; } 1720if eval \${$3+:} false; then : 1721 $as_echo_n "(cached) " >&6 1722else 1723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1724/* end confdefs.h. */ 1725/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1726 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1727#define $2 innocuous_$2 1728 1729/* System header to define __stub macros and hopefully few prototypes, 1730 which can conflict with char $2 (); below. 1731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1732 <limits.h> exists even on freestanding compilers. */ 1733 1734#ifdef __STDC__ 1735# include <limits.h> 1736#else 1737# include <assert.h> 1738#endif 1739 1740#undef $2 1741 1742/* Override any GCC internal prototype to avoid an error. 1743 Use char because int might match the return type of a GCC 1744 builtin and then its argument prototype would still apply. */ 1745#ifdef __cplusplus 1746extern "C" 1747#endif 1748char $2 (); 1749/* The GNU C library defines this for functions which it implements 1750 to always fail with ENOSYS. Some functions are actually named 1751 something starting with __ and the normal name is an alias. */ 1752#if defined __stub_$2 || defined __stub___$2 1753choke me 1754#endif 1755 1756int 1757main () 1758{ 1759return $2 (); 1760 ; 1761 return 0; 1762} 1763_ACEOF 1764if ac_fn_c_try_link "$LINENO"; then : 1765 eval "$3=yes" 1766else 1767 eval "$3=no" 1768fi 1769rm -f core conftest.err conftest.$ac_objext \ 1770 conftest$ac_exeext conftest.$ac_ext 1771fi 1772eval ac_res=\$$3 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1774$as_echo "$ac_res" >&6; } 1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1776 1777} # ac_fn_c_check_func 1778 1779# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1780# ------------------------------------------------------- 1781# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1782# the include files in INCLUDES and setting the cache variable VAR 1783# accordingly. 1784ac_fn_c_check_header_mongrel () 1785{ 1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1787 if eval \${$3+:} false; then : 1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1789$as_echo_n "checking for $2... " >&6; } 1790if eval \${$3+:} false; then : 1791 $as_echo_n "(cached) " >&6 1792fi 1793eval ac_res=\$$3 1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1795$as_echo "$ac_res" >&6; } 1796else 1797 # Is the header compilable? 1798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1799$as_echo_n "checking $2 usability... " >&6; } 1800cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1801/* end confdefs.h. */ 1802$4 1803#include <$2> 1804_ACEOF 1805if ac_fn_c_try_compile "$LINENO"; then : 1806 ac_header_compiler=yes 1807else 1808 ac_header_compiler=no 1809fi 1810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1812$as_echo "$ac_header_compiler" >&6; } 1813 1814# Is the header present? 1815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1816$as_echo_n "checking $2 presence... " >&6; } 1817cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1818/* end confdefs.h. */ 1819#include <$2> 1820_ACEOF 1821if ac_fn_c_try_cpp "$LINENO"; then : 1822 ac_header_preproc=yes 1823else 1824 ac_header_preproc=no 1825fi 1826rm -f conftest.err conftest.i conftest.$ac_ext 1827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1828$as_echo "$ac_header_preproc" >&6; } 1829 1830# So? What about this header? 1831case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1832 yes:no: ) 1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1834$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1836$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1837 ;; 1838 no:yes:* ) 1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1840$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1842$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1844$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1846$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1848$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1849 ;; 1850esac 1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1852$as_echo_n "checking for $2... " >&6; } 1853if eval \${$3+:} false; then : 1854 $as_echo_n "(cached) " >&6 1855else 1856 eval "$3=\$ac_header_compiler" 1857fi 1858eval ac_res=\$$3 1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1860$as_echo "$ac_res" >&6; } 1861fi 1862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1863 1864} # ac_fn_c_check_header_mongrel 1865 1866# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1867# ------------------------------------------- 1868# Tests whether TYPE exists after having included INCLUDES, setting cache 1869# variable VAR accordingly. 1870ac_fn_c_check_type () 1871{ 1872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1874$as_echo_n "checking for $2... " >&6; } 1875if eval \${$3+:} false; then : 1876 $as_echo_n "(cached) " >&6 1877else 1878 eval "$3=no" 1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1880/* end confdefs.h. */ 1881$4 1882int 1883main () 1884{ 1885if (sizeof ($2)) 1886 return 0; 1887 ; 1888 return 0; 1889} 1890_ACEOF 1891if ac_fn_c_try_compile "$LINENO"; then : 1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1893/* end confdefs.h. */ 1894$4 1895int 1896main () 1897{ 1898if (sizeof (($2))) 1899 return 0; 1900 ; 1901 return 0; 1902} 1903_ACEOF 1904if ac_fn_c_try_compile "$LINENO"; then : 1905 1906else 1907 eval "$3=yes" 1908fi 1909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1910fi 1911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1912fi 1913eval ac_res=\$$3 1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1915$as_echo "$ac_res" >&6; } 1916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1917 1918} # ac_fn_c_check_type 1919 1920# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1921# -------------------------------------------- 1922# Tries to find the compile-time value of EXPR in a program that includes 1923# INCLUDES, setting VAR accordingly. Returns whether the value could be 1924# computed 1925ac_fn_c_compute_int () 1926{ 1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1928 if test "$cross_compiling" = yes; then 1929 # Depending upon the size, compute the lo and hi bounds. 1930cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1931/* end confdefs.h. */ 1932$4 1933int 1934main () 1935{ 1936static int test_array [1 - 2 * !(($2) >= 0)]; 1937test_array [0] = 0; 1938return test_array [0]; 1939 1940 ; 1941 return 0; 1942} 1943_ACEOF 1944if ac_fn_c_try_compile "$LINENO"; then : 1945 ac_lo=0 ac_mid=0 1946 while :; do 1947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1948/* end confdefs.h. */ 1949$4 1950int 1951main () 1952{ 1953static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1954test_array [0] = 0; 1955return test_array [0]; 1956 1957 ; 1958 return 0; 1959} 1960_ACEOF 1961if ac_fn_c_try_compile "$LINENO"; then : 1962 ac_hi=$ac_mid; break 1963else 1964 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1965 if test $ac_lo -le $ac_mid; then 1966 ac_lo= ac_hi= 1967 break 1968 fi 1969 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1970fi 1971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1972 done 1973else 1974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1975/* end confdefs.h. */ 1976$4 1977int 1978main () 1979{ 1980static int test_array [1 - 2 * !(($2) < 0)]; 1981test_array [0] = 0; 1982return test_array [0]; 1983 1984 ; 1985 return 0; 1986} 1987_ACEOF 1988if ac_fn_c_try_compile "$LINENO"; then : 1989 ac_hi=-1 ac_mid=-1 1990 while :; do 1991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1992/* end confdefs.h. */ 1993$4 1994int 1995main () 1996{ 1997static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1998test_array [0] = 0; 1999return test_array [0]; 2000 2001 ; 2002 return 0; 2003} 2004_ACEOF 2005if ac_fn_c_try_compile "$LINENO"; then : 2006 ac_lo=$ac_mid; break 2007else 2008 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2009 if test $ac_mid -le $ac_hi; then 2010 ac_lo= ac_hi= 2011 break 2012 fi 2013 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2014fi 2015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2016 done 2017else 2018 ac_lo= ac_hi= 2019fi 2020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2021fi 2022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2023# Binary search between lo and hi bounds. 2024while test "x$ac_lo" != "x$ac_hi"; do 2025 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2027/* end confdefs.h. */ 2028$4 2029int 2030main () 2031{ 2032static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2033test_array [0] = 0; 2034return test_array [0]; 2035 2036 ; 2037 return 0; 2038} 2039_ACEOF 2040if ac_fn_c_try_compile "$LINENO"; then : 2041 ac_hi=$ac_mid 2042else 2043 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2044fi 2045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2046done 2047case $ac_lo in #(( 2048?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2049'') ac_retval=1 ;; 2050esac 2051 else 2052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2053/* end confdefs.h. */ 2054$4 2055static long int longval () { return $2; } 2056static unsigned long int ulongval () { return $2; } 2057#include <stdio.h> 2058#include <stdlib.h> 2059int 2060main () 2061{ 2062 2063 FILE *f = fopen ("conftest.val", "w"); 2064 if (! f) 2065 return 1; 2066 if (($2) < 0) 2067 { 2068 long int i = longval (); 2069 if (i != ($2)) 2070 return 1; 2071 fprintf (f, "%ld", i); 2072 } 2073 else 2074 { 2075 unsigned long int i = ulongval (); 2076 if (i != ($2)) 2077 return 1; 2078 fprintf (f, "%lu", i); 2079 } 2080 /* Do not output a trailing newline, as this causes \r\n confusion 2081 on some platforms. */ 2082 return ferror (f) || fclose (f) != 0; 2083 2084 ; 2085 return 0; 2086} 2087_ACEOF 2088if ac_fn_c_try_run "$LINENO"; then : 2089 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2090else 2091 ac_retval=1 2092fi 2093rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2094 conftest.$ac_objext conftest.beam conftest.$ac_ext 2095rm -f conftest.val 2096 2097 fi 2098 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2099 as_fn_set_status $ac_retval 2100 2101} # ac_fn_c_compute_int 2102cat >config.log <<_ACEOF 2103This file contains any messages produced by compilers while 2104running configure, to aid debugging if configure makes a mistake. 2105 2106It was created by $as_me, which was 2107generated by GNU Autoconf 2.69. Invocation command line was 2108 2109 $ $0 $@ 2110 2111_ACEOF 2112exec 5>>config.log 2113{ 2114cat <<_ASUNAME 2115## --------- ## 2116## Platform. ## 2117## --------- ## 2118 2119hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2120uname -m = `(uname -m) 2>/dev/null || echo unknown` 2121uname -r = `(uname -r) 2>/dev/null || echo unknown` 2122uname -s = `(uname -s) 2>/dev/null || echo unknown` 2123uname -v = `(uname -v) 2>/dev/null || echo unknown` 2124 2125/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2126/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2127 2128/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2129/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2130/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2131/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2132/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2133/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2134/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2135 2136_ASUNAME 2137 2138as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2139for as_dir in $PATH 2140do 2141 IFS=$as_save_IFS 2142 test -z "$as_dir" && as_dir=. 2143 $as_echo "PATH: $as_dir" 2144 done 2145IFS=$as_save_IFS 2146 2147} >&5 2148 2149cat >&5 <<_ACEOF 2150 2151 2152## ----------- ## 2153## Core tests. ## 2154## ----------- ## 2155 2156_ACEOF 2157 2158 2159# Keep a trace of the command line. 2160# Strip out --no-create and --no-recursion so they do not pile up. 2161# Strip out --silent because we don't want to record it for future runs. 2162# Also quote any args containing shell meta-characters. 2163# Make two passes to allow for proper duplicate-argument suppression. 2164ac_configure_args= 2165ac_configure_args0= 2166ac_configure_args1= 2167ac_must_keep_next=false 2168for ac_pass in 1 2 2169do 2170 for ac_arg 2171 do 2172 case $ac_arg in 2173 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2174 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2175 | -silent | --silent | --silen | --sile | --sil) 2176 continue ;; 2177 *\'*) 2178 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2179 esac 2180 case $ac_pass in 2181 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2182 2) 2183 as_fn_append ac_configure_args1 " '$ac_arg'" 2184 if test $ac_must_keep_next = true; then 2185 ac_must_keep_next=false # Got value, back to normal. 2186 else 2187 case $ac_arg in 2188 *=* | --config-cache | -C | -disable-* | --disable-* \ 2189 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2190 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2191 | -with-* | --with-* | -without-* | --without-* | --x) 2192 case "$ac_configure_args0 " in 2193 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2194 esac 2195 ;; 2196 -* ) ac_must_keep_next=true ;; 2197 esac 2198 fi 2199 as_fn_append ac_configure_args " '$ac_arg'" 2200 ;; 2201 esac 2202 done 2203done 2204{ ac_configure_args0=; unset ac_configure_args0;} 2205{ ac_configure_args1=; unset ac_configure_args1;} 2206 2207# When interrupted or exit'd, cleanup temporary files, and complete 2208# config.log. We remove comments because anyway the quotes in there 2209# would cause problems or look ugly. 2210# WARNING: Use '\'' to represent an apostrophe within the trap. 2211# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2212trap 'exit_status=$? 2213 # Save into config.log some information that might help in debugging. 2214 { 2215 echo 2216 2217 $as_echo "## ---------------- ## 2218## Cache variables. ## 2219## ---------------- ##" 2220 echo 2221 # The following way of writing the cache mishandles newlines in values, 2222( 2223 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2224 eval ac_val=\$$ac_var 2225 case $ac_val in #( 2226 *${as_nl}*) 2227 case $ac_var in #( 2228 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2229$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2230 esac 2231 case $ac_var in #( 2232 _ | IFS | as_nl) ;; #( 2233 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2234 *) { eval $ac_var=; unset $ac_var;} ;; 2235 esac ;; 2236 esac 2237 done 2238 (set) 2>&1 | 2239 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2240 *${as_nl}ac_space=\ *) 2241 sed -n \ 2242 "s/'\''/'\''\\\\'\'''\''/g; 2243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2244 ;; #( 2245 *) 2246 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2247 ;; 2248 esac | 2249 sort 2250) 2251 echo 2252 2253 $as_echo "## ----------------- ## 2254## Output variables. ## 2255## ----------------- ##" 2256 echo 2257 for ac_var in $ac_subst_vars 2258 do 2259 eval ac_val=\$$ac_var 2260 case $ac_val in 2261 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2262 esac 2263 $as_echo "$ac_var='\''$ac_val'\''" 2264 done | sort 2265 echo 2266 2267 if test -n "$ac_subst_files"; then 2268 $as_echo "## ------------------- ## 2269## File substitutions. ## 2270## ------------------- ##" 2271 echo 2272 for ac_var in $ac_subst_files 2273 do 2274 eval ac_val=\$$ac_var 2275 case $ac_val in 2276 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2277 esac 2278 $as_echo "$ac_var='\''$ac_val'\''" 2279 done | sort 2280 echo 2281 fi 2282 2283 if test -s confdefs.h; then 2284 $as_echo "## ----------- ## 2285## confdefs.h. ## 2286## ----------- ##" 2287 echo 2288 cat confdefs.h 2289 echo 2290 fi 2291 test "$ac_signal" != 0 && 2292 $as_echo "$as_me: caught signal $ac_signal" 2293 $as_echo "$as_me: exit $exit_status" 2294 } >&5 2295 rm -f core *.core core.conftest.* && 2296 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2297 exit $exit_status 2298' 0 2299for ac_signal in 1 2 13 15; do 2300 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2301done 2302ac_signal=0 2303 2304# confdefs.h avoids OS command line length limits that DEFS can exceed. 2305rm -f -r conftest* confdefs.h 2306 2307$as_echo "/* confdefs.h */" > confdefs.h 2308 2309# Predefined preprocessor variables. 2310 2311cat >>confdefs.h <<_ACEOF 2312#define PACKAGE_NAME "$PACKAGE_NAME" 2313_ACEOF 2314 2315cat >>confdefs.h <<_ACEOF 2316#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2317_ACEOF 2318 2319cat >>confdefs.h <<_ACEOF 2320#define PACKAGE_VERSION "$PACKAGE_VERSION" 2321_ACEOF 2322 2323cat >>confdefs.h <<_ACEOF 2324#define PACKAGE_STRING "$PACKAGE_STRING" 2325_ACEOF 2326 2327cat >>confdefs.h <<_ACEOF 2328#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2329_ACEOF 2330 2331cat >>confdefs.h <<_ACEOF 2332#define PACKAGE_URL "$PACKAGE_URL" 2333_ACEOF 2334 2335 2336# Let the site file select an alternate cache file if it wants to. 2337# Prefer an explicitly selected file to automatically selected ones. 2338ac_site_file1=NONE 2339ac_site_file2=NONE 2340if test -n "$CONFIG_SITE"; then 2341 # We do not want a PATH search for config.site. 2342 case $CONFIG_SITE in #(( 2343 -*) ac_site_file1=./$CONFIG_SITE;; 2344 */*) ac_site_file1=$CONFIG_SITE;; 2345 *) ac_site_file1=./$CONFIG_SITE;; 2346 esac 2347elif test "x$prefix" != xNONE; then 2348 ac_site_file1=$prefix/share/config.site 2349 ac_site_file2=$prefix/etc/config.site 2350else 2351 ac_site_file1=$ac_default_prefix/share/config.site 2352 ac_site_file2=$ac_default_prefix/etc/config.site 2353fi 2354for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2355do 2356 test "x$ac_site_file" = xNONE && continue 2357 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2358 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2359$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2360 sed 's/^/| /' "$ac_site_file" >&5 2361 . "$ac_site_file" \ 2362 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2363$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2364as_fn_error $? "failed to load site script $ac_site_file 2365See \`config.log' for more details" "$LINENO" 5; } 2366 fi 2367done 2368 2369if test -r "$cache_file"; then 2370 # Some versions of bash will fail to source /dev/null (special files 2371 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2372 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2373 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2374$as_echo "$as_me: loading cache $cache_file" >&6;} 2375 case $cache_file in 2376 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2377 *) . "./$cache_file";; 2378 esac 2379 fi 2380else 2381 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2382$as_echo "$as_me: creating cache $cache_file" >&6;} 2383 >$cache_file 2384fi 2385 2386# Check that the precious variables saved in the cache have kept the same 2387# value. 2388ac_cache_corrupted=false 2389for ac_var in $ac_precious_vars; do 2390 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2391 eval ac_new_set=\$ac_env_${ac_var}_set 2392 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2393 eval ac_new_val=\$ac_env_${ac_var}_value 2394 case $ac_old_set,$ac_new_set in 2395 set,) 2396 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2397$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2398 ac_cache_corrupted=: ;; 2399 ,set) 2400 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2401$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2402 ac_cache_corrupted=: ;; 2403 ,);; 2404 *) 2405 if test "x$ac_old_val" != "x$ac_new_val"; then 2406 # differences in whitespace do not lead to failure. 2407 ac_old_val_w=`echo x $ac_old_val` 2408 ac_new_val_w=`echo x $ac_new_val` 2409 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2411$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2412 ac_cache_corrupted=: 2413 else 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2415$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2416 eval $ac_var=\$ac_old_val 2417 fi 2418 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2419$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2420 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2421$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2422 fi;; 2423 esac 2424 # Pass precious variables to config.status. 2425 if test "$ac_new_set" = set; then 2426 case $ac_new_val in 2427 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2428 *) ac_arg=$ac_var=$ac_new_val ;; 2429 esac 2430 case " $ac_configure_args " in 2431 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2432 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2433 esac 2434 fi 2435done 2436if $ac_cache_corrupted; then 2437 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2438$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2440$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2441 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2442fi 2443## -------------------- ## 2444## Main body of script. ## 2445## -------------------- ## 2446 2447ac_ext=c 2448ac_cpp='$CPP $CPPFLAGS' 2449ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2450ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2451ac_compiler_gnu=$ac_cv_c_compiler_gnu 2452 2453 2454 2455am__api_version='1.11' 2456 2457ac_aux_dir= 2458for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2459 if test -f "$ac_dir/install-sh"; then 2460 ac_aux_dir=$ac_dir 2461 ac_install_sh="$ac_aux_dir/install-sh -c" 2462 break 2463 elif test -f "$ac_dir/install.sh"; then 2464 ac_aux_dir=$ac_dir 2465 ac_install_sh="$ac_aux_dir/install.sh -c" 2466 break 2467 elif test -f "$ac_dir/shtool"; then 2468 ac_aux_dir=$ac_dir 2469 ac_install_sh="$ac_aux_dir/shtool install -c" 2470 break 2471 fi 2472done 2473if test -z "$ac_aux_dir"; then 2474 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2475fi 2476 2477# These three variables are undocumented and unsupported, 2478# and are intended to be withdrawn in a future Autoconf release. 2479# They can cause serious problems if a builder's source tree is in a directory 2480# whose full name contains unusual characters. 2481ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2482ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2483ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2484 2485 2486# Find a good install program. We prefer a C program (faster), 2487# so one script is as good as another. But avoid the broken or 2488# incompatible versions: 2489# SysV /etc/install, /usr/sbin/install 2490# SunOS /usr/etc/install 2491# IRIX /sbin/install 2492# AIX /bin/install 2493# AmigaOS /C/install, which installs bootblocks on floppy discs 2494# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2495# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2496# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2497# OS/2's system install, which has a completely different semantic 2498# ./install, which can be erroneously created by make from ./install.sh. 2499# Reject install programs that cannot install multiple files. 2500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2501$as_echo_n "checking for a BSD-compatible install... " >&6; } 2502if test -z "$INSTALL"; then 2503if ${ac_cv_path_install+:} false; then : 2504 $as_echo_n "(cached) " >&6 2505else 2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2507for as_dir in $PATH 2508do 2509 IFS=$as_save_IFS 2510 test -z "$as_dir" && as_dir=. 2511 # Account for people who put trailing slashes in PATH elements. 2512case $as_dir/ in #(( 2513 ./ | .// | /[cC]/* | \ 2514 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2515 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2516 /usr/ucb/* ) ;; 2517 *) 2518 # OSF1 and SCO ODT 3.0 have their own names for install. 2519 # Don't use installbsd from OSF since it installs stuff as root 2520 # by default. 2521 for ac_prog in ginstall scoinst install; do 2522 for ac_exec_ext in '' $ac_executable_extensions; do 2523 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2524 if test $ac_prog = install && 2525 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2526 # AIX install. It has an incompatible calling convention. 2527 : 2528 elif test $ac_prog = install && 2529 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2530 # program-specific install script used by HP pwplus--don't use. 2531 : 2532 else 2533 rm -rf conftest.one conftest.two conftest.dir 2534 echo one > conftest.one 2535 echo two > conftest.two 2536 mkdir conftest.dir 2537 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2538 test -s conftest.one && test -s conftest.two && 2539 test -s conftest.dir/conftest.one && 2540 test -s conftest.dir/conftest.two 2541 then 2542 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2543 break 3 2544 fi 2545 fi 2546 fi 2547 done 2548 done 2549 ;; 2550esac 2551 2552 done 2553IFS=$as_save_IFS 2554 2555rm -rf conftest.one conftest.two conftest.dir 2556 2557fi 2558 if test "${ac_cv_path_install+set}" = set; then 2559 INSTALL=$ac_cv_path_install 2560 else 2561 # As a last resort, use the slow shell script. Don't cache a 2562 # value for INSTALL within a source directory, because that will 2563 # break other packages using the cache if that directory is 2564 # removed, or if the value is a relative name. 2565 INSTALL=$ac_install_sh 2566 fi 2567fi 2568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2569$as_echo "$INSTALL" >&6; } 2570 2571# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2572# It thinks the first close brace ends the variable substitution. 2573test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2574 2575test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2576 2577test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2578 2579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2580$as_echo_n "checking whether build environment is sane... " >&6; } 2581# Just in case 2582sleep 1 2583echo timestamp > conftest.file 2584# Reject unsafe characters in $srcdir or the absolute working directory 2585# name. Accept space and tab only in the latter. 2586am_lf=' 2587' 2588case `pwd` in 2589 *[\\\"\#\$\&\'\`$am_lf]*) 2590 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2591esac 2592case $srcdir in 2593 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2594 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2595esac 2596 2597# Do `set' in a subshell so we don't clobber the current shell's 2598# arguments. Must try -L first in case configure is actually a 2599# symlink; some systems play weird games with the mod time of symlinks 2600# (eg FreeBSD returns the mod time of the symlink's containing 2601# directory). 2602if ( 2603 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2604 if test "$*" = "X"; then 2605 # -L didn't work. 2606 set X `ls -t "$srcdir/configure" conftest.file` 2607 fi 2608 rm -f conftest.file 2609 if test "$*" != "X $srcdir/configure conftest.file" \ 2610 && test "$*" != "X conftest.file $srcdir/configure"; then 2611 2612 # If neither matched, then we have a broken ls. This can happen 2613 # if, for instance, CONFIG_SHELL is bash and it inherits a 2614 # broken ls alias from the environment. This has actually 2615 # happened. Such a system could not be considered "sane". 2616 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2617alias in your environment" "$LINENO" 5 2618 fi 2619 2620 test "$2" = conftest.file 2621 ) 2622then 2623 # Ok. 2624 : 2625else 2626 as_fn_error $? "newly created file is older than distributed files! 2627Check your system clock" "$LINENO" 5 2628fi 2629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2630$as_echo "yes" >&6; } 2631test "$program_prefix" != NONE && 2632 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2633# Use a double $ so make ignores it. 2634test "$program_suffix" != NONE && 2635 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2636# Double any \ or $. 2637# By default was `s,x,x', remove it if useless. 2638ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2639program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2640 2641# expand $ac_aux_dir to an absolute path 2642am_aux_dir=`cd $ac_aux_dir && pwd` 2643 2644if test x"${MISSING+set}" != xset; then 2645 case $am_aux_dir in 2646 *\ * | *\ *) 2647 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2648 *) 2649 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2650 esac 2651fi 2652# Use eval to expand $SHELL 2653if eval "$MISSING --run true"; then 2654 am_missing_run="$MISSING --run " 2655else 2656 am_missing_run= 2657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2658$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2659fi 2660 2661if test x"${install_sh}" != xset; then 2662 case $am_aux_dir in 2663 *\ * | *\ *) 2664 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2665 *) 2666 install_sh="\${SHELL} $am_aux_dir/install-sh" 2667 esac 2668fi 2669 2670# Installed binaries are usually stripped using `strip' when the user 2671# run `make install-strip'. However `strip' might not be the right 2672# tool to use in cross-compilation environments, therefore Automake 2673# will honor the `STRIP' environment variable to overrule this program. 2674if test "$cross_compiling" != no; then 2675 if test -n "$ac_tool_prefix"; then 2676 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2677set dummy ${ac_tool_prefix}strip; ac_word=$2 2678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2679$as_echo_n "checking for $ac_word... " >&6; } 2680if ${ac_cv_prog_STRIP+:} false; then : 2681 $as_echo_n "(cached) " >&6 2682else 2683 if test -n "$STRIP"; then 2684 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2685else 2686as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2687for as_dir in $PATH 2688do 2689 IFS=$as_save_IFS 2690 test -z "$as_dir" && as_dir=. 2691 for ac_exec_ext in '' $ac_executable_extensions; do 2692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2693 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2695 break 2 2696 fi 2697done 2698 done 2699IFS=$as_save_IFS 2700 2701fi 2702fi 2703STRIP=$ac_cv_prog_STRIP 2704if test -n "$STRIP"; then 2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2706$as_echo "$STRIP" >&6; } 2707else 2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2709$as_echo "no" >&6; } 2710fi 2711 2712 2713fi 2714if test -z "$ac_cv_prog_STRIP"; then 2715 ac_ct_STRIP=$STRIP 2716 # Extract the first word of "strip", so it can be a program name with args. 2717set dummy strip; ac_word=$2 2718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2719$as_echo_n "checking for $ac_word... " >&6; } 2720if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2721 $as_echo_n "(cached) " >&6 2722else 2723 if test -n "$ac_ct_STRIP"; then 2724 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2725else 2726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2727for as_dir in $PATH 2728do 2729 IFS=$as_save_IFS 2730 test -z "$as_dir" && as_dir=. 2731 for ac_exec_ext in '' $ac_executable_extensions; do 2732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2733 ac_cv_prog_ac_ct_STRIP="strip" 2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2735 break 2 2736 fi 2737done 2738 done 2739IFS=$as_save_IFS 2740 2741fi 2742fi 2743ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2744if test -n "$ac_ct_STRIP"; then 2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2746$as_echo "$ac_ct_STRIP" >&6; } 2747else 2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2749$as_echo "no" >&6; } 2750fi 2751 2752 if test "x$ac_ct_STRIP" = x; then 2753 STRIP=":" 2754 else 2755 case $cross_compiling:$ac_tool_warned in 2756yes:) 2757{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2758$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2759ac_tool_warned=yes ;; 2760esac 2761 STRIP=$ac_ct_STRIP 2762 fi 2763else 2764 STRIP="$ac_cv_prog_STRIP" 2765fi 2766 2767fi 2768INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2769 2770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2771$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2772if test -z "$MKDIR_P"; then 2773 if ${ac_cv_path_mkdir+:} false; then : 2774 $as_echo_n "(cached) " >&6 2775else 2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2777for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2778do 2779 IFS=$as_save_IFS 2780 test -z "$as_dir" && as_dir=. 2781 for ac_prog in mkdir gmkdir; do 2782 for ac_exec_ext in '' $ac_executable_extensions; do 2783 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2784 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2785 'mkdir (GNU coreutils) '* | \ 2786 'mkdir (coreutils) '* | \ 2787 'mkdir (fileutils) '4.1*) 2788 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2789 break 3;; 2790 esac 2791 done 2792 done 2793 done 2794IFS=$as_save_IFS 2795 2796fi 2797 2798 test -d ./--version && rmdir ./--version 2799 if test "${ac_cv_path_mkdir+set}" = set; then 2800 MKDIR_P="$ac_cv_path_mkdir -p" 2801 else 2802 # As a last resort, use the slow shell script. Don't cache a 2803 # value for MKDIR_P within a source directory, because that will 2804 # break other packages using the cache if that directory is 2805 # removed, or if the value is a relative name. 2806 MKDIR_P="$ac_install_sh -d" 2807 fi 2808fi 2809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2810$as_echo "$MKDIR_P" >&6; } 2811 2812mkdir_p="$MKDIR_P" 2813case $mkdir_p in 2814 [\\/$]* | ?:[\\/]*) ;; 2815 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2816esac 2817 2818for ac_prog in gawk mawk nawk awk 2819do 2820 # Extract the first word of "$ac_prog", so it can be a program name with args. 2821set dummy $ac_prog; ac_word=$2 2822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2823$as_echo_n "checking for $ac_word... " >&6; } 2824if ${ac_cv_prog_AWK+:} false; then : 2825 $as_echo_n "(cached) " >&6 2826else 2827 if test -n "$AWK"; then 2828 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2829else 2830as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2831for as_dir in $PATH 2832do 2833 IFS=$as_save_IFS 2834 test -z "$as_dir" && as_dir=. 2835 for ac_exec_ext in '' $ac_executable_extensions; do 2836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2837 ac_cv_prog_AWK="$ac_prog" 2838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2839 break 2 2840 fi 2841done 2842 done 2843IFS=$as_save_IFS 2844 2845fi 2846fi 2847AWK=$ac_cv_prog_AWK 2848if test -n "$AWK"; then 2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2850$as_echo "$AWK" >&6; } 2851else 2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2853$as_echo "no" >&6; } 2854fi 2855 2856 2857 test -n "$AWK" && break 2858done 2859 2860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2861$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2862set x ${MAKE-make} 2863ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2864if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2865 $as_echo_n "(cached) " >&6 2866else 2867 cat >conftest.make <<\_ACEOF 2868SHELL = /bin/sh 2869all: 2870 @echo '@@@%%%=$(MAKE)=@@@%%%' 2871_ACEOF 2872# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2873case `${MAKE-make} -f conftest.make 2>/dev/null` in 2874 *@@@%%%=?*=@@@%%%*) 2875 eval ac_cv_prog_make_${ac_make}_set=yes;; 2876 *) 2877 eval ac_cv_prog_make_${ac_make}_set=no;; 2878esac 2879rm -f conftest.make 2880fi 2881if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2883$as_echo "yes" >&6; } 2884 SET_MAKE= 2885else 2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2887$as_echo "no" >&6; } 2888 SET_MAKE="MAKE=${MAKE-make}" 2889fi 2890 2891rm -rf .tst 2>/dev/null 2892mkdir .tst 2>/dev/null 2893if test -d .tst; then 2894 am__leading_dot=. 2895else 2896 am__leading_dot=_ 2897fi 2898rmdir .tst 2>/dev/null 2899 2900if test "`cd $srcdir && pwd`" != "`pwd`"; then 2901 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2902 # is not polluted with repeated "-I." 2903 am__isrc=' -I$(srcdir)' 2904 # test to see if srcdir already configured 2905 if test -f $srcdir/config.status; then 2906 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2907 fi 2908fi 2909 2910# test whether we have cygpath 2911if test -z "$CYGPATH_W"; then 2912 if (cygpath --version) >/dev/null 2>/dev/null; then 2913 CYGPATH_W='cygpath -w' 2914 else 2915 CYGPATH_W=echo 2916 fi 2917fi 2918 2919 2920# Define the identity of the package. 2921 PACKAGE=psiconv 2922 VERSION=0.9.9 2923 2924 2925cat >>confdefs.h <<_ACEOF 2926#define PACKAGE "$PACKAGE" 2927_ACEOF 2928 2929 2930cat >>confdefs.h <<_ACEOF 2931#define VERSION "$VERSION" 2932_ACEOF 2933 2934# Some tools Automake needs. 2935 2936ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2937 2938 2939AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2940 2941 2942AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2943 2944 2945AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2946 2947 2948MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2949 2950# We need awk for the "check" target. The system "awk" is bad on 2951# some platforms. 2952# Always define AMTAR for backward compatibility. Yes, it's still used 2953# in the wild :-( We should find a proper way to deprecate it ... 2954AMTAR='$${TAR-tar}' 2955 2956am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2957 2958 2959 2960 2961 2962 2963ac_config_headers="$ac_config_headers config.h" 2964 2965 2966case `pwd` in 2967 *\ * | *\ *) 2968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 2969$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 2970esac 2971 2972 2973 2974macro_version='2.4.2' 2975macro_revision='1.3337' 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989ltmain="$ac_aux_dir/ltmain.sh" 2990 2991# Make sure we can run config.sub. 2992$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2993 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2994 2995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2996$as_echo_n "checking build system type... " >&6; } 2997if ${ac_cv_build+:} false; then : 2998 $as_echo_n "(cached) " >&6 2999else 3000 ac_build_alias=$build_alias 3001test "x$ac_build_alias" = x && 3002 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3003test "x$ac_build_alias" = x && 3004 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3005ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3006 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3007 3008fi 3009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3010$as_echo "$ac_cv_build" >&6; } 3011case $ac_cv_build in 3012*-*-*) ;; 3013*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3014esac 3015build=$ac_cv_build 3016ac_save_IFS=$IFS; IFS='-' 3017set x $ac_cv_build 3018shift 3019build_cpu=$1 3020build_vendor=$2 3021shift; shift 3022# Remember, the first character of IFS is used to create $*, 3023# except with old shells: 3024build_os=$* 3025IFS=$ac_save_IFS 3026case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3027 3028 3029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3030$as_echo_n "checking host system type... " >&6; } 3031if ${ac_cv_host+:} false; then : 3032 $as_echo_n "(cached) " >&6 3033else 3034 if test "x$host_alias" = x; then 3035 ac_cv_host=$ac_cv_build 3036else 3037 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3038 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3039fi 3040 3041fi 3042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3043$as_echo "$ac_cv_host" >&6; } 3044case $ac_cv_host in 3045*-*-*) ;; 3046*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3047esac 3048host=$ac_cv_host 3049ac_save_IFS=$IFS; IFS='-' 3050set x $ac_cv_host 3051shift 3052host_cpu=$1 3053host_vendor=$2 3054shift; shift 3055# Remember, the first character of IFS is used to create $*, 3056# except with old shells: 3057host_os=$* 3058IFS=$ac_save_IFS 3059case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3060 3061 3062# Backslashify metacharacters that are still active within 3063# double-quoted strings. 3064sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3065 3066# Same as above, but do not quote variable references. 3067double_quote_subst='s/\(["`\\]\)/\\\1/g' 3068 3069# Sed substitution to delay expansion of an escaped shell variable in a 3070# double_quote_subst'ed string. 3071delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3072 3073# Sed substitution to delay expansion of an escaped single quote. 3074delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3075 3076# Sed substitution to avoid accidental globbing in evaled expressions 3077no_glob_subst='s/\*/\\\*/g' 3078 3079ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3080ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3081ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3082 3083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3084$as_echo_n "checking how to print strings... " >&6; } 3085# Test print first, because it will be a builtin if present. 3086if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3087 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3088 ECHO='print -r --' 3089elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3090 ECHO='printf %s\n' 3091else 3092 # Use this function as a fallback that always works. 3093 func_fallback_echo () 3094 { 3095 eval 'cat <<_LTECHO_EOF 3096$1 3097_LTECHO_EOF' 3098 } 3099 ECHO='func_fallback_echo' 3100fi 3101 3102# func_echo_all arg... 3103# Invoke $ECHO with all args, space-separated. 3104func_echo_all () 3105{ 3106 $ECHO "" 3107} 3108 3109case "$ECHO" in 3110 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3111$as_echo "printf" >&6; } ;; 3112 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3113$as_echo "print -r" >&6; } ;; 3114 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3115$as_echo "cat" >&6; } ;; 3116esac 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131DEPDIR="${am__leading_dot}deps" 3132 3133ac_config_commands="$ac_config_commands depfiles" 3134 3135 3136am_make=${MAKE-make} 3137cat > confinc << 'END' 3138am__doit: 3139 @echo this is the am__doit target 3140.PHONY: am__doit 3141END 3142# If we don't find an include directive, just comment out the code. 3143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3144$as_echo_n "checking for style of include used by $am_make... " >&6; } 3145am__include="#" 3146am__quote= 3147_am_result=none 3148# First try GNU make style include. 3149echo "include confinc" > confmf 3150# Ignore all kinds of additional output from `make'. 3151case `$am_make -s -f confmf 2> /dev/null` in #( 3152*the\ am__doit\ target*) 3153 am__include=include 3154 am__quote= 3155 _am_result=GNU 3156 ;; 3157esac 3158# Now try BSD make style include. 3159if test "$am__include" = "#"; then 3160 echo '.include "confinc"' > confmf 3161 case `$am_make -s -f confmf 2> /dev/null` in #( 3162 *the\ am__doit\ target*) 3163 am__include=.include 3164 am__quote="\"" 3165 _am_result=BSD 3166 ;; 3167 esac 3168fi 3169 3170 3171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3172$as_echo "$_am_result" >&6; } 3173rm -f confinc confmf 3174 3175# Check whether --enable-dependency-tracking was given. 3176if test "${enable_dependency_tracking+set}" = set; then : 3177 enableval=$enable_dependency_tracking; 3178fi 3179 3180if test "x$enable_dependency_tracking" != xno; then 3181 am_depcomp="$ac_aux_dir/depcomp" 3182 AMDEPBACKSLASH='\' 3183 am__nodep='_no' 3184fi 3185 if test "x$enable_dependency_tracking" != xno; then 3186 AMDEP_TRUE= 3187 AMDEP_FALSE='#' 3188else 3189 AMDEP_TRUE='#' 3190 AMDEP_FALSE= 3191fi 3192 3193 3194ac_ext=c 3195ac_cpp='$CPP $CPPFLAGS' 3196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3198ac_compiler_gnu=$ac_cv_c_compiler_gnu 3199if test -n "$ac_tool_prefix"; then 3200 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3201set dummy ${ac_tool_prefix}gcc; ac_word=$2 3202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3203$as_echo_n "checking for $ac_word... " >&6; } 3204if ${ac_cv_prog_CC+:} false; then : 3205 $as_echo_n "(cached) " >&6 3206else 3207 if test -n "$CC"; then 3208 ac_cv_prog_CC="$CC" # Let the user override the test. 3209else 3210as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3211for as_dir in $PATH 3212do 3213 IFS=$as_save_IFS 3214 test -z "$as_dir" && as_dir=. 3215 for ac_exec_ext in '' $ac_executable_extensions; do 3216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3217 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3219 break 2 3220 fi 3221done 3222 done 3223IFS=$as_save_IFS 3224 3225fi 3226fi 3227CC=$ac_cv_prog_CC 3228if test -n "$CC"; then 3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3230$as_echo "$CC" >&6; } 3231else 3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3233$as_echo "no" >&6; } 3234fi 3235 3236 3237fi 3238if test -z "$ac_cv_prog_CC"; then 3239 ac_ct_CC=$CC 3240 # Extract the first word of "gcc", so it can be a program name with args. 3241set dummy gcc; ac_word=$2 3242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3243$as_echo_n "checking for $ac_word... " >&6; } 3244if ${ac_cv_prog_ac_ct_CC+:} false; then : 3245 $as_echo_n "(cached) " >&6 3246else 3247 if test -n "$ac_ct_CC"; then 3248 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3249else 3250as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3251for as_dir in $PATH 3252do 3253 IFS=$as_save_IFS 3254 test -z "$as_dir" && as_dir=. 3255 for ac_exec_ext in '' $ac_executable_extensions; do 3256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3257 ac_cv_prog_ac_ct_CC="gcc" 3258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3259 break 2 3260 fi 3261done 3262 done 3263IFS=$as_save_IFS 3264 3265fi 3266fi 3267ac_ct_CC=$ac_cv_prog_ac_ct_CC 3268if test -n "$ac_ct_CC"; then 3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3270$as_echo "$ac_ct_CC" >&6; } 3271else 3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3273$as_echo "no" >&6; } 3274fi 3275 3276 if test "x$ac_ct_CC" = x; then 3277 CC="" 3278 else 3279 case $cross_compiling:$ac_tool_warned in 3280yes:) 3281{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3282$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3283ac_tool_warned=yes ;; 3284esac 3285 CC=$ac_ct_CC 3286 fi 3287else 3288 CC="$ac_cv_prog_CC" 3289fi 3290 3291if test -z "$CC"; then 3292 if test -n "$ac_tool_prefix"; then 3293 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3294set dummy ${ac_tool_prefix}cc; ac_word=$2 3295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3296$as_echo_n "checking for $ac_word... " >&6; } 3297if ${ac_cv_prog_CC+:} false; then : 3298 $as_echo_n "(cached) " >&6 3299else 3300 if test -n "$CC"; then 3301 ac_cv_prog_CC="$CC" # Let the user override the test. 3302else 3303as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3304for as_dir in $PATH 3305do 3306 IFS=$as_save_IFS 3307 test -z "$as_dir" && as_dir=. 3308 for ac_exec_ext in '' $ac_executable_extensions; do 3309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3310 ac_cv_prog_CC="${ac_tool_prefix}cc" 3311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3312 break 2 3313 fi 3314done 3315 done 3316IFS=$as_save_IFS 3317 3318fi 3319fi 3320CC=$ac_cv_prog_CC 3321if test -n "$CC"; then 3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3323$as_echo "$CC" >&6; } 3324else 3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3326$as_echo "no" >&6; } 3327fi 3328 3329 3330 fi 3331fi 3332if test -z "$CC"; then 3333 # Extract the first word of "cc", so it can be a program name with args. 3334set dummy cc; ac_word=$2 3335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3336$as_echo_n "checking for $ac_word... " >&6; } 3337if ${ac_cv_prog_CC+:} false; then : 3338 $as_echo_n "(cached) " >&6 3339else 3340 if test -n "$CC"; then 3341 ac_cv_prog_CC="$CC" # Let the user override the test. 3342else 3343 ac_prog_rejected=no 3344as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3345for as_dir in $PATH 3346do 3347 IFS=$as_save_IFS 3348 test -z "$as_dir" && as_dir=. 3349 for ac_exec_ext in '' $ac_executable_extensions; do 3350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3351 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3352 ac_prog_rejected=yes 3353 continue 3354 fi 3355 ac_cv_prog_CC="cc" 3356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3357 break 2 3358 fi 3359done 3360 done 3361IFS=$as_save_IFS 3362 3363if test $ac_prog_rejected = yes; then 3364 # We found a bogon in the path, so make sure we never use it. 3365 set dummy $ac_cv_prog_CC 3366 shift 3367 if test $# != 0; then 3368 # We chose a different compiler from the bogus one. 3369 # However, it has the same basename, so the bogon will be chosen 3370 # first if we set CC to just the basename; use the full file name. 3371 shift 3372 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3373 fi 3374fi 3375fi 3376fi 3377CC=$ac_cv_prog_CC 3378if test -n "$CC"; then 3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3380$as_echo "$CC" >&6; } 3381else 3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3383$as_echo "no" >&6; } 3384fi 3385 3386 3387fi 3388if test -z "$CC"; then 3389 if test -n "$ac_tool_prefix"; then 3390 for ac_prog in cl.exe 3391 do 3392 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3393set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3395$as_echo_n "checking for $ac_word... " >&6; } 3396if ${ac_cv_prog_CC+:} false; then : 3397 $as_echo_n "(cached) " >&6 3398else 3399 if test -n "$CC"; then 3400 ac_cv_prog_CC="$CC" # Let the user override the test. 3401else 3402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3403for as_dir in $PATH 3404do 3405 IFS=$as_save_IFS 3406 test -z "$as_dir" && as_dir=. 3407 for ac_exec_ext in '' $ac_executable_extensions; do 3408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3409 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3411 break 2 3412 fi 3413done 3414 done 3415IFS=$as_save_IFS 3416 3417fi 3418fi 3419CC=$ac_cv_prog_CC 3420if test -n "$CC"; then 3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3422$as_echo "$CC" >&6; } 3423else 3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3425$as_echo "no" >&6; } 3426fi 3427 3428 3429 test -n "$CC" && break 3430 done 3431fi 3432if test -z "$CC"; then 3433 ac_ct_CC=$CC 3434 for ac_prog in cl.exe 3435do 3436 # Extract the first word of "$ac_prog", so it can be a program name with args. 3437set dummy $ac_prog; ac_word=$2 3438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3439$as_echo_n "checking for $ac_word... " >&6; } 3440if ${ac_cv_prog_ac_ct_CC+:} false; then : 3441 $as_echo_n "(cached) " >&6 3442else 3443 if test -n "$ac_ct_CC"; then 3444 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3445else 3446as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3447for as_dir in $PATH 3448do 3449 IFS=$as_save_IFS 3450 test -z "$as_dir" && as_dir=. 3451 for ac_exec_ext in '' $ac_executable_extensions; do 3452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3453 ac_cv_prog_ac_ct_CC="$ac_prog" 3454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3455 break 2 3456 fi 3457done 3458 done 3459IFS=$as_save_IFS 3460 3461fi 3462fi 3463ac_ct_CC=$ac_cv_prog_ac_ct_CC 3464if test -n "$ac_ct_CC"; then 3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3466$as_echo "$ac_ct_CC" >&6; } 3467else 3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3469$as_echo "no" >&6; } 3470fi 3471 3472 3473 test -n "$ac_ct_CC" && break 3474done 3475 3476 if test "x$ac_ct_CC" = x; then 3477 CC="" 3478 else 3479 case $cross_compiling:$ac_tool_warned in 3480yes:) 3481{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3482$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3483ac_tool_warned=yes ;; 3484esac 3485 CC=$ac_ct_CC 3486 fi 3487fi 3488 3489fi 3490 3491 3492test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3493$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3494as_fn_error $? "no acceptable C compiler found in \$PATH 3495See \`config.log' for more details" "$LINENO" 5; } 3496 3497# Provide some information about the compiler. 3498$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3499set X $ac_compile 3500ac_compiler=$2 3501for ac_option in --version -v -V -qversion; do 3502 { { ac_try="$ac_compiler $ac_option >&5" 3503case "(($ac_try" in 3504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3505 *) ac_try_echo=$ac_try;; 3506esac 3507eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3508$as_echo "$ac_try_echo"; } >&5 3509 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3510 ac_status=$? 3511 if test -s conftest.err; then 3512 sed '10a\ 3513... rest of stderr output deleted ... 3514 10q' conftest.err >conftest.er1 3515 cat conftest.er1 >&5 3516 fi 3517 rm -f conftest.er1 conftest.err 3518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3519 test $ac_status = 0; } 3520done 3521 3522cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3523/* end confdefs.h. */ 3524 3525int 3526main () 3527{ 3528 3529 ; 3530 return 0; 3531} 3532_ACEOF 3533ac_clean_files_save=$ac_clean_files 3534ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3535# Try to create an executable without -o first, disregard a.out. 3536# It will help us diagnose broken compilers, and finding out an intuition 3537# of exeext. 3538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3539$as_echo_n "checking whether the C compiler works... " >&6; } 3540ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3541 3542# The possible output files: 3543ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3544 3545ac_rmfiles= 3546for ac_file in $ac_files 3547do 3548 case $ac_file in 3549 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3550 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3551 esac 3552done 3553rm -f $ac_rmfiles 3554 3555if { { ac_try="$ac_link_default" 3556case "(($ac_try" in 3557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3558 *) ac_try_echo=$ac_try;; 3559esac 3560eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3561$as_echo "$ac_try_echo"; } >&5 3562 (eval "$ac_link_default") 2>&5 3563 ac_status=$? 3564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3565 test $ac_status = 0; }; then : 3566 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3567# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3568# in a Makefile. We should not override ac_cv_exeext if it was cached, 3569# so that the user can short-circuit this test for compilers unknown to 3570# Autoconf. 3571for ac_file in $ac_files '' 3572do 3573 test -f "$ac_file" || continue 3574 case $ac_file in 3575 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3576 ;; 3577 [ab].out ) 3578 # We found the default executable, but exeext='' is most 3579 # certainly right. 3580 break;; 3581 *.* ) 3582 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3583 then :; else 3584 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3585 fi 3586 # We set ac_cv_exeext here because the later test for it is not 3587 # safe: cross compilers may not add the suffix if given an `-o' 3588 # argument, so we may need to know it at that point already. 3589 # Even if this section looks crufty: it has the advantage of 3590 # actually working. 3591 break;; 3592 * ) 3593 break;; 3594 esac 3595done 3596test "$ac_cv_exeext" = no && ac_cv_exeext= 3597 3598else 3599 ac_file='' 3600fi 3601if test -z "$ac_file"; then : 3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3603$as_echo "no" >&6; } 3604$as_echo "$as_me: failed program was:" >&5 3605sed 's/^/| /' conftest.$ac_ext >&5 3606 3607{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3608$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3609as_fn_error 77 "C compiler cannot create executables 3610See \`config.log' for more details" "$LINENO" 5; } 3611else 3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3613$as_echo "yes" >&6; } 3614fi 3615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3616$as_echo_n "checking for C compiler default output file name... " >&6; } 3617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3618$as_echo "$ac_file" >&6; } 3619ac_exeext=$ac_cv_exeext 3620 3621rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3622ac_clean_files=$ac_clean_files_save 3623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3624$as_echo_n "checking for suffix of executables... " >&6; } 3625if { { ac_try="$ac_link" 3626case "(($ac_try" in 3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3628 *) ac_try_echo=$ac_try;; 3629esac 3630eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3631$as_echo "$ac_try_echo"; } >&5 3632 (eval "$ac_link") 2>&5 3633 ac_status=$? 3634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3635 test $ac_status = 0; }; then : 3636 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3637# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3638# work properly (i.e., refer to `conftest.exe'), while it won't with 3639# `rm'. 3640for ac_file in conftest.exe conftest conftest.*; do 3641 test -f "$ac_file" || continue 3642 case $ac_file in 3643 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3644 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3645 break;; 3646 * ) break;; 3647 esac 3648done 3649else 3650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3651$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3652as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3653See \`config.log' for more details" "$LINENO" 5; } 3654fi 3655rm -f conftest conftest$ac_cv_exeext 3656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3657$as_echo "$ac_cv_exeext" >&6; } 3658 3659rm -f conftest.$ac_ext 3660EXEEXT=$ac_cv_exeext 3661ac_exeext=$EXEEXT 3662cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3663/* end confdefs.h. */ 3664#include <stdio.h> 3665int 3666main () 3667{ 3668FILE *f = fopen ("conftest.out", "w"); 3669 return ferror (f) || fclose (f) != 0; 3670 3671 ; 3672 return 0; 3673} 3674_ACEOF 3675ac_clean_files="$ac_clean_files conftest.out" 3676# Check that the compiler produces executables we can run. If not, either 3677# the compiler is broken, or we cross compile. 3678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3679$as_echo_n "checking whether we are cross compiling... " >&6; } 3680if test "$cross_compiling" != yes; then 3681 { { ac_try="$ac_link" 3682case "(($ac_try" in 3683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3684 *) ac_try_echo=$ac_try;; 3685esac 3686eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3687$as_echo "$ac_try_echo"; } >&5 3688 (eval "$ac_link") 2>&5 3689 ac_status=$? 3690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3691 test $ac_status = 0; } 3692 if { ac_try='./conftest$ac_cv_exeext' 3693 { { case "(($ac_try" in 3694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3695 *) ac_try_echo=$ac_try;; 3696esac 3697eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3698$as_echo "$ac_try_echo"; } >&5 3699 (eval "$ac_try") 2>&5 3700 ac_status=$? 3701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3702 test $ac_status = 0; }; }; then 3703 cross_compiling=no 3704 else 3705 if test "$cross_compiling" = maybe; then 3706 cross_compiling=yes 3707 else 3708 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3709$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3710as_fn_error $? "cannot run C compiled programs. 3711If you meant to cross compile, use \`--host'. 3712See \`config.log' for more details" "$LINENO" 5; } 3713 fi 3714 fi 3715fi 3716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3717$as_echo "$cross_compiling" >&6; } 3718 3719rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3720ac_clean_files=$ac_clean_files_save 3721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3722$as_echo_n "checking for suffix of object files... " >&6; } 3723if ${ac_cv_objext+:} false; then : 3724 $as_echo_n "(cached) " >&6 3725else 3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3727/* end confdefs.h. */ 3728 3729int 3730main () 3731{ 3732 3733 ; 3734 return 0; 3735} 3736_ACEOF 3737rm -f conftest.o conftest.obj 3738if { { ac_try="$ac_compile" 3739case "(($ac_try" in 3740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3741 *) ac_try_echo=$ac_try;; 3742esac 3743eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3744$as_echo "$ac_try_echo"; } >&5 3745 (eval "$ac_compile") 2>&5 3746 ac_status=$? 3747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3748 test $ac_status = 0; }; then : 3749 for ac_file in conftest.o conftest.obj conftest.*; do 3750 test -f "$ac_file" || continue; 3751 case $ac_file in 3752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3753 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3754 break;; 3755 esac 3756done 3757else 3758 $as_echo "$as_me: failed program was:" >&5 3759sed 's/^/| /' conftest.$ac_ext >&5 3760 3761{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3762$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3763as_fn_error $? "cannot compute suffix of object files: cannot compile 3764See \`config.log' for more details" "$LINENO" 5; } 3765fi 3766rm -f conftest.$ac_cv_objext conftest.$ac_ext 3767fi 3768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3769$as_echo "$ac_cv_objext" >&6; } 3770OBJEXT=$ac_cv_objext 3771ac_objext=$OBJEXT 3772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3773$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3774if ${ac_cv_c_compiler_gnu+:} false; then : 3775 $as_echo_n "(cached) " >&6 3776else 3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3778/* end confdefs.h. */ 3779 3780int 3781main () 3782{ 3783#ifndef __GNUC__ 3784 choke me 3785#endif 3786 3787 ; 3788 return 0; 3789} 3790_ACEOF 3791if ac_fn_c_try_compile "$LINENO"; then : 3792 ac_compiler_gnu=yes 3793else 3794 ac_compiler_gnu=no 3795fi 3796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3797ac_cv_c_compiler_gnu=$ac_compiler_gnu 3798 3799fi 3800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3801$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3802if test $ac_compiler_gnu = yes; then 3803 GCC=yes 3804else 3805 GCC= 3806fi 3807ac_test_CFLAGS=${CFLAGS+set} 3808ac_save_CFLAGS=$CFLAGS 3809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3810$as_echo_n "checking whether $CC accepts -g... " >&6; } 3811if ${ac_cv_prog_cc_g+:} false; then : 3812 $as_echo_n "(cached) " >&6 3813else 3814 ac_save_c_werror_flag=$ac_c_werror_flag 3815 ac_c_werror_flag=yes 3816 ac_cv_prog_cc_g=no 3817 CFLAGS="-g" 3818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3819/* end confdefs.h. */ 3820 3821int 3822main () 3823{ 3824 3825 ; 3826 return 0; 3827} 3828_ACEOF 3829if ac_fn_c_try_compile "$LINENO"; then : 3830 ac_cv_prog_cc_g=yes 3831else 3832 CFLAGS="" 3833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3834/* end confdefs.h. */ 3835 3836int 3837main () 3838{ 3839 3840 ; 3841 return 0; 3842} 3843_ACEOF 3844if ac_fn_c_try_compile "$LINENO"; then : 3845 3846else 3847 ac_c_werror_flag=$ac_save_c_werror_flag 3848 CFLAGS="-g" 3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3850/* end confdefs.h. */ 3851 3852int 3853main () 3854{ 3855 3856 ; 3857 return 0; 3858} 3859_ACEOF 3860if ac_fn_c_try_compile "$LINENO"; then : 3861 ac_cv_prog_cc_g=yes 3862fi 3863rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3864fi 3865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3866fi 3867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3868 ac_c_werror_flag=$ac_save_c_werror_flag 3869fi 3870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3871$as_echo "$ac_cv_prog_cc_g" >&6; } 3872if test "$ac_test_CFLAGS" = set; then 3873 CFLAGS=$ac_save_CFLAGS 3874elif test $ac_cv_prog_cc_g = yes; then 3875 if test "$GCC" = yes; then 3876 CFLAGS="-g -O2" 3877 else 3878 CFLAGS="-g" 3879 fi 3880else 3881 if test "$GCC" = yes; then 3882 CFLAGS="-O2" 3883 else 3884 CFLAGS= 3885 fi 3886fi 3887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3888$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3889if ${ac_cv_prog_cc_c89+:} false; then : 3890 $as_echo_n "(cached) " >&6 3891else 3892 ac_cv_prog_cc_c89=no 3893ac_save_CC=$CC 3894cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3895/* end confdefs.h. */ 3896#include <stdarg.h> 3897#include <stdio.h> 3898struct stat; 3899/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3900struct buf { int x; }; 3901FILE * (*rcsopen) (struct buf *, struct stat *, int); 3902static char *e (p, i) 3903 char **p; 3904 int i; 3905{ 3906 return p[i]; 3907} 3908static char *f (char * (*g) (char **, int), char **p, ...) 3909{ 3910 char *s; 3911 va_list v; 3912 va_start (v,p); 3913 s = g (p, va_arg (v,int)); 3914 va_end (v); 3915 return s; 3916} 3917 3918/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3919 function prototypes and stuff, but not '\xHH' hex character constants. 3920 These don't provoke an error unfortunately, instead are silently treated 3921 as 'x'. The following induces an error, until -std is added to get 3922 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3923 array size at least. It's necessary to write '\x00'==0 to get something 3924 that's true only with -std. */ 3925int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3926 3927/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3928 inside strings and character constants. */ 3929#define FOO(x) 'x' 3930int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3931 3932int test (int i, double x); 3933struct s1 {int (*f) (int a);}; 3934struct s2 {int (*f) (double a);}; 3935int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3936int argc; 3937char **argv; 3938int 3939main () 3940{ 3941return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3942 ; 3943 return 0; 3944} 3945_ACEOF 3946for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3947 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3948do 3949 CC="$ac_save_CC $ac_arg" 3950 if ac_fn_c_try_compile "$LINENO"; then : 3951 ac_cv_prog_cc_c89=$ac_arg 3952fi 3953rm -f core conftest.err conftest.$ac_objext 3954 test "x$ac_cv_prog_cc_c89" != "xno" && break 3955done 3956rm -f conftest.$ac_ext 3957CC=$ac_save_CC 3958 3959fi 3960# AC_CACHE_VAL 3961case "x$ac_cv_prog_cc_c89" in 3962 x) 3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3964$as_echo "none needed" >&6; } ;; 3965 xno) 3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3967$as_echo "unsupported" >&6; } ;; 3968 *) 3969 CC="$CC $ac_cv_prog_cc_c89" 3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3971$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3972esac 3973if test "x$ac_cv_prog_cc_c89" != xno; then : 3974 3975fi 3976 3977ac_ext=c 3978ac_cpp='$CPP $CPPFLAGS' 3979ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3980ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3981ac_compiler_gnu=$ac_cv_c_compiler_gnu 3982 3983depcc="$CC" am_compiler_list= 3984 3985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3986$as_echo_n "checking dependency style of $depcc... " >&6; } 3987if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3988 $as_echo_n "(cached) " >&6 3989else 3990 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3991 # We make a subdir and do the tests there. Otherwise we can end up 3992 # making bogus files that we don't know about and never remove. For 3993 # instance it was reported that on HP-UX the gcc test will end up 3994 # making a dummy file named `D' -- because `-MD' means `put the output 3995 # in D'. 3996 rm -rf conftest.dir 3997 mkdir conftest.dir 3998 # Copy depcomp to subdir because otherwise we won't find it if we're 3999 # using a relative directory. 4000 cp "$am_depcomp" conftest.dir 4001 cd conftest.dir 4002 # We will build objects and dependencies in a subdirectory because 4003 # it helps to detect inapplicable dependency modes. For instance 4004 # both Tru64's cc and ICC support -MD to output dependencies as a 4005 # side effect of compilation, but ICC will put the dependencies in 4006 # the current directory while Tru64 will put them in the object 4007 # directory. 4008 mkdir sub 4009 4010 am_cv_CC_dependencies_compiler_type=none 4011 if test "$am_compiler_list" = ""; then 4012 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4013 fi 4014 am__universal=false 4015 case " $depcc " in #( 4016 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4017 esac 4018 4019 for depmode in $am_compiler_list; do 4020 # Setup a source with many dependencies, because some compilers 4021 # like to wrap large dependency lists on column 80 (with \), and 4022 # we should not choose a depcomp mode which is confused by this. 4023 # 4024 # We need to recreate these files for each test, as the compiler may 4025 # overwrite some of them when testing with obscure command lines. 4026 # This happens at least with the AIX C compiler. 4027 : > sub/conftest.c 4028 for i in 1 2 3 4 5 6; do 4029 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4030 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4031 # Solaris 8's {/usr,}/bin/sh. 4032 touch sub/conftst$i.h 4033 done 4034 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4035 4036 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4037 # mode. It turns out that the SunPro C++ compiler does not properly 4038 # handle `-M -o', and we need to detect this. Also, some Intel 4039 # versions had trouble with output in subdirs 4040 am__obj=sub/conftest.${OBJEXT-o} 4041 am__minus_obj="-o $am__obj" 4042 case $depmode in 4043 gcc) 4044 # This depmode causes a compiler race in universal mode. 4045 test "$am__universal" = false || continue 4046 ;; 4047 nosideeffect) 4048 # after this tag, mechanisms are not by side-effect, so they'll 4049 # only be used when explicitly requested 4050 if test "x$enable_dependency_tracking" = xyes; then 4051 continue 4052 else 4053 break 4054 fi 4055 ;; 4056 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4057 # This compiler won't grok `-c -o', but also, the minuso test has 4058 # not run yet. These depmodes are late enough in the game, and 4059 # so weak that their functioning should not be impacted. 4060 am__obj=conftest.${OBJEXT-o} 4061 am__minus_obj= 4062 ;; 4063 none) break ;; 4064 esac 4065 if depmode=$depmode \ 4066 source=sub/conftest.c object=$am__obj \ 4067 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4068 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4069 >/dev/null 2>conftest.err && 4070 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4071 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4072 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4073 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4074 # icc doesn't choke on unknown options, it will just issue warnings 4075 # or remarks (even with -Werror). So we grep stderr for any message 4076 # that says an option was ignored or not supported. 4077 # When given -MP, icc 7.0 and 7.1 complain thusly: 4078 # icc: Command line warning: ignoring option '-M'; no argument required 4079 # The diagnosis changed in icc 8.0: 4080 # icc: Command line remark: option '-MP' not supported 4081 if (grep 'ignoring option' conftest.err || 4082 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4083 am_cv_CC_dependencies_compiler_type=$depmode 4084 break 4085 fi 4086 fi 4087 done 4088 4089 cd .. 4090 rm -rf conftest.dir 4091else 4092 am_cv_CC_dependencies_compiler_type=none 4093fi 4094 4095fi 4096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4097$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4098CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4099 4100 if 4101 test "x$enable_dependency_tracking" != xno \ 4102 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4103 am__fastdepCC_TRUE= 4104 am__fastdepCC_FALSE='#' 4105else 4106 am__fastdepCC_TRUE='#' 4107 am__fastdepCC_FALSE= 4108fi 4109 4110 4111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4112$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4113if ${ac_cv_path_SED+:} false; then : 4114 $as_echo_n "(cached) " >&6 4115else 4116 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4117 for ac_i in 1 2 3 4 5 6 7; do 4118 ac_script="$ac_script$as_nl$ac_script" 4119 done 4120 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4121 { ac_script=; unset ac_script;} 4122 if test -z "$SED"; then 4123 ac_path_SED_found=false 4124 # Loop through the user's path and test for each of PROGNAME-LIST 4125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4126for as_dir in $PATH 4127do 4128 IFS=$as_save_IFS 4129 test -z "$as_dir" && as_dir=. 4130 for ac_prog in sed gsed; do 4131 for ac_exec_ext in '' $ac_executable_extensions; do 4132 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4133 as_fn_executable_p "$ac_path_SED" || continue 4134# Check for GNU ac_path_SED and select it if it is found. 4135 # Check for GNU $ac_path_SED 4136case `"$ac_path_SED" --version 2>&1` in 4137*GNU*) 4138 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4139*) 4140 ac_count=0 4141 $as_echo_n 0123456789 >"conftest.in" 4142 while : 4143 do 4144 cat "conftest.in" "conftest.in" >"conftest.tmp" 4145 mv "conftest.tmp" "conftest.in" 4146 cp "conftest.in" "conftest.nl" 4147 $as_echo '' >> "conftest.nl" 4148 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4149 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4150 as_fn_arith $ac_count + 1 && ac_count=$as_val 4151 if test $ac_count -gt ${ac_path_SED_max-0}; then 4152 # Best one so far, save it but keep looking for a better one 4153 ac_cv_path_SED="$ac_path_SED" 4154 ac_path_SED_max=$ac_count 4155 fi 4156 # 10*(2^10) chars as input seems more than enough 4157 test $ac_count -gt 10 && break 4158 done 4159 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4160esac 4161 4162 $ac_path_SED_found && break 3 4163 done 4164 done 4165 done 4166IFS=$as_save_IFS 4167 if test -z "$ac_cv_path_SED"; then 4168 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4169 fi 4170else 4171 ac_cv_path_SED=$SED 4172fi 4173 4174fi 4175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4176$as_echo "$ac_cv_path_SED" >&6; } 4177 SED="$ac_cv_path_SED" 4178 rm -f conftest.sed 4179 4180test -z "$SED" && SED=sed 4181Xsed="$SED -e 1s/^X//" 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4194$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4195if ${ac_cv_path_GREP+:} false; then : 4196 $as_echo_n "(cached) " >&6 4197else 4198 if test -z "$GREP"; then 4199 ac_path_GREP_found=false 4200 # Loop through the user's path and test for each of PROGNAME-LIST 4201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4202for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4203do 4204 IFS=$as_save_IFS 4205 test -z "$as_dir" && as_dir=. 4206 for ac_prog in grep ggrep; do 4207 for ac_exec_ext in '' $ac_executable_extensions; do 4208 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4209 as_fn_executable_p "$ac_path_GREP" || continue 4210# Check for GNU ac_path_GREP and select it if it is found. 4211 # Check for GNU $ac_path_GREP 4212case `"$ac_path_GREP" --version 2>&1` in 4213*GNU*) 4214 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4215*) 4216 ac_count=0 4217 $as_echo_n 0123456789 >"conftest.in" 4218 while : 4219 do 4220 cat "conftest.in" "conftest.in" >"conftest.tmp" 4221 mv "conftest.tmp" "conftest.in" 4222 cp "conftest.in" "conftest.nl" 4223 $as_echo 'GREP' >> "conftest.nl" 4224 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4225 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4226 as_fn_arith $ac_count + 1 && ac_count=$as_val 4227 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4228 # Best one so far, save it but keep looking for a better one 4229 ac_cv_path_GREP="$ac_path_GREP" 4230 ac_path_GREP_max=$ac_count 4231 fi 4232 # 10*(2^10) chars as input seems more than enough 4233 test $ac_count -gt 10 && break 4234 done 4235 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4236esac 4237 4238 $ac_path_GREP_found && break 3 4239 done 4240 done 4241 done 4242IFS=$as_save_IFS 4243 if test -z "$ac_cv_path_GREP"; then 4244 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4245 fi 4246else 4247 ac_cv_path_GREP=$GREP 4248fi 4249 4250fi 4251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4252$as_echo "$ac_cv_path_GREP" >&6; } 4253 GREP="$ac_cv_path_GREP" 4254 4255 4256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4257$as_echo_n "checking for egrep... " >&6; } 4258if ${ac_cv_path_EGREP+:} false; then : 4259 $as_echo_n "(cached) " >&6 4260else 4261 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4262 then ac_cv_path_EGREP="$GREP -E" 4263 else 4264 if test -z "$EGREP"; then 4265 ac_path_EGREP_found=false 4266 # Loop through the user's path and test for each of PROGNAME-LIST 4267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4268for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4269do 4270 IFS=$as_save_IFS 4271 test -z "$as_dir" && as_dir=. 4272 for ac_prog in egrep; do 4273 for ac_exec_ext in '' $ac_executable_extensions; do 4274 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4275 as_fn_executable_p "$ac_path_EGREP" || continue 4276# Check for GNU ac_path_EGREP and select it if it is found. 4277 # Check for GNU $ac_path_EGREP 4278case `"$ac_path_EGREP" --version 2>&1` in 4279*GNU*) 4280 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4281*) 4282 ac_count=0 4283 $as_echo_n 0123456789 >"conftest.in" 4284 while : 4285 do 4286 cat "conftest.in" "conftest.in" >"conftest.tmp" 4287 mv "conftest.tmp" "conftest.in" 4288 cp "conftest.in" "conftest.nl" 4289 $as_echo 'EGREP' >> "conftest.nl" 4290 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4291 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4292 as_fn_arith $ac_count + 1 && ac_count=$as_val 4293 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4294 # Best one so far, save it but keep looking for a better one 4295 ac_cv_path_EGREP="$ac_path_EGREP" 4296 ac_path_EGREP_max=$ac_count 4297 fi 4298 # 10*(2^10) chars as input seems more than enough 4299 test $ac_count -gt 10 && break 4300 done 4301 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4302esac 4303 4304 $ac_path_EGREP_found && break 3 4305 done 4306 done 4307 done 4308IFS=$as_save_IFS 4309 if test -z "$ac_cv_path_EGREP"; then 4310 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4311 fi 4312else 4313 ac_cv_path_EGREP=$EGREP 4314fi 4315 4316 fi 4317fi 4318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4319$as_echo "$ac_cv_path_EGREP" >&6; } 4320 EGREP="$ac_cv_path_EGREP" 4321 4322 4323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4324$as_echo_n "checking for fgrep... " >&6; } 4325if ${ac_cv_path_FGREP+:} false; then : 4326 $as_echo_n "(cached) " >&6 4327else 4328 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4329 then ac_cv_path_FGREP="$GREP -F" 4330 else 4331 if test -z "$FGREP"; then 4332 ac_path_FGREP_found=false 4333 # Loop through the user's path and test for each of PROGNAME-LIST 4334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4335for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4336do 4337 IFS=$as_save_IFS 4338 test -z "$as_dir" && as_dir=. 4339 for ac_prog in fgrep; do 4340 for ac_exec_ext in '' $ac_executable_extensions; do 4341 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4342 as_fn_executable_p "$ac_path_FGREP" || continue 4343# Check for GNU ac_path_FGREP and select it if it is found. 4344 # Check for GNU $ac_path_FGREP 4345case `"$ac_path_FGREP" --version 2>&1` in 4346*GNU*) 4347 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4348*) 4349 ac_count=0 4350 $as_echo_n 0123456789 >"conftest.in" 4351 while : 4352 do 4353 cat "conftest.in" "conftest.in" >"conftest.tmp" 4354 mv "conftest.tmp" "conftest.in" 4355 cp "conftest.in" "conftest.nl" 4356 $as_echo 'FGREP' >> "conftest.nl" 4357 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4358 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4359 as_fn_arith $ac_count + 1 && ac_count=$as_val 4360 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4361 # Best one so far, save it but keep looking for a better one 4362 ac_cv_path_FGREP="$ac_path_FGREP" 4363 ac_path_FGREP_max=$ac_count 4364 fi 4365 # 10*(2^10) chars as input seems more than enough 4366 test $ac_count -gt 10 && break 4367 done 4368 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4369esac 4370 4371 $ac_path_FGREP_found && break 3 4372 done 4373 done 4374 done 4375IFS=$as_save_IFS 4376 if test -z "$ac_cv_path_FGREP"; then 4377 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4378 fi 4379else 4380 ac_cv_path_FGREP=$FGREP 4381fi 4382 4383 fi 4384fi 4385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4386$as_echo "$ac_cv_path_FGREP" >&6; } 4387 FGREP="$ac_cv_path_FGREP" 4388 4389 4390test -z "$GREP" && GREP=grep 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410# Check whether --with-gnu-ld was given. 4411if test "${with_gnu_ld+set}" = set; then : 4412 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4413else 4414 with_gnu_ld=no 4415fi 4416 4417ac_prog=ld 4418if test "$GCC" = yes; then 4419 # Check if gcc -print-prog-name=ld gives a path. 4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4421$as_echo_n "checking for ld used by $CC... " >&6; } 4422 case $host in 4423 *-*-mingw*) 4424 # gcc leaves a trailing carriage return which upsets mingw 4425 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4426 *) 4427 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4428 esac 4429 case $ac_prog in 4430 # Accept absolute paths. 4431 [\\/]* | ?:[\\/]*) 4432 re_direlt='/[^/][^/]*/\.\./' 4433 # Canonicalize the pathname of ld 4434 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4435 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4436 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4437 done 4438 test -z "$LD" && LD="$ac_prog" 4439 ;; 4440 "") 4441 # If it fails, then pretend we aren't using GCC. 4442 ac_prog=ld 4443 ;; 4444 *) 4445 # If it is relative, then search for the first ld in PATH. 4446 with_gnu_ld=unknown 4447 ;; 4448 esac 4449elif test "$with_gnu_ld" = yes; then 4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4451$as_echo_n "checking for GNU ld... " >&6; } 4452else 4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4454$as_echo_n "checking for non-GNU ld... " >&6; } 4455fi 4456if ${lt_cv_path_LD+:} false; then : 4457 $as_echo_n "(cached) " >&6 4458else 4459 if test -z "$LD"; then 4460 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4461 for ac_dir in $PATH; do 4462 IFS="$lt_save_ifs" 4463 test -z "$ac_dir" && ac_dir=. 4464 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4465 lt_cv_path_LD="$ac_dir/$ac_prog" 4466 # Check to see if the program is GNU ld. I'd rather use --version, 4467 # but apparently some variants of GNU ld only accept -v. 4468 # Break only if it was the GNU/non-GNU ld that we prefer. 4469 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4470 *GNU* | *'with BFD'*) 4471 test "$with_gnu_ld" != no && break 4472 ;; 4473 *) 4474 test "$with_gnu_ld" != yes && break 4475 ;; 4476 esac 4477 fi 4478 done 4479 IFS="$lt_save_ifs" 4480else 4481 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4482fi 4483fi 4484 4485LD="$lt_cv_path_LD" 4486if test -n "$LD"; then 4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4488$as_echo "$LD" >&6; } 4489else 4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4491$as_echo "no" >&6; } 4492fi 4493test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4495$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4496if ${lt_cv_prog_gnu_ld+:} false; then : 4497 $as_echo_n "(cached) " >&6 4498else 4499 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4500case `$LD -v 2>&1 </dev/null` in 4501*GNU* | *'with BFD'*) 4502 lt_cv_prog_gnu_ld=yes 4503 ;; 4504*) 4505 lt_cv_prog_gnu_ld=no 4506 ;; 4507esac 4508fi 4509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4510$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4511with_gnu_ld=$lt_cv_prog_gnu_ld 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4522$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4523if ${lt_cv_path_NM+:} false; then : 4524 $as_echo_n "(cached) " >&6 4525else 4526 if test -n "$NM"; then 4527 # Let the user override the test. 4528 lt_cv_path_NM="$NM" 4529else 4530 lt_nm_to_check="${ac_tool_prefix}nm" 4531 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4532 lt_nm_to_check="$lt_nm_to_check nm" 4533 fi 4534 for lt_tmp_nm in $lt_nm_to_check; do 4535 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4536 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4537 IFS="$lt_save_ifs" 4538 test -z "$ac_dir" && ac_dir=. 4539 tmp_nm="$ac_dir/$lt_tmp_nm" 4540 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4541 # Check to see if the nm accepts a BSD-compat flag. 4542 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4543 # nm: unknown option "B" ignored 4544 # Tru64's nm complains that /dev/null is an invalid object file 4545 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4546 */dev/null* | *'Invalid file or object type'*) 4547 lt_cv_path_NM="$tmp_nm -B" 4548 break 4549 ;; 4550 *) 4551 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4552 */dev/null*) 4553 lt_cv_path_NM="$tmp_nm -p" 4554 break 4555 ;; 4556 *) 4557 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4558 continue # so that we can try to find one that supports BSD flags 4559 ;; 4560 esac 4561 ;; 4562 esac 4563 fi 4564 done 4565 IFS="$lt_save_ifs" 4566 done 4567 : ${lt_cv_path_NM=no} 4568fi 4569fi 4570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4571$as_echo "$lt_cv_path_NM" >&6; } 4572if test "$lt_cv_path_NM" != "no"; then 4573 NM="$lt_cv_path_NM" 4574else 4575 # Didn't find any BSD compatible name lister, look for dumpbin. 4576 if test -n "$DUMPBIN"; then : 4577 # Let the user override the test. 4578 else 4579 if test -n "$ac_tool_prefix"; then 4580 for ac_prog in dumpbin "link -dump" 4581 do 4582 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4583set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4585$as_echo_n "checking for $ac_word... " >&6; } 4586if ${ac_cv_prog_DUMPBIN+:} false; then : 4587 $as_echo_n "(cached) " >&6 4588else 4589 if test -n "$DUMPBIN"; then 4590 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4591else 4592as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4593for as_dir in $PATH 4594do 4595 IFS=$as_save_IFS 4596 test -z "$as_dir" && as_dir=. 4597 for ac_exec_ext in '' $ac_executable_extensions; do 4598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4599 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4601 break 2 4602 fi 4603done 4604 done 4605IFS=$as_save_IFS 4606 4607fi 4608fi 4609DUMPBIN=$ac_cv_prog_DUMPBIN 4610if test -n "$DUMPBIN"; then 4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4612$as_echo "$DUMPBIN" >&6; } 4613else 4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4615$as_echo "no" >&6; } 4616fi 4617 4618 4619 test -n "$DUMPBIN" && break 4620 done 4621fi 4622if test -z "$DUMPBIN"; then 4623 ac_ct_DUMPBIN=$DUMPBIN 4624 for ac_prog in dumpbin "link -dump" 4625do 4626 # Extract the first word of "$ac_prog", so it can be a program name with args. 4627set dummy $ac_prog; ac_word=$2 4628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4629$as_echo_n "checking for $ac_word... " >&6; } 4630if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4631 $as_echo_n "(cached) " >&6 4632else 4633 if test -n "$ac_ct_DUMPBIN"; then 4634 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4635else 4636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4637for as_dir in $PATH 4638do 4639 IFS=$as_save_IFS 4640 test -z "$as_dir" && as_dir=. 4641 for ac_exec_ext in '' $ac_executable_extensions; do 4642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4643 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4645 break 2 4646 fi 4647done 4648 done 4649IFS=$as_save_IFS 4650 4651fi 4652fi 4653ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4654if test -n "$ac_ct_DUMPBIN"; then 4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4656$as_echo "$ac_ct_DUMPBIN" >&6; } 4657else 4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4659$as_echo "no" >&6; } 4660fi 4661 4662 4663 test -n "$ac_ct_DUMPBIN" && break 4664done 4665 4666 if test "x$ac_ct_DUMPBIN" = x; then 4667 DUMPBIN=":" 4668 else 4669 case $cross_compiling:$ac_tool_warned in 4670yes:) 4671{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4672$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4673ac_tool_warned=yes ;; 4674esac 4675 DUMPBIN=$ac_ct_DUMPBIN 4676 fi 4677fi 4678 4679 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4680 *COFF*) 4681 DUMPBIN="$DUMPBIN -symbols" 4682 ;; 4683 *) 4684 DUMPBIN=: 4685 ;; 4686 esac 4687 fi 4688 4689 if test "$DUMPBIN" != ":"; then 4690 NM="$DUMPBIN" 4691 fi 4692fi 4693test -z "$NM" && NM=nm 4694 4695 4696 4697 4698 4699 4700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4701$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4702if ${lt_cv_nm_interface+:} false; then : 4703 $as_echo_n "(cached) " >&6 4704else 4705 lt_cv_nm_interface="BSD nm" 4706 echo "int some_variable = 0;" > conftest.$ac_ext 4707 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4708 (eval "$ac_compile" 2>conftest.err) 4709 cat conftest.err >&5 4710 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4711 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4712 cat conftest.err >&5 4713 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4714 cat conftest.out >&5 4715 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4716 lt_cv_nm_interface="MS dumpbin" 4717 fi 4718 rm -f conftest* 4719fi 4720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4721$as_echo "$lt_cv_nm_interface" >&6; } 4722 4723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4724$as_echo_n "checking whether ln -s works... " >&6; } 4725LN_S=$as_ln_s 4726if test "$LN_S" = "ln -s"; then 4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4728$as_echo "yes" >&6; } 4729else 4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4731$as_echo "no, using $LN_S" >&6; } 4732fi 4733 4734# find the maximum length of command line arguments 4735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4736$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4737if ${lt_cv_sys_max_cmd_len+:} false; then : 4738 $as_echo_n "(cached) " >&6 4739else 4740 i=0 4741 teststring="ABCD" 4742 4743 case $build_os in 4744 msdosdjgpp*) 4745 # On DJGPP, this test can blow up pretty badly due to problems in libc 4746 # (any single argument exceeding 2000 bytes causes a buffer overrun 4747 # during glob expansion). Even if it were fixed, the result of this 4748 # check would be larger than it should be. 4749 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4750 ;; 4751 4752 gnu*) 4753 # Under GNU Hurd, this test is not required because there is 4754 # no limit to the length of command line arguments. 4755 # Libtool will interpret -1 as no limit whatsoever 4756 lt_cv_sys_max_cmd_len=-1; 4757 ;; 4758 4759 cygwin* | mingw* | cegcc*) 4760 # On Win9x/ME, this test blows up -- it succeeds, but takes 4761 # about 5 minutes as the teststring grows exponentially. 4762 # Worse, since 9x/ME are not pre-emptively multitasking, 4763 # you end up with a "frozen" computer, even though with patience 4764 # the test eventually succeeds (with a max line length of 256k). 4765 # Instead, let's just punt: use the minimum linelength reported by 4766 # all of the supported platforms: 8192 (on NT/2K/XP). 4767 lt_cv_sys_max_cmd_len=8192; 4768 ;; 4769 4770 mint*) 4771 # On MiNT this can take a long time and run out of memory. 4772 lt_cv_sys_max_cmd_len=8192; 4773 ;; 4774 4775 amigaos*) 4776 # On AmigaOS with pdksh, this test takes hours, literally. 4777 # So we just punt and use a minimum line length of 8192. 4778 lt_cv_sys_max_cmd_len=8192; 4779 ;; 4780 4781 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4782 # This has been around since 386BSD, at least. Likely further. 4783 if test -x /sbin/sysctl; then 4784 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4785 elif test -x /usr/sbin/sysctl; then 4786 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4787 else 4788 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4789 fi 4790 # And add a safety zone 4791 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4792 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4793 ;; 4794 4795 interix*) 4796 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4797 lt_cv_sys_max_cmd_len=196608 4798 ;; 4799 4800 os2*) 4801 # The test takes a long time on OS/2. 4802 lt_cv_sys_max_cmd_len=8192 4803 ;; 4804 4805 osf*) 4806 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4807 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4808 # nice to cause kernel panics so lets avoid the loop below. 4809 # First set a reasonable default. 4810 lt_cv_sys_max_cmd_len=16384 4811 # 4812 if test -x /sbin/sysconfig; then 4813 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4814 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4815 esac 4816 fi 4817 ;; 4818 sco3.2v5*) 4819 lt_cv_sys_max_cmd_len=102400 4820 ;; 4821 sysv5* | sco5v6* | sysv4.2uw2*) 4822 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4823 if test -n "$kargmax"; then 4824 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4825 else 4826 lt_cv_sys_max_cmd_len=32768 4827 fi 4828 ;; 4829 *) 4830 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4831 if test -n "$lt_cv_sys_max_cmd_len"; then 4832 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4833 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4834 else 4835 # Make teststring a little bigger before we do anything with it. 4836 # a 1K string should be a reasonable start. 4837 for i in 1 2 3 4 5 6 7 8 ; do 4838 teststring=$teststring$teststring 4839 done 4840 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4841 # If test is not a shell built-in, we'll probably end up computing a 4842 # maximum length that is only half of the actual maximum length, but 4843 # we can't tell. 4844 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 4845 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4846 test $i != 17 # 1/2 MB should be enough 4847 do 4848 i=`expr $i + 1` 4849 teststring=$teststring$teststring 4850 done 4851 # Only check the string length outside the loop. 4852 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4853 teststring= 4854 # Add a significant safety factor because C++ compilers can tack on 4855 # massive amounts of additional arguments before passing them to the 4856 # linker. It appears as though 1/2 is a usable value. 4857 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4858 fi 4859 ;; 4860 esac 4861 4862fi 4863 4864if test -n $lt_cv_sys_max_cmd_len ; then 4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4866$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4867else 4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4869$as_echo "none" >&6; } 4870fi 4871max_cmd_len=$lt_cv_sys_max_cmd_len 4872 4873 4874 4875 4876 4877 4878: ${CP="cp -f"} 4879: ${MV="mv -f"} 4880: ${RM="rm -f"} 4881 4882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4883$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4884# Try some XSI features 4885xsi_shell=no 4886( _lt_dummy="a/b/c" 4887 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 4888 = c,a/b,b/c, \ 4889 && eval 'test $(( 1 + 1 )) -eq 2 \ 4890 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4891 && xsi_shell=yes 4892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4893$as_echo "$xsi_shell" >&6; } 4894 4895 4896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4897$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4898lt_shell_append=no 4899( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4900 >/dev/null 2>&1 \ 4901 && lt_shell_append=yes 4902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4903$as_echo "$lt_shell_append" >&6; } 4904 4905 4906if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4907 lt_unset=unset 4908else 4909 lt_unset=false 4910fi 4911 4912 4913 4914 4915 4916# test EBCDIC or ASCII 4917case `echo X|tr X '\101'` in 4918 A) # ASCII based system 4919 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4920 lt_SP2NL='tr \040 \012' 4921 lt_NL2SP='tr \015\012 \040\040' 4922 ;; 4923 *) # EBCDIC based system 4924 lt_SP2NL='tr \100 \n' 4925 lt_NL2SP='tr \r\n \100\100' 4926 ;; 4927esac 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4938$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4939if ${lt_cv_to_host_file_cmd+:} false; then : 4940 $as_echo_n "(cached) " >&6 4941else 4942 case $host in 4943 *-*-mingw* ) 4944 case $build in 4945 *-*-mingw* ) # actually msys 4946 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4947 ;; 4948 *-*-cygwin* ) 4949 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4950 ;; 4951 * ) # otherwise, assume *nix 4952 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4953 ;; 4954 esac 4955 ;; 4956 *-*-cygwin* ) 4957 case $build in 4958 *-*-mingw* ) # actually msys 4959 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4960 ;; 4961 *-*-cygwin* ) 4962 lt_cv_to_host_file_cmd=func_convert_file_noop 4963 ;; 4964 * ) # otherwise, assume *nix 4965 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 4966 ;; 4967 esac 4968 ;; 4969 * ) # unhandled hosts (and "normal" native builds) 4970 lt_cv_to_host_file_cmd=func_convert_file_noop 4971 ;; 4972esac 4973 4974fi 4975 4976to_host_file_cmd=$lt_cv_to_host_file_cmd 4977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4978$as_echo "$lt_cv_to_host_file_cmd" >&6; } 4979 4980 4981 4982 4983 4984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4985$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4986if ${lt_cv_to_tool_file_cmd+:} false; then : 4987 $as_echo_n "(cached) " >&6 4988else 4989 #assume ordinary cross tools, or native build. 4990lt_cv_to_tool_file_cmd=func_convert_file_noop 4991case $host in 4992 *-*-mingw* ) 4993 case $build in 4994 *-*-mingw* ) # actually msys 4995 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 4996 ;; 4997 esac 4998 ;; 4999esac 5000 5001fi 5002 5003to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5005$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5006 5007 5008 5009 5010 5011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5012$as_echo_n "checking for $LD option to reload object files... " >&6; } 5013if ${lt_cv_ld_reload_flag+:} false; then : 5014 $as_echo_n "(cached) " >&6 5015else 5016 lt_cv_ld_reload_flag='-r' 5017fi 5018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5019$as_echo "$lt_cv_ld_reload_flag" >&6; } 5020reload_flag=$lt_cv_ld_reload_flag 5021case $reload_flag in 5022"" | " "*) ;; 5023*) reload_flag=" $reload_flag" ;; 5024esac 5025reload_cmds='$LD$reload_flag -o $output$reload_objs' 5026case $host_os in 5027 cygwin* | mingw* | pw32* | cegcc*) 5028 if test "$GCC" != yes; then 5029 reload_cmds=false 5030 fi 5031 ;; 5032 darwin*) 5033 if test "$GCC" = yes; then 5034 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5035 else 5036 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5037 fi 5038 ;; 5039esac 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049if test -n "$ac_tool_prefix"; then 5050 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5051set dummy ${ac_tool_prefix}objdump; ac_word=$2 5052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5053$as_echo_n "checking for $ac_word... " >&6; } 5054if ${ac_cv_prog_OBJDUMP+:} false; then : 5055 $as_echo_n "(cached) " >&6 5056else 5057 if test -n "$OBJDUMP"; then 5058 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5059else 5060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5061for as_dir in $PATH 5062do 5063 IFS=$as_save_IFS 5064 test -z "$as_dir" && as_dir=. 5065 for ac_exec_ext in '' $ac_executable_extensions; do 5066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5067 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5069 break 2 5070 fi 5071done 5072 done 5073IFS=$as_save_IFS 5074 5075fi 5076fi 5077OBJDUMP=$ac_cv_prog_OBJDUMP 5078if test -n "$OBJDUMP"; then 5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5080$as_echo "$OBJDUMP" >&6; } 5081else 5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5083$as_echo "no" >&6; } 5084fi 5085 5086 5087fi 5088if test -z "$ac_cv_prog_OBJDUMP"; then 5089 ac_ct_OBJDUMP=$OBJDUMP 5090 # Extract the first word of "objdump", so it can be a program name with args. 5091set dummy objdump; ac_word=$2 5092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5093$as_echo_n "checking for $ac_word... " >&6; } 5094if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5095 $as_echo_n "(cached) " >&6 5096else 5097 if test -n "$ac_ct_OBJDUMP"; then 5098 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5099else 5100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5101for as_dir in $PATH 5102do 5103 IFS=$as_save_IFS 5104 test -z "$as_dir" && as_dir=. 5105 for ac_exec_ext in '' $ac_executable_extensions; do 5106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5107 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5109 break 2 5110 fi 5111done 5112 done 5113IFS=$as_save_IFS 5114 5115fi 5116fi 5117ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5118if test -n "$ac_ct_OBJDUMP"; then 5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5120$as_echo "$ac_ct_OBJDUMP" >&6; } 5121else 5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5123$as_echo "no" >&6; } 5124fi 5125 5126 if test "x$ac_ct_OBJDUMP" = x; then 5127 OBJDUMP="false" 5128 else 5129 case $cross_compiling:$ac_tool_warned in 5130yes:) 5131{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5132$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5133ac_tool_warned=yes ;; 5134esac 5135 OBJDUMP=$ac_ct_OBJDUMP 5136 fi 5137else 5138 OBJDUMP="$ac_cv_prog_OBJDUMP" 5139fi 5140 5141test -z "$OBJDUMP" && OBJDUMP=objdump 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5152$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5153if ${lt_cv_deplibs_check_method+:} false; then : 5154 $as_echo_n "(cached) " >&6 5155else 5156 lt_cv_file_magic_cmd='$MAGIC_CMD' 5157lt_cv_file_magic_test_file= 5158lt_cv_deplibs_check_method='unknown' 5159# Need to set the preceding variable on all platforms that support 5160# interlibrary dependencies. 5161# 'none' -- dependencies not supported. 5162# `unknown' -- same as none, but documents that we really don't know. 5163# 'pass_all' -- all dependencies passed with no checks. 5164# 'test_compile' -- check by making test program. 5165# 'file_magic [[regex]]' -- check by looking for files in library path 5166# which responds to the $file_magic_cmd with a given extended regex. 5167# If you have `file' or equivalent on your system and you're not sure 5168# whether `pass_all' will *always* work, you probably want this one. 5169 5170case $host_os in 5171aix[4-9]*) 5172 lt_cv_deplibs_check_method=pass_all 5173 ;; 5174 5175beos*) 5176 lt_cv_deplibs_check_method=pass_all 5177 ;; 5178 5179bsdi[45]*) 5180 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5181 lt_cv_file_magic_cmd='/usr/bin/file -L' 5182 lt_cv_file_magic_test_file=/shlib/libc.so 5183 ;; 5184 5185cygwin*) 5186 # func_win32_libid is a shell function defined in ltmain.sh 5187 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5188 lt_cv_file_magic_cmd='func_win32_libid' 5189 ;; 5190 5191mingw* | pw32*) 5192 # Base MSYS/MinGW do not provide the 'file' command needed by 5193 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5194 # unless we find 'file', for example because we are cross-compiling. 5195 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5196 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5197 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5198 lt_cv_file_magic_cmd='func_win32_libid' 5199 else 5200 # Keep this pattern in sync with the one in func_win32_libid. 5201 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5202 lt_cv_file_magic_cmd='$OBJDUMP -f' 5203 fi 5204 ;; 5205 5206cegcc*) 5207 # use the weaker test based on 'objdump'. See mingw*. 5208 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5209 lt_cv_file_magic_cmd='$OBJDUMP -f' 5210 ;; 5211 5212darwin* | rhapsody*) 5213 lt_cv_deplibs_check_method=pass_all 5214 ;; 5215 5216freebsd* | dragonfly*) 5217 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5218 case $host_cpu in 5219 i*86 ) 5220 # Not sure whether the presence of OpenBSD here was a mistake. 5221 # Let's accept both of them until this is cleared up. 5222 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5223 lt_cv_file_magic_cmd=/usr/bin/file 5224 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5225 ;; 5226 esac 5227 else 5228 lt_cv_deplibs_check_method=pass_all 5229 fi 5230 ;; 5231 5232haiku*) 5233 lt_cv_deplibs_check_method=pass_all 5234 ;; 5235 5236hpux10.20* | hpux11*) 5237 lt_cv_file_magic_cmd=/usr/bin/file 5238 case $host_cpu in 5239 ia64*) 5240 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5241 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5242 ;; 5243 hppa*64*) 5244 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]' 5245 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5246 ;; 5247 *) 5248 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5249 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5250 ;; 5251 esac 5252 ;; 5253 5254interix[3-9]*) 5255 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5256 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5257 ;; 5258 5259irix5* | irix6* | nonstopux*) 5260 case $LD in 5261 *-32|*"-32 ") libmagic=32-bit;; 5262 *-n32|*"-n32 ") libmagic=N32;; 5263 *-64|*"-64 ") libmagic=64-bit;; 5264 *) libmagic=never-match;; 5265 esac 5266 lt_cv_deplibs_check_method=pass_all 5267 ;; 5268 5269# This must be glibc/ELF. 5270linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5271 lt_cv_deplibs_check_method=pass_all 5272 ;; 5273 5274netbsd* | netbsdelf*-gnu) 5275 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5276 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5277 else 5278 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5279 fi 5280 ;; 5281 5282newos6*) 5283 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5284 lt_cv_file_magic_cmd=/usr/bin/file 5285 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5286 ;; 5287 5288*nto* | *qnx*) 5289 lt_cv_deplibs_check_method=pass_all 5290 ;; 5291 5292openbsd*) 5293 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5294 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5295 else 5296 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5297 fi 5298 ;; 5299 5300osf3* | osf4* | osf5*) 5301 lt_cv_deplibs_check_method=pass_all 5302 ;; 5303 5304rdos*) 5305 lt_cv_deplibs_check_method=pass_all 5306 ;; 5307 5308solaris*) 5309 lt_cv_deplibs_check_method=pass_all 5310 ;; 5311 5312sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5313 lt_cv_deplibs_check_method=pass_all 5314 ;; 5315 5316sysv4 | sysv4.3*) 5317 case $host_vendor in 5318 motorola) 5319 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]' 5320 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5321 ;; 5322 ncr) 5323 lt_cv_deplibs_check_method=pass_all 5324 ;; 5325 sequent) 5326 lt_cv_file_magic_cmd='/bin/file' 5327 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5328 ;; 5329 sni) 5330 lt_cv_file_magic_cmd='/bin/file' 5331 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5332 lt_cv_file_magic_test_file=/lib/libc.so 5333 ;; 5334 siemens) 5335 lt_cv_deplibs_check_method=pass_all 5336 ;; 5337 pc) 5338 lt_cv_deplibs_check_method=pass_all 5339 ;; 5340 esac 5341 ;; 5342 5343tpf*) 5344 lt_cv_deplibs_check_method=pass_all 5345 ;; 5346esac 5347 5348fi 5349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5350$as_echo "$lt_cv_deplibs_check_method" >&6; } 5351 5352file_magic_glob= 5353want_nocaseglob=no 5354if test "$build" = "$host"; then 5355 case $host_os in 5356 mingw* | pw32*) 5357 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5358 want_nocaseglob=yes 5359 else 5360 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5361 fi 5362 ;; 5363 esac 5364fi 5365 5366file_magic_cmd=$lt_cv_file_magic_cmd 5367deplibs_check_method=$lt_cv_deplibs_check_method 5368test -z "$deplibs_check_method" && deplibs_check_method=unknown 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391if test -n "$ac_tool_prefix"; then 5392 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5393set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5395$as_echo_n "checking for $ac_word... " >&6; } 5396if ${ac_cv_prog_DLLTOOL+:} false; then : 5397 $as_echo_n "(cached) " >&6 5398else 5399 if test -n "$DLLTOOL"; then 5400 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5401else 5402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5403for as_dir in $PATH 5404do 5405 IFS=$as_save_IFS 5406 test -z "$as_dir" && as_dir=. 5407 for ac_exec_ext in '' $ac_executable_extensions; do 5408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5409 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5411 break 2 5412 fi 5413done 5414 done 5415IFS=$as_save_IFS 5416 5417fi 5418fi 5419DLLTOOL=$ac_cv_prog_DLLTOOL 5420if test -n "$DLLTOOL"; then 5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5422$as_echo "$DLLTOOL" >&6; } 5423else 5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5425$as_echo "no" >&6; } 5426fi 5427 5428 5429fi 5430if test -z "$ac_cv_prog_DLLTOOL"; then 5431 ac_ct_DLLTOOL=$DLLTOOL 5432 # Extract the first word of "dlltool", so it can be a program name with args. 5433set dummy dlltool; ac_word=$2 5434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5435$as_echo_n "checking for $ac_word... " >&6; } 5436if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5437 $as_echo_n "(cached) " >&6 5438else 5439 if test -n "$ac_ct_DLLTOOL"; then 5440 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5441else 5442as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5443for as_dir in $PATH 5444do 5445 IFS=$as_save_IFS 5446 test -z "$as_dir" && as_dir=. 5447 for ac_exec_ext in '' $ac_executable_extensions; do 5448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5449 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5451 break 2 5452 fi 5453done 5454 done 5455IFS=$as_save_IFS 5456 5457fi 5458fi 5459ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5460if test -n "$ac_ct_DLLTOOL"; then 5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5462$as_echo "$ac_ct_DLLTOOL" >&6; } 5463else 5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5465$as_echo "no" >&6; } 5466fi 5467 5468 if test "x$ac_ct_DLLTOOL" = x; then 5469 DLLTOOL="false" 5470 else 5471 case $cross_compiling:$ac_tool_warned in 5472yes:) 5473{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5474$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5475ac_tool_warned=yes ;; 5476esac 5477 DLLTOOL=$ac_ct_DLLTOOL 5478 fi 5479else 5480 DLLTOOL="$ac_cv_prog_DLLTOOL" 5481fi 5482 5483test -z "$DLLTOOL" && DLLTOOL=dlltool 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5495$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5496if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5497 $as_echo_n "(cached) " >&6 5498else 5499 lt_cv_sharedlib_from_linklib_cmd='unknown' 5500 5501case $host_os in 5502cygwin* | mingw* | pw32* | cegcc*) 5503 # two different shell functions defined in ltmain.sh 5504 # decide which to use based on capabilities of $DLLTOOL 5505 case `$DLLTOOL --help 2>&1` in 5506 *--identify-strict*) 5507 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5508 ;; 5509 *) 5510 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5511 ;; 5512 esac 5513 ;; 5514*) 5515 # fallback: assume linklib IS sharedlib 5516 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5517 ;; 5518esac 5519 5520fi 5521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5522$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5523sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5524test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5525 5526 5527 5528 5529 5530 5531 5532 5533if test -n "$ac_tool_prefix"; then 5534 for ac_prog in ar 5535 do 5536 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5537set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5539$as_echo_n "checking for $ac_word... " >&6; } 5540if ${ac_cv_prog_AR+:} false; then : 5541 $as_echo_n "(cached) " >&6 5542else 5543 if test -n "$AR"; then 5544 ac_cv_prog_AR="$AR" # Let the user override the test. 5545else 5546as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5547for as_dir in $PATH 5548do 5549 IFS=$as_save_IFS 5550 test -z "$as_dir" && as_dir=. 5551 for ac_exec_ext in '' $ac_executable_extensions; do 5552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5553 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5555 break 2 5556 fi 5557done 5558 done 5559IFS=$as_save_IFS 5560 5561fi 5562fi 5563AR=$ac_cv_prog_AR 5564if test -n "$AR"; then 5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5566$as_echo "$AR" >&6; } 5567else 5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5569$as_echo "no" >&6; } 5570fi 5571 5572 5573 test -n "$AR" && break 5574 done 5575fi 5576if test -z "$AR"; then 5577 ac_ct_AR=$AR 5578 for ac_prog in ar 5579do 5580 # Extract the first word of "$ac_prog", so it can be a program name with args. 5581set dummy $ac_prog; ac_word=$2 5582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5583$as_echo_n "checking for $ac_word... " >&6; } 5584if ${ac_cv_prog_ac_ct_AR+:} false; then : 5585 $as_echo_n "(cached) " >&6 5586else 5587 if test -n "$ac_ct_AR"; then 5588 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5589else 5590as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5591for as_dir in $PATH 5592do 5593 IFS=$as_save_IFS 5594 test -z "$as_dir" && as_dir=. 5595 for ac_exec_ext in '' $ac_executable_extensions; do 5596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5597 ac_cv_prog_ac_ct_AR="$ac_prog" 5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5599 break 2 5600 fi 5601done 5602 done 5603IFS=$as_save_IFS 5604 5605fi 5606fi 5607ac_ct_AR=$ac_cv_prog_ac_ct_AR 5608if test -n "$ac_ct_AR"; then 5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5610$as_echo "$ac_ct_AR" >&6; } 5611else 5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5613$as_echo "no" >&6; } 5614fi 5615 5616 5617 test -n "$ac_ct_AR" && break 5618done 5619 5620 if test "x$ac_ct_AR" = x; then 5621 AR="false" 5622 else 5623 case $cross_compiling:$ac_tool_warned in 5624yes:) 5625{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5626$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5627ac_tool_warned=yes ;; 5628esac 5629 AR=$ac_ct_AR 5630 fi 5631fi 5632 5633: ${AR=ar} 5634: ${AR_FLAGS=cru} 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5647$as_echo_n "checking for archiver @FILE support... " >&6; } 5648if ${lt_cv_ar_at_file+:} false; then : 5649 $as_echo_n "(cached) " >&6 5650else 5651 lt_cv_ar_at_file=no 5652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5653/* end confdefs.h. */ 5654 5655int 5656main () 5657{ 5658 5659 ; 5660 return 0; 5661} 5662_ACEOF 5663if ac_fn_c_try_compile "$LINENO"; then : 5664 echo conftest.$ac_objext > conftest.lst 5665 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5666 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5667 (eval $lt_ar_try) 2>&5 5668 ac_status=$? 5669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5670 test $ac_status = 0; } 5671 if test "$ac_status" -eq 0; then 5672 # Ensure the archiver fails upon bogus file names. 5673 rm -f conftest.$ac_objext libconftest.a 5674 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5675 (eval $lt_ar_try) 2>&5 5676 ac_status=$? 5677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5678 test $ac_status = 0; } 5679 if test "$ac_status" -ne 0; then 5680 lt_cv_ar_at_file=@ 5681 fi 5682 fi 5683 rm -f conftest.* libconftest.a 5684 5685fi 5686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5687 5688fi 5689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5690$as_echo "$lt_cv_ar_at_file" >&6; } 5691 5692if test "x$lt_cv_ar_at_file" = xno; then 5693 archiver_list_spec= 5694else 5695 archiver_list_spec=$lt_cv_ar_at_file 5696fi 5697 5698 5699 5700 5701 5702 5703 5704if test -n "$ac_tool_prefix"; then 5705 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5706set dummy ${ac_tool_prefix}strip; ac_word=$2 5707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5708$as_echo_n "checking for $ac_word... " >&6; } 5709if ${ac_cv_prog_STRIP+:} false; then : 5710 $as_echo_n "(cached) " >&6 5711else 5712 if test -n "$STRIP"; then 5713 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5714else 5715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5716for as_dir in $PATH 5717do 5718 IFS=$as_save_IFS 5719 test -z "$as_dir" && as_dir=. 5720 for ac_exec_ext in '' $ac_executable_extensions; do 5721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5722 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5724 break 2 5725 fi 5726done 5727 done 5728IFS=$as_save_IFS 5729 5730fi 5731fi 5732STRIP=$ac_cv_prog_STRIP 5733if test -n "$STRIP"; then 5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5735$as_echo "$STRIP" >&6; } 5736else 5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5738$as_echo "no" >&6; } 5739fi 5740 5741 5742fi 5743if test -z "$ac_cv_prog_STRIP"; then 5744 ac_ct_STRIP=$STRIP 5745 # Extract the first word of "strip", so it can be a program name with args. 5746set dummy strip; ac_word=$2 5747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5748$as_echo_n "checking for $ac_word... " >&6; } 5749if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5750 $as_echo_n "(cached) " >&6 5751else 5752 if test -n "$ac_ct_STRIP"; then 5753 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5754else 5755as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5756for as_dir in $PATH 5757do 5758 IFS=$as_save_IFS 5759 test -z "$as_dir" && as_dir=. 5760 for ac_exec_ext in '' $ac_executable_extensions; do 5761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5762 ac_cv_prog_ac_ct_STRIP="strip" 5763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5764 break 2 5765 fi 5766done 5767 done 5768IFS=$as_save_IFS 5769 5770fi 5771fi 5772ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5773if test -n "$ac_ct_STRIP"; then 5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5775$as_echo "$ac_ct_STRIP" >&6; } 5776else 5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5778$as_echo "no" >&6; } 5779fi 5780 5781 if test "x$ac_ct_STRIP" = x; then 5782 STRIP=":" 5783 else 5784 case $cross_compiling:$ac_tool_warned in 5785yes:) 5786{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5787$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5788ac_tool_warned=yes ;; 5789esac 5790 STRIP=$ac_ct_STRIP 5791 fi 5792else 5793 STRIP="$ac_cv_prog_STRIP" 5794fi 5795 5796test -z "$STRIP" && STRIP=: 5797 5798 5799 5800 5801 5802 5803if test -n "$ac_tool_prefix"; then 5804 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5805set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5807$as_echo_n "checking for $ac_word... " >&6; } 5808if ${ac_cv_prog_RANLIB+:} false; then : 5809 $as_echo_n "(cached) " >&6 5810else 5811 if test -n "$RANLIB"; then 5812 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5813else 5814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5815for as_dir in $PATH 5816do 5817 IFS=$as_save_IFS 5818 test -z "$as_dir" && as_dir=. 5819 for ac_exec_ext in '' $ac_executable_extensions; do 5820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5821 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5823 break 2 5824 fi 5825done 5826 done 5827IFS=$as_save_IFS 5828 5829fi 5830fi 5831RANLIB=$ac_cv_prog_RANLIB 5832if test -n "$RANLIB"; then 5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5834$as_echo "$RANLIB" >&6; } 5835else 5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5837$as_echo "no" >&6; } 5838fi 5839 5840 5841fi 5842if test -z "$ac_cv_prog_RANLIB"; then 5843 ac_ct_RANLIB=$RANLIB 5844 # Extract the first word of "ranlib", so it can be a program name with args. 5845set dummy ranlib; ac_word=$2 5846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5847$as_echo_n "checking for $ac_word... " >&6; } 5848if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5849 $as_echo_n "(cached) " >&6 5850else 5851 if test -n "$ac_ct_RANLIB"; then 5852 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5853else 5854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5855for as_dir in $PATH 5856do 5857 IFS=$as_save_IFS 5858 test -z "$as_dir" && as_dir=. 5859 for ac_exec_ext in '' $ac_executable_extensions; do 5860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5861 ac_cv_prog_ac_ct_RANLIB="ranlib" 5862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5863 break 2 5864 fi 5865done 5866 done 5867IFS=$as_save_IFS 5868 5869fi 5870fi 5871ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5872if test -n "$ac_ct_RANLIB"; then 5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5874$as_echo "$ac_ct_RANLIB" >&6; } 5875else 5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5877$as_echo "no" >&6; } 5878fi 5879 5880 if test "x$ac_ct_RANLIB" = x; then 5881 RANLIB=":" 5882 else 5883 case $cross_compiling:$ac_tool_warned in 5884yes:) 5885{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5886$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5887ac_tool_warned=yes ;; 5888esac 5889 RANLIB=$ac_ct_RANLIB 5890 fi 5891else 5892 RANLIB="$ac_cv_prog_RANLIB" 5893fi 5894 5895test -z "$RANLIB" && RANLIB=: 5896 5897 5898 5899 5900 5901 5902# Determine commands to create old-style static archives. 5903old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5904old_postinstall_cmds='chmod 644 $oldlib' 5905old_postuninstall_cmds= 5906 5907if test -n "$RANLIB"; then 5908 case $host_os in 5909 openbsd*) 5910 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5911 ;; 5912 *) 5913 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5914 ;; 5915 esac 5916 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5917fi 5918 5919case $host_os in 5920 darwin*) 5921 lock_old_archive_extraction=yes ;; 5922 *) 5923 lock_old_archive_extraction=no ;; 5924esac 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964# If no C compiler was specified, use CC. 5965LTCC=${LTCC-"$CC"} 5966 5967# If no C compiler flags were specified, use CFLAGS. 5968LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5969 5970# Allow CC to be a program name with arguments. 5971compiler=$CC 5972 5973 5974# Check for command to grab the raw symbol name followed by C symbol from nm. 5975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5976$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5977if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5978 $as_echo_n "(cached) " >&6 5979else 5980 5981# These are sane defaults that work on at least a few old systems. 5982# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5983 5984# Character class describing NM global symbol codes. 5985symcode='[BCDEGRST]' 5986 5987# Regexp to match symbols that can be accessed directly from C. 5988sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5989 5990# Define system-specific variables. 5991case $host_os in 5992aix*) 5993 symcode='[BCDT]' 5994 ;; 5995cygwin* | mingw* | pw32* | cegcc*) 5996 symcode='[ABCDGISTW]' 5997 ;; 5998hpux*) 5999 if test "$host_cpu" = ia64; then 6000 symcode='[ABCDEGRST]' 6001 fi 6002 ;; 6003irix* | nonstopux*) 6004 symcode='[BCDEGRST]' 6005 ;; 6006osf*) 6007 symcode='[BCDEGQRST]' 6008 ;; 6009solaris*) 6010 symcode='[BDRT]' 6011 ;; 6012sco3.2v5*) 6013 symcode='[DT]' 6014 ;; 6015sysv4.2uw2*) 6016 symcode='[DT]' 6017 ;; 6018sysv5* | sco5v6* | unixware* | OpenUNIX*) 6019 symcode='[ABDT]' 6020 ;; 6021sysv4) 6022 symcode='[DFNSTU]' 6023 ;; 6024esac 6025 6026# If we're using GNU nm, then use its standard symbol codes. 6027case `$NM -V 2>&1` in 6028*GNU* | *'with BFD'*) 6029 symcode='[ABCDGIRSTW]' ;; 6030esac 6031 6032# Transform an extracted symbol line into a proper C declaration. 6033# Some systems (esp. on ia64) link data and code symbols differently, 6034# so use this general approach. 6035lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6036 6037# Transform an extracted symbol line into symbol name and symbol address 6038lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6039lt_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'" 6040 6041# Handle CRLF in mingw tool chain 6042opt_cr= 6043case $build_os in 6044mingw*) 6045 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6046 ;; 6047esac 6048 6049# Try without a prefix underscore, then with it. 6050for ac_symprfx in "" "_"; do 6051 6052 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6053 symxfrm="\\1 $ac_symprfx\\2 \\2" 6054 6055 # Write the raw and C identifiers. 6056 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6057 # Fake it for dumpbin and say T for any non-static function 6058 # and D for any global variable. 6059 # Also find C++ and __fastcall symbols from MSVC++, 6060 # which start with @ or ?. 6061 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6062" {last_section=section; section=\$ 3};"\ 6063" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6064" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6065" \$ 0!~/External *\|/{next};"\ 6066" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6067" {if(hide[section]) next};"\ 6068" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6069" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6070" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6071" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6072" ' prfx=^$ac_symprfx" 6073 else 6074 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6075 fi 6076 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6077 6078 # Check to see that the pipe works correctly. 6079 pipe_works=no 6080 6081 rm -f conftest* 6082 cat > conftest.$ac_ext <<_LT_EOF 6083#ifdef __cplusplus 6084extern "C" { 6085#endif 6086char nm_test_var; 6087void nm_test_func(void); 6088void nm_test_func(void){} 6089#ifdef __cplusplus 6090} 6091#endif 6092int main(){nm_test_var='a';nm_test_func();return(0);} 6093_LT_EOF 6094 6095 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6096 (eval $ac_compile) 2>&5 6097 ac_status=$? 6098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6099 test $ac_status = 0; }; then 6100 # Now try to grab the symbols. 6101 nlist=conftest.nm 6102 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6103 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6104 ac_status=$? 6105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6106 test $ac_status = 0; } && test -s "$nlist"; then 6107 # Try sorting and uniquifying the output. 6108 if sort "$nlist" | uniq > "$nlist"T; then 6109 mv -f "$nlist"T "$nlist" 6110 else 6111 rm -f "$nlist"T 6112 fi 6113 6114 # Make sure that we snagged all the symbols we need. 6115 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6116 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6117 cat <<_LT_EOF > conftest.$ac_ext 6118/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6119#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6120/* DATA imports from DLLs on WIN32 con't be const, because runtime 6121 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6122# define LT_DLSYM_CONST 6123#elif defined(__osf__) 6124/* This system does not cope well with relocations in const data. */ 6125# define LT_DLSYM_CONST 6126#else 6127# define LT_DLSYM_CONST const 6128#endif 6129 6130#ifdef __cplusplus 6131extern "C" { 6132#endif 6133 6134_LT_EOF 6135 # Now generate the symbol file. 6136 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6137 6138 cat <<_LT_EOF >> conftest.$ac_ext 6139 6140/* The mapping between symbol names and symbols. */ 6141LT_DLSYM_CONST struct { 6142 const char *name; 6143 void *address; 6144} 6145lt__PROGRAM__LTX_preloaded_symbols[] = 6146{ 6147 { "@PROGRAM@", (void *) 0 }, 6148_LT_EOF 6149 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6150 cat <<\_LT_EOF >> conftest.$ac_ext 6151 {0, (void *) 0} 6152}; 6153 6154/* This works around a problem in FreeBSD linker */ 6155#ifdef FREEBSD_WORKAROUND 6156static const void *lt_preloaded_setup() { 6157 return lt__PROGRAM__LTX_preloaded_symbols; 6158} 6159#endif 6160 6161#ifdef __cplusplus 6162} 6163#endif 6164_LT_EOF 6165 # Now try linking the two files. 6166 mv conftest.$ac_objext conftstm.$ac_objext 6167 lt_globsym_save_LIBS=$LIBS 6168 lt_globsym_save_CFLAGS=$CFLAGS 6169 LIBS="conftstm.$ac_objext" 6170 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6172 (eval $ac_link) 2>&5 6173 ac_status=$? 6174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6175 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6176 pipe_works=yes 6177 fi 6178 LIBS=$lt_globsym_save_LIBS 6179 CFLAGS=$lt_globsym_save_CFLAGS 6180 else 6181 echo "cannot find nm_test_func in $nlist" >&5 6182 fi 6183 else 6184 echo "cannot find nm_test_var in $nlist" >&5 6185 fi 6186 else 6187 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6188 fi 6189 else 6190 echo "$progname: failed program was:" >&5 6191 cat conftest.$ac_ext >&5 6192 fi 6193 rm -rf conftest* conftst* 6194 6195 # Do not use the global_symbol_pipe unless it works. 6196 if test "$pipe_works" = yes; then 6197 break 6198 else 6199 lt_cv_sys_global_symbol_pipe= 6200 fi 6201done 6202 6203fi 6204 6205if test -z "$lt_cv_sys_global_symbol_pipe"; then 6206 lt_cv_sys_global_symbol_to_cdecl= 6207fi 6208if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6210$as_echo "failed" >&6; } 6211else 6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6213$as_echo "ok" >&6; } 6214fi 6215 6216# Response file support. 6217if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6218 nm_file_list_spec='@' 6219elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6220 nm_file_list_spec='@' 6221fi 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6250$as_echo_n "checking for sysroot... " >&6; } 6251 6252# Check whether --with-sysroot was given. 6253if test "${with_sysroot+set}" = set; then : 6254 withval=$with_sysroot; 6255else 6256 with_sysroot=no 6257fi 6258 6259 6260lt_sysroot= 6261case ${with_sysroot} in #( 6262 yes) 6263 if test "$GCC" = yes; then 6264 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6265 fi 6266 ;; #( 6267 /*) 6268 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6269 ;; #( 6270 no|'') 6271 ;; #( 6272 *) 6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6274$as_echo "${with_sysroot}" >&6; } 6275 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6276 ;; 6277esac 6278 6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6280$as_echo "${lt_sysroot:-no}" >&6; } 6281 6282 6283 6284 6285 6286# Check whether --enable-libtool-lock was given. 6287if test "${enable_libtool_lock+set}" = set; then : 6288 enableval=$enable_libtool_lock; 6289fi 6290 6291test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6292 6293# Some flags need to be propagated to the compiler or linker for good 6294# libtool support. 6295case $host in 6296ia64-*-hpux*) 6297 # Find out which ABI we are using. 6298 echo 'int i;' > conftest.$ac_ext 6299 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6300 (eval $ac_compile) 2>&5 6301 ac_status=$? 6302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6303 test $ac_status = 0; }; then 6304 case `/usr/bin/file conftest.$ac_objext` in 6305 *ELF-32*) 6306 HPUX_IA64_MODE="32" 6307 ;; 6308 *ELF-64*) 6309 HPUX_IA64_MODE="64" 6310 ;; 6311 esac 6312 fi 6313 rm -rf conftest* 6314 ;; 6315*-*-irix6*) 6316 # Find out which ABI we are using. 6317 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6319 (eval $ac_compile) 2>&5 6320 ac_status=$? 6321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6322 test $ac_status = 0; }; then 6323 if test "$lt_cv_prog_gnu_ld" = yes; then 6324 case `/usr/bin/file conftest.$ac_objext` in 6325 *32-bit*) 6326 LD="${LD-ld} -melf32bsmip" 6327 ;; 6328 *N32*) 6329 LD="${LD-ld} -melf32bmipn32" 6330 ;; 6331 *64-bit*) 6332 LD="${LD-ld} -melf64bmip" 6333 ;; 6334 esac 6335 else 6336 case `/usr/bin/file conftest.$ac_objext` in 6337 *32-bit*) 6338 LD="${LD-ld} -32" 6339 ;; 6340 *N32*) 6341 LD="${LD-ld} -n32" 6342 ;; 6343 *64-bit*) 6344 LD="${LD-ld} -64" 6345 ;; 6346 esac 6347 fi 6348 fi 6349 rm -rf conftest* 6350 ;; 6351 6352x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6353s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6354 # Find out which ABI we are using. 6355 echo 'int i;' > conftest.$ac_ext 6356 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6357 (eval $ac_compile) 2>&5 6358 ac_status=$? 6359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6360 test $ac_status = 0; }; then 6361 case `/usr/bin/file conftest.o` in 6362 *32-bit*) 6363 case $host in 6364 x86_64-*kfreebsd*-gnu) 6365 LD="${LD-ld} -m elf_i386_fbsd" 6366 ;; 6367 x86_64-*linux*) 6368 LD="${LD-ld} -m elf_i386" 6369 ;; 6370 ppc64-*linux*|powerpc64-*linux*) 6371 LD="${LD-ld} -m elf32ppclinux" 6372 ;; 6373 s390x-*linux*) 6374 LD="${LD-ld} -m elf_s390" 6375 ;; 6376 sparc64-*linux*) 6377 LD="${LD-ld} -m elf32_sparc" 6378 ;; 6379 esac 6380 ;; 6381 *64-bit*) 6382 case $host in 6383 x86_64-*kfreebsd*-gnu) 6384 LD="${LD-ld} -m elf_x86_64_fbsd" 6385 ;; 6386 x86_64-*linux*) 6387 LD="${LD-ld} -m elf_x86_64" 6388 ;; 6389 ppc*-*linux*|powerpc*-*linux*) 6390 LD="${LD-ld} -m elf64ppc" 6391 ;; 6392 s390*-*linux*|s390*-*tpf*) 6393 LD="${LD-ld} -m elf64_s390" 6394 ;; 6395 sparc*-*linux*) 6396 LD="${LD-ld} -m elf64_sparc" 6397 ;; 6398 esac 6399 ;; 6400 esac 6401 fi 6402 rm -rf conftest* 6403 ;; 6404 6405*-*-sco3.2v5*) 6406 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6407 SAVE_CFLAGS="$CFLAGS" 6408 CFLAGS="$CFLAGS -belf" 6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6410$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6411if ${lt_cv_cc_needs_belf+:} false; then : 6412 $as_echo_n "(cached) " >&6 6413else 6414 ac_ext=c 6415ac_cpp='$CPP $CPPFLAGS' 6416ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6417ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6418ac_compiler_gnu=$ac_cv_c_compiler_gnu 6419 6420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6421/* end confdefs.h. */ 6422 6423int 6424main () 6425{ 6426 6427 ; 6428 return 0; 6429} 6430_ACEOF 6431if ac_fn_c_try_link "$LINENO"; then : 6432 lt_cv_cc_needs_belf=yes 6433else 6434 lt_cv_cc_needs_belf=no 6435fi 6436rm -f core conftest.err conftest.$ac_objext \ 6437 conftest$ac_exeext conftest.$ac_ext 6438 ac_ext=c 6439ac_cpp='$CPP $CPPFLAGS' 6440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6442ac_compiler_gnu=$ac_cv_c_compiler_gnu 6443 6444fi 6445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6446$as_echo "$lt_cv_cc_needs_belf" >&6; } 6447 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6448 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6449 CFLAGS="$SAVE_CFLAGS" 6450 fi 6451 ;; 6452*-*solaris*) 6453 # Find out which ABI we are using. 6454 echo 'int i;' > conftest.$ac_ext 6455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6456 (eval $ac_compile) 2>&5 6457 ac_status=$? 6458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6459 test $ac_status = 0; }; then 6460 case `/usr/bin/file conftest.o` in 6461 *64-bit*) 6462 case $lt_cv_prog_gnu_ld in 6463 yes*) 6464 case $host in 6465 i?86-*-solaris*) 6466 LD="${LD-ld} -m elf_x86_64" 6467 ;; 6468 sparc*-*-solaris*) 6469 LD="${LD-ld} -m elf64_sparc" 6470 ;; 6471 esac 6472 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6473 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6474 LD="${LD-ld}_sol2" 6475 fi 6476 ;; 6477 *) 6478 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6479 LD="${LD-ld} -64" 6480 fi 6481 ;; 6482 esac 6483 ;; 6484 esac 6485 fi 6486 rm -rf conftest* 6487 ;; 6488esac 6489 6490need_locks="$enable_libtool_lock" 6491 6492if test -n "$ac_tool_prefix"; then 6493 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6494set dummy ${ac_tool_prefix}mt; ac_word=$2 6495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6496$as_echo_n "checking for $ac_word... " >&6; } 6497if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6498 $as_echo_n "(cached) " >&6 6499else 6500 if test -n "$MANIFEST_TOOL"; then 6501 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6502else 6503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6504for as_dir in $PATH 6505do 6506 IFS=$as_save_IFS 6507 test -z "$as_dir" && as_dir=. 6508 for ac_exec_ext in '' $ac_executable_extensions; do 6509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6510 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6512 break 2 6513 fi 6514done 6515 done 6516IFS=$as_save_IFS 6517 6518fi 6519fi 6520MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6521if test -n "$MANIFEST_TOOL"; then 6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6523$as_echo "$MANIFEST_TOOL" >&6; } 6524else 6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6526$as_echo "no" >&6; } 6527fi 6528 6529 6530fi 6531if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6532 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6533 # Extract the first word of "mt", so it can be a program name with args. 6534set dummy mt; ac_word=$2 6535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6536$as_echo_n "checking for $ac_word... " >&6; } 6537if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6538 $as_echo_n "(cached) " >&6 6539else 6540 if test -n "$ac_ct_MANIFEST_TOOL"; then 6541 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6542else 6543as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6544for as_dir in $PATH 6545do 6546 IFS=$as_save_IFS 6547 test -z "$as_dir" && as_dir=. 6548 for ac_exec_ext in '' $ac_executable_extensions; do 6549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6550 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6552 break 2 6553 fi 6554done 6555 done 6556IFS=$as_save_IFS 6557 6558fi 6559fi 6560ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6561if test -n "$ac_ct_MANIFEST_TOOL"; then 6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6563$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6564else 6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6566$as_echo "no" >&6; } 6567fi 6568 6569 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6570 MANIFEST_TOOL=":" 6571 else 6572 case $cross_compiling:$ac_tool_warned in 6573yes:) 6574{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6575$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6576ac_tool_warned=yes ;; 6577esac 6578 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6579 fi 6580else 6581 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6582fi 6583 6584test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6586$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6587if ${lt_cv_path_mainfest_tool+:} false; then : 6588 $as_echo_n "(cached) " >&6 6589else 6590 lt_cv_path_mainfest_tool=no 6591 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6592 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6593 cat conftest.err >&5 6594 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6595 lt_cv_path_mainfest_tool=yes 6596 fi 6597 rm -f conftest* 6598fi 6599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6600$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6601if test "x$lt_cv_path_mainfest_tool" != xyes; then 6602 MANIFEST_TOOL=: 6603fi 6604 6605 6606 6607 6608 6609 6610 case $host_os in 6611 rhapsody* | darwin*) 6612 if test -n "$ac_tool_prefix"; then 6613 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6614set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6616$as_echo_n "checking for $ac_word... " >&6; } 6617if ${ac_cv_prog_DSYMUTIL+:} false; then : 6618 $as_echo_n "(cached) " >&6 6619else 6620 if test -n "$DSYMUTIL"; then 6621 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6622else 6623as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6624for as_dir in $PATH 6625do 6626 IFS=$as_save_IFS 6627 test -z "$as_dir" && as_dir=. 6628 for ac_exec_ext in '' $ac_executable_extensions; do 6629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6630 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6632 break 2 6633 fi 6634done 6635 done 6636IFS=$as_save_IFS 6637 6638fi 6639fi 6640DSYMUTIL=$ac_cv_prog_DSYMUTIL 6641if test -n "$DSYMUTIL"; then 6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6643$as_echo "$DSYMUTIL" >&6; } 6644else 6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6646$as_echo "no" >&6; } 6647fi 6648 6649 6650fi 6651if test -z "$ac_cv_prog_DSYMUTIL"; then 6652 ac_ct_DSYMUTIL=$DSYMUTIL 6653 # Extract the first word of "dsymutil", so it can be a program name with args. 6654set dummy dsymutil; ac_word=$2 6655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6656$as_echo_n "checking for $ac_word... " >&6; } 6657if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6658 $as_echo_n "(cached) " >&6 6659else 6660 if test -n "$ac_ct_DSYMUTIL"; then 6661 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6662else 6663as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6664for as_dir in $PATH 6665do 6666 IFS=$as_save_IFS 6667 test -z "$as_dir" && as_dir=. 6668 for ac_exec_ext in '' $ac_executable_extensions; do 6669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6670 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6672 break 2 6673 fi 6674done 6675 done 6676IFS=$as_save_IFS 6677 6678fi 6679fi 6680ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6681if test -n "$ac_ct_DSYMUTIL"; then 6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6683$as_echo "$ac_ct_DSYMUTIL" >&6; } 6684else 6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6686$as_echo "no" >&6; } 6687fi 6688 6689 if test "x$ac_ct_DSYMUTIL" = x; then 6690 DSYMUTIL=":" 6691 else 6692 case $cross_compiling:$ac_tool_warned in 6693yes:) 6694{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6695$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6696ac_tool_warned=yes ;; 6697esac 6698 DSYMUTIL=$ac_ct_DSYMUTIL 6699 fi 6700else 6701 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6702fi 6703 6704 if test -n "$ac_tool_prefix"; then 6705 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6706set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6708$as_echo_n "checking for $ac_word... " >&6; } 6709if ${ac_cv_prog_NMEDIT+:} false; then : 6710 $as_echo_n "(cached) " >&6 6711else 6712 if test -n "$NMEDIT"; then 6713 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6714else 6715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6716for as_dir in $PATH 6717do 6718 IFS=$as_save_IFS 6719 test -z "$as_dir" && as_dir=. 6720 for ac_exec_ext in '' $ac_executable_extensions; do 6721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6722 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6724 break 2 6725 fi 6726done 6727 done 6728IFS=$as_save_IFS 6729 6730fi 6731fi 6732NMEDIT=$ac_cv_prog_NMEDIT 6733if test -n "$NMEDIT"; then 6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6735$as_echo "$NMEDIT" >&6; } 6736else 6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6738$as_echo "no" >&6; } 6739fi 6740 6741 6742fi 6743if test -z "$ac_cv_prog_NMEDIT"; then 6744 ac_ct_NMEDIT=$NMEDIT 6745 # Extract the first word of "nmedit", so it can be a program name with args. 6746set dummy nmedit; ac_word=$2 6747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6748$as_echo_n "checking for $ac_word... " >&6; } 6749if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6750 $as_echo_n "(cached) " >&6 6751else 6752 if test -n "$ac_ct_NMEDIT"; then 6753 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6754else 6755as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6756for as_dir in $PATH 6757do 6758 IFS=$as_save_IFS 6759 test -z "$as_dir" && as_dir=. 6760 for ac_exec_ext in '' $ac_executable_extensions; do 6761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6762 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6764 break 2 6765 fi 6766done 6767 done 6768IFS=$as_save_IFS 6769 6770fi 6771fi 6772ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6773if test -n "$ac_ct_NMEDIT"; then 6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6775$as_echo "$ac_ct_NMEDIT" >&6; } 6776else 6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6778$as_echo "no" >&6; } 6779fi 6780 6781 if test "x$ac_ct_NMEDIT" = x; then 6782 NMEDIT=":" 6783 else 6784 case $cross_compiling:$ac_tool_warned in 6785yes:) 6786{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6787$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6788ac_tool_warned=yes ;; 6789esac 6790 NMEDIT=$ac_ct_NMEDIT 6791 fi 6792else 6793 NMEDIT="$ac_cv_prog_NMEDIT" 6794fi 6795 6796 if test -n "$ac_tool_prefix"; then 6797 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6798set dummy ${ac_tool_prefix}lipo; ac_word=$2 6799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6800$as_echo_n "checking for $ac_word... " >&6; } 6801if ${ac_cv_prog_LIPO+:} false; then : 6802 $as_echo_n "(cached) " >&6 6803else 6804 if test -n "$LIPO"; then 6805 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6806else 6807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6808for as_dir in $PATH 6809do 6810 IFS=$as_save_IFS 6811 test -z "$as_dir" && as_dir=. 6812 for ac_exec_ext in '' $ac_executable_extensions; do 6813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6814 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6816 break 2 6817 fi 6818done 6819 done 6820IFS=$as_save_IFS 6821 6822fi 6823fi 6824LIPO=$ac_cv_prog_LIPO 6825if test -n "$LIPO"; then 6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6827$as_echo "$LIPO" >&6; } 6828else 6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6830$as_echo "no" >&6; } 6831fi 6832 6833 6834fi 6835if test -z "$ac_cv_prog_LIPO"; then 6836 ac_ct_LIPO=$LIPO 6837 # Extract the first word of "lipo", so it can be a program name with args. 6838set dummy lipo; ac_word=$2 6839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6840$as_echo_n "checking for $ac_word... " >&6; } 6841if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6842 $as_echo_n "(cached) " >&6 6843else 6844 if test -n "$ac_ct_LIPO"; then 6845 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6846else 6847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6848for as_dir in $PATH 6849do 6850 IFS=$as_save_IFS 6851 test -z "$as_dir" && as_dir=. 6852 for ac_exec_ext in '' $ac_executable_extensions; do 6853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6854 ac_cv_prog_ac_ct_LIPO="lipo" 6855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6856 break 2 6857 fi 6858done 6859 done 6860IFS=$as_save_IFS 6861 6862fi 6863fi 6864ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6865if test -n "$ac_ct_LIPO"; then 6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6867$as_echo "$ac_ct_LIPO" >&6; } 6868else 6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6870$as_echo "no" >&6; } 6871fi 6872 6873 if test "x$ac_ct_LIPO" = x; then 6874 LIPO=":" 6875 else 6876 case $cross_compiling:$ac_tool_warned in 6877yes:) 6878{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6879$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6880ac_tool_warned=yes ;; 6881esac 6882 LIPO=$ac_ct_LIPO 6883 fi 6884else 6885 LIPO="$ac_cv_prog_LIPO" 6886fi 6887 6888 if test -n "$ac_tool_prefix"; then 6889 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6890set dummy ${ac_tool_prefix}otool; ac_word=$2 6891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6892$as_echo_n "checking for $ac_word... " >&6; } 6893if ${ac_cv_prog_OTOOL+:} false; then : 6894 $as_echo_n "(cached) " >&6 6895else 6896 if test -n "$OTOOL"; then 6897 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6898else 6899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6900for as_dir in $PATH 6901do 6902 IFS=$as_save_IFS 6903 test -z "$as_dir" && as_dir=. 6904 for ac_exec_ext in '' $ac_executable_extensions; do 6905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6906 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6908 break 2 6909 fi 6910done 6911 done 6912IFS=$as_save_IFS 6913 6914fi 6915fi 6916OTOOL=$ac_cv_prog_OTOOL 6917if test -n "$OTOOL"; then 6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6919$as_echo "$OTOOL" >&6; } 6920else 6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6922$as_echo "no" >&6; } 6923fi 6924 6925 6926fi 6927if test -z "$ac_cv_prog_OTOOL"; then 6928 ac_ct_OTOOL=$OTOOL 6929 # Extract the first word of "otool", so it can be a program name with args. 6930set dummy otool; ac_word=$2 6931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6932$as_echo_n "checking for $ac_word... " >&6; } 6933if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6934 $as_echo_n "(cached) " >&6 6935else 6936 if test -n "$ac_ct_OTOOL"; then 6937 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6938else 6939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6940for as_dir in $PATH 6941do 6942 IFS=$as_save_IFS 6943 test -z "$as_dir" && as_dir=. 6944 for ac_exec_ext in '' $ac_executable_extensions; do 6945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6946 ac_cv_prog_ac_ct_OTOOL="otool" 6947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6948 break 2 6949 fi 6950done 6951 done 6952IFS=$as_save_IFS 6953 6954fi 6955fi 6956ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6957if test -n "$ac_ct_OTOOL"; then 6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6959$as_echo "$ac_ct_OTOOL" >&6; } 6960else 6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6962$as_echo "no" >&6; } 6963fi 6964 6965 if test "x$ac_ct_OTOOL" = x; then 6966 OTOOL=":" 6967 else 6968 case $cross_compiling:$ac_tool_warned in 6969yes:) 6970{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6971$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6972ac_tool_warned=yes ;; 6973esac 6974 OTOOL=$ac_ct_OTOOL 6975 fi 6976else 6977 OTOOL="$ac_cv_prog_OTOOL" 6978fi 6979 6980 if test -n "$ac_tool_prefix"; then 6981 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6982set dummy ${ac_tool_prefix}otool64; ac_word=$2 6983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6984$as_echo_n "checking for $ac_word... " >&6; } 6985if ${ac_cv_prog_OTOOL64+:} false; then : 6986 $as_echo_n "(cached) " >&6 6987else 6988 if test -n "$OTOOL64"; then 6989 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6990else 6991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6992for as_dir in $PATH 6993do 6994 IFS=$as_save_IFS 6995 test -z "$as_dir" && as_dir=. 6996 for ac_exec_ext in '' $ac_executable_extensions; do 6997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6998 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7000 break 2 7001 fi 7002done 7003 done 7004IFS=$as_save_IFS 7005 7006fi 7007fi 7008OTOOL64=$ac_cv_prog_OTOOL64 7009if test -n "$OTOOL64"; then 7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7011$as_echo "$OTOOL64" >&6; } 7012else 7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7014$as_echo "no" >&6; } 7015fi 7016 7017 7018fi 7019if test -z "$ac_cv_prog_OTOOL64"; then 7020 ac_ct_OTOOL64=$OTOOL64 7021 # Extract the first word of "otool64", so it can be a program name with args. 7022set dummy otool64; ac_word=$2 7023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7024$as_echo_n "checking for $ac_word... " >&6; } 7025if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7026 $as_echo_n "(cached) " >&6 7027else 7028 if test -n "$ac_ct_OTOOL64"; then 7029 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7030else 7031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7032for as_dir in $PATH 7033do 7034 IFS=$as_save_IFS 7035 test -z "$as_dir" && as_dir=. 7036 for ac_exec_ext in '' $ac_executable_extensions; do 7037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7038 ac_cv_prog_ac_ct_OTOOL64="otool64" 7039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7040 break 2 7041 fi 7042done 7043 done 7044IFS=$as_save_IFS 7045 7046fi 7047fi 7048ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7049if test -n "$ac_ct_OTOOL64"; then 7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7051$as_echo "$ac_ct_OTOOL64" >&6; } 7052else 7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7054$as_echo "no" >&6; } 7055fi 7056 7057 if test "x$ac_ct_OTOOL64" = x; then 7058 OTOOL64=":" 7059 else 7060 case $cross_compiling:$ac_tool_warned in 7061yes:) 7062{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7063$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7064ac_tool_warned=yes ;; 7065esac 7066 OTOOL64=$ac_ct_OTOOL64 7067 fi 7068else 7069 OTOOL64="$ac_cv_prog_OTOOL64" 7070fi 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7099$as_echo_n "checking for -single_module linker flag... " >&6; } 7100if ${lt_cv_apple_cc_single_mod+:} false; then : 7101 $as_echo_n "(cached) " >&6 7102else 7103 lt_cv_apple_cc_single_mod=no 7104 if test -z "${LT_MULTI_MODULE}"; then 7105 # By default we will add the -single_module flag. You can override 7106 # by either setting the environment variable LT_MULTI_MODULE 7107 # non-empty at configure time, or by adding -multi_module to the 7108 # link flags. 7109 rm -rf libconftest.dylib* 7110 echo "int foo(void){return 1;}" > conftest.c 7111 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7112-dynamiclib -Wl,-single_module conftest.c" >&5 7113 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7114 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7115 _lt_result=$? 7116 # If there is a non-empty error log, and "single_module" 7117 # appears in it, assume the flag caused a linker warning 7118 if test -s conftest.err && $GREP single_module conftest.err; then 7119 cat conftest.err >&5 7120 # Otherwise, if the output was created with a 0 exit code from 7121 # the compiler, it worked. 7122 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7123 lt_cv_apple_cc_single_mod=yes 7124 else 7125 cat conftest.err >&5 7126 fi 7127 rm -rf libconftest.dylib* 7128 rm -f conftest.* 7129 fi 7130fi 7131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7132$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7133 7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7135$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7136if ${lt_cv_ld_exported_symbols_list+:} false; then : 7137 $as_echo_n "(cached) " >&6 7138else 7139 lt_cv_ld_exported_symbols_list=no 7140 save_LDFLAGS=$LDFLAGS 7141 echo "_main" > conftest.sym 7142 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7144/* end confdefs.h. */ 7145 7146int 7147main () 7148{ 7149 7150 ; 7151 return 0; 7152} 7153_ACEOF 7154if ac_fn_c_try_link "$LINENO"; then : 7155 lt_cv_ld_exported_symbols_list=yes 7156else 7157 lt_cv_ld_exported_symbols_list=no 7158fi 7159rm -f core conftest.err conftest.$ac_objext \ 7160 conftest$ac_exeext conftest.$ac_ext 7161 LDFLAGS="$save_LDFLAGS" 7162 7163fi 7164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7165$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7166 7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7168$as_echo_n "checking for -force_load linker flag... " >&6; } 7169if ${lt_cv_ld_force_load+:} false; then : 7170 $as_echo_n "(cached) " >&6 7171else 7172 lt_cv_ld_force_load=no 7173 cat > conftest.c << _LT_EOF 7174int forced_loaded() { return 2;} 7175_LT_EOF 7176 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7177 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7178 echo "$AR cru libconftest.a conftest.o" >&5 7179 $AR cru libconftest.a conftest.o 2>&5 7180 echo "$RANLIB libconftest.a" >&5 7181 $RANLIB libconftest.a 2>&5 7182 cat > conftest.c << _LT_EOF 7183int main() { return 0;} 7184_LT_EOF 7185 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7186 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7187 _lt_result=$? 7188 if test -s conftest.err && $GREP force_load conftest.err; then 7189 cat conftest.err >&5 7190 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7191 lt_cv_ld_force_load=yes 7192 else 7193 cat conftest.err >&5 7194 fi 7195 rm -f conftest.err libconftest.a conftest conftest.c 7196 rm -rf conftest.dSYM 7197 7198fi 7199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7200$as_echo "$lt_cv_ld_force_load" >&6; } 7201 case $host_os in 7202 rhapsody* | darwin1.[012]) 7203 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7204 darwin1.*) 7205 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7206 darwin*) # darwin 5.x on 7207 # if running on 10.5 or later, the deployment target defaults 7208 # to the OS version, if on x86, and 10.4, the deployment 7209 # target defaults to 10.4. Don't you love it? 7210 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7211 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7212 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7213 10.[012]*) 7214 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7215 10.*) 7216 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7217 esac 7218 ;; 7219 esac 7220 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7221 _lt_dar_single_mod='$single_module' 7222 fi 7223 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7224 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7225 else 7226 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7227 fi 7228 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7229 _lt_dsymutil='~$DSYMUTIL $lib || :' 7230 else 7231 _lt_dsymutil= 7232 fi 7233 ;; 7234 esac 7235 7236ac_ext=c 7237ac_cpp='$CPP $CPPFLAGS' 7238ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7239ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7240ac_compiler_gnu=$ac_cv_c_compiler_gnu 7241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7242$as_echo_n "checking how to run the C preprocessor... " >&6; } 7243# On Suns, sometimes $CPP names a directory. 7244if test -n "$CPP" && test -d "$CPP"; then 7245 CPP= 7246fi 7247if test -z "$CPP"; then 7248 if ${ac_cv_prog_CPP+:} false; then : 7249 $as_echo_n "(cached) " >&6 7250else 7251 # Double quotes because CPP needs to be expanded 7252 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7253 do 7254 ac_preproc_ok=false 7255for ac_c_preproc_warn_flag in '' yes 7256do 7257 # Use a header file that comes with gcc, so configuring glibc 7258 # with a fresh cross-compiler works. 7259 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7260 # <limits.h> exists even on freestanding compilers. 7261 # On the NeXT, cc -E runs the code through the compiler's parser, 7262 # not just through cpp. "Syntax error" is here to catch this case. 7263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7264/* end confdefs.h. */ 7265#ifdef __STDC__ 7266# include <limits.h> 7267#else 7268# include <assert.h> 7269#endif 7270 Syntax error 7271_ACEOF 7272if ac_fn_c_try_cpp "$LINENO"; then : 7273 7274else 7275 # Broken: fails on valid input. 7276continue 7277fi 7278rm -f conftest.err conftest.i conftest.$ac_ext 7279 7280 # OK, works on sane cases. Now check whether nonexistent headers 7281 # can be detected and how. 7282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7283/* end confdefs.h. */ 7284#include <ac_nonexistent.h> 7285_ACEOF 7286if ac_fn_c_try_cpp "$LINENO"; then : 7287 # Broken: success on invalid input. 7288continue 7289else 7290 # Passes both tests. 7291ac_preproc_ok=: 7292break 7293fi 7294rm -f conftest.err conftest.i conftest.$ac_ext 7295 7296done 7297# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7298rm -f conftest.i conftest.err conftest.$ac_ext 7299if $ac_preproc_ok; then : 7300 break 7301fi 7302 7303 done 7304 ac_cv_prog_CPP=$CPP 7305 7306fi 7307 CPP=$ac_cv_prog_CPP 7308else 7309 ac_cv_prog_CPP=$CPP 7310fi 7311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7312$as_echo "$CPP" >&6; } 7313ac_preproc_ok=false 7314for ac_c_preproc_warn_flag in '' yes 7315do 7316 # Use a header file that comes with gcc, so configuring glibc 7317 # with a fresh cross-compiler works. 7318 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7319 # <limits.h> exists even on freestanding compilers. 7320 # On the NeXT, cc -E runs the code through the compiler's parser, 7321 # not just through cpp. "Syntax error" is here to catch this case. 7322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7323/* end confdefs.h. */ 7324#ifdef __STDC__ 7325# include <limits.h> 7326#else 7327# include <assert.h> 7328#endif 7329 Syntax error 7330_ACEOF 7331if ac_fn_c_try_cpp "$LINENO"; then : 7332 7333else 7334 # Broken: fails on valid input. 7335continue 7336fi 7337rm -f conftest.err conftest.i conftest.$ac_ext 7338 7339 # OK, works on sane cases. Now check whether nonexistent headers 7340 # can be detected and how. 7341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7342/* end confdefs.h. */ 7343#include <ac_nonexistent.h> 7344_ACEOF 7345if ac_fn_c_try_cpp "$LINENO"; then : 7346 # Broken: success on invalid input. 7347continue 7348else 7349 # Passes both tests. 7350ac_preproc_ok=: 7351break 7352fi 7353rm -f conftest.err conftest.i conftest.$ac_ext 7354 7355done 7356# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7357rm -f conftest.i conftest.err conftest.$ac_ext 7358if $ac_preproc_ok; then : 7359 7360else 7361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7362$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7363as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7364See \`config.log' for more details" "$LINENO" 5; } 7365fi 7366 7367ac_ext=c 7368ac_cpp='$CPP $CPPFLAGS' 7369ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7370ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7371ac_compiler_gnu=$ac_cv_c_compiler_gnu 7372 7373 7374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7375$as_echo_n "checking for ANSI C header files... " >&6; } 7376if ${ac_cv_header_stdc+:} false; then : 7377 $as_echo_n "(cached) " >&6 7378else 7379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7380/* end confdefs.h. */ 7381#include <stdlib.h> 7382#include <stdarg.h> 7383#include <string.h> 7384#include <float.h> 7385 7386int 7387main () 7388{ 7389 7390 ; 7391 return 0; 7392} 7393_ACEOF 7394if ac_fn_c_try_compile "$LINENO"; then : 7395 ac_cv_header_stdc=yes 7396else 7397 ac_cv_header_stdc=no 7398fi 7399rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7400 7401if test $ac_cv_header_stdc = yes; then 7402 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7404/* end confdefs.h. */ 7405#include <string.h> 7406 7407_ACEOF 7408if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7409 $EGREP "memchr" >/dev/null 2>&1; then : 7410 7411else 7412 ac_cv_header_stdc=no 7413fi 7414rm -f conftest* 7415 7416fi 7417 7418if test $ac_cv_header_stdc = yes; then 7419 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7421/* end confdefs.h. */ 7422#include <stdlib.h> 7423 7424_ACEOF 7425if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7426 $EGREP "free" >/dev/null 2>&1; then : 7427 7428else 7429 ac_cv_header_stdc=no 7430fi 7431rm -f conftest* 7432 7433fi 7434 7435if test $ac_cv_header_stdc = yes; then 7436 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7437 if test "$cross_compiling" = yes; then : 7438 : 7439else 7440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7441/* end confdefs.h. */ 7442#include <ctype.h> 7443#include <stdlib.h> 7444#if ((' ' & 0x0FF) == 0x020) 7445# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7446# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7447#else 7448# define ISLOWER(c) \ 7449 (('a' <= (c) && (c) <= 'i') \ 7450 || ('j' <= (c) && (c) <= 'r') \ 7451 || ('s' <= (c) && (c) <= 'z')) 7452# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7453#endif 7454 7455#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7456int 7457main () 7458{ 7459 int i; 7460 for (i = 0; i < 256; i++) 7461 if (XOR (islower (i), ISLOWER (i)) 7462 || toupper (i) != TOUPPER (i)) 7463 return 2; 7464 return 0; 7465} 7466_ACEOF 7467if ac_fn_c_try_run "$LINENO"; then : 7468 7469else 7470 ac_cv_header_stdc=no 7471fi 7472rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7473 conftest.$ac_objext conftest.beam conftest.$ac_ext 7474fi 7475 7476fi 7477fi 7478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7479$as_echo "$ac_cv_header_stdc" >&6; } 7480if test $ac_cv_header_stdc = yes; then 7481 7482$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7483 7484fi 7485 7486# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7487for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7488 inttypes.h stdint.h unistd.h 7489do : 7490 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7491ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7492" 7493if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7494 cat >>confdefs.h <<_ACEOF 7495#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7496_ACEOF 7497 7498fi 7499 7500done 7501 7502 7503for ac_header in dlfcn.h 7504do : 7505 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7506" 7507if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7508 cat >>confdefs.h <<_ACEOF 7509#define HAVE_DLFCN_H 1 7510_ACEOF 7511 7512fi 7513 7514done 7515 7516 7517 7518 7519 7520# Set options 7521 7522 7523 7524 enable_dlopen=no 7525 7526 7527 enable_win32_dll=no 7528 7529 7530 # Check whether --enable-shared was given. 7531if test "${enable_shared+set}" = set; then : 7532 enableval=$enable_shared; p=${PACKAGE-default} 7533 case $enableval in 7534 yes) enable_shared=yes ;; 7535 no) enable_shared=no ;; 7536 *) 7537 enable_shared=no 7538 # Look at the argument we got. We use all the common list separators. 7539 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7540 for pkg in $enableval; do 7541 IFS="$lt_save_ifs" 7542 if test "X$pkg" = "X$p"; then 7543 enable_shared=yes 7544 fi 7545 done 7546 IFS="$lt_save_ifs" 7547 ;; 7548 esac 7549else 7550 enable_shared=yes 7551fi 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 # Check whether --enable-static was given. 7562if test "${enable_static+set}" = set; then : 7563 enableval=$enable_static; p=${PACKAGE-default} 7564 case $enableval in 7565 yes) enable_static=yes ;; 7566 no) enable_static=no ;; 7567 *) 7568 enable_static=no 7569 # Look at the argument we got. We use all the common list separators. 7570 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7571 for pkg in $enableval; do 7572 IFS="$lt_save_ifs" 7573 if test "X$pkg" = "X$p"; then 7574 enable_static=yes 7575 fi 7576 done 7577 IFS="$lt_save_ifs" 7578 ;; 7579 esac 7580else 7581 enable_static=yes 7582fi 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593# Check whether --with-pic was given. 7594if test "${with_pic+set}" = set; then : 7595 withval=$with_pic; lt_p=${PACKAGE-default} 7596 case $withval in 7597 yes|no) pic_mode=$withval ;; 7598 *) 7599 pic_mode=default 7600 # Look at the argument we got. We use all the common list separators. 7601 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7602 for lt_pkg in $withval; do 7603 IFS="$lt_save_ifs" 7604 if test "X$lt_pkg" = "X$lt_p"; then 7605 pic_mode=yes 7606 fi 7607 done 7608 IFS="$lt_save_ifs" 7609 ;; 7610 esac 7611else 7612 pic_mode=default 7613fi 7614 7615 7616test -z "$pic_mode" && pic_mode=default 7617 7618 7619 7620 7621 7622 7623 7624 # Check whether --enable-fast-install was given. 7625if test "${enable_fast_install+set}" = set; then : 7626 enableval=$enable_fast_install; p=${PACKAGE-default} 7627 case $enableval in 7628 yes) enable_fast_install=yes ;; 7629 no) enable_fast_install=no ;; 7630 *) 7631 enable_fast_install=no 7632 # Look at the argument we got. We use all the common list separators. 7633 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7634 for pkg in $enableval; do 7635 IFS="$lt_save_ifs" 7636 if test "X$pkg" = "X$p"; then 7637 enable_fast_install=yes 7638 fi 7639 done 7640 IFS="$lt_save_ifs" 7641 ;; 7642 esac 7643else 7644 enable_fast_install=yes 7645fi 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657# This can be used to rebuild libtool when needed 7658LIBTOOL_DEPS="$ltmain" 7659 7660# Always use our own libtool. 7661LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692test -z "$LN_S" && LN_S="ln -s" 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707if test -n "${ZSH_VERSION+set}" ; then 7708 setopt NO_GLOB_SUBST 7709fi 7710 7711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7712$as_echo_n "checking for objdir... " >&6; } 7713if ${lt_cv_objdir+:} false; then : 7714 $as_echo_n "(cached) " >&6 7715else 7716 rm -f .libs 2>/dev/null 7717mkdir .libs 2>/dev/null 7718if test -d .libs; then 7719 lt_cv_objdir=.libs 7720else 7721 # MS-DOS does not allow filenames that begin with a dot. 7722 lt_cv_objdir=_libs 7723fi 7724rmdir .libs 2>/dev/null 7725fi 7726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7727$as_echo "$lt_cv_objdir" >&6; } 7728objdir=$lt_cv_objdir 7729 7730 7731 7732 7733 7734cat >>confdefs.h <<_ACEOF 7735#define LT_OBJDIR "$lt_cv_objdir/" 7736_ACEOF 7737 7738 7739 7740 7741case $host_os in 7742aix3*) 7743 # AIX sometimes has problems with the GCC collect2 program. For some 7744 # reason, if we set the COLLECT_NAMES environment variable, the problems 7745 # vanish in a puff of smoke. 7746 if test "X${COLLECT_NAMES+set}" != Xset; then 7747 COLLECT_NAMES= 7748 export COLLECT_NAMES 7749 fi 7750 ;; 7751esac 7752 7753# Global variables: 7754ofile=libtool 7755can_build_shared=yes 7756 7757# All known linkers require a `.a' archive for static linking (except MSVC, 7758# which needs '.lib'). 7759libext=a 7760 7761with_gnu_ld="$lt_cv_prog_gnu_ld" 7762 7763old_CC="$CC" 7764old_CFLAGS="$CFLAGS" 7765 7766# Set sane defaults for various variables 7767test -z "$CC" && CC=cc 7768test -z "$LTCC" && LTCC=$CC 7769test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7770test -z "$LD" && LD=ld 7771test -z "$ac_objext" && ac_objext=o 7772 7773for cc_temp in $compiler""; do 7774 case $cc_temp in 7775 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7776 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7777 \-*) ;; 7778 *) break;; 7779 esac 7780done 7781cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7782 7783 7784# Only perform the check for file, if the check method requires it 7785test -z "$MAGIC_CMD" && MAGIC_CMD=file 7786case $deplibs_check_method in 7787file_magic*) 7788 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7790$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7791if ${lt_cv_path_MAGIC_CMD+:} false; then : 7792 $as_echo_n "(cached) " >&6 7793else 7794 case $MAGIC_CMD in 7795[\\/*] | ?:[\\/]*) 7796 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7797 ;; 7798*) 7799 lt_save_MAGIC_CMD="$MAGIC_CMD" 7800 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7801 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7802 for ac_dir in $ac_dummy; do 7803 IFS="$lt_save_ifs" 7804 test -z "$ac_dir" && ac_dir=. 7805 if test -f $ac_dir/${ac_tool_prefix}file; then 7806 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7807 if test -n "$file_magic_test_file"; then 7808 case $deplibs_check_method in 7809 "file_magic "*) 7810 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7811 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7812 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7813 $EGREP "$file_magic_regex" > /dev/null; then 7814 : 7815 else 7816 cat <<_LT_EOF 1>&2 7817 7818*** Warning: the command libtool uses to detect shared libraries, 7819*** $file_magic_cmd, produces output that libtool cannot recognize. 7820*** The result is that libtool may fail to recognize shared libraries 7821*** as such. This will affect the creation of libtool libraries that 7822*** depend on shared libraries, but programs linked with such libtool 7823*** libraries will work regardless of this problem. Nevertheless, you 7824*** may want to report the problem to your system manager and/or to 7825*** bug-libtool@gnu.org 7826 7827_LT_EOF 7828 fi ;; 7829 esac 7830 fi 7831 break 7832 fi 7833 done 7834 IFS="$lt_save_ifs" 7835 MAGIC_CMD="$lt_save_MAGIC_CMD" 7836 ;; 7837esac 7838fi 7839 7840MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7841if test -n "$MAGIC_CMD"; then 7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7843$as_echo "$MAGIC_CMD" >&6; } 7844else 7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7846$as_echo "no" >&6; } 7847fi 7848 7849 7850 7851 7852 7853if test -z "$lt_cv_path_MAGIC_CMD"; then 7854 if test -n "$ac_tool_prefix"; then 7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7856$as_echo_n "checking for file... " >&6; } 7857if ${lt_cv_path_MAGIC_CMD+:} false; then : 7858 $as_echo_n "(cached) " >&6 7859else 7860 case $MAGIC_CMD in 7861[\\/*] | ?:[\\/]*) 7862 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7863 ;; 7864*) 7865 lt_save_MAGIC_CMD="$MAGIC_CMD" 7866 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7867 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7868 for ac_dir in $ac_dummy; do 7869 IFS="$lt_save_ifs" 7870 test -z "$ac_dir" && ac_dir=. 7871 if test -f $ac_dir/file; then 7872 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7873 if test -n "$file_magic_test_file"; then 7874 case $deplibs_check_method in 7875 "file_magic "*) 7876 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7877 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7878 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7879 $EGREP "$file_magic_regex" > /dev/null; then 7880 : 7881 else 7882 cat <<_LT_EOF 1>&2 7883 7884*** Warning: the command libtool uses to detect shared libraries, 7885*** $file_magic_cmd, produces output that libtool cannot recognize. 7886*** The result is that libtool may fail to recognize shared libraries 7887*** as such. This will affect the creation of libtool libraries that 7888*** depend on shared libraries, but programs linked with such libtool 7889*** libraries will work regardless of this problem. Nevertheless, you 7890*** may want to report the problem to your system manager and/or to 7891*** bug-libtool@gnu.org 7892 7893_LT_EOF 7894 fi ;; 7895 esac 7896 fi 7897 break 7898 fi 7899 done 7900 IFS="$lt_save_ifs" 7901 MAGIC_CMD="$lt_save_MAGIC_CMD" 7902 ;; 7903esac 7904fi 7905 7906MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7907if test -n "$MAGIC_CMD"; then 7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7909$as_echo "$MAGIC_CMD" >&6; } 7910else 7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7912$as_echo "no" >&6; } 7913fi 7914 7915 7916 else 7917 MAGIC_CMD=: 7918 fi 7919fi 7920 7921 fi 7922 ;; 7923esac 7924 7925# Use C for the default configuration in the libtool script 7926 7927lt_save_CC="$CC" 7928ac_ext=c 7929ac_cpp='$CPP $CPPFLAGS' 7930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7932ac_compiler_gnu=$ac_cv_c_compiler_gnu 7933 7934 7935# Source file extension for C test sources. 7936ac_ext=c 7937 7938# Object file extension for compiled C test sources. 7939objext=o 7940objext=$objext 7941 7942# Code to be used in simple compile tests 7943lt_simple_compile_test_code="int some_variable = 0;" 7944 7945# Code to be used in simple link tests 7946lt_simple_link_test_code='int main(){return(0);}' 7947 7948 7949 7950 7951 7952 7953 7954# If no C compiler was specified, use CC. 7955LTCC=${LTCC-"$CC"} 7956 7957# If no C compiler flags were specified, use CFLAGS. 7958LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7959 7960# Allow CC to be a program name with arguments. 7961compiler=$CC 7962 7963# Save the default compiler, since it gets overwritten when the other 7964# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7965compiler_DEFAULT=$CC 7966 7967# save warnings/boilerplate of simple test code 7968ac_outfile=conftest.$ac_objext 7969echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7970eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7971_lt_compiler_boilerplate=`cat conftest.err` 7972$RM conftest* 7973 7974ac_outfile=conftest.$ac_objext 7975echo "$lt_simple_link_test_code" >conftest.$ac_ext 7976eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7977_lt_linker_boilerplate=`cat conftest.err` 7978$RM -r conftest* 7979 7980 7981if test -n "$compiler"; then 7982 7983lt_prog_compiler_no_builtin_flag= 7984 7985if test "$GCC" = yes; then 7986 case $cc_basename in 7987 nvcc*) 7988 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 7989 *) 7990 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7991 esac 7992 7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7994$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7995if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 7996 $as_echo_n "(cached) " >&6 7997else 7998 lt_cv_prog_compiler_rtti_exceptions=no 7999 ac_outfile=conftest.$ac_objext 8000 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8001 lt_compiler_flag="-fno-rtti -fno-exceptions" 8002 # Insert the option either (1) after the last *FLAGS variable, or 8003 # (2) before a word containing "conftest.", or (3) at the end. 8004 # Note that $ac_compile itself does not contain backslashes and begins 8005 # with a dollar sign (not a hyphen), so the echo should work correctly. 8006 # The option is referenced via a variable to avoid confusing sed. 8007 lt_compile=`echo "$ac_compile" | $SED \ 8008 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8009 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8010 -e 's:$: $lt_compiler_flag:'` 8011 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8012 (eval "$lt_compile" 2>conftest.err) 8013 ac_status=$? 8014 cat conftest.err >&5 8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8016 if (exit $ac_status) && test -s "$ac_outfile"; then 8017 # The compiler can only warn and ignore the option if not recognized 8018 # So say no if there are warnings other than the usual output. 8019 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8020 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8021 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8022 lt_cv_prog_compiler_rtti_exceptions=yes 8023 fi 8024 fi 8025 $RM conftest* 8026 8027fi 8028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8029$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8030 8031if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8032 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8033else 8034 : 8035fi 8036 8037fi 8038 8039 8040 8041 8042 8043 8044 lt_prog_compiler_wl= 8045lt_prog_compiler_pic= 8046lt_prog_compiler_static= 8047 8048 8049 if test "$GCC" = yes; then 8050 lt_prog_compiler_wl='-Wl,' 8051 lt_prog_compiler_static='-static' 8052 8053 case $host_os in 8054 aix*) 8055 # All AIX code is PIC. 8056 if test "$host_cpu" = ia64; then 8057 # AIX 5 now supports IA64 processor 8058 lt_prog_compiler_static='-Bstatic' 8059 fi 8060 ;; 8061 8062 amigaos*) 8063 case $host_cpu in 8064 powerpc) 8065 # see comment about AmigaOS4 .so support 8066 lt_prog_compiler_pic='-fPIC' 8067 ;; 8068 m68k) 8069 # FIXME: we need at least 68020 code to build shared libraries, but 8070 # adding the `-m68020' flag to GCC prevents building anything better, 8071 # like `-m68040'. 8072 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8073 ;; 8074 esac 8075 ;; 8076 8077 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8078 # PIC is the default for these OSes. 8079 ;; 8080 8081 mingw* | cygwin* | pw32* | os2* | cegcc*) 8082 # This hack is so that the source file can tell whether it is being 8083 # built for inclusion in a dll (and should export symbols for example). 8084 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8085 # (--disable-auto-import) libraries 8086 lt_prog_compiler_pic='-DDLL_EXPORT' 8087 ;; 8088 8089 darwin* | rhapsody*) 8090 # PIC is the default on this platform 8091 # Common symbols not allowed in MH_DYLIB files 8092 lt_prog_compiler_pic='-fno-common' 8093 ;; 8094 8095 haiku*) 8096 # PIC is the default for Haiku. 8097 # The "-static" flag exists, but is broken. 8098 lt_prog_compiler_static= 8099 ;; 8100 8101 hpux*) 8102 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8103 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8104 # sets the default TLS model and affects inlining. 8105 case $host_cpu in 8106 hppa*64*) 8107 # +Z the default 8108 ;; 8109 *) 8110 lt_prog_compiler_pic='-fPIC' 8111 ;; 8112 esac 8113 ;; 8114 8115 interix[3-9]*) 8116 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8117 # Instead, we relocate shared libraries at runtime. 8118 ;; 8119 8120 msdosdjgpp*) 8121 # Just because we use GCC doesn't mean we suddenly get shared libraries 8122 # on systems that don't support them. 8123 lt_prog_compiler_can_build_shared=no 8124 enable_shared=no 8125 ;; 8126 8127 *nto* | *qnx*) 8128 # QNX uses GNU C++, but need to define -shared option too, otherwise 8129 # it will coredump. 8130 lt_prog_compiler_pic='-fPIC -shared' 8131 ;; 8132 8133 sysv4*MP*) 8134 if test -d /usr/nec; then 8135 lt_prog_compiler_pic=-Kconform_pic 8136 fi 8137 ;; 8138 8139 *) 8140 lt_prog_compiler_pic='-fPIC' 8141 ;; 8142 esac 8143 8144 case $cc_basename in 8145 nvcc*) # Cuda Compiler Driver 2.2 8146 lt_prog_compiler_wl='-Xlinker ' 8147 if test -n "$lt_prog_compiler_pic"; then 8148 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8149 fi 8150 ;; 8151 esac 8152 else 8153 # PORTME Check for flag to pass linker flags through the system compiler. 8154 case $host_os in 8155 aix*) 8156 lt_prog_compiler_wl='-Wl,' 8157 if test "$host_cpu" = ia64; then 8158 # AIX 5 now supports IA64 processor 8159 lt_prog_compiler_static='-Bstatic' 8160 else 8161 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8162 fi 8163 ;; 8164 8165 mingw* | cygwin* | pw32* | os2* | cegcc*) 8166 # This hack is so that the source file can tell whether it is being 8167 # built for inclusion in a dll (and should export symbols for example). 8168 lt_prog_compiler_pic='-DDLL_EXPORT' 8169 ;; 8170 8171 hpux9* | hpux10* | hpux11*) 8172 lt_prog_compiler_wl='-Wl,' 8173 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8174 # not for PA HP-UX. 8175 case $host_cpu in 8176 hppa*64*|ia64*) 8177 # +Z the default 8178 ;; 8179 *) 8180 lt_prog_compiler_pic='+Z' 8181 ;; 8182 esac 8183 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8184 lt_prog_compiler_static='${wl}-a ${wl}archive' 8185 ;; 8186 8187 irix5* | irix6* | nonstopux*) 8188 lt_prog_compiler_wl='-Wl,' 8189 # PIC (with -KPIC) is the default. 8190 lt_prog_compiler_static='-non_shared' 8191 ;; 8192 8193 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8194 case $cc_basename in 8195 # old Intel for x86_64 which still supported -KPIC. 8196 ecc*) 8197 lt_prog_compiler_wl='-Wl,' 8198 lt_prog_compiler_pic='-KPIC' 8199 lt_prog_compiler_static='-static' 8200 ;; 8201 # icc used to be incompatible with GCC. 8202 # ICC 10 doesn't accept -KPIC any more. 8203 icc* | ifort*) 8204 lt_prog_compiler_wl='-Wl,' 8205 lt_prog_compiler_pic='-fPIC' 8206 lt_prog_compiler_static='-static' 8207 ;; 8208 # Lahey Fortran 8.1. 8209 lf95*) 8210 lt_prog_compiler_wl='-Wl,' 8211 lt_prog_compiler_pic='--shared' 8212 lt_prog_compiler_static='--static' 8213 ;; 8214 nagfor*) 8215 # NAG Fortran compiler 8216 lt_prog_compiler_wl='-Wl,-Wl,,' 8217 lt_prog_compiler_pic='-PIC' 8218 lt_prog_compiler_static='-Bstatic' 8219 ;; 8220 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8221 # Portland Group compilers (*not* the Pentium gcc compiler, 8222 # which looks to be a dead project) 8223 lt_prog_compiler_wl='-Wl,' 8224 lt_prog_compiler_pic='-fpic' 8225 lt_prog_compiler_static='-Bstatic' 8226 ;; 8227 ccc*) 8228 lt_prog_compiler_wl='-Wl,' 8229 # All Alpha code is PIC. 8230 lt_prog_compiler_static='-non_shared' 8231 ;; 8232 xl* | bgxl* | bgf* | mpixl*) 8233 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8234 lt_prog_compiler_wl='-Wl,' 8235 lt_prog_compiler_pic='-qpic' 8236 lt_prog_compiler_static='-qstaticlink' 8237 ;; 8238 *) 8239 case `$CC -V 2>&1 | sed 5q` in 8240 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8241 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8242 lt_prog_compiler_pic='-KPIC' 8243 lt_prog_compiler_static='-Bstatic' 8244 lt_prog_compiler_wl='' 8245 ;; 8246 *Sun\ F* | *Sun*Fortran*) 8247 lt_prog_compiler_pic='-KPIC' 8248 lt_prog_compiler_static='-Bstatic' 8249 lt_prog_compiler_wl='-Qoption ld ' 8250 ;; 8251 *Sun\ C*) 8252 # Sun C 5.9 8253 lt_prog_compiler_pic='-KPIC' 8254 lt_prog_compiler_static='-Bstatic' 8255 lt_prog_compiler_wl='-Wl,' 8256 ;; 8257 *Intel*\ [CF]*Compiler*) 8258 lt_prog_compiler_wl='-Wl,' 8259 lt_prog_compiler_pic='-fPIC' 8260 lt_prog_compiler_static='-static' 8261 ;; 8262 *Portland\ Group*) 8263 lt_prog_compiler_wl='-Wl,' 8264 lt_prog_compiler_pic='-fpic' 8265 lt_prog_compiler_static='-Bstatic' 8266 ;; 8267 esac 8268 ;; 8269 esac 8270 ;; 8271 8272 newsos6) 8273 lt_prog_compiler_pic='-KPIC' 8274 lt_prog_compiler_static='-Bstatic' 8275 ;; 8276 8277 *nto* | *qnx*) 8278 # QNX uses GNU C++, but need to define -shared option too, otherwise 8279 # it will coredump. 8280 lt_prog_compiler_pic='-fPIC -shared' 8281 ;; 8282 8283 osf3* | osf4* | osf5*) 8284 lt_prog_compiler_wl='-Wl,' 8285 # All OSF/1 code is PIC. 8286 lt_prog_compiler_static='-non_shared' 8287 ;; 8288 8289 rdos*) 8290 lt_prog_compiler_static='-non_shared' 8291 ;; 8292 8293 solaris*) 8294 lt_prog_compiler_pic='-KPIC' 8295 lt_prog_compiler_static='-Bstatic' 8296 case $cc_basename in 8297 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8298 lt_prog_compiler_wl='-Qoption ld ';; 8299 *) 8300 lt_prog_compiler_wl='-Wl,';; 8301 esac 8302 ;; 8303 8304 sunos4*) 8305 lt_prog_compiler_wl='-Qoption ld ' 8306 lt_prog_compiler_pic='-PIC' 8307 lt_prog_compiler_static='-Bstatic' 8308 ;; 8309 8310 sysv4 | sysv4.2uw2* | sysv4.3*) 8311 lt_prog_compiler_wl='-Wl,' 8312 lt_prog_compiler_pic='-KPIC' 8313 lt_prog_compiler_static='-Bstatic' 8314 ;; 8315 8316 sysv4*MP*) 8317 if test -d /usr/nec ;then 8318 lt_prog_compiler_pic='-Kconform_pic' 8319 lt_prog_compiler_static='-Bstatic' 8320 fi 8321 ;; 8322 8323 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8324 lt_prog_compiler_wl='-Wl,' 8325 lt_prog_compiler_pic='-KPIC' 8326 lt_prog_compiler_static='-Bstatic' 8327 ;; 8328 8329 unicos*) 8330 lt_prog_compiler_wl='-Wl,' 8331 lt_prog_compiler_can_build_shared=no 8332 ;; 8333 8334 uts4*) 8335 lt_prog_compiler_pic='-pic' 8336 lt_prog_compiler_static='-Bstatic' 8337 ;; 8338 8339 *) 8340 lt_prog_compiler_can_build_shared=no 8341 ;; 8342 esac 8343 fi 8344 8345case $host_os in 8346 # For platforms which do not support PIC, -DPIC is meaningless: 8347 *djgpp*) 8348 lt_prog_compiler_pic= 8349 ;; 8350 *) 8351 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8352 ;; 8353esac 8354 8355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8356$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8357if ${lt_cv_prog_compiler_pic+:} false; then : 8358 $as_echo_n "(cached) " >&6 8359else 8360 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8361fi 8362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8363$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8364lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8365 8366# 8367# Check to make sure the PIC flag actually works. 8368# 8369if test -n "$lt_prog_compiler_pic"; then 8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8371$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8372if ${lt_cv_prog_compiler_pic_works+:} false; then : 8373 $as_echo_n "(cached) " >&6 8374else 8375 lt_cv_prog_compiler_pic_works=no 8376 ac_outfile=conftest.$ac_objext 8377 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8378 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8379 # Insert the option either (1) after the last *FLAGS variable, or 8380 # (2) before a word containing "conftest.", or (3) at the end. 8381 # Note that $ac_compile itself does not contain backslashes and begins 8382 # with a dollar sign (not a hyphen), so the echo should work correctly. 8383 # The option is referenced via a variable to avoid confusing sed. 8384 lt_compile=`echo "$ac_compile" | $SED \ 8385 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8386 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8387 -e 's:$: $lt_compiler_flag:'` 8388 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8389 (eval "$lt_compile" 2>conftest.err) 8390 ac_status=$? 8391 cat conftest.err >&5 8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8393 if (exit $ac_status) && test -s "$ac_outfile"; then 8394 # The compiler can only warn and ignore the option if not recognized 8395 # So say no if there are warnings other than the usual output. 8396 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8397 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8398 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8399 lt_cv_prog_compiler_pic_works=yes 8400 fi 8401 fi 8402 $RM conftest* 8403 8404fi 8405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8406$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8407 8408if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8409 case $lt_prog_compiler_pic in 8410 "" | " "*) ;; 8411 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8412 esac 8413else 8414 lt_prog_compiler_pic= 8415 lt_prog_compiler_can_build_shared=no 8416fi 8417 8418fi 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430# 8431# Check to make sure the static flag actually works. 8432# 8433wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8435$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8436if ${lt_cv_prog_compiler_static_works+:} false; then : 8437 $as_echo_n "(cached) " >&6 8438else 8439 lt_cv_prog_compiler_static_works=no 8440 save_LDFLAGS="$LDFLAGS" 8441 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8442 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8443 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8444 # The linker can only warn and ignore the option if not recognized 8445 # So say no if there are warnings 8446 if test -s conftest.err; then 8447 # Append any errors to the config.log. 8448 cat conftest.err 1>&5 8449 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8450 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8451 if diff conftest.exp conftest.er2 >/dev/null; then 8452 lt_cv_prog_compiler_static_works=yes 8453 fi 8454 else 8455 lt_cv_prog_compiler_static_works=yes 8456 fi 8457 fi 8458 $RM -r conftest* 8459 LDFLAGS="$save_LDFLAGS" 8460 8461fi 8462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8463$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8464 8465if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8466 : 8467else 8468 lt_prog_compiler_static= 8469fi 8470 8471 8472 8473 8474 8475 8476 8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8478$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8479if ${lt_cv_prog_compiler_c_o+:} false; then : 8480 $as_echo_n "(cached) " >&6 8481else 8482 lt_cv_prog_compiler_c_o=no 8483 $RM -r conftest 2>/dev/null 8484 mkdir conftest 8485 cd conftest 8486 mkdir out 8487 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8488 8489 lt_compiler_flag="-o out/conftest2.$ac_objext" 8490 # Insert the option either (1) after the last *FLAGS variable, or 8491 # (2) before a word containing "conftest.", or (3) at the end. 8492 # Note that $ac_compile itself does not contain backslashes and begins 8493 # with a dollar sign (not a hyphen), so the echo should work correctly. 8494 lt_compile=`echo "$ac_compile" | $SED \ 8495 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8496 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8497 -e 's:$: $lt_compiler_flag:'` 8498 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8499 (eval "$lt_compile" 2>out/conftest.err) 8500 ac_status=$? 8501 cat out/conftest.err >&5 8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8503 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8504 then 8505 # The compiler can only warn and ignore the option if not recognized 8506 # So say no if there are warnings 8507 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8508 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8509 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8510 lt_cv_prog_compiler_c_o=yes 8511 fi 8512 fi 8513 chmod u+w . 2>&5 8514 $RM conftest* 8515 # SGI C++ compiler will create directory out/ii_files/ for 8516 # template instantiation 8517 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8518 $RM out/* && rmdir out 8519 cd .. 8520 $RM -r conftest 8521 $RM conftest* 8522 8523fi 8524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8525$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8526 8527 8528 8529 8530 8531 8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8533$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8534if ${lt_cv_prog_compiler_c_o+:} false; then : 8535 $as_echo_n "(cached) " >&6 8536else 8537 lt_cv_prog_compiler_c_o=no 8538 $RM -r conftest 2>/dev/null 8539 mkdir conftest 8540 cd conftest 8541 mkdir out 8542 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8543 8544 lt_compiler_flag="-o out/conftest2.$ac_objext" 8545 # Insert the option either (1) after the last *FLAGS variable, or 8546 # (2) before a word containing "conftest.", or (3) at the end. 8547 # Note that $ac_compile itself does not contain backslashes and begins 8548 # with a dollar sign (not a hyphen), so the echo should work correctly. 8549 lt_compile=`echo "$ac_compile" | $SED \ 8550 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8551 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8552 -e 's:$: $lt_compiler_flag:'` 8553 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8554 (eval "$lt_compile" 2>out/conftest.err) 8555 ac_status=$? 8556 cat out/conftest.err >&5 8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8558 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8559 then 8560 # The compiler can only warn and ignore the option if not recognized 8561 # So say no if there are warnings 8562 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8563 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8564 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8565 lt_cv_prog_compiler_c_o=yes 8566 fi 8567 fi 8568 chmod u+w . 2>&5 8569 $RM conftest* 8570 # SGI C++ compiler will create directory out/ii_files/ for 8571 # template instantiation 8572 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8573 $RM out/* && rmdir out 8574 cd .. 8575 $RM -r conftest 8576 $RM conftest* 8577 8578fi 8579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8580$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8581 8582 8583 8584 8585hard_links="nottested" 8586if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8587 # do not overwrite the value of need_locks provided by the user 8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8589$as_echo_n "checking if we can lock with hard links... " >&6; } 8590 hard_links=yes 8591 $RM conftest* 8592 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8593 touch conftest.a 8594 ln conftest.a conftest.b 2>&5 || hard_links=no 8595 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8597$as_echo "$hard_links" >&6; } 8598 if test "$hard_links" = no; then 8599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8600$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8601 need_locks=warn 8602 fi 8603else 8604 need_locks=no 8605fi 8606 8607 8608 8609 8610 8611 8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8613$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8614 8615 runpath_var= 8616 allow_undefined_flag= 8617 always_export_symbols=no 8618 archive_cmds= 8619 archive_expsym_cmds= 8620 compiler_needs_object=no 8621 enable_shared_with_static_runtimes=no 8622 export_dynamic_flag_spec= 8623 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8624 hardcode_automatic=no 8625 hardcode_direct=no 8626 hardcode_direct_absolute=no 8627 hardcode_libdir_flag_spec= 8628 hardcode_libdir_separator= 8629 hardcode_minus_L=no 8630 hardcode_shlibpath_var=unsupported 8631 inherit_rpath=no 8632 link_all_deplibs=unknown 8633 module_cmds= 8634 module_expsym_cmds= 8635 old_archive_from_new_cmds= 8636 old_archive_from_expsyms_cmds= 8637 thread_safe_flag_spec= 8638 whole_archive_flag_spec= 8639 # include_expsyms should be a list of space-separated symbols to be *always* 8640 # included in the symbol list 8641 include_expsyms= 8642 # exclude_expsyms can be an extended regexp of symbols to exclude 8643 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8644 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8645 # as well as any symbol that contains `d'. 8646 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8647 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8648 # platforms (ab)use it in PIC code, but their linkers get confused if 8649 # the symbol is explicitly referenced. Since portable code cannot 8650 # rely on this symbol name, it's probably fine to never include it in 8651 # preloaded symbol tables. 8652 # Exclude shared library initialization/finalization symbols. 8653 extract_expsyms_cmds= 8654 8655 case $host_os in 8656 cygwin* | mingw* | pw32* | cegcc*) 8657 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8658 # When not using gcc, we currently assume that we are using 8659 # Microsoft Visual C++. 8660 if test "$GCC" != yes; then 8661 with_gnu_ld=no 8662 fi 8663 ;; 8664 interix*) 8665 # we just hope/assume this is gcc and not c89 (= MSVC++) 8666 with_gnu_ld=yes 8667 ;; 8668 openbsd*) 8669 with_gnu_ld=no 8670 ;; 8671 linux* | k*bsd*-gnu | gnu*) 8672 link_all_deplibs=no 8673 ;; 8674 esac 8675 8676 ld_shlibs=yes 8677 8678 # On some targets, GNU ld is compatible enough with the native linker 8679 # that we're better off using the native interface for both. 8680 lt_use_gnu_ld_interface=no 8681 if test "$with_gnu_ld" = yes; then 8682 case $host_os in 8683 aix*) 8684 # The AIX port of GNU ld has always aspired to compatibility 8685 # with the native linker. However, as the warning in the GNU ld 8686 # block says, versions before 2.19.5* couldn't really create working 8687 # shared libraries, regardless of the interface used. 8688 case `$LD -v 2>&1` in 8689 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8690 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8691 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8692 *) 8693 lt_use_gnu_ld_interface=yes 8694 ;; 8695 esac 8696 ;; 8697 *) 8698 lt_use_gnu_ld_interface=yes 8699 ;; 8700 esac 8701 fi 8702 8703 if test "$lt_use_gnu_ld_interface" = yes; then 8704 # If archive_cmds runs LD, not CC, wlarc should be empty 8705 wlarc='${wl}' 8706 8707 # Set some defaults for GNU ld with shared library support. These 8708 # are reset later if shared libraries are not supported. Putting them 8709 # here allows them to be overridden if necessary. 8710 runpath_var=LD_RUN_PATH 8711 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8712 export_dynamic_flag_spec='${wl}--export-dynamic' 8713 # ancient GNU ld didn't support --whole-archive et. al. 8714 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8715 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8716 else 8717 whole_archive_flag_spec= 8718 fi 8719 supports_anon_versioning=no 8720 case `$LD -v 2>&1` in 8721 *GNU\ gold*) supports_anon_versioning=yes ;; 8722 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8723 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8724 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8725 *\ 2.11.*) ;; # other 2.11 versions 8726 *) supports_anon_versioning=yes ;; 8727 esac 8728 8729 # See if GNU ld supports shared libraries. 8730 case $host_os in 8731 aix[3-9]*) 8732 # On AIX/PPC, the GNU linker is very broken 8733 if test "$host_cpu" != ia64; then 8734 ld_shlibs=no 8735 cat <<_LT_EOF 1>&2 8736 8737*** Warning: the GNU linker, at least up to release 2.19, is reported 8738*** to be unable to reliably create shared libraries on AIX. 8739*** Therefore, libtool is disabling shared libraries support. If you 8740*** really care for shared libraries, you may want to install binutils 8741*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8742*** You will then need to restart the configuration process. 8743 8744_LT_EOF 8745 fi 8746 ;; 8747 8748 amigaos*) 8749 case $host_cpu in 8750 powerpc) 8751 # see comment about AmigaOS4 .so support 8752 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8753 archive_expsym_cmds='' 8754 ;; 8755 m68k) 8756 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)' 8757 hardcode_libdir_flag_spec='-L$libdir' 8758 hardcode_minus_L=yes 8759 ;; 8760 esac 8761 ;; 8762 8763 beos*) 8764 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8765 allow_undefined_flag=unsupported 8766 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8767 # support --undefined. This deserves some investigation. FIXME 8768 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8769 else 8770 ld_shlibs=no 8771 fi 8772 ;; 8773 8774 cygwin* | mingw* | pw32* | cegcc*) 8775 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8776 # as there is no search path for DLLs. 8777 hardcode_libdir_flag_spec='-L$libdir' 8778 export_dynamic_flag_spec='${wl}--export-all-symbols' 8779 allow_undefined_flag=unsupported 8780 always_export_symbols=no 8781 enable_shared_with_static_runtimes=yes 8782 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' 8783 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8784 8785 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8786 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8787 # If the export-symbols file already is a .def file (1st line 8788 # is EXPORTS), use it as is; otherwise, prepend... 8789 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8790 cp $export_symbols $output_objdir/$soname.def; 8791 else 8792 echo EXPORTS > $output_objdir/$soname.def; 8793 cat $export_symbols >> $output_objdir/$soname.def; 8794 fi~ 8795 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8796 else 8797 ld_shlibs=no 8798 fi 8799 ;; 8800 8801 haiku*) 8802 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8803 link_all_deplibs=yes 8804 ;; 8805 8806 interix[3-9]*) 8807 hardcode_direct=no 8808 hardcode_shlibpath_var=no 8809 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8810 export_dynamic_flag_spec='${wl}-E' 8811 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8812 # Instead, shared libraries are loaded at an image base (0x10000000 by 8813 # default) and relocated if they conflict, which is a slow very memory 8814 # consuming and fragmenting process. To avoid this, we pick a random, 8815 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8816 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8817 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8818 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' 8819 ;; 8820 8821 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8822 tmp_diet=no 8823 if test "$host_os" = linux-dietlibc; then 8824 case $cc_basename in 8825 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8826 esac 8827 fi 8828 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8829 && test "$tmp_diet" = no 8830 then 8831 tmp_addflag=' $pic_flag' 8832 tmp_sharedflag='-shared' 8833 case $cc_basename,$host_cpu in 8834 pgcc*) # Portland Group C compiler 8835 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' 8836 tmp_addflag=' $pic_flag' 8837 ;; 8838 pgf77* | pgf90* | pgf95* | pgfortran*) 8839 # Portland Group f77 and f90 compilers 8840 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' 8841 tmp_addflag=' $pic_flag -Mnomain' ;; 8842 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8843 tmp_addflag=' -i_dynamic' ;; 8844 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8845 tmp_addflag=' -i_dynamic -nofor_main' ;; 8846 ifc* | ifort*) # Intel Fortran compiler 8847 tmp_addflag=' -nofor_main' ;; 8848 lf95*) # Lahey Fortran 8.1 8849 whole_archive_flag_spec= 8850 tmp_sharedflag='--shared' ;; 8851 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8852 tmp_sharedflag='-qmkshrobj' 8853 tmp_addflag= ;; 8854 nvcc*) # Cuda Compiler Driver 2.2 8855 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' 8856 compiler_needs_object=yes 8857 ;; 8858 esac 8859 case `$CC -V 2>&1 | sed 5q` in 8860 *Sun\ C*) # Sun C 5.9 8861 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' 8862 compiler_needs_object=yes 8863 tmp_sharedflag='-G' ;; 8864 *Sun\ F*) # Sun Fortran 8.3 8865 tmp_sharedflag='-G' ;; 8866 esac 8867 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8868 8869 if test "x$supports_anon_versioning" = xyes; then 8870 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8871 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8872 echo "local: *; };" >> $output_objdir/$libname.ver~ 8873 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8874 fi 8875 8876 case $cc_basename in 8877 xlf* | bgf* | bgxlf* | mpixlf*) 8878 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8879 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8880 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8881 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 8882 if test "x$supports_anon_versioning" = xyes; then 8883 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8884 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8885 echo "local: *; };" >> $output_objdir/$libname.ver~ 8886 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8887 fi 8888 ;; 8889 esac 8890 else 8891 ld_shlibs=no 8892 fi 8893 ;; 8894 8895 netbsd* | netbsdelf*-gnu) 8896 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8897 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8898 wlarc= 8899 else 8900 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8901 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8902 fi 8903 ;; 8904 8905 solaris*) 8906 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8907 ld_shlibs=no 8908 cat <<_LT_EOF 1>&2 8909 8910*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8911*** create shared libraries on Solaris systems. Therefore, libtool 8912*** is disabling shared libraries support. We urge you to upgrade GNU 8913*** binutils to release 2.9.1 or newer. Another option is to modify 8914*** your PATH or compiler configuration so that the native linker is 8915*** used, and then restart. 8916 8917_LT_EOF 8918 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8919 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8920 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8921 else 8922 ld_shlibs=no 8923 fi 8924 ;; 8925 8926 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8927 case `$LD -v 2>&1` in 8928 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8929 ld_shlibs=no 8930 cat <<_LT_EOF 1>&2 8931 8932*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8933*** reliably create shared libraries on SCO systems. Therefore, libtool 8934*** is disabling shared libraries support. We urge you to upgrade GNU 8935*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8936*** your PATH or compiler configuration so that the native linker is 8937*** used, and then restart. 8938 8939_LT_EOF 8940 ;; 8941 *) 8942 # For security reasons, it is highly recommended that you always 8943 # use absolute paths for naming shared libraries, and exclude the 8944 # DT_RUNPATH tag from executables and libraries. But doing so 8945 # requires that you compile everything twice, which is a pain. 8946 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8947 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8948 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8949 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8950 else 8951 ld_shlibs=no 8952 fi 8953 ;; 8954 esac 8955 ;; 8956 8957 sunos4*) 8958 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8959 wlarc= 8960 hardcode_direct=yes 8961 hardcode_shlibpath_var=no 8962 ;; 8963 8964 *) 8965 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8966 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8967 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8968 else 8969 ld_shlibs=no 8970 fi 8971 ;; 8972 esac 8973 8974 if test "$ld_shlibs" = no; then 8975 runpath_var= 8976 hardcode_libdir_flag_spec= 8977 export_dynamic_flag_spec= 8978 whole_archive_flag_spec= 8979 fi 8980 else 8981 # PORTME fill in a description of your system's linker (not GNU ld) 8982 case $host_os in 8983 aix3*) 8984 allow_undefined_flag=unsupported 8985 always_export_symbols=yes 8986 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' 8987 # Note: this linker hardcodes the directories in LIBPATH if there 8988 # are no directories specified by -L. 8989 hardcode_minus_L=yes 8990 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8991 # Neither direct hardcoding nor static linking is supported with a 8992 # broken collect2. 8993 hardcode_direct=unsupported 8994 fi 8995 ;; 8996 8997 aix[4-9]*) 8998 if test "$host_cpu" = ia64; then 8999 # On IA64, the linker does run time linking by default, so we don't 9000 # have to do anything special. 9001 aix_use_runtimelinking=no 9002 exp_sym_flag='-Bexport' 9003 no_entry_flag="" 9004 else 9005 # If we're using GNU nm, then we don't want the "-C" option. 9006 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9007 # Also, AIX nm treats weak defined symbols like other global 9008 # defined symbols, whereas GNU nm marks them as "W". 9009 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9010 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' 9011 else 9012 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' 9013 fi 9014 aix_use_runtimelinking=no 9015 9016 # Test if we are trying to use run time linking or normal 9017 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9018 # need to do runtime linking. 9019 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9020 for ld_flag in $LDFLAGS; do 9021 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9022 aix_use_runtimelinking=yes 9023 break 9024 fi 9025 done 9026 ;; 9027 esac 9028 9029 exp_sym_flag='-bexport' 9030 no_entry_flag='-bnoentry' 9031 fi 9032 9033 # When large executables or shared objects are built, AIX ld can 9034 # have problems creating the table of contents. If linking a library 9035 # or program results in "error TOC overflow" add -mminimal-toc to 9036 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9037 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9038 9039 archive_cmds='' 9040 hardcode_direct=yes 9041 hardcode_direct_absolute=yes 9042 hardcode_libdir_separator=':' 9043 link_all_deplibs=yes 9044 file_list_spec='${wl}-f,' 9045 9046 if test "$GCC" = yes; then 9047 case $host_os in aix4.[012]|aix4.[012].*) 9048 # We only want to do this on AIX 4.2 and lower, the check 9049 # below for broken collect2 doesn't work under 4.3+ 9050 collect2name=`${CC} -print-prog-name=collect2` 9051 if test -f "$collect2name" && 9052 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9053 then 9054 # We have reworked collect2 9055 : 9056 else 9057 # We have old collect2 9058 hardcode_direct=unsupported 9059 # It fails to find uninstalled libraries when the uninstalled 9060 # path is not listed in the libpath. Setting hardcode_minus_L 9061 # to unsupported forces relinking 9062 hardcode_minus_L=yes 9063 hardcode_libdir_flag_spec='-L$libdir' 9064 hardcode_libdir_separator= 9065 fi 9066 ;; 9067 esac 9068 shared_flag='-shared' 9069 if test "$aix_use_runtimelinking" = yes; then 9070 shared_flag="$shared_flag "'${wl}-G' 9071 fi 9072 link_all_deplibs=no 9073 else 9074 # not using gcc 9075 if test "$host_cpu" = ia64; then 9076 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9077 # chokes on -Wl,-G. The following line is correct: 9078 shared_flag='-G' 9079 else 9080 if test "$aix_use_runtimelinking" = yes; then 9081 shared_flag='${wl}-G' 9082 else 9083 shared_flag='${wl}-bM:SRE' 9084 fi 9085 fi 9086 fi 9087 9088 export_dynamic_flag_spec='${wl}-bexpall' 9089 # It seems that -bexpall does not export symbols beginning with 9090 # underscore (_), so it is better to generate a list of symbols to export. 9091 always_export_symbols=yes 9092 if test "$aix_use_runtimelinking" = yes; then 9093 # Warning - without using the other runtime loading flags (-brtl), 9094 # -berok will link without error, but may produce a broken library. 9095 allow_undefined_flag='-berok' 9096 # Determine the default libpath from the value encoded in an 9097 # empty executable. 9098 if test "${lt_cv_aix_libpath+set}" = set; then 9099 aix_libpath=$lt_cv_aix_libpath 9100else 9101 if ${lt_cv_aix_libpath_+:} false; then : 9102 $as_echo_n "(cached) " >&6 9103else 9104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9105/* end confdefs.h. */ 9106 9107int 9108main () 9109{ 9110 9111 ; 9112 return 0; 9113} 9114_ACEOF 9115if ac_fn_c_try_link "$LINENO"; then : 9116 9117 lt_aix_libpath_sed=' 9118 /Import File Strings/,/^$/ { 9119 /^0/ { 9120 s/^0 *\([^ ]*\) *$/\1/ 9121 p 9122 } 9123 }' 9124 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9125 # Check for a 64-bit object if we didn't find anything. 9126 if test -z "$lt_cv_aix_libpath_"; then 9127 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9128 fi 9129fi 9130rm -f core conftest.err conftest.$ac_objext \ 9131 conftest$ac_exeext conftest.$ac_ext 9132 if test -z "$lt_cv_aix_libpath_"; then 9133 lt_cv_aix_libpath_="/usr/lib:/lib" 9134 fi 9135 9136fi 9137 9138 aix_libpath=$lt_cv_aix_libpath_ 9139fi 9140 9141 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9142 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" 9143 else 9144 if test "$host_cpu" = ia64; then 9145 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9146 allow_undefined_flag="-z nodefs" 9147 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" 9148 else 9149 # Determine the default libpath from the value encoded in an 9150 # empty executable. 9151 if test "${lt_cv_aix_libpath+set}" = set; then 9152 aix_libpath=$lt_cv_aix_libpath 9153else 9154 if ${lt_cv_aix_libpath_+:} false; then : 9155 $as_echo_n "(cached) " >&6 9156else 9157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9158/* end confdefs.h. */ 9159 9160int 9161main () 9162{ 9163 9164 ; 9165 return 0; 9166} 9167_ACEOF 9168if ac_fn_c_try_link "$LINENO"; then : 9169 9170 lt_aix_libpath_sed=' 9171 /Import File Strings/,/^$/ { 9172 /^0/ { 9173 s/^0 *\([^ ]*\) *$/\1/ 9174 p 9175 } 9176 }' 9177 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9178 # Check for a 64-bit object if we didn't find anything. 9179 if test -z "$lt_cv_aix_libpath_"; then 9180 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9181 fi 9182fi 9183rm -f core conftest.err conftest.$ac_objext \ 9184 conftest$ac_exeext conftest.$ac_ext 9185 if test -z "$lt_cv_aix_libpath_"; then 9186 lt_cv_aix_libpath_="/usr/lib:/lib" 9187 fi 9188 9189fi 9190 9191 aix_libpath=$lt_cv_aix_libpath_ 9192fi 9193 9194 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9195 # Warning - without using the other run time loading flags, 9196 # -berok will link without error, but may produce a broken library. 9197 no_undefined_flag=' ${wl}-bernotok' 9198 allow_undefined_flag=' ${wl}-berok' 9199 if test "$with_gnu_ld" = yes; then 9200 # We only use this code for GNU lds that support --whole-archive. 9201 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9202 else 9203 # Exported symbols can be pulled into shared objects from archives 9204 whole_archive_flag_spec='$convenience' 9205 fi 9206 archive_cmds_need_lc=yes 9207 # This is similar to how AIX traditionally builds its shared libraries. 9208 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' 9209 fi 9210 fi 9211 ;; 9212 9213 amigaos*) 9214 case $host_cpu in 9215 powerpc) 9216 # see comment about AmigaOS4 .so support 9217 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9218 archive_expsym_cmds='' 9219 ;; 9220 m68k) 9221 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)' 9222 hardcode_libdir_flag_spec='-L$libdir' 9223 hardcode_minus_L=yes 9224 ;; 9225 esac 9226 ;; 9227 9228 bsdi[45]*) 9229 export_dynamic_flag_spec=-rdynamic 9230 ;; 9231 9232 cygwin* | mingw* | pw32* | cegcc*) 9233 # When not using gcc, we currently assume that we are using 9234 # Microsoft Visual C++. 9235 # hardcode_libdir_flag_spec is actually meaningless, as there is 9236 # no search path for DLLs. 9237 case $cc_basename in 9238 cl*) 9239 # Native MSVC 9240 hardcode_libdir_flag_spec=' ' 9241 allow_undefined_flag=unsupported 9242 always_export_symbols=yes 9243 file_list_spec='@' 9244 # Tell ltmain to make .lib files, not .a files. 9245 libext=lib 9246 # Tell ltmain to make .dll files, not .so files. 9247 shrext_cmds=".dll" 9248 # FIXME: Setting linknames here is a bad hack. 9249 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9250 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9251 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9252 else 9253 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9254 fi~ 9255 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9256 linknames=' 9257 # The linker will not automatically build a static lib if we build a DLL. 9258 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9259 enable_shared_with_static_runtimes=yes 9260 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9261 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9262 # Don't use ranlib 9263 old_postinstall_cmds='chmod 644 $oldlib' 9264 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9265 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9266 case $lt_outputfile in 9267 *.exe|*.EXE) ;; 9268 *) 9269 lt_outputfile="$lt_outputfile.exe" 9270 lt_tool_outputfile="$lt_tool_outputfile.exe" 9271 ;; 9272 esac~ 9273 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9274 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9275 $RM "$lt_outputfile.manifest"; 9276 fi' 9277 ;; 9278 *) 9279 # Assume MSVC wrapper 9280 hardcode_libdir_flag_spec=' ' 9281 allow_undefined_flag=unsupported 9282 # Tell ltmain to make .lib files, not .a files. 9283 libext=lib 9284 # Tell ltmain to make .dll files, not .so files. 9285 shrext_cmds=".dll" 9286 # FIXME: Setting linknames here is a bad hack. 9287 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9288 # The linker will automatically build a .lib file if we build a DLL. 9289 old_archive_from_new_cmds='true' 9290 # FIXME: Should let the user specify the lib program. 9291 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9292 enable_shared_with_static_runtimes=yes 9293 ;; 9294 esac 9295 ;; 9296 9297 darwin* | rhapsody*) 9298 9299 9300 archive_cmds_need_lc=no 9301 hardcode_direct=no 9302 hardcode_automatic=yes 9303 hardcode_shlibpath_var=unsupported 9304 if test "$lt_cv_ld_force_load" = "yes"; then 9305 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\"`' 9306 9307 else 9308 whole_archive_flag_spec='' 9309 fi 9310 link_all_deplibs=yes 9311 allow_undefined_flag="$_lt_dar_allow_undefined" 9312 case $cc_basename in 9313 ifort*) _lt_dar_can_shared=yes ;; 9314 *) _lt_dar_can_shared=$GCC ;; 9315 esac 9316 if test "$_lt_dar_can_shared" = "yes"; then 9317 output_verbose_link_cmd=func_echo_all 9318 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9319 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9320 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}" 9321 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}" 9322 9323 else 9324 ld_shlibs=no 9325 fi 9326 9327 ;; 9328 9329 dgux*) 9330 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9331 hardcode_libdir_flag_spec='-L$libdir' 9332 hardcode_shlibpath_var=no 9333 ;; 9334 9335 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9336 # support. Future versions do this automatically, but an explicit c++rt0.o 9337 # does not break anything, and helps significantly (at the cost of a little 9338 # extra space). 9339 freebsd2.2*) 9340 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9341 hardcode_libdir_flag_spec='-R$libdir' 9342 hardcode_direct=yes 9343 hardcode_shlibpath_var=no 9344 ;; 9345 9346 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9347 freebsd2.*) 9348 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9349 hardcode_direct=yes 9350 hardcode_minus_L=yes 9351 hardcode_shlibpath_var=no 9352 ;; 9353 9354 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9355 freebsd* | dragonfly*) 9356 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9357 hardcode_libdir_flag_spec='-R$libdir' 9358 hardcode_direct=yes 9359 hardcode_shlibpath_var=no 9360 ;; 9361 9362 hpux9*) 9363 if test "$GCC" = yes; then 9364 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' 9365 else 9366 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' 9367 fi 9368 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9369 hardcode_libdir_separator=: 9370 hardcode_direct=yes 9371 9372 # hardcode_minus_L: Not really in the search PATH, 9373 # but as the default location of the library. 9374 hardcode_minus_L=yes 9375 export_dynamic_flag_spec='${wl}-E' 9376 ;; 9377 9378 hpux10*) 9379 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9380 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9381 else 9382 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9383 fi 9384 if test "$with_gnu_ld" = no; then 9385 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9386 hardcode_libdir_separator=: 9387 hardcode_direct=yes 9388 hardcode_direct_absolute=yes 9389 export_dynamic_flag_spec='${wl}-E' 9390 # hardcode_minus_L: Not really in the search PATH, 9391 # but as the default location of the library. 9392 hardcode_minus_L=yes 9393 fi 9394 ;; 9395 9396 hpux11*) 9397 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9398 case $host_cpu in 9399 hppa*64*) 9400 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9401 ;; 9402 ia64*) 9403 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9404 ;; 9405 *) 9406 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9407 ;; 9408 esac 9409 else 9410 case $host_cpu in 9411 hppa*64*) 9412 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9413 ;; 9414 ia64*) 9415 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9416 ;; 9417 *) 9418 9419 # Older versions of the 11.00 compiler do not understand -b yet 9420 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9422$as_echo_n "checking if $CC understands -b... " >&6; } 9423if ${lt_cv_prog_compiler__b+:} false; then : 9424 $as_echo_n "(cached) " >&6 9425else 9426 lt_cv_prog_compiler__b=no 9427 save_LDFLAGS="$LDFLAGS" 9428 LDFLAGS="$LDFLAGS -b" 9429 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9430 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9431 # The linker can only warn and ignore the option if not recognized 9432 # So say no if there are warnings 9433 if test -s conftest.err; then 9434 # Append any errors to the config.log. 9435 cat conftest.err 1>&5 9436 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9437 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9438 if diff conftest.exp conftest.er2 >/dev/null; then 9439 lt_cv_prog_compiler__b=yes 9440 fi 9441 else 9442 lt_cv_prog_compiler__b=yes 9443 fi 9444 fi 9445 $RM -r conftest* 9446 LDFLAGS="$save_LDFLAGS" 9447 9448fi 9449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9450$as_echo "$lt_cv_prog_compiler__b" >&6; } 9451 9452if test x"$lt_cv_prog_compiler__b" = xyes; then 9453 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9454else 9455 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9456fi 9457 9458 ;; 9459 esac 9460 fi 9461 if test "$with_gnu_ld" = no; then 9462 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9463 hardcode_libdir_separator=: 9464 9465 case $host_cpu in 9466 hppa*64*|ia64*) 9467 hardcode_direct=no 9468 hardcode_shlibpath_var=no 9469 ;; 9470 *) 9471 hardcode_direct=yes 9472 hardcode_direct_absolute=yes 9473 export_dynamic_flag_spec='${wl}-E' 9474 9475 # hardcode_minus_L: Not really in the search PATH, 9476 # but as the default location of the library. 9477 hardcode_minus_L=yes 9478 ;; 9479 esac 9480 fi 9481 ;; 9482 9483 irix5* | irix6* | nonstopux*) 9484 if test "$GCC" = yes; then 9485 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' 9486 # Try to use the -exported_symbol ld option, if it does not 9487 # work, assume that -exports_file does not work either and 9488 # implicitly export all symbols. 9489 # This should be the same for all languages, so no per-tag cache variable. 9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9491$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9492if ${lt_cv_irix_exported_symbol+:} false; then : 9493 $as_echo_n "(cached) " >&6 9494else 9495 save_LDFLAGS="$LDFLAGS" 9496 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9498/* end confdefs.h. */ 9499int foo (void) { return 0; } 9500_ACEOF 9501if ac_fn_c_try_link "$LINENO"; then : 9502 lt_cv_irix_exported_symbol=yes 9503else 9504 lt_cv_irix_exported_symbol=no 9505fi 9506rm -f core conftest.err conftest.$ac_objext \ 9507 conftest$ac_exeext conftest.$ac_ext 9508 LDFLAGS="$save_LDFLAGS" 9509fi 9510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9511$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9512 if test "$lt_cv_irix_exported_symbol" = yes; then 9513 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' 9514 fi 9515 else 9516 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' 9517 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' 9518 fi 9519 archive_cmds_need_lc='no' 9520 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9521 hardcode_libdir_separator=: 9522 inherit_rpath=yes 9523 link_all_deplibs=yes 9524 ;; 9525 9526 netbsd* | netbsdelf*-gnu) 9527 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9528 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9529 else 9530 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9531 fi 9532 hardcode_libdir_flag_spec='-R$libdir' 9533 hardcode_direct=yes 9534 hardcode_shlibpath_var=no 9535 ;; 9536 9537 newsos6) 9538 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9539 hardcode_direct=yes 9540 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9541 hardcode_libdir_separator=: 9542 hardcode_shlibpath_var=no 9543 ;; 9544 9545 *nto* | *qnx*) 9546 ;; 9547 9548 openbsd*) 9549 if test -f /usr/libexec/ld.so; then 9550 hardcode_direct=yes 9551 hardcode_shlibpath_var=no 9552 hardcode_direct_absolute=yes 9553 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9554 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9555 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9556 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9557 export_dynamic_flag_spec='${wl}-E' 9558 else 9559 case $host_os in 9560 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9561 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9562 hardcode_libdir_flag_spec='-R$libdir' 9563 ;; 9564 *) 9565 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9566 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9567 ;; 9568 esac 9569 fi 9570 else 9571 ld_shlibs=no 9572 fi 9573 ;; 9574 9575 os2*) 9576 hardcode_libdir_flag_spec='-L$libdir' 9577 hardcode_minus_L=yes 9578 allow_undefined_flag=unsupported 9579 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' 9580 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9581 ;; 9582 9583 osf3*) 9584 if test "$GCC" = yes; then 9585 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9586 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' 9587 else 9588 allow_undefined_flag=' -expect_unresolved \*' 9589 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' 9590 fi 9591 archive_cmds_need_lc='no' 9592 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9593 hardcode_libdir_separator=: 9594 ;; 9595 9596 osf4* | osf5*) # as osf3* with the addition of -msym flag 9597 if test "$GCC" = yes; then 9598 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9599 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' 9600 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9601 else 9602 allow_undefined_flag=' -expect_unresolved \*' 9603 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' 9604 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~ 9605 $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' 9606 9607 # Both c and cxx compiler support -rpath directly 9608 hardcode_libdir_flag_spec='-rpath $libdir' 9609 fi 9610 archive_cmds_need_lc='no' 9611 hardcode_libdir_separator=: 9612 ;; 9613 9614 solaris*) 9615 no_undefined_flag=' -z defs' 9616 if test "$GCC" = yes; then 9617 wlarc='${wl}' 9618 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9619 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9620 $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' 9621 else 9622 case `$CC -V 2>&1` in 9623 *"Compilers 5.0"*) 9624 wlarc='' 9625 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9626 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9627 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9628 ;; 9629 *) 9630 wlarc='${wl}' 9631 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9632 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9633 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9634 ;; 9635 esac 9636 fi 9637 hardcode_libdir_flag_spec='-R$libdir' 9638 hardcode_shlibpath_var=no 9639 case $host_os in 9640 solaris2.[0-5] | solaris2.[0-5].*) ;; 9641 *) 9642 # The compiler driver will combine and reorder linker options, 9643 # but understands `-z linker_flag'. GCC discards it without `$wl', 9644 # but is careful enough not to reorder. 9645 # Supported since Solaris 2.6 (maybe 2.5.1?) 9646 if test "$GCC" = yes; then 9647 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9648 else 9649 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9650 fi 9651 ;; 9652 esac 9653 link_all_deplibs=yes 9654 ;; 9655 9656 sunos4*) 9657 if test "x$host_vendor" = xsequent; then 9658 # Use $CC to link under sequent, because it throws in some extra .o 9659 # files that make .init and .fini sections work. 9660 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9661 else 9662 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9663 fi 9664 hardcode_libdir_flag_spec='-L$libdir' 9665 hardcode_direct=yes 9666 hardcode_minus_L=yes 9667 hardcode_shlibpath_var=no 9668 ;; 9669 9670 sysv4) 9671 case $host_vendor in 9672 sni) 9673 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9674 hardcode_direct=yes # is this really true??? 9675 ;; 9676 siemens) 9677 ## LD is ld it makes a PLAMLIB 9678 ## CC just makes a GrossModule. 9679 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9680 reload_cmds='$CC -r -o $output$reload_objs' 9681 hardcode_direct=no 9682 ;; 9683 motorola) 9684 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9685 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9686 ;; 9687 esac 9688 runpath_var='LD_RUN_PATH' 9689 hardcode_shlibpath_var=no 9690 ;; 9691 9692 sysv4.3*) 9693 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9694 hardcode_shlibpath_var=no 9695 export_dynamic_flag_spec='-Bexport' 9696 ;; 9697 9698 sysv4*MP*) 9699 if test -d /usr/nec; then 9700 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9701 hardcode_shlibpath_var=no 9702 runpath_var=LD_RUN_PATH 9703 hardcode_runpath_var=yes 9704 ld_shlibs=yes 9705 fi 9706 ;; 9707 9708 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9709 no_undefined_flag='${wl}-z,text' 9710 archive_cmds_need_lc=no 9711 hardcode_shlibpath_var=no 9712 runpath_var='LD_RUN_PATH' 9713 9714 if test "$GCC" = yes; then 9715 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9716 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9717 else 9718 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9719 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9720 fi 9721 ;; 9722 9723 sysv5* | sco3.2v5* | sco5v6*) 9724 # Note: We can NOT use -z defs as we might desire, because we do not 9725 # link with -lc, and that would cause any symbols used from libc to 9726 # always be unresolved, which means just about no library would 9727 # ever link correctly. If we're not using GNU ld we use -z text 9728 # though, which does catch some bad symbols but isn't as heavy-handed 9729 # as -z defs. 9730 no_undefined_flag='${wl}-z,text' 9731 allow_undefined_flag='${wl}-z,nodefs' 9732 archive_cmds_need_lc=no 9733 hardcode_shlibpath_var=no 9734 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9735 hardcode_libdir_separator=':' 9736 link_all_deplibs=yes 9737 export_dynamic_flag_spec='${wl}-Bexport' 9738 runpath_var='LD_RUN_PATH' 9739 9740 if test "$GCC" = yes; then 9741 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9742 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9743 else 9744 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9745 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9746 fi 9747 ;; 9748 9749 uts4*) 9750 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9751 hardcode_libdir_flag_spec='-L$libdir' 9752 hardcode_shlibpath_var=no 9753 ;; 9754 9755 *) 9756 ld_shlibs=no 9757 ;; 9758 esac 9759 9760 if test x$host_vendor = xsni; then 9761 case $host in 9762 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9763 export_dynamic_flag_spec='${wl}-Blargedynsym' 9764 ;; 9765 esac 9766 fi 9767 fi 9768 9769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9770$as_echo "$ld_shlibs" >&6; } 9771test "$ld_shlibs" = no && can_build_shared=no 9772 9773with_gnu_ld=$with_gnu_ld 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789# 9790# Do we need to explicitly link libc? 9791# 9792case "x$archive_cmds_need_lc" in 9793x|xyes) 9794 # Assume -lc should be added 9795 archive_cmds_need_lc=yes 9796 9797 if test "$enable_shared" = yes && test "$GCC" = yes; then 9798 case $archive_cmds in 9799 *'~'*) 9800 # FIXME: we may have to deal with multi-command sequences. 9801 ;; 9802 '$CC '*) 9803 # Test whether the compiler implicitly links with -lc since on some 9804 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9805 # to ld, don't add -lc before -lgcc. 9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9807$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9808if ${lt_cv_archive_cmds_need_lc+:} false; then : 9809 $as_echo_n "(cached) " >&6 9810else 9811 $RM conftest* 9812 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9813 9814 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9815 (eval $ac_compile) 2>&5 9816 ac_status=$? 9817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9818 test $ac_status = 0; } 2>conftest.err; then 9819 soname=conftest 9820 lib=conftest 9821 libobjs=conftest.$ac_objext 9822 deplibs= 9823 wl=$lt_prog_compiler_wl 9824 pic_flag=$lt_prog_compiler_pic 9825 compiler_flags=-v 9826 linker_flags=-v 9827 verstring= 9828 output_objdir=. 9829 libname=conftest 9830 lt_save_allow_undefined_flag=$allow_undefined_flag 9831 allow_undefined_flag= 9832 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9833 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9834 ac_status=$? 9835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9836 test $ac_status = 0; } 9837 then 9838 lt_cv_archive_cmds_need_lc=no 9839 else 9840 lt_cv_archive_cmds_need_lc=yes 9841 fi 9842 allow_undefined_flag=$lt_save_allow_undefined_flag 9843 else 9844 cat conftest.err 1>&5 9845 fi 9846 $RM conftest* 9847 9848fi 9849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9850$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9851 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9852 ;; 9853 esac 9854 fi 9855 ;; 9856esac 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10010$as_echo_n "checking dynamic linker characteristics... " >&6; } 10011 10012if test "$GCC" = yes; then 10013 case $host_os in 10014 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10015 *) lt_awk_arg="/^libraries:/" ;; 10016 esac 10017 case $host_os in 10018 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10019 *) lt_sed_strip_eq="s,=/,/,g" ;; 10020 esac 10021 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10022 case $lt_search_path_spec in 10023 *\;*) 10024 # if the path contains ";" then we assume it to be the separator 10025 # otherwise default to the standard path separator (i.e. ":") - it is 10026 # assumed that no part of a normal pathname contains ";" but that should 10027 # okay in the real world where ";" in dirpaths is itself problematic. 10028 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10029 ;; 10030 *) 10031 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10032 ;; 10033 esac 10034 # Ok, now we have the path, separated by spaces, we can step through it 10035 # and add multilib dir if necessary. 10036 lt_tmp_lt_search_path_spec= 10037 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10038 for lt_sys_path in $lt_search_path_spec; do 10039 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10040 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10041 else 10042 test -d "$lt_sys_path" && \ 10043 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10044 fi 10045 done 10046 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10047BEGIN {RS=" "; FS="/|\n";} { 10048 lt_foo=""; 10049 lt_count=0; 10050 for (lt_i = NF; lt_i > 0; lt_i--) { 10051 if ($lt_i != "" && $lt_i != ".") { 10052 if ($lt_i == "..") { 10053 lt_count++; 10054 } else { 10055 if (lt_count == 0) { 10056 lt_foo="/" $lt_i lt_foo; 10057 } else { 10058 lt_count--; 10059 } 10060 } 10061 } 10062 } 10063 if (lt_foo != "") { lt_freq[lt_foo]++; } 10064 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10065}'` 10066 # AWK program above erroneously prepends '/' to C:/dos/paths 10067 # for these hosts. 10068 case $host_os in 10069 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10070 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10071 esac 10072 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10073else 10074 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10075fi 10076library_names_spec= 10077libname_spec='lib$name' 10078soname_spec= 10079shrext_cmds=".so" 10080postinstall_cmds= 10081postuninstall_cmds= 10082finish_cmds= 10083finish_eval= 10084shlibpath_var= 10085shlibpath_overrides_runpath=unknown 10086version_type=none 10087dynamic_linker="$host_os ld.so" 10088sys_lib_dlsearch_path_spec="/lib /usr/lib" 10089need_lib_prefix=unknown 10090hardcode_into_libs=no 10091 10092# when you set need_version to no, make sure it does not cause -set_version 10093# flags to be left without arguments 10094need_version=unknown 10095 10096case $host_os in 10097aix3*) 10098 version_type=linux # correct to gnu/linux during the next big refactor 10099 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10100 shlibpath_var=LIBPATH 10101 10102 # AIX 3 has no versioning support, so we append a major version to the name. 10103 soname_spec='${libname}${release}${shared_ext}$major' 10104 ;; 10105 10106aix[4-9]*) 10107 version_type=linux # correct to gnu/linux during the next big refactor 10108 need_lib_prefix=no 10109 need_version=no 10110 hardcode_into_libs=yes 10111 if test "$host_cpu" = ia64; then 10112 # AIX 5 supports IA64 10113 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10114 shlibpath_var=LD_LIBRARY_PATH 10115 else 10116 # With GCC up to 2.95.x, collect2 would create an import file 10117 # for dependence libraries. The import file would start with 10118 # the line `#! .'. This would cause the generated library to 10119 # depend on `.', always an invalid library. This was fixed in 10120 # development snapshots of GCC prior to 3.0. 10121 case $host_os in 10122 aix4 | aix4.[01] | aix4.[01].*) 10123 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10124 echo ' yes ' 10125 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10126 : 10127 else 10128 can_build_shared=no 10129 fi 10130 ;; 10131 esac 10132 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10133 # soname into executable. Probably we can add versioning support to 10134 # collect2, so additional links can be useful in future. 10135 if test "$aix_use_runtimelinking" = yes; then 10136 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10137 # instead of lib<name>.a to let people know that these are not 10138 # typical AIX shared libraries. 10139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10140 else 10141 # We preserve .a as extension for shared libraries through AIX4.2 10142 # and later when we are not doing run time linking. 10143 library_names_spec='${libname}${release}.a $libname.a' 10144 soname_spec='${libname}${release}${shared_ext}$major' 10145 fi 10146 shlibpath_var=LIBPATH 10147 fi 10148 ;; 10149 10150amigaos*) 10151 case $host_cpu in 10152 powerpc) 10153 # Since July 2007 AmigaOS4 officially supports .so libraries. 10154 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10156 ;; 10157 m68k) 10158 library_names_spec='$libname.ixlibrary $libname.a' 10159 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10160 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' 10161 ;; 10162 esac 10163 ;; 10164 10165beos*) 10166 library_names_spec='${libname}${shared_ext}' 10167 dynamic_linker="$host_os ld.so" 10168 shlibpath_var=LIBRARY_PATH 10169 ;; 10170 10171bsdi[45]*) 10172 version_type=linux # correct to gnu/linux during the next big refactor 10173 need_version=no 10174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10175 soname_spec='${libname}${release}${shared_ext}$major' 10176 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10177 shlibpath_var=LD_LIBRARY_PATH 10178 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10179 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10180 # the default ld.so.conf also contains /usr/contrib/lib and 10181 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10182 # libtool to hard-code these into programs 10183 ;; 10184 10185cygwin* | mingw* | pw32* | cegcc*) 10186 version_type=windows 10187 shrext_cmds=".dll" 10188 need_version=no 10189 need_lib_prefix=no 10190 10191 case $GCC,$cc_basename in 10192 yes,*) 10193 # gcc 10194 library_names_spec='$libname.dll.a' 10195 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10196 postinstall_cmds='base_file=`basename \${file}`~ 10197 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10198 dldir=$destdir/`dirname \$dlpath`~ 10199 test -d \$dldir || mkdir -p \$dldir~ 10200 $install_prog $dir/$dlname \$dldir/$dlname~ 10201 chmod a+x \$dldir/$dlname~ 10202 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10203 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10204 fi' 10205 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10206 dlpath=$dir/\$dldll~ 10207 $RM \$dlpath' 10208 shlibpath_overrides_runpath=yes 10209 10210 case $host_os in 10211 cygwin*) 10212 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10213 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10214 10215 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10216 ;; 10217 mingw* | cegcc*) 10218 # MinGW DLLs use traditional 'lib' prefix 10219 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10220 ;; 10221 pw32*) 10222 # pw32 DLLs use 'pw' prefix rather than 'lib' 10223 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10224 ;; 10225 esac 10226 dynamic_linker='Win32 ld.exe' 10227 ;; 10228 10229 *,cl*) 10230 # Native MSVC 10231 libname_spec='$name' 10232 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10233 library_names_spec='${libname}.dll.lib' 10234 10235 case $build_os in 10236 mingw*) 10237 sys_lib_search_path_spec= 10238 lt_save_ifs=$IFS 10239 IFS=';' 10240 for lt_path in $LIB 10241 do 10242 IFS=$lt_save_ifs 10243 # Let DOS variable expansion print the short 8.3 style file name. 10244 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10245 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10246 done 10247 IFS=$lt_save_ifs 10248 # Convert to MSYS style. 10249 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10250 ;; 10251 cygwin*) 10252 # Convert to unix form, then to dos form, then back to unix form 10253 # but this time dos style (no spaces!) so that the unix form looks 10254 # like /cygdrive/c/PROGRA~1:/cygdr... 10255 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10256 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10257 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10258 ;; 10259 *) 10260 sys_lib_search_path_spec="$LIB" 10261 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10262 # It is most probably a Windows format PATH. 10263 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10264 else 10265 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10266 fi 10267 # FIXME: find the short name or the path components, as spaces are 10268 # common. (e.g. "Program Files" -> "PROGRA~1") 10269 ;; 10270 esac 10271 10272 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10273 postinstall_cmds='base_file=`basename \${file}`~ 10274 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10275 dldir=$destdir/`dirname \$dlpath`~ 10276 test -d \$dldir || mkdir -p \$dldir~ 10277 $install_prog $dir/$dlname \$dldir/$dlname' 10278 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10279 dlpath=$dir/\$dldll~ 10280 $RM \$dlpath' 10281 shlibpath_overrides_runpath=yes 10282 dynamic_linker='Win32 link.exe' 10283 ;; 10284 10285 *) 10286 # Assume MSVC wrapper 10287 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10288 dynamic_linker='Win32 ld.exe' 10289 ;; 10290 esac 10291 # FIXME: first we should search . and the directory the executable is in 10292 shlibpath_var=PATH 10293 ;; 10294 10295darwin* | rhapsody*) 10296 dynamic_linker="$host_os dyld" 10297 version_type=darwin 10298 need_lib_prefix=no 10299 need_version=no 10300 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10301 soname_spec='${libname}${release}${major}$shared_ext' 10302 shlibpath_overrides_runpath=yes 10303 shlibpath_var=DYLD_LIBRARY_PATH 10304 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10305 10306 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10307 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10308 ;; 10309 10310dgux*) 10311 version_type=linux # correct to gnu/linux during the next big refactor 10312 need_lib_prefix=no 10313 need_version=no 10314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10315 soname_spec='${libname}${release}${shared_ext}$major' 10316 shlibpath_var=LD_LIBRARY_PATH 10317 ;; 10318 10319freebsd* | dragonfly*) 10320 # DragonFly does not have aout. When/if they implement a new 10321 # versioning mechanism, adjust this. 10322 if test -x /usr/bin/objformat; then 10323 objformat=`/usr/bin/objformat` 10324 else 10325 case $host_os in 10326 freebsd[23].*) objformat=aout ;; 10327 *) objformat=elf ;; 10328 esac 10329 fi 10330 version_type=freebsd-$objformat 10331 case $version_type in 10332 freebsd-elf*) 10333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10334 need_version=no 10335 need_lib_prefix=no 10336 ;; 10337 freebsd-*) 10338 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10339 need_version=yes 10340 ;; 10341 esac 10342 shlibpath_var=LD_LIBRARY_PATH 10343 case $host_os in 10344 freebsd2.*) 10345 shlibpath_overrides_runpath=yes 10346 ;; 10347 freebsd3.[01]* | freebsdelf3.[01]*) 10348 shlibpath_overrides_runpath=yes 10349 hardcode_into_libs=yes 10350 ;; 10351 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10352 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10353 shlibpath_overrides_runpath=no 10354 hardcode_into_libs=yes 10355 ;; 10356 *) # from 4.6 on, and DragonFly 10357 shlibpath_overrides_runpath=yes 10358 hardcode_into_libs=yes 10359 ;; 10360 esac 10361 ;; 10362 10363haiku*) 10364 version_type=linux # correct to gnu/linux during the next big refactor 10365 need_lib_prefix=no 10366 need_version=no 10367 dynamic_linker="$host_os runtime_loader" 10368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10369 soname_spec='${libname}${release}${shared_ext}$major' 10370 shlibpath_var=LIBRARY_PATH 10371 shlibpath_overrides_runpath=yes 10372 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10373 hardcode_into_libs=yes 10374 ;; 10375 10376hpux9* | hpux10* | hpux11*) 10377 # Give a soname corresponding to the major version so that dld.sl refuses to 10378 # link against other versions. 10379 version_type=sunos 10380 need_lib_prefix=no 10381 need_version=no 10382 case $host_cpu in 10383 ia64*) 10384 shrext_cmds='.so' 10385 hardcode_into_libs=yes 10386 dynamic_linker="$host_os dld.so" 10387 shlibpath_var=LD_LIBRARY_PATH 10388 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10390 soname_spec='${libname}${release}${shared_ext}$major' 10391 if test "X$HPUX_IA64_MODE" = X32; then 10392 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10393 else 10394 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10395 fi 10396 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10397 ;; 10398 hppa*64*) 10399 shrext_cmds='.sl' 10400 hardcode_into_libs=yes 10401 dynamic_linker="$host_os dld.sl" 10402 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10403 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10405 soname_spec='${libname}${release}${shared_ext}$major' 10406 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10407 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10408 ;; 10409 *) 10410 shrext_cmds='.sl' 10411 dynamic_linker="$host_os dld.sl" 10412 shlibpath_var=SHLIB_PATH 10413 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10415 soname_spec='${libname}${release}${shared_ext}$major' 10416 ;; 10417 esac 10418 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10419 postinstall_cmds='chmod 555 $lib' 10420 # or fails outright, so override atomically: 10421 install_override_mode=555 10422 ;; 10423 10424interix[3-9]*) 10425 version_type=linux # correct to gnu/linux during the next big refactor 10426 need_lib_prefix=no 10427 need_version=no 10428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10429 soname_spec='${libname}${release}${shared_ext}$major' 10430 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10431 shlibpath_var=LD_LIBRARY_PATH 10432 shlibpath_overrides_runpath=no 10433 hardcode_into_libs=yes 10434 ;; 10435 10436irix5* | irix6* | nonstopux*) 10437 case $host_os in 10438 nonstopux*) version_type=nonstopux ;; 10439 *) 10440 if test "$lt_cv_prog_gnu_ld" = yes; then 10441 version_type=linux # correct to gnu/linux during the next big refactor 10442 else 10443 version_type=irix 10444 fi ;; 10445 esac 10446 need_lib_prefix=no 10447 need_version=no 10448 soname_spec='${libname}${release}${shared_ext}$major' 10449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10450 case $host_os in 10451 irix5* | nonstopux*) 10452 libsuff= shlibsuff= 10453 ;; 10454 *) 10455 case $LD in # libtool.m4 will add one of these switches to LD 10456 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10457 libsuff= shlibsuff= libmagic=32-bit;; 10458 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10459 libsuff=32 shlibsuff=N32 libmagic=N32;; 10460 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10461 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10462 *) libsuff= shlibsuff= libmagic=never-match;; 10463 esac 10464 ;; 10465 esac 10466 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10467 shlibpath_overrides_runpath=no 10468 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10469 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10470 hardcode_into_libs=yes 10471 ;; 10472 10473# No shared lib support for Linux oldld, aout, or coff. 10474linux*oldld* | linux*aout* | linux*coff*) 10475 dynamic_linker=no 10476 ;; 10477 10478# This must be glibc/ELF. 10479linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10480 version_type=linux # correct to gnu/linux during the next big refactor 10481 need_lib_prefix=no 10482 need_version=no 10483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10484 soname_spec='${libname}${release}${shared_ext}$major' 10485 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10486 shlibpath_var=LD_LIBRARY_PATH 10487 shlibpath_overrides_runpath=no 10488 10489 # Some binutils ld are patched to set DT_RUNPATH 10490 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10491 $as_echo_n "(cached) " >&6 10492else 10493 lt_cv_shlibpath_overrides_runpath=no 10494 save_LDFLAGS=$LDFLAGS 10495 save_libdir=$libdir 10496 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10497 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10499/* end confdefs.h. */ 10500 10501int 10502main () 10503{ 10504 10505 ; 10506 return 0; 10507} 10508_ACEOF 10509if ac_fn_c_try_link "$LINENO"; then : 10510 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10511 lt_cv_shlibpath_overrides_runpath=yes 10512fi 10513fi 10514rm -f core conftest.err conftest.$ac_objext \ 10515 conftest$ac_exeext conftest.$ac_ext 10516 LDFLAGS=$save_LDFLAGS 10517 libdir=$save_libdir 10518 10519fi 10520 10521 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10522 10523 # This implies no fast_install, which is unacceptable. 10524 # Some rework will be needed to allow for fast_install 10525 # before this can be enabled. 10526 hardcode_into_libs=yes 10527 10528 # Append ld.so.conf contents to the search path 10529 if test -f /etc/ld.so.conf; then 10530 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' ' '` 10531 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10532 fi 10533 10534 # We used to test for /lib/ld.so.1 and disable shared libraries on 10535 # powerpc, because MkLinux only supported shared libraries with the 10536 # GNU dynamic linker. Since this was broken with cross compilers, 10537 # most powerpc-linux boxes support dynamic linking these days and 10538 # people can always --disable-shared, the test was removed, and we 10539 # assume the GNU/Linux dynamic linker is in use. 10540 dynamic_linker='GNU/Linux ld.so' 10541 ;; 10542 10543netbsdelf*-gnu) 10544 version_type=linux 10545 need_lib_prefix=no 10546 need_version=no 10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10548 soname_spec='${libname}${release}${shared_ext}$major' 10549 shlibpath_var=LD_LIBRARY_PATH 10550 shlibpath_overrides_runpath=no 10551 hardcode_into_libs=yes 10552 dynamic_linker='NetBSD ld.elf_so' 10553 ;; 10554 10555netbsd*) 10556 version_type=sunos 10557 need_lib_prefix=no 10558 need_version=no 10559 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10561 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10562 dynamic_linker='NetBSD (a.out) ld.so' 10563 else 10564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10565 soname_spec='${libname}${release}${shared_ext}$major' 10566 dynamic_linker='NetBSD ld.elf_so' 10567 fi 10568 shlibpath_var=LD_LIBRARY_PATH 10569 shlibpath_overrides_runpath=yes 10570 hardcode_into_libs=yes 10571 ;; 10572 10573newsos6) 10574 version_type=linux # correct to gnu/linux during the next big refactor 10575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10576 shlibpath_var=LD_LIBRARY_PATH 10577 shlibpath_overrides_runpath=yes 10578 ;; 10579 10580*nto* | *qnx*) 10581 version_type=qnx 10582 need_lib_prefix=no 10583 need_version=no 10584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10585 soname_spec='${libname}${release}${shared_ext}$major' 10586 shlibpath_var=LD_LIBRARY_PATH 10587 shlibpath_overrides_runpath=no 10588 hardcode_into_libs=yes 10589 dynamic_linker='ldqnx.so' 10590 ;; 10591 10592openbsd*) 10593 version_type=sunos 10594 sys_lib_dlsearch_path_spec="/usr/lib" 10595 need_lib_prefix=no 10596 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10597 case $host_os in 10598 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10599 *) need_version=no ;; 10600 esac 10601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10602 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10603 shlibpath_var=LD_LIBRARY_PATH 10604 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10605 case $host_os in 10606 openbsd2.[89] | openbsd2.[89].*) 10607 shlibpath_overrides_runpath=no 10608 ;; 10609 *) 10610 shlibpath_overrides_runpath=yes 10611 ;; 10612 esac 10613 else 10614 shlibpath_overrides_runpath=yes 10615 fi 10616 ;; 10617 10618os2*) 10619 libname_spec='$name' 10620 shrext_cmds=".dll" 10621 need_lib_prefix=no 10622 library_names_spec='$libname${shared_ext} $libname.a' 10623 dynamic_linker='OS/2 ld.exe' 10624 shlibpath_var=LIBPATH 10625 ;; 10626 10627osf3* | osf4* | osf5*) 10628 version_type=osf 10629 need_lib_prefix=no 10630 need_version=no 10631 soname_spec='${libname}${release}${shared_ext}$major' 10632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10633 shlibpath_var=LD_LIBRARY_PATH 10634 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10635 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10636 ;; 10637 10638rdos*) 10639 dynamic_linker=no 10640 ;; 10641 10642solaris*) 10643 version_type=linux # correct to gnu/linux during the next big refactor 10644 need_lib_prefix=no 10645 need_version=no 10646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10647 soname_spec='${libname}${release}${shared_ext}$major' 10648 shlibpath_var=LD_LIBRARY_PATH 10649 shlibpath_overrides_runpath=yes 10650 hardcode_into_libs=yes 10651 # ldd complains unless libraries are executable 10652 postinstall_cmds='chmod +x $lib' 10653 ;; 10654 10655sunos4*) 10656 version_type=sunos 10657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10658 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10659 shlibpath_var=LD_LIBRARY_PATH 10660 shlibpath_overrides_runpath=yes 10661 if test "$with_gnu_ld" = yes; then 10662 need_lib_prefix=no 10663 fi 10664 need_version=yes 10665 ;; 10666 10667sysv4 | sysv4.3*) 10668 version_type=linux # correct to gnu/linux during the next big refactor 10669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10670 soname_spec='${libname}${release}${shared_ext}$major' 10671 shlibpath_var=LD_LIBRARY_PATH 10672 case $host_vendor in 10673 sni) 10674 shlibpath_overrides_runpath=no 10675 need_lib_prefix=no 10676 runpath_var=LD_RUN_PATH 10677 ;; 10678 siemens) 10679 need_lib_prefix=no 10680 ;; 10681 motorola) 10682 need_lib_prefix=no 10683 need_version=no 10684 shlibpath_overrides_runpath=no 10685 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10686 ;; 10687 esac 10688 ;; 10689 10690sysv4*MP*) 10691 if test -d /usr/nec ;then 10692 version_type=linux # correct to gnu/linux during the next big refactor 10693 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10694 soname_spec='$libname${shared_ext}.$major' 10695 shlibpath_var=LD_LIBRARY_PATH 10696 fi 10697 ;; 10698 10699sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10700 version_type=freebsd-elf 10701 need_lib_prefix=no 10702 need_version=no 10703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10704 soname_spec='${libname}${release}${shared_ext}$major' 10705 shlibpath_var=LD_LIBRARY_PATH 10706 shlibpath_overrides_runpath=yes 10707 hardcode_into_libs=yes 10708 if test "$with_gnu_ld" = yes; then 10709 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10710 else 10711 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10712 case $host_os in 10713 sco3.2v5*) 10714 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10715 ;; 10716 esac 10717 fi 10718 sys_lib_dlsearch_path_spec='/usr/lib' 10719 ;; 10720 10721tpf*) 10722 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10723 version_type=linux # correct to gnu/linux during the next big refactor 10724 need_lib_prefix=no 10725 need_version=no 10726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10727 shlibpath_var=LD_LIBRARY_PATH 10728 shlibpath_overrides_runpath=no 10729 hardcode_into_libs=yes 10730 ;; 10731 10732uts4*) 10733 version_type=linux # correct to gnu/linux during the next big refactor 10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10735 soname_spec='${libname}${release}${shared_ext}$major' 10736 shlibpath_var=LD_LIBRARY_PATH 10737 ;; 10738 10739*) 10740 dynamic_linker=no 10741 ;; 10742esac 10743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10744$as_echo "$dynamic_linker" >&6; } 10745test "$dynamic_linker" = no && can_build_shared=no 10746 10747variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10748if test "$GCC" = yes; then 10749 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10750fi 10751 10752if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10753 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10754fi 10755if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10756 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10757fi 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10851$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10852hardcode_action= 10853if test -n "$hardcode_libdir_flag_spec" || 10854 test -n "$runpath_var" || 10855 test "X$hardcode_automatic" = "Xyes" ; then 10856 10857 # We can hardcode non-existent directories. 10858 if test "$hardcode_direct" != no && 10859 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10860 # have to relink, otherwise we might link with an installed library 10861 # when we should be linking with a yet-to-be-installed one 10862 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10863 test "$hardcode_minus_L" != no; then 10864 # Linking always hardcodes the temporary library directory. 10865 hardcode_action=relink 10866 else 10867 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10868 hardcode_action=immediate 10869 fi 10870else 10871 # We cannot hardcode anything, or else we can only hardcode existing 10872 # directories. 10873 hardcode_action=unsupported 10874fi 10875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10876$as_echo "$hardcode_action" >&6; } 10877 10878if test "$hardcode_action" = relink || 10879 test "$inherit_rpath" = yes; then 10880 # Fast installation is not supported 10881 enable_fast_install=no 10882elif test "$shlibpath_overrides_runpath" = yes || 10883 test "$enable_shared" = no; then 10884 # Fast installation is not necessary 10885 enable_fast_install=needless 10886fi 10887 10888 10889 10890 10891 10892 10893 if test "x$enable_dlopen" != xyes; then 10894 enable_dlopen=unknown 10895 enable_dlopen_self=unknown 10896 enable_dlopen_self_static=unknown 10897else 10898 lt_cv_dlopen=no 10899 lt_cv_dlopen_libs= 10900 10901 case $host_os in 10902 beos*) 10903 lt_cv_dlopen="load_add_on" 10904 lt_cv_dlopen_libs= 10905 lt_cv_dlopen_self=yes 10906 ;; 10907 10908 mingw* | pw32* | cegcc*) 10909 lt_cv_dlopen="LoadLibrary" 10910 lt_cv_dlopen_libs= 10911 ;; 10912 10913 cygwin*) 10914 lt_cv_dlopen="dlopen" 10915 lt_cv_dlopen_libs= 10916 ;; 10917 10918 darwin*) 10919 # if libdl is installed we need to link against it 10920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10921$as_echo_n "checking for dlopen in -ldl... " >&6; } 10922if ${ac_cv_lib_dl_dlopen+:} false; then : 10923 $as_echo_n "(cached) " >&6 10924else 10925 ac_check_lib_save_LIBS=$LIBS 10926LIBS="-ldl $LIBS" 10927cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10928/* end confdefs.h. */ 10929 10930/* Override any GCC internal prototype to avoid an error. 10931 Use char because int might match the return type of a GCC 10932 builtin and then its argument prototype would still apply. */ 10933#ifdef __cplusplus 10934extern "C" 10935#endif 10936char dlopen (); 10937int 10938main () 10939{ 10940return dlopen (); 10941 ; 10942 return 0; 10943} 10944_ACEOF 10945if ac_fn_c_try_link "$LINENO"; then : 10946 ac_cv_lib_dl_dlopen=yes 10947else 10948 ac_cv_lib_dl_dlopen=no 10949fi 10950rm -f core conftest.err conftest.$ac_objext \ 10951 conftest$ac_exeext conftest.$ac_ext 10952LIBS=$ac_check_lib_save_LIBS 10953fi 10954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10955$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10956if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10957 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10958else 10959 10960 lt_cv_dlopen="dyld" 10961 lt_cv_dlopen_libs= 10962 lt_cv_dlopen_self=yes 10963 10964fi 10965 10966 ;; 10967 10968 *) 10969 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10970if test "x$ac_cv_func_shl_load" = xyes; then : 10971 lt_cv_dlopen="shl_load" 10972else 10973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10974$as_echo_n "checking for shl_load in -ldld... " >&6; } 10975if ${ac_cv_lib_dld_shl_load+:} false; then : 10976 $as_echo_n "(cached) " >&6 10977else 10978 ac_check_lib_save_LIBS=$LIBS 10979LIBS="-ldld $LIBS" 10980cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10981/* end confdefs.h. */ 10982 10983/* Override any GCC internal prototype to avoid an error. 10984 Use char because int might match the return type of a GCC 10985 builtin and then its argument prototype would still apply. */ 10986#ifdef __cplusplus 10987extern "C" 10988#endif 10989char shl_load (); 10990int 10991main () 10992{ 10993return shl_load (); 10994 ; 10995 return 0; 10996} 10997_ACEOF 10998if ac_fn_c_try_link "$LINENO"; then : 10999 ac_cv_lib_dld_shl_load=yes 11000else 11001 ac_cv_lib_dld_shl_load=no 11002fi 11003rm -f core conftest.err conftest.$ac_objext \ 11004 conftest$ac_exeext conftest.$ac_ext 11005LIBS=$ac_check_lib_save_LIBS 11006fi 11007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11008$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11009if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11010 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11011else 11012 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11013if test "x$ac_cv_func_dlopen" = xyes; then : 11014 lt_cv_dlopen="dlopen" 11015else 11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11017$as_echo_n "checking for dlopen in -ldl... " >&6; } 11018if ${ac_cv_lib_dl_dlopen+:} false; then : 11019 $as_echo_n "(cached) " >&6 11020else 11021 ac_check_lib_save_LIBS=$LIBS 11022LIBS="-ldl $LIBS" 11023cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11024/* end confdefs.h. */ 11025 11026/* Override any GCC internal prototype to avoid an error. 11027 Use char because int might match the return type of a GCC 11028 builtin and then its argument prototype would still apply. */ 11029#ifdef __cplusplus 11030extern "C" 11031#endif 11032char dlopen (); 11033int 11034main () 11035{ 11036return dlopen (); 11037 ; 11038 return 0; 11039} 11040_ACEOF 11041if ac_fn_c_try_link "$LINENO"; then : 11042 ac_cv_lib_dl_dlopen=yes 11043else 11044 ac_cv_lib_dl_dlopen=no 11045fi 11046rm -f core conftest.err conftest.$ac_objext \ 11047 conftest$ac_exeext conftest.$ac_ext 11048LIBS=$ac_check_lib_save_LIBS 11049fi 11050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11051$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11052if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11053 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11054else 11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11056$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11057if ${ac_cv_lib_svld_dlopen+:} false; then : 11058 $as_echo_n "(cached) " >&6 11059else 11060 ac_check_lib_save_LIBS=$LIBS 11061LIBS="-lsvld $LIBS" 11062cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11063/* end confdefs.h. */ 11064 11065/* Override any GCC internal prototype to avoid an error. 11066 Use char because int might match the return type of a GCC 11067 builtin and then its argument prototype would still apply. */ 11068#ifdef __cplusplus 11069extern "C" 11070#endif 11071char dlopen (); 11072int 11073main () 11074{ 11075return dlopen (); 11076 ; 11077 return 0; 11078} 11079_ACEOF 11080if ac_fn_c_try_link "$LINENO"; then : 11081 ac_cv_lib_svld_dlopen=yes 11082else 11083 ac_cv_lib_svld_dlopen=no 11084fi 11085rm -f core conftest.err conftest.$ac_objext \ 11086 conftest$ac_exeext conftest.$ac_ext 11087LIBS=$ac_check_lib_save_LIBS 11088fi 11089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11090$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11091if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11092 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11093else 11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11095$as_echo_n "checking for dld_link in -ldld... " >&6; } 11096if ${ac_cv_lib_dld_dld_link+:} false; then : 11097 $as_echo_n "(cached) " >&6 11098else 11099 ac_check_lib_save_LIBS=$LIBS 11100LIBS="-ldld $LIBS" 11101cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11102/* end confdefs.h. */ 11103 11104/* Override any GCC internal prototype to avoid an error. 11105 Use char because int might match the return type of a GCC 11106 builtin and then its argument prototype would still apply. */ 11107#ifdef __cplusplus 11108extern "C" 11109#endif 11110char dld_link (); 11111int 11112main () 11113{ 11114return dld_link (); 11115 ; 11116 return 0; 11117} 11118_ACEOF 11119if ac_fn_c_try_link "$LINENO"; then : 11120 ac_cv_lib_dld_dld_link=yes 11121else 11122 ac_cv_lib_dld_dld_link=no 11123fi 11124rm -f core conftest.err conftest.$ac_objext \ 11125 conftest$ac_exeext conftest.$ac_ext 11126LIBS=$ac_check_lib_save_LIBS 11127fi 11128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11129$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11130if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11131 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11132fi 11133 11134 11135fi 11136 11137 11138fi 11139 11140 11141fi 11142 11143 11144fi 11145 11146 11147fi 11148 11149 ;; 11150 esac 11151 11152 if test "x$lt_cv_dlopen" != xno; then 11153 enable_dlopen=yes 11154 else 11155 enable_dlopen=no 11156 fi 11157 11158 case $lt_cv_dlopen in 11159 dlopen) 11160 save_CPPFLAGS="$CPPFLAGS" 11161 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11162 11163 save_LDFLAGS="$LDFLAGS" 11164 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11165 11166 save_LIBS="$LIBS" 11167 LIBS="$lt_cv_dlopen_libs $LIBS" 11168 11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11170$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11171if ${lt_cv_dlopen_self+:} false; then : 11172 $as_echo_n "(cached) " >&6 11173else 11174 if test "$cross_compiling" = yes; then : 11175 lt_cv_dlopen_self=cross 11176else 11177 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11178 lt_status=$lt_dlunknown 11179 cat > conftest.$ac_ext <<_LT_EOF 11180#line $LINENO "configure" 11181#include "confdefs.h" 11182 11183#if HAVE_DLFCN_H 11184#include <dlfcn.h> 11185#endif 11186 11187#include <stdio.h> 11188 11189#ifdef RTLD_GLOBAL 11190# define LT_DLGLOBAL RTLD_GLOBAL 11191#else 11192# ifdef DL_GLOBAL 11193# define LT_DLGLOBAL DL_GLOBAL 11194# else 11195# define LT_DLGLOBAL 0 11196# endif 11197#endif 11198 11199/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11200 find out it does not work in some platform. */ 11201#ifndef LT_DLLAZY_OR_NOW 11202# ifdef RTLD_LAZY 11203# define LT_DLLAZY_OR_NOW RTLD_LAZY 11204# else 11205# ifdef DL_LAZY 11206# define LT_DLLAZY_OR_NOW DL_LAZY 11207# else 11208# ifdef RTLD_NOW 11209# define LT_DLLAZY_OR_NOW RTLD_NOW 11210# else 11211# ifdef DL_NOW 11212# define LT_DLLAZY_OR_NOW DL_NOW 11213# else 11214# define LT_DLLAZY_OR_NOW 0 11215# endif 11216# endif 11217# endif 11218# endif 11219#endif 11220 11221/* When -fvisbility=hidden is used, assume the code has been annotated 11222 correspondingly for the symbols needed. */ 11223#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11224int fnord () __attribute__((visibility("default"))); 11225#endif 11226 11227int fnord () { return 42; } 11228int main () 11229{ 11230 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11231 int status = $lt_dlunknown; 11232 11233 if (self) 11234 { 11235 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11236 else 11237 { 11238 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11239 else puts (dlerror ()); 11240 } 11241 /* dlclose (self); */ 11242 } 11243 else 11244 puts (dlerror ()); 11245 11246 return status; 11247} 11248_LT_EOF 11249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11250 (eval $ac_link) 2>&5 11251 ac_status=$? 11252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11253 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11254 (./conftest; exit; ) >&5 2>/dev/null 11255 lt_status=$? 11256 case x$lt_status in 11257 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11258 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11259 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11260 esac 11261 else : 11262 # compilation failed 11263 lt_cv_dlopen_self=no 11264 fi 11265fi 11266rm -fr conftest* 11267 11268 11269fi 11270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11271$as_echo "$lt_cv_dlopen_self" >&6; } 11272 11273 if test "x$lt_cv_dlopen_self" = xyes; then 11274 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11276$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11277if ${lt_cv_dlopen_self_static+:} false; then : 11278 $as_echo_n "(cached) " >&6 11279else 11280 if test "$cross_compiling" = yes; then : 11281 lt_cv_dlopen_self_static=cross 11282else 11283 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11284 lt_status=$lt_dlunknown 11285 cat > conftest.$ac_ext <<_LT_EOF 11286#line $LINENO "configure" 11287#include "confdefs.h" 11288 11289#if HAVE_DLFCN_H 11290#include <dlfcn.h> 11291#endif 11292 11293#include <stdio.h> 11294 11295#ifdef RTLD_GLOBAL 11296# define LT_DLGLOBAL RTLD_GLOBAL 11297#else 11298# ifdef DL_GLOBAL 11299# define LT_DLGLOBAL DL_GLOBAL 11300# else 11301# define LT_DLGLOBAL 0 11302# endif 11303#endif 11304 11305/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11306 find out it does not work in some platform. */ 11307#ifndef LT_DLLAZY_OR_NOW 11308# ifdef RTLD_LAZY 11309# define LT_DLLAZY_OR_NOW RTLD_LAZY 11310# else 11311# ifdef DL_LAZY 11312# define LT_DLLAZY_OR_NOW DL_LAZY 11313# else 11314# ifdef RTLD_NOW 11315# define LT_DLLAZY_OR_NOW RTLD_NOW 11316# else 11317# ifdef DL_NOW 11318# define LT_DLLAZY_OR_NOW DL_NOW 11319# else 11320# define LT_DLLAZY_OR_NOW 0 11321# endif 11322# endif 11323# endif 11324# endif 11325#endif 11326 11327/* When -fvisbility=hidden is used, assume the code has been annotated 11328 correspondingly for the symbols needed. */ 11329#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11330int fnord () __attribute__((visibility("default"))); 11331#endif 11332 11333int fnord () { return 42; } 11334int main () 11335{ 11336 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11337 int status = $lt_dlunknown; 11338 11339 if (self) 11340 { 11341 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11342 else 11343 { 11344 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11345 else puts (dlerror ()); 11346 } 11347 /* dlclose (self); */ 11348 } 11349 else 11350 puts (dlerror ()); 11351 11352 return status; 11353} 11354_LT_EOF 11355 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11356 (eval $ac_link) 2>&5 11357 ac_status=$? 11358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11359 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11360 (./conftest; exit; ) >&5 2>/dev/null 11361 lt_status=$? 11362 case x$lt_status in 11363 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11364 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11365 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11366 esac 11367 else : 11368 # compilation failed 11369 lt_cv_dlopen_self_static=no 11370 fi 11371fi 11372rm -fr conftest* 11373 11374 11375fi 11376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11377$as_echo "$lt_cv_dlopen_self_static" >&6; } 11378 fi 11379 11380 CPPFLAGS="$save_CPPFLAGS" 11381 LDFLAGS="$save_LDFLAGS" 11382 LIBS="$save_LIBS" 11383 ;; 11384 esac 11385 11386 case $lt_cv_dlopen_self in 11387 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11388 *) enable_dlopen_self=unknown ;; 11389 esac 11390 11391 case $lt_cv_dlopen_self_static in 11392 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11393 *) enable_dlopen_self_static=unknown ;; 11394 esac 11395fi 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413striplib= 11414old_striplib= 11415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11416$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11417if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11418 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11419 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11421$as_echo "yes" >&6; } 11422else 11423# FIXME - insert some real tests, host_os isn't really good enough 11424 case $host_os in 11425 darwin*) 11426 if test -n "$STRIP" ; then 11427 striplib="$STRIP -x" 11428 old_striplib="$STRIP -S" 11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11430$as_echo "yes" >&6; } 11431 else 11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11433$as_echo "no" >&6; } 11434 fi 11435 ;; 11436 *) 11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11438$as_echo "no" >&6; } 11439 ;; 11440 esac 11441fi 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 # Report which library types will actually be built 11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11456$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11458$as_echo "$can_build_shared" >&6; } 11459 11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11461$as_echo_n "checking whether to build shared libraries... " >&6; } 11462 test "$can_build_shared" = "no" && enable_shared=no 11463 11464 # On AIX, shared libraries and static libraries use the same namespace, and 11465 # are all built from PIC. 11466 case $host_os in 11467 aix3*) 11468 test "$enable_shared" = yes && enable_static=no 11469 if test -n "$RANLIB"; then 11470 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11471 postinstall_cmds='$RANLIB $lib' 11472 fi 11473 ;; 11474 11475 aix[4-9]*) 11476 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11477 test "$enable_shared" = yes && enable_static=no 11478 fi 11479 ;; 11480 esac 11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11482$as_echo "$enable_shared" >&6; } 11483 11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11485$as_echo_n "checking whether to build static libraries... " >&6; } 11486 # Make sure either enable_shared or enable_static is yes. 11487 test "$enable_shared" = yes || enable_static=yes 11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11489$as_echo "$enable_static" >&6; } 11490 11491 11492 11493 11494fi 11495ac_ext=c 11496ac_cpp='$CPP $CPPFLAGS' 11497ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11498ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11499ac_compiler_gnu=$ac_cv_c_compiler_gnu 11500 11501CC="$lt_save_CC" 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 ac_config_commands="$ac_config_commands libtool" 11518 11519 11520 11521 11522# Only expand once: 11523 11524 11525 11526# Check whether --enable-compile-warnings was given. 11527if test "${enable_compile_warnings+set}" = set; then : 11528 enableval=$enable_compile_warnings; 11529else 11530 enable_compile_warnings=minimum 11531fi 11532 11533 11534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 11535$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; } 11536warnCFLAGS= 11537if test "x$GCC" != xyes; then 11538 enable_compile_warnings=no 11539fi 11540if test "x$enable_compile_warnings" != "xno"; then 11541 if test "x$GCC" = "xyes"; then 11542 case " $CFLAGS " in 11543 *\ \ -Wall\ \ *) ;; 11544 *) warnCFLAGS="-Wall -Wunused" ;; 11545 esac 11546 11547 ## -W is not all that useful. And it cannot be controlled 11548 ## with individual -Wno-xxx flags, unlike -Wall 11549 if test "x$enable_compile_warnings" = "xyes"; then 11550 warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith" 11551 fi 11552 fi 11553fi 11554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $warnCFLAGS" >&5 11555$as_echo "$warnCFLAGS" >&6; } 11556 11557# Check whether --enable-iso-c was given. 11558if test "${enable_iso_c+set}" = set; then : 11559 enableval=$enable_iso_c; 11560else 11561 enable_iso_c=no 11562fi 11563 11564 11565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5 11566$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; } 11567complCFLAGS= 11568if test "x$enable_iso_c" != "xno"; then 11569 if test "x$GCC" = "xyes"; then 11570 case " $CFLAGS " in 11571 *\ \ -ansi\ \ *) ;; 11572 *) complCFLAGS="$complCFLAGS -ansi" ;; 11573 esac 11574 11575 case " $CFLAGS " in 11576 *\ \ -pedantic\ \ *) ;; 11577 *) complCFLAGS="$complCFLAGS -pedantic" ;; 11578 esac 11579 fi 11580fi 11581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5 11582$as_echo "$complCFLAGS" >&6; } 11583if test "x$cflags_set" != "xyes"; then 11584 CFLAGS="$CFLAGS $warnCFLAGS $complCFLAGS" 11585 cflags_set=yes 11586 11587fi 11588 11589 11590 11591# Check whether --with-imagemagick was given. 11592if test "${with_imagemagick+set}" = set; then : 11593 withval=$with_imagemagick; IMAGEMAGICK=$withval 11594else 11595 IMAGEMAGICK='yes' 11596fi 11597 11598if test x"$IMAGEMAGICK" != xno ; then 11599 # Extract the first word of "Magick-config", so it can be a program name with args. 11600set dummy Magick-config; ac_word=$2 11601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11602$as_echo_n "checking for $ac_word... " >&6; } 11603if ${ac_cv_prog_IMAGEMAGICK+:} false; then : 11604 $as_echo_n "(cached) " >&6 11605else 11606 if test -n "$IMAGEMAGICK"; then 11607 ac_cv_prog_IMAGEMAGICK="$IMAGEMAGICK" # Let the user override the test. 11608else 11609as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11610for as_dir in $PATH 11611do 11612 IFS=$as_save_IFS 11613 test -z "$as_dir" && as_dir=. 11614 for ac_exec_ext in '' $ac_executable_extensions; do 11615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11616 ac_cv_prog_IMAGEMAGICK="yes" 11617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11618 break 2 11619 fi 11620done 11621 done 11622IFS=$as_save_IFS 11623 11624 test -z "$ac_cv_prog_IMAGEMAGICK" && ac_cv_prog_IMAGEMAGICK="no" 11625fi 11626fi 11627IMAGEMAGICK=$ac_cv_prog_IMAGEMAGICK 11628if test -n "$IMAGEMAGICK"; then 11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK" >&5 11630$as_echo "$IMAGEMAGICK" >&6; } 11631else 11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11633$as_echo "no" >&6; } 11634fi 11635 11636 11637 if test x"$IMAGEMAGICK" != xno ; then 11638 CFLAGS_OLD="$CFLAGS" 11639 CPPFLAGS_OLD="$CPPFLAGS" 11640 LDFLAGS_OLD="$LDFLAGS" 11641 LIBS_OLD="$LIBS" 11642 CFLAGS="$CFLAGS `Magick-config --cflags`" 11643 CPPFLAGS="$CPPFLAGS `Magick-config --cppflags`" 11644 LDFLAGS="$LDFLAGS `Magick-config --ldflags`" 11645 LIBS="$LIBS `Magick-config --libs`" 11646 11647 11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GetMagickInfo works and which API to use" >&5 11649$as_echo_n "checking whether GetMagickInfo works and which API to use... " >&6; } 11650 if test "$cross_compiling" = yes; then : 11651 IMAGEMAGICK=no 11652else 11653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11654/* end confdefs.h. */ 11655 #include <stdio.h> 11656 #include <stdlib.h> 11657 #include <time.h> 11658 #include <magick/api.h> 11659 int main(void) { 11660 unsigned long number_formats; 11661 ExceptionInfo exception; 11662 GetExceptionInfo(&exception); 11663 OpenModules(&exception); 11664 GetMagickInfoList("*",&number_formats,&exception); 11665 return number_formats == 0; } 11666_ACEOF 11667if ac_fn_c_try_run "$LINENO"; then : 11668 IMAGEMAGICK=4 11669else 11670 IMAGEMAGICK=no 11671fi 11672rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 11673 conftest.$ac_objext conftest.beam conftest.$ac_ext 11674fi 11675 11676 if test x"$IMAGEMAGICK" = xno ; then 11677 if test "$cross_compiling" = yes; then : 11678 IMAGEMAGICK=no 11679else 11680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11681/* end confdefs.h. */ 11682 #include <stdio.h> 11683 #include <stdlib.h> 11684 #include <time.h> 11685 #include <magick/api.h> 11686 int main(void) { 11687 unsigned long number_formats; 11688 ExceptionInfo exception; 11689 GetExceptionInfo(&exception); 11690 OpenModules(&exception); 11691 GetMagickInfoList("*",&number_formats); 11692 return number_formats == 0; } 11693_ACEOF 11694if ac_fn_c_try_run "$LINENO"; then : 11695 IMAGEMAGICK=3 11696else 11697 IMAGEMAGICK=no 11698fi 11699rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 11700 conftest.$ac_objext conftest.beam conftest.$ac_ext 11701fi 11702 11703 fi 11704 if test x"$IMAGEMAGICK" = xno ; then 11705 if test "$cross_compiling" = yes; then : 11706 IMAGEMAGICK=no 11707else 11708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11709/* end confdefs.h. */ 11710 #include <stdio.h> 11711 #include <stdlib.h> 11712 #include <time.h> 11713 #include <magick/api.h> 11714 int main(void) { ExceptionInfo exception; 11715 GetExceptionInfo(&exception); 11716 OpenModules(&exception); 11717 return (NULL == GetMagickInfo(NULL,&exception)); } 11718_ACEOF 11719if ac_fn_c_try_run "$LINENO"; then : 11720 IMAGEMAGICK=2 11721else 11722 IMAGEMAGICK=no 11723fi 11724rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 11725 conftest.$ac_objext conftest.beam conftest.$ac_ext 11726fi 11727 11728 fi 11729 if test x"$IMAGEMAGICK" = xno ; then 11730 if test "$cross_compiling" = yes; then : 11731 IMAGEMAGICK=no 11732else 11733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11734/* end confdefs.h. */ 11735 #include <magick/magick.h> 11736 int main(void) { ExceptionInfo exception; 11737 GetExceptionInfo(&exception); 11738 OpenModules(&exception); 11739 return (NULL == GetMagickInfo(NULL,&exception)); } 11740_ACEOF 11741if ac_fn_c_try_run "$LINENO"; then : 11742 IMAGEMAGICK=1 11743else 11744 IMAGEMAGICK=no 11745fi 11746rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 11747 conftest.$ac_objext conftest.beam conftest.$ac_ext 11748fi 11749 11750 fi 11751 if test x"$IMAGEMAGICK" = xno ; then 11752 # 100 equals GraphicsMagick 11753 if test "$cross_compiling" = yes; then : 11754 IMAGEMAGICK=no 11755else 11756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11757/* end confdefs.h. */ 11758 #include <magick/api.h> 11759 int main(void) { 11760 MagickInfo **formats; 11761 ExceptionInfo exception; 11762 InitializeMagick(NULL); 11763 GetExceptionInfo(&exception); 11764 return (NULL == GetMagickInfoArray(&exception)); } 11765_ACEOF 11766if ac_fn_c_try_run "$LINENO"; then : 11767 IMAGEMAGICK=100 11768else 11769 IMAGEMAGICK=no 11770fi 11771rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 11772 conftest.$ac_objext conftest.beam conftest.$ac_ext 11773fi 11774 11775 fi 11776 11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Version $IMAGEMAGICK\"" >&5 11778$as_echo "\"Version $IMAGEMAGICK\"" >&6; } 11779 LDFLAGS="$LDFLAGS_OLD" 11780 LIBS="$LIBS_OLD" 11781 if test x"$IMAGEMAGICK" = xno ; then 11782 CFLAGS="$CFLAGS_OLD" 11783 CPPFLAGS="$CPPFLAGS_OLD" 11784 fi 11785 fi 11786fi 11787if test x"$IMAGEMAGICK" != xno ; then 11788 LIB_MAGICK="`Magick-config --libs` `Magick-config --ldflags`" 11789 11790$as_echo "#define IMAGEMAGICK 1 " >>confdefs.h 11791 11792 11793cat >>confdefs.h <<_ACEOF 11794#define IMAGEMAGICK_API $IMAGEMAGICK 11795_ACEOF 11796 11797else 11798 LIB_MAGICK= 11799fi 11800 11801 11802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 11803$as_echo_n "checking for ANSI C header files... " >&6; } 11804if ${ac_cv_header_stdc+:} false; then : 11805 $as_echo_n "(cached) " >&6 11806else 11807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11808/* end confdefs.h. */ 11809#include <stdlib.h> 11810#include <stdarg.h> 11811#include <string.h> 11812#include <float.h> 11813 11814int 11815main () 11816{ 11817 11818 ; 11819 return 0; 11820} 11821_ACEOF 11822if ac_fn_c_try_compile "$LINENO"; then : 11823 ac_cv_header_stdc=yes 11824else 11825 ac_cv_header_stdc=no 11826fi 11827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11828 11829if test $ac_cv_header_stdc = yes; then 11830 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 11831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11832/* end confdefs.h. */ 11833#include <string.h> 11834 11835_ACEOF 11836if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11837 $EGREP "memchr" >/dev/null 2>&1; then : 11838 11839else 11840 ac_cv_header_stdc=no 11841fi 11842rm -f conftest* 11843 11844fi 11845 11846if test $ac_cv_header_stdc = yes; then 11847 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 11848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11849/* end confdefs.h. */ 11850#include <stdlib.h> 11851 11852_ACEOF 11853if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11854 $EGREP "free" >/dev/null 2>&1; then : 11855 11856else 11857 ac_cv_header_stdc=no 11858fi 11859rm -f conftest* 11860 11861fi 11862 11863if test $ac_cv_header_stdc = yes; then 11864 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 11865 if test "$cross_compiling" = yes; then : 11866 : 11867else 11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11869/* end confdefs.h. */ 11870#include <ctype.h> 11871#include <stdlib.h> 11872#if ((' ' & 0x0FF) == 0x020) 11873# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 11874# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 11875#else 11876# define ISLOWER(c) \ 11877 (('a' <= (c) && (c) <= 'i') \ 11878 || ('j' <= (c) && (c) <= 'r') \ 11879 || ('s' <= (c) && (c) <= 'z')) 11880# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 11881#endif 11882 11883#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 11884int 11885main () 11886{ 11887 int i; 11888 for (i = 0; i < 256; i++) 11889 if (XOR (islower (i), ISLOWER (i)) 11890 || toupper (i) != TOUPPER (i)) 11891 return 2; 11892 return 0; 11893} 11894_ACEOF 11895if ac_fn_c_try_run "$LINENO"; then : 11896 11897else 11898 ac_cv_header_stdc=no 11899fi 11900rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 11901 conftest.$ac_objext conftest.beam conftest.$ac_ext 11902fi 11903 11904fi 11905fi 11906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 11907$as_echo "$ac_cv_header_stdc" >&6; } 11908if test $ac_cv_header_stdc = yes; then 11909 11910$as_echo "#define STDC_HEADERS 1" >>confdefs.h 11911 11912fi 11913 11914for ac_header in unistd.h 11915do : 11916 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 11917if test "x$ac_cv_header_unistd_h" = xyes; then : 11918 cat >>confdefs.h <<_ACEOF 11919#define HAVE_UNISTD_H 1 11920_ACEOF 11921 11922fi 11923 11924done 11925 11926 11927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 11928$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 11929if ${ac_cv_c_const+:} false; then : 11930 $as_echo_n "(cached) " >&6 11931else 11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11933/* end confdefs.h. */ 11934 11935int 11936main () 11937{ 11938 11939#ifndef __cplusplus 11940 /* Ultrix mips cc rejects this sort of thing. */ 11941 typedef int charset[2]; 11942 const charset cs = { 0, 0 }; 11943 /* SunOS 4.1.1 cc rejects this. */ 11944 char const *const *pcpcc; 11945 char **ppc; 11946 /* NEC SVR4.0.2 mips cc rejects this. */ 11947 struct point {int x, y;}; 11948 static struct point const zero = {0,0}; 11949 /* AIX XL C 1.02.0.0 rejects this. 11950 It does not let you subtract one const X* pointer from another in 11951 an arm of an if-expression whose if-part is not a constant 11952 expression */ 11953 const char *g = "string"; 11954 pcpcc = &g + (g ? g-g : 0); 11955 /* HPUX 7.0 cc rejects these. */ 11956 ++pcpcc; 11957 ppc = (char**) pcpcc; 11958 pcpcc = (char const *const *) ppc; 11959 { /* SCO 3.2v4 cc rejects this sort of thing. */ 11960 char tx; 11961 char *t = &tx; 11962 char const *s = 0 ? (char *) 0 : (char const *) 0; 11963 11964 *t++ = 0; 11965 if (s) return 0; 11966 } 11967 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 11968 int x[] = {25, 17}; 11969 const int *foo = &x[0]; 11970 ++foo; 11971 } 11972 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 11973 typedef const int *iptr; 11974 iptr p = 0; 11975 ++p; 11976 } 11977 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 11978 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 11979 struct s { int j; const int *ap[3]; } bx; 11980 struct s *b = &bx; b->j = 5; 11981 } 11982 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 11983 const int foo = 10; 11984 if (!foo) return 0; 11985 } 11986 return !cs[0] && !zero.x; 11987#endif 11988 11989 ; 11990 return 0; 11991} 11992_ACEOF 11993if ac_fn_c_try_compile "$LINENO"; then : 11994 ac_cv_c_const=yes 11995else 11996 ac_cv_c_const=no 11997fi 11998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11999fi 12000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 12001$as_echo "$ac_cv_c_const" >&6; } 12002if test $ac_cv_c_const = no; then 12003 12004$as_echo "#define const /**/" >>confdefs.h 12005 12006fi 12007 12008ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 12009if test "x$ac_cv_type_size_t" = xyes; then : 12010 12011else 12012 12013cat >>confdefs.h <<_ACEOF 12014#define size_t unsigned int 12015_ACEOF 12016 12017fi 12018 12019 12020 12021# The cast to long int works around a bug in the HP C Compiler 12022# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12023# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12024# This bug is HP SR number 8606223364. 12025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5 12026$as_echo_n "checking size of char... " >&6; } 12027if ${ac_cv_sizeof_char+:} false; then : 12028 $as_echo_n "(cached) " >&6 12029else 12030 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then : 12031 12032else 12033 if test "$ac_cv_type_char" = yes; then 12034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12035$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12036as_fn_error 77 "cannot compute sizeof (char) 12037See \`config.log' for more details" "$LINENO" 5; } 12038 else 12039 ac_cv_sizeof_char=0 12040 fi 12041fi 12042 12043fi 12044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5 12045$as_echo "$ac_cv_sizeof_char" >&6; } 12046 12047 12048 12049cat >>confdefs.h <<_ACEOF 12050#define SIZEOF_CHAR $ac_cv_sizeof_char 12051_ACEOF 12052 12053 12054# The cast to long int works around a bug in the HP C Compiler 12055# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12056# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12057# This bug is HP SR number 8606223364. 12058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 12059$as_echo_n "checking size of short... " >&6; } 12060if ${ac_cv_sizeof_short+:} false; then : 12061 $as_echo_n "(cached) " >&6 12062else 12063 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : 12064 12065else 12066 if test "$ac_cv_type_short" = yes; then 12067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12068$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12069as_fn_error 77 "cannot compute sizeof (short) 12070See \`config.log' for more details" "$LINENO" 5; } 12071 else 12072 ac_cv_sizeof_short=0 12073 fi 12074fi 12075 12076fi 12077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 12078$as_echo "$ac_cv_sizeof_short" >&6; } 12079 12080 12081 12082cat >>confdefs.h <<_ACEOF 12083#define SIZEOF_SHORT $ac_cv_sizeof_short 12084_ACEOF 12085 12086 12087# The cast to long int works around a bug in the HP C Compiler 12088# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12089# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12090# This bug is HP SR number 8606223364. 12091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 12092$as_echo_n "checking size of int... " >&6; } 12093if ${ac_cv_sizeof_int+:} false; then : 12094 $as_echo_n "(cached) " >&6 12095else 12096 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 12097 12098else 12099 if test "$ac_cv_type_int" = yes; then 12100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12101$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12102as_fn_error 77 "cannot compute sizeof (int) 12103See \`config.log' for more details" "$LINENO" 5; } 12104 else 12105 ac_cv_sizeof_int=0 12106 fi 12107fi 12108 12109fi 12110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 12111$as_echo "$ac_cv_sizeof_int" >&6; } 12112 12113 12114 12115cat >>confdefs.h <<_ACEOF 12116#define SIZEOF_INT $ac_cv_sizeof_int 12117_ACEOF 12118 12119 12120# The cast to long int works around a bug in the HP C Compiler 12121# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12122# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12123# This bug is HP SR number 8606223364. 12124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 12125$as_echo_n "checking size of long... " >&6; } 12126if ${ac_cv_sizeof_long+:} false; then : 12127 $as_echo_n "(cached) " >&6 12128else 12129 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 12130 12131else 12132 if test "$ac_cv_type_long" = yes; then 12133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12134$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12135as_fn_error 77 "cannot compute sizeof (long) 12136See \`config.log' for more details" "$LINENO" 5; } 12137 else 12138 ac_cv_sizeof_long=0 12139 fi 12140fi 12141 12142fi 12143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 12144$as_echo "$ac_cv_sizeof_long" >&6; } 12145 12146 12147 12148cat >>confdefs.h <<_ACEOF 12149#define SIZEOF_LONG $ac_cv_sizeof_long 12150_ACEOF 12151 12152 12153 12154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an 8 bit integer type" >&5 12155$as_echo_n "checking for an 8 bit integer type... " >&6; } 12156if test $ac_cv_sizeof_char -ge 1 ; then 12157 INT_8_BIT=char 12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: char" >&5 12159$as_echo "char" >&6; } 12160elif test $ac_cv_sizeof_short -ge 1 ; then 12161 INT_8_BIT=short 12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: short" >&5 12163$as_echo "short" >&6; } 12164elif test $ac_cv_sizeof_int -ge 1 ; then 12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int" >&5 12166$as_echo "int" >&6; } 12167elif test $ac_cv_sizeof_long -ge 1 ; then 12168 INT_8_BIT=long 12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: long" >&5 12170$as_echo "long" >&6; } 12171else 12172 as_fn_error $? "No integer type of at least 8 bits found" "$LINENO" 5 12173fi 12174 12175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a 16 bit integer type" >&5 12176$as_echo_n "checking for a 16 bit integer type... " >&6; } 12177if test $ac_cv_sizeof_char -ge 2 ; then 12178 INT_16_BIT=char 12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: char" >&5 12180$as_echo "char" >&6; } 12181elif test $ac_cv_sizeof_short -ge 2 ; then 12182 INT_16_BIT=short 12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: short" >&5 12184$as_echo "short" >&6; } 12185elif test $ac_cv_sizeof_int -ge 2 ; then 12186 INT_16_BIT=int 12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int" >&5 12188$as_echo "int" >&6; } 12189elif test $ac_cv_sizeof_long -ge 2 ; then 12190 INT_16_BIT=long 12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: long" >&5 12192$as_echo "long" >&6; } 12193else 12194 as_fn_error $? "No integer type of at least 16 bits found" "$LINENO" 5 12195fi 12196 12197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a 32 bit integer type" >&5 12198$as_echo_n "checking for a 32 bit integer type... " >&6; } 12199if test $ac_cv_sizeof_char -ge 4 ; then 12200 INT_32_BIT=char 12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: char" >&5 12202$as_echo "char" >&6; } 12203elif test $ac_cv_sizeof_short -ge 4 ; then 12204 INT_32_BIT=short 12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: short" >&5 12206$as_echo "short" >&6; } 12207elif test $ac_cv_sizeof_int -ge 4 ; then 12208 INT_32_BIT=int 12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int" >&5 12210$as_echo "int" >&6; } 12211elif test $ac_cv_sizeof_long -ge 4 ; then 12212 INT_32_BIT=long 12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: long" >&5 12214$as_echo "long" >&6; } 12215else 12216 as_fn_error $? "No integer type of at least 32 bits found" "$LINENO" 5 12217fi 12218 12219 12220 12221 12222 12223for ac_func in vprintf 12224do : 12225 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 12226if test "x$ac_cv_func_vprintf" = xyes; then : 12227 cat >>confdefs.h <<_ACEOF 12228#define HAVE_VPRINTF 1 12229_ACEOF 12230 12231ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 12232if test "x$ac_cv_func__doprnt" = xyes; then : 12233 12234$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 12235 12236fi 12237 12238fi 12239done 12240 12241 12242ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup" 12243if test "x$ac_cv_func_strdup" = xyes; then : 12244 $as_echo "#define HAVE_STRDUP 1" >>confdefs.h 12245 12246else 12247 case " $LIBOBJS " in 12248 *" strdup.$ac_objext "* ) ;; 12249 *) LIBOBJS="$LIBOBJS strdup.$ac_objext" 12250 ;; 12251esac 12252 12253fi 12254 12255 12256ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long" 12257if test "x$ac_cv_func_getopt_long" = xyes; then : 12258 getopt=yes 12259else 12260 getopt=no 12261fi 12262 12263if test $getopt = no; then 12264 case " $LIBOBJS " in 12265 *" getopt.$ac_objext "* ) ;; 12266 *) LIBOBJS="$LIBOBJS getopt.$ac_objext" 12267 ;; 12268esac 12269 12270 case " $LIBOBJS " in 12271 *" getopt1.$ac_objext "* ) ;; 12272 *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" 12273 ;; 12274esac 12275 12276fi 12277 12278# Check whether --enable-dmalloc was given. 12279if test "${enable_dmalloc+set}" = set; then : 12280 enableval=$enable_dmalloc; case "${enableval}" in 12281 yes) dmalloc=yes ;; 12282 no) dmalloc=no ;; 12283 *) as_fn_error $? "bad value ${enableval} for --enable-dmalloc" "$LINENO" 5 ;; 12284esac 12285else 12286 dmalloc=false 12287fi 12288 12289if test x"$dmalloc" = xyes; then 12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -ldmalloc" >&5 12291$as_echo_n "checking for malloc in -ldmalloc... " >&6; } 12292if ${ac_cv_lib_dmalloc_malloc+:} false; then : 12293 $as_echo_n "(cached) " >&6 12294else 12295 ac_check_lib_save_LIBS=$LIBS 12296LIBS="-ldmalloc $LIBS" 12297cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12298/* end confdefs.h. */ 12299 12300/* Override any GCC internal prototype to avoid an error. 12301 Use char because int might match the return type of a GCC 12302 builtin and then its argument prototype would still apply. */ 12303#ifdef __cplusplus 12304extern "C" 12305#endif 12306char malloc (); 12307int 12308main () 12309{ 12310return malloc (); 12311 ; 12312 return 0; 12313} 12314_ACEOF 12315if ac_fn_c_try_link "$LINENO"; then : 12316 ac_cv_lib_dmalloc_malloc=yes 12317else 12318 ac_cv_lib_dmalloc_malloc=no 12319fi 12320rm -f core conftest.err conftest.$ac_objext \ 12321 conftest$ac_exeext conftest.$ac_ext 12322LIBS=$ac_check_lib_save_LIBS 12323fi 12324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dmalloc_malloc" >&5 12325$as_echo "$ac_cv_lib_dmalloc_malloc" >&6; } 12326if test "x$ac_cv_lib_dmalloc_malloc" = xyes; then : 12327 dmalloc=yes 12328else 12329 dmalloc=no 12330fi 12331 12332fi 12333if test x"$dmalloc" = xyes; then 12334ac_fn_c_check_header_mongrel "$LINENO" "dmalloc.h" "ac_cv_header_dmalloc_h" "$ac_includes_default" 12335if test "x$ac_cv_header_dmalloc_h" = xyes; then : 12336 dmalloc=yes 12337else 12338 dmalloc=no 12339fi 12340 12341 12342fi 12343if test x"$dmalloc" = xyes ; then 12344 LIB_DMALLOC=-ldmalloc 12345 12346$as_echo "#define DMALLOC 1" >>confdefs.h 12347 12348else 12349 LIB_DMALLOC= 12350fi 12351 12352 12353# Check whether --enable-xhtml-docs was given. 12354if test "${enable_xhtml_docs+set}" = set; then : 12355 enableval=$enable_xhtml_docs; case "${enableval}" in 12356 yes) xhtmldocs=true ;; 12357 no) xhtmldocs=false ;; 12358 *) as_fn_error $? "bad value ${enableval} for --enable-xhtml-docs" "$LINENO" 5 ;; 12359esac 12360else 12361 xhtmldocs=true 12362fi 12363 12364 if test x$xhtmldocs = xtrue; then 12365 XHTMLDOCS_TRUE= 12366 XHTMLDOCS_FALSE='#' 12367else 12368 XHTMLDOCS_TRUE='#' 12369 XHTMLDOCS_FALSE= 12370fi 12371 12372 12373# Check whether --enable-html4-docs was given. 12374if test "${enable_html4_docs+set}" = set; then : 12375 enableval=$enable_html4_docs; case "${enableval}" in 12376 yes) html4docs=true ;; 12377 no) html4docs=false ;; 12378 *) as_fn_error $? "bad value ${enableval} for --enable-html4-docs" "$LINENO" 5 ;; 12379esac 12380else 12381 html4docs=false 12382fi 12383 12384 if test x$html4docs = xtrue; then 12385 HTML4DOCS_TRUE= 12386 HTML4DOCS_FALSE='#' 12387else 12388 HTML4DOCS_TRUE='#' 12389 HTML4DOCS_FALSE= 12390fi 12391 12392 12393# Check whether --enable-ascii-docs was given. 12394if test "${enable_ascii_docs+set}" = set; then : 12395 enableval=$enable_ascii_docs; case "${enableval}" in 12396 yes) asciidocs=true ;; 12397 no) asciidocs=false ;; 12398 *) as_fn_error $? "bad value ${enableval} for --enable-ascii-docs" "$LINENO" 5 ;; 12399esac 12400else 12401 asciidocs=false 12402fi 12403 12404 if test x$asciidocs = xtrue; then 12405 ASCIIDOCS_TRUE= 12406 ASCIIDOCS_FALSE='#' 12407else 12408 ASCIIDOCS_TRUE='#' 12409 ASCIIDOCS_FALSE= 12410fi 12411 12412 12413 12414# Check whether --with-etcdir was given. 12415if test "${with_etcdir+set}" = set; then : 12416 withval=$with_etcdir; PSICONVETCDIR=${withval} 12417else 12418 PSICONVETCDIR=${sysconfdir}/psiconv 12419fi 12420 12421 12422 12423 12424# Check whether --with-imagemagick was given. 12425if test "${with_imagemagick+set}" = set; then : 12426 withval=$with_imagemagick; IMAGEMAGICK=$withval 12427else 12428 IMAGEMAGICK='yes' 12429fi 12430 12431 12432ac_config_files="$ac_config_files Makefile compat/Makefile lib/Makefile lib/psiconv/Makefile lib/psiconv/psiconv.conf.man program/Makefile program/psiconv/Makefile program/psiconv-config/Makefile program/psiconv-config/psiconv-config program/psiconv-config/psiconv-config.man lib/psiconv/general.h formats/Makefile docs/Makefile program/extra/Makefile etc/Makefile examples/Makefile" 12433 12434cat >confcache <<\_ACEOF 12435# This file is a shell script that caches the results of configure 12436# tests run on this system so they can be shared between configure 12437# scripts and configure runs, see configure's option --config-cache. 12438# It is not useful on other systems. If it contains results you don't 12439# want to keep, you may remove or edit it. 12440# 12441# config.status only pays attention to the cache file if you give it 12442# the --recheck option to rerun configure. 12443# 12444# `ac_cv_env_foo' variables (set or unset) will be overridden when 12445# loading this file, other *unset* `ac_cv_foo' will be assigned the 12446# following values. 12447 12448_ACEOF 12449 12450# The following way of writing the cache mishandles newlines in values, 12451# but we know of no workaround that is simple, portable, and efficient. 12452# So, we kill variables containing newlines. 12453# Ultrix sh set writes to stderr and can't be redirected directly, 12454# and sets the high bit in the cache file unless we assign to the vars. 12455( 12456 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12457 eval ac_val=\$$ac_var 12458 case $ac_val in #( 12459 *${as_nl}*) 12460 case $ac_var in #( 12461 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12462$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12463 esac 12464 case $ac_var in #( 12465 _ | IFS | as_nl) ;; #( 12466 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12467 *) { eval $ac_var=; unset $ac_var;} ;; 12468 esac ;; 12469 esac 12470 done 12471 12472 (set) 2>&1 | 12473 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12474 *${as_nl}ac_space=\ *) 12475 # `set' does not quote correctly, so add quotes: double-quote 12476 # substitution turns \\\\ into \\, and sed turns \\ into \. 12477 sed -n \ 12478 "s/'/'\\\\''/g; 12479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12480 ;; #( 12481 *) 12482 # `set' quotes correctly as required by POSIX, so do not add quotes. 12483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12484 ;; 12485 esac | 12486 sort 12487) | 12488 sed ' 12489 /^ac_cv_env_/b end 12490 t clear 12491 :clear 12492 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12493 t end 12494 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12495 :end' >>confcache 12496if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12497 if test -w "$cache_file"; then 12498 if test "x$cache_file" != "x/dev/null"; then 12499 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12500$as_echo "$as_me: updating cache $cache_file" >&6;} 12501 if test ! -f "$cache_file" || test -h "$cache_file"; then 12502 cat confcache >"$cache_file" 12503 else 12504 case $cache_file in #( 12505 */* | ?:*) 12506 mv -f confcache "$cache_file"$$ && 12507 mv -f "$cache_file"$$ "$cache_file" ;; #( 12508 *) 12509 mv -f confcache "$cache_file" ;; 12510 esac 12511 fi 12512 fi 12513 else 12514 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12515$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12516 fi 12517fi 12518rm -f confcache 12519 12520test "x$prefix" = xNONE && prefix=$ac_default_prefix 12521# Let make expand exec_prefix. 12522test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12523 12524DEFS=-DHAVE_CONFIG_H 12525 12526ac_libobjs= 12527ac_ltlibobjs= 12528U= 12529for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12530 # 1. Remove the extension, and $U if already installed. 12531 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12532 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12533 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12534 # will be set to the directory where LIBOBJS objects are built. 12535 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12536 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12537done 12538LIBOBJS=$ac_libobjs 12539 12540LTLIBOBJS=$ac_ltlibobjs 12541 12542 12543 if test -n "$EXEEXT"; then 12544 am__EXEEXT_TRUE= 12545 am__EXEEXT_FALSE='#' 12546else 12547 am__EXEEXT_TRUE='#' 12548 am__EXEEXT_FALSE= 12549fi 12550 12551if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12552 as_fn_error $? "conditional \"AMDEP\" was never defined. 12553Usually this means the macro was only invoked conditionally." "$LINENO" 5 12554fi 12555if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12556 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12557Usually this means the macro was only invoked conditionally." "$LINENO" 5 12558fi 12559if test -z "${XHTMLDOCS_TRUE}" && test -z "${XHTMLDOCS_FALSE}"; then 12560 as_fn_error $? "conditional \"XHTMLDOCS\" was never defined. 12561Usually this means the macro was only invoked conditionally." "$LINENO" 5 12562fi 12563if test -z "${HTML4DOCS_TRUE}" && test -z "${HTML4DOCS_FALSE}"; then 12564 as_fn_error $? "conditional \"HTML4DOCS\" was never defined. 12565Usually this means the macro was only invoked conditionally." "$LINENO" 5 12566fi 12567if test -z "${ASCIIDOCS_TRUE}" && test -z "${ASCIIDOCS_FALSE}"; then 12568 as_fn_error $? "conditional \"ASCIIDOCS\" was never defined. 12569Usually this means the macro was only invoked conditionally." "$LINENO" 5 12570fi 12571 12572: "${CONFIG_STATUS=./config.status}" 12573ac_write_fail=0 12574ac_clean_files_save=$ac_clean_files 12575ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12576{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12577$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12578as_write_fail=0 12579cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12580#! $SHELL 12581# Generated by $as_me. 12582# Run this file to recreate the current configuration. 12583# Compiler output produced by configure, useful for debugging 12584# configure, is in config.log if it exists. 12585 12586debug=false 12587ac_cs_recheck=false 12588ac_cs_silent=false 12589 12590SHELL=\${CONFIG_SHELL-$SHELL} 12591export SHELL 12592_ASEOF 12593cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12594## -------------------- ## 12595## M4sh Initialization. ## 12596## -------------------- ## 12597 12598# Be more Bourne compatible 12599DUALCASE=1; export DUALCASE # for MKS sh 12600if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12601 emulate sh 12602 NULLCMD=: 12603 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12604 # is contrary to our usage. Disable this feature. 12605 alias -g '${1+"$@"}'='"$@"' 12606 setopt NO_GLOB_SUBST 12607else 12608 case `(set -o) 2>/dev/null` in #( 12609 *posix*) : 12610 set -o posix ;; #( 12611 *) : 12612 ;; 12613esac 12614fi 12615 12616 12617as_nl=' 12618' 12619export as_nl 12620# Printing a long string crashes Solaris 7 /usr/bin/printf. 12621as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12622as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12623as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12624# Prefer a ksh shell builtin over an external printf program on Solaris, 12625# but without wasting forks for bash or zsh. 12626if test -z "$BASH_VERSION$ZSH_VERSION" \ 12627 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12628 as_echo='print -r --' 12629 as_echo_n='print -rn --' 12630elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12631 as_echo='printf %s\n' 12632 as_echo_n='printf %s' 12633else 12634 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12635 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12636 as_echo_n='/usr/ucb/echo -n' 12637 else 12638 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12639 as_echo_n_body='eval 12640 arg=$1; 12641 case $arg in #( 12642 *"$as_nl"*) 12643 expr "X$arg" : "X\\(.*\\)$as_nl"; 12644 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12645 esac; 12646 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12647 ' 12648 export as_echo_n_body 12649 as_echo_n='sh -c $as_echo_n_body as_echo' 12650 fi 12651 export as_echo_body 12652 as_echo='sh -c $as_echo_body as_echo' 12653fi 12654 12655# The user is always right. 12656if test "${PATH_SEPARATOR+set}" != set; then 12657 PATH_SEPARATOR=: 12658 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12659 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12660 PATH_SEPARATOR=';' 12661 } 12662fi 12663 12664 12665# IFS 12666# We need space, tab and new line, in precisely that order. Quoting is 12667# there to prevent editors from complaining about space-tab. 12668# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12669# splitting by setting IFS to empty value.) 12670IFS=" "" $as_nl" 12671 12672# Find who we are. Look in the path if we contain no directory separator. 12673as_myself= 12674case $0 in #(( 12675 *[\\/]* ) as_myself=$0 ;; 12676 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12677for as_dir in $PATH 12678do 12679 IFS=$as_save_IFS 12680 test -z "$as_dir" && as_dir=. 12681 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12682 done 12683IFS=$as_save_IFS 12684 12685 ;; 12686esac 12687# We did not find ourselves, most probably we were run as `sh COMMAND' 12688# in which case we are not to be found in the path. 12689if test "x$as_myself" = x; then 12690 as_myself=$0 12691fi 12692if test ! -f "$as_myself"; then 12693 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12694 exit 1 12695fi 12696 12697# Unset variables that we do not need and which cause bugs (e.g. in 12698# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12699# suppresses any "Segmentation fault" message there. '((' could 12700# trigger a bug in pdksh 5.2.14. 12701for as_var in BASH_ENV ENV MAIL MAILPATH 12702do eval test x\${$as_var+set} = xset \ 12703 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12704done 12705PS1='$ ' 12706PS2='> ' 12707PS4='+ ' 12708 12709# NLS nuisances. 12710LC_ALL=C 12711export LC_ALL 12712LANGUAGE=C 12713export LANGUAGE 12714 12715# CDPATH. 12716(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12717 12718 12719# as_fn_error STATUS ERROR [LINENO LOG_FD] 12720# ---------------------------------------- 12721# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12722# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12723# script with STATUS, using 1 if that was 0. 12724as_fn_error () 12725{ 12726 as_status=$1; test $as_status -eq 0 && as_status=1 12727 if test "$4"; then 12728 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12729 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12730 fi 12731 $as_echo "$as_me: error: $2" >&2 12732 as_fn_exit $as_status 12733} # as_fn_error 12734 12735 12736# as_fn_set_status STATUS 12737# ----------------------- 12738# Set $? to STATUS, without forking. 12739as_fn_set_status () 12740{ 12741 return $1 12742} # as_fn_set_status 12743 12744# as_fn_exit STATUS 12745# ----------------- 12746# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12747as_fn_exit () 12748{ 12749 set +e 12750 as_fn_set_status $1 12751 exit $1 12752} # as_fn_exit 12753 12754# as_fn_unset VAR 12755# --------------- 12756# Portably unset VAR. 12757as_fn_unset () 12758{ 12759 { eval $1=; unset $1;} 12760} 12761as_unset=as_fn_unset 12762# as_fn_append VAR VALUE 12763# ---------------------- 12764# Append the text in VALUE to the end of the definition contained in VAR. Take 12765# advantage of any shell optimizations that allow amortized linear growth over 12766# repeated appends, instead of the typical quadratic growth present in naive 12767# implementations. 12768if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12769 eval 'as_fn_append () 12770 { 12771 eval $1+=\$2 12772 }' 12773else 12774 as_fn_append () 12775 { 12776 eval $1=\$$1\$2 12777 } 12778fi # as_fn_append 12779 12780# as_fn_arith ARG... 12781# ------------------ 12782# Perform arithmetic evaluation on the ARGs, and store the result in the 12783# global $as_val. Take advantage of shells that can avoid forks. The arguments 12784# must be portable across $(()) and expr. 12785if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12786 eval 'as_fn_arith () 12787 { 12788 as_val=$(( $* )) 12789 }' 12790else 12791 as_fn_arith () 12792 { 12793 as_val=`expr "$@" || test $? -eq 1` 12794 } 12795fi # as_fn_arith 12796 12797 12798if expr a : '\(a\)' >/dev/null 2>&1 && 12799 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12800 as_expr=expr 12801else 12802 as_expr=false 12803fi 12804 12805if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12806 as_basename=basename 12807else 12808 as_basename=false 12809fi 12810 12811if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12812 as_dirname=dirname 12813else 12814 as_dirname=false 12815fi 12816 12817as_me=`$as_basename -- "$0" || 12818$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12819 X"$0" : 'X\(//\)$' \| \ 12820 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12821$as_echo X/"$0" | 12822 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12823 s//\1/ 12824 q 12825 } 12826 /^X\/\(\/\/\)$/{ 12827 s//\1/ 12828 q 12829 } 12830 /^X\/\(\/\).*/{ 12831 s//\1/ 12832 q 12833 } 12834 s/.*/./; q'` 12835 12836# Avoid depending upon Character Ranges. 12837as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12838as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12839as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12840as_cr_digits='0123456789' 12841as_cr_alnum=$as_cr_Letters$as_cr_digits 12842 12843ECHO_C= ECHO_N= ECHO_T= 12844case `echo -n x` in #((((( 12845-n*) 12846 case `echo 'xy\c'` in 12847 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12848 xy) ECHO_C='\c';; 12849 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 12850 ECHO_T=' ';; 12851 esac;; 12852*) 12853 ECHO_N='-n';; 12854esac 12855 12856rm -f conf$$ conf$$.exe conf$$.file 12857if test -d conf$$.dir; then 12858 rm -f conf$$.dir/conf$$.file 12859else 12860 rm -f conf$$.dir 12861 mkdir conf$$.dir 2>/dev/null 12862fi 12863if (echo >conf$$.file) 2>/dev/null; then 12864 if ln -s conf$$.file conf$$ 2>/dev/null; then 12865 as_ln_s='ln -s' 12866 # ... but there are two gotchas: 12867 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12868 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12869 # In both cases, we have to default to `cp -pR'. 12870 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12871 as_ln_s='cp -pR' 12872 elif ln conf$$.file conf$$ 2>/dev/null; then 12873 as_ln_s=ln 12874 else 12875 as_ln_s='cp -pR' 12876 fi 12877else 12878 as_ln_s='cp -pR' 12879fi 12880rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12881rmdir conf$$.dir 2>/dev/null 12882 12883 12884# as_fn_mkdir_p 12885# ------------- 12886# Create "$as_dir" as a directory, including parents if necessary. 12887as_fn_mkdir_p () 12888{ 12889 12890 case $as_dir in #( 12891 -*) as_dir=./$as_dir;; 12892 esac 12893 test -d "$as_dir" || eval $as_mkdir_p || { 12894 as_dirs= 12895 while :; do 12896 case $as_dir in #( 12897 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12898 *) as_qdir=$as_dir;; 12899 esac 12900 as_dirs="'$as_qdir' $as_dirs" 12901 as_dir=`$as_dirname -- "$as_dir" || 12902$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12903 X"$as_dir" : 'X\(//\)[^/]' \| \ 12904 X"$as_dir" : 'X\(//\)$' \| \ 12905 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12906$as_echo X"$as_dir" | 12907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12908 s//\1/ 12909 q 12910 } 12911 /^X\(\/\/\)[^/].*/{ 12912 s//\1/ 12913 q 12914 } 12915 /^X\(\/\/\)$/{ 12916 s//\1/ 12917 q 12918 } 12919 /^X\(\/\).*/{ 12920 s//\1/ 12921 q 12922 } 12923 s/.*/./; q'` 12924 test -d "$as_dir" && break 12925 done 12926 test -z "$as_dirs" || eval "mkdir $as_dirs" 12927 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 12928 12929 12930} # as_fn_mkdir_p 12931if mkdir -p . 2>/dev/null; then 12932 as_mkdir_p='mkdir -p "$as_dir"' 12933else 12934 test -d ./-p && rmdir ./-p 12935 as_mkdir_p=false 12936fi 12937 12938 12939# as_fn_executable_p FILE 12940# ----------------------- 12941# Test if FILE is an executable regular file. 12942as_fn_executable_p () 12943{ 12944 test -f "$1" && test -x "$1" 12945} # as_fn_executable_p 12946as_test_x='test -x' 12947as_executable_p=as_fn_executable_p 12948 12949# Sed expression to map a string onto a valid CPP name. 12950as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12951 12952# Sed expression to map a string onto a valid variable name. 12953as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12954 12955 12956exec 6>&1 12957## ----------------------------------- ## 12958## Main body of $CONFIG_STATUS script. ## 12959## ----------------------------------- ## 12960_ASEOF 12961test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 12962 12963cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12964# Save the log message, to keep $0 and so on meaningful, and to 12965# report actual input values of CONFIG_FILES etc. instead of their 12966# values after options handling. 12967ac_log=" 12968This file was extended by $as_me, which was 12969generated by GNU Autoconf 2.69. Invocation command line was 12970 12971 CONFIG_FILES = $CONFIG_FILES 12972 CONFIG_HEADERS = $CONFIG_HEADERS 12973 CONFIG_LINKS = $CONFIG_LINKS 12974 CONFIG_COMMANDS = $CONFIG_COMMANDS 12975 $ $0 $@ 12976 12977on `(hostname || uname -n) 2>/dev/null | sed 1q` 12978" 12979 12980_ACEOF 12981 12982case $ac_config_files in *" 12983"*) set x $ac_config_files; shift; ac_config_files=$*;; 12984esac 12985 12986case $ac_config_headers in *" 12987"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 12988esac 12989 12990 12991cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12992# Files that config.status was made for. 12993config_files="$ac_config_files" 12994config_headers="$ac_config_headers" 12995config_commands="$ac_config_commands" 12996 12997_ACEOF 12998 12999cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13000ac_cs_usage="\ 13001\`$as_me' instantiates files and other configuration actions 13002from templates according to the current configuration. Unless the files 13003and actions are specified as TAGs, all are instantiated by default. 13004 13005Usage: $0 [OPTION]... [TAG]... 13006 13007 -h, --help print this help, then exit 13008 -V, --version print version number and configuration settings, then exit 13009 --config print configuration, then exit 13010 -q, --quiet, --silent 13011 do not print progress messages 13012 -d, --debug don't remove temporary files 13013 --recheck update $as_me by reconfiguring in the same conditions 13014 --file=FILE[:TEMPLATE] 13015 instantiate the configuration file FILE 13016 --header=FILE[:TEMPLATE] 13017 instantiate the configuration header FILE 13018 13019Configuration files: 13020$config_files 13021 13022Configuration headers: 13023$config_headers 13024 13025Configuration commands: 13026$config_commands 13027 13028Report bugs to the package provider." 13029 13030_ACEOF 13031cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13032ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13033ac_cs_version="\\ 13034config.status 13035configured by $0, generated by GNU Autoconf 2.69, 13036 with options \\"\$ac_cs_config\\" 13037 13038Copyright (C) 2012 Free Software Foundation, Inc. 13039This config.status script is free software; the Free Software Foundation 13040gives unlimited permission to copy, distribute and modify it." 13041 13042ac_pwd='$ac_pwd' 13043srcdir='$srcdir' 13044INSTALL='$INSTALL' 13045MKDIR_P='$MKDIR_P' 13046AWK='$AWK' 13047test -n "\$AWK" || AWK=awk 13048_ACEOF 13049 13050cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13051# The default lists apply if the user does not specify any file. 13052ac_need_defaults=: 13053while test $# != 0 13054do 13055 case $1 in 13056 --*=?*) 13057 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13058 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13059 ac_shift=: 13060 ;; 13061 --*=) 13062 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13063 ac_optarg= 13064 ac_shift=: 13065 ;; 13066 *) 13067 ac_option=$1 13068 ac_optarg=$2 13069 ac_shift=shift 13070 ;; 13071 esac 13072 13073 case $ac_option in 13074 # Handling of the options. 13075 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13076 ac_cs_recheck=: ;; 13077 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13078 $as_echo "$ac_cs_version"; exit ;; 13079 --config | --confi | --conf | --con | --co | --c ) 13080 $as_echo "$ac_cs_config"; exit ;; 13081 --debug | --debu | --deb | --de | --d | -d ) 13082 debug=: ;; 13083 --file | --fil | --fi | --f ) 13084 $ac_shift 13085 case $ac_optarg in 13086 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13087 '') as_fn_error $? "missing file argument" ;; 13088 esac 13089 as_fn_append CONFIG_FILES " '$ac_optarg'" 13090 ac_need_defaults=false;; 13091 --header | --heade | --head | --hea ) 13092 $ac_shift 13093 case $ac_optarg in 13094 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13095 esac 13096 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13097 ac_need_defaults=false;; 13098 --he | --h) 13099 # Conflict between --help and --header 13100 as_fn_error $? "ambiguous option: \`$1' 13101Try \`$0 --help' for more information.";; 13102 --help | --hel | -h ) 13103 $as_echo "$ac_cs_usage"; exit ;; 13104 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13105 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13106 ac_cs_silent=: ;; 13107 13108 # This is an error. 13109 -*) as_fn_error $? "unrecognized option: \`$1' 13110Try \`$0 --help' for more information." ;; 13111 13112 *) as_fn_append ac_config_targets " $1" 13113 ac_need_defaults=false ;; 13114 13115 esac 13116 shift 13117done 13118 13119ac_configure_extra_args= 13120 13121if $ac_cs_silent; then 13122 exec 6>/dev/null 13123 ac_configure_extra_args="$ac_configure_extra_args --silent" 13124fi 13125 13126_ACEOF 13127cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13128if \$ac_cs_recheck; then 13129 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13130 shift 13131 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13132 CONFIG_SHELL='$SHELL' 13133 export CONFIG_SHELL 13134 exec "\$@" 13135fi 13136 13137_ACEOF 13138cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13139exec 5>>config.log 13140{ 13141 echo 13142 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13143## Running $as_me. ## 13144_ASBOX 13145 $as_echo "$ac_log" 13146} >&5 13147 13148_ACEOF 13149cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13150# 13151# INIT-COMMANDS 13152# 13153AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 13154 13155 13156# The HP-UX ksh and POSIX shell print the target directory to stdout 13157# if CDPATH is set. 13158(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13159 13160sed_quote_subst='$sed_quote_subst' 13161double_quote_subst='$double_quote_subst' 13162delay_variable_subst='$delay_variable_subst' 13163macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13164macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13165enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13166enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13167pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13168enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13169SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13170ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13171PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13172host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13173host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13174host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13175build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13176build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13177build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13178SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13179Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13180GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13181EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13182FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13183LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13184NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13185LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13186max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13187ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13188exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13189lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13190lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13191lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13192lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13193lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13194reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13195reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13196OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13197deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13198file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13199file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13200want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13201DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13202sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13203AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13204AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13205archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13206STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13207RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13208old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13209old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13210old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13211lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13212CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13213CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13214compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13215GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13216lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13217lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13218lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13219lt_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"`' 13220nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13221lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13222objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13223MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13224lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13225lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13226lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13227lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13228lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13229need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13230MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13231DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13232NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13233LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13234OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13235OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 13236libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 13237shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 13238extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13239archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 13240enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 13241export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 13242whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 13243compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 13244old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 13245old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13246archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 13247archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13248module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 13249module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13250with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 13251allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 13252no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 13253hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 13254hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 13255hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 13256hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 13257hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 13258hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 13259hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 13260inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 13261link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 13262always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 13263export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 13264exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 13265include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 13266prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 13267postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 13268file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 13269variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 13270need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 13271need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 13272version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 13273runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 13274shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 13275shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 13276libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 13277library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 13278soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 13279install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 13280postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13281postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13282finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 13283finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 13284hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 13285sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 13286sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 13287hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 13288enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 13289enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 13290enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 13291old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 13292striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 13293 13294LTCC='$LTCC' 13295LTCFLAGS='$LTCFLAGS' 13296compiler='$compiler_DEFAULT' 13297 13298# A function that is used when there is no print builtin or printf. 13299func_fallback_echo () 13300{ 13301 eval 'cat <<_LTECHO_EOF 13302\$1 13303_LTECHO_EOF' 13304} 13305 13306# Quote evaled strings. 13307for var in SHELL \ 13308ECHO \ 13309PATH_SEPARATOR \ 13310SED \ 13311GREP \ 13312EGREP \ 13313FGREP \ 13314LD \ 13315NM \ 13316LN_S \ 13317lt_SP2NL \ 13318lt_NL2SP \ 13319reload_flag \ 13320OBJDUMP \ 13321deplibs_check_method \ 13322file_magic_cmd \ 13323file_magic_glob \ 13324want_nocaseglob \ 13325DLLTOOL \ 13326sharedlib_from_linklib_cmd \ 13327AR \ 13328AR_FLAGS \ 13329archiver_list_spec \ 13330STRIP \ 13331RANLIB \ 13332CC \ 13333CFLAGS \ 13334compiler \ 13335lt_cv_sys_global_symbol_pipe \ 13336lt_cv_sys_global_symbol_to_cdecl \ 13337lt_cv_sys_global_symbol_to_c_name_address \ 13338lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13339nm_file_list_spec \ 13340lt_prog_compiler_no_builtin_flag \ 13341lt_prog_compiler_pic \ 13342lt_prog_compiler_wl \ 13343lt_prog_compiler_static \ 13344lt_cv_prog_compiler_c_o \ 13345need_locks \ 13346MANIFEST_TOOL \ 13347DSYMUTIL \ 13348NMEDIT \ 13349LIPO \ 13350OTOOL \ 13351OTOOL64 \ 13352shrext_cmds \ 13353export_dynamic_flag_spec \ 13354whole_archive_flag_spec \ 13355compiler_needs_object \ 13356with_gnu_ld \ 13357allow_undefined_flag \ 13358no_undefined_flag \ 13359hardcode_libdir_flag_spec \ 13360hardcode_libdir_separator \ 13361exclude_expsyms \ 13362include_expsyms \ 13363file_list_spec \ 13364variables_saved_for_relink \ 13365libname_spec \ 13366library_names_spec \ 13367soname_spec \ 13368install_override_mode \ 13369finish_eval \ 13370old_striplib \ 13371striplib; do 13372 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13373 *[\\\\\\\`\\"\\\$]*) 13374 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 13375 ;; 13376 *) 13377 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13378 ;; 13379 esac 13380done 13381 13382# Double-quote double-evaled strings. 13383for var in reload_cmds \ 13384old_postinstall_cmds \ 13385old_postuninstall_cmds \ 13386old_archive_cmds \ 13387extract_expsyms_cmds \ 13388old_archive_from_new_cmds \ 13389old_archive_from_expsyms_cmds \ 13390archive_cmds \ 13391archive_expsym_cmds \ 13392module_cmds \ 13393module_expsym_cmds \ 13394export_symbols_cmds \ 13395prelink_cmds \ 13396postlink_cmds \ 13397postinstall_cmds \ 13398postuninstall_cmds \ 13399finish_cmds \ 13400sys_lib_search_path_spec \ 13401sys_lib_dlsearch_path_spec; do 13402 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13403 *[\\\\\\\`\\"\\\$]*) 13404 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 13405 ;; 13406 *) 13407 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13408 ;; 13409 esac 13410done 13411 13412ac_aux_dir='$ac_aux_dir' 13413xsi_shell='$xsi_shell' 13414lt_shell_append='$lt_shell_append' 13415 13416# See if we are running on zsh, and set the options which allow our 13417# commands through without removal of \ escapes INIT. 13418if test -n "\${ZSH_VERSION+set}" ; then 13419 setopt NO_GLOB_SUBST 13420fi 13421 13422 13423 PACKAGE='$PACKAGE' 13424 VERSION='$VERSION' 13425 TIMESTAMP='$TIMESTAMP' 13426 RM='$RM' 13427 ofile='$ofile' 13428 13429 13430 13431 13432_ACEOF 13433 13434cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13435 13436# Handling of arguments. 13437for ac_config_target in $ac_config_targets 13438do 13439 case $ac_config_target in 13440 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13441 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13442 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13443 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13444 "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;; 13445 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 13446 "lib/psiconv/Makefile") CONFIG_FILES="$CONFIG_FILES lib/psiconv/Makefile" ;; 13447 "lib/psiconv/psiconv.conf.man") CONFIG_FILES="$CONFIG_FILES lib/psiconv/psiconv.conf.man" ;; 13448 "program/Makefile") CONFIG_FILES="$CONFIG_FILES program/Makefile" ;; 13449 "program/psiconv/Makefile") CONFIG_FILES="$CONFIG_FILES program/psiconv/Makefile" ;; 13450 "program/psiconv-config/Makefile") CONFIG_FILES="$CONFIG_FILES program/psiconv-config/Makefile" ;; 13451 "program/psiconv-config/psiconv-config") CONFIG_FILES="$CONFIG_FILES program/psiconv-config/psiconv-config" ;; 13452 "program/psiconv-config/psiconv-config.man") CONFIG_FILES="$CONFIG_FILES program/psiconv-config/psiconv-config.man" ;; 13453 "lib/psiconv/general.h") CONFIG_FILES="$CONFIG_FILES lib/psiconv/general.h" ;; 13454 "formats/Makefile") CONFIG_FILES="$CONFIG_FILES formats/Makefile" ;; 13455 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 13456 "program/extra/Makefile") CONFIG_FILES="$CONFIG_FILES program/extra/Makefile" ;; 13457 "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; 13458 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 13459 13460 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13461 esac 13462done 13463 13464 13465# If the user did not use the arguments to specify the items to instantiate, 13466# then the envvar interface is used. Set only those that are not. 13467# We use the long form for the default assignment because of an extremely 13468# bizarre bug on SunOS 4.1.3. 13469if $ac_need_defaults; then 13470 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13471 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13472 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13473fi 13474 13475# Have a temporary directory for convenience. Make it in the build tree 13476# simply because there is no reason against having it here, and in addition, 13477# creating and moving files from /tmp can sometimes cause problems. 13478# Hook for its removal unless debugging. 13479# Note that there is a small window in which the directory will not be cleaned: 13480# after its creation but before its name has been assigned to `$tmp'. 13481$debug || 13482{ 13483 tmp= ac_tmp= 13484 trap 'exit_status=$? 13485 : "${ac_tmp:=$tmp}" 13486 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13487' 0 13488 trap 'as_fn_exit 1' 1 2 13 15 13489} 13490# Create a (secure) tmp directory for tmp files. 13491 13492{ 13493 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13494 test -d "$tmp" 13495} || 13496{ 13497 tmp=./conf$$-$RANDOM 13498 (umask 077 && mkdir "$tmp") 13499} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13500ac_tmp=$tmp 13501 13502# Set up the scripts for CONFIG_FILES section. 13503# No need to generate them if there are no CONFIG_FILES. 13504# This happens for instance with `./config.status config.h'. 13505if test -n "$CONFIG_FILES"; then 13506 13507 13508ac_cr=`echo X | tr X '\015'` 13509# On cygwin, bash can eat \r inside `` if the user requested igncr. 13510# But we know of no other shell where ac_cr would be empty at this 13511# point, so we can use a bashism as a fallback. 13512if test "x$ac_cr" = x; then 13513 eval ac_cr=\$\'\\r\' 13514fi 13515ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13516if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13517 ac_cs_awk_cr='\\r' 13518else 13519 ac_cs_awk_cr=$ac_cr 13520fi 13521 13522echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13523_ACEOF 13524 13525 13526{ 13527 echo "cat >conf$$subs.awk <<_ACEOF" && 13528 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13529 echo "_ACEOF" 13530} >conf$$subs.sh || 13531 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13532ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13533ac_delim='%!_!# ' 13534for ac_last_try in false false false false false :; do 13535 . ./conf$$subs.sh || 13536 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13537 13538 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13539 if test $ac_delim_n = $ac_delim_num; then 13540 break 13541 elif $ac_last_try; then 13542 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13543 else 13544 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13545 fi 13546done 13547rm -f conf$$subs.sh 13548 13549cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13550cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 13551_ACEOF 13552sed -n ' 13553h 13554s/^/S["/; s/!.*/"]=/ 13555p 13556g 13557s/^[^!]*!// 13558:repl 13559t repl 13560s/'"$ac_delim"'$// 13561t delim 13562:nl 13563h 13564s/\(.\{148\}\)..*/\1/ 13565t more1 13566s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13567p 13568n 13569b repl 13570:more1 13571s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13572p 13573g 13574s/.\{148\}// 13575t nl 13576:delim 13577h 13578s/\(.\{148\}\)..*/\1/ 13579t more2 13580s/["\\]/\\&/g; s/^/"/; s/$/"/ 13581p 13582b 13583:more2 13584s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13585p 13586g 13587s/.\{148\}// 13588t delim 13589' <conf$$subs.awk | sed ' 13590/^[^""]/{ 13591 N 13592 s/\n// 13593} 13594' >>$CONFIG_STATUS || ac_write_fail=1 13595rm -f conf$$subs.awk 13596cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13597_ACAWK 13598cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13599 for (key in S) S_is_set[key] = 1 13600 FS = "" 13601 13602} 13603{ 13604 line = $ 0 13605 nfields = split(line, field, "@") 13606 substed = 0 13607 len = length(field[1]) 13608 for (i = 2; i < nfields; i++) { 13609 key = field[i] 13610 keylen = length(key) 13611 if (S_is_set[key]) { 13612 value = S[key] 13613 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13614 len += length(value) + length(field[++i]) 13615 substed = 1 13616 } else 13617 len += 1 + keylen 13618 } 13619 13620 print line 13621} 13622 13623_ACAWK 13624_ACEOF 13625cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13626if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13627 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13628else 13629 cat 13630fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 13631 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13632_ACEOF 13633 13634# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13635# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13636# trailing colons and then remove the whole line if VPATH becomes empty 13637# (actually we leave an empty line to preserve line numbers). 13638if test "x$srcdir" = x.; then 13639 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13640h 13641s/// 13642s/^/:/ 13643s/[ ]*$/:/ 13644s/:\$(srcdir):/:/g 13645s/:\${srcdir}:/:/g 13646s/:@srcdir@:/:/g 13647s/^:*// 13648s/:*$// 13649x 13650s/\(=[ ]*\).*/\1/ 13651G 13652s/\n// 13653s/^[^=]*=[ ]*$// 13654}' 13655fi 13656 13657cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13658fi # test -n "$CONFIG_FILES" 13659 13660# Set up the scripts for CONFIG_HEADERS section. 13661# No need to generate them if there are no CONFIG_HEADERS. 13662# This happens for instance with `./config.status Makefile'. 13663if test -n "$CONFIG_HEADERS"; then 13664cat >"$ac_tmp/defines.awk" <<\_ACAWK || 13665BEGIN { 13666_ACEOF 13667 13668# Transform confdefs.h into an awk script `defines.awk', embedded as 13669# here-document in config.status, that substitutes the proper values into 13670# config.h.in to produce config.h. 13671 13672# Create a delimiter string that does not exist in confdefs.h, to ease 13673# handling of long lines. 13674ac_delim='%!_!# ' 13675for ac_last_try in false false :; do 13676 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 13677 if test -z "$ac_tt"; then 13678 break 13679 elif $ac_last_try; then 13680 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13681 else 13682 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13683 fi 13684done 13685 13686# For the awk script, D is an array of macro values keyed by name, 13687# likewise P contains macro parameters if any. Preserve backslash 13688# newline sequences. 13689 13690ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 13691sed -n ' 13692s/.\{148\}/&'"$ac_delim"'/g 13693t rset 13694:rset 13695s/^[ ]*#[ ]*define[ ][ ]*/ / 13696t def 13697d 13698:def 13699s/\\$// 13700t bsnl 13701s/["\\]/\\&/g 13702s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13703D["\1"]=" \3"/p 13704s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 13705d 13706:bsnl 13707s/["\\]/\\&/g 13708s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13709D["\1"]=" \3\\\\\\n"\\/p 13710t cont 13711s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 13712t cont 13713d 13714:cont 13715n 13716s/.\{148\}/&'"$ac_delim"'/g 13717t clear 13718:clear 13719s/\\$// 13720t bsnlc 13721s/["\\]/\\&/g; s/^/"/; s/$/"/p 13722d 13723:bsnlc 13724s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 13725b cont 13726' <confdefs.h | sed ' 13727s/'"$ac_delim"'/"\\\ 13728"/g' >>$CONFIG_STATUS || ac_write_fail=1 13729 13730cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13731 for (key in D) D_is_set[key] = 1 13732 FS = "" 13733} 13734/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 13735 line = \$ 0 13736 split(line, arg, " ") 13737 if (arg[1] == "#") { 13738 defundef = arg[2] 13739 mac1 = arg[3] 13740 } else { 13741 defundef = substr(arg[1], 2) 13742 mac1 = arg[2] 13743 } 13744 split(mac1, mac2, "(") #) 13745 macro = mac2[1] 13746 prefix = substr(line, 1, index(line, defundef) - 1) 13747 if (D_is_set[macro]) { 13748 # Preserve the white space surrounding the "#". 13749 print prefix "define", macro P[macro] D[macro] 13750 next 13751 } else { 13752 # Replace #undef with comments. This is necessary, for example, 13753 # in the case of _POSIX_SOURCE, which is predefined and required 13754 # on some systems where configure will not decide to define it. 13755 if (defundef == "undef") { 13756 print "/*", prefix defundef, macro, "*/" 13757 next 13758 } 13759 } 13760} 13761{ print } 13762_ACAWK 13763_ACEOF 13764cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13765 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13766fi # test -n "$CONFIG_HEADERS" 13767 13768 13769eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 13770shift 13771for ac_tag 13772do 13773 case $ac_tag in 13774 :[FHLC]) ac_mode=$ac_tag; continue;; 13775 esac 13776 case $ac_mode$ac_tag in 13777 :[FHL]*:*);; 13778 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 13779 :[FH]-) ac_tag=-:-;; 13780 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13781 esac 13782 ac_save_IFS=$IFS 13783 IFS=: 13784 set x $ac_tag 13785 IFS=$ac_save_IFS 13786 shift 13787 ac_file=$1 13788 shift 13789 13790 case $ac_mode in 13791 :L) ac_source=$1;; 13792 :[FH]) 13793 ac_file_inputs= 13794 for ac_f 13795 do 13796 case $ac_f in 13797 -) ac_f="$ac_tmp/stdin";; 13798 *) # Look for the file first in the build tree, then in the source tree 13799 # (if the path is not absolute). The absolute path cannot be DOS-style, 13800 # because $ac_f cannot contain `:'. 13801 test -f "$ac_f" || 13802 case $ac_f in 13803 [\\/$]*) false;; 13804 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13805 esac || 13806 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 13807 esac 13808 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13809 as_fn_append ac_file_inputs " '$ac_f'" 13810 done 13811 13812 # Let's still pretend it is `configure' which instantiates (i.e., don't 13813 # use $as_me), people would be surprised to read: 13814 # /* config.h. Generated by config.status. */ 13815 configure_input='Generated from '` 13816 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13817 `' by configure.' 13818 if test x"$ac_file" != x-; then 13819 configure_input="$ac_file. $configure_input" 13820 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13821$as_echo "$as_me: creating $ac_file" >&6;} 13822 fi 13823 # Neutralize special characters interpreted by sed in replacement strings. 13824 case $configure_input in #( 13825 *\&* | *\|* | *\\* ) 13826 ac_sed_conf_input=`$as_echo "$configure_input" | 13827 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13828 *) ac_sed_conf_input=$configure_input;; 13829 esac 13830 13831 case $ac_tag in 13832 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 13833 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13834 esac 13835 ;; 13836 esac 13837 13838 ac_dir=`$as_dirname -- "$ac_file" || 13839$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13840 X"$ac_file" : 'X\(//\)[^/]' \| \ 13841 X"$ac_file" : 'X\(//\)$' \| \ 13842 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13843$as_echo X"$ac_file" | 13844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13845 s//\1/ 13846 q 13847 } 13848 /^X\(\/\/\)[^/].*/{ 13849 s//\1/ 13850 q 13851 } 13852 /^X\(\/\/\)$/{ 13853 s//\1/ 13854 q 13855 } 13856 /^X\(\/\).*/{ 13857 s//\1/ 13858 q 13859 } 13860 s/.*/./; q'` 13861 as_dir="$ac_dir"; as_fn_mkdir_p 13862 ac_builddir=. 13863 13864case "$ac_dir" in 13865.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13866*) 13867 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13868 # A ".." for each directory in $ac_dir_suffix. 13869 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13870 case $ac_top_builddir_sub in 13871 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13872 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13873 esac ;; 13874esac 13875ac_abs_top_builddir=$ac_pwd 13876ac_abs_builddir=$ac_pwd$ac_dir_suffix 13877# for backward compatibility: 13878ac_top_builddir=$ac_top_build_prefix 13879 13880case $srcdir in 13881 .) # We are building in place. 13882 ac_srcdir=. 13883 ac_top_srcdir=$ac_top_builddir_sub 13884 ac_abs_top_srcdir=$ac_pwd ;; 13885 [\\/]* | ?:[\\/]* ) # Absolute name. 13886 ac_srcdir=$srcdir$ac_dir_suffix; 13887 ac_top_srcdir=$srcdir 13888 ac_abs_top_srcdir=$srcdir ;; 13889 *) # Relative name. 13890 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13891 ac_top_srcdir=$ac_top_build_prefix$srcdir 13892 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13893esac 13894ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13895 13896 13897 case $ac_mode in 13898 :F) 13899 # 13900 # CONFIG_FILE 13901 # 13902 13903 case $INSTALL in 13904 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13905 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13906 esac 13907 ac_MKDIR_P=$MKDIR_P 13908 case $MKDIR_P in 13909 [\\/$]* | ?:[\\/]* ) ;; 13910 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13911 esac 13912_ACEOF 13913 13914cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13915# If the template does not know about datarootdir, expand it. 13916# FIXME: This hack should be removed a few years after 2.60. 13917ac_datarootdir_hack=; ac_datarootdir_seen= 13918ac_sed_dataroot=' 13919/datarootdir/ { 13920 p 13921 q 13922} 13923/@datadir@/p 13924/@docdir@/p 13925/@infodir@/p 13926/@localedir@/p 13927/@mandir@/p' 13928case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13929*datarootdir*) ac_datarootdir_seen=yes;; 13930*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13932$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13933_ACEOF 13934cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13935 ac_datarootdir_hack=' 13936 s&@datadir@&$datadir&g 13937 s&@docdir@&$docdir&g 13938 s&@infodir@&$infodir&g 13939 s&@localedir@&$localedir&g 13940 s&@mandir@&$mandir&g 13941 s&\\\${datarootdir}&$datarootdir&g' ;; 13942esac 13943_ACEOF 13944 13945# Neutralize VPATH when `$srcdir' = `.'. 13946# Shell code in configure.ac might set extrasub. 13947# FIXME: do we really want to maintain this feature? 13948cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13949ac_sed_extra="$ac_vpsub 13950$extrasub 13951_ACEOF 13952cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13953:t 13954/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13955s|@configure_input@|$ac_sed_conf_input|;t t 13956s&@top_builddir@&$ac_top_builddir_sub&;t t 13957s&@top_build_prefix@&$ac_top_build_prefix&;t t 13958s&@srcdir@&$ac_srcdir&;t t 13959s&@abs_srcdir@&$ac_abs_srcdir&;t t 13960s&@top_srcdir@&$ac_top_srcdir&;t t 13961s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 13962s&@builddir@&$ac_builddir&;t t 13963s&@abs_builddir@&$ac_abs_builddir&;t t 13964s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13965s&@INSTALL@&$ac_INSTALL&;t t 13966s&@MKDIR_P@&$ac_MKDIR_P&;t t 13967$ac_datarootdir_hack 13968" 13969eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 13970 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13971 13972test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13973 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 13974 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 13975 "$ac_tmp/out"`; test -z "$ac_out"; } && 13976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13977which seems to be undefined. Please make sure it is defined" >&5 13978$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13979which seems to be undefined. Please make sure it is defined" >&2;} 13980 13981 rm -f "$ac_tmp/stdin" 13982 case $ac_file in 13983 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 13984 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 13985 esac \ 13986 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13987 ;; 13988 :H) 13989 # 13990 # CONFIG_HEADER 13991 # 13992 if test x"$ac_file" != x-; then 13993 { 13994 $as_echo "/* $configure_input */" \ 13995 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 13996 } >"$ac_tmp/config.h" \ 13997 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13998 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 13999 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14000$as_echo "$as_me: $ac_file is unchanged" >&6;} 14001 else 14002 rm -f "$ac_file" 14003 mv "$ac_tmp/config.h" "$ac_file" \ 14004 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14005 fi 14006 else 14007 $as_echo "/* $configure_input */" \ 14008 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14009 || as_fn_error $? "could not create -" "$LINENO" 5 14010 fi 14011# Compute "$ac_file"'s index in $config_headers. 14012_am_arg="$ac_file" 14013_am_stamp_count=1 14014for _am_header in $config_headers :; do 14015 case $_am_header in 14016 $_am_arg | $_am_arg:* ) 14017 break ;; 14018 * ) 14019 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14020 esac 14021done 14022echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14023$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14024 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14025 X"$_am_arg" : 'X\(//\)$' \| \ 14026 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14027$as_echo X"$_am_arg" | 14028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14029 s//\1/ 14030 q 14031 } 14032 /^X\(\/\/\)[^/].*/{ 14033 s//\1/ 14034 q 14035 } 14036 /^X\(\/\/\)$/{ 14037 s//\1/ 14038 q 14039 } 14040 /^X\(\/\).*/{ 14041 s//\1/ 14042 q 14043 } 14044 s/.*/./; q'`/stamp-h$_am_stamp_count 14045 ;; 14046 14047 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14048$as_echo "$as_me: executing $ac_file commands" >&6;} 14049 ;; 14050 esac 14051 14052 14053 case $ac_file$ac_mode in 14054 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14055 # Autoconf 2.62 quotes --file arguments for eval, but not when files 14056 # are listed without --file. Let's play safe and only enable the eval 14057 # if we detect the quoting. 14058 case $CONFIG_FILES in 14059 *\'*) eval set x "$CONFIG_FILES" ;; 14060 *) set x $CONFIG_FILES ;; 14061 esac 14062 shift 14063 for mf 14064 do 14065 # Strip MF so we end up with the name of the file. 14066 mf=`echo "$mf" | sed -e 's/:.*$//'` 14067 # Check whether this is an Automake generated Makefile or not. 14068 # We used to match only the files named `Makefile.in', but 14069 # some people rename them; so instead we look at the file content. 14070 # Grep'ing the first line is not enough: some people post-process 14071 # each Makefile.in and add a new line on top of each file to say so. 14072 # Grep'ing the whole file is not good either: AIX grep has a line 14073 # limit of 2048, but all sed's we know have understand at least 4000. 14074 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14075 dirpart=`$as_dirname -- "$mf" || 14076$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14077 X"$mf" : 'X\(//\)[^/]' \| \ 14078 X"$mf" : 'X\(//\)$' \| \ 14079 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14080$as_echo X"$mf" | 14081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14082 s//\1/ 14083 q 14084 } 14085 /^X\(\/\/\)[^/].*/{ 14086 s//\1/ 14087 q 14088 } 14089 /^X\(\/\/\)$/{ 14090 s//\1/ 14091 q 14092 } 14093 /^X\(\/\).*/{ 14094 s//\1/ 14095 q 14096 } 14097 s/.*/./; q'` 14098 else 14099 continue 14100 fi 14101 # Extract the definition of DEPDIR, am__include, and am__quote 14102 # from the Makefile without running `make'. 14103 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14104 test -z "$DEPDIR" && continue 14105 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14106 test -z "am__include" && continue 14107 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14108 # When using ansi2knr, U may be empty or an underscore; expand it 14109 U=`sed -n 's/^U = //p' < "$mf"` 14110 # Find all dependency output files, they are included files with 14111 # $(DEPDIR) in their names. We invoke sed twice because it is the 14112 # simplest approach to changing $(DEPDIR) to its actual value in the 14113 # expansion. 14114 for file in `sed -n " 14115 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14116 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 14117 # Make sure the directory exists. 14118 test -f "$dirpart/$file" && continue 14119 fdir=`$as_dirname -- "$file" || 14120$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14121 X"$file" : 'X\(//\)[^/]' \| \ 14122 X"$file" : 'X\(//\)$' \| \ 14123 X"$file" : 'X\(/\)' \| . 2>/dev/null || 14124$as_echo X"$file" | 14125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14126 s//\1/ 14127 q 14128 } 14129 /^X\(\/\/\)[^/].*/{ 14130 s//\1/ 14131 q 14132 } 14133 /^X\(\/\/\)$/{ 14134 s//\1/ 14135 q 14136 } 14137 /^X\(\/\).*/{ 14138 s//\1/ 14139 q 14140 } 14141 s/.*/./; q'` 14142 as_dir=$dirpart/$fdir; as_fn_mkdir_p 14143 # echo "creating $dirpart/$file" 14144 echo '# dummy' > "$dirpart/$file" 14145 done 14146 done 14147} 14148 ;; 14149 "libtool":C) 14150 14151 # See if we are running on zsh, and set the options which allow our 14152 # commands through without removal of \ escapes. 14153 if test -n "${ZSH_VERSION+set}" ; then 14154 setopt NO_GLOB_SUBST 14155 fi 14156 14157 cfgfile="${ofile}T" 14158 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14159 $RM "$cfgfile" 14160 14161 cat <<_LT_EOF >> "$cfgfile" 14162#! $SHELL 14163 14164# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 14165# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 14166# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14167# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14168# 14169# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 14170# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 14171# Foundation, Inc. 14172# Written by Gordon Matzigkeit, 1996 14173# 14174# This file is part of GNU Libtool. 14175# 14176# GNU Libtool is free software; you can redistribute it and/or 14177# modify it under the terms of the GNU General Public License as 14178# published by the Free Software Foundation; either version 2 of 14179# the License, or (at your option) any later version. 14180# 14181# As a special exception to the GNU General Public License, 14182# if you distribute this file as part of a program or library that 14183# is built using GNU Libtool, you may include this file under the 14184# same distribution terms that you use for the rest of that program. 14185# 14186# GNU Libtool is distributed in the hope that it will be useful, 14187# but WITHOUT ANY WARRANTY; without even the implied warranty of 14188# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14189# GNU General Public License for more details. 14190# 14191# You should have received a copy of the GNU General Public License 14192# along with GNU Libtool; see the file COPYING. If not, a copy 14193# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 14194# obtained by writing to the Free Software Foundation, Inc., 14195# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 14196 14197 14198# The names of the tagged configurations supported by this script. 14199available_tags="" 14200 14201# ### BEGIN LIBTOOL CONFIG 14202 14203# Which release of libtool.m4 was used? 14204macro_version=$macro_version 14205macro_revision=$macro_revision 14206 14207# Whether or not to build shared libraries. 14208build_libtool_libs=$enable_shared 14209 14210# Whether or not to build static libraries. 14211build_old_libs=$enable_static 14212 14213# What type of objects to build. 14214pic_mode=$pic_mode 14215 14216# Whether or not to optimize for fast installation. 14217fast_install=$enable_fast_install 14218 14219# Shell to use when invoking shell scripts. 14220SHELL=$lt_SHELL 14221 14222# An echo program that protects backslashes. 14223ECHO=$lt_ECHO 14224 14225# The PATH separator for the build system. 14226PATH_SEPARATOR=$lt_PATH_SEPARATOR 14227 14228# The host system. 14229host_alias=$host_alias 14230host=$host 14231host_os=$host_os 14232 14233# The build system. 14234build_alias=$build_alias 14235build=$build 14236build_os=$build_os 14237 14238# A sed program that does not truncate output. 14239SED=$lt_SED 14240 14241# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14242Xsed="\$SED -e 1s/^X//" 14243 14244# A grep program that handles long lines. 14245GREP=$lt_GREP 14246 14247# An ERE matcher. 14248EGREP=$lt_EGREP 14249 14250# A literal string matcher. 14251FGREP=$lt_FGREP 14252 14253# A BSD- or MS-compatible name lister. 14254NM=$lt_NM 14255 14256# Whether we need soft or hard links. 14257LN_S=$lt_LN_S 14258 14259# What is the maximum length of a command? 14260max_cmd_len=$max_cmd_len 14261 14262# Object file suffix (normally "o"). 14263objext=$ac_objext 14264 14265# Executable file suffix (normally ""). 14266exeext=$exeext 14267 14268# whether the shell understands "unset". 14269lt_unset=$lt_unset 14270 14271# turn spaces into newlines. 14272SP2NL=$lt_lt_SP2NL 14273 14274# turn newlines into spaces. 14275NL2SP=$lt_lt_NL2SP 14276 14277# convert \$build file names to \$host format. 14278to_host_file_cmd=$lt_cv_to_host_file_cmd 14279 14280# convert \$build files to toolchain format. 14281to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14282 14283# An object symbol dumper. 14284OBJDUMP=$lt_OBJDUMP 14285 14286# Method to check whether dependent libraries are shared objects. 14287deplibs_check_method=$lt_deplibs_check_method 14288 14289# Command to use when deplibs_check_method = "file_magic". 14290file_magic_cmd=$lt_file_magic_cmd 14291 14292# How to find potential files when deplibs_check_method = "file_magic". 14293file_magic_glob=$lt_file_magic_glob 14294 14295# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14296want_nocaseglob=$lt_want_nocaseglob 14297 14298# DLL creation program. 14299DLLTOOL=$lt_DLLTOOL 14300 14301# Command to associate shared and link libraries. 14302sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14303 14304# The archiver. 14305AR=$lt_AR 14306 14307# Flags to create an archive. 14308AR_FLAGS=$lt_AR_FLAGS 14309 14310# How to feed a file listing to the archiver. 14311archiver_list_spec=$lt_archiver_list_spec 14312 14313# A symbol stripping program. 14314STRIP=$lt_STRIP 14315 14316# Commands used to install an old-style archive. 14317RANLIB=$lt_RANLIB 14318old_postinstall_cmds=$lt_old_postinstall_cmds 14319old_postuninstall_cmds=$lt_old_postuninstall_cmds 14320 14321# Whether to use a lock for old archive extraction. 14322lock_old_archive_extraction=$lock_old_archive_extraction 14323 14324# A C compiler. 14325LTCC=$lt_CC 14326 14327# LTCC compiler flags. 14328LTCFLAGS=$lt_CFLAGS 14329 14330# Take the output of nm and produce a listing of raw symbols and C names. 14331global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14332 14333# Transform the output of nm in a proper C declaration. 14334global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14335 14336# Transform the output of nm in a C name address pair. 14337global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14338 14339# Transform the output of nm in a C name address pair when lib prefix is needed. 14340global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14341 14342# Specify filename containing input files for \$NM. 14343nm_file_list_spec=$lt_nm_file_list_spec 14344 14345# The root where to search for dependent libraries,and in which our libraries should be installed. 14346lt_sysroot=$lt_sysroot 14347 14348# The name of the directory that contains temporary libtool files. 14349objdir=$objdir 14350 14351# Used to examine libraries when file_magic_cmd begins with "file". 14352MAGIC_CMD=$MAGIC_CMD 14353 14354# Must we lock files when doing compilation? 14355need_locks=$lt_need_locks 14356 14357# Manifest tool. 14358MANIFEST_TOOL=$lt_MANIFEST_TOOL 14359 14360# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14361DSYMUTIL=$lt_DSYMUTIL 14362 14363# Tool to change global to local symbols on Mac OS X. 14364NMEDIT=$lt_NMEDIT 14365 14366# Tool to manipulate fat objects and archives on Mac OS X. 14367LIPO=$lt_LIPO 14368 14369# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14370OTOOL=$lt_OTOOL 14371 14372# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14373OTOOL64=$lt_OTOOL64 14374 14375# Old archive suffix (normally "a"). 14376libext=$libext 14377 14378# Shared library suffix (normally ".so"). 14379shrext_cmds=$lt_shrext_cmds 14380 14381# The commands to extract the exported symbol list from a shared archive. 14382extract_expsyms_cmds=$lt_extract_expsyms_cmds 14383 14384# Variables whose values should be saved in libtool wrapper scripts and 14385# restored at link time. 14386variables_saved_for_relink=$lt_variables_saved_for_relink 14387 14388# Do we need the "lib" prefix for modules? 14389need_lib_prefix=$need_lib_prefix 14390 14391# Do we need a version for libraries? 14392need_version=$need_version 14393 14394# Library versioning type. 14395version_type=$version_type 14396 14397# Shared library runtime path variable. 14398runpath_var=$runpath_var 14399 14400# Shared library path variable. 14401shlibpath_var=$shlibpath_var 14402 14403# Is shlibpath searched before the hard-coded library search path? 14404shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14405 14406# Format of library name prefix. 14407libname_spec=$lt_libname_spec 14408 14409# List of archive names. First name is the real one, the rest are links. 14410# The last name is the one that the linker finds with -lNAME 14411library_names_spec=$lt_library_names_spec 14412 14413# The coded name of the library, if different from the real name. 14414soname_spec=$lt_soname_spec 14415 14416# Permission mode override for installation of shared libraries. 14417install_override_mode=$lt_install_override_mode 14418 14419# Command to use after installation of a shared archive. 14420postinstall_cmds=$lt_postinstall_cmds 14421 14422# Command to use after uninstallation of a shared archive. 14423postuninstall_cmds=$lt_postuninstall_cmds 14424 14425# Commands used to finish a libtool library installation in a directory. 14426finish_cmds=$lt_finish_cmds 14427 14428# As "finish_cmds", except a single script fragment to be evaled but 14429# not shown. 14430finish_eval=$lt_finish_eval 14431 14432# Whether we should hardcode library paths into libraries. 14433hardcode_into_libs=$hardcode_into_libs 14434 14435# Compile-time system search path for libraries. 14436sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14437 14438# Run-time system search path for libraries. 14439sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 14440 14441# Whether dlopen is supported. 14442dlopen_support=$enable_dlopen 14443 14444# Whether dlopen of programs is supported. 14445dlopen_self=$enable_dlopen_self 14446 14447# Whether dlopen of statically linked programs is supported. 14448dlopen_self_static=$enable_dlopen_self_static 14449 14450# Commands to strip libraries. 14451old_striplib=$lt_old_striplib 14452striplib=$lt_striplib 14453 14454 14455# The linker used to build libraries. 14456LD=$lt_LD 14457 14458# How to create reloadable object files. 14459reload_flag=$lt_reload_flag 14460reload_cmds=$lt_reload_cmds 14461 14462# Commands used to build an old-style archive. 14463old_archive_cmds=$lt_old_archive_cmds 14464 14465# A language specific compiler. 14466CC=$lt_compiler 14467 14468# Is the compiler the GNU compiler? 14469with_gcc=$GCC 14470 14471# Compiler flag to turn off builtin functions. 14472no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14473 14474# Additional compiler flags for building library objects. 14475pic_flag=$lt_lt_prog_compiler_pic 14476 14477# How to pass a linker flag through the compiler. 14478wl=$lt_lt_prog_compiler_wl 14479 14480# Compiler flag to prevent dynamic linking. 14481link_static_flag=$lt_lt_prog_compiler_static 14482 14483# Does compiler simultaneously support -c and -o options? 14484compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14485 14486# Whether or not to add -lc for building shared libraries. 14487build_libtool_need_lc=$archive_cmds_need_lc 14488 14489# Whether or not to disallow shared libs when runtime libs are static. 14490allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14491 14492# Compiler flag to allow reflexive dlopens. 14493export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14494 14495# Compiler flag to generate shared objects directly from archives. 14496whole_archive_flag_spec=$lt_whole_archive_flag_spec 14497 14498# Whether the compiler copes with passing no objects directly. 14499compiler_needs_object=$lt_compiler_needs_object 14500 14501# Create an old-style archive from a shared archive. 14502old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14503 14504# Create a temporary old-style archive to link instead of a shared archive. 14505old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14506 14507# Commands used to build a shared archive. 14508archive_cmds=$lt_archive_cmds 14509archive_expsym_cmds=$lt_archive_expsym_cmds 14510 14511# Commands used to build a loadable module if different from building 14512# a shared archive. 14513module_cmds=$lt_module_cmds 14514module_expsym_cmds=$lt_module_expsym_cmds 14515 14516# Whether we are building with GNU ld or not. 14517with_gnu_ld=$lt_with_gnu_ld 14518 14519# Flag that allows shared libraries with undefined symbols to be built. 14520allow_undefined_flag=$lt_allow_undefined_flag 14521 14522# Flag that enforces no undefined symbols. 14523no_undefined_flag=$lt_no_undefined_flag 14524 14525# Flag to hardcode \$libdir into a binary during linking. 14526# This must work even if \$libdir does not exist 14527hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14528 14529# Whether we need a single "-rpath" flag with a separated argument. 14530hardcode_libdir_separator=$lt_hardcode_libdir_separator 14531 14532# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14533# DIR into the resulting binary. 14534hardcode_direct=$hardcode_direct 14535 14536# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14537# DIR into the resulting binary and the resulting library dependency is 14538# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 14539# library is relocated. 14540hardcode_direct_absolute=$hardcode_direct_absolute 14541 14542# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14543# into the resulting binary. 14544hardcode_minus_L=$hardcode_minus_L 14545 14546# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14547# into the resulting binary. 14548hardcode_shlibpath_var=$hardcode_shlibpath_var 14549 14550# Set to "yes" if building a shared library automatically hardcodes DIR 14551# into the library and all subsequent libraries and executables linked 14552# against it. 14553hardcode_automatic=$hardcode_automatic 14554 14555# Set to yes if linker adds runtime paths of dependent libraries 14556# to runtime path list. 14557inherit_rpath=$inherit_rpath 14558 14559# Whether libtool must link a program against all its dependency libraries. 14560link_all_deplibs=$link_all_deplibs 14561 14562# Set to "yes" if exported symbols are required. 14563always_export_symbols=$always_export_symbols 14564 14565# The commands to list exported symbols. 14566export_symbols_cmds=$lt_export_symbols_cmds 14567 14568# Symbols that should not be listed in the preloaded symbols. 14569exclude_expsyms=$lt_exclude_expsyms 14570 14571# Symbols that must always be exported. 14572include_expsyms=$lt_include_expsyms 14573 14574# Commands necessary for linking programs (against libraries) with templates. 14575prelink_cmds=$lt_prelink_cmds 14576 14577# Commands necessary for finishing linking programs. 14578postlink_cmds=$lt_postlink_cmds 14579 14580# Specify filename containing input files. 14581file_list_spec=$lt_file_list_spec 14582 14583# How to hardcode a shared library path into an executable. 14584hardcode_action=$hardcode_action 14585 14586# ### END LIBTOOL CONFIG 14587 14588_LT_EOF 14589 14590 case $host_os in 14591 aix3*) 14592 cat <<\_LT_EOF >> "$cfgfile" 14593# AIX sometimes has problems with the GCC collect2 program. For some 14594# reason, if we set the COLLECT_NAMES environment variable, the problems 14595# vanish in a puff of smoke. 14596if test "X${COLLECT_NAMES+set}" != Xset; then 14597 COLLECT_NAMES= 14598 export COLLECT_NAMES 14599fi 14600_LT_EOF 14601 ;; 14602 esac 14603 14604 14605ltmain="$ac_aux_dir/ltmain.sh" 14606 14607 14608 # We use sed instead of cat because bash on DJGPP gets confused if 14609 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14610 # text mode, it properly converts lines to CR/LF. This bash problem 14611 # is reportedly fixed, but why not run on old versions too? 14612 sed '$q' "$ltmain" >> "$cfgfile" \ 14613 || (rm -f "$cfgfile"; exit 1) 14614 14615 if test x"$xsi_shell" = xyes; then 14616 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 14617func_dirname ()\ 14618{\ 14619\ case ${1} in\ 14620\ */*) func_dirname_result="${1%/*}${2}" ;;\ 14621\ * ) func_dirname_result="${3}" ;;\ 14622\ esac\ 14623} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 14624 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14625 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14626test 0 -eq $? || _lt_function_replace_fail=: 14627 14628 14629 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 14630func_basename ()\ 14631{\ 14632\ func_basename_result="${1##*/}"\ 14633} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 14634 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14635 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14636test 0 -eq $? || _lt_function_replace_fail=: 14637 14638 14639 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 14640func_dirname_and_basename ()\ 14641{\ 14642\ case ${1} in\ 14643\ */*) func_dirname_result="${1%/*}${2}" ;;\ 14644\ * ) func_dirname_result="${3}" ;;\ 14645\ esac\ 14646\ func_basename_result="${1##*/}"\ 14647} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 14648 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14649 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14650test 0 -eq $? || _lt_function_replace_fail=: 14651 14652 14653 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 14654func_stripname ()\ 14655{\ 14656\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 14657\ # positional parameters, so assign one to ordinary parameter first.\ 14658\ func_stripname_result=${3}\ 14659\ func_stripname_result=${func_stripname_result#"${1}"}\ 14660\ func_stripname_result=${func_stripname_result%"${2}"}\ 14661} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 14662 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14663 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14664test 0 -eq $? || _lt_function_replace_fail=: 14665 14666 14667 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 14668func_split_long_opt ()\ 14669{\ 14670\ func_split_long_opt_name=${1%%=*}\ 14671\ func_split_long_opt_arg=${1#*=}\ 14672} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 14673 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14674 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14675test 0 -eq $? || _lt_function_replace_fail=: 14676 14677 14678 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 14679func_split_short_opt ()\ 14680{\ 14681\ func_split_short_opt_arg=${1#??}\ 14682\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 14683} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 14684 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14685 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14686test 0 -eq $? || _lt_function_replace_fail=: 14687 14688 14689 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 14690func_lo2o ()\ 14691{\ 14692\ case ${1} in\ 14693\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 14694\ *) func_lo2o_result=${1} ;;\ 14695\ esac\ 14696} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 14697 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14698 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14699test 0 -eq $? || _lt_function_replace_fail=: 14700 14701 14702 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 14703func_xform ()\ 14704{\ 14705 func_xform_result=${1%.*}.lo\ 14706} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 14707 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14708 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14709test 0 -eq $? || _lt_function_replace_fail=: 14710 14711 14712 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 14713func_arith ()\ 14714{\ 14715 func_arith_result=$(( $* ))\ 14716} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 14717 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14718 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14719test 0 -eq $? || _lt_function_replace_fail=: 14720 14721 14722 sed -e '/^func_len ()$/,/^} # func_len /c\ 14723func_len ()\ 14724{\ 14725 func_len_result=${#1}\ 14726} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 14727 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14728 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14729test 0 -eq $? || _lt_function_replace_fail=: 14730 14731fi 14732 14733if test x"$lt_shell_append" = xyes; then 14734 sed -e '/^func_append ()$/,/^} # func_append /c\ 14735func_append ()\ 14736{\ 14737 eval "${1}+=\\${2}"\ 14738} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 14739 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14740 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14741test 0 -eq $? || _lt_function_replace_fail=: 14742 14743 14744 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 14745func_append_quoted ()\ 14746{\ 14747\ func_quote_for_eval "${2}"\ 14748\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 14749} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 14750 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14751 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14752test 0 -eq $? || _lt_function_replace_fail=: 14753 14754 14755 # Save a `func_append' function call where possible by direct use of '+=' 14756 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 14757 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14758 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14759 test 0 -eq $? || _lt_function_replace_fail=: 14760else 14761 # Save a `func_append' function call even when '+=' is not available 14762 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 14763 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14764 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14765 test 0 -eq $? || _lt_function_replace_fail=: 14766fi 14767 14768if test x"$_lt_function_replace_fail" = x":"; then 14769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 14770$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 14771fi 14772 14773 14774 mv -f "$cfgfile" "$ofile" || 14775 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14776 chmod +x "$ofile" 14777 14778 ;; 14779 14780 esac 14781done # for ac_tag 14782 14783 14784as_fn_exit 0 14785_ACEOF 14786ac_clean_files=$ac_clean_files_save 14787 14788test $ac_write_fail = 0 || 14789 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14790 14791 14792# configure is writing to config.log, and then calls config.status. 14793# config.status does its own redirection, appending to config.log. 14794# Unfortunately, on DOS this fails, as config.log is still kept open 14795# by configure, so config.status won't be able to write to it; its 14796# output is simply discarded. So we exec the FD to /dev/null, 14797# effectively closing config.log, so it can be properly (re)opened and 14798# appended to by config.status. When coming back to configure, we 14799# need to make the FD available again. 14800if test "$no_create" != yes; then 14801 ac_cs_success=: 14802 ac_config_status_args= 14803 test "$silent" = yes && 14804 ac_config_status_args="$ac_config_status_args --quiet" 14805 exec 5>/dev/null 14806 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14807 exec 5>>config.log 14808 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14809 # would make configure fail if this is the last instruction. 14810 $ac_cs_success || as_fn_exit 1 14811fi 14812if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14814$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14815fi 14816 14817