1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for pam-modules 2.2. 4# 5# Report bugs to <bug-pam-modules@gnu.org.ua>. 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: bug-pam-modules@gnu.org.ua 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='pam-modules' 592PACKAGE_TARNAME='pam-modules' 593PACKAGE_VERSION='2.2' 594PACKAGE_STRING='pam-modules 2.2' 595PACKAGE_BUGREPORT='bug-pam-modules@gnu.org.ua' 596PACKAGE_URL='' 597 598ac_unique_file="pam_fshadow/pam_fshadow.c" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIBOBJS 639IMPRIMATUR_COND_DIST_INFO_FALSE 640IMPRIMATUR_COND_DIST_INFO_TRUE 641IMPRIMATUR_COND_FRENCHSPACING_FALSE 642IMPRIMATUR_COND_FRENCHSPACING_TRUE 643IMPRIMATUR_COND_MAKEDOC_FALSE 644IMPRIMATUR_COND_MAKEDOC_TRUE 645IMPRIMATUR_MAKEINFOFLAGS 646RENDITION 647IMPRIMATUR_MODULE_DIR 648PAMDIR 649PAM_COND_UMOTD_FALSE 650PAM_COND_UMOTD_TRUE 651PAM_COND_LDAPHOME_FALSE 652PAM_COND_LDAPHOME_TRUE 653SQL_MODULES 654PGSQLLIBS 655MYSQLLIBS 656PAM_COND_PGSQL_FALSE 657PAM_COND_PGSQL_TRUE 658PAM_COND_MYSQL_FALSE 659PAM_COND_MYSQL_TRUE 660PAM_COND_GROUPMEMBER_FALSE 661PAM_COND_GROUPMEMBER_TRUE 662PAM_COND_REGEX_FALSE 663PAM_COND_REGEX_TRUE 664PAM_COND_LOG_FALSE 665PAM_COND_LOG_TRUE 666PAM_COND_FSHADOW_FALSE 667PAM_COND_FSHADOW_TRUE 668PAM_MISC 669CPP 670OTOOL64 671OTOOL 672LIPO 673NMEDIT 674DSYMUTIL 675MANIFEST_TOOL 676RANLIB 677ac_ct_AR 678AR 679DLLTOOL 680OBJDUMP 681LN_S 682NM 683ac_ct_DUMPBIN 684DUMPBIN 685LD 686FGREP 687EGREP 688GREP 689SED 690host_os 691host_vendor 692host_cpu 693host 694build_os 695build_vendor 696build_cpu 697build 698LIBTOOL 699am__fastdepCC_FALSE 700am__fastdepCC_TRUE 701CCDEPMODE 702am__nodep 703AMDEPBACKSLASH 704AMDEP_FALSE 705AMDEP_TRUE 706am__quote 707am__include 708DEPDIR 709OBJEXT 710EXEEXT 711ac_ct_CC 712CPPFLAGS 713LDFLAGS 714CFLAGS 715CC 716VI_AGE 717VI_REVISION 718VI_CURRENT 719AM_BACKSLASH 720AM_DEFAULT_VERBOSITY 721AM_DEFAULT_V 722AM_V 723am__untar 724am__tar 725AMTAR 726am__leading_dot 727SET_MAKE 728AWK 729mkdir_p 730MKDIR_P 731INSTALL_STRIP_PROGRAM 732STRIP 733install_sh 734MAKEINFO 735AUTOHEADER 736AUTOMAKE 737AUTOCONF 738ACLOCAL 739VERSION 740PACKAGE 741CYGPATH_W 742am__isrc 743INSTALL_DATA 744INSTALL_SCRIPT 745INSTALL_PROGRAM 746target_alias 747host_alias 748build_alias 749LIBS 750ECHO_T 751ECHO_N 752ECHO_C 753DEFS 754mandir 755localedir 756libdir 757psdir 758pdfdir 759dvidir 760htmldir 761infodir 762docdir 763oldincludedir 764includedir 765localstatedir 766sharedstatedir 767sysconfdir 768datadir 769datarootdir 770libexecdir 771sbindir 772bindir 773program_transform_name 774prefix 775exec_prefix 776PACKAGE_URL 777PACKAGE_BUGREPORT 778PACKAGE_STRING 779PACKAGE_VERSION 780PACKAGE_TARNAME 781PACKAGE_NAME 782PATH_SEPARATOR 783SHELL' 784ac_subst_files='' 785ac_user_opts=' 786enable_option_checking 787enable_silent_rules 788enable_dependency_tracking 789enable_shared 790enable_static 791with_pic 792enable_fast_install 793with_gnu_ld 794with_sysroot 795enable_libtool_lock 796with_crypt_lib 797enable_fshadow 798enable_log 799enable_regex 800enable_groupmember 801with_mysql 802with_pgsql 803with_postgres 804with_sql 805enable_mysql 806enable_pgsql 807enable_ldaphome 808enable_umotd 809enable_debug 810with_pamdir 811' 812 ac_precious_vars='build_alias 813host_alias 814target_alias 815CC 816CFLAGS 817LDFLAGS 818LIBS 819CPPFLAGS 820CPP' 821 822 823# Initialize some variables set by options. 824ac_init_help= 825ac_init_version=false 826ac_unrecognized_opts= 827ac_unrecognized_sep= 828# The variables have the same names as the options, with 829# dashes changed to underlines. 830cache_file=/dev/null 831exec_prefix=NONE 832no_create= 833no_recursion= 834prefix=NONE 835program_prefix=NONE 836program_suffix=NONE 837program_transform_name=s,x,x, 838silent= 839site= 840srcdir= 841verbose= 842x_includes=NONE 843x_libraries=NONE 844 845# Installation directory options. 846# These are left unexpanded so users can "make install exec_prefix=/foo" 847# and all the variables that are supposed to be based on exec_prefix 848# by default will actually change. 849# Use braces instead of parens because sh, perl, etc. also accept them. 850# (The list follows the same order as the GNU Coding Standards.) 851bindir='${exec_prefix}/bin' 852sbindir='${exec_prefix}/sbin' 853libexecdir='${exec_prefix}/libexec' 854datarootdir='${prefix}/share' 855datadir='${datarootdir}' 856sysconfdir='${prefix}/etc' 857sharedstatedir='${prefix}/com' 858localstatedir='${prefix}/var' 859includedir='${prefix}/include' 860oldincludedir='/usr/include' 861docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 862infodir='${datarootdir}/info' 863htmldir='${docdir}' 864dvidir='${docdir}' 865pdfdir='${docdir}' 866psdir='${docdir}' 867libdir='${exec_prefix}/lib' 868localedir='${datarootdir}/locale' 869mandir='${datarootdir}/man' 870 871ac_prev= 872ac_dashdash= 873for ac_option 874do 875 # If the previous option needs an argument, assign it. 876 if test -n "$ac_prev"; then 877 eval $ac_prev=\$ac_option 878 ac_prev= 879 continue 880 fi 881 882 case $ac_option in 883 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 884 *=) ac_optarg= ;; 885 *) ac_optarg=yes ;; 886 esac 887 888 # Accept the important Cygnus configure options, so we can diagnose typos. 889 890 case $ac_dashdash$ac_option in 891 --) 892 ac_dashdash=yes ;; 893 894 -bindir | --bindir | --bindi | --bind | --bin | --bi) 895 ac_prev=bindir ;; 896 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 897 bindir=$ac_optarg ;; 898 899 -build | --build | --buil | --bui | --bu) 900 ac_prev=build_alias ;; 901 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 902 build_alias=$ac_optarg ;; 903 904 -cache-file | --cache-file | --cache-fil | --cache-fi \ 905 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 906 ac_prev=cache_file ;; 907 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 908 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 909 cache_file=$ac_optarg ;; 910 911 --config-cache | -C) 912 cache_file=config.cache ;; 913 914 -datadir | --datadir | --datadi | --datad) 915 ac_prev=datadir ;; 916 -datadir=* | --datadir=* | --datadi=* | --datad=*) 917 datadir=$ac_optarg ;; 918 919 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 920 | --dataroo | --dataro | --datar) 921 ac_prev=datarootdir ;; 922 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 923 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 924 datarootdir=$ac_optarg ;; 925 926 -disable-* | --disable-*) 927 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 928 # Reject names that are not valid shell variable names. 929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 930 as_fn_error $? "invalid feature name: $ac_useropt" 931 ac_useropt_orig=$ac_useropt 932 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 933 case $ac_user_opts in 934 *" 935"enable_$ac_useropt" 936"*) ;; 937 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 938 ac_unrecognized_sep=', ';; 939 esac 940 eval enable_$ac_useropt=no ;; 941 942 -docdir | --docdir | --docdi | --doc | --do) 943 ac_prev=docdir ;; 944 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 945 docdir=$ac_optarg ;; 946 947 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 948 ac_prev=dvidir ;; 949 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 950 dvidir=$ac_optarg ;; 951 952 -enable-* | --enable-*) 953 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 954 # Reject names that are not valid shell variable names. 955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 956 as_fn_error $? "invalid feature name: $ac_useropt" 957 ac_useropt_orig=$ac_useropt 958 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 959 case $ac_user_opts in 960 *" 961"enable_$ac_useropt" 962"*) ;; 963 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 964 ac_unrecognized_sep=', ';; 965 esac 966 eval enable_$ac_useropt=\$ac_optarg ;; 967 968 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 969 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 970 | --exec | --exe | --ex) 971 ac_prev=exec_prefix ;; 972 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 973 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 974 | --exec=* | --exe=* | --ex=*) 975 exec_prefix=$ac_optarg ;; 976 977 -gas | --gas | --ga | --g) 978 # Obsolete; use --with-gas. 979 with_gas=yes ;; 980 981 -help | --help | --hel | --he | -h) 982 ac_init_help=long ;; 983 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 984 ac_init_help=recursive ;; 985 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 986 ac_init_help=short ;; 987 988 -host | --host | --hos | --ho) 989 ac_prev=host_alias ;; 990 -host=* | --host=* | --hos=* | --ho=*) 991 host_alias=$ac_optarg ;; 992 993 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 994 ac_prev=htmldir ;; 995 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 996 | --ht=*) 997 htmldir=$ac_optarg ;; 998 999 -includedir | --includedir | --includedi | --included | --include \ 1000 | --includ | --inclu | --incl | --inc) 1001 ac_prev=includedir ;; 1002 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1003 | --includ=* | --inclu=* | --incl=* | --inc=*) 1004 includedir=$ac_optarg ;; 1005 1006 -infodir | --infodir | --infodi | --infod | --info | --inf) 1007 ac_prev=infodir ;; 1008 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1009 infodir=$ac_optarg ;; 1010 1011 -libdir | --libdir | --libdi | --libd) 1012 ac_prev=libdir ;; 1013 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1014 libdir=$ac_optarg ;; 1015 1016 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1017 | --libexe | --libex | --libe) 1018 ac_prev=libexecdir ;; 1019 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1020 | --libexe=* | --libex=* | --libe=*) 1021 libexecdir=$ac_optarg ;; 1022 1023 -localedir | --localedir | --localedi | --localed | --locale) 1024 ac_prev=localedir ;; 1025 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1026 localedir=$ac_optarg ;; 1027 1028 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1029 | --localstate | --localstat | --localsta | --localst | --locals) 1030 ac_prev=localstatedir ;; 1031 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1032 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1033 localstatedir=$ac_optarg ;; 1034 1035 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1036 ac_prev=mandir ;; 1037 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1038 mandir=$ac_optarg ;; 1039 1040 -nfp | --nfp | --nf) 1041 # Obsolete; use --without-fp. 1042 with_fp=no ;; 1043 1044 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1045 | --no-cr | --no-c | -n) 1046 no_create=yes ;; 1047 1048 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1049 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1050 no_recursion=yes ;; 1051 1052 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1053 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1054 | --oldin | --oldi | --old | --ol | --o) 1055 ac_prev=oldincludedir ;; 1056 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1057 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1058 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1059 oldincludedir=$ac_optarg ;; 1060 1061 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1062 ac_prev=prefix ;; 1063 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1064 prefix=$ac_optarg ;; 1065 1066 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1067 | --program-pre | --program-pr | --program-p) 1068 ac_prev=program_prefix ;; 1069 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1070 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1071 program_prefix=$ac_optarg ;; 1072 1073 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1074 | --program-suf | --program-su | --program-s) 1075 ac_prev=program_suffix ;; 1076 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1077 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1078 program_suffix=$ac_optarg ;; 1079 1080 -program-transform-name | --program-transform-name \ 1081 | --program-transform-nam | --program-transform-na \ 1082 | --program-transform-n | --program-transform- \ 1083 | --program-transform | --program-transfor \ 1084 | --program-transfo | --program-transf \ 1085 | --program-trans | --program-tran \ 1086 | --progr-tra | --program-tr | --program-t) 1087 ac_prev=program_transform_name ;; 1088 -program-transform-name=* | --program-transform-name=* \ 1089 | --program-transform-nam=* | --program-transform-na=* \ 1090 | --program-transform-n=* | --program-transform-=* \ 1091 | --program-transform=* | --program-transfor=* \ 1092 | --program-transfo=* | --program-transf=* \ 1093 | --program-trans=* | --program-tran=* \ 1094 | --progr-tra=* | --program-tr=* | --program-t=*) 1095 program_transform_name=$ac_optarg ;; 1096 1097 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1098 ac_prev=pdfdir ;; 1099 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1100 pdfdir=$ac_optarg ;; 1101 1102 -psdir | --psdir | --psdi | --psd | --ps) 1103 ac_prev=psdir ;; 1104 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1105 psdir=$ac_optarg ;; 1106 1107 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1108 | -silent | --silent | --silen | --sile | --sil) 1109 silent=yes ;; 1110 1111 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1112 ac_prev=sbindir ;; 1113 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1114 | --sbi=* | --sb=*) 1115 sbindir=$ac_optarg ;; 1116 1117 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1118 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1119 | --sharedst | --shareds | --shared | --share | --shar \ 1120 | --sha | --sh) 1121 ac_prev=sharedstatedir ;; 1122 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1123 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1124 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1125 | --sha=* | --sh=*) 1126 sharedstatedir=$ac_optarg ;; 1127 1128 -site | --site | --sit) 1129 ac_prev=site ;; 1130 -site=* | --site=* | --sit=*) 1131 site=$ac_optarg ;; 1132 1133 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1134 ac_prev=srcdir ;; 1135 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1136 srcdir=$ac_optarg ;; 1137 1138 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1139 | --syscon | --sysco | --sysc | --sys | --sy) 1140 ac_prev=sysconfdir ;; 1141 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1142 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1143 sysconfdir=$ac_optarg ;; 1144 1145 -target | --target | --targe | --targ | --tar | --ta | --t) 1146 ac_prev=target_alias ;; 1147 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1148 target_alias=$ac_optarg ;; 1149 1150 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1151 verbose=yes ;; 1152 1153 -version | --version | --versio | --versi | --vers | -V) 1154 ac_init_version=: ;; 1155 1156 -with-* | --with-*) 1157 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1158 # Reject names that are not valid shell variable names. 1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1160 as_fn_error $? "invalid package name: $ac_useropt" 1161 ac_useropt_orig=$ac_useropt 1162 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1163 case $ac_user_opts in 1164 *" 1165"with_$ac_useropt" 1166"*) ;; 1167 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1168 ac_unrecognized_sep=', ';; 1169 esac 1170 eval with_$ac_useropt=\$ac_optarg ;; 1171 1172 -without-* | --without-*) 1173 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1174 # Reject names that are not valid shell variable names. 1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1176 as_fn_error $? "invalid package name: $ac_useropt" 1177 ac_useropt_orig=$ac_useropt 1178 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1179 case $ac_user_opts in 1180 *" 1181"with_$ac_useropt" 1182"*) ;; 1183 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1184 ac_unrecognized_sep=', ';; 1185 esac 1186 eval with_$ac_useropt=no ;; 1187 1188 --x) 1189 # Obsolete; use --with-x. 1190 with_x=yes ;; 1191 1192 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1193 | --x-incl | --x-inc | --x-in | --x-i) 1194 ac_prev=x_includes ;; 1195 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1196 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1197 x_includes=$ac_optarg ;; 1198 1199 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1200 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1201 ac_prev=x_libraries ;; 1202 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1203 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1204 x_libraries=$ac_optarg ;; 1205 1206 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1207Try \`$0 --help' for more information" 1208 ;; 1209 1210 *=*) 1211 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1212 # Reject names that are not valid shell variable names. 1213 case $ac_envvar in #( 1214 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1215 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1216 esac 1217 eval $ac_envvar=\$ac_optarg 1218 export $ac_envvar ;; 1219 1220 *) 1221 # FIXME: should be removed in autoconf 3.0. 1222 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1223 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1224 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1225 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1226 ;; 1227 1228 esac 1229done 1230 1231if test -n "$ac_prev"; then 1232 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1233 as_fn_error $? "missing argument to $ac_option" 1234fi 1235 1236if test -n "$ac_unrecognized_opts"; then 1237 case $enable_option_checking in 1238 no) ;; 1239 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1240 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1241 esac 1242fi 1243 1244# Check all directory arguments for consistency. 1245for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1246 datadir sysconfdir sharedstatedir localstatedir includedir \ 1247 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1248 libdir localedir mandir 1249do 1250 eval ac_val=\$$ac_var 1251 # Remove trailing slashes. 1252 case $ac_val in 1253 */ ) 1254 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1255 eval $ac_var=\$ac_val;; 1256 esac 1257 # Be sure to have absolute directory names. 1258 case $ac_val in 1259 [\\/$]* | ?:[\\/]* ) continue;; 1260 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1261 esac 1262 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1263done 1264 1265# There might be people who depend on the old broken behavior: `$host' 1266# used to hold the argument of --host etc. 1267# FIXME: To remove some day. 1268build=$build_alias 1269host=$host_alias 1270target=$target_alias 1271 1272# FIXME: To remove some day. 1273if test "x$host_alias" != x; then 1274 if test "x$build_alias" = x; then 1275 cross_compiling=maybe 1276 elif test "x$build_alias" != "x$host_alias"; then 1277 cross_compiling=yes 1278 fi 1279fi 1280 1281ac_tool_prefix= 1282test -n "$host_alias" && ac_tool_prefix=$host_alias- 1283 1284test "$silent" = yes && exec 6>/dev/null 1285 1286 1287ac_pwd=`pwd` && test -n "$ac_pwd" && 1288ac_ls_di=`ls -di .` && 1289ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1290 as_fn_error $? "working directory cannot be determined" 1291test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1292 as_fn_error $? "pwd does not report name of working directory" 1293 1294 1295# Find the source files, if location was not specified. 1296if test -z "$srcdir"; then 1297 ac_srcdir_defaulted=yes 1298 # Try the directory containing this script, then the parent directory. 1299 ac_confdir=`$as_dirname -- "$as_myself" || 1300$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1301 X"$as_myself" : 'X\(//\)[^/]' \| \ 1302 X"$as_myself" : 'X\(//\)$' \| \ 1303 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1304$as_echo X"$as_myself" | 1305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1306 s//\1/ 1307 q 1308 } 1309 /^X\(\/\/\)[^/].*/{ 1310 s//\1/ 1311 q 1312 } 1313 /^X\(\/\/\)$/{ 1314 s//\1/ 1315 q 1316 } 1317 /^X\(\/\).*/{ 1318 s//\1/ 1319 q 1320 } 1321 s/.*/./; q'` 1322 srcdir=$ac_confdir 1323 if test ! -r "$srcdir/$ac_unique_file"; then 1324 srcdir=.. 1325 fi 1326else 1327 ac_srcdir_defaulted=no 1328fi 1329if test ! -r "$srcdir/$ac_unique_file"; then 1330 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1331 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1332fi 1333ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1334ac_abs_confdir=`( 1335 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1336 pwd)` 1337# When building in place, set srcdir=. 1338if test "$ac_abs_confdir" = "$ac_pwd"; then 1339 srcdir=. 1340fi 1341# Remove unnecessary trailing slashes from srcdir. 1342# Double slashes in file names in object file debugging info 1343# mess up M-x gdb in Emacs. 1344case $srcdir in 1345*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1346esac 1347for ac_var in $ac_precious_vars; do 1348 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1349 eval ac_env_${ac_var}_value=\$${ac_var} 1350 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1351 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1352done 1353 1354# 1355# Report the --help message. 1356# 1357if test "$ac_init_help" = "long"; then 1358 # Omit some internal or obsolete options to make the list less imposing. 1359 # This message is too long to be a string in the A/UX 3.1 sh. 1360 cat <<_ACEOF 1361\`configure' configures pam-modules 2.2 to adapt to many kinds of systems. 1362 1363Usage: $0 [OPTION]... [VAR=VALUE]... 1364 1365To assign environment variables (e.g., CC, CFLAGS...), specify them as 1366VAR=VALUE. See below for descriptions of some of the useful variables. 1367 1368Defaults for the options are specified in brackets. 1369 1370Configuration: 1371 -h, --help display this help and exit 1372 --help=short display options specific to this package 1373 --help=recursive display the short help of all the included packages 1374 -V, --version display version information and exit 1375 -q, --quiet, --silent do not print \`checking ...' messages 1376 --cache-file=FILE cache test results in FILE [disabled] 1377 -C, --config-cache alias for \`--cache-file=config.cache' 1378 -n, --no-create do not create output files 1379 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1380 1381Installation directories: 1382 --prefix=PREFIX install architecture-independent files in PREFIX 1383 [$ac_default_prefix] 1384 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1385 [PREFIX] 1386 1387By default, \`make install' will install all the files in 1388\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1389an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1390for instance \`--prefix=\$HOME'. 1391 1392For better control, use the options below. 1393 1394Fine tuning of the installation directories: 1395 --bindir=DIR user executables [EPREFIX/bin] 1396 --sbindir=DIR system admin executables [EPREFIX/sbin] 1397 --libexecdir=DIR program executables [EPREFIX/libexec] 1398 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1399 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1400 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1401 --libdir=DIR object code libraries [EPREFIX/lib] 1402 --includedir=DIR C header files [PREFIX/include] 1403 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1404 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1405 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1406 --infodir=DIR info documentation [DATAROOTDIR/info] 1407 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1408 --mandir=DIR man documentation [DATAROOTDIR/man] 1409 --docdir=DIR documentation root [DATAROOTDIR/doc/pam-modules] 1410 --htmldir=DIR html documentation [DOCDIR] 1411 --dvidir=DIR dvi documentation [DOCDIR] 1412 --pdfdir=DIR pdf documentation [DOCDIR] 1413 --psdir=DIR ps documentation [DOCDIR] 1414_ACEOF 1415 1416 cat <<\_ACEOF 1417 1418Program names: 1419 --program-prefix=PREFIX prepend PREFIX to installed program names 1420 --program-suffix=SUFFIX append SUFFIX to installed program names 1421 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1422 1423System types: 1424 --build=BUILD configure for building on BUILD [guessed] 1425 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1426_ACEOF 1427fi 1428 1429if test -n "$ac_init_help"; then 1430 case $ac_init_help in 1431 short | recursive ) echo "Configuration of pam-modules 2.2:";; 1432 esac 1433 cat <<\_ACEOF 1434 1435Optional Features: 1436 --disable-option-checking ignore unrecognized --enable/--with options 1437 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1438 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1439 --enable-silent-rules less verbose build output (undo: "make V=1") 1440 --disable-silent-rules verbose build output (undo: "make V=0") 1441 --enable-dependency-tracking 1442 do not reject slow dependency extractors 1443 --disable-dependency-tracking 1444 speeds up one-time build 1445 --enable-shared[=PKGS] build shared libraries [default=yes] 1446 --enable-static[=PKGS] build static libraries [default=yes] 1447 --enable-fast-install[=PKGS] 1448 optimize for fast installation [default=yes] 1449 --disable-libtool-lock avoid locking (might break parallel builds) 1450 --disable-fshadow Disable pam_fshadow 1451 --disable-log Disable pam_log 1452 --disable-regex Disable pam_regex 1453 --disable-groupmember Disable pam_groupmember 1454 --disable-mysql Disable pam_mysql 1455 --disable-pgsql Disable pam_pgsql 1456 --disable-ldaphome Disable pam_ldaphome 1457 --disable-umotd Disable pam_umotd 1458 --enable-debug enable debugging mode 1459 1460Optional Packages: 1461 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1462 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1463 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1464 both] 1465 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1466 --with-sysroot=DIR Search for dependent libraries within DIR 1467 (or the compiler's sysroot if not specified). 1468 --with-crypt-lib=LIB use -lLIB instead of -lcrypt 1469 --without-mysql Configure to work without MySQL 1470 --without-pgsql Configure to work without Postgres 1471 --without-postgres Same as --without-pgsql 1472 --without-sql Do not build SQL dependent modules 1473 --with-pamdir=DIR install PAM modiles in DIR (PREFIX/lib/security) 1474 1475Some influential environment variables: 1476 CC C compiler command 1477 CFLAGS C compiler flags 1478 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1479 nonstandard directory <lib dir> 1480 LIBS libraries to pass to the linker, e.g. -l<library> 1481 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1482 you have headers in a nonstandard directory <include dir> 1483 CPP C preprocessor 1484 1485Use these variables to override the choices made by `configure' or to help 1486it to find libraries and programs with nonstandard names/locations. 1487 1488Report bugs to <bug-pam-modules@gnu.org.ua>. 1489_ACEOF 1490ac_status=$? 1491fi 1492 1493if test "$ac_init_help" = "recursive"; then 1494 # If there are subdirs, report their specific --help. 1495 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1496 test -d "$ac_dir" || 1497 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1498 continue 1499 ac_builddir=. 1500 1501case "$ac_dir" in 1502.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1503*) 1504 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1505 # A ".." for each directory in $ac_dir_suffix. 1506 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1507 case $ac_top_builddir_sub in 1508 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1509 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1510 esac ;; 1511esac 1512ac_abs_top_builddir=$ac_pwd 1513ac_abs_builddir=$ac_pwd$ac_dir_suffix 1514# for backward compatibility: 1515ac_top_builddir=$ac_top_build_prefix 1516 1517case $srcdir in 1518 .) # We are building in place. 1519 ac_srcdir=. 1520 ac_top_srcdir=$ac_top_builddir_sub 1521 ac_abs_top_srcdir=$ac_pwd ;; 1522 [\\/]* | ?:[\\/]* ) # Absolute name. 1523 ac_srcdir=$srcdir$ac_dir_suffix; 1524 ac_top_srcdir=$srcdir 1525 ac_abs_top_srcdir=$srcdir ;; 1526 *) # Relative name. 1527 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1528 ac_top_srcdir=$ac_top_build_prefix$srcdir 1529 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1530esac 1531ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1532 1533 cd "$ac_dir" || { ac_status=$?; continue; } 1534 # Check for guested configure. 1535 if test -f "$ac_srcdir/configure.gnu"; then 1536 echo && 1537 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1538 elif test -f "$ac_srcdir/configure"; then 1539 echo && 1540 $SHELL "$ac_srcdir/configure" --help=recursive 1541 else 1542 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1543 fi || ac_status=$? 1544 cd "$ac_pwd" || { ac_status=$?; break; } 1545 done 1546fi 1547 1548test -n "$ac_init_help" && exit $ac_status 1549if $ac_init_version; then 1550 cat <<\_ACEOF 1551pam-modules configure 2.2 1552generated by GNU Autoconf 2.69 1553 1554Copyright (C) 2012 Free Software Foundation, Inc. 1555This configure script is free software; the Free Software Foundation 1556gives unlimited permission to copy, distribute and modify it. 1557_ACEOF 1558 exit 1559fi 1560 1561## ------------------------ ## 1562## Autoconf initialization. ## 1563## ------------------------ ## 1564 1565# ac_fn_c_try_compile LINENO 1566# -------------------------- 1567# Try to compile conftest.$ac_ext, and return whether this succeeded. 1568ac_fn_c_try_compile () 1569{ 1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1571 rm -f conftest.$ac_objext 1572 if { { ac_try="$ac_compile" 1573case "(($ac_try" in 1574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1575 *) ac_try_echo=$ac_try;; 1576esac 1577eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1578$as_echo "$ac_try_echo"; } >&5 1579 (eval "$ac_compile") 2>conftest.err 1580 ac_status=$? 1581 if test -s conftest.err; then 1582 grep -v '^ *+' conftest.err >conftest.er1 1583 cat conftest.er1 >&5 1584 mv -f conftest.er1 conftest.err 1585 fi 1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1587 test $ac_status = 0; } && { 1588 test -z "$ac_c_werror_flag" || 1589 test ! -s conftest.err 1590 } && test -s conftest.$ac_objext; then : 1591 ac_retval=0 1592else 1593 $as_echo "$as_me: failed program was:" >&5 1594sed 's/^/| /' conftest.$ac_ext >&5 1595 1596 ac_retval=1 1597fi 1598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1599 as_fn_set_status $ac_retval 1600 1601} # ac_fn_c_try_compile 1602 1603# ac_fn_c_try_link LINENO 1604# ----------------------- 1605# Try to link conftest.$ac_ext, and return whether this succeeded. 1606ac_fn_c_try_link () 1607{ 1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1609 rm -f conftest.$ac_objext conftest$ac_exeext 1610 if { { ac_try="$ac_link" 1611case "(($ac_try" in 1612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1613 *) ac_try_echo=$ac_try;; 1614esac 1615eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1616$as_echo "$ac_try_echo"; } >&5 1617 (eval "$ac_link") 2>conftest.err 1618 ac_status=$? 1619 if test -s conftest.err; then 1620 grep -v '^ *+' conftest.err >conftest.er1 1621 cat conftest.er1 >&5 1622 mv -f conftest.er1 conftest.err 1623 fi 1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1625 test $ac_status = 0; } && { 1626 test -z "$ac_c_werror_flag" || 1627 test ! -s conftest.err 1628 } && test -s conftest$ac_exeext && { 1629 test "$cross_compiling" = yes || 1630 test -x conftest$ac_exeext 1631 }; then : 1632 ac_retval=0 1633else 1634 $as_echo "$as_me: failed program was:" >&5 1635sed 's/^/| /' conftest.$ac_ext >&5 1636 1637 ac_retval=1 1638fi 1639 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1640 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1641 # interfere with the next link command; also delete a directory that is 1642 # left behind by Apple's compiler. We do this before executing the actions. 1643 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1645 as_fn_set_status $ac_retval 1646 1647} # ac_fn_c_try_link 1648 1649# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1650# ------------------------------------------------------- 1651# Tests whether HEADER exists and can be compiled using the include files in 1652# INCLUDES, setting the cache variable VAR accordingly. 1653ac_fn_c_check_header_compile () 1654{ 1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1657$as_echo_n "checking for $2... " >&6; } 1658if eval \${$3+:} false; then : 1659 $as_echo_n "(cached) " >&6 1660else 1661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1662/* end confdefs.h. */ 1663$4 1664#include <$2> 1665_ACEOF 1666if ac_fn_c_try_compile "$LINENO"; then : 1667 eval "$3=yes" 1668else 1669 eval "$3=no" 1670fi 1671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1672fi 1673eval ac_res=\$$3 1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1675$as_echo "$ac_res" >&6; } 1676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1677 1678} # ac_fn_c_check_header_compile 1679 1680# ac_fn_c_try_cpp LINENO 1681# ---------------------- 1682# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1683ac_fn_c_try_cpp () 1684{ 1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1686 if { { ac_try="$ac_cpp conftest.$ac_ext" 1687case "(($ac_try" in 1688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1689 *) ac_try_echo=$ac_try;; 1690esac 1691eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1692$as_echo "$ac_try_echo"; } >&5 1693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1694 ac_status=$? 1695 if test -s conftest.err; then 1696 grep -v '^ *+' conftest.err >conftest.er1 1697 cat conftest.er1 >&5 1698 mv -f conftest.er1 conftest.err 1699 fi 1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1701 test $ac_status = 0; } > conftest.i && { 1702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1703 test ! -s conftest.err 1704 }; then : 1705 ac_retval=0 1706else 1707 $as_echo "$as_me: failed program was:" >&5 1708sed 's/^/| /' conftest.$ac_ext >&5 1709 1710 ac_retval=1 1711fi 1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1713 as_fn_set_status $ac_retval 1714 1715} # ac_fn_c_try_cpp 1716 1717# ac_fn_c_try_run LINENO 1718# ---------------------- 1719# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1720# that executables *can* be run. 1721ac_fn_c_try_run () 1722{ 1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1724 if { { ac_try="$ac_link" 1725case "(($ac_try" in 1726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1727 *) ac_try_echo=$ac_try;; 1728esac 1729eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1730$as_echo "$ac_try_echo"; } >&5 1731 (eval "$ac_link") 2>&5 1732 ac_status=$? 1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1734 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1735 { { case "(($ac_try" in 1736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1737 *) ac_try_echo=$ac_try;; 1738esac 1739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1740$as_echo "$ac_try_echo"; } >&5 1741 (eval "$ac_try") 2>&5 1742 ac_status=$? 1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1744 test $ac_status = 0; }; }; then : 1745 ac_retval=0 1746else 1747 $as_echo "$as_me: program exited with status $ac_status" >&5 1748 $as_echo "$as_me: failed program was:" >&5 1749sed 's/^/| /' conftest.$ac_ext >&5 1750 1751 ac_retval=$ac_status 1752fi 1753 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1755 as_fn_set_status $ac_retval 1756 1757} # ac_fn_c_try_run 1758 1759# ac_fn_c_check_func LINENO FUNC VAR 1760# ---------------------------------- 1761# Tests whether FUNC exists, setting the cache variable VAR accordingly 1762ac_fn_c_check_func () 1763{ 1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1766$as_echo_n "checking for $2... " >&6; } 1767if eval \${$3+:} false; then : 1768 $as_echo_n "(cached) " >&6 1769else 1770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1771/* end confdefs.h. */ 1772/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1773 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1774#define $2 innocuous_$2 1775 1776/* System header to define __stub macros and hopefully few prototypes, 1777 which can conflict with char $2 (); below. 1778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1779 <limits.h> exists even on freestanding compilers. */ 1780 1781#ifdef __STDC__ 1782# include <limits.h> 1783#else 1784# include <assert.h> 1785#endif 1786 1787#undef $2 1788 1789/* Override any GCC internal prototype to avoid an error. 1790 Use char because int might match the return type of a GCC 1791 builtin and then its argument prototype would still apply. */ 1792#ifdef __cplusplus 1793extern "C" 1794#endif 1795char $2 (); 1796/* The GNU C library defines this for functions which it implements 1797 to always fail with ENOSYS. Some functions are actually named 1798 something starting with __ and the normal name is an alias. */ 1799#if defined __stub_$2 || defined __stub___$2 1800choke me 1801#endif 1802 1803int 1804main () 1805{ 1806return $2 (); 1807 ; 1808 return 0; 1809} 1810_ACEOF 1811if ac_fn_c_try_link "$LINENO"; then : 1812 eval "$3=yes" 1813else 1814 eval "$3=no" 1815fi 1816rm -f core conftest.err conftest.$ac_objext \ 1817 conftest$ac_exeext conftest.$ac_ext 1818fi 1819eval ac_res=\$$3 1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1821$as_echo "$ac_res" >&6; } 1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1823 1824} # ac_fn_c_check_func 1825 1826# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1827# ------------------------------------------------------- 1828# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1829# the include files in INCLUDES and setting the cache variable VAR 1830# accordingly. 1831ac_fn_c_check_header_mongrel () 1832{ 1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1834 if eval \${$3+:} false; then : 1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1836$as_echo_n "checking for $2... " >&6; } 1837if eval \${$3+:} false; then : 1838 $as_echo_n "(cached) " >&6 1839fi 1840eval ac_res=\$$3 1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1842$as_echo "$ac_res" >&6; } 1843else 1844 # Is the header compilable? 1845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1846$as_echo_n "checking $2 usability... " >&6; } 1847cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1848/* end confdefs.h. */ 1849$4 1850#include <$2> 1851_ACEOF 1852if ac_fn_c_try_compile "$LINENO"; then : 1853 ac_header_compiler=yes 1854else 1855 ac_header_compiler=no 1856fi 1857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1859$as_echo "$ac_header_compiler" >&6; } 1860 1861# Is the header present? 1862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1863$as_echo_n "checking $2 presence... " >&6; } 1864cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1865/* end confdefs.h. */ 1866#include <$2> 1867_ACEOF 1868if ac_fn_c_try_cpp "$LINENO"; then : 1869 ac_header_preproc=yes 1870else 1871 ac_header_preproc=no 1872fi 1873rm -f conftest.err conftest.i conftest.$ac_ext 1874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1875$as_echo "$ac_header_preproc" >&6; } 1876 1877# So? What about this header? 1878case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1879 yes:no: ) 1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1881$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1883$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1884 ;; 1885 no:yes:* ) 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1887$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1889$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1891$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1893$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1895$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1896( $as_echo "## ----------------------------------------- ## 1897## Report this to bug-pam-modules@gnu.org.ua ## 1898## ----------------------------------------- ##" 1899 ) | sed "s/^/$as_me: WARNING: /" >&2 1900 ;; 1901esac 1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1903$as_echo_n "checking for $2... " >&6; } 1904if eval \${$3+:} false; then : 1905 $as_echo_n "(cached) " >&6 1906else 1907 eval "$3=\$ac_header_compiler" 1908fi 1909eval ac_res=\$$3 1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1911$as_echo "$ac_res" >&6; } 1912fi 1913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1914 1915} # ac_fn_c_check_header_mongrel 1916 1917# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1918# ------------------------------------------- 1919# Tests whether TYPE exists after having included INCLUDES, setting cache 1920# variable VAR accordingly. 1921ac_fn_c_check_type () 1922{ 1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1925$as_echo_n "checking for $2... " >&6; } 1926if eval \${$3+:} false; then : 1927 $as_echo_n "(cached) " >&6 1928else 1929 eval "$3=no" 1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1931/* end confdefs.h. */ 1932$4 1933int 1934main () 1935{ 1936if (sizeof ($2)) 1937 return 0; 1938 ; 1939 return 0; 1940} 1941_ACEOF 1942if ac_fn_c_try_compile "$LINENO"; then : 1943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1944/* end confdefs.h. */ 1945$4 1946int 1947main () 1948{ 1949if (sizeof (($2))) 1950 return 0; 1951 ; 1952 return 0; 1953} 1954_ACEOF 1955if ac_fn_c_try_compile "$LINENO"; then : 1956 1957else 1958 eval "$3=yes" 1959fi 1960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1961fi 1962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1963fi 1964eval ac_res=\$$3 1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1966$as_echo "$ac_res" >&6; } 1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1968 1969} # ac_fn_c_check_type 1970 1971# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 1972# ---------------------------------------------------- 1973# Tries to find if the field MEMBER exists in type AGGR, after including 1974# INCLUDES, setting cache variable VAR accordingly. 1975ac_fn_c_check_member () 1976{ 1977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 1979$as_echo_n "checking for $2.$3... " >&6; } 1980if eval \${$4+:} false; then : 1981 $as_echo_n "(cached) " >&6 1982else 1983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1984/* end confdefs.h. */ 1985$5 1986int 1987main () 1988{ 1989static $2 ac_aggr; 1990if (ac_aggr.$3) 1991return 0; 1992 ; 1993 return 0; 1994} 1995_ACEOF 1996if ac_fn_c_try_compile "$LINENO"; then : 1997 eval "$4=yes" 1998else 1999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2000/* end confdefs.h. */ 2001$5 2002int 2003main () 2004{ 2005static $2 ac_aggr; 2006if (sizeof ac_aggr.$3) 2007return 0; 2008 ; 2009 return 0; 2010} 2011_ACEOF 2012if ac_fn_c_try_compile "$LINENO"; then : 2013 eval "$4=yes" 2014else 2015 eval "$4=no" 2016fi 2017rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2018fi 2019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2020fi 2021eval ac_res=\$$4 2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2023$as_echo "$ac_res" >&6; } 2024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2025 2026} # ac_fn_c_check_member 2027cat >config.log <<_ACEOF 2028This file contains any messages produced by compilers while 2029running configure, to aid debugging if configure makes a mistake. 2030 2031It was created by pam-modules $as_me 2.2, which was 2032generated by GNU Autoconf 2.69. Invocation command line was 2033 2034 $ $0 $@ 2035 2036_ACEOF 2037exec 5>>config.log 2038{ 2039cat <<_ASUNAME 2040## --------- ## 2041## Platform. ## 2042## --------- ## 2043 2044hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2045uname -m = `(uname -m) 2>/dev/null || echo unknown` 2046uname -r = `(uname -r) 2>/dev/null || echo unknown` 2047uname -s = `(uname -s) 2>/dev/null || echo unknown` 2048uname -v = `(uname -v) 2>/dev/null || echo unknown` 2049 2050/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2051/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2052 2053/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2054/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2055/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2056/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2057/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2058/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2059/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2060 2061_ASUNAME 2062 2063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2064for as_dir in $PATH 2065do 2066 IFS=$as_save_IFS 2067 test -z "$as_dir" && as_dir=. 2068 $as_echo "PATH: $as_dir" 2069 done 2070IFS=$as_save_IFS 2071 2072} >&5 2073 2074cat >&5 <<_ACEOF 2075 2076 2077## ----------- ## 2078## Core tests. ## 2079## ----------- ## 2080 2081_ACEOF 2082 2083 2084# Keep a trace of the command line. 2085# Strip out --no-create and --no-recursion so they do not pile up. 2086# Strip out --silent because we don't want to record it for future runs. 2087# Also quote any args containing shell meta-characters. 2088# Make two passes to allow for proper duplicate-argument suppression. 2089ac_configure_args= 2090ac_configure_args0= 2091ac_configure_args1= 2092ac_must_keep_next=false 2093for ac_pass in 1 2 2094do 2095 for ac_arg 2096 do 2097 case $ac_arg in 2098 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2100 | -silent | --silent | --silen | --sile | --sil) 2101 continue ;; 2102 *\'*) 2103 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2104 esac 2105 case $ac_pass in 2106 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2107 2) 2108 as_fn_append ac_configure_args1 " '$ac_arg'" 2109 if test $ac_must_keep_next = true; then 2110 ac_must_keep_next=false # Got value, back to normal. 2111 else 2112 case $ac_arg in 2113 *=* | --config-cache | -C | -disable-* | --disable-* \ 2114 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2115 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2116 | -with-* | --with-* | -without-* | --without-* | --x) 2117 case "$ac_configure_args0 " in 2118 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2119 esac 2120 ;; 2121 -* ) ac_must_keep_next=true ;; 2122 esac 2123 fi 2124 as_fn_append ac_configure_args " '$ac_arg'" 2125 ;; 2126 esac 2127 done 2128done 2129{ ac_configure_args0=; unset ac_configure_args0;} 2130{ ac_configure_args1=; unset ac_configure_args1;} 2131 2132# When interrupted or exit'd, cleanup temporary files, and complete 2133# config.log. We remove comments because anyway the quotes in there 2134# would cause problems or look ugly. 2135# WARNING: Use '\'' to represent an apostrophe within the trap. 2136# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2137trap 'exit_status=$? 2138 # Save into config.log some information that might help in debugging. 2139 { 2140 echo 2141 2142 $as_echo "## ---------------- ## 2143## Cache variables. ## 2144## ---------------- ##" 2145 echo 2146 # The following way of writing the cache mishandles newlines in values, 2147( 2148 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2149 eval ac_val=\$$ac_var 2150 case $ac_val in #( 2151 *${as_nl}*) 2152 case $ac_var in #( 2153 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2154$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2155 esac 2156 case $ac_var in #( 2157 _ | IFS | as_nl) ;; #( 2158 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2159 *) { eval $ac_var=; unset $ac_var;} ;; 2160 esac ;; 2161 esac 2162 done 2163 (set) 2>&1 | 2164 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2165 *${as_nl}ac_space=\ *) 2166 sed -n \ 2167 "s/'\''/'\''\\\\'\'''\''/g; 2168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2169 ;; #( 2170 *) 2171 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2172 ;; 2173 esac | 2174 sort 2175) 2176 echo 2177 2178 $as_echo "## ----------------- ## 2179## Output variables. ## 2180## ----------------- ##" 2181 echo 2182 for ac_var in $ac_subst_vars 2183 do 2184 eval ac_val=\$$ac_var 2185 case $ac_val in 2186 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2187 esac 2188 $as_echo "$ac_var='\''$ac_val'\''" 2189 done | sort 2190 echo 2191 2192 if test -n "$ac_subst_files"; then 2193 $as_echo "## ------------------- ## 2194## File substitutions. ## 2195## ------------------- ##" 2196 echo 2197 for ac_var in $ac_subst_files 2198 do 2199 eval ac_val=\$$ac_var 2200 case $ac_val in 2201 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2202 esac 2203 $as_echo "$ac_var='\''$ac_val'\''" 2204 done | sort 2205 echo 2206 fi 2207 2208 if test -s confdefs.h; then 2209 $as_echo "## ----------- ## 2210## confdefs.h. ## 2211## ----------- ##" 2212 echo 2213 cat confdefs.h 2214 echo 2215 fi 2216 test "$ac_signal" != 0 && 2217 $as_echo "$as_me: caught signal $ac_signal" 2218 $as_echo "$as_me: exit $exit_status" 2219 } >&5 2220 rm -f core *.core core.conftest.* && 2221 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2222 exit $exit_status 2223' 0 2224for ac_signal in 1 2 13 15; do 2225 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2226done 2227ac_signal=0 2228 2229# confdefs.h avoids OS command line length limits that DEFS can exceed. 2230rm -f -r conftest* confdefs.h 2231 2232$as_echo "/* confdefs.h */" > confdefs.h 2233 2234# Predefined preprocessor variables. 2235 2236cat >>confdefs.h <<_ACEOF 2237#define PACKAGE_NAME "$PACKAGE_NAME" 2238_ACEOF 2239 2240cat >>confdefs.h <<_ACEOF 2241#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2242_ACEOF 2243 2244cat >>confdefs.h <<_ACEOF 2245#define PACKAGE_VERSION "$PACKAGE_VERSION" 2246_ACEOF 2247 2248cat >>confdefs.h <<_ACEOF 2249#define PACKAGE_STRING "$PACKAGE_STRING" 2250_ACEOF 2251 2252cat >>confdefs.h <<_ACEOF 2253#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2254_ACEOF 2255 2256cat >>confdefs.h <<_ACEOF 2257#define PACKAGE_URL "$PACKAGE_URL" 2258_ACEOF 2259 2260 2261# Let the site file select an alternate cache file if it wants to. 2262# Prefer an explicitly selected file to automatically selected ones. 2263ac_site_file1=NONE 2264ac_site_file2=NONE 2265if test -n "$CONFIG_SITE"; then 2266 # We do not want a PATH search for config.site. 2267 case $CONFIG_SITE in #(( 2268 -*) ac_site_file1=./$CONFIG_SITE;; 2269 */*) ac_site_file1=$CONFIG_SITE;; 2270 *) ac_site_file1=./$CONFIG_SITE;; 2271 esac 2272elif test "x$prefix" != xNONE; then 2273 ac_site_file1=$prefix/share/config.site 2274 ac_site_file2=$prefix/etc/config.site 2275else 2276 ac_site_file1=$ac_default_prefix/share/config.site 2277 ac_site_file2=$ac_default_prefix/etc/config.site 2278fi 2279for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2280do 2281 test "x$ac_site_file" = xNONE && continue 2282 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2283 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2284$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2285 sed 's/^/| /' "$ac_site_file" >&5 2286 . "$ac_site_file" \ 2287 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2288$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2289as_fn_error $? "failed to load site script $ac_site_file 2290See \`config.log' for more details" "$LINENO" 5; } 2291 fi 2292done 2293 2294if test -r "$cache_file"; then 2295 # Some versions of bash will fail to source /dev/null (special files 2296 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2297 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2298 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2299$as_echo "$as_me: loading cache $cache_file" >&6;} 2300 case $cache_file in 2301 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2302 *) . "./$cache_file";; 2303 esac 2304 fi 2305else 2306 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2307$as_echo "$as_me: creating cache $cache_file" >&6;} 2308 >$cache_file 2309fi 2310 2311# Check that the precious variables saved in the cache have kept the same 2312# value. 2313ac_cache_corrupted=false 2314for ac_var in $ac_precious_vars; do 2315 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2316 eval ac_new_set=\$ac_env_${ac_var}_set 2317 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2318 eval ac_new_val=\$ac_env_${ac_var}_value 2319 case $ac_old_set,$ac_new_set in 2320 set,) 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2322$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2323 ac_cache_corrupted=: ;; 2324 ,set) 2325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2326$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2327 ac_cache_corrupted=: ;; 2328 ,);; 2329 *) 2330 if test "x$ac_old_val" != "x$ac_new_val"; then 2331 # differences in whitespace do not lead to failure. 2332 ac_old_val_w=`echo x $ac_old_val` 2333 ac_new_val_w=`echo x $ac_new_val` 2334 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2335 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2336$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2337 ac_cache_corrupted=: 2338 else 2339 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2340$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2341 eval $ac_var=\$ac_old_val 2342 fi 2343 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2344$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2345 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2346$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2347 fi;; 2348 esac 2349 # Pass precious variables to config.status. 2350 if test "$ac_new_set" = set; then 2351 case $ac_new_val in 2352 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2353 *) ac_arg=$ac_var=$ac_new_val ;; 2354 esac 2355 case " $ac_configure_args " in 2356 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2357 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2358 esac 2359 fi 2360done 2361if $ac_cache_corrupted; then 2362 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2363$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2364 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2365$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2366 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2367fi 2368## -------------------- ## 2369## Main body of script. ## 2370## -------------------- ## 2371 2372ac_ext=c 2373ac_cpp='$CPP $CPPFLAGS' 2374ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2375ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2376ac_compiler_gnu=$ac_cv_c_compiler_gnu 2377 2378 2379 2380ac_aux_dir= 2381for ac_dir in build-aux "$srcdir"/build-aux; do 2382 if test -f "$ac_dir/install-sh"; then 2383 ac_aux_dir=$ac_dir 2384 ac_install_sh="$ac_aux_dir/install-sh -c" 2385 break 2386 elif test -f "$ac_dir/install.sh"; then 2387 ac_aux_dir=$ac_dir 2388 ac_install_sh="$ac_aux_dir/install.sh -c" 2389 break 2390 elif test -f "$ac_dir/shtool"; then 2391 ac_aux_dir=$ac_dir 2392 ac_install_sh="$ac_aux_dir/shtool install -c" 2393 break 2394 fi 2395done 2396if test -z "$ac_aux_dir"; then 2397 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2398fi 2399 2400# These three variables are undocumented and unsupported, 2401# and are intended to be withdrawn in a future Autoconf release. 2402# They can cause serious problems if a builder's source tree is in a directory 2403# whose full name contains unusual characters. 2404ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2405ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2406ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2407 2408 2409 2410am__api_version='1.14' 2411 2412# Find a good install program. We prefer a C program (faster), 2413# so one script is as good as another. But avoid the broken or 2414# incompatible versions: 2415# SysV /etc/install, /usr/sbin/install 2416# SunOS /usr/etc/install 2417# IRIX /sbin/install 2418# AIX /bin/install 2419# AmigaOS /C/install, which installs bootblocks on floppy discs 2420# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2421# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2422# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2423# OS/2's system install, which has a completely different semantic 2424# ./install, which can be erroneously created by make from ./install.sh. 2425# Reject install programs that cannot install multiple files. 2426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2427$as_echo_n "checking for a BSD-compatible install... " >&6; } 2428if test -z "$INSTALL"; then 2429if ${ac_cv_path_install+:} false; then : 2430 $as_echo_n "(cached) " >&6 2431else 2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2433for as_dir in $PATH 2434do 2435 IFS=$as_save_IFS 2436 test -z "$as_dir" && as_dir=. 2437 # Account for people who put trailing slashes in PATH elements. 2438case $as_dir/ in #(( 2439 ./ | .// | /[cC]/* | \ 2440 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2441 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2442 /usr/ucb/* ) ;; 2443 *) 2444 # OSF1 and SCO ODT 3.0 have their own names for install. 2445 # Don't use installbsd from OSF since it installs stuff as root 2446 # by default. 2447 for ac_prog in ginstall scoinst install; do 2448 for ac_exec_ext in '' $ac_executable_extensions; do 2449 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2450 if test $ac_prog = install && 2451 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2452 # AIX install. It has an incompatible calling convention. 2453 : 2454 elif test $ac_prog = install && 2455 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2456 # program-specific install script used by HP pwplus--don't use. 2457 : 2458 else 2459 rm -rf conftest.one conftest.two conftest.dir 2460 echo one > conftest.one 2461 echo two > conftest.two 2462 mkdir conftest.dir 2463 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2464 test -s conftest.one && test -s conftest.two && 2465 test -s conftest.dir/conftest.one && 2466 test -s conftest.dir/conftest.two 2467 then 2468 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2469 break 3 2470 fi 2471 fi 2472 fi 2473 done 2474 done 2475 ;; 2476esac 2477 2478 done 2479IFS=$as_save_IFS 2480 2481rm -rf conftest.one conftest.two conftest.dir 2482 2483fi 2484 if test "${ac_cv_path_install+set}" = set; then 2485 INSTALL=$ac_cv_path_install 2486 else 2487 # As a last resort, use the slow shell script. Don't cache a 2488 # value for INSTALL within a source directory, because that will 2489 # break other packages using the cache if that directory is 2490 # removed, or if the value is a relative name. 2491 INSTALL=$ac_install_sh 2492 fi 2493fi 2494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2495$as_echo "$INSTALL" >&6; } 2496 2497# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2498# It thinks the first close brace ends the variable substitution. 2499test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2500 2501test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2502 2503test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2504 2505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2506$as_echo_n "checking whether build environment is sane... " >&6; } 2507# Reject unsafe characters in $srcdir or the absolute working directory 2508# name. Accept space and tab only in the latter. 2509am_lf=' 2510' 2511case `pwd` in 2512 *[\\\"\#\$\&\'\`$am_lf]*) 2513 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2514esac 2515case $srcdir in 2516 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2517 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2518esac 2519 2520# Do 'set' in a subshell so we don't clobber the current shell's 2521# arguments. Must try -L first in case configure is actually a 2522# symlink; some systems play weird games with the mod time of symlinks 2523# (eg FreeBSD returns the mod time of the symlink's containing 2524# directory). 2525if ( 2526 am_has_slept=no 2527 for am_try in 1 2; do 2528 echo "timestamp, slept: $am_has_slept" > conftest.file 2529 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2530 if test "$*" = "X"; then 2531 # -L didn't work. 2532 set X `ls -t "$srcdir/configure" conftest.file` 2533 fi 2534 if test "$*" != "X $srcdir/configure conftest.file" \ 2535 && test "$*" != "X conftest.file $srcdir/configure"; then 2536 2537 # If neither matched, then we have a broken ls. This can happen 2538 # if, for instance, CONFIG_SHELL is bash and it inherits a 2539 # broken ls alias from the environment. This has actually 2540 # happened. Such a system could not be considered "sane". 2541 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2542 alias in your environment" "$LINENO" 5 2543 fi 2544 if test "$2" = conftest.file || test $am_try -eq 2; then 2545 break 2546 fi 2547 # Just in case. 2548 sleep 1 2549 am_has_slept=yes 2550 done 2551 test "$2" = conftest.file 2552 ) 2553then 2554 # Ok. 2555 : 2556else 2557 as_fn_error $? "newly created file is older than distributed files! 2558Check your system clock" "$LINENO" 5 2559fi 2560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2561$as_echo "yes" >&6; } 2562# If we didn't sleep, we still need to ensure time stamps of config.status and 2563# generated files are strictly newer. 2564am_sleep_pid= 2565if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2566 ( sleep 1 ) & 2567 am_sleep_pid=$! 2568fi 2569 2570rm -f conftest.file 2571 2572test "$program_prefix" != NONE && 2573 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2574# Use a double $ so make ignores it. 2575test "$program_suffix" != NONE && 2576 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2577# Double any \ or $. 2578# By default was `s,x,x', remove it if useless. 2579ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2580program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2581 2582# expand $ac_aux_dir to an absolute path 2583am_aux_dir=`cd $ac_aux_dir && pwd` 2584 2585if test x"${MISSING+set}" != xset; then 2586 case $am_aux_dir in 2587 *\ * | *\ *) 2588 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2589 *) 2590 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2591 esac 2592fi 2593# Use eval to expand $SHELL 2594if eval "$MISSING --is-lightweight"; then 2595 am_missing_run="$MISSING " 2596else 2597 am_missing_run= 2598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2599$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2600fi 2601 2602if test x"${install_sh}" != xset; then 2603 case $am_aux_dir in 2604 *\ * | *\ *) 2605 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2606 *) 2607 install_sh="\${SHELL} $am_aux_dir/install-sh" 2608 esac 2609fi 2610 2611# Installed binaries are usually stripped using 'strip' when the user 2612# run "make install-strip". However 'strip' might not be the right 2613# tool to use in cross-compilation environments, therefore Automake 2614# will honor the 'STRIP' environment variable to overrule this program. 2615if test "$cross_compiling" != no; then 2616 if test -n "$ac_tool_prefix"; then 2617 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2618set dummy ${ac_tool_prefix}strip; ac_word=$2 2619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2620$as_echo_n "checking for $ac_word... " >&6; } 2621if ${ac_cv_prog_STRIP+:} false; then : 2622 $as_echo_n "(cached) " >&6 2623else 2624 if test -n "$STRIP"; then 2625 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2626else 2627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2628for as_dir in $PATH 2629do 2630 IFS=$as_save_IFS 2631 test -z "$as_dir" && as_dir=. 2632 for ac_exec_ext in '' $ac_executable_extensions; do 2633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2634 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2636 break 2 2637 fi 2638done 2639 done 2640IFS=$as_save_IFS 2641 2642fi 2643fi 2644STRIP=$ac_cv_prog_STRIP 2645if test -n "$STRIP"; then 2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2647$as_echo "$STRIP" >&6; } 2648else 2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2650$as_echo "no" >&6; } 2651fi 2652 2653 2654fi 2655if test -z "$ac_cv_prog_STRIP"; then 2656 ac_ct_STRIP=$STRIP 2657 # Extract the first word of "strip", so it can be a program name with args. 2658set dummy strip; ac_word=$2 2659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2660$as_echo_n "checking for $ac_word... " >&6; } 2661if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2662 $as_echo_n "(cached) " >&6 2663else 2664 if test -n "$ac_ct_STRIP"; then 2665 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2666else 2667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2668for as_dir in $PATH 2669do 2670 IFS=$as_save_IFS 2671 test -z "$as_dir" && as_dir=. 2672 for ac_exec_ext in '' $ac_executable_extensions; do 2673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2674 ac_cv_prog_ac_ct_STRIP="strip" 2675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2676 break 2 2677 fi 2678done 2679 done 2680IFS=$as_save_IFS 2681 2682fi 2683fi 2684ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2685if test -n "$ac_ct_STRIP"; then 2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2687$as_echo "$ac_ct_STRIP" >&6; } 2688else 2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2690$as_echo "no" >&6; } 2691fi 2692 2693 if test "x$ac_ct_STRIP" = x; then 2694 STRIP=":" 2695 else 2696 case $cross_compiling:$ac_tool_warned in 2697yes:) 2698{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2699$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2700ac_tool_warned=yes ;; 2701esac 2702 STRIP=$ac_ct_STRIP 2703 fi 2704else 2705 STRIP="$ac_cv_prog_STRIP" 2706fi 2707 2708fi 2709INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2710 2711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2712$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2713if test -z "$MKDIR_P"; then 2714 if ${ac_cv_path_mkdir+:} false; then : 2715 $as_echo_n "(cached) " >&6 2716else 2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2718for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2719do 2720 IFS=$as_save_IFS 2721 test -z "$as_dir" && as_dir=. 2722 for ac_prog in mkdir gmkdir; do 2723 for ac_exec_ext in '' $ac_executable_extensions; do 2724 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2725 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2726 'mkdir (GNU coreutils) '* | \ 2727 'mkdir (coreutils) '* | \ 2728 'mkdir (fileutils) '4.1*) 2729 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2730 break 3;; 2731 esac 2732 done 2733 done 2734 done 2735IFS=$as_save_IFS 2736 2737fi 2738 2739 test -d ./--version && rmdir ./--version 2740 if test "${ac_cv_path_mkdir+set}" = set; then 2741 MKDIR_P="$ac_cv_path_mkdir -p" 2742 else 2743 # As a last resort, use the slow shell script. Don't cache a 2744 # value for MKDIR_P within a source directory, because that will 2745 # break other packages using the cache if that directory is 2746 # removed, or if the value is a relative name. 2747 MKDIR_P="$ac_install_sh -d" 2748 fi 2749fi 2750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2751$as_echo "$MKDIR_P" >&6; } 2752 2753for ac_prog in gawk mawk nawk awk 2754do 2755 # Extract the first word of "$ac_prog", so it can be a program name with args. 2756set dummy $ac_prog; ac_word=$2 2757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2758$as_echo_n "checking for $ac_word... " >&6; } 2759if ${ac_cv_prog_AWK+:} false; then : 2760 $as_echo_n "(cached) " >&6 2761else 2762 if test -n "$AWK"; then 2763 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2764else 2765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2766for as_dir in $PATH 2767do 2768 IFS=$as_save_IFS 2769 test -z "$as_dir" && as_dir=. 2770 for ac_exec_ext in '' $ac_executable_extensions; do 2771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2772 ac_cv_prog_AWK="$ac_prog" 2773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2774 break 2 2775 fi 2776done 2777 done 2778IFS=$as_save_IFS 2779 2780fi 2781fi 2782AWK=$ac_cv_prog_AWK 2783if test -n "$AWK"; then 2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2785$as_echo "$AWK" >&6; } 2786else 2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2788$as_echo "no" >&6; } 2789fi 2790 2791 2792 test -n "$AWK" && break 2793done 2794 2795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2796$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2797set x ${MAKE-make} 2798ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2799if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2800 $as_echo_n "(cached) " >&6 2801else 2802 cat >conftest.make <<\_ACEOF 2803SHELL = /bin/sh 2804all: 2805 @echo '@@@%%%=$(MAKE)=@@@%%%' 2806_ACEOF 2807# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2808case `${MAKE-make} -f conftest.make 2>/dev/null` in 2809 *@@@%%%=?*=@@@%%%*) 2810 eval ac_cv_prog_make_${ac_make}_set=yes;; 2811 *) 2812 eval ac_cv_prog_make_${ac_make}_set=no;; 2813esac 2814rm -f conftest.make 2815fi 2816if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2818$as_echo "yes" >&6; } 2819 SET_MAKE= 2820else 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2822$as_echo "no" >&6; } 2823 SET_MAKE="MAKE=${MAKE-make}" 2824fi 2825 2826rm -rf .tst 2>/dev/null 2827mkdir .tst 2>/dev/null 2828if test -d .tst; then 2829 am__leading_dot=. 2830else 2831 am__leading_dot=_ 2832fi 2833rmdir .tst 2>/dev/null 2834 2835# Check whether --enable-silent-rules was given. 2836if test "${enable_silent_rules+set}" = set; then : 2837 enableval=$enable_silent_rules; 2838fi 2839 2840case $enable_silent_rules in # ((( 2841 yes) AM_DEFAULT_VERBOSITY=0;; 2842 no) AM_DEFAULT_VERBOSITY=1;; 2843 *) AM_DEFAULT_VERBOSITY=1;; 2844esac 2845am_make=${MAKE-make} 2846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2847$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2848if ${am_cv_make_support_nested_variables+:} false; then : 2849 $as_echo_n "(cached) " >&6 2850else 2851 if $as_echo 'TRUE=$(BAR$(V)) 2852BAR0=false 2853BAR1=true 2854V=1 2855am__doit: 2856 @$(TRUE) 2857.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2858 am_cv_make_support_nested_variables=yes 2859else 2860 am_cv_make_support_nested_variables=no 2861fi 2862fi 2863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2864$as_echo "$am_cv_make_support_nested_variables" >&6; } 2865if test $am_cv_make_support_nested_variables = yes; then 2866 AM_V='$(V)' 2867 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2868else 2869 AM_V=$AM_DEFAULT_VERBOSITY 2870 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2871fi 2872AM_BACKSLASH='\' 2873 2874if test "`cd $srcdir && pwd`" != "`pwd`"; then 2875 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2876 # is not polluted with repeated "-I." 2877 am__isrc=' -I$(srcdir)' 2878 # test to see if srcdir already configured 2879 if test -f $srcdir/config.status; then 2880 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2881 fi 2882fi 2883 2884# test whether we have cygpath 2885if test -z "$CYGPATH_W"; then 2886 if (cygpath --version) >/dev/null 2>/dev/null; then 2887 CYGPATH_W='cygpath -w' 2888 else 2889 CYGPATH_W=echo 2890 fi 2891fi 2892 2893 2894# Define the identity of the package. 2895 PACKAGE='pam-modules' 2896 VERSION='2.2' 2897 2898 2899cat >>confdefs.h <<_ACEOF 2900#define PACKAGE "$PACKAGE" 2901_ACEOF 2902 2903 2904cat >>confdefs.h <<_ACEOF 2905#define VERSION "$VERSION" 2906_ACEOF 2907 2908# Some tools Automake needs. 2909 2910ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2911 2912 2913AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2914 2915 2916AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2917 2918 2919AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2920 2921 2922MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2923 2924# For better backward compatibility. To be removed once Automake 1.9.x 2925# dies out for good. For more background, see: 2926# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2927# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2928mkdir_p='$(MKDIR_P)' 2929 2930# We need awk for the "check" target. The system "awk" is bad on 2931# some platforms. 2932# Always define AMTAR for backward compatibility. Yes, it's still used 2933# in the wild :-( We should find a proper way to deprecate it ... 2934AMTAR='$${TAR-tar}' 2935 2936 2937# We'll loop over all known methods to create a tar archive until one works. 2938_am_tools='gnutar plaintar pax cpio none' 2939 2940# The POSIX 1988 'ustar' format is defined with fixed-size fields. 2941 # There is notably a 21 bits limit for the UID and the GID. In fact, 2942 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 2943 # and bug#13588). 2944 am_max_uid=2097151 # 2^21 - 1 2945 am_max_gid=$am_max_uid 2946 # The $UID and $GID variables are not portable, so we need to resort 2947 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 2948 # below are definitely unexpected, so allow the users to see them 2949 # (that is, avoid stderr redirection). 2950 am_uid=`id -u || echo unknown` 2951 am_gid=`id -g || echo unknown` 2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 2953$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 2954 if test $am_uid -le $am_max_uid; then 2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2956$as_echo "yes" >&6; } 2957 else 2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2959$as_echo "no" >&6; } 2960 _am_tools=none 2961 fi 2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 2963$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 2964 if test $am_gid -le $am_max_gid; then 2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2966$as_echo "yes" >&6; } 2967 else 2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2969$as_echo "no" >&6; } 2970 _am_tools=none 2971 fi 2972 2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 2974$as_echo_n "checking how to create a ustar tar archive... " >&6; } 2975 2976 # Go ahead even if we have the value already cached. We do so because we 2977 # need to set the values for the 'am__tar' and 'am__untar' variables. 2978 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 2979 2980 for _am_tool in $_am_tools; do 2981 case $_am_tool in 2982 gnutar) 2983 for _am_tar in tar gnutar gtar; do 2984 { echo "$as_me:$LINENO: $_am_tar --version" >&5 2985 ($_am_tar --version) >&5 2>&5 2986 ac_status=$? 2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2988 (exit $ac_status); } && break 2989 done 2990 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 2991 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 2992 am__untar="$_am_tar -xf -" 2993 ;; 2994 plaintar) 2995 # Must skip GNU tar: if it does not support --format= it doesn't create 2996 # ustar tarball either. 2997 (tar --version) >/dev/null 2>&1 && continue 2998 am__tar='tar chf - "$$tardir"' 2999 am__tar_='tar chf - "$tardir"' 3000 am__untar='tar xf -' 3001 ;; 3002 pax) 3003 am__tar='pax -L -x ustar -w "$$tardir"' 3004 am__tar_='pax -L -x ustar -w "$tardir"' 3005 am__untar='pax -r' 3006 ;; 3007 cpio) 3008 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3009 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3010 am__untar='cpio -i -H ustar -d' 3011 ;; 3012 none) 3013 am__tar=false 3014 am__tar_=false 3015 am__untar=false 3016 ;; 3017 esac 3018 3019 # If the value was cached, stop now. We just wanted to have am__tar 3020 # and am__untar set. 3021 test -n "${am_cv_prog_tar_ustar}" && break 3022 3023 # tar/untar a dummy directory, and stop if the command works. 3024 rm -rf conftest.dir 3025 mkdir conftest.dir 3026 echo GrepMe > conftest.dir/file 3027 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3028 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3029 ac_status=$? 3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3031 (exit $ac_status); } 3032 rm -rf conftest.dir 3033 if test -s conftest.tar; then 3034 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3035 ($am__untar <conftest.tar) >&5 2>&5 3036 ac_status=$? 3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3038 (exit $ac_status); } 3039 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3040 (cat conftest.dir/file) >&5 2>&5 3041 ac_status=$? 3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3043 (exit $ac_status); } 3044 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3045 fi 3046 done 3047 rm -rf conftest.dir 3048 3049 if ${am_cv_prog_tar_ustar+:} false; then : 3050 $as_echo_n "(cached) " >&6 3051else 3052 am_cv_prog_tar_ustar=$_am_tool 3053fi 3054 3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3056$as_echo "$am_cv_prog_tar_ustar" >&6; } 3057 3058 3059 3060 3061 3062 3063# POSIX will say in a future version that running "rm -f" with no argument 3064# is OK; and we want to be able to make that assumption in our Makefile 3065# recipes. So use an aggressive probe to check that the usage we want is 3066# actually supported "in the wild" to an acceptable degree. 3067# See automake bug#10828. 3068# To make any issue more visible, cause the running configure to be aborted 3069# by default if the 'rm' program in use doesn't match our expectations; the 3070# user can still override this though. 3071if rm -f && rm -fr && rm -rf; then : OK; else 3072 cat >&2 <<'END' 3073Oops! 3074 3075Your 'rm' program seems unable to run without file operands specified 3076on the command line, even when the '-f' option is present. This is contrary 3077to the behaviour of most rm programs out there, and not conforming with 3078the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3079 3080Please tell bug-automake@gnu.org about your system, including the value 3081of your $PATH and any error possibly output before this message. This 3082can help us improve future automake versions. 3083 3084END 3085 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3086 echo 'Configuration will proceed anyway, since you have set the' >&2 3087 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3088 echo >&2 3089 else 3090 cat >&2 <<'END' 3091Aborting the configuration process, to ensure you take notice of the issue. 3092 3093You can download and install GNU coreutils to get an 'rm' implementation 3094that behaves properly: <http://www.gnu.org/software/coreutils/>. 3095 3096If you want to complete the configuration process using your problematic 3097'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3098to "yes", and re-run configure. 3099 3100END 3101 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3102 fi 3103fi 3104ac_config_headers="$ac_config_headers config.h" 3105 3106 3107# Enable silent rules by default: 3108# Check whether --enable-silent-rules was given. 3109if test "${enable_silent_rules+set}" = set; then : 3110 enableval=$enable_silent_rules; 3111fi 3112 3113case $enable_silent_rules in # ((( 3114 yes) AM_DEFAULT_VERBOSITY=0;; 3115 no) AM_DEFAULT_VERBOSITY=1;; 3116 *) AM_DEFAULT_VERBOSITY=0;; 3117esac 3118am_make=${MAKE-make} 3119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3120$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3121if ${am_cv_make_support_nested_variables+:} false; then : 3122 $as_echo_n "(cached) " >&6 3123else 3124 if $as_echo 'TRUE=$(BAR$(V)) 3125BAR0=false 3126BAR1=true 3127V=1 3128am__doit: 3129 @$(TRUE) 3130.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3131 am_cv_make_support_nested_variables=yes 3132else 3133 am_cv_make_support_nested_variables=no 3134fi 3135fi 3136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3137$as_echo "$am_cv_make_support_nested_variables" >&6; } 3138if test $am_cv_make_support_nested_variables = yes; then 3139 AM_V='$(V)' 3140 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3141else 3142 AM_V=$AM_DEFAULT_VERBOSITY 3143 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3144fi 3145AM_BACKSLASH='\' 3146 3147 3148VI_CURRENT=1 3149 3150VI_REVISION=0 3151 3152VI_AGE=0 3153 3154 3155ac_ext=c 3156ac_cpp='$CPP $CPPFLAGS' 3157ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3158ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3159ac_compiler_gnu=$ac_cv_c_compiler_gnu 3160if test -n "$ac_tool_prefix"; then 3161 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3162set dummy ${ac_tool_prefix}gcc; ac_word=$2 3163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3164$as_echo_n "checking for $ac_word... " >&6; } 3165if ${ac_cv_prog_CC+:} false; then : 3166 $as_echo_n "(cached) " >&6 3167else 3168 if test -n "$CC"; then 3169 ac_cv_prog_CC="$CC" # Let the user override the test. 3170else 3171as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3172for as_dir in $PATH 3173do 3174 IFS=$as_save_IFS 3175 test -z "$as_dir" && as_dir=. 3176 for ac_exec_ext in '' $ac_executable_extensions; do 3177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3178 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3180 break 2 3181 fi 3182done 3183 done 3184IFS=$as_save_IFS 3185 3186fi 3187fi 3188CC=$ac_cv_prog_CC 3189if test -n "$CC"; then 3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3191$as_echo "$CC" >&6; } 3192else 3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3194$as_echo "no" >&6; } 3195fi 3196 3197 3198fi 3199if test -z "$ac_cv_prog_CC"; then 3200 ac_ct_CC=$CC 3201 # Extract the first word of "gcc", so it can be a program name with args. 3202set dummy gcc; 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_ac_ct_CC+:} false; then : 3206 $as_echo_n "(cached) " >&6 3207else 3208 if test -n "$ac_ct_CC"; then 3209 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="gcc" 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 3228ac_ct_CC=$ac_cv_prog_ac_ct_CC 3229if test -n "$ac_ct_CC"; then 3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3231$as_echo "$ac_ct_CC" >&6; } 3232else 3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3234$as_echo "no" >&6; } 3235fi 3236 3237 if test "x$ac_ct_CC" = x; then 3238 CC="" 3239 else 3240 case $cross_compiling:$ac_tool_warned in 3241yes:) 3242{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3243$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3244ac_tool_warned=yes ;; 3245esac 3246 CC=$ac_ct_CC 3247 fi 3248else 3249 CC="$ac_cv_prog_CC" 3250fi 3251 3252if test -z "$CC"; then 3253 if test -n "$ac_tool_prefix"; then 3254 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3255set dummy ${ac_tool_prefix}cc; ac_word=$2 3256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3257$as_echo_n "checking for $ac_word... " >&6; } 3258if ${ac_cv_prog_CC+:} false; then : 3259 $as_echo_n "(cached) " >&6 3260else 3261 if test -n "$CC"; then 3262 ac_cv_prog_CC="$CC" # Let the user override the test. 3263else 3264as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3265for as_dir in $PATH 3266do 3267 IFS=$as_save_IFS 3268 test -z "$as_dir" && as_dir=. 3269 for ac_exec_ext in '' $ac_executable_extensions; do 3270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3271 ac_cv_prog_CC="${ac_tool_prefix}cc" 3272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3273 break 2 3274 fi 3275done 3276 done 3277IFS=$as_save_IFS 3278 3279fi 3280fi 3281CC=$ac_cv_prog_CC 3282if test -n "$CC"; then 3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3284$as_echo "$CC" >&6; } 3285else 3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3287$as_echo "no" >&6; } 3288fi 3289 3290 3291 fi 3292fi 3293if test -z "$CC"; then 3294 # Extract the first word of "cc", so it can be a program name with args. 3295set dummy cc; ac_word=$2 3296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3297$as_echo_n "checking for $ac_word... " >&6; } 3298if ${ac_cv_prog_CC+:} false; then : 3299 $as_echo_n "(cached) " >&6 3300else 3301 if test -n "$CC"; then 3302 ac_cv_prog_CC="$CC" # Let the user override the test. 3303else 3304 ac_prog_rejected=no 3305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3306for as_dir in $PATH 3307do 3308 IFS=$as_save_IFS 3309 test -z "$as_dir" && as_dir=. 3310 for ac_exec_ext in '' $ac_executable_extensions; do 3311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3312 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3313 ac_prog_rejected=yes 3314 continue 3315 fi 3316 ac_cv_prog_CC="cc" 3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3318 break 2 3319 fi 3320done 3321 done 3322IFS=$as_save_IFS 3323 3324if test $ac_prog_rejected = yes; then 3325 # We found a bogon in the path, so make sure we never use it. 3326 set dummy $ac_cv_prog_CC 3327 shift 3328 if test $# != 0; then 3329 # We chose a different compiler from the bogus one. 3330 # However, it has the same basename, so the bogon will be chosen 3331 # first if we set CC to just the basename; use the full file name. 3332 shift 3333 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3334 fi 3335fi 3336fi 3337fi 3338CC=$ac_cv_prog_CC 3339if test -n "$CC"; then 3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3341$as_echo "$CC" >&6; } 3342else 3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3344$as_echo "no" >&6; } 3345fi 3346 3347 3348fi 3349if test -z "$CC"; then 3350 if test -n "$ac_tool_prefix"; then 3351 for ac_prog in cl.exe 3352 do 3353 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3354set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3356$as_echo_n "checking for $ac_word... " >&6; } 3357if ${ac_cv_prog_CC+:} false; then : 3358 $as_echo_n "(cached) " >&6 3359else 3360 if test -n "$CC"; then 3361 ac_cv_prog_CC="$CC" # Let the user override the test. 3362else 3363as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3364for as_dir in $PATH 3365do 3366 IFS=$as_save_IFS 3367 test -z "$as_dir" && as_dir=. 3368 for ac_exec_ext in '' $ac_executable_extensions; do 3369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3370 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3372 break 2 3373 fi 3374done 3375 done 3376IFS=$as_save_IFS 3377 3378fi 3379fi 3380CC=$ac_cv_prog_CC 3381if test -n "$CC"; then 3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3383$as_echo "$CC" >&6; } 3384else 3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3386$as_echo "no" >&6; } 3387fi 3388 3389 3390 test -n "$CC" && break 3391 done 3392fi 3393if test -z "$CC"; then 3394 ac_ct_CC=$CC 3395 for ac_prog in cl.exe 3396do 3397 # Extract the first word of "$ac_prog", so it can be a program name with args. 3398set dummy $ac_prog; ac_word=$2 3399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3400$as_echo_n "checking for $ac_word... " >&6; } 3401if ${ac_cv_prog_ac_ct_CC+:} false; then : 3402 $as_echo_n "(cached) " >&6 3403else 3404 if test -n "$ac_ct_CC"; then 3405 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3406else 3407as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3408for as_dir in $PATH 3409do 3410 IFS=$as_save_IFS 3411 test -z "$as_dir" && as_dir=. 3412 for ac_exec_ext in '' $ac_executable_extensions; do 3413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3414 ac_cv_prog_ac_ct_CC="$ac_prog" 3415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3416 break 2 3417 fi 3418done 3419 done 3420IFS=$as_save_IFS 3421 3422fi 3423fi 3424ac_ct_CC=$ac_cv_prog_ac_ct_CC 3425if test -n "$ac_ct_CC"; then 3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3427$as_echo "$ac_ct_CC" >&6; } 3428else 3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3430$as_echo "no" >&6; } 3431fi 3432 3433 3434 test -n "$ac_ct_CC" && break 3435done 3436 3437 if test "x$ac_ct_CC" = x; then 3438 CC="" 3439 else 3440 case $cross_compiling:$ac_tool_warned in 3441yes:) 3442{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3443$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3444ac_tool_warned=yes ;; 3445esac 3446 CC=$ac_ct_CC 3447 fi 3448fi 3449 3450fi 3451 3452 3453test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3454$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3455as_fn_error $? "no acceptable C compiler found in \$PATH 3456See \`config.log' for more details" "$LINENO" 5; } 3457 3458# Provide some information about the compiler. 3459$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3460set X $ac_compile 3461ac_compiler=$2 3462for ac_option in --version -v -V -qversion; do 3463 { { ac_try="$ac_compiler $ac_option >&5" 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_compiler $ac_option >&5") 2>conftest.err 3471 ac_status=$? 3472 if test -s conftest.err; then 3473 sed '10a\ 3474... rest of stderr output deleted ... 3475 10q' conftest.err >conftest.er1 3476 cat conftest.er1 >&5 3477 fi 3478 rm -f conftest.er1 conftest.err 3479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3480 test $ac_status = 0; } 3481done 3482 3483cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3484/* end confdefs.h. */ 3485 3486int 3487main () 3488{ 3489 3490 ; 3491 return 0; 3492} 3493_ACEOF 3494ac_clean_files_save=$ac_clean_files 3495ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3496# Try to create an executable without -o first, disregard a.out. 3497# It will help us diagnose broken compilers, and finding out an intuition 3498# of exeext. 3499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3500$as_echo_n "checking whether the C compiler works... " >&6; } 3501ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3502 3503# The possible output files: 3504ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3505 3506ac_rmfiles= 3507for ac_file in $ac_files 3508do 3509 case $ac_file in 3510 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3511 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3512 esac 3513done 3514rm -f $ac_rmfiles 3515 3516if { { ac_try="$ac_link_default" 3517case "(($ac_try" in 3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3519 *) ac_try_echo=$ac_try;; 3520esac 3521eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3522$as_echo "$ac_try_echo"; } >&5 3523 (eval "$ac_link_default") 2>&5 3524 ac_status=$? 3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3526 test $ac_status = 0; }; then : 3527 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3528# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3529# in a Makefile. We should not override ac_cv_exeext if it was cached, 3530# so that the user can short-circuit this test for compilers unknown to 3531# Autoconf. 3532for ac_file in $ac_files '' 3533do 3534 test -f "$ac_file" || continue 3535 case $ac_file in 3536 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3537 ;; 3538 [ab].out ) 3539 # We found the default executable, but exeext='' is most 3540 # certainly right. 3541 break;; 3542 *.* ) 3543 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3544 then :; else 3545 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3546 fi 3547 # We set ac_cv_exeext here because the later test for it is not 3548 # safe: cross compilers may not add the suffix if given an `-o' 3549 # argument, so we may need to know it at that point already. 3550 # Even if this section looks crufty: it has the advantage of 3551 # actually working. 3552 break;; 3553 * ) 3554 break;; 3555 esac 3556done 3557test "$ac_cv_exeext" = no && ac_cv_exeext= 3558 3559else 3560 ac_file='' 3561fi 3562if test -z "$ac_file"; then : 3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3564$as_echo "no" >&6; } 3565$as_echo "$as_me: failed program was:" >&5 3566sed 's/^/| /' conftest.$ac_ext >&5 3567 3568{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3569$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3570as_fn_error 77 "C compiler cannot create executables 3571See \`config.log' for more details" "$LINENO" 5; } 3572else 3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3574$as_echo "yes" >&6; } 3575fi 3576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3577$as_echo_n "checking for C compiler default output file name... " >&6; } 3578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3579$as_echo "$ac_file" >&6; } 3580ac_exeext=$ac_cv_exeext 3581 3582rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3583ac_clean_files=$ac_clean_files_save 3584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3585$as_echo_n "checking for suffix of executables... " >&6; } 3586if { { ac_try="$ac_link" 3587case "(($ac_try" in 3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3589 *) ac_try_echo=$ac_try;; 3590esac 3591eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3592$as_echo "$ac_try_echo"; } >&5 3593 (eval "$ac_link") 2>&5 3594 ac_status=$? 3595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3596 test $ac_status = 0; }; then : 3597 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3598# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3599# work properly (i.e., refer to `conftest.exe'), while it won't with 3600# `rm'. 3601for ac_file in conftest.exe conftest conftest.*; do 3602 test -f "$ac_file" || continue 3603 case $ac_file in 3604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3605 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3606 break;; 3607 * ) break;; 3608 esac 3609done 3610else 3611 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3612$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3613as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3614See \`config.log' for more details" "$LINENO" 5; } 3615fi 3616rm -f conftest conftest$ac_cv_exeext 3617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3618$as_echo "$ac_cv_exeext" >&6; } 3619 3620rm -f conftest.$ac_ext 3621EXEEXT=$ac_cv_exeext 3622ac_exeext=$EXEEXT 3623cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3624/* end confdefs.h. */ 3625#include <stdio.h> 3626int 3627main () 3628{ 3629FILE *f = fopen ("conftest.out", "w"); 3630 return ferror (f) || fclose (f) != 0; 3631 3632 ; 3633 return 0; 3634} 3635_ACEOF 3636ac_clean_files="$ac_clean_files conftest.out" 3637# Check that the compiler produces executables we can run. If not, either 3638# the compiler is broken, or we cross compile. 3639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3640$as_echo_n "checking whether we are cross compiling... " >&6; } 3641if test "$cross_compiling" != yes; then 3642 { { ac_try="$ac_link" 3643case "(($ac_try" in 3644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3645 *) ac_try_echo=$ac_try;; 3646esac 3647eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3648$as_echo "$ac_try_echo"; } >&5 3649 (eval "$ac_link") 2>&5 3650 ac_status=$? 3651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3652 test $ac_status = 0; } 3653 if { ac_try='./conftest$ac_cv_exeext' 3654 { { case "(($ac_try" in 3655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3656 *) ac_try_echo=$ac_try;; 3657esac 3658eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3659$as_echo "$ac_try_echo"; } >&5 3660 (eval "$ac_try") 2>&5 3661 ac_status=$? 3662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3663 test $ac_status = 0; }; }; then 3664 cross_compiling=no 3665 else 3666 if test "$cross_compiling" = maybe; then 3667 cross_compiling=yes 3668 else 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 run C compiled programs. 3672If you meant to cross compile, use \`--host'. 3673See \`config.log' for more details" "$LINENO" 5; } 3674 fi 3675 fi 3676fi 3677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3678$as_echo "$cross_compiling" >&6; } 3679 3680rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3681ac_clean_files=$ac_clean_files_save 3682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3683$as_echo_n "checking for suffix of object files... " >&6; } 3684if ${ac_cv_objext+:} false; then : 3685 $as_echo_n "(cached) " >&6 3686else 3687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3688/* end confdefs.h. */ 3689 3690int 3691main () 3692{ 3693 3694 ; 3695 return 0; 3696} 3697_ACEOF 3698rm -f conftest.o conftest.obj 3699if { { ac_try="$ac_compile" 3700case "(($ac_try" in 3701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3702 *) ac_try_echo=$ac_try;; 3703esac 3704eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3705$as_echo "$ac_try_echo"; } >&5 3706 (eval "$ac_compile") 2>&5 3707 ac_status=$? 3708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3709 test $ac_status = 0; }; then : 3710 for ac_file in conftest.o conftest.obj conftest.*; do 3711 test -f "$ac_file" || continue; 3712 case $ac_file in 3713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3714 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3715 break;; 3716 esac 3717done 3718else 3719 $as_echo "$as_me: failed program was:" >&5 3720sed 's/^/| /' conftest.$ac_ext >&5 3721 3722{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3723$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3724as_fn_error $? "cannot compute suffix of object files: cannot compile 3725See \`config.log' for more details" "$LINENO" 5; } 3726fi 3727rm -f conftest.$ac_cv_objext conftest.$ac_ext 3728fi 3729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3730$as_echo "$ac_cv_objext" >&6; } 3731OBJEXT=$ac_cv_objext 3732ac_objext=$OBJEXT 3733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3734$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3735if ${ac_cv_c_compiler_gnu+:} false; then : 3736 $as_echo_n "(cached) " >&6 3737else 3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3739/* end confdefs.h. */ 3740 3741int 3742main () 3743{ 3744#ifndef __GNUC__ 3745 choke me 3746#endif 3747 3748 ; 3749 return 0; 3750} 3751_ACEOF 3752if ac_fn_c_try_compile "$LINENO"; then : 3753 ac_compiler_gnu=yes 3754else 3755 ac_compiler_gnu=no 3756fi 3757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3758ac_cv_c_compiler_gnu=$ac_compiler_gnu 3759 3760fi 3761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3762$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3763if test $ac_compiler_gnu = yes; then 3764 GCC=yes 3765else 3766 GCC= 3767fi 3768ac_test_CFLAGS=${CFLAGS+set} 3769ac_save_CFLAGS=$CFLAGS 3770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3771$as_echo_n "checking whether $CC accepts -g... " >&6; } 3772if ${ac_cv_prog_cc_g+:} false; then : 3773 $as_echo_n "(cached) " >&6 3774else 3775 ac_save_c_werror_flag=$ac_c_werror_flag 3776 ac_c_werror_flag=yes 3777 ac_cv_prog_cc_g=no 3778 CFLAGS="-g" 3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3780/* end confdefs.h. */ 3781 3782int 3783main () 3784{ 3785 3786 ; 3787 return 0; 3788} 3789_ACEOF 3790if ac_fn_c_try_compile "$LINENO"; then : 3791 ac_cv_prog_cc_g=yes 3792else 3793 CFLAGS="" 3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3795/* end confdefs.h. */ 3796 3797int 3798main () 3799{ 3800 3801 ; 3802 return 0; 3803} 3804_ACEOF 3805if ac_fn_c_try_compile "$LINENO"; then : 3806 3807else 3808 ac_c_werror_flag=$ac_save_c_werror_flag 3809 CFLAGS="-g" 3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3811/* end confdefs.h. */ 3812 3813int 3814main () 3815{ 3816 3817 ; 3818 return 0; 3819} 3820_ACEOF 3821if ac_fn_c_try_compile "$LINENO"; then : 3822 ac_cv_prog_cc_g=yes 3823fi 3824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3825fi 3826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3827fi 3828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3829 ac_c_werror_flag=$ac_save_c_werror_flag 3830fi 3831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3832$as_echo "$ac_cv_prog_cc_g" >&6; } 3833if test "$ac_test_CFLAGS" = set; then 3834 CFLAGS=$ac_save_CFLAGS 3835elif test $ac_cv_prog_cc_g = yes; then 3836 if test "$GCC" = yes; then 3837 CFLAGS="-g -O2" 3838 else 3839 CFLAGS="-g" 3840 fi 3841else 3842 if test "$GCC" = yes; then 3843 CFLAGS="-O2" 3844 else 3845 CFLAGS= 3846 fi 3847fi 3848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3849$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3850if ${ac_cv_prog_cc_c89+:} false; then : 3851 $as_echo_n "(cached) " >&6 3852else 3853 ac_cv_prog_cc_c89=no 3854ac_save_CC=$CC 3855cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3856/* end confdefs.h. */ 3857#include <stdarg.h> 3858#include <stdio.h> 3859struct stat; 3860/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3861struct buf { int x; }; 3862FILE * (*rcsopen) (struct buf *, struct stat *, int); 3863static char *e (p, i) 3864 char **p; 3865 int i; 3866{ 3867 return p[i]; 3868} 3869static char *f (char * (*g) (char **, int), char **p, ...) 3870{ 3871 char *s; 3872 va_list v; 3873 va_start (v,p); 3874 s = g (p, va_arg (v,int)); 3875 va_end (v); 3876 return s; 3877} 3878 3879/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3880 function prototypes and stuff, but not '\xHH' hex character constants. 3881 These don't provoke an error unfortunately, instead are silently treated 3882 as 'x'. The following induces an error, until -std is added to get 3883 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3884 array size at least. It's necessary to write '\x00'==0 to get something 3885 that's true only with -std. */ 3886int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3887 3888/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3889 inside strings and character constants. */ 3890#define FOO(x) 'x' 3891int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3892 3893int test (int i, double x); 3894struct s1 {int (*f) (int a);}; 3895struct s2 {int (*f) (double a);}; 3896int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3897int argc; 3898char **argv; 3899int 3900main () 3901{ 3902return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3903 ; 3904 return 0; 3905} 3906_ACEOF 3907for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3908 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3909do 3910 CC="$ac_save_CC $ac_arg" 3911 if ac_fn_c_try_compile "$LINENO"; then : 3912 ac_cv_prog_cc_c89=$ac_arg 3913fi 3914rm -f core conftest.err conftest.$ac_objext 3915 test "x$ac_cv_prog_cc_c89" != "xno" && break 3916done 3917rm -f conftest.$ac_ext 3918CC=$ac_save_CC 3919 3920fi 3921# AC_CACHE_VAL 3922case "x$ac_cv_prog_cc_c89" in 3923 x) 3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3925$as_echo "none needed" >&6; } ;; 3926 xno) 3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3928$as_echo "unsupported" >&6; } ;; 3929 *) 3930 CC="$CC $ac_cv_prog_cc_c89" 3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3932$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3933esac 3934if test "x$ac_cv_prog_cc_c89" != xno; then : 3935 3936fi 3937 3938ac_ext=c 3939ac_cpp='$CPP $CPPFLAGS' 3940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3942ac_compiler_gnu=$ac_cv_c_compiler_gnu 3943 3944ac_ext=c 3945ac_cpp='$CPP $CPPFLAGS' 3946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3948ac_compiler_gnu=$ac_cv_c_compiler_gnu 3949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3950$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3951if ${am_cv_prog_cc_c_o+:} false; then : 3952 $as_echo_n "(cached) " >&6 3953else 3954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3955/* end confdefs.h. */ 3956 3957int 3958main () 3959{ 3960 3961 ; 3962 return 0; 3963} 3964_ACEOF 3965 # Make sure it works both with $CC and with simple cc. 3966 # Following AC_PROG_CC_C_O, we do the test twice because some 3967 # compilers refuse to overwrite an existing .o file with -o, 3968 # though they will create one. 3969 am_cv_prog_cc_c_o=yes 3970 for am_i in 1 2; do 3971 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3972 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3973 ac_status=$? 3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3975 (exit $ac_status); } \ 3976 && test -f conftest2.$ac_objext; then 3977 : OK 3978 else 3979 am_cv_prog_cc_c_o=no 3980 break 3981 fi 3982 done 3983 rm -f core conftest* 3984 unset am_i 3985fi 3986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3987$as_echo "$am_cv_prog_cc_c_o" >&6; } 3988if test "$am_cv_prog_cc_c_o" != yes; then 3989 # Losing compiler, so override with the script. 3990 # FIXME: It is wrong to rewrite CC. 3991 # But if we don't then we get into trouble of one sort or another. 3992 # A longer-term fix would be to have automake use am__CC in this case, 3993 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3994 CC="$am_aux_dir/compile $CC" 3995fi 3996ac_ext=c 3997ac_cpp='$CPP $CPPFLAGS' 3998ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3999ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4000ac_compiler_gnu=$ac_cv_c_compiler_gnu 4001 4002DEPDIR="${am__leading_dot}deps" 4003 4004ac_config_commands="$ac_config_commands depfiles" 4005 4006 4007am_make=${MAKE-make} 4008cat > confinc << 'END' 4009am__doit: 4010 @echo this is the am__doit target 4011.PHONY: am__doit 4012END 4013# If we don't find an include directive, just comment out the code. 4014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4015$as_echo_n "checking for style of include used by $am_make... " >&6; } 4016am__include="#" 4017am__quote= 4018_am_result=none 4019# First try GNU make style include. 4020echo "include confinc" > confmf 4021# Ignore all kinds of additional output from 'make'. 4022case `$am_make -s -f confmf 2> /dev/null` in #( 4023*the\ am__doit\ target*) 4024 am__include=include 4025 am__quote= 4026 _am_result=GNU 4027 ;; 4028esac 4029# Now try BSD make style include. 4030if test "$am__include" = "#"; then 4031 echo '.include "confinc"' > confmf 4032 case `$am_make -s -f confmf 2> /dev/null` in #( 4033 *the\ am__doit\ target*) 4034 am__include=.include 4035 am__quote="\"" 4036 _am_result=BSD 4037 ;; 4038 esac 4039fi 4040 4041 4042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4043$as_echo "$_am_result" >&6; } 4044rm -f confinc confmf 4045 4046# Check whether --enable-dependency-tracking was given. 4047if test "${enable_dependency_tracking+set}" = set; then : 4048 enableval=$enable_dependency_tracking; 4049fi 4050 4051if test "x$enable_dependency_tracking" != xno; then 4052 am_depcomp="$ac_aux_dir/depcomp" 4053 AMDEPBACKSLASH='\' 4054 am__nodep='_no' 4055fi 4056 if test "x$enable_dependency_tracking" != xno; then 4057 AMDEP_TRUE= 4058 AMDEP_FALSE='#' 4059else 4060 AMDEP_TRUE='#' 4061 AMDEP_FALSE= 4062fi 4063 4064 4065 4066depcc="$CC" am_compiler_list= 4067 4068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4069$as_echo_n "checking dependency style of $depcc... " >&6; } 4070if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4071 $as_echo_n "(cached) " >&6 4072else 4073 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4074 # We make a subdir and do the tests there. Otherwise we can end up 4075 # making bogus files that we don't know about and never remove. For 4076 # instance it was reported that on HP-UX the gcc test will end up 4077 # making a dummy file named 'D' -- because '-MD' means "put the output 4078 # in D". 4079 rm -rf conftest.dir 4080 mkdir conftest.dir 4081 # Copy depcomp to subdir because otherwise we won't find it if we're 4082 # using a relative directory. 4083 cp "$am_depcomp" conftest.dir 4084 cd conftest.dir 4085 # We will build objects and dependencies in a subdirectory because 4086 # it helps to detect inapplicable dependency modes. For instance 4087 # both Tru64's cc and ICC support -MD to output dependencies as a 4088 # side effect of compilation, but ICC will put the dependencies in 4089 # the current directory while Tru64 will put them in the object 4090 # directory. 4091 mkdir sub 4092 4093 am_cv_CC_dependencies_compiler_type=none 4094 if test "$am_compiler_list" = ""; then 4095 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4096 fi 4097 am__universal=false 4098 case " $depcc " in #( 4099 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4100 esac 4101 4102 for depmode in $am_compiler_list; do 4103 # Setup a source with many dependencies, because some compilers 4104 # like to wrap large dependency lists on column 80 (with \), and 4105 # we should not choose a depcomp mode which is confused by this. 4106 # 4107 # We need to recreate these files for each test, as the compiler may 4108 # overwrite some of them when testing with obscure command lines. 4109 # This happens at least with the AIX C compiler. 4110 : > sub/conftest.c 4111 for i in 1 2 3 4 5 6; do 4112 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4113 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4114 # Solaris 10 /bin/sh. 4115 echo '/* dummy */' > sub/conftst$i.h 4116 done 4117 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4118 4119 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4120 # mode. It turns out that the SunPro C++ compiler does not properly 4121 # handle '-M -o', and we need to detect this. Also, some Intel 4122 # versions had trouble with output in subdirs. 4123 am__obj=sub/conftest.${OBJEXT-o} 4124 am__minus_obj="-o $am__obj" 4125 case $depmode in 4126 gcc) 4127 # This depmode causes a compiler race in universal mode. 4128 test "$am__universal" = false || continue 4129 ;; 4130 nosideeffect) 4131 # After this tag, mechanisms are not by side-effect, so they'll 4132 # only be used when explicitly requested. 4133 if test "x$enable_dependency_tracking" = xyes; then 4134 continue 4135 else 4136 break 4137 fi 4138 ;; 4139 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4140 # This compiler won't grok '-c -o', but also, the minuso test has 4141 # not run yet. These depmodes are late enough in the game, and 4142 # so weak that their functioning should not be impacted. 4143 am__obj=conftest.${OBJEXT-o} 4144 am__minus_obj= 4145 ;; 4146 none) break ;; 4147 esac 4148 if depmode=$depmode \ 4149 source=sub/conftest.c object=$am__obj \ 4150 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4151 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4152 >/dev/null 2>conftest.err && 4153 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4154 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4155 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4156 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4157 # icc doesn't choke on unknown options, it will just issue warnings 4158 # or remarks (even with -Werror). So we grep stderr for any message 4159 # that says an option was ignored or not supported. 4160 # When given -MP, icc 7.0 and 7.1 complain thusly: 4161 # icc: Command line warning: ignoring option '-M'; no argument required 4162 # The diagnosis changed in icc 8.0: 4163 # icc: Command line remark: option '-MP' not supported 4164 if (grep 'ignoring option' conftest.err || 4165 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4166 am_cv_CC_dependencies_compiler_type=$depmode 4167 break 4168 fi 4169 fi 4170 done 4171 4172 cd .. 4173 rm -rf conftest.dir 4174else 4175 am_cv_CC_dependencies_compiler_type=none 4176fi 4177 4178fi 4179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4180$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4181CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4182 4183 if 4184 test "x$enable_dependency_tracking" != xno \ 4185 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4186 am__fastdepCC_TRUE= 4187 am__fastdepCC_FALSE='#' 4188else 4189 am__fastdepCC_TRUE='#' 4190 am__fastdepCC_FALSE= 4191fi 4192 4193 4194 4195 4196 4197case `pwd` in 4198 *\ * | *\ *) 4199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4200$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4201esac 4202 4203 4204 4205macro_version='2.4.2' 4206macro_revision='1.3337' 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220ltmain="$ac_aux_dir/ltmain.sh" 4221 4222# Make sure we can run config.sub. 4223$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4224 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4225 4226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4227$as_echo_n "checking build system type... " >&6; } 4228if ${ac_cv_build+:} false; then : 4229 $as_echo_n "(cached) " >&6 4230else 4231 ac_build_alias=$build_alias 4232test "x$ac_build_alias" = x && 4233 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4234test "x$ac_build_alias" = x && 4235 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4236ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4237 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4238 4239fi 4240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4241$as_echo "$ac_cv_build" >&6; } 4242case $ac_cv_build in 4243*-*-*) ;; 4244*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4245esac 4246build=$ac_cv_build 4247ac_save_IFS=$IFS; IFS='-' 4248set x $ac_cv_build 4249shift 4250build_cpu=$1 4251build_vendor=$2 4252shift; shift 4253# Remember, the first character of IFS is used to create $*, 4254# except with old shells: 4255build_os=$* 4256IFS=$ac_save_IFS 4257case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4258 4259 4260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4261$as_echo_n "checking host system type... " >&6; } 4262if ${ac_cv_host+:} false; then : 4263 $as_echo_n "(cached) " >&6 4264else 4265 if test "x$host_alias" = x; then 4266 ac_cv_host=$ac_cv_build 4267else 4268 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4269 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4270fi 4271 4272fi 4273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4274$as_echo "$ac_cv_host" >&6; } 4275case $ac_cv_host in 4276*-*-*) ;; 4277*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4278esac 4279host=$ac_cv_host 4280ac_save_IFS=$IFS; IFS='-' 4281set x $ac_cv_host 4282shift 4283host_cpu=$1 4284host_vendor=$2 4285shift; shift 4286# Remember, the first character of IFS is used to create $*, 4287# except with old shells: 4288host_os=$* 4289IFS=$ac_save_IFS 4290case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4291 4292 4293# Backslashify metacharacters that are still active within 4294# double-quoted strings. 4295sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4296 4297# Same as above, but do not quote variable references. 4298double_quote_subst='s/\(["`\\]\)/\\\1/g' 4299 4300# Sed substitution to delay expansion of an escaped shell variable in a 4301# double_quote_subst'ed string. 4302delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4303 4304# Sed substitution to delay expansion of an escaped single quote. 4305delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4306 4307# Sed substitution to avoid accidental globbing in evaled expressions 4308no_glob_subst='s/\*/\\\*/g' 4309 4310ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4311ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4312ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4313 4314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4315$as_echo_n "checking how to print strings... " >&6; } 4316# Test print first, because it will be a builtin if present. 4317if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4318 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4319 ECHO='print -r --' 4320elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4321 ECHO='printf %s\n' 4322else 4323 # Use this function as a fallback that always works. 4324 func_fallback_echo () 4325 { 4326 eval 'cat <<_LTECHO_EOF 4327$1 4328_LTECHO_EOF' 4329 } 4330 ECHO='func_fallback_echo' 4331fi 4332 4333# func_echo_all arg... 4334# Invoke $ECHO with all args, space-separated. 4335func_echo_all () 4336{ 4337 $ECHO "" 4338} 4339 4340case "$ECHO" in 4341 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4342$as_echo "printf" >&6; } ;; 4343 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4344$as_echo "print -r" >&6; } ;; 4345 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4346$as_echo "cat" >&6; } ;; 4347esac 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4363$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4364if ${ac_cv_path_SED+:} false; then : 4365 $as_echo_n "(cached) " >&6 4366else 4367 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4368 for ac_i in 1 2 3 4 5 6 7; do 4369 ac_script="$ac_script$as_nl$ac_script" 4370 done 4371 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4372 { ac_script=; unset ac_script;} 4373 if test -z "$SED"; then 4374 ac_path_SED_found=false 4375 # Loop through the user's path and test for each of PROGNAME-LIST 4376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4377for as_dir in $PATH 4378do 4379 IFS=$as_save_IFS 4380 test -z "$as_dir" && as_dir=. 4381 for ac_prog in sed gsed; do 4382 for ac_exec_ext in '' $ac_executable_extensions; do 4383 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4384 as_fn_executable_p "$ac_path_SED" || continue 4385# Check for GNU ac_path_SED and select it if it is found. 4386 # Check for GNU $ac_path_SED 4387case `"$ac_path_SED" --version 2>&1` in 4388*GNU*) 4389 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4390*) 4391 ac_count=0 4392 $as_echo_n 0123456789 >"conftest.in" 4393 while : 4394 do 4395 cat "conftest.in" "conftest.in" >"conftest.tmp" 4396 mv "conftest.tmp" "conftest.in" 4397 cp "conftest.in" "conftest.nl" 4398 $as_echo '' >> "conftest.nl" 4399 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4400 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4401 as_fn_arith $ac_count + 1 && ac_count=$as_val 4402 if test $ac_count -gt ${ac_path_SED_max-0}; then 4403 # Best one so far, save it but keep looking for a better one 4404 ac_cv_path_SED="$ac_path_SED" 4405 ac_path_SED_max=$ac_count 4406 fi 4407 # 10*(2^10) chars as input seems more than enough 4408 test $ac_count -gt 10 && break 4409 done 4410 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4411esac 4412 4413 $ac_path_SED_found && break 3 4414 done 4415 done 4416 done 4417IFS=$as_save_IFS 4418 if test -z "$ac_cv_path_SED"; then 4419 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4420 fi 4421else 4422 ac_cv_path_SED=$SED 4423fi 4424 4425fi 4426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4427$as_echo "$ac_cv_path_SED" >&6; } 4428 SED="$ac_cv_path_SED" 4429 rm -f conftest.sed 4430 4431test -z "$SED" && SED=sed 4432Xsed="$SED -e 1s/^X//" 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4445$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4446if ${ac_cv_path_GREP+:} false; then : 4447 $as_echo_n "(cached) " >&6 4448else 4449 if test -z "$GREP"; then 4450 ac_path_GREP_found=false 4451 # Loop through the user's path and test for each of PROGNAME-LIST 4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4453for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4454do 4455 IFS=$as_save_IFS 4456 test -z "$as_dir" && as_dir=. 4457 for ac_prog in grep ggrep; do 4458 for ac_exec_ext in '' $ac_executable_extensions; do 4459 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4460 as_fn_executable_p "$ac_path_GREP" || continue 4461# Check for GNU ac_path_GREP and select it if it is found. 4462 # Check for GNU $ac_path_GREP 4463case `"$ac_path_GREP" --version 2>&1` in 4464*GNU*) 4465 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4466*) 4467 ac_count=0 4468 $as_echo_n 0123456789 >"conftest.in" 4469 while : 4470 do 4471 cat "conftest.in" "conftest.in" >"conftest.tmp" 4472 mv "conftest.tmp" "conftest.in" 4473 cp "conftest.in" "conftest.nl" 4474 $as_echo 'GREP' >> "conftest.nl" 4475 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4476 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4477 as_fn_arith $ac_count + 1 && ac_count=$as_val 4478 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4479 # Best one so far, save it but keep looking for a better one 4480 ac_cv_path_GREP="$ac_path_GREP" 4481 ac_path_GREP_max=$ac_count 4482 fi 4483 # 10*(2^10) chars as input seems more than enough 4484 test $ac_count -gt 10 && break 4485 done 4486 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4487esac 4488 4489 $ac_path_GREP_found && break 3 4490 done 4491 done 4492 done 4493IFS=$as_save_IFS 4494 if test -z "$ac_cv_path_GREP"; then 4495 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4496 fi 4497else 4498 ac_cv_path_GREP=$GREP 4499fi 4500 4501fi 4502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4503$as_echo "$ac_cv_path_GREP" >&6; } 4504 GREP="$ac_cv_path_GREP" 4505 4506 4507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4508$as_echo_n "checking for egrep... " >&6; } 4509if ${ac_cv_path_EGREP+:} false; then : 4510 $as_echo_n "(cached) " >&6 4511else 4512 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4513 then ac_cv_path_EGREP="$GREP -E" 4514 else 4515 if test -z "$EGREP"; then 4516 ac_path_EGREP_found=false 4517 # Loop through the user's path and test for each of PROGNAME-LIST 4518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4519for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4520do 4521 IFS=$as_save_IFS 4522 test -z "$as_dir" && as_dir=. 4523 for ac_prog in egrep; do 4524 for ac_exec_ext in '' $ac_executable_extensions; do 4525 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4526 as_fn_executable_p "$ac_path_EGREP" || continue 4527# Check for GNU ac_path_EGREP and select it if it is found. 4528 # Check for GNU $ac_path_EGREP 4529case `"$ac_path_EGREP" --version 2>&1` in 4530*GNU*) 4531 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4532*) 4533 ac_count=0 4534 $as_echo_n 0123456789 >"conftest.in" 4535 while : 4536 do 4537 cat "conftest.in" "conftest.in" >"conftest.tmp" 4538 mv "conftest.tmp" "conftest.in" 4539 cp "conftest.in" "conftest.nl" 4540 $as_echo 'EGREP' >> "conftest.nl" 4541 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4542 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4543 as_fn_arith $ac_count + 1 && ac_count=$as_val 4544 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4545 # Best one so far, save it but keep looking for a better one 4546 ac_cv_path_EGREP="$ac_path_EGREP" 4547 ac_path_EGREP_max=$ac_count 4548 fi 4549 # 10*(2^10) chars as input seems more than enough 4550 test $ac_count -gt 10 && break 4551 done 4552 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4553esac 4554 4555 $ac_path_EGREP_found && break 3 4556 done 4557 done 4558 done 4559IFS=$as_save_IFS 4560 if test -z "$ac_cv_path_EGREP"; then 4561 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4562 fi 4563else 4564 ac_cv_path_EGREP=$EGREP 4565fi 4566 4567 fi 4568fi 4569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4570$as_echo "$ac_cv_path_EGREP" >&6; } 4571 EGREP="$ac_cv_path_EGREP" 4572 4573 4574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4575$as_echo_n "checking for fgrep... " >&6; } 4576if ${ac_cv_path_FGREP+:} false; then : 4577 $as_echo_n "(cached) " >&6 4578else 4579 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4580 then ac_cv_path_FGREP="$GREP -F" 4581 else 4582 if test -z "$FGREP"; then 4583 ac_path_FGREP_found=false 4584 # Loop through the user's path and test for each of PROGNAME-LIST 4585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4586for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4587do 4588 IFS=$as_save_IFS 4589 test -z "$as_dir" && as_dir=. 4590 for ac_prog in fgrep; do 4591 for ac_exec_ext in '' $ac_executable_extensions; do 4592 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4593 as_fn_executable_p "$ac_path_FGREP" || continue 4594# Check for GNU ac_path_FGREP and select it if it is found. 4595 # Check for GNU $ac_path_FGREP 4596case `"$ac_path_FGREP" --version 2>&1` in 4597*GNU*) 4598 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4599*) 4600 ac_count=0 4601 $as_echo_n 0123456789 >"conftest.in" 4602 while : 4603 do 4604 cat "conftest.in" "conftest.in" >"conftest.tmp" 4605 mv "conftest.tmp" "conftest.in" 4606 cp "conftest.in" "conftest.nl" 4607 $as_echo 'FGREP' >> "conftest.nl" 4608 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4609 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4610 as_fn_arith $ac_count + 1 && ac_count=$as_val 4611 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4612 # Best one so far, save it but keep looking for a better one 4613 ac_cv_path_FGREP="$ac_path_FGREP" 4614 ac_path_FGREP_max=$ac_count 4615 fi 4616 # 10*(2^10) chars as input seems more than enough 4617 test $ac_count -gt 10 && break 4618 done 4619 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4620esac 4621 4622 $ac_path_FGREP_found && break 3 4623 done 4624 done 4625 done 4626IFS=$as_save_IFS 4627 if test -z "$ac_cv_path_FGREP"; then 4628 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4629 fi 4630else 4631 ac_cv_path_FGREP=$FGREP 4632fi 4633 4634 fi 4635fi 4636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4637$as_echo "$ac_cv_path_FGREP" >&6; } 4638 FGREP="$ac_cv_path_FGREP" 4639 4640 4641test -z "$GREP" && GREP=grep 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661# Check whether --with-gnu-ld was given. 4662if test "${with_gnu_ld+set}" = set; then : 4663 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4664else 4665 with_gnu_ld=no 4666fi 4667 4668ac_prog=ld 4669if test "$GCC" = yes; then 4670 # Check if gcc -print-prog-name=ld gives a path. 4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4672$as_echo_n "checking for ld used by $CC... " >&6; } 4673 case $host in 4674 *-*-mingw*) 4675 # gcc leaves a trailing carriage return which upsets mingw 4676 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4677 *) 4678 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4679 esac 4680 case $ac_prog in 4681 # Accept absolute paths. 4682 [\\/]* | ?:[\\/]*) 4683 re_direlt='/[^/][^/]*/\.\./' 4684 # Canonicalize the pathname of ld 4685 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4686 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4687 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4688 done 4689 test -z "$LD" && LD="$ac_prog" 4690 ;; 4691 "") 4692 # If it fails, then pretend we aren't using GCC. 4693 ac_prog=ld 4694 ;; 4695 *) 4696 # If it is relative, then search for the first ld in PATH. 4697 with_gnu_ld=unknown 4698 ;; 4699 esac 4700elif test "$with_gnu_ld" = yes; then 4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4702$as_echo_n "checking for GNU ld... " >&6; } 4703else 4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4705$as_echo_n "checking for non-GNU ld... " >&6; } 4706fi 4707if ${lt_cv_path_LD+:} false; then : 4708 $as_echo_n "(cached) " >&6 4709else 4710 if test -z "$LD"; then 4711 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4712 for ac_dir in $PATH; do 4713 IFS="$lt_save_ifs" 4714 test -z "$ac_dir" && ac_dir=. 4715 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4716 lt_cv_path_LD="$ac_dir/$ac_prog" 4717 # Check to see if the program is GNU ld. I'd rather use --version, 4718 # but apparently some variants of GNU ld only accept -v. 4719 # Break only if it was the GNU/non-GNU ld that we prefer. 4720 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4721 *GNU* | *'with BFD'*) 4722 test "$with_gnu_ld" != no && break 4723 ;; 4724 *) 4725 test "$with_gnu_ld" != yes && break 4726 ;; 4727 esac 4728 fi 4729 done 4730 IFS="$lt_save_ifs" 4731else 4732 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4733fi 4734fi 4735 4736LD="$lt_cv_path_LD" 4737if test -n "$LD"; then 4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4739$as_echo "$LD" >&6; } 4740else 4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4742$as_echo "no" >&6; } 4743fi 4744test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4746$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4747if ${lt_cv_prog_gnu_ld+:} false; then : 4748 $as_echo_n "(cached) " >&6 4749else 4750 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4751case `$LD -v 2>&1 </dev/null` in 4752*GNU* | *'with BFD'*) 4753 lt_cv_prog_gnu_ld=yes 4754 ;; 4755*) 4756 lt_cv_prog_gnu_ld=no 4757 ;; 4758esac 4759fi 4760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4761$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4762with_gnu_ld=$lt_cv_prog_gnu_ld 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4773$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4774if ${lt_cv_path_NM+:} false; then : 4775 $as_echo_n "(cached) " >&6 4776else 4777 if test -n "$NM"; then 4778 # Let the user override the test. 4779 lt_cv_path_NM="$NM" 4780else 4781 lt_nm_to_check="${ac_tool_prefix}nm" 4782 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4783 lt_nm_to_check="$lt_nm_to_check nm" 4784 fi 4785 for lt_tmp_nm in $lt_nm_to_check; do 4786 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4787 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4788 IFS="$lt_save_ifs" 4789 test -z "$ac_dir" && ac_dir=. 4790 tmp_nm="$ac_dir/$lt_tmp_nm" 4791 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4792 # Check to see if the nm accepts a BSD-compat flag. 4793 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4794 # nm: unknown option "B" ignored 4795 # Tru64's nm complains that /dev/null is an invalid object file 4796 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4797 */dev/null* | *'Invalid file or object type'*) 4798 lt_cv_path_NM="$tmp_nm -B" 4799 break 4800 ;; 4801 *) 4802 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4803 */dev/null*) 4804 lt_cv_path_NM="$tmp_nm -p" 4805 break 4806 ;; 4807 *) 4808 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4809 continue # so that we can try to find one that supports BSD flags 4810 ;; 4811 esac 4812 ;; 4813 esac 4814 fi 4815 done 4816 IFS="$lt_save_ifs" 4817 done 4818 : ${lt_cv_path_NM=no} 4819fi 4820fi 4821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4822$as_echo "$lt_cv_path_NM" >&6; } 4823if test "$lt_cv_path_NM" != "no"; then 4824 NM="$lt_cv_path_NM" 4825else 4826 # Didn't find any BSD compatible name lister, look for dumpbin. 4827 if test -n "$DUMPBIN"; then : 4828 # Let the user override the test. 4829 else 4830 if test -n "$ac_tool_prefix"; then 4831 for ac_prog in dumpbin "link -dump" 4832 do 4833 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4834set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4836$as_echo_n "checking for $ac_word... " >&6; } 4837if ${ac_cv_prog_DUMPBIN+:} false; then : 4838 $as_echo_n "(cached) " >&6 4839else 4840 if test -n "$DUMPBIN"; then 4841 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4842else 4843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4844for as_dir in $PATH 4845do 4846 IFS=$as_save_IFS 4847 test -z "$as_dir" && as_dir=. 4848 for ac_exec_ext in '' $ac_executable_extensions; do 4849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4850 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4852 break 2 4853 fi 4854done 4855 done 4856IFS=$as_save_IFS 4857 4858fi 4859fi 4860DUMPBIN=$ac_cv_prog_DUMPBIN 4861if test -n "$DUMPBIN"; then 4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4863$as_echo "$DUMPBIN" >&6; } 4864else 4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4866$as_echo "no" >&6; } 4867fi 4868 4869 4870 test -n "$DUMPBIN" && break 4871 done 4872fi 4873if test -z "$DUMPBIN"; then 4874 ac_ct_DUMPBIN=$DUMPBIN 4875 for ac_prog in dumpbin "link -dump" 4876do 4877 # Extract the first word of "$ac_prog", so it can be a program name with args. 4878set dummy $ac_prog; ac_word=$2 4879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4880$as_echo_n "checking for $ac_word... " >&6; } 4881if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4882 $as_echo_n "(cached) " >&6 4883else 4884 if test -n "$ac_ct_DUMPBIN"; then 4885 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4886else 4887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4888for as_dir in $PATH 4889do 4890 IFS=$as_save_IFS 4891 test -z "$as_dir" && as_dir=. 4892 for ac_exec_ext in '' $ac_executable_extensions; do 4893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4894 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4896 break 2 4897 fi 4898done 4899 done 4900IFS=$as_save_IFS 4901 4902fi 4903fi 4904ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4905if test -n "$ac_ct_DUMPBIN"; then 4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4907$as_echo "$ac_ct_DUMPBIN" >&6; } 4908else 4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4910$as_echo "no" >&6; } 4911fi 4912 4913 4914 test -n "$ac_ct_DUMPBIN" && break 4915done 4916 4917 if test "x$ac_ct_DUMPBIN" = x; then 4918 DUMPBIN=":" 4919 else 4920 case $cross_compiling:$ac_tool_warned in 4921yes:) 4922{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4923$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4924ac_tool_warned=yes ;; 4925esac 4926 DUMPBIN=$ac_ct_DUMPBIN 4927 fi 4928fi 4929 4930 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4931 *COFF*) 4932 DUMPBIN="$DUMPBIN -symbols" 4933 ;; 4934 *) 4935 DUMPBIN=: 4936 ;; 4937 esac 4938 fi 4939 4940 if test "$DUMPBIN" != ":"; then 4941 NM="$DUMPBIN" 4942 fi 4943fi 4944test -z "$NM" && NM=nm 4945 4946 4947 4948 4949 4950 4951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4952$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4953if ${lt_cv_nm_interface+:} false; then : 4954 $as_echo_n "(cached) " >&6 4955else 4956 lt_cv_nm_interface="BSD nm" 4957 echo "int some_variable = 0;" > conftest.$ac_ext 4958 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4959 (eval "$ac_compile" 2>conftest.err) 4960 cat conftest.err >&5 4961 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4962 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4963 cat conftest.err >&5 4964 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4965 cat conftest.out >&5 4966 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4967 lt_cv_nm_interface="MS dumpbin" 4968 fi 4969 rm -f conftest* 4970fi 4971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4972$as_echo "$lt_cv_nm_interface" >&6; } 4973 4974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4975$as_echo_n "checking whether ln -s works... " >&6; } 4976LN_S=$as_ln_s 4977if test "$LN_S" = "ln -s"; then 4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4979$as_echo "yes" >&6; } 4980else 4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4982$as_echo "no, using $LN_S" >&6; } 4983fi 4984 4985# find the maximum length of command line arguments 4986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4987$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4988if ${lt_cv_sys_max_cmd_len+:} false; then : 4989 $as_echo_n "(cached) " >&6 4990else 4991 i=0 4992 teststring="ABCD" 4993 4994 case $build_os in 4995 msdosdjgpp*) 4996 # On DJGPP, this test can blow up pretty badly due to problems in libc 4997 # (any single argument exceeding 2000 bytes causes a buffer overrun 4998 # during glob expansion). Even if it were fixed, the result of this 4999 # check would be larger than it should be. 5000 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5001 ;; 5002 5003 gnu*) 5004 # Under GNU Hurd, this test is not required because there is 5005 # no limit to the length of command line arguments. 5006 # Libtool will interpret -1 as no limit whatsoever 5007 lt_cv_sys_max_cmd_len=-1; 5008 ;; 5009 5010 cygwin* | mingw* | cegcc*) 5011 # On Win9x/ME, this test blows up -- it succeeds, but takes 5012 # about 5 minutes as the teststring grows exponentially. 5013 # Worse, since 9x/ME are not pre-emptively multitasking, 5014 # you end up with a "frozen" computer, even though with patience 5015 # the test eventually succeeds (with a max line length of 256k). 5016 # Instead, let's just punt: use the minimum linelength reported by 5017 # all of the supported platforms: 8192 (on NT/2K/XP). 5018 lt_cv_sys_max_cmd_len=8192; 5019 ;; 5020 5021 mint*) 5022 # On MiNT this can take a long time and run out of memory. 5023 lt_cv_sys_max_cmd_len=8192; 5024 ;; 5025 5026 amigaos*) 5027 # On AmigaOS with pdksh, this test takes hours, literally. 5028 # So we just punt and use a minimum line length of 8192. 5029 lt_cv_sys_max_cmd_len=8192; 5030 ;; 5031 5032 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5033 # This has been around since 386BSD, at least. Likely further. 5034 if test -x /sbin/sysctl; then 5035 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5036 elif test -x /usr/sbin/sysctl; then 5037 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5038 else 5039 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5040 fi 5041 # And add a safety zone 5042 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5043 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5044 ;; 5045 5046 interix*) 5047 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5048 lt_cv_sys_max_cmd_len=196608 5049 ;; 5050 5051 os2*) 5052 # The test takes a long time on OS/2. 5053 lt_cv_sys_max_cmd_len=8192 5054 ;; 5055 5056 osf*) 5057 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5058 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5059 # nice to cause kernel panics so lets avoid the loop below. 5060 # First set a reasonable default. 5061 lt_cv_sys_max_cmd_len=16384 5062 # 5063 if test -x /sbin/sysconfig; then 5064 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5065 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5066 esac 5067 fi 5068 ;; 5069 sco3.2v5*) 5070 lt_cv_sys_max_cmd_len=102400 5071 ;; 5072 sysv5* | sco5v6* | sysv4.2uw2*) 5073 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5074 if test -n "$kargmax"; then 5075 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5076 else 5077 lt_cv_sys_max_cmd_len=32768 5078 fi 5079 ;; 5080 *) 5081 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5082 if test -n "$lt_cv_sys_max_cmd_len"; then 5083 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5084 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5085 else 5086 # Make teststring a little bigger before we do anything with it. 5087 # a 1K string should be a reasonable start. 5088 for i in 1 2 3 4 5 6 7 8 ; do 5089 teststring=$teststring$teststring 5090 done 5091 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5092 # If test is not a shell built-in, we'll probably end up computing a 5093 # maximum length that is only half of the actual maximum length, but 5094 # we can't tell. 5095 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5096 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5097 test $i != 17 # 1/2 MB should be enough 5098 do 5099 i=`expr $i + 1` 5100 teststring=$teststring$teststring 5101 done 5102 # Only check the string length outside the loop. 5103 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5104 teststring= 5105 # Add a significant safety factor because C++ compilers can tack on 5106 # massive amounts of additional arguments before passing them to the 5107 # linker. It appears as though 1/2 is a usable value. 5108 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5109 fi 5110 ;; 5111 esac 5112 5113fi 5114 5115if test -n $lt_cv_sys_max_cmd_len ; then 5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5117$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5118else 5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5120$as_echo "none" >&6; } 5121fi 5122max_cmd_len=$lt_cv_sys_max_cmd_len 5123 5124 5125 5126 5127 5128 5129: ${CP="cp -f"} 5130: ${MV="mv -f"} 5131: ${RM="rm -f"} 5132 5133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5134$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5135# Try some XSI features 5136xsi_shell=no 5137( _lt_dummy="a/b/c" 5138 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5139 = c,a/b,b/c, \ 5140 && eval 'test $(( 1 + 1 )) -eq 2 \ 5141 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5142 && xsi_shell=yes 5143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5144$as_echo "$xsi_shell" >&6; } 5145 5146 5147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5148$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5149lt_shell_append=no 5150( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5151 >/dev/null 2>&1 \ 5152 && lt_shell_append=yes 5153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5154$as_echo "$lt_shell_append" >&6; } 5155 5156 5157if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5158 lt_unset=unset 5159else 5160 lt_unset=false 5161fi 5162 5163 5164 5165 5166 5167# test EBCDIC or ASCII 5168case `echo X|tr X '\101'` in 5169 A) # ASCII based system 5170 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5171 lt_SP2NL='tr \040 \012' 5172 lt_NL2SP='tr \015\012 \040\040' 5173 ;; 5174 *) # EBCDIC based system 5175 lt_SP2NL='tr \100 \n' 5176 lt_NL2SP='tr \r\n \100\100' 5177 ;; 5178esac 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5189$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5190if ${lt_cv_to_host_file_cmd+:} false; then : 5191 $as_echo_n "(cached) " >&6 5192else 5193 case $host in 5194 *-*-mingw* ) 5195 case $build in 5196 *-*-mingw* ) # actually msys 5197 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5198 ;; 5199 *-*-cygwin* ) 5200 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5201 ;; 5202 * ) # otherwise, assume *nix 5203 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5204 ;; 5205 esac 5206 ;; 5207 *-*-cygwin* ) 5208 case $build in 5209 *-*-mingw* ) # actually msys 5210 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5211 ;; 5212 *-*-cygwin* ) 5213 lt_cv_to_host_file_cmd=func_convert_file_noop 5214 ;; 5215 * ) # otherwise, assume *nix 5216 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5217 ;; 5218 esac 5219 ;; 5220 * ) # unhandled hosts (and "normal" native builds) 5221 lt_cv_to_host_file_cmd=func_convert_file_noop 5222 ;; 5223esac 5224 5225fi 5226 5227to_host_file_cmd=$lt_cv_to_host_file_cmd 5228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5229$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5230 5231 5232 5233 5234 5235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5236$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5237if ${lt_cv_to_tool_file_cmd+:} false; then : 5238 $as_echo_n "(cached) " >&6 5239else 5240 #assume ordinary cross tools, or native build. 5241lt_cv_to_tool_file_cmd=func_convert_file_noop 5242case $host in 5243 *-*-mingw* ) 5244 case $build in 5245 *-*-mingw* ) # actually msys 5246 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5247 ;; 5248 esac 5249 ;; 5250esac 5251 5252fi 5253 5254to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5256$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5257 5258 5259 5260 5261 5262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5263$as_echo_n "checking for $LD option to reload object files... " >&6; } 5264if ${lt_cv_ld_reload_flag+:} false; then : 5265 $as_echo_n "(cached) " >&6 5266else 5267 lt_cv_ld_reload_flag='-r' 5268fi 5269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5270$as_echo "$lt_cv_ld_reload_flag" >&6; } 5271reload_flag=$lt_cv_ld_reload_flag 5272case $reload_flag in 5273"" | " "*) ;; 5274*) reload_flag=" $reload_flag" ;; 5275esac 5276reload_cmds='$LD$reload_flag -o $output$reload_objs' 5277case $host_os in 5278 cygwin* | mingw* | pw32* | cegcc*) 5279 if test "$GCC" != yes; then 5280 reload_cmds=false 5281 fi 5282 ;; 5283 darwin*) 5284 if test "$GCC" = yes; then 5285 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5286 else 5287 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5288 fi 5289 ;; 5290esac 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300if test -n "$ac_tool_prefix"; then 5301 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5302set dummy ${ac_tool_prefix}objdump; ac_word=$2 5303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5304$as_echo_n "checking for $ac_word... " >&6; } 5305if ${ac_cv_prog_OBJDUMP+:} false; then : 5306 $as_echo_n "(cached) " >&6 5307else 5308 if test -n "$OBJDUMP"; then 5309 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5310else 5311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5312for as_dir in $PATH 5313do 5314 IFS=$as_save_IFS 5315 test -z "$as_dir" && as_dir=. 5316 for ac_exec_ext in '' $ac_executable_extensions; do 5317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5318 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5320 break 2 5321 fi 5322done 5323 done 5324IFS=$as_save_IFS 5325 5326fi 5327fi 5328OBJDUMP=$ac_cv_prog_OBJDUMP 5329if test -n "$OBJDUMP"; then 5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5331$as_echo "$OBJDUMP" >&6; } 5332else 5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5334$as_echo "no" >&6; } 5335fi 5336 5337 5338fi 5339if test -z "$ac_cv_prog_OBJDUMP"; then 5340 ac_ct_OBJDUMP=$OBJDUMP 5341 # Extract the first word of "objdump", so it can be a program name with args. 5342set dummy objdump; ac_word=$2 5343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5344$as_echo_n "checking for $ac_word... " >&6; } 5345if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5346 $as_echo_n "(cached) " >&6 5347else 5348 if test -n "$ac_ct_OBJDUMP"; then 5349 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5350else 5351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5352for as_dir in $PATH 5353do 5354 IFS=$as_save_IFS 5355 test -z "$as_dir" && as_dir=. 5356 for ac_exec_ext in '' $ac_executable_extensions; do 5357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5358 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5360 break 2 5361 fi 5362done 5363 done 5364IFS=$as_save_IFS 5365 5366fi 5367fi 5368ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5369if test -n "$ac_ct_OBJDUMP"; then 5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5371$as_echo "$ac_ct_OBJDUMP" >&6; } 5372else 5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5374$as_echo "no" >&6; } 5375fi 5376 5377 if test "x$ac_ct_OBJDUMP" = x; then 5378 OBJDUMP="false" 5379 else 5380 case $cross_compiling:$ac_tool_warned in 5381yes:) 5382{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5383$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5384ac_tool_warned=yes ;; 5385esac 5386 OBJDUMP=$ac_ct_OBJDUMP 5387 fi 5388else 5389 OBJDUMP="$ac_cv_prog_OBJDUMP" 5390fi 5391 5392test -z "$OBJDUMP" && OBJDUMP=objdump 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5403$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5404if ${lt_cv_deplibs_check_method+:} false; then : 5405 $as_echo_n "(cached) " >&6 5406else 5407 lt_cv_file_magic_cmd='$MAGIC_CMD' 5408lt_cv_file_magic_test_file= 5409lt_cv_deplibs_check_method='unknown' 5410# Need to set the preceding variable on all platforms that support 5411# interlibrary dependencies. 5412# 'none' -- dependencies not supported. 5413# `unknown' -- same as none, but documents that we really don't know. 5414# 'pass_all' -- all dependencies passed with no checks. 5415# 'test_compile' -- check by making test program. 5416# 'file_magic [[regex]]' -- check by looking for files in library path 5417# which responds to the $file_magic_cmd with a given extended regex. 5418# If you have `file' or equivalent on your system and you're not sure 5419# whether `pass_all' will *always* work, you probably want this one. 5420 5421case $host_os in 5422aix[4-9]*) 5423 lt_cv_deplibs_check_method=pass_all 5424 ;; 5425 5426beos*) 5427 lt_cv_deplibs_check_method=pass_all 5428 ;; 5429 5430bsdi[45]*) 5431 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5432 lt_cv_file_magic_cmd='/usr/bin/file -L' 5433 lt_cv_file_magic_test_file=/shlib/libc.so 5434 ;; 5435 5436cygwin*) 5437 # func_win32_libid is a shell function defined in ltmain.sh 5438 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5439 lt_cv_file_magic_cmd='func_win32_libid' 5440 ;; 5441 5442mingw* | pw32*) 5443 # Base MSYS/MinGW do not provide the 'file' command needed by 5444 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5445 # unless we find 'file', for example because we are cross-compiling. 5446 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5447 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5448 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5449 lt_cv_file_magic_cmd='func_win32_libid' 5450 else 5451 # Keep this pattern in sync with the one in func_win32_libid. 5452 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5453 lt_cv_file_magic_cmd='$OBJDUMP -f' 5454 fi 5455 ;; 5456 5457cegcc*) 5458 # use the weaker test based on 'objdump'. See mingw*. 5459 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5460 lt_cv_file_magic_cmd='$OBJDUMP -f' 5461 ;; 5462 5463darwin* | rhapsody*) 5464 lt_cv_deplibs_check_method=pass_all 5465 ;; 5466 5467freebsd* | dragonfly*) 5468 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5469 case $host_cpu in 5470 i*86 ) 5471 # Not sure whether the presence of OpenBSD here was a mistake. 5472 # Let's accept both of them until this is cleared up. 5473 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5474 lt_cv_file_magic_cmd=/usr/bin/file 5475 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5476 ;; 5477 esac 5478 else 5479 lt_cv_deplibs_check_method=pass_all 5480 fi 5481 ;; 5482 5483gnu*) 5484 lt_cv_deplibs_check_method=pass_all 5485 ;; 5486 5487haiku*) 5488 lt_cv_deplibs_check_method=pass_all 5489 ;; 5490 5491hpux10.20* | hpux11*) 5492 lt_cv_file_magic_cmd=/usr/bin/file 5493 case $host_cpu in 5494 ia64*) 5495 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5496 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5497 ;; 5498 hppa*64*) 5499 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]' 5500 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5501 ;; 5502 *) 5503 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5504 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5505 ;; 5506 esac 5507 ;; 5508 5509interix[3-9]*) 5510 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5511 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5512 ;; 5513 5514irix5* | irix6* | nonstopux*) 5515 case $LD in 5516 *-32|*"-32 ") libmagic=32-bit;; 5517 *-n32|*"-n32 ") libmagic=N32;; 5518 *-64|*"-64 ") libmagic=64-bit;; 5519 *) libmagic=never-match;; 5520 esac 5521 lt_cv_deplibs_check_method=pass_all 5522 ;; 5523 5524# This must be glibc/ELF. 5525linux* | k*bsd*-gnu | kopensolaris*-gnu) 5526 lt_cv_deplibs_check_method=pass_all 5527 ;; 5528 5529netbsd*) 5530 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5531 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5532 else 5533 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5534 fi 5535 ;; 5536 5537newos6*) 5538 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5539 lt_cv_file_magic_cmd=/usr/bin/file 5540 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5541 ;; 5542 5543*nto* | *qnx*) 5544 lt_cv_deplibs_check_method=pass_all 5545 ;; 5546 5547openbsd*) 5548 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5549 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5550 else 5551 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5552 fi 5553 ;; 5554 5555osf3* | osf4* | osf5*) 5556 lt_cv_deplibs_check_method=pass_all 5557 ;; 5558 5559rdos*) 5560 lt_cv_deplibs_check_method=pass_all 5561 ;; 5562 5563solaris*) 5564 lt_cv_deplibs_check_method=pass_all 5565 ;; 5566 5567sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5568 lt_cv_deplibs_check_method=pass_all 5569 ;; 5570 5571sysv4 | sysv4.3*) 5572 case $host_vendor in 5573 motorola) 5574 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]' 5575 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5576 ;; 5577 ncr) 5578 lt_cv_deplibs_check_method=pass_all 5579 ;; 5580 sequent) 5581 lt_cv_file_magic_cmd='/bin/file' 5582 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5583 ;; 5584 sni) 5585 lt_cv_file_magic_cmd='/bin/file' 5586 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5587 lt_cv_file_magic_test_file=/lib/libc.so 5588 ;; 5589 siemens) 5590 lt_cv_deplibs_check_method=pass_all 5591 ;; 5592 pc) 5593 lt_cv_deplibs_check_method=pass_all 5594 ;; 5595 esac 5596 ;; 5597 5598tpf*) 5599 lt_cv_deplibs_check_method=pass_all 5600 ;; 5601esac 5602 5603fi 5604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5605$as_echo "$lt_cv_deplibs_check_method" >&6; } 5606 5607file_magic_glob= 5608want_nocaseglob=no 5609if test "$build" = "$host"; then 5610 case $host_os in 5611 mingw* | pw32*) 5612 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5613 want_nocaseglob=yes 5614 else 5615 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5616 fi 5617 ;; 5618 esac 5619fi 5620 5621file_magic_cmd=$lt_cv_file_magic_cmd 5622deplibs_check_method=$lt_cv_deplibs_check_method 5623test -z "$deplibs_check_method" && deplibs_check_method=unknown 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646if test -n "$ac_tool_prefix"; then 5647 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5648set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5650$as_echo_n "checking for $ac_word... " >&6; } 5651if ${ac_cv_prog_DLLTOOL+:} false; then : 5652 $as_echo_n "(cached) " >&6 5653else 5654 if test -n "$DLLTOOL"; then 5655 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5656else 5657as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5658for as_dir in $PATH 5659do 5660 IFS=$as_save_IFS 5661 test -z "$as_dir" && as_dir=. 5662 for ac_exec_ext in '' $ac_executable_extensions; do 5663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5664 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5666 break 2 5667 fi 5668done 5669 done 5670IFS=$as_save_IFS 5671 5672fi 5673fi 5674DLLTOOL=$ac_cv_prog_DLLTOOL 5675if test -n "$DLLTOOL"; then 5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5677$as_echo "$DLLTOOL" >&6; } 5678else 5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5680$as_echo "no" >&6; } 5681fi 5682 5683 5684fi 5685if test -z "$ac_cv_prog_DLLTOOL"; then 5686 ac_ct_DLLTOOL=$DLLTOOL 5687 # Extract the first word of "dlltool", so it can be a program name with args. 5688set dummy dlltool; ac_word=$2 5689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5690$as_echo_n "checking for $ac_word... " >&6; } 5691if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5692 $as_echo_n "(cached) " >&6 5693else 5694 if test -n "$ac_ct_DLLTOOL"; then 5695 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5696else 5697as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5698for as_dir in $PATH 5699do 5700 IFS=$as_save_IFS 5701 test -z "$as_dir" && as_dir=. 5702 for ac_exec_ext in '' $ac_executable_extensions; do 5703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5704 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5706 break 2 5707 fi 5708done 5709 done 5710IFS=$as_save_IFS 5711 5712fi 5713fi 5714ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5715if test -n "$ac_ct_DLLTOOL"; then 5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5717$as_echo "$ac_ct_DLLTOOL" >&6; } 5718else 5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5720$as_echo "no" >&6; } 5721fi 5722 5723 if test "x$ac_ct_DLLTOOL" = x; then 5724 DLLTOOL="false" 5725 else 5726 case $cross_compiling:$ac_tool_warned in 5727yes:) 5728{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5729$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5730ac_tool_warned=yes ;; 5731esac 5732 DLLTOOL=$ac_ct_DLLTOOL 5733 fi 5734else 5735 DLLTOOL="$ac_cv_prog_DLLTOOL" 5736fi 5737 5738test -z "$DLLTOOL" && DLLTOOL=dlltool 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5750$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5751if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5752 $as_echo_n "(cached) " >&6 5753else 5754 lt_cv_sharedlib_from_linklib_cmd='unknown' 5755 5756case $host_os in 5757cygwin* | mingw* | pw32* | cegcc*) 5758 # two different shell functions defined in ltmain.sh 5759 # decide which to use based on capabilities of $DLLTOOL 5760 case `$DLLTOOL --help 2>&1` in 5761 *--identify-strict*) 5762 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5763 ;; 5764 *) 5765 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5766 ;; 5767 esac 5768 ;; 5769*) 5770 # fallback: assume linklib IS sharedlib 5771 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5772 ;; 5773esac 5774 5775fi 5776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5777$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5778sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5779test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5780 5781 5782 5783 5784 5785 5786 5787 5788if test -n "$ac_tool_prefix"; then 5789 for ac_prog in ar 5790 do 5791 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5792set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5794$as_echo_n "checking for $ac_word... " >&6; } 5795if ${ac_cv_prog_AR+:} false; then : 5796 $as_echo_n "(cached) " >&6 5797else 5798 if test -n "$AR"; then 5799 ac_cv_prog_AR="$AR" # Let the user override the test. 5800else 5801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5802for as_dir in $PATH 5803do 5804 IFS=$as_save_IFS 5805 test -z "$as_dir" && as_dir=. 5806 for ac_exec_ext in '' $ac_executable_extensions; do 5807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5808 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5810 break 2 5811 fi 5812done 5813 done 5814IFS=$as_save_IFS 5815 5816fi 5817fi 5818AR=$ac_cv_prog_AR 5819if test -n "$AR"; then 5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5821$as_echo "$AR" >&6; } 5822else 5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5824$as_echo "no" >&6; } 5825fi 5826 5827 5828 test -n "$AR" && break 5829 done 5830fi 5831if test -z "$AR"; then 5832 ac_ct_AR=$AR 5833 for ac_prog in ar 5834do 5835 # Extract the first word of "$ac_prog", so it can be a program name with args. 5836set dummy $ac_prog; ac_word=$2 5837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5838$as_echo_n "checking for $ac_word... " >&6; } 5839if ${ac_cv_prog_ac_ct_AR+:} false; then : 5840 $as_echo_n "(cached) " >&6 5841else 5842 if test -n "$ac_ct_AR"; then 5843 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5844else 5845as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5846for as_dir in $PATH 5847do 5848 IFS=$as_save_IFS 5849 test -z "$as_dir" && as_dir=. 5850 for ac_exec_ext in '' $ac_executable_extensions; do 5851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5852 ac_cv_prog_ac_ct_AR="$ac_prog" 5853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5854 break 2 5855 fi 5856done 5857 done 5858IFS=$as_save_IFS 5859 5860fi 5861fi 5862ac_ct_AR=$ac_cv_prog_ac_ct_AR 5863if test -n "$ac_ct_AR"; then 5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5865$as_echo "$ac_ct_AR" >&6; } 5866else 5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5868$as_echo "no" >&6; } 5869fi 5870 5871 5872 test -n "$ac_ct_AR" && break 5873done 5874 5875 if test "x$ac_ct_AR" = x; then 5876 AR="false" 5877 else 5878 case $cross_compiling:$ac_tool_warned in 5879yes:) 5880{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5881$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5882ac_tool_warned=yes ;; 5883esac 5884 AR=$ac_ct_AR 5885 fi 5886fi 5887 5888: ${AR=ar} 5889: ${AR_FLAGS=cru} 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5902$as_echo_n "checking for archiver @FILE support... " >&6; } 5903if ${lt_cv_ar_at_file+:} false; then : 5904 $as_echo_n "(cached) " >&6 5905else 5906 lt_cv_ar_at_file=no 5907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5908/* end confdefs.h. */ 5909 5910int 5911main () 5912{ 5913 5914 ; 5915 return 0; 5916} 5917_ACEOF 5918if ac_fn_c_try_compile "$LINENO"; then : 5919 echo conftest.$ac_objext > conftest.lst 5920 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5921 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5922 (eval $lt_ar_try) 2>&5 5923 ac_status=$? 5924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5925 test $ac_status = 0; } 5926 if test "$ac_status" -eq 0; then 5927 # Ensure the archiver fails upon bogus file names. 5928 rm -f conftest.$ac_objext libconftest.a 5929 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5930 (eval $lt_ar_try) 2>&5 5931 ac_status=$? 5932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5933 test $ac_status = 0; } 5934 if test "$ac_status" -ne 0; then 5935 lt_cv_ar_at_file=@ 5936 fi 5937 fi 5938 rm -f conftest.* libconftest.a 5939 5940fi 5941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5942 5943fi 5944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5945$as_echo "$lt_cv_ar_at_file" >&6; } 5946 5947if test "x$lt_cv_ar_at_file" = xno; then 5948 archiver_list_spec= 5949else 5950 archiver_list_spec=$lt_cv_ar_at_file 5951fi 5952 5953 5954 5955 5956 5957 5958 5959if test -n "$ac_tool_prefix"; then 5960 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5961set dummy ${ac_tool_prefix}strip; ac_word=$2 5962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5963$as_echo_n "checking for $ac_word... " >&6; } 5964if ${ac_cv_prog_STRIP+:} false; then : 5965 $as_echo_n "(cached) " >&6 5966else 5967 if test -n "$STRIP"; then 5968 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5969else 5970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5971for as_dir in $PATH 5972do 5973 IFS=$as_save_IFS 5974 test -z "$as_dir" && as_dir=. 5975 for ac_exec_ext in '' $ac_executable_extensions; do 5976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5977 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5979 break 2 5980 fi 5981done 5982 done 5983IFS=$as_save_IFS 5984 5985fi 5986fi 5987STRIP=$ac_cv_prog_STRIP 5988if test -n "$STRIP"; then 5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5990$as_echo "$STRIP" >&6; } 5991else 5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5993$as_echo "no" >&6; } 5994fi 5995 5996 5997fi 5998if test -z "$ac_cv_prog_STRIP"; then 5999 ac_ct_STRIP=$STRIP 6000 # Extract the first word of "strip", so it can be a program name with args. 6001set dummy strip; ac_word=$2 6002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6003$as_echo_n "checking for $ac_word... " >&6; } 6004if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6005 $as_echo_n "(cached) " >&6 6006else 6007 if test -n "$ac_ct_STRIP"; then 6008 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6009else 6010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6011for as_dir in $PATH 6012do 6013 IFS=$as_save_IFS 6014 test -z "$as_dir" && as_dir=. 6015 for ac_exec_ext in '' $ac_executable_extensions; do 6016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6017 ac_cv_prog_ac_ct_STRIP="strip" 6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6019 break 2 6020 fi 6021done 6022 done 6023IFS=$as_save_IFS 6024 6025fi 6026fi 6027ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6028if test -n "$ac_ct_STRIP"; then 6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6030$as_echo "$ac_ct_STRIP" >&6; } 6031else 6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6033$as_echo "no" >&6; } 6034fi 6035 6036 if test "x$ac_ct_STRIP" = x; then 6037 STRIP=":" 6038 else 6039 case $cross_compiling:$ac_tool_warned in 6040yes:) 6041{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6042$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6043ac_tool_warned=yes ;; 6044esac 6045 STRIP=$ac_ct_STRIP 6046 fi 6047else 6048 STRIP="$ac_cv_prog_STRIP" 6049fi 6050 6051test -z "$STRIP" && STRIP=: 6052 6053 6054 6055 6056 6057 6058if test -n "$ac_tool_prefix"; then 6059 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6060set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6062$as_echo_n "checking for $ac_word... " >&6; } 6063if ${ac_cv_prog_RANLIB+:} false; then : 6064 $as_echo_n "(cached) " >&6 6065else 6066 if test -n "$RANLIB"; then 6067 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6068else 6069as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6070for as_dir in $PATH 6071do 6072 IFS=$as_save_IFS 6073 test -z "$as_dir" && as_dir=. 6074 for ac_exec_ext in '' $ac_executable_extensions; do 6075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6076 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6078 break 2 6079 fi 6080done 6081 done 6082IFS=$as_save_IFS 6083 6084fi 6085fi 6086RANLIB=$ac_cv_prog_RANLIB 6087if test -n "$RANLIB"; then 6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6089$as_echo "$RANLIB" >&6; } 6090else 6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6092$as_echo "no" >&6; } 6093fi 6094 6095 6096fi 6097if test -z "$ac_cv_prog_RANLIB"; then 6098 ac_ct_RANLIB=$RANLIB 6099 # Extract the first word of "ranlib", so it can be a program name with args. 6100set dummy ranlib; ac_word=$2 6101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6102$as_echo_n "checking for $ac_word... " >&6; } 6103if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6104 $as_echo_n "(cached) " >&6 6105else 6106 if test -n "$ac_ct_RANLIB"; then 6107 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6108else 6109as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6110for as_dir in $PATH 6111do 6112 IFS=$as_save_IFS 6113 test -z "$as_dir" && as_dir=. 6114 for ac_exec_ext in '' $ac_executable_extensions; do 6115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6116 ac_cv_prog_ac_ct_RANLIB="ranlib" 6117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6118 break 2 6119 fi 6120done 6121 done 6122IFS=$as_save_IFS 6123 6124fi 6125fi 6126ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6127if test -n "$ac_ct_RANLIB"; then 6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6129$as_echo "$ac_ct_RANLIB" >&6; } 6130else 6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6132$as_echo "no" >&6; } 6133fi 6134 6135 if test "x$ac_ct_RANLIB" = x; then 6136 RANLIB=":" 6137 else 6138 case $cross_compiling:$ac_tool_warned in 6139yes:) 6140{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6141$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6142ac_tool_warned=yes ;; 6143esac 6144 RANLIB=$ac_ct_RANLIB 6145 fi 6146else 6147 RANLIB="$ac_cv_prog_RANLIB" 6148fi 6149 6150test -z "$RANLIB" && RANLIB=: 6151 6152 6153 6154 6155 6156 6157# Determine commands to create old-style static archives. 6158old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6159old_postinstall_cmds='chmod 644 $oldlib' 6160old_postuninstall_cmds= 6161 6162if test -n "$RANLIB"; then 6163 case $host_os in 6164 openbsd*) 6165 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6166 ;; 6167 *) 6168 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6169 ;; 6170 esac 6171 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6172fi 6173 6174case $host_os in 6175 darwin*) 6176 lock_old_archive_extraction=yes ;; 6177 *) 6178 lock_old_archive_extraction=no ;; 6179esac 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219# If no C compiler was specified, use CC. 6220LTCC=${LTCC-"$CC"} 6221 6222# If no C compiler flags were specified, use CFLAGS. 6223LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6224 6225# Allow CC to be a program name with arguments. 6226compiler=$CC 6227 6228 6229# Check for command to grab the raw symbol name followed by C symbol from nm. 6230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6231$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6232if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6233 $as_echo_n "(cached) " >&6 6234else 6235 6236# These are sane defaults that work on at least a few old systems. 6237# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6238 6239# Character class describing NM global symbol codes. 6240symcode='[BCDEGRST]' 6241 6242# Regexp to match symbols that can be accessed directly from C. 6243sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6244 6245# Define system-specific variables. 6246case $host_os in 6247aix*) 6248 symcode='[BCDT]' 6249 ;; 6250cygwin* | mingw* | pw32* | cegcc*) 6251 symcode='[ABCDGISTW]' 6252 ;; 6253hpux*) 6254 if test "$host_cpu" = ia64; then 6255 symcode='[ABCDEGRST]' 6256 fi 6257 ;; 6258irix* | nonstopux*) 6259 symcode='[BCDEGRST]' 6260 ;; 6261osf*) 6262 symcode='[BCDEGQRST]' 6263 ;; 6264solaris*) 6265 symcode='[BDRT]' 6266 ;; 6267sco3.2v5*) 6268 symcode='[DT]' 6269 ;; 6270sysv4.2uw2*) 6271 symcode='[DT]' 6272 ;; 6273sysv5* | sco5v6* | unixware* | OpenUNIX*) 6274 symcode='[ABDT]' 6275 ;; 6276sysv4) 6277 symcode='[DFNSTU]' 6278 ;; 6279esac 6280 6281# If we're using GNU nm, then use its standard symbol codes. 6282case `$NM -V 2>&1` in 6283*GNU* | *'with BFD'*) 6284 symcode='[ABCDGIRSTW]' ;; 6285esac 6286 6287# Transform an extracted symbol line into a proper C declaration. 6288# Some systems (esp. on ia64) link data and code symbols differently, 6289# so use this general approach. 6290lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6291 6292# Transform an extracted symbol line into symbol name and symbol address 6293lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6294lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 6295 6296# Handle CRLF in mingw tool chain 6297opt_cr= 6298case $build_os in 6299mingw*) 6300 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6301 ;; 6302esac 6303 6304# Try without a prefix underscore, then with it. 6305for ac_symprfx in "" "_"; do 6306 6307 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6308 symxfrm="\\1 $ac_symprfx\\2 \\2" 6309 6310 # Write the raw and C identifiers. 6311 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6312 # Fake it for dumpbin and say T for any non-static function 6313 # and D for any global variable. 6314 # Also find C++ and __fastcall symbols from MSVC++, 6315 # which start with @ or ?. 6316 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6317" {last_section=section; section=\$ 3};"\ 6318" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6319" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6320" \$ 0!~/External *\|/{next};"\ 6321" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6322" {if(hide[section]) next};"\ 6323" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6324" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6325" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6326" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6327" ' prfx=^$ac_symprfx" 6328 else 6329 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6330 fi 6331 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6332 6333 # Check to see that the pipe works correctly. 6334 pipe_works=no 6335 6336 rm -f conftest* 6337 cat > conftest.$ac_ext <<_LT_EOF 6338#ifdef __cplusplus 6339extern "C" { 6340#endif 6341char nm_test_var; 6342void nm_test_func(void); 6343void nm_test_func(void){} 6344#ifdef __cplusplus 6345} 6346#endif 6347int main(){nm_test_var='a';nm_test_func();return(0);} 6348_LT_EOF 6349 6350 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6351 (eval $ac_compile) 2>&5 6352 ac_status=$? 6353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6354 test $ac_status = 0; }; then 6355 # Now try to grab the symbols. 6356 nlist=conftest.nm 6357 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6358 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6359 ac_status=$? 6360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6361 test $ac_status = 0; } && test -s "$nlist"; then 6362 # Try sorting and uniquifying the output. 6363 if sort "$nlist" | uniq > "$nlist"T; then 6364 mv -f "$nlist"T "$nlist" 6365 else 6366 rm -f "$nlist"T 6367 fi 6368 6369 # Make sure that we snagged all the symbols we need. 6370 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6371 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6372 cat <<_LT_EOF > conftest.$ac_ext 6373/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6374#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6375/* DATA imports from DLLs on WIN32 con't be const, because runtime 6376 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6377# define LT_DLSYM_CONST 6378#elif defined(__osf__) 6379/* This system does not cope well with relocations in const data. */ 6380# define LT_DLSYM_CONST 6381#else 6382# define LT_DLSYM_CONST const 6383#endif 6384 6385#ifdef __cplusplus 6386extern "C" { 6387#endif 6388 6389_LT_EOF 6390 # Now generate the symbol file. 6391 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6392 6393 cat <<_LT_EOF >> conftest.$ac_ext 6394 6395/* The mapping between symbol names and symbols. */ 6396LT_DLSYM_CONST struct { 6397 const char *name; 6398 void *address; 6399} 6400lt__PROGRAM__LTX_preloaded_symbols[] = 6401{ 6402 { "@PROGRAM@", (void *) 0 }, 6403_LT_EOF 6404 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6405 cat <<\_LT_EOF >> conftest.$ac_ext 6406 {0, (void *) 0} 6407}; 6408 6409/* This works around a problem in FreeBSD linker */ 6410#ifdef FREEBSD_WORKAROUND 6411static const void *lt_preloaded_setup() { 6412 return lt__PROGRAM__LTX_preloaded_symbols; 6413} 6414#endif 6415 6416#ifdef __cplusplus 6417} 6418#endif 6419_LT_EOF 6420 # Now try linking the two files. 6421 mv conftest.$ac_objext conftstm.$ac_objext 6422 lt_globsym_save_LIBS=$LIBS 6423 lt_globsym_save_CFLAGS=$CFLAGS 6424 LIBS="conftstm.$ac_objext" 6425 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6427 (eval $ac_link) 2>&5 6428 ac_status=$? 6429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6430 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6431 pipe_works=yes 6432 fi 6433 LIBS=$lt_globsym_save_LIBS 6434 CFLAGS=$lt_globsym_save_CFLAGS 6435 else 6436 echo "cannot find nm_test_func in $nlist" >&5 6437 fi 6438 else 6439 echo "cannot find nm_test_var in $nlist" >&5 6440 fi 6441 else 6442 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6443 fi 6444 else 6445 echo "$progname: failed program was:" >&5 6446 cat conftest.$ac_ext >&5 6447 fi 6448 rm -rf conftest* conftst* 6449 6450 # Do not use the global_symbol_pipe unless it works. 6451 if test "$pipe_works" = yes; then 6452 break 6453 else 6454 lt_cv_sys_global_symbol_pipe= 6455 fi 6456done 6457 6458fi 6459 6460if test -z "$lt_cv_sys_global_symbol_pipe"; then 6461 lt_cv_sys_global_symbol_to_cdecl= 6462fi 6463if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6465$as_echo "failed" >&6; } 6466else 6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6468$as_echo "ok" >&6; } 6469fi 6470 6471# Response file support. 6472if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6473 nm_file_list_spec='@' 6474elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6475 nm_file_list_spec='@' 6476fi 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6505$as_echo_n "checking for sysroot... " >&6; } 6506 6507# Check whether --with-sysroot was given. 6508if test "${with_sysroot+set}" = set; then : 6509 withval=$with_sysroot; 6510else 6511 with_sysroot=no 6512fi 6513 6514 6515lt_sysroot= 6516case ${with_sysroot} in #( 6517 yes) 6518 if test "$GCC" = yes; then 6519 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6520 fi 6521 ;; #( 6522 /*) 6523 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6524 ;; #( 6525 no|'') 6526 ;; #( 6527 *) 6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6529$as_echo "${with_sysroot}" >&6; } 6530 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6531 ;; 6532esac 6533 6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6535$as_echo "${lt_sysroot:-no}" >&6; } 6536 6537 6538 6539 6540 6541# Check whether --enable-libtool-lock was given. 6542if test "${enable_libtool_lock+set}" = set; then : 6543 enableval=$enable_libtool_lock; 6544fi 6545 6546test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6547 6548# Some flags need to be propagated to the compiler or linker for good 6549# libtool support. 6550case $host in 6551ia64-*-hpux*) 6552 # Find out which ABI we are using. 6553 echo 'int i;' > conftest.$ac_ext 6554 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6555 (eval $ac_compile) 2>&5 6556 ac_status=$? 6557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6558 test $ac_status = 0; }; then 6559 case `/usr/bin/file conftest.$ac_objext` in 6560 *ELF-32*) 6561 HPUX_IA64_MODE="32" 6562 ;; 6563 *ELF-64*) 6564 HPUX_IA64_MODE="64" 6565 ;; 6566 esac 6567 fi 6568 rm -rf conftest* 6569 ;; 6570*-*-irix6*) 6571 # Find out which ABI we are using. 6572 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6573 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6574 (eval $ac_compile) 2>&5 6575 ac_status=$? 6576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6577 test $ac_status = 0; }; then 6578 if test "$lt_cv_prog_gnu_ld" = yes; then 6579 case `/usr/bin/file conftest.$ac_objext` in 6580 *32-bit*) 6581 LD="${LD-ld} -melf32bsmip" 6582 ;; 6583 *N32*) 6584 LD="${LD-ld} -melf32bmipn32" 6585 ;; 6586 *64-bit*) 6587 LD="${LD-ld} -melf64bmip" 6588 ;; 6589 esac 6590 else 6591 case `/usr/bin/file conftest.$ac_objext` in 6592 *32-bit*) 6593 LD="${LD-ld} -32" 6594 ;; 6595 *N32*) 6596 LD="${LD-ld} -n32" 6597 ;; 6598 *64-bit*) 6599 LD="${LD-ld} -64" 6600 ;; 6601 esac 6602 fi 6603 fi 6604 rm -rf conftest* 6605 ;; 6606 6607x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6608s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6609 # Find out which ABI we are using. 6610 echo 'int i;' > conftest.$ac_ext 6611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6612 (eval $ac_compile) 2>&5 6613 ac_status=$? 6614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6615 test $ac_status = 0; }; then 6616 case `/usr/bin/file conftest.o` in 6617 *32-bit*) 6618 case $host in 6619 x86_64-*kfreebsd*-gnu) 6620 LD="${LD-ld} -m elf_i386_fbsd" 6621 ;; 6622 x86_64-*linux*) 6623 LD="${LD-ld} -m elf_i386" 6624 ;; 6625 ppc64-*linux*|powerpc64-*linux*) 6626 LD="${LD-ld} -m elf32ppclinux" 6627 ;; 6628 s390x-*linux*) 6629 LD="${LD-ld} -m elf_s390" 6630 ;; 6631 sparc64-*linux*) 6632 LD="${LD-ld} -m elf32_sparc" 6633 ;; 6634 esac 6635 ;; 6636 *64-bit*) 6637 case $host in 6638 x86_64-*kfreebsd*-gnu) 6639 LD="${LD-ld} -m elf_x86_64_fbsd" 6640 ;; 6641 x86_64-*linux*) 6642 LD="${LD-ld} -m elf_x86_64" 6643 ;; 6644 ppc*-*linux*|powerpc*-*linux*) 6645 LD="${LD-ld} -m elf64ppc" 6646 ;; 6647 s390*-*linux*|s390*-*tpf*) 6648 LD="${LD-ld} -m elf64_s390" 6649 ;; 6650 sparc*-*linux*) 6651 LD="${LD-ld} -m elf64_sparc" 6652 ;; 6653 esac 6654 ;; 6655 esac 6656 fi 6657 rm -rf conftest* 6658 ;; 6659 6660*-*-sco3.2v5*) 6661 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6662 SAVE_CFLAGS="$CFLAGS" 6663 CFLAGS="$CFLAGS -belf" 6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6665$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6666if ${lt_cv_cc_needs_belf+:} false; then : 6667 $as_echo_n "(cached) " >&6 6668else 6669 ac_ext=c 6670ac_cpp='$CPP $CPPFLAGS' 6671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6673ac_compiler_gnu=$ac_cv_c_compiler_gnu 6674 6675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6676/* end confdefs.h. */ 6677 6678int 6679main () 6680{ 6681 6682 ; 6683 return 0; 6684} 6685_ACEOF 6686if ac_fn_c_try_link "$LINENO"; then : 6687 lt_cv_cc_needs_belf=yes 6688else 6689 lt_cv_cc_needs_belf=no 6690fi 6691rm -f core conftest.err conftest.$ac_objext \ 6692 conftest$ac_exeext conftest.$ac_ext 6693 ac_ext=c 6694ac_cpp='$CPP $CPPFLAGS' 6695ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6696ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6697ac_compiler_gnu=$ac_cv_c_compiler_gnu 6698 6699fi 6700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6701$as_echo "$lt_cv_cc_needs_belf" >&6; } 6702 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6703 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6704 CFLAGS="$SAVE_CFLAGS" 6705 fi 6706 ;; 6707*-*solaris*) 6708 # Find out which ABI we are using. 6709 echo 'int i;' > conftest.$ac_ext 6710 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6711 (eval $ac_compile) 2>&5 6712 ac_status=$? 6713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6714 test $ac_status = 0; }; then 6715 case `/usr/bin/file conftest.o` in 6716 *64-bit*) 6717 case $lt_cv_prog_gnu_ld in 6718 yes*) 6719 case $host in 6720 i?86-*-solaris*) 6721 LD="${LD-ld} -m elf_x86_64" 6722 ;; 6723 sparc*-*-solaris*) 6724 LD="${LD-ld} -m elf64_sparc" 6725 ;; 6726 esac 6727 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6728 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6729 LD="${LD-ld}_sol2" 6730 fi 6731 ;; 6732 *) 6733 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6734 LD="${LD-ld} -64" 6735 fi 6736 ;; 6737 esac 6738 ;; 6739 esac 6740 fi 6741 rm -rf conftest* 6742 ;; 6743esac 6744 6745need_locks="$enable_libtool_lock" 6746 6747if test -n "$ac_tool_prefix"; then 6748 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6749set dummy ${ac_tool_prefix}mt; 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_MANIFEST_TOOL+:} false; then : 6753 $as_echo_n "(cached) " >&6 6754else 6755 if test -n "$MANIFEST_TOOL"; then 6756 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # 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_MANIFEST_TOOL="${ac_tool_prefix}mt" 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 6775MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6776if test -n "$MANIFEST_TOOL"; then 6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6778$as_echo "$MANIFEST_TOOL" >&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_MANIFEST_TOOL"; then 6787 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6788 # Extract the first word of "mt", so it can be a program name with args. 6789set dummy mt; 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_MANIFEST_TOOL+:} false; then : 6793 $as_echo_n "(cached) " >&6 6794else 6795 if test -n "$ac_ct_MANIFEST_TOOL"; then 6796 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # 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_MANIFEST_TOOL="mt" 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_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6816if test -n "$ac_ct_MANIFEST_TOOL"; then 6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6818$as_echo "$ac_ct_MANIFEST_TOOL" >&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_MANIFEST_TOOL" = x; then 6825 MANIFEST_TOOL=":" 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 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6834 fi 6835else 6836 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6837fi 6838 6839test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6841$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6842if ${lt_cv_path_mainfest_tool+:} false; then : 6843 $as_echo_n "(cached) " >&6 6844else 6845 lt_cv_path_mainfest_tool=no 6846 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6847 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6848 cat conftest.err >&5 6849 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6850 lt_cv_path_mainfest_tool=yes 6851 fi 6852 rm -f conftest* 6853fi 6854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6855$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6856if test "x$lt_cv_path_mainfest_tool" != xyes; then 6857 MANIFEST_TOOL=: 6858fi 6859 6860 6861 6862 6863 6864 6865 case $host_os in 6866 rhapsody* | darwin*) 6867 if test -n "$ac_tool_prefix"; then 6868 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6869set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6871$as_echo_n "checking for $ac_word... " >&6; } 6872if ${ac_cv_prog_DSYMUTIL+:} false; then : 6873 $as_echo_n "(cached) " >&6 6874else 6875 if test -n "$DSYMUTIL"; then 6876 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6877else 6878as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6879for as_dir in $PATH 6880do 6881 IFS=$as_save_IFS 6882 test -z "$as_dir" && as_dir=. 6883 for ac_exec_ext in '' $ac_executable_extensions; do 6884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6885 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6887 break 2 6888 fi 6889done 6890 done 6891IFS=$as_save_IFS 6892 6893fi 6894fi 6895DSYMUTIL=$ac_cv_prog_DSYMUTIL 6896if test -n "$DSYMUTIL"; then 6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6898$as_echo "$DSYMUTIL" >&6; } 6899else 6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6901$as_echo "no" >&6; } 6902fi 6903 6904 6905fi 6906if test -z "$ac_cv_prog_DSYMUTIL"; then 6907 ac_ct_DSYMUTIL=$DSYMUTIL 6908 # Extract the first word of "dsymutil", so it can be a program name with args. 6909set dummy dsymutil; ac_word=$2 6910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6911$as_echo_n "checking for $ac_word... " >&6; } 6912if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6913 $as_echo_n "(cached) " >&6 6914else 6915 if test -n "$ac_ct_DSYMUTIL"; then 6916 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6917else 6918as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6919for as_dir in $PATH 6920do 6921 IFS=$as_save_IFS 6922 test -z "$as_dir" && as_dir=. 6923 for ac_exec_ext in '' $ac_executable_extensions; do 6924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6925 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6927 break 2 6928 fi 6929done 6930 done 6931IFS=$as_save_IFS 6932 6933fi 6934fi 6935ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6936if test -n "$ac_ct_DSYMUTIL"; then 6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6938$as_echo "$ac_ct_DSYMUTIL" >&6; } 6939else 6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6941$as_echo "no" >&6; } 6942fi 6943 6944 if test "x$ac_ct_DSYMUTIL" = x; then 6945 DSYMUTIL=":" 6946 else 6947 case $cross_compiling:$ac_tool_warned in 6948yes:) 6949{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6950$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6951ac_tool_warned=yes ;; 6952esac 6953 DSYMUTIL=$ac_ct_DSYMUTIL 6954 fi 6955else 6956 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6957fi 6958 6959 if test -n "$ac_tool_prefix"; then 6960 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6961set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6963$as_echo_n "checking for $ac_word... " >&6; } 6964if ${ac_cv_prog_NMEDIT+:} false; then : 6965 $as_echo_n "(cached) " >&6 6966else 6967 if test -n "$NMEDIT"; then 6968 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6969else 6970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6971for as_dir in $PATH 6972do 6973 IFS=$as_save_IFS 6974 test -z "$as_dir" && as_dir=. 6975 for ac_exec_ext in '' $ac_executable_extensions; do 6976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6977 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6979 break 2 6980 fi 6981done 6982 done 6983IFS=$as_save_IFS 6984 6985fi 6986fi 6987NMEDIT=$ac_cv_prog_NMEDIT 6988if test -n "$NMEDIT"; then 6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6990$as_echo "$NMEDIT" >&6; } 6991else 6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6993$as_echo "no" >&6; } 6994fi 6995 6996 6997fi 6998if test -z "$ac_cv_prog_NMEDIT"; then 6999 ac_ct_NMEDIT=$NMEDIT 7000 # Extract the first word of "nmedit", so it can be a program name with args. 7001set dummy nmedit; ac_word=$2 7002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7003$as_echo_n "checking for $ac_word... " >&6; } 7004if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7005 $as_echo_n "(cached) " >&6 7006else 7007 if test -n "$ac_ct_NMEDIT"; then 7008 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7009else 7010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7011for as_dir in $PATH 7012do 7013 IFS=$as_save_IFS 7014 test -z "$as_dir" && as_dir=. 7015 for ac_exec_ext in '' $ac_executable_extensions; do 7016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7017 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7019 break 2 7020 fi 7021done 7022 done 7023IFS=$as_save_IFS 7024 7025fi 7026fi 7027ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7028if test -n "$ac_ct_NMEDIT"; then 7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7030$as_echo "$ac_ct_NMEDIT" >&6; } 7031else 7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7033$as_echo "no" >&6; } 7034fi 7035 7036 if test "x$ac_ct_NMEDIT" = x; then 7037 NMEDIT=":" 7038 else 7039 case $cross_compiling:$ac_tool_warned in 7040yes:) 7041{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7042$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7043ac_tool_warned=yes ;; 7044esac 7045 NMEDIT=$ac_ct_NMEDIT 7046 fi 7047else 7048 NMEDIT="$ac_cv_prog_NMEDIT" 7049fi 7050 7051 if test -n "$ac_tool_prefix"; then 7052 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7053set dummy ${ac_tool_prefix}lipo; ac_word=$2 7054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7055$as_echo_n "checking for $ac_word... " >&6; } 7056if ${ac_cv_prog_LIPO+:} false; then : 7057 $as_echo_n "(cached) " >&6 7058else 7059 if test -n "$LIPO"; then 7060 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7061else 7062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7063for as_dir in $PATH 7064do 7065 IFS=$as_save_IFS 7066 test -z "$as_dir" && as_dir=. 7067 for ac_exec_ext in '' $ac_executable_extensions; do 7068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7069 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7071 break 2 7072 fi 7073done 7074 done 7075IFS=$as_save_IFS 7076 7077fi 7078fi 7079LIPO=$ac_cv_prog_LIPO 7080if test -n "$LIPO"; then 7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7082$as_echo "$LIPO" >&6; } 7083else 7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7085$as_echo "no" >&6; } 7086fi 7087 7088 7089fi 7090if test -z "$ac_cv_prog_LIPO"; then 7091 ac_ct_LIPO=$LIPO 7092 # Extract the first word of "lipo", so it can be a program name with args. 7093set dummy lipo; ac_word=$2 7094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7095$as_echo_n "checking for $ac_word... " >&6; } 7096if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7097 $as_echo_n "(cached) " >&6 7098else 7099 if test -n "$ac_ct_LIPO"; then 7100 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7101else 7102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7103for as_dir in $PATH 7104do 7105 IFS=$as_save_IFS 7106 test -z "$as_dir" && as_dir=. 7107 for ac_exec_ext in '' $ac_executable_extensions; do 7108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7109 ac_cv_prog_ac_ct_LIPO="lipo" 7110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7111 break 2 7112 fi 7113done 7114 done 7115IFS=$as_save_IFS 7116 7117fi 7118fi 7119ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7120if test -n "$ac_ct_LIPO"; then 7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7122$as_echo "$ac_ct_LIPO" >&6; } 7123else 7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7125$as_echo "no" >&6; } 7126fi 7127 7128 if test "x$ac_ct_LIPO" = x; then 7129 LIPO=":" 7130 else 7131 case $cross_compiling:$ac_tool_warned in 7132yes:) 7133{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7134$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7135ac_tool_warned=yes ;; 7136esac 7137 LIPO=$ac_ct_LIPO 7138 fi 7139else 7140 LIPO="$ac_cv_prog_LIPO" 7141fi 7142 7143 if test -n "$ac_tool_prefix"; then 7144 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7145set dummy ${ac_tool_prefix}otool; ac_word=$2 7146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7147$as_echo_n "checking for $ac_word... " >&6; } 7148if ${ac_cv_prog_OTOOL+:} false; then : 7149 $as_echo_n "(cached) " >&6 7150else 7151 if test -n "$OTOOL"; then 7152 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7153else 7154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7155for as_dir in $PATH 7156do 7157 IFS=$as_save_IFS 7158 test -z "$as_dir" && as_dir=. 7159 for ac_exec_ext in '' $ac_executable_extensions; do 7160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7161 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7163 break 2 7164 fi 7165done 7166 done 7167IFS=$as_save_IFS 7168 7169fi 7170fi 7171OTOOL=$ac_cv_prog_OTOOL 7172if test -n "$OTOOL"; then 7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7174$as_echo "$OTOOL" >&6; } 7175else 7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7177$as_echo "no" >&6; } 7178fi 7179 7180 7181fi 7182if test -z "$ac_cv_prog_OTOOL"; then 7183 ac_ct_OTOOL=$OTOOL 7184 # Extract the first word of "otool", so it can be a program name with args. 7185set dummy otool; ac_word=$2 7186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7187$as_echo_n "checking for $ac_word... " >&6; } 7188if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7189 $as_echo_n "(cached) " >&6 7190else 7191 if test -n "$ac_ct_OTOOL"; then 7192 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7193else 7194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7195for as_dir in $PATH 7196do 7197 IFS=$as_save_IFS 7198 test -z "$as_dir" && as_dir=. 7199 for ac_exec_ext in '' $ac_executable_extensions; do 7200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7201 ac_cv_prog_ac_ct_OTOOL="otool" 7202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7203 break 2 7204 fi 7205done 7206 done 7207IFS=$as_save_IFS 7208 7209fi 7210fi 7211ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7212if test -n "$ac_ct_OTOOL"; then 7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7214$as_echo "$ac_ct_OTOOL" >&6; } 7215else 7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7217$as_echo "no" >&6; } 7218fi 7219 7220 if test "x$ac_ct_OTOOL" = x; then 7221 OTOOL=":" 7222 else 7223 case $cross_compiling:$ac_tool_warned in 7224yes:) 7225{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7226$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7227ac_tool_warned=yes ;; 7228esac 7229 OTOOL=$ac_ct_OTOOL 7230 fi 7231else 7232 OTOOL="$ac_cv_prog_OTOOL" 7233fi 7234 7235 if test -n "$ac_tool_prefix"; then 7236 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7237set dummy ${ac_tool_prefix}otool64; ac_word=$2 7238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7239$as_echo_n "checking for $ac_word... " >&6; } 7240if ${ac_cv_prog_OTOOL64+:} false; then : 7241 $as_echo_n "(cached) " >&6 7242else 7243 if test -n "$OTOOL64"; then 7244 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7245else 7246as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7247for as_dir in $PATH 7248do 7249 IFS=$as_save_IFS 7250 test -z "$as_dir" && as_dir=. 7251 for ac_exec_ext in '' $ac_executable_extensions; do 7252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7253 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7255 break 2 7256 fi 7257done 7258 done 7259IFS=$as_save_IFS 7260 7261fi 7262fi 7263OTOOL64=$ac_cv_prog_OTOOL64 7264if test -n "$OTOOL64"; then 7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7266$as_echo "$OTOOL64" >&6; } 7267else 7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7269$as_echo "no" >&6; } 7270fi 7271 7272 7273fi 7274if test -z "$ac_cv_prog_OTOOL64"; then 7275 ac_ct_OTOOL64=$OTOOL64 7276 # Extract the first word of "otool64", so it can be a program name with args. 7277set dummy otool64; ac_word=$2 7278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7279$as_echo_n "checking for $ac_word... " >&6; } 7280if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7281 $as_echo_n "(cached) " >&6 7282else 7283 if test -n "$ac_ct_OTOOL64"; then 7284 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7285else 7286as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7287for as_dir in $PATH 7288do 7289 IFS=$as_save_IFS 7290 test -z "$as_dir" && as_dir=. 7291 for ac_exec_ext in '' $ac_executable_extensions; do 7292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7293 ac_cv_prog_ac_ct_OTOOL64="otool64" 7294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7295 break 2 7296 fi 7297done 7298 done 7299IFS=$as_save_IFS 7300 7301fi 7302fi 7303ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7304if test -n "$ac_ct_OTOOL64"; then 7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7306$as_echo "$ac_ct_OTOOL64" >&6; } 7307else 7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7309$as_echo "no" >&6; } 7310fi 7311 7312 if test "x$ac_ct_OTOOL64" = x; then 7313 OTOOL64=":" 7314 else 7315 case $cross_compiling:$ac_tool_warned in 7316yes:) 7317{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7318$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7319ac_tool_warned=yes ;; 7320esac 7321 OTOOL64=$ac_ct_OTOOL64 7322 fi 7323else 7324 OTOOL64="$ac_cv_prog_OTOOL64" 7325fi 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7354$as_echo_n "checking for -single_module linker flag... " >&6; } 7355if ${lt_cv_apple_cc_single_mod+:} false; then : 7356 $as_echo_n "(cached) " >&6 7357else 7358 lt_cv_apple_cc_single_mod=no 7359 if test -z "${LT_MULTI_MODULE}"; then 7360 # By default we will add the -single_module flag. You can override 7361 # by either setting the environment variable LT_MULTI_MODULE 7362 # non-empty at configure time, or by adding -multi_module to the 7363 # link flags. 7364 rm -rf libconftest.dylib* 7365 echo "int foo(void){return 1;}" > conftest.c 7366 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7367-dynamiclib -Wl,-single_module conftest.c" >&5 7368 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7369 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7370 _lt_result=$? 7371 # If there is a non-empty error log, and "single_module" 7372 # appears in it, assume the flag caused a linker warning 7373 if test -s conftest.err && $GREP single_module conftest.err; then 7374 cat conftest.err >&5 7375 # Otherwise, if the output was created with a 0 exit code from 7376 # the compiler, it worked. 7377 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7378 lt_cv_apple_cc_single_mod=yes 7379 else 7380 cat conftest.err >&5 7381 fi 7382 rm -rf libconftest.dylib* 7383 rm -f conftest.* 7384 fi 7385fi 7386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7387$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7388 7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7390$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7391if ${lt_cv_ld_exported_symbols_list+:} false; then : 7392 $as_echo_n "(cached) " >&6 7393else 7394 lt_cv_ld_exported_symbols_list=no 7395 save_LDFLAGS=$LDFLAGS 7396 echo "_main" > conftest.sym 7397 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7399/* end confdefs.h. */ 7400 7401int 7402main () 7403{ 7404 7405 ; 7406 return 0; 7407} 7408_ACEOF 7409if ac_fn_c_try_link "$LINENO"; then : 7410 lt_cv_ld_exported_symbols_list=yes 7411else 7412 lt_cv_ld_exported_symbols_list=no 7413fi 7414rm -f core conftest.err conftest.$ac_objext \ 7415 conftest$ac_exeext conftest.$ac_ext 7416 LDFLAGS="$save_LDFLAGS" 7417 7418fi 7419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7420$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7421 7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7423$as_echo_n "checking for -force_load linker flag... " >&6; } 7424if ${lt_cv_ld_force_load+:} false; then : 7425 $as_echo_n "(cached) " >&6 7426else 7427 lt_cv_ld_force_load=no 7428 cat > conftest.c << _LT_EOF 7429int forced_loaded() { return 2;} 7430_LT_EOF 7431 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7432 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7433 echo "$AR cru libconftest.a conftest.o" >&5 7434 $AR cru libconftest.a conftest.o 2>&5 7435 echo "$RANLIB libconftest.a" >&5 7436 $RANLIB libconftest.a 2>&5 7437 cat > conftest.c << _LT_EOF 7438int main() { return 0;} 7439_LT_EOF 7440 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7441 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7442 _lt_result=$? 7443 if test -s conftest.err && $GREP force_load conftest.err; then 7444 cat conftest.err >&5 7445 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7446 lt_cv_ld_force_load=yes 7447 else 7448 cat conftest.err >&5 7449 fi 7450 rm -f conftest.err libconftest.a conftest conftest.c 7451 rm -rf conftest.dSYM 7452 7453fi 7454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7455$as_echo "$lt_cv_ld_force_load" >&6; } 7456 case $host_os in 7457 rhapsody* | darwin1.[012]) 7458 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7459 darwin1.*) 7460 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7461 darwin*) # darwin 5.x on 7462 # if running on 10.5 or later, the deployment target defaults 7463 # to the OS version, if on x86, and 10.4, the deployment 7464 # target defaults to 10.4. Don't you love it? 7465 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7466 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7467 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7468 10.[012]*) 7469 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7470 10.*) 7471 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7472 esac 7473 ;; 7474 esac 7475 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7476 _lt_dar_single_mod='$single_module' 7477 fi 7478 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7479 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7480 else 7481 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7482 fi 7483 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7484 _lt_dsymutil='~$DSYMUTIL $lib || :' 7485 else 7486 _lt_dsymutil= 7487 fi 7488 ;; 7489 esac 7490 7491ac_ext=c 7492ac_cpp='$CPP $CPPFLAGS' 7493ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7494ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7495ac_compiler_gnu=$ac_cv_c_compiler_gnu 7496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7497$as_echo_n "checking how to run the C preprocessor... " >&6; } 7498# On Suns, sometimes $CPP names a directory. 7499if test -n "$CPP" && test -d "$CPP"; then 7500 CPP= 7501fi 7502if test -z "$CPP"; then 7503 if ${ac_cv_prog_CPP+:} false; then : 7504 $as_echo_n "(cached) " >&6 7505else 7506 # Double quotes because CPP needs to be expanded 7507 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7508 do 7509 ac_preproc_ok=false 7510for ac_c_preproc_warn_flag in '' yes 7511do 7512 # Use a header file that comes with gcc, so configuring glibc 7513 # with a fresh cross-compiler works. 7514 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7515 # <limits.h> exists even on freestanding compilers. 7516 # On the NeXT, cc -E runs the code through the compiler's parser, 7517 # not just through cpp. "Syntax error" is here to catch this case. 7518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7519/* end confdefs.h. */ 7520#ifdef __STDC__ 7521# include <limits.h> 7522#else 7523# include <assert.h> 7524#endif 7525 Syntax error 7526_ACEOF 7527if ac_fn_c_try_cpp "$LINENO"; then : 7528 7529else 7530 # Broken: fails on valid input. 7531continue 7532fi 7533rm -f conftest.err conftest.i conftest.$ac_ext 7534 7535 # OK, works on sane cases. Now check whether nonexistent headers 7536 # can be detected and how. 7537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7538/* end confdefs.h. */ 7539#include <ac_nonexistent.h> 7540_ACEOF 7541if ac_fn_c_try_cpp "$LINENO"; then : 7542 # Broken: success on invalid input. 7543continue 7544else 7545 # Passes both tests. 7546ac_preproc_ok=: 7547break 7548fi 7549rm -f conftest.err conftest.i conftest.$ac_ext 7550 7551done 7552# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7553rm -f conftest.i conftest.err conftest.$ac_ext 7554if $ac_preproc_ok; then : 7555 break 7556fi 7557 7558 done 7559 ac_cv_prog_CPP=$CPP 7560 7561fi 7562 CPP=$ac_cv_prog_CPP 7563else 7564 ac_cv_prog_CPP=$CPP 7565fi 7566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7567$as_echo "$CPP" >&6; } 7568ac_preproc_ok=false 7569for ac_c_preproc_warn_flag in '' yes 7570do 7571 # Use a header file that comes with gcc, so configuring glibc 7572 # with a fresh cross-compiler works. 7573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7574 # <limits.h> exists even on freestanding compilers. 7575 # On the NeXT, cc -E runs the code through the compiler's parser, 7576 # not just through cpp. "Syntax error" is here to catch this case. 7577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7578/* end confdefs.h. */ 7579#ifdef __STDC__ 7580# include <limits.h> 7581#else 7582# include <assert.h> 7583#endif 7584 Syntax error 7585_ACEOF 7586if ac_fn_c_try_cpp "$LINENO"; then : 7587 7588else 7589 # Broken: fails on valid input. 7590continue 7591fi 7592rm -f conftest.err conftest.i conftest.$ac_ext 7593 7594 # OK, works on sane cases. Now check whether nonexistent headers 7595 # can be detected and how. 7596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7597/* end confdefs.h. */ 7598#include <ac_nonexistent.h> 7599_ACEOF 7600if ac_fn_c_try_cpp "$LINENO"; then : 7601 # Broken: success on invalid input. 7602continue 7603else 7604 # Passes both tests. 7605ac_preproc_ok=: 7606break 7607fi 7608rm -f conftest.err conftest.i conftest.$ac_ext 7609 7610done 7611# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7612rm -f conftest.i conftest.err conftest.$ac_ext 7613if $ac_preproc_ok; then : 7614 7615else 7616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7617$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7618as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7619See \`config.log' for more details" "$LINENO" 5; } 7620fi 7621 7622ac_ext=c 7623ac_cpp='$CPP $CPPFLAGS' 7624ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7625ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7626ac_compiler_gnu=$ac_cv_c_compiler_gnu 7627 7628 7629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7630$as_echo_n "checking for ANSI C header files... " >&6; } 7631if ${ac_cv_header_stdc+:} false; then : 7632 $as_echo_n "(cached) " >&6 7633else 7634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7635/* end confdefs.h. */ 7636#include <stdlib.h> 7637#include <stdarg.h> 7638#include <string.h> 7639#include <float.h> 7640 7641int 7642main () 7643{ 7644 7645 ; 7646 return 0; 7647} 7648_ACEOF 7649if ac_fn_c_try_compile "$LINENO"; then : 7650 ac_cv_header_stdc=yes 7651else 7652 ac_cv_header_stdc=no 7653fi 7654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7655 7656if test $ac_cv_header_stdc = yes; then 7657 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7659/* end confdefs.h. */ 7660#include <string.h> 7661 7662_ACEOF 7663if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7664 $EGREP "memchr" >/dev/null 2>&1; then : 7665 7666else 7667 ac_cv_header_stdc=no 7668fi 7669rm -f conftest* 7670 7671fi 7672 7673if test $ac_cv_header_stdc = yes; then 7674 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7676/* end confdefs.h. */ 7677#include <stdlib.h> 7678 7679_ACEOF 7680if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7681 $EGREP "free" >/dev/null 2>&1; then : 7682 7683else 7684 ac_cv_header_stdc=no 7685fi 7686rm -f conftest* 7687 7688fi 7689 7690if test $ac_cv_header_stdc = yes; then 7691 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7692 if test "$cross_compiling" = yes; then : 7693 : 7694else 7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7696/* end confdefs.h. */ 7697#include <ctype.h> 7698#include <stdlib.h> 7699#if ((' ' & 0x0FF) == 0x020) 7700# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7701# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7702#else 7703# define ISLOWER(c) \ 7704 (('a' <= (c) && (c) <= 'i') \ 7705 || ('j' <= (c) && (c) <= 'r') \ 7706 || ('s' <= (c) && (c) <= 'z')) 7707# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7708#endif 7709 7710#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7711int 7712main () 7713{ 7714 int i; 7715 for (i = 0; i < 256; i++) 7716 if (XOR (islower (i), ISLOWER (i)) 7717 || toupper (i) != TOUPPER (i)) 7718 return 2; 7719 return 0; 7720} 7721_ACEOF 7722if ac_fn_c_try_run "$LINENO"; then : 7723 7724else 7725 ac_cv_header_stdc=no 7726fi 7727rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7728 conftest.$ac_objext conftest.beam conftest.$ac_ext 7729fi 7730 7731fi 7732fi 7733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7734$as_echo "$ac_cv_header_stdc" >&6; } 7735if test $ac_cv_header_stdc = yes; then 7736 7737$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7738 7739fi 7740 7741# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7742for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7743 inttypes.h stdint.h unistd.h 7744do : 7745 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7746ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7747" 7748if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7749 cat >>confdefs.h <<_ACEOF 7750#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7751_ACEOF 7752 7753fi 7754 7755done 7756 7757 7758for ac_header in dlfcn.h 7759do : 7760 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7761" 7762if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7763 cat >>confdefs.h <<_ACEOF 7764#define HAVE_DLFCN_H 1 7765_ACEOF 7766 7767fi 7768 7769done 7770 7771 7772 7773 7774 7775# Set options 7776 7777 7778 7779 enable_dlopen=no 7780 7781 7782 enable_win32_dll=no 7783 7784 7785 # Check whether --enable-shared was given. 7786if test "${enable_shared+set}" = set; then : 7787 enableval=$enable_shared; p=${PACKAGE-default} 7788 case $enableval in 7789 yes) enable_shared=yes ;; 7790 no) enable_shared=no ;; 7791 *) 7792 enable_shared=no 7793 # Look at the argument we got. We use all the common list separators. 7794 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7795 for pkg in $enableval; do 7796 IFS="$lt_save_ifs" 7797 if test "X$pkg" = "X$p"; then 7798 enable_shared=yes 7799 fi 7800 done 7801 IFS="$lt_save_ifs" 7802 ;; 7803 esac 7804else 7805 enable_shared=yes 7806fi 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 # Check whether --enable-static was given. 7817if test "${enable_static+set}" = set; then : 7818 enableval=$enable_static; p=${PACKAGE-default} 7819 case $enableval in 7820 yes) enable_static=yes ;; 7821 no) enable_static=no ;; 7822 *) 7823 enable_static=no 7824 # Look at the argument we got. We use all the common list separators. 7825 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7826 for pkg in $enableval; do 7827 IFS="$lt_save_ifs" 7828 if test "X$pkg" = "X$p"; then 7829 enable_static=yes 7830 fi 7831 done 7832 IFS="$lt_save_ifs" 7833 ;; 7834 esac 7835else 7836 enable_static=yes 7837fi 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848# Check whether --with-pic was given. 7849if test "${with_pic+set}" = set; then : 7850 withval=$with_pic; lt_p=${PACKAGE-default} 7851 case $withval in 7852 yes|no) pic_mode=$withval ;; 7853 *) 7854 pic_mode=default 7855 # Look at the argument we got. We use all the common list separators. 7856 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7857 for lt_pkg in $withval; do 7858 IFS="$lt_save_ifs" 7859 if test "X$lt_pkg" = "X$lt_p"; then 7860 pic_mode=yes 7861 fi 7862 done 7863 IFS="$lt_save_ifs" 7864 ;; 7865 esac 7866else 7867 pic_mode=default 7868fi 7869 7870 7871test -z "$pic_mode" && pic_mode=default 7872 7873 7874 7875 7876 7877 7878 7879 # Check whether --enable-fast-install was given. 7880if test "${enable_fast_install+set}" = set; then : 7881 enableval=$enable_fast_install; p=${PACKAGE-default} 7882 case $enableval in 7883 yes) enable_fast_install=yes ;; 7884 no) enable_fast_install=no ;; 7885 *) 7886 enable_fast_install=no 7887 # Look at the argument we got. We use all the common list separators. 7888 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7889 for pkg in $enableval; do 7890 IFS="$lt_save_ifs" 7891 if test "X$pkg" = "X$p"; then 7892 enable_fast_install=yes 7893 fi 7894 done 7895 IFS="$lt_save_ifs" 7896 ;; 7897 esac 7898else 7899 enable_fast_install=yes 7900fi 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912# This can be used to rebuild libtool when needed 7913LIBTOOL_DEPS="$ltmain" 7914 7915# Always use our own libtool. 7916LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947test -z "$LN_S" && LN_S="ln -s" 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962if test -n "${ZSH_VERSION+set}" ; then 7963 setopt NO_GLOB_SUBST 7964fi 7965 7966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7967$as_echo_n "checking for objdir... " >&6; } 7968if ${lt_cv_objdir+:} false; then : 7969 $as_echo_n "(cached) " >&6 7970else 7971 rm -f .libs 2>/dev/null 7972mkdir .libs 2>/dev/null 7973if test -d .libs; then 7974 lt_cv_objdir=.libs 7975else 7976 # MS-DOS does not allow filenames that begin with a dot. 7977 lt_cv_objdir=_libs 7978fi 7979rmdir .libs 2>/dev/null 7980fi 7981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7982$as_echo "$lt_cv_objdir" >&6; } 7983objdir=$lt_cv_objdir 7984 7985 7986 7987 7988 7989cat >>confdefs.h <<_ACEOF 7990#define LT_OBJDIR "$lt_cv_objdir/" 7991_ACEOF 7992 7993 7994 7995 7996case $host_os in 7997aix3*) 7998 # AIX sometimes has problems with the GCC collect2 program. For some 7999 # reason, if we set the COLLECT_NAMES environment variable, the problems 8000 # vanish in a puff of smoke. 8001 if test "X${COLLECT_NAMES+set}" != Xset; then 8002 COLLECT_NAMES= 8003 export COLLECT_NAMES 8004 fi 8005 ;; 8006esac 8007 8008# Global variables: 8009ofile=libtool 8010can_build_shared=yes 8011 8012# All known linkers require a `.a' archive for static linking (except MSVC, 8013# which needs '.lib'). 8014libext=a 8015 8016with_gnu_ld="$lt_cv_prog_gnu_ld" 8017 8018old_CC="$CC" 8019old_CFLAGS="$CFLAGS" 8020 8021# Set sane defaults for various variables 8022test -z "$CC" && CC=cc 8023test -z "$LTCC" && LTCC=$CC 8024test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8025test -z "$LD" && LD=ld 8026test -z "$ac_objext" && ac_objext=o 8027 8028for cc_temp in $compiler""; do 8029 case $cc_temp in 8030 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8031 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8032 \-*) ;; 8033 *) break;; 8034 esac 8035done 8036cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8037 8038 8039# Only perform the check for file, if the check method requires it 8040test -z "$MAGIC_CMD" && MAGIC_CMD=file 8041case $deplibs_check_method in 8042file_magic*) 8043 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8045$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8046if ${lt_cv_path_MAGIC_CMD+:} false; then : 8047 $as_echo_n "(cached) " >&6 8048else 8049 case $MAGIC_CMD in 8050[\\/*] | ?:[\\/]*) 8051 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8052 ;; 8053*) 8054 lt_save_MAGIC_CMD="$MAGIC_CMD" 8055 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8056 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8057 for ac_dir in $ac_dummy; do 8058 IFS="$lt_save_ifs" 8059 test -z "$ac_dir" && ac_dir=. 8060 if test -f $ac_dir/${ac_tool_prefix}file; then 8061 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8062 if test -n "$file_magic_test_file"; then 8063 case $deplibs_check_method in 8064 "file_magic "*) 8065 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8066 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8067 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8068 $EGREP "$file_magic_regex" > /dev/null; then 8069 : 8070 else 8071 cat <<_LT_EOF 1>&2 8072 8073*** Warning: the command libtool uses to detect shared libraries, 8074*** $file_magic_cmd, produces output that libtool cannot recognize. 8075*** The result is that libtool may fail to recognize shared libraries 8076*** as such. This will affect the creation of libtool libraries that 8077*** depend on shared libraries, but programs linked with such libtool 8078*** libraries will work regardless of this problem. Nevertheless, you 8079*** may want to report the problem to your system manager and/or to 8080*** bug-libtool@gnu.org 8081 8082_LT_EOF 8083 fi ;; 8084 esac 8085 fi 8086 break 8087 fi 8088 done 8089 IFS="$lt_save_ifs" 8090 MAGIC_CMD="$lt_save_MAGIC_CMD" 8091 ;; 8092esac 8093fi 8094 8095MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8096if test -n "$MAGIC_CMD"; then 8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8098$as_echo "$MAGIC_CMD" >&6; } 8099else 8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8101$as_echo "no" >&6; } 8102fi 8103 8104 8105 8106 8107 8108if test -z "$lt_cv_path_MAGIC_CMD"; then 8109 if test -n "$ac_tool_prefix"; then 8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8111$as_echo_n "checking for file... " >&6; } 8112if ${lt_cv_path_MAGIC_CMD+:} false; then : 8113 $as_echo_n "(cached) " >&6 8114else 8115 case $MAGIC_CMD in 8116[\\/*] | ?:[\\/]*) 8117 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8118 ;; 8119*) 8120 lt_save_MAGIC_CMD="$MAGIC_CMD" 8121 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8122 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8123 for ac_dir in $ac_dummy; do 8124 IFS="$lt_save_ifs" 8125 test -z "$ac_dir" && ac_dir=. 8126 if test -f $ac_dir/file; then 8127 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8128 if test -n "$file_magic_test_file"; then 8129 case $deplibs_check_method in 8130 "file_magic "*) 8131 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8132 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8133 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8134 $EGREP "$file_magic_regex" > /dev/null; then 8135 : 8136 else 8137 cat <<_LT_EOF 1>&2 8138 8139*** Warning: the command libtool uses to detect shared libraries, 8140*** $file_magic_cmd, produces output that libtool cannot recognize. 8141*** The result is that libtool may fail to recognize shared libraries 8142*** as such. This will affect the creation of libtool libraries that 8143*** depend on shared libraries, but programs linked with such libtool 8144*** libraries will work regardless of this problem. Nevertheless, you 8145*** may want to report the problem to your system manager and/or to 8146*** bug-libtool@gnu.org 8147 8148_LT_EOF 8149 fi ;; 8150 esac 8151 fi 8152 break 8153 fi 8154 done 8155 IFS="$lt_save_ifs" 8156 MAGIC_CMD="$lt_save_MAGIC_CMD" 8157 ;; 8158esac 8159fi 8160 8161MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8162if test -n "$MAGIC_CMD"; then 8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8164$as_echo "$MAGIC_CMD" >&6; } 8165else 8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8167$as_echo "no" >&6; } 8168fi 8169 8170 8171 else 8172 MAGIC_CMD=: 8173 fi 8174fi 8175 8176 fi 8177 ;; 8178esac 8179 8180# Use C for the default configuration in the libtool script 8181 8182lt_save_CC="$CC" 8183ac_ext=c 8184ac_cpp='$CPP $CPPFLAGS' 8185ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8186ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8187ac_compiler_gnu=$ac_cv_c_compiler_gnu 8188 8189 8190# Source file extension for C test sources. 8191ac_ext=c 8192 8193# Object file extension for compiled C test sources. 8194objext=o 8195objext=$objext 8196 8197# Code to be used in simple compile tests 8198lt_simple_compile_test_code="int some_variable = 0;" 8199 8200# Code to be used in simple link tests 8201lt_simple_link_test_code='int main(){return(0);}' 8202 8203 8204 8205 8206 8207 8208 8209# If no C compiler was specified, use CC. 8210LTCC=${LTCC-"$CC"} 8211 8212# If no C compiler flags were specified, use CFLAGS. 8213LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8214 8215# Allow CC to be a program name with arguments. 8216compiler=$CC 8217 8218# Save the default compiler, since it gets overwritten when the other 8219# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8220compiler_DEFAULT=$CC 8221 8222# save warnings/boilerplate of simple test code 8223ac_outfile=conftest.$ac_objext 8224echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8225eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8226_lt_compiler_boilerplate=`cat conftest.err` 8227$RM conftest* 8228 8229ac_outfile=conftest.$ac_objext 8230echo "$lt_simple_link_test_code" >conftest.$ac_ext 8231eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8232_lt_linker_boilerplate=`cat conftest.err` 8233$RM -r conftest* 8234 8235 8236## CAVEAT EMPTOR: 8237## There is no encapsulation within the following macros, do not change 8238## the running order or otherwise move them around unless you know exactly 8239## what you are doing... 8240if test -n "$compiler"; then 8241 8242lt_prog_compiler_no_builtin_flag= 8243 8244if test "$GCC" = yes; then 8245 case $cc_basename in 8246 nvcc*) 8247 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8248 *) 8249 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8250 esac 8251 8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8253$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8254if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8255 $as_echo_n "(cached) " >&6 8256else 8257 lt_cv_prog_compiler_rtti_exceptions=no 8258 ac_outfile=conftest.$ac_objext 8259 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8260 lt_compiler_flag="-fno-rtti -fno-exceptions" 8261 # Insert the option either (1) after the last *FLAGS variable, or 8262 # (2) before a word containing "conftest.", or (3) at the end. 8263 # Note that $ac_compile itself does not contain backslashes and begins 8264 # with a dollar sign (not a hyphen), so the echo should work correctly. 8265 # The option is referenced via a variable to avoid confusing sed. 8266 lt_compile=`echo "$ac_compile" | $SED \ 8267 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8268 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8269 -e 's:$: $lt_compiler_flag:'` 8270 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8271 (eval "$lt_compile" 2>conftest.err) 8272 ac_status=$? 8273 cat conftest.err >&5 8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8275 if (exit $ac_status) && test -s "$ac_outfile"; then 8276 # The compiler can only warn and ignore the option if not recognized 8277 # So say no if there are warnings other than the usual output. 8278 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8279 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8280 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8281 lt_cv_prog_compiler_rtti_exceptions=yes 8282 fi 8283 fi 8284 $RM conftest* 8285 8286fi 8287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8288$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8289 8290if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8291 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8292else 8293 : 8294fi 8295 8296fi 8297 8298 8299 8300 8301 8302 8303 lt_prog_compiler_wl= 8304lt_prog_compiler_pic= 8305lt_prog_compiler_static= 8306 8307 8308 if test "$GCC" = yes; then 8309 lt_prog_compiler_wl='-Wl,' 8310 lt_prog_compiler_static='-static' 8311 8312 case $host_os in 8313 aix*) 8314 # All AIX code is PIC. 8315 if test "$host_cpu" = ia64; then 8316 # AIX 5 now supports IA64 processor 8317 lt_prog_compiler_static='-Bstatic' 8318 fi 8319 ;; 8320 8321 amigaos*) 8322 case $host_cpu in 8323 powerpc) 8324 # see comment about AmigaOS4 .so support 8325 lt_prog_compiler_pic='-fPIC' 8326 ;; 8327 m68k) 8328 # FIXME: we need at least 68020 code to build shared libraries, but 8329 # adding the `-m68020' flag to GCC prevents building anything better, 8330 # like `-m68040'. 8331 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8332 ;; 8333 esac 8334 ;; 8335 8336 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8337 # PIC is the default for these OSes. 8338 ;; 8339 8340 mingw* | cygwin* | pw32* | os2* | cegcc*) 8341 # This hack is so that the source file can tell whether it is being 8342 # built for inclusion in a dll (and should export symbols for example). 8343 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8344 # (--disable-auto-import) libraries 8345 lt_prog_compiler_pic='-DDLL_EXPORT' 8346 ;; 8347 8348 darwin* | rhapsody*) 8349 # PIC is the default on this platform 8350 # Common symbols not allowed in MH_DYLIB files 8351 lt_prog_compiler_pic='-fno-common' 8352 ;; 8353 8354 haiku*) 8355 # PIC is the default for Haiku. 8356 # The "-static" flag exists, but is broken. 8357 lt_prog_compiler_static= 8358 ;; 8359 8360 hpux*) 8361 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8362 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8363 # sets the default TLS model and affects inlining. 8364 case $host_cpu in 8365 hppa*64*) 8366 # +Z the default 8367 ;; 8368 *) 8369 lt_prog_compiler_pic='-fPIC' 8370 ;; 8371 esac 8372 ;; 8373 8374 interix[3-9]*) 8375 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8376 # Instead, we relocate shared libraries at runtime. 8377 ;; 8378 8379 msdosdjgpp*) 8380 # Just because we use GCC doesn't mean we suddenly get shared libraries 8381 # on systems that don't support them. 8382 lt_prog_compiler_can_build_shared=no 8383 enable_shared=no 8384 ;; 8385 8386 *nto* | *qnx*) 8387 # QNX uses GNU C++, but need to define -shared option too, otherwise 8388 # it will coredump. 8389 lt_prog_compiler_pic='-fPIC -shared' 8390 ;; 8391 8392 sysv4*MP*) 8393 if test -d /usr/nec; then 8394 lt_prog_compiler_pic=-Kconform_pic 8395 fi 8396 ;; 8397 8398 *) 8399 lt_prog_compiler_pic='-fPIC' 8400 ;; 8401 esac 8402 8403 case $cc_basename in 8404 nvcc*) # Cuda Compiler Driver 2.2 8405 lt_prog_compiler_wl='-Xlinker ' 8406 if test -n "$lt_prog_compiler_pic"; then 8407 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8408 fi 8409 ;; 8410 esac 8411 else 8412 # PORTME Check for flag to pass linker flags through the system compiler. 8413 case $host_os in 8414 aix*) 8415 lt_prog_compiler_wl='-Wl,' 8416 if test "$host_cpu" = ia64; then 8417 # AIX 5 now supports IA64 processor 8418 lt_prog_compiler_static='-Bstatic' 8419 else 8420 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8421 fi 8422 ;; 8423 8424 mingw* | cygwin* | pw32* | os2* | cegcc*) 8425 # This hack is so that the source file can tell whether it is being 8426 # built for inclusion in a dll (and should export symbols for example). 8427 lt_prog_compiler_pic='-DDLL_EXPORT' 8428 ;; 8429 8430 hpux9* | hpux10* | hpux11*) 8431 lt_prog_compiler_wl='-Wl,' 8432 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8433 # not for PA HP-UX. 8434 case $host_cpu in 8435 hppa*64*|ia64*) 8436 # +Z the default 8437 ;; 8438 *) 8439 lt_prog_compiler_pic='+Z' 8440 ;; 8441 esac 8442 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8443 lt_prog_compiler_static='${wl}-a ${wl}archive' 8444 ;; 8445 8446 irix5* | irix6* | nonstopux*) 8447 lt_prog_compiler_wl='-Wl,' 8448 # PIC (with -KPIC) is the default. 8449 lt_prog_compiler_static='-non_shared' 8450 ;; 8451 8452 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8453 case $cc_basename in 8454 # old Intel for x86_64 which still supported -KPIC. 8455 ecc*) 8456 lt_prog_compiler_wl='-Wl,' 8457 lt_prog_compiler_pic='-KPIC' 8458 lt_prog_compiler_static='-static' 8459 ;; 8460 # icc used to be incompatible with GCC. 8461 # ICC 10 doesn't accept -KPIC any more. 8462 icc* | ifort*) 8463 lt_prog_compiler_wl='-Wl,' 8464 lt_prog_compiler_pic='-fPIC' 8465 lt_prog_compiler_static='-static' 8466 ;; 8467 # Lahey Fortran 8.1. 8468 lf95*) 8469 lt_prog_compiler_wl='-Wl,' 8470 lt_prog_compiler_pic='--shared' 8471 lt_prog_compiler_static='--static' 8472 ;; 8473 nagfor*) 8474 # NAG Fortran compiler 8475 lt_prog_compiler_wl='-Wl,-Wl,,' 8476 lt_prog_compiler_pic='-PIC' 8477 lt_prog_compiler_static='-Bstatic' 8478 ;; 8479 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8480 # Portland Group compilers (*not* the Pentium gcc compiler, 8481 # which looks to be a dead project) 8482 lt_prog_compiler_wl='-Wl,' 8483 lt_prog_compiler_pic='-fpic' 8484 lt_prog_compiler_static='-Bstatic' 8485 ;; 8486 ccc*) 8487 lt_prog_compiler_wl='-Wl,' 8488 # All Alpha code is PIC. 8489 lt_prog_compiler_static='-non_shared' 8490 ;; 8491 xl* | bgxl* | bgf* | mpixl*) 8492 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8493 lt_prog_compiler_wl='-Wl,' 8494 lt_prog_compiler_pic='-qpic' 8495 lt_prog_compiler_static='-qstaticlink' 8496 ;; 8497 *) 8498 case `$CC -V 2>&1 | sed 5q` in 8499 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8500 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8501 lt_prog_compiler_pic='-KPIC' 8502 lt_prog_compiler_static='-Bstatic' 8503 lt_prog_compiler_wl='' 8504 ;; 8505 *Sun\ F* | *Sun*Fortran*) 8506 lt_prog_compiler_pic='-KPIC' 8507 lt_prog_compiler_static='-Bstatic' 8508 lt_prog_compiler_wl='-Qoption ld ' 8509 ;; 8510 *Sun\ C*) 8511 # Sun C 5.9 8512 lt_prog_compiler_pic='-KPIC' 8513 lt_prog_compiler_static='-Bstatic' 8514 lt_prog_compiler_wl='-Wl,' 8515 ;; 8516 *Intel*\ [CF]*Compiler*) 8517 lt_prog_compiler_wl='-Wl,' 8518 lt_prog_compiler_pic='-fPIC' 8519 lt_prog_compiler_static='-static' 8520 ;; 8521 *Portland\ Group*) 8522 lt_prog_compiler_wl='-Wl,' 8523 lt_prog_compiler_pic='-fpic' 8524 lt_prog_compiler_static='-Bstatic' 8525 ;; 8526 esac 8527 ;; 8528 esac 8529 ;; 8530 8531 newsos6) 8532 lt_prog_compiler_pic='-KPIC' 8533 lt_prog_compiler_static='-Bstatic' 8534 ;; 8535 8536 *nto* | *qnx*) 8537 # QNX uses GNU C++, but need to define -shared option too, otherwise 8538 # it will coredump. 8539 lt_prog_compiler_pic='-fPIC -shared' 8540 ;; 8541 8542 osf3* | osf4* | osf5*) 8543 lt_prog_compiler_wl='-Wl,' 8544 # All OSF/1 code is PIC. 8545 lt_prog_compiler_static='-non_shared' 8546 ;; 8547 8548 rdos*) 8549 lt_prog_compiler_static='-non_shared' 8550 ;; 8551 8552 solaris*) 8553 lt_prog_compiler_pic='-KPIC' 8554 lt_prog_compiler_static='-Bstatic' 8555 case $cc_basename in 8556 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8557 lt_prog_compiler_wl='-Qoption ld ';; 8558 *) 8559 lt_prog_compiler_wl='-Wl,';; 8560 esac 8561 ;; 8562 8563 sunos4*) 8564 lt_prog_compiler_wl='-Qoption ld ' 8565 lt_prog_compiler_pic='-PIC' 8566 lt_prog_compiler_static='-Bstatic' 8567 ;; 8568 8569 sysv4 | sysv4.2uw2* | sysv4.3*) 8570 lt_prog_compiler_wl='-Wl,' 8571 lt_prog_compiler_pic='-KPIC' 8572 lt_prog_compiler_static='-Bstatic' 8573 ;; 8574 8575 sysv4*MP*) 8576 if test -d /usr/nec ;then 8577 lt_prog_compiler_pic='-Kconform_pic' 8578 lt_prog_compiler_static='-Bstatic' 8579 fi 8580 ;; 8581 8582 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8583 lt_prog_compiler_wl='-Wl,' 8584 lt_prog_compiler_pic='-KPIC' 8585 lt_prog_compiler_static='-Bstatic' 8586 ;; 8587 8588 unicos*) 8589 lt_prog_compiler_wl='-Wl,' 8590 lt_prog_compiler_can_build_shared=no 8591 ;; 8592 8593 uts4*) 8594 lt_prog_compiler_pic='-pic' 8595 lt_prog_compiler_static='-Bstatic' 8596 ;; 8597 8598 *) 8599 lt_prog_compiler_can_build_shared=no 8600 ;; 8601 esac 8602 fi 8603 8604case $host_os in 8605 # For platforms which do not support PIC, -DPIC is meaningless: 8606 *djgpp*) 8607 lt_prog_compiler_pic= 8608 ;; 8609 *) 8610 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8611 ;; 8612esac 8613 8614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8615$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8616if ${lt_cv_prog_compiler_pic+:} false; then : 8617 $as_echo_n "(cached) " >&6 8618else 8619 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8620fi 8621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8622$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8623lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8624 8625# 8626# Check to make sure the PIC flag actually works. 8627# 8628if test -n "$lt_prog_compiler_pic"; then 8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8630$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8631if ${lt_cv_prog_compiler_pic_works+:} false; then : 8632 $as_echo_n "(cached) " >&6 8633else 8634 lt_cv_prog_compiler_pic_works=no 8635 ac_outfile=conftest.$ac_objext 8636 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8637 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8638 # Insert the option either (1) after the last *FLAGS variable, or 8639 # (2) before a word containing "conftest.", or (3) at the end. 8640 # Note that $ac_compile itself does not contain backslashes and begins 8641 # with a dollar sign (not a hyphen), so the echo should work correctly. 8642 # The option is referenced via a variable to avoid confusing sed. 8643 lt_compile=`echo "$ac_compile" | $SED \ 8644 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8645 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8646 -e 's:$: $lt_compiler_flag:'` 8647 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8648 (eval "$lt_compile" 2>conftest.err) 8649 ac_status=$? 8650 cat conftest.err >&5 8651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8652 if (exit $ac_status) && test -s "$ac_outfile"; then 8653 # The compiler can only warn and ignore the option if not recognized 8654 # So say no if there are warnings other than the usual output. 8655 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8656 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8657 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8658 lt_cv_prog_compiler_pic_works=yes 8659 fi 8660 fi 8661 $RM conftest* 8662 8663fi 8664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8665$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8666 8667if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8668 case $lt_prog_compiler_pic in 8669 "" | " "*) ;; 8670 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8671 esac 8672else 8673 lt_prog_compiler_pic= 8674 lt_prog_compiler_can_build_shared=no 8675fi 8676 8677fi 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689# 8690# Check to make sure the static flag actually works. 8691# 8692wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8694$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8695if ${lt_cv_prog_compiler_static_works+:} false; then : 8696 $as_echo_n "(cached) " >&6 8697else 8698 lt_cv_prog_compiler_static_works=no 8699 save_LDFLAGS="$LDFLAGS" 8700 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8701 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8702 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8703 # The linker can only warn and ignore the option if not recognized 8704 # So say no if there are warnings 8705 if test -s conftest.err; then 8706 # Append any errors to the config.log. 8707 cat conftest.err 1>&5 8708 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8709 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8710 if diff conftest.exp conftest.er2 >/dev/null; then 8711 lt_cv_prog_compiler_static_works=yes 8712 fi 8713 else 8714 lt_cv_prog_compiler_static_works=yes 8715 fi 8716 fi 8717 $RM -r conftest* 8718 LDFLAGS="$save_LDFLAGS" 8719 8720fi 8721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8722$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8723 8724if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8725 : 8726else 8727 lt_prog_compiler_static= 8728fi 8729 8730 8731 8732 8733 8734 8735 8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8737$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8738if ${lt_cv_prog_compiler_c_o+:} false; then : 8739 $as_echo_n "(cached) " >&6 8740else 8741 lt_cv_prog_compiler_c_o=no 8742 $RM -r conftest 2>/dev/null 8743 mkdir conftest 8744 cd conftest 8745 mkdir out 8746 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8747 8748 lt_compiler_flag="-o out/conftest2.$ac_objext" 8749 # Insert the option either (1) after the last *FLAGS variable, or 8750 # (2) before a word containing "conftest.", or (3) at the end. 8751 # Note that $ac_compile itself does not contain backslashes and begins 8752 # with a dollar sign (not a hyphen), so the echo should work correctly. 8753 lt_compile=`echo "$ac_compile" | $SED \ 8754 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8755 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8756 -e 's:$: $lt_compiler_flag:'` 8757 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8758 (eval "$lt_compile" 2>out/conftest.err) 8759 ac_status=$? 8760 cat out/conftest.err >&5 8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8762 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8763 then 8764 # The compiler can only warn and ignore the option if not recognized 8765 # So say no if there are warnings 8766 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8767 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8768 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8769 lt_cv_prog_compiler_c_o=yes 8770 fi 8771 fi 8772 chmod u+w . 2>&5 8773 $RM conftest* 8774 # SGI C++ compiler will create directory out/ii_files/ for 8775 # template instantiation 8776 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8777 $RM out/* && rmdir out 8778 cd .. 8779 $RM -r conftest 8780 $RM conftest* 8781 8782fi 8783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8784$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8785 8786 8787 8788 8789 8790 8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8792$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8793if ${lt_cv_prog_compiler_c_o+:} false; then : 8794 $as_echo_n "(cached) " >&6 8795else 8796 lt_cv_prog_compiler_c_o=no 8797 $RM -r conftest 2>/dev/null 8798 mkdir conftest 8799 cd conftest 8800 mkdir out 8801 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8802 8803 lt_compiler_flag="-o out/conftest2.$ac_objext" 8804 # Insert the option either (1) after the last *FLAGS variable, or 8805 # (2) before a word containing "conftest.", or (3) at the end. 8806 # Note that $ac_compile itself does not contain backslashes and begins 8807 # with a dollar sign (not a hyphen), so the echo should work correctly. 8808 lt_compile=`echo "$ac_compile" | $SED \ 8809 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8810 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8811 -e 's:$: $lt_compiler_flag:'` 8812 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8813 (eval "$lt_compile" 2>out/conftest.err) 8814 ac_status=$? 8815 cat out/conftest.err >&5 8816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8817 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8818 then 8819 # The compiler can only warn and ignore the option if not recognized 8820 # So say no if there are warnings 8821 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8822 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8823 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8824 lt_cv_prog_compiler_c_o=yes 8825 fi 8826 fi 8827 chmod u+w . 2>&5 8828 $RM conftest* 8829 # SGI C++ compiler will create directory out/ii_files/ for 8830 # template instantiation 8831 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8832 $RM out/* && rmdir out 8833 cd .. 8834 $RM -r conftest 8835 $RM conftest* 8836 8837fi 8838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8839$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8840 8841 8842 8843 8844hard_links="nottested" 8845if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8846 # do not overwrite the value of need_locks provided by the user 8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8848$as_echo_n "checking if we can lock with hard links... " >&6; } 8849 hard_links=yes 8850 $RM conftest* 8851 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8852 touch conftest.a 8853 ln conftest.a conftest.b 2>&5 || hard_links=no 8854 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8856$as_echo "$hard_links" >&6; } 8857 if test "$hard_links" = no; then 8858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8859$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8860 need_locks=warn 8861 fi 8862else 8863 need_locks=no 8864fi 8865 8866 8867 8868 8869 8870 8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8872$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8873 8874 runpath_var= 8875 allow_undefined_flag= 8876 always_export_symbols=no 8877 archive_cmds= 8878 archive_expsym_cmds= 8879 compiler_needs_object=no 8880 enable_shared_with_static_runtimes=no 8881 export_dynamic_flag_spec= 8882 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8883 hardcode_automatic=no 8884 hardcode_direct=no 8885 hardcode_direct_absolute=no 8886 hardcode_libdir_flag_spec= 8887 hardcode_libdir_separator= 8888 hardcode_minus_L=no 8889 hardcode_shlibpath_var=unsupported 8890 inherit_rpath=no 8891 link_all_deplibs=unknown 8892 module_cmds= 8893 module_expsym_cmds= 8894 old_archive_from_new_cmds= 8895 old_archive_from_expsyms_cmds= 8896 thread_safe_flag_spec= 8897 whole_archive_flag_spec= 8898 # include_expsyms should be a list of space-separated symbols to be *always* 8899 # included in the symbol list 8900 include_expsyms= 8901 # exclude_expsyms can be an extended regexp of symbols to exclude 8902 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8903 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8904 # as well as any symbol that contains `d'. 8905 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8906 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8907 # platforms (ab)use it in PIC code, but their linkers get confused if 8908 # the symbol is explicitly referenced. Since portable code cannot 8909 # rely on this symbol name, it's probably fine to never include it in 8910 # preloaded symbol tables. 8911 # Exclude shared library initialization/finalization symbols. 8912 extract_expsyms_cmds= 8913 8914 case $host_os in 8915 cygwin* | mingw* | pw32* | cegcc*) 8916 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8917 # When not using gcc, we currently assume that we are using 8918 # Microsoft Visual C++. 8919 if test "$GCC" != yes; then 8920 with_gnu_ld=no 8921 fi 8922 ;; 8923 interix*) 8924 # we just hope/assume this is gcc and not c89 (= MSVC++) 8925 with_gnu_ld=yes 8926 ;; 8927 openbsd*) 8928 with_gnu_ld=no 8929 ;; 8930 esac 8931 8932 ld_shlibs=yes 8933 8934 # On some targets, GNU ld is compatible enough with the native linker 8935 # that we're better off using the native interface for both. 8936 lt_use_gnu_ld_interface=no 8937 if test "$with_gnu_ld" = yes; then 8938 case $host_os in 8939 aix*) 8940 # The AIX port of GNU ld has always aspired to compatibility 8941 # with the native linker. However, as the warning in the GNU ld 8942 # block says, versions before 2.19.5* couldn't really create working 8943 # shared libraries, regardless of the interface used. 8944 case `$LD -v 2>&1` in 8945 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8946 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8947 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8948 *) 8949 lt_use_gnu_ld_interface=yes 8950 ;; 8951 esac 8952 ;; 8953 *) 8954 lt_use_gnu_ld_interface=yes 8955 ;; 8956 esac 8957 fi 8958 8959 if test "$lt_use_gnu_ld_interface" = yes; then 8960 # If archive_cmds runs LD, not CC, wlarc should be empty 8961 wlarc='${wl}' 8962 8963 # Set some defaults for GNU ld with shared library support. These 8964 # are reset later if shared libraries are not supported. Putting them 8965 # here allows them to be overridden if necessary. 8966 runpath_var=LD_RUN_PATH 8967 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8968 export_dynamic_flag_spec='${wl}--export-dynamic' 8969 # ancient GNU ld didn't support --whole-archive et. al. 8970 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8971 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8972 else 8973 whole_archive_flag_spec= 8974 fi 8975 supports_anon_versioning=no 8976 case `$LD -v 2>&1` in 8977 *GNU\ gold*) supports_anon_versioning=yes ;; 8978 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8979 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8980 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8981 *\ 2.11.*) ;; # other 2.11 versions 8982 *) supports_anon_versioning=yes ;; 8983 esac 8984 8985 # See if GNU ld supports shared libraries. 8986 case $host_os in 8987 aix[3-9]*) 8988 # On AIX/PPC, the GNU linker is very broken 8989 if test "$host_cpu" != ia64; then 8990 ld_shlibs=no 8991 cat <<_LT_EOF 1>&2 8992 8993*** Warning: the GNU linker, at least up to release 2.19, is reported 8994*** to be unable to reliably create shared libraries on AIX. 8995*** Therefore, libtool is disabling shared libraries support. If you 8996*** really care for shared libraries, you may want to install binutils 8997*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8998*** You will then need to restart the configuration process. 8999 9000_LT_EOF 9001 fi 9002 ;; 9003 9004 amigaos*) 9005 case $host_cpu in 9006 powerpc) 9007 # see comment about AmigaOS4 .so support 9008 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9009 archive_expsym_cmds='' 9010 ;; 9011 m68k) 9012 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)' 9013 hardcode_libdir_flag_spec='-L$libdir' 9014 hardcode_minus_L=yes 9015 ;; 9016 esac 9017 ;; 9018 9019 beos*) 9020 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9021 allow_undefined_flag=unsupported 9022 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9023 # support --undefined. This deserves some investigation. FIXME 9024 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9025 else 9026 ld_shlibs=no 9027 fi 9028 ;; 9029 9030 cygwin* | mingw* | pw32* | cegcc*) 9031 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9032 # as there is no search path for DLLs. 9033 hardcode_libdir_flag_spec='-L$libdir' 9034 export_dynamic_flag_spec='${wl}--export-all-symbols' 9035 allow_undefined_flag=unsupported 9036 always_export_symbols=no 9037 enable_shared_with_static_runtimes=yes 9038 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' 9039 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9040 9041 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9042 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9043 # If the export-symbols file already is a .def file (1st line 9044 # is EXPORTS), use it as is; otherwise, prepend... 9045 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9046 cp $export_symbols $output_objdir/$soname.def; 9047 else 9048 echo EXPORTS > $output_objdir/$soname.def; 9049 cat $export_symbols >> $output_objdir/$soname.def; 9050 fi~ 9051 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9052 else 9053 ld_shlibs=no 9054 fi 9055 ;; 9056 9057 haiku*) 9058 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9059 link_all_deplibs=yes 9060 ;; 9061 9062 interix[3-9]*) 9063 hardcode_direct=no 9064 hardcode_shlibpath_var=no 9065 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9066 export_dynamic_flag_spec='${wl}-E' 9067 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9068 # Instead, shared libraries are loaded at an image base (0x10000000 by 9069 # default) and relocated if they conflict, which is a slow very memory 9070 # consuming and fragmenting process. To avoid this, we pick a random, 9071 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9072 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9073 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9074 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' 9075 ;; 9076 9077 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9078 tmp_diet=no 9079 if test "$host_os" = linux-dietlibc; then 9080 case $cc_basename in 9081 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9082 esac 9083 fi 9084 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9085 && test "$tmp_diet" = no 9086 then 9087 tmp_addflag=' $pic_flag' 9088 tmp_sharedflag='-shared' 9089 case $cc_basename,$host_cpu in 9090 pgcc*) # Portland Group C compiler 9091 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' 9092 tmp_addflag=' $pic_flag' 9093 ;; 9094 pgf77* | pgf90* | pgf95* | pgfortran*) 9095 # Portland Group f77 and f90 compilers 9096 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' 9097 tmp_addflag=' $pic_flag -Mnomain' ;; 9098 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9099 tmp_addflag=' -i_dynamic' ;; 9100 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9101 tmp_addflag=' -i_dynamic -nofor_main' ;; 9102 ifc* | ifort*) # Intel Fortran compiler 9103 tmp_addflag=' -nofor_main' ;; 9104 lf95*) # Lahey Fortran 8.1 9105 whole_archive_flag_spec= 9106 tmp_sharedflag='--shared' ;; 9107 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9108 tmp_sharedflag='-qmkshrobj' 9109 tmp_addflag= ;; 9110 nvcc*) # Cuda Compiler Driver 2.2 9111 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' 9112 compiler_needs_object=yes 9113 ;; 9114 esac 9115 case `$CC -V 2>&1 | sed 5q` in 9116 *Sun\ C*) # Sun C 5.9 9117 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' 9118 compiler_needs_object=yes 9119 tmp_sharedflag='-G' ;; 9120 *Sun\ F*) # Sun Fortran 8.3 9121 tmp_sharedflag='-G' ;; 9122 esac 9123 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9124 9125 if test "x$supports_anon_versioning" = xyes; then 9126 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9127 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9128 echo "local: *; };" >> $output_objdir/$libname.ver~ 9129 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9130 fi 9131 9132 case $cc_basename in 9133 xlf* | bgf* | bgxlf* | mpixlf*) 9134 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9135 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9136 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9137 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9138 if test "x$supports_anon_versioning" = xyes; then 9139 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9140 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9141 echo "local: *; };" >> $output_objdir/$libname.ver~ 9142 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9143 fi 9144 ;; 9145 esac 9146 else 9147 ld_shlibs=no 9148 fi 9149 ;; 9150 9151 netbsd*) 9152 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9153 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9154 wlarc= 9155 else 9156 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9157 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9158 fi 9159 ;; 9160 9161 solaris*) 9162 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9163 ld_shlibs=no 9164 cat <<_LT_EOF 1>&2 9165 9166*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9167*** create shared libraries on Solaris systems. Therefore, libtool 9168*** is disabling shared libraries support. We urge you to upgrade GNU 9169*** binutils to release 2.9.1 or newer. Another option is to modify 9170*** your PATH or compiler configuration so that the native linker is 9171*** used, and then restart. 9172 9173_LT_EOF 9174 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9175 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9176 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9177 else 9178 ld_shlibs=no 9179 fi 9180 ;; 9181 9182 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9183 case `$LD -v 2>&1` in 9184 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9185 ld_shlibs=no 9186 cat <<_LT_EOF 1>&2 9187 9188*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9189*** reliably create shared libraries on SCO systems. Therefore, libtool 9190*** is disabling shared libraries support. We urge you to upgrade GNU 9191*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9192*** your PATH or compiler configuration so that the native linker is 9193*** used, and then restart. 9194 9195_LT_EOF 9196 ;; 9197 *) 9198 # For security reasons, it is highly recommended that you always 9199 # use absolute paths for naming shared libraries, and exclude the 9200 # DT_RUNPATH tag from executables and libraries. But doing so 9201 # requires that you compile everything twice, which is a pain. 9202 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9203 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9204 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9205 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9206 else 9207 ld_shlibs=no 9208 fi 9209 ;; 9210 esac 9211 ;; 9212 9213 sunos4*) 9214 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9215 wlarc= 9216 hardcode_direct=yes 9217 hardcode_shlibpath_var=no 9218 ;; 9219 9220 *) 9221 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9222 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9223 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9224 else 9225 ld_shlibs=no 9226 fi 9227 ;; 9228 esac 9229 9230 if test "$ld_shlibs" = no; then 9231 runpath_var= 9232 hardcode_libdir_flag_spec= 9233 export_dynamic_flag_spec= 9234 whole_archive_flag_spec= 9235 fi 9236 else 9237 # PORTME fill in a description of your system's linker (not GNU ld) 9238 case $host_os in 9239 aix3*) 9240 allow_undefined_flag=unsupported 9241 always_export_symbols=yes 9242 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' 9243 # Note: this linker hardcodes the directories in LIBPATH if there 9244 # are no directories specified by -L. 9245 hardcode_minus_L=yes 9246 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9247 # Neither direct hardcoding nor static linking is supported with a 9248 # broken collect2. 9249 hardcode_direct=unsupported 9250 fi 9251 ;; 9252 9253 aix[4-9]*) 9254 if test "$host_cpu" = ia64; then 9255 # On IA64, the linker does run time linking by default, so we don't 9256 # have to do anything special. 9257 aix_use_runtimelinking=no 9258 exp_sym_flag='-Bexport' 9259 no_entry_flag="" 9260 else 9261 # If we're using GNU nm, then we don't want the "-C" option. 9262 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9263 # Also, AIX nm treats weak defined symbols like other global 9264 # defined symbols, whereas GNU nm marks them as "W". 9265 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9266 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' 9267 else 9268 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' 9269 fi 9270 aix_use_runtimelinking=no 9271 9272 # Test if we are trying to use run time linking or normal 9273 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9274 # need to do runtime linking. 9275 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9276 for ld_flag in $LDFLAGS; do 9277 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9278 aix_use_runtimelinking=yes 9279 break 9280 fi 9281 done 9282 ;; 9283 esac 9284 9285 exp_sym_flag='-bexport' 9286 no_entry_flag='-bnoentry' 9287 fi 9288 9289 # When large executables or shared objects are built, AIX ld can 9290 # have problems creating the table of contents. If linking a library 9291 # or program results in "error TOC overflow" add -mminimal-toc to 9292 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9293 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9294 9295 archive_cmds='' 9296 hardcode_direct=yes 9297 hardcode_direct_absolute=yes 9298 hardcode_libdir_separator=':' 9299 link_all_deplibs=yes 9300 file_list_spec='${wl}-f,' 9301 9302 if test "$GCC" = yes; then 9303 case $host_os in aix4.[012]|aix4.[012].*) 9304 # We only want to do this on AIX 4.2 and lower, the check 9305 # below for broken collect2 doesn't work under 4.3+ 9306 collect2name=`${CC} -print-prog-name=collect2` 9307 if test -f "$collect2name" && 9308 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9309 then 9310 # We have reworked collect2 9311 : 9312 else 9313 # We have old collect2 9314 hardcode_direct=unsupported 9315 # It fails to find uninstalled libraries when the uninstalled 9316 # path is not listed in the libpath. Setting hardcode_minus_L 9317 # to unsupported forces relinking 9318 hardcode_minus_L=yes 9319 hardcode_libdir_flag_spec='-L$libdir' 9320 hardcode_libdir_separator= 9321 fi 9322 ;; 9323 esac 9324 shared_flag='-shared' 9325 if test "$aix_use_runtimelinking" = yes; then 9326 shared_flag="$shared_flag "'${wl}-G' 9327 fi 9328 else 9329 # not using gcc 9330 if test "$host_cpu" = ia64; then 9331 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9332 # chokes on -Wl,-G. The following line is correct: 9333 shared_flag='-G' 9334 else 9335 if test "$aix_use_runtimelinking" = yes; then 9336 shared_flag='${wl}-G' 9337 else 9338 shared_flag='${wl}-bM:SRE' 9339 fi 9340 fi 9341 fi 9342 9343 export_dynamic_flag_spec='${wl}-bexpall' 9344 # It seems that -bexpall does not export symbols beginning with 9345 # underscore (_), so it is better to generate a list of symbols to export. 9346 always_export_symbols=yes 9347 if test "$aix_use_runtimelinking" = yes; then 9348 # Warning - without using the other runtime loading flags (-brtl), 9349 # -berok will link without error, but may produce a broken library. 9350 allow_undefined_flag='-berok' 9351 # Determine the default libpath from the value encoded in an 9352 # empty executable. 9353 if test "${lt_cv_aix_libpath+set}" = set; then 9354 aix_libpath=$lt_cv_aix_libpath 9355else 9356 if ${lt_cv_aix_libpath_+:} false; then : 9357 $as_echo_n "(cached) " >&6 9358else 9359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9360/* end confdefs.h. */ 9361 9362int 9363main () 9364{ 9365 9366 ; 9367 return 0; 9368} 9369_ACEOF 9370if ac_fn_c_try_link "$LINENO"; then : 9371 9372 lt_aix_libpath_sed=' 9373 /Import File Strings/,/^$/ { 9374 /^0/ { 9375 s/^0 *\([^ ]*\) *$/\1/ 9376 p 9377 } 9378 }' 9379 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9380 # Check for a 64-bit object if we didn't find anything. 9381 if test -z "$lt_cv_aix_libpath_"; then 9382 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9383 fi 9384fi 9385rm -f core conftest.err conftest.$ac_objext \ 9386 conftest$ac_exeext conftest.$ac_ext 9387 if test -z "$lt_cv_aix_libpath_"; then 9388 lt_cv_aix_libpath_="/usr/lib:/lib" 9389 fi 9390 9391fi 9392 9393 aix_libpath=$lt_cv_aix_libpath_ 9394fi 9395 9396 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9397 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 9398 else 9399 if test "$host_cpu" = ia64; then 9400 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9401 allow_undefined_flag="-z nodefs" 9402 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" 9403 else 9404 # Determine the default libpath from the value encoded in an 9405 # empty executable. 9406 if test "${lt_cv_aix_libpath+set}" = set; then 9407 aix_libpath=$lt_cv_aix_libpath 9408else 9409 if ${lt_cv_aix_libpath_+:} false; then : 9410 $as_echo_n "(cached) " >&6 9411else 9412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9413/* end confdefs.h. */ 9414 9415int 9416main () 9417{ 9418 9419 ; 9420 return 0; 9421} 9422_ACEOF 9423if ac_fn_c_try_link "$LINENO"; then : 9424 9425 lt_aix_libpath_sed=' 9426 /Import File Strings/,/^$/ { 9427 /^0/ { 9428 s/^0 *\([^ ]*\) *$/\1/ 9429 p 9430 } 9431 }' 9432 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9433 # Check for a 64-bit object if we didn't find anything. 9434 if test -z "$lt_cv_aix_libpath_"; then 9435 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9436 fi 9437fi 9438rm -f core conftest.err conftest.$ac_objext \ 9439 conftest$ac_exeext conftest.$ac_ext 9440 if test -z "$lt_cv_aix_libpath_"; then 9441 lt_cv_aix_libpath_="/usr/lib:/lib" 9442 fi 9443 9444fi 9445 9446 aix_libpath=$lt_cv_aix_libpath_ 9447fi 9448 9449 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9450 # Warning - without using the other run time loading flags, 9451 # -berok will link without error, but may produce a broken library. 9452 no_undefined_flag=' ${wl}-bernotok' 9453 allow_undefined_flag=' ${wl}-berok' 9454 if test "$with_gnu_ld" = yes; then 9455 # We only use this code for GNU lds that support --whole-archive. 9456 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9457 else 9458 # Exported symbols can be pulled into shared objects from archives 9459 whole_archive_flag_spec='$convenience' 9460 fi 9461 archive_cmds_need_lc=yes 9462 # This is similar to how AIX traditionally builds its shared libraries. 9463 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' 9464 fi 9465 fi 9466 ;; 9467 9468 amigaos*) 9469 case $host_cpu in 9470 powerpc) 9471 # see comment about AmigaOS4 .so support 9472 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9473 archive_expsym_cmds='' 9474 ;; 9475 m68k) 9476 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)' 9477 hardcode_libdir_flag_spec='-L$libdir' 9478 hardcode_minus_L=yes 9479 ;; 9480 esac 9481 ;; 9482 9483 bsdi[45]*) 9484 export_dynamic_flag_spec=-rdynamic 9485 ;; 9486 9487 cygwin* | mingw* | pw32* | cegcc*) 9488 # When not using gcc, we currently assume that we are using 9489 # Microsoft Visual C++. 9490 # hardcode_libdir_flag_spec is actually meaningless, as there is 9491 # no search path for DLLs. 9492 case $cc_basename in 9493 cl*) 9494 # Native MSVC 9495 hardcode_libdir_flag_spec=' ' 9496 allow_undefined_flag=unsupported 9497 always_export_symbols=yes 9498 file_list_spec='@' 9499 # Tell ltmain to make .lib files, not .a files. 9500 libext=lib 9501 # Tell ltmain to make .dll files, not .so files. 9502 shrext_cmds=".dll" 9503 # FIXME: Setting linknames here is a bad hack. 9504 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9505 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9506 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9507 else 9508 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9509 fi~ 9510 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9511 linknames=' 9512 # The linker will not automatically build a static lib if we build a DLL. 9513 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9514 enable_shared_with_static_runtimes=yes 9515 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9516 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9517 # Don't use ranlib 9518 old_postinstall_cmds='chmod 644 $oldlib' 9519 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9520 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9521 case $lt_outputfile in 9522 *.exe|*.EXE) ;; 9523 *) 9524 lt_outputfile="$lt_outputfile.exe" 9525 lt_tool_outputfile="$lt_tool_outputfile.exe" 9526 ;; 9527 esac~ 9528 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9529 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9530 $RM "$lt_outputfile.manifest"; 9531 fi' 9532 ;; 9533 *) 9534 # Assume MSVC wrapper 9535 hardcode_libdir_flag_spec=' ' 9536 allow_undefined_flag=unsupported 9537 # Tell ltmain to make .lib files, not .a files. 9538 libext=lib 9539 # Tell ltmain to make .dll files, not .so files. 9540 shrext_cmds=".dll" 9541 # FIXME: Setting linknames here is a bad hack. 9542 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9543 # The linker will automatically build a .lib file if we build a DLL. 9544 old_archive_from_new_cmds='true' 9545 # FIXME: Should let the user specify the lib program. 9546 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9547 enable_shared_with_static_runtimes=yes 9548 ;; 9549 esac 9550 ;; 9551 9552 darwin* | rhapsody*) 9553 9554 9555 archive_cmds_need_lc=no 9556 hardcode_direct=no 9557 hardcode_automatic=yes 9558 hardcode_shlibpath_var=unsupported 9559 if test "$lt_cv_ld_force_load" = "yes"; then 9560 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\"`' 9561 9562 else 9563 whole_archive_flag_spec='' 9564 fi 9565 link_all_deplibs=yes 9566 allow_undefined_flag="$_lt_dar_allow_undefined" 9567 case $cc_basename in 9568 ifort*) _lt_dar_can_shared=yes ;; 9569 *) _lt_dar_can_shared=$GCC ;; 9570 esac 9571 if test "$_lt_dar_can_shared" = "yes"; then 9572 output_verbose_link_cmd=func_echo_all 9573 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9574 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9575 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}" 9576 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}" 9577 9578 else 9579 ld_shlibs=no 9580 fi 9581 9582 ;; 9583 9584 dgux*) 9585 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9586 hardcode_libdir_flag_spec='-L$libdir' 9587 hardcode_shlibpath_var=no 9588 ;; 9589 9590 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9591 # support. Future versions do this automatically, but an explicit c++rt0.o 9592 # does not break anything, and helps significantly (at the cost of a little 9593 # extra space). 9594 freebsd2.2*) 9595 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9596 hardcode_libdir_flag_spec='-R$libdir' 9597 hardcode_direct=yes 9598 hardcode_shlibpath_var=no 9599 ;; 9600 9601 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9602 freebsd2.*) 9603 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9604 hardcode_direct=yes 9605 hardcode_minus_L=yes 9606 hardcode_shlibpath_var=no 9607 ;; 9608 9609 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9610 freebsd* | dragonfly*) 9611 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9612 hardcode_libdir_flag_spec='-R$libdir' 9613 hardcode_direct=yes 9614 hardcode_shlibpath_var=no 9615 ;; 9616 9617 hpux9*) 9618 if test "$GCC" = yes; then 9619 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9620 else 9621 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9622 fi 9623 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9624 hardcode_libdir_separator=: 9625 hardcode_direct=yes 9626 9627 # hardcode_minus_L: Not really in the search PATH, 9628 # but as the default location of the library. 9629 hardcode_minus_L=yes 9630 export_dynamic_flag_spec='${wl}-E' 9631 ;; 9632 9633 hpux10*) 9634 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9635 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9636 else 9637 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9638 fi 9639 if test "$with_gnu_ld" = no; then 9640 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9641 hardcode_libdir_separator=: 9642 hardcode_direct=yes 9643 hardcode_direct_absolute=yes 9644 export_dynamic_flag_spec='${wl}-E' 9645 # hardcode_minus_L: Not really in the search PATH, 9646 # but as the default location of the library. 9647 hardcode_minus_L=yes 9648 fi 9649 ;; 9650 9651 hpux11*) 9652 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9653 case $host_cpu in 9654 hppa*64*) 9655 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9656 ;; 9657 ia64*) 9658 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9659 ;; 9660 *) 9661 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9662 ;; 9663 esac 9664 else 9665 case $host_cpu in 9666 hppa*64*) 9667 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9668 ;; 9669 ia64*) 9670 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9671 ;; 9672 *) 9673 9674 # Older versions of the 11.00 compiler do not understand -b yet 9675 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9677$as_echo_n "checking if $CC understands -b... " >&6; } 9678if ${lt_cv_prog_compiler__b+:} false; then : 9679 $as_echo_n "(cached) " >&6 9680else 9681 lt_cv_prog_compiler__b=no 9682 save_LDFLAGS="$LDFLAGS" 9683 LDFLAGS="$LDFLAGS -b" 9684 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9685 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9686 # The linker can only warn and ignore the option if not recognized 9687 # So say no if there are warnings 9688 if test -s conftest.err; then 9689 # Append any errors to the config.log. 9690 cat conftest.err 1>&5 9691 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9692 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9693 if diff conftest.exp conftest.er2 >/dev/null; then 9694 lt_cv_prog_compiler__b=yes 9695 fi 9696 else 9697 lt_cv_prog_compiler__b=yes 9698 fi 9699 fi 9700 $RM -r conftest* 9701 LDFLAGS="$save_LDFLAGS" 9702 9703fi 9704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9705$as_echo "$lt_cv_prog_compiler__b" >&6; } 9706 9707if test x"$lt_cv_prog_compiler__b" = xyes; then 9708 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9709else 9710 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9711fi 9712 9713 ;; 9714 esac 9715 fi 9716 if test "$with_gnu_ld" = no; then 9717 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9718 hardcode_libdir_separator=: 9719 9720 case $host_cpu in 9721 hppa*64*|ia64*) 9722 hardcode_direct=no 9723 hardcode_shlibpath_var=no 9724 ;; 9725 *) 9726 hardcode_direct=yes 9727 hardcode_direct_absolute=yes 9728 export_dynamic_flag_spec='${wl}-E' 9729 9730 # hardcode_minus_L: Not really in the search PATH, 9731 # but as the default location of the library. 9732 hardcode_minus_L=yes 9733 ;; 9734 esac 9735 fi 9736 ;; 9737 9738 irix5* | irix6* | nonstopux*) 9739 if test "$GCC" = yes; then 9740 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' 9741 # Try to use the -exported_symbol ld option, if it does not 9742 # work, assume that -exports_file does not work either and 9743 # implicitly export all symbols. 9744 # This should be the same for all languages, so no per-tag cache variable. 9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9746$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9747if ${lt_cv_irix_exported_symbol+:} false; then : 9748 $as_echo_n "(cached) " >&6 9749else 9750 save_LDFLAGS="$LDFLAGS" 9751 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9753/* end confdefs.h. */ 9754int foo (void) { return 0; } 9755_ACEOF 9756if ac_fn_c_try_link "$LINENO"; then : 9757 lt_cv_irix_exported_symbol=yes 9758else 9759 lt_cv_irix_exported_symbol=no 9760fi 9761rm -f core conftest.err conftest.$ac_objext \ 9762 conftest$ac_exeext conftest.$ac_ext 9763 LDFLAGS="$save_LDFLAGS" 9764fi 9765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9766$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9767 if test "$lt_cv_irix_exported_symbol" = yes; then 9768 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' 9769 fi 9770 else 9771 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' 9772 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' 9773 fi 9774 archive_cmds_need_lc='no' 9775 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9776 hardcode_libdir_separator=: 9777 inherit_rpath=yes 9778 link_all_deplibs=yes 9779 ;; 9780 9781 netbsd*) 9782 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9783 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9784 else 9785 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9786 fi 9787 hardcode_libdir_flag_spec='-R$libdir' 9788 hardcode_direct=yes 9789 hardcode_shlibpath_var=no 9790 ;; 9791 9792 newsos6) 9793 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9794 hardcode_direct=yes 9795 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9796 hardcode_libdir_separator=: 9797 hardcode_shlibpath_var=no 9798 ;; 9799 9800 *nto* | *qnx*) 9801 ;; 9802 9803 openbsd*) 9804 if test -f /usr/libexec/ld.so; then 9805 hardcode_direct=yes 9806 hardcode_shlibpath_var=no 9807 hardcode_direct_absolute=yes 9808 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9809 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9810 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9811 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9812 export_dynamic_flag_spec='${wl}-E' 9813 else 9814 case $host_os in 9815 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9816 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9817 hardcode_libdir_flag_spec='-R$libdir' 9818 ;; 9819 *) 9820 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9821 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9822 ;; 9823 esac 9824 fi 9825 else 9826 ld_shlibs=no 9827 fi 9828 ;; 9829 9830 os2*) 9831 hardcode_libdir_flag_spec='-L$libdir' 9832 hardcode_minus_L=yes 9833 allow_undefined_flag=unsupported 9834 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' 9835 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9836 ;; 9837 9838 osf3*) 9839 if test "$GCC" = yes; then 9840 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9841 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' 9842 else 9843 allow_undefined_flag=' -expect_unresolved \*' 9844 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' 9845 fi 9846 archive_cmds_need_lc='no' 9847 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9848 hardcode_libdir_separator=: 9849 ;; 9850 9851 osf4* | osf5*) # as osf3* with the addition of -msym flag 9852 if test "$GCC" = yes; then 9853 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9854 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' 9855 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9856 else 9857 allow_undefined_flag=' -expect_unresolved \*' 9858 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' 9859 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~ 9860 $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' 9861 9862 # Both c and cxx compiler support -rpath directly 9863 hardcode_libdir_flag_spec='-rpath $libdir' 9864 fi 9865 archive_cmds_need_lc='no' 9866 hardcode_libdir_separator=: 9867 ;; 9868 9869 solaris*) 9870 no_undefined_flag=' -z defs' 9871 if test "$GCC" = yes; then 9872 wlarc='${wl}' 9873 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9874 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9875 $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' 9876 else 9877 case `$CC -V 2>&1` in 9878 *"Compilers 5.0"*) 9879 wlarc='' 9880 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9881 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9882 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9883 ;; 9884 *) 9885 wlarc='${wl}' 9886 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9887 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9888 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9889 ;; 9890 esac 9891 fi 9892 hardcode_libdir_flag_spec='-R$libdir' 9893 hardcode_shlibpath_var=no 9894 case $host_os in 9895 solaris2.[0-5] | solaris2.[0-5].*) ;; 9896 *) 9897 # The compiler driver will combine and reorder linker options, 9898 # but understands `-z linker_flag'. GCC discards it without `$wl', 9899 # but is careful enough not to reorder. 9900 # Supported since Solaris 2.6 (maybe 2.5.1?) 9901 if test "$GCC" = yes; then 9902 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9903 else 9904 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9905 fi 9906 ;; 9907 esac 9908 link_all_deplibs=yes 9909 ;; 9910 9911 sunos4*) 9912 if test "x$host_vendor" = xsequent; then 9913 # Use $CC to link under sequent, because it throws in some extra .o 9914 # files that make .init and .fini sections work. 9915 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9916 else 9917 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9918 fi 9919 hardcode_libdir_flag_spec='-L$libdir' 9920 hardcode_direct=yes 9921 hardcode_minus_L=yes 9922 hardcode_shlibpath_var=no 9923 ;; 9924 9925 sysv4) 9926 case $host_vendor in 9927 sni) 9928 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9929 hardcode_direct=yes # is this really true??? 9930 ;; 9931 siemens) 9932 ## LD is ld it makes a PLAMLIB 9933 ## CC just makes a GrossModule. 9934 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9935 reload_cmds='$CC -r -o $output$reload_objs' 9936 hardcode_direct=no 9937 ;; 9938 motorola) 9939 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9940 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9941 ;; 9942 esac 9943 runpath_var='LD_RUN_PATH' 9944 hardcode_shlibpath_var=no 9945 ;; 9946 9947 sysv4.3*) 9948 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9949 hardcode_shlibpath_var=no 9950 export_dynamic_flag_spec='-Bexport' 9951 ;; 9952 9953 sysv4*MP*) 9954 if test -d /usr/nec; then 9955 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9956 hardcode_shlibpath_var=no 9957 runpath_var=LD_RUN_PATH 9958 hardcode_runpath_var=yes 9959 ld_shlibs=yes 9960 fi 9961 ;; 9962 9963 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9964 no_undefined_flag='${wl}-z,text' 9965 archive_cmds_need_lc=no 9966 hardcode_shlibpath_var=no 9967 runpath_var='LD_RUN_PATH' 9968 9969 if test "$GCC" = yes; then 9970 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9971 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9972 else 9973 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9974 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9975 fi 9976 ;; 9977 9978 sysv5* | sco3.2v5* | sco5v6*) 9979 # Note: We can NOT use -z defs as we might desire, because we do not 9980 # link with -lc, and that would cause any symbols used from libc to 9981 # always be unresolved, which means just about no library would 9982 # ever link correctly. If we're not using GNU ld we use -z text 9983 # though, which does catch some bad symbols but isn't as heavy-handed 9984 # as -z defs. 9985 no_undefined_flag='${wl}-z,text' 9986 allow_undefined_flag='${wl}-z,nodefs' 9987 archive_cmds_need_lc=no 9988 hardcode_shlibpath_var=no 9989 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9990 hardcode_libdir_separator=':' 9991 link_all_deplibs=yes 9992 export_dynamic_flag_spec='${wl}-Bexport' 9993 runpath_var='LD_RUN_PATH' 9994 9995 if test "$GCC" = yes; then 9996 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9997 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9998 else 9999 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10000 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10001 fi 10002 ;; 10003 10004 uts4*) 10005 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10006 hardcode_libdir_flag_spec='-L$libdir' 10007 hardcode_shlibpath_var=no 10008 ;; 10009 10010 *) 10011 ld_shlibs=no 10012 ;; 10013 esac 10014 10015 if test x$host_vendor = xsni; then 10016 case $host in 10017 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10018 export_dynamic_flag_spec='${wl}-Blargedynsym' 10019 ;; 10020 esac 10021 fi 10022 fi 10023 10024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10025$as_echo "$ld_shlibs" >&6; } 10026test "$ld_shlibs" = no && can_build_shared=no 10027 10028with_gnu_ld=$with_gnu_ld 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044# 10045# Do we need to explicitly link libc? 10046# 10047case "x$archive_cmds_need_lc" in 10048x|xyes) 10049 # Assume -lc should be added 10050 archive_cmds_need_lc=yes 10051 10052 if test "$enable_shared" = yes && test "$GCC" = yes; then 10053 case $archive_cmds in 10054 *'~'*) 10055 # FIXME: we may have to deal with multi-command sequences. 10056 ;; 10057 '$CC '*) 10058 # Test whether the compiler implicitly links with -lc since on some 10059 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10060 # to ld, don't add -lc before -lgcc. 10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10062$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10063if ${lt_cv_archive_cmds_need_lc+:} false; then : 10064 $as_echo_n "(cached) " >&6 10065else 10066 $RM conftest* 10067 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10068 10069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10070 (eval $ac_compile) 2>&5 10071 ac_status=$? 10072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10073 test $ac_status = 0; } 2>conftest.err; then 10074 soname=conftest 10075 lib=conftest 10076 libobjs=conftest.$ac_objext 10077 deplibs= 10078 wl=$lt_prog_compiler_wl 10079 pic_flag=$lt_prog_compiler_pic 10080 compiler_flags=-v 10081 linker_flags=-v 10082 verstring= 10083 output_objdir=. 10084 libname=conftest 10085 lt_save_allow_undefined_flag=$allow_undefined_flag 10086 allow_undefined_flag= 10087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10088 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10089 ac_status=$? 10090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10091 test $ac_status = 0; } 10092 then 10093 lt_cv_archive_cmds_need_lc=no 10094 else 10095 lt_cv_archive_cmds_need_lc=yes 10096 fi 10097 allow_undefined_flag=$lt_save_allow_undefined_flag 10098 else 10099 cat conftest.err 1>&5 10100 fi 10101 $RM conftest* 10102 10103fi 10104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10105$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10106 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10107 ;; 10108 esac 10109 fi 10110 ;; 10111esac 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10265$as_echo_n "checking dynamic linker characteristics... " >&6; } 10266 10267if test "$GCC" = yes; then 10268 case $host_os in 10269 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10270 *) lt_awk_arg="/^libraries:/" ;; 10271 esac 10272 case $host_os in 10273 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10274 *) lt_sed_strip_eq="s,=/,/,g" ;; 10275 esac 10276 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10277 case $lt_search_path_spec in 10278 *\;*) 10279 # if the path contains ";" then we assume it to be the separator 10280 # otherwise default to the standard path separator (i.e. ":") - it is 10281 # assumed that no part of a normal pathname contains ";" but that should 10282 # okay in the real world where ";" in dirpaths is itself problematic. 10283 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10284 ;; 10285 *) 10286 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10287 ;; 10288 esac 10289 # Ok, now we have the path, separated by spaces, we can step through it 10290 # and add multilib dir if necessary. 10291 lt_tmp_lt_search_path_spec= 10292 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10293 for lt_sys_path in $lt_search_path_spec; do 10294 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10295 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10296 else 10297 test -d "$lt_sys_path" && \ 10298 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10299 fi 10300 done 10301 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10302BEGIN {RS=" "; FS="/|\n";} { 10303 lt_foo=""; 10304 lt_count=0; 10305 for (lt_i = NF; lt_i > 0; lt_i--) { 10306 if ($lt_i != "" && $lt_i != ".") { 10307 if ($lt_i == "..") { 10308 lt_count++; 10309 } else { 10310 if (lt_count == 0) { 10311 lt_foo="/" $lt_i lt_foo; 10312 } else { 10313 lt_count--; 10314 } 10315 } 10316 } 10317 } 10318 if (lt_foo != "") { lt_freq[lt_foo]++; } 10319 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10320}'` 10321 # AWK program above erroneously prepends '/' to C:/dos/paths 10322 # for these hosts. 10323 case $host_os in 10324 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10325 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10326 esac 10327 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10328else 10329 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10330fi 10331library_names_spec= 10332libname_spec='lib$name' 10333soname_spec= 10334shrext_cmds=".so" 10335postinstall_cmds= 10336postuninstall_cmds= 10337finish_cmds= 10338finish_eval= 10339shlibpath_var= 10340shlibpath_overrides_runpath=unknown 10341version_type=none 10342dynamic_linker="$host_os ld.so" 10343sys_lib_dlsearch_path_spec="/lib /usr/lib" 10344need_lib_prefix=unknown 10345hardcode_into_libs=no 10346 10347# when you set need_version to no, make sure it does not cause -set_version 10348# flags to be left without arguments 10349need_version=unknown 10350 10351case $host_os in 10352aix3*) 10353 version_type=linux # correct to gnu/linux during the next big refactor 10354 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10355 shlibpath_var=LIBPATH 10356 10357 # AIX 3 has no versioning support, so we append a major version to the name. 10358 soname_spec='${libname}${release}${shared_ext}$major' 10359 ;; 10360 10361aix[4-9]*) 10362 version_type=linux # correct to gnu/linux during the next big refactor 10363 need_lib_prefix=no 10364 need_version=no 10365 hardcode_into_libs=yes 10366 if test "$host_cpu" = ia64; then 10367 # AIX 5 supports IA64 10368 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10369 shlibpath_var=LD_LIBRARY_PATH 10370 else 10371 # With GCC up to 2.95.x, collect2 would create an import file 10372 # for dependence libraries. The import file would start with 10373 # the line `#! .'. This would cause the generated library to 10374 # depend on `.', always an invalid library. This was fixed in 10375 # development snapshots of GCC prior to 3.0. 10376 case $host_os in 10377 aix4 | aix4.[01] | aix4.[01].*) 10378 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10379 echo ' yes ' 10380 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10381 : 10382 else 10383 can_build_shared=no 10384 fi 10385 ;; 10386 esac 10387 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10388 # soname into executable. Probably we can add versioning support to 10389 # collect2, so additional links can be useful in future. 10390 if test "$aix_use_runtimelinking" = yes; then 10391 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10392 # instead of lib<name>.a to let people know that these are not 10393 # typical AIX shared libraries. 10394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10395 else 10396 # We preserve .a as extension for shared libraries through AIX4.2 10397 # and later when we are not doing run time linking. 10398 library_names_spec='${libname}${release}.a $libname.a' 10399 soname_spec='${libname}${release}${shared_ext}$major' 10400 fi 10401 shlibpath_var=LIBPATH 10402 fi 10403 ;; 10404 10405amigaos*) 10406 case $host_cpu in 10407 powerpc) 10408 # Since July 2007 AmigaOS4 officially supports .so libraries. 10409 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10411 ;; 10412 m68k) 10413 library_names_spec='$libname.ixlibrary $libname.a' 10414 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10415 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 10416 ;; 10417 esac 10418 ;; 10419 10420beos*) 10421 library_names_spec='${libname}${shared_ext}' 10422 dynamic_linker="$host_os ld.so" 10423 shlibpath_var=LIBRARY_PATH 10424 ;; 10425 10426bsdi[45]*) 10427 version_type=linux # correct to gnu/linux during the next big refactor 10428 need_version=no 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 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10432 shlibpath_var=LD_LIBRARY_PATH 10433 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10434 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10435 # the default ld.so.conf also contains /usr/contrib/lib and 10436 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10437 # libtool to hard-code these into programs 10438 ;; 10439 10440cygwin* | mingw* | pw32* | cegcc*) 10441 version_type=windows 10442 shrext_cmds=".dll" 10443 need_version=no 10444 need_lib_prefix=no 10445 10446 case $GCC,$cc_basename in 10447 yes,*) 10448 # gcc 10449 library_names_spec='$libname.dll.a' 10450 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10451 postinstall_cmds='base_file=`basename \${file}`~ 10452 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10453 dldir=$destdir/`dirname \$dlpath`~ 10454 test -d \$dldir || mkdir -p \$dldir~ 10455 $install_prog $dir/$dlname \$dldir/$dlname~ 10456 chmod a+x \$dldir/$dlname~ 10457 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10458 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10459 fi' 10460 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10461 dlpath=$dir/\$dldll~ 10462 $RM \$dlpath' 10463 shlibpath_overrides_runpath=yes 10464 10465 case $host_os in 10466 cygwin*) 10467 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10468 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10469 10470 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10471 ;; 10472 mingw* | cegcc*) 10473 # MinGW DLLs use traditional 'lib' prefix 10474 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10475 ;; 10476 pw32*) 10477 # pw32 DLLs use 'pw' prefix rather than 'lib' 10478 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10479 ;; 10480 esac 10481 dynamic_linker='Win32 ld.exe' 10482 ;; 10483 10484 *,cl*) 10485 # Native MSVC 10486 libname_spec='$name' 10487 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10488 library_names_spec='${libname}.dll.lib' 10489 10490 case $build_os in 10491 mingw*) 10492 sys_lib_search_path_spec= 10493 lt_save_ifs=$IFS 10494 IFS=';' 10495 for lt_path in $LIB 10496 do 10497 IFS=$lt_save_ifs 10498 # Let DOS variable expansion print the short 8.3 style file name. 10499 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10500 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10501 done 10502 IFS=$lt_save_ifs 10503 # Convert to MSYS style. 10504 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10505 ;; 10506 cygwin*) 10507 # Convert to unix form, then to dos form, then back to unix form 10508 # but this time dos style (no spaces!) so that the unix form looks 10509 # like /cygdrive/c/PROGRA~1:/cygdr... 10510 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10511 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10512 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10513 ;; 10514 *) 10515 sys_lib_search_path_spec="$LIB" 10516 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10517 # It is most probably a Windows format PATH. 10518 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10519 else 10520 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10521 fi 10522 # FIXME: find the short name or the path components, as spaces are 10523 # common. (e.g. "Program Files" -> "PROGRA~1") 10524 ;; 10525 esac 10526 10527 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10528 postinstall_cmds='base_file=`basename \${file}`~ 10529 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10530 dldir=$destdir/`dirname \$dlpath`~ 10531 test -d \$dldir || mkdir -p \$dldir~ 10532 $install_prog $dir/$dlname \$dldir/$dlname' 10533 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10534 dlpath=$dir/\$dldll~ 10535 $RM \$dlpath' 10536 shlibpath_overrides_runpath=yes 10537 dynamic_linker='Win32 link.exe' 10538 ;; 10539 10540 *) 10541 # Assume MSVC wrapper 10542 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10543 dynamic_linker='Win32 ld.exe' 10544 ;; 10545 esac 10546 # FIXME: first we should search . and the directory the executable is in 10547 shlibpath_var=PATH 10548 ;; 10549 10550darwin* | rhapsody*) 10551 dynamic_linker="$host_os dyld" 10552 version_type=darwin 10553 need_lib_prefix=no 10554 need_version=no 10555 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10556 soname_spec='${libname}${release}${major}$shared_ext' 10557 shlibpath_overrides_runpath=yes 10558 shlibpath_var=DYLD_LIBRARY_PATH 10559 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10560 10561 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10562 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10563 ;; 10564 10565dgux*) 10566 version_type=linux # correct to gnu/linux during the next big refactor 10567 need_lib_prefix=no 10568 need_version=no 10569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10570 soname_spec='${libname}${release}${shared_ext}$major' 10571 shlibpath_var=LD_LIBRARY_PATH 10572 ;; 10573 10574freebsd* | dragonfly*) 10575 # DragonFly does not have aout. When/if they implement a new 10576 # versioning mechanism, adjust this. 10577 if test -x /usr/bin/objformat; then 10578 objformat=`/usr/bin/objformat` 10579 else 10580 case $host_os in 10581 freebsd[23].*) objformat=aout ;; 10582 *) objformat=elf ;; 10583 esac 10584 fi 10585 version_type=freebsd-$objformat 10586 case $version_type in 10587 freebsd-elf*) 10588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10589 need_version=no 10590 need_lib_prefix=no 10591 ;; 10592 freebsd-*) 10593 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10594 need_version=yes 10595 ;; 10596 esac 10597 shlibpath_var=LD_LIBRARY_PATH 10598 case $host_os in 10599 freebsd2.*) 10600 shlibpath_overrides_runpath=yes 10601 ;; 10602 freebsd3.[01]* | freebsdelf3.[01]*) 10603 shlibpath_overrides_runpath=yes 10604 hardcode_into_libs=yes 10605 ;; 10606 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10607 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10608 shlibpath_overrides_runpath=no 10609 hardcode_into_libs=yes 10610 ;; 10611 *) # from 4.6 on, and DragonFly 10612 shlibpath_overrides_runpath=yes 10613 hardcode_into_libs=yes 10614 ;; 10615 esac 10616 ;; 10617 10618gnu*) 10619 version_type=linux # correct to gnu/linux during the next big refactor 10620 need_lib_prefix=no 10621 need_version=no 10622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10623 soname_spec='${libname}${release}${shared_ext}$major' 10624 shlibpath_var=LD_LIBRARY_PATH 10625 shlibpath_overrides_runpath=no 10626 hardcode_into_libs=yes 10627 ;; 10628 10629haiku*) 10630 version_type=linux # correct to gnu/linux during the next big refactor 10631 need_lib_prefix=no 10632 need_version=no 10633 dynamic_linker="$host_os runtime_loader" 10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10635 soname_spec='${libname}${release}${shared_ext}$major' 10636 shlibpath_var=LIBRARY_PATH 10637 shlibpath_overrides_runpath=yes 10638 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10639 hardcode_into_libs=yes 10640 ;; 10641 10642hpux9* | hpux10* | hpux11*) 10643 # Give a soname corresponding to the major version so that dld.sl refuses to 10644 # link against other versions. 10645 version_type=sunos 10646 need_lib_prefix=no 10647 need_version=no 10648 case $host_cpu in 10649 ia64*) 10650 shrext_cmds='.so' 10651 hardcode_into_libs=yes 10652 dynamic_linker="$host_os dld.so" 10653 shlibpath_var=LD_LIBRARY_PATH 10654 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10656 soname_spec='${libname}${release}${shared_ext}$major' 10657 if test "X$HPUX_IA64_MODE" = X32; then 10658 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10659 else 10660 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10661 fi 10662 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10663 ;; 10664 hppa*64*) 10665 shrext_cmds='.sl' 10666 hardcode_into_libs=yes 10667 dynamic_linker="$host_os dld.sl" 10668 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10669 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10671 soname_spec='${libname}${release}${shared_ext}$major' 10672 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10673 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10674 ;; 10675 *) 10676 shrext_cmds='.sl' 10677 dynamic_linker="$host_os dld.sl" 10678 shlibpath_var=SHLIB_PATH 10679 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10681 soname_spec='${libname}${release}${shared_ext}$major' 10682 ;; 10683 esac 10684 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10685 postinstall_cmds='chmod 555 $lib' 10686 # or fails outright, so override atomically: 10687 install_override_mode=555 10688 ;; 10689 10690interix[3-9]*) 10691 version_type=linux # correct to gnu/linux during the next big refactor 10692 need_lib_prefix=no 10693 need_version=no 10694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10695 soname_spec='${libname}${release}${shared_ext}$major' 10696 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10697 shlibpath_var=LD_LIBRARY_PATH 10698 shlibpath_overrides_runpath=no 10699 hardcode_into_libs=yes 10700 ;; 10701 10702irix5* | irix6* | nonstopux*) 10703 case $host_os in 10704 nonstopux*) version_type=nonstopux ;; 10705 *) 10706 if test "$lt_cv_prog_gnu_ld" = yes; then 10707 version_type=linux # correct to gnu/linux during the next big refactor 10708 else 10709 version_type=irix 10710 fi ;; 10711 esac 10712 need_lib_prefix=no 10713 need_version=no 10714 soname_spec='${libname}${release}${shared_ext}$major' 10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10716 case $host_os in 10717 irix5* | nonstopux*) 10718 libsuff= shlibsuff= 10719 ;; 10720 *) 10721 case $LD in # libtool.m4 will add one of these switches to LD 10722 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10723 libsuff= shlibsuff= libmagic=32-bit;; 10724 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10725 libsuff=32 shlibsuff=N32 libmagic=N32;; 10726 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10727 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10728 *) libsuff= shlibsuff= libmagic=never-match;; 10729 esac 10730 ;; 10731 esac 10732 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10733 shlibpath_overrides_runpath=no 10734 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10735 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10736 hardcode_into_libs=yes 10737 ;; 10738 10739# No shared lib support for Linux oldld, aout, or coff. 10740linux*oldld* | linux*aout* | linux*coff*) 10741 dynamic_linker=no 10742 ;; 10743 10744# This must be glibc/ELF. 10745linux* | k*bsd*-gnu | kopensolaris*-gnu) 10746 version_type=linux # correct to gnu/linux during the next big refactor 10747 need_lib_prefix=no 10748 need_version=no 10749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10750 soname_spec='${libname}${release}${shared_ext}$major' 10751 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10752 shlibpath_var=LD_LIBRARY_PATH 10753 shlibpath_overrides_runpath=no 10754 10755 # Some binutils ld are patched to set DT_RUNPATH 10756 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10757 $as_echo_n "(cached) " >&6 10758else 10759 lt_cv_shlibpath_overrides_runpath=no 10760 save_LDFLAGS=$LDFLAGS 10761 save_libdir=$libdir 10762 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10763 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10765/* end confdefs.h. */ 10766 10767int 10768main () 10769{ 10770 10771 ; 10772 return 0; 10773} 10774_ACEOF 10775if ac_fn_c_try_link "$LINENO"; then : 10776 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10777 lt_cv_shlibpath_overrides_runpath=yes 10778fi 10779fi 10780rm -f core conftest.err conftest.$ac_objext \ 10781 conftest$ac_exeext conftest.$ac_ext 10782 LDFLAGS=$save_LDFLAGS 10783 libdir=$save_libdir 10784 10785fi 10786 10787 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10788 10789 # This implies no fast_install, which is unacceptable. 10790 # Some rework will be needed to allow for fast_install 10791 # before this can be enabled. 10792 hardcode_into_libs=yes 10793 10794 # Append ld.so.conf contents to the search path 10795 if test -f /etc/ld.so.conf; then 10796 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' ' '` 10797 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10798 fi 10799 10800 # We used to test for /lib/ld.so.1 and disable shared libraries on 10801 # powerpc, because MkLinux only supported shared libraries with the 10802 # GNU dynamic linker. Since this was broken with cross compilers, 10803 # most powerpc-linux boxes support dynamic linking these days and 10804 # people can always --disable-shared, the test was removed, and we 10805 # assume the GNU/Linux dynamic linker is in use. 10806 dynamic_linker='GNU/Linux ld.so' 10807 ;; 10808 10809netbsd*) 10810 version_type=sunos 10811 need_lib_prefix=no 10812 need_version=no 10813 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10815 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10816 dynamic_linker='NetBSD (a.out) ld.so' 10817 else 10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10819 soname_spec='${libname}${release}${shared_ext}$major' 10820 dynamic_linker='NetBSD ld.elf_so' 10821 fi 10822 shlibpath_var=LD_LIBRARY_PATH 10823 shlibpath_overrides_runpath=yes 10824 hardcode_into_libs=yes 10825 ;; 10826 10827newsos6) 10828 version_type=linux # correct to gnu/linux during the next big refactor 10829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10830 shlibpath_var=LD_LIBRARY_PATH 10831 shlibpath_overrides_runpath=yes 10832 ;; 10833 10834*nto* | *qnx*) 10835 version_type=qnx 10836 need_lib_prefix=no 10837 need_version=no 10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10839 soname_spec='${libname}${release}${shared_ext}$major' 10840 shlibpath_var=LD_LIBRARY_PATH 10841 shlibpath_overrides_runpath=no 10842 hardcode_into_libs=yes 10843 dynamic_linker='ldqnx.so' 10844 ;; 10845 10846openbsd*) 10847 version_type=sunos 10848 sys_lib_dlsearch_path_spec="/usr/lib" 10849 need_lib_prefix=no 10850 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10851 case $host_os in 10852 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10853 *) need_version=no ;; 10854 esac 10855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10856 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10857 shlibpath_var=LD_LIBRARY_PATH 10858 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10859 case $host_os in 10860 openbsd2.[89] | openbsd2.[89].*) 10861 shlibpath_overrides_runpath=no 10862 ;; 10863 *) 10864 shlibpath_overrides_runpath=yes 10865 ;; 10866 esac 10867 else 10868 shlibpath_overrides_runpath=yes 10869 fi 10870 ;; 10871 10872os2*) 10873 libname_spec='$name' 10874 shrext_cmds=".dll" 10875 need_lib_prefix=no 10876 library_names_spec='$libname${shared_ext} $libname.a' 10877 dynamic_linker='OS/2 ld.exe' 10878 shlibpath_var=LIBPATH 10879 ;; 10880 10881osf3* | osf4* | osf5*) 10882 version_type=osf 10883 need_lib_prefix=no 10884 need_version=no 10885 soname_spec='${libname}${release}${shared_ext}$major' 10886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10887 shlibpath_var=LD_LIBRARY_PATH 10888 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10889 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10890 ;; 10891 10892rdos*) 10893 dynamic_linker=no 10894 ;; 10895 10896solaris*) 10897 version_type=linux # correct to gnu/linux during the next big refactor 10898 need_lib_prefix=no 10899 need_version=no 10900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10901 soname_spec='${libname}${release}${shared_ext}$major' 10902 shlibpath_var=LD_LIBRARY_PATH 10903 shlibpath_overrides_runpath=yes 10904 hardcode_into_libs=yes 10905 # ldd complains unless libraries are executable 10906 postinstall_cmds='chmod +x $lib' 10907 ;; 10908 10909sunos4*) 10910 version_type=sunos 10911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10912 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10913 shlibpath_var=LD_LIBRARY_PATH 10914 shlibpath_overrides_runpath=yes 10915 if test "$with_gnu_ld" = yes; then 10916 need_lib_prefix=no 10917 fi 10918 need_version=yes 10919 ;; 10920 10921sysv4 | sysv4.3*) 10922 version_type=linux # correct to gnu/linux during the next big refactor 10923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10924 soname_spec='${libname}${release}${shared_ext}$major' 10925 shlibpath_var=LD_LIBRARY_PATH 10926 case $host_vendor in 10927 sni) 10928 shlibpath_overrides_runpath=no 10929 need_lib_prefix=no 10930 runpath_var=LD_RUN_PATH 10931 ;; 10932 siemens) 10933 need_lib_prefix=no 10934 ;; 10935 motorola) 10936 need_lib_prefix=no 10937 need_version=no 10938 shlibpath_overrides_runpath=no 10939 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10940 ;; 10941 esac 10942 ;; 10943 10944sysv4*MP*) 10945 if test -d /usr/nec ;then 10946 version_type=linux # correct to gnu/linux during the next big refactor 10947 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10948 soname_spec='$libname${shared_ext}.$major' 10949 shlibpath_var=LD_LIBRARY_PATH 10950 fi 10951 ;; 10952 10953sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10954 version_type=freebsd-elf 10955 need_lib_prefix=no 10956 need_version=no 10957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10958 soname_spec='${libname}${release}${shared_ext}$major' 10959 shlibpath_var=LD_LIBRARY_PATH 10960 shlibpath_overrides_runpath=yes 10961 hardcode_into_libs=yes 10962 if test "$with_gnu_ld" = yes; then 10963 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10964 else 10965 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10966 case $host_os in 10967 sco3.2v5*) 10968 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10969 ;; 10970 esac 10971 fi 10972 sys_lib_dlsearch_path_spec='/usr/lib' 10973 ;; 10974 10975tpf*) 10976 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10977 version_type=linux # correct to gnu/linux during the next big refactor 10978 need_lib_prefix=no 10979 need_version=no 10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10981 shlibpath_var=LD_LIBRARY_PATH 10982 shlibpath_overrides_runpath=no 10983 hardcode_into_libs=yes 10984 ;; 10985 10986uts4*) 10987 version_type=linux # correct to gnu/linux during the next big refactor 10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10989 soname_spec='${libname}${release}${shared_ext}$major' 10990 shlibpath_var=LD_LIBRARY_PATH 10991 ;; 10992 10993*) 10994 dynamic_linker=no 10995 ;; 10996esac 10997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10998$as_echo "$dynamic_linker" >&6; } 10999test "$dynamic_linker" = no && can_build_shared=no 11000 11001variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11002if test "$GCC" = yes; then 11003 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11004fi 11005 11006if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11007 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11008fi 11009if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11010 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11011fi 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11105$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11106hardcode_action= 11107if test -n "$hardcode_libdir_flag_spec" || 11108 test -n "$runpath_var" || 11109 test "X$hardcode_automatic" = "Xyes" ; then 11110 11111 # We can hardcode non-existent directories. 11112 if test "$hardcode_direct" != no && 11113 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11114 # have to relink, otherwise we might link with an installed library 11115 # when we should be linking with a yet-to-be-installed one 11116 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11117 test "$hardcode_minus_L" != no; then 11118 # Linking always hardcodes the temporary library directory. 11119 hardcode_action=relink 11120 else 11121 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11122 hardcode_action=immediate 11123 fi 11124else 11125 # We cannot hardcode anything, or else we can only hardcode existing 11126 # directories. 11127 hardcode_action=unsupported 11128fi 11129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11130$as_echo "$hardcode_action" >&6; } 11131 11132if test "$hardcode_action" = relink || 11133 test "$inherit_rpath" = yes; then 11134 # Fast installation is not supported 11135 enable_fast_install=no 11136elif test "$shlibpath_overrides_runpath" = yes || 11137 test "$enable_shared" = no; then 11138 # Fast installation is not necessary 11139 enable_fast_install=needless 11140fi 11141 11142 11143 11144 11145 11146 11147 if test "x$enable_dlopen" != xyes; then 11148 enable_dlopen=unknown 11149 enable_dlopen_self=unknown 11150 enable_dlopen_self_static=unknown 11151else 11152 lt_cv_dlopen=no 11153 lt_cv_dlopen_libs= 11154 11155 case $host_os in 11156 beos*) 11157 lt_cv_dlopen="load_add_on" 11158 lt_cv_dlopen_libs= 11159 lt_cv_dlopen_self=yes 11160 ;; 11161 11162 mingw* | pw32* | cegcc*) 11163 lt_cv_dlopen="LoadLibrary" 11164 lt_cv_dlopen_libs= 11165 ;; 11166 11167 cygwin*) 11168 lt_cv_dlopen="dlopen" 11169 lt_cv_dlopen_libs= 11170 ;; 11171 11172 darwin*) 11173 # if libdl is installed we need to link against it 11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11175$as_echo_n "checking for dlopen in -ldl... " >&6; } 11176if ${ac_cv_lib_dl_dlopen+:} false; then : 11177 $as_echo_n "(cached) " >&6 11178else 11179 ac_check_lib_save_LIBS=$LIBS 11180LIBS="-ldl $LIBS" 11181cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11182/* end confdefs.h. */ 11183 11184/* Override any GCC internal prototype to avoid an error. 11185 Use char because int might match the return type of a GCC 11186 builtin and then its argument prototype would still apply. */ 11187#ifdef __cplusplus 11188extern "C" 11189#endif 11190char dlopen (); 11191int 11192main () 11193{ 11194return dlopen (); 11195 ; 11196 return 0; 11197} 11198_ACEOF 11199if ac_fn_c_try_link "$LINENO"; then : 11200 ac_cv_lib_dl_dlopen=yes 11201else 11202 ac_cv_lib_dl_dlopen=no 11203fi 11204rm -f core conftest.err conftest.$ac_objext \ 11205 conftest$ac_exeext conftest.$ac_ext 11206LIBS=$ac_check_lib_save_LIBS 11207fi 11208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11209$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11210if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11211 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11212else 11213 11214 lt_cv_dlopen="dyld" 11215 lt_cv_dlopen_libs= 11216 lt_cv_dlopen_self=yes 11217 11218fi 11219 11220 ;; 11221 11222 *) 11223 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11224if test "x$ac_cv_func_shl_load" = xyes; then : 11225 lt_cv_dlopen="shl_load" 11226else 11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11228$as_echo_n "checking for shl_load in -ldld... " >&6; } 11229if ${ac_cv_lib_dld_shl_load+:} false; then : 11230 $as_echo_n "(cached) " >&6 11231else 11232 ac_check_lib_save_LIBS=$LIBS 11233LIBS="-ldld $LIBS" 11234cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11235/* end confdefs.h. */ 11236 11237/* Override any GCC internal prototype to avoid an error. 11238 Use char because int might match the return type of a GCC 11239 builtin and then its argument prototype would still apply. */ 11240#ifdef __cplusplus 11241extern "C" 11242#endif 11243char shl_load (); 11244int 11245main () 11246{ 11247return shl_load (); 11248 ; 11249 return 0; 11250} 11251_ACEOF 11252if ac_fn_c_try_link "$LINENO"; then : 11253 ac_cv_lib_dld_shl_load=yes 11254else 11255 ac_cv_lib_dld_shl_load=no 11256fi 11257rm -f core conftest.err conftest.$ac_objext \ 11258 conftest$ac_exeext conftest.$ac_ext 11259LIBS=$ac_check_lib_save_LIBS 11260fi 11261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11262$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11263if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11264 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11265else 11266 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11267if test "x$ac_cv_func_dlopen" = xyes; then : 11268 lt_cv_dlopen="dlopen" 11269else 11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11271$as_echo_n "checking for dlopen in -ldl... " >&6; } 11272if ${ac_cv_lib_dl_dlopen+:} false; then : 11273 $as_echo_n "(cached) " >&6 11274else 11275 ac_check_lib_save_LIBS=$LIBS 11276LIBS="-ldl $LIBS" 11277cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11278/* end confdefs.h. */ 11279 11280/* Override any GCC internal prototype to avoid an error. 11281 Use char because int might match the return type of a GCC 11282 builtin and then its argument prototype would still apply. */ 11283#ifdef __cplusplus 11284extern "C" 11285#endif 11286char dlopen (); 11287int 11288main () 11289{ 11290return dlopen (); 11291 ; 11292 return 0; 11293} 11294_ACEOF 11295if ac_fn_c_try_link "$LINENO"; then : 11296 ac_cv_lib_dl_dlopen=yes 11297else 11298 ac_cv_lib_dl_dlopen=no 11299fi 11300rm -f core conftest.err conftest.$ac_objext \ 11301 conftest$ac_exeext conftest.$ac_ext 11302LIBS=$ac_check_lib_save_LIBS 11303fi 11304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11305$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11306if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11307 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11308else 11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11310$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11311if ${ac_cv_lib_svld_dlopen+:} false; then : 11312 $as_echo_n "(cached) " >&6 11313else 11314 ac_check_lib_save_LIBS=$LIBS 11315LIBS="-lsvld $LIBS" 11316cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11317/* end confdefs.h. */ 11318 11319/* Override any GCC internal prototype to avoid an error. 11320 Use char because int might match the return type of a GCC 11321 builtin and then its argument prototype would still apply. */ 11322#ifdef __cplusplus 11323extern "C" 11324#endif 11325char dlopen (); 11326int 11327main () 11328{ 11329return dlopen (); 11330 ; 11331 return 0; 11332} 11333_ACEOF 11334if ac_fn_c_try_link "$LINENO"; then : 11335 ac_cv_lib_svld_dlopen=yes 11336else 11337 ac_cv_lib_svld_dlopen=no 11338fi 11339rm -f core conftest.err conftest.$ac_objext \ 11340 conftest$ac_exeext conftest.$ac_ext 11341LIBS=$ac_check_lib_save_LIBS 11342fi 11343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11344$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11345if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11346 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11347else 11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11349$as_echo_n "checking for dld_link in -ldld... " >&6; } 11350if ${ac_cv_lib_dld_dld_link+:} false; then : 11351 $as_echo_n "(cached) " >&6 11352else 11353 ac_check_lib_save_LIBS=$LIBS 11354LIBS="-ldld $LIBS" 11355cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11356/* end confdefs.h. */ 11357 11358/* Override any GCC internal prototype to avoid an error. 11359 Use char because int might match the return type of a GCC 11360 builtin and then its argument prototype would still apply. */ 11361#ifdef __cplusplus 11362extern "C" 11363#endif 11364char dld_link (); 11365int 11366main () 11367{ 11368return dld_link (); 11369 ; 11370 return 0; 11371} 11372_ACEOF 11373if ac_fn_c_try_link "$LINENO"; then : 11374 ac_cv_lib_dld_dld_link=yes 11375else 11376 ac_cv_lib_dld_dld_link=no 11377fi 11378rm -f core conftest.err conftest.$ac_objext \ 11379 conftest$ac_exeext conftest.$ac_ext 11380LIBS=$ac_check_lib_save_LIBS 11381fi 11382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11383$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11384if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11385 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11386fi 11387 11388 11389fi 11390 11391 11392fi 11393 11394 11395fi 11396 11397 11398fi 11399 11400 11401fi 11402 11403 ;; 11404 esac 11405 11406 if test "x$lt_cv_dlopen" != xno; then 11407 enable_dlopen=yes 11408 else 11409 enable_dlopen=no 11410 fi 11411 11412 case $lt_cv_dlopen in 11413 dlopen) 11414 save_CPPFLAGS="$CPPFLAGS" 11415 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11416 11417 save_LDFLAGS="$LDFLAGS" 11418 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11419 11420 save_LIBS="$LIBS" 11421 LIBS="$lt_cv_dlopen_libs $LIBS" 11422 11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11424$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11425if ${lt_cv_dlopen_self+:} false; then : 11426 $as_echo_n "(cached) " >&6 11427else 11428 if test "$cross_compiling" = yes; then : 11429 lt_cv_dlopen_self=cross 11430else 11431 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11432 lt_status=$lt_dlunknown 11433 cat > conftest.$ac_ext <<_LT_EOF 11434#line $LINENO "configure" 11435#include "confdefs.h" 11436 11437#if HAVE_DLFCN_H 11438#include <dlfcn.h> 11439#endif 11440 11441#include <stdio.h> 11442 11443#ifdef RTLD_GLOBAL 11444# define LT_DLGLOBAL RTLD_GLOBAL 11445#else 11446# ifdef DL_GLOBAL 11447# define LT_DLGLOBAL DL_GLOBAL 11448# else 11449# define LT_DLGLOBAL 0 11450# endif 11451#endif 11452 11453/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11454 find out it does not work in some platform. */ 11455#ifndef LT_DLLAZY_OR_NOW 11456# ifdef RTLD_LAZY 11457# define LT_DLLAZY_OR_NOW RTLD_LAZY 11458# else 11459# ifdef DL_LAZY 11460# define LT_DLLAZY_OR_NOW DL_LAZY 11461# else 11462# ifdef RTLD_NOW 11463# define LT_DLLAZY_OR_NOW RTLD_NOW 11464# else 11465# ifdef DL_NOW 11466# define LT_DLLAZY_OR_NOW DL_NOW 11467# else 11468# define LT_DLLAZY_OR_NOW 0 11469# endif 11470# endif 11471# endif 11472# endif 11473#endif 11474 11475/* When -fvisbility=hidden is used, assume the code has been annotated 11476 correspondingly for the symbols needed. */ 11477#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11478int fnord () __attribute__((visibility("default"))); 11479#endif 11480 11481int fnord () { return 42; } 11482int main () 11483{ 11484 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11485 int status = $lt_dlunknown; 11486 11487 if (self) 11488 { 11489 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11490 else 11491 { 11492 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11493 else puts (dlerror ()); 11494 } 11495 /* dlclose (self); */ 11496 } 11497 else 11498 puts (dlerror ()); 11499 11500 return status; 11501} 11502_LT_EOF 11503 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11504 (eval $ac_link) 2>&5 11505 ac_status=$? 11506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11507 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11508 (./conftest; exit; ) >&5 2>/dev/null 11509 lt_status=$? 11510 case x$lt_status in 11511 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11512 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11513 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11514 esac 11515 else : 11516 # compilation failed 11517 lt_cv_dlopen_self=no 11518 fi 11519fi 11520rm -fr conftest* 11521 11522 11523fi 11524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11525$as_echo "$lt_cv_dlopen_self" >&6; } 11526 11527 if test "x$lt_cv_dlopen_self" = xyes; then 11528 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11530$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11531if ${lt_cv_dlopen_self_static+:} false; then : 11532 $as_echo_n "(cached) " >&6 11533else 11534 if test "$cross_compiling" = yes; then : 11535 lt_cv_dlopen_self_static=cross 11536else 11537 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11538 lt_status=$lt_dlunknown 11539 cat > conftest.$ac_ext <<_LT_EOF 11540#line $LINENO "configure" 11541#include "confdefs.h" 11542 11543#if HAVE_DLFCN_H 11544#include <dlfcn.h> 11545#endif 11546 11547#include <stdio.h> 11548 11549#ifdef RTLD_GLOBAL 11550# define LT_DLGLOBAL RTLD_GLOBAL 11551#else 11552# ifdef DL_GLOBAL 11553# define LT_DLGLOBAL DL_GLOBAL 11554# else 11555# define LT_DLGLOBAL 0 11556# endif 11557#endif 11558 11559/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11560 find out it does not work in some platform. */ 11561#ifndef LT_DLLAZY_OR_NOW 11562# ifdef RTLD_LAZY 11563# define LT_DLLAZY_OR_NOW RTLD_LAZY 11564# else 11565# ifdef DL_LAZY 11566# define LT_DLLAZY_OR_NOW DL_LAZY 11567# else 11568# ifdef RTLD_NOW 11569# define LT_DLLAZY_OR_NOW RTLD_NOW 11570# else 11571# ifdef DL_NOW 11572# define LT_DLLAZY_OR_NOW DL_NOW 11573# else 11574# define LT_DLLAZY_OR_NOW 0 11575# endif 11576# endif 11577# endif 11578# endif 11579#endif 11580 11581/* When -fvisbility=hidden is used, assume the code has been annotated 11582 correspondingly for the symbols needed. */ 11583#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11584int fnord () __attribute__((visibility("default"))); 11585#endif 11586 11587int fnord () { return 42; } 11588int main () 11589{ 11590 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11591 int status = $lt_dlunknown; 11592 11593 if (self) 11594 { 11595 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11596 else 11597 { 11598 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11599 else puts (dlerror ()); 11600 } 11601 /* dlclose (self); */ 11602 } 11603 else 11604 puts (dlerror ()); 11605 11606 return status; 11607} 11608_LT_EOF 11609 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11610 (eval $ac_link) 2>&5 11611 ac_status=$? 11612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11613 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11614 (./conftest; exit; ) >&5 2>/dev/null 11615 lt_status=$? 11616 case x$lt_status in 11617 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11618 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11619 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11620 esac 11621 else : 11622 # compilation failed 11623 lt_cv_dlopen_self_static=no 11624 fi 11625fi 11626rm -fr conftest* 11627 11628 11629fi 11630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11631$as_echo "$lt_cv_dlopen_self_static" >&6; } 11632 fi 11633 11634 CPPFLAGS="$save_CPPFLAGS" 11635 LDFLAGS="$save_LDFLAGS" 11636 LIBS="$save_LIBS" 11637 ;; 11638 esac 11639 11640 case $lt_cv_dlopen_self in 11641 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11642 *) enable_dlopen_self=unknown ;; 11643 esac 11644 11645 case $lt_cv_dlopen_self_static in 11646 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11647 *) enable_dlopen_self_static=unknown ;; 11648 esac 11649fi 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667striplib= 11668old_striplib= 11669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11670$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11671if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11672 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11673 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11675$as_echo "yes" >&6; } 11676else 11677# FIXME - insert some real tests, host_os isn't really good enough 11678 case $host_os in 11679 darwin*) 11680 if test -n "$STRIP" ; then 11681 striplib="$STRIP -x" 11682 old_striplib="$STRIP -S" 11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11684$as_echo "yes" >&6; } 11685 else 11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11687$as_echo "no" >&6; } 11688 fi 11689 ;; 11690 *) 11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11692$as_echo "no" >&6; } 11693 ;; 11694 esac 11695fi 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 # Report which library types will actually be built 11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11710$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11712$as_echo "$can_build_shared" >&6; } 11713 11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11715$as_echo_n "checking whether to build shared libraries... " >&6; } 11716 test "$can_build_shared" = "no" && enable_shared=no 11717 11718 # On AIX, shared libraries and static libraries use the same namespace, and 11719 # are all built from PIC. 11720 case $host_os in 11721 aix3*) 11722 test "$enable_shared" = yes && enable_static=no 11723 if test -n "$RANLIB"; then 11724 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11725 postinstall_cmds='$RANLIB $lib' 11726 fi 11727 ;; 11728 11729 aix[4-9]*) 11730 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11731 test "$enable_shared" = yes && enable_static=no 11732 fi 11733 ;; 11734 esac 11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11736$as_echo "$enable_shared" >&6; } 11737 11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11739$as_echo_n "checking whether to build static libraries... " >&6; } 11740 # Make sure either enable_shared or enable_static is yes. 11741 test "$enable_shared" = yes || enable_static=yes 11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11743$as_echo "$enable_static" >&6; } 11744 11745 11746 11747 11748fi 11749ac_ext=c 11750ac_cpp='$CPP $CPPFLAGS' 11751ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11752ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11753ac_compiler_gnu=$ac_cv_c_compiler_gnu 11754 11755CC="$lt_save_CC" 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 ac_config_commands="$ac_config_commands libtool" 11772 11773 11774 11775 11776# Only expand once: 11777 11778 11779 11780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_get_item in -lpam" >&5 11781$as_echo_n "checking for pam_get_item in -lpam... " >&6; } 11782if ${ac_cv_lib_pam_pam_get_item+:} false; then : 11783 $as_echo_n "(cached) " >&6 11784else 11785 ac_check_lib_save_LIBS=$LIBS 11786LIBS="-lpam $LIBS" 11787cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11788/* end confdefs.h. */ 11789 11790/* Override any GCC internal prototype to avoid an error. 11791 Use char because int might match the return type of a GCC 11792 builtin and then its argument prototype would still apply. */ 11793#ifdef __cplusplus 11794extern "C" 11795#endif 11796char pam_get_item (); 11797int 11798main () 11799{ 11800return pam_get_item (); 11801 ; 11802 return 0; 11803} 11804_ACEOF 11805if ac_fn_c_try_link "$LINENO"; then : 11806 ac_cv_lib_pam_pam_get_item=yes 11807else 11808 ac_cv_lib_pam_pam_get_item=no 11809fi 11810rm -f core conftest.err conftest.$ac_objext \ 11811 conftest$ac_exeext conftest.$ac_ext 11812LIBS=$ac_check_lib_save_LIBS 11813fi 11814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_get_item" >&5 11815$as_echo "$ac_cv_lib_pam_pam_get_item" >&6; } 11816if test "x$ac_cv_lib_pam_pam_get_item" = xyes; then : 11817 : 11818else 11819 as_fn_error $? "Required library libpam is not found" "$LINENO" 5 11820fi 11821 11822 11823 11824# Check whether --with-crypt-lib was given. 11825if test "${with_crypt_lib+set}" = set; then : 11826 withval=$with_crypt_lib; cryptlib=$withval 11827else 11828 cryptlib=crypt 11829fi 11830 11831 11832if test "x$cryptlib" != xno; then 11833 as_ac_Lib=`$as_echo "ac_cv_lib_$cryptlib''_crypt" | $as_tr_sh` 11834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -l$cryptlib" >&5 11835$as_echo_n "checking for crypt in -l$cryptlib... " >&6; } 11836if eval \${$as_ac_Lib+:} false; then : 11837 $as_echo_n "(cached) " >&6 11838else 11839 ac_check_lib_save_LIBS=$LIBS 11840LIBS="-l$cryptlib $LIBS" 11841cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11842/* end confdefs.h. */ 11843 11844/* Override any GCC internal prototype to avoid an error. 11845 Use char because int might match the return type of a GCC 11846 builtin and then its argument prototype would still apply. */ 11847#ifdef __cplusplus 11848extern "C" 11849#endif 11850char crypt (); 11851int 11852main () 11853{ 11854return crypt (); 11855 ; 11856 return 0; 11857} 11858_ACEOF 11859if ac_fn_c_try_link "$LINENO"; then : 11860 eval "$as_ac_Lib=yes" 11861else 11862 eval "$as_ac_Lib=no" 11863fi 11864rm -f core conftest.err conftest.$ac_objext \ 11865 conftest$ac_exeext conftest.$ac_ext 11866LIBS=$ac_check_lib_save_LIBS 11867fi 11868eval ac_res=\$$as_ac_Lib 11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 11870$as_echo "$ac_res" >&6; } 11871if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 11872 cat >>confdefs.h <<_ACEOF 11873#define `$as_echo "HAVE_LIB$cryptlib" | $as_tr_cpp` 1 11874_ACEOF 11875 11876 LIBS="-l$cryptlib $LIBS" 11877 11878fi 11879 11880fi 11881 11882 11883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_misc_setenv in -lpam_misc" >&5 11884$as_echo_n "checking for pam_misc_setenv in -lpam_misc... " >&6; } 11885if ${ac_cv_lib_pam_misc_pam_misc_setenv+:} false; then : 11886 $as_echo_n "(cached) " >&6 11887else 11888 ac_check_lib_save_LIBS=$LIBS 11889LIBS="-lpam_misc -lpam $LIBS" 11890cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11891/* end confdefs.h. */ 11892 11893/* Override any GCC internal prototype to avoid an error. 11894 Use char because int might match the return type of a GCC 11895 builtin and then its argument prototype would still apply. */ 11896#ifdef __cplusplus 11897extern "C" 11898#endif 11899char pam_misc_setenv (); 11900int 11901main () 11902{ 11903return pam_misc_setenv (); 11904 ; 11905 return 0; 11906} 11907_ACEOF 11908if ac_fn_c_try_link "$LINENO"; then : 11909 ac_cv_lib_pam_misc_pam_misc_setenv=yes 11910else 11911 ac_cv_lib_pam_misc_pam_misc_setenv=no 11912fi 11913rm -f core conftest.err conftest.$ac_objext \ 11914 conftest$ac_exeext conftest.$ac_ext 11915LIBS=$ac_check_lib_save_LIBS 11916fi 11917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_misc_pam_misc_setenv" >&5 11918$as_echo "$ac_cv_lib_pam_misc_pam_misc_setenv" >&6; } 11919if test "x$ac_cv_lib_pam_misc_pam_misc_setenv" = xyes; then : 11920 PAM_MISC=-lpam_misc 11921 $as_echo "#define HAVE_PAM_MISC_SETENV 1" >>confdefs.h 11922 11923else 11924 : 11925fi 11926 11927 11928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 11929$as_echo_n "checking for ANSI C header files... " >&6; } 11930if ${ac_cv_header_stdc+:} false; then : 11931 $as_echo_n "(cached) " >&6 11932else 11933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11934/* end confdefs.h. */ 11935#include <stdlib.h> 11936#include <stdarg.h> 11937#include <string.h> 11938#include <float.h> 11939 11940int 11941main () 11942{ 11943 11944 ; 11945 return 0; 11946} 11947_ACEOF 11948if ac_fn_c_try_compile "$LINENO"; then : 11949 ac_cv_header_stdc=yes 11950else 11951 ac_cv_header_stdc=no 11952fi 11953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11954 11955if test $ac_cv_header_stdc = yes; then 11956 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11958/* end confdefs.h. */ 11959#include <string.h> 11960 11961_ACEOF 11962if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11963 $EGREP "memchr" >/dev/null 2>&1; then : 11964 11965else 11966 ac_cv_header_stdc=no 11967fi 11968rm -f conftest* 11969 11970fi 11971 11972if test $ac_cv_header_stdc = yes; then 11973 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 11974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11975/* end confdefs.h. */ 11976#include <stdlib.h> 11977 11978_ACEOF 11979if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11980 $EGREP "free" >/dev/null 2>&1; then : 11981 11982else 11983 ac_cv_header_stdc=no 11984fi 11985rm -f conftest* 11986 11987fi 11988 11989if test $ac_cv_header_stdc = yes; then 11990 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 11991 if test "$cross_compiling" = yes; then : 11992 : 11993else 11994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11995/* end confdefs.h. */ 11996#include <ctype.h> 11997#include <stdlib.h> 11998#if ((' ' & 0x0FF) == 0x020) 11999# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 12000# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 12001#else 12002# define ISLOWER(c) \ 12003 (('a' <= (c) && (c) <= 'i') \ 12004 || ('j' <= (c) && (c) <= 'r') \ 12005 || ('s' <= (c) && (c) <= 'z')) 12006# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 12007#endif 12008 12009#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 12010int 12011main () 12012{ 12013 int i; 12014 for (i = 0; i < 256; i++) 12015 if (XOR (islower (i), ISLOWER (i)) 12016 || toupper (i) != TOUPPER (i)) 12017 return 2; 12018 return 0; 12019} 12020_ACEOF 12021if ac_fn_c_try_run "$LINENO"; then : 12022 12023else 12024 ac_cv_header_stdc=no 12025fi 12026rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12027 conftest.$ac_objext conftest.beam conftest.$ac_ext 12028fi 12029 12030fi 12031fi 12032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 12033$as_echo "$ac_cv_header_stdc" >&6; } 12034if test $ac_cv_header_stdc = yes; then 12035 12036$as_echo "#define STDC_HEADERS 1" >>confdefs.h 12037 12038fi 12039 12040for ac_header in security/pam_appl.h security/pam_modules.h 12041do : 12042 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12043ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 12044if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12045 cat >>confdefs.h <<_ACEOF 12046#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12047_ACEOF 12048 : 12049else 12050 as_fn_error $? "Required PAM header files not found" "$LINENO" 5 12051fi 12052 12053done 12054 12055for ac_header in fcntl.h syslog.h unistd.h crypt.h security/_pam_aconf.h \ 12056 security/pam_misc.h security/pam_ext.h termios.h \ 12057 shadow.h 12058do : 12059 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12060ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 12061if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12062 cat >>confdefs.h <<_ACEOF 12063#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12064_ACEOF 12065 12066fi 12067 12068done 12069 12070 12071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 12072$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 12073if ${ac_cv_c_const+:} false; then : 12074 $as_echo_n "(cached) " >&6 12075else 12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12077/* end confdefs.h. */ 12078 12079int 12080main () 12081{ 12082 12083#ifndef __cplusplus 12084 /* Ultrix mips cc rejects this sort of thing. */ 12085 typedef int charset[2]; 12086 const charset cs = { 0, 0 }; 12087 /* SunOS 4.1.1 cc rejects this. */ 12088 char const *const *pcpcc; 12089 char **ppc; 12090 /* NEC SVR4.0.2 mips cc rejects this. */ 12091 struct point {int x, y;}; 12092 static struct point const zero = {0,0}; 12093 /* AIX XL C 1.02.0.0 rejects this. 12094 It does not let you subtract one const X* pointer from another in 12095 an arm of an if-expression whose if-part is not a constant 12096 expression */ 12097 const char *g = "string"; 12098 pcpcc = &g + (g ? g-g : 0); 12099 /* HPUX 7.0 cc rejects these. */ 12100 ++pcpcc; 12101 ppc = (char**) pcpcc; 12102 pcpcc = (char const *const *) ppc; 12103 { /* SCO 3.2v4 cc rejects this sort of thing. */ 12104 char tx; 12105 char *t = &tx; 12106 char const *s = 0 ? (char *) 0 : (char const *) 0; 12107 12108 *t++ = 0; 12109 if (s) return 0; 12110 } 12111 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 12112 int x[] = {25, 17}; 12113 const int *foo = &x[0]; 12114 ++foo; 12115 } 12116 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 12117 typedef const int *iptr; 12118 iptr p = 0; 12119 ++p; 12120 } 12121 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 12122 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 12123 struct s { int j; const int *ap[3]; } bx; 12124 struct s *b = &bx; b->j = 5; 12125 } 12126 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 12127 const int foo = 10; 12128 if (!foo) return 0; 12129 } 12130 return !cs[0] && !zero.x; 12131#endif 12132 12133 ; 12134 return 0; 12135} 12136_ACEOF 12137if ac_fn_c_try_compile "$LINENO"; then : 12138 ac_cv_c_const=yes 12139else 12140 ac_cv_c_const=no 12141fi 12142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12143fi 12144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 12145$as_echo "$ac_cv_c_const" >&6; } 12146if test $ac_cv_c_const = no; then 12147 12148$as_echo "#define const /**/" >>confdefs.h 12149 12150fi 12151 12152 12153for ac_header in shadow.h 12154do : 12155 ac_fn_c_check_header_mongrel "$LINENO" "shadow.h" "ac_cv_header_shadow_h" "$ac_includes_default" 12156if test "x$ac_cv_header_shadow_h" = xyes; then : 12157 cat >>confdefs.h <<_ACEOF 12158#define HAVE_SHADOW_H 1 12159_ACEOF 12160 12161fi 12162 12163done 12164 12165for ac_func in fgetspent 12166do : 12167 ac_fn_c_check_func "$LINENO" "fgetspent" "ac_cv_func_fgetspent" 12168if test "x$ac_cv_func_fgetspent" = xyes; then : 12169 cat >>confdefs.h <<_ACEOF 12170#define HAVE_FGETSPENT 1 12171_ACEOF 12172 12173fi 12174done 12175 12176ac_fn_c_check_type "$LINENO" "struct spwd" "ac_cv_type_struct_spwd" " #include <shadow.h> 12177" 12178if test "x$ac_cv_type_struct_spwd" = xyes; then : 12179 12180cat >>confdefs.h <<_ACEOF 12181#define HAVE_STRUCT_SPWD 1 12182_ACEOF 12183 12184 12185fi 12186 12187ac_fn_c_check_member "$LINENO" "struct spwd" "sp_expire" "ac_cv_member_struct_spwd_sp_expire" " #include <shadow.h> 12188" 12189if test "x$ac_cv_member_struct_spwd_sp_expire" = xyes; then : 12190 12191cat >>confdefs.h <<_ACEOF 12192#define HAVE_STRUCT_SPWD_SP_EXPIRE 1 12193_ACEOF 12194 12195 12196fi 12197 12198 12199for ac_func in strerror tcgetattr fgetpwent 12200do : 12201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12202ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 12203if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 12204 cat >>confdefs.h <<_ACEOF 12205#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12206_ACEOF 12207 12208fi 12209done 12210 12211 12212 12213 12214 # Check whether --enable-fshadow was given. 12215if test "${enable_fshadow+set}" = set; then : 12216 enableval=$enable_fshadow; build_fshadow=$enableval 12217else 12218 build_fshadow=yes 12219fi 12220 12221 12222 12223 if test "$build_fshadow" = "yes"; then 12224 PAM_COND_FSHADOW_TRUE= 12225 PAM_COND_FSHADOW_FALSE='#' 12226else 12227 PAM_COND_FSHADOW_TRUE='#' 12228 PAM_COND_FSHADOW_FALSE= 12229fi 12230 12231 12232 12233 12234 # Check whether --enable-log was given. 12235if test "${enable_log+set}" = set; then : 12236 enableval=$enable_log; build_log=$enableval 12237else 12238 build_log=yes 12239fi 12240 12241 12242 12243 if test "$build_log" = "yes"; then 12244 PAM_COND_LOG_TRUE= 12245 PAM_COND_LOG_FALSE='#' 12246else 12247 PAM_COND_LOG_TRUE='#' 12248 PAM_COND_LOG_FALSE= 12249fi 12250 12251 12252 12253 12254 # Check whether --enable-regex was given. 12255if test "${enable_regex+set}" = set; then : 12256 enableval=$enable_regex; build_regex=$enableval 12257else 12258 build_regex=yes 12259fi 12260 12261 12262 12263 if test "$build_regex" = "yes"; then 12264 PAM_COND_REGEX_TRUE= 12265 PAM_COND_REGEX_FALSE='#' 12266else 12267 PAM_COND_REGEX_TRUE='#' 12268 PAM_COND_REGEX_FALSE= 12269fi 12270 12271 12272 12273 12274 # Check whether --enable-groupmember was given. 12275if test "${enable_groupmember+set}" = set; then : 12276 enableval=$enable_groupmember; build_groupmember=$enableval 12277else 12278 build_groupmember=yes 12279fi 12280 12281 12282 12283 if test "$build_groupmember" = "yes"; then 12284 PAM_COND_GROUPMEMBER_TRUE= 12285 PAM_COND_GROUPMEMBER_FALSE='#' 12286else 12287 PAM_COND_GROUPMEMBER_TRUE='#' 12288 PAM_COND_GROUPMEMBER_FALSE= 12289fi 12290 12291 12292 12293 12294# Check for SQL support 12295 12296 12297# Check whether --with-mysql was given. 12298if test "${with_mysql+set}" = set; then : 12299 withval=$with_mysql; want_mysql=$withval 12300fi 12301 12302 12303# Check whether --with-pgsql was given. 12304if test "${with_pgsql+set}" = set; then : 12305 withval=$with_pgsql; want_pgsql=$withval 12306fi 12307 12308 12309# Check whether --with-postgres was given. 12310if test "${with_postgres+set}" = set; then : 12311 withval=$with_postgres; want_pgsql=$withval 12312fi 12313 12314 12315# Check whether --with-sql was given. 12316if test "${with_sql+set}" = set; then : 12317 withval=$with_sql; want_mysql=$withval 12318 want_pgsql=$withval 12319fi 12320 12321 12322 12323 # Check whether --enable-mysql was given. 12324if test "${enable_mysql+set}" = set; then : 12325 enableval=$enable_mysql; build_mysql=$enableval 12326else 12327 build_mysql=probe 12328fi 12329 12330 12331 if test $build_mysql != no; then 12332 12333 if test "$want_mysql" != no; then 12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_real_connect in -lmysqlclient" >&5 12335$as_echo_n "checking for mysql_real_connect in -lmysqlclient... " >&6; } 12336if ${pm_cv_lib_mysqlclient+:} false; then : 12337 $as_echo_n "(cached) " >&6 12338else 12339 pm_cv_lib_mysqlclient=no 12340 pm_check_lib_save_LIBS=$LIBS 12341 for path in "" /usr/lib/mysql /usr/local/lib/mysql 12342 do 12343 if test -n "$path"; then 12344 pm_ldflags="-L$path -lmysqlclient "-lm"" 12345 else 12346 pm_ldflags="-lmysqlclient "-lm"" 12347 fi 12348 LIBS="$pm_ldflags $pm_check_lib_save_LIBS" 12349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12350/* end confdefs.h. */ 12351 12352/* Override any GCC internal prototype to avoid an error. 12353 Use char because int might match the return type of a GCC 12354 builtin and then its argument prototype would still apply. */ 12355#ifdef __cplusplus 12356extern "C" 12357#endif 12358char mysql_real_connect (); 12359int 12360main () 12361{ 12362return mysql_real_connect (); 12363 ; 12364 return 0; 12365} 12366_ACEOF 12367if ac_fn_c_try_link "$LINENO"; then : 12368 pm_cv_lib_mysqlclient="$pm_ldflags" 12369 break 12370fi 12371rm -f core conftest.err conftest.$ac_objext \ 12372 conftest$ac_exeext conftest.$ac_ext 12373 done 12374 LIBS=$pm_check_lib_save_LIBS 12375fi 12376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pm_cv_lib_mysqlclient" >&5 12377$as_echo "$pm_cv_lib_mysqlclient" >&6; } 12378if test "$pm_cv_lib_mysqlclient" != no; then : 12379 12380$as_echo "#define USE_SQL_MYSQL 1" >>confdefs.h 12381 12382 12383$as_echo "#define HAVE_LIBMYSQL 1" >>confdefs.h 12384 12385 MYSQLLIBS="$pm_cv_lib_mysqlclient" 12386 SQL_MODULES="$SQL_MODULES pam_mysql.la" 12387 build_mysql=yes 12388else 12389 test "$build_mysql" = yes && as_fn_error $? "cannot build the requested module pam_mysql, because MySQL libraries are not present" "$LINENO" 5 12390 build_mysql=no 12391fi 12392 fi 12393 12394 test $build_mysql = probe && build_mysql=no 12395 fi 12396 if test "$build_mysql" = "yes"; then 12397 PAM_COND_MYSQL_TRUE= 12398 PAM_COND_MYSQL_FALSE='#' 12399else 12400 PAM_COND_MYSQL_TRUE='#' 12401 PAM_COND_MYSQL_FALSE= 12402fi 12403 12404 12405 12406 12407 12408 # Check whether --enable-pgsql was given. 12409if test "${enable_pgsql+set}" = set; then : 12410 enableval=$enable_pgsql; build_pgsql=$enableval 12411else 12412 build_pgsql=probe 12413fi 12414 12415 12416 if test $build_pgsql != no; then 12417 12418 if test "$want_pgsql" != no; then 12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectStart in -lpq" >&5 12420$as_echo_n "checking for PQconnectStart in -lpq... " >&6; } 12421if ${pm_cv_lib_pq+:} false; then : 12422 $as_echo_n "(cached) " >&6 12423else 12424 pm_cv_lib_pq=no 12425 pm_check_lib_save_LIBS=$LIBS 12426 for path in "" /usr/pgsql/lib /usr/local/pgsql/lib 12427 do 12428 if test -n "$path"; then 12429 pm_ldflags="-L$path -lpq " 12430 else 12431 pm_ldflags="-lpq " 12432 fi 12433 LIBS="$pm_ldflags $pm_check_lib_save_LIBS" 12434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12435/* end confdefs.h. */ 12436 12437/* Override any GCC internal prototype to avoid an error. 12438 Use char because int might match the return type of a GCC 12439 builtin and then its argument prototype would still apply. */ 12440#ifdef __cplusplus 12441extern "C" 12442#endif 12443char PQconnectStart (); 12444int 12445main () 12446{ 12447return PQconnectStart (); 12448 ; 12449 return 0; 12450} 12451_ACEOF 12452if ac_fn_c_try_link "$LINENO"; then : 12453 pm_cv_lib_pq="$pm_ldflags" 12454 break 12455fi 12456rm -f core conftest.err conftest.$ac_objext \ 12457 conftest$ac_exeext conftest.$ac_ext 12458 done 12459 LIBS=$pm_check_lib_save_LIBS 12460fi 12461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pm_cv_lib_pq" >&5 12462$as_echo "$pm_cv_lib_pq" >&6; } 12463if test "$pm_cv_lib_pq" != no; then : 12464 save_CPPFLAGS=$CPPFLAGS 12465 for dir in /usr/local/pgsql/include /usr/pgsql/include 12466 do 12467 CPPFLAGS="$save_CPPFLAGS -I$dir" 12468 ac_fn_c_check_header_mongrel "$LINENO" "libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default" 12469if test "x$ac_cv_header_libpq_fe_h" = xyes; then : 12470 break 12471fi 12472 12473 12474 CPPFLAGS="$save_CPPFLAGS" 12475 done 12476 12477$as_echo "#define USE_SQL_PGSQL 1" >>confdefs.h 12478 12479 12480$as_echo "#define HAVE_LIBPQ 1" >>confdefs.h 12481 12482 PGSQLLIBS="$pm_cv_lib_pq" 12483 SQL_MODULES="$SQL_MODULES pam_pgsql.la" 12484 build_pgsql=yes 12485else 12486 test "$build_pgsql" = yes && as_fn_error $? "cannot build the requested module pma_pgsql, because PostgreSQL libraries are not present" "$LINENO" 5 12487 build_pgsql=no 12488fi 12489 fi 12490 12491 test $build_pgsql = probe && build_pgsql=no 12492 fi 12493 if test "$build_pgsql" = "yes"; then 12494 PAM_COND_PGSQL_TRUE= 12495 PAM_COND_PGSQL_FALSE='#' 12496else 12497 PAM_COND_PGSQL_TRUE='#' 12498 PAM_COND_PGSQL_FALSE= 12499fi 12500 12501 12502 12503 12504 12505 12506 12507 12508# LDAP support 12509 12510 # Check whether --enable-ldaphome was given. 12511if test "${enable_ldaphome+set}" = set; then : 12512 enableval=$enable_ldaphome; build_ldaphome=$enableval 12513else 12514 build_ldaphome=probe 12515fi 12516 12517 12518 if test $build_ldaphome != no; then 12519 12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_bind in -lldap" >&5 12521$as_echo_n "checking for ldap_bind in -lldap... " >&6; } 12522if ${ac_cv_lib_ldap_ldap_bind+:} false; then : 12523 $as_echo_n "(cached) " >&6 12524else 12525 ac_check_lib_save_LIBS=$LIBS 12526LIBS="-lldap $LIBS" 12527cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12528/* end confdefs.h. */ 12529 12530/* Override any GCC internal prototype to avoid an error. 12531 Use char because int might match the return type of a GCC 12532 builtin and then its argument prototype would still apply. */ 12533#ifdef __cplusplus 12534extern "C" 12535#endif 12536char ldap_bind (); 12537int 12538main () 12539{ 12540return ldap_bind (); 12541 ; 12542 return 0; 12543} 12544_ACEOF 12545if ac_fn_c_try_link "$LINENO"; then : 12546 ac_cv_lib_ldap_ldap_bind=yes 12547else 12548 ac_cv_lib_ldap_ldap_bind=no 12549fi 12550rm -f core conftest.err conftest.$ac_objext \ 12551 conftest$ac_exeext conftest.$ac_ext 12552LIBS=$ac_check_lib_save_LIBS 12553fi 12554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_bind" >&5 12555$as_echo "$ac_cv_lib_ldap_ldap_bind" >&6; } 12556if test "x$ac_cv_lib_ldap_ldap_bind" = xyes; then : 12557 build_ldaphome=yes 12558else 12559 if test $build_ldaphome = yes; then 12560 as_fn_error $? "cannot build pam_ldaphome, because the required library libldap is not found" "$LINENO" 5 12561 else 12562 build_ldaphome=no 12563 fi 12564fi 12565 12566 12567 test $build_ldaphome = probe && build_ldaphome=no 12568 fi 12569 if test "$build_ldaphome" = "yes"; then 12570 PAM_COND_LDAPHOME_TRUE= 12571 PAM_COND_LDAPHOME_FALSE='#' 12572else 12573 PAM_COND_LDAPHOME_TRUE='#' 12574 PAM_COND_LDAPHOME_FALSE= 12575fi 12576 12577 12578 12579 12580# 12581 12582 # Check whether --enable-umotd was given. 12583if test "${enable_umotd+set}" = set; then : 12584 enableval=$enable_umotd; build_umotd=$enableval 12585else 12586 build_umotd=probe 12587fi 12588 12589 12590 if test $build_umotd != no; then 12591 12592case $build_umotd in 12593probe) 12594 build_umotd=$ac_cv_header_security_pam_ext_h 12595 ;; 12596yes) 12597 test $ac_cv_header_security_pam_ext_h = no && as_fn_error $? "Cannot build pam_umotd, because the required header security/pam_ext.h is not present" "$LINENO" 5 12598 ;; 12599esac 12600 12601 test $build_umotd = probe && build_umotd=no 12602 fi 12603 if test "$build_umotd" = "yes"; then 12604 PAM_COND_UMOTD_TRUE= 12605 PAM_COND_UMOTD_FALSE='#' 12606else 12607 PAM_COND_UMOTD_TRUE='#' 12608 PAM_COND_UMOTD_FALSE= 12609fi 12610 12611 12612 12613 12614## ***************** 12615## debugging support 12616## ***************** 12617# Check whether --enable-debug was given. 12618if test "${enable_debug+set}" = set; then : 12619 enableval=$enable_debug; if test "$enableval" = yes; then 12620 if test "$GCC" = yes; then 12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc accepts -ggdb" >&5 12622$as_echo_n "checking whether gcc accepts -ggdb... " >&6; } 12623 save_CFLAGS=$CFLAGS 12624 CFLAGS="-ggdb -Wall" 12625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12626/* end confdefs.h. */ 12627 12628int 12629main () 12630{ 12631void f(){} 12632 ; 12633 return 0; 12634} 12635_ACEOF 12636if ac_fn_c_try_compile "$LINENO"; then : 12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12638$as_echo "yes" >&6; } 12639else 12640 if test x"$ac_cv_prog_cc_g" = xyes; then 12641 CFLAGS="-g -Wall" 12642 else 12643 CFLAGS= 12644 fi 12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12646$as_echo "no" >&6; } 12647fi 12648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12649 CFLAGS="`echo $save_CFLAGS | sed 's/-O[0-9]//g'` $CFLAGS" 12650 12651cat >>confdefs.h <<_ACEOF 12652#define DEBUG_MODE 1 12653_ACEOF 12654 12655 fi 12656 fi 12657fi 12658 12659 12660## ************** 12661## Directories 12662## ************** 12663PAMDIR='$(prefix)/lib/security' 12664 12665# Check whether --with-pamdir was given. 12666if test "${with_pamdir+set}" = set; then : 12667 withval=$with_pamdir; PAMDIR=$withval 12668fi 12669 12670 12671 12672## ************** 12673## Imprimatur 12674## ************** 12675 12676 12677 IMPRIMATUR_MODULE_DIR=imprimatur 12678 12679 12680 12681 12682 # Doc hints. 12683 # Select a rendition level: 12684 # DISTRIB for stable releases (at most one dot in the version number) 12685 # and maintenance releases (two dots, patchlevel < 50) 12686 # PROOF for alpha releases. 12687 # PUBLISH can only be required manually when running make in doc/ 12688 case `echo $VERSION|sed 's/[^.]//g'` in 12689 ""|".") RENDITION=DISTRIB;; 12690 "..") if test `echo $VERSION | sed 's/.*\.//'` -lt 50; then 12691 RENDITION=DISTRIB 12692 else 12693 RENDITION=PROOF 12694 fi;; 12695 *) RENDITION=PROOF;; 12696 esac 12697 12698 IMPRIMATUR_MAKEINFOFLAGS='-I $(top_srcdir)/imprimatur -D $(RENDITION)' 12699 12700 if false; then 12701 IMPRIMATUR_COND_MAKEDOC_TRUE= 12702 IMPRIMATUR_COND_MAKEDOC_FALSE='#' 12703else 12704 IMPRIMATUR_COND_MAKEDOC_TRUE='#' 12705 IMPRIMATUR_COND_MAKEDOC_FALSE= 12706fi 12707 12708 if false; then 12709 IMPRIMATUR_COND_FRENCHSPACING_TRUE= 12710 IMPRIMATUR_COND_FRENCHSPACING_FALSE='#' 12711else 12712 IMPRIMATUR_COND_FRENCHSPACING_TRUE='#' 12713 IMPRIMATUR_COND_FRENCHSPACING_FALSE= 12714fi 12715 12716 if false; then 12717 IMPRIMATUR_COND_DIST_INFO_TRUE= 12718 IMPRIMATUR_COND_DIST_INFO_FALSE='#' 12719else 12720 IMPRIMATUR_COND_DIST_INFO_TRUE='#' 12721 IMPRIMATUR_COND_DIST_INFO_FALSE= 12722fi 12723 12724 ac_config_files="$ac_config_files imprimatur/Makefile" 12725 12726 if test -z "$IMPRIMATUR_COND_MAKEDOC_TRUE"; then : 12727 { $as_echo "$as_me:${as_lineno-$LINENO}: Add imprimatur/Makedoc to your config files" >&5 12728$as_echo "$as_me: Add imprimatur/Makedoc to your config files" >&6;} 12729fi 12730 12731 12732 12733 12734## ************** 12735## Summary 12736## ************** 12737 12738ac_config_commands="$ac_config_commands status" 12739 12740 12741ac_config_files="$ac_config_files Makefile doc/Makefile examples/Makefile lib/Makefile pam_fshadow/Makefile pam_regex/Makefile pam_log/Makefile pam_sql/Makefile pam_ldaphome/Makefile pam_umotd/Makefile pam_groupmember/Makefile pamck/Makefile" 12742 12743cat >confcache <<\_ACEOF 12744# This file is a shell script that caches the results of configure 12745# tests run on this system so they can be shared between configure 12746# scripts and configure runs, see configure's option --config-cache. 12747# It is not useful on other systems. If it contains results you don't 12748# want to keep, you may remove or edit it. 12749# 12750# config.status only pays attention to the cache file if you give it 12751# the --recheck option to rerun configure. 12752# 12753# `ac_cv_env_foo' variables (set or unset) will be overridden when 12754# loading this file, other *unset* `ac_cv_foo' will be assigned the 12755# following values. 12756 12757_ACEOF 12758 12759# The following way of writing the cache mishandles newlines in values, 12760# but we know of no workaround that is simple, portable, and efficient. 12761# So, we kill variables containing newlines. 12762# Ultrix sh set writes to stderr and can't be redirected directly, 12763# and sets the high bit in the cache file unless we assign to the vars. 12764( 12765 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12766 eval ac_val=\$$ac_var 12767 case $ac_val in #( 12768 *${as_nl}*) 12769 case $ac_var in #( 12770 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12771$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12772 esac 12773 case $ac_var in #( 12774 _ | IFS | as_nl) ;; #( 12775 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12776 *) { eval $ac_var=; unset $ac_var;} ;; 12777 esac ;; 12778 esac 12779 done 12780 12781 (set) 2>&1 | 12782 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12783 *${as_nl}ac_space=\ *) 12784 # `set' does not quote correctly, so add quotes: double-quote 12785 # substitution turns \\\\ into \\, and sed turns \\ into \. 12786 sed -n \ 12787 "s/'/'\\\\''/g; 12788 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12789 ;; #( 12790 *) 12791 # `set' quotes correctly as required by POSIX, so do not add quotes. 12792 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12793 ;; 12794 esac | 12795 sort 12796) | 12797 sed ' 12798 /^ac_cv_env_/b end 12799 t clear 12800 :clear 12801 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12802 t end 12803 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12804 :end' >>confcache 12805if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12806 if test -w "$cache_file"; then 12807 if test "x$cache_file" != "x/dev/null"; then 12808 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12809$as_echo "$as_me: updating cache $cache_file" >&6;} 12810 if test ! -f "$cache_file" || test -h "$cache_file"; then 12811 cat confcache >"$cache_file" 12812 else 12813 case $cache_file in #( 12814 */* | ?:*) 12815 mv -f confcache "$cache_file"$$ && 12816 mv -f "$cache_file"$$ "$cache_file" ;; #( 12817 *) 12818 mv -f confcache "$cache_file" ;; 12819 esac 12820 fi 12821 fi 12822 else 12823 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12824$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12825 fi 12826fi 12827rm -f confcache 12828 12829test "x$prefix" = xNONE && prefix=$ac_default_prefix 12830# Let make expand exec_prefix. 12831test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12832 12833DEFS=-DHAVE_CONFIG_H 12834 12835ac_libobjs= 12836ac_ltlibobjs= 12837for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12838 # 1. Remove the extension, and $U if already installed. 12839 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12840 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12841 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12842 # will be set to the directory where LIBOBJS objects are built. 12843 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12844 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12845done 12846LIBOBJS=$ac_libobjs 12847 12848LTLIBOBJS=$ac_ltlibobjs 12849 12850 12851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 12852$as_echo_n "checking that generated files are newer than configure... " >&6; } 12853 if test -n "$am_sleep_pid"; then 12854 # Hide warnings about reused PIDs. 12855 wait $am_sleep_pid 2>/dev/null 12856 fi 12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 12858$as_echo "done" >&6; } 12859 if test -n "$EXEEXT"; then 12860 am__EXEEXT_TRUE= 12861 am__EXEEXT_FALSE='#' 12862else 12863 am__EXEEXT_TRUE='#' 12864 am__EXEEXT_FALSE= 12865fi 12866 12867if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12868 as_fn_error $? "conditional \"AMDEP\" was never defined. 12869Usually this means the macro was only invoked conditionally." "$LINENO" 5 12870fi 12871if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12872 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12873Usually this means the macro was only invoked conditionally." "$LINENO" 5 12874fi 12875if test -z "${PAM_COND_FSHADOW_TRUE}" && test -z "${PAM_COND_FSHADOW_FALSE}"; then 12876 as_fn_error $? "conditional \"PAM_COND_FSHADOW\" was never defined. 12877Usually this means the macro was only invoked conditionally." "$LINENO" 5 12878fi 12879if test -z "${PAM_COND_LOG_TRUE}" && test -z "${PAM_COND_LOG_FALSE}"; then 12880 as_fn_error $? "conditional \"PAM_COND_LOG\" was never defined. 12881Usually this means the macro was only invoked conditionally." "$LINENO" 5 12882fi 12883if test -z "${PAM_COND_REGEX_TRUE}" && test -z "${PAM_COND_REGEX_FALSE}"; then 12884 as_fn_error $? "conditional \"PAM_COND_REGEX\" was never defined. 12885Usually this means the macro was only invoked conditionally." "$LINENO" 5 12886fi 12887if test -z "${PAM_COND_GROUPMEMBER_TRUE}" && test -z "${PAM_COND_GROUPMEMBER_FALSE}"; then 12888 as_fn_error $? "conditional \"PAM_COND_GROUPMEMBER\" was never defined. 12889Usually this means the macro was only invoked conditionally." "$LINENO" 5 12890fi 12891if test -z "${PAM_COND_MYSQL_TRUE}" && test -z "${PAM_COND_MYSQL_FALSE}"; then 12892 as_fn_error $? "conditional \"PAM_COND_MYSQL\" was never defined. 12893Usually this means the macro was only invoked conditionally." "$LINENO" 5 12894fi 12895if test -z "${PAM_COND_PGSQL_TRUE}" && test -z "${PAM_COND_PGSQL_FALSE}"; then 12896 as_fn_error $? "conditional \"PAM_COND_PGSQL\" was never defined. 12897Usually this means the macro was only invoked conditionally." "$LINENO" 5 12898fi 12899if test -z "${PAM_COND_LDAPHOME_TRUE}" && test -z "${PAM_COND_LDAPHOME_FALSE}"; then 12900 as_fn_error $? "conditional \"PAM_COND_LDAPHOME\" was never defined. 12901Usually this means the macro was only invoked conditionally." "$LINENO" 5 12902fi 12903if test -z "${PAM_COND_UMOTD_TRUE}" && test -z "${PAM_COND_UMOTD_FALSE}"; then 12904 as_fn_error $? "conditional \"PAM_COND_UMOTD\" was never defined. 12905Usually this means the macro was only invoked conditionally." "$LINENO" 5 12906fi 12907if test -z "${IMPRIMATUR_COND_MAKEDOC_TRUE}" && test -z "${IMPRIMATUR_COND_MAKEDOC_FALSE}"; then 12908 as_fn_error $? "conditional \"IMPRIMATUR_COND_MAKEDOC\" was never defined. 12909Usually this means the macro was only invoked conditionally." "$LINENO" 5 12910fi 12911if test -z "${IMPRIMATUR_COND_FRENCHSPACING_TRUE}" && test -z "${IMPRIMATUR_COND_FRENCHSPACING_FALSE}"; then 12912 as_fn_error $? "conditional \"IMPRIMATUR_COND_FRENCHSPACING\" was never defined. 12913Usually this means the macro was only invoked conditionally." "$LINENO" 5 12914fi 12915if test -z "${IMPRIMATUR_COND_DIST_INFO_TRUE}" && test -z "${IMPRIMATUR_COND_DIST_INFO_FALSE}"; then 12916 as_fn_error $? "conditional \"IMPRIMATUR_COND_DIST_INFO\" was never defined. 12917Usually this means the macro was only invoked conditionally." "$LINENO" 5 12918fi 12919 12920: "${CONFIG_STATUS=./config.status}" 12921ac_write_fail=0 12922ac_clean_files_save=$ac_clean_files 12923ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12924{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12925$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12926as_write_fail=0 12927cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12928#! $SHELL 12929# Generated by $as_me. 12930# Run this file to recreate the current configuration. 12931# Compiler output produced by configure, useful for debugging 12932# configure, is in config.log if it exists. 12933 12934debug=false 12935ac_cs_recheck=false 12936ac_cs_silent=false 12937 12938SHELL=\${CONFIG_SHELL-$SHELL} 12939export SHELL 12940_ASEOF 12941cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12942## -------------------- ## 12943## M4sh Initialization. ## 12944## -------------------- ## 12945 12946# Be more Bourne compatible 12947DUALCASE=1; export DUALCASE # for MKS sh 12948if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12949 emulate sh 12950 NULLCMD=: 12951 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12952 # is contrary to our usage. Disable this feature. 12953 alias -g '${1+"$@"}'='"$@"' 12954 setopt NO_GLOB_SUBST 12955else 12956 case `(set -o) 2>/dev/null` in #( 12957 *posix*) : 12958 set -o posix ;; #( 12959 *) : 12960 ;; 12961esac 12962fi 12963 12964 12965as_nl=' 12966' 12967export as_nl 12968# Printing a long string crashes Solaris 7 /usr/bin/printf. 12969as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12970as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12971as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12972# Prefer a ksh shell builtin over an external printf program on Solaris, 12973# but without wasting forks for bash or zsh. 12974if test -z "$BASH_VERSION$ZSH_VERSION" \ 12975 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12976 as_echo='print -r --' 12977 as_echo_n='print -rn --' 12978elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12979 as_echo='printf %s\n' 12980 as_echo_n='printf %s' 12981else 12982 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12983 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12984 as_echo_n='/usr/ucb/echo -n' 12985 else 12986 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12987 as_echo_n_body='eval 12988 arg=$1; 12989 case $arg in #( 12990 *"$as_nl"*) 12991 expr "X$arg" : "X\\(.*\\)$as_nl"; 12992 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12993 esac; 12994 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12995 ' 12996 export as_echo_n_body 12997 as_echo_n='sh -c $as_echo_n_body as_echo' 12998 fi 12999 export as_echo_body 13000 as_echo='sh -c $as_echo_body as_echo' 13001fi 13002 13003# The user is always right. 13004if test "${PATH_SEPARATOR+set}" != set; then 13005 PATH_SEPARATOR=: 13006 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13007 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13008 PATH_SEPARATOR=';' 13009 } 13010fi 13011 13012 13013# IFS 13014# We need space, tab and new line, in precisely that order. Quoting is 13015# there to prevent editors from complaining about space-tab. 13016# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13017# splitting by setting IFS to empty value.) 13018IFS=" "" $as_nl" 13019 13020# Find who we are. Look in the path if we contain no directory separator. 13021as_myself= 13022case $0 in #(( 13023 *[\\/]* ) as_myself=$0 ;; 13024 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13025for as_dir in $PATH 13026do 13027 IFS=$as_save_IFS 13028 test -z "$as_dir" && as_dir=. 13029 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13030 done 13031IFS=$as_save_IFS 13032 13033 ;; 13034esac 13035# We did not find ourselves, most probably we were run as `sh COMMAND' 13036# in which case we are not to be found in the path. 13037if test "x$as_myself" = x; then 13038 as_myself=$0 13039fi 13040if test ! -f "$as_myself"; then 13041 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13042 exit 1 13043fi 13044 13045# Unset variables that we do not need and which cause bugs (e.g. in 13046# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13047# suppresses any "Segmentation fault" message there. '((' could 13048# trigger a bug in pdksh 5.2.14. 13049for as_var in BASH_ENV ENV MAIL MAILPATH 13050do eval test x\${$as_var+set} = xset \ 13051 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13052done 13053PS1='$ ' 13054PS2='> ' 13055PS4='+ ' 13056 13057# NLS nuisances. 13058LC_ALL=C 13059export LC_ALL 13060LANGUAGE=C 13061export LANGUAGE 13062 13063# CDPATH. 13064(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13065 13066 13067# as_fn_error STATUS ERROR [LINENO LOG_FD] 13068# ---------------------------------------- 13069# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13070# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13071# script with STATUS, using 1 if that was 0. 13072as_fn_error () 13073{ 13074 as_status=$1; test $as_status -eq 0 && as_status=1 13075 if test "$4"; then 13076 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13077 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13078 fi 13079 $as_echo "$as_me: error: $2" >&2 13080 as_fn_exit $as_status 13081} # as_fn_error 13082 13083 13084# as_fn_set_status STATUS 13085# ----------------------- 13086# Set $? to STATUS, without forking. 13087as_fn_set_status () 13088{ 13089 return $1 13090} # as_fn_set_status 13091 13092# as_fn_exit STATUS 13093# ----------------- 13094# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13095as_fn_exit () 13096{ 13097 set +e 13098 as_fn_set_status $1 13099 exit $1 13100} # as_fn_exit 13101 13102# as_fn_unset VAR 13103# --------------- 13104# Portably unset VAR. 13105as_fn_unset () 13106{ 13107 { eval $1=; unset $1;} 13108} 13109as_unset=as_fn_unset 13110# as_fn_append VAR VALUE 13111# ---------------------- 13112# Append the text in VALUE to the end of the definition contained in VAR. Take 13113# advantage of any shell optimizations that allow amortized linear growth over 13114# repeated appends, instead of the typical quadratic growth present in naive 13115# implementations. 13116if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13117 eval 'as_fn_append () 13118 { 13119 eval $1+=\$2 13120 }' 13121else 13122 as_fn_append () 13123 { 13124 eval $1=\$$1\$2 13125 } 13126fi # as_fn_append 13127 13128# as_fn_arith ARG... 13129# ------------------ 13130# Perform arithmetic evaluation on the ARGs, and store the result in the 13131# global $as_val. Take advantage of shells that can avoid forks. The arguments 13132# must be portable across $(()) and expr. 13133if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13134 eval 'as_fn_arith () 13135 { 13136 as_val=$(( $* )) 13137 }' 13138else 13139 as_fn_arith () 13140 { 13141 as_val=`expr "$@" || test $? -eq 1` 13142 } 13143fi # as_fn_arith 13144 13145 13146if expr a : '\(a\)' >/dev/null 2>&1 && 13147 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13148 as_expr=expr 13149else 13150 as_expr=false 13151fi 13152 13153if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13154 as_basename=basename 13155else 13156 as_basename=false 13157fi 13158 13159if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13160 as_dirname=dirname 13161else 13162 as_dirname=false 13163fi 13164 13165as_me=`$as_basename -- "$0" || 13166$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13167 X"$0" : 'X\(//\)$' \| \ 13168 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13169$as_echo X/"$0" | 13170 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13171 s//\1/ 13172 q 13173 } 13174 /^X\/\(\/\/\)$/{ 13175 s//\1/ 13176 q 13177 } 13178 /^X\/\(\/\).*/{ 13179 s//\1/ 13180 q 13181 } 13182 s/.*/./; q'` 13183 13184# Avoid depending upon Character Ranges. 13185as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13186as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13187as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13188as_cr_digits='0123456789' 13189as_cr_alnum=$as_cr_Letters$as_cr_digits 13190 13191ECHO_C= ECHO_N= ECHO_T= 13192case `echo -n x` in #((((( 13193-n*) 13194 case `echo 'xy\c'` in 13195 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13196 xy) ECHO_C='\c';; 13197 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13198 ECHO_T=' ';; 13199 esac;; 13200*) 13201 ECHO_N='-n';; 13202esac 13203 13204rm -f conf$$ conf$$.exe conf$$.file 13205if test -d conf$$.dir; then 13206 rm -f conf$$.dir/conf$$.file 13207else 13208 rm -f conf$$.dir 13209 mkdir conf$$.dir 2>/dev/null 13210fi 13211if (echo >conf$$.file) 2>/dev/null; then 13212 if ln -s conf$$.file conf$$ 2>/dev/null; then 13213 as_ln_s='ln -s' 13214 # ... but there are two gotchas: 13215 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13216 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13217 # In both cases, we have to default to `cp -pR'. 13218 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13219 as_ln_s='cp -pR' 13220 elif ln conf$$.file conf$$ 2>/dev/null; then 13221 as_ln_s=ln 13222 else 13223 as_ln_s='cp -pR' 13224 fi 13225else 13226 as_ln_s='cp -pR' 13227fi 13228rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13229rmdir conf$$.dir 2>/dev/null 13230 13231 13232# as_fn_mkdir_p 13233# ------------- 13234# Create "$as_dir" as a directory, including parents if necessary. 13235as_fn_mkdir_p () 13236{ 13237 13238 case $as_dir in #( 13239 -*) as_dir=./$as_dir;; 13240 esac 13241 test -d "$as_dir" || eval $as_mkdir_p || { 13242 as_dirs= 13243 while :; do 13244 case $as_dir in #( 13245 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13246 *) as_qdir=$as_dir;; 13247 esac 13248 as_dirs="'$as_qdir' $as_dirs" 13249 as_dir=`$as_dirname -- "$as_dir" || 13250$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13251 X"$as_dir" : 'X\(//\)[^/]' \| \ 13252 X"$as_dir" : 'X\(//\)$' \| \ 13253 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13254$as_echo X"$as_dir" | 13255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13256 s//\1/ 13257 q 13258 } 13259 /^X\(\/\/\)[^/].*/{ 13260 s//\1/ 13261 q 13262 } 13263 /^X\(\/\/\)$/{ 13264 s//\1/ 13265 q 13266 } 13267 /^X\(\/\).*/{ 13268 s//\1/ 13269 q 13270 } 13271 s/.*/./; q'` 13272 test -d "$as_dir" && break 13273 done 13274 test -z "$as_dirs" || eval "mkdir $as_dirs" 13275 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13276 13277 13278} # as_fn_mkdir_p 13279if mkdir -p . 2>/dev/null; then 13280 as_mkdir_p='mkdir -p "$as_dir"' 13281else 13282 test -d ./-p && rmdir ./-p 13283 as_mkdir_p=false 13284fi 13285 13286 13287# as_fn_executable_p FILE 13288# ----------------------- 13289# Test if FILE is an executable regular file. 13290as_fn_executable_p () 13291{ 13292 test -f "$1" && test -x "$1" 13293} # as_fn_executable_p 13294as_test_x='test -x' 13295as_executable_p=as_fn_executable_p 13296 13297# Sed expression to map a string onto a valid CPP name. 13298as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13299 13300# Sed expression to map a string onto a valid variable name. 13301as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13302 13303 13304exec 6>&1 13305## ----------------------------------- ## 13306## Main body of $CONFIG_STATUS script. ## 13307## ----------------------------------- ## 13308_ASEOF 13309test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13310 13311cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13312# Save the log message, to keep $0 and so on meaningful, and to 13313# report actual input values of CONFIG_FILES etc. instead of their 13314# values after options handling. 13315ac_log=" 13316This file was extended by pam-modules $as_me 2.2, which was 13317generated by GNU Autoconf 2.69. Invocation command line was 13318 13319 CONFIG_FILES = $CONFIG_FILES 13320 CONFIG_HEADERS = $CONFIG_HEADERS 13321 CONFIG_LINKS = $CONFIG_LINKS 13322 CONFIG_COMMANDS = $CONFIG_COMMANDS 13323 $ $0 $@ 13324 13325on `(hostname || uname -n) 2>/dev/null | sed 1q` 13326" 13327 13328_ACEOF 13329 13330case $ac_config_files in *" 13331"*) set x $ac_config_files; shift; ac_config_files=$*;; 13332esac 13333 13334case $ac_config_headers in *" 13335"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13336esac 13337 13338 13339cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13340# Files that config.status was made for. 13341config_files="$ac_config_files" 13342config_headers="$ac_config_headers" 13343config_commands="$ac_config_commands" 13344 13345_ACEOF 13346 13347cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13348ac_cs_usage="\ 13349\`$as_me' instantiates files and other configuration actions 13350from templates according to the current configuration. Unless the files 13351and actions are specified as TAGs, all are instantiated by default. 13352 13353Usage: $0 [OPTION]... [TAG]... 13354 13355 -h, --help print this help, then exit 13356 -V, --version print version number and configuration settings, then exit 13357 --config print configuration, then exit 13358 -q, --quiet, --silent 13359 do not print progress messages 13360 -d, --debug don't remove temporary files 13361 --recheck update $as_me by reconfiguring in the same conditions 13362 --file=FILE[:TEMPLATE] 13363 instantiate the configuration file FILE 13364 --header=FILE[:TEMPLATE] 13365 instantiate the configuration header FILE 13366 13367Configuration files: 13368$config_files 13369 13370Configuration headers: 13371$config_headers 13372 13373Configuration commands: 13374$config_commands 13375 13376Report bugs to <bug-pam-modules@gnu.org.ua>." 13377 13378_ACEOF 13379cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13380ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13381ac_cs_version="\\ 13382pam-modules config.status 2.2 13383configured by $0, generated by GNU Autoconf 2.69, 13384 with options \\"\$ac_cs_config\\" 13385 13386Copyright (C) 2012 Free Software Foundation, Inc. 13387This config.status script is free software; the Free Software Foundation 13388gives unlimited permission to copy, distribute and modify it." 13389 13390ac_pwd='$ac_pwd' 13391srcdir='$srcdir' 13392INSTALL='$INSTALL' 13393MKDIR_P='$MKDIR_P' 13394AWK='$AWK' 13395test -n "\$AWK" || AWK=awk 13396_ACEOF 13397 13398cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13399# The default lists apply if the user does not specify any file. 13400ac_need_defaults=: 13401while test $# != 0 13402do 13403 case $1 in 13404 --*=?*) 13405 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13406 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13407 ac_shift=: 13408 ;; 13409 --*=) 13410 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13411 ac_optarg= 13412 ac_shift=: 13413 ;; 13414 *) 13415 ac_option=$1 13416 ac_optarg=$2 13417 ac_shift=shift 13418 ;; 13419 esac 13420 13421 case $ac_option in 13422 # Handling of the options. 13423 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13424 ac_cs_recheck=: ;; 13425 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13426 $as_echo "$ac_cs_version"; exit ;; 13427 --config | --confi | --conf | --con | --co | --c ) 13428 $as_echo "$ac_cs_config"; exit ;; 13429 --debug | --debu | --deb | --de | --d | -d ) 13430 debug=: ;; 13431 --file | --fil | --fi | --f ) 13432 $ac_shift 13433 case $ac_optarg in 13434 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13435 '') as_fn_error $? "missing file argument" ;; 13436 esac 13437 as_fn_append CONFIG_FILES " '$ac_optarg'" 13438 ac_need_defaults=false;; 13439 --header | --heade | --head | --hea ) 13440 $ac_shift 13441 case $ac_optarg in 13442 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13443 esac 13444 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13445 ac_need_defaults=false;; 13446 --he | --h) 13447 # Conflict between --help and --header 13448 as_fn_error $? "ambiguous option: \`$1' 13449Try \`$0 --help' for more information.";; 13450 --help | --hel | -h ) 13451 $as_echo "$ac_cs_usage"; exit ;; 13452 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13453 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13454 ac_cs_silent=: ;; 13455 13456 # This is an error. 13457 -*) as_fn_error $? "unrecognized option: \`$1' 13458Try \`$0 --help' for more information." ;; 13459 13460 *) as_fn_append ac_config_targets " $1" 13461 ac_need_defaults=false ;; 13462 13463 esac 13464 shift 13465done 13466 13467ac_configure_extra_args= 13468 13469if $ac_cs_silent; then 13470 exec 6>/dev/null 13471 ac_configure_extra_args="$ac_configure_extra_args --silent" 13472fi 13473 13474_ACEOF 13475cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13476if \$ac_cs_recheck; then 13477 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13478 shift 13479 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13480 CONFIG_SHELL='$SHELL' 13481 export CONFIG_SHELL 13482 exec "\$@" 13483fi 13484 13485_ACEOF 13486cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13487exec 5>>config.log 13488{ 13489 echo 13490 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13491## Running $as_me. ## 13492_ASBOX 13493 $as_echo "$ac_log" 13494} >&5 13495 13496_ACEOF 13497cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13498# 13499# INIT-COMMANDS 13500# 13501AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 13502 13503 13504# The HP-UX ksh and POSIX shell print the target directory to stdout 13505# if CDPATH is set. 13506(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13507 13508sed_quote_subst='$sed_quote_subst' 13509double_quote_subst='$double_quote_subst' 13510delay_variable_subst='$delay_variable_subst' 13511macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13512macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13513enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13514enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13515pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13516enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13517SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13518ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13519PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13520host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13521host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13522host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13523build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13524build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13525build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13526SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13527Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13528GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13529EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13530FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13531LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13532NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13533LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13534max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13535ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13536exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13537lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13538lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13539lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13540lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13541lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13542reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13543reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13544OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13545deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13546file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13547file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13548want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13549DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13550sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13551AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13552AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13553archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13554STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13555RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13556old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13557old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13558old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13559lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13560CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13561CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13562compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13563GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13564lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13565lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13566lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13567lt_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"`' 13568nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13569lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13570objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13571MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13572lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13573lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13574lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13575lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13576lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13577need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13578MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13579DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13580NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13581LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13582OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13583OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 13584libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 13585shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 13586extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13587archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 13588enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 13589export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 13590whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 13591compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 13592old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 13593old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13594archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 13595archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13596module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 13597module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13598with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 13599allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 13600no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 13601hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 13602hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 13603hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 13604hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 13605hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 13606hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 13607hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 13608inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 13609link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 13610always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 13611export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 13612exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 13613include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 13614prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 13615postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 13616file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 13617variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 13618need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 13619need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 13620version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 13621runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 13622shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 13623shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 13624libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 13625library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 13626soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 13627install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 13628postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13629postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13630finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 13631finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 13632hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 13633sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 13634sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 13635hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 13636enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 13637enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 13638enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 13639old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 13640striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 13641 13642LTCC='$LTCC' 13643LTCFLAGS='$LTCFLAGS' 13644compiler='$compiler_DEFAULT' 13645 13646# A function that is used when there is no print builtin or printf. 13647func_fallback_echo () 13648{ 13649 eval 'cat <<_LTECHO_EOF 13650\$1 13651_LTECHO_EOF' 13652} 13653 13654# Quote evaled strings. 13655for var in SHELL \ 13656ECHO \ 13657PATH_SEPARATOR \ 13658SED \ 13659GREP \ 13660EGREP \ 13661FGREP \ 13662LD \ 13663NM \ 13664LN_S \ 13665lt_SP2NL \ 13666lt_NL2SP \ 13667reload_flag \ 13668OBJDUMP \ 13669deplibs_check_method \ 13670file_magic_cmd \ 13671file_magic_glob \ 13672want_nocaseglob \ 13673DLLTOOL \ 13674sharedlib_from_linklib_cmd \ 13675AR \ 13676AR_FLAGS \ 13677archiver_list_spec \ 13678STRIP \ 13679RANLIB \ 13680CC \ 13681CFLAGS \ 13682compiler \ 13683lt_cv_sys_global_symbol_pipe \ 13684lt_cv_sys_global_symbol_to_cdecl \ 13685lt_cv_sys_global_symbol_to_c_name_address \ 13686lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13687nm_file_list_spec \ 13688lt_prog_compiler_no_builtin_flag \ 13689lt_prog_compiler_pic \ 13690lt_prog_compiler_wl \ 13691lt_prog_compiler_static \ 13692lt_cv_prog_compiler_c_o \ 13693need_locks \ 13694MANIFEST_TOOL \ 13695DSYMUTIL \ 13696NMEDIT \ 13697LIPO \ 13698OTOOL \ 13699OTOOL64 \ 13700shrext_cmds \ 13701export_dynamic_flag_spec \ 13702whole_archive_flag_spec \ 13703compiler_needs_object \ 13704with_gnu_ld \ 13705allow_undefined_flag \ 13706no_undefined_flag \ 13707hardcode_libdir_flag_spec \ 13708hardcode_libdir_separator \ 13709exclude_expsyms \ 13710include_expsyms \ 13711file_list_spec \ 13712variables_saved_for_relink \ 13713libname_spec \ 13714library_names_spec \ 13715soname_spec \ 13716install_override_mode \ 13717finish_eval \ 13718old_striplib \ 13719striplib; do 13720 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13721 *[\\\\\\\`\\"\\\$]*) 13722 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 13723 ;; 13724 *) 13725 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13726 ;; 13727 esac 13728done 13729 13730# Double-quote double-evaled strings. 13731for var in reload_cmds \ 13732old_postinstall_cmds \ 13733old_postuninstall_cmds \ 13734old_archive_cmds \ 13735extract_expsyms_cmds \ 13736old_archive_from_new_cmds \ 13737old_archive_from_expsyms_cmds \ 13738archive_cmds \ 13739archive_expsym_cmds \ 13740module_cmds \ 13741module_expsym_cmds \ 13742export_symbols_cmds \ 13743prelink_cmds \ 13744postlink_cmds \ 13745postinstall_cmds \ 13746postuninstall_cmds \ 13747finish_cmds \ 13748sys_lib_search_path_spec \ 13749sys_lib_dlsearch_path_spec; do 13750 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13751 *[\\\\\\\`\\"\\\$]*) 13752 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 13753 ;; 13754 *) 13755 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13756 ;; 13757 esac 13758done 13759 13760ac_aux_dir='$ac_aux_dir' 13761xsi_shell='$xsi_shell' 13762lt_shell_append='$lt_shell_append' 13763 13764# See if we are running on zsh, and set the options which allow our 13765# commands through without removal of \ escapes INIT. 13766if test -n "\${ZSH_VERSION+set}" ; then 13767 setopt NO_GLOB_SUBST 13768fi 13769 13770 13771 PACKAGE='$PACKAGE' 13772 VERSION='$VERSION' 13773 TIMESTAMP='$TIMESTAMP' 13774 RM='$RM' 13775 ofile='$ofile' 13776 13777 13778 13779 13780build_fshadow=$build_fshadow 13781build_regex=$build_regex 13782build_log=$build_log 13783build_pgsql=$build_pgsql 13784build_mysql=$build_mysql 13785build_ldaphome=$build_ldaphome 13786build_umotd=$build_umotd 13787build_groupmember=$build_groupmember 13788 13789_ACEOF 13790 13791cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13792 13793# Handling of arguments. 13794for ac_config_target in $ac_config_targets 13795do 13796 case $ac_config_target in 13797 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13798 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13799 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13800 "imprimatur/Makefile") CONFIG_FILES="$CONFIG_FILES imprimatur/Makefile" ;; 13801 "status") CONFIG_COMMANDS="$CONFIG_COMMANDS status" ;; 13802 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13803 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 13804 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 13805 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 13806 "pam_fshadow/Makefile") CONFIG_FILES="$CONFIG_FILES pam_fshadow/Makefile" ;; 13807 "pam_regex/Makefile") CONFIG_FILES="$CONFIG_FILES pam_regex/Makefile" ;; 13808 "pam_log/Makefile") CONFIG_FILES="$CONFIG_FILES pam_log/Makefile" ;; 13809 "pam_sql/Makefile") CONFIG_FILES="$CONFIG_FILES pam_sql/Makefile" ;; 13810 "pam_ldaphome/Makefile") CONFIG_FILES="$CONFIG_FILES pam_ldaphome/Makefile" ;; 13811 "pam_umotd/Makefile") CONFIG_FILES="$CONFIG_FILES pam_umotd/Makefile" ;; 13812 "pam_groupmember/Makefile") CONFIG_FILES="$CONFIG_FILES pam_groupmember/Makefile" ;; 13813 "pamck/Makefile") CONFIG_FILES="$CONFIG_FILES pamck/Makefile" ;; 13814 13815 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13816 esac 13817done 13818 13819 13820# If the user did not use the arguments to specify the items to instantiate, 13821# then the envvar interface is used. Set only those that are not. 13822# We use the long form for the default assignment because of an extremely 13823# bizarre bug on SunOS 4.1.3. 13824if $ac_need_defaults; then 13825 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13826 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13827 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13828fi 13829 13830# Have a temporary directory for convenience. Make it in the build tree 13831# simply because there is no reason against having it here, and in addition, 13832# creating and moving files from /tmp can sometimes cause problems. 13833# Hook for its removal unless debugging. 13834# Note that there is a small window in which the directory will not be cleaned: 13835# after its creation but before its name has been assigned to `$tmp'. 13836$debug || 13837{ 13838 tmp= ac_tmp= 13839 trap 'exit_status=$? 13840 : "${ac_tmp:=$tmp}" 13841 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13842' 0 13843 trap 'as_fn_exit 1' 1 2 13 15 13844} 13845# Create a (secure) tmp directory for tmp files. 13846 13847{ 13848 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13849 test -d "$tmp" 13850} || 13851{ 13852 tmp=./conf$$-$RANDOM 13853 (umask 077 && mkdir "$tmp") 13854} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13855ac_tmp=$tmp 13856 13857# Set up the scripts for CONFIG_FILES section. 13858# No need to generate them if there are no CONFIG_FILES. 13859# This happens for instance with `./config.status config.h'. 13860if test -n "$CONFIG_FILES"; then 13861 13862 13863ac_cr=`echo X | tr X '\015'` 13864# On cygwin, bash can eat \r inside `` if the user requested igncr. 13865# But we know of no other shell where ac_cr would be empty at this 13866# point, so we can use a bashism as a fallback. 13867if test "x$ac_cr" = x; then 13868 eval ac_cr=\$\'\\r\' 13869fi 13870ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13871if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13872 ac_cs_awk_cr='\\r' 13873else 13874 ac_cs_awk_cr=$ac_cr 13875fi 13876 13877echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13878_ACEOF 13879 13880 13881{ 13882 echo "cat >conf$$subs.awk <<_ACEOF" && 13883 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13884 echo "_ACEOF" 13885} >conf$$subs.sh || 13886 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13887ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13888ac_delim='%!_!# ' 13889for ac_last_try in false false false false false :; do 13890 . ./conf$$subs.sh || 13891 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13892 13893 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13894 if test $ac_delim_n = $ac_delim_num; then 13895 break 13896 elif $ac_last_try; then 13897 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13898 else 13899 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13900 fi 13901done 13902rm -f conf$$subs.sh 13903 13904cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13905cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 13906_ACEOF 13907sed -n ' 13908h 13909s/^/S["/; s/!.*/"]=/ 13910p 13911g 13912s/^[^!]*!// 13913:repl 13914t repl 13915s/'"$ac_delim"'$// 13916t delim 13917:nl 13918h 13919s/\(.\{148\}\)..*/\1/ 13920t more1 13921s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13922p 13923n 13924b repl 13925:more1 13926s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13927p 13928g 13929s/.\{148\}// 13930t nl 13931:delim 13932h 13933s/\(.\{148\}\)..*/\1/ 13934t more2 13935s/["\\]/\\&/g; s/^/"/; s/$/"/ 13936p 13937b 13938:more2 13939s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13940p 13941g 13942s/.\{148\}// 13943t delim 13944' <conf$$subs.awk | sed ' 13945/^[^""]/{ 13946 N 13947 s/\n// 13948} 13949' >>$CONFIG_STATUS || ac_write_fail=1 13950rm -f conf$$subs.awk 13951cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13952_ACAWK 13953cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13954 for (key in S) S_is_set[key] = 1 13955 FS = "" 13956 13957} 13958{ 13959 line = $ 0 13960 nfields = split(line, field, "@") 13961 substed = 0 13962 len = length(field[1]) 13963 for (i = 2; i < nfields; i++) { 13964 key = field[i] 13965 keylen = length(key) 13966 if (S_is_set[key]) { 13967 value = S[key] 13968 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13969 len += length(value) + length(field[++i]) 13970 substed = 1 13971 } else 13972 len += 1 + keylen 13973 } 13974 13975 print line 13976} 13977 13978_ACAWK 13979_ACEOF 13980cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13981if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13982 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13983else 13984 cat 13985fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 13986 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13987_ACEOF 13988 13989# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13990# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13991# trailing colons and then remove the whole line if VPATH becomes empty 13992# (actually we leave an empty line to preserve line numbers). 13993if test "x$srcdir" = x.; then 13994 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13995h 13996s/// 13997s/^/:/ 13998s/[ ]*$/:/ 13999s/:\$(srcdir):/:/g 14000s/:\${srcdir}:/:/g 14001s/:@srcdir@:/:/g 14002s/^:*// 14003s/:*$// 14004x 14005s/\(=[ ]*\).*/\1/ 14006G 14007s/\n// 14008s/^[^=]*=[ ]*$// 14009}' 14010fi 14011 14012cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14013fi # test -n "$CONFIG_FILES" 14014 14015# Set up the scripts for CONFIG_HEADERS section. 14016# No need to generate them if there are no CONFIG_HEADERS. 14017# This happens for instance with `./config.status Makefile'. 14018if test -n "$CONFIG_HEADERS"; then 14019cat >"$ac_tmp/defines.awk" <<\_ACAWK || 14020BEGIN { 14021_ACEOF 14022 14023# Transform confdefs.h into an awk script `defines.awk', embedded as 14024# here-document in config.status, that substitutes the proper values into 14025# config.h.in to produce config.h. 14026 14027# Create a delimiter string that does not exist in confdefs.h, to ease 14028# handling of long lines. 14029ac_delim='%!_!# ' 14030for ac_last_try in false false :; do 14031 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 14032 if test -z "$ac_tt"; then 14033 break 14034 elif $ac_last_try; then 14035 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14036 else 14037 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14038 fi 14039done 14040 14041# For the awk script, D is an array of macro values keyed by name, 14042# likewise P contains macro parameters if any. Preserve backslash 14043# newline sequences. 14044 14045ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14046sed -n ' 14047s/.\{148\}/&'"$ac_delim"'/g 14048t rset 14049:rset 14050s/^[ ]*#[ ]*define[ ][ ]*/ / 14051t def 14052d 14053:def 14054s/\\$// 14055t bsnl 14056s/["\\]/\\&/g 14057s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14058D["\1"]=" \3"/p 14059s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14060d 14061:bsnl 14062s/["\\]/\\&/g 14063s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14064D["\1"]=" \3\\\\\\n"\\/p 14065t cont 14066s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14067t cont 14068d 14069:cont 14070n 14071s/.\{148\}/&'"$ac_delim"'/g 14072t clear 14073:clear 14074s/\\$// 14075t bsnlc 14076s/["\\]/\\&/g; s/^/"/; s/$/"/p 14077d 14078:bsnlc 14079s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14080b cont 14081' <confdefs.h | sed ' 14082s/'"$ac_delim"'/"\\\ 14083"/g' >>$CONFIG_STATUS || ac_write_fail=1 14084 14085cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14086 for (key in D) D_is_set[key] = 1 14087 FS = "" 14088} 14089/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14090 line = \$ 0 14091 split(line, arg, " ") 14092 if (arg[1] == "#") { 14093 defundef = arg[2] 14094 mac1 = arg[3] 14095 } else { 14096 defundef = substr(arg[1], 2) 14097 mac1 = arg[2] 14098 } 14099 split(mac1, mac2, "(") #) 14100 macro = mac2[1] 14101 prefix = substr(line, 1, index(line, defundef) - 1) 14102 if (D_is_set[macro]) { 14103 # Preserve the white space surrounding the "#". 14104 print prefix "define", macro P[macro] D[macro] 14105 next 14106 } else { 14107 # Replace #undef with comments. This is necessary, for example, 14108 # in the case of _POSIX_SOURCE, which is predefined and required 14109 # on some systems where configure will not decide to define it. 14110 if (defundef == "undef") { 14111 print "/*", prefix defundef, macro, "*/" 14112 next 14113 } 14114 } 14115} 14116{ print } 14117_ACAWK 14118_ACEOF 14119cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14120 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14121fi # test -n "$CONFIG_HEADERS" 14122 14123 14124eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14125shift 14126for ac_tag 14127do 14128 case $ac_tag in 14129 :[FHLC]) ac_mode=$ac_tag; continue;; 14130 esac 14131 case $ac_mode$ac_tag in 14132 :[FHL]*:*);; 14133 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14134 :[FH]-) ac_tag=-:-;; 14135 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14136 esac 14137 ac_save_IFS=$IFS 14138 IFS=: 14139 set x $ac_tag 14140 IFS=$ac_save_IFS 14141 shift 14142 ac_file=$1 14143 shift 14144 14145 case $ac_mode in 14146 :L) ac_source=$1;; 14147 :[FH]) 14148 ac_file_inputs= 14149 for ac_f 14150 do 14151 case $ac_f in 14152 -) ac_f="$ac_tmp/stdin";; 14153 *) # Look for the file first in the build tree, then in the source tree 14154 # (if the path is not absolute). The absolute path cannot be DOS-style, 14155 # because $ac_f cannot contain `:'. 14156 test -f "$ac_f" || 14157 case $ac_f in 14158 [\\/$]*) false;; 14159 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14160 esac || 14161 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14162 esac 14163 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14164 as_fn_append ac_file_inputs " '$ac_f'" 14165 done 14166 14167 # Let's still pretend it is `configure' which instantiates (i.e., don't 14168 # use $as_me), people would be surprised to read: 14169 # /* config.h. Generated by config.status. */ 14170 configure_input='Generated from '` 14171 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14172 `' by configure.' 14173 if test x"$ac_file" != x-; then 14174 configure_input="$ac_file. $configure_input" 14175 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14176$as_echo "$as_me: creating $ac_file" >&6;} 14177 fi 14178 # Neutralize special characters interpreted by sed in replacement strings. 14179 case $configure_input in #( 14180 *\&* | *\|* | *\\* ) 14181 ac_sed_conf_input=`$as_echo "$configure_input" | 14182 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14183 *) ac_sed_conf_input=$configure_input;; 14184 esac 14185 14186 case $ac_tag in 14187 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 14188 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14189 esac 14190 ;; 14191 esac 14192 14193 ac_dir=`$as_dirname -- "$ac_file" || 14194$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14195 X"$ac_file" : 'X\(//\)[^/]' \| \ 14196 X"$ac_file" : 'X\(//\)$' \| \ 14197 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14198$as_echo X"$ac_file" | 14199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14200 s//\1/ 14201 q 14202 } 14203 /^X\(\/\/\)[^/].*/{ 14204 s//\1/ 14205 q 14206 } 14207 /^X\(\/\/\)$/{ 14208 s//\1/ 14209 q 14210 } 14211 /^X\(\/\).*/{ 14212 s//\1/ 14213 q 14214 } 14215 s/.*/./; q'` 14216 as_dir="$ac_dir"; as_fn_mkdir_p 14217 ac_builddir=. 14218 14219case "$ac_dir" in 14220.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14221*) 14222 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14223 # A ".." for each directory in $ac_dir_suffix. 14224 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14225 case $ac_top_builddir_sub in 14226 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14227 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14228 esac ;; 14229esac 14230ac_abs_top_builddir=$ac_pwd 14231ac_abs_builddir=$ac_pwd$ac_dir_suffix 14232# for backward compatibility: 14233ac_top_builddir=$ac_top_build_prefix 14234 14235case $srcdir in 14236 .) # We are building in place. 14237 ac_srcdir=. 14238 ac_top_srcdir=$ac_top_builddir_sub 14239 ac_abs_top_srcdir=$ac_pwd ;; 14240 [\\/]* | ?:[\\/]* ) # Absolute name. 14241 ac_srcdir=$srcdir$ac_dir_suffix; 14242 ac_top_srcdir=$srcdir 14243 ac_abs_top_srcdir=$srcdir ;; 14244 *) # Relative name. 14245 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14246 ac_top_srcdir=$ac_top_build_prefix$srcdir 14247 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14248esac 14249ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14250 14251 14252 case $ac_mode in 14253 :F) 14254 # 14255 # CONFIG_FILE 14256 # 14257 14258 case $INSTALL in 14259 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14260 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14261 esac 14262 ac_MKDIR_P=$MKDIR_P 14263 case $MKDIR_P in 14264 [\\/$]* | ?:[\\/]* ) ;; 14265 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14266 esac 14267_ACEOF 14268 14269cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14270# If the template does not know about datarootdir, expand it. 14271# FIXME: This hack should be removed a few years after 2.60. 14272ac_datarootdir_hack=; ac_datarootdir_seen= 14273ac_sed_dataroot=' 14274/datarootdir/ { 14275 p 14276 q 14277} 14278/@datadir@/p 14279/@docdir@/p 14280/@infodir@/p 14281/@localedir@/p 14282/@mandir@/p' 14283case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14284*datarootdir*) ac_datarootdir_seen=yes;; 14285*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14287$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14288_ACEOF 14289cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14290 ac_datarootdir_hack=' 14291 s&@datadir@&$datadir&g 14292 s&@docdir@&$docdir&g 14293 s&@infodir@&$infodir&g 14294 s&@localedir@&$localedir&g 14295 s&@mandir@&$mandir&g 14296 s&\\\${datarootdir}&$datarootdir&g' ;; 14297esac 14298_ACEOF 14299 14300# Neutralize VPATH when `$srcdir' = `.'. 14301# Shell code in configure.ac might set extrasub. 14302# FIXME: do we really want to maintain this feature? 14303cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14304ac_sed_extra="$ac_vpsub 14305$extrasub 14306_ACEOF 14307cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14308:t 14309/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14310s|@configure_input@|$ac_sed_conf_input|;t t 14311s&@top_builddir@&$ac_top_builddir_sub&;t t 14312s&@top_build_prefix@&$ac_top_build_prefix&;t t 14313s&@srcdir@&$ac_srcdir&;t t 14314s&@abs_srcdir@&$ac_abs_srcdir&;t t 14315s&@top_srcdir@&$ac_top_srcdir&;t t 14316s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14317s&@builddir@&$ac_builddir&;t t 14318s&@abs_builddir@&$ac_abs_builddir&;t t 14319s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14320s&@INSTALL@&$ac_INSTALL&;t t 14321s&@MKDIR_P@&$ac_MKDIR_P&;t t 14322$ac_datarootdir_hack 14323" 14324eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14325 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14326 14327test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14328 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14329 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14330 "$ac_tmp/out"`; test -z "$ac_out"; } && 14331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14332which seems to be undefined. Please make sure it is defined" >&5 14333$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14334which seems to be undefined. Please make sure it is defined" >&2;} 14335 14336 rm -f "$ac_tmp/stdin" 14337 case $ac_file in 14338 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14339 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14340 esac \ 14341 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14342 ;; 14343 :H) 14344 # 14345 # CONFIG_HEADER 14346 # 14347 if test x"$ac_file" != x-; then 14348 { 14349 $as_echo "/* $configure_input */" \ 14350 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14351 } >"$ac_tmp/config.h" \ 14352 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14353 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14354 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14355$as_echo "$as_me: $ac_file is unchanged" >&6;} 14356 else 14357 rm -f "$ac_file" 14358 mv "$ac_tmp/config.h" "$ac_file" \ 14359 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14360 fi 14361 else 14362 $as_echo "/* $configure_input */" \ 14363 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14364 || as_fn_error $? "could not create -" "$LINENO" 5 14365 fi 14366# Compute "$ac_file"'s index in $config_headers. 14367_am_arg="$ac_file" 14368_am_stamp_count=1 14369for _am_header in $config_headers :; do 14370 case $_am_header in 14371 $_am_arg | $_am_arg:* ) 14372 break ;; 14373 * ) 14374 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14375 esac 14376done 14377echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14378$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14379 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14380 X"$_am_arg" : 'X\(//\)$' \| \ 14381 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14382$as_echo X"$_am_arg" | 14383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14384 s//\1/ 14385 q 14386 } 14387 /^X\(\/\/\)[^/].*/{ 14388 s//\1/ 14389 q 14390 } 14391 /^X\(\/\/\)$/{ 14392 s//\1/ 14393 q 14394 } 14395 /^X\(\/\).*/{ 14396 s//\1/ 14397 q 14398 } 14399 s/.*/./; q'`/stamp-h$_am_stamp_count 14400 ;; 14401 14402 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14403$as_echo "$as_me: executing $ac_file commands" >&6;} 14404 ;; 14405 esac 14406 14407 14408 case $ac_file$ac_mode in 14409 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14410 # Older Autoconf quotes --file arguments for eval, but not when files 14411 # are listed without --file. Let's play safe and only enable the eval 14412 # if we detect the quoting. 14413 case $CONFIG_FILES in 14414 *\'*) eval set x "$CONFIG_FILES" ;; 14415 *) set x $CONFIG_FILES ;; 14416 esac 14417 shift 14418 for mf 14419 do 14420 # Strip MF so we end up with the name of the file. 14421 mf=`echo "$mf" | sed -e 's/:.*$//'` 14422 # Check whether this is an Automake generated Makefile or not. 14423 # We used to match only the files named 'Makefile.in', but 14424 # some people rename them; so instead we look at the file content. 14425 # Grep'ing the first line is not enough: some people post-process 14426 # each Makefile.in and add a new line on top of each file to say so. 14427 # Grep'ing the whole file is not good either: AIX grep has a line 14428 # limit of 2048, but all sed's we know have understand at least 4000. 14429 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14430 dirpart=`$as_dirname -- "$mf" || 14431$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14432 X"$mf" : 'X\(//\)[^/]' \| \ 14433 X"$mf" : 'X\(//\)$' \| \ 14434 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14435$as_echo X"$mf" | 14436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14437 s//\1/ 14438 q 14439 } 14440 /^X\(\/\/\)[^/].*/{ 14441 s//\1/ 14442 q 14443 } 14444 /^X\(\/\/\)$/{ 14445 s//\1/ 14446 q 14447 } 14448 /^X\(\/\).*/{ 14449 s//\1/ 14450 q 14451 } 14452 s/.*/./; q'` 14453 else 14454 continue 14455 fi 14456 # Extract the definition of DEPDIR, am__include, and am__quote 14457 # from the Makefile without running 'make'. 14458 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14459 test -z "$DEPDIR" && continue 14460 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14461 test -z "$am__include" && continue 14462 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14463 # Find all dependency output files, they are included files with 14464 # $(DEPDIR) in their names. We invoke sed twice because it is the 14465 # simplest approach to changing $(DEPDIR) to its actual value in the 14466 # expansion. 14467 for file in `sed -n " 14468 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14469 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 14470 # Make sure the directory exists. 14471 test -f "$dirpart/$file" && continue 14472 fdir=`$as_dirname -- "$file" || 14473$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14474 X"$file" : 'X\(//\)[^/]' \| \ 14475 X"$file" : 'X\(//\)$' \| \ 14476 X"$file" : 'X\(/\)' \| . 2>/dev/null || 14477$as_echo X"$file" | 14478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14479 s//\1/ 14480 q 14481 } 14482 /^X\(\/\/\)[^/].*/{ 14483 s//\1/ 14484 q 14485 } 14486 /^X\(\/\/\)$/{ 14487 s//\1/ 14488 q 14489 } 14490 /^X\(\/\).*/{ 14491 s//\1/ 14492 q 14493 } 14494 s/.*/./; q'` 14495 as_dir=$dirpart/$fdir; as_fn_mkdir_p 14496 # echo "creating $dirpart/$file" 14497 echo '# dummy' > "$dirpart/$file" 14498 done 14499 done 14500} 14501 ;; 14502 "libtool":C) 14503 14504 # See if we are running on zsh, and set the options which allow our 14505 # commands through without removal of \ escapes. 14506 if test -n "${ZSH_VERSION+set}" ; then 14507 setopt NO_GLOB_SUBST 14508 fi 14509 14510 cfgfile="${ofile}T" 14511 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14512 $RM "$cfgfile" 14513 14514 cat <<_LT_EOF >> "$cfgfile" 14515#! $SHELL 14516 14517# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 14518# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 14519# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14520# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14521# 14522# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 14523# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 14524# Foundation, Inc. 14525# Written by Gordon Matzigkeit, 1996 14526# 14527# This file is part of GNU Libtool. 14528# 14529# GNU Libtool is free software; you can redistribute it and/or 14530# modify it under the terms of the GNU General Public License as 14531# published by the Free Software Foundation; either version 2 of 14532# the License, or (at your option) any later version. 14533# 14534# As a special exception to the GNU General Public License, 14535# if you distribute this file as part of a program or library that 14536# is built using GNU Libtool, you may include this file under the 14537# same distribution terms that you use for the rest of that program. 14538# 14539# GNU Libtool is distributed in the hope that it will be useful, 14540# but WITHOUT ANY WARRANTY; without even the implied warranty of 14541# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14542# GNU General Public License for more details. 14543# 14544# You should have received a copy of the GNU General Public License 14545# along with GNU Libtool; see the file COPYING. If not, a copy 14546# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 14547# obtained by writing to the Free Software Foundation, Inc., 14548# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 14549 14550 14551# The names of the tagged configurations supported by this script. 14552available_tags="" 14553 14554# ### BEGIN LIBTOOL CONFIG 14555 14556# Which release of libtool.m4 was used? 14557macro_version=$macro_version 14558macro_revision=$macro_revision 14559 14560# Whether or not to build shared libraries. 14561build_libtool_libs=$enable_shared 14562 14563# Whether or not to build static libraries. 14564build_old_libs=$enable_static 14565 14566# What type of objects to build. 14567pic_mode=$pic_mode 14568 14569# Whether or not to optimize for fast installation. 14570fast_install=$enable_fast_install 14571 14572# Shell to use when invoking shell scripts. 14573SHELL=$lt_SHELL 14574 14575# An echo program that protects backslashes. 14576ECHO=$lt_ECHO 14577 14578# The PATH separator for the build system. 14579PATH_SEPARATOR=$lt_PATH_SEPARATOR 14580 14581# The host system. 14582host_alias=$host_alias 14583host=$host 14584host_os=$host_os 14585 14586# The build system. 14587build_alias=$build_alias 14588build=$build 14589build_os=$build_os 14590 14591# A sed program that does not truncate output. 14592SED=$lt_SED 14593 14594# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14595Xsed="\$SED -e 1s/^X//" 14596 14597# A grep program that handles long lines. 14598GREP=$lt_GREP 14599 14600# An ERE matcher. 14601EGREP=$lt_EGREP 14602 14603# A literal string matcher. 14604FGREP=$lt_FGREP 14605 14606# A BSD- or MS-compatible name lister. 14607NM=$lt_NM 14608 14609# Whether we need soft or hard links. 14610LN_S=$lt_LN_S 14611 14612# What is the maximum length of a command? 14613max_cmd_len=$max_cmd_len 14614 14615# Object file suffix (normally "o"). 14616objext=$ac_objext 14617 14618# Executable file suffix (normally ""). 14619exeext=$exeext 14620 14621# whether the shell understands "unset". 14622lt_unset=$lt_unset 14623 14624# turn spaces into newlines. 14625SP2NL=$lt_lt_SP2NL 14626 14627# turn newlines into spaces. 14628NL2SP=$lt_lt_NL2SP 14629 14630# convert \$build file names to \$host format. 14631to_host_file_cmd=$lt_cv_to_host_file_cmd 14632 14633# convert \$build files to toolchain format. 14634to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14635 14636# An object symbol dumper. 14637OBJDUMP=$lt_OBJDUMP 14638 14639# Method to check whether dependent libraries are shared objects. 14640deplibs_check_method=$lt_deplibs_check_method 14641 14642# Command to use when deplibs_check_method = "file_magic". 14643file_magic_cmd=$lt_file_magic_cmd 14644 14645# How to find potential files when deplibs_check_method = "file_magic". 14646file_magic_glob=$lt_file_magic_glob 14647 14648# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14649want_nocaseglob=$lt_want_nocaseglob 14650 14651# DLL creation program. 14652DLLTOOL=$lt_DLLTOOL 14653 14654# Command to associate shared and link libraries. 14655sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14656 14657# The archiver. 14658AR=$lt_AR 14659 14660# Flags to create an archive. 14661AR_FLAGS=$lt_AR_FLAGS 14662 14663# How to feed a file listing to the archiver. 14664archiver_list_spec=$lt_archiver_list_spec 14665 14666# A symbol stripping program. 14667STRIP=$lt_STRIP 14668 14669# Commands used to install an old-style archive. 14670RANLIB=$lt_RANLIB 14671old_postinstall_cmds=$lt_old_postinstall_cmds 14672old_postuninstall_cmds=$lt_old_postuninstall_cmds 14673 14674# Whether to use a lock for old archive extraction. 14675lock_old_archive_extraction=$lock_old_archive_extraction 14676 14677# A C compiler. 14678LTCC=$lt_CC 14679 14680# LTCC compiler flags. 14681LTCFLAGS=$lt_CFLAGS 14682 14683# Take the output of nm and produce a listing of raw symbols and C names. 14684global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14685 14686# Transform the output of nm in a proper C declaration. 14687global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14688 14689# Transform the output of nm in a C name address pair. 14690global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14691 14692# Transform the output of nm in a C name address pair when lib prefix is needed. 14693global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14694 14695# Specify filename containing input files for \$NM. 14696nm_file_list_spec=$lt_nm_file_list_spec 14697 14698# The root where to search for dependent libraries,and in which our libraries should be installed. 14699lt_sysroot=$lt_sysroot 14700 14701# The name of the directory that contains temporary libtool files. 14702objdir=$objdir 14703 14704# Used to examine libraries when file_magic_cmd begins with "file". 14705MAGIC_CMD=$MAGIC_CMD 14706 14707# Must we lock files when doing compilation? 14708need_locks=$lt_need_locks 14709 14710# Manifest tool. 14711MANIFEST_TOOL=$lt_MANIFEST_TOOL 14712 14713# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14714DSYMUTIL=$lt_DSYMUTIL 14715 14716# Tool to change global to local symbols on Mac OS X. 14717NMEDIT=$lt_NMEDIT 14718 14719# Tool to manipulate fat objects and archives on Mac OS X. 14720LIPO=$lt_LIPO 14721 14722# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14723OTOOL=$lt_OTOOL 14724 14725# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14726OTOOL64=$lt_OTOOL64 14727 14728# Old archive suffix (normally "a"). 14729libext=$libext 14730 14731# Shared library suffix (normally ".so"). 14732shrext_cmds=$lt_shrext_cmds 14733 14734# The commands to extract the exported symbol list from a shared archive. 14735extract_expsyms_cmds=$lt_extract_expsyms_cmds 14736 14737# Variables whose values should be saved in libtool wrapper scripts and 14738# restored at link time. 14739variables_saved_for_relink=$lt_variables_saved_for_relink 14740 14741# Do we need the "lib" prefix for modules? 14742need_lib_prefix=$need_lib_prefix 14743 14744# Do we need a version for libraries? 14745need_version=$need_version 14746 14747# Library versioning type. 14748version_type=$version_type 14749 14750# Shared library runtime path variable. 14751runpath_var=$runpath_var 14752 14753# Shared library path variable. 14754shlibpath_var=$shlibpath_var 14755 14756# Is shlibpath searched before the hard-coded library search path? 14757shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14758 14759# Format of library name prefix. 14760libname_spec=$lt_libname_spec 14761 14762# List of archive names. First name is the real one, the rest are links. 14763# The last name is the one that the linker finds with -lNAME 14764library_names_spec=$lt_library_names_spec 14765 14766# The coded name of the library, if different from the real name. 14767soname_spec=$lt_soname_spec 14768 14769# Permission mode override for installation of shared libraries. 14770install_override_mode=$lt_install_override_mode 14771 14772# Command to use after installation of a shared archive. 14773postinstall_cmds=$lt_postinstall_cmds 14774 14775# Command to use after uninstallation of a shared archive. 14776postuninstall_cmds=$lt_postuninstall_cmds 14777 14778# Commands used to finish a libtool library installation in a directory. 14779finish_cmds=$lt_finish_cmds 14780 14781# As "finish_cmds", except a single script fragment to be evaled but 14782# not shown. 14783finish_eval=$lt_finish_eval 14784 14785# Whether we should hardcode library paths into libraries. 14786hardcode_into_libs=$hardcode_into_libs 14787 14788# Compile-time system search path for libraries. 14789sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14790 14791# Run-time system search path for libraries. 14792sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 14793 14794# Whether dlopen is supported. 14795dlopen_support=$enable_dlopen 14796 14797# Whether dlopen of programs is supported. 14798dlopen_self=$enable_dlopen_self 14799 14800# Whether dlopen of statically linked programs is supported. 14801dlopen_self_static=$enable_dlopen_self_static 14802 14803# Commands to strip libraries. 14804old_striplib=$lt_old_striplib 14805striplib=$lt_striplib 14806 14807 14808# The linker used to build libraries. 14809LD=$lt_LD 14810 14811# How to create reloadable object files. 14812reload_flag=$lt_reload_flag 14813reload_cmds=$lt_reload_cmds 14814 14815# Commands used to build an old-style archive. 14816old_archive_cmds=$lt_old_archive_cmds 14817 14818# A language specific compiler. 14819CC=$lt_compiler 14820 14821# Is the compiler the GNU compiler? 14822with_gcc=$GCC 14823 14824# Compiler flag to turn off builtin functions. 14825no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14826 14827# Additional compiler flags for building library objects. 14828pic_flag=$lt_lt_prog_compiler_pic 14829 14830# How to pass a linker flag through the compiler. 14831wl=$lt_lt_prog_compiler_wl 14832 14833# Compiler flag to prevent dynamic linking. 14834link_static_flag=$lt_lt_prog_compiler_static 14835 14836# Does compiler simultaneously support -c and -o options? 14837compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14838 14839# Whether or not to add -lc for building shared libraries. 14840build_libtool_need_lc=$archive_cmds_need_lc 14841 14842# Whether or not to disallow shared libs when runtime libs are static. 14843allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14844 14845# Compiler flag to allow reflexive dlopens. 14846export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14847 14848# Compiler flag to generate shared objects directly from archives. 14849whole_archive_flag_spec=$lt_whole_archive_flag_spec 14850 14851# Whether the compiler copes with passing no objects directly. 14852compiler_needs_object=$lt_compiler_needs_object 14853 14854# Create an old-style archive from a shared archive. 14855old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14856 14857# Create a temporary old-style archive to link instead of a shared archive. 14858old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14859 14860# Commands used to build a shared archive. 14861archive_cmds=$lt_archive_cmds 14862archive_expsym_cmds=$lt_archive_expsym_cmds 14863 14864# Commands used to build a loadable module if different from building 14865# a shared archive. 14866module_cmds=$lt_module_cmds 14867module_expsym_cmds=$lt_module_expsym_cmds 14868 14869# Whether we are building with GNU ld or not. 14870with_gnu_ld=$lt_with_gnu_ld 14871 14872# Flag that allows shared libraries with undefined symbols to be built. 14873allow_undefined_flag=$lt_allow_undefined_flag 14874 14875# Flag that enforces no undefined symbols. 14876no_undefined_flag=$lt_no_undefined_flag 14877 14878# Flag to hardcode \$libdir into a binary during linking. 14879# This must work even if \$libdir does not exist 14880hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14881 14882# Whether we need a single "-rpath" flag with a separated argument. 14883hardcode_libdir_separator=$lt_hardcode_libdir_separator 14884 14885# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14886# DIR into the resulting binary. 14887hardcode_direct=$hardcode_direct 14888 14889# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14890# DIR into the resulting binary and the resulting library dependency is 14891# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 14892# library is relocated. 14893hardcode_direct_absolute=$hardcode_direct_absolute 14894 14895# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14896# into the resulting binary. 14897hardcode_minus_L=$hardcode_minus_L 14898 14899# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14900# into the resulting binary. 14901hardcode_shlibpath_var=$hardcode_shlibpath_var 14902 14903# Set to "yes" if building a shared library automatically hardcodes DIR 14904# into the library and all subsequent libraries and executables linked 14905# against it. 14906hardcode_automatic=$hardcode_automatic 14907 14908# Set to yes if linker adds runtime paths of dependent libraries 14909# to runtime path list. 14910inherit_rpath=$inherit_rpath 14911 14912# Whether libtool must link a program against all its dependency libraries. 14913link_all_deplibs=$link_all_deplibs 14914 14915# Set to "yes" if exported symbols are required. 14916always_export_symbols=$always_export_symbols 14917 14918# The commands to list exported symbols. 14919export_symbols_cmds=$lt_export_symbols_cmds 14920 14921# Symbols that should not be listed in the preloaded symbols. 14922exclude_expsyms=$lt_exclude_expsyms 14923 14924# Symbols that must always be exported. 14925include_expsyms=$lt_include_expsyms 14926 14927# Commands necessary for linking programs (against libraries) with templates. 14928prelink_cmds=$lt_prelink_cmds 14929 14930# Commands necessary for finishing linking programs. 14931postlink_cmds=$lt_postlink_cmds 14932 14933# Specify filename containing input files. 14934file_list_spec=$lt_file_list_spec 14935 14936# How to hardcode a shared library path into an executable. 14937hardcode_action=$hardcode_action 14938 14939# ### END LIBTOOL CONFIG 14940 14941_LT_EOF 14942 14943 case $host_os in 14944 aix3*) 14945 cat <<\_LT_EOF >> "$cfgfile" 14946# AIX sometimes has problems with the GCC collect2 program. For some 14947# reason, if we set the COLLECT_NAMES environment variable, the problems 14948# vanish in a puff of smoke. 14949if test "X${COLLECT_NAMES+set}" != Xset; then 14950 COLLECT_NAMES= 14951 export COLLECT_NAMES 14952fi 14953_LT_EOF 14954 ;; 14955 esac 14956 14957 14958ltmain="$ac_aux_dir/ltmain.sh" 14959 14960 14961 # We use sed instead of cat because bash on DJGPP gets confused if 14962 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14963 # text mode, it properly converts lines to CR/LF. This bash problem 14964 # is reportedly fixed, but why not run on old versions too? 14965 sed '$q' "$ltmain" >> "$cfgfile" \ 14966 || (rm -f "$cfgfile"; exit 1) 14967 14968 if test x"$xsi_shell" = xyes; then 14969 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 14970func_dirname ()\ 14971{\ 14972\ case ${1} in\ 14973\ */*) func_dirname_result="${1%/*}${2}" ;;\ 14974\ * ) func_dirname_result="${3}" ;;\ 14975\ esac\ 14976} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 14977 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14978 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14979test 0 -eq $? || _lt_function_replace_fail=: 14980 14981 14982 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 14983func_basename ()\ 14984{\ 14985\ func_basename_result="${1##*/}"\ 14986} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 14987 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14988 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14989test 0 -eq $? || _lt_function_replace_fail=: 14990 14991 14992 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 14993func_dirname_and_basename ()\ 14994{\ 14995\ case ${1} in\ 14996\ */*) func_dirname_result="${1%/*}${2}" ;;\ 14997\ * ) func_dirname_result="${3}" ;;\ 14998\ esac\ 14999\ func_basename_result="${1##*/}"\ 15000} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15001 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15002 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15003test 0 -eq $? || _lt_function_replace_fail=: 15004 15005 15006 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 15007func_stripname ()\ 15008{\ 15009\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 15010\ # positional parameters, so assign one to ordinary parameter first.\ 15011\ func_stripname_result=${3}\ 15012\ func_stripname_result=${func_stripname_result#"${1}"}\ 15013\ func_stripname_result=${func_stripname_result%"${2}"}\ 15014} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 15015 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15016 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15017test 0 -eq $? || _lt_function_replace_fail=: 15018 15019 15020 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 15021func_split_long_opt ()\ 15022{\ 15023\ func_split_long_opt_name=${1%%=*}\ 15024\ func_split_long_opt_arg=${1#*=}\ 15025} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15026 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15027 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15028test 0 -eq $? || _lt_function_replace_fail=: 15029 15030 15031 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 15032func_split_short_opt ()\ 15033{\ 15034\ func_split_short_opt_arg=${1#??}\ 15035\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 15036} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15037 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15038 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15039test 0 -eq $? || _lt_function_replace_fail=: 15040 15041 15042 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 15043func_lo2o ()\ 15044{\ 15045\ case ${1} in\ 15046\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 15047\ *) func_lo2o_result=${1} ;;\ 15048\ esac\ 15049} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 15050 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15051 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15052test 0 -eq $? || _lt_function_replace_fail=: 15053 15054 15055 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 15056func_xform ()\ 15057{\ 15058 func_xform_result=${1%.*}.lo\ 15059} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 15060 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15061 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15062test 0 -eq $? || _lt_function_replace_fail=: 15063 15064 15065 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 15066func_arith ()\ 15067{\ 15068 func_arith_result=$(( $* ))\ 15069} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 15070 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15071 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15072test 0 -eq $? || _lt_function_replace_fail=: 15073 15074 15075 sed -e '/^func_len ()$/,/^} # func_len /c\ 15076func_len ()\ 15077{\ 15078 func_len_result=${#1}\ 15079} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 15080 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15081 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15082test 0 -eq $? || _lt_function_replace_fail=: 15083 15084fi 15085 15086if test x"$lt_shell_append" = xyes; then 15087 sed -e '/^func_append ()$/,/^} # func_append /c\ 15088func_append ()\ 15089{\ 15090 eval "${1}+=\\${2}"\ 15091} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 15092 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15093 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15094test 0 -eq $? || _lt_function_replace_fail=: 15095 15096 15097 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 15098func_append_quoted ()\ 15099{\ 15100\ func_quote_for_eval "${2}"\ 15101\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 15102} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 15103 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15104 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15105test 0 -eq $? || _lt_function_replace_fail=: 15106 15107 15108 # Save a `func_append' function call where possible by direct use of '+=' 15109 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 15110 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15111 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15112 test 0 -eq $? || _lt_function_replace_fail=: 15113else 15114 # Save a `func_append' function call even when '+=' is not available 15115 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 15116 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15117 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15118 test 0 -eq $? || _lt_function_replace_fail=: 15119fi 15120 15121if test x"$_lt_function_replace_fail" = x":"; then 15122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 15123$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 15124fi 15125 15126 15127 mv -f "$cfgfile" "$ofile" || 15128 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15129 chmod +x "$ofile" 15130 15131 ;; 15132 "status":C) 15133echo "" 15134delim="-------------------------------------------------------------------" 15135echo $delim | tr '-' '*' 15136echo "Modules to build:" 15137res= 15138for module in fshadow regex log pgsql mysql ldaphome umotd groupmember 15139do 15140 modname=pam_$module 15141 eval enable=\${build_$module} 15142 str=`echo ${modname}" yes" | sed 's/./-/g'` 15143 dstr=`echo $delim | sed "s/^$str//" | tr '-' '.'` 15144 echo ${modname}$dstr $enable 15145 res="$res$enable" 15146done 15147echo $delim | tr '-' '*' 15148case "$res" in 15149*yes*) ;; 15150*) 15151 as_fn_error $? "Nothing to build?" "$LINENO" 5 15152esac 15153 ;; 15154 15155 esac 15156done # for ac_tag 15157 15158 15159as_fn_exit 0 15160_ACEOF 15161ac_clean_files=$ac_clean_files_save 15162 15163test $ac_write_fail = 0 || 15164 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 15165 15166 15167# configure is writing to config.log, and then calls config.status. 15168# config.status does its own redirection, appending to config.log. 15169# Unfortunately, on DOS this fails, as config.log is still kept open 15170# by configure, so config.status won't be able to write to it; its 15171# output is simply discarded. So we exec the FD to /dev/null, 15172# effectively closing config.log, so it can be properly (re)opened and 15173# appended to by config.status. When coming back to configure, we 15174# need to make the FD available again. 15175if test "$no_create" != yes; then 15176 ac_cs_success=: 15177 ac_config_status_args= 15178 test "$silent" = yes && 15179 ac_config_status_args="$ac_config_status_args --quiet" 15180 exec 5>/dev/null 15181 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15182 exec 5>>config.log 15183 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15184 # would make configure fail if this is the last instruction. 15185 $ac_cs_success || as_fn_exit 1 15186fi 15187if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15189$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15190fi 15191 15192