1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for makedat 0.60. 4# 5# Report bugs to <courier-users@lists.sourceforge.net>. 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: courier-users@lists.sourceforge.net 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='makedat' 592PACKAGE_TARNAME='makedat' 593PACKAGE_VERSION='0.60' 594PACKAGE_STRING='makedat 0.60' 595PACKAGE_BUGREPORT='courier-users@lists.sourceforge.net' 596PACKAGE_URL='' 597 598ac_unique_file="makedatprog.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 639makedatprogpath 640makedatprog_target 641dblibrary 642CPP 643LT_SYS_LIBRARY_PATH 644OTOOL64 645OTOOL 646LIPO 647NMEDIT 648DSYMUTIL 649MANIFEST_TOOL 650RANLIB 651ac_ct_AR 652AR 653DLLTOOL 654OBJDUMP 655NM 656ac_ct_DUMPBIN 657DUMPBIN 658LD 659FGREP 660EGREP 661GREP 662SED 663host_os 664host_vendor 665host_cpu 666host 667build_os 668build_vendor 669build_cpu 670build 671LIBTOOL 672CAT 673PERL 674LN_S 675am__fastdepCC_FALSE 676am__fastdepCC_TRUE 677CCDEPMODE 678am__nodep 679AMDEPBACKSLASH 680AMDEP_FALSE 681AMDEP_TRUE 682am__include 683DEPDIR 684OBJEXT 685EXEEXT 686ac_ct_CC 687CPPFLAGS 688LDFLAGS 689CFLAGS 690CC 691AM_BACKSLASH 692AM_DEFAULT_VERBOSITY 693AM_DEFAULT_V 694AM_V 695am__untar 696am__tar 697AMTAR 698am__leading_dot 699SET_MAKE 700AWK 701mkdir_p 702MKDIR_P 703INSTALL_STRIP_PROGRAM 704STRIP 705install_sh 706MAKEINFO 707AUTOHEADER 708AUTOMAKE 709AUTOCONF 710ACLOCAL 711VERSION 712PACKAGE 713CYGPATH_W 714am__isrc 715INSTALL_DATA 716INSTALL_SCRIPT 717INSTALL_PROGRAM 718target_alias 719host_alias 720build_alias 721LIBS 722ECHO_T 723ECHO_N 724ECHO_C 725DEFS 726mandir 727localedir 728libdir 729psdir 730pdfdir 731dvidir 732htmldir 733infodir 734docdir 735oldincludedir 736includedir 737runstatedir 738localstatedir 739sharedstatedir 740sysconfdir 741datadir 742datarootdir 743libexecdir 744sbindir 745bindir 746program_transform_name 747prefix 748exec_prefix 749PACKAGE_URL 750PACKAGE_BUGREPORT 751PACKAGE_STRING 752PACKAGE_VERSION 753PACKAGE_TARNAME 754PACKAGE_NAME 755PATH_SEPARATOR 756SHELL 757am__quote' 758ac_subst_files='' 759ac_user_opts=' 760enable_option_checking 761enable_silent_rules 762enable_dependency_tracking 763enable_shared 764enable_static 765with_pic 766enable_fast_install 767with_aix_soname 768with_gnu_ld 769with_sysroot 770enable_libtool_lock 771enable_largefile 772with_makedatprog 773' 774 ac_precious_vars='build_alias 775host_alias 776target_alias 777CC 778CFLAGS 779LDFLAGS 780LIBS 781CPPFLAGS 782LT_SYS_LIBRARY_PATH 783CPP' 784 785 786# Initialize some variables set by options. 787ac_init_help= 788ac_init_version=false 789ac_unrecognized_opts= 790ac_unrecognized_sep= 791# The variables have the same names as the options, with 792# dashes changed to underlines. 793cache_file=/dev/null 794exec_prefix=NONE 795no_create= 796no_recursion= 797prefix=NONE 798program_prefix=NONE 799program_suffix=NONE 800program_transform_name=s,x,x, 801silent= 802site= 803srcdir= 804verbose= 805x_includes=NONE 806x_libraries=NONE 807 808# Installation directory options. 809# These are left unexpanded so users can "make install exec_prefix=/foo" 810# and all the variables that are supposed to be based on exec_prefix 811# by default will actually change. 812# Use braces instead of parens because sh, perl, etc. also accept them. 813# (The list follows the same order as the GNU Coding Standards.) 814bindir='${exec_prefix}/bin' 815sbindir='${exec_prefix}/sbin' 816libexecdir='${exec_prefix}/libexec' 817datarootdir='${prefix}/share' 818datadir='${datarootdir}' 819sysconfdir='${prefix}/etc' 820sharedstatedir='${prefix}/com' 821localstatedir='${prefix}/var' 822runstatedir='${localstatedir}/run' 823includedir='${prefix}/include' 824oldincludedir='/usr/include' 825docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 826infodir='${datarootdir}/info' 827htmldir='${docdir}' 828dvidir='${docdir}' 829pdfdir='${docdir}' 830psdir='${docdir}' 831libdir='${exec_prefix}/lib' 832localedir='${datarootdir}/locale' 833mandir='${datarootdir}/man' 834 835ac_prev= 836ac_dashdash= 837for ac_option 838do 839 # If the previous option needs an argument, assign it. 840 if test -n "$ac_prev"; then 841 eval $ac_prev=\$ac_option 842 ac_prev= 843 continue 844 fi 845 846 case $ac_option in 847 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 848 *=) ac_optarg= ;; 849 *) ac_optarg=yes ;; 850 esac 851 852 # Accept the important Cygnus configure options, so we can diagnose typos. 853 854 case $ac_dashdash$ac_option in 855 --) 856 ac_dashdash=yes ;; 857 858 -bindir | --bindir | --bindi | --bind | --bin | --bi) 859 ac_prev=bindir ;; 860 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 861 bindir=$ac_optarg ;; 862 863 -build | --build | --buil | --bui | --bu) 864 ac_prev=build_alias ;; 865 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 866 build_alias=$ac_optarg ;; 867 868 -cache-file | --cache-file | --cache-fil | --cache-fi \ 869 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 870 ac_prev=cache_file ;; 871 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 872 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 873 cache_file=$ac_optarg ;; 874 875 --config-cache | -C) 876 cache_file=config.cache ;; 877 878 -datadir | --datadir | --datadi | --datad) 879 ac_prev=datadir ;; 880 -datadir=* | --datadir=* | --datadi=* | --datad=*) 881 datadir=$ac_optarg ;; 882 883 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 884 | --dataroo | --dataro | --datar) 885 ac_prev=datarootdir ;; 886 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 887 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 888 datarootdir=$ac_optarg ;; 889 890 -disable-* | --disable-*) 891 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 892 # Reject names that are not valid shell variable names. 893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 894 as_fn_error $? "invalid feature name: $ac_useropt" 895 ac_useropt_orig=$ac_useropt 896 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 897 case $ac_user_opts in 898 *" 899"enable_$ac_useropt" 900"*) ;; 901 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 902 ac_unrecognized_sep=', ';; 903 esac 904 eval enable_$ac_useropt=no ;; 905 906 -docdir | --docdir | --docdi | --doc | --do) 907 ac_prev=docdir ;; 908 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 909 docdir=$ac_optarg ;; 910 911 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 912 ac_prev=dvidir ;; 913 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 914 dvidir=$ac_optarg ;; 915 916 -enable-* | --enable-*) 917 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 918 # Reject names that are not valid shell variable names. 919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 920 as_fn_error $? "invalid feature name: $ac_useropt" 921 ac_useropt_orig=$ac_useropt 922 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 923 case $ac_user_opts in 924 *" 925"enable_$ac_useropt" 926"*) ;; 927 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 928 ac_unrecognized_sep=', ';; 929 esac 930 eval enable_$ac_useropt=\$ac_optarg ;; 931 932 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 933 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 934 | --exec | --exe | --ex) 935 ac_prev=exec_prefix ;; 936 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 937 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 938 | --exec=* | --exe=* | --ex=*) 939 exec_prefix=$ac_optarg ;; 940 941 -gas | --gas | --ga | --g) 942 # Obsolete; use --with-gas. 943 with_gas=yes ;; 944 945 -help | --help | --hel | --he | -h) 946 ac_init_help=long ;; 947 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 948 ac_init_help=recursive ;; 949 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 950 ac_init_help=short ;; 951 952 -host | --host | --hos | --ho) 953 ac_prev=host_alias ;; 954 -host=* | --host=* | --hos=* | --ho=*) 955 host_alias=$ac_optarg ;; 956 957 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 958 ac_prev=htmldir ;; 959 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 960 | --ht=*) 961 htmldir=$ac_optarg ;; 962 963 -includedir | --includedir | --includedi | --included | --include \ 964 | --includ | --inclu | --incl | --inc) 965 ac_prev=includedir ;; 966 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 967 | --includ=* | --inclu=* | --incl=* | --inc=*) 968 includedir=$ac_optarg ;; 969 970 -infodir | --infodir | --infodi | --infod | --info | --inf) 971 ac_prev=infodir ;; 972 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 973 infodir=$ac_optarg ;; 974 975 -libdir | --libdir | --libdi | --libd) 976 ac_prev=libdir ;; 977 -libdir=* | --libdir=* | --libdi=* | --libd=*) 978 libdir=$ac_optarg ;; 979 980 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 981 | --libexe | --libex | --libe) 982 ac_prev=libexecdir ;; 983 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 984 | --libexe=* | --libex=* | --libe=*) 985 libexecdir=$ac_optarg ;; 986 987 -localedir | --localedir | --localedi | --localed | --locale) 988 ac_prev=localedir ;; 989 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 990 localedir=$ac_optarg ;; 991 992 -localstatedir | --localstatedir | --localstatedi | --localstated \ 993 | --localstate | --localstat | --localsta | --localst | --locals) 994 ac_prev=localstatedir ;; 995 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 996 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 997 localstatedir=$ac_optarg ;; 998 999 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1000 ac_prev=mandir ;; 1001 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1002 mandir=$ac_optarg ;; 1003 1004 -nfp | --nfp | --nf) 1005 # Obsolete; use --without-fp. 1006 with_fp=no ;; 1007 1008 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1009 | --no-cr | --no-c | -n) 1010 no_create=yes ;; 1011 1012 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1013 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1014 no_recursion=yes ;; 1015 1016 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1017 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1018 | --oldin | --oldi | --old | --ol | --o) 1019 ac_prev=oldincludedir ;; 1020 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1021 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1022 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1023 oldincludedir=$ac_optarg ;; 1024 1025 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1026 ac_prev=prefix ;; 1027 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1028 prefix=$ac_optarg ;; 1029 1030 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1031 | --program-pre | --program-pr | --program-p) 1032 ac_prev=program_prefix ;; 1033 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1034 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1035 program_prefix=$ac_optarg ;; 1036 1037 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1038 | --program-suf | --program-su | --program-s) 1039 ac_prev=program_suffix ;; 1040 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1041 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1042 program_suffix=$ac_optarg ;; 1043 1044 -program-transform-name | --program-transform-name \ 1045 | --program-transform-nam | --program-transform-na \ 1046 | --program-transform-n | --program-transform- \ 1047 | --program-transform | --program-transfor \ 1048 | --program-transfo | --program-transf \ 1049 | --program-trans | --program-tran \ 1050 | --progr-tra | --program-tr | --program-t) 1051 ac_prev=program_transform_name ;; 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 program_transform_name=$ac_optarg ;; 1060 1061 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1062 ac_prev=pdfdir ;; 1063 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1064 pdfdir=$ac_optarg ;; 1065 1066 -psdir | --psdir | --psdi | --psd | --ps) 1067 ac_prev=psdir ;; 1068 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1069 psdir=$ac_optarg ;; 1070 1071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1072 | -silent | --silent | --silen | --sile | --sil) 1073 silent=yes ;; 1074 1075 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1076 | --runstate | --runstat | --runsta | --runst | --runs \ 1077 | --run | --ru | --r) 1078 ac_prev=runstatedir ;; 1079 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1080 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1081 | --run=* | --ru=* | --r=*) 1082 runstatedir=$ac_optarg ;; 1083 1084 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1085 ac_prev=sbindir ;; 1086 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1087 | --sbi=* | --sb=*) 1088 sbindir=$ac_optarg ;; 1089 1090 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1091 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1092 | --sharedst | --shareds | --shared | --share | --shar \ 1093 | --sha | --sh) 1094 ac_prev=sharedstatedir ;; 1095 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1096 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1097 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1098 | --sha=* | --sh=*) 1099 sharedstatedir=$ac_optarg ;; 1100 1101 -site | --site | --sit) 1102 ac_prev=site ;; 1103 -site=* | --site=* | --sit=*) 1104 site=$ac_optarg ;; 1105 1106 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1107 ac_prev=srcdir ;; 1108 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1109 srcdir=$ac_optarg ;; 1110 1111 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1112 | --syscon | --sysco | --sysc | --sys | --sy) 1113 ac_prev=sysconfdir ;; 1114 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1115 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1116 sysconfdir=$ac_optarg ;; 1117 1118 -target | --target | --targe | --targ | --tar | --ta | --t) 1119 ac_prev=target_alias ;; 1120 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1121 target_alias=$ac_optarg ;; 1122 1123 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1124 verbose=yes ;; 1125 1126 -version | --version | --versio | --versi | --vers | -V) 1127 ac_init_version=: ;; 1128 1129 -with-* | --with-*) 1130 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1131 # Reject names that are not valid shell variable names. 1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1133 as_fn_error $? "invalid package name: $ac_useropt" 1134 ac_useropt_orig=$ac_useropt 1135 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1136 case $ac_user_opts in 1137 *" 1138"with_$ac_useropt" 1139"*) ;; 1140 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1141 ac_unrecognized_sep=', ';; 1142 esac 1143 eval with_$ac_useropt=\$ac_optarg ;; 1144 1145 -without-* | --without-*) 1146 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1147 # Reject names that are not valid shell variable names. 1148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1149 as_fn_error $? "invalid package name: $ac_useropt" 1150 ac_useropt_orig=$ac_useropt 1151 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1152 case $ac_user_opts in 1153 *" 1154"with_$ac_useropt" 1155"*) ;; 1156 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1157 ac_unrecognized_sep=', ';; 1158 esac 1159 eval with_$ac_useropt=no ;; 1160 1161 --x) 1162 # Obsolete; use --with-x. 1163 with_x=yes ;; 1164 1165 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1166 | --x-incl | --x-inc | --x-in | --x-i) 1167 ac_prev=x_includes ;; 1168 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1169 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1170 x_includes=$ac_optarg ;; 1171 1172 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1173 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1174 ac_prev=x_libraries ;; 1175 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1176 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1177 x_libraries=$ac_optarg ;; 1178 1179 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1180Try \`$0 --help' for more information" 1181 ;; 1182 1183 *=*) 1184 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1185 # Reject names that are not valid shell variable names. 1186 case $ac_envvar in #( 1187 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1188 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1189 esac 1190 eval $ac_envvar=\$ac_optarg 1191 export $ac_envvar ;; 1192 1193 *) 1194 # FIXME: should be removed in autoconf 3.0. 1195 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1196 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1197 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1198 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1199 ;; 1200 1201 esac 1202done 1203 1204if test -n "$ac_prev"; then 1205 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1206 as_fn_error $? "missing argument to $ac_option" 1207fi 1208 1209if test -n "$ac_unrecognized_opts"; then 1210 case $enable_option_checking in 1211 no) ;; 1212 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1213 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1214 esac 1215fi 1216 1217# Check all directory arguments for consistency. 1218for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1219 datadir sysconfdir sharedstatedir localstatedir includedir \ 1220 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1221 libdir localedir mandir runstatedir 1222do 1223 eval ac_val=\$$ac_var 1224 # Remove trailing slashes. 1225 case $ac_val in 1226 */ ) 1227 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1228 eval $ac_var=\$ac_val;; 1229 esac 1230 # Be sure to have absolute directory names. 1231 case $ac_val in 1232 [\\/$]* | ?:[\\/]* ) continue;; 1233 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1234 esac 1235 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1236done 1237 1238# There might be people who depend on the old broken behavior: `$host' 1239# used to hold the argument of --host etc. 1240# FIXME: To remove some day. 1241build=$build_alias 1242host=$host_alias 1243target=$target_alias 1244 1245# FIXME: To remove some day. 1246if test "x$host_alias" != x; then 1247 if test "x$build_alias" = x; then 1248 cross_compiling=maybe 1249 elif test "x$build_alias" != "x$host_alias"; then 1250 cross_compiling=yes 1251 fi 1252fi 1253 1254ac_tool_prefix= 1255test -n "$host_alias" && ac_tool_prefix=$host_alias- 1256 1257test "$silent" = yes && exec 6>/dev/null 1258 1259 1260ac_pwd=`pwd` && test -n "$ac_pwd" && 1261ac_ls_di=`ls -di .` && 1262ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1263 as_fn_error $? "working directory cannot be determined" 1264test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1265 as_fn_error $? "pwd does not report name of working directory" 1266 1267 1268# Find the source files, if location was not specified. 1269if test -z "$srcdir"; then 1270 ac_srcdir_defaulted=yes 1271 # Try the directory containing this script, then the parent directory. 1272 ac_confdir=`$as_dirname -- "$as_myself" || 1273$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1274 X"$as_myself" : 'X\(//\)[^/]' \| \ 1275 X"$as_myself" : 'X\(//\)$' \| \ 1276 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1277$as_echo X"$as_myself" | 1278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1279 s//\1/ 1280 q 1281 } 1282 /^X\(\/\/\)[^/].*/{ 1283 s//\1/ 1284 q 1285 } 1286 /^X\(\/\/\)$/{ 1287 s//\1/ 1288 q 1289 } 1290 /^X\(\/\).*/{ 1291 s//\1/ 1292 q 1293 } 1294 s/.*/./; q'` 1295 srcdir=$ac_confdir 1296 if test ! -r "$srcdir/$ac_unique_file"; then 1297 srcdir=.. 1298 fi 1299else 1300 ac_srcdir_defaulted=no 1301fi 1302if test ! -r "$srcdir/$ac_unique_file"; then 1303 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1304 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1305fi 1306ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1307ac_abs_confdir=`( 1308 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1309 pwd)` 1310# When building in place, set srcdir=. 1311if test "$ac_abs_confdir" = "$ac_pwd"; then 1312 srcdir=. 1313fi 1314# Remove unnecessary trailing slashes from srcdir. 1315# Double slashes in file names in object file debugging info 1316# mess up M-x gdb in Emacs. 1317case $srcdir in 1318*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1319esac 1320for ac_var in $ac_precious_vars; do 1321 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1322 eval ac_env_${ac_var}_value=\$${ac_var} 1323 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1324 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1325done 1326 1327# 1328# Report the --help message. 1329# 1330if test "$ac_init_help" = "long"; then 1331 # Omit some internal or obsolete options to make the list less imposing. 1332 # This message is too long to be a string in the A/UX 3.1 sh. 1333 cat <<_ACEOF 1334\`configure' configures makedat 0.60 to adapt to many kinds of systems. 1335 1336Usage: $0 [OPTION]... [VAR=VALUE]... 1337 1338To assign environment variables (e.g., CC, CFLAGS...), specify them as 1339VAR=VALUE. See below for descriptions of some of the useful variables. 1340 1341Defaults for the options are specified in brackets. 1342 1343Configuration: 1344 -h, --help display this help and exit 1345 --help=short display options specific to this package 1346 --help=recursive display the short help of all the included packages 1347 -V, --version display version information and exit 1348 -q, --quiet, --silent do not print \`checking ...' messages 1349 --cache-file=FILE cache test results in FILE [disabled] 1350 -C, --config-cache alias for \`--cache-file=config.cache' 1351 -n, --no-create do not create output files 1352 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1353 1354Installation directories: 1355 --prefix=PREFIX install architecture-independent files in PREFIX 1356 [$ac_default_prefix] 1357 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1358 [PREFIX] 1359 1360By default, \`make install' will install all the files in 1361\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1362an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1363for instance \`--prefix=\$HOME'. 1364 1365For better control, use the options below. 1366 1367Fine tuning of the installation directories: 1368 --bindir=DIR user executables [EPREFIX/bin] 1369 --sbindir=DIR system admin executables [EPREFIX/sbin] 1370 --libexecdir=DIR program executables [EPREFIX/libexec] 1371 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1372 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1373 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1374 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1375 --libdir=DIR object code libraries [EPREFIX/lib] 1376 --includedir=DIR C header files [PREFIX/include] 1377 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1378 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1379 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1380 --infodir=DIR info documentation [DATAROOTDIR/info] 1381 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1382 --mandir=DIR man documentation [DATAROOTDIR/man] 1383 --docdir=DIR documentation root [DATAROOTDIR/doc/makedat] 1384 --htmldir=DIR html documentation [DOCDIR] 1385 --dvidir=DIR dvi documentation [DOCDIR] 1386 --pdfdir=DIR pdf documentation [DOCDIR] 1387 --psdir=DIR ps documentation [DOCDIR] 1388_ACEOF 1389 1390 cat <<\_ACEOF 1391 1392Program names: 1393 --program-prefix=PREFIX prepend PREFIX to installed program names 1394 --program-suffix=SUFFIX append SUFFIX to installed program names 1395 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1396 1397System types: 1398 --build=BUILD configure for building on BUILD [guessed] 1399 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1400_ACEOF 1401fi 1402 1403if test -n "$ac_init_help"; then 1404 case $ac_init_help in 1405 short | recursive ) echo "Configuration of makedat 0.60:";; 1406 esac 1407 cat <<\_ACEOF 1408 1409Optional Features: 1410 --disable-option-checking ignore unrecognized --enable/--with options 1411 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1412 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1413 --enable-silent-rules less verbose build output (undo: "make V=1") 1414 --disable-silent-rules verbose build output (undo: "make V=0") 1415 --enable-dependency-tracking 1416 do not reject slow dependency extractors 1417 --disable-dependency-tracking 1418 speeds up one-time build 1419 --enable-shared[=PKGS] build shared libraries [default=yes] 1420 --enable-static[=PKGS] build static libraries [default=yes] 1421 --enable-fast-install[=PKGS] 1422 optimize for fast installation [default=yes] 1423 --disable-libtool-lock avoid locking (might break parallel builds) 1424 --disable-largefile omit support for large files 1425 1426Optional Packages: 1427 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1428 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1429 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1430 both] 1431 --with-aix-soname=aix|svr4|both 1432 shared library versioning (aka "SONAME") variant to 1433 provide on AIX, [default=aix]. 1434 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1435 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1436 compiler's sysroot if not specified). 1437 --with-makedatprog=filename Installed location and name of makedatprog 1438 1439Some influential environment variables: 1440 CC C compiler command 1441 CFLAGS C compiler flags 1442 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1443 nonstandard directory <lib dir> 1444 LIBS libraries to pass to the linker, e.g. -l<library> 1445 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1446 you have headers in a nonstandard directory <include dir> 1447 LT_SYS_LIBRARY_PATH 1448 User-defined run-time library search path. 1449 CPP C preprocessor 1450 1451Use these variables to override the choices made by `configure' or to help 1452it to find libraries and programs with nonstandard names/locations. 1453 1454Report bugs to <courier-users@lists.sourceforge.net>. 1455_ACEOF 1456ac_status=$? 1457fi 1458 1459if test "$ac_init_help" = "recursive"; then 1460 # If there are subdirs, report their specific --help. 1461 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1462 test -d "$ac_dir" || 1463 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1464 continue 1465 ac_builddir=. 1466 1467case "$ac_dir" in 1468.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1469*) 1470 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1471 # A ".." for each directory in $ac_dir_suffix. 1472 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1473 case $ac_top_builddir_sub in 1474 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1475 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1476 esac ;; 1477esac 1478ac_abs_top_builddir=$ac_pwd 1479ac_abs_builddir=$ac_pwd$ac_dir_suffix 1480# for backward compatibility: 1481ac_top_builddir=$ac_top_build_prefix 1482 1483case $srcdir in 1484 .) # We are building in place. 1485 ac_srcdir=. 1486 ac_top_srcdir=$ac_top_builddir_sub 1487 ac_abs_top_srcdir=$ac_pwd ;; 1488 [\\/]* | ?:[\\/]* ) # Absolute name. 1489 ac_srcdir=$srcdir$ac_dir_suffix; 1490 ac_top_srcdir=$srcdir 1491 ac_abs_top_srcdir=$srcdir ;; 1492 *) # Relative name. 1493 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1494 ac_top_srcdir=$ac_top_build_prefix$srcdir 1495 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1496esac 1497ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1498 1499 cd "$ac_dir" || { ac_status=$?; continue; } 1500 # Check for guested configure. 1501 if test -f "$ac_srcdir/configure.gnu"; then 1502 echo && 1503 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1504 elif test -f "$ac_srcdir/configure"; then 1505 echo && 1506 $SHELL "$ac_srcdir/configure" --help=recursive 1507 else 1508 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1509 fi || ac_status=$? 1510 cd "$ac_pwd" || { ac_status=$?; break; } 1511 done 1512fi 1513 1514test -n "$ac_init_help" && exit $ac_status 1515if $ac_init_version; then 1516 cat <<\_ACEOF 1517makedat configure 0.60 1518generated by GNU Autoconf 2.69 1519 1520Copyright (C) 2012 Free Software Foundation, Inc. 1521This configure script is free software; the Free Software Foundation 1522gives unlimited permission to copy, distribute and modify it. 1523_ACEOF 1524 exit 1525fi 1526 1527## ------------------------ ## 1528## Autoconf initialization. ## 1529## ------------------------ ## 1530 1531# ac_fn_c_try_compile LINENO 1532# -------------------------- 1533# Try to compile conftest.$ac_ext, and return whether this succeeded. 1534ac_fn_c_try_compile () 1535{ 1536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1537 rm -f conftest.$ac_objext 1538 if { { ac_try="$ac_compile" 1539case "(($ac_try" in 1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1541 *) ac_try_echo=$ac_try;; 1542esac 1543eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1544$as_echo "$ac_try_echo"; } >&5 1545 (eval "$ac_compile") 2>conftest.err 1546 ac_status=$? 1547 if test -s conftest.err; then 1548 grep -v '^ *+' conftest.err >conftest.er1 1549 cat conftest.er1 >&5 1550 mv -f conftest.er1 conftest.err 1551 fi 1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1553 test $ac_status = 0; } && { 1554 test -z "$ac_c_werror_flag" || 1555 test ! -s conftest.err 1556 } && test -s conftest.$ac_objext; then : 1557 ac_retval=0 1558else 1559 $as_echo "$as_me: failed program was:" >&5 1560sed 's/^/| /' conftest.$ac_ext >&5 1561 1562 ac_retval=1 1563fi 1564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1565 as_fn_set_status $ac_retval 1566 1567} # ac_fn_c_try_compile 1568 1569# ac_fn_c_try_link LINENO 1570# ----------------------- 1571# Try to link conftest.$ac_ext, and return whether this succeeded. 1572ac_fn_c_try_link () 1573{ 1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1575 rm -f conftest.$ac_objext conftest$ac_exeext 1576 if { { ac_try="$ac_link" 1577case "(($ac_try" in 1578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1579 *) ac_try_echo=$ac_try;; 1580esac 1581eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1582$as_echo "$ac_try_echo"; } >&5 1583 (eval "$ac_link") 2>conftest.err 1584 ac_status=$? 1585 if test -s conftest.err; then 1586 grep -v '^ *+' conftest.err >conftest.er1 1587 cat conftest.er1 >&5 1588 mv -f conftest.er1 conftest.err 1589 fi 1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1591 test $ac_status = 0; } && { 1592 test -z "$ac_c_werror_flag" || 1593 test ! -s conftest.err 1594 } && test -s conftest$ac_exeext && { 1595 test "$cross_compiling" = yes || 1596 test -x conftest$ac_exeext 1597 }; then : 1598 ac_retval=0 1599else 1600 $as_echo "$as_me: failed program was:" >&5 1601sed 's/^/| /' conftest.$ac_ext >&5 1602 1603 ac_retval=1 1604fi 1605 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1606 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1607 # interfere with the next link command; also delete a directory that is 1608 # left behind by Apple's compiler. We do this before executing the actions. 1609 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1611 as_fn_set_status $ac_retval 1612 1613} # ac_fn_c_try_link 1614 1615# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1616# ------------------------------------------------------- 1617# Tests whether HEADER exists and can be compiled using the include files in 1618# INCLUDES, setting the cache variable VAR accordingly. 1619ac_fn_c_check_header_compile () 1620{ 1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1623$as_echo_n "checking for $2... " >&6; } 1624if eval \${$3+:} false; then : 1625 $as_echo_n "(cached) " >&6 1626else 1627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1628/* end confdefs.h. */ 1629$4 1630#include <$2> 1631_ACEOF 1632if ac_fn_c_try_compile "$LINENO"; then : 1633 eval "$3=yes" 1634else 1635 eval "$3=no" 1636fi 1637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1638fi 1639eval ac_res=\$$3 1640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1641$as_echo "$ac_res" >&6; } 1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1643 1644} # ac_fn_c_check_header_compile 1645 1646# ac_fn_c_try_cpp LINENO 1647# ---------------------- 1648# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1649ac_fn_c_try_cpp () 1650{ 1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1652 if { { ac_try="$ac_cpp conftest.$ac_ext" 1653case "(($ac_try" in 1654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1655 *) ac_try_echo=$ac_try;; 1656esac 1657eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1658$as_echo "$ac_try_echo"; } >&5 1659 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1660 ac_status=$? 1661 if test -s conftest.err; then 1662 grep -v '^ *+' conftest.err >conftest.er1 1663 cat conftest.er1 >&5 1664 mv -f conftest.er1 conftest.err 1665 fi 1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1667 test $ac_status = 0; } > conftest.i && { 1668 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1669 test ! -s conftest.err 1670 }; then : 1671 ac_retval=0 1672else 1673 $as_echo "$as_me: failed program was:" >&5 1674sed 's/^/| /' conftest.$ac_ext >&5 1675 1676 ac_retval=1 1677fi 1678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1679 as_fn_set_status $ac_retval 1680 1681} # ac_fn_c_try_cpp 1682 1683# ac_fn_c_try_run LINENO 1684# ---------------------- 1685# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1686# that executables *can* be run. 1687ac_fn_c_try_run () 1688{ 1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1690 if { { ac_try="$ac_link" 1691case "(($ac_try" in 1692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1693 *) ac_try_echo=$ac_try;; 1694esac 1695eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1696$as_echo "$ac_try_echo"; } >&5 1697 (eval "$ac_link") 2>&5 1698 ac_status=$? 1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1700 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1701 { { case "(($ac_try" in 1702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1703 *) ac_try_echo=$ac_try;; 1704esac 1705eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1706$as_echo "$ac_try_echo"; } >&5 1707 (eval "$ac_try") 2>&5 1708 ac_status=$? 1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1710 test $ac_status = 0; }; }; then : 1711 ac_retval=0 1712else 1713 $as_echo "$as_me: program exited with status $ac_status" >&5 1714 $as_echo "$as_me: failed program was:" >&5 1715sed 's/^/| /' conftest.$ac_ext >&5 1716 1717 ac_retval=$ac_status 1718fi 1719 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1721 as_fn_set_status $ac_retval 1722 1723} # ac_fn_c_try_run 1724 1725# ac_fn_c_check_func LINENO FUNC VAR 1726# ---------------------------------- 1727# Tests whether FUNC exists, setting the cache variable VAR accordingly 1728ac_fn_c_check_func () 1729{ 1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1732$as_echo_n "checking for $2... " >&6; } 1733if eval \${$3+:} false; then : 1734 $as_echo_n "(cached) " >&6 1735else 1736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1737/* end confdefs.h. */ 1738/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1739 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1740#define $2 innocuous_$2 1741 1742/* System header to define __stub macros and hopefully few prototypes, 1743 which can conflict with char $2 (); below. 1744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1745 <limits.h> exists even on freestanding compilers. */ 1746 1747#ifdef __STDC__ 1748# include <limits.h> 1749#else 1750# include <assert.h> 1751#endif 1752 1753#undef $2 1754 1755/* Override any GCC internal prototype to avoid an error. 1756 Use char because int might match the return type of a GCC 1757 builtin and then its argument prototype would still apply. */ 1758#ifdef __cplusplus 1759extern "C" 1760#endif 1761char $2 (); 1762/* The GNU C library defines this for functions which it implements 1763 to always fail with ENOSYS. Some functions are actually named 1764 something starting with __ and the normal name is an alias. */ 1765#if defined __stub_$2 || defined __stub___$2 1766choke me 1767#endif 1768 1769int 1770main () 1771{ 1772return $2 (); 1773 ; 1774 return 0; 1775} 1776_ACEOF 1777if ac_fn_c_try_link "$LINENO"; then : 1778 eval "$3=yes" 1779else 1780 eval "$3=no" 1781fi 1782rm -f core conftest.err conftest.$ac_objext \ 1783 conftest$ac_exeext conftest.$ac_ext 1784fi 1785eval ac_res=\$$3 1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1787$as_echo "$ac_res" >&6; } 1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1789 1790} # ac_fn_c_check_func 1791 1792# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1793# ------------------------------------------------------- 1794# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1795# the include files in INCLUDES and setting the cache variable VAR 1796# accordingly. 1797ac_fn_c_check_header_mongrel () 1798{ 1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1800 if eval \${$3+:} false; then : 1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1802$as_echo_n "checking for $2... " >&6; } 1803if eval \${$3+:} false; then : 1804 $as_echo_n "(cached) " >&6 1805fi 1806eval ac_res=\$$3 1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1808$as_echo "$ac_res" >&6; } 1809else 1810 # Is the header compilable? 1811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1812$as_echo_n "checking $2 usability... " >&6; } 1813cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1814/* end confdefs.h. */ 1815$4 1816#include <$2> 1817_ACEOF 1818if ac_fn_c_try_compile "$LINENO"; then : 1819 ac_header_compiler=yes 1820else 1821 ac_header_compiler=no 1822fi 1823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1825$as_echo "$ac_header_compiler" >&6; } 1826 1827# Is the header present? 1828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1829$as_echo_n "checking $2 presence... " >&6; } 1830cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1831/* end confdefs.h. */ 1832#include <$2> 1833_ACEOF 1834if ac_fn_c_try_cpp "$LINENO"; then : 1835 ac_header_preproc=yes 1836else 1837 ac_header_preproc=no 1838fi 1839rm -f conftest.err conftest.i conftest.$ac_ext 1840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1841$as_echo "$ac_header_preproc" >&6; } 1842 1843# So? What about this header? 1844case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1845 yes:no: ) 1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1847$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1849$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1850 ;; 1851 no:yes:* ) 1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1853$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1855$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1857$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1859$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1861$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1862( $as_echo "## -------------------------------------------------- ## 1863## Report this to courier-users@lists.sourceforge.net ## 1864## -------------------------------------------------- ##" 1865 ) | sed "s/^/$as_me: WARNING: /" >&2 1866 ;; 1867esac 1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1869$as_echo_n "checking for $2... " >&6; } 1870if eval \${$3+:} false; then : 1871 $as_echo_n "(cached) " >&6 1872else 1873 eval "$3=\$ac_header_compiler" 1874fi 1875eval ac_res=\$$3 1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1877$as_echo "$ac_res" >&6; } 1878fi 1879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1880 1881} # ac_fn_c_check_header_mongrel 1882cat >config.log <<_ACEOF 1883This file contains any messages produced by compilers while 1884running configure, to aid debugging if configure makes a mistake. 1885 1886It was created by makedat $as_me 0.60, which was 1887generated by GNU Autoconf 2.69. Invocation command line was 1888 1889 $ $0 $@ 1890 1891_ACEOF 1892exec 5>>config.log 1893{ 1894cat <<_ASUNAME 1895## --------- ## 1896## Platform. ## 1897## --------- ## 1898 1899hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1900uname -m = `(uname -m) 2>/dev/null || echo unknown` 1901uname -r = `(uname -r) 2>/dev/null || echo unknown` 1902uname -s = `(uname -s) 2>/dev/null || echo unknown` 1903uname -v = `(uname -v) 2>/dev/null || echo unknown` 1904 1905/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1906/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1907 1908/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1909/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1910/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1911/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1912/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1913/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1914/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1915 1916_ASUNAME 1917 1918as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1919for as_dir in $PATH 1920do 1921 IFS=$as_save_IFS 1922 test -z "$as_dir" && as_dir=. 1923 $as_echo "PATH: $as_dir" 1924 done 1925IFS=$as_save_IFS 1926 1927} >&5 1928 1929cat >&5 <<_ACEOF 1930 1931 1932## ----------- ## 1933## Core tests. ## 1934## ----------- ## 1935 1936_ACEOF 1937 1938 1939# Keep a trace of the command line. 1940# Strip out --no-create and --no-recursion so they do not pile up. 1941# Strip out --silent because we don't want to record it for future runs. 1942# Also quote any args containing shell meta-characters. 1943# Make two passes to allow for proper duplicate-argument suppression. 1944ac_configure_args= 1945ac_configure_args0= 1946ac_configure_args1= 1947ac_must_keep_next=false 1948for ac_pass in 1 2 1949do 1950 for ac_arg 1951 do 1952 case $ac_arg in 1953 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1954 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1955 | -silent | --silent | --silen | --sile | --sil) 1956 continue ;; 1957 *\'*) 1958 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1959 esac 1960 case $ac_pass in 1961 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1962 2) 1963 as_fn_append ac_configure_args1 " '$ac_arg'" 1964 if test $ac_must_keep_next = true; then 1965 ac_must_keep_next=false # Got value, back to normal. 1966 else 1967 case $ac_arg in 1968 *=* | --config-cache | -C | -disable-* | --disable-* \ 1969 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1970 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1971 | -with-* | --with-* | -without-* | --without-* | --x) 1972 case "$ac_configure_args0 " in 1973 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1974 esac 1975 ;; 1976 -* ) ac_must_keep_next=true ;; 1977 esac 1978 fi 1979 as_fn_append ac_configure_args " '$ac_arg'" 1980 ;; 1981 esac 1982 done 1983done 1984{ ac_configure_args0=; unset ac_configure_args0;} 1985{ ac_configure_args1=; unset ac_configure_args1;} 1986 1987# When interrupted or exit'd, cleanup temporary files, and complete 1988# config.log. We remove comments because anyway the quotes in there 1989# would cause problems or look ugly. 1990# WARNING: Use '\'' to represent an apostrophe within the trap. 1991# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1992trap 'exit_status=$? 1993 # Save into config.log some information that might help in debugging. 1994 { 1995 echo 1996 1997 $as_echo "## ---------------- ## 1998## Cache variables. ## 1999## ---------------- ##" 2000 echo 2001 # The following way of writing the cache mishandles newlines in values, 2002( 2003 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2004 eval ac_val=\$$ac_var 2005 case $ac_val in #( 2006 *${as_nl}*) 2007 case $ac_var in #( 2008 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2009$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2010 esac 2011 case $ac_var in #( 2012 _ | IFS | as_nl) ;; #( 2013 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2014 *) { eval $ac_var=; unset $ac_var;} ;; 2015 esac ;; 2016 esac 2017 done 2018 (set) 2>&1 | 2019 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2020 *${as_nl}ac_space=\ *) 2021 sed -n \ 2022 "s/'\''/'\''\\\\'\'''\''/g; 2023 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2024 ;; #( 2025 *) 2026 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2027 ;; 2028 esac | 2029 sort 2030) 2031 echo 2032 2033 $as_echo "## ----------------- ## 2034## Output variables. ## 2035## ----------------- ##" 2036 echo 2037 for ac_var in $ac_subst_vars 2038 do 2039 eval ac_val=\$$ac_var 2040 case $ac_val in 2041 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2042 esac 2043 $as_echo "$ac_var='\''$ac_val'\''" 2044 done | sort 2045 echo 2046 2047 if test -n "$ac_subst_files"; then 2048 $as_echo "## ------------------- ## 2049## File substitutions. ## 2050## ------------------- ##" 2051 echo 2052 for ac_var in $ac_subst_files 2053 do 2054 eval ac_val=\$$ac_var 2055 case $ac_val in 2056 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2057 esac 2058 $as_echo "$ac_var='\''$ac_val'\''" 2059 done | sort 2060 echo 2061 fi 2062 2063 if test -s confdefs.h; then 2064 $as_echo "## ----------- ## 2065## confdefs.h. ## 2066## ----------- ##" 2067 echo 2068 cat confdefs.h 2069 echo 2070 fi 2071 test "$ac_signal" != 0 && 2072 $as_echo "$as_me: caught signal $ac_signal" 2073 $as_echo "$as_me: exit $exit_status" 2074 } >&5 2075 rm -f core *.core core.conftest.* && 2076 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2077 exit $exit_status 2078' 0 2079for ac_signal in 1 2 13 15; do 2080 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2081done 2082ac_signal=0 2083 2084# confdefs.h avoids OS command line length limits that DEFS can exceed. 2085rm -f -r conftest* confdefs.h 2086 2087$as_echo "/* confdefs.h */" > confdefs.h 2088 2089# Predefined preprocessor variables. 2090 2091cat >>confdefs.h <<_ACEOF 2092#define PACKAGE_NAME "$PACKAGE_NAME" 2093_ACEOF 2094 2095cat >>confdefs.h <<_ACEOF 2096#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2097_ACEOF 2098 2099cat >>confdefs.h <<_ACEOF 2100#define PACKAGE_VERSION "$PACKAGE_VERSION" 2101_ACEOF 2102 2103cat >>confdefs.h <<_ACEOF 2104#define PACKAGE_STRING "$PACKAGE_STRING" 2105_ACEOF 2106 2107cat >>confdefs.h <<_ACEOF 2108#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2109_ACEOF 2110 2111cat >>confdefs.h <<_ACEOF 2112#define PACKAGE_URL "$PACKAGE_URL" 2113_ACEOF 2114 2115 2116# Let the site file select an alternate cache file if it wants to. 2117# Prefer an explicitly selected file to automatically selected ones. 2118ac_site_file1=NONE 2119ac_site_file2=NONE 2120if test -n "$CONFIG_SITE"; then 2121 # We do not want a PATH search for config.site. 2122 case $CONFIG_SITE in #(( 2123 -*) ac_site_file1=./$CONFIG_SITE;; 2124 */*) ac_site_file1=$CONFIG_SITE;; 2125 *) ac_site_file1=./$CONFIG_SITE;; 2126 esac 2127elif test "x$prefix" != xNONE; then 2128 ac_site_file1=$prefix/share/config.site 2129 ac_site_file2=$prefix/etc/config.site 2130else 2131 ac_site_file1=$ac_default_prefix/share/config.site 2132 ac_site_file2=$ac_default_prefix/etc/config.site 2133fi 2134for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2135do 2136 test "x$ac_site_file" = xNONE && continue 2137 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2138 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2139$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2140 sed 's/^/| /' "$ac_site_file" >&5 2141 . "$ac_site_file" \ 2142 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2143$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2144as_fn_error $? "failed to load site script $ac_site_file 2145See \`config.log' for more details" "$LINENO" 5; } 2146 fi 2147done 2148 2149if test -r "$cache_file"; then 2150 # Some versions of bash will fail to source /dev/null (special files 2151 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2152 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2153 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2154$as_echo "$as_me: loading cache $cache_file" >&6;} 2155 case $cache_file in 2156 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2157 *) . "./$cache_file";; 2158 esac 2159 fi 2160else 2161 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2162$as_echo "$as_me: creating cache $cache_file" >&6;} 2163 >$cache_file 2164fi 2165 2166# Check that the precious variables saved in the cache have kept the same 2167# value. 2168ac_cache_corrupted=false 2169for ac_var in $ac_precious_vars; do 2170 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2171 eval ac_new_set=\$ac_env_${ac_var}_set 2172 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2173 eval ac_new_val=\$ac_env_${ac_var}_value 2174 case $ac_old_set,$ac_new_set in 2175 set,) 2176 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2177$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2178 ac_cache_corrupted=: ;; 2179 ,set) 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2181$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2182 ac_cache_corrupted=: ;; 2183 ,);; 2184 *) 2185 if test "x$ac_old_val" != "x$ac_new_val"; then 2186 # differences in whitespace do not lead to failure. 2187 ac_old_val_w=`echo x $ac_old_val` 2188 ac_new_val_w=`echo x $ac_new_val` 2189 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2190 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2191$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2192 ac_cache_corrupted=: 2193 else 2194 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2195$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2196 eval $ac_var=\$ac_old_val 2197 fi 2198 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2199$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2200 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2201$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2202 fi;; 2203 esac 2204 # Pass precious variables to config.status. 2205 if test "$ac_new_set" = set; then 2206 case $ac_new_val in 2207 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2208 *) ac_arg=$ac_var=$ac_new_val ;; 2209 esac 2210 case " $ac_configure_args " in 2211 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2212 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2213 esac 2214 fi 2215done 2216if $ac_cache_corrupted; then 2217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2218$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2219 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2220$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2221 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2222fi 2223## -------------------- ## 2224## Main body of script. ## 2225## -------------------- ## 2226 2227ac_ext=c 2228ac_cpp='$CPP $CPPFLAGS' 2229ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2230ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2231ac_compiler_gnu=$ac_cv_c_compiler_gnu 2232 2233 2234 2235>confdefs.h # Kill PACKAGE_ macros 2236 2237 2238ac_aux_dir= 2239for ac_dir in ../.. "$srcdir"/../..; do 2240 if test -f "$ac_dir/install-sh"; then 2241 ac_aux_dir=$ac_dir 2242 ac_install_sh="$ac_aux_dir/install-sh -c" 2243 break 2244 elif test -f "$ac_dir/install.sh"; then 2245 ac_aux_dir=$ac_dir 2246 ac_install_sh="$ac_aux_dir/install.sh -c" 2247 break 2248 elif test -f "$ac_dir/shtool"; then 2249 ac_aux_dir=$ac_dir 2250 ac_install_sh="$ac_aux_dir/shtool install -c" 2251 break 2252 fi 2253done 2254if test -z "$ac_aux_dir"; then 2255 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5 2256fi 2257 2258# These three variables are undocumented and unsupported, 2259# and are intended to be withdrawn in a future Autoconf release. 2260# They can cause serious problems if a builder's source tree is in a directory 2261# whose full name contains unusual characters. 2262ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2263ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2264ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2265 2266 2267am__api_version='1.16' 2268 2269# Find a good install program. We prefer a C program (faster), 2270# so one script is as good as another. But avoid the broken or 2271# incompatible versions: 2272# SysV /etc/install, /usr/sbin/install 2273# SunOS /usr/etc/install 2274# IRIX /sbin/install 2275# AIX /bin/install 2276# AmigaOS /C/install, which installs bootblocks on floppy discs 2277# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2278# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2279# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2280# OS/2's system install, which has a completely different semantic 2281# ./install, which can be erroneously created by make from ./install.sh. 2282# Reject install programs that cannot install multiple files. 2283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2284$as_echo_n "checking for a BSD-compatible install... " >&6; } 2285if test -z "$INSTALL"; then 2286if ${ac_cv_path_install+:} false; then : 2287 $as_echo_n "(cached) " >&6 2288else 2289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2290for as_dir in $PATH 2291do 2292 IFS=$as_save_IFS 2293 test -z "$as_dir" && as_dir=. 2294 # Account for people who put trailing slashes in PATH elements. 2295case $as_dir/ in #(( 2296 ./ | .// | /[cC]/* | \ 2297 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2298 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2299 /usr/ucb/* ) ;; 2300 *) 2301 # OSF1 and SCO ODT 3.0 have their own names for install. 2302 # Don't use installbsd from OSF since it installs stuff as root 2303 # by default. 2304 for ac_prog in ginstall scoinst install; do 2305 for ac_exec_ext in '' $ac_executable_extensions; do 2306 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2307 if test $ac_prog = install && 2308 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2309 # AIX install. It has an incompatible calling convention. 2310 : 2311 elif test $ac_prog = install && 2312 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2313 # program-specific install script used by HP pwplus--don't use. 2314 : 2315 else 2316 rm -rf conftest.one conftest.two conftest.dir 2317 echo one > conftest.one 2318 echo two > conftest.two 2319 mkdir conftest.dir 2320 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2321 test -s conftest.one && test -s conftest.two && 2322 test -s conftest.dir/conftest.one && 2323 test -s conftest.dir/conftest.two 2324 then 2325 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2326 break 3 2327 fi 2328 fi 2329 fi 2330 done 2331 done 2332 ;; 2333esac 2334 2335 done 2336IFS=$as_save_IFS 2337 2338rm -rf conftest.one conftest.two conftest.dir 2339 2340fi 2341 if test "${ac_cv_path_install+set}" = set; then 2342 INSTALL=$ac_cv_path_install 2343 else 2344 # As a last resort, use the slow shell script. Don't cache a 2345 # value for INSTALL within a source directory, because that will 2346 # break other packages using the cache if that directory is 2347 # removed, or if the value is a relative name. 2348 INSTALL=$ac_install_sh 2349 fi 2350fi 2351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2352$as_echo "$INSTALL" >&6; } 2353 2354# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2355# It thinks the first close brace ends the variable substitution. 2356test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2357 2358test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2359 2360test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2361 2362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2363$as_echo_n "checking whether build environment is sane... " >&6; } 2364# Reject unsafe characters in $srcdir or the absolute working directory 2365# name. Accept space and tab only in the latter. 2366am_lf=' 2367' 2368case `pwd` in 2369 *[\\\"\#\$\&\'\`$am_lf]*) 2370 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2371esac 2372case $srcdir in 2373 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2374 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2375esac 2376 2377# Do 'set' in a subshell so we don't clobber the current shell's 2378# arguments. Must try -L first in case configure is actually a 2379# symlink; some systems play weird games with the mod time of symlinks 2380# (eg FreeBSD returns the mod time of the symlink's containing 2381# directory). 2382if ( 2383 am_has_slept=no 2384 for am_try in 1 2; do 2385 echo "timestamp, slept: $am_has_slept" > conftest.file 2386 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2387 if test "$*" = "X"; then 2388 # -L didn't work. 2389 set X `ls -t "$srcdir/configure" conftest.file` 2390 fi 2391 if test "$*" != "X $srcdir/configure conftest.file" \ 2392 && test "$*" != "X conftest.file $srcdir/configure"; then 2393 2394 # If neither matched, then we have a broken ls. This can happen 2395 # if, for instance, CONFIG_SHELL is bash and it inherits a 2396 # broken ls alias from the environment. This has actually 2397 # happened. Such a system could not be considered "sane". 2398 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2399 alias in your environment" "$LINENO" 5 2400 fi 2401 if test "$2" = conftest.file || test $am_try -eq 2; then 2402 break 2403 fi 2404 # Just in case. 2405 sleep 1 2406 am_has_slept=yes 2407 done 2408 test "$2" = conftest.file 2409 ) 2410then 2411 # Ok. 2412 : 2413else 2414 as_fn_error $? "newly created file is older than distributed files! 2415Check your system clock" "$LINENO" 5 2416fi 2417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2418$as_echo "yes" >&6; } 2419# If we didn't sleep, we still need to ensure time stamps of config.status and 2420# generated files are strictly newer. 2421am_sleep_pid= 2422if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2423 ( sleep 1 ) & 2424 am_sleep_pid=$! 2425fi 2426 2427rm -f conftest.file 2428 2429test "$program_prefix" != NONE && 2430 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2431# Use a double $ so make ignores it. 2432test "$program_suffix" != NONE && 2433 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2434# Double any \ or $. 2435# By default was `s,x,x', remove it if useless. 2436ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2437program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2438 2439# Expand $ac_aux_dir to an absolute path. 2440am_aux_dir=`cd "$ac_aux_dir" && pwd` 2441 2442if test x"${MISSING+set}" != xset; then 2443 case $am_aux_dir in 2444 *\ * | *\ *) 2445 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2446 *) 2447 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2448 esac 2449fi 2450# Use eval to expand $SHELL 2451if eval "$MISSING --is-lightweight"; then 2452 am_missing_run="$MISSING " 2453else 2454 am_missing_run= 2455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2456$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2457fi 2458 2459if test x"${install_sh+set}" != xset; then 2460 case $am_aux_dir in 2461 *\ * | *\ *) 2462 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2463 *) 2464 install_sh="\${SHELL} $am_aux_dir/install-sh" 2465 esac 2466fi 2467 2468# Installed binaries are usually stripped using 'strip' when the user 2469# run "make install-strip". However 'strip' might not be the right 2470# tool to use in cross-compilation environments, therefore Automake 2471# will honor the 'STRIP' environment variable to overrule this program. 2472if test "$cross_compiling" != no; then 2473 if test -n "$ac_tool_prefix"; then 2474 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2475set dummy ${ac_tool_prefix}strip; ac_word=$2 2476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2477$as_echo_n "checking for $ac_word... " >&6; } 2478if ${ac_cv_prog_STRIP+:} false; then : 2479 $as_echo_n "(cached) " >&6 2480else 2481 if test -n "$STRIP"; then 2482 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2483else 2484as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2485for as_dir in $PATH 2486do 2487 IFS=$as_save_IFS 2488 test -z "$as_dir" && as_dir=. 2489 for ac_exec_ext in '' $ac_executable_extensions; do 2490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2491 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2493 break 2 2494 fi 2495done 2496 done 2497IFS=$as_save_IFS 2498 2499fi 2500fi 2501STRIP=$ac_cv_prog_STRIP 2502if test -n "$STRIP"; then 2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2504$as_echo "$STRIP" >&6; } 2505else 2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2507$as_echo "no" >&6; } 2508fi 2509 2510 2511fi 2512if test -z "$ac_cv_prog_STRIP"; then 2513 ac_ct_STRIP=$STRIP 2514 # Extract the first word of "strip", so it can be a program name with args. 2515set dummy strip; ac_word=$2 2516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2517$as_echo_n "checking for $ac_word... " >&6; } 2518if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2519 $as_echo_n "(cached) " >&6 2520else 2521 if test -n "$ac_ct_STRIP"; then 2522 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2523else 2524as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2525for as_dir in $PATH 2526do 2527 IFS=$as_save_IFS 2528 test -z "$as_dir" && as_dir=. 2529 for ac_exec_ext in '' $ac_executable_extensions; do 2530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2531 ac_cv_prog_ac_ct_STRIP="strip" 2532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2533 break 2 2534 fi 2535done 2536 done 2537IFS=$as_save_IFS 2538 2539fi 2540fi 2541ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2542if test -n "$ac_ct_STRIP"; then 2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2544$as_echo "$ac_ct_STRIP" >&6; } 2545else 2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2547$as_echo "no" >&6; } 2548fi 2549 2550 if test "x$ac_ct_STRIP" = x; then 2551 STRIP=":" 2552 else 2553 case $cross_compiling:$ac_tool_warned in 2554yes:) 2555{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2556$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2557ac_tool_warned=yes ;; 2558esac 2559 STRIP=$ac_ct_STRIP 2560 fi 2561else 2562 STRIP="$ac_cv_prog_STRIP" 2563fi 2564 2565fi 2566INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2567 2568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2569$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2570if test -z "$MKDIR_P"; then 2571 if ${ac_cv_path_mkdir+:} false; then : 2572 $as_echo_n "(cached) " >&6 2573else 2574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2575for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2576do 2577 IFS=$as_save_IFS 2578 test -z "$as_dir" && as_dir=. 2579 for ac_prog in mkdir gmkdir; do 2580 for ac_exec_ext in '' $ac_executable_extensions; do 2581 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2582 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2583 'mkdir (GNU coreutils) '* | \ 2584 'mkdir (coreutils) '* | \ 2585 'mkdir (fileutils) '4.1*) 2586 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2587 break 3;; 2588 esac 2589 done 2590 done 2591 done 2592IFS=$as_save_IFS 2593 2594fi 2595 2596 test -d ./--version && rmdir ./--version 2597 if test "${ac_cv_path_mkdir+set}" = set; then 2598 MKDIR_P="$ac_cv_path_mkdir -p" 2599 else 2600 # As a last resort, use the slow shell script. Don't cache a 2601 # value for MKDIR_P within a source directory, because that will 2602 # break other packages using the cache if that directory is 2603 # removed, or if the value is a relative name. 2604 MKDIR_P="$ac_install_sh -d" 2605 fi 2606fi 2607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2608$as_echo "$MKDIR_P" >&6; } 2609 2610for ac_prog in gawk mawk nawk awk 2611do 2612 # Extract the first word of "$ac_prog", so it can be a program name with args. 2613set dummy $ac_prog; ac_word=$2 2614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2615$as_echo_n "checking for $ac_word... " >&6; } 2616if ${ac_cv_prog_AWK+:} false; then : 2617 $as_echo_n "(cached) " >&6 2618else 2619 if test -n "$AWK"; then 2620 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2621else 2622as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2623for as_dir in $PATH 2624do 2625 IFS=$as_save_IFS 2626 test -z "$as_dir" && as_dir=. 2627 for ac_exec_ext in '' $ac_executable_extensions; do 2628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2629 ac_cv_prog_AWK="$ac_prog" 2630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2631 break 2 2632 fi 2633done 2634 done 2635IFS=$as_save_IFS 2636 2637fi 2638fi 2639AWK=$ac_cv_prog_AWK 2640if test -n "$AWK"; then 2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2642$as_echo "$AWK" >&6; } 2643else 2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2645$as_echo "no" >&6; } 2646fi 2647 2648 2649 test -n "$AWK" && break 2650done 2651 2652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2653$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2654set x ${MAKE-make} 2655ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2656if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2657 $as_echo_n "(cached) " >&6 2658else 2659 cat >conftest.make <<\_ACEOF 2660SHELL = /bin/sh 2661all: 2662 @echo '@@@%%%=$(MAKE)=@@@%%%' 2663_ACEOF 2664# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2665case `${MAKE-make} -f conftest.make 2>/dev/null` in 2666 *@@@%%%=?*=@@@%%%*) 2667 eval ac_cv_prog_make_${ac_make}_set=yes;; 2668 *) 2669 eval ac_cv_prog_make_${ac_make}_set=no;; 2670esac 2671rm -f conftest.make 2672fi 2673if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2675$as_echo "yes" >&6; } 2676 SET_MAKE= 2677else 2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2679$as_echo "no" >&6; } 2680 SET_MAKE="MAKE=${MAKE-make}" 2681fi 2682 2683rm -rf .tst 2>/dev/null 2684mkdir .tst 2>/dev/null 2685if test -d .tst; then 2686 am__leading_dot=. 2687else 2688 am__leading_dot=_ 2689fi 2690rmdir .tst 2>/dev/null 2691 2692# Check whether --enable-silent-rules was given. 2693if test "${enable_silent_rules+set}" = set; then : 2694 enableval=$enable_silent_rules; 2695fi 2696 2697case $enable_silent_rules in # ((( 2698 yes) AM_DEFAULT_VERBOSITY=0;; 2699 no) AM_DEFAULT_VERBOSITY=1;; 2700 *) AM_DEFAULT_VERBOSITY=1;; 2701esac 2702am_make=${MAKE-make} 2703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2704$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2705if ${am_cv_make_support_nested_variables+:} false; then : 2706 $as_echo_n "(cached) " >&6 2707else 2708 if $as_echo 'TRUE=$(BAR$(V)) 2709BAR0=false 2710BAR1=true 2711V=1 2712am__doit: 2713 @$(TRUE) 2714.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2715 am_cv_make_support_nested_variables=yes 2716else 2717 am_cv_make_support_nested_variables=no 2718fi 2719fi 2720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2721$as_echo "$am_cv_make_support_nested_variables" >&6; } 2722if test $am_cv_make_support_nested_variables = yes; then 2723 AM_V='$(V)' 2724 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2725else 2726 AM_V=$AM_DEFAULT_VERBOSITY 2727 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2728fi 2729AM_BACKSLASH='\' 2730 2731if test "`cd $srcdir && pwd`" != "`pwd`"; then 2732 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2733 # is not polluted with repeated "-I." 2734 am__isrc=' -I$(srcdir)' 2735 # test to see if srcdir already configured 2736 if test -f $srcdir/config.status; then 2737 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2738 fi 2739fi 2740 2741# test whether we have cygpath 2742if test -z "$CYGPATH_W"; then 2743 if (cygpath --version) >/dev/null 2>/dev/null; then 2744 CYGPATH_W='cygpath -w' 2745 else 2746 CYGPATH_W=echo 2747 fi 2748fi 2749 2750 2751# Define the identity of the package. 2752 PACKAGE='makedat' 2753 VERSION='0.60' 2754 2755 2756# Some tools Automake needs. 2757 2758ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2759 2760 2761AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2762 2763 2764AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2765 2766 2767AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2768 2769 2770MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2771 2772# For better backward compatibility. To be removed once Automake 1.9.x 2773# dies out for good. For more background, see: 2774# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2775# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2776mkdir_p='$(MKDIR_P)' 2777 2778# We need awk for the "check" target (and possibly the TAP driver). The 2779# system "awk" is bad on some platforms. 2780# Always define AMTAR for backward compatibility. Yes, it's still used 2781# in the wild :-( We should find a proper way to deprecate it ... 2782AMTAR='$${TAR-tar}' 2783 2784 2785# We'll loop over all known methods to create a tar archive until one works. 2786_am_tools='gnutar pax cpio none' 2787 2788am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2789 2790 2791 2792 2793 2794 2795# POSIX will say in a future version that running "rm -f" with no argument 2796# is OK; and we want to be able to make that assumption in our Makefile 2797# recipes. So use an aggressive probe to check that the usage we want is 2798# actually supported "in the wild" to an acceptable degree. 2799# See automake bug#10828. 2800# To make any issue more visible, cause the running configure to be aborted 2801# by default if the 'rm' program in use doesn't match our expectations; the 2802# user can still override this though. 2803if rm -f && rm -fr && rm -rf; then : OK; else 2804 cat >&2 <<'END' 2805Oops! 2806 2807Your 'rm' program seems unable to run without file operands specified 2808on the command line, even when the '-f' option is present. This is contrary 2809to the behaviour of most rm programs out there, and not conforming with 2810the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2811 2812Please tell bug-automake@gnu.org about your system, including the value 2813of your $PATH and any error possibly output before this message. This 2814can help us improve future automake versions. 2815 2816END 2817 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2818 echo 'Configuration will proceed anyway, since you have set the' >&2 2819 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2820 echo >&2 2821 else 2822 cat >&2 <<'END' 2823Aborting the configuration process, to ensure you take notice of the issue. 2824 2825You can download and install GNU coreutils to get an 'rm' implementation 2826that behaves properly: <https://www.gnu.org/software/coreutils/>. 2827 2828If you want to complete the configuration process using your problematic 2829'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2830to "yes", and re-run configure. 2831 2832END 2833 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2834 fi 2835fi 2836 2837LPATH="$PATH:/usr/local/bin" 2838ac_config_headers="$ac_config_headers config.h" 2839 2840 2841ac_ext=c 2842ac_cpp='$CPP $CPPFLAGS' 2843ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2844ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2845ac_compiler_gnu=$ac_cv_c_compiler_gnu 2846if test -n "$ac_tool_prefix"; then 2847 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2848set dummy ${ac_tool_prefix}gcc; ac_word=$2 2849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2850$as_echo_n "checking for $ac_word... " >&6; } 2851if ${ac_cv_prog_CC+:} false; then : 2852 $as_echo_n "(cached) " >&6 2853else 2854 if test -n "$CC"; then 2855 ac_cv_prog_CC="$CC" # Let the user override the test. 2856else 2857as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2858for as_dir in $PATH 2859do 2860 IFS=$as_save_IFS 2861 test -z "$as_dir" && as_dir=. 2862 for ac_exec_ext in '' $ac_executable_extensions; do 2863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2864 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2866 break 2 2867 fi 2868done 2869 done 2870IFS=$as_save_IFS 2871 2872fi 2873fi 2874CC=$ac_cv_prog_CC 2875if test -n "$CC"; then 2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2877$as_echo "$CC" >&6; } 2878else 2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2880$as_echo "no" >&6; } 2881fi 2882 2883 2884fi 2885if test -z "$ac_cv_prog_CC"; then 2886 ac_ct_CC=$CC 2887 # Extract the first word of "gcc", so it can be a program name with args. 2888set dummy gcc; ac_word=$2 2889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2890$as_echo_n "checking for $ac_word... " >&6; } 2891if ${ac_cv_prog_ac_ct_CC+:} false; then : 2892 $as_echo_n "(cached) " >&6 2893else 2894 if test -n "$ac_ct_CC"; then 2895 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2896else 2897as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2898for as_dir in $PATH 2899do 2900 IFS=$as_save_IFS 2901 test -z "$as_dir" && as_dir=. 2902 for ac_exec_ext in '' $ac_executable_extensions; do 2903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2904 ac_cv_prog_ac_ct_CC="gcc" 2905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2906 break 2 2907 fi 2908done 2909 done 2910IFS=$as_save_IFS 2911 2912fi 2913fi 2914ac_ct_CC=$ac_cv_prog_ac_ct_CC 2915if test -n "$ac_ct_CC"; then 2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2917$as_echo "$ac_ct_CC" >&6; } 2918else 2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2920$as_echo "no" >&6; } 2921fi 2922 2923 if test "x$ac_ct_CC" = x; then 2924 CC="" 2925 else 2926 case $cross_compiling:$ac_tool_warned in 2927yes:) 2928{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2929$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2930ac_tool_warned=yes ;; 2931esac 2932 CC=$ac_ct_CC 2933 fi 2934else 2935 CC="$ac_cv_prog_CC" 2936fi 2937 2938if test -z "$CC"; then 2939 if test -n "$ac_tool_prefix"; then 2940 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2941set dummy ${ac_tool_prefix}cc; ac_word=$2 2942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2943$as_echo_n "checking for $ac_word... " >&6; } 2944if ${ac_cv_prog_CC+:} false; then : 2945 $as_echo_n "(cached) " >&6 2946else 2947 if test -n "$CC"; then 2948 ac_cv_prog_CC="$CC" # Let the user override the test. 2949else 2950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2951for as_dir in $PATH 2952do 2953 IFS=$as_save_IFS 2954 test -z "$as_dir" && as_dir=. 2955 for ac_exec_ext in '' $ac_executable_extensions; do 2956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2957 ac_cv_prog_CC="${ac_tool_prefix}cc" 2958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2959 break 2 2960 fi 2961done 2962 done 2963IFS=$as_save_IFS 2964 2965fi 2966fi 2967CC=$ac_cv_prog_CC 2968if test -n "$CC"; then 2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2970$as_echo "$CC" >&6; } 2971else 2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2973$as_echo "no" >&6; } 2974fi 2975 2976 2977 fi 2978fi 2979if test -z "$CC"; then 2980 # Extract the first word of "cc", so it can be a program name with args. 2981set dummy cc; ac_word=$2 2982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2983$as_echo_n "checking for $ac_word... " >&6; } 2984if ${ac_cv_prog_CC+:} false; then : 2985 $as_echo_n "(cached) " >&6 2986else 2987 if test -n "$CC"; then 2988 ac_cv_prog_CC="$CC" # Let the user override the test. 2989else 2990 ac_prog_rejected=no 2991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2992for as_dir in $PATH 2993do 2994 IFS=$as_save_IFS 2995 test -z "$as_dir" && as_dir=. 2996 for ac_exec_ext in '' $ac_executable_extensions; do 2997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2998 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2999 ac_prog_rejected=yes 3000 continue 3001 fi 3002 ac_cv_prog_CC="cc" 3003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3004 break 2 3005 fi 3006done 3007 done 3008IFS=$as_save_IFS 3009 3010if test $ac_prog_rejected = yes; then 3011 # We found a bogon in the path, so make sure we never use it. 3012 set dummy $ac_cv_prog_CC 3013 shift 3014 if test $# != 0; then 3015 # We chose a different compiler from the bogus one. 3016 # However, it has the same basename, so the bogon will be chosen 3017 # first if we set CC to just the basename; use the full file name. 3018 shift 3019 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3020 fi 3021fi 3022fi 3023fi 3024CC=$ac_cv_prog_CC 3025if test -n "$CC"; then 3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3027$as_echo "$CC" >&6; } 3028else 3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3030$as_echo "no" >&6; } 3031fi 3032 3033 3034fi 3035if test -z "$CC"; then 3036 if test -n "$ac_tool_prefix"; then 3037 for ac_prog in cl.exe 3038 do 3039 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3040set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3042$as_echo_n "checking for $ac_word... " >&6; } 3043if ${ac_cv_prog_CC+:} false; then : 3044 $as_echo_n "(cached) " >&6 3045else 3046 if test -n "$CC"; then 3047 ac_cv_prog_CC="$CC" # Let the user override the test. 3048else 3049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3050for as_dir in $PATH 3051do 3052 IFS=$as_save_IFS 3053 test -z "$as_dir" && as_dir=. 3054 for ac_exec_ext in '' $ac_executable_extensions; do 3055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3056 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3058 break 2 3059 fi 3060done 3061 done 3062IFS=$as_save_IFS 3063 3064fi 3065fi 3066CC=$ac_cv_prog_CC 3067if test -n "$CC"; then 3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3069$as_echo "$CC" >&6; } 3070else 3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3072$as_echo "no" >&6; } 3073fi 3074 3075 3076 test -n "$CC" && break 3077 done 3078fi 3079if test -z "$CC"; then 3080 ac_ct_CC=$CC 3081 for ac_prog in cl.exe 3082do 3083 # Extract the first word of "$ac_prog", so it can be a program name with args. 3084set dummy $ac_prog; ac_word=$2 3085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3086$as_echo_n "checking for $ac_word... " >&6; } 3087if ${ac_cv_prog_ac_ct_CC+:} false; then : 3088 $as_echo_n "(cached) " >&6 3089else 3090 if test -n "$ac_ct_CC"; then 3091 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3092else 3093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3094for as_dir in $PATH 3095do 3096 IFS=$as_save_IFS 3097 test -z "$as_dir" && as_dir=. 3098 for ac_exec_ext in '' $ac_executable_extensions; do 3099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3100 ac_cv_prog_ac_ct_CC="$ac_prog" 3101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3102 break 2 3103 fi 3104done 3105 done 3106IFS=$as_save_IFS 3107 3108fi 3109fi 3110ac_ct_CC=$ac_cv_prog_ac_ct_CC 3111if test -n "$ac_ct_CC"; then 3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3113$as_echo "$ac_ct_CC" >&6; } 3114else 3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3116$as_echo "no" >&6; } 3117fi 3118 3119 3120 test -n "$ac_ct_CC" && break 3121done 3122 3123 if test "x$ac_ct_CC" = x; then 3124 CC="" 3125 else 3126 case $cross_compiling:$ac_tool_warned in 3127yes:) 3128{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3129$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3130ac_tool_warned=yes ;; 3131esac 3132 CC=$ac_ct_CC 3133 fi 3134fi 3135 3136fi 3137 3138 3139test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3140$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3141as_fn_error $? "no acceptable C compiler found in \$PATH 3142See \`config.log' for more details" "$LINENO" 5; } 3143 3144# Provide some information about the compiler. 3145$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3146set X $ac_compile 3147ac_compiler=$2 3148for ac_option in --version -v -V -qversion; do 3149 { { ac_try="$ac_compiler $ac_option >&5" 3150case "(($ac_try" in 3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3152 *) ac_try_echo=$ac_try;; 3153esac 3154eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3155$as_echo "$ac_try_echo"; } >&5 3156 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3157 ac_status=$? 3158 if test -s conftest.err; then 3159 sed '10a\ 3160... rest of stderr output deleted ... 3161 10q' conftest.err >conftest.er1 3162 cat conftest.er1 >&5 3163 fi 3164 rm -f conftest.er1 conftest.err 3165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3166 test $ac_status = 0; } 3167done 3168 3169cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3170/* end confdefs.h. */ 3171 3172int 3173main () 3174{ 3175 3176 ; 3177 return 0; 3178} 3179_ACEOF 3180ac_clean_files_save=$ac_clean_files 3181ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3182# Try to create an executable without -o first, disregard a.out. 3183# It will help us diagnose broken compilers, and finding out an intuition 3184# of exeext. 3185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3186$as_echo_n "checking whether the C compiler works... " >&6; } 3187ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3188 3189# The possible output files: 3190ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3191 3192ac_rmfiles= 3193for ac_file in $ac_files 3194do 3195 case $ac_file in 3196 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3197 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3198 esac 3199done 3200rm -f $ac_rmfiles 3201 3202if { { ac_try="$ac_link_default" 3203case "(($ac_try" in 3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3205 *) ac_try_echo=$ac_try;; 3206esac 3207eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3208$as_echo "$ac_try_echo"; } >&5 3209 (eval "$ac_link_default") 2>&5 3210 ac_status=$? 3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3212 test $ac_status = 0; }; then : 3213 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3214# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3215# in a Makefile. We should not override ac_cv_exeext if it was cached, 3216# so that the user can short-circuit this test for compilers unknown to 3217# Autoconf. 3218for ac_file in $ac_files '' 3219do 3220 test -f "$ac_file" || continue 3221 case $ac_file in 3222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3223 ;; 3224 [ab].out ) 3225 # We found the default executable, but exeext='' is most 3226 # certainly right. 3227 break;; 3228 *.* ) 3229 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3230 then :; else 3231 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3232 fi 3233 # We set ac_cv_exeext here because the later test for it is not 3234 # safe: cross compilers may not add the suffix if given an `-o' 3235 # argument, so we may need to know it at that point already. 3236 # Even if this section looks crufty: it has the advantage of 3237 # actually working. 3238 break;; 3239 * ) 3240 break;; 3241 esac 3242done 3243test "$ac_cv_exeext" = no && ac_cv_exeext= 3244 3245else 3246 ac_file='' 3247fi 3248if test -z "$ac_file"; then : 3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3250$as_echo "no" >&6; } 3251$as_echo "$as_me: failed program was:" >&5 3252sed 's/^/| /' conftest.$ac_ext >&5 3253 3254{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3255$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3256as_fn_error 77 "C compiler cannot create executables 3257See \`config.log' for more details" "$LINENO" 5; } 3258else 3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3260$as_echo "yes" >&6; } 3261fi 3262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3263$as_echo_n "checking for C compiler default output file name... " >&6; } 3264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3265$as_echo "$ac_file" >&6; } 3266ac_exeext=$ac_cv_exeext 3267 3268rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3269ac_clean_files=$ac_clean_files_save 3270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3271$as_echo_n "checking for suffix of executables... " >&6; } 3272if { { ac_try="$ac_link" 3273case "(($ac_try" in 3274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3275 *) ac_try_echo=$ac_try;; 3276esac 3277eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3278$as_echo "$ac_try_echo"; } >&5 3279 (eval "$ac_link") 2>&5 3280 ac_status=$? 3281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3282 test $ac_status = 0; }; then : 3283 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3284# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3285# work properly (i.e., refer to `conftest.exe'), while it won't with 3286# `rm'. 3287for ac_file in conftest.exe conftest conftest.*; do 3288 test -f "$ac_file" || continue 3289 case $ac_file in 3290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3291 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3292 break;; 3293 * ) break;; 3294 esac 3295done 3296else 3297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3298$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3299as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3300See \`config.log' for more details" "$LINENO" 5; } 3301fi 3302rm -f conftest conftest$ac_cv_exeext 3303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3304$as_echo "$ac_cv_exeext" >&6; } 3305 3306rm -f conftest.$ac_ext 3307EXEEXT=$ac_cv_exeext 3308ac_exeext=$EXEEXT 3309cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3310/* end confdefs.h. */ 3311#include <stdio.h> 3312int 3313main () 3314{ 3315FILE *f = fopen ("conftest.out", "w"); 3316 return ferror (f) || fclose (f) != 0; 3317 3318 ; 3319 return 0; 3320} 3321_ACEOF 3322ac_clean_files="$ac_clean_files conftest.out" 3323# Check that the compiler produces executables we can run. If not, either 3324# the compiler is broken, or we cross compile. 3325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3326$as_echo_n "checking whether we are cross compiling... " >&6; } 3327if test "$cross_compiling" != yes; then 3328 { { ac_try="$ac_link" 3329case "(($ac_try" in 3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3331 *) ac_try_echo=$ac_try;; 3332esac 3333eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3334$as_echo "$ac_try_echo"; } >&5 3335 (eval "$ac_link") 2>&5 3336 ac_status=$? 3337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3338 test $ac_status = 0; } 3339 if { ac_try='./conftest$ac_cv_exeext' 3340 { { case "(($ac_try" in 3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3342 *) ac_try_echo=$ac_try;; 3343esac 3344eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3345$as_echo "$ac_try_echo"; } >&5 3346 (eval "$ac_try") 2>&5 3347 ac_status=$? 3348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3349 test $ac_status = 0; }; }; then 3350 cross_compiling=no 3351 else 3352 if test "$cross_compiling" = maybe; then 3353 cross_compiling=yes 3354 else 3355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3356$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3357as_fn_error $? "cannot run C compiled programs. 3358If you meant to cross compile, use \`--host'. 3359See \`config.log' for more details" "$LINENO" 5; } 3360 fi 3361 fi 3362fi 3363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3364$as_echo "$cross_compiling" >&6; } 3365 3366rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3367ac_clean_files=$ac_clean_files_save 3368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3369$as_echo_n "checking for suffix of object files... " >&6; } 3370if ${ac_cv_objext+:} false; then : 3371 $as_echo_n "(cached) " >&6 3372else 3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3374/* end confdefs.h. */ 3375 3376int 3377main () 3378{ 3379 3380 ; 3381 return 0; 3382} 3383_ACEOF 3384rm -f conftest.o conftest.obj 3385if { { ac_try="$ac_compile" 3386case "(($ac_try" in 3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3388 *) ac_try_echo=$ac_try;; 3389esac 3390eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3391$as_echo "$ac_try_echo"; } >&5 3392 (eval "$ac_compile") 2>&5 3393 ac_status=$? 3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3395 test $ac_status = 0; }; then : 3396 for ac_file in conftest.o conftest.obj conftest.*; do 3397 test -f "$ac_file" || continue; 3398 case $ac_file in 3399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3400 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3401 break;; 3402 esac 3403done 3404else 3405 $as_echo "$as_me: failed program was:" >&5 3406sed 's/^/| /' conftest.$ac_ext >&5 3407 3408{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3409$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3410as_fn_error $? "cannot compute suffix of object files: cannot compile 3411See \`config.log' for more details" "$LINENO" 5; } 3412fi 3413rm -f conftest.$ac_cv_objext conftest.$ac_ext 3414fi 3415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3416$as_echo "$ac_cv_objext" >&6; } 3417OBJEXT=$ac_cv_objext 3418ac_objext=$OBJEXT 3419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3420$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3421if ${ac_cv_c_compiler_gnu+:} false; then : 3422 $as_echo_n "(cached) " >&6 3423else 3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3425/* end confdefs.h. */ 3426 3427int 3428main () 3429{ 3430#ifndef __GNUC__ 3431 choke me 3432#endif 3433 3434 ; 3435 return 0; 3436} 3437_ACEOF 3438if ac_fn_c_try_compile "$LINENO"; then : 3439 ac_compiler_gnu=yes 3440else 3441 ac_compiler_gnu=no 3442fi 3443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3444ac_cv_c_compiler_gnu=$ac_compiler_gnu 3445 3446fi 3447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3448$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3449if test $ac_compiler_gnu = yes; then 3450 GCC=yes 3451else 3452 GCC= 3453fi 3454ac_test_CFLAGS=${CFLAGS+set} 3455ac_save_CFLAGS=$CFLAGS 3456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3457$as_echo_n "checking whether $CC accepts -g... " >&6; } 3458if ${ac_cv_prog_cc_g+:} false; then : 3459 $as_echo_n "(cached) " >&6 3460else 3461 ac_save_c_werror_flag=$ac_c_werror_flag 3462 ac_c_werror_flag=yes 3463 ac_cv_prog_cc_g=no 3464 CFLAGS="-g" 3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3466/* end confdefs.h. */ 3467 3468int 3469main () 3470{ 3471 3472 ; 3473 return 0; 3474} 3475_ACEOF 3476if ac_fn_c_try_compile "$LINENO"; then : 3477 ac_cv_prog_cc_g=yes 3478else 3479 CFLAGS="" 3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3481/* end confdefs.h. */ 3482 3483int 3484main () 3485{ 3486 3487 ; 3488 return 0; 3489} 3490_ACEOF 3491if ac_fn_c_try_compile "$LINENO"; then : 3492 3493else 3494 ac_c_werror_flag=$ac_save_c_werror_flag 3495 CFLAGS="-g" 3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3497/* end confdefs.h. */ 3498 3499int 3500main () 3501{ 3502 3503 ; 3504 return 0; 3505} 3506_ACEOF 3507if ac_fn_c_try_compile "$LINENO"; then : 3508 ac_cv_prog_cc_g=yes 3509fi 3510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3511fi 3512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3513fi 3514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3515 ac_c_werror_flag=$ac_save_c_werror_flag 3516fi 3517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3518$as_echo "$ac_cv_prog_cc_g" >&6; } 3519if test "$ac_test_CFLAGS" = set; then 3520 CFLAGS=$ac_save_CFLAGS 3521elif test $ac_cv_prog_cc_g = yes; then 3522 if test "$GCC" = yes; then 3523 CFLAGS="-g -O2" 3524 else 3525 CFLAGS="-g" 3526 fi 3527else 3528 if test "$GCC" = yes; then 3529 CFLAGS="-O2" 3530 else 3531 CFLAGS= 3532 fi 3533fi 3534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3535$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3536if ${ac_cv_prog_cc_c89+:} false; then : 3537 $as_echo_n "(cached) " >&6 3538else 3539 ac_cv_prog_cc_c89=no 3540ac_save_CC=$CC 3541cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3542/* end confdefs.h. */ 3543#include <stdarg.h> 3544#include <stdio.h> 3545struct stat; 3546/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3547struct buf { int x; }; 3548FILE * (*rcsopen) (struct buf *, struct stat *, int); 3549static char *e (p, i) 3550 char **p; 3551 int i; 3552{ 3553 return p[i]; 3554} 3555static char *f (char * (*g) (char **, int), char **p, ...) 3556{ 3557 char *s; 3558 va_list v; 3559 va_start (v,p); 3560 s = g (p, va_arg (v,int)); 3561 va_end (v); 3562 return s; 3563} 3564 3565/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3566 function prototypes and stuff, but not '\xHH' hex character constants. 3567 These don't provoke an error unfortunately, instead are silently treated 3568 as 'x'. The following induces an error, until -std is added to get 3569 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3570 array size at least. It's necessary to write '\x00'==0 to get something 3571 that's true only with -std. */ 3572int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3573 3574/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3575 inside strings and character constants. */ 3576#define FOO(x) 'x' 3577int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3578 3579int test (int i, double x); 3580struct s1 {int (*f) (int a);}; 3581struct s2 {int (*f) (double a);}; 3582int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3583int argc; 3584char **argv; 3585int 3586main () 3587{ 3588return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3589 ; 3590 return 0; 3591} 3592_ACEOF 3593for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3594 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3595do 3596 CC="$ac_save_CC $ac_arg" 3597 if ac_fn_c_try_compile "$LINENO"; then : 3598 ac_cv_prog_cc_c89=$ac_arg 3599fi 3600rm -f core conftest.err conftest.$ac_objext 3601 test "x$ac_cv_prog_cc_c89" != "xno" && break 3602done 3603rm -f conftest.$ac_ext 3604CC=$ac_save_CC 3605 3606fi 3607# AC_CACHE_VAL 3608case "x$ac_cv_prog_cc_c89" in 3609 x) 3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3611$as_echo "none needed" >&6; } ;; 3612 xno) 3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3614$as_echo "unsupported" >&6; } ;; 3615 *) 3616 CC="$CC $ac_cv_prog_cc_c89" 3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3618$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3619esac 3620if test "x$ac_cv_prog_cc_c89" != xno; then : 3621 3622fi 3623 3624ac_ext=c 3625ac_cpp='$CPP $CPPFLAGS' 3626ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3627ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3628ac_compiler_gnu=$ac_cv_c_compiler_gnu 3629 3630ac_ext=c 3631ac_cpp='$CPP $CPPFLAGS' 3632ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3633ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3634ac_compiler_gnu=$ac_cv_c_compiler_gnu 3635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3636$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3637if ${am_cv_prog_cc_c_o+:} false; then : 3638 $as_echo_n "(cached) " >&6 3639else 3640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3641/* end confdefs.h. */ 3642 3643int 3644main () 3645{ 3646 3647 ; 3648 return 0; 3649} 3650_ACEOF 3651 # Make sure it works both with $CC and with simple cc. 3652 # Following AC_PROG_CC_C_O, we do the test twice because some 3653 # compilers refuse to overwrite an existing .o file with -o, 3654 # though they will create one. 3655 am_cv_prog_cc_c_o=yes 3656 for am_i in 1 2; do 3657 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3658 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3659 ac_status=$? 3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3661 (exit $ac_status); } \ 3662 && test -f conftest2.$ac_objext; then 3663 : OK 3664 else 3665 am_cv_prog_cc_c_o=no 3666 break 3667 fi 3668 done 3669 rm -f core conftest* 3670 unset am_i 3671fi 3672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3673$as_echo "$am_cv_prog_cc_c_o" >&6; } 3674if test "$am_cv_prog_cc_c_o" != yes; then 3675 # Losing compiler, so override with the script. 3676 # FIXME: It is wrong to rewrite CC. 3677 # But if we don't then we get into trouble of one sort or another. 3678 # A longer-term fix would be to have automake use am__CC in this case, 3679 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3680 CC="$am_aux_dir/compile $CC" 3681fi 3682ac_ext=c 3683ac_cpp='$CPP $CPPFLAGS' 3684ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3685ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3686ac_compiler_gnu=$ac_cv_c_compiler_gnu 3687 3688DEPDIR="${am__leading_dot}deps" 3689 3690ac_config_commands="$ac_config_commands depfiles" 3691 3692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3693$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3694cat > confinc.mk << 'END' 3695am__doit: 3696 @echo this is the am__doit target >confinc.out 3697.PHONY: am__doit 3698END 3699am__include="#" 3700am__quote= 3701# BSD make does it like this. 3702echo '.include "confinc.mk" # ignored' > confmf.BSD 3703# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3704echo 'include confinc.mk # ignored' > confmf.GNU 3705_am_result=no 3706for s in GNU BSD; do 3707 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3708 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3709 ac_status=$? 3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3711 (exit $ac_status); } 3712 case $?:`cat confinc.out 2>/dev/null` in #( 3713 '0:this is the am__doit target') : 3714 case $s in #( 3715 BSD) : 3716 am__include='.include' am__quote='"' ;; #( 3717 *) : 3718 am__include='include' am__quote='' ;; 3719esac ;; #( 3720 *) : 3721 ;; 3722esac 3723 if test "$am__include" != "#"; then 3724 _am_result="yes ($s style)" 3725 break 3726 fi 3727done 3728rm -f confinc.* confmf.* 3729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3730$as_echo "${_am_result}" >&6; } 3731 3732# Check whether --enable-dependency-tracking was given. 3733if test "${enable_dependency_tracking+set}" = set; then : 3734 enableval=$enable_dependency_tracking; 3735fi 3736 3737if test "x$enable_dependency_tracking" != xno; then 3738 am_depcomp="$ac_aux_dir/depcomp" 3739 AMDEPBACKSLASH='\' 3740 am__nodep='_no' 3741fi 3742 if test "x$enable_dependency_tracking" != xno; then 3743 AMDEP_TRUE= 3744 AMDEP_FALSE='#' 3745else 3746 AMDEP_TRUE='#' 3747 AMDEP_FALSE= 3748fi 3749 3750 3751 3752depcc="$CC" am_compiler_list= 3753 3754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3755$as_echo_n "checking dependency style of $depcc... " >&6; } 3756if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3757 $as_echo_n "(cached) " >&6 3758else 3759 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3760 # We make a subdir and do the tests there. Otherwise we can end up 3761 # making bogus files that we don't know about and never remove. For 3762 # instance it was reported that on HP-UX the gcc test will end up 3763 # making a dummy file named 'D' -- because '-MD' means "put the output 3764 # in D". 3765 rm -rf conftest.dir 3766 mkdir conftest.dir 3767 # Copy depcomp to subdir because otherwise we won't find it if we're 3768 # using a relative directory. 3769 cp "$am_depcomp" conftest.dir 3770 cd conftest.dir 3771 # We will build objects and dependencies in a subdirectory because 3772 # it helps to detect inapplicable dependency modes. For instance 3773 # both Tru64's cc and ICC support -MD to output dependencies as a 3774 # side effect of compilation, but ICC will put the dependencies in 3775 # the current directory while Tru64 will put them in the object 3776 # directory. 3777 mkdir sub 3778 3779 am_cv_CC_dependencies_compiler_type=none 3780 if test "$am_compiler_list" = ""; then 3781 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3782 fi 3783 am__universal=false 3784 case " $depcc " in #( 3785 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3786 esac 3787 3788 for depmode in $am_compiler_list; do 3789 # Setup a source with many dependencies, because some compilers 3790 # like to wrap large dependency lists on column 80 (with \), and 3791 # we should not choose a depcomp mode which is confused by this. 3792 # 3793 # We need to recreate these files for each test, as the compiler may 3794 # overwrite some of them when testing with obscure command lines. 3795 # This happens at least with the AIX C compiler. 3796 : > sub/conftest.c 3797 for i in 1 2 3 4 5 6; do 3798 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3799 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3800 # Solaris 10 /bin/sh. 3801 echo '/* dummy */' > sub/conftst$i.h 3802 done 3803 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3804 3805 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3806 # mode. It turns out that the SunPro C++ compiler does not properly 3807 # handle '-M -o', and we need to detect this. Also, some Intel 3808 # versions had trouble with output in subdirs. 3809 am__obj=sub/conftest.${OBJEXT-o} 3810 am__minus_obj="-o $am__obj" 3811 case $depmode in 3812 gcc) 3813 # This depmode causes a compiler race in universal mode. 3814 test "$am__universal" = false || continue 3815 ;; 3816 nosideeffect) 3817 # After this tag, mechanisms are not by side-effect, so they'll 3818 # only be used when explicitly requested. 3819 if test "x$enable_dependency_tracking" = xyes; then 3820 continue 3821 else 3822 break 3823 fi 3824 ;; 3825 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3826 # This compiler won't grok '-c -o', but also, the minuso test has 3827 # not run yet. These depmodes are late enough in the game, and 3828 # so weak that their functioning should not be impacted. 3829 am__obj=conftest.${OBJEXT-o} 3830 am__minus_obj= 3831 ;; 3832 none) break ;; 3833 esac 3834 if depmode=$depmode \ 3835 source=sub/conftest.c object=$am__obj \ 3836 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3837 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3838 >/dev/null 2>conftest.err && 3839 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3840 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3841 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3842 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3843 # icc doesn't choke on unknown options, it will just issue warnings 3844 # or remarks (even with -Werror). So we grep stderr for any message 3845 # that says an option was ignored or not supported. 3846 # When given -MP, icc 7.0 and 7.1 complain thusly: 3847 # icc: Command line warning: ignoring option '-M'; no argument required 3848 # The diagnosis changed in icc 8.0: 3849 # icc: Command line remark: option '-MP' not supported 3850 if (grep 'ignoring option' conftest.err || 3851 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3852 am_cv_CC_dependencies_compiler_type=$depmode 3853 break 3854 fi 3855 fi 3856 done 3857 3858 cd .. 3859 rm -rf conftest.dir 3860else 3861 am_cv_CC_dependencies_compiler_type=none 3862fi 3863 3864fi 3865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3866$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3867CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3868 3869 if 3870 test "x$enable_dependency_tracking" != xno \ 3871 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3872 am__fastdepCC_TRUE= 3873 am__fastdepCC_FALSE='#' 3874else 3875 am__fastdepCC_TRUE='#' 3876 am__fastdepCC_FALSE= 3877fi 3878 3879 3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3881$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3882if ${ac_cv_prog_cc_c99+:} false; then : 3883 $as_echo_n "(cached) " >&6 3884else 3885 ac_cv_prog_cc_c99=no 3886ac_save_CC=$CC 3887cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3888/* end confdefs.h. */ 3889#include <stdarg.h> 3890#include <stdbool.h> 3891#include <stdlib.h> 3892#include <wchar.h> 3893#include <stdio.h> 3894 3895// Check varargs macros. These examples are taken from C99 6.10.3.5. 3896#define debug(...) fprintf (stderr, __VA_ARGS__) 3897#define showlist(...) puts (#__VA_ARGS__) 3898#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3899static void 3900test_varargs_macros (void) 3901{ 3902 int x = 1234; 3903 int y = 5678; 3904 debug ("Flag"); 3905 debug ("X = %d\n", x); 3906 showlist (The first, second, and third items.); 3907 report (x>y, "x is %d but y is %d", x, y); 3908} 3909 3910// Check long long types. 3911#define BIG64 18446744073709551615ull 3912#define BIG32 4294967295ul 3913#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3914#if !BIG_OK 3915 your preprocessor is broken; 3916#endif 3917#if BIG_OK 3918#else 3919 your preprocessor is broken; 3920#endif 3921static long long int bignum = -9223372036854775807LL; 3922static unsigned long long int ubignum = BIG64; 3923 3924struct incomplete_array 3925{ 3926 int datasize; 3927 double data[]; 3928}; 3929 3930struct named_init { 3931 int number; 3932 const wchar_t *name; 3933 double average; 3934}; 3935 3936typedef const char *ccp; 3937 3938static inline int 3939test_restrict (ccp restrict text) 3940{ 3941 // See if C++-style comments work. 3942 // Iterate through items via the restricted pointer. 3943 // Also check for declarations in for loops. 3944 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3945 continue; 3946 return 0; 3947} 3948 3949// Check varargs and va_copy. 3950static void 3951test_varargs (const char *format, ...) 3952{ 3953 va_list args; 3954 va_start (args, format); 3955 va_list args_copy; 3956 va_copy (args_copy, args); 3957 3958 const char *str; 3959 int number; 3960 float fnumber; 3961 3962 while (*format) 3963 { 3964 switch (*format++) 3965 { 3966 case 's': // string 3967 str = va_arg (args_copy, const char *); 3968 break; 3969 case 'd': // int 3970 number = va_arg (args_copy, int); 3971 break; 3972 case 'f': // float 3973 fnumber = va_arg (args_copy, double); 3974 break; 3975 default: 3976 break; 3977 } 3978 } 3979 va_end (args_copy); 3980 va_end (args); 3981} 3982 3983int 3984main () 3985{ 3986 3987 // Check bool. 3988 _Bool success = false; 3989 3990 // Check restrict. 3991 if (test_restrict ("String literal") == 0) 3992 success = true; 3993 char *restrict newvar = "Another string"; 3994 3995 // Check varargs. 3996 test_varargs ("s, d' f .", "string", 65, 34.234); 3997 test_varargs_macros (); 3998 3999 // Check flexible array members. 4000 struct incomplete_array *ia = 4001 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4002 ia->datasize = 10; 4003 for (int i = 0; i < ia->datasize; ++i) 4004 ia->data[i] = i * 1.234; 4005 4006 // Check named initializers. 4007 struct named_init ni = { 4008 .number = 34, 4009 .name = L"Test wide string", 4010 .average = 543.34343, 4011 }; 4012 4013 ni.number = 58; 4014 4015 int dynamic_array[ni.number]; 4016 dynamic_array[ni.number - 1] = 543; 4017 4018 // work around unused variable warnings 4019 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4020 || dynamic_array[ni.number - 1] != 543); 4021 4022 ; 4023 return 0; 4024} 4025_ACEOF 4026for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 4027do 4028 CC="$ac_save_CC $ac_arg" 4029 if ac_fn_c_try_compile "$LINENO"; then : 4030 ac_cv_prog_cc_c99=$ac_arg 4031fi 4032rm -f core conftest.err conftest.$ac_objext 4033 test "x$ac_cv_prog_cc_c99" != "xno" && break 4034done 4035rm -f conftest.$ac_ext 4036CC=$ac_save_CC 4037 4038fi 4039# AC_CACHE_VAL 4040case "x$ac_cv_prog_cc_c99" in 4041 x) 4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4043$as_echo "none needed" >&6; } ;; 4044 xno) 4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4046$as_echo "unsupported" >&6; } ;; 4047 *) 4048 CC="$CC $ac_cv_prog_cc_c99" 4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4050$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4051esac 4052if test "x$ac_cv_prog_cc_c99" != xno; then : 4053 4054fi 4055 4056 4057 4058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4059$as_echo_n "checking whether ln -s works... " >&6; } 4060LN_S=$as_ln_s 4061if test "$LN_S" = "ln -s"; then 4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4063$as_echo "yes" >&6; } 4064else 4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4066$as_echo "no, using $LN_S" >&6; } 4067fi 4068 4069for ac_prog in perl5 perl 4070do 4071 # Extract the first word of "$ac_prog", so it can be a program name with args. 4072set dummy $ac_prog; ac_word=$2 4073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4074$as_echo_n "checking for $ac_word... " >&6; } 4075if ${ac_cv_path_PERL+:} false; then : 4076 $as_echo_n "(cached) " >&6 4077else 4078 case $PERL in 4079 [\\/]* | ?:[\\/]*) 4080 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 4081 ;; 4082 *) 4083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4084for as_dir in $LPATH 4085do 4086 IFS=$as_save_IFS 4087 test -z "$as_dir" && as_dir=. 4088 for ac_exec_ext in '' $ac_executable_extensions; do 4089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4090 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 4091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4092 break 2 4093 fi 4094done 4095 done 4096IFS=$as_save_IFS 4097 4098 ;; 4099esac 4100fi 4101PERL=$ac_cv_path_PERL 4102if test -n "$PERL"; then 4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 4104$as_echo "$PERL" >&6; } 4105else 4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4107$as_echo "no" >&6; } 4108fi 4109 4110 4111 test -n "$PERL" && break 4112done 4113test -n "$PERL" || PERL="perl" 4114 4115 4116for ac_prog in cat 4117do 4118 # Extract the first word of "$ac_prog", so it can be a program name with args. 4119set dummy $ac_prog; ac_word=$2 4120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4121$as_echo_n "checking for $ac_word... " >&6; } 4122if ${ac_cv_path_CAT+:} false; then : 4123 $as_echo_n "(cached) " >&6 4124else 4125 case $CAT in 4126 [\\/]* | ?:[\\/]*) 4127 ac_cv_path_CAT="$CAT" # Let the user override the test with a path. 4128 ;; 4129 *) 4130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4131for as_dir in $PATH 4132do 4133 IFS=$as_save_IFS 4134 test -z "$as_dir" && as_dir=. 4135 for ac_exec_ext in '' $ac_executable_extensions; do 4136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4137 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext" 4138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4139 break 2 4140 fi 4141done 4142 done 4143IFS=$as_save_IFS 4144 4145 ;; 4146esac 4147fi 4148CAT=$ac_cv_path_CAT 4149if test -n "$CAT"; then 4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5 4151$as_echo "$CAT" >&6; } 4152else 4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4154$as_echo "no" >&6; } 4155fi 4156 4157 4158 test -n "$CAT" && break 4159done 4160test -n "$CAT" || CAT="cat" 4161 4162enable_dlopen=yes 4163 4164 4165 4166case `pwd` in 4167 *\ * | *\ *) 4168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4169$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4170esac 4171 4172 4173 4174macro_version='2.4.6' 4175macro_revision='2.4.6' 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189ltmain=$ac_aux_dir/ltmain.sh 4190 4191# Make sure we can run config.sub. 4192$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4193 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4194 4195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4196$as_echo_n "checking build system type... " >&6; } 4197if ${ac_cv_build+:} false; then : 4198 $as_echo_n "(cached) " >&6 4199else 4200 ac_build_alias=$build_alias 4201test "x$ac_build_alias" = x && 4202 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4203test "x$ac_build_alias" = x && 4204 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4205ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4206 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4207 4208fi 4209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4210$as_echo "$ac_cv_build" >&6; } 4211case $ac_cv_build in 4212*-*-*) ;; 4213*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4214esac 4215build=$ac_cv_build 4216ac_save_IFS=$IFS; IFS='-' 4217set x $ac_cv_build 4218shift 4219build_cpu=$1 4220build_vendor=$2 4221shift; shift 4222# Remember, the first character of IFS is used to create $*, 4223# except with old shells: 4224build_os=$* 4225IFS=$ac_save_IFS 4226case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4227 4228 4229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4230$as_echo_n "checking host system type... " >&6; } 4231if ${ac_cv_host+:} false; then : 4232 $as_echo_n "(cached) " >&6 4233else 4234 if test "x$host_alias" = x; then 4235 ac_cv_host=$ac_cv_build 4236else 4237 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4238 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4239fi 4240 4241fi 4242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4243$as_echo "$ac_cv_host" >&6; } 4244case $ac_cv_host in 4245*-*-*) ;; 4246*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4247esac 4248host=$ac_cv_host 4249ac_save_IFS=$IFS; IFS='-' 4250set x $ac_cv_host 4251shift 4252host_cpu=$1 4253host_vendor=$2 4254shift; shift 4255# Remember, the first character of IFS is used to create $*, 4256# except with old shells: 4257host_os=$* 4258IFS=$ac_save_IFS 4259case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4260 4261 4262# Backslashify metacharacters that are still active within 4263# double-quoted strings. 4264sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4265 4266# Same as above, but do not quote variable references. 4267double_quote_subst='s/\(["`\\]\)/\\\1/g' 4268 4269# Sed substitution to delay expansion of an escaped shell variable in a 4270# double_quote_subst'ed string. 4271delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4272 4273# Sed substitution to delay expansion of an escaped single quote. 4274delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4275 4276# Sed substitution to avoid accidental globbing in evaled expressions 4277no_glob_subst='s/\*/\\\*/g' 4278 4279ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4280ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4281ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4282 4283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4284$as_echo_n "checking how to print strings... " >&6; } 4285# Test print first, because it will be a builtin if present. 4286if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4287 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4288 ECHO='print -r --' 4289elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4290 ECHO='printf %s\n' 4291else 4292 # Use this function as a fallback that always works. 4293 func_fallback_echo () 4294 { 4295 eval 'cat <<_LTECHO_EOF 4296$1 4297_LTECHO_EOF' 4298 } 4299 ECHO='func_fallback_echo' 4300fi 4301 4302# func_echo_all arg... 4303# Invoke $ECHO with all args, space-separated. 4304func_echo_all () 4305{ 4306 $ECHO "" 4307} 4308 4309case $ECHO in 4310 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4311$as_echo "printf" >&6; } ;; 4312 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4313$as_echo "print -r" >&6; } ;; 4314 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4315$as_echo "cat" >&6; } ;; 4316esac 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4332$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4333if ${ac_cv_path_SED+:} false; then : 4334 $as_echo_n "(cached) " >&6 4335else 4336 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4337 for ac_i in 1 2 3 4 5 6 7; do 4338 ac_script="$ac_script$as_nl$ac_script" 4339 done 4340 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4341 { ac_script=; unset ac_script;} 4342 if test -z "$SED"; then 4343 ac_path_SED_found=false 4344 # Loop through the user's path and test for each of PROGNAME-LIST 4345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4346for as_dir in $PATH 4347do 4348 IFS=$as_save_IFS 4349 test -z "$as_dir" && as_dir=. 4350 for ac_prog in sed gsed; do 4351 for ac_exec_ext in '' $ac_executable_extensions; do 4352 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4353 as_fn_executable_p "$ac_path_SED" || continue 4354# Check for GNU ac_path_SED and select it if it is found. 4355 # Check for GNU $ac_path_SED 4356case `"$ac_path_SED" --version 2>&1` in 4357*GNU*) 4358 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4359*) 4360 ac_count=0 4361 $as_echo_n 0123456789 >"conftest.in" 4362 while : 4363 do 4364 cat "conftest.in" "conftest.in" >"conftest.tmp" 4365 mv "conftest.tmp" "conftest.in" 4366 cp "conftest.in" "conftest.nl" 4367 $as_echo '' >> "conftest.nl" 4368 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4369 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4370 as_fn_arith $ac_count + 1 && ac_count=$as_val 4371 if test $ac_count -gt ${ac_path_SED_max-0}; then 4372 # Best one so far, save it but keep looking for a better one 4373 ac_cv_path_SED="$ac_path_SED" 4374 ac_path_SED_max=$ac_count 4375 fi 4376 # 10*(2^10) chars as input seems more than enough 4377 test $ac_count -gt 10 && break 4378 done 4379 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4380esac 4381 4382 $ac_path_SED_found && break 3 4383 done 4384 done 4385 done 4386IFS=$as_save_IFS 4387 if test -z "$ac_cv_path_SED"; then 4388 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4389 fi 4390else 4391 ac_cv_path_SED=$SED 4392fi 4393 4394fi 4395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4396$as_echo "$ac_cv_path_SED" >&6; } 4397 SED="$ac_cv_path_SED" 4398 rm -f conftest.sed 4399 4400test -z "$SED" && SED=sed 4401Xsed="$SED -e 1s/^X//" 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4414$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4415if ${ac_cv_path_GREP+:} false; then : 4416 $as_echo_n "(cached) " >&6 4417else 4418 if test -z "$GREP"; then 4419 ac_path_GREP_found=false 4420 # Loop through the user's path and test for each of PROGNAME-LIST 4421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4422for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4423do 4424 IFS=$as_save_IFS 4425 test -z "$as_dir" && as_dir=. 4426 for ac_prog in grep ggrep; do 4427 for ac_exec_ext in '' $ac_executable_extensions; do 4428 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4429 as_fn_executable_p "$ac_path_GREP" || continue 4430# Check for GNU ac_path_GREP and select it if it is found. 4431 # Check for GNU $ac_path_GREP 4432case `"$ac_path_GREP" --version 2>&1` in 4433*GNU*) 4434 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4435*) 4436 ac_count=0 4437 $as_echo_n 0123456789 >"conftest.in" 4438 while : 4439 do 4440 cat "conftest.in" "conftest.in" >"conftest.tmp" 4441 mv "conftest.tmp" "conftest.in" 4442 cp "conftest.in" "conftest.nl" 4443 $as_echo 'GREP' >> "conftest.nl" 4444 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4445 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4446 as_fn_arith $ac_count + 1 && ac_count=$as_val 4447 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4448 # Best one so far, save it but keep looking for a better one 4449 ac_cv_path_GREP="$ac_path_GREP" 4450 ac_path_GREP_max=$ac_count 4451 fi 4452 # 10*(2^10) chars as input seems more than enough 4453 test $ac_count -gt 10 && break 4454 done 4455 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4456esac 4457 4458 $ac_path_GREP_found && break 3 4459 done 4460 done 4461 done 4462IFS=$as_save_IFS 4463 if test -z "$ac_cv_path_GREP"; then 4464 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4465 fi 4466else 4467 ac_cv_path_GREP=$GREP 4468fi 4469 4470fi 4471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4472$as_echo "$ac_cv_path_GREP" >&6; } 4473 GREP="$ac_cv_path_GREP" 4474 4475 4476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4477$as_echo_n "checking for egrep... " >&6; } 4478if ${ac_cv_path_EGREP+:} false; then : 4479 $as_echo_n "(cached) " >&6 4480else 4481 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4482 then ac_cv_path_EGREP="$GREP -E" 4483 else 4484 if test -z "$EGREP"; then 4485 ac_path_EGREP_found=false 4486 # Loop through the user's path and test for each of PROGNAME-LIST 4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4488for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4489do 4490 IFS=$as_save_IFS 4491 test -z "$as_dir" && as_dir=. 4492 for ac_prog in egrep; do 4493 for ac_exec_ext in '' $ac_executable_extensions; do 4494 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4495 as_fn_executable_p "$ac_path_EGREP" || continue 4496# Check for GNU ac_path_EGREP and select it if it is found. 4497 # Check for GNU $ac_path_EGREP 4498case `"$ac_path_EGREP" --version 2>&1` in 4499*GNU*) 4500 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4501*) 4502 ac_count=0 4503 $as_echo_n 0123456789 >"conftest.in" 4504 while : 4505 do 4506 cat "conftest.in" "conftest.in" >"conftest.tmp" 4507 mv "conftest.tmp" "conftest.in" 4508 cp "conftest.in" "conftest.nl" 4509 $as_echo 'EGREP' >> "conftest.nl" 4510 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4511 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4512 as_fn_arith $ac_count + 1 && ac_count=$as_val 4513 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4514 # Best one so far, save it but keep looking for a better one 4515 ac_cv_path_EGREP="$ac_path_EGREP" 4516 ac_path_EGREP_max=$ac_count 4517 fi 4518 # 10*(2^10) chars as input seems more than enough 4519 test $ac_count -gt 10 && break 4520 done 4521 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4522esac 4523 4524 $ac_path_EGREP_found && break 3 4525 done 4526 done 4527 done 4528IFS=$as_save_IFS 4529 if test -z "$ac_cv_path_EGREP"; then 4530 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4531 fi 4532else 4533 ac_cv_path_EGREP=$EGREP 4534fi 4535 4536 fi 4537fi 4538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4539$as_echo "$ac_cv_path_EGREP" >&6; } 4540 EGREP="$ac_cv_path_EGREP" 4541 4542 4543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4544$as_echo_n "checking for fgrep... " >&6; } 4545if ${ac_cv_path_FGREP+:} false; then : 4546 $as_echo_n "(cached) " >&6 4547else 4548 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4549 then ac_cv_path_FGREP="$GREP -F" 4550 else 4551 if test -z "$FGREP"; then 4552 ac_path_FGREP_found=false 4553 # Loop through the user's path and test for each of PROGNAME-LIST 4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4555for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4556do 4557 IFS=$as_save_IFS 4558 test -z "$as_dir" && as_dir=. 4559 for ac_prog in fgrep; do 4560 for ac_exec_ext in '' $ac_executable_extensions; do 4561 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4562 as_fn_executable_p "$ac_path_FGREP" || continue 4563# Check for GNU ac_path_FGREP and select it if it is found. 4564 # Check for GNU $ac_path_FGREP 4565case `"$ac_path_FGREP" --version 2>&1` in 4566*GNU*) 4567 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4568*) 4569 ac_count=0 4570 $as_echo_n 0123456789 >"conftest.in" 4571 while : 4572 do 4573 cat "conftest.in" "conftest.in" >"conftest.tmp" 4574 mv "conftest.tmp" "conftest.in" 4575 cp "conftest.in" "conftest.nl" 4576 $as_echo 'FGREP' >> "conftest.nl" 4577 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4578 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4579 as_fn_arith $ac_count + 1 && ac_count=$as_val 4580 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4581 # Best one so far, save it but keep looking for a better one 4582 ac_cv_path_FGREP="$ac_path_FGREP" 4583 ac_path_FGREP_max=$ac_count 4584 fi 4585 # 10*(2^10) chars as input seems more than enough 4586 test $ac_count -gt 10 && break 4587 done 4588 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4589esac 4590 4591 $ac_path_FGREP_found && break 3 4592 done 4593 done 4594 done 4595IFS=$as_save_IFS 4596 if test -z "$ac_cv_path_FGREP"; then 4597 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4598 fi 4599else 4600 ac_cv_path_FGREP=$FGREP 4601fi 4602 4603 fi 4604fi 4605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4606$as_echo "$ac_cv_path_FGREP" >&6; } 4607 FGREP="$ac_cv_path_FGREP" 4608 4609 4610test -z "$GREP" && GREP=grep 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630# Check whether --with-gnu-ld was given. 4631if test "${with_gnu_ld+set}" = set; then : 4632 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4633else 4634 with_gnu_ld=no 4635fi 4636 4637ac_prog=ld 4638if test yes = "$GCC"; then 4639 # Check if gcc -print-prog-name=ld gives a path. 4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4641$as_echo_n "checking for ld used by $CC... " >&6; } 4642 case $host in 4643 *-*-mingw*) 4644 # gcc leaves a trailing carriage return, which upsets mingw 4645 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4646 *) 4647 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4648 esac 4649 case $ac_prog in 4650 # Accept absolute paths. 4651 [\\/]* | ?:[\\/]*) 4652 re_direlt='/[^/][^/]*/\.\./' 4653 # Canonicalize the pathname of ld 4654 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4655 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4656 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4657 done 4658 test -z "$LD" && LD=$ac_prog 4659 ;; 4660 "") 4661 # If it fails, then pretend we aren't using GCC. 4662 ac_prog=ld 4663 ;; 4664 *) 4665 # If it is relative, then search for the first ld in PATH. 4666 with_gnu_ld=unknown 4667 ;; 4668 esac 4669elif test yes = "$with_gnu_ld"; then 4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4671$as_echo_n "checking for GNU ld... " >&6; } 4672else 4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4674$as_echo_n "checking for non-GNU ld... " >&6; } 4675fi 4676if ${lt_cv_path_LD+:} false; then : 4677 $as_echo_n "(cached) " >&6 4678else 4679 if test -z "$LD"; then 4680 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4681 for ac_dir in $PATH; do 4682 IFS=$lt_save_ifs 4683 test -z "$ac_dir" && ac_dir=. 4684 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4685 lt_cv_path_LD=$ac_dir/$ac_prog 4686 # Check to see if the program is GNU ld. I'd rather use --version, 4687 # but apparently some variants of GNU ld only accept -v. 4688 # Break only if it was the GNU/non-GNU ld that we prefer. 4689 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4690 *GNU* | *'with BFD'*) 4691 test no != "$with_gnu_ld" && break 4692 ;; 4693 *) 4694 test yes != "$with_gnu_ld" && break 4695 ;; 4696 esac 4697 fi 4698 done 4699 IFS=$lt_save_ifs 4700else 4701 lt_cv_path_LD=$LD # Let the user override the test with a path. 4702fi 4703fi 4704 4705LD=$lt_cv_path_LD 4706if test -n "$LD"; then 4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4708$as_echo "$LD" >&6; } 4709else 4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4711$as_echo "no" >&6; } 4712fi 4713test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4715$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4716if ${lt_cv_prog_gnu_ld+:} false; then : 4717 $as_echo_n "(cached) " >&6 4718else 4719 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4720case `$LD -v 2>&1 </dev/null` in 4721*GNU* | *'with BFD'*) 4722 lt_cv_prog_gnu_ld=yes 4723 ;; 4724*) 4725 lt_cv_prog_gnu_ld=no 4726 ;; 4727esac 4728fi 4729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4730$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4731with_gnu_ld=$lt_cv_prog_gnu_ld 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4742$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4743if ${lt_cv_path_NM+:} false; then : 4744 $as_echo_n "(cached) " >&6 4745else 4746 if test -n "$NM"; then 4747 # Let the user override the test. 4748 lt_cv_path_NM=$NM 4749else 4750 lt_nm_to_check=${ac_tool_prefix}nm 4751 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4752 lt_nm_to_check="$lt_nm_to_check nm" 4753 fi 4754 for lt_tmp_nm in $lt_nm_to_check; do 4755 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4756 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4757 IFS=$lt_save_ifs 4758 test -z "$ac_dir" && ac_dir=. 4759 tmp_nm=$ac_dir/$lt_tmp_nm 4760 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4761 # Check to see if the nm accepts a BSD-compat flag. 4762 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4763 # nm: unknown option "B" ignored 4764 # Tru64's nm complains that /dev/null is an invalid object file 4765 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4766 case $build_os in 4767 mingw*) lt_bad_file=conftest.nm/nofile ;; 4768 *) lt_bad_file=/dev/null ;; 4769 esac 4770 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4771 *$lt_bad_file* | *'Invalid file or object type'*) 4772 lt_cv_path_NM="$tmp_nm -B" 4773 break 2 4774 ;; 4775 *) 4776 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4777 */dev/null*) 4778 lt_cv_path_NM="$tmp_nm -p" 4779 break 2 4780 ;; 4781 *) 4782 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4783 continue # so that we can try to find one that supports BSD flags 4784 ;; 4785 esac 4786 ;; 4787 esac 4788 fi 4789 done 4790 IFS=$lt_save_ifs 4791 done 4792 : ${lt_cv_path_NM=no} 4793fi 4794fi 4795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4796$as_echo "$lt_cv_path_NM" >&6; } 4797if test no != "$lt_cv_path_NM"; then 4798 NM=$lt_cv_path_NM 4799else 4800 # Didn't find any BSD compatible name lister, look for dumpbin. 4801 if test -n "$DUMPBIN"; then : 4802 # Let the user override the test. 4803 else 4804 if test -n "$ac_tool_prefix"; then 4805 for ac_prog in dumpbin "link -dump" 4806 do 4807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4808set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4810$as_echo_n "checking for $ac_word... " >&6; } 4811if ${ac_cv_prog_DUMPBIN+:} false; then : 4812 $as_echo_n "(cached) " >&6 4813else 4814 if test -n "$DUMPBIN"; then 4815 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4816else 4817as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4818for as_dir in $PATH 4819do 4820 IFS=$as_save_IFS 4821 test -z "$as_dir" && as_dir=. 4822 for ac_exec_ext in '' $ac_executable_extensions; do 4823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4824 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4826 break 2 4827 fi 4828done 4829 done 4830IFS=$as_save_IFS 4831 4832fi 4833fi 4834DUMPBIN=$ac_cv_prog_DUMPBIN 4835if test -n "$DUMPBIN"; then 4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4837$as_echo "$DUMPBIN" >&6; } 4838else 4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4840$as_echo "no" >&6; } 4841fi 4842 4843 4844 test -n "$DUMPBIN" && break 4845 done 4846fi 4847if test -z "$DUMPBIN"; then 4848 ac_ct_DUMPBIN=$DUMPBIN 4849 for ac_prog in dumpbin "link -dump" 4850do 4851 # Extract the first word of "$ac_prog", so it can be a program name with args. 4852set dummy $ac_prog; ac_word=$2 4853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4854$as_echo_n "checking for $ac_word... " >&6; } 4855if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4856 $as_echo_n "(cached) " >&6 4857else 4858 if test -n "$ac_ct_DUMPBIN"; then 4859 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4860else 4861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4862for as_dir in $PATH 4863do 4864 IFS=$as_save_IFS 4865 test -z "$as_dir" && as_dir=. 4866 for ac_exec_ext in '' $ac_executable_extensions; do 4867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4868 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4870 break 2 4871 fi 4872done 4873 done 4874IFS=$as_save_IFS 4875 4876fi 4877fi 4878ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4879if test -n "$ac_ct_DUMPBIN"; then 4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4881$as_echo "$ac_ct_DUMPBIN" >&6; } 4882else 4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4884$as_echo "no" >&6; } 4885fi 4886 4887 4888 test -n "$ac_ct_DUMPBIN" && break 4889done 4890 4891 if test "x$ac_ct_DUMPBIN" = x; then 4892 DUMPBIN=":" 4893 else 4894 case $cross_compiling:$ac_tool_warned in 4895yes:) 4896{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4897$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4898ac_tool_warned=yes ;; 4899esac 4900 DUMPBIN=$ac_ct_DUMPBIN 4901 fi 4902fi 4903 4904 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4905 *COFF*) 4906 DUMPBIN="$DUMPBIN -symbols -headers" 4907 ;; 4908 *) 4909 DUMPBIN=: 4910 ;; 4911 esac 4912 fi 4913 4914 if test : != "$DUMPBIN"; then 4915 NM=$DUMPBIN 4916 fi 4917fi 4918test -z "$NM" && NM=nm 4919 4920 4921 4922 4923 4924 4925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4926$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4927if ${lt_cv_nm_interface+:} false; then : 4928 $as_echo_n "(cached) " >&6 4929else 4930 lt_cv_nm_interface="BSD nm" 4931 echo "int some_variable = 0;" > conftest.$ac_ext 4932 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4933 (eval "$ac_compile" 2>conftest.err) 4934 cat conftest.err >&5 4935 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4936 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4937 cat conftest.err >&5 4938 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4939 cat conftest.out >&5 4940 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4941 lt_cv_nm_interface="MS dumpbin" 4942 fi 4943 rm -f conftest* 4944fi 4945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4946$as_echo "$lt_cv_nm_interface" >&6; } 4947 4948# find the maximum length of command line arguments 4949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4950$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4951if ${lt_cv_sys_max_cmd_len+:} false; then : 4952 $as_echo_n "(cached) " >&6 4953else 4954 i=0 4955 teststring=ABCD 4956 4957 case $build_os in 4958 msdosdjgpp*) 4959 # On DJGPP, this test can blow up pretty badly due to problems in libc 4960 # (any single argument exceeding 2000 bytes causes a buffer overrun 4961 # during glob expansion). Even if it were fixed, the result of this 4962 # check would be larger than it should be. 4963 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4964 ;; 4965 4966 gnu*) 4967 # Under GNU Hurd, this test is not required because there is 4968 # no limit to the length of command line arguments. 4969 # Libtool will interpret -1 as no limit whatsoever 4970 lt_cv_sys_max_cmd_len=-1; 4971 ;; 4972 4973 cygwin* | mingw* | cegcc*) 4974 # On Win9x/ME, this test blows up -- it succeeds, but takes 4975 # about 5 minutes as the teststring grows exponentially. 4976 # Worse, since 9x/ME are not pre-emptively multitasking, 4977 # you end up with a "frozen" computer, even though with patience 4978 # the test eventually succeeds (with a max line length of 256k). 4979 # Instead, let's just punt: use the minimum linelength reported by 4980 # all of the supported platforms: 8192 (on NT/2K/XP). 4981 lt_cv_sys_max_cmd_len=8192; 4982 ;; 4983 4984 mint*) 4985 # On MiNT this can take a long time and run out of memory. 4986 lt_cv_sys_max_cmd_len=8192; 4987 ;; 4988 4989 amigaos*) 4990 # On AmigaOS with pdksh, this test takes hours, literally. 4991 # So we just punt and use a minimum line length of 8192. 4992 lt_cv_sys_max_cmd_len=8192; 4993 ;; 4994 4995 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4996 # This has been around since 386BSD, at least. Likely further. 4997 if test -x /sbin/sysctl; then 4998 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4999 elif test -x /usr/sbin/sysctl; then 5000 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5001 else 5002 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5003 fi 5004 # And add a safety zone 5005 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5006 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5007 ;; 5008 5009 interix*) 5010 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5011 lt_cv_sys_max_cmd_len=196608 5012 ;; 5013 5014 os2*) 5015 # The test takes a long time on OS/2. 5016 lt_cv_sys_max_cmd_len=8192 5017 ;; 5018 5019 osf*) 5020 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5021 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5022 # nice to cause kernel panics so lets avoid the loop below. 5023 # First set a reasonable default. 5024 lt_cv_sys_max_cmd_len=16384 5025 # 5026 if test -x /sbin/sysconfig; then 5027 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5028 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5029 esac 5030 fi 5031 ;; 5032 sco3.2v5*) 5033 lt_cv_sys_max_cmd_len=102400 5034 ;; 5035 sysv5* | sco5v6* | sysv4.2uw2*) 5036 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5037 if test -n "$kargmax"; then 5038 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5039 else 5040 lt_cv_sys_max_cmd_len=32768 5041 fi 5042 ;; 5043 *) 5044 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5045 if test -n "$lt_cv_sys_max_cmd_len" && \ 5046 test undefined != "$lt_cv_sys_max_cmd_len"; then 5047 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5048 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5049 else 5050 # Make teststring a little bigger before we do anything with it. 5051 # a 1K string should be a reasonable start. 5052 for i in 1 2 3 4 5 6 7 8; do 5053 teststring=$teststring$teststring 5054 done 5055 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5056 # If test is not a shell built-in, we'll probably end up computing a 5057 # maximum length that is only half of the actual maximum length, but 5058 # we can't tell. 5059 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5060 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5061 test 17 != "$i" # 1/2 MB should be enough 5062 do 5063 i=`expr $i + 1` 5064 teststring=$teststring$teststring 5065 done 5066 # Only check the string length outside the loop. 5067 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5068 teststring= 5069 # Add a significant safety factor because C++ compilers can tack on 5070 # massive amounts of additional arguments before passing them to the 5071 # linker. It appears as though 1/2 is a usable value. 5072 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5073 fi 5074 ;; 5075 esac 5076 5077fi 5078 5079if test -n "$lt_cv_sys_max_cmd_len"; then 5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5081$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5082else 5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5084$as_echo "none" >&6; } 5085fi 5086max_cmd_len=$lt_cv_sys_max_cmd_len 5087 5088 5089 5090 5091 5092 5093: ${CP="cp -f"} 5094: ${MV="mv -f"} 5095: ${RM="rm -f"} 5096 5097if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5098 lt_unset=unset 5099else 5100 lt_unset=false 5101fi 5102 5103 5104 5105 5106 5107# test EBCDIC or ASCII 5108case `echo X|tr X '\101'` in 5109 A) # ASCII based system 5110 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5111 lt_SP2NL='tr \040 \012' 5112 lt_NL2SP='tr \015\012 \040\040' 5113 ;; 5114 *) # EBCDIC based system 5115 lt_SP2NL='tr \100 \n' 5116 lt_NL2SP='tr \r\n \100\100' 5117 ;; 5118esac 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5129$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5130if ${lt_cv_to_host_file_cmd+:} false; then : 5131 $as_echo_n "(cached) " >&6 5132else 5133 case $host in 5134 *-*-mingw* ) 5135 case $build in 5136 *-*-mingw* ) # actually msys 5137 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5138 ;; 5139 *-*-cygwin* ) 5140 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5141 ;; 5142 * ) # otherwise, assume *nix 5143 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5144 ;; 5145 esac 5146 ;; 5147 *-*-cygwin* ) 5148 case $build in 5149 *-*-mingw* ) # actually msys 5150 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5151 ;; 5152 *-*-cygwin* ) 5153 lt_cv_to_host_file_cmd=func_convert_file_noop 5154 ;; 5155 * ) # otherwise, assume *nix 5156 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5157 ;; 5158 esac 5159 ;; 5160 * ) # unhandled hosts (and "normal" native builds) 5161 lt_cv_to_host_file_cmd=func_convert_file_noop 5162 ;; 5163esac 5164 5165fi 5166 5167to_host_file_cmd=$lt_cv_to_host_file_cmd 5168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5169$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5170 5171 5172 5173 5174 5175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5176$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5177if ${lt_cv_to_tool_file_cmd+:} false; then : 5178 $as_echo_n "(cached) " >&6 5179else 5180 #assume ordinary cross tools, or native build. 5181lt_cv_to_tool_file_cmd=func_convert_file_noop 5182case $host in 5183 *-*-mingw* ) 5184 case $build in 5185 *-*-mingw* ) # actually msys 5186 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5187 ;; 5188 esac 5189 ;; 5190esac 5191 5192fi 5193 5194to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5196$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5197 5198 5199 5200 5201 5202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5203$as_echo_n "checking for $LD option to reload object files... " >&6; } 5204if ${lt_cv_ld_reload_flag+:} false; then : 5205 $as_echo_n "(cached) " >&6 5206else 5207 lt_cv_ld_reload_flag='-r' 5208fi 5209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5210$as_echo "$lt_cv_ld_reload_flag" >&6; } 5211reload_flag=$lt_cv_ld_reload_flag 5212case $reload_flag in 5213"" | " "*) ;; 5214*) reload_flag=" $reload_flag" ;; 5215esac 5216reload_cmds='$LD$reload_flag -o $output$reload_objs' 5217case $host_os in 5218 cygwin* | mingw* | pw32* | cegcc*) 5219 if test yes != "$GCC"; then 5220 reload_cmds=false 5221 fi 5222 ;; 5223 darwin*) 5224 if test yes = "$GCC"; then 5225 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5226 else 5227 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5228 fi 5229 ;; 5230esac 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240if test -n "$ac_tool_prefix"; then 5241 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5242set dummy ${ac_tool_prefix}objdump; ac_word=$2 5243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5244$as_echo_n "checking for $ac_word... " >&6; } 5245if ${ac_cv_prog_OBJDUMP+:} false; then : 5246 $as_echo_n "(cached) " >&6 5247else 5248 if test -n "$OBJDUMP"; then 5249 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5250else 5251as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5252for as_dir in $PATH 5253do 5254 IFS=$as_save_IFS 5255 test -z "$as_dir" && as_dir=. 5256 for ac_exec_ext in '' $ac_executable_extensions; do 5257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5258 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5260 break 2 5261 fi 5262done 5263 done 5264IFS=$as_save_IFS 5265 5266fi 5267fi 5268OBJDUMP=$ac_cv_prog_OBJDUMP 5269if test -n "$OBJDUMP"; then 5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5271$as_echo "$OBJDUMP" >&6; } 5272else 5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5274$as_echo "no" >&6; } 5275fi 5276 5277 5278fi 5279if test -z "$ac_cv_prog_OBJDUMP"; then 5280 ac_ct_OBJDUMP=$OBJDUMP 5281 # Extract the first word of "objdump", so it can be a program name with args. 5282set dummy objdump; ac_word=$2 5283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5284$as_echo_n "checking for $ac_word... " >&6; } 5285if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5286 $as_echo_n "(cached) " >&6 5287else 5288 if test -n "$ac_ct_OBJDUMP"; then 5289 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5290else 5291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5292for as_dir in $PATH 5293do 5294 IFS=$as_save_IFS 5295 test -z "$as_dir" && as_dir=. 5296 for ac_exec_ext in '' $ac_executable_extensions; do 5297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5298 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5300 break 2 5301 fi 5302done 5303 done 5304IFS=$as_save_IFS 5305 5306fi 5307fi 5308ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5309if test -n "$ac_ct_OBJDUMP"; then 5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5311$as_echo "$ac_ct_OBJDUMP" >&6; } 5312else 5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5314$as_echo "no" >&6; } 5315fi 5316 5317 if test "x$ac_ct_OBJDUMP" = x; then 5318 OBJDUMP="false" 5319 else 5320 case $cross_compiling:$ac_tool_warned in 5321yes:) 5322{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5323$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5324ac_tool_warned=yes ;; 5325esac 5326 OBJDUMP=$ac_ct_OBJDUMP 5327 fi 5328else 5329 OBJDUMP="$ac_cv_prog_OBJDUMP" 5330fi 5331 5332test -z "$OBJDUMP" && OBJDUMP=objdump 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5343$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5344if ${lt_cv_deplibs_check_method+:} false; then : 5345 $as_echo_n "(cached) " >&6 5346else 5347 lt_cv_file_magic_cmd='$MAGIC_CMD' 5348lt_cv_file_magic_test_file= 5349lt_cv_deplibs_check_method='unknown' 5350# Need to set the preceding variable on all platforms that support 5351# interlibrary dependencies. 5352# 'none' -- dependencies not supported. 5353# 'unknown' -- same as none, but documents that we really don't know. 5354# 'pass_all' -- all dependencies passed with no checks. 5355# 'test_compile' -- check by making test program. 5356# 'file_magic [[regex]]' -- check by looking for files in library path 5357# that responds to the $file_magic_cmd with a given extended regex. 5358# If you have 'file' or equivalent on your system and you're not sure 5359# whether 'pass_all' will *always* work, you probably want this one. 5360 5361case $host_os in 5362aix[4-9]*) 5363 lt_cv_deplibs_check_method=pass_all 5364 ;; 5365 5366beos*) 5367 lt_cv_deplibs_check_method=pass_all 5368 ;; 5369 5370bsdi[45]*) 5371 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5372 lt_cv_file_magic_cmd='/usr/bin/file -L' 5373 lt_cv_file_magic_test_file=/shlib/libc.so 5374 ;; 5375 5376cygwin*) 5377 # func_win32_libid is a shell function defined in ltmain.sh 5378 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5379 lt_cv_file_magic_cmd='func_win32_libid' 5380 ;; 5381 5382mingw* | pw32*) 5383 # Base MSYS/MinGW do not provide the 'file' command needed by 5384 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5385 # unless we find 'file', for example because we are cross-compiling. 5386 if ( file / ) >/dev/null 2>&1; then 5387 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5388 lt_cv_file_magic_cmd='func_win32_libid' 5389 else 5390 # Keep this pattern in sync with the one in func_win32_libid. 5391 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5392 lt_cv_file_magic_cmd='$OBJDUMP -f' 5393 fi 5394 ;; 5395 5396cegcc*) 5397 # use the weaker test based on 'objdump'. See mingw*. 5398 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5399 lt_cv_file_magic_cmd='$OBJDUMP -f' 5400 ;; 5401 5402darwin* | rhapsody*) 5403 lt_cv_deplibs_check_method=pass_all 5404 ;; 5405 5406freebsd* | dragonfly*) 5407 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5408 case $host_cpu in 5409 i*86 ) 5410 # Not sure whether the presence of OpenBSD here was a mistake. 5411 # Let's accept both of them until this is cleared up. 5412 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5413 lt_cv_file_magic_cmd=/usr/bin/file 5414 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5415 ;; 5416 esac 5417 else 5418 lt_cv_deplibs_check_method=pass_all 5419 fi 5420 ;; 5421 5422haiku*) 5423 lt_cv_deplibs_check_method=pass_all 5424 ;; 5425 5426hpux10.20* | hpux11*) 5427 lt_cv_file_magic_cmd=/usr/bin/file 5428 case $host_cpu in 5429 ia64*) 5430 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5431 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5432 ;; 5433 hppa*64*) 5434 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]' 5435 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5436 ;; 5437 *) 5438 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5439 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5440 ;; 5441 esac 5442 ;; 5443 5444interix[3-9]*) 5445 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5446 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5447 ;; 5448 5449irix5* | irix6* | nonstopux*) 5450 case $LD in 5451 *-32|*"-32 ") libmagic=32-bit;; 5452 *-n32|*"-n32 ") libmagic=N32;; 5453 *-64|*"-64 ") libmagic=64-bit;; 5454 *) libmagic=never-match;; 5455 esac 5456 lt_cv_deplibs_check_method=pass_all 5457 ;; 5458 5459# This must be glibc/ELF. 5460linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5461 lt_cv_deplibs_check_method=pass_all 5462 ;; 5463 5464netbsd*) 5465 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5466 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5467 else 5468 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5469 fi 5470 ;; 5471 5472newos6*) 5473 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5474 lt_cv_file_magic_cmd=/usr/bin/file 5475 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5476 ;; 5477 5478*nto* | *qnx*) 5479 lt_cv_deplibs_check_method=pass_all 5480 ;; 5481 5482openbsd* | bitrig*) 5483 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5484 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5485 else 5486 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5487 fi 5488 ;; 5489 5490osf3* | osf4* | osf5*) 5491 lt_cv_deplibs_check_method=pass_all 5492 ;; 5493 5494rdos*) 5495 lt_cv_deplibs_check_method=pass_all 5496 ;; 5497 5498solaris*) 5499 lt_cv_deplibs_check_method=pass_all 5500 ;; 5501 5502sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5503 lt_cv_deplibs_check_method=pass_all 5504 ;; 5505 5506sysv4 | sysv4.3*) 5507 case $host_vendor in 5508 motorola) 5509 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]' 5510 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5511 ;; 5512 ncr) 5513 lt_cv_deplibs_check_method=pass_all 5514 ;; 5515 sequent) 5516 lt_cv_file_magic_cmd='/bin/file' 5517 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5518 ;; 5519 sni) 5520 lt_cv_file_magic_cmd='/bin/file' 5521 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5522 lt_cv_file_magic_test_file=/lib/libc.so 5523 ;; 5524 siemens) 5525 lt_cv_deplibs_check_method=pass_all 5526 ;; 5527 pc) 5528 lt_cv_deplibs_check_method=pass_all 5529 ;; 5530 esac 5531 ;; 5532 5533tpf*) 5534 lt_cv_deplibs_check_method=pass_all 5535 ;; 5536os2*) 5537 lt_cv_deplibs_check_method=pass_all 5538 ;; 5539esac 5540 5541fi 5542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5543$as_echo "$lt_cv_deplibs_check_method" >&6; } 5544 5545file_magic_glob= 5546want_nocaseglob=no 5547if test "$build" = "$host"; then 5548 case $host_os in 5549 mingw* | pw32*) 5550 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5551 want_nocaseglob=yes 5552 else 5553 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5554 fi 5555 ;; 5556 esac 5557fi 5558 5559file_magic_cmd=$lt_cv_file_magic_cmd 5560deplibs_check_method=$lt_cv_deplibs_check_method 5561test -z "$deplibs_check_method" && deplibs_check_method=unknown 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584if test -n "$ac_tool_prefix"; then 5585 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5586set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5588$as_echo_n "checking for $ac_word... " >&6; } 5589if ${ac_cv_prog_DLLTOOL+:} false; then : 5590 $as_echo_n "(cached) " >&6 5591else 5592 if test -n "$DLLTOOL"; then 5593 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5594else 5595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5596for as_dir in $PATH 5597do 5598 IFS=$as_save_IFS 5599 test -z "$as_dir" && as_dir=. 5600 for ac_exec_ext in '' $ac_executable_extensions; do 5601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5602 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5604 break 2 5605 fi 5606done 5607 done 5608IFS=$as_save_IFS 5609 5610fi 5611fi 5612DLLTOOL=$ac_cv_prog_DLLTOOL 5613if test -n "$DLLTOOL"; then 5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5615$as_echo "$DLLTOOL" >&6; } 5616else 5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5618$as_echo "no" >&6; } 5619fi 5620 5621 5622fi 5623if test -z "$ac_cv_prog_DLLTOOL"; then 5624 ac_ct_DLLTOOL=$DLLTOOL 5625 # Extract the first word of "dlltool", so it can be a program name with args. 5626set dummy dlltool; ac_word=$2 5627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5628$as_echo_n "checking for $ac_word... " >&6; } 5629if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5630 $as_echo_n "(cached) " >&6 5631else 5632 if test -n "$ac_ct_DLLTOOL"; then 5633 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5634else 5635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5636for as_dir in $PATH 5637do 5638 IFS=$as_save_IFS 5639 test -z "$as_dir" && as_dir=. 5640 for ac_exec_ext in '' $ac_executable_extensions; do 5641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5642 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5644 break 2 5645 fi 5646done 5647 done 5648IFS=$as_save_IFS 5649 5650fi 5651fi 5652ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5653if test -n "$ac_ct_DLLTOOL"; then 5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5655$as_echo "$ac_ct_DLLTOOL" >&6; } 5656else 5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5658$as_echo "no" >&6; } 5659fi 5660 5661 if test "x$ac_ct_DLLTOOL" = x; then 5662 DLLTOOL="false" 5663 else 5664 case $cross_compiling:$ac_tool_warned in 5665yes:) 5666{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5667$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5668ac_tool_warned=yes ;; 5669esac 5670 DLLTOOL=$ac_ct_DLLTOOL 5671 fi 5672else 5673 DLLTOOL="$ac_cv_prog_DLLTOOL" 5674fi 5675 5676test -z "$DLLTOOL" && DLLTOOL=dlltool 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5688$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5689if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5690 $as_echo_n "(cached) " >&6 5691else 5692 lt_cv_sharedlib_from_linklib_cmd='unknown' 5693 5694case $host_os in 5695cygwin* | mingw* | pw32* | cegcc*) 5696 # two different shell functions defined in ltmain.sh; 5697 # decide which one to use based on capabilities of $DLLTOOL 5698 case `$DLLTOOL --help 2>&1` in 5699 *--identify-strict*) 5700 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5701 ;; 5702 *) 5703 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5704 ;; 5705 esac 5706 ;; 5707*) 5708 # fallback: assume linklib IS sharedlib 5709 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5710 ;; 5711esac 5712 5713fi 5714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5715$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5716sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5717test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5718 5719 5720 5721 5722 5723 5724 5725 5726if test -n "$ac_tool_prefix"; then 5727 for ac_prog in ar 5728 do 5729 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5730set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5732$as_echo_n "checking for $ac_word... " >&6; } 5733if ${ac_cv_prog_AR+:} false; then : 5734 $as_echo_n "(cached) " >&6 5735else 5736 if test -n "$AR"; then 5737 ac_cv_prog_AR="$AR" # Let the user override the test. 5738else 5739as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5740for as_dir in $PATH 5741do 5742 IFS=$as_save_IFS 5743 test -z "$as_dir" && as_dir=. 5744 for ac_exec_ext in '' $ac_executable_extensions; do 5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5746 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5748 break 2 5749 fi 5750done 5751 done 5752IFS=$as_save_IFS 5753 5754fi 5755fi 5756AR=$ac_cv_prog_AR 5757if test -n "$AR"; then 5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5759$as_echo "$AR" >&6; } 5760else 5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5762$as_echo "no" >&6; } 5763fi 5764 5765 5766 test -n "$AR" && break 5767 done 5768fi 5769if test -z "$AR"; then 5770 ac_ct_AR=$AR 5771 for ac_prog in ar 5772do 5773 # Extract the first word of "$ac_prog", so it can be a program name with args. 5774set dummy $ac_prog; ac_word=$2 5775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5776$as_echo_n "checking for $ac_word... " >&6; } 5777if ${ac_cv_prog_ac_ct_AR+:} false; then : 5778 $as_echo_n "(cached) " >&6 5779else 5780 if test -n "$ac_ct_AR"; then 5781 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5782else 5783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5784for as_dir in $PATH 5785do 5786 IFS=$as_save_IFS 5787 test -z "$as_dir" && as_dir=. 5788 for ac_exec_ext in '' $ac_executable_extensions; do 5789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5790 ac_cv_prog_ac_ct_AR="$ac_prog" 5791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5792 break 2 5793 fi 5794done 5795 done 5796IFS=$as_save_IFS 5797 5798fi 5799fi 5800ac_ct_AR=$ac_cv_prog_ac_ct_AR 5801if test -n "$ac_ct_AR"; then 5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5803$as_echo "$ac_ct_AR" >&6; } 5804else 5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5806$as_echo "no" >&6; } 5807fi 5808 5809 5810 test -n "$ac_ct_AR" && break 5811done 5812 5813 if test "x$ac_ct_AR" = x; then 5814 AR="false" 5815 else 5816 case $cross_compiling:$ac_tool_warned in 5817yes:) 5818{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5819$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5820ac_tool_warned=yes ;; 5821esac 5822 AR=$ac_ct_AR 5823 fi 5824fi 5825 5826: ${AR=ar} 5827: ${AR_FLAGS=cru} 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5840$as_echo_n "checking for archiver @FILE support... " >&6; } 5841if ${lt_cv_ar_at_file+:} false; then : 5842 $as_echo_n "(cached) " >&6 5843else 5844 lt_cv_ar_at_file=no 5845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5846/* end confdefs.h. */ 5847 5848int 5849main () 5850{ 5851 5852 ; 5853 return 0; 5854} 5855_ACEOF 5856if ac_fn_c_try_compile "$LINENO"; then : 5857 echo conftest.$ac_objext > conftest.lst 5858 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5859 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5860 (eval $lt_ar_try) 2>&5 5861 ac_status=$? 5862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5863 test $ac_status = 0; } 5864 if test 0 -eq "$ac_status"; then 5865 # Ensure the archiver fails upon bogus file names. 5866 rm -f conftest.$ac_objext libconftest.a 5867 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5868 (eval $lt_ar_try) 2>&5 5869 ac_status=$? 5870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5871 test $ac_status = 0; } 5872 if test 0 -ne "$ac_status"; then 5873 lt_cv_ar_at_file=@ 5874 fi 5875 fi 5876 rm -f conftest.* libconftest.a 5877 5878fi 5879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5880 5881fi 5882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5883$as_echo "$lt_cv_ar_at_file" >&6; } 5884 5885if test no = "$lt_cv_ar_at_file"; then 5886 archiver_list_spec= 5887else 5888 archiver_list_spec=$lt_cv_ar_at_file 5889fi 5890 5891 5892 5893 5894 5895 5896 5897if test -n "$ac_tool_prefix"; then 5898 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5899set dummy ${ac_tool_prefix}strip; ac_word=$2 5900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5901$as_echo_n "checking for $ac_word... " >&6; } 5902if ${ac_cv_prog_STRIP+:} false; then : 5903 $as_echo_n "(cached) " >&6 5904else 5905 if test -n "$STRIP"; then 5906 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5907else 5908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5909for as_dir in $PATH 5910do 5911 IFS=$as_save_IFS 5912 test -z "$as_dir" && as_dir=. 5913 for ac_exec_ext in '' $ac_executable_extensions; do 5914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5915 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5917 break 2 5918 fi 5919done 5920 done 5921IFS=$as_save_IFS 5922 5923fi 5924fi 5925STRIP=$ac_cv_prog_STRIP 5926if test -n "$STRIP"; then 5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5928$as_echo "$STRIP" >&6; } 5929else 5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5931$as_echo "no" >&6; } 5932fi 5933 5934 5935fi 5936if test -z "$ac_cv_prog_STRIP"; then 5937 ac_ct_STRIP=$STRIP 5938 # Extract the first word of "strip", so it can be a program name with args. 5939set dummy strip; ac_word=$2 5940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5941$as_echo_n "checking for $ac_word... " >&6; } 5942if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5943 $as_echo_n "(cached) " >&6 5944else 5945 if test -n "$ac_ct_STRIP"; then 5946 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5947else 5948as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5949for as_dir in $PATH 5950do 5951 IFS=$as_save_IFS 5952 test -z "$as_dir" && as_dir=. 5953 for ac_exec_ext in '' $ac_executable_extensions; do 5954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5955 ac_cv_prog_ac_ct_STRIP="strip" 5956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5957 break 2 5958 fi 5959done 5960 done 5961IFS=$as_save_IFS 5962 5963fi 5964fi 5965ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5966if test -n "$ac_ct_STRIP"; then 5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5968$as_echo "$ac_ct_STRIP" >&6; } 5969else 5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5971$as_echo "no" >&6; } 5972fi 5973 5974 if test "x$ac_ct_STRIP" = x; then 5975 STRIP=":" 5976 else 5977 case $cross_compiling:$ac_tool_warned in 5978yes:) 5979{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5980$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5981ac_tool_warned=yes ;; 5982esac 5983 STRIP=$ac_ct_STRIP 5984 fi 5985else 5986 STRIP="$ac_cv_prog_STRIP" 5987fi 5988 5989test -z "$STRIP" && STRIP=: 5990 5991 5992 5993 5994 5995 5996if test -n "$ac_tool_prefix"; then 5997 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5998set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6000$as_echo_n "checking for $ac_word... " >&6; } 6001if ${ac_cv_prog_RANLIB+:} false; then : 6002 $as_echo_n "(cached) " >&6 6003else 6004 if test -n "$RANLIB"; then 6005 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6006else 6007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6008for as_dir in $PATH 6009do 6010 IFS=$as_save_IFS 6011 test -z "$as_dir" && as_dir=. 6012 for ac_exec_ext in '' $ac_executable_extensions; do 6013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6014 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6016 break 2 6017 fi 6018done 6019 done 6020IFS=$as_save_IFS 6021 6022fi 6023fi 6024RANLIB=$ac_cv_prog_RANLIB 6025if test -n "$RANLIB"; then 6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6027$as_echo "$RANLIB" >&6; } 6028else 6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6030$as_echo "no" >&6; } 6031fi 6032 6033 6034fi 6035if test -z "$ac_cv_prog_RANLIB"; then 6036 ac_ct_RANLIB=$RANLIB 6037 # Extract the first word of "ranlib", so it can be a program name with args. 6038set dummy ranlib; ac_word=$2 6039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6040$as_echo_n "checking for $ac_word... " >&6; } 6041if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6042 $as_echo_n "(cached) " >&6 6043else 6044 if test -n "$ac_ct_RANLIB"; then 6045 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6046else 6047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6048for as_dir in $PATH 6049do 6050 IFS=$as_save_IFS 6051 test -z "$as_dir" && as_dir=. 6052 for ac_exec_ext in '' $ac_executable_extensions; do 6053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6054 ac_cv_prog_ac_ct_RANLIB="ranlib" 6055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6056 break 2 6057 fi 6058done 6059 done 6060IFS=$as_save_IFS 6061 6062fi 6063fi 6064ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6065if test -n "$ac_ct_RANLIB"; then 6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6067$as_echo "$ac_ct_RANLIB" >&6; } 6068else 6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6070$as_echo "no" >&6; } 6071fi 6072 6073 if test "x$ac_ct_RANLIB" = x; then 6074 RANLIB=":" 6075 else 6076 case $cross_compiling:$ac_tool_warned in 6077yes:) 6078{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6079$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6080ac_tool_warned=yes ;; 6081esac 6082 RANLIB=$ac_ct_RANLIB 6083 fi 6084else 6085 RANLIB="$ac_cv_prog_RANLIB" 6086fi 6087 6088test -z "$RANLIB" && RANLIB=: 6089 6090 6091 6092 6093 6094 6095# Determine commands to create old-style static archives. 6096old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6097old_postinstall_cmds='chmod 644 $oldlib' 6098old_postuninstall_cmds= 6099 6100if test -n "$RANLIB"; then 6101 case $host_os in 6102 bitrig* | openbsd*) 6103 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6104 ;; 6105 *) 6106 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6107 ;; 6108 esac 6109 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6110fi 6111 6112case $host_os in 6113 darwin*) 6114 lock_old_archive_extraction=yes ;; 6115 *) 6116 lock_old_archive_extraction=no ;; 6117esac 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157# If no C compiler was specified, use CC. 6158LTCC=${LTCC-"$CC"} 6159 6160# If no C compiler flags were specified, use CFLAGS. 6161LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6162 6163# Allow CC to be a program name with arguments. 6164compiler=$CC 6165 6166 6167# Check for command to grab the raw symbol name followed by C symbol from nm. 6168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6169$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6170if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6171 $as_echo_n "(cached) " >&6 6172else 6173 6174# These are sane defaults that work on at least a few old systems. 6175# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6176 6177# Character class describing NM global symbol codes. 6178symcode='[BCDEGRST]' 6179 6180# Regexp to match symbols that can be accessed directly from C. 6181sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6182 6183# Define system-specific variables. 6184case $host_os in 6185aix*) 6186 symcode='[BCDT]' 6187 ;; 6188cygwin* | mingw* | pw32* | cegcc*) 6189 symcode='[ABCDGISTW]' 6190 ;; 6191hpux*) 6192 if test ia64 = "$host_cpu"; then 6193 symcode='[ABCDEGRST]' 6194 fi 6195 ;; 6196irix* | nonstopux*) 6197 symcode='[BCDEGRST]' 6198 ;; 6199osf*) 6200 symcode='[BCDEGQRST]' 6201 ;; 6202solaris*) 6203 symcode='[BDRT]' 6204 ;; 6205sco3.2v5*) 6206 symcode='[DT]' 6207 ;; 6208sysv4.2uw2*) 6209 symcode='[DT]' 6210 ;; 6211sysv5* | sco5v6* | unixware* | OpenUNIX*) 6212 symcode='[ABDT]' 6213 ;; 6214sysv4) 6215 symcode='[DFNSTU]' 6216 ;; 6217esac 6218 6219# If we're using GNU nm, then use its standard symbol codes. 6220case `$NM -V 2>&1` in 6221*GNU* | *'with BFD'*) 6222 symcode='[ABCDGIRSTW]' ;; 6223esac 6224 6225if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6226 # Gets list of data symbols to import. 6227 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6228 # Adjust the below global symbol transforms to fixup imported variables. 6229 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6230 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6231 lt_c_name_lib_hook="\ 6232 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6233 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6234else 6235 # Disable hooks by default. 6236 lt_cv_sys_global_symbol_to_import= 6237 lt_cdecl_hook= 6238 lt_c_name_hook= 6239 lt_c_name_lib_hook= 6240fi 6241 6242# Transform an extracted symbol line into a proper C declaration. 6243# Some systems (esp. on ia64) link data and code symbols differently, 6244# so use this general approach. 6245lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6246$lt_cdecl_hook\ 6247" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6248" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6249 6250# Transform an extracted symbol line into symbol name and symbol address 6251lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6252$lt_c_name_hook\ 6253" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6254" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6255 6256# Transform an extracted symbol line into symbol name with lib prefix and 6257# symbol address. 6258lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6259$lt_c_name_lib_hook\ 6260" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6261" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6262" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6263 6264# Handle CRLF in mingw tool chain 6265opt_cr= 6266case $build_os in 6267mingw*) 6268 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6269 ;; 6270esac 6271 6272# Try without a prefix underscore, then with it. 6273for ac_symprfx in "" "_"; do 6274 6275 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6276 symxfrm="\\1 $ac_symprfx\\2 \\2" 6277 6278 # Write the raw and C identifiers. 6279 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6280 # Fake it for dumpbin and say T for any non-static function, 6281 # D for any global variable and I for any imported variable. 6282 # Also find C++ and __fastcall symbols from MSVC++, 6283 # which start with @ or ?. 6284 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6285" {last_section=section; section=\$ 3};"\ 6286" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6287" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6288" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6289" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6290" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6291" \$ 0!~/External *\|/{next};"\ 6292" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6293" {if(hide[section]) next};"\ 6294" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6295" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6296" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6297" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6298" ' prfx=^$ac_symprfx" 6299 else 6300 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6301 fi 6302 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6303 6304 # Check to see that the pipe works correctly. 6305 pipe_works=no 6306 6307 rm -f conftest* 6308 cat > conftest.$ac_ext <<_LT_EOF 6309#ifdef __cplusplus 6310extern "C" { 6311#endif 6312char nm_test_var; 6313void nm_test_func(void); 6314void nm_test_func(void){} 6315#ifdef __cplusplus 6316} 6317#endif 6318int main(){nm_test_var='a';nm_test_func();return(0);} 6319_LT_EOF 6320 6321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6322 (eval $ac_compile) 2>&5 6323 ac_status=$? 6324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6325 test $ac_status = 0; }; then 6326 # Now try to grab the symbols. 6327 nlist=conftest.nm 6328 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6329 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6330 ac_status=$? 6331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6332 test $ac_status = 0; } && test -s "$nlist"; then 6333 # Try sorting and uniquifying the output. 6334 if sort "$nlist" | uniq > "$nlist"T; then 6335 mv -f "$nlist"T "$nlist" 6336 else 6337 rm -f "$nlist"T 6338 fi 6339 6340 # Make sure that we snagged all the symbols we need. 6341 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6342 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6343 cat <<_LT_EOF > conftest.$ac_ext 6344/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6345#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6346/* DATA imports from DLLs on WIN32 can't be const, because runtime 6347 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6348# define LT_DLSYM_CONST 6349#elif defined __osf__ 6350/* This system does not cope well with relocations in const data. */ 6351# define LT_DLSYM_CONST 6352#else 6353# define LT_DLSYM_CONST const 6354#endif 6355 6356#ifdef __cplusplus 6357extern "C" { 6358#endif 6359 6360_LT_EOF 6361 # Now generate the symbol file. 6362 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6363 6364 cat <<_LT_EOF >> conftest.$ac_ext 6365 6366/* The mapping between symbol names and symbols. */ 6367LT_DLSYM_CONST struct { 6368 const char *name; 6369 void *address; 6370} 6371lt__PROGRAM__LTX_preloaded_symbols[] = 6372{ 6373 { "@PROGRAM@", (void *) 0 }, 6374_LT_EOF 6375 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6376 cat <<\_LT_EOF >> conftest.$ac_ext 6377 {0, (void *) 0} 6378}; 6379 6380/* This works around a problem in FreeBSD linker */ 6381#ifdef FREEBSD_WORKAROUND 6382static const void *lt_preloaded_setup() { 6383 return lt__PROGRAM__LTX_preloaded_symbols; 6384} 6385#endif 6386 6387#ifdef __cplusplus 6388} 6389#endif 6390_LT_EOF 6391 # Now try linking the two files. 6392 mv conftest.$ac_objext conftstm.$ac_objext 6393 lt_globsym_save_LIBS=$LIBS 6394 lt_globsym_save_CFLAGS=$CFLAGS 6395 LIBS=conftstm.$ac_objext 6396 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6397 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6398 (eval $ac_link) 2>&5 6399 ac_status=$? 6400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6401 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6402 pipe_works=yes 6403 fi 6404 LIBS=$lt_globsym_save_LIBS 6405 CFLAGS=$lt_globsym_save_CFLAGS 6406 else 6407 echo "cannot find nm_test_func in $nlist" >&5 6408 fi 6409 else 6410 echo "cannot find nm_test_var in $nlist" >&5 6411 fi 6412 else 6413 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6414 fi 6415 else 6416 echo "$progname: failed program was:" >&5 6417 cat conftest.$ac_ext >&5 6418 fi 6419 rm -rf conftest* conftst* 6420 6421 # Do not use the global_symbol_pipe unless it works. 6422 if test yes = "$pipe_works"; then 6423 break 6424 else 6425 lt_cv_sys_global_symbol_pipe= 6426 fi 6427done 6428 6429fi 6430 6431if test -z "$lt_cv_sys_global_symbol_pipe"; then 6432 lt_cv_sys_global_symbol_to_cdecl= 6433fi 6434if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6436$as_echo "failed" >&6; } 6437else 6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6439$as_echo "ok" >&6; } 6440fi 6441 6442# Response file support. 6443if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6444 nm_file_list_spec='@' 6445elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6446 nm_file_list_spec='@' 6447fi 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6486$as_echo_n "checking for sysroot... " >&6; } 6487 6488# Check whether --with-sysroot was given. 6489if test "${with_sysroot+set}" = set; then : 6490 withval=$with_sysroot; 6491else 6492 with_sysroot=no 6493fi 6494 6495 6496lt_sysroot= 6497case $with_sysroot in #( 6498 yes) 6499 if test yes = "$GCC"; then 6500 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6501 fi 6502 ;; #( 6503 /*) 6504 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6505 ;; #( 6506 no|'') 6507 ;; #( 6508 *) 6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6510$as_echo "$with_sysroot" >&6; } 6511 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6512 ;; 6513esac 6514 6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6516$as_echo "${lt_sysroot:-no}" >&6; } 6517 6518 6519 6520 6521 6522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6523$as_echo_n "checking for a working dd... " >&6; } 6524if ${ac_cv_path_lt_DD+:} false; then : 6525 $as_echo_n "(cached) " >&6 6526else 6527 printf 0123456789abcdef0123456789abcdef >conftest.i 6528cat conftest.i conftest.i >conftest2.i 6529: ${lt_DD:=$DD} 6530if test -z "$lt_DD"; then 6531 ac_path_lt_DD_found=false 6532 # Loop through the user's path and test for each of PROGNAME-LIST 6533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6534for as_dir in $PATH 6535do 6536 IFS=$as_save_IFS 6537 test -z "$as_dir" && as_dir=. 6538 for ac_prog in dd; do 6539 for ac_exec_ext in '' $ac_executable_extensions; do 6540 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6541 as_fn_executable_p "$ac_path_lt_DD" || continue 6542if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6543 cmp -s conftest.i conftest.out \ 6544 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6545fi 6546 $ac_path_lt_DD_found && break 3 6547 done 6548 done 6549 done 6550IFS=$as_save_IFS 6551 if test -z "$ac_cv_path_lt_DD"; then 6552 : 6553 fi 6554else 6555 ac_cv_path_lt_DD=$lt_DD 6556fi 6557 6558rm -f conftest.i conftest2.i conftest.out 6559fi 6560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6561$as_echo "$ac_cv_path_lt_DD" >&6; } 6562 6563 6564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6565$as_echo_n "checking how to truncate binary pipes... " >&6; } 6566if ${lt_cv_truncate_bin+:} false; then : 6567 $as_echo_n "(cached) " >&6 6568else 6569 printf 0123456789abcdef0123456789abcdef >conftest.i 6570cat conftest.i conftest.i >conftest2.i 6571lt_cv_truncate_bin= 6572if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6573 cmp -s conftest.i conftest.out \ 6574 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6575fi 6576rm -f conftest.i conftest2.i conftest.out 6577test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6578fi 6579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6580$as_echo "$lt_cv_truncate_bin" >&6; } 6581 6582 6583 6584 6585 6586 6587 6588# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6589func_cc_basename () 6590{ 6591 for cc_temp in $*""; do 6592 case $cc_temp in 6593 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6594 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6595 \-*) ;; 6596 *) break;; 6597 esac 6598 done 6599 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6600} 6601 6602# Check whether --enable-libtool-lock was given. 6603if test "${enable_libtool_lock+set}" = set; then : 6604 enableval=$enable_libtool_lock; 6605fi 6606 6607test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6608 6609# Some flags need to be propagated to the compiler or linker for good 6610# libtool support. 6611case $host in 6612ia64-*-hpux*) 6613 # Find out what ABI is being produced by ac_compile, and set mode 6614 # options accordingly. 6615 echo 'int i;' > conftest.$ac_ext 6616 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6617 (eval $ac_compile) 2>&5 6618 ac_status=$? 6619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6620 test $ac_status = 0; }; then 6621 case `/usr/bin/file conftest.$ac_objext` in 6622 *ELF-32*) 6623 HPUX_IA64_MODE=32 6624 ;; 6625 *ELF-64*) 6626 HPUX_IA64_MODE=64 6627 ;; 6628 esac 6629 fi 6630 rm -rf conftest* 6631 ;; 6632*-*-irix6*) 6633 # Find out what ABI is being produced by ac_compile, and set linker 6634 # options accordingly. 6635 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6636 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6637 (eval $ac_compile) 2>&5 6638 ac_status=$? 6639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6640 test $ac_status = 0; }; then 6641 if test yes = "$lt_cv_prog_gnu_ld"; then 6642 case `/usr/bin/file conftest.$ac_objext` in 6643 *32-bit*) 6644 LD="${LD-ld} -melf32bsmip" 6645 ;; 6646 *N32*) 6647 LD="${LD-ld} -melf32bmipn32" 6648 ;; 6649 *64-bit*) 6650 LD="${LD-ld} -melf64bmip" 6651 ;; 6652 esac 6653 else 6654 case `/usr/bin/file conftest.$ac_objext` in 6655 *32-bit*) 6656 LD="${LD-ld} -32" 6657 ;; 6658 *N32*) 6659 LD="${LD-ld} -n32" 6660 ;; 6661 *64-bit*) 6662 LD="${LD-ld} -64" 6663 ;; 6664 esac 6665 fi 6666 fi 6667 rm -rf conftest* 6668 ;; 6669 6670mips64*-*linux*) 6671 # Find out what ABI is being produced by ac_compile, and set linker 6672 # options accordingly. 6673 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6674 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6675 (eval $ac_compile) 2>&5 6676 ac_status=$? 6677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6678 test $ac_status = 0; }; then 6679 emul=elf 6680 case `/usr/bin/file conftest.$ac_objext` in 6681 *32-bit*) 6682 emul="${emul}32" 6683 ;; 6684 *64-bit*) 6685 emul="${emul}64" 6686 ;; 6687 esac 6688 case `/usr/bin/file conftest.$ac_objext` in 6689 *MSB*) 6690 emul="${emul}btsmip" 6691 ;; 6692 *LSB*) 6693 emul="${emul}ltsmip" 6694 ;; 6695 esac 6696 case `/usr/bin/file conftest.$ac_objext` in 6697 *N32*) 6698 emul="${emul}n32" 6699 ;; 6700 esac 6701 LD="${LD-ld} -m $emul" 6702 fi 6703 rm -rf conftest* 6704 ;; 6705 6706x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6707s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6708 # Find out what ABI is being produced by ac_compile, and set linker 6709 # options accordingly. Note that the listed cases only cover the 6710 # situations where additional linker options are needed (such as when 6711 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6712 # vice versa); the common cases where no linker options are needed do 6713 # not appear in the list. 6714 echo 'int i;' > conftest.$ac_ext 6715 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6716 (eval $ac_compile) 2>&5 6717 ac_status=$? 6718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6719 test $ac_status = 0; }; then 6720 case `/usr/bin/file conftest.o` in 6721 *32-bit*) 6722 case $host in 6723 x86_64-*kfreebsd*-gnu) 6724 LD="${LD-ld} -m elf_i386_fbsd" 6725 ;; 6726 x86_64-*linux*) 6727 case `/usr/bin/file conftest.o` in 6728 *x86-64*) 6729 LD="${LD-ld} -m elf32_x86_64" 6730 ;; 6731 *) 6732 LD="${LD-ld} -m elf_i386" 6733 ;; 6734 esac 6735 ;; 6736 powerpc64le-*linux*) 6737 LD="${LD-ld} -m elf32lppclinux" 6738 ;; 6739 powerpc64-*linux*) 6740 LD="${LD-ld} -m elf32ppclinux" 6741 ;; 6742 s390x-*linux*) 6743 LD="${LD-ld} -m elf_s390" 6744 ;; 6745 sparc64-*linux*) 6746 LD="${LD-ld} -m elf32_sparc" 6747 ;; 6748 esac 6749 ;; 6750 *64-bit*) 6751 case $host in 6752 x86_64-*kfreebsd*-gnu) 6753 LD="${LD-ld} -m elf_x86_64_fbsd" 6754 ;; 6755 x86_64-*linux*) 6756 LD="${LD-ld} -m elf_x86_64" 6757 ;; 6758 powerpcle-*linux*) 6759 LD="${LD-ld} -m elf64lppc" 6760 ;; 6761 powerpc-*linux*) 6762 LD="${LD-ld} -m elf64ppc" 6763 ;; 6764 s390*-*linux*|s390*-*tpf*) 6765 LD="${LD-ld} -m elf64_s390" 6766 ;; 6767 sparc*-*linux*) 6768 LD="${LD-ld} -m elf64_sparc" 6769 ;; 6770 esac 6771 ;; 6772 esac 6773 fi 6774 rm -rf conftest* 6775 ;; 6776 6777*-*-sco3.2v5*) 6778 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6779 SAVE_CFLAGS=$CFLAGS 6780 CFLAGS="$CFLAGS -belf" 6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6782$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6783if ${lt_cv_cc_needs_belf+:} false; then : 6784 $as_echo_n "(cached) " >&6 6785else 6786 ac_ext=c 6787ac_cpp='$CPP $CPPFLAGS' 6788ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6789ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6790ac_compiler_gnu=$ac_cv_c_compiler_gnu 6791 6792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6793/* end confdefs.h. */ 6794 6795int 6796main () 6797{ 6798 6799 ; 6800 return 0; 6801} 6802_ACEOF 6803if ac_fn_c_try_link "$LINENO"; then : 6804 lt_cv_cc_needs_belf=yes 6805else 6806 lt_cv_cc_needs_belf=no 6807fi 6808rm -f core conftest.err conftest.$ac_objext \ 6809 conftest$ac_exeext conftest.$ac_ext 6810 ac_ext=c 6811ac_cpp='$CPP $CPPFLAGS' 6812ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6813ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6814ac_compiler_gnu=$ac_cv_c_compiler_gnu 6815 6816fi 6817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6818$as_echo "$lt_cv_cc_needs_belf" >&6; } 6819 if test yes != "$lt_cv_cc_needs_belf"; then 6820 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6821 CFLAGS=$SAVE_CFLAGS 6822 fi 6823 ;; 6824*-*solaris*) 6825 # Find out what ABI is being produced by ac_compile, and set linker 6826 # options accordingly. 6827 echo 'int i;' > conftest.$ac_ext 6828 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6829 (eval $ac_compile) 2>&5 6830 ac_status=$? 6831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6832 test $ac_status = 0; }; then 6833 case `/usr/bin/file conftest.o` in 6834 *64-bit*) 6835 case $lt_cv_prog_gnu_ld in 6836 yes*) 6837 case $host in 6838 i?86-*-solaris*|x86_64-*-solaris*) 6839 LD="${LD-ld} -m elf_x86_64" 6840 ;; 6841 sparc*-*-solaris*) 6842 LD="${LD-ld} -m elf64_sparc" 6843 ;; 6844 esac 6845 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6846 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6847 LD=${LD-ld}_sol2 6848 fi 6849 ;; 6850 *) 6851 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6852 LD="${LD-ld} -64" 6853 fi 6854 ;; 6855 esac 6856 ;; 6857 esac 6858 fi 6859 rm -rf conftest* 6860 ;; 6861esac 6862 6863need_locks=$enable_libtool_lock 6864 6865if test -n "$ac_tool_prefix"; then 6866 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6867set dummy ${ac_tool_prefix}mt; ac_word=$2 6868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6869$as_echo_n "checking for $ac_word... " >&6; } 6870if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6871 $as_echo_n "(cached) " >&6 6872else 6873 if test -n "$MANIFEST_TOOL"; then 6874 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6875else 6876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6877for as_dir in $PATH 6878do 6879 IFS=$as_save_IFS 6880 test -z "$as_dir" && as_dir=. 6881 for ac_exec_ext in '' $ac_executable_extensions; do 6882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6883 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6885 break 2 6886 fi 6887done 6888 done 6889IFS=$as_save_IFS 6890 6891fi 6892fi 6893MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6894if test -n "$MANIFEST_TOOL"; then 6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6896$as_echo "$MANIFEST_TOOL" >&6; } 6897else 6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6899$as_echo "no" >&6; } 6900fi 6901 6902 6903fi 6904if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6905 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6906 # Extract the first word of "mt", so it can be a program name with args. 6907set dummy mt; ac_word=$2 6908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6909$as_echo_n "checking for $ac_word... " >&6; } 6910if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6911 $as_echo_n "(cached) " >&6 6912else 6913 if test -n "$ac_ct_MANIFEST_TOOL"; then 6914 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6915else 6916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6917for as_dir in $PATH 6918do 6919 IFS=$as_save_IFS 6920 test -z "$as_dir" && as_dir=. 6921 for ac_exec_ext in '' $ac_executable_extensions; do 6922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6923 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6925 break 2 6926 fi 6927done 6928 done 6929IFS=$as_save_IFS 6930 6931fi 6932fi 6933ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6934if test -n "$ac_ct_MANIFEST_TOOL"; then 6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6936$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6937else 6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6939$as_echo "no" >&6; } 6940fi 6941 6942 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6943 MANIFEST_TOOL=":" 6944 else 6945 case $cross_compiling:$ac_tool_warned in 6946yes:) 6947{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6948$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6949ac_tool_warned=yes ;; 6950esac 6951 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6952 fi 6953else 6954 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6955fi 6956 6957test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6959$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6960if ${lt_cv_path_mainfest_tool+:} false; then : 6961 $as_echo_n "(cached) " >&6 6962else 6963 lt_cv_path_mainfest_tool=no 6964 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6965 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6966 cat conftest.err >&5 6967 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6968 lt_cv_path_mainfest_tool=yes 6969 fi 6970 rm -f conftest* 6971fi 6972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6973$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6974if test yes != "$lt_cv_path_mainfest_tool"; then 6975 MANIFEST_TOOL=: 6976fi 6977 6978 6979 6980 6981 6982 6983 case $host_os in 6984 rhapsody* | darwin*) 6985 if test -n "$ac_tool_prefix"; then 6986 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6987set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6989$as_echo_n "checking for $ac_word... " >&6; } 6990if ${ac_cv_prog_DSYMUTIL+:} false; then : 6991 $as_echo_n "(cached) " >&6 6992else 6993 if test -n "$DSYMUTIL"; then 6994 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6995else 6996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6997for as_dir in $PATH 6998do 6999 IFS=$as_save_IFS 7000 test -z "$as_dir" && as_dir=. 7001 for ac_exec_ext in '' $ac_executable_extensions; do 7002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7003 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7005 break 2 7006 fi 7007done 7008 done 7009IFS=$as_save_IFS 7010 7011fi 7012fi 7013DSYMUTIL=$ac_cv_prog_DSYMUTIL 7014if test -n "$DSYMUTIL"; then 7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7016$as_echo "$DSYMUTIL" >&6; } 7017else 7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7019$as_echo "no" >&6; } 7020fi 7021 7022 7023fi 7024if test -z "$ac_cv_prog_DSYMUTIL"; then 7025 ac_ct_DSYMUTIL=$DSYMUTIL 7026 # Extract the first word of "dsymutil", so it can be a program name with args. 7027set dummy dsymutil; ac_word=$2 7028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7029$as_echo_n "checking for $ac_word... " >&6; } 7030if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7031 $as_echo_n "(cached) " >&6 7032else 7033 if test -n "$ac_ct_DSYMUTIL"; then 7034 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7035else 7036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7037for as_dir in $PATH 7038do 7039 IFS=$as_save_IFS 7040 test -z "$as_dir" && as_dir=. 7041 for ac_exec_ext in '' $ac_executable_extensions; do 7042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7043 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7045 break 2 7046 fi 7047done 7048 done 7049IFS=$as_save_IFS 7050 7051fi 7052fi 7053ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7054if test -n "$ac_ct_DSYMUTIL"; then 7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7056$as_echo "$ac_ct_DSYMUTIL" >&6; } 7057else 7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7059$as_echo "no" >&6; } 7060fi 7061 7062 if test "x$ac_ct_DSYMUTIL" = x; then 7063 DSYMUTIL=":" 7064 else 7065 case $cross_compiling:$ac_tool_warned in 7066yes:) 7067{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7068$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7069ac_tool_warned=yes ;; 7070esac 7071 DSYMUTIL=$ac_ct_DSYMUTIL 7072 fi 7073else 7074 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7075fi 7076 7077 if test -n "$ac_tool_prefix"; then 7078 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7079set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7081$as_echo_n "checking for $ac_word... " >&6; } 7082if ${ac_cv_prog_NMEDIT+:} false; then : 7083 $as_echo_n "(cached) " >&6 7084else 7085 if test -n "$NMEDIT"; then 7086 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7087else 7088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7089for as_dir in $PATH 7090do 7091 IFS=$as_save_IFS 7092 test -z "$as_dir" && as_dir=. 7093 for ac_exec_ext in '' $ac_executable_extensions; do 7094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7095 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7097 break 2 7098 fi 7099done 7100 done 7101IFS=$as_save_IFS 7102 7103fi 7104fi 7105NMEDIT=$ac_cv_prog_NMEDIT 7106if test -n "$NMEDIT"; then 7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7108$as_echo "$NMEDIT" >&6; } 7109else 7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7111$as_echo "no" >&6; } 7112fi 7113 7114 7115fi 7116if test -z "$ac_cv_prog_NMEDIT"; then 7117 ac_ct_NMEDIT=$NMEDIT 7118 # Extract the first word of "nmedit", so it can be a program name with args. 7119set dummy nmedit; ac_word=$2 7120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7121$as_echo_n "checking for $ac_word... " >&6; } 7122if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7123 $as_echo_n "(cached) " >&6 7124else 7125 if test -n "$ac_ct_NMEDIT"; then 7126 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7127else 7128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7129for as_dir in $PATH 7130do 7131 IFS=$as_save_IFS 7132 test -z "$as_dir" && as_dir=. 7133 for ac_exec_ext in '' $ac_executable_extensions; do 7134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7135 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7137 break 2 7138 fi 7139done 7140 done 7141IFS=$as_save_IFS 7142 7143fi 7144fi 7145ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7146if test -n "$ac_ct_NMEDIT"; then 7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7148$as_echo "$ac_ct_NMEDIT" >&6; } 7149else 7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7151$as_echo "no" >&6; } 7152fi 7153 7154 if test "x$ac_ct_NMEDIT" = x; then 7155 NMEDIT=":" 7156 else 7157 case $cross_compiling:$ac_tool_warned in 7158yes:) 7159{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7160$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7161ac_tool_warned=yes ;; 7162esac 7163 NMEDIT=$ac_ct_NMEDIT 7164 fi 7165else 7166 NMEDIT="$ac_cv_prog_NMEDIT" 7167fi 7168 7169 if test -n "$ac_tool_prefix"; then 7170 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7171set dummy ${ac_tool_prefix}lipo; ac_word=$2 7172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7173$as_echo_n "checking for $ac_word... " >&6; } 7174if ${ac_cv_prog_LIPO+:} false; then : 7175 $as_echo_n "(cached) " >&6 7176else 7177 if test -n "$LIPO"; then 7178 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7179else 7180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7181for as_dir in $PATH 7182do 7183 IFS=$as_save_IFS 7184 test -z "$as_dir" && as_dir=. 7185 for ac_exec_ext in '' $ac_executable_extensions; do 7186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7187 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7189 break 2 7190 fi 7191done 7192 done 7193IFS=$as_save_IFS 7194 7195fi 7196fi 7197LIPO=$ac_cv_prog_LIPO 7198if test -n "$LIPO"; then 7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7200$as_echo "$LIPO" >&6; } 7201else 7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7203$as_echo "no" >&6; } 7204fi 7205 7206 7207fi 7208if test -z "$ac_cv_prog_LIPO"; then 7209 ac_ct_LIPO=$LIPO 7210 # Extract the first word of "lipo", so it can be a program name with args. 7211set dummy lipo; ac_word=$2 7212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7213$as_echo_n "checking for $ac_word... " >&6; } 7214if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7215 $as_echo_n "(cached) " >&6 7216else 7217 if test -n "$ac_ct_LIPO"; then 7218 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7219else 7220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7221for as_dir in $PATH 7222do 7223 IFS=$as_save_IFS 7224 test -z "$as_dir" && as_dir=. 7225 for ac_exec_ext in '' $ac_executable_extensions; do 7226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7227 ac_cv_prog_ac_ct_LIPO="lipo" 7228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7229 break 2 7230 fi 7231done 7232 done 7233IFS=$as_save_IFS 7234 7235fi 7236fi 7237ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7238if test -n "$ac_ct_LIPO"; then 7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7240$as_echo "$ac_ct_LIPO" >&6; } 7241else 7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7243$as_echo "no" >&6; } 7244fi 7245 7246 if test "x$ac_ct_LIPO" = x; then 7247 LIPO=":" 7248 else 7249 case $cross_compiling:$ac_tool_warned in 7250yes:) 7251{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7252$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7253ac_tool_warned=yes ;; 7254esac 7255 LIPO=$ac_ct_LIPO 7256 fi 7257else 7258 LIPO="$ac_cv_prog_LIPO" 7259fi 7260 7261 if test -n "$ac_tool_prefix"; then 7262 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7263set dummy ${ac_tool_prefix}otool; ac_word=$2 7264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7265$as_echo_n "checking for $ac_word... " >&6; } 7266if ${ac_cv_prog_OTOOL+:} false; then : 7267 $as_echo_n "(cached) " >&6 7268else 7269 if test -n "$OTOOL"; then 7270 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7271else 7272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7273for as_dir in $PATH 7274do 7275 IFS=$as_save_IFS 7276 test -z "$as_dir" && as_dir=. 7277 for ac_exec_ext in '' $ac_executable_extensions; do 7278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7279 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7281 break 2 7282 fi 7283done 7284 done 7285IFS=$as_save_IFS 7286 7287fi 7288fi 7289OTOOL=$ac_cv_prog_OTOOL 7290if test -n "$OTOOL"; then 7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7292$as_echo "$OTOOL" >&6; } 7293else 7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7295$as_echo "no" >&6; } 7296fi 7297 7298 7299fi 7300if test -z "$ac_cv_prog_OTOOL"; then 7301 ac_ct_OTOOL=$OTOOL 7302 # Extract the first word of "otool", so it can be a program name with args. 7303set dummy otool; ac_word=$2 7304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7305$as_echo_n "checking for $ac_word... " >&6; } 7306if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7307 $as_echo_n "(cached) " >&6 7308else 7309 if test -n "$ac_ct_OTOOL"; then 7310 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7311else 7312as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7313for as_dir in $PATH 7314do 7315 IFS=$as_save_IFS 7316 test -z "$as_dir" && as_dir=. 7317 for ac_exec_ext in '' $ac_executable_extensions; do 7318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7319 ac_cv_prog_ac_ct_OTOOL="otool" 7320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7321 break 2 7322 fi 7323done 7324 done 7325IFS=$as_save_IFS 7326 7327fi 7328fi 7329ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7330if test -n "$ac_ct_OTOOL"; then 7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7332$as_echo "$ac_ct_OTOOL" >&6; } 7333else 7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7335$as_echo "no" >&6; } 7336fi 7337 7338 if test "x$ac_ct_OTOOL" = x; then 7339 OTOOL=":" 7340 else 7341 case $cross_compiling:$ac_tool_warned in 7342yes:) 7343{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7344$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7345ac_tool_warned=yes ;; 7346esac 7347 OTOOL=$ac_ct_OTOOL 7348 fi 7349else 7350 OTOOL="$ac_cv_prog_OTOOL" 7351fi 7352 7353 if test -n "$ac_tool_prefix"; then 7354 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7355set dummy ${ac_tool_prefix}otool64; ac_word=$2 7356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7357$as_echo_n "checking for $ac_word... " >&6; } 7358if ${ac_cv_prog_OTOOL64+:} false; then : 7359 $as_echo_n "(cached) " >&6 7360else 7361 if test -n "$OTOOL64"; then 7362 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7363else 7364as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7365for as_dir in $PATH 7366do 7367 IFS=$as_save_IFS 7368 test -z "$as_dir" && as_dir=. 7369 for ac_exec_ext in '' $ac_executable_extensions; do 7370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7371 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7373 break 2 7374 fi 7375done 7376 done 7377IFS=$as_save_IFS 7378 7379fi 7380fi 7381OTOOL64=$ac_cv_prog_OTOOL64 7382if test -n "$OTOOL64"; then 7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7384$as_echo "$OTOOL64" >&6; } 7385else 7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7387$as_echo "no" >&6; } 7388fi 7389 7390 7391fi 7392if test -z "$ac_cv_prog_OTOOL64"; then 7393 ac_ct_OTOOL64=$OTOOL64 7394 # Extract the first word of "otool64", so it can be a program name with args. 7395set dummy otool64; ac_word=$2 7396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7397$as_echo_n "checking for $ac_word... " >&6; } 7398if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7399 $as_echo_n "(cached) " >&6 7400else 7401 if test -n "$ac_ct_OTOOL64"; then 7402 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7403else 7404as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7405for as_dir in $PATH 7406do 7407 IFS=$as_save_IFS 7408 test -z "$as_dir" && as_dir=. 7409 for ac_exec_ext in '' $ac_executable_extensions; do 7410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7411 ac_cv_prog_ac_ct_OTOOL64="otool64" 7412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7413 break 2 7414 fi 7415done 7416 done 7417IFS=$as_save_IFS 7418 7419fi 7420fi 7421ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7422if test -n "$ac_ct_OTOOL64"; then 7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7424$as_echo "$ac_ct_OTOOL64" >&6; } 7425else 7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7427$as_echo "no" >&6; } 7428fi 7429 7430 if test "x$ac_ct_OTOOL64" = x; then 7431 OTOOL64=":" 7432 else 7433 case $cross_compiling:$ac_tool_warned in 7434yes:) 7435{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7436$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7437ac_tool_warned=yes ;; 7438esac 7439 OTOOL64=$ac_ct_OTOOL64 7440 fi 7441else 7442 OTOOL64="$ac_cv_prog_OTOOL64" 7443fi 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7472$as_echo_n "checking for -single_module linker flag... " >&6; } 7473if ${lt_cv_apple_cc_single_mod+:} false; then : 7474 $as_echo_n "(cached) " >&6 7475else 7476 lt_cv_apple_cc_single_mod=no 7477 if test -z "$LT_MULTI_MODULE"; then 7478 # By default we will add the -single_module flag. You can override 7479 # by either setting the environment variable LT_MULTI_MODULE 7480 # non-empty at configure time, or by adding -multi_module to the 7481 # link flags. 7482 rm -rf libconftest.dylib* 7483 echo "int foo(void){return 1;}" > conftest.c 7484 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7485-dynamiclib -Wl,-single_module conftest.c" >&5 7486 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7487 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7488 _lt_result=$? 7489 # If there is a non-empty error log, and "single_module" 7490 # appears in it, assume the flag caused a linker warning 7491 if test -s conftest.err && $GREP single_module conftest.err; then 7492 cat conftest.err >&5 7493 # Otherwise, if the output was created with a 0 exit code from 7494 # the compiler, it worked. 7495 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7496 lt_cv_apple_cc_single_mod=yes 7497 else 7498 cat conftest.err >&5 7499 fi 7500 rm -rf libconftest.dylib* 7501 rm -f conftest.* 7502 fi 7503fi 7504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7505$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7506 7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7508$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7509if ${lt_cv_ld_exported_symbols_list+:} false; then : 7510 $as_echo_n "(cached) " >&6 7511else 7512 lt_cv_ld_exported_symbols_list=no 7513 save_LDFLAGS=$LDFLAGS 7514 echo "_main" > conftest.sym 7515 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7517/* end confdefs.h. */ 7518 7519int 7520main () 7521{ 7522 7523 ; 7524 return 0; 7525} 7526_ACEOF 7527if ac_fn_c_try_link "$LINENO"; then : 7528 lt_cv_ld_exported_symbols_list=yes 7529else 7530 lt_cv_ld_exported_symbols_list=no 7531fi 7532rm -f core conftest.err conftest.$ac_objext \ 7533 conftest$ac_exeext conftest.$ac_ext 7534 LDFLAGS=$save_LDFLAGS 7535 7536fi 7537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7538$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7539 7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7541$as_echo_n "checking for -force_load linker flag... " >&6; } 7542if ${lt_cv_ld_force_load+:} false; then : 7543 $as_echo_n "(cached) " >&6 7544else 7545 lt_cv_ld_force_load=no 7546 cat > conftest.c << _LT_EOF 7547int forced_loaded() { return 2;} 7548_LT_EOF 7549 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7550 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7551 echo "$AR cru libconftest.a conftest.o" >&5 7552 $AR cru libconftest.a conftest.o 2>&5 7553 echo "$RANLIB libconftest.a" >&5 7554 $RANLIB libconftest.a 2>&5 7555 cat > conftest.c << _LT_EOF 7556int main() { return 0;} 7557_LT_EOF 7558 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7559 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7560 _lt_result=$? 7561 if test -s conftest.err && $GREP force_load conftest.err; then 7562 cat conftest.err >&5 7563 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7564 lt_cv_ld_force_load=yes 7565 else 7566 cat conftest.err >&5 7567 fi 7568 rm -f conftest.err libconftest.a conftest conftest.c 7569 rm -rf conftest.dSYM 7570 7571fi 7572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7573$as_echo "$lt_cv_ld_force_load" >&6; } 7574 case $host_os in 7575 rhapsody* | darwin1.[012]) 7576 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7577 darwin1.*) 7578 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7579 darwin*) # darwin 5.x on 7580 # if running on 10.5 or later, the deployment target defaults 7581 # to the OS version, if on x86, and 10.4, the deployment 7582 # target defaults to 10.4. Don't you love it? 7583 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7584 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7585 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7586 10.[012][,.]*) 7587 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7588 10.*) 7589 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7590 esac 7591 ;; 7592 esac 7593 if test yes = "$lt_cv_apple_cc_single_mod"; then 7594 _lt_dar_single_mod='$single_module' 7595 fi 7596 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7597 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7598 else 7599 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7600 fi 7601 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7602 _lt_dsymutil='~$DSYMUTIL $lib || :' 7603 else 7604 _lt_dsymutil= 7605 fi 7606 ;; 7607 esac 7608 7609# func_munge_path_list VARIABLE PATH 7610# ----------------------------------- 7611# VARIABLE is name of variable containing _space_ separated list of 7612# directories to be munged by the contents of PATH, which is string 7613# having a format: 7614# "DIR[:DIR]:" 7615# string "DIR[ DIR]" will be prepended to VARIABLE 7616# ":DIR[:DIR]" 7617# string "DIR[ DIR]" will be appended to VARIABLE 7618# "DIRP[:DIRP]::[DIRA:]DIRA" 7619# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7620# "DIRA[ DIRA]" will be appended to VARIABLE 7621# "DIR[:DIR]" 7622# VARIABLE will be replaced by "DIR[ DIR]" 7623func_munge_path_list () 7624{ 7625 case x$2 in 7626 x) 7627 ;; 7628 *:) 7629 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7630 ;; 7631 x:*) 7632 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7633 ;; 7634 *::*) 7635 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7636 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7637 ;; 7638 *) 7639 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7640 ;; 7641 esac 7642} 7643 7644ac_ext=c 7645ac_cpp='$CPP $CPPFLAGS' 7646ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7647ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7648ac_compiler_gnu=$ac_cv_c_compiler_gnu 7649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7650$as_echo_n "checking how to run the C preprocessor... " >&6; } 7651# On Suns, sometimes $CPP names a directory. 7652if test -n "$CPP" && test -d "$CPP"; then 7653 CPP= 7654fi 7655if test -z "$CPP"; then 7656 if ${ac_cv_prog_CPP+:} false; then : 7657 $as_echo_n "(cached) " >&6 7658else 7659 # Double quotes because CPP needs to be expanded 7660 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7661 do 7662 ac_preproc_ok=false 7663for ac_c_preproc_warn_flag in '' yes 7664do 7665 # Use a header file that comes with gcc, so configuring glibc 7666 # with a fresh cross-compiler works. 7667 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7668 # <limits.h> exists even on freestanding compilers. 7669 # On the NeXT, cc -E runs the code through the compiler's parser, 7670 # not just through cpp. "Syntax error" is here to catch this case. 7671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7672/* end confdefs.h. */ 7673#ifdef __STDC__ 7674# include <limits.h> 7675#else 7676# include <assert.h> 7677#endif 7678 Syntax error 7679_ACEOF 7680if ac_fn_c_try_cpp "$LINENO"; then : 7681 7682else 7683 # Broken: fails on valid input. 7684continue 7685fi 7686rm -f conftest.err conftest.i conftest.$ac_ext 7687 7688 # OK, works on sane cases. Now check whether nonexistent headers 7689 # can be detected and how. 7690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7691/* end confdefs.h. */ 7692#include <ac_nonexistent.h> 7693_ACEOF 7694if ac_fn_c_try_cpp "$LINENO"; then : 7695 # Broken: success on invalid input. 7696continue 7697else 7698 # Passes both tests. 7699ac_preproc_ok=: 7700break 7701fi 7702rm -f conftest.err conftest.i conftest.$ac_ext 7703 7704done 7705# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7706rm -f conftest.i conftest.err conftest.$ac_ext 7707if $ac_preproc_ok; then : 7708 break 7709fi 7710 7711 done 7712 ac_cv_prog_CPP=$CPP 7713 7714fi 7715 CPP=$ac_cv_prog_CPP 7716else 7717 ac_cv_prog_CPP=$CPP 7718fi 7719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7720$as_echo "$CPP" >&6; } 7721ac_preproc_ok=false 7722for ac_c_preproc_warn_flag in '' yes 7723do 7724 # Use a header file that comes with gcc, so configuring glibc 7725 # with a fresh cross-compiler works. 7726 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7727 # <limits.h> exists even on freestanding compilers. 7728 # On the NeXT, cc -E runs the code through the compiler's parser, 7729 # not just through cpp. "Syntax error" is here to catch this case. 7730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7731/* end confdefs.h. */ 7732#ifdef __STDC__ 7733# include <limits.h> 7734#else 7735# include <assert.h> 7736#endif 7737 Syntax error 7738_ACEOF 7739if ac_fn_c_try_cpp "$LINENO"; then : 7740 7741else 7742 # Broken: fails on valid input. 7743continue 7744fi 7745rm -f conftest.err conftest.i conftest.$ac_ext 7746 7747 # OK, works on sane cases. Now check whether nonexistent headers 7748 # can be detected and how. 7749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7750/* end confdefs.h. */ 7751#include <ac_nonexistent.h> 7752_ACEOF 7753if ac_fn_c_try_cpp "$LINENO"; then : 7754 # Broken: success on invalid input. 7755continue 7756else 7757 # Passes both tests. 7758ac_preproc_ok=: 7759break 7760fi 7761rm -f conftest.err conftest.i conftest.$ac_ext 7762 7763done 7764# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7765rm -f conftest.i conftest.err conftest.$ac_ext 7766if $ac_preproc_ok; then : 7767 7768else 7769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7770$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7771as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7772See \`config.log' for more details" "$LINENO" 5; } 7773fi 7774 7775ac_ext=c 7776ac_cpp='$CPP $CPPFLAGS' 7777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7779ac_compiler_gnu=$ac_cv_c_compiler_gnu 7780 7781 7782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7783$as_echo_n "checking for ANSI C header files... " >&6; } 7784if ${ac_cv_header_stdc+:} false; then : 7785 $as_echo_n "(cached) " >&6 7786else 7787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7788/* end confdefs.h. */ 7789#include <stdlib.h> 7790#include <stdarg.h> 7791#include <string.h> 7792#include <float.h> 7793 7794int 7795main () 7796{ 7797 7798 ; 7799 return 0; 7800} 7801_ACEOF 7802if ac_fn_c_try_compile "$LINENO"; then : 7803 ac_cv_header_stdc=yes 7804else 7805 ac_cv_header_stdc=no 7806fi 7807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7808 7809if test $ac_cv_header_stdc = yes; then 7810 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7812/* end confdefs.h. */ 7813#include <string.h> 7814 7815_ACEOF 7816if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7817 $EGREP "memchr" >/dev/null 2>&1; then : 7818 7819else 7820 ac_cv_header_stdc=no 7821fi 7822rm -f conftest* 7823 7824fi 7825 7826if test $ac_cv_header_stdc = yes; then 7827 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7829/* end confdefs.h. */ 7830#include <stdlib.h> 7831 7832_ACEOF 7833if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7834 $EGREP "free" >/dev/null 2>&1; then : 7835 7836else 7837 ac_cv_header_stdc=no 7838fi 7839rm -f conftest* 7840 7841fi 7842 7843if test $ac_cv_header_stdc = yes; then 7844 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7845 if test "$cross_compiling" = yes; then : 7846 : 7847else 7848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7849/* end confdefs.h. */ 7850#include <ctype.h> 7851#include <stdlib.h> 7852#if ((' ' & 0x0FF) == 0x020) 7853# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7854# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7855#else 7856# define ISLOWER(c) \ 7857 (('a' <= (c) && (c) <= 'i') \ 7858 || ('j' <= (c) && (c) <= 'r') \ 7859 || ('s' <= (c) && (c) <= 'z')) 7860# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7861#endif 7862 7863#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7864int 7865main () 7866{ 7867 int i; 7868 for (i = 0; i < 256; i++) 7869 if (XOR (islower (i), ISLOWER (i)) 7870 || toupper (i) != TOUPPER (i)) 7871 return 2; 7872 return 0; 7873} 7874_ACEOF 7875if ac_fn_c_try_run "$LINENO"; then : 7876 7877else 7878 ac_cv_header_stdc=no 7879fi 7880rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7881 conftest.$ac_objext conftest.beam conftest.$ac_ext 7882fi 7883 7884fi 7885fi 7886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7887$as_echo "$ac_cv_header_stdc" >&6; } 7888if test $ac_cv_header_stdc = yes; then 7889 7890$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7891 7892fi 7893 7894# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7895for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7896 inttypes.h stdint.h unistd.h 7897do : 7898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7899ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7900" 7901if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7902 cat >>confdefs.h <<_ACEOF 7903#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7904_ACEOF 7905 7906fi 7907 7908done 7909 7910 7911for ac_header in dlfcn.h 7912do : 7913 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7914" 7915if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7916 cat >>confdefs.h <<_ACEOF 7917#define HAVE_DLFCN_H 1 7918_ACEOF 7919 7920fi 7921 7922done 7923 7924 7925 7926 7927 7928# Set options 7929 7930 7931 7932 7933 enable_win32_dll=no 7934 7935 7936 # Check whether --enable-shared was given. 7937if test "${enable_shared+set}" = set; then : 7938 enableval=$enable_shared; p=${PACKAGE-default} 7939 case $enableval in 7940 yes) enable_shared=yes ;; 7941 no) enable_shared=no ;; 7942 *) 7943 enable_shared=no 7944 # Look at the argument we got. We use all the common list separators. 7945 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7946 for pkg in $enableval; do 7947 IFS=$lt_save_ifs 7948 if test "X$pkg" = "X$p"; then 7949 enable_shared=yes 7950 fi 7951 done 7952 IFS=$lt_save_ifs 7953 ;; 7954 esac 7955else 7956 enable_shared=yes 7957fi 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 # Check whether --enable-static was given. 7968if test "${enable_static+set}" = set; then : 7969 enableval=$enable_static; p=${PACKAGE-default} 7970 case $enableval in 7971 yes) enable_static=yes ;; 7972 no) enable_static=no ;; 7973 *) 7974 enable_static=no 7975 # Look at the argument we got. We use all the common list separators. 7976 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7977 for pkg in $enableval; do 7978 IFS=$lt_save_ifs 7979 if test "X$pkg" = "X$p"; then 7980 enable_static=yes 7981 fi 7982 done 7983 IFS=$lt_save_ifs 7984 ;; 7985 esac 7986else 7987 enable_static=yes 7988fi 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999# Check whether --with-pic was given. 8000if test "${with_pic+set}" = set; then : 8001 withval=$with_pic; lt_p=${PACKAGE-default} 8002 case $withval in 8003 yes|no) pic_mode=$withval ;; 8004 *) 8005 pic_mode=default 8006 # Look at the argument we got. We use all the common list separators. 8007 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8008 for lt_pkg in $withval; do 8009 IFS=$lt_save_ifs 8010 if test "X$lt_pkg" = "X$lt_p"; then 8011 pic_mode=yes 8012 fi 8013 done 8014 IFS=$lt_save_ifs 8015 ;; 8016 esac 8017else 8018 pic_mode=default 8019fi 8020 8021 8022 8023 8024 8025 8026 8027 8028 # Check whether --enable-fast-install was given. 8029if test "${enable_fast_install+set}" = set; then : 8030 enableval=$enable_fast_install; p=${PACKAGE-default} 8031 case $enableval in 8032 yes) enable_fast_install=yes ;; 8033 no) enable_fast_install=no ;; 8034 *) 8035 enable_fast_install=no 8036 # Look at the argument we got. We use all the common list separators. 8037 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8038 for pkg in $enableval; do 8039 IFS=$lt_save_ifs 8040 if test "X$pkg" = "X$p"; then 8041 enable_fast_install=yes 8042 fi 8043 done 8044 IFS=$lt_save_ifs 8045 ;; 8046 esac 8047else 8048 enable_fast_install=yes 8049fi 8050 8051 8052 8053 8054 8055 8056 8057 8058 shared_archive_member_spec= 8059case $host,$enable_shared in 8060power*-*-aix[5-9]*,yes) 8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8062$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8063 8064# Check whether --with-aix-soname was given. 8065if test "${with_aix_soname+set}" = set; then : 8066 withval=$with_aix_soname; case $withval in 8067 aix|svr4|both) 8068 ;; 8069 *) 8070 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8071 ;; 8072 esac 8073 lt_cv_with_aix_soname=$with_aix_soname 8074else 8075 if ${lt_cv_with_aix_soname+:} false; then : 8076 $as_echo_n "(cached) " >&6 8077else 8078 lt_cv_with_aix_soname=aix 8079fi 8080 8081 with_aix_soname=$lt_cv_with_aix_soname 8082fi 8083 8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8085$as_echo "$with_aix_soname" >&6; } 8086 if test aix != "$with_aix_soname"; then 8087 # For the AIX way of multilib, we name the shared archive member 8088 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8089 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8090 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8091 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8092 if test 64 = "${OBJECT_MODE-32}"; then 8093 shared_archive_member_spec=shr_64 8094 else 8095 shared_archive_member_spec=shr 8096 fi 8097 fi 8098 ;; 8099*) 8100 with_aix_soname=aix 8101 ;; 8102esac 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113# This can be used to rebuild libtool when needed 8114LIBTOOL_DEPS=$ltmain 8115 8116# Always use our own libtool. 8117LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148test -z "$LN_S" && LN_S="ln -s" 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163if test -n "${ZSH_VERSION+set}"; then 8164 setopt NO_GLOB_SUBST 8165fi 8166 8167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8168$as_echo_n "checking for objdir... " >&6; } 8169if ${lt_cv_objdir+:} false; then : 8170 $as_echo_n "(cached) " >&6 8171else 8172 rm -f .libs 2>/dev/null 8173mkdir .libs 2>/dev/null 8174if test -d .libs; then 8175 lt_cv_objdir=.libs 8176else 8177 # MS-DOS does not allow filenames that begin with a dot. 8178 lt_cv_objdir=_libs 8179fi 8180rmdir .libs 2>/dev/null 8181fi 8182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8183$as_echo "$lt_cv_objdir" >&6; } 8184objdir=$lt_cv_objdir 8185 8186 8187 8188 8189 8190cat >>confdefs.h <<_ACEOF 8191#define LT_OBJDIR "$lt_cv_objdir/" 8192_ACEOF 8193 8194 8195 8196 8197case $host_os in 8198aix3*) 8199 # AIX sometimes has problems with the GCC collect2 program. For some 8200 # reason, if we set the COLLECT_NAMES environment variable, the problems 8201 # vanish in a puff of smoke. 8202 if test set != "${COLLECT_NAMES+set}"; then 8203 COLLECT_NAMES= 8204 export COLLECT_NAMES 8205 fi 8206 ;; 8207esac 8208 8209# Global variables: 8210ofile=libtool 8211can_build_shared=yes 8212 8213# All known linkers require a '.a' archive for static linking (except MSVC, 8214# which needs '.lib'). 8215libext=a 8216 8217with_gnu_ld=$lt_cv_prog_gnu_ld 8218 8219old_CC=$CC 8220old_CFLAGS=$CFLAGS 8221 8222# Set sane defaults for various variables 8223test -z "$CC" && CC=cc 8224test -z "$LTCC" && LTCC=$CC 8225test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8226test -z "$LD" && LD=ld 8227test -z "$ac_objext" && ac_objext=o 8228 8229func_cc_basename $compiler 8230cc_basename=$func_cc_basename_result 8231 8232 8233# Only perform the check for file, if the check method requires it 8234test -z "$MAGIC_CMD" && MAGIC_CMD=file 8235case $deplibs_check_method in 8236file_magic*) 8237 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8239$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8240if ${lt_cv_path_MAGIC_CMD+:} false; then : 8241 $as_echo_n "(cached) " >&6 8242else 8243 case $MAGIC_CMD in 8244[\\/*] | ?:[\\/]*) 8245 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8246 ;; 8247*) 8248 lt_save_MAGIC_CMD=$MAGIC_CMD 8249 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8250 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8251 for ac_dir in $ac_dummy; do 8252 IFS=$lt_save_ifs 8253 test -z "$ac_dir" && ac_dir=. 8254 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8255 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8256 if test -n "$file_magic_test_file"; then 8257 case $deplibs_check_method in 8258 "file_magic "*) 8259 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8260 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8261 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8262 $EGREP "$file_magic_regex" > /dev/null; then 8263 : 8264 else 8265 cat <<_LT_EOF 1>&2 8266 8267*** Warning: the command libtool uses to detect shared libraries, 8268*** $file_magic_cmd, produces output that libtool cannot recognize. 8269*** The result is that libtool may fail to recognize shared libraries 8270*** as such. This will affect the creation of libtool libraries that 8271*** depend on shared libraries, but programs linked with such libtool 8272*** libraries will work regardless of this problem. Nevertheless, you 8273*** may want to report the problem to your system manager and/or to 8274*** bug-libtool@gnu.org 8275 8276_LT_EOF 8277 fi ;; 8278 esac 8279 fi 8280 break 8281 fi 8282 done 8283 IFS=$lt_save_ifs 8284 MAGIC_CMD=$lt_save_MAGIC_CMD 8285 ;; 8286esac 8287fi 8288 8289MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8290if test -n "$MAGIC_CMD"; then 8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8292$as_echo "$MAGIC_CMD" >&6; } 8293else 8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8295$as_echo "no" >&6; } 8296fi 8297 8298 8299 8300 8301 8302if test -z "$lt_cv_path_MAGIC_CMD"; then 8303 if test -n "$ac_tool_prefix"; then 8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8305$as_echo_n "checking for file... " >&6; } 8306if ${lt_cv_path_MAGIC_CMD+:} false; then : 8307 $as_echo_n "(cached) " >&6 8308else 8309 case $MAGIC_CMD in 8310[\\/*] | ?:[\\/]*) 8311 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8312 ;; 8313*) 8314 lt_save_MAGIC_CMD=$MAGIC_CMD 8315 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8316 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8317 for ac_dir in $ac_dummy; do 8318 IFS=$lt_save_ifs 8319 test -z "$ac_dir" && ac_dir=. 8320 if test -f "$ac_dir/file"; then 8321 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8322 if test -n "$file_magic_test_file"; then 8323 case $deplibs_check_method in 8324 "file_magic "*) 8325 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8326 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8327 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8328 $EGREP "$file_magic_regex" > /dev/null; then 8329 : 8330 else 8331 cat <<_LT_EOF 1>&2 8332 8333*** Warning: the command libtool uses to detect shared libraries, 8334*** $file_magic_cmd, produces output that libtool cannot recognize. 8335*** The result is that libtool may fail to recognize shared libraries 8336*** as such. This will affect the creation of libtool libraries that 8337*** depend on shared libraries, but programs linked with such libtool 8338*** libraries will work regardless of this problem. Nevertheless, you 8339*** may want to report the problem to your system manager and/or to 8340*** bug-libtool@gnu.org 8341 8342_LT_EOF 8343 fi ;; 8344 esac 8345 fi 8346 break 8347 fi 8348 done 8349 IFS=$lt_save_ifs 8350 MAGIC_CMD=$lt_save_MAGIC_CMD 8351 ;; 8352esac 8353fi 8354 8355MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8356if test -n "$MAGIC_CMD"; then 8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8358$as_echo "$MAGIC_CMD" >&6; } 8359else 8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8361$as_echo "no" >&6; } 8362fi 8363 8364 8365 else 8366 MAGIC_CMD=: 8367 fi 8368fi 8369 8370 fi 8371 ;; 8372esac 8373 8374# Use C for the default configuration in the libtool script 8375 8376lt_save_CC=$CC 8377ac_ext=c 8378ac_cpp='$CPP $CPPFLAGS' 8379ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8380ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8381ac_compiler_gnu=$ac_cv_c_compiler_gnu 8382 8383 8384# Source file extension for C test sources. 8385ac_ext=c 8386 8387# Object file extension for compiled C test sources. 8388objext=o 8389objext=$objext 8390 8391# Code to be used in simple compile tests 8392lt_simple_compile_test_code="int some_variable = 0;" 8393 8394# Code to be used in simple link tests 8395lt_simple_link_test_code='int main(){return(0);}' 8396 8397 8398 8399 8400 8401 8402 8403# If no C compiler was specified, use CC. 8404LTCC=${LTCC-"$CC"} 8405 8406# If no C compiler flags were specified, use CFLAGS. 8407LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8408 8409# Allow CC to be a program name with arguments. 8410compiler=$CC 8411 8412# Save the default compiler, since it gets overwritten when the other 8413# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8414compiler_DEFAULT=$CC 8415 8416# save warnings/boilerplate of simple test code 8417ac_outfile=conftest.$ac_objext 8418echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8419eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8420_lt_compiler_boilerplate=`cat conftest.err` 8421$RM conftest* 8422 8423ac_outfile=conftest.$ac_objext 8424echo "$lt_simple_link_test_code" >conftest.$ac_ext 8425eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8426_lt_linker_boilerplate=`cat conftest.err` 8427$RM -r conftest* 8428 8429 8430if test -n "$compiler"; then 8431 8432lt_prog_compiler_no_builtin_flag= 8433 8434if test yes = "$GCC"; then 8435 case $cc_basename in 8436 nvcc*) 8437 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8438 *) 8439 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8440 esac 8441 8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8443$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8444if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8445 $as_echo_n "(cached) " >&6 8446else 8447 lt_cv_prog_compiler_rtti_exceptions=no 8448 ac_outfile=conftest.$ac_objext 8449 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8450 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8451 # Insert the option either (1) after the last *FLAGS variable, or 8452 # (2) before a word containing "conftest.", or (3) at the end. 8453 # Note that $ac_compile itself does not contain backslashes and begins 8454 # with a dollar sign (not a hyphen), so the echo should work correctly. 8455 # The option is referenced via a variable to avoid confusing sed. 8456 lt_compile=`echo "$ac_compile" | $SED \ 8457 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8458 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8459 -e 's:$: $lt_compiler_flag:'` 8460 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8461 (eval "$lt_compile" 2>conftest.err) 8462 ac_status=$? 8463 cat conftest.err >&5 8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8465 if (exit $ac_status) && test -s "$ac_outfile"; then 8466 # The compiler can only warn and ignore the option if not recognized 8467 # So say no if there are warnings other than the usual output. 8468 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8469 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8470 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8471 lt_cv_prog_compiler_rtti_exceptions=yes 8472 fi 8473 fi 8474 $RM conftest* 8475 8476fi 8477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8478$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8479 8480if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8481 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8482else 8483 : 8484fi 8485 8486fi 8487 8488 8489 8490 8491 8492 8493 lt_prog_compiler_wl= 8494lt_prog_compiler_pic= 8495lt_prog_compiler_static= 8496 8497 8498 if test yes = "$GCC"; then 8499 lt_prog_compiler_wl='-Wl,' 8500 lt_prog_compiler_static='-static' 8501 8502 case $host_os in 8503 aix*) 8504 # All AIX code is PIC. 8505 if test ia64 = "$host_cpu"; then 8506 # AIX 5 now supports IA64 processor 8507 lt_prog_compiler_static='-Bstatic' 8508 fi 8509 lt_prog_compiler_pic='-fPIC' 8510 ;; 8511 8512 amigaos*) 8513 case $host_cpu in 8514 powerpc) 8515 # see comment about AmigaOS4 .so support 8516 lt_prog_compiler_pic='-fPIC' 8517 ;; 8518 m68k) 8519 # FIXME: we need at least 68020 code to build shared libraries, but 8520 # adding the '-m68020' flag to GCC prevents building anything better, 8521 # like '-m68040'. 8522 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8523 ;; 8524 esac 8525 ;; 8526 8527 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8528 # PIC is the default for these OSes. 8529 ;; 8530 8531 mingw* | cygwin* | pw32* | os2* | cegcc*) 8532 # This hack is so that the source file can tell whether it is being 8533 # built for inclusion in a dll (and should export symbols for example). 8534 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8535 # (--disable-auto-import) libraries 8536 lt_prog_compiler_pic='-DDLL_EXPORT' 8537 case $host_os in 8538 os2*) 8539 lt_prog_compiler_static='$wl-static' 8540 ;; 8541 esac 8542 ;; 8543 8544 darwin* | rhapsody*) 8545 # PIC is the default on this platform 8546 # Common symbols not allowed in MH_DYLIB files 8547 lt_prog_compiler_pic='-fno-common' 8548 ;; 8549 8550 haiku*) 8551 # PIC is the default for Haiku. 8552 # The "-static" flag exists, but is broken. 8553 lt_prog_compiler_static= 8554 ;; 8555 8556 hpux*) 8557 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8558 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8559 # sets the default TLS model and affects inlining. 8560 case $host_cpu in 8561 hppa*64*) 8562 # +Z the default 8563 ;; 8564 *) 8565 lt_prog_compiler_pic='-fPIC' 8566 ;; 8567 esac 8568 ;; 8569 8570 interix[3-9]*) 8571 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8572 # Instead, we relocate shared libraries at runtime. 8573 ;; 8574 8575 msdosdjgpp*) 8576 # Just because we use GCC doesn't mean we suddenly get shared libraries 8577 # on systems that don't support them. 8578 lt_prog_compiler_can_build_shared=no 8579 enable_shared=no 8580 ;; 8581 8582 *nto* | *qnx*) 8583 # QNX uses GNU C++, but need to define -shared option too, otherwise 8584 # it will coredump. 8585 lt_prog_compiler_pic='-fPIC -shared' 8586 ;; 8587 8588 sysv4*MP*) 8589 if test -d /usr/nec; then 8590 lt_prog_compiler_pic=-Kconform_pic 8591 fi 8592 ;; 8593 8594 *) 8595 lt_prog_compiler_pic='-fPIC' 8596 ;; 8597 esac 8598 8599 case $cc_basename in 8600 nvcc*) # Cuda Compiler Driver 2.2 8601 lt_prog_compiler_wl='-Xlinker ' 8602 if test -n "$lt_prog_compiler_pic"; then 8603 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8604 fi 8605 ;; 8606 esac 8607 else 8608 # PORTME Check for flag to pass linker flags through the system compiler. 8609 case $host_os in 8610 aix*) 8611 lt_prog_compiler_wl='-Wl,' 8612 if test ia64 = "$host_cpu"; then 8613 # AIX 5 now supports IA64 processor 8614 lt_prog_compiler_static='-Bstatic' 8615 else 8616 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8617 fi 8618 ;; 8619 8620 darwin* | rhapsody*) 8621 # PIC is the default on this platform 8622 # Common symbols not allowed in MH_DYLIB files 8623 lt_prog_compiler_pic='-fno-common' 8624 case $cc_basename in 8625 nagfor*) 8626 # NAG Fortran compiler 8627 lt_prog_compiler_wl='-Wl,-Wl,,' 8628 lt_prog_compiler_pic='-PIC' 8629 lt_prog_compiler_static='-Bstatic' 8630 ;; 8631 esac 8632 ;; 8633 8634 mingw* | cygwin* | pw32* | os2* | cegcc*) 8635 # This hack is so that the source file can tell whether it is being 8636 # built for inclusion in a dll (and should export symbols for example). 8637 lt_prog_compiler_pic='-DDLL_EXPORT' 8638 case $host_os in 8639 os2*) 8640 lt_prog_compiler_static='$wl-static' 8641 ;; 8642 esac 8643 ;; 8644 8645 hpux9* | hpux10* | hpux11*) 8646 lt_prog_compiler_wl='-Wl,' 8647 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8648 # not for PA HP-UX. 8649 case $host_cpu in 8650 hppa*64*|ia64*) 8651 # +Z the default 8652 ;; 8653 *) 8654 lt_prog_compiler_pic='+Z' 8655 ;; 8656 esac 8657 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8658 lt_prog_compiler_static='$wl-a ${wl}archive' 8659 ;; 8660 8661 irix5* | irix6* | nonstopux*) 8662 lt_prog_compiler_wl='-Wl,' 8663 # PIC (with -KPIC) is the default. 8664 lt_prog_compiler_static='-non_shared' 8665 ;; 8666 8667 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8668 case $cc_basename in 8669 # old Intel for x86_64, which still supported -KPIC. 8670 ecc*) 8671 lt_prog_compiler_wl='-Wl,' 8672 lt_prog_compiler_pic='-KPIC' 8673 lt_prog_compiler_static='-static' 8674 ;; 8675 # icc used to be incompatible with GCC. 8676 # ICC 10 doesn't accept -KPIC any more. 8677 icc* | ifort*) 8678 lt_prog_compiler_wl='-Wl,' 8679 lt_prog_compiler_pic='-fPIC' 8680 lt_prog_compiler_static='-static' 8681 ;; 8682 # Lahey Fortran 8.1. 8683 lf95*) 8684 lt_prog_compiler_wl='-Wl,' 8685 lt_prog_compiler_pic='--shared' 8686 lt_prog_compiler_static='--static' 8687 ;; 8688 nagfor*) 8689 # NAG Fortran compiler 8690 lt_prog_compiler_wl='-Wl,-Wl,,' 8691 lt_prog_compiler_pic='-PIC' 8692 lt_prog_compiler_static='-Bstatic' 8693 ;; 8694 tcc*) 8695 # Fabrice Bellard et al's Tiny C Compiler 8696 lt_prog_compiler_wl='-Wl,' 8697 lt_prog_compiler_pic='-fPIC' 8698 lt_prog_compiler_static='-static' 8699 ;; 8700 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8701 # Portland Group compilers (*not* the Pentium gcc compiler, 8702 # which looks to be a dead project) 8703 lt_prog_compiler_wl='-Wl,' 8704 lt_prog_compiler_pic='-fpic' 8705 lt_prog_compiler_static='-Bstatic' 8706 ;; 8707 ccc*) 8708 lt_prog_compiler_wl='-Wl,' 8709 # All Alpha code is PIC. 8710 lt_prog_compiler_static='-non_shared' 8711 ;; 8712 xl* | bgxl* | bgf* | mpixl*) 8713 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8714 lt_prog_compiler_wl='-Wl,' 8715 lt_prog_compiler_pic='-qpic' 8716 lt_prog_compiler_static='-qstaticlink' 8717 ;; 8718 *) 8719 case `$CC -V 2>&1 | sed 5q` in 8720 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8721 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8722 lt_prog_compiler_pic='-KPIC' 8723 lt_prog_compiler_static='-Bstatic' 8724 lt_prog_compiler_wl='' 8725 ;; 8726 *Sun\ F* | *Sun*Fortran*) 8727 lt_prog_compiler_pic='-KPIC' 8728 lt_prog_compiler_static='-Bstatic' 8729 lt_prog_compiler_wl='-Qoption ld ' 8730 ;; 8731 *Sun\ C*) 8732 # Sun C 5.9 8733 lt_prog_compiler_pic='-KPIC' 8734 lt_prog_compiler_static='-Bstatic' 8735 lt_prog_compiler_wl='-Wl,' 8736 ;; 8737 *Intel*\ [CF]*Compiler*) 8738 lt_prog_compiler_wl='-Wl,' 8739 lt_prog_compiler_pic='-fPIC' 8740 lt_prog_compiler_static='-static' 8741 ;; 8742 *Portland\ Group*) 8743 lt_prog_compiler_wl='-Wl,' 8744 lt_prog_compiler_pic='-fpic' 8745 lt_prog_compiler_static='-Bstatic' 8746 ;; 8747 esac 8748 ;; 8749 esac 8750 ;; 8751 8752 newsos6) 8753 lt_prog_compiler_pic='-KPIC' 8754 lt_prog_compiler_static='-Bstatic' 8755 ;; 8756 8757 *nto* | *qnx*) 8758 # QNX uses GNU C++, but need to define -shared option too, otherwise 8759 # it will coredump. 8760 lt_prog_compiler_pic='-fPIC -shared' 8761 ;; 8762 8763 osf3* | osf4* | osf5*) 8764 lt_prog_compiler_wl='-Wl,' 8765 # All OSF/1 code is PIC. 8766 lt_prog_compiler_static='-non_shared' 8767 ;; 8768 8769 rdos*) 8770 lt_prog_compiler_static='-non_shared' 8771 ;; 8772 8773 solaris*) 8774 lt_prog_compiler_pic='-KPIC' 8775 lt_prog_compiler_static='-Bstatic' 8776 case $cc_basename in 8777 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8778 lt_prog_compiler_wl='-Qoption ld ';; 8779 *) 8780 lt_prog_compiler_wl='-Wl,';; 8781 esac 8782 ;; 8783 8784 sunos4*) 8785 lt_prog_compiler_wl='-Qoption ld ' 8786 lt_prog_compiler_pic='-PIC' 8787 lt_prog_compiler_static='-Bstatic' 8788 ;; 8789 8790 sysv4 | sysv4.2uw2* | sysv4.3*) 8791 lt_prog_compiler_wl='-Wl,' 8792 lt_prog_compiler_pic='-KPIC' 8793 lt_prog_compiler_static='-Bstatic' 8794 ;; 8795 8796 sysv4*MP*) 8797 if test -d /usr/nec; then 8798 lt_prog_compiler_pic='-Kconform_pic' 8799 lt_prog_compiler_static='-Bstatic' 8800 fi 8801 ;; 8802 8803 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8804 lt_prog_compiler_wl='-Wl,' 8805 lt_prog_compiler_pic='-KPIC' 8806 lt_prog_compiler_static='-Bstatic' 8807 ;; 8808 8809 unicos*) 8810 lt_prog_compiler_wl='-Wl,' 8811 lt_prog_compiler_can_build_shared=no 8812 ;; 8813 8814 uts4*) 8815 lt_prog_compiler_pic='-pic' 8816 lt_prog_compiler_static='-Bstatic' 8817 ;; 8818 8819 *) 8820 lt_prog_compiler_can_build_shared=no 8821 ;; 8822 esac 8823 fi 8824 8825case $host_os in 8826 # For platforms that do not support PIC, -DPIC is meaningless: 8827 *djgpp*) 8828 lt_prog_compiler_pic= 8829 ;; 8830 *) 8831 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8832 ;; 8833esac 8834 8835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8836$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8837if ${lt_cv_prog_compiler_pic+:} false; then : 8838 $as_echo_n "(cached) " >&6 8839else 8840 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8841fi 8842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8843$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8844lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8845 8846# 8847# Check to make sure the PIC flag actually works. 8848# 8849if test -n "$lt_prog_compiler_pic"; then 8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8851$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8852if ${lt_cv_prog_compiler_pic_works+:} false; then : 8853 $as_echo_n "(cached) " >&6 8854else 8855 lt_cv_prog_compiler_pic_works=no 8856 ac_outfile=conftest.$ac_objext 8857 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8858 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 8859 # Insert the option either (1) after the last *FLAGS variable, or 8860 # (2) before a word containing "conftest.", or (3) at the end. 8861 # Note that $ac_compile itself does not contain backslashes and begins 8862 # with a dollar sign (not a hyphen), so the echo should work correctly. 8863 # The option is referenced via a variable to avoid confusing sed. 8864 lt_compile=`echo "$ac_compile" | $SED \ 8865 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8866 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8867 -e 's:$: $lt_compiler_flag:'` 8868 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8869 (eval "$lt_compile" 2>conftest.err) 8870 ac_status=$? 8871 cat conftest.err >&5 8872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8873 if (exit $ac_status) && test -s "$ac_outfile"; then 8874 # The compiler can only warn and ignore the option if not recognized 8875 # So say no if there are warnings other than the usual output. 8876 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8877 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8878 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8879 lt_cv_prog_compiler_pic_works=yes 8880 fi 8881 fi 8882 $RM conftest* 8883 8884fi 8885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8886$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8887 8888if test yes = "$lt_cv_prog_compiler_pic_works"; then 8889 case $lt_prog_compiler_pic in 8890 "" | " "*) ;; 8891 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8892 esac 8893else 8894 lt_prog_compiler_pic= 8895 lt_prog_compiler_can_build_shared=no 8896fi 8897 8898fi 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910# 8911# Check to make sure the static flag actually works. 8912# 8913wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8915$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8916if ${lt_cv_prog_compiler_static_works+:} false; then : 8917 $as_echo_n "(cached) " >&6 8918else 8919 lt_cv_prog_compiler_static_works=no 8920 save_LDFLAGS=$LDFLAGS 8921 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8922 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8923 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8924 # The linker can only warn and ignore the option if not recognized 8925 # So say no if there are warnings 8926 if test -s conftest.err; then 8927 # Append any errors to the config.log. 8928 cat conftest.err 1>&5 8929 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8930 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8931 if diff conftest.exp conftest.er2 >/dev/null; then 8932 lt_cv_prog_compiler_static_works=yes 8933 fi 8934 else 8935 lt_cv_prog_compiler_static_works=yes 8936 fi 8937 fi 8938 $RM -r conftest* 8939 LDFLAGS=$save_LDFLAGS 8940 8941fi 8942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8943$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8944 8945if test yes = "$lt_cv_prog_compiler_static_works"; then 8946 : 8947else 8948 lt_prog_compiler_static= 8949fi 8950 8951 8952 8953 8954 8955 8956 8957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8958$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8959if ${lt_cv_prog_compiler_c_o+:} false; then : 8960 $as_echo_n "(cached) " >&6 8961else 8962 lt_cv_prog_compiler_c_o=no 8963 $RM -r conftest 2>/dev/null 8964 mkdir conftest 8965 cd conftest 8966 mkdir out 8967 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8968 8969 lt_compiler_flag="-o out/conftest2.$ac_objext" 8970 # Insert the option either (1) after the last *FLAGS variable, or 8971 # (2) before a word containing "conftest.", or (3) at the end. 8972 # Note that $ac_compile itself does not contain backslashes and begins 8973 # with a dollar sign (not a hyphen), so the echo should work correctly. 8974 lt_compile=`echo "$ac_compile" | $SED \ 8975 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8976 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8977 -e 's:$: $lt_compiler_flag:'` 8978 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8979 (eval "$lt_compile" 2>out/conftest.err) 8980 ac_status=$? 8981 cat out/conftest.err >&5 8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8983 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8984 then 8985 # The compiler can only warn and ignore the option if not recognized 8986 # So say no if there are warnings 8987 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8988 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8989 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8990 lt_cv_prog_compiler_c_o=yes 8991 fi 8992 fi 8993 chmod u+w . 2>&5 8994 $RM conftest* 8995 # SGI C++ compiler will create directory out/ii_files/ for 8996 # template instantiation 8997 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8998 $RM out/* && rmdir out 8999 cd .. 9000 $RM -r conftest 9001 $RM conftest* 9002 9003fi 9004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9005$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9006 9007 9008 9009 9010 9011 9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9013$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9014if ${lt_cv_prog_compiler_c_o+:} false; then : 9015 $as_echo_n "(cached) " >&6 9016else 9017 lt_cv_prog_compiler_c_o=no 9018 $RM -r conftest 2>/dev/null 9019 mkdir conftest 9020 cd conftest 9021 mkdir out 9022 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9023 9024 lt_compiler_flag="-o out/conftest2.$ac_objext" 9025 # Insert the option either (1) after the last *FLAGS variable, or 9026 # (2) before a word containing "conftest.", or (3) at the end. 9027 # Note that $ac_compile itself does not contain backslashes and begins 9028 # with a dollar sign (not a hyphen), so the echo should work correctly. 9029 lt_compile=`echo "$ac_compile" | $SED \ 9030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9032 -e 's:$: $lt_compiler_flag:'` 9033 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9034 (eval "$lt_compile" 2>out/conftest.err) 9035 ac_status=$? 9036 cat out/conftest.err >&5 9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9038 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9039 then 9040 # The compiler can only warn and ignore the option if not recognized 9041 # So say no if there are warnings 9042 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9043 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9044 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9045 lt_cv_prog_compiler_c_o=yes 9046 fi 9047 fi 9048 chmod u+w . 2>&5 9049 $RM conftest* 9050 # SGI C++ compiler will create directory out/ii_files/ for 9051 # template instantiation 9052 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9053 $RM out/* && rmdir out 9054 cd .. 9055 $RM -r conftest 9056 $RM conftest* 9057 9058fi 9059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9060$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9061 9062 9063 9064 9065hard_links=nottested 9066if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9067 # do not overwrite the value of need_locks provided by the user 9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9069$as_echo_n "checking if we can lock with hard links... " >&6; } 9070 hard_links=yes 9071 $RM conftest* 9072 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9073 touch conftest.a 9074 ln conftest.a conftest.b 2>&5 || hard_links=no 9075 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9077$as_echo "$hard_links" >&6; } 9078 if test no = "$hard_links"; then 9079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9080$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9081 need_locks=warn 9082 fi 9083else 9084 need_locks=no 9085fi 9086 9087 9088 9089 9090 9091 9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9093$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9094 9095 runpath_var= 9096 allow_undefined_flag= 9097 always_export_symbols=no 9098 archive_cmds= 9099 archive_expsym_cmds= 9100 compiler_needs_object=no 9101 enable_shared_with_static_runtimes=no 9102 export_dynamic_flag_spec= 9103 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9104 hardcode_automatic=no 9105 hardcode_direct=no 9106 hardcode_direct_absolute=no 9107 hardcode_libdir_flag_spec= 9108 hardcode_libdir_separator= 9109 hardcode_minus_L=no 9110 hardcode_shlibpath_var=unsupported 9111 inherit_rpath=no 9112 link_all_deplibs=unknown 9113 module_cmds= 9114 module_expsym_cmds= 9115 old_archive_from_new_cmds= 9116 old_archive_from_expsyms_cmds= 9117 thread_safe_flag_spec= 9118 whole_archive_flag_spec= 9119 # include_expsyms should be a list of space-separated symbols to be *always* 9120 # included in the symbol list 9121 include_expsyms= 9122 # exclude_expsyms can be an extended regexp of symbols to exclude 9123 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9124 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9125 # as well as any symbol that contains 'd'. 9126 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9127 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9128 # platforms (ab)use it in PIC code, but their linkers get confused if 9129 # the symbol is explicitly referenced. Since portable code cannot 9130 # rely on this symbol name, it's probably fine to never include it in 9131 # preloaded symbol tables. 9132 # Exclude shared library initialization/finalization symbols. 9133 extract_expsyms_cmds= 9134 9135 case $host_os in 9136 cygwin* | mingw* | pw32* | cegcc*) 9137 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9138 # When not using gcc, we currently assume that we are using 9139 # Microsoft Visual C++. 9140 if test yes != "$GCC"; then 9141 with_gnu_ld=no 9142 fi 9143 ;; 9144 interix*) 9145 # we just hope/assume this is gcc and not c89 (= MSVC++) 9146 with_gnu_ld=yes 9147 ;; 9148 openbsd* | bitrig*) 9149 with_gnu_ld=no 9150 ;; 9151 esac 9152 9153 ld_shlibs=yes 9154 9155 # On some targets, GNU ld is compatible enough with the native linker 9156 # that we're better off using the native interface for both. 9157 lt_use_gnu_ld_interface=no 9158 if test yes = "$with_gnu_ld"; then 9159 case $host_os in 9160 aix*) 9161 # The AIX port of GNU ld has always aspired to compatibility 9162 # with the native linker. However, as the warning in the GNU ld 9163 # block says, versions before 2.19.5* couldn't really create working 9164 # shared libraries, regardless of the interface used. 9165 case `$LD -v 2>&1` in 9166 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9167 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9168 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9169 *) 9170 lt_use_gnu_ld_interface=yes 9171 ;; 9172 esac 9173 ;; 9174 *) 9175 lt_use_gnu_ld_interface=yes 9176 ;; 9177 esac 9178 fi 9179 9180 if test yes = "$lt_use_gnu_ld_interface"; then 9181 # If archive_cmds runs LD, not CC, wlarc should be empty 9182 wlarc='$wl' 9183 9184 # Set some defaults for GNU ld with shared library support. These 9185 # are reset later if shared libraries are not supported. Putting them 9186 # here allows them to be overridden if necessary. 9187 runpath_var=LD_RUN_PATH 9188 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9189 export_dynamic_flag_spec='$wl--export-dynamic' 9190 # ancient GNU ld didn't support --whole-archive et. al. 9191 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9192 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9193 else 9194 whole_archive_flag_spec= 9195 fi 9196 supports_anon_versioning=no 9197 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9198 *GNU\ gold*) supports_anon_versioning=yes ;; 9199 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9200 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9201 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9202 *\ 2.11.*) ;; # other 2.11 versions 9203 *) supports_anon_versioning=yes ;; 9204 esac 9205 9206 # See if GNU ld supports shared libraries. 9207 case $host_os in 9208 aix[3-9]*) 9209 # On AIX/PPC, the GNU linker is very broken 9210 if test ia64 != "$host_cpu"; then 9211 ld_shlibs=no 9212 cat <<_LT_EOF 1>&2 9213 9214*** Warning: the GNU linker, at least up to release 2.19, is reported 9215*** to be unable to reliably create shared libraries on AIX. 9216*** Therefore, libtool is disabling shared libraries support. If you 9217*** really care for shared libraries, you may want to install binutils 9218*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9219*** You will then need to restart the configuration process. 9220 9221_LT_EOF 9222 fi 9223 ;; 9224 9225 amigaos*) 9226 case $host_cpu in 9227 powerpc) 9228 # see comment about AmigaOS4 .so support 9229 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9230 archive_expsym_cmds='' 9231 ;; 9232 m68k) 9233 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)' 9234 hardcode_libdir_flag_spec='-L$libdir' 9235 hardcode_minus_L=yes 9236 ;; 9237 esac 9238 ;; 9239 9240 beos*) 9241 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9242 allow_undefined_flag=unsupported 9243 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9244 # support --undefined. This deserves some investigation. FIXME 9245 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9246 else 9247 ld_shlibs=no 9248 fi 9249 ;; 9250 9251 cygwin* | mingw* | pw32* | cegcc*) 9252 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9253 # as there is no search path for DLLs. 9254 hardcode_libdir_flag_spec='-L$libdir' 9255 export_dynamic_flag_spec='$wl--export-all-symbols' 9256 allow_undefined_flag=unsupported 9257 always_export_symbols=no 9258 enable_shared_with_static_runtimes=yes 9259 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' 9260 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9261 9262 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9263 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9264 # If the export-symbols file already is a .def file, use it as 9265 # is; otherwise, prepend EXPORTS... 9266 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9267 cp $export_symbols $output_objdir/$soname.def; 9268 else 9269 echo EXPORTS > $output_objdir/$soname.def; 9270 cat $export_symbols >> $output_objdir/$soname.def; 9271 fi~ 9272 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9273 else 9274 ld_shlibs=no 9275 fi 9276 ;; 9277 9278 haiku*) 9279 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9280 link_all_deplibs=yes 9281 ;; 9282 9283 os2*) 9284 hardcode_libdir_flag_spec='-L$libdir' 9285 hardcode_minus_L=yes 9286 allow_undefined_flag=unsupported 9287 shrext_cmds=.dll 9288 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9289 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9290 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9291 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9292 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9293 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9294 emximp -o $lib $output_objdir/$libname.def' 9295 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9296 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9297 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9298 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9299 prefix_cmds="$SED"~ 9300 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9301 prefix_cmds="$prefix_cmds -e 1d"; 9302 fi~ 9303 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9304 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9305 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9306 emximp -o $lib $output_objdir/$libname.def' 9307 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9308 enable_shared_with_static_runtimes=yes 9309 ;; 9310 9311 interix[3-9]*) 9312 hardcode_direct=no 9313 hardcode_shlibpath_var=no 9314 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9315 export_dynamic_flag_spec='$wl-E' 9316 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9317 # Instead, shared libraries are loaded at an image base (0x10000000 by 9318 # default) and relocated if they conflict, which is a slow very memory 9319 # consuming and fragmenting process. To avoid this, we pick a random, 9320 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9321 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9322 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9323 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' 9324 ;; 9325 9326 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9327 tmp_diet=no 9328 if test linux-dietlibc = "$host_os"; then 9329 case $cc_basename in 9330 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9331 esac 9332 fi 9333 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9334 && test no = "$tmp_diet" 9335 then 9336 tmp_addflag=' $pic_flag' 9337 tmp_sharedflag='-shared' 9338 case $cc_basename,$host_cpu in 9339 pgcc*) # Portland Group C compiler 9340 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' 9341 tmp_addflag=' $pic_flag' 9342 ;; 9343 pgf77* | pgf90* | pgf95* | pgfortran*) 9344 # Portland Group f77 and f90 compilers 9345 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' 9346 tmp_addflag=' $pic_flag -Mnomain' ;; 9347 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9348 tmp_addflag=' -i_dynamic' ;; 9349 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9350 tmp_addflag=' -i_dynamic -nofor_main' ;; 9351 ifc* | ifort*) # Intel Fortran compiler 9352 tmp_addflag=' -nofor_main' ;; 9353 lf95*) # Lahey Fortran 8.1 9354 whole_archive_flag_spec= 9355 tmp_sharedflag='--shared' ;; 9356 nagfor*) # NAGFOR 5.3 9357 tmp_sharedflag='-Wl,-shared' ;; 9358 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9359 tmp_sharedflag='-qmkshrobj' 9360 tmp_addflag= ;; 9361 nvcc*) # Cuda Compiler Driver 2.2 9362 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' 9363 compiler_needs_object=yes 9364 ;; 9365 esac 9366 case `$CC -V 2>&1 | sed 5q` in 9367 *Sun\ C*) # Sun C 5.9 9368 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' 9369 compiler_needs_object=yes 9370 tmp_sharedflag='-G' ;; 9371 *Sun\ F*) # Sun Fortran 8.3 9372 tmp_sharedflag='-G' ;; 9373 esac 9374 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9375 9376 if test yes = "$supports_anon_versioning"; then 9377 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9378 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9379 echo "local: *; };" >> $output_objdir/$libname.ver~ 9380 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9381 fi 9382 9383 case $cc_basename in 9384 tcc*) 9385 export_dynamic_flag_spec='-rdynamic' 9386 ;; 9387 xlf* | bgf* | bgxlf* | mpixlf*) 9388 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9389 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9390 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9391 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9392 if test yes = "$supports_anon_versioning"; then 9393 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9394 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9395 echo "local: *; };" >> $output_objdir/$libname.ver~ 9396 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9397 fi 9398 ;; 9399 esac 9400 else 9401 ld_shlibs=no 9402 fi 9403 ;; 9404 9405 netbsd*) 9406 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9407 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9408 wlarc= 9409 else 9410 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9411 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9412 fi 9413 ;; 9414 9415 solaris*) 9416 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9417 ld_shlibs=no 9418 cat <<_LT_EOF 1>&2 9419 9420*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9421*** create shared libraries on Solaris systems. Therefore, libtool 9422*** is disabling shared libraries support. We urge you to upgrade GNU 9423*** binutils to release 2.9.1 or newer. Another option is to modify 9424*** your PATH or compiler configuration so that the native linker is 9425*** used, and then restart. 9426 9427_LT_EOF 9428 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9429 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9430 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9431 else 9432 ld_shlibs=no 9433 fi 9434 ;; 9435 9436 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9437 case `$LD -v 2>&1` in 9438 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9439 ld_shlibs=no 9440 cat <<_LT_EOF 1>&2 9441 9442*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9443*** reliably create shared libraries on SCO systems. Therefore, libtool 9444*** is disabling shared libraries support. We urge you to upgrade GNU 9445*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9446*** your PATH or compiler configuration so that the native linker is 9447*** used, and then restart. 9448 9449_LT_EOF 9450 ;; 9451 *) 9452 # For security reasons, it is highly recommended that you always 9453 # use absolute paths for naming shared libraries, and exclude the 9454 # DT_RUNPATH tag from executables and libraries. But doing so 9455 # requires that you compile everything twice, which is a pain. 9456 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9457 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9458 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9459 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9460 else 9461 ld_shlibs=no 9462 fi 9463 ;; 9464 esac 9465 ;; 9466 9467 sunos4*) 9468 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9469 wlarc= 9470 hardcode_direct=yes 9471 hardcode_shlibpath_var=no 9472 ;; 9473 9474 *) 9475 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9476 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9477 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9478 else 9479 ld_shlibs=no 9480 fi 9481 ;; 9482 esac 9483 9484 if test no = "$ld_shlibs"; then 9485 runpath_var= 9486 hardcode_libdir_flag_spec= 9487 export_dynamic_flag_spec= 9488 whole_archive_flag_spec= 9489 fi 9490 else 9491 # PORTME fill in a description of your system's linker (not GNU ld) 9492 case $host_os in 9493 aix3*) 9494 allow_undefined_flag=unsupported 9495 always_export_symbols=yes 9496 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' 9497 # Note: this linker hardcodes the directories in LIBPATH if there 9498 # are no directories specified by -L. 9499 hardcode_minus_L=yes 9500 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9501 # Neither direct hardcoding nor static linking is supported with a 9502 # broken collect2. 9503 hardcode_direct=unsupported 9504 fi 9505 ;; 9506 9507 aix[4-9]*) 9508 if test ia64 = "$host_cpu"; then 9509 # On IA64, the linker does run time linking by default, so we don't 9510 # have to do anything special. 9511 aix_use_runtimelinking=no 9512 exp_sym_flag='-Bexport' 9513 no_entry_flag= 9514 else 9515 # If we're using GNU nm, then we don't want the "-C" option. 9516 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9517 # Without the "-l" option, or with the "-B" option, AIX nm treats 9518 # weak defined symbols like other global defined symbols, whereas 9519 # GNU nm marks them as "W". 9520 # While the 'weak' keyword is ignored in the Export File, we need 9521 # it in the Import File for the 'aix-soname' feature, so we have 9522 # to replace the "-B" option with "-P" for AIX nm. 9523 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9524 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' 9525 else 9526 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' 9527 fi 9528 aix_use_runtimelinking=no 9529 9530 # Test if we are trying to use run time linking or normal 9531 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9532 # have runtime linking enabled, and use it for executables. 9533 # For shared libraries, we enable/disable runtime linking 9534 # depending on the kind of the shared library created - 9535 # when "with_aix_soname,aix_use_runtimelinking" is: 9536 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9537 # "aix,yes" lib.so shared, rtl:yes, for executables 9538 # lib.a static archive 9539 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9540 # lib.a(lib.so.V) shared, rtl:no, for executables 9541 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9542 # lib.a(lib.so.V) shared, rtl:no 9543 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9544 # lib.a static archive 9545 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9546 for ld_flag in $LDFLAGS; do 9547 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9548 aix_use_runtimelinking=yes 9549 break 9550 fi 9551 done 9552 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9553 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9554 # so we don't have lib.a shared libs to link our executables. 9555 # We have to force runtime linking in this case. 9556 aix_use_runtimelinking=yes 9557 LDFLAGS="$LDFLAGS -Wl,-brtl" 9558 fi 9559 ;; 9560 esac 9561 9562 exp_sym_flag='-bexport' 9563 no_entry_flag='-bnoentry' 9564 fi 9565 9566 # When large executables or shared objects are built, AIX ld can 9567 # have problems creating the table of contents. If linking a library 9568 # or program results in "error TOC overflow" add -mminimal-toc to 9569 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9570 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9571 9572 archive_cmds='' 9573 hardcode_direct=yes 9574 hardcode_direct_absolute=yes 9575 hardcode_libdir_separator=':' 9576 link_all_deplibs=yes 9577 file_list_spec='$wl-f,' 9578 case $with_aix_soname,$aix_use_runtimelinking in 9579 aix,*) ;; # traditional, no import file 9580 svr4,* | *,yes) # use import file 9581 # The Import File defines what to hardcode. 9582 hardcode_direct=no 9583 hardcode_direct_absolute=no 9584 ;; 9585 esac 9586 9587 if test yes = "$GCC"; then 9588 case $host_os in aix4.[012]|aix4.[012].*) 9589 # We only want to do this on AIX 4.2 and lower, the check 9590 # below for broken collect2 doesn't work under 4.3+ 9591 collect2name=`$CC -print-prog-name=collect2` 9592 if test -f "$collect2name" && 9593 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9594 then 9595 # We have reworked collect2 9596 : 9597 else 9598 # We have old collect2 9599 hardcode_direct=unsupported 9600 # It fails to find uninstalled libraries when the uninstalled 9601 # path is not listed in the libpath. Setting hardcode_minus_L 9602 # to unsupported forces relinking 9603 hardcode_minus_L=yes 9604 hardcode_libdir_flag_spec='-L$libdir' 9605 hardcode_libdir_separator= 9606 fi 9607 ;; 9608 esac 9609 shared_flag='-shared' 9610 if test yes = "$aix_use_runtimelinking"; then 9611 shared_flag="$shared_flag "'$wl-G' 9612 fi 9613 # Need to ensure runtime linking is disabled for the traditional 9614 # shared library, or the linker may eventually find shared libraries 9615 # /with/ Import File - we do not want to mix them. 9616 shared_flag_aix='-shared' 9617 shared_flag_svr4='-shared $wl-G' 9618 else 9619 # not using gcc 9620 if test ia64 = "$host_cpu"; then 9621 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9622 # chokes on -Wl,-G. The following line is correct: 9623 shared_flag='-G' 9624 else 9625 if test yes = "$aix_use_runtimelinking"; then 9626 shared_flag='$wl-G' 9627 else 9628 shared_flag='$wl-bM:SRE' 9629 fi 9630 shared_flag_aix='$wl-bM:SRE' 9631 shared_flag_svr4='$wl-G' 9632 fi 9633 fi 9634 9635 export_dynamic_flag_spec='$wl-bexpall' 9636 # It seems that -bexpall does not export symbols beginning with 9637 # underscore (_), so it is better to generate a list of symbols to export. 9638 always_export_symbols=yes 9639 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9640 # Warning - without using the other runtime loading flags (-brtl), 9641 # -berok will link without error, but may produce a broken library. 9642 allow_undefined_flag='-berok' 9643 # Determine the default libpath from the value encoded in an 9644 # empty executable. 9645 if test set = "${lt_cv_aix_libpath+set}"; then 9646 aix_libpath=$lt_cv_aix_libpath 9647else 9648 if ${lt_cv_aix_libpath_+:} false; then : 9649 $as_echo_n "(cached) " >&6 9650else 9651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9652/* end confdefs.h. */ 9653 9654int 9655main () 9656{ 9657 9658 ; 9659 return 0; 9660} 9661_ACEOF 9662if ac_fn_c_try_link "$LINENO"; then : 9663 9664 lt_aix_libpath_sed=' 9665 /Import File Strings/,/^$/ { 9666 /^0/ { 9667 s/^0 *\([^ ]*\) *$/\1/ 9668 p 9669 } 9670 }' 9671 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9672 # Check for a 64-bit object if we didn't find anything. 9673 if test -z "$lt_cv_aix_libpath_"; then 9674 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9675 fi 9676fi 9677rm -f core conftest.err conftest.$ac_objext \ 9678 conftest$ac_exeext conftest.$ac_ext 9679 if test -z "$lt_cv_aix_libpath_"; then 9680 lt_cv_aix_libpath_=/usr/lib:/lib 9681 fi 9682 9683fi 9684 9685 aix_libpath=$lt_cv_aix_libpath_ 9686fi 9687 9688 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9689 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 9690 else 9691 if test ia64 = "$host_cpu"; then 9692 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9693 allow_undefined_flag="-z nodefs" 9694 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" 9695 else 9696 # Determine the default libpath from the value encoded in an 9697 # empty executable. 9698 if test set = "${lt_cv_aix_libpath+set}"; then 9699 aix_libpath=$lt_cv_aix_libpath 9700else 9701 if ${lt_cv_aix_libpath_+:} false; then : 9702 $as_echo_n "(cached) " >&6 9703else 9704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9705/* end confdefs.h. */ 9706 9707int 9708main () 9709{ 9710 9711 ; 9712 return 0; 9713} 9714_ACEOF 9715if ac_fn_c_try_link "$LINENO"; then : 9716 9717 lt_aix_libpath_sed=' 9718 /Import File Strings/,/^$/ { 9719 /^0/ { 9720 s/^0 *\([^ ]*\) *$/\1/ 9721 p 9722 } 9723 }' 9724 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9725 # Check for a 64-bit object if we didn't find anything. 9726 if test -z "$lt_cv_aix_libpath_"; then 9727 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9728 fi 9729fi 9730rm -f core conftest.err conftest.$ac_objext \ 9731 conftest$ac_exeext conftest.$ac_ext 9732 if test -z "$lt_cv_aix_libpath_"; then 9733 lt_cv_aix_libpath_=/usr/lib:/lib 9734 fi 9735 9736fi 9737 9738 aix_libpath=$lt_cv_aix_libpath_ 9739fi 9740 9741 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9742 # Warning - without using the other run time loading flags, 9743 # -berok will link without error, but may produce a broken library. 9744 no_undefined_flag=' $wl-bernotok' 9745 allow_undefined_flag=' $wl-berok' 9746 if test yes = "$with_gnu_ld"; then 9747 # We only use this code for GNU lds that support --whole-archive. 9748 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9749 else 9750 # Exported symbols can be pulled into shared objects from archives 9751 whole_archive_flag_spec='$convenience' 9752 fi 9753 archive_cmds_need_lc=yes 9754 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9755 # -brtl affects multiple linker settings, -berok does not and is overridden later 9756 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9757 if test svr4 != "$with_aix_soname"; then 9758 # This is similar to how AIX traditionally builds its shared libraries. 9759 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' 9760 fi 9761 if test aix != "$with_aix_soname"; then 9762 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' 9763 else 9764 # used by -dlpreopen to get the symbols 9765 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9766 fi 9767 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9768 fi 9769 fi 9770 ;; 9771 9772 amigaos*) 9773 case $host_cpu in 9774 powerpc) 9775 # see comment about AmigaOS4 .so support 9776 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9777 archive_expsym_cmds='' 9778 ;; 9779 m68k) 9780 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)' 9781 hardcode_libdir_flag_spec='-L$libdir' 9782 hardcode_minus_L=yes 9783 ;; 9784 esac 9785 ;; 9786 9787 bsdi[45]*) 9788 export_dynamic_flag_spec=-rdynamic 9789 ;; 9790 9791 cygwin* | mingw* | pw32* | cegcc*) 9792 # When not using gcc, we currently assume that we are using 9793 # Microsoft Visual C++. 9794 # hardcode_libdir_flag_spec is actually meaningless, as there is 9795 # no search path for DLLs. 9796 case $cc_basename in 9797 cl*) 9798 # Native MSVC 9799 hardcode_libdir_flag_spec=' ' 9800 allow_undefined_flag=unsupported 9801 always_export_symbols=yes 9802 file_list_spec='@' 9803 # Tell ltmain to make .lib files, not .a files. 9804 libext=lib 9805 # Tell ltmain to make .dll files, not .so files. 9806 shrext_cmds=.dll 9807 # FIXME: Setting linknames here is a bad hack. 9808 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 9809 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9810 cp "$export_symbols" "$output_objdir/$soname.def"; 9811 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 9812 else 9813 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 9814 fi~ 9815 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9816 linknames=' 9817 # The linker will not automatically build a static lib if we build a DLL. 9818 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9819 enable_shared_with_static_runtimes=yes 9820 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9821 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9822 # Don't use ranlib 9823 old_postinstall_cmds='chmod 644 $oldlib' 9824 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9825 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9826 case $lt_outputfile in 9827 *.exe|*.EXE) ;; 9828 *) 9829 lt_outputfile=$lt_outputfile.exe 9830 lt_tool_outputfile=$lt_tool_outputfile.exe 9831 ;; 9832 esac~ 9833 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 9834 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9835 $RM "$lt_outputfile.manifest"; 9836 fi' 9837 ;; 9838 *) 9839 # Assume MSVC wrapper 9840 hardcode_libdir_flag_spec=' ' 9841 allow_undefined_flag=unsupported 9842 # Tell ltmain to make .lib files, not .a files. 9843 libext=lib 9844 # Tell ltmain to make .dll files, not .so files. 9845 shrext_cmds=.dll 9846 # FIXME: Setting linknames here is a bad hack. 9847 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9848 # The linker will automatically build a .lib file if we build a DLL. 9849 old_archive_from_new_cmds='true' 9850 # FIXME: Should let the user specify the lib program. 9851 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9852 enable_shared_with_static_runtimes=yes 9853 ;; 9854 esac 9855 ;; 9856 9857 darwin* | rhapsody*) 9858 9859 9860 archive_cmds_need_lc=no 9861 hardcode_direct=no 9862 hardcode_automatic=yes 9863 hardcode_shlibpath_var=unsupported 9864 if test yes = "$lt_cv_ld_force_load"; then 9865 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\"`' 9866 9867 else 9868 whole_archive_flag_spec='' 9869 fi 9870 link_all_deplibs=yes 9871 allow_undefined_flag=$_lt_dar_allow_undefined 9872 case $cc_basename in 9873 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 9874 *) _lt_dar_can_shared=$GCC ;; 9875 esac 9876 if test yes = "$_lt_dar_can_shared"; then 9877 output_verbose_link_cmd=func_echo_all 9878 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 9879 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 9880 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" 9881 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" 9882 9883 else 9884 ld_shlibs=no 9885 fi 9886 9887 ;; 9888 9889 dgux*) 9890 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9891 hardcode_libdir_flag_spec='-L$libdir' 9892 hardcode_shlibpath_var=no 9893 ;; 9894 9895 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9896 # support. Future versions do this automatically, but an explicit c++rt0.o 9897 # does not break anything, and helps significantly (at the cost of a little 9898 # extra space). 9899 freebsd2.2*) 9900 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9901 hardcode_libdir_flag_spec='-R$libdir' 9902 hardcode_direct=yes 9903 hardcode_shlibpath_var=no 9904 ;; 9905 9906 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9907 freebsd2.*) 9908 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9909 hardcode_direct=yes 9910 hardcode_minus_L=yes 9911 hardcode_shlibpath_var=no 9912 ;; 9913 9914 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9915 freebsd* | dragonfly*) 9916 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9917 hardcode_libdir_flag_spec='-R$libdir' 9918 hardcode_direct=yes 9919 hardcode_shlibpath_var=no 9920 ;; 9921 9922 hpux9*) 9923 if test yes = "$GCC"; then 9924 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' 9925 else 9926 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' 9927 fi 9928 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9929 hardcode_libdir_separator=: 9930 hardcode_direct=yes 9931 9932 # hardcode_minus_L: Not really in the search PATH, 9933 # but as the default location of the library. 9934 hardcode_minus_L=yes 9935 export_dynamic_flag_spec='$wl-E' 9936 ;; 9937 9938 hpux10*) 9939 if test yes,no = "$GCC,$with_gnu_ld"; then 9940 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9941 else 9942 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9943 fi 9944 if test no = "$with_gnu_ld"; then 9945 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9946 hardcode_libdir_separator=: 9947 hardcode_direct=yes 9948 hardcode_direct_absolute=yes 9949 export_dynamic_flag_spec='$wl-E' 9950 # hardcode_minus_L: Not really in the search PATH, 9951 # but as the default location of the library. 9952 hardcode_minus_L=yes 9953 fi 9954 ;; 9955 9956 hpux11*) 9957 if test yes,no = "$GCC,$with_gnu_ld"; then 9958 case $host_cpu in 9959 hppa*64*) 9960 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9961 ;; 9962 ia64*) 9963 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9964 ;; 9965 *) 9966 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9967 ;; 9968 esac 9969 else 9970 case $host_cpu in 9971 hppa*64*) 9972 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9973 ;; 9974 ia64*) 9975 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9976 ;; 9977 *) 9978 9979 # Older versions of the 11.00 compiler do not understand -b yet 9980 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9982$as_echo_n "checking if $CC understands -b... " >&6; } 9983if ${lt_cv_prog_compiler__b+:} false; then : 9984 $as_echo_n "(cached) " >&6 9985else 9986 lt_cv_prog_compiler__b=no 9987 save_LDFLAGS=$LDFLAGS 9988 LDFLAGS="$LDFLAGS -b" 9989 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9990 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9991 # The linker can only warn and ignore the option if not recognized 9992 # So say no if there are warnings 9993 if test -s conftest.err; then 9994 # Append any errors to the config.log. 9995 cat conftest.err 1>&5 9996 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9997 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9998 if diff conftest.exp conftest.er2 >/dev/null; then 9999 lt_cv_prog_compiler__b=yes 10000 fi 10001 else 10002 lt_cv_prog_compiler__b=yes 10003 fi 10004 fi 10005 $RM -r conftest* 10006 LDFLAGS=$save_LDFLAGS 10007 10008fi 10009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10010$as_echo "$lt_cv_prog_compiler__b" >&6; } 10011 10012if test yes = "$lt_cv_prog_compiler__b"; then 10013 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10014else 10015 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10016fi 10017 10018 ;; 10019 esac 10020 fi 10021 if test no = "$with_gnu_ld"; then 10022 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10023 hardcode_libdir_separator=: 10024 10025 case $host_cpu in 10026 hppa*64*|ia64*) 10027 hardcode_direct=no 10028 hardcode_shlibpath_var=no 10029 ;; 10030 *) 10031 hardcode_direct=yes 10032 hardcode_direct_absolute=yes 10033 export_dynamic_flag_spec='$wl-E' 10034 10035 # hardcode_minus_L: Not really in the search PATH, 10036 # but as the default location of the library. 10037 hardcode_minus_L=yes 10038 ;; 10039 esac 10040 fi 10041 ;; 10042 10043 irix5* | irix6* | nonstopux*) 10044 if test yes = "$GCC"; then 10045 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' 10046 # Try to use the -exported_symbol ld option, if it does not 10047 # work, assume that -exports_file does not work either and 10048 # implicitly export all symbols. 10049 # This should be the same for all languages, so no per-tag cache variable. 10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10051$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10052if ${lt_cv_irix_exported_symbol+:} false; then : 10053 $as_echo_n "(cached) " >&6 10054else 10055 save_LDFLAGS=$LDFLAGS 10056 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10058/* end confdefs.h. */ 10059int foo (void) { return 0; } 10060_ACEOF 10061if ac_fn_c_try_link "$LINENO"; then : 10062 lt_cv_irix_exported_symbol=yes 10063else 10064 lt_cv_irix_exported_symbol=no 10065fi 10066rm -f core conftest.err conftest.$ac_objext \ 10067 conftest$ac_exeext conftest.$ac_ext 10068 LDFLAGS=$save_LDFLAGS 10069fi 10070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10071$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10072 if test yes = "$lt_cv_irix_exported_symbol"; then 10073 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' 10074 fi 10075 else 10076 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' 10077 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' 10078 fi 10079 archive_cmds_need_lc='no' 10080 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10081 hardcode_libdir_separator=: 10082 inherit_rpath=yes 10083 link_all_deplibs=yes 10084 ;; 10085 10086 linux*) 10087 case $cc_basename in 10088 tcc*) 10089 # Fabrice Bellard et al's Tiny C Compiler 10090 ld_shlibs=yes 10091 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10092 ;; 10093 esac 10094 ;; 10095 10096 netbsd*) 10097 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10098 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10099 else 10100 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10101 fi 10102 hardcode_libdir_flag_spec='-R$libdir' 10103 hardcode_direct=yes 10104 hardcode_shlibpath_var=no 10105 ;; 10106 10107 newsos6) 10108 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10109 hardcode_direct=yes 10110 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10111 hardcode_libdir_separator=: 10112 hardcode_shlibpath_var=no 10113 ;; 10114 10115 *nto* | *qnx*) 10116 ;; 10117 10118 openbsd* | bitrig*) 10119 if test -f /usr/libexec/ld.so; then 10120 hardcode_direct=yes 10121 hardcode_shlibpath_var=no 10122 hardcode_direct_absolute=yes 10123 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10124 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10125 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10126 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10127 export_dynamic_flag_spec='$wl-E' 10128 else 10129 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10130 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10131 fi 10132 else 10133 ld_shlibs=no 10134 fi 10135 ;; 10136 10137 os2*) 10138 hardcode_libdir_flag_spec='-L$libdir' 10139 hardcode_minus_L=yes 10140 allow_undefined_flag=unsupported 10141 shrext_cmds=.dll 10142 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10143 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10144 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10145 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10146 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10147 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10148 emximp -o $lib $output_objdir/$libname.def' 10149 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10150 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10151 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10152 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10153 prefix_cmds="$SED"~ 10154 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10155 prefix_cmds="$prefix_cmds -e 1d"; 10156 fi~ 10157 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10158 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10159 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10160 emximp -o $lib $output_objdir/$libname.def' 10161 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10162 enable_shared_with_static_runtimes=yes 10163 ;; 10164 10165 osf3*) 10166 if test yes = "$GCC"; then 10167 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10168 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' 10169 else 10170 allow_undefined_flag=' -expect_unresolved \*' 10171 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' 10172 fi 10173 archive_cmds_need_lc='no' 10174 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10175 hardcode_libdir_separator=: 10176 ;; 10177 10178 osf4* | osf5*) # as osf3* with the addition of -msym flag 10179 if test yes = "$GCC"; then 10180 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10181 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' 10182 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10183 else 10184 allow_undefined_flag=' -expect_unresolved \*' 10185 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' 10186 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~ 10187 $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' 10188 10189 # Both c and cxx compiler support -rpath directly 10190 hardcode_libdir_flag_spec='-rpath $libdir' 10191 fi 10192 archive_cmds_need_lc='no' 10193 hardcode_libdir_separator=: 10194 ;; 10195 10196 solaris*) 10197 no_undefined_flag=' -z defs' 10198 if test yes = "$GCC"; then 10199 wlarc='$wl' 10200 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10201 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10202 $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' 10203 else 10204 case `$CC -V 2>&1` in 10205 *"Compilers 5.0"*) 10206 wlarc='' 10207 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10208 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10209 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10210 ;; 10211 *) 10212 wlarc='$wl' 10213 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10214 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10215 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10216 ;; 10217 esac 10218 fi 10219 hardcode_libdir_flag_spec='-R$libdir' 10220 hardcode_shlibpath_var=no 10221 case $host_os in 10222 solaris2.[0-5] | solaris2.[0-5].*) ;; 10223 *) 10224 # The compiler driver will combine and reorder linker options, 10225 # but understands '-z linker_flag'. GCC discards it without '$wl', 10226 # but is careful enough not to reorder. 10227 # Supported since Solaris 2.6 (maybe 2.5.1?) 10228 if test yes = "$GCC"; then 10229 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10230 else 10231 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10232 fi 10233 ;; 10234 esac 10235 link_all_deplibs=yes 10236 ;; 10237 10238 sunos4*) 10239 if test sequent = "$host_vendor"; then 10240 # Use $CC to link under sequent, because it throws in some extra .o 10241 # files that make .init and .fini sections work. 10242 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10243 else 10244 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10245 fi 10246 hardcode_libdir_flag_spec='-L$libdir' 10247 hardcode_direct=yes 10248 hardcode_minus_L=yes 10249 hardcode_shlibpath_var=no 10250 ;; 10251 10252 sysv4) 10253 case $host_vendor in 10254 sni) 10255 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10256 hardcode_direct=yes # is this really true??? 10257 ;; 10258 siemens) 10259 ## LD is ld it makes a PLAMLIB 10260 ## CC just makes a GrossModule. 10261 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10262 reload_cmds='$CC -r -o $output$reload_objs' 10263 hardcode_direct=no 10264 ;; 10265 motorola) 10266 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10267 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10268 ;; 10269 esac 10270 runpath_var='LD_RUN_PATH' 10271 hardcode_shlibpath_var=no 10272 ;; 10273 10274 sysv4.3*) 10275 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10276 hardcode_shlibpath_var=no 10277 export_dynamic_flag_spec='-Bexport' 10278 ;; 10279 10280 sysv4*MP*) 10281 if test -d /usr/nec; then 10282 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10283 hardcode_shlibpath_var=no 10284 runpath_var=LD_RUN_PATH 10285 hardcode_runpath_var=yes 10286 ld_shlibs=yes 10287 fi 10288 ;; 10289 10290 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10291 no_undefined_flag='$wl-z,text' 10292 archive_cmds_need_lc=no 10293 hardcode_shlibpath_var=no 10294 runpath_var='LD_RUN_PATH' 10295 10296 if test yes = "$GCC"; then 10297 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10298 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10299 else 10300 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10301 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10302 fi 10303 ;; 10304 10305 sysv5* | sco3.2v5* | sco5v6*) 10306 # Note: We CANNOT use -z defs as we might desire, because we do not 10307 # link with -lc, and that would cause any symbols used from libc to 10308 # always be unresolved, which means just about no library would 10309 # ever link correctly. If we're not using GNU ld we use -z text 10310 # though, which does catch some bad symbols but isn't as heavy-handed 10311 # as -z defs. 10312 no_undefined_flag='$wl-z,text' 10313 allow_undefined_flag='$wl-z,nodefs' 10314 archive_cmds_need_lc=no 10315 hardcode_shlibpath_var=no 10316 hardcode_libdir_flag_spec='$wl-R,$libdir' 10317 hardcode_libdir_separator=':' 10318 link_all_deplibs=yes 10319 export_dynamic_flag_spec='$wl-Bexport' 10320 runpath_var='LD_RUN_PATH' 10321 10322 if test yes = "$GCC"; then 10323 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10324 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10325 else 10326 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10327 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10328 fi 10329 ;; 10330 10331 uts4*) 10332 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10333 hardcode_libdir_flag_spec='-L$libdir' 10334 hardcode_shlibpath_var=no 10335 ;; 10336 10337 *) 10338 ld_shlibs=no 10339 ;; 10340 esac 10341 10342 if test sni = "$host_vendor"; then 10343 case $host in 10344 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10345 export_dynamic_flag_spec='$wl-Blargedynsym' 10346 ;; 10347 esac 10348 fi 10349 fi 10350 10351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10352$as_echo "$ld_shlibs" >&6; } 10353test no = "$ld_shlibs" && can_build_shared=no 10354 10355with_gnu_ld=$with_gnu_ld 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371# 10372# Do we need to explicitly link libc? 10373# 10374case "x$archive_cmds_need_lc" in 10375x|xyes) 10376 # Assume -lc should be added 10377 archive_cmds_need_lc=yes 10378 10379 if test yes,yes = "$GCC,$enable_shared"; then 10380 case $archive_cmds in 10381 *'~'*) 10382 # FIXME: we may have to deal with multi-command sequences. 10383 ;; 10384 '$CC '*) 10385 # Test whether the compiler implicitly links with -lc since on some 10386 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10387 # to ld, don't add -lc before -lgcc. 10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10389$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10390if ${lt_cv_archive_cmds_need_lc+:} false; then : 10391 $as_echo_n "(cached) " >&6 10392else 10393 $RM conftest* 10394 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10395 10396 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10397 (eval $ac_compile) 2>&5 10398 ac_status=$? 10399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10400 test $ac_status = 0; } 2>conftest.err; then 10401 soname=conftest 10402 lib=conftest 10403 libobjs=conftest.$ac_objext 10404 deplibs= 10405 wl=$lt_prog_compiler_wl 10406 pic_flag=$lt_prog_compiler_pic 10407 compiler_flags=-v 10408 linker_flags=-v 10409 verstring= 10410 output_objdir=. 10411 libname=conftest 10412 lt_save_allow_undefined_flag=$allow_undefined_flag 10413 allow_undefined_flag= 10414 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10415 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10416 ac_status=$? 10417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10418 test $ac_status = 0; } 10419 then 10420 lt_cv_archive_cmds_need_lc=no 10421 else 10422 lt_cv_archive_cmds_need_lc=yes 10423 fi 10424 allow_undefined_flag=$lt_save_allow_undefined_flag 10425 else 10426 cat conftest.err 1>&5 10427 fi 10428 $RM conftest* 10429 10430fi 10431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10432$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10433 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10434 ;; 10435 esac 10436 fi 10437 ;; 10438esac 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10592$as_echo_n "checking dynamic linker characteristics... " >&6; } 10593 10594if test yes = "$GCC"; then 10595 case $host_os in 10596 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10597 *) lt_awk_arg='/^libraries:/' ;; 10598 esac 10599 case $host_os in 10600 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10601 *) lt_sed_strip_eq='s|=/|/|g' ;; 10602 esac 10603 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10604 case $lt_search_path_spec in 10605 *\;*) 10606 # if the path contains ";" then we assume it to be the separator 10607 # otherwise default to the standard path separator (i.e. ":") - it is 10608 # assumed that no part of a normal pathname contains ";" but that should 10609 # okay in the real world where ";" in dirpaths is itself problematic. 10610 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10611 ;; 10612 *) 10613 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10614 ;; 10615 esac 10616 # Ok, now we have the path, separated by spaces, we can step through it 10617 # and add multilib dir if necessary... 10618 lt_tmp_lt_search_path_spec= 10619 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10620 # ...but if some path component already ends with the multilib dir we assume 10621 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10622 case "$lt_multi_os_dir; $lt_search_path_spec " in 10623 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10624 lt_multi_os_dir= 10625 ;; 10626 esac 10627 for lt_sys_path in $lt_search_path_spec; do 10628 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10629 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10630 elif test -n "$lt_multi_os_dir"; then 10631 test -d "$lt_sys_path" && \ 10632 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10633 fi 10634 done 10635 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10636BEGIN {RS = " "; FS = "/|\n";} { 10637 lt_foo = ""; 10638 lt_count = 0; 10639 for (lt_i = NF; lt_i > 0; lt_i--) { 10640 if ($lt_i != "" && $lt_i != ".") { 10641 if ($lt_i == "..") { 10642 lt_count++; 10643 } else { 10644 if (lt_count == 0) { 10645 lt_foo = "/" $lt_i lt_foo; 10646 } else { 10647 lt_count--; 10648 } 10649 } 10650 } 10651 } 10652 if (lt_foo != "") { lt_freq[lt_foo]++; } 10653 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10654}'` 10655 # AWK program above erroneously prepends '/' to C:/dos/paths 10656 # for these hosts. 10657 case $host_os in 10658 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10659 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10660 esac 10661 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10662else 10663 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10664fi 10665library_names_spec= 10666libname_spec='lib$name' 10667soname_spec= 10668shrext_cmds=.so 10669postinstall_cmds= 10670postuninstall_cmds= 10671finish_cmds= 10672finish_eval= 10673shlibpath_var= 10674shlibpath_overrides_runpath=unknown 10675version_type=none 10676dynamic_linker="$host_os ld.so" 10677sys_lib_dlsearch_path_spec="/lib /usr/lib" 10678need_lib_prefix=unknown 10679hardcode_into_libs=no 10680 10681# when you set need_version to no, make sure it does not cause -set_version 10682# flags to be left without arguments 10683need_version=unknown 10684 10685 10686 10687case $host_os in 10688aix3*) 10689 version_type=linux # correct to gnu/linux during the next big refactor 10690 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10691 shlibpath_var=LIBPATH 10692 10693 # AIX 3 has no versioning support, so we append a major version to the name. 10694 soname_spec='$libname$release$shared_ext$major' 10695 ;; 10696 10697aix[4-9]*) 10698 version_type=linux # correct to gnu/linux during the next big refactor 10699 need_lib_prefix=no 10700 need_version=no 10701 hardcode_into_libs=yes 10702 if test ia64 = "$host_cpu"; then 10703 # AIX 5 supports IA64 10704 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10705 shlibpath_var=LD_LIBRARY_PATH 10706 else 10707 # With GCC up to 2.95.x, collect2 would create an import file 10708 # for dependence libraries. The import file would start with 10709 # the line '#! .'. This would cause the generated library to 10710 # depend on '.', always an invalid library. This was fixed in 10711 # development snapshots of GCC prior to 3.0. 10712 case $host_os in 10713 aix4 | aix4.[01] | aix4.[01].*) 10714 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10715 echo ' yes ' 10716 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10717 : 10718 else 10719 can_build_shared=no 10720 fi 10721 ;; 10722 esac 10723 # Using Import Files as archive members, it is possible to support 10724 # filename-based versioning of shared library archives on AIX. While 10725 # this would work for both with and without runtime linking, it will 10726 # prevent static linking of such archives. So we do filename-based 10727 # shared library versioning with .so extension only, which is used 10728 # when both runtime linking and shared linking is enabled. 10729 # Unfortunately, runtime linking may impact performance, so we do 10730 # not want this to be the default eventually. Also, we use the 10731 # versioned .so libs for executables only if there is the -brtl 10732 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10733 # To allow for filename-based versioning support, we need to create 10734 # libNAME.so.V as an archive file, containing: 10735 # *) an Import File, referring to the versioned filename of the 10736 # archive as well as the shared archive member, telling the 10737 # bitwidth (32 or 64) of that shared object, and providing the 10738 # list of exported symbols of that shared object, eventually 10739 # decorated with the 'weak' keyword 10740 # *) the shared object with the F_LOADONLY flag set, to really avoid 10741 # it being seen by the linker. 10742 # At run time we better use the real file rather than another symlink, 10743 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10744 10745 case $with_aix_soname,$aix_use_runtimelinking in 10746 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10747 # soname into executable. Probably we can add versioning support to 10748 # collect2, so additional links can be useful in future. 10749 aix,yes) # traditional libtool 10750 dynamic_linker='AIX unversionable lib.so' 10751 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10752 # instead of lib<name>.a to let people know that these are not 10753 # typical AIX shared libraries. 10754 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10755 ;; 10756 aix,no) # traditional AIX only 10757 dynamic_linker='AIX lib.a(lib.so.V)' 10758 # We preserve .a as extension for shared libraries through AIX4.2 10759 # and later when we are not doing run time linking. 10760 library_names_spec='$libname$release.a $libname.a' 10761 soname_spec='$libname$release$shared_ext$major' 10762 ;; 10763 svr4,*) # full svr4 only 10764 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10765 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10766 # We do not specify a path in Import Files, so LIBPATH fires. 10767 shlibpath_overrides_runpath=yes 10768 ;; 10769 *,yes) # both, prefer svr4 10770 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10771 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10772 # unpreferred sharedlib libNAME.a needs extra handling 10773 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"' 10774 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"' 10775 # We do not specify a path in Import Files, so LIBPATH fires. 10776 shlibpath_overrides_runpath=yes 10777 ;; 10778 *,no) # both, prefer aix 10779 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10780 library_names_spec='$libname$release.a $libname.a' 10781 soname_spec='$libname$release$shared_ext$major' 10782 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10783 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)' 10784 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"' 10785 ;; 10786 esac 10787 shlibpath_var=LIBPATH 10788 fi 10789 ;; 10790 10791amigaos*) 10792 case $host_cpu in 10793 powerpc) 10794 # Since July 2007 AmigaOS4 officially supports .so libraries. 10795 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10796 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10797 ;; 10798 m68k) 10799 library_names_spec='$libname.ixlibrary $libname.a' 10800 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10801 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' 10802 ;; 10803 esac 10804 ;; 10805 10806beos*) 10807 library_names_spec='$libname$shared_ext' 10808 dynamic_linker="$host_os ld.so" 10809 shlibpath_var=LIBRARY_PATH 10810 ;; 10811 10812bsdi[45]*) 10813 version_type=linux # correct to gnu/linux during the next big refactor 10814 need_version=no 10815 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10816 soname_spec='$libname$release$shared_ext$major' 10817 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10818 shlibpath_var=LD_LIBRARY_PATH 10819 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10820 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10821 # the default ld.so.conf also contains /usr/contrib/lib and 10822 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10823 # libtool to hard-code these into programs 10824 ;; 10825 10826cygwin* | mingw* | pw32* | cegcc*) 10827 version_type=windows 10828 shrext_cmds=.dll 10829 need_version=no 10830 need_lib_prefix=no 10831 10832 case $GCC,$cc_basename in 10833 yes,*) 10834 # gcc 10835 library_names_spec='$libname.dll.a' 10836 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10837 postinstall_cmds='base_file=`basename \$file`~ 10838 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10839 dldir=$destdir/`dirname \$dlpath`~ 10840 test -d \$dldir || mkdir -p \$dldir~ 10841 $install_prog $dir/$dlname \$dldir/$dlname~ 10842 chmod a+x \$dldir/$dlname~ 10843 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10844 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10845 fi' 10846 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10847 dlpath=$dir/\$dldll~ 10848 $RM \$dlpath' 10849 shlibpath_overrides_runpath=yes 10850 10851 case $host_os in 10852 cygwin*) 10853 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10854 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10855 10856 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10857 ;; 10858 mingw* | cegcc*) 10859 # MinGW DLLs use traditional 'lib' prefix 10860 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10861 ;; 10862 pw32*) 10863 # pw32 DLLs use 'pw' prefix rather than 'lib' 10864 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10865 ;; 10866 esac 10867 dynamic_linker='Win32 ld.exe' 10868 ;; 10869 10870 *,cl*) 10871 # Native MSVC 10872 libname_spec='$name' 10873 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10874 library_names_spec='$libname.dll.lib' 10875 10876 case $build_os in 10877 mingw*) 10878 sys_lib_search_path_spec= 10879 lt_save_ifs=$IFS 10880 IFS=';' 10881 for lt_path in $LIB 10882 do 10883 IFS=$lt_save_ifs 10884 # Let DOS variable expansion print the short 8.3 style file name. 10885 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10886 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10887 done 10888 IFS=$lt_save_ifs 10889 # Convert to MSYS style. 10890 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10891 ;; 10892 cygwin*) 10893 # Convert to unix form, then to dos form, then back to unix form 10894 # but this time dos style (no spaces!) so that the unix form looks 10895 # like /cygdrive/c/PROGRA~1:/cygdr... 10896 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10897 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10898 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10899 ;; 10900 *) 10901 sys_lib_search_path_spec=$LIB 10902 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10903 # It is most probably a Windows format PATH. 10904 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10905 else 10906 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10907 fi 10908 # FIXME: find the short name or the path components, as spaces are 10909 # common. (e.g. "Program Files" -> "PROGRA~1") 10910 ;; 10911 esac 10912 10913 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10914 postinstall_cmds='base_file=`basename \$file`~ 10915 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10916 dldir=$destdir/`dirname \$dlpath`~ 10917 test -d \$dldir || mkdir -p \$dldir~ 10918 $install_prog $dir/$dlname \$dldir/$dlname' 10919 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10920 dlpath=$dir/\$dldll~ 10921 $RM \$dlpath' 10922 shlibpath_overrides_runpath=yes 10923 dynamic_linker='Win32 link.exe' 10924 ;; 10925 10926 *) 10927 # Assume MSVC wrapper 10928 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 10929 dynamic_linker='Win32 ld.exe' 10930 ;; 10931 esac 10932 # FIXME: first we should search . and the directory the executable is in 10933 shlibpath_var=PATH 10934 ;; 10935 10936darwin* | rhapsody*) 10937 dynamic_linker="$host_os dyld" 10938 version_type=darwin 10939 need_lib_prefix=no 10940 need_version=no 10941 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 10942 soname_spec='$libname$release$major$shared_ext' 10943 shlibpath_overrides_runpath=yes 10944 shlibpath_var=DYLD_LIBRARY_PATH 10945 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10946 10947 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10948 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10949 ;; 10950 10951dgux*) 10952 version_type=linux # correct to gnu/linux during the next big refactor 10953 need_lib_prefix=no 10954 need_version=no 10955 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10956 soname_spec='$libname$release$shared_ext$major' 10957 shlibpath_var=LD_LIBRARY_PATH 10958 ;; 10959 10960freebsd* | dragonfly*) 10961 # DragonFly does not have aout. When/if they implement a new 10962 # versioning mechanism, adjust this. 10963 if test -x /usr/bin/objformat; then 10964 objformat=`/usr/bin/objformat` 10965 else 10966 case $host_os in 10967 freebsd[23].*) objformat=aout ;; 10968 *) objformat=elf ;; 10969 esac 10970 fi 10971 version_type=freebsd-$objformat 10972 case $version_type in 10973 freebsd-elf*) 10974 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10975 soname_spec='$libname$release$shared_ext$major' 10976 need_version=no 10977 need_lib_prefix=no 10978 ;; 10979 freebsd-*) 10980 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10981 need_version=yes 10982 ;; 10983 esac 10984 shlibpath_var=LD_LIBRARY_PATH 10985 case $host_os in 10986 freebsd2.*) 10987 shlibpath_overrides_runpath=yes 10988 ;; 10989 freebsd3.[01]* | freebsdelf3.[01]*) 10990 shlibpath_overrides_runpath=yes 10991 hardcode_into_libs=yes 10992 ;; 10993 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10994 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10995 shlibpath_overrides_runpath=no 10996 hardcode_into_libs=yes 10997 ;; 10998 *) # from 4.6 on, and DragonFly 10999 shlibpath_overrides_runpath=yes 11000 hardcode_into_libs=yes 11001 ;; 11002 esac 11003 ;; 11004 11005haiku*) 11006 version_type=linux # correct to gnu/linux during the next big refactor 11007 need_lib_prefix=no 11008 need_version=no 11009 dynamic_linker="$host_os runtime_loader" 11010 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11011 soname_spec='$libname$release$shared_ext$major' 11012 shlibpath_var=LIBRARY_PATH 11013 shlibpath_overrides_runpath=no 11014 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11015 hardcode_into_libs=yes 11016 ;; 11017 11018hpux9* | hpux10* | hpux11*) 11019 # Give a soname corresponding to the major version so that dld.sl refuses to 11020 # link against other versions. 11021 version_type=sunos 11022 need_lib_prefix=no 11023 need_version=no 11024 case $host_cpu in 11025 ia64*) 11026 shrext_cmds='.so' 11027 hardcode_into_libs=yes 11028 dynamic_linker="$host_os dld.so" 11029 shlibpath_var=LD_LIBRARY_PATH 11030 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11031 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11032 soname_spec='$libname$release$shared_ext$major' 11033 if test 32 = "$HPUX_IA64_MODE"; then 11034 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11035 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11036 else 11037 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11038 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11039 fi 11040 ;; 11041 hppa*64*) 11042 shrext_cmds='.sl' 11043 hardcode_into_libs=yes 11044 dynamic_linker="$host_os dld.sl" 11045 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11046 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11047 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11048 soname_spec='$libname$release$shared_ext$major' 11049 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11050 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11051 ;; 11052 *) 11053 shrext_cmds='.sl' 11054 dynamic_linker="$host_os dld.sl" 11055 shlibpath_var=SHLIB_PATH 11056 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11057 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11058 soname_spec='$libname$release$shared_ext$major' 11059 ;; 11060 esac 11061 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11062 postinstall_cmds='chmod 555 $lib' 11063 # or fails outright, so override atomically: 11064 install_override_mode=555 11065 ;; 11066 11067interix[3-9]*) 11068 version_type=linux # correct to gnu/linux during the next big refactor 11069 need_lib_prefix=no 11070 need_version=no 11071 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11072 soname_spec='$libname$release$shared_ext$major' 11073 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11074 shlibpath_var=LD_LIBRARY_PATH 11075 shlibpath_overrides_runpath=no 11076 hardcode_into_libs=yes 11077 ;; 11078 11079irix5* | irix6* | nonstopux*) 11080 case $host_os in 11081 nonstopux*) version_type=nonstopux ;; 11082 *) 11083 if test yes = "$lt_cv_prog_gnu_ld"; then 11084 version_type=linux # correct to gnu/linux during the next big refactor 11085 else 11086 version_type=irix 11087 fi ;; 11088 esac 11089 need_lib_prefix=no 11090 need_version=no 11091 soname_spec='$libname$release$shared_ext$major' 11092 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11093 case $host_os in 11094 irix5* | nonstopux*) 11095 libsuff= shlibsuff= 11096 ;; 11097 *) 11098 case $LD in # libtool.m4 will add one of these switches to LD 11099 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11100 libsuff= shlibsuff= libmagic=32-bit;; 11101 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11102 libsuff=32 shlibsuff=N32 libmagic=N32;; 11103 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11104 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11105 *) libsuff= shlibsuff= libmagic=never-match;; 11106 esac 11107 ;; 11108 esac 11109 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11110 shlibpath_overrides_runpath=no 11111 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11112 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11113 hardcode_into_libs=yes 11114 ;; 11115 11116# No shared lib support for Linux oldld, aout, or coff. 11117linux*oldld* | linux*aout* | linux*coff*) 11118 dynamic_linker=no 11119 ;; 11120 11121linux*android*) 11122 version_type=none # Android doesn't support versioned libraries. 11123 need_lib_prefix=no 11124 need_version=no 11125 library_names_spec='$libname$release$shared_ext' 11126 soname_spec='$libname$release$shared_ext' 11127 finish_cmds= 11128 shlibpath_var=LD_LIBRARY_PATH 11129 shlibpath_overrides_runpath=yes 11130 11131 # This implies no fast_install, which is unacceptable. 11132 # Some rework will be needed to allow for fast_install 11133 # before this can be enabled. 11134 hardcode_into_libs=yes 11135 11136 dynamic_linker='Android linker' 11137 # Don't embed -rpath directories since the linker doesn't support them. 11138 hardcode_libdir_flag_spec='-L$libdir' 11139 ;; 11140 11141# This must be glibc/ELF. 11142linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11143 version_type=linux # correct to gnu/linux during the next big refactor 11144 need_lib_prefix=no 11145 need_version=no 11146 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11147 soname_spec='$libname$release$shared_ext$major' 11148 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11149 shlibpath_var=LD_LIBRARY_PATH 11150 shlibpath_overrides_runpath=no 11151 11152 # Some binutils ld are patched to set DT_RUNPATH 11153 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11154 $as_echo_n "(cached) " >&6 11155else 11156 lt_cv_shlibpath_overrides_runpath=no 11157 save_LDFLAGS=$LDFLAGS 11158 save_libdir=$libdir 11159 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11160 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11162/* end confdefs.h. */ 11163 11164int 11165main () 11166{ 11167 11168 ; 11169 return 0; 11170} 11171_ACEOF 11172if ac_fn_c_try_link "$LINENO"; then : 11173 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11174 lt_cv_shlibpath_overrides_runpath=yes 11175fi 11176fi 11177rm -f core conftest.err conftest.$ac_objext \ 11178 conftest$ac_exeext conftest.$ac_ext 11179 LDFLAGS=$save_LDFLAGS 11180 libdir=$save_libdir 11181 11182fi 11183 11184 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11185 11186 # This implies no fast_install, which is unacceptable. 11187 # Some rework will be needed to allow for fast_install 11188 # before this can be enabled. 11189 hardcode_into_libs=yes 11190 11191 # Add ABI-specific directories to the system library path. 11192 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 11193 11194 # Ideally, we could use ldconfig to report *all* directores which are 11195 # searched for libraries, however this is still not possible. Aside from not 11196 # being certain /sbin/ldconfig is available, command 11197 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11198 # even though it is searched at run-time. Try to do the best guess by 11199 # appending ld.so.conf contents (and includes) to the search path. 11200 if test -f /etc/ld.so.conf; then 11201 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' ' '` 11202 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 11203 fi 11204 11205 # We used to test for /lib/ld.so.1 and disable shared libraries on 11206 # powerpc, because MkLinux only supported shared libraries with the 11207 # GNU dynamic linker. Since this was broken with cross compilers, 11208 # most powerpc-linux boxes support dynamic linking these days and 11209 # people can always --disable-shared, the test was removed, and we 11210 # assume the GNU/Linux dynamic linker is in use. 11211 dynamic_linker='GNU/Linux ld.so' 11212 ;; 11213 11214netbsd*) 11215 version_type=sunos 11216 need_lib_prefix=no 11217 need_version=no 11218 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11219 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11220 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11221 dynamic_linker='NetBSD (a.out) ld.so' 11222 else 11223 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11224 soname_spec='$libname$release$shared_ext$major' 11225 dynamic_linker='NetBSD ld.elf_so' 11226 fi 11227 shlibpath_var=LD_LIBRARY_PATH 11228 shlibpath_overrides_runpath=yes 11229 hardcode_into_libs=yes 11230 ;; 11231 11232newsos6) 11233 version_type=linux # correct to gnu/linux during the next big refactor 11234 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11235 shlibpath_var=LD_LIBRARY_PATH 11236 shlibpath_overrides_runpath=yes 11237 ;; 11238 11239*nto* | *qnx*) 11240 version_type=qnx 11241 need_lib_prefix=no 11242 need_version=no 11243 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11244 soname_spec='$libname$release$shared_ext$major' 11245 shlibpath_var=LD_LIBRARY_PATH 11246 shlibpath_overrides_runpath=no 11247 hardcode_into_libs=yes 11248 dynamic_linker='ldqnx.so' 11249 ;; 11250 11251openbsd* | bitrig*) 11252 version_type=sunos 11253 sys_lib_dlsearch_path_spec=/usr/lib 11254 need_lib_prefix=no 11255 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11256 need_version=no 11257 else 11258 need_version=yes 11259 fi 11260 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11261 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11262 shlibpath_var=LD_LIBRARY_PATH 11263 shlibpath_overrides_runpath=yes 11264 ;; 11265 11266os2*) 11267 libname_spec='$name' 11268 version_type=windows 11269 shrext_cmds=.dll 11270 need_version=no 11271 need_lib_prefix=no 11272 # OS/2 can only load a DLL with a base name of 8 characters or less. 11273 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11274 v=$($ECHO $release$versuffix | tr -d .-); 11275 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11276 $ECHO $n$v`$shared_ext' 11277 library_names_spec='${libname}_dll.$libext' 11278 dynamic_linker='OS/2 ld.exe' 11279 shlibpath_var=BEGINLIBPATH 11280 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11281 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11282 postinstall_cmds='base_file=`basename \$file`~ 11283 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11284 dldir=$destdir/`dirname \$dlpath`~ 11285 test -d \$dldir || mkdir -p \$dldir~ 11286 $install_prog $dir/$dlname \$dldir/$dlname~ 11287 chmod a+x \$dldir/$dlname~ 11288 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11289 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11290 fi' 11291 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11292 dlpath=$dir/\$dldll~ 11293 $RM \$dlpath' 11294 ;; 11295 11296osf3* | osf4* | osf5*) 11297 version_type=osf 11298 need_lib_prefix=no 11299 need_version=no 11300 soname_spec='$libname$release$shared_ext$major' 11301 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11302 shlibpath_var=LD_LIBRARY_PATH 11303 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11304 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11305 ;; 11306 11307rdos*) 11308 dynamic_linker=no 11309 ;; 11310 11311solaris*) 11312 version_type=linux # correct to gnu/linux during the next big refactor 11313 need_lib_prefix=no 11314 need_version=no 11315 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11316 soname_spec='$libname$release$shared_ext$major' 11317 shlibpath_var=LD_LIBRARY_PATH 11318 shlibpath_overrides_runpath=yes 11319 hardcode_into_libs=yes 11320 # ldd complains unless libraries are executable 11321 postinstall_cmds='chmod +x $lib' 11322 ;; 11323 11324sunos4*) 11325 version_type=sunos 11326 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11327 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11328 shlibpath_var=LD_LIBRARY_PATH 11329 shlibpath_overrides_runpath=yes 11330 if test yes = "$with_gnu_ld"; then 11331 need_lib_prefix=no 11332 fi 11333 need_version=yes 11334 ;; 11335 11336sysv4 | sysv4.3*) 11337 version_type=linux # correct to gnu/linux during the next big refactor 11338 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11339 soname_spec='$libname$release$shared_ext$major' 11340 shlibpath_var=LD_LIBRARY_PATH 11341 case $host_vendor in 11342 sni) 11343 shlibpath_overrides_runpath=no 11344 need_lib_prefix=no 11345 runpath_var=LD_RUN_PATH 11346 ;; 11347 siemens) 11348 need_lib_prefix=no 11349 ;; 11350 motorola) 11351 need_lib_prefix=no 11352 need_version=no 11353 shlibpath_overrides_runpath=no 11354 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11355 ;; 11356 esac 11357 ;; 11358 11359sysv4*MP*) 11360 if test -d /usr/nec; then 11361 version_type=linux # correct to gnu/linux during the next big refactor 11362 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11363 soname_spec='$libname$shared_ext.$major' 11364 shlibpath_var=LD_LIBRARY_PATH 11365 fi 11366 ;; 11367 11368sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11369 version_type=sco 11370 need_lib_prefix=no 11371 need_version=no 11372 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11373 soname_spec='$libname$release$shared_ext$major' 11374 shlibpath_var=LD_LIBRARY_PATH 11375 shlibpath_overrides_runpath=yes 11376 hardcode_into_libs=yes 11377 if test yes = "$with_gnu_ld"; then 11378 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11379 else 11380 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11381 case $host_os in 11382 sco3.2v5*) 11383 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11384 ;; 11385 esac 11386 fi 11387 sys_lib_dlsearch_path_spec='/usr/lib' 11388 ;; 11389 11390tpf*) 11391 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11392 version_type=linux # correct to gnu/linux during the next big refactor 11393 need_lib_prefix=no 11394 need_version=no 11395 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11396 shlibpath_var=LD_LIBRARY_PATH 11397 shlibpath_overrides_runpath=no 11398 hardcode_into_libs=yes 11399 ;; 11400 11401uts4*) 11402 version_type=linux # correct to gnu/linux during the next big refactor 11403 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11404 soname_spec='$libname$release$shared_ext$major' 11405 shlibpath_var=LD_LIBRARY_PATH 11406 ;; 11407 11408*) 11409 dynamic_linker=no 11410 ;; 11411esac 11412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11413$as_echo "$dynamic_linker" >&6; } 11414test no = "$dynamic_linker" && can_build_shared=no 11415 11416variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11417if test yes = "$GCC"; then 11418 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11419fi 11420 11421if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11422 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11423fi 11424 11425if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11426 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11427fi 11428 11429# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11430configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11431 11432# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11433func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11434 11435# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11436configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11535$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11536hardcode_action= 11537if test -n "$hardcode_libdir_flag_spec" || 11538 test -n "$runpath_var" || 11539 test yes = "$hardcode_automatic"; then 11540 11541 # We can hardcode non-existent directories. 11542 if test no != "$hardcode_direct" && 11543 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11544 # have to relink, otherwise we might link with an installed library 11545 # when we should be linking with a yet-to-be-installed one 11546 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11547 test no != "$hardcode_minus_L"; then 11548 # Linking always hardcodes the temporary library directory. 11549 hardcode_action=relink 11550 else 11551 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11552 hardcode_action=immediate 11553 fi 11554else 11555 # We cannot hardcode anything, or else we can only hardcode existing 11556 # directories. 11557 hardcode_action=unsupported 11558fi 11559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11560$as_echo "$hardcode_action" >&6; } 11561 11562if test relink = "$hardcode_action" || 11563 test yes = "$inherit_rpath"; then 11564 # Fast installation is not supported 11565 enable_fast_install=no 11566elif test yes = "$shlibpath_overrides_runpath" || 11567 test no = "$enable_shared"; then 11568 # Fast installation is not necessary 11569 enable_fast_install=needless 11570fi 11571 11572 11573 11574 11575 11576 11577 if test yes != "$enable_dlopen"; then 11578 enable_dlopen=unknown 11579 enable_dlopen_self=unknown 11580 enable_dlopen_self_static=unknown 11581else 11582 lt_cv_dlopen=no 11583 lt_cv_dlopen_libs= 11584 11585 case $host_os in 11586 beos*) 11587 lt_cv_dlopen=load_add_on 11588 lt_cv_dlopen_libs= 11589 lt_cv_dlopen_self=yes 11590 ;; 11591 11592 mingw* | pw32* | cegcc*) 11593 lt_cv_dlopen=LoadLibrary 11594 lt_cv_dlopen_libs= 11595 ;; 11596 11597 cygwin*) 11598 lt_cv_dlopen=dlopen 11599 lt_cv_dlopen_libs= 11600 ;; 11601 11602 darwin*) 11603 # if libdl is installed we need to link against it 11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11605$as_echo_n "checking for dlopen in -ldl... " >&6; } 11606if ${ac_cv_lib_dl_dlopen+:} false; then : 11607 $as_echo_n "(cached) " >&6 11608else 11609 ac_check_lib_save_LIBS=$LIBS 11610LIBS="-ldl $LIBS" 11611cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11612/* end confdefs.h. */ 11613 11614/* Override any GCC internal prototype to avoid an error. 11615 Use char because int might match the return type of a GCC 11616 builtin and then its argument prototype would still apply. */ 11617#ifdef __cplusplus 11618extern "C" 11619#endif 11620char dlopen (); 11621int 11622main () 11623{ 11624return dlopen (); 11625 ; 11626 return 0; 11627} 11628_ACEOF 11629if ac_fn_c_try_link "$LINENO"; then : 11630 ac_cv_lib_dl_dlopen=yes 11631else 11632 ac_cv_lib_dl_dlopen=no 11633fi 11634rm -f core conftest.err conftest.$ac_objext \ 11635 conftest$ac_exeext conftest.$ac_ext 11636LIBS=$ac_check_lib_save_LIBS 11637fi 11638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11639$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11640if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11641 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11642else 11643 11644 lt_cv_dlopen=dyld 11645 lt_cv_dlopen_libs= 11646 lt_cv_dlopen_self=yes 11647 11648fi 11649 11650 ;; 11651 11652 tpf*) 11653 # Don't try to run any link tests for TPF. We know it's impossible 11654 # because TPF is a cross-compiler, and we know how we open DSOs. 11655 lt_cv_dlopen=dlopen 11656 lt_cv_dlopen_libs= 11657 lt_cv_dlopen_self=no 11658 ;; 11659 11660 *) 11661 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11662if test "x$ac_cv_func_shl_load" = xyes; then : 11663 lt_cv_dlopen=shl_load 11664else 11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11666$as_echo_n "checking for shl_load in -ldld... " >&6; } 11667if ${ac_cv_lib_dld_shl_load+:} false; then : 11668 $as_echo_n "(cached) " >&6 11669else 11670 ac_check_lib_save_LIBS=$LIBS 11671LIBS="-ldld $LIBS" 11672cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11673/* end confdefs.h. */ 11674 11675/* Override any GCC internal prototype to avoid an error. 11676 Use char because int might match the return type of a GCC 11677 builtin and then its argument prototype would still apply. */ 11678#ifdef __cplusplus 11679extern "C" 11680#endif 11681char shl_load (); 11682int 11683main () 11684{ 11685return shl_load (); 11686 ; 11687 return 0; 11688} 11689_ACEOF 11690if ac_fn_c_try_link "$LINENO"; then : 11691 ac_cv_lib_dld_shl_load=yes 11692else 11693 ac_cv_lib_dld_shl_load=no 11694fi 11695rm -f core conftest.err conftest.$ac_objext \ 11696 conftest$ac_exeext conftest.$ac_ext 11697LIBS=$ac_check_lib_save_LIBS 11698fi 11699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11700$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11701if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11702 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11703else 11704 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11705if test "x$ac_cv_func_dlopen" = xyes; then : 11706 lt_cv_dlopen=dlopen 11707else 11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11709$as_echo_n "checking for dlopen in -ldl... " >&6; } 11710if ${ac_cv_lib_dl_dlopen+:} false; then : 11711 $as_echo_n "(cached) " >&6 11712else 11713 ac_check_lib_save_LIBS=$LIBS 11714LIBS="-ldl $LIBS" 11715cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11716/* end confdefs.h. */ 11717 11718/* Override any GCC internal prototype to avoid an error. 11719 Use char because int might match the return type of a GCC 11720 builtin and then its argument prototype would still apply. */ 11721#ifdef __cplusplus 11722extern "C" 11723#endif 11724char dlopen (); 11725int 11726main () 11727{ 11728return dlopen (); 11729 ; 11730 return 0; 11731} 11732_ACEOF 11733if ac_fn_c_try_link "$LINENO"; then : 11734 ac_cv_lib_dl_dlopen=yes 11735else 11736 ac_cv_lib_dl_dlopen=no 11737fi 11738rm -f core conftest.err conftest.$ac_objext \ 11739 conftest$ac_exeext conftest.$ac_ext 11740LIBS=$ac_check_lib_save_LIBS 11741fi 11742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11743$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11744if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11745 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11746else 11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11748$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11749if ${ac_cv_lib_svld_dlopen+:} false; then : 11750 $as_echo_n "(cached) " >&6 11751else 11752 ac_check_lib_save_LIBS=$LIBS 11753LIBS="-lsvld $LIBS" 11754cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11755/* end confdefs.h. */ 11756 11757/* Override any GCC internal prototype to avoid an error. 11758 Use char because int might match the return type of a GCC 11759 builtin and then its argument prototype would still apply. */ 11760#ifdef __cplusplus 11761extern "C" 11762#endif 11763char dlopen (); 11764int 11765main () 11766{ 11767return dlopen (); 11768 ; 11769 return 0; 11770} 11771_ACEOF 11772if ac_fn_c_try_link "$LINENO"; then : 11773 ac_cv_lib_svld_dlopen=yes 11774else 11775 ac_cv_lib_svld_dlopen=no 11776fi 11777rm -f core conftest.err conftest.$ac_objext \ 11778 conftest$ac_exeext conftest.$ac_ext 11779LIBS=$ac_check_lib_save_LIBS 11780fi 11781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11782$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11783if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11784 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11785else 11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11787$as_echo_n "checking for dld_link in -ldld... " >&6; } 11788if ${ac_cv_lib_dld_dld_link+:} false; then : 11789 $as_echo_n "(cached) " >&6 11790else 11791 ac_check_lib_save_LIBS=$LIBS 11792LIBS="-ldld $LIBS" 11793cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11794/* end confdefs.h. */ 11795 11796/* Override any GCC internal prototype to avoid an error. 11797 Use char because int might match the return type of a GCC 11798 builtin and then its argument prototype would still apply. */ 11799#ifdef __cplusplus 11800extern "C" 11801#endif 11802char dld_link (); 11803int 11804main () 11805{ 11806return dld_link (); 11807 ; 11808 return 0; 11809} 11810_ACEOF 11811if ac_fn_c_try_link "$LINENO"; then : 11812 ac_cv_lib_dld_dld_link=yes 11813else 11814 ac_cv_lib_dld_dld_link=no 11815fi 11816rm -f core conftest.err conftest.$ac_objext \ 11817 conftest$ac_exeext conftest.$ac_ext 11818LIBS=$ac_check_lib_save_LIBS 11819fi 11820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11821$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11822if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11823 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11824fi 11825 11826 11827fi 11828 11829 11830fi 11831 11832 11833fi 11834 11835 11836fi 11837 11838 11839fi 11840 11841 ;; 11842 esac 11843 11844 if test no = "$lt_cv_dlopen"; then 11845 enable_dlopen=no 11846 else 11847 enable_dlopen=yes 11848 fi 11849 11850 case $lt_cv_dlopen in 11851 dlopen) 11852 save_CPPFLAGS=$CPPFLAGS 11853 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11854 11855 save_LDFLAGS=$LDFLAGS 11856 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11857 11858 save_LIBS=$LIBS 11859 LIBS="$lt_cv_dlopen_libs $LIBS" 11860 11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11862$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11863if ${lt_cv_dlopen_self+:} false; then : 11864 $as_echo_n "(cached) " >&6 11865else 11866 if test yes = "$cross_compiling"; then : 11867 lt_cv_dlopen_self=cross 11868else 11869 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11870 lt_status=$lt_dlunknown 11871 cat > conftest.$ac_ext <<_LT_EOF 11872#line $LINENO "configure" 11873#include "confdefs.h" 11874 11875#if HAVE_DLFCN_H 11876#include <dlfcn.h> 11877#endif 11878 11879#include <stdio.h> 11880 11881#ifdef RTLD_GLOBAL 11882# define LT_DLGLOBAL RTLD_GLOBAL 11883#else 11884# ifdef DL_GLOBAL 11885# define LT_DLGLOBAL DL_GLOBAL 11886# else 11887# define LT_DLGLOBAL 0 11888# endif 11889#endif 11890 11891/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11892 find out it does not work in some platform. */ 11893#ifndef LT_DLLAZY_OR_NOW 11894# ifdef RTLD_LAZY 11895# define LT_DLLAZY_OR_NOW RTLD_LAZY 11896# else 11897# ifdef DL_LAZY 11898# define LT_DLLAZY_OR_NOW DL_LAZY 11899# else 11900# ifdef RTLD_NOW 11901# define LT_DLLAZY_OR_NOW RTLD_NOW 11902# else 11903# ifdef DL_NOW 11904# define LT_DLLAZY_OR_NOW DL_NOW 11905# else 11906# define LT_DLLAZY_OR_NOW 0 11907# endif 11908# endif 11909# endif 11910# endif 11911#endif 11912 11913/* When -fvisibility=hidden is used, assume the code has been annotated 11914 correspondingly for the symbols needed. */ 11915#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11916int fnord () __attribute__((visibility("default"))); 11917#endif 11918 11919int fnord () { return 42; } 11920int main () 11921{ 11922 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11923 int status = $lt_dlunknown; 11924 11925 if (self) 11926 { 11927 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11928 else 11929 { 11930 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11931 else puts (dlerror ()); 11932 } 11933 /* dlclose (self); */ 11934 } 11935 else 11936 puts (dlerror ()); 11937 11938 return status; 11939} 11940_LT_EOF 11941 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11942 (eval $ac_link) 2>&5 11943 ac_status=$? 11944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11945 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11946 (./conftest; exit; ) >&5 2>/dev/null 11947 lt_status=$? 11948 case x$lt_status in 11949 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11950 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11951 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11952 esac 11953 else : 11954 # compilation failed 11955 lt_cv_dlopen_self=no 11956 fi 11957fi 11958rm -fr conftest* 11959 11960 11961fi 11962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11963$as_echo "$lt_cv_dlopen_self" >&6; } 11964 11965 if test yes = "$lt_cv_dlopen_self"; then 11966 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11968$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11969if ${lt_cv_dlopen_self_static+:} false; then : 11970 $as_echo_n "(cached) " >&6 11971else 11972 if test yes = "$cross_compiling"; then : 11973 lt_cv_dlopen_self_static=cross 11974else 11975 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11976 lt_status=$lt_dlunknown 11977 cat > conftest.$ac_ext <<_LT_EOF 11978#line $LINENO "configure" 11979#include "confdefs.h" 11980 11981#if HAVE_DLFCN_H 11982#include <dlfcn.h> 11983#endif 11984 11985#include <stdio.h> 11986 11987#ifdef RTLD_GLOBAL 11988# define LT_DLGLOBAL RTLD_GLOBAL 11989#else 11990# ifdef DL_GLOBAL 11991# define LT_DLGLOBAL DL_GLOBAL 11992# else 11993# define LT_DLGLOBAL 0 11994# endif 11995#endif 11996 11997/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11998 find out it does not work in some platform. */ 11999#ifndef LT_DLLAZY_OR_NOW 12000# ifdef RTLD_LAZY 12001# define LT_DLLAZY_OR_NOW RTLD_LAZY 12002# else 12003# ifdef DL_LAZY 12004# define LT_DLLAZY_OR_NOW DL_LAZY 12005# else 12006# ifdef RTLD_NOW 12007# define LT_DLLAZY_OR_NOW RTLD_NOW 12008# else 12009# ifdef DL_NOW 12010# define LT_DLLAZY_OR_NOW DL_NOW 12011# else 12012# define LT_DLLAZY_OR_NOW 0 12013# endif 12014# endif 12015# endif 12016# endif 12017#endif 12018 12019/* When -fvisibility=hidden is used, assume the code has been annotated 12020 correspondingly for the symbols needed. */ 12021#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12022int fnord () __attribute__((visibility("default"))); 12023#endif 12024 12025int fnord () { return 42; } 12026int main () 12027{ 12028 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12029 int status = $lt_dlunknown; 12030 12031 if (self) 12032 { 12033 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12034 else 12035 { 12036 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12037 else puts (dlerror ()); 12038 } 12039 /* dlclose (self); */ 12040 } 12041 else 12042 puts (dlerror ()); 12043 12044 return status; 12045} 12046_LT_EOF 12047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12048 (eval $ac_link) 2>&5 12049 ac_status=$? 12050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12051 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12052 (./conftest; exit; ) >&5 2>/dev/null 12053 lt_status=$? 12054 case x$lt_status in 12055 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12056 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12057 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12058 esac 12059 else : 12060 # compilation failed 12061 lt_cv_dlopen_self_static=no 12062 fi 12063fi 12064rm -fr conftest* 12065 12066 12067fi 12068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12069$as_echo "$lt_cv_dlopen_self_static" >&6; } 12070 fi 12071 12072 CPPFLAGS=$save_CPPFLAGS 12073 LDFLAGS=$save_LDFLAGS 12074 LIBS=$save_LIBS 12075 ;; 12076 esac 12077 12078 case $lt_cv_dlopen_self in 12079 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12080 *) enable_dlopen_self=unknown ;; 12081 esac 12082 12083 case $lt_cv_dlopen_self_static in 12084 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12085 *) enable_dlopen_self_static=unknown ;; 12086 esac 12087fi 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105striplib= 12106old_striplib= 12107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12108$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12109if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12110 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12111 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12113$as_echo "yes" >&6; } 12114else 12115# FIXME - insert some real tests, host_os isn't really good enough 12116 case $host_os in 12117 darwin*) 12118 if test -n "$STRIP"; then 12119 striplib="$STRIP -x" 12120 old_striplib="$STRIP -S" 12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12122$as_echo "yes" >&6; } 12123 else 12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12125$as_echo "no" >&6; } 12126 fi 12127 ;; 12128 *) 12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12130$as_echo "no" >&6; } 12131 ;; 12132 esac 12133fi 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 # Report what library types will actually be built 12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12148$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12150$as_echo "$can_build_shared" >&6; } 12151 12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12153$as_echo_n "checking whether to build shared libraries... " >&6; } 12154 test no = "$can_build_shared" && enable_shared=no 12155 12156 # On AIX, shared libraries and static libraries use the same namespace, and 12157 # are all built from PIC. 12158 case $host_os in 12159 aix3*) 12160 test yes = "$enable_shared" && enable_static=no 12161 if test -n "$RANLIB"; then 12162 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12163 postinstall_cmds='$RANLIB $lib' 12164 fi 12165 ;; 12166 12167 aix[4-9]*) 12168 if test ia64 != "$host_cpu"; then 12169 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12170 yes,aix,yes) ;; # shared object as lib.so file only 12171 yes,svr4,*) ;; # shared object as lib.so archive member only 12172 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12173 esac 12174 fi 12175 ;; 12176 esac 12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12178$as_echo "$enable_shared" >&6; } 12179 12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12181$as_echo_n "checking whether to build static libraries... " >&6; } 12182 # Make sure either enable_shared or enable_static is yes. 12183 test yes = "$enable_shared" || enable_static=yes 12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12185$as_echo "$enable_static" >&6; } 12186 12187 12188 12189 12190fi 12191ac_ext=c 12192ac_cpp='$CPP $CPPFLAGS' 12193ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12194ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12195ac_compiler_gnu=$ac_cv_c_compiler_gnu 12196 12197CC=$lt_save_CC 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 ac_config_commands="$ac_config_commands libtool" 12214 12215 12216 12217 12218# Only expand once: 12219 12220 12221# Check whether --enable-largefile was given. 12222if test "${enable_largefile+set}" = set; then : 12223 enableval=$enable_largefile; 12224fi 12225 12226if test "$enable_largefile" != no; then 12227 12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 12229$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 12230if ${ac_cv_sys_largefile_CC+:} false; then : 12231 $as_echo_n "(cached) " >&6 12232else 12233 ac_cv_sys_largefile_CC=no 12234 if test "$GCC" != yes; then 12235 ac_save_CC=$CC 12236 while :; do 12237 # IRIX 6.2 and later do not support large files by default, 12238 # so use the C compiler's -n32 option if that helps. 12239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12240/* end confdefs.h. */ 12241#include <sys/types.h> 12242 /* Check that off_t can represent 2**63 - 1 correctly. 12243 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12244 since some C++ compilers masquerading as C compilers 12245 incorrectly reject 9223372036854775807. */ 12246#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12247 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12248 && LARGE_OFF_T % 2147483647 == 1) 12249 ? 1 : -1]; 12250int 12251main () 12252{ 12253 12254 ; 12255 return 0; 12256} 12257_ACEOF 12258 if ac_fn_c_try_compile "$LINENO"; then : 12259 break 12260fi 12261rm -f core conftest.err conftest.$ac_objext 12262 CC="$CC -n32" 12263 if ac_fn_c_try_compile "$LINENO"; then : 12264 ac_cv_sys_largefile_CC=' -n32'; break 12265fi 12266rm -f core conftest.err conftest.$ac_objext 12267 break 12268 done 12269 CC=$ac_save_CC 12270 rm -f conftest.$ac_ext 12271 fi 12272fi 12273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 12274$as_echo "$ac_cv_sys_largefile_CC" >&6; } 12275 if test "$ac_cv_sys_largefile_CC" != no; then 12276 CC=$CC$ac_cv_sys_largefile_CC 12277 fi 12278 12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 12280$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 12281if ${ac_cv_sys_file_offset_bits+:} false; then : 12282 $as_echo_n "(cached) " >&6 12283else 12284 while :; do 12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12286/* end confdefs.h. */ 12287#include <sys/types.h> 12288 /* Check that off_t can represent 2**63 - 1 correctly. 12289 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12290 since some C++ compilers masquerading as C compilers 12291 incorrectly reject 9223372036854775807. */ 12292#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12293 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12294 && LARGE_OFF_T % 2147483647 == 1) 12295 ? 1 : -1]; 12296int 12297main () 12298{ 12299 12300 ; 12301 return 0; 12302} 12303_ACEOF 12304if ac_fn_c_try_compile "$LINENO"; then : 12305 ac_cv_sys_file_offset_bits=no; break 12306fi 12307rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12309/* end confdefs.h. */ 12310#define _FILE_OFFSET_BITS 64 12311#include <sys/types.h> 12312 /* Check that off_t can represent 2**63 - 1 correctly. 12313 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12314 since some C++ compilers masquerading as C compilers 12315 incorrectly reject 9223372036854775807. */ 12316#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12317 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12318 && LARGE_OFF_T % 2147483647 == 1) 12319 ? 1 : -1]; 12320int 12321main () 12322{ 12323 12324 ; 12325 return 0; 12326} 12327_ACEOF 12328if ac_fn_c_try_compile "$LINENO"; then : 12329 ac_cv_sys_file_offset_bits=64; break 12330fi 12331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12332 ac_cv_sys_file_offset_bits=unknown 12333 break 12334done 12335fi 12336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 12337$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 12338case $ac_cv_sys_file_offset_bits in #( 12339 no | unknown) ;; 12340 *) 12341cat >>confdefs.h <<_ACEOF 12342#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 12343_ACEOF 12344;; 12345esac 12346rm -rf conftest* 12347 if test $ac_cv_sys_file_offset_bits = unknown; then 12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 12349$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 12350if ${ac_cv_sys_large_files+:} false; then : 12351 $as_echo_n "(cached) " >&6 12352else 12353 while :; do 12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12355/* end confdefs.h. */ 12356#include <sys/types.h> 12357 /* Check that off_t can represent 2**63 - 1 correctly. 12358 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12359 since some C++ compilers masquerading as C compilers 12360 incorrectly reject 9223372036854775807. */ 12361#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12362 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12363 && LARGE_OFF_T % 2147483647 == 1) 12364 ? 1 : -1]; 12365int 12366main () 12367{ 12368 12369 ; 12370 return 0; 12371} 12372_ACEOF 12373if ac_fn_c_try_compile "$LINENO"; then : 12374 ac_cv_sys_large_files=no; break 12375fi 12376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12378/* end confdefs.h. */ 12379#define _LARGE_FILES 1 12380#include <sys/types.h> 12381 /* Check that off_t can represent 2**63 - 1 correctly. 12382 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12383 since some C++ compilers masquerading as C compilers 12384 incorrectly reject 9223372036854775807. */ 12385#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12386 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12387 && LARGE_OFF_T % 2147483647 == 1) 12388 ? 1 : -1]; 12389int 12390main () 12391{ 12392 12393 ; 12394 return 0; 12395} 12396_ACEOF 12397if ac_fn_c_try_compile "$LINENO"; then : 12398 ac_cv_sys_large_files=1; break 12399fi 12400rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12401 ac_cv_sys_large_files=unknown 12402 break 12403done 12404fi 12405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 12406$as_echo "$ac_cv_sys_large_files" >&6; } 12407case $ac_cv_sys_large_files in #( 12408 no | unknown) ;; 12409 *) 12410cat >>confdefs.h <<_ACEOF 12411#define _LARGE_FILES $ac_cv_sys_large_files 12412_ACEOF 12413;; 12414esac 12415rm -rf conftest* 12416 fi 12417 12418 12419fi 12420 12421 12422if test x$GCC = xyes 12423then 12424 CFLAGS="-Wall $CFLAGS" 12425fi 12426if test x$GXX = xyes 12427then 12428 CXXFLAGS="-Wall $CXXFLAGS" 12429fi 12430 12431CFLAGS="-I$srcdir/.. -I.. -I$srcdir/../.. -I../.. $CFLAGS" 12432CXXFLAGS="-I$srcdir/.. -I.. -I$srcdir/../.. -I../.. $CXXFLAGS" 12433 12434 12435. ../../dbobj.config 12436if test "$dblibrary" != "" 12437then 12438 dblibrary="../../$dblibrary" 12439fi 12440 12441 12442makedatprog_target="" 12443if test "$dblibrary" != "" 12444then 12445 makedatprog_target=makedatprog 12446fi 12447 12448 12449 12450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 12451$as_echo_n "checking for ANSI C header files... " >&6; } 12452if ${ac_cv_header_stdc+:} false; then : 12453 $as_echo_n "(cached) " >&6 12454else 12455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12456/* end confdefs.h. */ 12457#include <stdlib.h> 12458#include <stdarg.h> 12459#include <string.h> 12460#include <float.h> 12461 12462int 12463main () 12464{ 12465 12466 ; 12467 return 0; 12468} 12469_ACEOF 12470if ac_fn_c_try_compile "$LINENO"; then : 12471 ac_cv_header_stdc=yes 12472else 12473 ac_cv_header_stdc=no 12474fi 12475rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12476 12477if test $ac_cv_header_stdc = yes; then 12478 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 12479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12480/* end confdefs.h. */ 12481#include <string.h> 12482 12483_ACEOF 12484if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12485 $EGREP "memchr" >/dev/null 2>&1; then : 12486 12487else 12488 ac_cv_header_stdc=no 12489fi 12490rm -f conftest* 12491 12492fi 12493 12494if test $ac_cv_header_stdc = yes; then 12495 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 12496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12497/* end confdefs.h. */ 12498#include <stdlib.h> 12499 12500_ACEOF 12501if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12502 $EGREP "free" >/dev/null 2>&1; then : 12503 12504else 12505 ac_cv_header_stdc=no 12506fi 12507rm -f conftest* 12508 12509fi 12510 12511if test $ac_cv_header_stdc = yes; then 12512 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 12513 if test "$cross_compiling" = yes; then : 12514 : 12515else 12516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12517/* end confdefs.h. */ 12518#include <ctype.h> 12519#include <stdlib.h> 12520#if ((' ' & 0x0FF) == 0x020) 12521# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 12522# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 12523#else 12524# define ISLOWER(c) \ 12525 (('a' <= (c) && (c) <= 'i') \ 12526 || ('j' <= (c) && (c) <= 'r') \ 12527 || ('s' <= (c) && (c) <= 'z')) 12528# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 12529#endif 12530 12531#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 12532int 12533main () 12534{ 12535 int i; 12536 for (i = 0; i < 256; i++) 12537 if (XOR (islower (i), ISLOWER (i)) 12538 || toupper (i) != TOUPPER (i)) 12539 return 2; 12540 return 0; 12541} 12542_ACEOF 12543if ac_fn_c_try_run "$LINENO"; then : 12544 12545else 12546 ac_cv_header_stdc=no 12547fi 12548rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12549 conftest.$ac_objext conftest.beam conftest.$ac_ext 12550fi 12551 12552fi 12553fi 12554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 12555$as_echo "$ac_cv_header_stdc" >&6; } 12556if test $ac_cv_header_stdc = yes; then 12557 12558$as_echo "#define STDC_HEADERS 1" >>confdefs.h 12559 12560fi 12561 12562for ac_header in unistd.h 12563do : 12564 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 12565if test "x$ac_cv_header_unistd_h" = xyes; then : 12566 cat >>confdefs.h <<_ACEOF 12567#define HAVE_UNISTD_H 1 12568_ACEOF 12569 12570fi 12571 12572done 12573 12574 12575 12576 12577 12578# Check whether --with-makedatprog was given. 12579if test "${with_makedatprog+set}" = set; then : 12580 withval=$with_makedatprog; makedatprog="$withval" 12581else 12582 makedatprog="$bindir/makedatprog" 12583fi 12584 12585 12586makedatprogpath="$makedatprog" 12587 12588 12589ac_config_files="$ac_config_files Makefile makedat" 12590 12591cat >confcache <<\_ACEOF 12592# This file is a shell script that caches the results of configure 12593# tests run on this system so they can be shared between configure 12594# scripts and configure runs, see configure's option --config-cache. 12595# It is not useful on other systems. If it contains results you don't 12596# want to keep, you may remove or edit it. 12597# 12598# config.status only pays attention to the cache file if you give it 12599# the --recheck option to rerun configure. 12600# 12601# `ac_cv_env_foo' variables (set or unset) will be overridden when 12602# loading this file, other *unset* `ac_cv_foo' will be assigned the 12603# following values. 12604 12605_ACEOF 12606 12607# The following way of writing the cache mishandles newlines in values, 12608# but we know of no workaround that is simple, portable, and efficient. 12609# So, we kill variables containing newlines. 12610# Ultrix sh set writes to stderr and can't be redirected directly, 12611# and sets the high bit in the cache file unless we assign to the vars. 12612( 12613 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12614 eval ac_val=\$$ac_var 12615 case $ac_val in #( 12616 *${as_nl}*) 12617 case $ac_var in #( 12618 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12619$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12620 esac 12621 case $ac_var in #( 12622 _ | IFS | as_nl) ;; #( 12623 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12624 *) { eval $ac_var=; unset $ac_var;} ;; 12625 esac ;; 12626 esac 12627 done 12628 12629 (set) 2>&1 | 12630 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12631 *${as_nl}ac_space=\ *) 12632 # `set' does not quote correctly, so add quotes: double-quote 12633 # substitution turns \\\\ into \\, and sed turns \\ into \. 12634 sed -n \ 12635 "s/'/'\\\\''/g; 12636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12637 ;; #( 12638 *) 12639 # `set' quotes correctly as required by POSIX, so do not add quotes. 12640 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12641 ;; 12642 esac | 12643 sort 12644) | 12645 sed ' 12646 /^ac_cv_env_/b end 12647 t clear 12648 :clear 12649 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12650 t end 12651 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12652 :end' >>confcache 12653if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12654 if test -w "$cache_file"; then 12655 if test "x$cache_file" != "x/dev/null"; then 12656 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12657$as_echo "$as_me: updating cache $cache_file" >&6;} 12658 if test ! -f "$cache_file" || test -h "$cache_file"; then 12659 cat confcache >"$cache_file" 12660 else 12661 case $cache_file in #( 12662 */* | ?:*) 12663 mv -f confcache "$cache_file"$$ && 12664 mv -f "$cache_file"$$ "$cache_file" ;; #( 12665 *) 12666 mv -f confcache "$cache_file" ;; 12667 esac 12668 fi 12669 fi 12670 else 12671 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12672$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12673 fi 12674fi 12675rm -f confcache 12676 12677test "x$prefix" = xNONE && prefix=$ac_default_prefix 12678# Let make expand exec_prefix. 12679test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12680 12681DEFS=-DHAVE_CONFIG_H 12682 12683ac_libobjs= 12684ac_ltlibobjs= 12685U= 12686for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12687 # 1. Remove the extension, and $U if already installed. 12688 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12689 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12690 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12691 # will be set to the directory where LIBOBJS objects are built. 12692 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12693 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12694done 12695LIBOBJS=$ac_libobjs 12696 12697LTLIBOBJS=$ac_ltlibobjs 12698 12699 12700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 12701$as_echo_n "checking that generated files are newer than configure... " >&6; } 12702 if test -n "$am_sleep_pid"; then 12703 # Hide warnings about reused PIDs. 12704 wait $am_sleep_pid 2>/dev/null 12705 fi 12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 12707$as_echo "done" >&6; } 12708 if test -n "$EXEEXT"; then 12709 am__EXEEXT_TRUE= 12710 am__EXEEXT_FALSE='#' 12711else 12712 am__EXEEXT_TRUE='#' 12713 am__EXEEXT_FALSE= 12714fi 12715 12716if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12717 as_fn_error $? "conditional \"AMDEP\" was never defined. 12718Usually this means the macro was only invoked conditionally." "$LINENO" 5 12719fi 12720if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12721 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12722Usually this means the macro was only invoked conditionally." "$LINENO" 5 12723fi 12724 12725: "${CONFIG_STATUS=./config.status}" 12726ac_write_fail=0 12727ac_clean_files_save=$ac_clean_files 12728ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12729{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12730$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12731as_write_fail=0 12732cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12733#! $SHELL 12734# Generated by $as_me. 12735# Run this file to recreate the current configuration. 12736# Compiler output produced by configure, useful for debugging 12737# configure, is in config.log if it exists. 12738 12739debug=false 12740ac_cs_recheck=false 12741ac_cs_silent=false 12742 12743SHELL=\${CONFIG_SHELL-$SHELL} 12744export SHELL 12745_ASEOF 12746cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12747## -------------------- ## 12748## M4sh Initialization. ## 12749## -------------------- ## 12750 12751# Be more Bourne compatible 12752DUALCASE=1; export DUALCASE # for MKS sh 12753if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12754 emulate sh 12755 NULLCMD=: 12756 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12757 # is contrary to our usage. Disable this feature. 12758 alias -g '${1+"$@"}'='"$@"' 12759 setopt NO_GLOB_SUBST 12760else 12761 case `(set -o) 2>/dev/null` in #( 12762 *posix*) : 12763 set -o posix ;; #( 12764 *) : 12765 ;; 12766esac 12767fi 12768 12769 12770as_nl=' 12771' 12772export as_nl 12773# Printing a long string crashes Solaris 7 /usr/bin/printf. 12774as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12775as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12776as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12777# Prefer a ksh shell builtin over an external printf program on Solaris, 12778# but without wasting forks for bash or zsh. 12779if test -z "$BASH_VERSION$ZSH_VERSION" \ 12780 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12781 as_echo='print -r --' 12782 as_echo_n='print -rn --' 12783elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12784 as_echo='printf %s\n' 12785 as_echo_n='printf %s' 12786else 12787 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12788 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12789 as_echo_n='/usr/ucb/echo -n' 12790 else 12791 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12792 as_echo_n_body='eval 12793 arg=$1; 12794 case $arg in #( 12795 *"$as_nl"*) 12796 expr "X$arg" : "X\\(.*\\)$as_nl"; 12797 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12798 esac; 12799 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12800 ' 12801 export as_echo_n_body 12802 as_echo_n='sh -c $as_echo_n_body as_echo' 12803 fi 12804 export as_echo_body 12805 as_echo='sh -c $as_echo_body as_echo' 12806fi 12807 12808# The user is always right. 12809if test "${PATH_SEPARATOR+set}" != set; then 12810 PATH_SEPARATOR=: 12811 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12812 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12813 PATH_SEPARATOR=';' 12814 } 12815fi 12816 12817 12818# IFS 12819# We need space, tab and new line, in precisely that order. Quoting is 12820# there to prevent editors from complaining about space-tab. 12821# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12822# splitting by setting IFS to empty value.) 12823IFS=" "" $as_nl" 12824 12825# Find who we are. Look in the path if we contain no directory separator. 12826as_myself= 12827case $0 in #(( 12828 *[\\/]* ) as_myself=$0 ;; 12829 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12830for as_dir in $PATH 12831do 12832 IFS=$as_save_IFS 12833 test -z "$as_dir" && as_dir=. 12834 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12835 done 12836IFS=$as_save_IFS 12837 12838 ;; 12839esac 12840# We did not find ourselves, most probably we were run as `sh COMMAND' 12841# in which case we are not to be found in the path. 12842if test "x$as_myself" = x; then 12843 as_myself=$0 12844fi 12845if test ! -f "$as_myself"; then 12846 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12847 exit 1 12848fi 12849 12850# Unset variables that we do not need and which cause bugs (e.g. in 12851# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12852# suppresses any "Segmentation fault" message there. '((' could 12853# trigger a bug in pdksh 5.2.14. 12854for as_var in BASH_ENV ENV MAIL MAILPATH 12855do eval test x\${$as_var+set} = xset \ 12856 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12857done 12858PS1='$ ' 12859PS2='> ' 12860PS4='+ ' 12861 12862# NLS nuisances. 12863LC_ALL=C 12864export LC_ALL 12865LANGUAGE=C 12866export LANGUAGE 12867 12868# CDPATH. 12869(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12870 12871 12872# as_fn_error STATUS ERROR [LINENO LOG_FD] 12873# ---------------------------------------- 12874# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12875# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12876# script with STATUS, using 1 if that was 0. 12877as_fn_error () 12878{ 12879 as_status=$1; test $as_status -eq 0 && as_status=1 12880 if test "$4"; then 12881 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12882 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12883 fi 12884 $as_echo "$as_me: error: $2" >&2 12885 as_fn_exit $as_status 12886} # as_fn_error 12887 12888 12889# as_fn_set_status STATUS 12890# ----------------------- 12891# Set $? to STATUS, without forking. 12892as_fn_set_status () 12893{ 12894 return $1 12895} # as_fn_set_status 12896 12897# as_fn_exit STATUS 12898# ----------------- 12899# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12900as_fn_exit () 12901{ 12902 set +e 12903 as_fn_set_status $1 12904 exit $1 12905} # as_fn_exit 12906 12907# as_fn_unset VAR 12908# --------------- 12909# Portably unset VAR. 12910as_fn_unset () 12911{ 12912 { eval $1=; unset $1;} 12913} 12914as_unset=as_fn_unset 12915# as_fn_append VAR VALUE 12916# ---------------------- 12917# Append the text in VALUE to the end of the definition contained in VAR. Take 12918# advantage of any shell optimizations that allow amortized linear growth over 12919# repeated appends, instead of the typical quadratic growth present in naive 12920# implementations. 12921if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12922 eval 'as_fn_append () 12923 { 12924 eval $1+=\$2 12925 }' 12926else 12927 as_fn_append () 12928 { 12929 eval $1=\$$1\$2 12930 } 12931fi # as_fn_append 12932 12933# as_fn_arith ARG... 12934# ------------------ 12935# Perform arithmetic evaluation on the ARGs, and store the result in the 12936# global $as_val. Take advantage of shells that can avoid forks. The arguments 12937# must be portable across $(()) and expr. 12938if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12939 eval 'as_fn_arith () 12940 { 12941 as_val=$(( $* )) 12942 }' 12943else 12944 as_fn_arith () 12945 { 12946 as_val=`expr "$@" || test $? -eq 1` 12947 } 12948fi # as_fn_arith 12949 12950 12951if expr a : '\(a\)' >/dev/null 2>&1 && 12952 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12953 as_expr=expr 12954else 12955 as_expr=false 12956fi 12957 12958if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12959 as_basename=basename 12960else 12961 as_basename=false 12962fi 12963 12964if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12965 as_dirname=dirname 12966else 12967 as_dirname=false 12968fi 12969 12970as_me=`$as_basename -- "$0" || 12971$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12972 X"$0" : 'X\(//\)$' \| \ 12973 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12974$as_echo X/"$0" | 12975 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12976 s//\1/ 12977 q 12978 } 12979 /^X\/\(\/\/\)$/{ 12980 s//\1/ 12981 q 12982 } 12983 /^X\/\(\/\).*/{ 12984 s//\1/ 12985 q 12986 } 12987 s/.*/./; q'` 12988 12989# Avoid depending upon Character Ranges. 12990as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12991as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12992as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12993as_cr_digits='0123456789' 12994as_cr_alnum=$as_cr_Letters$as_cr_digits 12995 12996ECHO_C= ECHO_N= ECHO_T= 12997case `echo -n x` in #((((( 12998-n*) 12999 case `echo 'xy\c'` in 13000 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13001 xy) ECHO_C='\c';; 13002 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13003 ECHO_T=' ';; 13004 esac;; 13005*) 13006 ECHO_N='-n';; 13007esac 13008 13009rm -f conf$$ conf$$.exe conf$$.file 13010if test -d conf$$.dir; then 13011 rm -f conf$$.dir/conf$$.file 13012else 13013 rm -f conf$$.dir 13014 mkdir conf$$.dir 2>/dev/null 13015fi 13016if (echo >conf$$.file) 2>/dev/null; then 13017 if ln -s conf$$.file conf$$ 2>/dev/null; then 13018 as_ln_s='ln -s' 13019 # ... but there are two gotchas: 13020 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13021 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13022 # In both cases, we have to default to `cp -pR'. 13023 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13024 as_ln_s='cp -pR' 13025 elif ln conf$$.file conf$$ 2>/dev/null; then 13026 as_ln_s=ln 13027 else 13028 as_ln_s='cp -pR' 13029 fi 13030else 13031 as_ln_s='cp -pR' 13032fi 13033rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13034rmdir conf$$.dir 2>/dev/null 13035 13036 13037# as_fn_mkdir_p 13038# ------------- 13039# Create "$as_dir" as a directory, including parents if necessary. 13040as_fn_mkdir_p () 13041{ 13042 13043 case $as_dir in #( 13044 -*) as_dir=./$as_dir;; 13045 esac 13046 test -d "$as_dir" || eval $as_mkdir_p || { 13047 as_dirs= 13048 while :; do 13049 case $as_dir in #( 13050 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13051 *) as_qdir=$as_dir;; 13052 esac 13053 as_dirs="'$as_qdir' $as_dirs" 13054 as_dir=`$as_dirname -- "$as_dir" || 13055$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13056 X"$as_dir" : 'X\(//\)[^/]' \| \ 13057 X"$as_dir" : 'X\(//\)$' \| \ 13058 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13059$as_echo X"$as_dir" | 13060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13061 s//\1/ 13062 q 13063 } 13064 /^X\(\/\/\)[^/].*/{ 13065 s//\1/ 13066 q 13067 } 13068 /^X\(\/\/\)$/{ 13069 s//\1/ 13070 q 13071 } 13072 /^X\(\/\).*/{ 13073 s//\1/ 13074 q 13075 } 13076 s/.*/./; q'` 13077 test -d "$as_dir" && break 13078 done 13079 test -z "$as_dirs" || eval "mkdir $as_dirs" 13080 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13081 13082 13083} # as_fn_mkdir_p 13084if mkdir -p . 2>/dev/null; then 13085 as_mkdir_p='mkdir -p "$as_dir"' 13086else 13087 test -d ./-p && rmdir ./-p 13088 as_mkdir_p=false 13089fi 13090 13091 13092# as_fn_executable_p FILE 13093# ----------------------- 13094# Test if FILE is an executable regular file. 13095as_fn_executable_p () 13096{ 13097 test -f "$1" && test -x "$1" 13098} # as_fn_executable_p 13099as_test_x='test -x' 13100as_executable_p=as_fn_executable_p 13101 13102# Sed expression to map a string onto a valid CPP name. 13103as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13104 13105# Sed expression to map a string onto a valid variable name. 13106as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13107 13108 13109exec 6>&1 13110## ----------------------------------- ## 13111## Main body of $CONFIG_STATUS script. ## 13112## ----------------------------------- ## 13113_ASEOF 13114test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13115 13116cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13117# Save the log message, to keep $0 and so on meaningful, and to 13118# report actual input values of CONFIG_FILES etc. instead of their 13119# values after options handling. 13120ac_log=" 13121This file was extended by makedat $as_me 0.60, which was 13122generated by GNU Autoconf 2.69. Invocation command line was 13123 13124 CONFIG_FILES = $CONFIG_FILES 13125 CONFIG_HEADERS = $CONFIG_HEADERS 13126 CONFIG_LINKS = $CONFIG_LINKS 13127 CONFIG_COMMANDS = $CONFIG_COMMANDS 13128 $ $0 $@ 13129 13130on `(hostname || uname -n) 2>/dev/null | sed 1q` 13131" 13132 13133_ACEOF 13134 13135case $ac_config_files in *" 13136"*) set x $ac_config_files; shift; ac_config_files=$*;; 13137esac 13138 13139case $ac_config_headers in *" 13140"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13141esac 13142 13143 13144cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13145# Files that config.status was made for. 13146config_files="$ac_config_files" 13147config_headers="$ac_config_headers" 13148config_commands="$ac_config_commands" 13149 13150_ACEOF 13151 13152cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13153ac_cs_usage="\ 13154\`$as_me' instantiates files and other configuration actions 13155from templates according to the current configuration. Unless the files 13156and actions are specified as TAGs, all are instantiated by default. 13157 13158Usage: $0 [OPTION]... [TAG]... 13159 13160 -h, --help print this help, then exit 13161 -V, --version print version number and configuration settings, then exit 13162 --config print configuration, then exit 13163 -q, --quiet, --silent 13164 do not print progress messages 13165 -d, --debug don't remove temporary files 13166 --recheck update $as_me by reconfiguring in the same conditions 13167 --file=FILE[:TEMPLATE] 13168 instantiate the configuration file FILE 13169 --header=FILE[:TEMPLATE] 13170 instantiate the configuration header FILE 13171 13172Configuration files: 13173$config_files 13174 13175Configuration headers: 13176$config_headers 13177 13178Configuration commands: 13179$config_commands 13180 13181Report bugs to <courier-users@lists.sourceforge.net>." 13182 13183_ACEOF 13184cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13185ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13186ac_cs_version="\\ 13187makedat config.status 0.60 13188configured by $0, generated by GNU Autoconf 2.69, 13189 with options \\"\$ac_cs_config\\" 13190 13191Copyright (C) 2012 Free Software Foundation, Inc. 13192This config.status script is free software; the Free Software Foundation 13193gives unlimited permission to copy, distribute and modify it." 13194 13195ac_pwd='$ac_pwd' 13196srcdir='$srcdir' 13197INSTALL='$INSTALL' 13198MKDIR_P='$MKDIR_P' 13199AWK='$AWK' 13200test -n "\$AWK" || AWK=awk 13201_ACEOF 13202 13203cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13204# The default lists apply if the user does not specify any file. 13205ac_need_defaults=: 13206while test $# != 0 13207do 13208 case $1 in 13209 --*=?*) 13210 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13211 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13212 ac_shift=: 13213 ;; 13214 --*=) 13215 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13216 ac_optarg= 13217 ac_shift=: 13218 ;; 13219 *) 13220 ac_option=$1 13221 ac_optarg=$2 13222 ac_shift=shift 13223 ;; 13224 esac 13225 13226 case $ac_option in 13227 # Handling of the options. 13228 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13229 ac_cs_recheck=: ;; 13230 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13231 $as_echo "$ac_cs_version"; exit ;; 13232 --config | --confi | --conf | --con | --co | --c ) 13233 $as_echo "$ac_cs_config"; exit ;; 13234 --debug | --debu | --deb | --de | --d | -d ) 13235 debug=: ;; 13236 --file | --fil | --fi | --f ) 13237 $ac_shift 13238 case $ac_optarg in 13239 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13240 '') as_fn_error $? "missing file argument" ;; 13241 esac 13242 as_fn_append CONFIG_FILES " '$ac_optarg'" 13243 ac_need_defaults=false;; 13244 --header | --heade | --head | --hea ) 13245 $ac_shift 13246 case $ac_optarg in 13247 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13248 esac 13249 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13250 ac_need_defaults=false;; 13251 --he | --h) 13252 # Conflict between --help and --header 13253 as_fn_error $? "ambiguous option: \`$1' 13254Try \`$0 --help' for more information.";; 13255 --help | --hel | -h ) 13256 $as_echo "$ac_cs_usage"; exit ;; 13257 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13258 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13259 ac_cs_silent=: ;; 13260 13261 # This is an error. 13262 -*) as_fn_error $? "unrecognized option: \`$1' 13263Try \`$0 --help' for more information." ;; 13264 13265 *) as_fn_append ac_config_targets " $1" 13266 ac_need_defaults=false ;; 13267 13268 esac 13269 shift 13270done 13271 13272ac_configure_extra_args= 13273 13274if $ac_cs_silent; then 13275 exec 6>/dev/null 13276 ac_configure_extra_args="$ac_configure_extra_args --silent" 13277fi 13278 13279_ACEOF 13280cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13281if \$ac_cs_recheck; then 13282 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13283 shift 13284 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13285 CONFIG_SHELL='$SHELL' 13286 export CONFIG_SHELL 13287 exec "\$@" 13288fi 13289 13290_ACEOF 13291cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13292exec 5>>config.log 13293{ 13294 echo 13295 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13296## Running $as_me. ## 13297_ASBOX 13298 $as_echo "$ac_log" 13299} >&5 13300 13301_ACEOF 13302cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13303# 13304# INIT-COMMANDS 13305# 13306AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 13307 13308 13309# The HP-UX ksh and POSIX shell print the target directory to stdout 13310# if CDPATH is set. 13311(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13312 13313sed_quote_subst='$sed_quote_subst' 13314double_quote_subst='$double_quote_subst' 13315delay_variable_subst='$delay_variable_subst' 13316macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13317macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13318enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13319enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13320pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13321enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13322shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 13323SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13324ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13325PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13326host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13327host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13328host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13329build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13330build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13331build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13332SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13333Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13334GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13335EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13336FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13337LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13338NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13339LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13340max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13341ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13342exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13343lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13344lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13345lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13346lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13347lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13348reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13349reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13350OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13351deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13352file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13353file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13354want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13355DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13356sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13357AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13358AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13359archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13360STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13361RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13362old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13363old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13364old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13365lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13366CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13367CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13368compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13369GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13370lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13371lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13372lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 13373lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13374lt_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"`' 13375lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 13376nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13377lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13378lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 13379objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13380MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13381lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13382lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13383lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13384lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13385lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13386need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13387MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13388DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13389NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13390LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13391OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13392OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 13393libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 13394shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 13395extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13396archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 13397enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 13398export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 13399whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 13400compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 13401old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 13402old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13403archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 13404archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13405module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 13406module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13407with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 13408allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 13409no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 13410hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 13411hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 13412hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 13413hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 13414hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 13415hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 13416hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 13417inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 13418link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 13419always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 13420export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 13421exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 13422include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 13423prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 13424postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 13425file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 13426variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 13427need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 13428need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 13429version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 13430runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 13431shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 13432shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 13433libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 13434library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 13435soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 13436install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 13437postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13438postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13439finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 13440finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 13441hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 13442sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 13443configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 13444configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 13445hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 13446enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 13447enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 13448enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 13449old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 13450striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 13451 13452LTCC='$LTCC' 13453LTCFLAGS='$LTCFLAGS' 13454compiler='$compiler_DEFAULT' 13455 13456# A function that is used when there is no print builtin or printf. 13457func_fallback_echo () 13458{ 13459 eval 'cat <<_LTECHO_EOF 13460\$1 13461_LTECHO_EOF' 13462} 13463 13464# Quote evaled strings. 13465for var in SHELL \ 13466ECHO \ 13467PATH_SEPARATOR \ 13468SED \ 13469GREP \ 13470EGREP \ 13471FGREP \ 13472LD \ 13473NM \ 13474LN_S \ 13475lt_SP2NL \ 13476lt_NL2SP \ 13477reload_flag \ 13478OBJDUMP \ 13479deplibs_check_method \ 13480file_magic_cmd \ 13481file_magic_glob \ 13482want_nocaseglob \ 13483DLLTOOL \ 13484sharedlib_from_linklib_cmd \ 13485AR \ 13486AR_FLAGS \ 13487archiver_list_spec \ 13488STRIP \ 13489RANLIB \ 13490CC \ 13491CFLAGS \ 13492compiler \ 13493lt_cv_sys_global_symbol_pipe \ 13494lt_cv_sys_global_symbol_to_cdecl \ 13495lt_cv_sys_global_symbol_to_import \ 13496lt_cv_sys_global_symbol_to_c_name_address \ 13497lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13498lt_cv_nm_interface \ 13499nm_file_list_spec \ 13500lt_cv_truncate_bin \ 13501lt_prog_compiler_no_builtin_flag \ 13502lt_prog_compiler_pic \ 13503lt_prog_compiler_wl \ 13504lt_prog_compiler_static \ 13505lt_cv_prog_compiler_c_o \ 13506need_locks \ 13507MANIFEST_TOOL \ 13508DSYMUTIL \ 13509NMEDIT \ 13510LIPO \ 13511OTOOL \ 13512OTOOL64 \ 13513shrext_cmds \ 13514export_dynamic_flag_spec \ 13515whole_archive_flag_spec \ 13516compiler_needs_object \ 13517with_gnu_ld \ 13518allow_undefined_flag \ 13519no_undefined_flag \ 13520hardcode_libdir_flag_spec \ 13521hardcode_libdir_separator \ 13522exclude_expsyms \ 13523include_expsyms \ 13524file_list_spec \ 13525variables_saved_for_relink \ 13526libname_spec \ 13527library_names_spec \ 13528soname_spec \ 13529install_override_mode \ 13530finish_eval \ 13531old_striplib \ 13532striplib; do 13533 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13534 *[\\\\\\\`\\"\\\$]*) 13535 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 13536 ;; 13537 *) 13538 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13539 ;; 13540 esac 13541done 13542 13543# Double-quote double-evaled strings. 13544for var in reload_cmds \ 13545old_postinstall_cmds \ 13546old_postuninstall_cmds \ 13547old_archive_cmds \ 13548extract_expsyms_cmds \ 13549old_archive_from_new_cmds \ 13550old_archive_from_expsyms_cmds \ 13551archive_cmds \ 13552archive_expsym_cmds \ 13553module_cmds \ 13554module_expsym_cmds \ 13555export_symbols_cmds \ 13556prelink_cmds \ 13557postlink_cmds \ 13558postinstall_cmds \ 13559postuninstall_cmds \ 13560finish_cmds \ 13561sys_lib_search_path_spec \ 13562configure_time_dlsearch_path \ 13563configure_time_lt_sys_library_path; do 13564 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13565 *[\\\\\\\`\\"\\\$]*) 13566 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 13567 ;; 13568 *) 13569 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13570 ;; 13571 esac 13572done 13573 13574ac_aux_dir='$ac_aux_dir' 13575 13576# See if we are running on zsh, and set the options that allow our 13577# commands through without removal of \ escapes INIT. 13578if test -n "\${ZSH_VERSION+set}"; then 13579 setopt NO_GLOB_SUBST 13580fi 13581 13582 13583 PACKAGE='$PACKAGE' 13584 VERSION='$VERSION' 13585 RM='$RM' 13586 ofile='$ofile' 13587 13588 13589 13590 13591_ACEOF 13592 13593cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13594 13595# Handling of arguments. 13596for ac_config_target in $ac_config_targets 13597do 13598 case $ac_config_target in 13599 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13600 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13601 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13602 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13603 "makedat") CONFIG_FILES="$CONFIG_FILES makedat" ;; 13604 13605 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13606 esac 13607done 13608 13609 13610# If the user did not use the arguments to specify the items to instantiate, 13611# then the envvar interface is used. Set only those that are not. 13612# We use the long form for the default assignment because of an extremely 13613# bizarre bug on SunOS 4.1.3. 13614if $ac_need_defaults; then 13615 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13616 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13617 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13618fi 13619 13620# Have a temporary directory for convenience. Make it in the build tree 13621# simply because there is no reason against having it here, and in addition, 13622# creating and moving files from /tmp can sometimes cause problems. 13623# Hook for its removal unless debugging. 13624# Note that there is a small window in which the directory will not be cleaned: 13625# after its creation but before its name has been assigned to `$tmp'. 13626$debug || 13627{ 13628 tmp= ac_tmp= 13629 trap 'exit_status=$? 13630 : "${ac_tmp:=$tmp}" 13631 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13632' 0 13633 trap 'as_fn_exit 1' 1 2 13 15 13634} 13635# Create a (secure) tmp directory for tmp files. 13636 13637{ 13638 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13639 test -d "$tmp" 13640} || 13641{ 13642 tmp=./conf$$-$RANDOM 13643 (umask 077 && mkdir "$tmp") 13644} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13645ac_tmp=$tmp 13646 13647# Set up the scripts for CONFIG_FILES section. 13648# No need to generate them if there are no CONFIG_FILES. 13649# This happens for instance with `./config.status config.h'. 13650if test -n "$CONFIG_FILES"; then 13651 13652 13653ac_cr=`echo X | tr X '\015'` 13654# On cygwin, bash can eat \r inside `` if the user requested igncr. 13655# But we know of no other shell where ac_cr would be empty at this 13656# point, so we can use a bashism as a fallback. 13657if test "x$ac_cr" = x; then 13658 eval ac_cr=\$\'\\r\' 13659fi 13660ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13661if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13662 ac_cs_awk_cr='\\r' 13663else 13664 ac_cs_awk_cr=$ac_cr 13665fi 13666 13667echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13668_ACEOF 13669 13670 13671{ 13672 echo "cat >conf$$subs.awk <<_ACEOF" && 13673 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13674 echo "_ACEOF" 13675} >conf$$subs.sh || 13676 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13677ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13678ac_delim='%!_!# ' 13679for ac_last_try in false false false false false :; do 13680 . ./conf$$subs.sh || 13681 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13682 13683 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13684 if test $ac_delim_n = $ac_delim_num; then 13685 break 13686 elif $ac_last_try; then 13687 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13688 else 13689 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13690 fi 13691done 13692rm -f conf$$subs.sh 13693 13694cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13695cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 13696_ACEOF 13697sed -n ' 13698h 13699s/^/S["/; s/!.*/"]=/ 13700p 13701g 13702s/^[^!]*!// 13703:repl 13704t repl 13705s/'"$ac_delim"'$// 13706t delim 13707:nl 13708h 13709s/\(.\{148\}\)..*/\1/ 13710t more1 13711s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13712p 13713n 13714b repl 13715:more1 13716s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13717p 13718g 13719s/.\{148\}// 13720t nl 13721:delim 13722h 13723s/\(.\{148\}\)..*/\1/ 13724t more2 13725s/["\\]/\\&/g; s/^/"/; s/$/"/ 13726p 13727b 13728:more2 13729s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13730p 13731g 13732s/.\{148\}// 13733t delim 13734' <conf$$subs.awk | sed ' 13735/^[^""]/{ 13736 N 13737 s/\n// 13738} 13739' >>$CONFIG_STATUS || ac_write_fail=1 13740rm -f conf$$subs.awk 13741cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13742_ACAWK 13743cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13744 for (key in S) S_is_set[key] = 1 13745 FS = "" 13746 13747} 13748{ 13749 line = $ 0 13750 nfields = split(line, field, "@") 13751 substed = 0 13752 len = length(field[1]) 13753 for (i = 2; i < nfields; i++) { 13754 key = field[i] 13755 keylen = length(key) 13756 if (S_is_set[key]) { 13757 value = S[key] 13758 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13759 len += length(value) + length(field[++i]) 13760 substed = 1 13761 } else 13762 len += 1 + keylen 13763 } 13764 13765 print line 13766} 13767 13768_ACAWK 13769_ACEOF 13770cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13771if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13772 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13773else 13774 cat 13775fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 13776 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13777_ACEOF 13778 13779# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13780# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13781# trailing colons and then remove the whole line if VPATH becomes empty 13782# (actually we leave an empty line to preserve line numbers). 13783if test "x$srcdir" = x.; then 13784 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13785h 13786s/// 13787s/^/:/ 13788s/[ ]*$/:/ 13789s/:\$(srcdir):/:/g 13790s/:\${srcdir}:/:/g 13791s/:@srcdir@:/:/g 13792s/^:*// 13793s/:*$// 13794x 13795s/\(=[ ]*\).*/\1/ 13796G 13797s/\n// 13798s/^[^=]*=[ ]*$// 13799}' 13800fi 13801 13802cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13803fi # test -n "$CONFIG_FILES" 13804 13805# Set up the scripts for CONFIG_HEADERS section. 13806# No need to generate them if there are no CONFIG_HEADERS. 13807# This happens for instance with `./config.status Makefile'. 13808if test -n "$CONFIG_HEADERS"; then 13809cat >"$ac_tmp/defines.awk" <<\_ACAWK || 13810BEGIN { 13811_ACEOF 13812 13813# Transform confdefs.h into an awk script `defines.awk', embedded as 13814# here-document in config.status, that substitutes the proper values into 13815# config.h.in to produce config.h. 13816 13817# Create a delimiter string that does not exist in confdefs.h, to ease 13818# handling of long lines. 13819ac_delim='%!_!# ' 13820for ac_last_try in false false :; do 13821 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 13822 if test -z "$ac_tt"; then 13823 break 13824 elif $ac_last_try; then 13825 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13826 else 13827 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13828 fi 13829done 13830 13831# For the awk script, D is an array of macro values keyed by name, 13832# likewise P contains macro parameters if any. Preserve backslash 13833# newline sequences. 13834 13835ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 13836sed -n ' 13837s/.\{148\}/&'"$ac_delim"'/g 13838t rset 13839:rset 13840s/^[ ]*#[ ]*define[ ][ ]*/ / 13841t def 13842d 13843:def 13844s/\\$// 13845t bsnl 13846s/["\\]/\\&/g 13847s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13848D["\1"]=" \3"/p 13849s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 13850d 13851:bsnl 13852s/["\\]/\\&/g 13853s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13854D["\1"]=" \3\\\\\\n"\\/p 13855t cont 13856s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 13857t cont 13858d 13859:cont 13860n 13861s/.\{148\}/&'"$ac_delim"'/g 13862t clear 13863:clear 13864s/\\$// 13865t bsnlc 13866s/["\\]/\\&/g; s/^/"/; s/$/"/p 13867d 13868:bsnlc 13869s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 13870b cont 13871' <confdefs.h | sed ' 13872s/'"$ac_delim"'/"\\\ 13873"/g' >>$CONFIG_STATUS || ac_write_fail=1 13874 13875cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13876 for (key in D) D_is_set[key] = 1 13877 FS = "" 13878} 13879/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 13880 line = \$ 0 13881 split(line, arg, " ") 13882 if (arg[1] == "#") { 13883 defundef = arg[2] 13884 mac1 = arg[3] 13885 } else { 13886 defundef = substr(arg[1], 2) 13887 mac1 = arg[2] 13888 } 13889 split(mac1, mac2, "(") #) 13890 macro = mac2[1] 13891 prefix = substr(line, 1, index(line, defundef) - 1) 13892 if (D_is_set[macro]) { 13893 # Preserve the white space surrounding the "#". 13894 print prefix "define", macro P[macro] D[macro] 13895 next 13896 } else { 13897 # Replace #undef with comments. This is necessary, for example, 13898 # in the case of _POSIX_SOURCE, which is predefined and required 13899 # on some systems where configure will not decide to define it. 13900 if (defundef == "undef") { 13901 print "/*", prefix defundef, macro, "*/" 13902 next 13903 } 13904 } 13905} 13906{ print } 13907_ACAWK 13908_ACEOF 13909cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13910 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13911fi # test -n "$CONFIG_HEADERS" 13912 13913 13914eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 13915shift 13916for ac_tag 13917do 13918 case $ac_tag in 13919 :[FHLC]) ac_mode=$ac_tag; continue;; 13920 esac 13921 case $ac_mode$ac_tag in 13922 :[FHL]*:*);; 13923 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 13924 :[FH]-) ac_tag=-:-;; 13925 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13926 esac 13927 ac_save_IFS=$IFS 13928 IFS=: 13929 set x $ac_tag 13930 IFS=$ac_save_IFS 13931 shift 13932 ac_file=$1 13933 shift 13934 13935 case $ac_mode in 13936 :L) ac_source=$1;; 13937 :[FH]) 13938 ac_file_inputs= 13939 for ac_f 13940 do 13941 case $ac_f in 13942 -) ac_f="$ac_tmp/stdin";; 13943 *) # Look for the file first in the build tree, then in the source tree 13944 # (if the path is not absolute). The absolute path cannot be DOS-style, 13945 # because $ac_f cannot contain `:'. 13946 test -f "$ac_f" || 13947 case $ac_f in 13948 [\\/$]*) false;; 13949 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13950 esac || 13951 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 13952 esac 13953 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13954 as_fn_append ac_file_inputs " '$ac_f'" 13955 done 13956 13957 # Let's still pretend it is `configure' which instantiates (i.e., don't 13958 # use $as_me), people would be surprised to read: 13959 # /* config.h. Generated by config.status. */ 13960 configure_input='Generated from '` 13961 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13962 `' by configure.' 13963 if test x"$ac_file" != x-; then 13964 configure_input="$ac_file. $configure_input" 13965 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13966$as_echo "$as_me: creating $ac_file" >&6;} 13967 fi 13968 # Neutralize special characters interpreted by sed in replacement strings. 13969 case $configure_input in #( 13970 *\&* | *\|* | *\\* ) 13971 ac_sed_conf_input=`$as_echo "$configure_input" | 13972 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13973 *) ac_sed_conf_input=$configure_input;; 13974 esac 13975 13976 case $ac_tag in 13977 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 13978 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13979 esac 13980 ;; 13981 esac 13982 13983 ac_dir=`$as_dirname -- "$ac_file" || 13984$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13985 X"$ac_file" : 'X\(//\)[^/]' \| \ 13986 X"$ac_file" : 'X\(//\)$' \| \ 13987 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13988$as_echo X"$ac_file" | 13989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13990 s//\1/ 13991 q 13992 } 13993 /^X\(\/\/\)[^/].*/{ 13994 s//\1/ 13995 q 13996 } 13997 /^X\(\/\/\)$/{ 13998 s//\1/ 13999 q 14000 } 14001 /^X\(\/\).*/{ 14002 s//\1/ 14003 q 14004 } 14005 s/.*/./; q'` 14006 as_dir="$ac_dir"; as_fn_mkdir_p 14007 ac_builddir=. 14008 14009case "$ac_dir" in 14010.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14011*) 14012 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14013 # A ".." for each directory in $ac_dir_suffix. 14014 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14015 case $ac_top_builddir_sub in 14016 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14017 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14018 esac ;; 14019esac 14020ac_abs_top_builddir=$ac_pwd 14021ac_abs_builddir=$ac_pwd$ac_dir_suffix 14022# for backward compatibility: 14023ac_top_builddir=$ac_top_build_prefix 14024 14025case $srcdir in 14026 .) # We are building in place. 14027 ac_srcdir=. 14028 ac_top_srcdir=$ac_top_builddir_sub 14029 ac_abs_top_srcdir=$ac_pwd ;; 14030 [\\/]* | ?:[\\/]* ) # Absolute name. 14031 ac_srcdir=$srcdir$ac_dir_suffix; 14032 ac_top_srcdir=$srcdir 14033 ac_abs_top_srcdir=$srcdir ;; 14034 *) # Relative name. 14035 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14036 ac_top_srcdir=$ac_top_build_prefix$srcdir 14037 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14038esac 14039ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14040 14041 14042 case $ac_mode in 14043 :F) 14044 # 14045 # CONFIG_FILE 14046 # 14047 14048 case $INSTALL in 14049 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14050 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14051 esac 14052 ac_MKDIR_P=$MKDIR_P 14053 case $MKDIR_P in 14054 [\\/$]* | ?:[\\/]* ) ;; 14055 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14056 esac 14057_ACEOF 14058 14059cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14060# If the template does not know about datarootdir, expand it. 14061# FIXME: This hack should be removed a few years after 2.60. 14062ac_datarootdir_hack=; ac_datarootdir_seen= 14063ac_sed_dataroot=' 14064/datarootdir/ { 14065 p 14066 q 14067} 14068/@datadir@/p 14069/@docdir@/p 14070/@infodir@/p 14071/@localedir@/p 14072/@mandir@/p' 14073case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14074*datarootdir*) ac_datarootdir_seen=yes;; 14075*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14077$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14078_ACEOF 14079cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14080 ac_datarootdir_hack=' 14081 s&@datadir@&$datadir&g 14082 s&@docdir@&$docdir&g 14083 s&@infodir@&$infodir&g 14084 s&@localedir@&$localedir&g 14085 s&@mandir@&$mandir&g 14086 s&\\\${datarootdir}&$datarootdir&g' ;; 14087esac 14088_ACEOF 14089 14090# Neutralize VPATH when `$srcdir' = `.'. 14091# Shell code in configure.ac might set extrasub. 14092# FIXME: do we really want to maintain this feature? 14093cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14094ac_sed_extra="$ac_vpsub 14095$extrasub 14096_ACEOF 14097cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14098:t 14099/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14100s|@configure_input@|$ac_sed_conf_input|;t t 14101s&@top_builddir@&$ac_top_builddir_sub&;t t 14102s&@top_build_prefix@&$ac_top_build_prefix&;t t 14103s&@srcdir@&$ac_srcdir&;t t 14104s&@abs_srcdir@&$ac_abs_srcdir&;t t 14105s&@top_srcdir@&$ac_top_srcdir&;t t 14106s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14107s&@builddir@&$ac_builddir&;t t 14108s&@abs_builddir@&$ac_abs_builddir&;t t 14109s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14110s&@INSTALL@&$ac_INSTALL&;t t 14111s&@MKDIR_P@&$ac_MKDIR_P&;t t 14112$ac_datarootdir_hack 14113" 14114eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14115 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14116 14117test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14118 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14119 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14120 "$ac_tmp/out"`; test -z "$ac_out"; } && 14121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14122which seems to be undefined. Please make sure it is defined" >&5 14123$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14124which seems to be undefined. Please make sure it is defined" >&2;} 14125 14126 rm -f "$ac_tmp/stdin" 14127 case $ac_file in 14128 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14129 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14130 esac \ 14131 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14132 ;; 14133 :H) 14134 # 14135 # CONFIG_HEADER 14136 # 14137 if test x"$ac_file" != x-; then 14138 { 14139 $as_echo "/* $configure_input */" \ 14140 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14141 } >"$ac_tmp/config.h" \ 14142 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14143 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14144 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14145$as_echo "$as_me: $ac_file is unchanged" >&6;} 14146 else 14147 rm -f "$ac_file" 14148 mv "$ac_tmp/config.h" "$ac_file" \ 14149 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14150 fi 14151 else 14152 $as_echo "/* $configure_input */" \ 14153 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14154 || as_fn_error $? "could not create -" "$LINENO" 5 14155 fi 14156# Compute "$ac_file"'s index in $config_headers. 14157_am_arg="$ac_file" 14158_am_stamp_count=1 14159for _am_header in $config_headers :; do 14160 case $_am_header in 14161 $_am_arg | $_am_arg:* ) 14162 break ;; 14163 * ) 14164 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14165 esac 14166done 14167echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14168$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14169 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14170 X"$_am_arg" : 'X\(//\)$' \| \ 14171 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14172$as_echo X"$_am_arg" | 14173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14174 s//\1/ 14175 q 14176 } 14177 /^X\(\/\/\)[^/].*/{ 14178 s//\1/ 14179 q 14180 } 14181 /^X\(\/\/\)$/{ 14182 s//\1/ 14183 q 14184 } 14185 /^X\(\/\).*/{ 14186 s//\1/ 14187 q 14188 } 14189 s/.*/./; q'`/stamp-h$_am_stamp_count 14190 ;; 14191 14192 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14193$as_echo "$as_me: executing $ac_file commands" >&6;} 14194 ;; 14195 esac 14196 14197 14198 case $ac_file$ac_mode in 14199 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14200 # Older Autoconf quotes --file arguments for eval, but not when files 14201 # are listed without --file. Let's play safe and only enable the eval 14202 # if we detect the quoting. 14203 # TODO: see whether this extra hack can be removed once we start 14204 # requiring Autoconf 2.70 or later. 14205 case $CONFIG_FILES in #( 14206 *\'*) : 14207 eval set x "$CONFIG_FILES" ;; #( 14208 *) : 14209 set x $CONFIG_FILES ;; #( 14210 *) : 14211 ;; 14212esac 14213 shift 14214 # Used to flag and report bootstrapping failures. 14215 am_rc=0 14216 for am_mf 14217 do 14218 # Strip MF so we end up with the name of the file. 14219 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 14220 # Check whether this is an Automake generated Makefile which includes 14221 # dependency-tracking related rules and includes. 14222 # Grep'ing the whole file directly is not great: AIX grep has a line 14223 # limit of 2048, but all sed's we know have understand at least 4000. 14224 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 14225 || continue 14226 am_dirpart=`$as_dirname -- "$am_mf" || 14227$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14228 X"$am_mf" : 'X\(//\)[^/]' \| \ 14229 X"$am_mf" : 'X\(//\)$' \| \ 14230 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 14231$as_echo X"$am_mf" | 14232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14233 s//\1/ 14234 q 14235 } 14236 /^X\(\/\/\)[^/].*/{ 14237 s//\1/ 14238 q 14239 } 14240 /^X\(\/\/\)$/{ 14241 s//\1/ 14242 q 14243 } 14244 /^X\(\/\).*/{ 14245 s//\1/ 14246 q 14247 } 14248 s/.*/./; q'` 14249 am_filepart=`$as_basename -- "$am_mf" || 14250$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 14251 X"$am_mf" : 'X\(//\)$' \| \ 14252 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 14253$as_echo X/"$am_mf" | 14254 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14255 s//\1/ 14256 q 14257 } 14258 /^X\/\(\/\/\)$/{ 14259 s//\1/ 14260 q 14261 } 14262 /^X\/\(\/\).*/{ 14263 s//\1/ 14264 q 14265 } 14266 s/.*/./; q'` 14267 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 14268 && sed -e '/# am--include-marker/d' "$am_filepart" \ 14269 | $MAKE -f - am--depfiles" >&5 14270 (cd "$am_dirpart" \ 14271 && sed -e '/# am--include-marker/d' "$am_filepart" \ 14272 | $MAKE -f - am--depfiles) >&5 2>&5 14273 ac_status=$? 14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14275 (exit $ac_status); } || am_rc=$? 14276 done 14277 if test $am_rc -ne 0; then 14278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14279$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14280as_fn_error $? "Something went wrong bootstrapping makefile fragments 14281 for automatic dependency tracking. If GNU make was not used, consider 14282 re-running the configure script with MAKE=\"gmake\" (or whatever is 14283 necessary). You can also try re-running configure with the 14284 '--disable-dependency-tracking' option to at least be able to build 14285 the package (albeit without support for automatic dependency tracking). 14286See \`config.log' for more details" "$LINENO" 5; } 14287 fi 14288 { am_dirpart=; unset am_dirpart;} 14289 { am_filepart=; unset am_filepart;} 14290 { am_mf=; unset am_mf;} 14291 { am_rc=; unset am_rc;} 14292 rm -f conftest-deps.mk 14293} 14294 ;; 14295 "libtool":C) 14296 14297 # See if we are running on zsh, and set the options that allow our 14298 # commands through without removal of \ escapes. 14299 if test -n "${ZSH_VERSION+set}"; then 14300 setopt NO_GLOB_SUBST 14301 fi 14302 14303 cfgfile=${ofile}T 14304 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14305 $RM "$cfgfile" 14306 14307 cat <<_LT_EOF >> "$cfgfile" 14308#! $SHELL 14309# Generated automatically by $as_me ($PACKAGE) $VERSION 14310# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14311# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14312 14313# Provide generalized library-building support services. 14314# Written by Gordon Matzigkeit, 1996 14315 14316# Copyright (C) 2014 Free Software Foundation, Inc. 14317# This is free software; see the source for copying conditions. There is NO 14318# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14319 14320# GNU Libtool is free software; you can redistribute it and/or modify 14321# it under the terms of the GNU General Public License as published by 14322# the Free Software Foundation; either version 2 of of the License, or 14323# (at your option) any later version. 14324# 14325# As a special exception to the GNU General Public License, if you 14326# distribute this file as part of a program or library that is built 14327# using GNU Libtool, you may include this file under the same 14328# distribution terms that you use for the rest of that program. 14329# 14330# GNU Libtool is distributed in the hope that it will be useful, but 14331# WITHOUT ANY WARRANTY; without even the implied warranty of 14332# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14333# GNU General Public License for more details. 14334# 14335# You should have received a copy of the GNU General Public License 14336# along with this program. If not, see <http://www.gnu.org/licenses/>. 14337 14338 14339# The names of the tagged configurations supported by this script. 14340available_tags='' 14341 14342# Configured defaults for sys_lib_dlsearch_path munging. 14343: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 14344 14345# ### BEGIN LIBTOOL CONFIG 14346 14347# Which release of libtool.m4 was used? 14348macro_version=$macro_version 14349macro_revision=$macro_revision 14350 14351# Whether or not to build shared libraries. 14352build_libtool_libs=$enable_shared 14353 14354# Whether or not to build static libraries. 14355build_old_libs=$enable_static 14356 14357# What type of objects to build. 14358pic_mode=$pic_mode 14359 14360# Whether or not to optimize for fast installation. 14361fast_install=$enable_fast_install 14362 14363# Shared archive member basename,for filename based shared library versioning on AIX. 14364shared_archive_member_spec=$shared_archive_member_spec 14365 14366# Shell to use when invoking shell scripts. 14367SHELL=$lt_SHELL 14368 14369# An echo program that protects backslashes. 14370ECHO=$lt_ECHO 14371 14372# The PATH separator for the build system. 14373PATH_SEPARATOR=$lt_PATH_SEPARATOR 14374 14375# The host system. 14376host_alias=$host_alias 14377host=$host 14378host_os=$host_os 14379 14380# The build system. 14381build_alias=$build_alias 14382build=$build 14383build_os=$build_os 14384 14385# A sed program that does not truncate output. 14386SED=$lt_SED 14387 14388# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14389Xsed="\$SED -e 1s/^X//" 14390 14391# A grep program that handles long lines. 14392GREP=$lt_GREP 14393 14394# An ERE matcher. 14395EGREP=$lt_EGREP 14396 14397# A literal string matcher. 14398FGREP=$lt_FGREP 14399 14400# A BSD- or MS-compatible name lister. 14401NM=$lt_NM 14402 14403# Whether we need soft or hard links. 14404LN_S=$lt_LN_S 14405 14406# What is the maximum length of a command? 14407max_cmd_len=$max_cmd_len 14408 14409# Object file suffix (normally "o"). 14410objext=$ac_objext 14411 14412# Executable file suffix (normally ""). 14413exeext=$exeext 14414 14415# whether the shell understands "unset". 14416lt_unset=$lt_unset 14417 14418# turn spaces into newlines. 14419SP2NL=$lt_lt_SP2NL 14420 14421# turn newlines into spaces. 14422NL2SP=$lt_lt_NL2SP 14423 14424# convert \$build file names to \$host format. 14425to_host_file_cmd=$lt_cv_to_host_file_cmd 14426 14427# convert \$build files to toolchain format. 14428to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14429 14430# An object symbol dumper. 14431OBJDUMP=$lt_OBJDUMP 14432 14433# Method to check whether dependent libraries are shared objects. 14434deplibs_check_method=$lt_deplibs_check_method 14435 14436# Command to use when deplibs_check_method = "file_magic". 14437file_magic_cmd=$lt_file_magic_cmd 14438 14439# How to find potential files when deplibs_check_method = "file_magic". 14440file_magic_glob=$lt_file_magic_glob 14441 14442# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14443want_nocaseglob=$lt_want_nocaseglob 14444 14445# DLL creation program. 14446DLLTOOL=$lt_DLLTOOL 14447 14448# Command to associate shared and link libraries. 14449sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14450 14451# The archiver. 14452AR=$lt_AR 14453 14454# Flags to create an archive. 14455AR_FLAGS=$lt_AR_FLAGS 14456 14457# How to feed a file listing to the archiver. 14458archiver_list_spec=$lt_archiver_list_spec 14459 14460# A symbol stripping program. 14461STRIP=$lt_STRIP 14462 14463# Commands used to install an old-style archive. 14464RANLIB=$lt_RANLIB 14465old_postinstall_cmds=$lt_old_postinstall_cmds 14466old_postuninstall_cmds=$lt_old_postuninstall_cmds 14467 14468# Whether to use a lock for old archive extraction. 14469lock_old_archive_extraction=$lock_old_archive_extraction 14470 14471# A C compiler. 14472LTCC=$lt_CC 14473 14474# LTCC compiler flags. 14475LTCFLAGS=$lt_CFLAGS 14476 14477# Take the output of nm and produce a listing of raw symbols and C names. 14478global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14479 14480# Transform the output of nm in a proper C declaration. 14481global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14482 14483# Transform the output of nm into a list of symbols to manually relocate. 14484global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 14485 14486# Transform the output of nm in a C name address pair. 14487global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14488 14489# Transform the output of nm in a C name address pair when lib prefix is needed. 14490global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14491 14492# The name lister interface. 14493nm_interface=$lt_lt_cv_nm_interface 14494 14495# Specify filename containing input files for \$NM. 14496nm_file_list_spec=$lt_nm_file_list_spec 14497 14498# The root where to search for dependent libraries,and where our libraries should be installed. 14499lt_sysroot=$lt_sysroot 14500 14501# Command to truncate a binary pipe. 14502lt_truncate_bin=$lt_lt_cv_truncate_bin 14503 14504# The name of the directory that contains temporary libtool files. 14505objdir=$objdir 14506 14507# Used to examine libraries when file_magic_cmd begins with "file". 14508MAGIC_CMD=$MAGIC_CMD 14509 14510# Must we lock files when doing compilation? 14511need_locks=$lt_need_locks 14512 14513# Manifest tool. 14514MANIFEST_TOOL=$lt_MANIFEST_TOOL 14515 14516# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14517DSYMUTIL=$lt_DSYMUTIL 14518 14519# Tool to change global to local symbols on Mac OS X. 14520NMEDIT=$lt_NMEDIT 14521 14522# Tool to manipulate fat objects and archives on Mac OS X. 14523LIPO=$lt_LIPO 14524 14525# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14526OTOOL=$lt_OTOOL 14527 14528# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14529OTOOL64=$lt_OTOOL64 14530 14531# Old archive suffix (normally "a"). 14532libext=$libext 14533 14534# Shared library suffix (normally ".so"). 14535shrext_cmds=$lt_shrext_cmds 14536 14537# The commands to extract the exported symbol list from a shared archive. 14538extract_expsyms_cmds=$lt_extract_expsyms_cmds 14539 14540# Variables whose values should be saved in libtool wrapper scripts and 14541# restored at link time. 14542variables_saved_for_relink=$lt_variables_saved_for_relink 14543 14544# Do we need the "lib" prefix for modules? 14545need_lib_prefix=$need_lib_prefix 14546 14547# Do we need a version for libraries? 14548need_version=$need_version 14549 14550# Library versioning type. 14551version_type=$version_type 14552 14553# Shared library runtime path variable. 14554runpath_var=$runpath_var 14555 14556# Shared library path variable. 14557shlibpath_var=$shlibpath_var 14558 14559# Is shlibpath searched before the hard-coded library search path? 14560shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14561 14562# Format of library name prefix. 14563libname_spec=$lt_libname_spec 14564 14565# List of archive names. First name is the real one, the rest are links. 14566# The last name is the one that the linker finds with -lNAME 14567library_names_spec=$lt_library_names_spec 14568 14569# The coded name of the library, if different from the real name. 14570soname_spec=$lt_soname_spec 14571 14572# Permission mode override for installation of shared libraries. 14573install_override_mode=$lt_install_override_mode 14574 14575# Command to use after installation of a shared archive. 14576postinstall_cmds=$lt_postinstall_cmds 14577 14578# Command to use after uninstallation of a shared archive. 14579postuninstall_cmds=$lt_postuninstall_cmds 14580 14581# Commands used to finish a libtool library installation in a directory. 14582finish_cmds=$lt_finish_cmds 14583 14584# As "finish_cmds", except a single script fragment to be evaled but 14585# not shown. 14586finish_eval=$lt_finish_eval 14587 14588# Whether we should hardcode library paths into libraries. 14589hardcode_into_libs=$hardcode_into_libs 14590 14591# Compile-time system search path for libraries. 14592sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14593 14594# Detected run-time system search path for libraries. 14595sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 14596 14597# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 14598configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 14599 14600# Whether dlopen is supported. 14601dlopen_support=$enable_dlopen 14602 14603# Whether dlopen of programs is supported. 14604dlopen_self=$enable_dlopen_self 14605 14606# Whether dlopen of statically linked programs is supported. 14607dlopen_self_static=$enable_dlopen_self_static 14608 14609# Commands to strip libraries. 14610old_striplib=$lt_old_striplib 14611striplib=$lt_striplib 14612 14613 14614# The linker used to build libraries. 14615LD=$lt_LD 14616 14617# How to create reloadable object files. 14618reload_flag=$lt_reload_flag 14619reload_cmds=$lt_reload_cmds 14620 14621# Commands used to build an old-style archive. 14622old_archive_cmds=$lt_old_archive_cmds 14623 14624# A language specific compiler. 14625CC=$lt_compiler 14626 14627# Is the compiler the GNU compiler? 14628with_gcc=$GCC 14629 14630# Compiler flag to turn off builtin functions. 14631no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14632 14633# Additional compiler flags for building library objects. 14634pic_flag=$lt_lt_prog_compiler_pic 14635 14636# How to pass a linker flag through the compiler. 14637wl=$lt_lt_prog_compiler_wl 14638 14639# Compiler flag to prevent dynamic linking. 14640link_static_flag=$lt_lt_prog_compiler_static 14641 14642# Does compiler simultaneously support -c and -o options? 14643compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14644 14645# Whether or not to add -lc for building shared libraries. 14646build_libtool_need_lc=$archive_cmds_need_lc 14647 14648# Whether or not to disallow shared libs when runtime libs are static. 14649allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14650 14651# Compiler flag to allow reflexive dlopens. 14652export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14653 14654# Compiler flag to generate shared objects directly from archives. 14655whole_archive_flag_spec=$lt_whole_archive_flag_spec 14656 14657# Whether the compiler copes with passing no objects directly. 14658compiler_needs_object=$lt_compiler_needs_object 14659 14660# Create an old-style archive from a shared archive. 14661old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14662 14663# Create a temporary old-style archive to link instead of a shared archive. 14664old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14665 14666# Commands used to build a shared archive. 14667archive_cmds=$lt_archive_cmds 14668archive_expsym_cmds=$lt_archive_expsym_cmds 14669 14670# Commands used to build a loadable module if different from building 14671# a shared archive. 14672module_cmds=$lt_module_cmds 14673module_expsym_cmds=$lt_module_expsym_cmds 14674 14675# Whether we are building with GNU ld or not. 14676with_gnu_ld=$lt_with_gnu_ld 14677 14678# Flag that allows shared libraries with undefined symbols to be built. 14679allow_undefined_flag=$lt_allow_undefined_flag 14680 14681# Flag that enforces no undefined symbols. 14682no_undefined_flag=$lt_no_undefined_flag 14683 14684# Flag to hardcode \$libdir into a binary during linking. 14685# This must work even if \$libdir does not exist 14686hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14687 14688# Whether we need a single "-rpath" flag with a separated argument. 14689hardcode_libdir_separator=$lt_hardcode_libdir_separator 14690 14691# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14692# DIR into the resulting binary. 14693hardcode_direct=$hardcode_direct 14694 14695# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14696# DIR into the resulting binary and the resulting library dependency is 14697# "absolute",i.e impossible to change by setting \$shlibpath_var if the 14698# library is relocated. 14699hardcode_direct_absolute=$hardcode_direct_absolute 14700 14701# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14702# into the resulting binary. 14703hardcode_minus_L=$hardcode_minus_L 14704 14705# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14706# into the resulting binary. 14707hardcode_shlibpath_var=$hardcode_shlibpath_var 14708 14709# Set to "yes" if building a shared library automatically hardcodes DIR 14710# into the library and all subsequent libraries and executables linked 14711# against it. 14712hardcode_automatic=$hardcode_automatic 14713 14714# Set to yes if linker adds runtime paths of dependent libraries 14715# to runtime path list. 14716inherit_rpath=$inherit_rpath 14717 14718# Whether libtool must link a program against all its dependency libraries. 14719link_all_deplibs=$link_all_deplibs 14720 14721# Set to "yes" if exported symbols are required. 14722always_export_symbols=$always_export_symbols 14723 14724# The commands to list exported symbols. 14725export_symbols_cmds=$lt_export_symbols_cmds 14726 14727# Symbols that should not be listed in the preloaded symbols. 14728exclude_expsyms=$lt_exclude_expsyms 14729 14730# Symbols that must always be exported. 14731include_expsyms=$lt_include_expsyms 14732 14733# Commands necessary for linking programs (against libraries) with templates. 14734prelink_cmds=$lt_prelink_cmds 14735 14736# Commands necessary for finishing linking programs. 14737postlink_cmds=$lt_postlink_cmds 14738 14739# Specify filename containing input files. 14740file_list_spec=$lt_file_list_spec 14741 14742# How to hardcode a shared library path into an executable. 14743hardcode_action=$hardcode_action 14744 14745# ### END LIBTOOL CONFIG 14746 14747_LT_EOF 14748 14749 cat <<'_LT_EOF' >> "$cfgfile" 14750 14751# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 14752 14753# func_munge_path_list VARIABLE PATH 14754# ----------------------------------- 14755# VARIABLE is name of variable containing _space_ separated list of 14756# directories to be munged by the contents of PATH, which is string 14757# having a format: 14758# "DIR[:DIR]:" 14759# string "DIR[ DIR]" will be prepended to VARIABLE 14760# ":DIR[:DIR]" 14761# string "DIR[ DIR]" will be appended to VARIABLE 14762# "DIRP[:DIRP]::[DIRA:]DIRA" 14763# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 14764# "DIRA[ DIRA]" will be appended to VARIABLE 14765# "DIR[:DIR]" 14766# VARIABLE will be replaced by "DIR[ DIR]" 14767func_munge_path_list () 14768{ 14769 case x$2 in 14770 x) 14771 ;; 14772 *:) 14773 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 14774 ;; 14775 x:*) 14776 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 14777 ;; 14778 *::*) 14779 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 14780 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 14781 ;; 14782 *) 14783 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 14784 ;; 14785 esac 14786} 14787 14788 14789# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 14790func_cc_basename () 14791{ 14792 for cc_temp in $*""; do 14793 case $cc_temp in 14794 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14795 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14796 \-*) ;; 14797 *) break;; 14798 esac 14799 done 14800 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 14801} 14802 14803 14804# ### END FUNCTIONS SHARED WITH CONFIGURE 14805 14806_LT_EOF 14807 14808 case $host_os in 14809 aix3*) 14810 cat <<\_LT_EOF >> "$cfgfile" 14811# AIX sometimes has problems with the GCC collect2 program. For some 14812# reason, if we set the COLLECT_NAMES environment variable, the problems 14813# vanish in a puff of smoke. 14814if test set != "${COLLECT_NAMES+set}"; then 14815 COLLECT_NAMES= 14816 export COLLECT_NAMES 14817fi 14818_LT_EOF 14819 ;; 14820 esac 14821 14822 14823ltmain=$ac_aux_dir/ltmain.sh 14824 14825 14826 # We use sed instead of cat because bash on DJGPP gets confused if 14827 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14828 # text mode, it properly converts lines to CR/LF. This bash problem 14829 # is reportedly fixed, but why not run on old versions too? 14830 sed '$q' "$ltmain" >> "$cfgfile" \ 14831 || (rm -f "$cfgfile"; exit 1) 14832 14833 mv -f "$cfgfile" "$ofile" || 14834 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14835 chmod +x "$ofile" 14836 14837 ;; 14838 14839 esac 14840done # for ac_tag 14841 14842 14843as_fn_exit 0 14844_ACEOF 14845ac_clean_files=$ac_clean_files_save 14846 14847test $ac_write_fail = 0 || 14848 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14849 14850 14851# configure is writing to config.log, and then calls config.status. 14852# config.status does its own redirection, appending to config.log. 14853# Unfortunately, on DOS this fails, as config.log is still kept open 14854# by configure, so config.status won't be able to write to it; its 14855# output is simply discarded. So we exec the FD to /dev/null, 14856# effectively closing config.log, so it can be properly (re)opened and 14857# appended to by config.status. When coming back to configure, we 14858# need to make the FD available again. 14859if test "$no_create" != yes; then 14860 ac_cs_success=: 14861 ac_config_status_args= 14862 test "$silent" = yes && 14863 ac_config_status_args="$ac_config_status_args --quiet" 14864 exec 5>/dev/null 14865 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14866 exec 5>>config.log 14867 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14868 # would make configure fail if this is the last instruction. 14869 $ac_cs_success || as_fn_exit 1 14870fi 14871if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14873$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14874fi 14875 14876