1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for Flickcurl 1.26. 4# 5# Report bugs to <http://bugs.librdf.org/>. 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: http://bugs.librdf.org/ 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='Flickcurl' 592PACKAGE_TARNAME='flickcurl' 593PACKAGE_VERSION='1.26' 594PACKAGE_STRING='Flickcurl 1.26' 595PACKAGE_BUGREPORT='http://bugs.librdf.org/' 596PACKAGE_URL='' 597 598ac_unique_file="src/flickcurl.h" 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 638GTK_DOC_USE_REBASE_FALSE 639GTK_DOC_USE_REBASE_TRUE 640GTK_DOC_USE_LIBTOOL_FALSE 641GTK_DOC_USE_LIBTOOL_TRUE 642GTK_DOC_BUILD_PDF_FALSE 643GTK_DOC_BUILD_PDF_TRUE 644GTK_DOC_BUILD_HTML_FALSE 645GTK_DOC_BUILD_HTML_TRUE 646ENABLE_GTK_DOC_FALSE 647ENABLE_GTK_DOC_TRUE 648GTKDOC_DEPS_LIBS 649GTKDOC_DEPS_CFLAGS 650HTML_DIR 651GTKDOC_MKPDF 652GTKDOC_REBASE 653GTKDOC_CHECK 654PKG_CONFIG_LIBDIR 655PKG_CONFIG_PATH 656AM_BACKSLASH 657AM_DEFAULT_VERBOSITY 658AM_DEFAULT_V 659AM_V 660ECHO 661PKG_CONFIG_REQUIRES 662STANDARD_CFLAGS 663OFFLINE_FALSE 664OFFLINE_TRUE 665RAPTOR_CFLAGS 666RAPTOR_LIBS 667RAPTOR_FALSE 668RAPTOR_TRUE 669RAPTOR_MIN_VERSION 670CURL_CONFIG 671LIBCURL_MIN_VERSION 672XML_CONFIG 673LIBXML_MIN_VERSION 674PKG_CONFIG 675RECHO 676GETOPT_FALSE 677GETOPT_TRUE 678LIBOBJS 679CPP 680OTOOL64 681OTOOL 682LIPO 683NMEDIT 684DSYMUTIL 685MANIFEST_TOOL 686RANLIB 687DLLTOOL 688OBJDUMP 689LN_S 690NM 691ac_ct_DUMPBIN 692DUMPBIN 693LD 694FGREP 695EGREP 696GREP 697SED 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 716ac_ct_AR 717AR 718host_os 719host_vendor 720host_cpu 721host 722build_os 723build_vendor 724build_cpu 725build 726LIBFLICKCURL_LIBTOOL_VERSION 727FLICKCURL_VERSION_DECIMAL 728MAINT 729MAINTAINER_MODE_FALSE 730MAINTAINER_MODE_TRUE 731am__untar 732am__tar 733AMTAR 734am__leading_dot 735SET_MAKE 736AWK 737mkdir_p 738MKDIR_P 739INSTALL_STRIP_PROGRAM 740STRIP 741install_sh 742MAKEINFO 743AUTOHEADER 744AUTOMAKE 745AUTOCONF 746ACLOCAL 747VERSION 748PACKAGE 749CYGPATH_W 750am__isrc 751INSTALL_DATA 752INSTALL_SCRIPT 753INSTALL_PROGRAM 754target_alias 755host_alias 756build_alias 757LIBS 758ECHO_T 759ECHO_N 760ECHO_C 761DEFS 762mandir 763localedir 764libdir 765psdir 766pdfdir 767dvidir 768htmldir 769infodir 770docdir 771oldincludedir 772includedir 773localstatedir 774sharedstatedir 775sysconfdir 776datadir 777datarootdir 778libexecdir 779sbindir 780bindir 781program_transform_name 782prefix 783exec_prefix 784PACKAGE_URL 785PACKAGE_BUGREPORT 786PACKAGE_STRING 787PACKAGE_VERSION 788PACKAGE_TARNAME 789PACKAGE_NAME 790PATH_SEPARATOR 791SHELL' 792ac_subst_files='' 793ac_user_opts=' 794enable_option_checking 795enable_maintainer_mode 796enable_dependency_tracking 797enable_shared 798enable_static 799with_pic 800enable_fast_install 801with_gnu_ld 802with_sysroot 803enable_libtool_lock 804with_xml2_config 805with_curl_config 806with_raptor 807enable_offline 808enable_capture 809enable_silent_rules 810with_html_dir 811enable_gtk_doc 812enable_gtk_doc_html 813enable_gtk_doc_pdf 814' 815 ac_precious_vars='build_alias 816host_alias 817target_alias 818CC 819CFLAGS 820LDFLAGS 821LIBS 822CPPFLAGS 823CPP 824PKG_CONFIG 825PKG_CONFIG_PATH 826PKG_CONFIG_LIBDIR 827GTKDOC_DEPS_CFLAGS 828GTKDOC_DEPS_LIBS' 829 830 831# Initialize some variables set by options. 832ac_init_help= 833ac_init_version=false 834ac_unrecognized_opts= 835ac_unrecognized_sep= 836# The variables have the same names as the options, with 837# dashes changed to underlines. 838cache_file=/dev/null 839exec_prefix=NONE 840no_create= 841no_recursion= 842prefix=NONE 843program_prefix=NONE 844program_suffix=NONE 845program_transform_name=s,x,x, 846silent= 847site= 848srcdir= 849verbose= 850x_includes=NONE 851x_libraries=NONE 852 853# Installation directory options. 854# These are left unexpanded so users can "make install exec_prefix=/foo" 855# and all the variables that are supposed to be based on exec_prefix 856# by default will actually change. 857# Use braces instead of parens because sh, perl, etc. also accept them. 858# (The list follows the same order as the GNU Coding Standards.) 859bindir='${exec_prefix}/bin' 860sbindir='${exec_prefix}/sbin' 861libexecdir='${exec_prefix}/libexec' 862datarootdir='${prefix}/share' 863datadir='${datarootdir}' 864sysconfdir='${prefix}/etc' 865sharedstatedir='${prefix}/com' 866localstatedir='${prefix}/var' 867includedir='${prefix}/include' 868oldincludedir='/usr/include' 869docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 870infodir='${datarootdir}/info' 871htmldir='${docdir}' 872dvidir='${docdir}' 873pdfdir='${docdir}' 874psdir='${docdir}' 875libdir='${exec_prefix}/lib' 876localedir='${datarootdir}/locale' 877mandir='${datarootdir}/man' 878 879ac_prev= 880ac_dashdash= 881for ac_option 882do 883 # If the previous option needs an argument, assign it. 884 if test -n "$ac_prev"; then 885 eval $ac_prev=\$ac_option 886 ac_prev= 887 continue 888 fi 889 890 case $ac_option in 891 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 892 *=) ac_optarg= ;; 893 *) ac_optarg=yes ;; 894 esac 895 896 # Accept the important Cygnus configure options, so we can diagnose typos. 897 898 case $ac_dashdash$ac_option in 899 --) 900 ac_dashdash=yes ;; 901 902 -bindir | --bindir | --bindi | --bind | --bin | --bi) 903 ac_prev=bindir ;; 904 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 905 bindir=$ac_optarg ;; 906 907 -build | --build | --buil | --bui | --bu) 908 ac_prev=build_alias ;; 909 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 910 build_alias=$ac_optarg ;; 911 912 -cache-file | --cache-file | --cache-fil | --cache-fi \ 913 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 914 ac_prev=cache_file ;; 915 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 916 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 917 cache_file=$ac_optarg ;; 918 919 --config-cache | -C) 920 cache_file=config.cache ;; 921 922 -datadir | --datadir | --datadi | --datad) 923 ac_prev=datadir ;; 924 -datadir=* | --datadir=* | --datadi=* | --datad=*) 925 datadir=$ac_optarg ;; 926 927 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 928 | --dataroo | --dataro | --datar) 929 ac_prev=datarootdir ;; 930 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 931 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 932 datarootdir=$ac_optarg ;; 933 934 -disable-* | --disable-*) 935 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 936 # Reject names that are not valid shell variable names. 937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 938 as_fn_error $? "invalid feature name: $ac_useropt" 939 ac_useropt_orig=$ac_useropt 940 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 941 case $ac_user_opts in 942 *" 943"enable_$ac_useropt" 944"*) ;; 945 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 946 ac_unrecognized_sep=', ';; 947 esac 948 eval enable_$ac_useropt=no ;; 949 950 -docdir | --docdir | --docdi | --doc | --do) 951 ac_prev=docdir ;; 952 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 953 docdir=$ac_optarg ;; 954 955 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 956 ac_prev=dvidir ;; 957 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 958 dvidir=$ac_optarg ;; 959 960 -enable-* | --enable-*) 961 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 962 # Reject names that are not valid shell variable names. 963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 964 as_fn_error $? "invalid feature name: $ac_useropt" 965 ac_useropt_orig=$ac_useropt 966 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 967 case $ac_user_opts in 968 *" 969"enable_$ac_useropt" 970"*) ;; 971 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 972 ac_unrecognized_sep=', ';; 973 esac 974 eval enable_$ac_useropt=\$ac_optarg ;; 975 976 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 977 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 978 | --exec | --exe | --ex) 979 ac_prev=exec_prefix ;; 980 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 981 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 982 | --exec=* | --exe=* | --ex=*) 983 exec_prefix=$ac_optarg ;; 984 985 -gas | --gas | --ga | --g) 986 # Obsolete; use --with-gas. 987 with_gas=yes ;; 988 989 -help | --help | --hel | --he | -h) 990 ac_init_help=long ;; 991 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 992 ac_init_help=recursive ;; 993 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 994 ac_init_help=short ;; 995 996 -host | --host | --hos | --ho) 997 ac_prev=host_alias ;; 998 -host=* | --host=* | --hos=* | --ho=*) 999 host_alias=$ac_optarg ;; 1000 1001 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1002 ac_prev=htmldir ;; 1003 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1004 | --ht=*) 1005 htmldir=$ac_optarg ;; 1006 1007 -includedir | --includedir | --includedi | --included | --include \ 1008 | --includ | --inclu | --incl | --inc) 1009 ac_prev=includedir ;; 1010 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1011 | --includ=* | --inclu=* | --incl=* | --inc=*) 1012 includedir=$ac_optarg ;; 1013 1014 -infodir | --infodir | --infodi | --infod | --info | --inf) 1015 ac_prev=infodir ;; 1016 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1017 infodir=$ac_optarg ;; 1018 1019 -libdir | --libdir | --libdi | --libd) 1020 ac_prev=libdir ;; 1021 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1022 libdir=$ac_optarg ;; 1023 1024 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1025 | --libexe | --libex | --libe) 1026 ac_prev=libexecdir ;; 1027 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1028 | --libexe=* | --libex=* | --libe=*) 1029 libexecdir=$ac_optarg ;; 1030 1031 -localedir | --localedir | --localedi | --localed | --locale) 1032 ac_prev=localedir ;; 1033 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1034 localedir=$ac_optarg ;; 1035 1036 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1037 | --localstate | --localstat | --localsta | --localst | --locals) 1038 ac_prev=localstatedir ;; 1039 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1040 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1041 localstatedir=$ac_optarg ;; 1042 1043 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1044 ac_prev=mandir ;; 1045 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1046 mandir=$ac_optarg ;; 1047 1048 -nfp | --nfp | --nf) 1049 # Obsolete; use --without-fp. 1050 with_fp=no ;; 1051 1052 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1053 | --no-cr | --no-c | -n) 1054 no_create=yes ;; 1055 1056 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1057 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1058 no_recursion=yes ;; 1059 1060 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1061 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1062 | --oldin | --oldi | --old | --ol | --o) 1063 ac_prev=oldincludedir ;; 1064 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1065 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1066 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1067 oldincludedir=$ac_optarg ;; 1068 1069 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1070 ac_prev=prefix ;; 1071 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1072 prefix=$ac_optarg ;; 1073 1074 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1075 | --program-pre | --program-pr | --program-p) 1076 ac_prev=program_prefix ;; 1077 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1078 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1079 program_prefix=$ac_optarg ;; 1080 1081 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1082 | --program-suf | --program-su | --program-s) 1083 ac_prev=program_suffix ;; 1084 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1085 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1086 program_suffix=$ac_optarg ;; 1087 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 ac_prev=program_transform_name ;; 1096 -program-transform-name=* | --program-transform-name=* \ 1097 | --program-transform-nam=* | --program-transform-na=* \ 1098 | --program-transform-n=* | --program-transform-=* \ 1099 | --program-transform=* | --program-transfor=* \ 1100 | --program-transfo=* | --program-transf=* \ 1101 | --program-trans=* | --program-tran=* \ 1102 | --progr-tra=* | --program-tr=* | --program-t=*) 1103 program_transform_name=$ac_optarg ;; 1104 1105 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1106 ac_prev=pdfdir ;; 1107 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1108 pdfdir=$ac_optarg ;; 1109 1110 -psdir | --psdir | --psdi | --psd | --ps) 1111 ac_prev=psdir ;; 1112 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1113 psdir=$ac_optarg ;; 1114 1115 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1116 | -silent | --silent | --silen | --sile | --sil) 1117 silent=yes ;; 1118 1119 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1120 ac_prev=sbindir ;; 1121 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1122 | --sbi=* | --sb=*) 1123 sbindir=$ac_optarg ;; 1124 1125 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1126 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1127 | --sharedst | --shareds | --shared | --share | --shar \ 1128 | --sha | --sh) 1129 ac_prev=sharedstatedir ;; 1130 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1131 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1132 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1133 | --sha=* | --sh=*) 1134 sharedstatedir=$ac_optarg ;; 1135 1136 -site | --site | --sit) 1137 ac_prev=site ;; 1138 -site=* | --site=* | --sit=*) 1139 site=$ac_optarg ;; 1140 1141 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1142 ac_prev=srcdir ;; 1143 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1144 srcdir=$ac_optarg ;; 1145 1146 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1147 | --syscon | --sysco | --sysc | --sys | --sy) 1148 ac_prev=sysconfdir ;; 1149 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1150 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1151 sysconfdir=$ac_optarg ;; 1152 1153 -target | --target | --targe | --targ | --tar | --ta | --t) 1154 ac_prev=target_alias ;; 1155 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1156 target_alias=$ac_optarg ;; 1157 1158 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1159 verbose=yes ;; 1160 1161 -version | --version | --versio | --versi | --vers | -V) 1162 ac_init_version=: ;; 1163 1164 -with-* | --with-*) 1165 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1166 # Reject names that are not valid shell variable names. 1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1168 as_fn_error $? "invalid package name: $ac_useropt" 1169 ac_useropt_orig=$ac_useropt 1170 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1171 case $ac_user_opts in 1172 *" 1173"with_$ac_useropt" 1174"*) ;; 1175 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1176 ac_unrecognized_sep=', ';; 1177 esac 1178 eval with_$ac_useropt=\$ac_optarg ;; 1179 1180 -without-* | --without-*) 1181 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1182 # Reject names that are not valid shell variable names. 1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1184 as_fn_error $? "invalid package name: $ac_useropt" 1185 ac_useropt_orig=$ac_useropt 1186 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1187 case $ac_user_opts in 1188 *" 1189"with_$ac_useropt" 1190"*) ;; 1191 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1192 ac_unrecognized_sep=', ';; 1193 esac 1194 eval with_$ac_useropt=no ;; 1195 1196 --x) 1197 # Obsolete; use --with-x. 1198 with_x=yes ;; 1199 1200 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1201 | --x-incl | --x-inc | --x-in | --x-i) 1202 ac_prev=x_includes ;; 1203 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1204 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1205 x_includes=$ac_optarg ;; 1206 1207 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1208 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1209 ac_prev=x_libraries ;; 1210 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1211 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1212 x_libraries=$ac_optarg ;; 1213 1214 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1215Try \`$0 --help' for more information" 1216 ;; 1217 1218 *=*) 1219 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1220 # Reject names that are not valid shell variable names. 1221 case $ac_envvar in #( 1222 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1223 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1224 esac 1225 eval $ac_envvar=\$ac_optarg 1226 export $ac_envvar ;; 1227 1228 *) 1229 # FIXME: should be removed in autoconf 3.0. 1230 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1231 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1232 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1233 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1234 ;; 1235 1236 esac 1237done 1238 1239if test -n "$ac_prev"; then 1240 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1241 as_fn_error $? "missing argument to $ac_option" 1242fi 1243 1244if test -n "$ac_unrecognized_opts"; then 1245 case $enable_option_checking in 1246 no) ;; 1247 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1248 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1249 esac 1250fi 1251 1252# Check all directory arguments for consistency. 1253for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1254 datadir sysconfdir sharedstatedir localstatedir includedir \ 1255 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1256 libdir localedir mandir 1257do 1258 eval ac_val=\$$ac_var 1259 # Remove trailing slashes. 1260 case $ac_val in 1261 */ ) 1262 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1263 eval $ac_var=\$ac_val;; 1264 esac 1265 # Be sure to have absolute directory names. 1266 case $ac_val in 1267 [\\/$]* | ?:[\\/]* ) continue;; 1268 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1269 esac 1270 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1271done 1272 1273# There might be people who depend on the old broken behavior: `$host' 1274# used to hold the argument of --host etc. 1275# FIXME: To remove some day. 1276build=$build_alias 1277host=$host_alias 1278target=$target_alias 1279 1280# FIXME: To remove some day. 1281if test "x$host_alias" != x; then 1282 if test "x$build_alias" = x; then 1283 cross_compiling=maybe 1284 elif test "x$build_alias" != "x$host_alias"; then 1285 cross_compiling=yes 1286 fi 1287fi 1288 1289ac_tool_prefix= 1290test -n "$host_alias" && ac_tool_prefix=$host_alias- 1291 1292test "$silent" = yes && exec 6>/dev/null 1293 1294 1295ac_pwd=`pwd` && test -n "$ac_pwd" && 1296ac_ls_di=`ls -di .` && 1297ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1298 as_fn_error $? "working directory cannot be determined" 1299test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1300 as_fn_error $? "pwd does not report name of working directory" 1301 1302 1303# Find the source files, if location was not specified. 1304if test -z "$srcdir"; then 1305 ac_srcdir_defaulted=yes 1306 # Try the directory containing this script, then the parent directory. 1307 ac_confdir=`$as_dirname -- "$as_myself" || 1308$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1309 X"$as_myself" : 'X\(//\)[^/]' \| \ 1310 X"$as_myself" : 'X\(//\)$' \| \ 1311 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1312$as_echo X"$as_myself" | 1313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1314 s//\1/ 1315 q 1316 } 1317 /^X\(\/\/\)[^/].*/{ 1318 s//\1/ 1319 q 1320 } 1321 /^X\(\/\/\)$/{ 1322 s//\1/ 1323 q 1324 } 1325 /^X\(\/\).*/{ 1326 s//\1/ 1327 q 1328 } 1329 s/.*/./; q'` 1330 srcdir=$ac_confdir 1331 if test ! -r "$srcdir/$ac_unique_file"; then 1332 srcdir=.. 1333 fi 1334else 1335 ac_srcdir_defaulted=no 1336fi 1337if test ! -r "$srcdir/$ac_unique_file"; then 1338 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1339 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1340fi 1341ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1342ac_abs_confdir=`( 1343 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1344 pwd)` 1345# When building in place, set srcdir=. 1346if test "$ac_abs_confdir" = "$ac_pwd"; then 1347 srcdir=. 1348fi 1349# Remove unnecessary trailing slashes from srcdir. 1350# Double slashes in file names in object file debugging info 1351# mess up M-x gdb in Emacs. 1352case $srcdir in 1353*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1354esac 1355for ac_var in $ac_precious_vars; do 1356 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1357 eval ac_env_${ac_var}_value=\$${ac_var} 1358 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1359 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1360done 1361 1362# 1363# Report the --help message. 1364# 1365if test "$ac_init_help" = "long"; then 1366 # Omit some internal or obsolete options to make the list less imposing. 1367 # This message is too long to be a string in the A/UX 3.1 sh. 1368 cat <<_ACEOF 1369\`configure' configures Flickcurl 1.26 to adapt to many kinds of systems. 1370 1371Usage: $0 [OPTION]... [VAR=VALUE]... 1372 1373To assign environment variables (e.g., CC, CFLAGS...), specify them as 1374VAR=VALUE. See below for descriptions of some of the useful variables. 1375 1376Defaults for the options are specified in brackets. 1377 1378Configuration: 1379 -h, --help display this help and exit 1380 --help=short display options specific to this package 1381 --help=recursive display the short help of all the included packages 1382 -V, --version display version information and exit 1383 -q, --quiet, --silent do not print \`checking ...' messages 1384 --cache-file=FILE cache test results in FILE [disabled] 1385 -C, --config-cache alias for \`--cache-file=config.cache' 1386 -n, --no-create do not create output files 1387 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1388 1389Installation directories: 1390 --prefix=PREFIX install architecture-independent files in PREFIX 1391 [$ac_default_prefix] 1392 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1393 [PREFIX] 1394 1395By default, \`make install' will install all the files in 1396\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1397an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1398for instance \`--prefix=\$HOME'. 1399 1400For better control, use the options below. 1401 1402Fine tuning of the installation directories: 1403 --bindir=DIR user executables [EPREFIX/bin] 1404 --sbindir=DIR system admin executables [EPREFIX/sbin] 1405 --libexecdir=DIR program executables [EPREFIX/libexec] 1406 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1407 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1408 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1409 --libdir=DIR object code libraries [EPREFIX/lib] 1410 --includedir=DIR C header files [PREFIX/include] 1411 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1412 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1413 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1414 --infodir=DIR info documentation [DATAROOTDIR/info] 1415 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1416 --mandir=DIR man documentation [DATAROOTDIR/man] 1417 --docdir=DIR documentation root [DATAROOTDIR/doc/flickcurl] 1418 --htmldir=DIR html documentation [DOCDIR] 1419 --dvidir=DIR dvi documentation [DOCDIR] 1420 --pdfdir=DIR pdf documentation [DOCDIR] 1421 --psdir=DIR ps documentation [DOCDIR] 1422_ACEOF 1423 1424 cat <<\_ACEOF 1425 1426Program names: 1427 --program-prefix=PREFIX prepend PREFIX to installed program names 1428 --program-suffix=SUFFIX append SUFFIX to installed program names 1429 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1430 1431System types: 1432 --build=BUILD configure for building on BUILD [guessed] 1433 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1434_ACEOF 1435fi 1436 1437if test -n "$ac_init_help"; then 1438 case $ac_init_help in 1439 short | recursive ) echo "Configuration of Flickcurl 1.26:";; 1440 esac 1441 cat <<\_ACEOF 1442 1443Optional Features: 1444 --disable-option-checking ignore unrecognized --enable/--with options 1445 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1446 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1447 --enable-maintainer-mode enable make rules and dependencies not useful 1448 (and sometimes confusing) to the casual installer 1449 --disable-dependency-tracking speeds up one-time build 1450 --enable-dependency-tracking do not reject slow dependency extractors 1451 --enable-shared[=PKGS] build shared libraries [default=yes] 1452 --enable-static[=PKGS] build static libraries [default=yes] 1453 --enable-fast-install[=PKGS] 1454 optimize for fast installation [default=yes] 1455 --disable-libtool-lock avoid locking (might break parallel builds) 1456 --enable-offline Turn on offline use of captured XML web service responses (default disabled). 1457 --enable-capture Turn on capturing web service responses (default disabled). 1458 --enable-silent-rules less verbose build output (undo: `make V=1') 1459 --disable-silent-rules verbose build output (undo: `make V=0') 1460 --enable-gtk-doc use gtk-doc to build documentation [[default=no]] 1461 --enable-gtk-doc-html build documentation in html format [[default=yes]] 1462 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] 1463 1464Optional Packages: 1465 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1466 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1467 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1468 both] 1469 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1470 --with-sysroot=DIR Search for dependent libraries within DIR 1471 (or the compiler's sysroot if not specified). 1472 --with-xml2-config=PATH Location of libxml xml2-config 1473 --with-curl-config=PATH Location of libcurl curl-config 1474 --with-raptor=yes|no|2 Use Raptor to serialize to triples (default=auto) 1475 --with-html-dir=PATH path to installed docs 1476 1477Some influential environment variables: 1478 CC C compiler command 1479 CFLAGS C compiler flags 1480 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1481 nonstandard directory <lib dir> 1482 LIBS libraries to pass to the linker, e.g. -l<library> 1483 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1484 you have headers in a nonstandard directory <include dir> 1485 CPP C preprocessor 1486 PKG_CONFIG path to pkg-config utility 1487 PKG_CONFIG_PATH 1488 directories to add to pkg-config's search path 1489 PKG_CONFIG_LIBDIR 1490 path overriding pkg-config's built-in search path 1491 GTKDOC_DEPS_CFLAGS 1492 C compiler flags for GTKDOC_DEPS, overriding pkg-config 1493 GTKDOC_DEPS_LIBS 1494 linker flags for GTKDOC_DEPS, overriding pkg-config 1495 1496Use these variables to override the choices made by `configure' or to help 1497it to find libraries and programs with nonstandard names/locations. 1498 1499Report bugs to <http://bugs.librdf.org/>. 1500_ACEOF 1501ac_status=$? 1502fi 1503 1504if test "$ac_init_help" = "recursive"; then 1505 # If there are subdirs, report their specific --help. 1506 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1507 test -d "$ac_dir" || 1508 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1509 continue 1510 ac_builddir=. 1511 1512case "$ac_dir" in 1513.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1514*) 1515 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1516 # A ".." for each directory in $ac_dir_suffix. 1517 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1518 case $ac_top_builddir_sub in 1519 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1520 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1521 esac ;; 1522esac 1523ac_abs_top_builddir=$ac_pwd 1524ac_abs_builddir=$ac_pwd$ac_dir_suffix 1525# for backward compatibility: 1526ac_top_builddir=$ac_top_build_prefix 1527 1528case $srcdir in 1529 .) # We are building in place. 1530 ac_srcdir=. 1531 ac_top_srcdir=$ac_top_builddir_sub 1532 ac_abs_top_srcdir=$ac_pwd ;; 1533 [\\/]* | ?:[\\/]* ) # Absolute name. 1534 ac_srcdir=$srcdir$ac_dir_suffix; 1535 ac_top_srcdir=$srcdir 1536 ac_abs_top_srcdir=$srcdir ;; 1537 *) # Relative name. 1538 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1539 ac_top_srcdir=$ac_top_build_prefix$srcdir 1540 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1541esac 1542ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1543 1544 cd "$ac_dir" || { ac_status=$?; continue; } 1545 # Check for guested configure. 1546 if test -f "$ac_srcdir/configure.gnu"; then 1547 echo && 1548 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1549 elif test -f "$ac_srcdir/configure"; then 1550 echo && 1551 $SHELL "$ac_srcdir/configure" --help=recursive 1552 else 1553 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1554 fi || ac_status=$? 1555 cd "$ac_pwd" || { ac_status=$?; break; } 1556 done 1557fi 1558 1559test -n "$ac_init_help" && exit $ac_status 1560if $ac_init_version; then 1561 cat <<\_ACEOF 1562Flickcurl configure 1.26 1563generated by GNU Autoconf 2.69 1564 1565Copyright (C) 2012 Free Software Foundation, Inc. 1566This configure script is free software; the Free Software Foundation 1567gives unlimited permission to copy, distribute and modify it. 1568_ACEOF 1569 exit 1570fi 1571 1572## ------------------------ ## 1573## Autoconf initialization. ## 1574## ------------------------ ## 1575 1576# ac_fn_c_try_compile LINENO 1577# -------------------------- 1578# Try to compile conftest.$ac_ext, and return whether this succeeded. 1579ac_fn_c_try_compile () 1580{ 1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1582 rm -f conftest.$ac_objext 1583 if { { ac_try="$ac_compile" 1584case "(($ac_try" in 1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1586 *) ac_try_echo=$ac_try;; 1587esac 1588eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1589$as_echo "$ac_try_echo"; } >&5 1590 (eval "$ac_compile") 2>conftest.err 1591 ac_status=$? 1592 if test -s conftest.err; then 1593 grep -v '^ *+' conftest.err >conftest.er1 1594 cat conftest.er1 >&5 1595 mv -f conftest.er1 conftest.err 1596 fi 1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1598 test $ac_status = 0; } && { 1599 test -z "$ac_c_werror_flag" || 1600 test ! -s conftest.err 1601 } && test -s conftest.$ac_objext; then : 1602 ac_retval=0 1603else 1604 $as_echo "$as_me: failed program was:" >&5 1605sed 's/^/| /' conftest.$ac_ext >&5 1606 1607 ac_retval=1 1608fi 1609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1610 as_fn_set_status $ac_retval 1611 1612} # ac_fn_c_try_compile 1613 1614# ac_fn_c_try_link LINENO 1615# ----------------------- 1616# Try to link conftest.$ac_ext, and return whether this succeeded. 1617ac_fn_c_try_link () 1618{ 1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1620 rm -f conftest.$ac_objext conftest$ac_exeext 1621 if { { ac_try="$ac_link" 1622case "(($ac_try" in 1623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1624 *) ac_try_echo=$ac_try;; 1625esac 1626eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1627$as_echo "$ac_try_echo"; } >&5 1628 (eval "$ac_link") 2>conftest.err 1629 ac_status=$? 1630 if test -s conftest.err; then 1631 grep -v '^ *+' conftest.err >conftest.er1 1632 cat conftest.er1 >&5 1633 mv -f conftest.er1 conftest.err 1634 fi 1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1636 test $ac_status = 0; } && { 1637 test -z "$ac_c_werror_flag" || 1638 test ! -s conftest.err 1639 } && test -s conftest$ac_exeext && { 1640 test "$cross_compiling" = yes || 1641 test -x conftest$ac_exeext 1642 }; then : 1643 ac_retval=0 1644else 1645 $as_echo "$as_me: failed program was:" >&5 1646sed 's/^/| /' conftest.$ac_ext >&5 1647 1648 ac_retval=1 1649fi 1650 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1651 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1652 # interfere with the next link command; also delete a directory that is 1653 # left behind by Apple's compiler. We do this before executing the actions. 1654 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1656 as_fn_set_status $ac_retval 1657 1658} # ac_fn_c_try_link 1659 1660# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1661# ------------------------------------------------------- 1662# Tests whether HEADER exists and can be compiled using the include files in 1663# INCLUDES, setting the cache variable VAR accordingly. 1664ac_fn_c_check_header_compile () 1665{ 1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1668$as_echo_n "checking for $2... " >&6; } 1669if eval \${$3+:} false; then : 1670 $as_echo_n "(cached) " >&6 1671else 1672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1673/* end confdefs.h. */ 1674$4 1675#include <$2> 1676_ACEOF 1677if ac_fn_c_try_compile "$LINENO"; then : 1678 eval "$3=yes" 1679else 1680 eval "$3=no" 1681fi 1682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1683fi 1684eval ac_res=\$$3 1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1686$as_echo "$ac_res" >&6; } 1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1688 1689} # ac_fn_c_check_header_compile 1690 1691# ac_fn_c_try_cpp LINENO 1692# ---------------------- 1693# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1694ac_fn_c_try_cpp () 1695{ 1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1697 if { { ac_try="$ac_cpp conftest.$ac_ext" 1698case "(($ac_try" in 1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1700 *) ac_try_echo=$ac_try;; 1701esac 1702eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1703$as_echo "$ac_try_echo"; } >&5 1704 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1705 ac_status=$? 1706 if test -s conftest.err; then 1707 grep -v '^ *+' conftest.err >conftest.er1 1708 cat conftest.er1 >&5 1709 mv -f conftest.er1 conftest.err 1710 fi 1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1712 test $ac_status = 0; } > conftest.i && { 1713 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1714 test ! -s conftest.err 1715 }; then : 1716 ac_retval=0 1717else 1718 $as_echo "$as_me: failed program was:" >&5 1719sed 's/^/| /' conftest.$ac_ext >&5 1720 1721 ac_retval=1 1722fi 1723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1724 as_fn_set_status $ac_retval 1725 1726} # ac_fn_c_try_cpp 1727 1728# ac_fn_c_try_run LINENO 1729# ---------------------- 1730# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1731# that executables *can* be run. 1732ac_fn_c_try_run () 1733{ 1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1735 if { { ac_try="$ac_link" 1736case "(($ac_try" in 1737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1738 *) ac_try_echo=$ac_try;; 1739esac 1740eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1741$as_echo "$ac_try_echo"; } >&5 1742 (eval "$ac_link") 2>&5 1743 ac_status=$? 1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1745 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1746 { { case "(($ac_try" in 1747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1748 *) ac_try_echo=$ac_try;; 1749esac 1750eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1751$as_echo "$ac_try_echo"; } >&5 1752 (eval "$ac_try") 2>&5 1753 ac_status=$? 1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1755 test $ac_status = 0; }; }; then : 1756 ac_retval=0 1757else 1758 $as_echo "$as_me: program exited with status $ac_status" >&5 1759 $as_echo "$as_me: failed program was:" >&5 1760sed 's/^/| /' conftest.$ac_ext >&5 1761 1762 ac_retval=$ac_status 1763fi 1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1766 as_fn_set_status $ac_retval 1767 1768} # ac_fn_c_try_run 1769 1770# ac_fn_c_check_func LINENO FUNC VAR 1771# ---------------------------------- 1772# Tests whether FUNC exists, setting the cache variable VAR accordingly 1773ac_fn_c_check_func () 1774{ 1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1777$as_echo_n "checking for $2... " >&6; } 1778if eval \${$3+:} false; then : 1779 $as_echo_n "(cached) " >&6 1780else 1781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1782/* end confdefs.h. */ 1783/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1784 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1785#define $2 innocuous_$2 1786 1787/* System header to define __stub macros and hopefully few prototypes, 1788 which can conflict with char $2 (); below. 1789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1790 <limits.h> exists even on freestanding compilers. */ 1791 1792#ifdef __STDC__ 1793# include <limits.h> 1794#else 1795# include <assert.h> 1796#endif 1797 1798#undef $2 1799 1800/* Override any GCC internal prototype to avoid an error. 1801 Use char because int might match the return type of a GCC 1802 builtin and then its argument prototype would still apply. */ 1803#ifdef __cplusplus 1804extern "C" 1805#endif 1806char $2 (); 1807/* The GNU C library defines this for functions which it implements 1808 to always fail with ENOSYS. Some functions are actually named 1809 something starting with __ and the normal name is an alias. */ 1810#if defined __stub_$2 || defined __stub___$2 1811choke me 1812#endif 1813 1814int 1815main () 1816{ 1817return $2 (); 1818 ; 1819 return 0; 1820} 1821_ACEOF 1822if ac_fn_c_try_link "$LINENO"; then : 1823 eval "$3=yes" 1824else 1825 eval "$3=no" 1826fi 1827rm -f core conftest.err conftest.$ac_objext \ 1828 conftest$ac_exeext conftest.$ac_ext 1829fi 1830eval ac_res=\$$3 1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1832$as_echo "$ac_res" >&6; } 1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1834 1835} # ac_fn_c_check_func 1836 1837# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1838# ------------------------------------------------------- 1839# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1840# the include files in INCLUDES and setting the cache variable VAR 1841# accordingly. 1842ac_fn_c_check_header_mongrel () 1843{ 1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1845 if eval \${$3+:} false; then : 1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1847$as_echo_n "checking for $2... " >&6; } 1848if eval \${$3+:} false; then : 1849 $as_echo_n "(cached) " >&6 1850fi 1851eval ac_res=\$$3 1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1853$as_echo "$ac_res" >&6; } 1854else 1855 # Is the header compilable? 1856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1857$as_echo_n "checking $2 usability... " >&6; } 1858cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1859/* end confdefs.h. */ 1860$4 1861#include <$2> 1862_ACEOF 1863if ac_fn_c_try_compile "$LINENO"; then : 1864 ac_header_compiler=yes 1865else 1866 ac_header_compiler=no 1867fi 1868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1870$as_echo "$ac_header_compiler" >&6; } 1871 1872# Is the header present? 1873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1874$as_echo_n "checking $2 presence... " >&6; } 1875cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1876/* end confdefs.h. */ 1877#include <$2> 1878_ACEOF 1879if ac_fn_c_try_cpp "$LINENO"; then : 1880 ac_header_preproc=yes 1881else 1882 ac_header_preproc=no 1883fi 1884rm -f conftest.err conftest.i conftest.$ac_ext 1885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1886$as_echo "$ac_header_preproc" >&6; } 1887 1888# So? What about this header? 1889case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1890 yes:no: ) 1891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1892$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1894$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1895 ;; 1896 no:yes:* ) 1897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1898$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1900$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1902$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1904$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1906$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1907( $as_echo "## -------------------------------------- ## 1908## Report this to http://bugs.librdf.org/ ## 1909## -------------------------------------- ##" 1910 ) | sed "s/^/$as_me: WARNING: /" >&2 1911 ;; 1912esac 1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1914$as_echo_n "checking for $2... " >&6; } 1915if eval \${$3+:} false; then : 1916 $as_echo_n "(cached) " >&6 1917else 1918 eval "$3=\$ac_header_compiler" 1919fi 1920eval ac_res=\$$3 1921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1922$as_echo "$ac_res" >&6; } 1923fi 1924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1925 1926} # ac_fn_c_check_header_mongrel 1927 1928# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1929# ------------------------------------------- 1930# Tests whether TYPE exists after having included INCLUDES, setting cache 1931# variable VAR accordingly. 1932ac_fn_c_check_type () 1933{ 1934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1936$as_echo_n "checking for $2... " >&6; } 1937if eval \${$3+:} false; then : 1938 $as_echo_n "(cached) " >&6 1939else 1940 eval "$3=no" 1941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1942/* end confdefs.h. */ 1943$4 1944int 1945main () 1946{ 1947if (sizeof ($2)) 1948 return 0; 1949 ; 1950 return 0; 1951} 1952_ACEOF 1953if ac_fn_c_try_compile "$LINENO"; then : 1954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1955/* end confdefs.h. */ 1956$4 1957int 1958main () 1959{ 1960if (sizeof (($2))) 1961 return 0; 1962 ; 1963 return 0; 1964} 1965_ACEOF 1966if ac_fn_c_try_compile "$LINENO"; then : 1967 1968else 1969 eval "$3=yes" 1970fi 1971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1972fi 1973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1974fi 1975eval ac_res=\$$3 1976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1977$as_echo "$ac_res" >&6; } 1978 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1979 1980} # ac_fn_c_check_type 1981 1982# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1983# -------------------------------------------- 1984# Tries to find the compile-time value of EXPR in a program that includes 1985# INCLUDES, setting VAR accordingly. Returns whether the value could be 1986# computed 1987ac_fn_c_compute_int () 1988{ 1989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1990 if test "$cross_compiling" = yes; then 1991 # Depending upon the size, compute the lo and hi bounds. 1992cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1993/* end confdefs.h. */ 1994$4 1995int 1996main () 1997{ 1998static int test_array [1 - 2 * !(($2) >= 0)]; 1999test_array [0] = 0; 2000return test_array [0]; 2001 2002 ; 2003 return 0; 2004} 2005_ACEOF 2006if ac_fn_c_try_compile "$LINENO"; then : 2007 ac_lo=0 ac_mid=0 2008 while :; do 2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2010/* end confdefs.h. */ 2011$4 2012int 2013main () 2014{ 2015static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2016test_array [0] = 0; 2017return test_array [0]; 2018 2019 ; 2020 return 0; 2021} 2022_ACEOF 2023if ac_fn_c_try_compile "$LINENO"; then : 2024 ac_hi=$ac_mid; break 2025else 2026 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2027 if test $ac_lo -le $ac_mid; then 2028 ac_lo= ac_hi= 2029 break 2030 fi 2031 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2032fi 2033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2034 done 2035else 2036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2037/* end confdefs.h. */ 2038$4 2039int 2040main () 2041{ 2042static int test_array [1 - 2 * !(($2) < 0)]; 2043test_array [0] = 0; 2044return test_array [0]; 2045 2046 ; 2047 return 0; 2048} 2049_ACEOF 2050if ac_fn_c_try_compile "$LINENO"; then : 2051 ac_hi=-1 ac_mid=-1 2052 while :; do 2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2054/* end confdefs.h. */ 2055$4 2056int 2057main () 2058{ 2059static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2060test_array [0] = 0; 2061return test_array [0]; 2062 2063 ; 2064 return 0; 2065} 2066_ACEOF 2067if ac_fn_c_try_compile "$LINENO"; then : 2068 ac_lo=$ac_mid; break 2069else 2070 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2071 if test $ac_mid -le $ac_hi; then 2072 ac_lo= ac_hi= 2073 break 2074 fi 2075 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2076fi 2077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2078 done 2079else 2080 ac_lo= ac_hi= 2081fi 2082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2083fi 2084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2085# Binary search between lo and hi bounds. 2086while test "x$ac_lo" != "x$ac_hi"; do 2087 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2089/* end confdefs.h. */ 2090$4 2091int 2092main () 2093{ 2094static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2095test_array [0] = 0; 2096return test_array [0]; 2097 2098 ; 2099 return 0; 2100} 2101_ACEOF 2102if ac_fn_c_try_compile "$LINENO"; then : 2103 ac_hi=$ac_mid 2104else 2105 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2106fi 2107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2108done 2109case $ac_lo in #(( 2110?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2111'') ac_retval=1 ;; 2112esac 2113 else 2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2115/* end confdefs.h. */ 2116$4 2117static long int longval () { return $2; } 2118static unsigned long int ulongval () { return $2; } 2119#include <stdio.h> 2120#include <stdlib.h> 2121int 2122main () 2123{ 2124 2125 FILE *f = fopen ("conftest.val", "w"); 2126 if (! f) 2127 return 1; 2128 if (($2) < 0) 2129 { 2130 long int i = longval (); 2131 if (i != ($2)) 2132 return 1; 2133 fprintf (f, "%ld", i); 2134 } 2135 else 2136 { 2137 unsigned long int i = ulongval (); 2138 if (i != ($2)) 2139 return 1; 2140 fprintf (f, "%lu", i); 2141 } 2142 /* Do not output a trailing newline, as this causes \r\n confusion 2143 on some platforms. */ 2144 return ferror (f) || fclose (f) != 0; 2145 2146 ; 2147 return 0; 2148} 2149_ACEOF 2150if ac_fn_c_try_run "$LINENO"; then : 2151 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2152else 2153 ac_retval=1 2154fi 2155rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2156 conftest.$ac_objext conftest.beam conftest.$ac_ext 2157rm -f conftest.val 2158 2159 fi 2160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2161 as_fn_set_status $ac_retval 2162 2163} # ac_fn_c_compute_int 2164cat >config.log <<_ACEOF 2165This file contains any messages produced by compilers while 2166running configure, to aid debugging if configure makes a mistake. 2167 2168It was created by Flickcurl $as_me 1.26, which was 2169generated by GNU Autoconf 2.69. Invocation command line was 2170 2171 $ $0 $@ 2172 2173_ACEOF 2174exec 5>>config.log 2175{ 2176cat <<_ASUNAME 2177## --------- ## 2178## Platform. ## 2179## --------- ## 2180 2181hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2182uname -m = `(uname -m) 2>/dev/null || echo unknown` 2183uname -r = `(uname -r) 2>/dev/null || echo unknown` 2184uname -s = `(uname -s) 2>/dev/null || echo unknown` 2185uname -v = `(uname -v) 2>/dev/null || echo unknown` 2186 2187/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2188/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2189 2190/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2191/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2192/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2193/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2194/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2195/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2196/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2197 2198_ASUNAME 2199 2200as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2201for as_dir in $PATH 2202do 2203 IFS=$as_save_IFS 2204 test -z "$as_dir" && as_dir=. 2205 $as_echo "PATH: $as_dir" 2206 done 2207IFS=$as_save_IFS 2208 2209} >&5 2210 2211cat >&5 <<_ACEOF 2212 2213 2214## ----------- ## 2215## Core tests. ## 2216## ----------- ## 2217 2218_ACEOF 2219 2220 2221# Keep a trace of the command line. 2222# Strip out --no-create and --no-recursion so they do not pile up. 2223# Strip out --silent because we don't want to record it for future runs. 2224# Also quote any args containing shell meta-characters. 2225# Make two passes to allow for proper duplicate-argument suppression. 2226ac_configure_args= 2227ac_configure_args0= 2228ac_configure_args1= 2229ac_must_keep_next=false 2230for ac_pass in 1 2 2231do 2232 for ac_arg 2233 do 2234 case $ac_arg in 2235 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2237 | -silent | --silent | --silen | --sile | --sil) 2238 continue ;; 2239 *\'*) 2240 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2241 esac 2242 case $ac_pass in 2243 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2244 2) 2245 as_fn_append ac_configure_args1 " '$ac_arg'" 2246 if test $ac_must_keep_next = true; then 2247 ac_must_keep_next=false # Got value, back to normal. 2248 else 2249 case $ac_arg in 2250 *=* | --config-cache | -C | -disable-* | --disable-* \ 2251 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2252 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2253 | -with-* | --with-* | -without-* | --without-* | --x) 2254 case "$ac_configure_args0 " in 2255 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2256 esac 2257 ;; 2258 -* ) ac_must_keep_next=true ;; 2259 esac 2260 fi 2261 as_fn_append ac_configure_args " '$ac_arg'" 2262 ;; 2263 esac 2264 done 2265done 2266{ ac_configure_args0=; unset ac_configure_args0;} 2267{ ac_configure_args1=; unset ac_configure_args1;} 2268 2269# When interrupted or exit'd, cleanup temporary files, and complete 2270# config.log. We remove comments because anyway the quotes in there 2271# would cause problems or look ugly. 2272# WARNING: Use '\'' to represent an apostrophe within the trap. 2273# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2274trap 'exit_status=$? 2275 # Save into config.log some information that might help in debugging. 2276 { 2277 echo 2278 2279 $as_echo "## ---------------- ## 2280## Cache variables. ## 2281## ---------------- ##" 2282 echo 2283 # The following way of writing the cache mishandles newlines in values, 2284( 2285 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2286 eval ac_val=\$$ac_var 2287 case $ac_val in #( 2288 *${as_nl}*) 2289 case $ac_var in #( 2290 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2291$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2292 esac 2293 case $ac_var in #( 2294 _ | IFS | as_nl) ;; #( 2295 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2296 *) { eval $ac_var=; unset $ac_var;} ;; 2297 esac ;; 2298 esac 2299 done 2300 (set) 2>&1 | 2301 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2302 *${as_nl}ac_space=\ *) 2303 sed -n \ 2304 "s/'\''/'\''\\\\'\'''\''/g; 2305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2306 ;; #( 2307 *) 2308 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2309 ;; 2310 esac | 2311 sort 2312) 2313 echo 2314 2315 $as_echo "## ----------------- ## 2316## Output variables. ## 2317## ----------------- ##" 2318 echo 2319 for ac_var in $ac_subst_vars 2320 do 2321 eval ac_val=\$$ac_var 2322 case $ac_val in 2323 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2324 esac 2325 $as_echo "$ac_var='\''$ac_val'\''" 2326 done | sort 2327 echo 2328 2329 if test -n "$ac_subst_files"; then 2330 $as_echo "## ------------------- ## 2331## File substitutions. ## 2332## ------------------- ##" 2333 echo 2334 for ac_var in $ac_subst_files 2335 do 2336 eval ac_val=\$$ac_var 2337 case $ac_val in 2338 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2339 esac 2340 $as_echo "$ac_var='\''$ac_val'\''" 2341 done | sort 2342 echo 2343 fi 2344 2345 if test -s confdefs.h; then 2346 $as_echo "## ----------- ## 2347## confdefs.h. ## 2348## ----------- ##" 2349 echo 2350 cat confdefs.h 2351 echo 2352 fi 2353 test "$ac_signal" != 0 && 2354 $as_echo "$as_me: caught signal $ac_signal" 2355 $as_echo "$as_me: exit $exit_status" 2356 } >&5 2357 rm -f core *.core core.conftest.* && 2358 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2359 exit $exit_status 2360' 0 2361for ac_signal in 1 2 13 15; do 2362 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2363done 2364ac_signal=0 2365 2366# confdefs.h avoids OS command line length limits that DEFS can exceed. 2367rm -f -r conftest* confdefs.h 2368 2369$as_echo "/* confdefs.h */" > confdefs.h 2370 2371# Predefined preprocessor variables. 2372 2373cat >>confdefs.h <<_ACEOF 2374#define PACKAGE_NAME "$PACKAGE_NAME" 2375_ACEOF 2376 2377cat >>confdefs.h <<_ACEOF 2378#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2379_ACEOF 2380 2381cat >>confdefs.h <<_ACEOF 2382#define PACKAGE_VERSION "$PACKAGE_VERSION" 2383_ACEOF 2384 2385cat >>confdefs.h <<_ACEOF 2386#define PACKAGE_STRING "$PACKAGE_STRING" 2387_ACEOF 2388 2389cat >>confdefs.h <<_ACEOF 2390#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2391_ACEOF 2392 2393cat >>confdefs.h <<_ACEOF 2394#define PACKAGE_URL "$PACKAGE_URL" 2395_ACEOF 2396 2397 2398# Let the site file select an alternate cache file if it wants to. 2399# Prefer an explicitly selected file to automatically selected ones. 2400ac_site_file1=NONE 2401ac_site_file2=NONE 2402if test -n "$CONFIG_SITE"; then 2403 # We do not want a PATH search for config.site. 2404 case $CONFIG_SITE in #(( 2405 -*) ac_site_file1=./$CONFIG_SITE;; 2406 */*) ac_site_file1=$CONFIG_SITE;; 2407 *) ac_site_file1=./$CONFIG_SITE;; 2408 esac 2409elif test "x$prefix" != xNONE; then 2410 ac_site_file1=$prefix/share/config.site 2411 ac_site_file2=$prefix/etc/config.site 2412else 2413 ac_site_file1=$ac_default_prefix/share/config.site 2414 ac_site_file2=$ac_default_prefix/etc/config.site 2415fi 2416for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2417do 2418 test "x$ac_site_file" = xNONE && continue 2419 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2420 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2421$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2422 sed 's/^/| /' "$ac_site_file" >&5 2423 . "$ac_site_file" \ 2424 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2425$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2426as_fn_error $? "failed to load site script $ac_site_file 2427See \`config.log' for more details" "$LINENO" 5; } 2428 fi 2429done 2430 2431if test -r "$cache_file"; then 2432 # Some versions of bash will fail to source /dev/null (special files 2433 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2434 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2435 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2436$as_echo "$as_me: loading cache $cache_file" >&6;} 2437 case $cache_file in 2438 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2439 *) . "./$cache_file";; 2440 esac 2441 fi 2442else 2443 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2444$as_echo "$as_me: creating cache $cache_file" >&6;} 2445 >$cache_file 2446fi 2447 2448# Check that the precious variables saved in the cache have kept the same 2449# value. 2450ac_cache_corrupted=false 2451for ac_var in $ac_precious_vars; do 2452 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2453 eval ac_new_set=\$ac_env_${ac_var}_set 2454 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2455 eval ac_new_val=\$ac_env_${ac_var}_value 2456 case $ac_old_set,$ac_new_set in 2457 set,) 2458 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2459$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2460 ac_cache_corrupted=: ;; 2461 ,set) 2462 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2463$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2464 ac_cache_corrupted=: ;; 2465 ,);; 2466 *) 2467 if test "x$ac_old_val" != "x$ac_new_val"; then 2468 # differences in whitespace do not lead to failure. 2469 ac_old_val_w=`echo x $ac_old_val` 2470 ac_new_val_w=`echo x $ac_new_val` 2471 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2473$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2474 ac_cache_corrupted=: 2475 else 2476 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2477$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2478 eval $ac_var=\$ac_old_val 2479 fi 2480 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2481$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2482 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2483$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2484 fi;; 2485 esac 2486 # Pass precious variables to config.status. 2487 if test "$ac_new_set" = set; then 2488 case $ac_new_val in 2489 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2490 *) ac_arg=$ac_var=$ac_new_val ;; 2491 esac 2492 case " $ac_configure_args " in 2493 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2494 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2495 esac 2496 fi 2497done 2498if $ac_cache_corrupted; then 2499 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2500$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2501 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2502$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2503 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2504fi 2505## -------------------- ## 2506## Main body of script. ## 2507## -------------------- ## 2508 2509ac_ext=c 2510ac_cpp='$CPP $CPPFLAGS' 2511ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2512ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2513ac_compiler_gnu=$ac_cv_c_compiler_gnu 2514 2515 2516 2517ac_config_headers="$ac_config_headers src/config.h" 2518 2519ac_aux_dir= 2520for ac_dir in build "$srcdir"/build; do 2521 if test -f "$ac_dir/install-sh"; then 2522 ac_aux_dir=$ac_dir 2523 ac_install_sh="$ac_aux_dir/install-sh -c" 2524 break 2525 elif test -f "$ac_dir/install.sh"; then 2526 ac_aux_dir=$ac_dir 2527 ac_install_sh="$ac_aux_dir/install.sh -c" 2528 break 2529 elif test -f "$ac_dir/shtool"; then 2530 ac_aux_dir=$ac_dir 2531 ac_install_sh="$ac_aux_dir/shtool install -c" 2532 break 2533 fi 2534done 2535if test -z "$ac_aux_dir"; then 2536 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5 2537fi 2538 2539# These three variables are undocumented and unsupported, 2540# and are intended to be withdrawn in a future Autoconf release. 2541# They can cause serious problems if a builder's source tree is in a directory 2542# whose full name contains unusual characters. 2543ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2544ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2545ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2546 2547 2548 2549am__api_version='1.11' 2550 2551# Find a good install program. We prefer a C program (faster), 2552# so one script is as good as another. But avoid the broken or 2553# incompatible versions: 2554# SysV /etc/install, /usr/sbin/install 2555# SunOS /usr/etc/install 2556# IRIX /sbin/install 2557# AIX /bin/install 2558# AmigaOS /C/install, which installs bootblocks on floppy discs 2559# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2560# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2561# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2562# OS/2's system install, which has a completely different semantic 2563# ./install, which can be erroneously created by make from ./install.sh. 2564# Reject install programs that cannot install multiple files. 2565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2566$as_echo_n "checking for a BSD-compatible install... " >&6; } 2567if test -z "$INSTALL"; then 2568if ${ac_cv_path_install+:} false; then : 2569 $as_echo_n "(cached) " >&6 2570else 2571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2572for as_dir in $PATH 2573do 2574 IFS=$as_save_IFS 2575 test -z "$as_dir" && as_dir=. 2576 # Account for people who put trailing slashes in PATH elements. 2577case $as_dir/ in #(( 2578 ./ | .// | /[cC]/* | \ 2579 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2580 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2581 /usr/ucb/* ) ;; 2582 *) 2583 # OSF1 and SCO ODT 3.0 have their own names for install. 2584 # Don't use installbsd from OSF since it installs stuff as root 2585 # by default. 2586 for ac_prog in ginstall scoinst install; do 2587 for ac_exec_ext in '' $ac_executable_extensions; do 2588 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2589 if test $ac_prog = install && 2590 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2591 # AIX install. It has an incompatible calling convention. 2592 : 2593 elif test $ac_prog = install && 2594 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2595 # program-specific install script used by HP pwplus--don't use. 2596 : 2597 else 2598 rm -rf conftest.one conftest.two conftest.dir 2599 echo one > conftest.one 2600 echo two > conftest.two 2601 mkdir conftest.dir 2602 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2603 test -s conftest.one && test -s conftest.two && 2604 test -s conftest.dir/conftest.one && 2605 test -s conftest.dir/conftest.two 2606 then 2607 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2608 break 3 2609 fi 2610 fi 2611 fi 2612 done 2613 done 2614 ;; 2615esac 2616 2617 done 2618IFS=$as_save_IFS 2619 2620rm -rf conftest.one conftest.two conftest.dir 2621 2622fi 2623 if test "${ac_cv_path_install+set}" = set; then 2624 INSTALL=$ac_cv_path_install 2625 else 2626 # As a last resort, use the slow shell script. Don't cache a 2627 # value for INSTALL within a source directory, because that will 2628 # break other packages using the cache if that directory is 2629 # removed, or if the value is a relative name. 2630 INSTALL=$ac_install_sh 2631 fi 2632fi 2633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2634$as_echo "$INSTALL" >&6; } 2635 2636# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2637# It thinks the first close brace ends the variable substitution. 2638test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2639 2640test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2641 2642test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2643 2644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2645$as_echo_n "checking whether build environment is sane... " >&6; } 2646# Just in case 2647sleep 1 2648echo timestamp > conftest.file 2649# Reject unsafe characters in $srcdir or the absolute working directory 2650# name. Accept space and tab only in the latter. 2651am_lf=' 2652' 2653case `pwd` in 2654 *[\\\"\#\$\&\'\`$am_lf]*) 2655 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2656esac 2657case $srcdir in 2658 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2659 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2660esac 2661 2662# Do `set' in a subshell so we don't clobber the current shell's 2663# arguments. Must try -L first in case configure is actually a 2664# symlink; some systems play weird games with the mod time of symlinks 2665# (eg FreeBSD returns the mod time of the symlink's containing 2666# directory). 2667if ( 2668 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2669 if test "$*" = "X"; then 2670 # -L didn't work. 2671 set X `ls -t "$srcdir/configure" conftest.file` 2672 fi 2673 rm -f conftest.file 2674 if test "$*" != "X $srcdir/configure conftest.file" \ 2675 && test "$*" != "X conftest.file $srcdir/configure"; then 2676 2677 # If neither matched, then we have a broken ls. This can happen 2678 # if, for instance, CONFIG_SHELL is bash and it inherits a 2679 # broken ls alias from the environment. This has actually 2680 # happened. Such a system could not be considered "sane". 2681 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2682alias in your environment" "$LINENO" 5 2683 fi 2684 2685 test "$2" = conftest.file 2686 ) 2687then 2688 # Ok. 2689 : 2690else 2691 as_fn_error $? "newly created file is older than distributed files! 2692Check your system clock" "$LINENO" 5 2693fi 2694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2695$as_echo "yes" >&6; } 2696test "$program_prefix" != NONE && 2697 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2698# Use a double $ so make ignores it. 2699test "$program_suffix" != NONE && 2700 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2701# Double any \ or $. 2702# By default was `s,x,x', remove it if useless. 2703ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2704program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2705 2706# expand $ac_aux_dir to an absolute path 2707am_aux_dir=`cd $ac_aux_dir && pwd` 2708 2709if test x"${MISSING+set}" != xset; then 2710 case $am_aux_dir in 2711 *\ * | *\ *) 2712 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2713 *) 2714 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2715 esac 2716fi 2717# Use eval to expand $SHELL 2718if eval "$MISSING --run true"; then 2719 am_missing_run="$MISSING --run " 2720else 2721 am_missing_run= 2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2723$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2724fi 2725 2726if test x"${install_sh}" != xset; then 2727 case $am_aux_dir in 2728 *\ * | *\ *) 2729 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2730 *) 2731 install_sh="\${SHELL} $am_aux_dir/install-sh" 2732 esac 2733fi 2734 2735# Installed binaries are usually stripped using `strip' when the user 2736# run `make install-strip'. However `strip' might not be the right 2737# tool to use in cross-compilation environments, therefore Automake 2738# will honor the `STRIP' environment variable to overrule this program. 2739if test "$cross_compiling" != no; then 2740 if test -n "$ac_tool_prefix"; then 2741 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2742set dummy ${ac_tool_prefix}strip; ac_word=$2 2743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2744$as_echo_n "checking for $ac_word... " >&6; } 2745if ${ac_cv_prog_STRIP+:} false; then : 2746 $as_echo_n "(cached) " >&6 2747else 2748 if test -n "$STRIP"; then 2749 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2750else 2751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2752for as_dir in $PATH 2753do 2754 IFS=$as_save_IFS 2755 test -z "$as_dir" && as_dir=. 2756 for ac_exec_ext in '' $ac_executable_extensions; do 2757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2758 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2760 break 2 2761 fi 2762done 2763 done 2764IFS=$as_save_IFS 2765 2766fi 2767fi 2768STRIP=$ac_cv_prog_STRIP 2769if test -n "$STRIP"; then 2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2771$as_echo "$STRIP" >&6; } 2772else 2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2774$as_echo "no" >&6; } 2775fi 2776 2777 2778fi 2779if test -z "$ac_cv_prog_STRIP"; then 2780 ac_ct_STRIP=$STRIP 2781 # Extract the first word of "strip", so it can be a program name with args. 2782set dummy strip; ac_word=$2 2783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2784$as_echo_n "checking for $ac_word... " >&6; } 2785if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2786 $as_echo_n "(cached) " >&6 2787else 2788 if test -n "$ac_ct_STRIP"; then 2789 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2790else 2791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2792for as_dir in $PATH 2793do 2794 IFS=$as_save_IFS 2795 test -z "$as_dir" && as_dir=. 2796 for ac_exec_ext in '' $ac_executable_extensions; do 2797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2798 ac_cv_prog_ac_ct_STRIP="strip" 2799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2800 break 2 2801 fi 2802done 2803 done 2804IFS=$as_save_IFS 2805 2806fi 2807fi 2808ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2809if test -n "$ac_ct_STRIP"; then 2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2811$as_echo "$ac_ct_STRIP" >&6; } 2812else 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2814$as_echo "no" >&6; } 2815fi 2816 2817 if test "x$ac_ct_STRIP" = x; then 2818 STRIP=":" 2819 else 2820 case $cross_compiling:$ac_tool_warned in 2821yes:) 2822{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2823$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2824ac_tool_warned=yes ;; 2825esac 2826 STRIP=$ac_ct_STRIP 2827 fi 2828else 2829 STRIP="$ac_cv_prog_STRIP" 2830fi 2831 2832fi 2833INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2834 2835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2836$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2837if test -z "$MKDIR_P"; then 2838 if ${ac_cv_path_mkdir+:} false; then : 2839 $as_echo_n "(cached) " >&6 2840else 2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2842for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2843do 2844 IFS=$as_save_IFS 2845 test -z "$as_dir" && as_dir=. 2846 for ac_prog in mkdir gmkdir; do 2847 for ac_exec_ext in '' $ac_executable_extensions; do 2848 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2849 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2850 'mkdir (GNU coreutils) '* | \ 2851 'mkdir (coreutils) '* | \ 2852 'mkdir (fileutils) '4.1*) 2853 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2854 break 3;; 2855 esac 2856 done 2857 done 2858 done 2859IFS=$as_save_IFS 2860 2861fi 2862 2863 test -d ./--version && rmdir ./--version 2864 if test "${ac_cv_path_mkdir+set}" = set; then 2865 MKDIR_P="$ac_cv_path_mkdir -p" 2866 else 2867 # As a last resort, use the slow shell script. Don't cache a 2868 # value for MKDIR_P within a source directory, because that will 2869 # break other packages using the cache if that directory is 2870 # removed, or if the value is a relative name. 2871 MKDIR_P="$ac_install_sh -d" 2872 fi 2873fi 2874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2875$as_echo "$MKDIR_P" >&6; } 2876 2877mkdir_p="$MKDIR_P" 2878case $mkdir_p in 2879 [\\/$]* | ?:[\\/]*) ;; 2880 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2881esac 2882 2883for ac_prog in gawk mawk nawk awk 2884do 2885 # Extract the first word of "$ac_prog", so it can be a program name with args. 2886set dummy $ac_prog; ac_word=$2 2887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2888$as_echo_n "checking for $ac_word... " >&6; } 2889if ${ac_cv_prog_AWK+:} false; then : 2890 $as_echo_n "(cached) " >&6 2891else 2892 if test -n "$AWK"; then 2893 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2894else 2895as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2896for as_dir in $PATH 2897do 2898 IFS=$as_save_IFS 2899 test -z "$as_dir" && as_dir=. 2900 for ac_exec_ext in '' $ac_executable_extensions; do 2901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2902 ac_cv_prog_AWK="$ac_prog" 2903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2904 break 2 2905 fi 2906done 2907 done 2908IFS=$as_save_IFS 2909 2910fi 2911fi 2912AWK=$ac_cv_prog_AWK 2913if test -n "$AWK"; then 2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2915$as_echo "$AWK" >&6; } 2916else 2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2918$as_echo "no" >&6; } 2919fi 2920 2921 2922 test -n "$AWK" && break 2923done 2924 2925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2926$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2927set x ${MAKE-make} 2928ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2929if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2930 $as_echo_n "(cached) " >&6 2931else 2932 cat >conftest.make <<\_ACEOF 2933SHELL = /bin/sh 2934all: 2935 @echo '@@@%%%=$(MAKE)=@@@%%%' 2936_ACEOF 2937# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2938case `${MAKE-make} -f conftest.make 2>/dev/null` in 2939 *@@@%%%=?*=@@@%%%*) 2940 eval ac_cv_prog_make_${ac_make}_set=yes;; 2941 *) 2942 eval ac_cv_prog_make_${ac_make}_set=no;; 2943esac 2944rm -f conftest.make 2945fi 2946if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2948$as_echo "yes" >&6; } 2949 SET_MAKE= 2950else 2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2952$as_echo "no" >&6; } 2953 SET_MAKE="MAKE=${MAKE-make}" 2954fi 2955 2956rm -rf .tst 2>/dev/null 2957mkdir .tst 2>/dev/null 2958if test -d .tst; then 2959 am__leading_dot=. 2960else 2961 am__leading_dot=_ 2962fi 2963rmdir .tst 2>/dev/null 2964 2965if test "`cd $srcdir && pwd`" != "`pwd`"; then 2966 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2967 # is not polluted with repeated "-I." 2968 am__isrc=' -I$(srcdir)' 2969 # test to see if srcdir already configured 2970 if test -f $srcdir/config.status; then 2971 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2972 fi 2973fi 2974 2975# test whether we have cygpath 2976if test -z "$CYGPATH_W"; then 2977 if (cygpath --version) >/dev/null 2>/dev/null; then 2978 CYGPATH_W='cygpath -w' 2979 else 2980 CYGPATH_W=echo 2981 fi 2982fi 2983 2984 2985# Define the identity of the package. 2986 PACKAGE='flickcurl' 2987 VERSION='1.26' 2988 2989 2990cat >>confdefs.h <<_ACEOF 2991#define PACKAGE "$PACKAGE" 2992_ACEOF 2993 2994 2995cat >>confdefs.h <<_ACEOF 2996#define VERSION "$VERSION" 2997_ACEOF 2998 2999# Some tools Automake needs. 3000 3001ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3002 3003 3004AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3005 3006 3007AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3008 3009 3010AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3011 3012 3013MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3014 3015# We need awk for the "check" target. The system "awk" is bad on 3016# some platforms. 3017# Always define AMTAR for backward compatibility. Yes, it's still used 3018# in the wild :-( We should find a proper way to deprecate it ... 3019AMTAR='$${TAR-tar}' 3020 3021am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3022 3023 3024 3025 3026 3027 3028 3029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3030$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3031 # Check whether --enable-maintainer-mode was given. 3032if test "${enable_maintainer_mode+set}" = set; then : 3033 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3034else 3035 USE_MAINTAINER_MODE=no 3036fi 3037 3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3039$as_echo "$USE_MAINTAINER_MODE" >&6; } 3040 if test $USE_MAINTAINER_MODE = yes; then 3041 MAINTAINER_MODE_TRUE= 3042 MAINTAINER_MODE_FALSE='#' 3043else 3044 MAINTAINER_MODE_TRUE='#' 3045 MAINTAINER_MODE_FALSE= 3046fi 3047 3048 MAINT=$MAINTAINER_MODE_TRUE 3049 3050 3051 3052if test "$USE_MAINTAINER_MODE" = yes; then 3053 CFLAGS=`echo $CFLAGS | sed -e "s/-OA-Za-z0-9*//"` 3054 CXXFLAGS=`echo $CXXFLAGS | sed -e "s/-OA-Za-z0-9*//"` 3055 CPPFLAGS=`echo $CPPFLAGS | sed -e "s/-OA-Za-z0-9*//"` 3056fi 3057 3058version="$PACKAGE_VERSION.0" 3059version_major=`echo $version | sed -e 's/^\([^\.]*\)\.\([^\.]*\)\.\(.*\)$/\1/'` 3060version_minor=`echo $version | sed -e 's/^\([^\.]*\)\.\([^\.]*\)\.\(.*\)$/\2/'` 3061version_release=`echo $version | sed -e 's/^\([^\.]*\)\.\([^\.]*\)\.\(.*\)$/\3/'` 3062 3063version_decimal=`expr $version_major \* 10000 + $version_minor \* 100 + $version_release` 3064 3065cat >>confdefs.h <<_ACEOF 3066#define FLICKCURL_VERSION_DECIMAL $version_decimal 3067_ACEOF 3068 3069 3070# for flickcurl-config.in 3071FLICKCURL_VERSION_DECIMAL=$version_decimal 3072 3073 3074 3075# Libtool versioning 3076# 3077# CURRENT 3078# The most recent interface number that this library implements. 3079# 3080# REVISION 3081# The implementation number of the CURRENT interface. 3082# 3083# AGE 3084# The difference between the newest and oldest interfaces that this 3085# library implements. In other words, the library implements all the 3086# interface numbers in the range from number `CURRENT - AGE' to 3087# `CURRENT'. 3088# 3089# Rules: 3090# 1. Start with version information of `0:0:0' for each libtool library. 3091# 3092# 2. Update the version information only immediately before a public 3093# release of your software. More frequent updates are unnecessary, 3094# and only guarantee that the current interface number gets larger 3095# faster. 3096# 3097# 3. If the library source code has changed at all since the last 3098# update, then increment REVISION (`C:R:A' becomes `C:r+1:A'). 3099# 3100# 4. If any interfaces have been added, removed, or changed since the 3101# last update, increment CURRENT, and set REVISION to 0. 3102# 3103# 5. If any interfaces have been added since the last public release, 3104# then increment AGE. 3105# 3106# 6. If any interfaces have been removed since the last public release, 3107# then set AGE to 0. 3108# 3109# syntax: CURRENT[:REVISION[:AGE]] 3110LIBFLICKCURL_LIBTOOL_VERSION=0:0:0 3111 3112 3113 3114# Make sure we can run config.sub. 3115$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3116 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3117 3118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3119$as_echo_n "checking build system type... " >&6; } 3120if ${ac_cv_build+:} false; then : 3121 $as_echo_n "(cached) " >&6 3122else 3123 ac_build_alias=$build_alias 3124test "x$ac_build_alias" = x && 3125 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3126test "x$ac_build_alias" = x && 3127 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3128ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3129 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3130 3131fi 3132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3133$as_echo "$ac_cv_build" >&6; } 3134case $ac_cv_build in 3135*-*-*) ;; 3136*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3137esac 3138build=$ac_cv_build 3139ac_save_IFS=$IFS; IFS='-' 3140set x $ac_cv_build 3141shift 3142build_cpu=$1 3143build_vendor=$2 3144shift; shift 3145# Remember, the first character of IFS is used to create $*, 3146# except with old shells: 3147build_os=$* 3148IFS=$ac_save_IFS 3149case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3150 3151 3152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3153$as_echo_n "checking host system type... " >&6; } 3154if ${ac_cv_host+:} false; then : 3155 $as_echo_n "(cached) " >&6 3156else 3157 if test "x$host_alias" = x; then 3158 ac_cv_host=$ac_cv_build 3159else 3160 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3161 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3162fi 3163 3164fi 3165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3166$as_echo "$ac_cv_host" >&6; } 3167case $ac_cv_host in 3168*-*-*) ;; 3169*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3170esac 3171host=$ac_cv_host 3172ac_save_IFS=$IFS; IFS='-' 3173set x $ac_cv_host 3174shift 3175host_cpu=$1 3176host_vendor=$2 3177shift; shift 3178# Remember, the first character of IFS is used to create $*, 3179# except with old shells: 3180host_os=$* 3181IFS=$ac_save_IFS 3182case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3183 3184 3185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3186$as_echo_n "checking whether build environment is sane... " >&6; } 3187# Just in case 3188sleep 1 3189echo timestamp > conftest.file 3190# Reject unsafe characters in $srcdir or the absolute working directory 3191# name. Accept space and tab only in the latter. 3192am_lf=' 3193' 3194case `pwd` in 3195 *[\\\"\#\$\&\'\`$am_lf]*) 3196 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3197esac 3198case $srcdir in 3199 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3200 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 3201esac 3202 3203# Do `set' in a subshell so we don't clobber the current shell's 3204# arguments. Must try -L first in case configure is actually a 3205# symlink; some systems play weird games with the mod time of symlinks 3206# (eg FreeBSD returns the mod time of the symlink's containing 3207# directory). 3208if ( 3209 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3210 if test "$*" = "X"; then 3211 # -L didn't work. 3212 set X `ls -t "$srcdir/configure" conftest.file` 3213 fi 3214 rm -f conftest.file 3215 if test "$*" != "X $srcdir/configure conftest.file" \ 3216 && test "$*" != "X conftest.file $srcdir/configure"; then 3217 3218 # If neither matched, then we have a broken ls. This can happen 3219 # if, for instance, CONFIG_SHELL is bash and it inherits a 3220 # broken ls alias from the environment. This has actually 3221 # happened. Such a system could not be considered "sane". 3222 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3223alias in your environment" "$LINENO" 5 3224 fi 3225 3226 test "$2" = conftest.file 3227 ) 3228then 3229 # Ok. 3230 : 3231else 3232 as_fn_error $? "newly created file is older than distributed files! 3233Check your system clock" "$LINENO" 5 3234fi 3235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3236$as_echo "yes" >&6; } 3237 3238# Checks for programs. 3239DEPDIR="${am__leading_dot}deps" 3240 3241ac_config_commands="$ac_config_commands depfiles" 3242 3243 3244am_make=${MAKE-make} 3245cat > confinc << 'END' 3246am__doit: 3247 @echo this is the am__doit target 3248.PHONY: am__doit 3249END 3250# If we don't find an include directive, just comment out the code. 3251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3252$as_echo_n "checking for style of include used by $am_make... " >&6; } 3253am__include="#" 3254am__quote= 3255_am_result=none 3256# First try GNU make style include. 3257echo "include confinc" > confmf 3258# Ignore all kinds of additional output from `make'. 3259case `$am_make -s -f confmf 2> /dev/null` in #( 3260*the\ am__doit\ target*) 3261 am__include=include 3262 am__quote= 3263 _am_result=GNU 3264 ;; 3265esac 3266# Now try BSD make style include. 3267if test "$am__include" = "#"; then 3268 echo '.include "confinc"' > confmf 3269 case `$am_make -s -f confmf 2> /dev/null` in #( 3270 *the\ am__doit\ target*) 3271 am__include=.include 3272 am__quote="\"" 3273 _am_result=BSD 3274 ;; 3275 esac 3276fi 3277 3278 3279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3280$as_echo "$_am_result" >&6; } 3281rm -f confinc confmf 3282 3283# Check whether --enable-dependency-tracking was given. 3284if test "${enable_dependency_tracking+set}" = set; then : 3285 enableval=$enable_dependency_tracking; 3286fi 3287 3288if test "x$enable_dependency_tracking" != xno; then 3289 am_depcomp="$ac_aux_dir/depcomp" 3290 AMDEPBACKSLASH='\' 3291 am__nodep='_no' 3292fi 3293 if test "x$enable_dependency_tracking" != xno; then 3294 AMDEP_TRUE= 3295 AMDEP_FALSE='#' 3296else 3297 AMDEP_TRUE='#' 3298 AMDEP_FALSE= 3299fi 3300 3301 3302ac_ext=c 3303ac_cpp='$CPP $CPPFLAGS' 3304ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3305ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3306ac_compiler_gnu=$ac_cv_c_compiler_gnu 3307if test -n "$ac_tool_prefix"; then 3308 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3309set dummy ${ac_tool_prefix}gcc; ac_word=$2 3310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3311$as_echo_n "checking for $ac_word... " >&6; } 3312if ${ac_cv_prog_CC+:} false; then : 3313 $as_echo_n "(cached) " >&6 3314else 3315 if test -n "$CC"; then 3316 ac_cv_prog_CC="$CC" # Let the user override the test. 3317else 3318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3319for as_dir in $PATH 3320do 3321 IFS=$as_save_IFS 3322 test -z "$as_dir" && as_dir=. 3323 for ac_exec_ext in '' $ac_executable_extensions; do 3324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3325 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3327 break 2 3328 fi 3329done 3330 done 3331IFS=$as_save_IFS 3332 3333fi 3334fi 3335CC=$ac_cv_prog_CC 3336if test -n "$CC"; then 3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3338$as_echo "$CC" >&6; } 3339else 3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3341$as_echo "no" >&6; } 3342fi 3343 3344 3345fi 3346if test -z "$ac_cv_prog_CC"; then 3347 ac_ct_CC=$CC 3348 # Extract the first word of "gcc", so it can be a program name with args. 3349set dummy gcc; ac_word=$2 3350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3351$as_echo_n "checking for $ac_word... " >&6; } 3352if ${ac_cv_prog_ac_ct_CC+:} false; then : 3353 $as_echo_n "(cached) " >&6 3354else 3355 if test -n "$ac_ct_CC"; then 3356 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3357else 3358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3359for as_dir in $PATH 3360do 3361 IFS=$as_save_IFS 3362 test -z "$as_dir" && as_dir=. 3363 for ac_exec_ext in '' $ac_executable_extensions; do 3364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3365 ac_cv_prog_ac_ct_CC="gcc" 3366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3367 break 2 3368 fi 3369done 3370 done 3371IFS=$as_save_IFS 3372 3373fi 3374fi 3375ac_ct_CC=$ac_cv_prog_ac_ct_CC 3376if test -n "$ac_ct_CC"; then 3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3378$as_echo "$ac_ct_CC" >&6; } 3379else 3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3381$as_echo "no" >&6; } 3382fi 3383 3384 if test "x$ac_ct_CC" = x; then 3385 CC="" 3386 else 3387 case $cross_compiling:$ac_tool_warned in 3388yes:) 3389{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3390$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3391ac_tool_warned=yes ;; 3392esac 3393 CC=$ac_ct_CC 3394 fi 3395else 3396 CC="$ac_cv_prog_CC" 3397fi 3398 3399if test -z "$CC"; then 3400 if test -n "$ac_tool_prefix"; then 3401 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3402set dummy ${ac_tool_prefix}cc; ac_word=$2 3403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3404$as_echo_n "checking for $ac_word... " >&6; } 3405if ${ac_cv_prog_CC+:} false; then : 3406 $as_echo_n "(cached) " >&6 3407else 3408 if test -n "$CC"; then 3409 ac_cv_prog_CC="$CC" # Let the user override the test. 3410else 3411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3412for as_dir in $PATH 3413do 3414 IFS=$as_save_IFS 3415 test -z "$as_dir" && as_dir=. 3416 for ac_exec_ext in '' $ac_executable_extensions; do 3417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3418 ac_cv_prog_CC="${ac_tool_prefix}cc" 3419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3420 break 2 3421 fi 3422done 3423 done 3424IFS=$as_save_IFS 3425 3426fi 3427fi 3428CC=$ac_cv_prog_CC 3429if test -n "$CC"; then 3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3431$as_echo "$CC" >&6; } 3432else 3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3434$as_echo "no" >&6; } 3435fi 3436 3437 3438 fi 3439fi 3440if test -z "$CC"; then 3441 # Extract the first word of "cc", so it can be a program name with args. 3442set dummy cc; ac_word=$2 3443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3444$as_echo_n "checking for $ac_word... " >&6; } 3445if ${ac_cv_prog_CC+:} false; then : 3446 $as_echo_n "(cached) " >&6 3447else 3448 if test -n "$CC"; then 3449 ac_cv_prog_CC="$CC" # Let the user override the test. 3450else 3451 ac_prog_rejected=no 3452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3453for as_dir in $PATH 3454do 3455 IFS=$as_save_IFS 3456 test -z "$as_dir" && as_dir=. 3457 for ac_exec_ext in '' $ac_executable_extensions; do 3458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3459 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3460 ac_prog_rejected=yes 3461 continue 3462 fi 3463 ac_cv_prog_CC="cc" 3464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3465 break 2 3466 fi 3467done 3468 done 3469IFS=$as_save_IFS 3470 3471if test $ac_prog_rejected = yes; then 3472 # We found a bogon in the path, so make sure we never use it. 3473 set dummy $ac_cv_prog_CC 3474 shift 3475 if test $# != 0; then 3476 # We chose a different compiler from the bogus one. 3477 # However, it has the same basename, so the bogon will be chosen 3478 # first if we set CC to just the basename; use the full file name. 3479 shift 3480 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3481 fi 3482fi 3483fi 3484fi 3485CC=$ac_cv_prog_CC 3486if test -n "$CC"; then 3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3488$as_echo "$CC" >&6; } 3489else 3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3491$as_echo "no" >&6; } 3492fi 3493 3494 3495fi 3496if test -z "$CC"; then 3497 if test -n "$ac_tool_prefix"; then 3498 for ac_prog in cl.exe 3499 do 3500 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3501set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3503$as_echo_n "checking for $ac_word... " >&6; } 3504if ${ac_cv_prog_CC+:} false; then : 3505 $as_echo_n "(cached) " >&6 3506else 3507 if test -n "$CC"; then 3508 ac_cv_prog_CC="$CC" # Let the user override the test. 3509else 3510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3511for as_dir in $PATH 3512do 3513 IFS=$as_save_IFS 3514 test -z "$as_dir" && as_dir=. 3515 for ac_exec_ext in '' $ac_executable_extensions; do 3516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3517 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3519 break 2 3520 fi 3521done 3522 done 3523IFS=$as_save_IFS 3524 3525fi 3526fi 3527CC=$ac_cv_prog_CC 3528if test -n "$CC"; then 3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3530$as_echo "$CC" >&6; } 3531else 3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3533$as_echo "no" >&6; } 3534fi 3535 3536 3537 test -n "$CC" && break 3538 done 3539fi 3540if test -z "$CC"; then 3541 ac_ct_CC=$CC 3542 for ac_prog in cl.exe 3543do 3544 # Extract the first word of "$ac_prog", so it can be a program name with args. 3545set dummy $ac_prog; ac_word=$2 3546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3547$as_echo_n "checking for $ac_word... " >&6; } 3548if ${ac_cv_prog_ac_ct_CC+:} false; then : 3549 $as_echo_n "(cached) " >&6 3550else 3551 if test -n "$ac_ct_CC"; then 3552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3553else 3554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3555for as_dir in $PATH 3556do 3557 IFS=$as_save_IFS 3558 test -z "$as_dir" && as_dir=. 3559 for ac_exec_ext in '' $ac_executable_extensions; do 3560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3561 ac_cv_prog_ac_ct_CC="$ac_prog" 3562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3563 break 2 3564 fi 3565done 3566 done 3567IFS=$as_save_IFS 3568 3569fi 3570fi 3571ac_ct_CC=$ac_cv_prog_ac_ct_CC 3572if test -n "$ac_ct_CC"; then 3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3574$as_echo "$ac_ct_CC" >&6; } 3575else 3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3577$as_echo "no" >&6; } 3578fi 3579 3580 3581 test -n "$ac_ct_CC" && break 3582done 3583 3584 if test "x$ac_ct_CC" = x; then 3585 CC="" 3586 else 3587 case $cross_compiling:$ac_tool_warned in 3588yes:) 3589{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3590$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3591ac_tool_warned=yes ;; 3592esac 3593 CC=$ac_ct_CC 3594 fi 3595fi 3596 3597fi 3598 3599 3600test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3601$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3602as_fn_error $? "no acceptable C compiler found in \$PATH 3603See \`config.log' for more details" "$LINENO" 5; } 3604 3605# Provide some information about the compiler. 3606$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3607set X $ac_compile 3608ac_compiler=$2 3609for ac_option in --version -v -V -qversion; do 3610 { { ac_try="$ac_compiler $ac_option >&5" 3611case "(($ac_try" in 3612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3613 *) ac_try_echo=$ac_try;; 3614esac 3615eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3616$as_echo "$ac_try_echo"; } >&5 3617 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3618 ac_status=$? 3619 if test -s conftest.err; then 3620 sed '10a\ 3621... rest of stderr output deleted ... 3622 10q' conftest.err >conftest.er1 3623 cat conftest.er1 >&5 3624 fi 3625 rm -f conftest.er1 conftest.err 3626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3627 test $ac_status = 0; } 3628done 3629 3630cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3631/* end confdefs.h. */ 3632 3633int 3634main () 3635{ 3636 3637 ; 3638 return 0; 3639} 3640_ACEOF 3641ac_clean_files_save=$ac_clean_files 3642ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3643# Try to create an executable without -o first, disregard a.out. 3644# It will help us diagnose broken compilers, and finding out an intuition 3645# of exeext. 3646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3647$as_echo_n "checking whether the C compiler works... " >&6; } 3648ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3649 3650# The possible output files: 3651ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3652 3653ac_rmfiles= 3654for ac_file in $ac_files 3655do 3656 case $ac_file in 3657 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3658 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3659 esac 3660done 3661rm -f $ac_rmfiles 3662 3663if { { ac_try="$ac_link_default" 3664case "(($ac_try" in 3665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3666 *) ac_try_echo=$ac_try;; 3667esac 3668eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3669$as_echo "$ac_try_echo"; } >&5 3670 (eval "$ac_link_default") 2>&5 3671 ac_status=$? 3672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3673 test $ac_status = 0; }; then : 3674 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3675# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3676# in a Makefile. We should not override ac_cv_exeext if it was cached, 3677# so that the user can short-circuit this test for compilers unknown to 3678# Autoconf. 3679for ac_file in $ac_files '' 3680do 3681 test -f "$ac_file" || continue 3682 case $ac_file in 3683 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3684 ;; 3685 [ab].out ) 3686 # We found the default executable, but exeext='' is most 3687 # certainly right. 3688 break;; 3689 *.* ) 3690 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3691 then :; else 3692 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3693 fi 3694 # We set ac_cv_exeext here because the later test for it is not 3695 # safe: cross compilers may not add the suffix if given an `-o' 3696 # argument, so we may need to know it at that point already. 3697 # Even if this section looks crufty: it has the advantage of 3698 # actually working. 3699 break;; 3700 * ) 3701 break;; 3702 esac 3703done 3704test "$ac_cv_exeext" = no && ac_cv_exeext= 3705 3706else 3707 ac_file='' 3708fi 3709if test -z "$ac_file"; then : 3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3711$as_echo "no" >&6; } 3712$as_echo "$as_me: failed program was:" >&5 3713sed 's/^/| /' conftest.$ac_ext >&5 3714 3715{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3716$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3717as_fn_error 77 "C compiler cannot create executables 3718See \`config.log' for more details" "$LINENO" 5; } 3719else 3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3721$as_echo "yes" >&6; } 3722fi 3723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3724$as_echo_n "checking for C compiler default output file name... " >&6; } 3725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3726$as_echo "$ac_file" >&6; } 3727ac_exeext=$ac_cv_exeext 3728 3729rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3730ac_clean_files=$ac_clean_files_save 3731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3732$as_echo_n "checking for suffix of executables... " >&6; } 3733if { { ac_try="$ac_link" 3734case "(($ac_try" in 3735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3736 *) ac_try_echo=$ac_try;; 3737esac 3738eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3739$as_echo "$ac_try_echo"; } >&5 3740 (eval "$ac_link") 2>&5 3741 ac_status=$? 3742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3743 test $ac_status = 0; }; then : 3744 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3745# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3746# work properly (i.e., refer to `conftest.exe'), while it won't with 3747# `rm'. 3748for ac_file in conftest.exe conftest conftest.*; do 3749 test -f "$ac_file" || continue 3750 case $ac_file in 3751 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3752 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3753 break;; 3754 * ) break;; 3755 esac 3756done 3757else 3758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3759$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3760as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3761See \`config.log' for more details" "$LINENO" 5; } 3762fi 3763rm -f conftest conftest$ac_cv_exeext 3764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3765$as_echo "$ac_cv_exeext" >&6; } 3766 3767rm -f conftest.$ac_ext 3768EXEEXT=$ac_cv_exeext 3769ac_exeext=$EXEEXT 3770cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3771/* end confdefs.h. */ 3772#include <stdio.h> 3773int 3774main () 3775{ 3776FILE *f = fopen ("conftest.out", "w"); 3777 return ferror (f) || fclose (f) != 0; 3778 3779 ; 3780 return 0; 3781} 3782_ACEOF 3783ac_clean_files="$ac_clean_files conftest.out" 3784# Check that the compiler produces executables we can run. If not, either 3785# the compiler is broken, or we cross compile. 3786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3787$as_echo_n "checking whether we are cross compiling... " >&6; } 3788if test "$cross_compiling" != yes; then 3789 { { ac_try="$ac_link" 3790case "(($ac_try" in 3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3792 *) ac_try_echo=$ac_try;; 3793esac 3794eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3795$as_echo "$ac_try_echo"; } >&5 3796 (eval "$ac_link") 2>&5 3797 ac_status=$? 3798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3799 test $ac_status = 0; } 3800 if { ac_try='./conftest$ac_cv_exeext' 3801 { { case "(($ac_try" in 3802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3803 *) ac_try_echo=$ac_try;; 3804esac 3805eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3806$as_echo "$ac_try_echo"; } >&5 3807 (eval "$ac_try") 2>&5 3808 ac_status=$? 3809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3810 test $ac_status = 0; }; }; then 3811 cross_compiling=no 3812 else 3813 if test "$cross_compiling" = maybe; then 3814 cross_compiling=yes 3815 else 3816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3817$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3818as_fn_error $? "cannot run C compiled programs. 3819If you meant to cross compile, use \`--host'. 3820See \`config.log' for more details" "$LINENO" 5; } 3821 fi 3822 fi 3823fi 3824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3825$as_echo "$cross_compiling" >&6; } 3826 3827rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3828ac_clean_files=$ac_clean_files_save 3829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3830$as_echo_n "checking for suffix of object files... " >&6; } 3831if ${ac_cv_objext+:} false; then : 3832 $as_echo_n "(cached) " >&6 3833else 3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3835/* end confdefs.h. */ 3836 3837int 3838main () 3839{ 3840 3841 ; 3842 return 0; 3843} 3844_ACEOF 3845rm -f conftest.o conftest.obj 3846if { { ac_try="$ac_compile" 3847case "(($ac_try" in 3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3849 *) ac_try_echo=$ac_try;; 3850esac 3851eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3852$as_echo "$ac_try_echo"; } >&5 3853 (eval "$ac_compile") 2>&5 3854 ac_status=$? 3855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3856 test $ac_status = 0; }; then : 3857 for ac_file in conftest.o conftest.obj conftest.*; do 3858 test -f "$ac_file" || continue; 3859 case $ac_file in 3860 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3861 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3862 break;; 3863 esac 3864done 3865else 3866 $as_echo "$as_me: failed program was:" >&5 3867sed 's/^/| /' conftest.$ac_ext >&5 3868 3869{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3870$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3871as_fn_error $? "cannot compute suffix of object files: cannot compile 3872See \`config.log' for more details" "$LINENO" 5; } 3873fi 3874rm -f conftest.$ac_cv_objext conftest.$ac_ext 3875fi 3876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3877$as_echo "$ac_cv_objext" >&6; } 3878OBJEXT=$ac_cv_objext 3879ac_objext=$OBJEXT 3880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3881$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3882if ${ac_cv_c_compiler_gnu+:} false; then : 3883 $as_echo_n "(cached) " >&6 3884else 3885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3886/* end confdefs.h. */ 3887 3888int 3889main () 3890{ 3891#ifndef __GNUC__ 3892 choke me 3893#endif 3894 3895 ; 3896 return 0; 3897} 3898_ACEOF 3899if ac_fn_c_try_compile "$LINENO"; then : 3900 ac_compiler_gnu=yes 3901else 3902 ac_compiler_gnu=no 3903fi 3904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3905ac_cv_c_compiler_gnu=$ac_compiler_gnu 3906 3907fi 3908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3909$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3910if test $ac_compiler_gnu = yes; then 3911 GCC=yes 3912else 3913 GCC= 3914fi 3915ac_test_CFLAGS=${CFLAGS+set} 3916ac_save_CFLAGS=$CFLAGS 3917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3918$as_echo_n "checking whether $CC accepts -g... " >&6; } 3919if ${ac_cv_prog_cc_g+:} false; then : 3920 $as_echo_n "(cached) " >&6 3921else 3922 ac_save_c_werror_flag=$ac_c_werror_flag 3923 ac_c_werror_flag=yes 3924 ac_cv_prog_cc_g=no 3925 CFLAGS="-g" 3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3927/* end confdefs.h. */ 3928 3929int 3930main () 3931{ 3932 3933 ; 3934 return 0; 3935} 3936_ACEOF 3937if ac_fn_c_try_compile "$LINENO"; then : 3938 ac_cv_prog_cc_g=yes 3939else 3940 CFLAGS="" 3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3942/* end confdefs.h. */ 3943 3944int 3945main () 3946{ 3947 3948 ; 3949 return 0; 3950} 3951_ACEOF 3952if ac_fn_c_try_compile "$LINENO"; then : 3953 3954else 3955 ac_c_werror_flag=$ac_save_c_werror_flag 3956 CFLAGS="-g" 3957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3958/* end confdefs.h. */ 3959 3960int 3961main () 3962{ 3963 3964 ; 3965 return 0; 3966} 3967_ACEOF 3968if ac_fn_c_try_compile "$LINENO"; then : 3969 ac_cv_prog_cc_g=yes 3970fi 3971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3972fi 3973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3974fi 3975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3976 ac_c_werror_flag=$ac_save_c_werror_flag 3977fi 3978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3979$as_echo "$ac_cv_prog_cc_g" >&6; } 3980if test "$ac_test_CFLAGS" = set; then 3981 CFLAGS=$ac_save_CFLAGS 3982elif test $ac_cv_prog_cc_g = yes; then 3983 if test "$GCC" = yes; then 3984 CFLAGS="-g -O2" 3985 else 3986 CFLAGS="-g" 3987 fi 3988else 3989 if test "$GCC" = yes; then 3990 CFLAGS="-O2" 3991 else 3992 CFLAGS= 3993 fi 3994fi 3995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3996$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3997if ${ac_cv_prog_cc_c89+:} false; then : 3998 $as_echo_n "(cached) " >&6 3999else 4000 ac_cv_prog_cc_c89=no 4001ac_save_CC=$CC 4002cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4003/* end confdefs.h. */ 4004#include <stdarg.h> 4005#include <stdio.h> 4006struct stat; 4007/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4008struct buf { int x; }; 4009FILE * (*rcsopen) (struct buf *, struct stat *, int); 4010static char *e (p, i) 4011 char **p; 4012 int i; 4013{ 4014 return p[i]; 4015} 4016static char *f (char * (*g) (char **, int), char **p, ...) 4017{ 4018 char *s; 4019 va_list v; 4020 va_start (v,p); 4021 s = g (p, va_arg (v,int)); 4022 va_end (v); 4023 return s; 4024} 4025 4026/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4027 function prototypes and stuff, but not '\xHH' hex character constants. 4028 These don't provoke an error unfortunately, instead are silently treated 4029 as 'x'. The following induces an error, until -std is added to get 4030 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4031 array size at least. It's necessary to write '\x00'==0 to get something 4032 that's true only with -std. */ 4033int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4034 4035/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4036 inside strings and character constants. */ 4037#define FOO(x) 'x' 4038int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4039 4040int test (int i, double x); 4041struct s1 {int (*f) (int a);}; 4042struct s2 {int (*f) (double a);}; 4043int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4044int argc; 4045char **argv; 4046int 4047main () 4048{ 4049return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4050 ; 4051 return 0; 4052} 4053_ACEOF 4054for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4055 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4056do 4057 CC="$ac_save_CC $ac_arg" 4058 if ac_fn_c_try_compile "$LINENO"; then : 4059 ac_cv_prog_cc_c89=$ac_arg 4060fi 4061rm -f core conftest.err conftest.$ac_objext 4062 test "x$ac_cv_prog_cc_c89" != "xno" && break 4063done 4064rm -f conftest.$ac_ext 4065CC=$ac_save_CC 4066 4067fi 4068# AC_CACHE_VAL 4069case "x$ac_cv_prog_cc_c89" in 4070 x) 4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4072$as_echo "none needed" >&6; } ;; 4073 xno) 4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4075$as_echo "unsupported" >&6; } ;; 4076 *) 4077 CC="$CC $ac_cv_prog_cc_c89" 4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4079$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4080esac 4081if test "x$ac_cv_prog_cc_c89" != xno; then : 4082 4083fi 4084 4085ac_ext=c 4086ac_cpp='$CPP $CPPFLAGS' 4087ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4088ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4089ac_compiler_gnu=$ac_cv_c_compiler_gnu 4090 4091depcc="$CC" am_compiler_list= 4092 4093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4094$as_echo_n "checking dependency style of $depcc... " >&6; } 4095if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4096 $as_echo_n "(cached) " >&6 4097else 4098 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4099 # We make a subdir and do the tests there. Otherwise we can end up 4100 # making bogus files that we don't know about and never remove. For 4101 # instance it was reported that on HP-UX the gcc test will end up 4102 # making a dummy file named `D' -- because `-MD' means `put the output 4103 # in D'. 4104 rm -rf conftest.dir 4105 mkdir conftest.dir 4106 # Copy depcomp to subdir because otherwise we won't find it if we're 4107 # using a relative directory. 4108 cp "$am_depcomp" conftest.dir 4109 cd conftest.dir 4110 # We will build objects and dependencies in a subdirectory because 4111 # it helps to detect inapplicable dependency modes. For instance 4112 # both Tru64's cc and ICC support -MD to output dependencies as a 4113 # side effect of compilation, but ICC will put the dependencies in 4114 # the current directory while Tru64 will put them in the object 4115 # directory. 4116 mkdir sub 4117 4118 am_cv_CC_dependencies_compiler_type=none 4119 if test "$am_compiler_list" = ""; then 4120 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4121 fi 4122 am__universal=false 4123 case " $depcc " in #( 4124 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4125 esac 4126 4127 for depmode in $am_compiler_list; do 4128 # Setup a source with many dependencies, because some compilers 4129 # like to wrap large dependency lists on column 80 (with \), and 4130 # we should not choose a depcomp mode which is confused by this. 4131 # 4132 # We need to recreate these files for each test, as the compiler may 4133 # overwrite some of them when testing with obscure command lines. 4134 # This happens at least with the AIX C compiler. 4135 : > sub/conftest.c 4136 for i in 1 2 3 4 5 6; do 4137 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4138 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4139 # Solaris 8's {/usr,}/bin/sh. 4140 touch sub/conftst$i.h 4141 done 4142 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4143 4144 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4145 # mode. It turns out that the SunPro C++ compiler does not properly 4146 # handle `-M -o', and we need to detect this. Also, some Intel 4147 # versions had trouble with output in subdirs 4148 am__obj=sub/conftest.${OBJEXT-o} 4149 am__minus_obj="-o $am__obj" 4150 case $depmode in 4151 gcc) 4152 # This depmode causes a compiler race in universal mode. 4153 test "$am__universal" = false || continue 4154 ;; 4155 nosideeffect) 4156 # after this tag, mechanisms are not by side-effect, so they'll 4157 # only be used when explicitly requested 4158 if test "x$enable_dependency_tracking" = xyes; then 4159 continue 4160 else 4161 break 4162 fi 4163 ;; 4164 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4165 # This compiler won't grok `-c -o', but also, the minuso test has 4166 # not run yet. These depmodes are late enough in the game, and 4167 # so weak that their functioning should not be impacted. 4168 am__obj=conftest.${OBJEXT-o} 4169 am__minus_obj= 4170 ;; 4171 none) break ;; 4172 esac 4173 if depmode=$depmode \ 4174 source=sub/conftest.c object=$am__obj \ 4175 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4176 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4177 >/dev/null 2>conftest.err && 4178 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4179 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4180 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4181 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4182 # icc doesn't choke on unknown options, it will just issue warnings 4183 # or remarks (even with -Werror). So we grep stderr for any message 4184 # that says an option was ignored or not supported. 4185 # When given -MP, icc 7.0 and 7.1 complain thusly: 4186 # icc: Command line warning: ignoring option '-M'; no argument required 4187 # The diagnosis changed in icc 8.0: 4188 # icc: Command line remark: option '-MP' not supported 4189 if (grep 'ignoring option' conftest.err || 4190 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4191 am_cv_CC_dependencies_compiler_type=$depmode 4192 break 4193 fi 4194 fi 4195 done 4196 4197 cd .. 4198 rm -rf conftest.dir 4199else 4200 am_cv_CC_dependencies_compiler_type=none 4201fi 4202 4203fi 4204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4205$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4206CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4207 4208 if 4209 test "x$enable_dependency_tracking" != xno \ 4210 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4211 am__fastdepCC_TRUE= 4212 am__fastdepCC_FALSE='#' 4213else 4214 am__fastdepCC_TRUE='#' 4215 am__fastdepCC_FALSE= 4216fi 4217 4218 4219 4220if test -n "$ac_tool_prefix"; then 4221 for ac_prog in ar lib "link -lib" 4222 do 4223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4224set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4226$as_echo_n "checking for $ac_word... " >&6; } 4227if ${ac_cv_prog_AR+:} false; then : 4228 $as_echo_n "(cached) " >&6 4229else 4230 if test -n "$AR"; then 4231 ac_cv_prog_AR="$AR" # Let the user override the test. 4232else 4233as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4234for as_dir in $PATH 4235do 4236 IFS=$as_save_IFS 4237 test -z "$as_dir" && as_dir=. 4238 for ac_exec_ext in '' $ac_executable_extensions; do 4239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4240 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4242 break 2 4243 fi 4244done 4245 done 4246IFS=$as_save_IFS 4247 4248fi 4249fi 4250AR=$ac_cv_prog_AR 4251if test -n "$AR"; then 4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4253$as_echo "$AR" >&6; } 4254else 4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4256$as_echo "no" >&6; } 4257fi 4258 4259 4260 test -n "$AR" && break 4261 done 4262fi 4263if test -z "$AR"; then 4264 ac_ct_AR=$AR 4265 for ac_prog in ar lib "link -lib" 4266do 4267 # Extract the first word of "$ac_prog", so it can be a program name with args. 4268set dummy $ac_prog; ac_word=$2 4269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4270$as_echo_n "checking for $ac_word... " >&6; } 4271if ${ac_cv_prog_ac_ct_AR+:} false; then : 4272 $as_echo_n "(cached) " >&6 4273else 4274 if test -n "$ac_ct_AR"; then 4275 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4276else 4277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4278for as_dir in $PATH 4279do 4280 IFS=$as_save_IFS 4281 test -z "$as_dir" && as_dir=. 4282 for ac_exec_ext in '' $ac_executable_extensions; do 4283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4284 ac_cv_prog_ac_ct_AR="$ac_prog" 4285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4286 break 2 4287 fi 4288done 4289 done 4290IFS=$as_save_IFS 4291 4292fi 4293fi 4294ac_ct_AR=$ac_cv_prog_ac_ct_AR 4295if test -n "$ac_ct_AR"; then 4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 4297$as_echo "$ac_ct_AR" >&6; } 4298else 4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4300$as_echo "no" >&6; } 4301fi 4302 4303 4304 test -n "$ac_ct_AR" && break 4305done 4306 4307 if test "x$ac_ct_AR" = x; then 4308 AR="false" 4309 else 4310 case $cross_compiling:$ac_tool_warned in 4311yes:) 4312{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4313$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4314ac_tool_warned=yes ;; 4315esac 4316 AR=$ac_ct_AR 4317 fi 4318fi 4319 4320: ${AR=ar} 4321 4322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 4323$as_echo_n "checking the archiver ($AR) interface... " >&6; } 4324if ${am_cv_ar_interface+:} false; then : 4325 $as_echo_n "(cached) " >&6 4326else 4327 am_cv_ar_interface=ar 4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4329/* end confdefs.h. */ 4330int some_variable = 0; 4331_ACEOF 4332if ac_fn_c_try_compile "$LINENO"; then : 4333 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 4334 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4335 (eval $am_ar_try) 2>&5 4336 ac_status=$? 4337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4338 test $ac_status = 0; } 4339 if test "$ac_status" -eq 0; then 4340 am_cv_ar_interface=ar 4341 else 4342 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 4343 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4344 (eval $am_ar_try) 2>&5 4345 ac_status=$? 4346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4347 test $ac_status = 0; } 4348 if test "$ac_status" -eq 0; then 4349 am_cv_ar_interface=lib 4350 else 4351 am_cv_ar_interface=unknown 4352 fi 4353 fi 4354 rm -f conftest.lib libconftest.a 4355 4356fi 4357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4358 4359fi 4360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 4361$as_echo "$am_cv_ar_interface" >&6; } 4362 4363case $am_cv_ar_interface in 4364ar) 4365 ;; 4366lib) 4367 # Microsoft lib, so override with the ar-lib wrapper script. 4368 # FIXME: It is wrong to rewrite AR. 4369 # But if we don't then we get into trouble of one sort or another. 4370 # A longer-term fix would be to have automake use am__AR in this case, 4371 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 4372 # similar. 4373 AR="$am_aux_dir/ar-lib $AR" 4374 ;; 4375unknown) 4376 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 4377 ;; 4378esac 4379 4380if test "x$CC" != xcc; then 4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 4382$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } 4383else 4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 4385$as_echo_n "checking whether cc understands -c and -o together... " >&6; } 4386fi 4387set dummy $CC; ac_cc=`$as_echo "$2" | 4388 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 4389if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : 4390 $as_echo_n "(cached) " >&6 4391else 4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4393/* end confdefs.h. */ 4394 4395int 4396main () 4397{ 4398 4399 ; 4400 return 0; 4401} 4402_ACEOF 4403# Make sure it works both with $CC and with simple cc. 4404# We do the test twice because some compilers refuse to overwrite an 4405# existing .o file with -o, though they will create one. 4406ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 4407rm -f conftest2.* 4408if { { case "(($ac_try" in 4409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4410 *) ac_try_echo=$ac_try;; 4411esac 4412eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4413$as_echo "$ac_try_echo"; } >&5 4414 (eval "$ac_try") 2>&5 4415 ac_status=$? 4416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4417 test $ac_status = 0; } && 4418 test -f conftest2.$ac_objext && { { case "(($ac_try" in 4419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4420 *) ac_try_echo=$ac_try;; 4421esac 4422eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4423$as_echo "$ac_try_echo"; } >&5 4424 (eval "$ac_try") 2>&5 4425 ac_status=$? 4426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4427 test $ac_status = 0; }; 4428then 4429 eval ac_cv_prog_cc_${ac_cc}_c_o=yes 4430 if test "x$CC" != xcc; then 4431 # Test first that cc exists at all. 4432 if { ac_try='cc -c conftest.$ac_ext >&5' 4433 { { case "(($ac_try" in 4434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4435 *) ac_try_echo=$ac_try;; 4436esac 4437eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4438$as_echo "$ac_try_echo"; } >&5 4439 (eval "$ac_try") 2>&5 4440 ac_status=$? 4441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4442 test $ac_status = 0; }; }; then 4443 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 4444 rm -f conftest2.* 4445 if { { case "(($ac_try" in 4446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4447 *) ac_try_echo=$ac_try;; 4448esac 4449eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4450$as_echo "$ac_try_echo"; } >&5 4451 (eval "$ac_try") 2>&5 4452 ac_status=$? 4453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4454 test $ac_status = 0; } && 4455 test -f conftest2.$ac_objext && { { case "(($ac_try" in 4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4457 *) ac_try_echo=$ac_try;; 4458esac 4459eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4460$as_echo "$ac_try_echo"; } >&5 4461 (eval "$ac_try") 2>&5 4462 ac_status=$? 4463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4464 test $ac_status = 0; }; 4465 then 4466 # cc works too. 4467 : 4468 else 4469 # cc exists but doesn't like -o. 4470 eval ac_cv_prog_cc_${ac_cc}_c_o=no 4471 fi 4472 fi 4473 fi 4474else 4475 eval ac_cv_prog_cc_${ac_cc}_c_o=no 4476fi 4477rm -f core conftest* 4478 4479fi 4480if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then 4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4482$as_echo "yes" >&6; } 4483else 4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4485$as_echo "no" >&6; } 4486 4487$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h 4488 4489fi 4490 4491# FIXME: we rely on the cache variable name because 4492# there is no other way. 4493set dummy $CC 4494am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 4495eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o 4496if test "$am_t" != yes; then 4497 # Losing compiler, so override with the script. 4498 # FIXME: It is wrong to rewrite CC. 4499 # But if we don't then we get into trouble of one sort or another. 4500 # A longer-term fix would be to have automake use am__CC in this case, 4501 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4502 CC="$am_aux_dir/compile $CC" 4503fi 4504 4505 4506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is clang" >&5 4507$as_echo_n "checking whether $CC is clang... " >&6; } 4508CC_IS_CLANG=no 4509if $CC 2>&1 | grep clang >/dev/null 2>&1; then 4510 CC_IS_CLANG=yes 4511else 4512 : 4513fi 4514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_IS_CLANG" >&5 4515$as_echo "$CC_IS_CLANG" >&6; } 4516 4517case `pwd` in 4518 *\ * | *\ *) 4519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4520$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4521esac 4522 4523 4524 4525macro_version='2.4.2' 4526macro_revision='1.3337' 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540ltmain="$ac_aux_dir/ltmain.sh" 4541 4542# Backslashify metacharacters that are still active within 4543# double-quoted strings. 4544sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4545 4546# Same as above, but do not quote variable references. 4547double_quote_subst='s/\(["`\\]\)/\\\1/g' 4548 4549# Sed substitution to delay expansion of an escaped shell variable in a 4550# double_quote_subst'ed string. 4551delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4552 4553# Sed substitution to delay expansion of an escaped single quote. 4554delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4555 4556# Sed substitution to avoid accidental globbing in evaled expressions 4557no_glob_subst='s/\*/\\\*/g' 4558 4559ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4560ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4561ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4562 4563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4564$as_echo_n "checking how to print strings... " >&6; } 4565# Test print first, because it will be a builtin if present. 4566if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4567 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4568 ECHO='print -r --' 4569elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4570 ECHO='printf %s\n' 4571else 4572 # Use this function as a fallback that always works. 4573 func_fallback_echo () 4574 { 4575 eval 'cat <<_LTECHO_EOF 4576$1 4577_LTECHO_EOF' 4578 } 4579 ECHO='func_fallback_echo' 4580fi 4581 4582# func_echo_all arg... 4583# Invoke $ECHO with all args, space-separated. 4584func_echo_all () 4585{ 4586 $ECHO "" 4587} 4588 4589case "$ECHO" in 4590 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4591$as_echo "printf" >&6; } ;; 4592 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4593$as_echo "print -r" >&6; } ;; 4594 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4595$as_echo "cat" >&6; } ;; 4596esac 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4612$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4613if ${ac_cv_path_SED+:} false; then : 4614 $as_echo_n "(cached) " >&6 4615else 4616 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4617 for ac_i in 1 2 3 4 5 6 7; do 4618 ac_script="$ac_script$as_nl$ac_script" 4619 done 4620 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4621 { ac_script=; unset ac_script;} 4622 if test -z "$SED"; then 4623 ac_path_SED_found=false 4624 # Loop through the user's path and test for each of PROGNAME-LIST 4625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4626for as_dir in $PATH 4627do 4628 IFS=$as_save_IFS 4629 test -z "$as_dir" && as_dir=. 4630 for ac_prog in sed gsed; do 4631 for ac_exec_ext in '' $ac_executable_extensions; do 4632 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4633 as_fn_executable_p "$ac_path_SED" || continue 4634# Check for GNU ac_path_SED and select it if it is found. 4635 # Check for GNU $ac_path_SED 4636case `"$ac_path_SED" --version 2>&1` in 4637*GNU*) 4638 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4639*) 4640 ac_count=0 4641 $as_echo_n 0123456789 >"conftest.in" 4642 while : 4643 do 4644 cat "conftest.in" "conftest.in" >"conftest.tmp" 4645 mv "conftest.tmp" "conftest.in" 4646 cp "conftest.in" "conftest.nl" 4647 $as_echo '' >> "conftest.nl" 4648 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4649 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4650 as_fn_arith $ac_count + 1 && ac_count=$as_val 4651 if test $ac_count -gt ${ac_path_SED_max-0}; then 4652 # Best one so far, save it but keep looking for a better one 4653 ac_cv_path_SED="$ac_path_SED" 4654 ac_path_SED_max=$ac_count 4655 fi 4656 # 10*(2^10) chars as input seems more than enough 4657 test $ac_count -gt 10 && break 4658 done 4659 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4660esac 4661 4662 $ac_path_SED_found && break 3 4663 done 4664 done 4665 done 4666IFS=$as_save_IFS 4667 if test -z "$ac_cv_path_SED"; then 4668 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4669 fi 4670else 4671 ac_cv_path_SED=$SED 4672fi 4673 4674fi 4675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4676$as_echo "$ac_cv_path_SED" >&6; } 4677 SED="$ac_cv_path_SED" 4678 rm -f conftest.sed 4679 4680test -z "$SED" && SED=sed 4681Xsed="$SED -e 1s/^X//" 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4694$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4695if ${ac_cv_path_GREP+:} false; then : 4696 $as_echo_n "(cached) " >&6 4697else 4698 if test -z "$GREP"; then 4699 ac_path_GREP_found=false 4700 # Loop through the user's path and test for each of PROGNAME-LIST 4701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4702for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4703do 4704 IFS=$as_save_IFS 4705 test -z "$as_dir" && as_dir=. 4706 for ac_prog in grep ggrep; do 4707 for ac_exec_ext in '' $ac_executable_extensions; do 4708 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4709 as_fn_executable_p "$ac_path_GREP" || continue 4710# Check for GNU ac_path_GREP and select it if it is found. 4711 # Check for GNU $ac_path_GREP 4712case `"$ac_path_GREP" --version 2>&1` in 4713*GNU*) 4714 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4715*) 4716 ac_count=0 4717 $as_echo_n 0123456789 >"conftest.in" 4718 while : 4719 do 4720 cat "conftest.in" "conftest.in" >"conftest.tmp" 4721 mv "conftest.tmp" "conftest.in" 4722 cp "conftest.in" "conftest.nl" 4723 $as_echo 'GREP' >> "conftest.nl" 4724 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4725 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4726 as_fn_arith $ac_count + 1 && ac_count=$as_val 4727 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4728 # Best one so far, save it but keep looking for a better one 4729 ac_cv_path_GREP="$ac_path_GREP" 4730 ac_path_GREP_max=$ac_count 4731 fi 4732 # 10*(2^10) chars as input seems more than enough 4733 test $ac_count -gt 10 && break 4734 done 4735 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4736esac 4737 4738 $ac_path_GREP_found && break 3 4739 done 4740 done 4741 done 4742IFS=$as_save_IFS 4743 if test -z "$ac_cv_path_GREP"; then 4744 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4745 fi 4746else 4747 ac_cv_path_GREP=$GREP 4748fi 4749 4750fi 4751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4752$as_echo "$ac_cv_path_GREP" >&6; } 4753 GREP="$ac_cv_path_GREP" 4754 4755 4756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4757$as_echo_n "checking for egrep... " >&6; } 4758if ${ac_cv_path_EGREP+:} false; then : 4759 $as_echo_n "(cached) " >&6 4760else 4761 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4762 then ac_cv_path_EGREP="$GREP -E" 4763 else 4764 if test -z "$EGREP"; then 4765 ac_path_EGREP_found=false 4766 # Loop through the user's path and test for each of PROGNAME-LIST 4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4768for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4769do 4770 IFS=$as_save_IFS 4771 test -z "$as_dir" && as_dir=. 4772 for ac_prog in egrep; do 4773 for ac_exec_ext in '' $ac_executable_extensions; do 4774 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4775 as_fn_executable_p "$ac_path_EGREP" || continue 4776# Check for GNU ac_path_EGREP and select it if it is found. 4777 # Check for GNU $ac_path_EGREP 4778case `"$ac_path_EGREP" --version 2>&1` in 4779*GNU*) 4780 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4781*) 4782 ac_count=0 4783 $as_echo_n 0123456789 >"conftest.in" 4784 while : 4785 do 4786 cat "conftest.in" "conftest.in" >"conftest.tmp" 4787 mv "conftest.tmp" "conftest.in" 4788 cp "conftest.in" "conftest.nl" 4789 $as_echo 'EGREP' >> "conftest.nl" 4790 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4791 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4792 as_fn_arith $ac_count + 1 && ac_count=$as_val 4793 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4794 # Best one so far, save it but keep looking for a better one 4795 ac_cv_path_EGREP="$ac_path_EGREP" 4796 ac_path_EGREP_max=$ac_count 4797 fi 4798 # 10*(2^10) chars as input seems more than enough 4799 test $ac_count -gt 10 && break 4800 done 4801 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4802esac 4803 4804 $ac_path_EGREP_found && break 3 4805 done 4806 done 4807 done 4808IFS=$as_save_IFS 4809 if test -z "$ac_cv_path_EGREP"; then 4810 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4811 fi 4812else 4813 ac_cv_path_EGREP=$EGREP 4814fi 4815 4816 fi 4817fi 4818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4819$as_echo "$ac_cv_path_EGREP" >&6; } 4820 EGREP="$ac_cv_path_EGREP" 4821 4822 4823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4824$as_echo_n "checking for fgrep... " >&6; } 4825if ${ac_cv_path_FGREP+:} false; then : 4826 $as_echo_n "(cached) " >&6 4827else 4828 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4829 then ac_cv_path_FGREP="$GREP -F" 4830 else 4831 if test -z "$FGREP"; then 4832 ac_path_FGREP_found=false 4833 # Loop through the user's path and test for each of PROGNAME-LIST 4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4835for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4836do 4837 IFS=$as_save_IFS 4838 test -z "$as_dir" && as_dir=. 4839 for ac_prog in fgrep; do 4840 for ac_exec_ext in '' $ac_executable_extensions; do 4841 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4842 as_fn_executable_p "$ac_path_FGREP" || continue 4843# Check for GNU ac_path_FGREP and select it if it is found. 4844 # Check for GNU $ac_path_FGREP 4845case `"$ac_path_FGREP" --version 2>&1` in 4846*GNU*) 4847 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4848*) 4849 ac_count=0 4850 $as_echo_n 0123456789 >"conftest.in" 4851 while : 4852 do 4853 cat "conftest.in" "conftest.in" >"conftest.tmp" 4854 mv "conftest.tmp" "conftest.in" 4855 cp "conftest.in" "conftest.nl" 4856 $as_echo 'FGREP' >> "conftest.nl" 4857 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4858 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4859 as_fn_arith $ac_count + 1 && ac_count=$as_val 4860 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4861 # Best one so far, save it but keep looking for a better one 4862 ac_cv_path_FGREP="$ac_path_FGREP" 4863 ac_path_FGREP_max=$ac_count 4864 fi 4865 # 10*(2^10) chars as input seems more than enough 4866 test $ac_count -gt 10 && break 4867 done 4868 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4869esac 4870 4871 $ac_path_FGREP_found && break 3 4872 done 4873 done 4874 done 4875IFS=$as_save_IFS 4876 if test -z "$ac_cv_path_FGREP"; then 4877 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4878 fi 4879else 4880 ac_cv_path_FGREP=$FGREP 4881fi 4882 4883 fi 4884fi 4885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4886$as_echo "$ac_cv_path_FGREP" >&6; } 4887 FGREP="$ac_cv_path_FGREP" 4888 4889 4890test -z "$GREP" && GREP=grep 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910# Check whether --with-gnu-ld was given. 4911if test "${with_gnu_ld+set}" = set; then : 4912 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4913else 4914 with_gnu_ld=no 4915fi 4916 4917ac_prog=ld 4918if test "$GCC" = yes; then 4919 # Check if gcc -print-prog-name=ld gives a path. 4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4921$as_echo_n "checking for ld used by $CC... " >&6; } 4922 case $host in 4923 *-*-mingw*) 4924 # gcc leaves a trailing carriage return which upsets mingw 4925 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4926 *) 4927 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4928 esac 4929 case $ac_prog in 4930 # Accept absolute paths. 4931 [\\/]* | ?:[\\/]*) 4932 re_direlt='/[^/][^/]*/\.\./' 4933 # Canonicalize the pathname of ld 4934 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4935 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4936 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4937 done 4938 test -z "$LD" && LD="$ac_prog" 4939 ;; 4940 "") 4941 # If it fails, then pretend we aren't using GCC. 4942 ac_prog=ld 4943 ;; 4944 *) 4945 # If it is relative, then search for the first ld in PATH. 4946 with_gnu_ld=unknown 4947 ;; 4948 esac 4949elif test "$with_gnu_ld" = yes; then 4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4951$as_echo_n "checking for GNU ld... " >&6; } 4952else 4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4954$as_echo_n "checking for non-GNU ld... " >&6; } 4955fi 4956if ${lt_cv_path_LD+:} false; then : 4957 $as_echo_n "(cached) " >&6 4958else 4959 if test -z "$LD"; then 4960 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4961 for ac_dir in $PATH; do 4962 IFS="$lt_save_ifs" 4963 test -z "$ac_dir" && ac_dir=. 4964 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4965 lt_cv_path_LD="$ac_dir/$ac_prog" 4966 # Check to see if the program is GNU ld. I'd rather use --version, 4967 # but apparently some variants of GNU ld only accept -v. 4968 # Break only if it was the GNU/non-GNU ld that we prefer. 4969 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4970 *GNU* | *'with BFD'*) 4971 test "$with_gnu_ld" != no && break 4972 ;; 4973 *) 4974 test "$with_gnu_ld" != yes && break 4975 ;; 4976 esac 4977 fi 4978 done 4979 IFS="$lt_save_ifs" 4980else 4981 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4982fi 4983fi 4984 4985LD="$lt_cv_path_LD" 4986if test -n "$LD"; then 4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4988$as_echo "$LD" >&6; } 4989else 4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4991$as_echo "no" >&6; } 4992fi 4993test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4995$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4996if ${lt_cv_prog_gnu_ld+:} false; then : 4997 $as_echo_n "(cached) " >&6 4998else 4999 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5000case `$LD -v 2>&1 </dev/null` in 5001*GNU* | *'with BFD'*) 5002 lt_cv_prog_gnu_ld=yes 5003 ;; 5004*) 5005 lt_cv_prog_gnu_ld=no 5006 ;; 5007esac 5008fi 5009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5010$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5011with_gnu_ld=$lt_cv_prog_gnu_ld 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5022$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5023if ${lt_cv_path_NM+:} false; then : 5024 $as_echo_n "(cached) " >&6 5025else 5026 if test -n "$NM"; then 5027 # Let the user override the test. 5028 lt_cv_path_NM="$NM" 5029else 5030 lt_nm_to_check="${ac_tool_prefix}nm" 5031 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5032 lt_nm_to_check="$lt_nm_to_check nm" 5033 fi 5034 for lt_tmp_nm in $lt_nm_to_check; do 5035 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5036 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5037 IFS="$lt_save_ifs" 5038 test -z "$ac_dir" && ac_dir=. 5039 tmp_nm="$ac_dir/$lt_tmp_nm" 5040 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5041 # Check to see if the nm accepts a BSD-compat flag. 5042 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5043 # nm: unknown option "B" ignored 5044 # Tru64's nm complains that /dev/null is an invalid object file 5045 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5046 */dev/null* | *'Invalid file or object type'*) 5047 lt_cv_path_NM="$tmp_nm -B" 5048 break 5049 ;; 5050 *) 5051 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5052 */dev/null*) 5053 lt_cv_path_NM="$tmp_nm -p" 5054 break 5055 ;; 5056 *) 5057 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5058 continue # so that we can try to find one that supports BSD flags 5059 ;; 5060 esac 5061 ;; 5062 esac 5063 fi 5064 done 5065 IFS="$lt_save_ifs" 5066 done 5067 : ${lt_cv_path_NM=no} 5068fi 5069fi 5070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5071$as_echo "$lt_cv_path_NM" >&6; } 5072if test "$lt_cv_path_NM" != "no"; then 5073 NM="$lt_cv_path_NM" 5074else 5075 # Didn't find any BSD compatible name lister, look for dumpbin. 5076 if test -n "$DUMPBIN"; then : 5077 # Let the user override the test. 5078 else 5079 if test -n "$ac_tool_prefix"; then 5080 for ac_prog in dumpbin "link -dump" 5081 do 5082 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5083set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5085$as_echo_n "checking for $ac_word... " >&6; } 5086if ${ac_cv_prog_DUMPBIN+:} false; then : 5087 $as_echo_n "(cached) " >&6 5088else 5089 if test -n "$DUMPBIN"; then 5090 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5091else 5092as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5093for as_dir in $PATH 5094do 5095 IFS=$as_save_IFS 5096 test -z "$as_dir" && as_dir=. 5097 for ac_exec_ext in '' $ac_executable_extensions; do 5098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5099 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5101 break 2 5102 fi 5103done 5104 done 5105IFS=$as_save_IFS 5106 5107fi 5108fi 5109DUMPBIN=$ac_cv_prog_DUMPBIN 5110if test -n "$DUMPBIN"; then 5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5112$as_echo "$DUMPBIN" >&6; } 5113else 5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5115$as_echo "no" >&6; } 5116fi 5117 5118 5119 test -n "$DUMPBIN" && break 5120 done 5121fi 5122if test -z "$DUMPBIN"; then 5123 ac_ct_DUMPBIN=$DUMPBIN 5124 for ac_prog in dumpbin "link -dump" 5125do 5126 # Extract the first word of "$ac_prog", so it can be a program name with args. 5127set dummy $ac_prog; ac_word=$2 5128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5129$as_echo_n "checking for $ac_word... " >&6; } 5130if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5131 $as_echo_n "(cached) " >&6 5132else 5133 if test -n "$ac_ct_DUMPBIN"; then 5134 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5135else 5136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5137for as_dir in $PATH 5138do 5139 IFS=$as_save_IFS 5140 test -z "$as_dir" && as_dir=. 5141 for ac_exec_ext in '' $ac_executable_extensions; do 5142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5143 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5145 break 2 5146 fi 5147done 5148 done 5149IFS=$as_save_IFS 5150 5151fi 5152fi 5153ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5154if test -n "$ac_ct_DUMPBIN"; then 5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5156$as_echo "$ac_ct_DUMPBIN" >&6; } 5157else 5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5159$as_echo "no" >&6; } 5160fi 5161 5162 5163 test -n "$ac_ct_DUMPBIN" && break 5164done 5165 5166 if test "x$ac_ct_DUMPBIN" = x; then 5167 DUMPBIN=":" 5168 else 5169 case $cross_compiling:$ac_tool_warned in 5170yes:) 5171{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5172$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5173ac_tool_warned=yes ;; 5174esac 5175 DUMPBIN=$ac_ct_DUMPBIN 5176 fi 5177fi 5178 5179 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5180 *COFF*) 5181 DUMPBIN="$DUMPBIN -symbols" 5182 ;; 5183 *) 5184 DUMPBIN=: 5185 ;; 5186 esac 5187 fi 5188 5189 if test "$DUMPBIN" != ":"; then 5190 NM="$DUMPBIN" 5191 fi 5192fi 5193test -z "$NM" && NM=nm 5194 5195 5196 5197 5198 5199 5200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5201$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5202if ${lt_cv_nm_interface+:} false; then : 5203 $as_echo_n "(cached) " >&6 5204else 5205 lt_cv_nm_interface="BSD nm" 5206 echo "int some_variable = 0;" > conftest.$ac_ext 5207 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5208 (eval "$ac_compile" 2>conftest.err) 5209 cat conftest.err >&5 5210 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5211 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5212 cat conftest.err >&5 5213 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5214 cat conftest.out >&5 5215 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5216 lt_cv_nm_interface="MS dumpbin" 5217 fi 5218 rm -f conftest* 5219fi 5220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5221$as_echo "$lt_cv_nm_interface" >&6; } 5222 5223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5224$as_echo_n "checking whether ln -s works... " >&6; } 5225LN_S=$as_ln_s 5226if test "$LN_S" = "ln -s"; then 5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5228$as_echo "yes" >&6; } 5229else 5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5231$as_echo "no, using $LN_S" >&6; } 5232fi 5233 5234# find the maximum length of command line arguments 5235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5236$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5237if ${lt_cv_sys_max_cmd_len+:} false; then : 5238 $as_echo_n "(cached) " >&6 5239else 5240 i=0 5241 teststring="ABCD" 5242 5243 case $build_os in 5244 msdosdjgpp*) 5245 # On DJGPP, this test can blow up pretty badly due to problems in libc 5246 # (any single argument exceeding 2000 bytes causes a buffer overrun 5247 # during glob expansion). Even if it were fixed, the result of this 5248 # check would be larger than it should be. 5249 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5250 ;; 5251 5252 gnu*) 5253 # Under GNU Hurd, this test is not required because there is 5254 # no limit to the length of command line arguments. 5255 # Libtool will interpret -1 as no limit whatsoever 5256 lt_cv_sys_max_cmd_len=-1; 5257 ;; 5258 5259 cygwin* | mingw* | cegcc*) 5260 # On Win9x/ME, this test blows up -- it succeeds, but takes 5261 # about 5 minutes as the teststring grows exponentially. 5262 # Worse, since 9x/ME are not pre-emptively multitasking, 5263 # you end up with a "frozen" computer, even though with patience 5264 # the test eventually succeeds (with a max line length of 256k). 5265 # Instead, let's just punt: use the minimum linelength reported by 5266 # all of the supported platforms: 8192 (on NT/2K/XP). 5267 lt_cv_sys_max_cmd_len=8192; 5268 ;; 5269 5270 mint*) 5271 # On MiNT this can take a long time and run out of memory. 5272 lt_cv_sys_max_cmd_len=8192; 5273 ;; 5274 5275 amigaos*) 5276 # On AmigaOS with pdksh, this test takes hours, literally. 5277 # So we just punt and use a minimum line length of 8192. 5278 lt_cv_sys_max_cmd_len=8192; 5279 ;; 5280 5281 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5282 # This has been around since 386BSD, at least. Likely further. 5283 if test -x /sbin/sysctl; then 5284 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5285 elif test -x /usr/sbin/sysctl; then 5286 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5287 else 5288 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5289 fi 5290 # And add a safety zone 5291 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5292 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5293 ;; 5294 5295 interix*) 5296 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5297 lt_cv_sys_max_cmd_len=196608 5298 ;; 5299 5300 os2*) 5301 # The test takes a long time on OS/2. 5302 lt_cv_sys_max_cmd_len=8192 5303 ;; 5304 5305 osf*) 5306 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5307 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5308 # nice to cause kernel panics so lets avoid the loop below. 5309 # First set a reasonable default. 5310 lt_cv_sys_max_cmd_len=16384 5311 # 5312 if test -x /sbin/sysconfig; then 5313 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5314 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5315 esac 5316 fi 5317 ;; 5318 sco3.2v5*) 5319 lt_cv_sys_max_cmd_len=102400 5320 ;; 5321 sysv5* | sco5v6* | sysv4.2uw2*) 5322 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5323 if test -n "$kargmax"; then 5324 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5325 else 5326 lt_cv_sys_max_cmd_len=32768 5327 fi 5328 ;; 5329 *) 5330 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5331 if test -n "$lt_cv_sys_max_cmd_len"; then 5332 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5333 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5334 else 5335 # Make teststring a little bigger before we do anything with it. 5336 # a 1K string should be a reasonable start. 5337 for i in 1 2 3 4 5 6 7 8 ; do 5338 teststring=$teststring$teststring 5339 done 5340 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5341 # If test is not a shell built-in, we'll probably end up computing a 5342 # maximum length that is only half of the actual maximum length, but 5343 # we can't tell. 5344 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5345 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5346 test $i != 17 # 1/2 MB should be enough 5347 do 5348 i=`expr $i + 1` 5349 teststring=$teststring$teststring 5350 done 5351 # Only check the string length outside the loop. 5352 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5353 teststring= 5354 # Add a significant safety factor because C++ compilers can tack on 5355 # massive amounts of additional arguments before passing them to the 5356 # linker. It appears as though 1/2 is a usable value. 5357 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5358 fi 5359 ;; 5360 esac 5361 5362fi 5363 5364if test -n $lt_cv_sys_max_cmd_len ; then 5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5366$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5367else 5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5369$as_echo "none" >&6; } 5370fi 5371max_cmd_len=$lt_cv_sys_max_cmd_len 5372 5373 5374 5375 5376 5377 5378: ${CP="cp -f"} 5379: ${MV="mv -f"} 5380: ${RM="rm -f"} 5381 5382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5383$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5384# Try some XSI features 5385xsi_shell=no 5386( _lt_dummy="a/b/c" 5387 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5388 = c,a/b,b/c, \ 5389 && eval 'test $(( 1 + 1 )) -eq 2 \ 5390 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5391 && xsi_shell=yes 5392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5393$as_echo "$xsi_shell" >&6; } 5394 5395 5396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5397$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5398lt_shell_append=no 5399( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5400 >/dev/null 2>&1 \ 5401 && lt_shell_append=yes 5402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5403$as_echo "$lt_shell_append" >&6; } 5404 5405 5406if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5407 lt_unset=unset 5408else 5409 lt_unset=false 5410fi 5411 5412 5413 5414 5415 5416# test EBCDIC or ASCII 5417case `echo X|tr X '\101'` in 5418 A) # ASCII based system 5419 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5420 lt_SP2NL='tr \040 \012' 5421 lt_NL2SP='tr \015\012 \040\040' 5422 ;; 5423 *) # EBCDIC based system 5424 lt_SP2NL='tr \100 \n' 5425 lt_NL2SP='tr \r\n \100\100' 5426 ;; 5427esac 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5438$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5439if ${lt_cv_to_host_file_cmd+:} false; then : 5440 $as_echo_n "(cached) " >&6 5441else 5442 case $host in 5443 *-*-mingw* ) 5444 case $build in 5445 *-*-mingw* ) # actually msys 5446 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5447 ;; 5448 *-*-cygwin* ) 5449 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5450 ;; 5451 * ) # otherwise, assume *nix 5452 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5453 ;; 5454 esac 5455 ;; 5456 *-*-cygwin* ) 5457 case $build in 5458 *-*-mingw* ) # actually msys 5459 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5460 ;; 5461 *-*-cygwin* ) 5462 lt_cv_to_host_file_cmd=func_convert_file_noop 5463 ;; 5464 * ) # otherwise, assume *nix 5465 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5466 ;; 5467 esac 5468 ;; 5469 * ) # unhandled hosts (and "normal" native builds) 5470 lt_cv_to_host_file_cmd=func_convert_file_noop 5471 ;; 5472esac 5473 5474fi 5475 5476to_host_file_cmd=$lt_cv_to_host_file_cmd 5477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5478$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5479 5480 5481 5482 5483 5484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5485$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5486if ${lt_cv_to_tool_file_cmd+:} false; then : 5487 $as_echo_n "(cached) " >&6 5488else 5489 #assume ordinary cross tools, or native build. 5490lt_cv_to_tool_file_cmd=func_convert_file_noop 5491case $host in 5492 *-*-mingw* ) 5493 case $build in 5494 *-*-mingw* ) # actually msys 5495 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5496 ;; 5497 esac 5498 ;; 5499esac 5500 5501fi 5502 5503to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5505$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5506 5507 5508 5509 5510 5511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5512$as_echo_n "checking for $LD option to reload object files... " >&6; } 5513if ${lt_cv_ld_reload_flag+:} false; then : 5514 $as_echo_n "(cached) " >&6 5515else 5516 lt_cv_ld_reload_flag='-r' 5517fi 5518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5519$as_echo "$lt_cv_ld_reload_flag" >&6; } 5520reload_flag=$lt_cv_ld_reload_flag 5521case $reload_flag in 5522"" | " "*) ;; 5523*) reload_flag=" $reload_flag" ;; 5524esac 5525reload_cmds='$LD$reload_flag -o $output$reload_objs' 5526case $host_os in 5527 cygwin* | mingw* | pw32* | cegcc*) 5528 if test "$GCC" != yes; then 5529 reload_cmds=false 5530 fi 5531 ;; 5532 darwin*) 5533 if test "$GCC" = yes; then 5534 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5535 else 5536 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5537 fi 5538 ;; 5539esac 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549if test -n "$ac_tool_prefix"; then 5550 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5551set dummy ${ac_tool_prefix}objdump; ac_word=$2 5552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5553$as_echo_n "checking for $ac_word... " >&6; } 5554if ${ac_cv_prog_OBJDUMP+:} false; then : 5555 $as_echo_n "(cached) " >&6 5556else 5557 if test -n "$OBJDUMP"; then 5558 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5559else 5560as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5561for as_dir in $PATH 5562do 5563 IFS=$as_save_IFS 5564 test -z "$as_dir" && as_dir=. 5565 for ac_exec_ext in '' $ac_executable_extensions; do 5566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5567 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5569 break 2 5570 fi 5571done 5572 done 5573IFS=$as_save_IFS 5574 5575fi 5576fi 5577OBJDUMP=$ac_cv_prog_OBJDUMP 5578if test -n "$OBJDUMP"; then 5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5580$as_echo "$OBJDUMP" >&6; } 5581else 5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5583$as_echo "no" >&6; } 5584fi 5585 5586 5587fi 5588if test -z "$ac_cv_prog_OBJDUMP"; then 5589 ac_ct_OBJDUMP=$OBJDUMP 5590 # Extract the first word of "objdump", so it can be a program name with args. 5591set dummy objdump; ac_word=$2 5592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5593$as_echo_n "checking for $ac_word... " >&6; } 5594if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5595 $as_echo_n "(cached) " >&6 5596else 5597 if test -n "$ac_ct_OBJDUMP"; then 5598 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5599else 5600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5601for as_dir in $PATH 5602do 5603 IFS=$as_save_IFS 5604 test -z "$as_dir" && as_dir=. 5605 for ac_exec_ext in '' $ac_executable_extensions; do 5606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5607 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5609 break 2 5610 fi 5611done 5612 done 5613IFS=$as_save_IFS 5614 5615fi 5616fi 5617ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5618if test -n "$ac_ct_OBJDUMP"; then 5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5620$as_echo "$ac_ct_OBJDUMP" >&6; } 5621else 5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5623$as_echo "no" >&6; } 5624fi 5625 5626 if test "x$ac_ct_OBJDUMP" = x; then 5627 OBJDUMP="false" 5628 else 5629 case $cross_compiling:$ac_tool_warned in 5630yes:) 5631{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5632$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5633ac_tool_warned=yes ;; 5634esac 5635 OBJDUMP=$ac_ct_OBJDUMP 5636 fi 5637else 5638 OBJDUMP="$ac_cv_prog_OBJDUMP" 5639fi 5640 5641test -z "$OBJDUMP" && OBJDUMP=objdump 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5652$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5653if ${lt_cv_deplibs_check_method+:} false; then : 5654 $as_echo_n "(cached) " >&6 5655else 5656 lt_cv_file_magic_cmd='$MAGIC_CMD' 5657lt_cv_file_magic_test_file= 5658lt_cv_deplibs_check_method='unknown' 5659# Need to set the preceding variable on all platforms that support 5660# interlibrary dependencies. 5661# 'none' -- dependencies not supported. 5662# `unknown' -- same as none, but documents that we really don't know. 5663# 'pass_all' -- all dependencies passed with no checks. 5664# 'test_compile' -- check by making test program. 5665# 'file_magic [[regex]]' -- check by looking for files in library path 5666# which responds to the $file_magic_cmd with a given extended regex. 5667# If you have `file' or equivalent on your system and you're not sure 5668# whether `pass_all' will *always* work, you probably want this one. 5669 5670case $host_os in 5671aix[4-9]*) 5672 lt_cv_deplibs_check_method=pass_all 5673 ;; 5674 5675beos*) 5676 lt_cv_deplibs_check_method=pass_all 5677 ;; 5678 5679bsdi[45]*) 5680 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5681 lt_cv_file_magic_cmd='/usr/bin/file -L' 5682 lt_cv_file_magic_test_file=/shlib/libc.so 5683 ;; 5684 5685cygwin*) 5686 # func_win32_libid is a shell function defined in ltmain.sh 5687 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5688 lt_cv_file_magic_cmd='func_win32_libid' 5689 ;; 5690 5691mingw* | pw32*) 5692 # Base MSYS/MinGW do not provide the 'file' command needed by 5693 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5694 # unless we find 'file', for example because we are cross-compiling. 5695 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5696 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5697 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5698 lt_cv_file_magic_cmd='func_win32_libid' 5699 else 5700 # Keep this pattern in sync with the one in func_win32_libid. 5701 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5702 lt_cv_file_magic_cmd='$OBJDUMP -f' 5703 fi 5704 ;; 5705 5706cegcc*) 5707 # use the weaker test based on 'objdump'. See mingw*. 5708 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5709 lt_cv_file_magic_cmd='$OBJDUMP -f' 5710 ;; 5711 5712darwin* | rhapsody*) 5713 lt_cv_deplibs_check_method=pass_all 5714 ;; 5715 5716freebsd* | dragonfly*) 5717 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5718 case $host_cpu in 5719 i*86 ) 5720 # Not sure whether the presence of OpenBSD here was a mistake. 5721 # Let's accept both of them until this is cleared up. 5722 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5723 lt_cv_file_magic_cmd=/usr/bin/file 5724 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5725 ;; 5726 esac 5727 else 5728 lt_cv_deplibs_check_method=pass_all 5729 fi 5730 ;; 5731 5732haiku*) 5733 lt_cv_deplibs_check_method=pass_all 5734 ;; 5735 5736hpux10.20* | hpux11*) 5737 lt_cv_file_magic_cmd=/usr/bin/file 5738 case $host_cpu in 5739 ia64*) 5740 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5741 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5742 ;; 5743 hppa*64*) 5744 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]' 5745 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5746 ;; 5747 *) 5748 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5749 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5750 ;; 5751 esac 5752 ;; 5753 5754interix[3-9]*) 5755 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5756 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5757 ;; 5758 5759irix5* | irix6* | nonstopux*) 5760 case $LD in 5761 *-32|*"-32 ") libmagic=32-bit;; 5762 *-n32|*"-n32 ") libmagic=N32;; 5763 *-64|*"-64 ") libmagic=64-bit;; 5764 *) libmagic=never-match;; 5765 esac 5766 lt_cv_deplibs_check_method=pass_all 5767 ;; 5768 5769# This must be glibc/ELF. 5770linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5771 lt_cv_deplibs_check_method=pass_all 5772 ;; 5773 5774netbsd* | netbsdelf*-gnu) 5775 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5776 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5777 else 5778 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5779 fi 5780 ;; 5781 5782newos6*) 5783 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5784 lt_cv_file_magic_cmd=/usr/bin/file 5785 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5786 ;; 5787 5788*nto* | *qnx*) 5789 lt_cv_deplibs_check_method=pass_all 5790 ;; 5791 5792openbsd*) 5793 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5794 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5795 else 5796 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5797 fi 5798 ;; 5799 5800osf3* | osf4* | osf5*) 5801 lt_cv_deplibs_check_method=pass_all 5802 ;; 5803 5804rdos*) 5805 lt_cv_deplibs_check_method=pass_all 5806 ;; 5807 5808solaris*) 5809 lt_cv_deplibs_check_method=pass_all 5810 ;; 5811 5812sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5813 lt_cv_deplibs_check_method=pass_all 5814 ;; 5815 5816sysv4 | sysv4.3*) 5817 case $host_vendor in 5818 motorola) 5819 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]' 5820 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5821 ;; 5822 ncr) 5823 lt_cv_deplibs_check_method=pass_all 5824 ;; 5825 sequent) 5826 lt_cv_file_magic_cmd='/bin/file' 5827 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5828 ;; 5829 sni) 5830 lt_cv_file_magic_cmd='/bin/file' 5831 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5832 lt_cv_file_magic_test_file=/lib/libc.so 5833 ;; 5834 siemens) 5835 lt_cv_deplibs_check_method=pass_all 5836 ;; 5837 pc) 5838 lt_cv_deplibs_check_method=pass_all 5839 ;; 5840 esac 5841 ;; 5842 5843tpf*) 5844 lt_cv_deplibs_check_method=pass_all 5845 ;; 5846esac 5847 5848fi 5849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5850$as_echo "$lt_cv_deplibs_check_method" >&6; } 5851 5852file_magic_glob= 5853want_nocaseglob=no 5854if test "$build" = "$host"; then 5855 case $host_os in 5856 mingw* | pw32*) 5857 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5858 want_nocaseglob=yes 5859 else 5860 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5861 fi 5862 ;; 5863 esac 5864fi 5865 5866file_magic_cmd=$lt_cv_file_magic_cmd 5867deplibs_check_method=$lt_cv_deplibs_check_method 5868test -z "$deplibs_check_method" && deplibs_check_method=unknown 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891if test -n "$ac_tool_prefix"; then 5892 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5893set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5895$as_echo_n "checking for $ac_word... " >&6; } 5896if ${ac_cv_prog_DLLTOOL+:} false; then : 5897 $as_echo_n "(cached) " >&6 5898else 5899 if test -n "$DLLTOOL"; then 5900 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5901else 5902as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5903for as_dir in $PATH 5904do 5905 IFS=$as_save_IFS 5906 test -z "$as_dir" && as_dir=. 5907 for ac_exec_ext in '' $ac_executable_extensions; do 5908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5909 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5911 break 2 5912 fi 5913done 5914 done 5915IFS=$as_save_IFS 5916 5917fi 5918fi 5919DLLTOOL=$ac_cv_prog_DLLTOOL 5920if test -n "$DLLTOOL"; then 5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5922$as_echo "$DLLTOOL" >&6; } 5923else 5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5925$as_echo "no" >&6; } 5926fi 5927 5928 5929fi 5930if test -z "$ac_cv_prog_DLLTOOL"; then 5931 ac_ct_DLLTOOL=$DLLTOOL 5932 # Extract the first word of "dlltool", so it can be a program name with args. 5933set dummy dlltool; ac_word=$2 5934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5935$as_echo_n "checking for $ac_word... " >&6; } 5936if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5937 $as_echo_n "(cached) " >&6 5938else 5939 if test -n "$ac_ct_DLLTOOL"; then 5940 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5941else 5942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5943for as_dir in $PATH 5944do 5945 IFS=$as_save_IFS 5946 test -z "$as_dir" && as_dir=. 5947 for ac_exec_ext in '' $ac_executable_extensions; do 5948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5949 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5951 break 2 5952 fi 5953done 5954 done 5955IFS=$as_save_IFS 5956 5957fi 5958fi 5959ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5960if test -n "$ac_ct_DLLTOOL"; then 5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5962$as_echo "$ac_ct_DLLTOOL" >&6; } 5963else 5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5965$as_echo "no" >&6; } 5966fi 5967 5968 if test "x$ac_ct_DLLTOOL" = x; then 5969 DLLTOOL="false" 5970 else 5971 case $cross_compiling:$ac_tool_warned in 5972yes:) 5973{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5974$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5975ac_tool_warned=yes ;; 5976esac 5977 DLLTOOL=$ac_ct_DLLTOOL 5978 fi 5979else 5980 DLLTOOL="$ac_cv_prog_DLLTOOL" 5981fi 5982 5983test -z "$DLLTOOL" && DLLTOOL=dlltool 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5995$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5996if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5997 $as_echo_n "(cached) " >&6 5998else 5999 lt_cv_sharedlib_from_linklib_cmd='unknown' 6000 6001case $host_os in 6002cygwin* | mingw* | pw32* | cegcc*) 6003 # two different shell functions defined in ltmain.sh 6004 # decide which to use based on capabilities of $DLLTOOL 6005 case `$DLLTOOL --help 2>&1` in 6006 *--identify-strict*) 6007 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6008 ;; 6009 *) 6010 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6011 ;; 6012 esac 6013 ;; 6014*) 6015 # fallback: assume linklib IS sharedlib 6016 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 6017 ;; 6018esac 6019 6020fi 6021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6022$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6023sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6024test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6025 6026 6027 6028 6029 6030 6031 6032if test -n "$ac_tool_prefix"; then 6033 for ac_prog in ar 6034 do 6035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6036set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6038$as_echo_n "checking for $ac_word... " >&6; } 6039if ${ac_cv_prog_AR+:} false; then : 6040 $as_echo_n "(cached) " >&6 6041else 6042 if test -n "$AR"; then 6043 ac_cv_prog_AR="$AR" # Let the user override the test. 6044else 6045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6046for as_dir in $PATH 6047do 6048 IFS=$as_save_IFS 6049 test -z "$as_dir" && as_dir=. 6050 for ac_exec_ext in '' $ac_executable_extensions; do 6051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6052 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6054 break 2 6055 fi 6056done 6057 done 6058IFS=$as_save_IFS 6059 6060fi 6061fi 6062AR=$ac_cv_prog_AR 6063if test -n "$AR"; then 6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6065$as_echo "$AR" >&6; } 6066else 6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6068$as_echo "no" >&6; } 6069fi 6070 6071 6072 test -n "$AR" && break 6073 done 6074fi 6075if test -z "$AR"; then 6076 ac_ct_AR=$AR 6077 for ac_prog in ar 6078do 6079 # Extract the first word of "$ac_prog", so it can be a program name with args. 6080set dummy $ac_prog; ac_word=$2 6081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6082$as_echo_n "checking for $ac_word... " >&6; } 6083if ${ac_cv_prog_ac_ct_AR+:} false; then : 6084 $as_echo_n "(cached) " >&6 6085else 6086 if test -n "$ac_ct_AR"; then 6087 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6088else 6089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6090for as_dir in $PATH 6091do 6092 IFS=$as_save_IFS 6093 test -z "$as_dir" && as_dir=. 6094 for ac_exec_ext in '' $ac_executable_extensions; do 6095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6096 ac_cv_prog_ac_ct_AR="$ac_prog" 6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6098 break 2 6099 fi 6100done 6101 done 6102IFS=$as_save_IFS 6103 6104fi 6105fi 6106ac_ct_AR=$ac_cv_prog_ac_ct_AR 6107if test -n "$ac_ct_AR"; then 6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6109$as_echo "$ac_ct_AR" >&6; } 6110else 6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6112$as_echo "no" >&6; } 6113fi 6114 6115 6116 test -n "$ac_ct_AR" && break 6117done 6118 6119 if test "x$ac_ct_AR" = x; then 6120 AR="false" 6121 else 6122 case $cross_compiling:$ac_tool_warned in 6123yes:) 6124{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6125$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6126ac_tool_warned=yes ;; 6127esac 6128 AR=$ac_ct_AR 6129 fi 6130fi 6131 6132: ${AR=ar} 6133: ${AR_FLAGS=cru} 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6146$as_echo_n "checking for archiver @FILE support... " >&6; } 6147if ${lt_cv_ar_at_file+:} false; then : 6148 $as_echo_n "(cached) " >&6 6149else 6150 lt_cv_ar_at_file=no 6151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6152/* end confdefs.h. */ 6153 6154int 6155main () 6156{ 6157 6158 ; 6159 return 0; 6160} 6161_ACEOF 6162if ac_fn_c_try_compile "$LINENO"; then : 6163 echo conftest.$ac_objext > conftest.lst 6164 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6165 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6166 (eval $lt_ar_try) 2>&5 6167 ac_status=$? 6168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6169 test $ac_status = 0; } 6170 if test "$ac_status" -eq 0; then 6171 # Ensure the archiver fails upon bogus file names. 6172 rm -f conftest.$ac_objext libconftest.a 6173 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6174 (eval $lt_ar_try) 2>&5 6175 ac_status=$? 6176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6177 test $ac_status = 0; } 6178 if test "$ac_status" -ne 0; then 6179 lt_cv_ar_at_file=@ 6180 fi 6181 fi 6182 rm -f conftest.* libconftest.a 6183 6184fi 6185rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6186 6187fi 6188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6189$as_echo "$lt_cv_ar_at_file" >&6; } 6190 6191if test "x$lt_cv_ar_at_file" = xno; then 6192 archiver_list_spec= 6193else 6194 archiver_list_spec=$lt_cv_ar_at_file 6195fi 6196 6197 6198 6199 6200 6201 6202 6203if test -n "$ac_tool_prefix"; then 6204 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6205set dummy ${ac_tool_prefix}strip; ac_word=$2 6206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6207$as_echo_n "checking for $ac_word... " >&6; } 6208if ${ac_cv_prog_STRIP+:} false; then : 6209 $as_echo_n "(cached) " >&6 6210else 6211 if test -n "$STRIP"; then 6212 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6213else 6214as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6215for as_dir in $PATH 6216do 6217 IFS=$as_save_IFS 6218 test -z "$as_dir" && as_dir=. 6219 for ac_exec_ext in '' $ac_executable_extensions; do 6220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6221 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6223 break 2 6224 fi 6225done 6226 done 6227IFS=$as_save_IFS 6228 6229fi 6230fi 6231STRIP=$ac_cv_prog_STRIP 6232if test -n "$STRIP"; then 6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6234$as_echo "$STRIP" >&6; } 6235else 6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6237$as_echo "no" >&6; } 6238fi 6239 6240 6241fi 6242if test -z "$ac_cv_prog_STRIP"; then 6243 ac_ct_STRIP=$STRIP 6244 # Extract the first word of "strip", so it can be a program name with args. 6245set dummy strip; ac_word=$2 6246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6247$as_echo_n "checking for $ac_word... " >&6; } 6248if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6249 $as_echo_n "(cached) " >&6 6250else 6251 if test -n "$ac_ct_STRIP"; then 6252 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6253else 6254as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6255for as_dir in $PATH 6256do 6257 IFS=$as_save_IFS 6258 test -z "$as_dir" && as_dir=. 6259 for ac_exec_ext in '' $ac_executable_extensions; do 6260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6261 ac_cv_prog_ac_ct_STRIP="strip" 6262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6263 break 2 6264 fi 6265done 6266 done 6267IFS=$as_save_IFS 6268 6269fi 6270fi 6271ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6272if test -n "$ac_ct_STRIP"; then 6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6274$as_echo "$ac_ct_STRIP" >&6; } 6275else 6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6277$as_echo "no" >&6; } 6278fi 6279 6280 if test "x$ac_ct_STRIP" = x; then 6281 STRIP=":" 6282 else 6283 case $cross_compiling:$ac_tool_warned in 6284yes:) 6285{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6286$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6287ac_tool_warned=yes ;; 6288esac 6289 STRIP=$ac_ct_STRIP 6290 fi 6291else 6292 STRIP="$ac_cv_prog_STRIP" 6293fi 6294 6295test -z "$STRIP" && STRIP=: 6296 6297 6298 6299 6300 6301 6302if test -n "$ac_tool_prefix"; then 6303 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6304set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6306$as_echo_n "checking for $ac_word... " >&6; } 6307if ${ac_cv_prog_RANLIB+:} false; then : 6308 $as_echo_n "(cached) " >&6 6309else 6310 if test -n "$RANLIB"; then 6311 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6312else 6313as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6314for as_dir in $PATH 6315do 6316 IFS=$as_save_IFS 6317 test -z "$as_dir" && as_dir=. 6318 for ac_exec_ext in '' $ac_executable_extensions; do 6319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6320 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6322 break 2 6323 fi 6324done 6325 done 6326IFS=$as_save_IFS 6327 6328fi 6329fi 6330RANLIB=$ac_cv_prog_RANLIB 6331if test -n "$RANLIB"; then 6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6333$as_echo "$RANLIB" >&6; } 6334else 6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6336$as_echo "no" >&6; } 6337fi 6338 6339 6340fi 6341if test -z "$ac_cv_prog_RANLIB"; then 6342 ac_ct_RANLIB=$RANLIB 6343 # Extract the first word of "ranlib", so it can be a program name with args. 6344set dummy ranlib; ac_word=$2 6345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6346$as_echo_n "checking for $ac_word... " >&6; } 6347if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6348 $as_echo_n "(cached) " >&6 6349else 6350 if test -n "$ac_ct_RANLIB"; then 6351 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6352else 6353as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6354for as_dir in $PATH 6355do 6356 IFS=$as_save_IFS 6357 test -z "$as_dir" && as_dir=. 6358 for ac_exec_ext in '' $ac_executable_extensions; do 6359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6360 ac_cv_prog_ac_ct_RANLIB="ranlib" 6361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6362 break 2 6363 fi 6364done 6365 done 6366IFS=$as_save_IFS 6367 6368fi 6369fi 6370ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6371if test -n "$ac_ct_RANLIB"; then 6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6373$as_echo "$ac_ct_RANLIB" >&6; } 6374else 6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6376$as_echo "no" >&6; } 6377fi 6378 6379 if test "x$ac_ct_RANLIB" = x; then 6380 RANLIB=":" 6381 else 6382 case $cross_compiling:$ac_tool_warned in 6383yes:) 6384{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6385$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6386ac_tool_warned=yes ;; 6387esac 6388 RANLIB=$ac_ct_RANLIB 6389 fi 6390else 6391 RANLIB="$ac_cv_prog_RANLIB" 6392fi 6393 6394test -z "$RANLIB" && RANLIB=: 6395 6396 6397 6398 6399 6400 6401# Determine commands to create old-style static archives. 6402old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6403old_postinstall_cmds='chmod 644 $oldlib' 6404old_postuninstall_cmds= 6405 6406if test -n "$RANLIB"; then 6407 case $host_os in 6408 openbsd*) 6409 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6410 ;; 6411 *) 6412 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6413 ;; 6414 esac 6415 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6416fi 6417 6418case $host_os in 6419 darwin*) 6420 lock_old_archive_extraction=yes ;; 6421 *) 6422 lock_old_archive_extraction=no ;; 6423esac 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463# If no C compiler was specified, use CC. 6464LTCC=${LTCC-"$CC"} 6465 6466# If no C compiler flags were specified, use CFLAGS. 6467LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6468 6469# Allow CC to be a program name with arguments. 6470compiler=$CC 6471 6472 6473# Check for command to grab the raw symbol name followed by C symbol from nm. 6474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6475$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6476if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6477 $as_echo_n "(cached) " >&6 6478else 6479 6480# These are sane defaults that work on at least a few old systems. 6481# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6482 6483# Character class describing NM global symbol codes. 6484symcode='[BCDEGRST]' 6485 6486# Regexp to match symbols that can be accessed directly from C. 6487sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6488 6489# Define system-specific variables. 6490case $host_os in 6491aix*) 6492 symcode='[BCDT]' 6493 ;; 6494cygwin* | mingw* | pw32* | cegcc*) 6495 symcode='[ABCDGISTW]' 6496 ;; 6497hpux*) 6498 if test "$host_cpu" = ia64; then 6499 symcode='[ABCDEGRST]' 6500 fi 6501 ;; 6502irix* | nonstopux*) 6503 symcode='[BCDEGRST]' 6504 ;; 6505osf*) 6506 symcode='[BCDEGQRST]' 6507 ;; 6508solaris*) 6509 symcode='[BDRT]' 6510 ;; 6511sco3.2v5*) 6512 symcode='[DT]' 6513 ;; 6514sysv4.2uw2*) 6515 symcode='[DT]' 6516 ;; 6517sysv5* | sco5v6* | unixware* | OpenUNIX*) 6518 symcode='[ABDT]' 6519 ;; 6520sysv4) 6521 symcode='[DFNSTU]' 6522 ;; 6523esac 6524 6525# If we're using GNU nm, then use its standard symbol codes. 6526case `$NM -V 2>&1` in 6527*GNU* | *'with BFD'*) 6528 symcode='[ABCDGIRSTW]' ;; 6529esac 6530 6531# Transform an extracted symbol line into a proper C declaration. 6532# Some systems (esp. on ia64) link data and code symbols differently, 6533# so use this general approach. 6534lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6535 6536# Transform an extracted symbol line into symbol name and symbol address 6537lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6538lt_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'" 6539 6540# Handle CRLF in mingw tool chain 6541opt_cr= 6542case $build_os in 6543mingw*) 6544 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6545 ;; 6546esac 6547 6548# Try without a prefix underscore, then with it. 6549for ac_symprfx in "" "_"; do 6550 6551 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6552 symxfrm="\\1 $ac_symprfx\\2 \\2" 6553 6554 # Write the raw and C identifiers. 6555 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6556 # Fake it for dumpbin and say T for any non-static function 6557 # and D for any global variable. 6558 # Also find C++ and __fastcall symbols from MSVC++, 6559 # which start with @ or ?. 6560 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6561" {last_section=section; section=\$ 3};"\ 6562" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6563" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6564" \$ 0!~/External *\|/{next};"\ 6565" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6566" {if(hide[section]) next};"\ 6567" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6568" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6569" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6570" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6571" ' prfx=^$ac_symprfx" 6572 else 6573 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6574 fi 6575 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6576 6577 # Check to see that the pipe works correctly. 6578 pipe_works=no 6579 6580 rm -f conftest* 6581 cat > conftest.$ac_ext <<_LT_EOF 6582#ifdef __cplusplus 6583extern "C" { 6584#endif 6585char nm_test_var; 6586void nm_test_func(void); 6587void nm_test_func(void){} 6588#ifdef __cplusplus 6589} 6590#endif 6591int main(){nm_test_var='a';nm_test_func();return(0);} 6592_LT_EOF 6593 6594 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6595 (eval $ac_compile) 2>&5 6596 ac_status=$? 6597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6598 test $ac_status = 0; }; then 6599 # Now try to grab the symbols. 6600 nlist=conftest.nm 6601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6602 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6603 ac_status=$? 6604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6605 test $ac_status = 0; } && test -s "$nlist"; then 6606 # Try sorting and uniquifying the output. 6607 if sort "$nlist" | uniq > "$nlist"T; then 6608 mv -f "$nlist"T "$nlist" 6609 else 6610 rm -f "$nlist"T 6611 fi 6612 6613 # Make sure that we snagged all the symbols we need. 6614 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6615 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6616 cat <<_LT_EOF > conftest.$ac_ext 6617/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6618#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6619/* DATA imports from DLLs on WIN32 con't be const, because runtime 6620 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6621# define LT_DLSYM_CONST 6622#elif defined(__osf__) 6623/* This system does not cope well with relocations in const data. */ 6624# define LT_DLSYM_CONST 6625#else 6626# define LT_DLSYM_CONST const 6627#endif 6628 6629#ifdef __cplusplus 6630extern "C" { 6631#endif 6632 6633_LT_EOF 6634 # Now generate the symbol file. 6635 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6636 6637 cat <<_LT_EOF >> conftest.$ac_ext 6638 6639/* The mapping between symbol names and symbols. */ 6640LT_DLSYM_CONST struct { 6641 const char *name; 6642 void *address; 6643} 6644lt__PROGRAM__LTX_preloaded_symbols[] = 6645{ 6646 { "@PROGRAM@", (void *) 0 }, 6647_LT_EOF 6648 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6649 cat <<\_LT_EOF >> conftest.$ac_ext 6650 {0, (void *) 0} 6651}; 6652 6653/* This works around a problem in FreeBSD linker */ 6654#ifdef FREEBSD_WORKAROUND 6655static const void *lt_preloaded_setup() { 6656 return lt__PROGRAM__LTX_preloaded_symbols; 6657} 6658#endif 6659 6660#ifdef __cplusplus 6661} 6662#endif 6663_LT_EOF 6664 # Now try linking the two files. 6665 mv conftest.$ac_objext conftstm.$ac_objext 6666 lt_globsym_save_LIBS=$LIBS 6667 lt_globsym_save_CFLAGS=$CFLAGS 6668 LIBS="conftstm.$ac_objext" 6669 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6670 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6671 (eval $ac_link) 2>&5 6672 ac_status=$? 6673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6674 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6675 pipe_works=yes 6676 fi 6677 LIBS=$lt_globsym_save_LIBS 6678 CFLAGS=$lt_globsym_save_CFLAGS 6679 else 6680 echo "cannot find nm_test_func in $nlist" >&5 6681 fi 6682 else 6683 echo "cannot find nm_test_var in $nlist" >&5 6684 fi 6685 else 6686 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6687 fi 6688 else 6689 echo "$progname: failed program was:" >&5 6690 cat conftest.$ac_ext >&5 6691 fi 6692 rm -rf conftest* conftst* 6693 6694 # Do not use the global_symbol_pipe unless it works. 6695 if test "$pipe_works" = yes; then 6696 break 6697 else 6698 lt_cv_sys_global_symbol_pipe= 6699 fi 6700done 6701 6702fi 6703 6704if test -z "$lt_cv_sys_global_symbol_pipe"; then 6705 lt_cv_sys_global_symbol_to_cdecl= 6706fi 6707if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6709$as_echo "failed" >&6; } 6710else 6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6712$as_echo "ok" >&6; } 6713fi 6714 6715# Response file support. 6716if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6717 nm_file_list_spec='@' 6718elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6719 nm_file_list_spec='@' 6720fi 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6749$as_echo_n "checking for sysroot... " >&6; } 6750 6751# Check whether --with-sysroot was given. 6752if test "${with_sysroot+set}" = set; then : 6753 withval=$with_sysroot; 6754else 6755 with_sysroot=no 6756fi 6757 6758 6759lt_sysroot= 6760case ${with_sysroot} in #( 6761 yes) 6762 if test "$GCC" = yes; then 6763 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6764 fi 6765 ;; #( 6766 /*) 6767 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6768 ;; #( 6769 no|'') 6770 ;; #( 6771 *) 6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6773$as_echo "${with_sysroot}" >&6; } 6774 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6775 ;; 6776esac 6777 6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6779$as_echo "${lt_sysroot:-no}" >&6; } 6780 6781 6782 6783 6784 6785# Check whether --enable-libtool-lock was given. 6786if test "${enable_libtool_lock+set}" = set; then : 6787 enableval=$enable_libtool_lock; 6788fi 6789 6790test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6791 6792# Some flags need to be propagated to the compiler or linker for good 6793# libtool support. 6794case $host in 6795ia64-*-hpux*) 6796 # Find out which ABI we are using. 6797 echo 'int i;' > conftest.$ac_ext 6798 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6799 (eval $ac_compile) 2>&5 6800 ac_status=$? 6801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6802 test $ac_status = 0; }; then 6803 case `/usr/bin/file conftest.$ac_objext` in 6804 *ELF-32*) 6805 HPUX_IA64_MODE="32" 6806 ;; 6807 *ELF-64*) 6808 HPUX_IA64_MODE="64" 6809 ;; 6810 esac 6811 fi 6812 rm -rf conftest* 6813 ;; 6814*-*-irix6*) 6815 # Find out which ABI we are using. 6816 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6817 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6818 (eval $ac_compile) 2>&5 6819 ac_status=$? 6820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6821 test $ac_status = 0; }; then 6822 if test "$lt_cv_prog_gnu_ld" = yes; then 6823 case `/usr/bin/file conftest.$ac_objext` in 6824 *32-bit*) 6825 LD="${LD-ld} -melf32bsmip" 6826 ;; 6827 *N32*) 6828 LD="${LD-ld} -melf32bmipn32" 6829 ;; 6830 *64-bit*) 6831 LD="${LD-ld} -melf64bmip" 6832 ;; 6833 esac 6834 else 6835 case `/usr/bin/file conftest.$ac_objext` in 6836 *32-bit*) 6837 LD="${LD-ld} -32" 6838 ;; 6839 *N32*) 6840 LD="${LD-ld} -n32" 6841 ;; 6842 *64-bit*) 6843 LD="${LD-ld} -64" 6844 ;; 6845 esac 6846 fi 6847 fi 6848 rm -rf conftest* 6849 ;; 6850 6851x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6852s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6853 # Find out which ABI we are using. 6854 echo 'int i;' > conftest.$ac_ext 6855 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6856 (eval $ac_compile) 2>&5 6857 ac_status=$? 6858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6859 test $ac_status = 0; }; then 6860 case `/usr/bin/file conftest.o` in 6861 *32-bit*) 6862 case $host in 6863 x86_64-*kfreebsd*-gnu) 6864 LD="${LD-ld} -m elf_i386_fbsd" 6865 ;; 6866 x86_64-*linux*) 6867 LD="${LD-ld} -m elf_i386" 6868 ;; 6869 ppc64-*linux*|powerpc64-*linux*) 6870 LD="${LD-ld} -m elf32ppclinux" 6871 ;; 6872 s390x-*linux*) 6873 LD="${LD-ld} -m elf_s390" 6874 ;; 6875 sparc64-*linux*) 6876 LD="${LD-ld} -m elf32_sparc" 6877 ;; 6878 esac 6879 ;; 6880 *64-bit*) 6881 case $host in 6882 x86_64-*kfreebsd*-gnu) 6883 LD="${LD-ld} -m elf_x86_64_fbsd" 6884 ;; 6885 x86_64-*linux*) 6886 LD="${LD-ld} -m elf_x86_64" 6887 ;; 6888 ppc*-*linux*|powerpc*-*linux*) 6889 LD="${LD-ld} -m elf64ppc" 6890 ;; 6891 s390*-*linux*|s390*-*tpf*) 6892 LD="${LD-ld} -m elf64_s390" 6893 ;; 6894 sparc*-*linux*) 6895 LD="${LD-ld} -m elf64_sparc" 6896 ;; 6897 esac 6898 ;; 6899 esac 6900 fi 6901 rm -rf conftest* 6902 ;; 6903 6904*-*-sco3.2v5*) 6905 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6906 SAVE_CFLAGS="$CFLAGS" 6907 CFLAGS="$CFLAGS -belf" 6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6909$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6910if ${lt_cv_cc_needs_belf+:} false; then : 6911 $as_echo_n "(cached) " >&6 6912else 6913 ac_ext=c 6914ac_cpp='$CPP $CPPFLAGS' 6915ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6916ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6917ac_compiler_gnu=$ac_cv_c_compiler_gnu 6918 6919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6920/* end confdefs.h. */ 6921 6922int 6923main () 6924{ 6925 6926 ; 6927 return 0; 6928} 6929_ACEOF 6930if ac_fn_c_try_link "$LINENO"; then : 6931 lt_cv_cc_needs_belf=yes 6932else 6933 lt_cv_cc_needs_belf=no 6934fi 6935rm -f core conftest.err conftest.$ac_objext \ 6936 conftest$ac_exeext conftest.$ac_ext 6937 ac_ext=c 6938ac_cpp='$CPP $CPPFLAGS' 6939ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6940ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6941ac_compiler_gnu=$ac_cv_c_compiler_gnu 6942 6943fi 6944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6945$as_echo "$lt_cv_cc_needs_belf" >&6; } 6946 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6947 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6948 CFLAGS="$SAVE_CFLAGS" 6949 fi 6950 ;; 6951*-*solaris*) 6952 # Find out which ABI we are using. 6953 echo 'int i;' > conftest.$ac_ext 6954 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6955 (eval $ac_compile) 2>&5 6956 ac_status=$? 6957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6958 test $ac_status = 0; }; then 6959 case `/usr/bin/file conftest.o` in 6960 *64-bit*) 6961 case $lt_cv_prog_gnu_ld in 6962 yes*) 6963 case $host in 6964 i?86-*-solaris*) 6965 LD="${LD-ld} -m elf_x86_64" 6966 ;; 6967 sparc*-*-solaris*) 6968 LD="${LD-ld} -m elf64_sparc" 6969 ;; 6970 esac 6971 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6972 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6973 LD="${LD-ld}_sol2" 6974 fi 6975 ;; 6976 *) 6977 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6978 LD="${LD-ld} -64" 6979 fi 6980 ;; 6981 esac 6982 ;; 6983 esac 6984 fi 6985 rm -rf conftest* 6986 ;; 6987esac 6988 6989need_locks="$enable_libtool_lock" 6990 6991if test -n "$ac_tool_prefix"; then 6992 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6993set dummy ${ac_tool_prefix}mt; ac_word=$2 6994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6995$as_echo_n "checking for $ac_word... " >&6; } 6996if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6997 $as_echo_n "(cached) " >&6 6998else 6999 if test -n "$MANIFEST_TOOL"; then 7000 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7001else 7002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7003for as_dir in $PATH 7004do 7005 IFS=$as_save_IFS 7006 test -z "$as_dir" && as_dir=. 7007 for ac_exec_ext in '' $ac_executable_extensions; do 7008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7009 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7011 break 2 7012 fi 7013done 7014 done 7015IFS=$as_save_IFS 7016 7017fi 7018fi 7019MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7020if test -n "$MANIFEST_TOOL"; then 7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7022$as_echo "$MANIFEST_TOOL" >&6; } 7023else 7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7025$as_echo "no" >&6; } 7026fi 7027 7028 7029fi 7030if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7031 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7032 # Extract the first word of "mt", so it can be a program name with args. 7033set dummy mt; ac_word=$2 7034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7035$as_echo_n "checking for $ac_word... " >&6; } 7036if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7037 $as_echo_n "(cached) " >&6 7038else 7039 if test -n "$ac_ct_MANIFEST_TOOL"; then 7040 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7041else 7042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7043for as_dir in $PATH 7044do 7045 IFS=$as_save_IFS 7046 test -z "$as_dir" && as_dir=. 7047 for ac_exec_ext in '' $ac_executable_extensions; do 7048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7049 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7051 break 2 7052 fi 7053done 7054 done 7055IFS=$as_save_IFS 7056 7057fi 7058fi 7059ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7060if test -n "$ac_ct_MANIFEST_TOOL"; then 7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7062$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7063else 7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7065$as_echo "no" >&6; } 7066fi 7067 7068 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7069 MANIFEST_TOOL=":" 7070 else 7071 case $cross_compiling:$ac_tool_warned in 7072yes:) 7073{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7074$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7075ac_tool_warned=yes ;; 7076esac 7077 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7078 fi 7079else 7080 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7081fi 7082 7083test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7085$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7086if ${lt_cv_path_mainfest_tool+:} false; then : 7087 $as_echo_n "(cached) " >&6 7088else 7089 lt_cv_path_mainfest_tool=no 7090 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7091 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7092 cat conftest.err >&5 7093 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7094 lt_cv_path_mainfest_tool=yes 7095 fi 7096 rm -f conftest* 7097fi 7098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7099$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7100if test "x$lt_cv_path_mainfest_tool" != xyes; then 7101 MANIFEST_TOOL=: 7102fi 7103 7104 7105 7106 7107 7108 7109 case $host_os in 7110 rhapsody* | darwin*) 7111 if test -n "$ac_tool_prefix"; then 7112 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7113set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7115$as_echo_n "checking for $ac_word... " >&6; } 7116if ${ac_cv_prog_DSYMUTIL+:} false; then : 7117 $as_echo_n "(cached) " >&6 7118else 7119 if test -n "$DSYMUTIL"; then 7120 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7121else 7122as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7123for as_dir in $PATH 7124do 7125 IFS=$as_save_IFS 7126 test -z "$as_dir" && as_dir=. 7127 for ac_exec_ext in '' $ac_executable_extensions; do 7128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7129 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7131 break 2 7132 fi 7133done 7134 done 7135IFS=$as_save_IFS 7136 7137fi 7138fi 7139DSYMUTIL=$ac_cv_prog_DSYMUTIL 7140if test -n "$DSYMUTIL"; then 7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7142$as_echo "$DSYMUTIL" >&6; } 7143else 7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7145$as_echo "no" >&6; } 7146fi 7147 7148 7149fi 7150if test -z "$ac_cv_prog_DSYMUTIL"; then 7151 ac_ct_DSYMUTIL=$DSYMUTIL 7152 # Extract the first word of "dsymutil", so it can be a program name with args. 7153set dummy dsymutil; ac_word=$2 7154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7155$as_echo_n "checking for $ac_word... " >&6; } 7156if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7157 $as_echo_n "(cached) " >&6 7158else 7159 if test -n "$ac_ct_DSYMUTIL"; then 7160 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7161else 7162as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7163for as_dir in $PATH 7164do 7165 IFS=$as_save_IFS 7166 test -z "$as_dir" && as_dir=. 7167 for ac_exec_ext in '' $ac_executable_extensions; do 7168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7169 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7171 break 2 7172 fi 7173done 7174 done 7175IFS=$as_save_IFS 7176 7177fi 7178fi 7179ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7180if test -n "$ac_ct_DSYMUTIL"; then 7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7182$as_echo "$ac_ct_DSYMUTIL" >&6; } 7183else 7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7185$as_echo "no" >&6; } 7186fi 7187 7188 if test "x$ac_ct_DSYMUTIL" = x; then 7189 DSYMUTIL=":" 7190 else 7191 case $cross_compiling:$ac_tool_warned in 7192yes:) 7193{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7194$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7195ac_tool_warned=yes ;; 7196esac 7197 DSYMUTIL=$ac_ct_DSYMUTIL 7198 fi 7199else 7200 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7201fi 7202 7203 if test -n "$ac_tool_prefix"; then 7204 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7205set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7207$as_echo_n "checking for $ac_word... " >&6; } 7208if ${ac_cv_prog_NMEDIT+:} false; then : 7209 $as_echo_n "(cached) " >&6 7210else 7211 if test -n "$NMEDIT"; then 7212 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7213else 7214as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7215for as_dir in $PATH 7216do 7217 IFS=$as_save_IFS 7218 test -z "$as_dir" && as_dir=. 7219 for ac_exec_ext in '' $ac_executable_extensions; do 7220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7221 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7223 break 2 7224 fi 7225done 7226 done 7227IFS=$as_save_IFS 7228 7229fi 7230fi 7231NMEDIT=$ac_cv_prog_NMEDIT 7232if test -n "$NMEDIT"; then 7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7234$as_echo "$NMEDIT" >&6; } 7235else 7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7237$as_echo "no" >&6; } 7238fi 7239 7240 7241fi 7242if test -z "$ac_cv_prog_NMEDIT"; then 7243 ac_ct_NMEDIT=$NMEDIT 7244 # Extract the first word of "nmedit", so it can be a program name with args. 7245set dummy nmedit; ac_word=$2 7246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7247$as_echo_n "checking for $ac_word... " >&6; } 7248if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7249 $as_echo_n "(cached) " >&6 7250else 7251 if test -n "$ac_ct_NMEDIT"; then 7252 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7253else 7254as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7255for as_dir in $PATH 7256do 7257 IFS=$as_save_IFS 7258 test -z "$as_dir" && as_dir=. 7259 for ac_exec_ext in '' $ac_executable_extensions; do 7260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7261 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7263 break 2 7264 fi 7265done 7266 done 7267IFS=$as_save_IFS 7268 7269fi 7270fi 7271ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7272if test -n "$ac_ct_NMEDIT"; then 7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7274$as_echo "$ac_ct_NMEDIT" >&6; } 7275else 7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7277$as_echo "no" >&6; } 7278fi 7279 7280 if test "x$ac_ct_NMEDIT" = x; then 7281 NMEDIT=":" 7282 else 7283 case $cross_compiling:$ac_tool_warned in 7284yes:) 7285{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7286$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7287ac_tool_warned=yes ;; 7288esac 7289 NMEDIT=$ac_ct_NMEDIT 7290 fi 7291else 7292 NMEDIT="$ac_cv_prog_NMEDIT" 7293fi 7294 7295 if test -n "$ac_tool_prefix"; then 7296 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7297set dummy ${ac_tool_prefix}lipo; ac_word=$2 7298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7299$as_echo_n "checking for $ac_word... " >&6; } 7300if ${ac_cv_prog_LIPO+:} false; then : 7301 $as_echo_n "(cached) " >&6 7302else 7303 if test -n "$LIPO"; then 7304 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7305else 7306as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7307for as_dir in $PATH 7308do 7309 IFS=$as_save_IFS 7310 test -z "$as_dir" && as_dir=. 7311 for ac_exec_ext in '' $ac_executable_extensions; do 7312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7313 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7315 break 2 7316 fi 7317done 7318 done 7319IFS=$as_save_IFS 7320 7321fi 7322fi 7323LIPO=$ac_cv_prog_LIPO 7324if test -n "$LIPO"; then 7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7326$as_echo "$LIPO" >&6; } 7327else 7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7329$as_echo "no" >&6; } 7330fi 7331 7332 7333fi 7334if test -z "$ac_cv_prog_LIPO"; then 7335 ac_ct_LIPO=$LIPO 7336 # Extract the first word of "lipo", so it can be a program name with args. 7337set dummy lipo; ac_word=$2 7338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7339$as_echo_n "checking for $ac_word... " >&6; } 7340if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7341 $as_echo_n "(cached) " >&6 7342else 7343 if test -n "$ac_ct_LIPO"; then 7344 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7345else 7346as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7347for as_dir in $PATH 7348do 7349 IFS=$as_save_IFS 7350 test -z "$as_dir" && as_dir=. 7351 for ac_exec_ext in '' $ac_executable_extensions; do 7352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7353 ac_cv_prog_ac_ct_LIPO="lipo" 7354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7355 break 2 7356 fi 7357done 7358 done 7359IFS=$as_save_IFS 7360 7361fi 7362fi 7363ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7364if test -n "$ac_ct_LIPO"; then 7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7366$as_echo "$ac_ct_LIPO" >&6; } 7367else 7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7369$as_echo "no" >&6; } 7370fi 7371 7372 if test "x$ac_ct_LIPO" = x; then 7373 LIPO=":" 7374 else 7375 case $cross_compiling:$ac_tool_warned in 7376yes:) 7377{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7378$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7379ac_tool_warned=yes ;; 7380esac 7381 LIPO=$ac_ct_LIPO 7382 fi 7383else 7384 LIPO="$ac_cv_prog_LIPO" 7385fi 7386 7387 if test -n "$ac_tool_prefix"; then 7388 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7389set dummy ${ac_tool_prefix}otool; ac_word=$2 7390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7391$as_echo_n "checking for $ac_word... " >&6; } 7392if ${ac_cv_prog_OTOOL+:} false; then : 7393 $as_echo_n "(cached) " >&6 7394else 7395 if test -n "$OTOOL"; then 7396 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7397else 7398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7399for as_dir in $PATH 7400do 7401 IFS=$as_save_IFS 7402 test -z "$as_dir" && as_dir=. 7403 for ac_exec_ext in '' $ac_executable_extensions; do 7404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7405 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7407 break 2 7408 fi 7409done 7410 done 7411IFS=$as_save_IFS 7412 7413fi 7414fi 7415OTOOL=$ac_cv_prog_OTOOL 7416if test -n "$OTOOL"; then 7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7418$as_echo "$OTOOL" >&6; } 7419else 7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7421$as_echo "no" >&6; } 7422fi 7423 7424 7425fi 7426if test -z "$ac_cv_prog_OTOOL"; then 7427 ac_ct_OTOOL=$OTOOL 7428 # Extract the first word of "otool", so it can be a program name with args. 7429set dummy otool; ac_word=$2 7430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7431$as_echo_n "checking for $ac_word... " >&6; } 7432if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7433 $as_echo_n "(cached) " >&6 7434else 7435 if test -n "$ac_ct_OTOOL"; then 7436 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7437else 7438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7439for as_dir in $PATH 7440do 7441 IFS=$as_save_IFS 7442 test -z "$as_dir" && as_dir=. 7443 for ac_exec_ext in '' $ac_executable_extensions; do 7444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7445 ac_cv_prog_ac_ct_OTOOL="otool" 7446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7447 break 2 7448 fi 7449done 7450 done 7451IFS=$as_save_IFS 7452 7453fi 7454fi 7455ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7456if test -n "$ac_ct_OTOOL"; then 7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7458$as_echo "$ac_ct_OTOOL" >&6; } 7459else 7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7461$as_echo "no" >&6; } 7462fi 7463 7464 if test "x$ac_ct_OTOOL" = x; then 7465 OTOOL=":" 7466 else 7467 case $cross_compiling:$ac_tool_warned in 7468yes:) 7469{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7470$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7471ac_tool_warned=yes ;; 7472esac 7473 OTOOL=$ac_ct_OTOOL 7474 fi 7475else 7476 OTOOL="$ac_cv_prog_OTOOL" 7477fi 7478 7479 if test -n "$ac_tool_prefix"; then 7480 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7481set dummy ${ac_tool_prefix}otool64; ac_word=$2 7482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7483$as_echo_n "checking for $ac_word... " >&6; } 7484if ${ac_cv_prog_OTOOL64+:} false; then : 7485 $as_echo_n "(cached) " >&6 7486else 7487 if test -n "$OTOOL64"; then 7488 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7489else 7490as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7491for as_dir in $PATH 7492do 7493 IFS=$as_save_IFS 7494 test -z "$as_dir" && as_dir=. 7495 for ac_exec_ext in '' $ac_executable_extensions; do 7496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7497 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7499 break 2 7500 fi 7501done 7502 done 7503IFS=$as_save_IFS 7504 7505fi 7506fi 7507OTOOL64=$ac_cv_prog_OTOOL64 7508if test -n "$OTOOL64"; then 7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7510$as_echo "$OTOOL64" >&6; } 7511else 7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7513$as_echo "no" >&6; } 7514fi 7515 7516 7517fi 7518if test -z "$ac_cv_prog_OTOOL64"; then 7519 ac_ct_OTOOL64=$OTOOL64 7520 # Extract the first word of "otool64", so it can be a program name with args. 7521set dummy otool64; ac_word=$2 7522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7523$as_echo_n "checking for $ac_word... " >&6; } 7524if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7525 $as_echo_n "(cached) " >&6 7526else 7527 if test -n "$ac_ct_OTOOL64"; then 7528 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7529else 7530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7531for as_dir in $PATH 7532do 7533 IFS=$as_save_IFS 7534 test -z "$as_dir" && as_dir=. 7535 for ac_exec_ext in '' $ac_executable_extensions; do 7536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7537 ac_cv_prog_ac_ct_OTOOL64="otool64" 7538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7539 break 2 7540 fi 7541done 7542 done 7543IFS=$as_save_IFS 7544 7545fi 7546fi 7547ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7548if test -n "$ac_ct_OTOOL64"; then 7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7550$as_echo "$ac_ct_OTOOL64" >&6; } 7551else 7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7553$as_echo "no" >&6; } 7554fi 7555 7556 if test "x$ac_ct_OTOOL64" = x; then 7557 OTOOL64=":" 7558 else 7559 case $cross_compiling:$ac_tool_warned in 7560yes:) 7561{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7562$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7563ac_tool_warned=yes ;; 7564esac 7565 OTOOL64=$ac_ct_OTOOL64 7566 fi 7567else 7568 OTOOL64="$ac_cv_prog_OTOOL64" 7569fi 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7598$as_echo_n "checking for -single_module linker flag... " >&6; } 7599if ${lt_cv_apple_cc_single_mod+:} false; then : 7600 $as_echo_n "(cached) " >&6 7601else 7602 lt_cv_apple_cc_single_mod=no 7603 if test -z "${LT_MULTI_MODULE}"; then 7604 # By default we will add the -single_module flag. You can override 7605 # by either setting the environment variable LT_MULTI_MODULE 7606 # non-empty at configure time, or by adding -multi_module to the 7607 # link flags. 7608 rm -rf libconftest.dylib* 7609 echo "int foo(void){return 1;}" > conftest.c 7610 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7611-dynamiclib -Wl,-single_module conftest.c" >&5 7612 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7613 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7614 _lt_result=$? 7615 # If there is a non-empty error log, and "single_module" 7616 # appears in it, assume the flag caused a linker warning 7617 if test -s conftest.err && $GREP single_module conftest.err; then 7618 cat conftest.err >&5 7619 # Otherwise, if the output was created with a 0 exit code from 7620 # the compiler, it worked. 7621 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7622 lt_cv_apple_cc_single_mod=yes 7623 else 7624 cat conftest.err >&5 7625 fi 7626 rm -rf libconftest.dylib* 7627 rm -f conftest.* 7628 fi 7629fi 7630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7631$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7632 7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7634$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7635if ${lt_cv_ld_exported_symbols_list+:} false; then : 7636 $as_echo_n "(cached) " >&6 7637else 7638 lt_cv_ld_exported_symbols_list=no 7639 save_LDFLAGS=$LDFLAGS 7640 echo "_main" > conftest.sym 7641 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7643/* end confdefs.h. */ 7644 7645int 7646main () 7647{ 7648 7649 ; 7650 return 0; 7651} 7652_ACEOF 7653if ac_fn_c_try_link "$LINENO"; then : 7654 lt_cv_ld_exported_symbols_list=yes 7655else 7656 lt_cv_ld_exported_symbols_list=no 7657fi 7658rm -f core conftest.err conftest.$ac_objext \ 7659 conftest$ac_exeext conftest.$ac_ext 7660 LDFLAGS="$save_LDFLAGS" 7661 7662fi 7663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7664$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7665 7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7667$as_echo_n "checking for -force_load linker flag... " >&6; } 7668if ${lt_cv_ld_force_load+:} false; then : 7669 $as_echo_n "(cached) " >&6 7670else 7671 lt_cv_ld_force_load=no 7672 cat > conftest.c << _LT_EOF 7673int forced_loaded() { return 2;} 7674_LT_EOF 7675 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7676 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7677 echo "$AR cru libconftest.a conftest.o" >&5 7678 $AR cru libconftest.a conftest.o 2>&5 7679 echo "$RANLIB libconftest.a" >&5 7680 $RANLIB libconftest.a 2>&5 7681 cat > conftest.c << _LT_EOF 7682int main() { return 0;} 7683_LT_EOF 7684 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7685 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7686 _lt_result=$? 7687 if test -s conftest.err && $GREP force_load conftest.err; then 7688 cat conftest.err >&5 7689 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7690 lt_cv_ld_force_load=yes 7691 else 7692 cat conftest.err >&5 7693 fi 7694 rm -f conftest.err libconftest.a conftest conftest.c 7695 rm -rf conftest.dSYM 7696 7697fi 7698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7699$as_echo "$lt_cv_ld_force_load" >&6; } 7700 case $host_os in 7701 rhapsody* | darwin1.[012]) 7702 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7703 darwin1.*) 7704 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7705 darwin*) # darwin 5.x on 7706 # if running on 10.5 or later, the deployment target defaults 7707 # to the OS version, if on x86, and 10.4, the deployment 7708 # target defaults to 10.4. Don't you love it? 7709 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7710 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7711 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7712 10.[012]*) 7713 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7714 10.*) 7715 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7716 esac 7717 ;; 7718 esac 7719 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7720 _lt_dar_single_mod='$single_module' 7721 fi 7722 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7723 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7724 else 7725 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7726 fi 7727 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7728 _lt_dsymutil='~$DSYMUTIL $lib || :' 7729 else 7730 _lt_dsymutil= 7731 fi 7732 ;; 7733 esac 7734 7735ac_ext=c 7736ac_cpp='$CPP $CPPFLAGS' 7737ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7738ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7739ac_compiler_gnu=$ac_cv_c_compiler_gnu 7740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7741$as_echo_n "checking how to run the C preprocessor... " >&6; } 7742# On Suns, sometimes $CPP names a directory. 7743if test -n "$CPP" && test -d "$CPP"; then 7744 CPP= 7745fi 7746if test -z "$CPP"; then 7747 if ${ac_cv_prog_CPP+:} false; then : 7748 $as_echo_n "(cached) " >&6 7749else 7750 # Double quotes because CPP needs to be expanded 7751 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7752 do 7753 ac_preproc_ok=false 7754for ac_c_preproc_warn_flag in '' yes 7755do 7756 # Use a header file that comes with gcc, so configuring glibc 7757 # with a fresh cross-compiler works. 7758 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7759 # <limits.h> exists even on freestanding compilers. 7760 # On the NeXT, cc -E runs the code through the compiler's parser, 7761 # not just through cpp. "Syntax error" is here to catch this case. 7762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7763/* end confdefs.h. */ 7764#ifdef __STDC__ 7765# include <limits.h> 7766#else 7767# include <assert.h> 7768#endif 7769 Syntax error 7770_ACEOF 7771if ac_fn_c_try_cpp "$LINENO"; then : 7772 7773else 7774 # Broken: fails on valid input. 7775continue 7776fi 7777rm -f conftest.err conftest.i conftest.$ac_ext 7778 7779 # OK, works on sane cases. Now check whether nonexistent headers 7780 # can be detected and how. 7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7782/* end confdefs.h. */ 7783#include <ac_nonexistent.h> 7784_ACEOF 7785if ac_fn_c_try_cpp "$LINENO"; then : 7786 # Broken: success on invalid input. 7787continue 7788else 7789 # Passes both tests. 7790ac_preproc_ok=: 7791break 7792fi 7793rm -f conftest.err conftest.i conftest.$ac_ext 7794 7795done 7796# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7797rm -f conftest.i conftest.err conftest.$ac_ext 7798if $ac_preproc_ok; then : 7799 break 7800fi 7801 7802 done 7803 ac_cv_prog_CPP=$CPP 7804 7805fi 7806 CPP=$ac_cv_prog_CPP 7807else 7808 ac_cv_prog_CPP=$CPP 7809fi 7810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7811$as_echo "$CPP" >&6; } 7812ac_preproc_ok=false 7813for ac_c_preproc_warn_flag in '' yes 7814do 7815 # Use a header file that comes with gcc, so configuring glibc 7816 # with a fresh cross-compiler works. 7817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7818 # <limits.h> exists even on freestanding compilers. 7819 # On the NeXT, cc -E runs the code through the compiler's parser, 7820 # not just through cpp. "Syntax error" is here to catch this case. 7821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7822/* end confdefs.h. */ 7823#ifdef __STDC__ 7824# include <limits.h> 7825#else 7826# include <assert.h> 7827#endif 7828 Syntax error 7829_ACEOF 7830if ac_fn_c_try_cpp "$LINENO"; then : 7831 7832else 7833 # Broken: fails on valid input. 7834continue 7835fi 7836rm -f conftest.err conftest.i conftest.$ac_ext 7837 7838 # OK, works on sane cases. Now check whether nonexistent headers 7839 # can be detected and how. 7840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7841/* end confdefs.h. */ 7842#include <ac_nonexistent.h> 7843_ACEOF 7844if ac_fn_c_try_cpp "$LINENO"; then : 7845 # Broken: success on invalid input. 7846continue 7847else 7848 # Passes both tests. 7849ac_preproc_ok=: 7850break 7851fi 7852rm -f conftest.err conftest.i conftest.$ac_ext 7853 7854done 7855# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7856rm -f conftest.i conftest.err conftest.$ac_ext 7857if $ac_preproc_ok; then : 7858 7859else 7860 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7861$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7862as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7863See \`config.log' for more details" "$LINENO" 5; } 7864fi 7865 7866ac_ext=c 7867ac_cpp='$CPP $CPPFLAGS' 7868ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7869ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7870ac_compiler_gnu=$ac_cv_c_compiler_gnu 7871 7872 7873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7874$as_echo_n "checking for ANSI C header files... " >&6; } 7875if ${ac_cv_header_stdc+:} false; then : 7876 $as_echo_n "(cached) " >&6 7877else 7878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7879/* end confdefs.h. */ 7880#include <stdlib.h> 7881#include <stdarg.h> 7882#include <string.h> 7883#include <float.h> 7884 7885int 7886main () 7887{ 7888 7889 ; 7890 return 0; 7891} 7892_ACEOF 7893if ac_fn_c_try_compile "$LINENO"; then : 7894 ac_cv_header_stdc=yes 7895else 7896 ac_cv_header_stdc=no 7897fi 7898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7899 7900if test $ac_cv_header_stdc = yes; then 7901 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7903/* end confdefs.h. */ 7904#include <string.h> 7905 7906_ACEOF 7907if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7908 $EGREP "memchr" >/dev/null 2>&1; then : 7909 7910else 7911 ac_cv_header_stdc=no 7912fi 7913rm -f conftest* 7914 7915fi 7916 7917if test $ac_cv_header_stdc = yes; then 7918 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7920/* end confdefs.h. */ 7921#include <stdlib.h> 7922 7923_ACEOF 7924if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7925 $EGREP "free" >/dev/null 2>&1; then : 7926 7927else 7928 ac_cv_header_stdc=no 7929fi 7930rm -f conftest* 7931 7932fi 7933 7934if test $ac_cv_header_stdc = yes; then 7935 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7936 if test "$cross_compiling" = yes; then : 7937 : 7938else 7939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7940/* end confdefs.h. */ 7941#include <ctype.h> 7942#include <stdlib.h> 7943#if ((' ' & 0x0FF) == 0x020) 7944# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7945# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7946#else 7947# define ISLOWER(c) \ 7948 (('a' <= (c) && (c) <= 'i') \ 7949 || ('j' <= (c) && (c) <= 'r') \ 7950 || ('s' <= (c) && (c) <= 'z')) 7951# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7952#endif 7953 7954#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7955int 7956main () 7957{ 7958 int i; 7959 for (i = 0; i < 256; i++) 7960 if (XOR (islower (i), ISLOWER (i)) 7961 || toupper (i) != TOUPPER (i)) 7962 return 2; 7963 return 0; 7964} 7965_ACEOF 7966if ac_fn_c_try_run "$LINENO"; then : 7967 7968else 7969 ac_cv_header_stdc=no 7970fi 7971rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7972 conftest.$ac_objext conftest.beam conftest.$ac_ext 7973fi 7974 7975fi 7976fi 7977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7978$as_echo "$ac_cv_header_stdc" >&6; } 7979if test $ac_cv_header_stdc = yes; then 7980 7981$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7982 7983fi 7984 7985# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7986for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7987 inttypes.h stdint.h unistd.h 7988do : 7989 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7990ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7991" 7992if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7993 cat >>confdefs.h <<_ACEOF 7994#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7995_ACEOF 7996 7997fi 7998 7999done 8000 8001 8002for ac_header in dlfcn.h 8003do : 8004 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8005" 8006if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8007 cat >>confdefs.h <<_ACEOF 8008#define HAVE_DLFCN_H 1 8009_ACEOF 8010 8011fi 8012 8013done 8014 8015 8016 8017 8018 8019# Set options 8020 8021 8022 8023 enable_dlopen=no 8024 8025 8026 enable_win32_dll=no 8027 8028 8029 # Check whether --enable-shared was given. 8030if test "${enable_shared+set}" = set; then : 8031 enableval=$enable_shared; p=${PACKAGE-default} 8032 case $enableval in 8033 yes) enable_shared=yes ;; 8034 no) enable_shared=no ;; 8035 *) 8036 enable_shared=no 8037 # Look at the argument we got. We use all the common list separators. 8038 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8039 for pkg in $enableval; do 8040 IFS="$lt_save_ifs" 8041 if test "X$pkg" = "X$p"; then 8042 enable_shared=yes 8043 fi 8044 done 8045 IFS="$lt_save_ifs" 8046 ;; 8047 esac 8048else 8049 enable_shared=yes 8050fi 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 # Check whether --enable-static was given. 8061if test "${enable_static+set}" = set; then : 8062 enableval=$enable_static; p=${PACKAGE-default} 8063 case $enableval in 8064 yes) enable_static=yes ;; 8065 no) enable_static=no ;; 8066 *) 8067 enable_static=no 8068 # Look at the argument we got. We use all the common list separators. 8069 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8070 for pkg in $enableval; do 8071 IFS="$lt_save_ifs" 8072 if test "X$pkg" = "X$p"; then 8073 enable_static=yes 8074 fi 8075 done 8076 IFS="$lt_save_ifs" 8077 ;; 8078 esac 8079else 8080 enable_static=yes 8081fi 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092# Check whether --with-pic was given. 8093if test "${with_pic+set}" = set; then : 8094 withval=$with_pic; lt_p=${PACKAGE-default} 8095 case $withval in 8096 yes|no) pic_mode=$withval ;; 8097 *) 8098 pic_mode=default 8099 # Look at the argument we got. We use all the common list separators. 8100 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8101 for lt_pkg in $withval; do 8102 IFS="$lt_save_ifs" 8103 if test "X$lt_pkg" = "X$lt_p"; then 8104 pic_mode=yes 8105 fi 8106 done 8107 IFS="$lt_save_ifs" 8108 ;; 8109 esac 8110else 8111 pic_mode=default 8112fi 8113 8114 8115test -z "$pic_mode" && pic_mode=default 8116 8117 8118 8119 8120 8121 8122 8123 # Check whether --enable-fast-install was given. 8124if test "${enable_fast_install+set}" = set; then : 8125 enableval=$enable_fast_install; p=${PACKAGE-default} 8126 case $enableval in 8127 yes) enable_fast_install=yes ;; 8128 no) enable_fast_install=no ;; 8129 *) 8130 enable_fast_install=no 8131 # Look at the argument we got. We use all the common list separators. 8132 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8133 for pkg in $enableval; do 8134 IFS="$lt_save_ifs" 8135 if test "X$pkg" = "X$p"; then 8136 enable_fast_install=yes 8137 fi 8138 done 8139 IFS="$lt_save_ifs" 8140 ;; 8141 esac 8142else 8143 enable_fast_install=yes 8144fi 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156# This can be used to rebuild libtool when needed 8157LIBTOOL_DEPS="$ltmain" 8158 8159# Always use our own libtool. 8160LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191test -z "$LN_S" && LN_S="ln -s" 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206if test -n "${ZSH_VERSION+set}" ; then 8207 setopt NO_GLOB_SUBST 8208fi 8209 8210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8211$as_echo_n "checking for objdir... " >&6; } 8212if ${lt_cv_objdir+:} false; then : 8213 $as_echo_n "(cached) " >&6 8214else 8215 rm -f .libs 2>/dev/null 8216mkdir .libs 2>/dev/null 8217if test -d .libs; then 8218 lt_cv_objdir=.libs 8219else 8220 # MS-DOS does not allow filenames that begin with a dot. 8221 lt_cv_objdir=_libs 8222fi 8223rmdir .libs 2>/dev/null 8224fi 8225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8226$as_echo "$lt_cv_objdir" >&6; } 8227objdir=$lt_cv_objdir 8228 8229 8230 8231 8232 8233cat >>confdefs.h <<_ACEOF 8234#define LT_OBJDIR "$lt_cv_objdir/" 8235_ACEOF 8236 8237 8238 8239 8240case $host_os in 8241aix3*) 8242 # AIX sometimes has problems with the GCC collect2 program. For some 8243 # reason, if we set the COLLECT_NAMES environment variable, the problems 8244 # vanish in a puff of smoke. 8245 if test "X${COLLECT_NAMES+set}" != Xset; then 8246 COLLECT_NAMES= 8247 export COLLECT_NAMES 8248 fi 8249 ;; 8250esac 8251 8252# Global variables: 8253ofile=libtool 8254can_build_shared=yes 8255 8256# All known linkers require a `.a' archive for static linking (except MSVC, 8257# which needs '.lib'). 8258libext=a 8259 8260with_gnu_ld="$lt_cv_prog_gnu_ld" 8261 8262old_CC="$CC" 8263old_CFLAGS="$CFLAGS" 8264 8265# Set sane defaults for various variables 8266test -z "$CC" && CC=cc 8267test -z "$LTCC" && LTCC=$CC 8268test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8269test -z "$LD" && LD=ld 8270test -z "$ac_objext" && ac_objext=o 8271 8272for cc_temp in $compiler""; do 8273 case $cc_temp in 8274 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8275 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8276 \-*) ;; 8277 *) break;; 8278 esac 8279done 8280cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8281 8282 8283# Only perform the check for file, if the check method requires it 8284test -z "$MAGIC_CMD" && MAGIC_CMD=file 8285case $deplibs_check_method in 8286file_magic*) 8287 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8289$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8290if ${lt_cv_path_MAGIC_CMD+:} false; then : 8291 $as_echo_n "(cached) " >&6 8292else 8293 case $MAGIC_CMD in 8294[\\/*] | ?:[\\/]*) 8295 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8296 ;; 8297*) 8298 lt_save_MAGIC_CMD="$MAGIC_CMD" 8299 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8300 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8301 for ac_dir in $ac_dummy; do 8302 IFS="$lt_save_ifs" 8303 test -z "$ac_dir" && ac_dir=. 8304 if test -f $ac_dir/${ac_tool_prefix}file; then 8305 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8306 if test -n "$file_magic_test_file"; then 8307 case $deplibs_check_method in 8308 "file_magic "*) 8309 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8310 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8311 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8312 $EGREP "$file_magic_regex" > /dev/null; then 8313 : 8314 else 8315 cat <<_LT_EOF 1>&2 8316 8317*** Warning: the command libtool uses to detect shared libraries, 8318*** $file_magic_cmd, produces output that libtool cannot recognize. 8319*** The result is that libtool may fail to recognize shared libraries 8320*** as such. This will affect the creation of libtool libraries that 8321*** depend on shared libraries, but programs linked with such libtool 8322*** libraries will work regardless of this problem. Nevertheless, you 8323*** may want to report the problem to your system manager and/or to 8324*** bug-libtool@gnu.org 8325 8326_LT_EOF 8327 fi ;; 8328 esac 8329 fi 8330 break 8331 fi 8332 done 8333 IFS="$lt_save_ifs" 8334 MAGIC_CMD="$lt_save_MAGIC_CMD" 8335 ;; 8336esac 8337fi 8338 8339MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8340if test -n "$MAGIC_CMD"; then 8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8342$as_echo "$MAGIC_CMD" >&6; } 8343else 8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8345$as_echo "no" >&6; } 8346fi 8347 8348 8349 8350 8351 8352if test -z "$lt_cv_path_MAGIC_CMD"; then 8353 if test -n "$ac_tool_prefix"; then 8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8355$as_echo_n "checking for file... " >&6; } 8356if ${lt_cv_path_MAGIC_CMD+:} false; then : 8357 $as_echo_n "(cached) " >&6 8358else 8359 case $MAGIC_CMD in 8360[\\/*] | ?:[\\/]*) 8361 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8362 ;; 8363*) 8364 lt_save_MAGIC_CMD="$MAGIC_CMD" 8365 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8366 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8367 for ac_dir in $ac_dummy; do 8368 IFS="$lt_save_ifs" 8369 test -z "$ac_dir" && ac_dir=. 8370 if test -f $ac_dir/file; then 8371 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8372 if test -n "$file_magic_test_file"; then 8373 case $deplibs_check_method in 8374 "file_magic "*) 8375 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8376 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8377 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8378 $EGREP "$file_magic_regex" > /dev/null; then 8379 : 8380 else 8381 cat <<_LT_EOF 1>&2 8382 8383*** Warning: the command libtool uses to detect shared libraries, 8384*** $file_magic_cmd, produces output that libtool cannot recognize. 8385*** The result is that libtool may fail to recognize shared libraries 8386*** as such. This will affect the creation of libtool libraries that 8387*** depend on shared libraries, but programs linked with such libtool 8388*** libraries will work regardless of this problem. Nevertheless, you 8389*** may want to report the problem to your system manager and/or to 8390*** bug-libtool@gnu.org 8391 8392_LT_EOF 8393 fi ;; 8394 esac 8395 fi 8396 break 8397 fi 8398 done 8399 IFS="$lt_save_ifs" 8400 MAGIC_CMD="$lt_save_MAGIC_CMD" 8401 ;; 8402esac 8403fi 8404 8405MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8406if test -n "$MAGIC_CMD"; then 8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8408$as_echo "$MAGIC_CMD" >&6; } 8409else 8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8411$as_echo "no" >&6; } 8412fi 8413 8414 8415 else 8416 MAGIC_CMD=: 8417 fi 8418fi 8419 8420 fi 8421 ;; 8422esac 8423 8424# Use C for the default configuration in the libtool script 8425 8426lt_save_CC="$CC" 8427ac_ext=c 8428ac_cpp='$CPP $CPPFLAGS' 8429ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8430ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8431ac_compiler_gnu=$ac_cv_c_compiler_gnu 8432 8433 8434# Source file extension for C test sources. 8435ac_ext=c 8436 8437# Object file extension for compiled C test sources. 8438objext=o 8439objext=$objext 8440 8441# Code to be used in simple compile tests 8442lt_simple_compile_test_code="int some_variable = 0;" 8443 8444# Code to be used in simple link tests 8445lt_simple_link_test_code='int main(){return(0);}' 8446 8447 8448 8449 8450 8451 8452 8453# If no C compiler was specified, use CC. 8454LTCC=${LTCC-"$CC"} 8455 8456# If no C compiler flags were specified, use CFLAGS. 8457LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8458 8459# Allow CC to be a program name with arguments. 8460compiler=$CC 8461 8462# Save the default compiler, since it gets overwritten when the other 8463# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8464compiler_DEFAULT=$CC 8465 8466# save warnings/boilerplate of simple test code 8467ac_outfile=conftest.$ac_objext 8468echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8469eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8470_lt_compiler_boilerplate=`cat conftest.err` 8471$RM conftest* 8472 8473ac_outfile=conftest.$ac_objext 8474echo "$lt_simple_link_test_code" >conftest.$ac_ext 8475eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8476_lt_linker_boilerplate=`cat conftest.err` 8477$RM -r conftest* 8478 8479 8480## CAVEAT EMPTOR: 8481## There is no encapsulation within the following macros, do not change 8482## the running order or otherwise move them around unless you know exactly 8483## what you are doing... 8484if test -n "$compiler"; then 8485 8486lt_prog_compiler_no_builtin_flag= 8487 8488if test "$GCC" = yes; then 8489 case $cc_basename in 8490 nvcc*) 8491 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8492 *) 8493 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8494 esac 8495 8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8497$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8498if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8499 $as_echo_n "(cached) " >&6 8500else 8501 lt_cv_prog_compiler_rtti_exceptions=no 8502 ac_outfile=conftest.$ac_objext 8503 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8504 lt_compiler_flag="-fno-rtti -fno-exceptions" 8505 # Insert the option either (1) after the last *FLAGS variable, or 8506 # (2) before a word containing "conftest.", or (3) at the end. 8507 # Note that $ac_compile itself does not contain backslashes and begins 8508 # with a dollar sign (not a hyphen), so the echo should work correctly. 8509 # The option is referenced via a variable to avoid confusing sed. 8510 lt_compile=`echo "$ac_compile" | $SED \ 8511 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8512 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8513 -e 's:$: $lt_compiler_flag:'` 8514 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8515 (eval "$lt_compile" 2>conftest.err) 8516 ac_status=$? 8517 cat conftest.err >&5 8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8519 if (exit $ac_status) && test -s "$ac_outfile"; then 8520 # The compiler can only warn and ignore the option if not recognized 8521 # So say no if there are warnings other than the usual output. 8522 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8523 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8524 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8525 lt_cv_prog_compiler_rtti_exceptions=yes 8526 fi 8527 fi 8528 $RM conftest* 8529 8530fi 8531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8532$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8533 8534if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8535 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8536else 8537 : 8538fi 8539 8540fi 8541 8542 8543 8544 8545 8546 8547 lt_prog_compiler_wl= 8548lt_prog_compiler_pic= 8549lt_prog_compiler_static= 8550 8551 8552 if test "$GCC" = yes; then 8553 lt_prog_compiler_wl='-Wl,' 8554 lt_prog_compiler_static='-static' 8555 8556 case $host_os in 8557 aix*) 8558 # All AIX code is PIC. 8559 if test "$host_cpu" = ia64; then 8560 # AIX 5 now supports IA64 processor 8561 lt_prog_compiler_static='-Bstatic' 8562 fi 8563 ;; 8564 8565 amigaos*) 8566 case $host_cpu in 8567 powerpc) 8568 # see comment about AmigaOS4 .so support 8569 lt_prog_compiler_pic='-fPIC' 8570 ;; 8571 m68k) 8572 # FIXME: we need at least 68020 code to build shared libraries, but 8573 # adding the `-m68020' flag to GCC prevents building anything better, 8574 # like `-m68040'. 8575 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8576 ;; 8577 esac 8578 ;; 8579 8580 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8581 # PIC is the default for these OSes. 8582 ;; 8583 8584 mingw* | cygwin* | pw32* | os2* | cegcc*) 8585 # This hack is so that the source file can tell whether it is being 8586 # built for inclusion in a dll (and should export symbols for example). 8587 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8588 # (--disable-auto-import) libraries 8589 lt_prog_compiler_pic='-DDLL_EXPORT' 8590 ;; 8591 8592 darwin* | rhapsody*) 8593 # PIC is the default on this platform 8594 # Common symbols not allowed in MH_DYLIB files 8595 lt_prog_compiler_pic='-fno-common' 8596 ;; 8597 8598 haiku*) 8599 # PIC is the default for Haiku. 8600 # The "-static" flag exists, but is broken. 8601 lt_prog_compiler_static= 8602 ;; 8603 8604 hpux*) 8605 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8606 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8607 # sets the default TLS model and affects inlining. 8608 case $host_cpu in 8609 hppa*64*) 8610 # +Z the default 8611 ;; 8612 *) 8613 lt_prog_compiler_pic='-fPIC' 8614 ;; 8615 esac 8616 ;; 8617 8618 interix[3-9]*) 8619 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8620 # Instead, we relocate shared libraries at runtime. 8621 ;; 8622 8623 msdosdjgpp*) 8624 # Just because we use GCC doesn't mean we suddenly get shared libraries 8625 # on systems that don't support them. 8626 lt_prog_compiler_can_build_shared=no 8627 enable_shared=no 8628 ;; 8629 8630 *nto* | *qnx*) 8631 # QNX uses GNU C++, but need to define -shared option too, otherwise 8632 # it will coredump. 8633 lt_prog_compiler_pic='-fPIC -shared' 8634 ;; 8635 8636 sysv4*MP*) 8637 if test -d /usr/nec; then 8638 lt_prog_compiler_pic=-Kconform_pic 8639 fi 8640 ;; 8641 8642 *) 8643 lt_prog_compiler_pic='-fPIC' 8644 ;; 8645 esac 8646 8647 case $cc_basename in 8648 nvcc*) # Cuda Compiler Driver 2.2 8649 lt_prog_compiler_wl='-Xlinker ' 8650 if test -n "$lt_prog_compiler_pic"; then 8651 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8652 fi 8653 ;; 8654 esac 8655 else 8656 # PORTME Check for flag to pass linker flags through the system compiler. 8657 case $host_os in 8658 aix*) 8659 lt_prog_compiler_wl='-Wl,' 8660 if test "$host_cpu" = ia64; then 8661 # AIX 5 now supports IA64 processor 8662 lt_prog_compiler_static='-Bstatic' 8663 else 8664 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8665 fi 8666 ;; 8667 8668 mingw* | cygwin* | pw32* | os2* | cegcc*) 8669 # This hack is so that the source file can tell whether it is being 8670 # built for inclusion in a dll (and should export symbols for example). 8671 lt_prog_compiler_pic='-DDLL_EXPORT' 8672 ;; 8673 8674 hpux9* | hpux10* | hpux11*) 8675 lt_prog_compiler_wl='-Wl,' 8676 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8677 # not for PA HP-UX. 8678 case $host_cpu in 8679 hppa*64*|ia64*) 8680 # +Z the default 8681 ;; 8682 *) 8683 lt_prog_compiler_pic='+Z' 8684 ;; 8685 esac 8686 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8687 lt_prog_compiler_static='${wl}-a ${wl}archive' 8688 ;; 8689 8690 irix5* | irix6* | nonstopux*) 8691 lt_prog_compiler_wl='-Wl,' 8692 # PIC (with -KPIC) is the default. 8693 lt_prog_compiler_static='-non_shared' 8694 ;; 8695 8696 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8697 case $cc_basename in 8698 # old Intel for x86_64 which still supported -KPIC. 8699 ecc*) 8700 lt_prog_compiler_wl='-Wl,' 8701 lt_prog_compiler_pic='-KPIC' 8702 lt_prog_compiler_static='-static' 8703 ;; 8704 # icc used to be incompatible with GCC. 8705 # ICC 10 doesn't accept -KPIC any more. 8706 icc* | ifort*) 8707 lt_prog_compiler_wl='-Wl,' 8708 lt_prog_compiler_pic='-fPIC' 8709 lt_prog_compiler_static='-static' 8710 ;; 8711 # Lahey Fortran 8.1. 8712 lf95*) 8713 lt_prog_compiler_wl='-Wl,' 8714 lt_prog_compiler_pic='--shared' 8715 lt_prog_compiler_static='--static' 8716 ;; 8717 nagfor*) 8718 # NAG Fortran compiler 8719 lt_prog_compiler_wl='-Wl,-Wl,,' 8720 lt_prog_compiler_pic='-PIC' 8721 lt_prog_compiler_static='-Bstatic' 8722 ;; 8723 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8724 # Portland Group compilers (*not* the Pentium gcc compiler, 8725 # which looks to be a dead project) 8726 lt_prog_compiler_wl='-Wl,' 8727 lt_prog_compiler_pic='-fpic' 8728 lt_prog_compiler_static='-Bstatic' 8729 ;; 8730 ccc*) 8731 lt_prog_compiler_wl='-Wl,' 8732 # All Alpha code is PIC. 8733 lt_prog_compiler_static='-non_shared' 8734 ;; 8735 xl* | bgxl* | bgf* | mpixl*) 8736 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8737 lt_prog_compiler_wl='-Wl,' 8738 lt_prog_compiler_pic='-qpic' 8739 lt_prog_compiler_static='-qstaticlink' 8740 ;; 8741 *) 8742 case `$CC -V 2>&1 | sed 5q` in 8743 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8744 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8745 lt_prog_compiler_pic='-KPIC' 8746 lt_prog_compiler_static='-Bstatic' 8747 lt_prog_compiler_wl='' 8748 ;; 8749 *Sun\ F* | *Sun*Fortran*) 8750 lt_prog_compiler_pic='-KPIC' 8751 lt_prog_compiler_static='-Bstatic' 8752 lt_prog_compiler_wl='-Qoption ld ' 8753 ;; 8754 *Sun\ C*) 8755 # Sun C 5.9 8756 lt_prog_compiler_pic='-KPIC' 8757 lt_prog_compiler_static='-Bstatic' 8758 lt_prog_compiler_wl='-Wl,' 8759 ;; 8760 *Intel*\ [CF]*Compiler*) 8761 lt_prog_compiler_wl='-Wl,' 8762 lt_prog_compiler_pic='-fPIC' 8763 lt_prog_compiler_static='-static' 8764 ;; 8765 *Portland\ Group*) 8766 lt_prog_compiler_wl='-Wl,' 8767 lt_prog_compiler_pic='-fpic' 8768 lt_prog_compiler_static='-Bstatic' 8769 ;; 8770 esac 8771 ;; 8772 esac 8773 ;; 8774 8775 newsos6) 8776 lt_prog_compiler_pic='-KPIC' 8777 lt_prog_compiler_static='-Bstatic' 8778 ;; 8779 8780 *nto* | *qnx*) 8781 # QNX uses GNU C++, but need to define -shared option too, otherwise 8782 # it will coredump. 8783 lt_prog_compiler_pic='-fPIC -shared' 8784 ;; 8785 8786 osf3* | osf4* | osf5*) 8787 lt_prog_compiler_wl='-Wl,' 8788 # All OSF/1 code is PIC. 8789 lt_prog_compiler_static='-non_shared' 8790 ;; 8791 8792 rdos*) 8793 lt_prog_compiler_static='-non_shared' 8794 ;; 8795 8796 solaris*) 8797 lt_prog_compiler_pic='-KPIC' 8798 lt_prog_compiler_static='-Bstatic' 8799 case $cc_basename in 8800 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8801 lt_prog_compiler_wl='-Qoption ld ';; 8802 *) 8803 lt_prog_compiler_wl='-Wl,';; 8804 esac 8805 ;; 8806 8807 sunos4*) 8808 lt_prog_compiler_wl='-Qoption ld ' 8809 lt_prog_compiler_pic='-PIC' 8810 lt_prog_compiler_static='-Bstatic' 8811 ;; 8812 8813 sysv4 | sysv4.2uw2* | sysv4.3*) 8814 lt_prog_compiler_wl='-Wl,' 8815 lt_prog_compiler_pic='-KPIC' 8816 lt_prog_compiler_static='-Bstatic' 8817 ;; 8818 8819 sysv4*MP*) 8820 if test -d /usr/nec ;then 8821 lt_prog_compiler_pic='-Kconform_pic' 8822 lt_prog_compiler_static='-Bstatic' 8823 fi 8824 ;; 8825 8826 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8827 lt_prog_compiler_wl='-Wl,' 8828 lt_prog_compiler_pic='-KPIC' 8829 lt_prog_compiler_static='-Bstatic' 8830 ;; 8831 8832 unicos*) 8833 lt_prog_compiler_wl='-Wl,' 8834 lt_prog_compiler_can_build_shared=no 8835 ;; 8836 8837 uts4*) 8838 lt_prog_compiler_pic='-pic' 8839 lt_prog_compiler_static='-Bstatic' 8840 ;; 8841 8842 *) 8843 lt_prog_compiler_can_build_shared=no 8844 ;; 8845 esac 8846 fi 8847 8848case $host_os in 8849 # For platforms which do not support PIC, -DPIC is meaningless: 8850 *djgpp*) 8851 lt_prog_compiler_pic= 8852 ;; 8853 *) 8854 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8855 ;; 8856esac 8857 8858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8859$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8860if ${lt_cv_prog_compiler_pic+:} false; then : 8861 $as_echo_n "(cached) " >&6 8862else 8863 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8864fi 8865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8866$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8867lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8868 8869# 8870# Check to make sure the PIC flag actually works. 8871# 8872if test -n "$lt_prog_compiler_pic"; then 8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8874$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8875if ${lt_cv_prog_compiler_pic_works+:} false; then : 8876 $as_echo_n "(cached) " >&6 8877else 8878 lt_cv_prog_compiler_pic_works=no 8879 ac_outfile=conftest.$ac_objext 8880 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8881 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8882 # Insert the option either (1) after the last *FLAGS variable, or 8883 # (2) before a word containing "conftest.", or (3) at the end. 8884 # Note that $ac_compile itself does not contain backslashes and begins 8885 # with a dollar sign (not a hyphen), so the echo should work correctly. 8886 # The option is referenced via a variable to avoid confusing sed. 8887 lt_compile=`echo "$ac_compile" | $SED \ 8888 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8889 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8890 -e 's:$: $lt_compiler_flag:'` 8891 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8892 (eval "$lt_compile" 2>conftest.err) 8893 ac_status=$? 8894 cat conftest.err >&5 8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8896 if (exit $ac_status) && test -s "$ac_outfile"; then 8897 # The compiler can only warn and ignore the option if not recognized 8898 # So say no if there are warnings other than the usual output. 8899 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8900 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8901 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8902 lt_cv_prog_compiler_pic_works=yes 8903 fi 8904 fi 8905 $RM conftest* 8906 8907fi 8908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8909$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8910 8911if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8912 case $lt_prog_compiler_pic in 8913 "" | " "*) ;; 8914 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8915 esac 8916else 8917 lt_prog_compiler_pic= 8918 lt_prog_compiler_can_build_shared=no 8919fi 8920 8921fi 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933# 8934# Check to make sure the static flag actually works. 8935# 8936wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8938$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8939if ${lt_cv_prog_compiler_static_works+:} false; then : 8940 $as_echo_n "(cached) " >&6 8941else 8942 lt_cv_prog_compiler_static_works=no 8943 save_LDFLAGS="$LDFLAGS" 8944 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8945 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8946 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8947 # The linker can only warn and ignore the option if not recognized 8948 # So say no if there are warnings 8949 if test -s conftest.err; then 8950 # Append any errors to the config.log. 8951 cat conftest.err 1>&5 8952 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8953 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8954 if diff conftest.exp conftest.er2 >/dev/null; then 8955 lt_cv_prog_compiler_static_works=yes 8956 fi 8957 else 8958 lt_cv_prog_compiler_static_works=yes 8959 fi 8960 fi 8961 $RM -r conftest* 8962 LDFLAGS="$save_LDFLAGS" 8963 8964fi 8965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8966$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8967 8968if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8969 : 8970else 8971 lt_prog_compiler_static= 8972fi 8973 8974 8975 8976 8977 8978 8979 8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8981$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8982if ${lt_cv_prog_compiler_c_o+:} false; then : 8983 $as_echo_n "(cached) " >&6 8984else 8985 lt_cv_prog_compiler_c_o=no 8986 $RM -r conftest 2>/dev/null 8987 mkdir conftest 8988 cd conftest 8989 mkdir out 8990 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8991 8992 lt_compiler_flag="-o out/conftest2.$ac_objext" 8993 # Insert the option either (1) after the last *FLAGS variable, or 8994 # (2) before a word containing "conftest.", or (3) at the end. 8995 # Note that $ac_compile itself does not contain backslashes and begins 8996 # with a dollar sign (not a hyphen), so the echo should work correctly. 8997 lt_compile=`echo "$ac_compile" | $SED \ 8998 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8999 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9000 -e 's:$: $lt_compiler_flag:'` 9001 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9002 (eval "$lt_compile" 2>out/conftest.err) 9003 ac_status=$? 9004 cat out/conftest.err >&5 9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9006 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9007 then 9008 # The compiler can only warn and ignore the option if not recognized 9009 # So say no if there are warnings 9010 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9011 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9012 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9013 lt_cv_prog_compiler_c_o=yes 9014 fi 9015 fi 9016 chmod u+w . 2>&5 9017 $RM conftest* 9018 # SGI C++ compiler will create directory out/ii_files/ for 9019 # template instantiation 9020 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9021 $RM out/* && rmdir out 9022 cd .. 9023 $RM -r conftest 9024 $RM conftest* 9025 9026fi 9027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9028$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9029 9030 9031 9032 9033 9034 9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9036$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9037if ${lt_cv_prog_compiler_c_o+:} false; then : 9038 $as_echo_n "(cached) " >&6 9039else 9040 lt_cv_prog_compiler_c_o=no 9041 $RM -r conftest 2>/dev/null 9042 mkdir conftest 9043 cd conftest 9044 mkdir out 9045 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9046 9047 lt_compiler_flag="-o out/conftest2.$ac_objext" 9048 # Insert the option either (1) after the last *FLAGS variable, or 9049 # (2) before a word containing "conftest.", or (3) at the end. 9050 # Note that $ac_compile itself does not contain backslashes and begins 9051 # with a dollar sign (not a hyphen), so the echo should work correctly. 9052 lt_compile=`echo "$ac_compile" | $SED \ 9053 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9054 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9055 -e 's:$: $lt_compiler_flag:'` 9056 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9057 (eval "$lt_compile" 2>out/conftest.err) 9058 ac_status=$? 9059 cat out/conftest.err >&5 9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9061 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9062 then 9063 # The compiler can only warn and ignore the option if not recognized 9064 # So say no if there are warnings 9065 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9066 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9067 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9068 lt_cv_prog_compiler_c_o=yes 9069 fi 9070 fi 9071 chmod u+w . 2>&5 9072 $RM conftest* 9073 # SGI C++ compiler will create directory out/ii_files/ for 9074 # template instantiation 9075 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9076 $RM out/* && rmdir out 9077 cd .. 9078 $RM -r conftest 9079 $RM conftest* 9080 9081fi 9082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9083$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9084 9085 9086 9087 9088hard_links="nottested" 9089if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9090 # do not overwrite the value of need_locks provided by the user 9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9092$as_echo_n "checking if we can lock with hard links... " >&6; } 9093 hard_links=yes 9094 $RM conftest* 9095 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9096 touch conftest.a 9097 ln conftest.a conftest.b 2>&5 || hard_links=no 9098 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9100$as_echo "$hard_links" >&6; } 9101 if test "$hard_links" = no; then 9102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9103$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9104 need_locks=warn 9105 fi 9106else 9107 need_locks=no 9108fi 9109 9110 9111 9112 9113 9114 9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9116$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9117 9118 runpath_var= 9119 allow_undefined_flag= 9120 always_export_symbols=no 9121 archive_cmds= 9122 archive_expsym_cmds= 9123 compiler_needs_object=no 9124 enable_shared_with_static_runtimes=no 9125 export_dynamic_flag_spec= 9126 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9127 hardcode_automatic=no 9128 hardcode_direct=no 9129 hardcode_direct_absolute=no 9130 hardcode_libdir_flag_spec= 9131 hardcode_libdir_separator= 9132 hardcode_minus_L=no 9133 hardcode_shlibpath_var=unsupported 9134 inherit_rpath=no 9135 link_all_deplibs=unknown 9136 module_cmds= 9137 module_expsym_cmds= 9138 old_archive_from_new_cmds= 9139 old_archive_from_expsyms_cmds= 9140 thread_safe_flag_spec= 9141 whole_archive_flag_spec= 9142 # include_expsyms should be a list of space-separated symbols to be *always* 9143 # included in the symbol list 9144 include_expsyms= 9145 # exclude_expsyms can be an extended regexp of symbols to exclude 9146 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9147 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9148 # as well as any symbol that contains `d'. 9149 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9150 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9151 # platforms (ab)use it in PIC code, but their linkers get confused if 9152 # the symbol is explicitly referenced. Since portable code cannot 9153 # rely on this symbol name, it's probably fine to never include it in 9154 # preloaded symbol tables. 9155 # Exclude shared library initialization/finalization symbols. 9156 extract_expsyms_cmds= 9157 9158 case $host_os in 9159 cygwin* | mingw* | pw32* | cegcc*) 9160 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9161 # When not using gcc, we currently assume that we are using 9162 # Microsoft Visual C++. 9163 if test "$GCC" != yes; then 9164 with_gnu_ld=no 9165 fi 9166 ;; 9167 interix*) 9168 # we just hope/assume this is gcc and not c89 (= MSVC++) 9169 with_gnu_ld=yes 9170 ;; 9171 openbsd*) 9172 with_gnu_ld=no 9173 ;; 9174 linux* | k*bsd*-gnu | gnu*) 9175 link_all_deplibs=no 9176 ;; 9177 esac 9178 9179 ld_shlibs=yes 9180 9181 # On some targets, GNU ld is compatible enough with the native linker 9182 # that we're better off using the native interface for both. 9183 lt_use_gnu_ld_interface=no 9184 if test "$with_gnu_ld" = yes; then 9185 case $host_os in 9186 aix*) 9187 # The AIX port of GNU ld has always aspired to compatibility 9188 # with the native linker. However, as the warning in the GNU ld 9189 # block says, versions before 2.19.5* couldn't really create working 9190 # shared libraries, regardless of the interface used. 9191 case `$LD -v 2>&1` in 9192 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9193 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9194 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9195 *) 9196 lt_use_gnu_ld_interface=yes 9197 ;; 9198 esac 9199 ;; 9200 *) 9201 lt_use_gnu_ld_interface=yes 9202 ;; 9203 esac 9204 fi 9205 9206 if test "$lt_use_gnu_ld_interface" = yes; then 9207 # If archive_cmds runs LD, not CC, wlarc should be empty 9208 wlarc='${wl}' 9209 9210 # Set some defaults for GNU ld with shared library support. These 9211 # are reset later if shared libraries are not supported. Putting them 9212 # here allows them to be overridden if necessary. 9213 runpath_var=LD_RUN_PATH 9214 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9215 export_dynamic_flag_spec='${wl}--export-dynamic' 9216 # ancient GNU ld didn't support --whole-archive et. al. 9217 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9218 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9219 else 9220 whole_archive_flag_spec= 9221 fi 9222 supports_anon_versioning=no 9223 case `$LD -v 2>&1` in 9224 *GNU\ gold*) supports_anon_versioning=yes ;; 9225 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9226 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9227 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9228 *\ 2.11.*) ;; # other 2.11 versions 9229 *) supports_anon_versioning=yes ;; 9230 esac 9231 9232 # See if GNU ld supports shared libraries. 9233 case $host_os in 9234 aix[3-9]*) 9235 # On AIX/PPC, the GNU linker is very broken 9236 if test "$host_cpu" != ia64; then 9237 ld_shlibs=no 9238 cat <<_LT_EOF 1>&2 9239 9240*** Warning: the GNU linker, at least up to release 2.19, is reported 9241*** to be unable to reliably create shared libraries on AIX. 9242*** Therefore, libtool is disabling shared libraries support. If you 9243*** really care for shared libraries, you may want to install binutils 9244*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9245*** You will then need to restart the configuration process. 9246 9247_LT_EOF 9248 fi 9249 ;; 9250 9251 amigaos*) 9252 case $host_cpu in 9253 powerpc) 9254 # see comment about AmigaOS4 .so support 9255 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9256 archive_expsym_cmds='' 9257 ;; 9258 m68k) 9259 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)' 9260 hardcode_libdir_flag_spec='-L$libdir' 9261 hardcode_minus_L=yes 9262 ;; 9263 esac 9264 ;; 9265 9266 beos*) 9267 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9268 allow_undefined_flag=unsupported 9269 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9270 # support --undefined. This deserves some investigation. FIXME 9271 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9272 else 9273 ld_shlibs=no 9274 fi 9275 ;; 9276 9277 cygwin* | mingw* | pw32* | cegcc*) 9278 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9279 # as there is no search path for DLLs. 9280 hardcode_libdir_flag_spec='-L$libdir' 9281 export_dynamic_flag_spec='${wl}--export-all-symbols' 9282 allow_undefined_flag=unsupported 9283 always_export_symbols=no 9284 enable_shared_with_static_runtimes=yes 9285 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' 9286 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9287 9288 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9289 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9290 # If the export-symbols file already is a .def file (1st line 9291 # is EXPORTS), use it as is; otherwise, prepend... 9292 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9293 cp $export_symbols $output_objdir/$soname.def; 9294 else 9295 echo EXPORTS > $output_objdir/$soname.def; 9296 cat $export_symbols >> $output_objdir/$soname.def; 9297 fi~ 9298 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9299 else 9300 ld_shlibs=no 9301 fi 9302 ;; 9303 9304 haiku*) 9305 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9306 link_all_deplibs=yes 9307 ;; 9308 9309 interix[3-9]*) 9310 hardcode_direct=no 9311 hardcode_shlibpath_var=no 9312 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9313 export_dynamic_flag_spec='${wl}-E' 9314 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9315 # Instead, shared libraries are loaded at an image base (0x10000000 by 9316 # default) and relocated if they conflict, which is a slow very memory 9317 # consuming and fragmenting process. To avoid this, we pick a random, 9318 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9319 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9320 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9321 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' 9322 ;; 9323 9324 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9325 tmp_diet=no 9326 if test "$host_os" = linux-dietlibc; then 9327 case $cc_basename in 9328 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9329 esac 9330 fi 9331 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9332 && test "$tmp_diet" = no 9333 then 9334 tmp_addflag=' $pic_flag' 9335 tmp_sharedflag='-shared' 9336 case $cc_basename,$host_cpu in 9337 pgcc*) # Portland Group C compiler 9338 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' 9339 tmp_addflag=' $pic_flag' 9340 ;; 9341 pgf77* | pgf90* | pgf95* | pgfortran*) 9342 # Portland Group f77 and f90 compilers 9343 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' 9344 tmp_addflag=' $pic_flag -Mnomain' ;; 9345 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9346 tmp_addflag=' -i_dynamic' ;; 9347 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9348 tmp_addflag=' -i_dynamic -nofor_main' ;; 9349 ifc* | ifort*) # Intel Fortran compiler 9350 tmp_addflag=' -nofor_main' ;; 9351 lf95*) # Lahey Fortran 8.1 9352 whole_archive_flag_spec= 9353 tmp_sharedflag='--shared' ;; 9354 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9355 tmp_sharedflag='-qmkshrobj' 9356 tmp_addflag= ;; 9357 nvcc*) # Cuda Compiler Driver 2.2 9358 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' 9359 compiler_needs_object=yes 9360 ;; 9361 esac 9362 case `$CC -V 2>&1 | sed 5q` in 9363 *Sun\ C*) # Sun C 5.9 9364 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' 9365 compiler_needs_object=yes 9366 tmp_sharedflag='-G' ;; 9367 *Sun\ F*) # Sun Fortran 8.3 9368 tmp_sharedflag='-G' ;; 9369 esac 9370 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9371 9372 if test "x$supports_anon_versioning" = xyes; then 9373 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9374 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9375 echo "local: *; };" >> $output_objdir/$libname.ver~ 9376 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9377 fi 9378 9379 case $cc_basename in 9380 xlf* | bgf* | bgxlf* | mpixlf*) 9381 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9382 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9383 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9384 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9385 if test "x$supports_anon_versioning" = xyes; then 9386 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9387 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9388 echo "local: *; };" >> $output_objdir/$libname.ver~ 9389 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9390 fi 9391 ;; 9392 esac 9393 else 9394 ld_shlibs=no 9395 fi 9396 ;; 9397 9398 netbsd* | netbsdelf*-gnu) 9399 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9400 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9401 wlarc= 9402 else 9403 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9404 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9405 fi 9406 ;; 9407 9408 solaris*) 9409 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9410 ld_shlibs=no 9411 cat <<_LT_EOF 1>&2 9412 9413*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9414*** create shared libraries on Solaris systems. Therefore, libtool 9415*** is disabling shared libraries support. We urge you to upgrade GNU 9416*** binutils to release 2.9.1 or newer. Another option is to modify 9417*** your PATH or compiler configuration so that the native linker is 9418*** used, and then restart. 9419 9420_LT_EOF 9421 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9422 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9423 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9424 else 9425 ld_shlibs=no 9426 fi 9427 ;; 9428 9429 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9430 case `$LD -v 2>&1` in 9431 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9432 ld_shlibs=no 9433 cat <<_LT_EOF 1>&2 9434 9435*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9436*** reliably create shared libraries on SCO systems. Therefore, libtool 9437*** is disabling shared libraries support. We urge you to upgrade GNU 9438*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9439*** your PATH or compiler configuration so that the native linker is 9440*** used, and then restart. 9441 9442_LT_EOF 9443 ;; 9444 *) 9445 # For security reasons, it is highly recommended that you always 9446 # use absolute paths for naming shared libraries, and exclude the 9447 # DT_RUNPATH tag from executables and libraries. But doing so 9448 # requires that you compile everything twice, which is a pain. 9449 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9450 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9451 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9452 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9453 else 9454 ld_shlibs=no 9455 fi 9456 ;; 9457 esac 9458 ;; 9459 9460 sunos4*) 9461 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9462 wlarc= 9463 hardcode_direct=yes 9464 hardcode_shlibpath_var=no 9465 ;; 9466 9467 *) 9468 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9469 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9470 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9471 else 9472 ld_shlibs=no 9473 fi 9474 ;; 9475 esac 9476 9477 if test "$ld_shlibs" = no; then 9478 runpath_var= 9479 hardcode_libdir_flag_spec= 9480 export_dynamic_flag_spec= 9481 whole_archive_flag_spec= 9482 fi 9483 else 9484 # PORTME fill in a description of your system's linker (not GNU ld) 9485 case $host_os in 9486 aix3*) 9487 allow_undefined_flag=unsupported 9488 always_export_symbols=yes 9489 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' 9490 # Note: this linker hardcodes the directories in LIBPATH if there 9491 # are no directories specified by -L. 9492 hardcode_minus_L=yes 9493 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9494 # Neither direct hardcoding nor static linking is supported with a 9495 # broken collect2. 9496 hardcode_direct=unsupported 9497 fi 9498 ;; 9499 9500 aix[4-9]*) 9501 if test "$host_cpu" = ia64; then 9502 # On IA64, the linker does run time linking by default, so we don't 9503 # have to do anything special. 9504 aix_use_runtimelinking=no 9505 exp_sym_flag='-Bexport' 9506 no_entry_flag="" 9507 else 9508 # If we're using GNU nm, then we don't want the "-C" option. 9509 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9510 # Also, AIX nm treats weak defined symbols like other global 9511 # defined symbols, whereas GNU nm marks them as "W". 9512 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9513 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' 9514 else 9515 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' 9516 fi 9517 aix_use_runtimelinking=no 9518 9519 # Test if we are trying to use run time linking or normal 9520 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9521 # need to do runtime linking. 9522 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9523 for ld_flag in $LDFLAGS; do 9524 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9525 aix_use_runtimelinking=yes 9526 break 9527 fi 9528 done 9529 ;; 9530 esac 9531 9532 exp_sym_flag='-bexport' 9533 no_entry_flag='-bnoentry' 9534 fi 9535 9536 # When large executables or shared objects are built, AIX ld can 9537 # have problems creating the table of contents. If linking a library 9538 # or program results in "error TOC overflow" add -mminimal-toc to 9539 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9540 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9541 9542 archive_cmds='' 9543 hardcode_direct=yes 9544 hardcode_direct_absolute=yes 9545 hardcode_libdir_separator=':' 9546 link_all_deplibs=yes 9547 file_list_spec='${wl}-f,' 9548 9549 if test "$GCC" = yes; then 9550 case $host_os in aix4.[012]|aix4.[012].*) 9551 # We only want to do this on AIX 4.2 and lower, the check 9552 # below for broken collect2 doesn't work under 4.3+ 9553 collect2name=`${CC} -print-prog-name=collect2` 9554 if test -f "$collect2name" && 9555 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9556 then 9557 # We have reworked collect2 9558 : 9559 else 9560 # We have old collect2 9561 hardcode_direct=unsupported 9562 # It fails to find uninstalled libraries when the uninstalled 9563 # path is not listed in the libpath. Setting hardcode_minus_L 9564 # to unsupported forces relinking 9565 hardcode_minus_L=yes 9566 hardcode_libdir_flag_spec='-L$libdir' 9567 hardcode_libdir_separator= 9568 fi 9569 ;; 9570 esac 9571 shared_flag='-shared' 9572 if test "$aix_use_runtimelinking" = yes; then 9573 shared_flag="$shared_flag "'${wl}-G' 9574 fi 9575 link_all_deplibs=no 9576 else 9577 # not using gcc 9578 if test "$host_cpu" = ia64; then 9579 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9580 # chokes on -Wl,-G. The following line is correct: 9581 shared_flag='-G' 9582 else 9583 if test "$aix_use_runtimelinking" = yes; then 9584 shared_flag='${wl}-G' 9585 else 9586 shared_flag='${wl}-bM:SRE' 9587 fi 9588 fi 9589 fi 9590 9591 export_dynamic_flag_spec='${wl}-bexpall' 9592 # It seems that -bexpall does not export symbols beginning with 9593 # underscore (_), so it is better to generate a list of symbols to export. 9594 always_export_symbols=yes 9595 if test "$aix_use_runtimelinking" = yes; then 9596 # Warning - without using the other runtime loading flags (-brtl), 9597 # -berok will link without error, but may produce a broken library. 9598 allow_undefined_flag='-berok' 9599 # Determine the default libpath from the value encoded in an 9600 # empty executable. 9601 if test "${lt_cv_aix_libpath+set}" = set; then 9602 aix_libpath=$lt_cv_aix_libpath 9603else 9604 if ${lt_cv_aix_libpath_+:} false; then : 9605 $as_echo_n "(cached) " >&6 9606else 9607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9608/* end confdefs.h. */ 9609 9610int 9611main () 9612{ 9613 9614 ; 9615 return 0; 9616} 9617_ACEOF 9618if ac_fn_c_try_link "$LINENO"; then : 9619 9620 lt_aix_libpath_sed=' 9621 /Import File Strings/,/^$/ { 9622 /^0/ { 9623 s/^0 *\([^ ]*\) *$/\1/ 9624 p 9625 } 9626 }' 9627 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9628 # Check for a 64-bit object if we didn't find anything. 9629 if test -z "$lt_cv_aix_libpath_"; then 9630 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9631 fi 9632fi 9633rm -f core conftest.err conftest.$ac_objext \ 9634 conftest$ac_exeext conftest.$ac_ext 9635 if test -z "$lt_cv_aix_libpath_"; then 9636 lt_cv_aix_libpath_="/usr/lib:/lib" 9637 fi 9638 9639fi 9640 9641 aix_libpath=$lt_cv_aix_libpath_ 9642fi 9643 9644 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9645 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" 9646 else 9647 if test "$host_cpu" = ia64; then 9648 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9649 allow_undefined_flag="-z nodefs" 9650 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" 9651 else 9652 # Determine the default libpath from the value encoded in an 9653 # empty executable. 9654 if test "${lt_cv_aix_libpath+set}" = set; then 9655 aix_libpath=$lt_cv_aix_libpath 9656else 9657 if ${lt_cv_aix_libpath_+:} false; then : 9658 $as_echo_n "(cached) " >&6 9659else 9660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9661/* end confdefs.h. */ 9662 9663int 9664main () 9665{ 9666 9667 ; 9668 return 0; 9669} 9670_ACEOF 9671if ac_fn_c_try_link "$LINENO"; then : 9672 9673 lt_aix_libpath_sed=' 9674 /Import File Strings/,/^$/ { 9675 /^0/ { 9676 s/^0 *\([^ ]*\) *$/\1/ 9677 p 9678 } 9679 }' 9680 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9681 # Check for a 64-bit object if we didn't find anything. 9682 if test -z "$lt_cv_aix_libpath_"; then 9683 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9684 fi 9685fi 9686rm -f core conftest.err conftest.$ac_objext \ 9687 conftest$ac_exeext conftest.$ac_ext 9688 if test -z "$lt_cv_aix_libpath_"; then 9689 lt_cv_aix_libpath_="/usr/lib:/lib" 9690 fi 9691 9692fi 9693 9694 aix_libpath=$lt_cv_aix_libpath_ 9695fi 9696 9697 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9698 # Warning - without using the other run time loading flags, 9699 # -berok will link without error, but may produce a broken library. 9700 no_undefined_flag=' ${wl}-bernotok' 9701 allow_undefined_flag=' ${wl}-berok' 9702 if test "$with_gnu_ld" = yes; then 9703 # We only use this code for GNU lds that support --whole-archive. 9704 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9705 else 9706 # Exported symbols can be pulled into shared objects from archives 9707 whole_archive_flag_spec='$convenience' 9708 fi 9709 archive_cmds_need_lc=yes 9710 # This is similar to how AIX traditionally builds its shared libraries. 9711 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' 9712 fi 9713 fi 9714 ;; 9715 9716 amigaos*) 9717 case $host_cpu in 9718 powerpc) 9719 # see comment about AmigaOS4 .so support 9720 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9721 archive_expsym_cmds='' 9722 ;; 9723 m68k) 9724 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)' 9725 hardcode_libdir_flag_spec='-L$libdir' 9726 hardcode_minus_L=yes 9727 ;; 9728 esac 9729 ;; 9730 9731 bsdi[45]*) 9732 export_dynamic_flag_spec=-rdynamic 9733 ;; 9734 9735 cygwin* | mingw* | pw32* | cegcc*) 9736 # When not using gcc, we currently assume that we are using 9737 # Microsoft Visual C++. 9738 # hardcode_libdir_flag_spec is actually meaningless, as there is 9739 # no search path for DLLs. 9740 case $cc_basename in 9741 cl*) 9742 # Native MSVC 9743 hardcode_libdir_flag_spec=' ' 9744 allow_undefined_flag=unsupported 9745 always_export_symbols=yes 9746 file_list_spec='@' 9747 # Tell ltmain to make .lib files, not .a files. 9748 libext=lib 9749 # Tell ltmain to make .dll files, not .so files. 9750 shrext_cmds=".dll" 9751 # FIXME: Setting linknames here is a bad hack. 9752 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9753 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9754 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9755 else 9756 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9757 fi~ 9758 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9759 linknames=' 9760 # The linker will not automatically build a static lib if we build a DLL. 9761 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9762 enable_shared_with_static_runtimes=yes 9763 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9764 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9765 # Don't use ranlib 9766 old_postinstall_cmds='chmod 644 $oldlib' 9767 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9768 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9769 case $lt_outputfile in 9770 *.exe|*.EXE) ;; 9771 *) 9772 lt_outputfile="$lt_outputfile.exe" 9773 lt_tool_outputfile="$lt_tool_outputfile.exe" 9774 ;; 9775 esac~ 9776 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9777 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9778 $RM "$lt_outputfile.manifest"; 9779 fi' 9780 ;; 9781 *) 9782 # Assume MSVC wrapper 9783 hardcode_libdir_flag_spec=' ' 9784 allow_undefined_flag=unsupported 9785 # Tell ltmain to make .lib files, not .a files. 9786 libext=lib 9787 # Tell ltmain to make .dll files, not .so files. 9788 shrext_cmds=".dll" 9789 # FIXME: Setting linknames here is a bad hack. 9790 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9791 # The linker will automatically build a .lib file if we build a DLL. 9792 old_archive_from_new_cmds='true' 9793 # FIXME: Should let the user specify the lib program. 9794 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9795 enable_shared_with_static_runtimes=yes 9796 ;; 9797 esac 9798 ;; 9799 9800 darwin* | rhapsody*) 9801 9802 9803 archive_cmds_need_lc=no 9804 hardcode_direct=no 9805 hardcode_automatic=yes 9806 hardcode_shlibpath_var=unsupported 9807 if test "$lt_cv_ld_force_load" = "yes"; then 9808 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\"`' 9809 9810 else 9811 whole_archive_flag_spec='' 9812 fi 9813 link_all_deplibs=yes 9814 allow_undefined_flag="$_lt_dar_allow_undefined" 9815 case $cc_basename in 9816 ifort*) _lt_dar_can_shared=yes ;; 9817 *) _lt_dar_can_shared=$GCC ;; 9818 esac 9819 if test "$_lt_dar_can_shared" = "yes"; then 9820 output_verbose_link_cmd=func_echo_all 9821 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9822 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9823 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}" 9824 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}" 9825 9826 else 9827 ld_shlibs=no 9828 fi 9829 9830 ;; 9831 9832 dgux*) 9833 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9834 hardcode_libdir_flag_spec='-L$libdir' 9835 hardcode_shlibpath_var=no 9836 ;; 9837 9838 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9839 # support. Future versions do this automatically, but an explicit c++rt0.o 9840 # does not break anything, and helps significantly (at the cost of a little 9841 # extra space). 9842 freebsd2.2*) 9843 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9844 hardcode_libdir_flag_spec='-R$libdir' 9845 hardcode_direct=yes 9846 hardcode_shlibpath_var=no 9847 ;; 9848 9849 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9850 freebsd2.*) 9851 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9852 hardcode_direct=yes 9853 hardcode_minus_L=yes 9854 hardcode_shlibpath_var=no 9855 ;; 9856 9857 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9858 freebsd* | dragonfly*) 9859 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9860 hardcode_libdir_flag_spec='-R$libdir' 9861 hardcode_direct=yes 9862 hardcode_shlibpath_var=no 9863 ;; 9864 9865 hpux9*) 9866 if test "$GCC" = yes; then 9867 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' 9868 else 9869 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' 9870 fi 9871 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9872 hardcode_libdir_separator=: 9873 hardcode_direct=yes 9874 9875 # hardcode_minus_L: Not really in the search PATH, 9876 # but as the default location of the library. 9877 hardcode_minus_L=yes 9878 export_dynamic_flag_spec='${wl}-E' 9879 ;; 9880 9881 hpux10*) 9882 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9883 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9884 else 9885 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9886 fi 9887 if test "$with_gnu_ld" = no; then 9888 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9889 hardcode_libdir_separator=: 9890 hardcode_direct=yes 9891 hardcode_direct_absolute=yes 9892 export_dynamic_flag_spec='${wl}-E' 9893 # hardcode_minus_L: Not really in the search PATH, 9894 # but as the default location of the library. 9895 hardcode_minus_L=yes 9896 fi 9897 ;; 9898 9899 hpux11*) 9900 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9901 case $host_cpu in 9902 hppa*64*) 9903 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9904 ;; 9905 ia64*) 9906 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9907 ;; 9908 *) 9909 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9910 ;; 9911 esac 9912 else 9913 case $host_cpu in 9914 hppa*64*) 9915 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9916 ;; 9917 ia64*) 9918 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9919 ;; 9920 *) 9921 9922 # Older versions of the 11.00 compiler do not understand -b yet 9923 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9925$as_echo_n "checking if $CC understands -b... " >&6; } 9926if ${lt_cv_prog_compiler__b+:} false; then : 9927 $as_echo_n "(cached) " >&6 9928else 9929 lt_cv_prog_compiler__b=no 9930 save_LDFLAGS="$LDFLAGS" 9931 LDFLAGS="$LDFLAGS -b" 9932 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9933 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9934 # The linker can only warn and ignore the option if not recognized 9935 # So say no if there are warnings 9936 if test -s conftest.err; then 9937 # Append any errors to the config.log. 9938 cat conftest.err 1>&5 9939 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9940 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9941 if diff conftest.exp conftest.er2 >/dev/null; then 9942 lt_cv_prog_compiler__b=yes 9943 fi 9944 else 9945 lt_cv_prog_compiler__b=yes 9946 fi 9947 fi 9948 $RM -r conftest* 9949 LDFLAGS="$save_LDFLAGS" 9950 9951fi 9952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9953$as_echo "$lt_cv_prog_compiler__b" >&6; } 9954 9955if test x"$lt_cv_prog_compiler__b" = xyes; then 9956 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9957else 9958 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9959fi 9960 9961 ;; 9962 esac 9963 fi 9964 if test "$with_gnu_ld" = no; then 9965 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9966 hardcode_libdir_separator=: 9967 9968 case $host_cpu in 9969 hppa*64*|ia64*) 9970 hardcode_direct=no 9971 hardcode_shlibpath_var=no 9972 ;; 9973 *) 9974 hardcode_direct=yes 9975 hardcode_direct_absolute=yes 9976 export_dynamic_flag_spec='${wl}-E' 9977 9978 # hardcode_minus_L: Not really in the search PATH, 9979 # but as the default location of the library. 9980 hardcode_minus_L=yes 9981 ;; 9982 esac 9983 fi 9984 ;; 9985 9986 irix5* | irix6* | nonstopux*) 9987 if test "$GCC" = yes; then 9988 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' 9989 # Try to use the -exported_symbol ld option, if it does not 9990 # work, assume that -exports_file does not work either and 9991 # implicitly export all symbols. 9992 # This should be the same for all languages, so no per-tag cache variable. 9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9994$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9995if ${lt_cv_irix_exported_symbol+:} false; then : 9996 $as_echo_n "(cached) " >&6 9997else 9998 save_LDFLAGS="$LDFLAGS" 9999 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10001/* end confdefs.h. */ 10002int foo (void) { return 0; } 10003_ACEOF 10004if ac_fn_c_try_link "$LINENO"; then : 10005 lt_cv_irix_exported_symbol=yes 10006else 10007 lt_cv_irix_exported_symbol=no 10008fi 10009rm -f core conftest.err conftest.$ac_objext \ 10010 conftest$ac_exeext conftest.$ac_ext 10011 LDFLAGS="$save_LDFLAGS" 10012fi 10013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10014$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10015 if test "$lt_cv_irix_exported_symbol" = yes; then 10016 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' 10017 fi 10018 else 10019 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' 10020 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' 10021 fi 10022 archive_cmds_need_lc='no' 10023 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10024 hardcode_libdir_separator=: 10025 inherit_rpath=yes 10026 link_all_deplibs=yes 10027 ;; 10028 10029 netbsd* | netbsdelf*-gnu) 10030 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10031 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10032 else 10033 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10034 fi 10035 hardcode_libdir_flag_spec='-R$libdir' 10036 hardcode_direct=yes 10037 hardcode_shlibpath_var=no 10038 ;; 10039 10040 newsos6) 10041 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10042 hardcode_direct=yes 10043 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10044 hardcode_libdir_separator=: 10045 hardcode_shlibpath_var=no 10046 ;; 10047 10048 *nto* | *qnx*) 10049 ;; 10050 10051 openbsd*) 10052 if test -f /usr/libexec/ld.so; then 10053 hardcode_direct=yes 10054 hardcode_shlibpath_var=no 10055 hardcode_direct_absolute=yes 10056 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10057 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10058 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10059 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10060 export_dynamic_flag_spec='${wl}-E' 10061 else 10062 case $host_os in 10063 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10064 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10065 hardcode_libdir_flag_spec='-R$libdir' 10066 ;; 10067 *) 10068 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10069 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10070 ;; 10071 esac 10072 fi 10073 else 10074 ld_shlibs=no 10075 fi 10076 ;; 10077 10078 os2*) 10079 hardcode_libdir_flag_spec='-L$libdir' 10080 hardcode_minus_L=yes 10081 allow_undefined_flag=unsupported 10082 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' 10083 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10084 ;; 10085 10086 osf3*) 10087 if test "$GCC" = yes; then 10088 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10089 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' 10090 else 10091 allow_undefined_flag=' -expect_unresolved \*' 10092 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' 10093 fi 10094 archive_cmds_need_lc='no' 10095 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10096 hardcode_libdir_separator=: 10097 ;; 10098 10099 osf4* | osf5*) # as osf3* with the addition of -msym flag 10100 if test "$GCC" = yes; then 10101 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10102 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' 10103 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10104 else 10105 allow_undefined_flag=' -expect_unresolved \*' 10106 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' 10107 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~ 10108 $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' 10109 10110 # Both c and cxx compiler support -rpath directly 10111 hardcode_libdir_flag_spec='-rpath $libdir' 10112 fi 10113 archive_cmds_need_lc='no' 10114 hardcode_libdir_separator=: 10115 ;; 10116 10117 solaris*) 10118 no_undefined_flag=' -z defs' 10119 if test "$GCC" = yes; then 10120 wlarc='${wl}' 10121 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10122 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10123 $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' 10124 else 10125 case `$CC -V 2>&1` in 10126 *"Compilers 5.0"*) 10127 wlarc='' 10128 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10129 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10130 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10131 ;; 10132 *) 10133 wlarc='${wl}' 10134 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10135 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10136 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10137 ;; 10138 esac 10139 fi 10140 hardcode_libdir_flag_spec='-R$libdir' 10141 hardcode_shlibpath_var=no 10142 case $host_os in 10143 solaris2.[0-5] | solaris2.[0-5].*) ;; 10144 *) 10145 # The compiler driver will combine and reorder linker options, 10146 # but understands `-z linker_flag'. GCC discards it without `$wl', 10147 # but is careful enough not to reorder. 10148 # Supported since Solaris 2.6 (maybe 2.5.1?) 10149 if test "$GCC" = yes; then 10150 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10151 else 10152 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10153 fi 10154 ;; 10155 esac 10156 link_all_deplibs=yes 10157 ;; 10158 10159 sunos4*) 10160 if test "x$host_vendor" = xsequent; then 10161 # Use $CC to link under sequent, because it throws in some extra .o 10162 # files that make .init and .fini sections work. 10163 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10164 else 10165 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10166 fi 10167 hardcode_libdir_flag_spec='-L$libdir' 10168 hardcode_direct=yes 10169 hardcode_minus_L=yes 10170 hardcode_shlibpath_var=no 10171 ;; 10172 10173 sysv4) 10174 case $host_vendor in 10175 sni) 10176 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10177 hardcode_direct=yes # is this really true??? 10178 ;; 10179 siemens) 10180 ## LD is ld it makes a PLAMLIB 10181 ## CC just makes a GrossModule. 10182 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10183 reload_cmds='$CC -r -o $output$reload_objs' 10184 hardcode_direct=no 10185 ;; 10186 motorola) 10187 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10188 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10189 ;; 10190 esac 10191 runpath_var='LD_RUN_PATH' 10192 hardcode_shlibpath_var=no 10193 ;; 10194 10195 sysv4.3*) 10196 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10197 hardcode_shlibpath_var=no 10198 export_dynamic_flag_spec='-Bexport' 10199 ;; 10200 10201 sysv4*MP*) 10202 if test -d /usr/nec; then 10203 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10204 hardcode_shlibpath_var=no 10205 runpath_var=LD_RUN_PATH 10206 hardcode_runpath_var=yes 10207 ld_shlibs=yes 10208 fi 10209 ;; 10210 10211 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10212 no_undefined_flag='${wl}-z,text' 10213 archive_cmds_need_lc=no 10214 hardcode_shlibpath_var=no 10215 runpath_var='LD_RUN_PATH' 10216 10217 if test "$GCC" = yes; then 10218 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10219 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10220 else 10221 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10222 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10223 fi 10224 ;; 10225 10226 sysv5* | sco3.2v5* | sco5v6*) 10227 # Note: We can NOT use -z defs as we might desire, because we do not 10228 # link with -lc, and that would cause any symbols used from libc to 10229 # always be unresolved, which means just about no library would 10230 # ever link correctly. If we're not using GNU ld we use -z text 10231 # though, which does catch some bad symbols but isn't as heavy-handed 10232 # as -z defs. 10233 no_undefined_flag='${wl}-z,text' 10234 allow_undefined_flag='${wl}-z,nodefs' 10235 archive_cmds_need_lc=no 10236 hardcode_shlibpath_var=no 10237 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10238 hardcode_libdir_separator=':' 10239 link_all_deplibs=yes 10240 export_dynamic_flag_spec='${wl}-Bexport' 10241 runpath_var='LD_RUN_PATH' 10242 10243 if test "$GCC" = yes; then 10244 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10245 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10246 else 10247 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10248 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10249 fi 10250 ;; 10251 10252 uts4*) 10253 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10254 hardcode_libdir_flag_spec='-L$libdir' 10255 hardcode_shlibpath_var=no 10256 ;; 10257 10258 *) 10259 ld_shlibs=no 10260 ;; 10261 esac 10262 10263 if test x$host_vendor = xsni; then 10264 case $host in 10265 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10266 export_dynamic_flag_spec='${wl}-Blargedynsym' 10267 ;; 10268 esac 10269 fi 10270 fi 10271 10272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10273$as_echo "$ld_shlibs" >&6; } 10274test "$ld_shlibs" = no && can_build_shared=no 10275 10276with_gnu_ld=$with_gnu_ld 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292# 10293# Do we need to explicitly link libc? 10294# 10295case "x$archive_cmds_need_lc" in 10296x|xyes) 10297 # Assume -lc should be added 10298 archive_cmds_need_lc=yes 10299 10300 if test "$enable_shared" = yes && test "$GCC" = yes; then 10301 case $archive_cmds in 10302 *'~'*) 10303 # FIXME: we may have to deal with multi-command sequences. 10304 ;; 10305 '$CC '*) 10306 # Test whether the compiler implicitly links with -lc since on some 10307 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10308 # to ld, don't add -lc before -lgcc. 10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10310$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10311if ${lt_cv_archive_cmds_need_lc+:} false; then : 10312 $as_echo_n "(cached) " >&6 10313else 10314 $RM conftest* 10315 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10316 10317 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10318 (eval $ac_compile) 2>&5 10319 ac_status=$? 10320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10321 test $ac_status = 0; } 2>conftest.err; then 10322 soname=conftest 10323 lib=conftest 10324 libobjs=conftest.$ac_objext 10325 deplibs= 10326 wl=$lt_prog_compiler_wl 10327 pic_flag=$lt_prog_compiler_pic 10328 compiler_flags=-v 10329 linker_flags=-v 10330 verstring= 10331 output_objdir=. 10332 libname=conftest 10333 lt_save_allow_undefined_flag=$allow_undefined_flag 10334 allow_undefined_flag= 10335 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10336 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10337 ac_status=$? 10338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10339 test $ac_status = 0; } 10340 then 10341 lt_cv_archive_cmds_need_lc=no 10342 else 10343 lt_cv_archive_cmds_need_lc=yes 10344 fi 10345 allow_undefined_flag=$lt_save_allow_undefined_flag 10346 else 10347 cat conftest.err 1>&5 10348 fi 10349 $RM conftest* 10350 10351fi 10352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10353$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10354 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10355 ;; 10356 esac 10357 fi 10358 ;; 10359esac 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10513$as_echo_n "checking dynamic linker characteristics... " >&6; } 10514 10515if test "$GCC" = yes; then 10516 case $host_os in 10517 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10518 *) lt_awk_arg="/^libraries:/" ;; 10519 esac 10520 case $host_os in 10521 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10522 *) lt_sed_strip_eq="s,=/,/,g" ;; 10523 esac 10524 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10525 case $lt_search_path_spec in 10526 *\;*) 10527 # if the path contains ";" then we assume it to be the separator 10528 # otherwise default to the standard path separator (i.e. ":") - it is 10529 # assumed that no part of a normal pathname contains ";" but that should 10530 # okay in the real world where ";" in dirpaths is itself problematic. 10531 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10532 ;; 10533 *) 10534 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10535 ;; 10536 esac 10537 # Ok, now we have the path, separated by spaces, we can step through it 10538 # and add multilib dir if necessary. 10539 lt_tmp_lt_search_path_spec= 10540 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10541 for lt_sys_path in $lt_search_path_spec; do 10542 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10543 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10544 else 10545 test -d "$lt_sys_path" && \ 10546 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10547 fi 10548 done 10549 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10550BEGIN {RS=" "; FS="/|\n";} { 10551 lt_foo=""; 10552 lt_count=0; 10553 for (lt_i = NF; lt_i > 0; lt_i--) { 10554 if ($lt_i != "" && $lt_i != ".") { 10555 if ($lt_i == "..") { 10556 lt_count++; 10557 } else { 10558 if (lt_count == 0) { 10559 lt_foo="/" $lt_i lt_foo; 10560 } else { 10561 lt_count--; 10562 } 10563 } 10564 } 10565 } 10566 if (lt_foo != "") { lt_freq[lt_foo]++; } 10567 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10568}'` 10569 # AWK program above erroneously prepends '/' to C:/dos/paths 10570 # for these hosts. 10571 case $host_os in 10572 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10573 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10574 esac 10575 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10576else 10577 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10578fi 10579library_names_spec= 10580libname_spec='lib$name' 10581soname_spec= 10582shrext_cmds=".so" 10583postinstall_cmds= 10584postuninstall_cmds= 10585finish_cmds= 10586finish_eval= 10587shlibpath_var= 10588shlibpath_overrides_runpath=unknown 10589version_type=none 10590dynamic_linker="$host_os ld.so" 10591sys_lib_dlsearch_path_spec="/lib /usr/lib" 10592need_lib_prefix=unknown 10593hardcode_into_libs=no 10594 10595# when you set need_version to no, make sure it does not cause -set_version 10596# flags to be left without arguments 10597need_version=unknown 10598 10599case $host_os in 10600aix3*) 10601 version_type=linux # correct to gnu/linux during the next big refactor 10602 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10603 shlibpath_var=LIBPATH 10604 10605 # AIX 3 has no versioning support, so we append a major version to the name. 10606 soname_spec='${libname}${release}${shared_ext}$major' 10607 ;; 10608 10609aix[4-9]*) 10610 version_type=linux # correct to gnu/linux during the next big refactor 10611 need_lib_prefix=no 10612 need_version=no 10613 hardcode_into_libs=yes 10614 if test "$host_cpu" = ia64; then 10615 # AIX 5 supports IA64 10616 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10617 shlibpath_var=LD_LIBRARY_PATH 10618 else 10619 # With GCC up to 2.95.x, collect2 would create an import file 10620 # for dependence libraries. The import file would start with 10621 # the line `#! .'. This would cause the generated library to 10622 # depend on `.', always an invalid library. This was fixed in 10623 # development snapshots of GCC prior to 3.0. 10624 case $host_os in 10625 aix4 | aix4.[01] | aix4.[01].*) 10626 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10627 echo ' yes ' 10628 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10629 : 10630 else 10631 can_build_shared=no 10632 fi 10633 ;; 10634 esac 10635 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10636 # soname into executable. Probably we can add versioning support to 10637 # collect2, so additional links can be useful in future. 10638 if test "$aix_use_runtimelinking" = yes; then 10639 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10640 # instead of lib<name>.a to let people know that these are not 10641 # typical AIX shared libraries. 10642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10643 else 10644 # We preserve .a as extension for shared libraries through AIX4.2 10645 # and later when we are not doing run time linking. 10646 library_names_spec='${libname}${release}.a $libname.a' 10647 soname_spec='${libname}${release}${shared_ext}$major' 10648 fi 10649 shlibpath_var=LIBPATH 10650 fi 10651 ;; 10652 10653amigaos*) 10654 case $host_cpu in 10655 powerpc) 10656 # Since July 2007 AmigaOS4 officially supports .so libraries. 10657 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10659 ;; 10660 m68k) 10661 library_names_spec='$libname.ixlibrary $libname.a' 10662 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10663 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' 10664 ;; 10665 esac 10666 ;; 10667 10668beos*) 10669 library_names_spec='${libname}${shared_ext}' 10670 dynamic_linker="$host_os ld.so" 10671 shlibpath_var=LIBRARY_PATH 10672 ;; 10673 10674bsdi[45]*) 10675 version_type=linux # correct to gnu/linux during the next big refactor 10676 need_version=no 10677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10678 soname_spec='${libname}${release}${shared_ext}$major' 10679 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10680 shlibpath_var=LD_LIBRARY_PATH 10681 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10682 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10683 # the default ld.so.conf also contains /usr/contrib/lib and 10684 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10685 # libtool to hard-code these into programs 10686 ;; 10687 10688cygwin* | mingw* | pw32* | cegcc*) 10689 version_type=windows 10690 shrext_cmds=".dll" 10691 need_version=no 10692 need_lib_prefix=no 10693 10694 case $GCC,$cc_basename in 10695 yes,*) 10696 # gcc 10697 library_names_spec='$libname.dll.a' 10698 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10699 postinstall_cmds='base_file=`basename \${file}`~ 10700 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10701 dldir=$destdir/`dirname \$dlpath`~ 10702 test -d \$dldir || mkdir -p \$dldir~ 10703 $install_prog $dir/$dlname \$dldir/$dlname~ 10704 chmod a+x \$dldir/$dlname~ 10705 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10706 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10707 fi' 10708 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10709 dlpath=$dir/\$dldll~ 10710 $RM \$dlpath' 10711 shlibpath_overrides_runpath=yes 10712 10713 case $host_os in 10714 cygwin*) 10715 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10716 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10717 10718 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10719 ;; 10720 mingw* | cegcc*) 10721 # MinGW DLLs use traditional 'lib' prefix 10722 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10723 ;; 10724 pw32*) 10725 # pw32 DLLs use 'pw' prefix rather than 'lib' 10726 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10727 ;; 10728 esac 10729 dynamic_linker='Win32 ld.exe' 10730 ;; 10731 10732 *,cl*) 10733 # Native MSVC 10734 libname_spec='$name' 10735 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10736 library_names_spec='${libname}.dll.lib' 10737 10738 case $build_os in 10739 mingw*) 10740 sys_lib_search_path_spec= 10741 lt_save_ifs=$IFS 10742 IFS=';' 10743 for lt_path in $LIB 10744 do 10745 IFS=$lt_save_ifs 10746 # Let DOS variable expansion print the short 8.3 style file name. 10747 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10748 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10749 done 10750 IFS=$lt_save_ifs 10751 # Convert to MSYS style. 10752 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10753 ;; 10754 cygwin*) 10755 # Convert to unix form, then to dos form, then back to unix form 10756 # but this time dos style (no spaces!) so that the unix form looks 10757 # like /cygdrive/c/PROGRA~1:/cygdr... 10758 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10759 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10760 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10761 ;; 10762 *) 10763 sys_lib_search_path_spec="$LIB" 10764 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10765 # It is most probably a Windows format PATH. 10766 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10767 else 10768 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10769 fi 10770 # FIXME: find the short name or the path components, as spaces are 10771 # common. (e.g. "Program Files" -> "PROGRA~1") 10772 ;; 10773 esac 10774 10775 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10776 postinstall_cmds='base_file=`basename \${file}`~ 10777 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10778 dldir=$destdir/`dirname \$dlpath`~ 10779 test -d \$dldir || mkdir -p \$dldir~ 10780 $install_prog $dir/$dlname \$dldir/$dlname' 10781 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10782 dlpath=$dir/\$dldll~ 10783 $RM \$dlpath' 10784 shlibpath_overrides_runpath=yes 10785 dynamic_linker='Win32 link.exe' 10786 ;; 10787 10788 *) 10789 # Assume MSVC wrapper 10790 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10791 dynamic_linker='Win32 ld.exe' 10792 ;; 10793 esac 10794 # FIXME: first we should search . and the directory the executable is in 10795 shlibpath_var=PATH 10796 ;; 10797 10798darwin* | rhapsody*) 10799 dynamic_linker="$host_os dyld" 10800 version_type=darwin 10801 need_lib_prefix=no 10802 need_version=no 10803 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10804 soname_spec='${libname}${release}${major}$shared_ext' 10805 shlibpath_overrides_runpath=yes 10806 shlibpath_var=DYLD_LIBRARY_PATH 10807 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10808 10809 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10810 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10811 ;; 10812 10813dgux*) 10814 version_type=linux # correct to gnu/linux during the next big refactor 10815 need_lib_prefix=no 10816 need_version=no 10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10818 soname_spec='${libname}${release}${shared_ext}$major' 10819 shlibpath_var=LD_LIBRARY_PATH 10820 ;; 10821 10822freebsd* | dragonfly*) 10823 # DragonFly does not have aout. When/if they implement a new 10824 # versioning mechanism, adjust this. 10825 if test -x /usr/bin/objformat; then 10826 objformat=`/usr/bin/objformat` 10827 else 10828 case $host_os in 10829 freebsd[23].*) objformat=aout ;; 10830 *) objformat=elf ;; 10831 esac 10832 fi 10833 version_type=freebsd-$objformat 10834 case $version_type in 10835 freebsd-elf*) 10836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10837 need_version=no 10838 need_lib_prefix=no 10839 ;; 10840 freebsd-*) 10841 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10842 need_version=yes 10843 ;; 10844 esac 10845 shlibpath_var=LD_LIBRARY_PATH 10846 case $host_os in 10847 freebsd2.*) 10848 shlibpath_overrides_runpath=yes 10849 ;; 10850 freebsd3.[01]* | freebsdelf3.[01]*) 10851 shlibpath_overrides_runpath=yes 10852 hardcode_into_libs=yes 10853 ;; 10854 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10855 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10856 shlibpath_overrides_runpath=no 10857 hardcode_into_libs=yes 10858 ;; 10859 *) # from 4.6 on, and DragonFly 10860 shlibpath_overrides_runpath=yes 10861 hardcode_into_libs=yes 10862 ;; 10863 esac 10864 ;; 10865 10866haiku*) 10867 version_type=linux # correct to gnu/linux during the next big refactor 10868 need_lib_prefix=no 10869 need_version=no 10870 dynamic_linker="$host_os runtime_loader" 10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10872 soname_spec='${libname}${release}${shared_ext}$major' 10873 shlibpath_var=LIBRARY_PATH 10874 shlibpath_overrides_runpath=yes 10875 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10876 hardcode_into_libs=yes 10877 ;; 10878 10879hpux9* | hpux10* | hpux11*) 10880 # Give a soname corresponding to the major version so that dld.sl refuses to 10881 # link against other versions. 10882 version_type=sunos 10883 need_lib_prefix=no 10884 need_version=no 10885 case $host_cpu in 10886 ia64*) 10887 shrext_cmds='.so' 10888 hardcode_into_libs=yes 10889 dynamic_linker="$host_os dld.so" 10890 shlibpath_var=LD_LIBRARY_PATH 10891 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10893 soname_spec='${libname}${release}${shared_ext}$major' 10894 if test "X$HPUX_IA64_MODE" = X32; then 10895 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10896 else 10897 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10898 fi 10899 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10900 ;; 10901 hppa*64*) 10902 shrext_cmds='.sl' 10903 hardcode_into_libs=yes 10904 dynamic_linker="$host_os dld.sl" 10905 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10906 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10908 soname_spec='${libname}${release}${shared_ext}$major' 10909 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10910 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10911 ;; 10912 *) 10913 shrext_cmds='.sl' 10914 dynamic_linker="$host_os dld.sl" 10915 shlibpath_var=SHLIB_PATH 10916 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10918 soname_spec='${libname}${release}${shared_ext}$major' 10919 ;; 10920 esac 10921 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10922 postinstall_cmds='chmod 555 $lib' 10923 # or fails outright, so override atomically: 10924 install_override_mode=555 10925 ;; 10926 10927interix[3-9]*) 10928 version_type=linux # correct to gnu/linux during the next big refactor 10929 need_lib_prefix=no 10930 need_version=no 10931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10932 soname_spec='${libname}${release}${shared_ext}$major' 10933 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10934 shlibpath_var=LD_LIBRARY_PATH 10935 shlibpath_overrides_runpath=no 10936 hardcode_into_libs=yes 10937 ;; 10938 10939irix5* | irix6* | nonstopux*) 10940 case $host_os in 10941 nonstopux*) version_type=nonstopux ;; 10942 *) 10943 if test "$lt_cv_prog_gnu_ld" = yes; then 10944 version_type=linux # correct to gnu/linux during the next big refactor 10945 else 10946 version_type=irix 10947 fi ;; 10948 esac 10949 need_lib_prefix=no 10950 need_version=no 10951 soname_spec='${libname}${release}${shared_ext}$major' 10952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10953 case $host_os in 10954 irix5* | nonstopux*) 10955 libsuff= shlibsuff= 10956 ;; 10957 *) 10958 case $LD in # libtool.m4 will add one of these switches to LD 10959 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10960 libsuff= shlibsuff= libmagic=32-bit;; 10961 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10962 libsuff=32 shlibsuff=N32 libmagic=N32;; 10963 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10964 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10965 *) libsuff= shlibsuff= libmagic=never-match;; 10966 esac 10967 ;; 10968 esac 10969 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10970 shlibpath_overrides_runpath=no 10971 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10972 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10973 hardcode_into_libs=yes 10974 ;; 10975 10976# No shared lib support for Linux oldld, aout, or coff. 10977linux*oldld* | linux*aout* | linux*coff*) 10978 dynamic_linker=no 10979 ;; 10980 10981# This must be glibc/ELF. 10982linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10983 version_type=linux # correct to gnu/linux during the next big refactor 10984 need_lib_prefix=no 10985 need_version=no 10986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10987 soname_spec='${libname}${release}${shared_ext}$major' 10988 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10989 shlibpath_var=LD_LIBRARY_PATH 10990 shlibpath_overrides_runpath=no 10991 10992 # Some binutils ld are patched to set DT_RUNPATH 10993 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10994 $as_echo_n "(cached) " >&6 10995else 10996 lt_cv_shlibpath_overrides_runpath=no 10997 save_LDFLAGS=$LDFLAGS 10998 save_libdir=$libdir 10999 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11000 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11002/* end confdefs.h. */ 11003 11004int 11005main () 11006{ 11007 11008 ; 11009 return 0; 11010} 11011_ACEOF 11012if ac_fn_c_try_link "$LINENO"; then : 11013 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11014 lt_cv_shlibpath_overrides_runpath=yes 11015fi 11016fi 11017rm -f core conftest.err conftest.$ac_objext \ 11018 conftest$ac_exeext conftest.$ac_ext 11019 LDFLAGS=$save_LDFLAGS 11020 libdir=$save_libdir 11021 11022fi 11023 11024 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11025 11026 # This implies no fast_install, which is unacceptable. 11027 # Some rework will be needed to allow for fast_install 11028 # before this can be enabled. 11029 hardcode_into_libs=yes 11030 11031 # Append ld.so.conf contents to the search path 11032 if test -f /etc/ld.so.conf; then 11033 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' ' '` 11034 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11035 fi 11036 11037 # We used to test for /lib/ld.so.1 and disable shared libraries on 11038 # powerpc, because MkLinux only supported shared libraries with the 11039 # GNU dynamic linker. Since this was broken with cross compilers, 11040 # most powerpc-linux boxes support dynamic linking these days and 11041 # people can always --disable-shared, the test was removed, and we 11042 # assume the GNU/Linux dynamic linker is in use. 11043 dynamic_linker='GNU/Linux ld.so' 11044 ;; 11045 11046netbsdelf*-gnu) 11047 version_type=linux 11048 need_lib_prefix=no 11049 need_version=no 11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11051 soname_spec='${libname}${release}${shared_ext}$major' 11052 shlibpath_var=LD_LIBRARY_PATH 11053 shlibpath_overrides_runpath=no 11054 hardcode_into_libs=yes 11055 dynamic_linker='NetBSD ld.elf_so' 11056 ;; 11057 11058netbsd*) 11059 version_type=sunos 11060 need_lib_prefix=no 11061 need_version=no 11062 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11064 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11065 dynamic_linker='NetBSD (a.out) ld.so' 11066 else 11067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11068 soname_spec='${libname}${release}${shared_ext}$major' 11069 dynamic_linker='NetBSD ld.elf_so' 11070 fi 11071 shlibpath_var=LD_LIBRARY_PATH 11072 shlibpath_overrides_runpath=yes 11073 hardcode_into_libs=yes 11074 ;; 11075 11076newsos6) 11077 version_type=linux # correct to gnu/linux during the next big refactor 11078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11079 shlibpath_var=LD_LIBRARY_PATH 11080 shlibpath_overrides_runpath=yes 11081 ;; 11082 11083*nto* | *qnx*) 11084 version_type=qnx 11085 need_lib_prefix=no 11086 need_version=no 11087 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11088 soname_spec='${libname}${release}${shared_ext}$major' 11089 shlibpath_var=LD_LIBRARY_PATH 11090 shlibpath_overrides_runpath=no 11091 hardcode_into_libs=yes 11092 dynamic_linker='ldqnx.so' 11093 ;; 11094 11095openbsd*) 11096 version_type=sunos 11097 sys_lib_dlsearch_path_spec="/usr/lib" 11098 need_lib_prefix=no 11099 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11100 case $host_os in 11101 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11102 *) need_version=no ;; 11103 esac 11104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11105 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11106 shlibpath_var=LD_LIBRARY_PATH 11107 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11108 case $host_os in 11109 openbsd2.[89] | openbsd2.[89].*) 11110 shlibpath_overrides_runpath=no 11111 ;; 11112 *) 11113 shlibpath_overrides_runpath=yes 11114 ;; 11115 esac 11116 else 11117 shlibpath_overrides_runpath=yes 11118 fi 11119 ;; 11120 11121os2*) 11122 libname_spec='$name' 11123 shrext_cmds=".dll" 11124 need_lib_prefix=no 11125 library_names_spec='$libname${shared_ext} $libname.a' 11126 dynamic_linker='OS/2 ld.exe' 11127 shlibpath_var=LIBPATH 11128 ;; 11129 11130osf3* | osf4* | osf5*) 11131 version_type=osf 11132 need_lib_prefix=no 11133 need_version=no 11134 soname_spec='${libname}${release}${shared_ext}$major' 11135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11136 shlibpath_var=LD_LIBRARY_PATH 11137 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11138 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11139 ;; 11140 11141rdos*) 11142 dynamic_linker=no 11143 ;; 11144 11145solaris*) 11146 version_type=linux # correct to gnu/linux during the next big refactor 11147 need_lib_prefix=no 11148 need_version=no 11149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11150 soname_spec='${libname}${release}${shared_ext}$major' 11151 shlibpath_var=LD_LIBRARY_PATH 11152 shlibpath_overrides_runpath=yes 11153 hardcode_into_libs=yes 11154 # ldd complains unless libraries are executable 11155 postinstall_cmds='chmod +x $lib' 11156 ;; 11157 11158sunos4*) 11159 version_type=sunos 11160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11161 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11162 shlibpath_var=LD_LIBRARY_PATH 11163 shlibpath_overrides_runpath=yes 11164 if test "$with_gnu_ld" = yes; then 11165 need_lib_prefix=no 11166 fi 11167 need_version=yes 11168 ;; 11169 11170sysv4 | sysv4.3*) 11171 version_type=linux # correct to gnu/linux during the next big refactor 11172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11173 soname_spec='${libname}${release}${shared_ext}$major' 11174 shlibpath_var=LD_LIBRARY_PATH 11175 case $host_vendor in 11176 sni) 11177 shlibpath_overrides_runpath=no 11178 need_lib_prefix=no 11179 runpath_var=LD_RUN_PATH 11180 ;; 11181 siemens) 11182 need_lib_prefix=no 11183 ;; 11184 motorola) 11185 need_lib_prefix=no 11186 need_version=no 11187 shlibpath_overrides_runpath=no 11188 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11189 ;; 11190 esac 11191 ;; 11192 11193sysv4*MP*) 11194 if test -d /usr/nec ;then 11195 version_type=linux # correct to gnu/linux during the next big refactor 11196 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11197 soname_spec='$libname${shared_ext}.$major' 11198 shlibpath_var=LD_LIBRARY_PATH 11199 fi 11200 ;; 11201 11202sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11203 version_type=freebsd-elf 11204 need_lib_prefix=no 11205 need_version=no 11206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11207 soname_spec='${libname}${release}${shared_ext}$major' 11208 shlibpath_var=LD_LIBRARY_PATH 11209 shlibpath_overrides_runpath=yes 11210 hardcode_into_libs=yes 11211 if test "$with_gnu_ld" = yes; then 11212 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11213 else 11214 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11215 case $host_os in 11216 sco3.2v5*) 11217 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11218 ;; 11219 esac 11220 fi 11221 sys_lib_dlsearch_path_spec='/usr/lib' 11222 ;; 11223 11224tpf*) 11225 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11226 version_type=linux # correct to gnu/linux during the next big refactor 11227 need_lib_prefix=no 11228 need_version=no 11229 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11230 shlibpath_var=LD_LIBRARY_PATH 11231 shlibpath_overrides_runpath=no 11232 hardcode_into_libs=yes 11233 ;; 11234 11235uts4*) 11236 version_type=linux # correct to gnu/linux during the next big refactor 11237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11238 soname_spec='${libname}${release}${shared_ext}$major' 11239 shlibpath_var=LD_LIBRARY_PATH 11240 ;; 11241 11242*) 11243 dynamic_linker=no 11244 ;; 11245esac 11246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11247$as_echo "$dynamic_linker" >&6; } 11248test "$dynamic_linker" = no && can_build_shared=no 11249 11250variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11251if test "$GCC" = yes; then 11252 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11253fi 11254 11255if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11256 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11257fi 11258if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11259 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11260fi 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11354$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11355hardcode_action= 11356if test -n "$hardcode_libdir_flag_spec" || 11357 test -n "$runpath_var" || 11358 test "X$hardcode_automatic" = "Xyes" ; then 11359 11360 # We can hardcode non-existent directories. 11361 if test "$hardcode_direct" != no && 11362 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11363 # have to relink, otherwise we might link with an installed library 11364 # when we should be linking with a yet-to-be-installed one 11365 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11366 test "$hardcode_minus_L" != no; then 11367 # Linking always hardcodes the temporary library directory. 11368 hardcode_action=relink 11369 else 11370 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11371 hardcode_action=immediate 11372 fi 11373else 11374 # We cannot hardcode anything, or else we can only hardcode existing 11375 # directories. 11376 hardcode_action=unsupported 11377fi 11378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11379$as_echo "$hardcode_action" >&6; } 11380 11381if test "$hardcode_action" = relink || 11382 test "$inherit_rpath" = yes; then 11383 # Fast installation is not supported 11384 enable_fast_install=no 11385elif test "$shlibpath_overrides_runpath" = yes || 11386 test "$enable_shared" = no; then 11387 # Fast installation is not necessary 11388 enable_fast_install=needless 11389fi 11390 11391 11392 11393 11394 11395 11396 if test "x$enable_dlopen" != xyes; then 11397 enable_dlopen=unknown 11398 enable_dlopen_self=unknown 11399 enable_dlopen_self_static=unknown 11400else 11401 lt_cv_dlopen=no 11402 lt_cv_dlopen_libs= 11403 11404 case $host_os in 11405 beos*) 11406 lt_cv_dlopen="load_add_on" 11407 lt_cv_dlopen_libs= 11408 lt_cv_dlopen_self=yes 11409 ;; 11410 11411 mingw* | pw32* | cegcc*) 11412 lt_cv_dlopen="LoadLibrary" 11413 lt_cv_dlopen_libs= 11414 ;; 11415 11416 cygwin*) 11417 lt_cv_dlopen="dlopen" 11418 lt_cv_dlopen_libs= 11419 ;; 11420 11421 darwin*) 11422 # if libdl is installed we need to link against it 11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11424$as_echo_n "checking for dlopen in -ldl... " >&6; } 11425if ${ac_cv_lib_dl_dlopen+:} false; then : 11426 $as_echo_n "(cached) " >&6 11427else 11428 ac_check_lib_save_LIBS=$LIBS 11429LIBS="-ldl $LIBS" 11430cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11431/* end confdefs.h. */ 11432 11433/* Override any GCC internal prototype to avoid an error. 11434 Use char because int might match the return type of a GCC 11435 builtin and then its argument prototype would still apply. */ 11436#ifdef __cplusplus 11437extern "C" 11438#endif 11439char dlopen (); 11440int 11441main () 11442{ 11443return dlopen (); 11444 ; 11445 return 0; 11446} 11447_ACEOF 11448if ac_fn_c_try_link "$LINENO"; then : 11449 ac_cv_lib_dl_dlopen=yes 11450else 11451 ac_cv_lib_dl_dlopen=no 11452fi 11453rm -f core conftest.err conftest.$ac_objext \ 11454 conftest$ac_exeext conftest.$ac_ext 11455LIBS=$ac_check_lib_save_LIBS 11456fi 11457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11458$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11459if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11460 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11461else 11462 11463 lt_cv_dlopen="dyld" 11464 lt_cv_dlopen_libs= 11465 lt_cv_dlopen_self=yes 11466 11467fi 11468 11469 ;; 11470 11471 *) 11472 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11473if test "x$ac_cv_func_shl_load" = xyes; then : 11474 lt_cv_dlopen="shl_load" 11475else 11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11477$as_echo_n "checking for shl_load in -ldld... " >&6; } 11478if ${ac_cv_lib_dld_shl_load+:} false; then : 11479 $as_echo_n "(cached) " >&6 11480else 11481 ac_check_lib_save_LIBS=$LIBS 11482LIBS="-ldld $LIBS" 11483cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11484/* end confdefs.h. */ 11485 11486/* Override any GCC internal prototype to avoid an error. 11487 Use char because int might match the return type of a GCC 11488 builtin and then its argument prototype would still apply. */ 11489#ifdef __cplusplus 11490extern "C" 11491#endif 11492char shl_load (); 11493int 11494main () 11495{ 11496return shl_load (); 11497 ; 11498 return 0; 11499} 11500_ACEOF 11501if ac_fn_c_try_link "$LINENO"; then : 11502 ac_cv_lib_dld_shl_load=yes 11503else 11504 ac_cv_lib_dld_shl_load=no 11505fi 11506rm -f core conftest.err conftest.$ac_objext \ 11507 conftest$ac_exeext conftest.$ac_ext 11508LIBS=$ac_check_lib_save_LIBS 11509fi 11510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11511$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11512if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11513 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11514else 11515 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11516if test "x$ac_cv_func_dlopen" = xyes; then : 11517 lt_cv_dlopen="dlopen" 11518else 11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11520$as_echo_n "checking for dlopen in -ldl... " >&6; } 11521if ${ac_cv_lib_dl_dlopen+:} false; then : 11522 $as_echo_n "(cached) " >&6 11523else 11524 ac_check_lib_save_LIBS=$LIBS 11525LIBS="-ldl $LIBS" 11526cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11527/* end confdefs.h. */ 11528 11529/* Override any GCC internal prototype to avoid an error. 11530 Use char because int might match the return type of a GCC 11531 builtin and then its argument prototype would still apply. */ 11532#ifdef __cplusplus 11533extern "C" 11534#endif 11535char dlopen (); 11536int 11537main () 11538{ 11539return dlopen (); 11540 ; 11541 return 0; 11542} 11543_ACEOF 11544if ac_fn_c_try_link "$LINENO"; then : 11545 ac_cv_lib_dl_dlopen=yes 11546else 11547 ac_cv_lib_dl_dlopen=no 11548fi 11549rm -f core conftest.err conftest.$ac_objext \ 11550 conftest$ac_exeext conftest.$ac_ext 11551LIBS=$ac_check_lib_save_LIBS 11552fi 11553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11554$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11555if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11556 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11557else 11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11559$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11560if ${ac_cv_lib_svld_dlopen+:} false; then : 11561 $as_echo_n "(cached) " >&6 11562else 11563 ac_check_lib_save_LIBS=$LIBS 11564LIBS="-lsvld $LIBS" 11565cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11566/* end confdefs.h. */ 11567 11568/* Override any GCC internal prototype to avoid an error. 11569 Use char because int might match the return type of a GCC 11570 builtin and then its argument prototype would still apply. */ 11571#ifdef __cplusplus 11572extern "C" 11573#endif 11574char dlopen (); 11575int 11576main () 11577{ 11578return dlopen (); 11579 ; 11580 return 0; 11581} 11582_ACEOF 11583if ac_fn_c_try_link "$LINENO"; then : 11584 ac_cv_lib_svld_dlopen=yes 11585else 11586 ac_cv_lib_svld_dlopen=no 11587fi 11588rm -f core conftest.err conftest.$ac_objext \ 11589 conftest$ac_exeext conftest.$ac_ext 11590LIBS=$ac_check_lib_save_LIBS 11591fi 11592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11593$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11594if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11595 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11596else 11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11598$as_echo_n "checking for dld_link in -ldld... " >&6; } 11599if ${ac_cv_lib_dld_dld_link+:} false; then : 11600 $as_echo_n "(cached) " >&6 11601else 11602 ac_check_lib_save_LIBS=$LIBS 11603LIBS="-ldld $LIBS" 11604cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11605/* end confdefs.h. */ 11606 11607/* Override any GCC internal prototype to avoid an error. 11608 Use char because int might match the return type of a GCC 11609 builtin and then its argument prototype would still apply. */ 11610#ifdef __cplusplus 11611extern "C" 11612#endif 11613char dld_link (); 11614int 11615main () 11616{ 11617return dld_link (); 11618 ; 11619 return 0; 11620} 11621_ACEOF 11622if ac_fn_c_try_link "$LINENO"; then : 11623 ac_cv_lib_dld_dld_link=yes 11624else 11625 ac_cv_lib_dld_dld_link=no 11626fi 11627rm -f core conftest.err conftest.$ac_objext \ 11628 conftest$ac_exeext conftest.$ac_ext 11629LIBS=$ac_check_lib_save_LIBS 11630fi 11631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11632$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11633if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11634 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11635fi 11636 11637 11638fi 11639 11640 11641fi 11642 11643 11644fi 11645 11646 11647fi 11648 11649 11650fi 11651 11652 ;; 11653 esac 11654 11655 if test "x$lt_cv_dlopen" != xno; then 11656 enable_dlopen=yes 11657 else 11658 enable_dlopen=no 11659 fi 11660 11661 case $lt_cv_dlopen in 11662 dlopen) 11663 save_CPPFLAGS="$CPPFLAGS" 11664 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11665 11666 save_LDFLAGS="$LDFLAGS" 11667 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11668 11669 save_LIBS="$LIBS" 11670 LIBS="$lt_cv_dlopen_libs $LIBS" 11671 11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11673$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11674if ${lt_cv_dlopen_self+:} false; then : 11675 $as_echo_n "(cached) " >&6 11676else 11677 if test "$cross_compiling" = yes; then : 11678 lt_cv_dlopen_self=cross 11679else 11680 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11681 lt_status=$lt_dlunknown 11682 cat > conftest.$ac_ext <<_LT_EOF 11683#line $LINENO "configure" 11684#include "confdefs.h" 11685 11686#if HAVE_DLFCN_H 11687#include <dlfcn.h> 11688#endif 11689 11690#include <stdio.h> 11691 11692#ifdef RTLD_GLOBAL 11693# define LT_DLGLOBAL RTLD_GLOBAL 11694#else 11695# ifdef DL_GLOBAL 11696# define LT_DLGLOBAL DL_GLOBAL 11697# else 11698# define LT_DLGLOBAL 0 11699# endif 11700#endif 11701 11702/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11703 find out it does not work in some platform. */ 11704#ifndef LT_DLLAZY_OR_NOW 11705# ifdef RTLD_LAZY 11706# define LT_DLLAZY_OR_NOW RTLD_LAZY 11707# else 11708# ifdef DL_LAZY 11709# define LT_DLLAZY_OR_NOW DL_LAZY 11710# else 11711# ifdef RTLD_NOW 11712# define LT_DLLAZY_OR_NOW RTLD_NOW 11713# else 11714# ifdef DL_NOW 11715# define LT_DLLAZY_OR_NOW DL_NOW 11716# else 11717# define LT_DLLAZY_OR_NOW 0 11718# endif 11719# endif 11720# endif 11721# endif 11722#endif 11723 11724/* When -fvisbility=hidden is used, assume the code has been annotated 11725 correspondingly for the symbols needed. */ 11726#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11727int fnord () __attribute__((visibility("default"))); 11728#endif 11729 11730int fnord () { return 42; } 11731int main () 11732{ 11733 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11734 int status = $lt_dlunknown; 11735 11736 if (self) 11737 { 11738 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11739 else 11740 { 11741 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11742 else puts (dlerror ()); 11743 } 11744 /* dlclose (self); */ 11745 } 11746 else 11747 puts (dlerror ()); 11748 11749 return status; 11750} 11751_LT_EOF 11752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11753 (eval $ac_link) 2>&5 11754 ac_status=$? 11755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11756 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11757 (./conftest; exit; ) >&5 2>/dev/null 11758 lt_status=$? 11759 case x$lt_status in 11760 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11761 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11762 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11763 esac 11764 else : 11765 # compilation failed 11766 lt_cv_dlopen_self=no 11767 fi 11768fi 11769rm -fr conftest* 11770 11771 11772fi 11773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11774$as_echo "$lt_cv_dlopen_self" >&6; } 11775 11776 if test "x$lt_cv_dlopen_self" = xyes; then 11777 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11779$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11780if ${lt_cv_dlopen_self_static+:} false; then : 11781 $as_echo_n "(cached) " >&6 11782else 11783 if test "$cross_compiling" = yes; then : 11784 lt_cv_dlopen_self_static=cross 11785else 11786 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11787 lt_status=$lt_dlunknown 11788 cat > conftest.$ac_ext <<_LT_EOF 11789#line $LINENO "configure" 11790#include "confdefs.h" 11791 11792#if HAVE_DLFCN_H 11793#include <dlfcn.h> 11794#endif 11795 11796#include <stdio.h> 11797 11798#ifdef RTLD_GLOBAL 11799# define LT_DLGLOBAL RTLD_GLOBAL 11800#else 11801# ifdef DL_GLOBAL 11802# define LT_DLGLOBAL DL_GLOBAL 11803# else 11804# define LT_DLGLOBAL 0 11805# endif 11806#endif 11807 11808/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11809 find out it does not work in some platform. */ 11810#ifndef LT_DLLAZY_OR_NOW 11811# ifdef RTLD_LAZY 11812# define LT_DLLAZY_OR_NOW RTLD_LAZY 11813# else 11814# ifdef DL_LAZY 11815# define LT_DLLAZY_OR_NOW DL_LAZY 11816# else 11817# ifdef RTLD_NOW 11818# define LT_DLLAZY_OR_NOW RTLD_NOW 11819# else 11820# ifdef DL_NOW 11821# define LT_DLLAZY_OR_NOW DL_NOW 11822# else 11823# define LT_DLLAZY_OR_NOW 0 11824# endif 11825# endif 11826# endif 11827# endif 11828#endif 11829 11830/* When -fvisbility=hidden is used, assume the code has been annotated 11831 correspondingly for the symbols needed. */ 11832#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11833int fnord () __attribute__((visibility("default"))); 11834#endif 11835 11836int fnord () { return 42; } 11837int main () 11838{ 11839 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11840 int status = $lt_dlunknown; 11841 11842 if (self) 11843 { 11844 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11845 else 11846 { 11847 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11848 else puts (dlerror ()); 11849 } 11850 /* dlclose (self); */ 11851 } 11852 else 11853 puts (dlerror ()); 11854 11855 return status; 11856} 11857_LT_EOF 11858 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11859 (eval $ac_link) 2>&5 11860 ac_status=$? 11861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11862 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11863 (./conftest; exit; ) >&5 2>/dev/null 11864 lt_status=$? 11865 case x$lt_status in 11866 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11867 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11868 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11869 esac 11870 else : 11871 # compilation failed 11872 lt_cv_dlopen_self_static=no 11873 fi 11874fi 11875rm -fr conftest* 11876 11877 11878fi 11879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11880$as_echo "$lt_cv_dlopen_self_static" >&6; } 11881 fi 11882 11883 CPPFLAGS="$save_CPPFLAGS" 11884 LDFLAGS="$save_LDFLAGS" 11885 LIBS="$save_LIBS" 11886 ;; 11887 esac 11888 11889 case $lt_cv_dlopen_self in 11890 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11891 *) enable_dlopen_self=unknown ;; 11892 esac 11893 11894 case $lt_cv_dlopen_self_static in 11895 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11896 *) enable_dlopen_self_static=unknown ;; 11897 esac 11898fi 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916striplib= 11917old_striplib= 11918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11919$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11920if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11921 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11922 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11924$as_echo "yes" >&6; } 11925else 11926# FIXME - insert some real tests, host_os isn't really good enough 11927 case $host_os in 11928 darwin*) 11929 if test -n "$STRIP" ; then 11930 striplib="$STRIP -x" 11931 old_striplib="$STRIP -S" 11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11933$as_echo "yes" >&6; } 11934 else 11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11936$as_echo "no" >&6; } 11937 fi 11938 ;; 11939 *) 11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11941$as_echo "no" >&6; } 11942 ;; 11943 esac 11944fi 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 # Report which library types will actually be built 11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11959$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11961$as_echo "$can_build_shared" >&6; } 11962 11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11964$as_echo_n "checking whether to build shared libraries... " >&6; } 11965 test "$can_build_shared" = "no" && enable_shared=no 11966 11967 # On AIX, shared libraries and static libraries use the same namespace, and 11968 # are all built from PIC. 11969 case $host_os in 11970 aix3*) 11971 test "$enable_shared" = yes && enable_static=no 11972 if test -n "$RANLIB"; then 11973 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11974 postinstall_cmds='$RANLIB $lib' 11975 fi 11976 ;; 11977 11978 aix[4-9]*) 11979 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11980 test "$enable_shared" = yes && enable_static=no 11981 fi 11982 ;; 11983 esac 11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11985$as_echo "$enable_shared" >&6; } 11986 11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11988$as_echo_n "checking whether to build static libraries... " >&6; } 11989 # Make sure either enable_shared or enable_static is yes. 11990 test "$enable_shared" = yes || enable_static=yes 11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11992$as_echo "$enable_static" >&6; } 11993 11994 11995 11996 11997fi 11998ac_ext=c 11999ac_cpp='$CPP $CPPFLAGS' 12000ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12001ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12002ac_compiler_gnu=$ac_cv_c_compiler_gnu 12003 12004CC="$lt_save_CC" 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 ac_config_commands="$ac_config_commands libtool" 12021 12022 12023 12024 12025# Only expand once: 12026 12027 12028 12029# Checks for libraries. 12030 12031libxml_min_version=2.6.8 12032raptor_min_version=2.0.0 12033libcurl_min_version=7.10.0 12034 12035# Checks for header files. 12036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 12037$as_echo_n "checking for ANSI C header files... " >&6; } 12038if ${ac_cv_header_stdc+:} false; then : 12039 $as_echo_n "(cached) " >&6 12040else 12041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12042/* end confdefs.h. */ 12043#include <stdlib.h> 12044#include <stdarg.h> 12045#include <string.h> 12046#include <float.h> 12047 12048int 12049main () 12050{ 12051 12052 ; 12053 return 0; 12054} 12055_ACEOF 12056if ac_fn_c_try_compile "$LINENO"; then : 12057 ac_cv_header_stdc=yes 12058else 12059 ac_cv_header_stdc=no 12060fi 12061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12062 12063if test $ac_cv_header_stdc = yes; then 12064 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 12065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12066/* end confdefs.h. */ 12067#include <string.h> 12068 12069_ACEOF 12070if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12071 $EGREP "memchr" >/dev/null 2>&1; then : 12072 12073else 12074 ac_cv_header_stdc=no 12075fi 12076rm -f conftest* 12077 12078fi 12079 12080if test $ac_cv_header_stdc = yes; then 12081 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 12082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12083/* end confdefs.h. */ 12084#include <stdlib.h> 12085 12086_ACEOF 12087if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12088 $EGREP "free" >/dev/null 2>&1; then : 12089 12090else 12091 ac_cv_header_stdc=no 12092fi 12093rm -f conftest* 12094 12095fi 12096 12097if test $ac_cv_header_stdc = yes; then 12098 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 12099 if test "$cross_compiling" = yes; then : 12100 : 12101else 12102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12103/* end confdefs.h. */ 12104#include <ctype.h> 12105#include <stdlib.h> 12106#if ((' ' & 0x0FF) == 0x020) 12107# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 12108# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 12109#else 12110# define ISLOWER(c) \ 12111 (('a' <= (c) && (c) <= 'i') \ 12112 || ('j' <= (c) && (c) <= 'r') \ 12113 || ('s' <= (c) && (c) <= 'z')) 12114# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 12115#endif 12116 12117#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 12118int 12119main () 12120{ 12121 int i; 12122 for (i = 0; i < 256; i++) 12123 if (XOR (islower (i), ISLOWER (i)) 12124 || toupper (i) != TOUPPER (i)) 12125 return 2; 12126 return 0; 12127} 12128_ACEOF 12129if ac_fn_c_try_run "$LINENO"; then : 12130 12131else 12132 ac_cv_header_stdc=no 12133fi 12134rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12135 conftest.$ac_objext conftest.beam conftest.$ac_ext 12136fi 12137 12138fi 12139fi 12140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 12141$as_echo "$ac_cv_header_stdc" >&6; } 12142if test $ac_cv_header_stdc = yes; then 12143 12144$as_echo "#define STDC_HEADERS 1" >>confdefs.h 12145 12146fi 12147 12148for ac_header in errno.h getopt.h stdlib.h stdint.h time.h string.h unistd.h 12149do : 12150 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12151ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 12152if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12153 cat >>confdefs.h <<_ACEOF 12154#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12155_ACEOF 12156 12157fi 12158 12159done 12160 12161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 12162$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 12163if ${ac_cv_header_time+:} false; then : 12164 $as_echo_n "(cached) " >&6 12165else 12166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12167/* end confdefs.h. */ 12168#include <sys/types.h> 12169#include <sys/time.h> 12170#include <time.h> 12171 12172int 12173main () 12174{ 12175if ((struct tm *) 0) 12176return 0; 12177 ; 12178 return 0; 12179} 12180_ACEOF 12181if ac_fn_c_try_compile "$LINENO"; then : 12182 ac_cv_header_time=yes 12183else 12184 ac_cv_header_time=no 12185fi 12186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12187fi 12188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 12189$as_echo "$ac_cv_header_time" >&6; } 12190if test $ac_cv_header_time = yes; then 12191 12192$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 12193 12194fi 12195 12196 12197# Checks for typedefs, structures, and compiler characteristics. 12198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 12199$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 12200if ${ac_cv_c_const+:} false; then : 12201 $as_echo_n "(cached) " >&6 12202else 12203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12204/* end confdefs.h. */ 12205 12206int 12207main () 12208{ 12209 12210#ifndef __cplusplus 12211 /* Ultrix mips cc rejects this sort of thing. */ 12212 typedef int charset[2]; 12213 const charset cs = { 0, 0 }; 12214 /* SunOS 4.1.1 cc rejects this. */ 12215 char const *const *pcpcc; 12216 char **ppc; 12217 /* NEC SVR4.0.2 mips cc rejects this. */ 12218 struct point {int x, y;}; 12219 static struct point const zero = {0,0}; 12220 /* AIX XL C 1.02.0.0 rejects this. 12221 It does not let you subtract one const X* pointer from another in 12222 an arm of an if-expression whose if-part is not a constant 12223 expression */ 12224 const char *g = "string"; 12225 pcpcc = &g + (g ? g-g : 0); 12226 /* HPUX 7.0 cc rejects these. */ 12227 ++pcpcc; 12228 ppc = (char**) pcpcc; 12229 pcpcc = (char const *const *) ppc; 12230 { /* SCO 3.2v4 cc rejects this sort of thing. */ 12231 char tx; 12232 char *t = &tx; 12233 char const *s = 0 ? (char *) 0 : (char const *) 0; 12234 12235 *t++ = 0; 12236 if (s) return 0; 12237 } 12238 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 12239 int x[] = {25, 17}; 12240 const int *foo = &x[0]; 12241 ++foo; 12242 } 12243 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 12244 typedef const int *iptr; 12245 iptr p = 0; 12246 ++p; 12247 } 12248 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 12249 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 12250 struct s { int j; const int *ap[3]; } bx; 12251 struct s *b = &bx; b->j = 5; 12252 } 12253 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 12254 const int foo = 10; 12255 if (!foo) return 0; 12256 } 12257 return !cs[0] && !zero.x; 12258#endif 12259 12260 ; 12261 return 0; 12262} 12263_ACEOF 12264if ac_fn_c_try_compile "$LINENO"; then : 12265 ac_cv_c_const=yes 12266else 12267 ac_cv_c_const=no 12268fi 12269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12270fi 12271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 12272$as_echo "$ac_cv_c_const" >&6; } 12273if test $ac_cv_c_const = no; then 12274 12275$as_echo "#define const /**/" >>confdefs.h 12276 12277fi 12278 12279ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 12280if test "x$ac_cv_type_size_t" = xyes; then : 12281 12282else 12283 12284cat >>confdefs.h <<_ACEOF 12285#define size_t unsigned int 12286_ACEOF 12287 12288fi 12289 12290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 12291$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 12292if ${ac_cv_struct_tm+:} false; then : 12293 $as_echo_n "(cached) " >&6 12294else 12295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12296/* end confdefs.h. */ 12297#include <sys/types.h> 12298#include <time.h> 12299 12300int 12301main () 12302{ 12303struct tm tm; 12304 int *p = &tm.tm_sec; 12305 return !p; 12306 ; 12307 return 0; 12308} 12309_ACEOF 12310if ac_fn_c_try_compile "$LINENO"; then : 12311 ac_cv_struct_tm=time.h 12312else 12313 ac_cv_struct_tm=sys/time.h 12314fi 12315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12316fi 12317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 12318$as_echo "$ac_cv_struct_tm" >&6; } 12319if test $ac_cv_struct_tm = sys/time.h; then 12320 12321$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 12322 12323fi 12324 12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 12326$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 12327if ${ac_cv_c_bigendian+:} false; then : 12328 $as_echo_n "(cached) " >&6 12329else 12330 ac_cv_c_bigendian=unknown 12331 # See if we're dealing with a universal compiler. 12332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12333/* end confdefs.h. */ 12334#ifndef __APPLE_CC__ 12335 not a universal capable compiler 12336 #endif 12337 typedef int dummy; 12338 12339_ACEOF 12340if ac_fn_c_try_compile "$LINENO"; then : 12341 12342 # Check for potential -arch flags. It is not universal unless 12343 # there are at least two -arch flags with different values. 12344 ac_arch= 12345 ac_prev= 12346 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 12347 if test -n "$ac_prev"; then 12348 case $ac_word in 12349 i?86 | x86_64 | ppc | ppc64) 12350 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 12351 ac_arch=$ac_word 12352 else 12353 ac_cv_c_bigendian=universal 12354 break 12355 fi 12356 ;; 12357 esac 12358 ac_prev= 12359 elif test "x$ac_word" = "x-arch"; then 12360 ac_prev=arch 12361 fi 12362 done 12363fi 12364rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12365 if test $ac_cv_c_bigendian = unknown; then 12366 # See if sys/param.h defines the BYTE_ORDER macro. 12367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12368/* end confdefs.h. */ 12369#include <sys/types.h> 12370 #include <sys/param.h> 12371 12372int 12373main () 12374{ 12375#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 12376 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 12377 && LITTLE_ENDIAN) 12378 bogus endian macros 12379 #endif 12380 12381 ; 12382 return 0; 12383} 12384_ACEOF 12385if ac_fn_c_try_compile "$LINENO"; then : 12386 # It does; now see whether it defined to BIG_ENDIAN or not. 12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12388/* end confdefs.h. */ 12389#include <sys/types.h> 12390 #include <sys/param.h> 12391 12392int 12393main () 12394{ 12395#if BYTE_ORDER != BIG_ENDIAN 12396 not big endian 12397 #endif 12398 12399 ; 12400 return 0; 12401} 12402_ACEOF 12403if ac_fn_c_try_compile "$LINENO"; then : 12404 ac_cv_c_bigendian=yes 12405else 12406 ac_cv_c_bigendian=no 12407fi 12408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12409fi 12410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12411 fi 12412 if test $ac_cv_c_bigendian = unknown; then 12413 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12415/* end confdefs.h. */ 12416#include <limits.h> 12417 12418int 12419main () 12420{ 12421#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 12422 bogus endian macros 12423 #endif 12424 12425 ; 12426 return 0; 12427} 12428_ACEOF 12429if ac_fn_c_try_compile "$LINENO"; then : 12430 # It does; now see whether it defined to _BIG_ENDIAN or not. 12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12432/* end confdefs.h. */ 12433#include <limits.h> 12434 12435int 12436main () 12437{ 12438#ifndef _BIG_ENDIAN 12439 not big endian 12440 #endif 12441 12442 ; 12443 return 0; 12444} 12445_ACEOF 12446if ac_fn_c_try_compile "$LINENO"; then : 12447 ac_cv_c_bigendian=yes 12448else 12449 ac_cv_c_bigendian=no 12450fi 12451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12452fi 12453rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12454 fi 12455 if test $ac_cv_c_bigendian = unknown; then 12456 # Compile a test program. 12457 if test "$cross_compiling" = yes; then : 12458 # Try to guess by grepping values from an object file. 12459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12460/* end confdefs.h. */ 12461short int ascii_mm[] = 12462 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 12463 short int ascii_ii[] = 12464 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 12465 int use_ascii (int i) { 12466 return ascii_mm[i] + ascii_ii[i]; 12467 } 12468 short int ebcdic_ii[] = 12469 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 12470 short int ebcdic_mm[] = 12471 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 12472 int use_ebcdic (int i) { 12473 return ebcdic_mm[i] + ebcdic_ii[i]; 12474 } 12475 extern int foo; 12476 12477int 12478main () 12479{ 12480return use_ascii (foo) == use_ebcdic (foo); 12481 ; 12482 return 0; 12483} 12484_ACEOF 12485if ac_fn_c_try_compile "$LINENO"; then : 12486 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 12487 ac_cv_c_bigendian=yes 12488 fi 12489 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 12490 if test "$ac_cv_c_bigendian" = unknown; then 12491 ac_cv_c_bigendian=no 12492 else 12493 # finding both strings is unlikely to happen, but who knows? 12494 ac_cv_c_bigendian=unknown 12495 fi 12496 fi 12497fi 12498rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12499else 12500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12501/* end confdefs.h. */ 12502$ac_includes_default 12503int 12504main () 12505{ 12506 12507 /* Are we little or big endian? From Harbison&Steele. */ 12508 union 12509 { 12510 long int l; 12511 char c[sizeof (long int)]; 12512 } u; 12513 u.l = 1; 12514 return u.c[sizeof (long int) - 1] == 1; 12515 12516 ; 12517 return 0; 12518} 12519_ACEOF 12520if ac_fn_c_try_run "$LINENO"; then : 12521 ac_cv_c_bigendian=no 12522else 12523 ac_cv_c_bigendian=yes 12524fi 12525rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12526 conftest.$ac_objext conftest.beam conftest.$ac_ext 12527fi 12528 12529 fi 12530fi 12531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 12532$as_echo "$ac_cv_c_bigendian" >&6; } 12533 case $ac_cv_c_bigendian in #( 12534 yes) 12535 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 12536;; #( 12537 no) 12538 ;; #( 12539 universal) 12540 12541$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 12542 12543 ;; #( 12544 *) 12545 as_fn_error $? "unknown endianness 12546 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 12547 esac 12548 12549 12550ac_fn_c_check_type "$LINENO" "u32" "ac_cv_type_u32" "$ac_includes_default" 12551if test "x$ac_cv_type_u32" = xyes; then : 12552 12553fi 12554 12555# The cast to long int works around a bug in the HP C Compiler 12556# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12557# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12558# This bug is HP SR number 8606223364. 12559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5 12560$as_echo_n "checking size of unsigned int... " >&6; } 12561if ${ac_cv_sizeof_unsigned_int+:} false; then : 12562 $as_echo_n "(cached) " >&6 12563else 12564 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then : 12565 12566else 12567 if test "$ac_cv_type_unsigned_int" = yes; then 12568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12569$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12570as_fn_error 77 "cannot compute sizeof (unsigned int) 12571See \`config.log' for more details" "$LINENO" 5; } 12572 else 12573 ac_cv_sizeof_unsigned_int=0 12574 fi 12575fi 12576 12577fi 12578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5 12579$as_echo "$ac_cv_sizeof_unsigned_int" >&6; } 12580 12581 12582 12583cat >>confdefs.h <<_ACEOF 12584#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int 12585_ACEOF 12586 12587 12588# The cast to long int works around a bug in the HP C Compiler 12589# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12590# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12591# This bug is HP SR number 8606223364. 12592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5 12593$as_echo_n "checking size of unsigned long... " >&6; } 12594if ${ac_cv_sizeof_unsigned_long+:} false; then : 12595 $as_echo_n "(cached) " >&6 12596else 12597 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then : 12598 12599else 12600 if test "$ac_cv_type_unsigned_long" = yes; then 12601 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12602$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12603as_fn_error 77 "cannot compute sizeof (unsigned long) 12604See \`config.log' for more details" "$LINENO" 5; } 12605 else 12606 ac_cv_sizeof_unsigned_long=0 12607 fi 12608fi 12609 12610fi 12611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5 12612$as_echo "$ac_cv_sizeof_unsigned_long" >&6; } 12613 12614 12615 12616cat >>confdefs.h <<_ACEOF 12617#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long 12618_ACEOF 12619 12620 12621 12622# Checks for library functions. 12623for ac_header in stdlib.h 12624do : 12625 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 12626if test "x$ac_cv_header_stdlib_h" = xyes; then : 12627 cat >>confdefs.h <<_ACEOF 12628#define HAVE_STDLIB_H 1 12629_ACEOF 12630 12631fi 12632 12633done 12634 12635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 12636$as_echo_n "checking for GNU libc compatible malloc... " >&6; } 12637if ${ac_cv_func_malloc_0_nonnull+:} false; then : 12638 $as_echo_n "(cached) " >&6 12639else 12640 if test "$cross_compiling" = yes; then : 12641 ac_cv_func_malloc_0_nonnull=no 12642else 12643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12644/* end confdefs.h. */ 12645#if defined STDC_HEADERS || defined HAVE_STDLIB_H 12646# include <stdlib.h> 12647#else 12648char *malloc (); 12649#endif 12650 12651int 12652main () 12653{ 12654return ! malloc (0); 12655 ; 12656 return 0; 12657} 12658_ACEOF 12659if ac_fn_c_try_run "$LINENO"; then : 12660 ac_cv_func_malloc_0_nonnull=yes 12661else 12662 ac_cv_func_malloc_0_nonnull=no 12663fi 12664rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12665 conftest.$ac_objext conftest.beam conftest.$ac_ext 12666fi 12667 12668fi 12669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 12670$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } 12671if test $ac_cv_func_malloc_0_nonnull = yes; then : 12672 12673$as_echo "#define HAVE_MALLOC 1" >>confdefs.h 12674 12675else 12676 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h 12677 12678 case " $LIBOBJS " in 12679 *" malloc.$ac_objext "* ) ;; 12680 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" 12681 ;; 12682esac 12683 12684 12685$as_echo "#define malloc rpl_malloc" >>confdefs.h 12686 12687fi 12688 12689 12690for ac_header in stdlib.h 12691do : 12692 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 12693if test "x$ac_cv_header_stdlib_h" = xyes; then : 12694 cat >>confdefs.h <<_ACEOF 12695#define HAVE_STDLIB_H 1 12696_ACEOF 12697 12698fi 12699 12700done 12701 12702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 12703$as_echo_n "checking for GNU libc compatible realloc... " >&6; } 12704if ${ac_cv_func_realloc_0_nonnull+:} false; then : 12705 $as_echo_n "(cached) " >&6 12706else 12707 if test "$cross_compiling" = yes; then : 12708 ac_cv_func_realloc_0_nonnull=no 12709else 12710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12711/* end confdefs.h. */ 12712#if defined STDC_HEADERS || defined HAVE_STDLIB_H 12713# include <stdlib.h> 12714#else 12715char *realloc (); 12716#endif 12717 12718int 12719main () 12720{ 12721return ! realloc (0, 0); 12722 ; 12723 return 0; 12724} 12725_ACEOF 12726if ac_fn_c_try_run "$LINENO"; then : 12727 ac_cv_func_realloc_0_nonnull=yes 12728else 12729 ac_cv_func_realloc_0_nonnull=no 12730fi 12731rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12732 conftest.$ac_objext conftest.beam conftest.$ac_ext 12733fi 12734 12735fi 12736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 12737$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } 12738if test $ac_cv_func_realloc_0_nonnull = yes; then : 12739 12740$as_echo "#define HAVE_REALLOC 1" >>confdefs.h 12741 12742else 12743 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h 12744 12745 case " $LIBOBJS " in 12746 *" realloc.$ac_objext "* ) ;; 12747 *) LIBOBJS="$LIBOBJS realloc.$ac_objext" 12748 ;; 12749esac 12750 12751 12752$as_echo "#define realloc rpl_realloc" >>confdefs.h 12753 12754fi 12755 12756 12757for ac_func in strftime 12758do : 12759 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" 12760if test "x$ac_cv_func_strftime" = xyes; then : 12761 cat >>confdefs.h <<_ACEOF 12762#define HAVE_STRFTIME 1 12763_ACEOF 12764 12765else 12766 # strftime is in -lintl on SCO UNIX. 12767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 12768$as_echo_n "checking for strftime in -lintl... " >&6; } 12769if ${ac_cv_lib_intl_strftime+:} false; then : 12770 $as_echo_n "(cached) " >&6 12771else 12772 ac_check_lib_save_LIBS=$LIBS 12773LIBS="-lintl $LIBS" 12774cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12775/* end confdefs.h. */ 12776 12777/* Override any GCC internal prototype to avoid an error. 12778 Use char because int might match the return type of a GCC 12779 builtin and then its argument prototype would still apply. */ 12780#ifdef __cplusplus 12781extern "C" 12782#endif 12783char strftime (); 12784int 12785main () 12786{ 12787return strftime (); 12788 ; 12789 return 0; 12790} 12791_ACEOF 12792if ac_fn_c_try_link "$LINENO"; then : 12793 ac_cv_lib_intl_strftime=yes 12794else 12795 ac_cv_lib_intl_strftime=no 12796fi 12797rm -f core conftest.err conftest.$ac_objext \ 12798 conftest$ac_exeext conftest.$ac_ext 12799LIBS=$ac_check_lib_save_LIBS 12800fi 12801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 12802$as_echo "$ac_cv_lib_intl_strftime" >&6; } 12803if test "x$ac_cv_lib_intl_strftime" = xyes; then : 12804 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h 12805 12806LIBS="-lintl $LIBS" 12807fi 12808 12809fi 12810done 12811 12812for ac_func in vprintf 12813do : 12814 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 12815if test "x$ac_cv_func_vprintf" = xyes; then : 12816 cat >>confdefs.h <<_ACEOF 12817#define HAVE_VPRINTF 1 12818_ACEOF 12819 12820ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 12821if test "x$ac_cv_func__doprnt" = xyes; then : 12822 12823$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 12824 12825fi 12826 12827fi 12828done 12829 12830 12831for ac_func in getopt getopt_long gettimeofday memset strdup usleep vsnprintf 12832do : 12833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12834ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 12835if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 12836 cat >>confdefs.h <<_ACEOF 12837#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12838_ACEOF 12839 12840fi 12841done 12842 12843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5 12844$as_echo_n "checking for library containing nanosleep... " >&6; } 12845if ${ac_cv_search_nanosleep+:} false; then : 12846 $as_echo_n "(cached) " >&6 12847else 12848 ac_func_search_save_LIBS=$LIBS 12849cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12850/* end confdefs.h. */ 12851 12852/* Override any GCC internal prototype to avoid an error. 12853 Use char because int might match the return type of a GCC 12854 builtin and then its argument prototype would still apply. */ 12855#ifdef __cplusplus 12856extern "C" 12857#endif 12858char nanosleep (); 12859int 12860main () 12861{ 12862return nanosleep (); 12863 ; 12864 return 0; 12865} 12866_ACEOF 12867for ac_lib in '' rt posix4; do 12868 if test -z "$ac_lib"; then 12869 ac_res="none required" 12870 else 12871 ac_res=-l$ac_lib 12872 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 12873 fi 12874 if ac_fn_c_try_link "$LINENO"; then : 12875 ac_cv_search_nanosleep=$ac_res 12876fi 12877rm -f core conftest.err conftest.$ac_objext \ 12878 conftest$ac_exeext 12879 if ${ac_cv_search_nanosleep+:} false; then : 12880 break 12881fi 12882done 12883if ${ac_cv_search_nanosleep+:} false; then : 12884 12885else 12886 ac_cv_search_nanosleep=no 12887fi 12888rm conftest.$ac_ext 12889LIBS=$ac_func_search_save_LIBS 12890fi 12891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5 12892$as_echo "$ac_cv_search_nanosleep" >&6; } 12893ac_res=$ac_cv_search_nanosleep 12894if test "$ac_res" != no; then : 12895 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 12896 12897$as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h 12898 12899else 12900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nanosleep was not found" >&5 12901$as_echo "$as_me: WARNING: nanosleep was not found" >&2;} 12902fi 12903 12904 12905 if test $ac_cv_func_getopt = no -a $ac_cv_func_getopt_long = no; then 12906 GETOPT_TRUE= 12907 GETOPT_FALSE='#' 12908else 12909 GETOPT_TRUE='#' 12910 GETOPT_FALSE= 12911fi 12912 12913 12914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether need to declare optind" >&5 12915$as_echo_n "checking whether need to declare optind... " >&6; } 12916cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12917/* end confdefs.h. */ 12918#ifdef HAVE_GETOPT_H 12919#include <getopt.h> 12920#endif 12921int 12922main () 12923{ 12924int x=optind; 12925 12926 ; 12927 return 0; 12928} 12929_ACEOF 12930if ac_fn_c_try_link "$LINENO"; then : 12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12932$as_echo "no" >&6; } 12933else 12934 12935$as_echo "#define NEED_OPTIND_DECLARATION 1" >>confdefs.h 12936 12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12938$as_echo "yes" >&6; } 12939fi 12940rm -f core conftest.err conftest.$ac_objext \ 12941 conftest$ac_exeext conftest.$ac_ext 12942 12943if test $ac_cv_func_vsnprintf = yes; then 12944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking vsnprintf has C99 compatible return value" >&5 12945$as_echo_n "checking vsnprintf has C99 compatible return value... " >&6; } 12946 if test "$cross_compiling" = yes; then : 12947 12948else 12949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12950/* end confdefs.h. */ 12951#include <stdarg.h> 12952int is_c99(char *s, ...) { 12953 char buffer[32]; 12954 va_list args; 12955 int r; 12956 va_start(args, s); 12957 r = vsnprintf(buffer, 5, s, args); 12958 va_end(args); 12959 12960 return (r == 7); 12961} 12962 12963int main(int argc, char* argv) { 12964 return is_c99("1234567"); 12965} 12966_ACEOF 12967if ac_fn_c_try_run "$LINENO"; then : 12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12969$as_echo "no" >&6; } 12970else 12971 12972$as_echo "#define HAVE_C99_VSNPRINTF 1" >>confdefs.h 12973 12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12975$as_echo "yes" >&6; } 12976fi 12977rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12978 conftest.$ac_objext conftest.beam conftest.$ac_ext 12979fi 12980 12981fi 12982 12983 12984for ac_prog in echo 12985do 12986 # Extract the first word of "$ac_prog", so it can be a program name with args. 12987set dummy $ac_prog; ac_word=$2 12988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12989$as_echo_n "checking for $ac_word... " >&6; } 12990if ${ac_cv_prog_RECHO+:} false; then : 12991 $as_echo_n "(cached) " >&6 12992else 12993 if test -n "$RECHO"; then 12994 ac_cv_prog_RECHO="$RECHO" # Let the user override the test. 12995else 12996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12997for as_dir in $PATH 12998do 12999 IFS=$as_save_IFS 13000 test -z "$as_dir" && as_dir=. 13001 for ac_exec_ext in '' $ac_executable_extensions; do 13002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13003 ac_cv_prog_RECHO="$ac_prog" 13004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13005 break 2 13006 fi 13007done 13008 done 13009IFS=$as_save_IFS 13010 13011fi 13012fi 13013RECHO=$ac_cv_prog_RECHO 13014if test -n "$RECHO"; then 13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RECHO" >&5 13016$as_echo "$RECHO" >&6; } 13017else 13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13019$as_echo "no" >&6; } 13020fi 13021 13022 13023 test -n "$RECHO" && break 13024done 13025 13026RECHO_C= 13027RECHO_N= 13028case `$RECHO -n x` in 13029 -n*) 13030 case `$RECHO 'xy\c'` in 13031 *c*) 13032 ;; 13033 xy) 13034 RECHO_C='\c' 13035 ;; 13036 esac;; 13037 *) 13038 RECHO_N='-n' 13039 ;; 13040esac 13041 13042for ac_prog in pkg-config 13043do 13044 # Extract the first word of "$ac_prog", so it can be a program name with args. 13045set dummy $ac_prog; ac_word=$2 13046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13047$as_echo_n "checking for $ac_word... " >&6; } 13048if ${ac_cv_prog_PKG_CONFIG+:} false; then : 13049 $as_echo_n "(cached) " >&6 13050else 13051 if test -n "$PKG_CONFIG"; then 13052 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test. 13053else 13054as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13055for as_dir in $PATH 13056do 13057 IFS=$as_save_IFS 13058 test -z "$as_dir" && as_dir=. 13059 for ac_exec_ext in '' $ac_executable_extensions; do 13060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13061 ac_cv_prog_PKG_CONFIG="$ac_prog" 13062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13063 break 2 13064 fi 13065done 13066 done 13067IFS=$as_save_IFS 13068 13069fi 13070fi 13071PKG_CONFIG=$ac_cv_prog_PKG_CONFIG 13072if test -n "$PKG_CONFIG"; then 13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 13074$as_echo "$PKG_CONFIG" >&6; } 13075else 13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13077$as_echo "no" >&6; } 13078fi 13079 13080 13081 test -n "$PKG_CONFIG" && break 13082done 13083 13084 13085PKG_CONFIG_REQUIRES= 13086 13087 13088LIBXML_MIN_VERSION=$libxml_min_version 13089 13090 13091 13092# Check whether --with-xml2-config was given. 13093if test "${with_xml2_config+set}" = set; then : 13094 withval=$with_xml2_config; xml2_config="$withval" 13095else 13096 xml2_config="" 13097fi 13098 13099 13100if test "X$xml2_config" != "Xno" ; then 13101 if test "X$xml2_config" != "X" ; then 13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $xml2_config" >&5 13103$as_echo_n "checking for $xml2_config... " >&6; } 13104 13105 if test -f $xml2_config ; then 13106 XML_CONFIG=$xml2_config 13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13108$as_echo "yes" >&6; } 13109 else 13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - searching PATH" >&5 13111$as_echo "no - searching PATH" >&6; } 13112 fi 13113 fi 13114 13115 if test "X$XML_CONFIG" = "X" ; then 13116 for ac_prog in xml2-config 13117do 13118 # Extract the first word of "$ac_prog", so it can be a program name with args. 13119set dummy $ac_prog; ac_word=$2 13120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13121$as_echo_n "checking for $ac_word... " >&6; } 13122if ${ac_cv_prog_XML_CONFIG+:} false; then : 13123 $as_echo_n "(cached) " >&6 13124else 13125 if test -n "$XML_CONFIG"; then 13126 ac_cv_prog_XML_CONFIG="$XML_CONFIG" # Let the user override the test. 13127else 13128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13129for as_dir in $PATH 13130do 13131 IFS=$as_save_IFS 13132 test -z "$as_dir" && as_dir=. 13133 for ac_exec_ext in '' $ac_executable_extensions; do 13134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13135 ac_cv_prog_XML_CONFIG="$ac_prog" 13136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13137 break 2 13138 fi 13139done 13140 done 13141IFS=$as_save_IFS 13142 13143fi 13144fi 13145XML_CONFIG=$ac_cv_prog_XML_CONFIG 13146if test -n "$XML_CONFIG"; then 13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CONFIG" >&5 13148$as_echo "$XML_CONFIG" >&6; } 13149else 13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13151$as_echo "no" >&6; } 13152fi 13153 13154 13155 test -n "$XML_CONFIG" && break 13156done 13157 13158 fi 13159fi 13160 13161libxml_source=no 13162if test "X$XML_CONFIG" != "X"; then 13163 oCPPFLAGS="$CPPFLAGS" 13164 oLIBS="$LIBS" 13165 13166 CPPFLAGS="`$XML_CONFIG --cflags` $CPPFLAGS" 13167 LIBS="$LIBS `$XML_CONFIG --libs`" 13168 ac_fn_c_check_func "$LINENO" "xmlCreatePushParserCtxt" "ac_cv_func_xmlCreatePushParserCtxt" 13169if test "x$ac_cv_func_xmlCreatePushParserCtxt" = xyes; then : 13170 have_xmlCreatePushParserCtxt=yes 13171else 13172 have_xmlCreatePushParserCtxt=no 13173fi 13174 13175 13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml via xml2-config" >&5 13177$as_echo_n "checking for libxml via xml2-config... " >&6; } 13178 if test $have_xmlCreatePushParserCtxt = yes; then 13179 libxml_source="xml2-config" 13180 LIBXML_VERSION=`$XML_CONFIG --version` 13181 fi 13182 CPPFLAGS="$oCPPFLAGS" 13183 LIBS="$oLIBS" 13184else 13185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml via pkg-config" >&5 13186$as_echo_n "checking for libxml via pkg-config... " >&6; } 13187 XML_CONFIG="$PKG_CONFIG libxml-2.0" 13188 if $XML_CONFIG --exists; then 13189 LIBXML_VERSION=`$XML_CONFIG --modversion 2>/dev/null` 13190 libxml_source="pkg-config" 13191 fi 13192fi 13193 13194if test "$libxml_source" != "no"; then 13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - $LIBXML_VERSION via $libxml_source" >&5 13196$as_echo "yes - $LIBXML_VERSION via $libxml_source" >&6; } 13197else 13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - not found" >&5 13199$as_echo "no - not found" >&6; } 13200 as_fn_error $? "Please install version $libxml_min_version or newer" "$LINENO" 5 13201fi 13202 13203libxml_min_version_dec=`echo $libxml_min_version | $AWK -F. '{printf("%d\n", 10000*$1 + 100*$2 + $3)};'` 13204libxml_version_dec=`echo $LIBXML_VERSION | $AWK -F. '{printf("%d\n", 10000*$1 + 100*$2 + $3)};'` 13205if test $libxml_version_dec -lt $libxml_min_version_dec; then 13206 as_fn_error $? "libxml $LIBXML_VERSION is too old - $libxml_min_version or newer required." "$LINENO" 5 13207fi 13208 13209LIBS="$LIBS `$XML_CONFIG --libs`" 13210CFLAGS="`$XML_CONFIG --cflags` $CFLAGS" 13211 13212if test $libxml_source = "pkg-config"; then 13213 if test "X$PKG_CONFIG_REQUIRES" != X; then 13214 PKG_CONFIG_REQUIRES="$PKG_CONFIG_REQUIRES," 13215 fi 13216 PKG_CONFIG_REQUIRES="$PKG_CONFIG_REQUIRES libxml-2.0 >= $LIBXML_MIN_VERSION" 13217fi 13218 13219LIBCURL_MIN_VERSION=$libcurl_min_version 13220 13221 13222 13223# Check whether --with-curl-config was given. 13224if test "${with_curl_config+set}" = set; then : 13225 withval=$with_curl_config; curl_config="$withval" 13226else 13227 curl_config="" 13228fi 13229 13230 13231if test "X$curl_config" != "Xno" ; then 13232 if test "X$curl_config" != "X" ; then 13233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $curl_config" >&5 13234$as_echo_n "checking for $curl_config... " >&6; } 13235 13236 if test -f $curl_config ; then 13237 CURL_CONFIG=$curl_config 13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13239$as_echo "yes" >&6; } 13240 else 13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - searching PATH" >&5 13242$as_echo "no - searching PATH" >&6; } 13243 fi 13244 fi 13245 13246 if test "X$CURL_CONFIG" = "X" ; then 13247 for ac_prog in curl-config 13248do 13249 # Extract the first word of "$ac_prog", so it can be a program name with args. 13250set dummy $ac_prog; ac_word=$2 13251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13252$as_echo_n "checking for $ac_word... " >&6; } 13253if ${ac_cv_prog_CURL_CONFIG+:} false; then : 13254 $as_echo_n "(cached) " >&6 13255else 13256 if test -n "$CURL_CONFIG"; then 13257 ac_cv_prog_CURL_CONFIG="$CURL_CONFIG" # Let the user override the test. 13258else 13259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13260for as_dir in $PATH 13261do 13262 IFS=$as_save_IFS 13263 test -z "$as_dir" && as_dir=. 13264 for ac_exec_ext in '' $ac_executable_extensions; do 13265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13266 ac_cv_prog_CURL_CONFIG="$ac_prog" 13267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13268 break 2 13269 fi 13270done 13271 done 13272IFS=$as_save_IFS 13273 13274fi 13275fi 13276CURL_CONFIG=$ac_cv_prog_CURL_CONFIG 13277if test -n "$CURL_CONFIG"; then 13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL_CONFIG" >&5 13279$as_echo "$CURL_CONFIG" >&6; } 13280else 13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13282$as_echo "no" >&6; } 13283fi 13284 13285 13286 test -n "$CURL_CONFIG" && break 13287done 13288 13289 fi 13290fi 13291 13292libcurl_source=no 13293if test "X$CURL_CONFIG" != "X"; then 13294 oCPPFLAGS="$CPPFLAGS" 13295 oLIBS="$LIBS" 13296 13297 CPPFLAGS="`$CURL_CONFIG --cflags` $CPPFLAGS" 13298 LIBS="$LIBS `$CURL_CONFIG --libs`" 13299 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default" 13300if test "x$ac_cv_header_curl_curl_h" = xyes; then : 13301 13302fi 13303 13304 13305 ac_fn_c_check_func "$LINENO" "curl_easy_init" "ac_cv_func_curl_easy_init" 13306if test "x$ac_cv_func_curl_easy_init" = xyes; then : 13307 have_curl_easy_init=yes 13308else 13309 have_curl_easy_init=no 13310fi 13311 13312 13313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl via curl-config" >&5 13314$as_echo_n "checking for libcurl via curl-config... " >&6; } 13315 if test $have_curl_easy_init = yes; then 13316 libcurl_source="curl-config" 13317 LIBCURL_VERSION=`$CURL_CONFIG --version | sed -e 's/^libcurl *//'` 13318 fi 13319 CPPFLAGS="$oCPPFLAGS" 13320 LIBS="$oLIBS" 13321else 13322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl via pkg-config" >&5 13323$as_echo_n "checking for libcurl via pkg-config... " >&6; } 13324 CURL_CONFIG="$PKG_CONFIG libcurl" 13325 if $CURL_CONFIG --exists; then 13326 LIBCURL_VERSION=`$CURL_CONFIG --modversion 2>/dev/null` 13327 libcurl_source="pkg-config" 13328 fi 13329fi 13330 13331if test "$libcurl_source" != "no"; then 13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - $LIBCURL_VERSION via $libcurl_source" >&5 13333$as_echo "yes - $LIBCURL_VERSION via $libcurl_source" >&6; } 13334else 13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - not found" >&5 13336$as_echo "no - not found" >&6; } 13337 as_fn_error $? "Please install version $libcurl_min_version or newer" "$LINENO" 5 13338fi 13339 13340libcurl_min_version_dec=`echo $libcurl_min_version | $AWK -F. '{printf("%d\n", 10000*$1 + 100*$2 + $3)};'` 13341libcurl_version_dec=`echo $LIBCURL_VERSION | $AWK -F. '{printf("%d\n", 10000*$1 + 100*$2 + $3)};'` 13342if test $libcurl_version_dec -lt $libcurl_min_version_dec; then 13343 as_fn_error $? "libcurl $LIBCURL_VERSION is too old - $libcurl_min_version or newer required." "$LINENO" 5 13344fi 13345 13346LIBS="$LIBS `$CURL_CONFIG --libs`" 13347CFLAGS="`$CURL_CONFIG --cflags` $CFLAGS" 13348 13349if test $libcurl_source = "pkg-config"; then 13350 if test "X$PKG_CONFIG_REQUIRES" != X; then 13351 PKG_CONFIG_REQUIRES="$PKG_CONFIG_REQUIRES," 13352 fi 13353 PKG_CONFIG_REQUIRES="$PKG_CONFIG_REQUIRES libcurl >= $LIBCURL_MIN_VERSION" 13354fi 13355 13356 13357 13358# Check whether --with-raptor was given. 13359if test "${with_raptor+set}" = set; then : 13360 withval=$with_raptor; with_raptor="$withval" 13361else 13362 with_raptor="auto" 13363fi 13364 13365 13366# resolve autodetecting raptor 13367if test "$with_raptor" = auto; then 13368 if $PKG_CONFIG raptor2 --exists; then 13369 with_raptor=yes 13370 else 13371 with_raptor=no 13372 fi 13373fi 13374 13375# Check raptor version and use it if new enough 13376RAPTOR_VERSION= 13377if test "$with_raptor" = yes -o "$with_raptor" = 2; then 13378 RAPTOR_VERSION=`$PKG_CONFIG raptor2 --modversion 2>/dev/null` 13379 13380 if $PKG_CONFIG raptor2 --atleast-version=$raptor_min_version; then 13381 with_raptor=yes 13382 else 13383 with_raptor=no 13384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Installed Raptor $RAPTOR_VERSION is too old - need $raptor_min_version" >&5 13385$as_echo "$as_me: WARNING: Installed Raptor $RAPTOR_VERSION is too old - need $raptor_min_version" >&2;} 13386 fi 13387else 13388 with_raptor="no" 13389fi 13390RAPTOR_MIN_VERSION=$raptor_min_version 13391 13392 13393 13394 if test $with_raptor != no; then 13395 RAPTOR_TRUE= 13396 RAPTOR_FALSE='#' 13397else 13398 RAPTOR_TRUE='#' 13399 RAPTOR_FALSE= 13400fi 13401 13402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use Raptor" >&5 13403$as_echo_n "checking whether to use Raptor... " >&6; } 13404if test "$with_raptor" = yes; then 13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - $RAPTOR_VERSION" >&5 13406$as_echo "yes - $RAPTOR_VERSION" >&6; } 13407 RAPTOR_LIBS="`$PKG_CONFIG raptor2 --libs`" 13408 RAPTOR_CFLAGS="`$PKG_CONFIG raptor2 --cflags`" 13409 13410 LIBS="$LIBS $RAPTOR_LIBS" 13411 CPPFLAGS="$CPPFLAGS $RAPTOR_CFLAGS" 13412 13413 if test "X$PKG_CONFIG_REQUIRES" != X; then 13414 PKG_CONFIG_REQUIRES="$PKG_CONFIG_REQUIRES," 13415 fi 13416 PKG_CONFIG_REQUIRES="$PKG_CONFIG_REQUIRES raptor2 >= $raptor_min_version" 13417 13418 13419 13420$as_echo "#define HAVE_RAPTOR 1" >>confdefs.h 13421 13422else 13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13424$as_echo "no" >&6; } 13425fi 13426 13427# Check whether --enable-offline was given. 13428if test "${enable_offline+set}" = set; then : 13429 enableval=$enable_offline; offline="yes" 13430else 13431 offline="no" 13432fi 13433 13434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking using offline mode" >&5 13435$as_echo_n "checking using offline mode... " >&6; } 13436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $offline" >&5 13437$as_echo "$offline" >&6; }; 13438if test $offline = yes; then 13439 13440$as_echo "#define OFFLINE 1" >>confdefs.h 13441 13442fi 13443 if test $offline = yes; then 13444 OFFLINE_TRUE= 13445 OFFLINE_FALSE='#' 13446else 13447 OFFLINE_TRUE='#' 13448 OFFLINE_FALSE= 13449fi 13450 13451 13452 13453# Check whether --enable-capture was given. 13454if test "${enable_capture+set}" = set; then : 13455 enableval=$enable_capture; capture="yes" 13456else 13457 capture="no" 13458fi 13459 13460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking capturing web service responses" >&5 13461$as_echo_n "checking capturing web service responses... " >&6; } 13462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $capture" >&5 13463$as_echo "$capture" >&6; }; 13464if test $capture = yes; then 13465 13466$as_echo "#define CAPTURE 1" >>confdefs.h 13467 13468fi 13469 13470if test $offline = yes -a $capture = yes; then 13471 as_fn_error $? "Cannot use both offline mode and capturing web service responses" "$LINENO" 5 13472fi 13473 13474 13475 13476 13477 13478# Just too annoying: 13479# -Wmissing-format-attribute 13480possible_warnings="-Wall -Wextra \ 13481-Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 13482-Wmissing-declarations -Wnested-externs -Wredundant-decls -Wswitch-enum \ 13483-Wsign-compare -Werror-implicit-function-declaration -Wwrite-strings 13484-Wpacked -Wpointer-arith -Wcast-align -Winit-self \ 13485-Wunsafe-loop-optimizations -Wdeclaration-after-statement \ 13486-Wold-style-definition \ 13487-Wno-missing-field-initializers -Wno-unused-parameter" 13488 13489warning_cflags= 13490if test "$USE_MAINTAINER_MODE" = yes; then 13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported $CC warning flags" >&5 13492$as_echo_n "checking for supported $CC warning flags... " >&6; } 13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_cflags" >&5 13494$as_echo "$warning_cflags" >&6; } 13495 for warning in $possible_warnings; do 13496 13497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $warning" >&5 13498$as_echo_n "checking whether $CC supports $warning... " >&6; } 13499 flickcurl_save_CFLAGS="$CFLAGS" 13500 if test $CC_IS_CLANG = yes; then 13501 # Make unknown warnings into errors for clang so the test below works 13502 CFLAGS="-Werror $CFLAGS" 13503 fi 13504 CFLAGS="$CFLAGS $warning" 13505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13506/* end confdefs.h. */ 13507 13508_ACEOF 13509if ac_fn_c_try_compile "$LINENO"; then : 13510 flickcurl_cc_flag=yes 13511else 13512 flickcurl_cc_flag=no 13513fi 13514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13515 CFLAGS="$flickcurl_save_CFLAGS" 13516 if test "X$flickcurl_cc_flag" = "Xyes"; then 13517 warning_cflags="$warning_cflags $warning" 13518 else 13519 : 13520 fi 13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flickcurl_cc_flag" >&5 13522$as_echo "$flickcurl_cc_flag" >&6; } 13523 13524 done 13525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $CC supports warning flags" >&5 13526$as_echo_n "checking $CC supports warning flags... " >&6; } 13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_cflags" >&5 13528$as_echo "$warning_cflags" >&6; } 13529fi 13530 13531 13532CPPFLAGS="-DFLICKCURL_INTERNAL=1 $CPPFLAGS" 13533 13534STANDARD_CFLAGS= 13535MAINTAINER_CFLAGS="$warning_cflags" 13536 13537STANDARD_CFLAGS="$STANDARD_CFLAGS $CFLAGS" 13538if test "$USE_MAINTAINER_MODE" = yes; then 13539 CPPFLAGS="-g -DFLICKCURL_DEBUG=1 $CPPFLAGS" 13540 CFLAGS="$MAINTAINER_CFLAGS $CFLAGS" 13541fi 13542 13543 13544 13545 13546 13547 13548 13549# Check whether --enable-silent-rules was given. 13550if test "${enable_silent_rules+set}" = set; then : 13551 enableval=$enable_silent_rules; 13552fi 13553 13554case $enable_silent_rules in 13555yes) AM_DEFAULT_VERBOSITY=0;; 13556no) AM_DEFAULT_VERBOSITY=1;; 13557*) AM_DEFAULT_VERBOSITY=1;; 13558esac 13559am_make=${MAKE-make} 13560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 13561$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 13562if ${am_cv_make_support_nested_variables+:} false; then : 13563 $as_echo_n "(cached) " >&6 13564else 13565 if $as_echo 'TRUE=$(BAR$(V)) 13566BAR0=false 13567BAR1=true 13568V=1 13569am__doit: 13570 @$(TRUE) 13571.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 13572 am_cv_make_support_nested_variables=yes 13573else 13574 am_cv_make_support_nested_variables=no 13575fi 13576fi 13577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 13578$as_echo "$am_cv_make_support_nested_variables" >&6; } 13579if test $am_cv_make_support_nested_variables = yes; then 13580 AM_V='$(V)' 13581 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 13582else 13583 AM_V=$AM_DEFAULT_VERBOSITY 13584 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 13585fi 13586AM_BACKSLASH='\' 13587 13588 13589ac_config_files="$ac_config_files Makefile libmtwist/Makefile getopt/Makefile src/Makefile utils/Makefile examples/Makefile docs/Makefile docs/version.xml flickcurl.spec flickcurl.rdf flickcurl.pc" 13590 13591 13592ac_config_files="$ac_config_files flickcurl-config" 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 13603 if test -n "$ac_tool_prefix"; then 13604 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 13605set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 13606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13607$as_echo_n "checking for $ac_word... " >&6; } 13608if ${ac_cv_path_PKG_CONFIG+:} false; then : 13609 $as_echo_n "(cached) " >&6 13610else 13611 case $PKG_CONFIG in 13612 [\\/]* | ?:[\\/]*) 13613 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13614 ;; 13615 *) 13616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13617for as_dir in $PATH 13618do 13619 IFS=$as_save_IFS 13620 test -z "$as_dir" && as_dir=. 13621 for ac_exec_ext in '' $ac_executable_extensions; do 13622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13623 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13625 break 2 13626 fi 13627done 13628 done 13629IFS=$as_save_IFS 13630 13631 ;; 13632esac 13633fi 13634PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13635if test -n "$PKG_CONFIG"; then 13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 13637$as_echo "$PKG_CONFIG" >&6; } 13638else 13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13640$as_echo "no" >&6; } 13641fi 13642 13643 13644fi 13645if test -z "$ac_cv_path_PKG_CONFIG"; then 13646 ac_pt_PKG_CONFIG=$PKG_CONFIG 13647 # Extract the first word of "pkg-config", so it can be a program name with args. 13648set dummy pkg-config; ac_word=$2 13649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13650$as_echo_n "checking for $ac_word... " >&6; } 13651if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 13652 $as_echo_n "(cached) " >&6 13653else 13654 case $ac_pt_PKG_CONFIG in 13655 [\\/]* | ?:[\\/]*) 13656 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 13657 ;; 13658 *) 13659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13660for as_dir in $PATH 13661do 13662 IFS=$as_save_IFS 13663 test -z "$as_dir" && as_dir=. 13664 for ac_exec_ext in '' $ac_executable_extensions; do 13665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13666 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13668 break 2 13669 fi 13670done 13671 done 13672IFS=$as_save_IFS 13673 13674 ;; 13675esac 13676fi 13677ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 13678if test -n "$ac_pt_PKG_CONFIG"; then 13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 13680$as_echo "$ac_pt_PKG_CONFIG" >&6; } 13681else 13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13683$as_echo "no" >&6; } 13684fi 13685 13686 if test "x$ac_pt_PKG_CONFIG" = x; then 13687 PKG_CONFIG="" 13688 else 13689 case $cross_compiling:$ac_tool_warned in 13690yes:) 13691{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13692$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13693ac_tool_warned=yes ;; 13694esac 13695 PKG_CONFIG=$ac_pt_PKG_CONFIG 13696 fi 13697else 13698 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 13699fi 13700 13701fi 13702if test -n "$PKG_CONFIG"; then 13703 _pkg_min_version=0.9.0 13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 13705$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 13706 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13708$as_echo "yes" >&6; } 13709 else 13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13711$as_echo "no" >&6; } 13712 PKG_CONFIG="" 13713 fi 13714fi 13715 13716 13717 13718 # Extract the first word of "gtkdoc-check", so it can be a program name with args. 13719set dummy gtkdoc-check; ac_word=$2 13720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13721$as_echo_n "checking for $ac_word... " >&6; } 13722if ${ac_cv_path_GTKDOC_CHECK+:} false; then : 13723 $as_echo_n "(cached) " >&6 13724else 13725 case $GTKDOC_CHECK in 13726 [\\/]* | ?:[\\/]*) 13727 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path. 13728 ;; 13729 *) 13730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13731for as_dir in $PATH 13732do 13733 IFS=$as_save_IFS 13734 test -z "$as_dir" && as_dir=. 13735 for ac_exec_ext in '' $ac_executable_extensions; do 13736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13737 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" 13738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13739 break 2 13740 fi 13741done 13742 done 13743IFS=$as_save_IFS 13744 13745 ;; 13746esac 13747fi 13748GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK 13749if test -n "$GTKDOC_CHECK"; then 13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 13751$as_echo "$GTKDOC_CHECK" >&6; } 13752else 13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13754$as_echo "no" >&6; } 13755fi 13756 13757 13758 for ac_prog in gtkdoc-rebase 13759do 13760 # Extract the first word of "$ac_prog", so it can be a program name with args. 13761set dummy $ac_prog; ac_word=$2 13762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13763$as_echo_n "checking for $ac_word... " >&6; } 13764if ${ac_cv_path_GTKDOC_REBASE+:} false; then : 13765 $as_echo_n "(cached) " >&6 13766else 13767 case $GTKDOC_REBASE in 13768 [\\/]* | ?:[\\/]*) 13769 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. 13770 ;; 13771 *) 13772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13773for as_dir in $PATH 13774do 13775 IFS=$as_save_IFS 13776 test -z "$as_dir" && as_dir=. 13777 for ac_exec_ext in '' $ac_executable_extensions; do 13778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13779 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext" 13780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13781 break 2 13782 fi 13783done 13784 done 13785IFS=$as_save_IFS 13786 13787 ;; 13788esac 13789fi 13790GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE 13791if test -n "$GTKDOC_REBASE"; then 13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 13793$as_echo "$GTKDOC_REBASE" >&6; } 13794else 13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13796$as_echo "no" >&6; } 13797fi 13798 13799 13800 test -n "$GTKDOC_REBASE" && break 13801done 13802test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" 13803 13804 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. 13805set dummy gtkdoc-mkpdf; ac_word=$2 13806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13807$as_echo_n "checking for $ac_word... " >&6; } 13808if ${ac_cv_path_GTKDOC_MKPDF+:} false; then : 13809 $as_echo_n "(cached) " >&6 13810else 13811 case $GTKDOC_MKPDF in 13812 [\\/]* | ?:[\\/]*) 13813 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. 13814 ;; 13815 *) 13816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13817for as_dir in $PATH 13818do 13819 IFS=$as_save_IFS 13820 test -z "$as_dir" && as_dir=. 13821 for ac_exec_ext in '' $ac_executable_extensions; do 13822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13823 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext" 13824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13825 break 2 13826 fi 13827done 13828 done 13829IFS=$as_save_IFS 13830 13831 ;; 13832esac 13833fi 13834GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF 13835if test -n "$GTKDOC_MKPDF"; then 13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 13837$as_echo "$GTKDOC_MKPDF" >&6; } 13838else 13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13840$as_echo "no" >&6; } 13841fi 13842 13843 13844 13845 13846# Check whether --with-html-dir was given. 13847if test "${with_html_dir+set}" = set; then : 13848 withval=$with_html_dir; 13849else 13850 with_html_dir='${datadir}/gtk-doc/html' 13851fi 13852 13853 HTML_DIR="$with_html_dir" 13854 13855 13856 # Check whether --enable-gtk-doc was given. 13857if test "${enable_gtk_doc+set}" = set; then : 13858 enableval=$enable_gtk_doc; 13859else 13860 enable_gtk_doc=no 13861fi 13862 13863 13864 if test x$enable_gtk_doc = xyes; then 13865 if test -n "$PKG_CONFIG" && \ 13866 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5 13867 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5 13868 ac_status=$? 13869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13870 test $ac_status = 0; }; then 13871 : 13872else 13873 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build $PACKAGE_NAME" "$LINENO" 5 13874fi 13875 if test "x$PACKAGE_NAME" != "xglib"; then 13876 13877pkg_failed=no 13878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5 13879$as_echo_n "checking for GTKDOC_DEPS... " >&6; } 13880 13881if test -n "$GTKDOC_DEPS_CFLAGS"; then 13882 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS" 13883 elif test -n "$PKG_CONFIG"; then 13884 if test -n "$PKG_CONFIG" && \ 13885 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 13886 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 13887 ac_status=$? 13888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13889 test $ac_status = 0; }; then 13890 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` 13891 test "x$?" != "x0" && pkg_failed=yes 13892else 13893 pkg_failed=yes 13894fi 13895 else 13896 pkg_failed=untried 13897fi 13898if test -n "$GTKDOC_DEPS_LIBS"; then 13899 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS" 13900 elif test -n "$PKG_CONFIG"; then 13901 if test -n "$PKG_CONFIG" && \ 13902 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 13903 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 13904 ac_status=$? 13905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13906 test $ac_status = 0; }; then 13907 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` 13908 test "x$?" != "x0" && pkg_failed=yes 13909else 13910 pkg_failed=yes 13911fi 13912 else 13913 pkg_failed=untried 13914fi 13915 13916 13917 13918if test $pkg_failed = yes; then 13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13920$as_echo "no" >&6; } 13921 13922if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13923 _pkg_short_errors_supported=yes 13924else 13925 _pkg_short_errors_supported=no 13926fi 13927 if test $_pkg_short_errors_supported = yes; then 13928 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` 13929 else 13930 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` 13931 fi 13932 # Put the nasty error message in config.log where it belongs 13933 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5 13934 13935 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met: 13936 13937$GTKDOC_DEPS_PKG_ERRORS 13938 13939Consider adjusting the PKG_CONFIG_PATH environment variable if you 13940installed software in a non-standard prefix. 13941 13942Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS 13943and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config. 13944See the pkg-config man page for more details." "$LINENO" 5 13945elif test $pkg_failed = untried; then 13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13947$as_echo "no" >&6; } 13948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13949$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13950as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 13951is in your PATH or set the PKG_CONFIG environment variable to the full 13952path to pkg-config. 13953 13954Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS 13955and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config. 13956See the pkg-config man page for more details. 13957 13958To get pkg-config, see <http://pkg-config.freedesktop.org/>. 13959See \`config.log' for more details" "$LINENO" 5; } 13960else 13961 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS 13962 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS 13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13964$as_echo "yes" >&6; } 13965 13966fi 13967 fi 13968 fi 13969 13970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 13971$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } 13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 13973$as_echo "$enable_gtk_doc" >&6; } 13974 13975 # Check whether --enable-gtk-doc-html was given. 13976if test "${enable_gtk_doc_html+set}" = set; then : 13977 enableval=$enable_gtk_doc_html; 13978else 13979 enable_gtk_doc_html=yes 13980fi 13981 13982 # Check whether --enable-gtk-doc-pdf was given. 13983if test "${enable_gtk_doc_pdf+set}" = set; then : 13984 enableval=$enable_gtk_doc_pdf; 13985else 13986 enable_gtk_doc_pdf=no 13987fi 13988 13989 13990 if test -z "$GTKDOC_MKPDF"; then 13991 enable_gtk_doc_pdf=no 13992 fi 13993 13994 13995 if test x$enable_gtk_doc = xyes; then 13996 ENABLE_GTK_DOC_TRUE= 13997 ENABLE_GTK_DOC_FALSE='#' 13998else 13999 ENABLE_GTK_DOC_TRUE='#' 14000 ENABLE_GTK_DOC_FALSE= 14001fi 14002 14003 if test x$enable_gtk_doc_html = xyes; then 14004 GTK_DOC_BUILD_HTML_TRUE= 14005 GTK_DOC_BUILD_HTML_FALSE='#' 14006else 14007 GTK_DOC_BUILD_HTML_TRUE='#' 14008 GTK_DOC_BUILD_HTML_FALSE= 14009fi 14010 14011 if test x$enable_gtk_doc_pdf = xyes; then 14012 GTK_DOC_BUILD_PDF_TRUE= 14013 GTK_DOC_BUILD_PDF_FALSE='#' 14014else 14015 GTK_DOC_BUILD_PDF_TRUE='#' 14016 GTK_DOC_BUILD_PDF_FALSE= 14017fi 14018 14019 if test -n "$LIBTOOL"; then 14020 GTK_DOC_USE_LIBTOOL_TRUE= 14021 GTK_DOC_USE_LIBTOOL_FALSE='#' 14022else 14023 GTK_DOC_USE_LIBTOOL_TRUE='#' 14024 GTK_DOC_USE_LIBTOOL_FALSE= 14025fi 14026 14027 if test -n "$GTKDOC_REBASE"; then 14028 GTK_DOC_USE_REBASE_TRUE= 14029 GTK_DOC_USE_REBASE_FALSE='#' 14030else 14031 GTK_DOC_USE_REBASE_TRUE='#' 14032 GTK_DOC_USE_REBASE_FALSE= 14033fi 14034 14035 14036 14037cat >confcache <<\_ACEOF 14038# This file is a shell script that caches the results of configure 14039# tests run on this system so they can be shared between configure 14040# scripts and configure runs, see configure's option --config-cache. 14041# It is not useful on other systems. If it contains results you don't 14042# want to keep, you may remove or edit it. 14043# 14044# config.status only pays attention to the cache file if you give it 14045# the --recheck option to rerun configure. 14046# 14047# `ac_cv_env_foo' variables (set or unset) will be overridden when 14048# loading this file, other *unset* `ac_cv_foo' will be assigned the 14049# following values. 14050 14051_ACEOF 14052 14053# The following way of writing the cache mishandles newlines in values, 14054# but we know of no workaround that is simple, portable, and efficient. 14055# So, we kill variables containing newlines. 14056# Ultrix sh set writes to stderr and can't be redirected directly, 14057# and sets the high bit in the cache file unless we assign to the vars. 14058( 14059 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 14060 eval ac_val=\$$ac_var 14061 case $ac_val in #( 14062 *${as_nl}*) 14063 case $ac_var in #( 14064 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 14065$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 14066 esac 14067 case $ac_var in #( 14068 _ | IFS | as_nl) ;; #( 14069 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 14070 *) { eval $ac_var=; unset $ac_var;} ;; 14071 esac ;; 14072 esac 14073 done 14074 14075 (set) 2>&1 | 14076 case $as_nl`(ac_space=' '; set) 2>&1` in #( 14077 *${as_nl}ac_space=\ *) 14078 # `set' does not quote correctly, so add quotes: double-quote 14079 # substitution turns \\\\ into \\, and sed turns \\ into \. 14080 sed -n \ 14081 "s/'/'\\\\''/g; 14082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 14083 ;; #( 14084 *) 14085 # `set' quotes correctly as required by POSIX, so do not add quotes. 14086 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 14087 ;; 14088 esac | 14089 sort 14090) | 14091 sed ' 14092 /^ac_cv_env_/b end 14093 t clear 14094 :clear 14095 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 14096 t end 14097 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 14098 :end' >>confcache 14099if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 14100 if test -w "$cache_file"; then 14101 if test "x$cache_file" != "x/dev/null"; then 14102 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 14103$as_echo "$as_me: updating cache $cache_file" >&6;} 14104 if test ! -f "$cache_file" || test -h "$cache_file"; then 14105 cat confcache >"$cache_file" 14106 else 14107 case $cache_file in #( 14108 */* | ?:*) 14109 mv -f confcache "$cache_file"$$ && 14110 mv -f "$cache_file"$$ "$cache_file" ;; #( 14111 *) 14112 mv -f confcache "$cache_file" ;; 14113 esac 14114 fi 14115 fi 14116 else 14117 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 14118$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 14119 fi 14120fi 14121rm -f confcache 14122 14123test "x$prefix" = xNONE && prefix=$ac_default_prefix 14124# Let make expand exec_prefix. 14125test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 14126 14127DEFS=-DHAVE_CONFIG_H 14128 14129ac_libobjs= 14130ac_ltlibobjs= 14131U= 14132for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 14133 # 1. Remove the extension, and $U if already installed. 14134 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 14135 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 14136 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 14137 # will be set to the directory where LIBOBJS objects are built. 14138 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 14139 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 14140done 14141LIBOBJS=$ac_libobjs 14142 14143LTLIBOBJS=$ac_ltlibobjs 14144 14145 14146 if test -n "$EXEEXT"; then 14147 am__EXEEXT_TRUE= 14148 am__EXEEXT_FALSE='#' 14149else 14150 am__EXEEXT_TRUE='#' 14151 am__EXEEXT_FALSE= 14152fi 14153 14154if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 14155 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 14156Usually this means the macro was only invoked conditionally." "$LINENO" 5 14157fi 14158if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 14159 as_fn_error $? "conditional \"AMDEP\" was never defined. 14160Usually this means the macro was only invoked conditionally." "$LINENO" 5 14161fi 14162if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 14163 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 14164Usually this means the macro was only invoked conditionally." "$LINENO" 5 14165fi 14166 14167if test -z "${GETOPT_TRUE}" && test -z "${GETOPT_FALSE}"; then 14168 as_fn_error $? "conditional \"GETOPT\" was never defined. 14169Usually this means the macro was only invoked conditionally." "$LINENO" 5 14170fi 14171if test -z "${RAPTOR_TRUE}" && test -z "${RAPTOR_FALSE}"; then 14172 as_fn_error $? "conditional \"RAPTOR\" was never defined. 14173Usually this means the macro was only invoked conditionally." "$LINENO" 5 14174fi 14175if test -z "${OFFLINE_TRUE}" && test -z "${OFFLINE_FALSE}"; then 14176 as_fn_error $? "conditional \"OFFLINE\" was never defined. 14177Usually this means the macro was only invoked conditionally." "$LINENO" 5 14178fi 14179if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then 14180 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. 14181Usually this means the macro was only invoked conditionally." "$LINENO" 5 14182fi 14183if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then 14184 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined. 14185Usually this means the macro was only invoked conditionally." "$LINENO" 5 14186fi 14187if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then 14188 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined. 14189Usually this means the macro was only invoked conditionally." "$LINENO" 5 14190fi 14191if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then 14192 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. 14193Usually this means the macro was only invoked conditionally." "$LINENO" 5 14194fi 14195if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then 14196 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined. 14197Usually this means the macro was only invoked conditionally." "$LINENO" 5 14198fi 14199 14200: "${CONFIG_STATUS=./config.status}" 14201ac_write_fail=0 14202ac_clean_files_save=$ac_clean_files 14203ac_clean_files="$ac_clean_files $CONFIG_STATUS" 14204{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 14205$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 14206as_write_fail=0 14207cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 14208#! $SHELL 14209# Generated by $as_me. 14210# Run this file to recreate the current configuration. 14211# Compiler output produced by configure, useful for debugging 14212# configure, is in config.log if it exists. 14213 14214debug=false 14215ac_cs_recheck=false 14216ac_cs_silent=false 14217 14218SHELL=\${CONFIG_SHELL-$SHELL} 14219export SHELL 14220_ASEOF 14221cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 14222## -------------------- ## 14223## M4sh Initialization. ## 14224## -------------------- ## 14225 14226# Be more Bourne compatible 14227DUALCASE=1; export DUALCASE # for MKS sh 14228if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 14229 emulate sh 14230 NULLCMD=: 14231 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 14232 # is contrary to our usage. Disable this feature. 14233 alias -g '${1+"$@"}'='"$@"' 14234 setopt NO_GLOB_SUBST 14235else 14236 case `(set -o) 2>/dev/null` in #( 14237 *posix*) : 14238 set -o posix ;; #( 14239 *) : 14240 ;; 14241esac 14242fi 14243 14244 14245as_nl=' 14246' 14247export as_nl 14248# Printing a long string crashes Solaris 7 /usr/bin/printf. 14249as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 14250as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 14251as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 14252# Prefer a ksh shell builtin over an external printf program on Solaris, 14253# but without wasting forks for bash or zsh. 14254if test -z "$BASH_VERSION$ZSH_VERSION" \ 14255 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 14256 as_echo='print -r --' 14257 as_echo_n='print -rn --' 14258elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 14259 as_echo='printf %s\n' 14260 as_echo_n='printf %s' 14261else 14262 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 14263 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 14264 as_echo_n='/usr/ucb/echo -n' 14265 else 14266 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 14267 as_echo_n_body='eval 14268 arg=$1; 14269 case $arg in #( 14270 *"$as_nl"*) 14271 expr "X$arg" : "X\\(.*\\)$as_nl"; 14272 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 14273 esac; 14274 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 14275 ' 14276 export as_echo_n_body 14277 as_echo_n='sh -c $as_echo_n_body as_echo' 14278 fi 14279 export as_echo_body 14280 as_echo='sh -c $as_echo_body as_echo' 14281fi 14282 14283# The user is always right. 14284if test "${PATH_SEPARATOR+set}" != set; then 14285 PATH_SEPARATOR=: 14286 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 14287 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 14288 PATH_SEPARATOR=';' 14289 } 14290fi 14291 14292 14293# IFS 14294# We need space, tab and new line, in precisely that order. Quoting is 14295# there to prevent editors from complaining about space-tab. 14296# (If _AS_PATH_WALK were called with IFS unset, it would disable word 14297# splitting by setting IFS to empty value.) 14298IFS=" "" $as_nl" 14299 14300# Find who we are. Look in the path if we contain no directory separator. 14301as_myself= 14302case $0 in #(( 14303 *[\\/]* ) as_myself=$0 ;; 14304 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14305for as_dir in $PATH 14306do 14307 IFS=$as_save_IFS 14308 test -z "$as_dir" && as_dir=. 14309 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 14310 done 14311IFS=$as_save_IFS 14312 14313 ;; 14314esac 14315# We did not find ourselves, most probably we were run as `sh COMMAND' 14316# in which case we are not to be found in the path. 14317if test "x$as_myself" = x; then 14318 as_myself=$0 14319fi 14320if test ! -f "$as_myself"; then 14321 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 14322 exit 1 14323fi 14324 14325# Unset variables that we do not need and which cause bugs (e.g. in 14326# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 14327# suppresses any "Segmentation fault" message there. '((' could 14328# trigger a bug in pdksh 5.2.14. 14329for as_var in BASH_ENV ENV MAIL MAILPATH 14330do eval test x\${$as_var+set} = xset \ 14331 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 14332done 14333PS1='$ ' 14334PS2='> ' 14335PS4='+ ' 14336 14337# NLS nuisances. 14338LC_ALL=C 14339export LC_ALL 14340LANGUAGE=C 14341export LANGUAGE 14342 14343# CDPATH. 14344(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14345 14346 14347# as_fn_error STATUS ERROR [LINENO LOG_FD] 14348# ---------------------------------------- 14349# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 14350# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 14351# script with STATUS, using 1 if that was 0. 14352as_fn_error () 14353{ 14354 as_status=$1; test $as_status -eq 0 && as_status=1 14355 if test "$4"; then 14356 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14357 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 14358 fi 14359 $as_echo "$as_me: error: $2" >&2 14360 as_fn_exit $as_status 14361} # as_fn_error 14362 14363 14364# as_fn_set_status STATUS 14365# ----------------------- 14366# Set $? to STATUS, without forking. 14367as_fn_set_status () 14368{ 14369 return $1 14370} # as_fn_set_status 14371 14372# as_fn_exit STATUS 14373# ----------------- 14374# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 14375as_fn_exit () 14376{ 14377 set +e 14378 as_fn_set_status $1 14379 exit $1 14380} # as_fn_exit 14381 14382# as_fn_unset VAR 14383# --------------- 14384# Portably unset VAR. 14385as_fn_unset () 14386{ 14387 { eval $1=; unset $1;} 14388} 14389as_unset=as_fn_unset 14390# as_fn_append VAR VALUE 14391# ---------------------- 14392# Append the text in VALUE to the end of the definition contained in VAR. Take 14393# advantage of any shell optimizations that allow amortized linear growth over 14394# repeated appends, instead of the typical quadratic growth present in naive 14395# implementations. 14396if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 14397 eval 'as_fn_append () 14398 { 14399 eval $1+=\$2 14400 }' 14401else 14402 as_fn_append () 14403 { 14404 eval $1=\$$1\$2 14405 } 14406fi # as_fn_append 14407 14408# as_fn_arith ARG... 14409# ------------------ 14410# Perform arithmetic evaluation on the ARGs, and store the result in the 14411# global $as_val. Take advantage of shells that can avoid forks. The arguments 14412# must be portable across $(()) and expr. 14413if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 14414 eval 'as_fn_arith () 14415 { 14416 as_val=$(( $* )) 14417 }' 14418else 14419 as_fn_arith () 14420 { 14421 as_val=`expr "$@" || test $? -eq 1` 14422 } 14423fi # as_fn_arith 14424 14425 14426if expr a : '\(a\)' >/dev/null 2>&1 && 14427 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14428 as_expr=expr 14429else 14430 as_expr=false 14431fi 14432 14433if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 14434 as_basename=basename 14435else 14436 as_basename=false 14437fi 14438 14439if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 14440 as_dirname=dirname 14441else 14442 as_dirname=false 14443fi 14444 14445as_me=`$as_basename -- "$0" || 14446$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 14447 X"$0" : 'X\(//\)$' \| \ 14448 X"$0" : 'X\(/\)' \| . 2>/dev/null || 14449$as_echo X/"$0" | 14450 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14451 s//\1/ 14452 q 14453 } 14454 /^X\/\(\/\/\)$/{ 14455 s//\1/ 14456 q 14457 } 14458 /^X\/\(\/\).*/{ 14459 s//\1/ 14460 q 14461 } 14462 s/.*/./; q'` 14463 14464# Avoid depending upon Character Ranges. 14465as_cr_letters='abcdefghijklmnopqrstuvwxyz' 14466as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 14467as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14468as_cr_digits='0123456789' 14469as_cr_alnum=$as_cr_Letters$as_cr_digits 14470 14471ECHO_C= ECHO_N= ECHO_T= 14472case `echo -n x` in #((((( 14473-n*) 14474 case `echo 'xy\c'` in 14475 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14476 xy) ECHO_C='\c';; 14477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 14478 ECHO_T=' ';; 14479 esac;; 14480*) 14481 ECHO_N='-n';; 14482esac 14483 14484rm -f conf$$ conf$$.exe conf$$.file 14485if test -d conf$$.dir; then 14486 rm -f conf$$.dir/conf$$.file 14487else 14488 rm -f conf$$.dir 14489 mkdir conf$$.dir 2>/dev/null 14490fi 14491if (echo >conf$$.file) 2>/dev/null; then 14492 if ln -s conf$$.file conf$$ 2>/dev/null; then 14493 as_ln_s='ln -s' 14494 # ... but there are two gotchas: 14495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 14496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 14497 # In both cases, we have to default to `cp -pR'. 14498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14499 as_ln_s='cp -pR' 14500 elif ln conf$$.file conf$$ 2>/dev/null; then 14501 as_ln_s=ln 14502 else 14503 as_ln_s='cp -pR' 14504 fi 14505else 14506 as_ln_s='cp -pR' 14507fi 14508rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14509rmdir conf$$.dir 2>/dev/null 14510 14511 14512# as_fn_mkdir_p 14513# ------------- 14514# Create "$as_dir" as a directory, including parents if necessary. 14515as_fn_mkdir_p () 14516{ 14517 14518 case $as_dir in #( 14519 -*) as_dir=./$as_dir;; 14520 esac 14521 test -d "$as_dir" || eval $as_mkdir_p || { 14522 as_dirs= 14523 while :; do 14524 case $as_dir in #( 14525 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14526 *) as_qdir=$as_dir;; 14527 esac 14528 as_dirs="'$as_qdir' $as_dirs" 14529 as_dir=`$as_dirname -- "$as_dir" || 14530$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14531 X"$as_dir" : 'X\(//\)[^/]' \| \ 14532 X"$as_dir" : 'X\(//\)$' \| \ 14533 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14534$as_echo X"$as_dir" | 14535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14536 s//\1/ 14537 q 14538 } 14539 /^X\(\/\/\)[^/].*/{ 14540 s//\1/ 14541 q 14542 } 14543 /^X\(\/\/\)$/{ 14544 s//\1/ 14545 q 14546 } 14547 /^X\(\/\).*/{ 14548 s//\1/ 14549 q 14550 } 14551 s/.*/./; q'` 14552 test -d "$as_dir" && break 14553 done 14554 test -z "$as_dirs" || eval "mkdir $as_dirs" 14555 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 14556 14557 14558} # as_fn_mkdir_p 14559if mkdir -p . 2>/dev/null; then 14560 as_mkdir_p='mkdir -p "$as_dir"' 14561else 14562 test -d ./-p && rmdir ./-p 14563 as_mkdir_p=false 14564fi 14565 14566 14567# as_fn_executable_p FILE 14568# ----------------------- 14569# Test if FILE is an executable regular file. 14570as_fn_executable_p () 14571{ 14572 test -f "$1" && test -x "$1" 14573} # as_fn_executable_p 14574as_test_x='test -x' 14575as_executable_p=as_fn_executable_p 14576 14577# Sed expression to map a string onto a valid CPP name. 14578as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14579 14580# Sed expression to map a string onto a valid variable name. 14581as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14582 14583 14584exec 6>&1 14585## ----------------------------------- ## 14586## Main body of $CONFIG_STATUS script. ## 14587## ----------------------------------- ## 14588_ASEOF 14589test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 14590 14591cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14592# Save the log message, to keep $0 and so on meaningful, and to 14593# report actual input values of CONFIG_FILES etc. instead of their 14594# values after options handling. 14595ac_log=" 14596This file was extended by Flickcurl $as_me 1.26, which was 14597generated by GNU Autoconf 2.69. Invocation command line was 14598 14599 CONFIG_FILES = $CONFIG_FILES 14600 CONFIG_HEADERS = $CONFIG_HEADERS 14601 CONFIG_LINKS = $CONFIG_LINKS 14602 CONFIG_COMMANDS = $CONFIG_COMMANDS 14603 $ $0 $@ 14604 14605on `(hostname || uname -n) 2>/dev/null | sed 1q` 14606" 14607 14608_ACEOF 14609 14610case $ac_config_files in *" 14611"*) set x $ac_config_files; shift; ac_config_files=$*;; 14612esac 14613 14614case $ac_config_headers in *" 14615"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 14616esac 14617 14618 14619cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14620# Files that config.status was made for. 14621config_files="$ac_config_files" 14622config_headers="$ac_config_headers" 14623config_commands="$ac_config_commands" 14624 14625_ACEOF 14626 14627cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14628ac_cs_usage="\ 14629\`$as_me' instantiates files and other configuration actions 14630from templates according to the current configuration. Unless the files 14631and actions are specified as TAGs, all are instantiated by default. 14632 14633Usage: $0 [OPTION]... [TAG]... 14634 14635 -h, --help print this help, then exit 14636 -V, --version print version number and configuration settings, then exit 14637 --config print configuration, then exit 14638 -q, --quiet, --silent 14639 do not print progress messages 14640 -d, --debug don't remove temporary files 14641 --recheck update $as_me by reconfiguring in the same conditions 14642 --file=FILE[:TEMPLATE] 14643 instantiate the configuration file FILE 14644 --header=FILE[:TEMPLATE] 14645 instantiate the configuration header FILE 14646 14647Configuration files: 14648$config_files 14649 14650Configuration headers: 14651$config_headers 14652 14653Configuration commands: 14654$config_commands 14655 14656Report bugs to <http://bugs.librdf.org/>." 14657 14658_ACEOF 14659cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14660ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14661ac_cs_version="\\ 14662Flickcurl config.status 1.26 14663configured by $0, generated by GNU Autoconf 2.69, 14664 with options \\"\$ac_cs_config\\" 14665 14666Copyright (C) 2012 Free Software Foundation, Inc. 14667This config.status script is free software; the Free Software Foundation 14668gives unlimited permission to copy, distribute and modify it." 14669 14670ac_pwd='$ac_pwd' 14671srcdir='$srcdir' 14672INSTALL='$INSTALL' 14673MKDIR_P='$MKDIR_P' 14674AWK='$AWK' 14675test -n "\$AWK" || AWK=awk 14676_ACEOF 14677 14678cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14679# The default lists apply if the user does not specify any file. 14680ac_need_defaults=: 14681while test $# != 0 14682do 14683 case $1 in 14684 --*=?*) 14685 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14686 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14687 ac_shift=: 14688 ;; 14689 --*=) 14690 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14691 ac_optarg= 14692 ac_shift=: 14693 ;; 14694 *) 14695 ac_option=$1 14696 ac_optarg=$2 14697 ac_shift=shift 14698 ;; 14699 esac 14700 14701 case $ac_option in 14702 # Handling of the options. 14703 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14704 ac_cs_recheck=: ;; 14705 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14706 $as_echo "$ac_cs_version"; exit ;; 14707 --config | --confi | --conf | --con | --co | --c ) 14708 $as_echo "$ac_cs_config"; exit ;; 14709 --debug | --debu | --deb | --de | --d | -d ) 14710 debug=: ;; 14711 --file | --fil | --fi | --f ) 14712 $ac_shift 14713 case $ac_optarg in 14714 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14715 '') as_fn_error $? "missing file argument" ;; 14716 esac 14717 as_fn_append CONFIG_FILES " '$ac_optarg'" 14718 ac_need_defaults=false;; 14719 --header | --heade | --head | --hea ) 14720 $ac_shift 14721 case $ac_optarg in 14722 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14723 esac 14724 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 14725 ac_need_defaults=false;; 14726 --he | --h) 14727 # Conflict between --help and --header 14728 as_fn_error $? "ambiguous option: \`$1' 14729Try \`$0 --help' for more information.";; 14730 --help | --hel | -h ) 14731 $as_echo "$ac_cs_usage"; exit ;; 14732 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14733 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14734 ac_cs_silent=: ;; 14735 14736 # This is an error. 14737 -*) as_fn_error $? "unrecognized option: \`$1' 14738Try \`$0 --help' for more information." ;; 14739 14740 *) as_fn_append ac_config_targets " $1" 14741 ac_need_defaults=false ;; 14742 14743 esac 14744 shift 14745done 14746 14747ac_configure_extra_args= 14748 14749if $ac_cs_silent; then 14750 exec 6>/dev/null 14751 ac_configure_extra_args="$ac_configure_extra_args --silent" 14752fi 14753 14754_ACEOF 14755cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14756if \$ac_cs_recheck; then 14757 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14758 shift 14759 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14760 CONFIG_SHELL='$SHELL' 14761 export CONFIG_SHELL 14762 exec "\$@" 14763fi 14764 14765_ACEOF 14766cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14767exec 5>>config.log 14768{ 14769 echo 14770 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14771## Running $as_me. ## 14772_ASBOX 14773 $as_echo "$ac_log" 14774} >&5 14775 14776_ACEOF 14777cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14778# 14779# INIT-COMMANDS 14780# 14781AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14782 14783 14784# The HP-UX ksh and POSIX shell print the target directory to stdout 14785# if CDPATH is set. 14786(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14787 14788sed_quote_subst='$sed_quote_subst' 14789double_quote_subst='$double_quote_subst' 14790delay_variable_subst='$delay_variable_subst' 14791macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 14792macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 14793enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 14794enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 14795pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 14796enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 14797SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 14798ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 14799PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 14800host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 14801host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 14802host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 14803build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 14804build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 14805build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 14806SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 14807Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 14808GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 14809EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 14810FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 14811LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 14812NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 14813LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 14814max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 14815ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 14816exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 14817lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14818lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14819lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14820lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 14821lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 14822reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14823reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 14824OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 14825deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14826file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 14827file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 14828want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 14829DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 14830sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14831AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 14832AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14833archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 14834STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14835RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14836old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14837old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14838old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 14839lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 14840CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 14841CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 14842compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 14843GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 14844lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 14845lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14846lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14847lt_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"`' 14848nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 14849lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 14850objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 14851MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 14852lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 14853lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 14854lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 14855lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 14856lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 14857need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 14858MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 14859DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14860NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14861LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14862OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 14863OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14864libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14865shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14866extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14867archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14868enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14869export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14870whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14871compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14872old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14873old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14874archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14875archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14876module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14877module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14878with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14879allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14880no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14881hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14882hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14883hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14884hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14885hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14886hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14887hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14888inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14889link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14890always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14891export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14892exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14893include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14894prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14895postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14896file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14897variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14898need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14899need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14900version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14901runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14902shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14903shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14904libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14905library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14906soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14907install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14908postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14909postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14910finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14911finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14912hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14913sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14914sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 14915hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14916enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14917enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14918enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14919old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14920striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14921 14922LTCC='$LTCC' 14923LTCFLAGS='$LTCFLAGS' 14924compiler='$compiler_DEFAULT' 14925 14926# A function that is used when there is no print builtin or printf. 14927func_fallback_echo () 14928{ 14929 eval 'cat <<_LTECHO_EOF 14930\$1 14931_LTECHO_EOF' 14932} 14933 14934# Quote evaled strings. 14935for var in SHELL \ 14936ECHO \ 14937PATH_SEPARATOR \ 14938SED \ 14939GREP \ 14940EGREP \ 14941FGREP \ 14942LD \ 14943NM \ 14944LN_S \ 14945lt_SP2NL \ 14946lt_NL2SP \ 14947reload_flag \ 14948OBJDUMP \ 14949deplibs_check_method \ 14950file_magic_cmd \ 14951file_magic_glob \ 14952want_nocaseglob \ 14953DLLTOOL \ 14954sharedlib_from_linklib_cmd \ 14955AR \ 14956AR_FLAGS \ 14957archiver_list_spec \ 14958STRIP \ 14959RANLIB \ 14960CC \ 14961CFLAGS \ 14962compiler \ 14963lt_cv_sys_global_symbol_pipe \ 14964lt_cv_sys_global_symbol_to_cdecl \ 14965lt_cv_sys_global_symbol_to_c_name_address \ 14966lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14967nm_file_list_spec \ 14968lt_prog_compiler_no_builtin_flag \ 14969lt_prog_compiler_pic \ 14970lt_prog_compiler_wl \ 14971lt_prog_compiler_static \ 14972lt_cv_prog_compiler_c_o \ 14973need_locks \ 14974MANIFEST_TOOL \ 14975DSYMUTIL \ 14976NMEDIT \ 14977LIPO \ 14978OTOOL \ 14979OTOOL64 \ 14980shrext_cmds \ 14981export_dynamic_flag_spec \ 14982whole_archive_flag_spec \ 14983compiler_needs_object \ 14984with_gnu_ld \ 14985allow_undefined_flag \ 14986no_undefined_flag \ 14987hardcode_libdir_flag_spec \ 14988hardcode_libdir_separator \ 14989exclude_expsyms \ 14990include_expsyms \ 14991file_list_spec \ 14992variables_saved_for_relink \ 14993libname_spec \ 14994library_names_spec \ 14995soname_spec \ 14996install_override_mode \ 14997finish_eval \ 14998old_striplib \ 14999striplib; do 15000 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15001 *[\\\\\\\`\\"\\\$]*) 15002 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 15003 ;; 15004 *) 15005 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15006 ;; 15007 esac 15008done 15009 15010# Double-quote double-evaled strings. 15011for var in reload_cmds \ 15012old_postinstall_cmds \ 15013old_postuninstall_cmds \ 15014old_archive_cmds \ 15015extract_expsyms_cmds \ 15016old_archive_from_new_cmds \ 15017old_archive_from_expsyms_cmds \ 15018archive_cmds \ 15019archive_expsym_cmds \ 15020module_cmds \ 15021module_expsym_cmds \ 15022export_symbols_cmds \ 15023prelink_cmds \ 15024postlink_cmds \ 15025postinstall_cmds \ 15026postuninstall_cmds \ 15027finish_cmds \ 15028sys_lib_search_path_spec \ 15029sys_lib_dlsearch_path_spec; do 15030 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15031 *[\\\\\\\`\\"\\\$]*) 15032 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 15033 ;; 15034 *) 15035 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15036 ;; 15037 esac 15038done 15039 15040ac_aux_dir='$ac_aux_dir' 15041xsi_shell='$xsi_shell' 15042lt_shell_append='$lt_shell_append' 15043 15044# See if we are running on zsh, and set the options which allow our 15045# commands through without removal of \ escapes INIT. 15046if test -n "\${ZSH_VERSION+set}" ; then 15047 setopt NO_GLOB_SUBST 15048fi 15049 15050 15051 PACKAGE='$PACKAGE' 15052 VERSION='$VERSION' 15053 TIMESTAMP='$TIMESTAMP' 15054 RM='$RM' 15055 ofile='$ofile' 15056 15057 15058 15059 15060_ACEOF 15061 15062cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15063 15064# Handling of arguments. 15065for ac_config_target in $ac_config_targets 15066do 15067 case $ac_config_target in 15068 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; 15069 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 15070 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 15071 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 15072 "libmtwist/Makefile") CONFIG_FILES="$CONFIG_FILES libmtwist/Makefile" ;; 15073 "getopt/Makefile") CONFIG_FILES="$CONFIG_FILES getopt/Makefile" ;; 15074 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 15075 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;; 15076 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 15077 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 15078 "docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;; 15079 "flickcurl.spec") CONFIG_FILES="$CONFIG_FILES flickcurl.spec" ;; 15080 "flickcurl.rdf") CONFIG_FILES="$CONFIG_FILES flickcurl.rdf" ;; 15081 "flickcurl.pc") CONFIG_FILES="$CONFIG_FILES flickcurl.pc" ;; 15082 "flickcurl-config") CONFIG_FILES="$CONFIG_FILES flickcurl-config" ;; 15083 15084 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15085 esac 15086done 15087 15088 15089# If the user did not use the arguments to specify the items to instantiate, 15090# then the envvar interface is used. Set only those that are not. 15091# We use the long form for the default assignment because of an extremely 15092# bizarre bug on SunOS 4.1.3. 15093if $ac_need_defaults; then 15094 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 15095 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 15096 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 15097fi 15098 15099# Have a temporary directory for convenience. Make it in the build tree 15100# simply because there is no reason against having it here, and in addition, 15101# creating and moving files from /tmp can sometimes cause problems. 15102# Hook for its removal unless debugging. 15103# Note that there is a small window in which the directory will not be cleaned: 15104# after its creation but before its name has been assigned to `$tmp'. 15105$debug || 15106{ 15107 tmp= ac_tmp= 15108 trap 'exit_status=$? 15109 : "${ac_tmp:=$tmp}" 15110 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 15111' 0 15112 trap 'as_fn_exit 1' 1 2 13 15 15113} 15114# Create a (secure) tmp directory for tmp files. 15115 15116{ 15117 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 15118 test -d "$tmp" 15119} || 15120{ 15121 tmp=./conf$$-$RANDOM 15122 (umask 077 && mkdir "$tmp") 15123} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 15124ac_tmp=$tmp 15125 15126# Set up the scripts for CONFIG_FILES section. 15127# No need to generate them if there are no CONFIG_FILES. 15128# This happens for instance with `./config.status config.h'. 15129if test -n "$CONFIG_FILES"; then 15130 15131 15132ac_cr=`echo X | tr X '\015'` 15133# On cygwin, bash can eat \r inside `` if the user requested igncr. 15134# But we know of no other shell where ac_cr would be empty at this 15135# point, so we can use a bashism as a fallback. 15136if test "x$ac_cr" = x; then 15137 eval ac_cr=\$\'\\r\' 15138fi 15139ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15140if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15141 ac_cs_awk_cr='\\r' 15142else 15143 ac_cs_awk_cr=$ac_cr 15144fi 15145 15146echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 15147_ACEOF 15148 15149 15150{ 15151 echo "cat >conf$$subs.awk <<_ACEOF" && 15152 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15153 echo "_ACEOF" 15154} >conf$$subs.sh || 15155 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15156ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 15157ac_delim='%!_!# ' 15158for ac_last_try in false false false false false :; do 15159 . ./conf$$subs.sh || 15160 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15161 15162 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15163 if test $ac_delim_n = $ac_delim_num; then 15164 break 15165 elif $ac_last_try; then 15166 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15167 else 15168 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15169 fi 15170done 15171rm -f conf$$subs.sh 15172 15173cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15174cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 15175_ACEOF 15176sed -n ' 15177h 15178s/^/S["/; s/!.*/"]=/ 15179p 15180g 15181s/^[^!]*!// 15182:repl 15183t repl 15184s/'"$ac_delim"'$// 15185t delim 15186:nl 15187h 15188s/\(.\{148\}\)..*/\1/ 15189t more1 15190s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 15191p 15192n 15193b repl 15194:more1 15195s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15196p 15197g 15198s/.\{148\}// 15199t nl 15200:delim 15201h 15202s/\(.\{148\}\)..*/\1/ 15203t more2 15204s/["\\]/\\&/g; s/^/"/; s/$/"/ 15205p 15206b 15207:more2 15208s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15209p 15210g 15211s/.\{148\}// 15212t delim 15213' <conf$$subs.awk | sed ' 15214/^[^""]/{ 15215 N 15216 s/\n// 15217} 15218' >>$CONFIG_STATUS || ac_write_fail=1 15219rm -f conf$$subs.awk 15220cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15221_ACAWK 15222cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 15223 for (key in S) S_is_set[key] = 1 15224 FS = "" 15225 15226} 15227{ 15228 line = $ 0 15229 nfields = split(line, field, "@") 15230 substed = 0 15231 len = length(field[1]) 15232 for (i = 2; i < nfields; i++) { 15233 key = field[i] 15234 keylen = length(key) 15235 if (S_is_set[key]) { 15236 value = S[key] 15237 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 15238 len += length(value) + length(field[++i]) 15239 substed = 1 15240 } else 15241 len += 1 + keylen 15242 } 15243 15244 print line 15245} 15246 15247_ACAWK 15248_ACEOF 15249cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15250if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 15251 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15252else 15253 cat 15254fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 15255 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 15256_ACEOF 15257 15258# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 15259# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 15260# trailing colons and then remove the whole line if VPATH becomes empty 15261# (actually we leave an empty line to preserve line numbers). 15262if test "x$srcdir" = x.; then 15263 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 15264h 15265s/// 15266s/^/:/ 15267s/[ ]*$/:/ 15268s/:\$(srcdir):/:/g 15269s/:\${srcdir}:/:/g 15270s/:@srcdir@:/:/g 15271s/^:*// 15272s/:*$// 15273x 15274s/\(=[ ]*\).*/\1/ 15275G 15276s/\n// 15277s/^[^=]*=[ ]*$// 15278}' 15279fi 15280 15281cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15282fi # test -n "$CONFIG_FILES" 15283 15284# Set up the scripts for CONFIG_HEADERS section. 15285# No need to generate them if there are no CONFIG_HEADERS. 15286# This happens for instance with `./config.status Makefile'. 15287if test -n "$CONFIG_HEADERS"; then 15288cat >"$ac_tmp/defines.awk" <<\_ACAWK || 15289BEGIN { 15290_ACEOF 15291 15292# Transform confdefs.h into an awk script `defines.awk', embedded as 15293# here-document in config.status, that substitutes the proper values into 15294# config.h.in to produce config.h. 15295 15296# Create a delimiter string that does not exist in confdefs.h, to ease 15297# handling of long lines. 15298ac_delim='%!_!# ' 15299for ac_last_try in false false :; do 15300 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 15301 if test -z "$ac_tt"; then 15302 break 15303 elif $ac_last_try; then 15304 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 15305 else 15306 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15307 fi 15308done 15309 15310# For the awk script, D is an array of macro values keyed by name, 15311# likewise P contains macro parameters if any. Preserve backslash 15312# newline sequences. 15313 15314ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 15315sed -n ' 15316s/.\{148\}/&'"$ac_delim"'/g 15317t rset 15318:rset 15319s/^[ ]*#[ ]*define[ ][ ]*/ / 15320t def 15321d 15322:def 15323s/\\$// 15324t bsnl 15325s/["\\]/\\&/g 15326s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15327D["\1"]=" \3"/p 15328s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 15329d 15330:bsnl 15331s/["\\]/\\&/g 15332s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15333D["\1"]=" \3\\\\\\n"\\/p 15334t cont 15335s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 15336t cont 15337d 15338:cont 15339n 15340s/.\{148\}/&'"$ac_delim"'/g 15341t clear 15342:clear 15343s/\\$// 15344t bsnlc 15345s/["\\]/\\&/g; s/^/"/; s/$/"/p 15346d 15347:bsnlc 15348s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 15349b cont 15350' <confdefs.h | sed ' 15351s/'"$ac_delim"'/"\\\ 15352"/g' >>$CONFIG_STATUS || ac_write_fail=1 15353 15354cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15355 for (key in D) D_is_set[key] = 1 15356 FS = "" 15357} 15358/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 15359 line = \$ 0 15360 split(line, arg, " ") 15361 if (arg[1] == "#") { 15362 defundef = arg[2] 15363 mac1 = arg[3] 15364 } else { 15365 defundef = substr(arg[1], 2) 15366 mac1 = arg[2] 15367 } 15368 split(mac1, mac2, "(") #) 15369 macro = mac2[1] 15370 prefix = substr(line, 1, index(line, defundef) - 1) 15371 if (D_is_set[macro]) { 15372 # Preserve the white space surrounding the "#". 15373 print prefix "define", macro P[macro] D[macro] 15374 next 15375 } else { 15376 # Replace #undef with comments. This is necessary, for example, 15377 # in the case of _POSIX_SOURCE, which is predefined and required 15378 # on some systems where configure will not decide to define it. 15379 if (defundef == "undef") { 15380 print "/*", prefix defundef, macro, "*/" 15381 next 15382 } 15383 } 15384} 15385{ print } 15386_ACAWK 15387_ACEOF 15388cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15389 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 15390fi # test -n "$CONFIG_HEADERS" 15391 15392 15393eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 15394shift 15395for ac_tag 15396do 15397 case $ac_tag in 15398 :[FHLC]) ac_mode=$ac_tag; continue;; 15399 esac 15400 case $ac_mode$ac_tag in 15401 :[FHL]*:*);; 15402 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 15403 :[FH]-) ac_tag=-:-;; 15404 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 15405 esac 15406 ac_save_IFS=$IFS 15407 IFS=: 15408 set x $ac_tag 15409 IFS=$ac_save_IFS 15410 shift 15411 ac_file=$1 15412 shift 15413 15414 case $ac_mode in 15415 :L) ac_source=$1;; 15416 :[FH]) 15417 ac_file_inputs= 15418 for ac_f 15419 do 15420 case $ac_f in 15421 -) ac_f="$ac_tmp/stdin";; 15422 *) # Look for the file first in the build tree, then in the source tree 15423 # (if the path is not absolute). The absolute path cannot be DOS-style, 15424 # because $ac_f cannot contain `:'. 15425 test -f "$ac_f" || 15426 case $ac_f in 15427 [\\/$]*) false;; 15428 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 15429 esac || 15430 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 15431 esac 15432 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 15433 as_fn_append ac_file_inputs " '$ac_f'" 15434 done 15435 15436 # Let's still pretend it is `configure' which instantiates (i.e., don't 15437 # use $as_me), people would be surprised to read: 15438 # /* config.h. Generated by config.status. */ 15439 configure_input='Generated from '` 15440 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 15441 `' by configure.' 15442 if test x"$ac_file" != x-; then 15443 configure_input="$ac_file. $configure_input" 15444 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 15445$as_echo "$as_me: creating $ac_file" >&6;} 15446 fi 15447 # Neutralize special characters interpreted by sed in replacement strings. 15448 case $configure_input in #( 15449 *\&* | *\|* | *\\* ) 15450 ac_sed_conf_input=`$as_echo "$configure_input" | 15451 sed 's/[\\\\&|]/\\\\&/g'`;; #( 15452 *) ac_sed_conf_input=$configure_input;; 15453 esac 15454 15455 case $ac_tag in 15456 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 15457 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 15458 esac 15459 ;; 15460 esac 15461 15462 ac_dir=`$as_dirname -- "$ac_file" || 15463$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15464 X"$ac_file" : 'X\(//\)[^/]' \| \ 15465 X"$ac_file" : 'X\(//\)$' \| \ 15466 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 15467$as_echo X"$ac_file" | 15468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15469 s//\1/ 15470 q 15471 } 15472 /^X\(\/\/\)[^/].*/{ 15473 s//\1/ 15474 q 15475 } 15476 /^X\(\/\/\)$/{ 15477 s//\1/ 15478 q 15479 } 15480 /^X\(\/\).*/{ 15481 s//\1/ 15482 q 15483 } 15484 s/.*/./; q'` 15485 as_dir="$ac_dir"; as_fn_mkdir_p 15486 ac_builddir=. 15487 15488case "$ac_dir" in 15489.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 15490*) 15491 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 15492 # A ".." for each directory in $ac_dir_suffix. 15493 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 15494 case $ac_top_builddir_sub in 15495 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 15496 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 15497 esac ;; 15498esac 15499ac_abs_top_builddir=$ac_pwd 15500ac_abs_builddir=$ac_pwd$ac_dir_suffix 15501# for backward compatibility: 15502ac_top_builddir=$ac_top_build_prefix 15503 15504case $srcdir in 15505 .) # We are building in place. 15506 ac_srcdir=. 15507 ac_top_srcdir=$ac_top_builddir_sub 15508 ac_abs_top_srcdir=$ac_pwd ;; 15509 [\\/]* | ?:[\\/]* ) # Absolute name. 15510 ac_srcdir=$srcdir$ac_dir_suffix; 15511 ac_top_srcdir=$srcdir 15512 ac_abs_top_srcdir=$srcdir ;; 15513 *) # Relative name. 15514 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 15515 ac_top_srcdir=$ac_top_build_prefix$srcdir 15516 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 15517esac 15518ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 15519 15520 15521 case $ac_mode in 15522 :F) 15523 # 15524 # CONFIG_FILE 15525 # 15526 15527 case $INSTALL in 15528 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 15529 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 15530 esac 15531 ac_MKDIR_P=$MKDIR_P 15532 case $MKDIR_P in 15533 [\\/$]* | ?:[\\/]* ) ;; 15534 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 15535 esac 15536_ACEOF 15537 15538cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15539# If the template does not know about datarootdir, expand it. 15540# FIXME: This hack should be removed a few years after 2.60. 15541ac_datarootdir_hack=; ac_datarootdir_seen= 15542ac_sed_dataroot=' 15543/datarootdir/ { 15544 p 15545 q 15546} 15547/@datadir@/p 15548/@docdir@/p 15549/@infodir@/p 15550/@localedir@/p 15551/@mandir@/p' 15552case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 15553*datarootdir*) ac_datarootdir_seen=yes;; 15554*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 15555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 15556$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 15557_ACEOF 15558cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15559 ac_datarootdir_hack=' 15560 s&@datadir@&$datadir&g 15561 s&@docdir@&$docdir&g 15562 s&@infodir@&$infodir&g 15563 s&@localedir@&$localedir&g 15564 s&@mandir@&$mandir&g 15565 s&\\\${datarootdir}&$datarootdir&g' ;; 15566esac 15567_ACEOF 15568 15569# Neutralize VPATH when `$srcdir' = `.'. 15570# Shell code in configure.ac might set extrasub. 15571# FIXME: do we really want to maintain this feature? 15572cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15573ac_sed_extra="$ac_vpsub 15574$extrasub 15575_ACEOF 15576cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15577:t 15578/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 15579s|@configure_input@|$ac_sed_conf_input|;t t 15580s&@top_builddir@&$ac_top_builddir_sub&;t t 15581s&@top_build_prefix@&$ac_top_build_prefix&;t t 15582s&@srcdir@&$ac_srcdir&;t t 15583s&@abs_srcdir@&$ac_abs_srcdir&;t t 15584s&@top_srcdir@&$ac_top_srcdir&;t t 15585s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 15586s&@builddir@&$ac_builddir&;t t 15587s&@abs_builddir@&$ac_abs_builddir&;t t 15588s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 15589s&@INSTALL@&$ac_INSTALL&;t t 15590s&@MKDIR_P@&$ac_MKDIR_P&;t t 15591$ac_datarootdir_hack 15592" 15593eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 15594 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15595 15596test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15597 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 15598 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 15599 "$ac_tmp/out"`; test -z "$ac_out"; } && 15600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15601which seems to be undefined. Please make sure it is defined" >&5 15602$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15603which seems to be undefined. Please make sure it is defined" >&2;} 15604 15605 rm -f "$ac_tmp/stdin" 15606 case $ac_file in 15607 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 15608 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 15609 esac \ 15610 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15611 ;; 15612 :H) 15613 # 15614 # CONFIG_HEADER 15615 # 15616 if test x"$ac_file" != x-; then 15617 { 15618 $as_echo "/* $configure_input */" \ 15619 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 15620 } >"$ac_tmp/config.h" \ 15621 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15622 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 15623 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 15624$as_echo "$as_me: $ac_file is unchanged" >&6;} 15625 else 15626 rm -f "$ac_file" 15627 mv "$ac_tmp/config.h" "$ac_file" \ 15628 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15629 fi 15630 else 15631 $as_echo "/* $configure_input */" \ 15632 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 15633 || as_fn_error $? "could not create -" "$LINENO" 5 15634 fi 15635# Compute "$ac_file"'s index in $config_headers. 15636_am_arg="$ac_file" 15637_am_stamp_count=1 15638for _am_header in $config_headers :; do 15639 case $_am_header in 15640 $_am_arg | $_am_arg:* ) 15641 break ;; 15642 * ) 15643 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 15644 esac 15645done 15646echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 15647$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15648 X"$_am_arg" : 'X\(//\)[^/]' \| \ 15649 X"$_am_arg" : 'X\(//\)$' \| \ 15650 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 15651$as_echo X"$_am_arg" | 15652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15653 s//\1/ 15654 q 15655 } 15656 /^X\(\/\/\)[^/].*/{ 15657 s//\1/ 15658 q 15659 } 15660 /^X\(\/\/\)$/{ 15661 s//\1/ 15662 q 15663 } 15664 /^X\(\/\).*/{ 15665 s//\1/ 15666 q 15667 } 15668 s/.*/./; q'`/stamp-h$_am_stamp_count 15669 ;; 15670 15671 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 15672$as_echo "$as_me: executing $ac_file commands" >&6;} 15673 ;; 15674 esac 15675 15676 15677 case $ac_file$ac_mode in 15678 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 15679 # Autoconf 2.62 quotes --file arguments for eval, but not when files 15680 # are listed without --file. Let's play safe and only enable the eval 15681 # if we detect the quoting. 15682 case $CONFIG_FILES in 15683 *\'*) eval set x "$CONFIG_FILES" ;; 15684 *) set x $CONFIG_FILES ;; 15685 esac 15686 shift 15687 for mf 15688 do 15689 # Strip MF so we end up with the name of the file. 15690 mf=`echo "$mf" | sed -e 's/:.*$//'` 15691 # Check whether this is an Automake generated Makefile or not. 15692 # We used to match only the files named `Makefile.in', but 15693 # some people rename them; so instead we look at the file content. 15694 # Grep'ing the first line is not enough: some people post-process 15695 # each Makefile.in and add a new line on top of each file to say so. 15696 # Grep'ing the whole file is not good either: AIX grep has a line 15697 # limit of 2048, but all sed's we know have understand at least 4000. 15698 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 15699 dirpart=`$as_dirname -- "$mf" || 15700$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15701 X"$mf" : 'X\(//\)[^/]' \| \ 15702 X"$mf" : 'X\(//\)$' \| \ 15703 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 15704$as_echo X"$mf" | 15705 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15706 s//\1/ 15707 q 15708 } 15709 /^X\(\/\/\)[^/].*/{ 15710 s//\1/ 15711 q 15712 } 15713 /^X\(\/\/\)$/{ 15714 s//\1/ 15715 q 15716 } 15717 /^X\(\/\).*/{ 15718 s//\1/ 15719 q 15720 } 15721 s/.*/./; q'` 15722 else 15723 continue 15724 fi 15725 # Extract the definition of DEPDIR, am__include, and am__quote 15726 # from the Makefile without running `make'. 15727 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 15728 test -z "$DEPDIR" && continue 15729 am__include=`sed -n 's/^am__include = //p' < "$mf"` 15730 test -z "am__include" && continue 15731 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 15732 # When using ansi2knr, U may be empty or an underscore; expand it 15733 U=`sed -n 's/^U = //p' < "$mf"` 15734 # Find all dependency output files, they are included files with 15735 # $(DEPDIR) in their names. We invoke sed twice because it is the 15736 # simplest approach to changing $(DEPDIR) to its actual value in the 15737 # expansion. 15738 for file in `sed -n " 15739 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 15740 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 15741 # Make sure the directory exists. 15742 test -f "$dirpart/$file" && continue 15743 fdir=`$as_dirname -- "$file" || 15744$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15745 X"$file" : 'X\(//\)[^/]' \| \ 15746 X"$file" : 'X\(//\)$' \| \ 15747 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15748$as_echo X"$file" | 15749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15750 s//\1/ 15751 q 15752 } 15753 /^X\(\/\/\)[^/].*/{ 15754 s//\1/ 15755 q 15756 } 15757 /^X\(\/\/\)$/{ 15758 s//\1/ 15759 q 15760 } 15761 /^X\(\/\).*/{ 15762 s//\1/ 15763 q 15764 } 15765 s/.*/./; q'` 15766 as_dir=$dirpart/$fdir; as_fn_mkdir_p 15767 # echo "creating $dirpart/$file" 15768 echo '# dummy' > "$dirpart/$file" 15769 done 15770 done 15771} 15772 ;; 15773 "libtool":C) 15774 15775 # See if we are running on zsh, and set the options which allow our 15776 # commands through without removal of \ escapes. 15777 if test -n "${ZSH_VERSION+set}" ; then 15778 setopt NO_GLOB_SUBST 15779 fi 15780 15781 cfgfile="${ofile}T" 15782 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15783 $RM "$cfgfile" 15784 15785 cat <<_LT_EOF >> "$cfgfile" 15786#! $SHELL 15787 15788# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 15789# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 15790# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15791# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15792# 15793# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 15794# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 15795# Foundation, Inc. 15796# Written by Gordon Matzigkeit, 1996 15797# 15798# This file is part of GNU Libtool. 15799# 15800# GNU Libtool is free software; you can redistribute it and/or 15801# modify it under the terms of the GNU General Public License as 15802# published by the Free Software Foundation; either version 2 of 15803# the License, or (at your option) any later version. 15804# 15805# As a special exception to the GNU General Public License, 15806# if you distribute this file as part of a program or library that 15807# is built using GNU Libtool, you may include this file under the 15808# same distribution terms that you use for the rest of that program. 15809# 15810# GNU Libtool is distributed in the hope that it will be useful, 15811# but WITHOUT ANY WARRANTY; without even the implied warranty of 15812# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15813# GNU General Public License for more details. 15814# 15815# You should have received a copy of the GNU General Public License 15816# along with GNU Libtool; see the file COPYING. If not, a copy 15817# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 15818# obtained by writing to the Free Software Foundation, Inc., 15819# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 15820 15821 15822# The names of the tagged configurations supported by this script. 15823available_tags="" 15824 15825# ### BEGIN LIBTOOL CONFIG 15826 15827# Which release of libtool.m4 was used? 15828macro_version=$macro_version 15829macro_revision=$macro_revision 15830 15831# Whether or not to build shared libraries. 15832build_libtool_libs=$enable_shared 15833 15834# Whether or not to build static libraries. 15835build_old_libs=$enable_static 15836 15837# What type of objects to build. 15838pic_mode=$pic_mode 15839 15840# Whether or not to optimize for fast installation. 15841fast_install=$enable_fast_install 15842 15843# Shell to use when invoking shell scripts. 15844SHELL=$lt_SHELL 15845 15846# An echo program that protects backslashes. 15847ECHO=$lt_ECHO 15848 15849# The PATH separator for the build system. 15850PATH_SEPARATOR=$lt_PATH_SEPARATOR 15851 15852# The host system. 15853host_alias=$host_alias 15854host=$host 15855host_os=$host_os 15856 15857# The build system. 15858build_alias=$build_alias 15859build=$build 15860build_os=$build_os 15861 15862# A sed program that does not truncate output. 15863SED=$lt_SED 15864 15865# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15866Xsed="\$SED -e 1s/^X//" 15867 15868# A grep program that handles long lines. 15869GREP=$lt_GREP 15870 15871# An ERE matcher. 15872EGREP=$lt_EGREP 15873 15874# A literal string matcher. 15875FGREP=$lt_FGREP 15876 15877# A BSD- or MS-compatible name lister. 15878NM=$lt_NM 15879 15880# Whether we need soft or hard links. 15881LN_S=$lt_LN_S 15882 15883# What is the maximum length of a command? 15884max_cmd_len=$max_cmd_len 15885 15886# Object file suffix (normally "o"). 15887objext=$ac_objext 15888 15889# Executable file suffix (normally ""). 15890exeext=$exeext 15891 15892# whether the shell understands "unset". 15893lt_unset=$lt_unset 15894 15895# turn spaces into newlines. 15896SP2NL=$lt_lt_SP2NL 15897 15898# turn newlines into spaces. 15899NL2SP=$lt_lt_NL2SP 15900 15901# convert \$build file names to \$host format. 15902to_host_file_cmd=$lt_cv_to_host_file_cmd 15903 15904# convert \$build files to toolchain format. 15905to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15906 15907# An object symbol dumper. 15908OBJDUMP=$lt_OBJDUMP 15909 15910# Method to check whether dependent libraries are shared objects. 15911deplibs_check_method=$lt_deplibs_check_method 15912 15913# Command to use when deplibs_check_method = "file_magic". 15914file_magic_cmd=$lt_file_magic_cmd 15915 15916# How to find potential files when deplibs_check_method = "file_magic". 15917file_magic_glob=$lt_file_magic_glob 15918 15919# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 15920want_nocaseglob=$lt_want_nocaseglob 15921 15922# DLL creation program. 15923DLLTOOL=$lt_DLLTOOL 15924 15925# Command to associate shared and link libraries. 15926sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 15927 15928# The archiver. 15929AR=$lt_AR 15930 15931# Flags to create an archive. 15932AR_FLAGS=$lt_AR_FLAGS 15933 15934# How to feed a file listing to the archiver. 15935archiver_list_spec=$lt_archiver_list_spec 15936 15937# A symbol stripping program. 15938STRIP=$lt_STRIP 15939 15940# Commands used to install an old-style archive. 15941RANLIB=$lt_RANLIB 15942old_postinstall_cmds=$lt_old_postinstall_cmds 15943old_postuninstall_cmds=$lt_old_postuninstall_cmds 15944 15945# Whether to use a lock for old archive extraction. 15946lock_old_archive_extraction=$lock_old_archive_extraction 15947 15948# A C compiler. 15949LTCC=$lt_CC 15950 15951# LTCC compiler flags. 15952LTCFLAGS=$lt_CFLAGS 15953 15954# Take the output of nm and produce a listing of raw symbols and C names. 15955global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15956 15957# Transform the output of nm in a proper C declaration. 15958global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15959 15960# Transform the output of nm in a C name address pair. 15961global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15962 15963# Transform the output of nm in a C name address pair when lib prefix is needed. 15964global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15965 15966# Specify filename containing input files for \$NM. 15967nm_file_list_spec=$lt_nm_file_list_spec 15968 15969# The root where to search for dependent libraries,and in which our libraries should be installed. 15970lt_sysroot=$lt_sysroot 15971 15972# The name of the directory that contains temporary libtool files. 15973objdir=$objdir 15974 15975# Used to examine libraries when file_magic_cmd begins with "file". 15976MAGIC_CMD=$MAGIC_CMD 15977 15978# Must we lock files when doing compilation? 15979need_locks=$lt_need_locks 15980 15981# Manifest tool. 15982MANIFEST_TOOL=$lt_MANIFEST_TOOL 15983 15984# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15985DSYMUTIL=$lt_DSYMUTIL 15986 15987# Tool to change global to local symbols on Mac OS X. 15988NMEDIT=$lt_NMEDIT 15989 15990# Tool to manipulate fat objects and archives on Mac OS X. 15991LIPO=$lt_LIPO 15992 15993# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15994OTOOL=$lt_OTOOL 15995 15996# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15997OTOOL64=$lt_OTOOL64 15998 15999# Old archive suffix (normally "a"). 16000libext=$libext 16001 16002# Shared library suffix (normally ".so"). 16003shrext_cmds=$lt_shrext_cmds 16004 16005# The commands to extract the exported symbol list from a shared archive. 16006extract_expsyms_cmds=$lt_extract_expsyms_cmds 16007 16008# Variables whose values should be saved in libtool wrapper scripts and 16009# restored at link time. 16010variables_saved_for_relink=$lt_variables_saved_for_relink 16011 16012# Do we need the "lib" prefix for modules? 16013need_lib_prefix=$need_lib_prefix 16014 16015# Do we need a version for libraries? 16016need_version=$need_version 16017 16018# Library versioning type. 16019version_type=$version_type 16020 16021# Shared library runtime path variable. 16022runpath_var=$runpath_var 16023 16024# Shared library path variable. 16025shlibpath_var=$shlibpath_var 16026 16027# Is shlibpath searched before the hard-coded library search path? 16028shlibpath_overrides_runpath=$shlibpath_overrides_runpath 16029 16030# Format of library name prefix. 16031libname_spec=$lt_libname_spec 16032 16033# List of archive names. First name is the real one, the rest are links. 16034# The last name is the one that the linker finds with -lNAME 16035library_names_spec=$lt_library_names_spec 16036 16037# The coded name of the library, if different from the real name. 16038soname_spec=$lt_soname_spec 16039 16040# Permission mode override for installation of shared libraries. 16041install_override_mode=$lt_install_override_mode 16042 16043# Command to use after installation of a shared archive. 16044postinstall_cmds=$lt_postinstall_cmds 16045 16046# Command to use after uninstallation of a shared archive. 16047postuninstall_cmds=$lt_postuninstall_cmds 16048 16049# Commands used to finish a libtool library installation in a directory. 16050finish_cmds=$lt_finish_cmds 16051 16052# As "finish_cmds", except a single script fragment to be evaled but 16053# not shown. 16054finish_eval=$lt_finish_eval 16055 16056# Whether we should hardcode library paths into libraries. 16057hardcode_into_libs=$hardcode_into_libs 16058 16059# Compile-time system search path for libraries. 16060sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 16061 16062# Run-time system search path for libraries. 16063sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 16064 16065# Whether dlopen is supported. 16066dlopen_support=$enable_dlopen 16067 16068# Whether dlopen of programs is supported. 16069dlopen_self=$enable_dlopen_self 16070 16071# Whether dlopen of statically linked programs is supported. 16072dlopen_self_static=$enable_dlopen_self_static 16073 16074# Commands to strip libraries. 16075old_striplib=$lt_old_striplib 16076striplib=$lt_striplib 16077 16078 16079# The linker used to build libraries. 16080LD=$lt_LD 16081 16082# How to create reloadable object files. 16083reload_flag=$lt_reload_flag 16084reload_cmds=$lt_reload_cmds 16085 16086# Commands used to build an old-style archive. 16087old_archive_cmds=$lt_old_archive_cmds 16088 16089# A language specific compiler. 16090CC=$lt_compiler 16091 16092# Is the compiler the GNU compiler? 16093with_gcc=$GCC 16094 16095# Compiler flag to turn off builtin functions. 16096no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 16097 16098# Additional compiler flags for building library objects. 16099pic_flag=$lt_lt_prog_compiler_pic 16100 16101# How to pass a linker flag through the compiler. 16102wl=$lt_lt_prog_compiler_wl 16103 16104# Compiler flag to prevent dynamic linking. 16105link_static_flag=$lt_lt_prog_compiler_static 16106 16107# Does compiler simultaneously support -c and -o options? 16108compiler_c_o=$lt_lt_cv_prog_compiler_c_o 16109 16110# Whether or not to add -lc for building shared libraries. 16111build_libtool_need_lc=$archive_cmds_need_lc 16112 16113# Whether or not to disallow shared libs when runtime libs are static. 16114allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 16115 16116# Compiler flag to allow reflexive dlopens. 16117export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 16118 16119# Compiler flag to generate shared objects directly from archives. 16120whole_archive_flag_spec=$lt_whole_archive_flag_spec 16121 16122# Whether the compiler copes with passing no objects directly. 16123compiler_needs_object=$lt_compiler_needs_object 16124 16125# Create an old-style archive from a shared archive. 16126old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 16127 16128# Create a temporary old-style archive to link instead of a shared archive. 16129old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 16130 16131# Commands used to build a shared archive. 16132archive_cmds=$lt_archive_cmds 16133archive_expsym_cmds=$lt_archive_expsym_cmds 16134 16135# Commands used to build a loadable module if different from building 16136# a shared archive. 16137module_cmds=$lt_module_cmds 16138module_expsym_cmds=$lt_module_expsym_cmds 16139 16140# Whether we are building with GNU ld or not. 16141with_gnu_ld=$lt_with_gnu_ld 16142 16143# Flag that allows shared libraries with undefined symbols to be built. 16144allow_undefined_flag=$lt_allow_undefined_flag 16145 16146# Flag that enforces no undefined symbols. 16147no_undefined_flag=$lt_no_undefined_flag 16148 16149# Flag to hardcode \$libdir into a binary during linking. 16150# This must work even if \$libdir does not exist 16151hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 16152 16153# Whether we need a single "-rpath" flag with a separated argument. 16154hardcode_libdir_separator=$lt_hardcode_libdir_separator 16155 16156# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 16157# DIR into the resulting binary. 16158hardcode_direct=$hardcode_direct 16159 16160# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 16161# DIR into the resulting binary and the resulting library dependency is 16162# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 16163# library is relocated. 16164hardcode_direct_absolute=$hardcode_direct_absolute 16165 16166# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 16167# into the resulting binary. 16168hardcode_minus_L=$hardcode_minus_L 16169 16170# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 16171# into the resulting binary. 16172hardcode_shlibpath_var=$hardcode_shlibpath_var 16173 16174# Set to "yes" if building a shared library automatically hardcodes DIR 16175# into the library and all subsequent libraries and executables linked 16176# against it. 16177hardcode_automatic=$hardcode_automatic 16178 16179# Set to yes if linker adds runtime paths of dependent libraries 16180# to runtime path list. 16181inherit_rpath=$inherit_rpath 16182 16183# Whether libtool must link a program against all its dependency libraries. 16184link_all_deplibs=$link_all_deplibs 16185 16186# Set to "yes" if exported symbols are required. 16187always_export_symbols=$always_export_symbols 16188 16189# The commands to list exported symbols. 16190export_symbols_cmds=$lt_export_symbols_cmds 16191 16192# Symbols that should not be listed in the preloaded symbols. 16193exclude_expsyms=$lt_exclude_expsyms 16194 16195# Symbols that must always be exported. 16196include_expsyms=$lt_include_expsyms 16197 16198# Commands necessary for linking programs (against libraries) with templates. 16199prelink_cmds=$lt_prelink_cmds 16200 16201# Commands necessary for finishing linking programs. 16202postlink_cmds=$lt_postlink_cmds 16203 16204# Specify filename containing input files. 16205file_list_spec=$lt_file_list_spec 16206 16207# How to hardcode a shared library path into an executable. 16208hardcode_action=$hardcode_action 16209 16210# ### END LIBTOOL CONFIG 16211 16212_LT_EOF 16213 16214 case $host_os in 16215 aix3*) 16216 cat <<\_LT_EOF >> "$cfgfile" 16217# AIX sometimes has problems with the GCC collect2 program. For some 16218# reason, if we set the COLLECT_NAMES environment variable, the problems 16219# vanish in a puff of smoke. 16220if test "X${COLLECT_NAMES+set}" != Xset; then 16221 COLLECT_NAMES= 16222 export COLLECT_NAMES 16223fi 16224_LT_EOF 16225 ;; 16226 esac 16227 16228 16229ltmain="$ac_aux_dir/ltmain.sh" 16230 16231 16232 # We use sed instead of cat because bash on DJGPP gets confused if 16233 # if finds mixed CR/LF and LF-only lines. Since sed operates in 16234 # text mode, it properly converts lines to CR/LF. This bash problem 16235 # is reportedly fixed, but why not run on old versions too? 16236 sed '$q' "$ltmain" >> "$cfgfile" \ 16237 || (rm -f "$cfgfile"; exit 1) 16238 16239 if test x"$xsi_shell" = xyes; then 16240 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 16241func_dirname ()\ 16242{\ 16243\ case ${1} in\ 16244\ */*) func_dirname_result="${1%/*}${2}" ;;\ 16245\ * ) func_dirname_result="${3}" ;;\ 16246\ esac\ 16247} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 16248 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16249 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16250test 0 -eq $? || _lt_function_replace_fail=: 16251 16252 16253 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 16254func_basename ()\ 16255{\ 16256\ func_basename_result="${1##*/}"\ 16257} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 16258 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16259 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16260test 0 -eq $? || _lt_function_replace_fail=: 16261 16262 16263 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 16264func_dirname_and_basename ()\ 16265{\ 16266\ case ${1} in\ 16267\ */*) func_dirname_result="${1%/*}${2}" ;;\ 16268\ * ) func_dirname_result="${3}" ;;\ 16269\ esac\ 16270\ func_basename_result="${1##*/}"\ 16271} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 16272 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16273 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16274test 0 -eq $? || _lt_function_replace_fail=: 16275 16276 16277 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 16278func_stripname ()\ 16279{\ 16280\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 16281\ # positional parameters, so assign one to ordinary parameter first.\ 16282\ func_stripname_result=${3}\ 16283\ func_stripname_result=${func_stripname_result#"${1}"}\ 16284\ func_stripname_result=${func_stripname_result%"${2}"}\ 16285} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 16286 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16287 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16288test 0 -eq $? || _lt_function_replace_fail=: 16289 16290 16291 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 16292func_split_long_opt ()\ 16293{\ 16294\ func_split_long_opt_name=${1%%=*}\ 16295\ func_split_long_opt_arg=${1#*=}\ 16296} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 16297 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16298 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16299test 0 -eq $? || _lt_function_replace_fail=: 16300 16301 16302 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 16303func_split_short_opt ()\ 16304{\ 16305\ func_split_short_opt_arg=${1#??}\ 16306\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 16307} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 16308 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16309 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16310test 0 -eq $? || _lt_function_replace_fail=: 16311 16312 16313 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 16314func_lo2o ()\ 16315{\ 16316\ case ${1} in\ 16317\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 16318\ *) func_lo2o_result=${1} ;;\ 16319\ esac\ 16320} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 16321 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16322 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16323test 0 -eq $? || _lt_function_replace_fail=: 16324 16325 16326 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 16327func_xform ()\ 16328{\ 16329 func_xform_result=${1%.*}.lo\ 16330} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 16331 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16332 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16333test 0 -eq $? || _lt_function_replace_fail=: 16334 16335 16336 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 16337func_arith ()\ 16338{\ 16339 func_arith_result=$(( $* ))\ 16340} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 16341 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16342 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16343test 0 -eq $? || _lt_function_replace_fail=: 16344 16345 16346 sed -e '/^func_len ()$/,/^} # func_len /c\ 16347func_len ()\ 16348{\ 16349 func_len_result=${#1}\ 16350} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 16351 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16352 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16353test 0 -eq $? || _lt_function_replace_fail=: 16354 16355fi 16356 16357if test x"$lt_shell_append" = xyes; then 16358 sed -e '/^func_append ()$/,/^} # func_append /c\ 16359func_append ()\ 16360{\ 16361 eval "${1}+=\\${2}"\ 16362} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 16363 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16364 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16365test 0 -eq $? || _lt_function_replace_fail=: 16366 16367 16368 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 16369func_append_quoted ()\ 16370{\ 16371\ func_quote_for_eval "${2}"\ 16372\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 16373} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 16374 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16375 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16376test 0 -eq $? || _lt_function_replace_fail=: 16377 16378 16379 # Save a `func_append' function call where possible by direct use of '+=' 16380 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 16381 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16382 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16383 test 0 -eq $? || _lt_function_replace_fail=: 16384else 16385 # Save a `func_append' function call even when '+=' is not available 16386 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 16387 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16388 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16389 test 0 -eq $? || _lt_function_replace_fail=: 16390fi 16391 16392if test x"$_lt_function_replace_fail" = x":"; then 16393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 16394$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 16395fi 16396 16397 16398 mv -f "$cfgfile" "$ofile" || 16399 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 16400 chmod +x "$ofile" 16401 16402 ;; 16403 "flickcurl-config":F) chmod +x flickcurl-config ;; 16404 16405 esac 16406done # for ac_tag 16407 16408 16409as_fn_exit 0 16410_ACEOF 16411ac_clean_files=$ac_clean_files_save 16412 16413test $ac_write_fail = 0 || 16414 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 16415 16416 16417# configure is writing to config.log, and then calls config.status. 16418# config.status does its own redirection, appending to config.log. 16419# Unfortunately, on DOS this fails, as config.log is still kept open 16420# by configure, so config.status won't be able to write to it; its 16421# output is simply discarded. So we exec the FD to /dev/null, 16422# effectively closing config.log, so it can be properly (re)opened and 16423# appended to by config.status. When coming back to configure, we 16424# need to make the FD available again. 16425if test "$no_create" != yes; then 16426 ac_cs_success=: 16427 ac_config_status_args= 16428 test "$silent" = yes && 16429 ac_config_status_args="$ac_config_status_args --quiet" 16430 exec 5>/dev/null 16431 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 16432 exec 5>>config.log 16433 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16434 # would make configure fail if this is the last instruction. 16435 $ac_cs_success || as_fn_exit 1 16436fi 16437if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16439$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 16440fi 16441 16442 16443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 16444Flickcurl build summary: 16445 libxml $LIBXML_VERSION via $libxml_source 16446 curl $LIBCURL_VERSION via $libcurl_source 16447 raptor $RAPTOR_VERSION 16448" >&5 16449$as_echo " 16450Flickcurl build summary: 16451 libxml $LIBXML_VERSION via $libxml_source 16452 curl $LIBCURL_VERSION via $libcurl_source 16453 raptor $RAPTOR_VERSION 16454" >&6; } 16455