1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for cairomm 1.12.2. 4# 5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=cairomm>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278$0: https://bugs.freedesktop.org/enter_bug.cgi?product=cairomm 279$0: about your system, including any error possibly output 280$0: before this message. Then install a modern shell, or 281$0: manually run the script under such a shell if you do 282$0: have one." 283 fi 284 exit 1 285fi 286fi 287fi 288SHELL=${CONFIG_SHELL-/bin/sh} 289export SHELL 290# Unset more variables known to interfere with behavior of common tools. 291CLICOLOR_FORCE= GREP_OPTIONS= 292unset CLICOLOR_FORCE GREP_OPTIONS 293 294## --------------------- ## 295## M4sh Shell Functions. ## 296## --------------------- ## 297# as_fn_unset VAR 298# --------------- 299# Portably unset VAR. 300as_fn_unset () 301{ 302 { eval $1=; unset $1;} 303} 304as_unset=as_fn_unset 305 306# as_fn_set_status STATUS 307# ----------------------- 308# Set $? to STATUS, without forking. 309as_fn_set_status () 310{ 311 return $1 312} # as_fn_set_status 313 314# as_fn_exit STATUS 315# ----------------- 316# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 317as_fn_exit () 318{ 319 set +e 320 as_fn_set_status $1 321 exit $1 322} # as_fn_exit 323 324# as_fn_mkdir_p 325# ------------- 326# Create "$as_dir" as a directory, including parents if necessary. 327as_fn_mkdir_p () 328{ 329 330 case $as_dir in #( 331 -*) as_dir=./$as_dir;; 332 esac 333 test -d "$as_dir" || eval $as_mkdir_p || { 334 as_dirs= 335 while :; do 336 case $as_dir in #( 337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 338 *) as_qdir=$as_dir;; 339 esac 340 as_dirs="'$as_qdir' $as_dirs" 341 as_dir=`$as_dirname -- "$as_dir" || 342$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 343 X"$as_dir" : 'X\(//\)[^/]' \| \ 344 X"$as_dir" : 'X\(//\)$' \| \ 345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 346$as_echo X"$as_dir" | 347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)[^/].*/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\/\)$/{ 356 s//\1/ 357 q 358 } 359 /^X\(\/\).*/{ 360 s//\1/ 361 q 362 } 363 s/.*/./; q'` 364 test -d "$as_dir" && break 365 done 366 test -z "$as_dirs" || eval "mkdir $as_dirs" 367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 368 369 370} # as_fn_mkdir_p 371 372# as_fn_executable_p FILE 373# ----------------------- 374# Test if FILE is an executable regular file. 375as_fn_executable_p () 376{ 377 test -f "$1" && test -x "$1" 378} # as_fn_executable_p 379# as_fn_append VAR VALUE 380# ---------------------- 381# Append the text in VALUE to the end of the definition contained in VAR. Take 382# advantage of any shell optimizations that allow amortized linear growth over 383# repeated appends, instead of the typical quadratic growth present in naive 384# implementations. 385if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 386 eval 'as_fn_append () 387 { 388 eval $1+=\$2 389 }' 390else 391 as_fn_append () 392 { 393 eval $1=\$$1\$2 394 } 395fi # as_fn_append 396 397# as_fn_arith ARG... 398# ------------------ 399# Perform arithmetic evaluation on the ARGs, and store the result in the 400# global $as_val. Take advantage of shells that can avoid forks. The arguments 401# must be portable across $(()) and expr. 402if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 403 eval 'as_fn_arith () 404 { 405 as_val=$(( $* )) 406 }' 407else 408 as_fn_arith () 409 { 410 as_val=`expr "$@" || test $? -eq 1` 411 } 412fi # as_fn_arith 413 414 415# as_fn_error STATUS ERROR [LINENO LOG_FD] 416# ---------------------------------------- 417# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 418# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 419# script with STATUS, using 1 if that was 0. 420as_fn_error () 421{ 422 as_status=$1; test $as_status -eq 0 && as_status=1 423 if test "$4"; then 424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 426 fi 427 $as_echo "$as_me: error: $2" >&2 428 as_fn_exit $as_status 429} # as_fn_error 430 431if expr a : '\(a\)' >/dev/null 2>&1 && 432 test "X`expr 00001 : '.*\(...\)'`" = X001; then 433 as_expr=expr 434else 435 as_expr=false 436fi 437 438if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 439 as_basename=basename 440else 441 as_basename=false 442fi 443 444if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 445 as_dirname=dirname 446else 447 as_dirname=false 448fi 449 450as_me=`$as_basename -- "$0" || 451$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 452 X"$0" : 'X\(//\)$' \| \ 453 X"$0" : 'X\(/\)' \| . 2>/dev/null || 454$as_echo X/"$0" | 455 sed '/^.*\/\([^/][^/]*\)\/*$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\/\)$/{ 460 s//\1/ 461 q 462 } 463 /^X\/\(\/\).*/{ 464 s//\1/ 465 q 466 } 467 s/.*/./; q'` 468 469# Avoid depending upon Character Ranges. 470as_cr_letters='abcdefghijklmnopqrstuvwxyz' 471as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 472as_cr_Letters=$as_cr_letters$as_cr_LETTERS 473as_cr_digits='0123456789' 474as_cr_alnum=$as_cr_Letters$as_cr_digits 475 476 477 as_lineno_1=$LINENO as_lineno_1a=$LINENO 478 as_lineno_2=$LINENO as_lineno_2a=$LINENO 479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 482 sed -n ' 483 p 484 /[$]LINENO/= 485 ' <$as_myself | 486 sed ' 487 s/[$]LINENO.*/&-/ 488 t lineno 489 b 490 :lineno 491 N 492 :loop 493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 494 t loop 495 s/-\n.*// 496 ' >$as_me.lineno && 497 chmod +x "$as_me.lineno" || 498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 499 500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 501 # already done that, so ensure we don't try to do so again and fall 502 # in an infinite loop. This has already happened in practice. 503 _as_can_reexec=no; export _as_can_reexec 504 # Don't try to exec as it changes $[0], causing all sort of problems 505 # (the dirname of $[0] is not the place where we might find the 506 # original and so on. Autoconf is especially sensitive to this). 507 . "./$as_me.lineno" 508 # Exit status is that of the last command. 509 exit 510} 511 512ECHO_C= ECHO_N= ECHO_T= 513case `echo -n x` in #((((( 514-n*) 515 case `echo 'xy\c'` in 516 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 517 xy) ECHO_C='\c';; 518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 519 ECHO_T=' ';; 520 esac;; 521*) 522 ECHO_N='-n';; 523esac 524 525rm -f conf$$ conf$$.exe conf$$.file 526if test -d conf$$.dir; then 527 rm -f conf$$.dir/conf$$.file 528else 529 rm -f conf$$.dir 530 mkdir conf$$.dir 2>/dev/null 531fi 532if (echo >conf$$.file) 2>/dev/null; then 533 if ln -s conf$$.file conf$$ 2>/dev/null; then 534 as_ln_s='ln -s' 535 # ... but there are two gotchas: 536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 538 # In both cases, we have to default to `cp -pR'. 539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 540 as_ln_s='cp -pR' 541 elif ln conf$$.file conf$$ 2>/dev/null; then 542 as_ln_s=ln 543 else 544 as_ln_s='cp -pR' 545 fi 546else 547 as_ln_s='cp -pR' 548fi 549rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 550rmdir conf$$.dir 2>/dev/null 551 552if mkdir -p . 2>/dev/null; then 553 as_mkdir_p='mkdir -p "$as_dir"' 554else 555 test -d ./-p && rmdir ./-p 556 as_mkdir_p=false 557fi 558 559as_test_x='test -x' 560as_executable_p=as_fn_executable_p 561 562# Sed expression to map a string onto a valid CPP name. 563as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 564 565# Sed expression to map a string onto a valid variable name. 566as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 567 568SHELL=${CONFIG_SHELL-/bin/sh} 569 570 571test -n "$DJDIR" || exec 7<&0 </dev/null 572exec 6>&1 573 574# Name of the host. 575# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 576# so uname gets run too. 577ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 578 579# 580# Initializations. 581# 582ac_default_prefix=/usr/local 583ac_clean_files= 584ac_config_libobj_dir=. 585LIBOBJS= 586cross_compiling=no 587subdirs= 588MFLAGS= 589MAKEFLAGS= 590 591# Identity of this package. 592PACKAGE_NAME='cairomm' 593PACKAGE_TARNAME='cairomm' 594PACKAGE_VERSION='1.12.2' 595PACKAGE_STRING='cairomm 1.12.2' 596PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=cairomm' 597PACKAGE_URL='http://www.cairographics.org/cairomm/' 598 599ac_unique_file="cairomm/cairomm.h" 600# Factoring default headers for most tests. 601ac_includes_default="\ 602#include <stdio.h> 603#ifdef HAVE_SYS_TYPES_H 604# include <sys/types.h> 605#endif 606#ifdef HAVE_SYS_STAT_H 607# include <sys/stat.h> 608#endif 609#ifdef STDC_HEADERS 610# include <stdlib.h> 611# include <stddef.h> 612#else 613# ifdef HAVE_STDLIB_H 614# include <stdlib.h> 615# endif 616#endif 617#ifdef HAVE_STRING_H 618# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 619# include <memory.h> 620# endif 621# include <string.h> 622#endif 623#ifdef HAVE_STRINGS_H 624# include <strings.h> 625#endif 626#ifdef HAVE_INTTYPES_H 627# include <inttypes.h> 628#endif 629#ifdef HAVE_STDINT_H 630# include <stdint.h> 631#endif 632#ifdef HAVE_UNISTD_H 633# include <unistd.h> 634#endif" 635 636ac_subst_vars='am__EXEEXT_FALSE 637am__EXEEXT_TRUE 638LTLIBOBJS 639LIBOBJS 640AUTOTESTS_FALSE 641AUTOTESTS_TRUE 642BOOST_UNIT_TEST_FRAMEWORK_STATIC_LIB 643BOOST_UNIT_TEST_FRAMEWORK_LIB 644BOOST_LDFLAGS 645BOOST_CPPFLAGS 646CAIROMM_WXXFLAGS 647DOCINSTALL_FLAGS 648DOXYGEN_TAGFILES 649ENABLE_DOCUMENTATION_FALSE 650ENABLE_DOCUMENTATION_TRUE 651XSLTPROC 652DOXYGEN 653DOT 654PERL 655CAIROMM_LIBS 656CAIROMM_CFLAGS 657CAIROMM_INSTALL_PC 658CAIROMM_MODULES 659PKG_CONFIG_LIBDIR 660PKG_CONFIG_PATH 661PKG_CONFIG 662CXXCPP 663CPP 664LT_SYS_LIBRARY_PATH 665OTOOL64 666OTOOL 667LIPO 668NMEDIT 669DSYMUTIL 670MANIFEST_TOOL 671RANLIB 672ac_ct_AR 673AR 674LN_S 675NM 676ac_ct_DUMPBIN 677DUMPBIN 678LD 679FGREP 680EGREP 681GREP 682SED 683am__fastdepCC_FALSE 684am__fastdepCC_TRUE 685CCDEPMODE 686ac_ct_CC 687CFLAGS 688CC 689LIBTOOL 690OBJDUMP 691DLLTOOL 692AS 693host_os 694host_vendor 695host_cpu 696host 697build_os 698build_vendor 699build_cpu 700build 701HAVE_CXX11 702am__fastdepCXX_FALSE 703am__fastdepCXX_TRUE 704CXXDEPMODE 705am__nodep 706AMDEPBACKSLASH 707AMDEP_FALSE 708AMDEP_TRUE 709am__quote 710am__include 711DEPDIR 712OBJEXT 713EXEEXT 714ac_ct_CXX 715CPPFLAGS 716LDFLAGS 717CXXFLAGS 718CXX 719CAIROMM_SO_VERSION 720MMDOCTOOLDIR 721DIST_DOCTOOLS_FALSE 722DIST_DOCTOOLS_TRUE 723CAIROMM_MICRO_VERSION 724CAIROMM_MINOR_VERSION 725CAIROMM_MAJOR_VERSION 726CAIROMM_API_VERSION 727CAIROMM_VERSION 728CAIROMM_MODULE_NAME 729ACLOCAL_FLAGS 730MAINT 731MAINTAINER_MODE_FALSE 732MAINTAINER_MODE_TRUE 733AM_BACKSLASH 734AM_DEFAULT_VERBOSITY 735AM_DEFAULT_V 736AM_V 737am__untar 738am__tar 739AMTAR 740am__leading_dot 741SET_MAKE 742AWK 743mkdir_p 744MKDIR_P 745INSTALL_STRIP_PROGRAM 746STRIP 747install_sh 748MAKEINFO 749AUTOHEADER 750AUTOMAKE 751AUTOCONF 752ACLOCAL 753VERSION 754PACKAGE 755CYGPATH_W 756am__isrc 757INSTALL_DATA 758INSTALL_SCRIPT 759INSTALL_PROGRAM 760target_alias 761host_alias 762build_alias 763LIBS 764ECHO_T 765ECHO_N 766ECHO_C 767DEFS 768mandir 769localedir 770libdir 771psdir 772pdfdir 773dvidir 774htmldir 775infodir 776docdir 777oldincludedir 778includedir 779runstatedir 780localstatedir 781sharedstatedir 782sysconfdir 783datadir 784datarootdir 785libexecdir 786sbindir 787bindir 788program_transform_name 789prefix 790exec_prefix 791PACKAGE_URL 792PACKAGE_BUGREPORT 793PACKAGE_STRING 794PACKAGE_VERSION 795PACKAGE_TARNAME 796PACKAGE_NAME 797PATH_SEPARATOR 798SHELL' 799ac_subst_files='' 800ac_user_opts=' 801enable_option_checking 802enable_silent_rules 803enable_maintainer_mode 804enable_dependency_tracking 805enable_static 806enable_shared 807with_pic 808enable_fast_install 809with_aix_soname 810with_gnu_ld 811with_sysroot 812enable_libtool_lock 813enable_documentation 814with_libstdc_doc 815with_libsigc_doc 816enable_warnings 817enable_tests 818with_boost 819with_boost_unit_test_framework 820enable_api_exceptions 821' 822 ac_precious_vars='build_alias 823host_alias 824target_alias 825ACLOCAL_FLAGS 826CXX 827CXXFLAGS 828LDFLAGS 829LIBS 830CPPFLAGS 831CCC 832CC 833CFLAGS 834LT_SYS_LIBRARY_PATH 835CPP 836CXXCPP 837PKG_CONFIG 838PKG_CONFIG_PATH 839PKG_CONFIG_LIBDIR 840CAIROMM_CFLAGS 841CAIROMM_LIBS 842PERL 843DOT 844DOXYGEN 845XSLTPROC' 846 847 848# Initialize some variables set by options. 849ac_init_help= 850ac_init_version=false 851ac_unrecognized_opts= 852ac_unrecognized_sep= 853# The variables have the same names as the options, with 854# dashes changed to underlines. 855cache_file=/dev/null 856exec_prefix=NONE 857no_create= 858no_recursion= 859prefix=NONE 860program_prefix=NONE 861program_suffix=NONE 862program_transform_name=s,x,x, 863silent= 864site= 865srcdir= 866verbose= 867x_includes=NONE 868x_libraries=NONE 869 870# Installation directory options. 871# These are left unexpanded so users can "make install exec_prefix=/foo" 872# and all the variables that are supposed to be based on exec_prefix 873# by default will actually change. 874# Use braces instead of parens because sh, perl, etc. also accept them. 875# (The list follows the same order as the GNU Coding Standards.) 876bindir='${exec_prefix}/bin' 877sbindir='${exec_prefix}/sbin' 878libexecdir='${exec_prefix}/libexec' 879datarootdir='${prefix}/share' 880datadir='${datarootdir}' 881sysconfdir='${prefix}/etc' 882sharedstatedir='${prefix}/com' 883localstatedir='${prefix}/var' 884runstatedir='${localstatedir}/run' 885includedir='${prefix}/include' 886oldincludedir='/usr/include' 887docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 888infodir='${datarootdir}/info' 889htmldir='${docdir}' 890dvidir='${docdir}' 891pdfdir='${docdir}' 892psdir='${docdir}' 893libdir='${exec_prefix}/lib' 894localedir='${datarootdir}/locale' 895mandir='${datarootdir}/man' 896 897ac_prev= 898ac_dashdash= 899for ac_option 900do 901 # If the previous option needs an argument, assign it. 902 if test -n "$ac_prev"; then 903 eval $ac_prev=\$ac_option 904 ac_prev= 905 continue 906 fi 907 908 case $ac_option in 909 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 910 *=) ac_optarg= ;; 911 *) ac_optarg=yes ;; 912 esac 913 914 # Accept the important Cygnus configure options, so we can diagnose typos. 915 916 case $ac_dashdash$ac_option in 917 --) 918 ac_dashdash=yes ;; 919 920 -bindir | --bindir | --bindi | --bind | --bin | --bi) 921 ac_prev=bindir ;; 922 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 923 bindir=$ac_optarg ;; 924 925 -build | --build | --buil | --bui | --bu) 926 ac_prev=build_alias ;; 927 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 928 build_alias=$ac_optarg ;; 929 930 -cache-file | --cache-file | --cache-fil | --cache-fi \ 931 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 932 ac_prev=cache_file ;; 933 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 934 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 935 cache_file=$ac_optarg ;; 936 937 --config-cache | -C) 938 cache_file=config.cache ;; 939 940 -datadir | --datadir | --datadi | --datad) 941 ac_prev=datadir ;; 942 -datadir=* | --datadir=* | --datadi=* | --datad=*) 943 datadir=$ac_optarg ;; 944 945 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 946 | --dataroo | --dataro | --datar) 947 ac_prev=datarootdir ;; 948 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 949 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 950 datarootdir=$ac_optarg ;; 951 952 -disable-* | --disable-*) 953 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 954 # Reject names that are not valid shell variable names. 955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 956 as_fn_error $? "invalid feature name: $ac_useropt" 957 ac_useropt_orig=$ac_useropt 958 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 959 case $ac_user_opts in 960 *" 961"enable_$ac_useropt" 962"*) ;; 963 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 964 ac_unrecognized_sep=', ';; 965 esac 966 eval enable_$ac_useropt=no ;; 967 968 -docdir | --docdir | --docdi | --doc | --do) 969 ac_prev=docdir ;; 970 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 971 docdir=$ac_optarg ;; 972 973 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 974 ac_prev=dvidir ;; 975 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 976 dvidir=$ac_optarg ;; 977 978 -enable-* | --enable-*) 979 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 980 # Reject names that are not valid shell variable names. 981 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 982 as_fn_error $? "invalid feature name: $ac_useropt" 983 ac_useropt_orig=$ac_useropt 984 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 985 case $ac_user_opts in 986 *" 987"enable_$ac_useropt" 988"*) ;; 989 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 990 ac_unrecognized_sep=', ';; 991 esac 992 eval enable_$ac_useropt=\$ac_optarg ;; 993 994 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 995 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 996 | --exec | --exe | --ex) 997 ac_prev=exec_prefix ;; 998 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 999 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1000 | --exec=* | --exe=* | --ex=*) 1001 exec_prefix=$ac_optarg ;; 1002 1003 -gas | --gas | --ga | --g) 1004 # Obsolete; use --with-gas. 1005 with_gas=yes ;; 1006 1007 -help | --help | --hel | --he | -h) 1008 ac_init_help=long ;; 1009 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1010 ac_init_help=recursive ;; 1011 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1012 ac_init_help=short ;; 1013 1014 -host | --host | --hos | --ho) 1015 ac_prev=host_alias ;; 1016 -host=* | --host=* | --hos=* | --ho=*) 1017 host_alias=$ac_optarg ;; 1018 1019 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1020 ac_prev=htmldir ;; 1021 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1022 | --ht=*) 1023 htmldir=$ac_optarg ;; 1024 1025 -includedir | --includedir | --includedi | --included | --include \ 1026 | --includ | --inclu | --incl | --inc) 1027 ac_prev=includedir ;; 1028 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1029 | --includ=* | --inclu=* | --incl=* | --inc=*) 1030 includedir=$ac_optarg ;; 1031 1032 -infodir | --infodir | --infodi | --infod | --info | --inf) 1033 ac_prev=infodir ;; 1034 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1035 infodir=$ac_optarg ;; 1036 1037 -libdir | --libdir | --libdi | --libd) 1038 ac_prev=libdir ;; 1039 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1040 libdir=$ac_optarg ;; 1041 1042 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1043 | --libexe | --libex | --libe) 1044 ac_prev=libexecdir ;; 1045 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1046 | --libexe=* | --libex=* | --libe=*) 1047 libexecdir=$ac_optarg ;; 1048 1049 -localedir | --localedir | --localedi | --localed | --locale) 1050 ac_prev=localedir ;; 1051 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1052 localedir=$ac_optarg ;; 1053 1054 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1055 | --localstate | --localstat | --localsta | --localst | --locals) 1056 ac_prev=localstatedir ;; 1057 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1058 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1059 localstatedir=$ac_optarg ;; 1060 1061 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1062 ac_prev=mandir ;; 1063 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1064 mandir=$ac_optarg ;; 1065 1066 -nfp | --nfp | --nf) 1067 # Obsolete; use --without-fp. 1068 with_fp=no ;; 1069 1070 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1071 | --no-cr | --no-c | -n) 1072 no_create=yes ;; 1073 1074 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1075 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1076 no_recursion=yes ;; 1077 1078 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1079 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1080 | --oldin | --oldi | --old | --ol | --o) 1081 ac_prev=oldincludedir ;; 1082 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1083 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1084 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1085 oldincludedir=$ac_optarg ;; 1086 1087 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1088 ac_prev=prefix ;; 1089 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1090 prefix=$ac_optarg ;; 1091 1092 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1093 | --program-pre | --program-pr | --program-p) 1094 ac_prev=program_prefix ;; 1095 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1096 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1097 program_prefix=$ac_optarg ;; 1098 1099 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1100 | --program-suf | --program-su | --program-s) 1101 ac_prev=program_suffix ;; 1102 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1103 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1104 program_suffix=$ac_optarg ;; 1105 1106 -program-transform-name | --program-transform-name \ 1107 | --program-transform-nam | --program-transform-na \ 1108 | --program-transform-n | --program-transform- \ 1109 | --program-transform | --program-transfor \ 1110 | --program-transfo | --program-transf \ 1111 | --program-trans | --program-tran \ 1112 | --progr-tra | --program-tr | --program-t) 1113 ac_prev=program_transform_name ;; 1114 -program-transform-name=* | --program-transform-name=* \ 1115 | --program-transform-nam=* | --program-transform-na=* \ 1116 | --program-transform-n=* | --program-transform-=* \ 1117 | --program-transform=* | --program-transfor=* \ 1118 | --program-transfo=* | --program-transf=* \ 1119 | --program-trans=* | --program-tran=* \ 1120 | --progr-tra=* | --program-tr=* | --program-t=*) 1121 program_transform_name=$ac_optarg ;; 1122 1123 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1124 ac_prev=pdfdir ;; 1125 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1126 pdfdir=$ac_optarg ;; 1127 1128 -psdir | --psdir | --psdi | --psd | --ps) 1129 ac_prev=psdir ;; 1130 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1131 psdir=$ac_optarg ;; 1132 1133 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1134 | -silent | --silent | --silen | --sile | --sil) 1135 silent=yes ;; 1136 1137 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1138 | --runstate | --runstat | --runsta | --runst | --runs \ 1139 | --run | --ru | --r) 1140 ac_prev=runstatedir ;; 1141 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1142 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1143 | --run=* | --ru=* | --r=*) 1144 runstatedir=$ac_optarg ;; 1145 1146 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1147 ac_prev=sbindir ;; 1148 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1149 | --sbi=* | --sb=*) 1150 sbindir=$ac_optarg ;; 1151 1152 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1153 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1154 | --sharedst | --shareds | --shared | --share | --shar \ 1155 | --sha | --sh) 1156 ac_prev=sharedstatedir ;; 1157 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1158 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1159 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1160 | --sha=* | --sh=*) 1161 sharedstatedir=$ac_optarg ;; 1162 1163 -site | --site | --sit) 1164 ac_prev=site ;; 1165 -site=* | --site=* | --sit=*) 1166 site=$ac_optarg ;; 1167 1168 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1169 ac_prev=srcdir ;; 1170 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1171 srcdir=$ac_optarg ;; 1172 1173 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1174 | --syscon | --sysco | --sysc | --sys | --sy) 1175 ac_prev=sysconfdir ;; 1176 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1177 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1178 sysconfdir=$ac_optarg ;; 1179 1180 -target | --target | --targe | --targ | --tar | --ta | --t) 1181 ac_prev=target_alias ;; 1182 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1183 target_alias=$ac_optarg ;; 1184 1185 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1186 verbose=yes ;; 1187 1188 -version | --version | --versio | --versi | --vers | -V) 1189 ac_init_version=: ;; 1190 1191 -with-* | --with-*) 1192 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1193 # Reject names that are not valid shell variable names. 1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1195 as_fn_error $? "invalid package name: $ac_useropt" 1196 ac_useropt_orig=$ac_useropt 1197 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1198 case $ac_user_opts in 1199 *" 1200"with_$ac_useropt" 1201"*) ;; 1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1203 ac_unrecognized_sep=', ';; 1204 esac 1205 eval with_$ac_useropt=\$ac_optarg ;; 1206 1207 -without-* | --without-*) 1208 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1209 # Reject names that are not valid shell variable names. 1210 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1211 as_fn_error $? "invalid package name: $ac_useropt" 1212 ac_useropt_orig=$ac_useropt 1213 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1214 case $ac_user_opts in 1215 *" 1216"with_$ac_useropt" 1217"*) ;; 1218 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1219 ac_unrecognized_sep=', ';; 1220 esac 1221 eval with_$ac_useropt=no ;; 1222 1223 --x) 1224 # Obsolete; use --with-x. 1225 with_x=yes ;; 1226 1227 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1228 | --x-incl | --x-inc | --x-in | --x-i) 1229 ac_prev=x_includes ;; 1230 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1231 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1232 x_includes=$ac_optarg ;; 1233 1234 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1235 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1236 ac_prev=x_libraries ;; 1237 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1238 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1239 x_libraries=$ac_optarg ;; 1240 1241 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1242Try \`$0 --help' for more information" 1243 ;; 1244 1245 *=*) 1246 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1247 # Reject names that are not valid shell variable names. 1248 case $ac_envvar in #( 1249 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1250 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1251 esac 1252 eval $ac_envvar=\$ac_optarg 1253 export $ac_envvar ;; 1254 1255 *) 1256 # FIXME: should be removed in autoconf 3.0. 1257 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1258 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1259 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1260 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1261 ;; 1262 1263 esac 1264done 1265 1266if test -n "$ac_prev"; then 1267 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1268 as_fn_error $? "missing argument to $ac_option" 1269fi 1270 1271if test -n "$ac_unrecognized_opts"; then 1272 case $enable_option_checking in 1273 no) ;; 1274 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1275 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1276 esac 1277fi 1278 1279# Check all directory arguments for consistency. 1280for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1281 datadir sysconfdir sharedstatedir localstatedir includedir \ 1282 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1283 libdir localedir mandir runstatedir 1284do 1285 eval ac_val=\$$ac_var 1286 # Remove trailing slashes. 1287 case $ac_val in 1288 */ ) 1289 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1290 eval $ac_var=\$ac_val;; 1291 esac 1292 # Be sure to have absolute directory names. 1293 case $ac_val in 1294 [\\/$]* | ?:[\\/]* ) continue;; 1295 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1296 esac 1297 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1298done 1299 1300# There might be people who depend on the old broken behavior: `$host' 1301# used to hold the argument of --host etc. 1302# FIXME: To remove some day. 1303build=$build_alias 1304host=$host_alias 1305target=$target_alias 1306 1307# FIXME: To remove some day. 1308if test "x$host_alias" != x; then 1309 if test "x$build_alias" = x; then 1310 cross_compiling=maybe 1311 elif test "x$build_alias" != "x$host_alias"; then 1312 cross_compiling=yes 1313 fi 1314fi 1315 1316ac_tool_prefix= 1317test -n "$host_alias" && ac_tool_prefix=$host_alias- 1318 1319test "$silent" = yes && exec 6>/dev/null 1320 1321 1322ac_pwd=`pwd` && test -n "$ac_pwd" && 1323ac_ls_di=`ls -di .` && 1324ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1325 as_fn_error $? "working directory cannot be determined" 1326test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1327 as_fn_error $? "pwd does not report name of working directory" 1328 1329 1330# Find the source files, if location was not specified. 1331if test -z "$srcdir"; then 1332 ac_srcdir_defaulted=yes 1333 # Try the directory containing this script, then the parent directory. 1334 ac_confdir=`$as_dirname -- "$as_myself" || 1335$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1336 X"$as_myself" : 'X\(//\)[^/]' \| \ 1337 X"$as_myself" : 'X\(//\)$' \| \ 1338 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1339$as_echo X"$as_myself" | 1340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1341 s//\1/ 1342 q 1343 } 1344 /^X\(\/\/\)[^/].*/{ 1345 s//\1/ 1346 q 1347 } 1348 /^X\(\/\/\)$/{ 1349 s//\1/ 1350 q 1351 } 1352 /^X\(\/\).*/{ 1353 s//\1/ 1354 q 1355 } 1356 s/.*/./; q'` 1357 srcdir=$ac_confdir 1358 if test ! -r "$srcdir/$ac_unique_file"; then 1359 srcdir=.. 1360 fi 1361else 1362 ac_srcdir_defaulted=no 1363fi 1364if test ! -r "$srcdir/$ac_unique_file"; then 1365 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1366 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1367fi 1368ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1369ac_abs_confdir=`( 1370 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1371 pwd)` 1372# When building in place, set srcdir=. 1373if test "$ac_abs_confdir" = "$ac_pwd"; then 1374 srcdir=. 1375fi 1376# Remove unnecessary trailing slashes from srcdir. 1377# Double slashes in file names in object file debugging info 1378# mess up M-x gdb in Emacs. 1379case $srcdir in 1380*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1381esac 1382for ac_var in $ac_precious_vars; do 1383 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1384 eval ac_env_${ac_var}_value=\$${ac_var} 1385 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1386 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1387done 1388 1389# 1390# Report the --help message. 1391# 1392if test "$ac_init_help" = "long"; then 1393 # Omit some internal or obsolete options to make the list less imposing. 1394 # This message is too long to be a string in the A/UX 3.1 sh. 1395 cat <<_ACEOF 1396\`configure' configures cairomm 1.12.2 to adapt to many kinds of systems. 1397 1398Usage: $0 [OPTION]... [VAR=VALUE]... 1399 1400To assign environment variables (e.g., CC, CFLAGS...), specify them as 1401VAR=VALUE. See below for descriptions of some of the useful variables. 1402 1403Defaults for the options are specified in brackets. 1404 1405Configuration: 1406 -h, --help display this help and exit 1407 --help=short display options specific to this package 1408 --help=recursive display the short help of all the included packages 1409 -V, --version display version information and exit 1410 -q, --quiet, --silent do not print \`checking ...' messages 1411 --cache-file=FILE cache test results in FILE [disabled] 1412 -C, --config-cache alias for \`--cache-file=config.cache' 1413 -n, --no-create do not create output files 1414 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1415 1416Installation directories: 1417 --prefix=PREFIX install architecture-independent files in PREFIX 1418 [$ac_default_prefix] 1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1420 [PREFIX] 1421 1422By default, \`make install' will install all the files in 1423\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1424an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1425for instance \`--prefix=\$HOME'. 1426 1427For better control, use the options below. 1428 1429Fine tuning of the installation directories: 1430 --bindir=DIR user executables [EPREFIX/bin] 1431 --sbindir=DIR system admin executables [EPREFIX/sbin] 1432 --libexecdir=DIR program executables [EPREFIX/libexec] 1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1436 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1437 --libdir=DIR object code libraries [EPREFIX/lib] 1438 --includedir=DIR C header files [PREFIX/include] 1439 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1442 --infodir=DIR info documentation [DATAROOTDIR/info] 1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1444 --mandir=DIR man documentation [DATAROOTDIR/man] 1445 --docdir=DIR documentation root [DATAROOTDIR/doc/cairomm] 1446 --htmldir=DIR html documentation [DOCDIR] 1447 --dvidir=DIR dvi documentation [DOCDIR] 1448 --pdfdir=DIR pdf documentation [DOCDIR] 1449 --psdir=DIR ps documentation [DOCDIR] 1450_ACEOF 1451 1452 cat <<\_ACEOF 1453 1454Program names: 1455 --program-prefix=PREFIX prepend PREFIX to installed program names 1456 --program-suffix=SUFFIX append SUFFIX to installed program names 1457 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1458 1459System types: 1460 --build=BUILD configure for building on BUILD [guessed] 1461 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1462_ACEOF 1463fi 1464 1465if test -n "$ac_init_help"; then 1466 case $ac_init_help in 1467 short | recursive ) echo "Configuration of cairomm 1.12.2:";; 1468 esac 1469 cat <<\_ACEOF 1470 1471Optional Features: 1472 --disable-option-checking ignore unrecognized --enable/--with options 1473 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1474 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1475 --enable-silent-rules less verbose build output (undo: "make V=1") 1476 --disable-silent-rules verbose build output (undo: "make V=0") 1477 --enable-maintainer-mode 1478 enable make rules and dependencies not useful (and 1479 sometimes confusing) to the casual installer 1480 --enable-dependency-tracking 1481 do not reject slow dependency extractors 1482 --disable-dependency-tracking 1483 speeds up one-time build 1484 --enable-static[=PKGS] build static libraries [default=no] 1485 --enable-shared[=PKGS] build shared libraries [default=yes] 1486 --enable-fast-install[=PKGS] 1487 optimize for fast installation [default=yes] 1488 --disable-libtool-lock avoid locking (might break parallel builds) 1489 --disable-documentation do not build or install the documentation 1490 --enable-warnings[=min|max|fatal|no] 1491 set compiler pedantry level [default=min] 1492 --enable-tests enable automated tests [default=no] 1493 --enable-api-exceptions Build exceptions API. 1494 [default=yes] 1495 1496Optional Packages: 1497 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1498 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1499 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1500 both] 1501 --with-aix-soname=aix|svr4|both 1502 shared library versioning (aka "SONAME") variant to 1503 provide on AIX, [default=aix]. 1504 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1505 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1506 compiler's sysroot if not specified). 1507 --with-libstdc-doc=[TAGFILE@]HTMLREFDIR 1508 Link to external libstdc documentation [auto] 1509 --with-libsigc-doc=[TAGFILE@]HTMLREFDIR 1510 Link to external libsigc documentation [auto] 1511 --with-boost[=DIR] use boost (default is No) - it is possible to 1512 specify the root directory for boost (optional) 1513 --with-boost-unit-test-framework[=special-lib] 1514 use the Unit_Test_Framework library from boost - it 1515 is possible to specify a certain library for the 1516 linker e.g. 1517 --with-boost-unit-test-framework=boost_unit_test_framework-gcc 1518 1519Some influential environment variables: 1520 ACLOCAL_FLAGS 1521 aclocal flags, e.g. -I <macro dir> 1522 CXX C++ compiler command 1523 CXXFLAGS C++ compiler flags 1524 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1525 nonstandard directory <lib dir> 1526 LIBS libraries to pass to the linker, e.g. -l<library> 1527 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1528 you have headers in a nonstandard directory <include dir> 1529 CC C compiler command 1530 CFLAGS C compiler flags 1531 LT_SYS_LIBRARY_PATH 1532 User-defined run-time library search path. 1533 CPP C preprocessor 1534 CXXCPP C++ preprocessor 1535 PKG_CONFIG path to pkg-config utility 1536 PKG_CONFIG_PATH 1537 directories to add to pkg-config's search path 1538 PKG_CONFIG_LIBDIR 1539 path overriding pkg-config's built-in search path 1540 CAIROMM_CFLAGS 1541 C compiler flags for CAIROMM, overriding pkg-config 1542 CAIROMM_LIBS 1543 linker flags for CAIROMM, overriding pkg-config 1544 PERL path to Perl interpreter 1545 DOT path to dot utility 1546 DOXYGEN path to Doxygen utility 1547 XSLTPROC path to xsltproc utility 1548 1549Use these variables to override the choices made by `configure' or to help 1550it to find libraries and programs with nonstandard names/locations. 1551 1552Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=cairomm>. 1553cairomm home page: <http://www.cairographics.org/cairomm/>. 1554_ACEOF 1555ac_status=$? 1556fi 1557 1558if test "$ac_init_help" = "recursive"; then 1559 # If there are subdirs, report their specific --help. 1560 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1561 test -d "$ac_dir" || 1562 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1563 continue 1564 ac_builddir=. 1565 1566case "$ac_dir" in 1567.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1568*) 1569 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1570 # A ".." for each directory in $ac_dir_suffix. 1571 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1572 case $ac_top_builddir_sub in 1573 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1574 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1575 esac ;; 1576esac 1577ac_abs_top_builddir=$ac_pwd 1578ac_abs_builddir=$ac_pwd$ac_dir_suffix 1579# for backward compatibility: 1580ac_top_builddir=$ac_top_build_prefix 1581 1582case $srcdir in 1583 .) # We are building in place. 1584 ac_srcdir=. 1585 ac_top_srcdir=$ac_top_builddir_sub 1586 ac_abs_top_srcdir=$ac_pwd ;; 1587 [\\/]* | ?:[\\/]* ) # Absolute name. 1588 ac_srcdir=$srcdir$ac_dir_suffix; 1589 ac_top_srcdir=$srcdir 1590 ac_abs_top_srcdir=$srcdir ;; 1591 *) # Relative name. 1592 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1593 ac_top_srcdir=$ac_top_build_prefix$srcdir 1594 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1595esac 1596ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1597 1598 cd "$ac_dir" || { ac_status=$?; continue; } 1599 # Check for guested configure. 1600 if test -f "$ac_srcdir/configure.gnu"; then 1601 echo && 1602 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1603 elif test -f "$ac_srcdir/configure"; then 1604 echo && 1605 $SHELL "$ac_srcdir/configure" --help=recursive 1606 else 1607 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1608 fi || ac_status=$? 1609 cd "$ac_pwd" || { ac_status=$?; break; } 1610 done 1611fi 1612 1613test -n "$ac_init_help" && exit $ac_status 1614if $ac_init_version; then 1615 cat <<\_ACEOF 1616cairomm configure 1.12.2 1617generated by GNU Autoconf 2.69 1618 1619Copyright (C) 2012 Free Software Foundation, Inc. 1620This configure script is free software; the Free Software Foundation 1621gives unlimited permission to copy, distribute and modify it. 1622_ACEOF 1623 exit 1624fi 1625 1626## ------------------------ ## 1627## Autoconf initialization. ## 1628## ------------------------ ## 1629 1630# ac_fn_cxx_try_compile LINENO 1631# ---------------------------- 1632# Try to compile conftest.$ac_ext, and return whether this succeeded. 1633ac_fn_cxx_try_compile () 1634{ 1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1636 rm -f conftest.$ac_objext 1637 if { { ac_try="$ac_compile" 1638case "(($ac_try" in 1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1640 *) ac_try_echo=$ac_try;; 1641esac 1642eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1643$as_echo "$ac_try_echo"; } >&5 1644 (eval "$ac_compile") 2>conftest.err 1645 ac_status=$? 1646 if test -s conftest.err; then 1647 grep -v '^ *+' conftest.err >conftest.er1 1648 cat conftest.er1 >&5 1649 mv -f conftest.er1 conftest.err 1650 fi 1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1652 test $ac_status = 0; } && { 1653 test -z "$ac_cxx_werror_flag" || 1654 test ! -s conftest.err 1655 } && test -s conftest.$ac_objext; then : 1656 ac_retval=0 1657else 1658 $as_echo "$as_me: failed program was:" >&5 1659sed 's/^/| /' conftest.$ac_ext >&5 1660 1661 ac_retval=1 1662fi 1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1664 as_fn_set_status $ac_retval 1665 1666} # ac_fn_cxx_try_compile 1667 1668# ac_fn_c_try_compile LINENO 1669# -------------------------- 1670# Try to compile conftest.$ac_ext, and return whether this succeeded. 1671ac_fn_c_try_compile () 1672{ 1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1674 rm -f conftest.$ac_objext 1675 if { { ac_try="$ac_compile" 1676case "(($ac_try" in 1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1678 *) ac_try_echo=$ac_try;; 1679esac 1680eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1681$as_echo "$ac_try_echo"; } >&5 1682 (eval "$ac_compile") 2>conftest.err 1683 ac_status=$? 1684 if test -s conftest.err; then 1685 grep -v '^ *+' conftest.err >conftest.er1 1686 cat conftest.er1 >&5 1687 mv -f conftest.er1 conftest.err 1688 fi 1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1690 test $ac_status = 0; } && { 1691 test -z "$ac_c_werror_flag" || 1692 test ! -s conftest.err 1693 } && test -s conftest.$ac_objext; then : 1694 ac_retval=0 1695else 1696 $as_echo "$as_me: failed program was:" >&5 1697sed 's/^/| /' conftest.$ac_ext >&5 1698 1699 ac_retval=1 1700fi 1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1702 as_fn_set_status $ac_retval 1703 1704} # ac_fn_c_try_compile 1705 1706# ac_fn_c_try_link LINENO 1707# ----------------------- 1708# Try to link conftest.$ac_ext, and return whether this succeeded. 1709ac_fn_c_try_link () 1710{ 1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1712 rm -f conftest.$ac_objext conftest$ac_exeext 1713 if { { ac_try="$ac_link" 1714case "(($ac_try" in 1715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1716 *) ac_try_echo=$ac_try;; 1717esac 1718eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1719$as_echo "$ac_try_echo"; } >&5 1720 (eval "$ac_link") 2>conftest.err 1721 ac_status=$? 1722 if test -s conftest.err; then 1723 grep -v '^ *+' conftest.err >conftest.er1 1724 cat conftest.er1 >&5 1725 mv -f conftest.er1 conftest.err 1726 fi 1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1728 test $ac_status = 0; } && { 1729 test -z "$ac_c_werror_flag" || 1730 test ! -s conftest.err 1731 } && test -s conftest$ac_exeext && { 1732 test "$cross_compiling" = yes || 1733 test -x conftest$ac_exeext 1734 }; then : 1735 ac_retval=0 1736else 1737 $as_echo "$as_me: failed program was:" >&5 1738sed 's/^/| /' conftest.$ac_ext >&5 1739 1740 ac_retval=1 1741fi 1742 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1743 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1744 # interfere with the next link command; also delete a directory that is 1745 # left behind by Apple's compiler. We do this before executing the actions. 1746 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1748 as_fn_set_status $ac_retval 1749 1750} # ac_fn_c_try_link 1751 1752# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1753# ------------------------------------------------------- 1754# Tests whether HEADER exists and can be compiled using the include files in 1755# INCLUDES, setting the cache variable VAR accordingly. 1756ac_fn_c_check_header_compile () 1757{ 1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1760$as_echo_n "checking for $2... " >&6; } 1761if eval \${$3+:} false; then : 1762 $as_echo_n "(cached) " >&6 1763else 1764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1765/* end confdefs.h. */ 1766$4 1767#include <$2> 1768_ACEOF 1769if ac_fn_c_try_compile "$LINENO"; then : 1770 eval "$3=yes" 1771else 1772 eval "$3=no" 1773fi 1774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1775fi 1776eval ac_res=\$$3 1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1778$as_echo "$ac_res" >&6; } 1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1780 1781} # ac_fn_c_check_header_compile 1782 1783# ac_fn_c_try_cpp LINENO 1784# ---------------------- 1785# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1786ac_fn_c_try_cpp () 1787{ 1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1789 if { { ac_try="$ac_cpp conftest.$ac_ext" 1790case "(($ac_try" in 1791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1792 *) ac_try_echo=$ac_try;; 1793esac 1794eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1795$as_echo "$ac_try_echo"; } >&5 1796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1797 ac_status=$? 1798 if test -s conftest.err; then 1799 grep -v '^ *+' conftest.err >conftest.er1 1800 cat conftest.er1 >&5 1801 mv -f conftest.er1 conftest.err 1802 fi 1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1804 test $ac_status = 0; } > conftest.i && { 1805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1806 test ! -s conftest.err 1807 }; then : 1808 ac_retval=0 1809else 1810 $as_echo "$as_me: failed program was:" >&5 1811sed 's/^/| /' conftest.$ac_ext >&5 1812 1813 ac_retval=1 1814fi 1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1816 as_fn_set_status $ac_retval 1817 1818} # ac_fn_c_try_cpp 1819 1820# ac_fn_c_try_run LINENO 1821# ---------------------- 1822# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1823# that executables *can* be run. 1824ac_fn_c_try_run () 1825{ 1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1827 if { { ac_try="$ac_link" 1828case "(($ac_try" in 1829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1830 *) ac_try_echo=$ac_try;; 1831esac 1832eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1833$as_echo "$ac_try_echo"; } >&5 1834 (eval "$ac_link") 2>&5 1835 ac_status=$? 1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1837 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1838 { { case "(($ac_try" in 1839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1840 *) ac_try_echo=$ac_try;; 1841esac 1842eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1843$as_echo "$ac_try_echo"; } >&5 1844 (eval "$ac_try") 2>&5 1845 ac_status=$? 1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1847 test $ac_status = 0; }; }; then : 1848 ac_retval=0 1849else 1850 $as_echo "$as_me: program exited with status $ac_status" >&5 1851 $as_echo "$as_me: failed program was:" >&5 1852sed 's/^/| /' conftest.$ac_ext >&5 1853 1854 ac_retval=$ac_status 1855fi 1856 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1858 as_fn_set_status $ac_retval 1859 1860} # ac_fn_c_try_run 1861 1862# ac_fn_c_check_func LINENO FUNC VAR 1863# ---------------------------------- 1864# Tests whether FUNC exists, setting the cache variable VAR accordingly 1865ac_fn_c_check_func () 1866{ 1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1869$as_echo_n "checking for $2... " >&6; } 1870if eval \${$3+:} false; then : 1871 $as_echo_n "(cached) " >&6 1872else 1873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1874/* end confdefs.h. */ 1875/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1876 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1877#define $2 innocuous_$2 1878 1879/* System header to define __stub macros and hopefully few prototypes, 1880 which can conflict with char $2 (); below. 1881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1882 <limits.h> exists even on freestanding compilers. */ 1883 1884#ifdef __STDC__ 1885# include <limits.h> 1886#else 1887# include <assert.h> 1888#endif 1889 1890#undef $2 1891 1892/* Override any GCC internal prototype to avoid an error. 1893 Use char because int might match the return type of a GCC 1894 builtin and then its argument prototype would still apply. */ 1895#ifdef __cplusplus 1896extern "C" 1897#endif 1898char $2 (); 1899/* The GNU C library defines this for functions which it implements 1900 to always fail with ENOSYS. Some functions are actually named 1901 something starting with __ and the normal name is an alias. */ 1902#if defined __stub_$2 || defined __stub___$2 1903choke me 1904#endif 1905 1906int 1907main () 1908{ 1909return $2 (); 1910 ; 1911 return 0; 1912} 1913_ACEOF 1914if ac_fn_c_try_link "$LINENO"; then : 1915 eval "$3=yes" 1916else 1917 eval "$3=no" 1918fi 1919rm -f core conftest.err conftest.$ac_objext \ 1920 conftest$ac_exeext conftest.$ac_ext 1921fi 1922eval ac_res=\$$3 1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1924$as_echo "$ac_res" >&6; } 1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1926 1927} # ac_fn_c_check_func 1928 1929# ac_fn_cxx_try_cpp LINENO 1930# ------------------------ 1931# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1932ac_fn_cxx_try_cpp () 1933{ 1934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1935 if { { ac_try="$ac_cpp conftest.$ac_ext" 1936case "(($ac_try" in 1937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1938 *) ac_try_echo=$ac_try;; 1939esac 1940eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1941$as_echo "$ac_try_echo"; } >&5 1942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1943 ac_status=$? 1944 if test -s conftest.err; then 1945 grep -v '^ *+' conftest.err >conftest.er1 1946 cat conftest.er1 >&5 1947 mv -f conftest.er1 conftest.err 1948 fi 1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1950 test $ac_status = 0; } > conftest.i && { 1951 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1952 test ! -s conftest.err 1953 }; then : 1954 ac_retval=0 1955else 1956 $as_echo "$as_me: failed program was:" >&5 1957sed 's/^/| /' conftest.$ac_ext >&5 1958 1959 ac_retval=1 1960fi 1961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1962 as_fn_set_status $ac_retval 1963 1964} # ac_fn_cxx_try_cpp 1965 1966# ac_fn_cxx_try_link LINENO 1967# ------------------------- 1968# Try to link conftest.$ac_ext, and return whether this succeeded. 1969ac_fn_cxx_try_link () 1970{ 1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1972 rm -f conftest.$ac_objext conftest$ac_exeext 1973 if { { ac_try="$ac_link" 1974case "(($ac_try" in 1975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1976 *) ac_try_echo=$ac_try;; 1977esac 1978eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1979$as_echo "$ac_try_echo"; } >&5 1980 (eval "$ac_link") 2>conftest.err 1981 ac_status=$? 1982 if test -s conftest.err; then 1983 grep -v '^ *+' conftest.err >conftest.er1 1984 cat conftest.er1 >&5 1985 mv -f conftest.er1 conftest.err 1986 fi 1987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1988 test $ac_status = 0; } && { 1989 test -z "$ac_cxx_werror_flag" || 1990 test ! -s conftest.err 1991 } && test -s conftest$ac_exeext && { 1992 test "$cross_compiling" = yes || 1993 test -x conftest$ac_exeext 1994 }; then : 1995 ac_retval=0 1996else 1997 $as_echo "$as_me: failed program was:" >&5 1998sed 's/^/| /' conftest.$ac_ext >&5 1999 2000 ac_retval=1 2001fi 2002 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2003 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2004 # interfere with the next link command; also delete a directory that is 2005 # left behind by Apple's compiler. We do this before executing the actions. 2006 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2008 as_fn_set_status $ac_retval 2009 2010} # ac_fn_cxx_try_link 2011cat >config.log <<_ACEOF 2012This file contains any messages produced by compilers while 2013running configure, to aid debugging if configure makes a mistake. 2014 2015It was created by cairomm $as_me 1.12.2, which was 2016generated by GNU Autoconf 2.69. Invocation command line was 2017 2018 $ $0 $@ 2019 2020_ACEOF 2021exec 5>>config.log 2022{ 2023cat <<_ASUNAME 2024## --------- ## 2025## Platform. ## 2026## --------- ## 2027 2028hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2029uname -m = `(uname -m) 2>/dev/null || echo unknown` 2030uname -r = `(uname -r) 2>/dev/null || echo unknown` 2031uname -s = `(uname -s) 2>/dev/null || echo unknown` 2032uname -v = `(uname -v) 2>/dev/null || echo unknown` 2033 2034/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2035/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2036 2037/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2038/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2039/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2040/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2041/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2042/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2043/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2044 2045_ASUNAME 2046 2047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2048for as_dir in $PATH 2049do 2050 IFS=$as_save_IFS 2051 test -z "$as_dir" && as_dir=. 2052 $as_echo "PATH: $as_dir" 2053 done 2054IFS=$as_save_IFS 2055 2056} >&5 2057 2058cat >&5 <<_ACEOF 2059 2060 2061## ----------- ## 2062## Core tests. ## 2063## ----------- ## 2064 2065_ACEOF 2066 2067 2068# Keep a trace of the command line. 2069# Strip out --no-create and --no-recursion so they do not pile up. 2070# Strip out --silent because we don't want to record it for future runs. 2071# Also quote any args containing shell meta-characters. 2072# Make two passes to allow for proper duplicate-argument suppression. 2073ac_configure_args= 2074ac_configure_args0= 2075ac_configure_args1= 2076ac_must_keep_next=false 2077for ac_pass in 1 2 2078do 2079 for ac_arg 2080 do 2081 case $ac_arg in 2082 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2083 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2084 | -silent | --silent | --silen | --sile | --sil) 2085 continue ;; 2086 *\'*) 2087 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2088 esac 2089 case $ac_pass in 2090 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2091 2) 2092 as_fn_append ac_configure_args1 " '$ac_arg'" 2093 if test $ac_must_keep_next = true; then 2094 ac_must_keep_next=false # Got value, back to normal. 2095 else 2096 case $ac_arg in 2097 *=* | --config-cache | -C | -disable-* | --disable-* \ 2098 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2099 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2100 | -with-* | --with-* | -without-* | --without-* | --x) 2101 case "$ac_configure_args0 " in 2102 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2103 esac 2104 ;; 2105 -* ) ac_must_keep_next=true ;; 2106 esac 2107 fi 2108 as_fn_append ac_configure_args " '$ac_arg'" 2109 ;; 2110 esac 2111 done 2112done 2113{ ac_configure_args0=; unset ac_configure_args0;} 2114{ ac_configure_args1=; unset ac_configure_args1;} 2115 2116# When interrupted or exit'd, cleanup temporary files, and complete 2117# config.log. We remove comments because anyway the quotes in there 2118# would cause problems or look ugly. 2119# WARNING: Use '\'' to represent an apostrophe within the trap. 2120# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2121trap 'exit_status=$? 2122 # Save into config.log some information that might help in debugging. 2123 { 2124 echo 2125 2126 $as_echo "## ---------------- ## 2127## Cache variables. ## 2128## ---------------- ##" 2129 echo 2130 # The following way of writing the cache mishandles newlines in values, 2131( 2132 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2133 eval ac_val=\$$ac_var 2134 case $ac_val in #( 2135 *${as_nl}*) 2136 case $ac_var in #( 2137 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2138$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2139 esac 2140 case $ac_var in #( 2141 _ | IFS | as_nl) ;; #( 2142 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2143 *) { eval $ac_var=; unset $ac_var;} ;; 2144 esac ;; 2145 esac 2146 done 2147 (set) 2>&1 | 2148 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2149 *${as_nl}ac_space=\ *) 2150 sed -n \ 2151 "s/'\''/'\''\\\\'\'''\''/g; 2152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2153 ;; #( 2154 *) 2155 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2156 ;; 2157 esac | 2158 sort 2159) 2160 echo 2161 2162 $as_echo "## ----------------- ## 2163## Output variables. ## 2164## ----------------- ##" 2165 echo 2166 for ac_var in $ac_subst_vars 2167 do 2168 eval ac_val=\$$ac_var 2169 case $ac_val in 2170 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2171 esac 2172 $as_echo "$ac_var='\''$ac_val'\''" 2173 done | sort 2174 echo 2175 2176 if test -n "$ac_subst_files"; then 2177 $as_echo "## ------------------- ## 2178## File substitutions. ## 2179## ------------------- ##" 2180 echo 2181 for ac_var in $ac_subst_files 2182 do 2183 eval ac_val=\$$ac_var 2184 case $ac_val in 2185 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2186 esac 2187 $as_echo "$ac_var='\''$ac_val'\''" 2188 done | sort 2189 echo 2190 fi 2191 2192 if test -s confdefs.h; then 2193 $as_echo "## ----------- ## 2194## confdefs.h. ## 2195## ----------- ##" 2196 echo 2197 cat confdefs.h 2198 echo 2199 fi 2200 test "$ac_signal" != 0 && 2201 $as_echo "$as_me: caught signal $ac_signal" 2202 $as_echo "$as_me: exit $exit_status" 2203 } >&5 2204 rm -f core *.core core.conftest.* && 2205 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2206 exit $exit_status 2207' 0 2208for ac_signal in 1 2 13 15; do 2209 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2210done 2211ac_signal=0 2212 2213# confdefs.h avoids OS command line length limits that DEFS can exceed. 2214rm -f -r conftest* confdefs.h 2215 2216$as_echo "/* confdefs.h */" > confdefs.h 2217 2218# Predefined preprocessor variables. 2219 2220cat >>confdefs.h <<_ACEOF 2221#define PACKAGE_NAME "$PACKAGE_NAME" 2222_ACEOF 2223 2224cat >>confdefs.h <<_ACEOF 2225#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2226_ACEOF 2227 2228cat >>confdefs.h <<_ACEOF 2229#define PACKAGE_VERSION "$PACKAGE_VERSION" 2230_ACEOF 2231 2232cat >>confdefs.h <<_ACEOF 2233#define PACKAGE_STRING "$PACKAGE_STRING" 2234_ACEOF 2235 2236cat >>confdefs.h <<_ACEOF 2237#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2238_ACEOF 2239 2240cat >>confdefs.h <<_ACEOF 2241#define PACKAGE_URL "$PACKAGE_URL" 2242_ACEOF 2243 2244 2245# Let the site file select an alternate cache file if it wants to. 2246# Prefer an explicitly selected file to automatically selected ones. 2247ac_site_file1=NONE 2248ac_site_file2=NONE 2249if test -n "$CONFIG_SITE"; then 2250 # We do not want a PATH search for config.site. 2251 case $CONFIG_SITE in #(( 2252 -*) ac_site_file1=./$CONFIG_SITE;; 2253 */*) ac_site_file1=$CONFIG_SITE;; 2254 *) ac_site_file1=./$CONFIG_SITE;; 2255 esac 2256elif test "x$prefix" != xNONE; then 2257 ac_site_file1=$prefix/share/config.site 2258 ac_site_file2=$prefix/etc/config.site 2259else 2260 ac_site_file1=$ac_default_prefix/share/config.site 2261 ac_site_file2=$ac_default_prefix/etc/config.site 2262fi 2263for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2264do 2265 test "x$ac_site_file" = xNONE && continue 2266 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2267 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2268$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2269 sed 's/^/| /' "$ac_site_file" >&5 2270 . "$ac_site_file" \ 2271 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2272$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2273as_fn_error $? "failed to load site script $ac_site_file 2274See \`config.log' for more details" "$LINENO" 5; } 2275 fi 2276done 2277 2278if test -r "$cache_file"; then 2279 # Some versions of bash will fail to source /dev/null (special files 2280 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2281 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2282 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2283$as_echo "$as_me: loading cache $cache_file" >&6;} 2284 case $cache_file in 2285 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2286 *) . "./$cache_file";; 2287 esac 2288 fi 2289else 2290 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2291$as_echo "$as_me: creating cache $cache_file" >&6;} 2292 >$cache_file 2293fi 2294 2295# Check that the precious variables saved in the cache have kept the same 2296# value. 2297ac_cache_corrupted=false 2298for ac_var in $ac_precious_vars; do 2299 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2300 eval ac_new_set=\$ac_env_${ac_var}_set 2301 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2302 eval ac_new_val=\$ac_env_${ac_var}_value 2303 case $ac_old_set,$ac_new_set in 2304 set,) 2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2306$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2307 ac_cache_corrupted=: ;; 2308 ,set) 2309 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2310$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2311 ac_cache_corrupted=: ;; 2312 ,);; 2313 *) 2314 if test "x$ac_old_val" != "x$ac_new_val"; then 2315 # differences in whitespace do not lead to failure. 2316 ac_old_val_w=`echo x $ac_old_val` 2317 ac_new_val_w=`echo x $ac_new_val` 2318 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2319 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2320$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2321 ac_cache_corrupted=: 2322 else 2323 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2324$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2325 eval $ac_var=\$ac_old_val 2326 fi 2327 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2328$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2329 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2330$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2331 fi;; 2332 esac 2333 # Pass precious variables to config.status. 2334 if test "$ac_new_set" = set; then 2335 case $ac_new_val in 2336 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2337 *) ac_arg=$ac_var=$ac_new_val ;; 2338 esac 2339 case " $ac_configure_args " in 2340 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2341 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2342 esac 2343 fi 2344done 2345if $ac_cache_corrupted; then 2346 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2347$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2349$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2350 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2351fi 2352## -------------------- ## 2353## Main body of script. ## 2354## -------------------- ## 2355 2356ac_ext=c 2357ac_cpp='$CPP $CPPFLAGS' 2358ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2359ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2360ac_compiler_gnu=$ac_cv_c_compiler_gnu 2361 2362 2363 2364 2365 2366ac_aux_dir= 2367for ac_dir in build "$srcdir"/build; do 2368 if test -f "$ac_dir/install-sh"; then 2369 ac_aux_dir=$ac_dir 2370 ac_install_sh="$ac_aux_dir/install-sh -c" 2371 break 2372 elif test -f "$ac_dir/install.sh"; then 2373 ac_aux_dir=$ac_dir 2374 ac_install_sh="$ac_aux_dir/install.sh -c" 2375 break 2376 elif test -f "$ac_dir/shtool"; then 2377 ac_aux_dir=$ac_dir 2378 ac_install_sh="$ac_aux_dir/shtool install -c" 2379 break 2380 fi 2381done 2382if test -z "$ac_aux_dir"; then 2383 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5 2384fi 2385 2386# These three variables are undocumented and unsupported, 2387# and are intended to be withdrawn in a future Autoconf release. 2388# They can cause serious problems if a builder's source tree is in a directory 2389# whose full name contains unusual characters. 2390ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2391ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2392ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2393 2394 2395 2396ac_config_headers="$ac_config_headers build/config.h cairommconfig.h" 2397 2398 2399am__api_version='1.15' 2400 2401# Find a good install program. We prefer a C program (faster), 2402# so one script is as good as another. But avoid the broken or 2403# incompatible versions: 2404# SysV /etc/install, /usr/sbin/install 2405# SunOS /usr/etc/install 2406# IRIX /sbin/install 2407# AIX /bin/install 2408# AmigaOS /C/install, which installs bootblocks on floppy discs 2409# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2410# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2411# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2412# OS/2's system install, which has a completely different semantic 2413# ./install, which can be erroneously created by make from ./install.sh. 2414# Reject install programs that cannot install multiple files. 2415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2416$as_echo_n "checking for a BSD-compatible install... " >&6; } 2417if test -z "$INSTALL"; then 2418if ${ac_cv_path_install+:} false; then : 2419 $as_echo_n "(cached) " >&6 2420else 2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2422for as_dir in $PATH 2423do 2424 IFS=$as_save_IFS 2425 test -z "$as_dir" && as_dir=. 2426 # Account for people who put trailing slashes in PATH elements. 2427case $as_dir/ in #(( 2428 ./ | .// | /[cC]/* | \ 2429 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2430 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2431 /usr/ucb/* ) ;; 2432 *) 2433 # OSF1 and SCO ODT 3.0 have their own names for install. 2434 # Don't use installbsd from OSF since it installs stuff as root 2435 # by default. 2436 for ac_prog in ginstall scoinst install; do 2437 for ac_exec_ext in '' $ac_executable_extensions; do 2438 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2439 if test $ac_prog = install && 2440 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2441 # AIX install. It has an incompatible calling convention. 2442 : 2443 elif test $ac_prog = install && 2444 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2445 # program-specific install script used by HP pwplus--don't use. 2446 : 2447 else 2448 rm -rf conftest.one conftest.two conftest.dir 2449 echo one > conftest.one 2450 echo two > conftest.two 2451 mkdir conftest.dir 2452 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2453 test -s conftest.one && test -s conftest.two && 2454 test -s conftest.dir/conftest.one && 2455 test -s conftest.dir/conftest.two 2456 then 2457 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2458 break 3 2459 fi 2460 fi 2461 fi 2462 done 2463 done 2464 ;; 2465esac 2466 2467 done 2468IFS=$as_save_IFS 2469 2470rm -rf conftest.one conftest.two conftest.dir 2471 2472fi 2473 if test "${ac_cv_path_install+set}" = set; then 2474 INSTALL=$ac_cv_path_install 2475 else 2476 # As a last resort, use the slow shell script. Don't cache a 2477 # value for INSTALL within a source directory, because that will 2478 # break other packages using the cache if that directory is 2479 # removed, or if the value is a relative name. 2480 INSTALL=$ac_install_sh 2481 fi 2482fi 2483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2484$as_echo "$INSTALL" >&6; } 2485 2486# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2487# It thinks the first close brace ends the variable substitution. 2488test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2489 2490test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2491 2492test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2493 2494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2495$as_echo_n "checking whether build environment is sane... " >&6; } 2496# Reject unsafe characters in $srcdir or the absolute working directory 2497# name. Accept space and tab only in the latter. 2498am_lf=' 2499' 2500case `pwd` in 2501 *[\\\"\#\$\&\'\`$am_lf]*) 2502 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2503esac 2504case $srcdir in 2505 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2506 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2507esac 2508 2509# Do 'set' in a subshell so we don't clobber the current shell's 2510# arguments. Must try -L first in case configure is actually a 2511# symlink; some systems play weird games with the mod time of symlinks 2512# (eg FreeBSD returns the mod time of the symlink's containing 2513# directory). 2514if ( 2515 am_has_slept=no 2516 for am_try in 1 2; do 2517 echo "timestamp, slept: $am_has_slept" > conftest.file 2518 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2519 if test "$*" = "X"; then 2520 # -L didn't work. 2521 set X `ls -t "$srcdir/configure" conftest.file` 2522 fi 2523 if test "$*" != "X $srcdir/configure conftest.file" \ 2524 && test "$*" != "X conftest.file $srcdir/configure"; then 2525 2526 # If neither matched, then we have a broken ls. This can happen 2527 # if, for instance, CONFIG_SHELL is bash and it inherits a 2528 # broken ls alias from the environment. This has actually 2529 # happened. Such a system could not be considered "sane". 2530 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2531 alias in your environment" "$LINENO" 5 2532 fi 2533 if test "$2" = conftest.file || test $am_try -eq 2; then 2534 break 2535 fi 2536 # Just in case. 2537 sleep 1 2538 am_has_slept=yes 2539 done 2540 test "$2" = conftest.file 2541 ) 2542then 2543 # Ok. 2544 : 2545else 2546 as_fn_error $? "newly created file is older than distributed files! 2547Check your system clock" "$LINENO" 5 2548fi 2549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2550$as_echo "yes" >&6; } 2551# If we didn't sleep, we still need to ensure time stamps of config.status and 2552# generated files are strictly newer. 2553am_sleep_pid= 2554if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2555 ( sleep 1 ) & 2556 am_sleep_pid=$! 2557fi 2558 2559rm -f conftest.file 2560 2561test "$program_prefix" != NONE && 2562 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2563# Use a double $ so make ignores it. 2564test "$program_suffix" != NONE && 2565 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2566# Double any \ or $. 2567# By default was `s,x,x', remove it if useless. 2568ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2569program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2570 2571# Expand $ac_aux_dir to an absolute path. 2572am_aux_dir=`cd "$ac_aux_dir" && pwd` 2573 2574if test x"${MISSING+set}" != xset; then 2575 case $am_aux_dir in 2576 *\ * | *\ *) 2577 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2578 *) 2579 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2580 esac 2581fi 2582# Use eval to expand $SHELL 2583if eval "$MISSING --is-lightweight"; then 2584 am_missing_run="$MISSING " 2585else 2586 am_missing_run= 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2588$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2589fi 2590 2591if test x"${install_sh+set}" != xset; then 2592 case $am_aux_dir in 2593 *\ * | *\ *) 2594 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2595 *) 2596 install_sh="\${SHELL} $am_aux_dir/install-sh" 2597 esac 2598fi 2599 2600# Installed binaries are usually stripped using 'strip' when the user 2601# run "make install-strip". However 'strip' might not be the right 2602# tool to use in cross-compilation environments, therefore Automake 2603# will honor the 'STRIP' environment variable to overrule this program. 2604if test "$cross_compiling" != no; then 2605 if test -n "$ac_tool_prefix"; then 2606 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2607set dummy ${ac_tool_prefix}strip; ac_word=$2 2608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2609$as_echo_n "checking for $ac_word... " >&6; } 2610if ${ac_cv_prog_STRIP+:} false; then : 2611 $as_echo_n "(cached) " >&6 2612else 2613 if test -n "$STRIP"; then 2614 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2615else 2616as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2617for as_dir in $PATH 2618do 2619 IFS=$as_save_IFS 2620 test -z "$as_dir" && as_dir=. 2621 for ac_exec_ext in '' $ac_executable_extensions; do 2622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2623 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2625 break 2 2626 fi 2627done 2628 done 2629IFS=$as_save_IFS 2630 2631fi 2632fi 2633STRIP=$ac_cv_prog_STRIP 2634if test -n "$STRIP"; then 2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2636$as_echo "$STRIP" >&6; } 2637else 2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2639$as_echo "no" >&6; } 2640fi 2641 2642 2643fi 2644if test -z "$ac_cv_prog_STRIP"; then 2645 ac_ct_STRIP=$STRIP 2646 # Extract the first word of "strip", so it can be a program name with args. 2647set dummy strip; ac_word=$2 2648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2649$as_echo_n "checking for $ac_word... " >&6; } 2650if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2651 $as_echo_n "(cached) " >&6 2652else 2653 if test -n "$ac_ct_STRIP"; then 2654 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2655else 2656as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2657for as_dir in $PATH 2658do 2659 IFS=$as_save_IFS 2660 test -z "$as_dir" && as_dir=. 2661 for ac_exec_ext in '' $ac_executable_extensions; do 2662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2663 ac_cv_prog_ac_ct_STRIP="strip" 2664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2665 break 2 2666 fi 2667done 2668 done 2669IFS=$as_save_IFS 2670 2671fi 2672fi 2673ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2674if test -n "$ac_ct_STRIP"; then 2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2676$as_echo "$ac_ct_STRIP" >&6; } 2677else 2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2679$as_echo "no" >&6; } 2680fi 2681 2682 if test "x$ac_ct_STRIP" = x; then 2683 STRIP=":" 2684 else 2685 case $cross_compiling:$ac_tool_warned in 2686yes:) 2687{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2688$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2689ac_tool_warned=yes ;; 2690esac 2691 STRIP=$ac_ct_STRIP 2692 fi 2693else 2694 STRIP="$ac_cv_prog_STRIP" 2695fi 2696 2697fi 2698INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2699 2700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2701$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2702if test -z "$MKDIR_P"; then 2703 if ${ac_cv_path_mkdir+:} false; then : 2704 $as_echo_n "(cached) " >&6 2705else 2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2707for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2708do 2709 IFS=$as_save_IFS 2710 test -z "$as_dir" && as_dir=. 2711 for ac_prog in mkdir gmkdir; do 2712 for ac_exec_ext in '' $ac_executable_extensions; do 2713 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2714 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2715 'mkdir (GNU coreutils) '* | \ 2716 'mkdir (coreutils) '* | \ 2717 'mkdir (fileutils) '4.1*) 2718 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2719 break 3;; 2720 esac 2721 done 2722 done 2723 done 2724IFS=$as_save_IFS 2725 2726fi 2727 2728 test -d ./--version && rmdir ./--version 2729 if test "${ac_cv_path_mkdir+set}" = set; then 2730 MKDIR_P="$ac_cv_path_mkdir -p" 2731 else 2732 # As a last resort, use the slow shell script. Don't cache a 2733 # value for MKDIR_P within a source directory, because that will 2734 # break other packages using the cache if that directory is 2735 # removed, or if the value is a relative name. 2736 MKDIR_P="$ac_install_sh -d" 2737 fi 2738fi 2739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2740$as_echo "$MKDIR_P" >&6; } 2741 2742for ac_prog in gawk mawk nawk awk 2743do 2744 # Extract the first word of "$ac_prog", so it can be a program name with args. 2745set dummy $ac_prog; ac_word=$2 2746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2747$as_echo_n "checking for $ac_word... " >&6; } 2748if ${ac_cv_prog_AWK+:} false; then : 2749 $as_echo_n "(cached) " >&6 2750else 2751 if test -n "$AWK"; then 2752 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2753else 2754as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2755for as_dir in $PATH 2756do 2757 IFS=$as_save_IFS 2758 test -z "$as_dir" && as_dir=. 2759 for ac_exec_ext in '' $ac_executable_extensions; do 2760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2761 ac_cv_prog_AWK="$ac_prog" 2762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2763 break 2 2764 fi 2765done 2766 done 2767IFS=$as_save_IFS 2768 2769fi 2770fi 2771AWK=$ac_cv_prog_AWK 2772if test -n "$AWK"; then 2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2774$as_echo "$AWK" >&6; } 2775else 2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2777$as_echo "no" >&6; } 2778fi 2779 2780 2781 test -n "$AWK" && break 2782done 2783 2784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2785$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2786set x ${MAKE-make} 2787ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2788if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2789 $as_echo_n "(cached) " >&6 2790else 2791 cat >conftest.make <<\_ACEOF 2792SHELL = /bin/sh 2793all: 2794 @echo '@@@%%%=$(MAKE)=@@@%%%' 2795_ACEOF 2796# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2797case `${MAKE-make} -f conftest.make 2>/dev/null` in 2798 *@@@%%%=?*=@@@%%%*) 2799 eval ac_cv_prog_make_${ac_make}_set=yes;; 2800 *) 2801 eval ac_cv_prog_make_${ac_make}_set=no;; 2802esac 2803rm -f conftest.make 2804fi 2805if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2807$as_echo "yes" >&6; } 2808 SET_MAKE= 2809else 2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2811$as_echo "no" >&6; } 2812 SET_MAKE="MAKE=${MAKE-make}" 2813fi 2814 2815rm -rf .tst 2>/dev/null 2816mkdir .tst 2>/dev/null 2817if test -d .tst; then 2818 am__leading_dot=. 2819else 2820 am__leading_dot=_ 2821fi 2822rmdir .tst 2>/dev/null 2823 2824# Check whether --enable-silent-rules was given. 2825if test "${enable_silent_rules+set}" = set; then : 2826 enableval=$enable_silent_rules; 2827fi 2828 2829case $enable_silent_rules in # ((( 2830 yes) AM_DEFAULT_VERBOSITY=0;; 2831 no) AM_DEFAULT_VERBOSITY=1;; 2832 *) AM_DEFAULT_VERBOSITY=1;; 2833esac 2834am_make=${MAKE-make} 2835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2836$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2837if ${am_cv_make_support_nested_variables+:} false; then : 2838 $as_echo_n "(cached) " >&6 2839else 2840 if $as_echo 'TRUE=$(BAR$(V)) 2841BAR0=false 2842BAR1=true 2843V=1 2844am__doit: 2845 @$(TRUE) 2846.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2847 am_cv_make_support_nested_variables=yes 2848else 2849 am_cv_make_support_nested_variables=no 2850fi 2851fi 2852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2853$as_echo "$am_cv_make_support_nested_variables" >&6; } 2854if test $am_cv_make_support_nested_variables = yes; then 2855 AM_V='$(V)' 2856 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2857else 2858 AM_V=$AM_DEFAULT_VERBOSITY 2859 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2860fi 2861AM_BACKSLASH='\' 2862 2863if test "`cd $srcdir && pwd`" != "`pwd`"; then 2864 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2865 # is not polluted with repeated "-I." 2866 am__isrc=' -I$(srcdir)' 2867 # test to see if srcdir already configured 2868 if test -f $srcdir/config.status; then 2869 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2870 fi 2871fi 2872 2873# test whether we have cygpath 2874if test -z "$CYGPATH_W"; then 2875 if (cygpath --version) >/dev/null 2>/dev/null; then 2876 CYGPATH_W='cygpath -w' 2877 else 2878 CYGPATH_W=echo 2879 fi 2880fi 2881 2882 2883# Define the identity of the package. 2884 PACKAGE='cairomm' 2885 VERSION='1.12.2' 2886 2887 2888# Some tools Automake needs. 2889 2890ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2891 2892 2893AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2894 2895 2896AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2897 2898 2899AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2900 2901 2902MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2903 2904# For better backward compatibility. To be removed once Automake 1.9.x 2905# dies out for good. For more background, see: 2906# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2907# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2908mkdir_p='$(MKDIR_P)' 2909 2910# We need awk for the "check" target (and possibly the TAP driver). The 2911# system "awk" is bad on some platforms. 2912# Always define AMTAR for backward compatibility. Yes, it's still used 2913# in the wild :-( We should find a proper way to deprecate it ... 2914AMTAR='$${TAR-tar}' 2915 2916 2917# We'll loop over all known methods to create a tar archive until one works. 2918_am_tools='gnutar pax cpio none' 2919 2920 2921 2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 2923$as_echo_n "checking how to create a pax tar archive... " >&6; } 2924 2925 # Go ahead even if we have the value already cached. We do so because we 2926 # need to set the values for the 'am__tar' and 'am__untar' variables. 2927 _am_tools=${am_cv_prog_tar_pax-$_am_tools} 2928 2929 for _am_tool in $_am_tools; do 2930 case $_am_tool in 2931 gnutar) 2932 for _am_tar in tar gnutar gtar; do 2933 { echo "$as_me:$LINENO: $_am_tar --version" >&5 2934 ($_am_tar --version) >&5 2>&5 2935 ac_status=$? 2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2937 (exit $ac_status); } && break 2938 done 2939 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"' 2940 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"' 2941 am__untar="$_am_tar -xf -" 2942 ;; 2943 plaintar) 2944 # Must skip GNU tar: if it does not support --format= it doesn't create 2945 # ustar tarball either. 2946 (tar --version) >/dev/null 2>&1 && continue 2947 am__tar='tar chf - "$$tardir"' 2948 am__tar_='tar chf - "$tardir"' 2949 am__untar='tar xf -' 2950 ;; 2951 pax) 2952 am__tar='pax -L -x pax -w "$$tardir"' 2953 am__tar_='pax -L -x pax -w "$tardir"' 2954 am__untar='pax -r' 2955 ;; 2956 cpio) 2957 am__tar='find "$$tardir" -print | cpio -o -H pax -L' 2958 am__tar_='find "$tardir" -print | cpio -o -H pax -L' 2959 am__untar='cpio -i -H pax -d' 2960 ;; 2961 none) 2962 am__tar=false 2963 am__tar_=false 2964 am__untar=false 2965 ;; 2966 esac 2967 2968 # If the value was cached, stop now. We just wanted to have am__tar 2969 # and am__untar set. 2970 test -n "${am_cv_prog_tar_pax}" && break 2971 2972 # tar/untar a dummy directory, and stop if the command works. 2973 rm -rf conftest.dir 2974 mkdir conftest.dir 2975 echo GrepMe > conftest.dir/file 2976 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 2977 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 2978 ac_status=$? 2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2980 (exit $ac_status); } 2981 rm -rf conftest.dir 2982 if test -s conftest.tar; then 2983 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 2984 ($am__untar <conftest.tar) >&5 2>&5 2985 ac_status=$? 2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2987 (exit $ac_status); } 2988 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 2989 (cat conftest.dir/file) >&5 2>&5 2990 ac_status=$? 2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2992 (exit $ac_status); } 2993 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 2994 fi 2995 done 2996 rm -rf conftest.dir 2997 2998 if ${am_cv_prog_tar_pax+:} false; then : 2999 $as_echo_n "(cached) " >&6 3000else 3001 am_cv_prog_tar_pax=$_am_tool 3002fi 3003 3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 3005$as_echo "$am_cv_prog_tar_pax" >&6; } 3006 3007 3008 3009 3010 3011 3012# POSIX will say in a future version that running "rm -f" with no argument 3013# is OK; and we want to be able to make that assumption in our Makefile 3014# recipes. So use an aggressive probe to check that the usage we want is 3015# actually supported "in the wild" to an acceptable degree. 3016# See automake bug#10828. 3017# To make any issue more visible, cause the running configure to be aborted 3018# by default if the 'rm' program in use doesn't match our expectations; the 3019# user can still override this though. 3020if rm -f && rm -fr && rm -rf; then : OK; else 3021 cat >&2 <<'END' 3022Oops! 3023 3024Your 'rm' program seems unable to run without file operands specified 3025on the command line, even when the '-f' option is present. This is contrary 3026to the behaviour of most rm programs out there, and not conforming with 3027the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3028 3029Please tell bug-automake@gnu.org about your system, including the value 3030of your $PATH and any error possibly output before this message. This 3031can help us improve future automake versions. 3032 3033END 3034 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3035 echo 'Configuration will proceed anyway, since you have set the' >&2 3036 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3037 echo >&2 3038 else 3039 cat >&2 <<'END' 3040Aborting the configuration process, to ensure you take notice of the issue. 3041 3042You can download and install GNU coreutils to get an 'rm' implementation 3043that behaves properly: <http://www.gnu.org/software/coreutils/>. 3044 3045If you want to complete the configuration process using your problematic 3046'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3047to "yes", and re-run configure. 3048 3049END 3050 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3051 fi 3052fi 3053 3054# Check whether --enable-silent-rules was given. 3055if test "${enable_silent_rules+set}" = set; then : 3056 enableval=$enable_silent_rules; 3057fi 3058 3059case $enable_silent_rules in # ((( 3060 yes) AM_DEFAULT_VERBOSITY=0;; 3061 no) AM_DEFAULT_VERBOSITY=1;; 3062 *) AM_DEFAULT_VERBOSITY=1;; 3063esac 3064am_make=${MAKE-make} 3065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3066$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3067if ${am_cv_make_support_nested_variables+:} false; then : 3068 $as_echo_n "(cached) " >&6 3069else 3070 if $as_echo 'TRUE=$(BAR$(V)) 3071BAR0=false 3072BAR1=true 3073V=1 3074am__doit: 3075 @$(TRUE) 3076.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3077 am_cv_make_support_nested_variables=yes 3078else 3079 am_cv_make_support_nested_variables=no 3080fi 3081fi 3082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3083$as_echo "$am_cv_make_support_nested_variables" >&6; } 3084if test $am_cv_make_support_nested_variables = yes; then 3085 AM_V='$(V)' 3086 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3087else 3088 AM_V=$AM_DEFAULT_VERBOSITY 3089 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3090fi 3091AM_BACKSLASH='\' 3092 3093 3094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3095$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3096 # Check whether --enable-maintainer-mode was given. 3097if test "${enable_maintainer_mode+set}" = set; then : 3098 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3099else 3100 USE_MAINTAINER_MODE=no 3101fi 3102 3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3104$as_echo "$USE_MAINTAINER_MODE" >&6; } 3105 if test $USE_MAINTAINER_MODE = yes; then 3106 MAINTAINER_MODE_TRUE= 3107 MAINTAINER_MODE_FALSE='#' 3108else 3109 MAINTAINER_MODE_TRUE='#' 3110 MAINTAINER_MODE_FALSE= 3111fi 3112 3113 MAINT=$MAINTAINER_MODE_TRUE 3114 3115 3116 3117 3118 3119 3120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5 3121$as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; } 3122cat >conftest.make <<'_MMEOF' 3123override reverse = $(2)$(subst ,, )$(1) 3124override result := $(word 2,$(call reverse,success,failure)) 3125all: ; test '$(result)' = success 3126.PHONY: all 3127_MMEOF 3128if ${MAKE-make} -f conftest.make >&5 2>&5; then : 3129 mm_gnu_make=yes 3130else 3131 mm_gnu_make=no 3132fi 3133rm -f conftest.make 3134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5 3135$as_echo "$mm_gnu_make" >&6; } 3136if test "x$mm_gnu_make" != xyes; then : 3137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3138$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3139as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME. 3140See \`config.log' for more details" "$LINENO" 5; } 3141fi 3142 3143CAIROMM_MODULE_NAME='cairomm-1.0' 3144 3145CAIROMM_VERSION='1.12.2' 3146 3147CAIROMM_API_VERSION='1.0' 3148 3149CAIROMM_MAJOR_VERSION=1 3150 3151 3152$as_echo "#define CAIROMM_MAJOR_VERSION 1" >>confdefs.h 3153 3154CAIROMM_MINOR_VERSION=12 3155 3156 3157$as_echo "#define CAIROMM_MINOR_VERSION 12" >>confdefs.h 3158 3159CAIROMM_MICRO_VERSION=2 3160 3161 3162$as_echo "#define CAIROMM_MICRO_VERSION 2" >>confdefs.h 3163 3164 3165MMDOCTOOLDIR='${top_srcdir}/docs' 3166 if test 'xdocs' != 'x'; then 3167 DIST_DOCTOOLS_TRUE= 3168 DIST_DOCTOOLS_FALSE='#' 3169else 3170 DIST_DOCTOOLS_TRUE='#' 3171 DIST_DOCTOOLS_FALSE= 3172fi 3173 3174 3175# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html 3176CAIROMM_SO_VERSION=5:0:4 3177 3178 3179ac_ext=cpp 3180ac_cpp='$CXXCPP $CPPFLAGS' 3181ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3182ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3183ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3184if test -z "$CXX"; then 3185 if test -n "$CCC"; then 3186 CXX=$CCC 3187 else 3188 if test -n "$ac_tool_prefix"; then 3189 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3190 do 3191 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3192set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3194$as_echo_n "checking for $ac_word... " >&6; } 3195if ${ac_cv_prog_CXX+:} false; then : 3196 $as_echo_n "(cached) " >&6 3197else 3198 if test -n "$CXX"; then 3199 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3200else 3201as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3202for as_dir in $PATH 3203do 3204 IFS=$as_save_IFS 3205 test -z "$as_dir" && as_dir=. 3206 for ac_exec_ext in '' $ac_executable_extensions; do 3207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3208 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3210 break 2 3211 fi 3212done 3213 done 3214IFS=$as_save_IFS 3215 3216fi 3217fi 3218CXX=$ac_cv_prog_CXX 3219if test -n "$CXX"; then 3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3221$as_echo "$CXX" >&6; } 3222else 3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3224$as_echo "no" >&6; } 3225fi 3226 3227 3228 test -n "$CXX" && break 3229 done 3230fi 3231if test -z "$CXX"; then 3232 ac_ct_CXX=$CXX 3233 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3234do 3235 # Extract the first word of "$ac_prog", so it can be a program name with args. 3236set dummy $ac_prog; ac_word=$2 3237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3238$as_echo_n "checking for $ac_word... " >&6; } 3239if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3240 $as_echo_n "(cached) " >&6 3241else 3242 if test -n "$ac_ct_CXX"; then 3243 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3244else 3245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3246for as_dir in $PATH 3247do 3248 IFS=$as_save_IFS 3249 test -z "$as_dir" && as_dir=. 3250 for ac_exec_ext in '' $ac_executable_extensions; do 3251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3252 ac_cv_prog_ac_ct_CXX="$ac_prog" 3253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3254 break 2 3255 fi 3256done 3257 done 3258IFS=$as_save_IFS 3259 3260fi 3261fi 3262ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3263if test -n "$ac_ct_CXX"; then 3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3265$as_echo "$ac_ct_CXX" >&6; } 3266else 3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3268$as_echo "no" >&6; } 3269fi 3270 3271 3272 test -n "$ac_ct_CXX" && break 3273done 3274 3275 if test "x$ac_ct_CXX" = x; then 3276 CXX="g++" 3277 else 3278 case $cross_compiling:$ac_tool_warned in 3279yes:) 3280{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3281$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3282ac_tool_warned=yes ;; 3283esac 3284 CXX=$ac_ct_CXX 3285 fi 3286fi 3287 3288 fi 3289fi 3290# Provide some information about the compiler. 3291$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3292set X $ac_compile 3293ac_compiler=$2 3294for ac_option in --version -v -V -qversion; do 3295 { { ac_try="$ac_compiler $ac_option >&5" 3296case "(($ac_try" in 3297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3298 *) ac_try_echo=$ac_try;; 3299esac 3300eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3301$as_echo "$ac_try_echo"; } >&5 3302 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3303 ac_status=$? 3304 if test -s conftest.err; then 3305 sed '10a\ 3306... rest of stderr output deleted ... 3307 10q' conftest.err >conftest.er1 3308 cat conftest.er1 >&5 3309 fi 3310 rm -f conftest.er1 conftest.err 3311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3312 test $ac_status = 0; } 3313done 3314 3315cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3316/* end confdefs.h. */ 3317 3318int 3319main () 3320{ 3321 3322 ; 3323 return 0; 3324} 3325_ACEOF 3326ac_clean_files_save=$ac_clean_files 3327ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3328# Try to create an executable without -o first, disregard a.out. 3329# It will help us diagnose broken compilers, and finding out an intuition 3330# of exeext. 3331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 3332$as_echo_n "checking whether the C++ compiler works... " >&6; } 3333ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3334 3335# The possible output files: 3336ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3337 3338ac_rmfiles= 3339for ac_file in $ac_files 3340do 3341 case $ac_file in 3342 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3343 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3344 esac 3345done 3346rm -f $ac_rmfiles 3347 3348if { { ac_try="$ac_link_default" 3349case "(($ac_try" in 3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3351 *) ac_try_echo=$ac_try;; 3352esac 3353eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3354$as_echo "$ac_try_echo"; } >&5 3355 (eval "$ac_link_default") 2>&5 3356 ac_status=$? 3357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3358 test $ac_status = 0; }; then : 3359 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3360# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3361# in a Makefile. We should not override ac_cv_exeext if it was cached, 3362# so that the user can short-circuit this test for compilers unknown to 3363# Autoconf. 3364for ac_file in $ac_files '' 3365do 3366 test -f "$ac_file" || continue 3367 case $ac_file in 3368 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3369 ;; 3370 [ab].out ) 3371 # We found the default executable, but exeext='' is most 3372 # certainly right. 3373 break;; 3374 *.* ) 3375 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3376 then :; else 3377 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3378 fi 3379 # We set ac_cv_exeext here because the later test for it is not 3380 # safe: cross compilers may not add the suffix if given an `-o' 3381 # argument, so we may need to know it at that point already. 3382 # Even if this section looks crufty: it has the advantage of 3383 # actually working. 3384 break;; 3385 * ) 3386 break;; 3387 esac 3388done 3389test "$ac_cv_exeext" = no && ac_cv_exeext= 3390 3391else 3392 ac_file='' 3393fi 3394if test -z "$ac_file"; then : 3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3396$as_echo "no" >&6; } 3397$as_echo "$as_me: failed program was:" >&5 3398sed 's/^/| /' conftest.$ac_ext >&5 3399 3400{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3401$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3402as_fn_error 77 "C++ compiler cannot create executables 3403See \`config.log' for more details" "$LINENO" 5; } 3404else 3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3406$as_echo "yes" >&6; } 3407fi 3408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 3409$as_echo_n "checking for C++ compiler default output file name... " >&6; } 3410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3411$as_echo "$ac_file" >&6; } 3412ac_exeext=$ac_cv_exeext 3413 3414rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3415ac_clean_files=$ac_clean_files_save 3416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3417$as_echo_n "checking for suffix of executables... " >&6; } 3418if { { ac_try="$ac_link" 3419case "(($ac_try" in 3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3421 *) ac_try_echo=$ac_try;; 3422esac 3423eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3424$as_echo "$ac_try_echo"; } >&5 3425 (eval "$ac_link") 2>&5 3426 ac_status=$? 3427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3428 test $ac_status = 0; }; then : 3429 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3430# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3431# work properly (i.e., refer to `conftest.exe'), while it won't with 3432# `rm'. 3433for ac_file in conftest.exe conftest conftest.*; do 3434 test -f "$ac_file" || continue 3435 case $ac_file in 3436 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3437 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3438 break;; 3439 * ) break;; 3440 esac 3441done 3442else 3443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3444$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3445as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3446See \`config.log' for more details" "$LINENO" 5; } 3447fi 3448rm -f conftest conftest$ac_cv_exeext 3449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3450$as_echo "$ac_cv_exeext" >&6; } 3451 3452rm -f conftest.$ac_ext 3453EXEEXT=$ac_cv_exeext 3454ac_exeext=$EXEEXT 3455cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3456/* end confdefs.h. */ 3457#include <stdio.h> 3458int 3459main () 3460{ 3461FILE *f = fopen ("conftest.out", "w"); 3462 return ferror (f) || fclose (f) != 0; 3463 3464 ; 3465 return 0; 3466} 3467_ACEOF 3468ac_clean_files="$ac_clean_files conftest.out" 3469# Check that the compiler produces executables we can run. If not, either 3470# the compiler is broken, or we cross compile. 3471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3472$as_echo_n "checking whether we are cross compiling... " >&6; } 3473if test "$cross_compiling" != yes; then 3474 { { ac_try="$ac_link" 3475case "(($ac_try" in 3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3477 *) ac_try_echo=$ac_try;; 3478esac 3479eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3480$as_echo "$ac_try_echo"; } >&5 3481 (eval "$ac_link") 2>&5 3482 ac_status=$? 3483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3484 test $ac_status = 0; } 3485 if { ac_try='./conftest$ac_cv_exeext' 3486 { { case "(($ac_try" in 3487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3488 *) ac_try_echo=$ac_try;; 3489esac 3490eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3491$as_echo "$ac_try_echo"; } >&5 3492 (eval "$ac_try") 2>&5 3493 ac_status=$? 3494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3495 test $ac_status = 0; }; }; then 3496 cross_compiling=no 3497 else 3498 if test "$cross_compiling" = maybe; then 3499 cross_compiling=yes 3500 else 3501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3502$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3503as_fn_error $? "cannot run C++ compiled programs. 3504If you meant to cross compile, use \`--host'. 3505See \`config.log' for more details" "$LINENO" 5; } 3506 fi 3507 fi 3508fi 3509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3510$as_echo "$cross_compiling" >&6; } 3511 3512rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3513ac_clean_files=$ac_clean_files_save 3514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3515$as_echo_n "checking for suffix of object files... " >&6; } 3516if ${ac_cv_objext+:} false; then : 3517 $as_echo_n "(cached) " >&6 3518else 3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3520/* end confdefs.h. */ 3521 3522int 3523main () 3524{ 3525 3526 ; 3527 return 0; 3528} 3529_ACEOF 3530rm -f conftest.o conftest.obj 3531if { { ac_try="$ac_compile" 3532case "(($ac_try" in 3533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3534 *) ac_try_echo=$ac_try;; 3535esac 3536eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3537$as_echo "$ac_try_echo"; } >&5 3538 (eval "$ac_compile") 2>&5 3539 ac_status=$? 3540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3541 test $ac_status = 0; }; then : 3542 for ac_file in conftest.o conftest.obj conftest.*; do 3543 test -f "$ac_file" || continue; 3544 case $ac_file in 3545 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3546 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3547 break;; 3548 esac 3549done 3550else 3551 $as_echo "$as_me: failed program was:" >&5 3552sed 's/^/| /' conftest.$ac_ext >&5 3553 3554{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3555$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3556as_fn_error $? "cannot compute suffix of object files: cannot compile 3557See \`config.log' for more details" "$LINENO" 5; } 3558fi 3559rm -f conftest.$ac_cv_objext conftest.$ac_ext 3560fi 3561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3562$as_echo "$ac_cv_objext" >&6; } 3563OBJEXT=$ac_cv_objext 3564ac_objext=$OBJEXT 3565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3566$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3567if ${ac_cv_cxx_compiler_gnu+:} false; then : 3568 $as_echo_n "(cached) " >&6 3569else 3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3571/* end confdefs.h. */ 3572 3573int 3574main () 3575{ 3576#ifndef __GNUC__ 3577 choke me 3578#endif 3579 3580 ; 3581 return 0; 3582} 3583_ACEOF 3584if ac_fn_cxx_try_compile "$LINENO"; then : 3585 ac_compiler_gnu=yes 3586else 3587 ac_compiler_gnu=no 3588fi 3589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3590ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3591 3592fi 3593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3594$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3595if test $ac_compiler_gnu = yes; then 3596 GXX=yes 3597else 3598 GXX= 3599fi 3600ac_test_CXXFLAGS=${CXXFLAGS+set} 3601ac_save_CXXFLAGS=$CXXFLAGS 3602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3603$as_echo_n "checking whether $CXX accepts -g... " >&6; } 3604if ${ac_cv_prog_cxx_g+:} false; then : 3605 $as_echo_n "(cached) " >&6 3606else 3607 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3608 ac_cxx_werror_flag=yes 3609 ac_cv_prog_cxx_g=no 3610 CXXFLAGS="-g" 3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3612/* end confdefs.h. */ 3613 3614int 3615main () 3616{ 3617 3618 ; 3619 return 0; 3620} 3621_ACEOF 3622if ac_fn_cxx_try_compile "$LINENO"; then : 3623 ac_cv_prog_cxx_g=yes 3624else 3625 CXXFLAGS="" 3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3627/* end confdefs.h. */ 3628 3629int 3630main () 3631{ 3632 3633 ; 3634 return 0; 3635} 3636_ACEOF 3637if ac_fn_cxx_try_compile "$LINENO"; then : 3638 3639else 3640 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3641 CXXFLAGS="-g" 3642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3643/* end confdefs.h. */ 3644 3645int 3646main () 3647{ 3648 3649 ; 3650 return 0; 3651} 3652_ACEOF 3653if ac_fn_cxx_try_compile "$LINENO"; then : 3654 ac_cv_prog_cxx_g=yes 3655fi 3656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3657fi 3658rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3659fi 3660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3661 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3662fi 3663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3664$as_echo "$ac_cv_prog_cxx_g" >&6; } 3665if test "$ac_test_CXXFLAGS" = set; then 3666 CXXFLAGS=$ac_save_CXXFLAGS 3667elif test $ac_cv_prog_cxx_g = yes; then 3668 if test "$GXX" = yes; then 3669 CXXFLAGS="-g -O2" 3670 else 3671 CXXFLAGS="-g" 3672 fi 3673else 3674 if test "$GXX" = yes; then 3675 CXXFLAGS="-O2" 3676 else 3677 CXXFLAGS= 3678 fi 3679fi 3680ac_ext=c 3681ac_cpp='$CPP $CPPFLAGS' 3682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3684ac_compiler_gnu=$ac_cv_c_compiler_gnu 3685DEPDIR="${am__leading_dot}deps" 3686 3687ac_config_commands="$ac_config_commands depfiles" 3688 3689 3690am_make=${MAKE-make} 3691cat > confinc << 'END' 3692am__doit: 3693 @echo this is the am__doit target 3694.PHONY: am__doit 3695END 3696# If we don't find an include directive, just comment out the code. 3697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3698$as_echo_n "checking for style of include used by $am_make... " >&6; } 3699am__include="#" 3700am__quote= 3701_am_result=none 3702# First try GNU make style include. 3703echo "include confinc" > confmf 3704# Ignore all kinds of additional output from 'make'. 3705case `$am_make -s -f confmf 2> /dev/null` in #( 3706*the\ am__doit\ target*) 3707 am__include=include 3708 am__quote= 3709 _am_result=GNU 3710 ;; 3711esac 3712# Now try BSD make style include. 3713if test "$am__include" = "#"; then 3714 echo '.include "confinc"' > confmf 3715 case `$am_make -s -f confmf 2> /dev/null` in #( 3716 *the\ am__doit\ target*) 3717 am__include=.include 3718 am__quote="\"" 3719 _am_result=BSD 3720 ;; 3721 esac 3722fi 3723 3724 3725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3726$as_echo "$_am_result" >&6; } 3727rm -f confinc confmf 3728 3729# Check whether --enable-dependency-tracking was given. 3730if test "${enable_dependency_tracking+set}" = set; then : 3731 enableval=$enable_dependency_tracking; 3732fi 3733 3734if test "x$enable_dependency_tracking" != xno; then 3735 am_depcomp="$ac_aux_dir/depcomp" 3736 AMDEPBACKSLASH='\' 3737 am__nodep='_no' 3738fi 3739 if test "x$enable_dependency_tracking" != xno; then 3740 AMDEP_TRUE= 3741 AMDEP_FALSE='#' 3742else 3743 AMDEP_TRUE='#' 3744 AMDEP_FALSE= 3745fi 3746 3747 3748 3749depcc="$CXX" am_compiler_list= 3750 3751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3752$as_echo_n "checking dependency style of $depcc... " >&6; } 3753if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 3754 $as_echo_n "(cached) " >&6 3755else 3756 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3757 # We make a subdir and do the tests there. Otherwise we can end up 3758 # making bogus files that we don't know about and never remove. For 3759 # instance it was reported that on HP-UX the gcc test will end up 3760 # making a dummy file named 'D' -- because '-MD' means "put the output 3761 # in D". 3762 rm -rf conftest.dir 3763 mkdir conftest.dir 3764 # Copy depcomp to subdir because otherwise we won't find it if we're 3765 # using a relative directory. 3766 cp "$am_depcomp" conftest.dir 3767 cd conftest.dir 3768 # We will build objects and dependencies in a subdirectory because 3769 # it helps to detect inapplicable dependency modes. For instance 3770 # both Tru64's cc and ICC support -MD to output dependencies as a 3771 # side effect of compilation, but ICC will put the dependencies in 3772 # the current directory while Tru64 will put them in the object 3773 # directory. 3774 mkdir sub 3775 3776 am_cv_CXX_dependencies_compiler_type=none 3777 if test "$am_compiler_list" = ""; then 3778 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3779 fi 3780 am__universal=false 3781 case " $depcc " in #( 3782 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3783 esac 3784 3785 for depmode in $am_compiler_list; do 3786 # Setup a source with many dependencies, because some compilers 3787 # like to wrap large dependency lists on column 80 (with \), and 3788 # we should not choose a depcomp mode which is confused by this. 3789 # 3790 # We need to recreate these files for each test, as the compiler may 3791 # overwrite some of them when testing with obscure command lines. 3792 # This happens at least with the AIX C compiler. 3793 : > sub/conftest.c 3794 for i in 1 2 3 4 5 6; do 3795 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3796 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3797 # Solaris 10 /bin/sh. 3798 echo '/* dummy */' > sub/conftst$i.h 3799 done 3800 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3801 3802 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3803 # mode. It turns out that the SunPro C++ compiler does not properly 3804 # handle '-M -o', and we need to detect this. Also, some Intel 3805 # versions had trouble with output in subdirs. 3806 am__obj=sub/conftest.${OBJEXT-o} 3807 am__minus_obj="-o $am__obj" 3808 case $depmode in 3809 gcc) 3810 # This depmode causes a compiler race in universal mode. 3811 test "$am__universal" = false || continue 3812 ;; 3813 nosideeffect) 3814 # After this tag, mechanisms are not by side-effect, so they'll 3815 # only be used when explicitly requested. 3816 if test "x$enable_dependency_tracking" = xyes; then 3817 continue 3818 else 3819 break 3820 fi 3821 ;; 3822 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3823 # This compiler won't grok '-c -o', but also, the minuso test has 3824 # not run yet. These depmodes are late enough in the game, and 3825 # so weak that their functioning should not be impacted. 3826 am__obj=conftest.${OBJEXT-o} 3827 am__minus_obj= 3828 ;; 3829 none) break ;; 3830 esac 3831 if depmode=$depmode \ 3832 source=sub/conftest.c object=$am__obj \ 3833 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3834 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3835 >/dev/null 2>conftest.err && 3836 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3837 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3838 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3839 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3840 # icc doesn't choke on unknown options, it will just issue warnings 3841 # or remarks (even with -Werror). So we grep stderr for any message 3842 # that says an option was ignored or not supported. 3843 # When given -MP, icc 7.0 and 7.1 complain thusly: 3844 # icc: Command line warning: ignoring option '-M'; no argument required 3845 # The diagnosis changed in icc 8.0: 3846 # icc: Command line remark: option '-MP' not supported 3847 if (grep 'ignoring option' conftest.err || 3848 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3849 am_cv_CXX_dependencies_compiler_type=$depmode 3850 break 3851 fi 3852 fi 3853 done 3854 3855 cd .. 3856 rm -rf conftest.dir 3857else 3858 am_cv_CXX_dependencies_compiler_type=none 3859fi 3860 3861fi 3862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 3863$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 3864CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 3865 3866 if 3867 test "x$enable_dependency_tracking" != xno \ 3868 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 3869 am__fastdepCXX_TRUE= 3870 am__fastdepCXX_FALSE='#' 3871else 3872 am__fastdepCXX_TRUE='#' 3873 am__fastdepCXX_FALSE= 3874fi 3875 3876 3877 3878 ax_cxx_compile_cxx11_required=true 3879 ac_ext=cpp 3880ac_cpp='$CXXCPP $CPPFLAGS' 3881ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3882ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3883ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3884 ac_success=no 3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5 3886$as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; } 3887if ${ax_cv_cxx_compile_cxx11+:} false; then : 3888 $as_echo_n "(cached) " >&6 3889else 3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3891/* end confdefs.h. */ 3892 3893 template <typename T> 3894 struct check 3895 { 3896 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 3897 }; 3898 3899 struct Base { 3900 virtual void f() {} 3901 }; 3902 struct Child : public Base { 3903 virtual void f() override {} 3904 }; 3905 3906 typedef check<check<bool>> right_angle_brackets; 3907 3908 int a; 3909 decltype(a) b; 3910 3911 typedef check<int> check_type; 3912 check_type c; 3913 check_type&& cr = static_cast<check_type&&>(c); 3914 3915 auto d = a; 3916 auto l = [](){}; 3917 // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable] 3918 struct use_l { use_l() { l(); } }; 3919 3920 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae 3921 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this 3922 namespace test_template_alias_sfinae { 3923 struct foo {}; 3924 3925 template<typename T> 3926 using member = typename T::member_type; 3927 3928 template<typename T> 3929 void func(...) {} 3930 3931 template<typename T> 3932 void func(member<T>*) {} 3933 3934 void test(); 3935 3936 void test() { 3937 func<foo>(0); 3938 } 3939 } 3940 3941_ACEOF 3942if ac_fn_cxx_try_compile "$LINENO"; then : 3943 ax_cv_cxx_compile_cxx11=yes 3944else 3945 ax_cv_cxx_compile_cxx11=no 3946fi 3947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3948fi 3949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5 3950$as_echo "$ax_cv_cxx_compile_cxx11" >&6; } 3951 if test x$ax_cv_cxx_compile_cxx11 = xyes; then 3952 ac_success=yes 3953 fi 3954 3955 3956 3957 if test x$ac_success = xno; then 3958 for switch in -std=c++11 -std=c++0x +std=c++11; do 3959 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` 3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 3961$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; } 3962if eval \${$cachevar+:} false; then : 3963 $as_echo_n "(cached) " >&6 3964else 3965 ac_save_CXXFLAGS="$CXXFLAGS" 3966 CXXFLAGS="$CXXFLAGS $switch" 3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3968/* end confdefs.h. */ 3969 3970 template <typename T> 3971 struct check 3972 { 3973 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 3974 }; 3975 3976 struct Base { 3977 virtual void f() {} 3978 }; 3979 struct Child : public Base { 3980 virtual void f() override {} 3981 }; 3982 3983 typedef check<check<bool>> right_angle_brackets; 3984 3985 int a; 3986 decltype(a) b; 3987 3988 typedef check<int> check_type; 3989 check_type c; 3990 check_type&& cr = static_cast<check_type&&>(c); 3991 3992 auto d = a; 3993 auto l = [](){}; 3994 // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable] 3995 struct use_l { use_l() { l(); } }; 3996 3997 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae 3998 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this 3999 namespace test_template_alias_sfinae { 4000 struct foo {}; 4001 4002 template<typename T> 4003 using member = typename T::member_type; 4004 4005 template<typename T> 4006 void func(...) {} 4007 4008 template<typename T> 4009 void func(member<T>*) {} 4010 4011 void test(); 4012 4013 void test() { 4014 func<foo>(0); 4015 } 4016 } 4017 4018_ACEOF 4019if ac_fn_cxx_try_compile "$LINENO"; then : 4020 eval $cachevar=yes 4021else 4022 eval $cachevar=no 4023fi 4024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4025 CXXFLAGS="$ac_save_CXXFLAGS" 4026fi 4027eval ac_res=\$$cachevar 4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 4029$as_echo "$ac_res" >&6; } 4030 if eval test x\$$cachevar = xyes; then 4031 CXXFLAGS="$CXXFLAGS $switch" 4032 ac_success=yes 4033 break 4034 fi 4035 done 4036 fi 4037 ac_ext=c 4038ac_cpp='$CPP $CPPFLAGS' 4039ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4040ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4041ac_compiler_gnu=$ac_cv_c_compiler_gnu 4042 4043 if test x$ax_cxx_compile_cxx11_required = xtrue; then 4044 if test x$ac_success = xno; then 4045 as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5 4046 fi 4047 else 4048 if test x$ac_success = xno; then 4049 HAVE_CXX11=0 4050 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5 4051$as_echo "$as_me: No compiler with C++11 support was found" >&6;} 4052 else 4053 HAVE_CXX11=1 4054 4055$as_echo "#define HAVE_CXX11 1" >>confdefs.h 4056 4057 fi 4058 4059 4060 fi 4061 4062 4063# Check whether --enable-static was given. 4064if test "${enable_static+set}" = set; then : 4065 enableval=$enable_static; p=${PACKAGE-default} 4066 case $enableval in 4067 yes) enable_static=yes ;; 4068 no) enable_static=no ;; 4069 *) 4070 enable_static=no 4071 # Look at the argument we got. We use all the common list separators. 4072 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 4073 for pkg in $enableval; do 4074 IFS=$lt_save_ifs 4075 if test "X$pkg" = "X$p"; then 4076 enable_static=yes 4077 fi 4078 done 4079 IFS=$lt_save_ifs 4080 ;; 4081 esac 4082else 4083 enable_static=no 4084fi 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094# Make sure we can run config.sub. 4095$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4096 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4097 4098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4099$as_echo_n "checking build system type... " >&6; } 4100if ${ac_cv_build+:} false; then : 4101 $as_echo_n "(cached) " >&6 4102else 4103 ac_build_alias=$build_alias 4104test "x$ac_build_alias" = x && 4105 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4106test "x$ac_build_alias" = x && 4107 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4108ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4109 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4110 4111fi 4112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4113$as_echo "$ac_cv_build" >&6; } 4114case $ac_cv_build in 4115*-*-*) ;; 4116*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4117esac 4118build=$ac_cv_build 4119ac_save_IFS=$IFS; IFS='-' 4120set x $ac_cv_build 4121shift 4122build_cpu=$1 4123build_vendor=$2 4124shift; shift 4125# Remember, the first character of IFS is used to create $*, 4126# except with old shells: 4127build_os=$* 4128IFS=$ac_save_IFS 4129case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4130 4131 4132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4133$as_echo_n "checking host system type... " >&6; } 4134if ${ac_cv_host+:} false; then : 4135 $as_echo_n "(cached) " >&6 4136else 4137 if test "x$host_alias" = x; then 4138 ac_cv_host=$ac_cv_build 4139else 4140 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4141 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4142fi 4143 4144fi 4145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4146$as_echo "$ac_cv_host" >&6; } 4147case $ac_cv_host in 4148*-*-*) ;; 4149*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4150esac 4151host=$ac_cv_host 4152ac_save_IFS=$IFS; IFS='-' 4153set x $ac_cv_host 4154shift 4155host_cpu=$1 4156host_vendor=$2 4157shift; shift 4158# Remember, the first character of IFS is used to create $*, 4159# except with old shells: 4160host_os=$* 4161IFS=$ac_save_IFS 4162case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4163 4164 4165enable_win32_dll=yes 4166 4167case $host in 4168*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 4169 if test -n "$ac_tool_prefix"; then 4170 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 4171set dummy ${ac_tool_prefix}as; ac_word=$2 4172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4173$as_echo_n "checking for $ac_word... " >&6; } 4174if ${ac_cv_prog_AS+:} false; then : 4175 $as_echo_n "(cached) " >&6 4176else 4177 if test -n "$AS"; then 4178 ac_cv_prog_AS="$AS" # Let the user override the test. 4179else 4180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4181for as_dir in $PATH 4182do 4183 IFS=$as_save_IFS 4184 test -z "$as_dir" && as_dir=. 4185 for ac_exec_ext in '' $ac_executable_extensions; do 4186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4187 ac_cv_prog_AS="${ac_tool_prefix}as" 4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4189 break 2 4190 fi 4191done 4192 done 4193IFS=$as_save_IFS 4194 4195fi 4196fi 4197AS=$ac_cv_prog_AS 4198if test -n "$AS"; then 4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 4200$as_echo "$AS" >&6; } 4201else 4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4203$as_echo "no" >&6; } 4204fi 4205 4206 4207fi 4208if test -z "$ac_cv_prog_AS"; then 4209 ac_ct_AS=$AS 4210 # Extract the first word of "as", so it can be a program name with args. 4211set dummy as; ac_word=$2 4212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4213$as_echo_n "checking for $ac_word... " >&6; } 4214if ${ac_cv_prog_ac_ct_AS+:} false; then : 4215 $as_echo_n "(cached) " >&6 4216else 4217 if test -n "$ac_ct_AS"; then 4218 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 4219else 4220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4221for as_dir in $PATH 4222do 4223 IFS=$as_save_IFS 4224 test -z "$as_dir" && as_dir=. 4225 for ac_exec_ext in '' $ac_executable_extensions; do 4226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4227 ac_cv_prog_ac_ct_AS="as" 4228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4229 break 2 4230 fi 4231done 4232 done 4233IFS=$as_save_IFS 4234 4235fi 4236fi 4237ac_ct_AS=$ac_cv_prog_ac_ct_AS 4238if test -n "$ac_ct_AS"; then 4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 4240$as_echo "$ac_ct_AS" >&6; } 4241else 4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4243$as_echo "no" >&6; } 4244fi 4245 4246 if test "x$ac_ct_AS" = x; then 4247 AS="false" 4248 else 4249 case $cross_compiling:$ac_tool_warned in 4250yes:) 4251{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4252$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4253ac_tool_warned=yes ;; 4254esac 4255 AS=$ac_ct_AS 4256 fi 4257else 4258 AS="$ac_cv_prog_AS" 4259fi 4260 4261 if test -n "$ac_tool_prefix"; then 4262 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4263set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4265$as_echo_n "checking for $ac_word... " >&6; } 4266if ${ac_cv_prog_DLLTOOL+:} false; then : 4267 $as_echo_n "(cached) " >&6 4268else 4269 if test -n "$DLLTOOL"; then 4270 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4271else 4272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4273for as_dir in $PATH 4274do 4275 IFS=$as_save_IFS 4276 test -z "$as_dir" && as_dir=. 4277 for ac_exec_ext in '' $ac_executable_extensions; do 4278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4279 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4281 break 2 4282 fi 4283done 4284 done 4285IFS=$as_save_IFS 4286 4287fi 4288fi 4289DLLTOOL=$ac_cv_prog_DLLTOOL 4290if test -n "$DLLTOOL"; then 4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4292$as_echo "$DLLTOOL" >&6; } 4293else 4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4295$as_echo "no" >&6; } 4296fi 4297 4298 4299fi 4300if test -z "$ac_cv_prog_DLLTOOL"; then 4301 ac_ct_DLLTOOL=$DLLTOOL 4302 # Extract the first word of "dlltool", so it can be a program name with args. 4303set dummy dlltool; ac_word=$2 4304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4305$as_echo_n "checking for $ac_word... " >&6; } 4306if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4307 $as_echo_n "(cached) " >&6 4308else 4309 if test -n "$ac_ct_DLLTOOL"; then 4310 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4311else 4312as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4313for as_dir in $PATH 4314do 4315 IFS=$as_save_IFS 4316 test -z "$as_dir" && as_dir=. 4317 for ac_exec_ext in '' $ac_executable_extensions; do 4318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4319 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4321 break 2 4322 fi 4323done 4324 done 4325IFS=$as_save_IFS 4326 4327fi 4328fi 4329ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4330if test -n "$ac_ct_DLLTOOL"; then 4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4332$as_echo "$ac_ct_DLLTOOL" >&6; } 4333else 4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4335$as_echo "no" >&6; } 4336fi 4337 4338 if test "x$ac_ct_DLLTOOL" = x; then 4339 DLLTOOL="false" 4340 else 4341 case $cross_compiling:$ac_tool_warned in 4342yes:) 4343{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4344$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4345ac_tool_warned=yes ;; 4346esac 4347 DLLTOOL=$ac_ct_DLLTOOL 4348 fi 4349else 4350 DLLTOOL="$ac_cv_prog_DLLTOOL" 4351fi 4352 4353 if test -n "$ac_tool_prefix"; then 4354 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4355set dummy ${ac_tool_prefix}objdump; ac_word=$2 4356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4357$as_echo_n "checking for $ac_word... " >&6; } 4358if ${ac_cv_prog_OBJDUMP+:} false; then : 4359 $as_echo_n "(cached) " >&6 4360else 4361 if test -n "$OBJDUMP"; then 4362 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4363else 4364as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4365for as_dir in $PATH 4366do 4367 IFS=$as_save_IFS 4368 test -z "$as_dir" && as_dir=. 4369 for ac_exec_ext in '' $ac_executable_extensions; do 4370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4371 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4373 break 2 4374 fi 4375done 4376 done 4377IFS=$as_save_IFS 4378 4379fi 4380fi 4381OBJDUMP=$ac_cv_prog_OBJDUMP 4382if test -n "$OBJDUMP"; then 4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4384$as_echo "$OBJDUMP" >&6; } 4385else 4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4387$as_echo "no" >&6; } 4388fi 4389 4390 4391fi 4392if test -z "$ac_cv_prog_OBJDUMP"; then 4393 ac_ct_OBJDUMP=$OBJDUMP 4394 # Extract the first word of "objdump", so it can be a program name with args. 4395set dummy objdump; ac_word=$2 4396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4397$as_echo_n "checking for $ac_word... " >&6; } 4398if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4399 $as_echo_n "(cached) " >&6 4400else 4401 if test -n "$ac_ct_OBJDUMP"; then 4402 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4403else 4404as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4405for as_dir in $PATH 4406do 4407 IFS=$as_save_IFS 4408 test -z "$as_dir" && as_dir=. 4409 for ac_exec_ext in '' $ac_executable_extensions; do 4410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4411 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4413 break 2 4414 fi 4415done 4416 done 4417IFS=$as_save_IFS 4418 4419fi 4420fi 4421ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4422if test -n "$ac_ct_OBJDUMP"; then 4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4424$as_echo "$ac_ct_OBJDUMP" >&6; } 4425else 4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4427$as_echo "no" >&6; } 4428fi 4429 4430 if test "x$ac_ct_OBJDUMP" = x; then 4431 OBJDUMP="false" 4432 else 4433 case $cross_compiling:$ac_tool_warned in 4434yes:) 4435{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4436$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4437ac_tool_warned=yes ;; 4438esac 4439 OBJDUMP=$ac_ct_OBJDUMP 4440 fi 4441else 4442 OBJDUMP="$ac_cv_prog_OBJDUMP" 4443fi 4444 4445 ;; 4446esac 4447 4448test -z "$AS" && AS=as 4449 4450 4451 4452 4453 4454test -z "$DLLTOOL" && DLLTOOL=dlltool 4455 4456 4457 4458 4459 4460test -z "$OBJDUMP" && OBJDUMP=objdump 4461 4462 4463 4464 4465 4466 4467 4468case `pwd` in 4469 *\ * | *\ *) 4470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4471$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4472esac 4473 4474 4475 4476macro_version='2.4.6' 4477macro_revision='2.4.6' 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491ltmain=$ac_aux_dir/ltmain.sh 4492 4493# Backslashify metacharacters that are still active within 4494# double-quoted strings. 4495sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4496 4497# Same as above, but do not quote variable references. 4498double_quote_subst='s/\(["`\\]\)/\\\1/g' 4499 4500# Sed substitution to delay expansion of an escaped shell variable in a 4501# double_quote_subst'ed string. 4502delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4503 4504# Sed substitution to delay expansion of an escaped single quote. 4505delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4506 4507# Sed substitution to avoid accidental globbing in evaled expressions 4508no_glob_subst='s/\*/\\\*/g' 4509 4510ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4511ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4512ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4513 4514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4515$as_echo_n "checking how to print strings... " >&6; } 4516# Test print first, because it will be a builtin if present. 4517if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4518 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4519 ECHO='print -r --' 4520elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4521 ECHO='printf %s\n' 4522else 4523 # Use this function as a fallback that always works. 4524 func_fallback_echo () 4525 { 4526 eval 'cat <<_LTECHO_EOF 4527$1 4528_LTECHO_EOF' 4529 } 4530 ECHO='func_fallback_echo' 4531fi 4532 4533# func_echo_all arg... 4534# Invoke $ECHO with all args, space-separated. 4535func_echo_all () 4536{ 4537 $ECHO "" 4538} 4539 4540case $ECHO in 4541 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4542$as_echo "printf" >&6; } ;; 4543 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4544$as_echo "print -r" >&6; } ;; 4545 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4546$as_echo "cat" >&6; } ;; 4547esac 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562ac_ext=c 4563ac_cpp='$CPP $CPPFLAGS' 4564ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4565ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4566ac_compiler_gnu=$ac_cv_c_compiler_gnu 4567if test -n "$ac_tool_prefix"; then 4568 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4569set dummy ${ac_tool_prefix}gcc; ac_word=$2 4570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4571$as_echo_n "checking for $ac_word... " >&6; } 4572if ${ac_cv_prog_CC+:} false; then : 4573 $as_echo_n "(cached) " >&6 4574else 4575 if test -n "$CC"; then 4576 ac_cv_prog_CC="$CC" # Let the user override the test. 4577else 4578as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4579for as_dir in $PATH 4580do 4581 IFS=$as_save_IFS 4582 test -z "$as_dir" && as_dir=. 4583 for ac_exec_ext in '' $ac_executable_extensions; do 4584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4585 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4587 break 2 4588 fi 4589done 4590 done 4591IFS=$as_save_IFS 4592 4593fi 4594fi 4595CC=$ac_cv_prog_CC 4596if test -n "$CC"; then 4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4598$as_echo "$CC" >&6; } 4599else 4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4601$as_echo "no" >&6; } 4602fi 4603 4604 4605fi 4606if test -z "$ac_cv_prog_CC"; then 4607 ac_ct_CC=$CC 4608 # Extract the first word of "gcc", so it can be a program name with args. 4609set dummy gcc; ac_word=$2 4610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4611$as_echo_n "checking for $ac_word... " >&6; } 4612if ${ac_cv_prog_ac_ct_CC+:} false; then : 4613 $as_echo_n "(cached) " >&6 4614else 4615 if test -n "$ac_ct_CC"; then 4616 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4617else 4618as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4619for as_dir in $PATH 4620do 4621 IFS=$as_save_IFS 4622 test -z "$as_dir" && as_dir=. 4623 for ac_exec_ext in '' $ac_executable_extensions; do 4624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4625 ac_cv_prog_ac_ct_CC="gcc" 4626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4627 break 2 4628 fi 4629done 4630 done 4631IFS=$as_save_IFS 4632 4633fi 4634fi 4635ac_ct_CC=$ac_cv_prog_ac_ct_CC 4636if test -n "$ac_ct_CC"; then 4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4638$as_echo "$ac_ct_CC" >&6; } 4639else 4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4641$as_echo "no" >&6; } 4642fi 4643 4644 if test "x$ac_ct_CC" = x; then 4645 CC="" 4646 else 4647 case $cross_compiling:$ac_tool_warned in 4648yes:) 4649{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4650$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4651ac_tool_warned=yes ;; 4652esac 4653 CC=$ac_ct_CC 4654 fi 4655else 4656 CC="$ac_cv_prog_CC" 4657fi 4658 4659if test -z "$CC"; then 4660 if test -n "$ac_tool_prefix"; then 4661 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4662set dummy ${ac_tool_prefix}cc; ac_word=$2 4663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4664$as_echo_n "checking for $ac_word... " >&6; } 4665if ${ac_cv_prog_CC+:} false; then : 4666 $as_echo_n "(cached) " >&6 4667else 4668 if test -n "$CC"; then 4669 ac_cv_prog_CC="$CC" # Let the user override the test. 4670else 4671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4672for as_dir in $PATH 4673do 4674 IFS=$as_save_IFS 4675 test -z "$as_dir" && as_dir=. 4676 for ac_exec_ext in '' $ac_executable_extensions; do 4677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4678 ac_cv_prog_CC="${ac_tool_prefix}cc" 4679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4680 break 2 4681 fi 4682done 4683 done 4684IFS=$as_save_IFS 4685 4686fi 4687fi 4688CC=$ac_cv_prog_CC 4689if test -n "$CC"; then 4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4691$as_echo "$CC" >&6; } 4692else 4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4694$as_echo "no" >&6; } 4695fi 4696 4697 4698 fi 4699fi 4700if test -z "$CC"; then 4701 # Extract the first word of "cc", so it can be a program name with args. 4702set dummy cc; ac_word=$2 4703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4704$as_echo_n "checking for $ac_word... " >&6; } 4705if ${ac_cv_prog_CC+:} false; then : 4706 $as_echo_n "(cached) " >&6 4707else 4708 if test -n "$CC"; then 4709 ac_cv_prog_CC="$CC" # Let the user override the test. 4710else 4711 ac_prog_rejected=no 4712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4713for as_dir in $PATH 4714do 4715 IFS=$as_save_IFS 4716 test -z "$as_dir" && as_dir=. 4717 for ac_exec_ext in '' $ac_executable_extensions; do 4718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4719 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4720 ac_prog_rejected=yes 4721 continue 4722 fi 4723 ac_cv_prog_CC="cc" 4724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4725 break 2 4726 fi 4727done 4728 done 4729IFS=$as_save_IFS 4730 4731if test $ac_prog_rejected = yes; then 4732 # We found a bogon in the path, so make sure we never use it. 4733 set dummy $ac_cv_prog_CC 4734 shift 4735 if test $# != 0; then 4736 # We chose a different compiler from the bogus one. 4737 # However, it has the same basename, so the bogon will be chosen 4738 # first if we set CC to just the basename; use the full file name. 4739 shift 4740 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4741 fi 4742fi 4743fi 4744fi 4745CC=$ac_cv_prog_CC 4746if test -n "$CC"; then 4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4748$as_echo "$CC" >&6; } 4749else 4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4751$as_echo "no" >&6; } 4752fi 4753 4754 4755fi 4756if test -z "$CC"; then 4757 if test -n "$ac_tool_prefix"; then 4758 for ac_prog in cl.exe 4759 do 4760 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4761set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4763$as_echo_n "checking for $ac_word... " >&6; } 4764if ${ac_cv_prog_CC+:} false; then : 4765 $as_echo_n "(cached) " >&6 4766else 4767 if test -n "$CC"; then 4768 ac_cv_prog_CC="$CC" # Let the user override the test. 4769else 4770as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4771for as_dir in $PATH 4772do 4773 IFS=$as_save_IFS 4774 test -z "$as_dir" && as_dir=. 4775 for ac_exec_ext in '' $ac_executable_extensions; do 4776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4777 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4779 break 2 4780 fi 4781done 4782 done 4783IFS=$as_save_IFS 4784 4785fi 4786fi 4787CC=$ac_cv_prog_CC 4788if test -n "$CC"; then 4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4790$as_echo "$CC" >&6; } 4791else 4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4793$as_echo "no" >&6; } 4794fi 4795 4796 4797 test -n "$CC" && break 4798 done 4799fi 4800if test -z "$CC"; then 4801 ac_ct_CC=$CC 4802 for ac_prog in cl.exe 4803do 4804 # Extract the first word of "$ac_prog", so it can be a program name with args. 4805set dummy $ac_prog; ac_word=$2 4806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4807$as_echo_n "checking for $ac_word... " >&6; } 4808if ${ac_cv_prog_ac_ct_CC+:} false; then : 4809 $as_echo_n "(cached) " >&6 4810else 4811 if test -n "$ac_ct_CC"; then 4812 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4813else 4814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4815for as_dir in $PATH 4816do 4817 IFS=$as_save_IFS 4818 test -z "$as_dir" && as_dir=. 4819 for ac_exec_ext in '' $ac_executable_extensions; do 4820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4821 ac_cv_prog_ac_ct_CC="$ac_prog" 4822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4823 break 2 4824 fi 4825done 4826 done 4827IFS=$as_save_IFS 4828 4829fi 4830fi 4831ac_ct_CC=$ac_cv_prog_ac_ct_CC 4832if test -n "$ac_ct_CC"; then 4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4834$as_echo "$ac_ct_CC" >&6; } 4835else 4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4837$as_echo "no" >&6; } 4838fi 4839 4840 4841 test -n "$ac_ct_CC" && break 4842done 4843 4844 if test "x$ac_ct_CC" = x; then 4845 CC="" 4846 else 4847 case $cross_compiling:$ac_tool_warned in 4848yes:) 4849{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4850$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4851ac_tool_warned=yes ;; 4852esac 4853 CC=$ac_ct_CC 4854 fi 4855fi 4856 4857fi 4858 4859 4860test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4861$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4862as_fn_error $? "no acceptable C compiler found in \$PATH 4863See \`config.log' for more details" "$LINENO" 5; } 4864 4865# Provide some information about the compiler. 4866$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4867set X $ac_compile 4868ac_compiler=$2 4869for ac_option in --version -v -V -qversion; do 4870 { { ac_try="$ac_compiler $ac_option >&5" 4871case "(($ac_try" in 4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4873 *) ac_try_echo=$ac_try;; 4874esac 4875eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4876$as_echo "$ac_try_echo"; } >&5 4877 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4878 ac_status=$? 4879 if test -s conftest.err; then 4880 sed '10a\ 4881... rest of stderr output deleted ... 4882 10q' conftest.err >conftest.er1 4883 cat conftest.er1 >&5 4884 fi 4885 rm -f conftest.er1 conftest.err 4886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4887 test $ac_status = 0; } 4888done 4889 4890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4891$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4892if ${ac_cv_c_compiler_gnu+:} false; then : 4893 $as_echo_n "(cached) " >&6 4894else 4895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4896/* end confdefs.h. */ 4897 4898int 4899main () 4900{ 4901#ifndef __GNUC__ 4902 choke me 4903#endif 4904 4905 ; 4906 return 0; 4907} 4908_ACEOF 4909if ac_fn_c_try_compile "$LINENO"; then : 4910 ac_compiler_gnu=yes 4911else 4912 ac_compiler_gnu=no 4913fi 4914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4915ac_cv_c_compiler_gnu=$ac_compiler_gnu 4916 4917fi 4918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4919$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4920if test $ac_compiler_gnu = yes; then 4921 GCC=yes 4922else 4923 GCC= 4924fi 4925ac_test_CFLAGS=${CFLAGS+set} 4926ac_save_CFLAGS=$CFLAGS 4927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4928$as_echo_n "checking whether $CC accepts -g... " >&6; } 4929if ${ac_cv_prog_cc_g+:} false; then : 4930 $as_echo_n "(cached) " >&6 4931else 4932 ac_save_c_werror_flag=$ac_c_werror_flag 4933 ac_c_werror_flag=yes 4934 ac_cv_prog_cc_g=no 4935 CFLAGS="-g" 4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4937/* end confdefs.h. */ 4938 4939int 4940main () 4941{ 4942 4943 ; 4944 return 0; 4945} 4946_ACEOF 4947if ac_fn_c_try_compile "$LINENO"; then : 4948 ac_cv_prog_cc_g=yes 4949else 4950 CFLAGS="" 4951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4952/* end confdefs.h. */ 4953 4954int 4955main () 4956{ 4957 4958 ; 4959 return 0; 4960} 4961_ACEOF 4962if ac_fn_c_try_compile "$LINENO"; then : 4963 4964else 4965 ac_c_werror_flag=$ac_save_c_werror_flag 4966 CFLAGS="-g" 4967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4968/* end confdefs.h. */ 4969 4970int 4971main () 4972{ 4973 4974 ; 4975 return 0; 4976} 4977_ACEOF 4978if ac_fn_c_try_compile "$LINENO"; then : 4979 ac_cv_prog_cc_g=yes 4980fi 4981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4982fi 4983rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4984fi 4985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4986 ac_c_werror_flag=$ac_save_c_werror_flag 4987fi 4988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4989$as_echo "$ac_cv_prog_cc_g" >&6; } 4990if test "$ac_test_CFLAGS" = set; then 4991 CFLAGS=$ac_save_CFLAGS 4992elif test $ac_cv_prog_cc_g = yes; then 4993 if test "$GCC" = yes; then 4994 CFLAGS="-g -O2" 4995 else 4996 CFLAGS="-g" 4997 fi 4998else 4999 if test "$GCC" = yes; then 5000 CFLAGS="-O2" 5001 else 5002 CFLAGS= 5003 fi 5004fi 5005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5006$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5007if ${ac_cv_prog_cc_c89+:} false; then : 5008 $as_echo_n "(cached) " >&6 5009else 5010 ac_cv_prog_cc_c89=no 5011ac_save_CC=$CC 5012cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5013/* end confdefs.h. */ 5014#include <stdarg.h> 5015#include <stdio.h> 5016struct stat; 5017/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5018struct buf { int x; }; 5019FILE * (*rcsopen) (struct buf *, struct stat *, int); 5020static char *e (p, i) 5021 char **p; 5022 int i; 5023{ 5024 return p[i]; 5025} 5026static char *f (char * (*g) (char **, int), char **p, ...) 5027{ 5028 char *s; 5029 va_list v; 5030 va_start (v,p); 5031 s = g (p, va_arg (v,int)); 5032 va_end (v); 5033 return s; 5034} 5035 5036/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5037 function prototypes and stuff, but not '\xHH' hex character constants. 5038 These don't provoke an error unfortunately, instead are silently treated 5039 as 'x'. The following induces an error, until -std is added to get 5040 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5041 array size at least. It's necessary to write '\x00'==0 to get something 5042 that's true only with -std. */ 5043int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5044 5045/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5046 inside strings and character constants. */ 5047#define FOO(x) 'x' 5048int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5049 5050int test (int i, double x); 5051struct s1 {int (*f) (int a);}; 5052struct s2 {int (*f) (double a);}; 5053int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5054int argc; 5055char **argv; 5056int 5057main () 5058{ 5059return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5060 ; 5061 return 0; 5062} 5063_ACEOF 5064for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5065 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5066do 5067 CC="$ac_save_CC $ac_arg" 5068 if ac_fn_c_try_compile "$LINENO"; then : 5069 ac_cv_prog_cc_c89=$ac_arg 5070fi 5071rm -f core conftest.err conftest.$ac_objext 5072 test "x$ac_cv_prog_cc_c89" != "xno" && break 5073done 5074rm -f conftest.$ac_ext 5075CC=$ac_save_CC 5076 5077fi 5078# AC_CACHE_VAL 5079case "x$ac_cv_prog_cc_c89" in 5080 x) 5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5082$as_echo "none needed" >&6; } ;; 5083 xno) 5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5085$as_echo "unsupported" >&6; } ;; 5086 *) 5087 CC="$CC $ac_cv_prog_cc_c89" 5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5089$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5090esac 5091if test "x$ac_cv_prog_cc_c89" != xno; then : 5092 5093fi 5094 5095ac_ext=c 5096ac_cpp='$CPP $CPPFLAGS' 5097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5099ac_compiler_gnu=$ac_cv_c_compiler_gnu 5100 5101ac_ext=c 5102ac_cpp='$CPP $CPPFLAGS' 5103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5105ac_compiler_gnu=$ac_cv_c_compiler_gnu 5106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 5107$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 5108if ${am_cv_prog_cc_c_o+:} false; then : 5109 $as_echo_n "(cached) " >&6 5110else 5111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5112/* end confdefs.h. */ 5113 5114int 5115main () 5116{ 5117 5118 ; 5119 return 0; 5120} 5121_ACEOF 5122 # Make sure it works both with $CC and with simple cc. 5123 # Following AC_PROG_CC_C_O, we do the test twice because some 5124 # compilers refuse to overwrite an existing .o file with -o, 5125 # though they will create one. 5126 am_cv_prog_cc_c_o=yes 5127 for am_i in 1 2; do 5128 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5129 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5130 ac_status=$? 5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5132 (exit $ac_status); } \ 5133 && test -f conftest2.$ac_objext; then 5134 : OK 5135 else 5136 am_cv_prog_cc_c_o=no 5137 break 5138 fi 5139 done 5140 rm -f core conftest* 5141 unset am_i 5142fi 5143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5144$as_echo "$am_cv_prog_cc_c_o" >&6; } 5145if test "$am_cv_prog_cc_c_o" != yes; then 5146 # Losing compiler, so override with the script. 5147 # FIXME: It is wrong to rewrite CC. 5148 # But if we don't then we get into trouble of one sort or another. 5149 # A longer-term fix would be to have automake use am__CC in this case, 5150 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5151 CC="$am_aux_dir/compile $CC" 5152fi 5153ac_ext=c 5154ac_cpp='$CPP $CPPFLAGS' 5155ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5156ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5157ac_compiler_gnu=$ac_cv_c_compiler_gnu 5158 5159 5160depcc="$CC" am_compiler_list= 5161 5162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5163$as_echo_n "checking dependency style of $depcc... " >&6; } 5164if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5165 $as_echo_n "(cached) " >&6 5166else 5167 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5168 # We make a subdir and do the tests there. Otherwise we can end up 5169 # making bogus files that we don't know about and never remove. For 5170 # instance it was reported that on HP-UX the gcc test will end up 5171 # making a dummy file named 'D' -- because '-MD' means "put the output 5172 # in D". 5173 rm -rf conftest.dir 5174 mkdir conftest.dir 5175 # Copy depcomp to subdir because otherwise we won't find it if we're 5176 # using a relative directory. 5177 cp "$am_depcomp" conftest.dir 5178 cd conftest.dir 5179 # We will build objects and dependencies in a subdirectory because 5180 # it helps to detect inapplicable dependency modes. For instance 5181 # both Tru64's cc and ICC support -MD to output dependencies as a 5182 # side effect of compilation, but ICC will put the dependencies in 5183 # the current directory while Tru64 will put them in the object 5184 # directory. 5185 mkdir sub 5186 5187 am_cv_CC_dependencies_compiler_type=none 5188 if test "$am_compiler_list" = ""; then 5189 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5190 fi 5191 am__universal=false 5192 case " $depcc " in #( 5193 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5194 esac 5195 5196 for depmode in $am_compiler_list; do 5197 # Setup a source with many dependencies, because some compilers 5198 # like to wrap large dependency lists on column 80 (with \), and 5199 # we should not choose a depcomp mode which is confused by this. 5200 # 5201 # We need to recreate these files for each test, as the compiler may 5202 # overwrite some of them when testing with obscure command lines. 5203 # This happens at least with the AIX C compiler. 5204 : > sub/conftest.c 5205 for i in 1 2 3 4 5 6; do 5206 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5207 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5208 # Solaris 10 /bin/sh. 5209 echo '/* dummy */' > sub/conftst$i.h 5210 done 5211 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5212 5213 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5214 # mode. It turns out that the SunPro C++ compiler does not properly 5215 # handle '-M -o', and we need to detect this. Also, some Intel 5216 # versions had trouble with output in subdirs. 5217 am__obj=sub/conftest.${OBJEXT-o} 5218 am__minus_obj="-o $am__obj" 5219 case $depmode in 5220 gcc) 5221 # This depmode causes a compiler race in universal mode. 5222 test "$am__universal" = false || continue 5223 ;; 5224 nosideeffect) 5225 # After this tag, mechanisms are not by side-effect, so they'll 5226 # only be used when explicitly requested. 5227 if test "x$enable_dependency_tracking" = xyes; then 5228 continue 5229 else 5230 break 5231 fi 5232 ;; 5233 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5234 # This compiler won't grok '-c -o', but also, the minuso test has 5235 # not run yet. These depmodes are late enough in the game, and 5236 # so weak that their functioning should not be impacted. 5237 am__obj=conftest.${OBJEXT-o} 5238 am__minus_obj= 5239 ;; 5240 none) break ;; 5241 esac 5242 if depmode=$depmode \ 5243 source=sub/conftest.c object=$am__obj \ 5244 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5245 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5246 >/dev/null 2>conftest.err && 5247 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5248 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5249 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5250 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5251 # icc doesn't choke on unknown options, it will just issue warnings 5252 # or remarks (even with -Werror). So we grep stderr for any message 5253 # that says an option was ignored or not supported. 5254 # When given -MP, icc 7.0 and 7.1 complain thusly: 5255 # icc: Command line warning: ignoring option '-M'; no argument required 5256 # The diagnosis changed in icc 8.0: 5257 # icc: Command line remark: option '-MP' not supported 5258 if (grep 'ignoring option' conftest.err || 5259 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5260 am_cv_CC_dependencies_compiler_type=$depmode 5261 break 5262 fi 5263 fi 5264 done 5265 5266 cd .. 5267 rm -rf conftest.dir 5268else 5269 am_cv_CC_dependencies_compiler_type=none 5270fi 5271 5272fi 5273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5274$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5275CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5276 5277 if 5278 test "x$enable_dependency_tracking" != xno \ 5279 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5280 am__fastdepCC_TRUE= 5281 am__fastdepCC_FALSE='#' 5282else 5283 am__fastdepCC_TRUE='#' 5284 am__fastdepCC_FALSE= 5285fi 5286 5287 5288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5289$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5290if ${ac_cv_path_SED+:} false; then : 5291 $as_echo_n "(cached) " >&6 5292else 5293 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5294 for ac_i in 1 2 3 4 5 6 7; do 5295 ac_script="$ac_script$as_nl$ac_script" 5296 done 5297 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5298 { ac_script=; unset ac_script;} 5299 if test -z "$SED"; then 5300 ac_path_SED_found=false 5301 # Loop through the user's path and test for each of PROGNAME-LIST 5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5303for as_dir in $PATH 5304do 5305 IFS=$as_save_IFS 5306 test -z "$as_dir" && as_dir=. 5307 for ac_prog in sed gsed; do 5308 for ac_exec_ext in '' $ac_executable_extensions; do 5309 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5310 as_fn_executable_p "$ac_path_SED" || continue 5311# Check for GNU ac_path_SED and select it if it is found. 5312 # Check for GNU $ac_path_SED 5313case `"$ac_path_SED" --version 2>&1` in 5314*GNU*) 5315 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5316*) 5317 ac_count=0 5318 $as_echo_n 0123456789 >"conftest.in" 5319 while : 5320 do 5321 cat "conftest.in" "conftest.in" >"conftest.tmp" 5322 mv "conftest.tmp" "conftest.in" 5323 cp "conftest.in" "conftest.nl" 5324 $as_echo '' >> "conftest.nl" 5325 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5326 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5327 as_fn_arith $ac_count + 1 && ac_count=$as_val 5328 if test $ac_count -gt ${ac_path_SED_max-0}; then 5329 # Best one so far, save it but keep looking for a better one 5330 ac_cv_path_SED="$ac_path_SED" 5331 ac_path_SED_max=$ac_count 5332 fi 5333 # 10*(2^10) chars as input seems more than enough 5334 test $ac_count -gt 10 && break 5335 done 5336 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5337esac 5338 5339 $ac_path_SED_found && break 3 5340 done 5341 done 5342 done 5343IFS=$as_save_IFS 5344 if test -z "$ac_cv_path_SED"; then 5345 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5346 fi 5347else 5348 ac_cv_path_SED=$SED 5349fi 5350 5351fi 5352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5353$as_echo "$ac_cv_path_SED" >&6; } 5354 SED="$ac_cv_path_SED" 5355 rm -f conftest.sed 5356 5357test -z "$SED" && SED=sed 5358Xsed="$SED -e 1s/^X//" 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5371$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5372if ${ac_cv_path_GREP+:} false; then : 5373 $as_echo_n "(cached) " >&6 5374else 5375 if test -z "$GREP"; then 5376 ac_path_GREP_found=false 5377 # Loop through the user's path and test for each of PROGNAME-LIST 5378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5379for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5380do 5381 IFS=$as_save_IFS 5382 test -z "$as_dir" && as_dir=. 5383 for ac_prog in grep ggrep; do 5384 for ac_exec_ext in '' $ac_executable_extensions; do 5385 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5386 as_fn_executable_p "$ac_path_GREP" || continue 5387# Check for GNU ac_path_GREP and select it if it is found. 5388 # Check for GNU $ac_path_GREP 5389case `"$ac_path_GREP" --version 2>&1` in 5390*GNU*) 5391 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5392*) 5393 ac_count=0 5394 $as_echo_n 0123456789 >"conftest.in" 5395 while : 5396 do 5397 cat "conftest.in" "conftest.in" >"conftest.tmp" 5398 mv "conftest.tmp" "conftest.in" 5399 cp "conftest.in" "conftest.nl" 5400 $as_echo 'GREP' >> "conftest.nl" 5401 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5402 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5403 as_fn_arith $ac_count + 1 && ac_count=$as_val 5404 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5405 # Best one so far, save it but keep looking for a better one 5406 ac_cv_path_GREP="$ac_path_GREP" 5407 ac_path_GREP_max=$ac_count 5408 fi 5409 # 10*(2^10) chars as input seems more than enough 5410 test $ac_count -gt 10 && break 5411 done 5412 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5413esac 5414 5415 $ac_path_GREP_found && break 3 5416 done 5417 done 5418 done 5419IFS=$as_save_IFS 5420 if test -z "$ac_cv_path_GREP"; then 5421 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5422 fi 5423else 5424 ac_cv_path_GREP=$GREP 5425fi 5426 5427fi 5428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5429$as_echo "$ac_cv_path_GREP" >&6; } 5430 GREP="$ac_cv_path_GREP" 5431 5432 5433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5434$as_echo_n "checking for egrep... " >&6; } 5435if ${ac_cv_path_EGREP+:} false; then : 5436 $as_echo_n "(cached) " >&6 5437else 5438 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5439 then ac_cv_path_EGREP="$GREP -E" 5440 else 5441 if test -z "$EGREP"; then 5442 ac_path_EGREP_found=false 5443 # Loop through the user's path and test for each of PROGNAME-LIST 5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5445for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5446do 5447 IFS=$as_save_IFS 5448 test -z "$as_dir" && as_dir=. 5449 for ac_prog in egrep; do 5450 for ac_exec_ext in '' $ac_executable_extensions; do 5451 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5452 as_fn_executable_p "$ac_path_EGREP" || continue 5453# Check for GNU ac_path_EGREP and select it if it is found. 5454 # Check for GNU $ac_path_EGREP 5455case `"$ac_path_EGREP" --version 2>&1` in 5456*GNU*) 5457 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5458*) 5459 ac_count=0 5460 $as_echo_n 0123456789 >"conftest.in" 5461 while : 5462 do 5463 cat "conftest.in" "conftest.in" >"conftest.tmp" 5464 mv "conftest.tmp" "conftest.in" 5465 cp "conftest.in" "conftest.nl" 5466 $as_echo 'EGREP' >> "conftest.nl" 5467 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5468 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5469 as_fn_arith $ac_count + 1 && ac_count=$as_val 5470 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5471 # Best one so far, save it but keep looking for a better one 5472 ac_cv_path_EGREP="$ac_path_EGREP" 5473 ac_path_EGREP_max=$ac_count 5474 fi 5475 # 10*(2^10) chars as input seems more than enough 5476 test $ac_count -gt 10 && break 5477 done 5478 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5479esac 5480 5481 $ac_path_EGREP_found && break 3 5482 done 5483 done 5484 done 5485IFS=$as_save_IFS 5486 if test -z "$ac_cv_path_EGREP"; then 5487 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5488 fi 5489else 5490 ac_cv_path_EGREP=$EGREP 5491fi 5492 5493 fi 5494fi 5495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5496$as_echo "$ac_cv_path_EGREP" >&6; } 5497 EGREP="$ac_cv_path_EGREP" 5498 5499 5500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5501$as_echo_n "checking for fgrep... " >&6; } 5502if ${ac_cv_path_FGREP+:} false; then : 5503 $as_echo_n "(cached) " >&6 5504else 5505 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5506 then ac_cv_path_FGREP="$GREP -F" 5507 else 5508 if test -z "$FGREP"; then 5509 ac_path_FGREP_found=false 5510 # Loop through the user's path and test for each of PROGNAME-LIST 5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5512for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5513do 5514 IFS=$as_save_IFS 5515 test -z "$as_dir" && as_dir=. 5516 for ac_prog in fgrep; do 5517 for ac_exec_ext in '' $ac_executable_extensions; do 5518 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5519 as_fn_executable_p "$ac_path_FGREP" || continue 5520# Check for GNU ac_path_FGREP and select it if it is found. 5521 # Check for GNU $ac_path_FGREP 5522case `"$ac_path_FGREP" --version 2>&1` in 5523*GNU*) 5524 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5525*) 5526 ac_count=0 5527 $as_echo_n 0123456789 >"conftest.in" 5528 while : 5529 do 5530 cat "conftest.in" "conftest.in" >"conftest.tmp" 5531 mv "conftest.tmp" "conftest.in" 5532 cp "conftest.in" "conftest.nl" 5533 $as_echo 'FGREP' >> "conftest.nl" 5534 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5535 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5536 as_fn_arith $ac_count + 1 && ac_count=$as_val 5537 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5538 # Best one so far, save it but keep looking for a better one 5539 ac_cv_path_FGREP="$ac_path_FGREP" 5540 ac_path_FGREP_max=$ac_count 5541 fi 5542 # 10*(2^10) chars as input seems more than enough 5543 test $ac_count -gt 10 && break 5544 done 5545 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5546esac 5547 5548 $ac_path_FGREP_found && break 3 5549 done 5550 done 5551 done 5552IFS=$as_save_IFS 5553 if test -z "$ac_cv_path_FGREP"; then 5554 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5555 fi 5556else 5557 ac_cv_path_FGREP=$FGREP 5558fi 5559 5560 fi 5561fi 5562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5563$as_echo "$ac_cv_path_FGREP" >&6; } 5564 FGREP="$ac_cv_path_FGREP" 5565 5566 5567test -z "$GREP" && GREP=grep 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587# Check whether --with-gnu-ld was given. 5588if test "${with_gnu_ld+set}" = set; then : 5589 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5590else 5591 with_gnu_ld=no 5592fi 5593 5594ac_prog=ld 5595if test yes = "$GCC"; then 5596 # Check if gcc -print-prog-name=ld gives a path. 5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5598$as_echo_n "checking for ld used by $CC... " >&6; } 5599 case $host in 5600 *-*-mingw*) 5601 # gcc leaves a trailing carriage return, which upsets mingw 5602 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5603 *) 5604 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5605 esac 5606 case $ac_prog in 5607 # Accept absolute paths. 5608 [\\/]* | ?:[\\/]*) 5609 re_direlt='/[^/][^/]*/\.\./' 5610 # Canonicalize the pathname of ld 5611 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5612 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5613 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5614 done 5615 test -z "$LD" && LD=$ac_prog 5616 ;; 5617 "") 5618 # If it fails, then pretend we aren't using GCC. 5619 ac_prog=ld 5620 ;; 5621 *) 5622 # If it is relative, then search for the first ld in PATH. 5623 with_gnu_ld=unknown 5624 ;; 5625 esac 5626elif test yes = "$with_gnu_ld"; then 5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5628$as_echo_n "checking for GNU ld... " >&6; } 5629else 5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5631$as_echo_n "checking for non-GNU ld... " >&6; } 5632fi 5633if ${lt_cv_path_LD+:} false; then : 5634 $as_echo_n "(cached) " >&6 5635else 5636 if test -z "$LD"; then 5637 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5638 for ac_dir in $PATH; do 5639 IFS=$lt_save_ifs 5640 test -z "$ac_dir" && ac_dir=. 5641 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5642 lt_cv_path_LD=$ac_dir/$ac_prog 5643 # Check to see if the program is GNU ld. I'd rather use --version, 5644 # but apparently some variants of GNU ld only accept -v. 5645 # Break only if it was the GNU/non-GNU ld that we prefer. 5646 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5647 *GNU* | *'with BFD'*) 5648 test no != "$with_gnu_ld" && break 5649 ;; 5650 *) 5651 test yes != "$with_gnu_ld" && break 5652 ;; 5653 esac 5654 fi 5655 done 5656 IFS=$lt_save_ifs 5657else 5658 lt_cv_path_LD=$LD # Let the user override the test with a path. 5659fi 5660fi 5661 5662LD=$lt_cv_path_LD 5663if test -n "$LD"; then 5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5665$as_echo "$LD" >&6; } 5666else 5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5668$as_echo "no" >&6; } 5669fi 5670test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5672$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5673if ${lt_cv_prog_gnu_ld+:} false; then : 5674 $as_echo_n "(cached) " >&6 5675else 5676 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5677case `$LD -v 2>&1 </dev/null` in 5678*GNU* | *'with BFD'*) 5679 lt_cv_prog_gnu_ld=yes 5680 ;; 5681*) 5682 lt_cv_prog_gnu_ld=no 5683 ;; 5684esac 5685fi 5686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5687$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5688with_gnu_ld=$lt_cv_prog_gnu_ld 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5699$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5700if ${lt_cv_path_NM+:} false; then : 5701 $as_echo_n "(cached) " >&6 5702else 5703 if test -n "$NM"; then 5704 # Let the user override the test. 5705 lt_cv_path_NM=$NM 5706else 5707 lt_nm_to_check=${ac_tool_prefix}nm 5708 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5709 lt_nm_to_check="$lt_nm_to_check nm" 5710 fi 5711 for lt_tmp_nm in $lt_nm_to_check; do 5712 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5713 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5714 IFS=$lt_save_ifs 5715 test -z "$ac_dir" && ac_dir=. 5716 tmp_nm=$ac_dir/$lt_tmp_nm 5717 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5718 # Check to see if the nm accepts a BSD-compat flag. 5719 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5720 # nm: unknown option "B" ignored 5721 # Tru64's nm complains that /dev/null is an invalid object file 5722 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5723 case $build_os in 5724 mingw*) lt_bad_file=conftest.nm/nofile ;; 5725 *) lt_bad_file=/dev/null ;; 5726 esac 5727 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5728 *$lt_bad_file* | *'Invalid file or object type'*) 5729 lt_cv_path_NM="$tmp_nm -B" 5730 break 2 5731 ;; 5732 *) 5733 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5734 */dev/null*) 5735 lt_cv_path_NM="$tmp_nm -p" 5736 break 2 5737 ;; 5738 *) 5739 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5740 continue # so that we can try to find one that supports BSD flags 5741 ;; 5742 esac 5743 ;; 5744 esac 5745 fi 5746 done 5747 IFS=$lt_save_ifs 5748 done 5749 : ${lt_cv_path_NM=no} 5750fi 5751fi 5752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5753$as_echo "$lt_cv_path_NM" >&6; } 5754if test no != "$lt_cv_path_NM"; then 5755 NM=$lt_cv_path_NM 5756else 5757 # Didn't find any BSD compatible name lister, look for dumpbin. 5758 if test -n "$DUMPBIN"; then : 5759 # Let the user override the test. 5760 else 5761 if test -n "$ac_tool_prefix"; then 5762 for ac_prog in dumpbin "link -dump" 5763 do 5764 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5765set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5767$as_echo_n "checking for $ac_word... " >&6; } 5768if ${ac_cv_prog_DUMPBIN+:} false; then : 5769 $as_echo_n "(cached) " >&6 5770else 5771 if test -n "$DUMPBIN"; then 5772 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5773else 5774as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5775for as_dir in $PATH 5776do 5777 IFS=$as_save_IFS 5778 test -z "$as_dir" && as_dir=. 5779 for ac_exec_ext in '' $ac_executable_extensions; do 5780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5781 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5783 break 2 5784 fi 5785done 5786 done 5787IFS=$as_save_IFS 5788 5789fi 5790fi 5791DUMPBIN=$ac_cv_prog_DUMPBIN 5792if test -n "$DUMPBIN"; then 5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5794$as_echo "$DUMPBIN" >&6; } 5795else 5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5797$as_echo "no" >&6; } 5798fi 5799 5800 5801 test -n "$DUMPBIN" && break 5802 done 5803fi 5804if test -z "$DUMPBIN"; then 5805 ac_ct_DUMPBIN=$DUMPBIN 5806 for ac_prog in dumpbin "link -dump" 5807do 5808 # Extract the first word of "$ac_prog", so it can be a program name with args. 5809set dummy $ac_prog; ac_word=$2 5810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5811$as_echo_n "checking for $ac_word... " >&6; } 5812if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5813 $as_echo_n "(cached) " >&6 5814else 5815 if test -n "$ac_ct_DUMPBIN"; then 5816 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5817else 5818as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5819for as_dir in $PATH 5820do 5821 IFS=$as_save_IFS 5822 test -z "$as_dir" && as_dir=. 5823 for ac_exec_ext in '' $ac_executable_extensions; do 5824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5825 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5827 break 2 5828 fi 5829done 5830 done 5831IFS=$as_save_IFS 5832 5833fi 5834fi 5835ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5836if test -n "$ac_ct_DUMPBIN"; then 5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5838$as_echo "$ac_ct_DUMPBIN" >&6; } 5839else 5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5841$as_echo "no" >&6; } 5842fi 5843 5844 5845 test -n "$ac_ct_DUMPBIN" && break 5846done 5847 5848 if test "x$ac_ct_DUMPBIN" = x; then 5849 DUMPBIN=":" 5850 else 5851 case $cross_compiling:$ac_tool_warned in 5852yes:) 5853{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5854$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5855ac_tool_warned=yes ;; 5856esac 5857 DUMPBIN=$ac_ct_DUMPBIN 5858 fi 5859fi 5860 5861 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5862 *COFF*) 5863 DUMPBIN="$DUMPBIN -symbols -headers" 5864 ;; 5865 *) 5866 DUMPBIN=: 5867 ;; 5868 esac 5869 fi 5870 5871 if test : != "$DUMPBIN"; then 5872 NM=$DUMPBIN 5873 fi 5874fi 5875test -z "$NM" && NM=nm 5876 5877 5878 5879 5880 5881 5882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5883$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5884if ${lt_cv_nm_interface+:} false; then : 5885 $as_echo_n "(cached) " >&6 5886else 5887 lt_cv_nm_interface="BSD nm" 5888 echo "int some_variable = 0;" > conftest.$ac_ext 5889 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5890 (eval "$ac_compile" 2>conftest.err) 5891 cat conftest.err >&5 5892 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5893 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5894 cat conftest.err >&5 5895 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5896 cat conftest.out >&5 5897 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5898 lt_cv_nm_interface="MS dumpbin" 5899 fi 5900 rm -f conftest* 5901fi 5902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5903$as_echo "$lt_cv_nm_interface" >&6; } 5904 5905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5906$as_echo_n "checking whether ln -s works... " >&6; } 5907LN_S=$as_ln_s 5908if test "$LN_S" = "ln -s"; then 5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5910$as_echo "yes" >&6; } 5911else 5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5913$as_echo "no, using $LN_S" >&6; } 5914fi 5915 5916# find the maximum length of command line arguments 5917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5918$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5919if ${lt_cv_sys_max_cmd_len+:} false; then : 5920 $as_echo_n "(cached) " >&6 5921else 5922 i=0 5923 teststring=ABCD 5924 5925 case $build_os in 5926 msdosdjgpp*) 5927 # On DJGPP, this test can blow up pretty badly due to problems in libc 5928 # (any single argument exceeding 2000 bytes causes a buffer overrun 5929 # during glob expansion). Even if it were fixed, the result of this 5930 # check would be larger than it should be. 5931 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5932 ;; 5933 5934 gnu*) 5935 # Under GNU Hurd, this test is not required because there is 5936 # no limit to the length of command line arguments. 5937 # Libtool will interpret -1 as no limit whatsoever 5938 lt_cv_sys_max_cmd_len=-1; 5939 ;; 5940 5941 cygwin* | mingw* | cegcc*) 5942 # On Win9x/ME, this test blows up -- it succeeds, but takes 5943 # about 5 minutes as the teststring grows exponentially. 5944 # Worse, since 9x/ME are not pre-emptively multitasking, 5945 # you end up with a "frozen" computer, even though with patience 5946 # the test eventually succeeds (with a max line length of 256k). 5947 # Instead, let's just punt: use the minimum linelength reported by 5948 # all of the supported platforms: 8192 (on NT/2K/XP). 5949 lt_cv_sys_max_cmd_len=8192; 5950 ;; 5951 5952 mint*) 5953 # On MiNT this can take a long time and run out of memory. 5954 lt_cv_sys_max_cmd_len=8192; 5955 ;; 5956 5957 amigaos*) 5958 # On AmigaOS with pdksh, this test takes hours, literally. 5959 # So we just punt and use a minimum line length of 8192. 5960 lt_cv_sys_max_cmd_len=8192; 5961 ;; 5962 5963 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5964 # This has been around since 386BSD, at least. Likely further. 5965 if test -x /sbin/sysctl; then 5966 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5967 elif test -x /usr/sbin/sysctl; then 5968 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5969 else 5970 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5971 fi 5972 # And add a safety zone 5973 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5975 ;; 5976 5977 interix*) 5978 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5979 lt_cv_sys_max_cmd_len=196608 5980 ;; 5981 5982 os2*) 5983 # The test takes a long time on OS/2. 5984 lt_cv_sys_max_cmd_len=8192 5985 ;; 5986 5987 osf*) 5988 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5989 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5990 # nice to cause kernel panics so lets avoid the loop below. 5991 # First set a reasonable default. 5992 lt_cv_sys_max_cmd_len=16384 5993 # 5994 if test -x /sbin/sysconfig; then 5995 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5996 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5997 esac 5998 fi 5999 ;; 6000 sco3.2v5*) 6001 lt_cv_sys_max_cmd_len=102400 6002 ;; 6003 sysv5* | sco5v6* | sysv4.2uw2*) 6004 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6005 if test -n "$kargmax"; then 6006 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6007 else 6008 lt_cv_sys_max_cmd_len=32768 6009 fi 6010 ;; 6011 *) 6012 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6013 if test -n "$lt_cv_sys_max_cmd_len" && \ 6014 test undefined != "$lt_cv_sys_max_cmd_len"; then 6015 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6016 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6017 else 6018 # Make teststring a little bigger before we do anything with it. 6019 # a 1K string should be a reasonable start. 6020 for i in 1 2 3 4 5 6 7 8; do 6021 teststring=$teststring$teststring 6022 done 6023 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6024 # If test is not a shell built-in, we'll probably end up computing a 6025 # maximum length that is only half of the actual maximum length, but 6026 # we can't tell. 6027 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 6028 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6029 test 17 != "$i" # 1/2 MB should be enough 6030 do 6031 i=`expr $i + 1` 6032 teststring=$teststring$teststring 6033 done 6034 # Only check the string length outside the loop. 6035 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6036 teststring= 6037 # Add a significant safety factor because C++ compilers can tack on 6038 # massive amounts of additional arguments before passing them to the 6039 # linker. It appears as though 1/2 is a usable value. 6040 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6041 fi 6042 ;; 6043 esac 6044 6045fi 6046 6047if test -n "$lt_cv_sys_max_cmd_len"; then 6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6049$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6050else 6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6052$as_echo "none" >&6; } 6053fi 6054max_cmd_len=$lt_cv_sys_max_cmd_len 6055 6056 6057 6058 6059 6060 6061: ${CP="cp -f"} 6062: ${MV="mv -f"} 6063: ${RM="rm -f"} 6064 6065if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6066 lt_unset=unset 6067else 6068 lt_unset=false 6069fi 6070 6071 6072 6073 6074 6075# test EBCDIC or ASCII 6076case `echo X|tr X '\101'` in 6077 A) # ASCII based system 6078 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6079 lt_SP2NL='tr \040 \012' 6080 lt_NL2SP='tr \015\012 \040\040' 6081 ;; 6082 *) # EBCDIC based system 6083 lt_SP2NL='tr \100 \n' 6084 lt_NL2SP='tr \r\n \100\100' 6085 ;; 6086esac 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6097$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6098if ${lt_cv_to_host_file_cmd+:} false; then : 6099 $as_echo_n "(cached) " >&6 6100else 6101 case $host in 6102 *-*-mingw* ) 6103 case $build in 6104 *-*-mingw* ) # actually msys 6105 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6106 ;; 6107 *-*-cygwin* ) 6108 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6109 ;; 6110 * ) # otherwise, assume *nix 6111 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6112 ;; 6113 esac 6114 ;; 6115 *-*-cygwin* ) 6116 case $build in 6117 *-*-mingw* ) # actually msys 6118 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6119 ;; 6120 *-*-cygwin* ) 6121 lt_cv_to_host_file_cmd=func_convert_file_noop 6122 ;; 6123 * ) # otherwise, assume *nix 6124 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6125 ;; 6126 esac 6127 ;; 6128 * ) # unhandled hosts (and "normal" native builds) 6129 lt_cv_to_host_file_cmd=func_convert_file_noop 6130 ;; 6131esac 6132 6133fi 6134 6135to_host_file_cmd=$lt_cv_to_host_file_cmd 6136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6137$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6138 6139 6140 6141 6142 6143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6144$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6145if ${lt_cv_to_tool_file_cmd+:} false; then : 6146 $as_echo_n "(cached) " >&6 6147else 6148 #assume ordinary cross tools, or native build. 6149lt_cv_to_tool_file_cmd=func_convert_file_noop 6150case $host in 6151 *-*-mingw* ) 6152 case $build in 6153 *-*-mingw* ) # actually msys 6154 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6155 ;; 6156 esac 6157 ;; 6158esac 6159 6160fi 6161 6162to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6164$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6165 6166 6167 6168 6169 6170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6171$as_echo_n "checking for $LD option to reload object files... " >&6; } 6172if ${lt_cv_ld_reload_flag+:} false; then : 6173 $as_echo_n "(cached) " >&6 6174else 6175 lt_cv_ld_reload_flag='-r' 6176fi 6177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6178$as_echo "$lt_cv_ld_reload_flag" >&6; } 6179reload_flag=$lt_cv_ld_reload_flag 6180case $reload_flag in 6181"" | " "*) ;; 6182*) reload_flag=" $reload_flag" ;; 6183esac 6184reload_cmds='$LD$reload_flag -o $output$reload_objs' 6185case $host_os in 6186 cygwin* | mingw* | pw32* | cegcc*) 6187 if test yes != "$GCC"; then 6188 reload_cmds=false 6189 fi 6190 ;; 6191 darwin*) 6192 if test yes = "$GCC"; then 6193 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6194 else 6195 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6196 fi 6197 ;; 6198esac 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208if test -n "$ac_tool_prefix"; then 6209 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6210set dummy ${ac_tool_prefix}objdump; ac_word=$2 6211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6212$as_echo_n "checking for $ac_word... " >&6; } 6213if ${ac_cv_prog_OBJDUMP+:} false; then : 6214 $as_echo_n "(cached) " >&6 6215else 6216 if test -n "$OBJDUMP"; then 6217 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6218else 6219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6220for as_dir in $PATH 6221do 6222 IFS=$as_save_IFS 6223 test -z "$as_dir" && as_dir=. 6224 for ac_exec_ext in '' $ac_executable_extensions; do 6225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6226 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6228 break 2 6229 fi 6230done 6231 done 6232IFS=$as_save_IFS 6233 6234fi 6235fi 6236OBJDUMP=$ac_cv_prog_OBJDUMP 6237if test -n "$OBJDUMP"; then 6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6239$as_echo "$OBJDUMP" >&6; } 6240else 6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6242$as_echo "no" >&6; } 6243fi 6244 6245 6246fi 6247if test -z "$ac_cv_prog_OBJDUMP"; then 6248 ac_ct_OBJDUMP=$OBJDUMP 6249 # Extract the first word of "objdump", so it can be a program name with args. 6250set dummy objdump; ac_word=$2 6251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6252$as_echo_n "checking for $ac_word... " >&6; } 6253if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6254 $as_echo_n "(cached) " >&6 6255else 6256 if test -n "$ac_ct_OBJDUMP"; then 6257 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6258else 6259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6260for as_dir in $PATH 6261do 6262 IFS=$as_save_IFS 6263 test -z "$as_dir" && as_dir=. 6264 for ac_exec_ext in '' $ac_executable_extensions; do 6265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6266 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6268 break 2 6269 fi 6270done 6271 done 6272IFS=$as_save_IFS 6273 6274fi 6275fi 6276ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6277if test -n "$ac_ct_OBJDUMP"; then 6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6279$as_echo "$ac_ct_OBJDUMP" >&6; } 6280else 6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6282$as_echo "no" >&6; } 6283fi 6284 6285 if test "x$ac_ct_OBJDUMP" = x; then 6286 OBJDUMP="false" 6287 else 6288 case $cross_compiling:$ac_tool_warned in 6289yes:) 6290{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6291$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6292ac_tool_warned=yes ;; 6293esac 6294 OBJDUMP=$ac_ct_OBJDUMP 6295 fi 6296else 6297 OBJDUMP="$ac_cv_prog_OBJDUMP" 6298fi 6299 6300test -z "$OBJDUMP" && OBJDUMP=objdump 6301 6302 6303 6304 6305 6306 6307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6308$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6309if ${lt_cv_deplibs_check_method+:} false; then : 6310 $as_echo_n "(cached) " >&6 6311else 6312 lt_cv_file_magic_cmd='$MAGIC_CMD' 6313lt_cv_file_magic_test_file= 6314lt_cv_deplibs_check_method='unknown' 6315# Need to set the preceding variable on all platforms that support 6316# interlibrary dependencies. 6317# 'none' -- dependencies not supported. 6318# 'unknown' -- same as none, but documents that we really don't know. 6319# 'pass_all' -- all dependencies passed with no checks. 6320# 'test_compile' -- check by making test program. 6321# 'file_magic [[regex]]' -- check by looking for files in library path 6322# that responds to the $file_magic_cmd with a given extended regex. 6323# If you have 'file' or equivalent on your system and you're not sure 6324# whether 'pass_all' will *always* work, you probably want this one. 6325 6326case $host_os in 6327aix[4-9]*) 6328 lt_cv_deplibs_check_method=pass_all 6329 ;; 6330 6331beos*) 6332 lt_cv_deplibs_check_method=pass_all 6333 ;; 6334 6335bsdi[45]*) 6336 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6337 lt_cv_file_magic_cmd='/usr/bin/file -L' 6338 lt_cv_file_magic_test_file=/shlib/libc.so 6339 ;; 6340 6341cygwin*) 6342 # func_win32_libid is a shell function defined in ltmain.sh 6343 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6344 lt_cv_file_magic_cmd='func_win32_libid' 6345 ;; 6346 6347mingw* | pw32*) 6348 # Base MSYS/MinGW do not provide the 'file' command needed by 6349 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6350 # unless we find 'file', for example because we are cross-compiling. 6351 if ( file / ) >/dev/null 2>&1; then 6352 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6353 lt_cv_file_magic_cmd='func_win32_libid' 6354 else 6355 # Keep this pattern in sync with the one in func_win32_libid. 6356 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6357 lt_cv_file_magic_cmd='$OBJDUMP -f' 6358 fi 6359 ;; 6360 6361cegcc*) 6362 # use the weaker test based on 'objdump'. See mingw*. 6363 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6364 lt_cv_file_magic_cmd='$OBJDUMP -f' 6365 ;; 6366 6367darwin* | rhapsody*) 6368 lt_cv_deplibs_check_method=pass_all 6369 ;; 6370 6371freebsd* | dragonfly*) 6372 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6373 case $host_cpu in 6374 i*86 ) 6375 # Not sure whether the presence of OpenBSD here was a mistake. 6376 # Let's accept both of them until this is cleared up. 6377 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6378 lt_cv_file_magic_cmd=/usr/bin/file 6379 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6380 ;; 6381 esac 6382 else 6383 lt_cv_deplibs_check_method=pass_all 6384 fi 6385 ;; 6386 6387haiku*) 6388 lt_cv_deplibs_check_method=pass_all 6389 ;; 6390 6391hpux10.20* | hpux11*) 6392 lt_cv_file_magic_cmd=/usr/bin/file 6393 case $host_cpu in 6394 ia64*) 6395 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6396 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6397 ;; 6398 hppa*64*) 6399 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]' 6400 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6401 ;; 6402 *) 6403 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6404 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6405 ;; 6406 esac 6407 ;; 6408 6409interix[3-9]*) 6410 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6412 ;; 6413 6414irix5* | irix6* | nonstopux*) 6415 case $LD in 6416 *-32|*"-32 ") libmagic=32-bit;; 6417 *-n32|*"-n32 ") libmagic=N32;; 6418 *-64|*"-64 ") libmagic=64-bit;; 6419 *) libmagic=never-match;; 6420 esac 6421 lt_cv_deplibs_check_method=pass_all 6422 ;; 6423 6424# This must be glibc/ELF. 6425linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6426 lt_cv_deplibs_check_method=pass_all 6427 ;; 6428 6429netbsd* | netbsdelf*-gnu) 6430 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6431 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6432 else 6433 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6434 fi 6435 ;; 6436 6437newos6*) 6438 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6439 lt_cv_file_magic_cmd=/usr/bin/file 6440 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6441 ;; 6442 6443*nto* | *qnx*) 6444 lt_cv_deplibs_check_method=pass_all 6445 ;; 6446 6447openbsd* | bitrig*) 6448 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 6449 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6450 else 6451 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6452 fi 6453 ;; 6454 6455osf3* | osf4* | osf5*) 6456 lt_cv_deplibs_check_method=pass_all 6457 ;; 6458 6459rdos*) 6460 lt_cv_deplibs_check_method=pass_all 6461 ;; 6462 6463solaris*) 6464 lt_cv_deplibs_check_method=pass_all 6465 ;; 6466 6467sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6468 lt_cv_deplibs_check_method=pass_all 6469 ;; 6470 6471sysv4 | sysv4.3*) 6472 case $host_vendor in 6473 motorola) 6474 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]' 6475 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6476 ;; 6477 ncr) 6478 lt_cv_deplibs_check_method=pass_all 6479 ;; 6480 sequent) 6481 lt_cv_file_magic_cmd='/bin/file' 6482 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6483 ;; 6484 sni) 6485 lt_cv_file_magic_cmd='/bin/file' 6486 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6487 lt_cv_file_magic_test_file=/lib/libc.so 6488 ;; 6489 siemens) 6490 lt_cv_deplibs_check_method=pass_all 6491 ;; 6492 pc) 6493 lt_cv_deplibs_check_method=pass_all 6494 ;; 6495 esac 6496 ;; 6497 6498tpf*) 6499 lt_cv_deplibs_check_method=pass_all 6500 ;; 6501os2*) 6502 lt_cv_deplibs_check_method=pass_all 6503 ;; 6504esac 6505 6506fi 6507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6508$as_echo "$lt_cv_deplibs_check_method" >&6; } 6509 6510file_magic_glob= 6511want_nocaseglob=no 6512if test "$build" = "$host"; then 6513 case $host_os in 6514 mingw* | pw32*) 6515 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6516 want_nocaseglob=yes 6517 else 6518 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6519 fi 6520 ;; 6521 esac 6522fi 6523 6524file_magic_cmd=$lt_cv_file_magic_cmd 6525deplibs_check_method=$lt_cv_deplibs_check_method 6526test -z "$deplibs_check_method" && deplibs_check_method=unknown 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549if test -n "$ac_tool_prefix"; then 6550 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6551set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6553$as_echo_n "checking for $ac_word... " >&6; } 6554if ${ac_cv_prog_DLLTOOL+:} false; then : 6555 $as_echo_n "(cached) " >&6 6556else 6557 if test -n "$DLLTOOL"; then 6558 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6559else 6560as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6561for as_dir in $PATH 6562do 6563 IFS=$as_save_IFS 6564 test -z "$as_dir" && as_dir=. 6565 for ac_exec_ext in '' $ac_executable_extensions; do 6566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6567 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6569 break 2 6570 fi 6571done 6572 done 6573IFS=$as_save_IFS 6574 6575fi 6576fi 6577DLLTOOL=$ac_cv_prog_DLLTOOL 6578if test -n "$DLLTOOL"; then 6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6580$as_echo "$DLLTOOL" >&6; } 6581else 6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6583$as_echo "no" >&6; } 6584fi 6585 6586 6587fi 6588if test -z "$ac_cv_prog_DLLTOOL"; then 6589 ac_ct_DLLTOOL=$DLLTOOL 6590 # Extract the first word of "dlltool", so it can be a program name with args. 6591set dummy dlltool; ac_word=$2 6592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6593$as_echo_n "checking for $ac_word... " >&6; } 6594if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6595 $as_echo_n "(cached) " >&6 6596else 6597 if test -n "$ac_ct_DLLTOOL"; then 6598 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6599else 6600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6601for as_dir in $PATH 6602do 6603 IFS=$as_save_IFS 6604 test -z "$as_dir" && as_dir=. 6605 for ac_exec_ext in '' $ac_executable_extensions; do 6606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6607 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6609 break 2 6610 fi 6611done 6612 done 6613IFS=$as_save_IFS 6614 6615fi 6616fi 6617ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6618if test -n "$ac_ct_DLLTOOL"; then 6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6620$as_echo "$ac_ct_DLLTOOL" >&6; } 6621else 6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6623$as_echo "no" >&6; } 6624fi 6625 6626 if test "x$ac_ct_DLLTOOL" = x; then 6627 DLLTOOL="false" 6628 else 6629 case $cross_compiling:$ac_tool_warned in 6630yes:) 6631{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6632$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6633ac_tool_warned=yes ;; 6634esac 6635 DLLTOOL=$ac_ct_DLLTOOL 6636 fi 6637else 6638 DLLTOOL="$ac_cv_prog_DLLTOOL" 6639fi 6640 6641test -z "$DLLTOOL" && DLLTOOL=dlltool 6642 6643 6644 6645 6646 6647 6648 6649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6650$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6651if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6652 $as_echo_n "(cached) " >&6 6653else 6654 lt_cv_sharedlib_from_linklib_cmd='unknown' 6655 6656case $host_os in 6657cygwin* | mingw* | pw32* | cegcc*) 6658 # two different shell functions defined in ltmain.sh; 6659 # decide which one to use based on capabilities of $DLLTOOL 6660 case `$DLLTOOL --help 2>&1` in 6661 *--identify-strict*) 6662 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6663 ;; 6664 *) 6665 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6666 ;; 6667 esac 6668 ;; 6669*) 6670 # fallback: assume linklib IS sharedlib 6671 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6672 ;; 6673esac 6674 6675fi 6676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6677$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6678sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6679test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6680 6681 6682 6683 6684 6685 6686 6687 6688if test -n "$ac_tool_prefix"; then 6689 for ac_prog in ar 6690 do 6691 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6692set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6694$as_echo_n "checking for $ac_word... " >&6; } 6695if ${ac_cv_prog_AR+:} false; then : 6696 $as_echo_n "(cached) " >&6 6697else 6698 if test -n "$AR"; then 6699 ac_cv_prog_AR="$AR" # Let the user override the test. 6700else 6701as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6702for as_dir in $PATH 6703do 6704 IFS=$as_save_IFS 6705 test -z "$as_dir" && as_dir=. 6706 for ac_exec_ext in '' $ac_executable_extensions; do 6707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6708 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6710 break 2 6711 fi 6712done 6713 done 6714IFS=$as_save_IFS 6715 6716fi 6717fi 6718AR=$ac_cv_prog_AR 6719if test -n "$AR"; then 6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6721$as_echo "$AR" >&6; } 6722else 6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6724$as_echo "no" >&6; } 6725fi 6726 6727 6728 test -n "$AR" && break 6729 done 6730fi 6731if test -z "$AR"; then 6732 ac_ct_AR=$AR 6733 for ac_prog in ar 6734do 6735 # Extract the first word of "$ac_prog", so it can be a program name with args. 6736set dummy $ac_prog; ac_word=$2 6737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6738$as_echo_n "checking for $ac_word... " >&6; } 6739if ${ac_cv_prog_ac_ct_AR+:} false; then : 6740 $as_echo_n "(cached) " >&6 6741else 6742 if test -n "$ac_ct_AR"; then 6743 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6744else 6745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6746for as_dir in $PATH 6747do 6748 IFS=$as_save_IFS 6749 test -z "$as_dir" && as_dir=. 6750 for ac_exec_ext in '' $ac_executable_extensions; do 6751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6752 ac_cv_prog_ac_ct_AR="$ac_prog" 6753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6754 break 2 6755 fi 6756done 6757 done 6758IFS=$as_save_IFS 6759 6760fi 6761fi 6762ac_ct_AR=$ac_cv_prog_ac_ct_AR 6763if test -n "$ac_ct_AR"; then 6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6765$as_echo "$ac_ct_AR" >&6; } 6766else 6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6768$as_echo "no" >&6; } 6769fi 6770 6771 6772 test -n "$ac_ct_AR" && break 6773done 6774 6775 if test "x$ac_ct_AR" = x; then 6776 AR="false" 6777 else 6778 case $cross_compiling:$ac_tool_warned in 6779yes:) 6780{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6781$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6782ac_tool_warned=yes ;; 6783esac 6784 AR=$ac_ct_AR 6785 fi 6786fi 6787 6788: ${AR=ar} 6789: ${AR_FLAGS=cru} 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6802$as_echo_n "checking for archiver @FILE support... " >&6; } 6803if ${lt_cv_ar_at_file+:} false; then : 6804 $as_echo_n "(cached) " >&6 6805else 6806 lt_cv_ar_at_file=no 6807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6808/* end confdefs.h. */ 6809 6810int 6811main () 6812{ 6813 6814 ; 6815 return 0; 6816} 6817_ACEOF 6818if ac_fn_c_try_compile "$LINENO"; then : 6819 echo conftest.$ac_objext > conftest.lst 6820 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6821 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6822 (eval $lt_ar_try) 2>&5 6823 ac_status=$? 6824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6825 test $ac_status = 0; } 6826 if test 0 -eq "$ac_status"; then 6827 # Ensure the archiver fails upon bogus file names. 6828 rm -f conftest.$ac_objext libconftest.a 6829 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6830 (eval $lt_ar_try) 2>&5 6831 ac_status=$? 6832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6833 test $ac_status = 0; } 6834 if test 0 -ne "$ac_status"; then 6835 lt_cv_ar_at_file=@ 6836 fi 6837 fi 6838 rm -f conftest.* libconftest.a 6839 6840fi 6841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6842 6843fi 6844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6845$as_echo "$lt_cv_ar_at_file" >&6; } 6846 6847if test no = "$lt_cv_ar_at_file"; then 6848 archiver_list_spec= 6849else 6850 archiver_list_spec=$lt_cv_ar_at_file 6851fi 6852 6853 6854 6855 6856 6857 6858 6859if test -n "$ac_tool_prefix"; then 6860 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6861set dummy ${ac_tool_prefix}strip; ac_word=$2 6862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6863$as_echo_n "checking for $ac_word... " >&6; } 6864if ${ac_cv_prog_STRIP+:} false; then : 6865 $as_echo_n "(cached) " >&6 6866else 6867 if test -n "$STRIP"; then 6868 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6869else 6870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6871for as_dir in $PATH 6872do 6873 IFS=$as_save_IFS 6874 test -z "$as_dir" && as_dir=. 6875 for ac_exec_ext in '' $ac_executable_extensions; do 6876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6877 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6879 break 2 6880 fi 6881done 6882 done 6883IFS=$as_save_IFS 6884 6885fi 6886fi 6887STRIP=$ac_cv_prog_STRIP 6888if test -n "$STRIP"; then 6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6890$as_echo "$STRIP" >&6; } 6891else 6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6893$as_echo "no" >&6; } 6894fi 6895 6896 6897fi 6898if test -z "$ac_cv_prog_STRIP"; then 6899 ac_ct_STRIP=$STRIP 6900 # Extract the first word of "strip", so it can be a program name with args. 6901set dummy strip; ac_word=$2 6902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6903$as_echo_n "checking for $ac_word... " >&6; } 6904if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6905 $as_echo_n "(cached) " >&6 6906else 6907 if test -n "$ac_ct_STRIP"; then 6908 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6909else 6910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6911for as_dir in $PATH 6912do 6913 IFS=$as_save_IFS 6914 test -z "$as_dir" && as_dir=. 6915 for ac_exec_ext in '' $ac_executable_extensions; do 6916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6917 ac_cv_prog_ac_ct_STRIP="strip" 6918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6919 break 2 6920 fi 6921done 6922 done 6923IFS=$as_save_IFS 6924 6925fi 6926fi 6927ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6928if test -n "$ac_ct_STRIP"; then 6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6930$as_echo "$ac_ct_STRIP" >&6; } 6931else 6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6933$as_echo "no" >&6; } 6934fi 6935 6936 if test "x$ac_ct_STRIP" = x; then 6937 STRIP=":" 6938 else 6939 case $cross_compiling:$ac_tool_warned in 6940yes:) 6941{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6942$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6943ac_tool_warned=yes ;; 6944esac 6945 STRIP=$ac_ct_STRIP 6946 fi 6947else 6948 STRIP="$ac_cv_prog_STRIP" 6949fi 6950 6951test -z "$STRIP" && STRIP=: 6952 6953 6954 6955 6956 6957 6958if test -n "$ac_tool_prefix"; then 6959 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6960set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6962$as_echo_n "checking for $ac_word... " >&6; } 6963if ${ac_cv_prog_RANLIB+:} false; then : 6964 $as_echo_n "(cached) " >&6 6965else 6966 if test -n "$RANLIB"; then 6967 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6968else 6969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6970for as_dir in $PATH 6971do 6972 IFS=$as_save_IFS 6973 test -z "$as_dir" && as_dir=. 6974 for ac_exec_ext in '' $ac_executable_extensions; do 6975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6976 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6978 break 2 6979 fi 6980done 6981 done 6982IFS=$as_save_IFS 6983 6984fi 6985fi 6986RANLIB=$ac_cv_prog_RANLIB 6987if test -n "$RANLIB"; then 6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6989$as_echo "$RANLIB" >&6; } 6990else 6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6992$as_echo "no" >&6; } 6993fi 6994 6995 6996fi 6997if test -z "$ac_cv_prog_RANLIB"; then 6998 ac_ct_RANLIB=$RANLIB 6999 # Extract the first word of "ranlib", so it can be a program name with args. 7000set dummy ranlib; ac_word=$2 7001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7002$as_echo_n "checking for $ac_word... " >&6; } 7003if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7004 $as_echo_n "(cached) " >&6 7005else 7006 if test -n "$ac_ct_RANLIB"; then 7007 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7008else 7009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7010for as_dir in $PATH 7011do 7012 IFS=$as_save_IFS 7013 test -z "$as_dir" && as_dir=. 7014 for ac_exec_ext in '' $ac_executable_extensions; do 7015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7016 ac_cv_prog_ac_ct_RANLIB="ranlib" 7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7018 break 2 7019 fi 7020done 7021 done 7022IFS=$as_save_IFS 7023 7024fi 7025fi 7026ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7027if test -n "$ac_ct_RANLIB"; then 7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7029$as_echo "$ac_ct_RANLIB" >&6; } 7030else 7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7032$as_echo "no" >&6; } 7033fi 7034 7035 if test "x$ac_ct_RANLIB" = x; then 7036 RANLIB=":" 7037 else 7038 case $cross_compiling:$ac_tool_warned in 7039yes:) 7040{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7041$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7042ac_tool_warned=yes ;; 7043esac 7044 RANLIB=$ac_ct_RANLIB 7045 fi 7046else 7047 RANLIB="$ac_cv_prog_RANLIB" 7048fi 7049 7050test -z "$RANLIB" && RANLIB=: 7051 7052 7053 7054 7055 7056 7057# Determine commands to create old-style static archives. 7058old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7059old_postinstall_cmds='chmod 644 $oldlib' 7060old_postuninstall_cmds= 7061 7062if test -n "$RANLIB"; then 7063 case $host_os in 7064 bitrig* | openbsd*) 7065 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7066 ;; 7067 *) 7068 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7069 ;; 7070 esac 7071 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7072fi 7073 7074case $host_os in 7075 darwin*) 7076 lock_old_archive_extraction=yes ;; 7077 *) 7078 lock_old_archive_extraction=no ;; 7079esac 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119# If no C compiler was specified, use CC. 7120LTCC=${LTCC-"$CC"} 7121 7122# If no C compiler flags were specified, use CFLAGS. 7123LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7124 7125# Allow CC to be a program name with arguments. 7126compiler=$CC 7127 7128 7129# Check for command to grab the raw symbol name followed by C symbol from nm. 7130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7131$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7132if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7133 $as_echo_n "(cached) " >&6 7134else 7135 7136# These are sane defaults that work on at least a few old systems. 7137# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7138 7139# Character class describing NM global symbol codes. 7140symcode='[BCDEGRST]' 7141 7142# Regexp to match symbols that can be accessed directly from C. 7143sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7144 7145# Define system-specific variables. 7146case $host_os in 7147aix*) 7148 symcode='[BCDT]' 7149 ;; 7150cygwin* | mingw* | pw32* | cegcc*) 7151 symcode='[ABCDGISTW]' 7152 ;; 7153hpux*) 7154 if test ia64 = "$host_cpu"; then 7155 symcode='[ABCDEGRST]' 7156 fi 7157 ;; 7158irix* | nonstopux*) 7159 symcode='[BCDEGRST]' 7160 ;; 7161osf*) 7162 symcode='[BCDEGQRST]' 7163 ;; 7164solaris*) 7165 symcode='[BDRT]' 7166 ;; 7167sco3.2v5*) 7168 symcode='[DT]' 7169 ;; 7170sysv4.2uw2*) 7171 symcode='[DT]' 7172 ;; 7173sysv5* | sco5v6* | unixware* | OpenUNIX*) 7174 symcode='[ABDT]' 7175 ;; 7176sysv4) 7177 symcode='[DFNSTU]' 7178 ;; 7179esac 7180 7181# If we're using GNU nm, then use its standard symbol codes. 7182case `$NM -V 2>&1` in 7183*GNU* | *'with BFD'*) 7184 symcode='[ABCDGIRSTW]' ;; 7185esac 7186 7187if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7188 # Gets list of data symbols to import. 7189 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7190 # Adjust the below global symbol transforms to fixup imported variables. 7191 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7192 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7193 lt_c_name_lib_hook="\ 7194 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7195 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7196else 7197 # Disable hooks by default. 7198 lt_cv_sys_global_symbol_to_import= 7199 lt_cdecl_hook= 7200 lt_c_name_hook= 7201 lt_c_name_lib_hook= 7202fi 7203 7204# Transform an extracted symbol line into a proper C declaration. 7205# Some systems (esp. on ia64) link data and code symbols differently, 7206# so use this general approach. 7207lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7208$lt_cdecl_hook\ 7209" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7210" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7211 7212# Transform an extracted symbol line into symbol name and symbol address 7213lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7214$lt_c_name_hook\ 7215" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7216" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7217 7218# Transform an extracted symbol line into symbol name with lib prefix and 7219# symbol address. 7220lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7221$lt_c_name_lib_hook\ 7222" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7223" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7224" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7225 7226# Handle CRLF in mingw tool chain 7227opt_cr= 7228case $build_os in 7229mingw*) 7230 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7231 ;; 7232esac 7233 7234# Try without a prefix underscore, then with it. 7235for ac_symprfx in "" "_"; do 7236 7237 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7238 symxfrm="\\1 $ac_symprfx\\2 \\2" 7239 7240 # Write the raw and C identifiers. 7241 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7242 # Fake it for dumpbin and say T for any non-static function, 7243 # D for any global variable and I for any imported variable. 7244 # Also find C++ and __fastcall symbols from MSVC++, 7245 # which start with @ or ?. 7246 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7247" {last_section=section; section=\$ 3};"\ 7248" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7249" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7250" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7251" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7252" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7253" \$ 0!~/External *\|/{next};"\ 7254" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7255" {if(hide[section]) next};"\ 7256" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7257" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7258" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7259" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7260" ' prfx=^$ac_symprfx" 7261 else 7262 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7263 fi 7264 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7265 7266 # Check to see that the pipe works correctly. 7267 pipe_works=no 7268 7269 rm -f conftest* 7270 cat > conftest.$ac_ext <<_LT_EOF 7271#ifdef __cplusplus 7272extern "C" { 7273#endif 7274char nm_test_var; 7275void nm_test_func(void); 7276void nm_test_func(void){} 7277#ifdef __cplusplus 7278} 7279#endif 7280int main(){nm_test_var='a';nm_test_func();return(0);} 7281_LT_EOF 7282 7283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7284 (eval $ac_compile) 2>&5 7285 ac_status=$? 7286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7287 test $ac_status = 0; }; then 7288 # Now try to grab the symbols. 7289 nlist=conftest.nm 7290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7291 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7292 ac_status=$? 7293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7294 test $ac_status = 0; } && test -s "$nlist"; then 7295 # Try sorting and uniquifying the output. 7296 if sort "$nlist" | uniq > "$nlist"T; then 7297 mv -f "$nlist"T "$nlist" 7298 else 7299 rm -f "$nlist"T 7300 fi 7301 7302 # Make sure that we snagged all the symbols we need. 7303 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7304 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7305 cat <<_LT_EOF > conftest.$ac_ext 7306/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7307#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7308/* DATA imports from DLLs on WIN32 can't be const, because runtime 7309 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7310# define LT_DLSYM_CONST 7311#elif defined __osf__ 7312/* This system does not cope well with relocations in const data. */ 7313# define LT_DLSYM_CONST 7314#else 7315# define LT_DLSYM_CONST const 7316#endif 7317 7318#ifdef __cplusplus 7319extern "C" { 7320#endif 7321 7322_LT_EOF 7323 # Now generate the symbol file. 7324 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7325 7326 cat <<_LT_EOF >> conftest.$ac_ext 7327 7328/* The mapping between symbol names and symbols. */ 7329LT_DLSYM_CONST struct { 7330 const char *name; 7331 void *address; 7332} 7333lt__PROGRAM__LTX_preloaded_symbols[] = 7334{ 7335 { "@PROGRAM@", (void *) 0 }, 7336_LT_EOF 7337 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7338 cat <<\_LT_EOF >> conftest.$ac_ext 7339 {0, (void *) 0} 7340}; 7341 7342/* This works around a problem in FreeBSD linker */ 7343#ifdef FREEBSD_WORKAROUND 7344static const void *lt_preloaded_setup() { 7345 return lt__PROGRAM__LTX_preloaded_symbols; 7346} 7347#endif 7348 7349#ifdef __cplusplus 7350} 7351#endif 7352_LT_EOF 7353 # Now try linking the two files. 7354 mv conftest.$ac_objext conftstm.$ac_objext 7355 lt_globsym_save_LIBS=$LIBS 7356 lt_globsym_save_CFLAGS=$CFLAGS 7357 LIBS=conftstm.$ac_objext 7358 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7359 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7360 (eval $ac_link) 2>&5 7361 ac_status=$? 7362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7363 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7364 pipe_works=yes 7365 fi 7366 LIBS=$lt_globsym_save_LIBS 7367 CFLAGS=$lt_globsym_save_CFLAGS 7368 else 7369 echo "cannot find nm_test_func in $nlist" >&5 7370 fi 7371 else 7372 echo "cannot find nm_test_var in $nlist" >&5 7373 fi 7374 else 7375 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7376 fi 7377 else 7378 echo "$progname: failed program was:" >&5 7379 cat conftest.$ac_ext >&5 7380 fi 7381 rm -rf conftest* conftst* 7382 7383 # Do not use the global_symbol_pipe unless it works. 7384 if test yes = "$pipe_works"; then 7385 break 7386 else 7387 lt_cv_sys_global_symbol_pipe= 7388 fi 7389done 7390 7391fi 7392 7393if test -z "$lt_cv_sys_global_symbol_pipe"; then 7394 lt_cv_sys_global_symbol_to_cdecl= 7395fi 7396if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7398$as_echo "failed" >&6; } 7399else 7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7401$as_echo "ok" >&6; } 7402fi 7403 7404# Response file support. 7405if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7406 nm_file_list_spec='@' 7407elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7408 nm_file_list_spec='@' 7409fi 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7448$as_echo_n "checking for sysroot... " >&6; } 7449 7450# Check whether --with-sysroot was given. 7451if test "${with_sysroot+set}" = set; then : 7452 withval=$with_sysroot; 7453else 7454 with_sysroot=no 7455fi 7456 7457 7458lt_sysroot= 7459case $with_sysroot in #( 7460 yes) 7461 if test yes = "$GCC"; then 7462 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7463 fi 7464 ;; #( 7465 /*) 7466 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7467 ;; #( 7468 no|'') 7469 ;; #( 7470 *) 7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 7472$as_echo "$with_sysroot" >&6; } 7473 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7474 ;; 7475esac 7476 7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7478$as_echo "${lt_sysroot:-no}" >&6; } 7479 7480 7481 7482 7483 7484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 7485$as_echo_n "checking for a working dd... " >&6; } 7486if ${ac_cv_path_lt_DD+:} false; then : 7487 $as_echo_n "(cached) " >&6 7488else 7489 printf 0123456789abcdef0123456789abcdef >conftest.i 7490cat conftest.i conftest.i >conftest2.i 7491: ${lt_DD:=$DD} 7492if test -z "$lt_DD"; then 7493 ac_path_lt_DD_found=false 7494 # Loop through the user's path and test for each of PROGNAME-LIST 7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7496for as_dir in $PATH 7497do 7498 IFS=$as_save_IFS 7499 test -z "$as_dir" && as_dir=. 7500 for ac_prog in dd; do 7501 for ac_exec_ext in '' $ac_executable_extensions; do 7502 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 7503 as_fn_executable_p "$ac_path_lt_DD" || continue 7504if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7505 cmp -s conftest.i conftest.out \ 7506 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 7507fi 7508 $ac_path_lt_DD_found && break 3 7509 done 7510 done 7511 done 7512IFS=$as_save_IFS 7513 if test -z "$ac_cv_path_lt_DD"; then 7514 : 7515 fi 7516else 7517 ac_cv_path_lt_DD=$lt_DD 7518fi 7519 7520rm -f conftest.i conftest2.i conftest.out 7521fi 7522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7523$as_echo "$ac_cv_path_lt_DD" >&6; } 7524 7525 7526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7527$as_echo_n "checking how to truncate binary pipes... " >&6; } 7528if ${lt_cv_truncate_bin+:} false; then : 7529 $as_echo_n "(cached) " >&6 7530else 7531 printf 0123456789abcdef0123456789abcdef >conftest.i 7532cat conftest.i conftest.i >conftest2.i 7533lt_cv_truncate_bin= 7534if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7535 cmp -s conftest.i conftest.out \ 7536 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7537fi 7538rm -f conftest.i conftest2.i conftest.out 7539test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7540fi 7541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7542$as_echo "$lt_cv_truncate_bin" >&6; } 7543 7544 7545 7546 7547 7548 7549 7550# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7551func_cc_basename () 7552{ 7553 for cc_temp in $*""; do 7554 case $cc_temp in 7555 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7556 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7557 \-*) ;; 7558 *) break;; 7559 esac 7560 done 7561 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7562} 7563 7564# Check whether --enable-libtool-lock was given. 7565if test "${enable_libtool_lock+set}" = set; then : 7566 enableval=$enable_libtool_lock; 7567fi 7568 7569test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7570 7571# Some flags need to be propagated to the compiler or linker for good 7572# libtool support. 7573case $host in 7574ia64-*-hpux*) 7575 # Find out what ABI is being produced by ac_compile, and set mode 7576 # options accordingly. 7577 echo 'int i;' > conftest.$ac_ext 7578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7579 (eval $ac_compile) 2>&5 7580 ac_status=$? 7581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7582 test $ac_status = 0; }; then 7583 case `/usr/bin/file conftest.$ac_objext` in 7584 *ELF-32*) 7585 HPUX_IA64_MODE=32 7586 ;; 7587 *ELF-64*) 7588 HPUX_IA64_MODE=64 7589 ;; 7590 esac 7591 fi 7592 rm -rf conftest* 7593 ;; 7594*-*-irix6*) 7595 # Find out what ABI is being produced by ac_compile, and set linker 7596 # options accordingly. 7597 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7599 (eval $ac_compile) 2>&5 7600 ac_status=$? 7601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7602 test $ac_status = 0; }; then 7603 if test yes = "$lt_cv_prog_gnu_ld"; then 7604 case `/usr/bin/file conftest.$ac_objext` in 7605 *32-bit*) 7606 LD="${LD-ld} -melf32bsmip" 7607 ;; 7608 *N32*) 7609 LD="${LD-ld} -melf32bmipn32" 7610 ;; 7611 *64-bit*) 7612 LD="${LD-ld} -melf64bmip" 7613 ;; 7614 esac 7615 else 7616 case `/usr/bin/file conftest.$ac_objext` in 7617 *32-bit*) 7618 LD="${LD-ld} -32" 7619 ;; 7620 *N32*) 7621 LD="${LD-ld} -n32" 7622 ;; 7623 *64-bit*) 7624 LD="${LD-ld} -64" 7625 ;; 7626 esac 7627 fi 7628 fi 7629 rm -rf conftest* 7630 ;; 7631 7632mips64*-*linux*) 7633 # Find out what ABI is being produced by ac_compile, and set linker 7634 # options accordingly. 7635 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7636 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7637 (eval $ac_compile) 2>&5 7638 ac_status=$? 7639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7640 test $ac_status = 0; }; then 7641 emul=elf 7642 case `/usr/bin/file conftest.$ac_objext` in 7643 *32-bit*) 7644 emul="${emul}32" 7645 ;; 7646 *64-bit*) 7647 emul="${emul}64" 7648 ;; 7649 esac 7650 case `/usr/bin/file conftest.$ac_objext` in 7651 *MSB*) 7652 emul="${emul}btsmip" 7653 ;; 7654 *LSB*) 7655 emul="${emul}ltsmip" 7656 ;; 7657 esac 7658 case `/usr/bin/file conftest.$ac_objext` in 7659 *N32*) 7660 emul="${emul}n32" 7661 ;; 7662 esac 7663 LD="${LD-ld} -m $emul" 7664 fi 7665 rm -rf conftest* 7666 ;; 7667 7668x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7669s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7670 # Find out what ABI is being produced by ac_compile, and set linker 7671 # options accordingly. Note that the listed cases only cover the 7672 # situations where additional linker options are needed (such as when 7673 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7674 # vice versa); the common cases where no linker options are needed do 7675 # not appear in the list. 7676 echo 'int i;' > conftest.$ac_ext 7677 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7678 (eval $ac_compile) 2>&5 7679 ac_status=$? 7680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7681 test $ac_status = 0; }; then 7682 case `/usr/bin/file conftest.o` in 7683 *32-bit*) 7684 case $host in 7685 x86_64-*kfreebsd*-gnu) 7686 LD="${LD-ld} -m elf_i386_fbsd" 7687 ;; 7688 x86_64-*linux*) 7689 case `/usr/bin/file conftest.o` in 7690 *x86-64*) 7691 LD="${LD-ld} -m elf32_x86_64" 7692 ;; 7693 *) 7694 LD="${LD-ld} -m elf_i386" 7695 ;; 7696 esac 7697 ;; 7698 powerpc64le-*linux*) 7699 LD="${LD-ld} -m elf32lppclinux" 7700 ;; 7701 powerpc64-*linux*) 7702 LD="${LD-ld} -m elf32ppclinux" 7703 ;; 7704 s390x-*linux*) 7705 LD="${LD-ld} -m elf_s390" 7706 ;; 7707 sparc64-*linux*) 7708 LD="${LD-ld} -m elf32_sparc" 7709 ;; 7710 esac 7711 ;; 7712 *64-bit*) 7713 case $host in 7714 x86_64-*kfreebsd*-gnu) 7715 LD="${LD-ld} -m elf_x86_64_fbsd" 7716 ;; 7717 x86_64-*linux*) 7718 LD="${LD-ld} -m elf_x86_64" 7719 ;; 7720 powerpcle-*linux*) 7721 LD="${LD-ld} -m elf64lppc" 7722 ;; 7723 powerpc-*linux*) 7724 LD="${LD-ld} -m elf64ppc" 7725 ;; 7726 s390*-*linux*|s390*-*tpf*) 7727 LD="${LD-ld} -m elf64_s390" 7728 ;; 7729 sparc*-*linux*) 7730 LD="${LD-ld} -m elf64_sparc" 7731 ;; 7732 esac 7733 ;; 7734 esac 7735 fi 7736 rm -rf conftest* 7737 ;; 7738 7739*-*-sco3.2v5*) 7740 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7741 SAVE_CFLAGS=$CFLAGS 7742 CFLAGS="$CFLAGS -belf" 7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7744$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7745if ${lt_cv_cc_needs_belf+:} false; then : 7746 $as_echo_n "(cached) " >&6 7747else 7748 ac_ext=c 7749ac_cpp='$CPP $CPPFLAGS' 7750ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7751ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7752ac_compiler_gnu=$ac_cv_c_compiler_gnu 7753 7754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7755/* end confdefs.h. */ 7756 7757int 7758main () 7759{ 7760 7761 ; 7762 return 0; 7763} 7764_ACEOF 7765if ac_fn_c_try_link "$LINENO"; then : 7766 lt_cv_cc_needs_belf=yes 7767else 7768 lt_cv_cc_needs_belf=no 7769fi 7770rm -f core conftest.err conftest.$ac_objext \ 7771 conftest$ac_exeext conftest.$ac_ext 7772 ac_ext=c 7773ac_cpp='$CPP $CPPFLAGS' 7774ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7775ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7776ac_compiler_gnu=$ac_cv_c_compiler_gnu 7777 7778fi 7779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7780$as_echo "$lt_cv_cc_needs_belf" >&6; } 7781 if test yes != "$lt_cv_cc_needs_belf"; then 7782 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7783 CFLAGS=$SAVE_CFLAGS 7784 fi 7785 ;; 7786*-*solaris*) 7787 # Find out what ABI is being produced by ac_compile, and set linker 7788 # options accordingly. 7789 echo 'int i;' > conftest.$ac_ext 7790 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7791 (eval $ac_compile) 2>&5 7792 ac_status=$? 7793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7794 test $ac_status = 0; }; then 7795 case `/usr/bin/file conftest.o` in 7796 *64-bit*) 7797 case $lt_cv_prog_gnu_ld in 7798 yes*) 7799 case $host in 7800 i?86-*-solaris*|x86_64-*-solaris*) 7801 LD="${LD-ld} -m elf_x86_64" 7802 ;; 7803 sparc*-*-solaris*) 7804 LD="${LD-ld} -m elf64_sparc" 7805 ;; 7806 esac 7807 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7808 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7809 LD=${LD-ld}_sol2 7810 fi 7811 ;; 7812 *) 7813 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7814 LD="${LD-ld} -64" 7815 fi 7816 ;; 7817 esac 7818 ;; 7819 esac 7820 fi 7821 rm -rf conftest* 7822 ;; 7823esac 7824 7825need_locks=$enable_libtool_lock 7826 7827if test -n "$ac_tool_prefix"; then 7828 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7829set dummy ${ac_tool_prefix}mt; ac_word=$2 7830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7831$as_echo_n "checking for $ac_word... " >&6; } 7832if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7833 $as_echo_n "(cached) " >&6 7834else 7835 if test -n "$MANIFEST_TOOL"; then 7836 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7837else 7838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7839for as_dir in $PATH 7840do 7841 IFS=$as_save_IFS 7842 test -z "$as_dir" && as_dir=. 7843 for ac_exec_ext in '' $ac_executable_extensions; do 7844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7845 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7847 break 2 7848 fi 7849done 7850 done 7851IFS=$as_save_IFS 7852 7853fi 7854fi 7855MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7856if test -n "$MANIFEST_TOOL"; then 7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7858$as_echo "$MANIFEST_TOOL" >&6; } 7859else 7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7861$as_echo "no" >&6; } 7862fi 7863 7864 7865fi 7866if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7867 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7868 # Extract the first word of "mt", so it can be a program name with args. 7869set dummy mt; ac_word=$2 7870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7871$as_echo_n "checking for $ac_word... " >&6; } 7872if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7873 $as_echo_n "(cached) " >&6 7874else 7875 if test -n "$ac_ct_MANIFEST_TOOL"; then 7876 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7877else 7878as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7879for as_dir in $PATH 7880do 7881 IFS=$as_save_IFS 7882 test -z "$as_dir" && as_dir=. 7883 for ac_exec_ext in '' $ac_executable_extensions; do 7884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7885 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7887 break 2 7888 fi 7889done 7890 done 7891IFS=$as_save_IFS 7892 7893fi 7894fi 7895ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7896if test -n "$ac_ct_MANIFEST_TOOL"; then 7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7898$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7899else 7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7901$as_echo "no" >&6; } 7902fi 7903 7904 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7905 MANIFEST_TOOL=":" 7906 else 7907 case $cross_compiling:$ac_tool_warned in 7908yes:) 7909{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7910$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7911ac_tool_warned=yes ;; 7912esac 7913 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7914 fi 7915else 7916 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7917fi 7918 7919test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7921$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7922if ${lt_cv_path_mainfest_tool+:} false; then : 7923 $as_echo_n "(cached) " >&6 7924else 7925 lt_cv_path_mainfest_tool=no 7926 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7927 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7928 cat conftest.err >&5 7929 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7930 lt_cv_path_mainfest_tool=yes 7931 fi 7932 rm -f conftest* 7933fi 7934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7935$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7936if test yes != "$lt_cv_path_mainfest_tool"; then 7937 MANIFEST_TOOL=: 7938fi 7939 7940 7941 7942 7943 7944 7945 case $host_os in 7946 rhapsody* | darwin*) 7947 if test -n "$ac_tool_prefix"; then 7948 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7949set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7951$as_echo_n "checking for $ac_word... " >&6; } 7952if ${ac_cv_prog_DSYMUTIL+:} false; then : 7953 $as_echo_n "(cached) " >&6 7954else 7955 if test -n "$DSYMUTIL"; then 7956 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7957else 7958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7959for as_dir in $PATH 7960do 7961 IFS=$as_save_IFS 7962 test -z "$as_dir" && as_dir=. 7963 for ac_exec_ext in '' $ac_executable_extensions; do 7964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7965 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7967 break 2 7968 fi 7969done 7970 done 7971IFS=$as_save_IFS 7972 7973fi 7974fi 7975DSYMUTIL=$ac_cv_prog_DSYMUTIL 7976if test -n "$DSYMUTIL"; then 7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7978$as_echo "$DSYMUTIL" >&6; } 7979else 7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7981$as_echo "no" >&6; } 7982fi 7983 7984 7985fi 7986if test -z "$ac_cv_prog_DSYMUTIL"; then 7987 ac_ct_DSYMUTIL=$DSYMUTIL 7988 # Extract the first word of "dsymutil", so it can be a program name with args. 7989set dummy dsymutil; ac_word=$2 7990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7991$as_echo_n "checking for $ac_word... " >&6; } 7992if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7993 $as_echo_n "(cached) " >&6 7994else 7995 if test -n "$ac_ct_DSYMUTIL"; then 7996 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7997else 7998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7999for as_dir in $PATH 8000do 8001 IFS=$as_save_IFS 8002 test -z "$as_dir" && as_dir=. 8003 for ac_exec_ext in '' $ac_executable_extensions; do 8004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8005 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8007 break 2 8008 fi 8009done 8010 done 8011IFS=$as_save_IFS 8012 8013fi 8014fi 8015ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8016if test -n "$ac_ct_DSYMUTIL"; then 8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8018$as_echo "$ac_ct_DSYMUTIL" >&6; } 8019else 8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8021$as_echo "no" >&6; } 8022fi 8023 8024 if test "x$ac_ct_DSYMUTIL" = x; then 8025 DSYMUTIL=":" 8026 else 8027 case $cross_compiling:$ac_tool_warned in 8028yes:) 8029{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8030$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8031ac_tool_warned=yes ;; 8032esac 8033 DSYMUTIL=$ac_ct_DSYMUTIL 8034 fi 8035else 8036 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8037fi 8038 8039 if test -n "$ac_tool_prefix"; then 8040 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8041set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8043$as_echo_n "checking for $ac_word... " >&6; } 8044if ${ac_cv_prog_NMEDIT+:} false; then : 8045 $as_echo_n "(cached) " >&6 8046else 8047 if test -n "$NMEDIT"; then 8048 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8049else 8050as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8051for as_dir in $PATH 8052do 8053 IFS=$as_save_IFS 8054 test -z "$as_dir" && as_dir=. 8055 for ac_exec_ext in '' $ac_executable_extensions; do 8056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8057 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8059 break 2 8060 fi 8061done 8062 done 8063IFS=$as_save_IFS 8064 8065fi 8066fi 8067NMEDIT=$ac_cv_prog_NMEDIT 8068if test -n "$NMEDIT"; then 8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8070$as_echo "$NMEDIT" >&6; } 8071else 8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8073$as_echo "no" >&6; } 8074fi 8075 8076 8077fi 8078if test -z "$ac_cv_prog_NMEDIT"; then 8079 ac_ct_NMEDIT=$NMEDIT 8080 # Extract the first word of "nmedit", so it can be a program name with args. 8081set dummy nmedit; ac_word=$2 8082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8083$as_echo_n "checking for $ac_word... " >&6; } 8084if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8085 $as_echo_n "(cached) " >&6 8086else 8087 if test -n "$ac_ct_NMEDIT"; then 8088 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8089else 8090as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8091for as_dir in $PATH 8092do 8093 IFS=$as_save_IFS 8094 test -z "$as_dir" && as_dir=. 8095 for ac_exec_ext in '' $ac_executable_extensions; do 8096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8097 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8099 break 2 8100 fi 8101done 8102 done 8103IFS=$as_save_IFS 8104 8105fi 8106fi 8107ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8108if test -n "$ac_ct_NMEDIT"; then 8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8110$as_echo "$ac_ct_NMEDIT" >&6; } 8111else 8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8113$as_echo "no" >&6; } 8114fi 8115 8116 if test "x$ac_ct_NMEDIT" = x; then 8117 NMEDIT=":" 8118 else 8119 case $cross_compiling:$ac_tool_warned in 8120yes:) 8121{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8122$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8123ac_tool_warned=yes ;; 8124esac 8125 NMEDIT=$ac_ct_NMEDIT 8126 fi 8127else 8128 NMEDIT="$ac_cv_prog_NMEDIT" 8129fi 8130 8131 if test -n "$ac_tool_prefix"; then 8132 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8133set dummy ${ac_tool_prefix}lipo; ac_word=$2 8134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8135$as_echo_n "checking for $ac_word... " >&6; } 8136if ${ac_cv_prog_LIPO+:} false; then : 8137 $as_echo_n "(cached) " >&6 8138else 8139 if test -n "$LIPO"; then 8140 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8141else 8142as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8143for as_dir in $PATH 8144do 8145 IFS=$as_save_IFS 8146 test -z "$as_dir" && as_dir=. 8147 for ac_exec_ext in '' $ac_executable_extensions; do 8148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8149 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8151 break 2 8152 fi 8153done 8154 done 8155IFS=$as_save_IFS 8156 8157fi 8158fi 8159LIPO=$ac_cv_prog_LIPO 8160if test -n "$LIPO"; then 8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8162$as_echo "$LIPO" >&6; } 8163else 8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8165$as_echo "no" >&6; } 8166fi 8167 8168 8169fi 8170if test -z "$ac_cv_prog_LIPO"; then 8171 ac_ct_LIPO=$LIPO 8172 # Extract the first word of "lipo", so it can be a program name with args. 8173set dummy lipo; ac_word=$2 8174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8175$as_echo_n "checking for $ac_word... " >&6; } 8176if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8177 $as_echo_n "(cached) " >&6 8178else 8179 if test -n "$ac_ct_LIPO"; then 8180 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8181else 8182as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8183for as_dir in $PATH 8184do 8185 IFS=$as_save_IFS 8186 test -z "$as_dir" && as_dir=. 8187 for ac_exec_ext in '' $ac_executable_extensions; do 8188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8189 ac_cv_prog_ac_ct_LIPO="lipo" 8190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8191 break 2 8192 fi 8193done 8194 done 8195IFS=$as_save_IFS 8196 8197fi 8198fi 8199ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8200if test -n "$ac_ct_LIPO"; then 8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8202$as_echo "$ac_ct_LIPO" >&6; } 8203else 8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8205$as_echo "no" >&6; } 8206fi 8207 8208 if test "x$ac_ct_LIPO" = x; then 8209 LIPO=":" 8210 else 8211 case $cross_compiling:$ac_tool_warned in 8212yes:) 8213{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8214$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8215ac_tool_warned=yes ;; 8216esac 8217 LIPO=$ac_ct_LIPO 8218 fi 8219else 8220 LIPO="$ac_cv_prog_LIPO" 8221fi 8222 8223 if test -n "$ac_tool_prefix"; then 8224 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8225set dummy ${ac_tool_prefix}otool; ac_word=$2 8226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8227$as_echo_n "checking for $ac_word... " >&6; } 8228if ${ac_cv_prog_OTOOL+:} false; then : 8229 $as_echo_n "(cached) " >&6 8230else 8231 if test -n "$OTOOL"; then 8232 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8233else 8234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8235for as_dir in $PATH 8236do 8237 IFS=$as_save_IFS 8238 test -z "$as_dir" && as_dir=. 8239 for ac_exec_ext in '' $ac_executable_extensions; do 8240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8241 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8243 break 2 8244 fi 8245done 8246 done 8247IFS=$as_save_IFS 8248 8249fi 8250fi 8251OTOOL=$ac_cv_prog_OTOOL 8252if test -n "$OTOOL"; then 8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8254$as_echo "$OTOOL" >&6; } 8255else 8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8257$as_echo "no" >&6; } 8258fi 8259 8260 8261fi 8262if test -z "$ac_cv_prog_OTOOL"; then 8263 ac_ct_OTOOL=$OTOOL 8264 # Extract the first word of "otool", so it can be a program name with args. 8265set dummy otool; ac_word=$2 8266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8267$as_echo_n "checking for $ac_word... " >&6; } 8268if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8269 $as_echo_n "(cached) " >&6 8270else 8271 if test -n "$ac_ct_OTOOL"; then 8272 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8273else 8274as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8275for as_dir in $PATH 8276do 8277 IFS=$as_save_IFS 8278 test -z "$as_dir" && as_dir=. 8279 for ac_exec_ext in '' $ac_executable_extensions; do 8280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8281 ac_cv_prog_ac_ct_OTOOL="otool" 8282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8283 break 2 8284 fi 8285done 8286 done 8287IFS=$as_save_IFS 8288 8289fi 8290fi 8291ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8292if test -n "$ac_ct_OTOOL"; then 8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8294$as_echo "$ac_ct_OTOOL" >&6; } 8295else 8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8297$as_echo "no" >&6; } 8298fi 8299 8300 if test "x$ac_ct_OTOOL" = x; then 8301 OTOOL=":" 8302 else 8303 case $cross_compiling:$ac_tool_warned in 8304yes:) 8305{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8306$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8307ac_tool_warned=yes ;; 8308esac 8309 OTOOL=$ac_ct_OTOOL 8310 fi 8311else 8312 OTOOL="$ac_cv_prog_OTOOL" 8313fi 8314 8315 if test -n "$ac_tool_prefix"; then 8316 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8317set dummy ${ac_tool_prefix}otool64; ac_word=$2 8318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8319$as_echo_n "checking for $ac_word... " >&6; } 8320if ${ac_cv_prog_OTOOL64+:} false; then : 8321 $as_echo_n "(cached) " >&6 8322else 8323 if test -n "$OTOOL64"; then 8324 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8325else 8326as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8327for as_dir in $PATH 8328do 8329 IFS=$as_save_IFS 8330 test -z "$as_dir" && as_dir=. 8331 for ac_exec_ext in '' $ac_executable_extensions; do 8332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8333 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8335 break 2 8336 fi 8337done 8338 done 8339IFS=$as_save_IFS 8340 8341fi 8342fi 8343OTOOL64=$ac_cv_prog_OTOOL64 8344if test -n "$OTOOL64"; then 8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8346$as_echo "$OTOOL64" >&6; } 8347else 8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8349$as_echo "no" >&6; } 8350fi 8351 8352 8353fi 8354if test -z "$ac_cv_prog_OTOOL64"; then 8355 ac_ct_OTOOL64=$OTOOL64 8356 # Extract the first word of "otool64", so it can be a program name with args. 8357set dummy otool64; ac_word=$2 8358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8359$as_echo_n "checking for $ac_word... " >&6; } 8360if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8361 $as_echo_n "(cached) " >&6 8362else 8363 if test -n "$ac_ct_OTOOL64"; then 8364 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8365else 8366as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8367for as_dir in $PATH 8368do 8369 IFS=$as_save_IFS 8370 test -z "$as_dir" && as_dir=. 8371 for ac_exec_ext in '' $ac_executable_extensions; do 8372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8373 ac_cv_prog_ac_ct_OTOOL64="otool64" 8374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8375 break 2 8376 fi 8377done 8378 done 8379IFS=$as_save_IFS 8380 8381fi 8382fi 8383ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8384if test -n "$ac_ct_OTOOL64"; then 8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8386$as_echo "$ac_ct_OTOOL64" >&6; } 8387else 8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8389$as_echo "no" >&6; } 8390fi 8391 8392 if test "x$ac_ct_OTOOL64" = x; then 8393 OTOOL64=":" 8394 else 8395 case $cross_compiling:$ac_tool_warned in 8396yes:) 8397{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8398$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8399ac_tool_warned=yes ;; 8400esac 8401 OTOOL64=$ac_ct_OTOOL64 8402 fi 8403else 8404 OTOOL64="$ac_cv_prog_OTOOL64" 8405fi 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8434$as_echo_n "checking for -single_module linker flag... " >&6; } 8435if ${lt_cv_apple_cc_single_mod+:} false; then : 8436 $as_echo_n "(cached) " >&6 8437else 8438 lt_cv_apple_cc_single_mod=no 8439 if test -z "$LT_MULTI_MODULE"; then 8440 # By default we will add the -single_module flag. You can override 8441 # by either setting the environment variable LT_MULTI_MODULE 8442 # non-empty at configure time, or by adding -multi_module to the 8443 # link flags. 8444 rm -rf libconftest.dylib* 8445 echo "int foo(void){return 1;}" > conftest.c 8446 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8447-dynamiclib -Wl,-single_module conftest.c" >&5 8448 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8449 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8450 _lt_result=$? 8451 # If there is a non-empty error log, and "single_module" 8452 # appears in it, assume the flag caused a linker warning 8453 if test -s conftest.err && $GREP single_module conftest.err; then 8454 cat conftest.err >&5 8455 # Otherwise, if the output was created with a 0 exit code from 8456 # the compiler, it worked. 8457 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 8458 lt_cv_apple_cc_single_mod=yes 8459 else 8460 cat conftest.err >&5 8461 fi 8462 rm -rf libconftest.dylib* 8463 rm -f conftest.* 8464 fi 8465fi 8466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8467$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8468 8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8470$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8471if ${lt_cv_ld_exported_symbols_list+:} false; then : 8472 $as_echo_n "(cached) " >&6 8473else 8474 lt_cv_ld_exported_symbols_list=no 8475 save_LDFLAGS=$LDFLAGS 8476 echo "_main" > conftest.sym 8477 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8479/* end confdefs.h. */ 8480 8481int 8482main () 8483{ 8484 8485 ; 8486 return 0; 8487} 8488_ACEOF 8489if ac_fn_c_try_link "$LINENO"; then : 8490 lt_cv_ld_exported_symbols_list=yes 8491else 8492 lt_cv_ld_exported_symbols_list=no 8493fi 8494rm -f core conftest.err conftest.$ac_objext \ 8495 conftest$ac_exeext conftest.$ac_ext 8496 LDFLAGS=$save_LDFLAGS 8497 8498fi 8499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8500$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8501 8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8503$as_echo_n "checking for -force_load linker flag... " >&6; } 8504if ${lt_cv_ld_force_load+:} false; then : 8505 $as_echo_n "(cached) " >&6 8506else 8507 lt_cv_ld_force_load=no 8508 cat > conftest.c << _LT_EOF 8509int forced_loaded() { return 2;} 8510_LT_EOF 8511 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8512 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8513 echo "$AR cru libconftest.a conftest.o" >&5 8514 $AR cru libconftest.a conftest.o 2>&5 8515 echo "$RANLIB libconftest.a" >&5 8516 $RANLIB libconftest.a 2>&5 8517 cat > conftest.c << _LT_EOF 8518int main() { return 0;} 8519_LT_EOF 8520 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8521 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8522 _lt_result=$? 8523 if test -s conftest.err && $GREP force_load conftest.err; then 8524 cat conftest.err >&5 8525 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8526 lt_cv_ld_force_load=yes 8527 else 8528 cat conftest.err >&5 8529 fi 8530 rm -f conftest.err libconftest.a conftest conftest.c 8531 rm -rf conftest.dSYM 8532 8533fi 8534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8535$as_echo "$lt_cv_ld_force_load" >&6; } 8536 case $host_os in 8537 rhapsody* | darwin1.[012]) 8538 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8539 darwin1.*) 8540 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8541 darwin*) # darwin 5.x on 8542 # if running on 10.5 or later, the deployment target defaults 8543 # to the OS version, if on x86, and 10.4, the deployment 8544 # target defaults to 10.4. Don't you love it? 8545 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8546 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8547 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8548 10.[012][,.]*) 8549 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8550 10.*) 8551 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8552 esac 8553 ;; 8554 esac 8555 if test yes = "$lt_cv_apple_cc_single_mod"; then 8556 _lt_dar_single_mod='$single_module' 8557 fi 8558 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8559 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8560 else 8561 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8562 fi 8563 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8564 _lt_dsymutil='~$DSYMUTIL $lib || :' 8565 else 8566 _lt_dsymutil= 8567 fi 8568 ;; 8569 esac 8570 8571# func_munge_path_list VARIABLE PATH 8572# ----------------------------------- 8573# VARIABLE is name of variable containing _space_ separated list of 8574# directories to be munged by the contents of PATH, which is string 8575# having a format: 8576# "DIR[:DIR]:" 8577# string "DIR[ DIR]" will be prepended to VARIABLE 8578# ":DIR[:DIR]" 8579# string "DIR[ DIR]" will be appended to VARIABLE 8580# "DIRP[:DIRP]::[DIRA:]DIRA" 8581# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8582# "DIRA[ DIRA]" will be appended to VARIABLE 8583# "DIR[:DIR]" 8584# VARIABLE will be replaced by "DIR[ DIR]" 8585func_munge_path_list () 8586{ 8587 case x$2 in 8588 x) 8589 ;; 8590 *:) 8591 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8592 ;; 8593 x:*) 8594 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8595 ;; 8596 *::*) 8597 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8598 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8599 ;; 8600 *) 8601 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8602 ;; 8603 esac 8604} 8605 8606ac_ext=c 8607ac_cpp='$CPP $CPPFLAGS' 8608ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8609ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8610ac_compiler_gnu=$ac_cv_c_compiler_gnu 8611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 8612$as_echo_n "checking how to run the C preprocessor... " >&6; } 8613# On Suns, sometimes $CPP names a directory. 8614if test -n "$CPP" && test -d "$CPP"; then 8615 CPP= 8616fi 8617if test -z "$CPP"; then 8618 if ${ac_cv_prog_CPP+:} false; then : 8619 $as_echo_n "(cached) " >&6 8620else 8621 # Double quotes because CPP needs to be expanded 8622 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 8623 do 8624 ac_preproc_ok=false 8625for ac_c_preproc_warn_flag in '' yes 8626do 8627 # Use a header file that comes with gcc, so configuring glibc 8628 # with a fresh cross-compiler works. 8629 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8630 # <limits.h> exists even on freestanding compilers. 8631 # On the NeXT, cc -E runs the code through the compiler's parser, 8632 # not just through cpp. "Syntax error" is here to catch this case. 8633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8634/* end confdefs.h. */ 8635#ifdef __STDC__ 8636# include <limits.h> 8637#else 8638# include <assert.h> 8639#endif 8640 Syntax error 8641_ACEOF 8642if ac_fn_c_try_cpp "$LINENO"; then : 8643 8644else 8645 # Broken: fails on valid input. 8646continue 8647fi 8648rm -f conftest.err conftest.i conftest.$ac_ext 8649 8650 # OK, works on sane cases. Now check whether nonexistent headers 8651 # can be detected and how. 8652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8653/* end confdefs.h. */ 8654#include <ac_nonexistent.h> 8655_ACEOF 8656if ac_fn_c_try_cpp "$LINENO"; then : 8657 # Broken: success on invalid input. 8658continue 8659else 8660 # Passes both tests. 8661ac_preproc_ok=: 8662break 8663fi 8664rm -f conftest.err conftest.i conftest.$ac_ext 8665 8666done 8667# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8668rm -f conftest.i conftest.err conftest.$ac_ext 8669if $ac_preproc_ok; then : 8670 break 8671fi 8672 8673 done 8674 ac_cv_prog_CPP=$CPP 8675 8676fi 8677 CPP=$ac_cv_prog_CPP 8678else 8679 ac_cv_prog_CPP=$CPP 8680fi 8681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 8682$as_echo "$CPP" >&6; } 8683ac_preproc_ok=false 8684for ac_c_preproc_warn_flag in '' yes 8685do 8686 # Use a header file that comes with gcc, so configuring glibc 8687 # with a fresh cross-compiler works. 8688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8689 # <limits.h> exists even on freestanding compilers. 8690 # On the NeXT, cc -E runs the code through the compiler's parser, 8691 # not just through cpp. "Syntax error" is here to catch this case. 8692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8693/* end confdefs.h. */ 8694#ifdef __STDC__ 8695# include <limits.h> 8696#else 8697# include <assert.h> 8698#endif 8699 Syntax error 8700_ACEOF 8701if ac_fn_c_try_cpp "$LINENO"; then : 8702 8703else 8704 # Broken: fails on valid input. 8705continue 8706fi 8707rm -f conftest.err conftest.i conftest.$ac_ext 8708 8709 # OK, works on sane cases. Now check whether nonexistent headers 8710 # can be detected and how. 8711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8712/* end confdefs.h. */ 8713#include <ac_nonexistent.h> 8714_ACEOF 8715if ac_fn_c_try_cpp "$LINENO"; then : 8716 # Broken: success on invalid input. 8717continue 8718else 8719 # Passes both tests. 8720ac_preproc_ok=: 8721break 8722fi 8723rm -f conftest.err conftest.i conftest.$ac_ext 8724 8725done 8726# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8727rm -f conftest.i conftest.err conftest.$ac_ext 8728if $ac_preproc_ok; then : 8729 8730else 8731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8732$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8733as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 8734See \`config.log' for more details" "$LINENO" 5; } 8735fi 8736 8737ac_ext=c 8738ac_cpp='$CPP $CPPFLAGS' 8739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8741ac_compiler_gnu=$ac_cv_c_compiler_gnu 8742 8743 8744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8745$as_echo_n "checking for ANSI C header files... " >&6; } 8746if ${ac_cv_header_stdc+:} false; then : 8747 $as_echo_n "(cached) " >&6 8748else 8749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8750/* end confdefs.h. */ 8751#include <stdlib.h> 8752#include <stdarg.h> 8753#include <string.h> 8754#include <float.h> 8755 8756int 8757main () 8758{ 8759 8760 ; 8761 return 0; 8762} 8763_ACEOF 8764if ac_fn_c_try_compile "$LINENO"; then : 8765 ac_cv_header_stdc=yes 8766else 8767 ac_cv_header_stdc=no 8768fi 8769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8770 8771if test $ac_cv_header_stdc = yes; then 8772 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8774/* end confdefs.h. */ 8775#include <string.h> 8776 8777_ACEOF 8778if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8779 $EGREP "memchr" >/dev/null 2>&1; then : 8780 8781else 8782 ac_cv_header_stdc=no 8783fi 8784rm -f conftest* 8785 8786fi 8787 8788if test $ac_cv_header_stdc = yes; then 8789 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8791/* end confdefs.h. */ 8792#include <stdlib.h> 8793 8794_ACEOF 8795if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8796 $EGREP "free" >/dev/null 2>&1; then : 8797 8798else 8799 ac_cv_header_stdc=no 8800fi 8801rm -f conftest* 8802 8803fi 8804 8805if test $ac_cv_header_stdc = yes; then 8806 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8807 if test "$cross_compiling" = yes; then : 8808 : 8809else 8810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8811/* end confdefs.h. */ 8812#include <ctype.h> 8813#include <stdlib.h> 8814#if ((' ' & 0x0FF) == 0x020) 8815# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8816# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8817#else 8818# define ISLOWER(c) \ 8819 (('a' <= (c) && (c) <= 'i') \ 8820 || ('j' <= (c) && (c) <= 'r') \ 8821 || ('s' <= (c) && (c) <= 'z')) 8822# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8823#endif 8824 8825#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8826int 8827main () 8828{ 8829 int i; 8830 for (i = 0; i < 256; i++) 8831 if (XOR (islower (i), ISLOWER (i)) 8832 || toupper (i) != TOUPPER (i)) 8833 return 2; 8834 return 0; 8835} 8836_ACEOF 8837if ac_fn_c_try_run "$LINENO"; then : 8838 8839else 8840 ac_cv_header_stdc=no 8841fi 8842rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8843 conftest.$ac_objext conftest.beam conftest.$ac_ext 8844fi 8845 8846fi 8847fi 8848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8849$as_echo "$ac_cv_header_stdc" >&6; } 8850if test $ac_cv_header_stdc = yes; then 8851 8852$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8853 8854fi 8855 8856# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8857for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8858 inttypes.h stdint.h unistd.h 8859do : 8860 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8861ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8862" 8863if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8864 cat >>confdefs.h <<_ACEOF 8865#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8866_ACEOF 8867 8868fi 8869 8870done 8871 8872 8873for ac_header in dlfcn.h 8874do : 8875 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8876" 8877if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8878 cat >>confdefs.h <<_ACEOF 8879#define HAVE_DLFCN_H 1 8880_ACEOF 8881 8882fi 8883 8884done 8885 8886 8887 8888func_stripname_cnf () 8889{ 8890 case $2 in 8891 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 8892 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 8893 esac 8894} # func_stripname_cnf 8895 8896 8897 8898 8899 8900# Set options 8901 8902 8903 8904 enable_dlopen=no 8905 8906 8907 8908 # Check whether --enable-shared was given. 8909if test "${enable_shared+set}" = set; then : 8910 enableval=$enable_shared; p=${PACKAGE-default} 8911 case $enableval in 8912 yes) enable_shared=yes ;; 8913 no) enable_shared=no ;; 8914 *) 8915 enable_shared=no 8916 # Look at the argument we got. We use all the common list separators. 8917 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8918 for pkg in $enableval; do 8919 IFS=$lt_save_ifs 8920 if test "X$pkg" = "X$p"; then 8921 enable_shared=yes 8922 fi 8923 done 8924 IFS=$lt_save_ifs 8925 ;; 8926 esac 8927else 8928 enable_shared=yes 8929fi 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941# Check whether --with-pic was given. 8942if test "${with_pic+set}" = set; then : 8943 withval=$with_pic; lt_p=${PACKAGE-default} 8944 case $withval in 8945 yes|no) pic_mode=$withval ;; 8946 *) 8947 pic_mode=default 8948 # Look at the argument we got. We use all the common list separators. 8949 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8950 for lt_pkg in $withval; do 8951 IFS=$lt_save_ifs 8952 if test "X$lt_pkg" = "X$lt_p"; then 8953 pic_mode=yes 8954 fi 8955 done 8956 IFS=$lt_save_ifs 8957 ;; 8958 esac 8959else 8960 pic_mode=default 8961fi 8962 8963 8964 8965 8966 8967 8968 8969 8970 # Check whether --enable-fast-install was given. 8971if test "${enable_fast_install+set}" = set; then : 8972 enableval=$enable_fast_install; p=${PACKAGE-default} 8973 case $enableval in 8974 yes) enable_fast_install=yes ;; 8975 no) enable_fast_install=no ;; 8976 *) 8977 enable_fast_install=no 8978 # Look at the argument we got. We use all the common list separators. 8979 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8980 for pkg in $enableval; do 8981 IFS=$lt_save_ifs 8982 if test "X$pkg" = "X$p"; then 8983 enable_fast_install=yes 8984 fi 8985 done 8986 IFS=$lt_save_ifs 8987 ;; 8988 esac 8989else 8990 enable_fast_install=yes 8991fi 8992 8993 8994 8995 8996 8997 8998 8999 9000 shared_archive_member_spec= 9001case $host,$enable_shared in 9002power*-*-aix[5-9]*,yes) 9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9004$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9005 9006# Check whether --with-aix-soname was given. 9007if test "${with_aix_soname+set}" = set; then : 9008 withval=$with_aix_soname; case $withval in 9009 aix|svr4|both) 9010 ;; 9011 *) 9012 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9013 ;; 9014 esac 9015 lt_cv_with_aix_soname=$with_aix_soname 9016else 9017 if ${lt_cv_with_aix_soname+:} false; then : 9018 $as_echo_n "(cached) " >&6 9019else 9020 lt_cv_with_aix_soname=aix 9021fi 9022 9023 with_aix_soname=$lt_cv_with_aix_soname 9024fi 9025 9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9027$as_echo "$with_aix_soname" >&6; } 9028 if test aix != "$with_aix_soname"; then 9029 # For the AIX way of multilib, we name the shared archive member 9030 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9031 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9032 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9033 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9034 if test 64 = "${OBJECT_MODE-32}"; then 9035 shared_archive_member_spec=shr_64 9036 else 9037 shared_archive_member_spec=shr 9038 fi 9039 fi 9040 ;; 9041*) 9042 with_aix_soname=aix 9043 ;; 9044esac 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055# This can be used to rebuild libtool when needed 9056LIBTOOL_DEPS=$ltmain 9057 9058# Always use our own libtool. 9059LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090test -z "$LN_S" && LN_S="ln -s" 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105if test -n "${ZSH_VERSION+set}"; then 9106 setopt NO_GLOB_SUBST 9107fi 9108 9109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9110$as_echo_n "checking for objdir... " >&6; } 9111if ${lt_cv_objdir+:} false; then : 9112 $as_echo_n "(cached) " >&6 9113else 9114 rm -f .libs 2>/dev/null 9115mkdir .libs 2>/dev/null 9116if test -d .libs; then 9117 lt_cv_objdir=.libs 9118else 9119 # MS-DOS does not allow filenames that begin with a dot. 9120 lt_cv_objdir=_libs 9121fi 9122rmdir .libs 2>/dev/null 9123fi 9124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9125$as_echo "$lt_cv_objdir" >&6; } 9126objdir=$lt_cv_objdir 9127 9128 9129 9130 9131 9132cat >>confdefs.h <<_ACEOF 9133#define LT_OBJDIR "$lt_cv_objdir/" 9134_ACEOF 9135 9136 9137 9138 9139case $host_os in 9140aix3*) 9141 # AIX sometimes has problems with the GCC collect2 program. For some 9142 # reason, if we set the COLLECT_NAMES environment variable, the problems 9143 # vanish in a puff of smoke. 9144 if test set != "${COLLECT_NAMES+set}"; then 9145 COLLECT_NAMES= 9146 export COLLECT_NAMES 9147 fi 9148 ;; 9149esac 9150 9151# Global variables: 9152ofile=libtool 9153can_build_shared=yes 9154 9155# All known linkers require a '.a' archive for static linking (except MSVC, 9156# which needs '.lib'). 9157libext=a 9158 9159with_gnu_ld=$lt_cv_prog_gnu_ld 9160 9161old_CC=$CC 9162old_CFLAGS=$CFLAGS 9163 9164# Set sane defaults for various variables 9165test -z "$CC" && CC=cc 9166test -z "$LTCC" && LTCC=$CC 9167test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9168test -z "$LD" && LD=ld 9169test -z "$ac_objext" && ac_objext=o 9170 9171func_cc_basename $compiler 9172cc_basename=$func_cc_basename_result 9173 9174 9175# Only perform the check for file, if the check method requires it 9176test -z "$MAGIC_CMD" && MAGIC_CMD=file 9177case $deplibs_check_method in 9178file_magic*) 9179 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9181$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9182if ${lt_cv_path_MAGIC_CMD+:} false; then : 9183 $as_echo_n "(cached) " >&6 9184else 9185 case $MAGIC_CMD in 9186[\\/*] | ?:[\\/]*) 9187 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9188 ;; 9189*) 9190 lt_save_MAGIC_CMD=$MAGIC_CMD 9191 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9192 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9193 for ac_dir in $ac_dummy; do 9194 IFS=$lt_save_ifs 9195 test -z "$ac_dir" && ac_dir=. 9196 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9197 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9198 if test -n "$file_magic_test_file"; then 9199 case $deplibs_check_method in 9200 "file_magic "*) 9201 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9202 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9203 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9204 $EGREP "$file_magic_regex" > /dev/null; then 9205 : 9206 else 9207 cat <<_LT_EOF 1>&2 9208 9209*** Warning: the command libtool uses to detect shared libraries, 9210*** $file_magic_cmd, produces output that libtool cannot recognize. 9211*** The result is that libtool may fail to recognize shared libraries 9212*** as such. This will affect the creation of libtool libraries that 9213*** depend on shared libraries, but programs linked with such libtool 9214*** libraries will work regardless of this problem. Nevertheless, you 9215*** may want to report the problem to your system manager and/or to 9216*** bug-libtool@gnu.org 9217 9218_LT_EOF 9219 fi ;; 9220 esac 9221 fi 9222 break 9223 fi 9224 done 9225 IFS=$lt_save_ifs 9226 MAGIC_CMD=$lt_save_MAGIC_CMD 9227 ;; 9228esac 9229fi 9230 9231MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9232if test -n "$MAGIC_CMD"; then 9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9234$as_echo "$MAGIC_CMD" >&6; } 9235else 9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9237$as_echo "no" >&6; } 9238fi 9239 9240 9241 9242 9243 9244if test -z "$lt_cv_path_MAGIC_CMD"; then 9245 if test -n "$ac_tool_prefix"; then 9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9247$as_echo_n "checking for file... " >&6; } 9248if ${lt_cv_path_MAGIC_CMD+:} false; then : 9249 $as_echo_n "(cached) " >&6 9250else 9251 case $MAGIC_CMD in 9252[\\/*] | ?:[\\/]*) 9253 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9254 ;; 9255*) 9256 lt_save_MAGIC_CMD=$MAGIC_CMD 9257 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9258 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9259 for ac_dir in $ac_dummy; do 9260 IFS=$lt_save_ifs 9261 test -z "$ac_dir" && ac_dir=. 9262 if test -f "$ac_dir/file"; then 9263 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9264 if test -n "$file_magic_test_file"; then 9265 case $deplibs_check_method in 9266 "file_magic "*) 9267 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9268 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9269 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9270 $EGREP "$file_magic_regex" > /dev/null; then 9271 : 9272 else 9273 cat <<_LT_EOF 1>&2 9274 9275*** Warning: the command libtool uses to detect shared libraries, 9276*** $file_magic_cmd, produces output that libtool cannot recognize. 9277*** The result is that libtool may fail to recognize shared libraries 9278*** as such. This will affect the creation of libtool libraries that 9279*** depend on shared libraries, but programs linked with such libtool 9280*** libraries will work regardless of this problem. Nevertheless, you 9281*** may want to report the problem to your system manager and/or to 9282*** bug-libtool@gnu.org 9283 9284_LT_EOF 9285 fi ;; 9286 esac 9287 fi 9288 break 9289 fi 9290 done 9291 IFS=$lt_save_ifs 9292 MAGIC_CMD=$lt_save_MAGIC_CMD 9293 ;; 9294esac 9295fi 9296 9297MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9298if test -n "$MAGIC_CMD"; then 9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9300$as_echo "$MAGIC_CMD" >&6; } 9301else 9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9303$as_echo "no" >&6; } 9304fi 9305 9306 9307 else 9308 MAGIC_CMD=: 9309 fi 9310fi 9311 9312 fi 9313 ;; 9314esac 9315 9316# Use C for the default configuration in the libtool script 9317 9318lt_save_CC=$CC 9319ac_ext=c 9320ac_cpp='$CPP $CPPFLAGS' 9321ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9322ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9323ac_compiler_gnu=$ac_cv_c_compiler_gnu 9324 9325 9326# Source file extension for C test sources. 9327ac_ext=c 9328 9329# Object file extension for compiled C test sources. 9330objext=o 9331objext=$objext 9332 9333# Code to be used in simple compile tests 9334lt_simple_compile_test_code="int some_variable = 0;" 9335 9336# Code to be used in simple link tests 9337lt_simple_link_test_code='int main(){return(0);}' 9338 9339 9340 9341 9342 9343 9344 9345# If no C compiler was specified, use CC. 9346LTCC=${LTCC-"$CC"} 9347 9348# If no C compiler flags were specified, use CFLAGS. 9349LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9350 9351# Allow CC to be a program name with arguments. 9352compiler=$CC 9353 9354# Save the default compiler, since it gets overwritten when the other 9355# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9356compiler_DEFAULT=$CC 9357 9358# save warnings/boilerplate of simple test code 9359ac_outfile=conftest.$ac_objext 9360echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9361eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9362_lt_compiler_boilerplate=`cat conftest.err` 9363$RM conftest* 9364 9365ac_outfile=conftest.$ac_objext 9366echo "$lt_simple_link_test_code" >conftest.$ac_ext 9367eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9368_lt_linker_boilerplate=`cat conftest.err` 9369$RM -r conftest* 9370 9371 9372## CAVEAT EMPTOR: 9373## There is no encapsulation within the following macros, do not change 9374## the running order or otherwise move them around unless you know exactly 9375## what you are doing... 9376if test -n "$compiler"; then 9377 9378lt_prog_compiler_no_builtin_flag= 9379 9380if test yes = "$GCC"; then 9381 case $cc_basename in 9382 nvcc*) 9383 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9384 *) 9385 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9386 esac 9387 9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9389$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9390if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9391 $as_echo_n "(cached) " >&6 9392else 9393 lt_cv_prog_compiler_rtti_exceptions=no 9394 ac_outfile=conftest.$ac_objext 9395 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9396 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9397 # Insert the option either (1) after the last *FLAGS variable, or 9398 # (2) before a word containing "conftest.", or (3) at the end. 9399 # Note that $ac_compile itself does not contain backslashes and begins 9400 # with a dollar sign (not a hyphen), so the echo should work correctly. 9401 # The option is referenced via a variable to avoid confusing sed. 9402 lt_compile=`echo "$ac_compile" | $SED \ 9403 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9404 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9405 -e 's:$: $lt_compiler_flag:'` 9406 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9407 (eval "$lt_compile" 2>conftest.err) 9408 ac_status=$? 9409 cat conftest.err >&5 9410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9411 if (exit $ac_status) && test -s "$ac_outfile"; then 9412 # The compiler can only warn and ignore the option if not recognized 9413 # So say no if there are warnings other than the usual output. 9414 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9415 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9416 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9417 lt_cv_prog_compiler_rtti_exceptions=yes 9418 fi 9419 fi 9420 $RM conftest* 9421 9422fi 9423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9424$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9425 9426if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9427 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9428else 9429 : 9430fi 9431 9432fi 9433 9434 9435 9436 9437 9438 9439 lt_prog_compiler_wl= 9440lt_prog_compiler_pic= 9441lt_prog_compiler_static= 9442 9443 9444 if test yes = "$GCC"; then 9445 lt_prog_compiler_wl='-Wl,' 9446 lt_prog_compiler_static='-static' 9447 9448 case $host_os in 9449 aix*) 9450 # All AIX code is PIC. 9451 if test ia64 = "$host_cpu"; then 9452 # AIX 5 now supports IA64 processor 9453 lt_prog_compiler_static='-Bstatic' 9454 fi 9455 lt_prog_compiler_pic='-fPIC' 9456 ;; 9457 9458 amigaos*) 9459 case $host_cpu in 9460 powerpc) 9461 # see comment about AmigaOS4 .so support 9462 lt_prog_compiler_pic='-fPIC' 9463 ;; 9464 m68k) 9465 # FIXME: we need at least 68020 code to build shared libraries, but 9466 # adding the '-m68020' flag to GCC prevents building anything better, 9467 # like '-m68040'. 9468 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9469 ;; 9470 esac 9471 ;; 9472 9473 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9474 # PIC is the default for these OSes. 9475 ;; 9476 9477 mingw* | cygwin* | pw32* | os2* | cegcc*) 9478 # This hack is so that the source file can tell whether it is being 9479 # built for inclusion in a dll (and should export symbols for example). 9480 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9481 # (--disable-auto-import) libraries 9482 lt_prog_compiler_pic='-DDLL_EXPORT' 9483 case $host_os in 9484 os2*) 9485 lt_prog_compiler_static='$wl-static' 9486 ;; 9487 esac 9488 ;; 9489 9490 darwin* | rhapsody*) 9491 # PIC is the default on this platform 9492 # Common symbols not allowed in MH_DYLIB files 9493 lt_prog_compiler_pic='-fno-common' 9494 ;; 9495 9496 haiku*) 9497 # PIC is the default for Haiku. 9498 # The "-static" flag exists, but is broken. 9499 lt_prog_compiler_static= 9500 ;; 9501 9502 hpux*) 9503 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9504 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9505 # sets the default TLS model and affects inlining. 9506 case $host_cpu in 9507 hppa*64*) 9508 # +Z the default 9509 ;; 9510 *) 9511 lt_prog_compiler_pic='-fPIC' 9512 ;; 9513 esac 9514 ;; 9515 9516 interix[3-9]*) 9517 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9518 # Instead, we relocate shared libraries at runtime. 9519 ;; 9520 9521 msdosdjgpp*) 9522 # Just because we use GCC doesn't mean we suddenly get shared libraries 9523 # on systems that don't support them. 9524 lt_prog_compiler_can_build_shared=no 9525 enable_shared=no 9526 ;; 9527 9528 *nto* | *qnx*) 9529 # QNX uses GNU C++, but need to define -shared option too, otherwise 9530 # it will coredump. 9531 lt_prog_compiler_pic='-fPIC -shared' 9532 ;; 9533 9534 sysv4*MP*) 9535 if test -d /usr/nec; then 9536 lt_prog_compiler_pic=-Kconform_pic 9537 fi 9538 ;; 9539 9540 *) 9541 lt_prog_compiler_pic='-fPIC' 9542 ;; 9543 esac 9544 9545 case $cc_basename in 9546 nvcc*) # Cuda Compiler Driver 2.2 9547 lt_prog_compiler_wl='-Xlinker ' 9548 if test -n "$lt_prog_compiler_pic"; then 9549 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9550 fi 9551 ;; 9552 esac 9553 else 9554 # PORTME Check for flag to pass linker flags through the system compiler. 9555 case $host_os in 9556 aix*) 9557 lt_prog_compiler_wl='-Wl,' 9558 if test ia64 = "$host_cpu"; then 9559 # AIX 5 now supports IA64 processor 9560 lt_prog_compiler_static='-Bstatic' 9561 else 9562 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9563 fi 9564 ;; 9565 9566 darwin* | rhapsody*) 9567 # PIC is the default on this platform 9568 # Common symbols not allowed in MH_DYLIB files 9569 lt_prog_compiler_pic='-fno-common' 9570 case $cc_basename in 9571 nagfor*) 9572 # NAG Fortran compiler 9573 lt_prog_compiler_wl='-Wl,-Wl,,' 9574 lt_prog_compiler_pic='-PIC' 9575 lt_prog_compiler_static='-Bstatic' 9576 ;; 9577 esac 9578 ;; 9579 9580 mingw* | cygwin* | pw32* | os2* | cegcc*) 9581 # This hack is so that the source file can tell whether it is being 9582 # built for inclusion in a dll (and should export symbols for example). 9583 lt_prog_compiler_pic='-DDLL_EXPORT' 9584 case $host_os in 9585 os2*) 9586 lt_prog_compiler_static='$wl-static' 9587 ;; 9588 esac 9589 ;; 9590 9591 hpux9* | hpux10* | hpux11*) 9592 lt_prog_compiler_wl='-Wl,' 9593 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9594 # not for PA HP-UX. 9595 case $host_cpu in 9596 hppa*64*|ia64*) 9597 # +Z the default 9598 ;; 9599 *) 9600 lt_prog_compiler_pic='+Z' 9601 ;; 9602 esac 9603 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9604 lt_prog_compiler_static='$wl-a ${wl}archive' 9605 ;; 9606 9607 irix5* | irix6* | nonstopux*) 9608 lt_prog_compiler_wl='-Wl,' 9609 # PIC (with -KPIC) is the default. 9610 lt_prog_compiler_static='-non_shared' 9611 ;; 9612 9613 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9614 case $cc_basename in 9615 # old Intel for x86_64, which still supported -KPIC. 9616 ecc*) 9617 lt_prog_compiler_wl='-Wl,' 9618 lt_prog_compiler_pic='-KPIC' 9619 lt_prog_compiler_static='-static' 9620 ;; 9621 # icc used to be incompatible with GCC. 9622 # ICC 10 doesn't accept -KPIC any more. 9623 icc* | ifort*) 9624 lt_prog_compiler_wl='-Wl,' 9625 lt_prog_compiler_pic='-fPIC' 9626 lt_prog_compiler_static='-static' 9627 ;; 9628 # Lahey Fortran 8.1. 9629 lf95*) 9630 lt_prog_compiler_wl='-Wl,' 9631 lt_prog_compiler_pic='--shared' 9632 lt_prog_compiler_static='--static' 9633 ;; 9634 nagfor*) 9635 # NAG Fortran compiler 9636 lt_prog_compiler_wl='-Wl,-Wl,,' 9637 lt_prog_compiler_pic='-PIC' 9638 lt_prog_compiler_static='-Bstatic' 9639 ;; 9640 tcc*) 9641 # Fabrice Bellard et al's Tiny C Compiler 9642 lt_prog_compiler_wl='-Wl,' 9643 lt_prog_compiler_pic='-fPIC' 9644 lt_prog_compiler_static='-static' 9645 ;; 9646 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9647 # Portland Group compilers (*not* the Pentium gcc compiler, 9648 # which looks to be a dead project) 9649 lt_prog_compiler_wl='-Wl,' 9650 lt_prog_compiler_pic='-fpic' 9651 lt_prog_compiler_static='-Bstatic' 9652 ;; 9653 ccc*) 9654 lt_prog_compiler_wl='-Wl,' 9655 # All Alpha code is PIC. 9656 lt_prog_compiler_static='-non_shared' 9657 ;; 9658 xl* | bgxl* | bgf* | mpixl*) 9659 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9660 lt_prog_compiler_wl='-Wl,' 9661 lt_prog_compiler_pic='-qpic' 9662 lt_prog_compiler_static='-qstaticlink' 9663 ;; 9664 *) 9665 case `$CC -V 2>&1 | sed 5q` in 9666 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9667 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9668 lt_prog_compiler_pic='-KPIC' 9669 lt_prog_compiler_static='-Bstatic' 9670 lt_prog_compiler_wl='' 9671 ;; 9672 *Sun\ F* | *Sun*Fortran*) 9673 lt_prog_compiler_pic='-KPIC' 9674 lt_prog_compiler_static='-Bstatic' 9675 lt_prog_compiler_wl='-Qoption ld ' 9676 ;; 9677 *Sun\ C*) 9678 # Sun C 5.9 9679 lt_prog_compiler_pic='-KPIC' 9680 lt_prog_compiler_static='-Bstatic' 9681 lt_prog_compiler_wl='-Wl,' 9682 ;; 9683 *Intel*\ [CF]*Compiler*) 9684 lt_prog_compiler_wl='-Wl,' 9685 lt_prog_compiler_pic='-fPIC' 9686 lt_prog_compiler_static='-static' 9687 ;; 9688 *Portland\ Group*) 9689 lt_prog_compiler_wl='-Wl,' 9690 lt_prog_compiler_pic='-fpic' 9691 lt_prog_compiler_static='-Bstatic' 9692 ;; 9693 esac 9694 ;; 9695 esac 9696 ;; 9697 9698 newsos6) 9699 lt_prog_compiler_pic='-KPIC' 9700 lt_prog_compiler_static='-Bstatic' 9701 ;; 9702 9703 *nto* | *qnx*) 9704 # QNX uses GNU C++, but need to define -shared option too, otherwise 9705 # it will coredump. 9706 lt_prog_compiler_pic='-fPIC -shared' 9707 ;; 9708 9709 osf3* | osf4* | osf5*) 9710 lt_prog_compiler_wl='-Wl,' 9711 # All OSF/1 code is PIC. 9712 lt_prog_compiler_static='-non_shared' 9713 ;; 9714 9715 rdos*) 9716 lt_prog_compiler_static='-non_shared' 9717 ;; 9718 9719 solaris*) 9720 lt_prog_compiler_pic='-KPIC' 9721 lt_prog_compiler_static='-Bstatic' 9722 case $cc_basename in 9723 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9724 lt_prog_compiler_wl='-Qoption ld ';; 9725 *) 9726 lt_prog_compiler_wl='-Wl,';; 9727 esac 9728 ;; 9729 9730 sunos4*) 9731 lt_prog_compiler_wl='-Qoption ld ' 9732 lt_prog_compiler_pic='-PIC' 9733 lt_prog_compiler_static='-Bstatic' 9734 ;; 9735 9736 sysv4 | sysv4.2uw2* | sysv4.3*) 9737 lt_prog_compiler_wl='-Wl,' 9738 lt_prog_compiler_pic='-KPIC' 9739 lt_prog_compiler_static='-Bstatic' 9740 ;; 9741 9742 sysv4*MP*) 9743 if test -d /usr/nec; then 9744 lt_prog_compiler_pic='-Kconform_pic' 9745 lt_prog_compiler_static='-Bstatic' 9746 fi 9747 ;; 9748 9749 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9750 lt_prog_compiler_wl='-Wl,' 9751 lt_prog_compiler_pic='-KPIC' 9752 lt_prog_compiler_static='-Bstatic' 9753 ;; 9754 9755 unicos*) 9756 lt_prog_compiler_wl='-Wl,' 9757 lt_prog_compiler_can_build_shared=no 9758 ;; 9759 9760 uts4*) 9761 lt_prog_compiler_pic='-pic' 9762 lt_prog_compiler_static='-Bstatic' 9763 ;; 9764 9765 *) 9766 lt_prog_compiler_can_build_shared=no 9767 ;; 9768 esac 9769 fi 9770 9771case $host_os in 9772 # For platforms that do not support PIC, -DPIC is meaningless: 9773 *djgpp*) 9774 lt_prog_compiler_pic= 9775 ;; 9776 *) 9777 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9778 ;; 9779esac 9780 9781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9782$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9783if ${lt_cv_prog_compiler_pic+:} false; then : 9784 $as_echo_n "(cached) " >&6 9785else 9786 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9787fi 9788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9789$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9790lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9791 9792# 9793# Check to make sure the PIC flag actually works. 9794# 9795if test -n "$lt_prog_compiler_pic"; then 9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9797$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9798if ${lt_cv_prog_compiler_pic_works+:} false; then : 9799 $as_echo_n "(cached) " >&6 9800else 9801 lt_cv_prog_compiler_pic_works=no 9802 ac_outfile=conftest.$ac_objext 9803 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9804 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9805 # Insert the option either (1) after the last *FLAGS variable, or 9806 # (2) before a word containing "conftest.", or (3) at the end. 9807 # Note that $ac_compile itself does not contain backslashes and begins 9808 # with a dollar sign (not a hyphen), so the echo should work correctly. 9809 # The option is referenced via a variable to avoid confusing sed. 9810 lt_compile=`echo "$ac_compile" | $SED \ 9811 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9812 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9813 -e 's:$: $lt_compiler_flag:'` 9814 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9815 (eval "$lt_compile" 2>conftest.err) 9816 ac_status=$? 9817 cat conftest.err >&5 9818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9819 if (exit $ac_status) && test -s "$ac_outfile"; then 9820 # The compiler can only warn and ignore the option if not recognized 9821 # So say no if there are warnings other than the usual output. 9822 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9823 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9824 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9825 lt_cv_prog_compiler_pic_works=yes 9826 fi 9827 fi 9828 $RM conftest* 9829 9830fi 9831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9832$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9833 9834if test yes = "$lt_cv_prog_compiler_pic_works"; then 9835 case $lt_prog_compiler_pic in 9836 "" | " "*) ;; 9837 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9838 esac 9839else 9840 lt_prog_compiler_pic= 9841 lt_prog_compiler_can_build_shared=no 9842fi 9843 9844fi 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856# 9857# Check to make sure the static flag actually works. 9858# 9859wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9861$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9862if ${lt_cv_prog_compiler_static_works+:} false; then : 9863 $as_echo_n "(cached) " >&6 9864else 9865 lt_cv_prog_compiler_static_works=no 9866 save_LDFLAGS=$LDFLAGS 9867 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9868 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9869 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9870 # The linker can only warn and ignore the option if not recognized 9871 # So say no if there are warnings 9872 if test -s conftest.err; then 9873 # Append any errors to the config.log. 9874 cat conftest.err 1>&5 9875 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9876 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9877 if diff conftest.exp conftest.er2 >/dev/null; then 9878 lt_cv_prog_compiler_static_works=yes 9879 fi 9880 else 9881 lt_cv_prog_compiler_static_works=yes 9882 fi 9883 fi 9884 $RM -r conftest* 9885 LDFLAGS=$save_LDFLAGS 9886 9887fi 9888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9889$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9890 9891if test yes = "$lt_cv_prog_compiler_static_works"; then 9892 : 9893else 9894 lt_prog_compiler_static= 9895fi 9896 9897 9898 9899 9900 9901 9902 9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9904$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9905if ${lt_cv_prog_compiler_c_o+:} false; then : 9906 $as_echo_n "(cached) " >&6 9907else 9908 lt_cv_prog_compiler_c_o=no 9909 $RM -r conftest 2>/dev/null 9910 mkdir conftest 9911 cd conftest 9912 mkdir out 9913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9914 9915 lt_compiler_flag="-o out/conftest2.$ac_objext" 9916 # Insert the option either (1) after the last *FLAGS variable, or 9917 # (2) before a word containing "conftest.", or (3) at the end. 9918 # Note that $ac_compile itself does not contain backslashes and begins 9919 # with a dollar sign (not a hyphen), so the echo should work correctly. 9920 lt_compile=`echo "$ac_compile" | $SED \ 9921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9923 -e 's:$: $lt_compiler_flag:'` 9924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9925 (eval "$lt_compile" 2>out/conftest.err) 9926 ac_status=$? 9927 cat out/conftest.err >&5 9928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9929 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9930 then 9931 # The compiler can only warn and ignore the option if not recognized 9932 # So say no if there are warnings 9933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9934 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9935 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9936 lt_cv_prog_compiler_c_o=yes 9937 fi 9938 fi 9939 chmod u+w . 2>&5 9940 $RM conftest* 9941 # SGI C++ compiler will create directory out/ii_files/ for 9942 # template instantiation 9943 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9944 $RM out/* && rmdir out 9945 cd .. 9946 $RM -r conftest 9947 $RM conftest* 9948 9949fi 9950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9951$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9952 9953 9954 9955 9956 9957 9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9959$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9960if ${lt_cv_prog_compiler_c_o+:} false; then : 9961 $as_echo_n "(cached) " >&6 9962else 9963 lt_cv_prog_compiler_c_o=no 9964 $RM -r conftest 2>/dev/null 9965 mkdir conftest 9966 cd conftest 9967 mkdir out 9968 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9969 9970 lt_compiler_flag="-o out/conftest2.$ac_objext" 9971 # Insert the option either (1) after the last *FLAGS variable, or 9972 # (2) before a word containing "conftest.", or (3) at the end. 9973 # Note that $ac_compile itself does not contain backslashes and begins 9974 # with a dollar sign (not a hyphen), so the echo should work correctly. 9975 lt_compile=`echo "$ac_compile" | $SED \ 9976 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9977 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9978 -e 's:$: $lt_compiler_flag:'` 9979 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9980 (eval "$lt_compile" 2>out/conftest.err) 9981 ac_status=$? 9982 cat out/conftest.err >&5 9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9984 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9985 then 9986 # The compiler can only warn and ignore the option if not recognized 9987 # So say no if there are warnings 9988 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9989 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9990 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9991 lt_cv_prog_compiler_c_o=yes 9992 fi 9993 fi 9994 chmod u+w . 2>&5 9995 $RM conftest* 9996 # SGI C++ compiler will create directory out/ii_files/ for 9997 # template instantiation 9998 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9999 $RM out/* && rmdir out 10000 cd .. 10001 $RM -r conftest 10002 $RM conftest* 10003 10004fi 10005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10006$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10007 10008 10009 10010 10011hard_links=nottested 10012if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10013 # do not overwrite the value of need_locks provided by the user 10014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10015$as_echo_n "checking if we can lock with hard links... " >&6; } 10016 hard_links=yes 10017 $RM conftest* 10018 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10019 touch conftest.a 10020 ln conftest.a conftest.b 2>&5 || hard_links=no 10021 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10023$as_echo "$hard_links" >&6; } 10024 if test no = "$hard_links"; then 10025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10026$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10027 need_locks=warn 10028 fi 10029else 10030 need_locks=no 10031fi 10032 10033 10034 10035 10036 10037 10038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10039$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10040 10041 runpath_var= 10042 allow_undefined_flag= 10043 always_export_symbols=no 10044 archive_cmds= 10045 archive_expsym_cmds= 10046 compiler_needs_object=no 10047 enable_shared_with_static_runtimes=no 10048 export_dynamic_flag_spec= 10049 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10050 hardcode_automatic=no 10051 hardcode_direct=no 10052 hardcode_direct_absolute=no 10053 hardcode_libdir_flag_spec= 10054 hardcode_libdir_separator= 10055 hardcode_minus_L=no 10056 hardcode_shlibpath_var=unsupported 10057 inherit_rpath=no 10058 link_all_deplibs=unknown 10059 module_cmds= 10060 module_expsym_cmds= 10061 old_archive_from_new_cmds= 10062 old_archive_from_expsyms_cmds= 10063 thread_safe_flag_spec= 10064 whole_archive_flag_spec= 10065 # include_expsyms should be a list of space-separated symbols to be *always* 10066 # included in the symbol list 10067 include_expsyms= 10068 # exclude_expsyms can be an extended regexp of symbols to exclude 10069 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10070 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10071 # as well as any symbol that contains 'd'. 10072 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10073 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10074 # platforms (ab)use it in PIC code, but their linkers get confused if 10075 # the symbol is explicitly referenced. Since portable code cannot 10076 # rely on this symbol name, it's probably fine to never include it in 10077 # preloaded symbol tables. 10078 # Exclude shared library initialization/finalization symbols. 10079 extract_expsyms_cmds= 10080 10081 case $host_os in 10082 cygwin* | mingw* | pw32* | cegcc*) 10083 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10084 # When not using gcc, we currently assume that we are using 10085 # Microsoft Visual C++. 10086 if test yes != "$GCC"; then 10087 with_gnu_ld=no 10088 fi 10089 ;; 10090 interix*) 10091 # we just hope/assume this is gcc and not c89 (= MSVC++) 10092 with_gnu_ld=yes 10093 ;; 10094 openbsd* | bitrig*) 10095 with_gnu_ld=no 10096 ;; 10097 linux* | k*bsd*-gnu | gnu*) 10098 link_all_deplibs=no 10099 ;; 10100 esac 10101 10102 ld_shlibs=yes 10103 10104 # On some targets, GNU ld is compatible enough with the native linker 10105 # that we're better off using the native interface for both. 10106 lt_use_gnu_ld_interface=no 10107 if test yes = "$with_gnu_ld"; then 10108 case $host_os in 10109 aix*) 10110 # The AIX port of GNU ld has always aspired to compatibility 10111 # with the native linker. However, as the warning in the GNU ld 10112 # block says, versions before 2.19.5* couldn't really create working 10113 # shared libraries, regardless of the interface used. 10114 case `$LD -v 2>&1` in 10115 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10116 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10117 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10118 *) 10119 lt_use_gnu_ld_interface=yes 10120 ;; 10121 esac 10122 ;; 10123 *) 10124 lt_use_gnu_ld_interface=yes 10125 ;; 10126 esac 10127 fi 10128 10129 if test yes = "$lt_use_gnu_ld_interface"; then 10130 # If archive_cmds runs LD, not CC, wlarc should be empty 10131 wlarc='$wl' 10132 10133 # Set some defaults for GNU ld with shared library support. These 10134 # are reset later if shared libraries are not supported. Putting them 10135 # here allows them to be overridden if necessary. 10136 runpath_var=LD_RUN_PATH 10137 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10138 export_dynamic_flag_spec='$wl--export-dynamic' 10139 # ancient GNU ld didn't support --whole-archive et. al. 10140 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10141 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10142 else 10143 whole_archive_flag_spec= 10144 fi 10145 supports_anon_versioning=no 10146 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10147 *GNU\ gold*) supports_anon_versioning=yes ;; 10148 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10149 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10150 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10151 *\ 2.11.*) ;; # other 2.11 versions 10152 *) supports_anon_versioning=yes ;; 10153 esac 10154 10155 # See if GNU ld supports shared libraries. 10156 case $host_os in 10157 aix[3-9]*) 10158 # On AIX/PPC, the GNU linker is very broken 10159 if test ia64 != "$host_cpu"; then 10160 ld_shlibs=no 10161 cat <<_LT_EOF 1>&2 10162 10163*** Warning: the GNU linker, at least up to release 2.19, is reported 10164*** to be unable to reliably create shared libraries on AIX. 10165*** Therefore, libtool is disabling shared libraries support. If you 10166*** really care for shared libraries, you may want to install binutils 10167*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10168*** You will then need to restart the configuration process. 10169 10170_LT_EOF 10171 fi 10172 ;; 10173 10174 amigaos*) 10175 case $host_cpu in 10176 powerpc) 10177 # see comment about AmigaOS4 .so support 10178 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10179 archive_expsym_cmds='' 10180 ;; 10181 m68k) 10182 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)' 10183 hardcode_libdir_flag_spec='-L$libdir' 10184 hardcode_minus_L=yes 10185 ;; 10186 esac 10187 ;; 10188 10189 beos*) 10190 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10191 allow_undefined_flag=unsupported 10192 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10193 # support --undefined. This deserves some investigation. FIXME 10194 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10195 else 10196 ld_shlibs=no 10197 fi 10198 ;; 10199 10200 cygwin* | mingw* | pw32* | cegcc*) 10201 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10202 # as there is no search path for DLLs. 10203 hardcode_libdir_flag_spec='-L$libdir' 10204 export_dynamic_flag_spec='$wl--export-all-symbols' 10205 allow_undefined_flag=unsupported 10206 always_export_symbols=no 10207 enable_shared_with_static_runtimes=yes 10208 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' 10209 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10210 10211 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10212 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10213 # If the export-symbols file already is a .def file, use it as 10214 # is; otherwise, prepend EXPORTS... 10215 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10216 cp $export_symbols $output_objdir/$soname.def; 10217 else 10218 echo EXPORTS > $output_objdir/$soname.def; 10219 cat $export_symbols >> $output_objdir/$soname.def; 10220 fi~ 10221 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10222 else 10223 ld_shlibs=no 10224 fi 10225 ;; 10226 10227 haiku*) 10228 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10229 link_all_deplibs=yes 10230 ;; 10231 10232 os2*) 10233 hardcode_libdir_flag_spec='-L$libdir' 10234 hardcode_minus_L=yes 10235 allow_undefined_flag=unsupported 10236 shrext_cmds=.dll 10237 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10238 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10239 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10240 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10241 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10242 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10243 emximp -o $lib $output_objdir/$libname.def' 10244 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10245 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10246 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10247 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10248 prefix_cmds="$SED"~ 10249 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10250 prefix_cmds="$prefix_cmds -e 1d"; 10251 fi~ 10252 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10253 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10254 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10255 emximp -o $lib $output_objdir/$libname.def' 10256 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10257 enable_shared_with_static_runtimes=yes 10258 ;; 10259 10260 interix[3-9]*) 10261 hardcode_direct=no 10262 hardcode_shlibpath_var=no 10263 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10264 export_dynamic_flag_spec='$wl-E' 10265 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10266 # Instead, shared libraries are loaded at an image base (0x10000000 by 10267 # default) and relocated if they conflict, which is a slow very memory 10268 # consuming and fragmenting process. To avoid this, we pick a random, 10269 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10270 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10271 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10272 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' 10273 ;; 10274 10275 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10276 tmp_diet=no 10277 if test linux-dietlibc = "$host_os"; then 10278 case $cc_basename in 10279 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10280 esac 10281 fi 10282 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10283 && test no = "$tmp_diet" 10284 then 10285 tmp_addflag=' $pic_flag' 10286 tmp_sharedflag='-shared' 10287 case $cc_basename,$host_cpu in 10288 pgcc*) # Portland Group C compiler 10289 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' 10290 tmp_addflag=' $pic_flag' 10291 ;; 10292 pgf77* | pgf90* | pgf95* | pgfortran*) 10293 # Portland Group f77 and f90 compilers 10294 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' 10295 tmp_addflag=' $pic_flag -Mnomain' ;; 10296 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10297 tmp_addflag=' -i_dynamic' ;; 10298 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10299 tmp_addflag=' -i_dynamic -nofor_main' ;; 10300 ifc* | ifort*) # Intel Fortran compiler 10301 tmp_addflag=' -nofor_main' ;; 10302 lf95*) # Lahey Fortran 8.1 10303 whole_archive_flag_spec= 10304 tmp_sharedflag='--shared' ;; 10305 nagfor*) # NAGFOR 5.3 10306 tmp_sharedflag='-Wl,-shared' ;; 10307 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10308 tmp_sharedflag='-qmkshrobj' 10309 tmp_addflag= ;; 10310 nvcc*) # Cuda Compiler Driver 2.2 10311 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' 10312 compiler_needs_object=yes 10313 ;; 10314 esac 10315 case `$CC -V 2>&1 | sed 5q` in 10316 *Sun\ C*) # Sun C 5.9 10317 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' 10318 compiler_needs_object=yes 10319 tmp_sharedflag='-G' ;; 10320 *Sun\ F*) # Sun Fortran 8.3 10321 tmp_sharedflag='-G' ;; 10322 esac 10323 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10324 10325 if test yes = "$supports_anon_versioning"; then 10326 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10327 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10328 echo "local: *; };" >> $output_objdir/$libname.ver~ 10329 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10330 fi 10331 10332 case $cc_basename in 10333 tcc*) 10334 export_dynamic_flag_spec='-rdynamic' 10335 ;; 10336 xlf* | bgf* | bgxlf* | mpixlf*) 10337 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10338 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10339 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10340 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10341 if test yes = "$supports_anon_versioning"; then 10342 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10343 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10344 echo "local: *; };" >> $output_objdir/$libname.ver~ 10345 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10346 fi 10347 ;; 10348 esac 10349 else 10350 ld_shlibs=no 10351 fi 10352 ;; 10353 10354 netbsd* | netbsdelf*-gnu) 10355 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10356 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10357 wlarc= 10358 else 10359 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10360 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10361 fi 10362 ;; 10363 10364 solaris*) 10365 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10366 ld_shlibs=no 10367 cat <<_LT_EOF 1>&2 10368 10369*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10370*** create shared libraries on Solaris systems. Therefore, libtool 10371*** is disabling shared libraries support. We urge you to upgrade GNU 10372*** binutils to release 2.9.1 or newer. Another option is to modify 10373*** your PATH or compiler configuration so that the native linker is 10374*** used, and then restart. 10375 10376_LT_EOF 10377 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10378 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10379 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10380 else 10381 ld_shlibs=no 10382 fi 10383 ;; 10384 10385 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10386 case `$LD -v 2>&1` in 10387 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10388 ld_shlibs=no 10389 cat <<_LT_EOF 1>&2 10390 10391*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10392*** reliably create shared libraries on SCO systems. Therefore, libtool 10393*** is disabling shared libraries support. We urge you to upgrade GNU 10394*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10395*** your PATH or compiler configuration so that the native linker is 10396*** used, and then restart. 10397 10398_LT_EOF 10399 ;; 10400 *) 10401 # For security reasons, it is highly recommended that you always 10402 # use absolute paths for naming shared libraries, and exclude the 10403 # DT_RUNPATH tag from executables and libraries. But doing so 10404 # requires that you compile everything twice, which is a pain. 10405 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10406 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10407 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10408 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10409 else 10410 ld_shlibs=no 10411 fi 10412 ;; 10413 esac 10414 ;; 10415 10416 sunos4*) 10417 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10418 wlarc= 10419 hardcode_direct=yes 10420 hardcode_shlibpath_var=no 10421 ;; 10422 10423 *) 10424 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10425 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10426 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10427 else 10428 ld_shlibs=no 10429 fi 10430 ;; 10431 esac 10432 10433 if test no = "$ld_shlibs"; then 10434 runpath_var= 10435 hardcode_libdir_flag_spec= 10436 export_dynamic_flag_spec= 10437 whole_archive_flag_spec= 10438 fi 10439 else 10440 # PORTME fill in a description of your system's linker (not GNU ld) 10441 case $host_os in 10442 aix3*) 10443 allow_undefined_flag=unsupported 10444 always_export_symbols=yes 10445 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' 10446 # Note: this linker hardcodes the directories in LIBPATH if there 10447 # are no directories specified by -L. 10448 hardcode_minus_L=yes 10449 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10450 # Neither direct hardcoding nor static linking is supported with a 10451 # broken collect2. 10452 hardcode_direct=unsupported 10453 fi 10454 ;; 10455 10456 aix[4-9]*) 10457 if test ia64 = "$host_cpu"; then 10458 # On IA64, the linker does run time linking by default, so we don't 10459 # have to do anything special. 10460 aix_use_runtimelinking=no 10461 exp_sym_flag='-Bexport' 10462 no_entry_flag= 10463 else 10464 # If we're using GNU nm, then we don't want the "-C" option. 10465 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10466 # Without the "-l" option, or with the "-B" option, AIX nm treats 10467 # weak defined symbols like other global defined symbols, whereas 10468 # GNU nm marks them as "W". 10469 # While the 'weak' keyword is ignored in the Export File, we need 10470 # it in the Import File for the 'aix-soname' feature, so we have 10471 # to replace the "-B" option with "-P" for AIX nm. 10472 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10473 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 10474 else 10475 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 10476 fi 10477 aix_use_runtimelinking=no 10478 10479 # Test if we are trying to use run time linking or normal 10480 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10481 # have runtime linking enabled, and use it for executables. 10482 # For shared libraries, we enable/disable runtime linking 10483 # depending on the kind of the shared library created - 10484 # when "with_aix_soname,aix_use_runtimelinking" is: 10485 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10486 # "aix,yes" lib.so shared, rtl:yes, for executables 10487 # lib.a static archive 10488 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10489 # lib.a(lib.so.V) shared, rtl:no, for executables 10490 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10491 # lib.a(lib.so.V) shared, rtl:no 10492 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10493 # lib.a static archive 10494 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10495 for ld_flag in $LDFLAGS; do 10496 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10497 aix_use_runtimelinking=yes 10498 break 10499 fi 10500 done 10501 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10502 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10503 # so we don't have lib.a shared libs to link our executables. 10504 # We have to force runtime linking in this case. 10505 aix_use_runtimelinking=yes 10506 LDFLAGS="$LDFLAGS -Wl,-brtl" 10507 fi 10508 ;; 10509 esac 10510 10511 exp_sym_flag='-bexport' 10512 no_entry_flag='-bnoentry' 10513 fi 10514 10515 # When large executables or shared objects are built, AIX ld can 10516 # have problems creating the table of contents. If linking a library 10517 # or program results in "error TOC overflow" add -mminimal-toc to 10518 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10519 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10520 10521 archive_cmds='' 10522 hardcode_direct=yes 10523 hardcode_direct_absolute=yes 10524 hardcode_libdir_separator=':' 10525 link_all_deplibs=yes 10526 file_list_spec='$wl-f,' 10527 case $with_aix_soname,$aix_use_runtimelinking in 10528 aix,*) ;; # traditional, no import file 10529 svr4,* | *,yes) # use import file 10530 # The Import File defines what to hardcode. 10531 hardcode_direct=no 10532 hardcode_direct_absolute=no 10533 ;; 10534 esac 10535 10536 if test yes = "$GCC"; then 10537 case $host_os in aix4.[012]|aix4.[012].*) 10538 # We only want to do this on AIX 4.2 and lower, the check 10539 # below for broken collect2 doesn't work under 4.3+ 10540 collect2name=`$CC -print-prog-name=collect2` 10541 if test -f "$collect2name" && 10542 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10543 then 10544 # We have reworked collect2 10545 : 10546 else 10547 # We have old collect2 10548 hardcode_direct=unsupported 10549 # It fails to find uninstalled libraries when the uninstalled 10550 # path is not listed in the libpath. Setting hardcode_minus_L 10551 # to unsupported forces relinking 10552 hardcode_minus_L=yes 10553 hardcode_libdir_flag_spec='-L$libdir' 10554 hardcode_libdir_separator= 10555 fi 10556 ;; 10557 esac 10558 shared_flag='-shared' 10559 if test yes = "$aix_use_runtimelinking"; then 10560 shared_flag="$shared_flag "'$wl-G' 10561 fi 10562 # Need to ensure runtime linking is disabled for the traditional 10563 # shared library, or the linker may eventually find shared libraries 10564 # /with/ Import File - we do not want to mix them. 10565 shared_flag_aix='-shared' 10566 shared_flag_svr4='-shared $wl-G' 10567 else 10568 # not using gcc 10569 if test ia64 = "$host_cpu"; then 10570 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10571 # chokes on -Wl,-G. The following line is correct: 10572 shared_flag='-G' 10573 else 10574 if test yes = "$aix_use_runtimelinking"; then 10575 shared_flag='$wl-G' 10576 else 10577 shared_flag='$wl-bM:SRE' 10578 fi 10579 shared_flag_aix='$wl-bM:SRE' 10580 shared_flag_svr4='$wl-G' 10581 fi 10582 fi 10583 10584 export_dynamic_flag_spec='$wl-bexpall' 10585 # It seems that -bexpall does not export symbols beginning with 10586 # underscore (_), so it is better to generate a list of symbols to export. 10587 always_export_symbols=yes 10588 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10589 # Warning - without using the other runtime loading flags (-brtl), 10590 # -berok will link without error, but may produce a broken library. 10591 allow_undefined_flag='-berok' 10592 # Determine the default libpath from the value encoded in an 10593 # empty executable. 10594 if test set = "${lt_cv_aix_libpath+set}"; then 10595 aix_libpath=$lt_cv_aix_libpath 10596else 10597 if ${lt_cv_aix_libpath_+:} false; then : 10598 $as_echo_n "(cached) " >&6 10599else 10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10601/* end confdefs.h. */ 10602 10603int 10604main () 10605{ 10606 10607 ; 10608 return 0; 10609} 10610_ACEOF 10611if ac_fn_c_try_link "$LINENO"; then : 10612 10613 lt_aix_libpath_sed=' 10614 /Import File Strings/,/^$/ { 10615 /^0/ { 10616 s/^0 *\([^ ]*\) *$/\1/ 10617 p 10618 } 10619 }' 10620 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10621 # Check for a 64-bit object if we didn't find anything. 10622 if test -z "$lt_cv_aix_libpath_"; then 10623 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10624 fi 10625fi 10626rm -f core conftest.err conftest.$ac_objext \ 10627 conftest$ac_exeext conftest.$ac_ext 10628 if test -z "$lt_cv_aix_libpath_"; then 10629 lt_cv_aix_libpath_=/usr/lib:/lib 10630 fi 10631 10632fi 10633 10634 aix_libpath=$lt_cv_aix_libpath_ 10635fi 10636 10637 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10638 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 10639 else 10640 if test ia64 = "$host_cpu"; then 10641 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10642 allow_undefined_flag="-z nodefs" 10643 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" 10644 else 10645 # Determine the default libpath from the value encoded in an 10646 # empty executable. 10647 if test set = "${lt_cv_aix_libpath+set}"; then 10648 aix_libpath=$lt_cv_aix_libpath 10649else 10650 if ${lt_cv_aix_libpath_+:} false; then : 10651 $as_echo_n "(cached) " >&6 10652else 10653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10654/* end confdefs.h. */ 10655 10656int 10657main () 10658{ 10659 10660 ; 10661 return 0; 10662} 10663_ACEOF 10664if ac_fn_c_try_link "$LINENO"; then : 10665 10666 lt_aix_libpath_sed=' 10667 /Import File Strings/,/^$/ { 10668 /^0/ { 10669 s/^0 *\([^ ]*\) *$/\1/ 10670 p 10671 } 10672 }' 10673 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10674 # Check for a 64-bit object if we didn't find anything. 10675 if test -z "$lt_cv_aix_libpath_"; then 10676 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10677 fi 10678fi 10679rm -f core conftest.err conftest.$ac_objext \ 10680 conftest$ac_exeext conftest.$ac_ext 10681 if test -z "$lt_cv_aix_libpath_"; then 10682 lt_cv_aix_libpath_=/usr/lib:/lib 10683 fi 10684 10685fi 10686 10687 aix_libpath=$lt_cv_aix_libpath_ 10688fi 10689 10690 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10691 # Warning - without using the other run time loading flags, 10692 # -berok will link without error, but may produce a broken library. 10693 no_undefined_flag=' $wl-bernotok' 10694 allow_undefined_flag=' $wl-berok' 10695 if test yes = "$with_gnu_ld"; then 10696 # We only use this code for GNU lds that support --whole-archive. 10697 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10698 else 10699 # Exported symbols can be pulled into shared objects from archives 10700 whole_archive_flag_spec='$convenience' 10701 fi 10702 archive_cmds_need_lc=yes 10703 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10704 # -brtl affects multiple linker settings, -berok does not and is overridden later 10705 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10706 if test svr4 != "$with_aix_soname"; then 10707 # This is similar to how AIX traditionally builds its shared libraries. 10708 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 10709 fi 10710 if test aix != "$with_aix_soname"; then 10711 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 10712 else 10713 # used by -dlpreopen to get the symbols 10714 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10715 fi 10716 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10717 fi 10718 fi 10719 ;; 10720 10721 amigaos*) 10722 case $host_cpu in 10723 powerpc) 10724 # see comment about AmigaOS4 .so support 10725 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10726 archive_expsym_cmds='' 10727 ;; 10728 m68k) 10729 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)' 10730 hardcode_libdir_flag_spec='-L$libdir' 10731 hardcode_minus_L=yes 10732 ;; 10733 esac 10734 ;; 10735 10736 bsdi[45]*) 10737 export_dynamic_flag_spec=-rdynamic 10738 ;; 10739 10740 cygwin* | mingw* | pw32* | cegcc*) 10741 # When not using gcc, we currently assume that we are using 10742 # Microsoft Visual C++. 10743 # hardcode_libdir_flag_spec is actually meaningless, as there is 10744 # no search path for DLLs. 10745 case $cc_basename in 10746 cl*) 10747 # Native MSVC 10748 hardcode_libdir_flag_spec=' ' 10749 allow_undefined_flag=unsupported 10750 always_export_symbols=yes 10751 file_list_spec='@' 10752 # Tell ltmain to make .lib files, not .a files. 10753 libext=lib 10754 # Tell ltmain to make .dll files, not .so files. 10755 shrext_cmds=.dll 10756 # FIXME: Setting linknames here is a bad hack. 10757 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10758 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10759 cp "$export_symbols" "$output_objdir/$soname.def"; 10760 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10761 else 10762 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10763 fi~ 10764 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10765 linknames=' 10766 # The linker will not automatically build a static lib if we build a DLL. 10767 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10768 enable_shared_with_static_runtimes=yes 10769 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10770 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10771 # Don't use ranlib 10772 old_postinstall_cmds='chmod 644 $oldlib' 10773 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10774 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10775 case $lt_outputfile in 10776 *.exe|*.EXE) ;; 10777 *) 10778 lt_outputfile=$lt_outputfile.exe 10779 lt_tool_outputfile=$lt_tool_outputfile.exe 10780 ;; 10781 esac~ 10782 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10783 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10784 $RM "$lt_outputfile.manifest"; 10785 fi' 10786 ;; 10787 *) 10788 # Assume MSVC wrapper 10789 hardcode_libdir_flag_spec=' ' 10790 allow_undefined_flag=unsupported 10791 # Tell ltmain to make .lib files, not .a files. 10792 libext=lib 10793 # Tell ltmain to make .dll files, not .so files. 10794 shrext_cmds=.dll 10795 # FIXME: Setting linknames here is a bad hack. 10796 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10797 # The linker will automatically build a .lib file if we build a DLL. 10798 old_archive_from_new_cmds='true' 10799 # FIXME: Should let the user specify the lib program. 10800 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10801 enable_shared_with_static_runtimes=yes 10802 ;; 10803 esac 10804 ;; 10805 10806 darwin* | rhapsody*) 10807 10808 10809 archive_cmds_need_lc=no 10810 hardcode_direct=no 10811 hardcode_automatic=yes 10812 hardcode_shlibpath_var=unsupported 10813 if test yes = "$lt_cv_ld_force_load"; then 10814 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\"`' 10815 10816 else 10817 whole_archive_flag_spec='' 10818 fi 10819 link_all_deplibs=yes 10820 allow_undefined_flag=$_lt_dar_allow_undefined 10821 case $cc_basename in 10822 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10823 *) _lt_dar_can_shared=$GCC ;; 10824 esac 10825 if test yes = "$_lt_dar_can_shared"; then 10826 output_verbose_link_cmd=func_echo_all 10827 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10828 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10829 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" 10830 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" 10831 10832 else 10833 ld_shlibs=no 10834 fi 10835 10836 ;; 10837 10838 dgux*) 10839 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10840 hardcode_libdir_flag_spec='-L$libdir' 10841 hardcode_shlibpath_var=no 10842 ;; 10843 10844 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10845 # support. Future versions do this automatically, but an explicit c++rt0.o 10846 # does not break anything, and helps significantly (at the cost of a little 10847 # extra space). 10848 freebsd2.2*) 10849 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10850 hardcode_libdir_flag_spec='-R$libdir' 10851 hardcode_direct=yes 10852 hardcode_shlibpath_var=no 10853 ;; 10854 10855 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10856 freebsd2.*) 10857 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10858 hardcode_direct=yes 10859 hardcode_minus_L=yes 10860 hardcode_shlibpath_var=no 10861 ;; 10862 10863 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10864 freebsd* | dragonfly*) 10865 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10866 hardcode_libdir_flag_spec='-R$libdir' 10867 hardcode_direct=yes 10868 hardcode_shlibpath_var=no 10869 ;; 10870 10871 hpux9*) 10872 if test yes = "$GCC"; then 10873 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10874 else 10875 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10876 fi 10877 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10878 hardcode_libdir_separator=: 10879 hardcode_direct=yes 10880 10881 # hardcode_minus_L: Not really in the search PATH, 10882 # but as the default location of the library. 10883 hardcode_minus_L=yes 10884 export_dynamic_flag_spec='$wl-E' 10885 ;; 10886 10887 hpux10*) 10888 if test yes,no = "$GCC,$with_gnu_ld"; then 10889 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10890 else 10891 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10892 fi 10893 if test no = "$with_gnu_ld"; then 10894 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10895 hardcode_libdir_separator=: 10896 hardcode_direct=yes 10897 hardcode_direct_absolute=yes 10898 export_dynamic_flag_spec='$wl-E' 10899 # hardcode_minus_L: Not really in the search PATH, 10900 # but as the default location of the library. 10901 hardcode_minus_L=yes 10902 fi 10903 ;; 10904 10905 hpux11*) 10906 if test yes,no = "$GCC,$with_gnu_ld"; then 10907 case $host_cpu in 10908 hppa*64*) 10909 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10910 ;; 10911 ia64*) 10912 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10913 ;; 10914 *) 10915 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10916 ;; 10917 esac 10918 else 10919 case $host_cpu in 10920 hppa*64*) 10921 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10922 ;; 10923 ia64*) 10924 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10925 ;; 10926 *) 10927 10928 # Older versions of the 11.00 compiler do not understand -b yet 10929 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10931$as_echo_n "checking if $CC understands -b... " >&6; } 10932if ${lt_cv_prog_compiler__b+:} false; then : 10933 $as_echo_n "(cached) " >&6 10934else 10935 lt_cv_prog_compiler__b=no 10936 save_LDFLAGS=$LDFLAGS 10937 LDFLAGS="$LDFLAGS -b" 10938 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10939 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10940 # The linker can only warn and ignore the option if not recognized 10941 # So say no if there are warnings 10942 if test -s conftest.err; then 10943 # Append any errors to the config.log. 10944 cat conftest.err 1>&5 10945 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10946 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10947 if diff conftest.exp conftest.er2 >/dev/null; then 10948 lt_cv_prog_compiler__b=yes 10949 fi 10950 else 10951 lt_cv_prog_compiler__b=yes 10952 fi 10953 fi 10954 $RM -r conftest* 10955 LDFLAGS=$save_LDFLAGS 10956 10957fi 10958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10959$as_echo "$lt_cv_prog_compiler__b" >&6; } 10960 10961if test yes = "$lt_cv_prog_compiler__b"; then 10962 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10963else 10964 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10965fi 10966 10967 ;; 10968 esac 10969 fi 10970 if test no = "$with_gnu_ld"; then 10971 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10972 hardcode_libdir_separator=: 10973 10974 case $host_cpu in 10975 hppa*64*|ia64*) 10976 hardcode_direct=no 10977 hardcode_shlibpath_var=no 10978 ;; 10979 *) 10980 hardcode_direct=yes 10981 hardcode_direct_absolute=yes 10982 export_dynamic_flag_spec='$wl-E' 10983 10984 # hardcode_minus_L: Not really in the search PATH, 10985 # but as the default location of the library. 10986 hardcode_minus_L=yes 10987 ;; 10988 esac 10989 fi 10990 ;; 10991 10992 irix5* | irix6* | nonstopux*) 10993 if test yes = "$GCC"; then 10994 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' 10995 # Try to use the -exported_symbol ld option, if it does not 10996 # work, assume that -exports_file does not work either and 10997 # implicitly export all symbols. 10998 # This should be the same for all languages, so no per-tag cache variable. 10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11000$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11001if ${lt_cv_irix_exported_symbol+:} false; then : 11002 $as_echo_n "(cached) " >&6 11003else 11004 save_LDFLAGS=$LDFLAGS 11005 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11007/* end confdefs.h. */ 11008int foo (void) { return 0; } 11009_ACEOF 11010if ac_fn_c_try_link "$LINENO"; then : 11011 lt_cv_irix_exported_symbol=yes 11012else 11013 lt_cv_irix_exported_symbol=no 11014fi 11015rm -f core conftest.err conftest.$ac_objext \ 11016 conftest$ac_exeext conftest.$ac_ext 11017 LDFLAGS=$save_LDFLAGS 11018fi 11019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11020$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11021 if test yes = "$lt_cv_irix_exported_symbol"; then 11022 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' 11023 fi 11024 link_all_deplibs=no 11025 else 11026 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' 11027 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' 11028 fi 11029 archive_cmds_need_lc='no' 11030 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11031 hardcode_libdir_separator=: 11032 inherit_rpath=yes 11033 link_all_deplibs=yes 11034 ;; 11035 11036 linux*) 11037 case $cc_basename in 11038 tcc*) 11039 # Fabrice Bellard et al's Tiny C Compiler 11040 ld_shlibs=yes 11041 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11042 ;; 11043 esac 11044 ;; 11045 11046 netbsd* | netbsdelf*-gnu) 11047 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11048 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11049 else 11050 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11051 fi 11052 hardcode_libdir_flag_spec='-R$libdir' 11053 hardcode_direct=yes 11054 hardcode_shlibpath_var=no 11055 ;; 11056 11057 newsos6) 11058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11059 hardcode_direct=yes 11060 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11061 hardcode_libdir_separator=: 11062 hardcode_shlibpath_var=no 11063 ;; 11064 11065 *nto* | *qnx*) 11066 ;; 11067 11068 openbsd* | bitrig*) 11069 if test -f /usr/libexec/ld.so; then 11070 hardcode_direct=yes 11071 hardcode_shlibpath_var=no 11072 hardcode_direct_absolute=yes 11073 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11074 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11075 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11076 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11077 export_dynamic_flag_spec='$wl-E' 11078 else 11079 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11080 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11081 fi 11082 else 11083 ld_shlibs=no 11084 fi 11085 ;; 11086 11087 os2*) 11088 hardcode_libdir_flag_spec='-L$libdir' 11089 hardcode_minus_L=yes 11090 allow_undefined_flag=unsupported 11091 shrext_cmds=.dll 11092 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11093 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11094 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11095 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11096 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11097 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11098 emximp -o $lib $output_objdir/$libname.def' 11099 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11100 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11101 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11102 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11103 prefix_cmds="$SED"~ 11104 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11105 prefix_cmds="$prefix_cmds -e 1d"; 11106 fi~ 11107 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11108 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11109 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11110 emximp -o $lib $output_objdir/$libname.def' 11111 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11112 enable_shared_with_static_runtimes=yes 11113 ;; 11114 11115 osf3*) 11116 if test yes = "$GCC"; then 11117 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11118 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' 11119 else 11120 allow_undefined_flag=' -expect_unresolved \*' 11121 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' 11122 fi 11123 archive_cmds_need_lc='no' 11124 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11125 hardcode_libdir_separator=: 11126 ;; 11127 11128 osf4* | osf5*) # as osf3* with the addition of -msym flag 11129 if test yes = "$GCC"; then 11130 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11131 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' 11132 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11133 else 11134 allow_undefined_flag=' -expect_unresolved \*' 11135 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' 11136 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~ 11137 $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' 11138 11139 # Both c and cxx compiler support -rpath directly 11140 hardcode_libdir_flag_spec='-rpath $libdir' 11141 fi 11142 archive_cmds_need_lc='no' 11143 hardcode_libdir_separator=: 11144 ;; 11145 11146 solaris*) 11147 no_undefined_flag=' -z defs' 11148 if test yes = "$GCC"; then 11149 wlarc='$wl' 11150 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11151 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11152 $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' 11153 else 11154 case `$CC -V 2>&1` in 11155 *"Compilers 5.0"*) 11156 wlarc='' 11157 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11158 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11159 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11160 ;; 11161 *) 11162 wlarc='$wl' 11163 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11164 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11165 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11166 ;; 11167 esac 11168 fi 11169 hardcode_libdir_flag_spec='-R$libdir' 11170 hardcode_shlibpath_var=no 11171 case $host_os in 11172 solaris2.[0-5] | solaris2.[0-5].*) ;; 11173 *) 11174 # The compiler driver will combine and reorder linker options, 11175 # but understands '-z linker_flag'. GCC discards it without '$wl', 11176 # but is careful enough not to reorder. 11177 # Supported since Solaris 2.6 (maybe 2.5.1?) 11178 if test yes = "$GCC"; then 11179 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11180 else 11181 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11182 fi 11183 ;; 11184 esac 11185 link_all_deplibs=yes 11186 ;; 11187 11188 sunos4*) 11189 if test sequent = "$host_vendor"; then 11190 # Use $CC to link under sequent, because it throws in some extra .o 11191 # files that make .init and .fini sections work. 11192 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11193 else 11194 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11195 fi 11196 hardcode_libdir_flag_spec='-L$libdir' 11197 hardcode_direct=yes 11198 hardcode_minus_L=yes 11199 hardcode_shlibpath_var=no 11200 ;; 11201 11202 sysv4) 11203 case $host_vendor in 11204 sni) 11205 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11206 hardcode_direct=yes # is this really true??? 11207 ;; 11208 siemens) 11209 ## LD is ld it makes a PLAMLIB 11210 ## CC just makes a GrossModule. 11211 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11212 reload_cmds='$CC -r -o $output$reload_objs' 11213 hardcode_direct=no 11214 ;; 11215 motorola) 11216 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11217 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11218 ;; 11219 esac 11220 runpath_var='LD_RUN_PATH' 11221 hardcode_shlibpath_var=no 11222 ;; 11223 11224 sysv4.3*) 11225 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11226 hardcode_shlibpath_var=no 11227 export_dynamic_flag_spec='-Bexport' 11228 ;; 11229 11230 sysv4*MP*) 11231 if test -d /usr/nec; then 11232 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11233 hardcode_shlibpath_var=no 11234 runpath_var=LD_RUN_PATH 11235 hardcode_runpath_var=yes 11236 ld_shlibs=yes 11237 fi 11238 ;; 11239 11240 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11241 no_undefined_flag='$wl-z,text' 11242 archive_cmds_need_lc=no 11243 hardcode_shlibpath_var=no 11244 runpath_var='LD_RUN_PATH' 11245 11246 if test yes = "$GCC"; then 11247 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11248 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11249 else 11250 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11251 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11252 fi 11253 ;; 11254 11255 sysv5* | sco3.2v5* | sco5v6*) 11256 # Note: We CANNOT use -z defs as we might desire, because we do not 11257 # link with -lc, and that would cause any symbols used from libc to 11258 # always be unresolved, which means just about no library would 11259 # ever link correctly. If we're not using GNU ld we use -z text 11260 # though, which does catch some bad symbols but isn't as heavy-handed 11261 # as -z defs. 11262 no_undefined_flag='$wl-z,text' 11263 allow_undefined_flag='$wl-z,nodefs' 11264 archive_cmds_need_lc=no 11265 hardcode_shlibpath_var=no 11266 hardcode_libdir_flag_spec='$wl-R,$libdir' 11267 hardcode_libdir_separator=':' 11268 link_all_deplibs=yes 11269 export_dynamic_flag_spec='$wl-Bexport' 11270 runpath_var='LD_RUN_PATH' 11271 11272 if test yes = "$GCC"; then 11273 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11274 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11275 else 11276 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11277 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11278 fi 11279 ;; 11280 11281 uts4*) 11282 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11283 hardcode_libdir_flag_spec='-L$libdir' 11284 hardcode_shlibpath_var=no 11285 ;; 11286 11287 *) 11288 ld_shlibs=no 11289 ;; 11290 esac 11291 11292 if test sni = "$host_vendor"; then 11293 case $host in 11294 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11295 export_dynamic_flag_spec='$wl-Blargedynsym' 11296 ;; 11297 esac 11298 fi 11299 fi 11300 11301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11302$as_echo "$ld_shlibs" >&6; } 11303test no = "$ld_shlibs" && can_build_shared=no 11304 11305with_gnu_ld=$with_gnu_ld 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321# 11322# Do we need to explicitly link libc? 11323# 11324case "x$archive_cmds_need_lc" in 11325x|xyes) 11326 # Assume -lc should be added 11327 archive_cmds_need_lc=yes 11328 11329 if test yes,yes = "$GCC,$enable_shared"; then 11330 case $archive_cmds in 11331 *'~'*) 11332 # FIXME: we may have to deal with multi-command sequences. 11333 ;; 11334 '$CC '*) 11335 # Test whether the compiler implicitly links with -lc since on some 11336 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11337 # to ld, don't add -lc before -lgcc. 11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11339$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11340if ${lt_cv_archive_cmds_need_lc+:} false; then : 11341 $as_echo_n "(cached) " >&6 11342else 11343 $RM conftest* 11344 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11345 11346 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11347 (eval $ac_compile) 2>&5 11348 ac_status=$? 11349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11350 test $ac_status = 0; } 2>conftest.err; then 11351 soname=conftest 11352 lib=conftest 11353 libobjs=conftest.$ac_objext 11354 deplibs= 11355 wl=$lt_prog_compiler_wl 11356 pic_flag=$lt_prog_compiler_pic 11357 compiler_flags=-v 11358 linker_flags=-v 11359 verstring= 11360 output_objdir=. 11361 libname=conftest 11362 lt_save_allow_undefined_flag=$allow_undefined_flag 11363 allow_undefined_flag= 11364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11365 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11366 ac_status=$? 11367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11368 test $ac_status = 0; } 11369 then 11370 lt_cv_archive_cmds_need_lc=no 11371 else 11372 lt_cv_archive_cmds_need_lc=yes 11373 fi 11374 allow_undefined_flag=$lt_save_allow_undefined_flag 11375 else 11376 cat conftest.err 1>&5 11377 fi 11378 $RM conftest* 11379 11380fi 11381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11382$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11383 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11384 ;; 11385 esac 11386 fi 11387 ;; 11388esac 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11542$as_echo_n "checking dynamic linker characteristics... " >&6; } 11543 11544if test yes = "$GCC"; then 11545 case $host_os in 11546 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11547 *) lt_awk_arg='/^libraries:/' ;; 11548 esac 11549 case $host_os in 11550 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11551 *) lt_sed_strip_eq='s|=/|/|g' ;; 11552 esac 11553 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11554 case $lt_search_path_spec in 11555 *\;*) 11556 # if the path contains ";" then we assume it to be the separator 11557 # otherwise default to the standard path separator (i.e. ":") - it is 11558 # assumed that no part of a normal pathname contains ";" but that should 11559 # okay in the real world where ";" in dirpaths is itself problematic. 11560 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11561 ;; 11562 *) 11563 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11564 ;; 11565 esac 11566 # Ok, now we have the path, separated by spaces, we can step through it 11567 # and add multilib dir if necessary... 11568 lt_tmp_lt_search_path_spec= 11569 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11570 # ...but if some path component already ends with the multilib dir we assume 11571 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11572 case "$lt_multi_os_dir; $lt_search_path_spec " in 11573 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11574 lt_multi_os_dir= 11575 ;; 11576 esac 11577 for lt_sys_path in $lt_search_path_spec; do 11578 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11579 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11580 elif test -n "$lt_multi_os_dir"; then 11581 test -d "$lt_sys_path" && \ 11582 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11583 fi 11584 done 11585 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11586BEGIN {RS = " "; FS = "/|\n";} { 11587 lt_foo = ""; 11588 lt_count = 0; 11589 for (lt_i = NF; lt_i > 0; lt_i--) { 11590 if ($lt_i != "" && $lt_i != ".") { 11591 if ($lt_i == "..") { 11592 lt_count++; 11593 } else { 11594 if (lt_count == 0) { 11595 lt_foo = "/" $lt_i lt_foo; 11596 } else { 11597 lt_count--; 11598 } 11599 } 11600 } 11601 } 11602 if (lt_foo != "") { lt_freq[lt_foo]++; } 11603 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11604}'` 11605 # AWK program above erroneously prepends '/' to C:/dos/paths 11606 # for these hosts. 11607 case $host_os in 11608 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11609 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11610 esac 11611 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11612else 11613 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11614fi 11615library_names_spec= 11616libname_spec='lib$name' 11617soname_spec= 11618shrext_cmds=.so 11619postinstall_cmds= 11620postuninstall_cmds= 11621finish_cmds= 11622finish_eval= 11623shlibpath_var= 11624shlibpath_overrides_runpath=unknown 11625version_type=none 11626dynamic_linker="$host_os ld.so" 11627sys_lib_dlsearch_path_spec="/lib /usr/lib" 11628need_lib_prefix=unknown 11629hardcode_into_libs=no 11630 11631# when you set need_version to no, make sure it does not cause -set_version 11632# flags to be left without arguments 11633need_version=unknown 11634 11635 11636 11637case $host_os in 11638aix3*) 11639 version_type=linux # correct to gnu/linux during the next big refactor 11640 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11641 shlibpath_var=LIBPATH 11642 11643 # AIX 3 has no versioning support, so we append a major version to the name. 11644 soname_spec='$libname$release$shared_ext$major' 11645 ;; 11646 11647aix[4-9]*) 11648 version_type=linux # correct to gnu/linux during the next big refactor 11649 need_lib_prefix=no 11650 need_version=no 11651 hardcode_into_libs=yes 11652 if test ia64 = "$host_cpu"; then 11653 # AIX 5 supports IA64 11654 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11655 shlibpath_var=LD_LIBRARY_PATH 11656 else 11657 # With GCC up to 2.95.x, collect2 would create an import file 11658 # for dependence libraries. The import file would start with 11659 # the line '#! .'. This would cause the generated library to 11660 # depend on '.', always an invalid library. This was fixed in 11661 # development snapshots of GCC prior to 3.0. 11662 case $host_os in 11663 aix4 | aix4.[01] | aix4.[01].*) 11664 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11665 echo ' yes ' 11666 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11667 : 11668 else 11669 can_build_shared=no 11670 fi 11671 ;; 11672 esac 11673 # Using Import Files as archive members, it is possible to support 11674 # filename-based versioning of shared library archives on AIX. While 11675 # this would work for both with and without runtime linking, it will 11676 # prevent static linking of such archives. So we do filename-based 11677 # shared library versioning with .so extension only, which is used 11678 # when both runtime linking and shared linking is enabled. 11679 # Unfortunately, runtime linking may impact performance, so we do 11680 # not want this to be the default eventually. Also, we use the 11681 # versioned .so libs for executables only if there is the -brtl 11682 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11683 # To allow for filename-based versioning support, we need to create 11684 # libNAME.so.V as an archive file, containing: 11685 # *) an Import File, referring to the versioned filename of the 11686 # archive as well as the shared archive member, telling the 11687 # bitwidth (32 or 64) of that shared object, and providing the 11688 # list of exported symbols of that shared object, eventually 11689 # decorated with the 'weak' keyword 11690 # *) the shared object with the F_LOADONLY flag set, to really avoid 11691 # it being seen by the linker. 11692 # At run time we better use the real file rather than another symlink, 11693 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11694 11695 case $with_aix_soname,$aix_use_runtimelinking in 11696 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11697 # soname into executable. Probably we can add versioning support to 11698 # collect2, so additional links can be useful in future. 11699 aix,yes) # traditional libtool 11700 dynamic_linker='AIX unversionable lib.so' 11701 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11702 # instead of lib<name>.a to let people know that these are not 11703 # typical AIX shared libraries. 11704 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11705 ;; 11706 aix,no) # traditional AIX only 11707 dynamic_linker='AIX lib.a(lib.so.V)' 11708 # We preserve .a as extension for shared libraries through AIX4.2 11709 # and later when we are not doing run time linking. 11710 library_names_spec='$libname$release.a $libname.a' 11711 soname_spec='$libname$release$shared_ext$major' 11712 ;; 11713 svr4,*) # full svr4 only 11714 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11715 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11716 # We do not specify a path in Import Files, so LIBPATH fires. 11717 shlibpath_overrides_runpath=yes 11718 ;; 11719 *,yes) # both, prefer svr4 11720 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11721 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11722 # unpreferred sharedlib libNAME.a needs extra handling 11723 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 11724 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 11725 # We do not specify a path in Import Files, so LIBPATH fires. 11726 shlibpath_overrides_runpath=yes 11727 ;; 11728 *,no) # both, prefer aix 11729 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11730 library_names_spec='$libname$release.a $libname.a' 11731 soname_spec='$libname$release$shared_ext$major' 11732 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11733 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 11734 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 11735 ;; 11736 esac 11737 shlibpath_var=LIBPATH 11738 fi 11739 ;; 11740 11741amigaos*) 11742 case $host_cpu in 11743 powerpc) 11744 # Since July 2007 AmigaOS4 officially supports .so libraries. 11745 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11746 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11747 ;; 11748 m68k) 11749 library_names_spec='$libname.ixlibrary $libname.a' 11750 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11751 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 11752 ;; 11753 esac 11754 ;; 11755 11756beos*) 11757 library_names_spec='$libname$shared_ext' 11758 dynamic_linker="$host_os ld.so" 11759 shlibpath_var=LIBRARY_PATH 11760 ;; 11761 11762bsdi[45]*) 11763 version_type=linux # correct to gnu/linux during the next big refactor 11764 need_version=no 11765 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11766 soname_spec='$libname$release$shared_ext$major' 11767 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11768 shlibpath_var=LD_LIBRARY_PATH 11769 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11770 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11771 # the default ld.so.conf also contains /usr/contrib/lib and 11772 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11773 # libtool to hard-code these into programs 11774 ;; 11775 11776cygwin* | mingw* | pw32* | cegcc*) 11777 version_type=windows 11778 shrext_cmds=.dll 11779 need_version=no 11780 need_lib_prefix=no 11781 11782 case $GCC,$cc_basename in 11783 yes,*) 11784 # gcc 11785 library_names_spec='$libname.dll.a' 11786 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11787 postinstall_cmds='base_file=`basename \$file`~ 11788 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11789 dldir=$destdir/`dirname \$dlpath`~ 11790 test -d \$dldir || mkdir -p \$dldir~ 11791 $install_prog $dir/$dlname \$dldir/$dlname~ 11792 chmod a+x \$dldir/$dlname~ 11793 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11794 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11795 fi' 11796 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11797 dlpath=$dir/\$dldll~ 11798 $RM \$dlpath' 11799 shlibpath_overrides_runpath=yes 11800 11801 case $host_os in 11802 cygwin*) 11803 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11804 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11805 11806 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11807 ;; 11808 mingw* | cegcc*) 11809 # MinGW DLLs use traditional 'lib' prefix 11810 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11811 ;; 11812 pw32*) 11813 # pw32 DLLs use 'pw' prefix rather than 'lib' 11814 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11815 ;; 11816 esac 11817 dynamic_linker='Win32 ld.exe' 11818 ;; 11819 11820 *,cl*) 11821 # Native MSVC 11822 libname_spec='$name' 11823 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11824 library_names_spec='$libname.dll.lib' 11825 11826 case $build_os in 11827 mingw*) 11828 sys_lib_search_path_spec= 11829 lt_save_ifs=$IFS 11830 IFS=';' 11831 for lt_path in $LIB 11832 do 11833 IFS=$lt_save_ifs 11834 # Let DOS variable expansion print the short 8.3 style file name. 11835 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11836 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11837 done 11838 IFS=$lt_save_ifs 11839 # Convert to MSYS style. 11840 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11841 ;; 11842 cygwin*) 11843 # Convert to unix form, then to dos form, then back to unix form 11844 # but this time dos style (no spaces!) so that the unix form looks 11845 # like /cygdrive/c/PROGRA~1:/cygdr... 11846 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11847 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11848 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11849 ;; 11850 *) 11851 sys_lib_search_path_spec=$LIB 11852 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11853 # It is most probably a Windows format PATH. 11854 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11855 else 11856 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11857 fi 11858 # FIXME: find the short name or the path components, as spaces are 11859 # common. (e.g. "Program Files" -> "PROGRA~1") 11860 ;; 11861 esac 11862 11863 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11864 postinstall_cmds='base_file=`basename \$file`~ 11865 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11866 dldir=$destdir/`dirname \$dlpath`~ 11867 test -d \$dldir || mkdir -p \$dldir~ 11868 $install_prog $dir/$dlname \$dldir/$dlname' 11869 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11870 dlpath=$dir/\$dldll~ 11871 $RM \$dlpath' 11872 shlibpath_overrides_runpath=yes 11873 dynamic_linker='Win32 link.exe' 11874 ;; 11875 11876 *) 11877 # Assume MSVC wrapper 11878 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11879 dynamic_linker='Win32 ld.exe' 11880 ;; 11881 esac 11882 # FIXME: first we should search . and the directory the executable is in 11883 shlibpath_var=PATH 11884 ;; 11885 11886darwin* | rhapsody*) 11887 dynamic_linker="$host_os dyld" 11888 version_type=darwin 11889 need_lib_prefix=no 11890 need_version=no 11891 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11892 soname_spec='$libname$release$major$shared_ext' 11893 shlibpath_overrides_runpath=yes 11894 shlibpath_var=DYLD_LIBRARY_PATH 11895 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11896 11897 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11898 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11899 ;; 11900 11901dgux*) 11902 version_type=linux # correct to gnu/linux during the next big refactor 11903 need_lib_prefix=no 11904 need_version=no 11905 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11906 soname_spec='$libname$release$shared_ext$major' 11907 shlibpath_var=LD_LIBRARY_PATH 11908 ;; 11909 11910freebsd* | dragonfly*) 11911 # DragonFly does not have aout. When/if they implement a new 11912 # versioning mechanism, adjust this. 11913 if test -x /usr/bin/objformat; then 11914 objformat=`/usr/bin/objformat` 11915 else 11916 case $host_os in 11917 freebsd[23].*) objformat=aout ;; 11918 *) objformat=elf ;; 11919 esac 11920 fi 11921 version_type=freebsd-$objformat 11922 case $version_type in 11923 freebsd-elf*) 11924 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11925 soname_spec='$libname$release$shared_ext$major' 11926 need_version=no 11927 need_lib_prefix=no 11928 ;; 11929 freebsd-*) 11930 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11931 need_version=yes 11932 ;; 11933 esac 11934 shlibpath_var=LD_LIBRARY_PATH 11935 case $host_os in 11936 freebsd2.*) 11937 shlibpath_overrides_runpath=yes 11938 ;; 11939 freebsd3.[01]* | freebsdelf3.[01]*) 11940 shlibpath_overrides_runpath=yes 11941 hardcode_into_libs=yes 11942 ;; 11943 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11944 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11945 shlibpath_overrides_runpath=no 11946 hardcode_into_libs=yes 11947 ;; 11948 *) # from 4.6 on, and DragonFly 11949 shlibpath_overrides_runpath=yes 11950 hardcode_into_libs=yes 11951 ;; 11952 esac 11953 ;; 11954 11955haiku*) 11956 version_type=linux # correct to gnu/linux during the next big refactor 11957 need_lib_prefix=no 11958 need_version=no 11959 dynamic_linker="$host_os runtime_loader" 11960 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11961 soname_spec='$libname$release$shared_ext$major' 11962 shlibpath_var=LIBRARY_PATH 11963 shlibpath_overrides_runpath=no 11964 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11965 hardcode_into_libs=yes 11966 ;; 11967 11968hpux9* | hpux10* | hpux11*) 11969 # Give a soname corresponding to the major version so that dld.sl refuses to 11970 # link against other versions. 11971 version_type=sunos 11972 need_lib_prefix=no 11973 need_version=no 11974 case $host_cpu in 11975 ia64*) 11976 shrext_cmds='.so' 11977 hardcode_into_libs=yes 11978 dynamic_linker="$host_os dld.so" 11979 shlibpath_var=LD_LIBRARY_PATH 11980 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11981 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11982 soname_spec='$libname$release$shared_ext$major' 11983 if test 32 = "$HPUX_IA64_MODE"; then 11984 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11985 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11986 else 11987 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11988 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11989 fi 11990 ;; 11991 hppa*64*) 11992 shrext_cmds='.sl' 11993 hardcode_into_libs=yes 11994 dynamic_linker="$host_os dld.sl" 11995 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11996 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11997 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11998 soname_spec='$libname$release$shared_ext$major' 11999 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12000 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12001 ;; 12002 *) 12003 shrext_cmds='.sl' 12004 dynamic_linker="$host_os dld.sl" 12005 shlibpath_var=SHLIB_PATH 12006 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12007 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12008 soname_spec='$libname$release$shared_ext$major' 12009 ;; 12010 esac 12011 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12012 postinstall_cmds='chmod 555 $lib' 12013 # or fails outright, so override atomically: 12014 install_override_mode=555 12015 ;; 12016 12017interix[3-9]*) 12018 version_type=linux # correct to gnu/linux during the next big refactor 12019 need_lib_prefix=no 12020 need_version=no 12021 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12022 soname_spec='$libname$release$shared_ext$major' 12023 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12024 shlibpath_var=LD_LIBRARY_PATH 12025 shlibpath_overrides_runpath=no 12026 hardcode_into_libs=yes 12027 ;; 12028 12029irix5* | irix6* | nonstopux*) 12030 case $host_os in 12031 nonstopux*) version_type=nonstopux ;; 12032 *) 12033 if test yes = "$lt_cv_prog_gnu_ld"; then 12034 version_type=linux # correct to gnu/linux during the next big refactor 12035 else 12036 version_type=irix 12037 fi ;; 12038 esac 12039 need_lib_prefix=no 12040 need_version=no 12041 soname_spec='$libname$release$shared_ext$major' 12042 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12043 case $host_os in 12044 irix5* | nonstopux*) 12045 libsuff= shlibsuff= 12046 ;; 12047 *) 12048 case $LD in # libtool.m4 will add one of these switches to LD 12049 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12050 libsuff= shlibsuff= libmagic=32-bit;; 12051 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12052 libsuff=32 shlibsuff=N32 libmagic=N32;; 12053 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12054 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12055 *) libsuff= shlibsuff= libmagic=never-match;; 12056 esac 12057 ;; 12058 esac 12059 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12060 shlibpath_overrides_runpath=no 12061 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12062 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12063 hardcode_into_libs=yes 12064 ;; 12065 12066# No shared lib support for Linux oldld, aout, or coff. 12067linux*oldld* | linux*aout* | linux*coff*) 12068 dynamic_linker=no 12069 ;; 12070 12071linux*android*) 12072 version_type=none # Android doesn't support versioned libraries. 12073 need_lib_prefix=no 12074 need_version=no 12075 library_names_spec='$libname$release$shared_ext' 12076 soname_spec='$libname$release$shared_ext' 12077 finish_cmds= 12078 shlibpath_var=LD_LIBRARY_PATH 12079 shlibpath_overrides_runpath=yes 12080 12081 # This implies no fast_install, which is unacceptable. 12082 # Some rework will be needed to allow for fast_install 12083 # before this can be enabled. 12084 hardcode_into_libs=yes 12085 12086 dynamic_linker='Android linker' 12087 # Don't embed -rpath directories since the linker doesn't support them. 12088 hardcode_libdir_flag_spec='-L$libdir' 12089 ;; 12090 12091# This must be glibc/ELF. 12092linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12093 version_type=linux # correct to gnu/linux during the next big refactor 12094 need_lib_prefix=no 12095 need_version=no 12096 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12097 soname_spec='$libname$release$shared_ext$major' 12098 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12099 shlibpath_var=LD_LIBRARY_PATH 12100 shlibpath_overrides_runpath=no 12101 12102 # Some binutils ld are patched to set DT_RUNPATH 12103 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12104 $as_echo_n "(cached) " >&6 12105else 12106 lt_cv_shlibpath_overrides_runpath=no 12107 save_LDFLAGS=$LDFLAGS 12108 save_libdir=$libdir 12109 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12110 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12112/* end confdefs.h. */ 12113 12114int 12115main () 12116{ 12117 12118 ; 12119 return 0; 12120} 12121_ACEOF 12122if ac_fn_c_try_link "$LINENO"; then : 12123 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12124 lt_cv_shlibpath_overrides_runpath=yes 12125fi 12126fi 12127rm -f core conftest.err conftest.$ac_objext \ 12128 conftest$ac_exeext conftest.$ac_ext 12129 LDFLAGS=$save_LDFLAGS 12130 libdir=$save_libdir 12131 12132fi 12133 12134 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12135 12136 # This implies no fast_install, which is unacceptable. 12137 # Some rework will be needed to allow for fast_install 12138 # before this can be enabled. 12139 hardcode_into_libs=yes 12140 12141 # Ideally, we could use ldconfig to report *all* directores which are 12142 # searched for libraries, however this is still not possible. Aside from not 12143 # being certain /sbin/ldconfig is available, command 12144 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12145 # even though it is searched at run-time. Try to do the best guess by 12146 # appending ld.so.conf contents (and includes) to the search path. 12147 if test -f /etc/ld.so.conf; then 12148 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' ' '` 12149 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 12150 fi 12151 12152 # We used to test for /lib/ld.so.1 and disable shared libraries on 12153 # powerpc, because MkLinux only supported shared libraries with the 12154 # GNU dynamic linker. Since this was broken with cross compilers, 12155 # most powerpc-linux boxes support dynamic linking these days and 12156 # people can always --disable-shared, the test was removed, and we 12157 # assume the GNU/Linux dynamic linker is in use. 12158 dynamic_linker='GNU/Linux ld.so' 12159 ;; 12160 12161netbsdelf*-gnu) 12162 version_type=linux 12163 need_lib_prefix=no 12164 need_version=no 12165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12166 soname_spec='${libname}${release}${shared_ext}$major' 12167 shlibpath_var=LD_LIBRARY_PATH 12168 shlibpath_overrides_runpath=no 12169 hardcode_into_libs=yes 12170 dynamic_linker='NetBSD ld.elf_so' 12171 ;; 12172 12173netbsd*) 12174 version_type=sunos 12175 need_lib_prefix=no 12176 need_version=no 12177 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12178 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12179 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12180 dynamic_linker='NetBSD (a.out) ld.so' 12181 else 12182 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12183 soname_spec='$libname$release$shared_ext$major' 12184 dynamic_linker='NetBSD ld.elf_so' 12185 fi 12186 shlibpath_var=LD_LIBRARY_PATH 12187 shlibpath_overrides_runpath=yes 12188 hardcode_into_libs=yes 12189 ;; 12190 12191newsos6) 12192 version_type=linux # correct to gnu/linux during the next big refactor 12193 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12194 shlibpath_var=LD_LIBRARY_PATH 12195 shlibpath_overrides_runpath=yes 12196 ;; 12197 12198*nto* | *qnx*) 12199 version_type=qnx 12200 need_lib_prefix=no 12201 need_version=no 12202 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12203 soname_spec='$libname$release$shared_ext$major' 12204 shlibpath_var=LD_LIBRARY_PATH 12205 shlibpath_overrides_runpath=no 12206 hardcode_into_libs=yes 12207 dynamic_linker='ldqnx.so' 12208 ;; 12209 12210openbsd* | bitrig*) 12211 version_type=sunos 12212 sys_lib_dlsearch_path_spec=/usr/lib 12213 need_lib_prefix=no 12214 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12215 need_version=no 12216 else 12217 need_version=yes 12218 fi 12219 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12220 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12221 shlibpath_var=LD_LIBRARY_PATH 12222 shlibpath_overrides_runpath=yes 12223 ;; 12224 12225os2*) 12226 libname_spec='$name' 12227 version_type=windows 12228 shrext_cmds=.dll 12229 need_version=no 12230 need_lib_prefix=no 12231 # OS/2 can only load a DLL with a base name of 8 characters or less. 12232 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12233 v=$($ECHO $release$versuffix | tr -d .-); 12234 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12235 $ECHO $n$v`$shared_ext' 12236 library_names_spec='${libname}_dll.$libext' 12237 dynamic_linker='OS/2 ld.exe' 12238 shlibpath_var=BEGINLIBPATH 12239 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12240 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12241 postinstall_cmds='base_file=`basename \$file`~ 12242 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12243 dldir=$destdir/`dirname \$dlpath`~ 12244 test -d \$dldir || mkdir -p \$dldir~ 12245 $install_prog $dir/$dlname \$dldir/$dlname~ 12246 chmod a+x \$dldir/$dlname~ 12247 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12248 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12249 fi' 12250 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12251 dlpath=$dir/\$dldll~ 12252 $RM \$dlpath' 12253 ;; 12254 12255osf3* | osf4* | osf5*) 12256 version_type=osf 12257 need_lib_prefix=no 12258 need_version=no 12259 soname_spec='$libname$release$shared_ext$major' 12260 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12261 shlibpath_var=LD_LIBRARY_PATH 12262 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12263 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12264 ;; 12265 12266rdos*) 12267 dynamic_linker=no 12268 ;; 12269 12270solaris*) 12271 version_type=linux # correct to gnu/linux during the next big refactor 12272 need_lib_prefix=no 12273 need_version=no 12274 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12275 soname_spec='$libname$release$shared_ext$major' 12276 shlibpath_var=LD_LIBRARY_PATH 12277 shlibpath_overrides_runpath=yes 12278 hardcode_into_libs=yes 12279 # ldd complains unless libraries are executable 12280 postinstall_cmds='chmod +x $lib' 12281 ;; 12282 12283sunos4*) 12284 version_type=sunos 12285 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12286 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12287 shlibpath_var=LD_LIBRARY_PATH 12288 shlibpath_overrides_runpath=yes 12289 if test yes = "$with_gnu_ld"; then 12290 need_lib_prefix=no 12291 fi 12292 need_version=yes 12293 ;; 12294 12295sysv4 | sysv4.3*) 12296 version_type=linux # correct to gnu/linux during the next big refactor 12297 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12298 soname_spec='$libname$release$shared_ext$major' 12299 shlibpath_var=LD_LIBRARY_PATH 12300 case $host_vendor in 12301 sni) 12302 shlibpath_overrides_runpath=no 12303 need_lib_prefix=no 12304 runpath_var=LD_RUN_PATH 12305 ;; 12306 siemens) 12307 need_lib_prefix=no 12308 ;; 12309 motorola) 12310 need_lib_prefix=no 12311 need_version=no 12312 shlibpath_overrides_runpath=no 12313 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12314 ;; 12315 esac 12316 ;; 12317 12318sysv4*MP*) 12319 if test -d /usr/nec; then 12320 version_type=linux # correct to gnu/linux during the next big refactor 12321 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12322 soname_spec='$libname$shared_ext.$major' 12323 shlibpath_var=LD_LIBRARY_PATH 12324 fi 12325 ;; 12326 12327sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12328 version_type=sco 12329 need_lib_prefix=no 12330 need_version=no 12331 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12332 soname_spec='$libname$release$shared_ext$major' 12333 shlibpath_var=LD_LIBRARY_PATH 12334 shlibpath_overrides_runpath=yes 12335 hardcode_into_libs=yes 12336 if test yes = "$with_gnu_ld"; then 12337 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12338 else 12339 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12340 case $host_os in 12341 sco3.2v5*) 12342 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12343 ;; 12344 esac 12345 fi 12346 sys_lib_dlsearch_path_spec='/usr/lib' 12347 ;; 12348 12349tpf*) 12350 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12351 version_type=linux # correct to gnu/linux during the next big refactor 12352 need_lib_prefix=no 12353 need_version=no 12354 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12355 shlibpath_var=LD_LIBRARY_PATH 12356 shlibpath_overrides_runpath=no 12357 hardcode_into_libs=yes 12358 ;; 12359 12360uts4*) 12361 version_type=linux # correct to gnu/linux during the next big refactor 12362 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12363 soname_spec='$libname$release$shared_ext$major' 12364 shlibpath_var=LD_LIBRARY_PATH 12365 ;; 12366 12367*) 12368 dynamic_linker=no 12369 ;; 12370esac 12371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12372$as_echo "$dynamic_linker" >&6; } 12373test no = "$dynamic_linker" && can_build_shared=no 12374 12375variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12376if test yes = "$GCC"; then 12377 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12378fi 12379 12380if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12381 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12382fi 12383 12384if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12385 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12386fi 12387 12388# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12389configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12390 12391# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12392func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12393 12394# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12395configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12494$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12495hardcode_action= 12496if test -n "$hardcode_libdir_flag_spec" || 12497 test -n "$runpath_var" || 12498 test yes = "$hardcode_automatic"; then 12499 12500 # We can hardcode non-existent directories. 12501 if test no != "$hardcode_direct" && 12502 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12503 # have to relink, otherwise we might link with an installed library 12504 # when we should be linking with a yet-to-be-installed one 12505 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12506 test no != "$hardcode_minus_L"; then 12507 # Linking always hardcodes the temporary library directory. 12508 hardcode_action=relink 12509 else 12510 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12511 hardcode_action=immediate 12512 fi 12513else 12514 # We cannot hardcode anything, or else we can only hardcode existing 12515 # directories. 12516 hardcode_action=unsupported 12517fi 12518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12519$as_echo "$hardcode_action" >&6; } 12520 12521if test relink = "$hardcode_action" || 12522 test yes = "$inherit_rpath"; then 12523 # Fast installation is not supported 12524 enable_fast_install=no 12525elif test yes = "$shlibpath_overrides_runpath" || 12526 test no = "$enable_shared"; then 12527 # Fast installation is not necessary 12528 enable_fast_install=needless 12529fi 12530 12531 12532 12533 12534 12535 12536 if test yes != "$enable_dlopen"; then 12537 enable_dlopen=unknown 12538 enable_dlopen_self=unknown 12539 enable_dlopen_self_static=unknown 12540else 12541 lt_cv_dlopen=no 12542 lt_cv_dlopen_libs= 12543 12544 case $host_os in 12545 beos*) 12546 lt_cv_dlopen=load_add_on 12547 lt_cv_dlopen_libs= 12548 lt_cv_dlopen_self=yes 12549 ;; 12550 12551 mingw* | pw32* | cegcc*) 12552 lt_cv_dlopen=LoadLibrary 12553 lt_cv_dlopen_libs= 12554 ;; 12555 12556 cygwin*) 12557 lt_cv_dlopen=dlopen 12558 lt_cv_dlopen_libs= 12559 ;; 12560 12561 darwin*) 12562 # if libdl is installed we need to link against it 12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12564$as_echo_n "checking for dlopen in -ldl... " >&6; } 12565if ${ac_cv_lib_dl_dlopen+:} false; then : 12566 $as_echo_n "(cached) " >&6 12567else 12568 ac_check_lib_save_LIBS=$LIBS 12569LIBS="-ldl $LIBS" 12570cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12571/* end confdefs.h. */ 12572 12573/* Override any GCC internal prototype to avoid an error. 12574 Use char because int might match the return type of a GCC 12575 builtin and then its argument prototype would still apply. */ 12576#ifdef __cplusplus 12577extern "C" 12578#endif 12579char dlopen (); 12580int 12581main () 12582{ 12583return dlopen (); 12584 ; 12585 return 0; 12586} 12587_ACEOF 12588if ac_fn_c_try_link "$LINENO"; then : 12589 ac_cv_lib_dl_dlopen=yes 12590else 12591 ac_cv_lib_dl_dlopen=no 12592fi 12593rm -f core conftest.err conftest.$ac_objext \ 12594 conftest$ac_exeext conftest.$ac_ext 12595LIBS=$ac_check_lib_save_LIBS 12596fi 12597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12598$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12599if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12600 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12601else 12602 12603 lt_cv_dlopen=dyld 12604 lt_cv_dlopen_libs= 12605 lt_cv_dlopen_self=yes 12606 12607fi 12608 12609 ;; 12610 12611 tpf*) 12612 # Don't try to run any link tests for TPF. We know it's impossible 12613 # because TPF is a cross-compiler, and we know how we open DSOs. 12614 lt_cv_dlopen=dlopen 12615 lt_cv_dlopen_libs= 12616 lt_cv_dlopen_self=no 12617 ;; 12618 12619 *) 12620 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12621if test "x$ac_cv_func_shl_load" = xyes; then : 12622 lt_cv_dlopen=shl_load 12623else 12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12625$as_echo_n "checking for shl_load in -ldld... " >&6; } 12626if ${ac_cv_lib_dld_shl_load+:} false; then : 12627 $as_echo_n "(cached) " >&6 12628else 12629 ac_check_lib_save_LIBS=$LIBS 12630LIBS="-ldld $LIBS" 12631cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12632/* end confdefs.h. */ 12633 12634/* Override any GCC internal prototype to avoid an error. 12635 Use char because int might match the return type of a GCC 12636 builtin and then its argument prototype would still apply. */ 12637#ifdef __cplusplus 12638extern "C" 12639#endif 12640char shl_load (); 12641int 12642main () 12643{ 12644return shl_load (); 12645 ; 12646 return 0; 12647} 12648_ACEOF 12649if ac_fn_c_try_link "$LINENO"; then : 12650 ac_cv_lib_dld_shl_load=yes 12651else 12652 ac_cv_lib_dld_shl_load=no 12653fi 12654rm -f core conftest.err conftest.$ac_objext \ 12655 conftest$ac_exeext conftest.$ac_ext 12656LIBS=$ac_check_lib_save_LIBS 12657fi 12658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12659$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12660if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12661 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12662else 12663 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12664if test "x$ac_cv_func_dlopen" = xyes; then : 12665 lt_cv_dlopen=dlopen 12666else 12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12668$as_echo_n "checking for dlopen in -ldl... " >&6; } 12669if ${ac_cv_lib_dl_dlopen+:} false; then : 12670 $as_echo_n "(cached) " >&6 12671else 12672 ac_check_lib_save_LIBS=$LIBS 12673LIBS="-ldl $LIBS" 12674cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12675/* end confdefs.h. */ 12676 12677/* Override any GCC internal prototype to avoid an error. 12678 Use char because int might match the return type of a GCC 12679 builtin and then its argument prototype would still apply. */ 12680#ifdef __cplusplus 12681extern "C" 12682#endif 12683char dlopen (); 12684int 12685main () 12686{ 12687return dlopen (); 12688 ; 12689 return 0; 12690} 12691_ACEOF 12692if ac_fn_c_try_link "$LINENO"; then : 12693 ac_cv_lib_dl_dlopen=yes 12694else 12695 ac_cv_lib_dl_dlopen=no 12696fi 12697rm -f core conftest.err conftest.$ac_objext \ 12698 conftest$ac_exeext conftest.$ac_ext 12699LIBS=$ac_check_lib_save_LIBS 12700fi 12701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12702$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12703if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12704 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12705else 12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12707$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12708if ${ac_cv_lib_svld_dlopen+:} false; then : 12709 $as_echo_n "(cached) " >&6 12710else 12711 ac_check_lib_save_LIBS=$LIBS 12712LIBS="-lsvld $LIBS" 12713cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12714/* end confdefs.h. */ 12715 12716/* Override any GCC internal prototype to avoid an error. 12717 Use char because int might match the return type of a GCC 12718 builtin and then its argument prototype would still apply. */ 12719#ifdef __cplusplus 12720extern "C" 12721#endif 12722char dlopen (); 12723int 12724main () 12725{ 12726return dlopen (); 12727 ; 12728 return 0; 12729} 12730_ACEOF 12731if ac_fn_c_try_link "$LINENO"; then : 12732 ac_cv_lib_svld_dlopen=yes 12733else 12734 ac_cv_lib_svld_dlopen=no 12735fi 12736rm -f core conftest.err conftest.$ac_objext \ 12737 conftest$ac_exeext conftest.$ac_ext 12738LIBS=$ac_check_lib_save_LIBS 12739fi 12740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12741$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12742if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12743 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12744else 12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12746$as_echo_n "checking for dld_link in -ldld... " >&6; } 12747if ${ac_cv_lib_dld_dld_link+:} false; then : 12748 $as_echo_n "(cached) " >&6 12749else 12750 ac_check_lib_save_LIBS=$LIBS 12751LIBS="-ldld $LIBS" 12752cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12753/* end confdefs.h. */ 12754 12755/* Override any GCC internal prototype to avoid an error. 12756 Use char because int might match the return type of a GCC 12757 builtin and then its argument prototype would still apply. */ 12758#ifdef __cplusplus 12759extern "C" 12760#endif 12761char dld_link (); 12762int 12763main () 12764{ 12765return dld_link (); 12766 ; 12767 return 0; 12768} 12769_ACEOF 12770if ac_fn_c_try_link "$LINENO"; then : 12771 ac_cv_lib_dld_dld_link=yes 12772else 12773 ac_cv_lib_dld_dld_link=no 12774fi 12775rm -f core conftest.err conftest.$ac_objext \ 12776 conftest$ac_exeext conftest.$ac_ext 12777LIBS=$ac_check_lib_save_LIBS 12778fi 12779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12780$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12781if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12782 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12783fi 12784 12785 12786fi 12787 12788 12789fi 12790 12791 12792fi 12793 12794 12795fi 12796 12797 12798fi 12799 12800 ;; 12801 esac 12802 12803 if test no = "$lt_cv_dlopen"; then 12804 enable_dlopen=no 12805 else 12806 enable_dlopen=yes 12807 fi 12808 12809 case $lt_cv_dlopen in 12810 dlopen) 12811 save_CPPFLAGS=$CPPFLAGS 12812 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12813 12814 save_LDFLAGS=$LDFLAGS 12815 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12816 12817 save_LIBS=$LIBS 12818 LIBS="$lt_cv_dlopen_libs $LIBS" 12819 12820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12821$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12822if ${lt_cv_dlopen_self+:} false; then : 12823 $as_echo_n "(cached) " >&6 12824else 12825 if test yes = "$cross_compiling"; then : 12826 lt_cv_dlopen_self=cross 12827else 12828 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12829 lt_status=$lt_dlunknown 12830 cat > conftest.$ac_ext <<_LT_EOF 12831#line $LINENO "configure" 12832#include "confdefs.h" 12833 12834#if HAVE_DLFCN_H 12835#include <dlfcn.h> 12836#endif 12837 12838#include <stdio.h> 12839 12840#ifdef RTLD_GLOBAL 12841# define LT_DLGLOBAL RTLD_GLOBAL 12842#else 12843# ifdef DL_GLOBAL 12844# define LT_DLGLOBAL DL_GLOBAL 12845# else 12846# define LT_DLGLOBAL 0 12847# endif 12848#endif 12849 12850/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12851 find out it does not work in some platform. */ 12852#ifndef LT_DLLAZY_OR_NOW 12853# ifdef RTLD_LAZY 12854# define LT_DLLAZY_OR_NOW RTLD_LAZY 12855# else 12856# ifdef DL_LAZY 12857# define LT_DLLAZY_OR_NOW DL_LAZY 12858# else 12859# ifdef RTLD_NOW 12860# define LT_DLLAZY_OR_NOW RTLD_NOW 12861# else 12862# ifdef DL_NOW 12863# define LT_DLLAZY_OR_NOW DL_NOW 12864# else 12865# define LT_DLLAZY_OR_NOW 0 12866# endif 12867# endif 12868# endif 12869# endif 12870#endif 12871 12872/* When -fvisibility=hidden is used, assume the code has been annotated 12873 correspondingly for the symbols needed. */ 12874#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12875int fnord () __attribute__((visibility("default"))); 12876#endif 12877 12878int fnord () { return 42; } 12879int main () 12880{ 12881 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12882 int status = $lt_dlunknown; 12883 12884 if (self) 12885 { 12886 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12887 else 12888 { 12889 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12890 else puts (dlerror ()); 12891 } 12892 /* dlclose (self); */ 12893 } 12894 else 12895 puts (dlerror ()); 12896 12897 return status; 12898} 12899_LT_EOF 12900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12901 (eval $ac_link) 2>&5 12902 ac_status=$? 12903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12904 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12905 (./conftest; exit; ) >&5 2>/dev/null 12906 lt_status=$? 12907 case x$lt_status in 12908 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12909 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12910 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12911 esac 12912 else : 12913 # compilation failed 12914 lt_cv_dlopen_self=no 12915 fi 12916fi 12917rm -fr conftest* 12918 12919 12920fi 12921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12922$as_echo "$lt_cv_dlopen_self" >&6; } 12923 12924 if test yes = "$lt_cv_dlopen_self"; then 12925 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12927$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12928if ${lt_cv_dlopen_self_static+:} false; then : 12929 $as_echo_n "(cached) " >&6 12930else 12931 if test yes = "$cross_compiling"; then : 12932 lt_cv_dlopen_self_static=cross 12933else 12934 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12935 lt_status=$lt_dlunknown 12936 cat > conftest.$ac_ext <<_LT_EOF 12937#line $LINENO "configure" 12938#include "confdefs.h" 12939 12940#if HAVE_DLFCN_H 12941#include <dlfcn.h> 12942#endif 12943 12944#include <stdio.h> 12945 12946#ifdef RTLD_GLOBAL 12947# define LT_DLGLOBAL RTLD_GLOBAL 12948#else 12949# ifdef DL_GLOBAL 12950# define LT_DLGLOBAL DL_GLOBAL 12951# else 12952# define LT_DLGLOBAL 0 12953# endif 12954#endif 12955 12956/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12957 find out it does not work in some platform. */ 12958#ifndef LT_DLLAZY_OR_NOW 12959# ifdef RTLD_LAZY 12960# define LT_DLLAZY_OR_NOW RTLD_LAZY 12961# else 12962# ifdef DL_LAZY 12963# define LT_DLLAZY_OR_NOW DL_LAZY 12964# else 12965# ifdef RTLD_NOW 12966# define LT_DLLAZY_OR_NOW RTLD_NOW 12967# else 12968# ifdef DL_NOW 12969# define LT_DLLAZY_OR_NOW DL_NOW 12970# else 12971# define LT_DLLAZY_OR_NOW 0 12972# endif 12973# endif 12974# endif 12975# endif 12976#endif 12977 12978/* When -fvisibility=hidden is used, assume the code has been annotated 12979 correspondingly for the symbols needed. */ 12980#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12981int fnord () __attribute__((visibility("default"))); 12982#endif 12983 12984int fnord () { return 42; } 12985int main () 12986{ 12987 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12988 int status = $lt_dlunknown; 12989 12990 if (self) 12991 { 12992 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12993 else 12994 { 12995 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12996 else puts (dlerror ()); 12997 } 12998 /* dlclose (self); */ 12999 } 13000 else 13001 puts (dlerror ()); 13002 13003 return status; 13004} 13005_LT_EOF 13006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13007 (eval $ac_link) 2>&5 13008 ac_status=$? 13009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13010 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13011 (./conftest; exit; ) >&5 2>/dev/null 13012 lt_status=$? 13013 case x$lt_status in 13014 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13015 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13016 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13017 esac 13018 else : 13019 # compilation failed 13020 lt_cv_dlopen_self_static=no 13021 fi 13022fi 13023rm -fr conftest* 13024 13025 13026fi 13027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13028$as_echo "$lt_cv_dlopen_self_static" >&6; } 13029 fi 13030 13031 CPPFLAGS=$save_CPPFLAGS 13032 LDFLAGS=$save_LDFLAGS 13033 LIBS=$save_LIBS 13034 ;; 13035 esac 13036 13037 case $lt_cv_dlopen_self in 13038 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13039 *) enable_dlopen_self=unknown ;; 13040 esac 13041 13042 case $lt_cv_dlopen_self_static in 13043 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13044 *) enable_dlopen_self_static=unknown ;; 13045 esac 13046fi 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064striplib= 13065old_striplib= 13066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13067$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13068if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13069 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13070 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13072$as_echo "yes" >&6; } 13073else 13074# FIXME - insert some real tests, host_os isn't really good enough 13075 case $host_os in 13076 darwin*) 13077 if test -n "$STRIP"; then 13078 striplib="$STRIP -x" 13079 old_striplib="$STRIP -S" 13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13081$as_echo "yes" >&6; } 13082 else 13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13084$as_echo "no" >&6; } 13085 fi 13086 ;; 13087 *) 13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13089$as_echo "no" >&6; } 13090 ;; 13091 esac 13092fi 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 # Report what library types will actually be built 13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13107$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13109$as_echo "$can_build_shared" >&6; } 13110 13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13112$as_echo_n "checking whether to build shared libraries... " >&6; } 13113 test no = "$can_build_shared" && enable_shared=no 13114 13115 # On AIX, shared libraries and static libraries use the same namespace, and 13116 # are all built from PIC. 13117 case $host_os in 13118 aix3*) 13119 test yes = "$enable_shared" && enable_static=no 13120 if test -n "$RANLIB"; then 13121 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13122 postinstall_cmds='$RANLIB $lib' 13123 fi 13124 ;; 13125 13126 aix[4-9]*) 13127 if test ia64 != "$host_cpu"; then 13128 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13129 yes,aix,yes) ;; # shared object as lib.so file only 13130 yes,svr4,*) ;; # shared object as lib.so archive member only 13131 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13132 esac 13133 fi 13134 ;; 13135 esac 13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13137$as_echo "$enable_shared" >&6; } 13138 13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13140$as_echo_n "checking whether to build static libraries... " >&6; } 13141 # Make sure either enable_shared or enable_static is yes. 13142 test yes = "$enable_shared" || enable_static=yes 13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13144$as_echo "$enable_static" >&6; } 13145 13146 13147 13148 13149fi 13150ac_ext=c 13151ac_cpp='$CPP $CPPFLAGS' 13152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13154ac_compiler_gnu=$ac_cv_c_compiler_gnu 13155 13156CC=$lt_save_CC 13157 13158 if test -n "$CXX" && ( test no != "$CXX" && 13159 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 13160 (test g++ != "$CXX"))); then 13161 ac_ext=cpp 13162ac_cpp='$CXXCPP $CPPFLAGS' 13163ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13164ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13165ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 13167$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13168if test -z "$CXXCPP"; then 13169 if ${ac_cv_prog_CXXCPP+:} false; then : 13170 $as_echo_n "(cached) " >&6 13171else 13172 # Double quotes because CXXCPP needs to be expanded 13173 for CXXCPP in "$CXX -E" "/lib/cpp" 13174 do 13175 ac_preproc_ok=false 13176for ac_cxx_preproc_warn_flag in '' yes 13177do 13178 # Use a header file that comes with gcc, so configuring glibc 13179 # with a fresh cross-compiler works. 13180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13181 # <limits.h> exists even on freestanding compilers. 13182 # On the NeXT, cc -E runs the code through the compiler's parser, 13183 # not just through cpp. "Syntax error" is here to catch this case. 13184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13185/* end confdefs.h. */ 13186#ifdef __STDC__ 13187# include <limits.h> 13188#else 13189# include <assert.h> 13190#endif 13191 Syntax error 13192_ACEOF 13193if ac_fn_cxx_try_cpp "$LINENO"; then : 13194 13195else 13196 # Broken: fails on valid input. 13197continue 13198fi 13199rm -f conftest.err conftest.i conftest.$ac_ext 13200 13201 # OK, works on sane cases. Now check whether nonexistent headers 13202 # can be detected and how. 13203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13204/* end confdefs.h. */ 13205#include <ac_nonexistent.h> 13206_ACEOF 13207if ac_fn_cxx_try_cpp "$LINENO"; then : 13208 # Broken: success on invalid input. 13209continue 13210else 13211 # Passes both tests. 13212ac_preproc_ok=: 13213break 13214fi 13215rm -f conftest.err conftest.i conftest.$ac_ext 13216 13217done 13218# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13219rm -f conftest.i conftest.err conftest.$ac_ext 13220if $ac_preproc_ok; then : 13221 break 13222fi 13223 13224 done 13225 ac_cv_prog_CXXCPP=$CXXCPP 13226 13227fi 13228 CXXCPP=$ac_cv_prog_CXXCPP 13229else 13230 ac_cv_prog_CXXCPP=$CXXCPP 13231fi 13232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 13233$as_echo "$CXXCPP" >&6; } 13234ac_preproc_ok=false 13235for ac_cxx_preproc_warn_flag in '' yes 13236do 13237 # Use a header file that comes with gcc, so configuring glibc 13238 # with a fresh cross-compiler works. 13239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13240 # <limits.h> exists even on freestanding compilers. 13241 # On the NeXT, cc -E runs the code through the compiler's parser, 13242 # not just through cpp. "Syntax error" is here to catch this case. 13243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13244/* end confdefs.h. */ 13245#ifdef __STDC__ 13246# include <limits.h> 13247#else 13248# include <assert.h> 13249#endif 13250 Syntax error 13251_ACEOF 13252if ac_fn_cxx_try_cpp "$LINENO"; then : 13253 13254else 13255 # Broken: fails on valid input. 13256continue 13257fi 13258rm -f conftest.err conftest.i conftest.$ac_ext 13259 13260 # OK, works on sane cases. Now check whether nonexistent headers 13261 # can be detected and how. 13262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13263/* end confdefs.h. */ 13264#include <ac_nonexistent.h> 13265_ACEOF 13266if ac_fn_cxx_try_cpp "$LINENO"; then : 13267 # Broken: success on invalid input. 13268continue 13269else 13270 # Passes both tests. 13271ac_preproc_ok=: 13272break 13273fi 13274rm -f conftest.err conftest.i conftest.$ac_ext 13275 13276done 13277# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13278rm -f conftest.i conftest.err conftest.$ac_ext 13279if $ac_preproc_ok; then : 13280 13281else 13282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13283$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13284as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 13285See \`config.log' for more details" "$LINENO" 5; } 13286fi 13287 13288ac_ext=c 13289ac_cpp='$CPP $CPPFLAGS' 13290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13292ac_compiler_gnu=$ac_cv_c_compiler_gnu 13293 13294else 13295 _lt_caught_CXX_error=yes 13296fi 13297 13298ac_ext=cpp 13299ac_cpp='$CXXCPP $CPPFLAGS' 13300ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13301ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13302ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13303 13304archive_cmds_need_lc_CXX=no 13305allow_undefined_flag_CXX= 13306always_export_symbols_CXX=no 13307archive_expsym_cmds_CXX= 13308compiler_needs_object_CXX=no 13309export_dynamic_flag_spec_CXX= 13310hardcode_direct_CXX=no 13311hardcode_direct_absolute_CXX=no 13312hardcode_libdir_flag_spec_CXX= 13313hardcode_libdir_separator_CXX= 13314hardcode_minus_L_CXX=no 13315hardcode_shlibpath_var_CXX=unsupported 13316hardcode_automatic_CXX=no 13317inherit_rpath_CXX=no 13318module_cmds_CXX= 13319module_expsym_cmds_CXX= 13320link_all_deplibs_CXX=unknown 13321old_archive_cmds_CXX=$old_archive_cmds 13322reload_flag_CXX=$reload_flag 13323reload_cmds_CXX=$reload_cmds 13324no_undefined_flag_CXX= 13325whole_archive_flag_spec_CXX= 13326enable_shared_with_static_runtimes_CXX=no 13327 13328# Source file extension for C++ test sources. 13329ac_ext=cpp 13330 13331# Object file extension for compiled C++ test sources. 13332objext=o 13333objext_CXX=$objext 13334 13335# No sense in running all these tests if we already determined that 13336# the CXX compiler isn't working. Some variables (like enable_shared) 13337# are currently assumed to apply to all compilers on this platform, 13338# and will be corrupted by setting them based on a non-working compiler. 13339if test yes != "$_lt_caught_CXX_error"; then 13340 # Code to be used in simple compile tests 13341 lt_simple_compile_test_code="int some_variable = 0;" 13342 13343 # Code to be used in simple link tests 13344 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 13345 13346 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13347 13348 13349 13350 13351 13352 13353# If no C compiler was specified, use CC. 13354LTCC=${LTCC-"$CC"} 13355 13356# If no C compiler flags were specified, use CFLAGS. 13357LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13358 13359# Allow CC to be a program name with arguments. 13360compiler=$CC 13361 13362 13363 # save warnings/boilerplate of simple test code 13364 ac_outfile=conftest.$ac_objext 13365echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13366eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13367_lt_compiler_boilerplate=`cat conftest.err` 13368$RM conftest* 13369 13370 ac_outfile=conftest.$ac_objext 13371echo "$lt_simple_link_test_code" >conftest.$ac_ext 13372eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13373_lt_linker_boilerplate=`cat conftest.err` 13374$RM -r conftest* 13375 13376 13377 # Allow CC to be a program name with arguments. 13378 lt_save_CC=$CC 13379 lt_save_CFLAGS=$CFLAGS 13380 lt_save_LD=$LD 13381 lt_save_GCC=$GCC 13382 GCC=$GXX 13383 lt_save_with_gnu_ld=$with_gnu_ld 13384 lt_save_path_LD=$lt_cv_path_LD 13385 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13386 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13387 else 13388 $as_unset lt_cv_prog_gnu_ld 13389 fi 13390 if test -n "${lt_cv_path_LDCXX+set}"; then 13391 lt_cv_path_LD=$lt_cv_path_LDCXX 13392 else 13393 $as_unset lt_cv_path_LD 13394 fi 13395 test -z "${LDCXX+set}" || LD=$LDCXX 13396 CC=${CXX-"c++"} 13397 CFLAGS=$CXXFLAGS 13398 compiler=$CC 13399 compiler_CXX=$CC 13400 func_cc_basename $compiler 13401cc_basename=$func_cc_basename_result 13402 13403 13404 if test -n "$compiler"; then 13405 # We don't want -fno-exception when compiling C++ code, so set the 13406 # no_builtin_flag separately 13407 if test yes = "$GXX"; then 13408 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13409 else 13410 lt_prog_compiler_no_builtin_flag_CXX= 13411 fi 13412 13413 if test yes = "$GXX"; then 13414 # Set up default GNU C++ configuration 13415 13416 13417 13418# Check whether --with-gnu-ld was given. 13419if test "${with_gnu_ld+set}" = set; then : 13420 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 13421else 13422 with_gnu_ld=no 13423fi 13424 13425ac_prog=ld 13426if test yes = "$GCC"; then 13427 # Check if gcc -print-prog-name=ld gives a path. 13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13429$as_echo_n "checking for ld used by $CC... " >&6; } 13430 case $host in 13431 *-*-mingw*) 13432 # gcc leaves a trailing carriage return, which upsets mingw 13433 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13434 *) 13435 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13436 esac 13437 case $ac_prog in 13438 # Accept absolute paths. 13439 [\\/]* | ?:[\\/]*) 13440 re_direlt='/[^/][^/]*/\.\./' 13441 # Canonicalize the pathname of ld 13442 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13443 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13444 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13445 done 13446 test -z "$LD" && LD=$ac_prog 13447 ;; 13448 "") 13449 # If it fails, then pretend we aren't using GCC. 13450 ac_prog=ld 13451 ;; 13452 *) 13453 # If it is relative, then search for the first ld in PATH. 13454 with_gnu_ld=unknown 13455 ;; 13456 esac 13457elif test yes = "$with_gnu_ld"; then 13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 13459$as_echo_n "checking for GNU ld... " >&6; } 13460else 13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 13462$as_echo_n "checking for non-GNU ld... " >&6; } 13463fi 13464if ${lt_cv_path_LD+:} false; then : 13465 $as_echo_n "(cached) " >&6 13466else 13467 if test -z "$LD"; then 13468 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 13469 for ac_dir in $PATH; do 13470 IFS=$lt_save_ifs 13471 test -z "$ac_dir" && ac_dir=. 13472 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 13473 lt_cv_path_LD=$ac_dir/$ac_prog 13474 # Check to see if the program is GNU ld. I'd rather use --version, 13475 # but apparently some variants of GNU ld only accept -v. 13476 # Break only if it was the GNU/non-GNU ld that we prefer. 13477 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 13478 *GNU* | *'with BFD'*) 13479 test no != "$with_gnu_ld" && break 13480 ;; 13481 *) 13482 test yes != "$with_gnu_ld" && break 13483 ;; 13484 esac 13485 fi 13486 done 13487 IFS=$lt_save_ifs 13488else 13489 lt_cv_path_LD=$LD # Let the user override the test with a path. 13490fi 13491fi 13492 13493LD=$lt_cv_path_LD 13494if test -n "$LD"; then 13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 13496$as_echo "$LD" >&6; } 13497else 13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13499$as_echo "no" >&6; } 13500fi 13501test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 13502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 13503$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 13504if ${lt_cv_prog_gnu_ld+:} false; then : 13505 $as_echo_n "(cached) " >&6 13506else 13507 # I'd rather use --version here, but apparently some GNU lds only accept -v. 13508case `$LD -v 2>&1 </dev/null` in 13509*GNU* | *'with BFD'*) 13510 lt_cv_prog_gnu_ld=yes 13511 ;; 13512*) 13513 lt_cv_prog_gnu_ld=no 13514 ;; 13515esac 13516fi 13517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 13518$as_echo "$lt_cv_prog_gnu_ld" >&6; } 13519with_gnu_ld=$lt_cv_prog_gnu_ld 13520 13521 13522 13523 13524 13525 13526 13527 # Check if GNU C++ uses GNU ld as the underlying linker, since the 13528 # archiving commands below assume that GNU ld is being used. 13529 if test yes = "$with_gnu_ld"; then 13530 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13531 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 13532 13533 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13534 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13535 13536 # If archive_cmds runs LD, not CC, wlarc should be empty 13537 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 13538 # investigate it a little bit more. (MM) 13539 wlarc='$wl' 13540 13541 # ancient GNU ld didn't support --whole-archive et. al. 13542 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 13543 $GREP 'no-whole-archive' > /dev/null; then 13544 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 13545 else 13546 whole_archive_flag_spec_CXX= 13547 fi 13548 else 13549 with_gnu_ld=no 13550 wlarc= 13551 13552 # A generic and very simple default shared library creation 13553 # command for GNU C++ for the case where it uses the native 13554 # linker, instead of GNU ld. If possible, this setting should 13555 # overridden to take advantage of the native linker features on 13556 # the platform it is being used on. 13557 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13558 fi 13559 13560 # Commands to make compiler produce verbose output that lists 13561 # what "hidden" libraries, object files and flags are used when 13562 # linking a shared library. 13563 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13564 13565 else 13566 GXX=no 13567 with_gnu_ld=no 13568 wlarc= 13569 fi 13570 13571 # PORTME: fill in a description of your system's C++ link characteristics 13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 13573$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 13574 ld_shlibs_CXX=yes 13575 case $host_os in 13576 aix3*) 13577 # FIXME: insert proper C++ library support 13578 ld_shlibs_CXX=no 13579 ;; 13580 aix[4-9]*) 13581 if test ia64 = "$host_cpu"; then 13582 # On IA64, the linker does run time linking by default, so we don't 13583 # have to do anything special. 13584 aix_use_runtimelinking=no 13585 exp_sym_flag='-Bexport' 13586 no_entry_flag= 13587 else 13588 aix_use_runtimelinking=no 13589 13590 # Test if we are trying to use run time linking or normal 13591 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 13592 # have runtime linking enabled, and use it for executables. 13593 # For shared libraries, we enable/disable runtime linking 13594 # depending on the kind of the shared library created - 13595 # when "with_aix_soname,aix_use_runtimelinking" is: 13596 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 13597 # "aix,yes" lib.so shared, rtl:yes, for executables 13598 # lib.a static archive 13599 # "both,no" lib.so.V(shr.o) shared, rtl:yes 13600 # lib.a(lib.so.V) shared, rtl:no, for executables 13601 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 13602 # lib.a(lib.so.V) shared, rtl:no 13603 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 13604 # lib.a static archive 13605 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 13606 for ld_flag in $LDFLAGS; do 13607 case $ld_flag in 13608 *-brtl*) 13609 aix_use_runtimelinking=yes 13610 break 13611 ;; 13612 esac 13613 done 13614 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 13615 # With aix-soname=svr4, we create the lib.so.V shared archives only, 13616 # so we don't have lib.a shared libs to link our executables. 13617 # We have to force runtime linking in this case. 13618 aix_use_runtimelinking=yes 13619 LDFLAGS="$LDFLAGS -Wl,-brtl" 13620 fi 13621 ;; 13622 esac 13623 13624 exp_sym_flag='-bexport' 13625 no_entry_flag='-bnoentry' 13626 fi 13627 13628 # When large executables or shared objects are built, AIX ld can 13629 # have problems creating the table of contents. If linking a library 13630 # or program results in "error TOC overflow" add -mminimal-toc to 13631 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 13632 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 13633 13634 archive_cmds_CXX='' 13635 hardcode_direct_CXX=yes 13636 hardcode_direct_absolute_CXX=yes 13637 hardcode_libdir_separator_CXX=':' 13638 link_all_deplibs_CXX=yes 13639 file_list_spec_CXX='$wl-f,' 13640 case $with_aix_soname,$aix_use_runtimelinking in 13641 aix,*) ;; # no import file 13642 svr4,* | *,yes) # use import file 13643 # The Import File defines what to hardcode. 13644 hardcode_direct_CXX=no 13645 hardcode_direct_absolute_CXX=no 13646 ;; 13647 esac 13648 13649 if test yes = "$GXX"; then 13650 case $host_os in aix4.[012]|aix4.[012].*) 13651 # We only want to do this on AIX 4.2 and lower, the check 13652 # below for broken collect2 doesn't work under 4.3+ 13653 collect2name=`$CC -print-prog-name=collect2` 13654 if test -f "$collect2name" && 13655 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 13656 then 13657 # We have reworked collect2 13658 : 13659 else 13660 # We have old collect2 13661 hardcode_direct_CXX=unsupported 13662 # It fails to find uninstalled libraries when the uninstalled 13663 # path is not listed in the libpath. Setting hardcode_minus_L 13664 # to unsupported forces relinking 13665 hardcode_minus_L_CXX=yes 13666 hardcode_libdir_flag_spec_CXX='-L$libdir' 13667 hardcode_libdir_separator_CXX= 13668 fi 13669 esac 13670 shared_flag='-shared' 13671 if test yes = "$aix_use_runtimelinking"; then 13672 shared_flag=$shared_flag' $wl-G' 13673 fi 13674 # Need to ensure runtime linking is disabled for the traditional 13675 # shared library, or the linker may eventually find shared libraries 13676 # /with/ Import File - we do not want to mix them. 13677 shared_flag_aix='-shared' 13678 shared_flag_svr4='-shared $wl-G' 13679 else 13680 # not using gcc 13681 if test ia64 = "$host_cpu"; then 13682 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 13683 # chokes on -Wl,-G. The following line is correct: 13684 shared_flag='-G' 13685 else 13686 if test yes = "$aix_use_runtimelinking"; then 13687 shared_flag='$wl-G' 13688 else 13689 shared_flag='$wl-bM:SRE' 13690 fi 13691 shared_flag_aix='$wl-bM:SRE' 13692 shared_flag_svr4='$wl-G' 13693 fi 13694 fi 13695 13696 export_dynamic_flag_spec_CXX='$wl-bexpall' 13697 # It seems that -bexpall does not export symbols beginning with 13698 # underscore (_), so it is better to generate a list of symbols to 13699 # export. 13700 always_export_symbols_CXX=yes 13701 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 13702 # Warning - without using the other runtime loading flags (-brtl), 13703 # -berok will link without error, but may produce a broken library. 13704 # The "-G" linker flag allows undefined symbols. 13705 no_undefined_flag_CXX='-bernotok' 13706 # Determine the default libpath from the value encoded in an empty 13707 # executable. 13708 if test set = "${lt_cv_aix_libpath+set}"; then 13709 aix_libpath=$lt_cv_aix_libpath 13710else 13711 if ${lt_cv_aix_libpath__CXX+:} false; then : 13712 $as_echo_n "(cached) " >&6 13713else 13714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13715/* end confdefs.h. */ 13716 13717int 13718main () 13719{ 13720 13721 ; 13722 return 0; 13723} 13724_ACEOF 13725if ac_fn_cxx_try_link "$LINENO"; then : 13726 13727 lt_aix_libpath_sed=' 13728 /Import File Strings/,/^$/ { 13729 /^0/ { 13730 s/^0 *\([^ ]*\) *$/\1/ 13731 p 13732 } 13733 }' 13734 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13735 # Check for a 64-bit object if we didn't find anything. 13736 if test -z "$lt_cv_aix_libpath__CXX"; then 13737 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13738 fi 13739fi 13740rm -f core conftest.err conftest.$ac_objext \ 13741 conftest$ac_exeext conftest.$ac_ext 13742 if test -z "$lt_cv_aix_libpath__CXX"; then 13743 lt_cv_aix_libpath__CXX=/usr/lib:/lib 13744 fi 13745 13746fi 13747 13748 aix_libpath=$lt_cv_aix_libpath__CXX 13749fi 13750 13751 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13752 13753 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 13754 else 13755 if test ia64 = "$host_cpu"; then 13756 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 13757 allow_undefined_flag_CXX="-z nodefs" 13758 archive_expsym_cmds_CXX="\$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" 13759 else 13760 # Determine the default libpath from the value encoded in an 13761 # empty executable. 13762 if test set = "${lt_cv_aix_libpath+set}"; then 13763 aix_libpath=$lt_cv_aix_libpath 13764else 13765 if ${lt_cv_aix_libpath__CXX+:} false; then : 13766 $as_echo_n "(cached) " >&6 13767else 13768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13769/* end confdefs.h. */ 13770 13771int 13772main () 13773{ 13774 13775 ; 13776 return 0; 13777} 13778_ACEOF 13779if ac_fn_cxx_try_link "$LINENO"; then : 13780 13781 lt_aix_libpath_sed=' 13782 /Import File Strings/,/^$/ { 13783 /^0/ { 13784 s/^0 *\([^ ]*\) *$/\1/ 13785 p 13786 } 13787 }' 13788 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13789 # Check for a 64-bit object if we didn't find anything. 13790 if test -z "$lt_cv_aix_libpath__CXX"; then 13791 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13792 fi 13793fi 13794rm -f core conftest.err conftest.$ac_objext \ 13795 conftest$ac_exeext conftest.$ac_ext 13796 if test -z "$lt_cv_aix_libpath__CXX"; then 13797 lt_cv_aix_libpath__CXX=/usr/lib:/lib 13798 fi 13799 13800fi 13801 13802 aix_libpath=$lt_cv_aix_libpath__CXX 13803fi 13804 13805 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13806 # Warning - without using the other run time loading flags, 13807 # -berok will link without error, but may produce a broken library. 13808 no_undefined_flag_CXX=' $wl-bernotok' 13809 allow_undefined_flag_CXX=' $wl-berok' 13810 if test yes = "$with_gnu_ld"; then 13811 # We only use this code for GNU lds that support --whole-archive. 13812 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 13813 else 13814 # Exported symbols can be pulled into shared objects from archives 13815 whole_archive_flag_spec_CXX='$convenience' 13816 fi 13817 archive_cmds_need_lc_CXX=yes 13818 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 13819 # -brtl affects multiple linker settings, -berok does not and is overridden later 13820 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 13821 if test svr4 != "$with_aix_soname"; then 13822 # This is similar to how AIX traditionally builds its shared 13823 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 13824 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 13825 fi 13826 if test aix != "$with_aix_soname"; then 13827 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 13828 else 13829 # used by -dlpreopen to get the symbols 13830 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 13831 fi 13832 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 13833 fi 13834 fi 13835 ;; 13836 13837 beos*) 13838 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13839 allow_undefined_flag_CXX=unsupported 13840 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 13841 # support --undefined. This deserves some investigation. FIXME 13842 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13843 else 13844 ld_shlibs_CXX=no 13845 fi 13846 ;; 13847 13848 chorus*) 13849 case $cc_basename in 13850 *) 13851 # FIXME: insert proper C++ library support 13852 ld_shlibs_CXX=no 13853 ;; 13854 esac 13855 ;; 13856 13857 cygwin* | mingw* | pw32* | cegcc*) 13858 case $GXX,$cc_basename in 13859 ,cl* | no,cl*) 13860 # Native MSVC 13861 # hardcode_libdir_flag_spec is actually meaningless, as there is 13862 # no search path for DLLs. 13863 hardcode_libdir_flag_spec_CXX=' ' 13864 allow_undefined_flag_CXX=unsupported 13865 always_export_symbols_CXX=yes 13866 file_list_spec_CXX='@' 13867 # Tell ltmain to make .lib files, not .a files. 13868 libext=lib 13869 # Tell ltmain to make .dll files, not .so files. 13870 shrext_cmds=.dll 13871 # FIXME: Setting linknames here is a bad hack. 13872 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 13873 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13874 cp "$export_symbols" "$output_objdir/$soname.def"; 13875 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 13876 else 13877 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 13878 fi~ 13879 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 13880 linknames=' 13881 # The linker will not automatically build a static lib if we build a DLL. 13882 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 13883 enable_shared_with_static_runtimes_CXX=yes 13884 # Don't use ranlib 13885 old_postinstall_cmds_CXX='chmod 644 $oldlib' 13886 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 13887 lt_tool_outputfile="@TOOL_OUTPUT@"~ 13888 case $lt_outputfile in 13889 *.exe|*.EXE) ;; 13890 *) 13891 lt_outputfile=$lt_outputfile.exe 13892 lt_tool_outputfile=$lt_tool_outputfile.exe 13893 ;; 13894 esac~ 13895 func_to_tool_file "$lt_outputfile"~ 13896 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 13897 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 13898 $RM "$lt_outputfile.manifest"; 13899 fi' 13900 ;; 13901 *) 13902 # g++ 13903 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 13904 # as there is no search path for DLLs. 13905 hardcode_libdir_flag_spec_CXX='-L$libdir' 13906 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 13907 allow_undefined_flag_CXX=unsupported 13908 always_export_symbols_CXX=no 13909 enable_shared_with_static_runtimes_CXX=yes 13910 13911 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 13912 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13913 # If the export-symbols file already is a .def file, use it as 13914 # is; otherwise, prepend EXPORTS... 13915 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13916 cp $export_symbols $output_objdir/$soname.def; 13917 else 13918 echo EXPORTS > $output_objdir/$soname.def; 13919 cat $export_symbols >> $output_objdir/$soname.def; 13920 fi~ 13921 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13922 else 13923 ld_shlibs_CXX=no 13924 fi 13925 ;; 13926 esac 13927 ;; 13928 darwin* | rhapsody*) 13929 13930 13931 archive_cmds_need_lc_CXX=no 13932 hardcode_direct_CXX=no 13933 hardcode_automatic_CXX=yes 13934 hardcode_shlibpath_var_CXX=unsupported 13935 if test yes = "$lt_cv_ld_force_load"; then 13936 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 13937 13938 else 13939 whole_archive_flag_spec_CXX='' 13940 fi 13941 link_all_deplibs_CXX=yes 13942 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 13943 case $cc_basename in 13944 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 13945 *) _lt_dar_can_shared=$GCC ;; 13946 esac 13947 if test yes = "$_lt_dar_can_shared"; then 13948 output_verbose_link_cmd=func_echo_all 13949 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 13950 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 13951 archive_expsym_cmds_CXX="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" 13952 module_expsym_cmds_CXX="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" 13953 if test yes != "$lt_cv_apple_cc_single_mod"; then 13954 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" 13955 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" 13956 fi 13957 13958 else 13959 ld_shlibs_CXX=no 13960 fi 13961 13962 ;; 13963 13964 os2*) 13965 hardcode_libdir_flag_spec_CXX='-L$libdir' 13966 hardcode_minus_L_CXX=yes 13967 allow_undefined_flag_CXX=unsupported 13968 shrext_cmds=.dll 13969 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13970 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13971 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13972 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13973 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 13974 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13975 emximp -o $lib $output_objdir/$libname.def' 13976 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13977 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13978 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13979 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13980 prefix_cmds="$SED"~ 13981 if test EXPORTS = "`$SED 1q $export_symbols`"; then 13982 prefix_cmds="$prefix_cmds -e 1d"; 13983 fi~ 13984 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 13985 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 13986 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13987 emximp -o $lib $output_objdir/$libname.def' 13988 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 13989 enable_shared_with_static_runtimes_CXX=yes 13990 ;; 13991 13992 dgux*) 13993 case $cc_basename in 13994 ec++*) 13995 # FIXME: insert proper C++ library support 13996 ld_shlibs_CXX=no 13997 ;; 13998 ghcx*) 13999 # Green Hills C++ Compiler 14000 # FIXME: insert proper C++ library support 14001 ld_shlibs_CXX=no 14002 ;; 14003 *) 14004 # FIXME: insert proper C++ library support 14005 ld_shlibs_CXX=no 14006 ;; 14007 esac 14008 ;; 14009 14010 freebsd2.*) 14011 # C++ shared libraries reported to be fairly broken before 14012 # switch to ELF 14013 ld_shlibs_CXX=no 14014 ;; 14015 14016 freebsd-elf*) 14017 archive_cmds_need_lc_CXX=no 14018 ;; 14019 14020 freebsd* | dragonfly*) 14021 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14022 # conventions 14023 ld_shlibs_CXX=yes 14024 ;; 14025 14026 haiku*) 14027 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14028 link_all_deplibs_CXX=yes 14029 ;; 14030 14031 hpux9*) 14032 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14033 hardcode_libdir_separator_CXX=: 14034 export_dynamic_flag_spec_CXX='$wl-E' 14035 hardcode_direct_CXX=yes 14036 hardcode_minus_L_CXX=yes # Not in the search PATH, 14037 # but as the default 14038 # location of the library. 14039 14040 case $cc_basename in 14041 CC*) 14042 # FIXME: insert proper C++ library support 14043 ld_shlibs_CXX=no 14044 ;; 14045 aCC*) 14046 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 14047 # Commands to make compiler produce verbose output that lists 14048 # what "hidden" libraries, object files and flags are used when 14049 # linking a shared library. 14050 # 14051 # There doesn't appear to be a way to prevent this compiler from 14052 # explicitly linking system object files so we need to strip them 14053 # from the output so that they don't get included in the library 14054 # dependencies. 14055 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14056 ;; 14057 *) 14058 if test yes = "$GXX"; then 14059 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 14060 else 14061 # FIXME: insert proper C++ library support 14062 ld_shlibs_CXX=no 14063 fi 14064 ;; 14065 esac 14066 ;; 14067 14068 hpux10*|hpux11*) 14069 if test no = "$with_gnu_ld"; then 14070 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14071 hardcode_libdir_separator_CXX=: 14072 14073 case $host_cpu in 14074 hppa*64*|ia64*) 14075 ;; 14076 *) 14077 export_dynamic_flag_spec_CXX='$wl-E' 14078 ;; 14079 esac 14080 fi 14081 case $host_cpu in 14082 hppa*64*|ia64*) 14083 hardcode_direct_CXX=no 14084 hardcode_shlibpath_var_CXX=no 14085 ;; 14086 *) 14087 hardcode_direct_CXX=yes 14088 hardcode_direct_absolute_CXX=yes 14089 hardcode_minus_L_CXX=yes # Not in the search PATH, 14090 # but as the default 14091 # location of the library. 14092 ;; 14093 esac 14094 14095 case $cc_basename in 14096 CC*) 14097 # FIXME: insert proper C++ library support 14098 ld_shlibs_CXX=no 14099 ;; 14100 aCC*) 14101 case $host_cpu in 14102 hppa*64*) 14103 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14104 ;; 14105 ia64*) 14106 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14107 ;; 14108 *) 14109 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14110 ;; 14111 esac 14112 # Commands to make compiler produce verbose output that lists 14113 # what "hidden" libraries, object files and flags are used when 14114 # linking a shared library. 14115 # 14116 # There doesn't appear to be a way to prevent this compiler from 14117 # explicitly linking system object files so we need to strip them 14118 # from the output so that they don't get included in the library 14119 # dependencies. 14120 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14121 ;; 14122 *) 14123 if test yes = "$GXX"; then 14124 if test no = "$with_gnu_ld"; then 14125 case $host_cpu in 14126 hppa*64*) 14127 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14128 ;; 14129 ia64*) 14130 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14131 ;; 14132 *) 14133 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14134 ;; 14135 esac 14136 fi 14137 else 14138 # FIXME: insert proper C++ library support 14139 ld_shlibs_CXX=no 14140 fi 14141 ;; 14142 esac 14143 ;; 14144 14145 interix[3-9]*) 14146 hardcode_direct_CXX=no 14147 hardcode_shlibpath_var_CXX=no 14148 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14149 export_dynamic_flag_spec_CXX='$wl-E' 14150 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14151 # Instead, shared libraries are loaded at an image base (0x10000000 by 14152 # default) and relocated if they conflict, which is a slow very memory 14153 # consuming and fragmenting process. To avoid this, we pick a random, 14154 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14155 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14156 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 14157 archive_expsym_cmds_CXX='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' 14158 ;; 14159 irix5* | irix6*) 14160 case $cc_basename in 14161 CC*) 14162 # SGI C++ 14163 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 14164 14165 # Archives containing C++ object files must be created using 14166 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14167 # necessary to make sure instantiated templates are included 14168 # in the archive. 14169 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14170 ;; 14171 *) 14172 if test yes = "$GXX"; then 14173 if test no = "$with_gnu_ld"; then 14174 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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' 14175 else 14176 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' 14177 fi 14178 fi 14179 link_all_deplibs_CXX=yes 14180 ;; 14181 esac 14182 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14183 hardcode_libdir_separator_CXX=: 14184 inherit_rpath_CXX=yes 14185 ;; 14186 14187 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14188 case $cc_basename in 14189 KCC*) 14190 # Kuck and Associates, Inc. (KAI) C++ Compiler 14191 14192 # KCC will only create a shared library if the output file 14193 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14194 # to its proper name (with version) after linking. 14195 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 14196 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' 14197 # Commands to make compiler produce verbose output that lists 14198 # what "hidden" libraries, object files and flags are used when 14199 # linking a shared library. 14200 # 14201 # There doesn't appear to be a way to prevent this compiler from 14202 # explicitly linking system object files so we need to strip them 14203 # from the output so that they don't get included in the library 14204 # dependencies. 14205 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14206 14207 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14208 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14209 14210 # Archives containing C++ object files must be created using 14211 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14212 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14213 ;; 14214 icpc* | ecpc* ) 14215 # Intel C++ 14216 with_gnu_ld=yes 14217 # version 8.0 and above of icpc choke on multiply defined symbols 14218 # if we add $predep_objects and $postdep_objects, however 7.1 and 14219 # earlier do not add the objects themselves. 14220 case `$CC -V 2>&1` in 14221 *"Version 7."*) 14222 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14223 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14224 ;; 14225 *) # Version 8.0 or newer 14226 tmp_idyn= 14227 case $host_cpu in 14228 ia64*) tmp_idyn=' -i_dynamic';; 14229 esac 14230 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14231 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14232 ;; 14233 esac 14234 archive_cmds_need_lc_CXX=no 14235 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14236 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14237 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14238 ;; 14239 pgCC* | pgcpp*) 14240 # Portland Group C++ compiler 14241 case `$CC -V` in 14242 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 14243 prelink_cmds_CXX='tpldir=Template.dir~ 14244 rm -rf $tpldir~ 14245 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14246 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 14247 old_archive_cmds_CXX='tpldir=Template.dir~ 14248 rm -rf $tpldir~ 14249 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14250 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14251 $RANLIB $oldlib' 14252 archive_cmds_CXX='tpldir=Template.dir~ 14253 rm -rf $tpldir~ 14254 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14255 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14256 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14257 rm -rf $tpldir~ 14258 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14259 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14260 ;; 14261 *) # Version 6 and above use weak symbols 14262 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14263 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14264 ;; 14265 esac 14266 14267 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 14268 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14269 whole_archive_flag_spec_CXX='$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' 14270 ;; 14271 cxx*) 14272 # Compaq C++ 14273 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14274 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' 14275 14276 runpath_var=LD_RUN_PATH 14277 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14278 hardcode_libdir_separator_CXX=: 14279 14280 # Commands to make compiler produce verbose output that lists 14281 # what "hidden" libraries, object files and flags are used when 14282 # linking a shared library. 14283 # 14284 # There doesn't appear to be a way to prevent this compiler from 14285 # explicitly linking system object files so we need to strip them 14286 # from the output so that they don't get included in the library 14287 # dependencies. 14288 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 14289 ;; 14290 xl* | mpixl* | bgxl*) 14291 # IBM XL 8.0 on PPC, with GNU ld 14292 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14293 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14294 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14295 if test yes = "$supports_anon_versioning"; then 14296 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14297 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14298 echo "local: *; };" >> $output_objdir/$libname.ver~ 14299 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 14300 fi 14301 ;; 14302 *) 14303 case `$CC -V 2>&1 | sed 5q` in 14304 *Sun\ C*) 14305 # Sun C++ 5.9 14306 no_undefined_flag_CXX=' -zdefs' 14307 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14308 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' 14309 hardcode_libdir_flag_spec_CXX='-R$libdir' 14310 whole_archive_flag_spec_CXX='$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' 14311 compiler_needs_object_CXX=yes 14312 14313 # Not sure whether something based on 14314 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14315 # would be better. 14316 output_verbose_link_cmd='func_echo_all' 14317 14318 # Archives containing C++ object files must be created using 14319 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14320 # necessary to make sure instantiated templates are included 14321 # in the archive. 14322 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14323 ;; 14324 esac 14325 ;; 14326 esac 14327 ;; 14328 14329 lynxos*) 14330 # FIXME: insert proper C++ library support 14331 ld_shlibs_CXX=no 14332 ;; 14333 14334 m88k*) 14335 # FIXME: insert proper C++ library support 14336 ld_shlibs_CXX=no 14337 ;; 14338 14339 mvs*) 14340 case $cc_basename in 14341 cxx*) 14342 # FIXME: insert proper C++ library support 14343 ld_shlibs_CXX=no 14344 ;; 14345 *) 14346 # FIXME: insert proper C++ library support 14347 ld_shlibs_CXX=no 14348 ;; 14349 esac 14350 ;; 14351 14352 netbsd*) 14353 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14354 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14355 wlarc= 14356 hardcode_libdir_flag_spec_CXX='-R$libdir' 14357 hardcode_direct_CXX=yes 14358 hardcode_shlibpath_var_CXX=no 14359 fi 14360 # Workaround some broken pre-1.5 toolchains 14361 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14362 ;; 14363 14364 *nto* | *qnx*) 14365 ld_shlibs_CXX=yes 14366 ;; 14367 14368 openbsd* | bitrig*) 14369 if test -f /usr/libexec/ld.so; then 14370 hardcode_direct_CXX=yes 14371 hardcode_shlibpath_var_CXX=no 14372 hardcode_direct_absolute_CXX=yes 14373 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14374 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14375 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 14376 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 14377 export_dynamic_flag_spec_CXX='$wl-E' 14378 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14379 fi 14380 output_verbose_link_cmd=func_echo_all 14381 else 14382 ld_shlibs_CXX=no 14383 fi 14384 ;; 14385 14386 osf3* | osf4* | osf5*) 14387 case $cc_basename in 14388 KCC*) 14389 # Kuck and Associates, Inc. (KAI) C++ Compiler 14390 14391 # KCC will only create a shared library if the output file 14392 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14393 # to its proper name (with version) after linking. 14394 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 14395 14396 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14397 hardcode_libdir_separator_CXX=: 14398 14399 # Archives containing C++ object files must be created using 14400 # the KAI C++ compiler. 14401 case $host in 14402 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14403 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14404 esac 14405 ;; 14406 RCC*) 14407 # Rational C++ 2.4.1 14408 # FIXME: insert proper C++ library support 14409 ld_shlibs_CXX=no 14410 ;; 14411 cxx*) 14412 case $host in 14413 osf3*) 14414 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14415 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 14416 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14417 ;; 14418 *) 14419 allow_undefined_flag_CXX=' -expect_unresolved \*' 14420 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 14421 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14422 echo "-hidden">> $lib.exp~ 14423 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ 14424 $RM $lib.exp' 14425 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14426 ;; 14427 esac 14428 14429 hardcode_libdir_separator_CXX=: 14430 14431 # Commands to make compiler produce verbose output that lists 14432 # what "hidden" libraries, object files and flags are used when 14433 # linking a shared library. 14434 # 14435 # There doesn't appear to be a way to prevent this compiler from 14436 # explicitly linking system object files so we need to strip them 14437 # from the output so that they don't get included in the library 14438 # dependencies. 14439 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14440 ;; 14441 *) 14442 if test yes,no = "$GXX,$with_gnu_ld"; then 14443 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14444 case $host in 14445 osf3*) 14446 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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' 14447 ;; 14448 *) 14449 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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' 14450 ;; 14451 esac 14452 14453 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14454 hardcode_libdir_separator_CXX=: 14455 14456 # Commands to make compiler produce verbose output that lists 14457 # what "hidden" libraries, object files and flags are used when 14458 # linking a shared library. 14459 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14460 14461 else 14462 # FIXME: insert proper C++ library support 14463 ld_shlibs_CXX=no 14464 fi 14465 ;; 14466 esac 14467 ;; 14468 14469 psos*) 14470 # FIXME: insert proper C++ library support 14471 ld_shlibs_CXX=no 14472 ;; 14473 14474 sunos4*) 14475 case $cc_basename in 14476 CC*) 14477 # Sun C++ 4.x 14478 # FIXME: insert proper C++ library support 14479 ld_shlibs_CXX=no 14480 ;; 14481 lcc*) 14482 # Lucid 14483 # FIXME: insert proper C++ library support 14484 ld_shlibs_CXX=no 14485 ;; 14486 *) 14487 # FIXME: insert proper C++ library support 14488 ld_shlibs_CXX=no 14489 ;; 14490 esac 14491 ;; 14492 14493 solaris*) 14494 case $cc_basename in 14495 CC* | sunCC*) 14496 # Sun C++ 4.2, 5.x and Centerline C++ 14497 archive_cmds_need_lc_CXX=yes 14498 no_undefined_flag_CXX=' -zdefs' 14499 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14500 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14501 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14502 14503 hardcode_libdir_flag_spec_CXX='-R$libdir' 14504 hardcode_shlibpath_var_CXX=no 14505 case $host_os in 14506 solaris2.[0-5] | solaris2.[0-5].*) ;; 14507 *) 14508 # The compiler driver will combine and reorder linker options, 14509 # but understands '-z linker_flag'. 14510 # Supported since Solaris 2.6 (maybe 2.5.1?) 14511 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 14512 ;; 14513 esac 14514 link_all_deplibs_CXX=yes 14515 14516 output_verbose_link_cmd='func_echo_all' 14517 14518 # Archives containing C++ object files must be created using 14519 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14520 # necessary to make sure instantiated templates are included 14521 # in the archive. 14522 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14523 ;; 14524 gcx*) 14525 # Green Hills C++ Compiler 14526 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14527 14528 # The C++ compiler must be used to create the archive. 14529 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 14530 ;; 14531 *) 14532 # GNU C++ compiler with Solaris linker 14533 if test yes,no = "$GXX,$with_gnu_ld"; then 14534 no_undefined_flag_CXX=' $wl-z ${wl}defs' 14535 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 14536 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14537 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14538 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14539 14540 # Commands to make compiler produce verbose output that lists 14541 # what "hidden" libraries, object files and flags are used when 14542 # linking a shared library. 14543 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14544 else 14545 # g++ 2.7 appears to require '-G' NOT '-shared' on this 14546 # platform. 14547 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14548 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14549 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14550 14551 # Commands to make compiler produce verbose output that lists 14552 # what "hidden" libraries, object files and flags are used when 14553 # linking a shared library. 14554 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14555 fi 14556 14557 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 14558 case $host_os in 14559 solaris2.[0-5] | solaris2.[0-5].*) ;; 14560 *) 14561 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 14562 ;; 14563 esac 14564 fi 14565 ;; 14566 esac 14567 ;; 14568 14569 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 14570 no_undefined_flag_CXX='$wl-z,text' 14571 archive_cmds_need_lc_CXX=no 14572 hardcode_shlibpath_var_CXX=no 14573 runpath_var='LD_RUN_PATH' 14574 14575 case $cc_basename in 14576 CC*) 14577 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14578 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14579 ;; 14580 *) 14581 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14582 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14583 ;; 14584 esac 14585 ;; 14586 14587 sysv5* | sco3.2v5* | sco5v6*) 14588 # Note: We CANNOT use -z defs as we might desire, because we do not 14589 # link with -lc, and that would cause any symbols used from libc to 14590 # always be unresolved, which means just about no library would 14591 # ever link correctly. If we're not using GNU ld we use -z text 14592 # though, which does catch some bad symbols but isn't as heavy-handed 14593 # as -z defs. 14594 no_undefined_flag_CXX='$wl-z,text' 14595 allow_undefined_flag_CXX='$wl-z,nodefs' 14596 archive_cmds_need_lc_CXX=no 14597 hardcode_shlibpath_var_CXX=no 14598 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 14599 hardcode_libdir_separator_CXX=':' 14600 link_all_deplibs_CXX=yes 14601 export_dynamic_flag_spec_CXX='$wl-Bexport' 14602 runpath_var='LD_RUN_PATH' 14603 14604 case $cc_basename in 14605 CC*) 14606 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14607 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14608 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 14609 '"$old_archive_cmds_CXX" 14610 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 14611 '"$reload_cmds_CXX" 14612 ;; 14613 *) 14614 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14615 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14616 ;; 14617 esac 14618 ;; 14619 14620 tandem*) 14621 case $cc_basename in 14622 NCC*) 14623 # NonStop-UX NCC 3.20 14624 # FIXME: insert proper C++ library support 14625 ld_shlibs_CXX=no 14626 ;; 14627 *) 14628 # FIXME: insert proper C++ library support 14629 ld_shlibs_CXX=no 14630 ;; 14631 esac 14632 ;; 14633 14634 vxworks*) 14635 # FIXME: insert proper C++ library support 14636 ld_shlibs_CXX=no 14637 ;; 14638 14639 *) 14640 # FIXME: insert proper C++ library support 14641 ld_shlibs_CXX=no 14642 ;; 14643 esac 14644 14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14646$as_echo "$ld_shlibs_CXX" >&6; } 14647 test no = "$ld_shlibs_CXX" && can_build_shared=no 14648 14649 GCC_CXX=$GXX 14650 LD_CXX=$LD 14651 14652 ## CAVEAT EMPTOR: 14653 ## There is no encapsulation within the following macros, do not change 14654 ## the running order or otherwise move them around unless you know exactly 14655 ## what you are doing... 14656 # Dependencies to place before and after the object being linked: 14657predep_objects_CXX= 14658postdep_objects_CXX= 14659predeps_CXX= 14660postdeps_CXX= 14661compiler_lib_search_path_CXX= 14662 14663cat > conftest.$ac_ext <<_LT_EOF 14664class Foo 14665{ 14666public: 14667 Foo (void) { a = 0; } 14668private: 14669 int a; 14670}; 14671_LT_EOF 14672 14673 14674_lt_libdeps_save_CFLAGS=$CFLAGS 14675case "$CC $CFLAGS " in #( 14676*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 14677*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 14678*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 14679esac 14680 14681if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14682 (eval $ac_compile) 2>&5 14683 ac_status=$? 14684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14685 test $ac_status = 0; }; then 14686 # Parse the compiler output and extract the necessary 14687 # objects, libraries and library flags. 14688 14689 # Sentinel used to keep track of whether or not we are before 14690 # the conftest object file. 14691 pre_test_object_deps_done=no 14692 14693 for p in `eval "$output_verbose_link_cmd"`; do 14694 case $prev$p in 14695 14696 -L* | -R* | -l*) 14697 # Some compilers place space between "-{L,R}" and the path. 14698 # Remove the space. 14699 if test x-L = "$p" || 14700 test x-R = "$p"; then 14701 prev=$p 14702 continue 14703 fi 14704 14705 # Expand the sysroot to ease extracting the directories later. 14706 if test -z "$prev"; then 14707 case $p in 14708 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 14709 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 14710 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 14711 esac 14712 fi 14713 case $p in 14714 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 14715 esac 14716 if test no = "$pre_test_object_deps_done"; then 14717 case $prev in 14718 -L | -R) 14719 # Internal compiler library paths should come after those 14720 # provided the user. The postdeps already come after the 14721 # user supplied libs so there is no need to process them. 14722 if test -z "$compiler_lib_search_path_CXX"; then 14723 compiler_lib_search_path_CXX=$prev$p 14724 else 14725 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 14726 fi 14727 ;; 14728 # The "-l" case would never come before the object being 14729 # linked, so don't bother handling this case. 14730 esac 14731 else 14732 if test -z "$postdeps_CXX"; then 14733 postdeps_CXX=$prev$p 14734 else 14735 postdeps_CXX="${postdeps_CXX} $prev$p" 14736 fi 14737 fi 14738 prev= 14739 ;; 14740 14741 *.lto.$objext) ;; # Ignore GCC LTO objects 14742 *.$objext) 14743 # This assumes that the test object file only shows up 14744 # once in the compiler output. 14745 if test "$p" = "conftest.$objext"; then 14746 pre_test_object_deps_done=yes 14747 continue 14748 fi 14749 14750 if test no = "$pre_test_object_deps_done"; then 14751 if test -z "$predep_objects_CXX"; then 14752 predep_objects_CXX=$p 14753 else 14754 predep_objects_CXX="$predep_objects_CXX $p" 14755 fi 14756 else 14757 if test -z "$postdep_objects_CXX"; then 14758 postdep_objects_CXX=$p 14759 else 14760 postdep_objects_CXX="$postdep_objects_CXX $p" 14761 fi 14762 fi 14763 ;; 14764 14765 *) ;; # Ignore the rest. 14766 14767 esac 14768 done 14769 14770 # Clean up. 14771 rm -f a.out a.exe 14772else 14773 echo "libtool.m4: error: problem compiling CXX test program" 14774fi 14775 14776$RM -f confest.$objext 14777CFLAGS=$_lt_libdeps_save_CFLAGS 14778 14779# PORTME: override above test on systems where it is broken 14780case $host_os in 14781interix[3-9]*) 14782 # Interix 3.5 installs completely hosed .la files for C++, so rather than 14783 # hack all around it, let's just trust "g++" to DTRT. 14784 predep_objects_CXX= 14785 postdep_objects_CXX= 14786 postdeps_CXX= 14787 ;; 14788esac 14789 14790 14791case " $postdeps_CXX " in 14792*" -lc "*) archive_cmds_need_lc_CXX=no ;; 14793esac 14794 compiler_lib_search_dirs_CXX= 14795if test -n "${compiler_lib_search_path_CXX}"; then 14796 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 14797fi 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 lt_prog_compiler_wl_CXX= 14830lt_prog_compiler_pic_CXX= 14831lt_prog_compiler_static_CXX= 14832 14833 14834 # C++ specific cases for pic, static, wl, etc. 14835 if test yes = "$GXX"; then 14836 lt_prog_compiler_wl_CXX='-Wl,' 14837 lt_prog_compiler_static_CXX='-static' 14838 14839 case $host_os in 14840 aix*) 14841 # All AIX code is PIC. 14842 if test ia64 = "$host_cpu"; then 14843 # AIX 5 now supports IA64 processor 14844 lt_prog_compiler_static_CXX='-Bstatic' 14845 fi 14846 lt_prog_compiler_pic_CXX='-fPIC' 14847 ;; 14848 14849 amigaos*) 14850 case $host_cpu in 14851 powerpc) 14852 # see comment about AmigaOS4 .so support 14853 lt_prog_compiler_pic_CXX='-fPIC' 14854 ;; 14855 m68k) 14856 # FIXME: we need at least 68020 code to build shared libraries, but 14857 # adding the '-m68020' flag to GCC prevents building anything better, 14858 # like '-m68040'. 14859 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 14860 ;; 14861 esac 14862 ;; 14863 14864 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 14865 # PIC is the default for these OSes. 14866 ;; 14867 mingw* | cygwin* | os2* | pw32* | cegcc*) 14868 # This hack is so that the source file can tell whether it is being 14869 # built for inclusion in a dll (and should export symbols for example). 14870 # Although the cygwin gcc ignores -fPIC, still need this for old-style 14871 # (--disable-auto-import) libraries 14872 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14873 case $host_os in 14874 os2*) 14875 lt_prog_compiler_static_CXX='$wl-static' 14876 ;; 14877 esac 14878 ;; 14879 darwin* | rhapsody*) 14880 # PIC is the default on this platform 14881 # Common symbols not allowed in MH_DYLIB files 14882 lt_prog_compiler_pic_CXX='-fno-common' 14883 ;; 14884 *djgpp*) 14885 # DJGPP does not support shared libraries at all 14886 lt_prog_compiler_pic_CXX= 14887 ;; 14888 haiku*) 14889 # PIC is the default for Haiku. 14890 # The "-static" flag exists, but is broken. 14891 lt_prog_compiler_static_CXX= 14892 ;; 14893 interix[3-9]*) 14894 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 14895 # Instead, we relocate shared libraries at runtime. 14896 ;; 14897 sysv4*MP*) 14898 if test -d /usr/nec; then 14899 lt_prog_compiler_pic_CXX=-Kconform_pic 14900 fi 14901 ;; 14902 hpux*) 14903 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 14904 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 14905 # sets the default TLS model and affects inlining. 14906 case $host_cpu in 14907 hppa*64*) 14908 ;; 14909 *) 14910 lt_prog_compiler_pic_CXX='-fPIC' 14911 ;; 14912 esac 14913 ;; 14914 *qnx* | *nto*) 14915 # QNX uses GNU C++, but need to define -shared option too, otherwise 14916 # it will coredump. 14917 lt_prog_compiler_pic_CXX='-fPIC -shared' 14918 ;; 14919 *) 14920 lt_prog_compiler_pic_CXX='-fPIC' 14921 ;; 14922 esac 14923 else 14924 case $host_os in 14925 aix[4-9]*) 14926 # All AIX code is PIC. 14927 if test ia64 = "$host_cpu"; then 14928 # AIX 5 now supports IA64 processor 14929 lt_prog_compiler_static_CXX='-Bstatic' 14930 else 14931 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 14932 fi 14933 ;; 14934 chorus*) 14935 case $cc_basename in 14936 cxch68*) 14937 # Green Hills C++ Compiler 14938 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 14939 ;; 14940 esac 14941 ;; 14942 mingw* | cygwin* | os2* | pw32* | cegcc*) 14943 # This hack is so that the source file can tell whether it is being 14944 # built for inclusion in a dll (and should export symbols for example). 14945 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14946 ;; 14947 dgux*) 14948 case $cc_basename in 14949 ec++*) 14950 lt_prog_compiler_pic_CXX='-KPIC' 14951 ;; 14952 ghcx*) 14953 # Green Hills C++ Compiler 14954 lt_prog_compiler_pic_CXX='-pic' 14955 ;; 14956 *) 14957 ;; 14958 esac 14959 ;; 14960 freebsd* | dragonfly*) 14961 # FreeBSD uses GNU C++ 14962 ;; 14963 hpux9* | hpux10* | hpux11*) 14964 case $cc_basename in 14965 CC*) 14966 lt_prog_compiler_wl_CXX='-Wl,' 14967 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 14968 if test ia64 != "$host_cpu"; then 14969 lt_prog_compiler_pic_CXX='+Z' 14970 fi 14971 ;; 14972 aCC*) 14973 lt_prog_compiler_wl_CXX='-Wl,' 14974 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 14975 case $host_cpu in 14976 hppa*64*|ia64*) 14977 # +Z the default 14978 ;; 14979 *) 14980 lt_prog_compiler_pic_CXX='+Z' 14981 ;; 14982 esac 14983 ;; 14984 *) 14985 ;; 14986 esac 14987 ;; 14988 interix*) 14989 # This is c89, which is MS Visual C++ (no shared libs) 14990 # Anyone wants to do a port? 14991 ;; 14992 irix5* | irix6* | nonstopux*) 14993 case $cc_basename in 14994 CC*) 14995 lt_prog_compiler_wl_CXX='-Wl,' 14996 lt_prog_compiler_static_CXX='-non_shared' 14997 # CC pic flag -KPIC is the default. 14998 ;; 14999 *) 15000 ;; 15001 esac 15002 ;; 15003 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15004 case $cc_basename in 15005 KCC*) 15006 # KAI C++ Compiler 15007 lt_prog_compiler_wl_CXX='--backend -Wl,' 15008 lt_prog_compiler_pic_CXX='-fPIC' 15009 ;; 15010 ecpc* ) 15011 # old Intel C++ for x86_64, which still supported -KPIC. 15012 lt_prog_compiler_wl_CXX='-Wl,' 15013 lt_prog_compiler_pic_CXX='-KPIC' 15014 lt_prog_compiler_static_CXX='-static' 15015 ;; 15016 icpc* ) 15017 # Intel C++, used to be incompatible with GCC. 15018 # ICC 10 doesn't accept -KPIC any more. 15019 lt_prog_compiler_wl_CXX='-Wl,' 15020 lt_prog_compiler_pic_CXX='-fPIC' 15021 lt_prog_compiler_static_CXX='-static' 15022 ;; 15023 pgCC* | pgcpp*) 15024 # Portland Group C++ compiler 15025 lt_prog_compiler_wl_CXX='-Wl,' 15026 lt_prog_compiler_pic_CXX='-fpic' 15027 lt_prog_compiler_static_CXX='-Bstatic' 15028 ;; 15029 cxx*) 15030 # Compaq C++ 15031 # Make sure the PIC flag is empty. It appears that all Alpha 15032 # Linux and Compaq Tru64 Unix objects are PIC. 15033 lt_prog_compiler_pic_CXX= 15034 lt_prog_compiler_static_CXX='-non_shared' 15035 ;; 15036 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 15037 # IBM XL 8.0, 9.0 on PPC and BlueGene 15038 lt_prog_compiler_wl_CXX='-Wl,' 15039 lt_prog_compiler_pic_CXX='-qpic' 15040 lt_prog_compiler_static_CXX='-qstaticlink' 15041 ;; 15042 *) 15043 case `$CC -V 2>&1 | sed 5q` in 15044 *Sun\ C*) 15045 # Sun C++ 5.9 15046 lt_prog_compiler_pic_CXX='-KPIC' 15047 lt_prog_compiler_static_CXX='-Bstatic' 15048 lt_prog_compiler_wl_CXX='-Qoption ld ' 15049 ;; 15050 esac 15051 ;; 15052 esac 15053 ;; 15054 lynxos*) 15055 ;; 15056 m88k*) 15057 ;; 15058 mvs*) 15059 case $cc_basename in 15060 cxx*) 15061 lt_prog_compiler_pic_CXX='-W c,exportall' 15062 ;; 15063 *) 15064 ;; 15065 esac 15066 ;; 15067 netbsd* | netbsdelf*-gnu) 15068 ;; 15069 *qnx* | *nto*) 15070 # QNX uses GNU C++, but need to define -shared option too, otherwise 15071 # it will coredump. 15072 lt_prog_compiler_pic_CXX='-fPIC -shared' 15073 ;; 15074 osf3* | osf4* | osf5*) 15075 case $cc_basename in 15076 KCC*) 15077 lt_prog_compiler_wl_CXX='--backend -Wl,' 15078 ;; 15079 RCC*) 15080 # Rational C++ 2.4.1 15081 lt_prog_compiler_pic_CXX='-pic' 15082 ;; 15083 cxx*) 15084 # Digital/Compaq C++ 15085 lt_prog_compiler_wl_CXX='-Wl,' 15086 # Make sure the PIC flag is empty. It appears that all Alpha 15087 # Linux and Compaq Tru64 Unix objects are PIC. 15088 lt_prog_compiler_pic_CXX= 15089 lt_prog_compiler_static_CXX='-non_shared' 15090 ;; 15091 *) 15092 ;; 15093 esac 15094 ;; 15095 psos*) 15096 ;; 15097 solaris*) 15098 case $cc_basename in 15099 CC* | sunCC*) 15100 # Sun C++ 4.2, 5.x and Centerline C++ 15101 lt_prog_compiler_pic_CXX='-KPIC' 15102 lt_prog_compiler_static_CXX='-Bstatic' 15103 lt_prog_compiler_wl_CXX='-Qoption ld ' 15104 ;; 15105 gcx*) 15106 # Green Hills C++ Compiler 15107 lt_prog_compiler_pic_CXX='-PIC' 15108 ;; 15109 *) 15110 ;; 15111 esac 15112 ;; 15113 sunos4*) 15114 case $cc_basename in 15115 CC*) 15116 # Sun C++ 4.x 15117 lt_prog_compiler_pic_CXX='-pic' 15118 lt_prog_compiler_static_CXX='-Bstatic' 15119 ;; 15120 lcc*) 15121 # Lucid 15122 lt_prog_compiler_pic_CXX='-pic' 15123 ;; 15124 *) 15125 ;; 15126 esac 15127 ;; 15128 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15129 case $cc_basename in 15130 CC*) 15131 lt_prog_compiler_wl_CXX='-Wl,' 15132 lt_prog_compiler_pic_CXX='-KPIC' 15133 lt_prog_compiler_static_CXX='-Bstatic' 15134 ;; 15135 esac 15136 ;; 15137 tandem*) 15138 case $cc_basename in 15139 NCC*) 15140 # NonStop-UX NCC 3.20 15141 lt_prog_compiler_pic_CXX='-KPIC' 15142 ;; 15143 *) 15144 ;; 15145 esac 15146 ;; 15147 vxworks*) 15148 ;; 15149 *) 15150 lt_prog_compiler_can_build_shared_CXX=no 15151 ;; 15152 esac 15153 fi 15154 15155case $host_os in 15156 # For platforms that do not support PIC, -DPIC is meaningless: 15157 *djgpp*) 15158 lt_prog_compiler_pic_CXX= 15159 ;; 15160 *) 15161 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15162 ;; 15163esac 15164 15165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 15166$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15167if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 15168 $as_echo_n "(cached) " >&6 15169else 15170 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 15171fi 15172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 15173$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 15174lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 15175 15176# 15177# Check to make sure the PIC flag actually works. 15178# 15179if test -n "$lt_prog_compiler_pic_CXX"; then 15180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15181$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15182if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 15183 $as_echo_n "(cached) " >&6 15184else 15185 lt_cv_prog_compiler_pic_works_CXX=no 15186 ac_outfile=conftest.$ac_objext 15187 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15188 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 15189 # Insert the option either (1) after the last *FLAGS variable, or 15190 # (2) before a word containing "conftest.", or (3) at the end. 15191 # Note that $ac_compile itself does not contain backslashes and begins 15192 # with a dollar sign (not a hyphen), so the echo should work correctly. 15193 # The option is referenced via a variable to avoid confusing sed. 15194 lt_compile=`echo "$ac_compile" | $SED \ 15195 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15196 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15197 -e 's:$: $lt_compiler_flag:'` 15198 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15199 (eval "$lt_compile" 2>conftest.err) 15200 ac_status=$? 15201 cat conftest.err >&5 15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15203 if (exit $ac_status) && test -s "$ac_outfile"; then 15204 # The compiler can only warn and ignore the option if not recognized 15205 # So say no if there are warnings other than the usual output. 15206 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 15207 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15208 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15209 lt_cv_prog_compiler_pic_works_CXX=yes 15210 fi 15211 fi 15212 $RM conftest* 15213 15214fi 15215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15216$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15217 15218if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 15219 case $lt_prog_compiler_pic_CXX in 15220 "" | " "*) ;; 15221 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15222 esac 15223else 15224 lt_prog_compiler_pic_CXX= 15225 lt_prog_compiler_can_build_shared_CXX=no 15226fi 15227 15228fi 15229 15230 15231 15232 15233 15234# 15235# Check to make sure the static flag actually works. 15236# 15237wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15239$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15240if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 15241 $as_echo_n "(cached) " >&6 15242else 15243 lt_cv_prog_compiler_static_works_CXX=no 15244 save_LDFLAGS=$LDFLAGS 15245 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15246 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15247 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15248 # The linker can only warn and ignore the option if not recognized 15249 # So say no if there are warnings 15250 if test -s conftest.err; then 15251 # Append any errors to the config.log. 15252 cat conftest.err 1>&5 15253 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15254 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15255 if diff conftest.exp conftest.er2 >/dev/null; then 15256 lt_cv_prog_compiler_static_works_CXX=yes 15257 fi 15258 else 15259 lt_cv_prog_compiler_static_works_CXX=yes 15260 fi 15261 fi 15262 $RM -r conftest* 15263 LDFLAGS=$save_LDFLAGS 15264 15265fi 15266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15267$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15268 15269if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 15270 : 15271else 15272 lt_prog_compiler_static_CXX= 15273fi 15274 15275 15276 15277 15278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15279$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15280if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15281 $as_echo_n "(cached) " >&6 15282else 15283 lt_cv_prog_compiler_c_o_CXX=no 15284 $RM -r conftest 2>/dev/null 15285 mkdir conftest 15286 cd conftest 15287 mkdir out 15288 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15289 15290 lt_compiler_flag="-o out/conftest2.$ac_objext" 15291 # Insert the option either (1) after the last *FLAGS variable, or 15292 # (2) before a word containing "conftest.", or (3) at the end. 15293 # Note that $ac_compile itself does not contain backslashes and begins 15294 # with a dollar sign (not a hyphen), so the echo should work correctly. 15295 lt_compile=`echo "$ac_compile" | $SED \ 15296 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15297 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15298 -e 's:$: $lt_compiler_flag:'` 15299 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15300 (eval "$lt_compile" 2>out/conftest.err) 15301 ac_status=$? 15302 cat out/conftest.err >&5 15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15304 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15305 then 15306 # The compiler can only warn and ignore the option if not recognized 15307 # So say no if there are warnings 15308 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15309 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15310 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15311 lt_cv_prog_compiler_c_o_CXX=yes 15312 fi 15313 fi 15314 chmod u+w . 2>&5 15315 $RM conftest* 15316 # SGI C++ compiler will create directory out/ii_files/ for 15317 # template instantiation 15318 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15319 $RM out/* && rmdir out 15320 cd .. 15321 $RM -r conftest 15322 $RM conftest* 15323 15324fi 15325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15326$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15327 15328 15329 15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15331$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15332if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15333 $as_echo_n "(cached) " >&6 15334else 15335 lt_cv_prog_compiler_c_o_CXX=no 15336 $RM -r conftest 2>/dev/null 15337 mkdir conftest 15338 cd conftest 15339 mkdir out 15340 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15341 15342 lt_compiler_flag="-o out/conftest2.$ac_objext" 15343 # Insert the option either (1) after the last *FLAGS variable, or 15344 # (2) before a word containing "conftest.", or (3) at the end. 15345 # Note that $ac_compile itself does not contain backslashes and begins 15346 # with a dollar sign (not a hyphen), so the echo should work correctly. 15347 lt_compile=`echo "$ac_compile" | $SED \ 15348 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15349 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15350 -e 's:$: $lt_compiler_flag:'` 15351 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15352 (eval "$lt_compile" 2>out/conftest.err) 15353 ac_status=$? 15354 cat out/conftest.err >&5 15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15356 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15357 then 15358 # The compiler can only warn and ignore the option if not recognized 15359 # So say no if there are warnings 15360 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15361 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15362 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15363 lt_cv_prog_compiler_c_o_CXX=yes 15364 fi 15365 fi 15366 chmod u+w . 2>&5 15367 $RM conftest* 15368 # SGI C++ compiler will create directory out/ii_files/ for 15369 # template instantiation 15370 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15371 $RM out/* && rmdir out 15372 cd .. 15373 $RM -r conftest 15374 $RM conftest* 15375 15376fi 15377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15378$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15379 15380 15381 15382 15383hard_links=nottested 15384if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 15385 # do not overwrite the value of need_locks provided by the user 15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15387$as_echo_n "checking if we can lock with hard links... " >&6; } 15388 hard_links=yes 15389 $RM conftest* 15390 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15391 touch conftest.a 15392 ln conftest.a conftest.b 2>&5 || hard_links=no 15393 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15395$as_echo "$hard_links" >&6; } 15396 if test no = "$hard_links"; then 15397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 15398$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 15399 need_locks=warn 15400 fi 15401else 15402 need_locks=no 15403fi 15404 15405 15406 15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15408$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15409 15410 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15411 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15412 case $host_os in 15413 aix[4-9]*) 15414 # If we're using GNU nm, then we don't want the "-C" option. 15415 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 15416 # Without the "-l" option, or with the "-B" option, AIX nm treats 15417 # weak defined symbols like other global defined symbols, whereas 15418 # GNU nm marks them as "W". 15419 # While the 'weak' keyword is ignored in the Export File, we need 15420 # it in the Import File for the 'aix-soname' feature, so we have 15421 # to replace the "-B" option with "-P" for AIX nm. 15422 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15423 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 15424 else 15425 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 15426 fi 15427 ;; 15428 pw32*) 15429 export_symbols_cmds_CXX=$ltdll_cmds 15430 ;; 15431 cygwin* | mingw* | cegcc*) 15432 case $cc_basename in 15433 cl*) 15434 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15435 ;; 15436 *) 15437 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 15438 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15439 ;; 15440 esac 15441 ;; 15442 linux* | k*bsd*-gnu | gnu*) 15443 link_all_deplibs_CXX=no 15444 ;; 15445 *) 15446 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15447 ;; 15448 esac 15449 15450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15451$as_echo "$ld_shlibs_CXX" >&6; } 15452test no = "$ld_shlibs_CXX" && can_build_shared=no 15453 15454with_gnu_ld_CXX=$with_gnu_ld 15455 15456 15457 15458 15459 15460 15461# 15462# Do we need to explicitly link libc? 15463# 15464case "x$archive_cmds_need_lc_CXX" in 15465x|xyes) 15466 # Assume -lc should be added 15467 archive_cmds_need_lc_CXX=yes 15468 15469 if test yes,yes = "$GCC,$enable_shared"; then 15470 case $archive_cmds_CXX in 15471 *'~'*) 15472 # FIXME: we may have to deal with multi-command sequences. 15473 ;; 15474 '$CC '*) 15475 # Test whether the compiler implicitly links with -lc since on some 15476 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15477 # to ld, don't add -lc before -lgcc. 15478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15479$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15480if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 15481 $as_echo_n "(cached) " >&6 15482else 15483 $RM conftest* 15484 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15485 15486 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15487 (eval $ac_compile) 2>&5 15488 ac_status=$? 15489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15490 test $ac_status = 0; } 2>conftest.err; then 15491 soname=conftest 15492 lib=conftest 15493 libobjs=conftest.$ac_objext 15494 deplibs= 15495 wl=$lt_prog_compiler_wl_CXX 15496 pic_flag=$lt_prog_compiler_pic_CXX 15497 compiler_flags=-v 15498 linker_flags=-v 15499 verstring= 15500 output_objdir=. 15501 libname=conftest 15502 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 15503 allow_undefined_flag_CXX= 15504 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15505 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15506 ac_status=$? 15507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15508 test $ac_status = 0; } 15509 then 15510 lt_cv_archive_cmds_need_lc_CXX=no 15511 else 15512 lt_cv_archive_cmds_need_lc_CXX=yes 15513 fi 15514 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 15515 else 15516 cat conftest.err 1>&5 15517 fi 15518 $RM conftest* 15519 15520fi 15521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 15522$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 15523 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 15524 ;; 15525 esac 15526 fi 15527 ;; 15528esac 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 15592$as_echo_n "checking dynamic linker characteristics... " >&6; } 15593 15594library_names_spec= 15595libname_spec='lib$name' 15596soname_spec= 15597shrext_cmds=.so 15598postinstall_cmds= 15599postuninstall_cmds= 15600finish_cmds= 15601finish_eval= 15602shlibpath_var= 15603shlibpath_overrides_runpath=unknown 15604version_type=none 15605dynamic_linker="$host_os ld.so" 15606sys_lib_dlsearch_path_spec="/lib /usr/lib" 15607need_lib_prefix=unknown 15608hardcode_into_libs=no 15609 15610# when you set need_version to no, make sure it does not cause -set_version 15611# flags to be left without arguments 15612need_version=unknown 15613 15614 15615 15616case $host_os in 15617aix3*) 15618 version_type=linux # correct to gnu/linux during the next big refactor 15619 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 15620 shlibpath_var=LIBPATH 15621 15622 # AIX 3 has no versioning support, so we append a major version to the name. 15623 soname_spec='$libname$release$shared_ext$major' 15624 ;; 15625 15626aix[4-9]*) 15627 version_type=linux # correct to gnu/linux during the next big refactor 15628 need_lib_prefix=no 15629 need_version=no 15630 hardcode_into_libs=yes 15631 if test ia64 = "$host_cpu"; then 15632 # AIX 5 supports IA64 15633 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 15634 shlibpath_var=LD_LIBRARY_PATH 15635 else 15636 # With GCC up to 2.95.x, collect2 would create an import file 15637 # for dependence libraries. The import file would start with 15638 # the line '#! .'. This would cause the generated library to 15639 # depend on '.', always an invalid library. This was fixed in 15640 # development snapshots of GCC prior to 3.0. 15641 case $host_os in 15642 aix4 | aix4.[01] | aix4.[01].*) 15643 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 15644 echo ' yes ' 15645 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 15646 : 15647 else 15648 can_build_shared=no 15649 fi 15650 ;; 15651 esac 15652 # Using Import Files as archive members, it is possible to support 15653 # filename-based versioning of shared library archives on AIX. While 15654 # this would work for both with and without runtime linking, it will 15655 # prevent static linking of such archives. So we do filename-based 15656 # shared library versioning with .so extension only, which is used 15657 # when both runtime linking and shared linking is enabled. 15658 # Unfortunately, runtime linking may impact performance, so we do 15659 # not want this to be the default eventually. Also, we use the 15660 # versioned .so libs for executables only if there is the -brtl 15661 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 15662 # To allow for filename-based versioning support, we need to create 15663 # libNAME.so.V as an archive file, containing: 15664 # *) an Import File, referring to the versioned filename of the 15665 # archive as well as the shared archive member, telling the 15666 # bitwidth (32 or 64) of that shared object, and providing the 15667 # list of exported symbols of that shared object, eventually 15668 # decorated with the 'weak' keyword 15669 # *) the shared object with the F_LOADONLY flag set, to really avoid 15670 # it being seen by the linker. 15671 # At run time we better use the real file rather than another symlink, 15672 # but for link time we create the symlink libNAME.so -> libNAME.so.V 15673 15674 case $with_aix_soname,$aix_use_runtimelinking in 15675 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 15676 # soname into executable. Probably we can add versioning support to 15677 # collect2, so additional links can be useful in future. 15678 aix,yes) # traditional libtool 15679 dynamic_linker='AIX unversionable lib.so' 15680 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 15681 # instead of lib<name>.a to let people know that these are not 15682 # typical AIX shared libraries. 15683 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15684 ;; 15685 aix,no) # traditional AIX only 15686 dynamic_linker='AIX lib.a(lib.so.V)' 15687 # We preserve .a as extension for shared libraries through AIX4.2 15688 # and later when we are not doing run time linking. 15689 library_names_spec='$libname$release.a $libname.a' 15690 soname_spec='$libname$release$shared_ext$major' 15691 ;; 15692 svr4,*) # full svr4 only 15693 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 15694 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15695 # We do not specify a path in Import Files, so LIBPATH fires. 15696 shlibpath_overrides_runpath=yes 15697 ;; 15698 *,yes) # both, prefer svr4 15699 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 15700 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15701 # unpreferred sharedlib libNAME.a needs extra handling 15702 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 15703 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 15704 # We do not specify a path in Import Files, so LIBPATH fires. 15705 shlibpath_overrides_runpath=yes 15706 ;; 15707 *,no) # both, prefer aix 15708 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 15709 library_names_spec='$libname$release.a $libname.a' 15710 soname_spec='$libname$release$shared_ext$major' 15711 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 15712 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 15713 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 15714 ;; 15715 esac 15716 shlibpath_var=LIBPATH 15717 fi 15718 ;; 15719 15720amigaos*) 15721 case $host_cpu in 15722 powerpc) 15723 # Since July 2007 AmigaOS4 officially supports .so libraries. 15724 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 15725 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15726 ;; 15727 m68k) 15728 library_names_spec='$libname.ixlibrary $libname.a' 15729 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15730 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 15731 ;; 15732 esac 15733 ;; 15734 15735beos*) 15736 library_names_spec='$libname$shared_ext' 15737 dynamic_linker="$host_os ld.so" 15738 shlibpath_var=LIBRARY_PATH 15739 ;; 15740 15741bsdi[45]*) 15742 version_type=linux # correct to gnu/linux during the next big refactor 15743 need_version=no 15744 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15745 soname_spec='$libname$release$shared_ext$major' 15746 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 15747 shlibpath_var=LD_LIBRARY_PATH 15748 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 15749 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 15750 # the default ld.so.conf also contains /usr/contrib/lib and 15751 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 15752 # libtool to hard-code these into programs 15753 ;; 15754 15755cygwin* | mingw* | pw32* | cegcc*) 15756 version_type=windows 15757 shrext_cmds=.dll 15758 need_version=no 15759 need_lib_prefix=no 15760 15761 case $GCC,$cc_basename in 15762 yes,*) 15763 # gcc 15764 library_names_spec='$libname.dll.a' 15765 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15766 postinstall_cmds='base_file=`basename \$file`~ 15767 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15768 dldir=$destdir/`dirname \$dlpath`~ 15769 test -d \$dldir || mkdir -p \$dldir~ 15770 $install_prog $dir/$dlname \$dldir/$dlname~ 15771 chmod a+x \$dldir/$dlname~ 15772 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15773 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15774 fi' 15775 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15776 dlpath=$dir/\$dldll~ 15777 $RM \$dlpath' 15778 shlibpath_overrides_runpath=yes 15779 15780 case $host_os in 15781 cygwin*) 15782 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 15783 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15784 15785 ;; 15786 mingw* | cegcc*) 15787 # MinGW DLLs use traditional 'lib' prefix 15788 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15789 ;; 15790 pw32*) 15791 # pw32 DLLs use 'pw' prefix rather than 'lib' 15792 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15793 ;; 15794 esac 15795 dynamic_linker='Win32 ld.exe' 15796 ;; 15797 15798 *,cl*) 15799 # Native MSVC 15800 libname_spec='$name' 15801 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15802 library_names_spec='$libname.dll.lib' 15803 15804 case $build_os in 15805 mingw*) 15806 sys_lib_search_path_spec= 15807 lt_save_ifs=$IFS 15808 IFS=';' 15809 for lt_path in $LIB 15810 do 15811 IFS=$lt_save_ifs 15812 # Let DOS variable expansion print the short 8.3 style file name. 15813 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 15814 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 15815 done 15816 IFS=$lt_save_ifs 15817 # Convert to MSYS style. 15818 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 15819 ;; 15820 cygwin*) 15821 # Convert to unix form, then to dos form, then back to unix form 15822 # but this time dos style (no spaces!) so that the unix form looks 15823 # like /cygdrive/c/PROGRA~1:/cygdr... 15824 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 15825 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 15826 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15827 ;; 15828 *) 15829 sys_lib_search_path_spec=$LIB 15830 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 15831 # It is most probably a Windows format PATH. 15832 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 15833 else 15834 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15835 fi 15836 # FIXME: find the short name or the path components, as spaces are 15837 # common. (e.g. "Program Files" -> "PROGRA~1") 15838 ;; 15839 esac 15840 15841 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15842 postinstall_cmds='base_file=`basename \$file`~ 15843 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15844 dldir=$destdir/`dirname \$dlpath`~ 15845 test -d \$dldir || mkdir -p \$dldir~ 15846 $install_prog $dir/$dlname \$dldir/$dlname' 15847 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15848 dlpath=$dir/\$dldll~ 15849 $RM \$dlpath' 15850 shlibpath_overrides_runpath=yes 15851 dynamic_linker='Win32 link.exe' 15852 ;; 15853 15854 *) 15855 # Assume MSVC wrapper 15856 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 15857 dynamic_linker='Win32 ld.exe' 15858 ;; 15859 esac 15860 # FIXME: first we should search . and the directory the executable is in 15861 shlibpath_var=PATH 15862 ;; 15863 15864darwin* | rhapsody*) 15865 dynamic_linker="$host_os dyld" 15866 version_type=darwin 15867 need_lib_prefix=no 15868 need_version=no 15869 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 15870 soname_spec='$libname$release$major$shared_ext' 15871 shlibpath_overrides_runpath=yes 15872 shlibpath_var=DYLD_LIBRARY_PATH 15873 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 15874 15875 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15876 ;; 15877 15878dgux*) 15879 version_type=linux # correct to gnu/linux during the next big refactor 15880 need_lib_prefix=no 15881 need_version=no 15882 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15883 soname_spec='$libname$release$shared_ext$major' 15884 shlibpath_var=LD_LIBRARY_PATH 15885 ;; 15886 15887freebsd* | dragonfly*) 15888 # DragonFly does not have aout. When/if they implement a new 15889 # versioning mechanism, adjust this. 15890 if test -x /usr/bin/objformat; then 15891 objformat=`/usr/bin/objformat` 15892 else 15893 case $host_os in 15894 freebsd[23].*) objformat=aout ;; 15895 *) objformat=elf ;; 15896 esac 15897 fi 15898 version_type=freebsd-$objformat 15899 case $version_type in 15900 freebsd-elf*) 15901 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15902 soname_spec='$libname$release$shared_ext$major' 15903 need_version=no 15904 need_lib_prefix=no 15905 ;; 15906 freebsd-*) 15907 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15908 need_version=yes 15909 ;; 15910 esac 15911 shlibpath_var=LD_LIBRARY_PATH 15912 case $host_os in 15913 freebsd2.*) 15914 shlibpath_overrides_runpath=yes 15915 ;; 15916 freebsd3.[01]* | freebsdelf3.[01]*) 15917 shlibpath_overrides_runpath=yes 15918 hardcode_into_libs=yes 15919 ;; 15920 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 15921 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 15922 shlibpath_overrides_runpath=no 15923 hardcode_into_libs=yes 15924 ;; 15925 *) # from 4.6 on, and DragonFly 15926 shlibpath_overrides_runpath=yes 15927 hardcode_into_libs=yes 15928 ;; 15929 esac 15930 ;; 15931 15932haiku*) 15933 version_type=linux # correct to gnu/linux during the next big refactor 15934 need_lib_prefix=no 15935 need_version=no 15936 dynamic_linker="$host_os runtime_loader" 15937 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15938 soname_spec='$libname$release$shared_ext$major' 15939 shlibpath_var=LIBRARY_PATH 15940 shlibpath_overrides_runpath=no 15941 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 15942 hardcode_into_libs=yes 15943 ;; 15944 15945hpux9* | hpux10* | hpux11*) 15946 # Give a soname corresponding to the major version so that dld.sl refuses to 15947 # link against other versions. 15948 version_type=sunos 15949 need_lib_prefix=no 15950 need_version=no 15951 case $host_cpu in 15952 ia64*) 15953 shrext_cmds='.so' 15954 hardcode_into_libs=yes 15955 dynamic_linker="$host_os dld.so" 15956 shlibpath_var=LD_LIBRARY_PATH 15957 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15958 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15959 soname_spec='$libname$release$shared_ext$major' 15960 if test 32 = "$HPUX_IA64_MODE"; then 15961 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 15962 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 15963 else 15964 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 15965 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 15966 fi 15967 ;; 15968 hppa*64*) 15969 shrext_cmds='.sl' 15970 hardcode_into_libs=yes 15971 dynamic_linker="$host_os dld.sl" 15972 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 15973 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15974 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15975 soname_spec='$libname$release$shared_ext$major' 15976 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 15977 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15978 ;; 15979 *) 15980 shrext_cmds='.sl' 15981 dynamic_linker="$host_os dld.sl" 15982 shlibpath_var=SHLIB_PATH 15983 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 15984 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15985 soname_spec='$libname$release$shared_ext$major' 15986 ;; 15987 esac 15988 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 15989 postinstall_cmds='chmod 555 $lib' 15990 # or fails outright, so override atomically: 15991 install_override_mode=555 15992 ;; 15993 15994interix[3-9]*) 15995 version_type=linux # correct to gnu/linux during the next big refactor 15996 need_lib_prefix=no 15997 need_version=no 15998 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15999 soname_spec='$libname$release$shared_ext$major' 16000 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16001 shlibpath_var=LD_LIBRARY_PATH 16002 shlibpath_overrides_runpath=no 16003 hardcode_into_libs=yes 16004 ;; 16005 16006irix5* | irix6* | nonstopux*) 16007 case $host_os in 16008 nonstopux*) version_type=nonstopux ;; 16009 *) 16010 if test yes = "$lt_cv_prog_gnu_ld"; then 16011 version_type=linux # correct to gnu/linux during the next big refactor 16012 else 16013 version_type=irix 16014 fi ;; 16015 esac 16016 need_lib_prefix=no 16017 need_version=no 16018 soname_spec='$libname$release$shared_ext$major' 16019 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 16020 case $host_os in 16021 irix5* | nonstopux*) 16022 libsuff= shlibsuff= 16023 ;; 16024 *) 16025 case $LD in # libtool.m4 will add one of these switches to LD 16026 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16027 libsuff= shlibsuff= libmagic=32-bit;; 16028 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16029 libsuff=32 shlibsuff=N32 libmagic=N32;; 16030 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16031 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16032 *) libsuff= shlibsuff= libmagic=never-match;; 16033 esac 16034 ;; 16035 esac 16036 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16037 shlibpath_overrides_runpath=no 16038 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 16039 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 16040 hardcode_into_libs=yes 16041 ;; 16042 16043# No shared lib support for Linux oldld, aout, or coff. 16044linux*oldld* | linux*aout* | linux*coff*) 16045 dynamic_linker=no 16046 ;; 16047 16048linux*android*) 16049 version_type=none # Android doesn't support versioned libraries. 16050 need_lib_prefix=no 16051 need_version=no 16052 library_names_spec='$libname$release$shared_ext' 16053 soname_spec='$libname$release$shared_ext' 16054 finish_cmds= 16055 shlibpath_var=LD_LIBRARY_PATH 16056 shlibpath_overrides_runpath=yes 16057 16058 # This implies no fast_install, which is unacceptable. 16059 # Some rework will be needed to allow for fast_install 16060 # before this can be enabled. 16061 hardcode_into_libs=yes 16062 16063 dynamic_linker='Android linker' 16064 # Don't embed -rpath directories since the linker doesn't support them. 16065 hardcode_libdir_flag_spec_CXX='-L$libdir' 16066 ;; 16067 16068# This must be glibc/ELF. 16069linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16070 version_type=linux # correct to gnu/linux during the next big refactor 16071 need_lib_prefix=no 16072 need_version=no 16073 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16074 soname_spec='$libname$release$shared_ext$major' 16075 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16076 shlibpath_var=LD_LIBRARY_PATH 16077 shlibpath_overrides_runpath=no 16078 16079 # Some binutils ld are patched to set DT_RUNPATH 16080 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 16081 $as_echo_n "(cached) " >&6 16082else 16083 lt_cv_shlibpath_overrides_runpath=no 16084 save_LDFLAGS=$LDFLAGS 16085 save_libdir=$libdir 16086 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16087 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16089/* end confdefs.h. */ 16090 16091int 16092main () 16093{ 16094 16095 ; 16096 return 0; 16097} 16098_ACEOF 16099if ac_fn_cxx_try_link "$LINENO"; then : 16100 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16101 lt_cv_shlibpath_overrides_runpath=yes 16102fi 16103fi 16104rm -f core conftest.err conftest.$ac_objext \ 16105 conftest$ac_exeext conftest.$ac_ext 16106 LDFLAGS=$save_LDFLAGS 16107 libdir=$save_libdir 16108 16109fi 16110 16111 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16112 16113 # This implies no fast_install, which is unacceptable. 16114 # Some rework will be needed to allow for fast_install 16115 # before this can be enabled. 16116 hardcode_into_libs=yes 16117 16118 # Ideally, we could use ldconfig to report *all* directores which are 16119 # searched for libraries, however this is still not possible. Aside from not 16120 # being certain /sbin/ldconfig is available, command 16121 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 16122 # even though it is searched at run-time. Try to do the best guess by 16123 # appending ld.so.conf contents (and includes) to the search path. 16124 if test -f /etc/ld.so.conf; then 16125 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' ' '` 16126 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 16127 fi 16128 16129 # We used to test for /lib/ld.so.1 and disable shared libraries on 16130 # powerpc, because MkLinux only supported shared libraries with the 16131 # GNU dynamic linker. Since this was broken with cross compilers, 16132 # most powerpc-linux boxes support dynamic linking these days and 16133 # people can always --disable-shared, the test was removed, and we 16134 # assume the GNU/Linux dynamic linker is in use. 16135 dynamic_linker='GNU/Linux ld.so' 16136 ;; 16137 16138netbsdelf*-gnu) 16139 version_type=linux 16140 need_lib_prefix=no 16141 need_version=no 16142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16143 soname_spec='${libname}${release}${shared_ext}$major' 16144 shlibpath_var=LD_LIBRARY_PATH 16145 shlibpath_overrides_runpath=no 16146 hardcode_into_libs=yes 16147 dynamic_linker='NetBSD ld.elf_so' 16148 ;; 16149 16150netbsd*) 16151 version_type=sunos 16152 need_lib_prefix=no 16153 need_version=no 16154 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16155 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16156 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16157 dynamic_linker='NetBSD (a.out) ld.so' 16158 else 16159 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16160 soname_spec='$libname$release$shared_ext$major' 16161 dynamic_linker='NetBSD ld.elf_so' 16162 fi 16163 shlibpath_var=LD_LIBRARY_PATH 16164 shlibpath_overrides_runpath=yes 16165 hardcode_into_libs=yes 16166 ;; 16167 16168newsos6) 16169 version_type=linux # correct to gnu/linux during the next big refactor 16170 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16171 shlibpath_var=LD_LIBRARY_PATH 16172 shlibpath_overrides_runpath=yes 16173 ;; 16174 16175*nto* | *qnx*) 16176 version_type=qnx 16177 need_lib_prefix=no 16178 need_version=no 16179 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16180 soname_spec='$libname$release$shared_ext$major' 16181 shlibpath_var=LD_LIBRARY_PATH 16182 shlibpath_overrides_runpath=no 16183 hardcode_into_libs=yes 16184 dynamic_linker='ldqnx.so' 16185 ;; 16186 16187openbsd* | bitrig*) 16188 version_type=sunos 16189 sys_lib_dlsearch_path_spec=/usr/lib 16190 need_lib_prefix=no 16191 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 16192 need_version=no 16193 else 16194 need_version=yes 16195 fi 16196 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16197 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16198 shlibpath_var=LD_LIBRARY_PATH 16199 shlibpath_overrides_runpath=yes 16200 ;; 16201 16202os2*) 16203 libname_spec='$name' 16204 version_type=windows 16205 shrext_cmds=.dll 16206 need_version=no 16207 need_lib_prefix=no 16208 # OS/2 can only load a DLL with a base name of 8 characters or less. 16209 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 16210 v=$($ECHO $release$versuffix | tr -d .-); 16211 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 16212 $ECHO $n$v`$shared_ext' 16213 library_names_spec='${libname}_dll.$libext' 16214 dynamic_linker='OS/2 ld.exe' 16215 shlibpath_var=BEGINLIBPATH 16216 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 16217 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16218 postinstall_cmds='base_file=`basename \$file`~ 16219 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 16220 dldir=$destdir/`dirname \$dlpath`~ 16221 test -d \$dldir || mkdir -p \$dldir~ 16222 $install_prog $dir/$dlname \$dldir/$dlname~ 16223 chmod a+x \$dldir/$dlname~ 16224 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16225 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16226 fi' 16227 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 16228 dlpath=$dir/\$dldll~ 16229 $RM \$dlpath' 16230 ;; 16231 16232osf3* | osf4* | osf5*) 16233 version_type=osf 16234 need_lib_prefix=no 16235 need_version=no 16236 soname_spec='$libname$release$shared_ext$major' 16237 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16238 shlibpath_var=LD_LIBRARY_PATH 16239 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16240 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16241 ;; 16242 16243rdos*) 16244 dynamic_linker=no 16245 ;; 16246 16247solaris*) 16248 version_type=linux # correct to gnu/linux during the next big refactor 16249 need_lib_prefix=no 16250 need_version=no 16251 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16252 soname_spec='$libname$release$shared_ext$major' 16253 shlibpath_var=LD_LIBRARY_PATH 16254 shlibpath_overrides_runpath=yes 16255 hardcode_into_libs=yes 16256 # ldd complains unless libraries are executable 16257 postinstall_cmds='chmod +x $lib' 16258 ;; 16259 16260sunos4*) 16261 version_type=sunos 16262 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16263 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16264 shlibpath_var=LD_LIBRARY_PATH 16265 shlibpath_overrides_runpath=yes 16266 if test yes = "$with_gnu_ld"; then 16267 need_lib_prefix=no 16268 fi 16269 need_version=yes 16270 ;; 16271 16272sysv4 | sysv4.3*) 16273 version_type=linux # correct to gnu/linux during the next big refactor 16274 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16275 soname_spec='$libname$release$shared_ext$major' 16276 shlibpath_var=LD_LIBRARY_PATH 16277 case $host_vendor in 16278 sni) 16279 shlibpath_overrides_runpath=no 16280 need_lib_prefix=no 16281 runpath_var=LD_RUN_PATH 16282 ;; 16283 siemens) 16284 need_lib_prefix=no 16285 ;; 16286 motorola) 16287 need_lib_prefix=no 16288 need_version=no 16289 shlibpath_overrides_runpath=no 16290 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16291 ;; 16292 esac 16293 ;; 16294 16295sysv4*MP*) 16296 if test -d /usr/nec; then 16297 version_type=linux # correct to gnu/linux during the next big refactor 16298 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 16299 soname_spec='$libname$shared_ext.$major' 16300 shlibpath_var=LD_LIBRARY_PATH 16301 fi 16302 ;; 16303 16304sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16305 version_type=sco 16306 need_lib_prefix=no 16307 need_version=no 16308 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 16309 soname_spec='$libname$release$shared_ext$major' 16310 shlibpath_var=LD_LIBRARY_PATH 16311 shlibpath_overrides_runpath=yes 16312 hardcode_into_libs=yes 16313 if test yes = "$with_gnu_ld"; then 16314 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16315 else 16316 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16317 case $host_os in 16318 sco3.2v5*) 16319 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16320 ;; 16321 esac 16322 fi 16323 sys_lib_dlsearch_path_spec='/usr/lib' 16324 ;; 16325 16326tpf*) 16327 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16328 version_type=linux # correct to gnu/linux during the next big refactor 16329 need_lib_prefix=no 16330 need_version=no 16331 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16332 shlibpath_var=LD_LIBRARY_PATH 16333 shlibpath_overrides_runpath=no 16334 hardcode_into_libs=yes 16335 ;; 16336 16337uts4*) 16338 version_type=linux # correct to gnu/linux during the next big refactor 16339 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16340 soname_spec='$libname$release$shared_ext$major' 16341 shlibpath_var=LD_LIBRARY_PATH 16342 ;; 16343 16344*) 16345 dynamic_linker=no 16346 ;; 16347esac 16348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16349$as_echo "$dynamic_linker" >&6; } 16350test no = "$dynamic_linker" && can_build_shared=no 16351 16352variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16353if test yes = "$GCC"; then 16354 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16355fi 16356 16357if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16358 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16359fi 16360 16361if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16362 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16363fi 16364 16365# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16366configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16367 16368# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16369func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16370 16371# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16372configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16414$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16415hardcode_action_CXX= 16416if test -n "$hardcode_libdir_flag_spec_CXX" || 16417 test -n "$runpath_var_CXX" || 16418 test yes = "$hardcode_automatic_CXX"; then 16419 16420 # We can hardcode non-existent directories. 16421 if test no != "$hardcode_direct_CXX" && 16422 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16423 # have to relink, otherwise we might link with an installed library 16424 # when we should be linking with a yet-to-be-installed one 16425 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 16426 test no != "$hardcode_minus_L_CXX"; then 16427 # Linking always hardcodes the temporary library directory. 16428 hardcode_action_CXX=relink 16429 else 16430 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16431 hardcode_action_CXX=immediate 16432 fi 16433else 16434 # We cannot hardcode anything, or else we can only hardcode existing 16435 # directories. 16436 hardcode_action_CXX=unsupported 16437fi 16438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16439$as_echo "$hardcode_action_CXX" >&6; } 16440 16441if test relink = "$hardcode_action_CXX" || 16442 test yes = "$inherit_rpath_CXX"; then 16443 # Fast installation is not supported 16444 enable_fast_install=no 16445elif test yes = "$shlibpath_overrides_runpath" || 16446 test no = "$enable_shared"; then 16447 # Fast installation is not necessary 16448 enable_fast_install=needless 16449fi 16450 16451 16452 16453 16454 16455 16456 16457 fi # test -n "$compiler" 16458 16459 CC=$lt_save_CC 16460 CFLAGS=$lt_save_CFLAGS 16461 LDCXX=$LD 16462 LD=$lt_save_LD 16463 GCC=$lt_save_GCC 16464 with_gnu_ld=$lt_save_with_gnu_ld 16465 lt_cv_path_LDCXX=$lt_cv_path_LD 16466 lt_cv_path_LD=$lt_save_path_LD 16467 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 16468 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 16469fi # test yes != "$_lt_caught_CXX_error" 16470 16471ac_ext=c 16472ac_cpp='$CPP $CPPFLAGS' 16473ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16475ac_compiler_gnu=$ac_cv_c_compiler_gnu 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 ac_config_commands="$ac_config_commands libtool" 16492 16493 16494 16495 16496# Only expand once: 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 16507 if test -n "$ac_tool_prefix"; then 16508 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 16509set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 16510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16511$as_echo_n "checking for $ac_word... " >&6; } 16512if ${ac_cv_path_PKG_CONFIG+:} false; then : 16513 $as_echo_n "(cached) " >&6 16514else 16515 case $PKG_CONFIG in 16516 [\\/]* | ?:[\\/]*) 16517 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 16518 ;; 16519 *) 16520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16521for as_dir in $PATH 16522do 16523 IFS=$as_save_IFS 16524 test -z "$as_dir" && as_dir=. 16525 for ac_exec_ext in '' $ac_executable_extensions; do 16526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16527 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16529 break 2 16530 fi 16531done 16532 done 16533IFS=$as_save_IFS 16534 16535 ;; 16536esac 16537fi 16538PKG_CONFIG=$ac_cv_path_PKG_CONFIG 16539if test -n "$PKG_CONFIG"; then 16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 16541$as_echo "$PKG_CONFIG" >&6; } 16542else 16543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16544$as_echo "no" >&6; } 16545fi 16546 16547 16548fi 16549if test -z "$ac_cv_path_PKG_CONFIG"; then 16550 ac_pt_PKG_CONFIG=$PKG_CONFIG 16551 # Extract the first word of "pkg-config", so it can be a program name with args. 16552set dummy pkg-config; ac_word=$2 16553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16554$as_echo_n "checking for $ac_word... " >&6; } 16555if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 16556 $as_echo_n "(cached) " >&6 16557else 16558 case $ac_pt_PKG_CONFIG in 16559 [\\/]* | ?:[\\/]*) 16560 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 16561 ;; 16562 *) 16563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16564for as_dir in $PATH 16565do 16566 IFS=$as_save_IFS 16567 test -z "$as_dir" && as_dir=. 16568 for ac_exec_ext in '' $ac_executable_extensions; do 16569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16570 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16572 break 2 16573 fi 16574done 16575 done 16576IFS=$as_save_IFS 16577 16578 ;; 16579esac 16580fi 16581ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 16582if test -n "$ac_pt_PKG_CONFIG"; then 16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 16584$as_echo "$ac_pt_PKG_CONFIG" >&6; } 16585else 16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16587$as_echo "no" >&6; } 16588fi 16589 16590 if test "x$ac_pt_PKG_CONFIG" = x; then 16591 PKG_CONFIG="" 16592 else 16593 case $cross_compiling:$ac_tool_warned in 16594yes:) 16595{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16596$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16597ac_tool_warned=yes ;; 16598esac 16599 PKG_CONFIG=$ac_pt_PKG_CONFIG 16600 fi 16601else 16602 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 16603fi 16604 16605fi 16606if test -n "$PKG_CONFIG"; then 16607 _pkg_min_version=0.9.0 16608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 16609$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 16610 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16612$as_echo "yes" >&6; } 16613 else 16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16615$as_echo "no" >&6; } 16616 PKG_CONFIG="" 16617 fi 16618fi 16619 16620CAIROMM_MODULES='cairo >= 1.10.0 sigc++-2.0 >= 2.5.1' 16621 16622cairomm_allmodules=$CAIROMM_MODULES 16623CAIROMM_INSTALL_PC='data/cairomm-1.0.pc' 16624 16625for cairomm_mod in ft pdf png ps svg xlib xlib-xrender \ 16626 win32 win32-font quartz quartz-font quartz-image 16627do 16628 if test -n "$PKG_CONFIG" && \ 16629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-\$cairomm_mod\""; } >&5 16630 ($PKG_CONFIG --exists --print-errors "cairo-$cairomm_mod") 2>&5 16631 ac_status=$? 16632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16633 test $ac_status = 0; }; then 16634 16635 cairomm_allmodules="$cairomm_allmodules cairo-$cairomm_mod" 16636 CAIROMM_INSTALL_PC="$CAIROMM_INSTALL_PC data/cairomm-$cairomm_mod-1.0.pc" 16637 16638fi 16639done 16640 16641 16642pkg_failed=no 16643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIROMM" >&5 16644$as_echo_n "checking for CAIROMM... " >&6; } 16645 16646if test -n "$CAIROMM_CFLAGS"; then 16647 pkg_cv_CAIROMM_CFLAGS="$CAIROMM_CFLAGS" 16648 elif test -n "$PKG_CONFIG"; then 16649 if test -n "$PKG_CONFIG" && \ 16650 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cairomm_allmodules\""; } >&5 16651 ($PKG_CONFIG --exists --print-errors "$cairomm_allmodules") 2>&5 16652 ac_status=$? 16653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16654 test $ac_status = 0; }; then 16655 pkg_cv_CAIROMM_CFLAGS=`$PKG_CONFIG --cflags "$cairomm_allmodules" 2>/dev/null` 16656 test "x$?" != "x0" && pkg_failed=yes 16657else 16658 pkg_failed=yes 16659fi 16660 else 16661 pkg_failed=untried 16662fi 16663if test -n "$CAIROMM_LIBS"; then 16664 pkg_cv_CAIROMM_LIBS="$CAIROMM_LIBS" 16665 elif test -n "$PKG_CONFIG"; then 16666 if test -n "$PKG_CONFIG" && \ 16667 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cairomm_allmodules\""; } >&5 16668 ($PKG_CONFIG --exists --print-errors "$cairomm_allmodules") 2>&5 16669 ac_status=$? 16670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16671 test $ac_status = 0; }; then 16672 pkg_cv_CAIROMM_LIBS=`$PKG_CONFIG --libs "$cairomm_allmodules" 2>/dev/null` 16673 test "x$?" != "x0" && pkg_failed=yes 16674else 16675 pkg_failed=yes 16676fi 16677 else 16678 pkg_failed=untried 16679fi 16680 16681 16682 16683if test $pkg_failed = yes; then 16684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16685$as_echo "no" >&6; } 16686 16687if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16688 _pkg_short_errors_supported=yes 16689else 16690 _pkg_short_errors_supported=no 16691fi 16692 if test $_pkg_short_errors_supported = yes; then 16693 CAIROMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cairomm_allmodules" 2>&1` 16694 else 16695 CAIROMM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$cairomm_allmodules" 2>&1` 16696 fi 16697 # Put the nasty error message in config.log where it belongs 16698 echo "$CAIROMM_PKG_ERRORS" >&5 16699 16700 as_fn_error $? "Package requirements ($cairomm_allmodules) were not met: 16701 16702$CAIROMM_PKG_ERRORS 16703 16704Consider adjusting the PKG_CONFIG_PATH environment variable if you 16705installed software in a non-standard prefix. 16706 16707Alternatively, you may set the environment variables CAIROMM_CFLAGS 16708and CAIROMM_LIBS to avoid the need to call pkg-config. 16709See the pkg-config man page for more details." "$LINENO" 5 16710elif test $pkg_failed = untried; then 16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16712$as_echo "no" >&6; } 16713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16714$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16715as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16716is in your PATH or set the PKG_CONFIG environment variable to the full 16717path to pkg-config. 16718 16719Alternatively, you may set the environment variables CAIROMM_CFLAGS 16720and CAIROMM_LIBS to avoid the need to call pkg-config. 16721See the pkg-config man page for more details. 16722 16723To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16724See \`config.log' for more details" "$LINENO" 5; } 16725else 16726 CAIROMM_CFLAGS=$pkg_cv_CAIROMM_CFLAGS 16727 CAIROMM_LIBS=$pkg_cv_CAIROMM_LIBS 16728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16729$as_echo "yes" >&6; } 16730 16731fi 16732 16733# Extract the first word of "perl", so it can be a program name with args. 16734set dummy perl; ac_word=$2 16735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16736$as_echo_n "checking for $ac_word... " >&6; } 16737if ${ac_cv_path_PERL+:} false; then : 16738 $as_echo_n "(cached) " >&6 16739else 16740 case $PERL in 16741 [\\/]* | ?:[\\/]*) 16742 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 16743 ;; 16744 *) 16745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16746for as_dir in $PATH 16747do 16748 IFS=$as_save_IFS 16749 test -z "$as_dir" && as_dir=. 16750 for ac_exec_ext in '' $ac_executable_extensions; do 16751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16752 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 16753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16754 break 2 16755 fi 16756done 16757 done 16758IFS=$as_save_IFS 16759 16760 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl" 16761 ;; 16762esac 16763fi 16764PERL=$ac_cv_path_PERL 16765if test -n "$PERL"; then 16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 16767$as_echo "$PERL" >&6; } 16768else 16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16770$as_echo "no" >&6; } 16771fi 16772 16773 16774 16775# Extract the first word of "dot", so it can be a program name with args. 16776set dummy dot; ac_word=$2 16777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16778$as_echo_n "checking for $ac_word... " >&6; } 16779if ${ac_cv_path_DOT+:} false; then : 16780 $as_echo_n "(cached) " >&6 16781else 16782 case $DOT in 16783 [\\/]* | ?:[\\/]*) 16784 ac_cv_path_DOT="$DOT" # Let the user override the test with a path. 16785 ;; 16786 *) 16787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16788for as_dir in $PATH 16789do 16790 IFS=$as_save_IFS 16791 test -z "$as_dir" && as_dir=. 16792 for ac_exec_ext in '' $ac_executable_extensions; do 16793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16794 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" 16795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16796 break 2 16797 fi 16798done 16799 done 16800IFS=$as_save_IFS 16801 16802 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot" 16803 ;; 16804esac 16805fi 16806DOT=$ac_cv_path_DOT 16807if test -n "$DOT"; then 16808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5 16809$as_echo "$DOT" >&6; } 16810else 16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16812$as_echo "no" >&6; } 16813fi 16814 16815 16816# Extract the first word of "doxygen", so it can be a program name with args. 16817set dummy doxygen; ac_word=$2 16818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16819$as_echo_n "checking for $ac_word... " >&6; } 16820if ${ac_cv_path_DOXYGEN+:} false; then : 16821 $as_echo_n "(cached) " >&6 16822else 16823 case $DOXYGEN in 16824 [\\/]* | ?:[\\/]*) 16825 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. 16826 ;; 16827 *) 16828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16829for as_dir in $PATH 16830do 16831 IFS=$as_save_IFS 16832 test -z "$as_dir" && as_dir=. 16833 for ac_exec_ext in '' $ac_executable_extensions; do 16834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16835 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 16836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16837 break 2 16838 fi 16839done 16840 done 16841IFS=$as_save_IFS 16842 16843 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen" 16844 ;; 16845esac 16846fi 16847DOXYGEN=$ac_cv_path_DOXYGEN 16848if test -n "$DOXYGEN"; then 16849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 16850$as_echo "$DOXYGEN" >&6; } 16851else 16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16853$as_echo "no" >&6; } 16854fi 16855 16856 16857# Extract the first word of "xsltproc", so it can be a program name with args. 16858set dummy xsltproc; ac_word=$2 16859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16860$as_echo_n "checking for $ac_word... " >&6; } 16861if ${ac_cv_path_XSLTPROC+:} false; then : 16862 $as_echo_n "(cached) " >&6 16863else 16864 case $XSLTPROC in 16865 [\\/]* | ?:[\\/]*) 16866 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. 16867 ;; 16868 *) 16869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16870for as_dir in $PATH 16871do 16872 IFS=$as_save_IFS 16873 test -z "$as_dir" && as_dir=. 16874 for ac_exec_ext in '' $ac_executable_extensions; do 16875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16876 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" 16877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16878 break 2 16879 fi 16880done 16881 done 16882IFS=$as_save_IFS 16883 16884 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc" 16885 ;; 16886esac 16887fi 16888XSLTPROC=$ac_cv_path_XSLTPROC 16889if test -n "$XSLTPROC"; then 16890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 16891$as_echo "$XSLTPROC" >&6; } 16892else 16893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16894$as_echo "no" >&6; } 16895fi 16896 16897 16898# Check whether --enable-documentation was given. 16899if test "${enable_documentation+set}" = set; then : 16900 enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval 16901else 16902 ENABLE_DOCUMENTATION=auto 16903fi 16904 16905if test "x$ENABLE_DOCUMENTATION" != xno; then : 16906 16907 mm_err= 16908 if test "x$MMDOCTOOLDIR" = x; then : 16909 mm_err='The mm-common-util module is available, but the installation of mm-common on this 16910machine is missing the shared documentation utilities of the GNOME C++ 16911bindings. It may be necessary to upgrade to a more recent release of 16912mm-common in order to build '$PACKAGE_NAME' and install the documentation.' 16913elif test "x$PERL" = xperl; then : 16914 mm_err='Perl is required for installing the documentation.' 16915elif test "x$USE_MAINTAINER_MODE" != xno; then : 16916 16917 test "x$DOT" != xdot || mm_err=' dot' 16918 test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen" 16919 test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc" 16920 test -z "$mm_err" || mm_err='The documentation cannot be generated because 16921not all of the required tools are available:'$mm_err 16922 16923fi 16924 if test -z "$mm_err"; then : 16925 ENABLE_DOCUMENTATION=yes 16926elif test "x$ENABLE_DOCUMENTATION" = xyes; then : 16927 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16928$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16929as_fn_error $? "$mm_err 16930See \`config.log' for more details" "$LINENO" 5; } 16931else 16932 ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5 16933$as_echo "$as_me: WARNING: $mm_err" >&2;} 16934fi 16935 16936fi 16937 if test "x$ENABLE_DOCUMENTATION" = xyes; then 16938 ENABLE_DOCUMENTATION_TRUE= 16939 ENABLE_DOCUMENTATION_FALSE='#' 16940else 16941 ENABLE_DOCUMENTATION_TRUE='#' 16942 ENABLE_DOCUMENTATION_FALSE= 16943fi 16944 16945DOXYGEN_TAGFILES= 16946 16947DOCINSTALL_FLAGS= 16948 16949 16950if test "x$ENABLE_DOCUMENTATION" != xno; then : 16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5 16952$as_echo_n "checking for libstdc documentation... " >&6; } 16953 16954# Check whether --with-libstdc-doc was given. 16955if test "${with_libstdc_doc+set}" = set; then : 16956 withval=$with_libstdc_doc; 16957 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5` 16958 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5` 16959 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5` 16960 test "x$mm_tagname" != x || mm_tagname="libstdc++.tag" 16961 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname 16962else 16963 16964 mm_htmlrefdir= 16965 mm_tagname="libstdc++.tag" 16966 mm_tagpath=$mm_tagname 16967fi 16968 16969 # Prepend working direcory if the tag file path starts with ./ or ../ 16970 case $mm_tagpath in #( 16971 .[\\/]*|..[\\/]*) : 16972 mm_tagpath=`pwd`/$mm_tagpath ;; #( 16973 *) : 16974 ;; 16975esac 16976 16977 # If no local directory was specified, get the default from the .pc file 16978 if test "x$mm_htmlrefdir" = x; then : 16979 16980 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5` 16981fi 16982 # If the user specified a Web URL, allow it to override the public location 16983 case $mm_htmlrefdir in #( 16984 http://*|https://*) : 16985 mm_htmlrefpub=$mm_htmlrefdir ;; #( 16986 *) : 16987 16988 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5` 16989 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir 16990 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub 16991 ;; 16992esac 16993 # The user-supplied tag-file name takes precedence if it includes the path 16994 case $mm_tagpath in #( 16995 *[\\/]*) : 16996 ;; #( 16997 *) : 16998 16999 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5` 17000 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile 17001 ;; 17002esac 17003 # Remove trailing slashes and translate to URI 17004 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17005 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17006 17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5 17008$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; } 17009 17010 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then : 17011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5 17012$as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;} 17013fi 17014 if test "x$mm_htmlrefdir" = x; then : 17015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5 17016$as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;} 17017else 17018 if test "x$DOCINSTALL_FLAGS" = x; then : 17019 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'" 17020else 17021 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'" 17022fi 17023fi 17024 17025 if test "x$mm_htmlrefpub" = x; then : 17026 mm_val=$mm_tagpath 17027else 17028 mm_val="$mm_tagpath=$mm_htmlrefpub" 17029fi 17030 if test "x$DOXYGEN_TAGFILES" = x; then : 17031 DOXYGEN_TAGFILES=\"$mm_val\" 17032else 17033 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\" 17034fi 17035fi 17036if test "x$ENABLE_DOCUMENTATION" != xno; then : 17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigc documentation" >&5 17038$as_echo_n "checking for libsigc documentation... " >&6; } 17039 17040# Check whether --with-libsigc-doc was given. 17041if test "${with_libsigc_doc+set}" = set; then : 17042 withval=$with_libsigc_doc; 17043 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5` 17044 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5` 17045 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5` 17046 test "x$mm_tagname" != x || mm_tagname="libsigc++-2.0.tag" 17047 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname 17048else 17049 17050 mm_htmlrefdir= 17051 mm_tagname="libsigc++-2.0.tag" 17052 mm_tagpath=$mm_tagname 17053fi 17054 17055 # Prepend working direcory if the tag file path starts with ./ or ../ 17056 case $mm_tagpath in #( 17057 .[\\/]*|..[\\/]*) : 17058 mm_tagpath=`pwd`/$mm_tagpath ;; #( 17059 *) : 17060 ;; 17061esac 17062 17063 # If no local directory was specified, get the default from the .pc file 17064 if test "x$mm_htmlrefdir" = x; then : 17065 17066 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "sigc++-2.0" 2>&5` 17067fi 17068 # If the user specified a Web URL, allow it to override the public location 17069 case $mm_htmlrefdir in #( 17070 http://*|https://*) : 17071 mm_htmlrefpub=$mm_htmlrefdir ;; #( 17072 *) : 17073 17074 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "sigc++-2.0" 2>&5` 17075 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir 17076 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub 17077 ;; 17078esac 17079 # The user-supplied tag-file name takes precedence if it includes the path 17080 case $mm_tagpath in #( 17081 *[\\/]*) : 17082 ;; #( 17083 *) : 17084 17085 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "sigc++-2.0" 2>&5` 17086 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile 17087 ;; 17088esac 17089 # Remove trailing slashes and translate to URI 17090 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17091 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17092 17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5 17094$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; } 17095 17096 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then : 17097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&5 17098$as_echo "$as_me: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&2;} 17099fi 17100 if test "x$mm_htmlrefdir" = x; then : 17101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libsigc documentation not set" >&5 17102$as_echo "$as_me: WARNING: Location of external libsigc documentation not set" >&2;} 17103else 17104 if test "x$DOCINSTALL_FLAGS" = x; then : 17105 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'" 17106else 17107 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'" 17108fi 17109fi 17110 17111 if test "x$mm_htmlrefpub" = x; then : 17112 mm_val=$mm_tagpath 17113else 17114 mm_val="$mm_tagpath=$mm_htmlrefpub" 17115fi 17116 if test "x$DOXYGEN_TAGFILES" = x; then : 17117 DOXYGEN_TAGFILES=\"$mm_val\" 17118else 17119 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\" 17120fi 17121fi 17122 17123ac_ext=cpp 17124ac_cpp='$CXXCPP $CPPFLAGS' 17125ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17126ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17127ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17128 17129# Check whether --enable-warnings was given. 17130if test "${enable_warnings+set}" = set; then : 17131 enableval=$enable_warnings; mm_enable_warnings=$enableval 17132else 17133 mm_enable_warnings=min 17134fi 17135 17136case $ac_compile in #( 17137 *'$CXXFLAGS '*) : 17138 mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #( 17139 *'$CFLAGS '*) : 17140 mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #( 17141 *) : 17142 as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;; 17143esac 17144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5 17145$as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; } 17146mm_deprecation_flags= 17147mm_tested_flags= 17148case $mm_enable_warnings in #( 17149 no) : 17150 mm_warning_flags= ;; #( 17151 max) : 17152 mm_warning_flags="-pedantic -Wall -Wextra -Wformat-security -Wsuggest-override" ;; #( 17153 fatal) : 17154 mm_warning_flags="-pedantic -Wall -Wextra -Wformat-security -Wsuggest-override -Werror" 17155 for mm_prefix in SIGCXX 17156 do 17157 mm_deprecation_flags="$mm_deprecation_flags-D${mm_prefix}_DISABLE_DEPRECATED " 17158 done ;; #( 17159 *) : 17160 mm_warning_flags="-Wall" ;; 17161esac 17162if test "x$mm_warning_flags" != x; then : 17163 17164 # Keep in mind that the dummy source must be devoid of any 17165 # problems that might cause diagnostics. 17166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17167/* end confdefs.h. */ 17168 17169int main(int argc, char** argv) { return !argv ? 0 : argc; } 17170 17171_ACEOF 17172 for mm_flag in $mm_warning_flags 17173 do 17174 # Test whether the compiler accepts the flag. Look at standard output, 17175 # since GCC only shows a warning message if an option is not supported. 17176 mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed` 17177 rm -f "conftest.${OBJEXT-o}" 17178 17179 if test "x$mm_cc_out" = x; then : 17180 if test "x$mm_tested_flags" = x; then : 17181 mm_tested_flags=$mm_flag 17182else 17183 mm_tested_flags="$mm_tested_flags $mm_flag" 17184fi 17185else 17186 cat <<_MMEOF >&5 17187$mm_cc: $mm_cc_out 17188_MMEOF 17189 17190fi 17191 done 17192 rm -f "$mm_conftest" 17193 17194fi 17195mm_all_flags=$mm_deprecation_flags$mm_tested_flags 17196CAIROMM_WXXFLAGS=$mm_all_flags 17197 17198test "x$mm_all_flags" != x || mm_all_flags=none 17199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5 17200$as_echo "$mm_all_flags" >&6; } 17201 17202# Check whether --enable-tests was given. 17203if test "${enable_tests+set}" = set; then : 17204 enableval=$enable_tests; ENABLE_TESTS=$enableval 17205else 17206 ENABLE_TESTS=no 17207fi 17208 17209 17210BOOST_UNIT_TEST_FRAMEWORK_STATIC_LIB= 17211if test "x$ENABLE_TESTS" = xyes; then : 17212 17213####################################################### 17214#boost build system sucks no end. 17215#it is damn hard to detect the version of boost 17216#that is installed. All that because our friends of 17217#the boost project don't want to integrate to autofoo. 17218#So we resort to hugly hacks to detect the version of 17219#boost that is installed. 17220####################################################### 17221 17222 17223# Check whether --with-boost was given. 17224if test "${with_boost+set}" = set; then : 17225 withval=$with_boost; 17226 if test "$withval" = "no"; then 17227 want_boost="no" 17228 elif test "$withval" = "yes"; then 17229 want_boost="yes" 17230 ac_boost_path="" 17231 else 17232 want_boost="yes" 17233 ac_boost_path="$withval" 17234 fi 17235 17236else 17237 want_boost="yes" 17238fi 17239 17240 17241if test "x$want_boost" = "xyes"; then 17242 boost_lib_version_req=1.33.1 17243 boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'` 17244 boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'` 17245 boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'` 17246 boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'` 17247 if test "x$boost_lib_version_req_sub_minor" = "x" ; then 17248 boost_lib_version_req_sub_minor="0" 17249 fi 17250 WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor` 17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= $boost_lib_version_req" >&5 17252$as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; } 17253 succeeded=no 17254 17255 if test "$ac_boost_path" != ""; then 17256 BOOST_LDFLAGS="-L$ac_boost_path/lib" 17257 BOOST_CPPFLAGS="-I$ac_boost_path/include" 17258 else 17259 for ac_boost_path_tmp in /usr /usr/local /opt ; do 17260 if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then 17261 BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib" 17262 BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include" 17263 break; 17264 fi 17265 done 17266 fi 17267 17268 CPPFLAGS_SAVED="$CPPFLAGS" 17269 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" 17270 export CPPFLAGS 17271 17272 LDFLAGS_SAVED="$LDFLAGS" 17273 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" 17274 export LDFLAGS 17275 17276 ac_ext=cpp 17277ac_cpp='$CXXCPP $CPPFLAGS' 17278ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17279ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17280ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17281 17282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17283/* end confdefs.h. */ 17284 17285 #include <boost/version.hpp> 17286 17287int 17288main () 17289{ 17290 17291 #if BOOST_VERSION >= $WANT_BOOST_VERSION 17292 // Everything is okay 17293 #else 17294 # error Boost version is too old 17295 #endif 17296 17297 ; 17298 return 0; 17299} 17300_ACEOF 17301if ac_fn_cxx_try_compile "$LINENO"; then : 17302 17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17304$as_echo "yes" >&6; } 17305 succeeded=yes 17306 found_system=yes 17307 17308fi 17309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17310 ac_ext=cpp 17311ac_cpp='$CXXCPP $CPPFLAGS' 17312ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17313ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17314ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17315 17316 17317 17318 17319 if test "x$succeeded" != "xyes"; then 17320 _version=0 17321 if test "$ac_boost_path" != ""; then 17322 BOOST_LDFLAGS="-L$ac_boost_path/lib" 17323 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then 17324 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do 17325 _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` 17326 V_CHECK=`expr $_version_tmp \> $_version` 17327 if test "$V_CHECK" = "1" ; then 17328 _version=$_version_tmp 17329 fi 17330 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'` 17331 BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE" 17332 done 17333 fi 17334 else 17335 for ac_boost_path in /usr /usr/local /opt ; do 17336 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then 17337 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do 17338 _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` 17339 V_CHECK=`expr $_version_tmp \> $_version` 17340 if test "$V_CHECK" = "1" ; then 17341 _version=$_version_tmp 17342 best_path=$ac_boost_path 17343 fi 17344 done 17345 fi 17346 done 17347 17348 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'` 17349 BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE" 17350 BOOST_LDFLAGS="-L$best_path/lib" 17351 17352 if test "x$BOOST_ROOT" != "x"; then 17353 if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/lib" && test -r "$BOOST_ROOT/stage/lib"; then 17354 version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'` 17355 stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'` 17356 stage_version_shorten=`expr $stage_version : '\([0-9]*\.[0-9]*\)'` 17357 V_CHECK=`expr $stage_version_shorten \>\= $_version` 17358 if test "$V_CHECK" = "1" ; then 17359 { $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5 17360$as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;} 17361 BOOST_CPPFLAGS="-I$BOOST_ROOT" 17362 BOOST_LDFLAGS="-L$BOOST_ROOT/stage/lib" 17363 fi 17364 fi 17365 fi 17366 fi 17367 17368 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" 17369 export CPPFLAGS 17370 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" 17371 export LDFLAGS 17372 17373 ac_ext=cpp 17374ac_cpp='$CXXCPP $CPPFLAGS' 17375ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17376ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17377ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17378 17379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17380/* end confdefs.h. */ 17381 17382 #include <boost/version.hpp> 17383 17384int 17385main () 17386{ 17387 17388 #if BOOST_VERSION >= $WANT_BOOST_VERSION 17389 // Everything is okay 17390 #else 17391 # error Boost version is too old 17392 #endif 17393 17394 ; 17395 return 0; 17396} 17397_ACEOF 17398if ac_fn_cxx_try_compile "$LINENO"; then : 17399 17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17401$as_echo "yes" >&6; } 17402 succeeded=yes 17403 found_system=yes 17404 17405fi 17406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17407 ac_ext=cpp 17408ac_cpp='$CXXCPP $CPPFLAGS' 17409ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17410ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17411ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17412 17413 fi 17414 17415 if test "$succeeded" != "yes" ; then 17416 if test "$_version" = "0" ; then 17417 as_fn_error $? "We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." "$LINENO" 5 17418 else 17419 { $as_echo "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5 17420$as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;} 17421 fi 17422 else 17423 17424 17425 17426$as_echo "#define HAVE_BOOST /**/" >>confdefs.h 17427 17428 fi 17429 17430 CPPFLAGS="$CPPFLAGS_SAVED" 17431 LDFLAGS="$LDFLAGS_SAVED" 17432fi 17433 17434 17435 17436 17437# Check whether --with-boost-unit-test-framework was given. 17438if test "${with_boost_unit_test_framework+set}" = set; then : 17439 withval=$with_boost_unit_test_framework; 17440 if test "$withval" = "no"; then 17441 want_boost="no" 17442 elif test "$withval" = "yes"; then 17443 want_boost="yes" 17444 ax_boost_user_unit_test_framework_lib="" 17445 else 17446 want_boost="yes" 17447 ax_boost_user_unit_test_framework_lib="$withval" 17448 fi 17449 17450else 17451 want_boost="yes" 17452 17453fi 17454 17455 17456 if test "x$want_boost" = "xyes"; then 17457 17458 CPPFLAGS_SAVED="$CPPFLAGS" 17459 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" 17460 export CPPFLAGS 17461 17462 LDFLAGS_SAVED="$LDFLAGS" 17463 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" 17464 export LDFLAGS 17465 17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::Unit_Test_Framework library is available" >&5 17467$as_echo_n "checking whether the Boost::Unit_Test_Framework library is available... " >&6; } 17468if ${ax_cv_boost_unit_test_framework+:} false; then : 17469 $as_echo_n "(cached) " >&6 17470else 17471 ac_ext=cpp 17472ac_cpp='$CXXCPP $CPPFLAGS' 17473ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17474ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17475ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17476 17477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17478/* end confdefs.h. */ 17479#include <boost/test/unit_test.hpp> 17480int 17481main () 17482{ 17483using boost::unit_test::test_suite; 17484 test_suite* test= BOOST_TEST_SUITE( "Unit test example 1" ); return 0; 17485 ; 17486 return 0; 17487} 17488_ACEOF 17489if ac_fn_cxx_try_compile "$LINENO"; then : 17490 ax_cv_boost_unit_test_framework=yes 17491else 17492 ax_cv_boost_unit_test_framework=no 17493fi 17494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17495 ac_ext=cpp 17496ac_cpp='$CXXCPP $CPPFLAGS' 17497ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17498ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17499ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17500 17501 17502fi 17503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_unit_test_framework" >&5 17504$as_echo "$ax_cv_boost_unit_test_framework" >&6; } 17505 if test "x$ax_cv_boost_unit_test_framework" = "xyes"; then 17506 17507$as_echo "#define HAVE_BOOST_UNIT_TEST_FRAMEWORK /**/" >>confdefs.h 17508 17509 BN=boost_unit_test_framework 17510 if test "x$ax_boost_user_unit_test_framework_lib" = "x"; then 17511 saved_ldflags="${LDFLAGS}" 17512 for ax_lib in $BN $BN-mt $BN-mt-s $BN-s \ 17513 $BN-$CC $BN-$CC-mt $BN-$CC-mt-s $BN-$CC-s \ 17514 lib$BN lib$BN-$CC lib$BN-$CC-mt lib$BN-$CC-mt-s lib$BN-$CC-s \ 17515 $BN-mgw $BN-mgw $BN-mgw-mt $BN-mgw-mt-s $BN-mgw-s ; do 17516 LDFLAGS="${LDFLAGS} -l$ax_lib" 17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Boost::UnitTestFramework library linkage" >&5 17518$as_echo_n "checking Boost::UnitTestFramework library linkage... " >&6; } 17519if ${ax_cv_boost_unit_test_framework_link+:} false; then : 17520 $as_echo_n "(cached) " >&6 17521else 17522 ac_ext=cpp 17523ac_cpp='$CXXCPP $CPPFLAGS' 17524ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17525ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17526ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17527 17528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17529/* end confdefs.h. */ 17530#include <boost/test/unit_test.hpp> 17531 using boost::unit_test::test_suite; 17532 test_suite* init_unit_test_suite( int argc, char * argv[] ) { 17533 test_suite* test= BOOST_TEST_SUITE( "Unit test example 1" ); 17534 return test; 17535 } 17536 17537int 17538main () 17539{ 17540 return 0; 17541 ; 17542 return 0; 17543} 17544_ACEOF 17545if ac_fn_cxx_try_link "$LINENO"; then : 17546 link_unit_test_framework="yes" 17547else 17548 link_unit_test_framework="no" 17549fi 17550rm -f core conftest.err conftest.$ac_objext \ 17551 conftest$ac_exeext conftest.$ac_ext 17552 ac_ext=cpp 17553ac_cpp='$CXXCPP $CPPFLAGS' 17554ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17555ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17556ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17557 17558 17559fi 17560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_unit_test_framework_link" >&5 17561$as_echo "$ax_cv_boost_unit_test_framework_link" >&6; } 17562 LDFLAGS="${saved_ldflags}" 17563 17564 if test "x$link_unit_test_framework" = "xyes"; then 17565 BOOST_UNIT_TEST_FRAMEWORK_LIB="-l$ax_lib" 17566 17567 break 17568 fi 17569 done 17570 else 17571 saved_ldflags="${LDFLAGS}" 17572 for ax_lib in $ax_boost_user_unit_test_framework_lib $BN-$ax_boost_user_unit_test_framework_lib; do 17573 LDFLAGS="${LDFLAGS} -l$ax_lib" 17574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Boost::UnitTestFramework library linkage" >&5 17575$as_echo_n "checking Boost::UnitTestFramework library linkage... " >&6; } 17576if ${ax_cv_boost_unit_test_framework_link+:} false; then : 17577 $as_echo_n "(cached) " >&6 17578else 17579 ac_ext=cpp 17580ac_cpp='$CXXCPP $CPPFLAGS' 17581ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17582ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17583ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17584 17585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17586/* end confdefs.h. */ 17587#include <boost/test/unit_test.hpp> 17588 using boost::unit_test::test_suite; 17589 test_suite* init_unit_test_suite( int argc, char * argv[] ) { 17590 test_suite* test= BOOST_TEST_SUITE( "Unit test example 1" ); 17591 return test; 17592 } 17593 17594int 17595main () 17596{ 17597 return 0; 17598 ; 17599 return 0; 17600} 17601_ACEOF 17602if ac_fn_cxx_try_link "$LINENO"; then : 17603 link_unit_test_framework="yes" 17604else 17605 link_unit_test_framework="no" 17606fi 17607rm -f core conftest.err conftest.$ac_objext \ 17608 conftest$ac_exeext conftest.$ac_ext 17609 ac_ext=cpp 17610ac_cpp='$CXXCPP $CPPFLAGS' 17611ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17612ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17613ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17614 17615 17616fi 17617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_unit_test_framework_link" >&5 17618$as_echo "$ax_cv_boost_unit_test_framework_link" >&6; } 17619 LDFLAGS="${saved_ldflags}" 17620 if test "x$link_unit_test_framework" = "xyes"; then 17621 BOOST_UNIT_TEST_FRAMEWORK_LIB="-l$ax_lib" 17622 17623 break 17624 fi 17625 done 17626 fi 17627 if test "x$link_unit_test_framework" = "xno"; then 17628 as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5 17629 fi 17630 fi 17631 17632 CPPFLAGS="$CPPFLAGS_SAVED" 17633 LDFLAGS="$LDFLAGS_SAVED" 17634 fi 17635 17636 17637 if test "x$ac_boost_path" != x; then : 17638 for i in "$ac_boost_path/lib/libboost_unit_test_framework.a" \ 17639 "$ac_boost_path/lib/libboost_unit_test_framework-st.a" \ 17640 "$ac_boost_path/libboost_unit_test_framework.a" \ 17641 "$ac_boost_path/libboost_unit_test_framework-st.a" 17642 do 17643 if test -f "$i"; then : 17644 BOOST_UNIT_TEST_FRAMEWORK_STATIC_LIB=$i; break 17645fi 17646 done 17647else 17648 for i in /usr/lib/libboost_unit_test_framework-st.a \ 17649 /usr/lib/libboost_unit_test_framework.a \ 17650 /usr/lib64/libboost_unit_test_framework-st.a \ 17651 /usr/lib64/libboost_unit_test_framework.a 17652 do 17653 if test -f "$i"; then : 17654 BOOST_UNIT_TEST_FRAMEWORK_STATIC_LIB=$i; break 17655fi 17656 done 17657fi 17658 if test "x$BOOST_UNIT_TEST_FRAMEWORK_STATIC_LIB" != x; then : 17659 { $as_echo "$as_me:${as_lineno-$LINENO}: support of automated tests enabled" >&5 17660$as_echo "$as_me: support of automated tests enabled" >&6;} 17661else 17662 as_fn_error $? "Tried to enable unit tests, but could not find Boost Unit Test 17663framework static library candidate. You can specify a custom location 17664using --with-boost=/path/to/lib" "$LINENO" 5 17665fi 17666 17667else 17668 17669 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled support of automated tests" >&5 17670$as_echo "$as_me: disabled support of automated tests" >&6;} 17671 17672fi 17673 17674 17675 if test "x$ENABLE_TESTS" = xyes; then 17676 AUTOTESTS_TRUE= 17677 AUTOTESTS_FALSE='#' 17678else 17679 AUTOTESTS_TRUE='#' 17680 AUTOTESTS_FALSE= 17681fi 17682 17683 17684 # Check whether --enable-api-exceptions was given. 17685if test "${enable_api_exceptions+set}" = set; then : 17686 enableval=$enable_api_exceptions; cairomm_enable_api_exceptions="$enableval" 17687else 17688 cairomm_enable_api_exceptions='yes' 17689fi 17690 17691 17692 if test "x$cairomm_enable_api_exceptions" = "xyes"; then 17693 { 17694 17695$as_echo "#define CAIROMM_EXCEPTIONS_ENABLED 1" >>confdefs.h 17696 17697 } 17698 fi 17699 17700 17701ac_config_files="$ac_config_files Makefile cairomm/Makefile tests/Makefile examples/Makefile docs/Makefile docs/reference/Doxyfile data/cairomm-1.0.pc data/cairomm-ft-1.0.pc data/cairomm-pdf-1.0.pc data/cairomm-png-1.0.pc data/cairomm-ps-1.0.pc data/cairomm-quartz-1.0.pc data/cairomm-quartz-font-1.0.pc data/cairomm-quartz-image-1.0.pc data/cairomm-svg-1.0.pc data/cairomm-win32-1.0.pc data/cairomm-win32-font-1.0.pc data/cairomm-xlib-1.0.pc data/cairomm-xlib-xrender-1.0.pc MSVC_Net2013/cairomm/cairomm.rc" 17702 17703 17704ac_config_commands="$ac_config_commands MSVC_Net2013/cairomm/cairommconfig.h" 17705 17706cat >confcache <<\_ACEOF 17707# This file is a shell script that caches the results of configure 17708# tests run on this system so they can be shared between configure 17709# scripts and configure runs, see configure's option --config-cache. 17710# It is not useful on other systems. If it contains results you don't 17711# want to keep, you may remove or edit it. 17712# 17713# config.status only pays attention to the cache file if you give it 17714# the --recheck option to rerun configure. 17715# 17716# `ac_cv_env_foo' variables (set or unset) will be overridden when 17717# loading this file, other *unset* `ac_cv_foo' will be assigned the 17718# following values. 17719 17720_ACEOF 17721 17722# The following way of writing the cache mishandles newlines in values, 17723# but we know of no workaround that is simple, portable, and efficient. 17724# So, we kill variables containing newlines. 17725# Ultrix sh set writes to stderr and can't be redirected directly, 17726# and sets the high bit in the cache file unless we assign to the vars. 17727( 17728 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 17729 eval ac_val=\$$ac_var 17730 case $ac_val in #( 17731 *${as_nl}*) 17732 case $ac_var in #( 17733 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17734$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17735 esac 17736 case $ac_var in #( 17737 _ | IFS | as_nl) ;; #( 17738 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17739 *) { eval $ac_var=; unset $ac_var;} ;; 17740 esac ;; 17741 esac 17742 done 17743 17744 (set) 2>&1 | 17745 case $as_nl`(ac_space=' '; set) 2>&1` in #( 17746 *${as_nl}ac_space=\ *) 17747 # `set' does not quote correctly, so add quotes: double-quote 17748 # substitution turns \\\\ into \\, and sed turns \\ into \. 17749 sed -n \ 17750 "s/'/'\\\\''/g; 17751 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 17752 ;; #( 17753 *) 17754 # `set' quotes correctly as required by POSIX, so do not add quotes. 17755 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 17756 ;; 17757 esac | 17758 sort 17759) | 17760 sed ' 17761 /^ac_cv_env_/b end 17762 t clear 17763 :clear 17764 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 17765 t end 17766 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 17767 :end' >>confcache 17768if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 17769 if test -w "$cache_file"; then 17770 if test "x$cache_file" != "x/dev/null"; then 17771 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 17772$as_echo "$as_me: updating cache $cache_file" >&6;} 17773 if test ! -f "$cache_file" || test -h "$cache_file"; then 17774 cat confcache >"$cache_file" 17775 else 17776 case $cache_file in #( 17777 */* | ?:*) 17778 mv -f confcache "$cache_file"$$ && 17779 mv -f "$cache_file"$$ "$cache_file" ;; #( 17780 *) 17781 mv -f confcache "$cache_file" ;; 17782 esac 17783 fi 17784 fi 17785 else 17786 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 17787$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 17788 fi 17789fi 17790rm -f confcache 17791 17792test "x$prefix" = xNONE && prefix=$ac_default_prefix 17793# Let make expand exec_prefix. 17794test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 17795 17796DEFS=-DHAVE_CONFIG_H 17797 17798ac_libobjs= 17799ac_ltlibobjs= 17800U= 17801for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 17802 # 1. Remove the extension, and $U if already installed. 17803 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 17804 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 17805 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 17806 # will be set to the directory where LIBOBJS objects are built. 17807 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 17808 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 17809done 17810LIBOBJS=$ac_libobjs 17811 17812LTLIBOBJS=$ac_ltlibobjs 17813 17814 17815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 17816$as_echo_n "checking that generated files are newer than configure... " >&6; } 17817 if test -n "$am_sleep_pid"; then 17818 # Hide warnings about reused PIDs. 17819 wait $am_sleep_pid 2>/dev/null 17820 fi 17821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 17822$as_echo "done" >&6; } 17823 if test -n "$EXEEXT"; then 17824 am__EXEEXT_TRUE= 17825 am__EXEEXT_FALSE='#' 17826else 17827 am__EXEEXT_TRUE='#' 17828 am__EXEEXT_FALSE= 17829fi 17830 17831if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 17832 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 17833Usually this means the macro was only invoked conditionally." "$LINENO" 5 17834fi 17835if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then 17836 as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined. 17837Usually this means the macro was only invoked conditionally." "$LINENO" 5 17838fi 17839if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 17840 as_fn_error $? "conditional \"AMDEP\" was never defined. 17841Usually this means the macro was only invoked conditionally." "$LINENO" 5 17842fi 17843if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 17844 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 17845Usually this means the macro was only invoked conditionally." "$LINENO" 5 17846fi 17847if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 17848 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 17849Usually this means the macro was only invoked conditionally." "$LINENO" 5 17850fi 17851if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then 17852 as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined. 17853Usually this means the macro was only invoked conditionally." "$LINENO" 5 17854fi 17855if test -z "${AUTOTESTS_TRUE}" && test -z "${AUTOTESTS_FALSE}"; then 17856 as_fn_error $? "conditional \"AUTOTESTS\" was never defined. 17857Usually this means the macro was only invoked conditionally." "$LINENO" 5 17858fi 17859 17860: "${CONFIG_STATUS=./config.status}" 17861ac_write_fail=0 17862ac_clean_files_save=$ac_clean_files 17863ac_clean_files="$ac_clean_files $CONFIG_STATUS" 17864{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 17865$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 17866as_write_fail=0 17867cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 17868#! $SHELL 17869# Generated by $as_me. 17870# Run this file to recreate the current configuration. 17871# Compiler output produced by configure, useful for debugging 17872# configure, is in config.log if it exists. 17873 17874debug=false 17875ac_cs_recheck=false 17876ac_cs_silent=false 17877 17878SHELL=\${CONFIG_SHELL-$SHELL} 17879export SHELL 17880_ASEOF 17881cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 17882## -------------------- ## 17883## M4sh Initialization. ## 17884## -------------------- ## 17885 17886# Be more Bourne compatible 17887DUALCASE=1; export DUALCASE # for MKS sh 17888if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 17889 emulate sh 17890 NULLCMD=: 17891 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17892 # is contrary to our usage. Disable this feature. 17893 alias -g '${1+"$@"}'='"$@"' 17894 setopt NO_GLOB_SUBST 17895else 17896 case `(set -o) 2>/dev/null` in #( 17897 *posix*) : 17898 set -o posix ;; #( 17899 *) : 17900 ;; 17901esac 17902fi 17903 17904 17905as_nl=' 17906' 17907export as_nl 17908# Printing a long string crashes Solaris 7 /usr/bin/printf. 17909as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 17910as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 17911as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 17912# Prefer a ksh shell builtin over an external printf program on Solaris, 17913# but without wasting forks for bash or zsh. 17914if test -z "$BASH_VERSION$ZSH_VERSION" \ 17915 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 17916 as_echo='print -r --' 17917 as_echo_n='print -rn --' 17918elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 17919 as_echo='printf %s\n' 17920 as_echo_n='printf %s' 17921else 17922 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 17923 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 17924 as_echo_n='/usr/ucb/echo -n' 17925 else 17926 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 17927 as_echo_n_body='eval 17928 arg=$1; 17929 case $arg in #( 17930 *"$as_nl"*) 17931 expr "X$arg" : "X\\(.*\\)$as_nl"; 17932 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 17933 esac; 17934 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 17935 ' 17936 export as_echo_n_body 17937 as_echo_n='sh -c $as_echo_n_body as_echo' 17938 fi 17939 export as_echo_body 17940 as_echo='sh -c $as_echo_body as_echo' 17941fi 17942 17943# The user is always right. 17944if test "${PATH_SEPARATOR+set}" != set; then 17945 PATH_SEPARATOR=: 17946 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 17947 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 17948 PATH_SEPARATOR=';' 17949 } 17950fi 17951 17952 17953# IFS 17954# We need space, tab and new line, in precisely that order. Quoting is 17955# there to prevent editors from complaining about space-tab. 17956# (If _AS_PATH_WALK were called with IFS unset, it would disable word 17957# splitting by setting IFS to empty value.) 17958IFS=" "" $as_nl" 17959 17960# Find who we are. Look in the path if we contain no directory separator. 17961as_myself= 17962case $0 in #(( 17963 *[\\/]* ) as_myself=$0 ;; 17964 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17965for as_dir in $PATH 17966do 17967 IFS=$as_save_IFS 17968 test -z "$as_dir" && as_dir=. 17969 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 17970 done 17971IFS=$as_save_IFS 17972 17973 ;; 17974esac 17975# We did not find ourselves, most probably we were run as `sh COMMAND' 17976# in which case we are not to be found in the path. 17977if test "x$as_myself" = x; then 17978 as_myself=$0 17979fi 17980if test ! -f "$as_myself"; then 17981 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 17982 exit 1 17983fi 17984 17985# Unset variables that we do not need and which cause bugs (e.g. in 17986# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 17987# suppresses any "Segmentation fault" message there. '((' could 17988# trigger a bug in pdksh 5.2.14. 17989for as_var in BASH_ENV ENV MAIL MAILPATH 17990do eval test x\${$as_var+set} = xset \ 17991 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 17992done 17993PS1='$ ' 17994PS2='> ' 17995PS4='+ ' 17996 17997# NLS nuisances. 17998LC_ALL=C 17999export LC_ALL 18000LANGUAGE=C 18001export LANGUAGE 18002 18003# CDPATH. 18004(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 18005 18006 18007# as_fn_error STATUS ERROR [LINENO LOG_FD] 18008# ---------------------------------------- 18009# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 18010# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 18011# script with STATUS, using 1 if that was 0. 18012as_fn_error () 18013{ 18014 as_status=$1; test $as_status -eq 0 && as_status=1 18015 if test "$4"; then 18016 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 18017 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 18018 fi 18019 $as_echo "$as_me: error: $2" >&2 18020 as_fn_exit $as_status 18021} # as_fn_error 18022 18023 18024# as_fn_set_status STATUS 18025# ----------------------- 18026# Set $? to STATUS, without forking. 18027as_fn_set_status () 18028{ 18029 return $1 18030} # as_fn_set_status 18031 18032# as_fn_exit STATUS 18033# ----------------- 18034# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 18035as_fn_exit () 18036{ 18037 set +e 18038 as_fn_set_status $1 18039 exit $1 18040} # as_fn_exit 18041 18042# as_fn_unset VAR 18043# --------------- 18044# Portably unset VAR. 18045as_fn_unset () 18046{ 18047 { eval $1=; unset $1;} 18048} 18049as_unset=as_fn_unset 18050# as_fn_append VAR VALUE 18051# ---------------------- 18052# Append the text in VALUE to the end of the definition contained in VAR. Take 18053# advantage of any shell optimizations that allow amortized linear growth over 18054# repeated appends, instead of the typical quadratic growth present in naive 18055# implementations. 18056if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 18057 eval 'as_fn_append () 18058 { 18059 eval $1+=\$2 18060 }' 18061else 18062 as_fn_append () 18063 { 18064 eval $1=\$$1\$2 18065 } 18066fi # as_fn_append 18067 18068# as_fn_arith ARG... 18069# ------------------ 18070# Perform arithmetic evaluation on the ARGs, and store the result in the 18071# global $as_val. Take advantage of shells that can avoid forks. The arguments 18072# must be portable across $(()) and expr. 18073if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 18074 eval 'as_fn_arith () 18075 { 18076 as_val=$(( $* )) 18077 }' 18078else 18079 as_fn_arith () 18080 { 18081 as_val=`expr "$@" || test $? -eq 1` 18082 } 18083fi # as_fn_arith 18084 18085 18086if expr a : '\(a\)' >/dev/null 2>&1 && 18087 test "X`expr 00001 : '.*\(...\)'`" = X001; then 18088 as_expr=expr 18089else 18090 as_expr=false 18091fi 18092 18093if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 18094 as_basename=basename 18095else 18096 as_basename=false 18097fi 18098 18099if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 18100 as_dirname=dirname 18101else 18102 as_dirname=false 18103fi 18104 18105as_me=`$as_basename -- "$0" || 18106$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 18107 X"$0" : 'X\(//\)$' \| \ 18108 X"$0" : 'X\(/\)' \| . 2>/dev/null || 18109$as_echo X/"$0" | 18110 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18111 s//\1/ 18112 q 18113 } 18114 /^X\/\(\/\/\)$/{ 18115 s//\1/ 18116 q 18117 } 18118 /^X\/\(\/\).*/{ 18119 s//\1/ 18120 q 18121 } 18122 s/.*/./; q'` 18123 18124# Avoid depending upon Character Ranges. 18125as_cr_letters='abcdefghijklmnopqrstuvwxyz' 18126as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 18127as_cr_Letters=$as_cr_letters$as_cr_LETTERS 18128as_cr_digits='0123456789' 18129as_cr_alnum=$as_cr_Letters$as_cr_digits 18130 18131ECHO_C= ECHO_N= ECHO_T= 18132case `echo -n x` in #((((( 18133-n*) 18134 case `echo 'xy\c'` in 18135 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 18136 xy) ECHO_C='\c';; 18137 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 18138 ECHO_T=' ';; 18139 esac;; 18140*) 18141 ECHO_N='-n';; 18142esac 18143 18144rm -f conf$$ conf$$.exe conf$$.file 18145if test -d conf$$.dir; then 18146 rm -f conf$$.dir/conf$$.file 18147else 18148 rm -f conf$$.dir 18149 mkdir conf$$.dir 2>/dev/null 18150fi 18151if (echo >conf$$.file) 2>/dev/null; then 18152 if ln -s conf$$.file conf$$ 2>/dev/null; then 18153 as_ln_s='ln -s' 18154 # ... but there are two gotchas: 18155 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 18156 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 18157 # In both cases, we have to default to `cp -pR'. 18158 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 18159 as_ln_s='cp -pR' 18160 elif ln conf$$.file conf$$ 2>/dev/null; then 18161 as_ln_s=ln 18162 else 18163 as_ln_s='cp -pR' 18164 fi 18165else 18166 as_ln_s='cp -pR' 18167fi 18168rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 18169rmdir conf$$.dir 2>/dev/null 18170 18171 18172# as_fn_mkdir_p 18173# ------------- 18174# Create "$as_dir" as a directory, including parents if necessary. 18175as_fn_mkdir_p () 18176{ 18177 18178 case $as_dir in #( 18179 -*) as_dir=./$as_dir;; 18180 esac 18181 test -d "$as_dir" || eval $as_mkdir_p || { 18182 as_dirs= 18183 while :; do 18184 case $as_dir in #( 18185 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 18186 *) as_qdir=$as_dir;; 18187 esac 18188 as_dirs="'$as_qdir' $as_dirs" 18189 as_dir=`$as_dirname -- "$as_dir" || 18190$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18191 X"$as_dir" : 'X\(//\)[^/]' \| \ 18192 X"$as_dir" : 'X\(//\)$' \| \ 18193 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 18194$as_echo X"$as_dir" | 18195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18196 s//\1/ 18197 q 18198 } 18199 /^X\(\/\/\)[^/].*/{ 18200 s//\1/ 18201 q 18202 } 18203 /^X\(\/\/\)$/{ 18204 s//\1/ 18205 q 18206 } 18207 /^X\(\/\).*/{ 18208 s//\1/ 18209 q 18210 } 18211 s/.*/./; q'` 18212 test -d "$as_dir" && break 18213 done 18214 test -z "$as_dirs" || eval "mkdir $as_dirs" 18215 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 18216 18217 18218} # as_fn_mkdir_p 18219if mkdir -p . 2>/dev/null; then 18220 as_mkdir_p='mkdir -p "$as_dir"' 18221else 18222 test -d ./-p && rmdir ./-p 18223 as_mkdir_p=false 18224fi 18225 18226 18227# as_fn_executable_p FILE 18228# ----------------------- 18229# Test if FILE is an executable regular file. 18230as_fn_executable_p () 18231{ 18232 test -f "$1" && test -x "$1" 18233} # as_fn_executable_p 18234as_test_x='test -x' 18235as_executable_p=as_fn_executable_p 18236 18237# Sed expression to map a string onto a valid CPP name. 18238as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 18239 18240# Sed expression to map a string onto a valid variable name. 18241as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 18242 18243 18244exec 6>&1 18245## ----------------------------------- ## 18246## Main body of $CONFIG_STATUS script. ## 18247## ----------------------------------- ## 18248_ASEOF 18249test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 18250 18251cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18252# Save the log message, to keep $0 and so on meaningful, and to 18253# report actual input values of CONFIG_FILES etc. instead of their 18254# values after options handling. 18255ac_log=" 18256This file was extended by cairomm $as_me 1.12.2, which was 18257generated by GNU Autoconf 2.69. Invocation command line was 18258 18259 CONFIG_FILES = $CONFIG_FILES 18260 CONFIG_HEADERS = $CONFIG_HEADERS 18261 CONFIG_LINKS = $CONFIG_LINKS 18262 CONFIG_COMMANDS = $CONFIG_COMMANDS 18263 $ $0 $@ 18264 18265on `(hostname || uname -n) 2>/dev/null | sed 1q` 18266" 18267 18268_ACEOF 18269 18270case $ac_config_files in *" 18271"*) set x $ac_config_files; shift; ac_config_files=$*;; 18272esac 18273 18274case $ac_config_headers in *" 18275"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 18276esac 18277 18278 18279cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18280# Files that config.status was made for. 18281config_files="$ac_config_files" 18282config_headers="$ac_config_headers" 18283config_commands="$ac_config_commands" 18284 18285_ACEOF 18286 18287cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18288ac_cs_usage="\ 18289\`$as_me' instantiates files and other configuration actions 18290from templates according to the current configuration. Unless the files 18291and actions are specified as TAGs, all are instantiated by default. 18292 18293Usage: $0 [OPTION]... [TAG]... 18294 18295 -h, --help print this help, then exit 18296 -V, --version print version number and configuration settings, then exit 18297 --config print configuration, then exit 18298 -q, --quiet, --silent 18299 do not print progress messages 18300 -d, --debug don't remove temporary files 18301 --recheck update $as_me by reconfiguring in the same conditions 18302 --file=FILE[:TEMPLATE] 18303 instantiate the configuration file FILE 18304 --header=FILE[:TEMPLATE] 18305 instantiate the configuration header FILE 18306 18307Configuration files: 18308$config_files 18309 18310Configuration headers: 18311$config_headers 18312 18313Configuration commands: 18314$config_commands 18315 18316Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=cairomm>. 18317cairomm home page: <http://www.cairographics.org/cairomm/>." 18318 18319_ACEOF 18320cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18321ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 18322ac_cs_version="\\ 18323cairomm config.status 1.12.2 18324configured by $0, generated by GNU Autoconf 2.69, 18325 with options \\"\$ac_cs_config\\" 18326 18327Copyright (C) 2012 Free Software Foundation, Inc. 18328This config.status script is free software; the Free Software Foundation 18329gives unlimited permission to copy, distribute and modify it." 18330 18331ac_pwd='$ac_pwd' 18332srcdir='$srcdir' 18333INSTALL='$INSTALL' 18334MKDIR_P='$MKDIR_P' 18335AWK='$AWK' 18336test -n "\$AWK" || AWK=awk 18337_ACEOF 18338 18339cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18340# The default lists apply if the user does not specify any file. 18341ac_need_defaults=: 18342while test $# != 0 18343do 18344 case $1 in 18345 --*=?*) 18346 ac_option=`expr "X$1" : 'X\([^=]*\)='` 18347 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 18348 ac_shift=: 18349 ;; 18350 --*=) 18351 ac_option=`expr "X$1" : 'X\([^=]*\)='` 18352 ac_optarg= 18353 ac_shift=: 18354 ;; 18355 *) 18356 ac_option=$1 18357 ac_optarg=$2 18358 ac_shift=shift 18359 ;; 18360 esac 18361 18362 case $ac_option in 18363 # Handling of the options. 18364 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 18365 ac_cs_recheck=: ;; 18366 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 18367 $as_echo "$ac_cs_version"; exit ;; 18368 --config | --confi | --conf | --con | --co | --c ) 18369 $as_echo "$ac_cs_config"; exit ;; 18370 --debug | --debu | --deb | --de | --d | -d ) 18371 debug=: ;; 18372 --file | --fil | --fi | --f ) 18373 $ac_shift 18374 case $ac_optarg in 18375 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18376 '') as_fn_error $? "missing file argument" ;; 18377 esac 18378 as_fn_append CONFIG_FILES " '$ac_optarg'" 18379 ac_need_defaults=false;; 18380 --header | --heade | --head | --hea ) 18381 $ac_shift 18382 case $ac_optarg in 18383 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18384 esac 18385 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 18386 ac_need_defaults=false;; 18387 --he | --h) 18388 # Conflict between --help and --header 18389 as_fn_error $? "ambiguous option: \`$1' 18390Try \`$0 --help' for more information.";; 18391 --help | --hel | -h ) 18392 $as_echo "$ac_cs_usage"; exit ;; 18393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 18394 | -silent | --silent | --silen | --sile | --sil | --si | --s) 18395 ac_cs_silent=: ;; 18396 18397 # This is an error. 18398 -*) as_fn_error $? "unrecognized option: \`$1' 18399Try \`$0 --help' for more information." ;; 18400 18401 *) as_fn_append ac_config_targets " $1" 18402 ac_need_defaults=false ;; 18403 18404 esac 18405 shift 18406done 18407 18408ac_configure_extra_args= 18409 18410if $ac_cs_silent; then 18411 exec 6>/dev/null 18412 ac_configure_extra_args="$ac_configure_extra_args --silent" 18413fi 18414 18415_ACEOF 18416cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18417if \$ac_cs_recheck; then 18418 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 18419 shift 18420 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 18421 CONFIG_SHELL='$SHELL' 18422 export CONFIG_SHELL 18423 exec "\$@" 18424fi 18425 18426_ACEOF 18427cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18428exec 5>>config.log 18429{ 18430 echo 18431 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 18432## Running $as_me. ## 18433_ASBOX 18434 $as_echo "$ac_log" 18435} >&5 18436 18437_ACEOF 18438cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18439# 18440# INIT-COMMANDS 18441# 18442AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 18443 18444 18445# The HP-UX ksh and POSIX shell print the target directory to stdout 18446# if CDPATH is set. 18447(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 18448 18449sed_quote_subst='$sed_quote_subst' 18450double_quote_subst='$double_quote_subst' 18451delay_variable_subst='$delay_variable_subst' 18452enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 18453AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 18454DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 18455OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 18456macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 18457macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 18458enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 18459pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 18460enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 18461shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 18462SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 18463ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 18464PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 18465host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 18466host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 18467host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 18468build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 18469build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 18470build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 18471SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 18472Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 18473GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 18474EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 18475FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 18476LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 18477NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 18478LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 18479max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 18480ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 18481exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 18482lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 18483lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 18484lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 18485lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 18486lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 18487reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 18488reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 18489deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 18490file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 18491file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 18492want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 18493sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 18494AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 18495AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 18496archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 18497STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 18498RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 18499old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18500old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18501old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 18502lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 18503CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 18504CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 18505compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 18506GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 18507lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 18508lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 18509lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 18510lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 18511lt_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"`' 18512lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 18513nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 18514lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 18515lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 18516objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 18517MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 18518lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 18519lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 18520lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 18521lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 18522lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 18523need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 18524MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 18525DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 18526NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 18527LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 18528OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 18529OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 18530libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 18531shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 18532extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18533archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 18534enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 18535export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 18536whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 18537compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 18538old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 18539old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18540archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 18541archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18542module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 18543module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18544with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 18545allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 18546no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 18547hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 18548hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 18549hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 18550hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 18551hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 18552hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 18553hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 18554inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 18555link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 18556always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 18557export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 18558exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 18559include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 18560prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 18561postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 18562file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 18563variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 18564need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 18565need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 18566version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 18567runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 18568shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 18569shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 18570libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 18571library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 18572soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 18573install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 18574postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18575postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18576finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 18577finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 18578hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 18579sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 18580configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 18581configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 18582hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 18583enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 18584enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 18585enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 18586old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 18587striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 18588compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 18589predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 18590postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 18591predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 18592postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 18593compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 18594LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 18595reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 18596reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18597old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18598compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 18599GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 18600lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 18601lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 18602lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 18603lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 18604lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 18605archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 18606enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 18607export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18608whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18609compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 18610old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18611old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18612archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18613archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18614module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18615module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18616with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 18617allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 18618no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 18619hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18620hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 18621hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 18622hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 18623hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 18624hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 18625hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 18626inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 18627link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 18628always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 18629export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18630exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 18631include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 18632prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18633postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18634file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 18635hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 18636compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 18637predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 18638postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 18639predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 18640postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 18641compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 18642 18643LTCC='$LTCC' 18644LTCFLAGS='$LTCFLAGS' 18645compiler='$compiler_DEFAULT' 18646 18647# A function that is used when there is no print builtin or printf. 18648func_fallback_echo () 18649{ 18650 eval 'cat <<_LTECHO_EOF 18651\$1 18652_LTECHO_EOF' 18653} 18654 18655# Quote evaled strings. 18656for var in AS \ 18657DLLTOOL \ 18658OBJDUMP \ 18659SHELL \ 18660ECHO \ 18661PATH_SEPARATOR \ 18662SED \ 18663GREP \ 18664EGREP \ 18665FGREP \ 18666LD \ 18667NM \ 18668LN_S \ 18669lt_SP2NL \ 18670lt_NL2SP \ 18671reload_flag \ 18672deplibs_check_method \ 18673file_magic_cmd \ 18674file_magic_glob \ 18675want_nocaseglob \ 18676sharedlib_from_linklib_cmd \ 18677AR \ 18678AR_FLAGS \ 18679archiver_list_spec \ 18680STRIP \ 18681RANLIB \ 18682CC \ 18683CFLAGS \ 18684compiler \ 18685lt_cv_sys_global_symbol_pipe \ 18686lt_cv_sys_global_symbol_to_cdecl \ 18687lt_cv_sys_global_symbol_to_import \ 18688lt_cv_sys_global_symbol_to_c_name_address \ 18689lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 18690lt_cv_nm_interface \ 18691nm_file_list_spec \ 18692lt_cv_truncate_bin \ 18693lt_prog_compiler_no_builtin_flag \ 18694lt_prog_compiler_pic \ 18695lt_prog_compiler_wl \ 18696lt_prog_compiler_static \ 18697lt_cv_prog_compiler_c_o \ 18698need_locks \ 18699MANIFEST_TOOL \ 18700DSYMUTIL \ 18701NMEDIT \ 18702LIPO \ 18703OTOOL \ 18704OTOOL64 \ 18705shrext_cmds \ 18706export_dynamic_flag_spec \ 18707whole_archive_flag_spec \ 18708compiler_needs_object \ 18709with_gnu_ld \ 18710allow_undefined_flag \ 18711no_undefined_flag \ 18712hardcode_libdir_flag_spec \ 18713hardcode_libdir_separator \ 18714exclude_expsyms \ 18715include_expsyms \ 18716file_list_spec \ 18717variables_saved_for_relink \ 18718libname_spec \ 18719library_names_spec \ 18720soname_spec \ 18721install_override_mode \ 18722finish_eval \ 18723old_striplib \ 18724striplib \ 18725compiler_lib_search_dirs \ 18726predep_objects \ 18727postdep_objects \ 18728predeps \ 18729postdeps \ 18730compiler_lib_search_path \ 18731LD_CXX \ 18732reload_flag_CXX \ 18733compiler_CXX \ 18734lt_prog_compiler_no_builtin_flag_CXX \ 18735lt_prog_compiler_pic_CXX \ 18736lt_prog_compiler_wl_CXX \ 18737lt_prog_compiler_static_CXX \ 18738lt_cv_prog_compiler_c_o_CXX \ 18739export_dynamic_flag_spec_CXX \ 18740whole_archive_flag_spec_CXX \ 18741compiler_needs_object_CXX \ 18742with_gnu_ld_CXX \ 18743allow_undefined_flag_CXX \ 18744no_undefined_flag_CXX \ 18745hardcode_libdir_flag_spec_CXX \ 18746hardcode_libdir_separator_CXX \ 18747exclude_expsyms_CXX \ 18748include_expsyms_CXX \ 18749file_list_spec_CXX \ 18750compiler_lib_search_dirs_CXX \ 18751predep_objects_CXX \ 18752postdep_objects_CXX \ 18753predeps_CXX \ 18754postdeps_CXX \ 18755compiler_lib_search_path_CXX; do 18756 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18757 *[\\\\\\\`\\"\\\$]*) 18758 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 18759 ;; 18760 *) 18761 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18762 ;; 18763 esac 18764done 18765 18766# Double-quote double-evaled strings. 18767for var in reload_cmds \ 18768old_postinstall_cmds \ 18769old_postuninstall_cmds \ 18770old_archive_cmds \ 18771extract_expsyms_cmds \ 18772old_archive_from_new_cmds \ 18773old_archive_from_expsyms_cmds \ 18774archive_cmds \ 18775archive_expsym_cmds \ 18776module_cmds \ 18777module_expsym_cmds \ 18778export_symbols_cmds \ 18779prelink_cmds \ 18780postlink_cmds \ 18781postinstall_cmds \ 18782postuninstall_cmds \ 18783finish_cmds \ 18784sys_lib_search_path_spec \ 18785configure_time_dlsearch_path \ 18786configure_time_lt_sys_library_path \ 18787reload_cmds_CXX \ 18788old_archive_cmds_CXX \ 18789old_archive_from_new_cmds_CXX \ 18790old_archive_from_expsyms_cmds_CXX \ 18791archive_cmds_CXX \ 18792archive_expsym_cmds_CXX \ 18793module_cmds_CXX \ 18794module_expsym_cmds_CXX \ 18795export_symbols_cmds_CXX \ 18796prelink_cmds_CXX \ 18797postlink_cmds_CXX; do 18798 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18799 *[\\\\\\\`\\"\\\$]*) 18800 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 18801 ;; 18802 *) 18803 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18804 ;; 18805 esac 18806done 18807 18808ac_aux_dir='$ac_aux_dir' 18809 18810# See if we are running on zsh, and set the options that allow our 18811# commands through without removal of \ escapes INIT. 18812if test -n "\${ZSH_VERSION+set}"; then 18813 setopt NO_GLOB_SUBST 18814fi 18815 18816 18817 PACKAGE='$PACKAGE' 18818 VERSION='$VERSION' 18819 RM='$RM' 18820 ofile='$ofile' 18821 18822 18823 18824 18825 18826 18827_ACEOF 18828 18829cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18830 18831# Handling of arguments. 18832for ac_config_target in $ac_config_targets 18833do 18834 case $ac_config_target in 18835 "build/config.h") CONFIG_HEADERS="$CONFIG_HEADERS build/config.h" ;; 18836 "cairommconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS cairommconfig.h" ;; 18837 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 18838 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 18839 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 18840 "cairomm/Makefile") CONFIG_FILES="$CONFIG_FILES cairomm/Makefile" ;; 18841 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 18842 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 18843 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 18844 "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;; 18845 "data/cairomm-1.0.pc") CONFIG_FILES="$CONFIG_FILES data/cairomm-1.0.pc" ;; 18846 "data/cairomm-ft-1.0.pc") CONFIG_FILES="$CONFIG_FILES data/cairomm-ft-1.0.pc" ;; 18847 "data/cairomm-pdf-1.0.pc") CONFIG_FILES="$CONFIG_FILES data/cairomm-pdf-1.0.pc" ;; 18848 "data/cairomm-png-1.0.pc") CONFIG_FILES="$CONFIG_FILES data/cairomm-png-1.0.pc" ;; 18849 "data/cairomm-ps-1.0.pc") CONFIG_FILES="$CONFIG_FILES data/cairomm-ps-1.0.pc" ;; 18850 "data/cairomm-quartz-1.0.pc") CONFIG_FILES="$CONFIG_FILES data/cairomm-quartz-1.0.pc" ;; 18851 "data/cairomm-quartz-font-1.0.pc") CONFIG_FILES="$CONFIG_FILES data/cairomm-quartz-font-1.0.pc" ;; 18852 "data/cairomm-quartz-image-1.0.pc") CONFIG_FILES="$CONFIG_FILES data/cairomm-quartz-image-1.0.pc" ;; 18853 "data/cairomm-svg-1.0.pc") CONFIG_FILES="$CONFIG_FILES data/cairomm-svg-1.0.pc" ;; 18854 "data/cairomm-win32-1.0.pc") CONFIG_FILES="$CONFIG_FILES data/cairomm-win32-1.0.pc" ;; 18855 "data/cairomm-win32-font-1.0.pc") CONFIG_FILES="$CONFIG_FILES data/cairomm-win32-font-1.0.pc" ;; 18856 "data/cairomm-xlib-1.0.pc") CONFIG_FILES="$CONFIG_FILES data/cairomm-xlib-1.0.pc" ;; 18857 "data/cairomm-xlib-xrender-1.0.pc") CONFIG_FILES="$CONFIG_FILES data/cairomm-xlib-xrender-1.0.pc" ;; 18858 "MSVC_Net2013/cairomm/cairomm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2013/cairomm/cairomm.rc" ;; 18859 "MSVC_Net2013/cairomm/cairommconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2013/cairomm/cairommconfig.h" ;; 18860 18861 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 18862 esac 18863done 18864 18865 18866# If the user did not use the arguments to specify the items to instantiate, 18867# then the envvar interface is used. Set only those that are not. 18868# We use the long form for the default assignment because of an extremely 18869# bizarre bug on SunOS 4.1.3. 18870if $ac_need_defaults; then 18871 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 18872 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 18873 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 18874fi 18875 18876# Have a temporary directory for convenience. Make it in the build tree 18877# simply because there is no reason against having it here, and in addition, 18878# creating and moving files from /tmp can sometimes cause problems. 18879# Hook for its removal unless debugging. 18880# Note that there is a small window in which the directory will not be cleaned: 18881# after its creation but before its name has been assigned to `$tmp'. 18882$debug || 18883{ 18884 tmp= ac_tmp= 18885 trap 'exit_status=$? 18886 : "${ac_tmp:=$tmp}" 18887 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 18888' 0 18889 trap 'as_fn_exit 1' 1 2 13 15 18890} 18891# Create a (secure) tmp directory for tmp files. 18892 18893{ 18894 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 18895 test -d "$tmp" 18896} || 18897{ 18898 tmp=./conf$$-$RANDOM 18899 (umask 077 && mkdir "$tmp") 18900} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 18901ac_tmp=$tmp 18902 18903# Set up the scripts for CONFIG_FILES section. 18904# No need to generate them if there are no CONFIG_FILES. 18905# This happens for instance with `./config.status config.h'. 18906if test -n "$CONFIG_FILES"; then 18907 18908 18909ac_cr=`echo X | tr X '\015'` 18910# On cygwin, bash can eat \r inside `` if the user requested igncr. 18911# But we know of no other shell where ac_cr would be empty at this 18912# point, so we can use a bashism as a fallback. 18913if test "x$ac_cr" = x; then 18914 eval ac_cr=\$\'\\r\' 18915fi 18916ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 18917if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 18918 ac_cs_awk_cr='\\r' 18919else 18920 ac_cs_awk_cr=$ac_cr 18921fi 18922 18923echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 18924_ACEOF 18925 18926 18927{ 18928 echo "cat >conf$$subs.awk <<_ACEOF" && 18929 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 18930 echo "_ACEOF" 18931} >conf$$subs.sh || 18932 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18933ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 18934ac_delim='%!_!# ' 18935for ac_last_try in false false false false false :; do 18936 . ./conf$$subs.sh || 18937 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18938 18939 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 18940 if test $ac_delim_n = $ac_delim_num; then 18941 break 18942 elif $ac_last_try; then 18943 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18944 else 18945 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18946 fi 18947done 18948rm -f conf$$subs.sh 18949 18950cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18951cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 18952_ACEOF 18953sed -n ' 18954h 18955s/^/S["/; s/!.*/"]=/ 18956p 18957g 18958s/^[^!]*!// 18959:repl 18960t repl 18961s/'"$ac_delim"'$// 18962t delim 18963:nl 18964h 18965s/\(.\{148\}\)..*/\1/ 18966t more1 18967s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 18968p 18969n 18970b repl 18971:more1 18972s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18973p 18974g 18975s/.\{148\}// 18976t nl 18977:delim 18978h 18979s/\(.\{148\}\)..*/\1/ 18980t more2 18981s/["\\]/\\&/g; s/^/"/; s/$/"/ 18982p 18983b 18984:more2 18985s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18986p 18987g 18988s/.\{148\}// 18989t delim 18990' <conf$$subs.awk | sed ' 18991/^[^""]/{ 18992 N 18993 s/\n// 18994} 18995' >>$CONFIG_STATUS || ac_write_fail=1 18996rm -f conf$$subs.awk 18997cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18998_ACAWK 18999cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 19000 for (key in S) S_is_set[key] = 1 19001 FS = "" 19002 19003} 19004{ 19005 line = $ 0 19006 nfields = split(line, field, "@") 19007 substed = 0 19008 len = length(field[1]) 19009 for (i = 2; i < nfields; i++) { 19010 key = field[i] 19011 keylen = length(key) 19012 if (S_is_set[key]) { 19013 value = S[key] 19014 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 19015 len += length(value) + length(field[++i]) 19016 substed = 1 19017 } else 19018 len += 1 + keylen 19019 } 19020 19021 print line 19022} 19023 19024_ACAWK 19025_ACEOF 19026cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19027if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 19028 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 19029else 19030 cat 19031fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 19032 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 19033_ACEOF 19034 19035# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 19036# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 19037# trailing colons and then remove the whole line if VPATH becomes empty 19038# (actually we leave an empty line to preserve line numbers). 19039if test "x$srcdir" = x.; then 19040 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 19041h 19042s/// 19043s/^/:/ 19044s/[ ]*$/:/ 19045s/:\$(srcdir):/:/g 19046s/:\${srcdir}:/:/g 19047s/:@srcdir@:/:/g 19048s/^:*// 19049s/:*$// 19050x 19051s/\(=[ ]*\).*/\1/ 19052G 19053s/\n// 19054s/^[^=]*=[ ]*$// 19055}' 19056fi 19057 19058cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19059fi # test -n "$CONFIG_FILES" 19060 19061# Set up the scripts for CONFIG_HEADERS section. 19062# No need to generate them if there are no CONFIG_HEADERS. 19063# This happens for instance with `./config.status Makefile'. 19064if test -n "$CONFIG_HEADERS"; then 19065cat >"$ac_tmp/defines.awk" <<\_ACAWK || 19066BEGIN { 19067_ACEOF 19068 19069# Transform confdefs.h into an awk script `defines.awk', embedded as 19070# here-document in config.status, that substitutes the proper values into 19071# config.h.in to produce config.h. 19072 19073# Create a delimiter string that does not exist in confdefs.h, to ease 19074# handling of long lines. 19075ac_delim='%!_!# ' 19076for ac_last_try in false false :; do 19077 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 19078 if test -z "$ac_tt"; then 19079 break 19080 elif $ac_last_try; then 19081 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 19082 else 19083 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 19084 fi 19085done 19086 19087# For the awk script, D is an array of macro values keyed by name, 19088# likewise P contains macro parameters if any. Preserve backslash 19089# newline sequences. 19090 19091ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 19092sed -n ' 19093s/.\{148\}/&'"$ac_delim"'/g 19094t rset 19095:rset 19096s/^[ ]*#[ ]*define[ ][ ]*/ / 19097t def 19098d 19099:def 19100s/\\$// 19101t bsnl 19102s/["\\]/\\&/g 19103s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 19104D["\1"]=" \3"/p 19105s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 19106d 19107:bsnl 19108s/["\\]/\\&/g 19109s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 19110D["\1"]=" \3\\\\\\n"\\/p 19111t cont 19112s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 19113t cont 19114d 19115:cont 19116n 19117s/.\{148\}/&'"$ac_delim"'/g 19118t clear 19119:clear 19120s/\\$// 19121t bsnlc 19122s/["\\]/\\&/g; s/^/"/; s/$/"/p 19123d 19124:bsnlc 19125s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 19126b cont 19127' <confdefs.h | sed ' 19128s/'"$ac_delim"'/"\\\ 19129"/g' >>$CONFIG_STATUS || ac_write_fail=1 19130 19131cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19132 for (key in D) D_is_set[key] = 1 19133 FS = "" 19134} 19135/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 19136 line = \$ 0 19137 split(line, arg, " ") 19138 if (arg[1] == "#") { 19139 defundef = arg[2] 19140 mac1 = arg[3] 19141 } else { 19142 defundef = substr(arg[1], 2) 19143 mac1 = arg[2] 19144 } 19145 split(mac1, mac2, "(") #) 19146 macro = mac2[1] 19147 prefix = substr(line, 1, index(line, defundef) - 1) 19148 if (D_is_set[macro]) { 19149 # Preserve the white space surrounding the "#". 19150 print prefix "define", macro P[macro] D[macro] 19151 next 19152 } else { 19153 # Replace #undef with comments. This is necessary, for example, 19154 # in the case of _POSIX_SOURCE, which is predefined and required 19155 # on some systems where configure will not decide to define it. 19156 if (defundef == "undef") { 19157 print "/*", prefix defundef, macro, "*/" 19158 next 19159 } 19160 } 19161} 19162{ print } 19163_ACAWK 19164_ACEOF 19165cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19166 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 19167fi # test -n "$CONFIG_HEADERS" 19168 19169 19170eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 19171shift 19172for ac_tag 19173do 19174 case $ac_tag in 19175 :[FHLC]) ac_mode=$ac_tag; continue;; 19176 esac 19177 case $ac_mode$ac_tag in 19178 :[FHL]*:*);; 19179 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 19180 :[FH]-) ac_tag=-:-;; 19181 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 19182 esac 19183 ac_save_IFS=$IFS 19184 IFS=: 19185 set x $ac_tag 19186 IFS=$ac_save_IFS 19187 shift 19188 ac_file=$1 19189 shift 19190 19191 case $ac_mode in 19192 :L) ac_source=$1;; 19193 :[FH]) 19194 ac_file_inputs= 19195 for ac_f 19196 do 19197 case $ac_f in 19198 -) ac_f="$ac_tmp/stdin";; 19199 *) # Look for the file first in the build tree, then in the source tree 19200 # (if the path is not absolute). The absolute path cannot be DOS-style, 19201 # because $ac_f cannot contain `:'. 19202 test -f "$ac_f" || 19203 case $ac_f in 19204 [\\/$]*) false;; 19205 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 19206 esac || 19207 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 19208 esac 19209 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 19210 as_fn_append ac_file_inputs " '$ac_f'" 19211 done 19212 19213 # Let's still pretend it is `configure' which instantiates (i.e., don't 19214 # use $as_me), people would be surprised to read: 19215 # /* config.h. Generated by config.status. */ 19216 configure_input='Generated from '` 19217 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 19218 `' by configure.' 19219 if test x"$ac_file" != x-; then 19220 configure_input="$ac_file. $configure_input" 19221 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 19222$as_echo "$as_me: creating $ac_file" >&6;} 19223 fi 19224 # Neutralize special characters interpreted by sed in replacement strings. 19225 case $configure_input in #( 19226 *\&* | *\|* | *\\* ) 19227 ac_sed_conf_input=`$as_echo "$configure_input" | 19228 sed 's/[\\\\&|]/\\\\&/g'`;; #( 19229 *) ac_sed_conf_input=$configure_input;; 19230 esac 19231 19232 case $ac_tag in 19233 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 19234 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 19235 esac 19236 ;; 19237 esac 19238 19239 ac_dir=`$as_dirname -- "$ac_file" || 19240$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19241 X"$ac_file" : 'X\(//\)[^/]' \| \ 19242 X"$ac_file" : 'X\(//\)$' \| \ 19243 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 19244$as_echo X"$ac_file" | 19245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19246 s//\1/ 19247 q 19248 } 19249 /^X\(\/\/\)[^/].*/{ 19250 s//\1/ 19251 q 19252 } 19253 /^X\(\/\/\)$/{ 19254 s//\1/ 19255 q 19256 } 19257 /^X\(\/\).*/{ 19258 s//\1/ 19259 q 19260 } 19261 s/.*/./; q'` 19262 as_dir="$ac_dir"; as_fn_mkdir_p 19263 ac_builddir=. 19264 19265case "$ac_dir" in 19266.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 19267*) 19268 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 19269 # A ".." for each directory in $ac_dir_suffix. 19270 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 19271 case $ac_top_builddir_sub in 19272 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 19273 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 19274 esac ;; 19275esac 19276ac_abs_top_builddir=$ac_pwd 19277ac_abs_builddir=$ac_pwd$ac_dir_suffix 19278# for backward compatibility: 19279ac_top_builddir=$ac_top_build_prefix 19280 19281case $srcdir in 19282 .) # We are building in place. 19283 ac_srcdir=. 19284 ac_top_srcdir=$ac_top_builddir_sub 19285 ac_abs_top_srcdir=$ac_pwd ;; 19286 [\\/]* | ?:[\\/]* ) # Absolute name. 19287 ac_srcdir=$srcdir$ac_dir_suffix; 19288 ac_top_srcdir=$srcdir 19289 ac_abs_top_srcdir=$srcdir ;; 19290 *) # Relative name. 19291 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 19292 ac_top_srcdir=$ac_top_build_prefix$srcdir 19293 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 19294esac 19295ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 19296 19297 19298 case $ac_mode in 19299 :F) 19300 # 19301 # CONFIG_FILE 19302 # 19303 19304 case $INSTALL in 19305 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 19306 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 19307 esac 19308 ac_MKDIR_P=$MKDIR_P 19309 case $MKDIR_P in 19310 [\\/$]* | ?:[\\/]* ) ;; 19311 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 19312 esac 19313_ACEOF 19314 19315cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19316# If the template does not know about datarootdir, expand it. 19317# FIXME: This hack should be removed a few years after 2.60. 19318ac_datarootdir_hack=; ac_datarootdir_seen= 19319ac_sed_dataroot=' 19320/datarootdir/ { 19321 p 19322 q 19323} 19324/@datadir@/p 19325/@docdir@/p 19326/@infodir@/p 19327/@localedir@/p 19328/@mandir@/p' 19329case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 19330*datarootdir*) ac_datarootdir_seen=yes;; 19331*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 19332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 19333$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 19334_ACEOF 19335cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19336 ac_datarootdir_hack=' 19337 s&@datadir@&$datadir&g 19338 s&@docdir@&$docdir&g 19339 s&@infodir@&$infodir&g 19340 s&@localedir@&$localedir&g 19341 s&@mandir@&$mandir&g 19342 s&\\\${datarootdir}&$datarootdir&g' ;; 19343esac 19344_ACEOF 19345 19346# Neutralize VPATH when `$srcdir' = `.'. 19347# Shell code in configure.ac might set extrasub. 19348# FIXME: do we really want to maintain this feature? 19349cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19350ac_sed_extra="$ac_vpsub 19351$extrasub 19352_ACEOF 19353cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19354:t 19355/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 19356s|@configure_input@|$ac_sed_conf_input|;t t 19357s&@top_builddir@&$ac_top_builddir_sub&;t t 19358s&@top_build_prefix@&$ac_top_build_prefix&;t t 19359s&@srcdir@&$ac_srcdir&;t t 19360s&@abs_srcdir@&$ac_abs_srcdir&;t t 19361s&@top_srcdir@&$ac_top_srcdir&;t t 19362s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 19363s&@builddir@&$ac_builddir&;t t 19364s&@abs_builddir@&$ac_abs_builddir&;t t 19365s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 19366s&@INSTALL@&$ac_INSTALL&;t t 19367s&@MKDIR_P@&$ac_MKDIR_P&;t t 19368$ac_datarootdir_hack 19369" 19370eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 19371 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19372 19373test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 19374 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 19375 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 19376 "$ac_tmp/out"`; test -z "$ac_out"; } && 19377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19378which seems to be undefined. Please make sure it is defined" >&5 19379$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19380which seems to be undefined. Please make sure it is defined" >&2;} 19381 19382 rm -f "$ac_tmp/stdin" 19383 case $ac_file in 19384 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 19385 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 19386 esac \ 19387 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19388 ;; 19389 :H) 19390 # 19391 # CONFIG_HEADER 19392 # 19393 if test x"$ac_file" != x-; then 19394 { 19395 $as_echo "/* $configure_input */" \ 19396 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 19397 } >"$ac_tmp/config.h" \ 19398 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19399 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 19400 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 19401$as_echo "$as_me: $ac_file is unchanged" >&6;} 19402 else 19403 rm -f "$ac_file" 19404 mv "$ac_tmp/config.h" "$ac_file" \ 19405 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19406 fi 19407 else 19408 $as_echo "/* $configure_input */" \ 19409 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 19410 || as_fn_error $? "could not create -" "$LINENO" 5 19411 fi 19412# Compute "$ac_file"'s index in $config_headers. 19413_am_arg="$ac_file" 19414_am_stamp_count=1 19415for _am_header in $config_headers :; do 19416 case $_am_header in 19417 $_am_arg | $_am_arg:* ) 19418 break ;; 19419 * ) 19420 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 19421 esac 19422done 19423echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 19424$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19425 X"$_am_arg" : 'X\(//\)[^/]' \| \ 19426 X"$_am_arg" : 'X\(//\)$' \| \ 19427 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 19428$as_echo X"$_am_arg" | 19429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19430 s//\1/ 19431 q 19432 } 19433 /^X\(\/\/\)[^/].*/{ 19434 s//\1/ 19435 q 19436 } 19437 /^X\(\/\/\)$/{ 19438 s//\1/ 19439 q 19440 } 19441 /^X\(\/\).*/{ 19442 s//\1/ 19443 q 19444 } 19445 s/.*/./; q'`/stamp-h$_am_stamp_count 19446 ;; 19447 19448 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 19449$as_echo "$as_me: executing $ac_file commands" >&6;} 19450 ;; 19451 esac 19452 19453 19454 case $ac_file$ac_mode in 19455 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 19456 # Older Autoconf quotes --file arguments for eval, but not when files 19457 # are listed without --file. Let's play safe and only enable the eval 19458 # if we detect the quoting. 19459 case $CONFIG_FILES in 19460 *\'*) eval set x "$CONFIG_FILES" ;; 19461 *) set x $CONFIG_FILES ;; 19462 esac 19463 shift 19464 for mf 19465 do 19466 # Strip MF so we end up with the name of the file. 19467 mf=`echo "$mf" | sed -e 's/:.*$//'` 19468 # Check whether this is an Automake generated Makefile or not. 19469 # We used to match only the files named 'Makefile.in', but 19470 # some people rename them; so instead we look at the file content. 19471 # Grep'ing the first line is not enough: some people post-process 19472 # each Makefile.in and add a new line on top of each file to say so. 19473 # Grep'ing the whole file is not good either: AIX grep has a line 19474 # limit of 2048, but all sed's we know have understand at least 4000. 19475 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 19476 dirpart=`$as_dirname -- "$mf" || 19477$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19478 X"$mf" : 'X\(//\)[^/]' \| \ 19479 X"$mf" : 'X\(//\)$' \| \ 19480 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 19481$as_echo X"$mf" | 19482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19483 s//\1/ 19484 q 19485 } 19486 /^X\(\/\/\)[^/].*/{ 19487 s//\1/ 19488 q 19489 } 19490 /^X\(\/\/\)$/{ 19491 s//\1/ 19492 q 19493 } 19494 /^X\(\/\).*/{ 19495 s//\1/ 19496 q 19497 } 19498 s/.*/./; q'` 19499 else 19500 continue 19501 fi 19502 # Extract the definition of DEPDIR, am__include, and am__quote 19503 # from the Makefile without running 'make'. 19504 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 19505 test -z "$DEPDIR" && continue 19506 am__include=`sed -n 's/^am__include = //p' < "$mf"` 19507 test -z "$am__include" && continue 19508 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 19509 # Find all dependency output files, they are included files with 19510 # $(DEPDIR) in their names. We invoke sed twice because it is the 19511 # simplest approach to changing $(DEPDIR) to its actual value in the 19512 # expansion. 19513 for file in `sed -n " 19514 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 19515 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 19516 # Make sure the directory exists. 19517 test -f "$dirpart/$file" && continue 19518 fdir=`$as_dirname -- "$file" || 19519$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19520 X"$file" : 'X\(//\)[^/]' \| \ 19521 X"$file" : 'X\(//\)$' \| \ 19522 X"$file" : 'X\(/\)' \| . 2>/dev/null || 19523$as_echo X"$file" | 19524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19525 s//\1/ 19526 q 19527 } 19528 /^X\(\/\/\)[^/].*/{ 19529 s//\1/ 19530 q 19531 } 19532 /^X\(\/\/\)$/{ 19533 s//\1/ 19534 q 19535 } 19536 /^X\(\/\).*/{ 19537 s//\1/ 19538 q 19539 } 19540 s/.*/./; q'` 19541 as_dir=$dirpart/$fdir; as_fn_mkdir_p 19542 # echo "creating $dirpart/$file" 19543 echo '# dummy' > "$dirpart/$file" 19544 done 19545 done 19546} 19547 ;; 19548 "libtool":C) 19549 19550 # See if we are running on zsh, and set the options that allow our 19551 # commands through without removal of \ escapes. 19552 if test -n "${ZSH_VERSION+set}"; then 19553 setopt NO_GLOB_SUBST 19554 fi 19555 19556 cfgfile=${ofile}T 19557 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 19558 $RM "$cfgfile" 19559 19560 cat <<_LT_EOF >> "$cfgfile" 19561#! $SHELL 19562# Generated automatically by $as_me ($PACKAGE) $VERSION 19563# NOTE: Changes made to this file will be lost: look at ltmain.sh. 19564 19565# Provide generalized library-building support services. 19566# Written by Gordon Matzigkeit, 1996 19567 19568# Copyright (C) 2014 Free Software Foundation, Inc. 19569# This is free software; see the source for copying conditions. There is NO 19570# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 19571 19572# GNU Libtool is free software; you can redistribute it and/or modify 19573# it under the terms of the GNU General Public License as published by 19574# the Free Software Foundation; either version 2 of of the License, or 19575# (at your option) any later version. 19576# 19577# As a special exception to the GNU General Public License, if you 19578# distribute this file as part of a program or library that is built 19579# using GNU Libtool, you may include this file under the same 19580# distribution terms that you use for the rest of that program. 19581# 19582# GNU Libtool is distributed in the hope that it will be useful, but 19583# WITHOUT ANY WARRANTY; without even the implied warranty of 19584# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19585# GNU General Public License for more details. 19586# 19587# You should have received a copy of the GNU General Public License 19588# along with this program. If not, see <http://www.gnu.org/licenses/>. 19589 19590 19591# The names of the tagged configurations supported by this script. 19592available_tags='CXX ' 19593 19594# Configured defaults for sys_lib_dlsearch_path munging. 19595: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 19596 19597# ### BEGIN LIBTOOL CONFIG 19598 19599# Whether or not to build static libraries. 19600build_old_libs=$enable_static 19601 19602# Assembler program. 19603AS=$lt_AS 19604 19605# DLL creation program. 19606DLLTOOL=$lt_DLLTOOL 19607 19608# Object dumper program. 19609OBJDUMP=$lt_OBJDUMP 19610 19611# Which release of libtool.m4 was used? 19612macro_version=$macro_version 19613macro_revision=$macro_revision 19614 19615# Whether or not to build shared libraries. 19616build_libtool_libs=$enable_shared 19617 19618# What type of objects to build. 19619pic_mode=$pic_mode 19620 19621# Whether or not to optimize for fast installation. 19622fast_install=$enable_fast_install 19623 19624# Shared archive member basename,for filename based shared library versioning on AIX. 19625shared_archive_member_spec=$shared_archive_member_spec 19626 19627# Shell to use when invoking shell scripts. 19628SHELL=$lt_SHELL 19629 19630# An echo program that protects backslashes. 19631ECHO=$lt_ECHO 19632 19633# The PATH separator for the build system. 19634PATH_SEPARATOR=$lt_PATH_SEPARATOR 19635 19636# The host system. 19637host_alias=$host_alias 19638host=$host 19639host_os=$host_os 19640 19641# The build system. 19642build_alias=$build_alias 19643build=$build 19644build_os=$build_os 19645 19646# A sed program that does not truncate output. 19647SED=$lt_SED 19648 19649# Sed that helps us avoid accidentally triggering echo(1) options like -n. 19650Xsed="\$SED -e 1s/^X//" 19651 19652# A grep program that handles long lines. 19653GREP=$lt_GREP 19654 19655# An ERE matcher. 19656EGREP=$lt_EGREP 19657 19658# A literal string matcher. 19659FGREP=$lt_FGREP 19660 19661# A BSD- or MS-compatible name lister. 19662NM=$lt_NM 19663 19664# Whether we need soft or hard links. 19665LN_S=$lt_LN_S 19666 19667# What is the maximum length of a command? 19668max_cmd_len=$max_cmd_len 19669 19670# Object file suffix (normally "o"). 19671objext=$ac_objext 19672 19673# Executable file suffix (normally ""). 19674exeext=$exeext 19675 19676# whether the shell understands "unset". 19677lt_unset=$lt_unset 19678 19679# turn spaces into newlines. 19680SP2NL=$lt_lt_SP2NL 19681 19682# turn newlines into spaces. 19683NL2SP=$lt_lt_NL2SP 19684 19685# convert \$build file names to \$host format. 19686to_host_file_cmd=$lt_cv_to_host_file_cmd 19687 19688# convert \$build files to toolchain format. 19689to_tool_file_cmd=$lt_cv_to_tool_file_cmd 19690 19691# Method to check whether dependent libraries are shared objects. 19692deplibs_check_method=$lt_deplibs_check_method 19693 19694# Command to use when deplibs_check_method = "file_magic". 19695file_magic_cmd=$lt_file_magic_cmd 19696 19697# How to find potential files when deplibs_check_method = "file_magic". 19698file_magic_glob=$lt_file_magic_glob 19699 19700# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 19701want_nocaseglob=$lt_want_nocaseglob 19702 19703# Command to associate shared and link libraries. 19704sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 19705 19706# The archiver. 19707AR=$lt_AR 19708 19709# Flags to create an archive. 19710AR_FLAGS=$lt_AR_FLAGS 19711 19712# How to feed a file listing to the archiver. 19713archiver_list_spec=$lt_archiver_list_spec 19714 19715# A symbol stripping program. 19716STRIP=$lt_STRIP 19717 19718# Commands used to install an old-style archive. 19719RANLIB=$lt_RANLIB 19720old_postinstall_cmds=$lt_old_postinstall_cmds 19721old_postuninstall_cmds=$lt_old_postuninstall_cmds 19722 19723# Whether to use a lock for old archive extraction. 19724lock_old_archive_extraction=$lock_old_archive_extraction 19725 19726# A C compiler. 19727LTCC=$lt_CC 19728 19729# LTCC compiler flags. 19730LTCFLAGS=$lt_CFLAGS 19731 19732# Take the output of nm and produce a listing of raw symbols and C names. 19733global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19734 19735# Transform the output of nm in a proper C declaration. 19736global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19737 19738# Transform the output of nm into a list of symbols to manually relocate. 19739global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 19740 19741# Transform the output of nm in a C name address pair. 19742global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19743 19744# Transform the output of nm in a C name address pair when lib prefix is needed. 19745global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 19746 19747# The name lister interface. 19748nm_interface=$lt_lt_cv_nm_interface 19749 19750# Specify filename containing input files for \$NM. 19751nm_file_list_spec=$lt_nm_file_list_spec 19752 19753# The root where to search for dependent libraries,and where our libraries should be installed. 19754lt_sysroot=$lt_sysroot 19755 19756# Command to truncate a binary pipe. 19757lt_truncate_bin=$lt_lt_cv_truncate_bin 19758 19759# The name of the directory that contains temporary libtool files. 19760objdir=$objdir 19761 19762# Used to examine libraries when file_magic_cmd begins with "file". 19763MAGIC_CMD=$MAGIC_CMD 19764 19765# Must we lock files when doing compilation? 19766need_locks=$lt_need_locks 19767 19768# Manifest tool. 19769MANIFEST_TOOL=$lt_MANIFEST_TOOL 19770 19771# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 19772DSYMUTIL=$lt_DSYMUTIL 19773 19774# Tool to change global to local symbols on Mac OS X. 19775NMEDIT=$lt_NMEDIT 19776 19777# Tool to manipulate fat objects and archives on Mac OS X. 19778LIPO=$lt_LIPO 19779 19780# ldd/readelf like tool for Mach-O binaries on Mac OS X. 19781OTOOL=$lt_OTOOL 19782 19783# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 19784OTOOL64=$lt_OTOOL64 19785 19786# Old archive suffix (normally "a"). 19787libext=$libext 19788 19789# Shared library suffix (normally ".so"). 19790shrext_cmds=$lt_shrext_cmds 19791 19792# The commands to extract the exported symbol list from a shared archive. 19793extract_expsyms_cmds=$lt_extract_expsyms_cmds 19794 19795# Variables whose values should be saved in libtool wrapper scripts and 19796# restored at link time. 19797variables_saved_for_relink=$lt_variables_saved_for_relink 19798 19799# Do we need the "lib" prefix for modules? 19800need_lib_prefix=$need_lib_prefix 19801 19802# Do we need a version for libraries? 19803need_version=$need_version 19804 19805# Library versioning type. 19806version_type=$version_type 19807 19808# Shared library runtime path variable. 19809runpath_var=$runpath_var 19810 19811# Shared library path variable. 19812shlibpath_var=$shlibpath_var 19813 19814# Is shlibpath searched before the hard-coded library search path? 19815shlibpath_overrides_runpath=$shlibpath_overrides_runpath 19816 19817# Format of library name prefix. 19818libname_spec=$lt_libname_spec 19819 19820# List of archive names. First name is the real one, the rest are links. 19821# The last name is the one that the linker finds with -lNAME 19822library_names_spec=$lt_library_names_spec 19823 19824# The coded name of the library, if different from the real name. 19825soname_spec=$lt_soname_spec 19826 19827# Permission mode override for installation of shared libraries. 19828install_override_mode=$lt_install_override_mode 19829 19830# Command to use after installation of a shared archive. 19831postinstall_cmds=$lt_postinstall_cmds 19832 19833# Command to use after uninstallation of a shared archive. 19834postuninstall_cmds=$lt_postuninstall_cmds 19835 19836# Commands used to finish a libtool library installation in a directory. 19837finish_cmds=$lt_finish_cmds 19838 19839# As "finish_cmds", except a single script fragment to be evaled but 19840# not shown. 19841finish_eval=$lt_finish_eval 19842 19843# Whether we should hardcode library paths into libraries. 19844hardcode_into_libs=$hardcode_into_libs 19845 19846# Compile-time system search path for libraries. 19847sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19848 19849# Detected run-time system search path for libraries. 19850sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 19851 19852# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 19853configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 19854 19855# Whether dlopen is supported. 19856dlopen_support=$enable_dlopen 19857 19858# Whether dlopen of programs is supported. 19859dlopen_self=$enable_dlopen_self 19860 19861# Whether dlopen of statically linked programs is supported. 19862dlopen_self_static=$enable_dlopen_self_static 19863 19864# Commands to strip libraries. 19865old_striplib=$lt_old_striplib 19866striplib=$lt_striplib 19867 19868 19869# The linker used to build libraries. 19870LD=$lt_LD 19871 19872# How to create reloadable object files. 19873reload_flag=$lt_reload_flag 19874reload_cmds=$lt_reload_cmds 19875 19876# Commands used to build an old-style archive. 19877old_archive_cmds=$lt_old_archive_cmds 19878 19879# A language specific compiler. 19880CC=$lt_compiler 19881 19882# Is the compiler the GNU compiler? 19883with_gcc=$GCC 19884 19885# Compiler flag to turn off builtin functions. 19886no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 19887 19888# Additional compiler flags for building library objects. 19889pic_flag=$lt_lt_prog_compiler_pic 19890 19891# How to pass a linker flag through the compiler. 19892wl=$lt_lt_prog_compiler_wl 19893 19894# Compiler flag to prevent dynamic linking. 19895link_static_flag=$lt_lt_prog_compiler_static 19896 19897# Does compiler simultaneously support -c and -o options? 19898compiler_c_o=$lt_lt_cv_prog_compiler_c_o 19899 19900# Whether or not to add -lc for building shared libraries. 19901build_libtool_need_lc=$archive_cmds_need_lc 19902 19903# Whether or not to disallow shared libs when runtime libs are static. 19904allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 19905 19906# Compiler flag to allow reflexive dlopens. 19907export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 19908 19909# Compiler flag to generate shared objects directly from archives. 19910whole_archive_flag_spec=$lt_whole_archive_flag_spec 19911 19912# Whether the compiler copes with passing no objects directly. 19913compiler_needs_object=$lt_compiler_needs_object 19914 19915# Create an old-style archive from a shared archive. 19916old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 19917 19918# Create a temporary old-style archive to link instead of a shared archive. 19919old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 19920 19921# Commands used to build a shared archive. 19922archive_cmds=$lt_archive_cmds 19923archive_expsym_cmds=$lt_archive_expsym_cmds 19924 19925# Commands used to build a loadable module if different from building 19926# a shared archive. 19927module_cmds=$lt_module_cmds 19928module_expsym_cmds=$lt_module_expsym_cmds 19929 19930# Whether we are building with GNU ld or not. 19931with_gnu_ld=$lt_with_gnu_ld 19932 19933# Flag that allows shared libraries with undefined symbols to be built. 19934allow_undefined_flag=$lt_allow_undefined_flag 19935 19936# Flag that enforces no undefined symbols. 19937no_undefined_flag=$lt_no_undefined_flag 19938 19939# Flag to hardcode \$libdir into a binary during linking. 19940# This must work even if \$libdir does not exist 19941hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 19942 19943# Whether we need a single "-rpath" flag with a separated argument. 19944hardcode_libdir_separator=$lt_hardcode_libdir_separator 19945 19946# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 19947# DIR into the resulting binary. 19948hardcode_direct=$hardcode_direct 19949 19950# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 19951# DIR into the resulting binary and the resulting library dependency is 19952# "absolute",i.e impossible to change by setting \$shlibpath_var if the 19953# library is relocated. 19954hardcode_direct_absolute=$hardcode_direct_absolute 19955 19956# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 19957# into the resulting binary. 19958hardcode_minus_L=$hardcode_minus_L 19959 19960# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 19961# into the resulting binary. 19962hardcode_shlibpath_var=$hardcode_shlibpath_var 19963 19964# Set to "yes" if building a shared library automatically hardcodes DIR 19965# into the library and all subsequent libraries and executables linked 19966# against it. 19967hardcode_automatic=$hardcode_automatic 19968 19969# Set to yes if linker adds runtime paths of dependent libraries 19970# to runtime path list. 19971inherit_rpath=$inherit_rpath 19972 19973# Whether libtool must link a program against all its dependency libraries. 19974link_all_deplibs=$link_all_deplibs 19975 19976# Set to "yes" if exported symbols are required. 19977always_export_symbols=$always_export_symbols 19978 19979# The commands to list exported symbols. 19980export_symbols_cmds=$lt_export_symbols_cmds 19981 19982# Symbols that should not be listed in the preloaded symbols. 19983exclude_expsyms=$lt_exclude_expsyms 19984 19985# Symbols that must always be exported. 19986include_expsyms=$lt_include_expsyms 19987 19988# Commands necessary for linking programs (against libraries) with templates. 19989prelink_cmds=$lt_prelink_cmds 19990 19991# Commands necessary for finishing linking programs. 19992postlink_cmds=$lt_postlink_cmds 19993 19994# Specify filename containing input files. 19995file_list_spec=$lt_file_list_spec 19996 19997# How to hardcode a shared library path into an executable. 19998hardcode_action=$hardcode_action 19999 20000# The directories searched by this compiler when creating a shared library. 20001compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 20002 20003# Dependencies to place before and after the objects being linked to 20004# create a shared library. 20005predep_objects=$lt_predep_objects 20006postdep_objects=$lt_postdep_objects 20007predeps=$lt_predeps 20008postdeps=$lt_postdeps 20009 20010# The library search path used internally by the compiler when linking 20011# a shared library. 20012compiler_lib_search_path=$lt_compiler_lib_search_path 20013 20014# ### END LIBTOOL CONFIG 20015 20016_LT_EOF 20017 20018 cat <<'_LT_EOF' >> "$cfgfile" 20019 20020# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 20021 20022# func_munge_path_list VARIABLE PATH 20023# ----------------------------------- 20024# VARIABLE is name of variable containing _space_ separated list of 20025# directories to be munged by the contents of PATH, which is string 20026# having a format: 20027# "DIR[:DIR]:" 20028# string "DIR[ DIR]" will be prepended to VARIABLE 20029# ":DIR[:DIR]" 20030# string "DIR[ DIR]" will be appended to VARIABLE 20031# "DIRP[:DIRP]::[DIRA:]DIRA" 20032# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 20033# "DIRA[ DIRA]" will be appended to VARIABLE 20034# "DIR[:DIR]" 20035# VARIABLE will be replaced by "DIR[ DIR]" 20036func_munge_path_list () 20037{ 20038 case x$2 in 20039 x) 20040 ;; 20041 *:) 20042 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 20043 ;; 20044 x:*) 20045 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 20046 ;; 20047 *::*) 20048 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 20049 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 20050 ;; 20051 *) 20052 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 20053 ;; 20054 esac 20055} 20056 20057 20058# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 20059func_cc_basename () 20060{ 20061 for cc_temp in $*""; do 20062 case $cc_temp in 20063 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 20064 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 20065 \-*) ;; 20066 *) break;; 20067 esac 20068 done 20069 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 20070} 20071 20072 20073# ### END FUNCTIONS SHARED WITH CONFIGURE 20074 20075_LT_EOF 20076 20077 case $host_os in 20078 aix3*) 20079 cat <<\_LT_EOF >> "$cfgfile" 20080# AIX sometimes has problems with the GCC collect2 program. For some 20081# reason, if we set the COLLECT_NAMES environment variable, the problems 20082# vanish in a puff of smoke. 20083if test set != "${COLLECT_NAMES+set}"; then 20084 COLLECT_NAMES= 20085 export COLLECT_NAMES 20086fi 20087_LT_EOF 20088 ;; 20089 esac 20090 20091 20092ltmain=$ac_aux_dir/ltmain.sh 20093 20094 20095 # We use sed instead of cat because bash on DJGPP gets confused if 20096 # if finds mixed CR/LF and LF-only lines. Since sed operates in 20097 # text mode, it properly converts lines to CR/LF. This bash problem 20098 # is reportedly fixed, but why not run on old versions too? 20099 sed '$q' "$ltmain" >> "$cfgfile" \ 20100 || (rm -f "$cfgfile"; exit 1) 20101 20102 mv -f "$cfgfile" "$ofile" || 20103 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 20104 chmod +x "$ofile" 20105 20106 20107 cat <<_LT_EOF >> "$ofile" 20108 20109# ### BEGIN LIBTOOL TAG CONFIG: CXX 20110 20111# The linker used to build libraries. 20112LD=$lt_LD_CXX 20113 20114# How to create reloadable object files. 20115reload_flag=$lt_reload_flag_CXX 20116reload_cmds=$lt_reload_cmds_CXX 20117 20118# Commands used to build an old-style archive. 20119old_archive_cmds=$lt_old_archive_cmds_CXX 20120 20121# A language specific compiler. 20122CC=$lt_compiler_CXX 20123 20124# Is the compiler the GNU compiler? 20125with_gcc=$GCC_CXX 20126 20127# Compiler flag to turn off builtin functions. 20128no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 20129 20130# Additional compiler flags for building library objects. 20131pic_flag=$lt_lt_prog_compiler_pic_CXX 20132 20133# How to pass a linker flag through the compiler. 20134wl=$lt_lt_prog_compiler_wl_CXX 20135 20136# Compiler flag to prevent dynamic linking. 20137link_static_flag=$lt_lt_prog_compiler_static_CXX 20138 20139# Does compiler simultaneously support -c and -o options? 20140compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 20141 20142# Whether or not to add -lc for building shared libraries. 20143build_libtool_need_lc=$archive_cmds_need_lc_CXX 20144 20145# Whether or not to disallow shared libs when runtime libs are static. 20146allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 20147 20148# Compiler flag to allow reflexive dlopens. 20149export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 20150 20151# Compiler flag to generate shared objects directly from archives. 20152whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 20153 20154# Whether the compiler copes with passing no objects directly. 20155compiler_needs_object=$lt_compiler_needs_object_CXX 20156 20157# Create an old-style archive from a shared archive. 20158old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 20159 20160# Create a temporary old-style archive to link instead of a shared archive. 20161old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 20162 20163# Commands used to build a shared archive. 20164archive_cmds=$lt_archive_cmds_CXX 20165archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 20166 20167# Commands used to build a loadable module if different from building 20168# a shared archive. 20169module_cmds=$lt_module_cmds_CXX 20170module_expsym_cmds=$lt_module_expsym_cmds_CXX 20171 20172# Whether we are building with GNU ld or not. 20173with_gnu_ld=$lt_with_gnu_ld_CXX 20174 20175# Flag that allows shared libraries with undefined symbols to be built. 20176allow_undefined_flag=$lt_allow_undefined_flag_CXX 20177 20178# Flag that enforces no undefined symbols. 20179no_undefined_flag=$lt_no_undefined_flag_CXX 20180 20181# Flag to hardcode \$libdir into a binary during linking. 20182# This must work even if \$libdir does not exist 20183hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 20184 20185# Whether we need a single "-rpath" flag with a separated argument. 20186hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 20187 20188# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20189# DIR into the resulting binary. 20190hardcode_direct=$hardcode_direct_CXX 20191 20192# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20193# DIR into the resulting binary and the resulting library dependency is 20194# "absolute",i.e impossible to change by setting \$shlibpath_var if the 20195# library is relocated. 20196hardcode_direct_absolute=$hardcode_direct_absolute_CXX 20197 20198# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 20199# into the resulting binary. 20200hardcode_minus_L=$hardcode_minus_L_CXX 20201 20202# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 20203# into the resulting binary. 20204hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 20205 20206# Set to "yes" if building a shared library automatically hardcodes DIR 20207# into the library and all subsequent libraries and executables linked 20208# against it. 20209hardcode_automatic=$hardcode_automatic_CXX 20210 20211# Set to yes if linker adds runtime paths of dependent libraries 20212# to runtime path list. 20213inherit_rpath=$inherit_rpath_CXX 20214 20215# Whether libtool must link a program against all its dependency libraries. 20216link_all_deplibs=$link_all_deplibs_CXX 20217 20218# Set to "yes" if exported symbols are required. 20219always_export_symbols=$always_export_symbols_CXX 20220 20221# The commands to list exported symbols. 20222export_symbols_cmds=$lt_export_symbols_cmds_CXX 20223 20224# Symbols that should not be listed in the preloaded symbols. 20225exclude_expsyms=$lt_exclude_expsyms_CXX 20226 20227# Symbols that must always be exported. 20228include_expsyms=$lt_include_expsyms_CXX 20229 20230# Commands necessary for linking programs (against libraries) with templates. 20231prelink_cmds=$lt_prelink_cmds_CXX 20232 20233# Commands necessary for finishing linking programs. 20234postlink_cmds=$lt_postlink_cmds_CXX 20235 20236# Specify filename containing input files. 20237file_list_spec=$lt_file_list_spec_CXX 20238 20239# How to hardcode a shared library path into an executable. 20240hardcode_action=$hardcode_action_CXX 20241 20242# The directories searched by this compiler when creating a shared library. 20243compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 20244 20245# Dependencies to place before and after the objects being linked to 20246# create a shared library. 20247predep_objects=$lt_predep_objects_CXX 20248postdep_objects=$lt_postdep_objects_CXX 20249predeps=$lt_predeps_CXX 20250postdeps=$lt_postdeps_CXX 20251 20252# The library search path used internally by the compiler when linking 20253# a shared library. 20254compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 20255 20256# ### END LIBTOOL TAG CONFIG: CXX 20257_LT_EOF 20258 20259 ;; 20260 "MSVC_Net2013/cairomm/cairommconfig.h":C) cp -f cairommconfig.h MSVC_Net2013/cairomm/cairommconfig.h ;; 20261 20262 esac 20263done # for ac_tag 20264 20265 20266as_fn_exit 0 20267_ACEOF 20268ac_clean_files=$ac_clean_files_save 20269 20270test $ac_write_fail = 0 || 20271 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 20272 20273 20274# configure is writing to config.log, and then calls config.status. 20275# config.status does its own redirection, appending to config.log. 20276# Unfortunately, on DOS this fails, as config.log is still kept open 20277# by configure, so config.status won't be able to write to it; its 20278# output is simply discarded. So we exec the FD to /dev/null, 20279# effectively closing config.log, so it can be properly (re)opened and 20280# appended to by config.status. When coming back to configure, we 20281# need to make the FD available again. 20282if test "$no_create" != yes; then 20283 ac_cs_success=: 20284 ac_config_status_args= 20285 test "$silent" = yes && 20286 ac_config_status_args="$ac_config_status_args --quiet" 20287 exec 5>/dev/null 20288 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 20289 exec 5>>config.log 20290 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 20291 # would make configure fail if this is the last instruction. 20292 $ac_cs_success || as_fn_exit 1 20293fi 20294if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 20295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 20296$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 20297fi 20298 20299