1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for idnkit 2.3. 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='idnkit' 589PACKAGE_TARNAME='idnkit' 590PACKAGE_VERSION='2.3' 591PACKAGE_STRING='idnkit 2.3' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='' 594 595ac_unique_file="include/idn/api.h" 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 635LIBOBJS 636PERL 637CPP 638OTOOL64 639OTOOL 640LIPO 641NMEDIT 642DSYMUTIL 643MANIFEST_TOOL 644RANLIB 645ac_ct_AR 646AR 647DLLTOOL 648OBJDUMP 649NM 650ac_ct_DUMPBIN 651DUMPBIN 652LD 653FGREP 654EGREP 655GREP 656SED 657host_os 658host_vendor 659host_cpu 660host 661build_os 662build_vendor 663build_cpu 664build 665LIBTOOL 666LN_S 667am__fastdepCC_FALSE 668am__fastdepCC_TRUE 669CCDEPMODE 670am__nodep 671AMDEPBACKSLASH 672AMDEP_FALSE 673AMDEP_TRUE 674am__quote 675am__include 676DEPDIR 677OBJEXT 678EXEEXT 679ac_ct_CC 680CPPFLAGS 681LDFLAGS 682CFLAGS 683CC 684pkgmapdir 685ICONVLIB 686ICONVINC 687LITEONLY_FALSE 688LITEONLY_TRUE 689UTF8_NAME 690LIB_VERSION_INFO 691MINOR_VERSION 692MAJOR_VERSION 693am__untar 694am__tar 695AMTAR 696am__leading_dot 697SET_MAKE 698AWK 699mkdir_p 700MKDIR_P 701INSTALL_STRIP_PROGRAM 702STRIP 703install_sh 704MAKEINFO 705AUTOHEADER 706AUTOMAKE 707AUTOCONF 708ACLOCAL 709VERSION 710PACKAGE 711CYGPATH_W 712am__isrc 713INSTALL_DATA 714INSTALL_SCRIPT 715INSTALL_PROGRAM 716target_alias 717host_alias 718build_alias 719LIBS 720ECHO_T 721ECHO_N 722ECHO_C 723DEFS 724mandir 725localedir 726libdir 727psdir 728pdfdir 729dvidir 730htmldir 731infodir 732docdir 733oldincludedir 734includedir 735localstatedir 736sharedstatedir 737sysconfdir 738datadir 739datarootdir 740libexecdir 741sbindir 742bindir 743program_transform_name 744prefix 745exec_prefix 746PACKAGE_URL 747PACKAGE_BUGREPORT 748PACKAGE_STRING 749PACKAGE_VERSION 750PACKAGE_TARNAME 751PACKAGE_NAME 752PATH_SEPARATOR 753SHELL' 754ac_subst_files='' 755ac_user_opts=' 756enable_option_checking 757with_utf8 758enable_liteonly 759with_libiconv 760with_iconv_include 761with_iconv 762enable_dependency_tracking 763enable_shared 764enable_static 765with_pic 766enable_fast_install 767with_gnu_ld 768with_sysroot 769enable_libtool_lock 770' 771 ac_precious_vars='build_alias 772host_alias 773target_alias 774CC 775CFLAGS 776LDFLAGS 777LIBS 778CPPFLAGS 779CPP' 780 781 782# Initialize some variables set by options. 783ac_init_help= 784ac_init_version=false 785ac_unrecognized_opts= 786ac_unrecognized_sep= 787# The variables have the same names as the options, with 788# dashes changed to underlines. 789cache_file=/dev/null 790exec_prefix=NONE 791no_create= 792no_recursion= 793prefix=NONE 794program_prefix=NONE 795program_suffix=NONE 796program_transform_name=s,x,x, 797silent= 798site= 799srcdir= 800verbose= 801x_includes=NONE 802x_libraries=NONE 803 804# Installation directory options. 805# These are left unexpanded so users can "make install exec_prefix=/foo" 806# and all the variables that are supposed to be based on exec_prefix 807# by default will actually change. 808# Use braces instead of parens because sh, perl, etc. also accept them. 809# (The list follows the same order as the GNU Coding Standards.) 810bindir='${exec_prefix}/bin' 811sbindir='${exec_prefix}/sbin' 812libexecdir='${exec_prefix}/libexec' 813datarootdir='${prefix}/share' 814datadir='${datarootdir}' 815sysconfdir='${prefix}/etc' 816sharedstatedir='${prefix}/com' 817localstatedir='${prefix}/var' 818includedir='${prefix}/include' 819oldincludedir='/usr/include' 820docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 821infodir='${datarootdir}/info' 822htmldir='${docdir}' 823dvidir='${docdir}' 824pdfdir='${docdir}' 825psdir='${docdir}' 826libdir='${exec_prefix}/lib' 827localedir='${datarootdir}/locale' 828mandir='${datarootdir}/man' 829 830ac_prev= 831ac_dashdash= 832for ac_option 833do 834 # If the previous option needs an argument, assign it. 835 if test -n "$ac_prev"; then 836 eval $ac_prev=\$ac_option 837 ac_prev= 838 continue 839 fi 840 841 case $ac_option in 842 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 843 *=) ac_optarg= ;; 844 *) ac_optarg=yes ;; 845 esac 846 847 # Accept the important Cygnus configure options, so we can diagnose typos. 848 849 case $ac_dashdash$ac_option in 850 --) 851 ac_dashdash=yes ;; 852 853 -bindir | --bindir | --bindi | --bind | --bin | --bi) 854 ac_prev=bindir ;; 855 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 856 bindir=$ac_optarg ;; 857 858 -build | --build | --buil | --bui | --bu) 859 ac_prev=build_alias ;; 860 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 861 build_alias=$ac_optarg ;; 862 863 -cache-file | --cache-file | --cache-fil | --cache-fi \ 864 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 865 ac_prev=cache_file ;; 866 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 867 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 868 cache_file=$ac_optarg ;; 869 870 --config-cache | -C) 871 cache_file=config.cache ;; 872 873 -datadir | --datadir | --datadi | --datad) 874 ac_prev=datadir ;; 875 -datadir=* | --datadir=* | --datadi=* | --datad=*) 876 datadir=$ac_optarg ;; 877 878 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 879 | --dataroo | --dataro | --datar) 880 ac_prev=datarootdir ;; 881 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 882 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 883 datarootdir=$ac_optarg ;; 884 885 -disable-* | --disable-*) 886 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 887 # Reject names that are not valid shell variable names. 888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 889 as_fn_error $? "invalid feature name: $ac_useropt" 890 ac_useropt_orig=$ac_useropt 891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 892 case $ac_user_opts in 893 *" 894"enable_$ac_useropt" 895"*) ;; 896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 897 ac_unrecognized_sep=', ';; 898 esac 899 eval enable_$ac_useropt=no ;; 900 901 -docdir | --docdir | --docdi | --doc | --do) 902 ac_prev=docdir ;; 903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 904 docdir=$ac_optarg ;; 905 906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 907 ac_prev=dvidir ;; 908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 909 dvidir=$ac_optarg ;; 910 911 -enable-* | --enable-*) 912 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 913 # Reject names that are not valid shell variable names. 914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 915 as_fn_error $? "invalid feature name: $ac_useropt" 916 ac_useropt_orig=$ac_useropt 917 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 918 case $ac_user_opts in 919 *" 920"enable_$ac_useropt" 921"*) ;; 922 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 923 ac_unrecognized_sep=', ';; 924 esac 925 eval enable_$ac_useropt=\$ac_optarg ;; 926 927 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 928 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 929 | --exec | --exe | --ex) 930 ac_prev=exec_prefix ;; 931 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 932 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 933 | --exec=* | --exe=* | --ex=*) 934 exec_prefix=$ac_optarg ;; 935 936 -gas | --gas | --ga | --g) 937 # Obsolete; use --with-gas. 938 with_gas=yes ;; 939 940 -help | --help | --hel | --he | -h) 941 ac_init_help=long ;; 942 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 943 ac_init_help=recursive ;; 944 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 945 ac_init_help=short ;; 946 947 -host | --host | --hos | --ho) 948 ac_prev=host_alias ;; 949 -host=* | --host=* | --hos=* | --ho=*) 950 host_alias=$ac_optarg ;; 951 952 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 953 ac_prev=htmldir ;; 954 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 955 | --ht=*) 956 htmldir=$ac_optarg ;; 957 958 -includedir | --includedir | --includedi | --included | --include \ 959 | --includ | --inclu | --incl | --inc) 960 ac_prev=includedir ;; 961 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 962 | --includ=* | --inclu=* | --incl=* | --inc=*) 963 includedir=$ac_optarg ;; 964 965 -infodir | --infodir | --infodi | --infod | --info | --inf) 966 ac_prev=infodir ;; 967 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 968 infodir=$ac_optarg ;; 969 970 -libdir | --libdir | --libdi | --libd) 971 ac_prev=libdir ;; 972 -libdir=* | --libdir=* | --libdi=* | --libd=*) 973 libdir=$ac_optarg ;; 974 975 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 976 | --libexe | --libex | --libe) 977 ac_prev=libexecdir ;; 978 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 979 | --libexe=* | --libex=* | --libe=*) 980 libexecdir=$ac_optarg ;; 981 982 -localedir | --localedir | --localedi | --localed | --locale) 983 ac_prev=localedir ;; 984 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 985 localedir=$ac_optarg ;; 986 987 -localstatedir | --localstatedir | --localstatedi | --localstated \ 988 | --localstate | --localstat | --localsta | --localst | --locals) 989 ac_prev=localstatedir ;; 990 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 991 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 992 localstatedir=$ac_optarg ;; 993 994 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 995 ac_prev=mandir ;; 996 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 997 mandir=$ac_optarg ;; 998 999 -nfp | --nfp | --nf) 1000 # Obsolete; use --without-fp. 1001 with_fp=no ;; 1002 1003 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1004 | --no-cr | --no-c | -n) 1005 no_create=yes ;; 1006 1007 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1008 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1009 no_recursion=yes ;; 1010 1011 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1012 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1013 | --oldin | --oldi | --old | --ol | --o) 1014 ac_prev=oldincludedir ;; 1015 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1016 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1017 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1018 oldincludedir=$ac_optarg ;; 1019 1020 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1021 ac_prev=prefix ;; 1022 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1023 prefix=$ac_optarg ;; 1024 1025 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1026 | --program-pre | --program-pr | --program-p) 1027 ac_prev=program_prefix ;; 1028 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1029 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1030 program_prefix=$ac_optarg ;; 1031 1032 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1033 | --program-suf | --program-su | --program-s) 1034 ac_prev=program_suffix ;; 1035 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1036 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1037 program_suffix=$ac_optarg ;; 1038 1039 -program-transform-name | --program-transform-name \ 1040 | --program-transform-nam | --program-transform-na \ 1041 | --program-transform-n | --program-transform- \ 1042 | --program-transform | --program-transfor \ 1043 | --program-transfo | --program-transf \ 1044 | --program-trans | --program-tran \ 1045 | --progr-tra | --program-tr | --program-t) 1046 ac_prev=program_transform_name ;; 1047 -program-transform-name=* | --program-transform-name=* \ 1048 | --program-transform-nam=* | --program-transform-na=* \ 1049 | --program-transform-n=* | --program-transform-=* \ 1050 | --program-transform=* | --program-transfor=* \ 1051 | --program-transfo=* | --program-transf=* \ 1052 | --program-trans=* | --program-tran=* \ 1053 | --progr-tra=* | --program-tr=* | --program-t=*) 1054 program_transform_name=$ac_optarg ;; 1055 1056 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1057 ac_prev=pdfdir ;; 1058 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1059 pdfdir=$ac_optarg ;; 1060 1061 -psdir | --psdir | --psdi | --psd | --ps) 1062 ac_prev=psdir ;; 1063 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1064 psdir=$ac_optarg ;; 1065 1066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1067 | -silent | --silent | --silen | --sile | --sil) 1068 silent=yes ;; 1069 1070 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1071 ac_prev=sbindir ;; 1072 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1073 | --sbi=* | --sb=*) 1074 sbindir=$ac_optarg ;; 1075 1076 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1077 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1078 | --sharedst | --shareds | --shared | --share | --shar \ 1079 | --sha | --sh) 1080 ac_prev=sharedstatedir ;; 1081 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1082 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1083 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1084 | --sha=* | --sh=*) 1085 sharedstatedir=$ac_optarg ;; 1086 1087 -site | --site | --sit) 1088 ac_prev=site ;; 1089 -site=* | --site=* | --sit=*) 1090 site=$ac_optarg ;; 1091 1092 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1093 ac_prev=srcdir ;; 1094 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1095 srcdir=$ac_optarg ;; 1096 1097 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1098 | --syscon | --sysco | --sysc | --sys | --sy) 1099 ac_prev=sysconfdir ;; 1100 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1101 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1102 sysconfdir=$ac_optarg ;; 1103 1104 -target | --target | --targe | --targ | --tar | --ta | --t) 1105 ac_prev=target_alias ;; 1106 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1107 target_alias=$ac_optarg ;; 1108 1109 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1110 verbose=yes ;; 1111 1112 -version | --version | --versio | --versi | --vers | -V) 1113 ac_init_version=: ;; 1114 1115 -with-* | --with-*) 1116 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1117 # Reject names that are not valid shell variable names. 1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1119 as_fn_error $? "invalid package name: $ac_useropt" 1120 ac_useropt_orig=$ac_useropt 1121 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1122 case $ac_user_opts in 1123 *" 1124"with_$ac_useropt" 1125"*) ;; 1126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1127 ac_unrecognized_sep=', ';; 1128 esac 1129 eval with_$ac_useropt=\$ac_optarg ;; 1130 1131 -without-* | --without-*) 1132 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1133 # Reject names that are not valid shell variable names. 1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1135 as_fn_error $? "invalid package name: $ac_useropt" 1136 ac_useropt_orig=$ac_useropt 1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1138 case $ac_user_opts in 1139 *" 1140"with_$ac_useropt" 1141"*) ;; 1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1143 ac_unrecognized_sep=', ';; 1144 esac 1145 eval with_$ac_useropt=no ;; 1146 1147 --x) 1148 # Obsolete; use --with-x. 1149 with_x=yes ;; 1150 1151 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1152 | --x-incl | --x-inc | --x-in | --x-i) 1153 ac_prev=x_includes ;; 1154 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1155 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1156 x_includes=$ac_optarg ;; 1157 1158 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1159 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1160 ac_prev=x_libraries ;; 1161 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1162 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1163 x_libraries=$ac_optarg ;; 1164 1165 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1166Try \`$0 --help' for more information" 1167 ;; 1168 1169 *=*) 1170 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1171 # Reject names that are not valid shell variable names. 1172 case $ac_envvar in #( 1173 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1174 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1175 esac 1176 eval $ac_envvar=\$ac_optarg 1177 export $ac_envvar ;; 1178 1179 *) 1180 # FIXME: should be removed in autoconf 3.0. 1181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1184 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1185 ;; 1186 1187 esac 1188done 1189 1190if test -n "$ac_prev"; then 1191 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1192 as_fn_error $? "missing argument to $ac_option" 1193fi 1194 1195if test -n "$ac_unrecognized_opts"; then 1196 case $enable_option_checking in 1197 no) ;; 1198 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1199 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1200 esac 1201fi 1202 1203# Check all directory arguments for consistency. 1204for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1205 datadir sysconfdir sharedstatedir localstatedir includedir \ 1206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1207 libdir localedir mandir 1208do 1209 eval ac_val=\$$ac_var 1210 # Remove trailing slashes. 1211 case $ac_val in 1212 */ ) 1213 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1214 eval $ac_var=\$ac_val;; 1215 esac 1216 # Be sure to have absolute directory names. 1217 case $ac_val in 1218 [\\/$]* | ?:[\\/]* ) continue;; 1219 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1220 esac 1221 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1222done 1223 1224# There might be people who depend on the old broken behavior: `$host' 1225# used to hold the argument of --host etc. 1226# FIXME: To remove some day. 1227build=$build_alias 1228host=$host_alias 1229target=$target_alias 1230 1231# FIXME: To remove some day. 1232if test "x$host_alias" != x; then 1233 if test "x$build_alias" = x; then 1234 cross_compiling=maybe 1235 elif test "x$build_alias" != "x$host_alias"; then 1236 cross_compiling=yes 1237 fi 1238fi 1239 1240ac_tool_prefix= 1241test -n "$host_alias" && ac_tool_prefix=$host_alias- 1242 1243test "$silent" = yes && exec 6>/dev/null 1244 1245 1246ac_pwd=`pwd` && test -n "$ac_pwd" && 1247ac_ls_di=`ls -di .` && 1248ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1249 as_fn_error $? "working directory cannot be determined" 1250test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1251 as_fn_error $? "pwd does not report name of working directory" 1252 1253 1254# Find the source files, if location was not specified. 1255if test -z "$srcdir"; then 1256 ac_srcdir_defaulted=yes 1257 # Try the directory containing this script, then the parent directory. 1258 ac_confdir=`$as_dirname -- "$as_myself" || 1259$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1260 X"$as_myself" : 'X\(//\)[^/]' \| \ 1261 X"$as_myself" : 'X\(//\)$' \| \ 1262 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1263$as_echo X"$as_myself" | 1264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1265 s//\1/ 1266 q 1267 } 1268 /^X\(\/\/\)[^/].*/{ 1269 s//\1/ 1270 q 1271 } 1272 /^X\(\/\/\)$/{ 1273 s//\1/ 1274 q 1275 } 1276 /^X\(\/\).*/{ 1277 s//\1/ 1278 q 1279 } 1280 s/.*/./; q'` 1281 srcdir=$ac_confdir 1282 if test ! -r "$srcdir/$ac_unique_file"; then 1283 srcdir=.. 1284 fi 1285else 1286 ac_srcdir_defaulted=no 1287fi 1288if test ! -r "$srcdir/$ac_unique_file"; then 1289 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1290 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1291fi 1292ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1293ac_abs_confdir=`( 1294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1295 pwd)` 1296# When building in place, set srcdir=. 1297if test "$ac_abs_confdir" = "$ac_pwd"; then 1298 srcdir=. 1299fi 1300# Remove unnecessary trailing slashes from srcdir. 1301# Double slashes in file names in object file debugging info 1302# mess up M-x gdb in Emacs. 1303case $srcdir in 1304*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1305esac 1306for ac_var in $ac_precious_vars; do 1307 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1308 eval ac_env_${ac_var}_value=\$${ac_var} 1309 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1310 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1311done 1312 1313# 1314# Report the --help message. 1315# 1316if test "$ac_init_help" = "long"; then 1317 # Omit some internal or obsolete options to make the list less imposing. 1318 # This message is too long to be a string in the A/UX 3.1 sh. 1319 cat <<_ACEOF 1320\`configure' configures idnkit 2.3 to adapt to many kinds of systems. 1321 1322Usage: $0 [OPTION]... [VAR=VALUE]... 1323 1324To assign environment variables (e.g., CC, CFLAGS...), specify them as 1325VAR=VALUE. See below for descriptions of some of the useful variables. 1326 1327Defaults for the options are specified in brackets. 1328 1329Configuration: 1330 -h, --help display this help and exit 1331 --help=short display options specific to this package 1332 --help=recursive display the short help of all the included packages 1333 -V, --version display version information and exit 1334 -q, --quiet, --silent do not print \`checking ...' messages 1335 --cache-file=FILE cache test results in FILE [disabled] 1336 -C, --config-cache alias for \`--cache-file=config.cache' 1337 -n, --no-create do not create output files 1338 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1339 1340Installation directories: 1341 --prefix=PREFIX install architecture-independent files in PREFIX 1342 [$ac_default_prefix] 1343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1344 [PREFIX] 1345 1346By default, \`make install' will install all the files in 1347\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1348an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1349for instance \`--prefix=\$HOME'. 1350 1351For better control, use the options below. 1352 1353Fine tuning of the installation directories: 1354 --bindir=DIR user executables [EPREFIX/bin] 1355 --sbindir=DIR system admin executables [EPREFIX/sbin] 1356 --libexecdir=DIR program executables [EPREFIX/libexec] 1357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1359 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1360 --libdir=DIR object code libraries [EPREFIX/lib] 1361 --includedir=DIR C header files [PREFIX/include] 1362 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1363 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1364 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1365 --infodir=DIR info documentation [DATAROOTDIR/info] 1366 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1367 --mandir=DIR man documentation [DATAROOTDIR/man] 1368 --docdir=DIR documentation root [DATAROOTDIR/doc/idnkit] 1369 --htmldir=DIR html documentation [DOCDIR] 1370 --dvidir=DIR dvi documentation [DOCDIR] 1371 --pdfdir=DIR pdf documentation [DOCDIR] 1372 --psdir=DIR ps documentation [DOCDIR] 1373_ACEOF 1374 1375 cat <<\_ACEOF 1376 1377Program names: 1378 --program-prefix=PREFIX prepend PREFIX to installed program names 1379 --program-suffix=SUFFIX append SUFFIX to installed program names 1380 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1381 1382System types: 1383 --build=BUILD configure for building on BUILD [guessed] 1384 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1385_ACEOF 1386fi 1387 1388if test -n "$ac_init_help"; then 1389 case $ac_init_help in 1390 short | recursive ) echo "Configuration of idnkit 2.3:";; 1391 esac 1392 cat <<\_ACEOF 1393 1394Optional Features: 1395 --disable-option-checking ignore unrecognized --enable/--with options 1396 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1397 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1398 --enable-liteonly compile and install lite library only [default=no] 1399 --enable-dependency-tracking 1400 do not reject slow dependency extractors 1401 --disable-dependency-tracking 1402 speeds up one-time build 1403 --enable-shared[=PKGS] build shared libraries [default=yes] 1404 --enable-static[=PKGS] build static libraries [default=yes] 1405 --enable-fast-install[=PKGS] 1406 optimize for fast installation [default=yes] 1407 --disable-libtool-lock avoid locking (might break parallel builds) 1408 1409Optional Packages: 1410 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1411 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1412 --with-utf8=NAME codeset name for UTF-8 encoding [UTF-8] 1413 --with-libiconv=IPREFIX GNU libiconv are installed in IPREFIX [PREFIX] 1414 --with-iconv-include=DIR 1415 iconv include files are in DIR [] 1416 --with-iconv=LIB special library for iconv [] 1417 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1418 both] 1419 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1420 --with-sysroot=DIR Search for dependent libraries within DIR 1421 (or the compiler's sysroot if not specified). 1422 1423Some influential environment variables: 1424 CC C compiler command 1425 CFLAGS C compiler flags 1426 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1427 nonstandard directory <lib dir> 1428 LIBS libraries to pass to the linker, e.g. -l<library> 1429 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1430 you have headers in a nonstandard directory <include dir> 1431 CPP C preprocessor 1432 1433Use these variables to override the choices made by `configure' or to help 1434it to find libraries and programs with nonstandard names/locations. 1435 1436Report bugs to the package provider. 1437_ACEOF 1438ac_status=$? 1439fi 1440 1441if test "$ac_init_help" = "recursive"; then 1442 # If there are subdirs, report their specific --help. 1443 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1444 test -d "$ac_dir" || 1445 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1446 continue 1447 ac_builddir=. 1448 1449case "$ac_dir" in 1450.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1451*) 1452 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1453 # A ".." for each directory in $ac_dir_suffix. 1454 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1455 case $ac_top_builddir_sub in 1456 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1457 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1458 esac ;; 1459esac 1460ac_abs_top_builddir=$ac_pwd 1461ac_abs_builddir=$ac_pwd$ac_dir_suffix 1462# for backward compatibility: 1463ac_top_builddir=$ac_top_build_prefix 1464 1465case $srcdir in 1466 .) # We are building in place. 1467 ac_srcdir=. 1468 ac_top_srcdir=$ac_top_builddir_sub 1469 ac_abs_top_srcdir=$ac_pwd ;; 1470 [\\/]* | ?:[\\/]* ) # Absolute name. 1471 ac_srcdir=$srcdir$ac_dir_suffix; 1472 ac_top_srcdir=$srcdir 1473 ac_abs_top_srcdir=$srcdir ;; 1474 *) # Relative name. 1475 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1476 ac_top_srcdir=$ac_top_build_prefix$srcdir 1477 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1478esac 1479ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1480 1481 cd "$ac_dir" || { ac_status=$?; continue; } 1482 # Check for guested configure. 1483 if test -f "$ac_srcdir/configure.gnu"; then 1484 echo && 1485 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1486 elif test -f "$ac_srcdir/configure"; then 1487 echo && 1488 $SHELL "$ac_srcdir/configure" --help=recursive 1489 else 1490 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1491 fi || ac_status=$? 1492 cd "$ac_pwd" || { ac_status=$?; break; } 1493 done 1494fi 1495 1496test -n "$ac_init_help" && exit $ac_status 1497if $ac_init_version; then 1498 cat <<\_ACEOF 1499idnkit configure 2.3 1500generated by GNU Autoconf 2.69 1501 1502Copyright (C) 2012 Free Software Foundation, Inc. 1503This configure script is free software; the Free Software Foundation 1504gives unlimited permission to copy, distribute and modify it. 1505_ACEOF 1506 exit 1507fi 1508 1509## ------------------------ ## 1510## Autoconf initialization. ## 1511## ------------------------ ## 1512 1513# ac_fn_c_try_compile LINENO 1514# -------------------------- 1515# Try to compile conftest.$ac_ext, and return whether this succeeded. 1516ac_fn_c_try_compile () 1517{ 1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1519 rm -f conftest.$ac_objext 1520 if { { ac_try="$ac_compile" 1521case "(($ac_try" in 1522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1523 *) ac_try_echo=$ac_try;; 1524esac 1525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1526$as_echo "$ac_try_echo"; } >&5 1527 (eval "$ac_compile") 2>conftest.err 1528 ac_status=$? 1529 if test -s conftest.err; then 1530 grep -v '^ *+' conftest.err >conftest.er1 1531 cat conftest.er1 >&5 1532 mv -f conftest.er1 conftest.err 1533 fi 1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1535 test $ac_status = 0; } && { 1536 test -z "$ac_c_werror_flag" || 1537 test ! -s conftest.err 1538 } && test -s conftest.$ac_objext; then : 1539 ac_retval=0 1540else 1541 $as_echo "$as_me: failed program was:" >&5 1542sed 's/^/| /' conftest.$ac_ext >&5 1543 1544 ac_retval=1 1545fi 1546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1547 as_fn_set_status $ac_retval 1548 1549} # ac_fn_c_try_compile 1550 1551# ac_fn_c_try_link LINENO 1552# ----------------------- 1553# Try to link conftest.$ac_ext, and return whether this succeeded. 1554ac_fn_c_try_link () 1555{ 1556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1557 rm -f conftest.$ac_objext conftest$ac_exeext 1558 if { { ac_try="$ac_link" 1559case "(($ac_try" in 1560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1561 *) ac_try_echo=$ac_try;; 1562esac 1563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1564$as_echo "$ac_try_echo"; } >&5 1565 (eval "$ac_link") 2>conftest.err 1566 ac_status=$? 1567 if test -s conftest.err; then 1568 grep -v '^ *+' conftest.err >conftest.er1 1569 cat conftest.er1 >&5 1570 mv -f conftest.er1 conftest.err 1571 fi 1572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1573 test $ac_status = 0; } && { 1574 test -z "$ac_c_werror_flag" || 1575 test ! -s conftest.err 1576 } && test -s conftest$ac_exeext && { 1577 test "$cross_compiling" = yes || 1578 test -x conftest$ac_exeext 1579 }; then : 1580 ac_retval=0 1581else 1582 $as_echo "$as_me: failed program was:" >&5 1583sed 's/^/| /' conftest.$ac_ext >&5 1584 1585 ac_retval=1 1586fi 1587 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1588 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1589 # interfere with the next link command; also delete a directory that is 1590 # left behind by Apple's compiler. We do this before executing the actions. 1591 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1593 as_fn_set_status $ac_retval 1594 1595} # ac_fn_c_try_link 1596 1597# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1598# ------------------------------------------------------- 1599# Tests whether HEADER exists and can be compiled using the include files in 1600# INCLUDES, setting the cache variable VAR accordingly. 1601ac_fn_c_check_header_compile () 1602{ 1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1605$as_echo_n "checking for $2... " >&6; } 1606if eval \${$3+:} false; then : 1607 $as_echo_n "(cached) " >&6 1608else 1609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1610/* end confdefs.h. */ 1611$4 1612#include <$2> 1613_ACEOF 1614if ac_fn_c_try_compile "$LINENO"; then : 1615 eval "$3=yes" 1616else 1617 eval "$3=no" 1618fi 1619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1620fi 1621eval ac_res=\$$3 1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1623$as_echo "$ac_res" >&6; } 1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1625 1626} # ac_fn_c_check_header_compile 1627 1628# ac_fn_c_try_cpp LINENO 1629# ---------------------- 1630# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1631ac_fn_c_try_cpp () 1632{ 1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1634 if { { ac_try="$ac_cpp conftest.$ac_ext" 1635case "(($ac_try" in 1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1637 *) ac_try_echo=$ac_try;; 1638esac 1639eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1640$as_echo "$ac_try_echo"; } >&5 1641 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1642 ac_status=$? 1643 if test -s conftest.err; then 1644 grep -v '^ *+' conftest.err >conftest.er1 1645 cat conftest.er1 >&5 1646 mv -f conftest.er1 conftest.err 1647 fi 1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1649 test $ac_status = 0; } > conftest.i && { 1650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1651 test ! -s conftest.err 1652 }; then : 1653 ac_retval=0 1654else 1655 $as_echo "$as_me: failed program was:" >&5 1656sed 's/^/| /' conftest.$ac_ext >&5 1657 1658 ac_retval=1 1659fi 1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1661 as_fn_set_status $ac_retval 1662 1663} # ac_fn_c_try_cpp 1664 1665# ac_fn_c_try_run LINENO 1666# ---------------------- 1667# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1668# that executables *can* be run. 1669ac_fn_c_try_run () 1670{ 1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1672 if { { ac_try="$ac_link" 1673case "(($ac_try" in 1674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1675 *) ac_try_echo=$ac_try;; 1676esac 1677eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1678$as_echo "$ac_try_echo"; } >&5 1679 (eval "$ac_link") 2>&5 1680 ac_status=$? 1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1682 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1683 { { case "(($ac_try" in 1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1685 *) ac_try_echo=$ac_try;; 1686esac 1687eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1688$as_echo "$ac_try_echo"; } >&5 1689 (eval "$ac_try") 2>&5 1690 ac_status=$? 1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1692 test $ac_status = 0; }; }; then : 1693 ac_retval=0 1694else 1695 $as_echo "$as_me: program exited with status $ac_status" >&5 1696 $as_echo "$as_me: failed program was:" >&5 1697sed 's/^/| /' conftest.$ac_ext >&5 1698 1699 ac_retval=$ac_status 1700fi 1701 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1703 as_fn_set_status $ac_retval 1704 1705} # ac_fn_c_try_run 1706 1707# ac_fn_c_check_func LINENO FUNC VAR 1708# ---------------------------------- 1709# Tests whether FUNC exists, setting the cache variable VAR accordingly 1710ac_fn_c_check_func () 1711{ 1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1714$as_echo_n "checking for $2... " >&6; } 1715if eval \${$3+:} false; then : 1716 $as_echo_n "(cached) " >&6 1717else 1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1719/* end confdefs.h. */ 1720/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1721 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1722#define $2 innocuous_$2 1723 1724/* System header to define __stub macros and hopefully few prototypes, 1725 which can conflict with char $2 (); below. 1726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1727 <limits.h> exists even on freestanding compilers. */ 1728 1729#ifdef __STDC__ 1730# include <limits.h> 1731#else 1732# include <assert.h> 1733#endif 1734 1735#undef $2 1736 1737/* Override any GCC internal prototype to avoid an error. 1738 Use char because int might match the return type of a GCC 1739 builtin and then its argument prototype would still apply. */ 1740#ifdef __cplusplus 1741extern "C" 1742#endif 1743char $2 (); 1744/* The GNU C library defines this for functions which it implements 1745 to always fail with ENOSYS. Some functions are actually named 1746 something starting with __ and the normal name is an alias. */ 1747#if defined __stub_$2 || defined __stub___$2 1748choke me 1749#endif 1750 1751int 1752main () 1753{ 1754return $2 (); 1755 ; 1756 return 0; 1757} 1758_ACEOF 1759if ac_fn_c_try_link "$LINENO"; then : 1760 eval "$3=yes" 1761else 1762 eval "$3=no" 1763fi 1764rm -f core conftest.err conftest.$ac_objext \ 1765 conftest$ac_exeext conftest.$ac_ext 1766fi 1767eval ac_res=\$$3 1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1769$as_echo "$ac_res" >&6; } 1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1771 1772} # ac_fn_c_check_func 1773 1774# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1775# ------------------------------------------------------- 1776# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1777# the include files in INCLUDES and setting the cache variable VAR 1778# accordingly. 1779ac_fn_c_check_header_mongrel () 1780{ 1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1782 if eval \${$3+:} false; then : 1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1784$as_echo_n "checking for $2... " >&6; } 1785if eval \${$3+:} false; then : 1786 $as_echo_n "(cached) " >&6 1787fi 1788eval ac_res=\$$3 1789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1790$as_echo "$ac_res" >&6; } 1791else 1792 # Is the header compilable? 1793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1794$as_echo_n "checking $2 usability... " >&6; } 1795cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1796/* end confdefs.h. */ 1797$4 1798#include <$2> 1799_ACEOF 1800if ac_fn_c_try_compile "$LINENO"; then : 1801 ac_header_compiler=yes 1802else 1803 ac_header_compiler=no 1804fi 1805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1807$as_echo "$ac_header_compiler" >&6; } 1808 1809# Is the header present? 1810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1811$as_echo_n "checking $2 presence... " >&6; } 1812cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1813/* end confdefs.h. */ 1814#include <$2> 1815_ACEOF 1816if ac_fn_c_try_cpp "$LINENO"; then : 1817 ac_header_preproc=yes 1818else 1819 ac_header_preproc=no 1820fi 1821rm -f conftest.err conftest.i conftest.$ac_ext 1822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1823$as_echo "$ac_header_preproc" >&6; } 1824 1825# So? What about this header? 1826case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1827 yes:no: ) 1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1829$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1831$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1832 ;; 1833 no:yes:* ) 1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1835$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1837$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1839$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1841$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1843$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1844 ;; 1845esac 1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1847$as_echo_n "checking for $2... " >&6; } 1848if eval \${$3+:} false; then : 1849 $as_echo_n "(cached) " >&6 1850else 1851 eval "$3=\$ac_header_compiler" 1852fi 1853eval ac_res=\$$3 1854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1855$as_echo "$ac_res" >&6; } 1856fi 1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1858 1859} # ac_fn_c_check_header_mongrel 1860cat >config.log <<_ACEOF 1861This file contains any messages produced by compilers while 1862running configure, to aid debugging if configure makes a mistake. 1863 1864It was created by idnkit $as_me 2.3, which was 1865generated by GNU Autoconf 2.69. Invocation command line was 1866 1867 $ $0 $@ 1868 1869_ACEOF 1870exec 5>>config.log 1871{ 1872cat <<_ASUNAME 1873## --------- ## 1874## Platform. ## 1875## --------- ## 1876 1877hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1878uname -m = `(uname -m) 2>/dev/null || echo unknown` 1879uname -r = `(uname -r) 2>/dev/null || echo unknown` 1880uname -s = `(uname -s) 2>/dev/null || echo unknown` 1881uname -v = `(uname -v) 2>/dev/null || echo unknown` 1882 1883/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1884/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1885 1886/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1887/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1888/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1889/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1890/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1891/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1892/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1893 1894_ASUNAME 1895 1896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1897for as_dir in $PATH 1898do 1899 IFS=$as_save_IFS 1900 test -z "$as_dir" && as_dir=. 1901 $as_echo "PATH: $as_dir" 1902 done 1903IFS=$as_save_IFS 1904 1905} >&5 1906 1907cat >&5 <<_ACEOF 1908 1909 1910## ----------- ## 1911## Core tests. ## 1912## ----------- ## 1913 1914_ACEOF 1915 1916 1917# Keep a trace of the command line. 1918# Strip out --no-create and --no-recursion so they do not pile up. 1919# Strip out --silent because we don't want to record it for future runs. 1920# Also quote any args containing shell meta-characters. 1921# Make two passes to allow for proper duplicate-argument suppression. 1922ac_configure_args= 1923ac_configure_args0= 1924ac_configure_args1= 1925ac_must_keep_next=false 1926for ac_pass in 1 2 1927do 1928 for ac_arg 1929 do 1930 case $ac_arg in 1931 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1932 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1933 | -silent | --silent | --silen | --sile | --sil) 1934 continue ;; 1935 *\'*) 1936 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1937 esac 1938 case $ac_pass in 1939 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1940 2) 1941 as_fn_append ac_configure_args1 " '$ac_arg'" 1942 if test $ac_must_keep_next = true; then 1943 ac_must_keep_next=false # Got value, back to normal. 1944 else 1945 case $ac_arg in 1946 *=* | --config-cache | -C | -disable-* | --disable-* \ 1947 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1948 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1949 | -with-* | --with-* | -without-* | --without-* | --x) 1950 case "$ac_configure_args0 " in 1951 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1952 esac 1953 ;; 1954 -* ) ac_must_keep_next=true ;; 1955 esac 1956 fi 1957 as_fn_append ac_configure_args " '$ac_arg'" 1958 ;; 1959 esac 1960 done 1961done 1962{ ac_configure_args0=; unset ac_configure_args0;} 1963{ ac_configure_args1=; unset ac_configure_args1;} 1964 1965# When interrupted or exit'd, cleanup temporary files, and complete 1966# config.log. We remove comments because anyway the quotes in there 1967# would cause problems or look ugly. 1968# WARNING: Use '\'' to represent an apostrophe within the trap. 1969# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1970trap 'exit_status=$? 1971 # Save into config.log some information that might help in debugging. 1972 { 1973 echo 1974 1975 $as_echo "## ---------------- ## 1976## Cache variables. ## 1977## ---------------- ##" 1978 echo 1979 # The following way of writing the cache mishandles newlines in values, 1980( 1981 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1982 eval ac_val=\$$ac_var 1983 case $ac_val in #( 1984 *${as_nl}*) 1985 case $ac_var in #( 1986 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1987$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1988 esac 1989 case $ac_var in #( 1990 _ | IFS | as_nl) ;; #( 1991 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1992 *) { eval $ac_var=; unset $ac_var;} ;; 1993 esac ;; 1994 esac 1995 done 1996 (set) 2>&1 | 1997 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1998 *${as_nl}ac_space=\ *) 1999 sed -n \ 2000 "s/'\''/'\''\\\\'\'''\''/g; 2001 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2002 ;; #( 2003 *) 2004 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2005 ;; 2006 esac | 2007 sort 2008) 2009 echo 2010 2011 $as_echo "## ----------------- ## 2012## Output variables. ## 2013## ----------------- ##" 2014 echo 2015 for ac_var in $ac_subst_vars 2016 do 2017 eval ac_val=\$$ac_var 2018 case $ac_val in 2019 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2020 esac 2021 $as_echo "$ac_var='\''$ac_val'\''" 2022 done | sort 2023 echo 2024 2025 if test -n "$ac_subst_files"; then 2026 $as_echo "## ------------------- ## 2027## File substitutions. ## 2028## ------------------- ##" 2029 echo 2030 for ac_var in $ac_subst_files 2031 do 2032 eval ac_val=\$$ac_var 2033 case $ac_val in 2034 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2035 esac 2036 $as_echo "$ac_var='\''$ac_val'\''" 2037 done | sort 2038 echo 2039 fi 2040 2041 if test -s confdefs.h; then 2042 $as_echo "## ----------- ## 2043## confdefs.h. ## 2044## ----------- ##" 2045 echo 2046 cat confdefs.h 2047 echo 2048 fi 2049 test "$ac_signal" != 0 && 2050 $as_echo "$as_me: caught signal $ac_signal" 2051 $as_echo "$as_me: exit $exit_status" 2052 } >&5 2053 rm -f core *.core core.conftest.* && 2054 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2055 exit $exit_status 2056' 0 2057for ac_signal in 1 2 13 15; do 2058 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2059done 2060ac_signal=0 2061 2062# confdefs.h avoids OS command line length limits that DEFS can exceed. 2063rm -f -r conftest* confdefs.h 2064 2065$as_echo "/* confdefs.h */" > confdefs.h 2066 2067# Predefined preprocessor variables. 2068 2069cat >>confdefs.h <<_ACEOF 2070#define PACKAGE_NAME "$PACKAGE_NAME" 2071_ACEOF 2072 2073cat >>confdefs.h <<_ACEOF 2074#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2075_ACEOF 2076 2077cat >>confdefs.h <<_ACEOF 2078#define PACKAGE_VERSION "$PACKAGE_VERSION" 2079_ACEOF 2080 2081cat >>confdefs.h <<_ACEOF 2082#define PACKAGE_STRING "$PACKAGE_STRING" 2083_ACEOF 2084 2085cat >>confdefs.h <<_ACEOF 2086#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2087_ACEOF 2088 2089cat >>confdefs.h <<_ACEOF 2090#define PACKAGE_URL "$PACKAGE_URL" 2091_ACEOF 2092 2093 2094# Let the site file select an alternate cache file if it wants to. 2095# Prefer an explicitly selected file to automatically selected ones. 2096ac_site_file1=NONE 2097ac_site_file2=NONE 2098if test -n "$CONFIG_SITE"; then 2099 # We do not want a PATH search for config.site. 2100 case $CONFIG_SITE in #(( 2101 -*) ac_site_file1=./$CONFIG_SITE;; 2102 */*) ac_site_file1=$CONFIG_SITE;; 2103 *) ac_site_file1=./$CONFIG_SITE;; 2104 esac 2105elif test "x$prefix" != xNONE; then 2106 ac_site_file1=$prefix/share/config.site 2107 ac_site_file2=$prefix/etc/config.site 2108else 2109 ac_site_file1=$ac_default_prefix/share/config.site 2110 ac_site_file2=$ac_default_prefix/etc/config.site 2111fi 2112for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2113do 2114 test "x$ac_site_file" = xNONE && continue 2115 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2116 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2117$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2118 sed 's/^/| /' "$ac_site_file" >&5 2119 . "$ac_site_file" \ 2120 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2121$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2122as_fn_error $? "failed to load site script $ac_site_file 2123See \`config.log' for more details" "$LINENO" 5; } 2124 fi 2125done 2126 2127if test -r "$cache_file"; then 2128 # Some versions of bash will fail to source /dev/null (special files 2129 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2130 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2131 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2132$as_echo "$as_me: loading cache $cache_file" >&6;} 2133 case $cache_file in 2134 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2135 *) . "./$cache_file";; 2136 esac 2137 fi 2138else 2139 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2140$as_echo "$as_me: creating cache $cache_file" >&6;} 2141 >$cache_file 2142fi 2143 2144# Check that the precious variables saved in the cache have kept the same 2145# value. 2146ac_cache_corrupted=false 2147for ac_var in $ac_precious_vars; do 2148 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2149 eval ac_new_set=\$ac_env_${ac_var}_set 2150 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2151 eval ac_new_val=\$ac_env_${ac_var}_value 2152 case $ac_old_set,$ac_new_set in 2153 set,) 2154 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2155$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2156 ac_cache_corrupted=: ;; 2157 ,set) 2158 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2159$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2160 ac_cache_corrupted=: ;; 2161 ,);; 2162 *) 2163 if test "x$ac_old_val" != "x$ac_new_val"; then 2164 # differences in whitespace do not lead to failure. 2165 ac_old_val_w=`echo x $ac_old_val` 2166 ac_new_val_w=`echo x $ac_new_val` 2167 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2168 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2169$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2170 ac_cache_corrupted=: 2171 else 2172 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2173$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2174 eval $ac_var=\$ac_old_val 2175 fi 2176 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2177$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2178 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2179$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2180 fi;; 2181 esac 2182 # Pass precious variables to config.status. 2183 if test "$ac_new_set" = set; then 2184 case $ac_new_val in 2185 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2186 *) ac_arg=$ac_var=$ac_new_val ;; 2187 esac 2188 case " $ac_configure_args " in 2189 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2190 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2191 esac 2192 fi 2193done 2194if $ac_cache_corrupted; then 2195 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2196$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2198$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2199 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2200fi 2201## -------------------- ## 2202## Main body of script. ## 2203## -------------------- ## 2204 2205ac_ext=c 2206ac_cpp='$CPP $CPPFLAGS' 2207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2209ac_compiler_gnu=$ac_cv_c_compiler_gnu 2210 2211 2212 2213 2214am__api_version='1.12' 2215 2216ac_aux_dir= 2217for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2218 if test -f "$ac_dir/install-sh"; then 2219 ac_aux_dir=$ac_dir 2220 ac_install_sh="$ac_aux_dir/install-sh -c" 2221 break 2222 elif test -f "$ac_dir/install.sh"; then 2223 ac_aux_dir=$ac_dir 2224 ac_install_sh="$ac_aux_dir/install.sh -c" 2225 break 2226 elif test -f "$ac_dir/shtool"; then 2227 ac_aux_dir=$ac_dir 2228 ac_install_sh="$ac_aux_dir/shtool install -c" 2229 break 2230 fi 2231done 2232if test -z "$ac_aux_dir"; then 2233 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2234fi 2235 2236# These three variables are undocumented and unsupported, 2237# and are intended to be withdrawn in a future Autoconf release. 2238# They can cause serious problems if a builder's source tree is in a directory 2239# whose full name contains unusual characters. 2240ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2241ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2242ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2243 2244 2245# Find a good install program. We prefer a C program (faster), 2246# so one script is as good as another. But avoid the broken or 2247# incompatible versions: 2248# SysV /etc/install, /usr/sbin/install 2249# SunOS /usr/etc/install 2250# IRIX /sbin/install 2251# AIX /bin/install 2252# AmigaOS /C/install, which installs bootblocks on floppy discs 2253# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2254# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2255# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2256# OS/2's system install, which has a completely different semantic 2257# ./install, which can be erroneously created by make from ./install.sh. 2258# Reject install programs that cannot install multiple files. 2259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2260$as_echo_n "checking for a BSD-compatible install... " >&6; } 2261if test -z "$INSTALL"; then 2262if ${ac_cv_path_install+:} false; then : 2263 $as_echo_n "(cached) " >&6 2264else 2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2266for as_dir in $PATH 2267do 2268 IFS=$as_save_IFS 2269 test -z "$as_dir" && as_dir=. 2270 # Account for people who put trailing slashes in PATH elements. 2271case $as_dir/ in #(( 2272 ./ | .// | /[cC]/* | \ 2273 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2274 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2275 /usr/ucb/* ) ;; 2276 *) 2277 # OSF1 and SCO ODT 3.0 have their own names for install. 2278 # Don't use installbsd from OSF since it installs stuff as root 2279 # by default. 2280 for ac_prog in ginstall scoinst install; do 2281 for ac_exec_ext in '' $ac_executable_extensions; do 2282 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2283 if test $ac_prog = install && 2284 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2285 # AIX install. It has an incompatible calling convention. 2286 : 2287 elif test $ac_prog = install && 2288 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2289 # program-specific install script used by HP pwplus--don't use. 2290 : 2291 else 2292 rm -rf conftest.one conftest.two conftest.dir 2293 echo one > conftest.one 2294 echo two > conftest.two 2295 mkdir conftest.dir 2296 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2297 test -s conftest.one && test -s conftest.two && 2298 test -s conftest.dir/conftest.one && 2299 test -s conftest.dir/conftest.two 2300 then 2301 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2302 break 3 2303 fi 2304 fi 2305 fi 2306 done 2307 done 2308 ;; 2309esac 2310 2311 done 2312IFS=$as_save_IFS 2313 2314rm -rf conftest.one conftest.two conftest.dir 2315 2316fi 2317 if test "${ac_cv_path_install+set}" = set; then 2318 INSTALL=$ac_cv_path_install 2319 else 2320 # As a last resort, use the slow shell script. Don't cache a 2321 # value for INSTALL within a source directory, because that will 2322 # break other packages using the cache if that directory is 2323 # removed, or if the value is a relative name. 2324 INSTALL=$ac_install_sh 2325 fi 2326fi 2327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2328$as_echo "$INSTALL" >&6; } 2329 2330# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2331# It thinks the first close brace ends the variable substitution. 2332test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2333 2334test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2335 2336test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2337 2338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2339$as_echo_n "checking whether build environment is sane... " >&6; } 2340# Reject unsafe characters in $srcdir or the absolute working directory 2341# name. Accept space and tab only in the latter. 2342am_lf=' 2343' 2344case `pwd` in 2345 *[\\\"\#\$\&\'\`$am_lf]*) 2346 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2347esac 2348case $srcdir in 2349 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2350 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2351esac 2352 2353# Do 'set' in a subshell so we don't clobber the current shell's 2354# arguments. Must try -L first in case configure is actually a 2355# symlink; some systems play weird games with the mod time of symlinks 2356# (eg FreeBSD returns the mod time of the symlink's containing 2357# directory). 2358if ( 2359 am_has_slept=no 2360 for am_try in 1 2; do 2361 echo "timestamp, slept: $am_has_slept" > conftest.file 2362 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2363 if test "$*" = "X"; then 2364 # -L didn't work. 2365 set X `ls -t "$srcdir/configure" conftest.file` 2366 fi 2367 if test "$*" != "X $srcdir/configure conftest.file" \ 2368 && test "$*" != "X conftest.file $srcdir/configure"; then 2369 2370 # If neither matched, then we have a broken ls. This can happen 2371 # if, for instance, CONFIG_SHELL is bash and it inherits a 2372 # broken ls alias from the environment. This has actually 2373 # happened. Such a system could not be considered "sane". 2374 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2375 alias in your environment" "$LINENO" 5 2376 fi 2377 if test "$2" = conftest.file || test $am_try -eq 2; then 2378 break 2379 fi 2380 # Just in case. 2381 sleep 1 2382 am_has_slept=yes 2383 done 2384 test "$2" = conftest.file 2385 ) 2386then 2387 # Ok. 2388 : 2389else 2390 as_fn_error $? "newly created file is older than distributed files! 2391Check your system clock" "$LINENO" 5 2392fi 2393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2394$as_echo "yes" >&6; } 2395# If we didn't sleep, we still need to ensure time stamps of config.status and 2396# generated files are strictly newer. 2397am_sleep_pid= 2398if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2399 ( sleep 1 ) & 2400 am_sleep_pid=$! 2401fi 2402 2403rm -f conftest.file 2404 2405test "$program_prefix" != NONE && 2406 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2407# Use a double $ so make ignores it. 2408test "$program_suffix" != NONE && 2409 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2410# Double any \ or $. 2411# By default was `s,x,x', remove it if useless. 2412ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2413program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2414 2415# expand $ac_aux_dir to an absolute path 2416am_aux_dir=`cd $ac_aux_dir && pwd` 2417 2418if test x"${MISSING+set}" != xset; then 2419 case $am_aux_dir in 2420 *\ * | *\ *) 2421 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2422 *) 2423 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2424 esac 2425fi 2426# Use eval to expand $SHELL 2427if eval "$MISSING --run true"; then 2428 am_missing_run="$MISSING --run " 2429else 2430 am_missing_run= 2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2432$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2433fi 2434 2435if test x"${install_sh}" != xset; then 2436 case $am_aux_dir in 2437 *\ * | *\ *) 2438 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2439 *) 2440 install_sh="\${SHELL} $am_aux_dir/install-sh" 2441 esac 2442fi 2443 2444# Installed binaries are usually stripped using 'strip' when the user 2445# run "make install-strip". However 'strip' might not be the right 2446# tool to use in cross-compilation environments, therefore Automake 2447# will honor the 'STRIP' environment variable to overrule this program. 2448if test "$cross_compiling" != no; then 2449 if test -n "$ac_tool_prefix"; then 2450 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2451set dummy ${ac_tool_prefix}strip; ac_word=$2 2452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2453$as_echo_n "checking for $ac_word... " >&6; } 2454if ${ac_cv_prog_STRIP+:} false; then : 2455 $as_echo_n "(cached) " >&6 2456else 2457 if test -n "$STRIP"; then 2458 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2459else 2460as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2461for as_dir in $PATH 2462do 2463 IFS=$as_save_IFS 2464 test -z "$as_dir" && as_dir=. 2465 for ac_exec_ext in '' $ac_executable_extensions; do 2466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2467 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2469 break 2 2470 fi 2471done 2472 done 2473IFS=$as_save_IFS 2474 2475fi 2476fi 2477STRIP=$ac_cv_prog_STRIP 2478if test -n "$STRIP"; then 2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2480$as_echo "$STRIP" >&6; } 2481else 2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2483$as_echo "no" >&6; } 2484fi 2485 2486 2487fi 2488if test -z "$ac_cv_prog_STRIP"; then 2489 ac_ct_STRIP=$STRIP 2490 # Extract the first word of "strip", so it can be a program name with args. 2491set dummy strip; ac_word=$2 2492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2493$as_echo_n "checking for $ac_word... " >&6; } 2494if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2495 $as_echo_n "(cached) " >&6 2496else 2497 if test -n "$ac_ct_STRIP"; then 2498 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2499else 2500as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2501for as_dir in $PATH 2502do 2503 IFS=$as_save_IFS 2504 test -z "$as_dir" && as_dir=. 2505 for ac_exec_ext in '' $ac_executable_extensions; do 2506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2507 ac_cv_prog_ac_ct_STRIP="strip" 2508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2509 break 2 2510 fi 2511done 2512 done 2513IFS=$as_save_IFS 2514 2515fi 2516fi 2517ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2518if test -n "$ac_ct_STRIP"; then 2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2520$as_echo "$ac_ct_STRIP" >&6; } 2521else 2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2523$as_echo "no" >&6; } 2524fi 2525 2526 if test "x$ac_ct_STRIP" = x; then 2527 STRIP=":" 2528 else 2529 case $cross_compiling:$ac_tool_warned in 2530yes:) 2531{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2532$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2533ac_tool_warned=yes ;; 2534esac 2535 STRIP=$ac_ct_STRIP 2536 fi 2537else 2538 STRIP="$ac_cv_prog_STRIP" 2539fi 2540 2541fi 2542INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2543 2544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2545$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2546if test -z "$MKDIR_P"; then 2547 if ${ac_cv_path_mkdir+:} false; then : 2548 $as_echo_n "(cached) " >&6 2549else 2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2551for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2552do 2553 IFS=$as_save_IFS 2554 test -z "$as_dir" && as_dir=. 2555 for ac_prog in mkdir gmkdir; do 2556 for ac_exec_ext in '' $ac_executable_extensions; do 2557 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2558 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2559 'mkdir (GNU coreutils) '* | \ 2560 'mkdir (coreutils) '* | \ 2561 'mkdir (fileutils) '4.1*) 2562 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2563 break 3;; 2564 esac 2565 done 2566 done 2567 done 2568IFS=$as_save_IFS 2569 2570fi 2571 2572 test -d ./--version && rmdir ./--version 2573 if test "${ac_cv_path_mkdir+set}" = set; then 2574 MKDIR_P="$ac_cv_path_mkdir -p" 2575 else 2576 # As a last resort, use the slow shell script. Don't cache a 2577 # value for MKDIR_P within a source directory, because that will 2578 # break other packages using the cache if that directory is 2579 # removed, or if the value is a relative name. 2580 MKDIR_P="$ac_install_sh -d" 2581 fi 2582fi 2583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2584$as_echo "$MKDIR_P" >&6; } 2585 2586for ac_prog in gawk mawk nawk awk 2587do 2588 # Extract the first word of "$ac_prog", so it can be a program name with args. 2589set dummy $ac_prog; ac_word=$2 2590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2591$as_echo_n "checking for $ac_word... " >&6; } 2592if ${ac_cv_prog_AWK+:} false; then : 2593 $as_echo_n "(cached) " >&6 2594else 2595 if test -n "$AWK"; then 2596 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2597else 2598as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2599for as_dir in $PATH 2600do 2601 IFS=$as_save_IFS 2602 test -z "$as_dir" && as_dir=. 2603 for ac_exec_ext in '' $ac_executable_extensions; do 2604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2605 ac_cv_prog_AWK="$ac_prog" 2606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2607 break 2 2608 fi 2609done 2610 done 2611IFS=$as_save_IFS 2612 2613fi 2614fi 2615AWK=$ac_cv_prog_AWK 2616if test -n "$AWK"; then 2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2618$as_echo "$AWK" >&6; } 2619else 2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2621$as_echo "no" >&6; } 2622fi 2623 2624 2625 test -n "$AWK" && break 2626done 2627 2628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2629$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2630set x ${MAKE-make} 2631ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2632if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2633 $as_echo_n "(cached) " >&6 2634else 2635 cat >conftest.make <<\_ACEOF 2636SHELL = /bin/sh 2637all: 2638 @echo '@@@%%%=$(MAKE)=@@@%%%' 2639_ACEOF 2640# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2641case `${MAKE-make} -f conftest.make 2>/dev/null` in 2642 *@@@%%%=?*=@@@%%%*) 2643 eval ac_cv_prog_make_${ac_make}_set=yes;; 2644 *) 2645 eval ac_cv_prog_make_${ac_make}_set=no;; 2646esac 2647rm -f conftest.make 2648fi 2649if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2651$as_echo "yes" >&6; } 2652 SET_MAKE= 2653else 2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2655$as_echo "no" >&6; } 2656 SET_MAKE="MAKE=${MAKE-make}" 2657fi 2658 2659rm -rf .tst 2>/dev/null 2660mkdir .tst 2>/dev/null 2661if test -d .tst; then 2662 am__leading_dot=. 2663else 2664 am__leading_dot=_ 2665fi 2666rmdir .tst 2>/dev/null 2667 2668if test "`cd $srcdir && pwd`" != "`pwd`"; then 2669 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2670 # is not polluted with repeated "-I." 2671 am__isrc=' -I$(srcdir)' 2672 # test to see if srcdir already configured 2673 if test -f $srcdir/config.status; then 2674 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2675 fi 2676fi 2677 2678# test whether we have cygpath 2679if test -z "$CYGPATH_W"; then 2680 if (cygpath --version) >/dev/null 2>/dev/null; then 2681 CYGPATH_W='cygpath -w' 2682 else 2683 CYGPATH_W=echo 2684 fi 2685fi 2686 2687 2688# Define the identity of the package. 2689 PACKAGE='idnkit' 2690 VERSION='2.3' 2691 2692 2693cat >>confdefs.h <<_ACEOF 2694#define PACKAGE "$PACKAGE" 2695_ACEOF 2696 2697 2698cat >>confdefs.h <<_ACEOF 2699#define VERSION "$VERSION" 2700_ACEOF 2701 2702# Some tools Automake needs. 2703 2704ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2705 2706 2707AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2708 2709 2710AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2711 2712 2713AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2714 2715 2716MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2717 2718# For better backward compatibility. To be removed once Automake 1.9.x 2719# dies out for good. For more background, see: 2720# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2721# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2722mkdir_p='$(MKDIR_P)' 2723 2724# We need awk for the "check" target. The system "awk" is bad on 2725# some platforms. 2726# Always define AMTAR for backward compatibility. Yes, it's still used 2727# in the wild :-( We should find a proper way to deprecate it ... 2728AMTAR='$${TAR-tar}' 2729 2730am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2731 2732 2733 2734 2735 2736 2737MAJOR_VERSION=2 2738 2739 2740MINOR_VERSION=2 2741 2742 2743LIB_VERSION_INFO=2:3:0 2744 2745ac_ext=c 2746ac_cpp='$CPP $CPPFLAGS' 2747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2749ac_compiler_gnu=$ac_cv_c_compiler_gnu 2750 2751 2752UTF8_NAME=no 2753 2754# Check whether --with-utf8 was given. 2755if test "${with_utf8+set}" = set; then : 2756 withval=$with_utf8; UTF8_NAME=$withval 2757else 2758 UTF8_NAME='UTF-8' 2759fi 2760 2761case "$UTF8_NAME" in 2762no) 2763 UTF8_NAME=UTF-8 2764 ;; 2765yes) 2766 as_fn_error $? "You must specify NAME to --with-utf8 option." "$LINENO" 5 2767 ;; 2768*) 2769 2770cat >>confdefs.h <<_ACEOF 2771#define IDN_UTF8_ENCODING_NAME "$UTF8_NAME" 2772_ACEOF 2773 2774 ;; 2775esac 2776 2777 2778liteonly=no 2779# Check whether --enable-liteonly was given. 2780if test "${enable_liteonly+set}" = set; then : 2781 enableval=$enable_liteonly; case "${enableval}" in 2782 yes) liteonly=yes ;; 2783 no) liteonly==no ;; 2784 *) as_fn_error $? "invalid argument to --enable-liteonly" "$LINENO" 5 ;; 2785esac 2786else 2787 liteonly=no 2788fi 2789 2790 if test ${liteonly} = yes; then 2791 LITEONLY_TRUE= 2792 LITEONLY_FALSE='#' 2793else 2794 LITEONLY_TRUE='#' 2795 LITEONLY_FALSE= 2796fi 2797 2798 2799ICONVINC= 2800ICONVLIB= 2801 2802libiconv=unspec 2803 2804# Check whether --with-libiconv was given. 2805if test "${with_libiconv+set}" = set; then : 2806 withval=$with_libiconv; libiconv=$withval 2807fi 2808 2809case "$libiconv" in 2810unspec) 2811 ;; 2812no) 2813 ICONVINC= 2814 ICONVLIB= 2815 ;; 2816yes) 2817 if test "$liteonly" = yes ; then 2818 as_fn_error $? "you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support." "$LINENO" 5 2819 fi 2820 if test X$prefix = XNONE ; then 2821 libiconv=$ac_default_prefix 2822 else 2823 libiconv=$prefix 2824 fi 2825 ICONVINC="-I$libiconv/include" 2826 ICONVLIB="-L$libiconv/lib -R$libiconv/lib " 2827 ;; 2828*) 2829 if test "$liteonly" = yes ; then 2830 as_fn_error $? "you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support." "$LINENO" 5 2831 fi 2832 ICONVINC="-I$libiconv/include" 2833 ICONVLIB="-L$libiconv/lib -R$libiconv/lib " 2834 ;; 2835esac 2836 2837iconv_include=unspec 2838 2839# Check whether --with-iconv-include was given. 2840if test "${with_iconv_include+set}" = set; then : 2841 withval=$with_iconv_include; iconv_include=$withval 2842fi 2843 2844case "$iconv_include" in 2845unspec) 2846 ;; 2847no) 2848 ICONVINC= 2849 ;; 2850yes) 2851 if test "$liteonly" = yes ; then 2852 as_fn_error $? "you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support." "$LINENO" 5 2853 fi 2854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You must supply DIR to --with-iconv-include option. 2855 Ignored." >&5 2856$as_echo "$as_me: WARNING: You must supply DIR to --with-iconv-include option. 2857 Ignored." >&2;} 2858 ICONVINC= 2859 ;; 2860*) 2861 if test "$liteonly" = yes ; then 2862 as_fn_error $? "you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support." "$LINENO" 5 2863 fi 2864 ICONVINC="-I$iconv_include" 2865 ;; 2866esac 2867 2868if test "X$ICONVINC" != X ; then 2869 iconv_include="`echo X$ICONVINC | sed -e 's/^X-I//'`" 2870 if test ! -f "$iconv_include/iconv.h" ; then 2871 as_fn_error $? "iconv.h doesn't exist in $iconv_include" "$LINENO" 5 2872 fi 2873fi 2874 2875 2876 2877iconv=unspec 2878 2879# Check whether --with-iconv was given. 2880if test "${with_iconv+set}" = set; then : 2881 withval=$with_iconv; iconv=$withval 2882fi 2883 2884case "$iconv" in 2885unspec) 2886 ;; 2887no) 2888 ICONVLIB= 2889 ;; 2890yes) 2891 if test "$liteonly" = yes ; then 2892 as_fn_error $? "you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support." "$LINENO" 5 2893 fi 2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You must supply LIB to --with-iconv option. 2895 is assumed." >&5 2896$as_echo "$as_me: WARNING: You must supply LIB to --with-iconv option. 2897 is assumed." >&2;} 2898 ICONVLIB= 2899 ;; 2900*) 2901 if test "$liteonly" = yes ; then 2902 as_fn_error $? "you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support." "$LINENO" 5 2903 fi 2904 ICONVLIB=$iconv 2905 ;; 2906esac 2907 2908 2909pkgmapdir='$(datadir)/$(PACKAGE)/map' 2910 2911 2912ac_ext=c 2913ac_cpp='$CPP $CPPFLAGS' 2914ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2915ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2916ac_compiler_gnu=$ac_cv_c_compiler_gnu 2917if test -n "$ac_tool_prefix"; then 2918 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2919set dummy ${ac_tool_prefix}gcc; ac_word=$2 2920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2921$as_echo_n "checking for $ac_word... " >&6; } 2922if ${ac_cv_prog_CC+:} false; then : 2923 $as_echo_n "(cached) " >&6 2924else 2925 if test -n "$CC"; then 2926 ac_cv_prog_CC="$CC" # Let the user override the test. 2927else 2928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2929for as_dir in $PATH 2930do 2931 IFS=$as_save_IFS 2932 test -z "$as_dir" && as_dir=. 2933 for ac_exec_ext in '' $ac_executable_extensions; do 2934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2935 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2937 break 2 2938 fi 2939done 2940 done 2941IFS=$as_save_IFS 2942 2943fi 2944fi 2945CC=$ac_cv_prog_CC 2946if test -n "$CC"; then 2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2948$as_echo "$CC" >&6; } 2949else 2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2951$as_echo "no" >&6; } 2952fi 2953 2954 2955fi 2956if test -z "$ac_cv_prog_CC"; then 2957 ac_ct_CC=$CC 2958 # Extract the first word of "gcc", so it can be a program name with args. 2959set dummy gcc; ac_word=$2 2960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2961$as_echo_n "checking for $ac_word... " >&6; } 2962if ${ac_cv_prog_ac_ct_CC+:} false; then : 2963 $as_echo_n "(cached) " >&6 2964else 2965 if test -n "$ac_ct_CC"; then 2966 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2967else 2968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2969for as_dir in $PATH 2970do 2971 IFS=$as_save_IFS 2972 test -z "$as_dir" && as_dir=. 2973 for ac_exec_ext in '' $ac_executable_extensions; do 2974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2975 ac_cv_prog_ac_ct_CC="gcc" 2976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2977 break 2 2978 fi 2979done 2980 done 2981IFS=$as_save_IFS 2982 2983fi 2984fi 2985ac_ct_CC=$ac_cv_prog_ac_ct_CC 2986if test -n "$ac_ct_CC"; then 2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2988$as_echo "$ac_ct_CC" >&6; } 2989else 2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2991$as_echo "no" >&6; } 2992fi 2993 2994 if test "x$ac_ct_CC" = x; then 2995 CC="" 2996 else 2997 case $cross_compiling:$ac_tool_warned in 2998yes:) 2999{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3000$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3001ac_tool_warned=yes ;; 3002esac 3003 CC=$ac_ct_CC 3004 fi 3005else 3006 CC="$ac_cv_prog_CC" 3007fi 3008 3009if test -z "$CC"; then 3010 if test -n "$ac_tool_prefix"; then 3011 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3012set dummy ${ac_tool_prefix}cc; ac_word=$2 3013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3014$as_echo_n "checking for $ac_word... " >&6; } 3015if ${ac_cv_prog_CC+:} false; then : 3016 $as_echo_n "(cached) " >&6 3017else 3018 if test -n "$CC"; then 3019 ac_cv_prog_CC="$CC" # Let the user override the test. 3020else 3021as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3022for as_dir in $PATH 3023do 3024 IFS=$as_save_IFS 3025 test -z "$as_dir" && as_dir=. 3026 for ac_exec_ext in '' $ac_executable_extensions; do 3027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3028 ac_cv_prog_CC="${ac_tool_prefix}cc" 3029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3030 break 2 3031 fi 3032done 3033 done 3034IFS=$as_save_IFS 3035 3036fi 3037fi 3038CC=$ac_cv_prog_CC 3039if test -n "$CC"; then 3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3041$as_echo "$CC" >&6; } 3042else 3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3044$as_echo "no" >&6; } 3045fi 3046 3047 3048 fi 3049fi 3050if test -z "$CC"; then 3051 # Extract the first word of "cc", so it can be a program name with args. 3052set dummy cc; ac_word=$2 3053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3054$as_echo_n "checking for $ac_word... " >&6; } 3055if ${ac_cv_prog_CC+:} false; then : 3056 $as_echo_n "(cached) " >&6 3057else 3058 if test -n "$CC"; then 3059 ac_cv_prog_CC="$CC" # Let the user override the test. 3060else 3061 ac_prog_rejected=no 3062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3063for as_dir in $PATH 3064do 3065 IFS=$as_save_IFS 3066 test -z "$as_dir" && as_dir=. 3067 for ac_exec_ext in '' $ac_executable_extensions; do 3068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3069 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3070 ac_prog_rejected=yes 3071 continue 3072 fi 3073 ac_cv_prog_CC="cc" 3074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3075 break 2 3076 fi 3077done 3078 done 3079IFS=$as_save_IFS 3080 3081if test $ac_prog_rejected = yes; then 3082 # We found a bogon in the path, so make sure we never use it. 3083 set dummy $ac_cv_prog_CC 3084 shift 3085 if test $# != 0; then 3086 # We chose a different compiler from the bogus one. 3087 # However, it has the same basename, so the bogon will be chosen 3088 # first if we set CC to just the basename; use the full file name. 3089 shift 3090 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3091 fi 3092fi 3093fi 3094fi 3095CC=$ac_cv_prog_CC 3096if test -n "$CC"; then 3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3098$as_echo "$CC" >&6; } 3099else 3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3101$as_echo "no" >&6; } 3102fi 3103 3104 3105fi 3106if test -z "$CC"; then 3107 if test -n "$ac_tool_prefix"; then 3108 for ac_prog in cl.exe 3109 do 3110 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3111set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3113$as_echo_n "checking for $ac_word... " >&6; } 3114if ${ac_cv_prog_CC+:} false; then : 3115 $as_echo_n "(cached) " >&6 3116else 3117 if test -n "$CC"; then 3118 ac_cv_prog_CC="$CC" # Let the user override the test. 3119else 3120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3121for as_dir in $PATH 3122do 3123 IFS=$as_save_IFS 3124 test -z "$as_dir" && as_dir=. 3125 for ac_exec_ext in '' $ac_executable_extensions; do 3126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3127 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3129 break 2 3130 fi 3131done 3132 done 3133IFS=$as_save_IFS 3134 3135fi 3136fi 3137CC=$ac_cv_prog_CC 3138if test -n "$CC"; then 3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3140$as_echo "$CC" >&6; } 3141else 3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3143$as_echo "no" >&6; } 3144fi 3145 3146 3147 test -n "$CC" && break 3148 done 3149fi 3150if test -z "$CC"; then 3151 ac_ct_CC=$CC 3152 for ac_prog in cl.exe 3153do 3154 # Extract the first word of "$ac_prog", so it can be a program name with args. 3155set dummy $ac_prog; ac_word=$2 3156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3157$as_echo_n "checking for $ac_word... " >&6; } 3158if ${ac_cv_prog_ac_ct_CC+:} false; then : 3159 $as_echo_n "(cached) " >&6 3160else 3161 if test -n "$ac_ct_CC"; then 3162 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3163else 3164as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3165for as_dir in $PATH 3166do 3167 IFS=$as_save_IFS 3168 test -z "$as_dir" && as_dir=. 3169 for ac_exec_ext in '' $ac_executable_extensions; do 3170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3171 ac_cv_prog_ac_ct_CC="$ac_prog" 3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3173 break 2 3174 fi 3175done 3176 done 3177IFS=$as_save_IFS 3178 3179fi 3180fi 3181ac_ct_CC=$ac_cv_prog_ac_ct_CC 3182if test -n "$ac_ct_CC"; then 3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3184$as_echo "$ac_ct_CC" >&6; } 3185else 3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3187$as_echo "no" >&6; } 3188fi 3189 3190 3191 test -n "$ac_ct_CC" && break 3192done 3193 3194 if test "x$ac_ct_CC" = x; then 3195 CC="" 3196 else 3197 case $cross_compiling:$ac_tool_warned in 3198yes:) 3199{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3200$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3201ac_tool_warned=yes ;; 3202esac 3203 CC=$ac_ct_CC 3204 fi 3205fi 3206 3207fi 3208 3209 3210test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3211$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3212as_fn_error $? "no acceptable C compiler found in \$PATH 3213See \`config.log' for more details" "$LINENO" 5; } 3214 3215# Provide some information about the compiler. 3216$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3217set X $ac_compile 3218ac_compiler=$2 3219for ac_option in --version -v -V -qversion; do 3220 { { ac_try="$ac_compiler $ac_option >&5" 3221case "(($ac_try" in 3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3223 *) ac_try_echo=$ac_try;; 3224esac 3225eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3226$as_echo "$ac_try_echo"; } >&5 3227 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3228 ac_status=$? 3229 if test -s conftest.err; then 3230 sed '10a\ 3231... rest of stderr output deleted ... 3232 10q' conftest.err >conftest.er1 3233 cat conftest.er1 >&5 3234 fi 3235 rm -f conftest.er1 conftest.err 3236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3237 test $ac_status = 0; } 3238done 3239 3240cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3241/* end confdefs.h. */ 3242 3243int 3244main () 3245{ 3246 3247 ; 3248 return 0; 3249} 3250_ACEOF 3251ac_clean_files_save=$ac_clean_files 3252ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3253# Try to create an executable without -o first, disregard a.out. 3254# It will help us diagnose broken compilers, and finding out an intuition 3255# of exeext. 3256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3257$as_echo_n "checking whether the C compiler works... " >&6; } 3258ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3259 3260# The possible output files: 3261ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3262 3263ac_rmfiles= 3264for ac_file in $ac_files 3265do 3266 case $ac_file in 3267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3268 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3269 esac 3270done 3271rm -f $ac_rmfiles 3272 3273if { { ac_try="$ac_link_default" 3274case "(($ac_try" in 3275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3276 *) ac_try_echo=$ac_try;; 3277esac 3278eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3279$as_echo "$ac_try_echo"; } >&5 3280 (eval "$ac_link_default") 2>&5 3281 ac_status=$? 3282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3283 test $ac_status = 0; }; then : 3284 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3285# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3286# in a Makefile. We should not override ac_cv_exeext if it was cached, 3287# so that the user can short-circuit this test for compilers unknown to 3288# Autoconf. 3289for ac_file in $ac_files '' 3290do 3291 test -f "$ac_file" || continue 3292 case $ac_file in 3293 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3294 ;; 3295 [ab].out ) 3296 # We found the default executable, but exeext='' is most 3297 # certainly right. 3298 break;; 3299 *.* ) 3300 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3301 then :; else 3302 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3303 fi 3304 # We set ac_cv_exeext here because the later test for it is not 3305 # safe: cross compilers may not add the suffix if given an `-o' 3306 # argument, so we may need to know it at that point already. 3307 # Even if this section looks crufty: it has the advantage of 3308 # actually working. 3309 break;; 3310 * ) 3311 break;; 3312 esac 3313done 3314test "$ac_cv_exeext" = no && ac_cv_exeext= 3315 3316else 3317 ac_file='' 3318fi 3319if test -z "$ac_file"; then : 3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3321$as_echo "no" >&6; } 3322$as_echo "$as_me: failed program was:" >&5 3323sed 's/^/| /' conftest.$ac_ext >&5 3324 3325{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3326$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3327as_fn_error 77 "C compiler cannot create executables 3328See \`config.log' for more details" "$LINENO" 5; } 3329else 3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3331$as_echo "yes" >&6; } 3332fi 3333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3334$as_echo_n "checking for C compiler default output file name... " >&6; } 3335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3336$as_echo "$ac_file" >&6; } 3337ac_exeext=$ac_cv_exeext 3338 3339rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3340ac_clean_files=$ac_clean_files_save 3341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3342$as_echo_n "checking for suffix of executables... " >&6; } 3343if { { ac_try="$ac_link" 3344case "(($ac_try" in 3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3346 *) ac_try_echo=$ac_try;; 3347esac 3348eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3349$as_echo "$ac_try_echo"; } >&5 3350 (eval "$ac_link") 2>&5 3351 ac_status=$? 3352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3353 test $ac_status = 0; }; then : 3354 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3355# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3356# work properly (i.e., refer to `conftest.exe'), while it won't with 3357# `rm'. 3358for ac_file in conftest.exe conftest conftest.*; do 3359 test -f "$ac_file" || continue 3360 case $ac_file in 3361 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3362 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3363 break;; 3364 * ) break;; 3365 esac 3366done 3367else 3368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3369$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3370as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3371See \`config.log' for more details" "$LINENO" 5; } 3372fi 3373rm -f conftest conftest$ac_cv_exeext 3374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3375$as_echo "$ac_cv_exeext" >&6; } 3376 3377rm -f conftest.$ac_ext 3378EXEEXT=$ac_cv_exeext 3379ac_exeext=$EXEEXT 3380cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3381/* end confdefs.h. */ 3382#include <stdio.h> 3383int 3384main () 3385{ 3386FILE *f = fopen ("conftest.out", "w"); 3387 return ferror (f) || fclose (f) != 0; 3388 3389 ; 3390 return 0; 3391} 3392_ACEOF 3393ac_clean_files="$ac_clean_files conftest.out" 3394# Check that the compiler produces executables we can run. If not, either 3395# the compiler is broken, or we cross compile. 3396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3397$as_echo_n "checking whether we are cross compiling... " >&6; } 3398if test "$cross_compiling" != yes; then 3399 { { ac_try="$ac_link" 3400case "(($ac_try" in 3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3402 *) ac_try_echo=$ac_try;; 3403esac 3404eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3405$as_echo "$ac_try_echo"; } >&5 3406 (eval "$ac_link") 2>&5 3407 ac_status=$? 3408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3409 test $ac_status = 0; } 3410 if { ac_try='./conftest$ac_cv_exeext' 3411 { { case "(($ac_try" in 3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3413 *) ac_try_echo=$ac_try;; 3414esac 3415eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3416$as_echo "$ac_try_echo"; } >&5 3417 (eval "$ac_try") 2>&5 3418 ac_status=$? 3419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3420 test $ac_status = 0; }; }; then 3421 cross_compiling=no 3422 else 3423 if test "$cross_compiling" = maybe; then 3424 cross_compiling=yes 3425 else 3426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3427$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3428as_fn_error $? "cannot run C compiled programs. 3429If you meant to cross compile, use \`--host'. 3430See \`config.log' for more details" "$LINENO" 5; } 3431 fi 3432 fi 3433fi 3434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3435$as_echo "$cross_compiling" >&6; } 3436 3437rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3438ac_clean_files=$ac_clean_files_save 3439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3440$as_echo_n "checking for suffix of object files... " >&6; } 3441if ${ac_cv_objext+:} false; then : 3442 $as_echo_n "(cached) " >&6 3443else 3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3445/* end confdefs.h. */ 3446 3447int 3448main () 3449{ 3450 3451 ; 3452 return 0; 3453} 3454_ACEOF 3455rm -f conftest.o conftest.obj 3456if { { ac_try="$ac_compile" 3457case "(($ac_try" in 3458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3459 *) ac_try_echo=$ac_try;; 3460esac 3461eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3462$as_echo "$ac_try_echo"; } >&5 3463 (eval "$ac_compile") 2>&5 3464 ac_status=$? 3465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3466 test $ac_status = 0; }; then : 3467 for ac_file in conftest.o conftest.obj conftest.*; do 3468 test -f "$ac_file" || continue; 3469 case $ac_file in 3470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3471 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3472 break;; 3473 esac 3474done 3475else 3476 $as_echo "$as_me: failed program was:" >&5 3477sed 's/^/| /' conftest.$ac_ext >&5 3478 3479{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3480$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3481as_fn_error $? "cannot compute suffix of object files: cannot compile 3482See \`config.log' for more details" "$LINENO" 5; } 3483fi 3484rm -f conftest.$ac_cv_objext conftest.$ac_ext 3485fi 3486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3487$as_echo "$ac_cv_objext" >&6; } 3488OBJEXT=$ac_cv_objext 3489ac_objext=$OBJEXT 3490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3491$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3492if ${ac_cv_c_compiler_gnu+:} false; then : 3493 $as_echo_n "(cached) " >&6 3494else 3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3496/* end confdefs.h. */ 3497 3498int 3499main () 3500{ 3501#ifndef __GNUC__ 3502 choke me 3503#endif 3504 3505 ; 3506 return 0; 3507} 3508_ACEOF 3509if ac_fn_c_try_compile "$LINENO"; then : 3510 ac_compiler_gnu=yes 3511else 3512 ac_compiler_gnu=no 3513fi 3514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3515ac_cv_c_compiler_gnu=$ac_compiler_gnu 3516 3517fi 3518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3519$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3520if test $ac_compiler_gnu = yes; then 3521 GCC=yes 3522else 3523 GCC= 3524fi 3525ac_test_CFLAGS=${CFLAGS+set} 3526ac_save_CFLAGS=$CFLAGS 3527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3528$as_echo_n "checking whether $CC accepts -g... " >&6; } 3529if ${ac_cv_prog_cc_g+:} false; then : 3530 $as_echo_n "(cached) " >&6 3531else 3532 ac_save_c_werror_flag=$ac_c_werror_flag 3533 ac_c_werror_flag=yes 3534 ac_cv_prog_cc_g=no 3535 CFLAGS="-g" 3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3537/* end confdefs.h. */ 3538 3539int 3540main () 3541{ 3542 3543 ; 3544 return 0; 3545} 3546_ACEOF 3547if ac_fn_c_try_compile "$LINENO"; then : 3548 ac_cv_prog_cc_g=yes 3549else 3550 CFLAGS="" 3551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3552/* end confdefs.h. */ 3553 3554int 3555main () 3556{ 3557 3558 ; 3559 return 0; 3560} 3561_ACEOF 3562if ac_fn_c_try_compile "$LINENO"; then : 3563 3564else 3565 ac_c_werror_flag=$ac_save_c_werror_flag 3566 CFLAGS="-g" 3567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3568/* end confdefs.h. */ 3569 3570int 3571main () 3572{ 3573 3574 ; 3575 return 0; 3576} 3577_ACEOF 3578if ac_fn_c_try_compile "$LINENO"; then : 3579 ac_cv_prog_cc_g=yes 3580fi 3581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3582fi 3583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3584fi 3585rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3586 ac_c_werror_flag=$ac_save_c_werror_flag 3587fi 3588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3589$as_echo "$ac_cv_prog_cc_g" >&6; } 3590if test "$ac_test_CFLAGS" = set; then 3591 CFLAGS=$ac_save_CFLAGS 3592elif test $ac_cv_prog_cc_g = yes; then 3593 if test "$GCC" = yes; then 3594 CFLAGS="-g -O2" 3595 else 3596 CFLAGS="-g" 3597 fi 3598else 3599 if test "$GCC" = yes; then 3600 CFLAGS="-O2" 3601 else 3602 CFLAGS= 3603 fi 3604fi 3605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3606$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3607if ${ac_cv_prog_cc_c89+:} false; then : 3608 $as_echo_n "(cached) " >&6 3609else 3610 ac_cv_prog_cc_c89=no 3611ac_save_CC=$CC 3612cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3613/* end confdefs.h. */ 3614#include <stdarg.h> 3615#include <stdio.h> 3616struct stat; 3617/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3618struct buf { int x; }; 3619FILE * (*rcsopen) (struct buf *, struct stat *, int); 3620static char *e (p, i) 3621 char **p; 3622 int i; 3623{ 3624 return p[i]; 3625} 3626static char *f (char * (*g) (char **, int), char **p, ...) 3627{ 3628 char *s; 3629 va_list v; 3630 va_start (v,p); 3631 s = g (p, va_arg (v,int)); 3632 va_end (v); 3633 return s; 3634} 3635 3636/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3637 function prototypes and stuff, but not '\xHH' hex character constants. 3638 These don't provoke an error unfortunately, instead are silently treated 3639 as 'x'. The following induces an error, until -std is added to get 3640 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3641 array size at least. It's necessary to write '\x00'==0 to get something 3642 that's true only with -std. */ 3643int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3644 3645/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3646 inside strings and character constants. */ 3647#define FOO(x) 'x' 3648int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3649 3650int test (int i, double x); 3651struct s1 {int (*f) (int a);}; 3652struct s2 {int (*f) (double a);}; 3653int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3654int argc; 3655char **argv; 3656int 3657main () 3658{ 3659return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3660 ; 3661 return 0; 3662} 3663_ACEOF 3664for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3665 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3666do 3667 CC="$ac_save_CC $ac_arg" 3668 if ac_fn_c_try_compile "$LINENO"; then : 3669 ac_cv_prog_cc_c89=$ac_arg 3670fi 3671rm -f core conftest.err conftest.$ac_objext 3672 test "x$ac_cv_prog_cc_c89" != "xno" && break 3673done 3674rm -f conftest.$ac_ext 3675CC=$ac_save_CC 3676 3677fi 3678# AC_CACHE_VAL 3679case "x$ac_cv_prog_cc_c89" in 3680 x) 3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3682$as_echo "none needed" >&6; } ;; 3683 xno) 3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3685$as_echo "unsupported" >&6; } ;; 3686 *) 3687 CC="$CC $ac_cv_prog_cc_c89" 3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3689$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3690esac 3691if test "x$ac_cv_prog_cc_c89" != xno; then : 3692 3693fi 3694 3695ac_ext=c 3696ac_cpp='$CPP $CPPFLAGS' 3697ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3698ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3699ac_compiler_gnu=$ac_cv_c_compiler_gnu 3700DEPDIR="${am__leading_dot}deps" 3701 3702ac_config_commands="$ac_config_commands depfiles" 3703 3704 3705am_make=${MAKE-make} 3706cat > confinc << 'END' 3707am__doit: 3708 @echo this is the am__doit target 3709.PHONY: am__doit 3710END 3711# If we don't find an include directive, just comment out the code. 3712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3713$as_echo_n "checking for style of include used by $am_make... " >&6; } 3714am__include="#" 3715am__quote= 3716_am_result=none 3717# First try GNU make style include. 3718echo "include confinc" > confmf 3719# Ignore all kinds of additional output from 'make'. 3720case `$am_make -s -f confmf 2> /dev/null` in #( 3721*the\ am__doit\ target*) 3722 am__include=include 3723 am__quote= 3724 _am_result=GNU 3725 ;; 3726esac 3727# Now try BSD make style include. 3728if test "$am__include" = "#"; then 3729 echo '.include "confinc"' > confmf 3730 case `$am_make -s -f confmf 2> /dev/null` in #( 3731 *the\ am__doit\ target*) 3732 am__include=.include 3733 am__quote="\"" 3734 _am_result=BSD 3735 ;; 3736 esac 3737fi 3738 3739 3740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3741$as_echo "$_am_result" >&6; } 3742rm -f confinc confmf 3743 3744# Check whether --enable-dependency-tracking was given. 3745if test "${enable_dependency_tracking+set}" = set; then : 3746 enableval=$enable_dependency_tracking; 3747fi 3748 3749if test "x$enable_dependency_tracking" != xno; then 3750 am_depcomp="$ac_aux_dir/depcomp" 3751 AMDEPBACKSLASH='\' 3752 am__nodep='_no' 3753fi 3754 if test "x$enable_dependency_tracking" != xno; then 3755 AMDEP_TRUE= 3756 AMDEP_FALSE='#' 3757else 3758 AMDEP_TRUE='#' 3759 AMDEP_FALSE= 3760fi 3761 3762 3763 3764depcc="$CC" am_compiler_list= 3765 3766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3767$as_echo_n "checking dependency style of $depcc... " >&6; } 3768if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3769 $as_echo_n "(cached) " >&6 3770else 3771 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3772 # We make a subdir and do the tests there. Otherwise we can end up 3773 # making bogus files that we don't know about and never remove. For 3774 # instance it was reported that on HP-UX the gcc test will end up 3775 # making a dummy file named 'D' -- because '-MD' means "put the output 3776 # in D". 3777 rm -rf conftest.dir 3778 mkdir conftest.dir 3779 # Copy depcomp to subdir because otherwise we won't find it if we're 3780 # using a relative directory. 3781 cp "$am_depcomp" conftest.dir 3782 cd conftest.dir 3783 # We will build objects and dependencies in a subdirectory because 3784 # it helps to detect inapplicable dependency modes. For instance 3785 # both Tru64's cc and ICC support -MD to output dependencies as a 3786 # side effect of compilation, but ICC will put the dependencies in 3787 # the current directory while Tru64 will put them in the object 3788 # directory. 3789 mkdir sub 3790 3791 am_cv_CC_dependencies_compiler_type=none 3792 if test "$am_compiler_list" = ""; then 3793 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3794 fi 3795 am__universal=false 3796 case " $depcc " in #( 3797 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3798 esac 3799 3800 for depmode in $am_compiler_list; do 3801 # Setup a source with many dependencies, because some compilers 3802 # like to wrap large dependency lists on column 80 (with \), and 3803 # we should not choose a depcomp mode which is confused by this. 3804 # 3805 # We need to recreate these files for each test, as the compiler may 3806 # overwrite some of them when testing with obscure command lines. 3807 # This happens at least with the AIX C compiler. 3808 : > sub/conftest.c 3809 for i in 1 2 3 4 5 6; do 3810 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3811 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3812 # Solaris 10 /bin/sh. 3813 echo '/* dummy */' > sub/conftst$i.h 3814 done 3815 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3816 3817 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3818 # mode. It turns out that the SunPro C++ compiler does not properly 3819 # handle '-M -o', and we need to detect this. Also, some Intel 3820 # versions had trouble with output in subdirs. 3821 am__obj=sub/conftest.${OBJEXT-o} 3822 am__minus_obj="-o $am__obj" 3823 case $depmode in 3824 gcc) 3825 # This depmode causes a compiler race in universal mode. 3826 test "$am__universal" = false || continue 3827 ;; 3828 nosideeffect) 3829 # After this tag, mechanisms are not by side-effect, so they'll 3830 # only be used when explicitly requested. 3831 if test "x$enable_dependency_tracking" = xyes; then 3832 continue 3833 else 3834 break 3835 fi 3836 ;; 3837 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3838 # This compiler won't grok '-c -o', but also, the minuso test has 3839 # not run yet. These depmodes are late enough in the game, and 3840 # so weak that their functioning should not be impacted. 3841 am__obj=conftest.${OBJEXT-o} 3842 am__minus_obj= 3843 ;; 3844 none) break ;; 3845 esac 3846 if depmode=$depmode \ 3847 source=sub/conftest.c object=$am__obj \ 3848 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3849 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3850 >/dev/null 2>conftest.err && 3851 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3852 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3853 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3854 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3855 # icc doesn't choke on unknown options, it will just issue warnings 3856 # or remarks (even with -Werror). So we grep stderr for any message 3857 # that says an option was ignored or not supported. 3858 # When given -MP, icc 7.0 and 7.1 complain thusly: 3859 # icc: Command line warning: ignoring option '-M'; no argument required 3860 # The diagnosis changed in icc 8.0: 3861 # icc: Command line remark: option '-MP' not supported 3862 if (grep 'ignoring option' conftest.err || 3863 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3864 am_cv_CC_dependencies_compiler_type=$depmode 3865 break 3866 fi 3867 fi 3868 done 3869 3870 cd .. 3871 rm -rf conftest.dir 3872else 3873 am_cv_CC_dependencies_compiler_type=none 3874fi 3875 3876fi 3877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3878$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3879CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3880 3881 if 3882 test "x$enable_dependency_tracking" != xno \ 3883 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3884 am__fastdepCC_TRUE= 3885 am__fastdepCC_FALSE='#' 3886else 3887 am__fastdepCC_TRUE='#' 3888 am__fastdepCC_FALSE= 3889fi 3890 3891 3892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3893$as_echo_n "checking whether ln -s works... " >&6; } 3894LN_S=$as_ln_s 3895if test "$LN_S" = "ln -s"; then 3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3897$as_echo "yes" >&6; } 3898else 3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3900$as_echo "no, using $LN_S" >&6; } 3901fi 3902 3903 3904case `pwd` in 3905 *\ * | *\ *) 3906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3907$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3908esac 3909 3910 3911 3912macro_version='2.4.2' 3913macro_revision='1.3337' 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927ltmain="$ac_aux_dir/ltmain.sh" 3928 3929# Make sure we can run config.sub. 3930$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3931 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3932 3933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3934$as_echo_n "checking build system type... " >&6; } 3935if ${ac_cv_build+:} false; then : 3936 $as_echo_n "(cached) " >&6 3937else 3938 ac_build_alias=$build_alias 3939test "x$ac_build_alias" = x && 3940 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3941test "x$ac_build_alias" = x && 3942 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3943ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3944 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3945 3946fi 3947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3948$as_echo "$ac_cv_build" >&6; } 3949case $ac_cv_build in 3950*-*-*) ;; 3951*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3952esac 3953build=$ac_cv_build 3954ac_save_IFS=$IFS; IFS='-' 3955set x $ac_cv_build 3956shift 3957build_cpu=$1 3958build_vendor=$2 3959shift; shift 3960# Remember, the first character of IFS is used to create $*, 3961# except with old shells: 3962build_os=$* 3963IFS=$ac_save_IFS 3964case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3965 3966 3967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3968$as_echo_n "checking host system type... " >&6; } 3969if ${ac_cv_host+:} false; then : 3970 $as_echo_n "(cached) " >&6 3971else 3972 if test "x$host_alias" = x; then 3973 ac_cv_host=$ac_cv_build 3974else 3975 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3976 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3977fi 3978 3979fi 3980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3981$as_echo "$ac_cv_host" >&6; } 3982case $ac_cv_host in 3983*-*-*) ;; 3984*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3985esac 3986host=$ac_cv_host 3987ac_save_IFS=$IFS; IFS='-' 3988set x $ac_cv_host 3989shift 3990host_cpu=$1 3991host_vendor=$2 3992shift; shift 3993# Remember, the first character of IFS is used to create $*, 3994# except with old shells: 3995host_os=$* 3996IFS=$ac_save_IFS 3997case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3998 3999 4000# Backslashify metacharacters that are still active within 4001# double-quoted strings. 4002sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4003 4004# Same as above, but do not quote variable references. 4005double_quote_subst='s/\(["`\\]\)/\\\1/g' 4006 4007# Sed substitution to delay expansion of an escaped shell variable in a 4008# double_quote_subst'ed string. 4009delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4010 4011# Sed substitution to delay expansion of an escaped single quote. 4012delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4013 4014# Sed substitution to avoid accidental globbing in evaled expressions 4015no_glob_subst='s/\*/\\\*/g' 4016 4017ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4018ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4019ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4020 4021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4022$as_echo_n "checking how to print strings... " >&6; } 4023# Test print first, because it will be a builtin if present. 4024if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4025 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4026 ECHO='print -r --' 4027elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4028 ECHO='printf %s\n' 4029else 4030 # Use this function as a fallback that always works. 4031 func_fallback_echo () 4032 { 4033 eval 'cat <<_LTECHO_EOF 4034$1 4035_LTECHO_EOF' 4036 } 4037 ECHO='func_fallback_echo' 4038fi 4039 4040# func_echo_all arg... 4041# Invoke $ECHO with all args, space-separated. 4042func_echo_all () 4043{ 4044 $ECHO "" 4045} 4046 4047case "$ECHO" in 4048 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4049$as_echo "printf" >&6; } ;; 4050 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4051$as_echo "print -r" >&6; } ;; 4052 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4053$as_echo "cat" >&6; } ;; 4054esac 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4070$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4071if ${ac_cv_path_SED+:} false; then : 4072 $as_echo_n "(cached) " >&6 4073else 4074 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4075 for ac_i in 1 2 3 4 5 6 7; do 4076 ac_script="$ac_script$as_nl$ac_script" 4077 done 4078 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4079 { ac_script=; unset ac_script;} 4080 if test -z "$SED"; then 4081 ac_path_SED_found=false 4082 # Loop through the user's path and test for each of PROGNAME-LIST 4083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4084for as_dir in $PATH 4085do 4086 IFS=$as_save_IFS 4087 test -z "$as_dir" && as_dir=. 4088 for ac_prog in sed gsed; do 4089 for ac_exec_ext in '' $ac_executable_extensions; do 4090 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4091 as_fn_executable_p "$ac_path_SED" || continue 4092# Check for GNU ac_path_SED and select it if it is found. 4093 # Check for GNU $ac_path_SED 4094case `"$ac_path_SED" --version 2>&1` in 4095*GNU*) 4096 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4097*) 4098 ac_count=0 4099 $as_echo_n 0123456789 >"conftest.in" 4100 while : 4101 do 4102 cat "conftest.in" "conftest.in" >"conftest.tmp" 4103 mv "conftest.tmp" "conftest.in" 4104 cp "conftest.in" "conftest.nl" 4105 $as_echo '' >> "conftest.nl" 4106 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4107 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4108 as_fn_arith $ac_count + 1 && ac_count=$as_val 4109 if test $ac_count -gt ${ac_path_SED_max-0}; then 4110 # Best one so far, save it but keep looking for a better one 4111 ac_cv_path_SED="$ac_path_SED" 4112 ac_path_SED_max=$ac_count 4113 fi 4114 # 10*(2^10) chars as input seems more than enough 4115 test $ac_count -gt 10 && break 4116 done 4117 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4118esac 4119 4120 $ac_path_SED_found && break 3 4121 done 4122 done 4123 done 4124IFS=$as_save_IFS 4125 if test -z "$ac_cv_path_SED"; then 4126 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4127 fi 4128else 4129 ac_cv_path_SED=$SED 4130fi 4131 4132fi 4133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4134$as_echo "$ac_cv_path_SED" >&6; } 4135 SED="$ac_cv_path_SED" 4136 rm -f conftest.sed 4137 4138test -z "$SED" && SED=sed 4139Xsed="$SED -e 1s/^X//" 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4152$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4153if ${ac_cv_path_GREP+:} false; then : 4154 $as_echo_n "(cached) " >&6 4155else 4156 if test -z "$GREP"; then 4157 ac_path_GREP_found=false 4158 # Loop through the user's path and test for each of PROGNAME-LIST 4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4160for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4161do 4162 IFS=$as_save_IFS 4163 test -z "$as_dir" && as_dir=. 4164 for ac_prog in grep ggrep; do 4165 for ac_exec_ext in '' $ac_executable_extensions; do 4166 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4167 as_fn_executable_p "$ac_path_GREP" || continue 4168# Check for GNU ac_path_GREP and select it if it is found. 4169 # Check for GNU $ac_path_GREP 4170case `"$ac_path_GREP" --version 2>&1` in 4171*GNU*) 4172 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4173*) 4174 ac_count=0 4175 $as_echo_n 0123456789 >"conftest.in" 4176 while : 4177 do 4178 cat "conftest.in" "conftest.in" >"conftest.tmp" 4179 mv "conftest.tmp" "conftest.in" 4180 cp "conftest.in" "conftest.nl" 4181 $as_echo 'GREP' >> "conftest.nl" 4182 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4183 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4184 as_fn_arith $ac_count + 1 && ac_count=$as_val 4185 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4186 # Best one so far, save it but keep looking for a better one 4187 ac_cv_path_GREP="$ac_path_GREP" 4188 ac_path_GREP_max=$ac_count 4189 fi 4190 # 10*(2^10) chars as input seems more than enough 4191 test $ac_count -gt 10 && break 4192 done 4193 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4194esac 4195 4196 $ac_path_GREP_found && break 3 4197 done 4198 done 4199 done 4200IFS=$as_save_IFS 4201 if test -z "$ac_cv_path_GREP"; then 4202 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4203 fi 4204else 4205 ac_cv_path_GREP=$GREP 4206fi 4207 4208fi 4209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4210$as_echo "$ac_cv_path_GREP" >&6; } 4211 GREP="$ac_cv_path_GREP" 4212 4213 4214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4215$as_echo_n "checking for egrep... " >&6; } 4216if ${ac_cv_path_EGREP+:} false; then : 4217 $as_echo_n "(cached) " >&6 4218else 4219 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4220 then ac_cv_path_EGREP="$GREP -E" 4221 else 4222 if test -z "$EGREP"; then 4223 ac_path_EGREP_found=false 4224 # Loop through the user's path and test for each of PROGNAME-LIST 4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4226for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4227do 4228 IFS=$as_save_IFS 4229 test -z "$as_dir" && as_dir=. 4230 for ac_prog in egrep; do 4231 for ac_exec_ext in '' $ac_executable_extensions; do 4232 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4233 as_fn_executable_p "$ac_path_EGREP" || continue 4234# Check for GNU ac_path_EGREP and select it if it is found. 4235 # Check for GNU $ac_path_EGREP 4236case `"$ac_path_EGREP" --version 2>&1` in 4237*GNU*) 4238 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4239*) 4240 ac_count=0 4241 $as_echo_n 0123456789 >"conftest.in" 4242 while : 4243 do 4244 cat "conftest.in" "conftest.in" >"conftest.tmp" 4245 mv "conftest.tmp" "conftest.in" 4246 cp "conftest.in" "conftest.nl" 4247 $as_echo 'EGREP' >> "conftest.nl" 4248 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4249 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4250 as_fn_arith $ac_count + 1 && ac_count=$as_val 4251 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4252 # Best one so far, save it but keep looking for a better one 4253 ac_cv_path_EGREP="$ac_path_EGREP" 4254 ac_path_EGREP_max=$ac_count 4255 fi 4256 # 10*(2^10) chars as input seems more than enough 4257 test $ac_count -gt 10 && break 4258 done 4259 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4260esac 4261 4262 $ac_path_EGREP_found && break 3 4263 done 4264 done 4265 done 4266IFS=$as_save_IFS 4267 if test -z "$ac_cv_path_EGREP"; then 4268 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4269 fi 4270else 4271 ac_cv_path_EGREP=$EGREP 4272fi 4273 4274 fi 4275fi 4276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4277$as_echo "$ac_cv_path_EGREP" >&6; } 4278 EGREP="$ac_cv_path_EGREP" 4279 4280 4281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4282$as_echo_n "checking for fgrep... " >&6; } 4283if ${ac_cv_path_FGREP+:} false; then : 4284 $as_echo_n "(cached) " >&6 4285else 4286 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4287 then ac_cv_path_FGREP="$GREP -F" 4288 else 4289 if test -z "$FGREP"; then 4290 ac_path_FGREP_found=false 4291 # Loop through the user's path and test for each of PROGNAME-LIST 4292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4293for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4294do 4295 IFS=$as_save_IFS 4296 test -z "$as_dir" && as_dir=. 4297 for ac_prog in fgrep; do 4298 for ac_exec_ext in '' $ac_executable_extensions; do 4299 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4300 as_fn_executable_p "$ac_path_FGREP" || continue 4301# Check for GNU ac_path_FGREP and select it if it is found. 4302 # Check for GNU $ac_path_FGREP 4303case `"$ac_path_FGREP" --version 2>&1` in 4304*GNU*) 4305 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4306*) 4307 ac_count=0 4308 $as_echo_n 0123456789 >"conftest.in" 4309 while : 4310 do 4311 cat "conftest.in" "conftest.in" >"conftest.tmp" 4312 mv "conftest.tmp" "conftest.in" 4313 cp "conftest.in" "conftest.nl" 4314 $as_echo 'FGREP' >> "conftest.nl" 4315 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4316 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4317 as_fn_arith $ac_count + 1 && ac_count=$as_val 4318 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4319 # Best one so far, save it but keep looking for a better one 4320 ac_cv_path_FGREP="$ac_path_FGREP" 4321 ac_path_FGREP_max=$ac_count 4322 fi 4323 # 10*(2^10) chars as input seems more than enough 4324 test $ac_count -gt 10 && break 4325 done 4326 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4327esac 4328 4329 $ac_path_FGREP_found && break 3 4330 done 4331 done 4332 done 4333IFS=$as_save_IFS 4334 if test -z "$ac_cv_path_FGREP"; then 4335 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4336 fi 4337else 4338 ac_cv_path_FGREP=$FGREP 4339fi 4340 4341 fi 4342fi 4343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4344$as_echo "$ac_cv_path_FGREP" >&6; } 4345 FGREP="$ac_cv_path_FGREP" 4346 4347 4348test -z "$GREP" && GREP=grep 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368# Check whether --with-gnu-ld was given. 4369if test "${with_gnu_ld+set}" = set; then : 4370 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4371else 4372 with_gnu_ld=no 4373fi 4374 4375ac_prog=ld 4376if test "$GCC" = yes; then 4377 # Check if gcc -print-prog-name=ld gives a path. 4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4379$as_echo_n "checking for ld used by $CC... " >&6; } 4380 case $host in 4381 *-*-mingw*) 4382 # gcc leaves a trailing carriage return which upsets mingw 4383 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4384 *) 4385 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4386 esac 4387 case $ac_prog in 4388 # Accept absolute paths. 4389 [\\/]* | ?:[\\/]*) 4390 re_direlt='/[^/][^/]*/\.\./' 4391 # Canonicalize the pathname of ld 4392 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4393 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4394 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4395 done 4396 test -z "$LD" && LD="$ac_prog" 4397 ;; 4398 "") 4399 # If it fails, then pretend we aren't using GCC. 4400 ac_prog=ld 4401 ;; 4402 *) 4403 # If it is relative, then search for the first ld in PATH. 4404 with_gnu_ld=unknown 4405 ;; 4406 esac 4407elif test "$with_gnu_ld" = yes; then 4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4409$as_echo_n "checking for GNU ld... " >&6; } 4410else 4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4412$as_echo_n "checking for non-GNU ld... " >&6; } 4413fi 4414if ${lt_cv_path_LD+:} false; then : 4415 $as_echo_n "(cached) " >&6 4416else 4417 if test -z "$LD"; then 4418 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4419 for ac_dir in $PATH; do 4420 IFS="$lt_save_ifs" 4421 test -z "$ac_dir" && ac_dir=. 4422 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4423 lt_cv_path_LD="$ac_dir/$ac_prog" 4424 # Check to see if the program is GNU ld. I'd rather use --version, 4425 # but apparently some variants of GNU ld only accept -v. 4426 # Break only if it was the GNU/non-GNU ld that we prefer. 4427 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4428 *GNU* | *'with BFD'*) 4429 test "$with_gnu_ld" != no && break 4430 ;; 4431 *) 4432 test "$with_gnu_ld" != yes && break 4433 ;; 4434 esac 4435 fi 4436 done 4437 IFS="$lt_save_ifs" 4438else 4439 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4440fi 4441fi 4442 4443LD="$lt_cv_path_LD" 4444if test -n "$LD"; then 4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4446$as_echo "$LD" >&6; } 4447else 4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4449$as_echo "no" >&6; } 4450fi 4451test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4453$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4454if ${lt_cv_prog_gnu_ld+:} false; then : 4455 $as_echo_n "(cached) " >&6 4456else 4457 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4458case `$LD -v 2>&1 </dev/null` in 4459*GNU* | *'with BFD'*) 4460 lt_cv_prog_gnu_ld=yes 4461 ;; 4462*) 4463 lt_cv_prog_gnu_ld=no 4464 ;; 4465esac 4466fi 4467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4468$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4469with_gnu_ld=$lt_cv_prog_gnu_ld 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4480$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4481if ${lt_cv_path_NM+:} false; then : 4482 $as_echo_n "(cached) " >&6 4483else 4484 if test -n "$NM"; then 4485 # Let the user override the test. 4486 lt_cv_path_NM="$NM" 4487else 4488 lt_nm_to_check="${ac_tool_prefix}nm" 4489 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4490 lt_nm_to_check="$lt_nm_to_check nm" 4491 fi 4492 for lt_tmp_nm in $lt_nm_to_check; do 4493 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4494 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4495 IFS="$lt_save_ifs" 4496 test -z "$ac_dir" && ac_dir=. 4497 tmp_nm="$ac_dir/$lt_tmp_nm" 4498 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4499 # Check to see if the nm accepts a BSD-compat flag. 4500 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4501 # nm: unknown option "B" ignored 4502 # Tru64's nm complains that /dev/null is an invalid object file 4503 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4504 */dev/null* | *'Invalid file or object type'*) 4505 lt_cv_path_NM="$tmp_nm -B" 4506 break 4507 ;; 4508 *) 4509 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4510 */dev/null*) 4511 lt_cv_path_NM="$tmp_nm -p" 4512 break 4513 ;; 4514 *) 4515 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4516 continue # so that we can try to find one that supports BSD flags 4517 ;; 4518 esac 4519 ;; 4520 esac 4521 fi 4522 done 4523 IFS="$lt_save_ifs" 4524 done 4525 : ${lt_cv_path_NM=no} 4526fi 4527fi 4528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4529$as_echo "$lt_cv_path_NM" >&6; } 4530if test "$lt_cv_path_NM" != "no"; then 4531 NM="$lt_cv_path_NM" 4532else 4533 # Didn't find any BSD compatible name lister, look for dumpbin. 4534 if test -n "$DUMPBIN"; then : 4535 # Let the user override the test. 4536 else 4537 if test -n "$ac_tool_prefix"; then 4538 for ac_prog in dumpbin "link -dump" 4539 do 4540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4541set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4543$as_echo_n "checking for $ac_word... " >&6; } 4544if ${ac_cv_prog_DUMPBIN+:} false; then : 4545 $as_echo_n "(cached) " >&6 4546else 4547 if test -n "$DUMPBIN"; then 4548 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4549else 4550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4551for as_dir in $PATH 4552do 4553 IFS=$as_save_IFS 4554 test -z "$as_dir" && as_dir=. 4555 for ac_exec_ext in '' $ac_executable_extensions; do 4556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4557 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4559 break 2 4560 fi 4561done 4562 done 4563IFS=$as_save_IFS 4564 4565fi 4566fi 4567DUMPBIN=$ac_cv_prog_DUMPBIN 4568if test -n "$DUMPBIN"; then 4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4570$as_echo "$DUMPBIN" >&6; } 4571else 4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4573$as_echo "no" >&6; } 4574fi 4575 4576 4577 test -n "$DUMPBIN" && break 4578 done 4579fi 4580if test -z "$DUMPBIN"; then 4581 ac_ct_DUMPBIN=$DUMPBIN 4582 for ac_prog in dumpbin "link -dump" 4583do 4584 # Extract the first word of "$ac_prog", so it can be a program name with args. 4585set dummy $ac_prog; ac_word=$2 4586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4587$as_echo_n "checking for $ac_word... " >&6; } 4588if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4589 $as_echo_n "(cached) " >&6 4590else 4591 if test -n "$ac_ct_DUMPBIN"; then 4592 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4593else 4594as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4595for as_dir in $PATH 4596do 4597 IFS=$as_save_IFS 4598 test -z "$as_dir" && as_dir=. 4599 for ac_exec_ext in '' $ac_executable_extensions; do 4600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4601 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4603 break 2 4604 fi 4605done 4606 done 4607IFS=$as_save_IFS 4608 4609fi 4610fi 4611ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4612if test -n "$ac_ct_DUMPBIN"; then 4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4614$as_echo "$ac_ct_DUMPBIN" >&6; } 4615else 4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4617$as_echo "no" >&6; } 4618fi 4619 4620 4621 test -n "$ac_ct_DUMPBIN" && break 4622done 4623 4624 if test "x$ac_ct_DUMPBIN" = x; then 4625 DUMPBIN=":" 4626 else 4627 case $cross_compiling:$ac_tool_warned in 4628yes:) 4629{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4630$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4631ac_tool_warned=yes ;; 4632esac 4633 DUMPBIN=$ac_ct_DUMPBIN 4634 fi 4635fi 4636 4637 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4638 *COFF*) 4639 DUMPBIN="$DUMPBIN -symbols" 4640 ;; 4641 *) 4642 DUMPBIN=: 4643 ;; 4644 esac 4645 fi 4646 4647 if test "$DUMPBIN" != ":"; then 4648 NM="$DUMPBIN" 4649 fi 4650fi 4651test -z "$NM" && NM=nm 4652 4653 4654 4655 4656 4657 4658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4659$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4660if ${lt_cv_nm_interface+:} false; then : 4661 $as_echo_n "(cached) " >&6 4662else 4663 lt_cv_nm_interface="BSD nm" 4664 echo "int some_variable = 0;" > conftest.$ac_ext 4665 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4666 (eval "$ac_compile" 2>conftest.err) 4667 cat conftest.err >&5 4668 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4669 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4670 cat conftest.err >&5 4671 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4672 cat conftest.out >&5 4673 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4674 lt_cv_nm_interface="MS dumpbin" 4675 fi 4676 rm -f conftest* 4677fi 4678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4679$as_echo "$lt_cv_nm_interface" >&6; } 4680 4681# find the maximum length of command line arguments 4682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4683$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4684if ${lt_cv_sys_max_cmd_len+:} false; then : 4685 $as_echo_n "(cached) " >&6 4686else 4687 i=0 4688 teststring="ABCD" 4689 4690 case $build_os in 4691 msdosdjgpp*) 4692 # On DJGPP, this test can blow up pretty badly due to problems in libc 4693 # (any single argument exceeding 2000 bytes causes a buffer overrun 4694 # during glob expansion). Even if it were fixed, the result of this 4695 # check would be larger than it should be. 4696 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4697 ;; 4698 4699 gnu*) 4700 # Under GNU Hurd, this test is not required because there is 4701 # no limit to the length of command line arguments. 4702 # Libtool will interpret -1 as no limit whatsoever 4703 lt_cv_sys_max_cmd_len=-1; 4704 ;; 4705 4706 cygwin* | mingw* | cegcc*) 4707 # On Win9x/ME, this test blows up -- it succeeds, but takes 4708 # about 5 minutes as the teststring grows exponentially. 4709 # Worse, since 9x/ME are not pre-emptively multitasking, 4710 # you end up with a "frozen" computer, even though with patience 4711 # the test eventually succeeds (with a max line length of 256k). 4712 # Instead, let's just punt: use the minimum linelength reported by 4713 # all of the supported platforms: 8192 (on NT/2K/XP). 4714 lt_cv_sys_max_cmd_len=8192; 4715 ;; 4716 4717 mint*) 4718 # On MiNT this can take a long time and run out of memory. 4719 lt_cv_sys_max_cmd_len=8192; 4720 ;; 4721 4722 amigaos*) 4723 # On AmigaOS with pdksh, this test takes hours, literally. 4724 # So we just punt and use a minimum line length of 8192. 4725 lt_cv_sys_max_cmd_len=8192; 4726 ;; 4727 4728 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4729 # This has been around since 386BSD, at least. Likely further. 4730 if test -x /sbin/sysctl; then 4731 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4732 elif test -x /usr/sbin/sysctl; then 4733 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4734 else 4735 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4736 fi 4737 # And add a safety zone 4738 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4739 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4740 ;; 4741 4742 interix*) 4743 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4744 lt_cv_sys_max_cmd_len=196608 4745 ;; 4746 4747 os2*) 4748 # The test takes a long time on OS/2. 4749 lt_cv_sys_max_cmd_len=8192 4750 ;; 4751 4752 osf*) 4753 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4754 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4755 # nice to cause kernel panics so lets avoid the loop below. 4756 # First set a reasonable default. 4757 lt_cv_sys_max_cmd_len=16384 4758 # 4759 if test -x /sbin/sysconfig; then 4760 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4761 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4762 esac 4763 fi 4764 ;; 4765 sco3.2v5*) 4766 lt_cv_sys_max_cmd_len=102400 4767 ;; 4768 sysv5* | sco5v6* | sysv4.2uw2*) 4769 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4770 if test -n "$kargmax"; then 4771 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4772 else 4773 lt_cv_sys_max_cmd_len=32768 4774 fi 4775 ;; 4776 *) 4777 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4778 if test -n "$lt_cv_sys_max_cmd_len"; then 4779 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4780 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4781 else 4782 # Make teststring a little bigger before we do anything with it. 4783 # a 1K string should be a reasonable start. 4784 for i in 1 2 3 4 5 6 7 8 ; do 4785 teststring=$teststring$teststring 4786 done 4787 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4788 # If test is not a shell built-in, we'll probably end up computing a 4789 # maximum length that is only half of the actual maximum length, but 4790 # we can't tell. 4791 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 4792 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4793 test $i != 17 # 1/2 MB should be enough 4794 do 4795 i=`expr $i + 1` 4796 teststring=$teststring$teststring 4797 done 4798 # Only check the string length outside the loop. 4799 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4800 teststring= 4801 # Add a significant safety factor because C++ compilers can tack on 4802 # massive amounts of additional arguments before passing them to the 4803 # linker. It appears as though 1/2 is a usable value. 4804 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4805 fi 4806 ;; 4807 esac 4808 4809fi 4810 4811if test -n $lt_cv_sys_max_cmd_len ; then 4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4813$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4814else 4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4816$as_echo "none" >&6; } 4817fi 4818max_cmd_len=$lt_cv_sys_max_cmd_len 4819 4820 4821 4822 4823 4824 4825: ${CP="cp -f"} 4826: ${MV="mv -f"} 4827: ${RM="rm -f"} 4828 4829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4830$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4831# Try some XSI features 4832xsi_shell=no 4833( _lt_dummy="a/b/c" 4834 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 4835 = c,a/b,b/c, \ 4836 && eval 'test $(( 1 + 1 )) -eq 2 \ 4837 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4838 && xsi_shell=yes 4839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4840$as_echo "$xsi_shell" >&6; } 4841 4842 4843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4844$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4845lt_shell_append=no 4846( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4847 >/dev/null 2>&1 \ 4848 && lt_shell_append=yes 4849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4850$as_echo "$lt_shell_append" >&6; } 4851 4852 4853if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4854 lt_unset=unset 4855else 4856 lt_unset=false 4857fi 4858 4859 4860 4861 4862 4863# test EBCDIC or ASCII 4864case `echo X|tr X '\101'` in 4865 A) # ASCII based system 4866 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4867 lt_SP2NL='tr \040 \012' 4868 lt_NL2SP='tr \015\012 \040\040' 4869 ;; 4870 *) # EBCDIC based system 4871 lt_SP2NL='tr \100 \n' 4872 lt_NL2SP='tr \r\n \100\100' 4873 ;; 4874esac 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4885$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4886if ${lt_cv_to_host_file_cmd+:} false; then : 4887 $as_echo_n "(cached) " >&6 4888else 4889 case $host in 4890 *-*-mingw* ) 4891 case $build in 4892 *-*-mingw* ) # actually msys 4893 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4894 ;; 4895 *-*-cygwin* ) 4896 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4897 ;; 4898 * ) # otherwise, assume *nix 4899 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4900 ;; 4901 esac 4902 ;; 4903 *-*-cygwin* ) 4904 case $build in 4905 *-*-mingw* ) # actually msys 4906 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4907 ;; 4908 *-*-cygwin* ) 4909 lt_cv_to_host_file_cmd=func_convert_file_noop 4910 ;; 4911 * ) # otherwise, assume *nix 4912 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 4913 ;; 4914 esac 4915 ;; 4916 * ) # unhandled hosts (and "normal" native builds) 4917 lt_cv_to_host_file_cmd=func_convert_file_noop 4918 ;; 4919esac 4920 4921fi 4922 4923to_host_file_cmd=$lt_cv_to_host_file_cmd 4924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4925$as_echo "$lt_cv_to_host_file_cmd" >&6; } 4926 4927 4928 4929 4930 4931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4932$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4933if ${lt_cv_to_tool_file_cmd+:} false; then : 4934 $as_echo_n "(cached) " >&6 4935else 4936 #assume ordinary cross tools, or native build. 4937lt_cv_to_tool_file_cmd=func_convert_file_noop 4938case $host in 4939 *-*-mingw* ) 4940 case $build in 4941 *-*-mingw* ) # actually msys 4942 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 4943 ;; 4944 esac 4945 ;; 4946esac 4947 4948fi 4949 4950to_tool_file_cmd=$lt_cv_to_tool_file_cmd 4951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 4952$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 4953 4954 4955 4956 4957 4958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4959$as_echo_n "checking for $LD option to reload object files... " >&6; } 4960if ${lt_cv_ld_reload_flag+:} false; then : 4961 $as_echo_n "(cached) " >&6 4962else 4963 lt_cv_ld_reload_flag='-r' 4964fi 4965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4966$as_echo "$lt_cv_ld_reload_flag" >&6; } 4967reload_flag=$lt_cv_ld_reload_flag 4968case $reload_flag in 4969"" | " "*) ;; 4970*) reload_flag=" $reload_flag" ;; 4971esac 4972reload_cmds='$LD$reload_flag -o $output$reload_objs' 4973case $host_os in 4974 cygwin* | mingw* | pw32* | cegcc*) 4975 if test "$GCC" != yes; then 4976 reload_cmds=false 4977 fi 4978 ;; 4979 darwin*) 4980 if test "$GCC" = yes; then 4981 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 4982 else 4983 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4984 fi 4985 ;; 4986esac 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996if test -n "$ac_tool_prefix"; then 4997 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4998set dummy ${ac_tool_prefix}objdump; ac_word=$2 4999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5000$as_echo_n "checking for $ac_word... " >&6; } 5001if ${ac_cv_prog_OBJDUMP+:} false; then : 5002 $as_echo_n "(cached) " >&6 5003else 5004 if test -n "$OBJDUMP"; then 5005 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5006else 5007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5008for as_dir in $PATH 5009do 5010 IFS=$as_save_IFS 5011 test -z "$as_dir" && as_dir=. 5012 for ac_exec_ext in '' $ac_executable_extensions; do 5013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5014 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5016 break 2 5017 fi 5018done 5019 done 5020IFS=$as_save_IFS 5021 5022fi 5023fi 5024OBJDUMP=$ac_cv_prog_OBJDUMP 5025if test -n "$OBJDUMP"; then 5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5027$as_echo "$OBJDUMP" >&6; } 5028else 5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5030$as_echo "no" >&6; } 5031fi 5032 5033 5034fi 5035if test -z "$ac_cv_prog_OBJDUMP"; then 5036 ac_ct_OBJDUMP=$OBJDUMP 5037 # Extract the first word of "objdump", so it can be a program name with args. 5038set dummy objdump; ac_word=$2 5039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5040$as_echo_n "checking for $ac_word... " >&6; } 5041if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5042 $as_echo_n "(cached) " >&6 5043else 5044 if test -n "$ac_ct_OBJDUMP"; then 5045 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5046else 5047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5048for as_dir in $PATH 5049do 5050 IFS=$as_save_IFS 5051 test -z "$as_dir" && as_dir=. 5052 for ac_exec_ext in '' $ac_executable_extensions; do 5053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5054 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5056 break 2 5057 fi 5058done 5059 done 5060IFS=$as_save_IFS 5061 5062fi 5063fi 5064ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5065if test -n "$ac_ct_OBJDUMP"; then 5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5067$as_echo "$ac_ct_OBJDUMP" >&6; } 5068else 5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5070$as_echo "no" >&6; } 5071fi 5072 5073 if test "x$ac_ct_OBJDUMP" = x; then 5074 OBJDUMP="false" 5075 else 5076 case $cross_compiling:$ac_tool_warned in 5077yes:) 5078{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5079$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5080ac_tool_warned=yes ;; 5081esac 5082 OBJDUMP=$ac_ct_OBJDUMP 5083 fi 5084else 5085 OBJDUMP="$ac_cv_prog_OBJDUMP" 5086fi 5087 5088test -z "$OBJDUMP" && OBJDUMP=objdump 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5099$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5100if ${lt_cv_deplibs_check_method+:} false; then : 5101 $as_echo_n "(cached) " >&6 5102else 5103 lt_cv_file_magic_cmd='$MAGIC_CMD' 5104lt_cv_file_magic_test_file= 5105lt_cv_deplibs_check_method='unknown' 5106# Need to set the preceding variable on all platforms that support 5107# interlibrary dependencies. 5108# 'none' -- dependencies not supported. 5109# `unknown' -- same as none, but documents that we really don't know. 5110# 'pass_all' -- all dependencies passed with no checks. 5111# 'test_compile' -- check by making test program. 5112# 'file_magic [[regex]]' -- check by looking for files in library path 5113# which responds to the $file_magic_cmd with a given extended regex. 5114# If you have `file' or equivalent on your system and you're not sure 5115# whether `pass_all' will *always* work, you probably want this one. 5116 5117case $host_os in 5118aix[4-9]*) 5119 lt_cv_deplibs_check_method=pass_all 5120 ;; 5121 5122beos*) 5123 lt_cv_deplibs_check_method=pass_all 5124 ;; 5125 5126bsdi[45]*) 5127 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5128 lt_cv_file_magic_cmd='/usr/bin/file -L' 5129 lt_cv_file_magic_test_file=/shlib/libc.so 5130 ;; 5131 5132cygwin*) 5133 # func_win32_libid is a shell function defined in ltmain.sh 5134 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5135 lt_cv_file_magic_cmd='func_win32_libid' 5136 ;; 5137 5138mingw* | pw32*) 5139 # Base MSYS/MinGW do not provide the 'file' command needed by 5140 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5141 # unless we find 'file', for example because we are cross-compiling. 5142 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5143 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5144 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5145 lt_cv_file_magic_cmd='func_win32_libid' 5146 else 5147 # Keep this pattern in sync with the one in func_win32_libid. 5148 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5149 lt_cv_file_magic_cmd='$OBJDUMP -f' 5150 fi 5151 ;; 5152 5153cegcc*) 5154 # use the weaker test based on 'objdump'. See mingw*. 5155 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5156 lt_cv_file_magic_cmd='$OBJDUMP -f' 5157 ;; 5158 5159darwin* | rhapsody*) 5160 lt_cv_deplibs_check_method=pass_all 5161 ;; 5162 5163freebsd* | dragonfly*) 5164 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5165 case $host_cpu in 5166 i*86 ) 5167 # Not sure whether the presence of OpenBSD here was a mistake. 5168 # Let's accept both of them until this is cleared up. 5169 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5170 lt_cv_file_magic_cmd=/usr/bin/file 5171 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5172 ;; 5173 esac 5174 else 5175 lt_cv_deplibs_check_method=pass_all 5176 fi 5177 ;; 5178 5179gnu*) 5180 lt_cv_deplibs_check_method=pass_all 5181 ;; 5182 5183haiku*) 5184 lt_cv_deplibs_check_method=pass_all 5185 ;; 5186 5187hpux10.20* | hpux11*) 5188 lt_cv_file_magic_cmd=/usr/bin/file 5189 case $host_cpu in 5190 ia64*) 5191 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5192 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5193 ;; 5194 hppa*64*) 5195 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]' 5196 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5197 ;; 5198 *) 5199 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5200 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5201 ;; 5202 esac 5203 ;; 5204 5205interix[3-9]*) 5206 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5207 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5208 ;; 5209 5210irix5* | irix6* | nonstopux*) 5211 case $LD in 5212 *-32|*"-32 ") libmagic=32-bit;; 5213 *-n32|*"-n32 ") libmagic=N32;; 5214 *-64|*"-64 ") libmagic=64-bit;; 5215 *) libmagic=never-match;; 5216 esac 5217 lt_cv_deplibs_check_method=pass_all 5218 ;; 5219 5220# This must be glibc/ELF. 5221linux* | k*bsd*-gnu | kopensolaris*-gnu) 5222 lt_cv_deplibs_check_method=pass_all 5223 ;; 5224 5225netbsd*) 5226 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5227 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5228 else 5229 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5230 fi 5231 ;; 5232 5233newos6*) 5234 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5235 lt_cv_file_magic_cmd=/usr/bin/file 5236 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5237 ;; 5238 5239*nto* | *qnx*) 5240 lt_cv_deplibs_check_method=pass_all 5241 ;; 5242 5243openbsd*) 5244 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5245 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5246 else 5247 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5248 fi 5249 ;; 5250 5251osf3* | osf4* | osf5*) 5252 lt_cv_deplibs_check_method=pass_all 5253 ;; 5254 5255rdos*) 5256 lt_cv_deplibs_check_method=pass_all 5257 ;; 5258 5259solaris*) 5260 lt_cv_deplibs_check_method=pass_all 5261 ;; 5262 5263sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5264 lt_cv_deplibs_check_method=pass_all 5265 ;; 5266 5267sysv4 | sysv4.3*) 5268 case $host_vendor in 5269 motorola) 5270 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]' 5271 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5272 ;; 5273 ncr) 5274 lt_cv_deplibs_check_method=pass_all 5275 ;; 5276 sequent) 5277 lt_cv_file_magic_cmd='/bin/file' 5278 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5279 ;; 5280 sni) 5281 lt_cv_file_magic_cmd='/bin/file' 5282 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5283 lt_cv_file_magic_test_file=/lib/libc.so 5284 ;; 5285 siemens) 5286 lt_cv_deplibs_check_method=pass_all 5287 ;; 5288 pc) 5289 lt_cv_deplibs_check_method=pass_all 5290 ;; 5291 esac 5292 ;; 5293 5294tpf*) 5295 lt_cv_deplibs_check_method=pass_all 5296 ;; 5297esac 5298 5299fi 5300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5301$as_echo "$lt_cv_deplibs_check_method" >&6; } 5302 5303file_magic_glob= 5304want_nocaseglob=no 5305if test "$build" = "$host"; then 5306 case $host_os in 5307 mingw* | pw32*) 5308 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5309 want_nocaseglob=yes 5310 else 5311 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5312 fi 5313 ;; 5314 esac 5315fi 5316 5317file_magic_cmd=$lt_cv_file_magic_cmd 5318deplibs_check_method=$lt_cv_deplibs_check_method 5319test -z "$deplibs_check_method" && deplibs_check_method=unknown 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342if test -n "$ac_tool_prefix"; then 5343 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5344set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5346$as_echo_n "checking for $ac_word... " >&6; } 5347if ${ac_cv_prog_DLLTOOL+:} false; then : 5348 $as_echo_n "(cached) " >&6 5349else 5350 if test -n "$DLLTOOL"; then 5351 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5352else 5353as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5354for as_dir in $PATH 5355do 5356 IFS=$as_save_IFS 5357 test -z "$as_dir" && as_dir=. 5358 for ac_exec_ext in '' $ac_executable_extensions; do 5359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5360 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5362 break 2 5363 fi 5364done 5365 done 5366IFS=$as_save_IFS 5367 5368fi 5369fi 5370DLLTOOL=$ac_cv_prog_DLLTOOL 5371if test -n "$DLLTOOL"; then 5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5373$as_echo "$DLLTOOL" >&6; } 5374else 5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5376$as_echo "no" >&6; } 5377fi 5378 5379 5380fi 5381if test -z "$ac_cv_prog_DLLTOOL"; then 5382 ac_ct_DLLTOOL=$DLLTOOL 5383 # Extract the first word of "dlltool", so it can be a program name with args. 5384set dummy dlltool; ac_word=$2 5385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5386$as_echo_n "checking for $ac_word... " >&6; } 5387if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5388 $as_echo_n "(cached) " >&6 5389else 5390 if test -n "$ac_ct_DLLTOOL"; then 5391 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5392else 5393as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5394for as_dir in $PATH 5395do 5396 IFS=$as_save_IFS 5397 test -z "$as_dir" && as_dir=. 5398 for ac_exec_ext in '' $ac_executable_extensions; do 5399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5400 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5402 break 2 5403 fi 5404done 5405 done 5406IFS=$as_save_IFS 5407 5408fi 5409fi 5410ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5411if test -n "$ac_ct_DLLTOOL"; then 5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5413$as_echo "$ac_ct_DLLTOOL" >&6; } 5414else 5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5416$as_echo "no" >&6; } 5417fi 5418 5419 if test "x$ac_ct_DLLTOOL" = x; then 5420 DLLTOOL="false" 5421 else 5422 case $cross_compiling:$ac_tool_warned in 5423yes:) 5424{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5425$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5426ac_tool_warned=yes ;; 5427esac 5428 DLLTOOL=$ac_ct_DLLTOOL 5429 fi 5430else 5431 DLLTOOL="$ac_cv_prog_DLLTOOL" 5432fi 5433 5434test -z "$DLLTOOL" && DLLTOOL=dlltool 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5446$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5447if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5448 $as_echo_n "(cached) " >&6 5449else 5450 lt_cv_sharedlib_from_linklib_cmd='unknown' 5451 5452case $host_os in 5453cygwin* | mingw* | pw32* | cegcc*) 5454 # two different shell functions defined in ltmain.sh 5455 # decide which to use based on capabilities of $DLLTOOL 5456 case `$DLLTOOL --help 2>&1` in 5457 *--identify-strict*) 5458 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5459 ;; 5460 *) 5461 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5462 ;; 5463 esac 5464 ;; 5465*) 5466 # fallback: assume linklib IS sharedlib 5467 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5468 ;; 5469esac 5470 5471fi 5472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5473$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5474sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5475test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5476 5477 5478 5479 5480 5481 5482 5483 5484if test -n "$ac_tool_prefix"; then 5485 for ac_prog in ar 5486 do 5487 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5488set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5490$as_echo_n "checking for $ac_word... " >&6; } 5491if ${ac_cv_prog_AR+:} false; then : 5492 $as_echo_n "(cached) " >&6 5493else 5494 if test -n "$AR"; then 5495 ac_cv_prog_AR="$AR" # Let the user override the test. 5496else 5497as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5498for as_dir in $PATH 5499do 5500 IFS=$as_save_IFS 5501 test -z "$as_dir" && as_dir=. 5502 for ac_exec_ext in '' $ac_executable_extensions; do 5503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5504 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5506 break 2 5507 fi 5508done 5509 done 5510IFS=$as_save_IFS 5511 5512fi 5513fi 5514AR=$ac_cv_prog_AR 5515if test -n "$AR"; then 5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5517$as_echo "$AR" >&6; } 5518else 5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5520$as_echo "no" >&6; } 5521fi 5522 5523 5524 test -n "$AR" && break 5525 done 5526fi 5527if test -z "$AR"; then 5528 ac_ct_AR=$AR 5529 for ac_prog in ar 5530do 5531 # Extract the first word of "$ac_prog", so it can be a program name with args. 5532set dummy $ac_prog; ac_word=$2 5533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5534$as_echo_n "checking for $ac_word... " >&6; } 5535if ${ac_cv_prog_ac_ct_AR+:} false; then : 5536 $as_echo_n "(cached) " >&6 5537else 5538 if test -n "$ac_ct_AR"; then 5539 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5540else 5541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5542for as_dir in $PATH 5543do 5544 IFS=$as_save_IFS 5545 test -z "$as_dir" && as_dir=. 5546 for ac_exec_ext in '' $ac_executable_extensions; do 5547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5548 ac_cv_prog_ac_ct_AR="$ac_prog" 5549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5550 break 2 5551 fi 5552done 5553 done 5554IFS=$as_save_IFS 5555 5556fi 5557fi 5558ac_ct_AR=$ac_cv_prog_ac_ct_AR 5559if test -n "$ac_ct_AR"; then 5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5561$as_echo "$ac_ct_AR" >&6; } 5562else 5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5564$as_echo "no" >&6; } 5565fi 5566 5567 5568 test -n "$ac_ct_AR" && break 5569done 5570 5571 if test "x$ac_ct_AR" = x; then 5572 AR="false" 5573 else 5574 case $cross_compiling:$ac_tool_warned in 5575yes:) 5576{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5577$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5578ac_tool_warned=yes ;; 5579esac 5580 AR=$ac_ct_AR 5581 fi 5582fi 5583 5584: ${AR=ar} 5585: ${AR_FLAGS=cru} 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5598$as_echo_n "checking for archiver @FILE support... " >&6; } 5599if ${lt_cv_ar_at_file+:} false; then : 5600 $as_echo_n "(cached) " >&6 5601else 5602 lt_cv_ar_at_file=no 5603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5604/* end confdefs.h. */ 5605 5606int 5607main () 5608{ 5609 5610 ; 5611 return 0; 5612} 5613_ACEOF 5614if ac_fn_c_try_compile "$LINENO"; then : 5615 echo conftest.$ac_objext > conftest.lst 5616 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5617 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5618 (eval $lt_ar_try) 2>&5 5619 ac_status=$? 5620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5621 test $ac_status = 0; } 5622 if test "$ac_status" -eq 0; then 5623 # Ensure the archiver fails upon bogus file names. 5624 rm -f conftest.$ac_objext libconftest.a 5625 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5626 (eval $lt_ar_try) 2>&5 5627 ac_status=$? 5628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5629 test $ac_status = 0; } 5630 if test "$ac_status" -ne 0; then 5631 lt_cv_ar_at_file=@ 5632 fi 5633 fi 5634 rm -f conftest.* libconftest.a 5635 5636fi 5637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5638 5639fi 5640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5641$as_echo "$lt_cv_ar_at_file" >&6; } 5642 5643if test "x$lt_cv_ar_at_file" = xno; then 5644 archiver_list_spec= 5645else 5646 archiver_list_spec=$lt_cv_ar_at_file 5647fi 5648 5649 5650 5651 5652 5653 5654 5655if test -n "$ac_tool_prefix"; then 5656 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5657set dummy ${ac_tool_prefix}strip; ac_word=$2 5658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5659$as_echo_n "checking for $ac_word... " >&6; } 5660if ${ac_cv_prog_STRIP+:} false; then : 5661 $as_echo_n "(cached) " >&6 5662else 5663 if test -n "$STRIP"; then 5664 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5665else 5666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5667for as_dir in $PATH 5668do 5669 IFS=$as_save_IFS 5670 test -z "$as_dir" && as_dir=. 5671 for ac_exec_ext in '' $ac_executable_extensions; do 5672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5673 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5675 break 2 5676 fi 5677done 5678 done 5679IFS=$as_save_IFS 5680 5681fi 5682fi 5683STRIP=$ac_cv_prog_STRIP 5684if test -n "$STRIP"; then 5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5686$as_echo "$STRIP" >&6; } 5687else 5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5689$as_echo "no" >&6; } 5690fi 5691 5692 5693fi 5694if test -z "$ac_cv_prog_STRIP"; then 5695 ac_ct_STRIP=$STRIP 5696 # Extract the first word of "strip", so it can be a program name with args. 5697set dummy strip; ac_word=$2 5698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5699$as_echo_n "checking for $ac_word... " >&6; } 5700if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5701 $as_echo_n "(cached) " >&6 5702else 5703 if test -n "$ac_ct_STRIP"; then 5704 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5705else 5706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5707for as_dir in $PATH 5708do 5709 IFS=$as_save_IFS 5710 test -z "$as_dir" && as_dir=. 5711 for ac_exec_ext in '' $ac_executable_extensions; do 5712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5713 ac_cv_prog_ac_ct_STRIP="strip" 5714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5715 break 2 5716 fi 5717done 5718 done 5719IFS=$as_save_IFS 5720 5721fi 5722fi 5723ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5724if test -n "$ac_ct_STRIP"; then 5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5726$as_echo "$ac_ct_STRIP" >&6; } 5727else 5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5729$as_echo "no" >&6; } 5730fi 5731 5732 if test "x$ac_ct_STRIP" = x; then 5733 STRIP=":" 5734 else 5735 case $cross_compiling:$ac_tool_warned in 5736yes:) 5737{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5738$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5739ac_tool_warned=yes ;; 5740esac 5741 STRIP=$ac_ct_STRIP 5742 fi 5743else 5744 STRIP="$ac_cv_prog_STRIP" 5745fi 5746 5747test -z "$STRIP" && STRIP=: 5748 5749 5750 5751 5752 5753 5754if test -n "$ac_tool_prefix"; then 5755 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5756set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5758$as_echo_n "checking for $ac_word... " >&6; } 5759if ${ac_cv_prog_RANLIB+:} false; then : 5760 $as_echo_n "(cached) " >&6 5761else 5762 if test -n "$RANLIB"; then 5763 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5764else 5765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5766for as_dir in $PATH 5767do 5768 IFS=$as_save_IFS 5769 test -z "$as_dir" && as_dir=. 5770 for ac_exec_ext in '' $ac_executable_extensions; do 5771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5772 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5774 break 2 5775 fi 5776done 5777 done 5778IFS=$as_save_IFS 5779 5780fi 5781fi 5782RANLIB=$ac_cv_prog_RANLIB 5783if test -n "$RANLIB"; then 5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5785$as_echo "$RANLIB" >&6; } 5786else 5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5788$as_echo "no" >&6; } 5789fi 5790 5791 5792fi 5793if test -z "$ac_cv_prog_RANLIB"; then 5794 ac_ct_RANLIB=$RANLIB 5795 # Extract the first word of "ranlib", so it can be a program name with args. 5796set dummy ranlib; ac_word=$2 5797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5798$as_echo_n "checking for $ac_word... " >&6; } 5799if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5800 $as_echo_n "(cached) " >&6 5801else 5802 if test -n "$ac_ct_RANLIB"; then 5803 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5804else 5805as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5806for as_dir in $PATH 5807do 5808 IFS=$as_save_IFS 5809 test -z "$as_dir" && as_dir=. 5810 for ac_exec_ext in '' $ac_executable_extensions; do 5811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5812 ac_cv_prog_ac_ct_RANLIB="ranlib" 5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5814 break 2 5815 fi 5816done 5817 done 5818IFS=$as_save_IFS 5819 5820fi 5821fi 5822ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5823if test -n "$ac_ct_RANLIB"; then 5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5825$as_echo "$ac_ct_RANLIB" >&6; } 5826else 5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5828$as_echo "no" >&6; } 5829fi 5830 5831 if test "x$ac_ct_RANLIB" = x; then 5832 RANLIB=":" 5833 else 5834 case $cross_compiling:$ac_tool_warned in 5835yes:) 5836{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5837$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5838ac_tool_warned=yes ;; 5839esac 5840 RANLIB=$ac_ct_RANLIB 5841 fi 5842else 5843 RANLIB="$ac_cv_prog_RANLIB" 5844fi 5845 5846test -z "$RANLIB" && RANLIB=: 5847 5848 5849 5850 5851 5852 5853# Determine commands to create old-style static archives. 5854old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5855old_postinstall_cmds='chmod 644 $oldlib' 5856old_postuninstall_cmds= 5857 5858if test -n "$RANLIB"; then 5859 case $host_os in 5860 openbsd*) 5861 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5862 ;; 5863 *) 5864 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5865 ;; 5866 esac 5867 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5868fi 5869 5870case $host_os in 5871 darwin*) 5872 lock_old_archive_extraction=yes ;; 5873 *) 5874 lock_old_archive_extraction=no ;; 5875esac 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915# If no C compiler was specified, use CC. 5916LTCC=${LTCC-"$CC"} 5917 5918# If no C compiler flags were specified, use CFLAGS. 5919LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5920 5921# Allow CC to be a program name with arguments. 5922compiler=$CC 5923 5924 5925# Check for command to grab the raw symbol name followed by C symbol from nm. 5926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5927$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5928if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5929 $as_echo_n "(cached) " >&6 5930else 5931 5932# These are sane defaults that work on at least a few old systems. 5933# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5934 5935# Character class describing NM global symbol codes. 5936symcode='[BCDEGRST]' 5937 5938# Regexp to match symbols that can be accessed directly from C. 5939sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5940 5941# Define system-specific variables. 5942case $host_os in 5943aix*) 5944 symcode='[BCDT]' 5945 ;; 5946cygwin* | mingw* | pw32* | cegcc*) 5947 symcode='[ABCDGISTW]' 5948 ;; 5949hpux*) 5950 if test "$host_cpu" = ia64; then 5951 symcode='[ABCDEGRST]' 5952 fi 5953 ;; 5954irix* | nonstopux*) 5955 symcode='[BCDEGRST]' 5956 ;; 5957osf*) 5958 symcode='[BCDEGQRST]' 5959 ;; 5960solaris*) 5961 symcode='[BDRT]' 5962 ;; 5963sco3.2v5*) 5964 symcode='[DT]' 5965 ;; 5966sysv4.2uw2*) 5967 symcode='[DT]' 5968 ;; 5969sysv5* | sco5v6* | unixware* | OpenUNIX*) 5970 symcode='[ABDT]' 5971 ;; 5972sysv4) 5973 symcode='[DFNSTU]' 5974 ;; 5975esac 5976 5977# If we're using GNU nm, then use its standard symbol codes. 5978case `$NM -V 2>&1` in 5979*GNU* | *'with BFD'*) 5980 symcode='[ABCDGIRSTW]' ;; 5981esac 5982 5983# Transform an extracted symbol line into a proper C declaration. 5984# Some systems (esp. on ia64) link data and code symbols differently, 5985# so use this general approach. 5986lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5987 5988# Transform an extracted symbol line into symbol name and symbol address 5989lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5990lt_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'" 5991 5992# Handle CRLF in mingw tool chain 5993opt_cr= 5994case $build_os in 5995mingw*) 5996 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5997 ;; 5998esac 5999 6000# Try without a prefix underscore, then with it. 6001for ac_symprfx in "" "_"; do 6002 6003 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6004 symxfrm="\\1 $ac_symprfx\\2 \\2" 6005 6006 # Write the raw and C identifiers. 6007 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6008 # Fake it for dumpbin and say T for any non-static function 6009 # and D for any global variable. 6010 # Also find C++ and __fastcall symbols from MSVC++, 6011 # which start with @ or ?. 6012 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6013" {last_section=section; section=\$ 3};"\ 6014" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6015" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6016" \$ 0!~/External *\|/{next};"\ 6017" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6018" {if(hide[section]) next};"\ 6019" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6020" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6021" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6022" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6023" ' prfx=^$ac_symprfx" 6024 else 6025 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6026 fi 6027 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6028 6029 # Check to see that the pipe works correctly. 6030 pipe_works=no 6031 6032 rm -f conftest* 6033 cat > conftest.$ac_ext <<_LT_EOF 6034#ifdef __cplusplus 6035extern "C" { 6036#endif 6037char nm_test_var; 6038void nm_test_func(void); 6039void nm_test_func(void){} 6040#ifdef __cplusplus 6041} 6042#endif 6043int main(){nm_test_var='a';nm_test_func();return(0);} 6044_LT_EOF 6045 6046 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6047 (eval $ac_compile) 2>&5 6048 ac_status=$? 6049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6050 test $ac_status = 0; }; then 6051 # Now try to grab the symbols. 6052 nlist=conftest.nm 6053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6054 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6055 ac_status=$? 6056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6057 test $ac_status = 0; } && test -s "$nlist"; then 6058 # Try sorting and uniquifying the output. 6059 if sort "$nlist" | uniq > "$nlist"T; then 6060 mv -f "$nlist"T "$nlist" 6061 else 6062 rm -f "$nlist"T 6063 fi 6064 6065 # Make sure that we snagged all the symbols we need. 6066 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6067 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6068 cat <<_LT_EOF > conftest.$ac_ext 6069/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6070#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6071/* DATA imports from DLLs on WIN32 con't be const, because runtime 6072 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6073# define LT_DLSYM_CONST 6074#elif defined(__osf__) 6075/* This system does not cope well with relocations in const data. */ 6076# define LT_DLSYM_CONST 6077#else 6078# define LT_DLSYM_CONST const 6079#endif 6080 6081#ifdef __cplusplus 6082extern "C" { 6083#endif 6084 6085_LT_EOF 6086 # Now generate the symbol file. 6087 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6088 6089 cat <<_LT_EOF >> conftest.$ac_ext 6090 6091/* The mapping between symbol names and symbols. */ 6092LT_DLSYM_CONST struct { 6093 const char *name; 6094 void *address; 6095} 6096lt__PROGRAM__LTX_preloaded_symbols[] = 6097{ 6098 { "@PROGRAM@", (void *) 0 }, 6099_LT_EOF 6100 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6101 cat <<\_LT_EOF >> conftest.$ac_ext 6102 {0, (void *) 0} 6103}; 6104 6105/* This works around a problem in FreeBSD linker */ 6106#ifdef FREEBSD_WORKAROUND 6107static const void *lt_preloaded_setup() { 6108 return lt__PROGRAM__LTX_preloaded_symbols; 6109} 6110#endif 6111 6112#ifdef __cplusplus 6113} 6114#endif 6115_LT_EOF 6116 # Now try linking the two files. 6117 mv conftest.$ac_objext conftstm.$ac_objext 6118 lt_globsym_save_LIBS=$LIBS 6119 lt_globsym_save_CFLAGS=$CFLAGS 6120 LIBS="conftstm.$ac_objext" 6121 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6122 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6123 (eval $ac_link) 2>&5 6124 ac_status=$? 6125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6126 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6127 pipe_works=yes 6128 fi 6129 LIBS=$lt_globsym_save_LIBS 6130 CFLAGS=$lt_globsym_save_CFLAGS 6131 else 6132 echo "cannot find nm_test_func in $nlist" >&5 6133 fi 6134 else 6135 echo "cannot find nm_test_var in $nlist" >&5 6136 fi 6137 else 6138 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6139 fi 6140 else 6141 echo "$progname: failed program was:" >&5 6142 cat conftest.$ac_ext >&5 6143 fi 6144 rm -rf conftest* conftst* 6145 6146 # Do not use the global_symbol_pipe unless it works. 6147 if test "$pipe_works" = yes; then 6148 break 6149 else 6150 lt_cv_sys_global_symbol_pipe= 6151 fi 6152done 6153 6154fi 6155 6156if test -z "$lt_cv_sys_global_symbol_pipe"; then 6157 lt_cv_sys_global_symbol_to_cdecl= 6158fi 6159if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6161$as_echo "failed" >&6; } 6162else 6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6164$as_echo "ok" >&6; } 6165fi 6166 6167# Response file support. 6168if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6169 nm_file_list_spec='@' 6170elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6171 nm_file_list_spec='@' 6172fi 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6201$as_echo_n "checking for sysroot... " >&6; } 6202 6203# Check whether --with-sysroot was given. 6204if test "${with_sysroot+set}" = set; then : 6205 withval=$with_sysroot; 6206else 6207 with_sysroot=no 6208fi 6209 6210 6211lt_sysroot= 6212case ${with_sysroot} in #( 6213 yes) 6214 if test "$GCC" = yes; then 6215 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6216 fi 6217 ;; #( 6218 /*) 6219 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6220 ;; #( 6221 no|'') 6222 ;; #( 6223 *) 6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6225$as_echo "${with_sysroot}" >&6; } 6226 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6227 ;; 6228esac 6229 6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6231$as_echo "${lt_sysroot:-no}" >&6; } 6232 6233 6234 6235 6236 6237# Check whether --enable-libtool-lock was given. 6238if test "${enable_libtool_lock+set}" = set; then : 6239 enableval=$enable_libtool_lock; 6240fi 6241 6242test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6243 6244# Some flags need to be propagated to the compiler or linker for good 6245# libtool support. 6246case $host in 6247ia64-*-hpux*) 6248 # Find out which ABI we are using. 6249 echo 'int i;' > conftest.$ac_ext 6250 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6251 (eval $ac_compile) 2>&5 6252 ac_status=$? 6253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6254 test $ac_status = 0; }; then 6255 case `/usr/bin/file conftest.$ac_objext` in 6256 *ELF-32*) 6257 HPUX_IA64_MODE="32" 6258 ;; 6259 *ELF-64*) 6260 HPUX_IA64_MODE="64" 6261 ;; 6262 esac 6263 fi 6264 rm -rf conftest* 6265 ;; 6266*-*-irix6*) 6267 # Find out which ABI we are using. 6268 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6269 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6270 (eval $ac_compile) 2>&5 6271 ac_status=$? 6272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6273 test $ac_status = 0; }; then 6274 if test "$lt_cv_prog_gnu_ld" = yes; then 6275 case `/usr/bin/file conftest.$ac_objext` in 6276 *32-bit*) 6277 LD="${LD-ld} -melf32bsmip" 6278 ;; 6279 *N32*) 6280 LD="${LD-ld} -melf32bmipn32" 6281 ;; 6282 *64-bit*) 6283 LD="${LD-ld} -melf64bmip" 6284 ;; 6285 esac 6286 else 6287 case `/usr/bin/file conftest.$ac_objext` in 6288 *32-bit*) 6289 LD="${LD-ld} -32" 6290 ;; 6291 *N32*) 6292 LD="${LD-ld} -n32" 6293 ;; 6294 *64-bit*) 6295 LD="${LD-ld} -64" 6296 ;; 6297 esac 6298 fi 6299 fi 6300 rm -rf conftest* 6301 ;; 6302 6303x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6304s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6305 # Find out which ABI we are using. 6306 echo 'int i;' > conftest.$ac_ext 6307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6308 (eval $ac_compile) 2>&5 6309 ac_status=$? 6310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6311 test $ac_status = 0; }; then 6312 case `/usr/bin/file conftest.o` in 6313 *32-bit*) 6314 case $host in 6315 x86_64-*kfreebsd*-gnu) 6316 LD="${LD-ld} -m elf_i386_fbsd" 6317 ;; 6318 x86_64-*linux*) 6319 LD="${LD-ld} -m elf_i386" 6320 ;; 6321 ppc64-*linux*|powerpc64-*linux*) 6322 LD="${LD-ld} -m elf32ppclinux" 6323 ;; 6324 s390x-*linux*) 6325 LD="${LD-ld} -m elf_s390" 6326 ;; 6327 sparc64-*linux*) 6328 LD="${LD-ld} -m elf32_sparc" 6329 ;; 6330 esac 6331 ;; 6332 *64-bit*) 6333 case $host in 6334 x86_64-*kfreebsd*-gnu) 6335 LD="${LD-ld} -m elf_x86_64_fbsd" 6336 ;; 6337 x86_64-*linux*) 6338 LD="${LD-ld} -m elf_x86_64" 6339 ;; 6340 ppc*-*linux*|powerpc*-*linux*) 6341 LD="${LD-ld} -m elf64ppc" 6342 ;; 6343 s390*-*linux*|s390*-*tpf*) 6344 LD="${LD-ld} -m elf64_s390" 6345 ;; 6346 sparc*-*linux*) 6347 LD="${LD-ld} -m elf64_sparc" 6348 ;; 6349 esac 6350 ;; 6351 esac 6352 fi 6353 rm -rf conftest* 6354 ;; 6355 6356*-*-sco3.2v5*) 6357 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6358 SAVE_CFLAGS="$CFLAGS" 6359 CFLAGS="$CFLAGS -belf" 6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6361$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6362if ${lt_cv_cc_needs_belf+:} false; then : 6363 $as_echo_n "(cached) " >&6 6364else 6365 ac_ext=c 6366ac_cpp='$CPP $CPPFLAGS' 6367ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6368ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6369ac_compiler_gnu=$ac_cv_c_compiler_gnu 6370 6371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6372/* end confdefs.h. */ 6373 6374int 6375main () 6376{ 6377 6378 ; 6379 return 0; 6380} 6381_ACEOF 6382if ac_fn_c_try_link "$LINENO"; then : 6383 lt_cv_cc_needs_belf=yes 6384else 6385 lt_cv_cc_needs_belf=no 6386fi 6387rm -f core conftest.err conftest.$ac_objext \ 6388 conftest$ac_exeext conftest.$ac_ext 6389 ac_ext=c 6390ac_cpp='$CPP $CPPFLAGS' 6391ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6392ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6393ac_compiler_gnu=$ac_cv_c_compiler_gnu 6394 6395fi 6396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6397$as_echo "$lt_cv_cc_needs_belf" >&6; } 6398 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6399 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6400 CFLAGS="$SAVE_CFLAGS" 6401 fi 6402 ;; 6403*-*solaris*) 6404 # Find out which ABI we are using. 6405 echo 'int i;' > conftest.$ac_ext 6406 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6407 (eval $ac_compile) 2>&5 6408 ac_status=$? 6409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6410 test $ac_status = 0; }; then 6411 case `/usr/bin/file conftest.o` in 6412 *64-bit*) 6413 case $lt_cv_prog_gnu_ld in 6414 yes*) 6415 case $host in 6416 i?86-*-solaris*) 6417 LD="${LD-ld} -m elf_x86_64" 6418 ;; 6419 sparc*-*-solaris*) 6420 LD="${LD-ld} -m elf64_sparc" 6421 ;; 6422 esac 6423 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6424 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6425 LD="${LD-ld}_sol2" 6426 fi 6427 ;; 6428 *) 6429 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6430 LD="${LD-ld} -64" 6431 fi 6432 ;; 6433 esac 6434 ;; 6435 esac 6436 fi 6437 rm -rf conftest* 6438 ;; 6439esac 6440 6441need_locks="$enable_libtool_lock" 6442 6443if test -n "$ac_tool_prefix"; then 6444 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6445set dummy ${ac_tool_prefix}mt; ac_word=$2 6446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6447$as_echo_n "checking for $ac_word... " >&6; } 6448if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6449 $as_echo_n "(cached) " >&6 6450else 6451 if test -n "$MANIFEST_TOOL"; then 6452 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6453else 6454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6455for as_dir in $PATH 6456do 6457 IFS=$as_save_IFS 6458 test -z "$as_dir" && as_dir=. 6459 for ac_exec_ext in '' $ac_executable_extensions; do 6460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6461 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6463 break 2 6464 fi 6465done 6466 done 6467IFS=$as_save_IFS 6468 6469fi 6470fi 6471MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6472if test -n "$MANIFEST_TOOL"; then 6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6474$as_echo "$MANIFEST_TOOL" >&6; } 6475else 6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6477$as_echo "no" >&6; } 6478fi 6479 6480 6481fi 6482if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6483 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6484 # Extract the first word of "mt", so it can be a program name with args. 6485set dummy mt; ac_word=$2 6486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6487$as_echo_n "checking for $ac_word... " >&6; } 6488if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6489 $as_echo_n "(cached) " >&6 6490else 6491 if test -n "$ac_ct_MANIFEST_TOOL"; then 6492 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6493else 6494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6495for as_dir in $PATH 6496do 6497 IFS=$as_save_IFS 6498 test -z "$as_dir" && as_dir=. 6499 for ac_exec_ext in '' $ac_executable_extensions; do 6500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6501 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6503 break 2 6504 fi 6505done 6506 done 6507IFS=$as_save_IFS 6508 6509fi 6510fi 6511ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6512if test -n "$ac_ct_MANIFEST_TOOL"; then 6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6514$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6515else 6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6517$as_echo "no" >&6; } 6518fi 6519 6520 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6521 MANIFEST_TOOL=":" 6522 else 6523 case $cross_compiling:$ac_tool_warned in 6524yes:) 6525{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6526$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6527ac_tool_warned=yes ;; 6528esac 6529 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6530 fi 6531else 6532 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6533fi 6534 6535test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6537$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6538if ${lt_cv_path_mainfest_tool+:} false; then : 6539 $as_echo_n "(cached) " >&6 6540else 6541 lt_cv_path_mainfest_tool=no 6542 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6543 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6544 cat conftest.err >&5 6545 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6546 lt_cv_path_mainfest_tool=yes 6547 fi 6548 rm -f conftest* 6549fi 6550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6551$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6552if test "x$lt_cv_path_mainfest_tool" != xyes; then 6553 MANIFEST_TOOL=: 6554fi 6555 6556 6557 6558 6559 6560 6561 case $host_os in 6562 rhapsody* | darwin*) 6563 if test -n "$ac_tool_prefix"; then 6564 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6565set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6567$as_echo_n "checking for $ac_word... " >&6; } 6568if ${ac_cv_prog_DSYMUTIL+:} false; then : 6569 $as_echo_n "(cached) " >&6 6570else 6571 if test -n "$DSYMUTIL"; then 6572 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6573else 6574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6575for as_dir in $PATH 6576do 6577 IFS=$as_save_IFS 6578 test -z "$as_dir" && as_dir=. 6579 for ac_exec_ext in '' $ac_executable_extensions; do 6580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6581 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6583 break 2 6584 fi 6585done 6586 done 6587IFS=$as_save_IFS 6588 6589fi 6590fi 6591DSYMUTIL=$ac_cv_prog_DSYMUTIL 6592if test -n "$DSYMUTIL"; then 6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6594$as_echo "$DSYMUTIL" >&6; } 6595else 6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6597$as_echo "no" >&6; } 6598fi 6599 6600 6601fi 6602if test -z "$ac_cv_prog_DSYMUTIL"; then 6603 ac_ct_DSYMUTIL=$DSYMUTIL 6604 # Extract the first word of "dsymutil", so it can be a program name with args. 6605set dummy dsymutil; ac_word=$2 6606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6607$as_echo_n "checking for $ac_word... " >&6; } 6608if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6609 $as_echo_n "(cached) " >&6 6610else 6611 if test -n "$ac_ct_DSYMUTIL"; then 6612 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6613else 6614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6615for as_dir in $PATH 6616do 6617 IFS=$as_save_IFS 6618 test -z "$as_dir" && as_dir=. 6619 for ac_exec_ext in '' $ac_executable_extensions; do 6620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6621 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6623 break 2 6624 fi 6625done 6626 done 6627IFS=$as_save_IFS 6628 6629fi 6630fi 6631ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6632if test -n "$ac_ct_DSYMUTIL"; then 6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6634$as_echo "$ac_ct_DSYMUTIL" >&6; } 6635else 6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6637$as_echo "no" >&6; } 6638fi 6639 6640 if test "x$ac_ct_DSYMUTIL" = x; then 6641 DSYMUTIL=":" 6642 else 6643 case $cross_compiling:$ac_tool_warned in 6644yes:) 6645{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6646$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6647ac_tool_warned=yes ;; 6648esac 6649 DSYMUTIL=$ac_ct_DSYMUTIL 6650 fi 6651else 6652 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6653fi 6654 6655 if test -n "$ac_tool_prefix"; then 6656 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6657set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6659$as_echo_n "checking for $ac_word... " >&6; } 6660if ${ac_cv_prog_NMEDIT+:} false; then : 6661 $as_echo_n "(cached) " >&6 6662else 6663 if test -n "$NMEDIT"; then 6664 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6665else 6666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6667for as_dir in $PATH 6668do 6669 IFS=$as_save_IFS 6670 test -z "$as_dir" && as_dir=. 6671 for ac_exec_ext in '' $ac_executable_extensions; do 6672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6673 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6675 break 2 6676 fi 6677done 6678 done 6679IFS=$as_save_IFS 6680 6681fi 6682fi 6683NMEDIT=$ac_cv_prog_NMEDIT 6684if test -n "$NMEDIT"; then 6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6686$as_echo "$NMEDIT" >&6; } 6687else 6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6689$as_echo "no" >&6; } 6690fi 6691 6692 6693fi 6694if test -z "$ac_cv_prog_NMEDIT"; then 6695 ac_ct_NMEDIT=$NMEDIT 6696 # Extract the first word of "nmedit", so it can be a program name with args. 6697set dummy nmedit; ac_word=$2 6698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6699$as_echo_n "checking for $ac_word... " >&6; } 6700if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6701 $as_echo_n "(cached) " >&6 6702else 6703 if test -n "$ac_ct_NMEDIT"; then 6704 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6705else 6706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6707for as_dir in $PATH 6708do 6709 IFS=$as_save_IFS 6710 test -z "$as_dir" && as_dir=. 6711 for ac_exec_ext in '' $ac_executable_extensions; do 6712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6713 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6715 break 2 6716 fi 6717done 6718 done 6719IFS=$as_save_IFS 6720 6721fi 6722fi 6723ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6724if test -n "$ac_ct_NMEDIT"; then 6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6726$as_echo "$ac_ct_NMEDIT" >&6; } 6727else 6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6729$as_echo "no" >&6; } 6730fi 6731 6732 if test "x$ac_ct_NMEDIT" = x; then 6733 NMEDIT=":" 6734 else 6735 case $cross_compiling:$ac_tool_warned in 6736yes:) 6737{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6738$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6739ac_tool_warned=yes ;; 6740esac 6741 NMEDIT=$ac_ct_NMEDIT 6742 fi 6743else 6744 NMEDIT="$ac_cv_prog_NMEDIT" 6745fi 6746 6747 if test -n "$ac_tool_prefix"; then 6748 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6749set dummy ${ac_tool_prefix}lipo; ac_word=$2 6750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6751$as_echo_n "checking for $ac_word... " >&6; } 6752if ${ac_cv_prog_LIPO+:} false; then : 6753 $as_echo_n "(cached) " >&6 6754else 6755 if test -n "$LIPO"; then 6756 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6757else 6758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6759for as_dir in $PATH 6760do 6761 IFS=$as_save_IFS 6762 test -z "$as_dir" && as_dir=. 6763 for ac_exec_ext in '' $ac_executable_extensions; do 6764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6765 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6767 break 2 6768 fi 6769done 6770 done 6771IFS=$as_save_IFS 6772 6773fi 6774fi 6775LIPO=$ac_cv_prog_LIPO 6776if test -n "$LIPO"; then 6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6778$as_echo "$LIPO" >&6; } 6779else 6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6781$as_echo "no" >&6; } 6782fi 6783 6784 6785fi 6786if test -z "$ac_cv_prog_LIPO"; then 6787 ac_ct_LIPO=$LIPO 6788 # Extract the first word of "lipo", so it can be a program name with args. 6789set dummy lipo; ac_word=$2 6790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6791$as_echo_n "checking for $ac_word... " >&6; } 6792if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6793 $as_echo_n "(cached) " >&6 6794else 6795 if test -n "$ac_ct_LIPO"; then 6796 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6797else 6798as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6799for as_dir in $PATH 6800do 6801 IFS=$as_save_IFS 6802 test -z "$as_dir" && as_dir=. 6803 for ac_exec_ext in '' $ac_executable_extensions; do 6804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6805 ac_cv_prog_ac_ct_LIPO="lipo" 6806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6807 break 2 6808 fi 6809done 6810 done 6811IFS=$as_save_IFS 6812 6813fi 6814fi 6815ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6816if test -n "$ac_ct_LIPO"; then 6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6818$as_echo "$ac_ct_LIPO" >&6; } 6819else 6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6821$as_echo "no" >&6; } 6822fi 6823 6824 if test "x$ac_ct_LIPO" = x; then 6825 LIPO=":" 6826 else 6827 case $cross_compiling:$ac_tool_warned in 6828yes:) 6829{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6830$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6831ac_tool_warned=yes ;; 6832esac 6833 LIPO=$ac_ct_LIPO 6834 fi 6835else 6836 LIPO="$ac_cv_prog_LIPO" 6837fi 6838 6839 if test -n "$ac_tool_prefix"; then 6840 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6841set dummy ${ac_tool_prefix}otool; ac_word=$2 6842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6843$as_echo_n "checking for $ac_word... " >&6; } 6844if ${ac_cv_prog_OTOOL+:} false; then : 6845 $as_echo_n "(cached) " >&6 6846else 6847 if test -n "$OTOOL"; then 6848 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6849else 6850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6851for as_dir in $PATH 6852do 6853 IFS=$as_save_IFS 6854 test -z "$as_dir" && as_dir=. 6855 for ac_exec_ext in '' $ac_executable_extensions; do 6856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6857 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6859 break 2 6860 fi 6861done 6862 done 6863IFS=$as_save_IFS 6864 6865fi 6866fi 6867OTOOL=$ac_cv_prog_OTOOL 6868if test -n "$OTOOL"; then 6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6870$as_echo "$OTOOL" >&6; } 6871else 6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6873$as_echo "no" >&6; } 6874fi 6875 6876 6877fi 6878if test -z "$ac_cv_prog_OTOOL"; then 6879 ac_ct_OTOOL=$OTOOL 6880 # Extract the first word of "otool", so it can be a program name with args. 6881set dummy otool; ac_word=$2 6882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6883$as_echo_n "checking for $ac_word... " >&6; } 6884if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6885 $as_echo_n "(cached) " >&6 6886else 6887 if test -n "$ac_ct_OTOOL"; then 6888 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6889else 6890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6891for as_dir in $PATH 6892do 6893 IFS=$as_save_IFS 6894 test -z "$as_dir" && as_dir=. 6895 for ac_exec_ext in '' $ac_executable_extensions; do 6896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6897 ac_cv_prog_ac_ct_OTOOL="otool" 6898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6899 break 2 6900 fi 6901done 6902 done 6903IFS=$as_save_IFS 6904 6905fi 6906fi 6907ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6908if test -n "$ac_ct_OTOOL"; then 6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6910$as_echo "$ac_ct_OTOOL" >&6; } 6911else 6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6913$as_echo "no" >&6; } 6914fi 6915 6916 if test "x$ac_ct_OTOOL" = x; then 6917 OTOOL=":" 6918 else 6919 case $cross_compiling:$ac_tool_warned in 6920yes:) 6921{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6922$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6923ac_tool_warned=yes ;; 6924esac 6925 OTOOL=$ac_ct_OTOOL 6926 fi 6927else 6928 OTOOL="$ac_cv_prog_OTOOL" 6929fi 6930 6931 if test -n "$ac_tool_prefix"; then 6932 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6933set dummy ${ac_tool_prefix}otool64; ac_word=$2 6934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6935$as_echo_n "checking for $ac_word... " >&6; } 6936if ${ac_cv_prog_OTOOL64+:} false; then : 6937 $as_echo_n "(cached) " >&6 6938else 6939 if test -n "$OTOOL64"; then 6940 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6941else 6942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6943for as_dir in $PATH 6944do 6945 IFS=$as_save_IFS 6946 test -z "$as_dir" && as_dir=. 6947 for ac_exec_ext in '' $ac_executable_extensions; do 6948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6949 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6951 break 2 6952 fi 6953done 6954 done 6955IFS=$as_save_IFS 6956 6957fi 6958fi 6959OTOOL64=$ac_cv_prog_OTOOL64 6960if test -n "$OTOOL64"; then 6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6962$as_echo "$OTOOL64" >&6; } 6963else 6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6965$as_echo "no" >&6; } 6966fi 6967 6968 6969fi 6970if test -z "$ac_cv_prog_OTOOL64"; then 6971 ac_ct_OTOOL64=$OTOOL64 6972 # Extract the first word of "otool64", so it can be a program name with args. 6973set dummy otool64; ac_word=$2 6974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6975$as_echo_n "checking for $ac_word... " >&6; } 6976if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 6977 $as_echo_n "(cached) " >&6 6978else 6979 if test -n "$ac_ct_OTOOL64"; then 6980 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6981else 6982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6983for as_dir in $PATH 6984do 6985 IFS=$as_save_IFS 6986 test -z "$as_dir" && as_dir=. 6987 for ac_exec_ext in '' $ac_executable_extensions; do 6988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6989 ac_cv_prog_ac_ct_OTOOL64="otool64" 6990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6991 break 2 6992 fi 6993done 6994 done 6995IFS=$as_save_IFS 6996 6997fi 6998fi 6999ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7000if test -n "$ac_ct_OTOOL64"; then 7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7002$as_echo "$ac_ct_OTOOL64" >&6; } 7003else 7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7005$as_echo "no" >&6; } 7006fi 7007 7008 if test "x$ac_ct_OTOOL64" = x; then 7009 OTOOL64=":" 7010 else 7011 case $cross_compiling:$ac_tool_warned in 7012yes:) 7013{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7014$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7015ac_tool_warned=yes ;; 7016esac 7017 OTOOL64=$ac_ct_OTOOL64 7018 fi 7019else 7020 OTOOL64="$ac_cv_prog_OTOOL64" 7021fi 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7050$as_echo_n "checking for -single_module linker flag... " >&6; } 7051if ${lt_cv_apple_cc_single_mod+:} false; then : 7052 $as_echo_n "(cached) " >&6 7053else 7054 lt_cv_apple_cc_single_mod=no 7055 if test -z "${LT_MULTI_MODULE}"; then 7056 # By default we will add the -single_module flag. You can override 7057 # by either setting the environment variable LT_MULTI_MODULE 7058 # non-empty at configure time, or by adding -multi_module to the 7059 # link flags. 7060 rm -rf libconftest.dylib* 7061 echo "int foo(void){return 1;}" > conftest.c 7062 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7063-dynamiclib -Wl,-single_module conftest.c" >&5 7064 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7065 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7066 _lt_result=$? 7067 # If there is a non-empty error log, and "single_module" 7068 # appears in it, assume the flag caused a linker warning 7069 if test -s conftest.err && $GREP single_module conftest.err; then 7070 cat conftest.err >&5 7071 # Otherwise, if the output was created with a 0 exit code from 7072 # the compiler, it worked. 7073 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7074 lt_cv_apple_cc_single_mod=yes 7075 else 7076 cat conftest.err >&5 7077 fi 7078 rm -rf libconftest.dylib* 7079 rm -f conftest.* 7080 fi 7081fi 7082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7083$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7084 7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7086$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7087if ${lt_cv_ld_exported_symbols_list+:} false; then : 7088 $as_echo_n "(cached) " >&6 7089else 7090 lt_cv_ld_exported_symbols_list=no 7091 save_LDFLAGS=$LDFLAGS 7092 echo "_main" > conftest.sym 7093 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7095/* end confdefs.h. */ 7096 7097int 7098main () 7099{ 7100 7101 ; 7102 return 0; 7103} 7104_ACEOF 7105if ac_fn_c_try_link "$LINENO"; then : 7106 lt_cv_ld_exported_symbols_list=yes 7107else 7108 lt_cv_ld_exported_symbols_list=no 7109fi 7110rm -f core conftest.err conftest.$ac_objext \ 7111 conftest$ac_exeext conftest.$ac_ext 7112 LDFLAGS="$save_LDFLAGS" 7113 7114fi 7115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7116$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7117 7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7119$as_echo_n "checking for -force_load linker flag... " >&6; } 7120if ${lt_cv_ld_force_load+:} false; then : 7121 $as_echo_n "(cached) " >&6 7122else 7123 lt_cv_ld_force_load=no 7124 cat > conftest.c << _LT_EOF 7125int forced_loaded() { return 2;} 7126_LT_EOF 7127 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7128 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7129 echo "$AR cru libconftest.a conftest.o" >&5 7130 $AR cru libconftest.a conftest.o 2>&5 7131 echo "$RANLIB libconftest.a" >&5 7132 $RANLIB libconftest.a 2>&5 7133 cat > conftest.c << _LT_EOF 7134int main() { return 0;} 7135_LT_EOF 7136 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7137 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7138 _lt_result=$? 7139 if test -s conftest.err && $GREP force_load conftest.err; then 7140 cat conftest.err >&5 7141 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7142 lt_cv_ld_force_load=yes 7143 else 7144 cat conftest.err >&5 7145 fi 7146 rm -f conftest.err libconftest.a conftest conftest.c 7147 rm -rf conftest.dSYM 7148 7149fi 7150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7151$as_echo "$lt_cv_ld_force_load" >&6; } 7152 case $host_os in 7153 rhapsody* | darwin1.[012]) 7154 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7155 darwin1.*) 7156 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7157 darwin*) # darwin 5.x on 7158 # if running on 10.5 or later, the deployment target defaults 7159 # to the OS version, if on x86, and 10.4, the deployment 7160 # target defaults to 10.4. Don't you love it? 7161 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7162 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7163 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7164 10.[012]*) 7165 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7166 10.*) 7167 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7168 esac 7169 ;; 7170 esac 7171 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7172 _lt_dar_single_mod='$single_module' 7173 fi 7174 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7175 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7176 else 7177 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7178 fi 7179 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7180 _lt_dsymutil='~$DSYMUTIL $lib || :' 7181 else 7182 _lt_dsymutil= 7183 fi 7184 ;; 7185 esac 7186 7187ac_ext=c 7188ac_cpp='$CPP $CPPFLAGS' 7189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7191ac_compiler_gnu=$ac_cv_c_compiler_gnu 7192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7193$as_echo_n "checking how to run the C preprocessor... " >&6; } 7194# On Suns, sometimes $CPP names a directory. 7195if test -n "$CPP" && test -d "$CPP"; then 7196 CPP= 7197fi 7198if test -z "$CPP"; then 7199 if ${ac_cv_prog_CPP+:} false; then : 7200 $as_echo_n "(cached) " >&6 7201else 7202 # Double quotes because CPP needs to be expanded 7203 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7204 do 7205 ac_preproc_ok=false 7206for ac_c_preproc_warn_flag in '' yes 7207do 7208 # Use a header file that comes with gcc, so configuring glibc 7209 # with a fresh cross-compiler works. 7210 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7211 # <limits.h> exists even on freestanding compilers. 7212 # On the NeXT, cc -E runs the code through the compiler's parser, 7213 # not just through cpp. "Syntax error" is here to catch this case. 7214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7215/* end confdefs.h. */ 7216#ifdef __STDC__ 7217# include <limits.h> 7218#else 7219# include <assert.h> 7220#endif 7221 Syntax error 7222_ACEOF 7223if ac_fn_c_try_cpp "$LINENO"; then : 7224 7225else 7226 # Broken: fails on valid input. 7227continue 7228fi 7229rm -f conftest.err conftest.i conftest.$ac_ext 7230 7231 # OK, works on sane cases. Now check whether nonexistent headers 7232 # can be detected and how. 7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7234/* end confdefs.h. */ 7235#include <ac_nonexistent.h> 7236_ACEOF 7237if ac_fn_c_try_cpp "$LINENO"; then : 7238 # Broken: success on invalid input. 7239continue 7240else 7241 # Passes both tests. 7242ac_preproc_ok=: 7243break 7244fi 7245rm -f conftest.err conftest.i conftest.$ac_ext 7246 7247done 7248# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7249rm -f conftest.i conftest.err conftest.$ac_ext 7250if $ac_preproc_ok; then : 7251 break 7252fi 7253 7254 done 7255 ac_cv_prog_CPP=$CPP 7256 7257fi 7258 CPP=$ac_cv_prog_CPP 7259else 7260 ac_cv_prog_CPP=$CPP 7261fi 7262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7263$as_echo "$CPP" >&6; } 7264ac_preproc_ok=false 7265for ac_c_preproc_warn_flag in '' yes 7266do 7267 # Use a header file that comes with gcc, so configuring glibc 7268 # with a fresh cross-compiler works. 7269 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7270 # <limits.h> exists even on freestanding compilers. 7271 # On the NeXT, cc -E runs the code through the compiler's parser, 7272 # not just through cpp. "Syntax error" is here to catch this case. 7273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7274/* end confdefs.h. */ 7275#ifdef __STDC__ 7276# include <limits.h> 7277#else 7278# include <assert.h> 7279#endif 7280 Syntax error 7281_ACEOF 7282if ac_fn_c_try_cpp "$LINENO"; then : 7283 7284else 7285 # Broken: fails on valid input. 7286continue 7287fi 7288rm -f conftest.err conftest.i conftest.$ac_ext 7289 7290 # OK, works on sane cases. Now check whether nonexistent headers 7291 # can be detected and how. 7292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7293/* end confdefs.h. */ 7294#include <ac_nonexistent.h> 7295_ACEOF 7296if ac_fn_c_try_cpp "$LINENO"; then : 7297 # Broken: success on invalid input. 7298continue 7299else 7300 # Passes both tests. 7301ac_preproc_ok=: 7302break 7303fi 7304rm -f conftest.err conftest.i conftest.$ac_ext 7305 7306done 7307# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7308rm -f conftest.i conftest.err conftest.$ac_ext 7309if $ac_preproc_ok; then : 7310 7311else 7312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7313$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7314as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7315See \`config.log' for more details" "$LINENO" 5; } 7316fi 7317 7318ac_ext=c 7319ac_cpp='$CPP $CPPFLAGS' 7320ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7321ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7322ac_compiler_gnu=$ac_cv_c_compiler_gnu 7323 7324 7325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7326$as_echo_n "checking for ANSI C header files... " >&6; } 7327if ${ac_cv_header_stdc+:} false; then : 7328 $as_echo_n "(cached) " >&6 7329else 7330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7331/* end confdefs.h. */ 7332#include <stdlib.h> 7333#include <stdarg.h> 7334#include <string.h> 7335#include <float.h> 7336 7337int 7338main () 7339{ 7340 7341 ; 7342 return 0; 7343} 7344_ACEOF 7345if ac_fn_c_try_compile "$LINENO"; then : 7346 ac_cv_header_stdc=yes 7347else 7348 ac_cv_header_stdc=no 7349fi 7350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7351 7352if test $ac_cv_header_stdc = yes; then 7353 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7355/* end confdefs.h. */ 7356#include <string.h> 7357 7358_ACEOF 7359if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7360 $EGREP "memchr" >/dev/null 2>&1; then : 7361 7362else 7363 ac_cv_header_stdc=no 7364fi 7365rm -f conftest* 7366 7367fi 7368 7369if test $ac_cv_header_stdc = yes; then 7370 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7372/* end confdefs.h. */ 7373#include <stdlib.h> 7374 7375_ACEOF 7376if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7377 $EGREP "free" >/dev/null 2>&1; then : 7378 7379else 7380 ac_cv_header_stdc=no 7381fi 7382rm -f conftest* 7383 7384fi 7385 7386if test $ac_cv_header_stdc = yes; then 7387 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7388 if test "$cross_compiling" = yes; then : 7389 : 7390else 7391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7392/* end confdefs.h. */ 7393#include <ctype.h> 7394#include <stdlib.h> 7395#if ((' ' & 0x0FF) == 0x020) 7396# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7397# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7398#else 7399# define ISLOWER(c) \ 7400 (('a' <= (c) && (c) <= 'i') \ 7401 || ('j' <= (c) && (c) <= 'r') \ 7402 || ('s' <= (c) && (c) <= 'z')) 7403# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7404#endif 7405 7406#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7407int 7408main () 7409{ 7410 int i; 7411 for (i = 0; i < 256; i++) 7412 if (XOR (islower (i), ISLOWER (i)) 7413 || toupper (i) != TOUPPER (i)) 7414 return 2; 7415 return 0; 7416} 7417_ACEOF 7418if ac_fn_c_try_run "$LINENO"; then : 7419 7420else 7421 ac_cv_header_stdc=no 7422fi 7423rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7424 conftest.$ac_objext conftest.beam conftest.$ac_ext 7425fi 7426 7427fi 7428fi 7429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7430$as_echo "$ac_cv_header_stdc" >&6; } 7431if test $ac_cv_header_stdc = yes; then 7432 7433$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7434 7435fi 7436 7437# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7438for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7439 inttypes.h stdint.h unistd.h 7440do : 7441 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7442ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7443" 7444if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7445 cat >>confdefs.h <<_ACEOF 7446#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7447_ACEOF 7448 7449fi 7450 7451done 7452 7453 7454for ac_header in dlfcn.h 7455do : 7456 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7457" 7458if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7459 cat >>confdefs.h <<_ACEOF 7460#define HAVE_DLFCN_H 1 7461_ACEOF 7462 7463fi 7464 7465done 7466 7467 7468 7469 7470 7471# Set options 7472 7473 7474 7475 enable_dlopen=no 7476 7477 7478 enable_win32_dll=no 7479 7480 7481 # Check whether --enable-shared was given. 7482if test "${enable_shared+set}" = set; then : 7483 enableval=$enable_shared; p=${PACKAGE-default} 7484 case $enableval in 7485 yes) enable_shared=yes ;; 7486 no) enable_shared=no ;; 7487 *) 7488 enable_shared=no 7489 # Look at the argument we got. We use all the common list separators. 7490 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7491 for pkg in $enableval; do 7492 IFS="$lt_save_ifs" 7493 if test "X$pkg" = "X$p"; then 7494 enable_shared=yes 7495 fi 7496 done 7497 IFS="$lt_save_ifs" 7498 ;; 7499 esac 7500else 7501 enable_shared=yes 7502fi 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 # Check whether --enable-static was given. 7513if test "${enable_static+set}" = set; then : 7514 enableval=$enable_static; p=${PACKAGE-default} 7515 case $enableval in 7516 yes) enable_static=yes ;; 7517 no) enable_static=no ;; 7518 *) 7519 enable_static=no 7520 # Look at the argument we got. We use all the common list separators. 7521 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7522 for pkg in $enableval; do 7523 IFS="$lt_save_ifs" 7524 if test "X$pkg" = "X$p"; then 7525 enable_static=yes 7526 fi 7527 done 7528 IFS="$lt_save_ifs" 7529 ;; 7530 esac 7531else 7532 enable_static=yes 7533fi 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544# Check whether --with-pic was given. 7545if test "${with_pic+set}" = set; then : 7546 withval=$with_pic; lt_p=${PACKAGE-default} 7547 case $withval in 7548 yes|no) pic_mode=$withval ;; 7549 *) 7550 pic_mode=default 7551 # Look at the argument we got. We use all the common list separators. 7552 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7553 for lt_pkg in $withval; do 7554 IFS="$lt_save_ifs" 7555 if test "X$lt_pkg" = "X$lt_p"; then 7556 pic_mode=yes 7557 fi 7558 done 7559 IFS="$lt_save_ifs" 7560 ;; 7561 esac 7562else 7563 pic_mode=default 7564fi 7565 7566 7567test -z "$pic_mode" && pic_mode=default 7568 7569 7570 7571 7572 7573 7574 7575 # Check whether --enable-fast-install was given. 7576if test "${enable_fast_install+set}" = set; then : 7577 enableval=$enable_fast_install; p=${PACKAGE-default} 7578 case $enableval in 7579 yes) enable_fast_install=yes ;; 7580 no) enable_fast_install=no ;; 7581 *) 7582 enable_fast_install=no 7583 # Look at the argument we got. We use all the common list separators. 7584 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7585 for pkg in $enableval; do 7586 IFS="$lt_save_ifs" 7587 if test "X$pkg" = "X$p"; then 7588 enable_fast_install=yes 7589 fi 7590 done 7591 IFS="$lt_save_ifs" 7592 ;; 7593 esac 7594else 7595 enable_fast_install=yes 7596fi 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608# This can be used to rebuild libtool when needed 7609LIBTOOL_DEPS="$ltmain" 7610 7611# Always use our own libtool. 7612LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643test -z "$LN_S" && LN_S="ln -s" 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658if test -n "${ZSH_VERSION+set}" ; then 7659 setopt NO_GLOB_SUBST 7660fi 7661 7662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7663$as_echo_n "checking for objdir... " >&6; } 7664if ${lt_cv_objdir+:} false; then : 7665 $as_echo_n "(cached) " >&6 7666else 7667 rm -f .libs 2>/dev/null 7668mkdir .libs 2>/dev/null 7669if test -d .libs; then 7670 lt_cv_objdir=.libs 7671else 7672 # MS-DOS does not allow filenames that begin with a dot. 7673 lt_cv_objdir=_libs 7674fi 7675rmdir .libs 2>/dev/null 7676fi 7677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7678$as_echo "$lt_cv_objdir" >&6; } 7679objdir=$lt_cv_objdir 7680 7681 7682 7683 7684 7685cat >>confdefs.h <<_ACEOF 7686#define LT_OBJDIR "$lt_cv_objdir/" 7687_ACEOF 7688 7689 7690 7691 7692case $host_os in 7693aix3*) 7694 # AIX sometimes has problems with the GCC collect2 program. For some 7695 # reason, if we set the COLLECT_NAMES environment variable, the problems 7696 # vanish in a puff of smoke. 7697 if test "X${COLLECT_NAMES+set}" != Xset; then 7698 COLLECT_NAMES= 7699 export COLLECT_NAMES 7700 fi 7701 ;; 7702esac 7703 7704# Global variables: 7705ofile=libtool 7706can_build_shared=yes 7707 7708# All known linkers require a `.a' archive for static linking (except MSVC, 7709# which needs '.lib'). 7710libext=a 7711 7712with_gnu_ld="$lt_cv_prog_gnu_ld" 7713 7714old_CC="$CC" 7715old_CFLAGS="$CFLAGS" 7716 7717# Set sane defaults for various variables 7718test -z "$CC" && CC=cc 7719test -z "$LTCC" && LTCC=$CC 7720test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7721test -z "$LD" && LD=ld 7722test -z "$ac_objext" && ac_objext=o 7723 7724for cc_temp in $compiler""; do 7725 case $cc_temp in 7726 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7727 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7728 \-*) ;; 7729 *) break;; 7730 esac 7731done 7732cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7733 7734 7735# Only perform the check for file, if the check method requires it 7736test -z "$MAGIC_CMD" && MAGIC_CMD=file 7737case $deplibs_check_method in 7738file_magic*) 7739 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7741$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7742if ${lt_cv_path_MAGIC_CMD+:} false; then : 7743 $as_echo_n "(cached) " >&6 7744else 7745 case $MAGIC_CMD in 7746[\\/*] | ?:[\\/]*) 7747 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7748 ;; 7749*) 7750 lt_save_MAGIC_CMD="$MAGIC_CMD" 7751 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7752 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7753 for ac_dir in $ac_dummy; do 7754 IFS="$lt_save_ifs" 7755 test -z "$ac_dir" && ac_dir=. 7756 if test -f $ac_dir/${ac_tool_prefix}file; then 7757 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7758 if test -n "$file_magic_test_file"; then 7759 case $deplibs_check_method in 7760 "file_magic "*) 7761 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7762 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7763 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7764 $EGREP "$file_magic_regex" > /dev/null; then 7765 : 7766 else 7767 cat <<_LT_EOF 1>&2 7768 7769*** Warning: the command libtool uses to detect shared libraries, 7770*** $file_magic_cmd, produces output that libtool cannot recognize. 7771*** The result is that libtool may fail to recognize shared libraries 7772*** as such. This will affect the creation of libtool libraries that 7773*** depend on shared libraries, but programs linked with such libtool 7774*** libraries will work regardless of this problem. Nevertheless, you 7775*** may want to report the problem to your system manager and/or to 7776*** bug-libtool@gnu.org 7777 7778_LT_EOF 7779 fi ;; 7780 esac 7781 fi 7782 break 7783 fi 7784 done 7785 IFS="$lt_save_ifs" 7786 MAGIC_CMD="$lt_save_MAGIC_CMD" 7787 ;; 7788esac 7789fi 7790 7791MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7792if test -n "$MAGIC_CMD"; then 7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7794$as_echo "$MAGIC_CMD" >&6; } 7795else 7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7797$as_echo "no" >&6; } 7798fi 7799 7800 7801 7802 7803 7804if test -z "$lt_cv_path_MAGIC_CMD"; then 7805 if test -n "$ac_tool_prefix"; then 7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7807$as_echo_n "checking for file... " >&6; } 7808if ${lt_cv_path_MAGIC_CMD+:} false; then : 7809 $as_echo_n "(cached) " >&6 7810else 7811 case $MAGIC_CMD in 7812[\\/*] | ?:[\\/]*) 7813 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7814 ;; 7815*) 7816 lt_save_MAGIC_CMD="$MAGIC_CMD" 7817 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7818 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7819 for ac_dir in $ac_dummy; do 7820 IFS="$lt_save_ifs" 7821 test -z "$ac_dir" && ac_dir=. 7822 if test -f $ac_dir/file; then 7823 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7824 if test -n "$file_magic_test_file"; then 7825 case $deplibs_check_method in 7826 "file_magic "*) 7827 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7828 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7829 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7830 $EGREP "$file_magic_regex" > /dev/null; then 7831 : 7832 else 7833 cat <<_LT_EOF 1>&2 7834 7835*** Warning: the command libtool uses to detect shared libraries, 7836*** $file_magic_cmd, produces output that libtool cannot recognize. 7837*** The result is that libtool may fail to recognize shared libraries 7838*** as such. This will affect the creation of libtool libraries that 7839*** depend on shared libraries, but programs linked with such libtool 7840*** libraries will work regardless of this problem. Nevertheless, you 7841*** may want to report the problem to your system manager and/or to 7842*** bug-libtool@gnu.org 7843 7844_LT_EOF 7845 fi ;; 7846 esac 7847 fi 7848 break 7849 fi 7850 done 7851 IFS="$lt_save_ifs" 7852 MAGIC_CMD="$lt_save_MAGIC_CMD" 7853 ;; 7854esac 7855fi 7856 7857MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7858if test -n "$MAGIC_CMD"; then 7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7860$as_echo "$MAGIC_CMD" >&6; } 7861else 7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7863$as_echo "no" >&6; } 7864fi 7865 7866 7867 else 7868 MAGIC_CMD=: 7869 fi 7870fi 7871 7872 fi 7873 ;; 7874esac 7875 7876# Use C for the default configuration in the libtool script 7877 7878lt_save_CC="$CC" 7879ac_ext=c 7880ac_cpp='$CPP $CPPFLAGS' 7881ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7882ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7883ac_compiler_gnu=$ac_cv_c_compiler_gnu 7884 7885 7886# Source file extension for C test sources. 7887ac_ext=c 7888 7889# Object file extension for compiled C test sources. 7890objext=o 7891objext=$objext 7892 7893# Code to be used in simple compile tests 7894lt_simple_compile_test_code="int some_variable = 0;" 7895 7896# Code to be used in simple link tests 7897lt_simple_link_test_code='int main(){return(0);}' 7898 7899 7900 7901 7902 7903 7904 7905# If no C compiler was specified, use CC. 7906LTCC=${LTCC-"$CC"} 7907 7908# If no C compiler flags were specified, use CFLAGS. 7909LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7910 7911# Allow CC to be a program name with arguments. 7912compiler=$CC 7913 7914# Save the default compiler, since it gets overwritten when the other 7915# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7916compiler_DEFAULT=$CC 7917 7918# save warnings/boilerplate of simple test code 7919ac_outfile=conftest.$ac_objext 7920echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7921eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7922_lt_compiler_boilerplate=`cat conftest.err` 7923$RM conftest* 7924 7925ac_outfile=conftest.$ac_objext 7926echo "$lt_simple_link_test_code" >conftest.$ac_ext 7927eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7928_lt_linker_boilerplate=`cat conftest.err` 7929$RM -r conftest* 7930 7931 7932if test -n "$compiler"; then 7933 7934lt_prog_compiler_no_builtin_flag= 7935 7936if test "$GCC" = yes; then 7937 case $cc_basename in 7938 nvcc*) 7939 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 7940 *) 7941 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7942 esac 7943 7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7945$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7946if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 7947 $as_echo_n "(cached) " >&6 7948else 7949 lt_cv_prog_compiler_rtti_exceptions=no 7950 ac_outfile=conftest.$ac_objext 7951 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7952 lt_compiler_flag="-fno-rtti -fno-exceptions" 7953 # Insert the option either (1) after the last *FLAGS variable, or 7954 # (2) before a word containing "conftest.", or (3) at the end. 7955 # Note that $ac_compile itself does not contain backslashes and begins 7956 # with a dollar sign (not a hyphen), so the echo should work correctly. 7957 # The option is referenced via a variable to avoid confusing sed. 7958 lt_compile=`echo "$ac_compile" | $SED \ 7959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7961 -e 's:$: $lt_compiler_flag:'` 7962 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7963 (eval "$lt_compile" 2>conftest.err) 7964 ac_status=$? 7965 cat conftest.err >&5 7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7967 if (exit $ac_status) && test -s "$ac_outfile"; then 7968 # The compiler can only warn and ignore the option if not recognized 7969 # So say no if there are warnings other than the usual output. 7970 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 7971 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7972 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7973 lt_cv_prog_compiler_rtti_exceptions=yes 7974 fi 7975 fi 7976 $RM conftest* 7977 7978fi 7979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7980$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7981 7982if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7983 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7984else 7985 : 7986fi 7987 7988fi 7989 7990 7991 7992 7993 7994 7995 lt_prog_compiler_wl= 7996lt_prog_compiler_pic= 7997lt_prog_compiler_static= 7998 7999 8000 if test "$GCC" = yes; then 8001 lt_prog_compiler_wl='-Wl,' 8002 lt_prog_compiler_static='-static' 8003 8004 case $host_os in 8005 aix*) 8006 # All AIX code is PIC. 8007 if test "$host_cpu" = ia64; then 8008 # AIX 5 now supports IA64 processor 8009 lt_prog_compiler_static='-Bstatic' 8010 fi 8011 ;; 8012 8013 amigaos*) 8014 case $host_cpu in 8015 powerpc) 8016 # see comment about AmigaOS4 .so support 8017 lt_prog_compiler_pic='-fPIC' 8018 ;; 8019 m68k) 8020 # FIXME: we need at least 68020 code to build shared libraries, but 8021 # adding the `-m68020' flag to GCC prevents building anything better, 8022 # like `-m68040'. 8023 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8024 ;; 8025 esac 8026 ;; 8027 8028 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8029 # PIC is the default for these OSes. 8030 ;; 8031 8032 mingw* | cygwin* | pw32* | os2* | cegcc*) 8033 # This hack is so that the source file can tell whether it is being 8034 # built for inclusion in a dll (and should export symbols for example). 8035 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8036 # (--disable-auto-import) libraries 8037 lt_prog_compiler_pic='-DDLL_EXPORT' 8038 ;; 8039 8040 darwin* | rhapsody*) 8041 # PIC is the default on this platform 8042 # Common symbols not allowed in MH_DYLIB files 8043 lt_prog_compiler_pic='-fno-common' 8044 ;; 8045 8046 haiku*) 8047 # PIC is the default for Haiku. 8048 # The "-static" flag exists, but is broken. 8049 lt_prog_compiler_static= 8050 ;; 8051 8052 hpux*) 8053 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8054 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8055 # sets the default TLS model and affects inlining. 8056 case $host_cpu in 8057 hppa*64*) 8058 # +Z the default 8059 ;; 8060 *) 8061 lt_prog_compiler_pic='-fPIC' 8062 ;; 8063 esac 8064 ;; 8065 8066 interix[3-9]*) 8067 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8068 # Instead, we relocate shared libraries at runtime. 8069 ;; 8070 8071 msdosdjgpp*) 8072 # Just because we use GCC doesn't mean we suddenly get shared libraries 8073 # on systems that don't support them. 8074 lt_prog_compiler_can_build_shared=no 8075 enable_shared=no 8076 ;; 8077 8078 *nto* | *qnx*) 8079 # QNX uses GNU C++, but need to define -shared option too, otherwise 8080 # it will coredump. 8081 lt_prog_compiler_pic='-fPIC -shared' 8082 ;; 8083 8084 sysv4*MP*) 8085 if test -d /usr/nec; then 8086 lt_prog_compiler_pic=-Kconform_pic 8087 fi 8088 ;; 8089 8090 *) 8091 lt_prog_compiler_pic='-fPIC' 8092 ;; 8093 esac 8094 8095 case $cc_basename in 8096 nvcc*) # Cuda Compiler Driver 2.2 8097 lt_prog_compiler_wl='-Xlinker ' 8098 if test -n "$lt_prog_compiler_pic"; then 8099 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8100 fi 8101 ;; 8102 esac 8103 else 8104 # PORTME Check for flag to pass linker flags through the system compiler. 8105 case $host_os in 8106 aix*) 8107 lt_prog_compiler_wl='-Wl,' 8108 if test "$host_cpu" = ia64; then 8109 # AIX 5 now supports IA64 processor 8110 lt_prog_compiler_static='-Bstatic' 8111 else 8112 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8113 fi 8114 ;; 8115 8116 mingw* | cygwin* | pw32* | os2* | cegcc*) 8117 # This hack is so that the source file can tell whether it is being 8118 # built for inclusion in a dll (and should export symbols for example). 8119 lt_prog_compiler_pic='-DDLL_EXPORT' 8120 ;; 8121 8122 hpux9* | hpux10* | hpux11*) 8123 lt_prog_compiler_wl='-Wl,' 8124 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8125 # not for PA HP-UX. 8126 case $host_cpu in 8127 hppa*64*|ia64*) 8128 # +Z the default 8129 ;; 8130 *) 8131 lt_prog_compiler_pic='+Z' 8132 ;; 8133 esac 8134 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8135 lt_prog_compiler_static='${wl}-a ${wl}archive' 8136 ;; 8137 8138 irix5* | irix6* | nonstopux*) 8139 lt_prog_compiler_wl='-Wl,' 8140 # PIC (with -KPIC) is the default. 8141 lt_prog_compiler_static='-non_shared' 8142 ;; 8143 8144 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8145 case $cc_basename in 8146 # old Intel for x86_64 which still supported -KPIC. 8147 ecc*) 8148 lt_prog_compiler_wl='-Wl,' 8149 lt_prog_compiler_pic='-KPIC' 8150 lt_prog_compiler_static='-static' 8151 ;; 8152 # icc used to be incompatible with GCC. 8153 # ICC 10 doesn't accept -KPIC any more. 8154 icc* | ifort*) 8155 lt_prog_compiler_wl='-Wl,' 8156 lt_prog_compiler_pic='-fPIC' 8157 lt_prog_compiler_static='-static' 8158 ;; 8159 # Lahey Fortran 8.1. 8160 lf95*) 8161 lt_prog_compiler_wl='-Wl,' 8162 lt_prog_compiler_pic='--shared' 8163 lt_prog_compiler_static='--static' 8164 ;; 8165 nagfor*) 8166 # NAG Fortran compiler 8167 lt_prog_compiler_wl='-Wl,-Wl,,' 8168 lt_prog_compiler_pic='-PIC' 8169 lt_prog_compiler_static='-Bstatic' 8170 ;; 8171 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8172 # Portland Group compilers (*not* the Pentium gcc compiler, 8173 # which looks to be a dead project) 8174 lt_prog_compiler_wl='-Wl,' 8175 lt_prog_compiler_pic='-fpic' 8176 lt_prog_compiler_static='-Bstatic' 8177 ;; 8178 ccc*) 8179 lt_prog_compiler_wl='-Wl,' 8180 # All Alpha code is PIC. 8181 lt_prog_compiler_static='-non_shared' 8182 ;; 8183 xl* | bgxl* | bgf* | mpixl*) 8184 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8185 lt_prog_compiler_wl='-Wl,' 8186 lt_prog_compiler_pic='-qpic' 8187 lt_prog_compiler_static='-qstaticlink' 8188 ;; 8189 *) 8190 case `$CC -V 2>&1 | sed 5q` in 8191 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8192 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8193 lt_prog_compiler_pic='-KPIC' 8194 lt_prog_compiler_static='-Bstatic' 8195 lt_prog_compiler_wl='' 8196 ;; 8197 *Sun\ F* | *Sun*Fortran*) 8198 lt_prog_compiler_pic='-KPIC' 8199 lt_prog_compiler_static='-Bstatic' 8200 lt_prog_compiler_wl='-Qoption ld ' 8201 ;; 8202 *Sun\ C*) 8203 # Sun C 5.9 8204 lt_prog_compiler_pic='-KPIC' 8205 lt_prog_compiler_static='-Bstatic' 8206 lt_prog_compiler_wl='-Wl,' 8207 ;; 8208 *Intel*\ [CF]*Compiler*) 8209 lt_prog_compiler_wl='-Wl,' 8210 lt_prog_compiler_pic='-fPIC' 8211 lt_prog_compiler_static='-static' 8212 ;; 8213 *Portland\ Group*) 8214 lt_prog_compiler_wl='-Wl,' 8215 lt_prog_compiler_pic='-fpic' 8216 lt_prog_compiler_static='-Bstatic' 8217 ;; 8218 esac 8219 ;; 8220 esac 8221 ;; 8222 8223 newsos6) 8224 lt_prog_compiler_pic='-KPIC' 8225 lt_prog_compiler_static='-Bstatic' 8226 ;; 8227 8228 *nto* | *qnx*) 8229 # QNX uses GNU C++, but need to define -shared option too, otherwise 8230 # it will coredump. 8231 lt_prog_compiler_pic='-fPIC -shared' 8232 ;; 8233 8234 osf3* | osf4* | osf5*) 8235 lt_prog_compiler_wl='-Wl,' 8236 # All OSF/1 code is PIC. 8237 lt_prog_compiler_static='-non_shared' 8238 ;; 8239 8240 rdos*) 8241 lt_prog_compiler_static='-non_shared' 8242 ;; 8243 8244 solaris*) 8245 lt_prog_compiler_pic='-KPIC' 8246 lt_prog_compiler_static='-Bstatic' 8247 case $cc_basename in 8248 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8249 lt_prog_compiler_wl='-Qoption ld ';; 8250 *) 8251 lt_prog_compiler_wl='-Wl,';; 8252 esac 8253 ;; 8254 8255 sunos4*) 8256 lt_prog_compiler_wl='-Qoption ld ' 8257 lt_prog_compiler_pic='-PIC' 8258 lt_prog_compiler_static='-Bstatic' 8259 ;; 8260 8261 sysv4 | sysv4.2uw2* | sysv4.3*) 8262 lt_prog_compiler_wl='-Wl,' 8263 lt_prog_compiler_pic='-KPIC' 8264 lt_prog_compiler_static='-Bstatic' 8265 ;; 8266 8267 sysv4*MP*) 8268 if test -d /usr/nec ;then 8269 lt_prog_compiler_pic='-Kconform_pic' 8270 lt_prog_compiler_static='-Bstatic' 8271 fi 8272 ;; 8273 8274 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8275 lt_prog_compiler_wl='-Wl,' 8276 lt_prog_compiler_pic='-KPIC' 8277 lt_prog_compiler_static='-Bstatic' 8278 ;; 8279 8280 unicos*) 8281 lt_prog_compiler_wl='-Wl,' 8282 lt_prog_compiler_can_build_shared=no 8283 ;; 8284 8285 uts4*) 8286 lt_prog_compiler_pic='-pic' 8287 lt_prog_compiler_static='-Bstatic' 8288 ;; 8289 8290 *) 8291 lt_prog_compiler_can_build_shared=no 8292 ;; 8293 esac 8294 fi 8295 8296case $host_os in 8297 # For platforms which do not support PIC, -DPIC is meaningless: 8298 *djgpp*) 8299 lt_prog_compiler_pic= 8300 ;; 8301 *) 8302 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8303 ;; 8304esac 8305 8306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8307$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8308if ${lt_cv_prog_compiler_pic+:} false; then : 8309 $as_echo_n "(cached) " >&6 8310else 8311 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8312fi 8313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8314$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8315lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8316 8317# 8318# Check to make sure the PIC flag actually works. 8319# 8320if test -n "$lt_prog_compiler_pic"; then 8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8322$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8323if ${lt_cv_prog_compiler_pic_works+:} false; then : 8324 $as_echo_n "(cached) " >&6 8325else 8326 lt_cv_prog_compiler_pic_works=no 8327 ac_outfile=conftest.$ac_objext 8328 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8329 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8330 # Insert the option either (1) after the last *FLAGS variable, or 8331 # (2) before a word containing "conftest.", or (3) at the end. 8332 # Note that $ac_compile itself does not contain backslashes and begins 8333 # with a dollar sign (not a hyphen), so the echo should work correctly. 8334 # The option is referenced via a variable to avoid confusing sed. 8335 lt_compile=`echo "$ac_compile" | $SED \ 8336 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8337 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8338 -e 's:$: $lt_compiler_flag:'` 8339 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8340 (eval "$lt_compile" 2>conftest.err) 8341 ac_status=$? 8342 cat conftest.err >&5 8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8344 if (exit $ac_status) && test -s "$ac_outfile"; then 8345 # The compiler can only warn and ignore the option if not recognized 8346 # So say no if there are warnings other than the usual output. 8347 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8348 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8349 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8350 lt_cv_prog_compiler_pic_works=yes 8351 fi 8352 fi 8353 $RM conftest* 8354 8355fi 8356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8357$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8358 8359if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8360 case $lt_prog_compiler_pic in 8361 "" | " "*) ;; 8362 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8363 esac 8364else 8365 lt_prog_compiler_pic= 8366 lt_prog_compiler_can_build_shared=no 8367fi 8368 8369fi 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381# 8382# Check to make sure the static flag actually works. 8383# 8384wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8386$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8387if ${lt_cv_prog_compiler_static_works+:} false; then : 8388 $as_echo_n "(cached) " >&6 8389else 8390 lt_cv_prog_compiler_static_works=no 8391 save_LDFLAGS="$LDFLAGS" 8392 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8393 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8394 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8395 # The linker can only warn and ignore the option if not recognized 8396 # So say no if there are warnings 8397 if test -s conftest.err; then 8398 # Append any errors to the config.log. 8399 cat conftest.err 1>&5 8400 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8401 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8402 if diff conftest.exp conftest.er2 >/dev/null; then 8403 lt_cv_prog_compiler_static_works=yes 8404 fi 8405 else 8406 lt_cv_prog_compiler_static_works=yes 8407 fi 8408 fi 8409 $RM -r conftest* 8410 LDFLAGS="$save_LDFLAGS" 8411 8412fi 8413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8414$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8415 8416if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8417 : 8418else 8419 lt_prog_compiler_static= 8420fi 8421 8422 8423 8424 8425 8426 8427 8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8429$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8430if ${lt_cv_prog_compiler_c_o+:} false; then : 8431 $as_echo_n "(cached) " >&6 8432else 8433 lt_cv_prog_compiler_c_o=no 8434 $RM -r conftest 2>/dev/null 8435 mkdir conftest 8436 cd conftest 8437 mkdir out 8438 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8439 8440 lt_compiler_flag="-o out/conftest2.$ac_objext" 8441 # Insert the option either (1) after the last *FLAGS variable, or 8442 # (2) before a word containing "conftest.", or (3) at the end. 8443 # Note that $ac_compile itself does not contain backslashes and begins 8444 # with a dollar sign (not a hyphen), so the echo should work correctly. 8445 lt_compile=`echo "$ac_compile" | $SED \ 8446 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8447 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8448 -e 's:$: $lt_compiler_flag:'` 8449 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8450 (eval "$lt_compile" 2>out/conftest.err) 8451 ac_status=$? 8452 cat out/conftest.err >&5 8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8454 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8455 then 8456 # The compiler can only warn and ignore the option if not recognized 8457 # So say no if there are warnings 8458 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8459 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8460 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8461 lt_cv_prog_compiler_c_o=yes 8462 fi 8463 fi 8464 chmod u+w . 2>&5 8465 $RM conftest* 8466 # SGI C++ compiler will create directory out/ii_files/ for 8467 # template instantiation 8468 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8469 $RM out/* && rmdir out 8470 cd .. 8471 $RM -r conftest 8472 $RM conftest* 8473 8474fi 8475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8476$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8477 8478 8479 8480 8481 8482 8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8484$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8485if ${lt_cv_prog_compiler_c_o+:} false; then : 8486 $as_echo_n "(cached) " >&6 8487else 8488 lt_cv_prog_compiler_c_o=no 8489 $RM -r conftest 2>/dev/null 8490 mkdir conftest 8491 cd conftest 8492 mkdir out 8493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8494 8495 lt_compiler_flag="-o out/conftest2.$ac_objext" 8496 # Insert the option either (1) after the last *FLAGS variable, or 8497 # (2) before a word containing "conftest.", or (3) at the end. 8498 # Note that $ac_compile itself does not contain backslashes and begins 8499 # with a dollar sign (not a hyphen), so the echo should work correctly. 8500 lt_compile=`echo "$ac_compile" | $SED \ 8501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8503 -e 's:$: $lt_compiler_flag:'` 8504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8505 (eval "$lt_compile" 2>out/conftest.err) 8506 ac_status=$? 8507 cat out/conftest.err >&5 8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8509 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8510 then 8511 # The compiler can only warn and ignore the option if not recognized 8512 # So say no if there are warnings 8513 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8514 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8515 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8516 lt_cv_prog_compiler_c_o=yes 8517 fi 8518 fi 8519 chmod u+w . 2>&5 8520 $RM conftest* 8521 # SGI C++ compiler will create directory out/ii_files/ for 8522 # template instantiation 8523 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8524 $RM out/* && rmdir out 8525 cd .. 8526 $RM -r conftest 8527 $RM conftest* 8528 8529fi 8530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8531$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8532 8533 8534 8535 8536hard_links="nottested" 8537if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8538 # do not overwrite the value of need_locks provided by the user 8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8540$as_echo_n "checking if we can lock with hard links... " >&6; } 8541 hard_links=yes 8542 $RM conftest* 8543 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8544 touch conftest.a 8545 ln conftest.a conftest.b 2>&5 || hard_links=no 8546 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8548$as_echo "$hard_links" >&6; } 8549 if test "$hard_links" = no; then 8550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8551$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8552 need_locks=warn 8553 fi 8554else 8555 need_locks=no 8556fi 8557 8558 8559 8560 8561 8562 8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8564$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8565 8566 runpath_var= 8567 allow_undefined_flag= 8568 always_export_symbols=no 8569 archive_cmds= 8570 archive_expsym_cmds= 8571 compiler_needs_object=no 8572 enable_shared_with_static_runtimes=no 8573 export_dynamic_flag_spec= 8574 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8575 hardcode_automatic=no 8576 hardcode_direct=no 8577 hardcode_direct_absolute=no 8578 hardcode_libdir_flag_spec= 8579 hardcode_libdir_separator= 8580 hardcode_minus_L=no 8581 hardcode_shlibpath_var=unsupported 8582 inherit_rpath=no 8583 link_all_deplibs=unknown 8584 module_cmds= 8585 module_expsym_cmds= 8586 old_archive_from_new_cmds= 8587 old_archive_from_expsyms_cmds= 8588 thread_safe_flag_spec= 8589 whole_archive_flag_spec= 8590 # include_expsyms should be a list of space-separated symbols to be *always* 8591 # included in the symbol list 8592 include_expsyms= 8593 # exclude_expsyms can be an extended regexp of symbols to exclude 8594 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8595 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8596 # as well as any symbol that contains `d'. 8597 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8598 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8599 # platforms (ab)use it in PIC code, but their linkers get confused if 8600 # the symbol is explicitly referenced. Since portable code cannot 8601 # rely on this symbol name, it's probably fine to never include it in 8602 # preloaded symbol tables. 8603 # Exclude shared library initialization/finalization symbols. 8604 extract_expsyms_cmds= 8605 8606 case $host_os in 8607 cygwin* | mingw* | pw32* | cegcc*) 8608 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8609 # When not using gcc, we currently assume that we are using 8610 # Microsoft Visual C++. 8611 if test "$GCC" != yes; then 8612 with_gnu_ld=no 8613 fi 8614 ;; 8615 interix*) 8616 # we just hope/assume this is gcc and not c89 (= MSVC++) 8617 with_gnu_ld=yes 8618 ;; 8619 openbsd*) 8620 with_gnu_ld=no 8621 ;; 8622 esac 8623 8624 ld_shlibs=yes 8625 8626 # On some targets, GNU ld is compatible enough with the native linker 8627 # that we're better off using the native interface for both. 8628 lt_use_gnu_ld_interface=no 8629 if test "$with_gnu_ld" = yes; then 8630 case $host_os in 8631 aix*) 8632 # The AIX port of GNU ld has always aspired to compatibility 8633 # with the native linker. However, as the warning in the GNU ld 8634 # block says, versions before 2.19.5* couldn't really create working 8635 # shared libraries, regardless of the interface used. 8636 case `$LD -v 2>&1` in 8637 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8638 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8639 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8640 *) 8641 lt_use_gnu_ld_interface=yes 8642 ;; 8643 esac 8644 ;; 8645 *) 8646 lt_use_gnu_ld_interface=yes 8647 ;; 8648 esac 8649 fi 8650 8651 if test "$lt_use_gnu_ld_interface" = yes; then 8652 # If archive_cmds runs LD, not CC, wlarc should be empty 8653 wlarc='${wl}' 8654 8655 # Set some defaults for GNU ld with shared library support. These 8656 # are reset later if shared libraries are not supported. Putting them 8657 # here allows them to be overridden if necessary. 8658 runpath_var=LD_RUN_PATH 8659 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8660 export_dynamic_flag_spec='${wl}--export-dynamic' 8661 # ancient GNU ld didn't support --whole-archive et. al. 8662 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8663 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8664 else 8665 whole_archive_flag_spec= 8666 fi 8667 supports_anon_versioning=no 8668 case `$LD -v 2>&1` in 8669 *GNU\ gold*) supports_anon_versioning=yes ;; 8670 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8671 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8672 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8673 *\ 2.11.*) ;; # other 2.11 versions 8674 *) supports_anon_versioning=yes ;; 8675 esac 8676 8677 # See if GNU ld supports shared libraries. 8678 case $host_os in 8679 aix[3-9]*) 8680 # On AIX/PPC, the GNU linker is very broken 8681 if test "$host_cpu" != ia64; then 8682 ld_shlibs=no 8683 cat <<_LT_EOF 1>&2 8684 8685*** Warning: the GNU linker, at least up to release 2.19, is reported 8686*** to be unable to reliably create shared libraries on AIX. 8687*** Therefore, libtool is disabling shared libraries support. If you 8688*** really care for shared libraries, you may want to install binutils 8689*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8690*** You will then need to restart the configuration process. 8691 8692_LT_EOF 8693 fi 8694 ;; 8695 8696 amigaos*) 8697 case $host_cpu in 8698 powerpc) 8699 # see comment about AmigaOS4 .so support 8700 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8701 archive_expsym_cmds='' 8702 ;; 8703 m68k) 8704 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)' 8705 hardcode_libdir_flag_spec='-L$libdir' 8706 hardcode_minus_L=yes 8707 ;; 8708 esac 8709 ;; 8710 8711 beos*) 8712 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8713 allow_undefined_flag=unsupported 8714 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8715 # support --undefined. This deserves some investigation. FIXME 8716 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8717 else 8718 ld_shlibs=no 8719 fi 8720 ;; 8721 8722 cygwin* | mingw* | pw32* | cegcc*) 8723 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8724 # as there is no search path for DLLs. 8725 hardcode_libdir_flag_spec='-L$libdir' 8726 export_dynamic_flag_spec='${wl}--export-all-symbols' 8727 allow_undefined_flag=unsupported 8728 always_export_symbols=no 8729 enable_shared_with_static_runtimes=yes 8730 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' 8731 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8732 8733 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8734 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8735 # If the export-symbols file already is a .def file (1st line 8736 # is EXPORTS), use it as is; otherwise, prepend... 8737 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8738 cp $export_symbols $output_objdir/$soname.def; 8739 else 8740 echo EXPORTS > $output_objdir/$soname.def; 8741 cat $export_symbols >> $output_objdir/$soname.def; 8742 fi~ 8743 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8744 else 8745 ld_shlibs=no 8746 fi 8747 ;; 8748 8749 haiku*) 8750 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8751 link_all_deplibs=yes 8752 ;; 8753 8754 interix[3-9]*) 8755 hardcode_direct=no 8756 hardcode_shlibpath_var=no 8757 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8758 export_dynamic_flag_spec='${wl}-E' 8759 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8760 # Instead, shared libraries are loaded at an image base (0x10000000 by 8761 # default) and relocated if they conflict, which is a slow very memory 8762 # consuming and fragmenting process. To avoid this, we pick a random, 8763 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8764 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8765 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8766 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' 8767 ;; 8768 8769 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8770 tmp_diet=no 8771 if test "$host_os" = linux-dietlibc; then 8772 case $cc_basename in 8773 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8774 esac 8775 fi 8776 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8777 && test "$tmp_diet" = no 8778 then 8779 tmp_addflag=' $pic_flag' 8780 tmp_sharedflag='-shared' 8781 case $cc_basename,$host_cpu in 8782 pgcc*) # Portland Group C compiler 8783 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' 8784 tmp_addflag=' $pic_flag' 8785 ;; 8786 pgf77* | pgf90* | pgf95* | pgfortran*) 8787 # Portland Group f77 and f90 compilers 8788 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' 8789 tmp_addflag=' $pic_flag -Mnomain' ;; 8790 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8791 tmp_addflag=' -i_dynamic' ;; 8792 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8793 tmp_addflag=' -i_dynamic -nofor_main' ;; 8794 ifc* | ifort*) # Intel Fortran compiler 8795 tmp_addflag=' -nofor_main' ;; 8796 lf95*) # Lahey Fortran 8.1 8797 whole_archive_flag_spec= 8798 tmp_sharedflag='--shared' ;; 8799 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8800 tmp_sharedflag='-qmkshrobj' 8801 tmp_addflag= ;; 8802 nvcc*) # Cuda Compiler Driver 2.2 8803 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' 8804 compiler_needs_object=yes 8805 ;; 8806 esac 8807 case `$CC -V 2>&1 | sed 5q` in 8808 *Sun\ C*) # Sun C 5.9 8809 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' 8810 compiler_needs_object=yes 8811 tmp_sharedflag='-G' ;; 8812 *Sun\ F*) # Sun Fortran 8.3 8813 tmp_sharedflag='-G' ;; 8814 esac 8815 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8816 8817 if test "x$supports_anon_versioning" = xyes; then 8818 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8819 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8820 echo "local: *; };" >> $output_objdir/$libname.ver~ 8821 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8822 fi 8823 8824 case $cc_basename in 8825 xlf* | bgf* | bgxlf* | mpixlf*) 8826 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8827 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8828 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8829 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 8830 if test "x$supports_anon_versioning" = xyes; then 8831 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8832 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8833 echo "local: *; };" >> $output_objdir/$libname.ver~ 8834 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8835 fi 8836 ;; 8837 esac 8838 else 8839 ld_shlibs=no 8840 fi 8841 ;; 8842 8843 netbsd*) 8844 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8845 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8846 wlarc= 8847 else 8848 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8849 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8850 fi 8851 ;; 8852 8853 solaris*) 8854 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8855 ld_shlibs=no 8856 cat <<_LT_EOF 1>&2 8857 8858*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8859*** create shared libraries on Solaris systems. Therefore, libtool 8860*** is disabling shared libraries support. We urge you to upgrade GNU 8861*** binutils to release 2.9.1 or newer. Another option is to modify 8862*** your PATH or compiler configuration so that the native linker is 8863*** used, and then restart. 8864 8865_LT_EOF 8866 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8867 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8868 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8869 else 8870 ld_shlibs=no 8871 fi 8872 ;; 8873 8874 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8875 case `$LD -v 2>&1` in 8876 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8877 ld_shlibs=no 8878 cat <<_LT_EOF 1>&2 8879 8880*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8881*** reliably create shared libraries on SCO systems. Therefore, libtool 8882*** is disabling shared libraries support. We urge you to upgrade GNU 8883*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8884*** your PATH or compiler configuration so that the native linker is 8885*** used, and then restart. 8886 8887_LT_EOF 8888 ;; 8889 *) 8890 # For security reasons, it is highly recommended that you always 8891 # use absolute paths for naming shared libraries, and exclude the 8892 # DT_RUNPATH tag from executables and libraries. But doing so 8893 # requires that you compile everything twice, which is a pain. 8894 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8895 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8896 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8897 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8898 else 8899 ld_shlibs=no 8900 fi 8901 ;; 8902 esac 8903 ;; 8904 8905 sunos4*) 8906 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8907 wlarc= 8908 hardcode_direct=yes 8909 hardcode_shlibpath_var=no 8910 ;; 8911 8912 *) 8913 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8914 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8915 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8916 else 8917 ld_shlibs=no 8918 fi 8919 ;; 8920 esac 8921 8922 if test "$ld_shlibs" = no; then 8923 runpath_var= 8924 hardcode_libdir_flag_spec= 8925 export_dynamic_flag_spec= 8926 whole_archive_flag_spec= 8927 fi 8928 else 8929 # PORTME fill in a description of your system's linker (not GNU ld) 8930 case $host_os in 8931 aix3*) 8932 allow_undefined_flag=unsupported 8933 always_export_symbols=yes 8934 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' 8935 # Note: this linker hardcodes the directories in LIBPATH if there 8936 # are no directories specified by -L. 8937 hardcode_minus_L=yes 8938 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8939 # Neither direct hardcoding nor static linking is supported with a 8940 # broken collect2. 8941 hardcode_direct=unsupported 8942 fi 8943 ;; 8944 8945 aix[4-9]*) 8946 if test "$host_cpu" = ia64; then 8947 # On IA64, the linker does run time linking by default, so we don't 8948 # have to do anything special. 8949 aix_use_runtimelinking=no 8950 exp_sym_flag='-Bexport' 8951 no_entry_flag="" 8952 else 8953 # If we're using GNU nm, then we don't want the "-C" option. 8954 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8955 # Also, AIX nm treats weak defined symbols like other global 8956 # defined symbols, whereas GNU nm marks them as "W". 8957 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8958 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' 8959 else 8960 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' 8961 fi 8962 aix_use_runtimelinking=no 8963 8964 # Test if we are trying to use run time linking or normal 8965 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8966 # need to do runtime linking. 8967 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8968 for ld_flag in $LDFLAGS; do 8969 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8970 aix_use_runtimelinking=yes 8971 break 8972 fi 8973 done 8974 ;; 8975 esac 8976 8977 exp_sym_flag='-bexport' 8978 no_entry_flag='-bnoentry' 8979 fi 8980 8981 # When large executables or shared objects are built, AIX ld can 8982 # have problems creating the table of contents. If linking a library 8983 # or program results in "error TOC overflow" add -mminimal-toc to 8984 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8985 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8986 8987 archive_cmds='' 8988 hardcode_direct=yes 8989 hardcode_direct_absolute=yes 8990 hardcode_libdir_separator=':' 8991 link_all_deplibs=yes 8992 file_list_spec='${wl}-f,' 8993 8994 if test "$GCC" = yes; then 8995 case $host_os in aix4.[012]|aix4.[012].*) 8996 # We only want to do this on AIX 4.2 and lower, the check 8997 # below for broken collect2 doesn't work under 4.3+ 8998 collect2name=`${CC} -print-prog-name=collect2` 8999 if test -f "$collect2name" && 9000 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9001 then 9002 # We have reworked collect2 9003 : 9004 else 9005 # We have old collect2 9006 hardcode_direct=unsupported 9007 # It fails to find uninstalled libraries when the uninstalled 9008 # path is not listed in the libpath. Setting hardcode_minus_L 9009 # to unsupported forces relinking 9010 hardcode_minus_L=yes 9011 hardcode_libdir_flag_spec='-L$libdir' 9012 hardcode_libdir_separator= 9013 fi 9014 ;; 9015 esac 9016 shared_flag='-shared' 9017 if test "$aix_use_runtimelinking" = yes; then 9018 shared_flag="$shared_flag "'${wl}-G' 9019 fi 9020 else 9021 # not using gcc 9022 if test "$host_cpu" = ia64; then 9023 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9024 # chokes on -Wl,-G. The following line is correct: 9025 shared_flag='-G' 9026 else 9027 if test "$aix_use_runtimelinking" = yes; then 9028 shared_flag='${wl}-G' 9029 else 9030 shared_flag='${wl}-bM:SRE' 9031 fi 9032 fi 9033 fi 9034 9035 export_dynamic_flag_spec='${wl}-bexpall' 9036 # It seems that -bexpall does not export symbols beginning with 9037 # underscore (_), so it is better to generate a list of symbols to export. 9038 always_export_symbols=yes 9039 if test "$aix_use_runtimelinking" = yes; then 9040 # Warning - without using the other runtime loading flags (-brtl), 9041 # -berok will link without error, but may produce a broken library. 9042 allow_undefined_flag='-berok' 9043 # Determine the default libpath from the value encoded in an 9044 # empty executable. 9045 if test "${lt_cv_aix_libpath+set}" = set; then 9046 aix_libpath=$lt_cv_aix_libpath 9047else 9048 if ${lt_cv_aix_libpath_+:} false; then : 9049 $as_echo_n "(cached) " >&6 9050else 9051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9052/* end confdefs.h. */ 9053 9054int 9055main () 9056{ 9057 9058 ; 9059 return 0; 9060} 9061_ACEOF 9062if ac_fn_c_try_link "$LINENO"; then : 9063 9064 lt_aix_libpath_sed=' 9065 /Import File Strings/,/^$/ { 9066 /^0/ { 9067 s/^0 *\([^ ]*\) *$/\1/ 9068 p 9069 } 9070 }' 9071 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9072 # Check for a 64-bit object if we didn't find anything. 9073 if test -z "$lt_cv_aix_libpath_"; then 9074 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9075 fi 9076fi 9077rm -f core conftest.err conftest.$ac_objext \ 9078 conftest$ac_exeext conftest.$ac_ext 9079 if test -z "$lt_cv_aix_libpath_"; then 9080 lt_cv_aix_libpath_="/usr/lib:/lib" 9081 fi 9082 9083fi 9084 9085 aix_libpath=$lt_cv_aix_libpath_ 9086fi 9087 9088 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9089 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" 9090 else 9091 if test "$host_cpu" = ia64; then 9092 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9093 allow_undefined_flag="-z nodefs" 9094 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" 9095 else 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 # Warning - without using the other run time loading flags, 9143 # -berok will link without error, but may produce a broken library. 9144 no_undefined_flag=' ${wl}-bernotok' 9145 allow_undefined_flag=' ${wl}-berok' 9146 if test "$with_gnu_ld" = yes; then 9147 # We only use this code for GNU lds that support --whole-archive. 9148 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9149 else 9150 # Exported symbols can be pulled into shared objects from archives 9151 whole_archive_flag_spec='$convenience' 9152 fi 9153 archive_cmds_need_lc=yes 9154 # This is similar to how AIX traditionally builds its shared libraries. 9155 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' 9156 fi 9157 fi 9158 ;; 9159 9160 amigaos*) 9161 case $host_cpu in 9162 powerpc) 9163 # see comment about AmigaOS4 .so support 9164 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9165 archive_expsym_cmds='' 9166 ;; 9167 m68k) 9168 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)' 9169 hardcode_libdir_flag_spec='-L$libdir' 9170 hardcode_minus_L=yes 9171 ;; 9172 esac 9173 ;; 9174 9175 bsdi[45]*) 9176 export_dynamic_flag_spec=-rdynamic 9177 ;; 9178 9179 cygwin* | mingw* | pw32* | cegcc*) 9180 # When not using gcc, we currently assume that we are using 9181 # Microsoft Visual C++. 9182 # hardcode_libdir_flag_spec is actually meaningless, as there is 9183 # no search path for DLLs. 9184 case $cc_basename in 9185 cl*) 9186 # Native MSVC 9187 hardcode_libdir_flag_spec=' ' 9188 allow_undefined_flag=unsupported 9189 always_export_symbols=yes 9190 file_list_spec='@' 9191 # Tell ltmain to make .lib files, not .a files. 9192 libext=lib 9193 # Tell ltmain to make .dll files, not .so files. 9194 shrext_cmds=".dll" 9195 # FIXME: Setting linknames here is a bad hack. 9196 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9197 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9198 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9199 else 9200 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9201 fi~ 9202 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9203 linknames=' 9204 # The linker will not automatically build a static lib if we build a DLL. 9205 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9206 enable_shared_with_static_runtimes=yes 9207 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9208 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9209 # Don't use ranlib 9210 old_postinstall_cmds='chmod 644 $oldlib' 9211 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9212 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9213 case $lt_outputfile in 9214 *.exe|*.EXE) ;; 9215 *) 9216 lt_outputfile="$lt_outputfile.exe" 9217 lt_tool_outputfile="$lt_tool_outputfile.exe" 9218 ;; 9219 esac~ 9220 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9221 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9222 $RM "$lt_outputfile.manifest"; 9223 fi' 9224 ;; 9225 *) 9226 # Assume MSVC wrapper 9227 hardcode_libdir_flag_spec=' ' 9228 allow_undefined_flag=unsupported 9229 # Tell ltmain to make .lib files, not .a files. 9230 libext=lib 9231 # Tell ltmain to make .dll files, not .so files. 9232 shrext_cmds=".dll" 9233 # FIXME: Setting linknames here is a bad hack. 9234 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9235 # The linker will automatically build a .lib file if we build a DLL. 9236 old_archive_from_new_cmds='true' 9237 # FIXME: Should let the user specify the lib program. 9238 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9239 enable_shared_with_static_runtimes=yes 9240 ;; 9241 esac 9242 ;; 9243 9244 darwin* | rhapsody*) 9245 9246 9247 archive_cmds_need_lc=no 9248 hardcode_direct=no 9249 hardcode_automatic=yes 9250 hardcode_shlibpath_var=unsupported 9251 if test "$lt_cv_ld_force_load" = "yes"; then 9252 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\"`' 9253 9254 else 9255 whole_archive_flag_spec='' 9256 fi 9257 link_all_deplibs=yes 9258 allow_undefined_flag="$_lt_dar_allow_undefined" 9259 case $cc_basename in 9260 ifort*) _lt_dar_can_shared=yes ;; 9261 *) _lt_dar_can_shared=$GCC ;; 9262 esac 9263 if test "$_lt_dar_can_shared" = "yes"; then 9264 output_verbose_link_cmd=func_echo_all 9265 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9266 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9267 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}" 9268 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}" 9269 9270 else 9271 ld_shlibs=no 9272 fi 9273 9274 ;; 9275 9276 dgux*) 9277 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9278 hardcode_libdir_flag_spec='-L$libdir' 9279 hardcode_shlibpath_var=no 9280 ;; 9281 9282 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9283 # support. Future versions do this automatically, but an explicit c++rt0.o 9284 # does not break anything, and helps significantly (at the cost of a little 9285 # extra space). 9286 freebsd2.2*) 9287 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9288 hardcode_libdir_flag_spec='-R$libdir' 9289 hardcode_direct=yes 9290 hardcode_shlibpath_var=no 9291 ;; 9292 9293 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9294 freebsd2.*) 9295 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9296 hardcode_direct=yes 9297 hardcode_minus_L=yes 9298 hardcode_shlibpath_var=no 9299 ;; 9300 9301 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9302 freebsd* | dragonfly*) 9303 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9304 hardcode_libdir_flag_spec='-R$libdir' 9305 hardcode_direct=yes 9306 hardcode_shlibpath_var=no 9307 ;; 9308 9309 hpux9*) 9310 if test "$GCC" = yes; then 9311 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' 9312 else 9313 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' 9314 fi 9315 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9316 hardcode_libdir_separator=: 9317 hardcode_direct=yes 9318 9319 # hardcode_minus_L: Not really in the search PATH, 9320 # but as the default location of the library. 9321 hardcode_minus_L=yes 9322 export_dynamic_flag_spec='${wl}-E' 9323 ;; 9324 9325 hpux10*) 9326 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9327 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9328 else 9329 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9330 fi 9331 if test "$with_gnu_ld" = no; then 9332 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9333 hardcode_libdir_separator=: 9334 hardcode_direct=yes 9335 hardcode_direct_absolute=yes 9336 export_dynamic_flag_spec='${wl}-E' 9337 # hardcode_minus_L: Not really in the search PATH, 9338 # but as the default location of the library. 9339 hardcode_minus_L=yes 9340 fi 9341 ;; 9342 9343 hpux11*) 9344 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9345 case $host_cpu in 9346 hppa*64*) 9347 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9348 ;; 9349 ia64*) 9350 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9351 ;; 9352 *) 9353 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9354 ;; 9355 esac 9356 else 9357 case $host_cpu in 9358 hppa*64*) 9359 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9360 ;; 9361 ia64*) 9362 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9363 ;; 9364 *) 9365 9366 # Older versions of the 11.00 compiler do not understand -b yet 9367 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9369$as_echo_n "checking if $CC understands -b... " >&6; } 9370if ${lt_cv_prog_compiler__b+:} false; then : 9371 $as_echo_n "(cached) " >&6 9372else 9373 lt_cv_prog_compiler__b=no 9374 save_LDFLAGS="$LDFLAGS" 9375 LDFLAGS="$LDFLAGS -b" 9376 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9377 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9378 # The linker can only warn and ignore the option if not recognized 9379 # So say no if there are warnings 9380 if test -s conftest.err; then 9381 # Append any errors to the config.log. 9382 cat conftest.err 1>&5 9383 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9384 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9385 if diff conftest.exp conftest.er2 >/dev/null; then 9386 lt_cv_prog_compiler__b=yes 9387 fi 9388 else 9389 lt_cv_prog_compiler__b=yes 9390 fi 9391 fi 9392 $RM -r conftest* 9393 LDFLAGS="$save_LDFLAGS" 9394 9395fi 9396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9397$as_echo "$lt_cv_prog_compiler__b" >&6; } 9398 9399if test x"$lt_cv_prog_compiler__b" = xyes; then 9400 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9401else 9402 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9403fi 9404 9405 ;; 9406 esac 9407 fi 9408 if test "$with_gnu_ld" = no; then 9409 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9410 hardcode_libdir_separator=: 9411 9412 case $host_cpu in 9413 hppa*64*|ia64*) 9414 hardcode_direct=no 9415 hardcode_shlibpath_var=no 9416 ;; 9417 *) 9418 hardcode_direct=yes 9419 hardcode_direct_absolute=yes 9420 export_dynamic_flag_spec='${wl}-E' 9421 9422 # hardcode_minus_L: Not really in the search PATH, 9423 # but as the default location of the library. 9424 hardcode_minus_L=yes 9425 ;; 9426 esac 9427 fi 9428 ;; 9429 9430 irix5* | irix6* | nonstopux*) 9431 if test "$GCC" = yes; then 9432 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' 9433 # Try to use the -exported_symbol ld option, if it does not 9434 # work, assume that -exports_file does not work either and 9435 # implicitly export all symbols. 9436 # This should be the same for all languages, so no per-tag cache variable. 9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9438$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9439if ${lt_cv_irix_exported_symbol+:} false; then : 9440 $as_echo_n "(cached) " >&6 9441else 9442 save_LDFLAGS="$LDFLAGS" 9443 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9445/* end confdefs.h. */ 9446int foo (void) { return 0; } 9447_ACEOF 9448if ac_fn_c_try_link "$LINENO"; then : 9449 lt_cv_irix_exported_symbol=yes 9450else 9451 lt_cv_irix_exported_symbol=no 9452fi 9453rm -f core conftest.err conftest.$ac_objext \ 9454 conftest$ac_exeext conftest.$ac_ext 9455 LDFLAGS="$save_LDFLAGS" 9456fi 9457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9458$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9459 if test "$lt_cv_irix_exported_symbol" = yes; then 9460 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' 9461 fi 9462 else 9463 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' 9464 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' 9465 fi 9466 archive_cmds_need_lc='no' 9467 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9468 hardcode_libdir_separator=: 9469 inherit_rpath=yes 9470 link_all_deplibs=yes 9471 ;; 9472 9473 netbsd*) 9474 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9475 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9476 else 9477 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9478 fi 9479 hardcode_libdir_flag_spec='-R$libdir' 9480 hardcode_direct=yes 9481 hardcode_shlibpath_var=no 9482 ;; 9483 9484 newsos6) 9485 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9486 hardcode_direct=yes 9487 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9488 hardcode_libdir_separator=: 9489 hardcode_shlibpath_var=no 9490 ;; 9491 9492 *nto* | *qnx*) 9493 ;; 9494 9495 openbsd*) 9496 if test -f /usr/libexec/ld.so; then 9497 hardcode_direct=yes 9498 hardcode_shlibpath_var=no 9499 hardcode_direct_absolute=yes 9500 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9501 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9502 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9503 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9504 export_dynamic_flag_spec='${wl}-E' 9505 else 9506 case $host_os in 9507 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9508 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9509 hardcode_libdir_flag_spec='-R$libdir' 9510 ;; 9511 *) 9512 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9513 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9514 ;; 9515 esac 9516 fi 9517 else 9518 ld_shlibs=no 9519 fi 9520 ;; 9521 9522 os2*) 9523 hardcode_libdir_flag_spec='-L$libdir' 9524 hardcode_minus_L=yes 9525 allow_undefined_flag=unsupported 9526 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' 9527 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9528 ;; 9529 9530 osf3*) 9531 if test "$GCC" = yes; then 9532 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9533 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' 9534 else 9535 allow_undefined_flag=' -expect_unresolved \*' 9536 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' 9537 fi 9538 archive_cmds_need_lc='no' 9539 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9540 hardcode_libdir_separator=: 9541 ;; 9542 9543 osf4* | osf5*) # as osf3* with the addition of -msym flag 9544 if test "$GCC" = yes; then 9545 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9546 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' 9547 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9548 else 9549 allow_undefined_flag=' -expect_unresolved \*' 9550 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' 9551 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~ 9552 $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' 9553 9554 # Both c and cxx compiler support -rpath directly 9555 hardcode_libdir_flag_spec='-rpath $libdir' 9556 fi 9557 archive_cmds_need_lc='no' 9558 hardcode_libdir_separator=: 9559 ;; 9560 9561 solaris*) 9562 no_undefined_flag=' -z defs' 9563 if test "$GCC" = yes; then 9564 wlarc='${wl}' 9565 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9566 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9567 $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' 9568 else 9569 case `$CC -V 2>&1` in 9570 *"Compilers 5.0"*) 9571 wlarc='' 9572 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9573 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9574 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9575 ;; 9576 *) 9577 wlarc='${wl}' 9578 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9579 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9580 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9581 ;; 9582 esac 9583 fi 9584 hardcode_libdir_flag_spec='-R$libdir' 9585 hardcode_shlibpath_var=no 9586 case $host_os in 9587 solaris2.[0-5] | solaris2.[0-5].*) ;; 9588 *) 9589 # The compiler driver will combine and reorder linker options, 9590 # but understands `-z linker_flag'. GCC discards it without `$wl', 9591 # but is careful enough not to reorder. 9592 # Supported since Solaris 2.6 (maybe 2.5.1?) 9593 if test "$GCC" = yes; then 9594 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9595 else 9596 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9597 fi 9598 ;; 9599 esac 9600 link_all_deplibs=yes 9601 ;; 9602 9603 sunos4*) 9604 if test "x$host_vendor" = xsequent; then 9605 # Use $CC to link under sequent, because it throws in some extra .o 9606 # files that make .init and .fini sections work. 9607 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9608 else 9609 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9610 fi 9611 hardcode_libdir_flag_spec='-L$libdir' 9612 hardcode_direct=yes 9613 hardcode_minus_L=yes 9614 hardcode_shlibpath_var=no 9615 ;; 9616 9617 sysv4) 9618 case $host_vendor in 9619 sni) 9620 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9621 hardcode_direct=yes # is this really true??? 9622 ;; 9623 siemens) 9624 ## LD is ld it makes a PLAMLIB 9625 ## CC just makes a GrossModule. 9626 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9627 reload_cmds='$CC -r -o $output$reload_objs' 9628 hardcode_direct=no 9629 ;; 9630 motorola) 9631 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9632 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9633 ;; 9634 esac 9635 runpath_var='LD_RUN_PATH' 9636 hardcode_shlibpath_var=no 9637 ;; 9638 9639 sysv4.3*) 9640 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9641 hardcode_shlibpath_var=no 9642 export_dynamic_flag_spec='-Bexport' 9643 ;; 9644 9645 sysv4*MP*) 9646 if test -d /usr/nec; then 9647 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9648 hardcode_shlibpath_var=no 9649 runpath_var=LD_RUN_PATH 9650 hardcode_runpath_var=yes 9651 ld_shlibs=yes 9652 fi 9653 ;; 9654 9655 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9656 no_undefined_flag='${wl}-z,text' 9657 archive_cmds_need_lc=no 9658 hardcode_shlibpath_var=no 9659 runpath_var='LD_RUN_PATH' 9660 9661 if test "$GCC" = yes; then 9662 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9663 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9664 else 9665 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9666 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9667 fi 9668 ;; 9669 9670 sysv5* | sco3.2v5* | sco5v6*) 9671 # Note: We can NOT use -z defs as we might desire, because we do not 9672 # link with -lc, and that would cause any symbols used from libc to 9673 # always be unresolved, which means just about no library would 9674 # ever link correctly. If we're not using GNU ld we use -z text 9675 # though, which does catch some bad symbols but isn't as heavy-handed 9676 # as -z defs. 9677 no_undefined_flag='${wl}-z,text' 9678 allow_undefined_flag='${wl}-z,nodefs' 9679 archive_cmds_need_lc=no 9680 hardcode_shlibpath_var=no 9681 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9682 hardcode_libdir_separator=':' 9683 link_all_deplibs=yes 9684 export_dynamic_flag_spec='${wl}-Bexport' 9685 runpath_var='LD_RUN_PATH' 9686 9687 if test "$GCC" = yes; then 9688 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9689 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9690 else 9691 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9692 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9693 fi 9694 ;; 9695 9696 uts4*) 9697 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9698 hardcode_libdir_flag_spec='-L$libdir' 9699 hardcode_shlibpath_var=no 9700 ;; 9701 9702 *) 9703 ld_shlibs=no 9704 ;; 9705 esac 9706 9707 if test x$host_vendor = xsni; then 9708 case $host in 9709 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9710 export_dynamic_flag_spec='${wl}-Blargedynsym' 9711 ;; 9712 esac 9713 fi 9714 fi 9715 9716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9717$as_echo "$ld_shlibs" >&6; } 9718test "$ld_shlibs" = no && can_build_shared=no 9719 9720with_gnu_ld=$with_gnu_ld 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736# 9737# Do we need to explicitly link libc? 9738# 9739case "x$archive_cmds_need_lc" in 9740x|xyes) 9741 # Assume -lc should be added 9742 archive_cmds_need_lc=yes 9743 9744 if test "$enable_shared" = yes && test "$GCC" = yes; then 9745 case $archive_cmds in 9746 *'~'*) 9747 # FIXME: we may have to deal with multi-command sequences. 9748 ;; 9749 '$CC '*) 9750 # Test whether the compiler implicitly links with -lc since on some 9751 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9752 # to ld, don't add -lc before -lgcc. 9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9754$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9755if ${lt_cv_archive_cmds_need_lc+:} false; then : 9756 $as_echo_n "(cached) " >&6 9757else 9758 $RM conftest* 9759 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9760 9761 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9762 (eval $ac_compile) 2>&5 9763 ac_status=$? 9764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9765 test $ac_status = 0; } 2>conftest.err; then 9766 soname=conftest 9767 lib=conftest 9768 libobjs=conftest.$ac_objext 9769 deplibs= 9770 wl=$lt_prog_compiler_wl 9771 pic_flag=$lt_prog_compiler_pic 9772 compiler_flags=-v 9773 linker_flags=-v 9774 verstring= 9775 output_objdir=. 9776 libname=conftest 9777 lt_save_allow_undefined_flag=$allow_undefined_flag 9778 allow_undefined_flag= 9779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9780 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9781 ac_status=$? 9782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9783 test $ac_status = 0; } 9784 then 9785 lt_cv_archive_cmds_need_lc=no 9786 else 9787 lt_cv_archive_cmds_need_lc=yes 9788 fi 9789 allow_undefined_flag=$lt_save_allow_undefined_flag 9790 else 9791 cat conftest.err 1>&5 9792 fi 9793 $RM conftest* 9794 9795fi 9796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9797$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9798 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9799 ;; 9800 esac 9801 fi 9802 ;; 9803esac 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9957$as_echo_n "checking dynamic linker characteristics... " >&6; } 9958 9959if test "$GCC" = yes; then 9960 case $host_os in 9961 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9962 *) lt_awk_arg="/^libraries:/" ;; 9963 esac 9964 case $host_os in 9965 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 9966 *) lt_sed_strip_eq="s,=/,/,g" ;; 9967 esac 9968 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 9969 case $lt_search_path_spec in 9970 *\;*) 9971 # if the path contains ";" then we assume it to be the separator 9972 # otherwise default to the standard path separator (i.e. ":") - it is 9973 # assumed that no part of a normal pathname contains ";" but that should 9974 # okay in the real world where ";" in dirpaths is itself problematic. 9975 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 9976 ;; 9977 *) 9978 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 9979 ;; 9980 esac 9981 # Ok, now we have the path, separated by spaces, we can step through it 9982 # and add multilib dir if necessary. 9983 lt_tmp_lt_search_path_spec= 9984 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9985 for lt_sys_path in $lt_search_path_spec; do 9986 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9987 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9988 else 9989 test -d "$lt_sys_path" && \ 9990 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9991 fi 9992 done 9993 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 9994BEGIN {RS=" "; FS="/|\n";} { 9995 lt_foo=""; 9996 lt_count=0; 9997 for (lt_i = NF; lt_i > 0; lt_i--) { 9998 if ($lt_i != "" && $lt_i != ".") { 9999 if ($lt_i == "..") { 10000 lt_count++; 10001 } else { 10002 if (lt_count == 0) { 10003 lt_foo="/" $lt_i lt_foo; 10004 } else { 10005 lt_count--; 10006 } 10007 } 10008 } 10009 } 10010 if (lt_foo != "") { lt_freq[lt_foo]++; } 10011 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10012}'` 10013 # AWK program above erroneously prepends '/' to C:/dos/paths 10014 # for these hosts. 10015 case $host_os in 10016 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10017 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10018 esac 10019 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10020else 10021 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10022fi 10023library_names_spec= 10024libname_spec='lib$name' 10025soname_spec= 10026shrext_cmds=".so" 10027postinstall_cmds= 10028postuninstall_cmds= 10029finish_cmds= 10030finish_eval= 10031shlibpath_var= 10032shlibpath_overrides_runpath=unknown 10033version_type=none 10034dynamic_linker="$host_os ld.so" 10035sys_lib_dlsearch_path_spec="/lib /usr/lib" 10036need_lib_prefix=unknown 10037hardcode_into_libs=no 10038 10039# when you set need_version to no, make sure it does not cause -set_version 10040# flags to be left without arguments 10041need_version=unknown 10042 10043case $host_os in 10044aix3*) 10045 version_type=linux # correct to gnu/linux during the next big refactor 10046 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10047 shlibpath_var=LIBPATH 10048 10049 # AIX 3 has no versioning support, so we append a major version to the name. 10050 soname_spec='${libname}${release}${shared_ext}$major' 10051 ;; 10052 10053aix[4-9]*) 10054 version_type=linux # correct to gnu/linux during the next big refactor 10055 need_lib_prefix=no 10056 need_version=no 10057 hardcode_into_libs=yes 10058 if test "$host_cpu" = ia64; then 10059 # AIX 5 supports IA64 10060 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10061 shlibpath_var=LD_LIBRARY_PATH 10062 else 10063 # With GCC up to 2.95.x, collect2 would create an import file 10064 # for dependence libraries. The import file would start with 10065 # the line `#! .'. This would cause the generated library to 10066 # depend on `.', always an invalid library. This was fixed in 10067 # development snapshots of GCC prior to 3.0. 10068 case $host_os in 10069 aix4 | aix4.[01] | aix4.[01].*) 10070 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10071 echo ' yes ' 10072 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10073 : 10074 else 10075 can_build_shared=no 10076 fi 10077 ;; 10078 esac 10079 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10080 # soname into executable. Probably we can add versioning support to 10081 # collect2, so additional links can be useful in future. 10082 if test "$aix_use_runtimelinking" = yes; then 10083 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10084 # instead of lib<name>.a to let people know that these are not 10085 # typical AIX shared libraries. 10086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10087 else 10088 # We preserve .a as extension for shared libraries through AIX4.2 10089 # and later when we are not doing run time linking. 10090 library_names_spec='${libname}${release}.a $libname.a' 10091 soname_spec='${libname}${release}${shared_ext}$major' 10092 fi 10093 shlibpath_var=LIBPATH 10094 fi 10095 ;; 10096 10097amigaos*) 10098 case $host_cpu in 10099 powerpc) 10100 # Since July 2007 AmigaOS4 officially supports .so libraries. 10101 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10102 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10103 ;; 10104 m68k) 10105 library_names_spec='$libname.ixlibrary $libname.a' 10106 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10107 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' 10108 ;; 10109 esac 10110 ;; 10111 10112beos*) 10113 library_names_spec='${libname}${shared_ext}' 10114 dynamic_linker="$host_os ld.so" 10115 shlibpath_var=LIBRARY_PATH 10116 ;; 10117 10118bsdi[45]*) 10119 version_type=linux # correct to gnu/linux during the next big refactor 10120 need_version=no 10121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10122 soname_spec='${libname}${release}${shared_ext}$major' 10123 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10124 shlibpath_var=LD_LIBRARY_PATH 10125 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10126 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10127 # the default ld.so.conf also contains /usr/contrib/lib and 10128 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10129 # libtool to hard-code these into programs 10130 ;; 10131 10132cygwin* | mingw* | pw32* | cegcc*) 10133 version_type=windows 10134 shrext_cmds=".dll" 10135 need_version=no 10136 need_lib_prefix=no 10137 10138 case $GCC,$cc_basename in 10139 yes,*) 10140 # gcc 10141 library_names_spec='$libname.dll.a' 10142 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10143 postinstall_cmds='base_file=`basename \${file}`~ 10144 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10145 dldir=$destdir/`dirname \$dlpath`~ 10146 test -d \$dldir || mkdir -p \$dldir~ 10147 $install_prog $dir/$dlname \$dldir/$dlname~ 10148 chmod a+x \$dldir/$dlname~ 10149 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10150 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10151 fi' 10152 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10153 dlpath=$dir/\$dldll~ 10154 $RM \$dlpath' 10155 shlibpath_overrides_runpath=yes 10156 10157 case $host_os in 10158 cygwin*) 10159 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10160 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10161 10162 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10163 ;; 10164 mingw* | cegcc*) 10165 # MinGW DLLs use traditional 'lib' prefix 10166 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10167 ;; 10168 pw32*) 10169 # pw32 DLLs use 'pw' prefix rather than 'lib' 10170 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10171 ;; 10172 esac 10173 dynamic_linker='Win32 ld.exe' 10174 ;; 10175 10176 *,cl*) 10177 # Native MSVC 10178 libname_spec='$name' 10179 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10180 library_names_spec='${libname}.dll.lib' 10181 10182 case $build_os in 10183 mingw*) 10184 sys_lib_search_path_spec= 10185 lt_save_ifs=$IFS 10186 IFS=';' 10187 for lt_path in $LIB 10188 do 10189 IFS=$lt_save_ifs 10190 # Let DOS variable expansion print the short 8.3 style file name. 10191 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10192 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10193 done 10194 IFS=$lt_save_ifs 10195 # Convert to MSYS style. 10196 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10197 ;; 10198 cygwin*) 10199 # Convert to unix form, then to dos form, then back to unix form 10200 # but this time dos style (no spaces!) so that the unix form looks 10201 # like /cygdrive/c/PROGRA~1:/cygdr... 10202 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10203 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10204 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10205 ;; 10206 *) 10207 sys_lib_search_path_spec="$LIB" 10208 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10209 # It is most probably a Windows format PATH. 10210 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10211 else 10212 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10213 fi 10214 # FIXME: find the short name or the path components, as spaces are 10215 # common. (e.g. "Program Files" -> "PROGRA~1") 10216 ;; 10217 esac 10218 10219 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10220 postinstall_cmds='base_file=`basename \${file}`~ 10221 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10222 dldir=$destdir/`dirname \$dlpath`~ 10223 test -d \$dldir || mkdir -p \$dldir~ 10224 $install_prog $dir/$dlname \$dldir/$dlname' 10225 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10226 dlpath=$dir/\$dldll~ 10227 $RM \$dlpath' 10228 shlibpath_overrides_runpath=yes 10229 dynamic_linker='Win32 link.exe' 10230 ;; 10231 10232 *) 10233 # Assume MSVC wrapper 10234 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10235 dynamic_linker='Win32 ld.exe' 10236 ;; 10237 esac 10238 # FIXME: first we should search . and the directory the executable is in 10239 shlibpath_var=PATH 10240 ;; 10241 10242darwin* | rhapsody*) 10243 dynamic_linker="$host_os dyld" 10244 version_type=darwin 10245 need_lib_prefix=no 10246 need_version=no 10247 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10248 soname_spec='${libname}${release}${major}$shared_ext' 10249 shlibpath_overrides_runpath=yes 10250 shlibpath_var=DYLD_LIBRARY_PATH 10251 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10252 10253 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10254 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10255 ;; 10256 10257dgux*) 10258 version_type=linux # correct to gnu/linux during the next big refactor 10259 need_lib_prefix=no 10260 need_version=no 10261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10262 soname_spec='${libname}${release}${shared_ext}$major' 10263 shlibpath_var=LD_LIBRARY_PATH 10264 ;; 10265 10266freebsd* | dragonfly*) 10267 # DragonFly does not have aout. When/if they implement a new 10268 # versioning mechanism, adjust this. 10269 if test -x /usr/bin/objformat; then 10270 objformat=`/usr/bin/objformat` 10271 else 10272 case $host_os in 10273 freebsd[23].*) objformat=aout ;; 10274 *) objformat=elf ;; 10275 esac 10276 fi 10277 version_type=freebsd-$objformat 10278 case $version_type in 10279 freebsd-elf*) 10280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10281 need_version=no 10282 need_lib_prefix=no 10283 ;; 10284 freebsd-*) 10285 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10286 need_version=yes 10287 ;; 10288 esac 10289 shlibpath_var=LD_LIBRARY_PATH 10290 case $host_os in 10291 freebsd2.*) 10292 shlibpath_overrides_runpath=yes 10293 ;; 10294 freebsd3.[01]* | freebsdelf3.[01]*) 10295 shlibpath_overrides_runpath=yes 10296 hardcode_into_libs=yes 10297 ;; 10298 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10299 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10300 shlibpath_overrides_runpath=no 10301 hardcode_into_libs=yes 10302 ;; 10303 *) # from 4.6 on, and DragonFly 10304 shlibpath_overrides_runpath=yes 10305 hardcode_into_libs=yes 10306 ;; 10307 esac 10308 ;; 10309 10310gnu*) 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 shlibpath_overrides_runpath=no 10318 hardcode_into_libs=yes 10319 ;; 10320 10321haiku*) 10322 version_type=linux # correct to gnu/linux during the next big refactor 10323 need_lib_prefix=no 10324 need_version=no 10325 dynamic_linker="$host_os runtime_loader" 10326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10327 soname_spec='${libname}${release}${shared_ext}$major' 10328 shlibpath_var=LIBRARY_PATH 10329 shlibpath_overrides_runpath=yes 10330 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10331 hardcode_into_libs=yes 10332 ;; 10333 10334hpux9* | hpux10* | hpux11*) 10335 # Give a soname corresponding to the major version so that dld.sl refuses to 10336 # link against other versions. 10337 version_type=sunos 10338 need_lib_prefix=no 10339 need_version=no 10340 case $host_cpu in 10341 ia64*) 10342 shrext_cmds='.so' 10343 hardcode_into_libs=yes 10344 dynamic_linker="$host_os dld.so" 10345 shlibpath_var=LD_LIBRARY_PATH 10346 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10348 soname_spec='${libname}${release}${shared_ext}$major' 10349 if test "X$HPUX_IA64_MODE" = X32; then 10350 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10351 else 10352 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10353 fi 10354 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10355 ;; 10356 hppa*64*) 10357 shrext_cmds='.sl' 10358 hardcode_into_libs=yes 10359 dynamic_linker="$host_os dld.sl" 10360 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10361 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10363 soname_spec='${libname}${release}${shared_ext}$major' 10364 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10365 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10366 ;; 10367 *) 10368 shrext_cmds='.sl' 10369 dynamic_linker="$host_os dld.sl" 10370 shlibpath_var=SHLIB_PATH 10371 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10373 soname_spec='${libname}${release}${shared_ext}$major' 10374 ;; 10375 esac 10376 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10377 postinstall_cmds='chmod 555 $lib' 10378 # or fails outright, so override atomically: 10379 install_override_mode=555 10380 ;; 10381 10382interix[3-9]*) 10383 version_type=linux # correct to gnu/linux during the next big refactor 10384 need_lib_prefix=no 10385 need_version=no 10386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10387 soname_spec='${libname}${release}${shared_ext}$major' 10388 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10389 shlibpath_var=LD_LIBRARY_PATH 10390 shlibpath_overrides_runpath=no 10391 hardcode_into_libs=yes 10392 ;; 10393 10394irix5* | irix6* | nonstopux*) 10395 case $host_os in 10396 nonstopux*) version_type=nonstopux ;; 10397 *) 10398 if test "$lt_cv_prog_gnu_ld" = yes; then 10399 version_type=linux # correct to gnu/linux during the next big refactor 10400 else 10401 version_type=irix 10402 fi ;; 10403 esac 10404 need_lib_prefix=no 10405 need_version=no 10406 soname_spec='${libname}${release}${shared_ext}$major' 10407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10408 case $host_os in 10409 irix5* | nonstopux*) 10410 libsuff= shlibsuff= 10411 ;; 10412 *) 10413 case $LD in # libtool.m4 will add one of these switches to LD 10414 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10415 libsuff= shlibsuff= libmagic=32-bit;; 10416 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10417 libsuff=32 shlibsuff=N32 libmagic=N32;; 10418 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10419 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10420 *) libsuff= shlibsuff= libmagic=never-match;; 10421 esac 10422 ;; 10423 esac 10424 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10425 shlibpath_overrides_runpath=no 10426 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10427 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10428 hardcode_into_libs=yes 10429 ;; 10430 10431# No shared lib support for Linux oldld, aout, or coff. 10432linux*oldld* | linux*aout* | linux*coff*) 10433 dynamic_linker=no 10434 ;; 10435 10436# This must be glibc/ELF. 10437linux* | k*bsd*-gnu | kopensolaris*-gnu) 10438 version_type=linux # correct to gnu/linux during the next big refactor 10439 need_lib_prefix=no 10440 need_version=no 10441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10442 soname_spec='${libname}${release}${shared_ext}$major' 10443 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10444 shlibpath_var=LD_LIBRARY_PATH 10445 shlibpath_overrides_runpath=no 10446 10447 # Some binutils ld are patched to set DT_RUNPATH 10448 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10449 $as_echo_n "(cached) " >&6 10450else 10451 lt_cv_shlibpath_overrides_runpath=no 10452 save_LDFLAGS=$LDFLAGS 10453 save_libdir=$libdir 10454 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10455 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10457/* end confdefs.h. */ 10458 10459int 10460main () 10461{ 10462 10463 ; 10464 return 0; 10465} 10466_ACEOF 10467if ac_fn_c_try_link "$LINENO"; then : 10468 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10469 lt_cv_shlibpath_overrides_runpath=yes 10470fi 10471fi 10472rm -f core conftest.err conftest.$ac_objext \ 10473 conftest$ac_exeext conftest.$ac_ext 10474 LDFLAGS=$save_LDFLAGS 10475 libdir=$save_libdir 10476 10477fi 10478 10479 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10480 10481 # This implies no fast_install, which is unacceptable. 10482 # Some rework will be needed to allow for fast_install 10483 # before this can be enabled. 10484 hardcode_into_libs=yes 10485 10486 # Append ld.so.conf contents to the search path 10487 if test -f /etc/ld.so.conf; then 10488 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' ' '` 10489 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10490 fi 10491 10492 # We used to test for /lib/ld.so.1 and disable shared libraries on 10493 # powerpc, because MkLinux only supported shared libraries with the 10494 # GNU dynamic linker. Since this was broken with cross compilers, 10495 # most powerpc-linux boxes support dynamic linking these days and 10496 # people can always --disable-shared, the test was removed, and we 10497 # assume the GNU/Linux dynamic linker is in use. 10498 dynamic_linker='GNU/Linux ld.so' 10499 ;; 10500 10501netbsd*) 10502 version_type=sunos 10503 need_lib_prefix=no 10504 need_version=no 10505 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10507 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10508 dynamic_linker='NetBSD (a.out) ld.so' 10509 else 10510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10511 soname_spec='${libname}${release}${shared_ext}$major' 10512 dynamic_linker='NetBSD ld.elf_so' 10513 fi 10514 shlibpath_var=LD_LIBRARY_PATH 10515 shlibpath_overrides_runpath=yes 10516 hardcode_into_libs=yes 10517 ;; 10518 10519newsos6) 10520 version_type=linux # correct to gnu/linux during the next big refactor 10521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10522 shlibpath_var=LD_LIBRARY_PATH 10523 shlibpath_overrides_runpath=yes 10524 ;; 10525 10526*nto* | *qnx*) 10527 version_type=qnx 10528 need_lib_prefix=no 10529 need_version=no 10530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10531 soname_spec='${libname}${release}${shared_ext}$major' 10532 shlibpath_var=LD_LIBRARY_PATH 10533 shlibpath_overrides_runpath=no 10534 hardcode_into_libs=yes 10535 dynamic_linker='ldqnx.so' 10536 ;; 10537 10538openbsd*) 10539 version_type=sunos 10540 sys_lib_dlsearch_path_spec="/usr/lib" 10541 need_lib_prefix=no 10542 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10543 case $host_os in 10544 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10545 *) need_version=no ;; 10546 esac 10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10548 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10549 shlibpath_var=LD_LIBRARY_PATH 10550 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10551 case $host_os in 10552 openbsd2.[89] | openbsd2.[89].*) 10553 shlibpath_overrides_runpath=no 10554 ;; 10555 *) 10556 shlibpath_overrides_runpath=yes 10557 ;; 10558 esac 10559 else 10560 shlibpath_overrides_runpath=yes 10561 fi 10562 ;; 10563 10564os2*) 10565 libname_spec='$name' 10566 shrext_cmds=".dll" 10567 need_lib_prefix=no 10568 library_names_spec='$libname${shared_ext} $libname.a' 10569 dynamic_linker='OS/2 ld.exe' 10570 shlibpath_var=LIBPATH 10571 ;; 10572 10573osf3* | osf4* | osf5*) 10574 version_type=osf 10575 need_lib_prefix=no 10576 need_version=no 10577 soname_spec='${libname}${release}${shared_ext}$major' 10578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10579 shlibpath_var=LD_LIBRARY_PATH 10580 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10581 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10582 ;; 10583 10584rdos*) 10585 dynamic_linker=no 10586 ;; 10587 10588solaris*) 10589 version_type=linux # correct to gnu/linux during the next big refactor 10590 need_lib_prefix=no 10591 need_version=no 10592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10593 soname_spec='${libname}${release}${shared_ext}$major' 10594 shlibpath_var=LD_LIBRARY_PATH 10595 shlibpath_overrides_runpath=yes 10596 hardcode_into_libs=yes 10597 # ldd complains unless libraries are executable 10598 postinstall_cmds='chmod +x $lib' 10599 ;; 10600 10601sunos4*) 10602 version_type=sunos 10603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10604 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10605 shlibpath_var=LD_LIBRARY_PATH 10606 shlibpath_overrides_runpath=yes 10607 if test "$with_gnu_ld" = yes; then 10608 need_lib_prefix=no 10609 fi 10610 need_version=yes 10611 ;; 10612 10613sysv4 | sysv4.3*) 10614 version_type=linux # correct to gnu/linux during the next big refactor 10615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10616 soname_spec='${libname}${release}${shared_ext}$major' 10617 shlibpath_var=LD_LIBRARY_PATH 10618 case $host_vendor in 10619 sni) 10620 shlibpath_overrides_runpath=no 10621 need_lib_prefix=no 10622 runpath_var=LD_RUN_PATH 10623 ;; 10624 siemens) 10625 need_lib_prefix=no 10626 ;; 10627 motorola) 10628 need_lib_prefix=no 10629 need_version=no 10630 shlibpath_overrides_runpath=no 10631 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10632 ;; 10633 esac 10634 ;; 10635 10636sysv4*MP*) 10637 if test -d /usr/nec ;then 10638 version_type=linux # correct to gnu/linux during the next big refactor 10639 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10640 soname_spec='$libname${shared_ext}.$major' 10641 shlibpath_var=LD_LIBRARY_PATH 10642 fi 10643 ;; 10644 10645sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10646 version_type=freebsd-elf 10647 need_lib_prefix=no 10648 need_version=no 10649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10650 soname_spec='${libname}${release}${shared_ext}$major' 10651 shlibpath_var=LD_LIBRARY_PATH 10652 shlibpath_overrides_runpath=yes 10653 hardcode_into_libs=yes 10654 if test "$with_gnu_ld" = yes; then 10655 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10656 else 10657 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10658 case $host_os in 10659 sco3.2v5*) 10660 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10661 ;; 10662 esac 10663 fi 10664 sys_lib_dlsearch_path_spec='/usr/lib' 10665 ;; 10666 10667tpf*) 10668 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10669 version_type=linux # correct to gnu/linux during the next big refactor 10670 need_lib_prefix=no 10671 need_version=no 10672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10673 shlibpath_var=LD_LIBRARY_PATH 10674 shlibpath_overrides_runpath=no 10675 hardcode_into_libs=yes 10676 ;; 10677 10678uts4*) 10679 version_type=linux # correct to gnu/linux during the next big refactor 10680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10681 soname_spec='${libname}${release}${shared_ext}$major' 10682 shlibpath_var=LD_LIBRARY_PATH 10683 ;; 10684 10685*) 10686 dynamic_linker=no 10687 ;; 10688esac 10689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10690$as_echo "$dynamic_linker" >&6; } 10691test "$dynamic_linker" = no && can_build_shared=no 10692 10693variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10694if test "$GCC" = yes; then 10695 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10696fi 10697 10698if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10699 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10700fi 10701if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10702 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10703fi 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10797$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10798hardcode_action= 10799if test -n "$hardcode_libdir_flag_spec" || 10800 test -n "$runpath_var" || 10801 test "X$hardcode_automatic" = "Xyes" ; then 10802 10803 # We can hardcode non-existent directories. 10804 if test "$hardcode_direct" != no && 10805 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10806 # have to relink, otherwise we might link with an installed library 10807 # when we should be linking with a yet-to-be-installed one 10808 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10809 test "$hardcode_minus_L" != no; then 10810 # Linking always hardcodes the temporary library directory. 10811 hardcode_action=relink 10812 else 10813 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10814 hardcode_action=immediate 10815 fi 10816else 10817 # We cannot hardcode anything, or else we can only hardcode existing 10818 # directories. 10819 hardcode_action=unsupported 10820fi 10821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10822$as_echo "$hardcode_action" >&6; } 10823 10824if test "$hardcode_action" = relink || 10825 test "$inherit_rpath" = yes; then 10826 # Fast installation is not supported 10827 enable_fast_install=no 10828elif test "$shlibpath_overrides_runpath" = yes || 10829 test "$enable_shared" = no; then 10830 # Fast installation is not necessary 10831 enable_fast_install=needless 10832fi 10833 10834 10835 10836 10837 10838 10839 if test "x$enable_dlopen" != xyes; then 10840 enable_dlopen=unknown 10841 enable_dlopen_self=unknown 10842 enable_dlopen_self_static=unknown 10843else 10844 lt_cv_dlopen=no 10845 lt_cv_dlopen_libs= 10846 10847 case $host_os in 10848 beos*) 10849 lt_cv_dlopen="load_add_on" 10850 lt_cv_dlopen_libs= 10851 lt_cv_dlopen_self=yes 10852 ;; 10853 10854 mingw* | pw32* | cegcc*) 10855 lt_cv_dlopen="LoadLibrary" 10856 lt_cv_dlopen_libs= 10857 ;; 10858 10859 cygwin*) 10860 lt_cv_dlopen="dlopen" 10861 lt_cv_dlopen_libs= 10862 ;; 10863 10864 darwin*) 10865 # if libdl is installed we need to link against it 10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10867$as_echo_n "checking for dlopen in -ldl... " >&6; } 10868if ${ac_cv_lib_dl_dlopen+:} false; then : 10869 $as_echo_n "(cached) " >&6 10870else 10871 ac_check_lib_save_LIBS=$LIBS 10872LIBS="-ldl $LIBS" 10873cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10874/* end confdefs.h. */ 10875 10876/* Override any GCC internal prototype to avoid an error. 10877 Use char because int might match the return type of a GCC 10878 builtin and then its argument prototype would still apply. */ 10879#ifdef __cplusplus 10880extern "C" 10881#endif 10882char dlopen (); 10883int 10884main () 10885{ 10886return dlopen (); 10887 ; 10888 return 0; 10889} 10890_ACEOF 10891if ac_fn_c_try_link "$LINENO"; then : 10892 ac_cv_lib_dl_dlopen=yes 10893else 10894 ac_cv_lib_dl_dlopen=no 10895fi 10896rm -f core conftest.err conftest.$ac_objext \ 10897 conftest$ac_exeext conftest.$ac_ext 10898LIBS=$ac_check_lib_save_LIBS 10899fi 10900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10901$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10902if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10903 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10904else 10905 10906 lt_cv_dlopen="dyld" 10907 lt_cv_dlopen_libs= 10908 lt_cv_dlopen_self=yes 10909 10910fi 10911 10912 ;; 10913 10914 *) 10915 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10916if test "x$ac_cv_func_shl_load" = xyes; then : 10917 lt_cv_dlopen="shl_load" 10918else 10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10920$as_echo_n "checking for shl_load in -ldld... " >&6; } 10921if ${ac_cv_lib_dld_shl_load+:} false; then : 10922 $as_echo_n "(cached) " >&6 10923else 10924 ac_check_lib_save_LIBS=$LIBS 10925LIBS="-ldld $LIBS" 10926cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10927/* end confdefs.h. */ 10928 10929/* Override any GCC internal prototype to avoid an error. 10930 Use char because int might match the return type of a GCC 10931 builtin and then its argument prototype would still apply. */ 10932#ifdef __cplusplus 10933extern "C" 10934#endif 10935char shl_load (); 10936int 10937main () 10938{ 10939return shl_load (); 10940 ; 10941 return 0; 10942} 10943_ACEOF 10944if ac_fn_c_try_link "$LINENO"; then : 10945 ac_cv_lib_dld_shl_load=yes 10946else 10947 ac_cv_lib_dld_shl_load=no 10948fi 10949rm -f core conftest.err conftest.$ac_objext \ 10950 conftest$ac_exeext conftest.$ac_ext 10951LIBS=$ac_check_lib_save_LIBS 10952fi 10953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10954$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10955if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 10956 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10957else 10958 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10959if test "x$ac_cv_func_dlopen" = xyes; then : 10960 lt_cv_dlopen="dlopen" 10961else 10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10963$as_echo_n "checking for dlopen in -ldl... " >&6; } 10964if ${ac_cv_lib_dl_dlopen+:} false; then : 10965 $as_echo_n "(cached) " >&6 10966else 10967 ac_check_lib_save_LIBS=$LIBS 10968LIBS="-ldl $LIBS" 10969cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10970/* end confdefs.h. */ 10971 10972/* Override any GCC internal prototype to avoid an error. 10973 Use char because int might match the return type of a GCC 10974 builtin and then its argument prototype would still apply. */ 10975#ifdef __cplusplus 10976extern "C" 10977#endif 10978char dlopen (); 10979int 10980main () 10981{ 10982return dlopen (); 10983 ; 10984 return 0; 10985} 10986_ACEOF 10987if ac_fn_c_try_link "$LINENO"; then : 10988 ac_cv_lib_dl_dlopen=yes 10989else 10990 ac_cv_lib_dl_dlopen=no 10991fi 10992rm -f core conftest.err conftest.$ac_objext \ 10993 conftest$ac_exeext conftest.$ac_ext 10994LIBS=$ac_check_lib_save_LIBS 10995fi 10996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10997$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10998if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10999 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11000else 11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11002$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11003if ${ac_cv_lib_svld_dlopen+:} false; then : 11004 $as_echo_n "(cached) " >&6 11005else 11006 ac_check_lib_save_LIBS=$LIBS 11007LIBS="-lsvld $LIBS" 11008cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11009/* end confdefs.h. */ 11010 11011/* Override any GCC internal prototype to avoid an error. 11012 Use char because int might match the return type of a GCC 11013 builtin and then its argument prototype would still apply. */ 11014#ifdef __cplusplus 11015extern "C" 11016#endif 11017char dlopen (); 11018int 11019main () 11020{ 11021return dlopen (); 11022 ; 11023 return 0; 11024} 11025_ACEOF 11026if ac_fn_c_try_link "$LINENO"; then : 11027 ac_cv_lib_svld_dlopen=yes 11028else 11029 ac_cv_lib_svld_dlopen=no 11030fi 11031rm -f core conftest.err conftest.$ac_objext \ 11032 conftest$ac_exeext conftest.$ac_ext 11033LIBS=$ac_check_lib_save_LIBS 11034fi 11035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11036$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11037if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11038 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11039else 11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11041$as_echo_n "checking for dld_link in -ldld... " >&6; } 11042if ${ac_cv_lib_dld_dld_link+:} false; then : 11043 $as_echo_n "(cached) " >&6 11044else 11045 ac_check_lib_save_LIBS=$LIBS 11046LIBS="-ldld $LIBS" 11047cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11048/* end confdefs.h. */ 11049 11050/* Override any GCC internal prototype to avoid an error. 11051 Use char because int might match the return type of a GCC 11052 builtin and then its argument prototype would still apply. */ 11053#ifdef __cplusplus 11054extern "C" 11055#endif 11056char dld_link (); 11057int 11058main () 11059{ 11060return dld_link (); 11061 ; 11062 return 0; 11063} 11064_ACEOF 11065if ac_fn_c_try_link "$LINENO"; then : 11066 ac_cv_lib_dld_dld_link=yes 11067else 11068 ac_cv_lib_dld_dld_link=no 11069fi 11070rm -f core conftest.err conftest.$ac_objext \ 11071 conftest$ac_exeext conftest.$ac_ext 11072LIBS=$ac_check_lib_save_LIBS 11073fi 11074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11075$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11076if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11077 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11078fi 11079 11080 11081fi 11082 11083 11084fi 11085 11086 11087fi 11088 11089 11090fi 11091 11092 11093fi 11094 11095 ;; 11096 esac 11097 11098 if test "x$lt_cv_dlopen" != xno; then 11099 enable_dlopen=yes 11100 else 11101 enable_dlopen=no 11102 fi 11103 11104 case $lt_cv_dlopen in 11105 dlopen) 11106 save_CPPFLAGS="$CPPFLAGS" 11107 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11108 11109 save_LDFLAGS="$LDFLAGS" 11110 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11111 11112 save_LIBS="$LIBS" 11113 LIBS="$lt_cv_dlopen_libs $LIBS" 11114 11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11116$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11117if ${lt_cv_dlopen_self+:} false; then : 11118 $as_echo_n "(cached) " >&6 11119else 11120 if test "$cross_compiling" = yes; then : 11121 lt_cv_dlopen_self=cross 11122else 11123 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11124 lt_status=$lt_dlunknown 11125 cat > conftest.$ac_ext <<_LT_EOF 11126#line $LINENO "configure" 11127#include "confdefs.h" 11128 11129#if HAVE_DLFCN_H 11130#include <dlfcn.h> 11131#endif 11132 11133#include <stdio.h> 11134 11135#ifdef RTLD_GLOBAL 11136# define LT_DLGLOBAL RTLD_GLOBAL 11137#else 11138# ifdef DL_GLOBAL 11139# define LT_DLGLOBAL DL_GLOBAL 11140# else 11141# define LT_DLGLOBAL 0 11142# endif 11143#endif 11144 11145/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11146 find out it does not work in some platform. */ 11147#ifndef LT_DLLAZY_OR_NOW 11148# ifdef RTLD_LAZY 11149# define LT_DLLAZY_OR_NOW RTLD_LAZY 11150# else 11151# ifdef DL_LAZY 11152# define LT_DLLAZY_OR_NOW DL_LAZY 11153# else 11154# ifdef RTLD_NOW 11155# define LT_DLLAZY_OR_NOW RTLD_NOW 11156# else 11157# ifdef DL_NOW 11158# define LT_DLLAZY_OR_NOW DL_NOW 11159# else 11160# define LT_DLLAZY_OR_NOW 0 11161# endif 11162# endif 11163# endif 11164# endif 11165#endif 11166 11167/* When -fvisbility=hidden is used, assume the code has been annotated 11168 correspondingly for the symbols needed. */ 11169#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11170int fnord () __attribute__((visibility("default"))); 11171#endif 11172 11173int fnord () { return 42; } 11174int main () 11175{ 11176 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11177 int status = $lt_dlunknown; 11178 11179 if (self) 11180 { 11181 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11182 else 11183 { 11184 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11185 else puts (dlerror ()); 11186 } 11187 /* dlclose (self); */ 11188 } 11189 else 11190 puts (dlerror ()); 11191 11192 return status; 11193} 11194_LT_EOF 11195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11196 (eval $ac_link) 2>&5 11197 ac_status=$? 11198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11199 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11200 (./conftest; exit; ) >&5 2>/dev/null 11201 lt_status=$? 11202 case x$lt_status in 11203 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11204 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11205 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11206 esac 11207 else : 11208 # compilation failed 11209 lt_cv_dlopen_self=no 11210 fi 11211fi 11212rm -fr conftest* 11213 11214 11215fi 11216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11217$as_echo "$lt_cv_dlopen_self" >&6; } 11218 11219 if test "x$lt_cv_dlopen_self" = xyes; then 11220 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11222$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11223if ${lt_cv_dlopen_self_static+:} false; then : 11224 $as_echo_n "(cached) " >&6 11225else 11226 if test "$cross_compiling" = yes; then : 11227 lt_cv_dlopen_self_static=cross 11228else 11229 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11230 lt_status=$lt_dlunknown 11231 cat > conftest.$ac_ext <<_LT_EOF 11232#line $LINENO "configure" 11233#include "confdefs.h" 11234 11235#if HAVE_DLFCN_H 11236#include <dlfcn.h> 11237#endif 11238 11239#include <stdio.h> 11240 11241#ifdef RTLD_GLOBAL 11242# define LT_DLGLOBAL RTLD_GLOBAL 11243#else 11244# ifdef DL_GLOBAL 11245# define LT_DLGLOBAL DL_GLOBAL 11246# else 11247# define LT_DLGLOBAL 0 11248# endif 11249#endif 11250 11251/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11252 find out it does not work in some platform. */ 11253#ifndef LT_DLLAZY_OR_NOW 11254# ifdef RTLD_LAZY 11255# define LT_DLLAZY_OR_NOW RTLD_LAZY 11256# else 11257# ifdef DL_LAZY 11258# define LT_DLLAZY_OR_NOW DL_LAZY 11259# else 11260# ifdef RTLD_NOW 11261# define LT_DLLAZY_OR_NOW RTLD_NOW 11262# else 11263# ifdef DL_NOW 11264# define LT_DLLAZY_OR_NOW DL_NOW 11265# else 11266# define LT_DLLAZY_OR_NOW 0 11267# endif 11268# endif 11269# endif 11270# endif 11271#endif 11272 11273/* When -fvisbility=hidden is used, assume the code has been annotated 11274 correspondingly for the symbols needed. */ 11275#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11276int fnord () __attribute__((visibility("default"))); 11277#endif 11278 11279int fnord () { return 42; } 11280int main () 11281{ 11282 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11283 int status = $lt_dlunknown; 11284 11285 if (self) 11286 { 11287 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11288 else 11289 { 11290 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11291 else puts (dlerror ()); 11292 } 11293 /* dlclose (self); */ 11294 } 11295 else 11296 puts (dlerror ()); 11297 11298 return status; 11299} 11300_LT_EOF 11301 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11302 (eval $ac_link) 2>&5 11303 ac_status=$? 11304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11305 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11306 (./conftest; exit; ) >&5 2>/dev/null 11307 lt_status=$? 11308 case x$lt_status in 11309 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11310 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11311 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11312 esac 11313 else : 11314 # compilation failed 11315 lt_cv_dlopen_self_static=no 11316 fi 11317fi 11318rm -fr conftest* 11319 11320 11321fi 11322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11323$as_echo "$lt_cv_dlopen_self_static" >&6; } 11324 fi 11325 11326 CPPFLAGS="$save_CPPFLAGS" 11327 LDFLAGS="$save_LDFLAGS" 11328 LIBS="$save_LIBS" 11329 ;; 11330 esac 11331 11332 case $lt_cv_dlopen_self in 11333 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11334 *) enable_dlopen_self=unknown ;; 11335 esac 11336 11337 case $lt_cv_dlopen_self_static in 11338 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11339 *) enable_dlopen_self_static=unknown ;; 11340 esac 11341fi 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359striplib= 11360old_striplib= 11361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11362$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11363if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11364 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11365 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11367$as_echo "yes" >&6; } 11368else 11369# FIXME - insert some real tests, host_os isn't really good enough 11370 case $host_os in 11371 darwin*) 11372 if test -n "$STRIP" ; then 11373 striplib="$STRIP -x" 11374 old_striplib="$STRIP -S" 11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11376$as_echo "yes" >&6; } 11377 else 11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11379$as_echo "no" >&6; } 11380 fi 11381 ;; 11382 *) 11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11384$as_echo "no" >&6; } 11385 ;; 11386 esac 11387fi 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 # Report which library types will actually be built 11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11402$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11404$as_echo "$can_build_shared" >&6; } 11405 11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11407$as_echo_n "checking whether to build shared libraries... " >&6; } 11408 test "$can_build_shared" = "no" && enable_shared=no 11409 11410 # On AIX, shared libraries and static libraries use the same namespace, and 11411 # are all built from PIC. 11412 case $host_os in 11413 aix3*) 11414 test "$enable_shared" = yes && enable_static=no 11415 if test -n "$RANLIB"; then 11416 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11417 postinstall_cmds='$RANLIB $lib' 11418 fi 11419 ;; 11420 11421 aix[4-9]*) 11422 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11423 test "$enable_shared" = yes && enable_static=no 11424 fi 11425 ;; 11426 esac 11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11428$as_echo "$enable_shared" >&6; } 11429 11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11431$as_echo_n "checking whether to build static libraries... " >&6; } 11432 # Make sure either enable_shared or enable_static is yes. 11433 test "$enable_shared" = yes || enable_static=yes 11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11435$as_echo "$enable_static" >&6; } 11436 11437 11438 11439 11440fi 11441ac_ext=c 11442ac_cpp='$CPP $CPPFLAGS' 11443ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11444ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11445ac_compiler_gnu=$ac_cv_c_compiler_gnu 11446 11447CC="$lt_save_CC" 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 ac_config_commands="$ac_config_commands libtool" 11464 11465 11466 11467 11468# Only expand once: 11469 11470 11471 11472for ac_prog in perl 11473do 11474 # Extract the first word of "$ac_prog", so it can be a program name with args. 11475set dummy $ac_prog; ac_word=$2 11476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11477$as_echo_n "checking for $ac_word... " >&6; } 11478if ${ac_cv_path_PERL+:} false; then : 11479 $as_echo_n "(cached) " >&6 11480else 11481 case $PERL in 11482 [\\/]* | ?:[\\/]*) 11483 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 11484 ;; 11485 *) 11486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11487for as_dir in $PATH 11488do 11489 IFS=$as_save_IFS 11490 test -z "$as_dir" && as_dir=. 11491 for ac_exec_ext in '' $ac_executable_extensions; do 11492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11493 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 11494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11495 break 2 11496 fi 11497done 11498 done 11499IFS=$as_save_IFS 11500 11501 ;; 11502esac 11503fi 11504PERL=$ac_cv_path_PERL 11505if test -n "$PERL"; then 11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 11507$as_echo "$PERL" >&6; } 11508else 11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11510$as_echo "no" >&6; } 11511fi 11512 11513 11514 test -n "$PERL" && break 11515done 11516test -n "$PERL" || PERL="perl" 11517 11518 11519for ac_header in unistd.h locale.h langinfo.h pwd.h sys/param.h 11520do : 11521 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11522ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 11523if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11524 cat >>confdefs.h <<_ACEOF 11525#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11526_ACEOF 11527 11528fi 11529 11530done 11531 11532 11533for ac_func in setlocale nl_langinfo 11534do : 11535 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11536ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11537if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 11538 cat >>confdefs.h <<_ACEOF 11539#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11540_ACEOF 11541 11542fi 11543done 11544 11545 11546if test "$liteonly,$iconv,$iconv_include,$libiconv" = no,unspec,unspec,unspec ; then 11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in libc" >&5 11548$as_echo_n "checking for iconv in libc... " >&6; } 11549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11550/* end confdefs.h. */ 11551 11552 #include <stddef.h> 11553 #include <stdlib.h> 11554 #include <iconv.h> 11555 11556int 11557main () 11558{ 11559 11560 iconv_t i = iconv_open("ISO-8859-1", "UTF-8"); 11561 return 0; 11562 11563 ; 11564 return 0; 11565} 11566_ACEOF 11567if ac_fn_c_try_link "$LINENO"; then : 11568 iconv_try_link=yes 11569else 11570 iconv_try_link=no 11571fi 11572rm -f core conftest.err conftest.$ac_objext \ 11573 conftest$ac_exeext conftest.$ac_ext 11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $iconv_try_link" >&5 11575$as_echo "$iconv_try_link" >&6; } 11576 if test "$iconv_try_link" = yes ; then 11577 iconv=no 11578 libiconv=no 11579 fi 11580fi 11581 11582if test "$liteonly,$iconv,$iconv_include,$libiconv" = no,unspec,unspec,unspec ; then 11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in libiconv" >&5 11584$as_echo_n "checking for iconv in libiconv... " >&6; } 11585 ICONVLIB="" 11586 saved_LIBS=$LIBS 11587 LIBS="$LIBS $ICONVLIB" 11588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11589/* end confdefs.h. */ 11590 11591 #include <stddef.h> 11592 #include <stdlib.h> 11593 #include <iconv.h> 11594 11595int 11596main () 11597{ 11598 11599 iconv_t i = iconv_open("ISO-8859-1", "UTF-8"); 11600 return 0; 11601 11602 ; 11603 return 0; 11604} 11605_ACEOF 11606if ac_fn_c_try_link "$LINENO"; then : 11607 iconv_try_link=yes 11608else 11609 iconv_try_link=no 11610fi 11611rm -f core conftest.err conftest.$ac_objext \ 11612 conftest$ac_exeext conftest.$ac_ext 11613 LIBS=$saved_LIBS 11614 if test "$iconv_try_link" = yes ; then 11615 libiconv=yes 11616 else 11617 if test X$prefix = XNONE ; then 11618 ICONVINC="$ICONVINC -I$ac_default_prefix/include" 11619 ICONVLIB="-L$ac_default_prefix/lib -R$ac_default_prefix/lib " 11620 else 11621 ICONVINC="$ICONVINC -I$prefix/include" 11622 ICONVLIB="-L$prefix/lib -R$prefix/lib " 11623 fi 11624 saved_CPPFLAGS=$CPPFLAGS 11625 saved_LIBS=$LIBS 11626 CPPFLAGS="$CPPFLAGS $ICONVINC" 11627 LIBS="$LIBS $ICONVLIB" 11628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11629/* end confdefs.h. */ 11630 11631 #include <stddef.h> 11632 #include <stdlib.h> 11633 #include <iconv.h> 11634 11635int 11636main () 11637{ 11638 11639 iconv_t i = iconv_open("ISO-8859-1", "UTF-8"); 11640 return 0; 11641 11642 ; 11643 return 0; 11644} 11645_ACEOF 11646if ac_fn_c_try_link "$LINENO"; then : 11647 iconv_try_link=yes 11648else 11649 iconv_try_link=no 11650fi 11651rm -f core conftest.err conftest.$ac_objext \ 11652 conftest$ac_exeext conftest.$ac_ext 11653 LIBS=$saved_LIBS 11654 CPPFLAGS=$saved_CPPFLAGS 11655 fi 11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $iconv_try_link" >&5 11657$as_echo "$iconv_try_link" >&6; } 11658 if test "$iconv_try_link" = yes ; then 11659 libiconv=yes 11660 iconv=no 11661 else 11662 ICONVINC= 11663 ICONVLIB= 11664 fi 11665fi 11666 11667if test "$liteonly" != yes ; then 11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 11669$as_echo_n "checking for iconv... " >&6; } 11670 saved_CPPFLAGS=$CPPFLAGS 11671 saved_LIBS=$LIBS 11672 CPPFLAGS="$CPPFLAGS $ICONVINC" 11673 LIBS="$LIBS $ICONVLIB" 11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11675/* end confdefs.h. */ 11676 11677 #include <stddef.h> 11678 #include <stdlib.h> 11679 #include <iconv.h> 11680 11681int 11682main () 11683{ 11684 11685 iconv_t i = iconv_open("ISO-8859-1", "UTF-8"); 11686 return 0; 11687 11688 ; 11689 return 0; 11690} 11691_ACEOF 11692if ac_fn_c_try_link "$LINENO"; then : 11693 iconv_try_link=yes 11694else 11695 iconv_try_link=no 11696fi 11697rm -f core conftest.err conftest.$ac_objext \ 11698 conftest$ac_exeext conftest.$ac_ext 11699 LIBS=$saved_LIBS 11700 CPPFLAGS=$saved_CPPFLAGS 11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $iconv_try_link" >&5 11702$as_echo "$iconv_try_link" >&6; } 11703 if test "$iconv_try_link" = no ; then 11704 as_fn_error $? "iconv function not available" "$LINENO" 5 11705 fi 11706fi 11707 11708if test "$liteonly" != yes ; then 11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for codeset name $UTF8_NAME" >&5 11710$as_echo_n "checking for codeset name $UTF8_NAME... " >&6; } 11711 saved_CPPFLAGS=$CPPFLAGS 11712 saved_LIBS=$LIBS 11713 CPPFLAGS="$CPPFLAGS $ICONVINC" 11714 LIBS="$LIBS $ICONVLIB" 11715 if test "$cross_compiling" = yes; then : 11716 utf8_name_valid=unknown 11717else 11718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11719/* end confdefs.h. */ 11720 11721 #include <stddef.h> 11722 #include <stdlib.h> 11723 #include <iconv.h> 11724 #define UTF8_NAME "$UTF8_NAME" 11725 #define ICONV_FAIL ((iconv_t)(-1)) 11726 11727int 11728main () 11729{ 11730 11731 /* Check if the codeset name UTF8_NAME is valid by performing iconv_open(). */ 11732 int i; 11733 /* list of codeset names likely to exist */ 11734 static char *codeset[] = { 11735 "ASCII", "ISO-8859-1", "ISO8859-1", "iso8859_1", "8859-1", 11736 "Shift_JIS", "SJIS", "sjis", NULL, 11737 }; 11738 11739 /* First try null conversion. */ 11740 if (iconv_open(UTF8_NAME, UTF8_NAME) != ICONV_FAIL) return 0; 11741 11742 /* Unfortunately, above check fails on certain systems, such as Solaris. 11743 */ 11744 for (i = 0; codeset[i] != NULL; i++) { 11745 if (iconv_open(UTF8_NAME, codeset[i]) != ICONV_FAIL) return 0; 11746 } 11747 return 1; 11748 11749 ; 11750 return 0; 11751} 11752_ACEOF 11753if ac_fn_c_try_run "$LINENO"; then : 11754 utf8_name_valid=yes 11755else 11756 utf8_name_valid=no 11757fi 11758rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 11759 conftest.$ac_objext conftest.beam conftest.$ac_ext 11760fi 11761 11762 LIBS=$saved_LIBS 11763 CPPFLAGS=$saved_CPPFLAGS 11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $utf8_name_valid" >&5 11765$as_echo "$utf8_name_valid" >&6; } 11766fi 11767 11768ac_config_headers="$ac_config_headers include/config.h" 11769 11770ac_config_files="$ac_config_files Makefile data/Makefile include/Makefile lib/Makefile tools/idncheck/Makefile tools/idncmp/Makefile tools/idnconv/Makefile conf/Makefile man/Makefile map/Makefile util/Makefile test/Makefile test/common/Makefile test/api/Makefile test/asclower/Makefile test/auto/Makefile test/bidicheck/Makefile test/checkname/Makefile test/combcheck/Makefile test/command/Makefile test/comparenames/Makefile test/ctxjcheck/Makefile test/ctxocheck/Makefile test/decodename/Makefile test/delimitermap/Makefile test/encodename/Makefile test/hyphcheck/Makefile test/idnconv/Makefile test/language/Makefile test/languagelocal/Makefile test/lencheck/Makefile test/libidnkitlite/Makefile test/loadconf/Makefile test/localcheck/Makefile test/localconv/Makefile test/localencoding/Makefile test/lowercase/Makefile test/map/Makefile test/misc/Makefile test/nfc/Makefile test/nfccheck/Makefile test/nfkc/Makefile test/normalization/Makefile test/overflow/Makefile test/prefcheck/Makefile test/prohcheck/Makefile test/result/Makefile test/rtcheck/Makefile test/rtconv/Makefile test/tldlocal/Makefile test/tr46check/Makefile test/tr46map/Makefile test/unascheck/Makefile test/undoiferr/Makefile test/unicodeconv/Makefile test/utf8/Makefile test/version/Makefile test/width/Makefile" 11771 11772cat >confcache <<\_ACEOF 11773# This file is a shell script that caches the results of configure 11774# tests run on this system so they can be shared between configure 11775# scripts and configure runs, see configure's option --config-cache. 11776# It is not useful on other systems. If it contains results you don't 11777# want to keep, you may remove or edit it. 11778# 11779# config.status only pays attention to the cache file if you give it 11780# the --recheck option to rerun configure. 11781# 11782# `ac_cv_env_foo' variables (set or unset) will be overridden when 11783# loading this file, other *unset* `ac_cv_foo' will be assigned the 11784# following values. 11785 11786_ACEOF 11787 11788# The following way of writing the cache mishandles newlines in values, 11789# but we know of no workaround that is simple, portable, and efficient. 11790# So, we kill variables containing newlines. 11791# Ultrix sh set writes to stderr and can't be redirected directly, 11792# and sets the high bit in the cache file unless we assign to the vars. 11793( 11794 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 11795 eval ac_val=\$$ac_var 11796 case $ac_val in #( 11797 *${as_nl}*) 11798 case $ac_var in #( 11799 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 11800$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 11801 esac 11802 case $ac_var in #( 11803 _ | IFS | as_nl) ;; #( 11804 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 11805 *) { eval $ac_var=; unset $ac_var;} ;; 11806 esac ;; 11807 esac 11808 done 11809 11810 (set) 2>&1 | 11811 case $as_nl`(ac_space=' '; set) 2>&1` in #( 11812 *${as_nl}ac_space=\ *) 11813 # `set' does not quote correctly, so add quotes: double-quote 11814 # substitution turns \\\\ into \\, and sed turns \\ into \. 11815 sed -n \ 11816 "s/'/'\\\\''/g; 11817 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 11818 ;; #( 11819 *) 11820 # `set' quotes correctly as required by POSIX, so do not add quotes. 11821 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 11822 ;; 11823 esac | 11824 sort 11825) | 11826 sed ' 11827 /^ac_cv_env_/b end 11828 t clear 11829 :clear 11830 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 11831 t end 11832 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 11833 :end' >>confcache 11834if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 11835 if test -w "$cache_file"; then 11836 if test "x$cache_file" != "x/dev/null"; then 11837 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11838$as_echo "$as_me: updating cache $cache_file" >&6;} 11839 if test ! -f "$cache_file" || test -h "$cache_file"; then 11840 cat confcache >"$cache_file" 11841 else 11842 case $cache_file in #( 11843 */* | ?:*) 11844 mv -f confcache "$cache_file"$$ && 11845 mv -f "$cache_file"$$ "$cache_file" ;; #( 11846 *) 11847 mv -f confcache "$cache_file" ;; 11848 esac 11849 fi 11850 fi 11851 else 11852 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 11853$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11854 fi 11855fi 11856rm -f confcache 11857 11858test "x$prefix" = xNONE && prefix=$ac_default_prefix 11859# Let make expand exec_prefix. 11860test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 11861 11862DEFS=-DHAVE_CONFIG_H 11863 11864ac_libobjs= 11865ac_ltlibobjs= 11866U= 11867for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 11868 # 1. Remove the extension, and $U if already installed. 11869 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 11870 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11871 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 11872 # will be set to the directory where LIBOBJS objects are built. 11873 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 11874 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 11875done 11876LIBOBJS=$ac_libobjs 11877 11878LTLIBOBJS=$ac_ltlibobjs 11879 11880 11881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 11882$as_echo_n "checking that generated files are newer than configure... " >&6; } 11883 if test -n "$am_sleep_pid"; then 11884 # Hide warnings about reused PIDs. 11885 wait $am_sleep_pid 2>/dev/null 11886 fi 11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 11888$as_echo "done" >&6; } 11889 if test -n "$EXEEXT"; then 11890 am__EXEEXT_TRUE= 11891 am__EXEEXT_FALSE='#' 11892else 11893 am__EXEEXT_TRUE='#' 11894 am__EXEEXT_FALSE= 11895fi 11896 11897if test -z "${LITEONLY_TRUE}" && test -z "${LITEONLY_FALSE}"; then 11898 as_fn_error $? "conditional \"LITEONLY\" was never defined. 11899Usually this means the macro was only invoked conditionally." "$LINENO" 5 11900fi 11901if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 11902 as_fn_error $? "conditional \"AMDEP\" was never defined. 11903Usually this means the macro was only invoked conditionally." "$LINENO" 5 11904fi 11905if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 11906 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 11907Usually this means the macro was only invoked conditionally." "$LINENO" 5 11908fi 11909 11910: "${CONFIG_STATUS=./config.status}" 11911ac_write_fail=0 11912ac_clean_files_save=$ac_clean_files 11913ac_clean_files="$ac_clean_files $CONFIG_STATUS" 11914{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11915$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11916as_write_fail=0 11917cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 11918#! $SHELL 11919# Generated by $as_me. 11920# Run this file to recreate the current configuration. 11921# Compiler output produced by configure, useful for debugging 11922# configure, is in config.log if it exists. 11923 11924debug=false 11925ac_cs_recheck=false 11926ac_cs_silent=false 11927 11928SHELL=\${CONFIG_SHELL-$SHELL} 11929export SHELL 11930_ASEOF 11931cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 11932## -------------------- ## 11933## M4sh Initialization. ## 11934## -------------------- ## 11935 11936# Be more Bourne compatible 11937DUALCASE=1; export DUALCASE # for MKS sh 11938if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 11939 emulate sh 11940 NULLCMD=: 11941 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 11942 # is contrary to our usage. Disable this feature. 11943 alias -g '${1+"$@"}'='"$@"' 11944 setopt NO_GLOB_SUBST 11945else 11946 case `(set -o) 2>/dev/null` in #( 11947 *posix*) : 11948 set -o posix ;; #( 11949 *) : 11950 ;; 11951esac 11952fi 11953 11954 11955as_nl=' 11956' 11957export as_nl 11958# Printing a long string crashes Solaris 7 /usr/bin/printf. 11959as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 11960as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 11961as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 11962# Prefer a ksh shell builtin over an external printf program on Solaris, 11963# but without wasting forks for bash or zsh. 11964if test -z "$BASH_VERSION$ZSH_VERSION" \ 11965 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 11966 as_echo='print -r --' 11967 as_echo_n='print -rn --' 11968elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 11969 as_echo='printf %s\n' 11970 as_echo_n='printf %s' 11971else 11972 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 11973 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 11974 as_echo_n='/usr/ucb/echo -n' 11975 else 11976 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 11977 as_echo_n_body='eval 11978 arg=$1; 11979 case $arg in #( 11980 *"$as_nl"*) 11981 expr "X$arg" : "X\\(.*\\)$as_nl"; 11982 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 11983 esac; 11984 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 11985 ' 11986 export as_echo_n_body 11987 as_echo_n='sh -c $as_echo_n_body as_echo' 11988 fi 11989 export as_echo_body 11990 as_echo='sh -c $as_echo_body as_echo' 11991fi 11992 11993# The user is always right. 11994if test "${PATH_SEPARATOR+set}" != set; then 11995 PATH_SEPARATOR=: 11996 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 11997 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 11998 PATH_SEPARATOR=';' 11999 } 12000fi 12001 12002 12003# IFS 12004# We need space, tab and new line, in precisely that order. Quoting is 12005# there to prevent editors from complaining about space-tab. 12006# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12007# splitting by setting IFS to empty value.) 12008IFS=" "" $as_nl" 12009 12010# Find who we are. Look in the path if we contain no directory separator. 12011as_myself= 12012case $0 in #(( 12013 *[\\/]* ) as_myself=$0 ;; 12014 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12015for as_dir in $PATH 12016do 12017 IFS=$as_save_IFS 12018 test -z "$as_dir" && as_dir=. 12019 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12020 done 12021IFS=$as_save_IFS 12022 12023 ;; 12024esac 12025# We did not find ourselves, most probably we were run as `sh COMMAND' 12026# in which case we are not to be found in the path. 12027if test "x$as_myself" = x; then 12028 as_myself=$0 12029fi 12030if test ! -f "$as_myself"; then 12031 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12032 exit 1 12033fi 12034 12035# Unset variables that we do not need and which cause bugs (e.g. in 12036# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12037# suppresses any "Segmentation fault" message there. '((' could 12038# trigger a bug in pdksh 5.2.14. 12039for as_var in BASH_ENV ENV MAIL MAILPATH 12040do eval test x\${$as_var+set} = xset \ 12041 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12042done 12043PS1='$ ' 12044PS2='> ' 12045PS4='+ ' 12046 12047# NLS nuisances. 12048LC_ALL=C 12049export LC_ALL 12050LANGUAGE=C 12051export LANGUAGE 12052 12053# CDPATH. 12054(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12055 12056 12057# as_fn_error STATUS ERROR [LINENO LOG_FD] 12058# ---------------------------------------- 12059# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12060# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12061# script with STATUS, using 1 if that was 0. 12062as_fn_error () 12063{ 12064 as_status=$1; test $as_status -eq 0 && as_status=1 12065 if test "$4"; then 12066 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12067 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12068 fi 12069 $as_echo "$as_me: error: $2" >&2 12070 as_fn_exit $as_status 12071} # as_fn_error 12072 12073 12074# as_fn_set_status STATUS 12075# ----------------------- 12076# Set $? to STATUS, without forking. 12077as_fn_set_status () 12078{ 12079 return $1 12080} # as_fn_set_status 12081 12082# as_fn_exit STATUS 12083# ----------------- 12084# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12085as_fn_exit () 12086{ 12087 set +e 12088 as_fn_set_status $1 12089 exit $1 12090} # as_fn_exit 12091 12092# as_fn_unset VAR 12093# --------------- 12094# Portably unset VAR. 12095as_fn_unset () 12096{ 12097 { eval $1=; unset $1;} 12098} 12099as_unset=as_fn_unset 12100# as_fn_append VAR VALUE 12101# ---------------------- 12102# Append the text in VALUE to the end of the definition contained in VAR. Take 12103# advantage of any shell optimizations that allow amortized linear growth over 12104# repeated appends, instead of the typical quadratic growth present in naive 12105# implementations. 12106if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12107 eval 'as_fn_append () 12108 { 12109 eval $1+=\$2 12110 }' 12111else 12112 as_fn_append () 12113 { 12114 eval $1=\$$1\$2 12115 } 12116fi # as_fn_append 12117 12118# as_fn_arith ARG... 12119# ------------------ 12120# Perform arithmetic evaluation on the ARGs, and store the result in the 12121# global $as_val. Take advantage of shells that can avoid forks. The arguments 12122# must be portable across $(()) and expr. 12123if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12124 eval 'as_fn_arith () 12125 { 12126 as_val=$(( $* )) 12127 }' 12128else 12129 as_fn_arith () 12130 { 12131 as_val=`expr "$@" || test $? -eq 1` 12132 } 12133fi # as_fn_arith 12134 12135 12136if expr a : '\(a\)' >/dev/null 2>&1 && 12137 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12138 as_expr=expr 12139else 12140 as_expr=false 12141fi 12142 12143if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12144 as_basename=basename 12145else 12146 as_basename=false 12147fi 12148 12149if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12150 as_dirname=dirname 12151else 12152 as_dirname=false 12153fi 12154 12155as_me=`$as_basename -- "$0" || 12156$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12157 X"$0" : 'X\(//\)$' \| \ 12158 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12159$as_echo X/"$0" | 12160 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12161 s//\1/ 12162 q 12163 } 12164 /^X\/\(\/\/\)$/{ 12165 s//\1/ 12166 q 12167 } 12168 /^X\/\(\/\).*/{ 12169 s//\1/ 12170 q 12171 } 12172 s/.*/./; q'` 12173 12174# Avoid depending upon Character Ranges. 12175as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12176as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12177as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12178as_cr_digits='0123456789' 12179as_cr_alnum=$as_cr_Letters$as_cr_digits 12180 12181ECHO_C= ECHO_N= ECHO_T= 12182case `echo -n x` in #((((( 12183-n*) 12184 case `echo 'xy\c'` in 12185 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12186 xy) ECHO_C='\c';; 12187 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 12188 ECHO_T=' ';; 12189 esac;; 12190*) 12191 ECHO_N='-n';; 12192esac 12193 12194rm -f conf$$ conf$$.exe conf$$.file 12195if test -d conf$$.dir; then 12196 rm -f conf$$.dir/conf$$.file 12197else 12198 rm -f conf$$.dir 12199 mkdir conf$$.dir 2>/dev/null 12200fi 12201if (echo >conf$$.file) 2>/dev/null; then 12202 if ln -s conf$$.file conf$$ 2>/dev/null; then 12203 as_ln_s='ln -s' 12204 # ... but there are two gotchas: 12205 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12206 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12207 # In both cases, we have to default to `cp -pR'. 12208 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12209 as_ln_s='cp -pR' 12210 elif ln conf$$.file conf$$ 2>/dev/null; then 12211 as_ln_s=ln 12212 else 12213 as_ln_s='cp -pR' 12214 fi 12215else 12216 as_ln_s='cp -pR' 12217fi 12218rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12219rmdir conf$$.dir 2>/dev/null 12220 12221 12222# as_fn_mkdir_p 12223# ------------- 12224# Create "$as_dir" as a directory, including parents if necessary. 12225as_fn_mkdir_p () 12226{ 12227 12228 case $as_dir in #( 12229 -*) as_dir=./$as_dir;; 12230 esac 12231 test -d "$as_dir" || eval $as_mkdir_p || { 12232 as_dirs= 12233 while :; do 12234 case $as_dir in #( 12235 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12236 *) as_qdir=$as_dir;; 12237 esac 12238 as_dirs="'$as_qdir' $as_dirs" 12239 as_dir=`$as_dirname -- "$as_dir" || 12240$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12241 X"$as_dir" : 'X\(//\)[^/]' \| \ 12242 X"$as_dir" : 'X\(//\)$' \| \ 12243 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12244$as_echo X"$as_dir" | 12245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12246 s//\1/ 12247 q 12248 } 12249 /^X\(\/\/\)[^/].*/{ 12250 s//\1/ 12251 q 12252 } 12253 /^X\(\/\/\)$/{ 12254 s//\1/ 12255 q 12256 } 12257 /^X\(\/\).*/{ 12258 s//\1/ 12259 q 12260 } 12261 s/.*/./; q'` 12262 test -d "$as_dir" && break 12263 done 12264 test -z "$as_dirs" || eval "mkdir $as_dirs" 12265 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 12266 12267 12268} # as_fn_mkdir_p 12269if mkdir -p . 2>/dev/null; then 12270 as_mkdir_p='mkdir -p "$as_dir"' 12271else 12272 test -d ./-p && rmdir ./-p 12273 as_mkdir_p=false 12274fi 12275 12276 12277# as_fn_executable_p FILE 12278# ----------------------- 12279# Test if FILE is an executable regular file. 12280as_fn_executable_p () 12281{ 12282 test -f "$1" && test -x "$1" 12283} # as_fn_executable_p 12284as_test_x='test -x' 12285as_executable_p=as_fn_executable_p 12286 12287# Sed expression to map a string onto a valid CPP name. 12288as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12289 12290# Sed expression to map a string onto a valid variable name. 12291as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12292 12293 12294exec 6>&1 12295## ----------------------------------- ## 12296## Main body of $CONFIG_STATUS script. ## 12297## ----------------------------------- ## 12298_ASEOF 12299test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 12300 12301cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12302# Save the log message, to keep $0 and so on meaningful, and to 12303# report actual input values of CONFIG_FILES etc. instead of their 12304# values after options handling. 12305ac_log=" 12306This file was extended by idnkit $as_me 2.3, which was 12307generated by GNU Autoconf 2.69. Invocation command line was 12308 12309 CONFIG_FILES = $CONFIG_FILES 12310 CONFIG_HEADERS = $CONFIG_HEADERS 12311 CONFIG_LINKS = $CONFIG_LINKS 12312 CONFIG_COMMANDS = $CONFIG_COMMANDS 12313 $ $0 $@ 12314 12315on `(hostname || uname -n) 2>/dev/null | sed 1q` 12316" 12317 12318_ACEOF 12319 12320case $ac_config_files in *" 12321"*) set x $ac_config_files; shift; ac_config_files=$*;; 12322esac 12323 12324case $ac_config_headers in *" 12325"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 12326esac 12327 12328 12329cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12330# Files that config.status was made for. 12331config_files="$ac_config_files" 12332config_headers="$ac_config_headers" 12333config_commands="$ac_config_commands" 12334 12335_ACEOF 12336 12337cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12338ac_cs_usage="\ 12339\`$as_me' instantiates files and other configuration actions 12340from templates according to the current configuration. Unless the files 12341and actions are specified as TAGs, all are instantiated by default. 12342 12343Usage: $0 [OPTION]... [TAG]... 12344 12345 -h, --help print this help, then exit 12346 -V, --version print version number and configuration settings, then exit 12347 --config print configuration, then exit 12348 -q, --quiet, --silent 12349 do not print progress messages 12350 -d, --debug don't remove temporary files 12351 --recheck update $as_me by reconfiguring in the same conditions 12352 --file=FILE[:TEMPLATE] 12353 instantiate the configuration file FILE 12354 --header=FILE[:TEMPLATE] 12355 instantiate the configuration header FILE 12356 12357Configuration files: 12358$config_files 12359 12360Configuration headers: 12361$config_headers 12362 12363Configuration commands: 12364$config_commands 12365 12366Report bugs to the package provider." 12367 12368_ACEOF 12369cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12370ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 12371ac_cs_version="\\ 12372idnkit config.status 2.3 12373configured by $0, generated by GNU Autoconf 2.69, 12374 with options \\"\$ac_cs_config\\" 12375 12376Copyright (C) 2012 Free Software Foundation, Inc. 12377This config.status script is free software; the Free Software Foundation 12378gives unlimited permission to copy, distribute and modify it." 12379 12380ac_pwd='$ac_pwd' 12381srcdir='$srcdir' 12382INSTALL='$INSTALL' 12383MKDIR_P='$MKDIR_P' 12384AWK='$AWK' 12385test -n "\$AWK" || AWK=awk 12386_ACEOF 12387 12388cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12389# The default lists apply if the user does not specify any file. 12390ac_need_defaults=: 12391while test $# != 0 12392do 12393 case $1 in 12394 --*=?*) 12395 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12396 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12397 ac_shift=: 12398 ;; 12399 --*=) 12400 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12401 ac_optarg= 12402 ac_shift=: 12403 ;; 12404 *) 12405 ac_option=$1 12406 ac_optarg=$2 12407 ac_shift=shift 12408 ;; 12409 esac 12410 12411 case $ac_option in 12412 # Handling of the options. 12413 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12414 ac_cs_recheck=: ;; 12415 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12416 $as_echo "$ac_cs_version"; exit ;; 12417 --config | --confi | --conf | --con | --co | --c ) 12418 $as_echo "$ac_cs_config"; exit ;; 12419 --debug | --debu | --deb | --de | --d | -d ) 12420 debug=: ;; 12421 --file | --fil | --fi | --f ) 12422 $ac_shift 12423 case $ac_optarg in 12424 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12425 '') as_fn_error $? "missing file argument" ;; 12426 esac 12427 as_fn_append CONFIG_FILES " '$ac_optarg'" 12428 ac_need_defaults=false;; 12429 --header | --heade | --head | --hea ) 12430 $ac_shift 12431 case $ac_optarg in 12432 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12433 esac 12434 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 12435 ac_need_defaults=false;; 12436 --he | --h) 12437 # Conflict between --help and --header 12438 as_fn_error $? "ambiguous option: \`$1' 12439Try \`$0 --help' for more information.";; 12440 --help | --hel | -h ) 12441 $as_echo "$ac_cs_usage"; exit ;; 12442 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12443 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12444 ac_cs_silent=: ;; 12445 12446 # This is an error. 12447 -*) as_fn_error $? "unrecognized option: \`$1' 12448Try \`$0 --help' for more information." ;; 12449 12450 *) as_fn_append ac_config_targets " $1" 12451 ac_need_defaults=false ;; 12452 12453 esac 12454 shift 12455done 12456 12457ac_configure_extra_args= 12458 12459if $ac_cs_silent; then 12460 exec 6>/dev/null 12461 ac_configure_extra_args="$ac_configure_extra_args --silent" 12462fi 12463 12464_ACEOF 12465cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12466if \$ac_cs_recheck; then 12467 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12468 shift 12469 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12470 CONFIG_SHELL='$SHELL' 12471 export CONFIG_SHELL 12472 exec "\$@" 12473fi 12474 12475_ACEOF 12476cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12477exec 5>>config.log 12478{ 12479 echo 12480 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 12481## Running $as_me. ## 12482_ASBOX 12483 $as_echo "$ac_log" 12484} >&5 12485 12486_ACEOF 12487cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12488# 12489# INIT-COMMANDS 12490# 12491AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 12492 12493 12494# The HP-UX ksh and POSIX shell print the target directory to stdout 12495# if CDPATH is set. 12496(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12497 12498sed_quote_subst='$sed_quote_subst' 12499double_quote_subst='$double_quote_subst' 12500delay_variable_subst='$delay_variable_subst' 12501macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 12502macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 12503enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 12504enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 12505pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 12506enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 12507SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 12508ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 12509PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 12510host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 12511host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 12512host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 12513build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 12514build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 12515build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 12516SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 12517Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 12518GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 12519EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 12520FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 12521LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 12522NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 12523LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 12524max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 12525ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 12526exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 12527lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 12528lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 12529lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 12530lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 12531lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 12532reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 12533reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 12534OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 12535deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 12536file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 12537file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 12538want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 12539DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 12540sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 12541AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 12542AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 12543archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 12544STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 12545RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 12546old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12547old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12548old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 12549lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 12550CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 12551CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 12552compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 12553GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 12554lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 12555lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 12556lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 12557lt_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"`' 12558nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 12559lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 12560objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 12561MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 12562lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 12563lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 12564lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 12565lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 12566lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 12567need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 12568MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 12569DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 12570NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 12571LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 12572OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 12573OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 12574libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 12575shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 12576extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12577archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 12578enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 12579export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 12580whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 12581compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 12582old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 12583old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12584archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 12585archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12586module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 12587module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12588with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 12589allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 12590no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 12591hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 12592hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 12593hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 12594hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 12595hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 12596hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 12597hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 12598inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 12599link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 12600always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 12601export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 12602exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 12603include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 12604prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 12605postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 12606file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 12607variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 12608need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 12609need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 12610version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 12611runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 12612shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 12613shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 12614libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 12615library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 12616soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 12617install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 12618postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12619postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12620finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 12621finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 12622hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 12623sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 12624sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 12625hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 12626enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 12627enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 12628enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 12629old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 12630striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 12631 12632LTCC='$LTCC' 12633LTCFLAGS='$LTCFLAGS' 12634compiler='$compiler_DEFAULT' 12635 12636# A function that is used when there is no print builtin or printf. 12637func_fallback_echo () 12638{ 12639 eval 'cat <<_LTECHO_EOF 12640\$1 12641_LTECHO_EOF' 12642} 12643 12644# Quote evaled strings. 12645for var in SHELL \ 12646ECHO \ 12647PATH_SEPARATOR \ 12648SED \ 12649GREP \ 12650EGREP \ 12651FGREP \ 12652LD \ 12653NM \ 12654LN_S \ 12655lt_SP2NL \ 12656lt_NL2SP \ 12657reload_flag \ 12658OBJDUMP \ 12659deplibs_check_method \ 12660file_magic_cmd \ 12661file_magic_glob \ 12662want_nocaseglob \ 12663DLLTOOL \ 12664sharedlib_from_linklib_cmd \ 12665AR \ 12666AR_FLAGS \ 12667archiver_list_spec \ 12668STRIP \ 12669RANLIB \ 12670CC \ 12671CFLAGS \ 12672compiler \ 12673lt_cv_sys_global_symbol_pipe \ 12674lt_cv_sys_global_symbol_to_cdecl \ 12675lt_cv_sys_global_symbol_to_c_name_address \ 12676lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12677nm_file_list_spec \ 12678lt_prog_compiler_no_builtin_flag \ 12679lt_prog_compiler_pic \ 12680lt_prog_compiler_wl \ 12681lt_prog_compiler_static \ 12682lt_cv_prog_compiler_c_o \ 12683need_locks \ 12684MANIFEST_TOOL \ 12685DSYMUTIL \ 12686NMEDIT \ 12687LIPO \ 12688OTOOL \ 12689OTOOL64 \ 12690shrext_cmds \ 12691export_dynamic_flag_spec \ 12692whole_archive_flag_spec \ 12693compiler_needs_object \ 12694with_gnu_ld \ 12695allow_undefined_flag \ 12696no_undefined_flag \ 12697hardcode_libdir_flag_spec \ 12698hardcode_libdir_separator \ 12699exclude_expsyms \ 12700include_expsyms \ 12701file_list_spec \ 12702variables_saved_for_relink \ 12703libname_spec \ 12704library_names_spec \ 12705soname_spec \ 12706install_override_mode \ 12707finish_eval \ 12708old_striplib \ 12709striplib; do 12710 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12711 *[\\\\\\\`\\"\\\$]*) 12712 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 12713 ;; 12714 *) 12715 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12716 ;; 12717 esac 12718done 12719 12720# Double-quote double-evaled strings. 12721for var in reload_cmds \ 12722old_postinstall_cmds \ 12723old_postuninstall_cmds \ 12724old_archive_cmds \ 12725extract_expsyms_cmds \ 12726old_archive_from_new_cmds \ 12727old_archive_from_expsyms_cmds \ 12728archive_cmds \ 12729archive_expsym_cmds \ 12730module_cmds \ 12731module_expsym_cmds \ 12732export_symbols_cmds \ 12733prelink_cmds \ 12734postlink_cmds \ 12735postinstall_cmds \ 12736postuninstall_cmds \ 12737finish_cmds \ 12738sys_lib_search_path_spec \ 12739sys_lib_dlsearch_path_spec; do 12740 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12741 *[\\\\\\\`\\"\\\$]*) 12742 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 12743 ;; 12744 *) 12745 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12746 ;; 12747 esac 12748done 12749 12750ac_aux_dir='$ac_aux_dir' 12751xsi_shell='$xsi_shell' 12752lt_shell_append='$lt_shell_append' 12753 12754# See if we are running on zsh, and set the options which allow our 12755# commands through without removal of \ escapes INIT. 12756if test -n "\${ZSH_VERSION+set}" ; then 12757 setopt NO_GLOB_SUBST 12758fi 12759 12760 12761 PACKAGE='$PACKAGE' 12762 VERSION='$VERSION' 12763 TIMESTAMP='$TIMESTAMP' 12764 RM='$RM' 12765 ofile='$ofile' 12766 12767 12768 12769 12770_ACEOF 12771 12772cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12773 12774# Handling of arguments. 12775for ac_config_target in $ac_config_targets 12776do 12777 case $ac_config_target in 12778 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 12779 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 12780 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;; 12781 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12782 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 12783 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 12784 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 12785 "tools/idncheck/Makefile") CONFIG_FILES="$CONFIG_FILES tools/idncheck/Makefile" ;; 12786 "tools/idncmp/Makefile") CONFIG_FILES="$CONFIG_FILES tools/idncmp/Makefile" ;; 12787 "tools/idnconv/Makefile") CONFIG_FILES="$CONFIG_FILES tools/idnconv/Makefile" ;; 12788 "conf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;; 12789 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 12790 "map/Makefile") CONFIG_FILES="$CONFIG_FILES map/Makefile" ;; 12791 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;; 12792 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 12793 "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;; 12794 "test/api/Makefile") CONFIG_FILES="$CONFIG_FILES test/api/Makefile" ;; 12795 "test/asclower/Makefile") CONFIG_FILES="$CONFIG_FILES test/asclower/Makefile" ;; 12796 "test/auto/Makefile") CONFIG_FILES="$CONFIG_FILES test/auto/Makefile" ;; 12797 "test/bidicheck/Makefile") CONFIG_FILES="$CONFIG_FILES test/bidicheck/Makefile" ;; 12798 "test/checkname/Makefile") CONFIG_FILES="$CONFIG_FILES test/checkname/Makefile" ;; 12799 "test/combcheck/Makefile") CONFIG_FILES="$CONFIG_FILES test/combcheck/Makefile" ;; 12800 "test/command/Makefile") CONFIG_FILES="$CONFIG_FILES test/command/Makefile" ;; 12801 "test/comparenames/Makefile") CONFIG_FILES="$CONFIG_FILES test/comparenames/Makefile" ;; 12802 "test/ctxjcheck/Makefile") CONFIG_FILES="$CONFIG_FILES test/ctxjcheck/Makefile" ;; 12803 "test/ctxocheck/Makefile") CONFIG_FILES="$CONFIG_FILES test/ctxocheck/Makefile" ;; 12804 "test/decodename/Makefile") CONFIG_FILES="$CONFIG_FILES test/decodename/Makefile" ;; 12805 "test/delimitermap/Makefile") CONFIG_FILES="$CONFIG_FILES test/delimitermap/Makefile" ;; 12806 "test/encodename/Makefile") CONFIG_FILES="$CONFIG_FILES test/encodename/Makefile" ;; 12807 "test/hyphcheck/Makefile") CONFIG_FILES="$CONFIG_FILES test/hyphcheck/Makefile" ;; 12808 "test/idnconv/Makefile") CONFIG_FILES="$CONFIG_FILES test/idnconv/Makefile" ;; 12809 "test/language/Makefile") CONFIG_FILES="$CONFIG_FILES test/language/Makefile" ;; 12810 "test/languagelocal/Makefile") CONFIG_FILES="$CONFIG_FILES test/languagelocal/Makefile" ;; 12811 "test/lencheck/Makefile") CONFIG_FILES="$CONFIG_FILES test/lencheck/Makefile" ;; 12812 "test/libidnkitlite/Makefile") CONFIG_FILES="$CONFIG_FILES test/libidnkitlite/Makefile" ;; 12813 "test/loadconf/Makefile") CONFIG_FILES="$CONFIG_FILES test/loadconf/Makefile" ;; 12814 "test/localcheck/Makefile") CONFIG_FILES="$CONFIG_FILES test/localcheck/Makefile" ;; 12815 "test/localconv/Makefile") CONFIG_FILES="$CONFIG_FILES test/localconv/Makefile" ;; 12816 "test/localencoding/Makefile") CONFIG_FILES="$CONFIG_FILES test/localencoding/Makefile" ;; 12817 "test/lowercase/Makefile") CONFIG_FILES="$CONFIG_FILES test/lowercase/Makefile" ;; 12818 "test/map/Makefile") CONFIG_FILES="$CONFIG_FILES test/map/Makefile" ;; 12819 "test/misc/Makefile") CONFIG_FILES="$CONFIG_FILES test/misc/Makefile" ;; 12820 "test/nfc/Makefile") CONFIG_FILES="$CONFIG_FILES test/nfc/Makefile" ;; 12821 "test/nfccheck/Makefile") CONFIG_FILES="$CONFIG_FILES test/nfccheck/Makefile" ;; 12822 "test/nfkc/Makefile") CONFIG_FILES="$CONFIG_FILES test/nfkc/Makefile" ;; 12823 "test/normalization/Makefile") CONFIG_FILES="$CONFIG_FILES test/normalization/Makefile" ;; 12824 "test/overflow/Makefile") CONFIG_FILES="$CONFIG_FILES test/overflow/Makefile" ;; 12825 "test/prefcheck/Makefile") CONFIG_FILES="$CONFIG_FILES test/prefcheck/Makefile" ;; 12826 "test/prohcheck/Makefile") CONFIG_FILES="$CONFIG_FILES test/prohcheck/Makefile" ;; 12827 "test/result/Makefile") CONFIG_FILES="$CONFIG_FILES test/result/Makefile" ;; 12828 "test/rtcheck/Makefile") CONFIG_FILES="$CONFIG_FILES test/rtcheck/Makefile" ;; 12829 "test/rtconv/Makefile") CONFIG_FILES="$CONFIG_FILES test/rtconv/Makefile" ;; 12830 "test/tldlocal/Makefile") CONFIG_FILES="$CONFIG_FILES test/tldlocal/Makefile" ;; 12831 "test/tr46check/Makefile") CONFIG_FILES="$CONFIG_FILES test/tr46check/Makefile" ;; 12832 "test/tr46map/Makefile") CONFIG_FILES="$CONFIG_FILES test/tr46map/Makefile" ;; 12833 "test/unascheck/Makefile") CONFIG_FILES="$CONFIG_FILES test/unascheck/Makefile" ;; 12834 "test/undoiferr/Makefile") CONFIG_FILES="$CONFIG_FILES test/undoiferr/Makefile" ;; 12835 "test/unicodeconv/Makefile") CONFIG_FILES="$CONFIG_FILES test/unicodeconv/Makefile" ;; 12836 "test/utf8/Makefile") CONFIG_FILES="$CONFIG_FILES test/utf8/Makefile" ;; 12837 "test/version/Makefile") CONFIG_FILES="$CONFIG_FILES test/version/Makefile" ;; 12838 "test/width/Makefile") CONFIG_FILES="$CONFIG_FILES test/width/Makefile" ;; 12839 12840 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 12841 esac 12842done 12843 12844 12845# If the user did not use the arguments to specify the items to instantiate, 12846# then the envvar interface is used. Set only those that are not. 12847# We use the long form for the default assignment because of an extremely 12848# bizarre bug on SunOS 4.1.3. 12849if $ac_need_defaults; then 12850 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 12851 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 12852 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 12853fi 12854 12855# Have a temporary directory for convenience. Make it in the build tree 12856# simply because there is no reason against having it here, and in addition, 12857# creating and moving files from /tmp can sometimes cause problems. 12858# Hook for its removal unless debugging. 12859# Note that there is a small window in which the directory will not be cleaned: 12860# after its creation but before its name has been assigned to `$tmp'. 12861$debug || 12862{ 12863 tmp= ac_tmp= 12864 trap 'exit_status=$? 12865 : "${ac_tmp:=$tmp}" 12866 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 12867' 0 12868 trap 'as_fn_exit 1' 1 2 13 15 12869} 12870# Create a (secure) tmp directory for tmp files. 12871 12872{ 12873 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 12874 test -d "$tmp" 12875} || 12876{ 12877 tmp=./conf$$-$RANDOM 12878 (umask 077 && mkdir "$tmp") 12879} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 12880ac_tmp=$tmp 12881 12882# Set up the scripts for CONFIG_FILES section. 12883# No need to generate them if there are no CONFIG_FILES. 12884# This happens for instance with `./config.status config.h'. 12885if test -n "$CONFIG_FILES"; then 12886 12887 12888ac_cr=`echo X | tr X '\015'` 12889# On cygwin, bash can eat \r inside `` if the user requested igncr. 12890# But we know of no other shell where ac_cr would be empty at this 12891# point, so we can use a bashism as a fallback. 12892if test "x$ac_cr" = x; then 12893 eval ac_cr=\$\'\\r\' 12894fi 12895ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 12896if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 12897 ac_cs_awk_cr='\\r' 12898else 12899 ac_cs_awk_cr=$ac_cr 12900fi 12901 12902echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 12903_ACEOF 12904 12905 12906{ 12907 echo "cat >conf$$subs.awk <<_ACEOF" && 12908 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 12909 echo "_ACEOF" 12910} >conf$$subs.sh || 12911 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12912ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 12913ac_delim='%!_!# ' 12914for ac_last_try in false false false false false :; do 12915 . ./conf$$subs.sh || 12916 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12917 12918 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 12919 if test $ac_delim_n = $ac_delim_num; then 12920 break 12921 elif $ac_last_try; then 12922 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12923 else 12924 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12925 fi 12926done 12927rm -f conf$$subs.sh 12928 12929cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12930cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 12931_ACEOF 12932sed -n ' 12933h 12934s/^/S["/; s/!.*/"]=/ 12935p 12936g 12937s/^[^!]*!// 12938:repl 12939t repl 12940s/'"$ac_delim"'$// 12941t delim 12942:nl 12943h 12944s/\(.\{148\}\)..*/\1/ 12945t more1 12946s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 12947p 12948n 12949b repl 12950:more1 12951s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12952p 12953g 12954s/.\{148\}// 12955t nl 12956:delim 12957h 12958s/\(.\{148\}\)..*/\1/ 12959t more2 12960s/["\\]/\\&/g; s/^/"/; s/$/"/ 12961p 12962b 12963:more2 12964s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12965p 12966g 12967s/.\{148\}// 12968t delim 12969' <conf$$subs.awk | sed ' 12970/^[^""]/{ 12971 N 12972 s/\n// 12973} 12974' >>$CONFIG_STATUS || ac_write_fail=1 12975rm -f conf$$subs.awk 12976cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12977_ACAWK 12978cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 12979 for (key in S) S_is_set[key] = 1 12980 FS = "" 12981 12982} 12983{ 12984 line = $ 0 12985 nfields = split(line, field, "@") 12986 substed = 0 12987 len = length(field[1]) 12988 for (i = 2; i < nfields; i++) { 12989 key = field[i] 12990 keylen = length(key) 12991 if (S_is_set[key]) { 12992 value = S[key] 12993 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 12994 len += length(value) + length(field[++i]) 12995 substed = 1 12996 } else 12997 len += 1 + keylen 12998 } 12999 13000 print line 13001} 13002 13003_ACAWK 13004_ACEOF 13005cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13006if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13007 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13008else 13009 cat 13010fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 13011 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13012_ACEOF 13013 13014# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13015# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13016# trailing colons and then remove the whole line if VPATH becomes empty 13017# (actually we leave an empty line to preserve line numbers). 13018if test "x$srcdir" = x.; then 13019 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13020h 13021s/// 13022s/^/:/ 13023s/[ ]*$/:/ 13024s/:\$(srcdir):/:/g 13025s/:\${srcdir}:/:/g 13026s/:@srcdir@:/:/g 13027s/^:*// 13028s/:*$// 13029x 13030s/\(=[ ]*\).*/\1/ 13031G 13032s/\n// 13033s/^[^=]*=[ ]*$// 13034}' 13035fi 13036 13037cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13038fi # test -n "$CONFIG_FILES" 13039 13040# Set up the scripts for CONFIG_HEADERS section. 13041# No need to generate them if there are no CONFIG_HEADERS. 13042# This happens for instance with `./config.status Makefile'. 13043if test -n "$CONFIG_HEADERS"; then 13044cat >"$ac_tmp/defines.awk" <<\_ACAWK || 13045BEGIN { 13046_ACEOF 13047 13048# Transform confdefs.h into an awk script `defines.awk', embedded as 13049# here-document in config.status, that substitutes the proper values into 13050# config.h.in to produce config.h. 13051 13052# Create a delimiter string that does not exist in confdefs.h, to ease 13053# handling of long lines. 13054ac_delim='%!_!# ' 13055for ac_last_try in false false :; do 13056 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 13057 if test -z "$ac_tt"; then 13058 break 13059 elif $ac_last_try; then 13060 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13061 else 13062 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13063 fi 13064done 13065 13066# For the awk script, D is an array of macro values keyed by name, 13067# likewise P contains macro parameters if any. Preserve backslash 13068# newline sequences. 13069 13070ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 13071sed -n ' 13072s/.\{148\}/&'"$ac_delim"'/g 13073t rset 13074:rset 13075s/^[ ]*#[ ]*define[ ][ ]*/ / 13076t def 13077d 13078:def 13079s/\\$// 13080t bsnl 13081s/["\\]/\\&/g 13082s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13083D["\1"]=" \3"/p 13084s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 13085d 13086:bsnl 13087s/["\\]/\\&/g 13088s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13089D["\1"]=" \3\\\\\\n"\\/p 13090t cont 13091s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 13092t cont 13093d 13094:cont 13095n 13096s/.\{148\}/&'"$ac_delim"'/g 13097t clear 13098:clear 13099s/\\$// 13100t bsnlc 13101s/["\\]/\\&/g; s/^/"/; s/$/"/p 13102d 13103:bsnlc 13104s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 13105b cont 13106' <confdefs.h | sed ' 13107s/'"$ac_delim"'/"\\\ 13108"/g' >>$CONFIG_STATUS || ac_write_fail=1 13109 13110cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13111 for (key in D) D_is_set[key] = 1 13112 FS = "" 13113} 13114/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 13115 line = \$ 0 13116 split(line, arg, " ") 13117 if (arg[1] == "#") { 13118 defundef = arg[2] 13119 mac1 = arg[3] 13120 } else { 13121 defundef = substr(arg[1], 2) 13122 mac1 = arg[2] 13123 } 13124 split(mac1, mac2, "(") #) 13125 macro = mac2[1] 13126 prefix = substr(line, 1, index(line, defundef) - 1) 13127 if (D_is_set[macro]) { 13128 # Preserve the white space surrounding the "#". 13129 print prefix "define", macro P[macro] D[macro] 13130 next 13131 } else { 13132 # Replace #undef with comments. This is necessary, for example, 13133 # in the case of _POSIX_SOURCE, which is predefined and required 13134 # on some systems where configure will not decide to define it. 13135 if (defundef == "undef") { 13136 print "/*", prefix defundef, macro, "*/" 13137 next 13138 } 13139 } 13140} 13141{ print } 13142_ACAWK 13143_ACEOF 13144cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13145 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13146fi # test -n "$CONFIG_HEADERS" 13147 13148 13149eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 13150shift 13151for ac_tag 13152do 13153 case $ac_tag in 13154 :[FHLC]) ac_mode=$ac_tag; continue;; 13155 esac 13156 case $ac_mode$ac_tag in 13157 :[FHL]*:*);; 13158 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 13159 :[FH]-) ac_tag=-:-;; 13160 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13161 esac 13162 ac_save_IFS=$IFS 13163 IFS=: 13164 set x $ac_tag 13165 IFS=$ac_save_IFS 13166 shift 13167 ac_file=$1 13168 shift 13169 13170 case $ac_mode in 13171 :L) ac_source=$1;; 13172 :[FH]) 13173 ac_file_inputs= 13174 for ac_f 13175 do 13176 case $ac_f in 13177 -) ac_f="$ac_tmp/stdin";; 13178 *) # Look for the file first in the build tree, then in the source tree 13179 # (if the path is not absolute). The absolute path cannot be DOS-style, 13180 # because $ac_f cannot contain `:'. 13181 test -f "$ac_f" || 13182 case $ac_f in 13183 [\\/$]*) false;; 13184 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13185 esac || 13186 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 13187 esac 13188 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13189 as_fn_append ac_file_inputs " '$ac_f'" 13190 done 13191 13192 # Let's still pretend it is `configure' which instantiates (i.e., don't 13193 # use $as_me), people would be surprised to read: 13194 # /* config.h. Generated by config.status. */ 13195 configure_input='Generated from '` 13196 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13197 `' by configure.' 13198 if test x"$ac_file" != x-; then 13199 configure_input="$ac_file. $configure_input" 13200 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13201$as_echo "$as_me: creating $ac_file" >&6;} 13202 fi 13203 # Neutralize special characters interpreted by sed in replacement strings. 13204 case $configure_input in #( 13205 *\&* | *\|* | *\\* ) 13206 ac_sed_conf_input=`$as_echo "$configure_input" | 13207 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13208 *) ac_sed_conf_input=$configure_input;; 13209 esac 13210 13211 case $ac_tag in 13212 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 13213 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13214 esac 13215 ;; 13216 esac 13217 13218 ac_dir=`$as_dirname -- "$ac_file" || 13219$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13220 X"$ac_file" : 'X\(//\)[^/]' \| \ 13221 X"$ac_file" : 'X\(//\)$' \| \ 13222 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13223$as_echo X"$ac_file" | 13224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13225 s//\1/ 13226 q 13227 } 13228 /^X\(\/\/\)[^/].*/{ 13229 s//\1/ 13230 q 13231 } 13232 /^X\(\/\/\)$/{ 13233 s//\1/ 13234 q 13235 } 13236 /^X\(\/\).*/{ 13237 s//\1/ 13238 q 13239 } 13240 s/.*/./; q'` 13241 as_dir="$ac_dir"; as_fn_mkdir_p 13242 ac_builddir=. 13243 13244case "$ac_dir" in 13245.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13246*) 13247 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13248 # A ".." for each directory in $ac_dir_suffix. 13249 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13250 case $ac_top_builddir_sub in 13251 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13252 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13253 esac ;; 13254esac 13255ac_abs_top_builddir=$ac_pwd 13256ac_abs_builddir=$ac_pwd$ac_dir_suffix 13257# for backward compatibility: 13258ac_top_builddir=$ac_top_build_prefix 13259 13260case $srcdir in 13261 .) # We are building in place. 13262 ac_srcdir=. 13263 ac_top_srcdir=$ac_top_builddir_sub 13264 ac_abs_top_srcdir=$ac_pwd ;; 13265 [\\/]* | ?:[\\/]* ) # Absolute name. 13266 ac_srcdir=$srcdir$ac_dir_suffix; 13267 ac_top_srcdir=$srcdir 13268 ac_abs_top_srcdir=$srcdir ;; 13269 *) # Relative name. 13270 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13271 ac_top_srcdir=$ac_top_build_prefix$srcdir 13272 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13273esac 13274ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13275 13276 13277 case $ac_mode in 13278 :F) 13279 # 13280 # CONFIG_FILE 13281 # 13282 13283 case $INSTALL in 13284 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13285 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13286 esac 13287 ac_MKDIR_P=$MKDIR_P 13288 case $MKDIR_P in 13289 [\\/$]* | ?:[\\/]* ) ;; 13290 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13291 esac 13292_ACEOF 13293 13294cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13295# If the template does not know about datarootdir, expand it. 13296# FIXME: This hack should be removed a few years after 2.60. 13297ac_datarootdir_hack=; ac_datarootdir_seen= 13298ac_sed_dataroot=' 13299/datarootdir/ { 13300 p 13301 q 13302} 13303/@datadir@/p 13304/@docdir@/p 13305/@infodir@/p 13306/@localedir@/p 13307/@mandir@/p' 13308case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13309*datarootdir*) ac_datarootdir_seen=yes;; 13310*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13312$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13313_ACEOF 13314cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13315 ac_datarootdir_hack=' 13316 s&@datadir@&$datadir&g 13317 s&@docdir@&$docdir&g 13318 s&@infodir@&$infodir&g 13319 s&@localedir@&$localedir&g 13320 s&@mandir@&$mandir&g 13321 s&\\\${datarootdir}&$datarootdir&g' ;; 13322esac 13323_ACEOF 13324 13325# Neutralize VPATH when `$srcdir' = `.'. 13326# Shell code in configure.ac might set extrasub. 13327# FIXME: do we really want to maintain this feature? 13328cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13329ac_sed_extra="$ac_vpsub 13330$extrasub 13331_ACEOF 13332cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13333:t 13334/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13335s|@configure_input@|$ac_sed_conf_input|;t t 13336s&@top_builddir@&$ac_top_builddir_sub&;t t 13337s&@top_build_prefix@&$ac_top_build_prefix&;t t 13338s&@srcdir@&$ac_srcdir&;t t 13339s&@abs_srcdir@&$ac_abs_srcdir&;t t 13340s&@top_srcdir@&$ac_top_srcdir&;t t 13341s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 13342s&@builddir@&$ac_builddir&;t t 13343s&@abs_builddir@&$ac_abs_builddir&;t t 13344s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13345s&@INSTALL@&$ac_INSTALL&;t t 13346s&@MKDIR_P@&$ac_MKDIR_P&;t t 13347$ac_datarootdir_hack 13348" 13349eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 13350 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13351 13352test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13353 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 13354 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 13355 "$ac_tmp/out"`; test -z "$ac_out"; } && 13356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13357which seems to be undefined. Please make sure it is defined" >&5 13358$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13359which seems to be undefined. Please make sure it is defined" >&2;} 13360 13361 rm -f "$ac_tmp/stdin" 13362 case $ac_file in 13363 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 13364 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 13365 esac \ 13366 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13367 ;; 13368 :H) 13369 # 13370 # CONFIG_HEADER 13371 # 13372 if test x"$ac_file" != x-; then 13373 { 13374 $as_echo "/* $configure_input */" \ 13375 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 13376 } >"$ac_tmp/config.h" \ 13377 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13378 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 13379 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 13380$as_echo "$as_me: $ac_file is unchanged" >&6;} 13381 else 13382 rm -f "$ac_file" 13383 mv "$ac_tmp/config.h" "$ac_file" \ 13384 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13385 fi 13386 else 13387 $as_echo "/* $configure_input */" \ 13388 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 13389 || as_fn_error $? "could not create -" "$LINENO" 5 13390 fi 13391# Compute "$ac_file"'s index in $config_headers. 13392_am_arg="$ac_file" 13393_am_stamp_count=1 13394for _am_header in $config_headers :; do 13395 case $_am_header in 13396 $_am_arg | $_am_arg:* ) 13397 break ;; 13398 * ) 13399 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 13400 esac 13401done 13402echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 13403$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13404 X"$_am_arg" : 'X\(//\)[^/]' \| \ 13405 X"$_am_arg" : 'X\(//\)$' \| \ 13406 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 13407$as_echo X"$_am_arg" | 13408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13409 s//\1/ 13410 q 13411 } 13412 /^X\(\/\/\)[^/].*/{ 13413 s//\1/ 13414 q 13415 } 13416 /^X\(\/\/\)$/{ 13417 s//\1/ 13418 q 13419 } 13420 /^X\(\/\).*/{ 13421 s//\1/ 13422 q 13423 } 13424 s/.*/./; q'`/stamp-h$_am_stamp_count 13425 ;; 13426 13427 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 13428$as_echo "$as_me: executing $ac_file commands" >&6;} 13429 ;; 13430 esac 13431 13432 13433 case $ac_file$ac_mode in 13434 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 13435 # Autoconf 2.62 quotes --file arguments for eval, but not when files 13436 # are listed without --file. Let's play safe and only enable the eval 13437 # if we detect the quoting. 13438 case $CONFIG_FILES in 13439 *\'*) eval set x "$CONFIG_FILES" ;; 13440 *) set x $CONFIG_FILES ;; 13441 esac 13442 shift 13443 for mf 13444 do 13445 # Strip MF so we end up with the name of the file. 13446 mf=`echo "$mf" | sed -e 's/:.*$//'` 13447 # Check whether this is an Automake generated Makefile or not. 13448 # We used to match only the files named 'Makefile.in', but 13449 # some people rename them; so instead we look at the file content. 13450 # Grep'ing the first line is not enough: some people post-process 13451 # each Makefile.in and add a new line on top of each file to say so. 13452 # Grep'ing the whole file is not good either: AIX grep has a line 13453 # limit of 2048, but all sed's we know have understand at least 4000. 13454 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 13455 dirpart=`$as_dirname -- "$mf" || 13456$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13457 X"$mf" : 'X\(//\)[^/]' \| \ 13458 X"$mf" : 'X\(//\)$' \| \ 13459 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 13460$as_echo X"$mf" | 13461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13462 s//\1/ 13463 q 13464 } 13465 /^X\(\/\/\)[^/].*/{ 13466 s//\1/ 13467 q 13468 } 13469 /^X\(\/\/\)$/{ 13470 s//\1/ 13471 q 13472 } 13473 /^X\(\/\).*/{ 13474 s//\1/ 13475 q 13476 } 13477 s/.*/./; q'` 13478 else 13479 continue 13480 fi 13481 # Extract the definition of DEPDIR, am__include, and am__quote 13482 # from the Makefile without running 'make'. 13483 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 13484 test -z "$DEPDIR" && continue 13485 am__include=`sed -n 's/^am__include = //p' < "$mf"` 13486 test -z "am__include" && continue 13487 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 13488 # Find all dependency output files, they are included files with 13489 # $(DEPDIR) in their names. We invoke sed twice because it is the 13490 # simplest approach to changing $(DEPDIR) to its actual value in the 13491 # expansion. 13492 for file in `sed -n " 13493 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 13494 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 13495 # Make sure the directory exists. 13496 test -f "$dirpart/$file" && continue 13497 fdir=`$as_dirname -- "$file" || 13498$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13499 X"$file" : 'X\(//\)[^/]' \| \ 13500 X"$file" : 'X\(//\)$' \| \ 13501 X"$file" : 'X\(/\)' \| . 2>/dev/null || 13502$as_echo X"$file" | 13503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13504 s//\1/ 13505 q 13506 } 13507 /^X\(\/\/\)[^/].*/{ 13508 s//\1/ 13509 q 13510 } 13511 /^X\(\/\/\)$/{ 13512 s//\1/ 13513 q 13514 } 13515 /^X\(\/\).*/{ 13516 s//\1/ 13517 q 13518 } 13519 s/.*/./; q'` 13520 as_dir=$dirpart/$fdir; as_fn_mkdir_p 13521 # echo "creating $dirpart/$file" 13522 echo '# dummy' > "$dirpart/$file" 13523 done 13524 done 13525} 13526 ;; 13527 "libtool":C) 13528 13529 # See if we are running on zsh, and set the options which allow our 13530 # commands through without removal of \ escapes. 13531 if test -n "${ZSH_VERSION+set}" ; then 13532 setopt NO_GLOB_SUBST 13533 fi 13534 13535 cfgfile="${ofile}T" 13536 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 13537 $RM "$cfgfile" 13538 13539 cat <<_LT_EOF >> "$cfgfile" 13540#! $SHELL 13541 13542# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 13543# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 13544# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13545# NOTE: Changes made to this file will be lost: look at ltmain.sh. 13546# 13547# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 13548# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 13549# Foundation, Inc. 13550# Written by Gordon Matzigkeit, 1996 13551# 13552# This file is part of GNU Libtool. 13553# 13554# GNU Libtool is free software; you can redistribute it and/or 13555# modify it under the terms of the GNU General Public License as 13556# published by the Free Software Foundation; either version 2 of 13557# the License, or (at your option) any later version. 13558# 13559# As a special exception to the GNU General Public License, 13560# if you distribute this file as part of a program or library that 13561# is built using GNU Libtool, you may include this file under the 13562# same distribution terms that you use for the rest of that program. 13563# 13564# GNU Libtool is distributed in the hope that it will be useful, 13565# but WITHOUT ANY WARRANTY; without even the implied warranty of 13566# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13567# GNU General Public License for more details. 13568# 13569# You should have received a copy of the GNU General Public License 13570# along with GNU Libtool; see the file COPYING. If not, a copy 13571# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 13572# obtained by writing to the Free Software Foundation, Inc., 13573# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 13574 13575 13576# The names of the tagged configurations supported by this script. 13577available_tags="" 13578 13579# ### BEGIN LIBTOOL CONFIG 13580 13581# Which release of libtool.m4 was used? 13582macro_version=$macro_version 13583macro_revision=$macro_revision 13584 13585# Whether or not to build shared libraries. 13586build_libtool_libs=$enable_shared 13587 13588# Whether or not to build static libraries. 13589build_old_libs=$enable_static 13590 13591# What type of objects to build. 13592pic_mode=$pic_mode 13593 13594# Whether or not to optimize for fast installation. 13595fast_install=$enable_fast_install 13596 13597# Shell to use when invoking shell scripts. 13598SHELL=$lt_SHELL 13599 13600# An echo program that protects backslashes. 13601ECHO=$lt_ECHO 13602 13603# The PATH separator for the build system. 13604PATH_SEPARATOR=$lt_PATH_SEPARATOR 13605 13606# The host system. 13607host_alias=$host_alias 13608host=$host 13609host_os=$host_os 13610 13611# The build system. 13612build_alias=$build_alias 13613build=$build 13614build_os=$build_os 13615 13616# A sed program that does not truncate output. 13617SED=$lt_SED 13618 13619# Sed that helps us avoid accidentally triggering echo(1) options like -n. 13620Xsed="\$SED -e 1s/^X//" 13621 13622# A grep program that handles long lines. 13623GREP=$lt_GREP 13624 13625# An ERE matcher. 13626EGREP=$lt_EGREP 13627 13628# A literal string matcher. 13629FGREP=$lt_FGREP 13630 13631# A BSD- or MS-compatible name lister. 13632NM=$lt_NM 13633 13634# Whether we need soft or hard links. 13635LN_S=$lt_LN_S 13636 13637# What is the maximum length of a command? 13638max_cmd_len=$max_cmd_len 13639 13640# Object file suffix (normally "o"). 13641objext=$ac_objext 13642 13643# Executable file suffix (normally ""). 13644exeext=$exeext 13645 13646# whether the shell understands "unset". 13647lt_unset=$lt_unset 13648 13649# turn spaces into newlines. 13650SP2NL=$lt_lt_SP2NL 13651 13652# turn newlines into spaces. 13653NL2SP=$lt_lt_NL2SP 13654 13655# convert \$build file names to \$host format. 13656to_host_file_cmd=$lt_cv_to_host_file_cmd 13657 13658# convert \$build files to toolchain format. 13659to_tool_file_cmd=$lt_cv_to_tool_file_cmd 13660 13661# An object symbol dumper. 13662OBJDUMP=$lt_OBJDUMP 13663 13664# Method to check whether dependent libraries are shared objects. 13665deplibs_check_method=$lt_deplibs_check_method 13666 13667# Command to use when deplibs_check_method = "file_magic". 13668file_magic_cmd=$lt_file_magic_cmd 13669 13670# How to find potential files when deplibs_check_method = "file_magic". 13671file_magic_glob=$lt_file_magic_glob 13672 13673# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 13674want_nocaseglob=$lt_want_nocaseglob 13675 13676# DLL creation program. 13677DLLTOOL=$lt_DLLTOOL 13678 13679# Command to associate shared and link libraries. 13680sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 13681 13682# The archiver. 13683AR=$lt_AR 13684 13685# Flags to create an archive. 13686AR_FLAGS=$lt_AR_FLAGS 13687 13688# How to feed a file listing to the archiver. 13689archiver_list_spec=$lt_archiver_list_spec 13690 13691# A symbol stripping program. 13692STRIP=$lt_STRIP 13693 13694# Commands used to install an old-style archive. 13695RANLIB=$lt_RANLIB 13696old_postinstall_cmds=$lt_old_postinstall_cmds 13697old_postuninstall_cmds=$lt_old_postuninstall_cmds 13698 13699# Whether to use a lock for old archive extraction. 13700lock_old_archive_extraction=$lock_old_archive_extraction 13701 13702# A C compiler. 13703LTCC=$lt_CC 13704 13705# LTCC compiler flags. 13706LTCFLAGS=$lt_CFLAGS 13707 13708# Take the output of nm and produce a listing of raw symbols and C names. 13709global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 13710 13711# Transform the output of nm in a proper C declaration. 13712global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 13713 13714# Transform the output of nm in a C name address pair. 13715global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 13716 13717# Transform the output of nm in a C name address pair when lib prefix is needed. 13718global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 13719 13720# Specify filename containing input files for \$NM. 13721nm_file_list_spec=$lt_nm_file_list_spec 13722 13723# The root where to search for dependent libraries,and in which our libraries should be installed. 13724lt_sysroot=$lt_sysroot 13725 13726# The name of the directory that contains temporary libtool files. 13727objdir=$objdir 13728 13729# Used to examine libraries when file_magic_cmd begins with "file". 13730MAGIC_CMD=$MAGIC_CMD 13731 13732# Must we lock files when doing compilation? 13733need_locks=$lt_need_locks 13734 13735# Manifest tool. 13736MANIFEST_TOOL=$lt_MANIFEST_TOOL 13737 13738# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 13739DSYMUTIL=$lt_DSYMUTIL 13740 13741# Tool to change global to local symbols on Mac OS X. 13742NMEDIT=$lt_NMEDIT 13743 13744# Tool to manipulate fat objects and archives on Mac OS X. 13745LIPO=$lt_LIPO 13746 13747# ldd/readelf like tool for Mach-O binaries on Mac OS X. 13748OTOOL=$lt_OTOOL 13749 13750# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 13751OTOOL64=$lt_OTOOL64 13752 13753# Old archive suffix (normally "a"). 13754libext=$libext 13755 13756# Shared library suffix (normally ".so"). 13757shrext_cmds=$lt_shrext_cmds 13758 13759# The commands to extract the exported symbol list from a shared archive. 13760extract_expsyms_cmds=$lt_extract_expsyms_cmds 13761 13762# Variables whose values should be saved in libtool wrapper scripts and 13763# restored at link time. 13764variables_saved_for_relink=$lt_variables_saved_for_relink 13765 13766# Do we need the "lib" prefix for modules? 13767need_lib_prefix=$need_lib_prefix 13768 13769# Do we need a version for libraries? 13770need_version=$need_version 13771 13772# Library versioning type. 13773version_type=$version_type 13774 13775# Shared library runtime path variable. 13776runpath_var=$runpath_var 13777 13778# Shared library path variable. 13779shlibpath_var=$shlibpath_var 13780 13781# Is shlibpath searched before the hard-coded library search path? 13782shlibpath_overrides_runpath=$shlibpath_overrides_runpath 13783 13784# Format of library name prefix. 13785libname_spec=$lt_libname_spec 13786 13787# List of archive names. First name is the real one, the rest are links. 13788# The last name is the one that the linker finds with -lNAME 13789library_names_spec=$lt_library_names_spec 13790 13791# The coded name of the library, if different from the real name. 13792soname_spec=$lt_soname_spec 13793 13794# Permission mode override for installation of shared libraries. 13795install_override_mode=$lt_install_override_mode 13796 13797# Command to use after installation of a shared archive. 13798postinstall_cmds=$lt_postinstall_cmds 13799 13800# Command to use after uninstallation of a shared archive. 13801postuninstall_cmds=$lt_postuninstall_cmds 13802 13803# Commands used to finish a libtool library installation in a directory. 13804finish_cmds=$lt_finish_cmds 13805 13806# As "finish_cmds", except a single script fragment to be evaled but 13807# not shown. 13808finish_eval=$lt_finish_eval 13809 13810# Whether we should hardcode library paths into libraries. 13811hardcode_into_libs=$hardcode_into_libs 13812 13813# Compile-time system search path for libraries. 13814sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 13815 13816# Run-time system search path for libraries. 13817sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 13818 13819# Whether dlopen is supported. 13820dlopen_support=$enable_dlopen 13821 13822# Whether dlopen of programs is supported. 13823dlopen_self=$enable_dlopen_self 13824 13825# Whether dlopen of statically linked programs is supported. 13826dlopen_self_static=$enable_dlopen_self_static 13827 13828# Commands to strip libraries. 13829old_striplib=$lt_old_striplib 13830striplib=$lt_striplib 13831 13832 13833# The linker used to build libraries. 13834LD=$lt_LD 13835 13836# How to create reloadable object files. 13837reload_flag=$lt_reload_flag 13838reload_cmds=$lt_reload_cmds 13839 13840# Commands used to build an old-style archive. 13841old_archive_cmds=$lt_old_archive_cmds 13842 13843# A language specific compiler. 13844CC=$lt_compiler 13845 13846# Is the compiler the GNU compiler? 13847with_gcc=$GCC 13848 13849# Compiler flag to turn off builtin functions. 13850no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 13851 13852# Additional compiler flags for building library objects. 13853pic_flag=$lt_lt_prog_compiler_pic 13854 13855# How to pass a linker flag through the compiler. 13856wl=$lt_lt_prog_compiler_wl 13857 13858# Compiler flag to prevent dynamic linking. 13859link_static_flag=$lt_lt_prog_compiler_static 13860 13861# Does compiler simultaneously support -c and -o options? 13862compiler_c_o=$lt_lt_cv_prog_compiler_c_o 13863 13864# Whether or not to add -lc for building shared libraries. 13865build_libtool_need_lc=$archive_cmds_need_lc 13866 13867# Whether or not to disallow shared libs when runtime libs are static. 13868allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 13869 13870# Compiler flag to allow reflexive dlopens. 13871export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 13872 13873# Compiler flag to generate shared objects directly from archives. 13874whole_archive_flag_spec=$lt_whole_archive_flag_spec 13875 13876# Whether the compiler copes with passing no objects directly. 13877compiler_needs_object=$lt_compiler_needs_object 13878 13879# Create an old-style archive from a shared archive. 13880old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 13881 13882# Create a temporary old-style archive to link instead of a shared archive. 13883old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 13884 13885# Commands used to build a shared archive. 13886archive_cmds=$lt_archive_cmds 13887archive_expsym_cmds=$lt_archive_expsym_cmds 13888 13889# Commands used to build a loadable module if different from building 13890# a shared archive. 13891module_cmds=$lt_module_cmds 13892module_expsym_cmds=$lt_module_expsym_cmds 13893 13894# Whether we are building with GNU ld or not. 13895with_gnu_ld=$lt_with_gnu_ld 13896 13897# Flag that allows shared libraries with undefined symbols to be built. 13898allow_undefined_flag=$lt_allow_undefined_flag 13899 13900# Flag that enforces no undefined symbols. 13901no_undefined_flag=$lt_no_undefined_flag 13902 13903# Flag to hardcode \$libdir into a binary during linking. 13904# This must work even if \$libdir does not exist 13905hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 13906 13907# Whether we need a single "-rpath" flag with a separated argument. 13908hardcode_libdir_separator=$lt_hardcode_libdir_separator 13909 13910# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13911# DIR into the resulting binary. 13912hardcode_direct=$hardcode_direct 13913 13914# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13915# DIR into the resulting binary and the resulting library dependency is 13916# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 13917# library is relocated. 13918hardcode_direct_absolute=$hardcode_direct_absolute 13919 13920# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 13921# into the resulting binary. 13922hardcode_minus_L=$hardcode_minus_L 13923 13924# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 13925# into the resulting binary. 13926hardcode_shlibpath_var=$hardcode_shlibpath_var 13927 13928# Set to "yes" if building a shared library automatically hardcodes DIR 13929# into the library and all subsequent libraries and executables linked 13930# against it. 13931hardcode_automatic=$hardcode_automatic 13932 13933# Set to yes if linker adds runtime paths of dependent libraries 13934# to runtime path list. 13935inherit_rpath=$inherit_rpath 13936 13937# Whether libtool must link a program against all its dependency libraries. 13938link_all_deplibs=$link_all_deplibs 13939 13940# Set to "yes" if exported symbols are required. 13941always_export_symbols=$always_export_symbols 13942 13943# The commands to list exported symbols. 13944export_symbols_cmds=$lt_export_symbols_cmds 13945 13946# Symbols that should not be listed in the preloaded symbols. 13947exclude_expsyms=$lt_exclude_expsyms 13948 13949# Symbols that must always be exported. 13950include_expsyms=$lt_include_expsyms 13951 13952# Commands necessary for linking programs (against libraries) with templates. 13953prelink_cmds=$lt_prelink_cmds 13954 13955# Commands necessary for finishing linking programs. 13956postlink_cmds=$lt_postlink_cmds 13957 13958# Specify filename containing input files. 13959file_list_spec=$lt_file_list_spec 13960 13961# How to hardcode a shared library path into an executable. 13962hardcode_action=$hardcode_action 13963 13964# ### END LIBTOOL CONFIG 13965 13966_LT_EOF 13967 13968 case $host_os in 13969 aix3*) 13970 cat <<\_LT_EOF >> "$cfgfile" 13971# AIX sometimes has problems with the GCC collect2 program. For some 13972# reason, if we set the COLLECT_NAMES environment variable, the problems 13973# vanish in a puff of smoke. 13974if test "X${COLLECT_NAMES+set}" != Xset; then 13975 COLLECT_NAMES= 13976 export COLLECT_NAMES 13977fi 13978_LT_EOF 13979 ;; 13980 esac 13981 13982 13983ltmain="$ac_aux_dir/ltmain.sh" 13984 13985 13986 # We use sed instead of cat because bash on DJGPP gets confused if 13987 # if finds mixed CR/LF and LF-only lines. Since sed operates in 13988 # text mode, it properly converts lines to CR/LF. This bash problem 13989 # is reportedly fixed, but why not run on old versions too? 13990 sed '$q' "$ltmain" >> "$cfgfile" \ 13991 || (rm -f "$cfgfile"; exit 1) 13992 13993 if test x"$xsi_shell" = xyes; then 13994 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 13995func_dirname ()\ 13996{\ 13997\ case ${1} in\ 13998\ */*) func_dirname_result="${1%/*}${2}" ;;\ 13999\ * ) func_dirname_result="${3}" ;;\ 14000\ esac\ 14001} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 14002 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14003 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14004test 0 -eq $? || _lt_function_replace_fail=: 14005 14006 14007 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 14008func_basename ()\ 14009{\ 14010\ func_basename_result="${1##*/}"\ 14011} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 14012 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14013 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14014test 0 -eq $? || _lt_function_replace_fail=: 14015 14016 14017 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 14018func_dirname_and_basename ()\ 14019{\ 14020\ case ${1} in\ 14021\ */*) func_dirname_result="${1%/*}${2}" ;;\ 14022\ * ) func_dirname_result="${3}" ;;\ 14023\ esac\ 14024\ func_basename_result="${1##*/}"\ 14025} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 14026 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14027 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14028test 0 -eq $? || _lt_function_replace_fail=: 14029 14030 14031 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 14032func_stripname ()\ 14033{\ 14034\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 14035\ # positional parameters, so assign one to ordinary parameter first.\ 14036\ func_stripname_result=${3}\ 14037\ func_stripname_result=${func_stripname_result#"${1}"}\ 14038\ func_stripname_result=${func_stripname_result%"${2}"}\ 14039} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 14040 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14041 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14042test 0 -eq $? || _lt_function_replace_fail=: 14043 14044 14045 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 14046func_split_long_opt ()\ 14047{\ 14048\ func_split_long_opt_name=${1%%=*}\ 14049\ func_split_long_opt_arg=${1#*=}\ 14050} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 14051 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14052 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14053test 0 -eq $? || _lt_function_replace_fail=: 14054 14055 14056 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 14057func_split_short_opt ()\ 14058{\ 14059\ func_split_short_opt_arg=${1#??}\ 14060\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 14061} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 14062 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14063 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14064test 0 -eq $? || _lt_function_replace_fail=: 14065 14066 14067 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 14068func_lo2o ()\ 14069{\ 14070\ case ${1} in\ 14071\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 14072\ *) func_lo2o_result=${1} ;;\ 14073\ esac\ 14074} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 14075 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14076 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14077test 0 -eq $? || _lt_function_replace_fail=: 14078 14079 14080 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 14081func_xform ()\ 14082{\ 14083 func_xform_result=${1%.*}.lo\ 14084} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 14085 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14086 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14087test 0 -eq $? || _lt_function_replace_fail=: 14088 14089 14090 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 14091func_arith ()\ 14092{\ 14093 func_arith_result=$(( $* ))\ 14094} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 14095 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14096 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14097test 0 -eq $? || _lt_function_replace_fail=: 14098 14099 14100 sed -e '/^func_len ()$/,/^} # func_len /c\ 14101func_len ()\ 14102{\ 14103 func_len_result=${#1}\ 14104} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 14105 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14106 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14107test 0 -eq $? || _lt_function_replace_fail=: 14108 14109fi 14110 14111if test x"$lt_shell_append" = xyes; then 14112 sed -e '/^func_append ()$/,/^} # func_append /c\ 14113func_append ()\ 14114{\ 14115 eval "${1}+=\\${2}"\ 14116} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 14117 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14118 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14119test 0 -eq $? || _lt_function_replace_fail=: 14120 14121 14122 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 14123func_append_quoted ()\ 14124{\ 14125\ func_quote_for_eval "${2}"\ 14126\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 14127} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 14128 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14129 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14130test 0 -eq $? || _lt_function_replace_fail=: 14131 14132 14133 # Save a `func_append' function call where possible by direct use of '+=' 14134 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 14135 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14136 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14137 test 0 -eq $? || _lt_function_replace_fail=: 14138else 14139 # Save a `func_append' function call even when '+=' is not available 14140 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 14141 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14142 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14143 test 0 -eq $? || _lt_function_replace_fail=: 14144fi 14145 14146if test x"$_lt_function_replace_fail" = x":"; then 14147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 14148$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 14149fi 14150 14151 14152 mv -f "$cfgfile" "$ofile" || 14153 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14154 chmod +x "$ofile" 14155 14156 ;; 14157 14158 esac 14159done # for ac_tag 14160 14161 14162as_fn_exit 0 14163_ACEOF 14164ac_clean_files=$ac_clean_files_save 14165 14166test $ac_write_fail = 0 || 14167 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14168 14169 14170# configure is writing to config.log, and then calls config.status. 14171# config.status does its own redirection, appending to config.log. 14172# Unfortunately, on DOS this fails, as config.log is still kept open 14173# by configure, so config.status won't be able to write to it; its 14174# output is simply discarded. So we exec the FD to /dev/null, 14175# effectively closing config.log, so it can be properly (re)opened and 14176# appended to by config.status. When coming back to configure, we 14177# need to make the FD available again. 14178if test "$no_create" != yes; then 14179 ac_cs_success=: 14180 ac_config_status_args= 14181 test "$silent" = yes && 14182 ac_config_status_args="$ac_config_status_args --quiet" 14183 exec 5>/dev/null 14184 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14185 exec 5>>config.log 14186 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14187 # would make configure fail if this is the last instruction. 14188 $ac_cs_success || as_fn_exit 1 14189fi 14190if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14192$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14193fi 14194 14195