1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for rgxg 0.1.2. 4# 5# Report bugs to <https://github.com/rgxg/rgxg/issues>. 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 278$0: https://github.com/rgxg/rgxg/issues about your system, 279$0: including any error possibly output before this 280$0: message. Then install a modern shell, or manually run 281$0: the script under such a shell if you do 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='rgxg' 592PACKAGE_TARNAME='rgxg' 593PACKAGE_VERSION='0.1.2' 594PACKAGE_STRING='rgxg 0.1.2' 595PACKAGE_BUGREPORT='https://github.com/rgxg/rgxg/issues' 596PACKAGE_URL='rgxg.github.io' 597 598ac_unique_file="src/main.c" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIBOBJS 639HAVE_CHECK_FALSE 640HAVE_CHECK_TRUE 641CHECK_LIBS 642CHECK_CFLAGS 643PKG_CONFIG_LIBDIR 644PKG_CONFIG_PATH 645PKG_CONFIG 646CPP 647LT_SYS_LIBRARY_PATH 648OTOOL64 649OTOOL 650LIPO 651NMEDIT 652DSYMUTIL 653MANIFEST_TOOL 654RANLIB 655DLLTOOL 656OBJDUMP 657NM 658ac_ct_DUMPBIN 659DUMPBIN 660LD 661FGREP 662EGREP 663GREP 664SED 665host_os 666host_vendor 667host_cpu 668host 669build_os 670build_vendor 671build_cpu 672build 673LIBTOOL 674LN_S 675ac_ct_AR 676AR 677am__fastdepCC_FALSE 678am__fastdepCC_TRUE 679CCDEPMODE 680am__nodep 681AMDEPBACKSLASH 682AMDEP_FALSE 683AMDEP_TRUE 684am__include 685DEPDIR 686OBJEXT 687EXEEXT 688ac_ct_CC 689CPPFLAGS 690LDFLAGS 691CFLAGS 692CC 693AM_BACKSLASH 694AM_DEFAULT_VERBOSITY 695AM_DEFAULT_V 696AM_V 697am__untar 698am__tar 699AMTAR 700am__leading_dot 701SET_MAKE 702AWK 703mkdir_p 704MKDIR_P 705INSTALL_STRIP_PROGRAM 706STRIP 707install_sh 708MAKEINFO 709AUTOHEADER 710AUTOMAKE 711AUTOCONF 712ACLOCAL 713VERSION 714PACKAGE 715CYGPATH_W 716am__isrc 717INSTALL_DATA 718INSTALL_SCRIPT 719INSTALL_PROGRAM 720LIB_AGE 721LIB_REVISION 722LIB_CURRENT 723target_alias 724host_alias 725build_alias 726LIBS 727ECHO_T 728ECHO_N 729ECHO_C 730DEFS 731mandir 732localedir 733libdir 734psdir 735pdfdir 736dvidir 737htmldir 738infodir 739docdir 740oldincludedir 741includedir 742runstatedir 743localstatedir 744sharedstatedir 745sysconfdir 746datadir 747datarootdir 748libexecdir 749sbindir 750bindir 751program_transform_name 752prefix 753exec_prefix 754PACKAGE_URL 755PACKAGE_BUGREPORT 756PACKAGE_STRING 757PACKAGE_VERSION 758PACKAGE_TARNAME 759PACKAGE_NAME 760PATH_SEPARATOR 761SHELL 762am__quote' 763ac_subst_files='' 764ac_user_opts=' 765enable_option_checking 766enable_silent_rules 767enable_dependency_tracking 768enable_shared 769enable_static 770with_pic 771enable_fast_install 772with_aix_soname 773with_gnu_ld 774with_sysroot 775enable_libtool_lock 776' 777 ac_precious_vars='build_alias 778host_alias 779target_alias 780CC 781CFLAGS 782LDFLAGS 783LIBS 784CPPFLAGS 785LT_SYS_LIBRARY_PATH 786CPP 787PKG_CONFIG 788PKG_CONFIG_PATH 789PKG_CONFIG_LIBDIR 790CHECK_CFLAGS 791CHECK_LIBS' 792 793 794# Initialize some variables set by options. 795ac_init_help= 796ac_init_version=false 797ac_unrecognized_opts= 798ac_unrecognized_sep= 799# The variables have the same names as the options, with 800# dashes changed to underlines. 801cache_file=/dev/null 802exec_prefix=NONE 803no_create= 804no_recursion= 805prefix=NONE 806program_prefix=NONE 807program_suffix=NONE 808program_transform_name=s,x,x, 809silent= 810site= 811srcdir= 812verbose= 813x_includes=NONE 814x_libraries=NONE 815 816# Installation directory options. 817# These are left unexpanded so users can "make install exec_prefix=/foo" 818# and all the variables that are supposed to be based on exec_prefix 819# by default will actually change. 820# Use braces instead of parens because sh, perl, etc. also accept them. 821# (The list follows the same order as the GNU Coding Standards.) 822bindir='${exec_prefix}/bin' 823sbindir='${exec_prefix}/sbin' 824libexecdir='${exec_prefix}/libexec' 825datarootdir='${prefix}/share' 826datadir='${datarootdir}' 827sysconfdir='${prefix}/etc' 828sharedstatedir='${prefix}/com' 829localstatedir='${prefix}/var' 830runstatedir='${localstatedir}/run' 831includedir='${prefix}/include' 832oldincludedir='/usr/include' 833docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 834infodir='${datarootdir}/info' 835htmldir='${docdir}' 836dvidir='${docdir}' 837pdfdir='${docdir}' 838psdir='${docdir}' 839libdir='${exec_prefix}/lib' 840localedir='${datarootdir}/locale' 841mandir='${datarootdir}/man' 842 843ac_prev= 844ac_dashdash= 845for ac_option 846do 847 # If the previous option needs an argument, assign it. 848 if test -n "$ac_prev"; then 849 eval $ac_prev=\$ac_option 850 ac_prev= 851 continue 852 fi 853 854 case $ac_option in 855 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 856 *=) ac_optarg= ;; 857 *) ac_optarg=yes ;; 858 esac 859 860 # Accept the important Cygnus configure options, so we can diagnose typos. 861 862 case $ac_dashdash$ac_option in 863 --) 864 ac_dashdash=yes ;; 865 866 -bindir | --bindir | --bindi | --bind | --bin | --bi) 867 ac_prev=bindir ;; 868 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 869 bindir=$ac_optarg ;; 870 871 -build | --build | --buil | --bui | --bu) 872 ac_prev=build_alias ;; 873 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 874 build_alias=$ac_optarg ;; 875 876 -cache-file | --cache-file | --cache-fil | --cache-fi \ 877 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 878 ac_prev=cache_file ;; 879 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 880 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 881 cache_file=$ac_optarg ;; 882 883 --config-cache | -C) 884 cache_file=config.cache ;; 885 886 -datadir | --datadir | --datadi | --datad) 887 ac_prev=datadir ;; 888 -datadir=* | --datadir=* | --datadi=* | --datad=*) 889 datadir=$ac_optarg ;; 890 891 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 892 | --dataroo | --dataro | --datar) 893 ac_prev=datarootdir ;; 894 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 895 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 896 datarootdir=$ac_optarg ;; 897 898 -disable-* | --disable-*) 899 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 900 # Reject names that are not valid shell variable names. 901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 902 as_fn_error $? "invalid feature name: $ac_useropt" 903 ac_useropt_orig=$ac_useropt 904 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 905 case $ac_user_opts in 906 *" 907"enable_$ac_useropt" 908"*) ;; 909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 910 ac_unrecognized_sep=', ';; 911 esac 912 eval enable_$ac_useropt=no ;; 913 914 -docdir | --docdir | --docdi | --doc | --do) 915 ac_prev=docdir ;; 916 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 917 docdir=$ac_optarg ;; 918 919 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 920 ac_prev=dvidir ;; 921 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 922 dvidir=$ac_optarg ;; 923 924 -enable-* | --enable-*) 925 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 926 # Reject names that are not valid shell variable names. 927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 928 as_fn_error $? "invalid feature name: $ac_useropt" 929 ac_useropt_orig=$ac_useropt 930 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 931 case $ac_user_opts in 932 *" 933"enable_$ac_useropt" 934"*) ;; 935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 936 ac_unrecognized_sep=', ';; 937 esac 938 eval enable_$ac_useropt=\$ac_optarg ;; 939 940 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 941 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 942 | --exec | --exe | --ex) 943 ac_prev=exec_prefix ;; 944 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 945 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 946 | --exec=* | --exe=* | --ex=*) 947 exec_prefix=$ac_optarg ;; 948 949 -gas | --gas | --ga | --g) 950 # Obsolete; use --with-gas. 951 with_gas=yes ;; 952 953 -help | --help | --hel | --he | -h) 954 ac_init_help=long ;; 955 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 956 ac_init_help=recursive ;; 957 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 958 ac_init_help=short ;; 959 960 -host | --host | --hos | --ho) 961 ac_prev=host_alias ;; 962 -host=* | --host=* | --hos=* | --ho=*) 963 host_alias=$ac_optarg ;; 964 965 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 966 ac_prev=htmldir ;; 967 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 968 | --ht=*) 969 htmldir=$ac_optarg ;; 970 971 -includedir | --includedir | --includedi | --included | --include \ 972 | --includ | --inclu | --incl | --inc) 973 ac_prev=includedir ;; 974 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 975 | --includ=* | --inclu=* | --incl=* | --inc=*) 976 includedir=$ac_optarg ;; 977 978 -infodir | --infodir | --infodi | --infod | --info | --inf) 979 ac_prev=infodir ;; 980 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 981 infodir=$ac_optarg ;; 982 983 -libdir | --libdir | --libdi | --libd) 984 ac_prev=libdir ;; 985 -libdir=* | --libdir=* | --libdi=* | --libd=*) 986 libdir=$ac_optarg ;; 987 988 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 989 | --libexe | --libex | --libe) 990 ac_prev=libexecdir ;; 991 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 992 | --libexe=* | --libex=* | --libe=*) 993 libexecdir=$ac_optarg ;; 994 995 -localedir | --localedir | --localedi | --localed | --locale) 996 ac_prev=localedir ;; 997 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 998 localedir=$ac_optarg ;; 999 1000 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1001 | --localstate | --localstat | --localsta | --localst | --locals) 1002 ac_prev=localstatedir ;; 1003 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1004 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1005 localstatedir=$ac_optarg ;; 1006 1007 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1008 ac_prev=mandir ;; 1009 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1010 mandir=$ac_optarg ;; 1011 1012 -nfp | --nfp | --nf) 1013 # Obsolete; use --without-fp. 1014 with_fp=no ;; 1015 1016 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1017 | --no-cr | --no-c | -n) 1018 no_create=yes ;; 1019 1020 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1021 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1022 no_recursion=yes ;; 1023 1024 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1025 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1026 | --oldin | --oldi | --old | --ol | --o) 1027 ac_prev=oldincludedir ;; 1028 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1029 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1030 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1031 oldincludedir=$ac_optarg ;; 1032 1033 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1034 ac_prev=prefix ;; 1035 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1036 prefix=$ac_optarg ;; 1037 1038 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1039 | --program-pre | --program-pr | --program-p) 1040 ac_prev=program_prefix ;; 1041 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1042 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1043 program_prefix=$ac_optarg ;; 1044 1045 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1046 | --program-suf | --program-su | --program-s) 1047 ac_prev=program_suffix ;; 1048 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1049 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1050 program_suffix=$ac_optarg ;; 1051 1052 -program-transform-name | --program-transform-name \ 1053 | --program-transform-nam | --program-transform-na \ 1054 | --program-transform-n | --program-transform- \ 1055 | --program-transform | --program-transfor \ 1056 | --program-transfo | --program-transf \ 1057 | --program-trans | --program-tran \ 1058 | --progr-tra | --program-tr | --program-t) 1059 ac_prev=program_transform_name ;; 1060 -program-transform-name=* | --program-transform-name=* \ 1061 | --program-transform-nam=* | --program-transform-na=* \ 1062 | --program-transform-n=* | --program-transform-=* \ 1063 | --program-transform=* | --program-transfor=* \ 1064 | --program-transfo=* | --program-transf=* \ 1065 | --program-trans=* | --program-tran=* \ 1066 | --progr-tra=* | --program-tr=* | --program-t=*) 1067 program_transform_name=$ac_optarg ;; 1068 1069 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1070 ac_prev=pdfdir ;; 1071 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1072 pdfdir=$ac_optarg ;; 1073 1074 -psdir | --psdir | --psdi | --psd | --ps) 1075 ac_prev=psdir ;; 1076 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1077 psdir=$ac_optarg ;; 1078 1079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1080 | -silent | --silent | --silen | --sile | --sil) 1081 silent=yes ;; 1082 1083 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1084 | --runstate | --runstat | --runsta | --runst | --runs \ 1085 | --run | --ru | --r) 1086 ac_prev=runstatedir ;; 1087 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1088 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1089 | --run=* | --ru=* | --r=*) 1090 runstatedir=$ac_optarg ;; 1091 1092 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1093 ac_prev=sbindir ;; 1094 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1095 | --sbi=* | --sb=*) 1096 sbindir=$ac_optarg ;; 1097 1098 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1099 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1100 | --sharedst | --shareds | --shared | --share | --shar \ 1101 | --sha | --sh) 1102 ac_prev=sharedstatedir ;; 1103 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1104 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1105 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1106 | --sha=* | --sh=*) 1107 sharedstatedir=$ac_optarg ;; 1108 1109 -site | --site | --sit) 1110 ac_prev=site ;; 1111 -site=* | --site=* | --sit=*) 1112 site=$ac_optarg ;; 1113 1114 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1115 ac_prev=srcdir ;; 1116 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1117 srcdir=$ac_optarg ;; 1118 1119 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1120 | --syscon | --sysco | --sysc | --sys | --sy) 1121 ac_prev=sysconfdir ;; 1122 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1123 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1124 sysconfdir=$ac_optarg ;; 1125 1126 -target | --target | --targe | --targ | --tar | --ta | --t) 1127 ac_prev=target_alias ;; 1128 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1129 target_alias=$ac_optarg ;; 1130 1131 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1132 verbose=yes ;; 1133 1134 -version | --version | --versio | --versi | --vers | -V) 1135 ac_init_version=: ;; 1136 1137 -with-* | --with-*) 1138 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1139 # Reject names that are not valid shell variable names. 1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1141 as_fn_error $? "invalid package name: $ac_useropt" 1142 ac_useropt_orig=$ac_useropt 1143 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1144 case $ac_user_opts in 1145 *" 1146"with_$ac_useropt" 1147"*) ;; 1148 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1149 ac_unrecognized_sep=', ';; 1150 esac 1151 eval with_$ac_useropt=\$ac_optarg ;; 1152 1153 -without-* | --without-*) 1154 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1155 # Reject names that are not valid shell variable names. 1156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1157 as_fn_error $? "invalid package name: $ac_useropt" 1158 ac_useropt_orig=$ac_useropt 1159 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1160 case $ac_user_opts in 1161 *" 1162"with_$ac_useropt" 1163"*) ;; 1164 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1165 ac_unrecognized_sep=', ';; 1166 esac 1167 eval with_$ac_useropt=no ;; 1168 1169 --x) 1170 # Obsolete; use --with-x. 1171 with_x=yes ;; 1172 1173 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1174 | --x-incl | --x-inc | --x-in | --x-i) 1175 ac_prev=x_includes ;; 1176 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1177 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1178 x_includes=$ac_optarg ;; 1179 1180 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1181 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1182 ac_prev=x_libraries ;; 1183 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1184 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1185 x_libraries=$ac_optarg ;; 1186 1187 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1188Try \`$0 --help' for more information" 1189 ;; 1190 1191 *=*) 1192 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1193 # Reject names that are not valid shell variable names. 1194 case $ac_envvar in #( 1195 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1196 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1197 esac 1198 eval $ac_envvar=\$ac_optarg 1199 export $ac_envvar ;; 1200 1201 *) 1202 # FIXME: should be removed in autoconf 3.0. 1203 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1204 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1205 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1206 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1207 ;; 1208 1209 esac 1210done 1211 1212if test -n "$ac_prev"; then 1213 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1214 as_fn_error $? "missing argument to $ac_option" 1215fi 1216 1217if test -n "$ac_unrecognized_opts"; then 1218 case $enable_option_checking in 1219 no) ;; 1220 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1221 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1222 esac 1223fi 1224 1225# Check all directory arguments for consistency. 1226for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1227 datadir sysconfdir sharedstatedir localstatedir includedir \ 1228 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1229 libdir localedir mandir runstatedir 1230do 1231 eval ac_val=\$$ac_var 1232 # Remove trailing slashes. 1233 case $ac_val in 1234 */ ) 1235 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1236 eval $ac_var=\$ac_val;; 1237 esac 1238 # Be sure to have absolute directory names. 1239 case $ac_val in 1240 [\\/$]* | ?:[\\/]* ) continue;; 1241 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1242 esac 1243 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1244done 1245 1246# There might be people who depend on the old broken behavior: `$host' 1247# used to hold the argument of --host etc. 1248# FIXME: To remove some day. 1249build=$build_alias 1250host=$host_alias 1251target=$target_alias 1252 1253# FIXME: To remove some day. 1254if test "x$host_alias" != x; then 1255 if test "x$build_alias" = x; then 1256 cross_compiling=maybe 1257 elif test "x$build_alias" != "x$host_alias"; then 1258 cross_compiling=yes 1259 fi 1260fi 1261 1262ac_tool_prefix= 1263test -n "$host_alias" && ac_tool_prefix=$host_alias- 1264 1265test "$silent" = yes && exec 6>/dev/null 1266 1267 1268ac_pwd=`pwd` && test -n "$ac_pwd" && 1269ac_ls_di=`ls -di .` && 1270ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1271 as_fn_error $? "working directory cannot be determined" 1272test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1273 as_fn_error $? "pwd does not report name of working directory" 1274 1275 1276# Find the source files, if location was not specified. 1277if test -z "$srcdir"; then 1278 ac_srcdir_defaulted=yes 1279 # Try the directory containing this script, then the parent directory. 1280 ac_confdir=`$as_dirname -- "$as_myself" || 1281$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1282 X"$as_myself" : 'X\(//\)[^/]' \| \ 1283 X"$as_myself" : 'X\(//\)$' \| \ 1284 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1285$as_echo X"$as_myself" | 1286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1287 s//\1/ 1288 q 1289 } 1290 /^X\(\/\/\)[^/].*/{ 1291 s//\1/ 1292 q 1293 } 1294 /^X\(\/\/\)$/{ 1295 s//\1/ 1296 q 1297 } 1298 /^X\(\/\).*/{ 1299 s//\1/ 1300 q 1301 } 1302 s/.*/./; q'` 1303 srcdir=$ac_confdir 1304 if test ! -r "$srcdir/$ac_unique_file"; then 1305 srcdir=.. 1306 fi 1307else 1308 ac_srcdir_defaulted=no 1309fi 1310if test ! -r "$srcdir/$ac_unique_file"; then 1311 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1312 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1313fi 1314ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1315ac_abs_confdir=`( 1316 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1317 pwd)` 1318# When building in place, set srcdir=. 1319if test "$ac_abs_confdir" = "$ac_pwd"; then 1320 srcdir=. 1321fi 1322# Remove unnecessary trailing slashes from srcdir. 1323# Double slashes in file names in object file debugging info 1324# mess up M-x gdb in Emacs. 1325case $srcdir in 1326*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1327esac 1328for ac_var in $ac_precious_vars; do 1329 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1330 eval ac_env_${ac_var}_value=\$${ac_var} 1331 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1332 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1333done 1334 1335# 1336# Report the --help message. 1337# 1338if test "$ac_init_help" = "long"; then 1339 # Omit some internal or obsolete options to make the list less imposing. 1340 # This message is too long to be a string in the A/UX 3.1 sh. 1341 cat <<_ACEOF 1342\`configure' configures rgxg 0.1.2 to adapt to many kinds of systems. 1343 1344Usage: $0 [OPTION]... [VAR=VALUE]... 1345 1346To assign environment variables (e.g., CC, CFLAGS...), specify them as 1347VAR=VALUE. See below for descriptions of some of the useful variables. 1348 1349Defaults for the options are specified in brackets. 1350 1351Configuration: 1352 -h, --help display this help and exit 1353 --help=short display options specific to this package 1354 --help=recursive display the short help of all the included packages 1355 -V, --version display version information and exit 1356 -q, --quiet, --silent do not print \`checking ...' messages 1357 --cache-file=FILE cache test results in FILE [disabled] 1358 -C, --config-cache alias for \`--cache-file=config.cache' 1359 -n, --no-create do not create output files 1360 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1361 1362Installation directories: 1363 --prefix=PREFIX install architecture-independent files in PREFIX 1364 [$ac_default_prefix] 1365 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1366 [PREFIX] 1367 1368By default, \`make install' will install all the files in 1369\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1370an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1371for instance \`--prefix=\$HOME'. 1372 1373For better control, use the options below. 1374 1375Fine tuning of the installation directories: 1376 --bindir=DIR user executables [EPREFIX/bin] 1377 --sbindir=DIR system admin executables [EPREFIX/sbin] 1378 --libexecdir=DIR program executables [EPREFIX/libexec] 1379 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1380 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1381 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1382 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1383 --libdir=DIR object code libraries [EPREFIX/lib] 1384 --includedir=DIR C header files [PREFIX/include] 1385 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1386 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1387 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1388 --infodir=DIR info documentation [DATAROOTDIR/info] 1389 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1390 --mandir=DIR man documentation [DATAROOTDIR/man] 1391 --docdir=DIR documentation root [DATAROOTDIR/doc/rgxg] 1392 --htmldir=DIR html documentation [DOCDIR] 1393 --dvidir=DIR dvi documentation [DOCDIR] 1394 --pdfdir=DIR pdf documentation [DOCDIR] 1395 --psdir=DIR ps documentation [DOCDIR] 1396_ACEOF 1397 1398 cat <<\_ACEOF 1399 1400Program names: 1401 --program-prefix=PREFIX prepend PREFIX to installed program names 1402 --program-suffix=SUFFIX append SUFFIX to installed program names 1403 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1404 1405System types: 1406 --build=BUILD configure for building on BUILD [guessed] 1407 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1408_ACEOF 1409fi 1410 1411if test -n "$ac_init_help"; then 1412 case $ac_init_help in 1413 short | recursive ) echo "Configuration of rgxg 0.1.2:";; 1414 esac 1415 cat <<\_ACEOF 1416 1417Optional Features: 1418 --disable-option-checking ignore unrecognized --enable/--with options 1419 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1420 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1421 --enable-silent-rules less verbose build output (undo: "make V=1") 1422 --disable-silent-rules verbose build output (undo: "make V=0") 1423 --enable-dependency-tracking 1424 do not reject slow dependency extractors 1425 --disable-dependency-tracking 1426 speeds up one-time build 1427 --enable-shared[=PKGS] build shared libraries [default=yes] 1428 --enable-static[=PKGS] build static libraries [default=yes] 1429 --enable-fast-install[=PKGS] 1430 optimize for fast installation [default=yes] 1431 --disable-libtool-lock avoid locking (might break parallel builds) 1432 1433Optional Packages: 1434 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1435 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1436 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1437 both] 1438 --with-aix-soname=aix|svr4|both 1439 shared library versioning (aka "SONAME") variant to 1440 provide on AIX, [default=aix]. 1441 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1442 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1443 compiler's sysroot if not specified). 1444 1445Some influential environment variables: 1446 CC C compiler command 1447 CFLAGS C compiler flags 1448 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1449 nonstandard directory <lib dir> 1450 LIBS libraries to pass to the linker, e.g. -l<library> 1451 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1452 you have headers in a nonstandard directory <include dir> 1453 LT_SYS_LIBRARY_PATH 1454 User-defined run-time library search path. 1455 CPP C preprocessor 1456 PKG_CONFIG path to pkg-config utility 1457 PKG_CONFIG_PATH 1458 directories to add to pkg-config's search path 1459 PKG_CONFIG_LIBDIR 1460 path overriding pkg-config's built-in search path 1461 CHECK_CFLAGS 1462 C compiler flags for CHECK, overriding pkg-config 1463 CHECK_LIBS linker flags for CHECK, overriding pkg-config 1464 1465Use these variables to override the choices made by `configure' or to help 1466it to find libraries and programs with nonstandard names/locations. 1467 1468Report bugs to <https://github.com/rgxg/rgxg/issues>. 1469rgxg home page: <rgxg.github.io>. 1470_ACEOF 1471ac_status=$? 1472fi 1473 1474if test "$ac_init_help" = "recursive"; then 1475 # If there are subdirs, report their specific --help. 1476 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1477 test -d "$ac_dir" || 1478 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1479 continue 1480 ac_builddir=. 1481 1482case "$ac_dir" in 1483.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1484*) 1485 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1486 # A ".." for each directory in $ac_dir_suffix. 1487 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1488 case $ac_top_builddir_sub in 1489 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1490 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1491 esac ;; 1492esac 1493ac_abs_top_builddir=$ac_pwd 1494ac_abs_builddir=$ac_pwd$ac_dir_suffix 1495# for backward compatibility: 1496ac_top_builddir=$ac_top_build_prefix 1497 1498case $srcdir in 1499 .) # We are building in place. 1500 ac_srcdir=. 1501 ac_top_srcdir=$ac_top_builddir_sub 1502 ac_abs_top_srcdir=$ac_pwd ;; 1503 [\\/]* | ?:[\\/]* ) # Absolute name. 1504 ac_srcdir=$srcdir$ac_dir_suffix; 1505 ac_top_srcdir=$srcdir 1506 ac_abs_top_srcdir=$srcdir ;; 1507 *) # Relative name. 1508 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1509 ac_top_srcdir=$ac_top_build_prefix$srcdir 1510 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1511esac 1512ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1513 1514 cd "$ac_dir" || { ac_status=$?; continue; } 1515 # Check for guested configure. 1516 if test -f "$ac_srcdir/configure.gnu"; then 1517 echo && 1518 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1519 elif test -f "$ac_srcdir/configure"; then 1520 echo && 1521 $SHELL "$ac_srcdir/configure" --help=recursive 1522 else 1523 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1524 fi || ac_status=$? 1525 cd "$ac_pwd" || { ac_status=$?; break; } 1526 done 1527fi 1528 1529test -n "$ac_init_help" && exit $ac_status 1530if $ac_init_version; then 1531 cat <<\_ACEOF 1532rgxg configure 0.1.2 1533generated by GNU Autoconf 2.69 1534 1535Copyright (C) 2012 Free Software Foundation, Inc. 1536This configure script is free software; the Free Software Foundation 1537gives unlimited permission to copy, distribute and modify it. 1538_ACEOF 1539 exit 1540fi 1541 1542## ------------------------ ## 1543## Autoconf initialization. ## 1544## ------------------------ ## 1545 1546# ac_fn_c_try_compile LINENO 1547# -------------------------- 1548# Try to compile conftest.$ac_ext, and return whether this succeeded. 1549ac_fn_c_try_compile () 1550{ 1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1552 rm -f conftest.$ac_objext 1553 if { { ac_try="$ac_compile" 1554case "(($ac_try" in 1555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1556 *) ac_try_echo=$ac_try;; 1557esac 1558eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1559$as_echo "$ac_try_echo"; } >&5 1560 (eval "$ac_compile") 2>conftest.err 1561 ac_status=$? 1562 if test -s conftest.err; then 1563 grep -v '^ *+' conftest.err >conftest.er1 1564 cat conftest.er1 >&5 1565 mv -f conftest.er1 conftest.err 1566 fi 1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1568 test $ac_status = 0; } && { 1569 test -z "$ac_c_werror_flag" || 1570 test ! -s conftest.err 1571 } && test -s conftest.$ac_objext; then : 1572 ac_retval=0 1573else 1574 $as_echo "$as_me: failed program was:" >&5 1575sed 's/^/| /' conftest.$ac_ext >&5 1576 1577 ac_retval=1 1578fi 1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1580 as_fn_set_status $ac_retval 1581 1582} # ac_fn_c_try_compile 1583 1584# ac_fn_c_try_link LINENO 1585# ----------------------- 1586# Try to link conftest.$ac_ext, and return whether this succeeded. 1587ac_fn_c_try_link () 1588{ 1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1590 rm -f conftest.$ac_objext conftest$ac_exeext 1591 if { { ac_try="$ac_link" 1592case "(($ac_try" in 1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1594 *) ac_try_echo=$ac_try;; 1595esac 1596eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1597$as_echo "$ac_try_echo"; } >&5 1598 (eval "$ac_link") 2>conftest.err 1599 ac_status=$? 1600 if test -s conftest.err; then 1601 grep -v '^ *+' conftest.err >conftest.er1 1602 cat conftest.er1 >&5 1603 mv -f conftest.er1 conftest.err 1604 fi 1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1606 test $ac_status = 0; } && { 1607 test -z "$ac_c_werror_flag" || 1608 test ! -s conftest.err 1609 } && test -s conftest$ac_exeext && { 1610 test "$cross_compiling" = yes || 1611 test -x conftest$ac_exeext 1612 }; then : 1613 ac_retval=0 1614else 1615 $as_echo "$as_me: failed program was:" >&5 1616sed 's/^/| /' conftest.$ac_ext >&5 1617 1618 ac_retval=1 1619fi 1620 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1621 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1622 # interfere with the next link command; also delete a directory that is 1623 # left behind by Apple's compiler. We do this before executing the actions. 1624 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1626 as_fn_set_status $ac_retval 1627 1628} # ac_fn_c_try_link 1629 1630# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1631# ------------------------------------------------------- 1632# Tests whether HEADER exists and can be compiled using the include files in 1633# INCLUDES, setting the cache variable VAR accordingly. 1634ac_fn_c_check_header_compile () 1635{ 1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1638$as_echo_n "checking for $2... " >&6; } 1639if eval \${$3+:} false; then : 1640 $as_echo_n "(cached) " >&6 1641else 1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1643/* end confdefs.h. */ 1644$4 1645#include <$2> 1646_ACEOF 1647if ac_fn_c_try_compile "$LINENO"; then : 1648 eval "$3=yes" 1649else 1650 eval "$3=no" 1651fi 1652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1653fi 1654eval ac_res=\$$3 1655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1656$as_echo "$ac_res" >&6; } 1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1658 1659} # ac_fn_c_check_header_compile 1660 1661# ac_fn_c_try_cpp LINENO 1662# ---------------------- 1663# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1664ac_fn_c_try_cpp () 1665{ 1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1667 if { { ac_try="$ac_cpp conftest.$ac_ext" 1668case "(($ac_try" in 1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1670 *) ac_try_echo=$ac_try;; 1671esac 1672eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1673$as_echo "$ac_try_echo"; } >&5 1674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1675 ac_status=$? 1676 if test -s conftest.err; then 1677 grep -v '^ *+' conftest.err >conftest.er1 1678 cat conftest.er1 >&5 1679 mv -f conftest.er1 conftest.err 1680 fi 1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1682 test $ac_status = 0; } > conftest.i && { 1683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1684 test ! -s conftest.err 1685 }; then : 1686 ac_retval=0 1687else 1688 $as_echo "$as_me: failed program was:" >&5 1689sed 's/^/| /' conftest.$ac_ext >&5 1690 1691 ac_retval=1 1692fi 1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1694 as_fn_set_status $ac_retval 1695 1696} # ac_fn_c_try_cpp 1697 1698# ac_fn_c_try_run LINENO 1699# ---------------------- 1700# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1701# that executables *can* be run. 1702ac_fn_c_try_run () 1703{ 1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1705 if { { ac_try="$ac_link" 1706case "(($ac_try" in 1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1708 *) ac_try_echo=$ac_try;; 1709esac 1710eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1711$as_echo "$ac_try_echo"; } >&5 1712 (eval "$ac_link") 2>&5 1713 ac_status=$? 1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1715 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1716 { { case "(($ac_try" in 1717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1718 *) ac_try_echo=$ac_try;; 1719esac 1720eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1721$as_echo "$ac_try_echo"; } >&5 1722 (eval "$ac_try") 2>&5 1723 ac_status=$? 1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1725 test $ac_status = 0; }; }; then : 1726 ac_retval=0 1727else 1728 $as_echo "$as_me: program exited with status $ac_status" >&5 1729 $as_echo "$as_me: failed program was:" >&5 1730sed 's/^/| /' conftest.$ac_ext >&5 1731 1732 ac_retval=$ac_status 1733fi 1734 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1736 as_fn_set_status $ac_retval 1737 1738} # ac_fn_c_try_run 1739 1740# ac_fn_c_check_func LINENO FUNC VAR 1741# ---------------------------------- 1742# Tests whether FUNC exists, setting the cache variable VAR accordingly 1743ac_fn_c_check_func () 1744{ 1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1747$as_echo_n "checking for $2... " >&6; } 1748if eval \${$3+:} false; then : 1749 $as_echo_n "(cached) " >&6 1750else 1751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1752/* end confdefs.h. */ 1753/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1754 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1755#define $2 innocuous_$2 1756 1757/* System header to define __stub macros and hopefully few prototypes, 1758 which can conflict with char $2 (); below. 1759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1760 <limits.h> exists even on freestanding compilers. */ 1761 1762#ifdef __STDC__ 1763# include <limits.h> 1764#else 1765# include <assert.h> 1766#endif 1767 1768#undef $2 1769 1770/* Override any GCC internal prototype to avoid an error. 1771 Use char because int might match the return type of a GCC 1772 builtin and then its argument prototype would still apply. */ 1773#ifdef __cplusplus 1774extern "C" 1775#endif 1776char $2 (); 1777/* The GNU C library defines this for functions which it implements 1778 to always fail with ENOSYS. Some functions are actually named 1779 something starting with __ and the normal name is an alias. */ 1780#if defined __stub_$2 || defined __stub___$2 1781choke me 1782#endif 1783 1784int 1785main () 1786{ 1787return $2 (); 1788 ; 1789 return 0; 1790} 1791_ACEOF 1792if ac_fn_c_try_link "$LINENO"; then : 1793 eval "$3=yes" 1794else 1795 eval "$3=no" 1796fi 1797rm -f core conftest.err conftest.$ac_objext \ 1798 conftest$ac_exeext conftest.$ac_ext 1799fi 1800eval ac_res=\$$3 1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1802$as_echo "$ac_res" >&6; } 1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1804 1805} # ac_fn_c_check_func 1806 1807# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1808# ------------------------------------------------------- 1809# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1810# the include files in INCLUDES and setting the cache variable VAR 1811# accordingly. 1812ac_fn_c_check_header_mongrel () 1813{ 1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1815 if eval \${$3+:} false; then : 1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1817$as_echo_n "checking for $2... " >&6; } 1818if eval \${$3+:} false; then : 1819 $as_echo_n "(cached) " >&6 1820fi 1821eval ac_res=\$$3 1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1823$as_echo "$ac_res" >&6; } 1824else 1825 # Is the header compilable? 1826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1827$as_echo_n "checking $2 usability... " >&6; } 1828cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1829/* end confdefs.h. */ 1830$4 1831#include <$2> 1832_ACEOF 1833if ac_fn_c_try_compile "$LINENO"; then : 1834 ac_header_compiler=yes 1835else 1836 ac_header_compiler=no 1837fi 1838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1840$as_echo "$ac_header_compiler" >&6; } 1841 1842# Is the header present? 1843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1844$as_echo_n "checking $2 presence... " >&6; } 1845cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1846/* end confdefs.h. */ 1847#include <$2> 1848_ACEOF 1849if ac_fn_c_try_cpp "$LINENO"; then : 1850 ac_header_preproc=yes 1851else 1852 ac_header_preproc=no 1853fi 1854rm -f conftest.err conftest.i conftest.$ac_ext 1855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1856$as_echo "$ac_header_preproc" >&6; } 1857 1858# So? What about this header? 1859case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1860 yes:no: ) 1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1862$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1864$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1865 ;; 1866 no:yes:* ) 1867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1868$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1870$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1872$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1874$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1876$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1877( $as_echo "## -------------------------------------------------- ## 1878## Report this to https://github.com/rgxg/rgxg/issues ## 1879## -------------------------------------------------- ##" 1880 ) | sed "s/^/$as_me: WARNING: /" >&2 1881 ;; 1882esac 1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1884$as_echo_n "checking for $2... " >&6; } 1885if eval \${$3+:} false; then : 1886 $as_echo_n "(cached) " >&6 1887else 1888 eval "$3=\$ac_header_compiler" 1889fi 1890eval ac_res=\$$3 1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1892$as_echo "$ac_res" >&6; } 1893fi 1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1895 1896} # ac_fn_c_check_header_mongrel 1897 1898# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1899# ------------------------------------------- 1900# Tests whether TYPE exists after having included INCLUDES, setting cache 1901# variable VAR accordingly. 1902ac_fn_c_check_type () 1903{ 1904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1906$as_echo_n "checking for $2... " >&6; } 1907if eval \${$3+:} false; then : 1908 $as_echo_n "(cached) " >&6 1909else 1910 eval "$3=no" 1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1912/* end confdefs.h. */ 1913$4 1914int 1915main () 1916{ 1917if (sizeof ($2)) 1918 return 0; 1919 ; 1920 return 0; 1921} 1922_ACEOF 1923if ac_fn_c_try_compile "$LINENO"; then : 1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1925/* end confdefs.h. */ 1926$4 1927int 1928main () 1929{ 1930if (sizeof (($2))) 1931 return 0; 1932 ; 1933 return 0; 1934} 1935_ACEOF 1936if ac_fn_c_try_compile "$LINENO"; then : 1937 1938else 1939 eval "$3=yes" 1940fi 1941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1942fi 1943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1944fi 1945eval ac_res=\$$3 1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1947$as_echo "$ac_res" >&6; } 1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1949 1950} # ac_fn_c_check_type 1951 1952# ac_fn_c_find_uintX_t LINENO BITS VAR 1953# ------------------------------------ 1954# Finds an unsigned integer type with width BITS, setting cache variable VAR 1955# accordingly. 1956ac_fn_c_find_uintX_t () 1957{ 1958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 1960$as_echo_n "checking for uint$2_t... " >&6; } 1961if eval \${$3+:} false; then : 1962 $as_echo_n "(cached) " >&6 1963else 1964 eval "$3=no" 1965 # Order is important - never check a type that is potentially smaller 1966 # than half of the expected target width. 1967 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 1968 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1970/* end confdefs.h. */ 1971$ac_includes_default 1972int 1973main () 1974{ 1975static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 1976test_array [0] = 0; 1977return test_array [0]; 1978 1979 ; 1980 return 0; 1981} 1982_ACEOF 1983if ac_fn_c_try_compile "$LINENO"; then : 1984 case $ac_type in #( 1985 uint$2_t) : 1986 eval "$3=yes" ;; #( 1987 *) : 1988 eval "$3=\$ac_type" ;; 1989esac 1990fi 1991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1992 if eval test \"x\$"$3"\" = x"no"; then : 1993 1994else 1995 break 1996fi 1997 done 1998fi 1999eval ac_res=\$$3 2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2001$as_echo "$ac_res" >&6; } 2002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2003 2004} # ac_fn_c_find_uintX_t 2005cat >config.log <<_ACEOF 2006This file contains any messages produced by compilers while 2007running configure, to aid debugging if configure makes a mistake. 2008 2009It was created by rgxg $as_me 0.1.2, which was 2010generated by GNU Autoconf 2.69. Invocation command line was 2011 2012 $ $0 $@ 2013 2014_ACEOF 2015exec 5>>config.log 2016{ 2017cat <<_ASUNAME 2018## --------- ## 2019## Platform. ## 2020## --------- ## 2021 2022hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2023uname -m = `(uname -m) 2>/dev/null || echo unknown` 2024uname -r = `(uname -r) 2>/dev/null || echo unknown` 2025uname -s = `(uname -s) 2>/dev/null || echo unknown` 2026uname -v = `(uname -v) 2>/dev/null || echo unknown` 2027 2028/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2029/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2030 2031/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2032/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2033/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2034/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2035/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2036/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2037/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2038 2039_ASUNAME 2040 2041as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2042for as_dir in $PATH 2043do 2044 IFS=$as_save_IFS 2045 test -z "$as_dir" && as_dir=. 2046 $as_echo "PATH: $as_dir" 2047 done 2048IFS=$as_save_IFS 2049 2050} >&5 2051 2052cat >&5 <<_ACEOF 2053 2054 2055## ----------- ## 2056## Core tests. ## 2057## ----------- ## 2058 2059_ACEOF 2060 2061 2062# Keep a trace of the command line. 2063# Strip out --no-create and --no-recursion so they do not pile up. 2064# Strip out --silent because we don't want to record it for future runs. 2065# Also quote any args containing shell meta-characters. 2066# Make two passes to allow for proper duplicate-argument suppression. 2067ac_configure_args= 2068ac_configure_args0= 2069ac_configure_args1= 2070ac_must_keep_next=false 2071for ac_pass in 1 2 2072do 2073 for ac_arg 2074 do 2075 case $ac_arg in 2076 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2078 | -silent | --silent | --silen | --sile | --sil) 2079 continue ;; 2080 *\'*) 2081 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2082 esac 2083 case $ac_pass in 2084 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2085 2) 2086 as_fn_append ac_configure_args1 " '$ac_arg'" 2087 if test $ac_must_keep_next = true; then 2088 ac_must_keep_next=false # Got value, back to normal. 2089 else 2090 case $ac_arg in 2091 *=* | --config-cache | -C | -disable-* | --disable-* \ 2092 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2093 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2094 | -with-* | --with-* | -without-* | --without-* | --x) 2095 case "$ac_configure_args0 " in 2096 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2097 esac 2098 ;; 2099 -* ) ac_must_keep_next=true ;; 2100 esac 2101 fi 2102 as_fn_append ac_configure_args " '$ac_arg'" 2103 ;; 2104 esac 2105 done 2106done 2107{ ac_configure_args0=; unset ac_configure_args0;} 2108{ ac_configure_args1=; unset ac_configure_args1;} 2109 2110# When interrupted or exit'd, cleanup temporary files, and complete 2111# config.log. We remove comments because anyway the quotes in there 2112# would cause problems or look ugly. 2113# WARNING: Use '\'' to represent an apostrophe within the trap. 2114# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2115trap 'exit_status=$? 2116 # Save into config.log some information that might help in debugging. 2117 { 2118 echo 2119 2120 $as_echo "## ---------------- ## 2121## Cache variables. ## 2122## ---------------- ##" 2123 echo 2124 # The following way of writing the cache mishandles newlines in values, 2125( 2126 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2127 eval ac_val=\$$ac_var 2128 case $ac_val in #( 2129 *${as_nl}*) 2130 case $ac_var in #( 2131 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2132$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2133 esac 2134 case $ac_var in #( 2135 _ | IFS | as_nl) ;; #( 2136 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2137 *) { eval $ac_var=; unset $ac_var;} ;; 2138 esac ;; 2139 esac 2140 done 2141 (set) 2>&1 | 2142 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2143 *${as_nl}ac_space=\ *) 2144 sed -n \ 2145 "s/'\''/'\''\\\\'\'''\''/g; 2146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2147 ;; #( 2148 *) 2149 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2150 ;; 2151 esac | 2152 sort 2153) 2154 echo 2155 2156 $as_echo "## ----------------- ## 2157## Output variables. ## 2158## ----------------- ##" 2159 echo 2160 for ac_var in $ac_subst_vars 2161 do 2162 eval ac_val=\$$ac_var 2163 case $ac_val in 2164 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2165 esac 2166 $as_echo "$ac_var='\''$ac_val'\''" 2167 done | sort 2168 echo 2169 2170 if test -n "$ac_subst_files"; then 2171 $as_echo "## ------------------- ## 2172## File substitutions. ## 2173## ------------------- ##" 2174 echo 2175 for ac_var in $ac_subst_files 2176 do 2177 eval ac_val=\$$ac_var 2178 case $ac_val in 2179 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2180 esac 2181 $as_echo "$ac_var='\''$ac_val'\''" 2182 done | sort 2183 echo 2184 fi 2185 2186 if test -s confdefs.h; then 2187 $as_echo "## ----------- ## 2188## confdefs.h. ## 2189## ----------- ##" 2190 echo 2191 cat confdefs.h 2192 echo 2193 fi 2194 test "$ac_signal" != 0 && 2195 $as_echo "$as_me: caught signal $ac_signal" 2196 $as_echo "$as_me: exit $exit_status" 2197 } >&5 2198 rm -f core *.core core.conftest.* && 2199 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2200 exit $exit_status 2201' 0 2202for ac_signal in 1 2 13 15; do 2203 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2204done 2205ac_signal=0 2206 2207# confdefs.h avoids OS command line length limits that DEFS can exceed. 2208rm -f -r conftest* confdefs.h 2209 2210$as_echo "/* confdefs.h */" > confdefs.h 2211 2212# Predefined preprocessor variables. 2213 2214cat >>confdefs.h <<_ACEOF 2215#define PACKAGE_NAME "$PACKAGE_NAME" 2216_ACEOF 2217 2218cat >>confdefs.h <<_ACEOF 2219#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2220_ACEOF 2221 2222cat >>confdefs.h <<_ACEOF 2223#define PACKAGE_VERSION "$PACKAGE_VERSION" 2224_ACEOF 2225 2226cat >>confdefs.h <<_ACEOF 2227#define PACKAGE_STRING "$PACKAGE_STRING" 2228_ACEOF 2229 2230cat >>confdefs.h <<_ACEOF 2231#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2232_ACEOF 2233 2234cat >>confdefs.h <<_ACEOF 2235#define PACKAGE_URL "$PACKAGE_URL" 2236_ACEOF 2237 2238 2239# Let the site file select an alternate cache file if it wants to. 2240# Prefer an explicitly selected file to automatically selected ones. 2241ac_site_file1=NONE 2242ac_site_file2=NONE 2243if test -n "$CONFIG_SITE"; then 2244 # We do not want a PATH search for config.site. 2245 case $CONFIG_SITE in #(( 2246 -*) ac_site_file1=./$CONFIG_SITE;; 2247 */*) ac_site_file1=$CONFIG_SITE;; 2248 *) ac_site_file1=./$CONFIG_SITE;; 2249 esac 2250elif test "x$prefix" != xNONE; then 2251 ac_site_file1=$prefix/share/config.site 2252 ac_site_file2=$prefix/etc/config.site 2253else 2254 ac_site_file1=$ac_default_prefix/share/config.site 2255 ac_site_file2=$ac_default_prefix/etc/config.site 2256fi 2257for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2258do 2259 test "x$ac_site_file" = xNONE && continue 2260 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2261 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2262$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2263 sed 's/^/| /' "$ac_site_file" >&5 2264 . "$ac_site_file" \ 2265 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2266$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2267as_fn_error $? "failed to load site script $ac_site_file 2268See \`config.log' for more details" "$LINENO" 5; } 2269 fi 2270done 2271 2272if test -r "$cache_file"; then 2273 # Some versions of bash will fail to source /dev/null (special files 2274 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2275 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2276 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2277$as_echo "$as_me: loading cache $cache_file" >&6;} 2278 case $cache_file in 2279 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2280 *) . "./$cache_file";; 2281 esac 2282 fi 2283else 2284 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2285$as_echo "$as_me: creating cache $cache_file" >&6;} 2286 >$cache_file 2287fi 2288 2289# Check that the precious variables saved in the cache have kept the same 2290# value. 2291ac_cache_corrupted=false 2292for ac_var in $ac_precious_vars; do 2293 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2294 eval ac_new_set=\$ac_env_${ac_var}_set 2295 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2296 eval ac_new_val=\$ac_env_${ac_var}_value 2297 case $ac_old_set,$ac_new_set in 2298 set,) 2299 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2300$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2301 ac_cache_corrupted=: ;; 2302 ,set) 2303 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2304$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2305 ac_cache_corrupted=: ;; 2306 ,);; 2307 *) 2308 if test "x$ac_old_val" != "x$ac_new_val"; then 2309 # differences in whitespace do not lead to failure. 2310 ac_old_val_w=`echo x $ac_old_val` 2311 ac_new_val_w=`echo x $ac_new_val` 2312 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2313 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2314$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2315 ac_cache_corrupted=: 2316 else 2317 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2318$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2319 eval $ac_var=\$ac_old_val 2320 fi 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2322$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2323 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2324$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2325 fi;; 2326 esac 2327 # Pass precious variables to config.status. 2328 if test "$ac_new_set" = set; then 2329 case $ac_new_val in 2330 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2331 *) ac_arg=$ac_var=$ac_new_val ;; 2332 esac 2333 case " $ac_configure_args " in 2334 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2335 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2336 esac 2337 fi 2338done 2339if $ac_cache_corrupted; then 2340 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2341$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2342 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2343$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2344 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2345fi 2346## -------------------- ## 2347## Main body of script. ## 2348## -------------------- ## 2349 2350ac_ext=c 2351ac_cpp='$CPP $CPPFLAGS' 2352ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2353ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2354ac_compiler_gnu=$ac_cv_c_compiler_gnu 2355 2356 2357 2358ac_aux_dir= 2359for ac_dir in build-aux "$srcdir"/build-aux; do 2360 if test -f "$ac_dir/install-sh"; then 2361 ac_aux_dir=$ac_dir 2362 ac_install_sh="$ac_aux_dir/install-sh -c" 2363 break 2364 elif test -f "$ac_dir/install.sh"; then 2365 ac_aux_dir=$ac_dir 2366 ac_install_sh="$ac_aux_dir/install.sh -c" 2367 break 2368 elif test -f "$ac_dir/shtool"; then 2369 ac_aux_dir=$ac_dir 2370 ac_install_sh="$ac_aux_dir/shtool install -c" 2371 break 2372 fi 2373done 2374if test -z "$ac_aux_dir"; then 2375 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2376fi 2377 2378# These three variables are undocumented and unsupported, 2379# and are intended to be withdrawn in a future Autoconf release. 2380# They can cause serious problems if a builder's source tree is in a directory 2381# whose full name contains unusual characters. 2382ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2383ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2384ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2385 2386 2387 2388ac_config_headers="$ac_config_headers config.h" 2389 2390ac_config_files="$ac_config_files Makefile lib/rgxg.pc" 2391 2392 2393LIB_CURRENT=0 2394LIB_REVISION=1 2395LIB_AGE=0 2396 2397 2398 2399 2400am__api_version='1.16' 2401 2402# Find a good install program. We prefer a C program (faster), 2403# so one script is as good as another. But avoid the broken or 2404# incompatible versions: 2405# SysV /etc/install, /usr/sbin/install 2406# SunOS /usr/etc/install 2407# IRIX /sbin/install 2408# AIX /bin/install 2409# AmigaOS /C/install, which installs bootblocks on floppy discs 2410# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2411# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2412# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2413# OS/2's system install, which has a completely different semantic 2414# ./install, which can be erroneously created by make from ./install.sh. 2415# Reject install programs that cannot install multiple files. 2416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2417$as_echo_n "checking for a BSD-compatible install... " >&6; } 2418if test -z "$INSTALL"; then 2419if ${ac_cv_path_install+:} false; then : 2420 $as_echo_n "(cached) " >&6 2421else 2422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2423for as_dir in $PATH 2424do 2425 IFS=$as_save_IFS 2426 test -z "$as_dir" && as_dir=. 2427 # Account for people who put trailing slashes in PATH elements. 2428case $as_dir/ in #(( 2429 ./ | .// | /[cC]/* | \ 2430 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2431 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2432 /usr/ucb/* ) ;; 2433 *) 2434 # OSF1 and SCO ODT 3.0 have their own names for install. 2435 # Don't use installbsd from OSF since it installs stuff as root 2436 # by default. 2437 for ac_prog in ginstall scoinst install; do 2438 for ac_exec_ext in '' $ac_executable_extensions; do 2439 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2440 if test $ac_prog = install && 2441 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2442 # AIX install. It has an incompatible calling convention. 2443 : 2444 elif test $ac_prog = install && 2445 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2446 # program-specific install script used by HP pwplus--don't use. 2447 : 2448 else 2449 rm -rf conftest.one conftest.two conftest.dir 2450 echo one > conftest.one 2451 echo two > conftest.two 2452 mkdir conftest.dir 2453 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2454 test -s conftest.one && test -s conftest.two && 2455 test -s conftest.dir/conftest.one && 2456 test -s conftest.dir/conftest.two 2457 then 2458 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2459 break 3 2460 fi 2461 fi 2462 fi 2463 done 2464 done 2465 ;; 2466esac 2467 2468 done 2469IFS=$as_save_IFS 2470 2471rm -rf conftest.one conftest.two conftest.dir 2472 2473fi 2474 if test "${ac_cv_path_install+set}" = set; then 2475 INSTALL=$ac_cv_path_install 2476 else 2477 # As a last resort, use the slow shell script. Don't cache a 2478 # value for INSTALL within a source directory, because that will 2479 # break other packages using the cache if that directory is 2480 # removed, or if the value is a relative name. 2481 INSTALL=$ac_install_sh 2482 fi 2483fi 2484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2485$as_echo "$INSTALL" >&6; } 2486 2487# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2488# It thinks the first close brace ends the variable substitution. 2489test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2490 2491test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2492 2493test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2494 2495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2496$as_echo_n "checking whether build environment is sane... " >&6; } 2497# Reject unsafe characters in $srcdir or the absolute working directory 2498# name. Accept space and tab only in the latter. 2499am_lf=' 2500' 2501case `pwd` in 2502 *[\\\"\#\$\&\'\`$am_lf]*) 2503 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2504esac 2505case $srcdir in 2506 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2507 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2508esac 2509 2510# Do 'set' in a subshell so we don't clobber the current shell's 2511# arguments. Must try -L first in case configure is actually a 2512# symlink; some systems play weird games with the mod time of symlinks 2513# (eg FreeBSD returns the mod time of the symlink's containing 2514# directory). 2515if ( 2516 am_has_slept=no 2517 for am_try in 1 2; do 2518 echo "timestamp, slept: $am_has_slept" > conftest.file 2519 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2520 if test "$*" = "X"; then 2521 # -L didn't work. 2522 set X `ls -t "$srcdir/configure" conftest.file` 2523 fi 2524 if test "$*" != "X $srcdir/configure conftest.file" \ 2525 && test "$*" != "X conftest.file $srcdir/configure"; then 2526 2527 # If neither matched, then we have a broken ls. This can happen 2528 # if, for instance, CONFIG_SHELL is bash and it inherits a 2529 # broken ls alias from the environment. This has actually 2530 # happened. Such a system could not be considered "sane". 2531 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2532 alias in your environment" "$LINENO" 5 2533 fi 2534 if test "$2" = conftest.file || test $am_try -eq 2; then 2535 break 2536 fi 2537 # Just in case. 2538 sleep 1 2539 am_has_slept=yes 2540 done 2541 test "$2" = conftest.file 2542 ) 2543then 2544 # Ok. 2545 : 2546else 2547 as_fn_error $? "newly created file is older than distributed files! 2548Check your system clock" "$LINENO" 5 2549fi 2550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2551$as_echo "yes" >&6; } 2552# If we didn't sleep, we still need to ensure time stamps of config.status and 2553# generated files are strictly newer. 2554am_sleep_pid= 2555if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2556 ( sleep 1 ) & 2557 am_sleep_pid=$! 2558fi 2559 2560rm -f conftest.file 2561 2562test "$program_prefix" != NONE && 2563 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2564# Use a double $ so make ignores it. 2565test "$program_suffix" != NONE && 2566 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2567# Double any \ or $. 2568# By default was `s,x,x', remove it if useless. 2569ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2570program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2571 2572# Expand $ac_aux_dir to an absolute path. 2573am_aux_dir=`cd "$ac_aux_dir" && pwd` 2574 2575if test x"${MISSING+set}" != xset; then 2576 case $am_aux_dir in 2577 *\ * | *\ *) 2578 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2579 *) 2580 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2581 esac 2582fi 2583# Use eval to expand $SHELL 2584if eval "$MISSING --is-lightweight"; then 2585 am_missing_run="$MISSING " 2586else 2587 am_missing_run= 2588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2589$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2590fi 2591 2592if test x"${install_sh+set}" != xset; then 2593 case $am_aux_dir in 2594 *\ * | *\ *) 2595 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2596 *) 2597 install_sh="\${SHELL} $am_aux_dir/install-sh" 2598 esac 2599fi 2600 2601# Installed binaries are usually stripped using 'strip' when the user 2602# run "make install-strip". However 'strip' might not be the right 2603# tool to use in cross-compilation environments, therefore Automake 2604# will honor the 'STRIP' environment variable to overrule this program. 2605if test "$cross_compiling" != no; then 2606 if test -n "$ac_tool_prefix"; then 2607 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2608set dummy ${ac_tool_prefix}strip; ac_word=$2 2609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2610$as_echo_n "checking for $ac_word... " >&6; } 2611if ${ac_cv_prog_STRIP+:} false; then : 2612 $as_echo_n "(cached) " >&6 2613else 2614 if test -n "$STRIP"; then 2615 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2616else 2617as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2618for as_dir in $PATH 2619do 2620 IFS=$as_save_IFS 2621 test -z "$as_dir" && as_dir=. 2622 for ac_exec_ext in '' $ac_executable_extensions; do 2623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2624 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2626 break 2 2627 fi 2628done 2629 done 2630IFS=$as_save_IFS 2631 2632fi 2633fi 2634STRIP=$ac_cv_prog_STRIP 2635if test -n "$STRIP"; then 2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2637$as_echo "$STRIP" >&6; } 2638else 2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2640$as_echo "no" >&6; } 2641fi 2642 2643 2644fi 2645if test -z "$ac_cv_prog_STRIP"; then 2646 ac_ct_STRIP=$STRIP 2647 # Extract the first word of "strip", so it can be a program name with args. 2648set dummy strip; ac_word=$2 2649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2650$as_echo_n "checking for $ac_word... " >&6; } 2651if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2652 $as_echo_n "(cached) " >&6 2653else 2654 if test -n "$ac_ct_STRIP"; then 2655 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2656else 2657as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2658for as_dir in $PATH 2659do 2660 IFS=$as_save_IFS 2661 test -z "$as_dir" && as_dir=. 2662 for ac_exec_ext in '' $ac_executable_extensions; do 2663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2664 ac_cv_prog_ac_ct_STRIP="strip" 2665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2666 break 2 2667 fi 2668done 2669 done 2670IFS=$as_save_IFS 2671 2672fi 2673fi 2674ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2675if test -n "$ac_ct_STRIP"; then 2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2677$as_echo "$ac_ct_STRIP" >&6; } 2678else 2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2680$as_echo "no" >&6; } 2681fi 2682 2683 if test "x$ac_ct_STRIP" = x; then 2684 STRIP=":" 2685 else 2686 case $cross_compiling:$ac_tool_warned in 2687yes:) 2688{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2689$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2690ac_tool_warned=yes ;; 2691esac 2692 STRIP=$ac_ct_STRIP 2693 fi 2694else 2695 STRIP="$ac_cv_prog_STRIP" 2696fi 2697 2698fi 2699INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2700 2701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2702$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2703if test -z "$MKDIR_P"; then 2704 if ${ac_cv_path_mkdir+:} false; then : 2705 $as_echo_n "(cached) " >&6 2706else 2707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2708for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2709do 2710 IFS=$as_save_IFS 2711 test -z "$as_dir" && as_dir=. 2712 for ac_prog in mkdir gmkdir; do 2713 for ac_exec_ext in '' $ac_executable_extensions; do 2714 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2715 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2716 'mkdir (GNU coreutils) '* | \ 2717 'mkdir (coreutils) '* | \ 2718 'mkdir (fileutils) '4.1*) 2719 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2720 break 3;; 2721 esac 2722 done 2723 done 2724 done 2725IFS=$as_save_IFS 2726 2727fi 2728 2729 test -d ./--version && rmdir ./--version 2730 if test "${ac_cv_path_mkdir+set}" = set; then 2731 MKDIR_P="$ac_cv_path_mkdir -p" 2732 else 2733 # As a last resort, use the slow shell script. Don't cache a 2734 # value for MKDIR_P within a source directory, because that will 2735 # break other packages using the cache if that directory is 2736 # removed, or if the value is a relative name. 2737 MKDIR_P="$ac_install_sh -d" 2738 fi 2739fi 2740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2741$as_echo "$MKDIR_P" >&6; } 2742 2743for ac_prog in gawk mawk nawk awk 2744do 2745 # Extract the first word of "$ac_prog", so it can be a program name with args. 2746set dummy $ac_prog; ac_word=$2 2747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2748$as_echo_n "checking for $ac_word... " >&6; } 2749if ${ac_cv_prog_AWK+:} false; then : 2750 $as_echo_n "(cached) " >&6 2751else 2752 if test -n "$AWK"; then 2753 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2754else 2755as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2756for as_dir in $PATH 2757do 2758 IFS=$as_save_IFS 2759 test -z "$as_dir" && as_dir=. 2760 for ac_exec_ext in '' $ac_executable_extensions; do 2761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2762 ac_cv_prog_AWK="$ac_prog" 2763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2764 break 2 2765 fi 2766done 2767 done 2768IFS=$as_save_IFS 2769 2770fi 2771fi 2772AWK=$ac_cv_prog_AWK 2773if test -n "$AWK"; then 2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2775$as_echo "$AWK" >&6; } 2776else 2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2778$as_echo "no" >&6; } 2779fi 2780 2781 2782 test -n "$AWK" && break 2783done 2784 2785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2786$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2787set x ${MAKE-make} 2788ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2789if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2790 $as_echo_n "(cached) " >&6 2791else 2792 cat >conftest.make <<\_ACEOF 2793SHELL = /bin/sh 2794all: 2795 @echo '@@@%%%=$(MAKE)=@@@%%%' 2796_ACEOF 2797# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2798case `${MAKE-make} -f conftest.make 2>/dev/null` in 2799 *@@@%%%=?*=@@@%%%*) 2800 eval ac_cv_prog_make_${ac_make}_set=yes;; 2801 *) 2802 eval ac_cv_prog_make_${ac_make}_set=no;; 2803esac 2804rm -f conftest.make 2805fi 2806if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2808$as_echo "yes" >&6; } 2809 SET_MAKE= 2810else 2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2812$as_echo "no" >&6; } 2813 SET_MAKE="MAKE=${MAKE-make}" 2814fi 2815 2816rm -rf .tst 2>/dev/null 2817mkdir .tst 2>/dev/null 2818if test -d .tst; then 2819 am__leading_dot=. 2820else 2821 am__leading_dot=_ 2822fi 2823rmdir .tst 2>/dev/null 2824 2825# Check whether --enable-silent-rules was given. 2826if test "${enable_silent_rules+set}" = set; then : 2827 enableval=$enable_silent_rules; 2828fi 2829 2830case $enable_silent_rules in # ((( 2831 yes) AM_DEFAULT_VERBOSITY=0;; 2832 no) AM_DEFAULT_VERBOSITY=1;; 2833 *) AM_DEFAULT_VERBOSITY=1;; 2834esac 2835am_make=${MAKE-make} 2836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2837$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2838if ${am_cv_make_support_nested_variables+:} false; then : 2839 $as_echo_n "(cached) " >&6 2840else 2841 if $as_echo 'TRUE=$(BAR$(V)) 2842BAR0=false 2843BAR1=true 2844V=1 2845am__doit: 2846 @$(TRUE) 2847.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2848 am_cv_make_support_nested_variables=yes 2849else 2850 am_cv_make_support_nested_variables=no 2851fi 2852fi 2853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2854$as_echo "$am_cv_make_support_nested_variables" >&6; } 2855if test $am_cv_make_support_nested_variables = yes; then 2856 AM_V='$(V)' 2857 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2858else 2859 AM_V=$AM_DEFAULT_VERBOSITY 2860 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2861fi 2862AM_BACKSLASH='\' 2863 2864if test "`cd $srcdir && pwd`" != "`pwd`"; then 2865 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2866 # is not polluted with repeated "-I." 2867 am__isrc=' -I$(srcdir)' 2868 # test to see if srcdir already configured 2869 if test -f $srcdir/config.status; then 2870 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2871 fi 2872fi 2873 2874# test whether we have cygpath 2875if test -z "$CYGPATH_W"; then 2876 if (cygpath --version) >/dev/null 2>/dev/null; then 2877 CYGPATH_W='cygpath -w' 2878 else 2879 CYGPATH_W=echo 2880 fi 2881fi 2882 2883 2884# Define the identity of the package. 2885 PACKAGE='rgxg' 2886 VERSION='0.1.2' 2887 2888 2889cat >>confdefs.h <<_ACEOF 2890#define PACKAGE "$PACKAGE" 2891_ACEOF 2892 2893 2894cat >>confdefs.h <<_ACEOF 2895#define VERSION "$VERSION" 2896_ACEOF 2897 2898# Some tools Automake needs. 2899 2900ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2901 2902 2903AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2904 2905 2906AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2907 2908 2909AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2910 2911 2912MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2913 2914# For better backward compatibility. To be removed once Automake 1.9.x 2915# dies out for good. For more background, see: 2916# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2917# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2918mkdir_p='$(MKDIR_P)' 2919 2920# We need awk for the "check" target (and possibly the TAP driver). The 2921# system "awk" is bad on some platforms. 2922# Always define AMTAR for backward compatibility. Yes, it's still used 2923# in the wild :-( We should find a proper way to deprecate it ... 2924AMTAR='$${TAR-tar}' 2925 2926 2927# We'll loop over all known methods to create a tar archive until one works. 2928_am_tools='gnutar pax cpio none' 2929 2930am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2931 2932 2933 2934 2935 2936 2937# POSIX will say in a future version that running "rm -f" with no argument 2938# is OK; and we want to be able to make that assumption in our Makefile 2939# recipes. So use an aggressive probe to check that the usage we want is 2940# actually supported "in the wild" to an acceptable degree. 2941# See automake bug#10828. 2942# To make any issue more visible, cause the running configure to be aborted 2943# by default if the 'rm' program in use doesn't match our expectations; the 2944# user can still override this though. 2945if rm -f && rm -fr && rm -rf; then : OK; else 2946 cat >&2 <<'END' 2947Oops! 2948 2949Your 'rm' program seems unable to run without file operands specified 2950on the command line, even when the '-f' option is present. This is contrary 2951to the behaviour of most rm programs out there, and not conforming with 2952the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2953 2954Please tell bug-automake@gnu.org about your system, including the value 2955of your $PATH and any error possibly output before this message. This 2956can help us improve future automake versions. 2957 2958END 2959 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2960 echo 'Configuration will proceed anyway, since you have set the' >&2 2961 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2962 echo >&2 2963 else 2964 cat >&2 <<'END' 2965Aborting the configuration process, to ensure you take notice of the issue. 2966 2967You can download and install GNU coreutils to get an 'rm' implementation 2968that behaves properly: <https://www.gnu.org/software/coreutils/>. 2969 2970If you want to complete the configuration process using your problematic 2971'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2972to "yes", and re-run configure. 2973 2974END 2975 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2976 fi 2977fi 2978 2979 2980DEPDIR="${am__leading_dot}deps" 2981 2982ac_config_commands="$ac_config_commands depfiles" 2983 2984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 2985$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 2986cat > confinc.mk << 'END' 2987am__doit: 2988 @echo this is the am__doit target >confinc.out 2989.PHONY: am__doit 2990END 2991am__include="#" 2992am__quote= 2993# BSD make does it like this. 2994echo '.include "confinc.mk" # ignored' > confmf.BSD 2995# Other make implementations (GNU, Solaris 10, AIX) do it like this. 2996echo 'include confinc.mk # ignored' > confmf.GNU 2997_am_result=no 2998for s in GNU BSD; do 2999 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3000 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3001 ac_status=$? 3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3003 (exit $ac_status); } 3004 case $?:`cat confinc.out 2>/dev/null` in #( 3005 '0:this is the am__doit target') : 3006 case $s in #( 3007 BSD) : 3008 am__include='.include' am__quote='"' ;; #( 3009 *) : 3010 am__include='include' am__quote='' ;; 3011esac ;; #( 3012 *) : 3013 ;; 3014esac 3015 if test "$am__include" != "#"; then 3016 _am_result="yes ($s style)" 3017 break 3018 fi 3019done 3020rm -f confinc.* confmf.* 3021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3022$as_echo "${_am_result}" >&6; } 3023 3024# Check whether --enable-dependency-tracking was given. 3025if test "${enable_dependency_tracking+set}" = set; then : 3026 enableval=$enable_dependency_tracking; 3027fi 3028 3029if test "x$enable_dependency_tracking" != xno; then 3030 am_depcomp="$ac_aux_dir/depcomp" 3031 AMDEPBACKSLASH='\' 3032 am__nodep='_no' 3033fi 3034 if test "x$enable_dependency_tracking" != xno; then 3035 AMDEP_TRUE= 3036 AMDEP_FALSE='#' 3037else 3038 AMDEP_TRUE='#' 3039 AMDEP_FALSE= 3040fi 3041 3042 3043ac_ext=c 3044ac_cpp='$CPP $CPPFLAGS' 3045ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3046ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3047ac_compiler_gnu=$ac_cv_c_compiler_gnu 3048if test -n "$ac_tool_prefix"; then 3049 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3050set dummy ${ac_tool_prefix}gcc; ac_word=$2 3051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3052$as_echo_n "checking for $ac_word... " >&6; } 3053if ${ac_cv_prog_CC+:} false; then : 3054 $as_echo_n "(cached) " >&6 3055else 3056 if test -n "$CC"; then 3057 ac_cv_prog_CC="$CC" # Let the user override the test. 3058else 3059as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3060for as_dir in $PATH 3061do 3062 IFS=$as_save_IFS 3063 test -z "$as_dir" && as_dir=. 3064 for ac_exec_ext in '' $ac_executable_extensions; do 3065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3066 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3068 break 2 3069 fi 3070done 3071 done 3072IFS=$as_save_IFS 3073 3074fi 3075fi 3076CC=$ac_cv_prog_CC 3077if test -n "$CC"; then 3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3079$as_echo "$CC" >&6; } 3080else 3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3082$as_echo "no" >&6; } 3083fi 3084 3085 3086fi 3087if test -z "$ac_cv_prog_CC"; then 3088 ac_ct_CC=$CC 3089 # Extract the first word of "gcc", so it can be a program name with args. 3090set dummy gcc; ac_word=$2 3091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3092$as_echo_n "checking for $ac_word... " >&6; } 3093if ${ac_cv_prog_ac_ct_CC+:} false; then : 3094 $as_echo_n "(cached) " >&6 3095else 3096 if test -n "$ac_ct_CC"; then 3097 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3098else 3099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3100for as_dir in $PATH 3101do 3102 IFS=$as_save_IFS 3103 test -z "$as_dir" && as_dir=. 3104 for ac_exec_ext in '' $ac_executable_extensions; do 3105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3106 ac_cv_prog_ac_ct_CC="gcc" 3107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3108 break 2 3109 fi 3110done 3111 done 3112IFS=$as_save_IFS 3113 3114fi 3115fi 3116ac_ct_CC=$ac_cv_prog_ac_ct_CC 3117if test -n "$ac_ct_CC"; then 3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3119$as_echo "$ac_ct_CC" >&6; } 3120else 3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3122$as_echo "no" >&6; } 3123fi 3124 3125 if test "x$ac_ct_CC" = x; then 3126 CC="" 3127 else 3128 case $cross_compiling:$ac_tool_warned in 3129yes:) 3130{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3131$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3132ac_tool_warned=yes ;; 3133esac 3134 CC=$ac_ct_CC 3135 fi 3136else 3137 CC="$ac_cv_prog_CC" 3138fi 3139 3140if test -z "$CC"; then 3141 if test -n "$ac_tool_prefix"; then 3142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3143set dummy ${ac_tool_prefix}cc; ac_word=$2 3144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3145$as_echo_n "checking for $ac_word... " >&6; } 3146if ${ac_cv_prog_CC+:} false; then : 3147 $as_echo_n "(cached) " >&6 3148else 3149 if test -n "$CC"; then 3150 ac_cv_prog_CC="$CC" # Let the user override the test. 3151else 3152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3153for as_dir in $PATH 3154do 3155 IFS=$as_save_IFS 3156 test -z "$as_dir" && as_dir=. 3157 for ac_exec_ext in '' $ac_executable_extensions; do 3158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3159 ac_cv_prog_CC="${ac_tool_prefix}cc" 3160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3161 break 2 3162 fi 3163done 3164 done 3165IFS=$as_save_IFS 3166 3167fi 3168fi 3169CC=$ac_cv_prog_CC 3170if test -n "$CC"; then 3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3172$as_echo "$CC" >&6; } 3173else 3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3175$as_echo "no" >&6; } 3176fi 3177 3178 3179 fi 3180fi 3181if test -z "$CC"; then 3182 # Extract the first word of "cc", so it can be a program name with args. 3183set dummy cc; ac_word=$2 3184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3185$as_echo_n "checking for $ac_word... " >&6; } 3186if ${ac_cv_prog_CC+:} false; then : 3187 $as_echo_n "(cached) " >&6 3188else 3189 if test -n "$CC"; then 3190 ac_cv_prog_CC="$CC" # Let the user override the test. 3191else 3192 ac_prog_rejected=no 3193as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3194for as_dir in $PATH 3195do 3196 IFS=$as_save_IFS 3197 test -z "$as_dir" && as_dir=. 3198 for ac_exec_ext in '' $ac_executable_extensions; do 3199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3201 ac_prog_rejected=yes 3202 continue 3203 fi 3204 ac_cv_prog_CC="cc" 3205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3206 break 2 3207 fi 3208done 3209 done 3210IFS=$as_save_IFS 3211 3212if test $ac_prog_rejected = yes; then 3213 # We found a bogon in the path, so make sure we never use it. 3214 set dummy $ac_cv_prog_CC 3215 shift 3216 if test $# != 0; then 3217 # We chose a different compiler from the bogus one. 3218 # However, it has the same basename, so the bogon will be chosen 3219 # first if we set CC to just the basename; use the full file name. 3220 shift 3221 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3222 fi 3223fi 3224fi 3225fi 3226CC=$ac_cv_prog_CC 3227if test -n "$CC"; then 3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3229$as_echo "$CC" >&6; } 3230else 3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3232$as_echo "no" >&6; } 3233fi 3234 3235 3236fi 3237if test -z "$CC"; then 3238 if test -n "$ac_tool_prefix"; then 3239 for ac_prog in cl.exe 3240 do 3241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3242set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3244$as_echo_n "checking for $ac_word... " >&6; } 3245if ${ac_cv_prog_CC+:} false; then : 3246 $as_echo_n "(cached) " >&6 3247else 3248 if test -n "$CC"; then 3249 ac_cv_prog_CC="$CC" # Let the user override the test. 3250else 3251as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3252for as_dir in $PATH 3253do 3254 IFS=$as_save_IFS 3255 test -z "$as_dir" && as_dir=. 3256 for ac_exec_ext in '' $ac_executable_extensions; do 3257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3258 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3260 break 2 3261 fi 3262done 3263 done 3264IFS=$as_save_IFS 3265 3266fi 3267fi 3268CC=$ac_cv_prog_CC 3269if test -n "$CC"; then 3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3271$as_echo "$CC" >&6; } 3272else 3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3274$as_echo "no" >&6; } 3275fi 3276 3277 3278 test -n "$CC" && break 3279 done 3280fi 3281if test -z "$CC"; then 3282 ac_ct_CC=$CC 3283 for ac_prog in cl.exe 3284do 3285 # Extract the first word of "$ac_prog", so it can be a program name with args. 3286set dummy $ac_prog; ac_word=$2 3287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3288$as_echo_n "checking for $ac_word... " >&6; } 3289if ${ac_cv_prog_ac_ct_CC+:} false; then : 3290 $as_echo_n "(cached) " >&6 3291else 3292 if test -n "$ac_ct_CC"; then 3293 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3294else 3295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3296for as_dir in $PATH 3297do 3298 IFS=$as_save_IFS 3299 test -z "$as_dir" && as_dir=. 3300 for ac_exec_ext in '' $ac_executable_extensions; do 3301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3302 ac_cv_prog_ac_ct_CC="$ac_prog" 3303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3304 break 2 3305 fi 3306done 3307 done 3308IFS=$as_save_IFS 3309 3310fi 3311fi 3312ac_ct_CC=$ac_cv_prog_ac_ct_CC 3313if test -n "$ac_ct_CC"; then 3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3315$as_echo "$ac_ct_CC" >&6; } 3316else 3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3318$as_echo "no" >&6; } 3319fi 3320 3321 3322 test -n "$ac_ct_CC" && break 3323done 3324 3325 if test "x$ac_ct_CC" = x; then 3326 CC="" 3327 else 3328 case $cross_compiling:$ac_tool_warned in 3329yes:) 3330{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3331$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3332ac_tool_warned=yes ;; 3333esac 3334 CC=$ac_ct_CC 3335 fi 3336fi 3337 3338fi 3339 3340 3341test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3342$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3343as_fn_error $? "no acceptable C compiler found in \$PATH 3344See \`config.log' for more details" "$LINENO" 5; } 3345 3346# Provide some information about the compiler. 3347$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3348set X $ac_compile 3349ac_compiler=$2 3350for ac_option in --version -v -V -qversion; do 3351 { { ac_try="$ac_compiler $ac_option >&5" 3352case "(($ac_try" in 3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3354 *) ac_try_echo=$ac_try;; 3355esac 3356eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3357$as_echo "$ac_try_echo"; } >&5 3358 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3359 ac_status=$? 3360 if test -s conftest.err; then 3361 sed '10a\ 3362... rest of stderr output deleted ... 3363 10q' conftest.err >conftest.er1 3364 cat conftest.er1 >&5 3365 fi 3366 rm -f conftest.er1 conftest.err 3367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3368 test $ac_status = 0; } 3369done 3370 3371cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3372/* end confdefs.h. */ 3373 3374int 3375main () 3376{ 3377 3378 ; 3379 return 0; 3380} 3381_ACEOF 3382ac_clean_files_save=$ac_clean_files 3383ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3384# Try to create an executable without -o first, disregard a.out. 3385# It will help us diagnose broken compilers, and finding out an intuition 3386# of exeext. 3387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3388$as_echo_n "checking whether the C compiler works... " >&6; } 3389ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3390 3391# The possible output files: 3392ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3393 3394ac_rmfiles= 3395for ac_file in $ac_files 3396do 3397 case $ac_file in 3398 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3399 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3400 esac 3401done 3402rm -f $ac_rmfiles 3403 3404if { { ac_try="$ac_link_default" 3405case "(($ac_try" in 3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3407 *) ac_try_echo=$ac_try;; 3408esac 3409eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3410$as_echo "$ac_try_echo"; } >&5 3411 (eval "$ac_link_default") 2>&5 3412 ac_status=$? 3413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3414 test $ac_status = 0; }; then : 3415 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3416# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3417# in a Makefile. We should not override ac_cv_exeext if it was cached, 3418# so that the user can short-circuit this test for compilers unknown to 3419# Autoconf. 3420for ac_file in $ac_files '' 3421do 3422 test -f "$ac_file" || continue 3423 case $ac_file in 3424 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3425 ;; 3426 [ab].out ) 3427 # We found the default executable, but exeext='' is most 3428 # certainly right. 3429 break;; 3430 *.* ) 3431 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3432 then :; else 3433 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3434 fi 3435 # We set ac_cv_exeext here because the later test for it is not 3436 # safe: cross compilers may not add the suffix if given an `-o' 3437 # argument, so we may need to know it at that point already. 3438 # Even if this section looks crufty: it has the advantage of 3439 # actually working. 3440 break;; 3441 * ) 3442 break;; 3443 esac 3444done 3445test "$ac_cv_exeext" = no && ac_cv_exeext= 3446 3447else 3448 ac_file='' 3449fi 3450if test -z "$ac_file"; then : 3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3452$as_echo "no" >&6; } 3453$as_echo "$as_me: failed program was:" >&5 3454sed 's/^/| /' conftest.$ac_ext >&5 3455 3456{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3457$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3458as_fn_error 77 "C compiler cannot create executables 3459See \`config.log' for more details" "$LINENO" 5; } 3460else 3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3462$as_echo "yes" >&6; } 3463fi 3464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3465$as_echo_n "checking for C compiler default output file name... " >&6; } 3466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3467$as_echo "$ac_file" >&6; } 3468ac_exeext=$ac_cv_exeext 3469 3470rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3471ac_clean_files=$ac_clean_files_save 3472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3473$as_echo_n "checking for suffix of executables... " >&6; } 3474if { { ac_try="$ac_link" 3475case "(($ac_try" in 3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3477 *) ac_try_echo=$ac_try;; 3478esac 3479eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3480$as_echo "$ac_try_echo"; } >&5 3481 (eval "$ac_link") 2>&5 3482 ac_status=$? 3483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3484 test $ac_status = 0; }; then : 3485 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3486# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3487# work properly (i.e., refer to `conftest.exe'), while it won't with 3488# `rm'. 3489for ac_file in conftest.exe conftest conftest.*; do 3490 test -f "$ac_file" || continue 3491 case $ac_file in 3492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3493 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3494 break;; 3495 * ) break;; 3496 esac 3497done 3498else 3499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3500$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3501as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3502See \`config.log' for more details" "$LINENO" 5; } 3503fi 3504rm -f conftest conftest$ac_cv_exeext 3505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3506$as_echo "$ac_cv_exeext" >&6; } 3507 3508rm -f conftest.$ac_ext 3509EXEEXT=$ac_cv_exeext 3510ac_exeext=$EXEEXT 3511cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3512/* end confdefs.h. */ 3513#include <stdio.h> 3514int 3515main () 3516{ 3517FILE *f = fopen ("conftest.out", "w"); 3518 return ferror (f) || fclose (f) != 0; 3519 3520 ; 3521 return 0; 3522} 3523_ACEOF 3524ac_clean_files="$ac_clean_files conftest.out" 3525# Check that the compiler produces executables we can run. If not, either 3526# the compiler is broken, or we cross compile. 3527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3528$as_echo_n "checking whether we are cross compiling... " >&6; } 3529if test "$cross_compiling" != yes; then 3530 { { ac_try="$ac_link" 3531case "(($ac_try" in 3532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3533 *) ac_try_echo=$ac_try;; 3534esac 3535eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3536$as_echo "$ac_try_echo"; } >&5 3537 (eval "$ac_link") 2>&5 3538 ac_status=$? 3539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3540 test $ac_status = 0; } 3541 if { ac_try='./conftest$ac_cv_exeext' 3542 { { case "(($ac_try" in 3543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3544 *) ac_try_echo=$ac_try;; 3545esac 3546eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3547$as_echo "$ac_try_echo"; } >&5 3548 (eval "$ac_try") 2>&5 3549 ac_status=$? 3550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3551 test $ac_status = 0; }; }; then 3552 cross_compiling=no 3553 else 3554 if test "$cross_compiling" = maybe; then 3555 cross_compiling=yes 3556 else 3557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3558$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3559as_fn_error $? "cannot run C compiled programs. 3560If you meant to cross compile, use \`--host'. 3561See \`config.log' for more details" "$LINENO" 5; } 3562 fi 3563 fi 3564fi 3565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3566$as_echo "$cross_compiling" >&6; } 3567 3568rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3569ac_clean_files=$ac_clean_files_save 3570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3571$as_echo_n "checking for suffix of object files... " >&6; } 3572if ${ac_cv_objext+:} false; then : 3573 $as_echo_n "(cached) " >&6 3574else 3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3576/* end confdefs.h. */ 3577 3578int 3579main () 3580{ 3581 3582 ; 3583 return 0; 3584} 3585_ACEOF 3586rm -f conftest.o conftest.obj 3587if { { ac_try="$ac_compile" 3588case "(($ac_try" in 3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3590 *) ac_try_echo=$ac_try;; 3591esac 3592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3593$as_echo "$ac_try_echo"; } >&5 3594 (eval "$ac_compile") 2>&5 3595 ac_status=$? 3596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3597 test $ac_status = 0; }; then : 3598 for ac_file in conftest.o conftest.obj conftest.*; do 3599 test -f "$ac_file" || continue; 3600 case $ac_file in 3601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3602 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3603 break;; 3604 esac 3605done 3606else 3607 $as_echo "$as_me: failed program was:" >&5 3608sed 's/^/| /' conftest.$ac_ext >&5 3609 3610{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3611$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3612as_fn_error $? "cannot compute suffix of object files: cannot compile 3613See \`config.log' for more details" "$LINENO" 5; } 3614fi 3615rm -f conftest.$ac_cv_objext conftest.$ac_ext 3616fi 3617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3618$as_echo "$ac_cv_objext" >&6; } 3619OBJEXT=$ac_cv_objext 3620ac_objext=$OBJEXT 3621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3622$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3623if ${ac_cv_c_compiler_gnu+:} false; then : 3624 $as_echo_n "(cached) " >&6 3625else 3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3627/* end confdefs.h. */ 3628 3629int 3630main () 3631{ 3632#ifndef __GNUC__ 3633 choke me 3634#endif 3635 3636 ; 3637 return 0; 3638} 3639_ACEOF 3640if ac_fn_c_try_compile "$LINENO"; then : 3641 ac_compiler_gnu=yes 3642else 3643 ac_compiler_gnu=no 3644fi 3645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3646ac_cv_c_compiler_gnu=$ac_compiler_gnu 3647 3648fi 3649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3650$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3651if test $ac_compiler_gnu = yes; then 3652 GCC=yes 3653else 3654 GCC= 3655fi 3656ac_test_CFLAGS=${CFLAGS+set} 3657ac_save_CFLAGS=$CFLAGS 3658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3659$as_echo_n "checking whether $CC accepts -g... " >&6; } 3660if ${ac_cv_prog_cc_g+:} false; then : 3661 $as_echo_n "(cached) " >&6 3662else 3663 ac_save_c_werror_flag=$ac_c_werror_flag 3664 ac_c_werror_flag=yes 3665 ac_cv_prog_cc_g=no 3666 CFLAGS="-g" 3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3668/* end confdefs.h. */ 3669 3670int 3671main () 3672{ 3673 3674 ; 3675 return 0; 3676} 3677_ACEOF 3678if ac_fn_c_try_compile "$LINENO"; then : 3679 ac_cv_prog_cc_g=yes 3680else 3681 CFLAGS="" 3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3683/* end confdefs.h. */ 3684 3685int 3686main () 3687{ 3688 3689 ; 3690 return 0; 3691} 3692_ACEOF 3693if ac_fn_c_try_compile "$LINENO"; then : 3694 3695else 3696 ac_c_werror_flag=$ac_save_c_werror_flag 3697 CFLAGS="-g" 3698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3699/* end confdefs.h. */ 3700 3701int 3702main () 3703{ 3704 3705 ; 3706 return 0; 3707} 3708_ACEOF 3709if ac_fn_c_try_compile "$LINENO"; then : 3710 ac_cv_prog_cc_g=yes 3711fi 3712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3713fi 3714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3715fi 3716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3717 ac_c_werror_flag=$ac_save_c_werror_flag 3718fi 3719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3720$as_echo "$ac_cv_prog_cc_g" >&6; } 3721if test "$ac_test_CFLAGS" = set; then 3722 CFLAGS=$ac_save_CFLAGS 3723elif test $ac_cv_prog_cc_g = yes; then 3724 if test "$GCC" = yes; then 3725 CFLAGS="-g -O2" 3726 else 3727 CFLAGS="-g" 3728 fi 3729else 3730 if test "$GCC" = yes; then 3731 CFLAGS="-O2" 3732 else 3733 CFLAGS= 3734 fi 3735fi 3736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3737$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3738if ${ac_cv_prog_cc_c89+:} false; then : 3739 $as_echo_n "(cached) " >&6 3740else 3741 ac_cv_prog_cc_c89=no 3742ac_save_CC=$CC 3743cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3744/* end confdefs.h. */ 3745#include <stdarg.h> 3746#include <stdio.h> 3747struct stat; 3748/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3749struct buf { int x; }; 3750FILE * (*rcsopen) (struct buf *, struct stat *, int); 3751static char *e (p, i) 3752 char **p; 3753 int i; 3754{ 3755 return p[i]; 3756} 3757static char *f (char * (*g) (char **, int), char **p, ...) 3758{ 3759 char *s; 3760 va_list v; 3761 va_start (v,p); 3762 s = g (p, va_arg (v,int)); 3763 va_end (v); 3764 return s; 3765} 3766 3767/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3768 function prototypes and stuff, but not '\xHH' hex character constants. 3769 These don't provoke an error unfortunately, instead are silently treated 3770 as 'x'. The following induces an error, until -std is added to get 3771 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3772 array size at least. It's necessary to write '\x00'==0 to get something 3773 that's true only with -std. */ 3774int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3775 3776/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3777 inside strings and character constants. */ 3778#define FOO(x) 'x' 3779int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3780 3781int test (int i, double x); 3782struct s1 {int (*f) (int a);}; 3783struct s2 {int (*f) (double a);}; 3784int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3785int argc; 3786char **argv; 3787int 3788main () 3789{ 3790return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3791 ; 3792 return 0; 3793} 3794_ACEOF 3795for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3796 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3797do 3798 CC="$ac_save_CC $ac_arg" 3799 if ac_fn_c_try_compile "$LINENO"; then : 3800 ac_cv_prog_cc_c89=$ac_arg 3801fi 3802rm -f core conftest.err conftest.$ac_objext 3803 test "x$ac_cv_prog_cc_c89" != "xno" && break 3804done 3805rm -f conftest.$ac_ext 3806CC=$ac_save_CC 3807 3808fi 3809# AC_CACHE_VAL 3810case "x$ac_cv_prog_cc_c89" in 3811 x) 3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3813$as_echo "none needed" >&6; } ;; 3814 xno) 3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3816$as_echo "unsupported" >&6; } ;; 3817 *) 3818 CC="$CC $ac_cv_prog_cc_c89" 3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3820$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3821esac 3822if test "x$ac_cv_prog_cc_c89" != xno; then : 3823 3824fi 3825 3826ac_ext=c 3827ac_cpp='$CPP $CPPFLAGS' 3828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3830ac_compiler_gnu=$ac_cv_c_compiler_gnu 3831 3832ac_ext=c 3833ac_cpp='$CPP $CPPFLAGS' 3834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3835ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3836ac_compiler_gnu=$ac_cv_c_compiler_gnu 3837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3838$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3839if ${am_cv_prog_cc_c_o+:} false; then : 3840 $as_echo_n "(cached) " >&6 3841else 3842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3843/* end confdefs.h. */ 3844 3845int 3846main () 3847{ 3848 3849 ; 3850 return 0; 3851} 3852_ACEOF 3853 # Make sure it works both with $CC and with simple cc. 3854 # Following AC_PROG_CC_C_O, we do the test twice because some 3855 # compilers refuse to overwrite an existing .o file with -o, 3856 # though they will create one. 3857 am_cv_prog_cc_c_o=yes 3858 for am_i in 1 2; do 3859 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3860 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3861 ac_status=$? 3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3863 (exit $ac_status); } \ 3864 && test -f conftest2.$ac_objext; then 3865 : OK 3866 else 3867 am_cv_prog_cc_c_o=no 3868 break 3869 fi 3870 done 3871 rm -f core conftest* 3872 unset am_i 3873fi 3874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3875$as_echo "$am_cv_prog_cc_c_o" >&6; } 3876if test "$am_cv_prog_cc_c_o" != yes; then 3877 # Losing compiler, so override with the script. 3878 # FIXME: It is wrong to rewrite CC. 3879 # But if we don't then we get into trouble of one sort or another. 3880 # A longer-term fix would be to have automake use am__CC in this case, 3881 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3882 CC="$am_aux_dir/compile $CC" 3883fi 3884ac_ext=c 3885ac_cpp='$CPP $CPPFLAGS' 3886ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3887ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3888ac_compiler_gnu=$ac_cv_c_compiler_gnu 3889 3890 3891depcc="$CC" am_compiler_list= 3892 3893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3894$as_echo_n "checking dependency style of $depcc... " >&6; } 3895if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3896 $as_echo_n "(cached) " >&6 3897else 3898 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3899 # We make a subdir and do the tests there. Otherwise we can end up 3900 # making bogus files that we don't know about and never remove. For 3901 # instance it was reported that on HP-UX the gcc test will end up 3902 # making a dummy file named 'D' -- because '-MD' means "put the output 3903 # in D". 3904 rm -rf conftest.dir 3905 mkdir conftest.dir 3906 # Copy depcomp to subdir because otherwise we won't find it if we're 3907 # using a relative directory. 3908 cp "$am_depcomp" conftest.dir 3909 cd conftest.dir 3910 # We will build objects and dependencies in a subdirectory because 3911 # it helps to detect inapplicable dependency modes. For instance 3912 # both Tru64's cc and ICC support -MD to output dependencies as a 3913 # side effect of compilation, but ICC will put the dependencies in 3914 # the current directory while Tru64 will put them in the object 3915 # directory. 3916 mkdir sub 3917 3918 am_cv_CC_dependencies_compiler_type=none 3919 if test "$am_compiler_list" = ""; then 3920 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3921 fi 3922 am__universal=false 3923 case " $depcc " in #( 3924 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3925 esac 3926 3927 for depmode in $am_compiler_list; do 3928 # Setup a source with many dependencies, because some compilers 3929 # like to wrap large dependency lists on column 80 (with \), and 3930 # we should not choose a depcomp mode which is confused by this. 3931 # 3932 # We need to recreate these files for each test, as the compiler may 3933 # overwrite some of them when testing with obscure command lines. 3934 # This happens at least with the AIX C compiler. 3935 : > sub/conftest.c 3936 for i in 1 2 3 4 5 6; do 3937 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3938 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3939 # Solaris 10 /bin/sh. 3940 echo '/* dummy */' > sub/conftst$i.h 3941 done 3942 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3943 3944 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3945 # mode. It turns out that the SunPro C++ compiler does not properly 3946 # handle '-M -o', and we need to detect this. Also, some Intel 3947 # versions had trouble with output in subdirs. 3948 am__obj=sub/conftest.${OBJEXT-o} 3949 am__minus_obj="-o $am__obj" 3950 case $depmode in 3951 gcc) 3952 # This depmode causes a compiler race in universal mode. 3953 test "$am__universal" = false || continue 3954 ;; 3955 nosideeffect) 3956 # After this tag, mechanisms are not by side-effect, so they'll 3957 # only be used when explicitly requested. 3958 if test "x$enable_dependency_tracking" = xyes; then 3959 continue 3960 else 3961 break 3962 fi 3963 ;; 3964 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3965 # This compiler won't grok '-c -o', but also, the minuso test has 3966 # not run yet. These depmodes are late enough in the game, and 3967 # so weak that their functioning should not be impacted. 3968 am__obj=conftest.${OBJEXT-o} 3969 am__minus_obj= 3970 ;; 3971 none) break ;; 3972 esac 3973 if depmode=$depmode \ 3974 source=sub/conftest.c object=$am__obj \ 3975 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3976 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3977 >/dev/null 2>conftest.err && 3978 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3979 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3980 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3981 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3982 # icc doesn't choke on unknown options, it will just issue warnings 3983 # or remarks (even with -Werror). So we grep stderr for any message 3984 # that says an option was ignored or not supported. 3985 # When given -MP, icc 7.0 and 7.1 complain thusly: 3986 # icc: Command line warning: ignoring option '-M'; no argument required 3987 # The diagnosis changed in icc 8.0: 3988 # icc: Command line remark: option '-MP' not supported 3989 if (grep 'ignoring option' conftest.err || 3990 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3991 am_cv_CC_dependencies_compiler_type=$depmode 3992 break 3993 fi 3994 fi 3995 done 3996 3997 cd .. 3998 rm -rf conftest.dir 3999else 4000 am_cv_CC_dependencies_compiler_type=none 4001fi 4002 4003fi 4004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4005$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4006CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4007 4008 if 4009 test "x$enable_dependency_tracking" != xno \ 4010 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4011 am__fastdepCC_TRUE= 4012 am__fastdepCC_FALSE='#' 4013else 4014 am__fastdepCC_TRUE='#' 4015 am__fastdepCC_FALSE= 4016fi 4017 4018 4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 4020$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 4021if ${ac_cv_prog_cc_c99+:} false; then : 4022 $as_echo_n "(cached) " >&6 4023else 4024 ac_cv_prog_cc_c99=no 4025ac_save_CC=$CC 4026cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4027/* end confdefs.h. */ 4028#include <stdarg.h> 4029#include <stdbool.h> 4030#include <stdlib.h> 4031#include <wchar.h> 4032#include <stdio.h> 4033 4034// Check varargs macros. These examples are taken from C99 6.10.3.5. 4035#define debug(...) fprintf (stderr, __VA_ARGS__) 4036#define showlist(...) puts (#__VA_ARGS__) 4037#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4038static void 4039test_varargs_macros (void) 4040{ 4041 int x = 1234; 4042 int y = 5678; 4043 debug ("Flag"); 4044 debug ("X = %d\n", x); 4045 showlist (The first, second, and third items.); 4046 report (x>y, "x is %d but y is %d", x, y); 4047} 4048 4049// Check long long types. 4050#define BIG64 18446744073709551615ull 4051#define BIG32 4294967295ul 4052#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4053#if !BIG_OK 4054 your preprocessor is broken; 4055#endif 4056#if BIG_OK 4057#else 4058 your preprocessor is broken; 4059#endif 4060static long long int bignum = -9223372036854775807LL; 4061static unsigned long long int ubignum = BIG64; 4062 4063struct incomplete_array 4064{ 4065 int datasize; 4066 double data[]; 4067}; 4068 4069struct named_init { 4070 int number; 4071 const wchar_t *name; 4072 double average; 4073}; 4074 4075typedef const char *ccp; 4076 4077static inline int 4078test_restrict (ccp restrict text) 4079{ 4080 // See if C++-style comments work. 4081 // Iterate through items via the restricted pointer. 4082 // Also check for declarations in for loops. 4083 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4084 continue; 4085 return 0; 4086} 4087 4088// Check varargs and va_copy. 4089static void 4090test_varargs (const char *format, ...) 4091{ 4092 va_list args; 4093 va_start (args, format); 4094 va_list args_copy; 4095 va_copy (args_copy, args); 4096 4097 const char *str; 4098 int number; 4099 float fnumber; 4100 4101 while (*format) 4102 { 4103 switch (*format++) 4104 { 4105 case 's': // string 4106 str = va_arg (args_copy, const char *); 4107 break; 4108 case 'd': // int 4109 number = va_arg (args_copy, int); 4110 break; 4111 case 'f': // float 4112 fnumber = va_arg (args_copy, double); 4113 break; 4114 default: 4115 break; 4116 } 4117 } 4118 va_end (args_copy); 4119 va_end (args); 4120} 4121 4122int 4123main () 4124{ 4125 4126 // Check bool. 4127 _Bool success = false; 4128 4129 // Check restrict. 4130 if (test_restrict ("String literal") == 0) 4131 success = true; 4132 char *restrict newvar = "Another string"; 4133 4134 // Check varargs. 4135 test_varargs ("s, d' f .", "string", 65, 34.234); 4136 test_varargs_macros (); 4137 4138 // Check flexible array members. 4139 struct incomplete_array *ia = 4140 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4141 ia->datasize = 10; 4142 for (int i = 0; i < ia->datasize; ++i) 4143 ia->data[i] = i * 1.234; 4144 4145 // Check named initializers. 4146 struct named_init ni = { 4147 .number = 34, 4148 .name = L"Test wide string", 4149 .average = 543.34343, 4150 }; 4151 4152 ni.number = 58; 4153 4154 int dynamic_array[ni.number]; 4155 dynamic_array[ni.number - 1] = 543; 4156 4157 // work around unused variable warnings 4158 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4159 || dynamic_array[ni.number - 1] != 543); 4160 4161 ; 4162 return 0; 4163} 4164_ACEOF 4165for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 4166do 4167 CC="$ac_save_CC $ac_arg" 4168 if ac_fn_c_try_compile "$LINENO"; then : 4169 ac_cv_prog_cc_c99=$ac_arg 4170fi 4171rm -f core conftest.err conftest.$ac_objext 4172 test "x$ac_cv_prog_cc_c99" != "xno" && break 4173done 4174rm -f conftest.$ac_ext 4175CC=$ac_save_CC 4176 4177fi 4178# AC_CACHE_VAL 4179case "x$ac_cv_prog_cc_c99" in 4180 x) 4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4182$as_echo "none needed" >&6; } ;; 4183 xno) 4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4185$as_echo "unsupported" >&6; } ;; 4186 *) 4187 CC="$CC $ac_cv_prog_cc_c99" 4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4189$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4190esac 4191if test "x$ac_cv_prog_cc_c99" != xno; then : 4192 4193fi 4194 4195 4196 4197 4198 4199if test -n "$ac_tool_prefix"; then 4200 for ac_prog in ar lib "link -lib" 4201 do 4202 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4203set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4205$as_echo_n "checking for $ac_word... " >&6; } 4206if ${ac_cv_prog_AR+:} false; then : 4207 $as_echo_n "(cached) " >&6 4208else 4209 if test -n "$AR"; then 4210 ac_cv_prog_AR="$AR" # Let the user override the test. 4211else 4212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4213for as_dir in $PATH 4214do 4215 IFS=$as_save_IFS 4216 test -z "$as_dir" && as_dir=. 4217 for ac_exec_ext in '' $ac_executable_extensions; do 4218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4219 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 4220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4221 break 2 4222 fi 4223done 4224 done 4225IFS=$as_save_IFS 4226 4227fi 4228fi 4229AR=$ac_cv_prog_AR 4230if test -n "$AR"; then 4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4232$as_echo "$AR" >&6; } 4233else 4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4235$as_echo "no" >&6; } 4236fi 4237 4238 4239 test -n "$AR" && break 4240 done 4241fi 4242if test -z "$AR"; then 4243 ac_ct_AR=$AR 4244 for ac_prog in ar lib "link -lib" 4245do 4246 # Extract the first word of "$ac_prog", so it can be a program name with args. 4247set dummy $ac_prog; ac_word=$2 4248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4249$as_echo_n "checking for $ac_word... " >&6; } 4250if ${ac_cv_prog_ac_ct_AR+:} false; then : 4251 $as_echo_n "(cached) " >&6 4252else 4253 if test -n "$ac_ct_AR"; then 4254 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4255else 4256as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4257for as_dir in $PATH 4258do 4259 IFS=$as_save_IFS 4260 test -z "$as_dir" && as_dir=. 4261 for ac_exec_ext in '' $ac_executable_extensions; do 4262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4263 ac_cv_prog_ac_ct_AR="$ac_prog" 4264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4265 break 2 4266 fi 4267done 4268 done 4269IFS=$as_save_IFS 4270 4271fi 4272fi 4273ac_ct_AR=$ac_cv_prog_ac_ct_AR 4274if test -n "$ac_ct_AR"; then 4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 4276$as_echo "$ac_ct_AR" >&6; } 4277else 4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4279$as_echo "no" >&6; } 4280fi 4281 4282 4283 test -n "$ac_ct_AR" && break 4284done 4285 4286 if test "x$ac_ct_AR" = x; then 4287 AR="false" 4288 else 4289 case $cross_compiling:$ac_tool_warned in 4290yes:) 4291{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4292$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4293ac_tool_warned=yes ;; 4294esac 4295 AR=$ac_ct_AR 4296 fi 4297fi 4298 4299: ${AR=ar} 4300 4301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 4302$as_echo_n "checking the archiver ($AR) interface... " >&6; } 4303if ${am_cv_ar_interface+:} false; then : 4304 $as_echo_n "(cached) " >&6 4305else 4306 ac_ext=c 4307ac_cpp='$CPP $CPPFLAGS' 4308ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4309ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4310ac_compiler_gnu=$ac_cv_c_compiler_gnu 4311 4312 am_cv_ar_interface=ar 4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4314/* end confdefs.h. */ 4315int some_variable = 0; 4316_ACEOF 4317if ac_fn_c_try_compile "$LINENO"; then : 4318 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 4319 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4320 (eval $am_ar_try) 2>&5 4321 ac_status=$? 4322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4323 test $ac_status = 0; } 4324 if test "$ac_status" -eq 0; then 4325 am_cv_ar_interface=ar 4326 else 4327 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 4328 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4329 (eval $am_ar_try) 2>&5 4330 ac_status=$? 4331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4332 test $ac_status = 0; } 4333 if test "$ac_status" -eq 0; then 4334 am_cv_ar_interface=lib 4335 else 4336 am_cv_ar_interface=unknown 4337 fi 4338 fi 4339 rm -f conftest.lib libconftest.a 4340 4341fi 4342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4343 ac_ext=c 4344ac_cpp='$CPP $CPPFLAGS' 4345ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4346ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4347ac_compiler_gnu=$ac_cv_c_compiler_gnu 4348 4349fi 4350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 4351$as_echo "$am_cv_ar_interface" >&6; } 4352 4353case $am_cv_ar_interface in 4354ar) 4355 ;; 4356lib) 4357 # Microsoft lib, so override with the ar-lib wrapper script. 4358 # FIXME: It is wrong to rewrite AR. 4359 # But if we don't then we get into trouble of one sort or another. 4360 # A longer-term fix would be to have automake use am__AR in this case, 4361 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 4362 # similar. 4363 AR="$am_aux_dir/ar-lib $AR" 4364 ;; 4365unknown) 4366 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 4367 ;; 4368esac 4369 4370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4371$as_echo_n "checking whether ln -s works... " >&6; } 4372LN_S=$as_ln_s 4373if test "$LN_S" = "ln -s"; then 4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4375$as_echo "yes" >&6; } 4376else 4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4378$as_echo "no, using $LN_S" >&6; } 4379fi 4380 4381case `pwd` in 4382 *\ * | *\ *) 4383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4384$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4385esac 4386 4387 4388 4389macro_version='2.4.6' 4390macro_revision='2.4.6' 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404ltmain=$ac_aux_dir/ltmain.sh 4405 4406# Make sure we can run config.sub. 4407$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4408 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4409 4410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4411$as_echo_n "checking build system type... " >&6; } 4412if ${ac_cv_build+:} false; then : 4413 $as_echo_n "(cached) " >&6 4414else 4415 ac_build_alias=$build_alias 4416test "x$ac_build_alias" = x && 4417 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4418test "x$ac_build_alias" = x && 4419 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4420ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4421 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4422 4423fi 4424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4425$as_echo "$ac_cv_build" >&6; } 4426case $ac_cv_build in 4427*-*-*) ;; 4428*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4429esac 4430build=$ac_cv_build 4431ac_save_IFS=$IFS; IFS='-' 4432set x $ac_cv_build 4433shift 4434build_cpu=$1 4435build_vendor=$2 4436shift; shift 4437# Remember, the first character of IFS is used to create $*, 4438# except with old shells: 4439build_os=$* 4440IFS=$ac_save_IFS 4441case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4442 4443 4444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4445$as_echo_n "checking host system type... " >&6; } 4446if ${ac_cv_host+:} false; then : 4447 $as_echo_n "(cached) " >&6 4448else 4449 if test "x$host_alias" = x; then 4450 ac_cv_host=$ac_cv_build 4451else 4452 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4453 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4454fi 4455 4456fi 4457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4458$as_echo "$ac_cv_host" >&6; } 4459case $ac_cv_host in 4460*-*-*) ;; 4461*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4462esac 4463host=$ac_cv_host 4464ac_save_IFS=$IFS; IFS='-' 4465set x $ac_cv_host 4466shift 4467host_cpu=$1 4468host_vendor=$2 4469shift; shift 4470# Remember, the first character of IFS is used to create $*, 4471# except with old shells: 4472host_os=$* 4473IFS=$ac_save_IFS 4474case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4475 4476 4477# Backslashify metacharacters that are still active within 4478# double-quoted strings. 4479sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4480 4481# Same as above, but do not quote variable references. 4482double_quote_subst='s/\(["`\\]\)/\\\1/g' 4483 4484# Sed substitution to delay expansion of an escaped shell variable in a 4485# double_quote_subst'ed string. 4486delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4487 4488# Sed substitution to delay expansion of an escaped single quote. 4489delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4490 4491# Sed substitution to avoid accidental globbing in evaled expressions 4492no_glob_subst='s/\*/\\\*/g' 4493 4494ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4495ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4496ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4497 4498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4499$as_echo_n "checking how to print strings... " >&6; } 4500# Test print first, because it will be a builtin if present. 4501if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4502 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4503 ECHO='print -r --' 4504elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4505 ECHO='printf %s\n' 4506else 4507 # Use this function as a fallback that always works. 4508 func_fallback_echo () 4509 { 4510 eval 'cat <<_LTECHO_EOF 4511$1 4512_LTECHO_EOF' 4513 } 4514 ECHO='func_fallback_echo' 4515fi 4516 4517# func_echo_all arg... 4518# Invoke $ECHO with all args, space-separated. 4519func_echo_all () 4520{ 4521 $ECHO "" 4522} 4523 4524case $ECHO in 4525 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4526$as_echo "printf" >&6; } ;; 4527 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4528$as_echo "print -r" >&6; } ;; 4529 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4530$as_echo "cat" >&6; } ;; 4531esac 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4547$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4548if ${ac_cv_path_SED+:} false; then : 4549 $as_echo_n "(cached) " >&6 4550else 4551 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4552 for ac_i in 1 2 3 4 5 6 7; do 4553 ac_script="$ac_script$as_nl$ac_script" 4554 done 4555 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4556 { ac_script=; unset ac_script;} 4557 if test -z "$SED"; then 4558 ac_path_SED_found=false 4559 # Loop through the user's path and test for each of PROGNAME-LIST 4560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4561for as_dir in $PATH 4562do 4563 IFS=$as_save_IFS 4564 test -z "$as_dir" && as_dir=. 4565 for ac_prog in sed gsed; do 4566 for ac_exec_ext in '' $ac_executable_extensions; do 4567 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4568 as_fn_executable_p "$ac_path_SED" || continue 4569# Check for GNU ac_path_SED and select it if it is found. 4570 # Check for GNU $ac_path_SED 4571case `"$ac_path_SED" --version 2>&1` in 4572*GNU*) 4573 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4574*) 4575 ac_count=0 4576 $as_echo_n 0123456789 >"conftest.in" 4577 while : 4578 do 4579 cat "conftest.in" "conftest.in" >"conftest.tmp" 4580 mv "conftest.tmp" "conftest.in" 4581 cp "conftest.in" "conftest.nl" 4582 $as_echo '' >> "conftest.nl" 4583 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4584 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4585 as_fn_arith $ac_count + 1 && ac_count=$as_val 4586 if test $ac_count -gt ${ac_path_SED_max-0}; then 4587 # Best one so far, save it but keep looking for a better one 4588 ac_cv_path_SED="$ac_path_SED" 4589 ac_path_SED_max=$ac_count 4590 fi 4591 # 10*(2^10) chars as input seems more than enough 4592 test $ac_count -gt 10 && break 4593 done 4594 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4595esac 4596 4597 $ac_path_SED_found && break 3 4598 done 4599 done 4600 done 4601IFS=$as_save_IFS 4602 if test -z "$ac_cv_path_SED"; then 4603 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4604 fi 4605else 4606 ac_cv_path_SED=$SED 4607fi 4608 4609fi 4610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4611$as_echo "$ac_cv_path_SED" >&6; } 4612 SED="$ac_cv_path_SED" 4613 rm -f conftest.sed 4614 4615test -z "$SED" && SED=sed 4616Xsed="$SED -e 1s/^X//" 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4629$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4630if ${ac_cv_path_GREP+:} false; then : 4631 $as_echo_n "(cached) " >&6 4632else 4633 if test -z "$GREP"; then 4634 ac_path_GREP_found=false 4635 # Loop through the user's path and test for each of PROGNAME-LIST 4636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4637for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4638do 4639 IFS=$as_save_IFS 4640 test -z "$as_dir" && as_dir=. 4641 for ac_prog in grep ggrep; do 4642 for ac_exec_ext in '' $ac_executable_extensions; do 4643 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4644 as_fn_executable_p "$ac_path_GREP" || continue 4645# Check for GNU ac_path_GREP and select it if it is found. 4646 # Check for GNU $ac_path_GREP 4647case `"$ac_path_GREP" --version 2>&1` in 4648*GNU*) 4649 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4650*) 4651 ac_count=0 4652 $as_echo_n 0123456789 >"conftest.in" 4653 while : 4654 do 4655 cat "conftest.in" "conftest.in" >"conftest.tmp" 4656 mv "conftest.tmp" "conftest.in" 4657 cp "conftest.in" "conftest.nl" 4658 $as_echo 'GREP' >> "conftest.nl" 4659 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4660 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4661 as_fn_arith $ac_count + 1 && ac_count=$as_val 4662 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4663 # Best one so far, save it but keep looking for a better one 4664 ac_cv_path_GREP="$ac_path_GREP" 4665 ac_path_GREP_max=$ac_count 4666 fi 4667 # 10*(2^10) chars as input seems more than enough 4668 test $ac_count -gt 10 && break 4669 done 4670 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4671esac 4672 4673 $ac_path_GREP_found && break 3 4674 done 4675 done 4676 done 4677IFS=$as_save_IFS 4678 if test -z "$ac_cv_path_GREP"; then 4679 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4680 fi 4681else 4682 ac_cv_path_GREP=$GREP 4683fi 4684 4685fi 4686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4687$as_echo "$ac_cv_path_GREP" >&6; } 4688 GREP="$ac_cv_path_GREP" 4689 4690 4691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4692$as_echo_n "checking for egrep... " >&6; } 4693if ${ac_cv_path_EGREP+:} false; then : 4694 $as_echo_n "(cached) " >&6 4695else 4696 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4697 then ac_cv_path_EGREP="$GREP -E" 4698 else 4699 if test -z "$EGREP"; then 4700 ac_path_EGREP_found=false 4701 # Loop through the user's path and test for each of PROGNAME-LIST 4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4703for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4704do 4705 IFS=$as_save_IFS 4706 test -z "$as_dir" && as_dir=. 4707 for ac_prog in egrep; do 4708 for ac_exec_ext in '' $ac_executable_extensions; do 4709 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4710 as_fn_executable_p "$ac_path_EGREP" || continue 4711# Check for GNU ac_path_EGREP and select it if it is found. 4712 # Check for GNU $ac_path_EGREP 4713case `"$ac_path_EGREP" --version 2>&1` in 4714*GNU*) 4715 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4716*) 4717 ac_count=0 4718 $as_echo_n 0123456789 >"conftest.in" 4719 while : 4720 do 4721 cat "conftest.in" "conftest.in" >"conftest.tmp" 4722 mv "conftest.tmp" "conftest.in" 4723 cp "conftest.in" "conftest.nl" 4724 $as_echo 'EGREP' >> "conftest.nl" 4725 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4726 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4727 as_fn_arith $ac_count + 1 && ac_count=$as_val 4728 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4729 # Best one so far, save it but keep looking for a better one 4730 ac_cv_path_EGREP="$ac_path_EGREP" 4731 ac_path_EGREP_max=$ac_count 4732 fi 4733 # 10*(2^10) chars as input seems more than enough 4734 test $ac_count -gt 10 && break 4735 done 4736 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4737esac 4738 4739 $ac_path_EGREP_found && break 3 4740 done 4741 done 4742 done 4743IFS=$as_save_IFS 4744 if test -z "$ac_cv_path_EGREP"; then 4745 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4746 fi 4747else 4748 ac_cv_path_EGREP=$EGREP 4749fi 4750 4751 fi 4752fi 4753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4754$as_echo "$ac_cv_path_EGREP" >&6; } 4755 EGREP="$ac_cv_path_EGREP" 4756 4757 4758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4759$as_echo_n "checking for fgrep... " >&6; } 4760if ${ac_cv_path_FGREP+:} false; then : 4761 $as_echo_n "(cached) " >&6 4762else 4763 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4764 then ac_cv_path_FGREP="$GREP -F" 4765 else 4766 if test -z "$FGREP"; then 4767 ac_path_FGREP_found=false 4768 # Loop through the user's path and test for each of PROGNAME-LIST 4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4770for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4771do 4772 IFS=$as_save_IFS 4773 test -z "$as_dir" && as_dir=. 4774 for ac_prog in fgrep; do 4775 for ac_exec_ext in '' $ac_executable_extensions; do 4776 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4777 as_fn_executable_p "$ac_path_FGREP" || continue 4778# Check for GNU ac_path_FGREP and select it if it is found. 4779 # Check for GNU $ac_path_FGREP 4780case `"$ac_path_FGREP" --version 2>&1` in 4781*GNU*) 4782 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4783*) 4784 ac_count=0 4785 $as_echo_n 0123456789 >"conftest.in" 4786 while : 4787 do 4788 cat "conftest.in" "conftest.in" >"conftest.tmp" 4789 mv "conftest.tmp" "conftest.in" 4790 cp "conftest.in" "conftest.nl" 4791 $as_echo 'FGREP' >> "conftest.nl" 4792 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4793 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4794 as_fn_arith $ac_count + 1 && ac_count=$as_val 4795 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4796 # Best one so far, save it but keep looking for a better one 4797 ac_cv_path_FGREP="$ac_path_FGREP" 4798 ac_path_FGREP_max=$ac_count 4799 fi 4800 # 10*(2^10) chars as input seems more than enough 4801 test $ac_count -gt 10 && break 4802 done 4803 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4804esac 4805 4806 $ac_path_FGREP_found && break 3 4807 done 4808 done 4809 done 4810IFS=$as_save_IFS 4811 if test -z "$ac_cv_path_FGREP"; then 4812 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4813 fi 4814else 4815 ac_cv_path_FGREP=$FGREP 4816fi 4817 4818 fi 4819fi 4820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4821$as_echo "$ac_cv_path_FGREP" >&6; } 4822 FGREP="$ac_cv_path_FGREP" 4823 4824 4825test -z "$GREP" && GREP=grep 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845# Check whether --with-gnu-ld was given. 4846if test "${with_gnu_ld+set}" = set; then : 4847 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4848else 4849 with_gnu_ld=no 4850fi 4851 4852ac_prog=ld 4853if test yes = "$GCC"; then 4854 # Check if gcc -print-prog-name=ld gives a path. 4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4856$as_echo_n "checking for ld used by $CC... " >&6; } 4857 case $host in 4858 *-*-mingw*) 4859 # gcc leaves a trailing carriage return, which upsets mingw 4860 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4861 *) 4862 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4863 esac 4864 case $ac_prog in 4865 # Accept absolute paths. 4866 [\\/]* | ?:[\\/]*) 4867 re_direlt='/[^/][^/]*/\.\./' 4868 # Canonicalize the pathname of ld 4869 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4870 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4871 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4872 done 4873 test -z "$LD" && LD=$ac_prog 4874 ;; 4875 "") 4876 # If it fails, then pretend we aren't using GCC. 4877 ac_prog=ld 4878 ;; 4879 *) 4880 # If it is relative, then search for the first ld in PATH. 4881 with_gnu_ld=unknown 4882 ;; 4883 esac 4884elif test yes = "$with_gnu_ld"; then 4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4886$as_echo_n "checking for GNU ld... " >&6; } 4887else 4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4889$as_echo_n "checking for non-GNU ld... " >&6; } 4890fi 4891if ${lt_cv_path_LD+:} false; then : 4892 $as_echo_n "(cached) " >&6 4893else 4894 if test -z "$LD"; then 4895 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4896 for ac_dir in $PATH; do 4897 IFS=$lt_save_ifs 4898 test -z "$ac_dir" && ac_dir=. 4899 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4900 lt_cv_path_LD=$ac_dir/$ac_prog 4901 # Check to see if the program is GNU ld. I'd rather use --version, 4902 # but apparently some variants of GNU ld only accept -v. 4903 # Break only if it was the GNU/non-GNU ld that we prefer. 4904 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4905 *GNU* | *'with BFD'*) 4906 test no != "$with_gnu_ld" && break 4907 ;; 4908 *) 4909 test yes != "$with_gnu_ld" && break 4910 ;; 4911 esac 4912 fi 4913 done 4914 IFS=$lt_save_ifs 4915else 4916 lt_cv_path_LD=$LD # Let the user override the test with a path. 4917fi 4918fi 4919 4920LD=$lt_cv_path_LD 4921if test -n "$LD"; then 4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4923$as_echo "$LD" >&6; } 4924else 4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4926$as_echo "no" >&6; } 4927fi 4928test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4930$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4931if ${lt_cv_prog_gnu_ld+:} false; then : 4932 $as_echo_n "(cached) " >&6 4933else 4934 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4935case `$LD -v 2>&1 </dev/null` in 4936*GNU* | *'with BFD'*) 4937 lt_cv_prog_gnu_ld=yes 4938 ;; 4939*) 4940 lt_cv_prog_gnu_ld=no 4941 ;; 4942esac 4943fi 4944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4945$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4946with_gnu_ld=$lt_cv_prog_gnu_ld 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4957$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4958if ${lt_cv_path_NM+:} false; then : 4959 $as_echo_n "(cached) " >&6 4960else 4961 if test -n "$NM"; then 4962 # Let the user override the test. 4963 lt_cv_path_NM=$NM 4964else 4965 lt_nm_to_check=${ac_tool_prefix}nm 4966 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4967 lt_nm_to_check="$lt_nm_to_check nm" 4968 fi 4969 for lt_tmp_nm in $lt_nm_to_check; do 4970 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4971 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4972 IFS=$lt_save_ifs 4973 test -z "$ac_dir" && ac_dir=. 4974 tmp_nm=$ac_dir/$lt_tmp_nm 4975 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4976 # Check to see if the nm accepts a BSD-compat flag. 4977 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4978 # nm: unknown option "B" ignored 4979 # Tru64's nm complains that /dev/null is an invalid object file 4980 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4981 case $build_os in 4982 mingw*) lt_bad_file=conftest.nm/nofile ;; 4983 *) lt_bad_file=/dev/null ;; 4984 esac 4985 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4986 *$lt_bad_file* | *'Invalid file or object type'*) 4987 lt_cv_path_NM="$tmp_nm -B" 4988 break 2 4989 ;; 4990 *) 4991 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4992 */dev/null*) 4993 lt_cv_path_NM="$tmp_nm -p" 4994 break 2 4995 ;; 4996 *) 4997 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4998 continue # so that we can try to find one that supports BSD flags 4999 ;; 5000 esac 5001 ;; 5002 esac 5003 fi 5004 done 5005 IFS=$lt_save_ifs 5006 done 5007 : ${lt_cv_path_NM=no} 5008fi 5009fi 5010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5011$as_echo "$lt_cv_path_NM" >&6; } 5012if test no != "$lt_cv_path_NM"; then 5013 NM=$lt_cv_path_NM 5014else 5015 # Didn't find any BSD compatible name lister, look for dumpbin. 5016 if test -n "$DUMPBIN"; then : 5017 # Let the user override the test. 5018 else 5019 if test -n "$ac_tool_prefix"; then 5020 for ac_prog in dumpbin "link -dump" 5021 do 5022 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5023set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5025$as_echo_n "checking for $ac_word... " >&6; } 5026if ${ac_cv_prog_DUMPBIN+:} false; then : 5027 $as_echo_n "(cached) " >&6 5028else 5029 if test -n "$DUMPBIN"; then 5030 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5031else 5032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5033for as_dir in $PATH 5034do 5035 IFS=$as_save_IFS 5036 test -z "$as_dir" && as_dir=. 5037 for ac_exec_ext in '' $ac_executable_extensions; do 5038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5039 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5041 break 2 5042 fi 5043done 5044 done 5045IFS=$as_save_IFS 5046 5047fi 5048fi 5049DUMPBIN=$ac_cv_prog_DUMPBIN 5050if test -n "$DUMPBIN"; then 5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5052$as_echo "$DUMPBIN" >&6; } 5053else 5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5055$as_echo "no" >&6; } 5056fi 5057 5058 5059 test -n "$DUMPBIN" && break 5060 done 5061fi 5062if test -z "$DUMPBIN"; then 5063 ac_ct_DUMPBIN=$DUMPBIN 5064 for ac_prog in dumpbin "link -dump" 5065do 5066 # Extract the first word of "$ac_prog", so it can be a program name with args. 5067set dummy $ac_prog; ac_word=$2 5068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5069$as_echo_n "checking for $ac_word... " >&6; } 5070if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5071 $as_echo_n "(cached) " >&6 5072else 5073 if test -n "$ac_ct_DUMPBIN"; then 5074 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5075else 5076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5077for as_dir in $PATH 5078do 5079 IFS=$as_save_IFS 5080 test -z "$as_dir" && as_dir=. 5081 for ac_exec_ext in '' $ac_executable_extensions; do 5082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5083 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5085 break 2 5086 fi 5087done 5088 done 5089IFS=$as_save_IFS 5090 5091fi 5092fi 5093ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5094if test -n "$ac_ct_DUMPBIN"; then 5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5096$as_echo "$ac_ct_DUMPBIN" >&6; } 5097else 5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5099$as_echo "no" >&6; } 5100fi 5101 5102 5103 test -n "$ac_ct_DUMPBIN" && break 5104done 5105 5106 if test "x$ac_ct_DUMPBIN" = x; then 5107 DUMPBIN=":" 5108 else 5109 case $cross_compiling:$ac_tool_warned in 5110yes:) 5111{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5112$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5113ac_tool_warned=yes ;; 5114esac 5115 DUMPBIN=$ac_ct_DUMPBIN 5116 fi 5117fi 5118 5119 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5120 *COFF*) 5121 DUMPBIN="$DUMPBIN -symbols -headers" 5122 ;; 5123 *) 5124 DUMPBIN=: 5125 ;; 5126 esac 5127 fi 5128 5129 if test : != "$DUMPBIN"; then 5130 NM=$DUMPBIN 5131 fi 5132fi 5133test -z "$NM" && NM=nm 5134 5135 5136 5137 5138 5139 5140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5141$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5142if ${lt_cv_nm_interface+:} false; then : 5143 $as_echo_n "(cached) " >&6 5144else 5145 lt_cv_nm_interface="BSD nm" 5146 echo "int some_variable = 0;" > conftest.$ac_ext 5147 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5148 (eval "$ac_compile" 2>conftest.err) 5149 cat conftest.err >&5 5150 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5151 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5152 cat conftest.err >&5 5153 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5154 cat conftest.out >&5 5155 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5156 lt_cv_nm_interface="MS dumpbin" 5157 fi 5158 rm -f conftest* 5159fi 5160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5161$as_echo "$lt_cv_nm_interface" >&6; } 5162 5163# find the maximum length of command line arguments 5164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5165$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5166if ${lt_cv_sys_max_cmd_len+:} false; then : 5167 $as_echo_n "(cached) " >&6 5168else 5169 i=0 5170 teststring=ABCD 5171 5172 case $build_os in 5173 msdosdjgpp*) 5174 # On DJGPP, this test can blow up pretty badly due to problems in libc 5175 # (any single argument exceeding 2000 bytes causes a buffer overrun 5176 # during glob expansion). Even if it were fixed, the result of this 5177 # check would be larger than it should be. 5178 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5179 ;; 5180 5181 gnu*) 5182 # Under GNU Hurd, this test is not required because there is 5183 # no limit to the length of command line arguments. 5184 # Libtool will interpret -1 as no limit whatsoever 5185 lt_cv_sys_max_cmd_len=-1; 5186 ;; 5187 5188 cygwin* | mingw* | cegcc*) 5189 # On Win9x/ME, this test blows up -- it succeeds, but takes 5190 # about 5 minutes as the teststring grows exponentially. 5191 # Worse, since 9x/ME are not pre-emptively multitasking, 5192 # you end up with a "frozen" computer, even though with patience 5193 # the test eventually succeeds (with a max line length of 256k). 5194 # Instead, let's just punt: use the minimum linelength reported by 5195 # all of the supported platforms: 8192 (on NT/2K/XP). 5196 lt_cv_sys_max_cmd_len=8192; 5197 ;; 5198 5199 mint*) 5200 # On MiNT this can take a long time and run out of memory. 5201 lt_cv_sys_max_cmd_len=8192; 5202 ;; 5203 5204 amigaos*) 5205 # On AmigaOS with pdksh, this test takes hours, literally. 5206 # So we just punt and use a minimum line length of 8192. 5207 lt_cv_sys_max_cmd_len=8192; 5208 ;; 5209 5210 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5211 # This has been around since 386BSD, at least. Likely further. 5212 if test -x /sbin/sysctl; then 5213 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5214 elif test -x /usr/sbin/sysctl; then 5215 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5216 else 5217 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5218 fi 5219 # And add a safety zone 5220 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5221 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5222 ;; 5223 5224 interix*) 5225 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5226 lt_cv_sys_max_cmd_len=196608 5227 ;; 5228 5229 os2*) 5230 # The test takes a long time on OS/2. 5231 lt_cv_sys_max_cmd_len=8192 5232 ;; 5233 5234 osf*) 5235 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5236 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5237 # nice to cause kernel panics so lets avoid the loop below. 5238 # First set a reasonable default. 5239 lt_cv_sys_max_cmd_len=16384 5240 # 5241 if test -x /sbin/sysconfig; then 5242 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5243 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5244 esac 5245 fi 5246 ;; 5247 sco3.2v5*) 5248 lt_cv_sys_max_cmd_len=102400 5249 ;; 5250 sysv5* | sco5v6* | sysv4.2uw2*) 5251 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5252 if test -n "$kargmax"; then 5253 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5254 else 5255 lt_cv_sys_max_cmd_len=32768 5256 fi 5257 ;; 5258 *) 5259 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5260 if test -n "$lt_cv_sys_max_cmd_len" && \ 5261 test undefined != "$lt_cv_sys_max_cmd_len"; then 5262 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5263 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5264 else 5265 # Make teststring a little bigger before we do anything with it. 5266 # a 1K string should be a reasonable start. 5267 for i in 1 2 3 4 5 6 7 8; do 5268 teststring=$teststring$teststring 5269 done 5270 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5271 # If test is not a shell built-in, we'll probably end up computing a 5272 # maximum length that is only half of the actual maximum length, but 5273 # we can't tell. 5274 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5275 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5276 test 17 != "$i" # 1/2 MB should be enough 5277 do 5278 i=`expr $i + 1` 5279 teststring=$teststring$teststring 5280 done 5281 # Only check the string length outside the loop. 5282 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5283 teststring= 5284 # Add a significant safety factor because C++ compilers can tack on 5285 # massive amounts of additional arguments before passing them to the 5286 # linker. It appears as though 1/2 is a usable value. 5287 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5288 fi 5289 ;; 5290 esac 5291 5292fi 5293 5294if test -n "$lt_cv_sys_max_cmd_len"; then 5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5296$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5297else 5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5299$as_echo "none" >&6; } 5300fi 5301max_cmd_len=$lt_cv_sys_max_cmd_len 5302 5303 5304 5305 5306 5307 5308: ${CP="cp -f"} 5309: ${MV="mv -f"} 5310: ${RM="rm -f"} 5311 5312if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5313 lt_unset=unset 5314else 5315 lt_unset=false 5316fi 5317 5318 5319 5320 5321 5322# test EBCDIC or ASCII 5323case `echo X|tr X '\101'` in 5324 A) # ASCII based system 5325 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5326 lt_SP2NL='tr \040 \012' 5327 lt_NL2SP='tr \015\012 \040\040' 5328 ;; 5329 *) # EBCDIC based system 5330 lt_SP2NL='tr \100 \n' 5331 lt_NL2SP='tr \r\n \100\100' 5332 ;; 5333esac 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5344$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5345if ${lt_cv_to_host_file_cmd+:} false; then : 5346 $as_echo_n "(cached) " >&6 5347else 5348 case $host in 5349 *-*-mingw* ) 5350 case $build in 5351 *-*-mingw* ) # actually msys 5352 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5353 ;; 5354 *-*-cygwin* ) 5355 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5356 ;; 5357 * ) # otherwise, assume *nix 5358 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5359 ;; 5360 esac 5361 ;; 5362 *-*-cygwin* ) 5363 case $build in 5364 *-*-mingw* ) # actually msys 5365 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5366 ;; 5367 *-*-cygwin* ) 5368 lt_cv_to_host_file_cmd=func_convert_file_noop 5369 ;; 5370 * ) # otherwise, assume *nix 5371 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5372 ;; 5373 esac 5374 ;; 5375 * ) # unhandled hosts (and "normal" native builds) 5376 lt_cv_to_host_file_cmd=func_convert_file_noop 5377 ;; 5378esac 5379 5380fi 5381 5382to_host_file_cmd=$lt_cv_to_host_file_cmd 5383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5384$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5385 5386 5387 5388 5389 5390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5391$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5392if ${lt_cv_to_tool_file_cmd+:} false; then : 5393 $as_echo_n "(cached) " >&6 5394else 5395 #assume ordinary cross tools, or native build. 5396lt_cv_to_tool_file_cmd=func_convert_file_noop 5397case $host in 5398 *-*-mingw* ) 5399 case $build in 5400 *-*-mingw* ) # actually msys 5401 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5402 ;; 5403 esac 5404 ;; 5405esac 5406 5407fi 5408 5409to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5411$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5412 5413 5414 5415 5416 5417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5418$as_echo_n "checking for $LD option to reload object files... " >&6; } 5419if ${lt_cv_ld_reload_flag+:} false; then : 5420 $as_echo_n "(cached) " >&6 5421else 5422 lt_cv_ld_reload_flag='-r' 5423fi 5424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5425$as_echo "$lt_cv_ld_reload_flag" >&6; } 5426reload_flag=$lt_cv_ld_reload_flag 5427case $reload_flag in 5428"" | " "*) ;; 5429*) reload_flag=" $reload_flag" ;; 5430esac 5431reload_cmds='$LD$reload_flag -o $output$reload_objs' 5432case $host_os in 5433 cygwin* | mingw* | pw32* | cegcc*) 5434 if test yes != "$GCC"; then 5435 reload_cmds=false 5436 fi 5437 ;; 5438 darwin*) 5439 if test yes = "$GCC"; then 5440 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5441 else 5442 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5443 fi 5444 ;; 5445esac 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455if test -n "$ac_tool_prefix"; then 5456 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5457set dummy ${ac_tool_prefix}objdump; ac_word=$2 5458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5459$as_echo_n "checking for $ac_word... " >&6; } 5460if ${ac_cv_prog_OBJDUMP+:} false; then : 5461 $as_echo_n "(cached) " >&6 5462else 5463 if test -n "$OBJDUMP"; then 5464 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5465else 5466as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5467for as_dir in $PATH 5468do 5469 IFS=$as_save_IFS 5470 test -z "$as_dir" && as_dir=. 5471 for ac_exec_ext in '' $ac_executable_extensions; do 5472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5473 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5475 break 2 5476 fi 5477done 5478 done 5479IFS=$as_save_IFS 5480 5481fi 5482fi 5483OBJDUMP=$ac_cv_prog_OBJDUMP 5484if test -n "$OBJDUMP"; then 5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5486$as_echo "$OBJDUMP" >&6; } 5487else 5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5489$as_echo "no" >&6; } 5490fi 5491 5492 5493fi 5494if test -z "$ac_cv_prog_OBJDUMP"; then 5495 ac_ct_OBJDUMP=$OBJDUMP 5496 # Extract the first word of "objdump", so it can be a program name with args. 5497set dummy objdump; ac_word=$2 5498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5499$as_echo_n "checking for $ac_word... " >&6; } 5500if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5501 $as_echo_n "(cached) " >&6 5502else 5503 if test -n "$ac_ct_OBJDUMP"; then 5504 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5505else 5506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5507for as_dir in $PATH 5508do 5509 IFS=$as_save_IFS 5510 test -z "$as_dir" && as_dir=. 5511 for ac_exec_ext in '' $ac_executable_extensions; do 5512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5513 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5515 break 2 5516 fi 5517done 5518 done 5519IFS=$as_save_IFS 5520 5521fi 5522fi 5523ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5524if test -n "$ac_ct_OBJDUMP"; then 5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5526$as_echo "$ac_ct_OBJDUMP" >&6; } 5527else 5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5529$as_echo "no" >&6; } 5530fi 5531 5532 if test "x$ac_ct_OBJDUMP" = x; then 5533 OBJDUMP="false" 5534 else 5535 case $cross_compiling:$ac_tool_warned in 5536yes:) 5537{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5538$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5539ac_tool_warned=yes ;; 5540esac 5541 OBJDUMP=$ac_ct_OBJDUMP 5542 fi 5543else 5544 OBJDUMP="$ac_cv_prog_OBJDUMP" 5545fi 5546 5547test -z "$OBJDUMP" && OBJDUMP=objdump 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5558$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5559if ${lt_cv_deplibs_check_method+:} false; then : 5560 $as_echo_n "(cached) " >&6 5561else 5562 lt_cv_file_magic_cmd='$MAGIC_CMD' 5563lt_cv_file_magic_test_file= 5564lt_cv_deplibs_check_method='unknown' 5565# Need to set the preceding variable on all platforms that support 5566# interlibrary dependencies. 5567# 'none' -- dependencies not supported. 5568# 'unknown' -- same as none, but documents that we really don't know. 5569# 'pass_all' -- all dependencies passed with no checks. 5570# 'test_compile' -- check by making test program. 5571# 'file_magic [[regex]]' -- check by looking for files in library path 5572# that responds to the $file_magic_cmd with a given extended regex. 5573# If you have 'file' or equivalent on your system and you're not sure 5574# whether 'pass_all' will *always* work, you probably want this one. 5575 5576case $host_os in 5577aix[4-9]*) 5578 lt_cv_deplibs_check_method=pass_all 5579 ;; 5580 5581beos*) 5582 lt_cv_deplibs_check_method=pass_all 5583 ;; 5584 5585bsdi[45]*) 5586 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5587 lt_cv_file_magic_cmd='/usr/bin/file -L' 5588 lt_cv_file_magic_test_file=/shlib/libc.so 5589 ;; 5590 5591cygwin*) 5592 # func_win32_libid is a shell function defined in ltmain.sh 5593 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5594 lt_cv_file_magic_cmd='func_win32_libid' 5595 ;; 5596 5597mingw* | pw32*) 5598 # Base MSYS/MinGW do not provide the 'file' command needed by 5599 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5600 # unless we find 'file', for example because we are cross-compiling. 5601 if ( file / ) >/dev/null 2>&1; then 5602 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5603 lt_cv_file_magic_cmd='func_win32_libid' 5604 else 5605 # Keep this pattern in sync with the one in func_win32_libid. 5606 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5607 lt_cv_file_magic_cmd='$OBJDUMP -f' 5608 fi 5609 ;; 5610 5611cegcc*) 5612 # use the weaker test based on 'objdump'. See mingw*. 5613 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5614 lt_cv_file_magic_cmd='$OBJDUMP -f' 5615 ;; 5616 5617darwin* | rhapsody*) 5618 lt_cv_deplibs_check_method=pass_all 5619 ;; 5620 5621freebsd* | dragonfly*) 5622 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5623 case $host_cpu in 5624 i*86 ) 5625 # Not sure whether the presence of OpenBSD here was a mistake. 5626 # Let's accept both of them until this is cleared up. 5627 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5628 lt_cv_file_magic_cmd=/usr/bin/file 5629 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5630 ;; 5631 esac 5632 else 5633 lt_cv_deplibs_check_method=pass_all 5634 fi 5635 ;; 5636 5637haiku*) 5638 lt_cv_deplibs_check_method=pass_all 5639 ;; 5640 5641hpux10.20* | hpux11*) 5642 lt_cv_file_magic_cmd=/usr/bin/file 5643 case $host_cpu in 5644 ia64*) 5645 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5646 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5647 ;; 5648 hppa*64*) 5649 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]' 5650 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5651 ;; 5652 *) 5653 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5654 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5655 ;; 5656 esac 5657 ;; 5658 5659interix[3-9]*) 5660 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5661 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5662 ;; 5663 5664irix5* | irix6* | nonstopux*) 5665 case $LD in 5666 *-32|*"-32 ") libmagic=32-bit;; 5667 *-n32|*"-n32 ") libmagic=N32;; 5668 *-64|*"-64 ") libmagic=64-bit;; 5669 *) libmagic=never-match;; 5670 esac 5671 lt_cv_deplibs_check_method=pass_all 5672 ;; 5673 5674# This must be glibc/ELF. 5675linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5676 lt_cv_deplibs_check_method=pass_all 5677 ;; 5678 5679netbsd* | netbsdelf*-gnu) 5680 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5681 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5682 else 5683 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5684 fi 5685 ;; 5686 5687newos6*) 5688 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5689 lt_cv_file_magic_cmd=/usr/bin/file 5690 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5691 ;; 5692 5693*nto* | *qnx*) 5694 lt_cv_deplibs_check_method=pass_all 5695 ;; 5696 5697openbsd* | bitrig*) 5698 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5699 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5700 else 5701 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5702 fi 5703 ;; 5704 5705osf3* | osf4* | osf5*) 5706 lt_cv_deplibs_check_method=pass_all 5707 ;; 5708 5709rdos*) 5710 lt_cv_deplibs_check_method=pass_all 5711 ;; 5712 5713solaris*) 5714 lt_cv_deplibs_check_method=pass_all 5715 ;; 5716 5717sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5718 lt_cv_deplibs_check_method=pass_all 5719 ;; 5720 5721sysv4 | sysv4.3*) 5722 case $host_vendor in 5723 motorola) 5724 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]' 5725 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5726 ;; 5727 ncr) 5728 lt_cv_deplibs_check_method=pass_all 5729 ;; 5730 sequent) 5731 lt_cv_file_magic_cmd='/bin/file' 5732 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5733 ;; 5734 sni) 5735 lt_cv_file_magic_cmd='/bin/file' 5736 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5737 lt_cv_file_magic_test_file=/lib/libc.so 5738 ;; 5739 siemens) 5740 lt_cv_deplibs_check_method=pass_all 5741 ;; 5742 pc) 5743 lt_cv_deplibs_check_method=pass_all 5744 ;; 5745 esac 5746 ;; 5747 5748tpf*) 5749 lt_cv_deplibs_check_method=pass_all 5750 ;; 5751os2*) 5752 lt_cv_deplibs_check_method=pass_all 5753 ;; 5754esac 5755 5756fi 5757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5758$as_echo "$lt_cv_deplibs_check_method" >&6; } 5759 5760file_magic_glob= 5761want_nocaseglob=no 5762if test "$build" = "$host"; then 5763 case $host_os in 5764 mingw* | pw32*) 5765 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5766 want_nocaseglob=yes 5767 else 5768 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5769 fi 5770 ;; 5771 esac 5772fi 5773 5774file_magic_cmd=$lt_cv_file_magic_cmd 5775deplibs_check_method=$lt_cv_deplibs_check_method 5776test -z "$deplibs_check_method" && deplibs_check_method=unknown 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799if test -n "$ac_tool_prefix"; then 5800 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5801set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5803$as_echo_n "checking for $ac_word... " >&6; } 5804if ${ac_cv_prog_DLLTOOL+:} false; then : 5805 $as_echo_n "(cached) " >&6 5806else 5807 if test -n "$DLLTOOL"; then 5808 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5809else 5810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5811for as_dir in $PATH 5812do 5813 IFS=$as_save_IFS 5814 test -z "$as_dir" && as_dir=. 5815 for ac_exec_ext in '' $ac_executable_extensions; do 5816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5817 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5819 break 2 5820 fi 5821done 5822 done 5823IFS=$as_save_IFS 5824 5825fi 5826fi 5827DLLTOOL=$ac_cv_prog_DLLTOOL 5828if test -n "$DLLTOOL"; then 5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5830$as_echo "$DLLTOOL" >&6; } 5831else 5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5833$as_echo "no" >&6; } 5834fi 5835 5836 5837fi 5838if test -z "$ac_cv_prog_DLLTOOL"; then 5839 ac_ct_DLLTOOL=$DLLTOOL 5840 # Extract the first word of "dlltool", so it can be a program name with args. 5841set dummy dlltool; ac_word=$2 5842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5843$as_echo_n "checking for $ac_word... " >&6; } 5844if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5845 $as_echo_n "(cached) " >&6 5846else 5847 if test -n "$ac_ct_DLLTOOL"; then 5848 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5849else 5850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5851for as_dir in $PATH 5852do 5853 IFS=$as_save_IFS 5854 test -z "$as_dir" && as_dir=. 5855 for ac_exec_ext in '' $ac_executable_extensions; do 5856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5857 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5859 break 2 5860 fi 5861done 5862 done 5863IFS=$as_save_IFS 5864 5865fi 5866fi 5867ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5868if test -n "$ac_ct_DLLTOOL"; then 5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5870$as_echo "$ac_ct_DLLTOOL" >&6; } 5871else 5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5873$as_echo "no" >&6; } 5874fi 5875 5876 if test "x$ac_ct_DLLTOOL" = x; then 5877 DLLTOOL="false" 5878 else 5879 case $cross_compiling:$ac_tool_warned in 5880yes:) 5881{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5882$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5883ac_tool_warned=yes ;; 5884esac 5885 DLLTOOL=$ac_ct_DLLTOOL 5886 fi 5887else 5888 DLLTOOL="$ac_cv_prog_DLLTOOL" 5889fi 5890 5891test -z "$DLLTOOL" && DLLTOOL=dlltool 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5903$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5904if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5905 $as_echo_n "(cached) " >&6 5906else 5907 lt_cv_sharedlib_from_linklib_cmd='unknown' 5908 5909case $host_os in 5910cygwin* | mingw* | pw32* | cegcc*) 5911 # two different shell functions defined in ltmain.sh; 5912 # decide which one to use based on capabilities of $DLLTOOL 5913 case `$DLLTOOL --help 2>&1` in 5914 *--identify-strict*) 5915 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5916 ;; 5917 *) 5918 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5919 ;; 5920 esac 5921 ;; 5922*) 5923 # fallback: assume linklib IS sharedlib 5924 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5925 ;; 5926esac 5927 5928fi 5929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5930$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5931sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5932test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5933 5934 5935 5936 5937 5938 5939 5940if test -n "$ac_tool_prefix"; then 5941 for ac_prog in ar 5942 do 5943 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5944set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5946$as_echo_n "checking for $ac_word... " >&6; } 5947if ${ac_cv_prog_AR+:} false; then : 5948 $as_echo_n "(cached) " >&6 5949else 5950 if test -n "$AR"; then 5951 ac_cv_prog_AR="$AR" # Let the user override the test. 5952else 5953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5954for as_dir in $PATH 5955do 5956 IFS=$as_save_IFS 5957 test -z "$as_dir" && as_dir=. 5958 for ac_exec_ext in '' $ac_executable_extensions; do 5959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5960 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5962 break 2 5963 fi 5964done 5965 done 5966IFS=$as_save_IFS 5967 5968fi 5969fi 5970AR=$ac_cv_prog_AR 5971if test -n "$AR"; then 5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5973$as_echo "$AR" >&6; } 5974else 5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5976$as_echo "no" >&6; } 5977fi 5978 5979 5980 test -n "$AR" && break 5981 done 5982fi 5983if test -z "$AR"; then 5984 ac_ct_AR=$AR 5985 for ac_prog in ar 5986do 5987 # Extract the first word of "$ac_prog", so it can be a program name with args. 5988set dummy $ac_prog; ac_word=$2 5989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5990$as_echo_n "checking for $ac_word... " >&6; } 5991if ${ac_cv_prog_ac_ct_AR+:} false; then : 5992 $as_echo_n "(cached) " >&6 5993else 5994 if test -n "$ac_ct_AR"; then 5995 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5996else 5997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5998for as_dir in $PATH 5999do 6000 IFS=$as_save_IFS 6001 test -z "$as_dir" && as_dir=. 6002 for ac_exec_ext in '' $ac_executable_extensions; do 6003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6004 ac_cv_prog_ac_ct_AR="$ac_prog" 6005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6006 break 2 6007 fi 6008done 6009 done 6010IFS=$as_save_IFS 6011 6012fi 6013fi 6014ac_ct_AR=$ac_cv_prog_ac_ct_AR 6015if test -n "$ac_ct_AR"; then 6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6017$as_echo "$ac_ct_AR" >&6; } 6018else 6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6020$as_echo "no" >&6; } 6021fi 6022 6023 6024 test -n "$ac_ct_AR" && break 6025done 6026 6027 if test "x$ac_ct_AR" = x; then 6028 AR="false" 6029 else 6030 case $cross_compiling:$ac_tool_warned in 6031yes:) 6032{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6033$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6034ac_tool_warned=yes ;; 6035esac 6036 AR=$ac_ct_AR 6037 fi 6038fi 6039 6040: ${AR=ar} 6041: ${AR_FLAGS=cr} 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6054$as_echo_n "checking for archiver @FILE support... " >&6; } 6055if ${lt_cv_ar_at_file+:} false; then : 6056 $as_echo_n "(cached) " >&6 6057else 6058 lt_cv_ar_at_file=no 6059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6060/* end confdefs.h. */ 6061 6062int 6063main () 6064{ 6065 6066 ; 6067 return 0; 6068} 6069_ACEOF 6070if ac_fn_c_try_compile "$LINENO"; then : 6071 echo conftest.$ac_objext > conftest.lst 6072 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6073 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6074 (eval $lt_ar_try) 2>&5 6075 ac_status=$? 6076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6077 test $ac_status = 0; } 6078 if test 0 -eq "$ac_status"; then 6079 # Ensure the archiver fails upon bogus file names. 6080 rm -f conftest.$ac_objext libconftest.a 6081 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6082 (eval $lt_ar_try) 2>&5 6083 ac_status=$? 6084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6085 test $ac_status = 0; } 6086 if test 0 -ne "$ac_status"; then 6087 lt_cv_ar_at_file=@ 6088 fi 6089 fi 6090 rm -f conftest.* libconftest.a 6091 6092fi 6093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6094 6095fi 6096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6097$as_echo "$lt_cv_ar_at_file" >&6; } 6098 6099if test no = "$lt_cv_ar_at_file"; then 6100 archiver_list_spec= 6101else 6102 archiver_list_spec=$lt_cv_ar_at_file 6103fi 6104 6105 6106 6107 6108 6109 6110 6111if test -n "$ac_tool_prefix"; then 6112 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6113set dummy ${ac_tool_prefix}strip; ac_word=$2 6114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6115$as_echo_n "checking for $ac_word... " >&6; } 6116if ${ac_cv_prog_STRIP+:} false; then : 6117 $as_echo_n "(cached) " >&6 6118else 6119 if test -n "$STRIP"; then 6120 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6121else 6122as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6123for as_dir in $PATH 6124do 6125 IFS=$as_save_IFS 6126 test -z "$as_dir" && as_dir=. 6127 for ac_exec_ext in '' $ac_executable_extensions; do 6128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6129 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6131 break 2 6132 fi 6133done 6134 done 6135IFS=$as_save_IFS 6136 6137fi 6138fi 6139STRIP=$ac_cv_prog_STRIP 6140if test -n "$STRIP"; then 6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6142$as_echo "$STRIP" >&6; } 6143else 6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6145$as_echo "no" >&6; } 6146fi 6147 6148 6149fi 6150if test -z "$ac_cv_prog_STRIP"; then 6151 ac_ct_STRIP=$STRIP 6152 # Extract the first word of "strip", so it can be a program name with args. 6153set dummy strip; ac_word=$2 6154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6155$as_echo_n "checking for $ac_word... " >&6; } 6156if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6157 $as_echo_n "(cached) " >&6 6158else 6159 if test -n "$ac_ct_STRIP"; then 6160 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6161else 6162as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6163for as_dir in $PATH 6164do 6165 IFS=$as_save_IFS 6166 test -z "$as_dir" && as_dir=. 6167 for ac_exec_ext in '' $ac_executable_extensions; do 6168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6169 ac_cv_prog_ac_ct_STRIP="strip" 6170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6171 break 2 6172 fi 6173done 6174 done 6175IFS=$as_save_IFS 6176 6177fi 6178fi 6179ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6180if test -n "$ac_ct_STRIP"; then 6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6182$as_echo "$ac_ct_STRIP" >&6; } 6183else 6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6185$as_echo "no" >&6; } 6186fi 6187 6188 if test "x$ac_ct_STRIP" = x; then 6189 STRIP=":" 6190 else 6191 case $cross_compiling:$ac_tool_warned in 6192yes:) 6193{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6194$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6195ac_tool_warned=yes ;; 6196esac 6197 STRIP=$ac_ct_STRIP 6198 fi 6199else 6200 STRIP="$ac_cv_prog_STRIP" 6201fi 6202 6203test -z "$STRIP" && STRIP=: 6204 6205 6206 6207 6208 6209 6210if test -n "$ac_tool_prefix"; then 6211 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6212set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6214$as_echo_n "checking for $ac_word... " >&6; } 6215if ${ac_cv_prog_RANLIB+:} false; then : 6216 $as_echo_n "(cached) " >&6 6217else 6218 if test -n "$RANLIB"; then 6219 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6220else 6221as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6222for as_dir in $PATH 6223do 6224 IFS=$as_save_IFS 6225 test -z "$as_dir" && as_dir=. 6226 for ac_exec_ext in '' $ac_executable_extensions; do 6227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6228 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6230 break 2 6231 fi 6232done 6233 done 6234IFS=$as_save_IFS 6235 6236fi 6237fi 6238RANLIB=$ac_cv_prog_RANLIB 6239if test -n "$RANLIB"; then 6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6241$as_echo "$RANLIB" >&6; } 6242else 6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6244$as_echo "no" >&6; } 6245fi 6246 6247 6248fi 6249if test -z "$ac_cv_prog_RANLIB"; then 6250 ac_ct_RANLIB=$RANLIB 6251 # Extract the first word of "ranlib", so it can be a program name with args. 6252set dummy ranlib; ac_word=$2 6253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6254$as_echo_n "checking for $ac_word... " >&6; } 6255if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6256 $as_echo_n "(cached) " >&6 6257else 6258 if test -n "$ac_ct_RANLIB"; then 6259 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6260else 6261as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6262for as_dir in $PATH 6263do 6264 IFS=$as_save_IFS 6265 test -z "$as_dir" && as_dir=. 6266 for ac_exec_ext in '' $ac_executable_extensions; do 6267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6268 ac_cv_prog_ac_ct_RANLIB="ranlib" 6269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6270 break 2 6271 fi 6272done 6273 done 6274IFS=$as_save_IFS 6275 6276fi 6277fi 6278ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6279if test -n "$ac_ct_RANLIB"; then 6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6281$as_echo "$ac_ct_RANLIB" >&6; } 6282else 6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6284$as_echo "no" >&6; } 6285fi 6286 6287 if test "x$ac_ct_RANLIB" = x; then 6288 RANLIB=":" 6289 else 6290 case $cross_compiling:$ac_tool_warned in 6291yes:) 6292{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6293$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6294ac_tool_warned=yes ;; 6295esac 6296 RANLIB=$ac_ct_RANLIB 6297 fi 6298else 6299 RANLIB="$ac_cv_prog_RANLIB" 6300fi 6301 6302test -z "$RANLIB" && RANLIB=: 6303 6304 6305 6306 6307 6308 6309# Determine commands to create old-style static archives. 6310old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6311old_postinstall_cmds='chmod 644 $oldlib' 6312old_postuninstall_cmds= 6313 6314if test -n "$RANLIB"; then 6315 case $host_os in 6316 bitrig* | openbsd*) 6317 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6318 ;; 6319 *) 6320 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6321 ;; 6322 esac 6323 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6324fi 6325 6326case $host_os in 6327 darwin*) 6328 lock_old_archive_extraction=yes ;; 6329 *) 6330 lock_old_archive_extraction=no ;; 6331esac 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371# If no C compiler was specified, use CC. 6372LTCC=${LTCC-"$CC"} 6373 6374# If no C compiler flags were specified, use CFLAGS. 6375LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6376 6377# Allow CC to be a program name with arguments. 6378compiler=$CC 6379 6380 6381# Check for command to grab the raw symbol name followed by C symbol from nm. 6382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6383$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6384if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6385 $as_echo_n "(cached) " >&6 6386else 6387 6388# These are sane defaults that work on at least a few old systems. 6389# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6390 6391# Character class describing NM global symbol codes. 6392symcode='[BCDEGRST]' 6393 6394# Regexp to match symbols that can be accessed directly from C. 6395sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6396 6397# Define system-specific variables. 6398case $host_os in 6399aix*) 6400 symcode='[BCDT]' 6401 ;; 6402cygwin* | mingw* | pw32* | cegcc*) 6403 symcode='[ABCDGISTW]' 6404 ;; 6405hpux*) 6406 if test ia64 = "$host_cpu"; then 6407 symcode='[ABCDEGRST]' 6408 fi 6409 ;; 6410irix* | nonstopux*) 6411 symcode='[BCDEGRST]' 6412 ;; 6413osf*) 6414 symcode='[BCDEGQRST]' 6415 ;; 6416solaris*) 6417 symcode='[BDRT]' 6418 ;; 6419sco3.2v5*) 6420 symcode='[DT]' 6421 ;; 6422sysv4.2uw2*) 6423 symcode='[DT]' 6424 ;; 6425sysv5* | sco5v6* | unixware* | OpenUNIX*) 6426 symcode='[ABDT]' 6427 ;; 6428sysv4) 6429 symcode='[DFNSTU]' 6430 ;; 6431esac 6432 6433# If we're using GNU nm, then use its standard symbol codes. 6434case `$NM -V 2>&1` in 6435*GNU* | *'with BFD'*) 6436 symcode='[ABCDGIRSTW]' ;; 6437esac 6438 6439if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6440 # Gets list of data symbols to import. 6441 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6442 # Adjust the below global symbol transforms to fixup imported variables. 6443 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6444 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6445 lt_c_name_lib_hook="\ 6446 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6447 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6448else 6449 # Disable hooks by default. 6450 lt_cv_sys_global_symbol_to_import= 6451 lt_cdecl_hook= 6452 lt_c_name_hook= 6453 lt_c_name_lib_hook= 6454fi 6455 6456# Transform an extracted symbol line into a proper C declaration. 6457# Some systems (esp. on ia64) link data and code symbols differently, 6458# so use this general approach. 6459lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6460$lt_cdecl_hook\ 6461" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6462" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6463 6464# Transform an extracted symbol line into symbol name and symbol address 6465lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6466$lt_c_name_hook\ 6467" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6468" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6469 6470# Transform an extracted symbol line into symbol name with lib prefix and 6471# symbol address. 6472lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6473$lt_c_name_lib_hook\ 6474" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6475" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6476" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6477 6478# Handle CRLF in mingw tool chain 6479opt_cr= 6480case $build_os in 6481mingw*) 6482 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6483 ;; 6484esac 6485 6486# Try without a prefix underscore, then with it. 6487for ac_symprfx in "" "_"; do 6488 6489 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6490 symxfrm="\\1 $ac_symprfx\\2 \\2" 6491 6492 # Write the raw and C identifiers. 6493 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6494 # Fake it for dumpbin and say T for any non-static function, 6495 # D for any global variable and I for any imported variable. 6496 # Also find C++ and __fastcall symbols from MSVC++, 6497 # which start with @ or ?. 6498 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6499" {last_section=section; section=\$ 3};"\ 6500" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6501" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6502" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6503" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6504" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6505" \$ 0!~/External *\|/{next};"\ 6506" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6507" {if(hide[section]) next};"\ 6508" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6509" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6510" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6511" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6512" ' prfx=^$ac_symprfx" 6513 else 6514 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6515 fi 6516 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6517 6518 # Check to see that the pipe works correctly. 6519 pipe_works=no 6520 6521 rm -f conftest* 6522 cat > conftest.$ac_ext <<_LT_EOF 6523#ifdef __cplusplus 6524extern "C" { 6525#endif 6526char nm_test_var; 6527void nm_test_func(void); 6528void nm_test_func(void){} 6529#ifdef __cplusplus 6530} 6531#endif 6532int main(){nm_test_var='a';nm_test_func();return(0);} 6533_LT_EOF 6534 6535 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6536 (eval $ac_compile) 2>&5 6537 ac_status=$? 6538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6539 test $ac_status = 0; }; then 6540 # Now try to grab the symbols. 6541 nlist=conftest.nm 6542 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 6543 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then 6544 # Try sorting and uniquifying the output. 6545 if sort "$nlist" | uniq > "$nlist"T; then 6546 mv -f "$nlist"T "$nlist" 6547 else 6548 rm -f "$nlist"T 6549 fi 6550 6551 # Make sure that we snagged all the symbols we need. 6552 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6553 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6554 cat <<_LT_EOF > conftest.$ac_ext 6555/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6556#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6557/* DATA imports from DLLs on WIN32 can't be const, because runtime 6558 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6559# define LT_DLSYM_CONST 6560#elif defined __osf__ 6561/* This system does not cope well with relocations in const data. */ 6562# define LT_DLSYM_CONST 6563#else 6564# define LT_DLSYM_CONST const 6565#endif 6566 6567#ifdef __cplusplus 6568extern "C" { 6569#endif 6570 6571_LT_EOF 6572 # Now generate the symbol file. 6573 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6574 6575 cat <<_LT_EOF >> conftest.$ac_ext 6576 6577/* The mapping between symbol names and symbols. */ 6578LT_DLSYM_CONST struct { 6579 const char *name; 6580 void *address; 6581} 6582lt__PROGRAM__LTX_preloaded_symbols[] = 6583{ 6584 { "@PROGRAM@", (void *) 0 }, 6585_LT_EOF 6586 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6587 cat <<\_LT_EOF >> conftest.$ac_ext 6588 {0, (void *) 0} 6589}; 6590 6591/* This works around a problem in FreeBSD linker */ 6592#ifdef FREEBSD_WORKAROUND 6593static const void *lt_preloaded_setup() { 6594 return lt__PROGRAM__LTX_preloaded_symbols; 6595} 6596#endif 6597 6598#ifdef __cplusplus 6599} 6600#endif 6601_LT_EOF 6602 # Now try linking the two files. 6603 mv conftest.$ac_objext conftstm.$ac_objext 6604 lt_globsym_save_LIBS=$LIBS 6605 lt_globsym_save_CFLAGS=$CFLAGS 6606 LIBS=conftstm.$ac_objext 6607 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6608 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6609 (eval $ac_link) 2>&5 6610 ac_status=$? 6611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6612 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6613 pipe_works=yes 6614 fi 6615 LIBS=$lt_globsym_save_LIBS 6616 CFLAGS=$lt_globsym_save_CFLAGS 6617 else 6618 echo "cannot find nm_test_func in $nlist" >&5 6619 fi 6620 else 6621 echo "cannot find nm_test_var in $nlist" >&5 6622 fi 6623 else 6624 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6625 fi 6626 else 6627 echo "$progname: failed program was:" >&5 6628 cat conftest.$ac_ext >&5 6629 fi 6630 rm -rf conftest* conftst* 6631 6632 # Do not use the global_symbol_pipe unless it works. 6633 if test yes = "$pipe_works"; then 6634 break 6635 else 6636 lt_cv_sys_global_symbol_pipe= 6637 fi 6638done 6639 6640fi 6641 6642if test -z "$lt_cv_sys_global_symbol_pipe"; then 6643 lt_cv_sys_global_symbol_to_cdecl= 6644fi 6645if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6647$as_echo "failed" >&6; } 6648else 6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6650$as_echo "ok" >&6; } 6651fi 6652 6653# Response file support. 6654if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6655 nm_file_list_spec='@' 6656elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6657 nm_file_list_spec='@' 6658fi 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6697$as_echo_n "checking for sysroot... " >&6; } 6698 6699# Check whether --with-sysroot was given. 6700if test "${with_sysroot+set}" = set; then : 6701 withval=$with_sysroot; 6702else 6703 with_sysroot=no 6704fi 6705 6706 6707lt_sysroot= 6708case $with_sysroot in #( 6709 yes) 6710 if test yes = "$GCC"; then 6711 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6712 fi 6713 ;; #( 6714 /*) 6715 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6716 ;; #( 6717 no|'') 6718 ;; #( 6719 *) 6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6721$as_echo "$with_sysroot" >&6; } 6722 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6723 ;; 6724esac 6725 6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6727$as_echo "${lt_sysroot:-no}" >&6; } 6728 6729 6730 6731 6732 6733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6734$as_echo_n "checking for a working dd... " >&6; } 6735if ${ac_cv_path_lt_DD+:} false; then : 6736 $as_echo_n "(cached) " >&6 6737else 6738 printf 0123456789abcdef0123456789abcdef >conftest.i 6739cat conftest.i conftest.i >conftest2.i 6740: ${lt_DD:=$DD} 6741if test -z "$lt_DD"; then 6742 ac_path_lt_DD_found=false 6743 # Loop through the user's path and test for each of PROGNAME-LIST 6744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6745for as_dir in $PATH 6746do 6747 IFS=$as_save_IFS 6748 test -z "$as_dir" && as_dir=. 6749 for ac_prog in dd; do 6750 for ac_exec_ext in '' $ac_executable_extensions; do 6751 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6752 as_fn_executable_p "$ac_path_lt_DD" || continue 6753if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6754 cmp -s conftest.i conftest.out \ 6755 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6756fi 6757 $ac_path_lt_DD_found && break 3 6758 done 6759 done 6760 done 6761IFS=$as_save_IFS 6762 if test -z "$ac_cv_path_lt_DD"; then 6763 : 6764 fi 6765else 6766 ac_cv_path_lt_DD=$lt_DD 6767fi 6768 6769rm -f conftest.i conftest2.i conftest.out 6770fi 6771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6772$as_echo "$ac_cv_path_lt_DD" >&6; } 6773 6774 6775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6776$as_echo_n "checking how to truncate binary pipes... " >&6; } 6777if ${lt_cv_truncate_bin+:} false; then : 6778 $as_echo_n "(cached) " >&6 6779else 6780 printf 0123456789abcdef0123456789abcdef >conftest.i 6781cat conftest.i conftest.i >conftest2.i 6782lt_cv_truncate_bin= 6783if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6784 cmp -s conftest.i conftest.out \ 6785 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6786fi 6787rm -f conftest.i conftest2.i conftest.out 6788test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6789fi 6790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6791$as_echo "$lt_cv_truncate_bin" >&6; } 6792 6793 6794 6795 6796 6797 6798 6799# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6800func_cc_basename () 6801{ 6802 for cc_temp in $*""; do 6803 case $cc_temp in 6804 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6805 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6806 \-*) ;; 6807 *) break;; 6808 esac 6809 done 6810 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6811} 6812 6813# Check whether --enable-libtool-lock was given. 6814if test "${enable_libtool_lock+set}" = set; then : 6815 enableval=$enable_libtool_lock; 6816fi 6817 6818test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6819 6820# Some flags need to be propagated to the compiler or linker for good 6821# libtool support. 6822case $host in 6823ia64-*-hpux*) 6824 # Find out what ABI is being produced by ac_compile, and set mode 6825 # options accordingly. 6826 echo 'int i;' > conftest.$ac_ext 6827 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6828 (eval $ac_compile) 2>&5 6829 ac_status=$? 6830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6831 test $ac_status = 0; }; then 6832 case `/usr/bin/file conftest.$ac_objext` in 6833 *ELF-32*) 6834 HPUX_IA64_MODE=32 6835 ;; 6836 *ELF-64*) 6837 HPUX_IA64_MODE=64 6838 ;; 6839 esac 6840 fi 6841 rm -rf conftest* 6842 ;; 6843*-*-irix6*) 6844 # Find out what ABI is being produced by ac_compile, and set linker 6845 # options accordingly. 6846 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6848 (eval $ac_compile) 2>&5 6849 ac_status=$? 6850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6851 test $ac_status = 0; }; then 6852 if test yes = "$lt_cv_prog_gnu_ld"; then 6853 case `/usr/bin/file conftest.$ac_objext` in 6854 *32-bit*) 6855 LD="${LD-ld} -melf32bsmip" 6856 ;; 6857 *N32*) 6858 LD="${LD-ld} -melf32bmipn32" 6859 ;; 6860 *64-bit*) 6861 LD="${LD-ld} -melf64bmip" 6862 ;; 6863 esac 6864 else 6865 case `/usr/bin/file conftest.$ac_objext` in 6866 *32-bit*) 6867 LD="${LD-ld} -32" 6868 ;; 6869 *N32*) 6870 LD="${LD-ld} -n32" 6871 ;; 6872 *64-bit*) 6873 LD="${LD-ld} -64" 6874 ;; 6875 esac 6876 fi 6877 fi 6878 rm -rf conftest* 6879 ;; 6880 6881mips64*-*linux*) 6882 # Find out what ABI is being produced by ac_compile, and set linker 6883 # options accordingly. 6884 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6885 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6886 (eval $ac_compile) 2>&5 6887 ac_status=$? 6888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6889 test $ac_status = 0; }; then 6890 emul=elf 6891 case `/usr/bin/file conftest.$ac_objext` in 6892 *32-bit*) 6893 emul="${emul}32" 6894 ;; 6895 *64-bit*) 6896 emul="${emul}64" 6897 ;; 6898 esac 6899 case `/usr/bin/file conftest.$ac_objext` in 6900 *MSB*) 6901 emul="${emul}btsmip" 6902 ;; 6903 *LSB*) 6904 emul="${emul}ltsmip" 6905 ;; 6906 esac 6907 case `/usr/bin/file conftest.$ac_objext` in 6908 *N32*) 6909 emul="${emul}n32" 6910 ;; 6911 esac 6912 LD="${LD-ld} -m $emul" 6913 fi 6914 rm -rf conftest* 6915 ;; 6916 6917x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6918s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6919 # Find out what ABI is being produced by ac_compile, and set linker 6920 # options accordingly. Note that the listed cases only cover the 6921 # situations where additional linker options are needed (such as when 6922 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6923 # vice versa); the common cases where no linker options are needed do 6924 # not appear in the list. 6925 echo 'int i;' > conftest.$ac_ext 6926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6927 (eval $ac_compile) 2>&5 6928 ac_status=$? 6929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6930 test $ac_status = 0; }; then 6931 case `/usr/bin/file conftest.o` in 6932 *32-bit*) 6933 case $host in 6934 x86_64-*kfreebsd*-gnu) 6935 LD="${LD-ld} -m elf_i386_fbsd" 6936 ;; 6937 x86_64-*linux*) 6938 case `/usr/bin/file conftest.o` in 6939 *x86-64*) 6940 LD="${LD-ld} -m elf32_x86_64" 6941 ;; 6942 *) 6943 LD="${LD-ld} -m elf_i386" 6944 ;; 6945 esac 6946 ;; 6947 powerpc64le-*linux*) 6948 LD="${LD-ld} -m elf32lppclinux" 6949 ;; 6950 powerpc64-*linux*) 6951 LD="${LD-ld} -m elf32ppclinux" 6952 ;; 6953 s390x-*linux*) 6954 LD="${LD-ld} -m elf_s390" 6955 ;; 6956 sparc64-*linux*) 6957 LD="${LD-ld} -m elf32_sparc" 6958 ;; 6959 esac 6960 ;; 6961 *64-bit*) 6962 case $host in 6963 x86_64-*kfreebsd*-gnu) 6964 LD="${LD-ld} -m elf_x86_64_fbsd" 6965 ;; 6966 x86_64-*linux*) 6967 LD="${LD-ld} -m elf_x86_64" 6968 ;; 6969 powerpcle-*linux*) 6970 LD="${LD-ld} -m elf64lppc" 6971 ;; 6972 powerpc-*linux*) 6973 LD="${LD-ld} -m elf64ppc" 6974 ;; 6975 s390*-*linux*|s390*-*tpf*) 6976 LD="${LD-ld} -m elf64_s390" 6977 ;; 6978 sparc*-*linux*) 6979 LD="${LD-ld} -m elf64_sparc" 6980 ;; 6981 esac 6982 ;; 6983 esac 6984 fi 6985 rm -rf conftest* 6986 ;; 6987 6988*-*-sco3.2v5*) 6989 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6990 SAVE_CFLAGS=$CFLAGS 6991 CFLAGS="$CFLAGS -belf" 6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6993$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6994if ${lt_cv_cc_needs_belf+:} false; then : 6995 $as_echo_n "(cached) " >&6 6996else 6997 ac_ext=c 6998ac_cpp='$CPP $CPPFLAGS' 6999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7001ac_compiler_gnu=$ac_cv_c_compiler_gnu 7002 7003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7004/* end confdefs.h. */ 7005 7006int 7007main () 7008{ 7009 7010 ; 7011 return 0; 7012} 7013_ACEOF 7014if ac_fn_c_try_link "$LINENO"; then : 7015 lt_cv_cc_needs_belf=yes 7016else 7017 lt_cv_cc_needs_belf=no 7018fi 7019rm -f core conftest.err conftest.$ac_objext \ 7020 conftest$ac_exeext conftest.$ac_ext 7021 ac_ext=c 7022ac_cpp='$CPP $CPPFLAGS' 7023ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7024ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7025ac_compiler_gnu=$ac_cv_c_compiler_gnu 7026 7027fi 7028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7029$as_echo "$lt_cv_cc_needs_belf" >&6; } 7030 if test yes != "$lt_cv_cc_needs_belf"; then 7031 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7032 CFLAGS=$SAVE_CFLAGS 7033 fi 7034 ;; 7035*-*solaris*) 7036 # Find out what ABI is being produced by ac_compile, and set linker 7037 # options accordingly. 7038 echo 'int i;' > conftest.$ac_ext 7039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7040 (eval $ac_compile) 2>&5 7041 ac_status=$? 7042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7043 test $ac_status = 0; }; then 7044 case `/usr/bin/file conftest.o` in 7045 *64-bit*) 7046 case $lt_cv_prog_gnu_ld in 7047 yes*) 7048 case $host in 7049 i?86-*-solaris*|x86_64-*-solaris*) 7050 LD="${LD-ld} -m elf_x86_64" 7051 ;; 7052 sparc*-*-solaris*) 7053 LD="${LD-ld} -m elf64_sparc" 7054 ;; 7055 esac 7056 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7057 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7058 LD=${LD-ld}_sol2 7059 fi 7060 ;; 7061 *) 7062 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7063 LD="${LD-ld} -64" 7064 fi 7065 ;; 7066 esac 7067 ;; 7068 esac 7069 fi 7070 rm -rf conftest* 7071 ;; 7072esac 7073 7074need_locks=$enable_libtool_lock 7075 7076if test -n "$ac_tool_prefix"; then 7077 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7078set dummy ${ac_tool_prefix}mt; ac_word=$2 7079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7080$as_echo_n "checking for $ac_word... " >&6; } 7081if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7082 $as_echo_n "(cached) " >&6 7083else 7084 if test -n "$MANIFEST_TOOL"; then 7085 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7086else 7087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7088for as_dir in $PATH 7089do 7090 IFS=$as_save_IFS 7091 test -z "$as_dir" && as_dir=. 7092 for ac_exec_ext in '' $ac_executable_extensions; do 7093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7094 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7096 break 2 7097 fi 7098done 7099 done 7100IFS=$as_save_IFS 7101 7102fi 7103fi 7104MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7105if test -n "$MANIFEST_TOOL"; then 7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7107$as_echo "$MANIFEST_TOOL" >&6; } 7108else 7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7110$as_echo "no" >&6; } 7111fi 7112 7113 7114fi 7115if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7116 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7117 # Extract the first word of "mt", so it can be a program name with args. 7118set dummy mt; ac_word=$2 7119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7120$as_echo_n "checking for $ac_word... " >&6; } 7121if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7122 $as_echo_n "(cached) " >&6 7123else 7124 if test -n "$ac_ct_MANIFEST_TOOL"; then 7125 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7126else 7127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7128for as_dir in $PATH 7129do 7130 IFS=$as_save_IFS 7131 test -z "$as_dir" && as_dir=. 7132 for ac_exec_ext in '' $ac_executable_extensions; do 7133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7134 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7136 break 2 7137 fi 7138done 7139 done 7140IFS=$as_save_IFS 7141 7142fi 7143fi 7144ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7145if test -n "$ac_ct_MANIFEST_TOOL"; then 7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7147$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7148else 7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7150$as_echo "no" >&6; } 7151fi 7152 7153 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7154 MANIFEST_TOOL=":" 7155 else 7156 case $cross_compiling:$ac_tool_warned in 7157yes:) 7158{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7159$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7160ac_tool_warned=yes ;; 7161esac 7162 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7163 fi 7164else 7165 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7166fi 7167 7168test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7170$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7171if ${lt_cv_path_mainfest_tool+:} false; then : 7172 $as_echo_n "(cached) " >&6 7173else 7174 lt_cv_path_mainfest_tool=no 7175 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7176 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7177 cat conftest.err >&5 7178 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7179 lt_cv_path_mainfest_tool=yes 7180 fi 7181 rm -f conftest* 7182fi 7183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7184$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7185if test yes != "$lt_cv_path_mainfest_tool"; then 7186 MANIFEST_TOOL=: 7187fi 7188 7189 7190 7191 7192 7193 7194 case $host_os in 7195 rhapsody* | darwin*) 7196 if test -n "$ac_tool_prefix"; then 7197 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7198set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7200$as_echo_n "checking for $ac_word... " >&6; } 7201if ${ac_cv_prog_DSYMUTIL+:} false; then : 7202 $as_echo_n "(cached) " >&6 7203else 7204 if test -n "$DSYMUTIL"; then 7205 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7206else 7207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7208for as_dir in $PATH 7209do 7210 IFS=$as_save_IFS 7211 test -z "$as_dir" && as_dir=. 7212 for ac_exec_ext in '' $ac_executable_extensions; do 7213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7214 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7216 break 2 7217 fi 7218done 7219 done 7220IFS=$as_save_IFS 7221 7222fi 7223fi 7224DSYMUTIL=$ac_cv_prog_DSYMUTIL 7225if test -n "$DSYMUTIL"; then 7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7227$as_echo "$DSYMUTIL" >&6; } 7228else 7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7230$as_echo "no" >&6; } 7231fi 7232 7233 7234fi 7235if test -z "$ac_cv_prog_DSYMUTIL"; then 7236 ac_ct_DSYMUTIL=$DSYMUTIL 7237 # Extract the first word of "dsymutil", so it can be a program name with args. 7238set dummy dsymutil; ac_word=$2 7239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7240$as_echo_n "checking for $ac_word... " >&6; } 7241if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7242 $as_echo_n "(cached) " >&6 7243else 7244 if test -n "$ac_ct_DSYMUTIL"; then 7245 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7246else 7247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7248for as_dir in $PATH 7249do 7250 IFS=$as_save_IFS 7251 test -z "$as_dir" && as_dir=. 7252 for ac_exec_ext in '' $ac_executable_extensions; do 7253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7254 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7256 break 2 7257 fi 7258done 7259 done 7260IFS=$as_save_IFS 7261 7262fi 7263fi 7264ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7265if test -n "$ac_ct_DSYMUTIL"; then 7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7267$as_echo "$ac_ct_DSYMUTIL" >&6; } 7268else 7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7270$as_echo "no" >&6; } 7271fi 7272 7273 if test "x$ac_ct_DSYMUTIL" = x; then 7274 DSYMUTIL=":" 7275 else 7276 case $cross_compiling:$ac_tool_warned in 7277yes:) 7278{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7279$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7280ac_tool_warned=yes ;; 7281esac 7282 DSYMUTIL=$ac_ct_DSYMUTIL 7283 fi 7284else 7285 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7286fi 7287 7288 if test -n "$ac_tool_prefix"; then 7289 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7290set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7292$as_echo_n "checking for $ac_word... " >&6; } 7293if ${ac_cv_prog_NMEDIT+:} false; then : 7294 $as_echo_n "(cached) " >&6 7295else 7296 if test -n "$NMEDIT"; then 7297 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7298else 7299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7300for as_dir in $PATH 7301do 7302 IFS=$as_save_IFS 7303 test -z "$as_dir" && as_dir=. 7304 for ac_exec_ext in '' $ac_executable_extensions; do 7305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7306 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7308 break 2 7309 fi 7310done 7311 done 7312IFS=$as_save_IFS 7313 7314fi 7315fi 7316NMEDIT=$ac_cv_prog_NMEDIT 7317if test -n "$NMEDIT"; then 7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7319$as_echo "$NMEDIT" >&6; } 7320else 7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7322$as_echo "no" >&6; } 7323fi 7324 7325 7326fi 7327if test -z "$ac_cv_prog_NMEDIT"; then 7328 ac_ct_NMEDIT=$NMEDIT 7329 # Extract the first word of "nmedit", so it can be a program name with args. 7330set dummy nmedit; ac_word=$2 7331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7332$as_echo_n "checking for $ac_word... " >&6; } 7333if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7334 $as_echo_n "(cached) " >&6 7335else 7336 if test -n "$ac_ct_NMEDIT"; then 7337 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7338else 7339as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7340for as_dir in $PATH 7341do 7342 IFS=$as_save_IFS 7343 test -z "$as_dir" && as_dir=. 7344 for ac_exec_ext in '' $ac_executable_extensions; do 7345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7346 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7348 break 2 7349 fi 7350done 7351 done 7352IFS=$as_save_IFS 7353 7354fi 7355fi 7356ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7357if test -n "$ac_ct_NMEDIT"; then 7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7359$as_echo "$ac_ct_NMEDIT" >&6; } 7360else 7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7362$as_echo "no" >&6; } 7363fi 7364 7365 if test "x$ac_ct_NMEDIT" = x; then 7366 NMEDIT=":" 7367 else 7368 case $cross_compiling:$ac_tool_warned in 7369yes:) 7370{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7371$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7372ac_tool_warned=yes ;; 7373esac 7374 NMEDIT=$ac_ct_NMEDIT 7375 fi 7376else 7377 NMEDIT="$ac_cv_prog_NMEDIT" 7378fi 7379 7380 if test -n "$ac_tool_prefix"; then 7381 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7382set dummy ${ac_tool_prefix}lipo; ac_word=$2 7383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7384$as_echo_n "checking for $ac_word... " >&6; } 7385if ${ac_cv_prog_LIPO+:} false; then : 7386 $as_echo_n "(cached) " >&6 7387else 7388 if test -n "$LIPO"; then 7389 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7390else 7391as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7392for as_dir in $PATH 7393do 7394 IFS=$as_save_IFS 7395 test -z "$as_dir" && as_dir=. 7396 for ac_exec_ext in '' $ac_executable_extensions; do 7397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7398 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7400 break 2 7401 fi 7402done 7403 done 7404IFS=$as_save_IFS 7405 7406fi 7407fi 7408LIPO=$ac_cv_prog_LIPO 7409if test -n "$LIPO"; then 7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7411$as_echo "$LIPO" >&6; } 7412else 7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7414$as_echo "no" >&6; } 7415fi 7416 7417 7418fi 7419if test -z "$ac_cv_prog_LIPO"; then 7420 ac_ct_LIPO=$LIPO 7421 # Extract the first word of "lipo", so it can be a program name with args. 7422set dummy lipo; ac_word=$2 7423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7424$as_echo_n "checking for $ac_word... " >&6; } 7425if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7426 $as_echo_n "(cached) " >&6 7427else 7428 if test -n "$ac_ct_LIPO"; then 7429 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7430else 7431as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7432for as_dir in $PATH 7433do 7434 IFS=$as_save_IFS 7435 test -z "$as_dir" && as_dir=. 7436 for ac_exec_ext in '' $ac_executable_extensions; do 7437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7438 ac_cv_prog_ac_ct_LIPO="lipo" 7439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7440 break 2 7441 fi 7442done 7443 done 7444IFS=$as_save_IFS 7445 7446fi 7447fi 7448ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7449if test -n "$ac_ct_LIPO"; then 7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7451$as_echo "$ac_ct_LIPO" >&6; } 7452else 7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7454$as_echo "no" >&6; } 7455fi 7456 7457 if test "x$ac_ct_LIPO" = x; then 7458 LIPO=":" 7459 else 7460 case $cross_compiling:$ac_tool_warned in 7461yes:) 7462{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7463$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7464ac_tool_warned=yes ;; 7465esac 7466 LIPO=$ac_ct_LIPO 7467 fi 7468else 7469 LIPO="$ac_cv_prog_LIPO" 7470fi 7471 7472 if test -n "$ac_tool_prefix"; then 7473 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7474set dummy ${ac_tool_prefix}otool; ac_word=$2 7475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7476$as_echo_n "checking for $ac_word... " >&6; } 7477if ${ac_cv_prog_OTOOL+:} false; then : 7478 $as_echo_n "(cached) " >&6 7479else 7480 if test -n "$OTOOL"; then 7481 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7482else 7483as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7484for as_dir in $PATH 7485do 7486 IFS=$as_save_IFS 7487 test -z "$as_dir" && as_dir=. 7488 for ac_exec_ext in '' $ac_executable_extensions; do 7489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7490 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7492 break 2 7493 fi 7494done 7495 done 7496IFS=$as_save_IFS 7497 7498fi 7499fi 7500OTOOL=$ac_cv_prog_OTOOL 7501if test -n "$OTOOL"; then 7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7503$as_echo "$OTOOL" >&6; } 7504else 7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7506$as_echo "no" >&6; } 7507fi 7508 7509 7510fi 7511if test -z "$ac_cv_prog_OTOOL"; then 7512 ac_ct_OTOOL=$OTOOL 7513 # Extract the first word of "otool", so it can be a program name with args. 7514set dummy otool; ac_word=$2 7515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7516$as_echo_n "checking for $ac_word... " >&6; } 7517if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7518 $as_echo_n "(cached) " >&6 7519else 7520 if test -n "$ac_ct_OTOOL"; then 7521 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7522else 7523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7524for as_dir in $PATH 7525do 7526 IFS=$as_save_IFS 7527 test -z "$as_dir" && as_dir=. 7528 for ac_exec_ext in '' $ac_executable_extensions; do 7529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7530 ac_cv_prog_ac_ct_OTOOL="otool" 7531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7532 break 2 7533 fi 7534done 7535 done 7536IFS=$as_save_IFS 7537 7538fi 7539fi 7540ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7541if test -n "$ac_ct_OTOOL"; then 7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7543$as_echo "$ac_ct_OTOOL" >&6; } 7544else 7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7546$as_echo "no" >&6; } 7547fi 7548 7549 if test "x$ac_ct_OTOOL" = x; then 7550 OTOOL=":" 7551 else 7552 case $cross_compiling:$ac_tool_warned in 7553yes:) 7554{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7555$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7556ac_tool_warned=yes ;; 7557esac 7558 OTOOL=$ac_ct_OTOOL 7559 fi 7560else 7561 OTOOL="$ac_cv_prog_OTOOL" 7562fi 7563 7564 if test -n "$ac_tool_prefix"; then 7565 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7566set dummy ${ac_tool_prefix}otool64; ac_word=$2 7567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7568$as_echo_n "checking for $ac_word... " >&6; } 7569if ${ac_cv_prog_OTOOL64+:} false; then : 7570 $as_echo_n "(cached) " >&6 7571else 7572 if test -n "$OTOOL64"; then 7573 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7574else 7575as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7576for as_dir in $PATH 7577do 7578 IFS=$as_save_IFS 7579 test -z "$as_dir" && as_dir=. 7580 for ac_exec_ext in '' $ac_executable_extensions; do 7581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7582 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7584 break 2 7585 fi 7586done 7587 done 7588IFS=$as_save_IFS 7589 7590fi 7591fi 7592OTOOL64=$ac_cv_prog_OTOOL64 7593if test -n "$OTOOL64"; then 7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7595$as_echo "$OTOOL64" >&6; } 7596else 7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7598$as_echo "no" >&6; } 7599fi 7600 7601 7602fi 7603if test -z "$ac_cv_prog_OTOOL64"; then 7604 ac_ct_OTOOL64=$OTOOL64 7605 # Extract the first word of "otool64", so it can be a program name with args. 7606set dummy otool64; ac_word=$2 7607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7608$as_echo_n "checking for $ac_word... " >&6; } 7609if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7610 $as_echo_n "(cached) " >&6 7611else 7612 if test -n "$ac_ct_OTOOL64"; then 7613 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7614else 7615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7616for as_dir in $PATH 7617do 7618 IFS=$as_save_IFS 7619 test -z "$as_dir" && as_dir=. 7620 for ac_exec_ext in '' $ac_executable_extensions; do 7621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7622 ac_cv_prog_ac_ct_OTOOL64="otool64" 7623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7624 break 2 7625 fi 7626done 7627 done 7628IFS=$as_save_IFS 7629 7630fi 7631fi 7632ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7633if test -n "$ac_ct_OTOOL64"; then 7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7635$as_echo "$ac_ct_OTOOL64" >&6; } 7636else 7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7638$as_echo "no" >&6; } 7639fi 7640 7641 if test "x$ac_ct_OTOOL64" = x; then 7642 OTOOL64=":" 7643 else 7644 case $cross_compiling:$ac_tool_warned in 7645yes:) 7646{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7647$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7648ac_tool_warned=yes ;; 7649esac 7650 OTOOL64=$ac_ct_OTOOL64 7651 fi 7652else 7653 OTOOL64="$ac_cv_prog_OTOOL64" 7654fi 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7683$as_echo_n "checking for -single_module linker flag... " >&6; } 7684if ${lt_cv_apple_cc_single_mod+:} false; then : 7685 $as_echo_n "(cached) " >&6 7686else 7687 lt_cv_apple_cc_single_mod=no 7688 if test -z "$LT_MULTI_MODULE"; then 7689 # By default we will add the -single_module flag. You can override 7690 # by either setting the environment variable LT_MULTI_MODULE 7691 # non-empty at configure time, or by adding -multi_module to the 7692 # link flags. 7693 rm -rf libconftest.dylib* 7694 echo "int foo(void){return 1;}" > conftest.c 7695 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7696-dynamiclib -Wl,-single_module conftest.c" >&5 7697 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7698 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7699 _lt_result=$? 7700 # If there is a non-empty error log, and "single_module" 7701 # appears in it, assume the flag caused a linker warning 7702 if test -s conftest.err && $GREP single_module conftest.err; then 7703 cat conftest.err >&5 7704 # Otherwise, if the output was created with a 0 exit code from 7705 # the compiler, it worked. 7706 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7707 lt_cv_apple_cc_single_mod=yes 7708 else 7709 cat conftest.err >&5 7710 fi 7711 rm -rf libconftest.dylib* 7712 rm -f conftest.* 7713 fi 7714fi 7715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7716$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7717 7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7719$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7720if ${lt_cv_ld_exported_symbols_list+:} false; then : 7721 $as_echo_n "(cached) " >&6 7722else 7723 lt_cv_ld_exported_symbols_list=no 7724 save_LDFLAGS=$LDFLAGS 7725 echo "_main" > conftest.sym 7726 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7728/* end confdefs.h. */ 7729 7730int 7731main () 7732{ 7733 7734 ; 7735 return 0; 7736} 7737_ACEOF 7738if ac_fn_c_try_link "$LINENO"; then : 7739 lt_cv_ld_exported_symbols_list=yes 7740else 7741 lt_cv_ld_exported_symbols_list=no 7742fi 7743rm -f core conftest.err conftest.$ac_objext \ 7744 conftest$ac_exeext conftest.$ac_ext 7745 LDFLAGS=$save_LDFLAGS 7746 7747fi 7748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7749$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7750 7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7752$as_echo_n "checking for -force_load linker flag... " >&6; } 7753if ${lt_cv_ld_force_load+:} false; then : 7754 $as_echo_n "(cached) " >&6 7755else 7756 lt_cv_ld_force_load=no 7757 cat > conftest.c << _LT_EOF 7758int forced_loaded() { return 2;} 7759_LT_EOF 7760 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7761 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7762 echo "$AR cr libconftest.a conftest.o" >&5 7763 $AR cr libconftest.a conftest.o 2>&5 7764 echo "$RANLIB libconftest.a" >&5 7765 $RANLIB libconftest.a 2>&5 7766 cat > conftest.c << _LT_EOF 7767int main() { return 0;} 7768_LT_EOF 7769 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7770 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7771 _lt_result=$? 7772 if test -s conftest.err && $GREP force_load conftest.err; then 7773 cat conftest.err >&5 7774 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7775 lt_cv_ld_force_load=yes 7776 else 7777 cat conftest.err >&5 7778 fi 7779 rm -f conftest.err libconftest.a conftest conftest.c 7780 rm -rf conftest.dSYM 7781 7782fi 7783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7784$as_echo "$lt_cv_ld_force_load" >&6; } 7785 case $host_os in 7786 rhapsody* | darwin1.[012]) 7787 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7788 darwin1.*) 7789 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7790 darwin*) # darwin 5.x on 7791 # if running on 10.5 or later, the deployment target defaults 7792 # to the OS version, if on x86, and 10.4, the deployment 7793 # target defaults to 10.4. Don't you love it? 7794 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7795 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7796 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7797 10.[012][,.]*) 7798 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7799 10.*) 7800 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7801 esac 7802 ;; 7803 esac 7804 if test yes = "$lt_cv_apple_cc_single_mod"; then 7805 _lt_dar_single_mod='$single_module' 7806 fi 7807 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7808 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7809 else 7810 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7811 fi 7812 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7813 _lt_dsymutil='~$DSYMUTIL $lib || :' 7814 else 7815 _lt_dsymutil= 7816 fi 7817 ;; 7818 esac 7819 7820# func_munge_path_list VARIABLE PATH 7821# ----------------------------------- 7822# VARIABLE is name of variable containing _space_ separated list of 7823# directories to be munged by the contents of PATH, which is string 7824# having a format: 7825# "DIR[:DIR]:" 7826# string "DIR[ DIR]" will be prepended to VARIABLE 7827# ":DIR[:DIR]" 7828# string "DIR[ DIR]" will be appended to VARIABLE 7829# "DIRP[:DIRP]::[DIRA:]DIRA" 7830# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7831# "DIRA[ DIRA]" will be appended to VARIABLE 7832# "DIR[:DIR]" 7833# VARIABLE will be replaced by "DIR[ DIR]" 7834func_munge_path_list () 7835{ 7836 case x$2 in 7837 x) 7838 ;; 7839 *:) 7840 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7841 ;; 7842 x:*) 7843 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7844 ;; 7845 *::*) 7846 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7847 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7848 ;; 7849 *) 7850 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7851 ;; 7852 esac 7853} 7854 7855ac_ext=c 7856ac_cpp='$CPP $CPPFLAGS' 7857ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7858ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7859ac_compiler_gnu=$ac_cv_c_compiler_gnu 7860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7861$as_echo_n "checking how to run the C preprocessor... " >&6; } 7862# On Suns, sometimes $CPP names a directory. 7863if test -n "$CPP" && test -d "$CPP"; then 7864 CPP= 7865fi 7866if test -z "$CPP"; then 7867 if ${ac_cv_prog_CPP+:} false; then : 7868 $as_echo_n "(cached) " >&6 7869else 7870 # Double quotes because CPP needs to be expanded 7871 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7872 do 7873 ac_preproc_ok=false 7874for ac_c_preproc_warn_flag in '' yes 7875do 7876 # Use a header file that comes with gcc, so configuring glibc 7877 # with a fresh cross-compiler works. 7878 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7879 # <limits.h> exists even on freestanding compilers. 7880 # On the NeXT, cc -E runs the code through the compiler's parser, 7881 # not just through cpp. "Syntax error" is here to catch this case. 7882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7883/* end confdefs.h. */ 7884#ifdef __STDC__ 7885# include <limits.h> 7886#else 7887# include <assert.h> 7888#endif 7889 Syntax error 7890_ACEOF 7891if ac_fn_c_try_cpp "$LINENO"; then : 7892 7893else 7894 # Broken: fails on valid input. 7895continue 7896fi 7897rm -f conftest.err conftest.i conftest.$ac_ext 7898 7899 # OK, works on sane cases. Now check whether nonexistent headers 7900 # can be detected and how. 7901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7902/* end confdefs.h. */ 7903#include <ac_nonexistent.h> 7904_ACEOF 7905if ac_fn_c_try_cpp "$LINENO"; then : 7906 # Broken: success on invalid input. 7907continue 7908else 7909 # Passes both tests. 7910ac_preproc_ok=: 7911break 7912fi 7913rm -f conftest.err conftest.i conftest.$ac_ext 7914 7915done 7916# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7917rm -f conftest.i conftest.err conftest.$ac_ext 7918if $ac_preproc_ok; then : 7919 break 7920fi 7921 7922 done 7923 ac_cv_prog_CPP=$CPP 7924 7925fi 7926 CPP=$ac_cv_prog_CPP 7927else 7928 ac_cv_prog_CPP=$CPP 7929fi 7930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7931$as_echo "$CPP" >&6; } 7932ac_preproc_ok=false 7933for ac_c_preproc_warn_flag in '' yes 7934do 7935 # Use a header file that comes with gcc, so configuring glibc 7936 # with a fresh cross-compiler works. 7937 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7938 # <limits.h> exists even on freestanding compilers. 7939 # On the NeXT, cc -E runs the code through the compiler's parser, 7940 # not just through cpp. "Syntax error" is here to catch this case. 7941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7942/* end confdefs.h. */ 7943#ifdef __STDC__ 7944# include <limits.h> 7945#else 7946# include <assert.h> 7947#endif 7948 Syntax error 7949_ACEOF 7950if ac_fn_c_try_cpp "$LINENO"; then : 7951 7952else 7953 # Broken: fails on valid input. 7954continue 7955fi 7956rm -f conftest.err conftest.i conftest.$ac_ext 7957 7958 # OK, works on sane cases. Now check whether nonexistent headers 7959 # can be detected and how. 7960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7961/* end confdefs.h. */ 7962#include <ac_nonexistent.h> 7963_ACEOF 7964if ac_fn_c_try_cpp "$LINENO"; then : 7965 # Broken: success on invalid input. 7966continue 7967else 7968 # Passes both tests. 7969ac_preproc_ok=: 7970break 7971fi 7972rm -f conftest.err conftest.i conftest.$ac_ext 7973 7974done 7975# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7976rm -f conftest.i conftest.err conftest.$ac_ext 7977if $ac_preproc_ok; then : 7978 7979else 7980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7981$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7982as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7983See \`config.log' for more details" "$LINENO" 5; } 7984fi 7985 7986ac_ext=c 7987ac_cpp='$CPP $CPPFLAGS' 7988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7990ac_compiler_gnu=$ac_cv_c_compiler_gnu 7991 7992 7993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7994$as_echo_n "checking for ANSI C header files... " >&6; } 7995if ${ac_cv_header_stdc+:} false; then : 7996 $as_echo_n "(cached) " >&6 7997else 7998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7999/* end confdefs.h. */ 8000#include <stdlib.h> 8001#include <stdarg.h> 8002#include <string.h> 8003#include <float.h> 8004 8005int 8006main () 8007{ 8008 8009 ; 8010 return 0; 8011} 8012_ACEOF 8013if ac_fn_c_try_compile "$LINENO"; then : 8014 ac_cv_header_stdc=yes 8015else 8016 ac_cv_header_stdc=no 8017fi 8018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8019 8020if test $ac_cv_header_stdc = yes; then 8021 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8023/* end confdefs.h. */ 8024#include <string.h> 8025 8026_ACEOF 8027if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8028 $EGREP "memchr" >/dev/null 2>&1; then : 8029 8030else 8031 ac_cv_header_stdc=no 8032fi 8033rm -f conftest* 8034 8035fi 8036 8037if test $ac_cv_header_stdc = yes; then 8038 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8040/* end confdefs.h. */ 8041#include <stdlib.h> 8042 8043_ACEOF 8044if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8045 $EGREP "free" >/dev/null 2>&1; then : 8046 8047else 8048 ac_cv_header_stdc=no 8049fi 8050rm -f conftest* 8051 8052fi 8053 8054if test $ac_cv_header_stdc = yes; then 8055 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8056 if test "$cross_compiling" = yes; then : 8057 : 8058else 8059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8060/* end confdefs.h. */ 8061#include <ctype.h> 8062#include <stdlib.h> 8063#if ((' ' & 0x0FF) == 0x020) 8064# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8065# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8066#else 8067# define ISLOWER(c) \ 8068 (('a' <= (c) && (c) <= 'i') \ 8069 || ('j' <= (c) && (c) <= 'r') \ 8070 || ('s' <= (c) && (c) <= 'z')) 8071# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8072#endif 8073 8074#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8075int 8076main () 8077{ 8078 int i; 8079 for (i = 0; i < 256; i++) 8080 if (XOR (islower (i), ISLOWER (i)) 8081 || toupper (i) != TOUPPER (i)) 8082 return 2; 8083 return 0; 8084} 8085_ACEOF 8086if ac_fn_c_try_run "$LINENO"; then : 8087 8088else 8089 ac_cv_header_stdc=no 8090fi 8091rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8092 conftest.$ac_objext conftest.beam conftest.$ac_ext 8093fi 8094 8095fi 8096fi 8097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8098$as_echo "$ac_cv_header_stdc" >&6; } 8099if test $ac_cv_header_stdc = yes; then 8100 8101$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8102 8103fi 8104 8105# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8106for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8107 inttypes.h stdint.h unistd.h 8108do : 8109 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8110ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8111" 8112if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8113 cat >>confdefs.h <<_ACEOF 8114#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8115_ACEOF 8116 8117fi 8118 8119done 8120 8121 8122for ac_header in dlfcn.h 8123do : 8124 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8125" 8126if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8127 cat >>confdefs.h <<_ACEOF 8128#define HAVE_DLFCN_H 1 8129_ACEOF 8130 8131fi 8132 8133done 8134 8135 8136 8137 8138 8139# Set options 8140 8141 8142 8143 enable_dlopen=no 8144 8145 8146 enable_win32_dll=no 8147 8148 8149 # Check whether --enable-shared was given. 8150if test "${enable_shared+set}" = set; then : 8151 enableval=$enable_shared; p=${PACKAGE-default} 8152 case $enableval in 8153 yes) enable_shared=yes ;; 8154 no) enable_shared=no ;; 8155 *) 8156 enable_shared=no 8157 # Look at the argument we got. We use all the common list separators. 8158 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8159 for pkg in $enableval; do 8160 IFS=$lt_save_ifs 8161 if test "X$pkg" = "X$p"; then 8162 enable_shared=yes 8163 fi 8164 done 8165 IFS=$lt_save_ifs 8166 ;; 8167 esac 8168else 8169 enable_shared=yes 8170fi 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 # Check whether --enable-static was given. 8181if test "${enable_static+set}" = set; then : 8182 enableval=$enable_static; p=${PACKAGE-default} 8183 case $enableval in 8184 yes) enable_static=yes ;; 8185 no) enable_static=no ;; 8186 *) 8187 enable_static=no 8188 # Look at the argument we got. We use all the common list separators. 8189 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8190 for pkg in $enableval; do 8191 IFS=$lt_save_ifs 8192 if test "X$pkg" = "X$p"; then 8193 enable_static=yes 8194 fi 8195 done 8196 IFS=$lt_save_ifs 8197 ;; 8198 esac 8199else 8200 enable_static=yes 8201fi 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212# Check whether --with-pic was given. 8213if test "${with_pic+set}" = set; then : 8214 withval=$with_pic; lt_p=${PACKAGE-default} 8215 case $withval in 8216 yes|no) pic_mode=$withval ;; 8217 *) 8218 pic_mode=default 8219 # Look at the argument we got. We use all the common list separators. 8220 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8221 for lt_pkg in $withval; do 8222 IFS=$lt_save_ifs 8223 if test "X$lt_pkg" = "X$lt_p"; then 8224 pic_mode=yes 8225 fi 8226 done 8227 IFS=$lt_save_ifs 8228 ;; 8229 esac 8230else 8231 pic_mode=default 8232fi 8233 8234 8235 8236 8237 8238 8239 8240 8241 # Check whether --enable-fast-install was given. 8242if test "${enable_fast_install+set}" = set; then : 8243 enableval=$enable_fast_install; p=${PACKAGE-default} 8244 case $enableval in 8245 yes) enable_fast_install=yes ;; 8246 no) enable_fast_install=no ;; 8247 *) 8248 enable_fast_install=no 8249 # Look at the argument we got. We use all the common list separators. 8250 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8251 for pkg in $enableval; do 8252 IFS=$lt_save_ifs 8253 if test "X$pkg" = "X$p"; then 8254 enable_fast_install=yes 8255 fi 8256 done 8257 IFS=$lt_save_ifs 8258 ;; 8259 esac 8260else 8261 enable_fast_install=yes 8262fi 8263 8264 8265 8266 8267 8268 8269 8270 8271 shared_archive_member_spec= 8272case $host,$enable_shared in 8273power*-*-aix[5-9]*,yes) 8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8275$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8276 8277# Check whether --with-aix-soname was given. 8278if test "${with_aix_soname+set}" = set; then : 8279 withval=$with_aix_soname; case $withval in 8280 aix|svr4|both) 8281 ;; 8282 *) 8283 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8284 ;; 8285 esac 8286 lt_cv_with_aix_soname=$with_aix_soname 8287else 8288 if ${lt_cv_with_aix_soname+:} false; then : 8289 $as_echo_n "(cached) " >&6 8290else 8291 lt_cv_with_aix_soname=aix 8292fi 8293 8294 with_aix_soname=$lt_cv_with_aix_soname 8295fi 8296 8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8298$as_echo "$with_aix_soname" >&6; } 8299 if test aix != "$with_aix_soname"; then 8300 # For the AIX way of multilib, we name the shared archive member 8301 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8302 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8303 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8304 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8305 if test 64 = "${OBJECT_MODE-32}"; then 8306 shared_archive_member_spec=shr_64 8307 else 8308 shared_archive_member_spec=shr 8309 fi 8310 fi 8311 ;; 8312*) 8313 with_aix_soname=aix 8314 ;; 8315esac 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326# This can be used to rebuild libtool when needed 8327LIBTOOL_DEPS=$ltmain 8328 8329# Always use our own libtool. 8330LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361test -z "$LN_S" && LN_S="ln -s" 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376if test -n "${ZSH_VERSION+set}"; then 8377 setopt NO_GLOB_SUBST 8378fi 8379 8380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8381$as_echo_n "checking for objdir... " >&6; } 8382if ${lt_cv_objdir+:} false; then : 8383 $as_echo_n "(cached) " >&6 8384else 8385 rm -f .libs 2>/dev/null 8386mkdir .libs 2>/dev/null 8387if test -d .libs; then 8388 lt_cv_objdir=.libs 8389else 8390 # MS-DOS does not allow filenames that begin with a dot. 8391 lt_cv_objdir=_libs 8392fi 8393rmdir .libs 2>/dev/null 8394fi 8395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8396$as_echo "$lt_cv_objdir" >&6; } 8397objdir=$lt_cv_objdir 8398 8399 8400 8401 8402 8403cat >>confdefs.h <<_ACEOF 8404#define LT_OBJDIR "$lt_cv_objdir/" 8405_ACEOF 8406 8407 8408 8409 8410case $host_os in 8411aix3*) 8412 # AIX sometimes has problems with the GCC collect2 program. For some 8413 # reason, if we set the COLLECT_NAMES environment variable, the problems 8414 # vanish in a puff of smoke. 8415 if test set != "${COLLECT_NAMES+set}"; then 8416 COLLECT_NAMES= 8417 export COLLECT_NAMES 8418 fi 8419 ;; 8420esac 8421 8422# Global variables: 8423ofile=libtool 8424can_build_shared=yes 8425 8426# All known linkers require a '.a' archive for static linking (except MSVC, 8427# which needs '.lib'). 8428libext=a 8429 8430with_gnu_ld=$lt_cv_prog_gnu_ld 8431 8432old_CC=$CC 8433old_CFLAGS=$CFLAGS 8434 8435# Set sane defaults for various variables 8436test -z "$CC" && CC=cc 8437test -z "$LTCC" && LTCC=$CC 8438test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8439test -z "$LD" && LD=ld 8440test -z "$ac_objext" && ac_objext=o 8441 8442func_cc_basename $compiler 8443cc_basename=$func_cc_basename_result 8444 8445 8446# Only perform the check for file, if the check method requires it 8447test -z "$MAGIC_CMD" && MAGIC_CMD=file 8448case $deplibs_check_method in 8449file_magic*) 8450 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8452$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8453if ${lt_cv_path_MAGIC_CMD+:} false; then : 8454 $as_echo_n "(cached) " >&6 8455else 8456 case $MAGIC_CMD in 8457[\\/*] | ?:[\\/]*) 8458 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8459 ;; 8460*) 8461 lt_save_MAGIC_CMD=$MAGIC_CMD 8462 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8463 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8464 for ac_dir in $ac_dummy; do 8465 IFS=$lt_save_ifs 8466 test -z "$ac_dir" && ac_dir=. 8467 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8468 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8469 if test -n "$file_magic_test_file"; then 8470 case $deplibs_check_method in 8471 "file_magic "*) 8472 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8473 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8474 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8475 $EGREP "$file_magic_regex" > /dev/null; then 8476 : 8477 else 8478 cat <<_LT_EOF 1>&2 8479 8480*** Warning: the command libtool uses to detect shared libraries, 8481*** $file_magic_cmd, produces output that libtool cannot recognize. 8482*** The result is that libtool may fail to recognize shared libraries 8483*** as such. This will affect the creation of libtool libraries that 8484*** depend on shared libraries, but programs linked with such libtool 8485*** libraries will work regardless of this problem. Nevertheless, you 8486*** may want to report the problem to your system manager and/or to 8487*** bug-libtool@gnu.org 8488 8489_LT_EOF 8490 fi ;; 8491 esac 8492 fi 8493 break 8494 fi 8495 done 8496 IFS=$lt_save_ifs 8497 MAGIC_CMD=$lt_save_MAGIC_CMD 8498 ;; 8499esac 8500fi 8501 8502MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8503if test -n "$MAGIC_CMD"; then 8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8505$as_echo "$MAGIC_CMD" >&6; } 8506else 8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8508$as_echo "no" >&6; } 8509fi 8510 8511 8512 8513 8514 8515if test -z "$lt_cv_path_MAGIC_CMD"; then 8516 if test -n "$ac_tool_prefix"; then 8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8518$as_echo_n "checking for file... " >&6; } 8519if ${lt_cv_path_MAGIC_CMD+:} false; then : 8520 $as_echo_n "(cached) " >&6 8521else 8522 case $MAGIC_CMD in 8523[\\/*] | ?:[\\/]*) 8524 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8525 ;; 8526*) 8527 lt_save_MAGIC_CMD=$MAGIC_CMD 8528 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8529 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8530 for ac_dir in $ac_dummy; do 8531 IFS=$lt_save_ifs 8532 test -z "$ac_dir" && ac_dir=. 8533 if test -f "$ac_dir/file"; then 8534 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8535 if test -n "$file_magic_test_file"; then 8536 case $deplibs_check_method in 8537 "file_magic "*) 8538 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8539 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8540 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8541 $EGREP "$file_magic_regex" > /dev/null; then 8542 : 8543 else 8544 cat <<_LT_EOF 1>&2 8545 8546*** Warning: the command libtool uses to detect shared libraries, 8547*** $file_magic_cmd, produces output that libtool cannot recognize. 8548*** The result is that libtool may fail to recognize shared libraries 8549*** as such. This will affect the creation of libtool libraries that 8550*** depend on shared libraries, but programs linked with such libtool 8551*** libraries will work regardless of this problem. Nevertheless, you 8552*** may want to report the problem to your system manager and/or to 8553*** bug-libtool@gnu.org 8554 8555_LT_EOF 8556 fi ;; 8557 esac 8558 fi 8559 break 8560 fi 8561 done 8562 IFS=$lt_save_ifs 8563 MAGIC_CMD=$lt_save_MAGIC_CMD 8564 ;; 8565esac 8566fi 8567 8568MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8569if test -n "$MAGIC_CMD"; then 8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8571$as_echo "$MAGIC_CMD" >&6; } 8572else 8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8574$as_echo "no" >&6; } 8575fi 8576 8577 8578 else 8579 MAGIC_CMD=: 8580 fi 8581fi 8582 8583 fi 8584 ;; 8585esac 8586 8587# Use C for the default configuration in the libtool script 8588 8589lt_save_CC=$CC 8590ac_ext=c 8591ac_cpp='$CPP $CPPFLAGS' 8592ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8593ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8594ac_compiler_gnu=$ac_cv_c_compiler_gnu 8595 8596 8597# Source file extension for C test sources. 8598ac_ext=c 8599 8600# Object file extension for compiled C test sources. 8601objext=o 8602objext=$objext 8603 8604# Code to be used in simple compile tests 8605lt_simple_compile_test_code="int some_variable = 0;" 8606 8607# Code to be used in simple link tests 8608lt_simple_link_test_code='int main(){return(0);}' 8609 8610 8611 8612 8613 8614 8615 8616# If no C compiler was specified, use CC. 8617LTCC=${LTCC-"$CC"} 8618 8619# If no C compiler flags were specified, use CFLAGS. 8620LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8621 8622# Allow CC to be a program name with arguments. 8623compiler=$CC 8624 8625# Save the default compiler, since it gets overwritten when the other 8626# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8627compiler_DEFAULT=$CC 8628 8629# save warnings/boilerplate of simple test code 8630ac_outfile=conftest.$ac_objext 8631echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8632eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8633_lt_compiler_boilerplate=`cat conftest.err` 8634$RM conftest* 8635 8636ac_outfile=conftest.$ac_objext 8637echo "$lt_simple_link_test_code" >conftest.$ac_ext 8638eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8639_lt_linker_boilerplate=`cat conftest.err` 8640$RM -r conftest* 8641 8642 8643## CAVEAT EMPTOR: 8644## There is no encapsulation within the following macros, do not change 8645## the running order or otherwise move them around unless you know exactly 8646## what you are doing... 8647if test -n "$compiler"; then 8648 8649lt_prog_compiler_no_builtin_flag= 8650 8651if test yes = "$GCC"; then 8652 case $cc_basename in 8653 nvcc*) 8654 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8655 *) 8656 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8657 esac 8658 8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8660$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8661if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8662 $as_echo_n "(cached) " >&6 8663else 8664 lt_cv_prog_compiler_rtti_exceptions=no 8665 ac_outfile=conftest.$ac_objext 8666 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8667 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8668 # Insert the option either (1) after the last *FLAGS variable, or 8669 # (2) before a word containing "conftest.", or (3) at the end. 8670 # Note that $ac_compile itself does not contain backslashes and begins 8671 # with a dollar sign (not a hyphen), so the echo should work correctly. 8672 # The option is referenced via a variable to avoid confusing sed. 8673 lt_compile=`echo "$ac_compile" | $SED \ 8674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8676 -e 's:$: $lt_compiler_flag:'` 8677 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8678 (eval "$lt_compile" 2>conftest.err) 8679 ac_status=$? 8680 cat conftest.err >&5 8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8682 if (exit $ac_status) && test -s "$ac_outfile"; then 8683 # The compiler can only warn and ignore the option if not recognized 8684 # So say no if there are warnings other than the usual output. 8685 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8686 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8687 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8688 lt_cv_prog_compiler_rtti_exceptions=yes 8689 fi 8690 fi 8691 $RM conftest* 8692 8693fi 8694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8695$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8696 8697if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8698 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8699else 8700 : 8701fi 8702 8703fi 8704 8705 8706 8707 8708 8709 8710 lt_prog_compiler_wl= 8711lt_prog_compiler_pic= 8712lt_prog_compiler_static= 8713 8714 8715 if test yes = "$GCC"; then 8716 lt_prog_compiler_wl='-Wl,' 8717 lt_prog_compiler_static='-static' 8718 8719 case $host_os in 8720 aix*) 8721 # All AIX code is PIC. 8722 if test ia64 = "$host_cpu"; then 8723 # AIX 5 now supports IA64 processor 8724 lt_prog_compiler_static='-Bstatic' 8725 fi 8726 lt_prog_compiler_pic='-fPIC' 8727 ;; 8728 8729 amigaos*) 8730 case $host_cpu in 8731 powerpc) 8732 # see comment about AmigaOS4 .so support 8733 lt_prog_compiler_pic='-fPIC' 8734 ;; 8735 m68k) 8736 # FIXME: we need at least 68020 code to build shared libraries, but 8737 # adding the '-m68020' flag to GCC prevents building anything better, 8738 # like '-m68040'. 8739 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8740 ;; 8741 esac 8742 ;; 8743 8744 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8745 # PIC is the default for these OSes. 8746 ;; 8747 8748 mingw* | cygwin* | pw32* | os2* | cegcc*) 8749 # This hack is so that the source file can tell whether it is being 8750 # built for inclusion in a dll (and should export symbols for example). 8751 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8752 # (--disable-auto-import) libraries 8753 lt_prog_compiler_pic='-DDLL_EXPORT' 8754 case $host_os in 8755 os2*) 8756 lt_prog_compiler_static='$wl-static' 8757 ;; 8758 esac 8759 ;; 8760 8761 darwin* | rhapsody*) 8762 # PIC is the default on this platform 8763 # Common symbols not allowed in MH_DYLIB files 8764 lt_prog_compiler_pic='-fno-common' 8765 ;; 8766 8767 haiku*) 8768 # PIC is the default for Haiku. 8769 # The "-static" flag exists, but is broken. 8770 lt_prog_compiler_static= 8771 ;; 8772 8773 hpux*) 8774 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8775 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8776 # sets the default TLS model and affects inlining. 8777 case $host_cpu in 8778 hppa*64*) 8779 # +Z the default 8780 ;; 8781 *) 8782 lt_prog_compiler_pic='-fPIC' 8783 ;; 8784 esac 8785 ;; 8786 8787 interix[3-9]*) 8788 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8789 # Instead, we relocate shared libraries at runtime. 8790 ;; 8791 8792 msdosdjgpp*) 8793 # Just because we use GCC doesn't mean we suddenly get shared libraries 8794 # on systems that don't support them. 8795 lt_prog_compiler_can_build_shared=no 8796 enable_shared=no 8797 ;; 8798 8799 *nto* | *qnx*) 8800 # QNX uses GNU C++, but need to define -shared option too, otherwise 8801 # it will coredump. 8802 lt_prog_compiler_pic='-fPIC -shared' 8803 ;; 8804 8805 sysv4*MP*) 8806 if test -d /usr/nec; then 8807 lt_prog_compiler_pic=-Kconform_pic 8808 fi 8809 ;; 8810 8811 *) 8812 lt_prog_compiler_pic='-fPIC' 8813 ;; 8814 esac 8815 8816 case $cc_basename in 8817 nvcc*) # Cuda Compiler Driver 2.2 8818 lt_prog_compiler_wl='-Xlinker ' 8819 if test -n "$lt_prog_compiler_pic"; then 8820 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8821 fi 8822 ;; 8823 esac 8824 else 8825 # PORTME Check for flag to pass linker flags through the system compiler. 8826 case $host_os in 8827 aix*) 8828 lt_prog_compiler_wl='-Wl,' 8829 if test ia64 = "$host_cpu"; then 8830 # AIX 5 now supports IA64 processor 8831 lt_prog_compiler_static='-Bstatic' 8832 else 8833 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8834 fi 8835 ;; 8836 8837 darwin* | rhapsody*) 8838 # PIC is the default on this platform 8839 # Common symbols not allowed in MH_DYLIB files 8840 lt_prog_compiler_pic='-fno-common' 8841 case $cc_basename in 8842 nagfor*) 8843 # NAG Fortran compiler 8844 lt_prog_compiler_wl='-Wl,-Wl,,' 8845 lt_prog_compiler_pic='-PIC' 8846 lt_prog_compiler_static='-Bstatic' 8847 ;; 8848 esac 8849 ;; 8850 8851 mingw* | cygwin* | pw32* | os2* | cegcc*) 8852 # This hack is so that the source file can tell whether it is being 8853 # built for inclusion in a dll (and should export symbols for example). 8854 lt_prog_compiler_pic='-DDLL_EXPORT' 8855 case $host_os in 8856 os2*) 8857 lt_prog_compiler_static='$wl-static' 8858 ;; 8859 esac 8860 ;; 8861 8862 hpux9* | hpux10* | hpux11*) 8863 lt_prog_compiler_wl='-Wl,' 8864 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8865 # not for PA HP-UX. 8866 case $host_cpu in 8867 hppa*64*|ia64*) 8868 # +Z the default 8869 ;; 8870 *) 8871 lt_prog_compiler_pic='+Z' 8872 ;; 8873 esac 8874 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8875 lt_prog_compiler_static='$wl-a ${wl}archive' 8876 ;; 8877 8878 irix5* | irix6* | nonstopux*) 8879 lt_prog_compiler_wl='-Wl,' 8880 # PIC (with -KPIC) is the default. 8881 lt_prog_compiler_static='-non_shared' 8882 ;; 8883 8884 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8885 case $cc_basename in 8886 # old Intel for x86_64, which still supported -KPIC. 8887 ecc*) 8888 lt_prog_compiler_wl='-Wl,' 8889 lt_prog_compiler_pic='-KPIC' 8890 lt_prog_compiler_static='-static' 8891 ;; 8892 # flang / f18. f95 an alias for gfortran or flang on Debian 8893 flang* | f18* | f95*) 8894 lt_prog_compiler_wl='-Wl,' 8895 lt_prog_compiler_pic='-fPIC' 8896 lt_prog_compiler_static='-static' 8897 ;; 8898 # icc used to be incompatible with GCC. 8899 # ICC 10 doesn't accept -KPIC any more. 8900 icc* | ifort*) 8901 lt_prog_compiler_wl='-Wl,' 8902 lt_prog_compiler_pic='-fPIC' 8903 lt_prog_compiler_static='-static' 8904 ;; 8905 # Lahey Fortran 8.1. 8906 lf95*) 8907 lt_prog_compiler_wl='-Wl,' 8908 lt_prog_compiler_pic='--shared' 8909 lt_prog_compiler_static='--static' 8910 ;; 8911 nagfor*) 8912 # NAG Fortran compiler 8913 lt_prog_compiler_wl='-Wl,-Wl,,' 8914 lt_prog_compiler_pic='-PIC' 8915 lt_prog_compiler_static='-Bstatic' 8916 ;; 8917 tcc*) 8918 # Fabrice Bellard et al's Tiny C Compiler 8919 lt_prog_compiler_wl='-Wl,' 8920 lt_prog_compiler_pic='-fPIC' 8921 lt_prog_compiler_static='-static' 8922 ;; 8923 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8924 # Portland Group compilers (*not* the Pentium gcc compiler, 8925 # which looks to be a dead project) 8926 lt_prog_compiler_wl='-Wl,' 8927 lt_prog_compiler_pic='-fpic' 8928 lt_prog_compiler_static='-Bstatic' 8929 ;; 8930 ccc*) 8931 lt_prog_compiler_wl='-Wl,' 8932 # All Alpha code is PIC. 8933 lt_prog_compiler_static='-non_shared' 8934 ;; 8935 xl* | bgxl* | bgf* | mpixl*) 8936 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8937 lt_prog_compiler_wl='-Wl,' 8938 lt_prog_compiler_pic='-qpic' 8939 lt_prog_compiler_static='-qstaticlink' 8940 ;; 8941 *) 8942 case `$CC -V 2>&1 | sed 5q` in 8943 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8944 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8945 lt_prog_compiler_pic='-KPIC' 8946 lt_prog_compiler_static='-Bstatic' 8947 lt_prog_compiler_wl='' 8948 ;; 8949 *Sun\ F* | *Sun*Fortran*) 8950 lt_prog_compiler_pic='-KPIC' 8951 lt_prog_compiler_static='-Bstatic' 8952 lt_prog_compiler_wl='-Qoption ld ' 8953 ;; 8954 *Sun\ C*) 8955 # Sun C 5.9 8956 lt_prog_compiler_pic='-KPIC' 8957 lt_prog_compiler_static='-Bstatic' 8958 lt_prog_compiler_wl='-Wl,' 8959 ;; 8960 *Intel*\ [CF]*Compiler*) 8961 lt_prog_compiler_wl='-Wl,' 8962 lt_prog_compiler_pic='-fPIC' 8963 lt_prog_compiler_static='-static' 8964 ;; 8965 *Portland\ Group*) 8966 lt_prog_compiler_wl='-Wl,' 8967 lt_prog_compiler_pic='-fpic' 8968 lt_prog_compiler_static='-Bstatic' 8969 ;; 8970 esac 8971 ;; 8972 esac 8973 ;; 8974 8975 newsos6) 8976 lt_prog_compiler_pic='-KPIC' 8977 lt_prog_compiler_static='-Bstatic' 8978 ;; 8979 8980 *nto* | *qnx*) 8981 # QNX uses GNU C++, but need to define -shared option too, otherwise 8982 # it will coredump. 8983 lt_prog_compiler_pic='-fPIC -shared' 8984 ;; 8985 8986 osf3* | osf4* | osf5*) 8987 lt_prog_compiler_wl='-Wl,' 8988 # All OSF/1 code is PIC. 8989 lt_prog_compiler_static='-non_shared' 8990 ;; 8991 8992 rdos*) 8993 lt_prog_compiler_static='-non_shared' 8994 ;; 8995 8996 solaris*) 8997 lt_prog_compiler_pic='-KPIC' 8998 lt_prog_compiler_static='-Bstatic' 8999 case $cc_basename in 9000 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9001 lt_prog_compiler_wl='-Qoption ld ';; 9002 *) 9003 lt_prog_compiler_wl='-Wl,';; 9004 esac 9005 ;; 9006 9007 sunos4*) 9008 lt_prog_compiler_wl='-Qoption ld ' 9009 lt_prog_compiler_pic='-PIC' 9010 lt_prog_compiler_static='-Bstatic' 9011 ;; 9012 9013 sysv4 | sysv4.2uw2* | sysv4.3*) 9014 lt_prog_compiler_wl='-Wl,' 9015 lt_prog_compiler_pic='-KPIC' 9016 lt_prog_compiler_static='-Bstatic' 9017 ;; 9018 9019 sysv4*MP*) 9020 if test -d /usr/nec; then 9021 lt_prog_compiler_pic='-Kconform_pic' 9022 lt_prog_compiler_static='-Bstatic' 9023 fi 9024 ;; 9025 9026 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9027 lt_prog_compiler_wl='-Wl,' 9028 lt_prog_compiler_pic='-KPIC' 9029 lt_prog_compiler_static='-Bstatic' 9030 ;; 9031 9032 unicos*) 9033 lt_prog_compiler_wl='-Wl,' 9034 lt_prog_compiler_can_build_shared=no 9035 ;; 9036 9037 uts4*) 9038 lt_prog_compiler_pic='-pic' 9039 lt_prog_compiler_static='-Bstatic' 9040 ;; 9041 9042 *) 9043 lt_prog_compiler_can_build_shared=no 9044 ;; 9045 esac 9046 fi 9047 9048case $host_os in 9049 # For platforms that do not support PIC, -DPIC is meaningless: 9050 *djgpp*) 9051 lt_prog_compiler_pic= 9052 ;; 9053 *) 9054 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9055 ;; 9056esac 9057 9058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9059$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9060if ${lt_cv_prog_compiler_pic+:} false; then : 9061 $as_echo_n "(cached) " >&6 9062else 9063 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9064fi 9065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9066$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9067lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9068 9069# 9070# Check to make sure the PIC flag actually works. 9071# 9072if test -n "$lt_prog_compiler_pic"; then 9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9074$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9075if ${lt_cv_prog_compiler_pic_works+:} false; then : 9076 $as_echo_n "(cached) " >&6 9077else 9078 lt_cv_prog_compiler_pic_works=no 9079 ac_outfile=conftest.$ac_objext 9080 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9081 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9082 # Insert the option either (1) after the last *FLAGS variable, or 9083 # (2) before a word containing "conftest.", or (3) at the end. 9084 # Note that $ac_compile itself does not contain backslashes and begins 9085 # with a dollar sign (not a hyphen), so the echo should work correctly. 9086 # The option is referenced via a variable to avoid confusing sed. 9087 lt_compile=`echo "$ac_compile" | $SED \ 9088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9090 -e 's:$: $lt_compiler_flag:'` 9091 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9092 (eval "$lt_compile" 2>conftest.err) 9093 ac_status=$? 9094 cat conftest.err >&5 9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9096 if (exit $ac_status) && test -s "$ac_outfile"; then 9097 # The compiler can only warn and ignore the option if not recognized 9098 # So say no if there are warnings other than the usual output. 9099 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9100 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9101 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9102 lt_cv_prog_compiler_pic_works=yes 9103 fi 9104 fi 9105 $RM conftest* 9106 9107fi 9108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9109$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9110 9111if test yes = "$lt_cv_prog_compiler_pic_works"; then 9112 case $lt_prog_compiler_pic in 9113 "" | " "*) ;; 9114 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9115 esac 9116else 9117 lt_prog_compiler_pic= 9118 lt_prog_compiler_can_build_shared=no 9119fi 9120 9121fi 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133# 9134# Check to make sure the static flag actually works. 9135# 9136wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9138$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9139if ${lt_cv_prog_compiler_static_works+:} false; then : 9140 $as_echo_n "(cached) " >&6 9141else 9142 lt_cv_prog_compiler_static_works=no 9143 save_LDFLAGS=$LDFLAGS 9144 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9145 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9146 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9147 # The linker can only warn and ignore the option if not recognized 9148 # So say no if there are warnings 9149 if test -s conftest.err; then 9150 # Append any errors to the config.log. 9151 cat conftest.err 1>&5 9152 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9153 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9154 if diff conftest.exp conftest.er2 >/dev/null; then 9155 lt_cv_prog_compiler_static_works=yes 9156 fi 9157 else 9158 lt_cv_prog_compiler_static_works=yes 9159 fi 9160 fi 9161 $RM -r conftest* 9162 LDFLAGS=$save_LDFLAGS 9163 9164fi 9165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9166$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9167 9168if test yes = "$lt_cv_prog_compiler_static_works"; then 9169 : 9170else 9171 lt_prog_compiler_static= 9172fi 9173 9174 9175 9176 9177 9178 9179 9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9181$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9182if ${lt_cv_prog_compiler_c_o+:} false; then : 9183 $as_echo_n "(cached) " >&6 9184else 9185 lt_cv_prog_compiler_c_o=no 9186 $RM -r conftest 2>/dev/null 9187 mkdir conftest 9188 cd conftest 9189 mkdir out 9190 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9191 9192 lt_compiler_flag="-o out/conftest2.$ac_objext" 9193 # Insert the option either (1) after the last *FLAGS variable, or 9194 # (2) before a word containing "conftest.", or (3) at the end. 9195 # Note that $ac_compile itself does not contain backslashes and begins 9196 # with a dollar sign (not a hyphen), so the echo should work correctly. 9197 lt_compile=`echo "$ac_compile" | $SED \ 9198 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9199 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9200 -e 's:$: $lt_compiler_flag:'` 9201 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9202 (eval "$lt_compile" 2>out/conftest.err) 9203 ac_status=$? 9204 cat out/conftest.err >&5 9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9206 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9207 then 9208 # The compiler can only warn and ignore the option if not recognized 9209 # So say no if there are warnings 9210 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9211 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9212 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9213 lt_cv_prog_compiler_c_o=yes 9214 fi 9215 fi 9216 chmod u+w . 2>&5 9217 $RM conftest* 9218 # SGI C++ compiler will create directory out/ii_files/ for 9219 # template instantiation 9220 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9221 $RM out/* && rmdir out 9222 cd .. 9223 $RM -r conftest 9224 $RM conftest* 9225 9226fi 9227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9228$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9229 9230 9231 9232 9233 9234 9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9236$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9237if ${lt_cv_prog_compiler_c_o+:} false; then : 9238 $as_echo_n "(cached) " >&6 9239else 9240 lt_cv_prog_compiler_c_o=no 9241 $RM -r conftest 2>/dev/null 9242 mkdir conftest 9243 cd conftest 9244 mkdir out 9245 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9246 9247 lt_compiler_flag="-o out/conftest2.$ac_objext" 9248 # Insert the option either (1) after the last *FLAGS variable, or 9249 # (2) before a word containing "conftest.", or (3) at the end. 9250 # Note that $ac_compile itself does not contain backslashes and begins 9251 # with a dollar sign (not a hyphen), so the echo should work correctly. 9252 lt_compile=`echo "$ac_compile" | $SED \ 9253 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9254 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9255 -e 's:$: $lt_compiler_flag:'` 9256 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9257 (eval "$lt_compile" 2>out/conftest.err) 9258 ac_status=$? 9259 cat out/conftest.err >&5 9260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9261 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9262 then 9263 # The compiler can only warn and ignore the option if not recognized 9264 # So say no if there are warnings 9265 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9266 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9267 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9268 lt_cv_prog_compiler_c_o=yes 9269 fi 9270 fi 9271 chmod u+w . 2>&5 9272 $RM conftest* 9273 # SGI C++ compiler will create directory out/ii_files/ for 9274 # template instantiation 9275 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9276 $RM out/* && rmdir out 9277 cd .. 9278 $RM -r conftest 9279 $RM conftest* 9280 9281fi 9282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9283$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9284 9285 9286 9287 9288hard_links=nottested 9289if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9290 # do not overwrite the value of need_locks provided by the user 9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9292$as_echo_n "checking if we can lock with hard links... " >&6; } 9293 hard_links=yes 9294 $RM conftest* 9295 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9296 touch conftest.a 9297 ln conftest.a conftest.b 2>&5 || hard_links=no 9298 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9300$as_echo "$hard_links" >&6; } 9301 if test no = "$hard_links"; then 9302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9303$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9304 need_locks=warn 9305 fi 9306else 9307 need_locks=no 9308fi 9309 9310 9311 9312 9313 9314 9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9316$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9317 9318 runpath_var= 9319 allow_undefined_flag= 9320 always_export_symbols=no 9321 archive_cmds= 9322 archive_expsym_cmds= 9323 compiler_needs_object=no 9324 enable_shared_with_static_runtimes=no 9325 export_dynamic_flag_spec= 9326 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9327 hardcode_automatic=no 9328 hardcode_direct=no 9329 hardcode_direct_absolute=no 9330 hardcode_libdir_flag_spec= 9331 hardcode_libdir_separator= 9332 hardcode_minus_L=no 9333 hardcode_shlibpath_var=unsupported 9334 inherit_rpath=no 9335 link_all_deplibs=unknown 9336 module_cmds= 9337 module_expsym_cmds= 9338 old_archive_from_new_cmds= 9339 old_archive_from_expsyms_cmds= 9340 thread_safe_flag_spec= 9341 whole_archive_flag_spec= 9342 # include_expsyms should be a list of space-separated symbols to be *always* 9343 # included in the symbol list 9344 include_expsyms= 9345 # exclude_expsyms can be an extended regexp of symbols to exclude 9346 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9347 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9348 # as well as any symbol that contains 'd'. 9349 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9350 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9351 # platforms (ab)use it in PIC code, but their linkers get confused if 9352 # the symbol is explicitly referenced. Since portable code cannot 9353 # rely on this symbol name, it's probably fine to never include it in 9354 # preloaded symbol tables. 9355 # Exclude shared library initialization/finalization symbols. 9356 extract_expsyms_cmds= 9357 9358 case $host_os in 9359 cygwin* | mingw* | pw32* | cegcc*) 9360 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9361 # When not using gcc, we currently assume that we are using 9362 # Microsoft Visual C++. 9363 if test yes != "$GCC"; then 9364 with_gnu_ld=no 9365 fi 9366 ;; 9367 interix*) 9368 # we just hope/assume this is gcc and not c89 (= MSVC++) 9369 with_gnu_ld=yes 9370 ;; 9371 openbsd* | bitrig*) 9372 with_gnu_ld=no 9373 ;; 9374 linux* | k*bsd*-gnu | gnu*) 9375 link_all_deplibs=no 9376 ;; 9377 esac 9378 9379 ld_shlibs=yes 9380 9381 # On some targets, GNU ld is compatible enough with the native linker 9382 # that we're better off using the native interface for both. 9383 lt_use_gnu_ld_interface=no 9384 if test yes = "$with_gnu_ld"; then 9385 case $host_os in 9386 aix*) 9387 # The AIX port of GNU ld has always aspired to compatibility 9388 # with the native linker. However, as the warning in the GNU ld 9389 # block says, versions before 2.19.5* couldn't really create working 9390 # shared libraries, regardless of the interface used. 9391 case `$LD -v 2>&1` in 9392 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9393 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9394 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9395 *) 9396 lt_use_gnu_ld_interface=yes 9397 ;; 9398 esac 9399 ;; 9400 *) 9401 lt_use_gnu_ld_interface=yes 9402 ;; 9403 esac 9404 fi 9405 9406 if test yes = "$lt_use_gnu_ld_interface"; then 9407 # If archive_cmds runs LD, not CC, wlarc should be empty 9408 wlarc='$wl' 9409 9410 # Set some defaults for GNU ld with shared library support. These 9411 # are reset later if shared libraries are not supported. Putting them 9412 # here allows them to be overridden if necessary. 9413 runpath_var=LD_RUN_PATH 9414 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9415 export_dynamic_flag_spec='$wl--export-dynamic' 9416 # ancient GNU ld didn't support --whole-archive et. al. 9417 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9418 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9419 else 9420 whole_archive_flag_spec= 9421 fi 9422 supports_anon_versioning=no 9423 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9424 *GNU\ gold*) supports_anon_versioning=yes ;; 9425 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9426 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9427 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9428 *\ 2.11.*) ;; # other 2.11 versions 9429 *) supports_anon_versioning=yes ;; 9430 esac 9431 9432 # See if GNU ld supports shared libraries. 9433 case $host_os in 9434 aix[3-9]*) 9435 # On AIX/PPC, the GNU linker is very broken 9436 if test ia64 != "$host_cpu"; then 9437 ld_shlibs=no 9438 cat <<_LT_EOF 1>&2 9439 9440*** Warning: the GNU linker, at least up to release 2.19, is reported 9441*** to be unable to reliably create shared libraries on AIX. 9442*** Therefore, libtool is disabling shared libraries support. If you 9443*** really care for shared libraries, you may want to install binutils 9444*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9445*** You will then need to restart the configuration process. 9446 9447_LT_EOF 9448 fi 9449 ;; 9450 9451 amigaos*) 9452 case $host_cpu in 9453 powerpc) 9454 # see comment about AmigaOS4 .so support 9455 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9456 archive_expsym_cmds='' 9457 ;; 9458 m68k) 9459 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)' 9460 hardcode_libdir_flag_spec='-L$libdir' 9461 hardcode_minus_L=yes 9462 ;; 9463 esac 9464 ;; 9465 9466 beos*) 9467 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9468 allow_undefined_flag=unsupported 9469 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9470 # support --undefined. This deserves some investigation. FIXME 9471 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9472 else 9473 ld_shlibs=no 9474 fi 9475 ;; 9476 9477 cygwin* | mingw* | pw32* | cegcc*) 9478 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9479 # as there is no search path for DLLs. 9480 hardcode_libdir_flag_spec='-L$libdir' 9481 export_dynamic_flag_spec='$wl--export-all-symbols' 9482 allow_undefined_flag=unsupported 9483 always_export_symbols=no 9484 enable_shared_with_static_runtimes=yes 9485 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' 9486 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9487 9488 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9489 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9490 # If the export-symbols file already is a .def file, use it as 9491 # is; otherwise, prepend EXPORTS... 9492 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9493 cp $export_symbols $output_objdir/$soname.def; 9494 else 9495 echo EXPORTS > $output_objdir/$soname.def; 9496 cat $export_symbols >> $output_objdir/$soname.def; 9497 fi~ 9498 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9499 else 9500 ld_shlibs=no 9501 fi 9502 ;; 9503 9504 haiku*) 9505 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9506 link_all_deplibs=yes 9507 ;; 9508 9509 os2*) 9510 hardcode_libdir_flag_spec='-L$libdir' 9511 hardcode_minus_L=yes 9512 allow_undefined_flag=unsupported 9513 shrext_cmds=.dll 9514 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9515 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9516 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9517 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9518 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9519 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9520 emximp -o $lib $output_objdir/$libname.def' 9521 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9522 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9523 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9524 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9525 prefix_cmds="$SED"~ 9526 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9527 prefix_cmds="$prefix_cmds -e 1d"; 9528 fi~ 9529 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9530 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9531 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9532 emximp -o $lib $output_objdir/$libname.def' 9533 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9534 enable_shared_with_static_runtimes=yes 9535 ;; 9536 9537 interix[3-9]*) 9538 hardcode_direct=no 9539 hardcode_shlibpath_var=no 9540 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9541 export_dynamic_flag_spec='$wl-E' 9542 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9543 # Instead, shared libraries are loaded at an image base (0x10000000 by 9544 # default) and relocated if they conflict, which is a slow very memory 9545 # consuming and fragmenting process. To avoid this, we pick a random, 9546 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9547 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9548 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9549 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' 9550 ;; 9551 9552 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9553 tmp_diet=no 9554 if test linux-dietlibc = "$host_os"; then 9555 case $cc_basename in 9556 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9557 esac 9558 fi 9559 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9560 && test no = "$tmp_diet" 9561 then 9562 tmp_addflag=' $pic_flag' 9563 tmp_sharedflag='-shared' 9564 case $cc_basename,$host_cpu in 9565 pgcc*) # Portland Group C compiler 9566 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' 9567 tmp_addflag=' $pic_flag' 9568 ;; 9569 pgf77* | pgf90* | pgf95* | pgfortran*) 9570 # Portland Group f77 and f90 compilers 9571 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' 9572 tmp_addflag=' $pic_flag -Mnomain' ;; 9573 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9574 tmp_addflag=' -i_dynamic' ;; 9575 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9576 tmp_addflag=' -i_dynamic -nofor_main' ;; 9577 ifc* | ifort*) # Intel Fortran compiler 9578 tmp_addflag=' -nofor_main' ;; 9579 lf95*) # Lahey Fortran 8.1 9580 whole_archive_flag_spec= 9581 tmp_sharedflag='--shared' ;; 9582 nagfor*) # NAGFOR 5.3 9583 tmp_sharedflag='-Wl,-shared' ;; 9584 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9585 tmp_sharedflag='-qmkshrobj' 9586 tmp_addflag= ;; 9587 nvcc*) # Cuda Compiler Driver 2.2 9588 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' 9589 compiler_needs_object=yes 9590 ;; 9591 esac 9592 case `$CC -V 2>&1 | sed 5q` in 9593 *Sun\ C*) # Sun C 5.9 9594 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' 9595 compiler_needs_object=yes 9596 tmp_sharedflag='-G' ;; 9597 *Sun\ F*) # Sun Fortran 8.3 9598 tmp_sharedflag='-G' ;; 9599 esac 9600 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9601 9602 if test yes = "$supports_anon_versioning"; then 9603 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9604 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9605 echo "local: *; };" >> $output_objdir/$libname.ver~ 9606 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9607 fi 9608 9609 case $cc_basename in 9610 tcc*) 9611 export_dynamic_flag_spec='-rdynamic' 9612 ;; 9613 xlf* | bgf* | bgxlf* | mpixlf*) 9614 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9615 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9616 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9617 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9618 if test yes = "$supports_anon_versioning"; then 9619 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9620 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9621 echo "local: *; };" >> $output_objdir/$libname.ver~ 9622 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9623 fi 9624 ;; 9625 esac 9626 else 9627 ld_shlibs=no 9628 fi 9629 ;; 9630 9631 netbsd* | netbsdelf*-gnu) 9632 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9633 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9634 wlarc= 9635 else 9636 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9637 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9638 fi 9639 ;; 9640 9641 solaris*) 9642 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9643 ld_shlibs=no 9644 cat <<_LT_EOF 1>&2 9645 9646*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9647*** create shared libraries on Solaris systems. Therefore, libtool 9648*** is disabling shared libraries support. We urge you to upgrade GNU 9649*** binutils to release 2.9.1 or newer. Another option is to modify 9650*** your PATH or compiler configuration so that the native linker is 9651*** used, and then restart. 9652 9653_LT_EOF 9654 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9655 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9656 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9657 else 9658 ld_shlibs=no 9659 fi 9660 ;; 9661 9662 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9663 case `$LD -v 2>&1` in 9664 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9665 ld_shlibs=no 9666 cat <<_LT_EOF 1>&2 9667 9668*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9669*** reliably create shared libraries on SCO systems. Therefore, libtool 9670*** is disabling shared libraries support. We urge you to upgrade GNU 9671*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9672*** your PATH or compiler configuration so that the native linker is 9673*** used, and then restart. 9674 9675_LT_EOF 9676 ;; 9677 *) 9678 # For security reasons, it is highly recommended that you always 9679 # use absolute paths for naming shared libraries, and exclude the 9680 # DT_RUNPATH tag from executables and libraries. But doing so 9681 # requires that you compile everything twice, which is a pain. 9682 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9683 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9684 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9685 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9686 else 9687 ld_shlibs=no 9688 fi 9689 ;; 9690 esac 9691 ;; 9692 9693 sunos4*) 9694 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9695 wlarc= 9696 hardcode_direct=yes 9697 hardcode_shlibpath_var=no 9698 ;; 9699 9700 *) 9701 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9702 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9703 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9704 else 9705 ld_shlibs=no 9706 fi 9707 ;; 9708 esac 9709 9710 if test no = "$ld_shlibs"; then 9711 runpath_var= 9712 hardcode_libdir_flag_spec= 9713 export_dynamic_flag_spec= 9714 whole_archive_flag_spec= 9715 fi 9716 else 9717 # PORTME fill in a description of your system's linker (not GNU ld) 9718 case $host_os in 9719 aix3*) 9720 allow_undefined_flag=unsupported 9721 always_export_symbols=yes 9722 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' 9723 # Note: this linker hardcodes the directories in LIBPATH if there 9724 # are no directories specified by -L. 9725 hardcode_minus_L=yes 9726 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9727 # Neither direct hardcoding nor static linking is supported with a 9728 # broken collect2. 9729 hardcode_direct=unsupported 9730 fi 9731 ;; 9732 9733 aix[4-9]*) 9734 if test ia64 = "$host_cpu"; then 9735 # On IA64, the linker does run time linking by default, so we don't 9736 # have to do anything special. 9737 aix_use_runtimelinking=no 9738 exp_sym_flag='-Bexport' 9739 no_entry_flag= 9740 else 9741 # If we're using GNU nm, then we don't want the "-C" option. 9742 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9743 # Without the "-l" option, or with the "-B" option, AIX nm treats 9744 # weak defined symbols like other global defined symbols, whereas 9745 # GNU nm marks them as "W". 9746 # While the 'weak' keyword is ignored in the Export File, we need 9747 # it in the Import File for the 'aix-soname' feature, so we have 9748 # to replace the "-B" option with "-P" for AIX nm. 9749 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9750 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 9751 else 9752 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 9753 fi 9754 aix_use_runtimelinking=no 9755 9756 # Test if we are trying to use run time linking or normal 9757 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9758 # have runtime linking enabled, and use it for executables. 9759 # For shared libraries, we enable/disable runtime linking 9760 # depending on the kind of the shared library created - 9761 # when "with_aix_soname,aix_use_runtimelinking" is: 9762 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9763 # "aix,yes" lib.so shared, rtl:yes, for executables 9764 # lib.a static archive 9765 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9766 # lib.a(lib.so.V) shared, rtl:no, for executables 9767 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9768 # lib.a(lib.so.V) shared, rtl:no 9769 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9770 # lib.a static archive 9771 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9772 for ld_flag in $LDFLAGS; do 9773 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9774 aix_use_runtimelinking=yes 9775 break 9776 fi 9777 done 9778 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9779 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9780 # so we don't have lib.a shared libs to link our executables. 9781 # We have to force runtime linking in this case. 9782 aix_use_runtimelinking=yes 9783 LDFLAGS="$LDFLAGS -Wl,-brtl" 9784 fi 9785 ;; 9786 esac 9787 9788 exp_sym_flag='-bexport' 9789 no_entry_flag='-bnoentry' 9790 fi 9791 9792 # When large executables or shared objects are built, AIX ld can 9793 # have problems creating the table of contents. If linking a library 9794 # or program results in "error TOC overflow" add -mminimal-toc to 9795 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9796 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9797 9798 archive_cmds='' 9799 hardcode_direct=yes 9800 hardcode_direct_absolute=yes 9801 hardcode_libdir_separator=':' 9802 link_all_deplibs=yes 9803 file_list_spec='$wl-f,' 9804 case $with_aix_soname,$aix_use_runtimelinking in 9805 aix,*) ;; # traditional, no import file 9806 svr4,* | *,yes) # use import file 9807 # The Import File defines what to hardcode. 9808 hardcode_direct=no 9809 hardcode_direct_absolute=no 9810 ;; 9811 esac 9812 9813 if test yes = "$GCC"; then 9814 case $host_os in aix4.[012]|aix4.[012].*) 9815 # We only want to do this on AIX 4.2 and lower, the check 9816 # below for broken collect2 doesn't work under 4.3+ 9817 collect2name=`$CC -print-prog-name=collect2` 9818 if test -f "$collect2name" && 9819 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9820 then 9821 # We have reworked collect2 9822 : 9823 else 9824 # We have old collect2 9825 hardcode_direct=unsupported 9826 # It fails to find uninstalled libraries when the uninstalled 9827 # path is not listed in the libpath. Setting hardcode_minus_L 9828 # to unsupported forces relinking 9829 hardcode_minus_L=yes 9830 hardcode_libdir_flag_spec='-L$libdir' 9831 hardcode_libdir_separator= 9832 fi 9833 ;; 9834 esac 9835 shared_flag='-shared' 9836 if test yes = "$aix_use_runtimelinking"; then 9837 shared_flag="$shared_flag "'$wl-G' 9838 fi 9839 # Need to ensure runtime linking is disabled for the traditional 9840 # shared library, or the linker may eventually find shared libraries 9841 # /with/ Import File - we do not want to mix them. 9842 shared_flag_aix='-shared' 9843 shared_flag_svr4='-shared $wl-G' 9844 else 9845 # not using gcc 9846 if test ia64 = "$host_cpu"; then 9847 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9848 # chokes on -Wl,-G. The following line is correct: 9849 shared_flag='-G' 9850 else 9851 if test yes = "$aix_use_runtimelinking"; then 9852 shared_flag='$wl-G' 9853 else 9854 shared_flag='$wl-bM:SRE' 9855 fi 9856 shared_flag_aix='$wl-bM:SRE' 9857 shared_flag_svr4='$wl-G' 9858 fi 9859 fi 9860 9861 export_dynamic_flag_spec='$wl-bexpall' 9862 # It seems that -bexpall does not export symbols beginning with 9863 # underscore (_), so it is better to generate a list of symbols to export. 9864 always_export_symbols=yes 9865 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9866 # Warning - without using the other runtime loading flags (-brtl), 9867 # -berok will link without error, but may produce a broken library. 9868 allow_undefined_flag='-berok' 9869 # Determine the default libpath from the value encoded in an 9870 # empty executable. 9871 if test set = "${lt_cv_aix_libpath+set}"; then 9872 aix_libpath=$lt_cv_aix_libpath 9873else 9874 if ${lt_cv_aix_libpath_+:} false; then : 9875 $as_echo_n "(cached) " >&6 9876else 9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9878/* end confdefs.h. */ 9879 9880int 9881main () 9882{ 9883 9884 ; 9885 return 0; 9886} 9887_ACEOF 9888if ac_fn_c_try_link "$LINENO"; then : 9889 9890 lt_aix_libpath_sed=' 9891 /Import File Strings/,/^$/ { 9892 /^0/ { 9893 s/^0 *\([^ ]*\) *$/\1/ 9894 p 9895 } 9896 }' 9897 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9898 # Check for a 64-bit object if we didn't find anything. 9899 if test -z "$lt_cv_aix_libpath_"; then 9900 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9901 fi 9902fi 9903rm -f core conftest.err conftest.$ac_objext \ 9904 conftest$ac_exeext conftest.$ac_ext 9905 if test -z "$lt_cv_aix_libpath_"; then 9906 lt_cv_aix_libpath_=/usr/lib:/lib 9907 fi 9908 9909fi 9910 9911 aix_libpath=$lt_cv_aix_libpath_ 9912fi 9913 9914 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9915 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 9916 else 9917 if test ia64 = "$host_cpu"; then 9918 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9919 allow_undefined_flag="-z nodefs" 9920 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" 9921 else 9922 # Determine the default libpath from the value encoded in an 9923 # empty executable. 9924 if test set = "${lt_cv_aix_libpath+set}"; then 9925 aix_libpath=$lt_cv_aix_libpath 9926else 9927 if ${lt_cv_aix_libpath_+:} false; then : 9928 $as_echo_n "(cached) " >&6 9929else 9930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9931/* end confdefs.h. */ 9932 9933int 9934main () 9935{ 9936 9937 ; 9938 return 0; 9939} 9940_ACEOF 9941if ac_fn_c_try_link "$LINENO"; then : 9942 9943 lt_aix_libpath_sed=' 9944 /Import File Strings/,/^$/ { 9945 /^0/ { 9946 s/^0 *\([^ ]*\) *$/\1/ 9947 p 9948 } 9949 }' 9950 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9951 # Check for a 64-bit object if we didn't find anything. 9952 if test -z "$lt_cv_aix_libpath_"; then 9953 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9954 fi 9955fi 9956rm -f core conftest.err conftest.$ac_objext \ 9957 conftest$ac_exeext conftest.$ac_ext 9958 if test -z "$lt_cv_aix_libpath_"; then 9959 lt_cv_aix_libpath_=/usr/lib:/lib 9960 fi 9961 9962fi 9963 9964 aix_libpath=$lt_cv_aix_libpath_ 9965fi 9966 9967 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9968 # Warning - without using the other run time loading flags, 9969 # -berok will link without error, but may produce a broken library. 9970 no_undefined_flag=' $wl-bernotok' 9971 allow_undefined_flag=' $wl-berok' 9972 if test yes = "$with_gnu_ld"; then 9973 # We only use this code for GNU lds that support --whole-archive. 9974 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9975 else 9976 # Exported symbols can be pulled into shared objects from archives 9977 whole_archive_flag_spec='$convenience' 9978 fi 9979 archive_cmds_need_lc=yes 9980 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9981 # -brtl affects multiple linker settings, -berok does not and is overridden later 9982 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9983 if test svr4 != "$with_aix_soname"; then 9984 # This is similar to how AIX traditionally builds its shared libraries. 9985 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 9986 fi 9987 if test aix != "$with_aix_soname"; then 9988 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 9989 else 9990 # used by -dlpreopen to get the symbols 9991 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9992 fi 9993 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9994 fi 9995 fi 9996 ;; 9997 9998 amigaos*) 9999 case $host_cpu in 10000 powerpc) 10001 # see comment about AmigaOS4 .so support 10002 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10003 archive_expsym_cmds='' 10004 ;; 10005 m68k) 10006 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)' 10007 hardcode_libdir_flag_spec='-L$libdir' 10008 hardcode_minus_L=yes 10009 ;; 10010 esac 10011 ;; 10012 10013 bsdi[45]*) 10014 export_dynamic_flag_spec=-rdynamic 10015 ;; 10016 10017 cygwin* | mingw* | pw32* | cegcc*) 10018 # When not using gcc, we currently assume that we are using 10019 # Microsoft Visual C++. 10020 # hardcode_libdir_flag_spec is actually meaningless, as there is 10021 # no search path for DLLs. 10022 case $cc_basename in 10023 cl*) 10024 # Native MSVC 10025 hardcode_libdir_flag_spec=' ' 10026 allow_undefined_flag=unsupported 10027 always_export_symbols=yes 10028 file_list_spec='@' 10029 # Tell ltmain to make .lib files, not .a files. 10030 libext=lib 10031 # Tell ltmain to make .dll files, not .so files. 10032 shrext_cmds=.dll 10033 # FIXME: Setting linknames here is a bad hack. 10034 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10035 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10036 cp "$export_symbols" "$output_objdir/$soname.def"; 10037 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10038 else 10039 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10040 fi~ 10041 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10042 linknames=' 10043 # The linker will not automatically build a static lib if we build a DLL. 10044 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10045 enable_shared_with_static_runtimes=yes 10046 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10047 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10048 # Don't use ranlib 10049 old_postinstall_cmds='chmod 644 $oldlib' 10050 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10051 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10052 case $lt_outputfile in 10053 *.exe|*.EXE) ;; 10054 *) 10055 lt_outputfile=$lt_outputfile.exe 10056 lt_tool_outputfile=$lt_tool_outputfile.exe 10057 ;; 10058 esac~ 10059 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10060 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10061 $RM "$lt_outputfile.manifest"; 10062 fi' 10063 ;; 10064 *) 10065 # Assume MSVC wrapper 10066 hardcode_libdir_flag_spec=' ' 10067 allow_undefined_flag=unsupported 10068 # Tell ltmain to make .lib files, not .a files. 10069 libext=lib 10070 # Tell ltmain to make .dll files, not .so files. 10071 shrext_cmds=.dll 10072 # FIXME: Setting linknames here is a bad hack. 10073 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10074 # The linker will automatically build a .lib file if we build a DLL. 10075 old_archive_from_new_cmds='true' 10076 # FIXME: Should let the user specify the lib program. 10077 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10078 enable_shared_with_static_runtimes=yes 10079 ;; 10080 esac 10081 ;; 10082 10083 darwin* | rhapsody*) 10084 10085 10086 archive_cmds_need_lc=no 10087 hardcode_direct=no 10088 hardcode_automatic=yes 10089 hardcode_shlibpath_var=unsupported 10090 if test yes = "$lt_cv_ld_force_load"; then 10091 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\"`' 10092 10093 else 10094 whole_archive_flag_spec='' 10095 fi 10096 link_all_deplibs=yes 10097 allow_undefined_flag=$_lt_dar_allow_undefined 10098 case $cc_basename in 10099 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10100 *) _lt_dar_can_shared=$GCC ;; 10101 esac 10102 if test yes = "$_lt_dar_can_shared"; then 10103 output_verbose_link_cmd=func_echo_all 10104 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10105 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10106 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" 10107 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" 10108 10109 else 10110 ld_shlibs=no 10111 fi 10112 10113 ;; 10114 10115 dgux*) 10116 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10117 hardcode_libdir_flag_spec='-L$libdir' 10118 hardcode_shlibpath_var=no 10119 ;; 10120 10121 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10122 # support. Future versions do this automatically, but an explicit c++rt0.o 10123 # does not break anything, and helps significantly (at the cost of a little 10124 # extra space). 10125 freebsd2.2*) 10126 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10127 hardcode_libdir_flag_spec='-R$libdir' 10128 hardcode_direct=yes 10129 hardcode_shlibpath_var=no 10130 ;; 10131 10132 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10133 freebsd2.*) 10134 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10135 hardcode_direct=yes 10136 hardcode_minus_L=yes 10137 hardcode_shlibpath_var=no 10138 ;; 10139 10140 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10141 freebsd* | dragonfly*) 10142 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10143 hardcode_libdir_flag_spec='-R$libdir' 10144 hardcode_direct=yes 10145 hardcode_shlibpath_var=no 10146 ;; 10147 10148 hpux9*) 10149 if test yes = "$GCC"; then 10150 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10151 else 10152 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10153 fi 10154 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10155 hardcode_libdir_separator=: 10156 hardcode_direct=yes 10157 10158 # hardcode_minus_L: Not really in the search PATH, 10159 # but as the default location of the library. 10160 hardcode_minus_L=yes 10161 export_dynamic_flag_spec='$wl-E' 10162 ;; 10163 10164 hpux10*) 10165 if test yes,no = "$GCC,$with_gnu_ld"; then 10166 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10167 else 10168 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10169 fi 10170 if test no = "$with_gnu_ld"; then 10171 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10172 hardcode_libdir_separator=: 10173 hardcode_direct=yes 10174 hardcode_direct_absolute=yes 10175 export_dynamic_flag_spec='$wl-E' 10176 # hardcode_minus_L: Not really in the search PATH, 10177 # but as the default location of the library. 10178 hardcode_minus_L=yes 10179 fi 10180 ;; 10181 10182 hpux11*) 10183 if test yes,no = "$GCC,$with_gnu_ld"; then 10184 case $host_cpu in 10185 hppa*64*) 10186 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10187 ;; 10188 ia64*) 10189 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10190 ;; 10191 *) 10192 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10193 ;; 10194 esac 10195 else 10196 case $host_cpu in 10197 hppa*64*) 10198 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10199 ;; 10200 ia64*) 10201 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10202 ;; 10203 *) 10204 10205 # Older versions of the 11.00 compiler do not understand -b yet 10206 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10208$as_echo_n "checking if $CC understands -b... " >&6; } 10209if ${lt_cv_prog_compiler__b+:} false; then : 10210 $as_echo_n "(cached) " >&6 10211else 10212 lt_cv_prog_compiler__b=no 10213 save_LDFLAGS=$LDFLAGS 10214 LDFLAGS="$LDFLAGS -b" 10215 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10216 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10217 # The linker can only warn and ignore the option if not recognized 10218 # So say no if there are warnings 10219 if test -s conftest.err; then 10220 # Append any errors to the config.log. 10221 cat conftest.err 1>&5 10222 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10223 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10224 if diff conftest.exp conftest.er2 >/dev/null; then 10225 lt_cv_prog_compiler__b=yes 10226 fi 10227 else 10228 lt_cv_prog_compiler__b=yes 10229 fi 10230 fi 10231 $RM -r conftest* 10232 LDFLAGS=$save_LDFLAGS 10233 10234fi 10235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10236$as_echo "$lt_cv_prog_compiler__b" >&6; } 10237 10238if test yes = "$lt_cv_prog_compiler__b"; then 10239 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10240else 10241 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10242fi 10243 10244 ;; 10245 esac 10246 fi 10247 if test no = "$with_gnu_ld"; then 10248 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10249 hardcode_libdir_separator=: 10250 10251 case $host_cpu in 10252 hppa*64*|ia64*) 10253 hardcode_direct=no 10254 hardcode_shlibpath_var=no 10255 ;; 10256 *) 10257 hardcode_direct=yes 10258 hardcode_direct_absolute=yes 10259 export_dynamic_flag_spec='$wl-E' 10260 10261 # hardcode_minus_L: Not really in the search PATH, 10262 # but as the default location of the library. 10263 hardcode_minus_L=yes 10264 ;; 10265 esac 10266 fi 10267 ;; 10268 10269 irix5* | irix6* | nonstopux*) 10270 if test yes = "$GCC"; then 10271 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' 10272 # Try to use the -exported_symbol ld option, if it does not 10273 # work, assume that -exports_file does not work either and 10274 # implicitly export all symbols. 10275 # This should be the same for all languages, so no per-tag cache variable. 10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10277$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10278if ${lt_cv_irix_exported_symbol+:} false; then : 10279 $as_echo_n "(cached) " >&6 10280else 10281 save_LDFLAGS=$LDFLAGS 10282 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10284/* end confdefs.h. */ 10285int foo (void) { return 0; } 10286_ACEOF 10287if ac_fn_c_try_link "$LINENO"; then : 10288 lt_cv_irix_exported_symbol=yes 10289else 10290 lt_cv_irix_exported_symbol=no 10291fi 10292rm -f core conftest.err conftest.$ac_objext \ 10293 conftest$ac_exeext conftest.$ac_ext 10294 LDFLAGS=$save_LDFLAGS 10295fi 10296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10297$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10298 if test yes = "$lt_cv_irix_exported_symbol"; then 10299 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' 10300 fi 10301 link_all_deplibs=no 10302 else 10303 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' 10304 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' 10305 fi 10306 archive_cmds_need_lc='no' 10307 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10308 hardcode_libdir_separator=: 10309 inherit_rpath=yes 10310 link_all_deplibs=yes 10311 ;; 10312 10313 linux*) 10314 case $cc_basename in 10315 tcc*) 10316 # Fabrice Bellard et al's Tiny C Compiler 10317 ld_shlibs=yes 10318 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10319 ;; 10320 esac 10321 ;; 10322 10323 netbsd* | netbsdelf*-gnu) 10324 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10325 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10326 else 10327 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10328 fi 10329 hardcode_libdir_flag_spec='-R$libdir' 10330 hardcode_direct=yes 10331 hardcode_shlibpath_var=no 10332 ;; 10333 10334 newsos6) 10335 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10336 hardcode_direct=yes 10337 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10338 hardcode_libdir_separator=: 10339 hardcode_shlibpath_var=no 10340 ;; 10341 10342 *nto* | *qnx*) 10343 ;; 10344 10345 openbsd* | bitrig*) 10346 if test -f /usr/libexec/ld.so; then 10347 hardcode_direct=yes 10348 hardcode_shlibpath_var=no 10349 hardcode_direct_absolute=yes 10350 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10351 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10352 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10353 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10354 export_dynamic_flag_spec='$wl-E' 10355 else 10356 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10357 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10358 fi 10359 else 10360 ld_shlibs=no 10361 fi 10362 ;; 10363 10364 os2*) 10365 hardcode_libdir_flag_spec='-L$libdir' 10366 hardcode_minus_L=yes 10367 allow_undefined_flag=unsupported 10368 shrext_cmds=.dll 10369 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10370 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10371 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10372 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10373 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10374 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10375 emximp -o $lib $output_objdir/$libname.def' 10376 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10377 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10378 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10379 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10380 prefix_cmds="$SED"~ 10381 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10382 prefix_cmds="$prefix_cmds -e 1d"; 10383 fi~ 10384 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10385 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10386 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10387 emximp -o $lib $output_objdir/$libname.def' 10388 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10389 enable_shared_with_static_runtimes=yes 10390 ;; 10391 10392 osf3*) 10393 if test yes = "$GCC"; then 10394 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10395 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' 10396 else 10397 allow_undefined_flag=' -expect_unresolved \*' 10398 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' 10399 fi 10400 archive_cmds_need_lc='no' 10401 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10402 hardcode_libdir_separator=: 10403 ;; 10404 10405 osf4* | osf5*) # as osf3* with the addition of -msym flag 10406 if test yes = "$GCC"; then 10407 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10408 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' 10409 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10410 else 10411 allow_undefined_flag=' -expect_unresolved \*' 10412 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' 10413 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~ 10414 $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' 10415 10416 # Both c and cxx compiler support -rpath directly 10417 hardcode_libdir_flag_spec='-rpath $libdir' 10418 fi 10419 archive_cmds_need_lc='no' 10420 hardcode_libdir_separator=: 10421 ;; 10422 10423 solaris*) 10424 no_undefined_flag=' -z defs' 10425 if test yes = "$GCC"; then 10426 wlarc='$wl' 10427 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10428 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10429 $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' 10430 else 10431 case `$CC -V 2>&1` in 10432 *"Compilers 5.0"*) 10433 wlarc='' 10434 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10435 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10436 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10437 ;; 10438 *) 10439 wlarc='$wl' 10440 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10441 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10442 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10443 ;; 10444 esac 10445 fi 10446 hardcode_libdir_flag_spec='-R$libdir' 10447 hardcode_shlibpath_var=no 10448 case $host_os in 10449 solaris2.[0-5] | solaris2.[0-5].*) ;; 10450 *) 10451 # The compiler driver will combine and reorder linker options, 10452 # but understands '-z linker_flag'. GCC discards it without '$wl', 10453 # but is careful enough not to reorder. 10454 # Supported since Solaris 2.6 (maybe 2.5.1?) 10455 if test yes = "$GCC"; then 10456 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10457 else 10458 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10459 fi 10460 ;; 10461 esac 10462 link_all_deplibs=yes 10463 ;; 10464 10465 sunos4*) 10466 if test sequent = "$host_vendor"; then 10467 # Use $CC to link under sequent, because it throws in some extra .o 10468 # files that make .init and .fini sections work. 10469 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10470 else 10471 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10472 fi 10473 hardcode_libdir_flag_spec='-L$libdir' 10474 hardcode_direct=yes 10475 hardcode_minus_L=yes 10476 hardcode_shlibpath_var=no 10477 ;; 10478 10479 sysv4) 10480 case $host_vendor in 10481 sni) 10482 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10483 hardcode_direct=yes # is this really true??? 10484 ;; 10485 siemens) 10486 ## LD is ld it makes a PLAMLIB 10487 ## CC just makes a GrossModule. 10488 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10489 reload_cmds='$CC -r -o $output$reload_objs' 10490 hardcode_direct=no 10491 ;; 10492 motorola) 10493 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10494 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10495 ;; 10496 esac 10497 runpath_var='LD_RUN_PATH' 10498 hardcode_shlibpath_var=no 10499 ;; 10500 10501 sysv4.3*) 10502 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10503 hardcode_shlibpath_var=no 10504 export_dynamic_flag_spec='-Bexport' 10505 ;; 10506 10507 sysv4*MP*) 10508 if test -d /usr/nec; then 10509 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10510 hardcode_shlibpath_var=no 10511 runpath_var=LD_RUN_PATH 10512 hardcode_runpath_var=yes 10513 ld_shlibs=yes 10514 fi 10515 ;; 10516 10517 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10518 no_undefined_flag='$wl-z,text' 10519 archive_cmds_need_lc=no 10520 hardcode_shlibpath_var=no 10521 runpath_var='LD_RUN_PATH' 10522 10523 if test yes = "$GCC"; then 10524 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10525 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10526 else 10527 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10528 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10529 fi 10530 ;; 10531 10532 sysv5* | sco3.2v5* | sco5v6*) 10533 # Note: We CANNOT use -z defs as we might desire, because we do not 10534 # link with -lc, and that would cause any symbols used from libc to 10535 # always be unresolved, which means just about no library would 10536 # ever link correctly. If we're not using GNU ld we use -z text 10537 # though, which does catch some bad symbols but isn't as heavy-handed 10538 # as -z defs. 10539 no_undefined_flag='$wl-z,text' 10540 allow_undefined_flag='$wl-z,nodefs' 10541 archive_cmds_need_lc=no 10542 hardcode_shlibpath_var=no 10543 hardcode_libdir_flag_spec='$wl-R,$libdir' 10544 hardcode_libdir_separator=':' 10545 link_all_deplibs=yes 10546 export_dynamic_flag_spec='$wl-Bexport' 10547 runpath_var='LD_RUN_PATH' 10548 10549 if test yes = "$GCC"; then 10550 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10551 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10552 else 10553 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10554 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10555 fi 10556 ;; 10557 10558 uts4*) 10559 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10560 hardcode_libdir_flag_spec='-L$libdir' 10561 hardcode_shlibpath_var=no 10562 ;; 10563 10564 *) 10565 ld_shlibs=no 10566 ;; 10567 esac 10568 10569 if test sni = "$host_vendor"; then 10570 case $host in 10571 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10572 export_dynamic_flag_spec='$wl-Blargedynsym' 10573 ;; 10574 esac 10575 fi 10576 fi 10577 10578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10579$as_echo "$ld_shlibs" >&6; } 10580test no = "$ld_shlibs" && can_build_shared=no 10581 10582with_gnu_ld=$with_gnu_ld 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598# 10599# Do we need to explicitly link libc? 10600# 10601case "x$archive_cmds_need_lc" in 10602x|xyes) 10603 # Assume -lc should be added 10604 archive_cmds_need_lc=yes 10605 10606 if test yes,yes = "$GCC,$enable_shared"; then 10607 case $archive_cmds in 10608 *'~'*) 10609 # FIXME: we may have to deal with multi-command sequences. 10610 ;; 10611 '$CC '*) 10612 # Test whether the compiler implicitly links with -lc since on some 10613 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10614 # to ld, don't add -lc before -lgcc. 10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10616$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10617if ${lt_cv_archive_cmds_need_lc+:} false; then : 10618 $as_echo_n "(cached) " >&6 10619else 10620 $RM conftest* 10621 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10622 10623 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10624 (eval $ac_compile) 2>&5 10625 ac_status=$? 10626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10627 test $ac_status = 0; } 2>conftest.err; then 10628 soname=conftest 10629 lib=conftest 10630 libobjs=conftest.$ac_objext 10631 deplibs= 10632 wl=$lt_prog_compiler_wl 10633 pic_flag=$lt_prog_compiler_pic 10634 compiler_flags=-v 10635 linker_flags=-v 10636 verstring= 10637 output_objdir=. 10638 libname=conftest 10639 lt_save_allow_undefined_flag=$allow_undefined_flag 10640 allow_undefined_flag= 10641 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10642 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10643 ac_status=$? 10644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10645 test $ac_status = 0; } 10646 then 10647 lt_cv_archive_cmds_need_lc=no 10648 else 10649 lt_cv_archive_cmds_need_lc=yes 10650 fi 10651 allow_undefined_flag=$lt_save_allow_undefined_flag 10652 else 10653 cat conftest.err 1>&5 10654 fi 10655 $RM conftest* 10656 10657fi 10658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10659$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10660 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10661 ;; 10662 esac 10663 fi 10664 ;; 10665esac 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10819$as_echo_n "checking dynamic linker characteristics... " >&6; } 10820 10821if test yes = "$GCC"; then 10822 case $host_os in 10823 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10824 *) lt_awk_arg='/^libraries:/' ;; 10825 esac 10826 case $host_os in 10827 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10828 *) lt_sed_strip_eq='s|=/|/|g' ;; 10829 esac 10830 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10831 case $lt_search_path_spec in 10832 *\;*) 10833 # if the path contains ";" then we assume it to be the separator 10834 # otherwise default to the standard path separator (i.e. ":") - it is 10835 # assumed that no part of a normal pathname contains ";" but that should 10836 # okay in the real world where ";" in dirpaths is itself problematic. 10837 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10838 ;; 10839 *) 10840 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10841 ;; 10842 esac 10843 # Ok, now we have the path, separated by spaces, we can step through it 10844 # and add multilib dir if necessary... 10845 lt_tmp_lt_search_path_spec= 10846 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10847 # ...but if some path component already ends with the multilib dir we assume 10848 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10849 case "$lt_multi_os_dir; $lt_search_path_spec " in 10850 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10851 lt_multi_os_dir= 10852 ;; 10853 esac 10854 for lt_sys_path in $lt_search_path_spec; do 10855 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10856 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10857 elif test -n "$lt_multi_os_dir"; then 10858 test -d "$lt_sys_path" && \ 10859 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10860 fi 10861 done 10862 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10863BEGIN {RS = " "; FS = "/|\n";} { 10864 lt_foo = ""; 10865 lt_count = 0; 10866 for (lt_i = NF; lt_i > 0; lt_i--) { 10867 if ($lt_i != "" && $lt_i != ".") { 10868 if ($lt_i == "..") { 10869 lt_count++; 10870 } else { 10871 if (lt_count == 0) { 10872 lt_foo = "/" $lt_i lt_foo; 10873 } else { 10874 lt_count--; 10875 } 10876 } 10877 } 10878 } 10879 if (lt_foo != "") { lt_freq[lt_foo]++; } 10880 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10881}'` 10882 # AWK program above erroneously prepends '/' to C:/dos/paths 10883 # for these hosts. 10884 case $host_os in 10885 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10886 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10887 esac 10888 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10889else 10890 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10891fi 10892library_names_spec= 10893libname_spec='lib$name' 10894soname_spec= 10895shrext_cmds=.so 10896postinstall_cmds= 10897postuninstall_cmds= 10898finish_cmds= 10899finish_eval= 10900shlibpath_var= 10901shlibpath_overrides_runpath=unknown 10902version_type=none 10903dynamic_linker="$host_os ld.so" 10904sys_lib_dlsearch_path_spec="/lib /usr/lib" 10905need_lib_prefix=unknown 10906hardcode_into_libs=no 10907 10908# when you set need_version to no, make sure it does not cause -set_version 10909# flags to be left without arguments 10910need_version=unknown 10911 10912 10913 10914case $host_os in 10915aix3*) 10916 version_type=linux # correct to gnu/linux during the next big refactor 10917 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10918 shlibpath_var=LIBPATH 10919 10920 # AIX 3 has no versioning support, so we append a major version to the name. 10921 soname_spec='$libname$release$shared_ext$major' 10922 ;; 10923 10924aix[4-9]*) 10925 version_type=linux # correct to gnu/linux during the next big refactor 10926 need_lib_prefix=no 10927 need_version=no 10928 hardcode_into_libs=yes 10929 if test ia64 = "$host_cpu"; then 10930 # AIX 5 supports IA64 10931 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10932 shlibpath_var=LD_LIBRARY_PATH 10933 else 10934 # With GCC up to 2.95.x, collect2 would create an import file 10935 # for dependence libraries. The import file would start with 10936 # the line '#! .'. This would cause the generated library to 10937 # depend on '.', always an invalid library. This was fixed in 10938 # development snapshots of GCC prior to 3.0. 10939 case $host_os in 10940 aix4 | aix4.[01] | aix4.[01].*) 10941 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10942 echo ' yes ' 10943 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10944 : 10945 else 10946 can_build_shared=no 10947 fi 10948 ;; 10949 esac 10950 # Using Import Files as archive members, it is possible to support 10951 # filename-based versioning of shared library archives on AIX. While 10952 # this would work for both with and without runtime linking, it will 10953 # prevent static linking of such archives. So we do filename-based 10954 # shared library versioning with .so extension only, which is used 10955 # when both runtime linking and shared linking is enabled. 10956 # Unfortunately, runtime linking may impact performance, so we do 10957 # not want this to be the default eventually. Also, we use the 10958 # versioned .so libs for executables only if there is the -brtl 10959 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10960 # To allow for filename-based versioning support, we need to create 10961 # libNAME.so.V as an archive file, containing: 10962 # *) an Import File, referring to the versioned filename of the 10963 # archive as well as the shared archive member, telling the 10964 # bitwidth (32 or 64) of that shared object, and providing the 10965 # list of exported symbols of that shared object, eventually 10966 # decorated with the 'weak' keyword 10967 # *) the shared object with the F_LOADONLY flag set, to really avoid 10968 # it being seen by the linker. 10969 # At run time we better use the real file rather than another symlink, 10970 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10971 10972 case $with_aix_soname,$aix_use_runtimelinking in 10973 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10974 # soname into executable. Probably we can add versioning support to 10975 # collect2, so additional links can be useful in future. 10976 aix,yes) # traditional libtool 10977 dynamic_linker='AIX unversionable lib.so' 10978 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10979 # instead of lib<name>.a to let people know that these are not 10980 # typical AIX shared libraries. 10981 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10982 ;; 10983 aix,no) # traditional AIX only 10984 dynamic_linker='AIX lib.a(lib.so.V)' 10985 # We preserve .a as extension for shared libraries through AIX4.2 10986 # and later when we are not doing run time linking. 10987 library_names_spec='$libname$release.a $libname.a' 10988 soname_spec='$libname$release$shared_ext$major' 10989 ;; 10990 svr4,*) # full svr4 only 10991 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10992 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10993 # We do not specify a path in Import Files, so LIBPATH fires. 10994 shlibpath_overrides_runpath=yes 10995 ;; 10996 *,yes) # both, prefer svr4 10997 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10998 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10999 # unpreferred sharedlib libNAME.a needs extra handling 11000 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 11001 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 11002 # We do not specify a path in Import Files, so LIBPATH fires. 11003 shlibpath_overrides_runpath=yes 11004 ;; 11005 *,no) # both, prefer aix 11006 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11007 library_names_spec='$libname$release.a $libname.a' 11008 soname_spec='$libname$release$shared_ext$major' 11009 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11010 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 11011 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 11012 ;; 11013 esac 11014 shlibpath_var=LIBPATH 11015 fi 11016 ;; 11017 11018amigaos*) 11019 case $host_cpu in 11020 powerpc) 11021 # Since July 2007 AmigaOS4 officially supports .so libraries. 11022 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11023 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11024 ;; 11025 m68k) 11026 library_names_spec='$libname.ixlibrary $libname.a' 11027 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11028 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 11029 ;; 11030 esac 11031 ;; 11032 11033beos*) 11034 library_names_spec='$libname$shared_ext' 11035 dynamic_linker="$host_os ld.so" 11036 shlibpath_var=LIBRARY_PATH 11037 ;; 11038 11039bsdi[45]*) 11040 version_type=linux # correct to gnu/linux during the next big refactor 11041 need_version=no 11042 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11043 soname_spec='$libname$release$shared_ext$major' 11044 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11045 shlibpath_var=LD_LIBRARY_PATH 11046 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11047 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11048 # the default ld.so.conf also contains /usr/contrib/lib and 11049 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11050 # libtool to hard-code these into programs 11051 ;; 11052 11053cygwin* | mingw* | pw32* | cegcc*) 11054 version_type=windows 11055 shrext_cmds=.dll 11056 need_version=no 11057 need_lib_prefix=no 11058 11059 case $GCC,$cc_basename in 11060 yes,*) 11061 # gcc 11062 library_names_spec='$libname.dll.a' 11063 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11064 postinstall_cmds='base_file=`basename \$file`~ 11065 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11066 dldir=$destdir/`dirname \$dlpath`~ 11067 test -d \$dldir || mkdir -p \$dldir~ 11068 $install_prog $dir/$dlname \$dldir/$dlname~ 11069 chmod a+x \$dldir/$dlname~ 11070 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11071 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11072 fi' 11073 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11074 dlpath=$dir/\$dldll~ 11075 $RM \$dlpath' 11076 shlibpath_overrides_runpath=yes 11077 11078 case $host_os in 11079 cygwin*) 11080 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11081 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11082 11083 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11084 ;; 11085 mingw* | cegcc*) 11086 # MinGW DLLs use traditional 'lib' prefix 11087 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11088 ;; 11089 pw32*) 11090 # pw32 DLLs use 'pw' prefix rather than 'lib' 11091 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11092 ;; 11093 esac 11094 dynamic_linker='Win32 ld.exe' 11095 ;; 11096 11097 *,cl*) 11098 # Native MSVC 11099 libname_spec='$name' 11100 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11101 library_names_spec='$libname.dll.lib' 11102 11103 case $build_os in 11104 mingw*) 11105 sys_lib_search_path_spec= 11106 lt_save_ifs=$IFS 11107 IFS=';' 11108 for lt_path in $LIB 11109 do 11110 IFS=$lt_save_ifs 11111 # Let DOS variable expansion print the short 8.3 style file name. 11112 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11113 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11114 done 11115 IFS=$lt_save_ifs 11116 # Convert to MSYS style. 11117 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11118 ;; 11119 cygwin*) 11120 # Convert to unix form, then to dos form, then back to unix form 11121 # but this time dos style (no spaces!) so that the unix form looks 11122 # like /cygdrive/c/PROGRA~1:/cygdr... 11123 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11124 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11125 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11126 ;; 11127 *) 11128 sys_lib_search_path_spec=$LIB 11129 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11130 # It is most probably a Windows format PATH. 11131 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11132 else 11133 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11134 fi 11135 # FIXME: find the short name or the path components, as spaces are 11136 # common. (e.g. "Program Files" -> "PROGRA~1") 11137 ;; 11138 esac 11139 11140 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11141 postinstall_cmds='base_file=`basename \$file`~ 11142 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11143 dldir=$destdir/`dirname \$dlpath`~ 11144 test -d \$dldir || mkdir -p \$dldir~ 11145 $install_prog $dir/$dlname \$dldir/$dlname' 11146 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11147 dlpath=$dir/\$dldll~ 11148 $RM \$dlpath' 11149 shlibpath_overrides_runpath=yes 11150 dynamic_linker='Win32 link.exe' 11151 ;; 11152 11153 *) 11154 # Assume MSVC wrapper 11155 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11156 dynamic_linker='Win32 ld.exe' 11157 ;; 11158 esac 11159 # FIXME: first we should search . and the directory the executable is in 11160 shlibpath_var=PATH 11161 ;; 11162 11163darwin* | rhapsody*) 11164 dynamic_linker="$host_os dyld" 11165 version_type=darwin 11166 need_lib_prefix=no 11167 need_version=no 11168 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11169 soname_spec='$libname$release$major$shared_ext' 11170 shlibpath_overrides_runpath=yes 11171 shlibpath_var=DYLD_LIBRARY_PATH 11172 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11173 11174 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11175 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11176 ;; 11177 11178dgux*) 11179 version_type=linux # correct to gnu/linux during the next big refactor 11180 need_lib_prefix=no 11181 need_version=no 11182 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11183 soname_spec='$libname$release$shared_ext$major' 11184 shlibpath_var=LD_LIBRARY_PATH 11185 ;; 11186 11187freebsd* | dragonfly*) 11188 # DragonFly does not have aout. When/if they implement a new 11189 # versioning mechanism, adjust this. 11190 if test -x /usr/bin/objformat; then 11191 objformat=`/usr/bin/objformat` 11192 else 11193 case $host_os in 11194 freebsd[23].*) objformat=aout ;; 11195 *) objformat=elf ;; 11196 esac 11197 fi 11198 version_type=freebsd-$objformat 11199 case $version_type in 11200 freebsd-elf*) 11201 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11202 soname_spec='$libname$release$shared_ext$major' 11203 need_version=no 11204 need_lib_prefix=no 11205 ;; 11206 freebsd-*) 11207 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11208 need_version=yes 11209 ;; 11210 esac 11211 shlibpath_var=LD_LIBRARY_PATH 11212 case $host_os in 11213 freebsd2.*) 11214 shlibpath_overrides_runpath=yes 11215 ;; 11216 freebsd3.[01]* | freebsdelf3.[01]*) 11217 shlibpath_overrides_runpath=yes 11218 hardcode_into_libs=yes 11219 ;; 11220 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11221 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11222 shlibpath_overrides_runpath=no 11223 hardcode_into_libs=yes 11224 ;; 11225 *) # from 4.6 on, and DragonFly 11226 shlibpath_overrides_runpath=yes 11227 hardcode_into_libs=yes 11228 ;; 11229 esac 11230 ;; 11231 11232haiku*) 11233 version_type=linux # correct to gnu/linux during the next big refactor 11234 need_lib_prefix=no 11235 need_version=no 11236 dynamic_linker="$host_os runtime_loader" 11237 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11238 soname_spec='$libname$release$shared_ext$major' 11239 shlibpath_var=LIBRARY_PATH 11240 shlibpath_overrides_runpath=no 11241 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11242 hardcode_into_libs=yes 11243 ;; 11244 11245hpux9* | hpux10* | hpux11*) 11246 # Give a soname corresponding to the major version so that dld.sl refuses to 11247 # link against other versions. 11248 version_type=sunos 11249 need_lib_prefix=no 11250 need_version=no 11251 case $host_cpu in 11252 ia64*) 11253 shrext_cmds='.so' 11254 hardcode_into_libs=yes 11255 dynamic_linker="$host_os dld.so" 11256 shlibpath_var=LD_LIBRARY_PATH 11257 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11258 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11259 soname_spec='$libname$release$shared_ext$major' 11260 if test 32 = "$HPUX_IA64_MODE"; then 11261 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11262 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11263 else 11264 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11265 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11266 fi 11267 ;; 11268 hppa*64*) 11269 shrext_cmds='.sl' 11270 hardcode_into_libs=yes 11271 dynamic_linker="$host_os dld.sl" 11272 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11273 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11274 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11275 soname_spec='$libname$release$shared_ext$major' 11276 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11277 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11278 ;; 11279 *) 11280 shrext_cmds='.sl' 11281 dynamic_linker="$host_os dld.sl" 11282 shlibpath_var=SHLIB_PATH 11283 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11284 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11285 soname_spec='$libname$release$shared_ext$major' 11286 ;; 11287 esac 11288 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11289 postinstall_cmds='chmod 555 $lib' 11290 # or fails outright, so override atomically: 11291 install_override_mode=555 11292 ;; 11293 11294interix[3-9]*) 11295 version_type=linux # correct to gnu/linux during the next big refactor 11296 need_lib_prefix=no 11297 need_version=no 11298 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11299 soname_spec='$libname$release$shared_ext$major' 11300 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11301 shlibpath_var=LD_LIBRARY_PATH 11302 shlibpath_overrides_runpath=no 11303 hardcode_into_libs=yes 11304 ;; 11305 11306irix5* | irix6* | nonstopux*) 11307 case $host_os in 11308 nonstopux*) version_type=nonstopux ;; 11309 *) 11310 if test yes = "$lt_cv_prog_gnu_ld"; then 11311 version_type=linux # correct to gnu/linux during the next big refactor 11312 else 11313 version_type=irix 11314 fi ;; 11315 esac 11316 need_lib_prefix=no 11317 need_version=no 11318 soname_spec='$libname$release$shared_ext$major' 11319 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11320 case $host_os in 11321 irix5* | nonstopux*) 11322 libsuff= shlibsuff= 11323 ;; 11324 *) 11325 case $LD in # libtool.m4 will add one of these switches to LD 11326 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11327 libsuff= shlibsuff= libmagic=32-bit;; 11328 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11329 libsuff=32 shlibsuff=N32 libmagic=N32;; 11330 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11331 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11332 *) libsuff= shlibsuff= libmagic=never-match;; 11333 esac 11334 ;; 11335 esac 11336 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11337 shlibpath_overrides_runpath=no 11338 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11339 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11340 hardcode_into_libs=yes 11341 ;; 11342 11343# No shared lib support for Linux oldld, aout, or coff. 11344linux*oldld* | linux*aout* | linux*coff*) 11345 dynamic_linker=no 11346 ;; 11347 11348linux*android*) 11349 version_type=none # Android doesn't support versioned libraries. 11350 need_lib_prefix=no 11351 need_version=no 11352 library_names_spec='$libname$release$shared_ext' 11353 soname_spec='$libname$release$shared_ext' 11354 finish_cmds= 11355 shlibpath_var=LD_LIBRARY_PATH 11356 shlibpath_overrides_runpath=yes 11357 11358 # This implies no fast_install, which is unacceptable. 11359 # Some rework will be needed to allow for fast_install 11360 # before this can be enabled. 11361 hardcode_into_libs=yes 11362 11363 dynamic_linker='Android linker' 11364 # Don't embed -rpath directories since the linker doesn't support them. 11365 hardcode_libdir_flag_spec='-L$libdir' 11366 ;; 11367 11368# This must be glibc/ELF. 11369linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11370 version_type=linux # correct to gnu/linux during the next big refactor 11371 need_lib_prefix=no 11372 need_version=no 11373 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11374 soname_spec='$libname$release$shared_ext$major' 11375 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11376 shlibpath_var=LD_LIBRARY_PATH 11377 shlibpath_overrides_runpath=no 11378 11379 # Some binutils ld are patched to set DT_RUNPATH 11380 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11381 $as_echo_n "(cached) " >&6 11382else 11383 lt_cv_shlibpath_overrides_runpath=no 11384 save_LDFLAGS=$LDFLAGS 11385 save_libdir=$libdir 11386 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11387 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11389/* end confdefs.h. */ 11390 11391int 11392main () 11393{ 11394 11395 ; 11396 return 0; 11397} 11398_ACEOF 11399if ac_fn_c_try_link "$LINENO"; then : 11400 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11401 lt_cv_shlibpath_overrides_runpath=yes 11402fi 11403fi 11404rm -f core conftest.err conftest.$ac_objext \ 11405 conftest$ac_exeext conftest.$ac_ext 11406 LDFLAGS=$save_LDFLAGS 11407 libdir=$save_libdir 11408 11409fi 11410 11411 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11412 11413 # This implies no fast_install, which is unacceptable. 11414 # Some rework will be needed to allow for fast_install 11415 # before this can be enabled. 11416 hardcode_into_libs=yes 11417 11418 # Ideally, we could use ldconfig to report *all* directores which are 11419 # searched for libraries, however this is still not possible. Aside from not 11420 # being certain /sbin/ldconfig is available, command 11421 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11422 # even though it is searched at run-time. Try to do the best guess by 11423 # appending ld.so.conf contents (and includes) to the search path. 11424 if test -f /etc/ld.so.conf; then 11425 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' ' '` 11426 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11427 fi 11428 11429 # We used to test for /lib/ld.so.1 and disable shared libraries on 11430 # powerpc, because MkLinux only supported shared libraries with the 11431 # GNU dynamic linker. Since this was broken with cross compilers, 11432 # most powerpc-linux boxes support dynamic linking these days and 11433 # people can always --disable-shared, the test was removed, and we 11434 # assume the GNU/Linux dynamic linker is in use. 11435 dynamic_linker='GNU/Linux ld.so' 11436 ;; 11437 11438netbsdelf*-gnu) 11439 version_type=linux 11440 need_lib_prefix=no 11441 need_version=no 11442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11443 soname_spec='${libname}${release}${shared_ext}$major' 11444 shlibpath_var=LD_LIBRARY_PATH 11445 shlibpath_overrides_runpath=no 11446 hardcode_into_libs=yes 11447 dynamic_linker='NetBSD ld.elf_so' 11448 ;; 11449 11450netbsd*) 11451 version_type=sunos 11452 need_lib_prefix=no 11453 need_version=no 11454 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11455 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11456 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11457 dynamic_linker='NetBSD (a.out) ld.so' 11458 else 11459 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11460 soname_spec='$libname$release$shared_ext$major' 11461 dynamic_linker='NetBSD ld.elf_so' 11462 fi 11463 shlibpath_var=LD_LIBRARY_PATH 11464 shlibpath_overrides_runpath=yes 11465 hardcode_into_libs=yes 11466 ;; 11467 11468newsos6) 11469 version_type=linux # correct to gnu/linux during the next big refactor 11470 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11471 shlibpath_var=LD_LIBRARY_PATH 11472 shlibpath_overrides_runpath=yes 11473 ;; 11474 11475*nto* | *qnx*) 11476 version_type=qnx 11477 need_lib_prefix=no 11478 need_version=no 11479 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11480 soname_spec='$libname$release$shared_ext$major' 11481 shlibpath_var=LD_LIBRARY_PATH 11482 shlibpath_overrides_runpath=no 11483 hardcode_into_libs=yes 11484 dynamic_linker='ldqnx.so' 11485 ;; 11486 11487openbsd* | bitrig*) 11488 version_type=sunos 11489 sys_lib_dlsearch_path_spec=/usr/lib 11490 need_lib_prefix=no 11491 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11492 need_version=no 11493 else 11494 need_version=yes 11495 fi 11496 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11497 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11498 shlibpath_var=LD_LIBRARY_PATH 11499 shlibpath_overrides_runpath=yes 11500 ;; 11501 11502os2*) 11503 libname_spec='$name' 11504 version_type=windows 11505 shrext_cmds=.dll 11506 need_version=no 11507 need_lib_prefix=no 11508 # OS/2 can only load a DLL with a base name of 8 characters or less. 11509 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11510 v=$($ECHO $release$versuffix | tr -d .-); 11511 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11512 $ECHO $n$v`$shared_ext' 11513 library_names_spec='${libname}_dll.$libext' 11514 dynamic_linker='OS/2 ld.exe' 11515 shlibpath_var=BEGINLIBPATH 11516 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11517 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11518 postinstall_cmds='base_file=`basename \$file`~ 11519 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11520 dldir=$destdir/`dirname \$dlpath`~ 11521 test -d \$dldir || mkdir -p \$dldir~ 11522 $install_prog $dir/$dlname \$dldir/$dlname~ 11523 chmod a+x \$dldir/$dlname~ 11524 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11525 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11526 fi' 11527 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11528 dlpath=$dir/\$dldll~ 11529 $RM \$dlpath' 11530 ;; 11531 11532osf3* | osf4* | osf5*) 11533 version_type=osf 11534 need_lib_prefix=no 11535 need_version=no 11536 soname_spec='$libname$release$shared_ext$major' 11537 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11538 shlibpath_var=LD_LIBRARY_PATH 11539 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11540 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11541 ;; 11542 11543rdos*) 11544 dynamic_linker=no 11545 ;; 11546 11547solaris*) 11548 version_type=linux # correct to gnu/linux during the next big refactor 11549 need_lib_prefix=no 11550 need_version=no 11551 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11552 soname_spec='$libname$release$shared_ext$major' 11553 shlibpath_var=LD_LIBRARY_PATH 11554 shlibpath_overrides_runpath=yes 11555 hardcode_into_libs=yes 11556 # ldd complains unless libraries are executable 11557 postinstall_cmds='chmod +x $lib' 11558 ;; 11559 11560sunos4*) 11561 version_type=sunos 11562 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11563 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11564 shlibpath_var=LD_LIBRARY_PATH 11565 shlibpath_overrides_runpath=yes 11566 if test yes = "$with_gnu_ld"; then 11567 need_lib_prefix=no 11568 fi 11569 need_version=yes 11570 ;; 11571 11572sysv4 | sysv4.3*) 11573 version_type=linux # correct to gnu/linux during the next big refactor 11574 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11575 soname_spec='$libname$release$shared_ext$major' 11576 shlibpath_var=LD_LIBRARY_PATH 11577 case $host_vendor in 11578 sni) 11579 shlibpath_overrides_runpath=no 11580 need_lib_prefix=no 11581 runpath_var=LD_RUN_PATH 11582 ;; 11583 siemens) 11584 need_lib_prefix=no 11585 ;; 11586 motorola) 11587 need_lib_prefix=no 11588 need_version=no 11589 shlibpath_overrides_runpath=no 11590 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11591 ;; 11592 esac 11593 ;; 11594 11595sysv4*MP*) 11596 if test -d /usr/nec; then 11597 version_type=linux # correct to gnu/linux during the next big refactor 11598 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11599 soname_spec='$libname$shared_ext.$major' 11600 shlibpath_var=LD_LIBRARY_PATH 11601 fi 11602 ;; 11603 11604sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11605 version_type=sco 11606 need_lib_prefix=no 11607 need_version=no 11608 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11609 soname_spec='$libname$release$shared_ext$major' 11610 shlibpath_var=LD_LIBRARY_PATH 11611 shlibpath_overrides_runpath=yes 11612 hardcode_into_libs=yes 11613 if test yes = "$with_gnu_ld"; then 11614 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11615 else 11616 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11617 case $host_os in 11618 sco3.2v5*) 11619 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11620 ;; 11621 esac 11622 fi 11623 sys_lib_dlsearch_path_spec='/usr/lib' 11624 ;; 11625 11626tpf*) 11627 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11628 version_type=linux # correct to gnu/linux during the next big refactor 11629 need_lib_prefix=no 11630 need_version=no 11631 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11632 shlibpath_var=LD_LIBRARY_PATH 11633 shlibpath_overrides_runpath=no 11634 hardcode_into_libs=yes 11635 ;; 11636 11637uts4*) 11638 version_type=linux # correct to gnu/linux during the next big refactor 11639 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11640 soname_spec='$libname$release$shared_ext$major' 11641 shlibpath_var=LD_LIBRARY_PATH 11642 ;; 11643 11644*) 11645 dynamic_linker=no 11646 ;; 11647esac 11648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11649$as_echo "$dynamic_linker" >&6; } 11650test no = "$dynamic_linker" && can_build_shared=no 11651 11652variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11653if test yes = "$GCC"; then 11654 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11655fi 11656 11657if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11658 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11659fi 11660 11661if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11662 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11663fi 11664 11665# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11666configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11667 11668# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11669func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11670 11671# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11672configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11771$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11772hardcode_action= 11773if test -n "$hardcode_libdir_flag_spec" || 11774 test -n "$runpath_var" || 11775 test yes = "$hardcode_automatic"; then 11776 11777 # We can hardcode non-existent directories. 11778 if test no != "$hardcode_direct" && 11779 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11780 # have to relink, otherwise we might link with an installed library 11781 # when we should be linking with a yet-to-be-installed one 11782 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11783 test no != "$hardcode_minus_L"; then 11784 # Linking always hardcodes the temporary library directory. 11785 hardcode_action=relink 11786 else 11787 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11788 hardcode_action=immediate 11789 fi 11790else 11791 # We cannot hardcode anything, or else we can only hardcode existing 11792 # directories. 11793 hardcode_action=unsupported 11794fi 11795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11796$as_echo "$hardcode_action" >&6; } 11797 11798if test relink = "$hardcode_action" || 11799 test yes = "$inherit_rpath"; then 11800 # Fast installation is not supported 11801 enable_fast_install=no 11802elif test yes = "$shlibpath_overrides_runpath" || 11803 test no = "$enable_shared"; then 11804 # Fast installation is not necessary 11805 enable_fast_install=needless 11806fi 11807 11808 11809 11810 11811 11812 11813 if test yes != "$enable_dlopen"; then 11814 enable_dlopen=unknown 11815 enable_dlopen_self=unknown 11816 enable_dlopen_self_static=unknown 11817else 11818 lt_cv_dlopen=no 11819 lt_cv_dlopen_libs= 11820 11821 case $host_os in 11822 beos*) 11823 lt_cv_dlopen=load_add_on 11824 lt_cv_dlopen_libs= 11825 lt_cv_dlopen_self=yes 11826 ;; 11827 11828 mingw* | pw32* | cegcc*) 11829 lt_cv_dlopen=LoadLibrary 11830 lt_cv_dlopen_libs= 11831 ;; 11832 11833 cygwin*) 11834 lt_cv_dlopen=dlopen 11835 lt_cv_dlopen_libs= 11836 ;; 11837 11838 darwin*) 11839 # if libdl is installed we need to link against it 11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11841$as_echo_n "checking for dlopen in -ldl... " >&6; } 11842if ${ac_cv_lib_dl_dlopen+:} false; then : 11843 $as_echo_n "(cached) " >&6 11844else 11845 ac_check_lib_save_LIBS=$LIBS 11846LIBS="-ldl $LIBS" 11847cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11848/* end confdefs.h. */ 11849 11850/* Override any GCC internal prototype to avoid an error. 11851 Use char because int might match the return type of a GCC 11852 builtin and then its argument prototype would still apply. */ 11853#ifdef __cplusplus 11854extern "C" 11855#endif 11856char dlopen (); 11857int 11858main () 11859{ 11860return dlopen (); 11861 ; 11862 return 0; 11863} 11864_ACEOF 11865if ac_fn_c_try_link "$LINENO"; then : 11866 ac_cv_lib_dl_dlopen=yes 11867else 11868 ac_cv_lib_dl_dlopen=no 11869fi 11870rm -f core conftest.err conftest.$ac_objext \ 11871 conftest$ac_exeext conftest.$ac_ext 11872LIBS=$ac_check_lib_save_LIBS 11873fi 11874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11875$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11876if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11877 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11878else 11879 11880 lt_cv_dlopen=dyld 11881 lt_cv_dlopen_libs= 11882 lt_cv_dlopen_self=yes 11883 11884fi 11885 11886 ;; 11887 11888 tpf*) 11889 # Don't try to run any link tests for TPF. We know it's impossible 11890 # because TPF is a cross-compiler, and we know how we open DSOs. 11891 lt_cv_dlopen=dlopen 11892 lt_cv_dlopen_libs= 11893 lt_cv_dlopen_self=no 11894 ;; 11895 11896 *) 11897 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11898if test "x$ac_cv_func_shl_load" = xyes; then : 11899 lt_cv_dlopen=shl_load 11900else 11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11902$as_echo_n "checking for shl_load in -ldld... " >&6; } 11903if ${ac_cv_lib_dld_shl_load+:} false; then : 11904 $as_echo_n "(cached) " >&6 11905else 11906 ac_check_lib_save_LIBS=$LIBS 11907LIBS="-ldld $LIBS" 11908cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11909/* end confdefs.h. */ 11910 11911/* Override any GCC internal prototype to avoid an error. 11912 Use char because int might match the return type of a GCC 11913 builtin and then its argument prototype would still apply. */ 11914#ifdef __cplusplus 11915extern "C" 11916#endif 11917char shl_load (); 11918int 11919main () 11920{ 11921return shl_load (); 11922 ; 11923 return 0; 11924} 11925_ACEOF 11926if ac_fn_c_try_link "$LINENO"; then : 11927 ac_cv_lib_dld_shl_load=yes 11928else 11929 ac_cv_lib_dld_shl_load=no 11930fi 11931rm -f core conftest.err conftest.$ac_objext \ 11932 conftest$ac_exeext conftest.$ac_ext 11933LIBS=$ac_check_lib_save_LIBS 11934fi 11935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11936$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11937if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11938 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11939else 11940 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11941if test "x$ac_cv_func_dlopen" = xyes; then : 11942 lt_cv_dlopen=dlopen 11943else 11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11945$as_echo_n "checking for dlopen in -ldl... " >&6; } 11946if ${ac_cv_lib_dl_dlopen+:} false; then : 11947 $as_echo_n "(cached) " >&6 11948else 11949 ac_check_lib_save_LIBS=$LIBS 11950LIBS="-ldl $LIBS" 11951cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11952/* end confdefs.h. */ 11953 11954/* Override any GCC internal prototype to avoid an error. 11955 Use char because int might match the return type of a GCC 11956 builtin and then its argument prototype would still apply. */ 11957#ifdef __cplusplus 11958extern "C" 11959#endif 11960char dlopen (); 11961int 11962main () 11963{ 11964return dlopen (); 11965 ; 11966 return 0; 11967} 11968_ACEOF 11969if ac_fn_c_try_link "$LINENO"; then : 11970 ac_cv_lib_dl_dlopen=yes 11971else 11972 ac_cv_lib_dl_dlopen=no 11973fi 11974rm -f core conftest.err conftest.$ac_objext \ 11975 conftest$ac_exeext conftest.$ac_ext 11976LIBS=$ac_check_lib_save_LIBS 11977fi 11978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11979$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11980if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11981 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11982else 11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11984$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11985if ${ac_cv_lib_svld_dlopen+:} false; then : 11986 $as_echo_n "(cached) " >&6 11987else 11988 ac_check_lib_save_LIBS=$LIBS 11989LIBS="-lsvld $LIBS" 11990cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11991/* end confdefs.h. */ 11992 11993/* Override any GCC internal prototype to avoid an error. 11994 Use char because int might match the return type of a GCC 11995 builtin and then its argument prototype would still apply. */ 11996#ifdef __cplusplus 11997extern "C" 11998#endif 11999char dlopen (); 12000int 12001main () 12002{ 12003return dlopen (); 12004 ; 12005 return 0; 12006} 12007_ACEOF 12008if ac_fn_c_try_link "$LINENO"; then : 12009 ac_cv_lib_svld_dlopen=yes 12010else 12011 ac_cv_lib_svld_dlopen=no 12012fi 12013rm -f core conftest.err conftest.$ac_objext \ 12014 conftest$ac_exeext conftest.$ac_ext 12015LIBS=$ac_check_lib_save_LIBS 12016fi 12017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12018$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12019if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12020 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12021else 12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12023$as_echo_n "checking for dld_link in -ldld... " >&6; } 12024if ${ac_cv_lib_dld_dld_link+:} false; then : 12025 $as_echo_n "(cached) " >&6 12026else 12027 ac_check_lib_save_LIBS=$LIBS 12028LIBS="-ldld $LIBS" 12029cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12030/* end confdefs.h. */ 12031 12032/* Override any GCC internal prototype to avoid an error. 12033 Use char because int might match the return type of a GCC 12034 builtin and then its argument prototype would still apply. */ 12035#ifdef __cplusplus 12036extern "C" 12037#endif 12038char dld_link (); 12039int 12040main () 12041{ 12042return dld_link (); 12043 ; 12044 return 0; 12045} 12046_ACEOF 12047if ac_fn_c_try_link "$LINENO"; then : 12048 ac_cv_lib_dld_dld_link=yes 12049else 12050 ac_cv_lib_dld_dld_link=no 12051fi 12052rm -f core conftest.err conftest.$ac_objext \ 12053 conftest$ac_exeext conftest.$ac_ext 12054LIBS=$ac_check_lib_save_LIBS 12055fi 12056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12057$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12058if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12059 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12060fi 12061 12062 12063fi 12064 12065 12066fi 12067 12068 12069fi 12070 12071 12072fi 12073 12074 12075fi 12076 12077 ;; 12078 esac 12079 12080 if test no = "$lt_cv_dlopen"; then 12081 enable_dlopen=no 12082 else 12083 enable_dlopen=yes 12084 fi 12085 12086 case $lt_cv_dlopen in 12087 dlopen) 12088 save_CPPFLAGS=$CPPFLAGS 12089 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12090 12091 save_LDFLAGS=$LDFLAGS 12092 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12093 12094 save_LIBS=$LIBS 12095 LIBS="$lt_cv_dlopen_libs $LIBS" 12096 12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12098$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12099if ${lt_cv_dlopen_self+:} false; then : 12100 $as_echo_n "(cached) " >&6 12101else 12102 if test yes = "$cross_compiling"; then : 12103 lt_cv_dlopen_self=cross 12104else 12105 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12106 lt_status=$lt_dlunknown 12107 cat > conftest.$ac_ext <<_LT_EOF 12108#line $LINENO "configure" 12109#include "confdefs.h" 12110 12111#if HAVE_DLFCN_H 12112#include <dlfcn.h> 12113#endif 12114 12115#include <stdio.h> 12116 12117#ifdef RTLD_GLOBAL 12118# define LT_DLGLOBAL RTLD_GLOBAL 12119#else 12120# ifdef DL_GLOBAL 12121# define LT_DLGLOBAL DL_GLOBAL 12122# else 12123# define LT_DLGLOBAL 0 12124# endif 12125#endif 12126 12127/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12128 find out it does not work in some platform. */ 12129#ifndef LT_DLLAZY_OR_NOW 12130# ifdef RTLD_LAZY 12131# define LT_DLLAZY_OR_NOW RTLD_LAZY 12132# else 12133# ifdef DL_LAZY 12134# define LT_DLLAZY_OR_NOW DL_LAZY 12135# else 12136# ifdef RTLD_NOW 12137# define LT_DLLAZY_OR_NOW RTLD_NOW 12138# else 12139# ifdef DL_NOW 12140# define LT_DLLAZY_OR_NOW DL_NOW 12141# else 12142# define LT_DLLAZY_OR_NOW 0 12143# endif 12144# endif 12145# endif 12146# endif 12147#endif 12148 12149/* When -fvisibility=hidden is used, assume the code has been annotated 12150 correspondingly for the symbols needed. */ 12151#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12152int fnord () __attribute__((visibility("default"))); 12153#endif 12154 12155int fnord () { return 42; } 12156int main () 12157{ 12158 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12159 int status = $lt_dlunknown; 12160 12161 if (self) 12162 { 12163 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12164 else 12165 { 12166 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12167 else puts (dlerror ()); 12168 } 12169 /* dlclose (self); */ 12170 } 12171 else 12172 puts (dlerror ()); 12173 12174 return status; 12175} 12176_LT_EOF 12177 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12178 (eval $ac_link) 2>&5 12179 ac_status=$? 12180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12181 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12182 (./conftest; exit; ) >&5 2>/dev/null 12183 lt_status=$? 12184 case x$lt_status in 12185 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12186 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12187 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12188 esac 12189 else : 12190 # compilation failed 12191 lt_cv_dlopen_self=no 12192 fi 12193fi 12194rm -fr conftest* 12195 12196 12197fi 12198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12199$as_echo "$lt_cv_dlopen_self" >&6; } 12200 12201 if test yes = "$lt_cv_dlopen_self"; then 12202 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12204$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12205if ${lt_cv_dlopen_self_static+:} false; then : 12206 $as_echo_n "(cached) " >&6 12207else 12208 if test yes = "$cross_compiling"; then : 12209 lt_cv_dlopen_self_static=cross 12210else 12211 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12212 lt_status=$lt_dlunknown 12213 cat > conftest.$ac_ext <<_LT_EOF 12214#line $LINENO "configure" 12215#include "confdefs.h" 12216 12217#if HAVE_DLFCN_H 12218#include <dlfcn.h> 12219#endif 12220 12221#include <stdio.h> 12222 12223#ifdef RTLD_GLOBAL 12224# define LT_DLGLOBAL RTLD_GLOBAL 12225#else 12226# ifdef DL_GLOBAL 12227# define LT_DLGLOBAL DL_GLOBAL 12228# else 12229# define LT_DLGLOBAL 0 12230# endif 12231#endif 12232 12233/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12234 find out it does not work in some platform. */ 12235#ifndef LT_DLLAZY_OR_NOW 12236# ifdef RTLD_LAZY 12237# define LT_DLLAZY_OR_NOW RTLD_LAZY 12238# else 12239# ifdef DL_LAZY 12240# define LT_DLLAZY_OR_NOW DL_LAZY 12241# else 12242# ifdef RTLD_NOW 12243# define LT_DLLAZY_OR_NOW RTLD_NOW 12244# else 12245# ifdef DL_NOW 12246# define LT_DLLAZY_OR_NOW DL_NOW 12247# else 12248# define LT_DLLAZY_OR_NOW 0 12249# endif 12250# endif 12251# endif 12252# endif 12253#endif 12254 12255/* When -fvisibility=hidden is used, assume the code has been annotated 12256 correspondingly for the symbols needed. */ 12257#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12258int fnord () __attribute__((visibility("default"))); 12259#endif 12260 12261int fnord () { return 42; } 12262int main () 12263{ 12264 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12265 int status = $lt_dlunknown; 12266 12267 if (self) 12268 { 12269 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12270 else 12271 { 12272 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12273 else puts (dlerror ()); 12274 } 12275 /* dlclose (self); */ 12276 } 12277 else 12278 puts (dlerror ()); 12279 12280 return status; 12281} 12282_LT_EOF 12283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12284 (eval $ac_link) 2>&5 12285 ac_status=$? 12286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12287 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12288 (./conftest; exit; ) >&5 2>/dev/null 12289 lt_status=$? 12290 case x$lt_status in 12291 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12292 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12293 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12294 esac 12295 else : 12296 # compilation failed 12297 lt_cv_dlopen_self_static=no 12298 fi 12299fi 12300rm -fr conftest* 12301 12302 12303fi 12304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12305$as_echo "$lt_cv_dlopen_self_static" >&6; } 12306 fi 12307 12308 CPPFLAGS=$save_CPPFLAGS 12309 LDFLAGS=$save_LDFLAGS 12310 LIBS=$save_LIBS 12311 ;; 12312 esac 12313 12314 case $lt_cv_dlopen_self in 12315 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12316 *) enable_dlopen_self=unknown ;; 12317 esac 12318 12319 case $lt_cv_dlopen_self_static in 12320 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12321 *) enable_dlopen_self_static=unknown ;; 12322 esac 12323fi 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341striplib= 12342old_striplib= 12343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12344$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12345if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12346 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12347 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12349$as_echo "yes" >&6; } 12350else 12351# FIXME - insert some real tests, host_os isn't really good enough 12352 case $host_os in 12353 darwin*) 12354 if test -n "$STRIP"; then 12355 striplib="$STRIP -x" 12356 old_striplib="$STRIP -S" 12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12358$as_echo "yes" >&6; } 12359 else 12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12361$as_echo "no" >&6; } 12362 fi 12363 ;; 12364 *) 12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12366$as_echo "no" >&6; } 12367 ;; 12368 esac 12369fi 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 # Report what library types will actually be built 12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12384$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12386$as_echo "$can_build_shared" >&6; } 12387 12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12389$as_echo_n "checking whether to build shared libraries... " >&6; } 12390 test no = "$can_build_shared" && enable_shared=no 12391 12392 # On AIX, shared libraries and static libraries use the same namespace, and 12393 # are all built from PIC. 12394 case $host_os in 12395 aix3*) 12396 test yes = "$enable_shared" && enable_static=no 12397 if test -n "$RANLIB"; then 12398 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12399 postinstall_cmds='$RANLIB $lib' 12400 fi 12401 ;; 12402 12403 aix[4-9]*) 12404 if test ia64 != "$host_cpu"; then 12405 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12406 yes,aix,yes) ;; # shared object as lib.so file only 12407 yes,svr4,*) ;; # shared object as lib.so archive member only 12408 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12409 esac 12410 fi 12411 ;; 12412 esac 12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12414$as_echo "$enable_shared" >&6; } 12415 12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12417$as_echo_n "checking whether to build static libraries... " >&6; } 12418 # Make sure either enable_shared or enable_static is yes. 12419 test yes = "$enable_shared" || enable_static=yes 12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12421$as_echo "$enable_static" >&6; } 12422 12423 12424 12425 12426fi 12427ac_ext=c 12428ac_cpp='$CPP $CPPFLAGS' 12429ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12430ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12431ac_compiler_gnu=$ac_cv_c_compiler_gnu 12432 12433CC=$lt_save_CC 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 ac_config_commands="$ac_config_commands libtool" 12450 12451 12452 12453 12454# Only expand once: 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12465 if test -n "$ac_tool_prefix"; then 12466 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12467set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12469$as_echo_n "checking for $ac_word... " >&6; } 12470if ${ac_cv_path_PKG_CONFIG+:} false; then : 12471 $as_echo_n "(cached) " >&6 12472else 12473 case $PKG_CONFIG in 12474 [\\/]* | ?:[\\/]*) 12475 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12476 ;; 12477 *) 12478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12479for as_dir in $PATH 12480do 12481 IFS=$as_save_IFS 12482 test -z "$as_dir" && as_dir=. 12483 for ac_exec_ext in '' $ac_executable_extensions; do 12484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12485 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12487 break 2 12488 fi 12489done 12490 done 12491IFS=$as_save_IFS 12492 12493 ;; 12494esac 12495fi 12496PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12497if test -n "$PKG_CONFIG"; then 12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12499$as_echo "$PKG_CONFIG" >&6; } 12500else 12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12502$as_echo "no" >&6; } 12503fi 12504 12505 12506fi 12507if test -z "$ac_cv_path_PKG_CONFIG"; then 12508 ac_pt_PKG_CONFIG=$PKG_CONFIG 12509 # Extract the first word of "pkg-config", so it can be a program name with args. 12510set dummy pkg-config; ac_word=$2 12511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12512$as_echo_n "checking for $ac_word... " >&6; } 12513if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 12514 $as_echo_n "(cached) " >&6 12515else 12516 case $ac_pt_PKG_CONFIG in 12517 [\\/]* | ?:[\\/]*) 12518 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12519 ;; 12520 *) 12521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12522for as_dir in $PATH 12523do 12524 IFS=$as_save_IFS 12525 test -z "$as_dir" && as_dir=. 12526 for ac_exec_ext in '' $ac_executable_extensions; do 12527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12528 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12530 break 2 12531 fi 12532done 12533 done 12534IFS=$as_save_IFS 12535 12536 ;; 12537esac 12538fi 12539ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12540if test -n "$ac_pt_PKG_CONFIG"; then 12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12542$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12543else 12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12545$as_echo "no" >&6; } 12546fi 12547 12548 if test "x$ac_pt_PKG_CONFIG" = x; then 12549 PKG_CONFIG="" 12550 else 12551 case $cross_compiling:$ac_tool_warned in 12552yes:) 12553{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12554$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12555ac_tool_warned=yes ;; 12556esac 12557 PKG_CONFIG=$ac_pt_PKG_CONFIG 12558 fi 12559else 12560 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12561fi 12562 12563fi 12564if test -n "$PKG_CONFIG"; then 12565 _pkg_min_version=0.9.0 12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12567$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12568 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12570$as_echo "yes" >&6; } 12571 else 12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12573$as_echo "no" >&6; } 12574 PKG_CONFIG="" 12575 fi 12576fi 12577 12578 12579pkg_failed=no 12580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5 12581$as_echo_n "checking for CHECK... " >&6; } 12582 12583if test -n "$CHECK_CFLAGS"; then 12584 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS" 12585 elif test -n "$PKG_CONFIG"; then 12586 if test -n "$PKG_CONFIG" && \ 12587 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5 12588 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5 12589 ac_status=$? 12590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12591 test $ac_status = 0; }; then 12592 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null` 12593 test "x$?" != "x0" && pkg_failed=yes 12594else 12595 pkg_failed=yes 12596fi 12597 else 12598 pkg_failed=untried 12599fi 12600if test -n "$CHECK_LIBS"; then 12601 pkg_cv_CHECK_LIBS="$CHECK_LIBS" 12602 elif test -n "$PKG_CONFIG"; then 12603 if test -n "$PKG_CONFIG" && \ 12604 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5 12605 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5 12606 ac_status=$? 12607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12608 test $ac_status = 0; }; then 12609 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null` 12610 test "x$?" != "x0" && pkg_failed=yes 12611else 12612 pkg_failed=yes 12613fi 12614 else 12615 pkg_failed=untried 12616fi 12617 12618 12619 12620if test $pkg_failed = yes; then 12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12622$as_echo "no" >&6; } 12623 12624if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12625 _pkg_short_errors_supported=yes 12626else 12627 _pkg_short_errors_supported=no 12628fi 12629 if test $_pkg_short_errors_supported = yes; then 12630 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1` 12631 else 12632 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1` 12633 fi 12634 # Put the nasty error message in config.log where it belongs 12635 echo "$CHECK_PKG_ERRORS" >&5 12636 12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Check not found (testing via 'make check' disabled)" >&5 12638$as_echo "Check not found (testing via 'make check' disabled)" >&6; } 12639elif test $pkg_failed = untried; then 12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12641$as_echo "no" >&6; } 12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Check not found (testing via 'make check' disabled)" >&5 12643$as_echo "Check not found (testing via 'make check' disabled)" >&6; } 12644else 12645 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS 12646 CHECK_LIBS=$pkg_cv_CHECK_LIBS 12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12648$as_echo "yes" >&6; } 12649 12650fi 12651 if test "x$CHECK_LIBS" != "x"; then 12652 HAVE_CHECK_TRUE= 12653 HAVE_CHECK_FALSE='#' 12654else 12655 HAVE_CHECK_TRUE='#' 12656 HAVE_CHECK_FALSE= 12657fi 12658 12659 12660for ac_header in limits.h stddef.h 12661do : 12662 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12663ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 12664if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12665 cat >>confdefs.h <<_ACEOF 12666#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12667_ACEOF 12668 12669fi 12670 12671done 12672 12673 12674ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 12675if test "x$ac_cv_type_size_t" = xyes; then : 12676 12677else 12678 12679cat >>confdefs.h <<_ACEOF 12680#define size_t unsigned int 12681_ACEOF 12682 12683fi 12684 12685ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" 12686case $ac_cv_c_uint16_t in #( 12687 no|yes) ;; #( 12688 *) 12689 12690 12691cat >>confdefs.h <<_ACEOF 12692#define uint16_t $ac_cv_c_uint16_t 12693_ACEOF 12694;; 12695 esac 12696 12697ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" 12698case $ac_cv_c_uint8_t in #( 12699 no|yes) ;; #( 12700 *) 12701 12702$as_echo "#define _UINT8_T 1" >>confdefs.h 12703 12704 12705cat >>confdefs.h <<_ACEOF 12706#define uint8_t $ac_cv_c_uint8_t 12707_ACEOF 12708;; 12709 esac 12710 12711 12712for ac_header in stdlib.h 12713do : 12714 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 12715if test "x$ac_cv_header_stdlib_h" = xyes; then : 12716 cat >>confdefs.h <<_ACEOF 12717#define HAVE_STDLIB_H 1 12718_ACEOF 12719 12720fi 12721 12722done 12723 12724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 12725$as_echo_n "checking for GNU libc compatible malloc... " >&6; } 12726if ${ac_cv_func_malloc_0_nonnull+:} false; then : 12727 $as_echo_n "(cached) " >&6 12728else 12729 if test "$cross_compiling" = yes; then : 12730 ac_cv_func_malloc_0_nonnull=no 12731else 12732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12733/* end confdefs.h. */ 12734#if defined STDC_HEADERS || defined HAVE_STDLIB_H 12735# include <stdlib.h> 12736#else 12737char *malloc (); 12738#endif 12739 12740int 12741main () 12742{ 12743return ! malloc (0); 12744 ; 12745 return 0; 12746} 12747_ACEOF 12748if ac_fn_c_try_run "$LINENO"; then : 12749 ac_cv_func_malloc_0_nonnull=yes 12750else 12751 ac_cv_func_malloc_0_nonnull=no 12752fi 12753rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12754 conftest.$ac_objext conftest.beam conftest.$ac_ext 12755fi 12756 12757fi 12758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 12759$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } 12760if test $ac_cv_func_malloc_0_nonnull = yes; then : 12761 12762$as_echo "#define HAVE_MALLOC 1" >>confdefs.h 12763 12764else 12765 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h 12766 12767 case " $LIBOBJS " in 12768 *" malloc.$ac_objext "* ) ;; 12769 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" 12770 ;; 12771esac 12772 12773 12774$as_echo "#define malloc rpl_malloc" >>confdefs.h 12775 12776fi 12777 12778 12779for ac_func in regcomp strtol 12780do : 12781 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12782ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 12783if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 12784 cat >>confdefs.h <<_ACEOF 12785#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12786_ACEOF 12787 12788fi 12789done 12790 12791 12792 12793 12794 12795cat >confcache <<\_ACEOF 12796# This file is a shell script that caches the results of configure 12797# tests run on this system so they can be shared between configure 12798# scripts and configure runs, see configure's option --config-cache. 12799# It is not useful on other systems. If it contains results you don't 12800# want to keep, you may remove or edit it. 12801# 12802# config.status only pays attention to the cache file if you give it 12803# the --recheck option to rerun configure. 12804# 12805# `ac_cv_env_foo' variables (set or unset) will be overridden when 12806# loading this file, other *unset* `ac_cv_foo' will be assigned the 12807# following values. 12808 12809_ACEOF 12810 12811# The following way of writing the cache mishandles newlines in values, 12812# but we know of no workaround that is simple, portable, and efficient. 12813# So, we kill variables containing newlines. 12814# Ultrix sh set writes to stderr and can't be redirected directly, 12815# and sets the high bit in the cache file unless we assign to the vars. 12816( 12817 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12818 eval ac_val=\$$ac_var 12819 case $ac_val in #( 12820 *${as_nl}*) 12821 case $ac_var in #( 12822 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12823$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12824 esac 12825 case $ac_var in #( 12826 _ | IFS | as_nl) ;; #( 12827 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12828 *) { eval $ac_var=; unset $ac_var;} ;; 12829 esac ;; 12830 esac 12831 done 12832 12833 (set) 2>&1 | 12834 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12835 *${as_nl}ac_space=\ *) 12836 # `set' does not quote correctly, so add quotes: double-quote 12837 # substitution turns \\\\ into \\, and sed turns \\ into \. 12838 sed -n \ 12839 "s/'/'\\\\''/g; 12840 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12841 ;; #( 12842 *) 12843 # `set' quotes correctly as required by POSIX, so do not add quotes. 12844 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12845 ;; 12846 esac | 12847 sort 12848) | 12849 sed ' 12850 /^ac_cv_env_/b end 12851 t clear 12852 :clear 12853 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12854 t end 12855 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12856 :end' >>confcache 12857if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12858 if test -w "$cache_file"; then 12859 if test "x$cache_file" != "x/dev/null"; then 12860 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12861$as_echo "$as_me: updating cache $cache_file" >&6;} 12862 if test ! -f "$cache_file" || test -h "$cache_file"; then 12863 cat confcache >"$cache_file" 12864 else 12865 case $cache_file in #( 12866 */* | ?:*) 12867 mv -f confcache "$cache_file"$$ && 12868 mv -f "$cache_file"$$ "$cache_file" ;; #( 12869 *) 12870 mv -f confcache "$cache_file" ;; 12871 esac 12872 fi 12873 fi 12874 else 12875 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12876$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12877 fi 12878fi 12879rm -f confcache 12880 12881test "x$prefix" = xNONE && prefix=$ac_default_prefix 12882# Let make expand exec_prefix. 12883test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12884 12885DEFS=-DHAVE_CONFIG_H 12886 12887ac_libobjs= 12888ac_ltlibobjs= 12889U= 12890for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12891 # 1. Remove the extension, and $U if already installed. 12892 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12893 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12894 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12895 # will be set to the directory where LIBOBJS objects are built. 12896 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12897 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12898done 12899LIBOBJS=$ac_libobjs 12900 12901LTLIBOBJS=$ac_ltlibobjs 12902 12903 12904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 12905$as_echo_n "checking that generated files are newer than configure... " >&6; } 12906 if test -n "$am_sleep_pid"; then 12907 # Hide warnings about reused PIDs. 12908 wait $am_sleep_pid 2>/dev/null 12909 fi 12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 12911$as_echo "done" >&6; } 12912 if test -n "$EXEEXT"; then 12913 am__EXEEXT_TRUE= 12914 am__EXEEXT_FALSE='#' 12915else 12916 am__EXEEXT_TRUE='#' 12917 am__EXEEXT_FALSE= 12918fi 12919 12920if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12921 as_fn_error $? "conditional \"AMDEP\" was never defined. 12922Usually this means the macro was only invoked conditionally." "$LINENO" 5 12923fi 12924if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12925 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12926Usually this means the macro was only invoked conditionally." "$LINENO" 5 12927fi 12928if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then 12929 as_fn_error $? "conditional \"HAVE_CHECK\" was never defined. 12930Usually this means the macro was only invoked conditionally." "$LINENO" 5 12931fi 12932 12933: "${CONFIG_STATUS=./config.status}" 12934ac_write_fail=0 12935ac_clean_files_save=$ac_clean_files 12936ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12937{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12938$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12939as_write_fail=0 12940cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12941#! $SHELL 12942# Generated by $as_me. 12943# Run this file to recreate the current configuration. 12944# Compiler output produced by configure, useful for debugging 12945# configure, is in config.log if it exists. 12946 12947debug=false 12948ac_cs_recheck=false 12949ac_cs_silent=false 12950 12951SHELL=\${CONFIG_SHELL-$SHELL} 12952export SHELL 12953_ASEOF 12954cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12955## -------------------- ## 12956## M4sh Initialization. ## 12957## -------------------- ## 12958 12959# Be more Bourne compatible 12960DUALCASE=1; export DUALCASE # for MKS sh 12961if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12962 emulate sh 12963 NULLCMD=: 12964 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12965 # is contrary to our usage. Disable this feature. 12966 alias -g '${1+"$@"}'='"$@"' 12967 setopt NO_GLOB_SUBST 12968else 12969 case `(set -o) 2>/dev/null` in #( 12970 *posix*) : 12971 set -o posix ;; #( 12972 *) : 12973 ;; 12974esac 12975fi 12976 12977 12978as_nl=' 12979' 12980export as_nl 12981# Printing a long string crashes Solaris 7 /usr/bin/printf. 12982as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12983as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12984as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12985# Prefer a ksh shell builtin over an external printf program on Solaris, 12986# but without wasting forks for bash or zsh. 12987if test -z "$BASH_VERSION$ZSH_VERSION" \ 12988 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12989 as_echo='print -r --' 12990 as_echo_n='print -rn --' 12991elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12992 as_echo='printf %s\n' 12993 as_echo_n='printf %s' 12994else 12995 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12996 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12997 as_echo_n='/usr/ucb/echo -n' 12998 else 12999 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13000 as_echo_n_body='eval 13001 arg=$1; 13002 case $arg in #( 13003 *"$as_nl"*) 13004 expr "X$arg" : "X\\(.*\\)$as_nl"; 13005 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13006 esac; 13007 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13008 ' 13009 export as_echo_n_body 13010 as_echo_n='sh -c $as_echo_n_body as_echo' 13011 fi 13012 export as_echo_body 13013 as_echo='sh -c $as_echo_body as_echo' 13014fi 13015 13016# The user is always right. 13017if test "${PATH_SEPARATOR+set}" != set; then 13018 PATH_SEPARATOR=: 13019 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13020 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13021 PATH_SEPARATOR=';' 13022 } 13023fi 13024 13025 13026# IFS 13027# We need space, tab and new line, in precisely that order. Quoting is 13028# there to prevent editors from complaining about space-tab. 13029# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13030# splitting by setting IFS to empty value.) 13031IFS=" "" $as_nl" 13032 13033# Find who we are. Look in the path if we contain no directory separator. 13034as_myself= 13035case $0 in #(( 13036 *[\\/]* ) as_myself=$0 ;; 13037 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13038for as_dir in $PATH 13039do 13040 IFS=$as_save_IFS 13041 test -z "$as_dir" && as_dir=. 13042 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13043 done 13044IFS=$as_save_IFS 13045 13046 ;; 13047esac 13048# We did not find ourselves, most probably we were run as `sh COMMAND' 13049# in which case we are not to be found in the path. 13050if test "x$as_myself" = x; then 13051 as_myself=$0 13052fi 13053if test ! -f "$as_myself"; then 13054 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13055 exit 1 13056fi 13057 13058# Unset variables that we do not need and which cause bugs (e.g. in 13059# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13060# suppresses any "Segmentation fault" message there. '((' could 13061# trigger a bug in pdksh 5.2.14. 13062for as_var in BASH_ENV ENV MAIL MAILPATH 13063do eval test x\${$as_var+set} = xset \ 13064 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13065done 13066PS1='$ ' 13067PS2='> ' 13068PS4='+ ' 13069 13070# NLS nuisances. 13071LC_ALL=C 13072export LC_ALL 13073LANGUAGE=C 13074export LANGUAGE 13075 13076# CDPATH. 13077(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13078 13079 13080# as_fn_error STATUS ERROR [LINENO LOG_FD] 13081# ---------------------------------------- 13082# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13083# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13084# script with STATUS, using 1 if that was 0. 13085as_fn_error () 13086{ 13087 as_status=$1; test $as_status -eq 0 && as_status=1 13088 if test "$4"; then 13089 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13090 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13091 fi 13092 $as_echo "$as_me: error: $2" >&2 13093 as_fn_exit $as_status 13094} # as_fn_error 13095 13096 13097# as_fn_set_status STATUS 13098# ----------------------- 13099# Set $? to STATUS, without forking. 13100as_fn_set_status () 13101{ 13102 return $1 13103} # as_fn_set_status 13104 13105# as_fn_exit STATUS 13106# ----------------- 13107# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13108as_fn_exit () 13109{ 13110 set +e 13111 as_fn_set_status $1 13112 exit $1 13113} # as_fn_exit 13114 13115# as_fn_unset VAR 13116# --------------- 13117# Portably unset VAR. 13118as_fn_unset () 13119{ 13120 { eval $1=; unset $1;} 13121} 13122as_unset=as_fn_unset 13123# as_fn_append VAR VALUE 13124# ---------------------- 13125# Append the text in VALUE to the end of the definition contained in VAR. Take 13126# advantage of any shell optimizations that allow amortized linear growth over 13127# repeated appends, instead of the typical quadratic growth present in naive 13128# implementations. 13129if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13130 eval 'as_fn_append () 13131 { 13132 eval $1+=\$2 13133 }' 13134else 13135 as_fn_append () 13136 { 13137 eval $1=\$$1\$2 13138 } 13139fi # as_fn_append 13140 13141# as_fn_arith ARG... 13142# ------------------ 13143# Perform arithmetic evaluation on the ARGs, and store the result in the 13144# global $as_val. Take advantage of shells that can avoid forks. The arguments 13145# must be portable across $(()) and expr. 13146if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13147 eval 'as_fn_arith () 13148 { 13149 as_val=$(( $* )) 13150 }' 13151else 13152 as_fn_arith () 13153 { 13154 as_val=`expr "$@" || test $? -eq 1` 13155 } 13156fi # as_fn_arith 13157 13158 13159if expr a : '\(a\)' >/dev/null 2>&1 && 13160 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13161 as_expr=expr 13162else 13163 as_expr=false 13164fi 13165 13166if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13167 as_basename=basename 13168else 13169 as_basename=false 13170fi 13171 13172if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13173 as_dirname=dirname 13174else 13175 as_dirname=false 13176fi 13177 13178as_me=`$as_basename -- "$0" || 13179$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13180 X"$0" : 'X\(//\)$' \| \ 13181 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13182$as_echo X/"$0" | 13183 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13184 s//\1/ 13185 q 13186 } 13187 /^X\/\(\/\/\)$/{ 13188 s//\1/ 13189 q 13190 } 13191 /^X\/\(\/\).*/{ 13192 s//\1/ 13193 q 13194 } 13195 s/.*/./; q'` 13196 13197# Avoid depending upon Character Ranges. 13198as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13199as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13200as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13201as_cr_digits='0123456789' 13202as_cr_alnum=$as_cr_Letters$as_cr_digits 13203 13204ECHO_C= ECHO_N= ECHO_T= 13205case `echo -n x` in #((((( 13206-n*) 13207 case `echo 'xy\c'` in 13208 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13209 xy) ECHO_C='\c';; 13210 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13211 ECHO_T=' ';; 13212 esac;; 13213*) 13214 ECHO_N='-n';; 13215esac 13216 13217rm -f conf$$ conf$$.exe conf$$.file 13218if test -d conf$$.dir; then 13219 rm -f conf$$.dir/conf$$.file 13220else 13221 rm -f conf$$.dir 13222 mkdir conf$$.dir 2>/dev/null 13223fi 13224if (echo >conf$$.file) 2>/dev/null; then 13225 if ln -s conf$$.file conf$$ 2>/dev/null; then 13226 as_ln_s='ln -s' 13227 # ... but there are two gotchas: 13228 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13229 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13230 # In both cases, we have to default to `cp -pR'. 13231 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13232 as_ln_s='cp -pR' 13233 elif ln conf$$.file conf$$ 2>/dev/null; then 13234 as_ln_s=ln 13235 else 13236 as_ln_s='cp -pR' 13237 fi 13238else 13239 as_ln_s='cp -pR' 13240fi 13241rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13242rmdir conf$$.dir 2>/dev/null 13243 13244 13245# as_fn_mkdir_p 13246# ------------- 13247# Create "$as_dir" as a directory, including parents if necessary. 13248as_fn_mkdir_p () 13249{ 13250 13251 case $as_dir in #( 13252 -*) as_dir=./$as_dir;; 13253 esac 13254 test -d "$as_dir" || eval $as_mkdir_p || { 13255 as_dirs= 13256 while :; do 13257 case $as_dir in #( 13258 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13259 *) as_qdir=$as_dir;; 13260 esac 13261 as_dirs="'$as_qdir' $as_dirs" 13262 as_dir=`$as_dirname -- "$as_dir" || 13263$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13264 X"$as_dir" : 'X\(//\)[^/]' \| \ 13265 X"$as_dir" : 'X\(//\)$' \| \ 13266 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13267$as_echo X"$as_dir" | 13268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13269 s//\1/ 13270 q 13271 } 13272 /^X\(\/\/\)[^/].*/{ 13273 s//\1/ 13274 q 13275 } 13276 /^X\(\/\/\)$/{ 13277 s//\1/ 13278 q 13279 } 13280 /^X\(\/\).*/{ 13281 s//\1/ 13282 q 13283 } 13284 s/.*/./; q'` 13285 test -d "$as_dir" && break 13286 done 13287 test -z "$as_dirs" || eval "mkdir $as_dirs" 13288 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13289 13290 13291} # as_fn_mkdir_p 13292if mkdir -p . 2>/dev/null; then 13293 as_mkdir_p='mkdir -p "$as_dir"' 13294else 13295 test -d ./-p && rmdir ./-p 13296 as_mkdir_p=false 13297fi 13298 13299 13300# as_fn_executable_p FILE 13301# ----------------------- 13302# Test if FILE is an executable regular file. 13303as_fn_executable_p () 13304{ 13305 test -f "$1" && test -x "$1" 13306} # as_fn_executable_p 13307as_test_x='test -x' 13308as_executable_p=as_fn_executable_p 13309 13310# Sed expression to map a string onto a valid CPP name. 13311as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13312 13313# Sed expression to map a string onto a valid variable name. 13314as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13315 13316 13317exec 6>&1 13318## ----------------------------------- ## 13319## Main body of $CONFIG_STATUS script. ## 13320## ----------------------------------- ## 13321_ASEOF 13322test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13323 13324cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13325# Save the log message, to keep $0 and so on meaningful, and to 13326# report actual input values of CONFIG_FILES etc. instead of their 13327# values after options handling. 13328ac_log=" 13329This file was extended by rgxg $as_me 0.1.2, which was 13330generated by GNU Autoconf 2.69. Invocation command line was 13331 13332 CONFIG_FILES = $CONFIG_FILES 13333 CONFIG_HEADERS = $CONFIG_HEADERS 13334 CONFIG_LINKS = $CONFIG_LINKS 13335 CONFIG_COMMANDS = $CONFIG_COMMANDS 13336 $ $0 $@ 13337 13338on `(hostname || uname -n) 2>/dev/null | sed 1q` 13339" 13340 13341_ACEOF 13342 13343case $ac_config_files in *" 13344"*) set x $ac_config_files; shift; ac_config_files=$*;; 13345esac 13346 13347case $ac_config_headers in *" 13348"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13349esac 13350 13351 13352cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13353# Files that config.status was made for. 13354config_files="$ac_config_files" 13355config_headers="$ac_config_headers" 13356config_commands="$ac_config_commands" 13357 13358_ACEOF 13359 13360cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13361ac_cs_usage="\ 13362\`$as_me' instantiates files and other configuration actions 13363from templates according to the current configuration. Unless the files 13364and actions are specified as TAGs, all are instantiated by default. 13365 13366Usage: $0 [OPTION]... [TAG]... 13367 13368 -h, --help print this help, then exit 13369 -V, --version print version number and configuration settings, then exit 13370 --config print configuration, then exit 13371 -q, --quiet, --silent 13372 do not print progress messages 13373 -d, --debug don't remove temporary files 13374 --recheck update $as_me by reconfiguring in the same conditions 13375 --file=FILE[:TEMPLATE] 13376 instantiate the configuration file FILE 13377 --header=FILE[:TEMPLATE] 13378 instantiate the configuration header FILE 13379 13380Configuration files: 13381$config_files 13382 13383Configuration headers: 13384$config_headers 13385 13386Configuration commands: 13387$config_commands 13388 13389Report bugs to <https://github.com/rgxg/rgxg/issues>. 13390rgxg home page: <rgxg.github.io>." 13391 13392_ACEOF 13393cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13394ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13395ac_cs_version="\\ 13396rgxg config.status 0.1.2 13397configured by $0, generated by GNU Autoconf 2.69, 13398 with options \\"\$ac_cs_config\\" 13399 13400Copyright (C) 2012 Free Software Foundation, Inc. 13401This config.status script is free software; the Free Software Foundation 13402gives unlimited permission to copy, distribute and modify it." 13403 13404ac_pwd='$ac_pwd' 13405srcdir='$srcdir' 13406INSTALL='$INSTALL' 13407MKDIR_P='$MKDIR_P' 13408AWK='$AWK' 13409test -n "\$AWK" || AWK=awk 13410_ACEOF 13411 13412cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13413# The default lists apply if the user does not specify any file. 13414ac_need_defaults=: 13415while test $# != 0 13416do 13417 case $1 in 13418 --*=?*) 13419 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13420 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13421 ac_shift=: 13422 ;; 13423 --*=) 13424 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13425 ac_optarg= 13426 ac_shift=: 13427 ;; 13428 *) 13429 ac_option=$1 13430 ac_optarg=$2 13431 ac_shift=shift 13432 ;; 13433 esac 13434 13435 case $ac_option in 13436 # Handling of the options. 13437 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13438 ac_cs_recheck=: ;; 13439 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13440 $as_echo "$ac_cs_version"; exit ;; 13441 --config | --confi | --conf | --con | --co | --c ) 13442 $as_echo "$ac_cs_config"; exit ;; 13443 --debug | --debu | --deb | --de | --d | -d ) 13444 debug=: ;; 13445 --file | --fil | --fi | --f ) 13446 $ac_shift 13447 case $ac_optarg in 13448 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13449 '') as_fn_error $? "missing file argument" ;; 13450 esac 13451 as_fn_append CONFIG_FILES " '$ac_optarg'" 13452 ac_need_defaults=false;; 13453 --header | --heade | --head | --hea ) 13454 $ac_shift 13455 case $ac_optarg in 13456 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13457 esac 13458 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13459 ac_need_defaults=false;; 13460 --he | --h) 13461 # Conflict between --help and --header 13462 as_fn_error $? "ambiguous option: \`$1' 13463Try \`$0 --help' for more information.";; 13464 --help | --hel | -h ) 13465 $as_echo "$ac_cs_usage"; exit ;; 13466 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13467 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13468 ac_cs_silent=: ;; 13469 13470 # This is an error. 13471 -*) as_fn_error $? "unrecognized option: \`$1' 13472Try \`$0 --help' for more information." ;; 13473 13474 *) as_fn_append ac_config_targets " $1" 13475 ac_need_defaults=false ;; 13476 13477 esac 13478 shift 13479done 13480 13481ac_configure_extra_args= 13482 13483if $ac_cs_silent; then 13484 exec 6>/dev/null 13485 ac_configure_extra_args="$ac_configure_extra_args --silent" 13486fi 13487 13488_ACEOF 13489cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13490if \$ac_cs_recheck; then 13491 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13492 shift 13493 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13494 CONFIG_SHELL='$SHELL' 13495 export CONFIG_SHELL 13496 exec "\$@" 13497fi 13498 13499_ACEOF 13500cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13501exec 5>>config.log 13502{ 13503 echo 13504 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13505## Running $as_me. ## 13506_ASBOX 13507 $as_echo "$ac_log" 13508} >&5 13509 13510_ACEOF 13511cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13512# 13513# INIT-COMMANDS 13514# 13515AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 13516 13517 13518# The HP-UX ksh and POSIX shell print the target directory to stdout 13519# if CDPATH is set. 13520(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13521 13522sed_quote_subst='$sed_quote_subst' 13523double_quote_subst='$double_quote_subst' 13524delay_variable_subst='$delay_variable_subst' 13525macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13526macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13527enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13528enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13529pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13530enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13531shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 13532SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13533ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13534PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13535host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13536host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13537host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13538build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13539build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13540build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13541SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13542Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13543GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13544EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13545FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13546LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13547NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13548LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13549max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13550ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13551exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13552lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13553lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13554lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13555lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13556lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13557reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13558reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13559OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13560deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13561file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13562file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13563want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13564DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13565sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13566AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13567AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13568archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13569STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13570RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13571old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13572old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13573old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13574lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13575CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13576CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13577compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13578GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13579lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13580lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13581lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 13582lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13583lt_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"`' 13584lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 13585nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13586lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13587lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 13588objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13589MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13590lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13591lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13592lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13593lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13594lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13595need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13596MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13597DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13598NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13599LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13600OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13601OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 13602libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 13603shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 13604extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13605archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 13606enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 13607export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 13608whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 13609compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 13610old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 13611old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13612archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 13613archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13614module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 13615module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13616with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 13617allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 13618no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 13619hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 13620hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 13621hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 13622hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 13623hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 13624hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 13625hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 13626inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 13627link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 13628always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 13629export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 13630exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 13631include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 13632prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 13633postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 13634file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 13635variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 13636need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 13637need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 13638version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 13639runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 13640shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 13641shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 13642libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 13643library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 13644soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 13645install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 13646postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13647postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13648finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 13649finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 13650hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 13651sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 13652configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 13653configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 13654hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 13655enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 13656enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 13657enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 13658old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 13659striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 13660 13661LTCC='$LTCC' 13662LTCFLAGS='$LTCFLAGS' 13663compiler='$compiler_DEFAULT' 13664 13665# A function that is used when there is no print builtin or printf. 13666func_fallback_echo () 13667{ 13668 eval 'cat <<_LTECHO_EOF 13669\$1 13670_LTECHO_EOF' 13671} 13672 13673# Quote evaled strings. 13674for var in SHELL \ 13675ECHO \ 13676PATH_SEPARATOR \ 13677SED \ 13678GREP \ 13679EGREP \ 13680FGREP \ 13681LD \ 13682NM \ 13683LN_S \ 13684lt_SP2NL \ 13685lt_NL2SP \ 13686reload_flag \ 13687OBJDUMP \ 13688deplibs_check_method \ 13689file_magic_cmd \ 13690file_magic_glob \ 13691want_nocaseglob \ 13692DLLTOOL \ 13693sharedlib_from_linklib_cmd \ 13694AR \ 13695AR_FLAGS \ 13696archiver_list_spec \ 13697STRIP \ 13698RANLIB \ 13699CC \ 13700CFLAGS \ 13701compiler \ 13702lt_cv_sys_global_symbol_pipe \ 13703lt_cv_sys_global_symbol_to_cdecl \ 13704lt_cv_sys_global_symbol_to_import \ 13705lt_cv_sys_global_symbol_to_c_name_address \ 13706lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13707lt_cv_nm_interface \ 13708nm_file_list_spec \ 13709lt_cv_truncate_bin \ 13710lt_prog_compiler_no_builtin_flag \ 13711lt_prog_compiler_pic \ 13712lt_prog_compiler_wl \ 13713lt_prog_compiler_static \ 13714lt_cv_prog_compiler_c_o \ 13715need_locks \ 13716MANIFEST_TOOL \ 13717DSYMUTIL \ 13718NMEDIT \ 13719LIPO \ 13720OTOOL \ 13721OTOOL64 \ 13722shrext_cmds \ 13723export_dynamic_flag_spec \ 13724whole_archive_flag_spec \ 13725compiler_needs_object \ 13726with_gnu_ld \ 13727allow_undefined_flag \ 13728no_undefined_flag \ 13729hardcode_libdir_flag_spec \ 13730hardcode_libdir_separator \ 13731exclude_expsyms \ 13732include_expsyms \ 13733file_list_spec \ 13734variables_saved_for_relink \ 13735libname_spec \ 13736library_names_spec \ 13737soname_spec \ 13738install_override_mode \ 13739finish_eval \ 13740old_striplib \ 13741striplib; do 13742 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13743 *[\\\\\\\`\\"\\\$]*) 13744 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 13745 ;; 13746 *) 13747 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13748 ;; 13749 esac 13750done 13751 13752# Double-quote double-evaled strings. 13753for var in reload_cmds \ 13754old_postinstall_cmds \ 13755old_postuninstall_cmds \ 13756old_archive_cmds \ 13757extract_expsyms_cmds \ 13758old_archive_from_new_cmds \ 13759old_archive_from_expsyms_cmds \ 13760archive_cmds \ 13761archive_expsym_cmds \ 13762module_cmds \ 13763module_expsym_cmds \ 13764export_symbols_cmds \ 13765prelink_cmds \ 13766postlink_cmds \ 13767postinstall_cmds \ 13768postuninstall_cmds \ 13769finish_cmds \ 13770sys_lib_search_path_spec \ 13771configure_time_dlsearch_path \ 13772configure_time_lt_sys_library_path; do 13773 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13774 *[\\\\\\\`\\"\\\$]*) 13775 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 13776 ;; 13777 *) 13778 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13779 ;; 13780 esac 13781done 13782 13783ac_aux_dir='$ac_aux_dir' 13784 13785# See if we are running on zsh, and set the options that allow our 13786# commands through without removal of \ escapes INIT. 13787if test -n "\${ZSH_VERSION+set}"; then 13788 setopt NO_GLOB_SUBST 13789fi 13790 13791 13792 PACKAGE='$PACKAGE' 13793 VERSION='$VERSION' 13794 RM='$RM' 13795 ofile='$ofile' 13796 13797 13798 13799 13800_ACEOF 13801 13802cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13803 13804# Handling of arguments. 13805for ac_config_target in $ac_config_targets 13806do 13807 case $ac_config_target in 13808 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13809 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13810 "lib/rgxg.pc") CONFIG_FILES="$CONFIG_FILES lib/rgxg.pc" ;; 13811 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13812 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13813 13814 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13815 esac 13816done 13817 13818 13819# If the user did not use the arguments to specify the items to instantiate, 13820# then the envvar interface is used. Set only those that are not. 13821# We use the long form for the default assignment because of an extremely 13822# bizarre bug on SunOS 4.1.3. 13823if $ac_need_defaults; then 13824 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13825 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13826 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13827fi 13828 13829# Have a temporary directory for convenience. Make it in the build tree 13830# simply because there is no reason against having it here, and in addition, 13831# creating and moving files from /tmp can sometimes cause problems. 13832# Hook for its removal unless debugging. 13833# Note that there is a small window in which the directory will not be cleaned: 13834# after its creation but before its name has been assigned to `$tmp'. 13835$debug || 13836{ 13837 tmp= ac_tmp= 13838 trap 'exit_status=$? 13839 : "${ac_tmp:=$tmp}" 13840 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13841' 0 13842 trap 'as_fn_exit 1' 1 2 13 15 13843} 13844# Create a (secure) tmp directory for tmp files. 13845 13846{ 13847 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13848 test -d "$tmp" 13849} || 13850{ 13851 tmp=./conf$$-$RANDOM 13852 (umask 077 && mkdir "$tmp") 13853} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13854ac_tmp=$tmp 13855 13856# Set up the scripts for CONFIG_FILES section. 13857# No need to generate them if there are no CONFIG_FILES. 13858# This happens for instance with `./config.status config.h'. 13859if test -n "$CONFIG_FILES"; then 13860 13861 13862ac_cr=`echo X | tr X '\015'` 13863# On cygwin, bash can eat \r inside `` if the user requested igncr. 13864# But we know of no other shell where ac_cr would be empty at this 13865# point, so we can use a bashism as a fallback. 13866if test "x$ac_cr" = x; then 13867 eval ac_cr=\$\'\\r\' 13868fi 13869ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13870if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13871 ac_cs_awk_cr='\\r' 13872else 13873 ac_cs_awk_cr=$ac_cr 13874fi 13875 13876echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13877_ACEOF 13878 13879 13880{ 13881 echo "cat >conf$$subs.awk <<_ACEOF" && 13882 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13883 echo "_ACEOF" 13884} >conf$$subs.sh || 13885 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13886ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13887ac_delim='%!_!# ' 13888for ac_last_try in false false false false false :; do 13889 . ./conf$$subs.sh || 13890 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13891 13892 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13893 if test $ac_delim_n = $ac_delim_num; then 13894 break 13895 elif $ac_last_try; then 13896 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13897 else 13898 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13899 fi 13900done 13901rm -f conf$$subs.sh 13902 13903cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13904cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 13905_ACEOF 13906sed -n ' 13907h 13908s/^/S["/; s/!.*/"]=/ 13909p 13910g 13911s/^[^!]*!// 13912:repl 13913t repl 13914s/'"$ac_delim"'$// 13915t delim 13916:nl 13917h 13918s/\(.\{148\}\)..*/\1/ 13919t more1 13920s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13921p 13922n 13923b repl 13924:more1 13925s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13926p 13927g 13928s/.\{148\}// 13929t nl 13930:delim 13931h 13932s/\(.\{148\}\)..*/\1/ 13933t more2 13934s/["\\]/\\&/g; s/^/"/; s/$/"/ 13935p 13936b 13937:more2 13938s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13939p 13940g 13941s/.\{148\}// 13942t delim 13943' <conf$$subs.awk | sed ' 13944/^[^""]/{ 13945 N 13946 s/\n// 13947} 13948' >>$CONFIG_STATUS || ac_write_fail=1 13949rm -f conf$$subs.awk 13950cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13951_ACAWK 13952cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13953 for (key in S) S_is_set[key] = 1 13954 FS = "" 13955 13956} 13957{ 13958 line = $ 0 13959 nfields = split(line, field, "@") 13960 substed = 0 13961 len = length(field[1]) 13962 for (i = 2; i < nfields; i++) { 13963 key = field[i] 13964 keylen = length(key) 13965 if (S_is_set[key]) { 13966 value = S[key] 13967 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13968 len += length(value) + length(field[++i]) 13969 substed = 1 13970 } else 13971 len += 1 + keylen 13972 } 13973 13974 print line 13975} 13976 13977_ACAWK 13978_ACEOF 13979cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13980if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13981 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13982else 13983 cat 13984fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 13985 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13986_ACEOF 13987 13988# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13989# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13990# trailing colons and then remove the whole line if VPATH becomes empty 13991# (actually we leave an empty line to preserve line numbers). 13992if test "x$srcdir" = x.; then 13993 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13994h 13995s/// 13996s/^/:/ 13997s/[ ]*$/:/ 13998s/:\$(srcdir):/:/g 13999s/:\${srcdir}:/:/g 14000s/:@srcdir@:/:/g 14001s/^:*// 14002s/:*$// 14003x 14004s/\(=[ ]*\).*/\1/ 14005G 14006s/\n// 14007s/^[^=]*=[ ]*$// 14008}' 14009fi 14010 14011cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14012fi # test -n "$CONFIG_FILES" 14013 14014# Set up the scripts for CONFIG_HEADERS section. 14015# No need to generate them if there are no CONFIG_HEADERS. 14016# This happens for instance with `./config.status Makefile'. 14017if test -n "$CONFIG_HEADERS"; then 14018cat >"$ac_tmp/defines.awk" <<\_ACAWK || 14019BEGIN { 14020_ACEOF 14021 14022# Transform confdefs.h into an awk script `defines.awk', embedded as 14023# here-document in config.status, that substitutes the proper values into 14024# config.h.in to produce config.h. 14025 14026# Create a delimiter string that does not exist in confdefs.h, to ease 14027# handling of long lines. 14028ac_delim='%!_!# ' 14029for ac_last_try in false false :; do 14030 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 14031 if test -z "$ac_tt"; then 14032 break 14033 elif $ac_last_try; then 14034 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14035 else 14036 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14037 fi 14038done 14039 14040# For the awk script, D is an array of macro values keyed by name, 14041# likewise P contains macro parameters if any. Preserve backslash 14042# newline sequences. 14043 14044ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14045sed -n ' 14046s/.\{148\}/&'"$ac_delim"'/g 14047t rset 14048:rset 14049s/^[ ]*#[ ]*define[ ][ ]*/ / 14050t def 14051d 14052:def 14053s/\\$// 14054t bsnl 14055s/["\\]/\\&/g 14056s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14057D["\1"]=" \3"/p 14058s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14059d 14060:bsnl 14061s/["\\]/\\&/g 14062s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14063D["\1"]=" \3\\\\\\n"\\/p 14064t cont 14065s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14066t cont 14067d 14068:cont 14069n 14070s/.\{148\}/&'"$ac_delim"'/g 14071t clear 14072:clear 14073s/\\$// 14074t bsnlc 14075s/["\\]/\\&/g; s/^/"/; s/$/"/p 14076d 14077:bsnlc 14078s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14079b cont 14080' <confdefs.h | sed ' 14081s/'"$ac_delim"'/"\\\ 14082"/g' >>$CONFIG_STATUS || ac_write_fail=1 14083 14084cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14085 for (key in D) D_is_set[key] = 1 14086 FS = "" 14087} 14088/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14089 line = \$ 0 14090 split(line, arg, " ") 14091 if (arg[1] == "#") { 14092 defundef = arg[2] 14093 mac1 = arg[3] 14094 } else { 14095 defundef = substr(arg[1], 2) 14096 mac1 = arg[2] 14097 } 14098 split(mac1, mac2, "(") #) 14099 macro = mac2[1] 14100 prefix = substr(line, 1, index(line, defundef) - 1) 14101 if (D_is_set[macro]) { 14102 # Preserve the white space surrounding the "#". 14103 print prefix "define", macro P[macro] D[macro] 14104 next 14105 } else { 14106 # Replace #undef with comments. This is necessary, for example, 14107 # in the case of _POSIX_SOURCE, which is predefined and required 14108 # on some systems where configure will not decide to define it. 14109 if (defundef == "undef") { 14110 print "/*", prefix defundef, macro, "*/" 14111 next 14112 } 14113 } 14114} 14115{ print } 14116_ACAWK 14117_ACEOF 14118cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14119 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14120fi # test -n "$CONFIG_HEADERS" 14121 14122 14123eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14124shift 14125for ac_tag 14126do 14127 case $ac_tag in 14128 :[FHLC]) ac_mode=$ac_tag; continue;; 14129 esac 14130 case $ac_mode$ac_tag in 14131 :[FHL]*:*);; 14132 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14133 :[FH]-) ac_tag=-:-;; 14134 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14135 esac 14136 ac_save_IFS=$IFS 14137 IFS=: 14138 set x $ac_tag 14139 IFS=$ac_save_IFS 14140 shift 14141 ac_file=$1 14142 shift 14143 14144 case $ac_mode in 14145 :L) ac_source=$1;; 14146 :[FH]) 14147 ac_file_inputs= 14148 for ac_f 14149 do 14150 case $ac_f in 14151 -) ac_f="$ac_tmp/stdin";; 14152 *) # Look for the file first in the build tree, then in the source tree 14153 # (if the path is not absolute). The absolute path cannot be DOS-style, 14154 # because $ac_f cannot contain `:'. 14155 test -f "$ac_f" || 14156 case $ac_f in 14157 [\\/$]*) false;; 14158 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14159 esac || 14160 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14161 esac 14162 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14163 as_fn_append ac_file_inputs " '$ac_f'" 14164 done 14165 14166 # Let's still pretend it is `configure' which instantiates (i.e., don't 14167 # use $as_me), people would be surprised to read: 14168 # /* config.h. Generated by config.status. */ 14169 configure_input='Generated from '` 14170 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14171 `' by configure.' 14172 if test x"$ac_file" != x-; then 14173 configure_input="$ac_file. $configure_input" 14174 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14175$as_echo "$as_me: creating $ac_file" >&6;} 14176 fi 14177 # Neutralize special characters interpreted by sed in replacement strings. 14178 case $configure_input in #( 14179 *\&* | *\|* | *\\* ) 14180 ac_sed_conf_input=`$as_echo "$configure_input" | 14181 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14182 *) ac_sed_conf_input=$configure_input;; 14183 esac 14184 14185 case $ac_tag in 14186 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 14187 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14188 esac 14189 ;; 14190 esac 14191 14192 ac_dir=`$as_dirname -- "$ac_file" || 14193$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14194 X"$ac_file" : 'X\(//\)[^/]' \| \ 14195 X"$ac_file" : 'X\(//\)$' \| \ 14196 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14197$as_echo X"$ac_file" | 14198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14199 s//\1/ 14200 q 14201 } 14202 /^X\(\/\/\)[^/].*/{ 14203 s//\1/ 14204 q 14205 } 14206 /^X\(\/\/\)$/{ 14207 s//\1/ 14208 q 14209 } 14210 /^X\(\/\).*/{ 14211 s//\1/ 14212 q 14213 } 14214 s/.*/./; q'` 14215 as_dir="$ac_dir"; as_fn_mkdir_p 14216 ac_builddir=. 14217 14218case "$ac_dir" in 14219.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14220*) 14221 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14222 # A ".." for each directory in $ac_dir_suffix. 14223 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14224 case $ac_top_builddir_sub in 14225 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14226 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14227 esac ;; 14228esac 14229ac_abs_top_builddir=$ac_pwd 14230ac_abs_builddir=$ac_pwd$ac_dir_suffix 14231# for backward compatibility: 14232ac_top_builddir=$ac_top_build_prefix 14233 14234case $srcdir in 14235 .) # We are building in place. 14236 ac_srcdir=. 14237 ac_top_srcdir=$ac_top_builddir_sub 14238 ac_abs_top_srcdir=$ac_pwd ;; 14239 [\\/]* | ?:[\\/]* ) # Absolute name. 14240 ac_srcdir=$srcdir$ac_dir_suffix; 14241 ac_top_srcdir=$srcdir 14242 ac_abs_top_srcdir=$srcdir ;; 14243 *) # Relative name. 14244 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14245 ac_top_srcdir=$ac_top_build_prefix$srcdir 14246 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14247esac 14248ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14249 14250 14251 case $ac_mode in 14252 :F) 14253 # 14254 # CONFIG_FILE 14255 # 14256 14257 case $INSTALL in 14258 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14259 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14260 esac 14261 ac_MKDIR_P=$MKDIR_P 14262 case $MKDIR_P in 14263 [\\/$]* | ?:[\\/]* ) ;; 14264 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14265 esac 14266_ACEOF 14267 14268cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14269# If the template does not know about datarootdir, expand it. 14270# FIXME: This hack should be removed a few years after 2.60. 14271ac_datarootdir_hack=; ac_datarootdir_seen= 14272ac_sed_dataroot=' 14273/datarootdir/ { 14274 p 14275 q 14276} 14277/@datadir@/p 14278/@docdir@/p 14279/@infodir@/p 14280/@localedir@/p 14281/@mandir@/p' 14282case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14283*datarootdir*) ac_datarootdir_seen=yes;; 14284*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14286$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14287_ACEOF 14288cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14289 ac_datarootdir_hack=' 14290 s&@datadir@&$datadir&g 14291 s&@docdir@&$docdir&g 14292 s&@infodir@&$infodir&g 14293 s&@localedir@&$localedir&g 14294 s&@mandir@&$mandir&g 14295 s&\\\${datarootdir}&$datarootdir&g' ;; 14296esac 14297_ACEOF 14298 14299# Neutralize VPATH when `$srcdir' = `.'. 14300# Shell code in configure.ac might set extrasub. 14301# FIXME: do we really want to maintain this feature? 14302cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14303ac_sed_extra="$ac_vpsub 14304$extrasub 14305_ACEOF 14306cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14307:t 14308/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14309s|@configure_input@|$ac_sed_conf_input|;t t 14310s&@top_builddir@&$ac_top_builddir_sub&;t t 14311s&@top_build_prefix@&$ac_top_build_prefix&;t t 14312s&@srcdir@&$ac_srcdir&;t t 14313s&@abs_srcdir@&$ac_abs_srcdir&;t t 14314s&@top_srcdir@&$ac_top_srcdir&;t t 14315s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14316s&@builddir@&$ac_builddir&;t t 14317s&@abs_builddir@&$ac_abs_builddir&;t t 14318s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14319s&@INSTALL@&$ac_INSTALL&;t t 14320s&@MKDIR_P@&$ac_MKDIR_P&;t t 14321$ac_datarootdir_hack 14322" 14323eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14324 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14325 14326test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14327 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14328 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14329 "$ac_tmp/out"`; test -z "$ac_out"; } && 14330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14331which seems to be undefined. Please make sure it is defined" >&5 14332$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14333which seems to be undefined. Please make sure it is defined" >&2;} 14334 14335 rm -f "$ac_tmp/stdin" 14336 case $ac_file in 14337 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14338 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14339 esac \ 14340 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14341 ;; 14342 :H) 14343 # 14344 # CONFIG_HEADER 14345 # 14346 if test x"$ac_file" != x-; then 14347 { 14348 $as_echo "/* $configure_input */" \ 14349 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14350 } >"$ac_tmp/config.h" \ 14351 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14352 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14353 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14354$as_echo "$as_me: $ac_file is unchanged" >&6;} 14355 else 14356 rm -f "$ac_file" 14357 mv "$ac_tmp/config.h" "$ac_file" \ 14358 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14359 fi 14360 else 14361 $as_echo "/* $configure_input */" \ 14362 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14363 || as_fn_error $? "could not create -" "$LINENO" 5 14364 fi 14365# Compute "$ac_file"'s index in $config_headers. 14366_am_arg="$ac_file" 14367_am_stamp_count=1 14368for _am_header in $config_headers :; do 14369 case $_am_header in 14370 $_am_arg | $_am_arg:* ) 14371 break ;; 14372 * ) 14373 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14374 esac 14375done 14376echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14377$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14378 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14379 X"$_am_arg" : 'X\(//\)$' \| \ 14380 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14381$as_echo X"$_am_arg" | 14382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14383 s//\1/ 14384 q 14385 } 14386 /^X\(\/\/\)[^/].*/{ 14387 s//\1/ 14388 q 14389 } 14390 /^X\(\/\/\)$/{ 14391 s//\1/ 14392 q 14393 } 14394 /^X\(\/\).*/{ 14395 s//\1/ 14396 q 14397 } 14398 s/.*/./; q'`/stamp-h$_am_stamp_count 14399 ;; 14400 14401 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14402$as_echo "$as_me: executing $ac_file commands" >&6;} 14403 ;; 14404 esac 14405 14406 14407 case $ac_file$ac_mode in 14408 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14409 # Older Autoconf quotes --file arguments for eval, but not when files 14410 # are listed without --file. Let's play safe and only enable the eval 14411 # if we detect the quoting. 14412 # TODO: see whether this extra hack can be removed once we start 14413 # requiring Autoconf 2.70 or later. 14414 case $CONFIG_FILES in #( 14415 *\'*) : 14416 eval set x "$CONFIG_FILES" ;; #( 14417 *) : 14418 set x $CONFIG_FILES ;; #( 14419 *) : 14420 ;; 14421esac 14422 shift 14423 # Used to flag and report bootstrapping failures. 14424 am_rc=0 14425 for am_mf 14426 do 14427 # Strip MF so we end up with the name of the file. 14428 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 14429 # Check whether this is an Automake generated Makefile which includes 14430 # dependency-tracking related rules and includes. 14431 # Grep'ing the whole file directly is not great: AIX grep has a line 14432 # limit of 2048, but all sed's we know have understand at least 4000. 14433 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 14434 || continue 14435 am_dirpart=`$as_dirname -- "$am_mf" || 14436$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14437 X"$am_mf" : 'X\(//\)[^/]' \| \ 14438 X"$am_mf" : 'X\(//\)$' \| \ 14439 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 14440$as_echo X"$am_mf" | 14441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14442 s//\1/ 14443 q 14444 } 14445 /^X\(\/\/\)[^/].*/{ 14446 s//\1/ 14447 q 14448 } 14449 /^X\(\/\/\)$/{ 14450 s//\1/ 14451 q 14452 } 14453 /^X\(\/\).*/{ 14454 s//\1/ 14455 q 14456 } 14457 s/.*/./; q'` 14458 am_filepart=`$as_basename -- "$am_mf" || 14459$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 14460 X"$am_mf" : 'X\(//\)$' \| \ 14461 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 14462$as_echo X/"$am_mf" | 14463 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14464 s//\1/ 14465 q 14466 } 14467 /^X\/\(\/\/\)$/{ 14468 s//\1/ 14469 q 14470 } 14471 /^X\/\(\/\).*/{ 14472 s//\1/ 14473 q 14474 } 14475 s/.*/./; q'` 14476 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 14477 && sed -e '/# am--include-marker/d' "$am_filepart" \ 14478 | $MAKE -f - am--depfiles" >&5 14479 (cd "$am_dirpart" \ 14480 && sed -e '/# am--include-marker/d' "$am_filepart" \ 14481 | $MAKE -f - am--depfiles) >&5 2>&5 14482 ac_status=$? 14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14484 (exit $ac_status); } || am_rc=$? 14485 done 14486 if test $am_rc -ne 0; then 14487 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14488$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14489as_fn_error $? "Something went wrong bootstrapping makefile fragments 14490 for automatic dependency tracking. Try re-running configure with the 14491 '--disable-dependency-tracking' option to at least be able to build 14492 the package (albeit without support for automatic dependency tracking). 14493See \`config.log' for more details" "$LINENO" 5; } 14494 fi 14495 { am_dirpart=; unset am_dirpart;} 14496 { am_filepart=; unset am_filepart;} 14497 { am_mf=; unset am_mf;} 14498 { am_rc=; unset am_rc;} 14499 rm -f conftest-deps.mk 14500} 14501 ;; 14502 "libtool":C) 14503 14504 # See if we are running on zsh, and set the options that allow our 14505 # commands through without removal of \ escapes. 14506 if test -n "${ZSH_VERSION+set}"; then 14507 setopt NO_GLOB_SUBST 14508 fi 14509 14510 cfgfile=${ofile}T 14511 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14512 $RM "$cfgfile" 14513 14514 cat <<_LT_EOF >> "$cfgfile" 14515#! $SHELL 14516# Generated automatically by $as_me ($PACKAGE) $VERSION 14517# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14518 14519# Provide generalized library-building support services. 14520# Written by Gordon Matzigkeit, 1996 14521 14522# Copyright (C) 2014 Free Software Foundation, Inc. 14523# This is free software; see the source for copying conditions. There is NO 14524# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14525 14526# GNU Libtool is free software; you can redistribute it and/or modify 14527# it under the terms of the GNU General Public License as published by 14528# the Free Software Foundation; either version 2 of of the License, or 14529# (at your option) any later version. 14530# 14531# As a special exception to the GNU General Public License, if you 14532# distribute this file as part of a program or library that is built 14533# using GNU Libtool, you may include this file under the same 14534# distribution terms that you use for the rest of that program. 14535# 14536# GNU Libtool is distributed in the hope that it will be useful, but 14537# WITHOUT ANY WARRANTY; without even the implied warranty of 14538# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14539# GNU General Public License for more details. 14540# 14541# You should have received a copy of the GNU General Public License 14542# along with this program. If not, see <http://www.gnu.org/licenses/>. 14543 14544 14545# The names of the tagged configurations supported by this script. 14546available_tags='' 14547 14548# Configured defaults for sys_lib_dlsearch_path munging. 14549: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 14550 14551# ### BEGIN LIBTOOL CONFIG 14552 14553# Which release of libtool.m4 was used? 14554macro_version=$macro_version 14555macro_revision=$macro_revision 14556 14557# Whether or not to build shared libraries. 14558build_libtool_libs=$enable_shared 14559 14560# Whether or not to build static libraries. 14561build_old_libs=$enable_static 14562 14563# What type of objects to build. 14564pic_mode=$pic_mode 14565 14566# Whether or not to optimize for fast installation. 14567fast_install=$enable_fast_install 14568 14569# Shared archive member basename,for filename based shared library versioning on AIX. 14570shared_archive_member_spec=$shared_archive_member_spec 14571 14572# Shell to use when invoking shell scripts. 14573SHELL=$lt_SHELL 14574 14575# An echo program that protects backslashes. 14576ECHO=$lt_ECHO 14577 14578# The PATH separator for the build system. 14579PATH_SEPARATOR=$lt_PATH_SEPARATOR 14580 14581# The host system. 14582host_alias=$host_alias 14583host=$host 14584host_os=$host_os 14585 14586# The build system. 14587build_alias=$build_alias 14588build=$build 14589build_os=$build_os 14590 14591# A sed program that does not truncate output. 14592SED=$lt_SED 14593 14594# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14595Xsed="\$SED -e 1s/^X//" 14596 14597# A grep program that handles long lines. 14598GREP=$lt_GREP 14599 14600# An ERE matcher. 14601EGREP=$lt_EGREP 14602 14603# A literal string matcher. 14604FGREP=$lt_FGREP 14605 14606# A BSD- or MS-compatible name lister. 14607NM=$lt_NM 14608 14609# Whether we need soft or hard links. 14610LN_S=$lt_LN_S 14611 14612# What is the maximum length of a command? 14613max_cmd_len=$max_cmd_len 14614 14615# Object file suffix (normally "o"). 14616objext=$ac_objext 14617 14618# Executable file suffix (normally ""). 14619exeext=$exeext 14620 14621# whether the shell understands "unset". 14622lt_unset=$lt_unset 14623 14624# turn spaces into newlines. 14625SP2NL=$lt_lt_SP2NL 14626 14627# turn newlines into spaces. 14628NL2SP=$lt_lt_NL2SP 14629 14630# convert \$build file names to \$host format. 14631to_host_file_cmd=$lt_cv_to_host_file_cmd 14632 14633# convert \$build files to toolchain format. 14634to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14635 14636# An object symbol dumper. 14637OBJDUMP=$lt_OBJDUMP 14638 14639# Method to check whether dependent libraries are shared objects. 14640deplibs_check_method=$lt_deplibs_check_method 14641 14642# Command to use when deplibs_check_method = "file_magic". 14643file_magic_cmd=$lt_file_magic_cmd 14644 14645# How to find potential files when deplibs_check_method = "file_magic". 14646file_magic_glob=$lt_file_magic_glob 14647 14648# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14649want_nocaseglob=$lt_want_nocaseglob 14650 14651# DLL creation program. 14652DLLTOOL=$lt_DLLTOOL 14653 14654# Command to associate shared and link libraries. 14655sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14656 14657# The archiver. 14658AR=$lt_AR 14659 14660# Flags to create an archive. 14661AR_FLAGS=$lt_AR_FLAGS 14662 14663# How to feed a file listing to the archiver. 14664archiver_list_spec=$lt_archiver_list_spec 14665 14666# A symbol stripping program. 14667STRIP=$lt_STRIP 14668 14669# Commands used to install an old-style archive. 14670RANLIB=$lt_RANLIB 14671old_postinstall_cmds=$lt_old_postinstall_cmds 14672old_postuninstall_cmds=$lt_old_postuninstall_cmds 14673 14674# Whether to use a lock for old archive extraction. 14675lock_old_archive_extraction=$lock_old_archive_extraction 14676 14677# A C compiler. 14678LTCC=$lt_CC 14679 14680# LTCC compiler flags. 14681LTCFLAGS=$lt_CFLAGS 14682 14683# Take the output of nm and produce a listing of raw symbols and C names. 14684global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14685 14686# Transform the output of nm in a proper C declaration. 14687global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14688 14689# Transform the output of nm into a list of symbols to manually relocate. 14690global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 14691 14692# Transform the output of nm in a C name address pair. 14693global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14694 14695# Transform the output of nm in a C name address pair when lib prefix is needed. 14696global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14697 14698# The name lister interface. 14699nm_interface=$lt_lt_cv_nm_interface 14700 14701# Specify filename containing input files for \$NM. 14702nm_file_list_spec=$lt_nm_file_list_spec 14703 14704# The root where to search for dependent libraries,and where our libraries should be installed. 14705lt_sysroot=$lt_sysroot 14706 14707# Command to truncate a binary pipe. 14708lt_truncate_bin=$lt_lt_cv_truncate_bin 14709 14710# The name of the directory that contains temporary libtool files. 14711objdir=$objdir 14712 14713# Used to examine libraries when file_magic_cmd begins with "file". 14714MAGIC_CMD=$MAGIC_CMD 14715 14716# Must we lock files when doing compilation? 14717need_locks=$lt_need_locks 14718 14719# Manifest tool. 14720MANIFEST_TOOL=$lt_MANIFEST_TOOL 14721 14722# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14723DSYMUTIL=$lt_DSYMUTIL 14724 14725# Tool to change global to local symbols on Mac OS X. 14726NMEDIT=$lt_NMEDIT 14727 14728# Tool to manipulate fat objects and archives on Mac OS X. 14729LIPO=$lt_LIPO 14730 14731# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14732OTOOL=$lt_OTOOL 14733 14734# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14735OTOOL64=$lt_OTOOL64 14736 14737# Old archive suffix (normally "a"). 14738libext=$libext 14739 14740# Shared library suffix (normally ".so"). 14741shrext_cmds=$lt_shrext_cmds 14742 14743# The commands to extract the exported symbol list from a shared archive. 14744extract_expsyms_cmds=$lt_extract_expsyms_cmds 14745 14746# Variables whose values should be saved in libtool wrapper scripts and 14747# restored at link time. 14748variables_saved_for_relink=$lt_variables_saved_for_relink 14749 14750# Do we need the "lib" prefix for modules? 14751need_lib_prefix=$need_lib_prefix 14752 14753# Do we need a version for libraries? 14754need_version=$need_version 14755 14756# Library versioning type. 14757version_type=$version_type 14758 14759# Shared library runtime path variable. 14760runpath_var=$runpath_var 14761 14762# Shared library path variable. 14763shlibpath_var=$shlibpath_var 14764 14765# Is shlibpath searched before the hard-coded library search path? 14766shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14767 14768# Format of library name prefix. 14769libname_spec=$lt_libname_spec 14770 14771# List of archive names. First name is the real one, the rest are links. 14772# The last name is the one that the linker finds with -lNAME 14773library_names_spec=$lt_library_names_spec 14774 14775# The coded name of the library, if different from the real name. 14776soname_spec=$lt_soname_spec 14777 14778# Permission mode override for installation of shared libraries. 14779install_override_mode=$lt_install_override_mode 14780 14781# Command to use after installation of a shared archive. 14782postinstall_cmds=$lt_postinstall_cmds 14783 14784# Command to use after uninstallation of a shared archive. 14785postuninstall_cmds=$lt_postuninstall_cmds 14786 14787# Commands used to finish a libtool library installation in a directory. 14788finish_cmds=$lt_finish_cmds 14789 14790# As "finish_cmds", except a single script fragment to be evaled but 14791# not shown. 14792finish_eval=$lt_finish_eval 14793 14794# Whether we should hardcode library paths into libraries. 14795hardcode_into_libs=$hardcode_into_libs 14796 14797# Compile-time system search path for libraries. 14798sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14799 14800# Detected run-time system search path for libraries. 14801sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 14802 14803# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 14804configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 14805 14806# Whether dlopen is supported. 14807dlopen_support=$enable_dlopen 14808 14809# Whether dlopen of programs is supported. 14810dlopen_self=$enable_dlopen_self 14811 14812# Whether dlopen of statically linked programs is supported. 14813dlopen_self_static=$enable_dlopen_self_static 14814 14815# Commands to strip libraries. 14816old_striplib=$lt_old_striplib 14817striplib=$lt_striplib 14818 14819 14820# The linker used to build libraries. 14821LD=$lt_LD 14822 14823# How to create reloadable object files. 14824reload_flag=$lt_reload_flag 14825reload_cmds=$lt_reload_cmds 14826 14827# Commands used to build an old-style archive. 14828old_archive_cmds=$lt_old_archive_cmds 14829 14830# A language specific compiler. 14831CC=$lt_compiler 14832 14833# Is the compiler the GNU compiler? 14834with_gcc=$GCC 14835 14836# Compiler flag to turn off builtin functions. 14837no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14838 14839# Additional compiler flags for building library objects. 14840pic_flag=$lt_lt_prog_compiler_pic 14841 14842# How to pass a linker flag through the compiler. 14843wl=$lt_lt_prog_compiler_wl 14844 14845# Compiler flag to prevent dynamic linking. 14846link_static_flag=$lt_lt_prog_compiler_static 14847 14848# Does compiler simultaneously support -c and -o options? 14849compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14850 14851# Whether or not to add -lc for building shared libraries. 14852build_libtool_need_lc=$archive_cmds_need_lc 14853 14854# Whether or not to disallow shared libs when runtime libs are static. 14855allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14856 14857# Compiler flag to allow reflexive dlopens. 14858export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14859 14860# Compiler flag to generate shared objects directly from archives. 14861whole_archive_flag_spec=$lt_whole_archive_flag_spec 14862 14863# Whether the compiler copes with passing no objects directly. 14864compiler_needs_object=$lt_compiler_needs_object 14865 14866# Create an old-style archive from a shared archive. 14867old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14868 14869# Create a temporary old-style archive to link instead of a shared archive. 14870old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14871 14872# Commands used to build a shared archive. 14873archive_cmds=$lt_archive_cmds 14874archive_expsym_cmds=$lt_archive_expsym_cmds 14875 14876# Commands used to build a loadable module if different from building 14877# a shared archive. 14878module_cmds=$lt_module_cmds 14879module_expsym_cmds=$lt_module_expsym_cmds 14880 14881# Whether we are building with GNU ld or not. 14882with_gnu_ld=$lt_with_gnu_ld 14883 14884# Flag that allows shared libraries with undefined symbols to be built. 14885allow_undefined_flag=$lt_allow_undefined_flag 14886 14887# Flag that enforces no undefined symbols. 14888no_undefined_flag=$lt_no_undefined_flag 14889 14890# Flag to hardcode \$libdir into a binary during linking. 14891# This must work even if \$libdir does not exist 14892hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14893 14894# Whether we need a single "-rpath" flag with a separated argument. 14895hardcode_libdir_separator=$lt_hardcode_libdir_separator 14896 14897# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14898# DIR into the resulting binary. 14899hardcode_direct=$hardcode_direct 14900 14901# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14902# DIR into the resulting binary and the resulting library dependency is 14903# "absolute",i.e impossible to change by setting \$shlibpath_var if the 14904# library is relocated. 14905hardcode_direct_absolute=$hardcode_direct_absolute 14906 14907# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14908# into the resulting binary. 14909hardcode_minus_L=$hardcode_minus_L 14910 14911# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14912# into the resulting binary. 14913hardcode_shlibpath_var=$hardcode_shlibpath_var 14914 14915# Set to "yes" if building a shared library automatically hardcodes DIR 14916# into the library and all subsequent libraries and executables linked 14917# against it. 14918hardcode_automatic=$hardcode_automatic 14919 14920# Set to yes if linker adds runtime paths of dependent libraries 14921# to runtime path list. 14922inherit_rpath=$inherit_rpath 14923 14924# Whether libtool must link a program against all its dependency libraries. 14925link_all_deplibs=$link_all_deplibs 14926 14927# Set to "yes" if exported symbols are required. 14928always_export_symbols=$always_export_symbols 14929 14930# The commands to list exported symbols. 14931export_symbols_cmds=$lt_export_symbols_cmds 14932 14933# Symbols that should not be listed in the preloaded symbols. 14934exclude_expsyms=$lt_exclude_expsyms 14935 14936# Symbols that must always be exported. 14937include_expsyms=$lt_include_expsyms 14938 14939# Commands necessary for linking programs (against libraries) with templates. 14940prelink_cmds=$lt_prelink_cmds 14941 14942# Commands necessary for finishing linking programs. 14943postlink_cmds=$lt_postlink_cmds 14944 14945# Specify filename containing input files. 14946file_list_spec=$lt_file_list_spec 14947 14948# How to hardcode a shared library path into an executable. 14949hardcode_action=$hardcode_action 14950 14951# ### END LIBTOOL CONFIG 14952 14953_LT_EOF 14954 14955 cat <<'_LT_EOF' >> "$cfgfile" 14956 14957# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 14958 14959# func_munge_path_list VARIABLE PATH 14960# ----------------------------------- 14961# VARIABLE is name of variable containing _space_ separated list of 14962# directories to be munged by the contents of PATH, which is string 14963# having a format: 14964# "DIR[:DIR]:" 14965# string "DIR[ DIR]" will be prepended to VARIABLE 14966# ":DIR[:DIR]" 14967# string "DIR[ DIR]" will be appended to VARIABLE 14968# "DIRP[:DIRP]::[DIRA:]DIRA" 14969# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 14970# "DIRA[ DIRA]" will be appended to VARIABLE 14971# "DIR[:DIR]" 14972# VARIABLE will be replaced by "DIR[ DIR]" 14973func_munge_path_list () 14974{ 14975 case x$2 in 14976 x) 14977 ;; 14978 *:) 14979 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 14980 ;; 14981 x:*) 14982 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 14983 ;; 14984 *::*) 14985 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 14986 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 14987 ;; 14988 *) 14989 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 14990 ;; 14991 esac 14992} 14993 14994 14995# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 14996func_cc_basename () 14997{ 14998 for cc_temp in $*""; do 14999 case $cc_temp in 15000 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 15001 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 15002 \-*) ;; 15003 *) break;; 15004 esac 15005 done 15006 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 15007} 15008 15009 15010# ### END FUNCTIONS SHARED WITH CONFIGURE 15011 15012_LT_EOF 15013 15014 case $host_os in 15015 aix3*) 15016 cat <<\_LT_EOF >> "$cfgfile" 15017# AIX sometimes has problems with the GCC collect2 program. For some 15018# reason, if we set the COLLECT_NAMES environment variable, the problems 15019# vanish in a puff of smoke. 15020if test set != "${COLLECT_NAMES+set}"; then 15021 COLLECT_NAMES= 15022 export COLLECT_NAMES 15023fi 15024_LT_EOF 15025 ;; 15026 esac 15027 15028 15029ltmain=$ac_aux_dir/ltmain.sh 15030 15031 15032 # We use sed instead of cat because bash on DJGPP gets confused if 15033 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15034 # text mode, it properly converts lines to CR/LF. This bash problem 15035 # is reportedly fixed, but why not run on old versions too? 15036 sed '$q' "$ltmain" >> "$cfgfile" \ 15037 || (rm -f "$cfgfile"; exit 1) 15038 15039 mv -f "$cfgfile" "$ofile" || 15040 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15041 chmod +x "$ofile" 15042 15043 ;; 15044 15045 esac 15046done # for ac_tag 15047 15048 15049as_fn_exit 0 15050_ACEOF 15051ac_clean_files=$ac_clean_files_save 15052 15053test $ac_write_fail = 0 || 15054 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 15055 15056 15057# configure is writing to config.log, and then calls config.status. 15058# config.status does its own redirection, appending to config.log. 15059# Unfortunately, on DOS this fails, as config.log is still kept open 15060# by configure, so config.status won't be able to write to it; its 15061# output is simply discarded. So we exec the FD to /dev/null, 15062# effectively closing config.log, so it can be properly (re)opened and 15063# appended to by config.status. When coming back to configure, we 15064# need to make the FD available again. 15065if test "$no_create" != yes; then 15066 ac_cs_success=: 15067 ac_config_status_args= 15068 test "$silent" = yes && 15069 ac_config_status_args="$ac_config_status_args --quiet" 15070 exec 5>/dev/null 15071 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15072 exec 5>>config.log 15073 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15074 # would make configure fail if this is the last instruction. 15075 $ac_cs_success || as_fn_exit 1 15076fi 15077if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15079$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15080fi 15081 15082