1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for asn1c 0.9.27. 4# 5# Report bugs to <vlm@lionet.info>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and vlm@lionet.info 278$0: about your system, including any error possibly output 279$0: before this message. Then install a modern shell, or 280$0: manually run the script under such a shell if you do 281$0: have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='asn1c' 592PACKAGE_TARNAME='asn1c' 593PACKAGE_VERSION='0.9.27' 594PACKAGE_STRING='asn1c 0.9.27' 595PACKAGE_BUGREPORT='vlm@lionet.info' 596PACKAGE_URL='' 597 598# Factoring default headers for most tests. 599ac_includes_default="\ 600#include <stdio.h> 601#ifdef HAVE_SYS_TYPES_H 602# include <sys/types.h> 603#endif 604#ifdef HAVE_SYS_STAT_H 605# include <sys/stat.h> 606#endif 607#ifdef STDC_HEADERS 608# include <stdlib.h> 609# include <stddef.h> 610#else 611# ifdef HAVE_STDLIB_H 612# include <stdlib.h> 613# endif 614#endif 615#ifdef HAVE_STRING_H 616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 617# include <memory.h> 618# endif 619# include <string.h> 620#endif 621#ifdef HAVE_STRINGS_H 622# include <strings.h> 623#endif 624#ifdef HAVE_INTTYPES_H 625# include <inttypes.h> 626#endif 627#ifdef HAVE_STDINT_H 628# include <stdint.h> 629#endif 630#ifdef HAVE_UNISTD_H 631# include <unistd.h> 632#endif" 633 634ac_subst_vars='am__EXEEXT_FALSE 635am__EXEEXT_TRUE 636LTLIBOBJS 637LIBOBJS 638TEST_64BIT_FALSE 639TEST_64BIT_TRUE 640TESTSUITE_CFLAGS 641ADD_CFLAGS 642LEXLIB 643LEX_OUTPUT_ROOT 644LEX 645YFLAGS 646YACC 647CPP 648OTOOL64 649OTOOL 650LIPO 651NMEDIT 652DSYMUTIL 653MANIFEST_TOOL 654RANLIB 655ac_ct_AR 656AR 657DLLTOOL 658OBJDUMP 659LN_S 660NM 661ac_ct_DUMPBIN 662DUMPBIN 663LD 664FGREP 665EGREP 666GREP 667SED 668am__fastdepCC_FALSE 669am__fastdepCC_TRUE 670CCDEPMODE 671AMDEPBACKSLASH 672AMDEP_FALSE 673AMDEP_TRUE 674am__quote 675am__include 676DEPDIR 677OBJEXT 678EXEEXT 679ac_ct_CC 680CPPFLAGS 681LDFLAGS 682CFLAGS 683CC 684host_os 685host_vendor 686host_cpu 687host 688build_os 689build_vendor 690build_cpu 691build 692LIBTOOL 693MAINT 694MAINTAINER_MODE_FALSE 695MAINTAINER_MODE_TRUE 696am__untar 697am__tar 698AMTAR 699am__leading_dot 700SET_MAKE 701AWK 702mkdir_p 703MKDIR_P 704INSTALL_STRIP_PROGRAM 705STRIP 706install_sh 707MAKEINFO 708AUTOHEADER 709AUTOMAKE 710AUTOCONF 711ACLOCAL 712VERSION 713PACKAGE 714CYGPATH_W 715am__isrc 716INSTALL_DATA 717INSTALL_SCRIPT 718INSTALL_PROGRAM 719target_alias 720host_alias 721build_alias 722LIBS 723ECHO_T 724ECHO_N 725ECHO_C 726DEFS 727mandir 728localedir 729libdir 730psdir 731pdfdir 732dvidir 733htmldir 734infodir 735docdir 736oldincludedir 737includedir 738localstatedir 739sharedstatedir 740sysconfdir 741datadir 742datarootdir 743libexecdir 744sbindir 745bindir 746program_transform_name 747prefix 748exec_prefix 749PACKAGE_URL 750PACKAGE_BUGREPORT 751PACKAGE_STRING 752PACKAGE_VERSION 753PACKAGE_TARNAME 754PACKAGE_NAME 755PATH_SEPARATOR 756SHELL' 757ac_subst_files='' 758ac_user_opts=' 759enable_option_checking 760enable_maintainer_mode 761enable_shared 762enable_static 763with_pic 764enable_fast_install 765enable_dependency_tracking 766with_gnu_ld 767with_sysroot 768enable_libtool_lock 769enable_Werror 770enable_ASN_DEBUG 771' 772 ac_precious_vars='build_alias 773host_alias 774target_alias 775CC 776CFLAGS 777LDFLAGS 778LIBS 779CPPFLAGS 780CPP 781YACC 782YFLAGS' 783 784 785# Initialize some variables set by options. 786ac_init_help= 787ac_init_version=false 788ac_unrecognized_opts= 789ac_unrecognized_sep= 790# The variables have the same names as the options, with 791# dashes changed to underlines. 792cache_file=/dev/null 793exec_prefix=NONE 794no_create= 795no_recursion= 796prefix=NONE 797program_prefix=NONE 798program_suffix=NONE 799program_transform_name=s,x,x, 800silent= 801site= 802srcdir= 803verbose= 804x_includes=NONE 805x_libraries=NONE 806 807# Installation directory options. 808# These are left unexpanded so users can "make install exec_prefix=/foo" 809# and all the variables that are supposed to be based on exec_prefix 810# by default will actually change. 811# Use braces instead of parens because sh, perl, etc. also accept them. 812# (The list follows the same order as the GNU Coding Standards.) 813bindir='${exec_prefix}/bin' 814sbindir='${exec_prefix}/sbin' 815libexecdir='${exec_prefix}/libexec' 816datarootdir='${prefix}/share' 817datadir='${datarootdir}' 818sysconfdir='${prefix}/etc' 819sharedstatedir='${prefix}/com' 820localstatedir='${prefix}/var' 821includedir='${prefix}/include' 822oldincludedir='/usr/include' 823docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 824infodir='${datarootdir}/info' 825htmldir='${docdir}' 826dvidir='${docdir}' 827pdfdir='${docdir}' 828psdir='${docdir}' 829libdir='${exec_prefix}/lib' 830localedir='${datarootdir}/locale' 831mandir='${datarootdir}/man' 832 833ac_prev= 834ac_dashdash= 835for ac_option 836do 837 # If the previous option needs an argument, assign it. 838 if test -n "$ac_prev"; then 839 eval $ac_prev=\$ac_option 840 ac_prev= 841 continue 842 fi 843 844 case $ac_option in 845 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 846 *=) ac_optarg= ;; 847 *) ac_optarg=yes ;; 848 esac 849 850 # Accept the important Cygnus configure options, so we can diagnose typos. 851 852 case $ac_dashdash$ac_option in 853 --) 854 ac_dashdash=yes ;; 855 856 -bindir | --bindir | --bindi | --bind | --bin | --bi) 857 ac_prev=bindir ;; 858 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 859 bindir=$ac_optarg ;; 860 861 -build | --build | --buil | --bui | --bu) 862 ac_prev=build_alias ;; 863 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 864 build_alias=$ac_optarg ;; 865 866 -cache-file | --cache-file | --cache-fil | --cache-fi \ 867 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 868 ac_prev=cache_file ;; 869 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 870 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 871 cache_file=$ac_optarg ;; 872 873 --config-cache | -C) 874 cache_file=config.cache ;; 875 876 -datadir | --datadir | --datadi | --datad) 877 ac_prev=datadir ;; 878 -datadir=* | --datadir=* | --datadi=* | --datad=*) 879 datadir=$ac_optarg ;; 880 881 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 882 | --dataroo | --dataro | --datar) 883 ac_prev=datarootdir ;; 884 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 885 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 886 datarootdir=$ac_optarg ;; 887 888 -disable-* | --disable-*) 889 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 890 # Reject names that are not valid shell variable names. 891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 892 as_fn_error $? "invalid feature name: $ac_useropt" 893 ac_useropt_orig=$ac_useropt 894 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 895 case $ac_user_opts in 896 *" 897"enable_$ac_useropt" 898"*) ;; 899 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 900 ac_unrecognized_sep=', ';; 901 esac 902 eval enable_$ac_useropt=no ;; 903 904 -docdir | --docdir | --docdi | --doc | --do) 905 ac_prev=docdir ;; 906 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 907 docdir=$ac_optarg ;; 908 909 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 910 ac_prev=dvidir ;; 911 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 912 dvidir=$ac_optarg ;; 913 914 -enable-* | --enable-*) 915 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 916 # Reject names that are not valid shell variable names. 917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 918 as_fn_error $? "invalid feature name: $ac_useropt" 919 ac_useropt_orig=$ac_useropt 920 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 921 case $ac_user_opts in 922 *" 923"enable_$ac_useropt" 924"*) ;; 925 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 926 ac_unrecognized_sep=', ';; 927 esac 928 eval enable_$ac_useropt=\$ac_optarg ;; 929 930 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 931 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 932 | --exec | --exe | --ex) 933 ac_prev=exec_prefix ;; 934 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 935 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 936 | --exec=* | --exe=* | --ex=*) 937 exec_prefix=$ac_optarg ;; 938 939 -gas | --gas | --ga | --g) 940 # Obsolete; use --with-gas. 941 with_gas=yes ;; 942 943 -help | --help | --hel | --he | -h) 944 ac_init_help=long ;; 945 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 946 ac_init_help=recursive ;; 947 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 948 ac_init_help=short ;; 949 950 -host | --host | --hos | --ho) 951 ac_prev=host_alias ;; 952 -host=* | --host=* | --hos=* | --ho=*) 953 host_alias=$ac_optarg ;; 954 955 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 956 ac_prev=htmldir ;; 957 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 958 | --ht=*) 959 htmldir=$ac_optarg ;; 960 961 -includedir | --includedir | --includedi | --included | --include \ 962 | --includ | --inclu | --incl | --inc) 963 ac_prev=includedir ;; 964 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 965 | --includ=* | --inclu=* | --incl=* | --inc=*) 966 includedir=$ac_optarg ;; 967 968 -infodir | --infodir | --infodi | --infod | --info | --inf) 969 ac_prev=infodir ;; 970 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 971 infodir=$ac_optarg ;; 972 973 -libdir | --libdir | --libdi | --libd) 974 ac_prev=libdir ;; 975 -libdir=* | --libdir=* | --libdi=* | --libd=*) 976 libdir=$ac_optarg ;; 977 978 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 979 | --libexe | --libex | --libe) 980 ac_prev=libexecdir ;; 981 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 982 | --libexe=* | --libex=* | --libe=*) 983 libexecdir=$ac_optarg ;; 984 985 -localedir | --localedir | --localedi | --localed | --locale) 986 ac_prev=localedir ;; 987 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 988 localedir=$ac_optarg ;; 989 990 -localstatedir | --localstatedir | --localstatedi | --localstated \ 991 | --localstate | --localstat | --localsta | --localst | --locals) 992 ac_prev=localstatedir ;; 993 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 994 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 995 localstatedir=$ac_optarg ;; 996 997 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 998 ac_prev=mandir ;; 999 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1000 mandir=$ac_optarg ;; 1001 1002 -nfp | --nfp | --nf) 1003 # Obsolete; use --without-fp. 1004 with_fp=no ;; 1005 1006 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1007 | --no-cr | --no-c | -n) 1008 no_create=yes ;; 1009 1010 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1011 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1012 no_recursion=yes ;; 1013 1014 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1015 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1016 | --oldin | --oldi | --old | --ol | --o) 1017 ac_prev=oldincludedir ;; 1018 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1019 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1020 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1021 oldincludedir=$ac_optarg ;; 1022 1023 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1024 ac_prev=prefix ;; 1025 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1026 prefix=$ac_optarg ;; 1027 1028 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1029 | --program-pre | --program-pr | --program-p) 1030 ac_prev=program_prefix ;; 1031 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1032 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1033 program_prefix=$ac_optarg ;; 1034 1035 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1036 | --program-suf | --program-su | --program-s) 1037 ac_prev=program_suffix ;; 1038 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1039 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1040 program_suffix=$ac_optarg ;; 1041 1042 -program-transform-name | --program-transform-name \ 1043 | --program-transform-nam | --program-transform-na \ 1044 | --program-transform-n | --program-transform- \ 1045 | --program-transform | --program-transfor \ 1046 | --program-transfo | --program-transf \ 1047 | --program-trans | --program-tran \ 1048 | --progr-tra | --program-tr | --program-t) 1049 ac_prev=program_transform_name ;; 1050 -program-transform-name=* | --program-transform-name=* \ 1051 | --program-transform-nam=* | --program-transform-na=* \ 1052 | --program-transform-n=* | --program-transform-=* \ 1053 | --program-transform=* | --program-transfor=* \ 1054 | --program-transfo=* | --program-transf=* \ 1055 | --program-trans=* | --program-tran=* \ 1056 | --progr-tra=* | --program-tr=* | --program-t=*) 1057 program_transform_name=$ac_optarg ;; 1058 1059 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1060 ac_prev=pdfdir ;; 1061 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1062 pdfdir=$ac_optarg ;; 1063 1064 -psdir | --psdir | --psdi | --psd | --ps) 1065 ac_prev=psdir ;; 1066 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1067 psdir=$ac_optarg ;; 1068 1069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1070 | -silent | --silent | --silen | --sile | --sil) 1071 silent=yes ;; 1072 1073 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1074 ac_prev=sbindir ;; 1075 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1076 | --sbi=* | --sb=*) 1077 sbindir=$ac_optarg ;; 1078 1079 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1080 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1081 | --sharedst | --shareds | --shared | --share | --shar \ 1082 | --sha | --sh) 1083 ac_prev=sharedstatedir ;; 1084 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1085 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1086 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1087 | --sha=* | --sh=*) 1088 sharedstatedir=$ac_optarg ;; 1089 1090 -site | --site | --sit) 1091 ac_prev=site ;; 1092 -site=* | --site=* | --sit=*) 1093 site=$ac_optarg ;; 1094 1095 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1096 ac_prev=srcdir ;; 1097 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1098 srcdir=$ac_optarg ;; 1099 1100 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1101 | --syscon | --sysco | --sysc | --sys | --sy) 1102 ac_prev=sysconfdir ;; 1103 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1104 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1105 sysconfdir=$ac_optarg ;; 1106 1107 -target | --target | --targe | --targ | --tar | --ta | --t) 1108 ac_prev=target_alias ;; 1109 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1110 target_alias=$ac_optarg ;; 1111 1112 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1113 verbose=yes ;; 1114 1115 -version | --version | --versio | --versi | --vers | -V) 1116 ac_init_version=: ;; 1117 1118 -with-* | --with-*) 1119 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1120 # Reject names that are not valid shell variable names. 1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1122 as_fn_error $? "invalid package name: $ac_useropt" 1123 ac_useropt_orig=$ac_useropt 1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1125 case $ac_user_opts in 1126 *" 1127"with_$ac_useropt" 1128"*) ;; 1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1130 ac_unrecognized_sep=', ';; 1131 esac 1132 eval with_$ac_useropt=\$ac_optarg ;; 1133 1134 -without-* | --without-*) 1135 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1136 # Reject names that are not valid shell variable names. 1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1138 as_fn_error $? "invalid package name: $ac_useropt" 1139 ac_useropt_orig=$ac_useropt 1140 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1141 case $ac_user_opts in 1142 *" 1143"with_$ac_useropt" 1144"*) ;; 1145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1146 ac_unrecognized_sep=', ';; 1147 esac 1148 eval with_$ac_useropt=no ;; 1149 1150 --x) 1151 # Obsolete; use --with-x. 1152 with_x=yes ;; 1153 1154 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1155 | --x-incl | --x-inc | --x-in | --x-i) 1156 ac_prev=x_includes ;; 1157 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1158 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1159 x_includes=$ac_optarg ;; 1160 1161 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1162 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1163 ac_prev=x_libraries ;; 1164 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1165 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1166 x_libraries=$ac_optarg ;; 1167 1168 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1169Try \`$0 --help' for more information" 1170 ;; 1171 1172 *=*) 1173 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1174 # Reject names that are not valid shell variable names. 1175 case $ac_envvar in #( 1176 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1177 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1178 esac 1179 eval $ac_envvar=\$ac_optarg 1180 export $ac_envvar ;; 1181 1182 *) 1183 # FIXME: should be removed in autoconf 3.0. 1184 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1186 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1188 ;; 1189 1190 esac 1191done 1192 1193if test -n "$ac_prev"; then 1194 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1195 as_fn_error $? "missing argument to $ac_option" 1196fi 1197 1198if test -n "$ac_unrecognized_opts"; then 1199 case $enable_option_checking in 1200 no) ;; 1201 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1202 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1203 esac 1204fi 1205 1206# Check all directory arguments for consistency. 1207for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1208 datadir sysconfdir sharedstatedir localstatedir includedir \ 1209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1210 libdir localedir mandir 1211do 1212 eval ac_val=\$$ac_var 1213 # Remove trailing slashes. 1214 case $ac_val in 1215 */ ) 1216 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1217 eval $ac_var=\$ac_val;; 1218 esac 1219 # Be sure to have absolute directory names. 1220 case $ac_val in 1221 [\\/$]* | ?:[\\/]* ) continue;; 1222 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1223 esac 1224 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1225done 1226 1227# There might be people who depend on the old broken behavior: `$host' 1228# used to hold the argument of --host etc. 1229# FIXME: To remove some day. 1230build=$build_alias 1231host=$host_alias 1232target=$target_alias 1233 1234# FIXME: To remove some day. 1235if test "x$host_alias" != x; then 1236 if test "x$build_alias" = x; then 1237 cross_compiling=maybe 1238 elif test "x$build_alias" != "x$host_alias"; then 1239 cross_compiling=yes 1240 fi 1241fi 1242 1243ac_tool_prefix= 1244test -n "$host_alias" && ac_tool_prefix=$host_alias- 1245 1246test "$silent" = yes && exec 6>/dev/null 1247 1248 1249ac_pwd=`pwd` && test -n "$ac_pwd" && 1250ac_ls_di=`ls -di .` && 1251ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1252 as_fn_error $? "working directory cannot be determined" 1253test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1254 as_fn_error $? "pwd does not report name of working directory" 1255 1256 1257# Find the source files, if location was not specified. 1258if test -z "$srcdir"; then 1259 ac_srcdir_defaulted=yes 1260 # Try the directory containing this script, then the parent directory. 1261 ac_confdir=`$as_dirname -- "$as_myself" || 1262$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1263 X"$as_myself" : 'X\(//\)[^/]' \| \ 1264 X"$as_myself" : 'X\(//\)$' \| \ 1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1266$as_echo X"$as_myself" | 1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1268 s//\1/ 1269 q 1270 } 1271 /^X\(\/\/\)[^/].*/{ 1272 s//\1/ 1273 q 1274 } 1275 /^X\(\/\/\)$/{ 1276 s//\1/ 1277 q 1278 } 1279 /^X\(\/\).*/{ 1280 s//\1/ 1281 q 1282 } 1283 s/.*/./; q'` 1284 srcdir=$ac_confdir 1285 if test ! -r "$srcdir/$ac_unique_file"; then 1286 srcdir=.. 1287 fi 1288else 1289 ac_srcdir_defaulted=no 1290fi 1291if test ! -r "$srcdir/$ac_unique_file"; then 1292 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1293 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1294fi 1295ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1296ac_abs_confdir=`( 1297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1298 pwd)` 1299# When building in place, set srcdir=. 1300if test "$ac_abs_confdir" = "$ac_pwd"; then 1301 srcdir=. 1302fi 1303# Remove unnecessary trailing slashes from srcdir. 1304# Double slashes in file names in object file debugging info 1305# mess up M-x gdb in Emacs. 1306case $srcdir in 1307*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1308esac 1309for ac_var in $ac_precious_vars; do 1310 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1311 eval ac_env_${ac_var}_value=\$${ac_var} 1312 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1313 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1314done 1315 1316# 1317# Report the --help message. 1318# 1319if test "$ac_init_help" = "long"; then 1320 # Omit some internal or obsolete options to make the list less imposing. 1321 # This message is too long to be a string in the A/UX 3.1 sh. 1322 cat <<_ACEOF 1323\`configure' configures asn1c 0.9.27 to adapt to many kinds of systems. 1324 1325Usage: $0 [OPTION]... [VAR=VALUE]... 1326 1327To assign environment variables (e.g., CC, CFLAGS...), specify them as 1328VAR=VALUE. See below for descriptions of some of the useful variables. 1329 1330Defaults for the options are specified in brackets. 1331 1332Configuration: 1333 -h, --help display this help and exit 1334 --help=short display options specific to this package 1335 --help=recursive display the short help of all the included packages 1336 -V, --version display version information and exit 1337 -q, --quiet, --silent do not print \`checking ...' messages 1338 --cache-file=FILE cache test results in FILE [disabled] 1339 -C, --config-cache alias for \`--cache-file=config.cache' 1340 -n, --no-create do not create output files 1341 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1342 1343Installation directories: 1344 --prefix=PREFIX install architecture-independent files in PREFIX 1345 [$ac_default_prefix] 1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1347 [PREFIX] 1348 1349By default, \`make install' will install all the files in 1350\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1351an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1352for instance \`--prefix=\$HOME'. 1353 1354For better control, use the options below. 1355 1356Fine tuning of the installation directories: 1357 --bindir=DIR user executables [EPREFIX/bin] 1358 --sbindir=DIR system admin executables [EPREFIX/sbin] 1359 --libexecdir=DIR program executables [EPREFIX/libexec] 1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1363 --libdir=DIR object code libraries [EPREFIX/lib] 1364 --includedir=DIR C header files [PREFIX/include] 1365 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1366 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1367 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1368 --infodir=DIR info documentation [DATAROOTDIR/info] 1369 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1370 --mandir=DIR man documentation [DATAROOTDIR/man] 1371 --docdir=DIR documentation root [DATAROOTDIR/doc/asn1c] 1372 --htmldir=DIR html documentation [DOCDIR] 1373 --dvidir=DIR dvi documentation [DOCDIR] 1374 --pdfdir=DIR pdf documentation [DOCDIR] 1375 --psdir=DIR ps documentation [DOCDIR] 1376_ACEOF 1377 1378 cat <<\_ACEOF 1379 1380Program names: 1381 --program-prefix=PREFIX prepend PREFIX to installed program names 1382 --program-suffix=SUFFIX append SUFFIX to installed program names 1383 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1384 1385System types: 1386 --build=BUILD configure for building on BUILD [guessed] 1387 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1388_ACEOF 1389fi 1390 1391if test -n "$ac_init_help"; then 1392 case $ac_init_help in 1393 short | recursive ) echo "Configuration of asn1c 0.9.27:";; 1394 esac 1395 cat <<\_ACEOF 1396 1397Optional Features: 1398 --disable-option-checking ignore unrecognized --enable/--with options 1399 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1400 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1401 --enable-maintainer-mode enable make rules and dependencies not useful 1402 (and sometimes confusing) to the casual installer 1403 --enable-shared[=PKGS] build shared libraries [default=yes] 1404 --enable-static[=PKGS] build static libraries [default=yes] 1405 --enable-fast-install[=PKGS] 1406 optimize for fast installation [default=yes] 1407 --disable-dependency-tracking speeds up one-time build 1408 --enable-dependency-tracking do not reject slow dependency extractors 1409 --disable-libtool-lock avoid locking (might break parallel builds) 1410 --enable-Werror abort compilation after any C compiler warning 1411 --enable-ASN_DEBUG produce debug log during `make check` testing 1412 1413Optional Packages: 1414 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1415 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1416 --with-pic try to use only PIC/non-PIC objects [default=use 1417 both] 1418 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1419 --with-sysroot=DIR Search for dependent libraries within DIR 1420 (or the compiler's sysroot if not specified). 1421 1422Some influential environment variables: 1423 CC C compiler command 1424 CFLAGS C compiler flags 1425 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1426 nonstandard directory <lib dir> 1427 LIBS libraries to pass to the linker, e.g. -l<library> 1428 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1429 you have headers in a nonstandard directory <include dir> 1430 CPP C preprocessor 1431 YACC The `Yet Another Compiler Compiler' implementation to use. 1432 Defaults to the first program found out of: `bison -y', `byacc', 1433 `yacc'. 1434 YFLAGS The list of arguments that will be passed by default to $YACC. 1435 This script will default YFLAGS to the empty string to avoid a 1436 default value of `-d' given by some make applications. 1437 1438Use these variables to override the choices made by `configure' or to help 1439it to find libraries and programs with nonstandard names/locations. 1440 1441Report bugs to <vlm@lionet.info>. 1442_ACEOF 1443ac_status=$? 1444fi 1445 1446if test "$ac_init_help" = "recursive"; then 1447 # If there are subdirs, report their specific --help. 1448 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1449 test -d "$ac_dir" || 1450 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1451 continue 1452 ac_builddir=. 1453 1454case "$ac_dir" in 1455.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1456*) 1457 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1458 # A ".." for each directory in $ac_dir_suffix. 1459 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1460 case $ac_top_builddir_sub in 1461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1463 esac ;; 1464esac 1465ac_abs_top_builddir=$ac_pwd 1466ac_abs_builddir=$ac_pwd$ac_dir_suffix 1467# for backward compatibility: 1468ac_top_builddir=$ac_top_build_prefix 1469 1470case $srcdir in 1471 .) # We are building in place. 1472 ac_srcdir=. 1473 ac_top_srcdir=$ac_top_builddir_sub 1474 ac_abs_top_srcdir=$ac_pwd ;; 1475 [\\/]* | ?:[\\/]* ) # Absolute name. 1476 ac_srcdir=$srcdir$ac_dir_suffix; 1477 ac_top_srcdir=$srcdir 1478 ac_abs_top_srcdir=$srcdir ;; 1479 *) # Relative name. 1480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1481 ac_top_srcdir=$ac_top_build_prefix$srcdir 1482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1483esac 1484ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1485 1486 cd "$ac_dir" || { ac_status=$?; continue; } 1487 # Check for guested configure. 1488 if test -f "$ac_srcdir/configure.gnu"; then 1489 echo && 1490 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1491 elif test -f "$ac_srcdir/configure"; then 1492 echo && 1493 $SHELL "$ac_srcdir/configure" --help=recursive 1494 else 1495 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1496 fi || ac_status=$? 1497 cd "$ac_pwd" || { ac_status=$?; break; } 1498 done 1499fi 1500 1501test -n "$ac_init_help" && exit $ac_status 1502if $ac_init_version; then 1503 cat <<\_ACEOF 1504asn1c configure 0.9.27 1505generated by GNU Autoconf 2.69 1506 1507Copyright (C) 2012 Free Software Foundation, Inc. 1508This configure script is free software; the Free Software Foundation 1509gives unlimited permission to copy, distribute and modify it. 1510_ACEOF 1511 exit 1512fi 1513 1514## ------------------------ ## 1515## Autoconf initialization. ## 1516## ------------------------ ## 1517 1518# ac_fn_c_try_compile LINENO 1519# -------------------------- 1520# Try to compile conftest.$ac_ext, and return whether this succeeded. 1521ac_fn_c_try_compile () 1522{ 1523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1524 rm -f conftest.$ac_objext 1525 if { { ac_try="$ac_compile" 1526case "(($ac_try" in 1527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1528 *) ac_try_echo=$ac_try;; 1529esac 1530eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1531$as_echo "$ac_try_echo"; } >&5 1532 (eval "$ac_compile") 2>conftest.err 1533 ac_status=$? 1534 if test -s conftest.err; then 1535 grep -v '^ *+' conftest.err >conftest.er1 1536 cat conftest.er1 >&5 1537 mv -f conftest.er1 conftest.err 1538 fi 1539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1540 test $ac_status = 0; } && { 1541 test -z "$ac_c_werror_flag" || 1542 test ! -s conftest.err 1543 } && test -s conftest.$ac_objext; then : 1544 ac_retval=0 1545else 1546 $as_echo "$as_me: failed program was:" >&5 1547sed 's/^/| /' conftest.$ac_ext >&5 1548 1549 ac_retval=1 1550fi 1551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1552 as_fn_set_status $ac_retval 1553 1554} # ac_fn_c_try_compile 1555 1556# ac_fn_c_try_link LINENO 1557# ----------------------- 1558# Try to link conftest.$ac_ext, and return whether this succeeded. 1559ac_fn_c_try_link () 1560{ 1561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1562 rm -f conftest.$ac_objext conftest$ac_exeext 1563 if { { ac_try="$ac_link" 1564case "(($ac_try" in 1565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1566 *) ac_try_echo=$ac_try;; 1567esac 1568eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1569$as_echo "$ac_try_echo"; } >&5 1570 (eval "$ac_link") 2>conftest.err 1571 ac_status=$? 1572 if test -s conftest.err; then 1573 grep -v '^ *+' conftest.err >conftest.er1 1574 cat conftest.er1 >&5 1575 mv -f conftest.er1 conftest.err 1576 fi 1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1578 test $ac_status = 0; } && { 1579 test -z "$ac_c_werror_flag" || 1580 test ! -s conftest.err 1581 } && test -s conftest$ac_exeext && { 1582 test "$cross_compiling" = yes || 1583 test -x conftest$ac_exeext 1584 }; then : 1585 ac_retval=0 1586else 1587 $as_echo "$as_me: failed program was:" >&5 1588sed 's/^/| /' conftest.$ac_ext >&5 1589 1590 ac_retval=1 1591fi 1592 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1593 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1594 # interfere with the next link command; also delete a directory that is 1595 # left behind by Apple's compiler. We do this before executing the actions. 1596 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1598 as_fn_set_status $ac_retval 1599 1600} # ac_fn_c_try_link 1601 1602# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1603# ------------------------------------------------------- 1604# Tests whether HEADER exists and can be compiled using the include files in 1605# INCLUDES, setting the cache variable VAR accordingly. 1606ac_fn_c_check_header_compile () 1607{ 1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1610$as_echo_n "checking for $2... " >&6; } 1611if eval \${$3+:} false; then : 1612 $as_echo_n "(cached) " >&6 1613else 1614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1615/* end confdefs.h. */ 1616$4 1617#include <$2> 1618_ACEOF 1619if ac_fn_c_try_compile "$LINENO"; then : 1620 eval "$3=yes" 1621else 1622 eval "$3=no" 1623fi 1624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1625fi 1626eval ac_res=\$$3 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1628$as_echo "$ac_res" >&6; } 1629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1630 1631} # ac_fn_c_check_header_compile 1632 1633# ac_fn_c_try_cpp LINENO 1634# ---------------------- 1635# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1636ac_fn_c_try_cpp () 1637{ 1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1639 if { { ac_try="$ac_cpp conftest.$ac_ext" 1640case "(($ac_try" in 1641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1642 *) ac_try_echo=$ac_try;; 1643esac 1644eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1645$as_echo "$ac_try_echo"; } >&5 1646 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1647 ac_status=$? 1648 if test -s conftest.err; then 1649 grep -v '^ *+' conftest.err >conftest.er1 1650 cat conftest.er1 >&5 1651 mv -f conftest.er1 conftest.err 1652 fi 1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1654 test $ac_status = 0; } > conftest.i && { 1655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1656 test ! -s conftest.err 1657 }; then : 1658 ac_retval=0 1659else 1660 $as_echo "$as_me: failed program was:" >&5 1661sed 's/^/| /' conftest.$ac_ext >&5 1662 1663 ac_retval=1 1664fi 1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1666 as_fn_set_status $ac_retval 1667 1668} # ac_fn_c_try_cpp 1669 1670# ac_fn_c_try_run LINENO 1671# ---------------------- 1672# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1673# that executables *can* be run. 1674ac_fn_c_try_run () 1675{ 1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1677 if { { ac_try="$ac_link" 1678case "(($ac_try" in 1679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1680 *) ac_try_echo=$ac_try;; 1681esac 1682eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1683$as_echo "$ac_try_echo"; } >&5 1684 (eval "$ac_link") 2>&5 1685 ac_status=$? 1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1687 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1688 { { case "(($ac_try" in 1689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1690 *) ac_try_echo=$ac_try;; 1691esac 1692eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1693$as_echo "$ac_try_echo"; } >&5 1694 (eval "$ac_try") 2>&5 1695 ac_status=$? 1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1697 test $ac_status = 0; }; }; then : 1698 ac_retval=0 1699else 1700 $as_echo "$as_me: program exited with status $ac_status" >&5 1701 $as_echo "$as_me: failed program was:" >&5 1702sed 's/^/| /' conftest.$ac_ext >&5 1703 1704 ac_retval=$ac_status 1705fi 1706 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1708 as_fn_set_status $ac_retval 1709 1710} # ac_fn_c_try_run 1711 1712# ac_fn_c_check_func LINENO FUNC VAR 1713# ---------------------------------- 1714# Tests whether FUNC exists, setting the cache variable VAR accordingly 1715ac_fn_c_check_func () 1716{ 1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1719$as_echo_n "checking for $2... " >&6; } 1720if eval \${$3+:} false; then : 1721 $as_echo_n "(cached) " >&6 1722else 1723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1724/* end confdefs.h. */ 1725/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1726 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1727#define $2 innocuous_$2 1728 1729/* System header to define __stub macros and hopefully few prototypes, 1730 which can conflict with char $2 (); below. 1731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1732 <limits.h> exists even on freestanding compilers. */ 1733 1734#ifdef __STDC__ 1735# include <limits.h> 1736#else 1737# include <assert.h> 1738#endif 1739 1740#undef $2 1741 1742/* Override any GCC internal prototype to avoid an error. 1743 Use char because int might match the return type of a GCC 1744 builtin and then its argument prototype would still apply. */ 1745#ifdef __cplusplus 1746extern "C" 1747#endif 1748char $2 (); 1749/* The GNU C library defines this for functions which it implements 1750 to always fail with ENOSYS. Some functions are actually named 1751 something starting with __ and the normal name is an alias. */ 1752#if defined __stub_$2 || defined __stub___$2 1753choke me 1754#endif 1755 1756int 1757main () 1758{ 1759return $2 (); 1760 ; 1761 return 0; 1762} 1763_ACEOF 1764if ac_fn_c_try_link "$LINENO"; then : 1765 eval "$3=yes" 1766else 1767 eval "$3=no" 1768fi 1769rm -f core conftest.err conftest.$ac_objext \ 1770 conftest$ac_exeext conftest.$ac_ext 1771fi 1772eval ac_res=\$$3 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1774$as_echo "$ac_res" >&6; } 1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1776 1777} # ac_fn_c_check_func 1778 1779# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1780# ------------------------------------------------------- 1781# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1782# the include files in INCLUDES and setting the cache variable VAR 1783# accordingly. 1784ac_fn_c_check_header_mongrel () 1785{ 1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1787 if eval \${$3+:} false; then : 1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1789$as_echo_n "checking for $2... " >&6; } 1790if eval \${$3+:} false; then : 1791 $as_echo_n "(cached) " >&6 1792fi 1793eval ac_res=\$$3 1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1795$as_echo "$ac_res" >&6; } 1796else 1797 # Is the header compilable? 1798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1799$as_echo_n "checking $2 usability... " >&6; } 1800cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1801/* end confdefs.h. */ 1802$4 1803#include <$2> 1804_ACEOF 1805if ac_fn_c_try_compile "$LINENO"; then : 1806 ac_header_compiler=yes 1807else 1808 ac_header_compiler=no 1809fi 1810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1812$as_echo "$ac_header_compiler" >&6; } 1813 1814# Is the header present? 1815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1816$as_echo_n "checking $2 presence... " >&6; } 1817cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1818/* end confdefs.h. */ 1819#include <$2> 1820_ACEOF 1821if ac_fn_c_try_cpp "$LINENO"; then : 1822 ac_header_preproc=yes 1823else 1824 ac_header_preproc=no 1825fi 1826rm -f conftest.err conftest.i conftest.$ac_ext 1827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1828$as_echo "$ac_header_preproc" >&6; } 1829 1830# So? What about this header? 1831case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1832 yes:no: ) 1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1834$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1836$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1837 ;; 1838 no:yes:* ) 1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1840$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1842$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1844$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1846$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1848$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1849( $as_echo "## ------------------------------ ## 1850## Report this to vlm@lionet.info ## 1851## ------------------------------ ##" 1852 ) | sed "s/^/$as_me: WARNING: /" >&2 1853 ;; 1854esac 1855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1856$as_echo_n "checking for $2... " >&6; } 1857if eval \${$3+:} false; then : 1858 $as_echo_n "(cached) " >&6 1859else 1860 eval "$3=\$ac_header_compiler" 1861fi 1862eval ac_res=\$$3 1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1864$as_echo "$ac_res" >&6; } 1865fi 1866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1867 1868} # ac_fn_c_check_header_mongrel 1869 1870# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1871# ------------------------------------------- 1872# Tests whether TYPE exists after having included INCLUDES, setting cache 1873# variable VAR accordingly. 1874ac_fn_c_check_type () 1875{ 1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1878$as_echo_n "checking for $2... " >&6; } 1879if eval \${$3+:} false; then : 1880 $as_echo_n "(cached) " >&6 1881else 1882 eval "$3=no" 1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1884/* end confdefs.h. */ 1885$4 1886int 1887main () 1888{ 1889if (sizeof ($2)) 1890 return 0; 1891 ; 1892 return 0; 1893} 1894_ACEOF 1895if ac_fn_c_try_compile "$LINENO"; then : 1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1897/* end confdefs.h. */ 1898$4 1899int 1900main () 1901{ 1902if (sizeof (($2))) 1903 return 0; 1904 ; 1905 return 0; 1906} 1907_ACEOF 1908if ac_fn_c_try_compile "$LINENO"; then : 1909 1910else 1911 eval "$3=yes" 1912fi 1913rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1914fi 1915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1916fi 1917eval ac_res=\$$3 1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1919$as_echo "$ac_res" >&6; } 1920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1921 1922} # ac_fn_c_check_type 1923cat >config.log <<_ACEOF 1924This file contains any messages produced by compilers while 1925running configure, to aid debugging if configure makes a mistake. 1926 1927It was created by asn1c $as_me 0.9.27, which was 1928generated by GNU Autoconf 2.69. Invocation command line was 1929 1930 $ $0 $@ 1931 1932_ACEOF 1933exec 5>>config.log 1934{ 1935cat <<_ASUNAME 1936## --------- ## 1937## Platform. ## 1938## --------- ## 1939 1940hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1941uname -m = `(uname -m) 2>/dev/null || echo unknown` 1942uname -r = `(uname -r) 2>/dev/null || echo unknown` 1943uname -s = `(uname -s) 2>/dev/null || echo unknown` 1944uname -v = `(uname -v) 2>/dev/null || echo unknown` 1945 1946/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1947/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1948 1949/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1950/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1951/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1952/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1953/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1954/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1955/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1956 1957_ASUNAME 1958 1959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1960for as_dir in $PATH 1961do 1962 IFS=$as_save_IFS 1963 test -z "$as_dir" && as_dir=. 1964 $as_echo "PATH: $as_dir" 1965 done 1966IFS=$as_save_IFS 1967 1968} >&5 1969 1970cat >&5 <<_ACEOF 1971 1972 1973## ----------- ## 1974## Core tests. ## 1975## ----------- ## 1976 1977_ACEOF 1978 1979 1980# Keep a trace of the command line. 1981# Strip out --no-create and --no-recursion so they do not pile up. 1982# Strip out --silent because we don't want to record it for future runs. 1983# Also quote any args containing shell meta-characters. 1984# Make two passes to allow for proper duplicate-argument suppression. 1985ac_configure_args= 1986ac_configure_args0= 1987ac_configure_args1= 1988ac_must_keep_next=false 1989for ac_pass in 1 2 1990do 1991 for ac_arg 1992 do 1993 case $ac_arg in 1994 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1996 | -silent | --silent | --silen | --sile | --sil) 1997 continue ;; 1998 *\'*) 1999 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2000 esac 2001 case $ac_pass in 2002 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2003 2) 2004 as_fn_append ac_configure_args1 " '$ac_arg'" 2005 if test $ac_must_keep_next = true; then 2006 ac_must_keep_next=false # Got value, back to normal. 2007 else 2008 case $ac_arg in 2009 *=* | --config-cache | -C | -disable-* | --disable-* \ 2010 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2011 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2012 | -with-* | --with-* | -without-* | --without-* | --x) 2013 case "$ac_configure_args0 " in 2014 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2015 esac 2016 ;; 2017 -* ) ac_must_keep_next=true ;; 2018 esac 2019 fi 2020 as_fn_append ac_configure_args " '$ac_arg'" 2021 ;; 2022 esac 2023 done 2024done 2025{ ac_configure_args0=; unset ac_configure_args0;} 2026{ ac_configure_args1=; unset ac_configure_args1;} 2027 2028# When interrupted or exit'd, cleanup temporary files, and complete 2029# config.log. We remove comments because anyway the quotes in there 2030# would cause problems or look ugly. 2031# WARNING: Use '\'' to represent an apostrophe within the trap. 2032# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2033trap 'exit_status=$? 2034 # Save into config.log some information that might help in debugging. 2035 { 2036 echo 2037 2038 $as_echo "## ---------------- ## 2039## Cache variables. ## 2040## ---------------- ##" 2041 echo 2042 # The following way of writing the cache mishandles newlines in values, 2043( 2044 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2045 eval ac_val=\$$ac_var 2046 case $ac_val in #( 2047 *${as_nl}*) 2048 case $ac_var in #( 2049 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2050$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2051 esac 2052 case $ac_var in #( 2053 _ | IFS | as_nl) ;; #( 2054 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2055 *) { eval $ac_var=; unset $ac_var;} ;; 2056 esac ;; 2057 esac 2058 done 2059 (set) 2>&1 | 2060 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2061 *${as_nl}ac_space=\ *) 2062 sed -n \ 2063 "s/'\''/'\''\\\\'\'''\''/g; 2064 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2065 ;; #( 2066 *) 2067 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2068 ;; 2069 esac | 2070 sort 2071) 2072 echo 2073 2074 $as_echo "## ----------------- ## 2075## Output variables. ## 2076## ----------------- ##" 2077 echo 2078 for ac_var in $ac_subst_vars 2079 do 2080 eval ac_val=\$$ac_var 2081 case $ac_val in 2082 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2083 esac 2084 $as_echo "$ac_var='\''$ac_val'\''" 2085 done | sort 2086 echo 2087 2088 if test -n "$ac_subst_files"; then 2089 $as_echo "## ------------------- ## 2090## File substitutions. ## 2091## ------------------- ##" 2092 echo 2093 for ac_var in $ac_subst_files 2094 do 2095 eval ac_val=\$$ac_var 2096 case $ac_val in 2097 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2098 esac 2099 $as_echo "$ac_var='\''$ac_val'\''" 2100 done | sort 2101 echo 2102 fi 2103 2104 if test -s confdefs.h; then 2105 $as_echo "## ----------- ## 2106## confdefs.h. ## 2107## ----------- ##" 2108 echo 2109 cat confdefs.h 2110 echo 2111 fi 2112 test "$ac_signal" != 0 && 2113 $as_echo "$as_me: caught signal $ac_signal" 2114 $as_echo "$as_me: exit $exit_status" 2115 } >&5 2116 rm -f core *.core core.conftest.* && 2117 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2118 exit $exit_status 2119' 0 2120for ac_signal in 1 2 13 15; do 2121 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2122done 2123ac_signal=0 2124 2125# confdefs.h avoids OS command line length limits that DEFS can exceed. 2126rm -f -r conftest* confdefs.h 2127 2128$as_echo "/* confdefs.h */" > confdefs.h 2129 2130# Predefined preprocessor variables. 2131 2132cat >>confdefs.h <<_ACEOF 2133#define PACKAGE_NAME "$PACKAGE_NAME" 2134_ACEOF 2135 2136cat >>confdefs.h <<_ACEOF 2137#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2138_ACEOF 2139 2140cat >>confdefs.h <<_ACEOF 2141#define PACKAGE_VERSION "$PACKAGE_VERSION" 2142_ACEOF 2143 2144cat >>confdefs.h <<_ACEOF 2145#define PACKAGE_STRING "$PACKAGE_STRING" 2146_ACEOF 2147 2148cat >>confdefs.h <<_ACEOF 2149#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2150_ACEOF 2151 2152cat >>confdefs.h <<_ACEOF 2153#define PACKAGE_URL "$PACKAGE_URL" 2154_ACEOF 2155 2156 2157# Let the site file select an alternate cache file if it wants to. 2158# Prefer an explicitly selected file to automatically selected ones. 2159ac_site_file1=NONE 2160ac_site_file2=NONE 2161if test -n "$CONFIG_SITE"; then 2162 # We do not want a PATH search for config.site. 2163 case $CONFIG_SITE in #(( 2164 -*) ac_site_file1=./$CONFIG_SITE;; 2165 */*) ac_site_file1=$CONFIG_SITE;; 2166 *) ac_site_file1=./$CONFIG_SITE;; 2167 esac 2168elif test "x$prefix" != xNONE; then 2169 ac_site_file1=$prefix/share/config.site 2170 ac_site_file2=$prefix/etc/config.site 2171else 2172 ac_site_file1=$ac_default_prefix/share/config.site 2173 ac_site_file2=$ac_default_prefix/etc/config.site 2174fi 2175for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2176do 2177 test "x$ac_site_file" = xNONE && continue 2178 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2179 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2180$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2181 sed 's/^/| /' "$ac_site_file" >&5 2182 . "$ac_site_file" \ 2183 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2184$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2185as_fn_error $? "failed to load site script $ac_site_file 2186See \`config.log' for more details" "$LINENO" 5; } 2187 fi 2188done 2189 2190if test -r "$cache_file"; then 2191 # Some versions of bash will fail to source /dev/null (special files 2192 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2193 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2194 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2195$as_echo "$as_me: loading cache $cache_file" >&6;} 2196 case $cache_file in 2197 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2198 *) . "./$cache_file";; 2199 esac 2200 fi 2201else 2202 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2203$as_echo "$as_me: creating cache $cache_file" >&6;} 2204 >$cache_file 2205fi 2206 2207# Check that the precious variables saved in the cache have kept the same 2208# value. 2209ac_cache_corrupted=false 2210for ac_var in $ac_precious_vars; do 2211 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2212 eval ac_new_set=\$ac_env_${ac_var}_set 2213 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2214 eval ac_new_val=\$ac_env_${ac_var}_value 2215 case $ac_old_set,$ac_new_set in 2216 set,) 2217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2218$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2219 ac_cache_corrupted=: ;; 2220 ,set) 2221 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2222$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2223 ac_cache_corrupted=: ;; 2224 ,);; 2225 *) 2226 if test "x$ac_old_val" != "x$ac_new_val"; then 2227 # differences in whitespace do not lead to failure. 2228 ac_old_val_w=`echo x $ac_old_val` 2229 ac_new_val_w=`echo x $ac_new_val` 2230 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2231 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2232$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2233 ac_cache_corrupted=: 2234 else 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2236$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2237 eval $ac_var=\$ac_old_val 2238 fi 2239 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2240$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2241 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2242$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2243 fi;; 2244 esac 2245 # Pass precious variables to config.status. 2246 if test "$ac_new_set" = set; then 2247 case $ac_new_val in 2248 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2249 *) ac_arg=$ac_var=$ac_new_val ;; 2250 esac 2251 case " $ac_configure_args " in 2252 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2253 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2254 esac 2255 fi 2256done 2257if $ac_cache_corrupted; then 2258 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2259$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2261$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2262 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2263fi 2264## -------------------- ## 2265## Main body of script. ## 2266## -------------------- ## 2267 2268ac_ext=c 2269ac_cpp='$CPP $CPPFLAGS' 2270ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2271ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2272ac_compiler_gnu=$ac_cv_c_compiler_gnu 2273 2274 2275am__api_version='1.11' 2276 2277ac_aux_dir= 2278for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2279 if test -f "$ac_dir/install-sh"; then 2280 ac_aux_dir=$ac_dir 2281 ac_install_sh="$ac_aux_dir/install-sh -c" 2282 break 2283 elif test -f "$ac_dir/install.sh"; then 2284 ac_aux_dir=$ac_dir 2285 ac_install_sh="$ac_aux_dir/install.sh -c" 2286 break 2287 elif test -f "$ac_dir/shtool"; then 2288 ac_aux_dir=$ac_dir 2289 ac_install_sh="$ac_aux_dir/shtool install -c" 2290 break 2291 fi 2292done 2293if test -z "$ac_aux_dir"; then 2294 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2295fi 2296 2297# These three variables are undocumented and unsupported, 2298# and are intended to be withdrawn in a future Autoconf release. 2299# They can cause serious problems if a builder's source tree is in a directory 2300# whose full name contains unusual characters. 2301ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2302ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2303ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2304 2305 2306# Find a good install program. We prefer a C program (faster), 2307# so one script is as good as another. But avoid the broken or 2308# incompatible versions: 2309# SysV /etc/install, /usr/sbin/install 2310# SunOS /usr/etc/install 2311# IRIX /sbin/install 2312# AIX /bin/install 2313# AmigaOS /C/install, which installs bootblocks on floppy discs 2314# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2315# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2316# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2317# OS/2's system install, which has a completely different semantic 2318# ./install, which can be erroneously created by make from ./install.sh. 2319# Reject install programs that cannot install multiple files. 2320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2321$as_echo_n "checking for a BSD-compatible install... " >&6; } 2322if test -z "$INSTALL"; then 2323if ${ac_cv_path_install+:} false; then : 2324 $as_echo_n "(cached) " >&6 2325else 2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2327for as_dir in $PATH 2328do 2329 IFS=$as_save_IFS 2330 test -z "$as_dir" && as_dir=. 2331 # Account for people who put trailing slashes in PATH elements. 2332case $as_dir/ in #(( 2333 ./ | .// | /[cC]/* | \ 2334 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2335 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2336 /usr/ucb/* ) ;; 2337 *) 2338 # OSF1 and SCO ODT 3.0 have their own names for install. 2339 # Don't use installbsd from OSF since it installs stuff as root 2340 # by default. 2341 for ac_prog in ginstall scoinst install; do 2342 for ac_exec_ext in '' $ac_executable_extensions; do 2343 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2344 if test $ac_prog = install && 2345 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2346 # AIX install. It has an incompatible calling convention. 2347 : 2348 elif test $ac_prog = install && 2349 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2350 # program-specific install script used by HP pwplus--don't use. 2351 : 2352 else 2353 rm -rf conftest.one conftest.two conftest.dir 2354 echo one > conftest.one 2355 echo two > conftest.two 2356 mkdir conftest.dir 2357 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2358 test -s conftest.one && test -s conftest.two && 2359 test -s conftest.dir/conftest.one && 2360 test -s conftest.dir/conftest.two 2361 then 2362 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2363 break 3 2364 fi 2365 fi 2366 fi 2367 done 2368 done 2369 ;; 2370esac 2371 2372 done 2373IFS=$as_save_IFS 2374 2375rm -rf conftest.one conftest.two conftest.dir 2376 2377fi 2378 if test "${ac_cv_path_install+set}" = set; then 2379 INSTALL=$ac_cv_path_install 2380 else 2381 # As a last resort, use the slow shell script. Don't cache a 2382 # value for INSTALL within a source directory, because that will 2383 # break other packages using the cache if that directory is 2384 # removed, or if the value is a relative name. 2385 INSTALL=$ac_install_sh 2386 fi 2387fi 2388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2389$as_echo "$INSTALL" >&6; } 2390 2391# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2392# It thinks the first close brace ends the variable substitution. 2393test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2394 2395test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2396 2397test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2398 2399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2400$as_echo_n "checking whether build environment is sane... " >&6; } 2401# Just in case 2402sleep 1 2403echo timestamp > conftest.file 2404# Reject unsafe characters in $srcdir or the absolute working directory 2405# name. Accept space and tab only in the latter. 2406am_lf=' 2407' 2408case `pwd` in 2409 *[\\\"\#\$\&\'\`$am_lf]*) 2410 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2411esac 2412case $srcdir in 2413 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2414 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2415esac 2416 2417# Do `set' in a subshell so we don't clobber the current shell's 2418# arguments. Must try -L first in case configure is actually a 2419# symlink; some systems play weird games with the mod time of symlinks 2420# (eg FreeBSD returns the mod time of the symlink's containing 2421# directory). 2422if ( 2423 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2424 if test "$*" = "X"; then 2425 # -L didn't work. 2426 set X `ls -t "$srcdir/configure" conftest.file` 2427 fi 2428 rm -f conftest.file 2429 if test "$*" != "X $srcdir/configure conftest.file" \ 2430 && test "$*" != "X conftest.file $srcdir/configure"; then 2431 2432 # If neither matched, then we have a broken ls. This can happen 2433 # if, for instance, CONFIG_SHELL is bash and it inherits a 2434 # broken ls alias from the environment. This has actually 2435 # happened. Such a system could not be considered "sane". 2436 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2437alias in your environment" "$LINENO" 5 2438 fi 2439 2440 test "$2" = conftest.file 2441 ) 2442then 2443 # Ok. 2444 : 2445else 2446 as_fn_error $? "newly created file is older than distributed files! 2447Check your system clock" "$LINENO" 5 2448fi 2449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2450$as_echo "yes" >&6; } 2451test "$program_prefix" != NONE && 2452 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2453# Use a double $ so make ignores it. 2454test "$program_suffix" != NONE && 2455 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2456# Double any \ or $. 2457# By default was `s,x,x', remove it if useless. 2458ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2459program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2460 2461# expand $ac_aux_dir to an absolute path 2462am_aux_dir=`cd $ac_aux_dir && pwd` 2463 2464if test x"${MISSING+set}" != xset; then 2465 case $am_aux_dir in 2466 *\ * | *\ *) 2467 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2468 *) 2469 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2470 esac 2471fi 2472# Use eval to expand $SHELL 2473if eval "$MISSING --run true"; then 2474 am_missing_run="$MISSING --run " 2475else 2476 am_missing_run= 2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2478$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2479fi 2480 2481if test x"${install_sh}" != xset; then 2482 case $am_aux_dir in 2483 *\ * | *\ *) 2484 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2485 *) 2486 install_sh="\${SHELL} $am_aux_dir/install-sh" 2487 esac 2488fi 2489 2490# Installed binaries are usually stripped using `strip' when the user 2491# run `make install-strip'. However `strip' might not be the right 2492# tool to use in cross-compilation environments, therefore Automake 2493# will honor the `STRIP' environment variable to overrule this program. 2494if test "$cross_compiling" != no; then 2495 if test -n "$ac_tool_prefix"; then 2496 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2497set dummy ${ac_tool_prefix}strip; ac_word=$2 2498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2499$as_echo_n "checking for $ac_word... " >&6; } 2500if ${ac_cv_prog_STRIP+:} false; then : 2501 $as_echo_n "(cached) " >&6 2502else 2503 if test -n "$STRIP"; then 2504 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2505else 2506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2507for as_dir in $PATH 2508do 2509 IFS=$as_save_IFS 2510 test -z "$as_dir" && as_dir=. 2511 for ac_exec_ext in '' $ac_executable_extensions; do 2512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2513 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2515 break 2 2516 fi 2517done 2518 done 2519IFS=$as_save_IFS 2520 2521fi 2522fi 2523STRIP=$ac_cv_prog_STRIP 2524if test -n "$STRIP"; then 2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2526$as_echo "$STRIP" >&6; } 2527else 2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2529$as_echo "no" >&6; } 2530fi 2531 2532 2533fi 2534if test -z "$ac_cv_prog_STRIP"; then 2535 ac_ct_STRIP=$STRIP 2536 # Extract the first word of "strip", so it can be a program name with args. 2537set dummy strip; ac_word=$2 2538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2539$as_echo_n "checking for $ac_word... " >&6; } 2540if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2541 $as_echo_n "(cached) " >&6 2542else 2543 if test -n "$ac_ct_STRIP"; then 2544 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2545else 2546as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2547for as_dir in $PATH 2548do 2549 IFS=$as_save_IFS 2550 test -z "$as_dir" && as_dir=. 2551 for ac_exec_ext in '' $ac_executable_extensions; do 2552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2553 ac_cv_prog_ac_ct_STRIP="strip" 2554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2555 break 2 2556 fi 2557done 2558 done 2559IFS=$as_save_IFS 2560 2561fi 2562fi 2563ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2564if test -n "$ac_ct_STRIP"; then 2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2566$as_echo "$ac_ct_STRIP" >&6; } 2567else 2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2569$as_echo "no" >&6; } 2570fi 2571 2572 if test "x$ac_ct_STRIP" = x; then 2573 STRIP=":" 2574 else 2575 case $cross_compiling:$ac_tool_warned in 2576yes:) 2577{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2578$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2579ac_tool_warned=yes ;; 2580esac 2581 STRIP=$ac_ct_STRIP 2582 fi 2583else 2584 STRIP="$ac_cv_prog_STRIP" 2585fi 2586 2587fi 2588INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2589 2590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2591$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2592if test -z "$MKDIR_P"; then 2593 if ${ac_cv_path_mkdir+:} false; then : 2594 $as_echo_n "(cached) " >&6 2595else 2596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2597for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2598do 2599 IFS=$as_save_IFS 2600 test -z "$as_dir" && as_dir=. 2601 for ac_prog in mkdir gmkdir; do 2602 for ac_exec_ext in '' $ac_executable_extensions; do 2603 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2604 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2605 'mkdir (GNU coreutils) '* | \ 2606 'mkdir (coreutils) '* | \ 2607 'mkdir (fileutils) '4.1*) 2608 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2609 break 3;; 2610 esac 2611 done 2612 done 2613 done 2614IFS=$as_save_IFS 2615 2616fi 2617 2618 test -d ./--version && rmdir ./--version 2619 if test "${ac_cv_path_mkdir+set}" = set; then 2620 MKDIR_P="$ac_cv_path_mkdir -p" 2621 else 2622 # As a last resort, use the slow shell script. Don't cache a 2623 # value for MKDIR_P within a source directory, because that will 2624 # break other packages using the cache if that directory is 2625 # removed, or if the value is a relative name. 2626 MKDIR_P="$ac_install_sh -d" 2627 fi 2628fi 2629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2630$as_echo "$MKDIR_P" >&6; } 2631 2632mkdir_p="$MKDIR_P" 2633case $mkdir_p in 2634 [\\/$]* | ?:[\\/]*) ;; 2635 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2636esac 2637 2638for ac_prog in gawk mawk nawk awk 2639do 2640 # Extract the first word of "$ac_prog", so it can be a program name with args. 2641set dummy $ac_prog; ac_word=$2 2642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2643$as_echo_n "checking for $ac_word... " >&6; } 2644if ${ac_cv_prog_AWK+:} false; then : 2645 $as_echo_n "(cached) " >&6 2646else 2647 if test -n "$AWK"; then 2648 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2649else 2650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2651for as_dir in $PATH 2652do 2653 IFS=$as_save_IFS 2654 test -z "$as_dir" && as_dir=. 2655 for ac_exec_ext in '' $ac_executable_extensions; do 2656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2657 ac_cv_prog_AWK="$ac_prog" 2658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2659 break 2 2660 fi 2661done 2662 done 2663IFS=$as_save_IFS 2664 2665fi 2666fi 2667AWK=$ac_cv_prog_AWK 2668if test -n "$AWK"; then 2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2670$as_echo "$AWK" >&6; } 2671else 2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2673$as_echo "no" >&6; } 2674fi 2675 2676 2677 test -n "$AWK" && break 2678done 2679 2680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2681$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2682set x ${MAKE-make} 2683ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2684if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2685 $as_echo_n "(cached) " >&6 2686else 2687 cat >conftest.make <<\_ACEOF 2688SHELL = /bin/sh 2689all: 2690 @echo '@@@%%%=$(MAKE)=@@@%%%' 2691_ACEOF 2692# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2693case `${MAKE-make} -f conftest.make 2>/dev/null` in 2694 *@@@%%%=?*=@@@%%%*) 2695 eval ac_cv_prog_make_${ac_make}_set=yes;; 2696 *) 2697 eval ac_cv_prog_make_${ac_make}_set=no;; 2698esac 2699rm -f conftest.make 2700fi 2701if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2703$as_echo "yes" >&6; } 2704 SET_MAKE= 2705else 2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2707$as_echo "no" >&6; } 2708 SET_MAKE="MAKE=${MAKE-make}" 2709fi 2710 2711rm -rf .tst 2>/dev/null 2712mkdir .tst 2>/dev/null 2713if test -d .tst; then 2714 am__leading_dot=. 2715else 2716 am__leading_dot=_ 2717fi 2718rmdir .tst 2>/dev/null 2719 2720if test "`cd $srcdir && pwd`" != "`pwd`"; then 2721 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2722 # is not polluted with repeated "-I." 2723 am__isrc=' -I$(srcdir)' 2724 # test to see if srcdir already configured 2725 if test -f $srcdir/config.status; then 2726 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2727 fi 2728fi 2729 2730# test whether we have cygpath 2731if test -z "$CYGPATH_W"; then 2732 if (cygpath --version) >/dev/null 2>/dev/null; then 2733 CYGPATH_W='cygpath -w' 2734 else 2735 CYGPATH_W=echo 2736 fi 2737fi 2738 2739 2740# Define the identity of the package. 2741 PACKAGE='asn1c' 2742 VERSION='0.9.27' 2743 2744 2745cat >>confdefs.h <<_ACEOF 2746#define PACKAGE "$PACKAGE" 2747_ACEOF 2748 2749 2750cat >>confdefs.h <<_ACEOF 2751#define VERSION "$VERSION" 2752_ACEOF 2753 2754# Some tools Automake needs. 2755 2756ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2757 2758 2759AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2760 2761 2762AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2763 2764 2765AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2766 2767 2768MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2769 2770# We need awk for the "check" target. The system "awk" is bad on 2771# some platforms. 2772# Always define AMTAR for backward compatibility. 2773 2774AMTAR=${AMTAR-"${am_missing_run}tar"} 2775 2776am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2777 2778 2779 2780 2781 2782ac_config_headers="$ac_config_headers config.h" 2783 2784 2785 2786 2787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2788$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2789 # Check whether --enable-maintainer-mode was given. 2790if test "${enable_maintainer_mode+set}" = set; then : 2791 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2792else 2793 USE_MAINTAINER_MODE=no 2794fi 2795 2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2797$as_echo "$USE_MAINTAINER_MODE" >&6; } 2798 if test $USE_MAINTAINER_MODE = yes; then 2799 MAINTAINER_MODE_TRUE= 2800 MAINTAINER_MODE_FALSE='#' 2801else 2802 MAINTAINER_MODE_TRUE='#' 2803 MAINTAINER_MODE_FALSE= 2804fi 2805 2806 MAINT=$MAINTAINER_MODE_TRUE 2807 2808 2809 2810case `pwd` in 2811 *\ * | *\ *) 2812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 2813$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 2814esac 2815 2816 2817 2818macro_version='2.4' 2819macro_revision='1.3293' 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833ltmain="$ac_aux_dir/ltmain.sh" 2834 2835# Make sure we can run config.sub. 2836$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2837 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2838 2839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2840$as_echo_n "checking build system type... " >&6; } 2841if ${ac_cv_build+:} false; then : 2842 $as_echo_n "(cached) " >&6 2843else 2844 ac_build_alias=$build_alias 2845test "x$ac_build_alias" = x && 2846 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2847test "x$ac_build_alias" = x && 2848 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2849ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2850 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2851 2852fi 2853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2854$as_echo "$ac_cv_build" >&6; } 2855case $ac_cv_build in 2856*-*-*) ;; 2857*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2858esac 2859build=$ac_cv_build 2860ac_save_IFS=$IFS; IFS='-' 2861set x $ac_cv_build 2862shift 2863build_cpu=$1 2864build_vendor=$2 2865shift; shift 2866# Remember, the first character of IFS is used to create $*, 2867# except with old shells: 2868build_os=$* 2869IFS=$ac_save_IFS 2870case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2871 2872 2873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2874$as_echo_n "checking host system type... " >&6; } 2875if ${ac_cv_host+:} false; then : 2876 $as_echo_n "(cached) " >&6 2877else 2878 if test "x$host_alias" = x; then 2879 ac_cv_host=$ac_cv_build 2880else 2881 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2882 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2883fi 2884 2885fi 2886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2887$as_echo "$ac_cv_host" >&6; } 2888case $ac_cv_host in 2889*-*-*) ;; 2890*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2891esac 2892host=$ac_cv_host 2893ac_save_IFS=$IFS; IFS='-' 2894set x $ac_cv_host 2895shift 2896host_cpu=$1 2897host_vendor=$2 2898shift; shift 2899# Remember, the first character of IFS is used to create $*, 2900# except with old shells: 2901host_os=$* 2902IFS=$ac_save_IFS 2903case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2904 2905 2906# Backslashify metacharacters that are still active within 2907# double-quoted strings. 2908sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 2909 2910# Same as above, but do not quote variable references. 2911double_quote_subst='s/\(["`\\]\)/\\\1/g' 2912 2913# Sed substitution to delay expansion of an escaped shell variable in a 2914# double_quote_subst'ed string. 2915delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 2916 2917# Sed substitution to delay expansion of an escaped single quote. 2918delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 2919 2920# Sed substitution to avoid accidental globbing in evaled expressions 2921no_glob_subst='s/\*/\\\*/g' 2922 2923ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 2924ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 2925ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 2926 2927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 2928$as_echo_n "checking how to print strings... " >&6; } 2929# Test print first, because it will be a builtin if present. 2930if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 2931 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 2932 ECHO='print -r --' 2933elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 2934 ECHO='printf %s\n' 2935else 2936 # Use this function as a fallback that always works. 2937 func_fallback_echo () 2938 { 2939 eval 'cat <<_LTECHO_EOF 2940$1 2941_LTECHO_EOF' 2942 } 2943 ECHO='func_fallback_echo' 2944fi 2945 2946# func_echo_all arg... 2947# Invoke $ECHO with all args, space-separated. 2948func_echo_all () 2949{ 2950 $ECHO "" 2951} 2952 2953case "$ECHO" in 2954 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 2955$as_echo "printf" >&6; } ;; 2956 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 2957$as_echo "print -r" >&6; } ;; 2958 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 2959$as_echo "cat" >&6; } ;; 2960esac 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975DEPDIR="${am__leading_dot}deps" 2976 2977ac_config_commands="$ac_config_commands depfiles" 2978 2979 2980am_make=${MAKE-make} 2981cat > confinc << 'END' 2982am__doit: 2983 @echo this is the am__doit target 2984.PHONY: am__doit 2985END 2986# If we don't find an include directive, just comment out the code. 2987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2988$as_echo_n "checking for style of include used by $am_make... " >&6; } 2989am__include="#" 2990am__quote= 2991_am_result=none 2992# First try GNU make style include. 2993echo "include confinc" > confmf 2994# Ignore all kinds of additional output from `make'. 2995case `$am_make -s -f confmf 2> /dev/null` in #( 2996*the\ am__doit\ target*) 2997 am__include=include 2998 am__quote= 2999 _am_result=GNU 3000 ;; 3001esac 3002# Now try BSD make style include. 3003if test "$am__include" = "#"; then 3004 echo '.include "confinc"' > confmf 3005 case `$am_make -s -f confmf 2> /dev/null` in #( 3006 *the\ am__doit\ target*) 3007 am__include=.include 3008 am__quote="\"" 3009 _am_result=BSD 3010 ;; 3011 esac 3012fi 3013 3014 3015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3016$as_echo "$_am_result" >&6; } 3017rm -f confinc confmf 3018 3019# Check whether --enable-dependency-tracking was given. 3020if test "${enable_dependency_tracking+set}" = set; then : 3021 enableval=$enable_dependency_tracking; 3022fi 3023 3024if test "x$enable_dependency_tracking" != xno; then 3025 am_depcomp="$ac_aux_dir/depcomp" 3026 AMDEPBACKSLASH='\' 3027fi 3028 if test "x$enable_dependency_tracking" != xno; then 3029 AMDEP_TRUE= 3030 AMDEP_FALSE='#' 3031else 3032 AMDEP_TRUE='#' 3033 AMDEP_FALSE= 3034fi 3035 3036 3037ac_ext=c 3038ac_cpp='$CPP $CPPFLAGS' 3039ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3040ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3041ac_compiler_gnu=$ac_cv_c_compiler_gnu 3042if test -n "$ac_tool_prefix"; then 3043 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3044set dummy ${ac_tool_prefix}gcc; ac_word=$2 3045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3046$as_echo_n "checking for $ac_word... " >&6; } 3047if ${ac_cv_prog_CC+:} false; then : 3048 $as_echo_n "(cached) " >&6 3049else 3050 if test -n "$CC"; then 3051 ac_cv_prog_CC="$CC" # Let the user override the test. 3052else 3053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3054for as_dir in $PATH 3055do 3056 IFS=$as_save_IFS 3057 test -z "$as_dir" && as_dir=. 3058 for ac_exec_ext in '' $ac_executable_extensions; do 3059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3060 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3062 break 2 3063 fi 3064done 3065 done 3066IFS=$as_save_IFS 3067 3068fi 3069fi 3070CC=$ac_cv_prog_CC 3071if test -n "$CC"; then 3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3073$as_echo "$CC" >&6; } 3074else 3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3076$as_echo "no" >&6; } 3077fi 3078 3079 3080fi 3081if test -z "$ac_cv_prog_CC"; then 3082 ac_ct_CC=$CC 3083 # Extract the first word of "gcc", so it can be a program name with args. 3084set dummy gcc; ac_word=$2 3085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3086$as_echo_n "checking for $ac_word... " >&6; } 3087if ${ac_cv_prog_ac_ct_CC+:} false; then : 3088 $as_echo_n "(cached) " >&6 3089else 3090 if test -n "$ac_ct_CC"; then 3091 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3092else 3093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3094for as_dir in $PATH 3095do 3096 IFS=$as_save_IFS 3097 test -z "$as_dir" && as_dir=. 3098 for ac_exec_ext in '' $ac_executable_extensions; do 3099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3100 ac_cv_prog_ac_ct_CC="gcc" 3101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3102 break 2 3103 fi 3104done 3105 done 3106IFS=$as_save_IFS 3107 3108fi 3109fi 3110ac_ct_CC=$ac_cv_prog_ac_ct_CC 3111if test -n "$ac_ct_CC"; then 3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3113$as_echo "$ac_ct_CC" >&6; } 3114else 3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3116$as_echo "no" >&6; } 3117fi 3118 3119 if test "x$ac_ct_CC" = x; then 3120 CC="" 3121 else 3122 case $cross_compiling:$ac_tool_warned in 3123yes:) 3124{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3125$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3126ac_tool_warned=yes ;; 3127esac 3128 CC=$ac_ct_CC 3129 fi 3130else 3131 CC="$ac_cv_prog_CC" 3132fi 3133 3134if test -z "$CC"; then 3135 if test -n "$ac_tool_prefix"; then 3136 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3137set dummy ${ac_tool_prefix}cc; ac_word=$2 3138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3139$as_echo_n "checking for $ac_word... " >&6; } 3140if ${ac_cv_prog_CC+:} false; then : 3141 $as_echo_n "(cached) " >&6 3142else 3143 if test -n "$CC"; then 3144 ac_cv_prog_CC="$CC" # Let the user override the test. 3145else 3146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3147for as_dir in $PATH 3148do 3149 IFS=$as_save_IFS 3150 test -z "$as_dir" && as_dir=. 3151 for ac_exec_ext in '' $ac_executable_extensions; do 3152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3153 ac_cv_prog_CC="${ac_tool_prefix}cc" 3154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3155 break 2 3156 fi 3157done 3158 done 3159IFS=$as_save_IFS 3160 3161fi 3162fi 3163CC=$ac_cv_prog_CC 3164if test -n "$CC"; then 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3166$as_echo "$CC" >&6; } 3167else 3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3169$as_echo "no" >&6; } 3170fi 3171 3172 3173 fi 3174fi 3175if test -z "$CC"; then 3176 # Extract the first word of "cc", so it can be a program name with args. 3177set dummy cc; ac_word=$2 3178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3179$as_echo_n "checking for $ac_word... " >&6; } 3180if ${ac_cv_prog_CC+:} false; then : 3181 $as_echo_n "(cached) " >&6 3182else 3183 if test -n "$CC"; then 3184 ac_cv_prog_CC="$CC" # Let the user override the test. 3185else 3186 ac_prog_rejected=no 3187as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3188for as_dir in $PATH 3189do 3190 IFS=$as_save_IFS 3191 test -z "$as_dir" && as_dir=. 3192 for ac_exec_ext in '' $ac_executable_extensions; do 3193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3194 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3195 ac_prog_rejected=yes 3196 continue 3197 fi 3198 ac_cv_prog_CC="cc" 3199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3200 break 2 3201 fi 3202done 3203 done 3204IFS=$as_save_IFS 3205 3206if test $ac_prog_rejected = yes; then 3207 # We found a bogon in the path, so make sure we never use it. 3208 set dummy $ac_cv_prog_CC 3209 shift 3210 if test $# != 0; then 3211 # We chose a different compiler from the bogus one. 3212 # However, it has the same basename, so the bogon will be chosen 3213 # first if we set CC to just the basename; use the full file name. 3214 shift 3215 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3216 fi 3217fi 3218fi 3219fi 3220CC=$ac_cv_prog_CC 3221if test -n "$CC"; then 3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3223$as_echo "$CC" >&6; } 3224else 3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3226$as_echo "no" >&6; } 3227fi 3228 3229 3230fi 3231if test -z "$CC"; then 3232 if test -n "$ac_tool_prefix"; then 3233 for ac_prog in cl.exe 3234 do 3235 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3236set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3238$as_echo_n "checking for $ac_word... " >&6; } 3239if ${ac_cv_prog_CC+:} false; then : 3240 $as_echo_n "(cached) " >&6 3241else 3242 if test -n "$CC"; then 3243 ac_cv_prog_CC="$CC" # Let the user override the test. 3244else 3245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3246for as_dir in $PATH 3247do 3248 IFS=$as_save_IFS 3249 test -z "$as_dir" && as_dir=. 3250 for ac_exec_ext in '' $ac_executable_extensions; do 3251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3252 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3254 break 2 3255 fi 3256done 3257 done 3258IFS=$as_save_IFS 3259 3260fi 3261fi 3262CC=$ac_cv_prog_CC 3263if test -n "$CC"; then 3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3265$as_echo "$CC" >&6; } 3266else 3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3268$as_echo "no" >&6; } 3269fi 3270 3271 3272 test -n "$CC" && break 3273 done 3274fi 3275if test -z "$CC"; then 3276 ac_ct_CC=$CC 3277 for ac_prog in cl.exe 3278do 3279 # Extract the first word of "$ac_prog", so it can be a program name with args. 3280set dummy $ac_prog; ac_word=$2 3281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3282$as_echo_n "checking for $ac_word... " >&6; } 3283if ${ac_cv_prog_ac_ct_CC+:} false; then : 3284 $as_echo_n "(cached) " >&6 3285else 3286 if test -n "$ac_ct_CC"; then 3287 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3288else 3289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3290for as_dir in $PATH 3291do 3292 IFS=$as_save_IFS 3293 test -z "$as_dir" && as_dir=. 3294 for ac_exec_ext in '' $ac_executable_extensions; do 3295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3296 ac_cv_prog_ac_ct_CC="$ac_prog" 3297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3298 break 2 3299 fi 3300done 3301 done 3302IFS=$as_save_IFS 3303 3304fi 3305fi 3306ac_ct_CC=$ac_cv_prog_ac_ct_CC 3307if test -n "$ac_ct_CC"; then 3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3309$as_echo "$ac_ct_CC" >&6; } 3310else 3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3312$as_echo "no" >&6; } 3313fi 3314 3315 3316 test -n "$ac_ct_CC" && break 3317done 3318 3319 if test "x$ac_ct_CC" = x; then 3320 CC="" 3321 else 3322 case $cross_compiling:$ac_tool_warned in 3323yes:) 3324{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3325$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3326ac_tool_warned=yes ;; 3327esac 3328 CC=$ac_ct_CC 3329 fi 3330fi 3331 3332fi 3333 3334 3335test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3336$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3337as_fn_error $? "no acceptable C compiler found in \$PATH 3338See \`config.log' for more details" "$LINENO" 5; } 3339 3340# Provide some information about the compiler. 3341$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3342set X $ac_compile 3343ac_compiler=$2 3344for ac_option in --version -v -V -qversion; do 3345 { { ac_try="$ac_compiler $ac_option >&5" 3346case "(($ac_try" in 3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3348 *) ac_try_echo=$ac_try;; 3349esac 3350eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3351$as_echo "$ac_try_echo"; } >&5 3352 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3353 ac_status=$? 3354 if test -s conftest.err; then 3355 sed '10a\ 3356... rest of stderr output deleted ... 3357 10q' conftest.err >conftest.er1 3358 cat conftest.er1 >&5 3359 fi 3360 rm -f conftest.er1 conftest.err 3361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3362 test $ac_status = 0; } 3363done 3364 3365cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3366/* end confdefs.h. */ 3367 3368int 3369main () 3370{ 3371 3372 ; 3373 return 0; 3374} 3375_ACEOF 3376ac_clean_files_save=$ac_clean_files 3377ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3378# Try to create an executable without -o first, disregard a.out. 3379# It will help us diagnose broken compilers, and finding out an intuition 3380# of exeext. 3381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3382$as_echo_n "checking whether the C compiler works... " >&6; } 3383ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3384 3385# The possible output files: 3386ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3387 3388ac_rmfiles= 3389for ac_file in $ac_files 3390do 3391 case $ac_file in 3392 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3393 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3394 esac 3395done 3396rm -f $ac_rmfiles 3397 3398if { { ac_try="$ac_link_default" 3399case "(($ac_try" in 3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3401 *) ac_try_echo=$ac_try;; 3402esac 3403eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3404$as_echo "$ac_try_echo"; } >&5 3405 (eval "$ac_link_default") 2>&5 3406 ac_status=$? 3407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3408 test $ac_status = 0; }; then : 3409 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3410# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3411# in a Makefile. We should not override ac_cv_exeext if it was cached, 3412# so that the user can short-circuit this test for compilers unknown to 3413# Autoconf. 3414for ac_file in $ac_files '' 3415do 3416 test -f "$ac_file" || continue 3417 case $ac_file in 3418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3419 ;; 3420 [ab].out ) 3421 # We found the default executable, but exeext='' is most 3422 # certainly right. 3423 break;; 3424 *.* ) 3425 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3426 then :; else 3427 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3428 fi 3429 # We set ac_cv_exeext here because the later test for it is not 3430 # safe: cross compilers may not add the suffix if given an `-o' 3431 # argument, so we may need to know it at that point already. 3432 # Even if this section looks crufty: it has the advantage of 3433 # actually working. 3434 break;; 3435 * ) 3436 break;; 3437 esac 3438done 3439test "$ac_cv_exeext" = no && ac_cv_exeext= 3440 3441else 3442 ac_file='' 3443fi 3444if test -z "$ac_file"; then : 3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3446$as_echo "no" >&6; } 3447$as_echo "$as_me: failed program was:" >&5 3448sed 's/^/| /' conftest.$ac_ext >&5 3449 3450{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3451$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3452as_fn_error 77 "C compiler cannot create executables 3453See \`config.log' for more details" "$LINENO" 5; } 3454else 3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3456$as_echo "yes" >&6; } 3457fi 3458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3459$as_echo_n "checking for C compiler default output file name... " >&6; } 3460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3461$as_echo "$ac_file" >&6; } 3462ac_exeext=$ac_cv_exeext 3463 3464rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3465ac_clean_files=$ac_clean_files_save 3466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3467$as_echo_n "checking for suffix of executables... " >&6; } 3468if { { ac_try="$ac_link" 3469case "(($ac_try" in 3470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3471 *) ac_try_echo=$ac_try;; 3472esac 3473eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3474$as_echo "$ac_try_echo"; } >&5 3475 (eval "$ac_link") 2>&5 3476 ac_status=$? 3477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3478 test $ac_status = 0; }; then : 3479 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3480# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3481# work properly (i.e., refer to `conftest.exe'), while it won't with 3482# `rm'. 3483for ac_file in conftest.exe conftest conftest.*; do 3484 test -f "$ac_file" || continue 3485 case $ac_file in 3486 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3487 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3488 break;; 3489 * ) break;; 3490 esac 3491done 3492else 3493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3494$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3495as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3496See \`config.log' for more details" "$LINENO" 5; } 3497fi 3498rm -f conftest conftest$ac_cv_exeext 3499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3500$as_echo "$ac_cv_exeext" >&6; } 3501 3502rm -f conftest.$ac_ext 3503EXEEXT=$ac_cv_exeext 3504ac_exeext=$EXEEXT 3505cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3506/* end confdefs.h. */ 3507#include <stdio.h> 3508int 3509main () 3510{ 3511FILE *f = fopen ("conftest.out", "w"); 3512 return ferror (f) || fclose (f) != 0; 3513 3514 ; 3515 return 0; 3516} 3517_ACEOF 3518ac_clean_files="$ac_clean_files conftest.out" 3519# Check that the compiler produces executables we can run. If not, either 3520# the compiler is broken, or we cross compile. 3521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3522$as_echo_n "checking whether we are cross compiling... " >&6; } 3523if test "$cross_compiling" != yes; then 3524 { { ac_try="$ac_link" 3525case "(($ac_try" in 3526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3527 *) ac_try_echo=$ac_try;; 3528esac 3529eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3530$as_echo "$ac_try_echo"; } >&5 3531 (eval "$ac_link") 2>&5 3532 ac_status=$? 3533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3534 test $ac_status = 0; } 3535 if { ac_try='./conftest$ac_cv_exeext' 3536 { { case "(($ac_try" in 3537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3538 *) ac_try_echo=$ac_try;; 3539esac 3540eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3541$as_echo "$ac_try_echo"; } >&5 3542 (eval "$ac_try") 2>&5 3543 ac_status=$? 3544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3545 test $ac_status = 0; }; }; then 3546 cross_compiling=no 3547 else 3548 if test "$cross_compiling" = maybe; then 3549 cross_compiling=yes 3550 else 3551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3552$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3553as_fn_error $? "cannot run C compiled programs. 3554If you meant to cross compile, use \`--host'. 3555See \`config.log' for more details" "$LINENO" 5; } 3556 fi 3557 fi 3558fi 3559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3560$as_echo "$cross_compiling" >&6; } 3561 3562rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3563ac_clean_files=$ac_clean_files_save 3564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3565$as_echo_n "checking for suffix of object files... " >&6; } 3566if ${ac_cv_objext+:} false; then : 3567 $as_echo_n "(cached) " >&6 3568else 3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3570/* end confdefs.h. */ 3571 3572int 3573main () 3574{ 3575 3576 ; 3577 return 0; 3578} 3579_ACEOF 3580rm -f conftest.o conftest.obj 3581if { { ac_try="$ac_compile" 3582case "(($ac_try" in 3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3584 *) ac_try_echo=$ac_try;; 3585esac 3586eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3587$as_echo "$ac_try_echo"; } >&5 3588 (eval "$ac_compile") 2>&5 3589 ac_status=$? 3590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3591 test $ac_status = 0; }; then : 3592 for ac_file in conftest.o conftest.obj conftest.*; do 3593 test -f "$ac_file" || continue; 3594 case $ac_file in 3595 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3596 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3597 break;; 3598 esac 3599done 3600else 3601 $as_echo "$as_me: failed program was:" >&5 3602sed 's/^/| /' conftest.$ac_ext >&5 3603 3604{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3605$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3606as_fn_error $? "cannot compute suffix of object files: cannot compile 3607See \`config.log' for more details" "$LINENO" 5; } 3608fi 3609rm -f conftest.$ac_cv_objext conftest.$ac_ext 3610fi 3611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3612$as_echo "$ac_cv_objext" >&6; } 3613OBJEXT=$ac_cv_objext 3614ac_objext=$OBJEXT 3615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3616$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3617if ${ac_cv_c_compiler_gnu+:} false; then : 3618 $as_echo_n "(cached) " >&6 3619else 3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3621/* end confdefs.h. */ 3622 3623int 3624main () 3625{ 3626#ifndef __GNUC__ 3627 choke me 3628#endif 3629 3630 ; 3631 return 0; 3632} 3633_ACEOF 3634if ac_fn_c_try_compile "$LINENO"; then : 3635 ac_compiler_gnu=yes 3636else 3637 ac_compiler_gnu=no 3638fi 3639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3640ac_cv_c_compiler_gnu=$ac_compiler_gnu 3641 3642fi 3643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3644$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3645if test $ac_compiler_gnu = yes; then 3646 GCC=yes 3647else 3648 GCC= 3649fi 3650ac_test_CFLAGS=${CFLAGS+set} 3651ac_save_CFLAGS=$CFLAGS 3652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3653$as_echo_n "checking whether $CC accepts -g... " >&6; } 3654if ${ac_cv_prog_cc_g+:} false; then : 3655 $as_echo_n "(cached) " >&6 3656else 3657 ac_save_c_werror_flag=$ac_c_werror_flag 3658 ac_c_werror_flag=yes 3659 ac_cv_prog_cc_g=no 3660 CFLAGS="-g" 3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3662/* end confdefs.h. */ 3663 3664int 3665main () 3666{ 3667 3668 ; 3669 return 0; 3670} 3671_ACEOF 3672if ac_fn_c_try_compile "$LINENO"; then : 3673 ac_cv_prog_cc_g=yes 3674else 3675 CFLAGS="" 3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3677/* end confdefs.h. */ 3678 3679int 3680main () 3681{ 3682 3683 ; 3684 return 0; 3685} 3686_ACEOF 3687if ac_fn_c_try_compile "$LINENO"; then : 3688 3689else 3690 ac_c_werror_flag=$ac_save_c_werror_flag 3691 CFLAGS="-g" 3692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3693/* end confdefs.h. */ 3694 3695int 3696main () 3697{ 3698 3699 ; 3700 return 0; 3701} 3702_ACEOF 3703if ac_fn_c_try_compile "$LINENO"; then : 3704 ac_cv_prog_cc_g=yes 3705fi 3706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3707fi 3708rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3709fi 3710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3711 ac_c_werror_flag=$ac_save_c_werror_flag 3712fi 3713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3714$as_echo "$ac_cv_prog_cc_g" >&6; } 3715if test "$ac_test_CFLAGS" = set; then 3716 CFLAGS=$ac_save_CFLAGS 3717elif test $ac_cv_prog_cc_g = yes; then 3718 if test "$GCC" = yes; then 3719 CFLAGS="-g -O2" 3720 else 3721 CFLAGS="-g" 3722 fi 3723else 3724 if test "$GCC" = yes; then 3725 CFLAGS="-O2" 3726 else 3727 CFLAGS= 3728 fi 3729fi 3730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3731$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3732if ${ac_cv_prog_cc_c89+:} false; then : 3733 $as_echo_n "(cached) " >&6 3734else 3735 ac_cv_prog_cc_c89=no 3736ac_save_CC=$CC 3737cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3738/* end confdefs.h. */ 3739#include <stdarg.h> 3740#include <stdio.h> 3741struct stat; 3742/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3743struct buf { int x; }; 3744FILE * (*rcsopen) (struct buf *, struct stat *, int); 3745static char *e (p, i) 3746 char **p; 3747 int i; 3748{ 3749 return p[i]; 3750} 3751static char *f (char * (*g) (char **, int), char **p, ...) 3752{ 3753 char *s; 3754 va_list v; 3755 va_start (v,p); 3756 s = g (p, va_arg (v,int)); 3757 va_end (v); 3758 return s; 3759} 3760 3761/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3762 function prototypes and stuff, but not '\xHH' hex character constants. 3763 These don't provoke an error unfortunately, instead are silently treated 3764 as 'x'. The following induces an error, until -std is added to get 3765 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3766 array size at least. It's necessary to write '\x00'==0 to get something 3767 that's true only with -std. */ 3768int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3769 3770/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3771 inside strings and character constants. */ 3772#define FOO(x) 'x' 3773int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3774 3775int test (int i, double x); 3776struct s1 {int (*f) (int a);}; 3777struct s2 {int (*f) (double a);}; 3778int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3779int argc; 3780char **argv; 3781int 3782main () 3783{ 3784return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3785 ; 3786 return 0; 3787} 3788_ACEOF 3789for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3790 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3791do 3792 CC="$ac_save_CC $ac_arg" 3793 if ac_fn_c_try_compile "$LINENO"; then : 3794 ac_cv_prog_cc_c89=$ac_arg 3795fi 3796rm -f core conftest.err conftest.$ac_objext 3797 test "x$ac_cv_prog_cc_c89" != "xno" && break 3798done 3799rm -f conftest.$ac_ext 3800CC=$ac_save_CC 3801 3802fi 3803# AC_CACHE_VAL 3804case "x$ac_cv_prog_cc_c89" in 3805 x) 3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3807$as_echo "none needed" >&6; } ;; 3808 xno) 3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3810$as_echo "unsupported" >&6; } ;; 3811 *) 3812 CC="$CC $ac_cv_prog_cc_c89" 3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3814$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3815esac 3816if test "x$ac_cv_prog_cc_c89" != xno; then : 3817 3818fi 3819 3820ac_ext=c 3821ac_cpp='$CPP $CPPFLAGS' 3822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3823ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3824ac_compiler_gnu=$ac_cv_c_compiler_gnu 3825 3826depcc="$CC" am_compiler_list= 3827 3828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3829$as_echo_n "checking dependency style of $depcc... " >&6; } 3830if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3831 $as_echo_n "(cached) " >&6 3832else 3833 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3834 # We make a subdir and do the tests there. Otherwise we can end up 3835 # making bogus files that we don't know about and never remove. For 3836 # instance it was reported that on HP-UX the gcc test will end up 3837 # making a dummy file named `D' -- because `-MD' means `put the output 3838 # in D'. 3839 mkdir conftest.dir 3840 # Copy depcomp to subdir because otherwise we won't find it if we're 3841 # using a relative directory. 3842 cp "$am_depcomp" conftest.dir 3843 cd conftest.dir 3844 # We will build objects and dependencies in a subdirectory because 3845 # it helps to detect inapplicable dependency modes. For instance 3846 # both Tru64's cc and ICC support -MD to output dependencies as a 3847 # side effect of compilation, but ICC will put the dependencies in 3848 # the current directory while Tru64 will put them in the object 3849 # directory. 3850 mkdir sub 3851 3852 am_cv_CC_dependencies_compiler_type=none 3853 if test "$am_compiler_list" = ""; then 3854 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3855 fi 3856 am__universal=false 3857 case " $depcc " in #( 3858 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3859 esac 3860 3861 for depmode in $am_compiler_list; do 3862 # Setup a source with many dependencies, because some compilers 3863 # like to wrap large dependency lists on column 80 (with \), and 3864 # we should not choose a depcomp mode which is confused by this. 3865 # 3866 # We need to recreate these files for each test, as the compiler may 3867 # overwrite some of them when testing with obscure command lines. 3868 # This happens at least with the AIX C compiler. 3869 : > sub/conftest.c 3870 for i in 1 2 3 4 5 6; do 3871 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3872 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3873 # Solaris 8's {/usr,}/bin/sh. 3874 touch sub/conftst$i.h 3875 done 3876 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3877 3878 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3879 # mode. It turns out that the SunPro C++ compiler does not properly 3880 # handle `-M -o', and we need to detect this. Also, some Intel 3881 # versions had trouble with output in subdirs 3882 am__obj=sub/conftest.${OBJEXT-o} 3883 am__minus_obj="-o $am__obj" 3884 case $depmode in 3885 gcc) 3886 # This depmode causes a compiler race in universal mode. 3887 test "$am__universal" = false || continue 3888 ;; 3889 nosideeffect) 3890 # after this tag, mechanisms are not by side-effect, so they'll 3891 # only be used when explicitly requested 3892 if test "x$enable_dependency_tracking" = xyes; then 3893 continue 3894 else 3895 break 3896 fi 3897 ;; 3898 msvisualcpp | msvcmsys) 3899 # This compiler won't grok `-c -o', but also, the minuso test has 3900 # not run yet. These depmodes are late enough in the game, and 3901 # so weak that their functioning should not be impacted. 3902 am__obj=conftest.${OBJEXT-o} 3903 am__minus_obj= 3904 ;; 3905 none) break ;; 3906 esac 3907 if depmode=$depmode \ 3908 source=sub/conftest.c object=$am__obj \ 3909 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3910 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3911 >/dev/null 2>conftest.err && 3912 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3913 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3914 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3915 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3916 # icc doesn't choke on unknown options, it will just issue warnings 3917 # or remarks (even with -Werror). So we grep stderr for any message 3918 # that says an option was ignored or not supported. 3919 # When given -MP, icc 7.0 and 7.1 complain thusly: 3920 # icc: Command line warning: ignoring option '-M'; no argument required 3921 # The diagnosis changed in icc 8.0: 3922 # icc: Command line remark: option '-MP' not supported 3923 if (grep 'ignoring option' conftest.err || 3924 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3925 am_cv_CC_dependencies_compiler_type=$depmode 3926 break 3927 fi 3928 fi 3929 done 3930 3931 cd .. 3932 rm -rf conftest.dir 3933else 3934 am_cv_CC_dependencies_compiler_type=none 3935fi 3936 3937fi 3938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3939$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3940CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3941 3942 if 3943 test "x$enable_dependency_tracking" != xno \ 3944 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3945 am__fastdepCC_TRUE= 3946 am__fastdepCC_FALSE='#' 3947else 3948 am__fastdepCC_TRUE='#' 3949 am__fastdepCC_FALSE= 3950fi 3951 3952 3953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 3954$as_echo_n "checking for a sed that does not truncate output... " >&6; } 3955if ${ac_cv_path_SED+:} false; then : 3956 $as_echo_n "(cached) " >&6 3957else 3958 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3959 for ac_i in 1 2 3 4 5 6 7; do 3960 ac_script="$ac_script$as_nl$ac_script" 3961 done 3962 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 3963 { ac_script=; unset ac_script;} 3964 if test -z "$SED"; then 3965 ac_path_SED_found=false 3966 # Loop through the user's path and test for each of PROGNAME-LIST 3967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3968for as_dir in $PATH 3969do 3970 IFS=$as_save_IFS 3971 test -z "$as_dir" && as_dir=. 3972 for ac_prog in sed gsed; do 3973 for ac_exec_ext in '' $ac_executable_extensions; do 3974 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 3975 as_fn_executable_p "$ac_path_SED" || continue 3976# Check for GNU ac_path_SED and select it if it is found. 3977 # Check for GNU $ac_path_SED 3978case `"$ac_path_SED" --version 2>&1` in 3979*GNU*) 3980 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 3981*) 3982 ac_count=0 3983 $as_echo_n 0123456789 >"conftest.in" 3984 while : 3985 do 3986 cat "conftest.in" "conftest.in" >"conftest.tmp" 3987 mv "conftest.tmp" "conftest.in" 3988 cp "conftest.in" "conftest.nl" 3989 $as_echo '' >> "conftest.nl" 3990 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 3991 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3992 as_fn_arith $ac_count + 1 && ac_count=$as_val 3993 if test $ac_count -gt ${ac_path_SED_max-0}; then 3994 # Best one so far, save it but keep looking for a better one 3995 ac_cv_path_SED="$ac_path_SED" 3996 ac_path_SED_max=$ac_count 3997 fi 3998 # 10*(2^10) chars as input seems more than enough 3999 test $ac_count -gt 10 && break 4000 done 4001 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4002esac 4003 4004 $ac_path_SED_found && break 3 4005 done 4006 done 4007 done 4008IFS=$as_save_IFS 4009 if test -z "$ac_cv_path_SED"; then 4010 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4011 fi 4012else 4013 ac_cv_path_SED=$SED 4014fi 4015 4016fi 4017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4018$as_echo "$ac_cv_path_SED" >&6; } 4019 SED="$ac_cv_path_SED" 4020 rm -f conftest.sed 4021 4022test -z "$SED" && SED=sed 4023Xsed="$SED -e 1s/^X//" 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4036$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4037if ${ac_cv_path_GREP+:} false; then : 4038 $as_echo_n "(cached) " >&6 4039else 4040 if test -z "$GREP"; then 4041 ac_path_GREP_found=false 4042 # Loop through the user's path and test for each of PROGNAME-LIST 4043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4044for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4045do 4046 IFS=$as_save_IFS 4047 test -z "$as_dir" && as_dir=. 4048 for ac_prog in grep ggrep; do 4049 for ac_exec_ext in '' $ac_executable_extensions; do 4050 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4051 as_fn_executable_p "$ac_path_GREP" || continue 4052# Check for GNU ac_path_GREP and select it if it is found. 4053 # Check for GNU $ac_path_GREP 4054case `"$ac_path_GREP" --version 2>&1` in 4055*GNU*) 4056 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4057*) 4058 ac_count=0 4059 $as_echo_n 0123456789 >"conftest.in" 4060 while : 4061 do 4062 cat "conftest.in" "conftest.in" >"conftest.tmp" 4063 mv "conftest.tmp" "conftest.in" 4064 cp "conftest.in" "conftest.nl" 4065 $as_echo 'GREP' >> "conftest.nl" 4066 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4067 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4068 as_fn_arith $ac_count + 1 && ac_count=$as_val 4069 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4070 # Best one so far, save it but keep looking for a better one 4071 ac_cv_path_GREP="$ac_path_GREP" 4072 ac_path_GREP_max=$ac_count 4073 fi 4074 # 10*(2^10) chars as input seems more than enough 4075 test $ac_count -gt 10 && break 4076 done 4077 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4078esac 4079 4080 $ac_path_GREP_found && break 3 4081 done 4082 done 4083 done 4084IFS=$as_save_IFS 4085 if test -z "$ac_cv_path_GREP"; then 4086 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4087 fi 4088else 4089 ac_cv_path_GREP=$GREP 4090fi 4091 4092fi 4093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4094$as_echo "$ac_cv_path_GREP" >&6; } 4095 GREP="$ac_cv_path_GREP" 4096 4097 4098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4099$as_echo_n "checking for egrep... " >&6; } 4100if ${ac_cv_path_EGREP+:} false; then : 4101 $as_echo_n "(cached) " >&6 4102else 4103 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4104 then ac_cv_path_EGREP="$GREP -E" 4105 else 4106 if test -z "$EGREP"; then 4107 ac_path_EGREP_found=false 4108 # Loop through the user's path and test for each of PROGNAME-LIST 4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4110for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4111do 4112 IFS=$as_save_IFS 4113 test -z "$as_dir" && as_dir=. 4114 for ac_prog in egrep; do 4115 for ac_exec_ext in '' $ac_executable_extensions; do 4116 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4117 as_fn_executable_p "$ac_path_EGREP" || continue 4118# Check for GNU ac_path_EGREP and select it if it is found. 4119 # Check for GNU $ac_path_EGREP 4120case `"$ac_path_EGREP" --version 2>&1` in 4121*GNU*) 4122 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4123*) 4124 ac_count=0 4125 $as_echo_n 0123456789 >"conftest.in" 4126 while : 4127 do 4128 cat "conftest.in" "conftest.in" >"conftest.tmp" 4129 mv "conftest.tmp" "conftest.in" 4130 cp "conftest.in" "conftest.nl" 4131 $as_echo 'EGREP' >> "conftest.nl" 4132 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4133 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4134 as_fn_arith $ac_count + 1 && ac_count=$as_val 4135 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4136 # Best one so far, save it but keep looking for a better one 4137 ac_cv_path_EGREP="$ac_path_EGREP" 4138 ac_path_EGREP_max=$ac_count 4139 fi 4140 # 10*(2^10) chars as input seems more than enough 4141 test $ac_count -gt 10 && break 4142 done 4143 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4144esac 4145 4146 $ac_path_EGREP_found && break 3 4147 done 4148 done 4149 done 4150IFS=$as_save_IFS 4151 if test -z "$ac_cv_path_EGREP"; then 4152 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4153 fi 4154else 4155 ac_cv_path_EGREP=$EGREP 4156fi 4157 4158 fi 4159fi 4160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4161$as_echo "$ac_cv_path_EGREP" >&6; } 4162 EGREP="$ac_cv_path_EGREP" 4163 4164 4165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4166$as_echo_n "checking for fgrep... " >&6; } 4167if ${ac_cv_path_FGREP+:} false; then : 4168 $as_echo_n "(cached) " >&6 4169else 4170 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4171 then ac_cv_path_FGREP="$GREP -F" 4172 else 4173 if test -z "$FGREP"; then 4174 ac_path_FGREP_found=false 4175 # Loop through the user's path and test for each of PROGNAME-LIST 4176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4177for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4178do 4179 IFS=$as_save_IFS 4180 test -z "$as_dir" && as_dir=. 4181 for ac_prog in fgrep; do 4182 for ac_exec_ext in '' $ac_executable_extensions; do 4183 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4184 as_fn_executable_p "$ac_path_FGREP" || continue 4185# Check for GNU ac_path_FGREP and select it if it is found. 4186 # Check for GNU $ac_path_FGREP 4187case `"$ac_path_FGREP" --version 2>&1` in 4188*GNU*) 4189 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4190*) 4191 ac_count=0 4192 $as_echo_n 0123456789 >"conftest.in" 4193 while : 4194 do 4195 cat "conftest.in" "conftest.in" >"conftest.tmp" 4196 mv "conftest.tmp" "conftest.in" 4197 cp "conftest.in" "conftest.nl" 4198 $as_echo 'FGREP' >> "conftest.nl" 4199 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4200 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4201 as_fn_arith $ac_count + 1 && ac_count=$as_val 4202 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4203 # Best one so far, save it but keep looking for a better one 4204 ac_cv_path_FGREP="$ac_path_FGREP" 4205 ac_path_FGREP_max=$ac_count 4206 fi 4207 # 10*(2^10) chars as input seems more than enough 4208 test $ac_count -gt 10 && break 4209 done 4210 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4211esac 4212 4213 $ac_path_FGREP_found && break 3 4214 done 4215 done 4216 done 4217IFS=$as_save_IFS 4218 if test -z "$ac_cv_path_FGREP"; then 4219 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4220 fi 4221else 4222 ac_cv_path_FGREP=$FGREP 4223fi 4224 4225 fi 4226fi 4227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4228$as_echo "$ac_cv_path_FGREP" >&6; } 4229 FGREP="$ac_cv_path_FGREP" 4230 4231 4232test -z "$GREP" && GREP=grep 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252# Check whether --with-gnu-ld was given. 4253if test "${with_gnu_ld+set}" = set; then : 4254 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4255else 4256 with_gnu_ld=no 4257fi 4258 4259ac_prog=ld 4260if test "$GCC" = yes; then 4261 # Check if gcc -print-prog-name=ld gives a path. 4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4263$as_echo_n "checking for ld used by $CC... " >&6; } 4264 case $host in 4265 *-*-mingw*) 4266 # gcc leaves a trailing carriage return which upsets mingw 4267 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4268 *) 4269 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4270 esac 4271 case $ac_prog in 4272 # Accept absolute paths. 4273 [\\/]* | ?:[\\/]*) 4274 re_direlt='/[^/][^/]*/\.\./' 4275 # Canonicalize the pathname of ld 4276 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4277 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4278 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4279 done 4280 test -z "$LD" && LD="$ac_prog" 4281 ;; 4282 "") 4283 # If it fails, then pretend we aren't using GCC. 4284 ac_prog=ld 4285 ;; 4286 *) 4287 # If it is relative, then search for the first ld in PATH. 4288 with_gnu_ld=unknown 4289 ;; 4290 esac 4291elif test "$with_gnu_ld" = yes; then 4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4293$as_echo_n "checking for GNU ld... " >&6; } 4294else 4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4296$as_echo_n "checking for non-GNU ld... " >&6; } 4297fi 4298if ${lt_cv_path_LD+:} false; then : 4299 $as_echo_n "(cached) " >&6 4300else 4301 if test -z "$LD"; then 4302 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4303 for ac_dir in $PATH; do 4304 IFS="$lt_save_ifs" 4305 test -z "$ac_dir" && ac_dir=. 4306 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4307 lt_cv_path_LD="$ac_dir/$ac_prog" 4308 # Check to see if the program is GNU ld. I'd rather use --version, 4309 # but apparently some variants of GNU ld only accept -v. 4310 # Break only if it was the GNU/non-GNU ld that we prefer. 4311 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4312 *GNU* | *'with BFD'*) 4313 test "$with_gnu_ld" != no && break 4314 ;; 4315 *) 4316 test "$with_gnu_ld" != yes && break 4317 ;; 4318 esac 4319 fi 4320 done 4321 IFS="$lt_save_ifs" 4322else 4323 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4324fi 4325fi 4326 4327LD="$lt_cv_path_LD" 4328if test -n "$LD"; then 4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4330$as_echo "$LD" >&6; } 4331else 4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4333$as_echo "no" >&6; } 4334fi 4335test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4337$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4338if ${lt_cv_prog_gnu_ld+:} false; then : 4339 $as_echo_n "(cached) " >&6 4340else 4341 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4342case `$LD -v 2>&1 </dev/null` in 4343*GNU* | *'with BFD'*) 4344 lt_cv_prog_gnu_ld=yes 4345 ;; 4346*) 4347 lt_cv_prog_gnu_ld=no 4348 ;; 4349esac 4350fi 4351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4352$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4353with_gnu_ld=$lt_cv_prog_gnu_ld 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4364$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4365if ${lt_cv_path_NM+:} false; then : 4366 $as_echo_n "(cached) " >&6 4367else 4368 if test -n "$NM"; then 4369 # Let the user override the test. 4370 lt_cv_path_NM="$NM" 4371else 4372 lt_nm_to_check="${ac_tool_prefix}nm" 4373 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4374 lt_nm_to_check="$lt_nm_to_check nm" 4375 fi 4376 for lt_tmp_nm in $lt_nm_to_check; do 4377 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4378 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4379 IFS="$lt_save_ifs" 4380 test -z "$ac_dir" && ac_dir=. 4381 tmp_nm="$ac_dir/$lt_tmp_nm" 4382 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4383 # Check to see if the nm accepts a BSD-compat flag. 4384 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4385 # nm: unknown option "B" ignored 4386 # Tru64's nm complains that /dev/null is an invalid object file 4387 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4388 */dev/null* | *'Invalid file or object type'*) 4389 lt_cv_path_NM="$tmp_nm -B" 4390 break 4391 ;; 4392 *) 4393 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4394 */dev/null*) 4395 lt_cv_path_NM="$tmp_nm -p" 4396 break 4397 ;; 4398 *) 4399 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4400 continue # so that we can try to find one that supports BSD flags 4401 ;; 4402 esac 4403 ;; 4404 esac 4405 fi 4406 done 4407 IFS="$lt_save_ifs" 4408 done 4409 : ${lt_cv_path_NM=no} 4410fi 4411fi 4412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4413$as_echo "$lt_cv_path_NM" >&6; } 4414if test "$lt_cv_path_NM" != "no"; then 4415 NM="$lt_cv_path_NM" 4416else 4417 # Didn't find any BSD compatible name lister, look for dumpbin. 4418 if test -n "$DUMPBIN"; then : 4419 # Let the user override the test. 4420 else 4421 if test -n "$ac_tool_prefix"; then 4422 for ac_prog in dumpbin "link -dump" 4423 do 4424 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4425set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4427$as_echo_n "checking for $ac_word... " >&6; } 4428if ${ac_cv_prog_DUMPBIN+:} false; then : 4429 $as_echo_n "(cached) " >&6 4430else 4431 if test -n "$DUMPBIN"; then 4432 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4433else 4434as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4435for as_dir in $PATH 4436do 4437 IFS=$as_save_IFS 4438 test -z "$as_dir" && as_dir=. 4439 for ac_exec_ext in '' $ac_executable_extensions; do 4440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4441 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4443 break 2 4444 fi 4445done 4446 done 4447IFS=$as_save_IFS 4448 4449fi 4450fi 4451DUMPBIN=$ac_cv_prog_DUMPBIN 4452if test -n "$DUMPBIN"; then 4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4454$as_echo "$DUMPBIN" >&6; } 4455else 4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4457$as_echo "no" >&6; } 4458fi 4459 4460 4461 test -n "$DUMPBIN" && break 4462 done 4463fi 4464if test -z "$DUMPBIN"; then 4465 ac_ct_DUMPBIN=$DUMPBIN 4466 for ac_prog in dumpbin "link -dump" 4467do 4468 # Extract the first word of "$ac_prog", so it can be a program name with args. 4469set dummy $ac_prog; ac_word=$2 4470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4471$as_echo_n "checking for $ac_word... " >&6; } 4472if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4473 $as_echo_n "(cached) " >&6 4474else 4475 if test -n "$ac_ct_DUMPBIN"; then 4476 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4477else 4478as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4479for as_dir in $PATH 4480do 4481 IFS=$as_save_IFS 4482 test -z "$as_dir" && as_dir=. 4483 for ac_exec_ext in '' $ac_executable_extensions; do 4484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4485 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4487 break 2 4488 fi 4489done 4490 done 4491IFS=$as_save_IFS 4492 4493fi 4494fi 4495ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4496if test -n "$ac_ct_DUMPBIN"; then 4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4498$as_echo "$ac_ct_DUMPBIN" >&6; } 4499else 4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4501$as_echo "no" >&6; } 4502fi 4503 4504 4505 test -n "$ac_ct_DUMPBIN" && break 4506done 4507 4508 if test "x$ac_ct_DUMPBIN" = x; then 4509 DUMPBIN=":" 4510 else 4511 case $cross_compiling:$ac_tool_warned in 4512yes:) 4513{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4514$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4515ac_tool_warned=yes ;; 4516esac 4517 DUMPBIN=$ac_ct_DUMPBIN 4518 fi 4519fi 4520 4521 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4522 *COFF*) 4523 DUMPBIN="$DUMPBIN -symbols" 4524 ;; 4525 *) 4526 DUMPBIN=: 4527 ;; 4528 esac 4529 fi 4530 4531 if test "$DUMPBIN" != ":"; then 4532 NM="$DUMPBIN" 4533 fi 4534fi 4535test -z "$NM" && NM=nm 4536 4537 4538 4539 4540 4541 4542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4543$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4544if ${lt_cv_nm_interface+:} false; then : 4545 $as_echo_n "(cached) " >&6 4546else 4547 lt_cv_nm_interface="BSD nm" 4548 echo "int some_variable = 0;" > conftest.$ac_ext 4549 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4550 (eval "$ac_compile" 2>conftest.err) 4551 cat conftest.err >&5 4552 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4553 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4554 cat conftest.err >&5 4555 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4556 cat conftest.out >&5 4557 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4558 lt_cv_nm_interface="MS dumpbin" 4559 fi 4560 rm -f conftest* 4561fi 4562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4563$as_echo "$lt_cv_nm_interface" >&6; } 4564 4565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4566$as_echo_n "checking whether ln -s works... " >&6; } 4567LN_S=$as_ln_s 4568if test "$LN_S" = "ln -s"; then 4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4570$as_echo "yes" >&6; } 4571else 4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4573$as_echo "no, using $LN_S" >&6; } 4574fi 4575 4576# find the maximum length of command line arguments 4577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4578$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4579if ${lt_cv_sys_max_cmd_len+:} false; then : 4580 $as_echo_n "(cached) " >&6 4581else 4582 i=0 4583 teststring="ABCD" 4584 4585 case $build_os in 4586 msdosdjgpp*) 4587 # On DJGPP, this test can blow up pretty badly due to problems in libc 4588 # (any single argument exceeding 2000 bytes causes a buffer overrun 4589 # during glob expansion). Even if it were fixed, the result of this 4590 # check would be larger than it should be. 4591 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4592 ;; 4593 4594 gnu*) 4595 # Under GNU Hurd, this test is not required because there is 4596 # no limit to the length of command line arguments. 4597 # Libtool will interpret -1 as no limit whatsoever 4598 lt_cv_sys_max_cmd_len=-1; 4599 ;; 4600 4601 cygwin* | mingw* | cegcc*) 4602 # On Win9x/ME, this test blows up -- it succeeds, but takes 4603 # about 5 minutes as the teststring grows exponentially. 4604 # Worse, since 9x/ME are not pre-emptively multitasking, 4605 # you end up with a "frozen" computer, even though with patience 4606 # the test eventually succeeds (with a max line length of 256k). 4607 # Instead, let's just punt: use the minimum linelength reported by 4608 # all of the supported platforms: 8192 (on NT/2K/XP). 4609 lt_cv_sys_max_cmd_len=8192; 4610 ;; 4611 4612 mint*) 4613 # On MiNT this can take a long time and run out of memory. 4614 lt_cv_sys_max_cmd_len=8192; 4615 ;; 4616 4617 amigaos*) 4618 # On AmigaOS with pdksh, this test takes hours, literally. 4619 # So we just punt and use a minimum line length of 8192. 4620 lt_cv_sys_max_cmd_len=8192; 4621 ;; 4622 4623 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4624 # This has been around since 386BSD, at least. Likely further. 4625 if test -x /sbin/sysctl; then 4626 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4627 elif test -x /usr/sbin/sysctl; then 4628 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4629 else 4630 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4631 fi 4632 # And add a safety zone 4633 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4634 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4635 ;; 4636 4637 interix*) 4638 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4639 lt_cv_sys_max_cmd_len=196608 4640 ;; 4641 4642 osf*) 4643 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4644 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4645 # nice to cause kernel panics so lets avoid the loop below. 4646 # First set a reasonable default. 4647 lt_cv_sys_max_cmd_len=16384 4648 # 4649 if test -x /sbin/sysconfig; then 4650 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4651 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4652 esac 4653 fi 4654 ;; 4655 sco3.2v5*) 4656 lt_cv_sys_max_cmd_len=102400 4657 ;; 4658 sysv5* | sco5v6* | sysv4.2uw2*) 4659 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4660 if test -n "$kargmax"; then 4661 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4662 else 4663 lt_cv_sys_max_cmd_len=32768 4664 fi 4665 ;; 4666 *) 4667 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4668 if test -n "$lt_cv_sys_max_cmd_len"; then 4669 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4670 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4671 else 4672 # Make teststring a little bigger before we do anything with it. 4673 # a 1K string should be a reasonable start. 4674 for i in 1 2 3 4 5 6 7 8 ; do 4675 teststring=$teststring$teststring 4676 done 4677 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4678 # If test is not a shell built-in, we'll probably end up computing a 4679 # maximum length that is only half of the actual maximum length, but 4680 # we can't tell. 4681 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ 4682 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4683 test $i != 17 # 1/2 MB should be enough 4684 do 4685 i=`expr $i + 1` 4686 teststring=$teststring$teststring 4687 done 4688 # Only check the string length outside the loop. 4689 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4690 teststring= 4691 # Add a significant safety factor because C++ compilers can tack on 4692 # massive amounts of additional arguments before passing them to the 4693 # linker. It appears as though 1/2 is a usable value. 4694 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4695 fi 4696 ;; 4697 esac 4698 4699fi 4700 4701if test -n $lt_cv_sys_max_cmd_len ; then 4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4703$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4704else 4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4706$as_echo "none" >&6; } 4707fi 4708max_cmd_len=$lt_cv_sys_max_cmd_len 4709 4710 4711 4712 4713 4714 4715: ${CP="cp -f"} 4716: ${MV="mv -f"} 4717: ${RM="rm -f"} 4718 4719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4720$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4721# Try some XSI features 4722xsi_shell=no 4723( _lt_dummy="a/b/c" 4724 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 4725 = c,a/b,b/c, \ 4726 && eval 'test $(( 1 + 1 )) -eq 2 \ 4727 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4728 && xsi_shell=yes 4729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4730$as_echo "$xsi_shell" >&6; } 4731 4732 4733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4734$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4735lt_shell_append=no 4736( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4737 >/dev/null 2>&1 \ 4738 && lt_shell_append=yes 4739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4740$as_echo "$lt_shell_append" >&6; } 4741 4742 4743if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4744 lt_unset=unset 4745else 4746 lt_unset=false 4747fi 4748 4749 4750 4751 4752 4753# test EBCDIC or ASCII 4754case `echo X|tr X '\101'` in 4755 A) # ASCII based system 4756 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4757 lt_SP2NL='tr \040 \012' 4758 lt_NL2SP='tr \015\012 \040\040' 4759 ;; 4760 *) # EBCDIC based system 4761 lt_SP2NL='tr \100 \n' 4762 lt_NL2SP='tr \r\n \100\100' 4763 ;; 4764esac 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4775$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4776if ${lt_cv_to_host_file_cmd+:} false; then : 4777 $as_echo_n "(cached) " >&6 4778else 4779 case $host in 4780 *-*-mingw* ) 4781 case $build in 4782 *-*-mingw* ) # actually msys 4783 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4784 ;; 4785 *-*-cygwin* ) 4786 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4787 ;; 4788 * ) # otherwise, assume *nix 4789 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4790 ;; 4791 esac 4792 ;; 4793 *-*-cygwin* ) 4794 case $build in 4795 *-*-mingw* ) # actually msys 4796 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4797 ;; 4798 *-*-cygwin* ) 4799 lt_cv_to_host_file_cmd=func_convert_file_noop 4800 ;; 4801 * ) # otherwise, assume *nix 4802 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 4803 ;; 4804 esac 4805 ;; 4806 * ) # unhandled hosts (and "normal" native builds) 4807 lt_cv_to_host_file_cmd=func_convert_file_noop 4808 ;; 4809esac 4810 4811fi 4812 4813to_host_file_cmd=$lt_cv_to_host_file_cmd 4814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4815$as_echo "$lt_cv_to_host_file_cmd" >&6; } 4816 4817 4818 4819 4820 4821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4822$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4823if ${lt_cv_to_tool_file_cmd+:} false; then : 4824 $as_echo_n "(cached) " >&6 4825else 4826 #assume ordinary cross tools, or native build. 4827lt_cv_to_tool_file_cmd=func_convert_file_noop 4828case $host in 4829 *-*-mingw* ) 4830 case $build in 4831 *-*-mingw* ) # actually msys 4832 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 4833 ;; 4834 esac 4835 ;; 4836esac 4837 4838fi 4839 4840to_tool_file_cmd=$lt_cv_to_tool_file_cmd 4841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 4842$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 4843 4844 4845 4846 4847 4848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4849$as_echo_n "checking for $LD option to reload object files... " >&6; } 4850if ${lt_cv_ld_reload_flag+:} false; then : 4851 $as_echo_n "(cached) " >&6 4852else 4853 lt_cv_ld_reload_flag='-r' 4854fi 4855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4856$as_echo "$lt_cv_ld_reload_flag" >&6; } 4857reload_flag=$lt_cv_ld_reload_flag 4858case $reload_flag in 4859"" | " "*) ;; 4860*) reload_flag=" $reload_flag" ;; 4861esac 4862reload_cmds='$LD$reload_flag -o $output$reload_objs' 4863case $host_os in 4864 cygwin* | mingw* | pw32* | cegcc*) 4865 if test "$GCC" != yes; then 4866 reload_cmds=false 4867 fi 4868 ;; 4869 darwin*) 4870 if test "$GCC" = yes; then 4871 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 4872 else 4873 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4874 fi 4875 ;; 4876esac 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886if test -n "$ac_tool_prefix"; then 4887 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4888set dummy ${ac_tool_prefix}objdump; ac_word=$2 4889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4890$as_echo_n "checking for $ac_word... " >&6; } 4891if ${ac_cv_prog_OBJDUMP+:} false; then : 4892 $as_echo_n "(cached) " >&6 4893else 4894 if test -n "$OBJDUMP"; then 4895 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4896else 4897as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4898for as_dir in $PATH 4899do 4900 IFS=$as_save_IFS 4901 test -z "$as_dir" && as_dir=. 4902 for ac_exec_ext in '' $ac_executable_extensions; do 4903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4904 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4906 break 2 4907 fi 4908done 4909 done 4910IFS=$as_save_IFS 4911 4912fi 4913fi 4914OBJDUMP=$ac_cv_prog_OBJDUMP 4915if test -n "$OBJDUMP"; then 4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4917$as_echo "$OBJDUMP" >&6; } 4918else 4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4920$as_echo "no" >&6; } 4921fi 4922 4923 4924fi 4925if test -z "$ac_cv_prog_OBJDUMP"; then 4926 ac_ct_OBJDUMP=$OBJDUMP 4927 # Extract the first word of "objdump", so it can be a program name with args. 4928set dummy objdump; ac_word=$2 4929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4930$as_echo_n "checking for $ac_word... " >&6; } 4931if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4932 $as_echo_n "(cached) " >&6 4933else 4934 if test -n "$ac_ct_OBJDUMP"; then 4935 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4936else 4937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4938for as_dir in $PATH 4939do 4940 IFS=$as_save_IFS 4941 test -z "$as_dir" && as_dir=. 4942 for ac_exec_ext in '' $ac_executable_extensions; do 4943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4944 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4946 break 2 4947 fi 4948done 4949 done 4950IFS=$as_save_IFS 4951 4952fi 4953fi 4954ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4955if test -n "$ac_ct_OBJDUMP"; then 4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4957$as_echo "$ac_ct_OBJDUMP" >&6; } 4958else 4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4960$as_echo "no" >&6; } 4961fi 4962 4963 if test "x$ac_ct_OBJDUMP" = x; then 4964 OBJDUMP="false" 4965 else 4966 case $cross_compiling:$ac_tool_warned in 4967yes:) 4968{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4969$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4970ac_tool_warned=yes ;; 4971esac 4972 OBJDUMP=$ac_ct_OBJDUMP 4973 fi 4974else 4975 OBJDUMP="$ac_cv_prog_OBJDUMP" 4976fi 4977 4978test -z "$OBJDUMP" && OBJDUMP=objdump 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 4989$as_echo_n "checking how to recognize dependent libraries... " >&6; } 4990if ${lt_cv_deplibs_check_method+:} false; then : 4991 $as_echo_n "(cached) " >&6 4992else 4993 lt_cv_file_magic_cmd='$MAGIC_CMD' 4994lt_cv_file_magic_test_file= 4995lt_cv_deplibs_check_method='unknown' 4996# Need to set the preceding variable on all platforms that support 4997# interlibrary dependencies. 4998# 'none' -- dependencies not supported. 4999# `unknown' -- same as none, but documents that we really don't know. 5000# 'pass_all' -- all dependencies passed with no checks. 5001# 'test_compile' -- check by making test program. 5002# 'file_magic [[regex]]' -- check by looking for files in library path 5003# which responds to the $file_magic_cmd with a given extended regex. 5004# If you have `file' or equivalent on your system and you're not sure 5005# whether `pass_all' will *always* work, you probably want this one. 5006 5007case $host_os in 5008aix[4-9]*) 5009 lt_cv_deplibs_check_method=pass_all 5010 ;; 5011 5012beos*) 5013 lt_cv_deplibs_check_method=pass_all 5014 ;; 5015 5016bsdi[45]*) 5017 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5018 lt_cv_file_magic_cmd='/usr/bin/file -L' 5019 lt_cv_file_magic_test_file=/shlib/libc.so 5020 ;; 5021 5022cygwin*) 5023 # func_win32_libid is a shell function defined in ltmain.sh 5024 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5025 lt_cv_file_magic_cmd='func_win32_libid' 5026 ;; 5027 5028mingw* | pw32*) 5029 # Base MSYS/MinGW do not provide the 'file' command needed by 5030 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5031 # unless we find 'file', for example because we are cross-compiling. 5032 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5033 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5034 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5035 lt_cv_file_magic_cmd='func_win32_libid' 5036 else 5037 # Keep this pattern in sync with the one in func_win32_libid. 5038 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5039 lt_cv_file_magic_cmd='$OBJDUMP -f' 5040 fi 5041 ;; 5042 5043cegcc*) 5044 # use the weaker test based on 'objdump'. See mingw*. 5045 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5046 lt_cv_file_magic_cmd='$OBJDUMP -f' 5047 ;; 5048 5049darwin* | rhapsody*) 5050 lt_cv_deplibs_check_method=pass_all 5051 ;; 5052 5053freebsd* | dragonfly*) 5054 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5055 case $host_cpu in 5056 i*86 ) 5057 # Not sure whether the presence of OpenBSD here was a mistake. 5058 # Let's accept both of them until this is cleared up. 5059 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5060 lt_cv_file_magic_cmd=/usr/bin/file 5061 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5062 ;; 5063 esac 5064 else 5065 lt_cv_deplibs_check_method=pass_all 5066 fi 5067 ;; 5068 5069gnu*) 5070 lt_cv_deplibs_check_method=pass_all 5071 ;; 5072 5073haiku*) 5074 lt_cv_deplibs_check_method=pass_all 5075 ;; 5076 5077hpux10.20* | hpux11*) 5078 lt_cv_file_magic_cmd=/usr/bin/file 5079 case $host_cpu in 5080 ia64*) 5081 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5082 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5083 ;; 5084 hppa*64*) 5085 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]' 5086 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5087 ;; 5088 *) 5089 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5090 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5091 ;; 5092 esac 5093 ;; 5094 5095interix[3-9]*) 5096 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5097 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5098 ;; 5099 5100irix5* | irix6* | nonstopux*) 5101 case $LD in 5102 *-32|*"-32 ") libmagic=32-bit;; 5103 *-n32|*"-n32 ") libmagic=N32;; 5104 *-64|*"-64 ") libmagic=64-bit;; 5105 *) libmagic=never-match;; 5106 esac 5107 lt_cv_deplibs_check_method=pass_all 5108 ;; 5109 5110# This must be Linux ELF. 5111linux* | k*bsd*-gnu | kopensolaris*-gnu) 5112 lt_cv_deplibs_check_method=pass_all 5113 ;; 5114 5115netbsd*) 5116 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5117 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5118 else 5119 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5120 fi 5121 ;; 5122 5123newos6*) 5124 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5125 lt_cv_file_magic_cmd=/usr/bin/file 5126 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5127 ;; 5128 5129*nto* | *qnx*) 5130 lt_cv_deplibs_check_method=pass_all 5131 ;; 5132 5133openbsd*) 5134 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5135 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5136 else 5137 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5138 fi 5139 ;; 5140 5141osf3* | osf4* | osf5*) 5142 lt_cv_deplibs_check_method=pass_all 5143 ;; 5144 5145rdos*) 5146 lt_cv_deplibs_check_method=pass_all 5147 ;; 5148 5149solaris*) 5150 lt_cv_deplibs_check_method=pass_all 5151 ;; 5152 5153sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5154 lt_cv_deplibs_check_method=pass_all 5155 ;; 5156 5157sysv4 | sysv4.3*) 5158 case $host_vendor in 5159 motorola) 5160 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]' 5161 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5162 ;; 5163 ncr) 5164 lt_cv_deplibs_check_method=pass_all 5165 ;; 5166 sequent) 5167 lt_cv_file_magic_cmd='/bin/file' 5168 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5169 ;; 5170 sni) 5171 lt_cv_file_magic_cmd='/bin/file' 5172 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5173 lt_cv_file_magic_test_file=/lib/libc.so 5174 ;; 5175 siemens) 5176 lt_cv_deplibs_check_method=pass_all 5177 ;; 5178 pc) 5179 lt_cv_deplibs_check_method=pass_all 5180 ;; 5181 esac 5182 ;; 5183 5184tpf*) 5185 lt_cv_deplibs_check_method=pass_all 5186 ;; 5187esac 5188 5189fi 5190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5191$as_echo "$lt_cv_deplibs_check_method" >&6; } 5192 5193file_magic_glob= 5194want_nocaseglob=no 5195if test "$build" = "$host"; then 5196 case $host_os in 5197 mingw* | pw32*) 5198 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5199 want_nocaseglob=yes 5200 else 5201 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5202 fi 5203 ;; 5204 esac 5205fi 5206 5207file_magic_cmd=$lt_cv_file_magic_cmd 5208deplibs_check_method=$lt_cv_deplibs_check_method 5209test -z "$deplibs_check_method" && deplibs_check_method=unknown 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232if test -n "$ac_tool_prefix"; then 5233 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5234set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5236$as_echo_n "checking for $ac_word... " >&6; } 5237if ${ac_cv_prog_DLLTOOL+:} false; then : 5238 $as_echo_n "(cached) " >&6 5239else 5240 if test -n "$DLLTOOL"; then 5241 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5242else 5243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5244for as_dir in $PATH 5245do 5246 IFS=$as_save_IFS 5247 test -z "$as_dir" && as_dir=. 5248 for ac_exec_ext in '' $ac_executable_extensions; do 5249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5250 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5252 break 2 5253 fi 5254done 5255 done 5256IFS=$as_save_IFS 5257 5258fi 5259fi 5260DLLTOOL=$ac_cv_prog_DLLTOOL 5261if test -n "$DLLTOOL"; then 5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5263$as_echo "$DLLTOOL" >&6; } 5264else 5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5266$as_echo "no" >&6; } 5267fi 5268 5269 5270fi 5271if test -z "$ac_cv_prog_DLLTOOL"; then 5272 ac_ct_DLLTOOL=$DLLTOOL 5273 # Extract the first word of "dlltool", so it can be a program name with args. 5274set dummy dlltool; ac_word=$2 5275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5276$as_echo_n "checking for $ac_word... " >&6; } 5277if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5278 $as_echo_n "(cached) " >&6 5279else 5280 if test -n "$ac_ct_DLLTOOL"; then 5281 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5282else 5283as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5284for as_dir in $PATH 5285do 5286 IFS=$as_save_IFS 5287 test -z "$as_dir" && as_dir=. 5288 for ac_exec_ext in '' $ac_executable_extensions; do 5289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5290 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5292 break 2 5293 fi 5294done 5295 done 5296IFS=$as_save_IFS 5297 5298fi 5299fi 5300ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5301if test -n "$ac_ct_DLLTOOL"; then 5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5303$as_echo "$ac_ct_DLLTOOL" >&6; } 5304else 5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5306$as_echo "no" >&6; } 5307fi 5308 5309 if test "x$ac_ct_DLLTOOL" = x; then 5310 DLLTOOL="false" 5311 else 5312 case $cross_compiling:$ac_tool_warned in 5313yes:) 5314{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5315$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5316ac_tool_warned=yes ;; 5317esac 5318 DLLTOOL=$ac_ct_DLLTOOL 5319 fi 5320else 5321 DLLTOOL="$ac_cv_prog_DLLTOOL" 5322fi 5323 5324test -z "$DLLTOOL" && DLLTOOL=dlltool 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5336$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5337if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5338 $as_echo_n "(cached) " >&6 5339else 5340 lt_cv_sharedlib_from_linklib_cmd='unknown' 5341 5342case $host_os in 5343cygwin* | mingw* | pw32* | cegcc*) 5344 # two different shell functions defined in ltmain.sh 5345 # decide which to use based on capabilities of $DLLTOOL 5346 case `$DLLTOOL --help 2>&1` in 5347 *--identify-strict*) 5348 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5349 ;; 5350 *) 5351 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5352 ;; 5353 esac 5354 ;; 5355*) 5356 # fallback: assume linklib IS sharedlib 5357 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5358 ;; 5359esac 5360 5361fi 5362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5363$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5364sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5365test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5366 5367 5368 5369 5370 5371 5372 5373 5374if test -n "$ac_tool_prefix"; then 5375 for ac_prog in ar 5376 do 5377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5378set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5380$as_echo_n "checking for $ac_word... " >&6; } 5381if ${ac_cv_prog_AR+:} false; then : 5382 $as_echo_n "(cached) " >&6 5383else 5384 if test -n "$AR"; then 5385 ac_cv_prog_AR="$AR" # Let the user override the test. 5386else 5387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5388for as_dir in $PATH 5389do 5390 IFS=$as_save_IFS 5391 test -z "$as_dir" && as_dir=. 5392 for ac_exec_ext in '' $ac_executable_extensions; do 5393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5394 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5396 break 2 5397 fi 5398done 5399 done 5400IFS=$as_save_IFS 5401 5402fi 5403fi 5404AR=$ac_cv_prog_AR 5405if test -n "$AR"; then 5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5407$as_echo "$AR" >&6; } 5408else 5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5410$as_echo "no" >&6; } 5411fi 5412 5413 5414 test -n "$AR" && break 5415 done 5416fi 5417if test -z "$AR"; then 5418 ac_ct_AR=$AR 5419 for ac_prog in ar 5420do 5421 # Extract the first word of "$ac_prog", so it can be a program name with args. 5422set dummy $ac_prog; ac_word=$2 5423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5424$as_echo_n "checking for $ac_word... " >&6; } 5425if ${ac_cv_prog_ac_ct_AR+:} false; then : 5426 $as_echo_n "(cached) " >&6 5427else 5428 if test -n "$ac_ct_AR"; then 5429 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5430else 5431as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5432for as_dir in $PATH 5433do 5434 IFS=$as_save_IFS 5435 test -z "$as_dir" && as_dir=. 5436 for ac_exec_ext in '' $ac_executable_extensions; do 5437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5438 ac_cv_prog_ac_ct_AR="$ac_prog" 5439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5440 break 2 5441 fi 5442done 5443 done 5444IFS=$as_save_IFS 5445 5446fi 5447fi 5448ac_ct_AR=$ac_cv_prog_ac_ct_AR 5449if test -n "$ac_ct_AR"; then 5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5451$as_echo "$ac_ct_AR" >&6; } 5452else 5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5454$as_echo "no" >&6; } 5455fi 5456 5457 5458 test -n "$ac_ct_AR" && break 5459done 5460 5461 if test "x$ac_ct_AR" = x; then 5462 AR="false" 5463 else 5464 case $cross_compiling:$ac_tool_warned in 5465yes:) 5466{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5467$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5468ac_tool_warned=yes ;; 5469esac 5470 AR=$ac_ct_AR 5471 fi 5472fi 5473 5474: ${AR=ar} 5475: ${AR_FLAGS=cru} 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5488$as_echo_n "checking for archiver @FILE support... " >&6; } 5489if ${lt_cv_ar_at_file+:} false; then : 5490 $as_echo_n "(cached) " >&6 5491else 5492 lt_cv_ar_at_file=no 5493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5494/* end confdefs.h. */ 5495 5496int 5497main () 5498{ 5499 5500 ; 5501 return 0; 5502} 5503_ACEOF 5504if ac_fn_c_try_compile "$LINENO"; then : 5505 echo conftest.$ac_objext > conftest.lst 5506 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5507 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5508 (eval $lt_ar_try) 2>&5 5509 ac_status=$? 5510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5511 test $ac_status = 0; } 5512 if test "$ac_status" -eq 0; then 5513 # Ensure the archiver fails upon bogus file names. 5514 rm -f conftest.$ac_objext libconftest.a 5515 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5516 (eval $lt_ar_try) 2>&5 5517 ac_status=$? 5518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5519 test $ac_status = 0; } 5520 if test "$ac_status" -ne 0; then 5521 lt_cv_ar_at_file=@ 5522 fi 5523 fi 5524 rm -f conftest.* libconftest.a 5525 5526fi 5527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5528 5529fi 5530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5531$as_echo "$lt_cv_ar_at_file" >&6; } 5532 5533if test "x$lt_cv_ar_at_file" = xno; then 5534 archiver_list_spec= 5535else 5536 archiver_list_spec=$lt_cv_ar_at_file 5537fi 5538 5539 5540 5541 5542 5543 5544 5545if test -n "$ac_tool_prefix"; then 5546 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5547set dummy ${ac_tool_prefix}strip; ac_word=$2 5548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5549$as_echo_n "checking for $ac_word... " >&6; } 5550if ${ac_cv_prog_STRIP+:} false; then : 5551 $as_echo_n "(cached) " >&6 5552else 5553 if test -n "$STRIP"; then 5554 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5555else 5556as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5557for as_dir in $PATH 5558do 5559 IFS=$as_save_IFS 5560 test -z "$as_dir" && as_dir=. 5561 for ac_exec_ext in '' $ac_executable_extensions; do 5562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5563 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5565 break 2 5566 fi 5567done 5568 done 5569IFS=$as_save_IFS 5570 5571fi 5572fi 5573STRIP=$ac_cv_prog_STRIP 5574if test -n "$STRIP"; then 5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5576$as_echo "$STRIP" >&6; } 5577else 5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5579$as_echo "no" >&6; } 5580fi 5581 5582 5583fi 5584if test -z "$ac_cv_prog_STRIP"; then 5585 ac_ct_STRIP=$STRIP 5586 # Extract the first word of "strip", so it can be a program name with args. 5587set dummy strip; ac_word=$2 5588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5589$as_echo_n "checking for $ac_word... " >&6; } 5590if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5591 $as_echo_n "(cached) " >&6 5592else 5593 if test -n "$ac_ct_STRIP"; then 5594 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5595else 5596as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5597for as_dir in $PATH 5598do 5599 IFS=$as_save_IFS 5600 test -z "$as_dir" && as_dir=. 5601 for ac_exec_ext in '' $ac_executable_extensions; do 5602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5603 ac_cv_prog_ac_ct_STRIP="strip" 5604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5605 break 2 5606 fi 5607done 5608 done 5609IFS=$as_save_IFS 5610 5611fi 5612fi 5613ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5614if test -n "$ac_ct_STRIP"; then 5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5616$as_echo "$ac_ct_STRIP" >&6; } 5617else 5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5619$as_echo "no" >&6; } 5620fi 5621 5622 if test "x$ac_ct_STRIP" = x; then 5623 STRIP=":" 5624 else 5625 case $cross_compiling:$ac_tool_warned in 5626yes:) 5627{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5628$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5629ac_tool_warned=yes ;; 5630esac 5631 STRIP=$ac_ct_STRIP 5632 fi 5633else 5634 STRIP="$ac_cv_prog_STRIP" 5635fi 5636 5637test -z "$STRIP" && STRIP=: 5638 5639 5640 5641 5642 5643 5644if test -n "$ac_tool_prefix"; then 5645 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5646set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5648$as_echo_n "checking for $ac_word... " >&6; } 5649if ${ac_cv_prog_RANLIB+:} false; then : 5650 $as_echo_n "(cached) " >&6 5651else 5652 if test -n "$RANLIB"; then 5653 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5654else 5655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5656for as_dir in $PATH 5657do 5658 IFS=$as_save_IFS 5659 test -z "$as_dir" && as_dir=. 5660 for ac_exec_ext in '' $ac_executable_extensions; do 5661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5662 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5664 break 2 5665 fi 5666done 5667 done 5668IFS=$as_save_IFS 5669 5670fi 5671fi 5672RANLIB=$ac_cv_prog_RANLIB 5673if test -n "$RANLIB"; then 5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5675$as_echo "$RANLIB" >&6; } 5676else 5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5678$as_echo "no" >&6; } 5679fi 5680 5681 5682fi 5683if test -z "$ac_cv_prog_RANLIB"; then 5684 ac_ct_RANLIB=$RANLIB 5685 # Extract the first word of "ranlib", so it can be a program name with args. 5686set dummy ranlib; ac_word=$2 5687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5688$as_echo_n "checking for $ac_word... " >&6; } 5689if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5690 $as_echo_n "(cached) " >&6 5691else 5692 if test -n "$ac_ct_RANLIB"; then 5693 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5694else 5695as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5696for as_dir in $PATH 5697do 5698 IFS=$as_save_IFS 5699 test -z "$as_dir" && as_dir=. 5700 for ac_exec_ext in '' $ac_executable_extensions; do 5701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5702 ac_cv_prog_ac_ct_RANLIB="ranlib" 5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5704 break 2 5705 fi 5706done 5707 done 5708IFS=$as_save_IFS 5709 5710fi 5711fi 5712ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5713if test -n "$ac_ct_RANLIB"; then 5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5715$as_echo "$ac_ct_RANLIB" >&6; } 5716else 5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5718$as_echo "no" >&6; } 5719fi 5720 5721 if test "x$ac_ct_RANLIB" = x; then 5722 RANLIB=":" 5723 else 5724 case $cross_compiling:$ac_tool_warned in 5725yes:) 5726{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5727$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5728ac_tool_warned=yes ;; 5729esac 5730 RANLIB=$ac_ct_RANLIB 5731 fi 5732else 5733 RANLIB="$ac_cv_prog_RANLIB" 5734fi 5735 5736test -z "$RANLIB" && RANLIB=: 5737 5738 5739 5740 5741 5742 5743# Determine commands to create old-style static archives. 5744old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5745old_postinstall_cmds='chmod 644 $oldlib' 5746old_postuninstall_cmds= 5747 5748if test -n "$RANLIB"; then 5749 case $host_os in 5750 openbsd*) 5751 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5752 ;; 5753 *) 5754 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5755 ;; 5756 esac 5757 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5758fi 5759 5760case $host_os in 5761 darwin*) 5762 lock_old_archive_extraction=yes ;; 5763 *) 5764 lock_old_archive_extraction=no ;; 5765esac 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805# If no C compiler was specified, use CC. 5806LTCC=${LTCC-"$CC"} 5807 5808# If no C compiler flags were specified, use CFLAGS. 5809LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5810 5811# Allow CC to be a program name with arguments. 5812compiler=$CC 5813 5814 5815# Check for command to grab the raw symbol name followed by C symbol from nm. 5816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5817$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5818if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5819 $as_echo_n "(cached) " >&6 5820else 5821 5822# These are sane defaults that work on at least a few old systems. 5823# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5824 5825# Character class describing NM global symbol codes. 5826symcode='[BCDEGRST]' 5827 5828# Regexp to match symbols that can be accessed directly from C. 5829sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5830 5831# Define system-specific variables. 5832case $host_os in 5833aix*) 5834 symcode='[BCDT]' 5835 ;; 5836cygwin* | mingw* | pw32* | cegcc*) 5837 symcode='[ABCDGISTW]' 5838 ;; 5839hpux*) 5840 if test "$host_cpu" = ia64; then 5841 symcode='[ABCDEGRST]' 5842 fi 5843 ;; 5844irix* | nonstopux*) 5845 symcode='[BCDEGRST]' 5846 ;; 5847osf*) 5848 symcode='[BCDEGQRST]' 5849 ;; 5850solaris*) 5851 symcode='[BDRT]' 5852 ;; 5853sco3.2v5*) 5854 symcode='[DT]' 5855 ;; 5856sysv4.2uw2*) 5857 symcode='[DT]' 5858 ;; 5859sysv5* | sco5v6* | unixware* | OpenUNIX*) 5860 symcode='[ABDT]' 5861 ;; 5862sysv4) 5863 symcode='[DFNSTU]' 5864 ;; 5865esac 5866 5867# If we're using GNU nm, then use its standard symbol codes. 5868case `$NM -V 2>&1` in 5869*GNU* | *'with BFD'*) 5870 symcode='[ABCDGIRSTW]' ;; 5871esac 5872 5873# Transform an extracted symbol line into a proper C declaration. 5874# Some systems (esp. on ia64) link data and code symbols differently, 5875# so use this general approach. 5876lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5877 5878# Transform an extracted symbol line into symbol name and symbol address 5879lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5880lt_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'" 5881 5882# Handle CRLF in mingw tool chain 5883opt_cr= 5884case $build_os in 5885mingw*) 5886 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5887 ;; 5888esac 5889 5890# Try without a prefix underscore, then with it. 5891for ac_symprfx in "" "_"; do 5892 5893 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5894 symxfrm="\\1 $ac_symprfx\\2 \\2" 5895 5896 # Write the raw and C identifiers. 5897 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5898 # Fake it for dumpbin and say T for any non-static function 5899 # and D for any global variable. 5900 # Also find C++ and __fastcall symbols from MSVC++, 5901 # which start with @ or ?. 5902 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5903" {last_section=section; section=\$ 3};"\ 5904" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5905" \$ 0!~/External *\|/{next};"\ 5906" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5907" {if(hide[section]) next};"\ 5908" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 5909" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 5910" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 5911" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 5912" ' prfx=^$ac_symprfx" 5913 else 5914 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5915 fi 5916 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 5917 5918 # Check to see that the pipe works correctly. 5919 pipe_works=no 5920 5921 rm -f conftest* 5922 cat > conftest.$ac_ext <<_LT_EOF 5923#ifdef __cplusplus 5924extern "C" { 5925#endif 5926char nm_test_var; 5927void nm_test_func(void); 5928void nm_test_func(void){} 5929#ifdef __cplusplus 5930} 5931#endif 5932int main(){nm_test_var='a';nm_test_func();return(0);} 5933_LT_EOF 5934 5935 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5936 (eval $ac_compile) 2>&5 5937 ac_status=$? 5938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5939 test $ac_status = 0; }; then 5940 # Now try to grab the symbols. 5941 nlist=conftest.nm 5942 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 5943 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 5944 ac_status=$? 5945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5946 test $ac_status = 0; } && test -s "$nlist"; then 5947 # Try sorting and uniquifying the output. 5948 if sort "$nlist" | uniq > "$nlist"T; then 5949 mv -f "$nlist"T "$nlist" 5950 else 5951 rm -f "$nlist"T 5952 fi 5953 5954 # Make sure that we snagged all the symbols we need. 5955 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5956 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5957 cat <<_LT_EOF > conftest.$ac_ext 5958/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 5959#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 5960/* DATA imports from DLLs on WIN32 con't be const, because runtime 5961 relocations are performed -- see ld's documentation on pseudo-relocs. */ 5962# define LT_DLSYM_CONST 5963#elif defined(__osf__) 5964/* This system does not cope well with relocations in const data. */ 5965# define LT_DLSYM_CONST 5966#else 5967# define LT_DLSYM_CONST const 5968#endif 5969 5970#ifdef __cplusplus 5971extern "C" { 5972#endif 5973 5974_LT_EOF 5975 # Now generate the symbol file. 5976 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5977 5978 cat <<_LT_EOF >> conftest.$ac_ext 5979 5980/* The mapping between symbol names and symbols. */ 5981LT_DLSYM_CONST struct { 5982 const char *name; 5983 void *address; 5984} 5985lt__PROGRAM__LTX_preloaded_symbols[] = 5986{ 5987 { "@PROGRAM@", (void *) 0 }, 5988_LT_EOF 5989 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5990 cat <<\_LT_EOF >> conftest.$ac_ext 5991 {0, (void *) 0} 5992}; 5993 5994/* This works around a problem in FreeBSD linker */ 5995#ifdef FREEBSD_WORKAROUND 5996static const void *lt_preloaded_setup() { 5997 return lt__PROGRAM__LTX_preloaded_symbols; 5998} 5999#endif 6000 6001#ifdef __cplusplus 6002} 6003#endif 6004_LT_EOF 6005 # Now try linking the two files. 6006 mv conftest.$ac_objext conftstm.$ac_objext 6007 lt_globsym_save_LIBS=$LIBS 6008 lt_globsym_save_CFLAGS=$CFLAGS 6009 LIBS="conftstm.$ac_objext" 6010 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6011 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6012 (eval $ac_link) 2>&5 6013 ac_status=$? 6014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6015 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6016 pipe_works=yes 6017 fi 6018 LIBS=$lt_globsym_save_LIBS 6019 CFLAGS=$lt_globsym_save_CFLAGS 6020 else 6021 echo "cannot find nm_test_func in $nlist" >&5 6022 fi 6023 else 6024 echo "cannot find nm_test_var in $nlist" >&5 6025 fi 6026 else 6027 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6028 fi 6029 else 6030 echo "$progname: failed program was:" >&5 6031 cat conftest.$ac_ext >&5 6032 fi 6033 rm -rf conftest* conftst* 6034 6035 # Do not use the global_symbol_pipe unless it works. 6036 if test "$pipe_works" = yes; then 6037 break 6038 else 6039 lt_cv_sys_global_symbol_pipe= 6040 fi 6041done 6042 6043fi 6044 6045if test -z "$lt_cv_sys_global_symbol_pipe"; then 6046 lt_cv_sys_global_symbol_to_cdecl= 6047fi 6048if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6050$as_echo "failed" >&6; } 6051else 6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6053$as_echo "ok" >&6; } 6054fi 6055 6056# Response file support. 6057if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6058 nm_file_list_spec='@' 6059elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6060 nm_file_list_spec='@' 6061fi 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6090$as_echo_n "checking for sysroot... " >&6; } 6091 6092# Check whether --with-sysroot was given. 6093if test "${with_sysroot+set}" = set; then : 6094 withval=$with_sysroot; 6095else 6096 with_sysroot=no 6097fi 6098 6099 6100lt_sysroot= 6101case ${with_sysroot} in #( 6102 yes) 6103 if test "$GCC" = yes; then 6104 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6105 fi 6106 ;; #( 6107 /*) 6108 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6109 ;; #( 6110 no|'') 6111 ;; #( 6112 *) 6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6114$as_echo "${with_sysroot}" >&6; } 6115 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6116 ;; 6117esac 6118 6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6120$as_echo "${lt_sysroot:-no}" >&6; } 6121 6122 6123 6124 6125 6126# Check whether --enable-libtool-lock was given. 6127if test "${enable_libtool_lock+set}" = set; then : 6128 enableval=$enable_libtool_lock; 6129fi 6130 6131test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6132 6133# Some flags need to be propagated to the compiler or linker for good 6134# libtool support. 6135case $host in 6136ia64-*-hpux*) 6137 # Find out which ABI we are using. 6138 echo 'int i;' > conftest.$ac_ext 6139 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6140 (eval $ac_compile) 2>&5 6141 ac_status=$? 6142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6143 test $ac_status = 0; }; then 6144 case `/usr/bin/file conftest.$ac_objext` in 6145 *ELF-32*) 6146 HPUX_IA64_MODE="32" 6147 ;; 6148 *ELF-64*) 6149 HPUX_IA64_MODE="64" 6150 ;; 6151 esac 6152 fi 6153 rm -rf conftest* 6154 ;; 6155*-*-irix6*) 6156 # Find out which ABI we are using. 6157 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6158 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6159 (eval $ac_compile) 2>&5 6160 ac_status=$? 6161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6162 test $ac_status = 0; }; then 6163 if test "$lt_cv_prog_gnu_ld" = yes; then 6164 case `/usr/bin/file conftest.$ac_objext` in 6165 *32-bit*) 6166 LD="${LD-ld} -melf32bsmip" 6167 ;; 6168 *N32*) 6169 LD="${LD-ld} -melf32bmipn32" 6170 ;; 6171 *64-bit*) 6172 LD="${LD-ld} -melf64bmip" 6173 ;; 6174 esac 6175 else 6176 case `/usr/bin/file conftest.$ac_objext` in 6177 *32-bit*) 6178 LD="${LD-ld} -32" 6179 ;; 6180 *N32*) 6181 LD="${LD-ld} -n32" 6182 ;; 6183 *64-bit*) 6184 LD="${LD-ld} -64" 6185 ;; 6186 esac 6187 fi 6188 fi 6189 rm -rf conftest* 6190 ;; 6191 6192x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6193s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6194 # Find out which ABI we are using. 6195 echo 'int i;' > conftest.$ac_ext 6196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6197 (eval $ac_compile) 2>&5 6198 ac_status=$? 6199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6200 test $ac_status = 0; }; then 6201 case `/usr/bin/file conftest.o` in 6202 *32-bit*) 6203 case $host in 6204 x86_64-*kfreebsd*-gnu) 6205 LD="${LD-ld} -m elf_i386_fbsd" 6206 ;; 6207 x86_64-*linux*) 6208 LD="${LD-ld} -m elf_i386" 6209 ;; 6210 ppc64-*linux*|powerpc64-*linux*) 6211 LD="${LD-ld} -m elf32ppclinux" 6212 ;; 6213 s390x-*linux*) 6214 LD="${LD-ld} -m elf_s390" 6215 ;; 6216 sparc64-*linux*) 6217 LD="${LD-ld} -m elf32_sparc" 6218 ;; 6219 esac 6220 ;; 6221 *64-bit*) 6222 case $host in 6223 x86_64-*kfreebsd*-gnu) 6224 LD="${LD-ld} -m elf_x86_64_fbsd" 6225 ;; 6226 x86_64-*linux*) 6227 LD="${LD-ld} -m elf_x86_64" 6228 ;; 6229 ppc*-*linux*|powerpc*-*linux*) 6230 LD="${LD-ld} -m elf64ppc" 6231 ;; 6232 s390*-*linux*|s390*-*tpf*) 6233 LD="${LD-ld} -m elf64_s390" 6234 ;; 6235 sparc*-*linux*) 6236 LD="${LD-ld} -m elf64_sparc" 6237 ;; 6238 esac 6239 ;; 6240 esac 6241 fi 6242 rm -rf conftest* 6243 ;; 6244 6245*-*-sco3.2v5*) 6246 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6247 SAVE_CFLAGS="$CFLAGS" 6248 CFLAGS="$CFLAGS -belf" 6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6250$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6251if ${lt_cv_cc_needs_belf+:} false; then : 6252 $as_echo_n "(cached) " >&6 6253else 6254 ac_ext=c 6255ac_cpp='$CPP $CPPFLAGS' 6256ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6257ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6258ac_compiler_gnu=$ac_cv_c_compiler_gnu 6259 6260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6261/* end confdefs.h. */ 6262 6263int 6264main () 6265{ 6266 6267 ; 6268 return 0; 6269} 6270_ACEOF 6271if ac_fn_c_try_link "$LINENO"; then : 6272 lt_cv_cc_needs_belf=yes 6273else 6274 lt_cv_cc_needs_belf=no 6275fi 6276rm -f core conftest.err conftest.$ac_objext \ 6277 conftest$ac_exeext conftest.$ac_ext 6278 ac_ext=c 6279ac_cpp='$CPP $CPPFLAGS' 6280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6282ac_compiler_gnu=$ac_cv_c_compiler_gnu 6283 6284fi 6285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6286$as_echo "$lt_cv_cc_needs_belf" >&6; } 6287 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6288 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6289 CFLAGS="$SAVE_CFLAGS" 6290 fi 6291 ;; 6292sparc*-*solaris*) 6293 # Find out which ABI we are using. 6294 echo 'int i;' > conftest.$ac_ext 6295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6296 (eval $ac_compile) 2>&5 6297 ac_status=$? 6298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6299 test $ac_status = 0; }; then 6300 case `/usr/bin/file conftest.o` in 6301 *64-bit*) 6302 case $lt_cv_prog_gnu_ld in 6303 yes*) LD="${LD-ld} -m elf64_sparc" ;; 6304 *) 6305 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6306 LD="${LD-ld} -64" 6307 fi 6308 ;; 6309 esac 6310 ;; 6311 esac 6312 fi 6313 rm -rf conftest* 6314 ;; 6315esac 6316 6317need_locks="$enable_libtool_lock" 6318 6319if test -n "$ac_tool_prefix"; then 6320 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6321set dummy ${ac_tool_prefix}mt; ac_word=$2 6322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6323$as_echo_n "checking for $ac_word... " >&6; } 6324if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6325 $as_echo_n "(cached) " >&6 6326else 6327 if test -n "$MANIFEST_TOOL"; then 6328 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6329else 6330as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6331for as_dir in $PATH 6332do 6333 IFS=$as_save_IFS 6334 test -z "$as_dir" && as_dir=. 6335 for ac_exec_ext in '' $ac_executable_extensions; do 6336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6337 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6339 break 2 6340 fi 6341done 6342 done 6343IFS=$as_save_IFS 6344 6345fi 6346fi 6347MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6348if test -n "$MANIFEST_TOOL"; then 6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6350$as_echo "$MANIFEST_TOOL" >&6; } 6351else 6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6353$as_echo "no" >&6; } 6354fi 6355 6356 6357fi 6358if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6359 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6360 # Extract the first word of "mt", so it can be a program name with args. 6361set dummy mt; ac_word=$2 6362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6363$as_echo_n "checking for $ac_word... " >&6; } 6364if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6365 $as_echo_n "(cached) " >&6 6366else 6367 if test -n "$ac_ct_MANIFEST_TOOL"; then 6368 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6369else 6370as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6371for as_dir in $PATH 6372do 6373 IFS=$as_save_IFS 6374 test -z "$as_dir" && as_dir=. 6375 for ac_exec_ext in '' $ac_executable_extensions; do 6376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6377 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6379 break 2 6380 fi 6381done 6382 done 6383IFS=$as_save_IFS 6384 6385fi 6386fi 6387ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6388if test -n "$ac_ct_MANIFEST_TOOL"; then 6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6390$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6391else 6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6393$as_echo "no" >&6; } 6394fi 6395 6396 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6397 MANIFEST_TOOL=":" 6398 else 6399 case $cross_compiling:$ac_tool_warned in 6400yes:) 6401{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6402$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6403ac_tool_warned=yes ;; 6404esac 6405 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6406 fi 6407else 6408 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6409fi 6410 6411test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6413$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6414if ${lt_cv_path_mainfest_tool+:} false; then : 6415 $as_echo_n "(cached) " >&6 6416else 6417 lt_cv_path_mainfest_tool=no 6418 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6419 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6420 cat conftest.err >&5 6421 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6422 lt_cv_path_mainfest_tool=yes 6423 fi 6424 rm -f conftest* 6425fi 6426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6427$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6428if test "x$lt_cv_path_mainfest_tool" != xyes; then 6429 MANIFEST_TOOL=: 6430fi 6431 6432 6433 6434 6435 6436 6437 case $host_os in 6438 rhapsody* | darwin*) 6439 if test -n "$ac_tool_prefix"; then 6440 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6441set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6443$as_echo_n "checking for $ac_word... " >&6; } 6444if ${ac_cv_prog_DSYMUTIL+:} false; then : 6445 $as_echo_n "(cached) " >&6 6446else 6447 if test -n "$DSYMUTIL"; then 6448 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6449else 6450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6451for as_dir in $PATH 6452do 6453 IFS=$as_save_IFS 6454 test -z "$as_dir" && as_dir=. 6455 for ac_exec_ext in '' $ac_executable_extensions; do 6456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6457 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6459 break 2 6460 fi 6461done 6462 done 6463IFS=$as_save_IFS 6464 6465fi 6466fi 6467DSYMUTIL=$ac_cv_prog_DSYMUTIL 6468if test -n "$DSYMUTIL"; then 6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6470$as_echo "$DSYMUTIL" >&6; } 6471else 6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6473$as_echo "no" >&6; } 6474fi 6475 6476 6477fi 6478if test -z "$ac_cv_prog_DSYMUTIL"; then 6479 ac_ct_DSYMUTIL=$DSYMUTIL 6480 # Extract the first word of "dsymutil", so it can be a program name with args. 6481set dummy dsymutil; ac_word=$2 6482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6483$as_echo_n "checking for $ac_word... " >&6; } 6484if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6485 $as_echo_n "(cached) " >&6 6486else 6487 if test -n "$ac_ct_DSYMUTIL"; then 6488 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6489else 6490as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6491for as_dir in $PATH 6492do 6493 IFS=$as_save_IFS 6494 test -z "$as_dir" && as_dir=. 6495 for ac_exec_ext in '' $ac_executable_extensions; do 6496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6497 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6499 break 2 6500 fi 6501done 6502 done 6503IFS=$as_save_IFS 6504 6505fi 6506fi 6507ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6508if test -n "$ac_ct_DSYMUTIL"; then 6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6510$as_echo "$ac_ct_DSYMUTIL" >&6; } 6511else 6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6513$as_echo "no" >&6; } 6514fi 6515 6516 if test "x$ac_ct_DSYMUTIL" = x; then 6517 DSYMUTIL=":" 6518 else 6519 case $cross_compiling:$ac_tool_warned in 6520yes:) 6521{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6522$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6523ac_tool_warned=yes ;; 6524esac 6525 DSYMUTIL=$ac_ct_DSYMUTIL 6526 fi 6527else 6528 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6529fi 6530 6531 if test -n "$ac_tool_prefix"; then 6532 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6533set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6535$as_echo_n "checking for $ac_word... " >&6; } 6536if ${ac_cv_prog_NMEDIT+:} false; then : 6537 $as_echo_n "(cached) " >&6 6538else 6539 if test -n "$NMEDIT"; then 6540 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6541else 6542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6543for as_dir in $PATH 6544do 6545 IFS=$as_save_IFS 6546 test -z "$as_dir" && as_dir=. 6547 for ac_exec_ext in '' $ac_executable_extensions; do 6548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6549 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6551 break 2 6552 fi 6553done 6554 done 6555IFS=$as_save_IFS 6556 6557fi 6558fi 6559NMEDIT=$ac_cv_prog_NMEDIT 6560if test -n "$NMEDIT"; then 6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6562$as_echo "$NMEDIT" >&6; } 6563else 6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6565$as_echo "no" >&6; } 6566fi 6567 6568 6569fi 6570if test -z "$ac_cv_prog_NMEDIT"; then 6571 ac_ct_NMEDIT=$NMEDIT 6572 # Extract the first word of "nmedit", so it can be a program name with args. 6573set dummy nmedit; ac_word=$2 6574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6575$as_echo_n "checking for $ac_word... " >&6; } 6576if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6577 $as_echo_n "(cached) " >&6 6578else 6579 if test -n "$ac_ct_NMEDIT"; then 6580 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6581else 6582as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6583for as_dir in $PATH 6584do 6585 IFS=$as_save_IFS 6586 test -z "$as_dir" && as_dir=. 6587 for ac_exec_ext in '' $ac_executable_extensions; do 6588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6589 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6591 break 2 6592 fi 6593done 6594 done 6595IFS=$as_save_IFS 6596 6597fi 6598fi 6599ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6600if test -n "$ac_ct_NMEDIT"; then 6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6602$as_echo "$ac_ct_NMEDIT" >&6; } 6603else 6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6605$as_echo "no" >&6; } 6606fi 6607 6608 if test "x$ac_ct_NMEDIT" = x; then 6609 NMEDIT=":" 6610 else 6611 case $cross_compiling:$ac_tool_warned in 6612yes:) 6613{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6614$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6615ac_tool_warned=yes ;; 6616esac 6617 NMEDIT=$ac_ct_NMEDIT 6618 fi 6619else 6620 NMEDIT="$ac_cv_prog_NMEDIT" 6621fi 6622 6623 if test -n "$ac_tool_prefix"; then 6624 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6625set dummy ${ac_tool_prefix}lipo; ac_word=$2 6626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6627$as_echo_n "checking for $ac_word... " >&6; } 6628if ${ac_cv_prog_LIPO+:} false; then : 6629 $as_echo_n "(cached) " >&6 6630else 6631 if test -n "$LIPO"; then 6632 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6633else 6634as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6635for as_dir in $PATH 6636do 6637 IFS=$as_save_IFS 6638 test -z "$as_dir" && as_dir=. 6639 for ac_exec_ext in '' $ac_executable_extensions; do 6640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6641 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6643 break 2 6644 fi 6645done 6646 done 6647IFS=$as_save_IFS 6648 6649fi 6650fi 6651LIPO=$ac_cv_prog_LIPO 6652if test -n "$LIPO"; then 6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6654$as_echo "$LIPO" >&6; } 6655else 6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6657$as_echo "no" >&6; } 6658fi 6659 6660 6661fi 6662if test -z "$ac_cv_prog_LIPO"; then 6663 ac_ct_LIPO=$LIPO 6664 # Extract the first word of "lipo", so it can be a program name with args. 6665set dummy lipo; ac_word=$2 6666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6667$as_echo_n "checking for $ac_word... " >&6; } 6668if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6669 $as_echo_n "(cached) " >&6 6670else 6671 if test -n "$ac_ct_LIPO"; then 6672 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6673else 6674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6675for as_dir in $PATH 6676do 6677 IFS=$as_save_IFS 6678 test -z "$as_dir" && as_dir=. 6679 for ac_exec_ext in '' $ac_executable_extensions; do 6680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6681 ac_cv_prog_ac_ct_LIPO="lipo" 6682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6683 break 2 6684 fi 6685done 6686 done 6687IFS=$as_save_IFS 6688 6689fi 6690fi 6691ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6692if test -n "$ac_ct_LIPO"; then 6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6694$as_echo "$ac_ct_LIPO" >&6; } 6695else 6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6697$as_echo "no" >&6; } 6698fi 6699 6700 if test "x$ac_ct_LIPO" = x; then 6701 LIPO=":" 6702 else 6703 case $cross_compiling:$ac_tool_warned in 6704yes:) 6705{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6706$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6707ac_tool_warned=yes ;; 6708esac 6709 LIPO=$ac_ct_LIPO 6710 fi 6711else 6712 LIPO="$ac_cv_prog_LIPO" 6713fi 6714 6715 if test -n "$ac_tool_prefix"; then 6716 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6717set dummy ${ac_tool_prefix}otool; ac_word=$2 6718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6719$as_echo_n "checking for $ac_word... " >&6; } 6720if ${ac_cv_prog_OTOOL+:} false; then : 6721 $as_echo_n "(cached) " >&6 6722else 6723 if test -n "$OTOOL"; then 6724 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6725else 6726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6727for as_dir in $PATH 6728do 6729 IFS=$as_save_IFS 6730 test -z "$as_dir" && as_dir=. 6731 for ac_exec_ext in '' $ac_executable_extensions; do 6732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6733 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6735 break 2 6736 fi 6737done 6738 done 6739IFS=$as_save_IFS 6740 6741fi 6742fi 6743OTOOL=$ac_cv_prog_OTOOL 6744if test -n "$OTOOL"; then 6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6746$as_echo "$OTOOL" >&6; } 6747else 6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6749$as_echo "no" >&6; } 6750fi 6751 6752 6753fi 6754if test -z "$ac_cv_prog_OTOOL"; then 6755 ac_ct_OTOOL=$OTOOL 6756 # Extract the first word of "otool", so it can be a program name with args. 6757set dummy otool; ac_word=$2 6758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6759$as_echo_n "checking for $ac_word... " >&6; } 6760if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6761 $as_echo_n "(cached) " >&6 6762else 6763 if test -n "$ac_ct_OTOOL"; then 6764 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6765else 6766as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6767for as_dir in $PATH 6768do 6769 IFS=$as_save_IFS 6770 test -z "$as_dir" && as_dir=. 6771 for ac_exec_ext in '' $ac_executable_extensions; do 6772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6773 ac_cv_prog_ac_ct_OTOOL="otool" 6774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6775 break 2 6776 fi 6777done 6778 done 6779IFS=$as_save_IFS 6780 6781fi 6782fi 6783ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6784if test -n "$ac_ct_OTOOL"; then 6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6786$as_echo "$ac_ct_OTOOL" >&6; } 6787else 6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6789$as_echo "no" >&6; } 6790fi 6791 6792 if test "x$ac_ct_OTOOL" = x; then 6793 OTOOL=":" 6794 else 6795 case $cross_compiling:$ac_tool_warned in 6796yes:) 6797{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6798$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6799ac_tool_warned=yes ;; 6800esac 6801 OTOOL=$ac_ct_OTOOL 6802 fi 6803else 6804 OTOOL="$ac_cv_prog_OTOOL" 6805fi 6806 6807 if test -n "$ac_tool_prefix"; then 6808 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6809set dummy ${ac_tool_prefix}otool64; ac_word=$2 6810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6811$as_echo_n "checking for $ac_word... " >&6; } 6812if ${ac_cv_prog_OTOOL64+:} false; then : 6813 $as_echo_n "(cached) " >&6 6814else 6815 if test -n "$OTOOL64"; then 6816 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6817else 6818as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6819for as_dir in $PATH 6820do 6821 IFS=$as_save_IFS 6822 test -z "$as_dir" && as_dir=. 6823 for ac_exec_ext in '' $ac_executable_extensions; do 6824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6825 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6827 break 2 6828 fi 6829done 6830 done 6831IFS=$as_save_IFS 6832 6833fi 6834fi 6835OTOOL64=$ac_cv_prog_OTOOL64 6836if test -n "$OTOOL64"; then 6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6838$as_echo "$OTOOL64" >&6; } 6839else 6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6841$as_echo "no" >&6; } 6842fi 6843 6844 6845fi 6846if test -z "$ac_cv_prog_OTOOL64"; then 6847 ac_ct_OTOOL64=$OTOOL64 6848 # Extract the first word of "otool64", so it can be a program name with args. 6849set dummy otool64; ac_word=$2 6850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6851$as_echo_n "checking for $ac_word... " >&6; } 6852if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 6853 $as_echo_n "(cached) " >&6 6854else 6855 if test -n "$ac_ct_OTOOL64"; then 6856 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6857else 6858as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6859for as_dir in $PATH 6860do 6861 IFS=$as_save_IFS 6862 test -z "$as_dir" && as_dir=. 6863 for ac_exec_ext in '' $ac_executable_extensions; do 6864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6865 ac_cv_prog_ac_ct_OTOOL64="otool64" 6866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6867 break 2 6868 fi 6869done 6870 done 6871IFS=$as_save_IFS 6872 6873fi 6874fi 6875ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6876if test -n "$ac_ct_OTOOL64"; then 6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 6878$as_echo "$ac_ct_OTOOL64" >&6; } 6879else 6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6881$as_echo "no" >&6; } 6882fi 6883 6884 if test "x$ac_ct_OTOOL64" = x; then 6885 OTOOL64=":" 6886 else 6887 case $cross_compiling:$ac_tool_warned in 6888yes:) 6889{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6890$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6891ac_tool_warned=yes ;; 6892esac 6893 OTOOL64=$ac_ct_OTOOL64 6894 fi 6895else 6896 OTOOL64="$ac_cv_prog_OTOOL64" 6897fi 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 6926$as_echo_n "checking for -single_module linker flag... " >&6; } 6927if ${lt_cv_apple_cc_single_mod+:} false; then : 6928 $as_echo_n "(cached) " >&6 6929else 6930 lt_cv_apple_cc_single_mod=no 6931 if test -z "${LT_MULTI_MODULE}"; then 6932 # By default we will add the -single_module flag. You can override 6933 # by either setting the environment variable LT_MULTI_MODULE 6934 # non-empty at configure time, or by adding -multi_module to the 6935 # link flags. 6936 rm -rf libconftest.dylib* 6937 echo "int foo(void){return 1;}" > conftest.c 6938 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6939-dynamiclib -Wl,-single_module conftest.c" >&5 6940 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6941 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6942 _lt_result=$? 6943 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 6944 lt_cv_apple_cc_single_mod=yes 6945 else 6946 cat conftest.err >&5 6947 fi 6948 rm -rf libconftest.dylib* 6949 rm -f conftest.* 6950 fi 6951fi 6952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 6953$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 6955$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6956if ${lt_cv_ld_exported_symbols_list+:} false; then : 6957 $as_echo_n "(cached) " >&6 6958else 6959 lt_cv_ld_exported_symbols_list=no 6960 save_LDFLAGS=$LDFLAGS 6961 echo "_main" > conftest.sym 6962 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6964/* end confdefs.h. */ 6965 6966int 6967main () 6968{ 6969 6970 ; 6971 return 0; 6972} 6973_ACEOF 6974if ac_fn_c_try_link "$LINENO"; then : 6975 lt_cv_ld_exported_symbols_list=yes 6976else 6977 lt_cv_ld_exported_symbols_list=no 6978fi 6979rm -f core conftest.err conftest.$ac_objext \ 6980 conftest$ac_exeext conftest.$ac_ext 6981 LDFLAGS="$save_LDFLAGS" 6982 6983fi 6984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 6985$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 6987$as_echo_n "checking for -force_load linker flag... " >&6; } 6988if ${lt_cv_ld_force_load+:} false; then : 6989 $as_echo_n "(cached) " >&6 6990else 6991 lt_cv_ld_force_load=no 6992 cat > conftest.c << _LT_EOF 6993int forced_loaded() { return 2;} 6994_LT_EOF 6995 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 6996 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 6997 echo "$AR cru libconftest.a conftest.o" >&5 6998 $AR cru libconftest.a conftest.o 2>&5 6999 echo "$RANLIB libconftest.a" >&5 7000 $RANLIB libconftest.a 2>&5 7001 cat > conftest.c << _LT_EOF 7002int main() { return 0;} 7003_LT_EOF 7004 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7005 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7006 _lt_result=$? 7007 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then 7008 lt_cv_ld_force_load=yes 7009 else 7010 cat conftest.err >&5 7011 fi 7012 rm -f conftest.err libconftest.a conftest conftest.c 7013 rm -rf conftest.dSYM 7014 7015fi 7016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7017$as_echo "$lt_cv_ld_force_load" >&6; } 7018 case $host_os in 7019 rhapsody* | darwin1.[012]) 7020 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7021 darwin1.*) 7022 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7023 darwin*) # darwin 5.x on 7024 # if running on 10.5 or later, the deployment target defaults 7025 # to the OS version, if on x86, and 10.4, the deployment 7026 # target defaults to 10.4. Don't you love it? 7027 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7028 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7029 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7030 10.[012]*) 7031 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7032 10.*) 7033 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7034 esac 7035 ;; 7036 esac 7037 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7038 _lt_dar_single_mod='$single_module' 7039 fi 7040 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7041 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7042 else 7043 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7044 fi 7045 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7046 _lt_dsymutil='~$DSYMUTIL $lib || :' 7047 else 7048 _lt_dsymutil= 7049 fi 7050 ;; 7051 esac 7052 7053ac_ext=c 7054ac_cpp='$CPP $CPPFLAGS' 7055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7057ac_compiler_gnu=$ac_cv_c_compiler_gnu 7058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7059$as_echo_n "checking how to run the C preprocessor... " >&6; } 7060# On Suns, sometimes $CPP names a directory. 7061if test -n "$CPP" && test -d "$CPP"; then 7062 CPP= 7063fi 7064if test -z "$CPP"; then 7065 if ${ac_cv_prog_CPP+:} false; then : 7066 $as_echo_n "(cached) " >&6 7067else 7068 # Double quotes because CPP needs to be expanded 7069 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7070 do 7071 ac_preproc_ok=false 7072for ac_c_preproc_warn_flag in '' yes 7073do 7074 # Use a header file that comes with gcc, so configuring glibc 7075 # with a fresh cross-compiler works. 7076 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7077 # <limits.h> exists even on freestanding compilers. 7078 # On the NeXT, cc -E runs the code through the compiler's parser, 7079 # not just through cpp. "Syntax error" is here to catch this case. 7080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7081/* end confdefs.h. */ 7082#ifdef __STDC__ 7083# include <limits.h> 7084#else 7085# include <assert.h> 7086#endif 7087 Syntax error 7088_ACEOF 7089if ac_fn_c_try_cpp "$LINENO"; then : 7090 7091else 7092 # Broken: fails on valid input. 7093continue 7094fi 7095rm -f conftest.err conftest.i conftest.$ac_ext 7096 7097 # OK, works on sane cases. Now check whether nonexistent headers 7098 # can be detected and how. 7099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7100/* end confdefs.h. */ 7101#include <ac_nonexistent.h> 7102_ACEOF 7103if ac_fn_c_try_cpp "$LINENO"; then : 7104 # Broken: success on invalid input. 7105continue 7106else 7107 # Passes both tests. 7108ac_preproc_ok=: 7109break 7110fi 7111rm -f conftest.err conftest.i conftest.$ac_ext 7112 7113done 7114# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7115rm -f conftest.i conftest.err conftest.$ac_ext 7116if $ac_preproc_ok; then : 7117 break 7118fi 7119 7120 done 7121 ac_cv_prog_CPP=$CPP 7122 7123fi 7124 CPP=$ac_cv_prog_CPP 7125else 7126 ac_cv_prog_CPP=$CPP 7127fi 7128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7129$as_echo "$CPP" >&6; } 7130ac_preproc_ok=false 7131for ac_c_preproc_warn_flag in '' yes 7132do 7133 # Use a header file that comes with gcc, so configuring glibc 7134 # with a fresh cross-compiler works. 7135 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7136 # <limits.h> exists even on freestanding compilers. 7137 # On the NeXT, cc -E runs the code through the compiler's parser, 7138 # not just through cpp. "Syntax error" is here to catch this case. 7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7140/* end confdefs.h. */ 7141#ifdef __STDC__ 7142# include <limits.h> 7143#else 7144# include <assert.h> 7145#endif 7146 Syntax error 7147_ACEOF 7148if ac_fn_c_try_cpp "$LINENO"; then : 7149 7150else 7151 # Broken: fails on valid input. 7152continue 7153fi 7154rm -f conftest.err conftest.i conftest.$ac_ext 7155 7156 # OK, works on sane cases. Now check whether nonexistent headers 7157 # can be detected and how. 7158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7159/* end confdefs.h. */ 7160#include <ac_nonexistent.h> 7161_ACEOF 7162if ac_fn_c_try_cpp "$LINENO"; then : 7163 # Broken: success on invalid input. 7164continue 7165else 7166 # Passes both tests. 7167ac_preproc_ok=: 7168break 7169fi 7170rm -f conftest.err conftest.i conftest.$ac_ext 7171 7172done 7173# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7174rm -f conftest.i conftest.err conftest.$ac_ext 7175if $ac_preproc_ok; then : 7176 7177else 7178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7179$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7180as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7181See \`config.log' for more details" "$LINENO" 5; } 7182fi 7183 7184ac_ext=c 7185ac_cpp='$CPP $CPPFLAGS' 7186ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7187ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7188ac_compiler_gnu=$ac_cv_c_compiler_gnu 7189 7190 7191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7192$as_echo_n "checking for ANSI C header files... " >&6; } 7193if ${ac_cv_header_stdc+:} false; then : 7194 $as_echo_n "(cached) " >&6 7195else 7196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7197/* end confdefs.h. */ 7198#include <stdlib.h> 7199#include <stdarg.h> 7200#include <string.h> 7201#include <float.h> 7202 7203int 7204main () 7205{ 7206 7207 ; 7208 return 0; 7209} 7210_ACEOF 7211if ac_fn_c_try_compile "$LINENO"; then : 7212 ac_cv_header_stdc=yes 7213else 7214 ac_cv_header_stdc=no 7215fi 7216rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7217 7218if test $ac_cv_header_stdc = yes; then 7219 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7221/* end confdefs.h. */ 7222#include <string.h> 7223 7224_ACEOF 7225if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7226 $EGREP "memchr" >/dev/null 2>&1; then : 7227 7228else 7229 ac_cv_header_stdc=no 7230fi 7231rm -f conftest* 7232 7233fi 7234 7235if test $ac_cv_header_stdc = yes; then 7236 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7238/* end confdefs.h. */ 7239#include <stdlib.h> 7240 7241_ACEOF 7242if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7243 $EGREP "free" >/dev/null 2>&1; then : 7244 7245else 7246 ac_cv_header_stdc=no 7247fi 7248rm -f conftest* 7249 7250fi 7251 7252if test $ac_cv_header_stdc = yes; then 7253 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7254 if test "$cross_compiling" = yes; then : 7255 : 7256else 7257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7258/* end confdefs.h. */ 7259#include <ctype.h> 7260#include <stdlib.h> 7261#if ((' ' & 0x0FF) == 0x020) 7262# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7263# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7264#else 7265# define ISLOWER(c) \ 7266 (('a' <= (c) && (c) <= 'i') \ 7267 || ('j' <= (c) && (c) <= 'r') \ 7268 || ('s' <= (c) && (c) <= 'z')) 7269# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7270#endif 7271 7272#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7273int 7274main () 7275{ 7276 int i; 7277 for (i = 0; i < 256; i++) 7278 if (XOR (islower (i), ISLOWER (i)) 7279 || toupper (i) != TOUPPER (i)) 7280 return 2; 7281 return 0; 7282} 7283_ACEOF 7284if ac_fn_c_try_run "$LINENO"; then : 7285 7286else 7287 ac_cv_header_stdc=no 7288fi 7289rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7290 conftest.$ac_objext conftest.beam conftest.$ac_ext 7291fi 7292 7293fi 7294fi 7295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7296$as_echo "$ac_cv_header_stdc" >&6; } 7297if test $ac_cv_header_stdc = yes; then 7298 7299$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7300 7301fi 7302 7303# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7304for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7305 inttypes.h stdint.h unistd.h 7306do : 7307 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7308ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7309" 7310if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7311 cat >>confdefs.h <<_ACEOF 7312#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7313_ACEOF 7314 7315fi 7316 7317done 7318 7319 7320for ac_header in dlfcn.h 7321do : 7322 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7323" 7324if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7325 cat >>confdefs.h <<_ACEOF 7326#define HAVE_DLFCN_H 1 7327_ACEOF 7328 7329fi 7330 7331done 7332 7333 7334 7335 7336 7337# Set options 7338 7339 7340 7341 enable_dlopen=no 7342 7343 7344 enable_win32_dll=no 7345 7346 7347 # Check whether --enable-shared was given. 7348if test "${enable_shared+set}" = set; then : 7349 enableval=$enable_shared; p=${PACKAGE-default} 7350 case $enableval in 7351 yes) enable_shared=yes ;; 7352 no) enable_shared=no ;; 7353 *) 7354 enable_shared=no 7355 # Look at the argument we got. We use all the common list separators. 7356 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7357 for pkg in $enableval; do 7358 IFS="$lt_save_ifs" 7359 if test "X$pkg" = "X$p"; then 7360 enable_shared=yes 7361 fi 7362 done 7363 IFS="$lt_save_ifs" 7364 ;; 7365 esac 7366else 7367 enable_shared=yes 7368fi 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 # Check whether --enable-static was given. 7379if test "${enable_static+set}" = set; then : 7380 enableval=$enable_static; p=${PACKAGE-default} 7381 case $enableval in 7382 yes) enable_static=yes ;; 7383 no) enable_static=no ;; 7384 *) 7385 enable_static=no 7386 # Look at the argument we got. We use all the common list separators. 7387 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7388 for pkg in $enableval; do 7389 IFS="$lt_save_ifs" 7390 if test "X$pkg" = "X$p"; then 7391 enable_static=yes 7392 fi 7393 done 7394 IFS="$lt_save_ifs" 7395 ;; 7396 esac 7397else 7398 enable_static=yes 7399fi 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410# Check whether --with-pic was given. 7411if test "${with_pic+set}" = set; then : 7412 withval=$with_pic; pic_mode="$withval" 7413else 7414 pic_mode=default 7415fi 7416 7417 7418test -z "$pic_mode" && pic_mode=default 7419 7420 7421 7422 7423 7424 7425 7426 # Check whether --enable-fast-install was given. 7427if test "${enable_fast_install+set}" = set; then : 7428 enableval=$enable_fast_install; p=${PACKAGE-default} 7429 case $enableval in 7430 yes) enable_fast_install=yes ;; 7431 no) enable_fast_install=no ;; 7432 *) 7433 enable_fast_install=no 7434 # Look at the argument we got. We use all the common list separators. 7435 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7436 for pkg in $enableval; do 7437 IFS="$lt_save_ifs" 7438 if test "X$pkg" = "X$p"; then 7439 enable_fast_install=yes 7440 fi 7441 done 7442 IFS="$lt_save_ifs" 7443 ;; 7444 esac 7445else 7446 enable_fast_install=yes 7447fi 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459# This can be used to rebuild libtool when needed 7460LIBTOOL_DEPS="$ltmain" 7461 7462# Always use our own libtool. 7463LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490test -z "$LN_S" && LN_S="ln -s" 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505if test -n "${ZSH_VERSION+set}" ; then 7506 setopt NO_GLOB_SUBST 7507fi 7508 7509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7510$as_echo_n "checking for objdir... " >&6; } 7511if ${lt_cv_objdir+:} false; then : 7512 $as_echo_n "(cached) " >&6 7513else 7514 rm -f .libs 2>/dev/null 7515mkdir .libs 2>/dev/null 7516if test -d .libs; then 7517 lt_cv_objdir=.libs 7518else 7519 # MS-DOS does not allow filenames that begin with a dot. 7520 lt_cv_objdir=_libs 7521fi 7522rmdir .libs 2>/dev/null 7523fi 7524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7525$as_echo "$lt_cv_objdir" >&6; } 7526objdir=$lt_cv_objdir 7527 7528 7529 7530 7531 7532cat >>confdefs.h <<_ACEOF 7533#define LT_OBJDIR "$lt_cv_objdir/" 7534_ACEOF 7535 7536 7537 7538 7539case $host_os in 7540aix3*) 7541 # AIX sometimes has problems with the GCC collect2 program. For some 7542 # reason, if we set the COLLECT_NAMES environment variable, the problems 7543 # vanish in a puff of smoke. 7544 if test "X${COLLECT_NAMES+set}" != Xset; then 7545 COLLECT_NAMES= 7546 export COLLECT_NAMES 7547 fi 7548 ;; 7549esac 7550 7551# Global variables: 7552ofile=libtool 7553can_build_shared=yes 7554 7555# All known linkers require a `.a' archive for static linking (except MSVC, 7556# which needs '.lib'). 7557libext=a 7558 7559with_gnu_ld="$lt_cv_prog_gnu_ld" 7560 7561old_CC="$CC" 7562old_CFLAGS="$CFLAGS" 7563 7564# Set sane defaults for various variables 7565test -z "$CC" && CC=cc 7566test -z "$LTCC" && LTCC=$CC 7567test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7568test -z "$LD" && LD=ld 7569test -z "$ac_objext" && ac_objext=o 7570 7571for cc_temp in $compiler""; do 7572 case $cc_temp in 7573 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7574 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7575 \-*) ;; 7576 *) break;; 7577 esac 7578done 7579cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7580 7581 7582# Only perform the check for file, if the check method requires it 7583test -z "$MAGIC_CMD" && MAGIC_CMD=file 7584case $deplibs_check_method in 7585file_magic*) 7586 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7588$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7589if ${lt_cv_path_MAGIC_CMD+:} false; then : 7590 $as_echo_n "(cached) " >&6 7591else 7592 case $MAGIC_CMD in 7593[\\/*] | ?:[\\/]*) 7594 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7595 ;; 7596*) 7597 lt_save_MAGIC_CMD="$MAGIC_CMD" 7598 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7599 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7600 for ac_dir in $ac_dummy; do 7601 IFS="$lt_save_ifs" 7602 test -z "$ac_dir" && ac_dir=. 7603 if test -f $ac_dir/${ac_tool_prefix}file; then 7604 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7605 if test -n "$file_magic_test_file"; then 7606 case $deplibs_check_method in 7607 "file_magic "*) 7608 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7609 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7610 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7611 $EGREP "$file_magic_regex" > /dev/null; then 7612 : 7613 else 7614 cat <<_LT_EOF 1>&2 7615 7616*** Warning: the command libtool uses to detect shared libraries, 7617*** $file_magic_cmd, produces output that libtool cannot recognize. 7618*** The result is that libtool may fail to recognize shared libraries 7619*** as such. This will affect the creation of libtool libraries that 7620*** depend on shared libraries, but programs linked with such libtool 7621*** libraries will work regardless of this problem. Nevertheless, you 7622*** may want to report the problem to your system manager and/or to 7623*** bug-libtool@gnu.org 7624 7625_LT_EOF 7626 fi ;; 7627 esac 7628 fi 7629 break 7630 fi 7631 done 7632 IFS="$lt_save_ifs" 7633 MAGIC_CMD="$lt_save_MAGIC_CMD" 7634 ;; 7635esac 7636fi 7637 7638MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7639if test -n "$MAGIC_CMD"; then 7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7641$as_echo "$MAGIC_CMD" >&6; } 7642else 7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7644$as_echo "no" >&6; } 7645fi 7646 7647 7648 7649 7650 7651if test -z "$lt_cv_path_MAGIC_CMD"; then 7652 if test -n "$ac_tool_prefix"; then 7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7654$as_echo_n "checking for file... " >&6; } 7655if ${lt_cv_path_MAGIC_CMD+:} false; then : 7656 $as_echo_n "(cached) " >&6 7657else 7658 case $MAGIC_CMD in 7659[\\/*] | ?:[\\/]*) 7660 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7661 ;; 7662*) 7663 lt_save_MAGIC_CMD="$MAGIC_CMD" 7664 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7665 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7666 for ac_dir in $ac_dummy; do 7667 IFS="$lt_save_ifs" 7668 test -z "$ac_dir" && ac_dir=. 7669 if test -f $ac_dir/file; then 7670 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7671 if test -n "$file_magic_test_file"; then 7672 case $deplibs_check_method in 7673 "file_magic "*) 7674 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7675 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7676 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7677 $EGREP "$file_magic_regex" > /dev/null; then 7678 : 7679 else 7680 cat <<_LT_EOF 1>&2 7681 7682*** Warning: the command libtool uses to detect shared libraries, 7683*** $file_magic_cmd, produces output that libtool cannot recognize. 7684*** The result is that libtool may fail to recognize shared libraries 7685*** as such. This will affect the creation of libtool libraries that 7686*** depend on shared libraries, but programs linked with such libtool 7687*** libraries will work regardless of this problem. Nevertheless, you 7688*** may want to report the problem to your system manager and/or to 7689*** bug-libtool@gnu.org 7690 7691_LT_EOF 7692 fi ;; 7693 esac 7694 fi 7695 break 7696 fi 7697 done 7698 IFS="$lt_save_ifs" 7699 MAGIC_CMD="$lt_save_MAGIC_CMD" 7700 ;; 7701esac 7702fi 7703 7704MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7705if test -n "$MAGIC_CMD"; then 7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7707$as_echo "$MAGIC_CMD" >&6; } 7708else 7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7710$as_echo "no" >&6; } 7711fi 7712 7713 7714 else 7715 MAGIC_CMD=: 7716 fi 7717fi 7718 7719 fi 7720 ;; 7721esac 7722 7723# Use C for the default configuration in the libtool script 7724 7725lt_save_CC="$CC" 7726ac_ext=c 7727ac_cpp='$CPP $CPPFLAGS' 7728ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7729ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7730ac_compiler_gnu=$ac_cv_c_compiler_gnu 7731 7732 7733# Source file extension for C test sources. 7734ac_ext=c 7735 7736# Object file extension for compiled C test sources. 7737objext=o 7738objext=$objext 7739 7740# Code to be used in simple compile tests 7741lt_simple_compile_test_code="int some_variable = 0;" 7742 7743# Code to be used in simple link tests 7744lt_simple_link_test_code='int main(){return(0);}' 7745 7746 7747 7748 7749 7750 7751 7752# If no C compiler was specified, use CC. 7753LTCC=${LTCC-"$CC"} 7754 7755# If no C compiler flags were specified, use CFLAGS. 7756LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7757 7758# Allow CC to be a program name with arguments. 7759compiler=$CC 7760 7761# Save the default compiler, since it gets overwritten when the other 7762# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7763compiler_DEFAULT=$CC 7764 7765# save warnings/boilerplate of simple test code 7766ac_outfile=conftest.$ac_objext 7767echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7768eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7769_lt_compiler_boilerplate=`cat conftest.err` 7770$RM conftest* 7771 7772ac_outfile=conftest.$ac_objext 7773echo "$lt_simple_link_test_code" >conftest.$ac_ext 7774eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7775_lt_linker_boilerplate=`cat conftest.err` 7776$RM -r conftest* 7777 7778 7779## CAVEAT EMPTOR: 7780## There is no encapsulation within the following macros, do not change 7781## the running order or otherwise move them around unless you know exactly 7782## what you are doing... 7783if test -n "$compiler"; then 7784 7785lt_prog_compiler_no_builtin_flag= 7786 7787if test "$GCC" = yes; then 7788 case $cc_basename in 7789 nvcc*) 7790 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 7791 *) 7792 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7793 esac 7794 7795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7796$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7797if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 7798 $as_echo_n "(cached) " >&6 7799else 7800 lt_cv_prog_compiler_rtti_exceptions=no 7801 ac_outfile=conftest.$ac_objext 7802 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7803 lt_compiler_flag="-fno-rtti -fno-exceptions" 7804 # Insert the option either (1) after the last *FLAGS variable, or 7805 # (2) before a word containing "conftest.", or (3) at the end. 7806 # Note that $ac_compile itself does not contain backslashes and begins 7807 # with a dollar sign (not a hyphen), so the echo should work correctly. 7808 # The option is referenced via a variable to avoid confusing sed. 7809 lt_compile=`echo "$ac_compile" | $SED \ 7810 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7811 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7812 -e 's:$: $lt_compiler_flag:'` 7813 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7814 (eval "$lt_compile" 2>conftest.err) 7815 ac_status=$? 7816 cat conftest.err >&5 7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7818 if (exit $ac_status) && test -s "$ac_outfile"; then 7819 # The compiler can only warn and ignore the option if not recognized 7820 # So say no if there are warnings other than the usual output. 7821 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 7822 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7823 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7824 lt_cv_prog_compiler_rtti_exceptions=yes 7825 fi 7826 fi 7827 $RM conftest* 7828 7829fi 7830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7831$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7832 7833if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7834 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7835else 7836 : 7837fi 7838 7839fi 7840 7841 7842 7843 7844 7845 7846 lt_prog_compiler_wl= 7847lt_prog_compiler_pic= 7848lt_prog_compiler_static= 7849 7850 7851 if test "$GCC" = yes; then 7852 lt_prog_compiler_wl='-Wl,' 7853 lt_prog_compiler_static='-static' 7854 7855 case $host_os in 7856 aix*) 7857 # All AIX code is PIC. 7858 if test "$host_cpu" = ia64; then 7859 # AIX 5 now supports IA64 processor 7860 lt_prog_compiler_static='-Bstatic' 7861 fi 7862 ;; 7863 7864 amigaos*) 7865 case $host_cpu in 7866 powerpc) 7867 # see comment about AmigaOS4 .so support 7868 lt_prog_compiler_pic='-fPIC' 7869 ;; 7870 m68k) 7871 # FIXME: we need at least 68020 code to build shared libraries, but 7872 # adding the `-m68020' flag to GCC prevents building anything better, 7873 # like `-m68040'. 7874 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7875 ;; 7876 esac 7877 ;; 7878 7879 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7880 # PIC is the default for these OSes. 7881 ;; 7882 7883 mingw* | cygwin* | pw32* | os2* | cegcc*) 7884 # This hack is so that the source file can tell whether it is being 7885 # built for inclusion in a dll (and should export symbols for example). 7886 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7887 # (--disable-auto-import) libraries 7888 lt_prog_compiler_pic='-DDLL_EXPORT' 7889 ;; 7890 7891 darwin* | rhapsody*) 7892 # PIC is the default on this platform 7893 # Common symbols not allowed in MH_DYLIB files 7894 lt_prog_compiler_pic='-fno-common' 7895 ;; 7896 7897 haiku*) 7898 # PIC is the default for Haiku. 7899 # The "-static" flag exists, but is broken. 7900 lt_prog_compiler_static= 7901 ;; 7902 7903 hpux*) 7904 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7905 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7906 # sets the default TLS model and affects inlining. 7907 case $host_cpu in 7908 hppa*64*) 7909 # +Z the default 7910 ;; 7911 *) 7912 lt_prog_compiler_pic='-fPIC' 7913 ;; 7914 esac 7915 ;; 7916 7917 interix[3-9]*) 7918 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7919 # Instead, we relocate shared libraries at runtime. 7920 ;; 7921 7922 msdosdjgpp*) 7923 # Just because we use GCC doesn't mean we suddenly get shared libraries 7924 # on systems that don't support them. 7925 lt_prog_compiler_can_build_shared=no 7926 enable_shared=no 7927 ;; 7928 7929 *nto* | *qnx*) 7930 # QNX uses GNU C++, but need to define -shared option too, otherwise 7931 # it will coredump. 7932 lt_prog_compiler_pic='-fPIC -shared' 7933 ;; 7934 7935 sysv4*MP*) 7936 if test -d /usr/nec; then 7937 lt_prog_compiler_pic=-Kconform_pic 7938 fi 7939 ;; 7940 7941 *) 7942 lt_prog_compiler_pic='-fPIC' 7943 ;; 7944 esac 7945 7946 case $cc_basename in 7947 nvcc*) # Cuda Compiler Driver 2.2 7948 lt_prog_compiler_wl='-Xlinker ' 7949 lt_prog_compiler_pic='-Xcompiler -fPIC' 7950 ;; 7951 esac 7952 else 7953 # PORTME Check for flag to pass linker flags through the system compiler. 7954 case $host_os in 7955 aix*) 7956 lt_prog_compiler_wl='-Wl,' 7957 if test "$host_cpu" = ia64; then 7958 # AIX 5 now supports IA64 processor 7959 lt_prog_compiler_static='-Bstatic' 7960 else 7961 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7962 fi 7963 ;; 7964 7965 mingw* | cygwin* | pw32* | os2* | cegcc*) 7966 # This hack is so that the source file can tell whether it is being 7967 # built for inclusion in a dll (and should export symbols for example). 7968 lt_prog_compiler_pic='-DDLL_EXPORT' 7969 ;; 7970 7971 hpux9* | hpux10* | hpux11*) 7972 lt_prog_compiler_wl='-Wl,' 7973 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7974 # not for PA HP-UX. 7975 case $host_cpu in 7976 hppa*64*|ia64*) 7977 # +Z the default 7978 ;; 7979 *) 7980 lt_prog_compiler_pic='+Z' 7981 ;; 7982 esac 7983 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7984 lt_prog_compiler_static='${wl}-a ${wl}archive' 7985 ;; 7986 7987 irix5* | irix6* | nonstopux*) 7988 lt_prog_compiler_wl='-Wl,' 7989 # PIC (with -KPIC) is the default. 7990 lt_prog_compiler_static='-non_shared' 7991 ;; 7992 7993 linux* | k*bsd*-gnu | kopensolaris*-gnu) 7994 case $cc_basename in 7995 # old Intel for x86_64 which still supported -KPIC. 7996 ecc*) 7997 lt_prog_compiler_wl='-Wl,' 7998 lt_prog_compiler_pic='-KPIC' 7999 lt_prog_compiler_static='-static' 8000 ;; 8001 # icc used to be incompatible with GCC. 8002 # ICC 10 doesn't accept -KPIC any more. 8003 icc* | ifort*) 8004 lt_prog_compiler_wl='-Wl,' 8005 lt_prog_compiler_pic='-fPIC' 8006 lt_prog_compiler_static='-static' 8007 ;; 8008 # Lahey Fortran 8.1. 8009 lf95*) 8010 lt_prog_compiler_wl='-Wl,' 8011 lt_prog_compiler_pic='--shared' 8012 lt_prog_compiler_static='--static' 8013 ;; 8014 nagfor*) 8015 # NAG Fortran compiler 8016 lt_prog_compiler_wl='-Wl,-Wl,,' 8017 lt_prog_compiler_pic='-PIC' 8018 lt_prog_compiler_static='-Bstatic' 8019 ;; 8020 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8021 # Portland Group compilers (*not* the Pentium gcc compiler, 8022 # which looks to be a dead project) 8023 lt_prog_compiler_wl='-Wl,' 8024 lt_prog_compiler_pic='-fpic' 8025 lt_prog_compiler_static='-Bstatic' 8026 ;; 8027 ccc*) 8028 lt_prog_compiler_wl='-Wl,' 8029 # All Alpha code is PIC. 8030 lt_prog_compiler_static='-non_shared' 8031 ;; 8032 xl* | bgxl* | bgf* | mpixl*) 8033 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8034 lt_prog_compiler_wl='-Wl,' 8035 lt_prog_compiler_pic='-qpic' 8036 lt_prog_compiler_static='-qstaticlink' 8037 ;; 8038 *) 8039 case `$CC -V 2>&1 | sed 5q` in 8040 *Sun\ F* | *Sun*Fortran*) 8041 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8042 lt_prog_compiler_pic='-KPIC' 8043 lt_prog_compiler_static='-Bstatic' 8044 lt_prog_compiler_wl='' 8045 ;; 8046 *Sun\ C*) 8047 # Sun C 5.9 8048 lt_prog_compiler_pic='-KPIC' 8049 lt_prog_compiler_static='-Bstatic' 8050 lt_prog_compiler_wl='-Wl,' 8051 ;; 8052 esac 8053 ;; 8054 esac 8055 ;; 8056 8057 newsos6) 8058 lt_prog_compiler_pic='-KPIC' 8059 lt_prog_compiler_static='-Bstatic' 8060 ;; 8061 8062 *nto* | *qnx*) 8063 # QNX uses GNU C++, but need to define -shared option too, otherwise 8064 # it will coredump. 8065 lt_prog_compiler_pic='-fPIC -shared' 8066 ;; 8067 8068 osf3* | osf4* | osf5*) 8069 lt_prog_compiler_wl='-Wl,' 8070 # All OSF/1 code is PIC. 8071 lt_prog_compiler_static='-non_shared' 8072 ;; 8073 8074 rdos*) 8075 lt_prog_compiler_static='-non_shared' 8076 ;; 8077 8078 solaris*) 8079 lt_prog_compiler_pic='-KPIC' 8080 lt_prog_compiler_static='-Bstatic' 8081 case $cc_basename in 8082 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8083 lt_prog_compiler_wl='-Qoption ld ';; 8084 *) 8085 lt_prog_compiler_wl='-Wl,';; 8086 esac 8087 ;; 8088 8089 sunos4*) 8090 lt_prog_compiler_wl='-Qoption ld ' 8091 lt_prog_compiler_pic='-PIC' 8092 lt_prog_compiler_static='-Bstatic' 8093 ;; 8094 8095 sysv4 | sysv4.2uw2* | sysv4.3*) 8096 lt_prog_compiler_wl='-Wl,' 8097 lt_prog_compiler_pic='-KPIC' 8098 lt_prog_compiler_static='-Bstatic' 8099 ;; 8100 8101 sysv4*MP*) 8102 if test -d /usr/nec ;then 8103 lt_prog_compiler_pic='-Kconform_pic' 8104 lt_prog_compiler_static='-Bstatic' 8105 fi 8106 ;; 8107 8108 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8109 lt_prog_compiler_wl='-Wl,' 8110 lt_prog_compiler_pic='-KPIC' 8111 lt_prog_compiler_static='-Bstatic' 8112 ;; 8113 8114 unicos*) 8115 lt_prog_compiler_wl='-Wl,' 8116 lt_prog_compiler_can_build_shared=no 8117 ;; 8118 8119 uts4*) 8120 lt_prog_compiler_pic='-pic' 8121 lt_prog_compiler_static='-Bstatic' 8122 ;; 8123 8124 *) 8125 lt_prog_compiler_can_build_shared=no 8126 ;; 8127 esac 8128 fi 8129 8130case $host_os in 8131 # For platforms which do not support PIC, -DPIC is meaningless: 8132 *djgpp*) 8133 lt_prog_compiler_pic= 8134 ;; 8135 *) 8136 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8137 ;; 8138esac 8139 8140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8141$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8142if ${lt_cv_prog_compiler_pic+:} false; then : 8143 $as_echo_n "(cached) " >&6 8144else 8145 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8146fi 8147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8148$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8149lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8150 8151# 8152# Check to make sure the PIC flag actually works. 8153# 8154if test -n "$lt_prog_compiler_pic"; then 8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8156$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8157if ${lt_cv_prog_compiler_pic_works+:} false; then : 8158 $as_echo_n "(cached) " >&6 8159else 8160 lt_cv_prog_compiler_pic_works=no 8161 ac_outfile=conftest.$ac_objext 8162 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8163 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8164 # Insert the option either (1) after the last *FLAGS variable, or 8165 # (2) before a word containing "conftest.", or (3) at the end. 8166 # Note that $ac_compile itself does not contain backslashes and begins 8167 # with a dollar sign (not a hyphen), so the echo should work correctly. 8168 # The option is referenced via a variable to avoid confusing sed. 8169 lt_compile=`echo "$ac_compile" | $SED \ 8170 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8171 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8172 -e 's:$: $lt_compiler_flag:'` 8173 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8174 (eval "$lt_compile" 2>conftest.err) 8175 ac_status=$? 8176 cat conftest.err >&5 8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8178 if (exit $ac_status) && test -s "$ac_outfile"; then 8179 # The compiler can only warn and ignore the option if not recognized 8180 # So say no if there are warnings other than the usual output. 8181 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8182 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8183 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8184 lt_cv_prog_compiler_pic_works=yes 8185 fi 8186 fi 8187 $RM conftest* 8188 8189fi 8190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8191$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8192 8193if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8194 case $lt_prog_compiler_pic in 8195 "" | " "*) ;; 8196 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8197 esac 8198else 8199 lt_prog_compiler_pic= 8200 lt_prog_compiler_can_build_shared=no 8201fi 8202 8203fi 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215# 8216# Check to make sure the static flag actually works. 8217# 8218wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8220$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8221if ${lt_cv_prog_compiler_static_works+:} false; then : 8222 $as_echo_n "(cached) " >&6 8223else 8224 lt_cv_prog_compiler_static_works=no 8225 save_LDFLAGS="$LDFLAGS" 8226 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8227 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8228 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8229 # The linker can only warn and ignore the option if not recognized 8230 # So say no if there are warnings 8231 if test -s conftest.err; then 8232 # Append any errors to the config.log. 8233 cat conftest.err 1>&5 8234 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8235 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8236 if diff conftest.exp conftest.er2 >/dev/null; then 8237 lt_cv_prog_compiler_static_works=yes 8238 fi 8239 else 8240 lt_cv_prog_compiler_static_works=yes 8241 fi 8242 fi 8243 $RM -r conftest* 8244 LDFLAGS="$save_LDFLAGS" 8245 8246fi 8247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8248$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8249 8250if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8251 : 8252else 8253 lt_prog_compiler_static= 8254fi 8255 8256 8257 8258 8259 8260 8261 8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8263$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8264if ${lt_cv_prog_compiler_c_o+:} false; then : 8265 $as_echo_n "(cached) " >&6 8266else 8267 lt_cv_prog_compiler_c_o=no 8268 $RM -r conftest 2>/dev/null 8269 mkdir conftest 8270 cd conftest 8271 mkdir out 8272 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8273 8274 lt_compiler_flag="-o out/conftest2.$ac_objext" 8275 # Insert the option either (1) after the last *FLAGS variable, or 8276 # (2) before a word containing "conftest.", or (3) at the end. 8277 # Note that $ac_compile itself does not contain backslashes and begins 8278 # with a dollar sign (not a hyphen), so the echo should work correctly. 8279 lt_compile=`echo "$ac_compile" | $SED \ 8280 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8281 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8282 -e 's:$: $lt_compiler_flag:'` 8283 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8284 (eval "$lt_compile" 2>out/conftest.err) 8285 ac_status=$? 8286 cat out/conftest.err >&5 8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8288 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8289 then 8290 # The compiler can only warn and ignore the option if not recognized 8291 # So say no if there are warnings 8292 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8293 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8294 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8295 lt_cv_prog_compiler_c_o=yes 8296 fi 8297 fi 8298 chmod u+w . 2>&5 8299 $RM conftest* 8300 # SGI C++ compiler will create directory out/ii_files/ for 8301 # template instantiation 8302 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8303 $RM out/* && rmdir out 8304 cd .. 8305 $RM -r conftest 8306 $RM conftest* 8307 8308fi 8309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8310$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8311 8312 8313 8314 8315 8316 8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8318$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8319if ${lt_cv_prog_compiler_c_o+:} false; then : 8320 $as_echo_n "(cached) " >&6 8321else 8322 lt_cv_prog_compiler_c_o=no 8323 $RM -r conftest 2>/dev/null 8324 mkdir conftest 8325 cd conftest 8326 mkdir out 8327 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8328 8329 lt_compiler_flag="-o out/conftest2.$ac_objext" 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 lt_compile=`echo "$ac_compile" | $SED \ 8335 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8336 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8337 -e 's:$: $lt_compiler_flag:'` 8338 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8339 (eval "$lt_compile" 2>out/conftest.err) 8340 ac_status=$? 8341 cat out/conftest.err >&5 8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8343 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8344 then 8345 # The compiler can only warn and ignore the option if not recognized 8346 # So say no if there are warnings 8347 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8348 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8349 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8350 lt_cv_prog_compiler_c_o=yes 8351 fi 8352 fi 8353 chmod u+w . 2>&5 8354 $RM conftest* 8355 # SGI C++ compiler will create directory out/ii_files/ for 8356 # template instantiation 8357 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8358 $RM out/* && rmdir out 8359 cd .. 8360 $RM -r conftest 8361 $RM conftest* 8362 8363fi 8364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8365$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8366 8367 8368 8369 8370hard_links="nottested" 8371if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8372 # do not overwrite the value of need_locks provided by the user 8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8374$as_echo_n "checking if we can lock with hard links... " >&6; } 8375 hard_links=yes 8376 $RM conftest* 8377 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8378 touch conftest.a 8379 ln conftest.a conftest.b 2>&5 || hard_links=no 8380 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8382$as_echo "$hard_links" >&6; } 8383 if test "$hard_links" = no; then 8384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8385$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8386 need_locks=warn 8387 fi 8388else 8389 need_locks=no 8390fi 8391 8392 8393 8394 8395 8396 8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8398$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8399 8400 runpath_var= 8401 allow_undefined_flag= 8402 always_export_symbols=no 8403 archive_cmds= 8404 archive_expsym_cmds= 8405 compiler_needs_object=no 8406 enable_shared_with_static_runtimes=no 8407 export_dynamic_flag_spec= 8408 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8409 hardcode_automatic=no 8410 hardcode_direct=no 8411 hardcode_direct_absolute=no 8412 hardcode_libdir_flag_spec= 8413 hardcode_libdir_flag_spec_ld= 8414 hardcode_libdir_separator= 8415 hardcode_minus_L=no 8416 hardcode_shlibpath_var=unsupported 8417 inherit_rpath=no 8418 link_all_deplibs=unknown 8419 module_cmds= 8420 module_expsym_cmds= 8421 old_archive_from_new_cmds= 8422 old_archive_from_expsyms_cmds= 8423 thread_safe_flag_spec= 8424 whole_archive_flag_spec= 8425 # include_expsyms should be a list of space-separated symbols to be *always* 8426 # included in the symbol list 8427 include_expsyms= 8428 # exclude_expsyms can be an extended regexp of symbols to exclude 8429 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8430 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8431 # as well as any symbol that contains `d'. 8432 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8433 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8434 # platforms (ab)use it in PIC code, but their linkers get confused if 8435 # the symbol is explicitly referenced. Since portable code cannot 8436 # rely on this symbol name, it's probably fine to never include it in 8437 # preloaded symbol tables. 8438 # Exclude shared library initialization/finalization symbols. 8439 extract_expsyms_cmds= 8440 8441 case $host_os in 8442 cygwin* | mingw* | pw32* | cegcc*) 8443 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8444 # When not using gcc, we currently assume that we are using 8445 # Microsoft Visual C++. 8446 if test "$GCC" != yes; then 8447 with_gnu_ld=no 8448 fi 8449 ;; 8450 interix*) 8451 # we just hope/assume this is gcc and not c89 (= MSVC++) 8452 with_gnu_ld=yes 8453 ;; 8454 openbsd*) 8455 with_gnu_ld=no 8456 ;; 8457 esac 8458 8459 ld_shlibs=yes 8460 8461 # On some targets, GNU ld is compatible enough with the native linker 8462 # that we're better off using the native interface for both. 8463 lt_use_gnu_ld_interface=no 8464 if test "$with_gnu_ld" = yes; then 8465 case $host_os in 8466 aix*) 8467 # The AIX port of GNU ld has always aspired to compatibility 8468 # with the native linker. However, as the warning in the GNU ld 8469 # block says, versions before 2.19.5* couldn't really create working 8470 # shared libraries, regardless of the interface used. 8471 case `$LD -v 2>&1` in 8472 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8473 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8474 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8475 *) 8476 lt_use_gnu_ld_interface=yes 8477 ;; 8478 esac 8479 ;; 8480 *) 8481 lt_use_gnu_ld_interface=yes 8482 ;; 8483 esac 8484 fi 8485 8486 if test "$lt_use_gnu_ld_interface" = yes; then 8487 # If archive_cmds runs LD, not CC, wlarc should be empty 8488 wlarc='${wl}' 8489 8490 # Set some defaults for GNU ld with shared library support. These 8491 # are reset later if shared libraries are not supported. Putting them 8492 # here allows them to be overridden if necessary. 8493 runpath_var=LD_RUN_PATH 8494 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8495 export_dynamic_flag_spec='${wl}--export-dynamic' 8496 # ancient GNU ld didn't support --whole-archive et. al. 8497 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8498 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8499 else 8500 whole_archive_flag_spec= 8501 fi 8502 supports_anon_versioning=no 8503 case `$LD -v 2>&1` in 8504 *GNU\ gold*) supports_anon_versioning=yes ;; 8505 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8506 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8507 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8508 *\ 2.11.*) ;; # other 2.11 versions 8509 *) supports_anon_versioning=yes ;; 8510 esac 8511 8512 # See if GNU ld supports shared libraries. 8513 case $host_os in 8514 aix[3-9]*) 8515 # On AIX/PPC, the GNU linker is very broken 8516 if test "$host_cpu" != ia64; then 8517 ld_shlibs=no 8518 cat <<_LT_EOF 1>&2 8519 8520*** Warning: the GNU linker, at least up to release 2.19, is reported 8521*** to be unable to reliably create shared libraries on AIX. 8522*** Therefore, libtool is disabling shared libraries support. If you 8523*** really care for shared libraries, you may want to install binutils 8524*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8525*** You will then need to restart the configuration process. 8526 8527_LT_EOF 8528 fi 8529 ;; 8530 8531 amigaos*) 8532 case $host_cpu in 8533 powerpc) 8534 # see comment about AmigaOS4 .so support 8535 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8536 archive_expsym_cmds='' 8537 ;; 8538 m68k) 8539 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)' 8540 hardcode_libdir_flag_spec='-L$libdir' 8541 hardcode_minus_L=yes 8542 ;; 8543 esac 8544 ;; 8545 8546 beos*) 8547 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8548 allow_undefined_flag=unsupported 8549 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8550 # support --undefined. This deserves some investigation. FIXME 8551 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8552 else 8553 ld_shlibs=no 8554 fi 8555 ;; 8556 8557 cygwin* | mingw* | pw32* | cegcc*) 8558 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8559 # as there is no search path for DLLs. 8560 hardcode_libdir_flag_spec='-L$libdir' 8561 export_dynamic_flag_spec='${wl}--export-all-symbols' 8562 allow_undefined_flag=unsupported 8563 always_export_symbols=no 8564 enable_shared_with_static_runtimes=yes 8565 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' 8566 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8567 8568 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8569 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8570 # If the export-symbols file already is a .def file (1st line 8571 # is EXPORTS), use it as is; otherwise, prepend... 8572 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8573 cp $export_symbols $output_objdir/$soname.def; 8574 else 8575 echo EXPORTS > $output_objdir/$soname.def; 8576 cat $export_symbols >> $output_objdir/$soname.def; 8577 fi~ 8578 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8579 else 8580 ld_shlibs=no 8581 fi 8582 ;; 8583 8584 haiku*) 8585 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8586 link_all_deplibs=yes 8587 ;; 8588 8589 interix[3-9]*) 8590 hardcode_direct=no 8591 hardcode_shlibpath_var=no 8592 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8593 export_dynamic_flag_spec='${wl}-E' 8594 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8595 # Instead, shared libraries are loaded at an image base (0x10000000 by 8596 # default) and relocated if they conflict, which is a slow very memory 8597 # consuming and fragmenting process. To avoid this, we pick a random, 8598 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8599 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8600 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8601 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' 8602 ;; 8603 8604 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8605 tmp_diet=no 8606 if test "$host_os" = linux-dietlibc; then 8607 case $cc_basename in 8608 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8609 esac 8610 fi 8611 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8612 && test "$tmp_diet" = no 8613 then 8614 tmp_addflag=' $pic_flag' 8615 tmp_sharedflag='-shared' 8616 case $cc_basename,$host_cpu in 8617 pgcc*) # Portland Group C compiler 8618 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 8619 tmp_addflag=' $pic_flag' 8620 ;; 8621 pgf77* | pgf90* | pgf95* | pgfortran*) 8622 # Portland Group f77 and f90 compilers 8623 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' 8624 tmp_addflag=' $pic_flag -Mnomain' ;; 8625 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8626 tmp_addflag=' -i_dynamic' ;; 8627 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8628 tmp_addflag=' -i_dynamic -nofor_main' ;; 8629 ifc* | ifort*) # Intel Fortran compiler 8630 tmp_addflag=' -nofor_main' ;; 8631 lf95*) # Lahey Fortran 8.1 8632 whole_archive_flag_spec= 8633 tmp_sharedflag='--shared' ;; 8634 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8635 tmp_sharedflag='-qmkshrobj' 8636 tmp_addflag= ;; 8637 nvcc*) # Cuda Compiler Driver 2.2 8638 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' 8639 compiler_needs_object=yes 8640 ;; 8641 esac 8642 case `$CC -V 2>&1 | sed 5q` in 8643 *Sun\ C*) # Sun C 5.9 8644 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' 8645 compiler_needs_object=yes 8646 tmp_sharedflag='-G' ;; 8647 *Sun\ F*) # Sun Fortran 8.3 8648 tmp_sharedflag='-G' ;; 8649 esac 8650 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8651 8652 if test "x$supports_anon_versioning" = xyes; then 8653 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8654 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8655 echo "local: *; };" >> $output_objdir/$libname.ver~ 8656 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8657 fi 8658 8659 case $cc_basename in 8660 xlf* | bgf* | bgxlf* | mpixlf*) 8661 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8662 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8663 hardcode_libdir_flag_spec= 8664 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8665 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 8666 if test "x$supports_anon_versioning" = xyes; then 8667 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8668 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8669 echo "local: *; };" >> $output_objdir/$libname.ver~ 8670 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8671 fi 8672 ;; 8673 esac 8674 else 8675 ld_shlibs=no 8676 fi 8677 ;; 8678 8679 netbsd*) 8680 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8681 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8682 wlarc= 8683 else 8684 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8685 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8686 fi 8687 ;; 8688 8689 solaris*) 8690 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8691 ld_shlibs=no 8692 cat <<_LT_EOF 1>&2 8693 8694*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8695*** create shared libraries on Solaris systems. Therefore, libtool 8696*** is disabling shared libraries support. We urge you to upgrade GNU 8697*** binutils to release 2.9.1 or newer. Another option is to modify 8698*** your PATH or compiler configuration so that the native linker is 8699*** used, and then restart. 8700 8701_LT_EOF 8702 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8703 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8704 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8705 else 8706 ld_shlibs=no 8707 fi 8708 ;; 8709 8710 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8711 case `$LD -v 2>&1` in 8712 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8713 ld_shlibs=no 8714 cat <<_LT_EOF 1>&2 8715 8716*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8717*** reliably create shared libraries on SCO systems. Therefore, libtool 8718*** is disabling shared libraries support. We urge you to upgrade GNU 8719*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8720*** your PATH or compiler configuration so that the native linker is 8721*** used, and then restart. 8722 8723_LT_EOF 8724 ;; 8725 *) 8726 # For security reasons, it is highly recommended that you always 8727 # use absolute paths for naming shared libraries, and exclude the 8728 # DT_RUNPATH tag from executables and libraries. But doing so 8729 # requires that you compile everything twice, which is a pain. 8730 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8731 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8732 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8733 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8734 else 8735 ld_shlibs=no 8736 fi 8737 ;; 8738 esac 8739 ;; 8740 8741 sunos4*) 8742 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8743 wlarc= 8744 hardcode_direct=yes 8745 hardcode_shlibpath_var=no 8746 ;; 8747 8748 *) 8749 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8750 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8751 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8752 else 8753 ld_shlibs=no 8754 fi 8755 ;; 8756 esac 8757 8758 if test "$ld_shlibs" = no; then 8759 runpath_var= 8760 hardcode_libdir_flag_spec= 8761 export_dynamic_flag_spec= 8762 whole_archive_flag_spec= 8763 fi 8764 else 8765 # PORTME fill in a description of your system's linker (not GNU ld) 8766 case $host_os in 8767 aix3*) 8768 allow_undefined_flag=unsupported 8769 always_export_symbols=yes 8770 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' 8771 # Note: this linker hardcodes the directories in LIBPATH if there 8772 # are no directories specified by -L. 8773 hardcode_minus_L=yes 8774 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8775 # Neither direct hardcoding nor static linking is supported with a 8776 # broken collect2. 8777 hardcode_direct=unsupported 8778 fi 8779 ;; 8780 8781 aix[4-9]*) 8782 if test "$host_cpu" = ia64; then 8783 # On IA64, the linker does run time linking by default, so we don't 8784 # have to do anything special. 8785 aix_use_runtimelinking=no 8786 exp_sym_flag='-Bexport' 8787 no_entry_flag="" 8788 else 8789 # If we're using GNU nm, then we don't want the "-C" option. 8790 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8791 # Also, AIX nm treats weak defined symbols like other global 8792 # defined symbols, whereas GNU nm marks them as "W". 8793 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8794 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' 8795 else 8796 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' 8797 fi 8798 aix_use_runtimelinking=no 8799 8800 # Test if we are trying to use run time linking or normal 8801 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8802 # need to do runtime linking. 8803 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8804 for ld_flag in $LDFLAGS; do 8805 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8806 aix_use_runtimelinking=yes 8807 break 8808 fi 8809 done 8810 ;; 8811 esac 8812 8813 exp_sym_flag='-bexport' 8814 no_entry_flag='-bnoentry' 8815 fi 8816 8817 # When large executables or shared objects are built, AIX ld can 8818 # have problems creating the table of contents. If linking a library 8819 # or program results in "error TOC overflow" add -mminimal-toc to 8820 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8821 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8822 8823 archive_cmds='' 8824 hardcode_direct=yes 8825 hardcode_direct_absolute=yes 8826 hardcode_libdir_separator=':' 8827 link_all_deplibs=yes 8828 file_list_spec='${wl}-f,' 8829 8830 if test "$GCC" = yes; then 8831 case $host_os in aix4.[012]|aix4.[012].*) 8832 # We only want to do this on AIX 4.2 and lower, the check 8833 # below for broken collect2 doesn't work under 4.3+ 8834 collect2name=`${CC} -print-prog-name=collect2` 8835 if test -f "$collect2name" && 8836 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8837 then 8838 # We have reworked collect2 8839 : 8840 else 8841 # We have old collect2 8842 hardcode_direct=unsupported 8843 # It fails to find uninstalled libraries when the uninstalled 8844 # path is not listed in the libpath. Setting hardcode_minus_L 8845 # to unsupported forces relinking 8846 hardcode_minus_L=yes 8847 hardcode_libdir_flag_spec='-L$libdir' 8848 hardcode_libdir_separator= 8849 fi 8850 ;; 8851 esac 8852 shared_flag='-shared' 8853 if test "$aix_use_runtimelinking" = yes; then 8854 shared_flag="$shared_flag "'${wl}-G' 8855 fi 8856 else 8857 # not using gcc 8858 if test "$host_cpu" = ia64; then 8859 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8860 # chokes on -Wl,-G. The following line is correct: 8861 shared_flag='-G' 8862 else 8863 if test "$aix_use_runtimelinking" = yes; then 8864 shared_flag='${wl}-G' 8865 else 8866 shared_flag='${wl}-bM:SRE' 8867 fi 8868 fi 8869 fi 8870 8871 export_dynamic_flag_spec='${wl}-bexpall' 8872 # It seems that -bexpall does not export symbols beginning with 8873 # underscore (_), so it is better to generate a list of symbols to export. 8874 always_export_symbols=yes 8875 if test "$aix_use_runtimelinking" = yes; then 8876 # Warning - without using the other runtime loading flags (-brtl), 8877 # -berok will link without error, but may produce a broken library. 8878 allow_undefined_flag='-berok' 8879 # Determine the default libpath from the value encoded in an 8880 # empty executable. 8881 if test "${lt_cv_aix_libpath+set}" = set; then 8882 aix_libpath=$lt_cv_aix_libpath 8883else 8884 if ${lt_cv_aix_libpath_+:} false; then : 8885 $as_echo_n "(cached) " >&6 8886else 8887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8888/* end confdefs.h. */ 8889 8890int 8891main () 8892{ 8893 8894 ; 8895 return 0; 8896} 8897_ACEOF 8898if ac_fn_c_try_link "$LINENO"; then : 8899 8900 lt_aix_libpath_sed=' 8901 /Import File Strings/,/^$/ { 8902 /^0/ { 8903 s/^0 *\([^ ]*\) *$/\1/ 8904 p 8905 } 8906 }' 8907 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8908 # Check for a 64-bit object if we didn't find anything. 8909 if test -z "$lt_cv_aix_libpath_"; then 8910 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8911 fi 8912fi 8913rm -f core conftest.err conftest.$ac_objext \ 8914 conftest$ac_exeext conftest.$ac_ext 8915 if test -z "$lt_cv_aix_libpath_"; then 8916 lt_cv_aix_libpath_="/usr/lib:/lib" 8917 fi 8918 8919fi 8920 8921 aix_libpath=$lt_cv_aix_libpath_ 8922fi 8923 8924 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8925 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" 8926 else 8927 if test "$host_cpu" = ia64; then 8928 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8929 allow_undefined_flag="-z nodefs" 8930 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" 8931 else 8932 # Determine the default libpath from the value encoded in an 8933 # empty executable. 8934 if test "${lt_cv_aix_libpath+set}" = set; then 8935 aix_libpath=$lt_cv_aix_libpath 8936else 8937 if ${lt_cv_aix_libpath_+:} false; then : 8938 $as_echo_n "(cached) " >&6 8939else 8940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8941/* end confdefs.h. */ 8942 8943int 8944main () 8945{ 8946 8947 ; 8948 return 0; 8949} 8950_ACEOF 8951if ac_fn_c_try_link "$LINENO"; then : 8952 8953 lt_aix_libpath_sed=' 8954 /Import File Strings/,/^$/ { 8955 /^0/ { 8956 s/^0 *\([^ ]*\) *$/\1/ 8957 p 8958 } 8959 }' 8960 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8961 # Check for a 64-bit object if we didn't find anything. 8962 if test -z "$lt_cv_aix_libpath_"; then 8963 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8964 fi 8965fi 8966rm -f core conftest.err conftest.$ac_objext \ 8967 conftest$ac_exeext conftest.$ac_ext 8968 if test -z "$lt_cv_aix_libpath_"; then 8969 lt_cv_aix_libpath_="/usr/lib:/lib" 8970 fi 8971 8972fi 8973 8974 aix_libpath=$lt_cv_aix_libpath_ 8975fi 8976 8977 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8978 # Warning - without using the other run time loading flags, 8979 # -berok will link without error, but may produce a broken library. 8980 no_undefined_flag=' ${wl}-bernotok' 8981 allow_undefined_flag=' ${wl}-berok' 8982 if test "$with_gnu_ld" = yes; then 8983 # We only use this code for GNU lds that support --whole-archive. 8984 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 8985 else 8986 # Exported symbols can be pulled into shared objects from archives 8987 whole_archive_flag_spec='$convenience' 8988 fi 8989 archive_cmds_need_lc=yes 8990 # This is similar to how AIX traditionally builds its shared libraries. 8991 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' 8992 fi 8993 fi 8994 ;; 8995 8996 amigaos*) 8997 case $host_cpu in 8998 powerpc) 8999 # see comment about AmigaOS4 .so support 9000 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9001 archive_expsym_cmds='' 9002 ;; 9003 m68k) 9004 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)' 9005 hardcode_libdir_flag_spec='-L$libdir' 9006 hardcode_minus_L=yes 9007 ;; 9008 esac 9009 ;; 9010 9011 bsdi[45]*) 9012 export_dynamic_flag_spec=-rdynamic 9013 ;; 9014 9015 cygwin* | mingw* | pw32* | cegcc*) 9016 # When not using gcc, we currently assume that we are using 9017 # Microsoft Visual C++. 9018 # hardcode_libdir_flag_spec is actually meaningless, as there is 9019 # no search path for DLLs. 9020 case $cc_basename in 9021 cl*) 9022 # Native MSVC 9023 hardcode_libdir_flag_spec=' ' 9024 allow_undefined_flag=unsupported 9025 always_export_symbols=yes 9026 file_list_spec='@' 9027 # Tell ltmain to make .lib files, not .a files. 9028 libext=lib 9029 # Tell ltmain to make .dll files, not .so files. 9030 shrext_cmds=".dll" 9031 # FIXME: Setting linknames here is a bad hack. 9032 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9033 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9034 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9035 else 9036 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9037 fi~ 9038 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9039 linknames=' 9040 # The linker will not automatically build a static lib if we build a DLL. 9041 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9042 enable_shared_with_static_runtimes=yes 9043 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9044 # Don't use ranlib 9045 old_postinstall_cmds='chmod 644 $oldlib' 9046 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9047 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9048 case $lt_outputfile in 9049 *.exe|*.EXE) ;; 9050 *) 9051 lt_outputfile="$lt_outputfile.exe" 9052 lt_tool_outputfile="$lt_tool_outputfile.exe" 9053 ;; 9054 esac~ 9055 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9056 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9057 $RM "$lt_outputfile.manifest"; 9058 fi' 9059 ;; 9060 *) 9061 # Assume MSVC wrapper 9062 hardcode_libdir_flag_spec=' ' 9063 allow_undefined_flag=unsupported 9064 # Tell ltmain to make .lib files, not .a files. 9065 libext=lib 9066 # Tell ltmain to make .dll files, not .so files. 9067 shrext_cmds=".dll" 9068 # FIXME: Setting linknames here is a bad hack. 9069 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9070 # The linker will automatically build a .lib file if we build a DLL. 9071 old_archive_from_new_cmds='true' 9072 # FIXME: Should let the user specify the lib program. 9073 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9074 enable_shared_with_static_runtimes=yes 9075 ;; 9076 esac 9077 ;; 9078 9079 darwin* | rhapsody*) 9080 9081 9082 archive_cmds_need_lc=no 9083 hardcode_direct=no 9084 hardcode_automatic=yes 9085 hardcode_shlibpath_var=unsupported 9086 if test "$lt_cv_ld_force_load" = "yes"; then 9087 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\"`' 9088 else 9089 whole_archive_flag_spec='' 9090 fi 9091 link_all_deplibs=yes 9092 allow_undefined_flag="$_lt_dar_allow_undefined" 9093 case $cc_basename in 9094 ifort*) _lt_dar_can_shared=yes ;; 9095 *) _lt_dar_can_shared=$GCC ;; 9096 esac 9097 if test "$_lt_dar_can_shared" = "yes"; then 9098 output_verbose_link_cmd=func_echo_all 9099 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9100 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9101 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}" 9102 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}" 9103 9104 else 9105 ld_shlibs=no 9106 fi 9107 9108 ;; 9109 9110 dgux*) 9111 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9112 hardcode_libdir_flag_spec='-L$libdir' 9113 hardcode_shlibpath_var=no 9114 ;; 9115 9116 freebsd1*) 9117 ld_shlibs=no 9118 ;; 9119 9120 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9121 # support. Future versions do this automatically, but an explicit c++rt0.o 9122 # does not break anything, and helps significantly (at the cost of a little 9123 # extra space). 9124 freebsd2.2*) 9125 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9126 hardcode_libdir_flag_spec='-R$libdir' 9127 hardcode_direct=yes 9128 hardcode_shlibpath_var=no 9129 ;; 9130 9131 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9132 freebsd2*) 9133 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9134 hardcode_direct=yes 9135 hardcode_minus_L=yes 9136 hardcode_shlibpath_var=no 9137 ;; 9138 9139 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9140 freebsd* | dragonfly*) 9141 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9142 hardcode_libdir_flag_spec='-R$libdir' 9143 hardcode_direct=yes 9144 hardcode_shlibpath_var=no 9145 ;; 9146 9147 hpux9*) 9148 if test "$GCC" = yes; then 9149 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' 9150 else 9151 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' 9152 fi 9153 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9154 hardcode_libdir_separator=: 9155 hardcode_direct=yes 9156 9157 # hardcode_minus_L: Not really in the search PATH, 9158 # but as the default location of the library. 9159 hardcode_minus_L=yes 9160 export_dynamic_flag_spec='${wl}-E' 9161 ;; 9162 9163 hpux10*) 9164 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9165 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9166 else 9167 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9168 fi 9169 if test "$with_gnu_ld" = no; then 9170 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9171 hardcode_libdir_flag_spec_ld='+b $libdir' 9172 hardcode_libdir_separator=: 9173 hardcode_direct=yes 9174 hardcode_direct_absolute=yes 9175 export_dynamic_flag_spec='${wl}-E' 9176 # hardcode_minus_L: Not really in the search PATH, 9177 # but as the default location of the library. 9178 hardcode_minus_L=yes 9179 fi 9180 ;; 9181 9182 hpux11*) 9183 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9184 case $host_cpu in 9185 hppa*64*) 9186 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9187 ;; 9188 ia64*) 9189 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9190 ;; 9191 *) 9192 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9193 ;; 9194 esac 9195 else 9196 case $host_cpu in 9197 hppa*64*) 9198 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9199 ;; 9200 ia64*) 9201 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9202 ;; 9203 *) 9204 9205 # Older versions of the 11.00 compiler do not understand -b yet 9206 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9208$as_echo_n "checking if $CC understands -b... " >&6; } 9209if ${lt_cv_prog_compiler__b+:} false; then : 9210 $as_echo_n "(cached) " >&6 9211else 9212 lt_cv_prog_compiler__b=no 9213 save_LDFLAGS="$LDFLAGS" 9214 LDFLAGS="$LDFLAGS -b" 9215 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9216 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9217 # The linker can only warn and ignore the option if not recognized 9218 # So say no if there are warnings 9219 if test -s conftest.err; then 9220 # Append any errors to the config.log. 9221 cat conftest.err 1>&5 9222 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9223 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9224 if diff conftest.exp conftest.er2 >/dev/null; then 9225 lt_cv_prog_compiler__b=yes 9226 fi 9227 else 9228 lt_cv_prog_compiler__b=yes 9229 fi 9230 fi 9231 $RM -r conftest* 9232 LDFLAGS="$save_LDFLAGS" 9233 9234fi 9235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9236$as_echo "$lt_cv_prog_compiler__b" >&6; } 9237 9238if test x"$lt_cv_prog_compiler__b" = xyes; then 9239 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9240else 9241 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9242fi 9243 9244 ;; 9245 esac 9246 fi 9247 if test "$with_gnu_ld" = no; then 9248 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9249 hardcode_libdir_separator=: 9250 9251 case $host_cpu in 9252 hppa*64*|ia64*) 9253 hardcode_direct=no 9254 hardcode_shlibpath_var=no 9255 ;; 9256 *) 9257 hardcode_direct=yes 9258 hardcode_direct_absolute=yes 9259 export_dynamic_flag_spec='${wl}-E' 9260 9261 # hardcode_minus_L: Not really in the search PATH, 9262 # but as the default location of the library. 9263 hardcode_minus_L=yes 9264 ;; 9265 esac 9266 fi 9267 ;; 9268 9269 irix5* | irix6* | nonstopux*) 9270 if test "$GCC" = yes; then 9271 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' 9272 # Try to use the -exported_symbol ld option, if it does not 9273 # work, assume that -exports_file does not work either and 9274 # implicitly export all symbols. 9275 # This should be the same for all languages, so no per-tag cache variable. 9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9277$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9278if ${lt_cv_irix_exported_symbol+:} false; then : 9279 $as_echo_n "(cached) " >&6 9280else 9281 save_LDFLAGS="$LDFLAGS" 9282 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9284/* end confdefs.h. */ 9285int foo (void) { return 0; } 9286_ACEOF 9287if ac_fn_c_try_link "$LINENO"; then : 9288 lt_cv_irix_exported_symbol=yes 9289else 9290 lt_cv_irix_exported_symbol=no 9291fi 9292rm -f core conftest.err conftest.$ac_objext \ 9293 conftest$ac_exeext conftest.$ac_ext 9294 LDFLAGS="$save_LDFLAGS" 9295fi 9296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9297$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9298 if test "$lt_cv_irix_exported_symbol" = yes; then 9299 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' 9300 fi 9301 else 9302 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' 9303 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' 9304 fi 9305 archive_cmds_need_lc='no' 9306 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9307 hardcode_libdir_separator=: 9308 inherit_rpath=yes 9309 link_all_deplibs=yes 9310 ;; 9311 9312 netbsd*) 9313 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9314 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9315 else 9316 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9317 fi 9318 hardcode_libdir_flag_spec='-R$libdir' 9319 hardcode_direct=yes 9320 hardcode_shlibpath_var=no 9321 ;; 9322 9323 newsos6) 9324 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9325 hardcode_direct=yes 9326 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9327 hardcode_libdir_separator=: 9328 hardcode_shlibpath_var=no 9329 ;; 9330 9331 *nto* | *qnx*) 9332 ;; 9333 9334 openbsd*) 9335 if test -f /usr/libexec/ld.so; then 9336 hardcode_direct=yes 9337 hardcode_shlibpath_var=no 9338 hardcode_direct_absolute=yes 9339 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9340 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9341 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9342 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9343 export_dynamic_flag_spec='${wl}-E' 9344 else 9345 case $host_os in 9346 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9347 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9348 hardcode_libdir_flag_spec='-R$libdir' 9349 ;; 9350 *) 9351 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9352 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9353 ;; 9354 esac 9355 fi 9356 else 9357 ld_shlibs=no 9358 fi 9359 ;; 9360 9361 os2*) 9362 hardcode_libdir_flag_spec='-L$libdir' 9363 hardcode_minus_L=yes 9364 allow_undefined_flag=unsupported 9365 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' 9366 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9367 ;; 9368 9369 osf3*) 9370 if test "$GCC" = yes; then 9371 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9372 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' 9373 else 9374 allow_undefined_flag=' -expect_unresolved \*' 9375 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' 9376 fi 9377 archive_cmds_need_lc='no' 9378 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9379 hardcode_libdir_separator=: 9380 ;; 9381 9382 osf4* | osf5*) # as osf3* with the addition of -msym flag 9383 if test "$GCC" = yes; then 9384 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9385 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' 9386 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9387 else 9388 allow_undefined_flag=' -expect_unresolved \*' 9389 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' 9390 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~ 9391 $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' 9392 9393 # Both c and cxx compiler support -rpath directly 9394 hardcode_libdir_flag_spec='-rpath $libdir' 9395 fi 9396 archive_cmds_need_lc='no' 9397 hardcode_libdir_separator=: 9398 ;; 9399 9400 solaris*) 9401 no_undefined_flag=' -z defs' 9402 if test "$GCC" = yes; then 9403 wlarc='${wl}' 9404 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9405 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9406 $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' 9407 else 9408 case `$CC -V 2>&1` in 9409 *"Compilers 5.0"*) 9410 wlarc='' 9411 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9412 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9413 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9414 ;; 9415 *) 9416 wlarc='${wl}' 9417 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9418 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9419 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9420 ;; 9421 esac 9422 fi 9423 hardcode_libdir_flag_spec='-R$libdir' 9424 hardcode_shlibpath_var=no 9425 case $host_os in 9426 solaris2.[0-5] | solaris2.[0-5].*) ;; 9427 *) 9428 # The compiler driver will combine and reorder linker options, 9429 # but understands `-z linker_flag'. GCC discards it without `$wl', 9430 # but is careful enough not to reorder. 9431 # Supported since Solaris 2.6 (maybe 2.5.1?) 9432 if test "$GCC" = yes; then 9433 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9434 else 9435 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9436 fi 9437 ;; 9438 esac 9439 link_all_deplibs=yes 9440 ;; 9441 9442 sunos4*) 9443 if test "x$host_vendor" = xsequent; then 9444 # Use $CC to link under sequent, because it throws in some extra .o 9445 # files that make .init and .fini sections work. 9446 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9447 else 9448 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9449 fi 9450 hardcode_libdir_flag_spec='-L$libdir' 9451 hardcode_direct=yes 9452 hardcode_minus_L=yes 9453 hardcode_shlibpath_var=no 9454 ;; 9455 9456 sysv4) 9457 case $host_vendor in 9458 sni) 9459 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9460 hardcode_direct=yes # is this really true??? 9461 ;; 9462 siemens) 9463 ## LD is ld it makes a PLAMLIB 9464 ## CC just makes a GrossModule. 9465 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9466 reload_cmds='$CC -r -o $output$reload_objs' 9467 hardcode_direct=no 9468 ;; 9469 motorola) 9470 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9471 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9472 ;; 9473 esac 9474 runpath_var='LD_RUN_PATH' 9475 hardcode_shlibpath_var=no 9476 ;; 9477 9478 sysv4.3*) 9479 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9480 hardcode_shlibpath_var=no 9481 export_dynamic_flag_spec='-Bexport' 9482 ;; 9483 9484 sysv4*MP*) 9485 if test -d /usr/nec; then 9486 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9487 hardcode_shlibpath_var=no 9488 runpath_var=LD_RUN_PATH 9489 hardcode_runpath_var=yes 9490 ld_shlibs=yes 9491 fi 9492 ;; 9493 9494 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9495 no_undefined_flag='${wl}-z,text' 9496 archive_cmds_need_lc=no 9497 hardcode_shlibpath_var=no 9498 runpath_var='LD_RUN_PATH' 9499 9500 if test "$GCC" = yes; then 9501 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9502 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9503 else 9504 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9505 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9506 fi 9507 ;; 9508 9509 sysv5* | sco3.2v5* | sco5v6*) 9510 # Note: We can NOT use -z defs as we might desire, because we do not 9511 # link with -lc, and that would cause any symbols used from libc to 9512 # always be unresolved, which means just about no library would 9513 # ever link correctly. If we're not using GNU ld we use -z text 9514 # though, which does catch some bad symbols but isn't as heavy-handed 9515 # as -z defs. 9516 no_undefined_flag='${wl}-z,text' 9517 allow_undefined_flag='${wl}-z,nodefs' 9518 archive_cmds_need_lc=no 9519 hardcode_shlibpath_var=no 9520 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9521 hardcode_libdir_separator=':' 9522 link_all_deplibs=yes 9523 export_dynamic_flag_spec='${wl}-Bexport' 9524 runpath_var='LD_RUN_PATH' 9525 9526 if test "$GCC" = yes; then 9527 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9528 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9529 else 9530 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9531 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9532 fi 9533 ;; 9534 9535 uts4*) 9536 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9537 hardcode_libdir_flag_spec='-L$libdir' 9538 hardcode_shlibpath_var=no 9539 ;; 9540 9541 *) 9542 ld_shlibs=no 9543 ;; 9544 esac 9545 9546 if test x$host_vendor = xsni; then 9547 case $host in 9548 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9549 export_dynamic_flag_spec='${wl}-Blargedynsym' 9550 ;; 9551 esac 9552 fi 9553 fi 9554 9555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9556$as_echo "$ld_shlibs" >&6; } 9557test "$ld_shlibs" = no && can_build_shared=no 9558 9559with_gnu_ld=$with_gnu_ld 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575# 9576# Do we need to explicitly link libc? 9577# 9578case "x$archive_cmds_need_lc" in 9579x|xyes) 9580 # Assume -lc should be added 9581 archive_cmds_need_lc=yes 9582 9583 if test "$enable_shared" = yes && test "$GCC" = yes; then 9584 case $archive_cmds in 9585 *'~'*) 9586 # FIXME: we may have to deal with multi-command sequences. 9587 ;; 9588 '$CC '*) 9589 # Test whether the compiler implicitly links with -lc since on some 9590 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9591 # to ld, don't add -lc before -lgcc. 9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9593$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9594if ${lt_cv_archive_cmds_need_lc+:} false; then : 9595 $as_echo_n "(cached) " >&6 9596else 9597 $RM conftest* 9598 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9599 9600 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9601 (eval $ac_compile) 2>&5 9602 ac_status=$? 9603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9604 test $ac_status = 0; } 2>conftest.err; then 9605 soname=conftest 9606 lib=conftest 9607 libobjs=conftest.$ac_objext 9608 deplibs= 9609 wl=$lt_prog_compiler_wl 9610 pic_flag=$lt_prog_compiler_pic 9611 compiler_flags=-v 9612 linker_flags=-v 9613 verstring= 9614 output_objdir=. 9615 libname=conftest 9616 lt_save_allow_undefined_flag=$allow_undefined_flag 9617 allow_undefined_flag= 9618 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9619 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9620 ac_status=$? 9621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9622 test $ac_status = 0; } 9623 then 9624 lt_cv_archive_cmds_need_lc=no 9625 else 9626 lt_cv_archive_cmds_need_lc=yes 9627 fi 9628 allow_undefined_flag=$lt_save_allow_undefined_flag 9629 else 9630 cat conftest.err 1>&5 9631 fi 9632 $RM conftest* 9633 9634fi 9635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9636$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9637 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9638 ;; 9639 esac 9640 fi 9641 ;; 9642esac 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9801$as_echo_n "checking dynamic linker characteristics... " >&6; } 9802 9803if test "$GCC" = yes; then 9804 case $host_os in 9805 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9806 *) lt_awk_arg="/^libraries:/" ;; 9807 esac 9808 case $host_os in 9809 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 9810 *) lt_sed_strip_eq="s,=/,/,g" ;; 9811 esac 9812 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 9813 case $lt_search_path_spec in 9814 *\;*) 9815 # if the path contains ";" then we assume it to be the separator 9816 # otherwise default to the standard path separator (i.e. ":") - it is 9817 # assumed that no part of a normal pathname contains ";" but that should 9818 # okay in the real world where ";" in dirpaths is itself problematic. 9819 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 9820 ;; 9821 *) 9822 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 9823 ;; 9824 esac 9825 # Ok, now we have the path, separated by spaces, we can step through it 9826 # and add multilib dir if necessary. 9827 lt_tmp_lt_search_path_spec= 9828 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9829 for lt_sys_path in $lt_search_path_spec; do 9830 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9831 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9832 else 9833 test -d "$lt_sys_path" && \ 9834 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9835 fi 9836 done 9837 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 9838BEGIN {RS=" "; FS="/|\n";} { 9839 lt_foo=""; 9840 lt_count=0; 9841 for (lt_i = NF; lt_i > 0; lt_i--) { 9842 if ($lt_i != "" && $lt_i != ".") { 9843 if ($lt_i == "..") { 9844 lt_count++; 9845 } else { 9846 if (lt_count == 0) { 9847 lt_foo="/" $lt_i lt_foo; 9848 } else { 9849 lt_count--; 9850 } 9851 } 9852 } 9853 } 9854 if (lt_foo != "") { lt_freq[lt_foo]++; } 9855 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9856}'` 9857 # AWK program above erroneously prepends '/' to C:/dos/paths 9858 # for these hosts. 9859 case $host_os in 9860 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 9861 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 9862 esac 9863 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 9864else 9865 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9866fi 9867library_names_spec= 9868libname_spec='lib$name' 9869soname_spec= 9870shrext_cmds=".so" 9871postinstall_cmds= 9872postuninstall_cmds= 9873finish_cmds= 9874finish_eval= 9875shlibpath_var= 9876shlibpath_overrides_runpath=unknown 9877version_type=none 9878dynamic_linker="$host_os ld.so" 9879sys_lib_dlsearch_path_spec="/lib /usr/lib" 9880need_lib_prefix=unknown 9881hardcode_into_libs=no 9882 9883# when you set need_version to no, make sure it does not cause -set_version 9884# flags to be left without arguments 9885need_version=unknown 9886 9887case $host_os in 9888aix3*) 9889 version_type=linux 9890 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9891 shlibpath_var=LIBPATH 9892 9893 # AIX 3 has no versioning support, so we append a major version to the name. 9894 soname_spec='${libname}${release}${shared_ext}$major' 9895 ;; 9896 9897aix[4-9]*) 9898 version_type=linux 9899 need_lib_prefix=no 9900 need_version=no 9901 hardcode_into_libs=yes 9902 if test "$host_cpu" = ia64; then 9903 # AIX 5 supports IA64 9904 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9905 shlibpath_var=LD_LIBRARY_PATH 9906 else 9907 # With GCC up to 2.95.x, collect2 would create an import file 9908 # for dependence libraries. The import file would start with 9909 # the line `#! .'. This would cause the generated library to 9910 # depend on `.', always an invalid library. This was fixed in 9911 # development snapshots of GCC prior to 3.0. 9912 case $host_os in 9913 aix4 | aix4.[01] | aix4.[01].*) 9914 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9915 echo ' yes ' 9916 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9917 : 9918 else 9919 can_build_shared=no 9920 fi 9921 ;; 9922 esac 9923 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9924 # soname into executable. Probably we can add versioning support to 9925 # collect2, so additional links can be useful in future. 9926 if test "$aix_use_runtimelinking" = yes; then 9927 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9928 # instead of lib<name>.a to let people know that these are not 9929 # typical AIX shared libraries. 9930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9931 else 9932 # We preserve .a as extension for shared libraries through AIX4.2 9933 # and later when we are not doing run time linking. 9934 library_names_spec='${libname}${release}.a $libname.a' 9935 soname_spec='${libname}${release}${shared_ext}$major' 9936 fi 9937 shlibpath_var=LIBPATH 9938 fi 9939 ;; 9940 9941amigaos*) 9942 case $host_cpu in 9943 powerpc) 9944 # Since July 2007 AmigaOS4 officially supports .so libraries. 9945 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9947 ;; 9948 m68k) 9949 library_names_spec='$libname.ixlibrary $libname.a' 9950 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9951 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' 9952 ;; 9953 esac 9954 ;; 9955 9956beos*) 9957 library_names_spec='${libname}${shared_ext}' 9958 dynamic_linker="$host_os ld.so" 9959 shlibpath_var=LIBRARY_PATH 9960 ;; 9961 9962bsdi[45]*) 9963 version_type=linux 9964 need_version=no 9965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9966 soname_spec='${libname}${release}${shared_ext}$major' 9967 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9968 shlibpath_var=LD_LIBRARY_PATH 9969 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9970 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9971 # the default ld.so.conf also contains /usr/contrib/lib and 9972 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9973 # libtool to hard-code these into programs 9974 ;; 9975 9976cygwin* | mingw* | pw32* | cegcc*) 9977 version_type=windows 9978 shrext_cmds=".dll" 9979 need_version=no 9980 need_lib_prefix=no 9981 9982 case $GCC,$cc_basename in 9983 yes,*) 9984 # gcc 9985 library_names_spec='$libname.dll.a' 9986 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9987 postinstall_cmds='base_file=`basename \${file}`~ 9988 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9989 dldir=$destdir/`dirname \$dlpath`~ 9990 test -d \$dldir || mkdir -p \$dldir~ 9991 $install_prog $dir/$dlname \$dldir/$dlname~ 9992 chmod a+x \$dldir/$dlname~ 9993 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9994 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9995 fi' 9996 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9997 dlpath=$dir/\$dldll~ 9998 $RM \$dlpath' 9999 shlibpath_overrides_runpath=yes 10000 10001 case $host_os in 10002 cygwin*) 10003 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10004 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10005 10006 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10007 ;; 10008 mingw* | cegcc*) 10009 # MinGW DLLs use traditional 'lib' prefix 10010 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10011 ;; 10012 pw32*) 10013 # pw32 DLLs use 'pw' prefix rather than 'lib' 10014 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10015 ;; 10016 esac 10017 dynamic_linker='Win32 ld.exe' 10018 ;; 10019 10020 *,cl*) 10021 # Native MSVC 10022 libname_spec='$name' 10023 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10024 library_names_spec='${libname}.dll.lib' 10025 10026 case $build_os in 10027 mingw*) 10028 sys_lib_search_path_spec= 10029 lt_save_ifs=$IFS 10030 IFS=';' 10031 for lt_path in $LIB 10032 do 10033 IFS=$lt_save_ifs 10034 # Let DOS variable expansion print the short 8.3 style file name. 10035 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10036 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10037 done 10038 IFS=$lt_save_ifs 10039 # Convert to MSYS style. 10040 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10041 ;; 10042 cygwin*) 10043 # Convert to unix form, then to dos form, then back to unix form 10044 # but this time dos style (no spaces!) so that the unix form looks 10045 # like /cygdrive/c/PROGRA~1:/cygdr... 10046 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10047 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10048 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10049 ;; 10050 *) 10051 sys_lib_search_path_spec="$LIB" 10052 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10053 # It is most probably a Windows format PATH. 10054 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10055 else 10056 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10057 fi 10058 # FIXME: find the short name or the path components, as spaces are 10059 # common. (e.g. "Program Files" -> "PROGRA~1") 10060 ;; 10061 esac 10062 10063 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10064 postinstall_cmds='base_file=`basename \${file}`~ 10065 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10066 dldir=$destdir/`dirname \$dlpath`~ 10067 test -d \$dldir || mkdir -p \$dldir~ 10068 $install_prog $dir/$dlname \$dldir/$dlname' 10069 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10070 dlpath=$dir/\$dldll~ 10071 $RM \$dlpath' 10072 shlibpath_overrides_runpath=yes 10073 dynamic_linker='Win32 link.exe' 10074 ;; 10075 10076 *) 10077 # Assume MSVC wrapper 10078 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10079 dynamic_linker='Win32 ld.exe' 10080 ;; 10081 esac 10082 # FIXME: first we should search . and the directory the executable is in 10083 shlibpath_var=PATH 10084 ;; 10085 10086darwin* | rhapsody*) 10087 dynamic_linker="$host_os dyld" 10088 version_type=darwin 10089 need_lib_prefix=no 10090 need_version=no 10091 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10092 soname_spec='${libname}${release}${major}$shared_ext' 10093 shlibpath_overrides_runpath=yes 10094 shlibpath_var=DYLD_LIBRARY_PATH 10095 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10096 10097 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10098 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10099 ;; 10100 10101dgux*) 10102 version_type=linux 10103 need_lib_prefix=no 10104 need_version=no 10105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10106 soname_spec='${libname}${release}${shared_ext}$major' 10107 shlibpath_var=LD_LIBRARY_PATH 10108 ;; 10109 10110freebsd1*) 10111 dynamic_linker=no 10112 ;; 10113 10114freebsd* | dragonfly*) 10115 # DragonFly does not have aout. When/if they implement a new 10116 # versioning mechanism, adjust this. 10117 if test -x /usr/bin/objformat; then 10118 objformat=`/usr/bin/objformat` 10119 else 10120 case $host_os in 10121 freebsd[123]*) objformat=aout ;; 10122 *) objformat=elf ;; 10123 esac 10124 fi 10125 version_type=freebsd-$objformat 10126 case $version_type in 10127 freebsd-elf*) 10128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10129 need_version=no 10130 need_lib_prefix=no 10131 ;; 10132 freebsd-*) 10133 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10134 need_version=yes 10135 ;; 10136 esac 10137 shlibpath_var=LD_LIBRARY_PATH 10138 case $host_os in 10139 freebsd2*) 10140 shlibpath_overrides_runpath=yes 10141 ;; 10142 freebsd3.[01]* | freebsdelf3.[01]*) 10143 shlibpath_overrides_runpath=yes 10144 hardcode_into_libs=yes 10145 ;; 10146 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10147 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10148 shlibpath_overrides_runpath=no 10149 hardcode_into_libs=yes 10150 ;; 10151 *) # from 4.6 on, and DragonFly 10152 shlibpath_overrides_runpath=yes 10153 hardcode_into_libs=yes 10154 ;; 10155 esac 10156 ;; 10157 10158gnu*) 10159 version_type=linux 10160 need_lib_prefix=no 10161 need_version=no 10162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10163 soname_spec='${libname}${release}${shared_ext}$major' 10164 shlibpath_var=LD_LIBRARY_PATH 10165 hardcode_into_libs=yes 10166 ;; 10167 10168haiku*) 10169 version_type=linux 10170 need_lib_prefix=no 10171 need_version=no 10172 dynamic_linker="$host_os runtime_loader" 10173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10174 soname_spec='${libname}${release}${shared_ext}$major' 10175 shlibpath_var=LIBRARY_PATH 10176 shlibpath_overrides_runpath=yes 10177 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10178 hardcode_into_libs=yes 10179 ;; 10180 10181hpux9* | hpux10* | hpux11*) 10182 # Give a soname corresponding to the major version so that dld.sl refuses to 10183 # link against other versions. 10184 version_type=sunos 10185 need_lib_prefix=no 10186 need_version=no 10187 case $host_cpu in 10188 ia64*) 10189 shrext_cmds='.so' 10190 hardcode_into_libs=yes 10191 dynamic_linker="$host_os dld.so" 10192 shlibpath_var=LD_LIBRARY_PATH 10193 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10195 soname_spec='${libname}${release}${shared_ext}$major' 10196 if test "X$HPUX_IA64_MODE" = X32; then 10197 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10198 else 10199 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10200 fi 10201 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10202 ;; 10203 hppa*64*) 10204 shrext_cmds='.sl' 10205 hardcode_into_libs=yes 10206 dynamic_linker="$host_os dld.sl" 10207 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10208 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10210 soname_spec='${libname}${release}${shared_ext}$major' 10211 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10212 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10213 ;; 10214 *) 10215 shrext_cmds='.sl' 10216 dynamic_linker="$host_os dld.sl" 10217 shlibpath_var=SHLIB_PATH 10218 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10220 soname_spec='${libname}${release}${shared_ext}$major' 10221 ;; 10222 esac 10223 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10224 postinstall_cmds='chmod 555 $lib' 10225 # or fails outright, so override atomically: 10226 install_override_mode=555 10227 ;; 10228 10229interix[3-9]*) 10230 version_type=linux 10231 need_lib_prefix=no 10232 need_version=no 10233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10234 soname_spec='${libname}${release}${shared_ext}$major' 10235 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10236 shlibpath_var=LD_LIBRARY_PATH 10237 shlibpath_overrides_runpath=no 10238 hardcode_into_libs=yes 10239 ;; 10240 10241irix5* | irix6* | nonstopux*) 10242 case $host_os in 10243 nonstopux*) version_type=nonstopux ;; 10244 *) 10245 if test "$lt_cv_prog_gnu_ld" = yes; then 10246 version_type=linux 10247 else 10248 version_type=irix 10249 fi ;; 10250 esac 10251 need_lib_prefix=no 10252 need_version=no 10253 soname_spec='${libname}${release}${shared_ext}$major' 10254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10255 case $host_os in 10256 irix5* | nonstopux*) 10257 libsuff= shlibsuff= 10258 ;; 10259 *) 10260 case $LD in # libtool.m4 will add one of these switches to LD 10261 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10262 libsuff= shlibsuff= libmagic=32-bit;; 10263 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10264 libsuff=32 shlibsuff=N32 libmagic=N32;; 10265 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10266 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10267 *) libsuff= shlibsuff= libmagic=never-match;; 10268 esac 10269 ;; 10270 esac 10271 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10272 shlibpath_overrides_runpath=no 10273 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10274 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10275 hardcode_into_libs=yes 10276 ;; 10277 10278# No shared lib support for Linux oldld, aout, or coff. 10279linux*oldld* | linux*aout* | linux*coff*) 10280 dynamic_linker=no 10281 ;; 10282 10283# This must be Linux ELF. 10284linux* | k*bsd*-gnu | kopensolaris*-gnu) 10285 version_type=linux 10286 need_lib_prefix=no 10287 need_version=no 10288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10289 soname_spec='${libname}${release}${shared_ext}$major' 10290 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10291 shlibpath_var=LD_LIBRARY_PATH 10292 shlibpath_overrides_runpath=no 10293 10294 # Some binutils ld are patched to set DT_RUNPATH 10295 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10296 $as_echo_n "(cached) " >&6 10297else 10298 lt_cv_shlibpath_overrides_runpath=no 10299 save_LDFLAGS=$LDFLAGS 10300 save_libdir=$libdir 10301 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10302 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10304/* end confdefs.h. */ 10305 10306int 10307main () 10308{ 10309 10310 ; 10311 return 0; 10312} 10313_ACEOF 10314if ac_fn_c_try_link "$LINENO"; then : 10315 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10316 lt_cv_shlibpath_overrides_runpath=yes 10317fi 10318fi 10319rm -f core conftest.err conftest.$ac_objext \ 10320 conftest$ac_exeext conftest.$ac_ext 10321 LDFLAGS=$save_LDFLAGS 10322 libdir=$save_libdir 10323 10324fi 10325 10326 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10327 10328 # This implies no fast_install, which is unacceptable. 10329 # Some rework will be needed to allow for fast_install 10330 # before this can be enabled. 10331 hardcode_into_libs=yes 10332 10333 # Append ld.so.conf contents to the search path 10334 if test -f /etc/ld.so.conf; then 10335 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' ' '` 10336 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10337 fi 10338 10339 # We used to test for /lib/ld.so.1 and disable shared libraries on 10340 # powerpc, because MkLinux only supported shared libraries with the 10341 # GNU dynamic linker. Since this was broken with cross compilers, 10342 # most powerpc-linux boxes support dynamic linking these days and 10343 # people can always --disable-shared, the test was removed, and we 10344 # assume the GNU/Linux dynamic linker is in use. 10345 dynamic_linker='GNU/Linux ld.so' 10346 ;; 10347 10348netbsd*) 10349 version_type=sunos 10350 need_lib_prefix=no 10351 need_version=no 10352 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10354 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10355 dynamic_linker='NetBSD (a.out) ld.so' 10356 else 10357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10358 soname_spec='${libname}${release}${shared_ext}$major' 10359 dynamic_linker='NetBSD ld.elf_so' 10360 fi 10361 shlibpath_var=LD_LIBRARY_PATH 10362 shlibpath_overrides_runpath=yes 10363 hardcode_into_libs=yes 10364 ;; 10365 10366newsos6) 10367 version_type=linux 10368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10369 shlibpath_var=LD_LIBRARY_PATH 10370 shlibpath_overrides_runpath=yes 10371 ;; 10372 10373*nto* | *qnx*) 10374 version_type=qnx 10375 need_lib_prefix=no 10376 need_version=no 10377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10378 soname_spec='${libname}${release}${shared_ext}$major' 10379 shlibpath_var=LD_LIBRARY_PATH 10380 shlibpath_overrides_runpath=no 10381 hardcode_into_libs=yes 10382 dynamic_linker='ldqnx.so' 10383 ;; 10384 10385openbsd*) 10386 version_type=sunos 10387 sys_lib_dlsearch_path_spec="/usr/lib" 10388 need_lib_prefix=no 10389 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10390 case $host_os in 10391 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10392 *) need_version=no ;; 10393 esac 10394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10395 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10396 shlibpath_var=LD_LIBRARY_PATH 10397 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10398 case $host_os in 10399 openbsd2.[89] | openbsd2.[89].*) 10400 shlibpath_overrides_runpath=no 10401 ;; 10402 *) 10403 shlibpath_overrides_runpath=yes 10404 ;; 10405 esac 10406 else 10407 shlibpath_overrides_runpath=yes 10408 fi 10409 ;; 10410 10411os2*) 10412 libname_spec='$name' 10413 shrext_cmds=".dll" 10414 need_lib_prefix=no 10415 library_names_spec='$libname${shared_ext} $libname.a' 10416 dynamic_linker='OS/2 ld.exe' 10417 shlibpath_var=LIBPATH 10418 ;; 10419 10420osf3* | osf4* | osf5*) 10421 version_type=osf 10422 need_lib_prefix=no 10423 need_version=no 10424 soname_spec='${libname}${release}${shared_ext}$major' 10425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10426 shlibpath_var=LD_LIBRARY_PATH 10427 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10428 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10429 ;; 10430 10431rdos*) 10432 dynamic_linker=no 10433 ;; 10434 10435solaris*) 10436 version_type=linux 10437 need_lib_prefix=no 10438 need_version=no 10439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10440 soname_spec='${libname}${release}${shared_ext}$major' 10441 shlibpath_var=LD_LIBRARY_PATH 10442 shlibpath_overrides_runpath=yes 10443 hardcode_into_libs=yes 10444 # ldd complains unless libraries are executable 10445 postinstall_cmds='chmod +x $lib' 10446 ;; 10447 10448sunos4*) 10449 version_type=sunos 10450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10451 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10452 shlibpath_var=LD_LIBRARY_PATH 10453 shlibpath_overrides_runpath=yes 10454 if test "$with_gnu_ld" = yes; then 10455 need_lib_prefix=no 10456 fi 10457 need_version=yes 10458 ;; 10459 10460sysv4 | sysv4.3*) 10461 version_type=linux 10462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10463 soname_spec='${libname}${release}${shared_ext}$major' 10464 shlibpath_var=LD_LIBRARY_PATH 10465 case $host_vendor in 10466 sni) 10467 shlibpath_overrides_runpath=no 10468 need_lib_prefix=no 10469 runpath_var=LD_RUN_PATH 10470 ;; 10471 siemens) 10472 need_lib_prefix=no 10473 ;; 10474 motorola) 10475 need_lib_prefix=no 10476 need_version=no 10477 shlibpath_overrides_runpath=no 10478 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10479 ;; 10480 esac 10481 ;; 10482 10483sysv4*MP*) 10484 if test -d /usr/nec ;then 10485 version_type=linux 10486 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10487 soname_spec='$libname${shared_ext}.$major' 10488 shlibpath_var=LD_LIBRARY_PATH 10489 fi 10490 ;; 10491 10492sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10493 version_type=freebsd-elf 10494 need_lib_prefix=no 10495 need_version=no 10496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10497 soname_spec='${libname}${release}${shared_ext}$major' 10498 shlibpath_var=LD_LIBRARY_PATH 10499 shlibpath_overrides_runpath=yes 10500 hardcode_into_libs=yes 10501 if test "$with_gnu_ld" = yes; then 10502 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10503 else 10504 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10505 case $host_os in 10506 sco3.2v5*) 10507 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10508 ;; 10509 esac 10510 fi 10511 sys_lib_dlsearch_path_spec='/usr/lib' 10512 ;; 10513 10514tpf*) 10515 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10516 version_type=linux 10517 need_lib_prefix=no 10518 need_version=no 10519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10520 shlibpath_var=LD_LIBRARY_PATH 10521 shlibpath_overrides_runpath=no 10522 hardcode_into_libs=yes 10523 ;; 10524 10525uts4*) 10526 version_type=linux 10527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10528 soname_spec='${libname}${release}${shared_ext}$major' 10529 shlibpath_var=LD_LIBRARY_PATH 10530 ;; 10531 10532*) 10533 dynamic_linker=no 10534 ;; 10535esac 10536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10537$as_echo "$dynamic_linker" >&6; } 10538test "$dynamic_linker" = no && can_build_shared=no 10539 10540variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10541if test "$GCC" = yes; then 10542 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10543fi 10544 10545if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10546 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10547fi 10548if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10549 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10550fi 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10644$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10645hardcode_action= 10646if test -n "$hardcode_libdir_flag_spec" || 10647 test -n "$runpath_var" || 10648 test "X$hardcode_automatic" = "Xyes" ; then 10649 10650 # We can hardcode non-existent directories. 10651 if test "$hardcode_direct" != no && 10652 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10653 # have to relink, otherwise we might link with an installed library 10654 # when we should be linking with a yet-to-be-installed one 10655 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10656 test "$hardcode_minus_L" != no; then 10657 # Linking always hardcodes the temporary library directory. 10658 hardcode_action=relink 10659 else 10660 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10661 hardcode_action=immediate 10662 fi 10663else 10664 # We cannot hardcode anything, or else we can only hardcode existing 10665 # directories. 10666 hardcode_action=unsupported 10667fi 10668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10669$as_echo "$hardcode_action" >&6; } 10670 10671if test "$hardcode_action" = relink || 10672 test "$inherit_rpath" = yes; then 10673 # Fast installation is not supported 10674 enable_fast_install=no 10675elif test "$shlibpath_overrides_runpath" = yes || 10676 test "$enable_shared" = no; then 10677 # Fast installation is not necessary 10678 enable_fast_install=needless 10679fi 10680 10681 10682 10683 10684 10685 10686 if test "x$enable_dlopen" != xyes; then 10687 enable_dlopen=unknown 10688 enable_dlopen_self=unknown 10689 enable_dlopen_self_static=unknown 10690else 10691 lt_cv_dlopen=no 10692 lt_cv_dlopen_libs= 10693 10694 case $host_os in 10695 beos*) 10696 lt_cv_dlopen="load_add_on" 10697 lt_cv_dlopen_libs= 10698 lt_cv_dlopen_self=yes 10699 ;; 10700 10701 mingw* | pw32* | cegcc*) 10702 lt_cv_dlopen="LoadLibrary" 10703 lt_cv_dlopen_libs= 10704 ;; 10705 10706 cygwin*) 10707 lt_cv_dlopen="dlopen" 10708 lt_cv_dlopen_libs= 10709 ;; 10710 10711 darwin*) 10712 # if libdl is installed we need to link against it 10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10714$as_echo_n "checking for dlopen in -ldl... " >&6; } 10715if ${ac_cv_lib_dl_dlopen+:} false; then : 10716 $as_echo_n "(cached) " >&6 10717else 10718 ac_check_lib_save_LIBS=$LIBS 10719LIBS="-ldl $LIBS" 10720cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10721/* end confdefs.h. */ 10722 10723/* Override any GCC internal prototype to avoid an error. 10724 Use char because int might match the return type of a GCC 10725 builtin and then its argument prototype would still apply. */ 10726#ifdef __cplusplus 10727extern "C" 10728#endif 10729char dlopen (); 10730int 10731main () 10732{ 10733return dlopen (); 10734 ; 10735 return 0; 10736} 10737_ACEOF 10738if ac_fn_c_try_link "$LINENO"; then : 10739 ac_cv_lib_dl_dlopen=yes 10740else 10741 ac_cv_lib_dl_dlopen=no 10742fi 10743rm -f core conftest.err conftest.$ac_objext \ 10744 conftest$ac_exeext conftest.$ac_ext 10745LIBS=$ac_check_lib_save_LIBS 10746fi 10747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10748$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10749if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10750 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10751else 10752 10753 lt_cv_dlopen="dyld" 10754 lt_cv_dlopen_libs= 10755 lt_cv_dlopen_self=yes 10756 10757fi 10758 10759 ;; 10760 10761 *) 10762 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10763if test "x$ac_cv_func_shl_load" = xyes; then : 10764 lt_cv_dlopen="shl_load" 10765else 10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10767$as_echo_n "checking for shl_load in -ldld... " >&6; } 10768if ${ac_cv_lib_dld_shl_load+:} false; then : 10769 $as_echo_n "(cached) " >&6 10770else 10771 ac_check_lib_save_LIBS=$LIBS 10772LIBS="-ldld $LIBS" 10773cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10774/* end confdefs.h. */ 10775 10776/* Override any GCC internal prototype to avoid an error. 10777 Use char because int might match the return type of a GCC 10778 builtin and then its argument prototype would still apply. */ 10779#ifdef __cplusplus 10780extern "C" 10781#endif 10782char shl_load (); 10783int 10784main () 10785{ 10786return shl_load (); 10787 ; 10788 return 0; 10789} 10790_ACEOF 10791if ac_fn_c_try_link "$LINENO"; then : 10792 ac_cv_lib_dld_shl_load=yes 10793else 10794 ac_cv_lib_dld_shl_load=no 10795fi 10796rm -f core conftest.err conftest.$ac_objext \ 10797 conftest$ac_exeext conftest.$ac_ext 10798LIBS=$ac_check_lib_save_LIBS 10799fi 10800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10801$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10802if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 10803 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10804else 10805 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10806if test "x$ac_cv_func_dlopen" = xyes; then : 10807 lt_cv_dlopen="dlopen" 10808else 10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10810$as_echo_n "checking for dlopen in -ldl... " >&6; } 10811if ${ac_cv_lib_dl_dlopen+:} false; then : 10812 $as_echo_n "(cached) " >&6 10813else 10814 ac_check_lib_save_LIBS=$LIBS 10815LIBS="-ldl $LIBS" 10816cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10817/* end confdefs.h. */ 10818 10819/* Override any GCC internal prototype to avoid an error. 10820 Use char because int might match the return type of a GCC 10821 builtin and then its argument prototype would still apply. */ 10822#ifdef __cplusplus 10823extern "C" 10824#endif 10825char dlopen (); 10826int 10827main () 10828{ 10829return dlopen (); 10830 ; 10831 return 0; 10832} 10833_ACEOF 10834if ac_fn_c_try_link "$LINENO"; then : 10835 ac_cv_lib_dl_dlopen=yes 10836else 10837 ac_cv_lib_dl_dlopen=no 10838fi 10839rm -f core conftest.err conftest.$ac_objext \ 10840 conftest$ac_exeext conftest.$ac_ext 10841LIBS=$ac_check_lib_save_LIBS 10842fi 10843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10844$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10845if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10846 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10847else 10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10849$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10850if ${ac_cv_lib_svld_dlopen+:} false; then : 10851 $as_echo_n "(cached) " >&6 10852else 10853 ac_check_lib_save_LIBS=$LIBS 10854LIBS="-lsvld $LIBS" 10855cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10856/* end confdefs.h. */ 10857 10858/* Override any GCC internal prototype to avoid an error. 10859 Use char because int might match the return type of a GCC 10860 builtin and then its argument prototype would still apply. */ 10861#ifdef __cplusplus 10862extern "C" 10863#endif 10864char dlopen (); 10865int 10866main () 10867{ 10868return dlopen (); 10869 ; 10870 return 0; 10871} 10872_ACEOF 10873if ac_fn_c_try_link "$LINENO"; then : 10874 ac_cv_lib_svld_dlopen=yes 10875else 10876 ac_cv_lib_svld_dlopen=no 10877fi 10878rm -f core conftest.err conftest.$ac_objext \ 10879 conftest$ac_exeext conftest.$ac_ext 10880LIBS=$ac_check_lib_save_LIBS 10881fi 10882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10883$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10884if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 10885 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10886else 10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10888$as_echo_n "checking for dld_link in -ldld... " >&6; } 10889if ${ac_cv_lib_dld_dld_link+:} false; then : 10890 $as_echo_n "(cached) " >&6 10891else 10892 ac_check_lib_save_LIBS=$LIBS 10893LIBS="-ldld $LIBS" 10894cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10895/* end confdefs.h. */ 10896 10897/* Override any GCC internal prototype to avoid an error. 10898 Use char because int might match the return type of a GCC 10899 builtin and then its argument prototype would still apply. */ 10900#ifdef __cplusplus 10901extern "C" 10902#endif 10903char dld_link (); 10904int 10905main () 10906{ 10907return dld_link (); 10908 ; 10909 return 0; 10910} 10911_ACEOF 10912if ac_fn_c_try_link "$LINENO"; then : 10913 ac_cv_lib_dld_dld_link=yes 10914else 10915 ac_cv_lib_dld_dld_link=no 10916fi 10917rm -f core conftest.err conftest.$ac_objext \ 10918 conftest$ac_exeext conftest.$ac_ext 10919LIBS=$ac_check_lib_save_LIBS 10920fi 10921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10922$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10923if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 10924 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10925fi 10926 10927 10928fi 10929 10930 10931fi 10932 10933 10934fi 10935 10936 10937fi 10938 10939 10940fi 10941 10942 ;; 10943 esac 10944 10945 if test "x$lt_cv_dlopen" != xno; then 10946 enable_dlopen=yes 10947 else 10948 enable_dlopen=no 10949 fi 10950 10951 case $lt_cv_dlopen in 10952 dlopen) 10953 save_CPPFLAGS="$CPPFLAGS" 10954 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10955 10956 save_LDFLAGS="$LDFLAGS" 10957 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10958 10959 save_LIBS="$LIBS" 10960 LIBS="$lt_cv_dlopen_libs $LIBS" 10961 10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10963$as_echo_n "checking whether a program can dlopen itself... " >&6; } 10964if ${lt_cv_dlopen_self+:} false; then : 10965 $as_echo_n "(cached) " >&6 10966else 10967 if test "$cross_compiling" = yes; then : 10968 lt_cv_dlopen_self=cross 10969else 10970 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10971 lt_status=$lt_dlunknown 10972 cat > conftest.$ac_ext <<_LT_EOF 10973#line $LINENO "configure" 10974#include "confdefs.h" 10975 10976#if HAVE_DLFCN_H 10977#include <dlfcn.h> 10978#endif 10979 10980#include <stdio.h> 10981 10982#ifdef RTLD_GLOBAL 10983# define LT_DLGLOBAL RTLD_GLOBAL 10984#else 10985# ifdef DL_GLOBAL 10986# define LT_DLGLOBAL DL_GLOBAL 10987# else 10988# define LT_DLGLOBAL 0 10989# endif 10990#endif 10991 10992/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10993 find out it does not work in some platform. */ 10994#ifndef LT_DLLAZY_OR_NOW 10995# ifdef RTLD_LAZY 10996# define LT_DLLAZY_OR_NOW RTLD_LAZY 10997# else 10998# ifdef DL_LAZY 10999# define LT_DLLAZY_OR_NOW DL_LAZY 11000# else 11001# ifdef RTLD_NOW 11002# define LT_DLLAZY_OR_NOW RTLD_NOW 11003# else 11004# ifdef DL_NOW 11005# define LT_DLLAZY_OR_NOW DL_NOW 11006# else 11007# define LT_DLLAZY_OR_NOW 0 11008# endif 11009# endif 11010# endif 11011# endif 11012#endif 11013 11014/* When -fvisbility=hidden is used, assume the code has been annotated 11015 correspondingly for the symbols needed. */ 11016#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11017int fnord () __attribute__((visibility("default"))); 11018#endif 11019 11020int fnord () { return 42; } 11021int main () 11022{ 11023 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11024 int status = $lt_dlunknown; 11025 11026 if (self) 11027 { 11028 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11029 else 11030 { 11031 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11032 else puts (dlerror ()); 11033 } 11034 /* dlclose (self); */ 11035 } 11036 else 11037 puts (dlerror ()); 11038 11039 return status; 11040} 11041_LT_EOF 11042 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11043 (eval $ac_link) 2>&5 11044 ac_status=$? 11045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11046 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11047 (./conftest; exit; ) >&5 2>/dev/null 11048 lt_status=$? 11049 case x$lt_status in 11050 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11051 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11052 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11053 esac 11054 else : 11055 # compilation failed 11056 lt_cv_dlopen_self=no 11057 fi 11058fi 11059rm -fr conftest* 11060 11061 11062fi 11063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11064$as_echo "$lt_cv_dlopen_self" >&6; } 11065 11066 if test "x$lt_cv_dlopen_self" = xyes; then 11067 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11069$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11070if ${lt_cv_dlopen_self_static+:} false; then : 11071 $as_echo_n "(cached) " >&6 11072else 11073 if test "$cross_compiling" = yes; then : 11074 lt_cv_dlopen_self_static=cross 11075else 11076 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11077 lt_status=$lt_dlunknown 11078 cat > conftest.$ac_ext <<_LT_EOF 11079#line $LINENO "configure" 11080#include "confdefs.h" 11081 11082#if HAVE_DLFCN_H 11083#include <dlfcn.h> 11084#endif 11085 11086#include <stdio.h> 11087 11088#ifdef RTLD_GLOBAL 11089# define LT_DLGLOBAL RTLD_GLOBAL 11090#else 11091# ifdef DL_GLOBAL 11092# define LT_DLGLOBAL DL_GLOBAL 11093# else 11094# define LT_DLGLOBAL 0 11095# endif 11096#endif 11097 11098/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11099 find out it does not work in some platform. */ 11100#ifndef LT_DLLAZY_OR_NOW 11101# ifdef RTLD_LAZY 11102# define LT_DLLAZY_OR_NOW RTLD_LAZY 11103# else 11104# ifdef DL_LAZY 11105# define LT_DLLAZY_OR_NOW DL_LAZY 11106# else 11107# ifdef RTLD_NOW 11108# define LT_DLLAZY_OR_NOW RTLD_NOW 11109# else 11110# ifdef DL_NOW 11111# define LT_DLLAZY_OR_NOW DL_NOW 11112# else 11113# define LT_DLLAZY_OR_NOW 0 11114# endif 11115# endif 11116# endif 11117# endif 11118#endif 11119 11120/* When -fvisbility=hidden is used, assume the code has been annotated 11121 correspondingly for the symbols needed. */ 11122#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11123int fnord () __attribute__((visibility("default"))); 11124#endif 11125 11126int fnord () { return 42; } 11127int main () 11128{ 11129 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11130 int status = $lt_dlunknown; 11131 11132 if (self) 11133 { 11134 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11135 else 11136 { 11137 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11138 else puts (dlerror ()); 11139 } 11140 /* dlclose (self); */ 11141 } 11142 else 11143 puts (dlerror ()); 11144 11145 return status; 11146} 11147_LT_EOF 11148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11149 (eval $ac_link) 2>&5 11150 ac_status=$? 11151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11152 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11153 (./conftest; exit; ) >&5 2>/dev/null 11154 lt_status=$? 11155 case x$lt_status in 11156 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11157 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11158 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11159 esac 11160 else : 11161 # compilation failed 11162 lt_cv_dlopen_self_static=no 11163 fi 11164fi 11165rm -fr conftest* 11166 11167 11168fi 11169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11170$as_echo "$lt_cv_dlopen_self_static" >&6; } 11171 fi 11172 11173 CPPFLAGS="$save_CPPFLAGS" 11174 LDFLAGS="$save_LDFLAGS" 11175 LIBS="$save_LIBS" 11176 ;; 11177 esac 11178 11179 case $lt_cv_dlopen_self in 11180 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11181 *) enable_dlopen_self=unknown ;; 11182 esac 11183 11184 case $lt_cv_dlopen_self_static in 11185 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11186 *) enable_dlopen_self_static=unknown ;; 11187 esac 11188fi 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206striplib= 11207old_striplib= 11208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11209$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11210if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11211 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11212 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11214$as_echo "yes" >&6; } 11215else 11216# FIXME - insert some real tests, host_os isn't really good enough 11217 case $host_os in 11218 darwin*) 11219 if test -n "$STRIP" ; then 11220 striplib="$STRIP -x" 11221 old_striplib="$STRIP -S" 11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11223$as_echo "yes" >&6; } 11224 else 11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11226$as_echo "no" >&6; } 11227 fi 11228 ;; 11229 *) 11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11231$as_echo "no" >&6; } 11232 ;; 11233 esac 11234fi 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 # Report which library types will actually be built 11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11249$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11251$as_echo "$can_build_shared" >&6; } 11252 11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11254$as_echo_n "checking whether to build shared libraries... " >&6; } 11255 test "$can_build_shared" = "no" && enable_shared=no 11256 11257 # On AIX, shared libraries and static libraries use the same namespace, and 11258 # are all built from PIC. 11259 case $host_os in 11260 aix3*) 11261 test "$enable_shared" = yes && enable_static=no 11262 if test -n "$RANLIB"; then 11263 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11264 postinstall_cmds='$RANLIB $lib' 11265 fi 11266 ;; 11267 11268 aix[4-9]*) 11269 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11270 test "$enable_shared" = yes && enable_static=no 11271 fi 11272 ;; 11273 esac 11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11275$as_echo "$enable_shared" >&6; } 11276 11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11278$as_echo_n "checking whether to build static libraries... " >&6; } 11279 # Make sure either enable_shared or enable_static is yes. 11280 test "$enable_shared" = yes || enable_static=yes 11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11282$as_echo "$enable_static" >&6; } 11283 11284 11285 11286 11287fi 11288ac_ext=c 11289ac_cpp='$CPP $CPPFLAGS' 11290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11292ac_compiler_gnu=$ac_cv_c_compiler_gnu 11293 11294CC="$lt_save_CC" 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 ac_config_commands="$ac_config_commands libtool" 11309 11310 11311 11312 11313# Only expand once: 11314 11315 11316 11317ac_ext=c 11318ac_cpp='$CPP $CPPFLAGS' 11319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11321ac_compiler_gnu=$ac_cv_c_compiler_gnu 11322if test -n "$ac_tool_prefix"; then 11323 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 11324set dummy ${ac_tool_prefix}gcc; ac_word=$2 11325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11326$as_echo_n "checking for $ac_word... " >&6; } 11327if ${ac_cv_prog_CC+:} false; then : 11328 $as_echo_n "(cached) " >&6 11329else 11330 if test -n "$CC"; then 11331 ac_cv_prog_CC="$CC" # Let the user override the test. 11332else 11333as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11334for as_dir in $PATH 11335do 11336 IFS=$as_save_IFS 11337 test -z "$as_dir" && as_dir=. 11338 for ac_exec_ext in '' $ac_executable_extensions; do 11339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11340 ac_cv_prog_CC="${ac_tool_prefix}gcc" 11341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11342 break 2 11343 fi 11344done 11345 done 11346IFS=$as_save_IFS 11347 11348fi 11349fi 11350CC=$ac_cv_prog_CC 11351if test -n "$CC"; then 11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 11353$as_echo "$CC" >&6; } 11354else 11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11356$as_echo "no" >&6; } 11357fi 11358 11359 11360fi 11361if test -z "$ac_cv_prog_CC"; then 11362 ac_ct_CC=$CC 11363 # Extract the first word of "gcc", so it can be a program name with args. 11364set dummy gcc; ac_word=$2 11365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11366$as_echo_n "checking for $ac_word... " >&6; } 11367if ${ac_cv_prog_ac_ct_CC+:} false; then : 11368 $as_echo_n "(cached) " >&6 11369else 11370 if test -n "$ac_ct_CC"; then 11371 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 11372else 11373as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11374for as_dir in $PATH 11375do 11376 IFS=$as_save_IFS 11377 test -z "$as_dir" && as_dir=. 11378 for ac_exec_ext in '' $ac_executable_extensions; do 11379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11380 ac_cv_prog_ac_ct_CC="gcc" 11381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11382 break 2 11383 fi 11384done 11385 done 11386IFS=$as_save_IFS 11387 11388fi 11389fi 11390ac_ct_CC=$ac_cv_prog_ac_ct_CC 11391if test -n "$ac_ct_CC"; then 11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 11393$as_echo "$ac_ct_CC" >&6; } 11394else 11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11396$as_echo "no" >&6; } 11397fi 11398 11399 if test "x$ac_ct_CC" = x; then 11400 CC="" 11401 else 11402 case $cross_compiling:$ac_tool_warned in 11403yes:) 11404{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11405$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11406ac_tool_warned=yes ;; 11407esac 11408 CC=$ac_ct_CC 11409 fi 11410else 11411 CC="$ac_cv_prog_CC" 11412fi 11413 11414if test -z "$CC"; then 11415 if test -n "$ac_tool_prefix"; then 11416 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 11417set dummy ${ac_tool_prefix}cc; ac_word=$2 11418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11419$as_echo_n "checking for $ac_word... " >&6; } 11420if ${ac_cv_prog_CC+:} false; then : 11421 $as_echo_n "(cached) " >&6 11422else 11423 if test -n "$CC"; then 11424 ac_cv_prog_CC="$CC" # Let the user override the test. 11425else 11426as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11427for as_dir in $PATH 11428do 11429 IFS=$as_save_IFS 11430 test -z "$as_dir" && as_dir=. 11431 for ac_exec_ext in '' $ac_executable_extensions; do 11432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11433 ac_cv_prog_CC="${ac_tool_prefix}cc" 11434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11435 break 2 11436 fi 11437done 11438 done 11439IFS=$as_save_IFS 11440 11441fi 11442fi 11443CC=$ac_cv_prog_CC 11444if test -n "$CC"; then 11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 11446$as_echo "$CC" >&6; } 11447else 11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11449$as_echo "no" >&6; } 11450fi 11451 11452 11453 fi 11454fi 11455if test -z "$CC"; then 11456 # Extract the first word of "cc", so it can be a program name with args. 11457set dummy cc; ac_word=$2 11458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11459$as_echo_n "checking for $ac_word... " >&6; } 11460if ${ac_cv_prog_CC+:} false; then : 11461 $as_echo_n "(cached) " >&6 11462else 11463 if test -n "$CC"; then 11464 ac_cv_prog_CC="$CC" # Let the user override the test. 11465else 11466 ac_prog_rejected=no 11467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11468for as_dir in $PATH 11469do 11470 IFS=$as_save_IFS 11471 test -z "$as_dir" && as_dir=. 11472 for ac_exec_ext in '' $ac_executable_extensions; do 11473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11474 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 11475 ac_prog_rejected=yes 11476 continue 11477 fi 11478 ac_cv_prog_CC="cc" 11479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11480 break 2 11481 fi 11482done 11483 done 11484IFS=$as_save_IFS 11485 11486if test $ac_prog_rejected = yes; then 11487 # We found a bogon in the path, so make sure we never use it. 11488 set dummy $ac_cv_prog_CC 11489 shift 11490 if test $# != 0; then 11491 # We chose a different compiler from the bogus one. 11492 # However, it has the same basename, so the bogon will be chosen 11493 # first if we set CC to just the basename; use the full file name. 11494 shift 11495 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 11496 fi 11497fi 11498fi 11499fi 11500CC=$ac_cv_prog_CC 11501if test -n "$CC"; then 11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 11503$as_echo "$CC" >&6; } 11504else 11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11506$as_echo "no" >&6; } 11507fi 11508 11509 11510fi 11511if test -z "$CC"; then 11512 if test -n "$ac_tool_prefix"; then 11513 for ac_prog in cl.exe 11514 do 11515 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 11516set dummy $ac_tool_prefix$ac_prog; ac_word=$2 11517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11518$as_echo_n "checking for $ac_word... " >&6; } 11519if ${ac_cv_prog_CC+:} false; then : 11520 $as_echo_n "(cached) " >&6 11521else 11522 if test -n "$CC"; then 11523 ac_cv_prog_CC="$CC" # Let the user override the test. 11524else 11525as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11526for as_dir in $PATH 11527do 11528 IFS=$as_save_IFS 11529 test -z "$as_dir" && as_dir=. 11530 for ac_exec_ext in '' $ac_executable_extensions; do 11531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11532 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 11533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11534 break 2 11535 fi 11536done 11537 done 11538IFS=$as_save_IFS 11539 11540fi 11541fi 11542CC=$ac_cv_prog_CC 11543if test -n "$CC"; then 11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 11545$as_echo "$CC" >&6; } 11546else 11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11548$as_echo "no" >&6; } 11549fi 11550 11551 11552 test -n "$CC" && break 11553 done 11554fi 11555if test -z "$CC"; then 11556 ac_ct_CC=$CC 11557 for ac_prog in cl.exe 11558do 11559 # Extract the first word of "$ac_prog", so it can be a program name with args. 11560set dummy $ac_prog; ac_word=$2 11561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11562$as_echo_n "checking for $ac_word... " >&6; } 11563if ${ac_cv_prog_ac_ct_CC+:} false; then : 11564 $as_echo_n "(cached) " >&6 11565else 11566 if test -n "$ac_ct_CC"; then 11567 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 11568else 11569as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11570for as_dir in $PATH 11571do 11572 IFS=$as_save_IFS 11573 test -z "$as_dir" && as_dir=. 11574 for ac_exec_ext in '' $ac_executable_extensions; do 11575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11576 ac_cv_prog_ac_ct_CC="$ac_prog" 11577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11578 break 2 11579 fi 11580done 11581 done 11582IFS=$as_save_IFS 11583 11584fi 11585fi 11586ac_ct_CC=$ac_cv_prog_ac_ct_CC 11587if test -n "$ac_ct_CC"; then 11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 11589$as_echo "$ac_ct_CC" >&6; } 11590else 11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11592$as_echo "no" >&6; } 11593fi 11594 11595 11596 test -n "$ac_ct_CC" && break 11597done 11598 11599 if test "x$ac_ct_CC" = x; then 11600 CC="" 11601 else 11602 case $cross_compiling:$ac_tool_warned in 11603yes:) 11604{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11605$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11606ac_tool_warned=yes ;; 11607esac 11608 CC=$ac_ct_CC 11609 fi 11610fi 11611 11612fi 11613 11614 11615test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11616$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11617as_fn_error $? "no acceptable C compiler found in \$PATH 11618See \`config.log' for more details" "$LINENO" 5; } 11619 11620# Provide some information about the compiler. 11621$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 11622set X $ac_compile 11623ac_compiler=$2 11624for ac_option in --version -v -V -qversion; do 11625 { { ac_try="$ac_compiler $ac_option >&5" 11626case "(($ac_try" in 11627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11628 *) ac_try_echo=$ac_try;; 11629esac 11630eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 11631$as_echo "$ac_try_echo"; } >&5 11632 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 11633 ac_status=$? 11634 if test -s conftest.err; then 11635 sed '10a\ 11636... rest of stderr output deleted ... 11637 10q' conftest.err >conftest.er1 11638 cat conftest.er1 >&5 11639 fi 11640 rm -f conftest.er1 conftest.err 11641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11642 test $ac_status = 0; } 11643done 11644 11645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 11646$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 11647if ${ac_cv_c_compiler_gnu+:} false; then : 11648 $as_echo_n "(cached) " >&6 11649else 11650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11651/* end confdefs.h. */ 11652 11653int 11654main () 11655{ 11656#ifndef __GNUC__ 11657 choke me 11658#endif 11659 11660 ; 11661 return 0; 11662} 11663_ACEOF 11664if ac_fn_c_try_compile "$LINENO"; then : 11665 ac_compiler_gnu=yes 11666else 11667 ac_compiler_gnu=no 11668fi 11669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11670ac_cv_c_compiler_gnu=$ac_compiler_gnu 11671 11672fi 11673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 11674$as_echo "$ac_cv_c_compiler_gnu" >&6; } 11675if test $ac_compiler_gnu = yes; then 11676 GCC=yes 11677else 11678 GCC= 11679fi 11680ac_test_CFLAGS=${CFLAGS+set} 11681ac_save_CFLAGS=$CFLAGS 11682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 11683$as_echo_n "checking whether $CC accepts -g... " >&6; } 11684if ${ac_cv_prog_cc_g+:} false; then : 11685 $as_echo_n "(cached) " >&6 11686else 11687 ac_save_c_werror_flag=$ac_c_werror_flag 11688 ac_c_werror_flag=yes 11689 ac_cv_prog_cc_g=no 11690 CFLAGS="-g" 11691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11692/* end confdefs.h. */ 11693 11694int 11695main () 11696{ 11697 11698 ; 11699 return 0; 11700} 11701_ACEOF 11702if ac_fn_c_try_compile "$LINENO"; then : 11703 ac_cv_prog_cc_g=yes 11704else 11705 CFLAGS="" 11706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11707/* end confdefs.h. */ 11708 11709int 11710main () 11711{ 11712 11713 ; 11714 return 0; 11715} 11716_ACEOF 11717if ac_fn_c_try_compile "$LINENO"; then : 11718 11719else 11720 ac_c_werror_flag=$ac_save_c_werror_flag 11721 CFLAGS="-g" 11722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11723/* end confdefs.h. */ 11724 11725int 11726main () 11727{ 11728 11729 ; 11730 return 0; 11731} 11732_ACEOF 11733if ac_fn_c_try_compile "$LINENO"; then : 11734 ac_cv_prog_cc_g=yes 11735fi 11736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11737fi 11738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11739fi 11740rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11741 ac_c_werror_flag=$ac_save_c_werror_flag 11742fi 11743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 11744$as_echo "$ac_cv_prog_cc_g" >&6; } 11745if test "$ac_test_CFLAGS" = set; then 11746 CFLAGS=$ac_save_CFLAGS 11747elif test $ac_cv_prog_cc_g = yes; then 11748 if test "$GCC" = yes; then 11749 CFLAGS="-g -O2" 11750 else 11751 CFLAGS="-g" 11752 fi 11753else 11754 if test "$GCC" = yes; then 11755 CFLAGS="-O2" 11756 else 11757 CFLAGS= 11758 fi 11759fi 11760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 11761$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 11762if ${ac_cv_prog_cc_c89+:} false; then : 11763 $as_echo_n "(cached) " >&6 11764else 11765 ac_cv_prog_cc_c89=no 11766ac_save_CC=$CC 11767cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11768/* end confdefs.h. */ 11769#include <stdarg.h> 11770#include <stdio.h> 11771struct stat; 11772/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 11773struct buf { int x; }; 11774FILE * (*rcsopen) (struct buf *, struct stat *, int); 11775static char *e (p, i) 11776 char **p; 11777 int i; 11778{ 11779 return p[i]; 11780} 11781static char *f (char * (*g) (char **, int), char **p, ...) 11782{ 11783 char *s; 11784 va_list v; 11785 va_start (v,p); 11786 s = g (p, va_arg (v,int)); 11787 va_end (v); 11788 return s; 11789} 11790 11791/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 11792 function prototypes and stuff, but not '\xHH' hex character constants. 11793 These don't provoke an error unfortunately, instead are silently treated 11794 as 'x'. The following induces an error, until -std is added to get 11795 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 11796 array size at least. It's necessary to write '\x00'==0 to get something 11797 that's true only with -std. */ 11798int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 11799 11800/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 11801 inside strings and character constants. */ 11802#define FOO(x) 'x' 11803int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 11804 11805int test (int i, double x); 11806struct s1 {int (*f) (int a);}; 11807struct s2 {int (*f) (double a);}; 11808int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 11809int argc; 11810char **argv; 11811int 11812main () 11813{ 11814return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 11815 ; 11816 return 0; 11817} 11818_ACEOF 11819for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 11820 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 11821do 11822 CC="$ac_save_CC $ac_arg" 11823 if ac_fn_c_try_compile "$LINENO"; then : 11824 ac_cv_prog_cc_c89=$ac_arg 11825fi 11826rm -f core conftest.err conftest.$ac_objext 11827 test "x$ac_cv_prog_cc_c89" != "xno" && break 11828done 11829rm -f conftest.$ac_ext 11830CC=$ac_save_CC 11831 11832fi 11833# AC_CACHE_VAL 11834case "x$ac_cv_prog_cc_c89" in 11835 x) 11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 11837$as_echo "none needed" >&6; } ;; 11838 xno) 11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 11840$as_echo "unsupported" >&6; } ;; 11841 *) 11842 CC="$CC $ac_cv_prog_cc_c89" 11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 11844$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 11845esac 11846if test "x$ac_cv_prog_cc_c89" != xno; then : 11847 11848fi 11849 11850ac_ext=c 11851ac_cpp='$CPP $CPPFLAGS' 11852ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11853ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11854ac_compiler_gnu=$ac_cv_c_compiler_gnu 11855 11856depcc="$CC" am_compiler_list= 11857 11858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 11859$as_echo_n "checking dependency style of $depcc... " >&6; } 11860if ${am_cv_CC_dependencies_compiler_type+:} false; then : 11861 $as_echo_n "(cached) " >&6 11862else 11863 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 11864 # We make a subdir and do the tests there. Otherwise we can end up 11865 # making bogus files that we don't know about and never remove. For 11866 # instance it was reported that on HP-UX the gcc test will end up 11867 # making a dummy file named `D' -- because `-MD' means `put the output 11868 # in D'. 11869 mkdir conftest.dir 11870 # Copy depcomp to subdir because otherwise we won't find it if we're 11871 # using a relative directory. 11872 cp "$am_depcomp" conftest.dir 11873 cd conftest.dir 11874 # We will build objects and dependencies in a subdirectory because 11875 # it helps to detect inapplicable dependency modes. For instance 11876 # both Tru64's cc and ICC support -MD to output dependencies as a 11877 # side effect of compilation, but ICC will put the dependencies in 11878 # the current directory while Tru64 will put them in the object 11879 # directory. 11880 mkdir sub 11881 11882 am_cv_CC_dependencies_compiler_type=none 11883 if test "$am_compiler_list" = ""; then 11884 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 11885 fi 11886 am__universal=false 11887 case " $depcc " in #( 11888 *\ -arch\ *\ -arch\ *) am__universal=true ;; 11889 esac 11890 11891 for depmode in $am_compiler_list; do 11892 # Setup a source with many dependencies, because some compilers 11893 # like to wrap large dependency lists on column 80 (with \), and 11894 # we should not choose a depcomp mode which is confused by this. 11895 # 11896 # We need to recreate these files for each test, as the compiler may 11897 # overwrite some of them when testing with obscure command lines. 11898 # This happens at least with the AIX C compiler. 11899 : > sub/conftest.c 11900 for i in 1 2 3 4 5 6; do 11901 echo '#include "conftst'$i'.h"' >> sub/conftest.c 11902 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 11903 # Solaris 8's {/usr,}/bin/sh. 11904 touch sub/conftst$i.h 11905 done 11906 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 11907 11908 # We check with `-c' and `-o' for the sake of the "dashmstdout" 11909 # mode. It turns out that the SunPro C++ compiler does not properly 11910 # handle `-M -o', and we need to detect this. Also, some Intel 11911 # versions had trouble with output in subdirs 11912 am__obj=sub/conftest.${OBJEXT-o} 11913 am__minus_obj="-o $am__obj" 11914 case $depmode in 11915 gcc) 11916 # This depmode causes a compiler race in universal mode. 11917 test "$am__universal" = false || continue 11918 ;; 11919 nosideeffect) 11920 # after this tag, mechanisms are not by side-effect, so they'll 11921 # only be used when explicitly requested 11922 if test "x$enable_dependency_tracking" = xyes; then 11923 continue 11924 else 11925 break 11926 fi 11927 ;; 11928 msvisualcpp | msvcmsys) 11929 # This compiler won't grok `-c -o', but also, the minuso test has 11930 # not run yet. These depmodes are late enough in the game, and 11931 # so weak that their functioning should not be impacted. 11932 am__obj=conftest.${OBJEXT-o} 11933 am__minus_obj= 11934 ;; 11935 none) break ;; 11936 esac 11937 if depmode=$depmode \ 11938 source=sub/conftest.c object=$am__obj \ 11939 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 11940 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 11941 >/dev/null 2>conftest.err && 11942 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 11943 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 11944 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 11945 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 11946 # icc doesn't choke on unknown options, it will just issue warnings 11947 # or remarks (even with -Werror). So we grep stderr for any message 11948 # that says an option was ignored or not supported. 11949 # When given -MP, icc 7.0 and 7.1 complain thusly: 11950 # icc: Command line warning: ignoring option '-M'; no argument required 11951 # The diagnosis changed in icc 8.0: 11952 # icc: Command line remark: option '-MP' not supported 11953 if (grep 'ignoring option' conftest.err || 11954 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 11955 am_cv_CC_dependencies_compiler_type=$depmode 11956 break 11957 fi 11958 fi 11959 done 11960 11961 cd .. 11962 rm -rf conftest.dir 11963else 11964 am_cv_CC_dependencies_compiler_type=none 11965fi 11966 11967fi 11968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 11969$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 11970CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 11971 11972 if 11973 test "x$enable_dependency_tracking" != xno \ 11974 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 11975 am__fastdepCC_TRUE= 11976 am__fastdepCC_FALSE='#' 11977else 11978 am__fastdepCC_TRUE='#' 11979 am__fastdepCC_FALSE= 11980fi 11981 11982 11983ac_ext=c 11984ac_cpp='$CPP $CPPFLAGS' 11985ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11986ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11987ac_compiler_gnu=$ac_cv_c_compiler_gnu 11988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 11989$as_echo_n "checking how to run the C preprocessor... " >&6; } 11990# On Suns, sometimes $CPP names a directory. 11991if test -n "$CPP" && test -d "$CPP"; then 11992 CPP= 11993fi 11994if test -z "$CPP"; then 11995 if ${ac_cv_prog_CPP+:} false; then : 11996 $as_echo_n "(cached) " >&6 11997else 11998 # Double quotes because CPP needs to be expanded 11999 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 12000 do 12001 ac_preproc_ok=false 12002for ac_c_preproc_warn_flag in '' yes 12003do 12004 # Use a header file that comes with gcc, so configuring glibc 12005 # with a fresh cross-compiler works. 12006 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12007 # <limits.h> exists even on freestanding compilers. 12008 # On the NeXT, cc -E runs the code through the compiler's parser, 12009 # not just through cpp. "Syntax error" is here to catch this case. 12010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12011/* end confdefs.h. */ 12012#ifdef __STDC__ 12013# include <limits.h> 12014#else 12015# include <assert.h> 12016#endif 12017 Syntax error 12018_ACEOF 12019if ac_fn_c_try_cpp "$LINENO"; then : 12020 12021else 12022 # Broken: fails on valid input. 12023continue 12024fi 12025rm -f conftest.err conftest.i conftest.$ac_ext 12026 12027 # OK, works on sane cases. Now check whether nonexistent headers 12028 # can be detected and how. 12029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12030/* end confdefs.h. */ 12031#include <ac_nonexistent.h> 12032_ACEOF 12033if ac_fn_c_try_cpp "$LINENO"; then : 12034 # Broken: success on invalid input. 12035continue 12036else 12037 # Passes both tests. 12038ac_preproc_ok=: 12039break 12040fi 12041rm -f conftest.err conftest.i conftest.$ac_ext 12042 12043done 12044# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12045rm -f conftest.i conftest.err conftest.$ac_ext 12046if $ac_preproc_ok; then : 12047 break 12048fi 12049 12050 done 12051 ac_cv_prog_CPP=$CPP 12052 12053fi 12054 CPP=$ac_cv_prog_CPP 12055else 12056 ac_cv_prog_CPP=$CPP 12057fi 12058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 12059$as_echo "$CPP" >&6; } 12060ac_preproc_ok=false 12061for ac_c_preproc_warn_flag in '' yes 12062do 12063 # Use a header file that comes with gcc, so configuring glibc 12064 # with a fresh cross-compiler works. 12065 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12066 # <limits.h> exists even on freestanding compilers. 12067 # On the NeXT, cc -E runs the code through the compiler's parser, 12068 # not just through cpp. "Syntax error" is here to catch this case. 12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12070/* end confdefs.h. */ 12071#ifdef __STDC__ 12072# include <limits.h> 12073#else 12074# include <assert.h> 12075#endif 12076 Syntax error 12077_ACEOF 12078if ac_fn_c_try_cpp "$LINENO"; then : 12079 12080else 12081 # Broken: fails on valid input. 12082continue 12083fi 12084rm -f conftest.err conftest.i conftest.$ac_ext 12085 12086 # OK, works on sane cases. Now check whether nonexistent headers 12087 # can be detected and how. 12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12089/* end confdefs.h. */ 12090#include <ac_nonexistent.h> 12091_ACEOF 12092if ac_fn_c_try_cpp "$LINENO"; then : 12093 # Broken: success on invalid input. 12094continue 12095else 12096 # Passes both tests. 12097ac_preproc_ok=: 12098break 12099fi 12100rm -f conftest.err conftest.i conftest.$ac_ext 12101 12102done 12103# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12104rm -f conftest.i conftest.err conftest.$ac_ext 12105if $ac_preproc_ok; then : 12106 12107else 12108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12109$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12110as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 12111See \`config.log' for more details" "$LINENO" 5; } 12112fi 12113 12114ac_ext=c 12115ac_cpp='$CPP $CPPFLAGS' 12116ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12117ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12118ac_compiler_gnu=$ac_cv_c_compiler_gnu 12119 12120 12121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 12122$as_echo_n "checking whether ln -s works... " >&6; } 12123LN_S=$as_ln_s 12124if test "$LN_S" = "ln -s"; then 12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12126$as_echo "yes" >&6; } 12127else 12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 12129$as_echo "no, using $LN_S" >&6; } 12130fi 12131 12132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 12133$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 12134set x ${MAKE-make} 12135ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 12136if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 12137 $as_echo_n "(cached) " >&6 12138else 12139 cat >conftest.make <<\_ACEOF 12140SHELL = /bin/sh 12141all: 12142 @echo '@@@%%%=$(MAKE)=@@@%%%' 12143_ACEOF 12144# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 12145case `${MAKE-make} -f conftest.make 2>/dev/null` in 12146 *@@@%%%=?*=@@@%%%*) 12147 eval ac_cv_prog_make_${ac_make}_set=yes;; 12148 *) 12149 eval ac_cv_prog_make_${ac_make}_set=no;; 12150esac 12151rm -f conftest.make 12152fi 12153if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12155$as_echo "yes" >&6; } 12156 SET_MAKE= 12157else 12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12159$as_echo "no" >&6; } 12160 SET_MAKE="MAKE=${MAKE-make}" 12161fi 12162 12163for ac_prog in 'bison -y' byacc 12164do 12165 # Extract the first word of "$ac_prog", so it can be a program name with args. 12166set dummy $ac_prog; ac_word=$2 12167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12168$as_echo_n "checking for $ac_word... " >&6; } 12169if ${ac_cv_prog_YACC+:} false; then : 12170 $as_echo_n "(cached) " >&6 12171else 12172 if test -n "$YACC"; then 12173 ac_cv_prog_YACC="$YACC" # Let the user override the test. 12174else 12175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12176for as_dir in $PATH 12177do 12178 IFS=$as_save_IFS 12179 test -z "$as_dir" && as_dir=. 12180 for ac_exec_ext in '' $ac_executable_extensions; do 12181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12182 ac_cv_prog_YACC="$ac_prog" 12183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12184 break 2 12185 fi 12186done 12187 done 12188IFS=$as_save_IFS 12189 12190fi 12191fi 12192YACC=$ac_cv_prog_YACC 12193if test -n "$YACC"; then 12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 12195$as_echo "$YACC" >&6; } 12196else 12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12198$as_echo "no" >&6; } 12199fi 12200 12201 12202 test -n "$YACC" && break 12203done 12204test -n "$YACC" || YACC="yacc" 12205 12206for ac_prog in flex lex 12207do 12208 # Extract the first word of "$ac_prog", so it can be a program name with args. 12209set dummy $ac_prog; ac_word=$2 12210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12211$as_echo_n "checking for $ac_word... " >&6; } 12212if ${ac_cv_prog_LEX+:} false; then : 12213 $as_echo_n "(cached) " >&6 12214else 12215 if test -n "$LEX"; then 12216 ac_cv_prog_LEX="$LEX" # Let the user override the test. 12217else 12218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12219for as_dir in $PATH 12220do 12221 IFS=$as_save_IFS 12222 test -z "$as_dir" && as_dir=. 12223 for ac_exec_ext in '' $ac_executable_extensions; do 12224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12225 ac_cv_prog_LEX="$ac_prog" 12226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12227 break 2 12228 fi 12229done 12230 done 12231IFS=$as_save_IFS 12232 12233fi 12234fi 12235LEX=$ac_cv_prog_LEX 12236if test -n "$LEX"; then 12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 12238$as_echo "$LEX" >&6; } 12239else 12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12241$as_echo "no" >&6; } 12242fi 12243 12244 12245 test -n "$LEX" && break 12246done 12247test -n "$LEX" || LEX=":" 12248 12249if test "x$LEX" != "x:"; then 12250 cat >conftest.l <<_ACEOF 12251%% 12252a { ECHO; } 12253b { REJECT; } 12254c { yymore (); } 12255d { yyless (1); } 12256e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ 12257 yyless ((input () != 0)); } 12258f { unput (yytext[0]); } 12259. { BEGIN INITIAL; } 12260%% 12261#ifdef YYTEXT_POINTER 12262extern char *yytext; 12263#endif 12264int 12265main (void) 12266{ 12267 return ! yylex () + ! yywrap (); 12268} 12269_ACEOF 12270{ { ac_try="$LEX conftest.l" 12271case "(($ac_try" in 12272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12273 *) ac_try_echo=$ac_try;; 12274esac 12275eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 12276$as_echo "$ac_try_echo"; } >&5 12277 (eval "$LEX conftest.l") 2>&5 12278 ac_status=$? 12279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12280 test $ac_status = 0; } 12281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 12282$as_echo_n "checking lex output file root... " >&6; } 12283if ${ac_cv_prog_lex_root+:} false; then : 12284 $as_echo_n "(cached) " >&6 12285else 12286 12287if test -f lex.yy.c; then 12288 ac_cv_prog_lex_root=lex.yy 12289elif test -f lexyy.c; then 12290 ac_cv_prog_lex_root=lexyy 12291else 12292 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 12293fi 12294fi 12295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 12296$as_echo "$ac_cv_prog_lex_root" >&6; } 12297LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 12298 12299if test -z "${LEXLIB+set}"; then 12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 12301$as_echo_n "checking lex library... " >&6; } 12302if ${ac_cv_lib_lex+:} false; then : 12303 $as_echo_n "(cached) " >&6 12304else 12305 12306 ac_save_LIBS=$LIBS 12307 ac_cv_lib_lex='none needed' 12308 for ac_lib in '' -lfl -ll; do 12309 LIBS="$ac_lib $ac_save_LIBS" 12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12311/* end confdefs.h. */ 12312`cat $LEX_OUTPUT_ROOT.c` 12313_ACEOF 12314if ac_fn_c_try_link "$LINENO"; then : 12315 ac_cv_lib_lex=$ac_lib 12316fi 12317rm -f core conftest.err conftest.$ac_objext \ 12318 conftest$ac_exeext conftest.$ac_ext 12319 test "$ac_cv_lib_lex" != 'none needed' && break 12320 done 12321 LIBS=$ac_save_LIBS 12322 12323fi 12324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 12325$as_echo "$ac_cv_lib_lex" >&6; } 12326 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 12327fi 12328 12329 12330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 12331$as_echo_n "checking whether yytext is a pointer... " >&6; } 12332if ${ac_cv_prog_lex_yytext_pointer+:} false; then : 12333 $as_echo_n "(cached) " >&6 12334else 12335 # POSIX says lex can declare yytext either as a pointer or an array; the 12336# default is implementation-dependent. Figure out which it is, since 12337# not all implementations provide the %pointer and %array declarations. 12338ac_cv_prog_lex_yytext_pointer=no 12339ac_save_LIBS=$LIBS 12340LIBS="$LEXLIB $ac_save_LIBS" 12341cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12342/* end confdefs.h. */ 12343 12344 #define YYTEXT_POINTER 1 12345`cat $LEX_OUTPUT_ROOT.c` 12346_ACEOF 12347if ac_fn_c_try_link "$LINENO"; then : 12348 ac_cv_prog_lex_yytext_pointer=yes 12349fi 12350rm -f core conftest.err conftest.$ac_objext \ 12351 conftest$ac_exeext conftest.$ac_ext 12352LIBS=$ac_save_LIBS 12353 12354fi 12355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 12356$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 12357if test $ac_cv_prog_lex_yytext_pointer = yes; then 12358 12359$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h 12360 12361fi 12362rm -f conftest.l $LEX_OUTPUT_ROOT.c 12363 12364fi 12365if test "$LEX" = :; then 12366 LEX=${am_missing_run}flex 12367fi 12368# Extract the first word of "ar", so it can be a program name with args. 12369set dummy ar; ac_word=$2 12370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12371$as_echo_n "checking for $ac_word... " >&6; } 12372if ${ac_cv_path_AR+:} false; then : 12373 $as_echo_n "(cached) " >&6 12374else 12375 case $AR in 12376 [\\/]* | ?:[\\/]*) 12377 ac_cv_path_AR="$AR" # Let the user override the test with a path. 12378 ;; 12379 *) 12380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12381as_dummy="$PATH:/usr/ucb:/usr/ccs/bin" 12382for as_dir in $as_dummy 12383do 12384 IFS=$as_save_IFS 12385 test -z "$as_dir" && as_dir=. 12386 for ac_exec_ext in '' $ac_executable_extensions; do 12387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12388 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" 12389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12390 break 2 12391 fi 12392done 12393 done 12394IFS=$as_save_IFS 12395 12396 test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar" 12397 ;; 12398esac 12399fi 12400AR=$ac_cv_path_AR 12401if test -n "$AR"; then 12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 12403$as_echo "$AR" >&6; } 12404else 12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12406$as_echo "no" >&6; } 12407fi 12408 12409 12410case "$host_os" in 12411cygwin) 12412 case "$target" in 12413 *mingw*) 12414 CC="$CC -mno-cygwin" 12415 esac 12416 ;; 12417esac 12418 12419# Check whether --enable-Werror was given. 12420if test "${enable_Werror+set}" = set; then : 12421 enableval=$enable_Werror; enable_werror=$enableval 12422else 12423 enable_werror=no 12424fi 12425 12426if test x$enable_werror = xyes; then 12427 TESTSUITE_CFLAGS="-Werror -W -Wpointer-arith" 12428 ADD_CFLAGS="-Werror -W -Wpointer-arith" 12429fi 12430 12431# Check whether --enable-ASN_DEBUG was given. 12432if test "${enable_ASN_DEBUG+set}" = set; then : 12433 enableval=$enable_ASN_DEBUG; enable_asn_debug=$enableval 12434else 12435 enable_asn_debug=no 12436fi 12437 12438if test x$enable_asn_debug = xyes; then 12439 TESTSUITE_CFLAGS="-DEMIT_ASN_DEBUG" 12440fi 12441 12442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wall" >&5 12443$as_echo_n "checking whether C compiler accepts -Wall... " >&6; } 12444if ${ax_cv_check_cflags___Wall+:} false; then : 12445 $as_echo_n "(cached) " >&6 12446else 12447 12448 ax_check_save_flags=$CFLAGS 12449 CFLAGS="$CFLAGS -Wall" 12450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12451/* end confdefs.h. */ 12452 12453int 12454main () 12455{ 12456 12457 ; 12458 return 0; 12459} 12460_ACEOF 12461if ac_fn_c_try_compile "$LINENO"; then : 12462 ax_cv_check_cflags___Wall=yes 12463else 12464 ax_cv_check_cflags___Wall=no 12465fi 12466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12467 CFLAGS=$ax_check_save_flags 12468fi 12469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wall" >&5 12470$as_echo "$ax_cv_check_cflags___Wall" >&6; } 12471if test x"$ax_cv_check_cflags___Wall" = xyes; then : 12472 CFLAGS="$CFLAGS -Wall" 12473else 12474 : 12475fi 12476 12477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wcast-qual" >&5 12478$as_echo_n "checking whether C compiler accepts -Wcast-qual... " >&6; } 12479if ${ax_cv_check_cflags___Wcast_qual+:} false; then : 12480 $as_echo_n "(cached) " >&6 12481else 12482 12483 ax_check_save_flags=$CFLAGS 12484 CFLAGS="$CFLAGS -Wcast-qual" 12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12486/* end confdefs.h. */ 12487 12488int 12489main () 12490{ 12491 12492 ; 12493 return 0; 12494} 12495_ACEOF 12496if ac_fn_c_try_compile "$LINENO"; then : 12497 ax_cv_check_cflags___Wcast_qual=yes 12498else 12499 ax_cv_check_cflags___Wcast_qual=no 12500fi 12501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12502 CFLAGS=$ax_check_save_flags 12503fi 12504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wcast_qual" >&5 12505$as_echo "$ax_cv_check_cflags___Wcast_qual" >&6; } 12506if test x"$ax_cv_check_cflags___Wcast_qual" = xyes; then : 12507 CFLAGS="$CFLAGS -Wcast-qual" 12508else 12509 : 12510fi 12511 12512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wchar-subscripts" >&5 12513$as_echo_n "checking whether C compiler accepts -Wchar-subscripts... " >&6; } 12514if ${ax_cv_check_cflags___Wchar_subscripts+:} false; then : 12515 $as_echo_n "(cached) " >&6 12516else 12517 12518 ax_check_save_flags=$CFLAGS 12519 CFLAGS="$CFLAGS -Wchar-subscripts" 12520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12521/* end confdefs.h. */ 12522 12523int 12524main () 12525{ 12526 12527 ; 12528 return 0; 12529} 12530_ACEOF 12531if ac_fn_c_try_compile "$LINENO"; then : 12532 ax_cv_check_cflags___Wchar_subscripts=yes 12533else 12534 ax_cv_check_cflags___Wchar_subscripts=no 12535fi 12536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12537 CFLAGS=$ax_check_save_flags 12538fi 12539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wchar_subscripts" >&5 12540$as_echo "$ax_cv_check_cflags___Wchar_subscripts" >&6; } 12541if test x"$ax_cv_check_cflags___Wchar_subscripts" = xyes; then : 12542 CFLAGS="$CFLAGS -Wchar-subscripts" 12543else 12544 : 12545fi 12546 12547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wmissing-prototypes" >&5 12548$as_echo_n "checking whether C compiler accepts -Wmissing-prototypes... " >&6; } 12549if ${ax_cv_check_cflags___Wmissing_prototypes+:} false; then : 12550 $as_echo_n "(cached) " >&6 12551else 12552 12553 ax_check_save_flags=$CFLAGS 12554 CFLAGS="$CFLAGS -Wmissing-prototypes" 12555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12556/* end confdefs.h. */ 12557 12558int 12559main () 12560{ 12561 12562 ; 12563 return 0; 12564} 12565_ACEOF 12566if ac_fn_c_try_compile "$LINENO"; then : 12567 ax_cv_check_cflags___Wmissing_prototypes=yes 12568else 12569 ax_cv_check_cflags___Wmissing_prototypes=no 12570fi 12571rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12572 CFLAGS=$ax_check_save_flags 12573fi 12574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wmissing_prototypes" >&5 12575$as_echo "$ax_cv_check_cflags___Wmissing_prototypes" >&6; } 12576if test x"$ax_cv_check_cflags___Wmissing_prototypes" = xyes; then : 12577 CFLAGS="$CFLAGS -Wmissing-prototypes" 12578else 12579 : 12580fi 12581 12582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wmissing-declarations" >&5 12583$as_echo_n "checking whether C compiler accepts -Wmissing-declarations... " >&6; } 12584if ${ax_cv_check_cflags___Wmissing_declarations+:} false; then : 12585 $as_echo_n "(cached) " >&6 12586else 12587 12588 ax_check_save_flags=$CFLAGS 12589 CFLAGS="$CFLAGS -Wmissing-declarations" 12590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12591/* end confdefs.h. */ 12592 12593int 12594main () 12595{ 12596 12597 ; 12598 return 0; 12599} 12600_ACEOF 12601if ac_fn_c_try_compile "$LINENO"; then : 12602 ax_cv_check_cflags___Wmissing_declarations=yes 12603else 12604 ax_cv_check_cflags___Wmissing_declarations=no 12605fi 12606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12607 CFLAGS=$ax_check_save_flags 12608fi 12609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wmissing_declarations" >&5 12610$as_echo "$ax_cv_check_cflags___Wmissing_declarations" >&6; } 12611if test x"$ax_cv_check_cflags___Wmissing_declarations" = xyes; then : 12612 CFLAGS="$CFLAGS -Wmissing-declarations" 12613else 12614 : 12615fi 12616 12617 12618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wno-error=cast-align" >&5 12619$as_echo_n "checking whether C compiler accepts -Wno-error=cast-align... " >&6; } 12620if ${ax_cv_check_cflags___Wno_error_cast_align+:} false; then : 12621 $as_echo_n "(cached) " >&6 12622else 12623 12624 ax_check_save_flags=$CFLAGS 12625 CFLAGS="$CFLAGS -Wno-error=cast-align" 12626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12627/* end confdefs.h. */ 12628 12629int 12630main () 12631{ 12632 12633 ; 12634 return 0; 12635} 12636_ACEOF 12637if ac_fn_c_try_compile "$LINENO"; then : 12638 ax_cv_check_cflags___Wno_error_cast_align=yes 12639else 12640 ax_cv_check_cflags___Wno_error_cast_align=no 12641fi 12642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12643 CFLAGS=$ax_check_save_flags 12644fi 12645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wno_error_cast_align" >&5 12646$as_echo "$ax_cv_check_cflags___Wno_error_cast_align" >&6; } 12647if test x"$ax_cv_check_cflags___Wno_error_cast_align" = xyes; then : 12648 CFLAGS="$CFLAGS -Wno-error=cast-align" 12649else 12650 : 12651fi 12652 12653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wno-error=visibility" >&5 12654$as_echo_n "checking whether C compiler accepts -Wno-error=visibility... " >&6; } 12655if ${ax_cv_check_cflags___Wno_error_visibility+:} false; then : 12656 $as_echo_n "(cached) " >&6 12657else 12658 12659 ax_check_save_flags=$CFLAGS 12660 CFLAGS="$CFLAGS -Wno-error=visibility" 12661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12662/* end confdefs.h. */ 12663 12664int 12665main () 12666{ 12667 12668 ; 12669 return 0; 12670} 12671_ACEOF 12672if ac_fn_c_try_compile "$LINENO"; then : 12673 ax_cv_check_cflags___Wno_error_visibility=yes 12674else 12675 ax_cv_check_cflags___Wno_error_visibility=no 12676fi 12677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12678 CFLAGS=$ax_check_save_flags 12679fi 12680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wno_error_visibility" >&5 12681$as_echo "$ax_cv_check_cflags___Wno_error_visibility" >&6; } 12682if test x"$ax_cv_check_cflags___Wno_error_visibility" = xyes; then : 12683 CFLAGS="$CFLAGS -Wno-error=visibility" 12684else 12685 : 12686fi 12687 12688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wno-error=parentheses-equality" >&5 12689$as_echo_n "checking whether C compiler accepts -Wno-error=parentheses-equality... " >&6; } 12690if ${ax_cv_check_cflags___Wno_error_parentheses_equality+:} false; then : 12691 $as_echo_n "(cached) " >&6 12692else 12693 12694 ax_check_save_flags=$CFLAGS 12695 CFLAGS="$CFLAGS -Wno-error=parentheses-equality" 12696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12697/* end confdefs.h. */ 12698 12699int 12700main () 12701{ 12702 12703 ; 12704 return 0; 12705} 12706_ACEOF 12707if ac_fn_c_try_compile "$LINENO"; then : 12708 ax_cv_check_cflags___Wno_error_parentheses_equality=yes 12709else 12710 ax_cv_check_cflags___Wno_error_parentheses_equality=no 12711fi 12712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12713 CFLAGS=$ax_check_save_flags 12714fi 12715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wno_error_parentheses_equality" >&5 12716$as_echo "$ax_cv_check_cflags___Wno_error_parentheses_equality" >&6; } 12717if test x"$ax_cv_check_cflags___Wno_error_parentheses_equality" = xyes; then : 12718 CFLAGS="$CFLAGS -Wno-error=parentheses-equality" 12719else 12720 : 12721fi 12722 12723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wno-error=unused-variable" >&5 12724$as_echo_n "checking whether C compiler accepts -Wno-error=unused-variable... " >&6; } 12725if ${ax_cv_check_cflags___Wno_error_unused_variable+:} false; then : 12726 $as_echo_n "(cached) " >&6 12727else 12728 12729 ax_check_save_flags=$CFLAGS 12730 CFLAGS="$CFLAGS -Wno-error=unused-variable" 12731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12732/* end confdefs.h. */ 12733 12734int 12735main () 12736{ 12737 12738 ; 12739 return 0; 12740} 12741_ACEOF 12742if ac_fn_c_try_compile "$LINENO"; then : 12743 ax_cv_check_cflags___Wno_error_unused_variable=yes 12744else 12745 ax_cv_check_cflags___Wno_error_unused_variable=no 12746fi 12747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12748 CFLAGS=$ax_check_save_flags 12749fi 12750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wno_error_unused_variable" >&5 12751$as_echo "$ax_cv_check_cflags___Wno_error_unused_variable" >&6; } 12752if test x"$ax_cv_check_cflags___Wno_error_unused_variable" = xyes; then : 12753 TESTSUITE_CFLAGS="$TESTSUITE_CFLAGS -Wno-error=unused-variable" 12754else 12755 : 12756fi 12757 12758 12759 12760 12761 12762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 12763$as_echo_n "checking for ANSI C header files... " >&6; } 12764if ${ac_cv_header_stdc+:} false; then : 12765 $as_echo_n "(cached) " >&6 12766else 12767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12768/* end confdefs.h. */ 12769#include <stdlib.h> 12770#include <stdarg.h> 12771#include <string.h> 12772#include <float.h> 12773 12774int 12775main () 12776{ 12777 12778 ; 12779 return 0; 12780} 12781_ACEOF 12782if ac_fn_c_try_compile "$LINENO"; then : 12783 ac_cv_header_stdc=yes 12784else 12785 ac_cv_header_stdc=no 12786fi 12787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12788 12789if test $ac_cv_header_stdc = yes; then 12790 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 12791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12792/* end confdefs.h. */ 12793#include <string.h> 12794 12795_ACEOF 12796if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12797 $EGREP "memchr" >/dev/null 2>&1; then : 12798 12799else 12800 ac_cv_header_stdc=no 12801fi 12802rm -f conftest* 12803 12804fi 12805 12806if test $ac_cv_header_stdc = yes; then 12807 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 12808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12809/* end confdefs.h. */ 12810#include <stdlib.h> 12811 12812_ACEOF 12813if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12814 $EGREP "free" >/dev/null 2>&1; then : 12815 12816else 12817 ac_cv_header_stdc=no 12818fi 12819rm -f conftest* 12820 12821fi 12822 12823if test $ac_cv_header_stdc = yes; then 12824 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 12825 if test "$cross_compiling" = yes; then : 12826 : 12827else 12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12829/* end confdefs.h. */ 12830#include <ctype.h> 12831#include <stdlib.h> 12832#if ((' ' & 0x0FF) == 0x020) 12833# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 12834# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 12835#else 12836# define ISLOWER(c) \ 12837 (('a' <= (c) && (c) <= 'i') \ 12838 || ('j' <= (c) && (c) <= 'r') \ 12839 || ('s' <= (c) && (c) <= 'z')) 12840# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 12841#endif 12842 12843#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 12844int 12845main () 12846{ 12847 int i; 12848 for (i = 0; i < 256; i++) 12849 if (XOR (islower (i), ISLOWER (i)) 12850 || toupper (i) != TOUPPER (i)) 12851 return 2; 12852 return 0; 12853} 12854_ACEOF 12855if ac_fn_c_try_run "$LINENO"; then : 12856 12857else 12858 ac_cv_header_stdc=no 12859fi 12860rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12861 conftest.$ac_objext conftest.beam conftest.$ac_ext 12862fi 12863 12864fi 12865fi 12866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 12867$as_echo "$ac_cv_header_stdc" >&6; } 12868if test $ac_cv_header_stdc = yes; then 12869 12870$as_echo "#define STDC_HEADERS 1" >>confdefs.h 12871 12872fi 12873 12874for ac_header in sys/param.h 12875do : 12876 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" 12877if test "x$ac_cv_header_sys_param_h" = xyes; then : 12878 cat >>confdefs.h <<_ACEOF 12879#define HAVE_SYS_PARAM_H 1 12880_ACEOF 12881 12882fi 12883 12884done 12885 12886 12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 12888$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 12889if ${ac_cv_c_bigendian+:} false; then : 12890 $as_echo_n "(cached) " >&6 12891else 12892 ac_cv_c_bigendian=unknown 12893 # See if we're dealing with a universal compiler. 12894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12895/* end confdefs.h. */ 12896#ifndef __APPLE_CC__ 12897 not a universal capable compiler 12898 #endif 12899 typedef int dummy; 12900 12901_ACEOF 12902if ac_fn_c_try_compile "$LINENO"; then : 12903 12904 # Check for potential -arch flags. It is not universal unless 12905 # there are at least two -arch flags with different values. 12906 ac_arch= 12907 ac_prev= 12908 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 12909 if test -n "$ac_prev"; then 12910 case $ac_word in 12911 i?86 | x86_64 | ppc | ppc64) 12912 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 12913 ac_arch=$ac_word 12914 else 12915 ac_cv_c_bigendian=universal 12916 break 12917 fi 12918 ;; 12919 esac 12920 ac_prev= 12921 elif test "x$ac_word" = "x-arch"; then 12922 ac_prev=arch 12923 fi 12924 done 12925fi 12926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12927 if test $ac_cv_c_bigendian = unknown; then 12928 # See if sys/param.h defines the BYTE_ORDER macro. 12929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12930/* end confdefs.h. */ 12931#include <sys/types.h> 12932 #include <sys/param.h> 12933 12934int 12935main () 12936{ 12937#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 12938 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 12939 && LITTLE_ENDIAN) 12940 bogus endian macros 12941 #endif 12942 12943 ; 12944 return 0; 12945} 12946_ACEOF 12947if ac_fn_c_try_compile "$LINENO"; then : 12948 # It does; now see whether it defined to BIG_ENDIAN or not. 12949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12950/* end confdefs.h. */ 12951#include <sys/types.h> 12952 #include <sys/param.h> 12953 12954int 12955main () 12956{ 12957#if BYTE_ORDER != BIG_ENDIAN 12958 not big endian 12959 #endif 12960 12961 ; 12962 return 0; 12963} 12964_ACEOF 12965if ac_fn_c_try_compile "$LINENO"; then : 12966 ac_cv_c_bigendian=yes 12967else 12968 ac_cv_c_bigendian=no 12969fi 12970rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12971fi 12972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12973 fi 12974 if test $ac_cv_c_bigendian = unknown; then 12975 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 12976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12977/* end confdefs.h. */ 12978#include <limits.h> 12979 12980int 12981main () 12982{ 12983#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 12984 bogus endian macros 12985 #endif 12986 12987 ; 12988 return 0; 12989} 12990_ACEOF 12991if ac_fn_c_try_compile "$LINENO"; then : 12992 # It does; now see whether it defined to _BIG_ENDIAN or not. 12993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12994/* end confdefs.h. */ 12995#include <limits.h> 12996 12997int 12998main () 12999{ 13000#ifndef _BIG_ENDIAN 13001 not big endian 13002 #endif 13003 13004 ; 13005 return 0; 13006} 13007_ACEOF 13008if ac_fn_c_try_compile "$LINENO"; then : 13009 ac_cv_c_bigendian=yes 13010else 13011 ac_cv_c_bigendian=no 13012fi 13013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13014fi 13015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13016 fi 13017 if test $ac_cv_c_bigendian = unknown; then 13018 # Compile a test program. 13019 if test "$cross_compiling" = yes; then : 13020 # Try to guess by grepping values from an object file. 13021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13022/* end confdefs.h. */ 13023short int ascii_mm[] = 13024 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 13025 short int ascii_ii[] = 13026 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 13027 int use_ascii (int i) { 13028 return ascii_mm[i] + ascii_ii[i]; 13029 } 13030 short int ebcdic_ii[] = 13031 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 13032 short int ebcdic_mm[] = 13033 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 13034 int use_ebcdic (int i) { 13035 return ebcdic_mm[i] + ebcdic_ii[i]; 13036 } 13037 extern int foo; 13038 13039int 13040main () 13041{ 13042return use_ascii (foo) == use_ebcdic (foo); 13043 ; 13044 return 0; 13045} 13046_ACEOF 13047if ac_fn_c_try_compile "$LINENO"; then : 13048 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 13049 ac_cv_c_bigendian=yes 13050 fi 13051 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 13052 if test "$ac_cv_c_bigendian" = unknown; then 13053 ac_cv_c_bigendian=no 13054 else 13055 # finding both strings is unlikely to happen, but who knows? 13056 ac_cv_c_bigendian=unknown 13057 fi 13058 fi 13059fi 13060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13061else 13062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13063/* end confdefs.h. */ 13064$ac_includes_default 13065int 13066main () 13067{ 13068 13069 /* Are we little or big endian? From Harbison&Steele. */ 13070 union 13071 { 13072 long int l; 13073 char c[sizeof (long int)]; 13074 } u; 13075 u.l = 1; 13076 return u.c[sizeof (long int) - 1] == 1; 13077 13078 ; 13079 return 0; 13080} 13081_ACEOF 13082if ac_fn_c_try_run "$LINENO"; then : 13083 ac_cv_c_bigendian=no 13084else 13085 ac_cv_c_bigendian=yes 13086fi 13087rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13088 conftest.$ac_objext conftest.beam conftest.$ac_ext 13089fi 13090 13091 fi 13092fi 13093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 13094$as_echo "$ac_cv_c_bigendian" >&6; } 13095 case $ac_cv_c_bigendian in #( 13096 yes) 13097 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 13098;; #( 13099 no) 13100 ;; #( 13101 universal) 13102 13103$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 13104 13105 ;; #( 13106 *) 13107 as_fn_error $? "unknown endianness 13108 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 13109 esac 13110 13111ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 13112if test "x$ac_cv_type_off_t" = xyes; then : 13113 13114else 13115 13116cat >>confdefs.h <<_ACEOF 13117#define off_t long int 13118_ACEOF 13119 13120fi 13121 13122ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 13123if test "x$ac_cv_type_size_t" = xyes; then : 13124 13125else 13126 13127cat >>confdefs.h <<_ACEOF 13128#define size_t unsigned int 13129_ACEOF 13130 13131fi 13132 13133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 13134$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 13135if ${ac_cv_struct_tm+:} false; then : 13136 $as_echo_n "(cached) " >&6 13137else 13138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13139/* end confdefs.h. */ 13140#include <sys/types.h> 13141#include <time.h> 13142 13143int 13144main () 13145{ 13146struct tm tm; 13147 int *p = &tm.tm_sec; 13148 return !p; 13149 ; 13150 return 0; 13151} 13152_ACEOF 13153if ac_fn_c_try_compile "$LINENO"; then : 13154 ac_cv_struct_tm=time.h 13155else 13156 ac_cv_struct_tm=sys/time.h 13157fi 13158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13159fi 13160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 13161$as_echo "$ac_cv_struct_tm" >&6; } 13162if test $ac_cv_struct_tm = sys/time.h; then 13163 13164$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 13165 13166fi 13167 13168ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default" 13169if test "x$ac_cv_type_intmax_t" = xyes; then : 13170 13171else 13172 13173cat >>confdefs.h <<_ACEOF 13174#define intmax_t int64_t 13175_ACEOF 13176 13177fi 13178 13179 13180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long is longer than 32 bit" >&5 13181$as_echo_n "checking size of long is longer than 32 bit... " >&6; } 13182 13183cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13184/* end confdefs.h. */ 13185#include "confdefs.h" 13186#include <sys/types.h> 13187 13188int 13189main () 13190{ 13191switch (0) case 0: case (sizeof ($1) >= 8):; 13192 ; 13193 return 0; 13194} 13195_ACEOF 13196if ac_fn_c_try_compile "$LINENO"; then : 13197 WIDE_LONG=yes 13198else 13199 WIDE_LONG=no 13200fi 13201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIDE_LONG" >&5 13203$as_echo "$WIDE_LONG" >&6; } 13204 if test x$WIDE_LONG = xyes; then 13205 TEST_64BIT_TRUE= 13206 TEST_64BIT_FALSE='#' 13207else 13208 TEST_64BIT_TRUE='#' 13209 TEST_64BIT_FALSE= 13210fi 13211 13212 13213 13214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getopt" >&5 13215$as_echo_n "checking for library containing getopt... " >&6; } 13216if ${ac_cv_search_getopt+:} false; then : 13217 $as_echo_n "(cached) " >&6 13218else 13219 ac_func_search_save_LIBS=$LIBS 13220cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13221/* end confdefs.h. */ 13222 13223/* Override any GCC internal prototype to avoid an error. 13224 Use char because int might match the return type of a GCC 13225 builtin and then its argument prototype would still apply. */ 13226#ifdef __cplusplus 13227extern "C" 13228#endif 13229char getopt (); 13230int 13231main () 13232{ 13233return getopt (); 13234 ; 13235 return 0; 13236} 13237_ACEOF 13238for ac_lib in '' iberty; do 13239 if test -z "$ac_lib"; then 13240 ac_res="none required" 13241 else 13242 ac_res=-l$ac_lib 13243 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13244 fi 13245 if ac_fn_c_try_link "$LINENO"; then : 13246 ac_cv_search_getopt=$ac_res 13247fi 13248rm -f core conftest.err conftest.$ac_objext \ 13249 conftest$ac_exeext 13250 if ${ac_cv_search_getopt+:} false; then : 13251 break 13252fi 13253done 13254if ${ac_cv_search_getopt+:} false; then : 13255 13256else 13257 ac_cv_search_getopt=no 13258fi 13259rm conftest.$ac_ext 13260LIBS=$ac_func_search_save_LIBS 13261fi 13262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getopt" >&5 13263$as_echo "$ac_cv_search_getopt" >&6; } 13264ac_res=$ac_cv_search_getopt 13265if test "$ac_res" != no; then : 13266 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13267 13268fi 13269 13270 13271for ac_func in strtoimax strtoll 13272do : 13273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13274ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13275if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 13276 cat >>confdefs.h <<_ACEOF 13277#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13278_ACEOF 13279 13280fi 13281done 13282 13283for ac_func in mergesort 13284do : 13285 ac_fn_c_check_func "$LINENO" "mergesort" "ac_cv_func_mergesort" 13286if test "x$ac_cv_func_mergesort" = xyes; then : 13287 cat >>confdefs.h <<_ACEOF 13288#define HAVE_MERGESORT 1 13289_ACEOF 13290 13291fi 13292done 13293 13294for ac_func in mkstemps 13295do : 13296 ac_fn_c_check_func "$LINENO" "mkstemps" "ac_cv_func_mkstemps" 13297if test "x$ac_cv_func_mkstemps" = xyes; then : 13298 cat >>confdefs.h <<_ACEOF 13299#define HAVE_MKSTEMPS 1 13300_ACEOF 13301 13302fi 13303done 13304 13305 13306ac_config_files="$ac_config_files skeletons/tests/Makefile libasn1compiler/Makefile libasn1parser/Makefile libasn1print/Makefile asn1c/tests/Makefile libasn1fix/Makefile doc/docsrc/Makefile skeletons/Makefile examples/Makefile asn1c/Makefile doc/Makefile asn1c.spec Makefile" 13307 13308cat >confcache <<\_ACEOF 13309# This file is a shell script that caches the results of configure 13310# tests run on this system so they can be shared between configure 13311# scripts and configure runs, see configure's option --config-cache. 13312# It is not useful on other systems. If it contains results you don't 13313# want to keep, you may remove or edit it. 13314# 13315# config.status only pays attention to the cache file if you give it 13316# the --recheck option to rerun configure. 13317# 13318# `ac_cv_env_foo' variables (set or unset) will be overridden when 13319# loading this file, other *unset* `ac_cv_foo' will be assigned the 13320# following values. 13321 13322_ACEOF 13323 13324# The following way of writing the cache mishandles newlines in values, 13325# but we know of no workaround that is simple, portable, and efficient. 13326# So, we kill variables containing newlines. 13327# Ultrix sh set writes to stderr and can't be redirected directly, 13328# and sets the high bit in the cache file unless we assign to the vars. 13329( 13330 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13331 eval ac_val=\$$ac_var 13332 case $ac_val in #( 13333 *${as_nl}*) 13334 case $ac_var in #( 13335 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13336$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13337 esac 13338 case $ac_var in #( 13339 _ | IFS | as_nl) ;; #( 13340 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13341 *) { eval $ac_var=; unset $ac_var;} ;; 13342 esac ;; 13343 esac 13344 done 13345 13346 (set) 2>&1 | 13347 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13348 *${as_nl}ac_space=\ *) 13349 # `set' does not quote correctly, so add quotes: double-quote 13350 # substitution turns \\\\ into \\, and sed turns \\ into \. 13351 sed -n \ 13352 "s/'/'\\\\''/g; 13353 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13354 ;; #( 13355 *) 13356 # `set' quotes correctly as required by POSIX, so do not add quotes. 13357 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13358 ;; 13359 esac | 13360 sort 13361) | 13362 sed ' 13363 /^ac_cv_env_/b end 13364 t clear 13365 :clear 13366 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13367 t end 13368 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13369 :end' >>confcache 13370if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13371 if test -w "$cache_file"; then 13372 if test "x$cache_file" != "x/dev/null"; then 13373 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13374$as_echo "$as_me: updating cache $cache_file" >&6;} 13375 if test ! -f "$cache_file" || test -h "$cache_file"; then 13376 cat confcache >"$cache_file" 13377 else 13378 case $cache_file in #( 13379 */* | ?:*) 13380 mv -f confcache "$cache_file"$$ && 13381 mv -f "$cache_file"$$ "$cache_file" ;; #( 13382 *) 13383 mv -f confcache "$cache_file" ;; 13384 esac 13385 fi 13386 fi 13387 else 13388 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13389$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13390 fi 13391fi 13392rm -f confcache 13393 13394test "x$prefix" = xNONE && prefix=$ac_default_prefix 13395# Let make expand exec_prefix. 13396test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13397 13398DEFS=-DHAVE_CONFIG_H 13399 13400ac_libobjs= 13401ac_ltlibobjs= 13402U= 13403for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13404 # 1. Remove the extension, and $U if already installed. 13405 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13406 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13407 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13408 # will be set to the directory where LIBOBJS objects are built. 13409 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13410 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13411done 13412LIBOBJS=$ac_libobjs 13413 13414LTLIBOBJS=$ac_ltlibobjs 13415 13416 13417 if test -n "$EXEEXT"; then 13418 am__EXEEXT_TRUE= 13419 am__EXEEXT_FALSE='#' 13420else 13421 am__EXEEXT_TRUE='#' 13422 am__EXEEXT_FALSE= 13423fi 13424 13425if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 13426 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 13427Usually this means the macro was only invoked conditionally." "$LINENO" 5 13428fi 13429if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13430 as_fn_error $? "conditional \"AMDEP\" was never defined. 13431Usually this means the macro was only invoked conditionally." "$LINENO" 5 13432fi 13433if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13434 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13435Usually this means the macro was only invoked conditionally." "$LINENO" 5 13436fi 13437if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13438 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13439Usually this means the macro was only invoked conditionally." "$LINENO" 5 13440fi 13441 13442if test -z "${TEST_64BIT_TRUE}" && test -z "${TEST_64BIT_FALSE}"; then 13443 as_fn_error $? "conditional \"TEST_64BIT\" was never defined. 13444Usually this means the macro was only invoked conditionally." "$LINENO" 5 13445fi 13446 13447: "${CONFIG_STATUS=./config.status}" 13448ac_write_fail=0 13449ac_clean_files_save=$ac_clean_files 13450ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13451{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13452$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13453as_write_fail=0 13454cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13455#! $SHELL 13456# Generated by $as_me. 13457# Run this file to recreate the current configuration. 13458# Compiler output produced by configure, useful for debugging 13459# configure, is in config.log if it exists. 13460 13461debug=false 13462ac_cs_recheck=false 13463ac_cs_silent=false 13464 13465SHELL=\${CONFIG_SHELL-$SHELL} 13466export SHELL 13467_ASEOF 13468cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13469## -------------------- ## 13470## M4sh Initialization. ## 13471## -------------------- ## 13472 13473# Be more Bourne compatible 13474DUALCASE=1; export DUALCASE # for MKS sh 13475if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13476 emulate sh 13477 NULLCMD=: 13478 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13479 # is contrary to our usage. Disable this feature. 13480 alias -g '${1+"$@"}'='"$@"' 13481 setopt NO_GLOB_SUBST 13482else 13483 case `(set -o) 2>/dev/null` in #( 13484 *posix*) : 13485 set -o posix ;; #( 13486 *) : 13487 ;; 13488esac 13489fi 13490 13491 13492as_nl=' 13493' 13494export as_nl 13495# Printing a long string crashes Solaris 7 /usr/bin/printf. 13496as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13497as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13498as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13499# Prefer a ksh shell builtin over an external printf program on Solaris, 13500# but without wasting forks for bash or zsh. 13501if test -z "$BASH_VERSION$ZSH_VERSION" \ 13502 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13503 as_echo='print -r --' 13504 as_echo_n='print -rn --' 13505elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13506 as_echo='printf %s\n' 13507 as_echo_n='printf %s' 13508else 13509 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13510 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13511 as_echo_n='/usr/ucb/echo -n' 13512 else 13513 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13514 as_echo_n_body='eval 13515 arg=$1; 13516 case $arg in #( 13517 *"$as_nl"*) 13518 expr "X$arg" : "X\\(.*\\)$as_nl"; 13519 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13520 esac; 13521 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13522 ' 13523 export as_echo_n_body 13524 as_echo_n='sh -c $as_echo_n_body as_echo' 13525 fi 13526 export as_echo_body 13527 as_echo='sh -c $as_echo_body as_echo' 13528fi 13529 13530# The user is always right. 13531if test "${PATH_SEPARATOR+set}" != set; then 13532 PATH_SEPARATOR=: 13533 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13534 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13535 PATH_SEPARATOR=';' 13536 } 13537fi 13538 13539 13540# IFS 13541# We need space, tab and new line, in precisely that order. Quoting is 13542# there to prevent editors from complaining about space-tab. 13543# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13544# splitting by setting IFS to empty value.) 13545IFS=" "" $as_nl" 13546 13547# Find who we are. Look in the path if we contain no directory separator. 13548as_myself= 13549case $0 in #(( 13550 *[\\/]* ) as_myself=$0 ;; 13551 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13552for as_dir in $PATH 13553do 13554 IFS=$as_save_IFS 13555 test -z "$as_dir" && as_dir=. 13556 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13557 done 13558IFS=$as_save_IFS 13559 13560 ;; 13561esac 13562# We did not find ourselves, most probably we were run as `sh COMMAND' 13563# in which case we are not to be found in the path. 13564if test "x$as_myself" = x; then 13565 as_myself=$0 13566fi 13567if test ! -f "$as_myself"; then 13568 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13569 exit 1 13570fi 13571 13572# Unset variables that we do not need and which cause bugs (e.g. in 13573# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13574# suppresses any "Segmentation fault" message there. '((' could 13575# trigger a bug in pdksh 5.2.14. 13576for as_var in BASH_ENV ENV MAIL MAILPATH 13577do eval test x\${$as_var+set} = xset \ 13578 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13579done 13580PS1='$ ' 13581PS2='> ' 13582PS4='+ ' 13583 13584# NLS nuisances. 13585LC_ALL=C 13586export LC_ALL 13587LANGUAGE=C 13588export LANGUAGE 13589 13590# CDPATH. 13591(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13592 13593 13594# as_fn_error STATUS ERROR [LINENO LOG_FD] 13595# ---------------------------------------- 13596# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13597# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13598# script with STATUS, using 1 if that was 0. 13599as_fn_error () 13600{ 13601 as_status=$1; test $as_status -eq 0 && as_status=1 13602 if test "$4"; then 13603 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13604 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13605 fi 13606 $as_echo "$as_me: error: $2" >&2 13607 as_fn_exit $as_status 13608} # as_fn_error 13609 13610 13611# as_fn_set_status STATUS 13612# ----------------------- 13613# Set $? to STATUS, without forking. 13614as_fn_set_status () 13615{ 13616 return $1 13617} # as_fn_set_status 13618 13619# as_fn_exit STATUS 13620# ----------------- 13621# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13622as_fn_exit () 13623{ 13624 set +e 13625 as_fn_set_status $1 13626 exit $1 13627} # as_fn_exit 13628 13629# as_fn_unset VAR 13630# --------------- 13631# Portably unset VAR. 13632as_fn_unset () 13633{ 13634 { eval $1=; unset $1;} 13635} 13636as_unset=as_fn_unset 13637# as_fn_append VAR VALUE 13638# ---------------------- 13639# Append the text in VALUE to the end of the definition contained in VAR. Take 13640# advantage of any shell optimizations that allow amortized linear growth over 13641# repeated appends, instead of the typical quadratic growth present in naive 13642# implementations. 13643if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13644 eval 'as_fn_append () 13645 { 13646 eval $1+=\$2 13647 }' 13648else 13649 as_fn_append () 13650 { 13651 eval $1=\$$1\$2 13652 } 13653fi # as_fn_append 13654 13655# as_fn_arith ARG... 13656# ------------------ 13657# Perform arithmetic evaluation on the ARGs, and store the result in the 13658# global $as_val. Take advantage of shells that can avoid forks. The arguments 13659# must be portable across $(()) and expr. 13660if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13661 eval 'as_fn_arith () 13662 { 13663 as_val=$(( $* )) 13664 }' 13665else 13666 as_fn_arith () 13667 { 13668 as_val=`expr "$@" || test $? -eq 1` 13669 } 13670fi # as_fn_arith 13671 13672 13673if expr a : '\(a\)' >/dev/null 2>&1 && 13674 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13675 as_expr=expr 13676else 13677 as_expr=false 13678fi 13679 13680if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13681 as_basename=basename 13682else 13683 as_basename=false 13684fi 13685 13686if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13687 as_dirname=dirname 13688else 13689 as_dirname=false 13690fi 13691 13692as_me=`$as_basename -- "$0" || 13693$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13694 X"$0" : 'X\(//\)$' \| \ 13695 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13696$as_echo X/"$0" | 13697 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13698 s//\1/ 13699 q 13700 } 13701 /^X\/\(\/\/\)$/{ 13702 s//\1/ 13703 q 13704 } 13705 /^X\/\(\/\).*/{ 13706 s//\1/ 13707 q 13708 } 13709 s/.*/./; q'` 13710 13711# Avoid depending upon Character Ranges. 13712as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13713as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13714as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13715as_cr_digits='0123456789' 13716as_cr_alnum=$as_cr_Letters$as_cr_digits 13717 13718ECHO_C= ECHO_N= ECHO_T= 13719case `echo -n x` in #((((( 13720-n*) 13721 case `echo 'xy\c'` in 13722 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13723 xy) ECHO_C='\c';; 13724 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13725 ECHO_T=' ';; 13726 esac;; 13727*) 13728 ECHO_N='-n';; 13729esac 13730 13731rm -f conf$$ conf$$.exe conf$$.file 13732if test -d conf$$.dir; then 13733 rm -f conf$$.dir/conf$$.file 13734else 13735 rm -f conf$$.dir 13736 mkdir conf$$.dir 2>/dev/null 13737fi 13738if (echo >conf$$.file) 2>/dev/null; then 13739 if ln -s conf$$.file conf$$ 2>/dev/null; then 13740 as_ln_s='ln -s' 13741 # ... but there are two gotchas: 13742 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13743 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13744 # In both cases, we have to default to `cp -pR'. 13745 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13746 as_ln_s='cp -pR' 13747 elif ln conf$$.file conf$$ 2>/dev/null; then 13748 as_ln_s=ln 13749 else 13750 as_ln_s='cp -pR' 13751 fi 13752else 13753 as_ln_s='cp -pR' 13754fi 13755rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13756rmdir conf$$.dir 2>/dev/null 13757 13758 13759# as_fn_mkdir_p 13760# ------------- 13761# Create "$as_dir" as a directory, including parents if necessary. 13762as_fn_mkdir_p () 13763{ 13764 13765 case $as_dir in #( 13766 -*) as_dir=./$as_dir;; 13767 esac 13768 test -d "$as_dir" || eval $as_mkdir_p || { 13769 as_dirs= 13770 while :; do 13771 case $as_dir in #( 13772 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13773 *) as_qdir=$as_dir;; 13774 esac 13775 as_dirs="'$as_qdir' $as_dirs" 13776 as_dir=`$as_dirname -- "$as_dir" || 13777$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13778 X"$as_dir" : 'X\(//\)[^/]' \| \ 13779 X"$as_dir" : 'X\(//\)$' \| \ 13780 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13781$as_echo X"$as_dir" | 13782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13783 s//\1/ 13784 q 13785 } 13786 /^X\(\/\/\)[^/].*/{ 13787 s//\1/ 13788 q 13789 } 13790 /^X\(\/\/\)$/{ 13791 s//\1/ 13792 q 13793 } 13794 /^X\(\/\).*/{ 13795 s//\1/ 13796 q 13797 } 13798 s/.*/./; q'` 13799 test -d "$as_dir" && break 13800 done 13801 test -z "$as_dirs" || eval "mkdir $as_dirs" 13802 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13803 13804 13805} # as_fn_mkdir_p 13806if mkdir -p . 2>/dev/null; then 13807 as_mkdir_p='mkdir -p "$as_dir"' 13808else 13809 test -d ./-p && rmdir ./-p 13810 as_mkdir_p=false 13811fi 13812 13813 13814# as_fn_executable_p FILE 13815# ----------------------- 13816# Test if FILE is an executable regular file. 13817as_fn_executable_p () 13818{ 13819 test -f "$1" && test -x "$1" 13820} # as_fn_executable_p 13821as_test_x='test -x' 13822as_executable_p=as_fn_executable_p 13823 13824# Sed expression to map a string onto a valid CPP name. 13825as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13826 13827# Sed expression to map a string onto a valid variable name. 13828as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13829 13830 13831exec 6>&1 13832## ----------------------------------- ## 13833## Main body of $CONFIG_STATUS script. ## 13834## ----------------------------------- ## 13835_ASEOF 13836test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13837 13838cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13839# Save the log message, to keep $0 and so on meaningful, and to 13840# report actual input values of CONFIG_FILES etc. instead of their 13841# values after options handling. 13842ac_log=" 13843This file was extended by asn1c $as_me 0.9.27, which was 13844generated by GNU Autoconf 2.69. Invocation command line was 13845 13846 CONFIG_FILES = $CONFIG_FILES 13847 CONFIG_HEADERS = $CONFIG_HEADERS 13848 CONFIG_LINKS = $CONFIG_LINKS 13849 CONFIG_COMMANDS = $CONFIG_COMMANDS 13850 $ $0 $@ 13851 13852on `(hostname || uname -n) 2>/dev/null | sed 1q` 13853" 13854 13855_ACEOF 13856 13857case $ac_config_files in *" 13858"*) set x $ac_config_files; shift; ac_config_files=$*;; 13859esac 13860 13861case $ac_config_headers in *" 13862"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13863esac 13864 13865 13866cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13867# Files that config.status was made for. 13868config_files="$ac_config_files" 13869config_headers="$ac_config_headers" 13870config_commands="$ac_config_commands" 13871 13872_ACEOF 13873 13874cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13875ac_cs_usage="\ 13876\`$as_me' instantiates files and other configuration actions 13877from templates according to the current configuration. Unless the files 13878and actions are specified as TAGs, all are instantiated by default. 13879 13880Usage: $0 [OPTION]... [TAG]... 13881 13882 -h, --help print this help, then exit 13883 -V, --version print version number and configuration settings, then exit 13884 --config print configuration, then exit 13885 -q, --quiet, --silent 13886 do not print progress messages 13887 -d, --debug don't remove temporary files 13888 --recheck update $as_me by reconfiguring in the same conditions 13889 --file=FILE[:TEMPLATE] 13890 instantiate the configuration file FILE 13891 --header=FILE[:TEMPLATE] 13892 instantiate the configuration header FILE 13893 13894Configuration files: 13895$config_files 13896 13897Configuration headers: 13898$config_headers 13899 13900Configuration commands: 13901$config_commands 13902 13903Report bugs to <vlm@lionet.info>." 13904 13905_ACEOF 13906cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13907ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13908ac_cs_version="\\ 13909asn1c config.status 0.9.27 13910configured by $0, generated by GNU Autoconf 2.69, 13911 with options \\"\$ac_cs_config\\" 13912 13913Copyright (C) 2012 Free Software Foundation, Inc. 13914This config.status script is free software; the Free Software Foundation 13915gives unlimited permission to copy, distribute and modify it." 13916 13917ac_pwd='$ac_pwd' 13918srcdir='$srcdir' 13919INSTALL='$INSTALL' 13920MKDIR_P='$MKDIR_P' 13921AWK='$AWK' 13922test -n "\$AWK" || AWK=awk 13923_ACEOF 13924 13925cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13926# The default lists apply if the user does not specify any file. 13927ac_need_defaults=: 13928while test $# != 0 13929do 13930 case $1 in 13931 --*=?*) 13932 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13933 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13934 ac_shift=: 13935 ;; 13936 --*=) 13937 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13938 ac_optarg= 13939 ac_shift=: 13940 ;; 13941 *) 13942 ac_option=$1 13943 ac_optarg=$2 13944 ac_shift=shift 13945 ;; 13946 esac 13947 13948 case $ac_option in 13949 # Handling of the options. 13950 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13951 ac_cs_recheck=: ;; 13952 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13953 $as_echo "$ac_cs_version"; exit ;; 13954 --config | --confi | --conf | --con | --co | --c ) 13955 $as_echo "$ac_cs_config"; exit ;; 13956 --debug | --debu | --deb | --de | --d | -d ) 13957 debug=: ;; 13958 --file | --fil | --fi | --f ) 13959 $ac_shift 13960 case $ac_optarg in 13961 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13962 '') as_fn_error $? "missing file argument" ;; 13963 esac 13964 as_fn_append CONFIG_FILES " '$ac_optarg'" 13965 ac_need_defaults=false;; 13966 --header | --heade | --head | --hea ) 13967 $ac_shift 13968 case $ac_optarg in 13969 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13970 esac 13971 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13972 ac_need_defaults=false;; 13973 --he | --h) 13974 # Conflict between --help and --header 13975 as_fn_error $? "ambiguous option: \`$1' 13976Try \`$0 --help' for more information.";; 13977 --help | --hel | -h ) 13978 $as_echo "$ac_cs_usage"; exit ;; 13979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13980 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13981 ac_cs_silent=: ;; 13982 13983 # This is an error. 13984 -*) as_fn_error $? "unrecognized option: \`$1' 13985Try \`$0 --help' for more information." ;; 13986 13987 *) as_fn_append ac_config_targets " $1" 13988 ac_need_defaults=false ;; 13989 13990 esac 13991 shift 13992done 13993 13994ac_configure_extra_args= 13995 13996if $ac_cs_silent; then 13997 exec 6>/dev/null 13998 ac_configure_extra_args="$ac_configure_extra_args --silent" 13999fi 14000 14001_ACEOF 14002cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14003if \$ac_cs_recheck; then 14004 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14005 shift 14006 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14007 CONFIG_SHELL='$SHELL' 14008 export CONFIG_SHELL 14009 exec "\$@" 14010fi 14011 14012_ACEOF 14013cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14014exec 5>>config.log 14015{ 14016 echo 14017 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14018## Running $as_me. ## 14019_ASBOX 14020 $as_echo "$ac_log" 14021} >&5 14022 14023_ACEOF 14024cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14025# 14026# INIT-COMMANDS 14027# 14028AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14029 14030 14031# The HP-UX ksh and POSIX shell print the target directory to stdout 14032# if CDPATH is set. 14033(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14034 14035sed_quote_subst='$sed_quote_subst' 14036double_quote_subst='$double_quote_subst' 14037delay_variable_subst='$delay_variable_subst' 14038macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 14039macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 14040enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 14041enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 14042pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 14043enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 14044SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 14045ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 14046host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 14047host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 14048host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 14049build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 14050build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 14051build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 14052SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 14053Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 14054GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 14055EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 14056FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 14057LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 14058NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 14059LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 14060max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 14061ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 14062exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 14063lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14064lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14065lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14066lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 14067lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 14068reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14069reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 14070OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 14071deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14072file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 14073file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 14074want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 14075DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 14076sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14077AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 14078AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14079archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 14080STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14081RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14082old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14083old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14084old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 14085lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 14086CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 14087CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 14088compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 14089GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 14090lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 14091lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14092lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14093lt_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"`' 14094nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 14095lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 14096objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 14097MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 14098lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 14099lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 14100lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 14101lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 14102lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 14103need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 14104MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 14105DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14106NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14107LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14108OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 14109OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14110libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14111shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14112extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14113archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14114enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14115export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14116whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14117compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14118old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14119old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14120archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14121archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14122module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14123module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14124with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14125allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14126no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14127hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14128hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' 14129hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14130hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14131hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14132hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14133hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14134hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14135inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14136link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14137always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14138export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14139exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14140include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14141prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14142postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14143file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14144variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14145need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14146need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14147version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14148runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14149shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14150shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14151libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14152library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14153soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14154install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14155postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14156postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14157finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14158finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14159hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14160sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14161sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 14162hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14163enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14164enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14165enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14166old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14167striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14168 14169LTCC='$LTCC' 14170LTCFLAGS='$LTCFLAGS' 14171compiler='$compiler_DEFAULT' 14172 14173# A function that is used when there is no print builtin or printf. 14174func_fallback_echo () 14175{ 14176 eval 'cat <<_LTECHO_EOF 14177\$1 14178_LTECHO_EOF' 14179} 14180 14181# Quote evaled strings. 14182for var in SHELL \ 14183ECHO \ 14184SED \ 14185GREP \ 14186EGREP \ 14187FGREP \ 14188LD \ 14189NM \ 14190LN_S \ 14191lt_SP2NL \ 14192lt_NL2SP \ 14193reload_flag \ 14194OBJDUMP \ 14195deplibs_check_method \ 14196file_magic_cmd \ 14197file_magic_glob \ 14198want_nocaseglob \ 14199DLLTOOL \ 14200sharedlib_from_linklib_cmd \ 14201AR \ 14202AR_FLAGS \ 14203archiver_list_spec \ 14204STRIP \ 14205RANLIB \ 14206CC \ 14207CFLAGS \ 14208compiler \ 14209lt_cv_sys_global_symbol_pipe \ 14210lt_cv_sys_global_symbol_to_cdecl \ 14211lt_cv_sys_global_symbol_to_c_name_address \ 14212lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14213nm_file_list_spec \ 14214lt_prog_compiler_no_builtin_flag \ 14215lt_prog_compiler_pic \ 14216lt_prog_compiler_wl \ 14217lt_prog_compiler_static \ 14218lt_cv_prog_compiler_c_o \ 14219need_locks \ 14220MANIFEST_TOOL \ 14221DSYMUTIL \ 14222NMEDIT \ 14223LIPO \ 14224OTOOL \ 14225OTOOL64 \ 14226shrext_cmds \ 14227export_dynamic_flag_spec \ 14228whole_archive_flag_spec \ 14229compiler_needs_object \ 14230with_gnu_ld \ 14231allow_undefined_flag \ 14232no_undefined_flag \ 14233hardcode_libdir_flag_spec \ 14234hardcode_libdir_flag_spec_ld \ 14235hardcode_libdir_separator \ 14236exclude_expsyms \ 14237include_expsyms \ 14238file_list_spec \ 14239variables_saved_for_relink \ 14240libname_spec \ 14241library_names_spec \ 14242soname_spec \ 14243install_override_mode \ 14244finish_eval \ 14245old_striplib \ 14246striplib; do 14247 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14248 *[\\\\\\\`\\"\\\$]*) 14249 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 14250 ;; 14251 *) 14252 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14253 ;; 14254 esac 14255done 14256 14257# Double-quote double-evaled strings. 14258for var in reload_cmds \ 14259old_postinstall_cmds \ 14260old_postuninstall_cmds \ 14261old_archive_cmds \ 14262extract_expsyms_cmds \ 14263old_archive_from_new_cmds \ 14264old_archive_from_expsyms_cmds \ 14265archive_cmds \ 14266archive_expsym_cmds \ 14267module_cmds \ 14268module_expsym_cmds \ 14269export_symbols_cmds \ 14270prelink_cmds \ 14271postlink_cmds \ 14272postinstall_cmds \ 14273postuninstall_cmds \ 14274finish_cmds \ 14275sys_lib_search_path_spec \ 14276sys_lib_dlsearch_path_spec; do 14277 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14278 *[\\\\\\\`\\"\\\$]*) 14279 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 14280 ;; 14281 *) 14282 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14283 ;; 14284 esac 14285done 14286 14287ac_aux_dir='$ac_aux_dir' 14288xsi_shell='$xsi_shell' 14289lt_shell_append='$lt_shell_append' 14290 14291# See if we are running on zsh, and set the options which allow our 14292# commands through without removal of \ escapes INIT. 14293if test -n "\${ZSH_VERSION+set}" ; then 14294 setopt NO_GLOB_SUBST 14295fi 14296 14297 14298 PACKAGE='$PACKAGE' 14299 VERSION='$VERSION' 14300 TIMESTAMP='$TIMESTAMP' 14301 RM='$RM' 14302 ofile='$ofile' 14303 14304 14305 14306 14307_ACEOF 14308 14309cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14310 14311# Handling of arguments. 14312for ac_config_target in $ac_config_targets 14313do 14314 case $ac_config_target in 14315 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14316 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14317 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14318 "skeletons/tests/Makefile") CONFIG_FILES="$CONFIG_FILES skeletons/tests/Makefile" ;; 14319 "libasn1compiler/Makefile") CONFIG_FILES="$CONFIG_FILES libasn1compiler/Makefile" ;; 14320 "libasn1parser/Makefile") CONFIG_FILES="$CONFIG_FILES libasn1parser/Makefile" ;; 14321 "libasn1print/Makefile") CONFIG_FILES="$CONFIG_FILES libasn1print/Makefile" ;; 14322 "asn1c/tests/Makefile") CONFIG_FILES="$CONFIG_FILES asn1c/tests/Makefile" ;; 14323 "libasn1fix/Makefile") CONFIG_FILES="$CONFIG_FILES libasn1fix/Makefile" ;; 14324 "doc/docsrc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/docsrc/Makefile" ;; 14325 "skeletons/Makefile") CONFIG_FILES="$CONFIG_FILES skeletons/Makefile" ;; 14326 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 14327 "asn1c/Makefile") CONFIG_FILES="$CONFIG_FILES asn1c/Makefile" ;; 14328 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 14329 "asn1c.spec") CONFIG_FILES="$CONFIG_FILES asn1c.spec" ;; 14330 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14331 14332 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14333 esac 14334done 14335 14336 14337# If the user did not use the arguments to specify the items to instantiate, 14338# then the envvar interface is used. Set only those that are not. 14339# We use the long form for the default assignment because of an extremely 14340# bizarre bug on SunOS 4.1.3. 14341if $ac_need_defaults; then 14342 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14343 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14344 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14345fi 14346 14347# Have a temporary directory for convenience. Make it in the build tree 14348# simply because there is no reason against having it here, and in addition, 14349# creating and moving files from /tmp can sometimes cause problems. 14350# Hook for its removal unless debugging. 14351# Note that there is a small window in which the directory will not be cleaned: 14352# after its creation but before its name has been assigned to `$tmp'. 14353$debug || 14354{ 14355 tmp= ac_tmp= 14356 trap 'exit_status=$? 14357 : "${ac_tmp:=$tmp}" 14358 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 14359' 0 14360 trap 'as_fn_exit 1' 1 2 13 15 14361} 14362# Create a (secure) tmp directory for tmp files. 14363 14364{ 14365 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14366 test -d "$tmp" 14367} || 14368{ 14369 tmp=./conf$$-$RANDOM 14370 (umask 077 && mkdir "$tmp") 14371} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 14372ac_tmp=$tmp 14373 14374# Set up the scripts for CONFIG_FILES section. 14375# No need to generate them if there are no CONFIG_FILES. 14376# This happens for instance with `./config.status config.h'. 14377if test -n "$CONFIG_FILES"; then 14378 14379 14380ac_cr=`echo X | tr X '\015'` 14381# On cygwin, bash can eat \r inside `` if the user requested igncr. 14382# But we know of no other shell where ac_cr would be empty at this 14383# point, so we can use a bashism as a fallback. 14384if test "x$ac_cr" = x; then 14385 eval ac_cr=\$\'\\r\' 14386fi 14387ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14388if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14389 ac_cs_awk_cr='\\r' 14390else 14391 ac_cs_awk_cr=$ac_cr 14392fi 14393 14394echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 14395_ACEOF 14396 14397 14398{ 14399 echo "cat >conf$$subs.awk <<_ACEOF" && 14400 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14401 echo "_ACEOF" 14402} >conf$$subs.sh || 14403 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14404ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 14405ac_delim='%!_!# ' 14406for ac_last_try in false false false false false :; do 14407 . ./conf$$subs.sh || 14408 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14409 14410 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14411 if test $ac_delim_n = $ac_delim_num; then 14412 break 14413 elif $ac_last_try; then 14414 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14415 else 14416 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14417 fi 14418done 14419rm -f conf$$subs.sh 14420 14421cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14422cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14423_ACEOF 14424sed -n ' 14425h 14426s/^/S["/; s/!.*/"]=/ 14427p 14428g 14429s/^[^!]*!// 14430:repl 14431t repl 14432s/'"$ac_delim"'$// 14433t delim 14434:nl 14435h 14436s/\(.\{148\}\)..*/\1/ 14437t more1 14438s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14439p 14440n 14441b repl 14442:more1 14443s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14444p 14445g 14446s/.\{148\}// 14447t nl 14448:delim 14449h 14450s/\(.\{148\}\)..*/\1/ 14451t more2 14452s/["\\]/\\&/g; s/^/"/; s/$/"/ 14453p 14454b 14455:more2 14456s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14457p 14458g 14459s/.\{148\}// 14460t delim 14461' <conf$$subs.awk | sed ' 14462/^[^""]/{ 14463 N 14464 s/\n// 14465} 14466' >>$CONFIG_STATUS || ac_write_fail=1 14467rm -f conf$$subs.awk 14468cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14469_ACAWK 14470cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 14471 for (key in S) S_is_set[key] = 1 14472 FS = "" 14473 14474} 14475{ 14476 line = $ 0 14477 nfields = split(line, field, "@") 14478 substed = 0 14479 len = length(field[1]) 14480 for (i = 2; i < nfields; i++) { 14481 key = field[i] 14482 keylen = length(key) 14483 if (S_is_set[key]) { 14484 value = S[key] 14485 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14486 len += length(value) + length(field[++i]) 14487 substed = 1 14488 } else 14489 len += 1 + keylen 14490 } 14491 14492 print line 14493} 14494 14495_ACAWK 14496_ACEOF 14497cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14498if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14499 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14500else 14501 cat 14502fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 14503 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 14504_ACEOF 14505 14506# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 14507# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14508# trailing colons and then remove the whole line if VPATH becomes empty 14509# (actually we leave an empty line to preserve line numbers). 14510if test "x$srcdir" = x.; then 14511 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 14512h 14513s/// 14514s/^/:/ 14515s/[ ]*$/:/ 14516s/:\$(srcdir):/:/g 14517s/:\${srcdir}:/:/g 14518s/:@srcdir@:/:/g 14519s/^:*// 14520s/:*$// 14521x 14522s/\(=[ ]*\).*/\1/ 14523G 14524s/\n// 14525s/^[^=]*=[ ]*$// 14526}' 14527fi 14528 14529cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14530fi # test -n "$CONFIG_FILES" 14531 14532# Set up the scripts for CONFIG_HEADERS section. 14533# No need to generate them if there are no CONFIG_HEADERS. 14534# This happens for instance with `./config.status Makefile'. 14535if test -n "$CONFIG_HEADERS"; then 14536cat >"$ac_tmp/defines.awk" <<\_ACAWK || 14537BEGIN { 14538_ACEOF 14539 14540# Transform confdefs.h into an awk script `defines.awk', embedded as 14541# here-document in config.status, that substitutes the proper values into 14542# config.h.in to produce config.h. 14543 14544# Create a delimiter string that does not exist in confdefs.h, to ease 14545# handling of long lines. 14546ac_delim='%!_!# ' 14547for ac_last_try in false false :; do 14548 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 14549 if test -z "$ac_tt"; then 14550 break 14551 elif $ac_last_try; then 14552 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14553 else 14554 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14555 fi 14556done 14557 14558# For the awk script, D is an array of macro values keyed by name, 14559# likewise P contains macro parameters if any. Preserve backslash 14560# newline sequences. 14561 14562ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14563sed -n ' 14564s/.\{148\}/&'"$ac_delim"'/g 14565t rset 14566:rset 14567s/^[ ]*#[ ]*define[ ][ ]*/ / 14568t def 14569d 14570:def 14571s/\\$// 14572t bsnl 14573s/["\\]/\\&/g 14574s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14575D["\1"]=" \3"/p 14576s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14577d 14578:bsnl 14579s/["\\]/\\&/g 14580s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14581D["\1"]=" \3\\\\\\n"\\/p 14582t cont 14583s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14584t cont 14585d 14586:cont 14587n 14588s/.\{148\}/&'"$ac_delim"'/g 14589t clear 14590:clear 14591s/\\$// 14592t bsnlc 14593s/["\\]/\\&/g; s/^/"/; s/$/"/p 14594d 14595:bsnlc 14596s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14597b cont 14598' <confdefs.h | sed ' 14599s/'"$ac_delim"'/"\\\ 14600"/g' >>$CONFIG_STATUS || ac_write_fail=1 14601 14602cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14603 for (key in D) D_is_set[key] = 1 14604 FS = "" 14605} 14606/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14607 line = \$ 0 14608 split(line, arg, " ") 14609 if (arg[1] == "#") { 14610 defundef = arg[2] 14611 mac1 = arg[3] 14612 } else { 14613 defundef = substr(arg[1], 2) 14614 mac1 = arg[2] 14615 } 14616 split(mac1, mac2, "(") #) 14617 macro = mac2[1] 14618 prefix = substr(line, 1, index(line, defundef) - 1) 14619 if (D_is_set[macro]) { 14620 # Preserve the white space surrounding the "#". 14621 print prefix "define", macro P[macro] D[macro] 14622 next 14623 } else { 14624 # Replace #undef with comments. This is necessary, for example, 14625 # in the case of _POSIX_SOURCE, which is predefined and required 14626 # on some systems where configure will not decide to define it. 14627 if (defundef == "undef") { 14628 print "/*", prefix defundef, macro, "*/" 14629 next 14630 } 14631 } 14632} 14633{ print } 14634_ACAWK 14635_ACEOF 14636cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14637 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14638fi # test -n "$CONFIG_HEADERS" 14639 14640 14641eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14642shift 14643for ac_tag 14644do 14645 case $ac_tag in 14646 :[FHLC]) ac_mode=$ac_tag; continue;; 14647 esac 14648 case $ac_mode$ac_tag in 14649 :[FHL]*:*);; 14650 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14651 :[FH]-) ac_tag=-:-;; 14652 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14653 esac 14654 ac_save_IFS=$IFS 14655 IFS=: 14656 set x $ac_tag 14657 IFS=$ac_save_IFS 14658 shift 14659 ac_file=$1 14660 shift 14661 14662 case $ac_mode in 14663 :L) ac_source=$1;; 14664 :[FH]) 14665 ac_file_inputs= 14666 for ac_f 14667 do 14668 case $ac_f in 14669 -) ac_f="$ac_tmp/stdin";; 14670 *) # Look for the file first in the build tree, then in the source tree 14671 # (if the path is not absolute). The absolute path cannot be DOS-style, 14672 # because $ac_f cannot contain `:'. 14673 test -f "$ac_f" || 14674 case $ac_f in 14675 [\\/$]*) false;; 14676 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14677 esac || 14678 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14679 esac 14680 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14681 as_fn_append ac_file_inputs " '$ac_f'" 14682 done 14683 14684 # Let's still pretend it is `configure' which instantiates (i.e., don't 14685 # use $as_me), people would be surprised to read: 14686 # /* config.h. Generated by config.status. */ 14687 configure_input='Generated from '` 14688 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14689 `' by configure.' 14690 if test x"$ac_file" != x-; then 14691 configure_input="$ac_file. $configure_input" 14692 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14693$as_echo "$as_me: creating $ac_file" >&6;} 14694 fi 14695 # Neutralize special characters interpreted by sed in replacement strings. 14696 case $configure_input in #( 14697 *\&* | *\|* | *\\* ) 14698 ac_sed_conf_input=`$as_echo "$configure_input" | 14699 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14700 *) ac_sed_conf_input=$configure_input;; 14701 esac 14702 14703 case $ac_tag in 14704 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 14705 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14706 esac 14707 ;; 14708 esac 14709 14710 ac_dir=`$as_dirname -- "$ac_file" || 14711$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14712 X"$ac_file" : 'X\(//\)[^/]' \| \ 14713 X"$ac_file" : 'X\(//\)$' \| \ 14714 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14715$as_echo X"$ac_file" | 14716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14717 s//\1/ 14718 q 14719 } 14720 /^X\(\/\/\)[^/].*/{ 14721 s//\1/ 14722 q 14723 } 14724 /^X\(\/\/\)$/{ 14725 s//\1/ 14726 q 14727 } 14728 /^X\(\/\).*/{ 14729 s//\1/ 14730 q 14731 } 14732 s/.*/./; q'` 14733 as_dir="$ac_dir"; as_fn_mkdir_p 14734 ac_builddir=. 14735 14736case "$ac_dir" in 14737.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14738*) 14739 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14740 # A ".." for each directory in $ac_dir_suffix. 14741 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14742 case $ac_top_builddir_sub in 14743 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14744 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14745 esac ;; 14746esac 14747ac_abs_top_builddir=$ac_pwd 14748ac_abs_builddir=$ac_pwd$ac_dir_suffix 14749# for backward compatibility: 14750ac_top_builddir=$ac_top_build_prefix 14751 14752case $srcdir in 14753 .) # We are building in place. 14754 ac_srcdir=. 14755 ac_top_srcdir=$ac_top_builddir_sub 14756 ac_abs_top_srcdir=$ac_pwd ;; 14757 [\\/]* | ?:[\\/]* ) # Absolute name. 14758 ac_srcdir=$srcdir$ac_dir_suffix; 14759 ac_top_srcdir=$srcdir 14760 ac_abs_top_srcdir=$srcdir ;; 14761 *) # Relative name. 14762 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14763 ac_top_srcdir=$ac_top_build_prefix$srcdir 14764 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14765esac 14766ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14767 14768 14769 case $ac_mode in 14770 :F) 14771 # 14772 # CONFIG_FILE 14773 # 14774 14775 case $INSTALL in 14776 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14777 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14778 esac 14779 ac_MKDIR_P=$MKDIR_P 14780 case $MKDIR_P in 14781 [\\/$]* | ?:[\\/]* ) ;; 14782 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14783 esac 14784_ACEOF 14785 14786cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14787# If the template does not know about datarootdir, expand it. 14788# FIXME: This hack should be removed a few years after 2.60. 14789ac_datarootdir_hack=; ac_datarootdir_seen= 14790ac_sed_dataroot=' 14791/datarootdir/ { 14792 p 14793 q 14794} 14795/@datadir@/p 14796/@docdir@/p 14797/@infodir@/p 14798/@localedir@/p 14799/@mandir@/p' 14800case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14801*datarootdir*) ac_datarootdir_seen=yes;; 14802*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14804$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14805_ACEOF 14806cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14807 ac_datarootdir_hack=' 14808 s&@datadir@&$datadir&g 14809 s&@docdir@&$docdir&g 14810 s&@infodir@&$infodir&g 14811 s&@localedir@&$localedir&g 14812 s&@mandir@&$mandir&g 14813 s&\\\${datarootdir}&$datarootdir&g' ;; 14814esac 14815_ACEOF 14816 14817# Neutralize VPATH when `$srcdir' = `.'. 14818# Shell code in configure.ac might set extrasub. 14819# FIXME: do we really want to maintain this feature? 14820cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14821ac_sed_extra="$ac_vpsub 14822$extrasub 14823_ACEOF 14824cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14825:t 14826/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14827s|@configure_input@|$ac_sed_conf_input|;t t 14828s&@top_builddir@&$ac_top_builddir_sub&;t t 14829s&@top_build_prefix@&$ac_top_build_prefix&;t t 14830s&@srcdir@&$ac_srcdir&;t t 14831s&@abs_srcdir@&$ac_abs_srcdir&;t t 14832s&@top_srcdir@&$ac_top_srcdir&;t t 14833s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14834s&@builddir@&$ac_builddir&;t t 14835s&@abs_builddir@&$ac_abs_builddir&;t t 14836s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14837s&@INSTALL@&$ac_INSTALL&;t t 14838s&@MKDIR_P@&$ac_MKDIR_P&;t t 14839$ac_datarootdir_hack 14840" 14841eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14842 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14843 14844test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14845 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14846 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14847 "$ac_tmp/out"`; test -z "$ac_out"; } && 14848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14849which seems to be undefined. Please make sure it is defined" >&5 14850$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14851which seems to be undefined. Please make sure it is defined" >&2;} 14852 14853 rm -f "$ac_tmp/stdin" 14854 case $ac_file in 14855 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14856 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14857 esac \ 14858 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14859 ;; 14860 :H) 14861 # 14862 # CONFIG_HEADER 14863 # 14864 if test x"$ac_file" != x-; then 14865 { 14866 $as_echo "/* $configure_input */" \ 14867 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14868 } >"$ac_tmp/config.h" \ 14869 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14870 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14871 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14872$as_echo "$as_me: $ac_file is unchanged" >&6;} 14873 else 14874 rm -f "$ac_file" 14875 mv "$ac_tmp/config.h" "$ac_file" \ 14876 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14877 fi 14878 else 14879 $as_echo "/* $configure_input */" \ 14880 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14881 || as_fn_error $? "could not create -" "$LINENO" 5 14882 fi 14883# Compute "$ac_file"'s index in $config_headers. 14884_am_arg="$ac_file" 14885_am_stamp_count=1 14886for _am_header in $config_headers :; do 14887 case $_am_header in 14888 $_am_arg | $_am_arg:* ) 14889 break ;; 14890 * ) 14891 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14892 esac 14893done 14894echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14895$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14896 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14897 X"$_am_arg" : 'X\(//\)$' \| \ 14898 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14899$as_echo X"$_am_arg" | 14900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14901 s//\1/ 14902 q 14903 } 14904 /^X\(\/\/\)[^/].*/{ 14905 s//\1/ 14906 q 14907 } 14908 /^X\(\/\/\)$/{ 14909 s//\1/ 14910 q 14911 } 14912 /^X\(\/\).*/{ 14913 s//\1/ 14914 q 14915 } 14916 s/.*/./; q'`/stamp-h$_am_stamp_count 14917 ;; 14918 14919 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14920$as_echo "$as_me: executing $ac_file commands" >&6;} 14921 ;; 14922 esac 14923 14924 14925 case $ac_file$ac_mode in 14926 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14927 # Autoconf 2.62 quotes --file arguments for eval, but not when files 14928 # are listed without --file. Let's play safe and only enable the eval 14929 # if we detect the quoting. 14930 case $CONFIG_FILES in 14931 *\'*) eval set x "$CONFIG_FILES" ;; 14932 *) set x $CONFIG_FILES ;; 14933 esac 14934 shift 14935 for mf 14936 do 14937 # Strip MF so we end up with the name of the file. 14938 mf=`echo "$mf" | sed -e 's/:.*$//'` 14939 # Check whether this is an Automake generated Makefile or not. 14940 # We used to match only the files named `Makefile.in', but 14941 # some people rename them; so instead we look at the file content. 14942 # Grep'ing the first line is not enough: some people post-process 14943 # each Makefile.in and add a new line on top of each file to say so. 14944 # Grep'ing the whole file is not good either: AIX grep has a line 14945 # limit of 2048, but all sed's we know have understand at least 4000. 14946 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14947 dirpart=`$as_dirname -- "$mf" || 14948$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14949 X"$mf" : 'X\(//\)[^/]' \| \ 14950 X"$mf" : 'X\(//\)$' \| \ 14951 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14952$as_echo X"$mf" | 14953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14954 s//\1/ 14955 q 14956 } 14957 /^X\(\/\/\)[^/].*/{ 14958 s//\1/ 14959 q 14960 } 14961 /^X\(\/\/\)$/{ 14962 s//\1/ 14963 q 14964 } 14965 /^X\(\/\).*/{ 14966 s//\1/ 14967 q 14968 } 14969 s/.*/./; q'` 14970 else 14971 continue 14972 fi 14973 # Extract the definition of DEPDIR, am__include, and am__quote 14974 # from the Makefile without running `make'. 14975 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14976 test -z "$DEPDIR" && continue 14977 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14978 test -z "am__include" && continue 14979 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14980 # When using ansi2knr, U may be empty or an underscore; expand it 14981 U=`sed -n 's/^U = //p' < "$mf"` 14982 # Find all dependency output files, they are included files with 14983 # $(DEPDIR) in their names. We invoke sed twice because it is the 14984 # simplest approach to changing $(DEPDIR) to its actual value in the 14985 # expansion. 14986 for file in `sed -n " 14987 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14988 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 14989 # Make sure the directory exists. 14990 test -f "$dirpart/$file" && continue 14991 fdir=`$as_dirname -- "$file" || 14992$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14993 X"$file" : 'X\(//\)[^/]' \| \ 14994 X"$file" : 'X\(//\)$' \| \ 14995 X"$file" : 'X\(/\)' \| . 2>/dev/null || 14996$as_echo X"$file" | 14997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14998 s//\1/ 14999 q 15000 } 15001 /^X\(\/\/\)[^/].*/{ 15002 s//\1/ 15003 q 15004 } 15005 /^X\(\/\/\)$/{ 15006 s//\1/ 15007 q 15008 } 15009 /^X\(\/\).*/{ 15010 s//\1/ 15011 q 15012 } 15013 s/.*/./; q'` 15014 as_dir=$dirpart/$fdir; as_fn_mkdir_p 15015 # echo "creating $dirpart/$file" 15016 echo '# dummy' > "$dirpart/$file" 15017 done 15018 done 15019} 15020 ;; 15021 "libtool":C) 15022 15023 # See if we are running on zsh, and set the options which allow our 15024 # commands through without removal of \ escapes. 15025 if test -n "${ZSH_VERSION+set}" ; then 15026 setopt NO_GLOB_SUBST 15027 fi 15028 15029 cfgfile="${ofile}T" 15030 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15031 $RM "$cfgfile" 15032 15033 cat <<_LT_EOF >> "$cfgfile" 15034#! $SHELL 15035 15036# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 15037# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 15038# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15039# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15040# 15041# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 15042# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, 15043# Inc. 15044# Written by Gordon Matzigkeit, 1996 15045# 15046# This file is part of GNU Libtool. 15047# 15048# GNU Libtool is free software; you can redistribute it and/or 15049# modify it under the terms of the GNU General Public License as 15050# published by the Free Software Foundation; either version 2 of 15051# the License, or (at your option) any later version. 15052# 15053# As a special exception to the GNU General Public License, 15054# if you distribute this file as part of a program or library that 15055# is built using GNU Libtool, you may include this file under the 15056# same distribution terms that you use for the rest of that program. 15057# 15058# GNU Libtool is distributed in the hope that it will be useful, 15059# but WITHOUT ANY WARRANTY; without even the implied warranty of 15060# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15061# GNU General Public License for more details. 15062# 15063# You should have received a copy of the GNU General Public License 15064# along with GNU Libtool; see the file COPYING. If not, a copy 15065# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 15066# obtained by writing to the Free Software Foundation, Inc., 15067# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 15068 15069 15070# The names of the tagged configurations supported by this script. 15071available_tags="" 15072 15073# ### BEGIN LIBTOOL CONFIG 15074 15075# Which release of libtool.m4 was used? 15076macro_version=$macro_version 15077macro_revision=$macro_revision 15078 15079# Whether or not to build shared libraries. 15080build_libtool_libs=$enable_shared 15081 15082# Whether or not to build static libraries. 15083build_old_libs=$enable_static 15084 15085# What type of objects to build. 15086pic_mode=$pic_mode 15087 15088# Whether or not to optimize for fast installation. 15089fast_install=$enable_fast_install 15090 15091# Shell to use when invoking shell scripts. 15092SHELL=$lt_SHELL 15093 15094# An echo program that protects backslashes. 15095ECHO=$lt_ECHO 15096 15097# The host system. 15098host_alias=$host_alias 15099host=$host 15100host_os=$host_os 15101 15102# The build system. 15103build_alias=$build_alias 15104build=$build 15105build_os=$build_os 15106 15107# A sed program that does not truncate output. 15108SED=$lt_SED 15109 15110# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15111Xsed="\$SED -e 1s/^X//" 15112 15113# A grep program that handles long lines. 15114GREP=$lt_GREP 15115 15116# An ERE matcher. 15117EGREP=$lt_EGREP 15118 15119# A literal string matcher. 15120FGREP=$lt_FGREP 15121 15122# A BSD- or MS-compatible name lister. 15123NM=$lt_NM 15124 15125# Whether we need soft or hard links. 15126LN_S=$lt_LN_S 15127 15128# What is the maximum length of a command? 15129max_cmd_len=$max_cmd_len 15130 15131# Object file suffix (normally "o"). 15132objext=$ac_objext 15133 15134# Executable file suffix (normally ""). 15135exeext=$exeext 15136 15137# whether the shell understands "unset". 15138lt_unset=$lt_unset 15139 15140# turn spaces into newlines. 15141SP2NL=$lt_lt_SP2NL 15142 15143# turn newlines into spaces. 15144NL2SP=$lt_lt_NL2SP 15145 15146# convert \$build file names to \$host format. 15147to_host_file_cmd=$lt_cv_to_host_file_cmd 15148 15149# convert \$build files to toolchain format. 15150to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15151 15152# An object symbol dumper. 15153OBJDUMP=$lt_OBJDUMP 15154 15155# Method to check whether dependent libraries are shared objects. 15156deplibs_check_method=$lt_deplibs_check_method 15157 15158# Command to use when deplibs_check_method = "file_magic". 15159file_magic_cmd=$lt_file_magic_cmd 15160 15161# How to find potential files when deplibs_check_method = "file_magic". 15162file_magic_glob=$lt_file_magic_glob 15163 15164# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 15165want_nocaseglob=$lt_want_nocaseglob 15166 15167# DLL creation program. 15168DLLTOOL=$lt_DLLTOOL 15169 15170# Command to associate shared and link libraries. 15171sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 15172 15173# The archiver. 15174AR=$lt_AR 15175 15176# Flags to create an archive. 15177AR_FLAGS=$lt_AR_FLAGS 15178 15179# How to feed a file listing to the archiver. 15180archiver_list_spec=$lt_archiver_list_spec 15181 15182# A symbol stripping program. 15183STRIP=$lt_STRIP 15184 15185# Commands used to install an old-style archive. 15186RANLIB=$lt_RANLIB 15187old_postinstall_cmds=$lt_old_postinstall_cmds 15188old_postuninstall_cmds=$lt_old_postuninstall_cmds 15189 15190# Whether to use a lock for old archive extraction. 15191lock_old_archive_extraction=$lock_old_archive_extraction 15192 15193# A C compiler. 15194LTCC=$lt_CC 15195 15196# LTCC compiler flags. 15197LTCFLAGS=$lt_CFLAGS 15198 15199# Take the output of nm and produce a listing of raw symbols and C names. 15200global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15201 15202# Transform the output of nm in a proper C declaration. 15203global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15204 15205# Transform the output of nm in a C name address pair. 15206global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15207 15208# Transform the output of nm in a C name address pair when lib prefix is needed. 15209global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15210 15211# Specify filename containing input files for \$NM. 15212nm_file_list_spec=$lt_nm_file_list_spec 15213 15214# The root where to search for dependent libraries,and in which our libraries should be installed. 15215lt_sysroot=$lt_sysroot 15216 15217# The name of the directory that contains temporary libtool files. 15218objdir=$objdir 15219 15220# Used to examine libraries when file_magic_cmd begins with "file". 15221MAGIC_CMD=$MAGIC_CMD 15222 15223# Must we lock files when doing compilation? 15224need_locks=$lt_need_locks 15225 15226# Manifest tool. 15227MANIFEST_TOOL=$lt_MANIFEST_TOOL 15228 15229# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15230DSYMUTIL=$lt_DSYMUTIL 15231 15232# Tool to change global to local symbols on Mac OS X. 15233NMEDIT=$lt_NMEDIT 15234 15235# Tool to manipulate fat objects and archives on Mac OS X. 15236LIPO=$lt_LIPO 15237 15238# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15239OTOOL=$lt_OTOOL 15240 15241# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15242OTOOL64=$lt_OTOOL64 15243 15244# Old archive suffix (normally "a"). 15245libext=$libext 15246 15247# Shared library suffix (normally ".so"). 15248shrext_cmds=$lt_shrext_cmds 15249 15250# The commands to extract the exported symbol list from a shared archive. 15251extract_expsyms_cmds=$lt_extract_expsyms_cmds 15252 15253# Variables whose values should be saved in libtool wrapper scripts and 15254# restored at link time. 15255variables_saved_for_relink=$lt_variables_saved_for_relink 15256 15257# Do we need the "lib" prefix for modules? 15258need_lib_prefix=$need_lib_prefix 15259 15260# Do we need a version for libraries? 15261need_version=$need_version 15262 15263# Library versioning type. 15264version_type=$version_type 15265 15266# Shared library runtime path variable. 15267runpath_var=$runpath_var 15268 15269# Shared library path variable. 15270shlibpath_var=$shlibpath_var 15271 15272# Is shlibpath searched before the hard-coded library search path? 15273shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15274 15275# Format of library name prefix. 15276libname_spec=$lt_libname_spec 15277 15278# List of archive names. First name is the real one, the rest are links. 15279# The last name is the one that the linker finds with -lNAME 15280library_names_spec=$lt_library_names_spec 15281 15282# The coded name of the library, if different from the real name. 15283soname_spec=$lt_soname_spec 15284 15285# Permission mode override for installation of shared libraries. 15286install_override_mode=$lt_install_override_mode 15287 15288# Command to use after installation of a shared archive. 15289postinstall_cmds=$lt_postinstall_cmds 15290 15291# Command to use after uninstallation of a shared archive. 15292postuninstall_cmds=$lt_postuninstall_cmds 15293 15294# Commands used to finish a libtool library installation in a directory. 15295finish_cmds=$lt_finish_cmds 15296 15297# As "finish_cmds", except a single script fragment to be evaled but 15298# not shown. 15299finish_eval=$lt_finish_eval 15300 15301# Whether we should hardcode library paths into libraries. 15302hardcode_into_libs=$hardcode_into_libs 15303 15304# Compile-time system search path for libraries. 15305sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15306 15307# Run-time system search path for libraries. 15308sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 15309 15310# Whether dlopen is supported. 15311dlopen_support=$enable_dlopen 15312 15313# Whether dlopen of programs is supported. 15314dlopen_self=$enable_dlopen_self 15315 15316# Whether dlopen of statically linked programs is supported. 15317dlopen_self_static=$enable_dlopen_self_static 15318 15319# Commands to strip libraries. 15320old_striplib=$lt_old_striplib 15321striplib=$lt_striplib 15322 15323 15324# The linker used to build libraries. 15325LD=$lt_LD 15326 15327# How to create reloadable object files. 15328reload_flag=$lt_reload_flag 15329reload_cmds=$lt_reload_cmds 15330 15331# Commands used to build an old-style archive. 15332old_archive_cmds=$lt_old_archive_cmds 15333 15334# A language specific compiler. 15335CC=$lt_compiler 15336 15337# Is the compiler the GNU compiler? 15338with_gcc=$GCC 15339 15340# Compiler flag to turn off builtin functions. 15341no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15342 15343# Additional compiler flags for building library objects. 15344pic_flag=$lt_lt_prog_compiler_pic 15345 15346# How to pass a linker flag through the compiler. 15347wl=$lt_lt_prog_compiler_wl 15348 15349# Compiler flag to prevent dynamic linking. 15350link_static_flag=$lt_lt_prog_compiler_static 15351 15352# Does compiler simultaneously support -c and -o options? 15353compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15354 15355# Whether or not to add -lc for building shared libraries. 15356build_libtool_need_lc=$archive_cmds_need_lc 15357 15358# Whether or not to disallow shared libs when runtime libs are static. 15359allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15360 15361# Compiler flag to allow reflexive dlopens. 15362export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15363 15364# Compiler flag to generate shared objects directly from archives. 15365whole_archive_flag_spec=$lt_whole_archive_flag_spec 15366 15367# Whether the compiler copes with passing no objects directly. 15368compiler_needs_object=$lt_compiler_needs_object 15369 15370# Create an old-style archive from a shared archive. 15371old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15372 15373# Create a temporary old-style archive to link instead of a shared archive. 15374old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15375 15376# Commands used to build a shared archive. 15377archive_cmds=$lt_archive_cmds 15378archive_expsym_cmds=$lt_archive_expsym_cmds 15379 15380# Commands used to build a loadable module if different from building 15381# a shared archive. 15382module_cmds=$lt_module_cmds 15383module_expsym_cmds=$lt_module_expsym_cmds 15384 15385# Whether we are building with GNU ld or not. 15386with_gnu_ld=$lt_with_gnu_ld 15387 15388# Flag that allows shared libraries with undefined symbols to be built. 15389allow_undefined_flag=$lt_allow_undefined_flag 15390 15391# Flag that enforces no undefined symbols. 15392no_undefined_flag=$lt_no_undefined_flag 15393 15394# Flag to hardcode \$libdir into a binary during linking. 15395# This must work even if \$libdir does not exist 15396hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15397 15398# If ld is used when linking, flag to hardcode \$libdir into a binary 15399# during linking. This must work even if \$libdir does not exist. 15400hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 15401 15402# Whether we need a single "-rpath" flag with a separated argument. 15403hardcode_libdir_separator=$lt_hardcode_libdir_separator 15404 15405# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15406# DIR into the resulting binary. 15407hardcode_direct=$hardcode_direct 15408 15409# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15410# DIR into the resulting binary and the resulting library dependency is 15411# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 15412# library is relocated. 15413hardcode_direct_absolute=$hardcode_direct_absolute 15414 15415# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15416# into the resulting binary. 15417hardcode_minus_L=$hardcode_minus_L 15418 15419# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15420# into the resulting binary. 15421hardcode_shlibpath_var=$hardcode_shlibpath_var 15422 15423# Set to "yes" if building a shared library automatically hardcodes DIR 15424# into the library and all subsequent libraries and executables linked 15425# against it. 15426hardcode_automatic=$hardcode_automatic 15427 15428# Set to yes if linker adds runtime paths of dependent libraries 15429# to runtime path list. 15430inherit_rpath=$inherit_rpath 15431 15432# Whether libtool must link a program against all its dependency libraries. 15433link_all_deplibs=$link_all_deplibs 15434 15435# Set to "yes" if exported symbols are required. 15436always_export_symbols=$always_export_symbols 15437 15438# The commands to list exported symbols. 15439export_symbols_cmds=$lt_export_symbols_cmds 15440 15441# Symbols that should not be listed in the preloaded symbols. 15442exclude_expsyms=$lt_exclude_expsyms 15443 15444# Symbols that must always be exported. 15445include_expsyms=$lt_include_expsyms 15446 15447# Commands necessary for linking programs (against libraries) with templates. 15448prelink_cmds=$lt_prelink_cmds 15449 15450# Commands necessary for finishing linking programs. 15451postlink_cmds=$lt_postlink_cmds 15452 15453# Specify filename containing input files. 15454file_list_spec=$lt_file_list_spec 15455 15456# How to hardcode a shared library path into an executable. 15457hardcode_action=$hardcode_action 15458 15459# ### END LIBTOOL CONFIG 15460 15461_LT_EOF 15462 15463 case $host_os in 15464 aix3*) 15465 cat <<\_LT_EOF >> "$cfgfile" 15466# AIX sometimes has problems with the GCC collect2 program. For some 15467# reason, if we set the COLLECT_NAMES environment variable, the problems 15468# vanish in a puff of smoke. 15469if test "X${COLLECT_NAMES+set}" != Xset; then 15470 COLLECT_NAMES= 15471 export COLLECT_NAMES 15472fi 15473_LT_EOF 15474 ;; 15475 esac 15476 15477 15478ltmain="$ac_aux_dir/ltmain.sh" 15479 15480 15481 # We use sed instead of cat because bash on DJGPP gets confused if 15482 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15483 # text mode, it properly converts lines to CR/LF. This bash problem 15484 # is reportedly fixed, but why not run on old versions too? 15485 sed '$q' "$ltmain" >> "$cfgfile" \ 15486 || (rm -f "$cfgfile"; exit 1) 15487 15488 if test x"$xsi_shell" = xyes; then 15489 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 15490func_dirname ()\ 15491{\ 15492\ case ${1} in\ 15493\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15494\ * ) func_dirname_result="${3}" ;;\ 15495\ esac\ 15496} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 15497 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15498 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15499test 0 -eq $? || _lt_function_replace_fail=: 15500 15501 15502 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 15503func_basename ()\ 15504{\ 15505\ func_basename_result="${1##*/}"\ 15506} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15507 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15508 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15509test 0 -eq $? || _lt_function_replace_fail=: 15510 15511 15512 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 15513func_dirname_and_basename ()\ 15514{\ 15515\ case ${1} in\ 15516\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15517\ * ) func_dirname_result="${3}" ;;\ 15518\ esac\ 15519\ func_basename_result="${1##*/}"\ 15520} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15521 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15522 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15523test 0 -eq $? || _lt_function_replace_fail=: 15524 15525 15526 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 15527func_stripname ()\ 15528{\ 15529\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 15530\ # positional parameters, so assign one to ordinary parameter first.\ 15531\ func_stripname_result=${3}\ 15532\ func_stripname_result=${func_stripname_result#"${1}"}\ 15533\ func_stripname_result=${func_stripname_result%"${2}"}\ 15534} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 15535 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15536 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15537test 0 -eq $? || _lt_function_replace_fail=: 15538 15539 15540 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 15541func_split_long_opt ()\ 15542{\ 15543\ func_split_long_opt_name=${1%%=*}\ 15544\ func_split_long_opt_arg=${1#*=}\ 15545} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15546 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15547 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15548test 0 -eq $? || _lt_function_replace_fail=: 15549 15550 15551 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 15552func_split_short_opt ()\ 15553{\ 15554\ func_split_short_opt_arg=${1#??}\ 15555\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 15556} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15557 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15558 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15559test 0 -eq $? || _lt_function_replace_fail=: 15560 15561 15562 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 15563func_lo2o ()\ 15564{\ 15565\ case ${1} in\ 15566\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 15567\ *) func_lo2o_result=${1} ;;\ 15568\ esac\ 15569} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 15570 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15571 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15572test 0 -eq $? || _lt_function_replace_fail=: 15573 15574 15575 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 15576func_xform ()\ 15577{\ 15578 func_xform_result=${1%.*}.lo\ 15579} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 15580 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15581 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15582test 0 -eq $? || _lt_function_replace_fail=: 15583 15584 15585 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 15586func_arith ()\ 15587{\ 15588 func_arith_result=$(( $* ))\ 15589} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 15590 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15591 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15592test 0 -eq $? || _lt_function_replace_fail=: 15593 15594 15595 sed -e '/^func_len ()$/,/^} # func_len /c\ 15596func_len ()\ 15597{\ 15598 func_len_result=${#1}\ 15599} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 15600 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15601 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15602test 0 -eq $? || _lt_function_replace_fail=: 15603 15604fi 15605 15606if test x"$lt_shell_append" = xyes; then 15607 sed -e '/^func_append ()$/,/^} # func_append /c\ 15608func_append ()\ 15609{\ 15610 eval "${1}+=\\${2}"\ 15611} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 15612 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15613 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15614test 0 -eq $? || _lt_function_replace_fail=: 15615 15616 15617 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 15618func_append_quoted ()\ 15619{\ 15620\ func_quote_for_eval "${2}"\ 15621\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 15622} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 15623 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15624 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15625test 0 -eq $? || _lt_function_replace_fail=: 15626 15627 15628 # Save a `func_append' function call where possible by direct use of '+=' 15629 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 15630 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15631 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15632 test 0 -eq $? || _lt_function_replace_fail=: 15633else 15634 # Save a `func_append' function call even when '+=' is not available 15635 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 15636 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15637 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15638 test 0 -eq $? || _lt_function_replace_fail=: 15639fi 15640 15641if test x"$_lt_function_replace_fail" = x":"; then 15642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 15643$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 15644fi 15645 15646 15647 mv -f "$cfgfile" "$ofile" || 15648 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15649 chmod +x "$ofile" 15650 15651 ;; 15652 15653 esac 15654done # for ac_tag 15655 15656 15657as_fn_exit 0 15658_ACEOF 15659ac_clean_files=$ac_clean_files_save 15660 15661test $ac_write_fail = 0 || 15662 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 15663 15664 15665# configure is writing to config.log, and then calls config.status. 15666# config.status does its own redirection, appending to config.log. 15667# Unfortunately, on DOS this fails, as config.log is still kept open 15668# by configure, so config.status won't be able to write to it; its 15669# output is simply discarded. So we exec the FD to /dev/null, 15670# effectively closing config.log, so it can be properly (re)opened and 15671# appended to by config.status. When coming back to configure, we 15672# need to make the FD available again. 15673if test "$no_create" != yes; then 15674 ac_cs_success=: 15675 ac_config_status_args= 15676 test "$silent" = yes && 15677 ac_config_status_args="$ac_config_status_args --quiet" 15678 exec 5>/dev/null 15679 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15680 exec 5>>config.log 15681 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15682 # would make configure fail if this is the last instruction. 15683 $ac_cs_success || as_fn_exit 1 15684fi 15685if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15687$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15688fi 15689 15690 15691