1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for courierpasswd 1.1.3. 4# 5# Report bugs to <freeware@arda.homeunix.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: freeware@arda.homeunix.net about your system, including 279$0: any error possibly output before this message. Then 280$0: install a modern shell, or manually run the script 281$0: 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='courierpasswd' 592PACKAGE_TARNAME='courierpasswd' 593PACKAGE_VERSION='1.1.3' 594PACKAGE_STRING='courierpasswd 1.1.3' 595PACKAGE_BUGREPORT='freeware@arda.homeunix.net' 596PACKAGE_URL='' 597 598# Factoring default headers for most tests. 599ac_includes_default="\ 600#include <stdio.h> 601#ifdef HAVE_SYS_TYPES_H 602# include <sys/types.h> 603#endif 604#ifdef HAVE_SYS_STAT_H 605# include <sys/stat.h> 606#endif 607#ifdef STDC_HEADERS 608# include <stdlib.h> 609# include <stddef.h> 610#else 611# ifdef HAVE_STDLIB_H 612# include <stdlib.h> 613# endif 614#endif 615#ifdef HAVE_STRING_H 616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 617# include <memory.h> 618# endif 619# include <string.h> 620#endif 621#ifdef HAVE_STRINGS_H 622# include <strings.h> 623#endif 624#ifdef HAVE_INTTYPES_H 625# include <inttypes.h> 626#endif 627#ifdef HAVE_STDINT_H 628# include <stdint.h> 629#endif 630#ifdef HAVE_UNISTD_H 631# include <unistd.h> 632#endif" 633 634ac_unique_file="courierpasswd.c" 635ac_config_libobj_dir=replace 636ac_subst_vars='am__EXEEXT_FALSE 637am__EXEEXT_TRUE 638LTLIBOBJS 639courierpasswd_LDAUTH 640courierpasswd_CPPAUTH 641COURIERAUTHCONFIG 642LIBOBJS 643CPP 644OTOOL64 645OTOOL 646LIPO 647NMEDIT 648DSYMUTIL 649MANIFEST_TOOL 650RANLIB 651ac_ct_AR 652AR 653DLLTOOL 654OBJDUMP 655LN_S 656NM 657ac_ct_DUMPBIN 658DUMPBIN 659LD 660FGREP 661EGREP 662GREP 663SED 664am__fastdepCC_FALSE 665am__fastdepCC_TRUE 666CCDEPMODE 667am__nodep 668AMDEPBACKSLASH 669AMDEP_FALSE 670AMDEP_TRUE 671am__quote 672am__include 673DEPDIR 674OBJEXT 675EXEEXT 676ac_ct_CC 677CPPFLAGS 678LDFLAGS 679CFLAGS 680CC 681host_os 682host_vendor 683host_cpu 684host 685build_os 686build_vendor 687build_cpu 688build 689LIBTOOL 690AM_BACKSLASH 691AM_DEFAULT_VERBOSITY 692AM_DEFAULT_V 693AM_V 694am__untar 695am__tar 696AMTAR 697am__leading_dot 698SET_MAKE 699AWK 700mkdir_p 701MKDIR_P 702INSTALL_STRIP_PROGRAM 703STRIP 704install_sh 705MAKEINFO 706AUTOHEADER 707AUTOMAKE 708AUTOCONF 709ACLOCAL 710VERSION 711PACKAGE 712CYGPATH_W 713am__isrc 714INSTALL_DATA 715INSTALL_SCRIPT 716INSTALL_PROGRAM 717target_alias 718host_alias 719build_alias 720LIBS 721ECHO_T 722ECHO_N 723ECHO_C 724DEFS 725mandir 726localedir 727libdir 728psdir 729pdfdir 730dvidir 731htmldir 732infodir 733docdir 734oldincludedir 735includedir 736localstatedir 737sharedstatedir 738sysconfdir 739datadir 740datarootdir 741libexecdir 742sbindir 743bindir 744program_transform_name 745prefix 746exec_prefix 747PACKAGE_URL 748PACKAGE_BUGREPORT 749PACKAGE_STRING 750PACKAGE_VERSION 751PACKAGE_TARNAME 752PACKAGE_NAME 753PATH_SEPARATOR 754SHELL' 755ac_subst_files='' 756ac_user_opts=' 757enable_option_checking 758enable_silent_rules 759enable_shared 760enable_static 761with_pic 762enable_fast_install 763enable_dependency_tracking 764with_gnu_ld 765with_sysroot 766enable_libtool_lock 767with_minuid 768' 769 ac_precious_vars='build_alias 770host_alias 771target_alias 772CC 773CFLAGS 774LDFLAGS 775LIBS 776CPPFLAGS 777CPP' 778 779 780# Initialize some variables set by options. 781ac_init_help= 782ac_init_version=false 783ac_unrecognized_opts= 784ac_unrecognized_sep= 785# The variables have the same names as the options, with 786# dashes changed to underlines. 787cache_file=/dev/null 788exec_prefix=NONE 789no_create= 790no_recursion= 791prefix=NONE 792program_prefix=NONE 793program_suffix=NONE 794program_transform_name=s,x,x, 795silent= 796site= 797srcdir= 798verbose= 799x_includes=NONE 800x_libraries=NONE 801 802# Installation directory options. 803# These are left unexpanded so users can "make install exec_prefix=/foo" 804# and all the variables that are supposed to be based on exec_prefix 805# by default will actually change. 806# Use braces instead of parens because sh, perl, etc. also accept them. 807# (The list follows the same order as the GNU Coding Standards.) 808bindir='${exec_prefix}/bin' 809sbindir='${exec_prefix}/sbin' 810libexecdir='${exec_prefix}/libexec' 811datarootdir='${prefix}/share' 812datadir='${datarootdir}' 813sysconfdir='${prefix}/etc' 814sharedstatedir='${prefix}/com' 815localstatedir='${prefix}/var' 816includedir='${prefix}/include' 817oldincludedir='/usr/include' 818docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 819infodir='${datarootdir}/info' 820htmldir='${docdir}' 821dvidir='${docdir}' 822pdfdir='${docdir}' 823psdir='${docdir}' 824libdir='${exec_prefix}/lib' 825localedir='${datarootdir}/locale' 826mandir='${datarootdir}/man' 827 828ac_prev= 829ac_dashdash= 830for ac_option 831do 832 # If the previous option needs an argument, assign it. 833 if test -n "$ac_prev"; then 834 eval $ac_prev=\$ac_option 835 ac_prev= 836 continue 837 fi 838 839 case $ac_option in 840 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 841 *=) ac_optarg= ;; 842 *) ac_optarg=yes ;; 843 esac 844 845 # Accept the important Cygnus configure options, so we can diagnose typos. 846 847 case $ac_dashdash$ac_option in 848 --) 849 ac_dashdash=yes ;; 850 851 -bindir | --bindir | --bindi | --bind | --bin | --bi) 852 ac_prev=bindir ;; 853 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 854 bindir=$ac_optarg ;; 855 856 -build | --build | --buil | --bui | --bu) 857 ac_prev=build_alias ;; 858 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 859 build_alias=$ac_optarg ;; 860 861 -cache-file | --cache-file | --cache-fil | --cache-fi \ 862 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 863 ac_prev=cache_file ;; 864 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 865 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 866 cache_file=$ac_optarg ;; 867 868 --config-cache | -C) 869 cache_file=config.cache ;; 870 871 -datadir | --datadir | --datadi | --datad) 872 ac_prev=datadir ;; 873 -datadir=* | --datadir=* | --datadi=* | --datad=*) 874 datadir=$ac_optarg ;; 875 876 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 877 | --dataroo | --dataro | --datar) 878 ac_prev=datarootdir ;; 879 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 880 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 881 datarootdir=$ac_optarg ;; 882 883 -disable-* | --disable-*) 884 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 885 # Reject names that are not valid shell variable names. 886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 887 as_fn_error $? "invalid feature name: $ac_useropt" 888 ac_useropt_orig=$ac_useropt 889 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 890 case $ac_user_opts in 891 *" 892"enable_$ac_useropt" 893"*) ;; 894 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 895 ac_unrecognized_sep=', ';; 896 esac 897 eval enable_$ac_useropt=no ;; 898 899 -docdir | --docdir | --docdi | --doc | --do) 900 ac_prev=docdir ;; 901 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 902 docdir=$ac_optarg ;; 903 904 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 905 ac_prev=dvidir ;; 906 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 907 dvidir=$ac_optarg ;; 908 909 -enable-* | --enable-*) 910 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 911 # Reject names that are not valid shell variable names. 912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 913 as_fn_error $? "invalid feature name: $ac_useropt" 914 ac_useropt_orig=$ac_useropt 915 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 916 case $ac_user_opts in 917 *" 918"enable_$ac_useropt" 919"*) ;; 920 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 921 ac_unrecognized_sep=', ';; 922 esac 923 eval enable_$ac_useropt=\$ac_optarg ;; 924 925 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 926 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 927 | --exec | --exe | --ex) 928 ac_prev=exec_prefix ;; 929 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 930 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 931 | --exec=* | --exe=* | --ex=*) 932 exec_prefix=$ac_optarg ;; 933 934 -gas | --gas | --ga | --g) 935 # Obsolete; use --with-gas. 936 with_gas=yes ;; 937 938 -help | --help | --hel | --he | -h) 939 ac_init_help=long ;; 940 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 941 ac_init_help=recursive ;; 942 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 943 ac_init_help=short ;; 944 945 -host | --host | --hos | --ho) 946 ac_prev=host_alias ;; 947 -host=* | --host=* | --hos=* | --ho=*) 948 host_alias=$ac_optarg ;; 949 950 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 951 ac_prev=htmldir ;; 952 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 953 | --ht=*) 954 htmldir=$ac_optarg ;; 955 956 -includedir | --includedir | --includedi | --included | --include \ 957 | --includ | --inclu | --incl | --inc) 958 ac_prev=includedir ;; 959 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 960 | --includ=* | --inclu=* | --incl=* | --inc=*) 961 includedir=$ac_optarg ;; 962 963 -infodir | --infodir | --infodi | --infod | --info | --inf) 964 ac_prev=infodir ;; 965 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 966 infodir=$ac_optarg ;; 967 968 -libdir | --libdir | --libdi | --libd) 969 ac_prev=libdir ;; 970 -libdir=* | --libdir=* | --libdi=* | --libd=*) 971 libdir=$ac_optarg ;; 972 973 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 974 | --libexe | --libex | --libe) 975 ac_prev=libexecdir ;; 976 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 977 | --libexe=* | --libex=* | --libe=*) 978 libexecdir=$ac_optarg ;; 979 980 -localedir | --localedir | --localedi | --localed | --locale) 981 ac_prev=localedir ;; 982 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 983 localedir=$ac_optarg ;; 984 985 -localstatedir | --localstatedir | --localstatedi | --localstated \ 986 | --localstate | --localstat | --localsta | --localst | --locals) 987 ac_prev=localstatedir ;; 988 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 989 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 990 localstatedir=$ac_optarg ;; 991 992 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 993 ac_prev=mandir ;; 994 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 995 mandir=$ac_optarg ;; 996 997 -nfp | --nfp | --nf) 998 # Obsolete; use --without-fp. 999 with_fp=no ;; 1000 1001 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1002 | --no-cr | --no-c | -n) 1003 no_create=yes ;; 1004 1005 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1006 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1007 no_recursion=yes ;; 1008 1009 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1010 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1011 | --oldin | --oldi | --old | --ol | --o) 1012 ac_prev=oldincludedir ;; 1013 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1014 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1015 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1016 oldincludedir=$ac_optarg ;; 1017 1018 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1019 ac_prev=prefix ;; 1020 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1021 prefix=$ac_optarg ;; 1022 1023 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1024 | --program-pre | --program-pr | --program-p) 1025 ac_prev=program_prefix ;; 1026 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1027 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1028 program_prefix=$ac_optarg ;; 1029 1030 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1031 | --program-suf | --program-su | --program-s) 1032 ac_prev=program_suffix ;; 1033 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1034 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1035 program_suffix=$ac_optarg ;; 1036 1037 -program-transform-name | --program-transform-name \ 1038 | --program-transform-nam | --program-transform-na \ 1039 | --program-transform-n | --program-transform- \ 1040 | --program-transform | --program-transfor \ 1041 | --program-transfo | --program-transf \ 1042 | --program-trans | --program-tran \ 1043 | --progr-tra | --program-tr | --program-t) 1044 ac_prev=program_transform_name ;; 1045 -program-transform-name=* | --program-transform-name=* \ 1046 | --program-transform-nam=* | --program-transform-na=* \ 1047 | --program-transform-n=* | --program-transform-=* \ 1048 | --program-transform=* | --program-transfor=* \ 1049 | --program-transfo=* | --program-transf=* \ 1050 | --program-trans=* | --program-tran=* \ 1051 | --progr-tra=* | --program-tr=* | --program-t=*) 1052 program_transform_name=$ac_optarg ;; 1053 1054 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1055 ac_prev=pdfdir ;; 1056 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1057 pdfdir=$ac_optarg ;; 1058 1059 -psdir | --psdir | --psdi | --psd | --ps) 1060 ac_prev=psdir ;; 1061 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1062 psdir=$ac_optarg ;; 1063 1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1065 | -silent | --silent | --silen | --sile | --sil) 1066 silent=yes ;; 1067 1068 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1069 ac_prev=sbindir ;; 1070 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1071 | --sbi=* | --sb=*) 1072 sbindir=$ac_optarg ;; 1073 1074 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1075 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1076 | --sharedst | --shareds | --shared | --share | --shar \ 1077 | --sha | --sh) 1078 ac_prev=sharedstatedir ;; 1079 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1080 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1081 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1082 | --sha=* | --sh=*) 1083 sharedstatedir=$ac_optarg ;; 1084 1085 -site | --site | --sit) 1086 ac_prev=site ;; 1087 -site=* | --site=* | --sit=*) 1088 site=$ac_optarg ;; 1089 1090 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1091 ac_prev=srcdir ;; 1092 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1093 srcdir=$ac_optarg ;; 1094 1095 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1096 | --syscon | --sysco | --sysc | --sys | --sy) 1097 ac_prev=sysconfdir ;; 1098 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1099 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1100 sysconfdir=$ac_optarg ;; 1101 1102 -target | --target | --targe | --targ | --tar | --ta | --t) 1103 ac_prev=target_alias ;; 1104 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1105 target_alias=$ac_optarg ;; 1106 1107 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1108 verbose=yes ;; 1109 1110 -version | --version | --versio | --versi | --vers | -V) 1111 ac_init_version=: ;; 1112 1113 -with-* | --with-*) 1114 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1115 # Reject names that are not valid shell variable names. 1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1117 as_fn_error $? "invalid package name: $ac_useropt" 1118 ac_useropt_orig=$ac_useropt 1119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1120 case $ac_user_opts in 1121 *" 1122"with_$ac_useropt" 1123"*) ;; 1124 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1125 ac_unrecognized_sep=', ';; 1126 esac 1127 eval with_$ac_useropt=\$ac_optarg ;; 1128 1129 -without-* | --without-*) 1130 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 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--without-$ac_useropt_orig" 1141 ac_unrecognized_sep=', ';; 1142 esac 1143 eval with_$ac_useropt=no ;; 1144 1145 --x) 1146 # Obsolete; use --with-x. 1147 with_x=yes ;; 1148 1149 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1150 | --x-incl | --x-inc | --x-in | --x-i) 1151 ac_prev=x_includes ;; 1152 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1153 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1154 x_includes=$ac_optarg ;; 1155 1156 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1157 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1158 ac_prev=x_libraries ;; 1159 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1160 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1161 x_libraries=$ac_optarg ;; 1162 1163 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1164Try \`$0 --help' for more information" 1165 ;; 1166 1167 *=*) 1168 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1169 # Reject names that are not valid shell variable names. 1170 case $ac_envvar in #( 1171 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1172 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1173 esac 1174 eval $ac_envvar=\$ac_optarg 1175 export $ac_envvar ;; 1176 1177 *) 1178 # FIXME: should be removed in autoconf 3.0. 1179 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1180 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1181 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1182 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1183 ;; 1184 1185 esac 1186done 1187 1188if test -n "$ac_prev"; then 1189 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1190 as_fn_error $? "missing argument to $ac_option" 1191fi 1192 1193if test -n "$ac_unrecognized_opts"; then 1194 case $enable_option_checking in 1195 no) ;; 1196 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1197 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1198 esac 1199fi 1200 1201# Check all directory arguments for consistency. 1202for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1203 datadir sysconfdir sharedstatedir localstatedir includedir \ 1204 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1205 libdir localedir mandir 1206do 1207 eval ac_val=\$$ac_var 1208 # Remove trailing slashes. 1209 case $ac_val in 1210 */ ) 1211 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1212 eval $ac_var=\$ac_val;; 1213 esac 1214 # Be sure to have absolute directory names. 1215 case $ac_val in 1216 [\\/$]* | ?:[\\/]* ) continue;; 1217 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1218 esac 1219 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1220done 1221 1222# There might be people who depend on the old broken behavior: `$host' 1223# used to hold the argument of --host etc. 1224# FIXME: To remove some day. 1225build=$build_alias 1226host=$host_alias 1227target=$target_alias 1228 1229# FIXME: To remove some day. 1230if test "x$host_alias" != x; then 1231 if test "x$build_alias" = x; then 1232 cross_compiling=maybe 1233 elif test "x$build_alias" != "x$host_alias"; then 1234 cross_compiling=yes 1235 fi 1236fi 1237 1238ac_tool_prefix= 1239test -n "$host_alias" && ac_tool_prefix=$host_alias- 1240 1241test "$silent" = yes && exec 6>/dev/null 1242 1243 1244ac_pwd=`pwd` && test -n "$ac_pwd" && 1245ac_ls_di=`ls -di .` && 1246ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1247 as_fn_error $? "working directory cannot be determined" 1248test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1249 as_fn_error $? "pwd does not report name of working directory" 1250 1251 1252# Find the source files, if location was not specified. 1253if test -z "$srcdir"; then 1254 ac_srcdir_defaulted=yes 1255 # Try the directory containing this script, then the parent directory. 1256 ac_confdir=`$as_dirname -- "$as_myself" || 1257$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1258 X"$as_myself" : 'X\(//\)[^/]' \| \ 1259 X"$as_myself" : 'X\(//\)$' \| \ 1260 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1261$as_echo X"$as_myself" | 1262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1263 s//\1/ 1264 q 1265 } 1266 /^X\(\/\/\)[^/].*/{ 1267 s//\1/ 1268 q 1269 } 1270 /^X\(\/\/\)$/{ 1271 s//\1/ 1272 q 1273 } 1274 /^X\(\/\).*/{ 1275 s//\1/ 1276 q 1277 } 1278 s/.*/./; q'` 1279 srcdir=$ac_confdir 1280 if test ! -r "$srcdir/$ac_unique_file"; then 1281 srcdir=.. 1282 fi 1283else 1284 ac_srcdir_defaulted=no 1285fi 1286if test ! -r "$srcdir/$ac_unique_file"; then 1287 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1288 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1289fi 1290ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1291ac_abs_confdir=`( 1292 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1293 pwd)` 1294# When building in place, set srcdir=. 1295if test "$ac_abs_confdir" = "$ac_pwd"; then 1296 srcdir=. 1297fi 1298# Remove unnecessary trailing slashes from srcdir. 1299# Double slashes in file names in object file debugging info 1300# mess up M-x gdb in Emacs. 1301case $srcdir in 1302*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1303esac 1304for ac_var in $ac_precious_vars; do 1305 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1306 eval ac_env_${ac_var}_value=\$${ac_var} 1307 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1308 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1309done 1310 1311# 1312# Report the --help message. 1313# 1314if test "$ac_init_help" = "long"; then 1315 # Omit some internal or obsolete options to make the list less imposing. 1316 # This message is too long to be a string in the A/UX 3.1 sh. 1317 cat <<_ACEOF 1318\`configure' configures courierpasswd 1.1.3 to adapt to many kinds of systems. 1319 1320Usage: $0 [OPTION]... [VAR=VALUE]... 1321 1322To assign environment variables (e.g., CC, CFLAGS...), specify them as 1323VAR=VALUE. See below for descriptions of some of the useful variables. 1324 1325Defaults for the options are specified in brackets. 1326 1327Configuration: 1328 -h, --help display this help and exit 1329 --help=short display options specific to this package 1330 --help=recursive display the short help of all the included packages 1331 -V, --version display version information and exit 1332 -q, --quiet, --silent do not print \`checking ...' messages 1333 --cache-file=FILE cache test results in FILE [disabled] 1334 -C, --config-cache alias for \`--cache-file=config.cache' 1335 -n, --no-create do not create output files 1336 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1337 1338Installation directories: 1339 --prefix=PREFIX install architecture-independent files in PREFIX 1340 [$ac_default_prefix] 1341 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1342 [PREFIX] 1343 1344By default, \`make install' will install all the files in 1345\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1346an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1347for instance \`--prefix=\$HOME'. 1348 1349For better control, use the options below. 1350 1351Fine tuning of the installation directories: 1352 --bindir=DIR user executables [EPREFIX/bin] 1353 --sbindir=DIR system admin executables [EPREFIX/sbin] 1354 --libexecdir=DIR program executables [EPREFIX/libexec] 1355 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1356 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1357 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1358 --libdir=DIR object code libraries [EPREFIX/lib] 1359 --includedir=DIR C header files [PREFIX/include] 1360 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1361 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1362 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1363 --infodir=DIR info documentation [DATAROOTDIR/info] 1364 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1365 --mandir=DIR man documentation [DATAROOTDIR/man] 1366 --docdir=DIR documentation root [DATAROOTDIR/doc/courierpasswd] 1367 --htmldir=DIR html documentation [DOCDIR] 1368 --dvidir=DIR dvi documentation [DOCDIR] 1369 --pdfdir=DIR pdf documentation [DOCDIR] 1370 --psdir=DIR ps documentation [DOCDIR] 1371_ACEOF 1372 1373 cat <<\_ACEOF 1374 1375Program names: 1376 --program-prefix=PREFIX prepend PREFIX to installed program names 1377 --program-suffix=SUFFIX append SUFFIX to installed program names 1378 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1379 1380System types: 1381 --build=BUILD configure for building on BUILD [guessed] 1382 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1383_ACEOF 1384fi 1385 1386if test -n "$ac_init_help"; then 1387 case $ac_init_help in 1388 short | recursive ) echo "Configuration of courierpasswd 1.1.3:";; 1389 esac 1390 cat <<\_ACEOF 1391 1392Optional Features: 1393 --disable-option-checking ignore unrecognized --enable/--with options 1394 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1395 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1396 --enable-silent-rules less verbose build output (undo: "make V=1") 1397 --disable-silent-rules verbose build output (undo: "make V=0") 1398 --enable-shared[=PKGS] build shared libraries [default=yes] 1399 --enable-static[=PKGS] build static libraries [default=yes] 1400 --enable-fast-install[=PKGS] 1401 optimize for fast installation [default=yes] 1402 --enable-dependency-tracking 1403 do not reject slow dependency extractors 1404 --disable-dependency-tracking 1405 speeds up one-time build 1406 --disable-libtool-lock avoid locking (might break parallel builds) 1407 1408Optional Packages: 1409 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1410 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1411 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1412 both] 1413 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1414 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1415 compiler's sysroot if not specified). 1416 --with-minuid=uid set the minimum uid that will allow password changes 1417 defaults to 100 1418 1419Some influential environment variables: 1420 CC C compiler command 1421 CFLAGS C compiler flags 1422 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1423 nonstandard directory <lib dir> 1424 LIBS libraries to pass to the linker, e.g. -l<library> 1425 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1426 you have headers in a nonstandard directory <include dir> 1427 CPP C preprocessor 1428 1429Use these variables to override the choices made by `configure' or to help 1430it to find libraries and programs with nonstandard names/locations. 1431 1432Report bugs to <freeware@arda.homeunix.net>. 1433_ACEOF 1434ac_status=$? 1435fi 1436 1437if test "$ac_init_help" = "recursive"; then 1438 # If there are subdirs, report their specific --help. 1439 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1440 test -d "$ac_dir" || 1441 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1442 continue 1443 ac_builddir=. 1444 1445case "$ac_dir" in 1446.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1447*) 1448 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1449 # A ".." for each directory in $ac_dir_suffix. 1450 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1451 case $ac_top_builddir_sub in 1452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1454 esac ;; 1455esac 1456ac_abs_top_builddir=$ac_pwd 1457ac_abs_builddir=$ac_pwd$ac_dir_suffix 1458# for backward compatibility: 1459ac_top_builddir=$ac_top_build_prefix 1460 1461case $srcdir in 1462 .) # We are building in place. 1463 ac_srcdir=. 1464 ac_top_srcdir=$ac_top_builddir_sub 1465 ac_abs_top_srcdir=$ac_pwd ;; 1466 [\\/]* | ?:[\\/]* ) # Absolute name. 1467 ac_srcdir=$srcdir$ac_dir_suffix; 1468 ac_top_srcdir=$srcdir 1469 ac_abs_top_srcdir=$srcdir ;; 1470 *) # Relative name. 1471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1472 ac_top_srcdir=$ac_top_build_prefix$srcdir 1473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1474esac 1475ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1476 1477 cd "$ac_dir" || { ac_status=$?; continue; } 1478 # Check for guested configure. 1479 if test -f "$ac_srcdir/configure.gnu"; then 1480 echo && 1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1482 elif test -f "$ac_srcdir/configure"; then 1483 echo && 1484 $SHELL "$ac_srcdir/configure" --help=recursive 1485 else 1486 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1487 fi || ac_status=$? 1488 cd "$ac_pwd" || { ac_status=$?; break; } 1489 done 1490fi 1491 1492test -n "$ac_init_help" && exit $ac_status 1493if $ac_init_version; then 1494 cat <<\_ACEOF 1495courierpasswd configure 1.1.3 1496generated by GNU Autoconf 2.69 1497 1498Copyright (C) 2012 Free Software Foundation, Inc. 1499This configure script is free software; the Free Software Foundation 1500gives unlimited permission to copy, distribute and modify it. 1501_ACEOF 1502 exit 1503fi 1504 1505## ------------------------ ## 1506## Autoconf initialization. ## 1507## ------------------------ ## 1508 1509# ac_fn_c_try_compile LINENO 1510# -------------------------- 1511# Try to compile conftest.$ac_ext, and return whether this succeeded. 1512ac_fn_c_try_compile () 1513{ 1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1515 rm -f conftest.$ac_objext 1516 if { { ac_try="$ac_compile" 1517case "(($ac_try" in 1518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1519 *) ac_try_echo=$ac_try;; 1520esac 1521eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1522$as_echo "$ac_try_echo"; } >&5 1523 (eval "$ac_compile") 2>conftest.err 1524 ac_status=$? 1525 if test -s conftest.err; then 1526 grep -v '^ *+' conftest.err >conftest.er1 1527 cat conftest.er1 >&5 1528 mv -f conftest.er1 conftest.err 1529 fi 1530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1531 test $ac_status = 0; } && { 1532 test -z "$ac_c_werror_flag" || 1533 test ! -s conftest.err 1534 } && test -s conftest.$ac_objext; then : 1535 ac_retval=0 1536else 1537 $as_echo "$as_me: failed program was:" >&5 1538sed 's/^/| /' conftest.$ac_ext >&5 1539 1540 ac_retval=1 1541fi 1542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1543 as_fn_set_status $ac_retval 1544 1545} # ac_fn_c_try_compile 1546 1547# ac_fn_c_try_link LINENO 1548# ----------------------- 1549# Try to link conftest.$ac_ext, and return whether this succeeded. 1550ac_fn_c_try_link () 1551{ 1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1553 rm -f conftest.$ac_objext conftest$ac_exeext 1554 if { { ac_try="$ac_link" 1555case "(($ac_try" in 1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1557 *) ac_try_echo=$ac_try;; 1558esac 1559eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1560$as_echo "$ac_try_echo"; } >&5 1561 (eval "$ac_link") 2>conftest.err 1562 ac_status=$? 1563 if test -s conftest.err; then 1564 grep -v '^ *+' conftest.err >conftest.er1 1565 cat conftest.er1 >&5 1566 mv -f conftest.er1 conftest.err 1567 fi 1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1569 test $ac_status = 0; } && { 1570 test -z "$ac_c_werror_flag" || 1571 test ! -s conftest.err 1572 } && test -s conftest$ac_exeext && { 1573 test "$cross_compiling" = yes || 1574 test -x conftest$ac_exeext 1575 }; then : 1576 ac_retval=0 1577else 1578 $as_echo "$as_me: failed program was:" >&5 1579sed 's/^/| /' conftest.$ac_ext >&5 1580 1581 ac_retval=1 1582fi 1583 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1584 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1585 # interfere with the next link command; also delete a directory that is 1586 # left behind by Apple's compiler. We do this before executing the actions. 1587 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1589 as_fn_set_status $ac_retval 1590 1591} # ac_fn_c_try_link 1592 1593# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1594# ------------------------------------------------------- 1595# Tests whether HEADER exists and can be compiled using the include files in 1596# INCLUDES, setting the cache variable VAR accordingly. 1597ac_fn_c_check_header_compile () 1598{ 1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1601$as_echo_n "checking for $2... " >&6; } 1602if eval \${$3+:} false; then : 1603 $as_echo_n "(cached) " >&6 1604else 1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1606/* end confdefs.h. */ 1607$4 1608#include <$2> 1609_ACEOF 1610if ac_fn_c_try_compile "$LINENO"; then : 1611 eval "$3=yes" 1612else 1613 eval "$3=no" 1614fi 1615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1616fi 1617eval ac_res=\$$3 1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1619$as_echo "$ac_res" >&6; } 1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1621 1622} # ac_fn_c_check_header_compile 1623 1624# ac_fn_c_try_cpp LINENO 1625# ---------------------- 1626# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1627ac_fn_c_try_cpp () 1628{ 1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1630 if { { ac_try="$ac_cpp conftest.$ac_ext" 1631case "(($ac_try" in 1632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1633 *) ac_try_echo=$ac_try;; 1634esac 1635eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1636$as_echo "$ac_try_echo"; } >&5 1637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1638 ac_status=$? 1639 if test -s conftest.err; then 1640 grep -v '^ *+' conftest.err >conftest.er1 1641 cat conftest.er1 >&5 1642 mv -f conftest.er1 conftest.err 1643 fi 1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1645 test $ac_status = 0; } > conftest.i && { 1646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1647 test ! -s conftest.err 1648 }; then : 1649 ac_retval=0 1650else 1651 $as_echo "$as_me: failed program was:" >&5 1652sed 's/^/| /' conftest.$ac_ext >&5 1653 1654 ac_retval=1 1655fi 1656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1657 as_fn_set_status $ac_retval 1658 1659} # ac_fn_c_try_cpp 1660 1661# ac_fn_c_try_run LINENO 1662# ---------------------- 1663# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1664# that executables *can* be run. 1665ac_fn_c_try_run () 1666{ 1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1668 if { { ac_try="$ac_link" 1669case "(($ac_try" in 1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1671 *) ac_try_echo=$ac_try;; 1672esac 1673eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1674$as_echo "$ac_try_echo"; } >&5 1675 (eval "$ac_link") 2>&5 1676 ac_status=$? 1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1678 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1679 { { case "(($ac_try" in 1680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1681 *) ac_try_echo=$ac_try;; 1682esac 1683eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1684$as_echo "$ac_try_echo"; } >&5 1685 (eval "$ac_try") 2>&5 1686 ac_status=$? 1687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1688 test $ac_status = 0; }; }; then : 1689 ac_retval=0 1690else 1691 $as_echo "$as_me: program exited with status $ac_status" >&5 1692 $as_echo "$as_me: failed program was:" >&5 1693sed 's/^/| /' conftest.$ac_ext >&5 1694 1695 ac_retval=$ac_status 1696fi 1697 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1699 as_fn_set_status $ac_retval 1700 1701} # ac_fn_c_try_run 1702 1703# ac_fn_c_check_func LINENO FUNC VAR 1704# ---------------------------------- 1705# Tests whether FUNC exists, setting the cache variable VAR accordingly 1706ac_fn_c_check_func () 1707{ 1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1710$as_echo_n "checking for $2... " >&6; } 1711if eval \${$3+:} false; then : 1712 $as_echo_n "(cached) " >&6 1713else 1714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1715/* end confdefs.h. */ 1716/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1717 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1718#define $2 innocuous_$2 1719 1720/* System header to define __stub macros and hopefully few prototypes, 1721 which can conflict with char $2 (); below. 1722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1723 <limits.h> exists even on freestanding compilers. */ 1724 1725#ifdef __STDC__ 1726# include <limits.h> 1727#else 1728# include <assert.h> 1729#endif 1730 1731#undef $2 1732 1733/* Override any GCC internal prototype to avoid an error. 1734 Use char because int might match the return type of a GCC 1735 builtin and then its argument prototype would still apply. */ 1736#ifdef __cplusplus 1737extern "C" 1738#endif 1739char $2 (); 1740/* The GNU C library defines this for functions which it implements 1741 to always fail with ENOSYS. Some functions are actually named 1742 something starting with __ and the normal name is an alias. */ 1743#if defined __stub_$2 || defined __stub___$2 1744choke me 1745#endif 1746 1747int 1748main () 1749{ 1750return $2 (); 1751 ; 1752 return 0; 1753} 1754_ACEOF 1755if ac_fn_c_try_link "$LINENO"; then : 1756 eval "$3=yes" 1757else 1758 eval "$3=no" 1759fi 1760rm -f core conftest.err conftest.$ac_objext \ 1761 conftest$ac_exeext conftest.$ac_ext 1762fi 1763eval ac_res=\$$3 1764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1765$as_echo "$ac_res" >&6; } 1766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1767 1768} # ac_fn_c_check_func 1769 1770# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1771# ------------------------------------------------------- 1772# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1773# the include files in INCLUDES and setting the cache variable VAR 1774# accordingly. 1775ac_fn_c_check_header_mongrel () 1776{ 1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1778 if eval \${$3+:} false; then : 1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1780$as_echo_n "checking for $2... " >&6; } 1781if eval \${$3+:} false; then : 1782 $as_echo_n "(cached) " >&6 1783fi 1784eval ac_res=\$$3 1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1786$as_echo "$ac_res" >&6; } 1787else 1788 # Is the header compilable? 1789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1790$as_echo_n "checking $2 usability... " >&6; } 1791cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1792/* end confdefs.h. */ 1793$4 1794#include <$2> 1795_ACEOF 1796if ac_fn_c_try_compile "$LINENO"; then : 1797 ac_header_compiler=yes 1798else 1799 ac_header_compiler=no 1800fi 1801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1803$as_echo "$ac_header_compiler" >&6; } 1804 1805# Is the header present? 1806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1807$as_echo_n "checking $2 presence... " >&6; } 1808cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1809/* end confdefs.h. */ 1810#include <$2> 1811_ACEOF 1812if ac_fn_c_try_cpp "$LINENO"; then : 1813 ac_header_preproc=yes 1814else 1815 ac_header_preproc=no 1816fi 1817rm -f conftest.err conftest.i conftest.$ac_ext 1818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1819$as_echo "$ac_header_preproc" >&6; } 1820 1821# So? What about this header? 1822case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1823 yes:no: ) 1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1825$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1827$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1828 ;; 1829 no:yes:* ) 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1831$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1833$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1835$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1837$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1839$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1840( $as_echo "## ----------------------------------------- ## 1841## Report this to freeware@arda.homeunix.net ## 1842## ----------------------------------------- ##" 1843 ) | sed "s/^/$as_me: WARNING: /" >&2 1844 ;; 1845esac 1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1847$as_echo_n "checking for $2... " >&6; } 1848if eval \${$3+:} false; then : 1849 $as_echo_n "(cached) " >&6 1850else 1851 eval "$3=\$ac_header_compiler" 1852fi 1853eval ac_res=\$$3 1854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1855$as_echo "$ac_res" >&6; } 1856fi 1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1858 1859} # ac_fn_c_check_header_mongrel 1860 1861# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1862# ------------------------------------------- 1863# Tests whether TYPE exists after having included INCLUDES, setting cache 1864# variable VAR accordingly. 1865ac_fn_c_check_type () 1866{ 1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 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=no" 1874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1875/* end confdefs.h. */ 1876$4 1877int 1878main () 1879{ 1880if (sizeof ($2)) 1881 return 0; 1882 ; 1883 return 0; 1884} 1885_ACEOF 1886if ac_fn_c_try_compile "$LINENO"; then : 1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1888/* end confdefs.h. */ 1889$4 1890int 1891main () 1892{ 1893if (sizeof (($2))) 1894 return 0; 1895 ; 1896 return 0; 1897} 1898_ACEOF 1899if ac_fn_c_try_compile "$LINENO"; then : 1900 1901else 1902 eval "$3=yes" 1903fi 1904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1905fi 1906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1907fi 1908eval ac_res=\$$3 1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1910$as_echo "$ac_res" >&6; } 1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1912 1913} # ac_fn_c_check_type 1914cat >config.log <<_ACEOF 1915This file contains any messages produced by compilers while 1916running configure, to aid debugging if configure makes a mistake. 1917 1918It was created by courierpasswd $as_me 1.1.3, which was 1919generated by GNU Autoconf 2.69. Invocation command line was 1920 1921 $ $0 $@ 1922 1923_ACEOF 1924exec 5>>config.log 1925{ 1926cat <<_ASUNAME 1927## --------- ## 1928## Platform. ## 1929## --------- ## 1930 1931hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1932uname -m = `(uname -m) 2>/dev/null || echo unknown` 1933uname -r = `(uname -r) 2>/dev/null || echo unknown` 1934uname -s = `(uname -s) 2>/dev/null || echo unknown` 1935uname -v = `(uname -v) 2>/dev/null || echo unknown` 1936 1937/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1938/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1939 1940/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1941/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1942/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1943/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1944/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1945/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1946/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1947 1948_ASUNAME 1949 1950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1951for as_dir in $PATH 1952do 1953 IFS=$as_save_IFS 1954 test -z "$as_dir" && as_dir=. 1955 $as_echo "PATH: $as_dir" 1956 done 1957IFS=$as_save_IFS 1958 1959} >&5 1960 1961cat >&5 <<_ACEOF 1962 1963 1964## ----------- ## 1965## Core tests. ## 1966## ----------- ## 1967 1968_ACEOF 1969 1970 1971# Keep a trace of the command line. 1972# Strip out --no-create and --no-recursion so they do not pile up. 1973# Strip out --silent because we don't want to record it for future runs. 1974# Also quote any args containing shell meta-characters. 1975# Make two passes to allow for proper duplicate-argument suppression. 1976ac_configure_args= 1977ac_configure_args0= 1978ac_configure_args1= 1979ac_must_keep_next=false 1980for ac_pass in 1 2 1981do 1982 for ac_arg 1983 do 1984 case $ac_arg in 1985 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1987 | -silent | --silent | --silen | --sile | --sil) 1988 continue ;; 1989 *\'*) 1990 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1991 esac 1992 case $ac_pass in 1993 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1994 2) 1995 as_fn_append ac_configure_args1 " '$ac_arg'" 1996 if test $ac_must_keep_next = true; then 1997 ac_must_keep_next=false # Got value, back to normal. 1998 else 1999 case $ac_arg in 2000 *=* | --config-cache | -C | -disable-* | --disable-* \ 2001 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2002 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2003 | -with-* | --with-* | -without-* | --without-* | --x) 2004 case "$ac_configure_args0 " in 2005 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2006 esac 2007 ;; 2008 -* ) ac_must_keep_next=true ;; 2009 esac 2010 fi 2011 as_fn_append ac_configure_args " '$ac_arg'" 2012 ;; 2013 esac 2014 done 2015done 2016{ ac_configure_args0=; unset ac_configure_args0;} 2017{ ac_configure_args1=; unset ac_configure_args1;} 2018 2019# When interrupted or exit'd, cleanup temporary files, and complete 2020# config.log. We remove comments because anyway the quotes in there 2021# would cause problems or look ugly. 2022# WARNING: Use '\'' to represent an apostrophe within the trap. 2023# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2024trap 'exit_status=$? 2025 # Save into config.log some information that might help in debugging. 2026 { 2027 echo 2028 2029 $as_echo "## ---------------- ## 2030## Cache variables. ## 2031## ---------------- ##" 2032 echo 2033 # The following way of writing the cache mishandles newlines in values, 2034( 2035 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2036 eval ac_val=\$$ac_var 2037 case $ac_val in #( 2038 *${as_nl}*) 2039 case $ac_var in #( 2040 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2041$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2042 esac 2043 case $ac_var in #( 2044 _ | IFS | as_nl) ;; #( 2045 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2046 *) { eval $ac_var=; unset $ac_var;} ;; 2047 esac ;; 2048 esac 2049 done 2050 (set) 2>&1 | 2051 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2052 *${as_nl}ac_space=\ *) 2053 sed -n \ 2054 "s/'\''/'\''\\\\'\'''\''/g; 2055 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2056 ;; #( 2057 *) 2058 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2059 ;; 2060 esac | 2061 sort 2062) 2063 echo 2064 2065 $as_echo "## ----------------- ## 2066## Output variables. ## 2067## ----------------- ##" 2068 echo 2069 for ac_var in $ac_subst_vars 2070 do 2071 eval ac_val=\$$ac_var 2072 case $ac_val in 2073 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2074 esac 2075 $as_echo "$ac_var='\''$ac_val'\''" 2076 done | sort 2077 echo 2078 2079 if test -n "$ac_subst_files"; then 2080 $as_echo "## ------------------- ## 2081## File substitutions. ## 2082## ------------------- ##" 2083 echo 2084 for ac_var in $ac_subst_files 2085 do 2086 eval ac_val=\$$ac_var 2087 case $ac_val in 2088 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2089 esac 2090 $as_echo "$ac_var='\''$ac_val'\''" 2091 done | sort 2092 echo 2093 fi 2094 2095 if test -s confdefs.h; then 2096 $as_echo "## ----------- ## 2097## confdefs.h. ## 2098## ----------- ##" 2099 echo 2100 cat confdefs.h 2101 echo 2102 fi 2103 test "$ac_signal" != 0 && 2104 $as_echo "$as_me: caught signal $ac_signal" 2105 $as_echo "$as_me: exit $exit_status" 2106 } >&5 2107 rm -f core *.core core.conftest.* && 2108 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2109 exit $exit_status 2110' 0 2111for ac_signal in 1 2 13 15; do 2112 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2113done 2114ac_signal=0 2115 2116# confdefs.h avoids OS command line length limits that DEFS can exceed. 2117rm -f -r conftest* confdefs.h 2118 2119$as_echo "/* confdefs.h */" > confdefs.h 2120 2121# Predefined preprocessor variables. 2122 2123cat >>confdefs.h <<_ACEOF 2124#define PACKAGE_NAME "$PACKAGE_NAME" 2125_ACEOF 2126 2127cat >>confdefs.h <<_ACEOF 2128#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2129_ACEOF 2130 2131cat >>confdefs.h <<_ACEOF 2132#define PACKAGE_VERSION "$PACKAGE_VERSION" 2133_ACEOF 2134 2135cat >>confdefs.h <<_ACEOF 2136#define PACKAGE_STRING "$PACKAGE_STRING" 2137_ACEOF 2138 2139cat >>confdefs.h <<_ACEOF 2140#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2141_ACEOF 2142 2143cat >>confdefs.h <<_ACEOF 2144#define PACKAGE_URL "$PACKAGE_URL" 2145_ACEOF 2146 2147 2148# Let the site file select an alternate cache file if it wants to. 2149# Prefer an explicitly selected file to automatically selected ones. 2150ac_site_file1=NONE 2151ac_site_file2=NONE 2152if test -n "$CONFIG_SITE"; then 2153 # We do not want a PATH search for config.site. 2154 case $CONFIG_SITE in #(( 2155 -*) ac_site_file1=./$CONFIG_SITE;; 2156 */*) ac_site_file1=$CONFIG_SITE;; 2157 *) ac_site_file1=./$CONFIG_SITE;; 2158 esac 2159elif test "x$prefix" != xNONE; then 2160 ac_site_file1=$prefix/share/config.site 2161 ac_site_file2=$prefix/etc/config.site 2162else 2163 ac_site_file1=$ac_default_prefix/share/config.site 2164 ac_site_file2=$ac_default_prefix/etc/config.site 2165fi 2166for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2167do 2168 test "x$ac_site_file" = xNONE && continue 2169 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2170 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2171$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2172 sed 's/^/| /' "$ac_site_file" >&5 2173 . "$ac_site_file" \ 2174 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2175$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2176as_fn_error $? "failed to load site script $ac_site_file 2177See \`config.log' for more details" "$LINENO" 5; } 2178 fi 2179done 2180 2181if test -r "$cache_file"; then 2182 # Some versions of bash will fail to source /dev/null (special files 2183 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2184 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2185 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2186$as_echo "$as_me: loading cache $cache_file" >&6;} 2187 case $cache_file in 2188 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2189 *) . "./$cache_file";; 2190 esac 2191 fi 2192else 2193 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2194$as_echo "$as_me: creating cache $cache_file" >&6;} 2195 >$cache_file 2196fi 2197 2198# Check that the precious variables saved in the cache have kept the same 2199# value. 2200ac_cache_corrupted=false 2201for ac_var in $ac_precious_vars; do 2202 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2203 eval ac_new_set=\$ac_env_${ac_var}_set 2204 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2205 eval ac_new_val=\$ac_env_${ac_var}_value 2206 case $ac_old_set,$ac_new_set in 2207 set,) 2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2209$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2210 ac_cache_corrupted=: ;; 2211 ,set) 2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2213$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2214 ac_cache_corrupted=: ;; 2215 ,);; 2216 *) 2217 if test "x$ac_old_val" != "x$ac_new_val"; then 2218 # differences in whitespace do not lead to failure. 2219 ac_old_val_w=`echo x $ac_old_val` 2220 ac_new_val_w=`echo x $ac_new_val` 2221 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2222 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2223$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2224 ac_cache_corrupted=: 2225 else 2226 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2227$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2228 eval $ac_var=\$ac_old_val 2229 fi 2230 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2231$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2232 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2233$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2234 fi;; 2235 esac 2236 # Pass precious variables to config.status. 2237 if test "$ac_new_set" = set; then 2238 case $ac_new_val in 2239 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2240 *) ac_arg=$ac_var=$ac_new_val ;; 2241 esac 2242 case " $ac_configure_args " in 2243 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2244 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2245 esac 2246 fi 2247done 2248if $ac_cache_corrupted; then 2249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2250$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2252$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2253 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2254fi 2255## -------------------- ## 2256## Main body of script. ## 2257## -------------------- ## 2258 2259ac_ext=c 2260ac_cpp='$CPP $CPPFLAGS' 2261ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2262ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2263ac_compiler_gnu=$ac_cv_c_compiler_gnu 2264 2265 2266am__api_version='1.14' 2267 2268ac_aux_dir= 2269for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2270 if test -f "$ac_dir/install-sh"; then 2271 ac_aux_dir=$ac_dir 2272 ac_install_sh="$ac_aux_dir/install-sh -c" 2273 break 2274 elif test -f "$ac_dir/install.sh"; then 2275 ac_aux_dir=$ac_dir 2276 ac_install_sh="$ac_aux_dir/install.sh -c" 2277 break 2278 elif test -f "$ac_dir/shtool"; then 2279 ac_aux_dir=$ac_dir 2280 ac_install_sh="$ac_aux_dir/shtool install -c" 2281 break 2282 fi 2283done 2284if test -z "$ac_aux_dir"; then 2285 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2286fi 2287 2288# These three variables are undocumented and unsupported, 2289# and are intended to be withdrawn in a future Autoconf release. 2290# They can cause serious problems if a builder's source tree is in a directory 2291# whose full name contains unusual characters. 2292ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2293ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2294ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2295 2296 2297# Find a good install program. We prefer a C program (faster), 2298# so one script is as good as another. But avoid the broken or 2299# incompatible versions: 2300# SysV /etc/install, /usr/sbin/install 2301# SunOS /usr/etc/install 2302# IRIX /sbin/install 2303# AIX /bin/install 2304# AmigaOS /C/install, which installs bootblocks on floppy discs 2305# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2306# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2307# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2308# OS/2's system install, which has a completely different semantic 2309# ./install, which can be erroneously created by make from ./install.sh. 2310# Reject install programs that cannot install multiple files. 2311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2312$as_echo_n "checking for a BSD-compatible install... " >&6; } 2313if test -z "$INSTALL"; then 2314if ${ac_cv_path_install+:} false; then : 2315 $as_echo_n "(cached) " >&6 2316else 2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2318for as_dir in $PATH 2319do 2320 IFS=$as_save_IFS 2321 test -z "$as_dir" && as_dir=. 2322 # Account for people who put trailing slashes in PATH elements. 2323case $as_dir/ in #(( 2324 ./ | .// | /[cC]/* | \ 2325 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2326 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2327 /usr/ucb/* ) ;; 2328 *) 2329 # OSF1 and SCO ODT 3.0 have their own names for install. 2330 # Don't use installbsd from OSF since it installs stuff as root 2331 # by default. 2332 for ac_prog in ginstall scoinst install; do 2333 for ac_exec_ext in '' $ac_executable_extensions; do 2334 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2335 if test $ac_prog = install && 2336 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2337 # AIX install. It has an incompatible calling convention. 2338 : 2339 elif test $ac_prog = install && 2340 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2341 # program-specific install script used by HP pwplus--don't use. 2342 : 2343 else 2344 rm -rf conftest.one conftest.two conftest.dir 2345 echo one > conftest.one 2346 echo two > conftest.two 2347 mkdir conftest.dir 2348 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2349 test -s conftest.one && test -s conftest.two && 2350 test -s conftest.dir/conftest.one && 2351 test -s conftest.dir/conftest.two 2352 then 2353 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2354 break 3 2355 fi 2356 fi 2357 fi 2358 done 2359 done 2360 ;; 2361esac 2362 2363 done 2364IFS=$as_save_IFS 2365 2366rm -rf conftest.one conftest.two conftest.dir 2367 2368fi 2369 if test "${ac_cv_path_install+set}" = set; then 2370 INSTALL=$ac_cv_path_install 2371 else 2372 # As a last resort, use the slow shell script. Don't cache a 2373 # value for INSTALL within a source directory, because that will 2374 # break other packages using the cache if that directory is 2375 # removed, or if the value is a relative name. 2376 INSTALL=$ac_install_sh 2377 fi 2378fi 2379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2380$as_echo "$INSTALL" >&6; } 2381 2382# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2383# It thinks the first close brace ends the variable substitution. 2384test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2385 2386test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2387 2388test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2389 2390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2391$as_echo_n "checking whether build environment is sane... " >&6; } 2392# Reject unsafe characters in $srcdir or the absolute working directory 2393# name. Accept space and tab only in the latter. 2394am_lf=' 2395' 2396case `pwd` in 2397 *[\\\"\#\$\&\'\`$am_lf]*) 2398 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2399esac 2400case $srcdir in 2401 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2402 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2403esac 2404 2405# Do 'set' in a subshell so we don't clobber the current shell's 2406# arguments. Must try -L first in case configure is actually a 2407# symlink; some systems play weird games with the mod time of symlinks 2408# (eg FreeBSD returns the mod time of the symlink's containing 2409# directory). 2410if ( 2411 am_has_slept=no 2412 for am_try in 1 2; do 2413 echo "timestamp, slept: $am_has_slept" > conftest.file 2414 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2415 if test "$*" = "X"; then 2416 # -L didn't work. 2417 set X `ls -t "$srcdir/configure" conftest.file` 2418 fi 2419 if test "$*" != "X $srcdir/configure conftest.file" \ 2420 && test "$*" != "X conftest.file $srcdir/configure"; then 2421 2422 # If neither matched, then we have a broken ls. This can happen 2423 # if, for instance, CONFIG_SHELL is bash and it inherits a 2424 # broken ls alias from the environment. This has actually 2425 # happened. Such a system could not be considered "sane". 2426 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2427 alias in your environment" "$LINENO" 5 2428 fi 2429 if test "$2" = conftest.file || test $am_try -eq 2; then 2430 break 2431 fi 2432 # Just in case. 2433 sleep 1 2434 am_has_slept=yes 2435 done 2436 test "$2" = conftest.file 2437 ) 2438then 2439 # Ok. 2440 : 2441else 2442 as_fn_error $? "newly created file is older than distributed files! 2443Check your system clock" "$LINENO" 5 2444fi 2445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2446$as_echo "yes" >&6; } 2447# If we didn't sleep, we still need to ensure time stamps of config.status and 2448# generated files are strictly newer. 2449am_sleep_pid= 2450if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2451 ( sleep 1 ) & 2452 am_sleep_pid=$! 2453fi 2454 2455rm -f conftest.file 2456 2457test "$program_prefix" != NONE && 2458 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2459# Use a double $ so make ignores it. 2460test "$program_suffix" != NONE && 2461 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2462# Double any \ or $. 2463# By default was `s,x,x', remove it if useless. 2464ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2465program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2466 2467# expand $ac_aux_dir to an absolute path 2468am_aux_dir=`cd $ac_aux_dir && pwd` 2469 2470if test x"${MISSING+set}" != xset; then 2471 case $am_aux_dir in 2472 *\ * | *\ *) 2473 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2474 *) 2475 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2476 esac 2477fi 2478# Use eval to expand $SHELL 2479if eval "$MISSING --is-lightweight"; then 2480 am_missing_run="$MISSING " 2481else 2482 am_missing_run= 2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2484$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2485fi 2486 2487if test x"${install_sh}" != xset; then 2488 case $am_aux_dir in 2489 *\ * | *\ *) 2490 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2491 *) 2492 install_sh="\${SHELL} $am_aux_dir/install-sh" 2493 esac 2494fi 2495 2496# Installed binaries are usually stripped using 'strip' when the user 2497# run "make install-strip". However 'strip' might not be the right 2498# tool to use in cross-compilation environments, therefore Automake 2499# will honor the 'STRIP' environment variable to overrule this program. 2500if test "$cross_compiling" != no; then 2501 if test -n "$ac_tool_prefix"; then 2502 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2503set dummy ${ac_tool_prefix}strip; ac_word=$2 2504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2505$as_echo_n "checking for $ac_word... " >&6; } 2506if ${ac_cv_prog_STRIP+:} false; then : 2507 $as_echo_n "(cached) " >&6 2508else 2509 if test -n "$STRIP"; then 2510 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2511else 2512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2513for as_dir in $PATH 2514do 2515 IFS=$as_save_IFS 2516 test -z "$as_dir" && as_dir=. 2517 for ac_exec_ext in '' $ac_executable_extensions; do 2518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2519 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2521 break 2 2522 fi 2523done 2524 done 2525IFS=$as_save_IFS 2526 2527fi 2528fi 2529STRIP=$ac_cv_prog_STRIP 2530if test -n "$STRIP"; then 2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2532$as_echo "$STRIP" >&6; } 2533else 2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2535$as_echo "no" >&6; } 2536fi 2537 2538 2539fi 2540if test -z "$ac_cv_prog_STRIP"; then 2541 ac_ct_STRIP=$STRIP 2542 # Extract the first word of "strip", so it can be a program name with args. 2543set dummy strip; ac_word=$2 2544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2545$as_echo_n "checking for $ac_word... " >&6; } 2546if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2547 $as_echo_n "(cached) " >&6 2548else 2549 if test -n "$ac_ct_STRIP"; then 2550 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2551else 2552as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2553for as_dir in $PATH 2554do 2555 IFS=$as_save_IFS 2556 test -z "$as_dir" && as_dir=. 2557 for ac_exec_ext in '' $ac_executable_extensions; do 2558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2559 ac_cv_prog_ac_ct_STRIP="strip" 2560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2561 break 2 2562 fi 2563done 2564 done 2565IFS=$as_save_IFS 2566 2567fi 2568fi 2569ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2570if test -n "$ac_ct_STRIP"; then 2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2572$as_echo "$ac_ct_STRIP" >&6; } 2573else 2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2575$as_echo "no" >&6; } 2576fi 2577 2578 if test "x$ac_ct_STRIP" = x; then 2579 STRIP=":" 2580 else 2581 case $cross_compiling:$ac_tool_warned in 2582yes:) 2583{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2584$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2585ac_tool_warned=yes ;; 2586esac 2587 STRIP=$ac_ct_STRIP 2588 fi 2589else 2590 STRIP="$ac_cv_prog_STRIP" 2591fi 2592 2593fi 2594INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2595 2596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2597$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2598if test -z "$MKDIR_P"; then 2599 if ${ac_cv_path_mkdir+:} false; then : 2600 $as_echo_n "(cached) " >&6 2601else 2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2603for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2604do 2605 IFS=$as_save_IFS 2606 test -z "$as_dir" && as_dir=. 2607 for ac_prog in mkdir gmkdir; do 2608 for ac_exec_ext in '' $ac_executable_extensions; do 2609 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2610 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2611 'mkdir (GNU coreutils) '* | \ 2612 'mkdir (coreutils) '* | \ 2613 'mkdir (fileutils) '4.1*) 2614 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2615 break 3;; 2616 esac 2617 done 2618 done 2619 done 2620IFS=$as_save_IFS 2621 2622fi 2623 2624 test -d ./--version && rmdir ./--version 2625 if test "${ac_cv_path_mkdir+set}" = set; then 2626 MKDIR_P="$ac_cv_path_mkdir -p" 2627 else 2628 # As a last resort, use the slow shell script. Don't cache a 2629 # value for MKDIR_P within a source directory, because that will 2630 # break other packages using the cache if that directory is 2631 # removed, or if the value is a relative name. 2632 MKDIR_P="$ac_install_sh -d" 2633 fi 2634fi 2635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2636$as_echo "$MKDIR_P" >&6; } 2637 2638for ac_prog in gawk mawk nawk awk 2639do 2640 # Extract the first word of "$ac_prog", so it can be a program name with args. 2641set dummy $ac_prog; ac_word=$2 2642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2643$as_echo_n "checking for $ac_word... " >&6; } 2644if ${ac_cv_prog_AWK+:} false; then : 2645 $as_echo_n "(cached) " >&6 2646else 2647 if test -n "$AWK"; then 2648 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2649else 2650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2651for as_dir in $PATH 2652do 2653 IFS=$as_save_IFS 2654 test -z "$as_dir" && as_dir=. 2655 for ac_exec_ext in '' $ac_executable_extensions; do 2656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2657 ac_cv_prog_AWK="$ac_prog" 2658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2659 break 2 2660 fi 2661done 2662 done 2663IFS=$as_save_IFS 2664 2665fi 2666fi 2667AWK=$ac_cv_prog_AWK 2668if test -n "$AWK"; then 2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2670$as_echo "$AWK" >&6; } 2671else 2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2673$as_echo "no" >&6; } 2674fi 2675 2676 2677 test -n "$AWK" && break 2678done 2679 2680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2681$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2682set x ${MAKE-make} 2683ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2684if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2685 $as_echo_n "(cached) " >&6 2686else 2687 cat >conftest.make <<\_ACEOF 2688SHELL = /bin/sh 2689all: 2690 @echo '@@@%%%=$(MAKE)=@@@%%%' 2691_ACEOF 2692# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2693case `${MAKE-make} -f conftest.make 2>/dev/null` in 2694 *@@@%%%=?*=@@@%%%*) 2695 eval ac_cv_prog_make_${ac_make}_set=yes;; 2696 *) 2697 eval ac_cv_prog_make_${ac_make}_set=no;; 2698esac 2699rm -f conftest.make 2700fi 2701if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2703$as_echo "yes" >&6; } 2704 SET_MAKE= 2705else 2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2707$as_echo "no" >&6; } 2708 SET_MAKE="MAKE=${MAKE-make}" 2709fi 2710 2711rm -rf .tst 2>/dev/null 2712mkdir .tst 2>/dev/null 2713if test -d .tst; then 2714 am__leading_dot=. 2715else 2716 am__leading_dot=_ 2717fi 2718rmdir .tst 2>/dev/null 2719 2720# Check whether --enable-silent-rules was given. 2721if test "${enable_silent_rules+set}" = set; then : 2722 enableval=$enable_silent_rules; 2723fi 2724 2725case $enable_silent_rules in # ((( 2726 yes) AM_DEFAULT_VERBOSITY=0;; 2727 no) AM_DEFAULT_VERBOSITY=1;; 2728 *) AM_DEFAULT_VERBOSITY=1;; 2729esac 2730am_make=${MAKE-make} 2731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2732$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2733if ${am_cv_make_support_nested_variables+:} false; then : 2734 $as_echo_n "(cached) " >&6 2735else 2736 if $as_echo 'TRUE=$(BAR$(V)) 2737BAR0=false 2738BAR1=true 2739V=1 2740am__doit: 2741 @$(TRUE) 2742.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2743 am_cv_make_support_nested_variables=yes 2744else 2745 am_cv_make_support_nested_variables=no 2746fi 2747fi 2748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2749$as_echo "$am_cv_make_support_nested_variables" >&6; } 2750if test $am_cv_make_support_nested_variables = yes; then 2751 AM_V='$(V)' 2752 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2753else 2754 AM_V=$AM_DEFAULT_VERBOSITY 2755 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2756fi 2757AM_BACKSLASH='\' 2758 2759if test "`cd $srcdir && pwd`" != "`pwd`"; then 2760 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2761 # is not polluted with repeated "-I." 2762 am__isrc=' -I$(srcdir)' 2763 # test to see if srcdir already configured 2764 if test -f $srcdir/config.status; then 2765 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2766 fi 2767fi 2768 2769# test whether we have cygpath 2770if test -z "$CYGPATH_W"; then 2771 if (cygpath --version) >/dev/null 2>/dev/null; then 2772 CYGPATH_W='cygpath -w' 2773 else 2774 CYGPATH_W=echo 2775 fi 2776fi 2777 2778 2779# Define the identity of the package. 2780 PACKAGE='courierpasswd' 2781 VERSION='1.1.3' 2782 2783 2784cat >>confdefs.h <<_ACEOF 2785#define PACKAGE "$PACKAGE" 2786_ACEOF 2787 2788 2789cat >>confdefs.h <<_ACEOF 2790#define VERSION "$VERSION" 2791_ACEOF 2792 2793# Some tools Automake needs. 2794 2795ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2796 2797 2798AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2799 2800 2801AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2802 2803 2804AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2805 2806 2807MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2808 2809# For better backward compatibility. To be removed once Automake 1.9.x 2810# dies out for good. For more background, see: 2811# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2812# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2813mkdir_p='$(MKDIR_P)' 2814 2815# We need awk for the "check" target. The system "awk" is bad on 2816# some platforms. 2817# Always define AMTAR for backward compatibility. Yes, it's still used 2818# in the wild :-( We should find a proper way to deprecate it ... 2819AMTAR='$${TAR-tar}' 2820 2821 2822# We'll loop over all known methods to create a tar archive until one works. 2823_am_tools='gnutar pax cpio none' 2824 2825am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2826 2827 2828 2829 2830 2831 2832# POSIX will say in a future version that running "rm -f" with no argument 2833# is OK; and we want to be able to make that assumption in our Makefile 2834# recipes. So use an aggressive probe to check that the usage we want is 2835# actually supported "in the wild" to an acceptable degree. 2836# See automake bug#10828. 2837# To make any issue more visible, cause the running configure to be aborted 2838# by default if the 'rm' program in use doesn't match our expectations; the 2839# user can still override this though. 2840if rm -f && rm -fr && rm -rf; then : OK; else 2841 cat >&2 <<'END' 2842Oops! 2843 2844Your 'rm' program seems unable to run without file operands specified 2845on the command line, even when the '-f' option is present. This is contrary 2846to the behaviour of most rm programs out there, and not conforming with 2847the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2848 2849Please tell bug-automake@gnu.org about your system, including the value 2850of your $PATH and any error possibly output before this message. This 2851can help us improve future automake versions. 2852 2853END 2854 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2855 echo 'Configuration will proceed anyway, since you have set the' >&2 2856 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2857 echo >&2 2858 else 2859 cat >&2 <<'END' 2860Aborting the configuration process, to ensure you take notice of the issue. 2861 2862You can download and install GNU coreutils to get an 'rm' implementation 2863that behaves properly: <http://www.gnu.org/software/coreutils/>. 2864 2865If you want to complete the configuration process using your problematic 2866'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2867to "yes", and re-run configure. 2868 2869END 2870 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2871 fi 2872fi 2873 2874case `pwd` in 2875 *\ * | *\ *) 2876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 2877$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 2878esac 2879 2880 2881 2882macro_version='2.4.2.418' 2883macro_revision='2.4.2.418' 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897ltmain=$ac_aux_dir/ltmain.sh 2898 2899# Make sure we can run config.sub. 2900$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2901 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2902 2903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2904$as_echo_n "checking build system type... " >&6; } 2905if ${ac_cv_build+:} false; then : 2906 $as_echo_n "(cached) " >&6 2907else 2908 ac_build_alias=$build_alias 2909test "x$ac_build_alias" = x && 2910 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2911test "x$ac_build_alias" = x && 2912 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2913ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2914 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2915 2916fi 2917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2918$as_echo "$ac_cv_build" >&6; } 2919case $ac_cv_build in 2920*-*-*) ;; 2921*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2922esac 2923build=$ac_cv_build 2924ac_save_IFS=$IFS; IFS='-' 2925set x $ac_cv_build 2926shift 2927build_cpu=$1 2928build_vendor=$2 2929shift; shift 2930# Remember, the first character of IFS is used to create $*, 2931# except with old shells: 2932build_os=$* 2933IFS=$ac_save_IFS 2934case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2935 2936 2937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2938$as_echo_n "checking host system type... " >&6; } 2939if ${ac_cv_host+:} false; then : 2940 $as_echo_n "(cached) " >&6 2941else 2942 if test "x$host_alias" = x; then 2943 ac_cv_host=$ac_cv_build 2944else 2945 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2946 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2947fi 2948 2949fi 2950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2951$as_echo "$ac_cv_host" >&6; } 2952case $ac_cv_host in 2953*-*-*) ;; 2954*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2955esac 2956host=$ac_cv_host 2957ac_save_IFS=$IFS; IFS='-' 2958set x $ac_cv_host 2959shift 2960host_cpu=$1 2961host_vendor=$2 2962shift; shift 2963# Remember, the first character of IFS is used to create $*, 2964# except with old shells: 2965host_os=$* 2966IFS=$ac_save_IFS 2967case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2968 2969 2970# Backslashify metacharacters that are still active within 2971# double-quoted strings. 2972sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 2973 2974# Same as above, but do not quote variable references. 2975double_quote_subst='s/\(["`\\]\)/\\\1/g' 2976 2977# Sed substitution to delay expansion of an escaped shell variable in a 2978# double_quote_subst'ed string. 2979delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 2980 2981# Sed substitution to delay expansion of an escaped single quote. 2982delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 2983 2984# Sed substitution to avoid accidental globbing in evaled expressions 2985no_glob_subst='s/\*/\\\*/g' 2986 2987ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 2988ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 2989ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 2990 2991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 2992$as_echo_n "checking how to print strings... " >&6; } 2993# Test print first, because it will be a builtin if present. 2994if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 2995 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 2996 ECHO='print -r --' 2997elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 2998 ECHO='printf %s\n' 2999else 3000 # Use this function as a fallback that always works. 3001 func_fallback_echo () 3002 { 3003 eval 'cat <<_LTECHO_EOF 3004$1 3005_LTECHO_EOF' 3006 } 3007 ECHO='func_fallback_echo' 3008fi 3009 3010# func_echo_all arg... 3011# Invoke $ECHO with all args, space-separated. 3012func_echo_all () 3013{ 3014 $ECHO "" 3015} 3016 3017case $ECHO in 3018 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3019$as_echo "printf" >&6; } ;; 3020 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3021$as_echo "print -r" >&6; } ;; 3022 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3023$as_echo "cat" >&6; } ;; 3024esac 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039DEPDIR="${am__leading_dot}deps" 3040 3041ac_config_commands="$ac_config_commands depfiles" 3042 3043 3044am_make=${MAKE-make} 3045cat > confinc << 'END' 3046am__doit: 3047 @echo this is the am__doit target 3048.PHONY: am__doit 3049END 3050# If we don't find an include directive, just comment out the code. 3051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3052$as_echo_n "checking for style of include used by $am_make... " >&6; } 3053am__include="#" 3054am__quote= 3055_am_result=none 3056# First try GNU make style include. 3057echo "include confinc" > confmf 3058# Ignore all kinds of additional output from 'make'. 3059case `$am_make -s -f confmf 2> /dev/null` in #( 3060*the\ am__doit\ target*) 3061 am__include=include 3062 am__quote= 3063 _am_result=GNU 3064 ;; 3065esac 3066# Now try BSD make style include. 3067if test "$am__include" = "#"; then 3068 echo '.include "confinc"' > confmf 3069 case `$am_make -s -f confmf 2> /dev/null` in #( 3070 *the\ am__doit\ target*) 3071 am__include=.include 3072 am__quote="\"" 3073 _am_result=BSD 3074 ;; 3075 esac 3076fi 3077 3078 3079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3080$as_echo "$_am_result" >&6; } 3081rm -f confinc confmf 3082 3083# Check whether --enable-dependency-tracking was given. 3084if test "${enable_dependency_tracking+set}" = set; then : 3085 enableval=$enable_dependency_tracking; 3086fi 3087 3088if test "x$enable_dependency_tracking" != xno; then 3089 am_depcomp="$ac_aux_dir/depcomp" 3090 AMDEPBACKSLASH='\' 3091 am__nodep='_no' 3092fi 3093 if test "x$enable_dependency_tracking" != xno; then 3094 AMDEP_TRUE= 3095 AMDEP_FALSE='#' 3096else 3097 AMDEP_TRUE='#' 3098 AMDEP_FALSE= 3099fi 3100 3101 3102ac_ext=c 3103ac_cpp='$CPP $CPPFLAGS' 3104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3106ac_compiler_gnu=$ac_cv_c_compiler_gnu 3107if test -n "$ac_tool_prefix"; then 3108 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3109set dummy ${ac_tool_prefix}gcc; ac_word=$2 3110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3111$as_echo_n "checking for $ac_word... " >&6; } 3112if ${ac_cv_prog_CC+:} false; then : 3113 $as_echo_n "(cached) " >&6 3114else 3115 if test -n "$CC"; then 3116 ac_cv_prog_CC="$CC" # Let the user override the test. 3117else 3118as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3119for as_dir in $PATH 3120do 3121 IFS=$as_save_IFS 3122 test -z "$as_dir" && as_dir=. 3123 for ac_exec_ext in '' $ac_executable_extensions; do 3124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3125 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3127 break 2 3128 fi 3129done 3130 done 3131IFS=$as_save_IFS 3132 3133fi 3134fi 3135CC=$ac_cv_prog_CC 3136if test -n "$CC"; then 3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3138$as_echo "$CC" >&6; } 3139else 3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3141$as_echo "no" >&6; } 3142fi 3143 3144 3145fi 3146if test -z "$ac_cv_prog_CC"; then 3147 ac_ct_CC=$CC 3148 # Extract the first word of "gcc", so it can be a program name with args. 3149set dummy gcc; ac_word=$2 3150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3151$as_echo_n "checking for $ac_word... " >&6; } 3152if ${ac_cv_prog_ac_ct_CC+:} false; then : 3153 $as_echo_n "(cached) " >&6 3154else 3155 if test -n "$ac_ct_CC"; then 3156 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3157else 3158as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3159for as_dir in $PATH 3160do 3161 IFS=$as_save_IFS 3162 test -z "$as_dir" && as_dir=. 3163 for ac_exec_ext in '' $ac_executable_extensions; do 3164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3165 ac_cv_prog_ac_ct_CC="gcc" 3166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3167 break 2 3168 fi 3169done 3170 done 3171IFS=$as_save_IFS 3172 3173fi 3174fi 3175ac_ct_CC=$ac_cv_prog_ac_ct_CC 3176if test -n "$ac_ct_CC"; then 3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3178$as_echo "$ac_ct_CC" >&6; } 3179else 3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3181$as_echo "no" >&6; } 3182fi 3183 3184 if test "x$ac_ct_CC" = x; then 3185 CC="" 3186 else 3187 case $cross_compiling:$ac_tool_warned in 3188yes:) 3189{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3190$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3191ac_tool_warned=yes ;; 3192esac 3193 CC=$ac_ct_CC 3194 fi 3195else 3196 CC="$ac_cv_prog_CC" 3197fi 3198 3199if test -z "$CC"; then 3200 if test -n "$ac_tool_prefix"; then 3201 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3202set dummy ${ac_tool_prefix}cc; ac_word=$2 3203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3204$as_echo_n "checking for $ac_word... " >&6; } 3205if ${ac_cv_prog_CC+:} false; then : 3206 $as_echo_n "(cached) " >&6 3207else 3208 if test -n "$CC"; then 3209 ac_cv_prog_CC="$CC" # Let the user override the test. 3210else 3211as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3212for as_dir in $PATH 3213do 3214 IFS=$as_save_IFS 3215 test -z "$as_dir" && as_dir=. 3216 for ac_exec_ext in '' $ac_executable_extensions; do 3217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3218 ac_cv_prog_CC="${ac_tool_prefix}cc" 3219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3220 break 2 3221 fi 3222done 3223 done 3224IFS=$as_save_IFS 3225 3226fi 3227fi 3228CC=$ac_cv_prog_CC 3229if test -n "$CC"; then 3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3231$as_echo "$CC" >&6; } 3232else 3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3234$as_echo "no" >&6; } 3235fi 3236 3237 3238 fi 3239fi 3240if test -z "$CC"; then 3241 # Extract the first word of "cc", so it can be a program name with args. 3242set dummy cc; ac_word=$2 3243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3244$as_echo_n "checking for $ac_word... " >&6; } 3245if ${ac_cv_prog_CC+:} false; then : 3246 $as_echo_n "(cached) " >&6 3247else 3248 if test -n "$CC"; then 3249 ac_cv_prog_CC="$CC" # Let the user override the test. 3250else 3251 ac_prog_rejected=no 3252as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3253for as_dir in $PATH 3254do 3255 IFS=$as_save_IFS 3256 test -z "$as_dir" && as_dir=. 3257 for ac_exec_ext in '' $ac_executable_extensions; do 3258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3259 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3260 ac_prog_rejected=yes 3261 continue 3262 fi 3263 ac_cv_prog_CC="cc" 3264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3265 break 2 3266 fi 3267done 3268 done 3269IFS=$as_save_IFS 3270 3271if test $ac_prog_rejected = yes; then 3272 # We found a bogon in the path, so make sure we never use it. 3273 set dummy $ac_cv_prog_CC 3274 shift 3275 if test $# != 0; then 3276 # We chose a different compiler from the bogus one. 3277 # However, it has the same basename, so the bogon will be chosen 3278 # first if we set CC to just the basename; use the full file name. 3279 shift 3280 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3281 fi 3282fi 3283fi 3284fi 3285CC=$ac_cv_prog_CC 3286if test -n "$CC"; then 3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3288$as_echo "$CC" >&6; } 3289else 3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3291$as_echo "no" >&6; } 3292fi 3293 3294 3295fi 3296if test -z "$CC"; then 3297 if test -n "$ac_tool_prefix"; then 3298 for ac_prog in cl.exe 3299 do 3300 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3301set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3303$as_echo_n "checking for $ac_word... " >&6; } 3304if ${ac_cv_prog_CC+:} false; then : 3305 $as_echo_n "(cached) " >&6 3306else 3307 if test -n "$CC"; then 3308 ac_cv_prog_CC="$CC" # Let the user override the test. 3309else 3310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3311for as_dir in $PATH 3312do 3313 IFS=$as_save_IFS 3314 test -z "$as_dir" && as_dir=. 3315 for ac_exec_ext in '' $ac_executable_extensions; do 3316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3317 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3319 break 2 3320 fi 3321done 3322 done 3323IFS=$as_save_IFS 3324 3325fi 3326fi 3327CC=$ac_cv_prog_CC 3328if test -n "$CC"; then 3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3330$as_echo "$CC" >&6; } 3331else 3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3333$as_echo "no" >&6; } 3334fi 3335 3336 3337 test -n "$CC" && break 3338 done 3339fi 3340if test -z "$CC"; then 3341 ac_ct_CC=$CC 3342 for ac_prog in cl.exe 3343do 3344 # Extract the first word of "$ac_prog", so it can be a program name with args. 3345set dummy $ac_prog; ac_word=$2 3346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3347$as_echo_n "checking for $ac_word... " >&6; } 3348if ${ac_cv_prog_ac_ct_CC+:} false; then : 3349 $as_echo_n "(cached) " >&6 3350else 3351 if test -n "$ac_ct_CC"; then 3352 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3353else 3354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3355for as_dir in $PATH 3356do 3357 IFS=$as_save_IFS 3358 test -z "$as_dir" && as_dir=. 3359 for ac_exec_ext in '' $ac_executable_extensions; do 3360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3361 ac_cv_prog_ac_ct_CC="$ac_prog" 3362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3363 break 2 3364 fi 3365done 3366 done 3367IFS=$as_save_IFS 3368 3369fi 3370fi 3371ac_ct_CC=$ac_cv_prog_ac_ct_CC 3372if test -n "$ac_ct_CC"; then 3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3374$as_echo "$ac_ct_CC" >&6; } 3375else 3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3377$as_echo "no" >&6; } 3378fi 3379 3380 3381 test -n "$ac_ct_CC" && break 3382done 3383 3384 if test "x$ac_ct_CC" = x; then 3385 CC="" 3386 else 3387 case $cross_compiling:$ac_tool_warned in 3388yes:) 3389{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3390$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3391ac_tool_warned=yes ;; 3392esac 3393 CC=$ac_ct_CC 3394 fi 3395fi 3396 3397fi 3398 3399 3400test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3401$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3402as_fn_error $? "no acceptable C compiler found in \$PATH 3403See \`config.log' for more details" "$LINENO" 5; } 3404 3405# Provide some information about the compiler. 3406$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3407set X $ac_compile 3408ac_compiler=$2 3409for ac_option in --version -v -V -qversion; do 3410 { { ac_try="$ac_compiler $ac_option >&5" 3411case "(($ac_try" in 3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3413 *) ac_try_echo=$ac_try;; 3414esac 3415eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3416$as_echo "$ac_try_echo"; } >&5 3417 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3418 ac_status=$? 3419 if test -s conftest.err; then 3420 sed '10a\ 3421... rest of stderr output deleted ... 3422 10q' conftest.err >conftest.er1 3423 cat conftest.er1 >&5 3424 fi 3425 rm -f conftest.er1 conftest.err 3426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3427 test $ac_status = 0; } 3428done 3429 3430cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3431/* end confdefs.h. */ 3432 3433int 3434main () 3435{ 3436 3437 ; 3438 return 0; 3439} 3440_ACEOF 3441ac_clean_files_save=$ac_clean_files 3442ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3443# Try to create an executable without -o first, disregard a.out. 3444# It will help us diagnose broken compilers, and finding out an intuition 3445# of exeext. 3446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3447$as_echo_n "checking whether the C compiler works... " >&6; } 3448ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3449 3450# The possible output files: 3451ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3452 3453ac_rmfiles= 3454for ac_file in $ac_files 3455do 3456 case $ac_file in 3457 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3458 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3459 esac 3460done 3461rm -f $ac_rmfiles 3462 3463if { { ac_try="$ac_link_default" 3464case "(($ac_try" in 3465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3466 *) ac_try_echo=$ac_try;; 3467esac 3468eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3469$as_echo "$ac_try_echo"; } >&5 3470 (eval "$ac_link_default") 2>&5 3471 ac_status=$? 3472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3473 test $ac_status = 0; }; then : 3474 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3475# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3476# in a Makefile. We should not override ac_cv_exeext if it was cached, 3477# so that the user can short-circuit this test for compilers unknown to 3478# Autoconf. 3479for ac_file in $ac_files '' 3480do 3481 test -f "$ac_file" || continue 3482 case $ac_file in 3483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3484 ;; 3485 [ab].out ) 3486 # We found the default executable, but exeext='' is most 3487 # certainly right. 3488 break;; 3489 *.* ) 3490 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3491 then :; else 3492 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3493 fi 3494 # We set ac_cv_exeext here because the later test for it is not 3495 # safe: cross compilers may not add the suffix if given an `-o' 3496 # argument, so we may need to know it at that point already. 3497 # Even if this section looks crufty: it has the advantage of 3498 # actually working. 3499 break;; 3500 * ) 3501 break;; 3502 esac 3503done 3504test "$ac_cv_exeext" = no && ac_cv_exeext= 3505 3506else 3507 ac_file='' 3508fi 3509if test -z "$ac_file"; then : 3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3511$as_echo "no" >&6; } 3512$as_echo "$as_me: failed program was:" >&5 3513sed 's/^/| /' conftest.$ac_ext >&5 3514 3515{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3516$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3517as_fn_error 77 "C compiler cannot create executables 3518See \`config.log' for more details" "$LINENO" 5; } 3519else 3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3521$as_echo "yes" >&6; } 3522fi 3523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3524$as_echo_n "checking for C compiler default output file name... " >&6; } 3525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3526$as_echo "$ac_file" >&6; } 3527ac_exeext=$ac_cv_exeext 3528 3529rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3530ac_clean_files=$ac_clean_files_save 3531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3532$as_echo_n "checking for suffix of executables... " >&6; } 3533if { { ac_try="$ac_link" 3534case "(($ac_try" in 3535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3536 *) ac_try_echo=$ac_try;; 3537esac 3538eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3539$as_echo "$ac_try_echo"; } >&5 3540 (eval "$ac_link") 2>&5 3541 ac_status=$? 3542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3543 test $ac_status = 0; }; then : 3544 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3545# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3546# work properly (i.e., refer to `conftest.exe'), while it won't with 3547# `rm'. 3548for ac_file in conftest.exe conftest conftest.*; do 3549 test -f "$ac_file" || continue 3550 case $ac_file in 3551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3552 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3553 break;; 3554 * ) break;; 3555 esac 3556done 3557else 3558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3559$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3560as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3561See \`config.log' for more details" "$LINENO" 5; } 3562fi 3563rm -f conftest conftest$ac_cv_exeext 3564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3565$as_echo "$ac_cv_exeext" >&6; } 3566 3567rm -f conftest.$ac_ext 3568EXEEXT=$ac_cv_exeext 3569ac_exeext=$EXEEXT 3570cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3571/* end confdefs.h. */ 3572#include <stdio.h> 3573int 3574main () 3575{ 3576FILE *f = fopen ("conftest.out", "w"); 3577 return ferror (f) || fclose (f) != 0; 3578 3579 ; 3580 return 0; 3581} 3582_ACEOF 3583ac_clean_files="$ac_clean_files conftest.out" 3584# Check that the compiler produces executables we can run. If not, either 3585# the compiler is broken, or we cross compile. 3586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3587$as_echo_n "checking whether we are cross compiling... " >&6; } 3588if test "$cross_compiling" != yes; then 3589 { { ac_try="$ac_link" 3590case "(($ac_try" in 3591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3592 *) ac_try_echo=$ac_try;; 3593esac 3594eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3595$as_echo "$ac_try_echo"; } >&5 3596 (eval "$ac_link") 2>&5 3597 ac_status=$? 3598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3599 test $ac_status = 0; } 3600 if { ac_try='./conftest$ac_cv_exeext' 3601 { { case "(($ac_try" in 3602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3603 *) ac_try_echo=$ac_try;; 3604esac 3605eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3606$as_echo "$ac_try_echo"; } >&5 3607 (eval "$ac_try") 2>&5 3608 ac_status=$? 3609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3610 test $ac_status = 0; }; }; then 3611 cross_compiling=no 3612 else 3613 if test "$cross_compiling" = maybe; then 3614 cross_compiling=yes 3615 else 3616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3617$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3618as_fn_error $? "cannot run C compiled programs. 3619If you meant to cross compile, use \`--host'. 3620See \`config.log' for more details" "$LINENO" 5; } 3621 fi 3622 fi 3623fi 3624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3625$as_echo "$cross_compiling" >&6; } 3626 3627rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3628ac_clean_files=$ac_clean_files_save 3629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3630$as_echo_n "checking for suffix of object files... " >&6; } 3631if ${ac_cv_objext+:} false; then : 3632 $as_echo_n "(cached) " >&6 3633else 3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3635/* end confdefs.h. */ 3636 3637int 3638main () 3639{ 3640 3641 ; 3642 return 0; 3643} 3644_ACEOF 3645rm -f conftest.o conftest.obj 3646if { { ac_try="$ac_compile" 3647case "(($ac_try" in 3648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3649 *) ac_try_echo=$ac_try;; 3650esac 3651eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3652$as_echo "$ac_try_echo"; } >&5 3653 (eval "$ac_compile") 2>&5 3654 ac_status=$? 3655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3656 test $ac_status = 0; }; then : 3657 for ac_file in conftest.o conftest.obj conftest.*; do 3658 test -f "$ac_file" || continue; 3659 case $ac_file in 3660 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3661 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3662 break;; 3663 esac 3664done 3665else 3666 $as_echo "$as_me: failed program was:" >&5 3667sed 's/^/| /' conftest.$ac_ext >&5 3668 3669{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3670$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3671as_fn_error $? "cannot compute suffix of object files: cannot compile 3672See \`config.log' for more details" "$LINENO" 5; } 3673fi 3674rm -f conftest.$ac_cv_objext conftest.$ac_ext 3675fi 3676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3677$as_echo "$ac_cv_objext" >&6; } 3678OBJEXT=$ac_cv_objext 3679ac_objext=$OBJEXT 3680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3681$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3682if ${ac_cv_c_compiler_gnu+:} false; then : 3683 $as_echo_n "(cached) " >&6 3684else 3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3686/* end confdefs.h. */ 3687 3688int 3689main () 3690{ 3691#ifndef __GNUC__ 3692 choke me 3693#endif 3694 3695 ; 3696 return 0; 3697} 3698_ACEOF 3699if ac_fn_c_try_compile "$LINENO"; then : 3700 ac_compiler_gnu=yes 3701else 3702 ac_compiler_gnu=no 3703fi 3704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3705ac_cv_c_compiler_gnu=$ac_compiler_gnu 3706 3707fi 3708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3709$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3710if test $ac_compiler_gnu = yes; then 3711 GCC=yes 3712else 3713 GCC= 3714fi 3715ac_test_CFLAGS=${CFLAGS+set} 3716ac_save_CFLAGS=$CFLAGS 3717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3718$as_echo_n "checking whether $CC accepts -g... " >&6; } 3719if ${ac_cv_prog_cc_g+:} false; then : 3720 $as_echo_n "(cached) " >&6 3721else 3722 ac_save_c_werror_flag=$ac_c_werror_flag 3723 ac_c_werror_flag=yes 3724 ac_cv_prog_cc_g=no 3725 CFLAGS="-g" 3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3727/* end confdefs.h. */ 3728 3729int 3730main () 3731{ 3732 3733 ; 3734 return 0; 3735} 3736_ACEOF 3737if ac_fn_c_try_compile "$LINENO"; then : 3738 ac_cv_prog_cc_g=yes 3739else 3740 CFLAGS="" 3741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3742/* end confdefs.h. */ 3743 3744int 3745main () 3746{ 3747 3748 ; 3749 return 0; 3750} 3751_ACEOF 3752if ac_fn_c_try_compile "$LINENO"; then : 3753 3754else 3755 ac_c_werror_flag=$ac_save_c_werror_flag 3756 CFLAGS="-g" 3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3758/* end confdefs.h. */ 3759 3760int 3761main () 3762{ 3763 3764 ; 3765 return 0; 3766} 3767_ACEOF 3768if ac_fn_c_try_compile "$LINENO"; then : 3769 ac_cv_prog_cc_g=yes 3770fi 3771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3772fi 3773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3774fi 3775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3776 ac_c_werror_flag=$ac_save_c_werror_flag 3777fi 3778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3779$as_echo "$ac_cv_prog_cc_g" >&6; } 3780if test "$ac_test_CFLAGS" = set; then 3781 CFLAGS=$ac_save_CFLAGS 3782elif test $ac_cv_prog_cc_g = yes; then 3783 if test "$GCC" = yes; then 3784 CFLAGS="-g -O2" 3785 else 3786 CFLAGS="-g" 3787 fi 3788else 3789 if test "$GCC" = yes; then 3790 CFLAGS="-O2" 3791 else 3792 CFLAGS= 3793 fi 3794fi 3795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3796$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3797if ${ac_cv_prog_cc_c89+:} false; then : 3798 $as_echo_n "(cached) " >&6 3799else 3800 ac_cv_prog_cc_c89=no 3801ac_save_CC=$CC 3802cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3803/* end confdefs.h. */ 3804#include <stdarg.h> 3805#include <stdio.h> 3806struct stat; 3807/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3808struct buf { int x; }; 3809FILE * (*rcsopen) (struct buf *, struct stat *, int); 3810static char *e (p, i) 3811 char **p; 3812 int i; 3813{ 3814 return p[i]; 3815} 3816static char *f (char * (*g) (char **, int), char **p, ...) 3817{ 3818 char *s; 3819 va_list v; 3820 va_start (v,p); 3821 s = g (p, va_arg (v,int)); 3822 va_end (v); 3823 return s; 3824} 3825 3826/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3827 function prototypes and stuff, but not '\xHH' hex character constants. 3828 These don't provoke an error unfortunately, instead are silently treated 3829 as 'x'. The following induces an error, until -std is added to get 3830 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3831 array size at least. It's necessary to write '\x00'==0 to get something 3832 that's true only with -std. */ 3833int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3834 3835/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3836 inside strings and character constants. */ 3837#define FOO(x) 'x' 3838int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3839 3840int test (int i, double x); 3841struct s1 {int (*f) (int a);}; 3842struct s2 {int (*f) (double a);}; 3843int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3844int argc; 3845char **argv; 3846int 3847main () 3848{ 3849return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3850 ; 3851 return 0; 3852} 3853_ACEOF 3854for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3855 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3856do 3857 CC="$ac_save_CC $ac_arg" 3858 if ac_fn_c_try_compile "$LINENO"; then : 3859 ac_cv_prog_cc_c89=$ac_arg 3860fi 3861rm -f core conftest.err conftest.$ac_objext 3862 test "x$ac_cv_prog_cc_c89" != "xno" && break 3863done 3864rm -f conftest.$ac_ext 3865CC=$ac_save_CC 3866 3867fi 3868# AC_CACHE_VAL 3869case "x$ac_cv_prog_cc_c89" in 3870 x) 3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3872$as_echo "none needed" >&6; } ;; 3873 xno) 3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3875$as_echo "unsupported" >&6; } ;; 3876 *) 3877 CC="$CC $ac_cv_prog_cc_c89" 3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3879$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3880esac 3881if test "x$ac_cv_prog_cc_c89" != xno; then : 3882 3883fi 3884 3885ac_ext=c 3886ac_cpp='$CPP $CPPFLAGS' 3887ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3888ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3889ac_compiler_gnu=$ac_cv_c_compiler_gnu 3890 3891ac_ext=c 3892ac_cpp='$CPP $CPPFLAGS' 3893ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3894ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3895ac_compiler_gnu=$ac_cv_c_compiler_gnu 3896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3897$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3898if ${am_cv_prog_cc_c_o+:} false; then : 3899 $as_echo_n "(cached) " >&6 3900else 3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3902/* end confdefs.h. */ 3903 3904int 3905main () 3906{ 3907 3908 ; 3909 return 0; 3910} 3911_ACEOF 3912 # Make sure it works both with $CC and with simple cc. 3913 # Following AC_PROG_CC_C_O, we do the test twice because some 3914 # compilers refuse to overwrite an existing .o file with -o, 3915 # though they will create one. 3916 am_cv_prog_cc_c_o=yes 3917 for am_i in 1 2; do 3918 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3919 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3920 ac_status=$? 3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3922 (exit $ac_status); } \ 3923 && test -f conftest2.$ac_objext; then 3924 : OK 3925 else 3926 am_cv_prog_cc_c_o=no 3927 break 3928 fi 3929 done 3930 rm -f core conftest* 3931 unset am_i 3932fi 3933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3934$as_echo "$am_cv_prog_cc_c_o" >&6; } 3935if test "$am_cv_prog_cc_c_o" != yes; then 3936 # Losing compiler, so override with the script. 3937 # FIXME: It is wrong to rewrite CC. 3938 # But if we don't then we get into trouble of one sort or another. 3939 # A longer-term fix would be to have automake use am__CC in this case, 3940 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3941 CC="$am_aux_dir/compile $CC" 3942fi 3943ac_ext=c 3944ac_cpp='$CPP $CPPFLAGS' 3945ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3946ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3947ac_compiler_gnu=$ac_cv_c_compiler_gnu 3948 3949 3950depcc="$CC" am_compiler_list= 3951 3952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3953$as_echo_n "checking dependency style of $depcc... " >&6; } 3954if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3955 $as_echo_n "(cached) " >&6 3956else 3957 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3958 # We make a subdir and do the tests there. Otherwise we can end up 3959 # making bogus files that we don't know about and never remove. For 3960 # instance it was reported that on HP-UX the gcc test will end up 3961 # making a dummy file named 'D' -- because '-MD' means "put the output 3962 # in D". 3963 rm -rf conftest.dir 3964 mkdir conftest.dir 3965 # Copy depcomp to subdir because otherwise we won't find it if we're 3966 # using a relative directory. 3967 cp "$am_depcomp" conftest.dir 3968 cd conftest.dir 3969 # We will build objects and dependencies in a subdirectory because 3970 # it helps to detect inapplicable dependency modes. For instance 3971 # both Tru64's cc and ICC support -MD to output dependencies as a 3972 # side effect of compilation, but ICC will put the dependencies in 3973 # the current directory while Tru64 will put them in the object 3974 # directory. 3975 mkdir sub 3976 3977 am_cv_CC_dependencies_compiler_type=none 3978 if test "$am_compiler_list" = ""; then 3979 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3980 fi 3981 am__universal=false 3982 case " $depcc " in #( 3983 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3984 esac 3985 3986 for depmode in $am_compiler_list; do 3987 # Setup a source with many dependencies, because some compilers 3988 # like to wrap large dependency lists on column 80 (with \), and 3989 # we should not choose a depcomp mode which is confused by this. 3990 # 3991 # We need to recreate these files for each test, as the compiler may 3992 # overwrite some of them when testing with obscure command lines. 3993 # This happens at least with the AIX C compiler. 3994 : > sub/conftest.c 3995 for i in 1 2 3 4 5 6; do 3996 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3997 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3998 # Solaris 10 /bin/sh. 3999 echo '/* dummy */' > sub/conftst$i.h 4000 done 4001 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4002 4003 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4004 # mode. It turns out that the SunPro C++ compiler does not properly 4005 # handle '-M -o', and we need to detect this. Also, some Intel 4006 # versions had trouble with output in subdirs. 4007 am__obj=sub/conftest.${OBJEXT-o} 4008 am__minus_obj="-o $am__obj" 4009 case $depmode in 4010 gcc) 4011 # This depmode causes a compiler race in universal mode. 4012 test "$am__universal" = false || continue 4013 ;; 4014 nosideeffect) 4015 # After this tag, mechanisms are not by side-effect, so they'll 4016 # only be used when explicitly requested. 4017 if test "x$enable_dependency_tracking" = xyes; then 4018 continue 4019 else 4020 break 4021 fi 4022 ;; 4023 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4024 # This compiler won't grok '-c -o', but also, the minuso test has 4025 # not run yet. These depmodes are late enough in the game, and 4026 # so weak that their functioning should not be impacted. 4027 am__obj=conftest.${OBJEXT-o} 4028 am__minus_obj= 4029 ;; 4030 none) break ;; 4031 esac 4032 if depmode=$depmode \ 4033 source=sub/conftest.c object=$am__obj \ 4034 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4035 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4036 >/dev/null 2>conftest.err && 4037 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4038 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4039 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4040 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4041 # icc doesn't choke on unknown options, it will just issue warnings 4042 # or remarks (even with -Werror). So we grep stderr for any message 4043 # that says an option was ignored or not supported. 4044 # When given -MP, icc 7.0 and 7.1 complain thusly: 4045 # icc: Command line warning: ignoring option '-M'; no argument required 4046 # The diagnosis changed in icc 8.0: 4047 # icc: Command line remark: option '-MP' not supported 4048 if (grep 'ignoring option' conftest.err || 4049 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4050 am_cv_CC_dependencies_compiler_type=$depmode 4051 break 4052 fi 4053 fi 4054 done 4055 4056 cd .. 4057 rm -rf conftest.dir 4058else 4059 am_cv_CC_dependencies_compiler_type=none 4060fi 4061 4062fi 4063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4064$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4065CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4066 4067 if 4068 test "x$enable_dependency_tracking" != xno \ 4069 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4070 am__fastdepCC_TRUE= 4071 am__fastdepCC_FALSE='#' 4072else 4073 am__fastdepCC_TRUE='#' 4074 am__fastdepCC_FALSE= 4075fi 4076 4077 4078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4079$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4080if ${ac_cv_path_SED+:} false; then : 4081 $as_echo_n "(cached) " >&6 4082else 4083 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4084 for ac_i in 1 2 3 4 5 6 7; do 4085 ac_script="$ac_script$as_nl$ac_script" 4086 done 4087 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4088 { ac_script=; unset ac_script;} 4089 if test -z "$SED"; then 4090 ac_path_SED_found=false 4091 # Loop through the user's path and test for each of PROGNAME-LIST 4092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4093for as_dir in $PATH 4094do 4095 IFS=$as_save_IFS 4096 test -z "$as_dir" && as_dir=. 4097 for ac_prog in sed gsed; do 4098 for ac_exec_ext in '' $ac_executable_extensions; do 4099 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4100 as_fn_executable_p "$ac_path_SED" || continue 4101# Check for GNU ac_path_SED and select it if it is found. 4102 # Check for GNU $ac_path_SED 4103case `"$ac_path_SED" --version 2>&1` in 4104*GNU*) 4105 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4106*) 4107 ac_count=0 4108 $as_echo_n 0123456789 >"conftest.in" 4109 while : 4110 do 4111 cat "conftest.in" "conftest.in" >"conftest.tmp" 4112 mv "conftest.tmp" "conftest.in" 4113 cp "conftest.in" "conftest.nl" 4114 $as_echo '' >> "conftest.nl" 4115 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4116 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4117 as_fn_arith $ac_count + 1 && ac_count=$as_val 4118 if test $ac_count -gt ${ac_path_SED_max-0}; then 4119 # Best one so far, save it but keep looking for a better one 4120 ac_cv_path_SED="$ac_path_SED" 4121 ac_path_SED_max=$ac_count 4122 fi 4123 # 10*(2^10) chars as input seems more than enough 4124 test $ac_count -gt 10 && break 4125 done 4126 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4127esac 4128 4129 $ac_path_SED_found && break 3 4130 done 4131 done 4132 done 4133IFS=$as_save_IFS 4134 if test -z "$ac_cv_path_SED"; then 4135 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4136 fi 4137else 4138 ac_cv_path_SED=$SED 4139fi 4140 4141fi 4142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4143$as_echo "$ac_cv_path_SED" >&6; } 4144 SED="$ac_cv_path_SED" 4145 rm -f conftest.sed 4146 4147test -z "$SED" && SED=sed 4148Xsed="$SED -e 1s/^X//" 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4161$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4162if ${ac_cv_path_GREP+:} false; then : 4163 $as_echo_n "(cached) " >&6 4164else 4165 if test -z "$GREP"; then 4166 ac_path_GREP_found=false 4167 # Loop through the user's path and test for each of PROGNAME-LIST 4168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4169for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4170do 4171 IFS=$as_save_IFS 4172 test -z "$as_dir" && as_dir=. 4173 for ac_prog in grep ggrep; do 4174 for ac_exec_ext in '' $ac_executable_extensions; do 4175 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4176 as_fn_executable_p "$ac_path_GREP" || continue 4177# Check for GNU ac_path_GREP and select it if it is found. 4178 # Check for GNU $ac_path_GREP 4179case `"$ac_path_GREP" --version 2>&1` in 4180*GNU*) 4181 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4182*) 4183 ac_count=0 4184 $as_echo_n 0123456789 >"conftest.in" 4185 while : 4186 do 4187 cat "conftest.in" "conftest.in" >"conftest.tmp" 4188 mv "conftest.tmp" "conftest.in" 4189 cp "conftest.in" "conftest.nl" 4190 $as_echo 'GREP' >> "conftest.nl" 4191 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4192 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4193 as_fn_arith $ac_count + 1 && ac_count=$as_val 4194 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4195 # Best one so far, save it but keep looking for a better one 4196 ac_cv_path_GREP="$ac_path_GREP" 4197 ac_path_GREP_max=$ac_count 4198 fi 4199 # 10*(2^10) chars as input seems more than enough 4200 test $ac_count -gt 10 && break 4201 done 4202 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4203esac 4204 4205 $ac_path_GREP_found && break 3 4206 done 4207 done 4208 done 4209IFS=$as_save_IFS 4210 if test -z "$ac_cv_path_GREP"; then 4211 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4212 fi 4213else 4214 ac_cv_path_GREP=$GREP 4215fi 4216 4217fi 4218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4219$as_echo "$ac_cv_path_GREP" >&6; } 4220 GREP="$ac_cv_path_GREP" 4221 4222 4223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4224$as_echo_n "checking for egrep... " >&6; } 4225if ${ac_cv_path_EGREP+:} false; then : 4226 $as_echo_n "(cached) " >&6 4227else 4228 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4229 then ac_cv_path_EGREP="$GREP -E" 4230 else 4231 if test -z "$EGREP"; then 4232 ac_path_EGREP_found=false 4233 # Loop through the user's path and test for each of PROGNAME-LIST 4234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4235for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4236do 4237 IFS=$as_save_IFS 4238 test -z "$as_dir" && as_dir=. 4239 for ac_prog in egrep; do 4240 for ac_exec_ext in '' $ac_executable_extensions; do 4241 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4242 as_fn_executable_p "$ac_path_EGREP" || continue 4243# Check for GNU ac_path_EGREP and select it if it is found. 4244 # Check for GNU $ac_path_EGREP 4245case `"$ac_path_EGREP" --version 2>&1` in 4246*GNU*) 4247 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4248*) 4249 ac_count=0 4250 $as_echo_n 0123456789 >"conftest.in" 4251 while : 4252 do 4253 cat "conftest.in" "conftest.in" >"conftest.tmp" 4254 mv "conftest.tmp" "conftest.in" 4255 cp "conftest.in" "conftest.nl" 4256 $as_echo 'EGREP' >> "conftest.nl" 4257 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4258 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4259 as_fn_arith $ac_count + 1 && ac_count=$as_val 4260 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4261 # Best one so far, save it but keep looking for a better one 4262 ac_cv_path_EGREP="$ac_path_EGREP" 4263 ac_path_EGREP_max=$ac_count 4264 fi 4265 # 10*(2^10) chars as input seems more than enough 4266 test $ac_count -gt 10 && break 4267 done 4268 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4269esac 4270 4271 $ac_path_EGREP_found && break 3 4272 done 4273 done 4274 done 4275IFS=$as_save_IFS 4276 if test -z "$ac_cv_path_EGREP"; then 4277 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4278 fi 4279else 4280 ac_cv_path_EGREP=$EGREP 4281fi 4282 4283 fi 4284fi 4285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4286$as_echo "$ac_cv_path_EGREP" >&6; } 4287 EGREP="$ac_cv_path_EGREP" 4288 4289 4290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4291$as_echo_n "checking for fgrep... " >&6; } 4292if ${ac_cv_path_FGREP+:} false; then : 4293 $as_echo_n "(cached) " >&6 4294else 4295 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4296 then ac_cv_path_FGREP="$GREP -F" 4297 else 4298 if test -z "$FGREP"; then 4299 ac_path_FGREP_found=false 4300 # Loop through the user's path and test for each of PROGNAME-LIST 4301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4302for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4303do 4304 IFS=$as_save_IFS 4305 test -z "$as_dir" && as_dir=. 4306 for ac_prog in fgrep; do 4307 for ac_exec_ext in '' $ac_executable_extensions; do 4308 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4309 as_fn_executable_p "$ac_path_FGREP" || continue 4310# Check for GNU ac_path_FGREP and select it if it is found. 4311 # Check for GNU $ac_path_FGREP 4312case `"$ac_path_FGREP" --version 2>&1` in 4313*GNU*) 4314 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4315*) 4316 ac_count=0 4317 $as_echo_n 0123456789 >"conftest.in" 4318 while : 4319 do 4320 cat "conftest.in" "conftest.in" >"conftest.tmp" 4321 mv "conftest.tmp" "conftest.in" 4322 cp "conftest.in" "conftest.nl" 4323 $as_echo 'FGREP' >> "conftest.nl" 4324 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4325 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4326 as_fn_arith $ac_count + 1 && ac_count=$as_val 4327 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4328 # Best one so far, save it but keep looking for a better one 4329 ac_cv_path_FGREP="$ac_path_FGREP" 4330 ac_path_FGREP_max=$ac_count 4331 fi 4332 # 10*(2^10) chars as input seems more than enough 4333 test $ac_count -gt 10 && break 4334 done 4335 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4336esac 4337 4338 $ac_path_FGREP_found && break 3 4339 done 4340 done 4341 done 4342IFS=$as_save_IFS 4343 if test -z "$ac_cv_path_FGREP"; then 4344 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4345 fi 4346else 4347 ac_cv_path_FGREP=$FGREP 4348fi 4349 4350 fi 4351fi 4352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4353$as_echo "$ac_cv_path_FGREP" >&6; } 4354 FGREP="$ac_cv_path_FGREP" 4355 4356 4357test -z "$GREP" && GREP=grep 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377# Check whether --with-gnu-ld was given. 4378if test "${with_gnu_ld+set}" = set; then : 4379 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4380else 4381 with_gnu_ld=no 4382fi 4383 4384ac_prog=ld 4385if test yes = "$GCC"; then 4386 # Check if gcc -print-prog-name=ld gives a path. 4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4388$as_echo_n "checking for ld used by $CC... " >&6; } 4389 case $host in 4390 *-*-mingw*) 4391 # gcc leaves a trailing carriage return, which upsets mingw 4392 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4393 *) 4394 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4395 esac 4396 case $ac_prog in 4397 # Accept absolute paths. 4398 [\\/]* | ?:[\\/]*) 4399 re_direlt='/[^/][^/]*/\.\./' 4400 # Canonicalize the pathname of ld 4401 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4402 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4403 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4404 done 4405 test -z "$LD" && LD=$ac_prog 4406 ;; 4407 "") 4408 # If it fails, then pretend we aren't using GCC. 4409 ac_prog=ld 4410 ;; 4411 *) 4412 # If it is relative, then search for the first ld in PATH. 4413 with_gnu_ld=unknown 4414 ;; 4415 esac 4416elif test yes = "$with_gnu_ld"; then 4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4418$as_echo_n "checking for GNU ld... " >&6; } 4419else 4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4421$as_echo_n "checking for non-GNU ld... " >&6; } 4422fi 4423if ${lt_cv_path_LD+:} false; then : 4424 $as_echo_n "(cached) " >&6 4425else 4426 if test -z "$LD"; then 4427 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4428 for ac_dir in $PATH; do 4429 IFS=$lt_save_ifs 4430 test -z "$ac_dir" && ac_dir=. 4431 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4432 lt_cv_path_LD=$ac_dir/$ac_prog 4433 # Check to see if the program is GNU ld. I'd rather use --version, 4434 # but apparently some variants of GNU ld only accept -v. 4435 # Break only if it was the GNU/non-GNU ld that we prefer. 4436 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4437 *GNU* | *'with BFD'*) 4438 test no != "$with_gnu_ld" && break 4439 ;; 4440 *) 4441 test yes != "$with_gnu_ld" && break 4442 ;; 4443 esac 4444 fi 4445 done 4446 IFS=$lt_save_ifs 4447else 4448 lt_cv_path_LD=$LD # Let the user override the test with a path. 4449fi 4450fi 4451 4452LD=$lt_cv_path_LD 4453if test -n "$LD"; then 4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4455$as_echo "$LD" >&6; } 4456else 4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4458$as_echo "no" >&6; } 4459fi 4460test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4462$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4463if ${lt_cv_prog_gnu_ld+:} false; then : 4464 $as_echo_n "(cached) " >&6 4465else 4466 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4467case `$LD -v 2>&1 </dev/null` in 4468*GNU* | *'with BFD'*) 4469 lt_cv_prog_gnu_ld=yes 4470 ;; 4471*) 4472 lt_cv_prog_gnu_ld=no 4473 ;; 4474esac 4475fi 4476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4477$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4478with_gnu_ld=$lt_cv_prog_gnu_ld 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4489$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4490if ${lt_cv_path_NM+:} false; then : 4491 $as_echo_n "(cached) " >&6 4492else 4493 if test -n "$NM"; then 4494 # Let the user override the test. 4495 lt_cv_path_NM=$NM 4496else 4497 lt_nm_to_check=${ac_tool_prefix}nm 4498 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4499 lt_nm_to_check="$lt_nm_to_check nm" 4500 fi 4501 for lt_tmp_nm in $lt_nm_to_check; do 4502 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4503 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4504 IFS=$lt_save_ifs 4505 test -z "$ac_dir" && ac_dir=. 4506 tmp_nm=$ac_dir/$lt_tmp_nm 4507 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4508 # Check to see if the nm accepts a BSD-compat flag. 4509 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4510 # nm: unknown option "B" ignored 4511 # Tru64's nm complains that /dev/null is an invalid object file 4512 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4513 */dev/null* | *'Invalid file or object type'*) 4514 lt_cv_path_NM="$tmp_nm -B" 4515 break 2 4516 ;; 4517 *) 4518 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4519 */dev/null*) 4520 lt_cv_path_NM="$tmp_nm -p" 4521 break 2 4522 ;; 4523 *) 4524 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4525 continue # so that we can try to find one that supports BSD flags 4526 ;; 4527 esac 4528 ;; 4529 esac 4530 fi 4531 done 4532 IFS=$lt_save_ifs 4533 done 4534 : ${lt_cv_path_NM=no} 4535fi 4536fi 4537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4538$as_echo "$lt_cv_path_NM" >&6; } 4539if test no != "$lt_cv_path_NM"; then 4540 NM=$lt_cv_path_NM 4541else 4542 # Didn't find any BSD compatible name lister, look for dumpbin. 4543 if test -n "$DUMPBIN"; then : 4544 # Let the user override the test. 4545 else 4546 if test -n "$ac_tool_prefix"; then 4547 for ac_prog in dumpbin "link -dump" 4548 do 4549 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4550set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4552$as_echo_n "checking for $ac_word... " >&6; } 4553if ${ac_cv_prog_DUMPBIN+:} false; then : 4554 $as_echo_n "(cached) " >&6 4555else 4556 if test -n "$DUMPBIN"; then 4557 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4558else 4559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4560for as_dir in $PATH 4561do 4562 IFS=$as_save_IFS 4563 test -z "$as_dir" && as_dir=. 4564 for ac_exec_ext in '' $ac_executable_extensions; do 4565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4566 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4568 break 2 4569 fi 4570done 4571 done 4572IFS=$as_save_IFS 4573 4574fi 4575fi 4576DUMPBIN=$ac_cv_prog_DUMPBIN 4577if test -n "$DUMPBIN"; then 4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4579$as_echo "$DUMPBIN" >&6; } 4580else 4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4582$as_echo "no" >&6; } 4583fi 4584 4585 4586 test -n "$DUMPBIN" && break 4587 done 4588fi 4589if test -z "$DUMPBIN"; then 4590 ac_ct_DUMPBIN=$DUMPBIN 4591 for ac_prog in dumpbin "link -dump" 4592do 4593 # Extract the first word of "$ac_prog", so it can be a program name with args. 4594set dummy $ac_prog; ac_word=$2 4595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4596$as_echo_n "checking for $ac_word... " >&6; } 4597if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4598 $as_echo_n "(cached) " >&6 4599else 4600 if test -n "$ac_ct_DUMPBIN"; then 4601 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4602else 4603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4604for as_dir in $PATH 4605do 4606 IFS=$as_save_IFS 4607 test -z "$as_dir" && as_dir=. 4608 for ac_exec_ext in '' $ac_executable_extensions; do 4609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4610 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4612 break 2 4613 fi 4614done 4615 done 4616IFS=$as_save_IFS 4617 4618fi 4619fi 4620ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4621if test -n "$ac_ct_DUMPBIN"; then 4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4623$as_echo "$ac_ct_DUMPBIN" >&6; } 4624else 4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4626$as_echo "no" >&6; } 4627fi 4628 4629 4630 test -n "$ac_ct_DUMPBIN" && break 4631done 4632 4633 if test "x$ac_ct_DUMPBIN" = x; then 4634 DUMPBIN=":" 4635 else 4636 case $cross_compiling:$ac_tool_warned in 4637yes:) 4638{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4639$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4640ac_tool_warned=yes ;; 4641esac 4642 DUMPBIN=$ac_ct_DUMPBIN 4643 fi 4644fi 4645 4646 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4647 *COFF*) 4648 DUMPBIN="$DUMPBIN -symbols -headers" 4649 ;; 4650 *) 4651 DUMPBIN=: 4652 ;; 4653 esac 4654 fi 4655 4656 if test : != "$DUMPBIN"; then 4657 NM=$DUMPBIN 4658 fi 4659fi 4660test -z "$NM" && NM=nm 4661 4662 4663 4664 4665 4666 4667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4668$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4669if ${lt_cv_nm_interface+:} false; then : 4670 $as_echo_n "(cached) " >&6 4671else 4672 lt_cv_nm_interface="BSD nm" 4673 echo "int some_variable = 0;" > conftest.$ac_ext 4674 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4675 (eval "$ac_compile" 2>conftest.err) 4676 cat conftest.err >&5 4677 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4678 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4679 cat conftest.err >&5 4680 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4681 cat conftest.out >&5 4682 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4683 lt_cv_nm_interface="MS dumpbin" 4684 fi 4685 rm -f conftest* 4686fi 4687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4688$as_echo "$lt_cv_nm_interface" >&6; } 4689 4690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4691$as_echo_n "checking whether ln -s works... " >&6; } 4692LN_S=$as_ln_s 4693if test "$LN_S" = "ln -s"; then 4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4695$as_echo "yes" >&6; } 4696else 4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4698$as_echo "no, using $LN_S" >&6; } 4699fi 4700 4701# find the maximum length of command line arguments 4702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4703$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4704if ${lt_cv_sys_max_cmd_len+:} false; then : 4705 $as_echo_n "(cached) " >&6 4706else 4707 i=0 4708 teststring=ABCD 4709 4710 case $build_os in 4711 msdosdjgpp*) 4712 # On DJGPP, this test can blow up pretty badly due to problems in libc 4713 # (any single argument exceeding 2000 bytes causes a buffer overrun 4714 # during glob expansion). Even if it were fixed, the result of this 4715 # check would be larger than it should be. 4716 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4717 ;; 4718 4719 gnu*) 4720 # Under GNU Hurd, this test is not required because there is 4721 # no limit to the length of command line arguments. 4722 # Libtool will interpret -1 as no limit whatsoever 4723 lt_cv_sys_max_cmd_len=-1; 4724 ;; 4725 4726 cygwin* | mingw* | cegcc*) 4727 # On Win9x/ME, this test blows up -- it succeeds, but takes 4728 # about 5 minutes as the teststring grows exponentially. 4729 # Worse, since 9x/ME are not pre-emptively multitasking, 4730 # you end up with a "frozen" computer, even though with patience 4731 # the test eventually succeeds (with a max line length of 256k). 4732 # Instead, let's just punt: use the minimum linelength reported by 4733 # all of the supported platforms: 8192 (on NT/2K/XP). 4734 lt_cv_sys_max_cmd_len=8192; 4735 ;; 4736 4737 mint*) 4738 # On MiNT this can take a long time and run out of memory. 4739 lt_cv_sys_max_cmd_len=8192; 4740 ;; 4741 4742 amigaos*) 4743 # On AmigaOS with pdksh, this test takes hours, literally. 4744 # So we just punt and use a minimum line length of 8192. 4745 lt_cv_sys_max_cmd_len=8192; 4746 ;; 4747 4748 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4749 # This has been around since 386BSD, at least. Likely further. 4750 if test -x /sbin/sysctl; then 4751 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4752 elif test -x /usr/sbin/sysctl; then 4753 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4754 else 4755 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4756 fi 4757 # And add a safety zone 4758 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4759 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4760 ;; 4761 4762 interix*) 4763 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4764 lt_cv_sys_max_cmd_len=196608 4765 ;; 4766 4767 os2*) 4768 # The test takes a long time on OS/2. 4769 lt_cv_sys_max_cmd_len=8192 4770 ;; 4771 4772 osf*) 4773 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4774 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4775 # nice to cause kernel panics so lets avoid the loop below. 4776 # First set a reasonable default. 4777 lt_cv_sys_max_cmd_len=16384 4778 # 4779 if test -x /sbin/sysconfig; then 4780 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4781 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4782 esac 4783 fi 4784 ;; 4785 sco3.2v5*) 4786 lt_cv_sys_max_cmd_len=102400 4787 ;; 4788 sysv5* | sco5v6* | sysv4.2uw2*) 4789 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4790 if test -n "$kargmax"; then 4791 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4792 else 4793 lt_cv_sys_max_cmd_len=32768 4794 fi 4795 ;; 4796 *) 4797 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4798 if test -n "$lt_cv_sys_max_cmd_len" && \ 4799 test undefined != "$lt_cv_sys_max_cmd_len"; then 4800 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4801 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4802 else 4803 # Make teststring a little bigger before we do anything with it. 4804 # a 1K string should be a reasonable start. 4805 for i in 1 2 3 4 5 6 7 8; do 4806 teststring=$teststring$teststring 4807 done 4808 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4809 # If test is not a shell built-in, we'll probably end up computing a 4810 # maximum length that is only half of the actual maximum length, but 4811 # we can't tell. 4812 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 4813 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4814 test 17 != "$i" # 1/2 MB should be enough 4815 do 4816 i=`expr $i + 1` 4817 teststring=$teststring$teststring 4818 done 4819 # Only check the string length outside the loop. 4820 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4821 teststring= 4822 # Add a significant safety factor because C++ compilers can tack on 4823 # massive amounts of additional arguments before passing them to the 4824 # linker. It appears as though 1/2 is a usable value. 4825 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4826 fi 4827 ;; 4828 esac 4829 4830fi 4831 4832if test -n "$lt_cv_sys_max_cmd_len"; then 4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4834$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4835else 4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4837$as_echo "none" >&6; } 4838fi 4839max_cmd_len=$lt_cv_sys_max_cmd_len 4840 4841 4842 4843 4844 4845 4846: ${CP="cp -f"} 4847: ${MV="mv -f"} 4848: ${RM="rm -f"} 4849 4850if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4851 lt_unset=unset 4852else 4853 lt_unset=false 4854fi 4855 4856 4857 4858 4859 4860# test EBCDIC or ASCII 4861case `echo X|tr X '\101'` in 4862 A) # ASCII based system 4863 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4864 lt_SP2NL='tr \040 \012' 4865 lt_NL2SP='tr \015\012 \040\040' 4866 ;; 4867 *) # EBCDIC based system 4868 lt_SP2NL='tr \100 \n' 4869 lt_NL2SP='tr \r\n \100\100' 4870 ;; 4871esac 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4882$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4883if ${lt_cv_to_host_file_cmd+:} false; then : 4884 $as_echo_n "(cached) " >&6 4885else 4886 case $host in 4887 *-*-mingw* ) 4888 case $build in 4889 *-*-mingw* ) # actually msys 4890 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4891 ;; 4892 *-*-cygwin* ) 4893 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4894 ;; 4895 * ) # otherwise, assume *nix 4896 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4897 ;; 4898 esac 4899 ;; 4900 *-*-cygwin* ) 4901 case $build in 4902 *-*-mingw* ) # actually msys 4903 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4904 ;; 4905 *-*-cygwin* ) 4906 lt_cv_to_host_file_cmd=func_convert_file_noop 4907 ;; 4908 * ) # otherwise, assume *nix 4909 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 4910 ;; 4911 esac 4912 ;; 4913 * ) # unhandled hosts (and "normal" native builds) 4914 lt_cv_to_host_file_cmd=func_convert_file_noop 4915 ;; 4916esac 4917 4918fi 4919 4920to_host_file_cmd=$lt_cv_to_host_file_cmd 4921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4922$as_echo "$lt_cv_to_host_file_cmd" >&6; } 4923 4924 4925 4926 4927 4928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4929$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4930if ${lt_cv_to_tool_file_cmd+:} false; then : 4931 $as_echo_n "(cached) " >&6 4932else 4933 #assume ordinary cross tools, or native build. 4934lt_cv_to_tool_file_cmd=func_convert_file_noop 4935case $host in 4936 *-*-mingw* ) 4937 case $build in 4938 *-*-mingw* ) # actually msys 4939 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 4940 ;; 4941 esac 4942 ;; 4943esac 4944 4945fi 4946 4947to_tool_file_cmd=$lt_cv_to_tool_file_cmd 4948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 4949$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 4950 4951 4952 4953 4954 4955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4956$as_echo_n "checking for $LD option to reload object files... " >&6; } 4957if ${lt_cv_ld_reload_flag+:} false; then : 4958 $as_echo_n "(cached) " >&6 4959else 4960 lt_cv_ld_reload_flag='-r' 4961fi 4962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4963$as_echo "$lt_cv_ld_reload_flag" >&6; } 4964reload_flag=$lt_cv_ld_reload_flag 4965case $reload_flag in 4966"" | " "*) ;; 4967*) reload_flag=" $reload_flag" ;; 4968esac 4969reload_cmds='$LD$reload_flag -o $output$reload_objs' 4970case $host_os in 4971 cygwin* | mingw* | pw32* | cegcc*) 4972 if test yes != "$GCC"; then 4973 reload_cmds=false 4974 fi 4975 ;; 4976 darwin*) 4977 if test yes = "$GCC"; then 4978 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 4979 else 4980 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4981 fi 4982 ;; 4983esac 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993if test -n "$ac_tool_prefix"; then 4994 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4995set dummy ${ac_tool_prefix}objdump; ac_word=$2 4996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4997$as_echo_n "checking for $ac_word... " >&6; } 4998if ${ac_cv_prog_OBJDUMP+:} false; then : 4999 $as_echo_n "(cached) " >&6 5000else 5001 if test -n "$OBJDUMP"; then 5002 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5003else 5004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5005for as_dir in $PATH 5006do 5007 IFS=$as_save_IFS 5008 test -z "$as_dir" && as_dir=. 5009 for ac_exec_ext in '' $ac_executable_extensions; do 5010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5011 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5013 break 2 5014 fi 5015done 5016 done 5017IFS=$as_save_IFS 5018 5019fi 5020fi 5021OBJDUMP=$ac_cv_prog_OBJDUMP 5022if test -n "$OBJDUMP"; then 5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5024$as_echo "$OBJDUMP" >&6; } 5025else 5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5027$as_echo "no" >&6; } 5028fi 5029 5030 5031fi 5032if test -z "$ac_cv_prog_OBJDUMP"; then 5033 ac_ct_OBJDUMP=$OBJDUMP 5034 # Extract the first word of "objdump", so it can be a program name with args. 5035set dummy objdump; ac_word=$2 5036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5037$as_echo_n "checking for $ac_word... " >&6; } 5038if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5039 $as_echo_n "(cached) " >&6 5040else 5041 if test -n "$ac_ct_OBJDUMP"; then 5042 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5043else 5044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5045for as_dir in $PATH 5046do 5047 IFS=$as_save_IFS 5048 test -z "$as_dir" && as_dir=. 5049 for ac_exec_ext in '' $ac_executable_extensions; do 5050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5051 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5053 break 2 5054 fi 5055done 5056 done 5057IFS=$as_save_IFS 5058 5059fi 5060fi 5061ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5062if test -n "$ac_ct_OBJDUMP"; then 5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5064$as_echo "$ac_ct_OBJDUMP" >&6; } 5065else 5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5067$as_echo "no" >&6; } 5068fi 5069 5070 if test "x$ac_ct_OBJDUMP" = x; then 5071 OBJDUMP="false" 5072 else 5073 case $cross_compiling:$ac_tool_warned in 5074yes:) 5075{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5076$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5077ac_tool_warned=yes ;; 5078esac 5079 OBJDUMP=$ac_ct_OBJDUMP 5080 fi 5081else 5082 OBJDUMP="$ac_cv_prog_OBJDUMP" 5083fi 5084 5085test -z "$OBJDUMP" && OBJDUMP=objdump 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5096$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5097if ${lt_cv_deplibs_check_method+:} false; then : 5098 $as_echo_n "(cached) " >&6 5099else 5100 lt_cv_file_magic_cmd='$MAGIC_CMD' 5101lt_cv_file_magic_test_file= 5102lt_cv_deplibs_check_method='unknown' 5103# Need to set the preceding variable on all platforms that support 5104# interlibrary dependencies. 5105# 'none' -- dependencies not supported. 5106# 'unknown' -- same as none, but documents that we really don't know. 5107# 'pass_all' -- all dependencies passed with no checks. 5108# 'test_compile' -- check by making test program. 5109# 'file_magic [[regex]]' -- check by looking for files in library path 5110# that responds to the $file_magic_cmd with a given extended regex. 5111# If you have 'file' or equivalent on your system and you're not sure 5112# whether 'pass_all' will *always* work, you probably want this one. 5113 5114case $host_os in 5115aix[4-9]*) 5116 lt_cv_deplibs_check_method=pass_all 5117 ;; 5118 5119beos*) 5120 lt_cv_deplibs_check_method=pass_all 5121 ;; 5122 5123bsdi[45]*) 5124 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5125 lt_cv_file_magic_cmd='/usr/bin/file -L' 5126 lt_cv_file_magic_test_file=/shlib/libc.so 5127 ;; 5128 5129cygwin*) 5130 # func_win32_libid is a shell function defined in ltmain.sh 5131 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5132 lt_cv_file_magic_cmd='func_win32_libid' 5133 ;; 5134 5135mingw* | pw32*) 5136 # Base MSYS/MinGW do not provide the 'file' command needed by 5137 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5138 # unless we find 'file', for example because we are cross-compiling. 5139 if ( file / ) >/dev/null 2>&1; then 5140 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5141 lt_cv_file_magic_cmd='func_win32_libid' 5142 else 5143 # Keep this pattern in sync with the one in func_win32_libid. 5144 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5145 lt_cv_file_magic_cmd='$OBJDUMP -f' 5146 fi 5147 ;; 5148 5149cegcc*) 5150 # use the weaker test based on 'objdump'. See mingw*. 5151 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5152 lt_cv_file_magic_cmd='$OBJDUMP -f' 5153 ;; 5154 5155darwin* | rhapsody*) 5156 lt_cv_deplibs_check_method=pass_all 5157 ;; 5158 5159freebsd* | dragonfly*) 5160 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5161 case $host_cpu in 5162 i*86 ) 5163 # Not sure whether the presence of OpenBSD here was a mistake. 5164 # Let's accept both of them until this is cleared up. 5165 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5166 lt_cv_file_magic_cmd=/usr/bin/file 5167 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5168 ;; 5169 esac 5170 else 5171 lt_cv_deplibs_check_method=pass_all 5172 fi 5173 ;; 5174 5175haiku*) 5176 lt_cv_deplibs_check_method=pass_all 5177 ;; 5178 5179hpux10.20* | hpux11*) 5180 lt_cv_file_magic_cmd=/usr/bin/file 5181 case $host_cpu in 5182 ia64*) 5183 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5184 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5185 ;; 5186 hppa*64*) 5187 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]' 5188 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5189 ;; 5190 *) 5191 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5192 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5193 ;; 5194 esac 5195 ;; 5196 5197interix[3-9]*) 5198 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5199 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5200 ;; 5201 5202irix5* | irix6* | nonstopux*) 5203 case $LD in 5204 *-32|*"-32 ") libmagic=32-bit;; 5205 *-n32|*"-n32 ") libmagic=N32;; 5206 *-64|*"-64 ") libmagic=64-bit;; 5207 *) libmagic=never-match;; 5208 esac 5209 lt_cv_deplibs_check_method=pass_all 5210 ;; 5211 5212# This must be glibc/ELF. 5213linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5214 lt_cv_deplibs_check_method=pass_all 5215 ;; 5216 5217netbsd*) 5218 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5219 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5220 else 5221 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5222 fi 5223 ;; 5224 5225newos6*) 5226 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5227 lt_cv_file_magic_cmd=/usr/bin/file 5228 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5229 ;; 5230 5231*nto* | *qnx*) 5232 lt_cv_deplibs_check_method=pass_all 5233 ;; 5234 5235openbsd* | bitrig*) 5236 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5237 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5238 else 5239 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5240 fi 5241 ;; 5242 5243osf3* | osf4* | osf5*) 5244 lt_cv_deplibs_check_method=pass_all 5245 ;; 5246 5247rdos*) 5248 lt_cv_deplibs_check_method=pass_all 5249 ;; 5250 5251solaris*) 5252 lt_cv_deplibs_check_method=pass_all 5253 ;; 5254 5255sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5256 lt_cv_deplibs_check_method=pass_all 5257 ;; 5258 5259sysv4 | sysv4.3*) 5260 case $host_vendor in 5261 motorola) 5262 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]' 5263 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5264 ;; 5265 ncr) 5266 lt_cv_deplibs_check_method=pass_all 5267 ;; 5268 sequent) 5269 lt_cv_file_magic_cmd='/bin/file' 5270 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5271 ;; 5272 sni) 5273 lt_cv_file_magic_cmd='/bin/file' 5274 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5275 lt_cv_file_magic_test_file=/lib/libc.so 5276 ;; 5277 siemens) 5278 lt_cv_deplibs_check_method=pass_all 5279 ;; 5280 pc) 5281 lt_cv_deplibs_check_method=pass_all 5282 ;; 5283 esac 5284 ;; 5285 5286tpf*) 5287 lt_cv_deplibs_check_method=pass_all 5288 ;; 5289esac 5290 5291fi 5292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5293$as_echo "$lt_cv_deplibs_check_method" >&6; } 5294 5295file_magic_glob= 5296want_nocaseglob=no 5297if test "$build" = "$host"; then 5298 case $host_os in 5299 mingw* | pw32*) 5300 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5301 want_nocaseglob=yes 5302 else 5303 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5304 fi 5305 ;; 5306 esac 5307fi 5308 5309file_magic_cmd=$lt_cv_file_magic_cmd 5310deplibs_check_method=$lt_cv_deplibs_check_method 5311test -z "$deplibs_check_method" && deplibs_check_method=unknown 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334if test -n "$ac_tool_prefix"; then 5335 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5336set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5338$as_echo_n "checking for $ac_word... " >&6; } 5339if ${ac_cv_prog_DLLTOOL+:} false; then : 5340 $as_echo_n "(cached) " >&6 5341else 5342 if test -n "$DLLTOOL"; then 5343 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5344else 5345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5346for as_dir in $PATH 5347do 5348 IFS=$as_save_IFS 5349 test -z "$as_dir" && as_dir=. 5350 for ac_exec_ext in '' $ac_executable_extensions; do 5351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5352 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5354 break 2 5355 fi 5356done 5357 done 5358IFS=$as_save_IFS 5359 5360fi 5361fi 5362DLLTOOL=$ac_cv_prog_DLLTOOL 5363if test -n "$DLLTOOL"; then 5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5365$as_echo "$DLLTOOL" >&6; } 5366else 5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5368$as_echo "no" >&6; } 5369fi 5370 5371 5372fi 5373if test -z "$ac_cv_prog_DLLTOOL"; then 5374 ac_ct_DLLTOOL=$DLLTOOL 5375 # Extract the first word of "dlltool", so it can be a program name with args. 5376set dummy dlltool; ac_word=$2 5377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5378$as_echo_n "checking for $ac_word... " >&6; } 5379if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5380 $as_echo_n "(cached) " >&6 5381else 5382 if test -n "$ac_ct_DLLTOOL"; then 5383 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5384else 5385as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5386for as_dir in $PATH 5387do 5388 IFS=$as_save_IFS 5389 test -z "$as_dir" && as_dir=. 5390 for ac_exec_ext in '' $ac_executable_extensions; do 5391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5392 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5394 break 2 5395 fi 5396done 5397 done 5398IFS=$as_save_IFS 5399 5400fi 5401fi 5402ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5403if test -n "$ac_ct_DLLTOOL"; then 5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5405$as_echo "$ac_ct_DLLTOOL" >&6; } 5406else 5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5408$as_echo "no" >&6; } 5409fi 5410 5411 if test "x$ac_ct_DLLTOOL" = x; then 5412 DLLTOOL="false" 5413 else 5414 case $cross_compiling:$ac_tool_warned in 5415yes:) 5416{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5417$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5418ac_tool_warned=yes ;; 5419esac 5420 DLLTOOL=$ac_ct_DLLTOOL 5421 fi 5422else 5423 DLLTOOL="$ac_cv_prog_DLLTOOL" 5424fi 5425 5426test -z "$DLLTOOL" && DLLTOOL=dlltool 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5438$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5439if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5440 $as_echo_n "(cached) " >&6 5441else 5442 lt_cv_sharedlib_from_linklib_cmd='unknown' 5443 5444case $host_os in 5445cygwin* | mingw* | pw32* | cegcc*) 5446 # two different shell functions defined in ltmain.sh; 5447 # decide which one to use based on capabilities of $DLLTOOL 5448 case `$DLLTOOL --help 2>&1` in 5449 *--identify-strict*) 5450 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5451 ;; 5452 *) 5453 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5454 ;; 5455 esac 5456 ;; 5457*) 5458 # fallback: assume linklib IS sharedlib 5459 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5460 ;; 5461esac 5462 5463fi 5464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5465$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5466sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5467test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5468 5469 5470 5471 5472 5473 5474 5475 5476if test -n "$ac_tool_prefix"; then 5477 for ac_prog in ar 5478 do 5479 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5480set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5482$as_echo_n "checking for $ac_word... " >&6; } 5483if ${ac_cv_prog_AR+:} false; then : 5484 $as_echo_n "(cached) " >&6 5485else 5486 if test -n "$AR"; then 5487 ac_cv_prog_AR="$AR" # Let the user override the test. 5488else 5489as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5490for as_dir in $PATH 5491do 5492 IFS=$as_save_IFS 5493 test -z "$as_dir" && as_dir=. 5494 for ac_exec_ext in '' $ac_executable_extensions; do 5495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5496 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5498 break 2 5499 fi 5500done 5501 done 5502IFS=$as_save_IFS 5503 5504fi 5505fi 5506AR=$ac_cv_prog_AR 5507if test -n "$AR"; then 5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5509$as_echo "$AR" >&6; } 5510else 5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5512$as_echo "no" >&6; } 5513fi 5514 5515 5516 test -n "$AR" && break 5517 done 5518fi 5519if test -z "$AR"; then 5520 ac_ct_AR=$AR 5521 for ac_prog in ar 5522do 5523 # Extract the first word of "$ac_prog", so it can be a program name with args. 5524set dummy $ac_prog; ac_word=$2 5525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5526$as_echo_n "checking for $ac_word... " >&6; } 5527if ${ac_cv_prog_ac_ct_AR+:} false; then : 5528 $as_echo_n "(cached) " >&6 5529else 5530 if test -n "$ac_ct_AR"; then 5531 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5532else 5533as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5534for as_dir in $PATH 5535do 5536 IFS=$as_save_IFS 5537 test -z "$as_dir" && as_dir=. 5538 for ac_exec_ext in '' $ac_executable_extensions; do 5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5540 ac_cv_prog_ac_ct_AR="$ac_prog" 5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5542 break 2 5543 fi 5544done 5545 done 5546IFS=$as_save_IFS 5547 5548fi 5549fi 5550ac_ct_AR=$ac_cv_prog_ac_ct_AR 5551if test -n "$ac_ct_AR"; then 5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5553$as_echo "$ac_ct_AR" >&6; } 5554else 5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5556$as_echo "no" >&6; } 5557fi 5558 5559 5560 test -n "$ac_ct_AR" && break 5561done 5562 5563 if test "x$ac_ct_AR" = x; then 5564 AR="false" 5565 else 5566 case $cross_compiling:$ac_tool_warned in 5567yes:) 5568{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5569$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5570ac_tool_warned=yes ;; 5571esac 5572 AR=$ac_ct_AR 5573 fi 5574fi 5575 5576: ${AR=ar} 5577: ${AR_FLAGS=cru} 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5590$as_echo_n "checking for archiver @FILE support... " >&6; } 5591if ${lt_cv_ar_at_file+:} false; then : 5592 $as_echo_n "(cached) " >&6 5593else 5594 lt_cv_ar_at_file=no 5595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5596/* end confdefs.h. */ 5597 5598int 5599main () 5600{ 5601 5602 ; 5603 return 0; 5604} 5605_ACEOF 5606if ac_fn_c_try_compile "$LINENO"; then : 5607 echo conftest.$ac_objext > conftest.lst 5608 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5609 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5610 (eval $lt_ar_try) 2>&5 5611 ac_status=$? 5612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5613 test $ac_status = 0; } 5614 if test 0 -eq "$ac_status"; then 5615 # Ensure the archiver fails upon bogus file names. 5616 rm -f conftest.$ac_objext libconftest.a 5617 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5618 (eval $lt_ar_try) 2>&5 5619 ac_status=$? 5620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5621 test $ac_status = 0; } 5622 if test 0 -ne "$ac_status"; then 5623 lt_cv_ar_at_file=@ 5624 fi 5625 fi 5626 rm -f conftest.* libconftest.a 5627 5628fi 5629rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5630 5631fi 5632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5633$as_echo "$lt_cv_ar_at_file" >&6; } 5634 5635if test no = "$lt_cv_ar_at_file"; then 5636 archiver_list_spec= 5637else 5638 archiver_list_spec=$lt_cv_ar_at_file 5639fi 5640 5641 5642 5643 5644 5645 5646 5647if test -n "$ac_tool_prefix"; then 5648 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5649set dummy ${ac_tool_prefix}strip; ac_word=$2 5650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5651$as_echo_n "checking for $ac_word... " >&6; } 5652if ${ac_cv_prog_STRIP+:} false; then : 5653 $as_echo_n "(cached) " >&6 5654else 5655 if test -n "$STRIP"; then 5656 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5657else 5658as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5659for as_dir in $PATH 5660do 5661 IFS=$as_save_IFS 5662 test -z "$as_dir" && as_dir=. 5663 for ac_exec_ext in '' $ac_executable_extensions; do 5664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5665 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5667 break 2 5668 fi 5669done 5670 done 5671IFS=$as_save_IFS 5672 5673fi 5674fi 5675STRIP=$ac_cv_prog_STRIP 5676if test -n "$STRIP"; then 5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5678$as_echo "$STRIP" >&6; } 5679else 5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5681$as_echo "no" >&6; } 5682fi 5683 5684 5685fi 5686if test -z "$ac_cv_prog_STRIP"; then 5687 ac_ct_STRIP=$STRIP 5688 # Extract the first word of "strip", so it can be a program name with args. 5689set dummy strip; ac_word=$2 5690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5691$as_echo_n "checking for $ac_word... " >&6; } 5692if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5693 $as_echo_n "(cached) " >&6 5694else 5695 if test -n "$ac_ct_STRIP"; then 5696 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5697else 5698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5699for as_dir in $PATH 5700do 5701 IFS=$as_save_IFS 5702 test -z "$as_dir" && as_dir=. 5703 for ac_exec_ext in '' $ac_executable_extensions; do 5704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5705 ac_cv_prog_ac_ct_STRIP="strip" 5706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5707 break 2 5708 fi 5709done 5710 done 5711IFS=$as_save_IFS 5712 5713fi 5714fi 5715ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5716if test -n "$ac_ct_STRIP"; then 5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5718$as_echo "$ac_ct_STRIP" >&6; } 5719else 5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5721$as_echo "no" >&6; } 5722fi 5723 5724 if test "x$ac_ct_STRIP" = x; then 5725 STRIP=":" 5726 else 5727 case $cross_compiling:$ac_tool_warned in 5728yes:) 5729{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5730$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5731ac_tool_warned=yes ;; 5732esac 5733 STRIP=$ac_ct_STRIP 5734 fi 5735else 5736 STRIP="$ac_cv_prog_STRIP" 5737fi 5738 5739test -z "$STRIP" && STRIP=: 5740 5741 5742 5743 5744 5745 5746if test -n "$ac_tool_prefix"; then 5747 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5748set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5750$as_echo_n "checking for $ac_word... " >&6; } 5751if ${ac_cv_prog_RANLIB+:} false; then : 5752 $as_echo_n "(cached) " >&6 5753else 5754 if test -n "$RANLIB"; then 5755 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5756else 5757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5758for as_dir in $PATH 5759do 5760 IFS=$as_save_IFS 5761 test -z "$as_dir" && as_dir=. 5762 for ac_exec_ext in '' $ac_executable_extensions; do 5763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5764 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5766 break 2 5767 fi 5768done 5769 done 5770IFS=$as_save_IFS 5771 5772fi 5773fi 5774RANLIB=$ac_cv_prog_RANLIB 5775if test -n "$RANLIB"; then 5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5777$as_echo "$RANLIB" >&6; } 5778else 5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5780$as_echo "no" >&6; } 5781fi 5782 5783 5784fi 5785if test -z "$ac_cv_prog_RANLIB"; then 5786 ac_ct_RANLIB=$RANLIB 5787 # Extract the first word of "ranlib", so it can be a program name with args. 5788set dummy ranlib; ac_word=$2 5789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5790$as_echo_n "checking for $ac_word... " >&6; } 5791if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5792 $as_echo_n "(cached) " >&6 5793else 5794 if test -n "$ac_ct_RANLIB"; then 5795 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5796else 5797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5798for as_dir in $PATH 5799do 5800 IFS=$as_save_IFS 5801 test -z "$as_dir" && as_dir=. 5802 for ac_exec_ext in '' $ac_executable_extensions; do 5803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5804 ac_cv_prog_ac_ct_RANLIB="ranlib" 5805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5806 break 2 5807 fi 5808done 5809 done 5810IFS=$as_save_IFS 5811 5812fi 5813fi 5814ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5815if test -n "$ac_ct_RANLIB"; then 5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5817$as_echo "$ac_ct_RANLIB" >&6; } 5818else 5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5820$as_echo "no" >&6; } 5821fi 5822 5823 if test "x$ac_ct_RANLIB" = x; then 5824 RANLIB=":" 5825 else 5826 case $cross_compiling:$ac_tool_warned in 5827yes:) 5828{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5829$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5830ac_tool_warned=yes ;; 5831esac 5832 RANLIB=$ac_ct_RANLIB 5833 fi 5834else 5835 RANLIB="$ac_cv_prog_RANLIB" 5836fi 5837 5838test -z "$RANLIB" && RANLIB=: 5839 5840 5841 5842 5843 5844 5845# Determine commands to create old-style static archives. 5846old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5847old_postinstall_cmds='chmod 644 $oldlib' 5848old_postuninstall_cmds= 5849 5850if test -n "$RANLIB"; then 5851 case $host_os in 5852 bitrig* | openbsd*) 5853 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5854 ;; 5855 *) 5856 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5857 ;; 5858 esac 5859 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5860fi 5861 5862case $host_os in 5863 darwin*) 5864 lock_old_archive_extraction=yes ;; 5865 *) 5866 lock_old_archive_extraction=no ;; 5867esac 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907# If no C compiler was specified, use CC. 5908LTCC=${LTCC-"$CC"} 5909 5910# If no C compiler flags were specified, use CFLAGS. 5911LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5912 5913# Allow CC to be a program name with arguments. 5914compiler=$CC 5915 5916 5917# Check for command to grab the raw symbol name followed by C symbol from nm. 5918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5919$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5920if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5921 $as_echo_n "(cached) " >&6 5922else 5923 5924# These are sane defaults that work on at least a few old systems. 5925# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5926 5927# Character class describing NM global symbol codes. 5928symcode='[BCDEGRST]' 5929 5930# Regexp to match symbols that can be accessed directly from C. 5931sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5932 5933# Define system-specific variables. 5934case $host_os in 5935aix*) 5936 symcode='[BCDT]' 5937 ;; 5938cygwin* | mingw* | pw32* | cegcc*) 5939 symcode='[ABCDGISTW]' 5940 ;; 5941hpux*) 5942 if test ia64 = "$host_cpu"; then 5943 symcode='[ABCDEGRST]' 5944 fi 5945 ;; 5946irix* | nonstopux*) 5947 symcode='[BCDEGRST]' 5948 ;; 5949osf*) 5950 symcode='[BCDEGQRST]' 5951 ;; 5952solaris*) 5953 symcode='[BDRT]' 5954 ;; 5955sco3.2v5*) 5956 symcode='[DT]' 5957 ;; 5958sysv4.2uw2*) 5959 symcode='[DT]' 5960 ;; 5961sysv5* | sco5v6* | unixware* | OpenUNIX*) 5962 symcode='[ABDT]' 5963 ;; 5964sysv4) 5965 symcode='[DFNSTU]' 5966 ;; 5967esac 5968 5969# If we're using GNU nm, then use its standard symbol codes. 5970case `$NM -V 2>&1` in 5971*GNU* | *'with BFD'*) 5972 symcode='[ABCDGIRSTW]' ;; 5973esac 5974 5975if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5976 # Gets list of data symbols to import. 5977 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 5978 # Adjust the below global symbol transforms to fixup imported variables. 5979 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 5980 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 5981 lt_c_name_lib_hook="\ 5982 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 5983 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 5984else 5985 # Disable hooks by default. 5986 lt_cv_sys_global_symbol_to_import= 5987 lt_cdecl_hook= 5988 lt_c_name_hook= 5989 lt_c_name_lib_hook= 5990fi 5991 5992# Transform an extracted symbol line into a proper C declaration. 5993# Some systems (esp. on ia64) link data and code symbols differently, 5994# so use this general approach. 5995lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 5996$lt_cdecl_hook\ 5997" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 5998" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 5999 6000# Transform an extracted symbol line into symbol name and symbol address 6001lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6002$lt_c_name_hook\ 6003" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6004" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6005 6006# Transform an extracted symbol line into symbol name with lib prefix and 6007# symbol address. 6008lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6009$lt_c_name_lib_hook\ 6010" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6011" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6012" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6013 6014# Handle CRLF in mingw tool chain 6015opt_cr= 6016case $build_os in 6017mingw*) 6018 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6019 ;; 6020esac 6021 6022# Try without a prefix underscore, then with it. 6023for ac_symprfx in "" "_"; do 6024 6025 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6026 symxfrm="\\1 $ac_symprfx\\2 \\2" 6027 6028 # Write the raw and C identifiers. 6029 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6030 # Fake it for dumpbin and say T for any non-static function, 6031 # D for any global variable and I for any imported variable. 6032 # Also find C++ and __fastcall symbols from MSVC++, 6033 # which start with @ or ?. 6034 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6035" {last_section=section; section=\$ 3};"\ 6036" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6037" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6038" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6039" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6040" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6041" \$ 0!~/External *\|/{next};"\ 6042" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6043" {if(hide[section]) next};"\ 6044" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6045" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6046" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6047" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6048" ' prfx=^$ac_symprfx" 6049 else 6050 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6051 fi 6052 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6053 6054 # Check to see that the pipe works correctly. 6055 pipe_works=no 6056 6057 rm -f conftest* 6058 cat > conftest.$ac_ext <<_LT_EOF 6059#ifdef __cplusplus 6060extern "C" { 6061#endif 6062char nm_test_var; 6063void nm_test_func(void); 6064void nm_test_func(void){} 6065#ifdef __cplusplus 6066} 6067#endif 6068int main(){nm_test_var='a';nm_test_func();return(0);} 6069_LT_EOF 6070 6071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6072 (eval $ac_compile) 2>&5 6073 ac_status=$? 6074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6075 test $ac_status = 0; }; then 6076 # Now try to grab the symbols. 6077 nlist=conftest.nm 6078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6079 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6080 ac_status=$? 6081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6082 test $ac_status = 0; } && test -s "$nlist"; then 6083 # Try sorting and uniquifying the output. 6084 if sort "$nlist" | uniq > "$nlist"T; then 6085 mv -f "$nlist"T "$nlist" 6086 else 6087 rm -f "$nlist"T 6088 fi 6089 6090 # Make sure that we snagged all the symbols we need. 6091 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6092 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6093 cat <<_LT_EOF > conftest.$ac_ext 6094/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6095#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6096/* DATA imports from DLLs on WIN32 can't be const, because runtime 6097 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6098# define LT_DLSYM_CONST 6099#elif defined __osf__ 6100/* This system does not cope well with relocations in const data. */ 6101# define LT_DLSYM_CONST 6102#else 6103# define LT_DLSYM_CONST const 6104#endif 6105 6106#ifdef __cplusplus 6107extern "C" { 6108#endif 6109 6110_LT_EOF 6111 # Now generate the symbol file. 6112 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6113 6114 cat <<_LT_EOF >> conftest.$ac_ext 6115 6116/* The mapping between symbol names and symbols. */ 6117LT_DLSYM_CONST struct { 6118 const char *name; 6119 void *address; 6120} 6121lt__PROGRAM__LTX_preloaded_symbols[] = 6122{ 6123 { "@PROGRAM@", (void *) 0 }, 6124_LT_EOF 6125 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6126 cat <<\_LT_EOF >> conftest.$ac_ext 6127 {0, (void *) 0} 6128}; 6129 6130/* This works around a problem in FreeBSD linker */ 6131#ifdef FREEBSD_WORKAROUND 6132static const void *lt_preloaded_setup() { 6133 return lt__PROGRAM__LTX_preloaded_symbols; 6134} 6135#endif 6136 6137#ifdef __cplusplus 6138} 6139#endif 6140_LT_EOF 6141 # Now try linking the two files. 6142 mv conftest.$ac_objext conftstm.$ac_objext 6143 lt_globsym_save_LIBS=$LIBS 6144 lt_globsym_save_CFLAGS=$CFLAGS 6145 LIBS=conftstm.$ac_objext 6146 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6147 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6148 (eval $ac_link) 2>&5 6149 ac_status=$? 6150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6151 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6152 pipe_works=yes 6153 fi 6154 LIBS=$lt_globsym_save_LIBS 6155 CFLAGS=$lt_globsym_save_CFLAGS 6156 else 6157 echo "cannot find nm_test_func in $nlist" >&5 6158 fi 6159 else 6160 echo "cannot find nm_test_var in $nlist" >&5 6161 fi 6162 else 6163 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6164 fi 6165 else 6166 echo "$progname: failed program was:" >&5 6167 cat conftest.$ac_ext >&5 6168 fi 6169 rm -rf conftest* conftst* 6170 6171 # Do not use the global_symbol_pipe unless it works. 6172 if test yes = "$pipe_works"; then 6173 break 6174 else 6175 lt_cv_sys_global_symbol_pipe= 6176 fi 6177done 6178 6179fi 6180 6181if test -z "$lt_cv_sys_global_symbol_pipe"; then 6182 lt_cv_sys_global_symbol_to_cdecl= 6183fi 6184if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6186$as_echo "failed" >&6; } 6187else 6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6189$as_echo "ok" >&6; } 6190fi 6191 6192# Response file support. 6193if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6194 nm_file_list_spec='@' 6195elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6196 nm_file_list_spec='@' 6197fi 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6236$as_echo_n "checking for sysroot... " >&6; } 6237 6238# Check whether --with-sysroot was given. 6239if test "${with_sysroot+set}" = set; then : 6240 withval=$with_sysroot; 6241else 6242 with_sysroot=no 6243fi 6244 6245 6246lt_sysroot= 6247case $with_sysroot in #( 6248 yes) 6249 if test yes = "$GCC"; then 6250 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6251 fi 6252 ;; #( 6253 /*) 6254 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6255 ;; #( 6256 no|'') 6257 ;; #( 6258 *) 6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6260$as_echo "$with_sysroot" >&6; } 6261 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6262 ;; 6263esac 6264 6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6266$as_echo "${lt_sysroot:-no}" >&6; } 6267 6268 6269 6270 6271 6272# Check whether --enable-libtool-lock was given. 6273if test "${enable_libtool_lock+set}" = set; then : 6274 enableval=$enable_libtool_lock; 6275fi 6276 6277test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6278 6279# Some flags need to be propagated to the compiler or linker for good 6280# libtool support. 6281case $host in 6282ia64-*-hpux*) 6283 # Find out what ABI is being produced by ac_compile, and set mode 6284 # options accordingly. 6285 echo 'int i;' > conftest.$ac_ext 6286 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6287 (eval $ac_compile) 2>&5 6288 ac_status=$? 6289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6290 test $ac_status = 0; }; then 6291 case `/usr/bin/file conftest.$ac_objext` in 6292 *ELF-32*) 6293 HPUX_IA64_MODE=32 6294 ;; 6295 *ELF-64*) 6296 HPUX_IA64_MODE=64 6297 ;; 6298 esac 6299 fi 6300 rm -rf conftest* 6301 ;; 6302*-*-irix6*) 6303 # Find out what ABI is being produced by ac_compile, and set linker 6304 # options accordingly. 6305 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6307 (eval $ac_compile) 2>&5 6308 ac_status=$? 6309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6310 test $ac_status = 0; }; then 6311 if test yes = "$lt_cv_prog_gnu_ld"; then 6312 case `/usr/bin/file conftest.$ac_objext` in 6313 *32-bit*) 6314 LD="${LD-ld} -melf32bsmip" 6315 ;; 6316 *N32*) 6317 LD="${LD-ld} -melf32bmipn32" 6318 ;; 6319 *64-bit*) 6320 LD="${LD-ld} -melf64bmip" 6321 ;; 6322 esac 6323 else 6324 case `/usr/bin/file conftest.$ac_objext` in 6325 *32-bit*) 6326 LD="${LD-ld} -32" 6327 ;; 6328 *N32*) 6329 LD="${LD-ld} -n32" 6330 ;; 6331 *64-bit*) 6332 LD="${LD-ld} -64" 6333 ;; 6334 esac 6335 fi 6336 fi 6337 rm -rf conftest* 6338 ;; 6339 6340mips64*-*linux*) 6341 # Find out what ABI is being produced by ac_compile, and set linker 6342 # options accordingly. 6343 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6344 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6345 (eval $ac_compile) 2>&5 6346 ac_status=$? 6347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6348 test $ac_status = 0; }; then 6349 emul=elf 6350 case `/usr/bin/file conftest.$ac_objext` in 6351 *32-bit*) 6352 emul="${emul}32" 6353 ;; 6354 *64-bit*) 6355 emul="${emul}64" 6356 ;; 6357 esac 6358 case `/usr/bin/file conftest.$ac_objext` in 6359 *MSB*) 6360 emul="${emul}btsmip" 6361 ;; 6362 *LSB*) 6363 emul="${emul}ltsmip" 6364 ;; 6365 esac 6366 case `/usr/bin/file conftest.$ac_objext` in 6367 *N32*) 6368 emul="${emul}n32" 6369 ;; 6370 esac 6371 LD="${LD-ld} -m $emul" 6372 fi 6373 rm -rf conftest* 6374 ;; 6375 6376x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6377s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6378 # Find out what ABI is being produced by ac_compile, and set linker 6379 # options accordingly. Note that the listed cases only cover the 6380 # situations where additional linker options are needed (such as when 6381 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6382 # vice versa); the common cases where no linker options are needed do 6383 # not appear in the list. 6384 echo 'int i;' > conftest.$ac_ext 6385 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6386 (eval $ac_compile) 2>&5 6387 ac_status=$? 6388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6389 test $ac_status = 0; }; then 6390 case `/usr/bin/file conftest.o` in 6391 *32-bit*) 6392 case $host in 6393 x86_64-*kfreebsd*-gnu) 6394 LD="${LD-ld} -m elf_i386_fbsd" 6395 ;; 6396 x86_64-*linux*) 6397 case `/usr/bin/file conftest.o` in 6398 *x86-64*) 6399 LD="${LD-ld} -m elf32_x86_64" 6400 ;; 6401 *) 6402 LD="${LD-ld} -m elf_i386" 6403 ;; 6404 esac 6405 ;; 6406 powerpc64le-*linux*) 6407 LD="${LD-ld} -m elf32lppclinux" 6408 ;; 6409 powerpc64-*linux*) 6410 LD="${LD-ld} -m elf32ppclinux" 6411 ;; 6412 s390x-*linux*) 6413 LD="${LD-ld} -m elf_s390" 6414 ;; 6415 sparc64-*linux*) 6416 LD="${LD-ld} -m elf32_sparc" 6417 ;; 6418 esac 6419 ;; 6420 *64-bit*) 6421 case $host in 6422 x86_64-*kfreebsd*-gnu) 6423 LD="${LD-ld} -m elf_x86_64_fbsd" 6424 ;; 6425 x86_64-*linux*) 6426 LD="${LD-ld} -m elf_x86_64" 6427 ;; 6428 powerpcle-*linux*) 6429 LD="${LD-ld} -m elf64lppc" 6430 ;; 6431 powerpc-*linux*) 6432 LD="${LD-ld} -m elf64ppc" 6433 ;; 6434 s390*-*linux*|s390*-*tpf*) 6435 LD="${LD-ld} -m elf64_s390" 6436 ;; 6437 sparc*-*linux*) 6438 LD="${LD-ld} -m elf64_sparc" 6439 ;; 6440 esac 6441 ;; 6442 esac 6443 fi 6444 rm -rf conftest* 6445 ;; 6446 6447*-*-sco3.2v5*) 6448 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6449 SAVE_CFLAGS=$CFLAGS 6450 CFLAGS="$CFLAGS -belf" 6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6452$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6453if ${lt_cv_cc_needs_belf+:} false; then : 6454 $as_echo_n "(cached) " >&6 6455else 6456 ac_ext=c 6457ac_cpp='$CPP $CPPFLAGS' 6458ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6459ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6460ac_compiler_gnu=$ac_cv_c_compiler_gnu 6461 6462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6463/* end confdefs.h. */ 6464 6465int 6466main () 6467{ 6468 6469 ; 6470 return 0; 6471} 6472_ACEOF 6473if ac_fn_c_try_link "$LINENO"; then : 6474 lt_cv_cc_needs_belf=yes 6475else 6476 lt_cv_cc_needs_belf=no 6477fi 6478rm -f core conftest.err conftest.$ac_objext \ 6479 conftest$ac_exeext conftest.$ac_ext 6480 ac_ext=c 6481ac_cpp='$CPP $CPPFLAGS' 6482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6484ac_compiler_gnu=$ac_cv_c_compiler_gnu 6485 6486fi 6487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6488$as_echo "$lt_cv_cc_needs_belf" >&6; } 6489 if test yes != "$lt_cv_cc_needs_belf"; then 6490 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6491 CFLAGS=$SAVE_CFLAGS 6492 fi 6493 ;; 6494*-*solaris*) 6495 # Find out what ABI is being produced by ac_compile, and set linker 6496 # options accordingly. 6497 echo 'int i;' > conftest.$ac_ext 6498 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6499 (eval $ac_compile) 2>&5 6500 ac_status=$? 6501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6502 test $ac_status = 0; }; then 6503 case `/usr/bin/file conftest.o` in 6504 *64-bit*) 6505 case $lt_cv_prog_gnu_ld in 6506 yes*) 6507 case $host in 6508 i?86-*-solaris*|x86_64-*-solaris*) 6509 LD="${LD-ld} -m elf_x86_64" 6510 ;; 6511 sparc*-*-solaris*) 6512 LD="${LD-ld} -m elf64_sparc" 6513 ;; 6514 esac 6515 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6516 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6517 LD=${LD-ld}_sol2 6518 fi 6519 ;; 6520 *) 6521 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6522 LD="${LD-ld} -64" 6523 fi 6524 ;; 6525 esac 6526 ;; 6527 esac 6528 fi 6529 rm -rf conftest* 6530 ;; 6531esac 6532 6533need_locks=$enable_libtool_lock 6534 6535if test -n "$ac_tool_prefix"; then 6536 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6537set dummy ${ac_tool_prefix}mt; ac_word=$2 6538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6539$as_echo_n "checking for $ac_word... " >&6; } 6540if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6541 $as_echo_n "(cached) " >&6 6542else 6543 if test -n "$MANIFEST_TOOL"; then 6544 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6545else 6546as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6547for as_dir in $PATH 6548do 6549 IFS=$as_save_IFS 6550 test -z "$as_dir" && as_dir=. 6551 for ac_exec_ext in '' $ac_executable_extensions; do 6552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6553 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6555 break 2 6556 fi 6557done 6558 done 6559IFS=$as_save_IFS 6560 6561fi 6562fi 6563MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6564if test -n "$MANIFEST_TOOL"; then 6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6566$as_echo "$MANIFEST_TOOL" >&6; } 6567else 6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6569$as_echo "no" >&6; } 6570fi 6571 6572 6573fi 6574if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6575 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6576 # Extract the first word of "mt", so it can be a program name with args. 6577set dummy mt; ac_word=$2 6578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6579$as_echo_n "checking for $ac_word... " >&6; } 6580if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6581 $as_echo_n "(cached) " >&6 6582else 6583 if test -n "$ac_ct_MANIFEST_TOOL"; then 6584 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6585else 6586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6587for as_dir in $PATH 6588do 6589 IFS=$as_save_IFS 6590 test -z "$as_dir" && as_dir=. 6591 for ac_exec_ext in '' $ac_executable_extensions; do 6592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6593 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6595 break 2 6596 fi 6597done 6598 done 6599IFS=$as_save_IFS 6600 6601fi 6602fi 6603ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6604if test -n "$ac_ct_MANIFEST_TOOL"; then 6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6606$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6607else 6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6609$as_echo "no" >&6; } 6610fi 6611 6612 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6613 MANIFEST_TOOL=":" 6614 else 6615 case $cross_compiling:$ac_tool_warned in 6616yes:) 6617{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6618$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6619ac_tool_warned=yes ;; 6620esac 6621 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6622 fi 6623else 6624 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6625fi 6626 6627test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6629$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6630if ${lt_cv_path_mainfest_tool+:} false; then : 6631 $as_echo_n "(cached) " >&6 6632else 6633 lt_cv_path_mainfest_tool=no 6634 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6635 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6636 cat conftest.err >&5 6637 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6638 lt_cv_path_mainfest_tool=yes 6639 fi 6640 rm -f conftest* 6641fi 6642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6643$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6644if test yes != "$lt_cv_path_mainfest_tool"; then 6645 MANIFEST_TOOL=: 6646fi 6647 6648 6649 6650 6651 6652 6653 case $host_os in 6654 rhapsody* | darwin*) 6655 if test -n "$ac_tool_prefix"; then 6656 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6657set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6659$as_echo_n "checking for $ac_word... " >&6; } 6660if ${ac_cv_prog_DSYMUTIL+:} false; then : 6661 $as_echo_n "(cached) " >&6 6662else 6663 if test -n "$DSYMUTIL"; then 6664 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6665else 6666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6667for as_dir in $PATH 6668do 6669 IFS=$as_save_IFS 6670 test -z "$as_dir" && as_dir=. 6671 for ac_exec_ext in '' $ac_executable_extensions; do 6672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6673 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6675 break 2 6676 fi 6677done 6678 done 6679IFS=$as_save_IFS 6680 6681fi 6682fi 6683DSYMUTIL=$ac_cv_prog_DSYMUTIL 6684if test -n "$DSYMUTIL"; then 6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6686$as_echo "$DSYMUTIL" >&6; } 6687else 6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6689$as_echo "no" >&6; } 6690fi 6691 6692 6693fi 6694if test -z "$ac_cv_prog_DSYMUTIL"; then 6695 ac_ct_DSYMUTIL=$DSYMUTIL 6696 # Extract the first word of "dsymutil", so it can be a program name with args. 6697set dummy dsymutil; ac_word=$2 6698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6699$as_echo_n "checking for $ac_word... " >&6; } 6700if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6701 $as_echo_n "(cached) " >&6 6702else 6703 if test -n "$ac_ct_DSYMUTIL"; then 6704 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6705else 6706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6707for as_dir in $PATH 6708do 6709 IFS=$as_save_IFS 6710 test -z "$as_dir" && as_dir=. 6711 for ac_exec_ext in '' $ac_executable_extensions; do 6712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6713 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6715 break 2 6716 fi 6717done 6718 done 6719IFS=$as_save_IFS 6720 6721fi 6722fi 6723ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6724if test -n "$ac_ct_DSYMUTIL"; then 6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6726$as_echo "$ac_ct_DSYMUTIL" >&6; } 6727else 6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6729$as_echo "no" >&6; } 6730fi 6731 6732 if test "x$ac_ct_DSYMUTIL" = x; then 6733 DSYMUTIL=":" 6734 else 6735 case $cross_compiling:$ac_tool_warned in 6736yes:) 6737{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6738$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6739ac_tool_warned=yes ;; 6740esac 6741 DSYMUTIL=$ac_ct_DSYMUTIL 6742 fi 6743else 6744 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6745fi 6746 6747 if test -n "$ac_tool_prefix"; then 6748 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6749set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6751$as_echo_n "checking for $ac_word... " >&6; } 6752if ${ac_cv_prog_NMEDIT+:} false; then : 6753 $as_echo_n "(cached) " >&6 6754else 6755 if test -n "$NMEDIT"; then 6756 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6757else 6758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6759for as_dir in $PATH 6760do 6761 IFS=$as_save_IFS 6762 test -z "$as_dir" && as_dir=. 6763 for ac_exec_ext in '' $ac_executable_extensions; do 6764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6765 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6767 break 2 6768 fi 6769done 6770 done 6771IFS=$as_save_IFS 6772 6773fi 6774fi 6775NMEDIT=$ac_cv_prog_NMEDIT 6776if test -n "$NMEDIT"; then 6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6778$as_echo "$NMEDIT" >&6; } 6779else 6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6781$as_echo "no" >&6; } 6782fi 6783 6784 6785fi 6786if test -z "$ac_cv_prog_NMEDIT"; then 6787 ac_ct_NMEDIT=$NMEDIT 6788 # Extract the first word of "nmedit", so it can be a program name with args. 6789set dummy nmedit; ac_word=$2 6790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6791$as_echo_n "checking for $ac_word... " >&6; } 6792if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6793 $as_echo_n "(cached) " >&6 6794else 6795 if test -n "$ac_ct_NMEDIT"; then 6796 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6797else 6798as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6799for as_dir in $PATH 6800do 6801 IFS=$as_save_IFS 6802 test -z "$as_dir" && as_dir=. 6803 for ac_exec_ext in '' $ac_executable_extensions; do 6804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6805 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6807 break 2 6808 fi 6809done 6810 done 6811IFS=$as_save_IFS 6812 6813fi 6814fi 6815ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6816if test -n "$ac_ct_NMEDIT"; then 6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6818$as_echo "$ac_ct_NMEDIT" >&6; } 6819else 6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6821$as_echo "no" >&6; } 6822fi 6823 6824 if test "x$ac_ct_NMEDIT" = x; then 6825 NMEDIT=":" 6826 else 6827 case $cross_compiling:$ac_tool_warned in 6828yes:) 6829{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6830$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6831ac_tool_warned=yes ;; 6832esac 6833 NMEDIT=$ac_ct_NMEDIT 6834 fi 6835else 6836 NMEDIT="$ac_cv_prog_NMEDIT" 6837fi 6838 6839 if test -n "$ac_tool_prefix"; then 6840 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6841set dummy ${ac_tool_prefix}lipo; ac_word=$2 6842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6843$as_echo_n "checking for $ac_word... " >&6; } 6844if ${ac_cv_prog_LIPO+:} false; then : 6845 $as_echo_n "(cached) " >&6 6846else 6847 if test -n "$LIPO"; then 6848 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6849else 6850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6851for as_dir in $PATH 6852do 6853 IFS=$as_save_IFS 6854 test -z "$as_dir" && as_dir=. 6855 for ac_exec_ext in '' $ac_executable_extensions; do 6856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6857 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6859 break 2 6860 fi 6861done 6862 done 6863IFS=$as_save_IFS 6864 6865fi 6866fi 6867LIPO=$ac_cv_prog_LIPO 6868if test -n "$LIPO"; then 6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6870$as_echo "$LIPO" >&6; } 6871else 6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6873$as_echo "no" >&6; } 6874fi 6875 6876 6877fi 6878if test -z "$ac_cv_prog_LIPO"; then 6879 ac_ct_LIPO=$LIPO 6880 # Extract the first word of "lipo", so it can be a program name with args. 6881set dummy lipo; ac_word=$2 6882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6883$as_echo_n "checking for $ac_word... " >&6; } 6884if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6885 $as_echo_n "(cached) " >&6 6886else 6887 if test -n "$ac_ct_LIPO"; then 6888 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6889else 6890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6891for as_dir in $PATH 6892do 6893 IFS=$as_save_IFS 6894 test -z "$as_dir" && as_dir=. 6895 for ac_exec_ext in '' $ac_executable_extensions; do 6896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6897 ac_cv_prog_ac_ct_LIPO="lipo" 6898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6899 break 2 6900 fi 6901done 6902 done 6903IFS=$as_save_IFS 6904 6905fi 6906fi 6907ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6908if test -n "$ac_ct_LIPO"; then 6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6910$as_echo "$ac_ct_LIPO" >&6; } 6911else 6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6913$as_echo "no" >&6; } 6914fi 6915 6916 if test "x$ac_ct_LIPO" = x; then 6917 LIPO=":" 6918 else 6919 case $cross_compiling:$ac_tool_warned in 6920yes:) 6921{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6922$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6923ac_tool_warned=yes ;; 6924esac 6925 LIPO=$ac_ct_LIPO 6926 fi 6927else 6928 LIPO="$ac_cv_prog_LIPO" 6929fi 6930 6931 if test -n "$ac_tool_prefix"; then 6932 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6933set dummy ${ac_tool_prefix}otool; ac_word=$2 6934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6935$as_echo_n "checking for $ac_word... " >&6; } 6936if ${ac_cv_prog_OTOOL+:} false; then : 6937 $as_echo_n "(cached) " >&6 6938else 6939 if test -n "$OTOOL"; then 6940 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6941else 6942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6943for as_dir in $PATH 6944do 6945 IFS=$as_save_IFS 6946 test -z "$as_dir" && as_dir=. 6947 for ac_exec_ext in '' $ac_executable_extensions; do 6948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6949 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6951 break 2 6952 fi 6953done 6954 done 6955IFS=$as_save_IFS 6956 6957fi 6958fi 6959OTOOL=$ac_cv_prog_OTOOL 6960if test -n "$OTOOL"; then 6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6962$as_echo "$OTOOL" >&6; } 6963else 6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6965$as_echo "no" >&6; } 6966fi 6967 6968 6969fi 6970if test -z "$ac_cv_prog_OTOOL"; then 6971 ac_ct_OTOOL=$OTOOL 6972 # Extract the first word of "otool", so it can be a program name with args. 6973set dummy otool; ac_word=$2 6974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6975$as_echo_n "checking for $ac_word... " >&6; } 6976if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6977 $as_echo_n "(cached) " >&6 6978else 6979 if test -n "$ac_ct_OTOOL"; then 6980 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6981else 6982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6983for as_dir in $PATH 6984do 6985 IFS=$as_save_IFS 6986 test -z "$as_dir" && as_dir=. 6987 for ac_exec_ext in '' $ac_executable_extensions; do 6988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6989 ac_cv_prog_ac_ct_OTOOL="otool" 6990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6991 break 2 6992 fi 6993done 6994 done 6995IFS=$as_save_IFS 6996 6997fi 6998fi 6999ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7000if test -n "$ac_ct_OTOOL"; then 7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7002$as_echo "$ac_ct_OTOOL" >&6; } 7003else 7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7005$as_echo "no" >&6; } 7006fi 7007 7008 if test "x$ac_ct_OTOOL" = x; then 7009 OTOOL=":" 7010 else 7011 case $cross_compiling:$ac_tool_warned in 7012yes:) 7013{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7014$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7015ac_tool_warned=yes ;; 7016esac 7017 OTOOL=$ac_ct_OTOOL 7018 fi 7019else 7020 OTOOL="$ac_cv_prog_OTOOL" 7021fi 7022 7023 if test -n "$ac_tool_prefix"; then 7024 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7025set dummy ${ac_tool_prefix}otool64; ac_word=$2 7026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7027$as_echo_n "checking for $ac_word... " >&6; } 7028if ${ac_cv_prog_OTOOL64+:} false; then : 7029 $as_echo_n "(cached) " >&6 7030else 7031 if test -n "$OTOOL64"; then 7032 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7033else 7034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7035for as_dir in $PATH 7036do 7037 IFS=$as_save_IFS 7038 test -z "$as_dir" && as_dir=. 7039 for ac_exec_ext in '' $ac_executable_extensions; do 7040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7041 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7043 break 2 7044 fi 7045done 7046 done 7047IFS=$as_save_IFS 7048 7049fi 7050fi 7051OTOOL64=$ac_cv_prog_OTOOL64 7052if test -n "$OTOOL64"; then 7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7054$as_echo "$OTOOL64" >&6; } 7055else 7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7057$as_echo "no" >&6; } 7058fi 7059 7060 7061fi 7062if test -z "$ac_cv_prog_OTOOL64"; then 7063 ac_ct_OTOOL64=$OTOOL64 7064 # Extract the first word of "otool64", so it can be a program name with args. 7065set dummy otool64; ac_word=$2 7066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7067$as_echo_n "checking for $ac_word... " >&6; } 7068if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7069 $as_echo_n "(cached) " >&6 7070else 7071 if test -n "$ac_ct_OTOOL64"; then 7072 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7073else 7074as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7075for as_dir in $PATH 7076do 7077 IFS=$as_save_IFS 7078 test -z "$as_dir" && as_dir=. 7079 for ac_exec_ext in '' $ac_executable_extensions; do 7080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7081 ac_cv_prog_ac_ct_OTOOL64="otool64" 7082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7083 break 2 7084 fi 7085done 7086 done 7087IFS=$as_save_IFS 7088 7089fi 7090fi 7091ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7092if test -n "$ac_ct_OTOOL64"; then 7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7094$as_echo "$ac_ct_OTOOL64" >&6; } 7095else 7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7097$as_echo "no" >&6; } 7098fi 7099 7100 if test "x$ac_ct_OTOOL64" = x; then 7101 OTOOL64=":" 7102 else 7103 case $cross_compiling:$ac_tool_warned in 7104yes:) 7105{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7106$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7107ac_tool_warned=yes ;; 7108esac 7109 OTOOL64=$ac_ct_OTOOL64 7110 fi 7111else 7112 OTOOL64="$ac_cv_prog_OTOOL64" 7113fi 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7142$as_echo_n "checking for -single_module linker flag... " >&6; } 7143if ${lt_cv_apple_cc_single_mod+:} false; then : 7144 $as_echo_n "(cached) " >&6 7145else 7146 lt_cv_apple_cc_single_mod=no 7147 if test -z "$LT_MULTI_MODULE"; then 7148 # By default we will add the -single_module flag. You can override 7149 # by either setting the environment variable LT_MULTI_MODULE 7150 # non-empty at configure time, or by adding -multi_module to the 7151 # link flags. 7152 rm -rf libconftest.dylib* 7153 echo "int foo(void){return 1;}" > conftest.c 7154 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7155-dynamiclib -Wl,-single_module conftest.c" >&5 7156 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7157 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7158 _lt_result=$? 7159 # If there is a non-empty error log, and "single_module" 7160 # appears in it, assume the flag caused a linker warning 7161 if test -s conftest.err && $GREP single_module conftest.err; then 7162 cat conftest.err >&5 7163 # Otherwise, if the output was created with a 0 exit code from 7164 # the compiler, it worked. 7165 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7166 lt_cv_apple_cc_single_mod=yes 7167 else 7168 cat conftest.err >&5 7169 fi 7170 rm -rf libconftest.dylib* 7171 rm -f conftest.* 7172 fi 7173fi 7174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7175$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7176 7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7178$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7179if ${lt_cv_ld_exported_symbols_list+:} false; then : 7180 $as_echo_n "(cached) " >&6 7181else 7182 lt_cv_ld_exported_symbols_list=no 7183 save_LDFLAGS=$LDFLAGS 7184 echo "_main" > conftest.sym 7185 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7187/* end confdefs.h. */ 7188 7189int 7190main () 7191{ 7192 7193 ; 7194 return 0; 7195} 7196_ACEOF 7197if ac_fn_c_try_link "$LINENO"; then : 7198 lt_cv_ld_exported_symbols_list=yes 7199else 7200 lt_cv_ld_exported_symbols_list=no 7201fi 7202rm -f core conftest.err conftest.$ac_objext \ 7203 conftest$ac_exeext conftest.$ac_ext 7204 LDFLAGS=$save_LDFLAGS 7205 7206fi 7207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7208$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7209 7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7211$as_echo_n "checking for -force_load linker flag... " >&6; } 7212if ${lt_cv_ld_force_load+:} false; then : 7213 $as_echo_n "(cached) " >&6 7214else 7215 lt_cv_ld_force_load=no 7216 cat > conftest.c << _LT_EOF 7217int forced_loaded() { return 2;} 7218_LT_EOF 7219 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7220 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7221 echo "$AR cru libconftest.a conftest.o" >&5 7222 $AR cru libconftest.a conftest.o 2>&5 7223 echo "$RANLIB libconftest.a" >&5 7224 $RANLIB libconftest.a 2>&5 7225 cat > conftest.c << _LT_EOF 7226int main() { return 0;} 7227_LT_EOF 7228 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7229 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7230 _lt_result=$? 7231 if test -s conftest.err && $GREP force_load conftest.err; then 7232 cat conftest.err >&5 7233 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7234 lt_cv_ld_force_load=yes 7235 else 7236 cat conftest.err >&5 7237 fi 7238 rm -f conftest.err libconftest.a conftest conftest.c 7239 rm -rf conftest.dSYM 7240 7241fi 7242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7243$as_echo "$lt_cv_ld_force_load" >&6; } 7244 case $host_os in 7245 rhapsody* | darwin1.[012]) 7246 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7247 darwin1.*) 7248 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7249 darwin*) # darwin 5.x on 7250 # if running on 10.5 or later, the deployment target defaults 7251 # to the OS version, if on x86, and 10.4, the deployment 7252 # target defaults to 10.4. Don't you love it? 7253 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7254 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7255 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7256 10.[012]*) 7257 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7258 10.*) 7259 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7260 esac 7261 ;; 7262 esac 7263 if test yes = "$lt_cv_apple_cc_single_mod"; then 7264 _lt_dar_single_mod='$single_module' 7265 fi 7266 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7267 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7268 else 7269 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7270 fi 7271 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7272 _lt_dsymutil='~$DSYMUTIL $lib || :' 7273 else 7274 _lt_dsymutil= 7275 fi 7276 ;; 7277 esac 7278 7279ac_ext=c 7280ac_cpp='$CPP $CPPFLAGS' 7281ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7282ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7283ac_compiler_gnu=$ac_cv_c_compiler_gnu 7284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7285$as_echo_n "checking how to run the C preprocessor... " >&6; } 7286# On Suns, sometimes $CPP names a directory. 7287if test -n "$CPP" && test -d "$CPP"; then 7288 CPP= 7289fi 7290if test -z "$CPP"; then 7291 if ${ac_cv_prog_CPP+:} false; then : 7292 $as_echo_n "(cached) " >&6 7293else 7294 # Double quotes because CPP needs to be expanded 7295 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7296 do 7297 ac_preproc_ok=false 7298for ac_c_preproc_warn_flag in '' yes 7299do 7300 # Use a header file that comes with gcc, so configuring glibc 7301 # with a fresh cross-compiler works. 7302 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7303 # <limits.h> exists even on freestanding compilers. 7304 # On the NeXT, cc -E runs the code through the compiler's parser, 7305 # not just through cpp. "Syntax error" is here to catch this case. 7306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7307/* end confdefs.h. */ 7308#ifdef __STDC__ 7309# include <limits.h> 7310#else 7311# include <assert.h> 7312#endif 7313 Syntax error 7314_ACEOF 7315if ac_fn_c_try_cpp "$LINENO"; then : 7316 7317else 7318 # Broken: fails on valid input. 7319continue 7320fi 7321rm -f conftest.err conftest.i conftest.$ac_ext 7322 7323 # OK, works on sane cases. Now check whether nonexistent headers 7324 # can be detected and how. 7325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7326/* end confdefs.h. */ 7327#include <ac_nonexistent.h> 7328_ACEOF 7329if ac_fn_c_try_cpp "$LINENO"; then : 7330 # Broken: success on invalid input. 7331continue 7332else 7333 # Passes both tests. 7334ac_preproc_ok=: 7335break 7336fi 7337rm -f conftest.err conftest.i conftest.$ac_ext 7338 7339done 7340# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7341rm -f conftest.i conftest.err conftest.$ac_ext 7342if $ac_preproc_ok; then : 7343 break 7344fi 7345 7346 done 7347 ac_cv_prog_CPP=$CPP 7348 7349fi 7350 CPP=$ac_cv_prog_CPP 7351else 7352 ac_cv_prog_CPP=$CPP 7353fi 7354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7355$as_echo "$CPP" >&6; } 7356ac_preproc_ok=false 7357for ac_c_preproc_warn_flag in '' yes 7358do 7359 # Use a header file that comes with gcc, so configuring glibc 7360 # with a fresh cross-compiler works. 7361 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7362 # <limits.h> exists even on freestanding compilers. 7363 # On the NeXT, cc -E runs the code through the compiler's parser, 7364 # not just through cpp. "Syntax error" is here to catch this case. 7365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7366/* end confdefs.h. */ 7367#ifdef __STDC__ 7368# include <limits.h> 7369#else 7370# include <assert.h> 7371#endif 7372 Syntax error 7373_ACEOF 7374if ac_fn_c_try_cpp "$LINENO"; then : 7375 7376else 7377 # Broken: fails on valid input. 7378continue 7379fi 7380rm -f conftest.err conftest.i conftest.$ac_ext 7381 7382 # OK, works on sane cases. Now check whether nonexistent headers 7383 # can be detected and how. 7384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7385/* end confdefs.h. */ 7386#include <ac_nonexistent.h> 7387_ACEOF 7388if ac_fn_c_try_cpp "$LINENO"; then : 7389 # Broken: success on invalid input. 7390continue 7391else 7392 # Passes both tests. 7393ac_preproc_ok=: 7394break 7395fi 7396rm -f conftest.err conftest.i conftest.$ac_ext 7397 7398done 7399# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7400rm -f conftest.i conftest.err conftest.$ac_ext 7401if $ac_preproc_ok; then : 7402 7403else 7404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7405$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7406as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7407See \`config.log' for more details" "$LINENO" 5; } 7408fi 7409 7410ac_ext=c 7411ac_cpp='$CPP $CPPFLAGS' 7412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7414ac_compiler_gnu=$ac_cv_c_compiler_gnu 7415 7416 7417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7418$as_echo_n "checking for ANSI C header files... " >&6; } 7419if ${ac_cv_header_stdc+:} false; then : 7420 $as_echo_n "(cached) " >&6 7421else 7422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7423/* end confdefs.h. */ 7424#include <stdlib.h> 7425#include <stdarg.h> 7426#include <string.h> 7427#include <float.h> 7428 7429int 7430main () 7431{ 7432 7433 ; 7434 return 0; 7435} 7436_ACEOF 7437if ac_fn_c_try_compile "$LINENO"; then : 7438 ac_cv_header_stdc=yes 7439else 7440 ac_cv_header_stdc=no 7441fi 7442rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7443 7444if test $ac_cv_header_stdc = yes; then 7445 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7447/* end confdefs.h. */ 7448#include <string.h> 7449 7450_ACEOF 7451if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7452 $EGREP "memchr" >/dev/null 2>&1; then : 7453 7454else 7455 ac_cv_header_stdc=no 7456fi 7457rm -f conftest* 7458 7459fi 7460 7461if test $ac_cv_header_stdc = yes; then 7462 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7464/* end confdefs.h. */ 7465#include <stdlib.h> 7466 7467_ACEOF 7468if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7469 $EGREP "free" >/dev/null 2>&1; then : 7470 7471else 7472 ac_cv_header_stdc=no 7473fi 7474rm -f conftest* 7475 7476fi 7477 7478if test $ac_cv_header_stdc = yes; then 7479 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7480 if test "$cross_compiling" = yes; then : 7481 : 7482else 7483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7484/* end confdefs.h. */ 7485#include <ctype.h> 7486#include <stdlib.h> 7487#if ((' ' & 0x0FF) == 0x020) 7488# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7489# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7490#else 7491# define ISLOWER(c) \ 7492 (('a' <= (c) && (c) <= 'i') \ 7493 || ('j' <= (c) && (c) <= 'r') \ 7494 || ('s' <= (c) && (c) <= 'z')) 7495# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7496#endif 7497 7498#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7499int 7500main () 7501{ 7502 int i; 7503 for (i = 0; i < 256; i++) 7504 if (XOR (islower (i), ISLOWER (i)) 7505 || toupper (i) != TOUPPER (i)) 7506 return 2; 7507 return 0; 7508} 7509_ACEOF 7510if ac_fn_c_try_run "$LINENO"; then : 7511 7512else 7513 ac_cv_header_stdc=no 7514fi 7515rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7516 conftest.$ac_objext conftest.beam conftest.$ac_ext 7517fi 7518 7519fi 7520fi 7521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7522$as_echo "$ac_cv_header_stdc" >&6; } 7523if test $ac_cv_header_stdc = yes; then 7524 7525$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7526 7527fi 7528 7529# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7530for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7531 inttypes.h stdint.h unistd.h 7532do : 7533 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7534ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7535" 7536if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7537 cat >>confdefs.h <<_ACEOF 7538#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7539_ACEOF 7540 7541fi 7542 7543done 7544 7545 7546for ac_header in dlfcn.h 7547do : 7548 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7549" 7550if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7551 cat >>confdefs.h <<_ACEOF 7552#define HAVE_DLFCN_H 1 7553_ACEOF 7554 7555fi 7556 7557done 7558 7559 7560 7561 7562 7563# Set options 7564 7565 7566 7567 enable_dlopen=no 7568 7569 7570 enable_win32_dll=no 7571 7572 7573 # Check whether --enable-shared was given. 7574if test "${enable_shared+set}" = set; then : 7575 enableval=$enable_shared; p=${PACKAGE-default} 7576 case $enableval in 7577 yes) enable_shared=yes ;; 7578 no) enable_shared=no ;; 7579 *) 7580 enable_shared=no 7581 # Look at the argument we got. We use all the common list separators. 7582 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7583 for pkg in $enableval; do 7584 IFS=$lt_save_ifs 7585 if test "X$pkg" = "X$p"; then 7586 enable_shared=yes 7587 fi 7588 done 7589 IFS=$lt_save_ifs 7590 ;; 7591 esac 7592else 7593 enable_shared=yes 7594fi 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 # Check whether --enable-static was given. 7605if test "${enable_static+set}" = set; then : 7606 enableval=$enable_static; p=${PACKAGE-default} 7607 case $enableval in 7608 yes) enable_static=yes ;; 7609 no) enable_static=no ;; 7610 *) 7611 enable_static=no 7612 # Look at the argument we got. We use all the common list separators. 7613 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7614 for pkg in $enableval; do 7615 IFS=$lt_save_ifs 7616 if test "X$pkg" = "X$p"; then 7617 enable_static=yes 7618 fi 7619 done 7620 IFS=$lt_save_ifs 7621 ;; 7622 esac 7623else 7624 enable_static=yes 7625fi 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636# Check whether --with-pic was given. 7637if test "${with_pic+set}" = set; then : 7638 withval=$with_pic; lt_p=${PACKAGE-default} 7639 case $withval in 7640 yes|no) pic_mode=$withval ;; 7641 *) 7642 pic_mode=default 7643 # Look at the argument we got. We use all the common list separators. 7644 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7645 for lt_pkg in $withval; do 7646 IFS=$lt_save_ifs 7647 if test "X$lt_pkg" = "X$lt_p"; then 7648 pic_mode=yes 7649 fi 7650 done 7651 IFS=$lt_save_ifs 7652 ;; 7653 esac 7654else 7655 pic_mode=default 7656fi 7657 7658 7659 7660 7661 7662 7663 7664 7665 # Check whether --enable-fast-install was given. 7666if test "${enable_fast_install+set}" = set; then : 7667 enableval=$enable_fast_install; p=${PACKAGE-default} 7668 case $enableval in 7669 yes) enable_fast_install=yes ;; 7670 no) enable_fast_install=no ;; 7671 *) 7672 enable_fast_install=no 7673 # Look at the argument we got. We use all the common list separators. 7674 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7675 for pkg in $enableval; do 7676 IFS=$lt_save_ifs 7677 if test "X$pkg" = "X$p"; then 7678 enable_fast_install=yes 7679 fi 7680 done 7681 IFS=$lt_save_ifs 7682 ;; 7683 esac 7684else 7685 enable_fast_install=yes 7686fi 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698# This can be used to rebuild libtool when needed 7699LIBTOOL_DEPS=$ltmain 7700 7701# Always use our own libtool. 7702LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733test -z "$LN_S" && LN_S="ln -s" 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748if test -n "${ZSH_VERSION+set}"; then 7749 setopt NO_GLOB_SUBST 7750fi 7751 7752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7753$as_echo_n "checking for objdir... " >&6; } 7754if ${lt_cv_objdir+:} false; then : 7755 $as_echo_n "(cached) " >&6 7756else 7757 rm -f .libs 2>/dev/null 7758mkdir .libs 2>/dev/null 7759if test -d .libs; then 7760 lt_cv_objdir=.libs 7761else 7762 # MS-DOS does not allow filenames that begin with a dot. 7763 lt_cv_objdir=_libs 7764fi 7765rmdir .libs 2>/dev/null 7766fi 7767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7768$as_echo "$lt_cv_objdir" >&6; } 7769objdir=$lt_cv_objdir 7770 7771 7772 7773 7774 7775cat >>confdefs.h <<_ACEOF 7776#define LT_OBJDIR "$lt_cv_objdir/" 7777_ACEOF 7778 7779 7780 7781 7782case $host_os in 7783aix3*) 7784 # AIX sometimes has problems with the GCC collect2 program. For some 7785 # reason, if we set the COLLECT_NAMES environment variable, the problems 7786 # vanish in a puff of smoke. 7787 if test set != "${COLLECT_NAMES+set}"; then 7788 COLLECT_NAMES= 7789 export COLLECT_NAMES 7790 fi 7791 ;; 7792esac 7793 7794# Global variables: 7795ofile=libtool 7796can_build_shared=yes 7797 7798# All known linkers require a '.a' archive for static linking (except MSVC, 7799# which needs '.lib'). 7800libext=a 7801 7802with_gnu_ld=$lt_cv_prog_gnu_ld 7803 7804old_CC=$CC 7805old_CFLAGS=$CFLAGS 7806 7807# Set sane defaults for various variables 7808test -z "$CC" && CC=cc 7809test -z "$LTCC" && LTCC=$CC 7810test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7811test -z "$LD" && LD=ld 7812test -z "$ac_objext" && ac_objext=o 7813 7814for cc_temp in $compiler""; do 7815 case $cc_temp in 7816 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7817 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7818 \-*) ;; 7819 *) break;; 7820 esac 7821done 7822cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7823 7824 7825# Only perform the check for file, if the check method requires it 7826test -z "$MAGIC_CMD" && MAGIC_CMD=file 7827case $deplibs_check_method in 7828file_magic*) 7829 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7831$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7832if ${lt_cv_path_MAGIC_CMD+:} false; then : 7833 $as_echo_n "(cached) " >&6 7834else 7835 case $MAGIC_CMD in 7836[\\/*] | ?:[\\/]*) 7837 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 7838 ;; 7839*) 7840 lt_save_MAGIC_CMD=$MAGIC_CMD 7841 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7842 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7843 for ac_dir in $ac_dummy; do 7844 IFS=$lt_save_ifs 7845 test -z "$ac_dir" && ac_dir=. 7846 if test -f "$ac_dir/${ac_tool_prefix}file"; then 7847 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 7848 if test -n "$file_magic_test_file"; then 7849 case $deplibs_check_method in 7850 "file_magic "*) 7851 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7852 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7853 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7854 $EGREP "$file_magic_regex" > /dev/null; then 7855 : 7856 else 7857 cat <<_LT_EOF 1>&2 7858 7859*** Warning: the command libtool uses to detect shared libraries, 7860*** $file_magic_cmd, produces output that libtool cannot recognize. 7861*** The result is that libtool may fail to recognize shared libraries 7862*** as such. This will affect the creation of libtool libraries that 7863*** depend on shared libraries, but programs linked with such libtool 7864*** libraries will work regardless of this problem. Nevertheless, you 7865*** may want to report the problem to your system manager and/or to 7866*** bug-libtool@gnu.org 7867 7868_LT_EOF 7869 fi ;; 7870 esac 7871 fi 7872 break 7873 fi 7874 done 7875 IFS=$lt_save_ifs 7876 MAGIC_CMD=$lt_save_MAGIC_CMD 7877 ;; 7878esac 7879fi 7880 7881MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7882if test -n "$MAGIC_CMD"; then 7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7884$as_echo "$MAGIC_CMD" >&6; } 7885else 7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7887$as_echo "no" >&6; } 7888fi 7889 7890 7891 7892 7893 7894if test -z "$lt_cv_path_MAGIC_CMD"; then 7895 if test -n "$ac_tool_prefix"; then 7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7897$as_echo_n "checking for file... " >&6; } 7898if ${lt_cv_path_MAGIC_CMD+:} false; then : 7899 $as_echo_n "(cached) " >&6 7900else 7901 case $MAGIC_CMD in 7902[\\/*] | ?:[\\/]*) 7903 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 7904 ;; 7905*) 7906 lt_save_MAGIC_CMD=$MAGIC_CMD 7907 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7908 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7909 for ac_dir in $ac_dummy; do 7910 IFS=$lt_save_ifs 7911 test -z "$ac_dir" && ac_dir=. 7912 if test -f "$ac_dir/file"; then 7913 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 7914 if test -n "$file_magic_test_file"; then 7915 case $deplibs_check_method in 7916 "file_magic "*) 7917 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7918 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7919 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7920 $EGREP "$file_magic_regex" > /dev/null; then 7921 : 7922 else 7923 cat <<_LT_EOF 1>&2 7924 7925*** Warning: the command libtool uses to detect shared libraries, 7926*** $file_magic_cmd, produces output that libtool cannot recognize. 7927*** The result is that libtool may fail to recognize shared libraries 7928*** as such. This will affect the creation of libtool libraries that 7929*** depend on shared libraries, but programs linked with such libtool 7930*** libraries will work regardless of this problem. Nevertheless, you 7931*** may want to report the problem to your system manager and/or to 7932*** bug-libtool@gnu.org 7933 7934_LT_EOF 7935 fi ;; 7936 esac 7937 fi 7938 break 7939 fi 7940 done 7941 IFS=$lt_save_ifs 7942 MAGIC_CMD=$lt_save_MAGIC_CMD 7943 ;; 7944esac 7945fi 7946 7947MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7948if test -n "$MAGIC_CMD"; then 7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7950$as_echo "$MAGIC_CMD" >&6; } 7951else 7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7953$as_echo "no" >&6; } 7954fi 7955 7956 7957 else 7958 MAGIC_CMD=: 7959 fi 7960fi 7961 7962 fi 7963 ;; 7964esac 7965 7966# Use C for the default configuration in the libtool script 7967 7968lt_save_CC=$CC 7969ac_ext=c 7970ac_cpp='$CPP $CPPFLAGS' 7971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7973ac_compiler_gnu=$ac_cv_c_compiler_gnu 7974 7975 7976# Source file extension for C test sources. 7977ac_ext=c 7978 7979# Object file extension for compiled C test sources. 7980objext=o 7981objext=$objext 7982 7983# Code to be used in simple compile tests 7984lt_simple_compile_test_code="int some_variable = 0;" 7985 7986# Code to be used in simple link tests 7987lt_simple_link_test_code='int main(){return(0);}' 7988 7989 7990 7991 7992 7993 7994 7995# If no C compiler was specified, use CC. 7996LTCC=${LTCC-"$CC"} 7997 7998# If no C compiler flags were specified, use CFLAGS. 7999LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8000 8001# Allow CC to be a program name with arguments. 8002compiler=$CC 8003 8004# Save the default compiler, since it gets overwritten when the other 8005# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8006compiler_DEFAULT=$CC 8007 8008# save warnings/boilerplate of simple test code 8009ac_outfile=conftest.$ac_objext 8010echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8011eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8012_lt_compiler_boilerplate=`cat conftest.err` 8013$RM conftest* 8014 8015ac_outfile=conftest.$ac_objext 8016echo "$lt_simple_link_test_code" >conftest.$ac_ext 8017eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8018_lt_linker_boilerplate=`cat conftest.err` 8019$RM -r conftest* 8020 8021 8022if test -n "$compiler"; then 8023 8024lt_prog_compiler_no_builtin_flag= 8025 8026if test yes = "$GCC"; then 8027 case $cc_basename in 8028 nvcc*) 8029 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8030 *) 8031 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8032 esac 8033 8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8035$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8036if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8037 $as_echo_n "(cached) " >&6 8038else 8039 lt_cv_prog_compiler_rtti_exceptions=no 8040 ac_outfile=conftest.$ac_objext 8041 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8042 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8043 # Insert the option either (1) after the last *FLAGS variable, or 8044 # (2) before a word containing "conftest.", or (3) at the end. 8045 # Note that $ac_compile itself does not contain backslashes and begins 8046 # with a dollar sign (not a hyphen), so the echo should work correctly. 8047 # The option is referenced via a variable to avoid confusing sed. 8048 lt_compile=`echo "$ac_compile" | $SED \ 8049 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8050 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8051 -e 's:$: $lt_compiler_flag:'` 8052 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8053 (eval "$lt_compile" 2>conftest.err) 8054 ac_status=$? 8055 cat conftest.err >&5 8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8057 if (exit $ac_status) && test -s "$ac_outfile"; then 8058 # The compiler can only warn and ignore the option if not recognized 8059 # So say no if there are warnings other than the usual output. 8060 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8061 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8062 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8063 lt_cv_prog_compiler_rtti_exceptions=yes 8064 fi 8065 fi 8066 $RM conftest* 8067 8068fi 8069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8070$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8071 8072if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8073 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8074else 8075 : 8076fi 8077 8078fi 8079 8080 8081 8082 8083 8084 8085 lt_prog_compiler_wl= 8086lt_prog_compiler_pic= 8087lt_prog_compiler_static= 8088 8089 8090 if test yes = "$GCC"; then 8091 lt_prog_compiler_wl='-Wl,' 8092 lt_prog_compiler_static='-static' 8093 8094 case $host_os in 8095 aix*) 8096 # All AIX code is PIC. 8097 if test ia64 = "$host_cpu"; then 8098 # AIX 5 now supports IA64 processor 8099 lt_prog_compiler_static='-Bstatic' 8100 fi 8101 lt_prog_compiler_pic='-fPIC' 8102 ;; 8103 8104 amigaos*) 8105 case $host_cpu in 8106 powerpc) 8107 # see comment about AmigaOS4 .so support 8108 lt_prog_compiler_pic='-fPIC' 8109 ;; 8110 m68k) 8111 # FIXME: we need at least 68020 code to build shared libraries, but 8112 # adding the '-m68020' flag to GCC prevents building anything better, 8113 # like '-m68040'. 8114 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8115 ;; 8116 esac 8117 ;; 8118 8119 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8120 # PIC is the default for these OSes. 8121 ;; 8122 8123 mingw* | cygwin* | pw32* | os2* | cegcc*) 8124 # This hack is so that the source file can tell whether it is being 8125 # built for inclusion in a dll (and should export symbols for example). 8126 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8127 # (--disable-auto-import) libraries 8128 lt_prog_compiler_pic='-DDLL_EXPORT' 8129 ;; 8130 8131 darwin* | rhapsody*) 8132 # PIC is the default on this platform 8133 # Common symbols not allowed in MH_DYLIB files 8134 lt_prog_compiler_pic='-fno-common' 8135 ;; 8136 8137 haiku*) 8138 # PIC is the default for Haiku. 8139 # The "-static" flag exists, but is broken. 8140 lt_prog_compiler_static= 8141 ;; 8142 8143 hpux*) 8144 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8145 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8146 # sets the default TLS model and affects inlining. 8147 case $host_cpu in 8148 hppa*64*) 8149 # +Z the default 8150 ;; 8151 *) 8152 lt_prog_compiler_pic='-fPIC' 8153 ;; 8154 esac 8155 ;; 8156 8157 interix[3-9]*) 8158 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8159 # Instead, we relocate shared libraries at runtime. 8160 ;; 8161 8162 msdosdjgpp*) 8163 # Just because we use GCC doesn't mean we suddenly get shared libraries 8164 # on systems that don't support them. 8165 lt_prog_compiler_can_build_shared=no 8166 enable_shared=no 8167 ;; 8168 8169 *nto* | *qnx*) 8170 # QNX uses GNU C++, but need to define -shared option too, otherwise 8171 # it will coredump. 8172 lt_prog_compiler_pic='-fPIC -shared' 8173 ;; 8174 8175 sysv4*MP*) 8176 if test -d /usr/nec; then 8177 lt_prog_compiler_pic=-Kconform_pic 8178 fi 8179 ;; 8180 8181 *) 8182 lt_prog_compiler_pic='-fPIC' 8183 ;; 8184 esac 8185 8186 case $cc_basename in 8187 nvcc*) # Cuda Compiler Driver 2.2 8188 lt_prog_compiler_wl='-Xlinker ' 8189 if test -n "$lt_prog_compiler_pic"; then 8190 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8191 fi 8192 ;; 8193 esac 8194 else 8195 # PORTME Check for flag to pass linker flags through the system compiler. 8196 case $host_os in 8197 aix*) 8198 lt_prog_compiler_wl='-Wl,' 8199 if test ia64 = "$host_cpu"; then 8200 # AIX 5 now supports IA64 processor 8201 lt_prog_compiler_static='-Bstatic' 8202 else 8203 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8204 fi 8205 ;; 8206 8207 darwin* | rhapsody*) 8208 # PIC is the default on this platform 8209 # Common symbols not allowed in MH_DYLIB files 8210 lt_prog_compiler_pic='-fno-common' 8211 case $cc_basename in 8212 nagfor*) 8213 # NAG Fortran compiler 8214 lt_prog_compiler_wl='-Wl,-Wl,,' 8215 lt_prog_compiler_pic='-PIC' 8216 lt_prog_compiler_static='-Bstatic' 8217 ;; 8218 esac 8219 ;; 8220 8221 mingw* | cygwin* | pw32* | os2* | cegcc*) 8222 # This hack is so that the source file can tell whether it is being 8223 # built for inclusion in a dll (and should export symbols for example). 8224 lt_prog_compiler_pic='-DDLL_EXPORT' 8225 ;; 8226 8227 hpux9* | hpux10* | hpux11*) 8228 lt_prog_compiler_wl='-Wl,' 8229 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8230 # not for PA HP-UX. 8231 case $host_cpu in 8232 hppa*64*|ia64*) 8233 # +Z the default 8234 ;; 8235 *) 8236 lt_prog_compiler_pic='+Z' 8237 ;; 8238 esac 8239 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8240 lt_prog_compiler_static='$wl-a ${wl}archive' 8241 ;; 8242 8243 irix5* | irix6* | nonstopux*) 8244 lt_prog_compiler_wl='-Wl,' 8245 # PIC (with -KPIC) is the default. 8246 lt_prog_compiler_static='-non_shared' 8247 ;; 8248 8249 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8250 case $cc_basename in 8251 # old Intel for x86_64, which still supported -KPIC. 8252 ecc*) 8253 lt_prog_compiler_wl='-Wl,' 8254 lt_prog_compiler_pic='-KPIC' 8255 lt_prog_compiler_static='-static' 8256 ;; 8257 # icc used to be incompatible with GCC. 8258 # ICC 10 doesn't accept -KPIC any more. 8259 icc* | ifort*) 8260 lt_prog_compiler_wl='-Wl,' 8261 lt_prog_compiler_pic='-fPIC' 8262 lt_prog_compiler_static='-static' 8263 ;; 8264 # Lahey Fortran 8.1. 8265 lf95*) 8266 lt_prog_compiler_wl='-Wl,' 8267 lt_prog_compiler_pic='--shared' 8268 lt_prog_compiler_static='--static' 8269 ;; 8270 nagfor*) 8271 # NAG Fortran compiler 8272 lt_prog_compiler_wl='-Wl,-Wl,,' 8273 lt_prog_compiler_pic='-PIC' 8274 lt_prog_compiler_static='-Bstatic' 8275 ;; 8276 tcc*) 8277 # Fabrice Bellard et al's Tiny C Compiler 8278 lt_prog_compiler_wl='-Wl,' 8279 lt_prog_compiler_pic='-fPIC' 8280 lt_prog_compiler_static='-static' 8281 ;; 8282 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8283 # Portland Group compilers (*not* the Pentium gcc compiler, 8284 # which looks to be a dead project) 8285 lt_prog_compiler_wl='-Wl,' 8286 lt_prog_compiler_pic='-fpic' 8287 lt_prog_compiler_static='-Bstatic' 8288 ;; 8289 ccc*) 8290 lt_prog_compiler_wl='-Wl,' 8291 # All Alpha code is PIC. 8292 lt_prog_compiler_static='-non_shared' 8293 ;; 8294 xl* | bgxl* | bgf* | mpixl*) 8295 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8296 lt_prog_compiler_wl='-Wl,' 8297 lt_prog_compiler_pic='-qpic' 8298 lt_prog_compiler_static='-qstaticlink' 8299 ;; 8300 *) 8301 case `$CC -V 2>&1 | sed 5q` in 8302 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8303 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8304 lt_prog_compiler_pic='-KPIC' 8305 lt_prog_compiler_static='-Bstatic' 8306 lt_prog_compiler_wl='' 8307 ;; 8308 *Sun\ F* | *Sun*Fortran*) 8309 lt_prog_compiler_pic='-KPIC' 8310 lt_prog_compiler_static='-Bstatic' 8311 lt_prog_compiler_wl='-Qoption ld ' 8312 ;; 8313 *Sun\ C*) 8314 # Sun C 5.9 8315 lt_prog_compiler_pic='-KPIC' 8316 lt_prog_compiler_static='-Bstatic' 8317 lt_prog_compiler_wl='-Wl,' 8318 ;; 8319 *Intel*\ [CF]*Compiler*) 8320 lt_prog_compiler_wl='-Wl,' 8321 lt_prog_compiler_pic='-fPIC' 8322 lt_prog_compiler_static='-static' 8323 ;; 8324 *Portland\ Group*) 8325 lt_prog_compiler_wl='-Wl,' 8326 lt_prog_compiler_pic='-fpic' 8327 lt_prog_compiler_static='-Bstatic' 8328 ;; 8329 esac 8330 ;; 8331 esac 8332 ;; 8333 8334 newsos6) 8335 lt_prog_compiler_pic='-KPIC' 8336 lt_prog_compiler_static='-Bstatic' 8337 ;; 8338 8339 *nto* | *qnx*) 8340 # QNX uses GNU C++, but need to define -shared option too, otherwise 8341 # it will coredump. 8342 lt_prog_compiler_pic='-fPIC -shared' 8343 ;; 8344 8345 osf3* | osf4* | osf5*) 8346 lt_prog_compiler_wl='-Wl,' 8347 # All OSF/1 code is PIC. 8348 lt_prog_compiler_static='-non_shared' 8349 ;; 8350 8351 rdos*) 8352 lt_prog_compiler_static='-non_shared' 8353 ;; 8354 8355 solaris*) 8356 lt_prog_compiler_pic='-KPIC' 8357 lt_prog_compiler_static='-Bstatic' 8358 case $cc_basename in 8359 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8360 lt_prog_compiler_wl='-Qoption ld ';; 8361 *) 8362 lt_prog_compiler_wl='-Wl,';; 8363 esac 8364 ;; 8365 8366 sunos4*) 8367 lt_prog_compiler_wl='-Qoption ld ' 8368 lt_prog_compiler_pic='-PIC' 8369 lt_prog_compiler_static='-Bstatic' 8370 ;; 8371 8372 sysv4 | sysv4.2uw2* | sysv4.3*) 8373 lt_prog_compiler_wl='-Wl,' 8374 lt_prog_compiler_pic='-KPIC' 8375 lt_prog_compiler_static='-Bstatic' 8376 ;; 8377 8378 sysv4*MP*) 8379 if test -d /usr/nec; then 8380 lt_prog_compiler_pic='-Kconform_pic' 8381 lt_prog_compiler_static='-Bstatic' 8382 fi 8383 ;; 8384 8385 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8386 lt_prog_compiler_wl='-Wl,' 8387 lt_prog_compiler_pic='-KPIC' 8388 lt_prog_compiler_static='-Bstatic' 8389 ;; 8390 8391 unicos*) 8392 lt_prog_compiler_wl='-Wl,' 8393 lt_prog_compiler_can_build_shared=no 8394 ;; 8395 8396 uts4*) 8397 lt_prog_compiler_pic='-pic' 8398 lt_prog_compiler_static='-Bstatic' 8399 ;; 8400 8401 *) 8402 lt_prog_compiler_can_build_shared=no 8403 ;; 8404 esac 8405 fi 8406 8407case $host_os in 8408 # For platforms that do not support PIC, -DPIC is meaningless: 8409 *djgpp*) 8410 lt_prog_compiler_pic= 8411 ;; 8412 *) 8413 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8414 ;; 8415esac 8416 8417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8418$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8419if ${lt_cv_prog_compiler_pic+:} false; then : 8420 $as_echo_n "(cached) " >&6 8421else 8422 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8423fi 8424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8425$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8426lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8427 8428# 8429# Check to make sure the PIC flag actually works. 8430# 8431if test -n "$lt_prog_compiler_pic"; then 8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8433$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8434if ${lt_cv_prog_compiler_pic_works+:} false; then : 8435 $as_echo_n "(cached) " >&6 8436else 8437 lt_cv_prog_compiler_pic_works=no 8438 ac_outfile=conftest.$ac_objext 8439 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8440 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 8441 # Insert the option either (1) after the last *FLAGS variable, or 8442 # (2) before a word containing "conftest.", or (3) at the end. 8443 # Note that $ac_compile itself does not contain backslashes and begins 8444 # with a dollar sign (not a hyphen), so the echo should work correctly. 8445 # The option is referenced via a variable to avoid confusing sed. 8446 lt_compile=`echo "$ac_compile" | $SED \ 8447 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8448 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8449 -e 's:$: $lt_compiler_flag:'` 8450 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8451 (eval "$lt_compile" 2>conftest.err) 8452 ac_status=$? 8453 cat conftest.err >&5 8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8455 if (exit $ac_status) && test -s "$ac_outfile"; then 8456 # The compiler can only warn and ignore the option if not recognized 8457 # So say no if there are warnings other than the usual output. 8458 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8459 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8460 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8461 lt_cv_prog_compiler_pic_works=yes 8462 fi 8463 fi 8464 $RM conftest* 8465 8466fi 8467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8468$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8469 8470if test yes = "$lt_cv_prog_compiler_pic_works"; then 8471 case $lt_prog_compiler_pic in 8472 "" | " "*) ;; 8473 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8474 esac 8475else 8476 lt_prog_compiler_pic= 8477 lt_prog_compiler_can_build_shared=no 8478fi 8479 8480fi 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492# 8493# Check to make sure the static flag actually works. 8494# 8495wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8497$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8498if ${lt_cv_prog_compiler_static_works+:} false; then : 8499 $as_echo_n "(cached) " >&6 8500else 8501 lt_cv_prog_compiler_static_works=no 8502 save_LDFLAGS=$LDFLAGS 8503 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8504 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8505 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8506 # The linker can only warn and ignore the option if not recognized 8507 # So say no if there are warnings 8508 if test -s conftest.err; then 8509 # Append any errors to the config.log. 8510 cat conftest.err 1>&5 8511 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8512 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8513 if diff conftest.exp conftest.er2 >/dev/null; then 8514 lt_cv_prog_compiler_static_works=yes 8515 fi 8516 else 8517 lt_cv_prog_compiler_static_works=yes 8518 fi 8519 fi 8520 $RM -r conftest* 8521 LDFLAGS=$save_LDFLAGS 8522 8523fi 8524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8525$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8526 8527if test yes = "$lt_cv_prog_compiler_static_works"; then 8528 : 8529else 8530 lt_prog_compiler_static= 8531fi 8532 8533 8534 8535 8536 8537 8538 8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8540$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8541if ${lt_cv_prog_compiler_c_o+:} false; then : 8542 $as_echo_n "(cached) " >&6 8543else 8544 lt_cv_prog_compiler_c_o=no 8545 $RM -r conftest 2>/dev/null 8546 mkdir conftest 8547 cd conftest 8548 mkdir out 8549 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8550 8551 lt_compiler_flag="-o out/conftest2.$ac_objext" 8552 # Insert the option either (1) after the last *FLAGS variable, or 8553 # (2) before a word containing "conftest.", or (3) at the end. 8554 # Note that $ac_compile itself does not contain backslashes and begins 8555 # with a dollar sign (not a hyphen), so the echo should work correctly. 8556 lt_compile=`echo "$ac_compile" | $SED \ 8557 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8558 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8559 -e 's:$: $lt_compiler_flag:'` 8560 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8561 (eval "$lt_compile" 2>out/conftest.err) 8562 ac_status=$? 8563 cat out/conftest.err >&5 8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8565 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8566 then 8567 # The compiler can only warn and ignore the option if not recognized 8568 # So say no if there are warnings 8569 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8570 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8571 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8572 lt_cv_prog_compiler_c_o=yes 8573 fi 8574 fi 8575 chmod u+w . 2>&5 8576 $RM conftest* 8577 # SGI C++ compiler will create directory out/ii_files/ for 8578 # template instantiation 8579 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8580 $RM out/* && rmdir out 8581 cd .. 8582 $RM -r conftest 8583 $RM conftest* 8584 8585fi 8586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8587$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8588 8589 8590 8591 8592 8593 8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8595$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8596if ${lt_cv_prog_compiler_c_o+:} false; then : 8597 $as_echo_n "(cached) " >&6 8598else 8599 lt_cv_prog_compiler_c_o=no 8600 $RM -r conftest 2>/dev/null 8601 mkdir conftest 8602 cd conftest 8603 mkdir out 8604 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8605 8606 lt_compiler_flag="-o out/conftest2.$ac_objext" 8607 # Insert the option either (1) after the last *FLAGS variable, or 8608 # (2) before a word containing "conftest.", or (3) at the end. 8609 # Note that $ac_compile itself does not contain backslashes and begins 8610 # with a dollar sign (not a hyphen), so the echo should work correctly. 8611 lt_compile=`echo "$ac_compile" | $SED \ 8612 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8613 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8614 -e 's:$: $lt_compiler_flag:'` 8615 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8616 (eval "$lt_compile" 2>out/conftest.err) 8617 ac_status=$? 8618 cat out/conftest.err >&5 8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8620 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8621 then 8622 # The compiler can only warn and ignore the option if not recognized 8623 # So say no if there are warnings 8624 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8625 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8626 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8627 lt_cv_prog_compiler_c_o=yes 8628 fi 8629 fi 8630 chmod u+w . 2>&5 8631 $RM conftest* 8632 # SGI C++ compiler will create directory out/ii_files/ for 8633 # template instantiation 8634 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8635 $RM out/* && rmdir out 8636 cd .. 8637 $RM -r conftest 8638 $RM conftest* 8639 8640fi 8641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8642$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8643 8644 8645 8646 8647hard_links=nottested 8648if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 8649 # do not overwrite the value of need_locks provided by the user 8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8651$as_echo_n "checking if we can lock with hard links... " >&6; } 8652 hard_links=yes 8653 $RM conftest* 8654 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8655 touch conftest.a 8656 ln conftest.a conftest.b 2>&5 || hard_links=no 8657 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8659$as_echo "$hard_links" >&6; } 8660 if test no = "$hard_links"; then 8661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 8662$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 8663 need_locks=warn 8664 fi 8665else 8666 need_locks=no 8667fi 8668 8669 8670 8671 8672 8673 8674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8675$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8676 8677 runpath_var= 8678 allow_undefined_flag= 8679 always_export_symbols=no 8680 archive_cmds= 8681 archive_expsym_cmds= 8682 compiler_needs_object=no 8683 enable_shared_with_static_runtimes=no 8684 export_dynamic_flag_spec= 8685 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8686 hardcode_automatic=no 8687 hardcode_direct=no 8688 hardcode_direct_absolute=no 8689 hardcode_libdir_flag_spec= 8690 hardcode_libdir_separator= 8691 hardcode_minus_L=no 8692 hardcode_shlibpath_var=unsupported 8693 inherit_rpath=no 8694 link_all_deplibs=unknown 8695 module_cmds= 8696 module_expsym_cmds= 8697 old_archive_from_new_cmds= 8698 old_archive_from_expsyms_cmds= 8699 thread_safe_flag_spec= 8700 whole_archive_flag_spec= 8701 # include_expsyms should be a list of space-separated symbols to be *always* 8702 # included in the symbol list 8703 include_expsyms= 8704 # exclude_expsyms can be an extended regexp of symbols to exclude 8705 # it will be wrapped by ' (' and ')$', so one must not match beginning or 8706 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 8707 # as well as any symbol that contains 'd'. 8708 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8709 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8710 # platforms (ab)use it in PIC code, but their linkers get confused if 8711 # the symbol is explicitly referenced. Since portable code cannot 8712 # rely on this symbol name, it's probably fine to never include it in 8713 # preloaded symbol tables. 8714 # Exclude shared library initialization/finalization symbols. 8715 extract_expsyms_cmds= 8716 8717 case $host_os in 8718 cygwin* | mingw* | pw32* | cegcc*) 8719 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8720 # When not using gcc, we currently assume that we are using 8721 # Microsoft Visual C++. 8722 if test yes != "$GCC"; then 8723 with_gnu_ld=no 8724 fi 8725 ;; 8726 interix*) 8727 # we just hope/assume this is gcc and not c89 (= MSVC++) 8728 with_gnu_ld=yes 8729 ;; 8730 openbsd* | bitrig*) 8731 with_gnu_ld=no 8732 ;; 8733 esac 8734 8735 ld_shlibs=yes 8736 8737 # On some targets, GNU ld is compatible enough with the native linker 8738 # that we're better off using the native interface for both. 8739 lt_use_gnu_ld_interface=no 8740 if test yes = "$with_gnu_ld"; then 8741 case $host_os in 8742 aix*) 8743 # The AIX port of GNU ld has always aspired to compatibility 8744 # with the native linker. However, as the warning in the GNU ld 8745 # block says, versions before 2.19.5* couldn't really create working 8746 # shared libraries, regardless of the interface used. 8747 case `$LD -v 2>&1` in 8748 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8749 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8750 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8751 *) 8752 lt_use_gnu_ld_interface=yes 8753 ;; 8754 esac 8755 ;; 8756 *) 8757 lt_use_gnu_ld_interface=yes 8758 ;; 8759 esac 8760 fi 8761 8762 if test yes = "$lt_use_gnu_ld_interface"; then 8763 # If archive_cmds runs LD, not CC, wlarc should be empty 8764 wlarc='$wl' 8765 8766 # Set some defaults for GNU ld with shared library support. These 8767 # are reset later if shared libraries are not supported. Putting them 8768 # here allows them to be overridden if necessary. 8769 runpath_var=LD_RUN_PATH 8770 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 8771 export_dynamic_flag_spec='$wl--export-dynamic' 8772 # ancient GNU ld didn't support --whole-archive et. al. 8773 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8774 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 8775 else 8776 whole_archive_flag_spec= 8777 fi 8778 supports_anon_versioning=no 8779 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 8780 *GNU\ gold*) supports_anon_versioning=yes ;; 8781 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8782 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8783 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8784 *\ 2.11.*) ;; # other 2.11 versions 8785 *) supports_anon_versioning=yes ;; 8786 esac 8787 8788 # See if GNU ld supports shared libraries. 8789 case $host_os in 8790 aix[3-9]*) 8791 # On AIX/PPC, the GNU linker is very broken 8792 if test ia64 != "$host_cpu"; then 8793 ld_shlibs=no 8794 cat <<_LT_EOF 1>&2 8795 8796*** Warning: the GNU linker, at least up to release 2.19, is reported 8797*** to be unable to reliably create shared libraries on AIX. 8798*** Therefore, libtool is disabling shared libraries support. If you 8799*** really care for shared libraries, you may want to install binutils 8800*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8801*** You will then need to restart the configuration process. 8802 8803_LT_EOF 8804 fi 8805 ;; 8806 8807 amigaos*) 8808 case $host_cpu in 8809 powerpc) 8810 # see comment about AmigaOS4 .so support 8811 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8812 archive_expsym_cmds='' 8813 ;; 8814 m68k) 8815 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)' 8816 hardcode_libdir_flag_spec='-L$libdir' 8817 hardcode_minus_L=yes 8818 ;; 8819 esac 8820 ;; 8821 8822 beos*) 8823 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8824 allow_undefined_flag=unsupported 8825 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8826 # support --undefined. This deserves some investigation. FIXME 8827 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8828 else 8829 ld_shlibs=no 8830 fi 8831 ;; 8832 8833 cygwin* | mingw* | pw32* | cegcc*) 8834 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8835 # as there is no search path for DLLs. 8836 hardcode_libdir_flag_spec='-L$libdir' 8837 export_dynamic_flag_spec='$wl--export-all-symbols' 8838 allow_undefined_flag=unsupported 8839 always_export_symbols=no 8840 enable_shared_with_static_runtimes=yes 8841 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' 8842 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8843 8844 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8845 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8846 # If the export-symbols file already is a .def file, use it as 8847 # is; otherwise, prepend EXPORTS... 8848 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 8849 cp $export_symbols $output_objdir/$soname.def; 8850 else 8851 echo EXPORTS > $output_objdir/$soname.def; 8852 cat $export_symbols >> $output_objdir/$soname.def; 8853 fi~ 8854 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8855 else 8856 ld_shlibs=no 8857 fi 8858 ;; 8859 8860 haiku*) 8861 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8862 link_all_deplibs=yes 8863 ;; 8864 8865 interix[3-9]*) 8866 hardcode_direct=no 8867 hardcode_shlibpath_var=no 8868 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 8869 export_dynamic_flag_spec='$wl-E' 8870 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8871 # Instead, shared libraries are loaded at an image base (0x10000000 by 8872 # default) and relocated if they conflict, which is a slow very memory 8873 # consuming and fragmenting process. To avoid this, we pick a random, 8874 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8875 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8876 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8877 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' 8878 ;; 8879 8880 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8881 tmp_diet=no 8882 if test linux-dietlibc = "$host_os"; then 8883 case $cc_basename in 8884 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8885 esac 8886 fi 8887 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8888 && test no = "$tmp_diet" 8889 then 8890 tmp_addflag=' $pic_flag' 8891 tmp_sharedflag='-shared' 8892 case $cc_basename,$host_cpu in 8893 pgcc*) # Portland Group C compiler 8894 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' 8895 tmp_addflag=' $pic_flag' 8896 ;; 8897 pgf77* | pgf90* | pgf95* | pgfortran*) 8898 # Portland Group f77 and f90 compilers 8899 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' 8900 tmp_addflag=' $pic_flag -Mnomain' ;; 8901 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8902 tmp_addflag=' -i_dynamic' ;; 8903 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8904 tmp_addflag=' -i_dynamic -nofor_main' ;; 8905 ifc* | ifort*) # Intel Fortran compiler 8906 tmp_addflag=' -nofor_main' ;; 8907 lf95*) # Lahey Fortran 8.1 8908 whole_archive_flag_spec= 8909 tmp_sharedflag='--shared' ;; 8910 nagfor*) # NAGFOR 5.3 8911 tmp_sharedflag='-Wl,-shared' ;; 8912 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8913 tmp_sharedflag='-qmkshrobj' 8914 tmp_addflag= ;; 8915 nvcc*) # Cuda Compiler Driver 2.2 8916 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' 8917 compiler_needs_object=yes 8918 ;; 8919 esac 8920 case `$CC -V 2>&1 | sed 5q` in 8921 *Sun\ C*) # Sun C 5.9 8922 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' 8923 compiler_needs_object=yes 8924 tmp_sharedflag='-G' ;; 8925 *Sun\ F*) # Sun Fortran 8.3 8926 tmp_sharedflag='-G' ;; 8927 esac 8928 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8929 8930 if test yes = "$supports_anon_versioning"; then 8931 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8932 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8933 echo "local: *; };" >> $output_objdir/$libname.ver~ 8934 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 8935 fi 8936 8937 case $cc_basename in 8938 xlf* | bgf* | bgxlf* | mpixlf*) 8939 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8940 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8941 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 8942 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 8943 if test yes = "$supports_anon_versioning"; then 8944 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8945 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8946 echo "local: *; };" >> $output_objdir/$libname.ver~ 8947 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8948 fi 8949 ;; 8950 esac 8951 else 8952 ld_shlibs=no 8953 fi 8954 ;; 8955 8956 netbsd*) 8957 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8958 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8959 wlarc= 8960 else 8961 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8962 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 8963 fi 8964 ;; 8965 8966 solaris*) 8967 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8968 ld_shlibs=no 8969 cat <<_LT_EOF 1>&2 8970 8971*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8972*** create shared libraries on Solaris systems. Therefore, libtool 8973*** is disabling shared libraries support. We urge you to upgrade GNU 8974*** binutils to release 2.9.1 or newer. Another option is to modify 8975*** your PATH or compiler configuration so that the native linker is 8976*** used, and then restart. 8977 8978_LT_EOF 8979 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8980 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8981 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 8982 else 8983 ld_shlibs=no 8984 fi 8985 ;; 8986 8987 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8988 case `$LD -v 2>&1` in 8989 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8990 ld_shlibs=no 8991 cat <<_LT_EOF 1>&2 8992 8993*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 8994*** reliably create shared libraries on SCO systems. Therefore, libtool 8995*** is disabling shared libraries support. We urge you to upgrade GNU 8996*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8997*** your PATH or compiler configuration so that the native linker is 8998*** used, and then restart. 8999 9000_LT_EOF 9001 ;; 9002 *) 9003 # For security reasons, it is highly recommended that you always 9004 # use absolute paths for naming shared libraries, and exclude the 9005 # DT_RUNPATH tag from executables and libraries. But doing so 9006 # requires that you compile everything twice, which is a pain. 9007 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9008 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9009 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9010 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9011 else 9012 ld_shlibs=no 9013 fi 9014 ;; 9015 esac 9016 ;; 9017 9018 sunos4*) 9019 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9020 wlarc= 9021 hardcode_direct=yes 9022 hardcode_shlibpath_var=no 9023 ;; 9024 9025 *) 9026 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9027 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9028 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9029 else 9030 ld_shlibs=no 9031 fi 9032 ;; 9033 esac 9034 9035 if test no = "$ld_shlibs"; then 9036 runpath_var= 9037 hardcode_libdir_flag_spec= 9038 export_dynamic_flag_spec= 9039 whole_archive_flag_spec= 9040 fi 9041 else 9042 # PORTME fill in a description of your system's linker (not GNU ld) 9043 case $host_os in 9044 aix3*) 9045 allow_undefined_flag=unsupported 9046 always_export_symbols=yes 9047 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' 9048 # Note: this linker hardcodes the directories in LIBPATH if there 9049 # are no directories specified by -L. 9050 hardcode_minus_L=yes 9051 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9052 # Neither direct hardcoding nor static linking is supported with a 9053 # broken collect2. 9054 hardcode_direct=unsupported 9055 fi 9056 ;; 9057 9058 aix[4-9]*) 9059 if test ia64 = "$host_cpu"; then 9060 # On IA64, the linker does run time linking by default, so we don't 9061 # have to do anything special. 9062 aix_use_runtimelinking=no 9063 exp_sym_flag='-Bexport' 9064 no_entry_flag= 9065 else 9066 # If we're using GNU nm, then we don't want the "-C" option. 9067 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9068 # Also, AIX nm treats weak defined symbols like other global 9069 # defined symbols, whereas GNU nm marks them as "W". 9070 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9071 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9072 else 9073 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9074 fi 9075 aix_use_runtimelinking=no 9076 9077 # Test if we are trying to use run time linking or normal 9078 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9079 # need to do runtime linking. 9080 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9081 for ld_flag in $LDFLAGS; do 9082 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9083 aix_use_runtimelinking=yes 9084 break 9085 fi 9086 done 9087 ;; 9088 esac 9089 9090 exp_sym_flag='-bexport' 9091 no_entry_flag='-bnoentry' 9092 fi 9093 9094 # When large executables or shared objects are built, AIX ld can 9095 # have problems creating the table of contents. If linking a library 9096 # or program results in "error TOC overflow" add -mminimal-toc to 9097 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9098 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9099 9100 archive_cmds='' 9101 hardcode_direct=yes 9102 hardcode_direct_absolute=yes 9103 hardcode_libdir_separator=':' 9104 link_all_deplibs=yes 9105 file_list_spec='$wl-f,' 9106 9107 if test yes = "$GCC"; then 9108 case $host_os in aix4.[012]|aix4.[012].*) 9109 # We only want to do this on AIX 4.2 and lower, the check 9110 # below for broken collect2 doesn't work under 4.3+ 9111 collect2name=`$CC -print-prog-name=collect2` 9112 if test -f "$collect2name" && 9113 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9114 then 9115 # We have reworked collect2 9116 : 9117 else 9118 # We have old collect2 9119 hardcode_direct=unsupported 9120 # It fails to find uninstalled libraries when the uninstalled 9121 # path is not listed in the libpath. Setting hardcode_minus_L 9122 # to unsupported forces relinking 9123 hardcode_minus_L=yes 9124 hardcode_libdir_flag_spec='-L$libdir' 9125 hardcode_libdir_separator= 9126 fi 9127 ;; 9128 esac 9129 shared_flag='-shared' 9130 if test yes = "$aix_use_runtimelinking"; then 9131 shared_flag="$shared_flag "'$wl-G' 9132 fi 9133 else 9134 # not using gcc 9135 if test ia64 = "$host_cpu"; then 9136 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9137 # chokes on -Wl,-G. The following line is correct: 9138 shared_flag='-G' 9139 else 9140 if test yes = "$aix_use_runtimelinking"; then 9141 shared_flag='$wl-G' 9142 else 9143 shared_flag='$wl-bM:SRE' 9144 fi 9145 fi 9146 fi 9147 9148 export_dynamic_flag_spec='$wl-bexpall' 9149 # It seems that -bexpall does not export symbols beginning with 9150 # underscore (_), so it is better to generate a list of symbols to export. 9151 always_export_symbols=yes 9152 if test yes = "$aix_use_runtimelinking"; then 9153 # Warning - without using the other runtime loading flags (-brtl), 9154 # -berok will link without error, but may produce a broken library. 9155 allow_undefined_flag='-berok' 9156 # Determine the default libpath from the value encoded in an 9157 # empty executable. 9158 if test set = "${lt_cv_aix_libpath+set}"; then 9159 aix_libpath=$lt_cv_aix_libpath 9160else 9161 if ${lt_cv_aix_libpath_+:} false; then : 9162 $as_echo_n "(cached) " >&6 9163else 9164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9165/* end confdefs.h. */ 9166 9167int 9168main () 9169{ 9170 9171 ; 9172 return 0; 9173} 9174_ACEOF 9175if ac_fn_c_try_link "$LINENO"; then : 9176 9177 lt_aix_libpath_sed=' 9178 /Import File Strings/,/^$/ { 9179 /^0/ { 9180 s/^0 *\([^ ]*\) *$/\1/ 9181 p 9182 } 9183 }' 9184 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9185 # Check for a 64-bit object if we didn't find anything. 9186 if test -z "$lt_cv_aix_libpath_"; then 9187 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9188 fi 9189fi 9190rm -f core conftest.err conftest.$ac_objext \ 9191 conftest$ac_exeext conftest.$ac_ext 9192 if test -z "$lt_cv_aix_libpath_"; then 9193 lt_cv_aix_libpath_=/usr/lib:/lib 9194 fi 9195 9196fi 9197 9198 aix_libpath=$lt_cv_aix_libpath_ 9199fi 9200 9201 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9202 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 9203 else 9204 if test ia64 = "$host_cpu"; then 9205 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9206 allow_undefined_flag="-z nodefs" 9207 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" 9208 else 9209 # Determine the default libpath from the value encoded in an 9210 # empty executable. 9211 if test set = "${lt_cv_aix_libpath+set}"; then 9212 aix_libpath=$lt_cv_aix_libpath 9213else 9214 if ${lt_cv_aix_libpath_+:} false; then : 9215 $as_echo_n "(cached) " >&6 9216else 9217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9218/* end confdefs.h. */ 9219 9220int 9221main () 9222{ 9223 9224 ; 9225 return 0; 9226} 9227_ACEOF 9228if ac_fn_c_try_link "$LINENO"; then : 9229 9230 lt_aix_libpath_sed=' 9231 /Import File Strings/,/^$/ { 9232 /^0/ { 9233 s/^0 *\([^ ]*\) *$/\1/ 9234 p 9235 } 9236 }' 9237 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9238 # Check for a 64-bit object if we didn't find anything. 9239 if test -z "$lt_cv_aix_libpath_"; then 9240 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9241 fi 9242fi 9243rm -f core conftest.err conftest.$ac_objext \ 9244 conftest$ac_exeext conftest.$ac_ext 9245 if test -z "$lt_cv_aix_libpath_"; then 9246 lt_cv_aix_libpath_=/usr/lib:/lib 9247 fi 9248 9249fi 9250 9251 aix_libpath=$lt_cv_aix_libpath_ 9252fi 9253 9254 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9255 # Warning - without using the other run time loading flags, 9256 # -berok will link without error, but may produce a broken library. 9257 no_undefined_flag=' $wl-bernotok' 9258 allow_undefined_flag=' $wl-berok' 9259 if test yes = "$with_gnu_ld"; then 9260 # We only use this code for GNU lds that support --whole-archive. 9261 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9262 else 9263 # Exported symbols can be pulled into shared objects from archives 9264 whole_archive_flag_spec='$convenience' 9265 fi 9266 archive_cmds_need_lc=yes 9267 # This is similar to how AIX traditionally builds its shared libraries. 9268 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 9269 fi 9270 fi 9271 ;; 9272 9273 amigaos*) 9274 case $host_cpu in 9275 powerpc) 9276 # see comment about AmigaOS4 .so support 9277 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9278 archive_expsym_cmds='' 9279 ;; 9280 m68k) 9281 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)' 9282 hardcode_libdir_flag_spec='-L$libdir' 9283 hardcode_minus_L=yes 9284 ;; 9285 esac 9286 ;; 9287 9288 bsdi[45]*) 9289 export_dynamic_flag_spec=-rdynamic 9290 ;; 9291 9292 cygwin* | mingw* | pw32* | cegcc*) 9293 # When not using gcc, we currently assume that we are using 9294 # Microsoft Visual C++. 9295 # hardcode_libdir_flag_spec is actually meaningless, as there is 9296 # no search path for DLLs. 9297 case $cc_basename in 9298 cl*) 9299 # Native MSVC 9300 hardcode_libdir_flag_spec=' ' 9301 allow_undefined_flag=unsupported 9302 always_export_symbols=yes 9303 file_list_spec='@' 9304 # Tell ltmain to make .lib files, not .a files. 9305 libext=lib 9306 # Tell ltmain to make .dll files, not .so files. 9307 shrext_cmds=.dll 9308 # FIXME: Setting linknames here is a bad hack. 9309 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 9310 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9311 cp "$export_symbols" "$output_objdir/$soname.def"; 9312 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 9313 else 9314 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 9315 fi~ 9316 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9317 linknames=' 9318 # The linker will not automatically build a static lib if we build a DLL. 9319 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9320 enable_shared_with_static_runtimes=yes 9321 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9322 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9323 # Don't use ranlib 9324 old_postinstall_cmds='chmod 644 $oldlib' 9325 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9326 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9327 case $lt_outputfile in 9328 *.exe|*.EXE) ;; 9329 *) 9330 lt_outputfile=$lt_outputfile.exe 9331 lt_tool_outputfile=$lt_tool_outputfile.exe 9332 ;; 9333 esac~ 9334 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 9335 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9336 $RM "$lt_outputfile.manifest"; 9337 fi' 9338 ;; 9339 *) 9340 # Assume MSVC wrapper 9341 hardcode_libdir_flag_spec=' ' 9342 allow_undefined_flag=unsupported 9343 # Tell ltmain to make .lib files, not .a files. 9344 libext=lib 9345 # Tell ltmain to make .dll files, not .so files. 9346 shrext_cmds=.dll 9347 # FIXME: Setting linknames here is a bad hack. 9348 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9349 # The linker will automatically build a .lib file if we build a DLL. 9350 old_archive_from_new_cmds='true' 9351 # FIXME: Should let the user specify the lib program. 9352 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9353 enable_shared_with_static_runtimes=yes 9354 ;; 9355 esac 9356 ;; 9357 9358 darwin* | rhapsody*) 9359 9360 9361 archive_cmds_need_lc=no 9362 hardcode_direct=no 9363 hardcode_automatic=yes 9364 hardcode_shlibpath_var=unsupported 9365 if test yes = "$lt_cv_ld_force_load"; then 9366 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\"`' 9367 9368 else 9369 whole_archive_flag_spec='' 9370 fi 9371 link_all_deplibs=yes 9372 allow_undefined_flag=$_lt_dar_allow_undefined 9373 case $cc_basename in 9374 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 9375 *) _lt_dar_can_shared=$GCC ;; 9376 esac 9377 if test yes = "$_lt_dar_can_shared"; then 9378 output_verbose_link_cmd=func_echo_all 9379 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 9380 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 9381 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" 9382 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" 9383 9384 else 9385 ld_shlibs=no 9386 fi 9387 9388 ;; 9389 9390 dgux*) 9391 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9392 hardcode_libdir_flag_spec='-L$libdir' 9393 hardcode_shlibpath_var=no 9394 ;; 9395 9396 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9397 # support. Future versions do this automatically, but an explicit c++rt0.o 9398 # does not break anything, and helps significantly (at the cost of a little 9399 # extra space). 9400 freebsd2.2*) 9401 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9402 hardcode_libdir_flag_spec='-R$libdir' 9403 hardcode_direct=yes 9404 hardcode_shlibpath_var=no 9405 ;; 9406 9407 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9408 freebsd2.*) 9409 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9410 hardcode_direct=yes 9411 hardcode_minus_L=yes 9412 hardcode_shlibpath_var=no 9413 ;; 9414 9415 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9416 freebsd* | dragonfly*) 9417 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9418 hardcode_libdir_flag_spec='-R$libdir' 9419 hardcode_direct=yes 9420 hardcode_shlibpath_var=no 9421 ;; 9422 9423 hpux9*) 9424 if test yes = "$GCC"; then 9425 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' 9426 else 9427 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' 9428 fi 9429 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9430 hardcode_libdir_separator=: 9431 hardcode_direct=yes 9432 9433 # hardcode_minus_L: Not really in the search PATH, 9434 # but as the default location of the library. 9435 hardcode_minus_L=yes 9436 export_dynamic_flag_spec='$wl-E' 9437 ;; 9438 9439 hpux10*) 9440 if test yes,no = "$GCC,$with_gnu_ld"; then 9441 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9442 else 9443 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9444 fi 9445 if test no = "$with_gnu_ld"; then 9446 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9447 hardcode_libdir_separator=: 9448 hardcode_direct=yes 9449 hardcode_direct_absolute=yes 9450 export_dynamic_flag_spec='$wl-E' 9451 # hardcode_minus_L: Not really in the search PATH, 9452 # but as the default location of the library. 9453 hardcode_minus_L=yes 9454 fi 9455 ;; 9456 9457 hpux11*) 9458 if test yes,no = "$GCC,$with_gnu_ld"; then 9459 case $host_cpu in 9460 hppa*64*) 9461 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9462 ;; 9463 ia64*) 9464 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9465 ;; 9466 *) 9467 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9468 ;; 9469 esac 9470 else 9471 case $host_cpu in 9472 hppa*64*) 9473 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9474 ;; 9475 ia64*) 9476 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9477 ;; 9478 *) 9479 9480 # Older versions of the 11.00 compiler do not understand -b yet 9481 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9483$as_echo_n "checking if $CC understands -b... " >&6; } 9484if ${lt_cv_prog_compiler__b+:} false; then : 9485 $as_echo_n "(cached) " >&6 9486else 9487 lt_cv_prog_compiler__b=no 9488 save_LDFLAGS=$LDFLAGS 9489 LDFLAGS="$LDFLAGS -b" 9490 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9491 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9492 # The linker can only warn and ignore the option if not recognized 9493 # So say no if there are warnings 9494 if test -s conftest.err; then 9495 # Append any errors to the config.log. 9496 cat conftest.err 1>&5 9497 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9498 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9499 if diff conftest.exp conftest.er2 >/dev/null; then 9500 lt_cv_prog_compiler__b=yes 9501 fi 9502 else 9503 lt_cv_prog_compiler__b=yes 9504 fi 9505 fi 9506 $RM -r conftest* 9507 LDFLAGS=$save_LDFLAGS 9508 9509fi 9510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9511$as_echo "$lt_cv_prog_compiler__b" >&6; } 9512 9513if test yes = "$lt_cv_prog_compiler__b"; then 9514 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9515else 9516 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9517fi 9518 9519 ;; 9520 esac 9521 fi 9522 if test no = "$with_gnu_ld"; then 9523 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9524 hardcode_libdir_separator=: 9525 9526 case $host_cpu in 9527 hppa*64*|ia64*) 9528 hardcode_direct=no 9529 hardcode_shlibpath_var=no 9530 ;; 9531 *) 9532 hardcode_direct=yes 9533 hardcode_direct_absolute=yes 9534 export_dynamic_flag_spec='$wl-E' 9535 9536 # hardcode_minus_L: Not really in the search PATH, 9537 # but as the default location of the library. 9538 hardcode_minus_L=yes 9539 ;; 9540 esac 9541 fi 9542 ;; 9543 9544 irix5* | irix6* | nonstopux*) 9545 if test yes = "$GCC"; then 9546 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' 9547 # Try to use the -exported_symbol ld option, if it does not 9548 # work, assume that -exports_file does not work either and 9549 # implicitly export all symbols. 9550 # This should be the same for all languages, so no per-tag cache variable. 9551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9552$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9553if ${lt_cv_irix_exported_symbol+:} false; then : 9554 $as_echo_n "(cached) " >&6 9555else 9556 save_LDFLAGS=$LDFLAGS 9557 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 9558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9559/* end confdefs.h. */ 9560int foo (void) { return 0; } 9561_ACEOF 9562if ac_fn_c_try_link "$LINENO"; then : 9563 lt_cv_irix_exported_symbol=yes 9564else 9565 lt_cv_irix_exported_symbol=no 9566fi 9567rm -f core conftest.err conftest.$ac_objext \ 9568 conftest$ac_exeext conftest.$ac_ext 9569 LDFLAGS=$save_LDFLAGS 9570fi 9571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9572$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9573 if test yes = "$lt_cv_irix_exported_symbol"; then 9574 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' 9575 fi 9576 else 9577 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' 9578 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' 9579 fi 9580 archive_cmds_need_lc='no' 9581 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9582 hardcode_libdir_separator=: 9583 inherit_rpath=yes 9584 link_all_deplibs=yes 9585 ;; 9586 9587 netbsd*) 9588 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9589 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9590 else 9591 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9592 fi 9593 hardcode_libdir_flag_spec='-R$libdir' 9594 hardcode_direct=yes 9595 hardcode_shlibpath_var=no 9596 ;; 9597 9598 newsos6) 9599 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9600 hardcode_direct=yes 9601 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9602 hardcode_libdir_separator=: 9603 hardcode_shlibpath_var=no 9604 ;; 9605 9606 *nto* | *qnx*) 9607 ;; 9608 9609 openbsd* | bitrig*) 9610 if test -f /usr/libexec/ld.so; then 9611 hardcode_direct=yes 9612 hardcode_shlibpath_var=no 9613 hardcode_direct_absolute=yes 9614 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 9615 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9616 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 9617 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9618 export_dynamic_flag_spec='$wl-E' 9619 else 9620 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9621 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9622 fi 9623 else 9624 ld_shlibs=no 9625 fi 9626 ;; 9627 9628 os2*) 9629 hardcode_libdir_flag_spec='-L$libdir' 9630 hardcode_minus_L=yes 9631 allow_undefined_flag=unsupported 9632 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 9633 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9634 ;; 9635 9636 osf3*) 9637 if test yes = "$GCC"; then 9638 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 9639 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' 9640 else 9641 allow_undefined_flag=' -expect_unresolved \*' 9642 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' 9643 fi 9644 archive_cmds_need_lc='no' 9645 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9646 hardcode_libdir_separator=: 9647 ;; 9648 9649 osf4* | osf5*) # as osf3* with the addition of -msym flag 9650 if test yes = "$GCC"; then 9651 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 9652 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' 9653 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9654 else 9655 allow_undefined_flag=' -expect_unresolved \*' 9656 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' 9657 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~ 9658 $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' 9659 9660 # Both c and cxx compiler support -rpath directly 9661 hardcode_libdir_flag_spec='-rpath $libdir' 9662 fi 9663 archive_cmds_need_lc='no' 9664 hardcode_libdir_separator=: 9665 ;; 9666 9667 solaris*) 9668 no_undefined_flag=' -z defs' 9669 if test yes = "$GCC"; then 9670 wlarc='$wl' 9671 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9672 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9673 $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' 9674 else 9675 case `$CC -V 2>&1` in 9676 *"Compilers 5.0"*) 9677 wlarc='' 9678 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 9679 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9680 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9681 ;; 9682 *) 9683 wlarc='$wl' 9684 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9685 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9686 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9687 ;; 9688 esac 9689 fi 9690 hardcode_libdir_flag_spec='-R$libdir' 9691 hardcode_shlibpath_var=no 9692 case $host_os in 9693 solaris2.[0-5] | solaris2.[0-5].*) ;; 9694 *) 9695 # The compiler driver will combine and reorder linker options, 9696 # but understands '-z linker_flag'. GCC discards it without '$wl', 9697 # but is careful enough not to reorder. 9698 # Supported since Solaris 2.6 (maybe 2.5.1?) 9699 if test yes = "$GCC"; then 9700 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 9701 else 9702 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9703 fi 9704 ;; 9705 esac 9706 link_all_deplibs=yes 9707 ;; 9708 9709 sunos4*) 9710 if test sequent = "$host_vendor"; then 9711 # Use $CC to link under sequent, because it throws in some extra .o 9712 # files that make .init and .fini sections work. 9713 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9714 else 9715 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9716 fi 9717 hardcode_libdir_flag_spec='-L$libdir' 9718 hardcode_direct=yes 9719 hardcode_minus_L=yes 9720 hardcode_shlibpath_var=no 9721 ;; 9722 9723 sysv4) 9724 case $host_vendor in 9725 sni) 9726 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9727 hardcode_direct=yes # is this really true??? 9728 ;; 9729 siemens) 9730 ## LD is ld it makes a PLAMLIB 9731 ## CC just makes a GrossModule. 9732 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9733 reload_cmds='$CC -r -o $output$reload_objs' 9734 hardcode_direct=no 9735 ;; 9736 motorola) 9737 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9738 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9739 ;; 9740 esac 9741 runpath_var='LD_RUN_PATH' 9742 hardcode_shlibpath_var=no 9743 ;; 9744 9745 sysv4.3*) 9746 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9747 hardcode_shlibpath_var=no 9748 export_dynamic_flag_spec='-Bexport' 9749 ;; 9750 9751 sysv4*MP*) 9752 if test -d /usr/nec; then 9753 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9754 hardcode_shlibpath_var=no 9755 runpath_var=LD_RUN_PATH 9756 hardcode_runpath_var=yes 9757 ld_shlibs=yes 9758 fi 9759 ;; 9760 9761 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9762 no_undefined_flag='$wl-z,text' 9763 archive_cmds_need_lc=no 9764 hardcode_shlibpath_var=no 9765 runpath_var='LD_RUN_PATH' 9766 9767 if test yes = "$GCC"; then 9768 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9769 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9770 else 9771 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9772 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9773 fi 9774 ;; 9775 9776 sysv5* | sco3.2v5* | sco5v6*) 9777 # Note: We CANNOT use -z defs as we might desire, because we do not 9778 # link with -lc, and that would cause any symbols used from libc to 9779 # always be unresolved, which means just about no library would 9780 # ever link correctly. If we're not using GNU ld we use -z text 9781 # though, which does catch some bad symbols but isn't as heavy-handed 9782 # as -z defs. 9783 no_undefined_flag='$wl-z,text' 9784 allow_undefined_flag='$wl-z,nodefs' 9785 archive_cmds_need_lc=no 9786 hardcode_shlibpath_var=no 9787 hardcode_libdir_flag_spec='$wl-R,$libdir' 9788 hardcode_libdir_separator=':' 9789 link_all_deplibs=yes 9790 export_dynamic_flag_spec='$wl-Bexport' 9791 runpath_var='LD_RUN_PATH' 9792 9793 if test yes = "$GCC"; then 9794 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9795 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9796 else 9797 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9798 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9799 fi 9800 ;; 9801 9802 uts4*) 9803 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9804 hardcode_libdir_flag_spec='-L$libdir' 9805 hardcode_shlibpath_var=no 9806 ;; 9807 9808 *) 9809 ld_shlibs=no 9810 ;; 9811 esac 9812 9813 if test sni = "$host_vendor"; then 9814 case $host in 9815 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9816 export_dynamic_flag_spec='$wl-Blargedynsym' 9817 ;; 9818 esac 9819 fi 9820 fi 9821 9822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9823$as_echo "$ld_shlibs" >&6; } 9824test no = "$ld_shlibs" && can_build_shared=no 9825 9826with_gnu_ld=$with_gnu_ld 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842# 9843# Do we need to explicitly link libc? 9844# 9845case "x$archive_cmds_need_lc" in 9846x|xyes) 9847 # Assume -lc should be added 9848 archive_cmds_need_lc=yes 9849 9850 if test yes,yes = "$GCC,$enable_shared"; then 9851 case $archive_cmds in 9852 *'~'*) 9853 # FIXME: we may have to deal with multi-command sequences. 9854 ;; 9855 '$CC '*) 9856 # Test whether the compiler implicitly links with -lc since on some 9857 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9858 # to ld, don't add -lc before -lgcc. 9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9860$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9861if ${lt_cv_archive_cmds_need_lc+:} false; then : 9862 $as_echo_n "(cached) " >&6 9863else 9864 $RM conftest* 9865 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9866 9867 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9868 (eval $ac_compile) 2>&5 9869 ac_status=$? 9870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9871 test $ac_status = 0; } 2>conftest.err; then 9872 soname=conftest 9873 lib=conftest 9874 libobjs=conftest.$ac_objext 9875 deplibs= 9876 wl=$lt_prog_compiler_wl 9877 pic_flag=$lt_prog_compiler_pic 9878 compiler_flags=-v 9879 linker_flags=-v 9880 verstring= 9881 output_objdir=. 9882 libname=conftest 9883 lt_save_allow_undefined_flag=$allow_undefined_flag 9884 allow_undefined_flag= 9885 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9886 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9887 ac_status=$? 9888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9889 test $ac_status = 0; } 9890 then 9891 lt_cv_archive_cmds_need_lc=no 9892 else 9893 lt_cv_archive_cmds_need_lc=yes 9894 fi 9895 allow_undefined_flag=$lt_save_allow_undefined_flag 9896 else 9897 cat conftest.err 1>&5 9898 fi 9899 $RM conftest* 9900 9901fi 9902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9903$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9904 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9905 ;; 9906 esac 9907 fi 9908 ;; 9909esac 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10063$as_echo_n "checking dynamic linker characteristics... " >&6; } 10064 10065if test yes = "$GCC"; then 10066 case $host_os in 10067 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10068 *) lt_awk_arg='/^libraries:/' ;; 10069 esac 10070 case $host_os in 10071 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10072 *) lt_sed_strip_eq='s|=/|/|g' ;; 10073 esac 10074 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10075 case $lt_search_path_spec in 10076 *\;*) 10077 # if the path contains ";" then we assume it to be the separator 10078 # otherwise default to the standard path separator (i.e. ":") - it is 10079 # assumed that no part of a normal pathname contains ";" but that should 10080 # okay in the real world where ";" in dirpaths is itself problematic. 10081 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10082 ;; 10083 *) 10084 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10085 ;; 10086 esac 10087 # Ok, now we have the path, separated by spaces, we can step through it 10088 # and add multilib dir if necessary... 10089 lt_tmp_lt_search_path_spec= 10090 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10091 # ...but if some path component already ends with the multilib dir we assume 10092 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10093 case "$lt_multi_os_dir; $lt_search_path_spec " in 10094 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10095 lt_multi_os_dir= 10096 ;; 10097 esac 10098 for lt_sys_path in $lt_search_path_spec; do 10099 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10100 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10101 elif test -n "$lt_multi_os_dir"; then 10102 test -d "$lt_sys_path" && \ 10103 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10104 fi 10105 done 10106 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10107BEGIN {RS = " "; FS = "/|\n";} { 10108 lt_foo = ""; 10109 lt_count = 0; 10110 for (lt_i = NF; lt_i > 0; lt_i--) { 10111 if ($lt_i != "" && $lt_i != ".") { 10112 if ($lt_i == "..") { 10113 lt_count++; 10114 } else { 10115 if (lt_count == 0) { 10116 lt_foo = "/" $lt_i lt_foo; 10117 } else { 10118 lt_count--; 10119 } 10120 } 10121 } 10122 } 10123 if (lt_foo != "") { lt_freq[lt_foo]++; } 10124 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10125}'` 10126 # AWK program above erroneously prepends '/' to C:/dos/paths 10127 # for these hosts. 10128 case $host_os in 10129 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10130 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10131 esac 10132 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10133else 10134 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10135fi 10136library_names_spec= 10137libname_spec='lib$name' 10138soname_spec= 10139shrext_cmds=.so 10140postinstall_cmds= 10141postuninstall_cmds= 10142finish_cmds= 10143finish_eval= 10144shlibpath_var= 10145shlibpath_overrides_runpath=unknown 10146version_type=none 10147dynamic_linker="$host_os ld.so" 10148sys_lib_dlsearch_path_spec="/lib /usr/lib" 10149need_lib_prefix=unknown 10150hardcode_into_libs=no 10151 10152# when you set need_version to no, make sure it does not cause -set_version 10153# flags to be left without arguments 10154need_version=unknown 10155 10156case $host_os in 10157aix3*) 10158 version_type=linux # correct to gnu/linux during the next big refactor 10159 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10160 shlibpath_var=LIBPATH 10161 10162 # AIX 3 has no versioning support, so we append a major version to the name. 10163 soname_spec='$libname$release$shared_ext$major' 10164 ;; 10165 10166aix[4-9]*) 10167 version_type=linux # correct to gnu/linux during the next big refactor 10168 need_lib_prefix=no 10169 need_version=no 10170 hardcode_into_libs=yes 10171 if test ia64 = "$host_cpu"; then 10172 # AIX 5 supports IA64 10173 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10174 shlibpath_var=LD_LIBRARY_PATH 10175 else 10176 # With GCC up to 2.95.x, collect2 would create an import file 10177 # for dependence libraries. The import file would start with 10178 # the line '#! .'. This would cause the generated library to 10179 # depend on '.', always an invalid library. This was fixed in 10180 # development snapshots of GCC prior to 3.0. 10181 case $host_os in 10182 aix4 | aix4.[01] | aix4.[01].*) 10183 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10184 echo ' yes ' 10185 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10186 : 10187 else 10188 can_build_shared=no 10189 fi 10190 ;; 10191 esac 10192 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10193 # soname into executable. Probably we can add versioning support to 10194 # collect2, so additional links can be useful in future. 10195 if test yes = "$aix_use_runtimelinking"; then 10196 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10197 # instead of lib<name>.a to let people know that these are not 10198 # typical AIX shared libraries. 10199 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10200 else 10201 # We preserve .a as extension for shared libraries through AIX4.2 10202 # and later when we are not doing run time linking. 10203 library_names_spec='$libname$release.a $libname.a' 10204 soname_spec='$libname$release$shared_ext$major' 10205 fi 10206 shlibpath_var=LIBPATH 10207 fi 10208 ;; 10209 10210amigaos*) 10211 case $host_cpu in 10212 powerpc) 10213 # Since July 2007 AmigaOS4 officially supports .so libraries. 10214 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10215 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10216 ;; 10217 m68k) 10218 library_names_spec='$libname.ixlibrary $libname.a' 10219 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10220 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' 10221 ;; 10222 esac 10223 ;; 10224 10225beos*) 10226 library_names_spec='$libname$shared_ext' 10227 dynamic_linker="$host_os ld.so" 10228 shlibpath_var=LIBRARY_PATH 10229 ;; 10230 10231bsdi[45]*) 10232 version_type=linux # correct to gnu/linux during the next big refactor 10233 need_version=no 10234 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10235 soname_spec='$libname$release$shared_ext$major' 10236 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10237 shlibpath_var=LD_LIBRARY_PATH 10238 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10239 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10240 # the default ld.so.conf also contains /usr/contrib/lib and 10241 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10242 # libtool to hard-code these into programs 10243 ;; 10244 10245cygwin* | mingw* | pw32* | cegcc*) 10246 version_type=windows 10247 shrext_cmds=.dll 10248 need_version=no 10249 need_lib_prefix=no 10250 10251 case $GCC,$cc_basename in 10252 yes,*) 10253 # gcc 10254 library_names_spec='$libname.dll.a' 10255 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10256 postinstall_cmds='base_file=`basename \$file`~ 10257 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10258 dldir=$destdir/`dirname \$dlpath`~ 10259 test -d \$dldir || mkdir -p \$dldir~ 10260 $install_prog $dir/$dlname \$dldir/$dlname~ 10261 chmod a+x \$dldir/$dlname~ 10262 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10263 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10264 fi' 10265 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10266 dlpath=$dir/\$dldll~ 10267 $RM \$dlpath' 10268 shlibpath_overrides_runpath=yes 10269 10270 case $host_os in 10271 cygwin*) 10272 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10273 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10274 10275 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10276 ;; 10277 mingw* | cegcc*) 10278 # MinGW DLLs use traditional 'lib' prefix 10279 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10280 ;; 10281 pw32*) 10282 # pw32 DLLs use 'pw' prefix rather than 'lib' 10283 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10284 ;; 10285 esac 10286 dynamic_linker='Win32 ld.exe' 10287 ;; 10288 10289 *,cl*) 10290 # Native MSVC 10291 libname_spec='$name' 10292 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10293 library_names_spec='$libname.dll.lib' 10294 10295 case $build_os in 10296 mingw*) 10297 sys_lib_search_path_spec= 10298 lt_save_ifs=$IFS 10299 IFS=';' 10300 for lt_path in $LIB 10301 do 10302 IFS=$lt_save_ifs 10303 # Let DOS variable expansion print the short 8.3 style file name. 10304 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10305 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10306 done 10307 IFS=$lt_save_ifs 10308 # Convert to MSYS style. 10309 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10310 ;; 10311 cygwin*) 10312 # Convert to unix form, then to dos form, then back to unix form 10313 # but this time dos style (no spaces!) so that the unix form looks 10314 # like /cygdrive/c/PROGRA~1:/cygdr... 10315 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10316 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10317 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10318 ;; 10319 *) 10320 sys_lib_search_path_spec=$LIB 10321 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10322 # It is most probably a Windows format PATH. 10323 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10324 else 10325 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10326 fi 10327 # FIXME: find the short name or the path components, as spaces are 10328 # common. (e.g. "Program Files" -> "PROGRA~1") 10329 ;; 10330 esac 10331 10332 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10333 postinstall_cmds='base_file=`basename \$file`~ 10334 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10335 dldir=$destdir/`dirname \$dlpath`~ 10336 test -d \$dldir || mkdir -p \$dldir~ 10337 $install_prog $dir/$dlname \$dldir/$dlname' 10338 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10339 dlpath=$dir/\$dldll~ 10340 $RM \$dlpath' 10341 shlibpath_overrides_runpath=yes 10342 dynamic_linker='Win32 link.exe' 10343 ;; 10344 10345 *) 10346 # Assume MSVC wrapper 10347 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 10348 dynamic_linker='Win32 ld.exe' 10349 ;; 10350 esac 10351 # FIXME: first we should search . and the directory the executable is in 10352 shlibpath_var=PATH 10353 ;; 10354 10355darwin* | rhapsody*) 10356 dynamic_linker="$host_os dyld" 10357 version_type=darwin 10358 need_lib_prefix=no 10359 need_version=no 10360 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 10361 soname_spec='$libname$release$major$shared_ext' 10362 shlibpath_overrides_runpath=yes 10363 shlibpath_var=DYLD_LIBRARY_PATH 10364 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10365 10366 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10367 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10368 ;; 10369 10370dgux*) 10371 version_type=linux # correct to gnu/linux during the next big refactor 10372 need_lib_prefix=no 10373 need_version=no 10374 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10375 soname_spec='$libname$release$shared_ext$major' 10376 shlibpath_var=LD_LIBRARY_PATH 10377 ;; 10378 10379freebsd* | dragonfly*) 10380 # DragonFly does not have aout. When/if they implement a new 10381 # versioning mechanism, adjust this. 10382 if test -x /usr/bin/objformat; then 10383 objformat=`/usr/bin/objformat` 10384 else 10385 case $host_os in 10386 freebsd[23].*) objformat=aout ;; 10387 *) objformat=elf ;; 10388 esac 10389 fi 10390 version_type=freebsd-$objformat 10391 case $version_type in 10392 freebsd-elf*) 10393 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10394 soname_spec='$libname$release$shared_ext$major' 10395 need_version=no 10396 need_lib_prefix=no 10397 ;; 10398 freebsd-*) 10399 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10400 need_version=yes 10401 ;; 10402 esac 10403 shlibpath_var=LD_LIBRARY_PATH 10404 case $host_os in 10405 freebsd2.*) 10406 shlibpath_overrides_runpath=yes 10407 ;; 10408 freebsd3.[01]* | freebsdelf3.[01]*) 10409 shlibpath_overrides_runpath=yes 10410 hardcode_into_libs=yes 10411 ;; 10412 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10413 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10414 shlibpath_overrides_runpath=no 10415 hardcode_into_libs=yes 10416 ;; 10417 *) # from 4.6 on, and DragonFly 10418 shlibpath_overrides_runpath=yes 10419 hardcode_into_libs=yes 10420 ;; 10421 esac 10422 ;; 10423 10424haiku*) 10425 version_type=linux # correct to gnu/linux during the next big refactor 10426 need_lib_prefix=no 10427 need_version=no 10428 dynamic_linker="$host_os runtime_loader" 10429 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10430 soname_spec='$libname$release$shared_ext$major' 10431 shlibpath_var=LIBRARY_PATH 10432 shlibpath_overrides_runpath=no 10433 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10434 hardcode_into_libs=yes 10435 ;; 10436 10437hpux9* | hpux10* | hpux11*) 10438 # Give a soname corresponding to the major version so that dld.sl refuses to 10439 # link against other versions. 10440 version_type=sunos 10441 need_lib_prefix=no 10442 need_version=no 10443 case $host_cpu in 10444 ia64*) 10445 shrext_cmds='.so' 10446 hardcode_into_libs=yes 10447 dynamic_linker="$host_os dld.so" 10448 shlibpath_var=LD_LIBRARY_PATH 10449 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10450 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10451 soname_spec='$libname$release$shared_ext$major' 10452 if test 32 = "$HPUX_IA64_MODE"; then 10453 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10454 else 10455 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10456 fi 10457 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10458 ;; 10459 hppa*64*) 10460 shrext_cmds='.sl' 10461 hardcode_into_libs=yes 10462 dynamic_linker="$host_os dld.sl" 10463 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10464 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10465 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10466 soname_spec='$libname$release$shared_ext$major' 10467 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10468 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10469 ;; 10470 *) 10471 shrext_cmds='.sl' 10472 dynamic_linker="$host_os dld.sl" 10473 shlibpath_var=SHLIB_PATH 10474 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10475 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10476 soname_spec='$libname$release$shared_ext$major' 10477 ;; 10478 esac 10479 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10480 postinstall_cmds='chmod 555 $lib' 10481 # or fails outright, so override atomically: 10482 install_override_mode=555 10483 ;; 10484 10485interix[3-9]*) 10486 version_type=linux # correct to gnu/linux during the next big refactor 10487 need_lib_prefix=no 10488 need_version=no 10489 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10490 soname_spec='$libname$release$shared_ext$major' 10491 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10492 shlibpath_var=LD_LIBRARY_PATH 10493 shlibpath_overrides_runpath=no 10494 hardcode_into_libs=yes 10495 ;; 10496 10497irix5* | irix6* | nonstopux*) 10498 case $host_os in 10499 nonstopux*) version_type=nonstopux ;; 10500 *) 10501 if test yes = "$lt_cv_prog_gnu_ld"; then 10502 version_type=linux # correct to gnu/linux during the next big refactor 10503 else 10504 version_type=irix 10505 fi ;; 10506 esac 10507 need_lib_prefix=no 10508 need_version=no 10509 soname_spec='$libname$release$shared_ext$major' 10510 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 10511 case $host_os in 10512 irix5* | nonstopux*) 10513 libsuff= shlibsuff= 10514 ;; 10515 *) 10516 case $LD in # libtool.m4 will add one of these switches to LD 10517 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10518 libsuff= shlibsuff= libmagic=32-bit;; 10519 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10520 libsuff=32 shlibsuff=N32 libmagic=N32;; 10521 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10522 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10523 *) libsuff= shlibsuff= libmagic=never-match;; 10524 esac 10525 ;; 10526 esac 10527 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10528 shlibpath_overrides_runpath=no 10529 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 10530 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 10531 hardcode_into_libs=yes 10532 ;; 10533 10534# No shared lib support for Linux oldld, aout, or coff. 10535linux*oldld* | linux*aout* | linux*coff*) 10536 dynamic_linker=no 10537 ;; 10538 10539linux*android*) 10540 version_type=none # Android doesn't support versioned libraries. 10541 need_lib_prefix=no 10542 need_version=no 10543 library_names_spec='$libname$release$shared_ext' 10544 soname_spec='$libname$release$shared_ext' 10545 finish_cmds= 10546 shlibpath_var=LD_LIBRARY_PATH 10547 shlibpath_overrides_runpath=yes 10548 10549 # This implies no fast_install, which is unacceptable. 10550 # Some rework will be needed to allow for fast_install 10551 # before this can be enabled. 10552 hardcode_into_libs=yes 10553 10554 dynamic_linker='Android linker' 10555 # Don't embed -rpath directories since the linker doesn't support them. 10556 hardcode_libdir_flag_spec='-L$libdir' 10557 ;; 10558 10559# This must be glibc/ELF. 10560linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10561 version_type=linux # correct to gnu/linux during the next big refactor 10562 need_lib_prefix=no 10563 need_version=no 10564 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10565 soname_spec='$libname$release$shared_ext$major' 10566 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10567 shlibpath_var=LD_LIBRARY_PATH 10568 shlibpath_overrides_runpath=no 10569 10570 # Some binutils ld are patched to set DT_RUNPATH 10571 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10572 $as_echo_n "(cached) " >&6 10573else 10574 lt_cv_shlibpath_overrides_runpath=no 10575 save_LDFLAGS=$LDFLAGS 10576 save_libdir=$libdir 10577 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10578 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10580/* end confdefs.h. */ 10581 10582int 10583main () 10584{ 10585 10586 ; 10587 return 0; 10588} 10589_ACEOF 10590if ac_fn_c_try_link "$LINENO"; then : 10591 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10592 lt_cv_shlibpath_overrides_runpath=yes 10593fi 10594fi 10595rm -f core conftest.err conftest.$ac_objext \ 10596 conftest$ac_exeext conftest.$ac_ext 10597 LDFLAGS=$save_LDFLAGS 10598 libdir=$save_libdir 10599 10600fi 10601 10602 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10603 10604 # This implies no fast_install, which is unacceptable. 10605 # Some rework will be needed to allow for fast_install 10606 # before this can be enabled. 10607 hardcode_into_libs=yes 10608 10609 # Append ld.so.conf contents to the search path 10610 if test -f /etc/ld.so.conf; then 10611 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' ' '` 10612 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10613 fi 10614 10615 # We used to test for /lib/ld.so.1 and disable shared libraries on 10616 # powerpc, because MkLinux only supported shared libraries with the 10617 # GNU dynamic linker. Since this was broken with cross compilers, 10618 # most powerpc-linux boxes support dynamic linking these days and 10619 # people can always --disable-shared, the test was removed, and we 10620 # assume the GNU/Linux dynamic linker is in use. 10621 dynamic_linker='GNU/Linux ld.so' 10622 ;; 10623 10624netbsd*) 10625 version_type=sunos 10626 need_lib_prefix=no 10627 need_version=no 10628 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10629 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10630 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10631 dynamic_linker='NetBSD (a.out) ld.so' 10632 else 10633 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10634 soname_spec='$libname$release$shared_ext$major' 10635 dynamic_linker='NetBSD ld.elf_so' 10636 fi 10637 shlibpath_var=LD_LIBRARY_PATH 10638 shlibpath_overrides_runpath=yes 10639 hardcode_into_libs=yes 10640 ;; 10641 10642newsos6) 10643 version_type=linux # correct to gnu/linux during the next big refactor 10644 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10645 shlibpath_var=LD_LIBRARY_PATH 10646 shlibpath_overrides_runpath=yes 10647 ;; 10648 10649*nto* | *qnx*) 10650 version_type=qnx 10651 need_lib_prefix=no 10652 need_version=no 10653 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10654 soname_spec='$libname$release$shared_ext$major' 10655 shlibpath_var=LD_LIBRARY_PATH 10656 shlibpath_overrides_runpath=no 10657 hardcode_into_libs=yes 10658 dynamic_linker='ldqnx.so' 10659 ;; 10660 10661openbsd* | bitrig*) 10662 version_type=sunos 10663 sys_lib_dlsearch_path_spec=/usr/lib 10664 need_lib_prefix=no 10665 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10666 need_version=no 10667 else 10668 need_version=yes 10669 fi 10670 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10671 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10672 shlibpath_var=LD_LIBRARY_PATH 10673 shlibpath_overrides_runpath=yes 10674 ;; 10675 10676os2*) 10677 libname_spec='$name' 10678 shrext_cmds=.dll 10679 need_lib_prefix=no 10680 library_names_spec='$libname$shared_ext $libname.a' 10681 dynamic_linker='OS/2 ld.exe' 10682 shlibpath_var=LIBPATH 10683 ;; 10684 10685osf3* | osf4* | osf5*) 10686 version_type=osf 10687 need_lib_prefix=no 10688 need_version=no 10689 soname_spec='$libname$release$shared_ext$major' 10690 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10691 shlibpath_var=LD_LIBRARY_PATH 10692 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10693 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10694 ;; 10695 10696rdos*) 10697 dynamic_linker=no 10698 ;; 10699 10700solaris*) 10701 version_type=linux # correct to gnu/linux during the next big refactor 10702 need_lib_prefix=no 10703 need_version=no 10704 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10705 soname_spec='$libname$release$shared_ext$major' 10706 shlibpath_var=LD_LIBRARY_PATH 10707 shlibpath_overrides_runpath=yes 10708 hardcode_into_libs=yes 10709 # ldd complains unless libraries are executable 10710 postinstall_cmds='chmod +x $lib' 10711 ;; 10712 10713sunos4*) 10714 version_type=sunos 10715 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10716 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10717 shlibpath_var=LD_LIBRARY_PATH 10718 shlibpath_overrides_runpath=yes 10719 if test yes = "$with_gnu_ld"; then 10720 need_lib_prefix=no 10721 fi 10722 need_version=yes 10723 ;; 10724 10725sysv4 | sysv4.3*) 10726 version_type=linux # correct to gnu/linux during the next big refactor 10727 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10728 soname_spec='$libname$release$shared_ext$major' 10729 shlibpath_var=LD_LIBRARY_PATH 10730 case $host_vendor in 10731 sni) 10732 shlibpath_overrides_runpath=no 10733 need_lib_prefix=no 10734 runpath_var=LD_RUN_PATH 10735 ;; 10736 siemens) 10737 need_lib_prefix=no 10738 ;; 10739 motorola) 10740 need_lib_prefix=no 10741 need_version=no 10742 shlibpath_overrides_runpath=no 10743 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10744 ;; 10745 esac 10746 ;; 10747 10748sysv4*MP*) 10749 if test -d /usr/nec; then 10750 version_type=linux # correct to gnu/linux during the next big refactor 10751 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 10752 soname_spec='$libname$shared_ext.$major' 10753 shlibpath_var=LD_LIBRARY_PATH 10754 fi 10755 ;; 10756 10757sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10758 version_type=freebsd-elf 10759 need_lib_prefix=no 10760 need_version=no 10761 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 10762 soname_spec='$libname$release$shared_ext$major' 10763 shlibpath_var=LD_LIBRARY_PATH 10764 shlibpath_overrides_runpath=yes 10765 hardcode_into_libs=yes 10766 if test yes = "$with_gnu_ld"; then 10767 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10768 else 10769 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10770 case $host_os in 10771 sco3.2v5*) 10772 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10773 ;; 10774 esac 10775 fi 10776 sys_lib_dlsearch_path_spec='/usr/lib' 10777 ;; 10778 10779tpf*) 10780 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10781 version_type=linux # correct to gnu/linux during the next big refactor 10782 need_lib_prefix=no 10783 need_version=no 10784 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10785 shlibpath_var=LD_LIBRARY_PATH 10786 shlibpath_overrides_runpath=no 10787 hardcode_into_libs=yes 10788 ;; 10789 10790uts4*) 10791 version_type=linux # correct to gnu/linux during the next big refactor 10792 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10793 soname_spec='$libname$release$shared_ext$major' 10794 shlibpath_var=LD_LIBRARY_PATH 10795 ;; 10796 10797*) 10798 dynamic_linker=no 10799 ;; 10800esac 10801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10802$as_echo "$dynamic_linker" >&6; } 10803test no = "$dynamic_linker" && can_build_shared=no 10804 10805variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10806if test yes = "$GCC"; then 10807 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10808fi 10809 10810if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 10811 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 10812fi 10813if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 10814 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 10815fi 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10909$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10910hardcode_action= 10911if test -n "$hardcode_libdir_flag_spec" || 10912 test -n "$runpath_var" || 10913 test yes = "$hardcode_automatic"; then 10914 10915 # We can hardcode non-existent directories. 10916 if test no != "$hardcode_direct" && 10917 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10918 # have to relink, otherwise we might link with an installed library 10919 # when we should be linking with a yet-to-be-installed one 10920 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 10921 test no != "$hardcode_minus_L"; then 10922 # Linking always hardcodes the temporary library directory. 10923 hardcode_action=relink 10924 else 10925 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10926 hardcode_action=immediate 10927 fi 10928else 10929 # We cannot hardcode anything, or else we can only hardcode existing 10930 # directories. 10931 hardcode_action=unsupported 10932fi 10933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10934$as_echo "$hardcode_action" >&6; } 10935 10936if test relink = "$hardcode_action" || 10937 test yes = "$inherit_rpath"; then 10938 # Fast installation is not supported 10939 enable_fast_install=no 10940elif test yes = "$shlibpath_overrides_runpath" || 10941 test no = "$enable_shared"; then 10942 # Fast installation is not necessary 10943 enable_fast_install=needless 10944fi 10945 10946 10947 10948 10949 10950 10951 if test yes != "$enable_dlopen"; then 10952 enable_dlopen=unknown 10953 enable_dlopen_self=unknown 10954 enable_dlopen_self_static=unknown 10955else 10956 lt_cv_dlopen=no 10957 lt_cv_dlopen_libs= 10958 10959 case $host_os in 10960 beos*) 10961 lt_cv_dlopen=load_add_on 10962 lt_cv_dlopen_libs= 10963 lt_cv_dlopen_self=yes 10964 ;; 10965 10966 mingw* | pw32* | cegcc*) 10967 lt_cv_dlopen=LoadLibrary 10968 lt_cv_dlopen_libs= 10969 ;; 10970 10971 cygwin*) 10972 lt_cv_dlopen=dlopen 10973 lt_cv_dlopen_libs= 10974 ;; 10975 10976 darwin*) 10977 # if libdl is installed we need to link against it 10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10979$as_echo_n "checking for dlopen in -ldl... " >&6; } 10980if ${ac_cv_lib_dl_dlopen+:} false; then : 10981 $as_echo_n "(cached) " >&6 10982else 10983 ac_check_lib_save_LIBS=$LIBS 10984LIBS="-ldl $LIBS" 10985cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10986/* end confdefs.h. */ 10987 10988/* Override any GCC internal prototype to avoid an error. 10989 Use char because int might match the return type of a GCC 10990 builtin and then its argument prototype would still apply. */ 10991#ifdef __cplusplus 10992extern "C" 10993#endif 10994char dlopen (); 10995int 10996main () 10997{ 10998return dlopen (); 10999 ; 11000 return 0; 11001} 11002_ACEOF 11003if ac_fn_c_try_link "$LINENO"; then : 11004 ac_cv_lib_dl_dlopen=yes 11005else 11006 ac_cv_lib_dl_dlopen=no 11007fi 11008rm -f core conftest.err conftest.$ac_objext \ 11009 conftest$ac_exeext conftest.$ac_ext 11010LIBS=$ac_check_lib_save_LIBS 11011fi 11012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11013$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11014if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11015 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11016else 11017 11018 lt_cv_dlopen=dyld 11019 lt_cv_dlopen_libs= 11020 lt_cv_dlopen_self=yes 11021 11022fi 11023 11024 ;; 11025 11026 tpf*) 11027 # Don't try to run any link tests for TPF. We know it's impossible 11028 # because TPF is a cross-compiler, and we know how we open DSOs. 11029 lt_cv_dlopen=dlopen 11030 lt_cv_dlopen_libs= 11031 lt_cv_dlopen_self=no 11032 ;; 11033 11034 *) 11035 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11036if test "x$ac_cv_func_shl_load" = xyes; then : 11037 lt_cv_dlopen=shl_load 11038else 11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11040$as_echo_n "checking for shl_load in -ldld... " >&6; } 11041if ${ac_cv_lib_dld_shl_load+:} false; then : 11042 $as_echo_n "(cached) " >&6 11043else 11044 ac_check_lib_save_LIBS=$LIBS 11045LIBS="-ldld $LIBS" 11046cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11047/* end confdefs.h. */ 11048 11049/* Override any GCC internal prototype to avoid an error. 11050 Use char because int might match the return type of a GCC 11051 builtin and then its argument prototype would still apply. */ 11052#ifdef __cplusplus 11053extern "C" 11054#endif 11055char shl_load (); 11056int 11057main () 11058{ 11059return shl_load (); 11060 ; 11061 return 0; 11062} 11063_ACEOF 11064if ac_fn_c_try_link "$LINENO"; then : 11065 ac_cv_lib_dld_shl_load=yes 11066else 11067 ac_cv_lib_dld_shl_load=no 11068fi 11069rm -f core conftest.err conftest.$ac_objext \ 11070 conftest$ac_exeext conftest.$ac_ext 11071LIBS=$ac_check_lib_save_LIBS 11072fi 11073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11074$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11075if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11076 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11077else 11078 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11079if test "x$ac_cv_func_dlopen" = xyes; then : 11080 lt_cv_dlopen=dlopen 11081else 11082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11083$as_echo_n "checking for dlopen in -ldl... " >&6; } 11084if ${ac_cv_lib_dl_dlopen+:} false; then : 11085 $as_echo_n "(cached) " >&6 11086else 11087 ac_check_lib_save_LIBS=$LIBS 11088LIBS="-ldl $LIBS" 11089cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11090/* end confdefs.h. */ 11091 11092/* Override any GCC internal prototype to avoid an error. 11093 Use char because int might match the return type of a GCC 11094 builtin and then its argument prototype would still apply. */ 11095#ifdef __cplusplus 11096extern "C" 11097#endif 11098char dlopen (); 11099int 11100main () 11101{ 11102return dlopen (); 11103 ; 11104 return 0; 11105} 11106_ACEOF 11107if ac_fn_c_try_link "$LINENO"; then : 11108 ac_cv_lib_dl_dlopen=yes 11109else 11110 ac_cv_lib_dl_dlopen=no 11111fi 11112rm -f core conftest.err conftest.$ac_objext \ 11113 conftest$ac_exeext conftest.$ac_ext 11114LIBS=$ac_check_lib_save_LIBS 11115fi 11116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11117$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11118if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11119 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11120else 11121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11122$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11123if ${ac_cv_lib_svld_dlopen+:} false; then : 11124 $as_echo_n "(cached) " >&6 11125else 11126 ac_check_lib_save_LIBS=$LIBS 11127LIBS="-lsvld $LIBS" 11128cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11129/* end confdefs.h. */ 11130 11131/* Override any GCC internal prototype to avoid an error. 11132 Use char because int might match the return type of a GCC 11133 builtin and then its argument prototype would still apply. */ 11134#ifdef __cplusplus 11135extern "C" 11136#endif 11137char dlopen (); 11138int 11139main () 11140{ 11141return dlopen (); 11142 ; 11143 return 0; 11144} 11145_ACEOF 11146if ac_fn_c_try_link "$LINENO"; then : 11147 ac_cv_lib_svld_dlopen=yes 11148else 11149 ac_cv_lib_svld_dlopen=no 11150fi 11151rm -f core conftest.err conftest.$ac_objext \ 11152 conftest$ac_exeext conftest.$ac_ext 11153LIBS=$ac_check_lib_save_LIBS 11154fi 11155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11156$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11157if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11158 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11159else 11160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11161$as_echo_n "checking for dld_link in -ldld... " >&6; } 11162if ${ac_cv_lib_dld_dld_link+:} false; then : 11163 $as_echo_n "(cached) " >&6 11164else 11165 ac_check_lib_save_LIBS=$LIBS 11166LIBS="-ldld $LIBS" 11167cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11168/* end confdefs.h. */ 11169 11170/* Override any GCC internal prototype to avoid an error. 11171 Use char because int might match the return type of a GCC 11172 builtin and then its argument prototype would still apply. */ 11173#ifdef __cplusplus 11174extern "C" 11175#endif 11176char dld_link (); 11177int 11178main () 11179{ 11180return dld_link (); 11181 ; 11182 return 0; 11183} 11184_ACEOF 11185if ac_fn_c_try_link "$LINENO"; then : 11186 ac_cv_lib_dld_dld_link=yes 11187else 11188 ac_cv_lib_dld_dld_link=no 11189fi 11190rm -f core conftest.err conftest.$ac_objext \ 11191 conftest$ac_exeext conftest.$ac_ext 11192LIBS=$ac_check_lib_save_LIBS 11193fi 11194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11195$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11196if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11197 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11198fi 11199 11200 11201fi 11202 11203 11204fi 11205 11206 11207fi 11208 11209 11210fi 11211 11212 11213fi 11214 11215 ;; 11216 esac 11217 11218 if test no = "$lt_cv_dlopen"; then 11219 enable_dlopen=no 11220 else 11221 enable_dlopen=yes 11222 fi 11223 11224 case $lt_cv_dlopen in 11225 dlopen) 11226 save_CPPFLAGS=$CPPFLAGS 11227 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11228 11229 save_LDFLAGS=$LDFLAGS 11230 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11231 11232 save_LIBS=$LIBS 11233 LIBS="$lt_cv_dlopen_libs $LIBS" 11234 11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11236$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11237if ${lt_cv_dlopen_self+:} false; then : 11238 $as_echo_n "(cached) " >&6 11239else 11240 if test yes = "$cross_compiling"; then : 11241 lt_cv_dlopen_self=cross 11242else 11243 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11244 lt_status=$lt_dlunknown 11245 cat > conftest.$ac_ext <<_LT_EOF 11246#line $LINENO "configure" 11247#include "confdefs.h" 11248 11249#if HAVE_DLFCN_H 11250#include <dlfcn.h> 11251#endif 11252 11253#include <stdio.h> 11254 11255#ifdef RTLD_GLOBAL 11256# define LT_DLGLOBAL RTLD_GLOBAL 11257#else 11258# ifdef DL_GLOBAL 11259# define LT_DLGLOBAL DL_GLOBAL 11260# else 11261# define LT_DLGLOBAL 0 11262# endif 11263#endif 11264 11265/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11266 find out it does not work in some platform. */ 11267#ifndef LT_DLLAZY_OR_NOW 11268# ifdef RTLD_LAZY 11269# define LT_DLLAZY_OR_NOW RTLD_LAZY 11270# else 11271# ifdef DL_LAZY 11272# define LT_DLLAZY_OR_NOW DL_LAZY 11273# else 11274# ifdef RTLD_NOW 11275# define LT_DLLAZY_OR_NOW RTLD_NOW 11276# else 11277# ifdef DL_NOW 11278# define LT_DLLAZY_OR_NOW DL_NOW 11279# else 11280# define LT_DLLAZY_OR_NOW 0 11281# endif 11282# endif 11283# endif 11284# endif 11285#endif 11286 11287/* When -fvisbility=hidden is used, assume the code has been annotated 11288 correspondingly for the symbols needed. */ 11289#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11290int fnord () __attribute__((visibility("default"))); 11291#endif 11292 11293int fnord () { return 42; } 11294int main () 11295{ 11296 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11297 int status = $lt_dlunknown; 11298 11299 if (self) 11300 { 11301 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11302 else 11303 { 11304 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11305 else puts (dlerror ()); 11306 } 11307 /* dlclose (self); */ 11308 } 11309 else 11310 puts (dlerror ()); 11311 11312 return status; 11313} 11314_LT_EOF 11315 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11316 (eval $ac_link) 2>&5 11317 ac_status=$? 11318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11319 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11320 (./conftest; exit; ) >&5 2>/dev/null 11321 lt_status=$? 11322 case x$lt_status in 11323 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11324 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11325 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11326 esac 11327 else : 11328 # compilation failed 11329 lt_cv_dlopen_self=no 11330 fi 11331fi 11332rm -fr conftest* 11333 11334 11335fi 11336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11337$as_echo "$lt_cv_dlopen_self" >&6; } 11338 11339 if test yes = "$lt_cv_dlopen_self"; then 11340 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11342$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11343if ${lt_cv_dlopen_self_static+:} false; then : 11344 $as_echo_n "(cached) " >&6 11345else 11346 if test yes = "$cross_compiling"; then : 11347 lt_cv_dlopen_self_static=cross 11348else 11349 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11350 lt_status=$lt_dlunknown 11351 cat > conftest.$ac_ext <<_LT_EOF 11352#line $LINENO "configure" 11353#include "confdefs.h" 11354 11355#if HAVE_DLFCN_H 11356#include <dlfcn.h> 11357#endif 11358 11359#include <stdio.h> 11360 11361#ifdef RTLD_GLOBAL 11362# define LT_DLGLOBAL RTLD_GLOBAL 11363#else 11364# ifdef DL_GLOBAL 11365# define LT_DLGLOBAL DL_GLOBAL 11366# else 11367# define LT_DLGLOBAL 0 11368# endif 11369#endif 11370 11371/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11372 find out it does not work in some platform. */ 11373#ifndef LT_DLLAZY_OR_NOW 11374# ifdef RTLD_LAZY 11375# define LT_DLLAZY_OR_NOW RTLD_LAZY 11376# else 11377# ifdef DL_LAZY 11378# define LT_DLLAZY_OR_NOW DL_LAZY 11379# else 11380# ifdef RTLD_NOW 11381# define LT_DLLAZY_OR_NOW RTLD_NOW 11382# else 11383# ifdef DL_NOW 11384# define LT_DLLAZY_OR_NOW DL_NOW 11385# else 11386# define LT_DLLAZY_OR_NOW 0 11387# endif 11388# endif 11389# endif 11390# endif 11391#endif 11392 11393/* When -fvisbility=hidden is used, assume the code has been annotated 11394 correspondingly for the symbols needed. */ 11395#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11396int fnord () __attribute__((visibility("default"))); 11397#endif 11398 11399int fnord () { return 42; } 11400int main () 11401{ 11402 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11403 int status = $lt_dlunknown; 11404 11405 if (self) 11406 { 11407 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11408 else 11409 { 11410 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11411 else puts (dlerror ()); 11412 } 11413 /* dlclose (self); */ 11414 } 11415 else 11416 puts (dlerror ()); 11417 11418 return status; 11419} 11420_LT_EOF 11421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11422 (eval $ac_link) 2>&5 11423 ac_status=$? 11424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11425 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11426 (./conftest; exit; ) >&5 2>/dev/null 11427 lt_status=$? 11428 case x$lt_status in 11429 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11430 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11431 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11432 esac 11433 else : 11434 # compilation failed 11435 lt_cv_dlopen_self_static=no 11436 fi 11437fi 11438rm -fr conftest* 11439 11440 11441fi 11442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11443$as_echo "$lt_cv_dlopen_self_static" >&6; } 11444 fi 11445 11446 CPPFLAGS=$save_CPPFLAGS 11447 LDFLAGS=$save_LDFLAGS 11448 LIBS=$save_LIBS 11449 ;; 11450 esac 11451 11452 case $lt_cv_dlopen_self in 11453 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11454 *) enable_dlopen_self=unknown ;; 11455 esac 11456 11457 case $lt_cv_dlopen_self_static in 11458 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11459 *) enable_dlopen_self_static=unknown ;; 11460 esac 11461fi 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479striplib= 11480old_striplib= 11481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11482$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11483if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11484 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11485 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11487$as_echo "yes" >&6; } 11488else 11489# FIXME - insert some real tests, host_os isn't really good enough 11490 case $host_os in 11491 darwin*) 11492 if test -n "$STRIP"; then 11493 striplib="$STRIP -x" 11494 old_striplib="$STRIP -S" 11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11496$as_echo "yes" >&6; } 11497 else 11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11499$as_echo "no" >&6; } 11500 fi 11501 ;; 11502 *) 11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11504$as_echo "no" >&6; } 11505 ;; 11506 esac 11507fi 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 # Report what library types will actually be built 11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11522$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11524$as_echo "$can_build_shared" >&6; } 11525 11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11527$as_echo_n "checking whether to build shared libraries... " >&6; } 11528 test no = "$can_build_shared" && enable_shared=no 11529 11530 # On AIX, shared libraries and static libraries use the same namespace, and 11531 # are all built from PIC. 11532 case $host_os in 11533 aix3*) 11534 test yes = "$enable_shared" && enable_static=no 11535 if test -n "$RANLIB"; then 11536 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11537 postinstall_cmds='$RANLIB $lib' 11538 fi 11539 ;; 11540 11541 aix[4-9]*) 11542 if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then 11543 test yes = "$enable_shared" && enable_static=no 11544 fi 11545 ;; 11546 esac 11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11548$as_echo "$enable_shared" >&6; } 11549 11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11551$as_echo_n "checking whether to build static libraries... " >&6; } 11552 # Make sure either enable_shared or enable_static is yes. 11553 test yes = "$enable_shared" || enable_static=yes 11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11555$as_echo "$enable_static" >&6; } 11556 11557 11558 11559 11560fi 11561ac_ext=c 11562ac_cpp='$CPP $CPPFLAGS' 11563ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11564ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11565ac_compiler_gnu=$ac_cv_c_compiler_gnu 11566 11567CC=$lt_save_CC 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 ac_config_commands="$ac_config_commands libtool" 11584 11585 11586 11587 11588# Only expand once: 11589 11590 11591 11592ac_config_headers="$ac_config_headers config.h" 11593 11594 11595# Checks for programs. 11596for ac_prog in gawk mawk nawk awk 11597do 11598 # Extract the first word of "$ac_prog", so it can be a program name with args. 11599set dummy $ac_prog; ac_word=$2 11600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11601$as_echo_n "checking for $ac_word... " >&6; } 11602if ${ac_cv_prog_AWK+:} false; then : 11603 $as_echo_n "(cached) " >&6 11604else 11605 if test -n "$AWK"; then 11606 ac_cv_prog_AWK="$AWK" # Let the user override the test. 11607else 11608as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11609for as_dir in $PATH 11610do 11611 IFS=$as_save_IFS 11612 test -z "$as_dir" && as_dir=. 11613 for ac_exec_ext in '' $ac_executable_extensions; do 11614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11615 ac_cv_prog_AWK="$ac_prog" 11616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11617 break 2 11618 fi 11619done 11620 done 11621IFS=$as_save_IFS 11622 11623fi 11624fi 11625AWK=$ac_cv_prog_AWK 11626if test -n "$AWK"; then 11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 11628$as_echo "$AWK" >&6; } 11629else 11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11631$as_echo "no" >&6; } 11632fi 11633 11634 11635 test -n "$AWK" && break 11636done 11637 11638ac_ext=c 11639ac_cpp='$CPP $CPPFLAGS' 11640ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11641ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11642ac_compiler_gnu=$ac_cv_c_compiler_gnu 11643if test -n "$ac_tool_prefix"; then 11644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 11645set dummy ${ac_tool_prefix}gcc; ac_word=$2 11646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11647$as_echo_n "checking for $ac_word... " >&6; } 11648if ${ac_cv_prog_CC+:} false; then : 11649 $as_echo_n "(cached) " >&6 11650else 11651 if test -n "$CC"; then 11652 ac_cv_prog_CC="$CC" # Let the user override the test. 11653else 11654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11655for as_dir in $PATH 11656do 11657 IFS=$as_save_IFS 11658 test -z "$as_dir" && as_dir=. 11659 for ac_exec_ext in '' $ac_executable_extensions; do 11660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11661 ac_cv_prog_CC="${ac_tool_prefix}gcc" 11662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11663 break 2 11664 fi 11665done 11666 done 11667IFS=$as_save_IFS 11668 11669fi 11670fi 11671CC=$ac_cv_prog_CC 11672if test -n "$CC"; then 11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 11674$as_echo "$CC" >&6; } 11675else 11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11677$as_echo "no" >&6; } 11678fi 11679 11680 11681fi 11682if test -z "$ac_cv_prog_CC"; then 11683 ac_ct_CC=$CC 11684 # Extract the first word of "gcc", so it can be a program name with args. 11685set dummy gcc; ac_word=$2 11686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11687$as_echo_n "checking for $ac_word... " >&6; } 11688if ${ac_cv_prog_ac_ct_CC+:} false; then : 11689 $as_echo_n "(cached) " >&6 11690else 11691 if test -n "$ac_ct_CC"; then 11692 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 11693else 11694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11695for as_dir in $PATH 11696do 11697 IFS=$as_save_IFS 11698 test -z "$as_dir" && as_dir=. 11699 for ac_exec_ext in '' $ac_executable_extensions; do 11700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11701 ac_cv_prog_ac_ct_CC="gcc" 11702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11703 break 2 11704 fi 11705done 11706 done 11707IFS=$as_save_IFS 11708 11709fi 11710fi 11711ac_ct_CC=$ac_cv_prog_ac_ct_CC 11712if test -n "$ac_ct_CC"; then 11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 11714$as_echo "$ac_ct_CC" >&6; } 11715else 11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11717$as_echo "no" >&6; } 11718fi 11719 11720 if test "x$ac_ct_CC" = x; then 11721 CC="" 11722 else 11723 case $cross_compiling:$ac_tool_warned in 11724yes:) 11725{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11726$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11727ac_tool_warned=yes ;; 11728esac 11729 CC=$ac_ct_CC 11730 fi 11731else 11732 CC="$ac_cv_prog_CC" 11733fi 11734 11735if test -z "$CC"; then 11736 if test -n "$ac_tool_prefix"; then 11737 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 11738set dummy ${ac_tool_prefix}cc; ac_word=$2 11739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11740$as_echo_n "checking for $ac_word... " >&6; } 11741if ${ac_cv_prog_CC+:} false; then : 11742 $as_echo_n "(cached) " >&6 11743else 11744 if test -n "$CC"; then 11745 ac_cv_prog_CC="$CC" # Let the user override the test. 11746else 11747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11748for as_dir in $PATH 11749do 11750 IFS=$as_save_IFS 11751 test -z "$as_dir" && as_dir=. 11752 for ac_exec_ext in '' $ac_executable_extensions; do 11753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11754 ac_cv_prog_CC="${ac_tool_prefix}cc" 11755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11756 break 2 11757 fi 11758done 11759 done 11760IFS=$as_save_IFS 11761 11762fi 11763fi 11764CC=$ac_cv_prog_CC 11765if test -n "$CC"; then 11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 11767$as_echo "$CC" >&6; } 11768else 11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11770$as_echo "no" >&6; } 11771fi 11772 11773 11774 fi 11775fi 11776if test -z "$CC"; then 11777 # Extract the first word of "cc", so it can be a program name with args. 11778set dummy cc; ac_word=$2 11779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11780$as_echo_n "checking for $ac_word... " >&6; } 11781if ${ac_cv_prog_CC+:} false; then : 11782 $as_echo_n "(cached) " >&6 11783else 11784 if test -n "$CC"; then 11785 ac_cv_prog_CC="$CC" # Let the user override the test. 11786else 11787 ac_prog_rejected=no 11788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11789for as_dir in $PATH 11790do 11791 IFS=$as_save_IFS 11792 test -z "$as_dir" && as_dir=. 11793 for ac_exec_ext in '' $ac_executable_extensions; do 11794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 11796 ac_prog_rejected=yes 11797 continue 11798 fi 11799 ac_cv_prog_CC="cc" 11800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11801 break 2 11802 fi 11803done 11804 done 11805IFS=$as_save_IFS 11806 11807if test $ac_prog_rejected = yes; then 11808 # We found a bogon in the path, so make sure we never use it. 11809 set dummy $ac_cv_prog_CC 11810 shift 11811 if test $# != 0; then 11812 # We chose a different compiler from the bogus one. 11813 # However, it has the same basename, so the bogon will be chosen 11814 # first if we set CC to just the basename; use the full file name. 11815 shift 11816 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 11817 fi 11818fi 11819fi 11820fi 11821CC=$ac_cv_prog_CC 11822if test -n "$CC"; then 11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 11824$as_echo "$CC" >&6; } 11825else 11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11827$as_echo "no" >&6; } 11828fi 11829 11830 11831fi 11832if test -z "$CC"; then 11833 if test -n "$ac_tool_prefix"; then 11834 for ac_prog in cl.exe 11835 do 11836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 11837set dummy $ac_tool_prefix$ac_prog; ac_word=$2 11838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11839$as_echo_n "checking for $ac_word... " >&6; } 11840if ${ac_cv_prog_CC+:} false; then : 11841 $as_echo_n "(cached) " >&6 11842else 11843 if test -n "$CC"; then 11844 ac_cv_prog_CC="$CC" # Let the user override the test. 11845else 11846as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11847for as_dir in $PATH 11848do 11849 IFS=$as_save_IFS 11850 test -z "$as_dir" && as_dir=. 11851 for ac_exec_ext in '' $ac_executable_extensions; do 11852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11853 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 11854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11855 break 2 11856 fi 11857done 11858 done 11859IFS=$as_save_IFS 11860 11861fi 11862fi 11863CC=$ac_cv_prog_CC 11864if test -n "$CC"; then 11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 11866$as_echo "$CC" >&6; } 11867else 11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11869$as_echo "no" >&6; } 11870fi 11871 11872 11873 test -n "$CC" && break 11874 done 11875fi 11876if test -z "$CC"; then 11877 ac_ct_CC=$CC 11878 for ac_prog in cl.exe 11879do 11880 # Extract the first word of "$ac_prog", so it can be a program name with args. 11881set dummy $ac_prog; ac_word=$2 11882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11883$as_echo_n "checking for $ac_word... " >&6; } 11884if ${ac_cv_prog_ac_ct_CC+:} false; then : 11885 $as_echo_n "(cached) " >&6 11886else 11887 if test -n "$ac_ct_CC"; then 11888 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 11889else 11890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11891for as_dir in $PATH 11892do 11893 IFS=$as_save_IFS 11894 test -z "$as_dir" && as_dir=. 11895 for ac_exec_ext in '' $ac_executable_extensions; do 11896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11897 ac_cv_prog_ac_ct_CC="$ac_prog" 11898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11899 break 2 11900 fi 11901done 11902 done 11903IFS=$as_save_IFS 11904 11905fi 11906fi 11907ac_ct_CC=$ac_cv_prog_ac_ct_CC 11908if test -n "$ac_ct_CC"; then 11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 11910$as_echo "$ac_ct_CC" >&6; } 11911else 11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11913$as_echo "no" >&6; } 11914fi 11915 11916 11917 test -n "$ac_ct_CC" && break 11918done 11919 11920 if test "x$ac_ct_CC" = x; then 11921 CC="" 11922 else 11923 case $cross_compiling:$ac_tool_warned in 11924yes:) 11925{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11926$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11927ac_tool_warned=yes ;; 11928esac 11929 CC=$ac_ct_CC 11930 fi 11931fi 11932 11933fi 11934 11935 11936test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11937$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11938as_fn_error $? "no acceptable C compiler found in \$PATH 11939See \`config.log' for more details" "$LINENO" 5; } 11940 11941# Provide some information about the compiler. 11942$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 11943set X $ac_compile 11944ac_compiler=$2 11945for ac_option in --version -v -V -qversion; do 11946 { { ac_try="$ac_compiler $ac_option >&5" 11947case "(($ac_try" in 11948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11949 *) ac_try_echo=$ac_try;; 11950esac 11951eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 11952$as_echo "$ac_try_echo"; } >&5 11953 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 11954 ac_status=$? 11955 if test -s conftest.err; then 11956 sed '10a\ 11957... rest of stderr output deleted ... 11958 10q' conftest.err >conftest.er1 11959 cat conftest.er1 >&5 11960 fi 11961 rm -f conftest.er1 conftest.err 11962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11963 test $ac_status = 0; } 11964done 11965 11966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 11967$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 11968if ${ac_cv_c_compiler_gnu+:} false; then : 11969 $as_echo_n "(cached) " >&6 11970else 11971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11972/* end confdefs.h. */ 11973 11974int 11975main () 11976{ 11977#ifndef __GNUC__ 11978 choke me 11979#endif 11980 11981 ; 11982 return 0; 11983} 11984_ACEOF 11985if ac_fn_c_try_compile "$LINENO"; then : 11986 ac_compiler_gnu=yes 11987else 11988 ac_compiler_gnu=no 11989fi 11990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11991ac_cv_c_compiler_gnu=$ac_compiler_gnu 11992 11993fi 11994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 11995$as_echo "$ac_cv_c_compiler_gnu" >&6; } 11996if test $ac_compiler_gnu = yes; then 11997 GCC=yes 11998else 11999 GCC= 12000fi 12001ac_test_CFLAGS=${CFLAGS+set} 12002ac_save_CFLAGS=$CFLAGS 12003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 12004$as_echo_n "checking whether $CC accepts -g... " >&6; } 12005if ${ac_cv_prog_cc_g+:} false; then : 12006 $as_echo_n "(cached) " >&6 12007else 12008 ac_save_c_werror_flag=$ac_c_werror_flag 12009 ac_c_werror_flag=yes 12010 ac_cv_prog_cc_g=no 12011 CFLAGS="-g" 12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12013/* end confdefs.h. */ 12014 12015int 12016main () 12017{ 12018 12019 ; 12020 return 0; 12021} 12022_ACEOF 12023if ac_fn_c_try_compile "$LINENO"; then : 12024 ac_cv_prog_cc_g=yes 12025else 12026 CFLAGS="" 12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12028/* end confdefs.h. */ 12029 12030int 12031main () 12032{ 12033 12034 ; 12035 return 0; 12036} 12037_ACEOF 12038if ac_fn_c_try_compile "$LINENO"; then : 12039 12040else 12041 ac_c_werror_flag=$ac_save_c_werror_flag 12042 CFLAGS="-g" 12043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12044/* end confdefs.h. */ 12045 12046int 12047main () 12048{ 12049 12050 ; 12051 return 0; 12052} 12053_ACEOF 12054if ac_fn_c_try_compile "$LINENO"; then : 12055 ac_cv_prog_cc_g=yes 12056fi 12057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12058fi 12059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12060fi 12061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12062 ac_c_werror_flag=$ac_save_c_werror_flag 12063fi 12064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 12065$as_echo "$ac_cv_prog_cc_g" >&6; } 12066if test "$ac_test_CFLAGS" = set; then 12067 CFLAGS=$ac_save_CFLAGS 12068elif test $ac_cv_prog_cc_g = yes; then 12069 if test "$GCC" = yes; then 12070 CFLAGS="-g -O2" 12071 else 12072 CFLAGS="-g" 12073 fi 12074else 12075 if test "$GCC" = yes; then 12076 CFLAGS="-O2" 12077 else 12078 CFLAGS= 12079 fi 12080fi 12081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 12082$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 12083if ${ac_cv_prog_cc_c89+:} false; then : 12084 $as_echo_n "(cached) " >&6 12085else 12086 ac_cv_prog_cc_c89=no 12087ac_save_CC=$CC 12088cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12089/* end confdefs.h. */ 12090#include <stdarg.h> 12091#include <stdio.h> 12092struct stat; 12093/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 12094struct buf { int x; }; 12095FILE * (*rcsopen) (struct buf *, struct stat *, int); 12096static char *e (p, i) 12097 char **p; 12098 int i; 12099{ 12100 return p[i]; 12101} 12102static char *f (char * (*g) (char **, int), char **p, ...) 12103{ 12104 char *s; 12105 va_list v; 12106 va_start (v,p); 12107 s = g (p, va_arg (v,int)); 12108 va_end (v); 12109 return s; 12110} 12111 12112/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 12113 function prototypes and stuff, but not '\xHH' hex character constants. 12114 These don't provoke an error unfortunately, instead are silently treated 12115 as 'x'. The following induces an error, until -std is added to get 12116 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 12117 array size at least. It's necessary to write '\x00'==0 to get something 12118 that's true only with -std. */ 12119int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 12120 12121/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 12122 inside strings and character constants. */ 12123#define FOO(x) 'x' 12124int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 12125 12126int test (int i, double x); 12127struct s1 {int (*f) (int a);}; 12128struct s2 {int (*f) (double a);}; 12129int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 12130int argc; 12131char **argv; 12132int 12133main () 12134{ 12135return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 12136 ; 12137 return 0; 12138} 12139_ACEOF 12140for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 12141 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 12142do 12143 CC="$ac_save_CC $ac_arg" 12144 if ac_fn_c_try_compile "$LINENO"; then : 12145 ac_cv_prog_cc_c89=$ac_arg 12146fi 12147rm -f core conftest.err conftest.$ac_objext 12148 test "x$ac_cv_prog_cc_c89" != "xno" && break 12149done 12150rm -f conftest.$ac_ext 12151CC=$ac_save_CC 12152 12153fi 12154# AC_CACHE_VAL 12155case "x$ac_cv_prog_cc_c89" in 12156 x) 12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 12158$as_echo "none needed" >&6; } ;; 12159 xno) 12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 12161$as_echo "unsupported" >&6; } ;; 12162 *) 12163 CC="$CC $ac_cv_prog_cc_c89" 12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 12165$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 12166esac 12167if test "x$ac_cv_prog_cc_c89" != xno; then : 12168 12169fi 12170 12171ac_ext=c 12172ac_cpp='$CPP $CPPFLAGS' 12173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12175ac_compiler_gnu=$ac_cv_c_compiler_gnu 12176 12177ac_ext=c 12178ac_cpp='$CPP $CPPFLAGS' 12179ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12180ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12181ac_compiler_gnu=$ac_cv_c_compiler_gnu 12182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 12183$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 12184if ${am_cv_prog_cc_c_o+:} false; then : 12185 $as_echo_n "(cached) " >&6 12186else 12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12188/* end confdefs.h. */ 12189 12190int 12191main () 12192{ 12193 12194 ; 12195 return 0; 12196} 12197_ACEOF 12198 # Make sure it works both with $CC and with simple cc. 12199 # Following AC_PROG_CC_C_O, we do the test twice because some 12200 # compilers refuse to overwrite an existing .o file with -o, 12201 # though they will create one. 12202 am_cv_prog_cc_c_o=yes 12203 for am_i in 1 2; do 12204 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 12205 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 12206 ac_status=$? 12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12208 (exit $ac_status); } \ 12209 && test -f conftest2.$ac_objext; then 12210 : OK 12211 else 12212 am_cv_prog_cc_c_o=no 12213 break 12214 fi 12215 done 12216 rm -f core conftest* 12217 unset am_i 12218fi 12219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 12220$as_echo "$am_cv_prog_cc_c_o" >&6; } 12221if test "$am_cv_prog_cc_c_o" != yes; then 12222 # Losing compiler, so override with the script. 12223 # FIXME: It is wrong to rewrite CC. 12224 # But if we don't then we get into trouble of one sort or another. 12225 # A longer-term fix would be to have automake use am__CC in this case, 12226 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 12227 CC="$am_aux_dir/compile $CC" 12228fi 12229ac_ext=c 12230ac_cpp='$CPP $CPPFLAGS' 12231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12233ac_compiler_gnu=$ac_cv_c_compiler_gnu 12234 12235 12236depcc="$CC" am_compiler_list= 12237 12238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 12239$as_echo_n "checking dependency style of $depcc... " >&6; } 12240if ${am_cv_CC_dependencies_compiler_type+:} false; then : 12241 $as_echo_n "(cached) " >&6 12242else 12243 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 12244 # We make a subdir and do the tests there. Otherwise we can end up 12245 # making bogus files that we don't know about and never remove. For 12246 # instance it was reported that on HP-UX the gcc test will end up 12247 # making a dummy file named 'D' -- because '-MD' means "put the output 12248 # in D". 12249 rm -rf conftest.dir 12250 mkdir conftest.dir 12251 # Copy depcomp to subdir because otherwise we won't find it if we're 12252 # using a relative directory. 12253 cp "$am_depcomp" conftest.dir 12254 cd conftest.dir 12255 # We will build objects and dependencies in a subdirectory because 12256 # it helps to detect inapplicable dependency modes. For instance 12257 # both Tru64's cc and ICC support -MD to output dependencies as a 12258 # side effect of compilation, but ICC will put the dependencies in 12259 # the current directory while Tru64 will put them in the object 12260 # directory. 12261 mkdir sub 12262 12263 am_cv_CC_dependencies_compiler_type=none 12264 if test "$am_compiler_list" = ""; then 12265 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 12266 fi 12267 am__universal=false 12268 case " $depcc " in #( 12269 *\ -arch\ *\ -arch\ *) am__universal=true ;; 12270 esac 12271 12272 for depmode in $am_compiler_list; do 12273 # Setup a source with many dependencies, because some compilers 12274 # like to wrap large dependency lists on column 80 (with \), and 12275 # we should not choose a depcomp mode which is confused by this. 12276 # 12277 # We need to recreate these files for each test, as the compiler may 12278 # overwrite some of them when testing with obscure command lines. 12279 # This happens at least with the AIX C compiler. 12280 : > sub/conftest.c 12281 for i in 1 2 3 4 5 6; do 12282 echo '#include "conftst'$i'.h"' >> sub/conftest.c 12283 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 12284 # Solaris 10 /bin/sh. 12285 echo '/* dummy */' > sub/conftst$i.h 12286 done 12287 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 12288 12289 # We check with '-c' and '-o' for the sake of the "dashmstdout" 12290 # mode. It turns out that the SunPro C++ compiler does not properly 12291 # handle '-M -o', and we need to detect this. Also, some Intel 12292 # versions had trouble with output in subdirs. 12293 am__obj=sub/conftest.${OBJEXT-o} 12294 am__minus_obj="-o $am__obj" 12295 case $depmode in 12296 gcc) 12297 # This depmode causes a compiler race in universal mode. 12298 test "$am__universal" = false || continue 12299 ;; 12300 nosideeffect) 12301 # After this tag, mechanisms are not by side-effect, so they'll 12302 # only be used when explicitly requested. 12303 if test "x$enable_dependency_tracking" = xyes; then 12304 continue 12305 else 12306 break 12307 fi 12308 ;; 12309 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 12310 # This compiler won't grok '-c -o', but also, the minuso test has 12311 # not run yet. These depmodes are late enough in the game, and 12312 # so weak that their functioning should not be impacted. 12313 am__obj=conftest.${OBJEXT-o} 12314 am__minus_obj= 12315 ;; 12316 none) break ;; 12317 esac 12318 if depmode=$depmode \ 12319 source=sub/conftest.c object=$am__obj \ 12320 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 12321 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 12322 >/dev/null 2>conftest.err && 12323 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 12324 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 12325 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 12326 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 12327 # icc doesn't choke on unknown options, it will just issue warnings 12328 # or remarks (even with -Werror). So we grep stderr for any message 12329 # that says an option was ignored or not supported. 12330 # When given -MP, icc 7.0 and 7.1 complain thusly: 12331 # icc: Command line warning: ignoring option '-M'; no argument required 12332 # The diagnosis changed in icc 8.0: 12333 # icc: Command line remark: option '-MP' not supported 12334 if (grep 'ignoring option' conftest.err || 12335 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 12336 am_cv_CC_dependencies_compiler_type=$depmode 12337 break 12338 fi 12339 fi 12340 done 12341 12342 cd .. 12343 rm -rf conftest.dir 12344else 12345 am_cv_CC_dependencies_compiler_type=none 12346fi 12347 12348fi 12349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 12350$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 12351CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 12352 12353 if 12354 test "x$enable_dependency_tracking" != xno \ 12355 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 12356 am__fastdepCC_TRUE= 12357 am__fastdepCC_FALSE='#' 12358else 12359 am__fastdepCC_TRUE='#' 12360 am__fastdepCC_FALSE= 12361fi 12362 12363 12364 12365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 12366$as_echo_n "checking whether ln -s works... " >&6; } 12367LN_S=$as_ln_s 12368if test "$LN_S" = "ln -s"; then 12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12370$as_echo "yes" >&6; } 12371else 12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 12373$as_echo "no, using $LN_S" >&6; } 12374fi 12375 12376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 12377$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 12378set x ${MAKE-make} 12379ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 12380if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 12381 $as_echo_n "(cached) " >&6 12382else 12383 cat >conftest.make <<\_ACEOF 12384SHELL = /bin/sh 12385all: 12386 @echo '@@@%%%=$(MAKE)=@@@%%%' 12387_ACEOF 12388# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 12389case `${MAKE-make} -f conftest.make 2>/dev/null` in 12390 *@@@%%%=?*=@@@%%%*) 12391 eval ac_cv_prog_make_${ac_make}_set=yes;; 12392 *) 12393 eval ac_cv_prog_make_${ac_make}_set=no;; 12394esac 12395rm -f conftest.make 12396fi 12397if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12399$as_echo "yes" >&6; } 12400 SET_MAKE= 12401else 12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12403$as_echo "no" >&6; } 12404 SET_MAKE="MAKE=${MAKE-make}" 12405fi 12406 12407 12408# Checks for libraries. 12409 12410# Checks for header files. 12411for ac_header in errno.h stdlib.h string.h syslog.h unistd.h 12412do : 12413 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12414ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 12415if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12416 cat >>confdefs.h <<_ACEOF 12417#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12418_ACEOF 12419 12420fi 12421 12422done 12423 12424 12425# Checks for typedefs, structures, and compiler characteristics. 12426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 12427$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 12428if ${ac_cv_c_const+:} false; then : 12429 $as_echo_n "(cached) " >&6 12430else 12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12432/* end confdefs.h. */ 12433 12434int 12435main () 12436{ 12437 12438#ifndef __cplusplus 12439 /* Ultrix mips cc rejects this sort of thing. */ 12440 typedef int charset[2]; 12441 const charset cs = { 0, 0 }; 12442 /* SunOS 4.1.1 cc rejects this. */ 12443 char const *const *pcpcc; 12444 char **ppc; 12445 /* NEC SVR4.0.2 mips cc rejects this. */ 12446 struct point {int x, y;}; 12447 static struct point const zero = {0,0}; 12448 /* AIX XL C 1.02.0.0 rejects this. 12449 It does not let you subtract one const X* pointer from another in 12450 an arm of an if-expression whose if-part is not a constant 12451 expression */ 12452 const char *g = "string"; 12453 pcpcc = &g + (g ? g-g : 0); 12454 /* HPUX 7.0 cc rejects these. */ 12455 ++pcpcc; 12456 ppc = (char**) pcpcc; 12457 pcpcc = (char const *const *) ppc; 12458 { /* SCO 3.2v4 cc rejects this sort of thing. */ 12459 char tx; 12460 char *t = &tx; 12461 char const *s = 0 ? (char *) 0 : (char const *) 0; 12462 12463 *t++ = 0; 12464 if (s) return 0; 12465 } 12466 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 12467 int x[] = {25, 17}; 12468 const int *foo = &x[0]; 12469 ++foo; 12470 } 12471 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 12472 typedef const int *iptr; 12473 iptr p = 0; 12474 ++p; 12475 } 12476 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 12477 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 12478 struct s { int j; const int *ap[3]; } bx; 12479 struct s *b = &bx; b->j = 5; 12480 } 12481 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 12482 const int foo = 10; 12483 if (!foo) return 0; 12484 } 12485 return !cs[0] && !zero.x; 12486#endif 12487 12488 ; 12489 return 0; 12490} 12491_ACEOF 12492if ac_fn_c_try_compile "$LINENO"; then : 12493 ac_cv_c_const=yes 12494else 12495 ac_cv_c_const=no 12496fi 12497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12498fi 12499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 12500$as_echo "$ac_cv_c_const" >&6; } 12501if test $ac_cv_c_const = no; then 12502 12503$as_echo "#define const /**/" >>confdefs.h 12504 12505fi 12506 12507ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 12508if test "x$ac_cv_type_size_t" = xyes; then : 12509 12510else 12511 12512cat >>confdefs.h <<_ACEOF 12513#define size_t unsigned int 12514_ACEOF 12515 12516fi 12517 12518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 12519$as_echo_n "checking for uid_t in sys/types.h... " >&6; } 12520if ${ac_cv_type_uid_t+:} false; then : 12521 $as_echo_n "(cached) " >&6 12522else 12523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12524/* end confdefs.h. */ 12525#include <sys/types.h> 12526 12527_ACEOF 12528if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12529 $EGREP "uid_t" >/dev/null 2>&1; then : 12530 ac_cv_type_uid_t=yes 12531else 12532 ac_cv_type_uid_t=no 12533fi 12534rm -f conftest* 12535 12536fi 12537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 12538$as_echo "$ac_cv_type_uid_t" >&6; } 12539if test $ac_cv_type_uid_t = no; then 12540 12541$as_echo "#define uid_t int" >>confdefs.h 12542 12543 12544$as_echo "#define gid_t int" >>confdefs.h 12545 12546fi 12547 12548 12549# Checks for library functions. 12550for ac_func in malloc realloc memset strchr strerror strspn 12551do : 12552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12553ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 12554if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 12555 cat >>confdefs.h <<_ACEOF 12556#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12557_ACEOF 12558 12559fi 12560done 12561 12562 12563ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy" 12564if test "x$ac_cv_func_strlcpy" = xyes; then : 12565 $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h 12566 12567else 12568 case " $LIBOBJS " in 12569 *" strlcpy.$ac_objext "* ) ;; 12570 *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext" 12571 ;; 12572esac 12573 12574fi 12575 12576 12577 12578 12579# Check whether --with-minuid was given. 12580if test "${with_minuid+set}" = set; then : 12581 withval=$with_minuid; minuid="$withval" 12582else 12583 minuid=100 12584fi 12585 12586 12587 12588cat >>confdefs.h <<_ACEOF 12589#define MIN_UID $minuid 12590_ACEOF 12591 12592 12593# Checks if courier-authlib is installed. 12594for ac_prog in courierauthconfig 12595do 12596 # Extract the first word of "$ac_prog", so it can be a program name with args. 12597set dummy $ac_prog; ac_word=$2 12598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12599$as_echo_n "checking for $ac_word... " >&6; } 12600if ${ac_cv_path_COURIERAUTHCONFIG+:} false; then : 12601 $as_echo_n "(cached) " >&6 12602else 12603 case $COURIERAUTHCONFIG in 12604 [\\/]* | ?:[\\/]*) 12605 ac_cv_path_COURIERAUTHCONFIG="$COURIERAUTHCONFIG" # Let the user override the test with a path. 12606 ;; 12607 *) 12608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12609for as_dir in $PATH 12610do 12611 IFS=$as_save_IFS 12612 test -z "$as_dir" && as_dir=. 12613 for ac_exec_ext in '' $ac_executable_extensions; do 12614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12615 ac_cv_path_COURIERAUTHCONFIG="$as_dir/$ac_word$ac_exec_ext" 12616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12617 break 2 12618 fi 12619done 12620 done 12621IFS=$as_save_IFS 12622 12623 ;; 12624esac 12625fi 12626COURIERAUTHCONFIG=$ac_cv_path_COURIERAUTHCONFIG 12627if test -n "$COURIERAUTHCONFIG"; then 12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COURIERAUTHCONFIG" >&5 12629$as_echo "$COURIERAUTHCONFIG" >&6; } 12630else 12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12632$as_echo "no" >&6; } 12633fi 12634 12635 12636 test -n "$COURIERAUTHCONFIG" && break 12637done 12638 12639 12640if test "$COURIERAUTHCONFIG" = "" 12641then 12642 hash='#' 12643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Courier authentication library not found." >&5 12644$as_echo "$as_me: WARNING: === Courier authentication library not found." >&2;} 12645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You need to download and install" >&5 12646$as_echo "$as_me: WARNING: === You need to download and install" >&2;} 12647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === http://www.courier-mta.org/download.html${hash}authlib first." >&5 12648$as_echo "$as_me: WARNING: === http://www.courier-mta.org/download.html${hash}authlib first." >&2;} 12649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === If courier-authlib is installed in a non-default" >&5 12650$as_echo "$as_me: WARNING: === If courier-authlib is installed in a non-default" >&2;} 12651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === directory, set the COURIERAUTHCONFIG environment" >&5 12652$as_echo "$as_me: WARNING: === directory, set the COURIERAUTHCONFIG environment" >&2;} 12653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === variable to the full path to the courierauthconfig" >&5 12654$as_echo "$as_me: WARNING: === variable to the full path to the courierauthconfig" >&2;} 12655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === binary and rerun this configure script." >&5 12656$as_echo "$as_me: WARNING: === binary and rerun this configure script." >&2;} 12657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5 12658$as_echo "$as_me: WARNING: " >&2;} 12659 as_fn_error $? "courierauthconfig not found" "$LINENO" 5 12660fi 12661 12662courierpasswd_CPPAUTH="`$COURIERAUTHCONFIG --cppflags`" 12663courierpasswd_LDAUTH="`$COURIERAUTHCONFIG --ldflags`" 12664 12665 12666 12667ac_config_files="$ac_config_files Makefile replace/Makefile" 12668 12669cat >confcache <<\_ACEOF 12670# This file is a shell script that caches the results of configure 12671# tests run on this system so they can be shared between configure 12672# scripts and configure runs, see configure's option --config-cache. 12673# It is not useful on other systems. If it contains results you don't 12674# want to keep, you may remove or edit it. 12675# 12676# config.status only pays attention to the cache file if you give it 12677# the --recheck option to rerun configure. 12678# 12679# `ac_cv_env_foo' variables (set or unset) will be overridden when 12680# loading this file, other *unset* `ac_cv_foo' will be assigned the 12681# following values. 12682 12683_ACEOF 12684 12685# The following way of writing the cache mishandles newlines in values, 12686# but we know of no workaround that is simple, portable, and efficient. 12687# So, we kill variables containing newlines. 12688# Ultrix sh set writes to stderr and can't be redirected directly, 12689# and sets the high bit in the cache file unless we assign to the vars. 12690( 12691 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12692 eval ac_val=\$$ac_var 12693 case $ac_val in #( 12694 *${as_nl}*) 12695 case $ac_var in #( 12696 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12697$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12698 esac 12699 case $ac_var in #( 12700 _ | IFS | as_nl) ;; #( 12701 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12702 *) { eval $ac_var=; unset $ac_var;} ;; 12703 esac ;; 12704 esac 12705 done 12706 12707 (set) 2>&1 | 12708 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12709 *${as_nl}ac_space=\ *) 12710 # `set' does not quote correctly, so add quotes: double-quote 12711 # substitution turns \\\\ into \\, and sed turns \\ into \. 12712 sed -n \ 12713 "s/'/'\\\\''/g; 12714 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12715 ;; #( 12716 *) 12717 # `set' quotes correctly as required by POSIX, so do not add quotes. 12718 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12719 ;; 12720 esac | 12721 sort 12722) | 12723 sed ' 12724 /^ac_cv_env_/b end 12725 t clear 12726 :clear 12727 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12728 t end 12729 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12730 :end' >>confcache 12731if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12732 if test -w "$cache_file"; then 12733 if test "x$cache_file" != "x/dev/null"; then 12734 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12735$as_echo "$as_me: updating cache $cache_file" >&6;} 12736 if test ! -f "$cache_file" || test -h "$cache_file"; then 12737 cat confcache >"$cache_file" 12738 else 12739 case $cache_file in #( 12740 */* | ?:*) 12741 mv -f confcache "$cache_file"$$ && 12742 mv -f "$cache_file"$$ "$cache_file" ;; #( 12743 *) 12744 mv -f confcache "$cache_file" ;; 12745 esac 12746 fi 12747 fi 12748 else 12749 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12750$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12751 fi 12752fi 12753rm -f confcache 12754 12755test "x$prefix" = xNONE && prefix=$ac_default_prefix 12756# Let make expand exec_prefix. 12757test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12758 12759DEFS=-DHAVE_CONFIG_H 12760 12761ac_libobjs= 12762ac_ltlibobjs= 12763U= 12764for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12765 # 1. Remove the extension, and $U if already installed. 12766 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12767 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12768 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12769 # will be set to the directory where LIBOBJS objects are built. 12770 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12771 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12772done 12773LIBOBJS=$ac_libobjs 12774 12775LTLIBOBJS=$ac_ltlibobjs 12776 12777 12778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 12779$as_echo_n "checking that generated files are newer than configure... " >&6; } 12780 if test -n "$am_sleep_pid"; then 12781 # Hide warnings about reused PIDs. 12782 wait $am_sleep_pid 2>/dev/null 12783 fi 12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 12785$as_echo "done" >&6; } 12786 if test -n "$EXEEXT"; then 12787 am__EXEEXT_TRUE= 12788 am__EXEEXT_FALSE='#' 12789else 12790 am__EXEEXT_TRUE='#' 12791 am__EXEEXT_FALSE= 12792fi 12793 12794if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12795 as_fn_error $? "conditional \"AMDEP\" was never defined. 12796Usually this means the macro was only invoked conditionally." "$LINENO" 5 12797fi 12798if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12799 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12800Usually this means the macro was only invoked conditionally." "$LINENO" 5 12801fi 12802if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12803 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12804Usually this means the macro was only invoked conditionally." "$LINENO" 5 12805fi 12806 12807: "${CONFIG_STATUS=./config.status}" 12808ac_write_fail=0 12809ac_clean_files_save=$ac_clean_files 12810ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12811{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12812$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12813as_write_fail=0 12814cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12815#! $SHELL 12816# Generated by $as_me. 12817# Run this file to recreate the current configuration. 12818# Compiler output produced by configure, useful for debugging 12819# configure, is in config.log if it exists. 12820 12821debug=false 12822ac_cs_recheck=false 12823ac_cs_silent=false 12824 12825SHELL=\${CONFIG_SHELL-$SHELL} 12826export SHELL 12827_ASEOF 12828cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12829## -------------------- ## 12830## M4sh Initialization. ## 12831## -------------------- ## 12832 12833# Be more Bourne compatible 12834DUALCASE=1; export DUALCASE # for MKS sh 12835if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12836 emulate sh 12837 NULLCMD=: 12838 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12839 # is contrary to our usage. Disable this feature. 12840 alias -g '${1+"$@"}'='"$@"' 12841 setopt NO_GLOB_SUBST 12842else 12843 case `(set -o) 2>/dev/null` in #( 12844 *posix*) : 12845 set -o posix ;; #( 12846 *) : 12847 ;; 12848esac 12849fi 12850 12851 12852as_nl=' 12853' 12854export as_nl 12855# Printing a long string crashes Solaris 7 /usr/bin/printf. 12856as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12857as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12858as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12859# Prefer a ksh shell builtin over an external printf program on Solaris, 12860# but without wasting forks for bash or zsh. 12861if test -z "$BASH_VERSION$ZSH_VERSION" \ 12862 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12863 as_echo='print -r --' 12864 as_echo_n='print -rn --' 12865elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12866 as_echo='printf %s\n' 12867 as_echo_n='printf %s' 12868else 12869 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12870 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12871 as_echo_n='/usr/ucb/echo -n' 12872 else 12873 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12874 as_echo_n_body='eval 12875 arg=$1; 12876 case $arg in #( 12877 *"$as_nl"*) 12878 expr "X$arg" : "X\\(.*\\)$as_nl"; 12879 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12880 esac; 12881 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12882 ' 12883 export as_echo_n_body 12884 as_echo_n='sh -c $as_echo_n_body as_echo' 12885 fi 12886 export as_echo_body 12887 as_echo='sh -c $as_echo_body as_echo' 12888fi 12889 12890# The user is always right. 12891if test "${PATH_SEPARATOR+set}" != set; then 12892 PATH_SEPARATOR=: 12893 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12894 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12895 PATH_SEPARATOR=';' 12896 } 12897fi 12898 12899 12900# IFS 12901# We need space, tab and new line, in precisely that order. Quoting is 12902# there to prevent editors from complaining about space-tab. 12903# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12904# splitting by setting IFS to empty value.) 12905IFS=" "" $as_nl" 12906 12907# Find who we are. Look in the path if we contain no directory separator. 12908as_myself= 12909case $0 in #(( 12910 *[\\/]* ) as_myself=$0 ;; 12911 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12912for as_dir in $PATH 12913do 12914 IFS=$as_save_IFS 12915 test -z "$as_dir" && as_dir=. 12916 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12917 done 12918IFS=$as_save_IFS 12919 12920 ;; 12921esac 12922# We did not find ourselves, most probably we were run as `sh COMMAND' 12923# in which case we are not to be found in the path. 12924if test "x$as_myself" = x; then 12925 as_myself=$0 12926fi 12927if test ! -f "$as_myself"; then 12928 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12929 exit 1 12930fi 12931 12932# Unset variables that we do not need and which cause bugs (e.g. in 12933# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12934# suppresses any "Segmentation fault" message there. '((' could 12935# trigger a bug in pdksh 5.2.14. 12936for as_var in BASH_ENV ENV MAIL MAILPATH 12937do eval test x\${$as_var+set} = xset \ 12938 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12939done 12940PS1='$ ' 12941PS2='> ' 12942PS4='+ ' 12943 12944# NLS nuisances. 12945LC_ALL=C 12946export LC_ALL 12947LANGUAGE=C 12948export LANGUAGE 12949 12950# CDPATH. 12951(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12952 12953 12954# as_fn_error STATUS ERROR [LINENO LOG_FD] 12955# ---------------------------------------- 12956# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12957# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12958# script with STATUS, using 1 if that was 0. 12959as_fn_error () 12960{ 12961 as_status=$1; test $as_status -eq 0 && as_status=1 12962 if test "$4"; then 12963 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12964 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12965 fi 12966 $as_echo "$as_me: error: $2" >&2 12967 as_fn_exit $as_status 12968} # as_fn_error 12969 12970 12971# as_fn_set_status STATUS 12972# ----------------------- 12973# Set $? to STATUS, without forking. 12974as_fn_set_status () 12975{ 12976 return $1 12977} # as_fn_set_status 12978 12979# as_fn_exit STATUS 12980# ----------------- 12981# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12982as_fn_exit () 12983{ 12984 set +e 12985 as_fn_set_status $1 12986 exit $1 12987} # as_fn_exit 12988 12989# as_fn_unset VAR 12990# --------------- 12991# Portably unset VAR. 12992as_fn_unset () 12993{ 12994 { eval $1=; unset $1;} 12995} 12996as_unset=as_fn_unset 12997# as_fn_append VAR VALUE 12998# ---------------------- 12999# Append the text in VALUE to the end of the definition contained in VAR. Take 13000# advantage of any shell optimizations that allow amortized linear growth over 13001# repeated appends, instead of the typical quadratic growth present in naive 13002# implementations. 13003if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13004 eval 'as_fn_append () 13005 { 13006 eval $1+=\$2 13007 }' 13008else 13009 as_fn_append () 13010 { 13011 eval $1=\$$1\$2 13012 } 13013fi # as_fn_append 13014 13015# as_fn_arith ARG... 13016# ------------------ 13017# Perform arithmetic evaluation on the ARGs, and store the result in the 13018# global $as_val. Take advantage of shells that can avoid forks. The arguments 13019# must be portable across $(()) and expr. 13020if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13021 eval 'as_fn_arith () 13022 { 13023 as_val=$(( $* )) 13024 }' 13025else 13026 as_fn_arith () 13027 { 13028 as_val=`expr "$@" || test $? -eq 1` 13029 } 13030fi # as_fn_arith 13031 13032 13033if expr a : '\(a\)' >/dev/null 2>&1 && 13034 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13035 as_expr=expr 13036else 13037 as_expr=false 13038fi 13039 13040if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13041 as_basename=basename 13042else 13043 as_basename=false 13044fi 13045 13046if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13047 as_dirname=dirname 13048else 13049 as_dirname=false 13050fi 13051 13052as_me=`$as_basename -- "$0" || 13053$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13054 X"$0" : 'X\(//\)$' \| \ 13055 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13056$as_echo X/"$0" | 13057 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13058 s//\1/ 13059 q 13060 } 13061 /^X\/\(\/\/\)$/{ 13062 s//\1/ 13063 q 13064 } 13065 /^X\/\(\/\).*/{ 13066 s//\1/ 13067 q 13068 } 13069 s/.*/./; q'` 13070 13071# Avoid depending upon Character Ranges. 13072as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13073as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13074as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13075as_cr_digits='0123456789' 13076as_cr_alnum=$as_cr_Letters$as_cr_digits 13077 13078ECHO_C= ECHO_N= ECHO_T= 13079case `echo -n x` in #((((( 13080-n*) 13081 case `echo 'xy\c'` in 13082 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13083 xy) ECHO_C='\c';; 13084 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13085 ECHO_T=' ';; 13086 esac;; 13087*) 13088 ECHO_N='-n';; 13089esac 13090 13091rm -f conf$$ conf$$.exe conf$$.file 13092if test -d conf$$.dir; then 13093 rm -f conf$$.dir/conf$$.file 13094else 13095 rm -f conf$$.dir 13096 mkdir conf$$.dir 2>/dev/null 13097fi 13098if (echo >conf$$.file) 2>/dev/null; then 13099 if ln -s conf$$.file conf$$ 2>/dev/null; then 13100 as_ln_s='ln -s' 13101 # ... but there are two gotchas: 13102 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13103 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13104 # In both cases, we have to default to `cp -pR'. 13105 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13106 as_ln_s='cp -pR' 13107 elif ln conf$$.file conf$$ 2>/dev/null; then 13108 as_ln_s=ln 13109 else 13110 as_ln_s='cp -pR' 13111 fi 13112else 13113 as_ln_s='cp -pR' 13114fi 13115rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13116rmdir conf$$.dir 2>/dev/null 13117 13118 13119# as_fn_mkdir_p 13120# ------------- 13121# Create "$as_dir" as a directory, including parents if necessary. 13122as_fn_mkdir_p () 13123{ 13124 13125 case $as_dir in #( 13126 -*) as_dir=./$as_dir;; 13127 esac 13128 test -d "$as_dir" || eval $as_mkdir_p || { 13129 as_dirs= 13130 while :; do 13131 case $as_dir in #( 13132 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13133 *) as_qdir=$as_dir;; 13134 esac 13135 as_dirs="'$as_qdir' $as_dirs" 13136 as_dir=`$as_dirname -- "$as_dir" || 13137$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13138 X"$as_dir" : 'X\(//\)[^/]' \| \ 13139 X"$as_dir" : 'X\(//\)$' \| \ 13140 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13141$as_echo X"$as_dir" | 13142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13143 s//\1/ 13144 q 13145 } 13146 /^X\(\/\/\)[^/].*/{ 13147 s//\1/ 13148 q 13149 } 13150 /^X\(\/\/\)$/{ 13151 s//\1/ 13152 q 13153 } 13154 /^X\(\/\).*/{ 13155 s//\1/ 13156 q 13157 } 13158 s/.*/./; q'` 13159 test -d "$as_dir" && break 13160 done 13161 test -z "$as_dirs" || eval "mkdir $as_dirs" 13162 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13163 13164 13165} # as_fn_mkdir_p 13166if mkdir -p . 2>/dev/null; then 13167 as_mkdir_p='mkdir -p "$as_dir"' 13168else 13169 test -d ./-p && rmdir ./-p 13170 as_mkdir_p=false 13171fi 13172 13173 13174# as_fn_executable_p FILE 13175# ----------------------- 13176# Test if FILE is an executable regular file. 13177as_fn_executable_p () 13178{ 13179 test -f "$1" && test -x "$1" 13180} # as_fn_executable_p 13181as_test_x='test -x' 13182as_executable_p=as_fn_executable_p 13183 13184# Sed expression to map a string onto a valid CPP name. 13185as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13186 13187# Sed expression to map a string onto a valid variable name. 13188as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13189 13190 13191exec 6>&1 13192## ----------------------------------- ## 13193## Main body of $CONFIG_STATUS script. ## 13194## ----------------------------------- ## 13195_ASEOF 13196test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13197 13198cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13199# Save the log message, to keep $0 and so on meaningful, and to 13200# report actual input values of CONFIG_FILES etc. instead of their 13201# values after options handling. 13202ac_log=" 13203This file was extended by courierpasswd $as_me 1.1.3, which was 13204generated by GNU Autoconf 2.69. Invocation command line was 13205 13206 CONFIG_FILES = $CONFIG_FILES 13207 CONFIG_HEADERS = $CONFIG_HEADERS 13208 CONFIG_LINKS = $CONFIG_LINKS 13209 CONFIG_COMMANDS = $CONFIG_COMMANDS 13210 $ $0 $@ 13211 13212on `(hostname || uname -n) 2>/dev/null | sed 1q` 13213" 13214 13215_ACEOF 13216 13217case $ac_config_files in *" 13218"*) set x $ac_config_files; shift; ac_config_files=$*;; 13219esac 13220 13221case $ac_config_headers in *" 13222"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13223esac 13224 13225 13226cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13227# Files that config.status was made for. 13228config_files="$ac_config_files" 13229config_headers="$ac_config_headers" 13230config_commands="$ac_config_commands" 13231 13232_ACEOF 13233 13234cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13235ac_cs_usage="\ 13236\`$as_me' instantiates files and other configuration actions 13237from templates according to the current configuration. Unless the files 13238and actions are specified as TAGs, all are instantiated by default. 13239 13240Usage: $0 [OPTION]... [TAG]... 13241 13242 -h, --help print this help, then exit 13243 -V, --version print version number and configuration settings, then exit 13244 --config print configuration, then exit 13245 -q, --quiet, --silent 13246 do not print progress messages 13247 -d, --debug don't remove temporary files 13248 --recheck update $as_me by reconfiguring in the same conditions 13249 --file=FILE[:TEMPLATE] 13250 instantiate the configuration file FILE 13251 --header=FILE[:TEMPLATE] 13252 instantiate the configuration header FILE 13253 13254Configuration files: 13255$config_files 13256 13257Configuration headers: 13258$config_headers 13259 13260Configuration commands: 13261$config_commands 13262 13263Report bugs to <freeware@arda.homeunix.net>." 13264 13265_ACEOF 13266cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13267ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13268ac_cs_version="\\ 13269courierpasswd config.status 1.1.3 13270configured by $0, generated by GNU Autoconf 2.69, 13271 with options \\"\$ac_cs_config\\" 13272 13273Copyright (C) 2012 Free Software Foundation, Inc. 13274This config.status script is free software; the Free Software Foundation 13275gives unlimited permission to copy, distribute and modify it." 13276 13277ac_pwd='$ac_pwd' 13278srcdir='$srcdir' 13279INSTALL='$INSTALL' 13280MKDIR_P='$MKDIR_P' 13281AWK='$AWK' 13282test -n "\$AWK" || AWK=awk 13283_ACEOF 13284 13285cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13286# The default lists apply if the user does not specify any file. 13287ac_need_defaults=: 13288while test $# != 0 13289do 13290 case $1 in 13291 --*=?*) 13292 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13293 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13294 ac_shift=: 13295 ;; 13296 --*=) 13297 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13298 ac_optarg= 13299 ac_shift=: 13300 ;; 13301 *) 13302 ac_option=$1 13303 ac_optarg=$2 13304 ac_shift=shift 13305 ;; 13306 esac 13307 13308 case $ac_option in 13309 # Handling of the options. 13310 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13311 ac_cs_recheck=: ;; 13312 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13313 $as_echo "$ac_cs_version"; exit ;; 13314 --config | --confi | --conf | --con | --co | --c ) 13315 $as_echo "$ac_cs_config"; exit ;; 13316 --debug | --debu | --deb | --de | --d | -d ) 13317 debug=: ;; 13318 --file | --fil | --fi | --f ) 13319 $ac_shift 13320 case $ac_optarg in 13321 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13322 '') as_fn_error $? "missing file argument" ;; 13323 esac 13324 as_fn_append CONFIG_FILES " '$ac_optarg'" 13325 ac_need_defaults=false;; 13326 --header | --heade | --head | --hea ) 13327 $ac_shift 13328 case $ac_optarg in 13329 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13330 esac 13331 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13332 ac_need_defaults=false;; 13333 --he | --h) 13334 # Conflict between --help and --header 13335 as_fn_error $? "ambiguous option: \`$1' 13336Try \`$0 --help' for more information.";; 13337 --help | --hel | -h ) 13338 $as_echo "$ac_cs_usage"; exit ;; 13339 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13340 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13341 ac_cs_silent=: ;; 13342 13343 # This is an error. 13344 -*) as_fn_error $? "unrecognized option: \`$1' 13345Try \`$0 --help' for more information." ;; 13346 13347 *) as_fn_append ac_config_targets " $1" 13348 ac_need_defaults=false ;; 13349 13350 esac 13351 shift 13352done 13353 13354ac_configure_extra_args= 13355 13356if $ac_cs_silent; then 13357 exec 6>/dev/null 13358 ac_configure_extra_args="$ac_configure_extra_args --silent" 13359fi 13360 13361_ACEOF 13362cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13363if \$ac_cs_recheck; then 13364 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13365 shift 13366 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13367 CONFIG_SHELL='$SHELL' 13368 export CONFIG_SHELL 13369 exec "\$@" 13370fi 13371 13372_ACEOF 13373cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13374exec 5>>config.log 13375{ 13376 echo 13377 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13378## Running $as_me. ## 13379_ASBOX 13380 $as_echo "$ac_log" 13381} >&5 13382 13383_ACEOF 13384cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13385# 13386# INIT-COMMANDS 13387# 13388AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 13389 13390 13391# The HP-UX ksh and POSIX shell print the target directory to stdout 13392# if CDPATH is set. 13393(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13394 13395sed_quote_subst='$sed_quote_subst' 13396double_quote_subst='$double_quote_subst' 13397delay_variable_subst='$delay_variable_subst' 13398macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13399macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13400enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13401enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13402pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13403enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13404SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13405ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13406PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13407host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13408host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13409host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13410build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13411build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13412build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13413SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13414Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13415GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13416EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13417FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13418LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13419NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13420LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13421max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13422ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13423exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13424lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13425lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13426lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13427lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13428lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13429reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13430reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13431OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13432deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13433file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13434file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13435want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13436DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13437sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13438AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13439AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13440archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13441STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13442RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13443old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13444old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13445old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13446lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13447CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13448CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13449compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13450GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13451lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13452lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13453lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 13454lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13455lt_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"`' 13456lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 13457nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13458lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13459objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13460MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13461lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13462lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13463lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13464lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13465lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13466need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13467MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13468DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13469NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13470LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13471OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13472OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 13473libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 13474shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 13475extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13476archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 13477enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 13478export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 13479whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 13480compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 13481old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 13482old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13483archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 13484archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13485module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 13486module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13487with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 13488allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 13489no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 13490hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 13491hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 13492hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 13493hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 13494hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 13495hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 13496hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 13497inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 13498link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 13499always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 13500export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 13501exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 13502include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 13503prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 13504postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 13505file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 13506variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 13507need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 13508need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 13509version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 13510runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 13511shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 13512shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 13513libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 13514library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 13515soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 13516install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 13517postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13518postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13519finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 13520finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 13521hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 13522sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 13523sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 13524hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 13525enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 13526enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 13527enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 13528old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 13529striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 13530 13531LTCC='$LTCC' 13532LTCFLAGS='$LTCFLAGS' 13533compiler='$compiler_DEFAULT' 13534 13535# A function that is used when there is no print builtin or printf. 13536func_fallback_echo () 13537{ 13538 eval 'cat <<_LTECHO_EOF 13539\$1 13540_LTECHO_EOF' 13541} 13542 13543# Quote evaled strings. 13544for var in SHELL \ 13545ECHO \ 13546PATH_SEPARATOR \ 13547SED \ 13548GREP \ 13549EGREP \ 13550FGREP \ 13551LD \ 13552NM \ 13553LN_S \ 13554lt_SP2NL \ 13555lt_NL2SP \ 13556reload_flag \ 13557OBJDUMP \ 13558deplibs_check_method \ 13559file_magic_cmd \ 13560file_magic_glob \ 13561want_nocaseglob \ 13562DLLTOOL \ 13563sharedlib_from_linklib_cmd \ 13564AR \ 13565AR_FLAGS \ 13566archiver_list_spec \ 13567STRIP \ 13568RANLIB \ 13569CC \ 13570CFLAGS \ 13571compiler \ 13572lt_cv_sys_global_symbol_pipe \ 13573lt_cv_sys_global_symbol_to_cdecl \ 13574lt_cv_sys_global_symbol_to_import \ 13575lt_cv_sys_global_symbol_to_c_name_address \ 13576lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13577lt_cv_nm_interface \ 13578nm_file_list_spec \ 13579lt_prog_compiler_no_builtin_flag \ 13580lt_prog_compiler_pic \ 13581lt_prog_compiler_wl \ 13582lt_prog_compiler_static \ 13583lt_cv_prog_compiler_c_o \ 13584need_locks \ 13585MANIFEST_TOOL \ 13586DSYMUTIL \ 13587NMEDIT \ 13588LIPO \ 13589OTOOL \ 13590OTOOL64 \ 13591shrext_cmds \ 13592export_dynamic_flag_spec \ 13593whole_archive_flag_spec \ 13594compiler_needs_object \ 13595with_gnu_ld \ 13596allow_undefined_flag \ 13597no_undefined_flag \ 13598hardcode_libdir_flag_spec \ 13599hardcode_libdir_separator \ 13600exclude_expsyms \ 13601include_expsyms \ 13602file_list_spec \ 13603variables_saved_for_relink \ 13604libname_spec \ 13605library_names_spec \ 13606soname_spec \ 13607install_override_mode \ 13608finish_eval \ 13609old_striplib \ 13610striplib; do 13611 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13612 *[\\\\\\\`\\"\\\$]*) 13613 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 13614 ;; 13615 *) 13616 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13617 ;; 13618 esac 13619done 13620 13621# Double-quote double-evaled strings. 13622for var in reload_cmds \ 13623old_postinstall_cmds \ 13624old_postuninstall_cmds \ 13625old_archive_cmds \ 13626extract_expsyms_cmds \ 13627old_archive_from_new_cmds \ 13628old_archive_from_expsyms_cmds \ 13629archive_cmds \ 13630archive_expsym_cmds \ 13631module_cmds \ 13632module_expsym_cmds \ 13633export_symbols_cmds \ 13634prelink_cmds \ 13635postlink_cmds \ 13636postinstall_cmds \ 13637postuninstall_cmds \ 13638finish_cmds \ 13639sys_lib_search_path_spec \ 13640sys_lib_dlsearch_path_spec; do 13641 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13642 *[\\\\\\\`\\"\\\$]*) 13643 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 13644 ;; 13645 *) 13646 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13647 ;; 13648 esac 13649done 13650 13651ac_aux_dir='$ac_aux_dir' 13652 13653# See if we are running on zsh, and set the options that allow our 13654# commands through without removal of \ escapes INIT. 13655if test -n "\${ZSH_VERSION+set}"; then 13656 setopt NO_GLOB_SUBST 13657fi 13658 13659 13660 PACKAGE='$PACKAGE' 13661 VERSION='$VERSION' 13662 RM='$RM' 13663 ofile='$ofile' 13664 13665 13666 13667 13668_ACEOF 13669 13670cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13671 13672# Handling of arguments. 13673for ac_config_target in $ac_config_targets 13674do 13675 case $ac_config_target in 13676 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13677 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13678 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13679 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13680 "replace/Makefile") CONFIG_FILES="$CONFIG_FILES replace/Makefile" ;; 13681 13682 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13683 esac 13684done 13685 13686 13687# If the user did not use the arguments to specify the items to instantiate, 13688# then the envvar interface is used. Set only those that are not. 13689# We use the long form for the default assignment because of an extremely 13690# bizarre bug on SunOS 4.1.3. 13691if $ac_need_defaults; then 13692 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13693 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13694 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13695fi 13696 13697# Have a temporary directory for convenience. Make it in the build tree 13698# simply because there is no reason against having it here, and in addition, 13699# creating and moving files from /tmp can sometimes cause problems. 13700# Hook for its removal unless debugging. 13701# Note that there is a small window in which the directory will not be cleaned: 13702# after its creation but before its name has been assigned to `$tmp'. 13703$debug || 13704{ 13705 tmp= ac_tmp= 13706 trap 'exit_status=$? 13707 : "${ac_tmp:=$tmp}" 13708 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13709' 0 13710 trap 'as_fn_exit 1' 1 2 13 15 13711} 13712# Create a (secure) tmp directory for tmp files. 13713 13714{ 13715 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13716 test -d "$tmp" 13717} || 13718{ 13719 tmp=./conf$$-$RANDOM 13720 (umask 077 && mkdir "$tmp") 13721} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13722ac_tmp=$tmp 13723 13724# Set up the scripts for CONFIG_FILES section. 13725# No need to generate them if there are no CONFIG_FILES. 13726# This happens for instance with `./config.status config.h'. 13727if test -n "$CONFIG_FILES"; then 13728 13729 13730ac_cr=`echo X | tr X '\015'` 13731# On cygwin, bash can eat \r inside `` if the user requested igncr. 13732# But we know of no other shell where ac_cr would be empty at this 13733# point, so we can use a bashism as a fallback. 13734if test "x$ac_cr" = x; then 13735 eval ac_cr=\$\'\\r\' 13736fi 13737ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13738if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13739 ac_cs_awk_cr='\\r' 13740else 13741 ac_cs_awk_cr=$ac_cr 13742fi 13743 13744echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13745_ACEOF 13746 13747 13748{ 13749 echo "cat >conf$$subs.awk <<_ACEOF" && 13750 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13751 echo "_ACEOF" 13752} >conf$$subs.sh || 13753 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13754ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13755ac_delim='%!_!# ' 13756for ac_last_try in false false false false false :; do 13757 . ./conf$$subs.sh || 13758 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13759 13760 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13761 if test $ac_delim_n = $ac_delim_num; then 13762 break 13763 elif $ac_last_try; then 13764 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13765 else 13766 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13767 fi 13768done 13769rm -f conf$$subs.sh 13770 13771cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13772cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 13773_ACEOF 13774sed -n ' 13775h 13776s/^/S["/; s/!.*/"]=/ 13777p 13778g 13779s/^[^!]*!// 13780:repl 13781t repl 13782s/'"$ac_delim"'$// 13783t delim 13784:nl 13785h 13786s/\(.\{148\}\)..*/\1/ 13787t more1 13788s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13789p 13790n 13791b repl 13792:more1 13793s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13794p 13795g 13796s/.\{148\}// 13797t nl 13798:delim 13799h 13800s/\(.\{148\}\)..*/\1/ 13801t more2 13802s/["\\]/\\&/g; s/^/"/; s/$/"/ 13803p 13804b 13805:more2 13806s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13807p 13808g 13809s/.\{148\}// 13810t delim 13811' <conf$$subs.awk | sed ' 13812/^[^""]/{ 13813 N 13814 s/\n// 13815} 13816' >>$CONFIG_STATUS || ac_write_fail=1 13817rm -f conf$$subs.awk 13818cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13819_ACAWK 13820cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13821 for (key in S) S_is_set[key] = 1 13822 FS = "" 13823 13824} 13825{ 13826 line = $ 0 13827 nfields = split(line, field, "@") 13828 substed = 0 13829 len = length(field[1]) 13830 for (i = 2; i < nfields; i++) { 13831 key = field[i] 13832 keylen = length(key) 13833 if (S_is_set[key]) { 13834 value = S[key] 13835 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13836 len += length(value) + length(field[++i]) 13837 substed = 1 13838 } else 13839 len += 1 + keylen 13840 } 13841 13842 print line 13843} 13844 13845_ACAWK 13846_ACEOF 13847cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13848if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13849 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13850else 13851 cat 13852fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 13853 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13854_ACEOF 13855 13856# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13857# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13858# trailing colons and then remove the whole line if VPATH becomes empty 13859# (actually we leave an empty line to preserve line numbers). 13860if test "x$srcdir" = x.; then 13861 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13862h 13863s/// 13864s/^/:/ 13865s/[ ]*$/:/ 13866s/:\$(srcdir):/:/g 13867s/:\${srcdir}:/:/g 13868s/:@srcdir@:/:/g 13869s/^:*// 13870s/:*$// 13871x 13872s/\(=[ ]*\).*/\1/ 13873G 13874s/\n// 13875s/^[^=]*=[ ]*$// 13876}' 13877fi 13878 13879cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13880fi # test -n "$CONFIG_FILES" 13881 13882# Set up the scripts for CONFIG_HEADERS section. 13883# No need to generate them if there are no CONFIG_HEADERS. 13884# This happens for instance with `./config.status Makefile'. 13885if test -n "$CONFIG_HEADERS"; then 13886cat >"$ac_tmp/defines.awk" <<\_ACAWK || 13887BEGIN { 13888_ACEOF 13889 13890# Transform confdefs.h into an awk script `defines.awk', embedded as 13891# here-document in config.status, that substitutes the proper values into 13892# config.h.in to produce config.h. 13893 13894# Create a delimiter string that does not exist in confdefs.h, to ease 13895# handling of long lines. 13896ac_delim='%!_!# ' 13897for ac_last_try in false false :; do 13898 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 13899 if test -z "$ac_tt"; then 13900 break 13901 elif $ac_last_try; then 13902 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13903 else 13904 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13905 fi 13906done 13907 13908# For the awk script, D is an array of macro values keyed by name, 13909# likewise P contains macro parameters if any. Preserve backslash 13910# newline sequences. 13911 13912ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 13913sed -n ' 13914s/.\{148\}/&'"$ac_delim"'/g 13915t rset 13916:rset 13917s/^[ ]*#[ ]*define[ ][ ]*/ / 13918t def 13919d 13920:def 13921s/\\$// 13922t bsnl 13923s/["\\]/\\&/g 13924s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13925D["\1"]=" \3"/p 13926s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 13927d 13928:bsnl 13929s/["\\]/\\&/g 13930s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13931D["\1"]=" \3\\\\\\n"\\/p 13932t cont 13933s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 13934t cont 13935d 13936:cont 13937n 13938s/.\{148\}/&'"$ac_delim"'/g 13939t clear 13940:clear 13941s/\\$// 13942t bsnlc 13943s/["\\]/\\&/g; s/^/"/; s/$/"/p 13944d 13945:bsnlc 13946s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 13947b cont 13948' <confdefs.h | sed ' 13949s/'"$ac_delim"'/"\\\ 13950"/g' >>$CONFIG_STATUS || ac_write_fail=1 13951 13952cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13953 for (key in D) D_is_set[key] = 1 13954 FS = "" 13955} 13956/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 13957 line = \$ 0 13958 split(line, arg, " ") 13959 if (arg[1] == "#") { 13960 defundef = arg[2] 13961 mac1 = arg[3] 13962 } else { 13963 defundef = substr(arg[1], 2) 13964 mac1 = arg[2] 13965 } 13966 split(mac1, mac2, "(") #) 13967 macro = mac2[1] 13968 prefix = substr(line, 1, index(line, defundef) - 1) 13969 if (D_is_set[macro]) { 13970 # Preserve the white space surrounding the "#". 13971 print prefix "define", macro P[macro] D[macro] 13972 next 13973 } else { 13974 # Replace #undef with comments. This is necessary, for example, 13975 # in the case of _POSIX_SOURCE, which is predefined and required 13976 # on some systems where configure will not decide to define it. 13977 if (defundef == "undef") { 13978 print "/*", prefix defundef, macro, "*/" 13979 next 13980 } 13981 } 13982} 13983{ print } 13984_ACAWK 13985_ACEOF 13986cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13987 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13988fi # test -n "$CONFIG_HEADERS" 13989 13990 13991eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 13992shift 13993for ac_tag 13994do 13995 case $ac_tag in 13996 :[FHLC]) ac_mode=$ac_tag; continue;; 13997 esac 13998 case $ac_mode$ac_tag in 13999 :[FHL]*:*);; 14000 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14001 :[FH]-) ac_tag=-:-;; 14002 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14003 esac 14004 ac_save_IFS=$IFS 14005 IFS=: 14006 set x $ac_tag 14007 IFS=$ac_save_IFS 14008 shift 14009 ac_file=$1 14010 shift 14011 14012 case $ac_mode in 14013 :L) ac_source=$1;; 14014 :[FH]) 14015 ac_file_inputs= 14016 for ac_f 14017 do 14018 case $ac_f in 14019 -) ac_f="$ac_tmp/stdin";; 14020 *) # Look for the file first in the build tree, then in the source tree 14021 # (if the path is not absolute). The absolute path cannot be DOS-style, 14022 # because $ac_f cannot contain `:'. 14023 test -f "$ac_f" || 14024 case $ac_f in 14025 [\\/$]*) false;; 14026 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14027 esac || 14028 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14029 esac 14030 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14031 as_fn_append ac_file_inputs " '$ac_f'" 14032 done 14033 14034 # Let's still pretend it is `configure' which instantiates (i.e., don't 14035 # use $as_me), people would be surprised to read: 14036 # /* config.h. Generated by config.status. */ 14037 configure_input='Generated from '` 14038 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14039 `' by configure.' 14040 if test x"$ac_file" != x-; then 14041 configure_input="$ac_file. $configure_input" 14042 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14043$as_echo "$as_me: creating $ac_file" >&6;} 14044 fi 14045 # Neutralize special characters interpreted by sed in replacement strings. 14046 case $configure_input in #( 14047 *\&* | *\|* | *\\* ) 14048 ac_sed_conf_input=`$as_echo "$configure_input" | 14049 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14050 *) ac_sed_conf_input=$configure_input;; 14051 esac 14052 14053 case $ac_tag in 14054 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 14055 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14056 esac 14057 ;; 14058 esac 14059 14060 ac_dir=`$as_dirname -- "$ac_file" || 14061$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14062 X"$ac_file" : 'X\(//\)[^/]' \| \ 14063 X"$ac_file" : 'X\(//\)$' \| \ 14064 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14065$as_echo X"$ac_file" | 14066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14067 s//\1/ 14068 q 14069 } 14070 /^X\(\/\/\)[^/].*/{ 14071 s//\1/ 14072 q 14073 } 14074 /^X\(\/\/\)$/{ 14075 s//\1/ 14076 q 14077 } 14078 /^X\(\/\).*/{ 14079 s//\1/ 14080 q 14081 } 14082 s/.*/./; q'` 14083 as_dir="$ac_dir"; as_fn_mkdir_p 14084 ac_builddir=. 14085 14086case "$ac_dir" in 14087.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14088*) 14089 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14090 # A ".." for each directory in $ac_dir_suffix. 14091 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14092 case $ac_top_builddir_sub in 14093 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14094 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14095 esac ;; 14096esac 14097ac_abs_top_builddir=$ac_pwd 14098ac_abs_builddir=$ac_pwd$ac_dir_suffix 14099# for backward compatibility: 14100ac_top_builddir=$ac_top_build_prefix 14101 14102case $srcdir in 14103 .) # We are building in place. 14104 ac_srcdir=. 14105 ac_top_srcdir=$ac_top_builddir_sub 14106 ac_abs_top_srcdir=$ac_pwd ;; 14107 [\\/]* | ?:[\\/]* ) # Absolute name. 14108 ac_srcdir=$srcdir$ac_dir_suffix; 14109 ac_top_srcdir=$srcdir 14110 ac_abs_top_srcdir=$srcdir ;; 14111 *) # Relative name. 14112 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14113 ac_top_srcdir=$ac_top_build_prefix$srcdir 14114 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14115esac 14116ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14117 14118 14119 case $ac_mode in 14120 :F) 14121 # 14122 # CONFIG_FILE 14123 # 14124 14125 case $INSTALL in 14126 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14127 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14128 esac 14129 ac_MKDIR_P=$MKDIR_P 14130 case $MKDIR_P in 14131 [\\/$]* | ?:[\\/]* ) ;; 14132 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14133 esac 14134_ACEOF 14135 14136cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14137# If the template does not know about datarootdir, expand it. 14138# FIXME: This hack should be removed a few years after 2.60. 14139ac_datarootdir_hack=; ac_datarootdir_seen= 14140ac_sed_dataroot=' 14141/datarootdir/ { 14142 p 14143 q 14144} 14145/@datadir@/p 14146/@docdir@/p 14147/@infodir@/p 14148/@localedir@/p 14149/@mandir@/p' 14150case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14151*datarootdir*) ac_datarootdir_seen=yes;; 14152*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14154$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14155_ACEOF 14156cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14157 ac_datarootdir_hack=' 14158 s&@datadir@&$datadir&g 14159 s&@docdir@&$docdir&g 14160 s&@infodir@&$infodir&g 14161 s&@localedir@&$localedir&g 14162 s&@mandir@&$mandir&g 14163 s&\\\${datarootdir}&$datarootdir&g' ;; 14164esac 14165_ACEOF 14166 14167# Neutralize VPATH when `$srcdir' = `.'. 14168# Shell code in configure.ac might set extrasub. 14169# FIXME: do we really want to maintain this feature? 14170cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14171ac_sed_extra="$ac_vpsub 14172$extrasub 14173_ACEOF 14174cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14175:t 14176/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14177s|@configure_input@|$ac_sed_conf_input|;t t 14178s&@top_builddir@&$ac_top_builddir_sub&;t t 14179s&@top_build_prefix@&$ac_top_build_prefix&;t t 14180s&@srcdir@&$ac_srcdir&;t t 14181s&@abs_srcdir@&$ac_abs_srcdir&;t t 14182s&@top_srcdir@&$ac_top_srcdir&;t t 14183s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14184s&@builddir@&$ac_builddir&;t t 14185s&@abs_builddir@&$ac_abs_builddir&;t t 14186s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14187s&@INSTALL@&$ac_INSTALL&;t t 14188s&@MKDIR_P@&$ac_MKDIR_P&;t t 14189$ac_datarootdir_hack 14190" 14191eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14192 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14193 14194test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14195 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14196 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14197 "$ac_tmp/out"`; test -z "$ac_out"; } && 14198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14199which seems to be undefined. Please make sure it is defined" >&5 14200$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14201which seems to be undefined. Please make sure it is defined" >&2;} 14202 14203 rm -f "$ac_tmp/stdin" 14204 case $ac_file in 14205 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14206 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14207 esac \ 14208 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14209 ;; 14210 :H) 14211 # 14212 # CONFIG_HEADER 14213 # 14214 if test x"$ac_file" != x-; then 14215 { 14216 $as_echo "/* $configure_input */" \ 14217 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14218 } >"$ac_tmp/config.h" \ 14219 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14220 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14221 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14222$as_echo "$as_me: $ac_file is unchanged" >&6;} 14223 else 14224 rm -f "$ac_file" 14225 mv "$ac_tmp/config.h" "$ac_file" \ 14226 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14227 fi 14228 else 14229 $as_echo "/* $configure_input */" \ 14230 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14231 || as_fn_error $? "could not create -" "$LINENO" 5 14232 fi 14233# Compute "$ac_file"'s index in $config_headers. 14234_am_arg="$ac_file" 14235_am_stamp_count=1 14236for _am_header in $config_headers :; do 14237 case $_am_header in 14238 $_am_arg | $_am_arg:* ) 14239 break ;; 14240 * ) 14241 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14242 esac 14243done 14244echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14245$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14246 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14247 X"$_am_arg" : 'X\(//\)$' \| \ 14248 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14249$as_echo X"$_am_arg" | 14250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14251 s//\1/ 14252 q 14253 } 14254 /^X\(\/\/\)[^/].*/{ 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'`/stamp-h$_am_stamp_count 14267 ;; 14268 14269 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14270$as_echo "$as_me: executing $ac_file commands" >&6;} 14271 ;; 14272 esac 14273 14274 14275 case $ac_file$ac_mode in 14276 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14277 # Older Autoconf quotes --file arguments for eval, but not when files 14278 # are listed without --file. Let's play safe and only enable the eval 14279 # if we detect the quoting. 14280 case $CONFIG_FILES in 14281 *\'*) eval set x "$CONFIG_FILES" ;; 14282 *) set x $CONFIG_FILES ;; 14283 esac 14284 shift 14285 for mf 14286 do 14287 # Strip MF so we end up with the name of the file. 14288 mf=`echo "$mf" | sed -e 's/:.*$//'` 14289 # Check whether this is an Automake generated Makefile or not. 14290 # We used to match only the files named 'Makefile.in', but 14291 # some people rename them; so instead we look at the file content. 14292 # Grep'ing the first line is not enough: some people post-process 14293 # each Makefile.in and add a new line on top of each file to say so. 14294 # Grep'ing the whole file is not good either: AIX grep has a line 14295 # limit of 2048, but all sed's we know have understand at least 4000. 14296 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14297 dirpart=`$as_dirname -- "$mf" || 14298$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14299 X"$mf" : 'X\(//\)[^/]' \| \ 14300 X"$mf" : 'X\(//\)$' \| \ 14301 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14302$as_echo X"$mf" | 14303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14304 s//\1/ 14305 q 14306 } 14307 /^X\(\/\/\)[^/].*/{ 14308 s//\1/ 14309 q 14310 } 14311 /^X\(\/\/\)$/{ 14312 s//\1/ 14313 q 14314 } 14315 /^X\(\/\).*/{ 14316 s//\1/ 14317 q 14318 } 14319 s/.*/./; q'` 14320 else 14321 continue 14322 fi 14323 # Extract the definition of DEPDIR, am__include, and am__quote 14324 # from the Makefile without running 'make'. 14325 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14326 test -z "$DEPDIR" && continue 14327 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14328 test -z "$am__include" && continue 14329 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14330 # Find all dependency output files, they are included files with 14331 # $(DEPDIR) in their names. We invoke sed twice because it is the 14332 # simplest approach to changing $(DEPDIR) to its actual value in the 14333 # expansion. 14334 for file in `sed -n " 14335 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14336 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 14337 # Make sure the directory exists. 14338 test -f "$dirpart/$file" && continue 14339 fdir=`$as_dirname -- "$file" || 14340$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14341 X"$file" : 'X\(//\)[^/]' \| \ 14342 X"$file" : 'X\(//\)$' \| \ 14343 X"$file" : 'X\(/\)' \| . 2>/dev/null || 14344$as_echo X"$file" | 14345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14346 s//\1/ 14347 q 14348 } 14349 /^X\(\/\/\)[^/].*/{ 14350 s//\1/ 14351 q 14352 } 14353 /^X\(\/\/\)$/{ 14354 s//\1/ 14355 q 14356 } 14357 /^X\(\/\).*/{ 14358 s//\1/ 14359 q 14360 } 14361 s/.*/./; q'` 14362 as_dir=$dirpart/$fdir; as_fn_mkdir_p 14363 # echo "creating $dirpart/$file" 14364 echo '# dummy' > "$dirpart/$file" 14365 done 14366 done 14367} 14368 ;; 14369 "libtool":C) 14370 14371 # See if we are running on zsh, and set the options that allow our 14372 # commands through without removal of \ escapes. 14373 if test -n "${ZSH_VERSION+set}"; then 14374 setopt NO_GLOB_SUBST 14375 fi 14376 14377 cfgfile=${ofile}T 14378 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14379 $RM "$cfgfile" 14380 14381 cat <<_LT_EOF >> "$cfgfile" 14382#! $SHELL 14383 14384# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 14385# Generated automatically by $as_me ($PACKAGE) $VERSION 14386# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14387# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14388# 14389# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 14390# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 14391# Foundation, Inc. 14392# Written by Gordon Matzigkeit, 1996 14393# 14394# This file is part of GNU Libtool. 14395# 14396# GNU Libtool is free software; you can redistribute it and/or 14397# modify it under the terms of the GNU General Public License as 14398# published by the Free Software Foundation; either version 2 of 14399# the License, or (at your option) any later version. 14400# 14401# As a special exception to the GNU General Public License, 14402# if you distribute this file as part of a program or library that 14403# is built using GNU Libtool, you may include this file under the 14404# same distribution terms that you use for the rest of that program. 14405# 14406# GNU Libtool is distributed in the hope that it will be useful, 14407# but WITHOUT ANY WARRANTY; without even the implied warranty of 14408# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14409# GNU General Public License for more details. 14410# 14411# You should have received a copy of the GNU General Public License 14412# along with GNU Libtool; see the file COPYING. If not, a copy 14413# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 14414# obtained by writing to the Free Software Foundation, Inc., 14415# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 14416 14417 14418# The names of the tagged configurations supported by this script. 14419available_tags='' 14420 14421# ### BEGIN LIBTOOL CONFIG 14422 14423# Which release of libtool.m4 was used? 14424macro_version=$macro_version 14425macro_revision=$macro_revision 14426 14427# Whether or not to build shared libraries. 14428build_libtool_libs=$enable_shared 14429 14430# Whether or not to build static libraries. 14431build_old_libs=$enable_static 14432 14433# What type of objects to build. 14434pic_mode=$pic_mode 14435 14436# Whether or not to optimize for fast installation. 14437fast_install=$enable_fast_install 14438 14439# Shell to use when invoking shell scripts. 14440SHELL=$lt_SHELL 14441 14442# An echo program that protects backslashes. 14443ECHO=$lt_ECHO 14444 14445# The PATH separator for the build system. 14446PATH_SEPARATOR=$lt_PATH_SEPARATOR 14447 14448# The host system. 14449host_alias=$host_alias 14450host=$host 14451host_os=$host_os 14452 14453# The build system. 14454build_alias=$build_alias 14455build=$build 14456build_os=$build_os 14457 14458# A sed program that does not truncate output. 14459SED=$lt_SED 14460 14461# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14462Xsed="\$SED -e 1s/^X//" 14463 14464# A grep program that handles long lines. 14465GREP=$lt_GREP 14466 14467# An ERE matcher. 14468EGREP=$lt_EGREP 14469 14470# A literal string matcher. 14471FGREP=$lt_FGREP 14472 14473# A BSD- or MS-compatible name lister. 14474NM=$lt_NM 14475 14476# Whether we need soft or hard links. 14477LN_S=$lt_LN_S 14478 14479# What is the maximum length of a command? 14480max_cmd_len=$max_cmd_len 14481 14482# Object file suffix (normally "o"). 14483objext=$ac_objext 14484 14485# Executable file suffix (normally ""). 14486exeext=$exeext 14487 14488# whether the shell understands "unset". 14489lt_unset=$lt_unset 14490 14491# turn spaces into newlines. 14492SP2NL=$lt_lt_SP2NL 14493 14494# turn newlines into spaces. 14495NL2SP=$lt_lt_NL2SP 14496 14497# convert \$build file names to \$host format. 14498to_host_file_cmd=$lt_cv_to_host_file_cmd 14499 14500# convert \$build files to toolchain format. 14501to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14502 14503# An object symbol dumper. 14504OBJDUMP=$lt_OBJDUMP 14505 14506# Method to check whether dependent libraries are shared objects. 14507deplibs_check_method=$lt_deplibs_check_method 14508 14509# Command to use when deplibs_check_method = "file_magic". 14510file_magic_cmd=$lt_file_magic_cmd 14511 14512# How to find potential files when deplibs_check_method = "file_magic". 14513file_magic_glob=$lt_file_magic_glob 14514 14515# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14516want_nocaseglob=$lt_want_nocaseglob 14517 14518# DLL creation program. 14519DLLTOOL=$lt_DLLTOOL 14520 14521# Command to associate shared and link libraries. 14522sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14523 14524# The archiver. 14525AR=$lt_AR 14526 14527# Flags to create an archive. 14528AR_FLAGS=$lt_AR_FLAGS 14529 14530# How to feed a file listing to the archiver. 14531archiver_list_spec=$lt_archiver_list_spec 14532 14533# A symbol stripping program. 14534STRIP=$lt_STRIP 14535 14536# Commands used to install an old-style archive. 14537RANLIB=$lt_RANLIB 14538old_postinstall_cmds=$lt_old_postinstall_cmds 14539old_postuninstall_cmds=$lt_old_postuninstall_cmds 14540 14541# Whether to use a lock for old archive extraction. 14542lock_old_archive_extraction=$lock_old_archive_extraction 14543 14544# A C compiler. 14545LTCC=$lt_CC 14546 14547# LTCC compiler flags. 14548LTCFLAGS=$lt_CFLAGS 14549 14550# Take the output of nm and produce a listing of raw symbols and C names. 14551global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14552 14553# Transform the output of nm in a proper C declaration. 14554global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14555 14556# Transform the output of nm into a list of symbols to manually relocate. 14557global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 14558 14559# Transform the output of nm in a C name address pair. 14560global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14561 14562# Transform the output of nm in a C name address pair when lib prefix is needed. 14563global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14564 14565# The name lister interface. 14566nm_interface=$lt_lt_cv_nm_interface 14567 14568# Specify filename containing input files for \$NM. 14569nm_file_list_spec=$lt_nm_file_list_spec 14570 14571# The root where to search for dependent libraries,and where our libraries should be installed. 14572lt_sysroot=$lt_sysroot 14573 14574# The name of the directory that contains temporary libtool files. 14575objdir=$objdir 14576 14577# Used to examine libraries when file_magic_cmd begins with "file". 14578MAGIC_CMD=$MAGIC_CMD 14579 14580# Must we lock files when doing compilation? 14581need_locks=$lt_need_locks 14582 14583# Manifest tool. 14584MANIFEST_TOOL=$lt_MANIFEST_TOOL 14585 14586# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14587DSYMUTIL=$lt_DSYMUTIL 14588 14589# Tool to change global to local symbols on Mac OS X. 14590NMEDIT=$lt_NMEDIT 14591 14592# Tool to manipulate fat objects and archives on Mac OS X. 14593LIPO=$lt_LIPO 14594 14595# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14596OTOOL=$lt_OTOOL 14597 14598# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14599OTOOL64=$lt_OTOOL64 14600 14601# Old archive suffix (normally "a"). 14602libext=$libext 14603 14604# Shared library suffix (normally ".so"). 14605shrext_cmds=$lt_shrext_cmds 14606 14607# The commands to extract the exported symbol list from a shared archive. 14608extract_expsyms_cmds=$lt_extract_expsyms_cmds 14609 14610# Variables whose values should be saved in libtool wrapper scripts and 14611# restored at link time. 14612variables_saved_for_relink=$lt_variables_saved_for_relink 14613 14614# Do we need the "lib" prefix for modules? 14615need_lib_prefix=$need_lib_prefix 14616 14617# Do we need a version for libraries? 14618need_version=$need_version 14619 14620# Library versioning type. 14621version_type=$version_type 14622 14623# Shared library runtime path variable. 14624runpath_var=$runpath_var 14625 14626# Shared library path variable. 14627shlibpath_var=$shlibpath_var 14628 14629# Is shlibpath searched before the hard-coded library search path? 14630shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14631 14632# Format of library name prefix. 14633libname_spec=$lt_libname_spec 14634 14635# List of archive names. First name is the real one, the rest are links. 14636# The last name is the one that the linker finds with -lNAME 14637library_names_spec=$lt_library_names_spec 14638 14639# The coded name of the library, if different from the real name. 14640soname_spec=$lt_soname_spec 14641 14642# Permission mode override for installation of shared libraries. 14643install_override_mode=$lt_install_override_mode 14644 14645# Command to use after installation of a shared archive. 14646postinstall_cmds=$lt_postinstall_cmds 14647 14648# Command to use after uninstallation of a shared archive. 14649postuninstall_cmds=$lt_postuninstall_cmds 14650 14651# Commands used to finish a libtool library installation in a directory. 14652finish_cmds=$lt_finish_cmds 14653 14654# As "finish_cmds", except a single script fragment to be evaled but 14655# not shown. 14656finish_eval=$lt_finish_eval 14657 14658# Whether we should hardcode library paths into libraries. 14659hardcode_into_libs=$hardcode_into_libs 14660 14661# Compile-time system search path for libraries. 14662sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14663 14664# Run-time system search path for libraries. 14665sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 14666 14667# Whether dlopen is supported. 14668dlopen_support=$enable_dlopen 14669 14670# Whether dlopen of programs is supported. 14671dlopen_self=$enable_dlopen_self 14672 14673# Whether dlopen of statically linked programs is supported. 14674dlopen_self_static=$enable_dlopen_self_static 14675 14676# Commands to strip libraries. 14677old_striplib=$lt_old_striplib 14678striplib=$lt_striplib 14679 14680 14681# The linker used to build libraries. 14682LD=$lt_LD 14683 14684# How to create reloadable object files. 14685reload_flag=$lt_reload_flag 14686reload_cmds=$lt_reload_cmds 14687 14688# Commands used to build an old-style archive. 14689old_archive_cmds=$lt_old_archive_cmds 14690 14691# A language specific compiler. 14692CC=$lt_compiler 14693 14694# Is the compiler the GNU compiler? 14695with_gcc=$GCC 14696 14697# Compiler flag to turn off builtin functions. 14698no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14699 14700# Additional compiler flags for building library objects. 14701pic_flag=$lt_lt_prog_compiler_pic 14702 14703# How to pass a linker flag through the compiler. 14704wl=$lt_lt_prog_compiler_wl 14705 14706# Compiler flag to prevent dynamic linking. 14707link_static_flag=$lt_lt_prog_compiler_static 14708 14709# Does compiler simultaneously support -c and -o options? 14710compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14711 14712# Whether or not to add -lc for building shared libraries. 14713build_libtool_need_lc=$archive_cmds_need_lc 14714 14715# Whether or not to disallow shared libs when runtime libs are static. 14716allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14717 14718# Compiler flag to allow reflexive dlopens. 14719export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14720 14721# Compiler flag to generate shared objects directly from archives. 14722whole_archive_flag_spec=$lt_whole_archive_flag_spec 14723 14724# Whether the compiler copes with passing no objects directly. 14725compiler_needs_object=$lt_compiler_needs_object 14726 14727# Create an old-style archive from a shared archive. 14728old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14729 14730# Create a temporary old-style archive to link instead of a shared archive. 14731old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14732 14733# Commands used to build a shared archive. 14734archive_cmds=$lt_archive_cmds 14735archive_expsym_cmds=$lt_archive_expsym_cmds 14736 14737# Commands used to build a loadable module if different from building 14738# a shared archive. 14739module_cmds=$lt_module_cmds 14740module_expsym_cmds=$lt_module_expsym_cmds 14741 14742# Whether we are building with GNU ld or not. 14743with_gnu_ld=$lt_with_gnu_ld 14744 14745# Flag that allows shared libraries with undefined symbols to be built. 14746allow_undefined_flag=$lt_allow_undefined_flag 14747 14748# Flag that enforces no undefined symbols. 14749no_undefined_flag=$lt_no_undefined_flag 14750 14751# Flag to hardcode \$libdir into a binary during linking. 14752# This must work even if \$libdir does not exist 14753hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14754 14755# Whether we need a single "-rpath" flag with a separated argument. 14756hardcode_libdir_separator=$lt_hardcode_libdir_separator 14757 14758# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14759# DIR into the resulting binary. 14760hardcode_direct=$hardcode_direct 14761 14762# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14763# DIR into the resulting binary and the resulting library dependency is 14764# "absolute",i.e impossible to change by setting \$shlibpath_var if the 14765# library is relocated. 14766hardcode_direct_absolute=$hardcode_direct_absolute 14767 14768# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14769# into the resulting binary. 14770hardcode_minus_L=$hardcode_minus_L 14771 14772# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14773# into the resulting binary. 14774hardcode_shlibpath_var=$hardcode_shlibpath_var 14775 14776# Set to "yes" if building a shared library automatically hardcodes DIR 14777# into the library and all subsequent libraries and executables linked 14778# against it. 14779hardcode_automatic=$hardcode_automatic 14780 14781# Set to yes if linker adds runtime paths of dependent libraries 14782# to runtime path list. 14783inherit_rpath=$inherit_rpath 14784 14785# Whether libtool must link a program against all its dependency libraries. 14786link_all_deplibs=$link_all_deplibs 14787 14788# Set to "yes" if exported symbols are required. 14789always_export_symbols=$always_export_symbols 14790 14791# The commands to list exported symbols. 14792export_symbols_cmds=$lt_export_symbols_cmds 14793 14794# Symbols that should not be listed in the preloaded symbols. 14795exclude_expsyms=$lt_exclude_expsyms 14796 14797# Symbols that must always be exported. 14798include_expsyms=$lt_include_expsyms 14799 14800# Commands necessary for linking programs (against libraries) with templates. 14801prelink_cmds=$lt_prelink_cmds 14802 14803# Commands necessary for finishing linking programs. 14804postlink_cmds=$lt_postlink_cmds 14805 14806# Specify filename containing input files. 14807file_list_spec=$lt_file_list_spec 14808 14809# How to hardcode a shared library path into an executable. 14810hardcode_action=$hardcode_action 14811 14812# ### END LIBTOOL CONFIG 14813 14814_LT_EOF 14815 14816 case $host_os in 14817 aix3*) 14818 cat <<\_LT_EOF >> "$cfgfile" 14819# AIX sometimes has problems with the GCC collect2 program. For some 14820# reason, if we set the COLLECT_NAMES environment variable, the problems 14821# vanish in a puff of smoke. 14822if test set != "${COLLECT_NAMES+set}"; then 14823 COLLECT_NAMES= 14824 export COLLECT_NAMES 14825fi 14826_LT_EOF 14827 ;; 14828 esac 14829 14830 14831ltmain=$ac_aux_dir/ltmain.sh 14832 14833 14834 # We use sed instead of cat because bash on DJGPP gets confused if 14835 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14836 # text mode, it properly converts lines to CR/LF. This bash problem 14837 # is reportedly fixed, but why not run on old versions too? 14838 sed '$q' "$ltmain" >> "$cfgfile" \ 14839 || (rm -f "$cfgfile"; exit 1) 14840 14841 mv -f "$cfgfile" "$ofile" || 14842 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14843 chmod +x "$ofile" 14844 14845 ;; 14846 14847 esac 14848done # for ac_tag 14849 14850 14851as_fn_exit 0 14852_ACEOF 14853ac_clean_files=$ac_clean_files_save 14854 14855test $ac_write_fail = 0 || 14856 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14857 14858 14859# configure is writing to config.log, and then calls config.status. 14860# config.status does its own redirection, appending to config.log. 14861# Unfortunately, on DOS this fails, as config.log is still kept open 14862# by configure, so config.status won't be able to write to it; its 14863# output is simply discarded. So we exec the FD to /dev/null, 14864# effectively closing config.log, so it can be properly (re)opened and 14865# appended to by config.status. When coming back to configure, we 14866# need to make the FD available again. 14867if test "$no_create" != yes; then 14868 ac_cs_success=: 14869 ac_config_status_args= 14870 test "$silent" = yes && 14871 ac_config_status_args="$ac_config_status_args --quiet" 14872 exec 5>/dev/null 14873 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14874 exec 5>>config.log 14875 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14876 # would make configure fail if this is the last instruction. 14877 $ac_cs_success || as_fn_exit 1 14878fi 14879if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14881$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14882fi 14883 14884