1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for gstreamermm 1.10.0. 4# 5# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gstreamermm>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278$0: http://bugzilla.gnome.org/enter_bug.cgi?product=gstreamermm 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='gstreamermm' 593PACKAGE_TARNAME='gstreamermm' 594PACKAGE_VERSION='1.10.0' 595PACKAGE_STRING='gstreamermm 1.10.0' 596PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gstreamermm' 597PACKAGE_URL='http://www.gtkmm.org/' 598 599ac_unique_file="gstreamer/gstreamermm.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 640DISABLE_DEPRECATED_API_FALSE 641DISABLE_DEPRECATED_API_TRUE 642GSTREAMERMM_WXXFLAGS 643GST_INSPECT 644GSTREAMERMM_BASE_PLUGIN_DEFS 645GSTREAMERMM_CORE_PLUGIN_DEFS 646ENABLE_UNITTESTS 647DOCINSTALL_FLAGS 648DOXYGEN_TAGFILES 649ENABLE_DOCUMENTATION_FALSE 650ENABLE_DOCUMENTATION_TRUE 651XSLTPROC 652DOXYGEN 653DOT 654PERL 655GMMPROC_DIR 656ENABLE_GUI_EXAMPLES_FALSE 657ENABLE_GUI_EXAMPLES_TRUE 658GUI_EXAMPLES_LIBS 659GUI_EXAMPLES_CFLAGS 660GSTREAMERMM_LIBS 661GSTREAMERMM_CFLAGS 662PKG_CONFIG_LIBDIR 663PKG_CONFIG_PATH 664PKG_CONFIG 665GSTREAMERMM_MODULES 666M4 667CXXCPP 668CPP 669LT_SYS_LIBRARY_PATH 670OTOOL64 671OTOOL 672LIPO 673NMEDIT 674DSYMUTIL 675MANIFEST_TOOL 676RANLIB 677ac_ct_AR 678AR 679LN_S 680NM 681ac_ct_DUMPBIN 682DUMPBIN 683LD 684FGREP 685EGREP 686GREP 687SED 688am__fastdepCC_FALSE 689am__fastdepCC_TRUE 690CCDEPMODE 691ac_ct_CC 692CFLAGS 693CC 694LIBTOOL 695OBJDUMP 696DLLTOOL 697AS 698host_os 699host_vendor 700host_cpu 701host 702build_os 703build_vendor 704build_cpu 705build 706HAVE_CXX11 707am__fastdepCXX_FALSE 708am__fastdepCXX_TRUE 709CXXDEPMODE 710am__nodep 711AMDEPBACKSLASH 712AMDEP_FALSE 713AMDEP_TRUE 714am__quote 715am__include 716DEPDIR 717OBJEXT 718EXEEXT 719ac_ct_CXX 720CPPFLAGS 721LDFLAGS 722CXXFLAGS 723CXX 724ACLOCAL_FLAGS 725MAINT 726MAINTAINER_MODE_FALSE 727MAINTAINER_MODE_TRUE 728AM_BACKSLASH 729AM_DEFAULT_VERBOSITY 730AM_DEFAULT_V 731AM_V 732am__untar 733am__tar 734AMTAR 735am__leading_dot 736SET_MAKE 737AWK 738mkdir_p 739MKDIR_P 740INSTALL_STRIP_PROGRAM 741STRIP 742install_sh 743MAKEINFO 744AUTOHEADER 745AUTOMAKE 746AUTOCONF 747ACLOCAL 748VERSION 749PACKAGE 750CYGPATH_W 751am__isrc 752INSTALL_DATA 753INSTALL_SCRIPT 754INSTALL_PROGRAM 755GSTREAMERMM_SO_VERSION 756MMDOCTOOLDIR 757DIST_DOCTOOLS_FALSE 758DIST_DOCTOOLS_TRUE 759GSTREAMERMM_MICRO_VERSION 760GSTREAMERMM_MINOR_VERSION 761GSTREAMERMM_MAJOR_VERSION 762GSTREAMERMM_API_VERSION 763GSTREAMERMM_VERSION 764GSTREAMERMM_MODULE_NAME 765target_alias 766host_alias 767build_alias 768LIBS 769ECHO_T 770ECHO_N 771ECHO_C 772DEFS 773mandir 774localedir 775libdir 776psdir 777pdfdir 778dvidir 779htmldir 780infodir 781docdir 782oldincludedir 783includedir 784localstatedir 785sharedstatedir 786sysconfdir 787datadir 788datarootdir 789libexecdir 790sbindir 791bindir 792program_transform_name 793prefix 794exec_prefix 795PACKAGE_URL 796PACKAGE_BUGREPORT 797PACKAGE_STRING 798PACKAGE_VERSION 799PACKAGE_TARNAME 800PACKAGE_NAME 801PATH_SEPARATOR 802SHELL' 803ac_subst_files='' 804ac_user_opts=' 805enable_option_checking 806enable_silent_rules 807enable_maintainer_mode 808enable_dependency_tracking 809enable_static 810enable_shared 811with_pic 812enable_fast_install 813with_aix_soname 814with_gnu_ld 815with_sysroot 816enable_libtool_lock 817enable_documentation 818with_libstdc_doc 819with_libsigc_doc 820with_glibmm_doc 821with_cairomm_doc 822with_pangomm_doc 823enable_unittests 824enable_warnings 825enable_deprecated_api 826' 827 ac_precious_vars='build_alias 828host_alias 829target_alias 830ACLOCAL_FLAGS 831CXX 832CXXFLAGS 833LDFLAGS 834LIBS 835CPPFLAGS 836CCC 837CC 838CFLAGS 839LT_SYS_LIBRARY_PATH 840CPP 841CXXCPP 842PKG_CONFIG 843PKG_CONFIG_PATH 844PKG_CONFIG_LIBDIR 845GSTREAMERMM_CFLAGS 846GSTREAMERMM_LIBS 847GUI_EXAMPLES_CFLAGS 848GUI_EXAMPLES_LIBS 849PERL 850DOT 851DOXYGEN 852XSLTPROC' 853 854 855# Initialize some variables set by options. 856ac_init_help= 857ac_init_version=false 858ac_unrecognized_opts= 859ac_unrecognized_sep= 860# The variables have the same names as the options, with 861# dashes changed to underlines. 862cache_file=/dev/null 863exec_prefix=NONE 864no_create= 865no_recursion= 866prefix=NONE 867program_prefix=NONE 868program_suffix=NONE 869program_transform_name=s,x,x, 870silent= 871site= 872srcdir= 873verbose= 874x_includes=NONE 875x_libraries=NONE 876 877# Installation directory options. 878# These are left unexpanded so users can "make install exec_prefix=/foo" 879# and all the variables that are supposed to be based on exec_prefix 880# by default will actually change. 881# Use braces instead of parens because sh, perl, etc. also accept them. 882# (The list follows the same order as the GNU Coding Standards.) 883bindir='${exec_prefix}/bin' 884sbindir='${exec_prefix}/sbin' 885libexecdir='${exec_prefix}/libexec' 886datarootdir='${prefix}/share' 887datadir='${datarootdir}' 888sysconfdir='${prefix}/etc' 889sharedstatedir='${prefix}/com' 890localstatedir='${prefix}/var' 891includedir='${prefix}/include' 892oldincludedir='/usr/include' 893docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 894infodir='${datarootdir}/info' 895htmldir='${docdir}' 896dvidir='${docdir}' 897pdfdir='${docdir}' 898psdir='${docdir}' 899libdir='${exec_prefix}/lib' 900localedir='${datarootdir}/locale' 901mandir='${datarootdir}/man' 902 903ac_prev= 904ac_dashdash= 905for ac_option 906do 907 # If the previous option needs an argument, assign it. 908 if test -n "$ac_prev"; then 909 eval $ac_prev=\$ac_option 910 ac_prev= 911 continue 912 fi 913 914 case $ac_option in 915 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 916 *=) ac_optarg= ;; 917 *) ac_optarg=yes ;; 918 esac 919 920 # Accept the important Cygnus configure options, so we can diagnose typos. 921 922 case $ac_dashdash$ac_option in 923 --) 924 ac_dashdash=yes ;; 925 926 -bindir | --bindir | --bindi | --bind | --bin | --bi) 927 ac_prev=bindir ;; 928 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 929 bindir=$ac_optarg ;; 930 931 -build | --build | --buil | --bui | --bu) 932 ac_prev=build_alias ;; 933 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 934 build_alias=$ac_optarg ;; 935 936 -cache-file | --cache-file | --cache-fil | --cache-fi \ 937 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 938 ac_prev=cache_file ;; 939 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 940 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 941 cache_file=$ac_optarg ;; 942 943 --config-cache | -C) 944 cache_file=config.cache ;; 945 946 -datadir | --datadir | --datadi | --datad) 947 ac_prev=datadir ;; 948 -datadir=* | --datadir=* | --datadi=* | --datad=*) 949 datadir=$ac_optarg ;; 950 951 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 952 | --dataroo | --dataro | --datar) 953 ac_prev=datarootdir ;; 954 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 955 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 956 datarootdir=$ac_optarg ;; 957 958 -disable-* | --disable-*) 959 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 960 # Reject names that are not valid shell variable names. 961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 962 as_fn_error $? "invalid feature name: $ac_useropt" 963 ac_useropt_orig=$ac_useropt 964 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 965 case $ac_user_opts in 966 *" 967"enable_$ac_useropt" 968"*) ;; 969 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 970 ac_unrecognized_sep=', ';; 971 esac 972 eval enable_$ac_useropt=no ;; 973 974 -docdir | --docdir | --docdi | --doc | --do) 975 ac_prev=docdir ;; 976 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 977 docdir=$ac_optarg ;; 978 979 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 980 ac_prev=dvidir ;; 981 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 982 dvidir=$ac_optarg ;; 983 984 -enable-* | --enable-*) 985 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 986 # Reject names that are not valid shell variable names. 987 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 988 as_fn_error $? "invalid feature name: $ac_useropt" 989 ac_useropt_orig=$ac_useropt 990 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 991 case $ac_user_opts in 992 *" 993"enable_$ac_useropt" 994"*) ;; 995 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 996 ac_unrecognized_sep=', ';; 997 esac 998 eval enable_$ac_useropt=\$ac_optarg ;; 999 1000 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1001 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1002 | --exec | --exe | --ex) 1003 ac_prev=exec_prefix ;; 1004 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1005 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1006 | --exec=* | --exe=* | --ex=*) 1007 exec_prefix=$ac_optarg ;; 1008 1009 -gas | --gas | --ga | --g) 1010 # Obsolete; use --with-gas. 1011 with_gas=yes ;; 1012 1013 -help | --help | --hel | --he | -h) 1014 ac_init_help=long ;; 1015 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1016 ac_init_help=recursive ;; 1017 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1018 ac_init_help=short ;; 1019 1020 -host | --host | --hos | --ho) 1021 ac_prev=host_alias ;; 1022 -host=* | --host=* | --hos=* | --ho=*) 1023 host_alias=$ac_optarg ;; 1024 1025 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1026 ac_prev=htmldir ;; 1027 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1028 | --ht=*) 1029 htmldir=$ac_optarg ;; 1030 1031 -includedir | --includedir | --includedi | --included | --include \ 1032 | --includ | --inclu | --incl | --inc) 1033 ac_prev=includedir ;; 1034 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1035 | --includ=* | --inclu=* | --incl=* | --inc=*) 1036 includedir=$ac_optarg ;; 1037 1038 -infodir | --infodir | --infodi | --infod | --info | --inf) 1039 ac_prev=infodir ;; 1040 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1041 infodir=$ac_optarg ;; 1042 1043 -libdir | --libdir | --libdi | --libd) 1044 ac_prev=libdir ;; 1045 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1046 libdir=$ac_optarg ;; 1047 1048 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1049 | --libexe | --libex | --libe) 1050 ac_prev=libexecdir ;; 1051 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1052 | --libexe=* | --libex=* | --libe=*) 1053 libexecdir=$ac_optarg ;; 1054 1055 -localedir | --localedir | --localedi | --localed | --locale) 1056 ac_prev=localedir ;; 1057 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1058 localedir=$ac_optarg ;; 1059 1060 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1061 | --localstate | --localstat | --localsta | --localst | --locals) 1062 ac_prev=localstatedir ;; 1063 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1064 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1065 localstatedir=$ac_optarg ;; 1066 1067 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1068 ac_prev=mandir ;; 1069 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1070 mandir=$ac_optarg ;; 1071 1072 -nfp | --nfp | --nf) 1073 # Obsolete; use --without-fp. 1074 with_fp=no ;; 1075 1076 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1077 | --no-cr | --no-c | -n) 1078 no_create=yes ;; 1079 1080 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1081 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1082 no_recursion=yes ;; 1083 1084 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1085 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1086 | --oldin | --oldi | --old | --ol | --o) 1087 ac_prev=oldincludedir ;; 1088 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1089 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1090 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1091 oldincludedir=$ac_optarg ;; 1092 1093 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1094 ac_prev=prefix ;; 1095 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1096 prefix=$ac_optarg ;; 1097 1098 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1099 | --program-pre | --program-pr | --program-p) 1100 ac_prev=program_prefix ;; 1101 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1102 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1103 program_prefix=$ac_optarg ;; 1104 1105 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1106 | --program-suf | --program-su | --program-s) 1107 ac_prev=program_suffix ;; 1108 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1109 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1110 program_suffix=$ac_optarg ;; 1111 1112 -program-transform-name | --program-transform-name \ 1113 | --program-transform-nam | --program-transform-na \ 1114 | --program-transform-n | --program-transform- \ 1115 | --program-transform | --program-transfor \ 1116 | --program-transfo | --program-transf \ 1117 | --program-trans | --program-tran \ 1118 | --progr-tra | --program-tr | --program-t) 1119 ac_prev=program_transform_name ;; 1120 -program-transform-name=* | --program-transform-name=* \ 1121 | --program-transform-nam=* | --program-transform-na=* \ 1122 | --program-transform-n=* | --program-transform-=* \ 1123 | --program-transform=* | --program-transfor=* \ 1124 | --program-transfo=* | --program-transf=* \ 1125 | --program-trans=* | --program-tran=* \ 1126 | --progr-tra=* | --program-tr=* | --program-t=*) 1127 program_transform_name=$ac_optarg ;; 1128 1129 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1130 ac_prev=pdfdir ;; 1131 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1132 pdfdir=$ac_optarg ;; 1133 1134 -psdir | --psdir | --psdi | --psd | --ps) 1135 ac_prev=psdir ;; 1136 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1137 psdir=$ac_optarg ;; 1138 1139 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1140 | -silent | --silent | --silen | --sile | --sil) 1141 silent=yes ;; 1142 1143 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1144 ac_prev=sbindir ;; 1145 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1146 | --sbi=* | --sb=*) 1147 sbindir=$ac_optarg ;; 1148 1149 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1150 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1151 | --sharedst | --shareds | --shared | --share | --shar \ 1152 | --sha | --sh) 1153 ac_prev=sharedstatedir ;; 1154 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1155 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1156 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1157 | --sha=* | --sh=*) 1158 sharedstatedir=$ac_optarg ;; 1159 1160 -site | --site | --sit) 1161 ac_prev=site ;; 1162 -site=* | --site=* | --sit=*) 1163 site=$ac_optarg ;; 1164 1165 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1166 ac_prev=srcdir ;; 1167 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1168 srcdir=$ac_optarg ;; 1169 1170 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1171 | --syscon | --sysco | --sysc | --sys | --sy) 1172 ac_prev=sysconfdir ;; 1173 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1174 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1175 sysconfdir=$ac_optarg ;; 1176 1177 -target | --target | --targe | --targ | --tar | --ta | --t) 1178 ac_prev=target_alias ;; 1179 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1180 target_alias=$ac_optarg ;; 1181 1182 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1183 verbose=yes ;; 1184 1185 -version | --version | --versio | --versi | --vers | -V) 1186 ac_init_version=: ;; 1187 1188 -with-* | --with-*) 1189 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1190 # Reject names that are not valid shell variable names. 1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1192 as_fn_error $? "invalid package name: $ac_useropt" 1193 ac_useropt_orig=$ac_useropt 1194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1195 case $ac_user_opts in 1196 *" 1197"with_$ac_useropt" 1198"*) ;; 1199 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1200 ac_unrecognized_sep=', ';; 1201 esac 1202 eval with_$ac_useropt=\$ac_optarg ;; 1203 1204 -without-* | --without-*) 1205 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1206 # Reject names that are not valid shell variable names. 1207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1208 as_fn_error $? "invalid package name: $ac_useropt" 1209 ac_useropt_orig=$ac_useropt 1210 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1211 case $ac_user_opts in 1212 *" 1213"with_$ac_useropt" 1214"*) ;; 1215 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1216 ac_unrecognized_sep=', ';; 1217 esac 1218 eval with_$ac_useropt=no ;; 1219 1220 --x) 1221 # Obsolete; use --with-x. 1222 with_x=yes ;; 1223 1224 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1225 | --x-incl | --x-inc | --x-in | --x-i) 1226 ac_prev=x_includes ;; 1227 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1228 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1229 x_includes=$ac_optarg ;; 1230 1231 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1232 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1233 ac_prev=x_libraries ;; 1234 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1235 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1236 x_libraries=$ac_optarg ;; 1237 1238 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1239Try \`$0 --help' for more information" 1240 ;; 1241 1242 *=*) 1243 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1244 # Reject names that are not valid shell variable names. 1245 case $ac_envvar in #( 1246 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1247 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1248 esac 1249 eval $ac_envvar=\$ac_optarg 1250 export $ac_envvar ;; 1251 1252 *) 1253 # FIXME: should be removed in autoconf 3.0. 1254 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1255 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1256 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1257 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1258 ;; 1259 1260 esac 1261done 1262 1263if test -n "$ac_prev"; then 1264 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1265 as_fn_error $? "missing argument to $ac_option" 1266fi 1267 1268if test -n "$ac_unrecognized_opts"; then 1269 case $enable_option_checking in 1270 no) ;; 1271 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1272 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1273 esac 1274fi 1275 1276# Check all directory arguments for consistency. 1277for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1278 datadir sysconfdir sharedstatedir localstatedir includedir \ 1279 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1280 libdir localedir mandir 1281do 1282 eval ac_val=\$$ac_var 1283 # Remove trailing slashes. 1284 case $ac_val in 1285 */ ) 1286 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1287 eval $ac_var=\$ac_val;; 1288 esac 1289 # Be sure to have absolute directory names. 1290 case $ac_val in 1291 [\\/$]* | ?:[\\/]* ) continue;; 1292 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1293 esac 1294 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1295done 1296 1297# There might be people who depend on the old broken behavior: `$host' 1298# used to hold the argument of --host etc. 1299# FIXME: To remove some day. 1300build=$build_alias 1301host=$host_alias 1302target=$target_alias 1303 1304# FIXME: To remove some day. 1305if test "x$host_alias" != x; then 1306 if test "x$build_alias" = x; then 1307 cross_compiling=maybe 1308 elif test "x$build_alias" != "x$host_alias"; then 1309 cross_compiling=yes 1310 fi 1311fi 1312 1313ac_tool_prefix= 1314test -n "$host_alias" && ac_tool_prefix=$host_alias- 1315 1316test "$silent" = yes && exec 6>/dev/null 1317 1318 1319ac_pwd=`pwd` && test -n "$ac_pwd" && 1320ac_ls_di=`ls -di .` && 1321ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1322 as_fn_error $? "working directory cannot be determined" 1323test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1324 as_fn_error $? "pwd does not report name of working directory" 1325 1326 1327# Find the source files, if location was not specified. 1328if test -z "$srcdir"; then 1329 ac_srcdir_defaulted=yes 1330 # Try the directory containing this script, then the parent directory. 1331 ac_confdir=`$as_dirname -- "$as_myself" || 1332$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1333 X"$as_myself" : 'X\(//\)[^/]' \| \ 1334 X"$as_myself" : 'X\(//\)$' \| \ 1335 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1336$as_echo X"$as_myself" | 1337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1338 s//\1/ 1339 q 1340 } 1341 /^X\(\/\/\)[^/].*/{ 1342 s//\1/ 1343 q 1344 } 1345 /^X\(\/\/\)$/{ 1346 s//\1/ 1347 q 1348 } 1349 /^X\(\/\).*/{ 1350 s//\1/ 1351 q 1352 } 1353 s/.*/./; q'` 1354 srcdir=$ac_confdir 1355 if test ! -r "$srcdir/$ac_unique_file"; then 1356 srcdir=.. 1357 fi 1358else 1359 ac_srcdir_defaulted=no 1360fi 1361if test ! -r "$srcdir/$ac_unique_file"; then 1362 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1363 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1364fi 1365ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1366ac_abs_confdir=`( 1367 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1368 pwd)` 1369# When building in place, set srcdir=. 1370if test "$ac_abs_confdir" = "$ac_pwd"; then 1371 srcdir=. 1372fi 1373# Remove unnecessary trailing slashes from srcdir. 1374# Double slashes in file names in object file debugging info 1375# mess up M-x gdb in Emacs. 1376case $srcdir in 1377*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1378esac 1379for ac_var in $ac_precious_vars; do 1380 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1381 eval ac_env_${ac_var}_value=\$${ac_var} 1382 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1383 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1384done 1385 1386# 1387# Report the --help message. 1388# 1389if test "$ac_init_help" = "long"; then 1390 # Omit some internal or obsolete options to make the list less imposing. 1391 # This message is too long to be a string in the A/UX 3.1 sh. 1392 cat <<_ACEOF 1393\`configure' configures gstreamermm 1.10.0 to adapt to many kinds of systems. 1394 1395Usage: $0 [OPTION]... [VAR=VALUE]... 1396 1397To assign environment variables (e.g., CC, CFLAGS...), specify them as 1398VAR=VALUE. See below for descriptions of some of the useful variables. 1399 1400Defaults for the options are specified in brackets. 1401 1402Configuration: 1403 -h, --help display this help and exit 1404 --help=short display options specific to this package 1405 --help=recursive display the short help of all the included packages 1406 -V, --version display version information and exit 1407 -q, --quiet, --silent do not print \`checking ...' messages 1408 --cache-file=FILE cache test results in FILE [disabled] 1409 -C, --config-cache alias for \`--cache-file=config.cache' 1410 -n, --no-create do not create output files 1411 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1412 1413Installation directories: 1414 --prefix=PREFIX install architecture-independent files in PREFIX 1415 [$ac_default_prefix] 1416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1417 [PREFIX] 1418 1419By default, \`make install' will install all the files in 1420\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1421an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1422for instance \`--prefix=\$HOME'. 1423 1424For better control, use the options below. 1425 1426Fine tuning of the installation directories: 1427 --bindir=DIR user executables [EPREFIX/bin] 1428 --sbindir=DIR system admin executables [EPREFIX/sbin] 1429 --libexecdir=DIR program executables [EPREFIX/libexec] 1430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1432 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1433 --libdir=DIR object code libraries [EPREFIX/lib] 1434 --includedir=DIR C header files [PREFIX/include] 1435 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1438 --infodir=DIR info documentation [DATAROOTDIR/info] 1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1440 --mandir=DIR man documentation [DATAROOTDIR/man] 1441 --docdir=DIR documentation root [DATAROOTDIR/doc/gstreamermm] 1442 --htmldir=DIR html documentation [DOCDIR] 1443 --dvidir=DIR dvi documentation [DOCDIR] 1444 --pdfdir=DIR pdf documentation [DOCDIR] 1445 --psdir=DIR ps documentation [DOCDIR] 1446_ACEOF 1447 1448 cat <<\_ACEOF 1449 1450Program names: 1451 --program-prefix=PREFIX prepend PREFIX to installed program names 1452 --program-suffix=SUFFIX append SUFFIX to installed program names 1453 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1454 1455System types: 1456 --build=BUILD configure for building on BUILD [guessed] 1457 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1458_ACEOF 1459fi 1460 1461if test -n "$ac_init_help"; then 1462 case $ac_init_help in 1463 short | recursive ) echo "Configuration of gstreamermm 1.10.0:";; 1464 esac 1465 cat <<\_ACEOF 1466 1467Optional Features: 1468 --disable-option-checking ignore unrecognized --enable/--with options 1469 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1470 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1471 --enable-silent-rules less verbose build output (undo: "make V=1") 1472 --disable-silent-rules verbose build output (undo: "make V=0") 1473 --enable-maintainer-mode 1474 enable make rules and dependencies not useful (and 1475 sometimes confusing) to the casual installer 1476 --enable-dependency-tracking 1477 do not reject slow dependency extractors 1478 --disable-dependency-tracking 1479 speeds up one-time build 1480 --enable-static[=PKGS] build static libraries [default=no] 1481 --enable-shared[=PKGS] build shared libraries [default=yes] 1482 --enable-fast-install[=PKGS] 1483 optimize for fast installation [default=yes] 1484 --disable-libtool-lock avoid locking (might break parallel builds) 1485 --disable-documentation do not build or install the documentation 1486 --enable-unittests=[yes/no/auto] 1487 Enable unit tests 1488 --enable-warnings[=min|max|fatal|no] 1489 set compiler pedantry level [default=min] 1490 --disable-deprecated-api 1491 omit deprecated API from the library 1492 1493Optional Packages: 1494 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1495 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1496 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1497 both] 1498 --with-aix-soname=aix|svr4|both 1499 shared library versioning (aka "SONAME") variant to 1500 provide on AIX, [default=aix]. 1501 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1502 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1503 compiler's sysroot if not specified). 1504 --with-libstdc-doc=[TAGFILE@]HTMLREFDIR 1505 Link to external libstdc documentation [auto] 1506 --with-libsigc-doc=[TAGFILE@]HTMLREFDIR 1507 Link to external libsigc documentation [auto] 1508 --with-glibmm-doc=[TAGFILE@]HTMLREFDIR 1509 Link to external glibmm documentation [auto] 1510 --with-cairomm-doc=[TAGFILE@]HTMLREFDIR 1511 Link to external cairomm documentation [auto] 1512 --with-pangomm-doc=[TAGFILE@]HTMLREFDIR 1513 Link to external pangomm documentation [auto] 1514 1515Some influential environment variables: 1516 ACLOCAL_FLAGS 1517 aclocal flags, e.g. -I <macro dir> 1518 CXX C++ compiler command 1519 CXXFLAGS C++ compiler flags 1520 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1521 nonstandard directory <lib dir> 1522 LIBS libraries to pass to the linker, e.g. -l<library> 1523 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1524 you have headers in a nonstandard directory <include dir> 1525 CC C compiler command 1526 CFLAGS C compiler flags 1527 LT_SYS_LIBRARY_PATH 1528 User-defined run-time library search path. 1529 CPP C preprocessor 1530 CXXCPP C++ preprocessor 1531 PKG_CONFIG path to pkg-config utility 1532 PKG_CONFIG_PATH 1533 directories to add to pkg-config's search path 1534 PKG_CONFIG_LIBDIR 1535 path overriding pkg-config's built-in search path 1536 GSTREAMERMM_CFLAGS 1537 C compiler flags for GSTREAMERMM, overriding pkg-config 1538 GSTREAMERMM_LIBS 1539 linker flags for GSTREAMERMM, overriding pkg-config 1540 GUI_EXAMPLES_CFLAGS 1541 C compiler flags for GUI_EXAMPLES, overriding pkg-config 1542 GUI_EXAMPLES_LIBS 1543 linker flags for GUI_EXAMPLES, 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 <http://bugzilla.gnome.org/enter_bug.cgi?product=gstreamermm>. 1553gstreamermm home page: <http://www.gtkmm.org/>. 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 1616gstreamermm configure 1.10.0 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 gstreamermm $as_me 1.10.0, 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 config.h gstreamer/gstreamermmconfig.h" 2397 2398 2399 2400 2401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5 2402$as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; } 2403cat >conftest.make <<'_MMEOF' 2404override reverse = $(2)$(subst ,, )$(1) 2405override result := $(word 2,$(call reverse,success,failure)) 2406all: ; test '$(result)' = success 2407.PHONY: all 2408_MMEOF 2409if ${MAKE-make} -f conftest.make >&5 2>&5; then : 2410 mm_gnu_make=yes 2411else 2412 mm_gnu_make=no 2413fi 2414rm -f conftest.make 2415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5 2416$as_echo "$mm_gnu_make" >&6; } 2417if test "x$mm_gnu_make" != xyes; then : 2418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2419$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2420as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME. 2421See \`config.log' for more details" "$LINENO" 5; } 2422fi 2423 2424GSTREAMERMM_MODULE_NAME='gstreamermm-1.0' 2425 2426GSTREAMERMM_VERSION='1.10.0' 2427 2428GSTREAMERMM_API_VERSION='1.0' 2429 2430GSTREAMERMM_MAJOR_VERSION=1 2431 2432 2433$as_echo "#define GSTREAMERMM_MAJOR_VERSION 1" >>confdefs.h 2434 2435GSTREAMERMM_MINOR_VERSION=10 2436 2437 2438$as_echo "#define GSTREAMERMM_MINOR_VERSION 10" >>confdefs.h 2439 2440GSTREAMERMM_MICRO_VERSION=0 2441 2442 2443$as_echo "#define GSTREAMERMM_MICRO_VERSION 0" >>confdefs.h 2444 2445 2446 2447# Copy the mm-common .pl scripts into docs/, 2448# and use them from there, 2449# so we can dist them to avoid a tarball-build dependency. 2450MMDOCTOOLDIR='${top_srcdir}/docs' 2451 if test 'xdocs' != 'x'; then 2452 DIST_DOCTOOLS_TRUE= 2453 DIST_DOCTOOLS_FALSE='#' 2454else 2455 DIST_DOCTOOLS_TRUE='#' 2456 DIST_DOCTOOLS_FALSE= 2457fi 2458 2459 2460# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html 2461GSTREAMERMM_SO_VERSION=1:0:0 2462 2463 2464am__api_version='1.15' 2465 2466# Find a good install program. We prefer a C program (faster), 2467# so one script is as good as another. But avoid the broken or 2468# incompatible versions: 2469# SysV /etc/install, /usr/sbin/install 2470# SunOS /usr/etc/install 2471# IRIX /sbin/install 2472# AIX /bin/install 2473# AmigaOS /C/install, which installs bootblocks on floppy discs 2474# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2475# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2476# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2477# OS/2's system install, which has a completely different semantic 2478# ./install, which can be erroneously created by make from ./install.sh. 2479# Reject install programs that cannot install multiple files. 2480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2481$as_echo_n "checking for a BSD-compatible install... " >&6; } 2482if test -z "$INSTALL"; then 2483if ${ac_cv_path_install+:} false; then : 2484 $as_echo_n "(cached) " >&6 2485else 2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2487for as_dir in $PATH 2488do 2489 IFS=$as_save_IFS 2490 test -z "$as_dir" && as_dir=. 2491 # Account for people who put trailing slashes in PATH elements. 2492case $as_dir/ in #(( 2493 ./ | .// | /[cC]/* | \ 2494 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2495 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2496 /usr/ucb/* ) ;; 2497 *) 2498 # OSF1 and SCO ODT 3.0 have their own names for install. 2499 # Don't use installbsd from OSF since it installs stuff as root 2500 # by default. 2501 for ac_prog in ginstall scoinst install; do 2502 for ac_exec_ext in '' $ac_executable_extensions; do 2503 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2504 if test $ac_prog = install && 2505 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2506 # AIX install. It has an incompatible calling convention. 2507 : 2508 elif test $ac_prog = install && 2509 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2510 # program-specific install script used by HP pwplus--don't use. 2511 : 2512 else 2513 rm -rf conftest.one conftest.two conftest.dir 2514 echo one > conftest.one 2515 echo two > conftest.two 2516 mkdir conftest.dir 2517 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2518 test -s conftest.one && test -s conftest.two && 2519 test -s conftest.dir/conftest.one && 2520 test -s conftest.dir/conftest.two 2521 then 2522 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2523 break 3 2524 fi 2525 fi 2526 fi 2527 done 2528 done 2529 ;; 2530esac 2531 2532 done 2533IFS=$as_save_IFS 2534 2535rm -rf conftest.one conftest.two conftest.dir 2536 2537fi 2538 if test "${ac_cv_path_install+set}" = set; then 2539 INSTALL=$ac_cv_path_install 2540 else 2541 # As a last resort, use the slow shell script. Don't cache a 2542 # value for INSTALL within a source directory, because that will 2543 # break other packages using the cache if that directory is 2544 # removed, or if the value is a relative name. 2545 INSTALL=$ac_install_sh 2546 fi 2547fi 2548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2549$as_echo "$INSTALL" >&6; } 2550 2551# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2552# It thinks the first close brace ends the variable substitution. 2553test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2554 2555test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2556 2557test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2558 2559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2560$as_echo_n "checking whether build environment is sane... " >&6; } 2561# Reject unsafe characters in $srcdir or the absolute working directory 2562# name. Accept space and tab only in the latter. 2563am_lf=' 2564' 2565case `pwd` in 2566 *[\\\"\#\$\&\'\`$am_lf]*) 2567 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2568esac 2569case $srcdir in 2570 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2571 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2572esac 2573 2574# Do 'set' in a subshell so we don't clobber the current shell's 2575# arguments. Must try -L first in case configure is actually a 2576# symlink; some systems play weird games with the mod time of symlinks 2577# (eg FreeBSD returns the mod time of the symlink's containing 2578# directory). 2579if ( 2580 am_has_slept=no 2581 for am_try in 1 2; do 2582 echo "timestamp, slept: $am_has_slept" > conftest.file 2583 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2584 if test "$*" = "X"; then 2585 # -L didn't work. 2586 set X `ls -t "$srcdir/configure" conftest.file` 2587 fi 2588 if test "$*" != "X $srcdir/configure conftest.file" \ 2589 && test "$*" != "X conftest.file $srcdir/configure"; then 2590 2591 # If neither matched, then we have a broken ls. This can happen 2592 # if, for instance, CONFIG_SHELL is bash and it inherits a 2593 # broken ls alias from the environment. This has actually 2594 # happened. Such a system could not be considered "sane". 2595 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2596 alias in your environment" "$LINENO" 5 2597 fi 2598 if test "$2" = conftest.file || test $am_try -eq 2; then 2599 break 2600 fi 2601 # Just in case. 2602 sleep 1 2603 am_has_slept=yes 2604 done 2605 test "$2" = conftest.file 2606 ) 2607then 2608 # Ok. 2609 : 2610else 2611 as_fn_error $? "newly created file is older than distributed files! 2612Check your system clock" "$LINENO" 5 2613fi 2614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2615$as_echo "yes" >&6; } 2616# If we didn't sleep, we still need to ensure time stamps of config.status and 2617# generated files are strictly newer. 2618am_sleep_pid= 2619if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2620 ( sleep 1 ) & 2621 am_sleep_pid=$! 2622fi 2623 2624rm -f conftest.file 2625 2626test "$program_prefix" != NONE && 2627 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2628# Use a double $ so make ignores it. 2629test "$program_suffix" != NONE && 2630 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2631# Double any \ or $. 2632# By default was `s,x,x', remove it if useless. 2633ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2634program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2635 2636# Expand $ac_aux_dir to an absolute path. 2637am_aux_dir=`cd "$ac_aux_dir" && pwd` 2638 2639if test x"${MISSING+set}" != xset; then 2640 case $am_aux_dir in 2641 *\ * | *\ *) 2642 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2643 *) 2644 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2645 esac 2646fi 2647# Use eval to expand $SHELL 2648if eval "$MISSING --is-lightweight"; then 2649 am_missing_run="$MISSING " 2650else 2651 am_missing_run= 2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2653$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2654fi 2655 2656if test x"${install_sh+set}" != xset; then 2657 case $am_aux_dir in 2658 *\ * | *\ *) 2659 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2660 *) 2661 install_sh="\${SHELL} $am_aux_dir/install-sh" 2662 esac 2663fi 2664 2665# Installed binaries are usually stripped using 'strip' when the user 2666# run "make install-strip". However 'strip' might not be the right 2667# tool to use in cross-compilation environments, therefore Automake 2668# will honor the 'STRIP' environment variable to overrule this program. 2669if test "$cross_compiling" != no; then 2670 if test -n "$ac_tool_prefix"; then 2671 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2672set dummy ${ac_tool_prefix}strip; ac_word=$2 2673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2674$as_echo_n "checking for $ac_word... " >&6; } 2675if ${ac_cv_prog_STRIP+:} false; then : 2676 $as_echo_n "(cached) " >&6 2677else 2678 if test -n "$STRIP"; then 2679 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2680else 2681as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2682for as_dir in $PATH 2683do 2684 IFS=$as_save_IFS 2685 test -z "$as_dir" && as_dir=. 2686 for ac_exec_ext in '' $ac_executable_extensions; do 2687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2688 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2690 break 2 2691 fi 2692done 2693 done 2694IFS=$as_save_IFS 2695 2696fi 2697fi 2698STRIP=$ac_cv_prog_STRIP 2699if test -n "$STRIP"; then 2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2701$as_echo "$STRIP" >&6; } 2702else 2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2704$as_echo "no" >&6; } 2705fi 2706 2707 2708fi 2709if test -z "$ac_cv_prog_STRIP"; then 2710 ac_ct_STRIP=$STRIP 2711 # Extract the first word of "strip", so it can be a program name with args. 2712set dummy strip; ac_word=$2 2713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2714$as_echo_n "checking for $ac_word... " >&6; } 2715if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2716 $as_echo_n "(cached) " >&6 2717else 2718 if test -n "$ac_ct_STRIP"; then 2719 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2720else 2721as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2722for as_dir in $PATH 2723do 2724 IFS=$as_save_IFS 2725 test -z "$as_dir" && as_dir=. 2726 for ac_exec_ext in '' $ac_executable_extensions; do 2727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2728 ac_cv_prog_ac_ct_STRIP="strip" 2729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2730 break 2 2731 fi 2732done 2733 done 2734IFS=$as_save_IFS 2735 2736fi 2737fi 2738ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2739if test -n "$ac_ct_STRIP"; then 2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2741$as_echo "$ac_ct_STRIP" >&6; } 2742else 2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2744$as_echo "no" >&6; } 2745fi 2746 2747 if test "x$ac_ct_STRIP" = x; then 2748 STRIP=":" 2749 else 2750 case $cross_compiling:$ac_tool_warned in 2751yes:) 2752{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2753$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2754ac_tool_warned=yes ;; 2755esac 2756 STRIP=$ac_ct_STRIP 2757 fi 2758else 2759 STRIP="$ac_cv_prog_STRIP" 2760fi 2761 2762fi 2763INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2764 2765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2766$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2767if test -z "$MKDIR_P"; then 2768 if ${ac_cv_path_mkdir+:} false; then : 2769 $as_echo_n "(cached) " >&6 2770else 2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2772for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2773do 2774 IFS=$as_save_IFS 2775 test -z "$as_dir" && as_dir=. 2776 for ac_prog in mkdir gmkdir; do 2777 for ac_exec_ext in '' $ac_executable_extensions; do 2778 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2779 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2780 'mkdir (GNU coreutils) '* | \ 2781 'mkdir (coreutils) '* | \ 2782 'mkdir (fileutils) '4.1*) 2783 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2784 break 3;; 2785 esac 2786 done 2787 done 2788 done 2789IFS=$as_save_IFS 2790 2791fi 2792 2793 test -d ./--version && rmdir ./--version 2794 if test "${ac_cv_path_mkdir+set}" = set; then 2795 MKDIR_P="$ac_cv_path_mkdir -p" 2796 else 2797 # As a last resort, use the slow shell script. Don't cache a 2798 # value for MKDIR_P within a source directory, because that will 2799 # break other packages using the cache if that directory is 2800 # removed, or if the value is a relative name. 2801 MKDIR_P="$ac_install_sh -d" 2802 fi 2803fi 2804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2805$as_echo "$MKDIR_P" >&6; } 2806 2807for ac_prog in gawk mawk nawk awk 2808do 2809 # Extract the first word of "$ac_prog", so it can be a program name with args. 2810set dummy $ac_prog; ac_word=$2 2811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2812$as_echo_n "checking for $ac_word... " >&6; } 2813if ${ac_cv_prog_AWK+:} false; then : 2814 $as_echo_n "(cached) " >&6 2815else 2816 if test -n "$AWK"; then 2817 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2818else 2819as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2820for as_dir in $PATH 2821do 2822 IFS=$as_save_IFS 2823 test -z "$as_dir" && as_dir=. 2824 for ac_exec_ext in '' $ac_executable_extensions; do 2825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2826 ac_cv_prog_AWK="$ac_prog" 2827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2828 break 2 2829 fi 2830done 2831 done 2832IFS=$as_save_IFS 2833 2834fi 2835fi 2836AWK=$ac_cv_prog_AWK 2837if test -n "$AWK"; then 2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2839$as_echo "$AWK" >&6; } 2840else 2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2842$as_echo "no" >&6; } 2843fi 2844 2845 2846 test -n "$AWK" && break 2847done 2848 2849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2850$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2851set x ${MAKE-make} 2852ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2853if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2854 $as_echo_n "(cached) " >&6 2855else 2856 cat >conftest.make <<\_ACEOF 2857SHELL = /bin/sh 2858all: 2859 @echo '@@@%%%=$(MAKE)=@@@%%%' 2860_ACEOF 2861# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2862case `${MAKE-make} -f conftest.make 2>/dev/null` in 2863 *@@@%%%=?*=@@@%%%*) 2864 eval ac_cv_prog_make_${ac_make}_set=yes;; 2865 *) 2866 eval ac_cv_prog_make_${ac_make}_set=no;; 2867esac 2868rm -f conftest.make 2869fi 2870if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2872$as_echo "yes" >&6; } 2873 SET_MAKE= 2874else 2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2876$as_echo "no" >&6; } 2877 SET_MAKE="MAKE=${MAKE-make}" 2878fi 2879 2880rm -rf .tst 2>/dev/null 2881mkdir .tst 2>/dev/null 2882if test -d .tst; then 2883 am__leading_dot=. 2884else 2885 am__leading_dot=_ 2886fi 2887rmdir .tst 2>/dev/null 2888 2889# Check whether --enable-silent-rules was given. 2890if test "${enable_silent_rules+set}" = set; then : 2891 enableval=$enable_silent_rules; 2892fi 2893 2894case $enable_silent_rules in # ((( 2895 yes) AM_DEFAULT_VERBOSITY=0;; 2896 no) AM_DEFAULT_VERBOSITY=1;; 2897 *) AM_DEFAULT_VERBOSITY=1;; 2898esac 2899am_make=${MAKE-make} 2900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2901$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2902if ${am_cv_make_support_nested_variables+:} false; then : 2903 $as_echo_n "(cached) " >&6 2904else 2905 if $as_echo 'TRUE=$(BAR$(V)) 2906BAR0=false 2907BAR1=true 2908V=1 2909am__doit: 2910 @$(TRUE) 2911.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2912 am_cv_make_support_nested_variables=yes 2913else 2914 am_cv_make_support_nested_variables=no 2915fi 2916fi 2917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2918$as_echo "$am_cv_make_support_nested_variables" >&6; } 2919if test $am_cv_make_support_nested_variables = yes; then 2920 AM_V='$(V)' 2921 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2922else 2923 AM_V=$AM_DEFAULT_VERBOSITY 2924 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2925fi 2926AM_BACKSLASH='\' 2927 2928if test "`cd $srcdir && pwd`" != "`pwd`"; then 2929 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2930 # is not polluted with repeated "-I." 2931 am__isrc=' -I$(srcdir)' 2932 # test to see if srcdir already configured 2933 if test -f $srcdir/config.status; then 2934 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2935 fi 2936fi 2937 2938# test whether we have cygpath 2939if test -z "$CYGPATH_W"; then 2940 if (cygpath --version) >/dev/null 2>/dev/null; then 2941 CYGPATH_W='cygpath -w' 2942 else 2943 CYGPATH_W=echo 2944 fi 2945fi 2946 2947 2948# Define the identity of the package. 2949 PACKAGE='gstreamermm' 2950 VERSION='1.10.0' 2951 2952 2953# Some tools Automake needs. 2954 2955ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2956 2957 2958AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2959 2960 2961AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2962 2963 2964AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2965 2966 2967MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2968 2969# For better backward compatibility. To be removed once Automake 1.9.x 2970# dies out for good. For more background, see: 2971# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2972# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2973mkdir_p='$(MKDIR_P)' 2974 2975# We need awk for the "check" target (and possibly the TAP driver). The 2976# system "awk" is bad on some platforms. 2977# Always define AMTAR for backward compatibility. Yes, it's still used 2978# in the wild :-( We should find a proper way to deprecate it ... 2979AMTAR='$${TAR-tar}' 2980 2981 2982# We'll loop over all known methods to create a tar archive until one works. 2983_am_tools='gnutar plaintar pax cpio none' 2984 2985# The POSIX 1988 'ustar' format is defined with fixed-size fields. 2986 # There is notably a 21 bits limit for the UID and the GID. In fact, 2987 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 2988 # and bug#13588). 2989 am_max_uid=2097151 # 2^21 - 1 2990 am_max_gid=$am_max_uid 2991 # The $UID and $GID variables are not portable, so we need to resort 2992 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 2993 # below are definitely unexpected, so allow the users to see them 2994 # (that is, avoid stderr redirection). 2995 am_uid=`id -u || echo unknown` 2996 am_gid=`id -g || echo unknown` 2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 2998$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 2999 if test $am_uid -le $am_max_uid; then 3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3001$as_echo "yes" >&6; } 3002 else 3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3004$as_echo "no" >&6; } 3005 _am_tools=none 3006 fi 3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3008$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3009 if test $am_gid -le $am_max_gid; then 3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3011$as_echo "yes" >&6; } 3012 else 3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3014$as_echo "no" >&6; } 3015 _am_tools=none 3016 fi 3017 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3019$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3020 3021 # Go ahead even if we have the value already cached. We do so because we 3022 # need to set the values for the 'am__tar' and 'am__untar' variables. 3023 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3024 3025 for _am_tool in $_am_tools; do 3026 case $_am_tool in 3027 gnutar) 3028 for _am_tar in tar gnutar gtar; do 3029 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3030 ($_am_tar --version) >&5 2>&5 3031 ac_status=$? 3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3033 (exit $ac_status); } && break 3034 done 3035 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3036 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3037 am__untar="$_am_tar -xf -" 3038 ;; 3039 plaintar) 3040 # Must skip GNU tar: if it does not support --format= it doesn't create 3041 # ustar tarball either. 3042 (tar --version) >/dev/null 2>&1 && continue 3043 am__tar='tar chf - "$$tardir"' 3044 am__tar_='tar chf - "$tardir"' 3045 am__untar='tar xf -' 3046 ;; 3047 pax) 3048 am__tar='pax -L -x ustar -w "$$tardir"' 3049 am__tar_='pax -L -x ustar -w "$tardir"' 3050 am__untar='pax -r' 3051 ;; 3052 cpio) 3053 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3054 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3055 am__untar='cpio -i -H ustar -d' 3056 ;; 3057 none) 3058 am__tar=false 3059 am__tar_=false 3060 am__untar=false 3061 ;; 3062 esac 3063 3064 # If the value was cached, stop now. We just wanted to have am__tar 3065 # and am__untar set. 3066 test -n "${am_cv_prog_tar_ustar}" && break 3067 3068 # tar/untar a dummy directory, and stop if the command works. 3069 rm -rf conftest.dir 3070 mkdir conftest.dir 3071 echo GrepMe > conftest.dir/file 3072 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3073 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3074 ac_status=$? 3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3076 (exit $ac_status); } 3077 rm -rf conftest.dir 3078 if test -s conftest.tar; then 3079 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3080 ($am__untar <conftest.tar) >&5 2>&5 3081 ac_status=$? 3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3083 (exit $ac_status); } 3084 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3085 (cat conftest.dir/file) >&5 2>&5 3086 ac_status=$? 3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3088 (exit $ac_status); } 3089 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3090 fi 3091 done 3092 rm -rf conftest.dir 3093 3094 if ${am_cv_prog_tar_ustar+:} false; then : 3095 $as_echo_n "(cached) " >&6 3096else 3097 am_cv_prog_tar_ustar=$_am_tool 3098fi 3099 3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3101$as_echo "$am_cv_prog_tar_ustar" >&6; } 3102 3103 3104 3105 3106 3107 3108# POSIX will say in a future version that running "rm -f" with no argument 3109# is OK; and we want to be able to make that assumption in our Makefile 3110# recipes. So use an aggressive probe to check that the usage we want is 3111# actually supported "in the wild" to an acceptable degree. 3112# See automake bug#10828. 3113# To make any issue more visible, cause the running configure to be aborted 3114# by default if the 'rm' program in use doesn't match our expectations; the 3115# user can still override this though. 3116if rm -f && rm -fr && rm -rf; then : OK; else 3117 cat >&2 <<'END' 3118Oops! 3119 3120Your 'rm' program seems unable to run without file operands specified 3121on the command line, even when the '-f' option is present. This is contrary 3122to the behaviour of most rm programs out there, and not conforming with 3123the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3124 3125Please tell bug-automake@gnu.org about your system, including the value 3126of your $PATH and any error possibly output before this message. This 3127can help us improve future automake versions. 3128 3129END 3130 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3131 echo 'Configuration will proceed anyway, since you have set the' >&2 3132 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3133 echo >&2 3134 else 3135 cat >&2 <<'END' 3136Aborting the configuration process, to ensure you take notice of the issue. 3137 3138You can download and install GNU coreutils to get an 'rm' implementation 3139that behaves properly: <http://www.gnu.org/software/coreutils/>. 3140 3141If you want to complete the configuration process using your problematic 3142'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3143to "yes", and re-run configure. 3144 3145END 3146 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3147 fi 3148fi 3149 3150# Check whether --enable-silent-rules was given. 3151if test "${enable_silent_rules+set}" = set; then : 3152 enableval=$enable_silent_rules; 3153fi 3154 3155case $enable_silent_rules in # ((( 3156 yes) AM_DEFAULT_VERBOSITY=0;; 3157 no) AM_DEFAULT_VERBOSITY=1;; 3158 *) AM_DEFAULT_VERBOSITY=0;; 3159esac 3160am_make=${MAKE-make} 3161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3162$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3163if ${am_cv_make_support_nested_variables+:} false; then : 3164 $as_echo_n "(cached) " >&6 3165else 3166 if $as_echo 'TRUE=$(BAR$(V)) 3167BAR0=false 3168BAR1=true 3169V=1 3170am__doit: 3171 @$(TRUE) 3172.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3173 am_cv_make_support_nested_variables=yes 3174else 3175 am_cv_make_support_nested_variables=no 3176fi 3177fi 3178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3179$as_echo "$am_cv_make_support_nested_variables" >&6; } 3180if test $am_cv_make_support_nested_variables = yes; then 3181 AM_V='$(V)' 3182 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3183else 3184 AM_V=$AM_DEFAULT_VERBOSITY 3185 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3186fi 3187AM_BACKSLASH='\' 3188 3189 3190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3191$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3192 # Check whether --enable-maintainer-mode was given. 3193if test "${enable_maintainer_mode+set}" = set; then : 3194 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3195else 3196 USE_MAINTAINER_MODE=no 3197fi 3198 3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3200$as_echo "$USE_MAINTAINER_MODE" >&6; } 3201 if test $USE_MAINTAINER_MODE = yes; then 3202 MAINTAINER_MODE_TRUE= 3203 MAINTAINER_MODE_FALSE='#' 3204else 3205 MAINTAINER_MODE_TRUE='#' 3206 MAINTAINER_MODE_FALSE= 3207fi 3208 3209 MAINT=$MAINTAINER_MODE_TRUE 3210 3211 3212 3213 3214ac_ext=cpp 3215ac_cpp='$CXXCPP $CPPFLAGS' 3216ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3217ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3218ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3219if test -z "$CXX"; then 3220 if test -n "$CCC"; then 3221 CXX=$CCC 3222 else 3223 if test -n "$ac_tool_prefix"; then 3224 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3225 do 3226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3227set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3229$as_echo_n "checking for $ac_word... " >&6; } 3230if ${ac_cv_prog_CXX+:} false; then : 3231 $as_echo_n "(cached) " >&6 3232else 3233 if test -n "$CXX"; then 3234 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3235else 3236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3237for as_dir in $PATH 3238do 3239 IFS=$as_save_IFS 3240 test -z "$as_dir" && as_dir=. 3241 for ac_exec_ext in '' $ac_executable_extensions; do 3242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3243 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3245 break 2 3246 fi 3247done 3248 done 3249IFS=$as_save_IFS 3250 3251fi 3252fi 3253CXX=$ac_cv_prog_CXX 3254if test -n "$CXX"; then 3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3256$as_echo "$CXX" >&6; } 3257else 3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3259$as_echo "no" >&6; } 3260fi 3261 3262 3263 test -n "$CXX" && break 3264 done 3265fi 3266if test -z "$CXX"; then 3267 ac_ct_CXX=$CXX 3268 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3269do 3270 # Extract the first word of "$ac_prog", so it can be a program name with args. 3271set dummy $ac_prog; ac_word=$2 3272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3273$as_echo_n "checking for $ac_word... " >&6; } 3274if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3275 $as_echo_n "(cached) " >&6 3276else 3277 if test -n "$ac_ct_CXX"; then 3278 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3279else 3280as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3281for as_dir in $PATH 3282do 3283 IFS=$as_save_IFS 3284 test -z "$as_dir" && as_dir=. 3285 for ac_exec_ext in '' $ac_executable_extensions; do 3286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3287 ac_cv_prog_ac_ct_CXX="$ac_prog" 3288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3289 break 2 3290 fi 3291done 3292 done 3293IFS=$as_save_IFS 3294 3295fi 3296fi 3297ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3298if test -n "$ac_ct_CXX"; then 3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3300$as_echo "$ac_ct_CXX" >&6; } 3301else 3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3303$as_echo "no" >&6; } 3304fi 3305 3306 3307 test -n "$ac_ct_CXX" && break 3308done 3309 3310 if test "x$ac_ct_CXX" = x; then 3311 CXX="g++" 3312 else 3313 case $cross_compiling:$ac_tool_warned in 3314yes:) 3315{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3316$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3317ac_tool_warned=yes ;; 3318esac 3319 CXX=$ac_ct_CXX 3320 fi 3321fi 3322 3323 fi 3324fi 3325# Provide some information about the compiler. 3326$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3327set X $ac_compile 3328ac_compiler=$2 3329for ac_option in --version -v -V -qversion; do 3330 { { ac_try="$ac_compiler $ac_option >&5" 3331case "(($ac_try" in 3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3333 *) ac_try_echo=$ac_try;; 3334esac 3335eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3336$as_echo "$ac_try_echo"; } >&5 3337 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3338 ac_status=$? 3339 if test -s conftest.err; then 3340 sed '10a\ 3341... rest of stderr output deleted ... 3342 10q' conftest.err >conftest.er1 3343 cat conftest.er1 >&5 3344 fi 3345 rm -f conftest.er1 conftest.err 3346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3347 test $ac_status = 0; } 3348done 3349 3350cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3351/* end confdefs.h. */ 3352 3353int 3354main () 3355{ 3356 3357 ; 3358 return 0; 3359} 3360_ACEOF 3361ac_clean_files_save=$ac_clean_files 3362ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3363# Try to create an executable without -o first, disregard a.out. 3364# It will help us diagnose broken compilers, and finding out an intuition 3365# of exeext. 3366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 3367$as_echo_n "checking whether the C++ compiler works... " >&6; } 3368ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3369 3370# The possible output files: 3371ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3372 3373ac_rmfiles= 3374for ac_file in $ac_files 3375do 3376 case $ac_file in 3377 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3378 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3379 esac 3380done 3381rm -f $ac_rmfiles 3382 3383if { { ac_try="$ac_link_default" 3384case "(($ac_try" in 3385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3386 *) ac_try_echo=$ac_try;; 3387esac 3388eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3389$as_echo "$ac_try_echo"; } >&5 3390 (eval "$ac_link_default") 2>&5 3391 ac_status=$? 3392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3393 test $ac_status = 0; }; then : 3394 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3395# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3396# in a Makefile. We should not override ac_cv_exeext if it was cached, 3397# so that the user can short-circuit this test for compilers unknown to 3398# Autoconf. 3399for ac_file in $ac_files '' 3400do 3401 test -f "$ac_file" || continue 3402 case $ac_file in 3403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3404 ;; 3405 [ab].out ) 3406 # We found the default executable, but exeext='' is most 3407 # certainly right. 3408 break;; 3409 *.* ) 3410 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3411 then :; else 3412 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3413 fi 3414 # We set ac_cv_exeext here because the later test for it is not 3415 # safe: cross compilers may not add the suffix if given an `-o' 3416 # argument, so we may need to know it at that point already. 3417 # Even if this section looks crufty: it has the advantage of 3418 # actually working. 3419 break;; 3420 * ) 3421 break;; 3422 esac 3423done 3424test "$ac_cv_exeext" = no && ac_cv_exeext= 3425 3426else 3427 ac_file='' 3428fi 3429if test -z "$ac_file"; then : 3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3431$as_echo "no" >&6; } 3432$as_echo "$as_me: failed program was:" >&5 3433sed 's/^/| /' conftest.$ac_ext >&5 3434 3435{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3436$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3437as_fn_error 77 "C++ compiler cannot create executables 3438See \`config.log' for more details" "$LINENO" 5; } 3439else 3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3441$as_echo "yes" >&6; } 3442fi 3443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 3444$as_echo_n "checking for C++ compiler default output file name... " >&6; } 3445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3446$as_echo "$ac_file" >&6; } 3447ac_exeext=$ac_cv_exeext 3448 3449rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3450ac_clean_files=$ac_clean_files_save 3451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3452$as_echo_n "checking for suffix of executables... " >&6; } 3453if { { ac_try="$ac_link" 3454case "(($ac_try" in 3455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3456 *) ac_try_echo=$ac_try;; 3457esac 3458eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3459$as_echo "$ac_try_echo"; } >&5 3460 (eval "$ac_link") 2>&5 3461 ac_status=$? 3462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3463 test $ac_status = 0; }; then : 3464 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3465# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3466# work properly (i.e., refer to `conftest.exe'), while it won't with 3467# `rm'. 3468for ac_file in conftest.exe conftest conftest.*; do 3469 test -f "$ac_file" || continue 3470 case $ac_file in 3471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3472 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3473 break;; 3474 * ) break;; 3475 esac 3476done 3477else 3478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3479$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3480as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3481See \`config.log' for more details" "$LINENO" 5; } 3482fi 3483rm -f conftest conftest$ac_cv_exeext 3484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3485$as_echo "$ac_cv_exeext" >&6; } 3486 3487rm -f conftest.$ac_ext 3488EXEEXT=$ac_cv_exeext 3489ac_exeext=$EXEEXT 3490cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3491/* end confdefs.h. */ 3492#include <stdio.h> 3493int 3494main () 3495{ 3496FILE *f = fopen ("conftest.out", "w"); 3497 return ferror (f) || fclose (f) != 0; 3498 3499 ; 3500 return 0; 3501} 3502_ACEOF 3503ac_clean_files="$ac_clean_files conftest.out" 3504# Check that the compiler produces executables we can run. If not, either 3505# the compiler is broken, or we cross compile. 3506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3507$as_echo_n "checking whether we are cross compiling... " >&6; } 3508if test "$cross_compiling" != yes; then 3509 { { ac_try="$ac_link" 3510case "(($ac_try" in 3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3512 *) ac_try_echo=$ac_try;; 3513esac 3514eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3515$as_echo "$ac_try_echo"; } >&5 3516 (eval "$ac_link") 2>&5 3517 ac_status=$? 3518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3519 test $ac_status = 0; } 3520 if { ac_try='./conftest$ac_cv_exeext' 3521 { { case "(($ac_try" in 3522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3523 *) ac_try_echo=$ac_try;; 3524esac 3525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3526$as_echo "$ac_try_echo"; } >&5 3527 (eval "$ac_try") 2>&5 3528 ac_status=$? 3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3530 test $ac_status = 0; }; }; then 3531 cross_compiling=no 3532 else 3533 if test "$cross_compiling" = maybe; then 3534 cross_compiling=yes 3535 else 3536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3537$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3538as_fn_error $? "cannot run C++ compiled programs. 3539If you meant to cross compile, use \`--host'. 3540See \`config.log' for more details" "$LINENO" 5; } 3541 fi 3542 fi 3543fi 3544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3545$as_echo "$cross_compiling" >&6; } 3546 3547rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3548ac_clean_files=$ac_clean_files_save 3549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3550$as_echo_n "checking for suffix of object files... " >&6; } 3551if ${ac_cv_objext+:} false; then : 3552 $as_echo_n "(cached) " >&6 3553else 3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3555/* end confdefs.h. */ 3556 3557int 3558main () 3559{ 3560 3561 ; 3562 return 0; 3563} 3564_ACEOF 3565rm -f conftest.o conftest.obj 3566if { { ac_try="$ac_compile" 3567case "(($ac_try" in 3568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3569 *) ac_try_echo=$ac_try;; 3570esac 3571eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3572$as_echo "$ac_try_echo"; } >&5 3573 (eval "$ac_compile") 2>&5 3574 ac_status=$? 3575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3576 test $ac_status = 0; }; then : 3577 for ac_file in conftest.o conftest.obj conftest.*; do 3578 test -f "$ac_file" || continue; 3579 case $ac_file in 3580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3581 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3582 break;; 3583 esac 3584done 3585else 3586 $as_echo "$as_me: failed program was:" >&5 3587sed 's/^/| /' conftest.$ac_ext >&5 3588 3589{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3590$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3591as_fn_error $? "cannot compute suffix of object files: cannot compile 3592See \`config.log' for more details" "$LINENO" 5; } 3593fi 3594rm -f conftest.$ac_cv_objext conftest.$ac_ext 3595fi 3596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3597$as_echo "$ac_cv_objext" >&6; } 3598OBJEXT=$ac_cv_objext 3599ac_objext=$OBJEXT 3600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3601$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3602if ${ac_cv_cxx_compiler_gnu+:} false; then : 3603 $as_echo_n "(cached) " >&6 3604else 3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3606/* end confdefs.h. */ 3607 3608int 3609main () 3610{ 3611#ifndef __GNUC__ 3612 choke me 3613#endif 3614 3615 ; 3616 return 0; 3617} 3618_ACEOF 3619if ac_fn_cxx_try_compile "$LINENO"; then : 3620 ac_compiler_gnu=yes 3621else 3622 ac_compiler_gnu=no 3623fi 3624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3625ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3626 3627fi 3628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3629$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3630if test $ac_compiler_gnu = yes; then 3631 GXX=yes 3632else 3633 GXX= 3634fi 3635ac_test_CXXFLAGS=${CXXFLAGS+set} 3636ac_save_CXXFLAGS=$CXXFLAGS 3637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3638$as_echo_n "checking whether $CXX accepts -g... " >&6; } 3639if ${ac_cv_prog_cxx_g+:} false; then : 3640 $as_echo_n "(cached) " >&6 3641else 3642 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3643 ac_cxx_werror_flag=yes 3644 ac_cv_prog_cxx_g=no 3645 CXXFLAGS="-g" 3646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3647/* end confdefs.h. */ 3648 3649int 3650main () 3651{ 3652 3653 ; 3654 return 0; 3655} 3656_ACEOF 3657if ac_fn_cxx_try_compile "$LINENO"; then : 3658 ac_cv_prog_cxx_g=yes 3659else 3660 CXXFLAGS="" 3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3662/* end confdefs.h. */ 3663 3664int 3665main () 3666{ 3667 3668 ; 3669 return 0; 3670} 3671_ACEOF 3672if ac_fn_cxx_try_compile "$LINENO"; then : 3673 3674else 3675 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3676 CXXFLAGS="-g" 3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3678/* end confdefs.h. */ 3679 3680int 3681main () 3682{ 3683 3684 ; 3685 return 0; 3686} 3687_ACEOF 3688if ac_fn_cxx_try_compile "$LINENO"; then : 3689 ac_cv_prog_cxx_g=yes 3690fi 3691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3692fi 3693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3694fi 3695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3696 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3697fi 3698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3699$as_echo "$ac_cv_prog_cxx_g" >&6; } 3700if test "$ac_test_CXXFLAGS" = set; then 3701 CXXFLAGS=$ac_save_CXXFLAGS 3702elif test $ac_cv_prog_cxx_g = yes; then 3703 if test "$GXX" = yes; then 3704 CXXFLAGS="-g -O2" 3705 else 3706 CXXFLAGS="-g" 3707 fi 3708else 3709 if test "$GXX" = yes; then 3710 CXXFLAGS="-O2" 3711 else 3712 CXXFLAGS= 3713 fi 3714fi 3715ac_ext=c 3716ac_cpp='$CPP $CPPFLAGS' 3717ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3718ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3719ac_compiler_gnu=$ac_cv_c_compiler_gnu 3720DEPDIR="${am__leading_dot}deps" 3721 3722ac_config_commands="$ac_config_commands depfiles" 3723 3724 3725am_make=${MAKE-make} 3726cat > confinc << 'END' 3727am__doit: 3728 @echo this is the am__doit target 3729.PHONY: am__doit 3730END 3731# If we don't find an include directive, just comment out the code. 3732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3733$as_echo_n "checking for style of include used by $am_make... " >&6; } 3734am__include="#" 3735am__quote= 3736_am_result=none 3737# First try GNU make style include. 3738echo "include confinc" > confmf 3739# Ignore all kinds of additional output from 'make'. 3740case `$am_make -s -f confmf 2> /dev/null` in #( 3741*the\ am__doit\ target*) 3742 am__include=include 3743 am__quote= 3744 _am_result=GNU 3745 ;; 3746esac 3747# Now try BSD make style include. 3748if test "$am__include" = "#"; then 3749 echo '.include "confinc"' > confmf 3750 case `$am_make -s -f confmf 2> /dev/null` in #( 3751 *the\ am__doit\ target*) 3752 am__include=.include 3753 am__quote="\"" 3754 _am_result=BSD 3755 ;; 3756 esac 3757fi 3758 3759 3760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3761$as_echo "$_am_result" >&6; } 3762rm -f confinc confmf 3763 3764# Check whether --enable-dependency-tracking was given. 3765if test "${enable_dependency_tracking+set}" = set; then : 3766 enableval=$enable_dependency_tracking; 3767fi 3768 3769if test "x$enable_dependency_tracking" != xno; then 3770 am_depcomp="$ac_aux_dir/depcomp" 3771 AMDEPBACKSLASH='\' 3772 am__nodep='_no' 3773fi 3774 if test "x$enable_dependency_tracking" != xno; then 3775 AMDEP_TRUE= 3776 AMDEP_FALSE='#' 3777else 3778 AMDEP_TRUE='#' 3779 AMDEP_FALSE= 3780fi 3781 3782 3783 3784depcc="$CXX" am_compiler_list= 3785 3786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3787$as_echo_n "checking dependency style of $depcc... " >&6; } 3788if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 3789 $as_echo_n "(cached) " >&6 3790else 3791 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3792 # We make a subdir and do the tests there. Otherwise we can end up 3793 # making bogus files that we don't know about and never remove. For 3794 # instance it was reported that on HP-UX the gcc test will end up 3795 # making a dummy file named 'D' -- because '-MD' means "put the output 3796 # in D". 3797 rm -rf conftest.dir 3798 mkdir conftest.dir 3799 # Copy depcomp to subdir because otherwise we won't find it if we're 3800 # using a relative directory. 3801 cp "$am_depcomp" conftest.dir 3802 cd conftest.dir 3803 # We will build objects and dependencies in a subdirectory because 3804 # it helps to detect inapplicable dependency modes. For instance 3805 # both Tru64's cc and ICC support -MD to output dependencies as a 3806 # side effect of compilation, but ICC will put the dependencies in 3807 # the current directory while Tru64 will put them in the object 3808 # directory. 3809 mkdir sub 3810 3811 am_cv_CXX_dependencies_compiler_type=none 3812 if test "$am_compiler_list" = ""; then 3813 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3814 fi 3815 am__universal=false 3816 case " $depcc " in #( 3817 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3818 esac 3819 3820 for depmode in $am_compiler_list; do 3821 # Setup a source with many dependencies, because some compilers 3822 # like to wrap large dependency lists on column 80 (with \), and 3823 # we should not choose a depcomp mode which is confused by this. 3824 # 3825 # We need to recreate these files for each test, as the compiler may 3826 # overwrite some of them when testing with obscure command lines. 3827 # This happens at least with the AIX C compiler. 3828 : > sub/conftest.c 3829 for i in 1 2 3 4 5 6; do 3830 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3831 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3832 # Solaris 10 /bin/sh. 3833 echo '/* dummy */' > sub/conftst$i.h 3834 done 3835 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3836 3837 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3838 # mode. It turns out that the SunPro C++ compiler does not properly 3839 # handle '-M -o', and we need to detect this. Also, some Intel 3840 # versions had trouble with output in subdirs. 3841 am__obj=sub/conftest.${OBJEXT-o} 3842 am__minus_obj="-o $am__obj" 3843 case $depmode in 3844 gcc) 3845 # This depmode causes a compiler race in universal mode. 3846 test "$am__universal" = false || continue 3847 ;; 3848 nosideeffect) 3849 # After this tag, mechanisms are not by side-effect, so they'll 3850 # only be used when explicitly requested. 3851 if test "x$enable_dependency_tracking" = xyes; then 3852 continue 3853 else 3854 break 3855 fi 3856 ;; 3857 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3858 # This compiler won't grok '-c -o', but also, the minuso test has 3859 # not run yet. These depmodes are late enough in the game, and 3860 # so weak that their functioning should not be impacted. 3861 am__obj=conftest.${OBJEXT-o} 3862 am__minus_obj= 3863 ;; 3864 none) break ;; 3865 esac 3866 if depmode=$depmode \ 3867 source=sub/conftest.c object=$am__obj \ 3868 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3869 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3870 >/dev/null 2>conftest.err && 3871 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3872 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3873 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3874 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3875 # icc doesn't choke on unknown options, it will just issue warnings 3876 # or remarks (even with -Werror). So we grep stderr for any message 3877 # that says an option was ignored or not supported. 3878 # When given -MP, icc 7.0 and 7.1 complain thusly: 3879 # icc: Command line warning: ignoring option '-M'; no argument required 3880 # The diagnosis changed in icc 8.0: 3881 # icc: Command line remark: option '-MP' not supported 3882 if (grep 'ignoring option' conftest.err || 3883 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3884 am_cv_CXX_dependencies_compiler_type=$depmode 3885 break 3886 fi 3887 fi 3888 done 3889 3890 cd .. 3891 rm -rf conftest.dir 3892else 3893 am_cv_CXX_dependencies_compiler_type=none 3894fi 3895 3896fi 3897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 3898$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 3899CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 3900 3901 if 3902 test "x$enable_dependency_tracking" != xno \ 3903 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 3904 am__fastdepCXX_TRUE= 3905 am__fastdepCXX_FALSE='#' 3906else 3907 am__fastdepCXX_TRUE='#' 3908 am__fastdepCXX_FALSE= 3909fi 3910 3911 3912 3913 ax_cxx_compile_cxx11_required=true 3914 ac_ext=cpp 3915ac_cpp='$CXXCPP $CPPFLAGS' 3916ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3917ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3918ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3919 ac_success=no 3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5 3921$as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; } 3922if ${ax_cv_cxx_compile_cxx11+:} false; then : 3923 $as_echo_n "(cached) " >&6 3924else 3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3926/* end confdefs.h. */ 3927 3928 template <typename T> 3929 struct check 3930 { 3931 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 3932 }; 3933 3934 struct Base { 3935 virtual void f() {} 3936 }; 3937 struct Child : public Base { 3938 virtual void f() override {} 3939 }; 3940 3941 typedef check<check<bool>> right_angle_brackets; 3942 3943 int a; 3944 decltype(a) b; 3945 3946 typedef check<int> check_type; 3947 check_type c; 3948 check_type&& cr = static_cast<check_type&&>(c); 3949 3950 auto d = a; 3951 auto l = [](){}; 3952 // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable] 3953 struct use_l { use_l() { l(); } }; 3954 3955 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae 3956 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this 3957 namespace test_template_alias_sfinae { 3958 struct foo {}; 3959 3960 template<typename T> 3961 using member = typename T::member_type; 3962 3963 template<typename T> 3964 void func(...) {} 3965 3966 template<typename T> 3967 void func(member<T>*) {} 3968 3969 void test(); 3970 3971 void test() { 3972 func<foo>(0); 3973 } 3974 } 3975 3976_ACEOF 3977if ac_fn_cxx_try_compile "$LINENO"; then : 3978 ax_cv_cxx_compile_cxx11=yes 3979else 3980 ax_cv_cxx_compile_cxx11=no 3981fi 3982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3983fi 3984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5 3985$as_echo "$ax_cv_cxx_compile_cxx11" >&6; } 3986 if test x$ax_cv_cxx_compile_cxx11 = xyes; then 3987 ac_success=yes 3988 fi 3989 3990 3991 3992 if test x$ac_success = xno; then 3993 for switch in -std=c++11 -std=c++0x +std=c++11; do 3994 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` 3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 3996$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; } 3997if eval \${$cachevar+:} false; then : 3998 $as_echo_n "(cached) " >&6 3999else 4000 ac_save_CXXFLAGS="$CXXFLAGS" 4001 CXXFLAGS="$CXXFLAGS $switch" 4002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4003/* end confdefs.h. */ 4004 4005 template <typename T> 4006 struct check 4007 { 4008 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 4009 }; 4010 4011 struct Base { 4012 virtual void f() {} 4013 }; 4014 struct Child : public Base { 4015 virtual void f() override {} 4016 }; 4017 4018 typedef check<check<bool>> right_angle_brackets; 4019 4020 int a; 4021 decltype(a) b; 4022 4023 typedef check<int> check_type; 4024 check_type c; 4025 check_type&& cr = static_cast<check_type&&>(c); 4026 4027 auto d = a; 4028 auto l = [](){}; 4029 // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable] 4030 struct use_l { use_l() { l(); } }; 4031 4032 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae 4033 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this 4034 namespace test_template_alias_sfinae { 4035 struct foo {}; 4036 4037 template<typename T> 4038 using member = typename T::member_type; 4039 4040 template<typename T> 4041 void func(...) {} 4042 4043 template<typename T> 4044 void func(member<T>*) {} 4045 4046 void test(); 4047 4048 void test() { 4049 func<foo>(0); 4050 } 4051 } 4052 4053_ACEOF 4054if ac_fn_cxx_try_compile "$LINENO"; then : 4055 eval $cachevar=yes 4056else 4057 eval $cachevar=no 4058fi 4059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4060 CXXFLAGS="$ac_save_CXXFLAGS" 4061fi 4062eval ac_res=\$$cachevar 4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 4064$as_echo "$ac_res" >&6; } 4065 if eval test x\$$cachevar = xyes; then 4066 CXXFLAGS="$CXXFLAGS $switch" 4067 ac_success=yes 4068 break 4069 fi 4070 done 4071 fi 4072 ac_ext=c 4073ac_cpp='$CPP $CPPFLAGS' 4074ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4075ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4076ac_compiler_gnu=$ac_cv_c_compiler_gnu 4077 4078 if test x$ax_cxx_compile_cxx11_required = xtrue; then 4079 if test x$ac_success = xno; then 4080 as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5 4081 fi 4082 else 4083 if test x$ac_success = xno; then 4084 HAVE_CXX11=0 4085 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5 4086$as_echo "$as_me: No compiler with C++11 support was found" >&6;} 4087 else 4088 HAVE_CXX11=1 4089 4090$as_echo "#define HAVE_CXX11 1" >>confdefs.h 4091 4092 fi 4093 4094 4095 fi 4096 4097 4098# Check whether --enable-static was given. 4099if test "${enable_static+set}" = set; then : 4100 enableval=$enable_static; p=${PACKAGE-default} 4101 case $enableval in 4102 yes) enable_static=yes ;; 4103 no) enable_static=no ;; 4104 *) 4105 enable_static=no 4106 # Look at the argument we got. We use all the common list separators. 4107 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 4108 for pkg in $enableval; do 4109 IFS=$lt_save_ifs 4110 if test "X$pkg" = "X$p"; then 4111 enable_static=yes 4112 fi 4113 done 4114 IFS=$lt_save_ifs 4115 ;; 4116 esac 4117else 4118 enable_static=no 4119fi 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129# Make sure we can run config.sub. 4130$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4131 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4132 4133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4134$as_echo_n "checking build system type... " >&6; } 4135if ${ac_cv_build+:} false; then : 4136 $as_echo_n "(cached) " >&6 4137else 4138 ac_build_alias=$build_alias 4139test "x$ac_build_alias" = x && 4140 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4141test "x$ac_build_alias" = x && 4142 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4143ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4144 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4145 4146fi 4147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4148$as_echo "$ac_cv_build" >&6; } 4149case $ac_cv_build in 4150*-*-*) ;; 4151*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4152esac 4153build=$ac_cv_build 4154ac_save_IFS=$IFS; IFS='-' 4155set x $ac_cv_build 4156shift 4157build_cpu=$1 4158build_vendor=$2 4159shift; shift 4160# Remember, the first character of IFS is used to create $*, 4161# except with old shells: 4162build_os=$* 4163IFS=$ac_save_IFS 4164case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4165 4166 4167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4168$as_echo_n "checking host system type... " >&6; } 4169if ${ac_cv_host+:} false; then : 4170 $as_echo_n "(cached) " >&6 4171else 4172 if test "x$host_alias" = x; then 4173 ac_cv_host=$ac_cv_build 4174else 4175 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4176 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4177fi 4178 4179fi 4180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4181$as_echo "$ac_cv_host" >&6; } 4182case $ac_cv_host in 4183*-*-*) ;; 4184*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4185esac 4186host=$ac_cv_host 4187ac_save_IFS=$IFS; IFS='-' 4188set x $ac_cv_host 4189shift 4190host_cpu=$1 4191host_vendor=$2 4192shift; shift 4193# Remember, the first character of IFS is used to create $*, 4194# except with old shells: 4195host_os=$* 4196IFS=$ac_save_IFS 4197case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4198 4199 4200enable_win32_dll=yes 4201 4202case $host in 4203*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 4204 if test -n "$ac_tool_prefix"; then 4205 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 4206set dummy ${ac_tool_prefix}as; ac_word=$2 4207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4208$as_echo_n "checking for $ac_word... " >&6; } 4209if ${ac_cv_prog_AS+:} false; then : 4210 $as_echo_n "(cached) " >&6 4211else 4212 if test -n "$AS"; then 4213 ac_cv_prog_AS="$AS" # Let the user override the test. 4214else 4215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4216for as_dir in $PATH 4217do 4218 IFS=$as_save_IFS 4219 test -z "$as_dir" && as_dir=. 4220 for ac_exec_ext in '' $ac_executable_extensions; do 4221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4222 ac_cv_prog_AS="${ac_tool_prefix}as" 4223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4224 break 2 4225 fi 4226done 4227 done 4228IFS=$as_save_IFS 4229 4230fi 4231fi 4232AS=$ac_cv_prog_AS 4233if test -n "$AS"; then 4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 4235$as_echo "$AS" >&6; } 4236else 4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4238$as_echo "no" >&6; } 4239fi 4240 4241 4242fi 4243if test -z "$ac_cv_prog_AS"; then 4244 ac_ct_AS=$AS 4245 # Extract the first word of "as", so it can be a program name with args. 4246set dummy as; ac_word=$2 4247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4248$as_echo_n "checking for $ac_word... " >&6; } 4249if ${ac_cv_prog_ac_ct_AS+:} false; then : 4250 $as_echo_n "(cached) " >&6 4251else 4252 if test -n "$ac_ct_AS"; then 4253 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 4254else 4255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4256for as_dir in $PATH 4257do 4258 IFS=$as_save_IFS 4259 test -z "$as_dir" && as_dir=. 4260 for ac_exec_ext in '' $ac_executable_extensions; do 4261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4262 ac_cv_prog_ac_ct_AS="as" 4263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4264 break 2 4265 fi 4266done 4267 done 4268IFS=$as_save_IFS 4269 4270fi 4271fi 4272ac_ct_AS=$ac_cv_prog_ac_ct_AS 4273if test -n "$ac_ct_AS"; then 4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 4275$as_echo "$ac_ct_AS" >&6; } 4276else 4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4278$as_echo "no" >&6; } 4279fi 4280 4281 if test "x$ac_ct_AS" = x; then 4282 AS="false" 4283 else 4284 case $cross_compiling:$ac_tool_warned in 4285yes:) 4286{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4287$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4288ac_tool_warned=yes ;; 4289esac 4290 AS=$ac_ct_AS 4291 fi 4292else 4293 AS="$ac_cv_prog_AS" 4294fi 4295 4296 if test -n "$ac_tool_prefix"; then 4297 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4298set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4300$as_echo_n "checking for $ac_word... " >&6; } 4301if ${ac_cv_prog_DLLTOOL+:} false; then : 4302 $as_echo_n "(cached) " >&6 4303else 4304 if test -n "$DLLTOOL"; then 4305 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4306else 4307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4308for as_dir in $PATH 4309do 4310 IFS=$as_save_IFS 4311 test -z "$as_dir" && as_dir=. 4312 for ac_exec_ext in '' $ac_executable_extensions; do 4313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4314 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4316 break 2 4317 fi 4318done 4319 done 4320IFS=$as_save_IFS 4321 4322fi 4323fi 4324DLLTOOL=$ac_cv_prog_DLLTOOL 4325if test -n "$DLLTOOL"; then 4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4327$as_echo "$DLLTOOL" >&6; } 4328else 4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4330$as_echo "no" >&6; } 4331fi 4332 4333 4334fi 4335if test -z "$ac_cv_prog_DLLTOOL"; then 4336 ac_ct_DLLTOOL=$DLLTOOL 4337 # Extract the first word of "dlltool", so it can be a program name with args. 4338set dummy dlltool; ac_word=$2 4339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4340$as_echo_n "checking for $ac_word... " >&6; } 4341if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4342 $as_echo_n "(cached) " >&6 4343else 4344 if test -n "$ac_ct_DLLTOOL"; then 4345 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4346else 4347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4348for as_dir in $PATH 4349do 4350 IFS=$as_save_IFS 4351 test -z "$as_dir" && as_dir=. 4352 for ac_exec_ext in '' $ac_executable_extensions; do 4353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4354 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4356 break 2 4357 fi 4358done 4359 done 4360IFS=$as_save_IFS 4361 4362fi 4363fi 4364ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4365if test -n "$ac_ct_DLLTOOL"; then 4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4367$as_echo "$ac_ct_DLLTOOL" >&6; } 4368else 4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4370$as_echo "no" >&6; } 4371fi 4372 4373 if test "x$ac_ct_DLLTOOL" = x; then 4374 DLLTOOL="false" 4375 else 4376 case $cross_compiling:$ac_tool_warned in 4377yes:) 4378{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4379$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4380ac_tool_warned=yes ;; 4381esac 4382 DLLTOOL=$ac_ct_DLLTOOL 4383 fi 4384else 4385 DLLTOOL="$ac_cv_prog_DLLTOOL" 4386fi 4387 4388 if test -n "$ac_tool_prefix"; then 4389 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4390set dummy ${ac_tool_prefix}objdump; ac_word=$2 4391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4392$as_echo_n "checking for $ac_word... " >&6; } 4393if ${ac_cv_prog_OBJDUMP+:} false; then : 4394 $as_echo_n "(cached) " >&6 4395else 4396 if test -n "$OBJDUMP"; then 4397 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4398else 4399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4400for as_dir in $PATH 4401do 4402 IFS=$as_save_IFS 4403 test -z "$as_dir" && as_dir=. 4404 for ac_exec_ext in '' $ac_executable_extensions; do 4405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4406 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4408 break 2 4409 fi 4410done 4411 done 4412IFS=$as_save_IFS 4413 4414fi 4415fi 4416OBJDUMP=$ac_cv_prog_OBJDUMP 4417if test -n "$OBJDUMP"; then 4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4419$as_echo "$OBJDUMP" >&6; } 4420else 4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4422$as_echo "no" >&6; } 4423fi 4424 4425 4426fi 4427if test -z "$ac_cv_prog_OBJDUMP"; then 4428 ac_ct_OBJDUMP=$OBJDUMP 4429 # Extract the first word of "objdump", so it can be a program name with args. 4430set dummy objdump; ac_word=$2 4431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4432$as_echo_n "checking for $ac_word... " >&6; } 4433if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4434 $as_echo_n "(cached) " >&6 4435else 4436 if test -n "$ac_ct_OBJDUMP"; then 4437 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4438else 4439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4440for as_dir in $PATH 4441do 4442 IFS=$as_save_IFS 4443 test -z "$as_dir" && as_dir=. 4444 for ac_exec_ext in '' $ac_executable_extensions; do 4445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4446 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4448 break 2 4449 fi 4450done 4451 done 4452IFS=$as_save_IFS 4453 4454fi 4455fi 4456ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4457if test -n "$ac_ct_OBJDUMP"; then 4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4459$as_echo "$ac_ct_OBJDUMP" >&6; } 4460else 4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4462$as_echo "no" >&6; } 4463fi 4464 4465 if test "x$ac_ct_OBJDUMP" = x; then 4466 OBJDUMP="false" 4467 else 4468 case $cross_compiling:$ac_tool_warned in 4469yes:) 4470{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4471$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4472ac_tool_warned=yes ;; 4473esac 4474 OBJDUMP=$ac_ct_OBJDUMP 4475 fi 4476else 4477 OBJDUMP="$ac_cv_prog_OBJDUMP" 4478fi 4479 4480 ;; 4481esac 4482 4483test -z "$AS" && AS=as 4484 4485 4486 4487 4488 4489test -z "$DLLTOOL" && DLLTOOL=dlltool 4490 4491 4492 4493 4494 4495test -z "$OBJDUMP" && OBJDUMP=objdump 4496 4497 4498 4499 4500 4501 4502 4503case `pwd` in 4504 *\ * | *\ *) 4505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4506$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4507esac 4508 4509 4510 4511macro_version='2.4.6' 4512macro_revision='2.4.6' 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526ltmain=$ac_aux_dir/ltmain.sh 4527 4528# Backslashify metacharacters that are still active within 4529# double-quoted strings. 4530sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4531 4532# Same as above, but do not quote variable references. 4533double_quote_subst='s/\(["`\\]\)/\\\1/g' 4534 4535# Sed substitution to delay expansion of an escaped shell variable in a 4536# double_quote_subst'ed string. 4537delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4538 4539# Sed substitution to delay expansion of an escaped single quote. 4540delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4541 4542# Sed substitution to avoid accidental globbing in evaled expressions 4543no_glob_subst='s/\*/\\\*/g' 4544 4545ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4546ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4547ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4548 4549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4550$as_echo_n "checking how to print strings... " >&6; } 4551# Test print first, because it will be a builtin if present. 4552if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4553 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4554 ECHO='print -r --' 4555elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4556 ECHO='printf %s\n' 4557else 4558 # Use this function as a fallback that always works. 4559 func_fallback_echo () 4560 { 4561 eval 'cat <<_LTECHO_EOF 4562$1 4563_LTECHO_EOF' 4564 } 4565 ECHO='func_fallback_echo' 4566fi 4567 4568# func_echo_all arg... 4569# Invoke $ECHO with all args, space-separated. 4570func_echo_all () 4571{ 4572 $ECHO "" 4573} 4574 4575case $ECHO in 4576 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4577$as_echo "printf" >&6; } ;; 4578 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4579$as_echo "print -r" >&6; } ;; 4580 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4581$as_echo "cat" >&6; } ;; 4582esac 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597ac_ext=c 4598ac_cpp='$CPP $CPPFLAGS' 4599ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4600ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4601ac_compiler_gnu=$ac_cv_c_compiler_gnu 4602if test -n "$ac_tool_prefix"; then 4603 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4604set dummy ${ac_tool_prefix}gcc; ac_word=$2 4605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4606$as_echo_n "checking for $ac_word... " >&6; } 4607if ${ac_cv_prog_CC+:} false; then : 4608 $as_echo_n "(cached) " >&6 4609else 4610 if test -n "$CC"; then 4611 ac_cv_prog_CC="$CC" # Let the user override the test. 4612else 4613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4614for as_dir in $PATH 4615do 4616 IFS=$as_save_IFS 4617 test -z "$as_dir" && as_dir=. 4618 for ac_exec_ext in '' $ac_executable_extensions; do 4619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4620 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4622 break 2 4623 fi 4624done 4625 done 4626IFS=$as_save_IFS 4627 4628fi 4629fi 4630CC=$ac_cv_prog_CC 4631if test -n "$CC"; then 4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4633$as_echo "$CC" >&6; } 4634else 4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4636$as_echo "no" >&6; } 4637fi 4638 4639 4640fi 4641if test -z "$ac_cv_prog_CC"; then 4642 ac_ct_CC=$CC 4643 # Extract the first word of "gcc", so it can be a program name with args. 4644set dummy gcc; ac_word=$2 4645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4646$as_echo_n "checking for $ac_word... " >&6; } 4647if ${ac_cv_prog_ac_ct_CC+:} false; then : 4648 $as_echo_n "(cached) " >&6 4649else 4650 if test -n "$ac_ct_CC"; then 4651 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4652else 4653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4654for as_dir in $PATH 4655do 4656 IFS=$as_save_IFS 4657 test -z "$as_dir" && as_dir=. 4658 for ac_exec_ext in '' $ac_executable_extensions; do 4659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4660 ac_cv_prog_ac_ct_CC="gcc" 4661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4662 break 2 4663 fi 4664done 4665 done 4666IFS=$as_save_IFS 4667 4668fi 4669fi 4670ac_ct_CC=$ac_cv_prog_ac_ct_CC 4671if test -n "$ac_ct_CC"; then 4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4673$as_echo "$ac_ct_CC" >&6; } 4674else 4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4676$as_echo "no" >&6; } 4677fi 4678 4679 if test "x$ac_ct_CC" = x; then 4680 CC="" 4681 else 4682 case $cross_compiling:$ac_tool_warned in 4683yes:) 4684{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4685$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4686ac_tool_warned=yes ;; 4687esac 4688 CC=$ac_ct_CC 4689 fi 4690else 4691 CC="$ac_cv_prog_CC" 4692fi 4693 4694if test -z "$CC"; then 4695 if test -n "$ac_tool_prefix"; then 4696 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4697set dummy ${ac_tool_prefix}cc; ac_word=$2 4698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4699$as_echo_n "checking for $ac_word... " >&6; } 4700if ${ac_cv_prog_CC+:} false; then : 4701 $as_echo_n "(cached) " >&6 4702else 4703 if test -n "$CC"; then 4704 ac_cv_prog_CC="$CC" # Let the user override the test. 4705else 4706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4707for as_dir in $PATH 4708do 4709 IFS=$as_save_IFS 4710 test -z "$as_dir" && as_dir=. 4711 for ac_exec_ext in '' $ac_executable_extensions; do 4712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4713 ac_cv_prog_CC="${ac_tool_prefix}cc" 4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4715 break 2 4716 fi 4717done 4718 done 4719IFS=$as_save_IFS 4720 4721fi 4722fi 4723CC=$ac_cv_prog_CC 4724if test -n "$CC"; then 4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4726$as_echo "$CC" >&6; } 4727else 4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4729$as_echo "no" >&6; } 4730fi 4731 4732 4733 fi 4734fi 4735if test -z "$CC"; then 4736 # Extract the first word of "cc", so it can be a program name with args. 4737set dummy cc; ac_word=$2 4738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4739$as_echo_n "checking for $ac_word... " >&6; } 4740if ${ac_cv_prog_CC+:} false; then : 4741 $as_echo_n "(cached) " >&6 4742else 4743 if test -n "$CC"; then 4744 ac_cv_prog_CC="$CC" # Let the user override the test. 4745else 4746 ac_prog_rejected=no 4747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4748for as_dir in $PATH 4749do 4750 IFS=$as_save_IFS 4751 test -z "$as_dir" && as_dir=. 4752 for ac_exec_ext in '' $ac_executable_extensions; do 4753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4754 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4755 ac_prog_rejected=yes 4756 continue 4757 fi 4758 ac_cv_prog_CC="cc" 4759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4760 break 2 4761 fi 4762done 4763 done 4764IFS=$as_save_IFS 4765 4766if test $ac_prog_rejected = yes; then 4767 # We found a bogon in the path, so make sure we never use it. 4768 set dummy $ac_cv_prog_CC 4769 shift 4770 if test $# != 0; then 4771 # We chose a different compiler from the bogus one. 4772 # However, it has the same basename, so the bogon will be chosen 4773 # first if we set CC to just the basename; use the full file name. 4774 shift 4775 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4776 fi 4777fi 4778fi 4779fi 4780CC=$ac_cv_prog_CC 4781if test -n "$CC"; then 4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4783$as_echo "$CC" >&6; } 4784else 4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4786$as_echo "no" >&6; } 4787fi 4788 4789 4790fi 4791if test -z "$CC"; then 4792 if test -n "$ac_tool_prefix"; then 4793 for ac_prog in cl.exe 4794 do 4795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4796set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4798$as_echo_n "checking for $ac_word... " >&6; } 4799if ${ac_cv_prog_CC+:} false; then : 4800 $as_echo_n "(cached) " >&6 4801else 4802 if test -n "$CC"; then 4803 ac_cv_prog_CC="$CC" # Let the user override the test. 4804else 4805as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4806for as_dir in $PATH 4807do 4808 IFS=$as_save_IFS 4809 test -z "$as_dir" && as_dir=. 4810 for ac_exec_ext in '' $ac_executable_extensions; do 4811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4812 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4814 break 2 4815 fi 4816done 4817 done 4818IFS=$as_save_IFS 4819 4820fi 4821fi 4822CC=$ac_cv_prog_CC 4823if test -n "$CC"; then 4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4825$as_echo "$CC" >&6; } 4826else 4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4828$as_echo "no" >&6; } 4829fi 4830 4831 4832 test -n "$CC" && break 4833 done 4834fi 4835if test -z "$CC"; then 4836 ac_ct_CC=$CC 4837 for ac_prog in cl.exe 4838do 4839 # Extract the first word of "$ac_prog", so it can be a program name with args. 4840set dummy $ac_prog; ac_word=$2 4841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4842$as_echo_n "checking for $ac_word... " >&6; } 4843if ${ac_cv_prog_ac_ct_CC+:} false; then : 4844 $as_echo_n "(cached) " >&6 4845else 4846 if test -n "$ac_ct_CC"; then 4847 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4848else 4849as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4850for as_dir in $PATH 4851do 4852 IFS=$as_save_IFS 4853 test -z "$as_dir" && as_dir=. 4854 for ac_exec_ext in '' $ac_executable_extensions; do 4855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4856 ac_cv_prog_ac_ct_CC="$ac_prog" 4857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4858 break 2 4859 fi 4860done 4861 done 4862IFS=$as_save_IFS 4863 4864fi 4865fi 4866ac_ct_CC=$ac_cv_prog_ac_ct_CC 4867if test -n "$ac_ct_CC"; then 4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4869$as_echo "$ac_ct_CC" >&6; } 4870else 4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4872$as_echo "no" >&6; } 4873fi 4874 4875 4876 test -n "$ac_ct_CC" && break 4877done 4878 4879 if test "x$ac_ct_CC" = x; then 4880 CC="" 4881 else 4882 case $cross_compiling:$ac_tool_warned in 4883yes:) 4884{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4885$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4886ac_tool_warned=yes ;; 4887esac 4888 CC=$ac_ct_CC 4889 fi 4890fi 4891 4892fi 4893 4894 4895test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4896$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4897as_fn_error $? "no acceptable C compiler found in \$PATH 4898See \`config.log' for more details" "$LINENO" 5; } 4899 4900# Provide some information about the compiler. 4901$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4902set X $ac_compile 4903ac_compiler=$2 4904for ac_option in --version -v -V -qversion; do 4905 { { ac_try="$ac_compiler $ac_option >&5" 4906case "(($ac_try" in 4907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4908 *) ac_try_echo=$ac_try;; 4909esac 4910eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4911$as_echo "$ac_try_echo"; } >&5 4912 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4913 ac_status=$? 4914 if test -s conftest.err; then 4915 sed '10a\ 4916... rest of stderr output deleted ... 4917 10q' conftest.err >conftest.er1 4918 cat conftest.er1 >&5 4919 fi 4920 rm -f conftest.er1 conftest.err 4921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4922 test $ac_status = 0; } 4923done 4924 4925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4926$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4927if ${ac_cv_c_compiler_gnu+:} false; then : 4928 $as_echo_n "(cached) " >&6 4929else 4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4931/* end confdefs.h. */ 4932 4933int 4934main () 4935{ 4936#ifndef __GNUC__ 4937 choke me 4938#endif 4939 4940 ; 4941 return 0; 4942} 4943_ACEOF 4944if ac_fn_c_try_compile "$LINENO"; then : 4945 ac_compiler_gnu=yes 4946else 4947 ac_compiler_gnu=no 4948fi 4949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4950ac_cv_c_compiler_gnu=$ac_compiler_gnu 4951 4952fi 4953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4954$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4955if test $ac_compiler_gnu = yes; then 4956 GCC=yes 4957else 4958 GCC= 4959fi 4960ac_test_CFLAGS=${CFLAGS+set} 4961ac_save_CFLAGS=$CFLAGS 4962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4963$as_echo_n "checking whether $CC accepts -g... " >&6; } 4964if ${ac_cv_prog_cc_g+:} false; then : 4965 $as_echo_n "(cached) " >&6 4966else 4967 ac_save_c_werror_flag=$ac_c_werror_flag 4968 ac_c_werror_flag=yes 4969 ac_cv_prog_cc_g=no 4970 CFLAGS="-g" 4971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4972/* end confdefs.h. */ 4973 4974int 4975main () 4976{ 4977 4978 ; 4979 return 0; 4980} 4981_ACEOF 4982if ac_fn_c_try_compile "$LINENO"; then : 4983 ac_cv_prog_cc_g=yes 4984else 4985 CFLAGS="" 4986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4987/* end confdefs.h. */ 4988 4989int 4990main () 4991{ 4992 4993 ; 4994 return 0; 4995} 4996_ACEOF 4997if ac_fn_c_try_compile "$LINENO"; then : 4998 4999else 5000 ac_c_werror_flag=$ac_save_c_werror_flag 5001 CFLAGS="-g" 5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5003/* end confdefs.h. */ 5004 5005int 5006main () 5007{ 5008 5009 ; 5010 return 0; 5011} 5012_ACEOF 5013if ac_fn_c_try_compile "$LINENO"; then : 5014 ac_cv_prog_cc_g=yes 5015fi 5016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5017fi 5018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5019fi 5020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5021 ac_c_werror_flag=$ac_save_c_werror_flag 5022fi 5023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5024$as_echo "$ac_cv_prog_cc_g" >&6; } 5025if test "$ac_test_CFLAGS" = set; then 5026 CFLAGS=$ac_save_CFLAGS 5027elif test $ac_cv_prog_cc_g = yes; then 5028 if test "$GCC" = yes; then 5029 CFLAGS="-g -O2" 5030 else 5031 CFLAGS="-g" 5032 fi 5033else 5034 if test "$GCC" = yes; then 5035 CFLAGS="-O2" 5036 else 5037 CFLAGS= 5038 fi 5039fi 5040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5041$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5042if ${ac_cv_prog_cc_c89+:} false; then : 5043 $as_echo_n "(cached) " >&6 5044else 5045 ac_cv_prog_cc_c89=no 5046ac_save_CC=$CC 5047cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5048/* end confdefs.h. */ 5049#include <stdarg.h> 5050#include <stdio.h> 5051struct stat; 5052/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5053struct buf { int x; }; 5054FILE * (*rcsopen) (struct buf *, struct stat *, int); 5055static char *e (p, i) 5056 char **p; 5057 int i; 5058{ 5059 return p[i]; 5060} 5061static char *f (char * (*g) (char **, int), char **p, ...) 5062{ 5063 char *s; 5064 va_list v; 5065 va_start (v,p); 5066 s = g (p, va_arg (v,int)); 5067 va_end (v); 5068 return s; 5069} 5070 5071/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5072 function prototypes and stuff, but not '\xHH' hex character constants. 5073 These don't provoke an error unfortunately, instead are silently treated 5074 as 'x'. The following induces an error, until -std is added to get 5075 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5076 array size at least. It's necessary to write '\x00'==0 to get something 5077 that's true only with -std. */ 5078int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5079 5080/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5081 inside strings and character constants. */ 5082#define FOO(x) 'x' 5083int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5084 5085int test (int i, double x); 5086struct s1 {int (*f) (int a);}; 5087struct s2 {int (*f) (double a);}; 5088int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5089int argc; 5090char **argv; 5091int 5092main () 5093{ 5094return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5095 ; 5096 return 0; 5097} 5098_ACEOF 5099for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5100 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5101do 5102 CC="$ac_save_CC $ac_arg" 5103 if ac_fn_c_try_compile "$LINENO"; then : 5104 ac_cv_prog_cc_c89=$ac_arg 5105fi 5106rm -f core conftest.err conftest.$ac_objext 5107 test "x$ac_cv_prog_cc_c89" != "xno" && break 5108done 5109rm -f conftest.$ac_ext 5110CC=$ac_save_CC 5111 5112fi 5113# AC_CACHE_VAL 5114case "x$ac_cv_prog_cc_c89" in 5115 x) 5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5117$as_echo "none needed" >&6; } ;; 5118 xno) 5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5120$as_echo "unsupported" >&6; } ;; 5121 *) 5122 CC="$CC $ac_cv_prog_cc_c89" 5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5124$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5125esac 5126if test "x$ac_cv_prog_cc_c89" != xno; then : 5127 5128fi 5129 5130ac_ext=c 5131ac_cpp='$CPP $CPPFLAGS' 5132ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5133ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5134ac_compiler_gnu=$ac_cv_c_compiler_gnu 5135 5136ac_ext=c 5137ac_cpp='$CPP $CPPFLAGS' 5138ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5139ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5140ac_compiler_gnu=$ac_cv_c_compiler_gnu 5141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 5142$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 5143if ${am_cv_prog_cc_c_o+:} false; then : 5144 $as_echo_n "(cached) " >&6 5145else 5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5147/* end confdefs.h. */ 5148 5149int 5150main () 5151{ 5152 5153 ; 5154 return 0; 5155} 5156_ACEOF 5157 # Make sure it works both with $CC and with simple cc. 5158 # Following AC_PROG_CC_C_O, we do the test twice because some 5159 # compilers refuse to overwrite an existing .o file with -o, 5160 # though they will create one. 5161 am_cv_prog_cc_c_o=yes 5162 for am_i in 1 2; do 5163 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5164 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5165 ac_status=$? 5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5167 (exit $ac_status); } \ 5168 && test -f conftest2.$ac_objext; then 5169 : OK 5170 else 5171 am_cv_prog_cc_c_o=no 5172 break 5173 fi 5174 done 5175 rm -f core conftest* 5176 unset am_i 5177fi 5178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5179$as_echo "$am_cv_prog_cc_c_o" >&6; } 5180if test "$am_cv_prog_cc_c_o" != yes; then 5181 # Losing compiler, so override with the script. 5182 # FIXME: It is wrong to rewrite CC. 5183 # But if we don't then we get into trouble of one sort or another. 5184 # A longer-term fix would be to have automake use am__CC in this case, 5185 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5186 CC="$am_aux_dir/compile $CC" 5187fi 5188ac_ext=c 5189ac_cpp='$CPP $CPPFLAGS' 5190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5192ac_compiler_gnu=$ac_cv_c_compiler_gnu 5193 5194 5195depcc="$CC" am_compiler_list= 5196 5197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5198$as_echo_n "checking dependency style of $depcc... " >&6; } 5199if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5200 $as_echo_n "(cached) " >&6 5201else 5202 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5203 # We make a subdir and do the tests there. Otherwise we can end up 5204 # making bogus files that we don't know about and never remove. For 5205 # instance it was reported that on HP-UX the gcc test will end up 5206 # making a dummy file named 'D' -- because '-MD' means "put the output 5207 # in D". 5208 rm -rf conftest.dir 5209 mkdir conftest.dir 5210 # Copy depcomp to subdir because otherwise we won't find it if we're 5211 # using a relative directory. 5212 cp "$am_depcomp" conftest.dir 5213 cd conftest.dir 5214 # We will build objects and dependencies in a subdirectory because 5215 # it helps to detect inapplicable dependency modes. For instance 5216 # both Tru64's cc and ICC support -MD to output dependencies as a 5217 # side effect of compilation, but ICC will put the dependencies in 5218 # the current directory while Tru64 will put them in the object 5219 # directory. 5220 mkdir sub 5221 5222 am_cv_CC_dependencies_compiler_type=none 5223 if test "$am_compiler_list" = ""; then 5224 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5225 fi 5226 am__universal=false 5227 case " $depcc " in #( 5228 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5229 esac 5230 5231 for depmode in $am_compiler_list; do 5232 # Setup a source with many dependencies, because some compilers 5233 # like to wrap large dependency lists on column 80 (with \), and 5234 # we should not choose a depcomp mode which is confused by this. 5235 # 5236 # We need to recreate these files for each test, as the compiler may 5237 # overwrite some of them when testing with obscure command lines. 5238 # This happens at least with the AIX C compiler. 5239 : > sub/conftest.c 5240 for i in 1 2 3 4 5 6; do 5241 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5242 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5243 # Solaris 10 /bin/sh. 5244 echo '/* dummy */' > sub/conftst$i.h 5245 done 5246 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5247 5248 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5249 # mode. It turns out that the SunPro C++ compiler does not properly 5250 # handle '-M -o', and we need to detect this. Also, some Intel 5251 # versions had trouble with output in subdirs. 5252 am__obj=sub/conftest.${OBJEXT-o} 5253 am__minus_obj="-o $am__obj" 5254 case $depmode in 5255 gcc) 5256 # This depmode causes a compiler race in universal mode. 5257 test "$am__universal" = false || continue 5258 ;; 5259 nosideeffect) 5260 # After this tag, mechanisms are not by side-effect, so they'll 5261 # only be used when explicitly requested. 5262 if test "x$enable_dependency_tracking" = xyes; then 5263 continue 5264 else 5265 break 5266 fi 5267 ;; 5268 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5269 # This compiler won't grok '-c -o', but also, the minuso test has 5270 # not run yet. These depmodes are late enough in the game, and 5271 # so weak that their functioning should not be impacted. 5272 am__obj=conftest.${OBJEXT-o} 5273 am__minus_obj= 5274 ;; 5275 none) break ;; 5276 esac 5277 if depmode=$depmode \ 5278 source=sub/conftest.c object=$am__obj \ 5279 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5280 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5281 >/dev/null 2>conftest.err && 5282 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5283 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5284 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5285 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5286 # icc doesn't choke on unknown options, it will just issue warnings 5287 # or remarks (even with -Werror). So we grep stderr for any message 5288 # that says an option was ignored or not supported. 5289 # When given -MP, icc 7.0 and 7.1 complain thusly: 5290 # icc: Command line warning: ignoring option '-M'; no argument required 5291 # The diagnosis changed in icc 8.0: 5292 # icc: Command line remark: option '-MP' not supported 5293 if (grep 'ignoring option' conftest.err || 5294 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5295 am_cv_CC_dependencies_compiler_type=$depmode 5296 break 5297 fi 5298 fi 5299 done 5300 5301 cd .. 5302 rm -rf conftest.dir 5303else 5304 am_cv_CC_dependencies_compiler_type=none 5305fi 5306 5307fi 5308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5309$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5310CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5311 5312 if 5313 test "x$enable_dependency_tracking" != xno \ 5314 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5315 am__fastdepCC_TRUE= 5316 am__fastdepCC_FALSE='#' 5317else 5318 am__fastdepCC_TRUE='#' 5319 am__fastdepCC_FALSE= 5320fi 5321 5322 5323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5324$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5325if ${ac_cv_path_SED+:} false; then : 5326 $as_echo_n "(cached) " >&6 5327else 5328 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5329 for ac_i in 1 2 3 4 5 6 7; do 5330 ac_script="$ac_script$as_nl$ac_script" 5331 done 5332 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5333 { ac_script=; unset ac_script;} 5334 if test -z "$SED"; then 5335 ac_path_SED_found=false 5336 # Loop through the user's path and test for each of PROGNAME-LIST 5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5338for as_dir in $PATH 5339do 5340 IFS=$as_save_IFS 5341 test -z "$as_dir" && as_dir=. 5342 for ac_prog in sed gsed; do 5343 for ac_exec_ext in '' $ac_executable_extensions; do 5344 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5345 as_fn_executable_p "$ac_path_SED" || continue 5346# Check for GNU ac_path_SED and select it if it is found. 5347 # Check for GNU $ac_path_SED 5348case `"$ac_path_SED" --version 2>&1` in 5349*GNU*) 5350 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5351*) 5352 ac_count=0 5353 $as_echo_n 0123456789 >"conftest.in" 5354 while : 5355 do 5356 cat "conftest.in" "conftest.in" >"conftest.tmp" 5357 mv "conftest.tmp" "conftest.in" 5358 cp "conftest.in" "conftest.nl" 5359 $as_echo '' >> "conftest.nl" 5360 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5361 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5362 as_fn_arith $ac_count + 1 && ac_count=$as_val 5363 if test $ac_count -gt ${ac_path_SED_max-0}; then 5364 # Best one so far, save it but keep looking for a better one 5365 ac_cv_path_SED="$ac_path_SED" 5366 ac_path_SED_max=$ac_count 5367 fi 5368 # 10*(2^10) chars as input seems more than enough 5369 test $ac_count -gt 10 && break 5370 done 5371 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5372esac 5373 5374 $ac_path_SED_found && break 3 5375 done 5376 done 5377 done 5378IFS=$as_save_IFS 5379 if test -z "$ac_cv_path_SED"; then 5380 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5381 fi 5382else 5383 ac_cv_path_SED=$SED 5384fi 5385 5386fi 5387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5388$as_echo "$ac_cv_path_SED" >&6; } 5389 SED="$ac_cv_path_SED" 5390 rm -f conftest.sed 5391 5392test -z "$SED" && SED=sed 5393Xsed="$SED -e 1s/^X//" 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5406$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5407if ${ac_cv_path_GREP+:} false; then : 5408 $as_echo_n "(cached) " >&6 5409else 5410 if test -z "$GREP"; then 5411 ac_path_GREP_found=false 5412 # Loop through the user's path and test for each of PROGNAME-LIST 5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5414for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5415do 5416 IFS=$as_save_IFS 5417 test -z "$as_dir" && as_dir=. 5418 for ac_prog in grep ggrep; do 5419 for ac_exec_ext in '' $ac_executable_extensions; do 5420 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5421 as_fn_executable_p "$ac_path_GREP" || continue 5422# Check for GNU ac_path_GREP and select it if it is found. 5423 # Check for GNU $ac_path_GREP 5424case `"$ac_path_GREP" --version 2>&1` in 5425*GNU*) 5426 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5427*) 5428 ac_count=0 5429 $as_echo_n 0123456789 >"conftest.in" 5430 while : 5431 do 5432 cat "conftest.in" "conftest.in" >"conftest.tmp" 5433 mv "conftest.tmp" "conftest.in" 5434 cp "conftest.in" "conftest.nl" 5435 $as_echo 'GREP' >> "conftest.nl" 5436 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5438 as_fn_arith $ac_count + 1 && ac_count=$as_val 5439 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5440 # Best one so far, save it but keep looking for a better one 5441 ac_cv_path_GREP="$ac_path_GREP" 5442 ac_path_GREP_max=$ac_count 5443 fi 5444 # 10*(2^10) chars as input seems more than enough 5445 test $ac_count -gt 10 && break 5446 done 5447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5448esac 5449 5450 $ac_path_GREP_found && break 3 5451 done 5452 done 5453 done 5454IFS=$as_save_IFS 5455 if test -z "$ac_cv_path_GREP"; then 5456 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5457 fi 5458else 5459 ac_cv_path_GREP=$GREP 5460fi 5461 5462fi 5463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5464$as_echo "$ac_cv_path_GREP" >&6; } 5465 GREP="$ac_cv_path_GREP" 5466 5467 5468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5469$as_echo_n "checking for egrep... " >&6; } 5470if ${ac_cv_path_EGREP+:} false; then : 5471 $as_echo_n "(cached) " >&6 5472else 5473 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5474 then ac_cv_path_EGREP="$GREP -E" 5475 else 5476 if test -z "$EGREP"; then 5477 ac_path_EGREP_found=false 5478 # Loop through the user's path and test for each of PROGNAME-LIST 5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5480for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5481do 5482 IFS=$as_save_IFS 5483 test -z "$as_dir" && as_dir=. 5484 for ac_prog in egrep; do 5485 for ac_exec_ext in '' $ac_executable_extensions; do 5486 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5487 as_fn_executable_p "$ac_path_EGREP" || continue 5488# Check for GNU ac_path_EGREP and select it if it is found. 5489 # Check for GNU $ac_path_EGREP 5490case `"$ac_path_EGREP" --version 2>&1` in 5491*GNU*) 5492 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5493*) 5494 ac_count=0 5495 $as_echo_n 0123456789 >"conftest.in" 5496 while : 5497 do 5498 cat "conftest.in" "conftest.in" >"conftest.tmp" 5499 mv "conftest.tmp" "conftest.in" 5500 cp "conftest.in" "conftest.nl" 5501 $as_echo 'EGREP' >> "conftest.nl" 5502 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5503 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5504 as_fn_arith $ac_count + 1 && ac_count=$as_val 5505 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5506 # Best one so far, save it but keep looking for a better one 5507 ac_cv_path_EGREP="$ac_path_EGREP" 5508 ac_path_EGREP_max=$ac_count 5509 fi 5510 # 10*(2^10) chars as input seems more than enough 5511 test $ac_count -gt 10 && break 5512 done 5513 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5514esac 5515 5516 $ac_path_EGREP_found && break 3 5517 done 5518 done 5519 done 5520IFS=$as_save_IFS 5521 if test -z "$ac_cv_path_EGREP"; then 5522 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5523 fi 5524else 5525 ac_cv_path_EGREP=$EGREP 5526fi 5527 5528 fi 5529fi 5530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5531$as_echo "$ac_cv_path_EGREP" >&6; } 5532 EGREP="$ac_cv_path_EGREP" 5533 5534 5535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5536$as_echo_n "checking for fgrep... " >&6; } 5537if ${ac_cv_path_FGREP+:} false; then : 5538 $as_echo_n "(cached) " >&6 5539else 5540 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5541 then ac_cv_path_FGREP="$GREP -F" 5542 else 5543 if test -z "$FGREP"; then 5544 ac_path_FGREP_found=false 5545 # Loop through the user's path and test for each of PROGNAME-LIST 5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5547for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5548do 5549 IFS=$as_save_IFS 5550 test -z "$as_dir" && as_dir=. 5551 for ac_prog in fgrep; do 5552 for ac_exec_ext in '' $ac_executable_extensions; do 5553 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5554 as_fn_executable_p "$ac_path_FGREP" || continue 5555# Check for GNU ac_path_FGREP and select it if it is found. 5556 # Check for GNU $ac_path_FGREP 5557case `"$ac_path_FGREP" --version 2>&1` in 5558*GNU*) 5559 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5560*) 5561 ac_count=0 5562 $as_echo_n 0123456789 >"conftest.in" 5563 while : 5564 do 5565 cat "conftest.in" "conftest.in" >"conftest.tmp" 5566 mv "conftest.tmp" "conftest.in" 5567 cp "conftest.in" "conftest.nl" 5568 $as_echo 'FGREP' >> "conftest.nl" 5569 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5570 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5571 as_fn_arith $ac_count + 1 && ac_count=$as_val 5572 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5573 # Best one so far, save it but keep looking for a better one 5574 ac_cv_path_FGREP="$ac_path_FGREP" 5575 ac_path_FGREP_max=$ac_count 5576 fi 5577 # 10*(2^10) chars as input seems more than enough 5578 test $ac_count -gt 10 && break 5579 done 5580 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5581esac 5582 5583 $ac_path_FGREP_found && break 3 5584 done 5585 done 5586 done 5587IFS=$as_save_IFS 5588 if test -z "$ac_cv_path_FGREP"; then 5589 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5590 fi 5591else 5592 ac_cv_path_FGREP=$FGREP 5593fi 5594 5595 fi 5596fi 5597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5598$as_echo "$ac_cv_path_FGREP" >&6; } 5599 FGREP="$ac_cv_path_FGREP" 5600 5601 5602test -z "$GREP" && GREP=grep 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622# Check whether --with-gnu-ld was given. 5623if test "${with_gnu_ld+set}" = set; then : 5624 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5625else 5626 with_gnu_ld=no 5627fi 5628 5629ac_prog=ld 5630if test yes = "$GCC"; then 5631 # Check if gcc -print-prog-name=ld gives a path. 5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5633$as_echo_n "checking for ld used by $CC... " >&6; } 5634 case $host in 5635 *-*-mingw*) 5636 # gcc leaves a trailing carriage return, which upsets mingw 5637 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5638 *) 5639 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5640 esac 5641 case $ac_prog in 5642 # Accept absolute paths. 5643 [\\/]* | ?:[\\/]*) 5644 re_direlt='/[^/][^/]*/\.\./' 5645 # Canonicalize the pathname of ld 5646 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5647 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5648 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5649 done 5650 test -z "$LD" && LD=$ac_prog 5651 ;; 5652 "") 5653 # If it fails, then pretend we aren't using GCC. 5654 ac_prog=ld 5655 ;; 5656 *) 5657 # If it is relative, then search for the first ld in PATH. 5658 with_gnu_ld=unknown 5659 ;; 5660 esac 5661elif test yes = "$with_gnu_ld"; then 5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5663$as_echo_n "checking for GNU ld... " >&6; } 5664else 5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5666$as_echo_n "checking for non-GNU ld... " >&6; } 5667fi 5668if ${lt_cv_path_LD+:} false; then : 5669 $as_echo_n "(cached) " >&6 5670else 5671 if test -z "$LD"; then 5672 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5673 for ac_dir in $PATH; do 5674 IFS=$lt_save_ifs 5675 test -z "$ac_dir" && ac_dir=. 5676 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5677 lt_cv_path_LD=$ac_dir/$ac_prog 5678 # Check to see if the program is GNU ld. I'd rather use --version, 5679 # but apparently some variants of GNU ld only accept -v. 5680 # Break only if it was the GNU/non-GNU ld that we prefer. 5681 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5682 *GNU* | *'with BFD'*) 5683 test no != "$with_gnu_ld" && break 5684 ;; 5685 *) 5686 test yes != "$with_gnu_ld" && break 5687 ;; 5688 esac 5689 fi 5690 done 5691 IFS=$lt_save_ifs 5692else 5693 lt_cv_path_LD=$LD # Let the user override the test with a path. 5694fi 5695fi 5696 5697LD=$lt_cv_path_LD 5698if test -n "$LD"; then 5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5700$as_echo "$LD" >&6; } 5701else 5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5703$as_echo "no" >&6; } 5704fi 5705test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5707$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5708if ${lt_cv_prog_gnu_ld+:} false; then : 5709 $as_echo_n "(cached) " >&6 5710else 5711 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5712case `$LD -v 2>&1 </dev/null` in 5713*GNU* | *'with BFD'*) 5714 lt_cv_prog_gnu_ld=yes 5715 ;; 5716*) 5717 lt_cv_prog_gnu_ld=no 5718 ;; 5719esac 5720fi 5721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5722$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5723with_gnu_ld=$lt_cv_prog_gnu_ld 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5734$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5735if ${lt_cv_path_NM+:} false; then : 5736 $as_echo_n "(cached) " >&6 5737else 5738 if test -n "$NM"; then 5739 # Let the user override the test. 5740 lt_cv_path_NM=$NM 5741else 5742 lt_nm_to_check=${ac_tool_prefix}nm 5743 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5744 lt_nm_to_check="$lt_nm_to_check nm" 5745 fi 5746 for lt_tmp_nm in $lt_nm_to_check; do 5747 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5748 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5749 IFS=$lt_save_ifs 5750 test -z "$ac_dir" && ac_dir=. 5751 tmp_nm=$ac_dir/$lt_tmp_nm 5752 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5753 # Check to see if the nm accepts a BSD-compat flag. 5754 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5755 # nm: unknown option "B" ignored 5756 # Tru64's nm complains that /dev/null is an invalid object file 5757 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5758 case $build_os in 5759 mingw*) lt_bad_file=conftest.nm/nofile ;; 5760 *) lt_bad_file=/dev/null ;; 5761 esac 5762 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5763 *$lt_bad_file* | *'Invalid file or object type'*) 5764 lt_cv_path_NM="$tmp_nm -B" 5765 break 2 5766 ;; 5767 *) 5768 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5769 */dev/null*) 5770 lt_cv_path_NM="$tmp_nm -p" 5771 break 2 5772 ;; 5773 *) 5774 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5775 continue # so that we can try to find one that supports BSD flags 5776 ;; 5777 esac 5778 ;; 5779 esac 5780 fi 5781 done 5782 IFS=$lt_save_ifs 5783 done 5784 : ${lt_cv_path_NM=no} 5785fi 5786fi 5787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5788$as_echo "$lt_cv_path_NM" >&6; } 5789if test no != "$lt_cv_path_NM"; then 5790 NM=$lt_cv_path_NM 5791else 5792 # Didn't find any BSD compatible name lister, look for dumpbin. 5793 if test -n "$DUMPBIN"; then : 5794 # Let the user override the test. 5795 else 5796 if test -n "$ac_tool_prefix"; then 5797 for ac_prog in dumpbin "link -dump" 5798 do 5799 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5800set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5802$as_echo_n "checking for $ac_word... " >&6; } 5803if ${ac_cv_prog_DUMPBIN+:} false; then : 5804 $as_echo_n "(cached) " >&6 5805else 5806 if test -n "$DUMPBIN"; then 5807 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5808else 5809as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5810for as_dir in $PATH 5811do 5812 IFS=$as_save_IFS 5813 test -z "$as_dir" && as_dir=. 5814 for ac_exec_ext in '' $ac_executable_extensions; do 5815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5816 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5818 break 2 5819 fi 5820done 5821 done 5822IFS=$as_save_IFS 5823 5824fi 5825fi 5826DUMPBIN=$ac_cv_prog_DUMPBIN 5827if test -n "$DUMPBIN"; then 5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5829$as_echo "$DUMPBIN" >&6; } 5830else 5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5832$as_echo "no" >&6; } 5833fi 5834 5835 5836 test -n "$DUMPBIN" && break 5837 done 5838fi 5839if test -z "$DUMPBIN"; then 5840 ac_ct_DUMPBIN=$DUMPBIN 5841 for ac_prog in dumpbin "link -dump" 5842do 5843 # Extract the first word of "$ac_prog", so it can be a program name with args. 5844set dummy $ac_prog; ac_word=$2 5845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5846$as_echo_n "checking for $ac_word... " >&6; } 5847if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5848 $as_echo_n "(cached) " >&6 5849else 5850 if test -n "$ac_ct_DUMPBIN"; then 5851 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5852else 5853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5854for as_dir in $PATH 5855do 5856 IFS=$as_save_IFS 5857 test -z "$as_dir" && as_dir=. 5858 for ac_exec_ext in '' $ac_executable_extensions; do 5859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5860 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5862 break 2 5863 fi 5864done 5865 done 5866IFS=$as_save_IFS 5867 5868fi 5869fi 5870ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5871if test -n "$ac_ct_DUMPBIN"; then 5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5873$as_echo "$ac_ct_DUMPBIN" >&6; } 5874else 5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5876$as_echo "no" >&6; } 5877fi 5878 5879 5880 test -n "$ac_ct_DUMPBIN" && break 5881done 5882 5883 if test "x$ac_ct_DUMPBIN" = x; then 5884 DUMPBIN=":" 5885 else 5886 case $cross_compiling:$ac_tool_warned in 5887yes:) 5888{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5889$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5890ac_tool_warned=yes ;; 5891esac 5892 DUMPBIN=$ac_ct_DUMPBIN 5893 fi 5894fi 5895 5896 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5897 *COFF*) 5898 DUMPBIN="$DUMPBIN -symbols -headers" 5899 ;; 5900 *) 5901 DUMPBIN=: 5902 ;; 5903 esac 5904 fi 5905 5906 if test : != "$DUMPBIN"; then 5907 NM=$DUMPBIN 5908 fi 5909fi 5910test -z "$NM" && NM=nm 5911 5912 5913 5914 5915 5916 5917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5918$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5919if ${lt_cv_nm_interface+:} false; then : 5920 $as_echo_n "(cached) " >&6 5921else 5922 lt_cv_nm_interface="BSD nm" 5923 echo "int some_variable = 0;" > conftest.$ac_ext 5924 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5925 (eval "$ac_compile" 2>conftest.err) 5926 cat conftest.err >&5 5927 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5928 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5929 cat conftest.err >&5 5930 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5931 cat conftest.out >&5 5932 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5933 lt_cv_nm_interface="MS dumpbin" 5934 fi 5935 rm -f conftest* 5936fi 5937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5938$as_echo "$lt_cv_nm_interface" >&6; } 5939 5940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5941$as_echo_n "checking whether ln -s works... " >&6; } 5942LN_S=$as_ln_s 5943if test "$LN_S" = "ln -s"; then 5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5945$as_echo "yes" >&6; } 5946else 5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5948$as_echo "no, using $LN_S" >&6; } 5949fi 5950 5951# find the maximum length of command line arguments 5952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5953$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5954if ${lt_cv_sys_max_cmd_len+:} false; then : 5955 $as_echo_n "(cached) " >&6 5956else 5957 i=0 5958 teststring=ABCD 5959 5960 case $build_os in 5961 msdosdjgpp*) 5962 # On DJGPP, this test can blow up pretty badly due to problems in libc 5963 # (any single argument exceeding 2000 bytes causes a buffer overrun 5964 # during glob expansion). Even if it were fixed, the result of this 5965 # check would be larger than it should be. 5966 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5967 ;; 5968 5969 gnu*) 5970 # Under GNU Hurd, this test is not required because there is 5971 # no limit to the length of command line arguments. 5972 # Libtool will interpret -1 as no limit whatsoever 5973 lt_cv_sys_max_cmd_len=-1; 5974 ;; 5975 5976 cygwin* | mingw* | cegcc*) 5977 # On Win9x/ME, this test blows up -- it succeeds, but takes 5978 # about 5 minutes as the teststring grows exponentially. 5979 # Worse, since 9x/ME are not pre-emptively multitasking, 5980 # you end up with a "frozen" computer, even though with patience 5981 # the test eventually succeeds (with a max line length of 256k). 5982 # Instead, let's just punt: use the minimum linelength reported by 5983 # all of the supported platforms: 8192 (on NT/2K/XP). 5984 lt_cv_sys_max_cmd_len=8192; 5985 ;; 5986 5987 mint*) 5988 # On MiNT this can take a long time and run out of memory. 5989 lt_cv_sys_max_cmd_len=8192; 5990 ;; 5991 5992 amigaos*) 5993 # On AmigaOS with pdksh, this test takes hours, literally. 5994 # So we just punt and use a minimum line length of 8192. 5995 lt_cv_sys_max_cmd_len=8192; 5996 ;; 5997 5998 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5999 # This has been around since 386BSD, at least. Likely further. 6000 if test -x /sbin/sysctl; then 6001 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6002 elif test -x /usr/sbin/sysctl; then 6003 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6004 else 6005 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6006 fi 6007 # And add a safety zone 6008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6009 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6010 ;; 6011 6012 interix*) 6013 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6014 lt_cv_sys_max_cmd_len=196608 6015 ;; 6016 6017 os2*) 6018 # The test takes a long time on OS/2. 6019 lt_cv_sys_max_cmd_len=8192 6020 ;; 6021 6022 osf*) 6023 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6024 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6025 # nice to cause kernel panics so lets avoid the loop below. 6026 # First set a reasonable default. 6027 lt_cv_sys_max_cmd_len=16384 6028 # 6029 if test -x /sbin/sysconfig; then 6030 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6031 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6032 esac 6033 fi 6034 ;; 6035 sco3.2v5*) 6036 lt_cv_sys_max_cmd_len=102400 6037 ;; 6038 sysv5* | sco5v6* | sysv4.2uw2*) 6039 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6040 if test -n "$kargmax"; then 6041 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6042 else 6043 lt_cv_sys_max_cmd_len=32768 6044 fi 6045 ;; 6046 *) 6047 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6048 if test -n "$lt_cv_sys_max_cmd_len" && \ 6049 test undefined != "$lt_cv_sys_max_cmd_len"; then 6050 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6051 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6052 else 6053 # Make teststring a little bigger before we do anything with it. 6054 # a 1K string should be a reasonable start. 6055 for i in 1 2 3 4 5 6 7 8; do 6056 teststring=$teststring$teststring 6057 done 6058 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6059 # If test is not a shell built-in, we'll probably end up computing a 6060 # maximum length that is only half of the actual maximum length, but 6061 # we can't tell. 6062 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 6063 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6064 test 17 != "$i" # 1/2 MB should be enough 6065 do 6066 i=`expr $i + 1` 6067 teststring=$teststring$teststring 6068 done 6069 # Only check the string length outside the loop. 6070 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6071 teststring= 6072 # Add a significant safety factor because C++ compilers can tack on 6073 # massive amounts of additional arguments before passing them to the 6074 # linker. It appears as though 1/2 is a usable value. 6075 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6076 fi 6077 ;; 6078 esac 6079 6080fi 6081 6082if test -n "$lt_cv_sys_max_cmd_len"; then 6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6084$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6085else 6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6087$as_echo "none" >&6; } 6088fi 6089max_cmd_len=$lt_cv_sys_max_cmd_len 6090 6091 6092 6093 6094 6095 6096: ${CP="cp -f"} 6097: ${MV="mv -f"} 6098: ${RM="rm -f"} 6099 6100if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6101 lt_unset=unset 6102else 6103 lt_unset=false 6104fi 6105 6106 6107 6108 6109 6110# test EBCDIC or ASCII 6111case `echo X|tr X '\101'` in 6112 A) # ASCII based system 6113 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6114 lt_SP2NL='tr \040 \012' 6115 lt_NL2SP='tr \015\012 \040\040' 6116 ;; 6117 *) # EBCDIC based system 6118 lt_SP2NL='tr \100 \n' 6119 lt_NL2SP='tr \r\n \100\100' 6120 ;; 6121esac 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6132$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6133if ${lt_cv_to_host_file_cmd+:} false; then : 6134 $as_echo_n "(cached) " >&6 6135else 6136 case $host in 6137 *-*-mingw* ) 6138 case $build in 6139 *-*-mingw* ) # actually msys 6140 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6141 ;; 6142 *-*-cygwin* ) 6143 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6144 ;; 6145 * ) # otherwise, assume *nix 6146 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6147 ;; 6148 esac 6149 ;; 6150 *-*-cygwin* ) 6151 case $build in 6152 *-*-mingw* ) # actually msys 6153 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6154 ;; 6155 *-*-cygwin* ) 6156 lt_cv_to_host_file_cmd=func_convert_file_noop 6157 ;; 6158 * ) # otherwise, assume *nix 6159 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6160 ;; 6161 esac 6162 ;; 6163 * ) # unhandled hosts (and "normal" native builds) 6164 lt_cv_to_host_file_cmd=func_convert_file_noop 6165 ;; 6166esac 6167 6168fi 6169 6170to_host_file_cmd=$lt_cv_to_host_file_cmd 6171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6172$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6173 6174 6175 6176 6177 6178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6179$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6180if ${lt_cv_to_tool_file_cmd+:} false; then : 6181 $as_echo_n "(cached) " >&6 6182else 6183 #assume ordinary cross tools, or native build. 6184lt_cv_to_tool_file_cmd=func_convert_file_noop 6185case $host in 6186 *-*-mingw* ) 6187 case $build in 6188 *-*-mingw* ) # actually msys 6189 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6190 ;; 6191 esac 6192 ;; 6193esac 6194 6195fi 6196 6197to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6199$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6200 6201 6202 6203 6204 6205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6206$as_echo_n "checking for $LD option to reload object files... " >&6; } 6207if ${lt_cv_ld_reload_flag+:} false; then : 6208 $as_echo_n "(cached) " >&6 6209else 6210 lt_cv_ld_reload_flag='-r' 6211fi 6212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6213$as_echo "$lt_cv_ld_reload_flag" >&6; } 6214reload_flag=$lt_cv_ld_reload_flag 6215case $reload_flag in 6216"" | " "*) ;; 6217*) reload_flag=" $reload_flag" ;; 6218esac 6219reload_cmds='$LD$reload_flag -o $output$reload_objs' 6220case $host_os in 6221 cygwin* | mingw* | pw32* | cegcc*) 6222 if test yes != "$GCC"; then 6223 reload_cmds=false 6224 fi 6225 ;; 6226 darwin*) 6227 if test yes = "$GCC"; then 6228 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6229 else 6230 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6231 fi 6232 ;; 6233esac 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243if test -n "$ac_tool_prefix"; then 6244 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6245set dummy ${ac_tool_prefix}objdump; ac_word=$2 6246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6247$as_echo_n "checking for $ac_word... " >&6; } 6248if ${ac_cv_prog_OBJDUMP+:} false; then : 6249 $as_echo_n "(cached) " >&6 6250else 6251 if test -n "$OBJDUMP"; then 6252 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6253else 6254as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6255for as_dir in $PATH 6256do 6257 IFS=$as_save_IFS 6258 test -z "$as_dir" && as_dir=. 6259 for ac_exec_ext in '' $ac_executable_extensions; do 6260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6261 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6263 break 2 6264 fi 6265done 6266 done 6267IFS=$as_save_IFS 6268 6269fi 6270fi 6271OBJDUMP=$ac_cv_prog_OBJDUMP 6272if test -n "$OBJDUMP"; then 6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6274$as_echo "$OBJDUMP" >&6; } 6275else 6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6277$as_echo "no" >&6; } 6278fi 6279 6280 6281fi 6282if test -z "$ac_cv_prog_OBJDUMP"; then 6283 ac_ct_OBJDUMP=$OBJDUMP 6284 # Extract the first word of "objdump", so it can be a program name with args. 6285set dummy objdump; ac_word=$2 6286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6287$as_echo_n "checking for $ac_word... " >&6; } 6288if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6289 $as_echo_n "(cached) " >&6 6290else 6291 if test -n "$ac_ct_OBJDUMP"; then 6292 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6293else 6294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6295for as_dir in $PATH 6296do 6297 IFS=$as_save_IFS 6298 test -z "$as_dir" && as_dir=. 6299 for ac_exec_ext in '' $ac_executable_extensions; do 6300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6301 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6303 break 2 6304 fi 6305done 6306 done 6307IFS=$as_save_IFS 6308 6309fi 6310fi 6311ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6312if test -n "$ac_ct_OBJDUMP"; then 6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6314$as_echo "$ac_ct_OBJDUMP" >&6; } 6315else 6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6317$as_echo "no" >&6; } 6318fi 6319 6320 if test "x$ac_ct_OBJDUMP" = x; then 6321 OBJDUMP="false" 6322 else 6323 case $cross_compiling:$ac_tool_warned in 6324yes:) 6325{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6326$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6327ac_tool_warned=yes ;; 6328esac 6329 OBJDUMP=$ac_ct_OBJDUMP 6330 fi 6331else 6332 OBJDUMP="$ac_cv_prog_OBJDUMP" 6333fi 6334 6335test -z "$OBJDUMP" && OBJDUMP=objdump 6336 6337 6338 6339 6340 6341 6342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6343$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6344if ${lt_cv_deplibs_check_method+:} false; then : 6345 $as_echo_n "(cached) " >&6 6346else 6347 lt_cv_file_magic_cmd='$MAGIC_CMD' 6348lt_cv_file_magic_test_file= 6349lt_cv_deplibs_check_method='unknown' 6350# Need to set the preceding variable on all platforms that support 6351# interlibrary dependencies. 6352# 'none' -- dependencies not supported. 6353# 'unknown' -- same as none, but documents that we really don't know. 6354# 'pass_all' -- all dependencies passed with no checks. 6355# 'test_compile' -- check by making test program. 6356# 'file_magic [[regex]]' -- check by looking for files in library path 6357# that responds to the $file_magic_cmd with a given extended regex. 6358# If you have 'file' or equivalent on your system and you're not sure 6359# whether 'pass_all' will *always* work, you probably want this one. 6360 6361case $host_os in 6362aix[4-9]*) 6363 lt_cv_deplibs_check_method=pass_all 6364 ;; 6365 6366beos*) 6367 lt_cv_deplibs_check_method=pass_all 6368 ;; 6369 6370bsdi[45]*) 6371 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6372 lt_cv_file_magic_cmd='/usr/bin/file -L' 6373 lt_cv_file_magic_test_file=/shlib/libc.so 6374 ;; 6375 6376cygwin*) 6377 # func_win32_libid is a shell function defined in ltmain.sh 6378 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6379 lt_cv_file_magic_cmd='func_win32_libid' 6380 ;; 6381 6382mingw* | pw32*) 6383 # Base MSYS/MinGW do not provide the 'file' command needed by 6384 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6385 # unless we find 'file', for example because we are cross-compiling. 6386 if ( file / ) >/dev/null 2>&1; then 6387 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6388 lt_cv_file_magic_cmd='func_win32_libid' 6389 else 6390 # Keep this pattern in sync with the one in func_win32_libid. 6391 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6392 lt_cv_file_magic_cmd='$OBJDUMP -f' 6393 fi 6394 ;; 6395 6396cegcc*) 6397 # use the weaker test based on 'objdump'. See mingw*. 6398 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6399 lt_cv_file_magic_cmd='$OBJDUMP -f' 6400 ;; 6401 6402darwin* | rhapsody*) 6403 lt_cv_deplibs_check_method=pass_all 6404 ;; 6405 6406freebsd* | dragonfly*) 6407 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6408 case $host_cpu in 6409 i*86 ) 6410 # Not sure whether the presence of OpenBSD here was a mistake. 6411 # Let's accept both of them until this is cleared up. 6412 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6413 lt_cv_file_magic_cmd=/usr/bin/file 6414 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6415 ;; 6416 esac 6417 else 6418 lt_cv_deplibs_check_method=pass_all 6419 fi 6420 ;; 6421 6422haiku*) 6423 lt_cv_deplibs_check_method=pass_all 6424 ;; 6425 6426hpux10.20* | hpux11*) 6427 lt_cv_file_magic_cmd=/usr/bin/file 6428 case $host_cpu in 6429 ia64*) 6430 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6431 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6432 ;; 6433 hppa*64*) 6434 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]' 6435 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6436 ;; 6437 *) 6438 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6439 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6440 ;; 6441 esac 6442 ;; 6443 6444interix[3-9]*) 6445 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6446 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6447 ;; 6448 6449irix5* | irix6* | nonstopux*) 6450 case $LD in 6451 *-32|*"-32 ") libmagic=32-bit;; 6452 *-n32|*"-n32 ") libmagic=N32;; 6453 *-64|*"-64 ") libmagic=64-bit;; 6454 *) libmagic=never-match;; 6455 esac 6456 lt_cv_deplibs_check_method=pass_all 6457 ;; 6458 6459# This must be glibc/ELF. 6460linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6461 lt_cv_deplibs_check_method=pass_all 6462 ;; 6463 6464netbsd*) 6465 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6466 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6467 else 6468 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6469 fi 6470 ;; 6471 6472newos6*) 6473 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6474 lt_cv_file_magic_cmd=/usr/bin/file 6475 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6476 ;; 6477 6478*nto* | *qnx*) 6479 lt_cv_deplibs_check_method=pass_all 6480 ;; 6481 6482openbsd* | bitrig*) 6483 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 6484 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6485 else 6486 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6487 fi 6488 ;; 6489 6490osf3* | osf4* | osf5*) 6491 lt_cv_deplibs_check_method=pass_all 6492 ;; 6493 6494rdos*) 6495 lt_cv_deplibs_check_method=pass_all 6496 ;; 6497 6498solaris*) 6499 lt_cv_deplibs_check_method=pass_all 6500 ;; 6501 6502sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6503 lt_cv_deplibs_check_method=pass_all 6504 ;; 6505 6506sysv4 | sysv4.3*) 6507 case $host_vendor in 6508 motorola) 6509 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]' 6510 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6511 ;; 6512 ncr) 6513 lt_cv_deplibs_check_method=pass_all 6514 ;; 6515 sequent) 6516 lt_cv_file_magic_cmd='/bin/file' 6517 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6518 ;; 6519 sni) 6520 lt_cv_file_magic_cmd='/bin/file' 6521 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6522 lt_cv_file_magic_test_file=/lib/libc.so 6523 ;; 6524 siemens) 6525 lt_cv_deplibs_check_method=pass_all 6526 ;; 6527 pc) 6528 lt_cv_deplibs_check_method=pass_all 6529 ;; 6530 esac 6531 ;; 6532 6533tpf*) 6534 lt_cv_deplibs_check_method=pass_all 6535 ;; 6536os2*) 6537 lt_cv_deplibs_check_method=pass_all 6538 ;; 6539esac 6540 6541fi 6542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6543$as_echo "$lt_cv_deplibs_check_method" >&6; } 6544 6545file_magic_glob= 6546want_nocaseglob=no 6547if test "$build" = "$host"; then 6548 case $host_os in 6549 mingw* | pw32*) 6550 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6551 want_nocaseglob=yes 6552 else 6553 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6554 fi 6555 ;; 6556 esac 6557fi 6558 6559file_magic_cmd=$lt_cv_file_magic_cmd 6560deplibs_check_method=$lt_cv_deplibs_check_method 6561test -z "$deplibs_check_method" && deplibs_check_method=unknown 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584if test -n "$ac_tool_prefix"; then 6585 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6586set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6588$as_echo_n "checking for $ac_word... " >&6; } 6589if ${ac_cv_prog_DLLTOOL+:} false; then : 6590 $as_echo_n "(cached) " >&6 6591else 6592 if test -n "$DLLTOOL"; then 6593 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6594else 6595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6596for as_dir in $PATH 6597do 6598 IFS=$as_save_IFS 6599 test -z "$as_dir" && as_dir=. 6600 for ac_exec_ext in '' $ac_executable_extensions; do 6601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6602 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6604 break 2 6605 fi 6606done 6607 done 6608IFS=$as_save_IFS 6609 6610fi 6611fi 6612DLLTOOL=$ac_cv_prog_DLLTOOL 6613if test -n "$DLLTOOL"; then 6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6615$as_echo "$DLLTOOL" >&6; } 6616else 6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6618$as_echo "no" >&6; } 6619fi 6620 6621 6622fi 6623if test -z "$ac_cv_prog_DLLTOOL"; then 6624 ac_ct_DLLTOOL=$DLLTOOL 6625 # Extract the first word of "dlltool", so it can be a program name with args. 6626set dummy dlltool; ac_word=$2 6627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6628$as_echo_n "checking for $ac_word... " >&6; } 6629if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6630 $as_echo_n "(cached) " >&6 6631else 6632 if test -n "$ac_ct_DLLTOOL"; then 6633 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6634else 6635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6636for as_dir in $PATH 6637do 6638 IFS=$as_save_IFS 6639 test -z "$as_dir" && as_dir=. 6640 for ac_exec_ext in '' $ac_executable_extensions; do 6641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6642 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6644 break 2 6645 fi 6646done 6647 done 6648IFS=$as_save_IFS 6649 6650fi 6651fi 6652ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6653if test -n "$ac_ct_DLLTOOL"; then 6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6655$as_echo "$ac_ct_DLLTOOL" >&6; } 6656else 6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6658$as_echo "no" >&6; } 6659fi 6660 6661 if test "x$ac_ct_DLLTOOL" = x; then 6662 DLLTOOL="false" 6663 else 6664 case $cross_compiling:$ac_tool_warned in 6665yes:) 6666{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6667$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6668ac_tool_warned=yes ;; 6669esac 6670 DLLTOOL=$ac_ct_DLLTOOL 6671 fi 6672else 6673 DLLTOOL="$ac_cv_prog_DLLTOOL" 6674fi 6675 6676test -z "$DLLTOOL" && DLLTOOL=dlltool 6677 6678 6679 6680 6681 6682 6683 6684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6685$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6686if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6687 $as_echo_n "(cached) " >&6 6688else 6689 lt_cv_sharedlib_from_linklib_cmd='unknown' 6690 6691case $host_os in 6692cygwin* | mingw* | pw32* | cegcc*) 6693 # two different shell functions defined in ltmain.sh; 6694 # decide which one to use based on capabilities of $DLLTOOL 6695 case `$DLLTOOL --help 2>&1` in 6696 *--identify-strict*) 6697 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6698 ;; 6699 *) 6700 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6701 ;; 6702 esac 6703 ;; 6704*) 6705 # fallback: assume linklib IS sharedlib 6706 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6707 ;; 6708esac 6709 6710fi 6711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6712$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6713sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6714test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6715 6716 6717 6718 6719 6720 6721 6722 6723if test -n "$ac_tool_prefix"; then 6724 for ac_prog in ar 6725 do 6726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6727set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6729$as_echo_n "checking for $ac_word... " >&6; } 6730if ${ac_cv_prog_AR+:} false; then : 6731 $as_echo_n "(cached) " >&6 6732else 6733 if test -n "$AR"; then 6734 ac_cv_prog_AR="$AR" # Let the user override the test. 6735else 6736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6737for as_dir in $PATH 6738do 6739 IFS=$as_save_IFS 6740 test -z "$as_dir" && as_dir=. 6741 for ac_exec_ext in '' $ac_executable_extensions; do 6742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6743 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6745 break 2 6746 fi 6747done 6748 done 6749IFS=$as_save_IFS 6750 6751fi 6752fi 6753AR=$ac_cv_prog_AR 6754if test -n "$AR"; then 6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6756$as_echo "$AR" >&6; } 6757else 6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6759$as_echo "no" >&6; } 6760fi 6761 6762 6763 test -n "$AR" && break 6764 done 6765fi 6766if test -z "$AR"; then 6767 ac_ct_AR=$AR 6768 for ac_prog in ar 6769do 6770 # Extract the first word of "$ac_prog", so it can be a program name with args. 6771set dummy $ac_prog; ac_word=$2 6772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6773$as_echo_n "checking for $ac_word... " >&6; } 6774if ${ac_cv_prog_ac_ct_AR+:} false; then : 6775 $as_echo_n "(cached) " >&6 6776else 6777 if test -n "$ac_ct_AR"; then 6778 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6779else 6780as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6781for as_dir in $PATH 6782do 6783 IFS=$as_save_IFS 6784 test -z "$as_dir" && as_dir=. 6785 for ac_exec_ext in '' $ac_executable_extensions; do 6786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6787 ac_cv_prog_ac_ct_AR="$ac_prog" 6788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6789 break 2 6790 fi 6791done 6792 done 6793IFS=$as_save_IFS 6794 6795fi 6796fi 6797ac_ct_AR=$ac_cv_prog_ac_ct_AR 6798if test -n "$ac_ct_AR"; then 6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6800$as_echo "$ac_ct_AR" >&6; } 6801else 6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6803$as_echo "no" >&6; } 6804fi 6805 6806 6807 test -n "$ac_ct_AR" && break 6808done 6809 6810 if test "x$ac_ct_AR" = x; then 6811 AR="false" 6812 else 6813 case $cross_compiling:$ac_tool_warned in 6814yes:) 6815{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6816$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6817ac_tool_warned=yes ;; 6818esac 6819 AR=$ac_ct_AR 6820 fi 6821fi 6822 6823: ${AR=ar} 6824: ${AR_FLAGS=cru} 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6837$as_echo_n "checking for archiver @FILE support... " >&6; } 6838if ${lt_cv_ar_at_file+:} false; then : 6839 $as_echo_n "(cached) " >&6 6840else 6841 lt_cv_ar_at_file=no 6842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6843/* end confdefs.h. */ 6844 6845int 6846main () 6847{ 6848 6849 ; 6850 return 0; 6851} 6852_ACEOF 6853if ac_fn_c_try_compile "$LINENO"; then : 6854 echo conftest.$ac_objext > conftest.lst 6855 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6856 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6857 (eval $lt_ar_try) 2>&5 6858 ac_status=$? 6859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6860 test $ac_status = 0; } 6861 if test 0 -eq "$ac_status"; then 6862 # Ensure the archiver fails upon bogus file names. 6863 rm -f conftest.$ac_objext libconftest.a 6864 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6865 (eval $lt_ar_try) 2>&5 6866 ac_status=$? 6867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6868 test $ac_status = 0; } 6869 if test 0 -ne "$ac_status"; then 6870 lt_cv_ar_at_file=@ 6871 fi 6872 fi 6873 rm -f conftest.* libconftest.a 6874 6875fi 6876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6877 6878fi 6879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6880$as_echo "$lt_cv_ar_at_file" >&6; } 6881 6882if test no = "$lt_cv_ar_at_file"; then 6883 archiver_list_spec= 6884else 6885 archiver_list_spec=$lt_cv_ar_at_file 6886fi 6887 6888 6889 6890 6891 6892 6893 6894if test -n "$ac_tool_prefix"; then 6895 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6896set dummy ${ac_tool_prefix}strip; ac_word=$2 6897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6898$as_echo_n "checking for $ac_word... " >&6; } 6899if ${ac_cv_prog_STRIP+:} false; then : 6900 $as_echo_n "(cached) " >&6 6901else 6902 if test -n "$STRIP"; then 6903 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6904else 6905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6906for as_dir in $PATH 6907do 6908 IFS=$as_save_IFS 6909 test -z "$as_dir" && as_dir=. 6910 for ac_exec_ext in '' $ac_executable_extensions; do 6911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6912 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6914 break 2 6915 fi 6916done 6917 done 6918IFS=$as_save_IFS 6919 6920fi 6921fi 6922STRIP=$ac_cv_prog_STRIP 6923if test -n "$STRIP"; then 6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6925$as_echo "$STRIP" >&6; } 6926else 6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6928$as_echo "no" >&6; } 6929fi 6930 6931 6932fi 6933if test -z "$ac_cv_prog_STRIP"; then 6934 ac_ct_STRIP=$STRIP 6935 # Extract the first word of "strip", so it can be a program name with args. 6936set dummy strip; ac_word=$2 6937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6938$as_echo_n "checking for $ac_word... " >&6; } 6939if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6940 $as_echo_n "(cached) " >&6 6941else 6942 if test -n "$ac_ct_STRIP"; then 6943 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6944else 6945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6946for as_dir in $PATH 6947do 6948 IFS=$as_save_IFS 6949 test -z "$as_dir" && as_dir=. 6950 for ac_exec_ext in '' $ac_executable_extensions; do 6951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6952 ac_cv_prog_ac_ct_STRIP="strip" 6953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6954 break 2 6955 fi 6956done 6957 done 6958IFS=$as_save_IFS 6959 6960fi 6961fi 6962ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6963if test -n "$ac_ct_STRIP"; then 6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6965$as_echo "$ac_ct_STRIP" >&6; } 6966else 6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6968$as_echo "no" >&6; } 6969fi 6970 6971 if test "x$ac_ct_STRIP" = x; then 6972 STRIP=":" 6973 else 6974 case $cross_compiling:$ac_tool_warned in 6975yes:) 6976{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6977$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6978ac_tool_warned=yes ;; 6979esac 6980 STRIP=$ac_ct_STRIP 6981 fi 6982else 6983 STRIP="$ac_cv_prog_STRIP" 6984fi 6985 6986test -z "$STRIP" && STRIP=: 6987 6988 6989 6990 6991 6992 6993if test -n "$ac_tool_prefix"; then 6994 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6995set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6997$as_echo_n "checking for $ac_word... " >&6; } 6998if ${ac_cv_prog_RANLIB+:} false; then : 6999 $as_echo_n "(cached) " >&6 7000else 7001 if test -n "$RANLIB"; then 7002 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7003else 7004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7005for as_dir in $PATH 7006do 7007 IFS=$as_save_IFS 7008 test -z "$as_dir" && as_dir=. 7009 for ac_exec_ext in '' $ac_executable_extensions; do 7010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7011 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7013 break 2 7014 fi 7015done 7016 done 7017IFS=$as_save_IFS 7018 7019fi 7020fi 7021RANLIB=$ac_cv_prog_RANLIB 7022if test -n "$RANLIB"; then 7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7024$as_echo "$RANLIB" >&6; } 7025else 7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7027$as_echo "no" >&6; } 7028fi 7029 7030 7031fi 7032if test -z "$ac_cv_prog_RANLIB"; then 7033 ac_ct_RANLIB=$RANLIB 7034 # Extract the first word of "ranlib", so it can be a program name with args. 7035set dummy ranlib; ac_word=$2 7036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7037$as_echo_n "checking for $ac_word... " >&6; } 7038if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7039 $as_echo_n "(cached) " >&6 7040else 7041 if test -n "$ac_ct_RANLIB"; then 7042 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7043else 7044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7045for as_dir in $PATH 7046do 7047 IFS=$as_save_IFS 7048 test -z "$as_dir" && as_dir=. 7049 for ac_exec_ext in '' $ac_executable_extensions; do 7050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7051 ac_cv_prog_ac_ct_RANLIB="ranlib" 7052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7053 break 2 7054 fi 7055done 7056 done 7057IFS=$as_save_IFS 7058 7059fi 7060fi 7061ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7062if test -n "$ac_ct_RANLIB"; then 7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7064$as_echo "$ac_ct_RANLIB" >&6; } 7065else 7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7067$as_echo "no" >&6; } 7068fi 7069 7070 if test "x$ac_ct_RANLIB" = x; then 7071 RANLIB=":" 7072 else 7073 case $cross_compiling:$ac_tool_warned in 7074yes:) 7075{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7076$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7077ac_tool_warned=yes ;; 7078esac 7079 RANLIB=$ac_ct_RANLIB 7080 fi 7081else 7082 RANLIB="$ac_cv_prog_RANLIB" 7083fi 7084 7085test -z "$RANLIB" && RANLIB=: 7086 7087 7088 7089 7090 7091 7092# Determine commands to create old-style static archives. 7093old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7094old_postinstall_cmds='chmod 644 $oldlib' 7095old_postuninstall_cmds= 7096 7097if test -n "$RANLIB"; then 7098 case $host_os in 7099 bitrig* | openbsd*) 7100 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7101 ;; 7102 *) 7103 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7104 ;; 7105 esac 7106 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7107fi 7108 7109case $host_os in 7110 darwin*) 7111 lock_old_archive_extraction=yes ;; 7112 *) 7113 lock_old_archive_extraction=no ;; 7114esac 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154# If no C compiler was specified, use CC. 7155LTCC=${LTCC-"$CC"} 7156 7157# If no C compiler flags were specified, use CFLAGS. 7158LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7159 7160# Allow CC to be a program name with arguments. 7161compiler=$CC 7162 7163 7164# Check for command to grab the raw symbol name followed by C symbol from nm. 7165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7166$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7167if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7168 $as_echo_n "(cached) " >&6 7169else 7170 7171# These are sane defaults that work on at least a few old systems. 7172# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7173 7174# Character class describing NM global symbol codes. 7175symcode='[BCDEGRST]' 7176 7177# Regexp to match symbols that can be accessed directly from C. 7178sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7179 7180# Define system-specific variables. 7181case $host_os in 7182aix*) 7183 symcode='[BCDT]' 7184 ;; 7185cygwin* | mingw* | pw32* | cegcc*) 7186 symcode='[ABCDGISTW]' 7187 ;; 7188hpux*) 7189 if test ia64 = "$host_cpu"; then 7190 symcode='[ABCDEGRST]' 7191 fi 7192 ;; 7193irix* | nonstopux*) 7194 symcode='[BCDEGRST]' 7195 ;; 7196osf*) 7197 symcode='[BCDEGQRST]' 7198 ;; 7199solaris*) 7200 symcode='[BDRT]' 7201 ;; 7202sco3.2v5*) 7203 symcode='[DT]' 7204 ;; 7205sysv4.2uw2*) 7206 symcode='[DT]' 7207 ;; 7208sysv5* | sco5v6* | unixware* | OpenUNIX*) 7209 symcode='[ABDT]' 7210 ;; 7211sysv4) 7212 symcode='[DFNSTU]' 7213 ;; 7214esac 7215 7216# If we're using GNU nm, then use its standard symbol codes. 7217case `$NM -V 2>&1` in 7218*GNU* | *'with BFD'*) 7219 symcode='[ABCDGIRSTW]' ;; 7220esac 7221 7222if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7223 # Gets list of data symbols to import. 7224 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7225 # Adjust the below global symbol transforms to fixup imported variables. 7226 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7227 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7228 lt_c_name_lib_hook="\ 7229 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7230 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7231else 7232 # Disable hooks by default. 7233 lt_cv_sys_global_symbol_to_import= 7234 lt_cdecl_hook= 7235 lt_c_name_hook= 7236 lt_c_name_lib_hook= 7237fi 7238 7239# Transform an extracted symbol line into a proper C declaration. 7240# Some systems (esp. on ia64) link data and code symbols differently, 7241# so use this general approach. 7242lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7243$lt_cdecl_hook\ 7244" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7245" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7246 7247# Transform an extracted symbol line into symbol name and symbol address 7248lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7249$lt_c_name_hook\ 7250" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7251" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7252 7253# Transform an extracted symbol line into symbol name with lib prefix and 7254# symbol address. 7255lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7256$lt_c_name_lib_hook\ 7257" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7258" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7259" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7260 7261# Handle CRLF in mingw tool chain 7262opt_cr= 7263case $build_os in 7264mingw*) 7265 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7266 ;; 7267esac 7268 7269# Try without a prefix underscore, then with it. 7270for ac_symprfx in "" "_"; do 7271 7272 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7273 symxfrm="\\1 $ac_symprfx\\2 \\2" 7274 7275 # Write the raw and C identifiers. 7276 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7277 # Fake it for dumpbin and say T for any non-static function, 7278 # D for any global variable and I for any imported variable. 7279 # Also find C++ and __fastcall symbols from MSVC++, 7280 # which start with @ or ?. 7281 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7282" {last_section=section; section=\$ 3};"\ 7283" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7284" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7285" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7286" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7287" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7288" \$ 0!~/External *\|/{next};"\ 7289" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7290" {if(hide[section]) next};"\ 7291" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7292" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7293" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7294" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7295" ' prfx=^$ac_symprfx" 7296 else 7297 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7298 fi 7299 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7300 7301 # Check to see that the pipe works correctly. 7302 pipe_works=no 7303 7304 rm -f conftest* 7305 cat > conftest.$ac_ext <<_LT_EOF 7306#ifdef __cplusplus 7307extern "C" { 7308#endif 7309char nm_test_var; 7310void nm_test_func(void); 7311void nm_test_func(void){} 7312#ifdef __cplusplus 7313} 7314#endif 7315int main(){nm_test_var='a';nm_test_func();return(0);} 7316_LT_EOF 7317 7318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7319 (eval $ac_compile) 2>&5 7320 ac_status=$? 7321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7322 test $ac_status = 0; }; then 7323 # Now try to grab the symbols. 7324 nlist=conftest.nm 7325 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7326 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7327 ac_status=$? 7328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7329 test $ac_status = 0; } && test -s "$nlist"; then 7330 # Try sorting and uniquifying the output. 7331 if sort "$nlist" | uniq > "$nlist"T; then 7332 mv -f "$nlist"T "$nlist" 7333 else 7334 rm -f "$nlist"T 7335 fi 7336 7337 # Make sure that we snagged all the symbols we need. 7338 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7339 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7340 cat <<_LT_EOF > conftest.$ac_ext 7341/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7342#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7343/* DATA imports from DLLs on WIN32 can't be const, because runtime 7344 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7345# define LT_DLSYM_CONST 7346#elif defined __osf__ 7347/* This system does not cope well with relocations in const data. */ 7348# define LT_DLSYM_CONST 7349#else 7350# define LT_DLSYM_CONST const 7351#endif 7352 7353#ifdef __cplusplus 7354extern "C" { 7355#endif 7356 7357_LT_EOF 7358 # Now generate the symbol file. 7359 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7360 7361 cat <<_LT_EOF >> conftest.$ac_ext 7362 7363/* The mapping between symbol names and symbols. */ 7364LT_DLSYM_CONST struct { 7365 const char *name; 7366 void *address; 7367} 7368lt__PROGRAM__LTX_preloaded_symbols[] = 7369{ 7370 { "@PROGRAM@", (void *) 0 }, 7371_LT_EOF 7372 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7373 cat <<\_LT_EOF >> conftest.$ac_ext 7374 {0, (void *) 0} 7375}; 7376 7377/* This works around a problem in FreeBSD linker */ 7378#ifdef FREEBSD_WORKAROUND 7379static const void *lt_preloaded_setup() { 7380 return lt__PROGRAM__LTX_preloaded_symbols; 7381} 7382#endif 7383 7384#ifdef __cplusplus 7385} 7386#endif 7387_LT_EOF 7388 # Now try linking the two files. 7389 mv conftest.$ac_objext conftstm.$ac_objext 7390 lt_globsym_save_LIBS=$LIBS 7391 lt_globsym_save_CFLAGS=$CFLAGS 7392 LIBS=conftstm.$ac_objext 7393 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7395 (eval $ac_link) 2>&5 7396 ac_status=$? 7397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7398 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7399 pipe_works=yes 7400 fi 7401 LIBS=$lt_globsym_save_LIBS 7402 CFLAGS=$lt_globsym_save_CFLAGS 7403 else 7404 echo "cannot find nm_test_func in $nlist" >&5 7405 fi 7406 else 7407 echo "cannot find nm_test_var in $nlist" >&5 7408 fi 7409 else 7410 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7411 fi 7412 else 7413 echo "$progname: failed program was:" >&5 7414 cat conftest.$ac_ext >&5 7415 fi 7416 rm -rf conftest* conftst* 7417 7418 # Do not use the global_symbol_pipe unless it works. 7419 if test yes = "$pipe_works"; then 7420 break 7421 else 7422 lt_cv_sys_global_symbol_pipe= 7423 fi 7424done 7425 7426fi 7427 7428if test -z "$lt_cv_sys_global_symbol_pipe"; then 7429 lt_cv_sys_global_symbol_to_cdecl= 7430fi 7431if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7433$as_echo "failed" >&6; } 7434else 7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7436$as_echo "ok" >&6; } 7437fi 7438 7439# Response file support. 7440if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7441 nm_file_list_spec='@' 7442elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7443 nm_file_list_spec='@' 7444fi 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7483$as_echo_n "checking for sysroot... " >&6; } 7484 7485# Check whether --with-sysroot was given. 7486if test "${with_sysroot+set}" = set; then : 7487 withval=$with_sysroot; 7488else 7489 with_sysroot=no 7490fi 7491 7492 7493lt_sysroot= 7494case $with_sysroot in #( 7495 yes) 7496 if test yes = "$GCC"; then 7497 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7498 fi 7499 ;; #( 7500 /*) 7501 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7502 ;; #( 7503 no|'') 7504 ;; #( 7505 *) 7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 7507$as_echo "$with_sysroot" >&6; } 7508 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7509 ;; 7510esac 7511 7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7513$as_echo "${lt_sysroot:-no}" >&6; } 7514 7515 7516 7517 7518 7519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 7520$as_echo_n "checking for a working dd... " >&6; } 7521if ${ac_cv_path_lt_DD+:} false; then : 7522 $as_echo_n "(cached) " >&6 7523else 7524 printf 0123456789abcdef0123456789abcdef >conftest.i 7525cat conftest.i conftest.i >conftest2.i 7526: ${lt_DD:=$DD} 7527if test -z "$lt_DD"; then 7528 ac_path_lt_DD_found=false 7529 # Loop through the user's path and test for each of PROGNAME-LIST 7530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7531for as_dir in $PATH 7532do 7533 IFS=$as_save_IFS 7534 test -z "$as_dir" && as_dir=. 7535 for ac_prog in dd; do 7536 for ac_exec_ext in '' $ac_executable_extensions; do 7537 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 7538 as_fn_executable_p "$ac_path_lt_DD" || continue 7539if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7540 cmp -s conftest.i conftest.out \ 7541 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 7542fi 7543 $ac_path_lt_DD_found && break 3 7544 done 7545 done 7546 done 7547IFS=$as_save_IFS 7548 if test -z "$ac_cv_path_lt_DD"; then 7549 : 7550 fi 7551else 7552 ac_cv_path_lt_DD=$lt_DD 7553fi 7554 7555rm -f conftest.i conftest2.i conftest.out 7556fi 7557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7558$as_echo "$ac_cv_path_lt_DD" >&6; } 7559 7560 7561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7562$as_echo_n "checking how to truncate binary pipes... " >&6; } 7563if ${lt_cv_truncate_bin+:} false; then : 7564 $as_echo_n "(cached) " >&6 7565else 7566 printf 0123456789abcdef0123456789abcdef >conftest.i 7567cat conftest.i conftest.i >conftest2.i 7568lt_cv_truncate_bin= 7569if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7570 cmp -s conftest.i conftest.out \ 7571 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7572fi 7573rm -f conftest.i conftest2.i conftest.out 7574test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7575fi 7576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7577$as_echo "$lt_cv_truncate_bin" >&6; } 7578 7579 7580 7581 7582 7583 7584 7585# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7586func_cc_basename () 7587{ 7588 for cc_temp in $*""; do 7589 case $cc_temp in 7590 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7591 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7592 \-*) ;; 7593 *) break;; 7594 esac 7595 done 7596 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7597} 7598 7599# Check whether --enable-libtool-lock was given. 7600if test "${enable_libtool_lock+set}" = set; then : 7601 enableval=$enable_libtool_lock; 7602fi 7603 7604test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7605 7606# Some flags need to be propagated to the compiler or linker for good 7607# libtool support. 7608case $host in 7609ia64-*-hpux*) 7610 # Find out what ABI is being produced by ac_compile, and set mode 7611 # options accordingly. 7612 echo 'int i;' > conftest.$ac_ext 7613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7614 (eval $ac_compile) 2>&5 7615 ac_status=$? 7616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7617 test $ac_status = 0; }; then 7618 case `/usr/bin/file conftest.$ac_objext` in 7619 *ELF-32*) 7620 HPUX_IA64_MODE=32 7621 ;; 7622 *ELF-64*) 7623 HPUX_IA64_MODE=64 7624 ;; 7625 esac 7626 fi 7627 rm -rf conftest* 7628 ;; 7629*-*-irix6*) 7630 # Find out what ABI is being produced by ac_compile, and set linker 7631 # options accordingly. 7632 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7634 (eval $ac_compile) 2>&5 7635 ac_status=$? 7636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7637 test $ac_status = 0; }; then 7638 if test yes = "$lt_cv_prog_gnu_ld"; then 7639 case `/usr/bin/file conftest.$ac_objext` in 7640 *32-bit*) 7641 LD="${LD-ld} -melf32bsmip" 7642 ;; 7643 *N32*) 7644 LD="${LD-ld} -melf32bmipn32" 7645 ;; 7646 *64-bit*) 7647 LD="${LD-ld} -melf64bmip" 7648 ;; 7649 esac 7650 else 7651 case `/usr/bin/file conftest.$ac_objext` in 7652 *32-bit*) 7653 LD="${LD-ld} -32" 7654 ;; 7655 *N32*) 7656 LD="${LD-ld} -n32" 7657 ;; 7658 *64-bit*) 7659 LD="${LD-ld} -64" 7660 ;; 7661 esac 7662 fi 7663 fi 7664 rm -rf conftest* 7665 ;; 7666 7667mips64*-*linux*) 7668 # Find out what ABI is being produced by ac_compile, and set linker 7669 # options accordingly. 7670 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7671 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7672 (eval $ac_compile) 2>&5 7673 ac_status=$? 7674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7675 test $ac_status = 0; }; then 7676 emul=elf 7677 case `/usr/bin/file conftest.$ac_objext` in 7678 *32-bit*) 7679 emul="${emul}32" 7680 ;; 7681 *64-bit*) 7682 emul="${emul}64" 7683 ;; 7684 esac 7685 case `/usr/bin/file conftest.$ac_objext` in 7686 *MSB*) 7687 emul="${emul}btsmip" 7688 ;; 7689 *LSB*) 7690 emul="${emul}ltsmip" 7691 ;; 7692 esac 7693 case `/usr/bin/file conftest.$ac_objext` in 7694 *N32*) 7695 emul="${emul}n32" 7696 ;; 7697 esac 7698 LD="${LD-ld} -m $emul" 7699 fi 7700 rm -rf conftest* 7701 ;; 7702 7703x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7704s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7705 # Find out what ABI is being produced by ac_compile, and set linker 7706 # options accordingly. Note that the listed cases only cover the 7707 # situations where additional linker options are needed (such as when 7708 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7709 # vice versa); the common cases where no linker options are needed do 7710 # not appear in the list. 7711 echo 'int i;' > conftest.$ac_ext 7712 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7713 (eval $ac_compile) 2>&5 7714 ac_status=$? 7715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7716 test $ac_status = 0; }; then 7717 case `/usr/bin/file conftest.o` in 7718 *32-bit*) 7719 case $host in 7720 x86_64-*kfreebsd*-gnu) 7721 LD="${LD-ld} -m elf_i386_fbsd" 7722 ;; 7723 x86_64-*linux*) 7724 case `/usr/bin/file conftest.o` in 7725 *x86-64*) 7726 LD="${LD-ld} -m elf32_x86_64" 7727 ;; 7728 *) 7729 LD="${LD-ld} -m elf_i386" 7730 ;; 7731 esac 7732 ;; 7733 powerpc64le-*linux*) 7734 LD="${LD-ld} -m elf32lppclinux" 7735 ;; 7736 powerpc64-*linux*) 7737 LD="${LD-ld} -m elf32ppclinux" 7738 ;; 7739 s390x-*linux*) 7740 LD="${LD-ld} -m elf_s390" 7741 ;; 7742 sparc64-*linux*) 7743 LD="${LD-ld} -m elf32_sparc" 7744 ;; 7745 esac 7746 ;; 7747 *64-bit*) 7748 case $host in 7749 x86_64-*kfreebsd*-gnu) 7750 LD="${LD-ld} -m elf_x86_64_fbsd" 7751 ;; 7752 x86_64-*linux*) 7753 LD="${LD-ld} -m elf_x86_64" 7754 ;; 7755 powerpcle-*linux*) 7756 LD="${LD-ld} -m elf64lppc" 7757 ;; 7758 powerpc-*linux*) 7759 LD="${LD-ld} -m elf64ppc" 7760 ;; 7761 s390*-*linux*|s390*-*tpf*) 7762 LD="${LD-ld} -m elf64_s390" 7763 ;; 7764 sparc*-*linux*) 7765 LD="${LD-ld} -m elf64_sparc" 7766 ;; 7767 esac 7768 ;; 7769 esac 7770 fi 7771 rm -rf conftest* 7772 ;; 7773 7774*-*-sco3.2v5*) 7775 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7776 SAVE_CFLAGS=$CFLAGS 7777 CFLAGS="$CFLAGS -belf" 7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7779$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7780if ${lt_cv_cc_needs_belf+:} false; then : 7781 $as_echo_n "(cached) " >&6 7782else 7783 ac_ext=c 7784ac_cpp='$CPP $CPPFLAGS' 7785ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7786ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7787ac_compiler_gnu=$ac_cv_c_compiler_gnu 7788 7789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7790/* end confdefs.h. */ 7791 7792int 7793main () 7794{ 7795 7796 ; 7797 return 0; 7798} 7799_ACEOF 7800if ac_fn_c_try_link "$LINENO"; then : 7801 lt_cv_cc_needs_belf=yes 7802else 7803 lt_cv_cc_needs_belf=no 7804fi 7805rm -f core conftest.err conftest.$ac_objext \ 7806 conftest$ac_exeext conftest.$ac_ext 7807 ac_ext=c 7808ac_cpp='$CPP $CPPFLAGS' 7809ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7811ac_compiler_gnu=$ac_cv_c_compiler_gnu 7812 7813fi 7814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7815$as_echo "$lt_cv_cc_needs_belf" >&6; } 7816 if test yes != "$lt_cv_cc_needs_belf"; then 7817 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7818 CFLAGS=$SAVE_CFLAGS 7819 fi 7820 ;; 7821*-*solaris*) 7822 # Find out what ABI is being produced by ac_compile, and set linker 7823 # options accordingly. 7824 echo 'int i;' > conftest.$ac_ext 7825 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7826 (eval $ac_compile) 2>&5 7827 ac_status=$? 7828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7829 test $ac_status = 0; }; then 7830 case `/usr/bin/file conftest.o` in 7831 *64-bit*) 7832 case $lt_cv_prog_gnu_ld in 7833 yes*) 7834 case $host in 7835 i?86-*-solaris*|x86_64-*-solaris*) 7836 LD="${LD-ld} -m elf_x86_64" 7837 ;; 7838 sparc*-*-solaris*) 7839 LD="${LD-ld} -m elf64_sparc" 7840 ;; 7841 esac 7842 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7843 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7844 LD=${LD-ld}_sol2 7845 fi 7846 ;; 7847 *) 7848 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7849 LD="${LD-ld} -64" 7850 fi 7851 ;; 7852 esac 7853 ;; 7854 esac 7855 fi 7856 rm -rf conftest* 7857 ;; 7858esac 7859 7860need_locks=$enable_libtool_lock 7861 7862if test -n "$ac_tool_prefix"; then 7863 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7864set dummy ${ac_tool_prefix}mt; ac_word=$2 7865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7866$as_echo_n "checking for $ac_word... " >&6; } 7867if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7868 $as_echo_n "(cached) " >&6 7869else 7870 if test -n "$MANIFEST_TOOL"; then 7871 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7872else 7873as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7874for as_dir in $PATH 7875do 7876 IFS=$as_save_IFS 7877 test -z "$as_dir" && as_dir=. 7878 for ac_exec_ext in '' $ac_executable_extensions; do 7879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7880 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7882 break 2 7883 fi 7884done 7885 done 7886IFS=$as_save_IFS 7887 7888fi 7889fi 7890MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7891if test -n "$MANIFEST_TOOL"; then 7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7893$as_echo "$MANIFEST_TOOL" >&6; } 7894else 7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7896$as_echo "no" >&6; } 7897fi 7898 7899 7900fi 7901if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7902 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7903 # Extract the first word of "mt", so it can be a program name with args. 7904set dummy mt; ac_word=$2 7905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7906$as_echo_n "checking for $ac_word... " >&6; } 7907if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7908 $as_echo_n "(cached) " >&6 7909else 7910 if test -n "$ac_ct_MANIFEST_TOOL"; then 7911 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7912else 7913as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7914for as_dir in $PATH 7915do 7916 IFS=$as_save_IFS 7917 test -z "$as_dir" && as_dir=. 7918 for ac_exec_ext in '' $ac_executable_extensions; do 7919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7920 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7922 break 2 7923 fi 7924done 7925 done 7926IFS=$as_save_IFS 7927 7928fi 7929fi 7930ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7931if test -n "$ac_ct_MANIFEST_TOOL"; then 7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7933$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7934else 7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7936$as_echo "no" >&6; } 7937fi 7938 7939 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7940 MANIFEST_TOOL=":" 7941 else 7942 case $cross_compiling:$ac_tool_warned in 7943yes:) 7944{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7945$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7946ac_tool_warned=yes ;; 7947esac 7948 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7949 fi 7950else 7951 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7952fi 7953 7954test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7956$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7957if ${lt_cv_path_mainfest_tool+:} false; then : 7958 $as_echo_n "(cached) " >&6 7959else 7960 lt_cv_path_mainfest_tool=no 7961 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7962 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7963 cat conftest.err >&5 7964 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7965 lt_cv_path_mainfest_tool=yes 7966 fi 7967 rm -f conftest* 7968fi 7969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7970$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7971if test yes != "$lt_cv_path_mainfest_tool"; then 7972 MANIFEST_TOOL=: 7973fi 7974 7975 7976 7977 7978 7979 7980 case $host_os in 7981 rhapsody* | darwin*) 7982 if test -n "$ac_tool_prefix"; then 7983 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7984set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7986$as_echo_n "checking for $ac_word... " >&6; } 7987if ${ac_cv_prog_DSYMUTIL+:} false; then : 7988 $as_echo_n "(cached) " >&6 7989else 7990 if test -n "$DSYMUTIL"; then 7991 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7992else 7993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7994for as_dir in $PATH 7995do 7996 IFS=$as_save_IFS 7997 test -z "$as_dir" && as_dir=. 7998 for ac_exec_ext in '' $ac_executable_extensions; do 7999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8000 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8002 break 2 8003 fi 8004done 8005 done 8006IFS=$as_save_IFS 8007 8008fi 8009fi 8010DSYMUTIL=$ac_cv_prog_DSYMUTIL 8011if test -n "$DSYMUTIL"; then 8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8013$as_echo "$DSYMUTIL" >&6; } 8014else 8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8016$as_echo "no" >&6; } 8017fi 8018 8019 8020fi 8021if test -z "$ac_cv_prog_DSYMUTIL"; then 8022 ac_ct_DSYMUTIL=$DSYMUTIL 8023 # Extract the first word of "dsymutil", so it can be a program name with args. 8024set dummy dsymutil; ac_word=$2 8025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8026$as_echo_n "checking for $ac_word... " >&6; } 8027if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8028 $as_echo_n "(cached) " >&6 8029else 8030 if test -n "$ac_ct_DSYMUTIL"; then 8031 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8032else 8033as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8034for as_dir in $PATH 8035do 8036 IFS=$as_save_IFS 8037 test -z "$as_dir" && as_dir=. 8038 for ac_exec_ext in '' $ac_executable_extensions; do 8039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8040 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8042 break 2 8043 fi 8044done 8045 done 8046IFS=$as_save_IFS 8047 8048fi 8049fi 8050ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8051if test -n "$ac_ct_DSYMUTIL"; then 8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8053$as_echo "$ac_ct_DSYMUTIL" >&6; } 8054else 8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8056$as_echo "no" >&6; } 8057fi 8058 8059 if test "x$ac_ct_DSYMUTIL" = x; then 8060 DSYMUTIL=":" 8061 else 8062 case $cross_compiling:$ac_tool_warned in 8063yes:) 8064{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8065$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8066ac_tool_warned=yes ;; 8067esac 8068 DSYMUTIL=$ac_ct_DSYMUTIL 8069 fi 8070else 8071 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8072fi 8073 8074 if test -n "$ac_tool_prefix"; then 8075 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8076set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8078$as_echo_n "checking for $ac_word... " >&6; } 8079if ${ac_cv_prog_NMEDIT+:} false; then : 8080 $as_echo_n "(cached) " >&6 8081else 8082 if test -n "$NMEDIT"; then 8083 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8084else 8085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8086for as_dir in $PATH 8087do 8088 IFS=$as_save_IFS 8089 test -z "$as_dir" && as_dir=. 8090 for ac_exec_ext in '' $ac_executable_extensions; do 8091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8092 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8094 break 2 8095 fi 8096done 8097 done 8098IFS=$as_save_IFS 8099 8100fi 8101fi 8102NMEDIT=$ac_cv_prog_NMEDIT 8103if test -n "$NMEDIT"; then 8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8105$as_echo "$NMEDIT" >&6; } 8106else 8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8108$as_echo "no" >&6; } 8109fi 8110 8111 8112fi 8113if test -z "$ac_cv_prog_NMEDIT"; then 8114 ac_ct_NMEDIT=$NMEDIT 8115 # Extract the first word of "nmedit", so it can be a program name with args. 8116set dummy nmedit; ac_word=$2 8117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8118$as_echo_n "checking for $ac_word... " >&6; } 8119if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8120 $as_echo_n "(cached) " >&6 8121else 8122 if test -n "$ac_ct_NMEDIT"; then 8123 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8124else 8125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8126for as_dir in $PATH 8127do 8128 IFS=$as_save_IFS 8129 test -z "$as_dir" && as_dir=. 8130 for ac_exec_ext in '' $ac_executable_extensions; do 8131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8132 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8134 break 2 8135 fi 8136done 8137 done 8138IFS=$as_save_IFS 8139 8140fi 8141fi 8142ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8143if test -n "$ac_ct_NMEDIT"; then 8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8145$as_echo "$ac_ct_NMEDIT" >&6; } 8146else 8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8148$as_echo "no" >&6; } 8149fi 8150 8151 if test "x$ac_ct_NMEDIT" = x; then 8152 NMEDIT=":" 8153 else 8154 case $cross_compiling:$ac_tool_warned in 8155yes:) 8156{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8157$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8158ac_tool_warned=yes ;; 8159esac 8160 NMEDIT=$ac_ct_NMEDIT 8161 fi 8162else 8163 NMEDIT="$ac_cv_prog_NMEDIT" 8164fi 8165 8166 if test -n "$ac_tool_prefix"; then 8167 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8168set dummy ${ac_tool_prefix}lipo; ac_word=$2 8169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8170$as_echo_n "checking for $ac_word... " >&6; } 8171if ${ac_cv_prog_LIPO+:} false; then : 8172 $as_echo_n "(cached) " >&6 8173else 8174 if test -n "$LIPO"; then 8175 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8176else 8177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8178for as_dir in $PATH 8179do 8180 IFS=$as_save_IFS 8181 test -z "$as_dir" && as_dir=. 8182 for ac_exec_ext in '' $ac_executable_extensions; do 8183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8184 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8186 break 2 8187 fi 8188done 8189 done 8190IFS=$as_save_IFS 8191 8192fi 8193fi 8194LIPO=$ac_cv_prog_LIPO 8195if test -n "$LIPO"; then 8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8197$as_echo "$LIPO" >&6; } 8198else 8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8200$as_echo "no" >&6; } 8201fi 8202 8203 8204fi 8205if test -z "$ac_cv_prog_LIPO"; then 8206 ac_ct_LIPO=$LIPO 8207 # Extract the first word of "lipo", so it can be a program name with args. 8208set dummy lipo; ac_word=$2 8209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8210$as_echo_n "checking for $ac_word... " >&6; } 8211if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8212 $as_echo_n "(cached) " >&6 8213else 8214 if test -n "$ac_ct_LIPO"; then 8215 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8216else 8217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8218for as_dir in $PATH 8219do 8220 IFS=$as_save_IFS 8221 test -z "$as_dir" && as_dir=. 8222 for ac_exec_ext in '' $ac_executable_extensions; do 8223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8224 ac_cv_prog_ac_ct_LIPO="lipo" 8225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8226 break 2 8227 fi 8228done 8229 done 8230IFS=$as_save_IFS 8231 8232fi 8233fi 8234ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8235if test -n "$ac_ct_LIPO"; then 8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8237$as_echo "$ac_ct_LIPO" >&6; } 8238else 8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8240$as_echo "no" >&6; } 8241fi 8242 8243 if test "x$ac_ct_LIPO" = x; then 8244 LIPO=":" 8245 else 8246 case $cross_compiling:$ac_tool_warned in 8247yes:) 8248{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8249$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8250ac_tool_warned=yes ;; 8251esac 8252 LIPO=$ac_ct_LIPO 8253 fi 8254else 8255 LIPO="$ac_cv_prog_LIPO" 8256fi 8257 8258 if test -n "$ac_tool_prefix"; then 8259 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8260set dummy ${ac_tool_prefix}otool; ac_word=$2 8261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8262$as_echo_n "checking for $ac_word... " >&6; } 8263if ${ac_cv_prog_OTOOL+:} false; then : 8264 $as_echo_n "(cached) " >&6 8265else 8266 if test -n "$OTOOL"; then 8267 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8268else 8269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8270for as_dir in $PATH 8271do 8272 IFS=$as_save_IFS 8273 test -z "$as_dir" && as_dir=. 8274 for ac_exec_ext in '' $ac_executable_extensions; do 8275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8276 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8278 break 2 8279 fi 8280done 8281 done 8282IFS=$as_save_IFS 8283 8284fi 8285fi 8286OTOOL=$ac_cv_prog_OTOOL 8287if test -n "$OTOOL"; then 8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8289$as_echo "$OTOOL" >&6; } 8290else 8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8292$as_echo "no" >&6; } 8293fi 8294 8295 8296fi 8297if test -z "$ac_cv_prog_OTOOL"; then 8298 ac_ct_OTOOL=$OTOOL 8299 # Extract the first word of "otool", so it can be a program name with args. 8300set dummy otool; ac_word=$2 8301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8302$as_echo_n "checking for $ac_word... " >&6; } 8303if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8304 $as_echo_n "(cached) " >&6 8305else 8306 if test -n "$ac_ct_OTOOL"; then 8307 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8308else 8309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8310for as_dir in $PATH 8311do 8312 IFS=$as_save_IFS 8313 test -z "$as_dir" && as_dir=. 8314 for ac_exec_ext in '' $ac_executable_extensions; do 8315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8316 ac_cv_prog_ac_ct_OTOOL="otool" 8317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8318 break 2 8319 fi 8320done 8321 done 8322IFS=$as_save_IFS 8323 8324fi 8325fi 8326ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8327if test -n "$ac_ct_OTOOL"; then 8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8329$as_echo "$ac_ct_OTOOL" >&6; } 8330else 8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8332$as_echo "no" >&6; } 8333fi 8334 8335 if test "x$ac_ct_OTOOL" = x; then 8336 OTOOL=":" 8337 else 8338 case $cross_compiling:$ac_tool_warned in 8339yes:) 8340{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8341$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8342ac_tool_warned=yes ;; 8343esac 8344 OTOOL=$ac_ct_OTOOL 8345 fi 8346else 8347 OTOOL="$ac_cv_prog_OTOOL" 8348fi 8349 8350 if test -n "$ac_tool_prefix"; then 8351 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8352set dummy ${ac_tool_prefix}otool64; ac_word=$2 8353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8354$as_echo_n "checking for $ac_word... " >&6; } 8355if ${ac_cv_prog_OTOOL64+:} false; then : 8356 $as_echo_n "(cached) " >&6 8357else 8358 if test -n "$OTOOL64"; then 8359 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8360else 8361as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8362for as_dir in $PATH 8363do 8364 IFS=$as_save_IFS 8365 test -z "$as_dir" && as_dir=. 8366 for ac_exec_ext in '' $ac_executable_extensions; do 8367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8368 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8370 break 2 8371 fi 8372done 8373 done 8374IFS=$as_save_IFS 8375 8376fi 8377fi 8378OTOOL64=$ac_cv_prog_OTOOL64 8379if test -n "$OTOOL64"; then 8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8381$as_echo "$OTOOL64" >&6; } 8382else 8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8384$as_echo "no" >&6; } 8385fi 8386 8387 8388fi 8389if test -z "$ac_cv_prog_OTOOL64"; then 8390 ac_ct_OTOOL64=$OTOOL64 8391 # Extract the first word of "otool64", so it can be a program name with args. 8392set dummy otool64; ac_word=$2 8393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8394$as_echo_n "checking for $ac_word... " >&6; } 8395if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8396 $as_echo_n "(cached) " >&6 8397else 8398 if test -n "$ac_ct_OTOOL64"; then 8399 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8400else 8401as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8402for as_dir in $PATH 8403do 8404 IFS=$as_save_IFS 8405 test -z "$as_dir" && as_dir=. 8406 for ac_exec_ext in '' $ac_executable_extensions; do 8407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8408 ac_cv_prog_ac_ct_OTOOL64="otool64" 8409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8410 break 2 8411 fi 8412done 8413 done 8414IFS=$as_save_IFS 8415 8416fi 8417fi 8418ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8419if test -n "$ac_ct_OTOOL64"; then 8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8421$as_echo "$ac_ct_OTOOL64" >&6; } 8422else 8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8424$as_echo "no" >&6; } 8425fi 8426 8427 if test "x$ac_ct_OTOOL64" = x; then 8428 OTOOL64=":" 8429 else 8430 case $cross_compiling:$ac_tool_warned in 8431yes:) 8432{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8433$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8434ac_tool_warned=yes ;; 8435esac 8436 OTOOL64=$ac_ct_OTOOL64 8437 fi 8438else 8439 OTOOL64="$ac_cv_prog_OTOOL64" 8440fi 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8469$as_echo_n "checking for -single_module linker flag... " >&6; } 8470if ${lt_cv_apple_cc_single_mod+:} false; then : 8471 $as_echo_n "(cached) " >&6 8472else 8473 lt_cv_apple_cc_single_mod=no 8474 if test -z "$LT_MULTI_MODULE"; then 8475 # By default we will add the -single_module flag. You can override 8476 # by either setting the environment variable LT_MULTI_MODULE 8477 # non-empty at configure time, or by adding -multi_module to the 8478 # link flags. 8479 rm -rf libconftest.dylib* 8480 echo "int foo(void){return 1;}" > conftest.c 8481 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8482-dynamiclib -Wl,-single_module conftest.c" >&5 8483 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8484 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8485 _lt_result=$? 8486 # If there is a non-empty error log, and "single_module" 8487 # appears in it, assume the flag caused a linker warning 8488 if test -s conftest.err && $GREP single_module conftest.err; then 8489 cat conftest.err >&5 8490 # Otherwise, if the output was created with a 0 exit code from 8491 # the compiler, it worked. 8492 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 8493 lt_cv_apple_cc_single_mod=yes 8494 else 8495 cat conftest.err >&5 8496 fi 8497 rm -rf libconftest.dylib* 8498 rm -f conftest.* 8499 fi 8500fi 8501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8502$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8503 8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8505$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8506if ${lt_cv_ld_exported_symbols_list+:} false; then : 8507 $as_echo_n "(cached) " >&6 8508else 8509 lt_cv_ld_exported_symbols_list=no 8510 save_LDFLAGS=$LDFLAGS 8511 echo "_main" > conftest.sym 8512 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8514/* end confdefs.h. */ 8515 8516int 8517main () 8518{ 8519 8520 ; 8521 return 0; 8522} 8523_ACEOF 8524if ac_fn_c_try_link "$LINENO"; then : 8525 lt_cv_ld_exported_symbols_list=yes 8526else 8527 lt_cv_ld_exported_symbols_list=no 8528fi 8529rm -f core conftest.err conftest.$ac_objext \ 8530 conftest$ac_exeext conftest.$ac_ext 8531 LDFLAGS=$save_LDFLAGS 8532 8533fi 8534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8535$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8536 8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8538$as_echo_n "checking for -force_load linker flag... " >&6; } 8539if ${lt_cv_ld_force_load+:} false; then : 8540 $as_echo_n "(cached) " >&6 8541else 8542 lt_cv_ld_force_load=no 8543 cat > conftest.c << _LT_EOF 8544int forced_loaded() { return 2;} 8545_LT_EOF 8546 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8547 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8548 echo "$AR cru libconftest.a conftest.o" >&5 8549 $AR cru libconftest.a conftest.o 2>&5 8550 echo "$RANLIB libconftest.a" >&5 8551 $RANLIB libconftest.a 2>&5 8552 cat > conftest.c << _LT_EOF 8553int main() { return 0;} 8554_LT_EOF 8555 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8556 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8557 _lt_result=$? 8558 if test -s conftest.err && $GREP force_load conftest.err; then 8559 cat conftest.err >&5 8560 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8561 lt_cv_ld_force_load=yes 8562 else 8563 cat conftest.err >&5 8564 fi 8565 rm -f conftest.err libconftest.a conftest conftest.c 8566 rm -rf conftest.dSYM 8567 8568fi 8569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8570$as_echo "$lt_cv_ld_force_load" >&6; } 8571 case $host_os in 8572 rhapsody* | darwin1.[012]) 8573 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8574 darwin1.*) 8575 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8576 darwin*) # darwin 5.x on 8577 # if running on 10.5 or later, the deployment target defaults 8578 # to the OS version, if on x86, and 10.4, the deployment 8579 # target defaults to 10.4. Don't you love it? 8580 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8581 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8582 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8583 10.[012][,.]*) 8584 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8585 10.*) 8586 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8587 esac 8588 ;; 8589 esac 8590 if test yes = "$lt_cv_apple_cc_single_mod"; then 8591 _lt_dar_single_mod='$single_module' 8592 fi 8593 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8594 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8595 else 8596 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8597 fi 8598 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8599 _lt_dsymutil='~$DSYMUTIL $lib || :' 8600 else 8601 _lt_dsymutil= 8602 fi 8603 ;; 8604 esac 8605 8606# func_munge_path_list VARIABLE PATH 8607# ----------------------------------- 8608# VARIABLE is name of variable containing _space_ separated list of 8609# directories to be munged by the contents of PATH, which is string 8610# having a format: 8611# "DIR[:DIR]:" 8612# string "DIR[ DIR]" will be prepended to VARIABLE 8613# ":DIR[:DIR]" 8614# string "DIR[ DIR]" will be appended to VARIABLE 8615# "DIRP[:DIRP]::[DIRA:]DIRA" 8616# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8617# "DIRA[ DIRA]" will be appended to VARIABLE 8618# "DIR[:DIR]" 8619# VARIABLE will be replaced by "DIR[ DIR]" 8620func_munge_path_list () 8621{ 8622 case x$2 in 8623 x) 8624 ;; 8625 *:) 8626 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8627 ;; 8628 x:*) 8629 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8630 ;; 8631 *::*) 8632 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8633 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8634 ;; 8635 *) 8636 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8637 ;; 8638 esac 8639} 8640 8641ac_ext=c 8642ac_cpp='$CPP $CPPFLAGS' 8643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8645ac_compiler_gnu=$ac_cv_c_compiler_gnu 8646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 8647$as_echo_n "checking how to run the C preprocessor... " >&6; } 8648# On Suns, sometimes $CPP names a directory. 8649if test -n "$CPP" && test -d "$CPP"; then 8650 CPP= 8651fi 8652if test -z "$CPP"; then 8653 if ${ac_cv_prog_CPP+:} false; then : 8654 $as_echo_n "(cached) " >&6 8655else 8656 # Double quotes because CPP needs to be expanded 8657 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 8658 do 8659 ac_preproc_ok=false 8660for ac_c_preproc_warn_flag in '' yes 8661do 8662 # Use a header file that comes with gcc, so configuring glibc 8663 # with a fresh cross-compiler works. 8664 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8665 # <limits.h> exists even on freestanding compilers. 8666 # On the NeXT, cc -E runs the code through the compiler's parser, 8667 # not just through cpp. "Syntax error" is here to catch this case. 8668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8669/* end confdefs.h. */ 8670#ifdef __STDC__ 8671# include <limits.h> 8672#else 8673# include <assert.h> 8674#endif 8675 Syntax error 8676_ACEOF 8677if ac_fn_c_try_cpp "$LINENO"; then : 8678 8679else 8680 # Broken: fails on valid input. 8681continue 8682fi 8683rm -f conftest.err conftest.i conftest.$ac_ext 8684 8685 # OK, works on sane cases. Now check whether nonexistent headers 8686 # can be detected and how. 8687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8688/* end confdefs.h. */ 8689#include <ac_nonexistent.h> 8690_ACEOF 8691if ac_fn_c_try_cpp "$LINENO"; then : 8692 # Broken: success on invalid input. 8693continue 8694else 8695 # Passes both tests. 8696ac_preproc_ok=: 8697break 8698fi 8699rm -f conftest.err conftest.i conftest.$ac_ext 8700 8701done 8702# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8703rm -f conftest.i conftest.err conftest.$ac_ext 8704if $ac_preproc_ok; then : 8705 break 8706fi 8707 8708 done 8709 ac_cv_prog_CPP=$CPP 8710 8711fi 8712 CPP=$ac_cv_prog_CPP 8713else 8714 ac_cv_prog_CPP=$CPP 8715fi 8716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 8717$as_echo "$CPP" >&6; } 8718ac_preproc_ok=false 8719for ac_c_preproc_warn_flag in '' yes 8720do 8721 # Use a header file that comes with gcc, so configuring glibc 8722 # with a fresh cross-compiler works. 8723 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8724 # <limits.h> exists even on freestanding compilers. 8725 # On the NeXT, cc -E runs the code through the compiler's parser, 8726 # not just through cpp. "Syntax error" is here to catch this case. 8727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8728/* end confdefs.h. */ 8729#ifdef __STDC__ 8730# include <limits.h> 8731#else 8732# include <assert.h> 8733#endif 8734 Syntax error 8735_ACEOF 8736if ac_fn_c_try_cpp "$LINENO"; then : 8737 8738else 8739 # Broken: fails on valid input. 8740continue 8741fi 8742rm -f conftest.err conftest.i conftest.$ac_ext 8743 8744 # OK, works on sane cases. Now check whether nonexistent headers 8745 # can be detected and how. 8746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8747/* end confdefs.h. */ 8748#include <ac_nonexistent.h> 8749_ACEOF 8750if ac_fn_c_try_cpp "$LINENO"; then : 8751 # Broken: success on invalid input. 8752continue 8753else 8754 # Passes both tests. 8755ac_preproc_ok=: 8756break 8757fi 8758rm -f conftest.err conftest.i conftest.$ac_ext 8759 8760done 8761# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8762rm -f conftest.i conftest.err conftest.$ac_ext 8763if $ac_preproc_ok; then : 8764 8765else 8766 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8767$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8768as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 8769See \`config.log' for more details" "$LINENO" 5; } 8770fi 8771 8772ac_ext=c 8773ac_cpp='$CPP $CPPFLAGS' 8774ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8775ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8776ac_compiler_gnu=$ac_cv_c_compiler_gnu 8777 8778 8779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8780$as_echo_n "checking for ANSI C header files... " >&6; } 8781if ${ac_cv_header_stdc+:} false; then : 8782 $as_echo_n "(cached) " >&6 8783else 8784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8785/* end confdefs.h. */ 8786#include <stdlib.h> 8787#include <stdarg.h> 8788#include <string.h> 8789#include <float.h> 8790 8791int 8792main () 8793{ 8794 8795 ; 8796 return 0; 8797} 8798_ACEOF 8799if ac_fn_c_try_compile "$LINENO"; then : 8800 ac_cv_header_stdc=yes 8801else 8802 ac_cv_header_stdc=no 8803fi 8804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8805 8806if test $ac_cv_header_stdc = yes; then 8807 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8809/* end confdefs.h. */ 8810#include <string.h> 8811 8812_ACEOF 8813if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8814 $EGREP "memchr" >/dev/null 2>&1; then : 8815 8816else 8817 ac_cv_header_stdc=no 8818fi 8819rm -f conftest* 8820 8821fi 8822 8823if test $ac_cv_header_stdc = yes; then 8824 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8826/* end confdefs.h. */ 8827#include <stdlib.h> 8828 8829_ACEOF 8830if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8831 $EGREP "free" >/dev/null 2>&1; then : 8832 8833else 8834 ac_cv_header_stdc=no 8835fi 8836rm -f conftest* 8837 8838fi 8839 8840if test $ac_cv_header_stdc = yes; then 8841 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8842 if test "$cross_compiling" = yes; then : 8843 : 8844else 8845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8846/* end confdefs.h. */ 8847#include <ctype.h> 8848#include <stdlib.h> 8849#if ((' ' & 0x0FF) == 0x020) 8850# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8851# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8852#else 8853# define ISLOWER(c) \ 8854 (('a' <= (c) && (c) <= 'i') \ 8855 || ('j' <= (c) && (c) <= 'r') \ 8856 || ('s' <= (c) && (c) <= 'z')) 8857# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8858#endif 8859 8860#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8861int 8862main () 8863{ 8864 int i; 8865 for (i = 0; i < 256; i++) 8866 if (XOR (islower (i), ISLOWER (i)) 8867 || toupper (i) != TOUPPER (i)) 8868 return 2; 8869 return 0; 8870} 8871_ACEOF 8872if ac_fn_c_try_run "$LINENO"; then : 8873 8874else 8875 ac_cv_header_stdc=no 8876fi 8877rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8878 conftest.$ac_objext conftest.beam conftest.$ac_ext 8879fi 8880 8881fi 8882fi 8883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8884$as_echo "$ac_cv_header_stdc" >&6; } 8885if test $ac_cv_header_stdc = yes; then 8886 8887$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8888 8889fi 8890 8891# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8892for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8893 inttypes.h stdint.h unistd.h 8894do : 8895 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8896ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8897" 8898if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8899 cat >>confdefs.h <<_ACEOF 8900#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8901_ACEOF 8902 8903fi 8904 8905done 8906 8907 8908for ac_header in dlfcn.h 8909do : 8910 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8911" 8912if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8913 cat >>confdefs.h <<_ACEOF 8914#define HAVE_DLFCN_H 1 8915_ACEOF 8916 8917fi 8918 8919done 8920 8921 8922 8923func_stripname_cnf () 8924{ 8925 case $2 in 8926 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 8927 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 8928 esac 8929} # func_stripname_cnf 8930 8931 8932 8933 8934 8935# Set options 8936 8937 8938 8939 enable_dlopen=no 8940 8941 8942 8943 # Check whether --enable-shared was given. 8944if test "${enable_shared+set}" = set; then : 8945 enableval=$enable_shared; p=${PACKAGE-default} 8946 case $enableval in 8947 yes) enable_shared=yes ;; 8948 no) enable_shared=no ;; 8949 *) 8950 enable_shared=no 8951 # Look at the argument we got. We use all the common list separators. 8952 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8953 for pkg in $enableval; do 8954 IFS=$lt_save_ifs 8955 if test "X$pkg" = "X$p"; then 8956 enable_shared=yes 8957 fi 8958 done 8959 IFS=$lt_save_ifs 8960 ;; 8961 esac 8962else 8963 enable_shared=yes 8964fi 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976# Check whether --with-pic was given. 8977if test "${with_pic+set}" = set; then : 8978 withval=$with_pic; lt_p=${PACKAGE-default} 8979 case $withval in 8980 yes|no) pic_mode=$withval ;; 8981 *) 8982 pic_mode=default 8983 # Look at the argument we got. We use all the common list separators. 8984 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8985 for lt_pkg in $withval; do 8986 IFS=$lt_save_ifs 8987 if test "X$lt_pkg" = "X$lt_p"; then 8988 pic_mode=yes 8989 fi 8990 done 8991 IFS=$lt_save_ifs 8992 ;; 8993 esac 8994else 8995 pic_mode=default 8996fi 8997 8998 8999 9000 9001 9002 9003 9004 9005 # Check whether --enable-fast-install was given. 9006if test "${enable_fast_install+set}" = set; then : 9007 enableval=$enable_fast_install; p=${PACKAGE-default} 9008 case $enableval in 9009 yes) enable_fast_install=yes ;; 9010 no) enable_fast_install=no ;; 9011 *) 9012 enable_fast_install=no 9013 # Look at the argument we got. We use all the common list separators. 9014 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9015 for pkg in $enableval; do 9016 IFS=$lt_save_ifs 9017 if test "X$pkg" = "X$p"; then 9018 enable_fast_install=yes 9019 fi 9020 done 9021 IFS=$lt_save_ifs 9022 ;; 9023 esac 9024else 9025 enable_fast_install=yes 9026fi 9027 9028 9029 9030 9031 9032 9033 9034 9035 shared_archive_member_spec= 9036case $host,$enable_shared in 9037power*-*-aix[5-9]*,yes) 9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9039$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9040 9041# Check whether --with-aix-soname was given. 9042if test "${with_aix_soname+set}" = set; then : 9043 withval=$with_aix_soname; case $withval in 9044 aix|svr4|both) 9045 ;; 9046 *) 9047 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9048 ;; 9049 esac 9050 lt_cv_with_aix_soname=$with_aix_soname 9051else 9052 if ${lt_cv_with_aix_soname+:} false; then : 9053 $as_echo_n "(cached) " >&6 9054else 9055 lt_cv_with_aix_soname=aix 9056fi 9057 9058 with_aix_soname=$lt_cv_with_aix_soname 9059fi 9060 9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9062$as_echo "$with_aix_soname" >&6; } 9063 if test aix != "$with_aix_soname"; then 9064 # For the AIX way of multilib, we name the shared archive member 9065 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9066 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9067 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9068 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9069 if test 64 = "${OBJECT_MODE-32}"; then 9070 shared_archive_member_spec=shr_64 9071 else 9072 shared_archive_member_spec=shr 9073 fi 9074 fi 9075 ;; 9076*) 9077 with_aix_soname=aix 9078 ;; 9079esac 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090# This can be used to rebuild libtool when needed 9091LIBTOOL_DEPS=$ltmain 9092 9093# Always use our own libtool. 9094LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125test -z "$LN_S" && LN_S="ln -s" 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140if test -n "${ZSH_VERSION+set}"; then 9141 setopt NO_GLOB_SUBST 9142fi 9143 9144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9145$as_echo_n "checking for objdir... " >&6; } 9146if ${lt_cv_objdir+:} false; then : 9147 $as_echo_n "(cached) " >&6 9148else 9149 rm -f .libs 2>/dev/null 9150mkdir .libs 2>/dev/null 9151if test -d .libs; then 9152 lt_cv_objdir=.libs 9153else 9154 # MS-DOS does not allow filenames that begin with a dot. 9155 lt_cv_objdir=_libs 9156fi 9157rmdir .libs 2>/dev/null 9158fi 9159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9160$as_echo "$lt_cv_objdir" >&6; } 9161objdir=$lt_cv_objdir 9162 9163 9164 9165 9166 9167cat >>confdefs.h <<_ACEOF 9168#define LT_OBJDIR "$lt_cv_objdir/" 9169_ACEOF 9170 9171 9172 9173 9174case $host_os in 9175aix3*) 9176 # AIX sometimes has problems with the GCC collect2 program. For some 9177 # reason, if we set the COLLECT_NAMES environment variable, the problems 9178 # vanish in a puff of smoke. 9179 if test set != "${COLLECT_NAMES+set}"; then 9180 COLLECT_NAMES= 9181 export COLLECT_NAMES 9182 fi 9183 ;; 9184esac 9185 9186# Global variables: 9187ofile=libtool 9188can_build_shared=yes 9189 9190# All known linkers require a '.a' archive for static linking (except MSVC, 9191# which needs '.lib'). 9192libext=a 9193 9194with_gnu_ld=$lt_cv_prog_gnu_ld 9195 9196old_CC=$CC 9197old_CFLAGS=$CFLAGS 9198 9199# Set sane defaults for various variables 9200test -z "$CC" && CC=cc 9201test -z "$LTCC" && LTCC=$CC 9202test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9203test -z "$LD" && LD=ld 9204test -z "$ac_objext" && ac_objext=o 9205 9206func_cc_basename $compiler 9207cc_basename=$func_cc_basename_result 9208 9209 9210# Only perform the check for file, if the check method requires it 9211test -z "$MAGIC_CMD" && MAGIC_CMD=file 9212case $deplibs_check_method in 9213file_magic*) 9214 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9216$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9217if ${lt_cv_path_MAGIC_CMD+:} false; then : 9218 $as_echo_n "(cached) " >&6 9219else 9220 case $MAGIC_CMD in 9221[\\/*] | ?:[\\/]*) 9222 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9223 ;; 9224*) 9225 lt_save_MAGIC_CMD=$MAGIC_CMD 9226 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9227 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9228 for ac_dir in $ac_dummy; do 9229 IFS=$lt_save_ifs 9230 test -z "$ac_dir" && ac_dir=. 9231 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9232 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9233 if test -n "$file_magic_test_file"; then 9234 case $deplibs_check_method in 9235 "file_magic "*) 9236 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9237 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9238 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9239 $EGREP "$file_magic_regex" > /dev/null; then 9240 : 9241 else 9242 cat <<_LT_EOF 1>&2 9243 9244*** Warning: the command libtool uses to detect shared libraries, 9245*** $file_magic_cmd, produces output that libtool cannot recognize. 9246*** The result is that libtool may fail to recognize shared libraries 9247*** as such. This will affect the creation of libtool libraries that 9248*** depend on shared libraries, but programs linked with such libtool 9249*** libraries will work regardless of this problem. Nevertheless, you 9250*** may want to report the problem to your system manager and/or to 9251*** bug-libtool@gnu.org 9252 9253_LT_EOF 9254 fi ;; 9255 esac 9256 fi 9257 break 9258 fi 9259 done 9260 IFS=$lt_save_ifs 9261 MAGIC_CMD=$lt_save_MAGIC_CMD 9262 ;; 9263esac 9264fi 9265 9266MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9267if test -n "$MAGIC_CMD"; then 9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9269$as_echo "$MAGIC_CMD" >&6; } 9270else 9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9272$as_echo "no" >&6; } 9273fi 9274 9275 9276 9277 9278 9279if test -z "$lt_cv_path_MAGIC_CMD"; then 9280 if test -n "$ac_tool_prefix"; then 9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9282$as_echo_n "checking for file... " >&6; } 9283if ${lt_cv_path_MAGIC_CMD+:} false; then : 9284 $as_echo_n "(cached) " >&6 9285else 9286 case $MAGIC_CMD in 9287[\\/*] | ?:[\\/]*) 9288 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9289 ;; 9290*) 9291 lt_save_MAGIC_CMD=$MAGIC_CMD 9292 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9293 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9294 for ac_dir in $ac_dummy; do 9295 IFS=$lt_save_ifs 9296 test -z "$ac_dir" && ac_dir=. 9297 if test -f "$ac_dir/file"; then 9298 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9299 if test -n "$file_magic_test_file"; then 9300 case $deplibs_check_method in 9301 "file_magic "*) 9302 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9303 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9304 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9305 $EGREP "$file_magic_regex" > /dev/null; then 9306 : 9307 else 9308 cat <<_LT_EOF 1>&2 9309 9310*** Warning: the command libtool uses to detect shared libraries, 9311*** $file_magic_cmd, produces output that libtool cannot recognize. 9312*** The result is that libtool may fail to recognize shared libraries 9313*** as such. This will affect the creation of libtool libraries that 9314*** depend on shared libraries, but programs linked with such libtool 9315*** libraries will work regardless of this problem. Nevertheless, you 9316*** may want to report the problem to your system manager and/or to 9317*** bug-libtool@gnu.org 9318 9319_LT_EOF 9320 fi ;; 9321 esac 9322 fi 9323 break 9324 fi 9325 done 9326 IFS=$lt_save_ifs 9327 MAGIC_CMD=$lt_save_MAGIC_CMD 9328 ;; 9329esac 9330fi 9331 9332MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9333if test -n "$MAGIC_CMD"; then 9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9335$as_echo "$MAGIC_CMD" >&6; } 9336else 9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9338$as_echo "no" >&6; } 9339fi 9340 9341 9342 else 9343 MAGIC_CMD=: 9344 fi 9345fi 9346 9347 fi 9348 ;; 9349esac 9350 9351# Use C for the default configuration in the libtool script 9352 9353lt_save_CC=$CC 9354ac_ext=c 9355ac_cpp='$CPP $CPPFLAGS' 9356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9358ac_compiler_gnu=$ac_cv_c_compiler_gnu 9359 9360 9361# Source file extension for C test sources. 9362ac_ext=c 9363 9364# Object file extension for compiled C test sources. 9365objext=o 9366objext=$objext 9367 9368# Code to be used in simple compile tests 9369lt_simple_compile_test_code="int some_variable = 0;" 9370 9371# Code to be used in simple link tests 9372lt_simple_link_test_code='int main(){return(0);}' 9373 9374 9375 9376 9377 9378 9379 9380# If no C compiler was specified, use CC. 9381LTCC=${LTCC-"$CC"} 9382 9383# If no C compiler flags were specified, use CFLAGS. 9384LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9385 9386# Allow CC to be a program name with arguments. 9387compiler=$CC 9388 9389# Save the default compiler, since it gets overwritten when the other 9390# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9391compiler_DEFAULT=$CC 9392 9393# save warnings/boilerplate of simple test code 9394ac_outfile=conftest.$ac_objext 9395echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9396eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9397_lt_compiler_boilerplate=`cat conftest.err` 9398$RM conftest* 9399 9400ac_outfile=conftest.$ac_objext 9401echo "$lt_simple_link_test_code" >conftest.$ac_ext 9402eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9403_lt_linker_boilerplate=`cat conftest.err` 9404$RM -r conftest* 9405 9406 9407## CAVEAT EMPTOR: 9408## There is no encapsulation within the following macros, do not change 9409## the running order or otherwise move them around unless you know exactly 9410## what you are doing... 9411if test -n "$compiler"; then 9412 9413lt_prog_compiler_no_builtin_flag= 9414 9415if test yes = "$GCC"; then 9416 case $cc_basename in 9417 nvcc*) 9418 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9419 *) 9420 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9421 esac 9422 9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9424$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9425if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9426 $as_echo_n "(cached) " >&6 9427else 9428 lt_cv_prog_compiler_rtti_exceptions=no 9429 ac_outfile=conftest.$ac_objext 9430 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9431 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9432 # Insert the option either (1) after the last *FLAGS variable, or 9433 # (2) before a word containing "conftest.", or (3) at the end. 9434 # Note that $ac_compile itself does not contain backslashes and begins 9435 # with a dollar sign (not a hyphen), so the echo should work correctly. 9436 # The option is referenced via a variable to avoid confusing sed. 9437 lt_compile=`echo "$ac_compile" | $SED \ 9438 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9439 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9440 -e 's:$: $lt_compiler_flag:'` 9441 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9442 (eval "$lt_compile" 2>conftest.err) 9443 ac_status=$? 9444 cat conftest.err >&5 9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9446 if (exit $ac_status) && test -s "$ac_outfile"; then 9447 # The compiler can only warn and ignore the option if not recognized 9448 # So say no if there are warnings other than the usual output. 9449 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9450 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9451 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9452 lt_cv_prog_compiler_rtti_exceptions=yes 9453 fi 9454 fi 9455 $RM conftest* 9456 9457fi 9458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9459$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9460 9461if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9462 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9463else 9464 : 9465fi 9466 9467fi 9468 9469 9470 9471 9472 9473 9474 lt_prog_compiler_wl= 9475lt_prog_compiler_pic= 9476lt_prog_compiler_static= 9477 9478 9479 if test yes = "$GCC"; then 9480 lt_prog_compiler_wl='-Wl,' 9481 lt_prog_compiler_static='-static' 9482 9483 case $host_os in 9484 aix*) 9485 # All AIX code is PIC. 9486 if test ia64 = "$host_cpu"; then 9487 # AIX 5 now supports IA64 processor 9488 lt_prog_compiler_static='-Bstatic' 9489 fi 9490 lt_prog_compiler_pic='-fPIC' 9491 ;; 9492 9493 amigaos*) 9494 case $host_cpu in 9495 powerpc) 9496 # see comment about AmigaOS4 .so support 9497 lt_prog_compiler_pic='-fPIC' 9498 ;; 9499 m68k) 9500 # FIXME: we need at least 68020 code to build shared libraries, but 9501 # adding the '-m68020' flag to GCC prevents building anything better, 9502 # like '-m68040'. 9503 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9504 ;; 9505 esac 9506 ;; 9507 9508 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9509 # PIC is the default for these OSes. 9510 ;; 9511 9512 mingw* | cygwin* | pw32* | os2* | cegcc*) 9513 # This hack is so that the source file can tell whether it is being 9514 # built for inclusion in a dll (and should export symbols for example). 9515 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9516 # (--disable-auto-import) libraries 9517 lt_prog_compiler_pic='-DDLL_EXPORT' 9518 case $host_os in 9519 os2*) 9520 lt_prog_compiler_static='$wl-static' 9521 ;; 9522 esac 9523 ;; 9524 9525 darwin* | rhapsody*) 9526 # PIC is the default on this platform 9527 # Common symbols not allowed in MH_DYLIB files 9528 lt_prog_compiler_pic='-fno-common' 9529 ;; 9530 9531 haiku*) 9532 # PIC is the default for Haiku. 9533 # The "-static" flag exists, but is broken. 9534 lt_prog_compiler_static= 9535 ;; 9536 9537 hpux*) 9538 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9539 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9540 # sets the default TLS model and affects inlining. 9541 case $host_cpu in 9542 hppa*64*) 9543 # +Z the default 9544 ;; 9545 *) 9546 lt_prog_compiler_pic='-fPIC' 9547 ;; 9548 esac 9549 ;; 9550 9551 interix[3-9]*) 9552 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9553 # Instead, we relocate shared libraries at runtime. 9554 ;; 9555 9556 msdosdjgpp*) 9557 # Just because we use GCC doesn't mean we suddenly get shared libraries 9558 # on systems that don't support them. 9559 lt_prog_compiler_can_build_shared=no 9560 enable_shared=no 9561 ;; 9562 9563 *nto* | *qnx*) 9564 # QNX uses GNU C++, but need to define -shared option too, otherwise 9565 # it will coredump. 9566 lt_prog_compiler_pic='-fPIC -shared' 9567 ;; 9568 9569 sysv4*MP*) 9570 if test -d /usr/nec; then 9571 lt_prog_compiler_pic=-Kconform_pic 9572 fi 9573 ;; 9574 9575 *) 9576 lt_prog_compiler_pic='-fPIC' 9577 ;; 9578 esac 9579 9580 case $cc_basename in 9581 nvcc*) # Cuda Compiler Driver 2.2 9582 lt_prog_compiler_wl='-Xlinker ' 9583 if test -n "$lt_prog_compiler_pic"; then 9584 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9585 fi 9586 ;; 9587 esac 9588 else 9589 # PORTME Check for flag to pass linker flags through the system compiler. 9590 case $host_os in 9591 aix*) 9592 lt_prog_compiler_wl='-Wl,' 9593 if test ia64 = "$host_cpu"; then 9594 # AIX 5 now supports IA64 processor 9595 lt_prog_compiler_static='-Bstatic' 9596 else 9597 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9598 fi 9599 ;; 9600 9601 darwin* | rhapsody*) 9602 # PIC is the default on this platform 9603 # Common symbols not allowed in MH_DYLIB files 9604 lt_prog_compiler_pic='-fno-common' 9605 case $cc_basename in 9606 nagfor*) 9607 # NAG Fortran compiler 9608 lt_prog_compiler_wl='-Wl,-Wl,,' 9609 lt_prog_compiler_pic='-PIC' 9610 lt_prog_compiler_static='-Bstatic' 9611 ;; 9612 esac 9613 ;; 9614 9615 mingw* | cygwin* | pw32* | os2* | cegcc*) 9616 # This hack is so that the source file can tell whether it is being 9617 # built for inclusion in a dll (and should export symbols for example). 9618 lt_prog_compiler_pic='-DDLL_EXPORT' 9619 case $host_os in 9620 os2*) 9621 lt_prog_compiler_static='$wl-static' 9622 ;; 9623 esac 9624 ;; 9625 9626 hpux9* | hpux10* | hpux11*) 9627 lt_prog_compiler_wl='-Wl,' 9628 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9629 # not for PA HP-UX. 9630 case $host_cpu in 9631 hppa*64*|ia64*) 9632 # +Z the default 9633 ;; 9634 *) 9635 lt_prog_compiler_pic='+Z' 9636 ;; 9637 esac 9638 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9639 lt_prog_compiler_static='$wl-a ${wl}archive' 9640 ;; 9641 9642 irix5* | irix6* | nonstopux*) 9643 lt_prog_compiler_wl='-Wl,' 9644 # PIC (with -KPIC) is the default. 9645 lt_prog_compiler_static='-non_shared' 9646 ;; 9647 9648 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9649 case $cc_basename in 9650 # old Intel for x86_64, which still supported -KPIC. 9651 ecc*) 9652 lt_prog_compiler_wl='-Wl,' 9653 lt_prog_compiler_pic='-KPIC' 9654 lt_prog_compiler_static='-static' 9655 ;; 9656 # icc used to be incompatible with GCC. 9657 # ICC 10 doesn't accept -KPIC any more. 9658 icc* | ifort*) 9659 lt_prog_compiler_wl='-Wl,' 9660 lt_prog_compiler_pic='-fPIC' 9661 lt_prog_compiler_static='-static' 9662 ;; 9663 # Lahey Fortran 8.1. 9664 lf95*) 9665 lt_prog_compiler_wl='-Wl,' 9666 lt_prog_compiler_pic='--shared' 9667 lt_prog_compiler_static='--static' 9668 ;; 9669 nagfor*) 9670 # NAG Fortran compiler 9671 lt_prog_compiler_wl='-Wl,-Wl,,' 9672 lt_prog_compiler_pic='-PIC' 9673 lt_prog_compiler_static='-Bstatic' 9674 ;; 9675 tcc*) 9676 # Fabrice Bellard et al's Tiny C Compiler 9677 lt_prog_compiler_wl='-Wl,' 9678 lt_prog_compiler_pic='-fPIC' 9679 lt_prog_compiler_static='-static' 9680 ;; 9681 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9682 # Portland Group compilers (*not* the Pentium gcc compiler, 9683 # which looks to be a dead project) 9684 lt_prog_compiler_wl='-Wl,' 9685 lt_prog_compiler_pic='-fpic' 9686 lt_prog_compiler_static='-Bstatic' 9687 ;; 9688 ccc*) 9689 lt_prog_compiler_wl='-Wl,' 9690 # All Alpha code is PIC. 9691 lt_prog_compiler_static='-non_shared' 9692 ;; 9693 xl* | bgxl* | bgf* | mpixl*) 9694 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9695 lt_prog_compiler_wl='-Wl,' 9696 lt_prog_compiler_pic='-qpic' 9697 lt_prog_compiler_static='-qstaticlink' 9698 ;; 9699 *) 9700 case `$CC -V 2>&1 | sed 5q` in 9701 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9702 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9703 lt_prog_compiler_pic='-KPIC' 9704 lt_prog_compiler_static='-Bstatic' 9705 lt_prog_compiler_wl='' 9706 ;; 9707 *Sun\ F* | *Sun*Fortran*) 9708 lt_prog_compiler_pic='-KPIC' 9709 lt_prog_compiler_static='-Bstatic' 9710 lt_prog_compiler_wl='-Qoption ld ' 9711 ;; 9712 *Sun\ C*) 9713 # Sun C 5.9 9714 lt_prog_compiler_pic='-KPIC' 9715 lt_prog_compiler_static='-Bstatic' 9716 lt_prog_compiler_wl='-Wl,' 9717 ;; 9718 *Intel*\ [CF]*Compiler*) 9719 lt_prog_compiler_wl='-Wl,' 9720 lt_prog_compiler_pic='-fPIC' 9721 lt_prog_compiler_static='-static' 9722 ;; 9723 *Portland\ Group*) 9724 lt_prog_compiler_wl='-Wl,' 9725 lt_prog_compiler_pic='-fpic' 9726 lt_prog_compiler_static='-Bstatic' 9727 ;; 9728 esac 9729 ;; 9730 esac 9731 ;; 9732 9733 newsos6) 9734 lt_prog_compiler_pic='-KPIC' 9735 lt_prog_compiler_static='-Bstatic' 9736 ;; 9737 9738 *nto* | *qnx*) 9739 # QNX uses GNU C++, but need to define -shared option too, otherwise 9740 # it will coredump. 9741 lt_prog_compiler_pic='-fPIC -shared' 9742 ;; 9743 9744 osf3* | osf4* | osf5*) 9745 lt_prog_compiler_wl='-Wl,' 9746 # All OSF/1 code is PIC. 9747 lt_prog_compiler_static='-non_shared' 9748 ;; 9749 9750 rdos*) 9751 lt_prog_compiler_static='-non_shared' 9752 ;; 9753 9754 solaris*) 9755 lt_prog_compiler_pic='-KPIC' 9756 lt_prog_compiler_static='-Bstatic' 9757 case $cc_basename in 9758 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9759 lt_prog_compiler_wl='-Qoption ld ';; 9760 *) 9761 lt_prog_compiler_wl='-Wl,';; 9762 esac 9763 ;; 9764 9765 sunos4*) 9766 lt_prog_compiler_wl='-Qoption ld ' 9767 lt_prog_compiler_pic='-PIC' 9768 lt_prog_compiler_static='-Bstatic' 9769 ;; 9770 9771 sysv4 | sysv4.2uw2* | sysv4.3*) 9772 lt_prog_compiler_wl='-Wl,' 9773 lt_prog_compiler_pic='-KPIC' 9774 lt_prog_compiler_static='-Bstatic' 9775 ;; 9776 9777 sysv4*MP*) 9778 if test -d /usr/nec; then 9779 lt_prog_compiler_pic='-Kconform_pic' 9780 lt_prog_compiler_static='-Bstatic' 9781 fi 9782 ;; 9783 9784 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9785 lt_prog_compiler_wl='-Wl,' 9786 lt_prog_compiler_pic='-KPIC' 9787 lt_prog_compiler_static='-Bstatic' 9788 ;; 9789 9790 unicos*) 9791 lt_prog_compiler_wl='-Wl,' 9792 lt_prog_compiler_can_build_shared=no 9793 ;; 9794 9795 uts4*) 9796 lt_prog_compiler_pic='-pic' 9797 lt_prog_compiler_static='-Bstatic' 9798 ;; 9799 9800 *) 9801 lt_prog_compiler_can_build_shared=no 9802 ;; 9803 esac 9804 fi 9805 9806case $host_os in 9807 # For platforms that do not support PIC, -DPIC is meaningless: 9808 *djgpp*) 9809 lt_prog_compiler_pic= 9810 ;; 9811 *) 9812 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9813 ;; 9814esac 9815 9816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9817$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9818if ${lt_cv_prog_compiler_pic+:} false; then : 9819 $as_echo_n "(cached) " >&6 9820else 9821 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9822fi 9823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9824$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9825lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9826 9827# 9828# Check to make sure the PIC flag actually works. 9829# 9830if test -n "$lt_prog_compiler_pic"; then 9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9832$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9833if ${lt_cv_prog_compiler_pic_works+:} false; then : 9834 $as_echo_n "(cached) " >&6 9835else 9836 lt_cv_prog_compiler_pic_works=no 9837 ac_outfile=conftest.$ac_objext 9838 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9839 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9840 # Insert the option either (1) after the last *FLAGS variable, or 9841 # (2) before a word containing "conftest.", or (3) at the end. 9842 # Note that $ac_compile itself does not contain backslashes and begins 9843 # with a dollar sign (not a hyphen), so the echo should work correctly. 9844 # The option is referenced via a variable to avoid confusing sed. 9845 lt_compile=`echo "$ac_compile" | $SED \ 9846 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9847 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9848 -e 's:$: $lt_compiler_flag:'` 9849 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9850 (eval "$lt_compile" 2>conftest.err) 9851 ac_status=$? 9852 cat conftest.err >&5 9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9854 if (exit $ac_status) && test -s "$ac_outfile"; then 9855 # The compiler can only warn and ignore the option if not recognized 9856 # So say no if there are warnings other than the usual output. 9857 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9858 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9859 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9860 lt_cv_prog_compiler_pic_works=yes 9861 fi 9862 fi 9863 $RM conftest* 9864 9865fi 9866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9867$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9868 9869if test yes = "$lt_cv_prog_compiler_pic_works"; then 9870 case $lt_prog_compiler_pic in 9871 "" | " "*) ;; 9872 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9873 esac 9874else 9875 lt_prog_compiler_pic= 9876 lt_prog_compiler_can_build_shared=no 9877fi 9878 9879fi 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891# 9892# Check to make sure the static flag actually works. 9893# 9894wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9896$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9897if ${lt_cv_prog_compiler_static_works+:} false; then : 9898 $as_echo_n "(cached) " >&6 9899else 9900 lt_cv_prog_compiler_static_works=no 9901 save_LDFLAGS=$LDFLAGS 9902 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9903 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9904 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9905 # The linker can only warn and ignore the option if not recognized 9906 # So say no if there are warnings 9907 if test -s conftest.err; then 9908 # Append any errors to the config.log. 9909 cat conftest.err 1>&5 9910 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9911 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9912 if diff conftest.exp conftest.er2 >/dev/null; then 9913 lt_cv_prog_compiler_static_works=yes 9914 fi 9915 else 9916 lt_cv_prog_compiler_static_works=yes 9917 fi 9918 fi 9919 $RM -r conftest* 9920 LDFLAGS=$save_LDFLAGS 9921 9922fi 9923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9924$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9925 9926if test yes = "$lt_cv_prog_compiler_static_works"; then 9927 : 9928else 9929 lt_prog_compiler_static= 9930fi 9931 9932 9933 9934 9935 9936 9937 9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9939$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9940if ${lt_cv_prog_compiler_c_o+:} false; then : 9941 $as_echo_n "(cached) " >&6 9942else 9943 lt_cv_prog_compiler_c_o=no 9944 $RM -r conftest 2>/dev/null 9945 mkdir conftest 9946 cd conftest 9947 mkdir out 9948 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9949 9950 lt_compiler_flag="-o out/conftest2.$ac_objext" 9951 # Insert the option either (1) after the last *FLAGS variable, or 9952 # (2) before a word containing "conftest.", or (3) at the end. 9953 # Note that $ac_compile itself does not contain backslashes and begins 9954 # with a dollar sign (not a hyphen), so the echo should work correctly. 9955 lt_compile=`echo "$ac_compile" | $SED \ 9956 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9957 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9958 -e 's:$: $lt_compiler_flag:'` 9959 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9960 (eval "$lt_compile" 2>out/conftest.err) 9961 ac_status=$? 9962 cat out/conftest.err >&5 9963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9964 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9965 then 9966 # The compiler can only warn and ignore the option if not recognized 9967 # So say no if there are warnings 9968 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9969 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9970 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9971 lt_cv_prog_compiler_c_o=yes 9972 fi 9973 fi 9974 chmod u+w . 2>&5 9975 $RM conftest* 9976 # SGI C++ compiler will create directory out/ii_files/ for 9977 # template instantiation 9978 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9979 $RM out/* && rmdir out 9980 cd .. 9981 $RM -r conftest 9982 $RM conftest* 9983 9984fi 9985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9986$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9987 9988 9989 9990 9991 9992 9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9994$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9995if ${lt_cv_prog_compiler_c_o+:} false; then : 9996 $as_echo_n "(cached) " >&6 9997else 9998 lt_cv_prog_compiler_c_o=no 9999 $RM -r conftest 2>/dev/null 10000 mkdir conftest 10001 cd conftest 10002 mkdir out 10003 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10004 10005 lt_compiler_flag="-o out/conftest2.$ac_objext" 10006 # Insert the option either (1) after the last *FLAGS variable, or 10007 # (2) before a word containing "conftest.", or (3) at the end. 10008 # Note that $ac_compile itself does not contain backslashes and begins 10009 # with a dollar sign (not a hyphen), so the echo should work correctly. 10010 lt_compile=`echo "$ac_compile" | $SED \ 10011 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10012 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10013 -e 's:$: $lt_compiler_flag:'` 10014 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10015 (eval "$lt_compile" 2>out/conftest.err) 10016 ac_status=$? 10017 cat out/conftest.err >&5 10018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10019 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10020 then 10021 # The compiler can only warn and ignore the option if not recognized 10022 # So say no if there are warnings 10023 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10024 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10025 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10026 lt_cv_prog_compiler_c_o=yes 10027 fi 10028 fi 10029 chmod u+w . 2>&5 10030 $RM conftest* 10031 # SGI C++ compiler will create directory out/ii_files/ for 10032 # template instantiation 10033 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10034 $RM out/* && rmdir out 10035 cd .. 10036 $RM -r conftest 10037 $RM conftest* 10038 10039fi 10040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10041$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10042 10043 10044 10045 10046hard_links=nottested 10047if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10048 # do not overwrite the value of need_locks provided by the user 10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10050$as_echo_n "checking if we can lock with hard links... " >&6; } 10051 hard_links=yes 10052 $RM conftest* 10053 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10054 touch conftest.a 10055 ln conftest.a conftest.b 2>&5 || hard_links=no 10056 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10058$as_echo "$hard_links" >&6; } 10059 if test no = "$hard_links"; then 10060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10061$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10062 need_locks=warn 10063 fi 10064else 10065 need_locks=no 10066fi 10067 10068 10069 10070 10071 10072 10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10074$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10075 10076 runpath_var= 10077 allow_undefined_flag= 10078 always_export_symbols=no 10079 archive_cmds= 10080 archive_expsym_cmds= 10081 compiler_needs_object=no 10082 enable_shared_with_static_runtimes=no 10083 export_dynamic_flag_spec= 10084 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10085 hardcode_automatic=no 10086 hardcode_direct=no 10087 hardcode_direct_absolute=no 10088 hardcode_libdir_flag_spec= 10089 hardcode_libdir_separator= 10090 hardcode_minus_L=no 10091 hardcode_shlibpath_var=unsupported 10092 inherit_rpath=no 10093 link_all_deplibs=unknown 10094 module_cmds= 10095 module_expsym_cmds= 10096 old_archive_from_new_cmds= 10097 old_archive_from_expsyms_cmds= 10098 thread_safe_flag_spec= 10099 whole_archive_flag_spec= 10100 # include_expsyms should be a list of space-separated symbols to be *always* 10101 # included in the symbol list 10102 include_expsyms= 10103 # exclude_expsyms can be an extended regexp of symbols to exclude 10104 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10105 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10106 # as well as any symbol that contains 'd'. 10107 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10108 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10109 # platforms (ab)use it in PIC code, but their linkers get confused if 10110 # the symbol is explicitly referenced. Since portable code cannot 10111 # rely on this symbol name, it's probably fine to never include it in 10112 # preloaded symbol tables. 10113 # Exclude shared library initialization/finalization symbols. 10114 extract_expsyms_cmds= 10115 10116 case $host_os in 10117 cygwin* | mingw* | pw32* | cegcc*) 10118 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10119 # When not using gcc, we currently assume that we are using 10120 # Microsoft Visual C++. 10121 if test yes != "$GCC"; then 10122 with_gnu_ld=no 10123 fi 10124 ;; 10125 interix*) 10126 # we just hope/assume this is gcc and not c89 (= MSVC++) 10127 with_gnu_ld=yes 10128 ;; 10129 openbsd* | bitrig*) 10130 with_gnu_ld=no 10131 ;; 10132 esac 10133 10134 ld_shlibs=yes 10135 10136 # On some targets, GNU ld is compatible enough with the native linker 10137 # that we're better off using the native interface for both. 10138 lt_use_gnu_ld_interface=no 10139 if test yes = "$with_gnu_ld"; then 10140 case $host_os in 10141 aix*) 10142 # The AIX port of GNU ld has always aspired to compatibility 10143 # with the native linker. However, as the warning in the GNU ld 10144 # block says, versions before 2.19.5* couldn't really create working 10145 # shared libraries, regardless of the interface used. 10146 case `$LD -v 2>&1` in 10147 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10148 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10149 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10150 *) 10151 lt_use_gnu_ld_interface=yes 10152 ;; 10153 esac 10154 ;; 10155 *) 10156 lt_use_gnu_ld_interface=yes 10157 ;; 10158 esac 10159 fi 10160 10161 if test yes = "$lt_use_gnu_ld_interface"; then 10162 # If archive_cmds runs LD, not CC, wlarc should be empty 10163 wlarc='$wl' 10164 10165 # Set some defaults for GNU ld with shared library support. These 10166 # are reset later if shared libraries are not supported. Putting them 10167 # here allows them to be overridden if necessary. 10168 runpath_var=LD_RUN_PATH 10169 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10170 export_dynamic_flag_spec='$wl--export-dynamic' 10171 # ancient GNU ld didn't support --whole-archive et. al. 10172 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10173 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10174 else 10175 whole_archive_flag_spec= 10176 fi 10177 supports_anon_versioning=no 10178 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10179 *GNU\ gold*) supports_anon_versioning=yes ;; 10180 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10181 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10182 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10183 *\ 2.11.*) ;; # other 2.11 versions 10184 *) supports_anon_versioning=yes ;; 10185 esac 10186 10187 # See if GNU ld supports shared libraries. 10188 case $host_os in 10189 aix[3-9]*) 10190 # On AIX/PPC, the GNU linker is very broken 10191 if test ia64 != "$host_cpu"; then 10192 ld_shlibs=no 10193 cat <<_LT_EOF 1>&2 10194 10195*** Warning: the GNU linker, at least up to release 2.19, is reported 10196*** to be unable to reliably create shared libraries on AIX. 10197*** Therefore, libtool is disabling shared libraries support. If you 10198*** really care for shared libraries, you may want to install binutils 10199*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10200*** You will then need to restart the configuration process. 10201 10202_LT_EOF 10203 fi 10204 ;; 10205 10206 amigaos*) 10207 case $host_cpu in 10208 powerpc) 10209 # see comment about AmigaOS4 .so support 10210 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10211 archive_expsym_cmds='' 10212 ;; 10213 m68k) 10214 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)' 10215 hardcode_libdir_flag_spec='-L$libdir' 10216 hardcode_minus_L=yes 10217 ;; 10218 esac 10219 ;; 10220 10221 beos*) 10222 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10223 allow_undefined_flag=unsupported 10224 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10225 # support --undefined. This deserves some investigation. FIXME 10226 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10227 else 10228 ld_shlibs=no 10229 fi 10230 ;; 10231 10232 cygwin* | mingw* | pw32* | cegcc*) 10233 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10234 # as there is no search path for DLLs. 10235 hardcode_libdir_flag_spec='-L$libdir' 10236 export_dynamic_flag_spec='$wl--export-all-symbols' 10237 allow_undefined_flag=unsupported 10238 always_export_symbols=no 10239 enable_shared_with_static_runtimes=yes 10240 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' 10241 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10242 10243 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10244 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10245 # If the export-symbols file already is a .def file, use it as 10246 # is; otherwise, prepend EXPORTS... 10247 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10248 cp $export_symbols $output_objdir/$soname.def; 10249 else 10250 echo EXPORTS > $output_objdir/$soname.def; 10251 cat $export_symbols >> $output_objdir/$soname.def; 10252 fi~ 10253 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10254 else 10255 ld_shlibs=no 10256 fi 10257 ;; 10258 10259 haiku*) 10260 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10261 link_all_deplibs=yes 10262 ;; 10263 10264 os2*) 10265 hardcode_libdir_flag_spec='-L$libdir' 10266 hardcode_minus_L=yes 10267 allow_undefined_flag=unsupported 10268 shrext_cmds=.dll 10269 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10270 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10271 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10272 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10273 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10274 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10275 emximp -o $lib $output_objdir/$libname.def' 10276 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10277 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10278 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10279 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10280 prefix_cmds="$SED"~ 10281 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10282 prefix_cmds="$prefix_cmds -e 1d"; 10283 fi~ 10284 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10285 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10286 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10287 emximp -o $lib $output_objdir/$libname.def' 10288 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10289 enable_shared_with_static_runtimes=yes 10290 ;; 10291 10292 interix[3-9]*) 10293 hardcode_direct=no 10294 hardcode_shlibpath_var=no 10295 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10296 export_dynamic_flag_spec='$wl-E' 10297 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10298 # Instead, shared libraries are loaded at an image base (0x10000000 by 10299 # default) and relocated if they conflict, which is a slow very memory 10300 # consuming and fragmenting process. To avoid this, we pick a random, 10301 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10302 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10303 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10304 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' 10305 ;; 10306 10307 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10308 tmp_diet=no 10309 if test linux-dietlibc = "$host_os"; then 10310 case $cc_basename in 10311 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10312 esac 10313 fi 10314 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10315 && test no = "$tmp_diet" 10316 then 10317 tmp_addflag=' $pic_flag' 10318 tmp_sharedflag='-shared' 10319 case $cc_basename,$host_cpu in 10320 pgcc*) # Portland Group C compiler 10321 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' 10322 tmp_addflag=' $pic_flag' 10323 ;; 10324 pgf77* | pgf90* | pgf95* | pgfortran*) 10325 # Portland Group f77 and f90 compilers 10326 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' 10327 tmp_addflag=' $pic_flag -Mnomain' ;; 10328 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10329 tmp_addflag=' -i_dynamic' ;; 10330 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10331 tmp_addflag=' -i_dynamic -nofor_main' ;; 10332 ifc* | ifort*) # Intel Fortran compiler 10333 tmp_addflag=' -nofor_main' ;; 10334 lf95*) # Lahey Fortran 8.1 10335 whole_archive_flag_spec= 10336 tmp_sharedflag='--shared' ;; 10337 nagfor*) # NAGFOR 5.3 10338 tmp_sharedflag='-Wl,-shared' ;; 10339 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10340 tmp_sharedflag='-qmkshrobj' 10341 tmp_addflag= ;; 10342 nvcc*) # Cuda Compiler Driver 2.2 10343 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' 10344 compiler_needs_object=yes 10345 ;; 10346 esac 10347 case `$CC -V 2>&1 | sed 5q` in 10348 *Sun\ C*) # Sun C 5.9 10349 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' 10350 compiler_needs_object=yes 10351 tmp_sharedflag='-G' ;; 10352 *Sun\ F*) # Sun Fortran 8.3 10353 tmp_sharedflag='-G' ;; 10354 esac 10355 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10356 10357 if test yes = "$supports_anon_versioning"; then 10358 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10359 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10360 echo "local: *; };" >> $output_objdir/$libname.ver~ 10361 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10362 fi 10363 10364 case $cc_basename in 10365 tcc*) 10366 export_dynamic_flag_spec='-rdynamic' 10367 ;; 10368 xlf* | bgf* | bgxlf* | mpixlf*) 10369 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10370 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10371 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10372 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10373 if test yes = "$supports_anon_versioning"; then 10374 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10375 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10376 echo "local: *; };" >> $output_objdir/$libname.ver~ 10377 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10378 fi 10379 ;; 10380 esac 10381 else 10382 ld_shlibs=no 10383 fi 10384 ;; 10385 10386 netbsd*) 10387 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10388 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10389 wlarc= 10390 else 10391 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10392 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10393 fi 10394 ;; 10395 10396 solaris*) 10397 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10398 ld_shlibs=no 10399 cat <<_LT_EOF 1>&2 10400 10401*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10402*** create shared libraries on Solaris systems. Therefore, libtool 10403*** is disabling shared libraries support. We urge you to upgrade GNU 10404*** binutils to release 2.9.1 or newer. Another option is to modify 10405*** your PATH or compiler configuration so that the native linker is 10406*** used, and then restart. 10407 10408_LT_EOF 10409 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10410 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10411 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10412 else 10413 ld_shlibs=no 10414 fi 10415 ;; 10416 10417 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10418 case `$LD -v 2>&1` in 10419 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10420 ld_shlibs=no 10421 cat <<_LT_EOF 1>&2 10422 10423*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10424*** reliably create shared libraries on SCO systems. Therefore, libtool 10425*** is disabling shared libraries support. We urge you to upgrade GNU 10426*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10427*** your PATH or compiler configuration so that the native linker is 10428*** used, and then restart. 10429 10430_LT_EOF 10431 ;; 10432 *) 10433 # For security reasons, it is highly recommended that you always 10434 # use absolute paths for naming shared libraries, and exclude the 10435 # DT_RUNPATH tag from executables and libraries. But doing so 10436 # requires that you compile everything twice, which is a pain. 10437 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10438 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10439 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10440 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10441 else 10442 ld_shlibs=no 10443 fi 10444 ;; 10445 esac 10446 ;; 10447 10448 sunos4*) 10449 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10450 wlarc= 10451 hardcode_direct=yes 10452 hardcode_shlibpath_var=no 10453 ;; 10454 10455 *) 10456 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10457 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10458 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10459 else 10460 ld_shlibs=no 10461 fi 10462 ;; 10463 esac 10464 10465 if test no = "$ld_shlibs"; then 10466 runpath_var= 10467 hardcode_libdir_flag_spec= 10468 export_dynamic_flag_spec= 10469 whole_archive_flag_spec= 10470 fi 10471 else 10472 # PORTME fill in a description of your system's linker (not GNU ld) 10473 case $host_os in 10474 aix3*) 10475 allow_undefined_flag=unsupported 10476 always_export_symbols=yes 10477 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' 10478 # Note: this linker hardcodes the directories in LIBPATH if there 10479 # are no directories specified by -L. 10480 hardcode_minus_L=yes 10481 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10482 # Neither direct hardcoding nor static linking is supported with a 10483 # broken collect2. 10484 hardcode_direct=unsupported 10485 fi 10486 ;; 10487 10488 aix[4-9]*) 10489 if test ia64 = "$host_cpu"; then 10490 # On IA64, the linker does run time linking by default, so we don't 10491 # have to do anything special. 10492 aix_use_runtimelinking=no 10493 exp_sym_flag='-Bexport' 10494 no_entry_flag= 10495 else 10496 # If we're using GNU nm, then we don't want the "-C" option. 10497 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10498 # Without the "-l" option, or with the "-B" option, AIX nm treats 10499 # weak defined symbols like other global defined symbols, whereas 10500 # GNU nm marks them as "W". 10501 # While the 'weak' keyword is ignored in the Export File, we need 10502 # it in the Import File for the 'aix-soname' feature, so we have 10503 # to replace the "-B" option with "-P" for AIX nm. 10504 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10505 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' 10506 else 10507 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' 10508 fi 10509 aix_use_runtimelinking=no 10510 10511 # Test if we are trying to use run time linking or normal 10512 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10513 # have runtime linking enabled, and use it for executables. 10514 # For shared libraries, we enable/disable runtime linking 10515 # depending on the kind of the shared library created - 10516 # when "with_aix_soname,aix_use_runtimelinking" is: 10517 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10518 # "aix,yes" lib.so shared, rtl:yes, for executables 10519 # lib.a static archive 10520 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10521 # lib.a(lib.so.V) shared, rtl:no, for executables 10522 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10523 # lib.a(lib.so.V) shared, rtl:no 10524 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10525 # lib.a static archive 10526 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10527 for ld_flag in $LDFLAGS; do 10528 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10529 aix_use_runtimelinking=yes 10530 break 10531 fi 10532 done 10533 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10534 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10535 # so we don't have lib.a shared libs to link our executables. 10536 # We have to force runtime linking in this case. 10537 aix_use_runtimelinking=yes 10538 LDFLAGS="$LDFLAGS -Wl,-brtl" 10539 fi 10540 ;; 10541 esac 10542 10543 exp_sym_flag='-bexport' 10544 no_entry_flag='-bnoentry' 10545 fi 10546 10547 # When large executables or shared objects are built, AIX ld can 10548 # have problems creating the table of contents. If linking a library 10549 # or program results in "error TOC overflow" add -mminimal-toc to 10550 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10551 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10552 10553 archive_cmds='' 10554 hardcode_direct=yes 10555 hardcode_direct_absolute=yes 10556 hardcode_libdir_separator=':' 10557 link_all_deplibs=yes 10558 file_list_spec='$wl-f,' 10559 case $with_aix_soname,$aix_use_runtimelinking in 10560 aix,*) ;; # traditional, no import file 10561 svr4,* | *,yes) # use import file 10562 # The Import File defines what to hardcode. 10563 hardcode_direct=no 10564 hardcode_direct_absolute=no 10565 ;; 10566 esac 10567 10568 if test yes = "$GCC"; then 10569 case $host_os in aix4.[012]|aix4.[012].*) 10570 # We only want to do this on AIX 4.2 and lower, the check 10571 # below for broken collect2 doesn't work under 4.3+ 10572 collect2name=`$CC -print-prog-name=collect2` 10573 if test -f "$collect2name" && 10574 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10575 then 10576 # We have reworked collect2 10577 : 10578 else 10579 # We have old collect2 10580 hardcode_direct=unsupported 10581 # It fails to find uninstalled libraries when the uninstalled 10582 # path is not listed in the libpath. Setting hardcode_minus_L 10583 # to unsupported forces relinking 10584 hardcode_minus_L=yes 10585 hardcode_libdir_flag_spec='-L$libdir' 10586 hardcode_libdir_separator= 10587 fi 10588 ;; 10589 esac 10590 shared_flag='-shared' 10591 if test yes = "$aix_use_runtimelinking"; then 10592 shared_flag="$shared_flag "'$wl-G' 10593 fi 10594 # Need to ensure runtime linking is disabled for the traditional 10595 # shared library, or the linker may eventually find shared libraries 10596 # /with/ Import File - we do not want to mix them. 10597 shared_flag_aix='-shared' 10598 shared_flag_svr4='-shared $wl-G' 10599 else 10600 # not using gcc 10601 if test ia64 = "$host_cpu"; then 10602 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10603 # chokes on -Wl,-G. The following line is correct: 10604 shared_flag='-G' 10605 else 10606 if test yes = "$aix_use_runtimelinking"; then 10607 shared_flag='$wl-G' 10608 else 10609 shared_flag='$wl-bM:SRE' 10610 fi 10611 shared_flag_aix='$wl-bM:SRE' 10612 shared_flag_svr4='$wl-G' 10613 fi 10614 fi 10615 10616 export_dynamic_flag_spec='$wl-bexpall' 10617 # It seems that -bexpall does not export symbols beginning with 10618 # underscore (_), so it is better to generate a list of symbols to export. 10619 always_export_symbols=yes 10620 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10621 # Warning - without using the other runtime loading flags (-brtl), 10622 # -berok will link without error, but may produce a broken library. 10623 allow_undefined_flag='-berok' 10624 # Determine the default libpath from the value encoded in an 10625 # empty executable. 10626 if test set = "${lt_cv_aix_libpath+set}"; then 10627 aix_libpath=$lt_cv_aix_libpath 10628else 10629 if ${lt_cv_aix_libpath_+:} false; then : 10630 $as_echo_n "(cached) " >&6 10631else 10632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10633/* end confdefs.h. */ 10634 10635int 10636main () 10637{ 10638 10639 ; 10640 return 0; 10641} 10642_ACEOF 10643if ac_fn_c_try_link "$LINENO"; then : 10644 10645 lt_aix_libpath_sed=' 10646 /Import File Strings/,/^$/ { 10647 /^0/ { 10648 s/^0 *\([^ ]*\) *$/\1/ 10649 p 10650 } 10651 }' 10652 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10653 # Check for a 64-bit object if we didn't find anything. 10654 if test -z "$lt_cv_aix_libpath_"; then 10655 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10656 fi 10657fi 10658rm -f core conftest.err conftest.$ac_objext \ 10659 conftest$ac_exeext conftest.$ac_ext 10660 if test -z "$lt_cv_aix_libpath_"; then 10661 lt_cv_aix_libpath_=/usr/lib:/lib 10662 fi 10663 10664fi 10665 10666 aix_libpath=$lt_cv_aix_libpath_ 10667fi 10668 10669 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10670 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 10671 else 10672 if test ia64 = "$host_cpu"; then 10673 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10674 allow_undefined_flag="-z nodefs" 10675 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" 10676 else 10677 # Determine the default libpath from the value encoded in an 10678 # empty executable. 10679 if test set = "${lt_cv_aix_libpath+set}"; then 10680 aix_libpath=$lt_cv_aix_libpath 10681else 10682 if ${lt_cv_aix_libpath_+:} false; then : 10683 $as_echo_n "(cached) " >&6 10684else 10685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10686/* end confdefs.h. */ 10687 10688int 10689main () 10690{ 10691 10692 ; 10693 return 0; 10694} 10695_ACEOF 10696if ac_fn_c_try_link "$LINENO"; then : 10697 10698 lt_aix_libpath_sed=' 10699 /Import File Strings/,/^$/ { 10700 /^0/ { 10701 s/^0 *\([^ ]*\) *$/\1/ 10702 p 10703 } 10704 }' 10705 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10706 # Check for a 64-bit object if we didn't find anything. 10707 if test -z "$lt_cv_aix_libpath_"; then 10708 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10709 fi 10710fi 10711rm -f core conftest.err conftest.$ac_objext \ 10712 conftest$ac_exeext conftest.$ac_ext 10713 if test -z "$lt_cv_aix_libpath_"; then 10714 lt_cv_aix_libpath_=/usr/lib:/lib 10715 fi 10716 10717fi 10718 10719 aix_libpath=$lt_cv_aix_libpath_ 10720fi 10721 10722 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10723 # Warning - without using the other run time loading flags, 10724 # -berok will link without error, but may produce a broken library. 10725 no_undefined_flag=' $wl-bernotok' 10726 allow_undefined_flag=' $wl-berok' 10727 if test yes = "$with_gnu_ld"; then 10728 # We only use this code for GNU lds that support --whole-archive. 10729 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10730 else 10731 # Exported symbols can be pulled into shared objects from archives 10732 whole_archive_flag_spec='$convenience' 10733 fi 10734 archive_cmds_need_lc=yes 10735 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10736 # -brtl affects multiple linker settings, -berok does not and is overridden later 10737 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10738 if test svr4 != "$with_aix_soname"; then 10739 # This is similar to how AIX traditionally builds its shared libraries. 10740 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' 10741 fi 10742 if test aix != "$with_aix_soname"; then 10743 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' 10744 else 10745 # used by -dlpreopen to get the symbols 10746 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10747 fi 10748 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10749 fi 10750 fi 10751 ;; 10752 10753 amigaos*) 10754 case $host_cpu in 10755 powerpc) 10756 # see comment about AmigaOS4 .so support 10757 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10758 archive_expsym_cmds='' 10759 ;; 10760 m68k) 10761 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)' 10762 hardcode_libdir_flag_spec='-L$libdir' 10763 hardcode_minus_L=yes 10764 ;; 10765 esac 10766 ;; 10767 10768 bsdi[45]*) 10769 export_dynamic_flag_spec=-rdynamic 10770 ;; 10771 10772 cygwin* | mingw* | pw32* | cegcc*) 10773 # When not using gcc, we currently assume that we are using 10774 # Microsoft Visual C++. 10775 # hardcode_libdir_flag_spec is actually meaningless, as there is 10776 # no search path for DLLs. 10777 case $cc_basename in 10778 cl*) 10779 # Native MSVC 10780 hardcode_libdir_flag_spec=' ' 10781 allow_undefined_flag=unsupported 10782 always_export_symbols=yes 10783 file_list_spec='@' 10784 # Tell ltmain to make .lib files, not .a files. 10785 libext=lib 10786 # Tell ltmain to make .dll files, not .so files. 10787 shrext_cmds=.dll 10788 # FIXME: Setting linknames here is a bad hack. 10789 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10790 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10791 cp "$export_symbols" "$output_objdir/$soname.def"; 10792 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10793 else 10794 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10795 fi~ 10796 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10797 linknames=' 10798 # The linker will not automatically build a static lib if we build a DLL. 10799 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10800 enable_shared_with_static_runtimes=yes 10801 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10802 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10803 # Don't use ranlib 10804 old_postinstall_cmds='chmod 644 $oldlib' 10805 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10806 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10807 case $lt_outputfile in 10808 *.exe|*.EXE) ;; 10809 *) 10810 lt_outputfile=$lt_outputfile.exe 10811 lt_tool_outputfile=$lt_tool_outputfile.exe 10812 ;; 10813 esac~ 10814 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10815 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10816 $RM "$lt_outputfile.manifest"; 10817 fi' 10818 ;; 10819 *) 10820 # Assume MSVC wrapper 10821 hardcode_libdir_flag_spec=' ' 10822 allow_undefined_flag=unsupported 10823 # Tell ltmain to make .lib files, not .a files. 10824 libext=lib 10825 # Tell ltmain to make .dll files, not .so files. 10826 shrext_cmds=.dll 10827 # FIXME: Setting linknames here is a bad hack. 10828 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10829 # The linker will automatically build a .lib file if we build a DLL. 10830 old_archive_from_new_cmds='true' 10831 # FIXME: Should let the user specify the lib program. 10832 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10833 enable_shared_with_static_runtimes=yes 10834 ;; 10835 esac 10836 ;; 10837 10838 darwin* | rhapsody*) 10839 10840 10841 archive_cmds_need_lc=no 10842 hardcode_direct=no 10843 hardcode_automatic=yes 10844 hardcode_shlibpath_var=unsupported 10845 if test yes = "$lt_cv_ld_force_load"; then 10846 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\"`' 10847 10848 else 10849 whole_archive_flag_spec='' 10850 fi 10851 link_all_deplibs=yes 10852 allow_undefined_flag=$_lt_dar_allow_undefined 10853 case $cc_basename in 10854 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10855 *) _lt_dar_can_shared=$GCC ;; 10856 esac 10857 if test yes = "$_lt_dar_can_shared"; then 10858 output_verbose_link_cmd=func_echo_all 10859 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10860 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10861 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" 10862 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" 10863 10864 else 10865 ld_shlibs=no 10866 fi 10867 10868 ;; 10869 10870 dgux*) 10871 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10872 hardcode_libdir_flag_spec='-L$libdir' 10873 hardcode_shlibpath_var=no 10874 ;; 10875 10876 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10877 # support. Future versions do this automatically, but an explicit c++rt0.o 10878 # does not break anything, and helps significantly (at the cost of a little 10879 # extra space). 10880 freebsd2.2*) 10881 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10882 hardcode_libdir_flag_spec='-R$libdir' 10883 hardcode_direct=yes 10884 hardcode_shlibpath_var=no 10885 ;; 10886 10887 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10888 freebsd2.*) 10889 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10890 hardcode_direct=yes 10891 hardcode_minus_L=yes 10892 hardcode_shlibpath_var=no 10893 ;; 10894 10895 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10896 freebsd* | dragonfly*) 10897 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10898 hardcode_libdir_flag_spec='-R$libdir' 10899 hardcode_direct=yes 10900 hardcode_shlibpath_var=no 10901 ;; 10902 10903 hpux9*) 10904 if test yes = "$GCC"; then 10905 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' 10906 else 10907 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' 10908 fi 10909 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10910 hardcode_libdir_separator=: 10911 hardcode_direct=yes 10912 10913 # hardcode_minus_L: Not really in the search PATH, 10914 # but as the default location of the library. 10915 hardcode_minus_L=yes 10916 export_dynamic_flag_spec='$wl-E' 10917 ;; 10918 10919 hpux10*) 10920 if test yes,no = "$GCC,$with_gnu_ld"; then 10921 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10922 else 10923 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10924 fi 10925 if test no = "$with_gnu_ld"; then 10926 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10927 hardcode_libdir_separator=: 10928 hardcode_direct=yes 10929 hardcode_direct_absolute=yes 10930 export_dynamic_flag_spec='$wl-E' 10931 # hardcode_minus_L: Not really in the search PATH, 10932 # but as the default location of the library. 10933 hardcode_minus_L=yes 10934 fi 10935 ;; 10936 10937 hpux11*) 10938 if test yes,no = "$GCC,$with_gnu_ld"; then 10939 case $host_cpu in 10940 hppa*64*) 10941 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10942 ;; 10943 ia64*) 10944 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10945 ;; 10946 *) 10947 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10948 ;; 10949 esac 10950 else 10951 case $host_cpu in 10952 hppa*64*) 10953 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10954 ;; 10955 ia64*) 10956 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10957 ;; 10958 *) 10959 10960 # Older versions of the 11.00 compiler do not understand -b yet 10961 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10963$as_echo_n "checking if $CC understands -b... " >&6; } 10964if ${lt_cv_prog_compiler__b+:} false; then : 10965 $as_echo_n "(cached) " >&6 10966else 10967 lt_cv_prog_compiler__b=no 10968 save_LDFLAGS=$LDFLAGS 10969 LDFLAGS="$LDFLAGS -b" 10970 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10971 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10972 # The linker can only warn and ignore the option if not recognized 10973 # So say no if there are warnings 10974 if test -s conftest.err; then 10975 # Append any errors to the config.log. 10976 cat conftest.err 1>&5 10977 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10978 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10979 if diff conftest.exp conftest.er2 >/dev/null; then 10980 lt_cv_prog_compiler__b=yes 10981 fi 10982 else 10983 lt_cv_prog_compiler__b=yes 10984 fi 10985 fi 10986 $RM -r conftest* 10987 LDFLAGS=$save_LDFLAGS 10988 10989fi 10990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10991$as_echo "$lt_cv_prog_compiler__b" >&6; } 10992 10993if test yes = "$lt_cv_prog_compiler__b"; then 10994 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10995else 10996 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10997fi 10998 10999 ;; 11000 esac 11001 fi 11002 if test no = "$with_gnu_ld"; then 11003 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11004 hardcode_libdir_separator=: 11005 11006 case $host_cpu in 11007 hppa*64*|ia64*) 11008 hardcode_direct=no 11009 hardcode_shlibpath_var=no 11010 ;; 11011 *) 11012 hardcode_direct=yes 11013 hardcode_direct_absolute=yes 11014 export_dynamic_flag_spec='$wl-E' 11015 11016 # hardcode_minus_L: Not really in the search PATH, 11017 # but as the default location of the library. 11018 hardcode_minus_L=yes 11019 ;; 11020 esac 11021 fi 11022 ;; 11023 11024 irix5* | irix6* | nonstopux*) 11025 if test yes = "$GCC"; then 11026 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' 11027 # Try to use the -exported_symbol ld option, if it does not 11028 # work, assume that -exports_file does not work either and 11029 # implicitly export all symbols. 11030 # This should be the same for all languages, so no per-tag cache variable. 11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11032$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11033if ${lt_cv_irix_exported_symbol+:} false; then : 11034 $as_echo_n "(cached) " >&6 11035else 11036 save_LDFLAGS=$LDFLAGS 11037 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11039/* end confdefs.h. */ 11040int foo (void) { return 0; } 11041_ACEOF 11042if ac_fn_c_try_link "$LINENO"; then : 11043 lt_cv_irix_exported_symbol=yes 11044else 11045 lt_cv_irix_exported_symbol=no 11046fi 11047rm -f core conftest.err conftest.$ac_objext \ 11048 conftest$ac_exeext conftest.$ac_ext 11049 LDFLAGS=$save_LDFLAGS 11050fi 11051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11052$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11053 if test yes = "$lt_cv_irix_exported_symbol"; then 11054 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' 11055 fi 11056 else 11057 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' 11058 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' 11059 fi 11060 archive_cmds_need_lc='no' 11061 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11062 hardcode_libdir_separator=: 11063 inherit_rpath=yes 11064 link_all_deplibs=yes 11065 ;; 11066 11067 linux*) 11068 case $cc_basename in 11069 tcc*) 11070 # Fabrice Bellard et al's Tiny C Compiler 11071 ld_shlibs=yes 11072 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11073 ;; 11074 esac 11075 ;; 11076 11077 netbsd*) 11078 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11079 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11080 else 11081 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11082 fi 11083 hardcode_libdir_flag_spec='-R$libdir' 11084 hardcode_direct=yes 11085 hardcode_shlibpath_var=no 11086 ;; 11087 11088 newsos6) 11089 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11090 hardcode_direct=yes 11091 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11092 hardcode_libdir_separator=: 11093 hardcode_shlibpath_var=no 11094 ;; 11095 11096 *nto* | *qnx*) 11097 ;; 11098 11099 openbsd* | bitrig*) 11100 if test -f /usr/libexec/ld.so; then 11101 hardcode_direct=yes 11102 hardcode_shlibpath_var=no 11103 hardcode_direct_absolute=yes 11104 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11105 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11106 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11107 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11108 export_dynamic_flag_spec='$wl-E' 11109 else 11110 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11111 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11112 fi 11113 else 11114 ld_shlibs=no 11115 fi 11116 ;; 11117 11118 os2*) 11119 hardcode_libdir_flag_spec='-L$libdir' 11120 hardcode_minus_L=yes 11121 allow_undefined_flag=unsupported 11122 shrext_cmds=.dll 11123 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11124 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11125 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11126 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11127 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11128 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11129 emximp -o $lib $output_objdir/$libname.def' 11130 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11131 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11132 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11133 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11134 prefix_cmds="$SED"~ 11135 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11136 prefix_cmds="$prefix_cmds -e 1d"; 11137 fi~ 11138 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11139 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11140 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11141 emximp -o $lib $output_objdir/$libname.def' 11142 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11143 enable_shared_with_static_runtimes=yes 11144 ;; 11145 11146 osf3*) 11147 if test yes = "$GCC"; then 11148 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11149 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' 11150 else 11151 allow_undefined_flag=' -expect_unresolved \*' 11152 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' 11153 fi 11154 archive_cmds_need_lc='no' 11155 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11156 hardcode_libdir_separator=: 11157 ;; 11158 11159 osf4* | osf5*) # as osf3* with the addition of -msym flag 11160 if test yes = "$GCC"; then 11161 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11162 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' 11163 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11164 else 11165 allow_undefined_flag=' -expect_unresolved \*' 11166 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' 11167 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~ 11168 $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' 11169 11170 # Both c and cxx compiler support -rpath directly 11171 hardcode_libdir_flag_spec='-rpath $libdir' 11172 fi 11173 archive_cmds_need_lc='no' 11174 hardcode_libdir_separator=: 11175 ;; 11176 11177 solaris*) 11178 no_undefined_flag=' -z defs' 11179 if test yes = "$GCC"; then 11180 wlarc='$wl' 11181 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11182 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11183 $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' 11184 else 11185 case `$CC -V 2>&1` in 11186 *"Compilers 5.0"*) 11187 wlarc='' 11188 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11189 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11190 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11191 ;; 11192 *) 11193 wlarc='$wl' 11194 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11195 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11196 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11197 ;; 11198 esac 11199 fi 11200 hardcode_libdir_flag_spec='-R$libdir' 11201 hardcode_shlibpath_var=no 11202 case $host_os in 11203 solaris2.[0-5] | solaris2.[0-5].*) ;; 11204 *) 11205 # The compiler driver will combine and reorder linker options, 11206 # but understands '-z linker_flag'. GCC discards it without '$wl', 11207 # but is careful enough not to reorder. 11208 # Supported since Solaris 2.6 (maybe 2.5.1?) 11209 if test yes = "$GCC"; then 11210 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11211 else 11212 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11213 fi 11214 ;; 11215 esac 11216 link_all_deplibs=yes 11217 ;; 11218 11219 sunos4*) 11220 if test sequent = "$host_vendor"; then 11221 # Use $CC to link under sequent, because it throws in some extra .o 11222 # files that make .init and .fini sections work. 11223 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11224 else 11225 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11226 fi 11227 hardcode_libdir_flag_spec='-L$libdir' 11228 hardcode_direct=yes 11229 hardcode_minus_L=yes 11230 hardcode_shlibpath_var=no 11231 ;; 11232 11233 sysv4) 11234 case $host_vendor in 11235 sni) 11236 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11237 hardcode_direct=yes # is this really true??? 11238 ;; 11239 siemens) 11240 ## LD is ld it makes a PLAMLIB 11241 ## CC just makes a GrossModule. 11242 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11243 reload_cmds='$CC -r -o $output$reload_objs' 11244 hardcode_direct=no 11245 ;; 11246 motorola) 11247 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11248 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11249 ;; 11250 esac 11251 runpath_var='LD_RUN_PATH' 11252 hardcode_shlibpath_var=no 11253 ;; 11254 11255 sysv4.3*) 11256 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11257 hardcode_shlibpath_var=no 11258 export_dynamic_flag_spec='-Bexport' 11259 ;; 11260 11261 sysv4*MP*) 11262 if test -d /usr/nec; then 11263 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11264 hardcode_shlibpath_var=no 11265 runpath_var=LD_RUN_PATH 11266 hardcode_runpath_var=yes 11267 ld_shlibs=yes 11268 fi 11269 ;; 11270 11271 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11272 no_undefined_flag='$wl-z,text' 11273 archive_cmds_need_lc=no 11274 hardcode_shlibpath_var=no 11275 runpath_var='LD_RUN_PATH' 11276 11277 if test yes = "$GCC"; then 11278 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11279 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11280 else 11281 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11282 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11283 fi 11284 ;; 11285 11286 sysv5* | sco3.2v5* | sco5v6*) 11287 # Note: We CANNOT use -z defs as we might desire, because we do not 11288 # link with -lc, and that would cause any symbols used from libc to 11289 # always be unresolved, which means just about no library would 11290 # ever link correctly. If we're not using GNU ld we use -z text 11291 # though, which does catch some bad symbols but isn't as heavy-handed 11292 # as -z defs. 11293 no_undefined_flag='$wl-z,text' 11294 allow_undefined_flag='$wl-z,nodefs' 11295 archive_cmds_need_lc=no 11296 hardcode_shlibpath_var=no 11297 hardcode_libdir_flag_spec='$wl-R,$libdir' 11298 hardcode_libdir_separator=':' 11299 link_all_deplibs=yes 11300 export_dynamic_flag_spec='$wl-Bexport' 11301 runpath_var='LD_RUN_PATH' 11302 11303 if test yes = "$GCC"; then 11304 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11305 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11306 else 11307 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11308 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11309 fi 11310 ;; 11311 11312 uts4*) 11313 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11314 hardcode_libdir_flag_spec='-L$libdir' 11315 hardcode_shlibpath_var=no 11316 ;; 11317 11318 *) 11319 ld_shlibs=no 11320 ;; 11321 esac 11322 11323 if test sni = "$host_vendor"; then 11324 case $host in 11325 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11326 export_dynamic_flag_spec='$wl-Blargedynsym' 11327 ;; 11328 esac 11329 fi 11330 fi 11331 11332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11333$as_echo "$ld_shlibs" >&6; } 11334test no = "$ld_shlibs" && can_build_shared=no 11335 11336with_gnu_ld=$with_gnu_ld 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352# 11353# Do we need to explicitly link libc? 11354# 11355case "x$archive_cmds_need_lc" in 11356x|xyes) 11357 # Assume -lc should be added 11358 archive_cmds_need_lc=yes 11359 11360 if test yes,yes = "$GCC,$enable_shared"; then 11361 case $archive_cmds in 11362 *'~'*) 11363 # FIXME: we may have to deal with multi-command sequences. 11364 ;; 11365 '$CC '*) 11366 # Test whether the compiler implicitly links with -lc since on some 11367 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11368 # to ld, don't add -lc before -lgcc. 11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11370$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11371if ${lt_cv_archive_cmds_need_lc+:} false; then : 11372 $as_echo_n "(cached) " >&6 11373else 11374 $RM conftest* 11375 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11376 11377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11378 (eval $ac_compile) 2>&5 11379 ac_status=$? 11380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11381 test $ac_status = 0; } 2>conftest.err; then 11382 soname=conftest 11383 lib=conftest 11384 libobjs=conftest.$ac_objext 11385 deplibs= 11386 wl=$lt_prog_compiler_wl 11387 pic_flag=$lt_prog_compiler_pic 11388 compiler_flags=-v 11389 linker_flags=-v 11390 verstring= 11391 output_objdir=. 11392 libname=conftest 11393 lt_save_allow_undefined_flag=$allow_undefined_flag 11394 allow_undefined_flag= 11395 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11396 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11397 ac_status=$? 11398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11399 test $ac_status = 0; } 11400 then 11401 lt_cv_archive_cmds_need_lc=no 11402 else 11403 lt_cv_archive_cmds_need_lc=yes 11404 fi 11405 allow_undefined_flag=$lt_save_allow_undefined_flag 11406 else 11407 cat conftest.err 1>&5 11408 fi 11409 $RM conftest* 11410 11411fi 11412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11413$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11414 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11415 ;; 11416 esac 11417 fi 11418 ;; 11419esac 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 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11573$as_echo_n "checking dynamic linker characteristics... " >&6; } 11574 11575if test yes = "$GCC"; then 11576 case $host_os in 11577 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11578 *) lt_awk_arg='/^libraries:/' ;; 11579 esac 11580 case $host_os in 11581 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11582 *) lt_sed_strip_eq='s|=/|/|g' ;; 11583 esac 11584 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11585 case $lt_search_path_spec in 11586 *\;*) 11587 # if the path contains ";" then we assume it to be the separator 11588 # otherwise default to the standard path separator (i.e. ":") - it is 11589 # assumed that no part of a normal pathname contains ";" but that should 11590 # okay in the real world where ";" in dirpaths is itself problematic. 11591 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11592 ;; 11593 *) 11594 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11595 ;; 11596 esac 11597 # Ok, now we have the path, separated by spaces, we can step through it 11598 # and add multilib dir if necessary... 11599 lt_tmp_lt_search_path_spec= 11600 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11601 # ...but if some path component already ends with the multilib dir we assume 11602 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11603 case "$lt_multi_os_dir; $lt_search_path_spec " in 11604 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11605 lt_multi_os_dir= 11606 ;; 11607 esac 11608 for lt_sys_path in $lt_search_path_spec; do 11609 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11610 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11611 elif test -n "$lt_multi_os_dir"; then 11612 test -d "$lt_sys_path" && \ 11613 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11614 fi 11615 done 11616 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11617BEGIN {RS = " "; FS = "/|\n";} { 11618 lt_foo = ""; 11619 lt_count = 0; 11620 for (lt_i = NF; lt_i > 0; lt_i--) { 11621 if ($lt_i != "" && $lt_i != ".") { 11622 if ($lt_i == "..") { 11623 lt_count++; 11624 } else { 11625 if (lt_count == 0) { 11626 lt_foo = "/" $lt_i lt_foo; 11627 } else { 11628 lt_count--; 11629 } 11630 } 11631 } 11632 } 11633 if (lt_foo != "") { lt_freq[lt_foo]++; } 11634 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11635}'` 11636 # AWK program above erroneously prepends '/' to C:/dos/paths 11637 # for these hosts. 11638 case $host_os in 11639 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11640 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11641 esac 11642 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11643else 11644 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11645fi 11646library_names_spec= 11647libname_spec='lib$name' 11648soname_spec= 11649shrext_cmds=.so 11650postinstall_cmds= 11651postuninstall_cmds= 11652finish_cmds= 11653finish_eval= 11654shlibpath_var= 11655shlibpath_overrides_runpath=unknown 11656version_type=none 11657dynamic_linker="$host_os ld.so" 11658sys_lib_dlsearch_path_spec="/lib /usr/lib" 11659need_lib_prefix=unknown 11660hardcode_into_libs=no 11661 11662# when you set need_version to no, make sure it does not cause -set_version 11663# flags to be left without arguments 11664need_version=unknown 11665 11666 11667 11668case $host_os in 11669aix3*) 11670 version_type=linux # correct to gnu/linux during the next big refactor 11671 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11672 shlibpath_var=LIBPATH 11673 11674 # AIX 3 has no versioning support, so we append a major version to the name. 11675 soname_spec='$libname$release$shared_ext$major' 11676 ;; 11677 11678aix[4-9]*) 11679 version_type=linux # correct to gnu/linux during the next big refactor 11680 need_lib_prefix=no 11681 need_version=no 11682 hardcode_into_libs=yes 11683 if test ia64 = "$host_cpu"; then 11684 # AIX 5 supports IA64 11685 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11686 shlibpath_var=LD_LIBRARY_PATH 11687 else 11688 # With GCC up to 2.95.x, collect2 would create an import file 11689 # for dependence libraries. The import file would start with 11690 # the line '#! .'. This would cause the generated library to 11691 # depend on '.', always an invalid library. This was fixed in 11692 # development snapshots of GCC prior to 3.0. 11693 case $host_os in 11694 aix4 | aix4.[01] | aix4.[01].*) 11695 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11696 echo ' yes ' 11697 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11698 : 11699 else 11700 can_build_shared=no 11701 fi 11702 ;; 11703 esac 11704 # Using Import Files as archive members, it is possible to support 11705 # filename-based versioning of shared library archives on AIX. While 11706 # this would work for both with and without runtime linking, it will 11707 # prevent static linking of such archives. So we do filename-based 11708 # shared library versioning with .so extension only, which is used 11709 # when both runtime linking and shared linking is enabled. 11710 # Unfortunately, runtime linking may impact performance, so we do 11711 # not want this to be the default eventually. Also, we use the 11712 # versioned .so libs for executables only if there is the -brtl 11713 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11714 # To allow for filename-based versioning support, we need to create 11715 # libNAME.so.V as an archive file, containing: 11716 # *) an Import File, referring to the versioned filename of the 11717 # archive as well as the shared archive member, telling the 11718 # bitwidth (32 or 64) of that shared object, and providing the 11719 # list of exported symbols of that shared object, eventually 11720 # decorated with the 'weak' keyword 11721 # *) the shared object with the F_LOADONLY flag set, to really avoid 11722 # it being seen by the linker. 11723 # At run time we better use the real file rather than another symlink, 11724 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11725 11726 case $with_aix_soname,$aix_use_runtimelinking in 11727 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11728 # soname into executable. Probably we can add versioning support to 11729 # collect2, so additional links can be useful in future. 11730 aix,yes) # traditional libtool 11731 dynamic_linker='AIX unversionable lib.so' 11732 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11733 # instead of lib<name>.a to let people know that these are not 11734 # typical AIX shared libraries. 11735 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11736 ;; 11737 aix,no) # traditional AIX only 11738 dynamic_linker='AIX lib.a(lib.so.V)' 11739 # We preserve .a as extension for shared libraries through AIX4.2 11740 # and later when we are not doing run time linking. 11741 library_names_spec='$libname$release.a $libname.a' 11742 soname_spec='$libname$release$shared_ext$major' 11743 ;; 11744 svr4,*) # full svr4 only 11745 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11746 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11747 # We do not specify a path in Import Files, so LIBPATH fires. 11748 shlibpath_overrides_runpath=yes 11749 ;; 11750 *,yes) # both, prefer svr4 11751 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11752 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11753 # unpreferred sharedlib libNAME.a needs extra handling 11754 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"' 11755 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"' 11756 # We do not specify a path in Import Files, so LIBPATH fires. 11757 shlibpath_overrides_runpath=yes 11758 ;; 11759 *,no) # both, prefer aix 11760 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11761 library_names_spec='$libname$release.a $libname.a' 11762 soname_spec='$libname$release$shared_ext$major' 11763 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11764 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)' 11765 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"' 11766 ;; 11767 esac 11768 shlibpath_var=LIBPATH 11769 fi 11770 ;; 11771 11772amigaos*) 11773 case $host_cpu in 11774 powerpc) 11775 # Since July 2007 AmigaOS4 officially supports .so libraries. 11776 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11777 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11778 ;; 11779 m68k) 11780 library_names_spec='$libname.ixlibrary $libname.a' 11781 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11782 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' 11783 ;; 11784 esac 11785 ;; 11786 11787beos*) 11788 library_names_spec='$libname$shared_ext' 11789 dynamic_linker="$host_os ld.so" 11790 shlibpath_var=LIBRARY_PATH 11791 ;; 11792 11793bsdi[45]*) 11794 version_type=linux # correct to gnu/linux during the next big refactor 11795 need_version=no 11796 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11797 soname_spec='$libname$release$shared_ext$major' 11798 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11799 shlibpath_var=LD_LIBRARY_PATH 11800 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11801 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11802 # the default ld.so.conf also contains /usr/contrib/lib and 11803 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11804 # libtool to hard-code these into programs 11805 ;; 11806 11807cygwin* | mingw* | pw32* | cegcc*) 11808 version_type=windows 11809 shrext_cmds=.dll 11810 need_version=no 11811 need_lib_prefix=no 11812 11813 case $GCC,$cc_basename in 11814 yes,*) 11815 # gcc 11816 library_names_spec='$libname.dll.a' 11817 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11818 postinstall_cmds='base_file=`basename \$file`~ 11819 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11820 dldir=$destdir/`dirname \$dlpath`~ 11821 test -d \$dldir || mkdir -p \$dldir~ 11822 $install_prog $dir/$dlname \$dldir/$dlname~ 11823 chmod a+x \$dldir/$dlname~ 11824 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11825 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11826 fi' 11827 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11828 dlpath=$dir/\$dldll~ 11829 $RM \$dlpath' 11830 shlibpath_overrides_runpath=yes 11831 11832 case $host_os in 11833 cygwin*) 11834 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11835 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11836 11837 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11838 ;; 11839 mingw* | cegcc*) 11840 # MinGW DLLs use traditional 'lib' prefix 11841 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11842 ;; 11843 pw32*) 11844 # pw32 DLLs use 'pw' prefix rather than 'lib' 11845 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11846 ;; 11847 esac 11848 dynamic_linker='Win32 ld.exe' 11849 ;; 11850 11851 *,cl*) 11852 # Native MSVC 11853 libname_spec='$name' 11854 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11855 library_names_spec='$libname.dll.lib' 11856 11857 case $build_os in 11858 mingw*) 11859 sys_lib_search_path_spec= 11860 lt_save_ifs=$IFS 11861 IFS=';' 11862 for lt_path in $LIB 11863 do 11864 IFS=$lt_save_ifs 11865 # Let DOS variable expansion print the short 8.3 style file name. 11866 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11867 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11868 done 11869 IFS=$lt_save_ifs 11870 # Convert to MSYS style. 11871 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11872 ;; 11873 cygwin*) 11874 # Convert to unix form, then to dos form, then back to unix form 11875 # but this time dos style (no spaces!) so that the unix form looks 11876 # like /cygdrive/c/PROGRA~1:/cygdr... 11877 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11878 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11879 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11880 ;; 11881 *) 11882 sys_lib_search_path_spec=$LIB 11883 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11884 # It is most probably a Windows format PATH. 11885 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11886 else 11887 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11888 fi 11889 # FIXME: find the short name or the path components, as spaces are 11890 # common. (e.g. "Program Files" -> "PROGRA~1") 11891 ;; 11892 esac 11893 11894 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11895 postinstall_cmds='base_file=`basename \$file`~ 11896 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11897 dldir=$destdir/`dirname \$dlpath`~ 11898 test -d \$dldir || mkdir -p \$dldir~ 11899 $install_prog $dir/$dlname \$dldir/$dlname' 11900 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11901 dlpath=$dir/\$dldll~ 11902 $RM \$dlpath' 11903 shlibpath_overrides_runpath=yes 11904 dynamic_linker='Win32 link.exe' 11905 ;; 11906 11907 *) 11908 # Assume MSVC wrapper 11909 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11910 dynamic_linker='Win32 ld.exe' 11911 ;; 11912 esac 11913 # FIXME: first we should search . and the directory the executable is in 11914 shlibpath_var=PATH 11915 ;; 11916 11917darwin* | rhapsody*) 11918 dynamic_linker="$host_os dyld" 11919 version_type=darwin 11920 need_lib_prefix=no 11921 need_version=no 11922 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11923 soname_spec='$libname$release$major$shared_ext' 11924 shlibpath_overrides_runpath=yes 11925 shlibpath_var=DYLD_LIBRARY_PATH 11926 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11927 11928 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11929 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11930 ;; 11931 11932dgux*) 11933 version_type=linux # correct to gnu/linux during the next big refactor 11934 need_lib_prefix=no 11935 need_version=no 11936 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11937 soname_spec='$libname$release$shared_ext$major' 11938 shlibpath_var=LD_LIBRARY_PATH 11939 ;; 11940 11941freebsd* | dragonfly*) 11942 # DragonFly does not have aout. When/if they implement a new 11943 # versioning mechanism, adjust this. 11944 if test -x /usr/bin/objformat; then 11945 objformat=`/usr/bin/objformat` 11946 else 11947 case $host_os in 11948 freebsd[23].*) objformat=aout ;; 11949 *) objformat=elf ;; 11950 esac 11951 fi 11952 version_type=freebsd-$objformat 11953 case $version_type in 11954 freebsd-elf*) 11955 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11956 soname_spec='$libname$release$shared_ext$major' 11957 need_version=no 11958 need_lib_prefix=no 11959 ;; 11960 freebsd-*) 11961 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11962 need_version=yes 11963 ;; 11964 esac 11965 shlibpath_var=LD_LIBRARY_PATH 11966 case $host_os in 11967 freebsd2.*) 11968 shlibpath_overrides_runpath=yes 11969 ;; 11970 freebsd3.[01]* | freebsdelf3.[01]*) 11971 shlibpath_overrides_runpath=yes 11972 hardcode_into_libs=yes 11973 ;; 11974 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11975 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11976 shlibpath_overrides_runpath=no 11977 hardcode_into_libs=yes 11978 ;; 11979 *) # from 4.6 on, and DragonFly 11980 shlibpath_overrides_runpath=yes 11981 hardcode_into_libs=yes 11982 ;; 11983 esac 11984 ;; 11985 11986haiku*) 11987 version_type=linux # correct to gnu/linux during the next big refactor 11988 need_lib_prefix=no 11989 need_version=no 11990 dynamic_linker="$host_os runtime_loader" 11991 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11992 soname_spec='$libname$release$shared_ext$major' 11993 shlibpath_var=LIBRARY_PATH 11994 shlibpath_overrides_runpath=no 11995 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11996 hardcode_into_libs=yes 11997 ;; 11998 11999hpux9* | hpux10* | hpux11*) 12000 # Give a soname corresponding to the major version so that dld.sl refuses to 12001 # link against other versions. 12002 version_type=sunos 12003 need_lib_prefix=no 12004 need_version=no 12005 case $host_cpu in 12006 ia64*) 12007 shrext_cmds='.so' 12008 hardcode_into_libs=yes 12009 dynamic_linker="$host_os dld.so" 12010 shlibpath_var=LD_LIBRARY_PATH 12011 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12012 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12013 soname_spec='$libname$release$shared_ext$major' 12014 if test 32 = "$HPUX_IA64_MODE"; then 12015 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12016 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12017 else 12018 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12019 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12020 fi 12021 ;; 12022 hppa*64*) 12023 shrext_cmds='.sl' 12024 hardcode_into_libs=yes 12025 dynamic_linker="$host_os dld.sl" 12026 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12027 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12028 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12029 soname_spec='$libname$release$shared_ext$major' 12030 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12031 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12032 ;; 12033 *) 12034 shrext_cmds='.sl' 12035 dynamic_linker="$host_os dld.sl" 12036 shlibpath_var=SHLIB_PATH 12037 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12038 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12039 soname_spec='$libname$release$shared_ext$major' 12040 ;; 12041 esac 12042 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12043 postinstall_cmds='chmod 555 $lib' 12044 # or fails outright, so override atomically: 12045 install_override_mode=555 12046 ;; 12047 12048interix[3-9]*) 12049 version_type=linux # correct to gnu/linux during the next big refactor 12050 need_lib_prefix=no 12051 need_version=no 12052 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12053 soname_spec='$libname$release$shared_ext$major' 12054 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12055 shlibpath_var=LD_LIBRARY_PATH 12056 shlibpath_overrides_runpath=no 12057 hardcode_into_libs=yes 12058 ;; 12059 12060irix5* | irix6* | nonstopux*) 12061 case $host_os in 12062 nonstopux*) version_type=nonstopux ;; 12063 *) 12064 if test yes = "$lt_cv_prog_gnu_ld"; then 12065 version_type=linux # correct to gnu/linux during the next big refactor 12066 else 12067 version_type=irix 12068 fi ;; 12069 esac 12070 need_lib_prefix=no 12071 need_version=no 12072 soname_spec='$libname$release$shared_ext$major' 12073 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12074 case $host_os in 12075 irix5* | nonstopux*) 12076 libsuff= shlibsuff= 12077 ;; 12078 *) 12079 case $LD in # libtool.m4 will add one of these switches to LD 12080 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12081 libsuff= shlibsuff= libmagic=32-bit;; 12082 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12083 libsuff=32 shlibsuff=N32 libmagic=N32;; 12084 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12085 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12086 *) libsuff= shlibsuff= libmagic=never-match;; 12087 esac 12088 ;; 12089 esac 12090 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12091 shlibpath_overrides_runpath=no 12092 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12093 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12094 hardcode_into_libs=yes 12095 ;; 12096 12097# No shared lib support for Linux oldld, aout, or coff. 12098linux*oldld* | linux*aout* | linux*coff*) 12099 dynamic_linker=no 12100 ;; 12101 12102linux*android*) 12103 version_type=none # Android doesn't support versioned libraries. 12104 need_lib_prefix=no 12105 need_version=no 12106 library_names_spec='$libname$release$shared_ext' 12107 soname_spec='$libname$release$shared_ext' 12108 finish_cmds= 12109 shlibpath_var=LD_LIBRARY_PATH 12110 shlibpath_overrides_runpath=yes 12111 12112 # This implies no fast_install, which is unacceptable. 12113 # Some rework will be needed to allow for fast_install 12114 # before this can be enabled. 12115 hardcode_into_libs=yes 12116 12117 dynamic_linker='Android linker' 12118 # Don't embed -rpath directories since the linker doesn't support them. 12119 hardcode_libdir_flag_spec='-L$libdir' 12120 ;; 12121 12122# This must be glibc/ELF. 12123linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12124 version_type=linux # correct to gnu/linux during the next big refactor 12125 need_lib_prefix=no 12126 need_version=no 12127 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12128 soname_spec='$libname$release$shared_ext$major' 12129 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12130 shlibpath_var=LD_LIBRARY_PATH 12131 shlibpath_overrides_runpath=no 12132 12133 # Some binutils ld are patched to set DT_RUNPATH 12134 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12135 $as_echo_n "(cached) " >&6 12136else 12137 lt_cv_shlibpath_overrides_runpath=no 12138 save_LDFLAGS=$LDFLAGS 12139 save_libdir=$libdir 12140 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12141 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12143/* end confdefs.h. */ 12144 12145int 12146main () 12147{ 12148 12149 ; 12150 return 0; 12151} 12152_ACEOF 12153if ac_fn_c_try_link "$LINENO"; then : 12154 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12155 lt_cv_shlibpath_overrides_runpath=yes 12156fi 12157fi 12158rm -f core conftest.err conftest.$ac_objext \ 12159 conftest$ac_exeext conftest.$ac_ext 12160 LDFLAGS=$save_LDFLAGS 12161 libdir=$save_libdir 12162 12163fi 12164 12165 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12166 12167 # This implies no fast_install, which is unacceptable. 12168 # Some rework will be needed to allow for fast_install 12169 # before this can be enabled. 12170 hardcode_into_libs=yes 12171 12172 # Add ABI-specific directories to the system library path. 12173 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 12174 12175 # Ideally, we could use ldconfig to report *all* directores which are 12176 # searched for libraries, however this is still not possible. Aside from not 12177 # being certain /sbin/ldconfig is available, command 12178 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12179 # even though it is searched at run-time. Try to do the best guess by 12180 # appending ld.so.conf contents (and includes) to the search path. 12181 if test -f /etc/ld.so.conf; then 12182 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' ' '` 12183 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 12184 fi 12185 12186 # We used to test for /lib/ld.so.1 and disable shared libraries on 12187 # powerpc, because MkLinux only supported shared libraries with the 12188 # GNU dynamic linker. Since this was broken with cross compilers, 12189 # most powerpc-linux boxes support dynamic linking these days and 12190 # people can always --disable-shared, the test was removed, and we 12191 # assume the GNU/Linux dynamic linker is in use. 12192 dynamic_linker='GNU/Linux ld.so' 12193 ;; 12194 12195netbsd*) 12196 version_type=sunos 12197 need_lib_prefix=no 12198 need_version=no 12199 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12200 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12201 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12202 dynamic_linker='NetBSD (a.out) ld.so' 12203 else 12204 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12205 soname_spec='$libname$release$shared_ext$major' 12206 dynamic_linker='NetBSD ld.elf_so' 12207 fi 12208 shlibpath_var=LD_LIBRARY_PATH 12209 shlibpath_overrides_runpath=yes 12210 hardcode_into_libs=yes 12211 ;; 12212 12213newsos6) 12214 version_type=linux # correct to gnu/linux during the next big refactor 12215 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12216 shlibpath_var=LD_LIBRARY_PATH 12217 shlibpath_overrides_runpath=yes 12218 ;; 12219 12220*nto* | *qnx*) 12221 version_type=qnx 12222 need_lib_prefix=no 12223 need_version=no 12224 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12225 soname_spec='$libname$release$shared_ext$major' 12226 shlibpath_var=LD_LIBRARY_PATH 12227 shlibpath_overrides_runpath=no 12228 hardcode_into_libs=yes 12229 dynamic_linker='ldqnx.so' 12230 ;; 12231 12232openbsd* | bitrig*) 12233 version_type=sunos 12234 sys_lib_dlsearch_path_spec=/usr/lib 12235 need_lib_prefix=no 12236 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12237 need_version=no 12238 else 12239 need_version=yes 12240 fi 12241 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12242 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12243 shlibpath_var=LD_LIBRARY_PATH 12244 shlibpath_overrides_runpath=yes 12245 ;; 12246 12247os2*) 12248 libname_spec='$name' 12249 version_type=windows 12250 shrext_cmds=.dll 12251 need_version=no 12252 need_lib_prefix=no 12253 # OS/2 can only load a DLL with a base name of 8 characters or less. 12254 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12255 v=$($ECHO $release$versuffix | tr -d .-); 12256 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12257 $ECHO $n$v`$shared_ext' 12258 library_names_spec='${libname}_dll.$libext' 12259 dynamic_linker='OS/2 ld.exe' 12260 shlibpath_var=BEGINLIBPATH 12261 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12262 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12263 postinstall_cmds='base_file=`basename \$file`~ 12264 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12265 dldir=$destdir/`dirname \$dlpath`~ 12266 test -d \$dldir || mkdir -p \$dldir~ 12267 $install_prog $dir/$dlname \$dldir/$dlname~ 12268 chmod a+x \$dldir/$dlname~ 12269 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12270 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12271 fi' 12272 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12273 dlpath=$dir/\$dldll~ 12274 $RM \$dlpath' 12275 ;; 12276 12277osf3* | osf4* | osf5*) 12278 version_type=osf 12279 need_lib_prefix=no 12280 need_version=no 12281 soname_spec='$libname$release$shared_ext$major' 12282 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12283 shlibpath_var=LD_LIBRARY_PATH 12284 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12285 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12286 ;; 12287 12288rdos*) 12289 dynamic_linker=no 12290 ;; 12291 12292solaris*) 12293 version_type=linux # correct to gnu/linux during the next big refactor 12294 need_lib_prefix=no 12295 need_version=no 12296 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12297 soname_spec='$libname$release$shared_ext$major' 12298 shlibpath_var=LD_LIBRARY_PATH 12299 shlibpath_overrides_runpath=yes 12300 hardcode_into_libs=yes 12301 # ldd complains unless libraries are executable 12302 postinstall_cmds='chmod +x $lib' 12303 ;; 12304 12305sunos4*) 12306 version_type=sunos 12307 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12308 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12309 shlibpath_var=LD_LIBRARY_PATH 12310 shlibpath_overrides_runpath=yes 12311 if test yes = "$with_gnu_ld"; then 12312 need_lib_prefix=no 12313 fi 12314 need_version=yes 12315 ;; 12316 12317sysv4 | sysv4.3*) 12318 version_type=linux # correct to gnu/linux during the next big refactor 12319 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12320 soname_spec='$libname$release$shared_ext$major' 12321 shlibpath_var=LD_LIBRARY_PATH 12322 case $host_vendor in 12323 sni) 12324 shlibpath_overrides_runpath=no 12325 need_lib_prefix=no 12326 runpath_var=LD_RUN_PATH 12327 ;; 12328 siemens) 12329 need_lib_prefix=no 12330 ;; 12331 motorola) 12332 need_lib_prefix=no 12333 need_version=no 12334 shlibpath_overrides_runpath=no 12335 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12336 ;; 12337 esac 12338 ;; 12339 12340sysv4*MP*) 12341 if test -d /usr/nec; then 12342 version_type=linux # correct to gnu/linux during the next big refactor 12343 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12344 soname_spec='$libname$shared_ext.$major' 12345 shlibpath_var=LD_LIBRARY_PATH 12346 fi 12347 ;; 12348 12349sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12350 version_type=sco 12351 need_lib_prefix=no 12352 need_version=no 12353 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12354 soname_spec='$libname$release$shared_ext$major' 12355 shlibpath_var=LD_LIBRARY_PATH 12356 shlibpath_overrides_runpath=yes 12357 hardcode_into_libs=yes 12358 if test yes = "$with_gnu_ld"; then 12359 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12360 else 12361 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12362 case $host_os in 12363 sco3.2v5*) 12364 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12365 ;; 12366 esac 12367 fi 12368 sys_lib_dlsearch_path_spec='/usr/lib' 12369 ;; 12370 12371tpf*) 12372 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12373 version_type=linux # correct to gnu/linux during the next big refactor 12374 need_lib_prefix=no 12375 need_version=no 12376 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12377 shlibpath_var=LD_LIBRARY_PATH 12378 shlibpath_overrides_runpath=no 12379 hardcode_into_libs=yes 12380 ;; 12381 12382uts4*) 12383 version_type=linux # correct to gnu/linux during the next big refactor 12384 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12385 soname_spec='$libname$release$shared_ext$major' 12386 shlibpath_var=LD_LIBRARY_PATH 12387 ;; 12388 12389*) 12390 dynamic_linker=no 12391 ;; 12392esac 12393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12394$as_echo "$dynamic_linker" >&6; } 12395test no = "$dynamic_linker" && can_build_shared=no 12396 12397variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12398if test yes = "$GCC"; then 12399 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12400fi 12401 12402if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12403 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12404fi 12405 12406if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12407 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12408fi 12409 12410# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12411configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12412 12413# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12414func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12415 12416# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12417configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 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 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12516$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12517hardcode_action= 12518if test -n "$hardcode_libdir_flag_spec" || 12519 test -n "$runpath_var" || 12520 test yes = "$hardcode_automatic"; then 12521 12522 # We can hardcode non-existent directories. 12523 if test no != "$hardcode_direct" && 12524 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12525 # have to relink, otherwise we might link with an installed library 12526 # when we should be linking with a yet-to-be-installed one 12527 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12528 test no != "$hardcode_minus_L"; then 12529 # Linking always hardcodes the temporary library directory. 12530 hardcode_action=relink 12531 else 12532 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12533 hardcode_action=immediate 12534 fi 12535else 12536 # We cannot hardcode anything, or else we can only hardcode existing 12537 # directories. 12538 hardcode_action=unsupported 12539fi 12540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12541$as_echo "$hardcode_action" >&6; } 12542 12543if test relink = "$hardcode_action" || 12544 test yes = "$inherit_rpath"; then 12545 # Fast installation is not supported 12546 enable_fast_install=no 12547elif test yes = "$shlibpath_overrides_runpath" || 12548 test no = "$enable_shared"; then 12549 # Fast installation is not necessary 12550 enable_fast_install=needless 12551fi 12552 12553 12554 12555 12556 12557 12558 if test yes != "$enable_dlopen"; then 12559 enable_dlopen=unknown 12560 enable_dlopen_self=unknown 12561 enable_dlopen_self_static=unknown 12562else 12563 lt_cv_dlopen=no 12564 lt_cv_dlopen_libs= 12565 12566 case $host_os in 12567 beos*) 12568 lt_cv_dlopen=load_add_on 12569 lt_cv_dlopen_libs= 12570 lt_cv_dlopen_self=yes 12571 ;; 12572 12573 mingw* | pw32* | cegcc*) 12574 lt_cv_dlopen=LoadLibrary 12575 lt_cv_dlopen_libs= 12576 ;; 12577 12578 cygwin*) 12579 lt_cv_dlopen=dlopen 12580 lt_cv_dlopen_libs= 12581 ;; 12582 12583 darwin*) 12584 # if libdl is installed we need to link against it 12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12586$as_echo_n "checking for dlopen in -ldl... " >&6; } 12587if ${ac_cv_lib_dl_dlopen+:} false; then : 12588 $as_echo_n "(cached) " >&6 12589else 12590 ac_check_lib_save_LIBS=$LIBS 12591LIBS="-ldl $LIBS" 12592cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12593/* end confdefs.h. */ 12594 12595/* Override any GCC internal prototype to avoid an error. 12596 Use char because int might match the return type of a GCC 12597 builtin and then its argument prototype would still apply. */ 12598#ifdef __cplusplus 12599extern "C" 12600#endif 12601char dlopen (); 12602int 12603main () 12604{ 12605return dlopen (); 12606 ; 12607 return 0; 12608} 12609_ACEOF 12610if ac_fn_c_try_link "$LINENO"; then : 12611 ac_cv_lib_dl_dlopen=yes 12612else 12613 ac_cv_lib_dl_dlopen=no 12614fi 12615rm -f core conftest.err conftest.$ac_objext \ 12616 conftest$ac_exeext conftest.$ac_ext 12617LIBS=$ac_check_lib_save_LIBS 12618fi 12619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12620$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12621if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12622 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12623else 12624 12625 lt_cv_dlopen=dyld 12626 lt_cv_dlopen_libs= 12627 lt_cv_dlopen_self=yes 12628 12629fi 12630 12631 ;; 12632 12633 tpf*) 12634 # Don't try to run any link tests for TPF. We know it's impossible 12635 # because TPF is a cross-compiler, and we know how we open DSOs. 12636 lt_cv_dlopen=dlopen 12637 lt_cv_dlopen_libs= 12638 lt_cv_dlopen_self=no 12639 ;; 12640 12641 *) 12642 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12643if test "x$ac_cv_func_shl_load" = xyes; then : 12644 lt_cv_dlopen=shl_load 12645else 12646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12647$as_echo_n "checking for shl_load in -ldld... " >&6; } 12648if ${ac_cv_lib_dld_shl_load+:} false; then : 12649 $as_echo_n "(cached) " >&6 12650else 12651 ac_check_lib_save_LIBS=$LIBS 12652LIBS="-ldld $LIBS" 12653cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12654/* end confdefs.h. */ 12655 12656/* Override any GCC internal prototype to avoid an error. 12657 Use char because int might match the return type of a GCC 12658 builtin and then its argument prototype would still apply. */ 12659#ifdef __cplusplus 12660extern "C" 12661#endif 12662char shl_load (); 12663int 12664main () 12665{ 12666return shl_load (); 12667 ; 12668 return 0; 12669} 12670_ACEOF 12671if ac_fn_c_try_link "$LINENO"; then : 12672 ac_cv_lib_dld_shl_load=yes 12673else 12674 ac_cv_lib_dld_shl_load=no 12675fi 12676rm -f core conftest.err conftest.$ac_objext \ 12677 conftest$ac_exeext conftest.$ac_ext 12678LIBS=$ac_check_lib_save_LIBS 12679fi 12680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12681$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12682if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12683 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12684else 12685 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12686if test "x$ac_cv_func_dlopen" = xyes; then : 12687 lt_cv_dlopen=dlopen 12688else 12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12690$as_echo_n "checking for dlopen in -ldl... " >&6; } 12691if ${ac_cv_lib_dl_dlopen+:} false; then : 12692 $as_echo_n "(cached) " >&6 12693else 12694 ac_check_lib_save_LIBS=$LIBS 12695LIBS="-ldl $LIBS" 12696cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12697/* end confdefs.h. */ 12698 12699/* Override any GCC internal prototype to avoid an error. 12700 Use char because int might match the return type of a GCC 12701 builtin and then its argument prototype would still apply. */ 12702#ifdef __cplusplus 12703extern "C" 12704#endif 12705char dlopen (); 12706int 12707main () 12708{ 12709return dlopen (); 12710 ; 12711 return 0; 12712} 12713_ACEOF 12714if ac_fn_c_try_link "$LINENO"; then : 12715 ac_cv_lib_dl_dlopen=yes 12716else 12717 ac_cv_lib_dl_dlopen=no 12718fi 12719rm -f core conftest.err conftest.$ac_objext \ 12720 conftest$ac_exeext conftest.$ac_ext 12721LIBS=$ac_check_lib_save_LIBS 12722fi 12723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12724$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12725if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12726 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12727else 12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12729$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12730if ${ac_cv_lib_svld_dlopen+:} false; then : 12731 $as_echo_n "(cached) " >&6 12732else 12733 ac_check_lib_save_LIBS=$LIBS 12734LIBS="-lsvld $LIBS" 12735cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12736/* end confdefs.h. */ 12737 12738/* Override any GCC internal prototype to avoid an error. 12739 Use char because int might match the return type of a GCC 12740 builtin and then its argument prototype would still apply. */ 12741#ifdef __cplusplus 12742extern "C" 12743#endif 12744char dlopen (); 12745int 12746main () 12747{ 12748return dlopen (); 12749 ; 12750 return 0; 12751} 12752_ACEOF 12753if ac_fn_c_try_link "$LINENO"; then : 12754 ac_cv_lib_svld_dlopen=yes 12755else 12756 ac_cv_lib_svld_dlopen=no 12757fi 12758rm -f core conftest.err conftest.$ac_objext \ 12759 conftest$ac_exeext conftest.$ac_ext 12760LIBS=$ac_check_lib_save_LIBS 12761fi 12762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12763$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12764if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12765 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12766else 12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12768$as_echo_n "checking for dld_link in -ldld... " >&6; } 12769if ${ac_cv_lib_dld_dld_link+:} false; then : 12770 $as_echo_n "(cached) " >&6 12771else 12772 ac_check_lib_save_LIBS=$LIBS 12773LIBS="-ldld $LIBS" 12774cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12775/* end confdefs.h. */ 12776 12777/* Override any GCC internal prototype to avoid an error. 12778 Use char because int might match the return type of a GCC 12779 builtin and then its argument prototype would still apply. */ 12780#ifdef __cplusplus 12781extern "C" 12782#endif 12783char dld_link (); 12784int 12785main () 12786{ 12787return dld_link (); 12788 ; 12789 return 0; 12790} 12791_ACEOF 12792if ac_fn_c_try_link "$LINENO"; then : 12793 ac_cv_lib_dld_dld_link=yes 12794else 12795 ac_cv_lib_dld_dld_link=no 12796fi 12797rm -f core conftest.err conftest.$ac_objext \ 12798 conftest$ac_exeext conftest.$ac_ext 12799LIBS=$ac_check_lib_save_LIBS 12800fi 12801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12802$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12803if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12804 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12805fi 12806 12807 12808fi 12809 12810 12811fi 12812 12813 12814fi 12815 12816 12817fi 12818 12819 12820fi 12821 12822 ;; 12823 esac 12824 12825 if test no = "$lt_cv_dlopen"; then 12826 enable_dlopen=no 12827 else 12828 enable_dlopen=yes 12829 fi 12830 12831 case $lt_cv_dlopen in 12832 dlopen) 12833 save_CPPFLAGS=$CPPFLAGS 12834 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12835 12836 save_LDFLAGS=$LDFLAGS 12837 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12838 12839 save_LIBS=$LIBS 12840 LIBS="$lt_cv_dlopen_libs $LIBS" 12841 12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12843$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12844if ${lt_cv_dlopen_self+:} false; then : 12845 $as_echo_n "(cached) " >&6 12846else 12847 if test yes = "$cross_compiling"; then : 12848 lt_cv_dlopen_self=cross 12849else 12850 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12851 lt_status=$lt_dlunknown 12852 cat > conftest.$ac_ext <<_LT_EOF 12853#line $LINENO "configure" 12854#include "confdefs.h" 12855 12856#if HAVE_DLFCN_H 12857#include <dlfcn.h> 12858#endif 12859 12860#include <stdio.h> 12861 12862#ifdef RTLD_GLOBAL 12863# define LT_DLGLOBAL RTLD_GLOBAL 12864#else 12865# ifdef DL_GLOBAL 12866# define LT_DLGLOBAL DL_GLOBAL 12867# else 12868# define LT_DLGLOBAL 0 12869# endif 12870#endif 12871 12872/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12873 find out it does not work in some platform. */ 12874#ifndef LT_DLLAZY_OR_NOW 12875# ifdef RTLD_LAZY 12876# define LT_DLLAZY_OR_NOW RTLD_LAZY 12877# else 12878# ifdef DL_LAZY 12879# define LT_DLLAZY_OR_NOW DL_LAZY 12880# else 12881# ifdef RTLD_NOW 12882# define LT_DLLAZY_OR_NOW RTLD_NOW 12883# else 12884# ifdef DL_NOW 12885# define LT_DLLAZY_OR_NOW DL_NOW 12886# else 12887# define LT_DLLAZY_OR_NOW 0 12888# endif 12889# endif 12890# endif 12891# endif 12892#endif 12893 12894/* When -fvisibility=hidden is used, assume the code has been annotated 12895 correspondingly for the symbols needed. */ 12896#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12897int fnord () __attribute__((visibility("default"))); 12898#endif 12899 12900int fnord () { return 42; } 12901int main () 12902{ 12903 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12904 int status = $lt_dlunknown; 12905 12906 if (self) 12907 { 12908 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12909 else 12910 { 12911 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12912 else puts (dlerror ()); 12913 } 12914 /* dlclose (self); */ 12915 } 12916 else 12917 puts (dlerror ()); 12918 12919 return status; 12920} 12921_LT_EOF 12922 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12923 (eval $ac_link) 2>&5 12924 ac_status=$? 12925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12926 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12927 (./conftest; exit; ) >&5 2>/dev/null 12928 lt_status=$? 12929 case x$lt_status in 12930 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12931 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12932 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12933 esac 12934 else : 12935 # compilation failed 12936 lt_cv_dlopen_self=no 12937 fi 12938fi 12939rm -fr conftest* 12940 12941 12942fi 12943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12944$as_echo "$lt_cv_dlopen_self" >&6; } 12945 12946 if test yes = "$lt_cv_dlopen_self"; then 12947 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12949$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12950if ${lt_cv_dlopen_self_static+:} false; then : 12951 $as_echo_n "(cached) " >&6 12952else 12953 if test yes = "$cross_compiling"; then : 12954 lt_cv_dlopen_self_static=cross 12955else 12956 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12957 lt_status=$lt_dlunknown 12958 cat > conftest.$ac_ext <<_LT_EOF 12959#line $LINENO "configure" 12960#include "confdefs.h" 12961 12962#if HAVE_DLFCN_H 12963#include <dlfcn.h> 12964#endif 12965 12966#include <stdio.h> 12967 12968#ifdef RTLD_GLOBAL 12969# define LT_DLGLOBAL RTLD_GLOBAL 12970#else 12971# ifdef DL_GLOBAL 12972# define LT_DLGLOBAL DL_GLOBAL 12973# else 12974# define LT_DLGLOBAL 0 12975# endif 12976#endif 12977 12978/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12979 find out it does not work in some platform. */ 12980#ifndef LT_DLLAZY_OR_NOW 12981# ifdef RTLD_LAZY 12982# define LT_DLLAZY_OR_NOW RTLD_LAZY 12983# else 12984# ifdef DL_LAZY 12985# define LT_DLLAZY_OR_NOW DL_LAZY 12986# else 12987# ifdef RTLD_NOW 12988# define LT_DLLAZY_OR_NOW RTLD_NOW 12989# else 12990# ifdef DL_NOW 12991# define LT_DLLAZY_OR_NOW DL_NOW 12992# else 12993# define LT_DLLAZY_OR_NOW 0 12994# endif 12995# endif 12996# endif 12997# endif 12998#endif 12999 13000/* When -fvisibility=hidden is used, assume the code has been annotated 13001 correspondingly for the symbols needed. */ 13002#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13003int fnord () __attribute__((visibility("default"))); 13004#endif 13005 13006int fnord () { return 42; } 13007int main () 13008{ 13009 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13010 int status = $lt_dlunknown; 13011 13012 if (self) 13013 { 13014 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13015 else 13016 { 13017 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13018 else puts (dlerror ()); 13019 } 13020 /* dlclose (self); */ 13021 } 13022 else 13023 puts (dlerror ()); 13024 13025 return status; 13026} 13027_LT_EOF 13028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13029 (eval $ac_link) 2>&5 13030 ac_status=$? 13031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13032 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13033 (./conftest; exit; ) >&5 2>/dev/null 13034 lt_status=$? 13035 case x$lt_status in 13036 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13037 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13038 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13039 esac 13040 else : 13041 # compilation failed 13042 lt_cv_dlopen_self_static=no 13043 fi 13044fi 13045rm -fr conftest* 13046 13047 13048fi 13049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13050$as_echo "$lt_cv_dlopen_self_static" >&6; } 13051 fi 13052 13053 CPPFLAGS=$save_CPPFLAGS 13054 LDFLAGS=$save_LDFLAGS 13055 LIBS=$save_LIBS 13056 ;; 13057 esac 13058 13059 case $lt_cv_dlopen_self in 13060 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13061 *) enable_dlopen_self=unknown ;; 13062 esac 13063 13064 case $lt_cv_dlopen_self_static in 13065 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13066 *) enable_dlopen_self_static=unknown ;; 13067 esac 13068fi 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086striplib= 13087old_striplib= 13088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13089$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13090if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13091 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13092 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13094$as_echo "yes" >&6; } 13095else 13096# FIXME - insert some real tests, host_os isn't really good enough 13097 case $host_os in 13098 darwin*) 13099 if test -n "$STRIP"; then 13100 striplib="$STRIP -x" 13101 old_striplib="$STRIP -S" 13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13103$as_echo "yes" >&6; } 13104 else 13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13106$as_echo "no" >&6; } 13107 fi 13108 ;; 13109 *) 13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13111$as_echo "no" >&6; } 13112 ;; 13113 esac 13114fi 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 # Report what library types will actually be built 13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13129$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13131$as_echo "$can_build_shared" >&6; } 13132 13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13134$as_echo_n "checking whether to build shared libraries... " >&6; } 13135 test no = "$can_build_shared" && enable_shared=no 13136 13137 # On AIX, shared libraries and static libraries use the same namespace, and 13138 # are all built from PIC. 13139 case $host_os in 13140 aix3*) 13141 test yes = "$enable_shared" && enable_static=no 13142 if test -n "$RANLIB"; then 13143 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13144 postinstall_cmds='$RANLIB $lib' 13145 fi 13146 ;; 13147 13148 aix[4-9]*) 13149 if test ia64 != "$host_cpu"; then 13150 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13151 yes,aix,yes) ;; # shared object as lib.so file only 13152 yes,svr4,*) ;; # shared object as lib.so archive member only 13153 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13154 esac 13155 fi 13156 ;; 13157 esac 13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13159$as_echo "$enable_shared" >&6; } 13160 13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13162$as_echo_n "checking whether to build static libraries... " >&6; } 13163 # Make sure either enable_shared or enable_static is yes. 13164 test yes = "$enable_shared" || enable_static=yes 13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13166$as_echo "$enable_static" >&6; } 13167 13168 13169 13170 13171fi 13172ac_ext=c 13173ac_cpp='$CPP $CPPFLAGS' 13174ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13176ac_compiler_gnu=$ac_cv_c_compiler_gnu 13177 13178CC=$lt_save_CC 13179 13180 if test -n "$CXX" && ( test no != "$CXX" && 13181 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 13182 (test g++ != "$CXX"))); then 13183 ac_ext=cpp 13184ac_cpp='$CXXCPP $CPPFLAGS' 13185ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13186ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13187ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 13189$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13190if test -z "$CXXCPP"; then 13191 if ${ac_cv_prog_CXXCPP+:} false; then : 13192 $as_echo_n "(cached) " >&6 13193else 13194 # Double quotes because CXXCPP needs to be expanded 13195 for CXXCPP in "$CXX -E" "/lib/cpp" 13196 do 13197 ac_preproc_ok=false 13198for ac_cxx_preproc_warn_flag in '' yes 13199do 13200 # Use a header file that comes with gcc, so configuring glibc 13201 # with a fresh cross-compiler works. 13202 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13203 # <limits.h> exists even on freestanding compilers. 13204 # On the NeXT, cc -E runs the code through the compiler's parser, 13205 # not just through cpp. "Syntax error" is here to catch this case. 13206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13207/* end confdefs.h. */ 13208#ifdef __STDC__ 13209# include <limits.h> 13210#else 13211# include <assert.h> 13212#endif 13213 Syntax error 13214_ACEOF 13215if ac_fn_cxx_try_cpp "$LINENO"; then : 13216 13217else 13218 # Broken: fails on valid input. 13219continue 13220fi 13221rm -f conftest.err conftest.i conftest.$ac_ext 13222 13223 # OK, works on sane cases. Now check whether nonexistent headers 13224 # can be detected and how. 13225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13226/* end confdefs.h. */ 13227#include <ac_nonexistent.h> 13228_ACEOF 13229if ac_fn_cxx_try_cpp "$LINENO"; then : 13230 # Broken: success on invalid input. 13231continue 13232else 13233 # Passes both tests. 13234ac_preproc_ok=: 13235break 13236fi 13237rm -f conftest.err conftest.i conftest.$ac_ext 13238 13239done 13240# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13241rm -f conftest.i conftest.err conftest.$ac_ext 13242if $ac_preproc_ok; then : 13243 break 13244fi 13245 13246 done 13247 ac_cv_prog_CXXCPP=$CXXCPP 13248 13249fi 13250 CXXCPP=$ac_cv_prog_CXXCPP 13251else 13252 ac_cv_prog_CXXCPP=$CXXCPP 13253fi 13254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 13255$as_echo "$CXXCPP" >&6; } 13256ac_preproc_ok=false 13257for ac_cxx_preproc_warn_flag in '' yes 13258do 13259 # Use a header file that comes with gcc, so configuring glibc 13260 # with a fresh cross-compiler works. 13261 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13262 # <limits.h> exists even on freestanding compilers. 13263 # On the NeXT, cc -E runs the code through the compiler's parser, 13264 # not just through cpp. "Syntax error" is here to catch this case. 13265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13266/* end confdefs.h. */ 13267#ifdef __STDC__ 13268# include <limits.h> 13269#else 13270# include <assert.h> 13271#endif 13272 Syntax error 13273_ACEOF 13274if ac_fn_cxx_try_cpp "$LINENO"; then : 13275 13276else 13277 # Broken: fails on valid input. 13278continue 13279fi 13280rm -f conftest.err conftest.i conftest.$ac_ext 13281 13282 # OK, works on sane cases. Now check whether nonexistent headers 13283 # can be detected and how. 13284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13285/* end confdefs.h. */ 13286#include <ac_nonexistent.h> 13287_ACEOF 13288if ac_fn_cxx_try_cpp "$LINENO"; then : 13289 # Broken: success on invalid input. 13290continue 13291else 13292 # Passes both tests. 13293ac_preproc_ok=: 13294break 13295fi 13296rm -f conftest.err conftest.i conftest.$ac_ext 13297 13298done 13299# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13300rm -f conftest.i conftest.err conftest.$ac_ext 13301if $ac_preproc_ok; then : 13302 13303else 13304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13305$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13306as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 13307See \`config.log' for more details" "$LINENO" 5; } 13308fi 13309 13310ac_ext=c 13311ac_cpp='$CPP $CPPFLAGS' 13312ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13313ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13314ac_compiler_gnu=$ac_cv_c_compiler_gnu 13315 13316else 13317 _lt_caught_CXX_error=yes 13318fi 13319 13320ac_ext=cpp 13321ac_cpp='$CXXCPP $CPPFLAGS' 13322ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13323ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13324ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13325 13326archive_cmds_need_lc_CXX=no 13327allow_undefined_flag_CXX= 13328always_export_symbols_CXX=no 13329archive_expsym_cmds_CXX= 13330compiler_needs_object_CXX=no 13331export_dynamic_flag_spec_CXX= 13332hardcode_direct_CXX=no 13333hardcode_direct_absolute_CXX=no 13334hardcode_libdir_flag_spec_CXX= 13335hardcode_libdir_separator_CXX= 13336hardcode_minus_L_CXX=no 13337hardcode_shlibpath_var_CXX=unsupported 13338hardcode_automatic_CXX=no 13339inherit_rpath_CXX=no 13340module_cmds_CXX= 13341module_expsym_cmds_CXX= 13342link_all_deplibs_CXX=unknown 13343old_archive_cmds_CXX=$old_archive_cmds 13344reload_flag_CXX=$reload_flag 13345reload_cmds_CXX=$reload_cmds 13346no_undefined_flag_CXX= 13347whole_archive_flag_spec_CXX= 13348enable_shared_with_static_runtimes_CXX=no 13349 13350# Source file extension for C++ test sources. 13351ac_ext=cpp 13352 13353# Object file extension for compiled C++ test sources. 13354objext=o 13355objext_CXX=$objext 13356 13357# No sense in running all these tests if we already determined that 13358# the CXX compiler isn't working. Some variables (like enable_shared) 13359# are currently assumed to apply to all compilers on this platform, 13360# and will be corrupted by setting them based on a non-working compiler. 13361if test yes != "$_lt_caught_CXX_error"; then 13362 # Code to be used in simple compile tests 13363 lt_simple_compile_test_code="int some_variable = 0;" 13364 13365 # Code to be used in simple link tests 13366 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 13367 13368 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13369 13370 13371 13372 13373 13374 13375# If no C compiler was specified, use CC. 13376LTCC=${LTCC-"$CC"} 13377 13378# If no C compiler flags were specified, use CFLAGS. 13379LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13380 13381# Allow CC to be a program name with arguments. 13382compiler=$CC 13383 13384 13385 # save warnings/boilerplate of simple test code 13386 ac_outfile=conftest.$ac_objext 13387echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13388eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13389_lt_compiler_boilerplate=`cat conftest.err` 13390$RM conftest* 13391 13392 ac_outfile=conftest.$ac_objext 13393echo "$lt_simple_link_test_code" >conftest.$ac_ext 13394eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13395_lt_linker_boilerplate=`cat conftest.err` 13396$RM -r conftest* 13397 13398 13399 # Allow CC to be a program name with arguments. 13400 lt_save_CC=$CC 13401 lt_save_CFLAGS=$CFLAGS 13402 lt_save_LD=$LD 13403 lt_save_GCC=$GCC 13404 GCC=$GXX 13405 lt_save_with_gnu_ld=$with_gnu_ld 13406 lt_save_path_LD=$lt_cv_path_LD 13407 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13408 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13409 else 13410 $as_unset lt_cv_prog_gnu_ld 13411 fi 13412 if test -n "${lt_cv_path_LDCXX+set}"; then 13413 lt_cv_path_LD=$lt_cv_path_LDCXX 13414 else 13415 $as_unset lt_cv_path_LD 13416 fi 13417 test -z "${LDCXX+set}" || LD=$LDCXX 13418 CC=${CXX-"c++"} 13419 CFLAGS=$CXXFLAGS 13420 compiler=$CC 13421 compiler_CXX=$CC 13422 func_cc_basename $compiler 13423cc_basename=$func_cc_basename_result 13424 13425 13426 if test -n "$compiler"; then 13427 # We don't want -fno-exception when compiling C++ code, so set the 13428 # no_builtin_flag separately 13429 if test yes = "$GXX"; then 13430 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13431 else 13432 lt_prog_compiler_no_builtin_flag_CXX= 13433 fi 13434 13435 if test yes = "$GXX"; then 13436 # Set up default GNU C++ configuration 13437 13438 13439 13440# Check whether --with-gnu-ld was given. 13441if test "${with_gnu_ld+set}" = set; then : 13442 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 13443else 13444 with_gnu_ld=no 13445fi 13446 13447ac_prog=ld 13448if test yes = "$GCC"; then 13449 # Check if gcc -print-prog-name=ld gives a path. 13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13451$as_echo_n "checking for ld used by $CC... " >&6; } 13452 case $host in 13453 *-*-mingw*) 13454 # gcc leaves a trailing carriage return, which upsets mingw 13455 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13456 *) 13457 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13458 esac 13459 case $ac_prog in 13460 # Accept absolute paths. 13461 [\\/]* | ?:[\\/]*) 13462 re_direlt='/[^/][^/]*/\.\./' 13463 # Canonicalize the pathname of ld 13464 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13465 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13466 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13467 done 13468 test -z "$LD" && LD=$ac_prog 13469 ;; 13470 "") 13471 # If it fails, then pretend we aren't using GCC. 13472 ac_prog=ld 13473 ;; 13474 *) 13475 # If it is relative, then search for the first ld in PATH. 13476 with_gnu_ld=unknown 13477 ;; 13478 esac 13479elif test yes = "$with_gnu_ld"; then 13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 13481$as_echo_n "checking for GNU ld... " >&6; } 13482else 13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 13484$as_echo_n "checking for non-GNU ld... " >&6; } 13485fi 13486if ${lt_cv_path_LD+:} false; then : 13487 $as_echo_n "(cached) " >&6 13488else 13489 if test -z "$LD"; then 13490 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 13491 for ac_dir in $PATH; do 13492 IFS=$lt_save_ifs 13493 test -z "$ac_dir" && ac_dir=. 13494 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 13495 lt_cv_path_LD=$ac_dir/$ac_prog 13496 # Check to see if the program is GNU ld. I'd rather use --version, 13497 # but apparently some variants of GNU ld only accept -v. 13498 # Break only if it was the GNU/non-GNU ld that we prefer. 13499 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 13500 *GNU* | *'with BFD'*) 13501 test no != "$with_gnu_ld" && break 13502 ;; 13503 *) 13504 test yes != "$with_gnu_ld" && break 13505 ;; 13506 esac 13507 fi 13508 done 13509 IFS=$lt_save_ifs 13510else 13511 lt_cv_path_LD=$LD # Let the user override the test with a path. 13512fi 13513fi 13514 13515LD=$lt_cv_path_LD 13516if test -n "$LD"; then 13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 13518$as_echo "$LD" >&6; } 13519else 13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13521$as_echo "no" >&6; } 13522fi 13523test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 13524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 13525$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 13526if ${lt_cv_prog_gnu_ld+:} false; then : 13527 $as_echo_n "(cached) " >&6 13528else 13529 # I'd rather use --version here, but apparently some GNU lds only accept -v. 13530case `$LD -v 2>&1 </dev/null` in 13531*GNU* | *'with BFD'*) 13532 lt_cv_prog_gnu_ld=yes 13533 ;; 13534*) 13535 lt_cv_prog_gnu_ld=no 13536 ;; 13537esac 13538fi 13539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 13540$as_echo "$lt_cv_prog_gnu_ld" >&6; } 13541with_gnu_ld=$lt_cv_prog_gnu_ld 13542 13543 13544 13545 13546 13547 13548 13549 # Check if GNU C++ uses GNU ld as the underlying linker, since the 13550 # archiving commands below assume that GNU ld is being used. 13551 if test yes = "$with_gnu_ld"; then 13552 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13553 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' 13554 13555 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13556 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13557 13558 # If archive_cmds runs LD, not CC, wlarc should be empty 13559 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 13560 # investigate it a little bit more. (MM) 13561 wlarc='$wl' 13562 13563 # ancient GNU ld didn't support --whole-archive et. al. 13564 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 13565 $GREP 'no-whole-archive' > /dev/null; then 13566 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 13567 else 13568 whole_archive_flag_spec_CXX= 13569 fi 13570 else 13571 with_gnu_ld=no 13572 wlarc= 13573 13574 # A generic and very simple default shared library creation 13575 # command for GNU C++ for the case where it uses the native 13576 # linker, instead of GNU ld. If possible, this setting should 13577 # overridden to take advantage of the native linker features on 13578 # the platform it is being used on. 13579 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13580 fi 13581 13582 # Commands to make compiler produce verbose output that lists 13583 # what "hidden" libraries, object files and flags are used when 13584 # linking a shared library. 13585 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13586 13587 else 13588 GXX=no 13589 with_gnu_ld=no 13590 wlarc= 13591 fi 13592 13593 # PORTME: fill in a description of your system's C++ link characteristics 13594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 13595$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 13596 ld_shlibs_CXX=yes 13597 case $host_os in 13598 aix3*) 13599 # FIXME: insert proper C++ library support 13600 ld_shlibs_CXX=no 13601 ;; 13602 aix[4-9]*) 13603 if test ia64 = "$host_cpu"; then 13604 # On IA64, the linker does run time linking by default, so we don't 13605 # have to do anything special. 13606 aix_use_runtimelinking=no 13607 exp_sym_flag='-Bexport' 13608 no_entry_flag= 13609 else 13610 aix_use_runtimelinking=no 13611 13612 # Test if we are trying to use run time linking or normal 13613 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 13614 # have runtime linking enabled, and use it for executables. 13615 # For shared libraries, we enable/disable runtime linking 13616 # depending on the kind of the shared library created - 13617 # when "with_aix_soname,aix_use_runtimelinking" is: 13618 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 13619 # "aix,yes" lib.so shared, rtl:yes, for executables 13620 # lib.a static archive 13621 # "both,no" lib.so.V(shr.o) shared, rtl:yes 13622 # lib.a(lib.so.V) shared, rtl:no, for executables 13623 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 13624 # lib.a(lib.so.V) shared, rtl:no 13625 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 13626 # lib.a static archive 13627 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 13628 for ld_flag in $LDFLAGS; do 13629 case $ld_flag in 13630 *-brtl*) 13631 aix_use_runtimelinking=yes 13632 break 13633 ;; 13634 esac 13635 done 13636 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 13637 # With aix-soname=svr4, we create the lib.so.V shared archives only, 13638 # so we don't have lib.a shared libs to link our executables. 13639 # We have to force runtime linking in this case. 13640 aix_use_runtimelinking=yes 13641 LDFLAGS="$LDFLAGS -Wl,-brtl" 13642 fi 13643 ;; 13644 esac 13645 13646 exp_sym_flag='-bexport' 13647 no_entry_flag='-bnoentry' 13648 fi 13649 13650 # When large executables or shared objects are built, AIX ld can 13651 # have problems creating the table of contents. If linking a library 13652 # or program results in "error TOC overflow" add -mminimal-toc to 13653 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 13654 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 13655 13656 archive_cmds_CXX='' 13657 hardcode_direct_CXX=yes 13658 hardcode_direct_absolute_CXX=yes 13659 hardcode_libdir_separator_CXX=':' 13660 link_all_deplibs_CXX=yes 13661 file_list_spec_CXX='$wl-f,' 13662 case $with_aix_soname,$aix_use_runtimelinking in 13663 aix,*) ;; # no import file 13664 svr4,* | *,yes) # use import file 13665 # The Import File defines what to hardcode. 13666 hardcode_direct_CXX=no 13667 hardcode_direct_absolute_CXX=no 13668 ;; 13669 esac 13670 13671 if test yes = "$GXX"; then 13672 case $host_os in aix4.[012]|aix4.[012].*) 13673 # We only want to do this on AIX 4.2 and lower, the check 13674 # below for broken collect2 doesn't work under 4.3+ 13675 collect2name=`$CC -print-prog-name=collect2` 13676 if test -f "$collect2name" && 13677 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 13678 then 13679 # We have reworked collect2 13680 : 13681 else 13682 # We have old collect2 13683 hardcode_direct_CXX=unsupported 13684 # It fails to find uninstalled libraries when the uninstalled 13685 # path is not listed in the libpath. Setting hardcode_minus_L 13686 # to unsupported forces relinking 13687 hardcode_minus_L_CXX=yes 13688 hardcode_libdir_flag_spec_CXX='-L$libdir' 13689 hardcode_libdir_separator_CXX= 13690 fi 13691 esac 13692 shared_flag='-shared' 13693 if test yes = "$aix_use_runtimelinking"; then 13694 shared_flag=$shared_flag' $wl-G' 13695 fi 13696 # Need to ensure runtime linking is disabled for the traditional 13697 # shared library, or the linker may eventually find shared libraries 13698 # /with/ Import File - we do not want to mix them. 13699 shared_flag_aix='-shared' 13700 shared_flag_svr4='-shared $wl-G' 13701 else 13702 # not using gcc 13703 if test ia64 = "$host_cpu"; then 13704 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 13705 # chokes on -Wl,-G. The following line is correct: 13706 shared_flag='-G' 13707 else 13708 if test yes = "$aix_use_runtimelinking"; then 13709 shared_flag='$wl-G' 13710 else 13711 shared_flag='$wl-bM:SRE' 13712 fi 13713 shared_flag_aix='$wl-bM:SRE' 13714 shared_flag_svr4='$wl-G' 13715 fi 13716 fi 13717 13718 export_dynamic_flag_spec_CXX='$wl-bexpall' 13719 # It seems that -bexpall does not export symbols beginning with 13720 # underscore (_), so it is better to generate a list of symbols to 13721 # export. 13722 always_export_symbols_CXX=yes 13723 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 13724 # Warning - without using the other runtime loading flags (-brtl), 13725 # -berok will link without error, but may produce a broken library. 13726 # The "-G" linker flag allows undefined symbols. 13727 no_undefined_flag_CXX='-bernotok' 13728 # Determine the default libpath from the value encoded in an empty 13729 # executable. 13730 if test set = "${lt_cv_aix_libpath+set}"; then 13731 aix_libpath=$lt_cv_aix_libpath 13732else 13733 if ${lt_cv_aix_libpath__CXX+:} false; then : 13734 $as_echo_n "(cached) " >&6 13735else 13736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13737/* end confdefs.h. */ 13738 13739int 13740main () 13741{ 13742 13743 ; 13744 return 0; 13745} 13746_ACEOF 13747if ac_fn_cxx_try_link "$LINENO"; then : 13748 13749 lt_aix_libpath_sed=' 13750 /Import File Strings/,/^$/ { 13751 /^0/ { 13752 s/^0 *\([^ ]*\) *$/\1/ 13753 p 13754 } 13755 }' 13756 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13757 # Check for a 64-bit object if we didn't find anything. 13758 if test -z "$lt_cv_aix_libpath__CXX"; then 13759 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13760 fi 13761fi 13762rm -f core conftest.err conftest.$ac_objext \ 13763 conftest$ac_exeext conftest.$ac_ext 13764 if test -z "$lt_cv_aix_libpath__CXX"; then 13765 lt_cv_aix_libpath__CXX=/usr/lib:/lib 13766 fi 13767 13768fi 13769 13770 aix_libpath=$lt_cv_aix_libpath__CXX 13771fi 13772 13773 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13774 13775 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 13776 else 13777 if test ia64 = "$host_cpu"; then 13778 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 13779 allow_undefined_flag_CXX="-z nodefs" 13780 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" 13781 else 13782 # Determine the default libpath from the value encoded in an 13783 # empty executable. 13784 if test set = "${lt_cv_aix_libpath+set}"; then 13785 aix_libpath=$lt_cv_aix_libpath 13786else 13787 if ${lt_cv_aix_libpath__CXX+:} false; then : 13788 $as_echo_n "(cached) " >&6 13789else 13790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13791/* end confdefs.h. */ 13792 13793int 13794main () 13795{ 13796 13797 ; 13798 return 0; 13799} 13800_ACEOF 13801if ac_fn_cxx_try_link "$LINENO"; then : 13802 13803 lt_aix_libpath_sed=' 13804 /Import File Strings/,/^$/ { 13805 /^0/ { 13806 s/^0 *\([^ ]*\) *$/\1/ 13807 p 13808 } 13809 }' 13810 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13811 # Check for a 64-bit object if we didn't find anything. 13812 if test -z "$lt_cv_aix_libpath__CXX"; then 13813 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13814 fi 13815fi 13816rm -f core conftest.err conftest.$ac_objext \ 13817 conftest$ac_exeext conftest.$ac_ext 13818 if test -z "$lt_cv_aix_libpath__CXX"; then 13819 lt_cv_aix_libpath__CXX=/usr/lib:/lib 13820 fi 13821 13822fi 13823 13824 aix_libpath=$lt_cv_aix_libpath__CXX 13825fi 13826 13827 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13828 # Warning - without using the other run time loading flags, 13829 # -berok will link without error, but may produce a broken library. 13830 no_undefined_flag_CXX=' $wl-bernotok' 13831 allow_undefined_flag_CXX=' $wl-berok' 13832 if test yes = "$with_gnu_ld"; then 13833 # We only use this code for GNU lds that support --whole-archive. 13834 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 13835 else 13836 # Exported symbols can be pulled into shared objects from archives 13837 whole_archive_flag_spec_CXX='$convenience' 13838 fi 13839 archive_cmds_need_lc_CXX=yes 13840 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 13841 # -brtl affects multiple linker settings, -berok does not and is overridden later 13842 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 13843 if test svr4 != "$with_aix_soname"; then 13844 # This is similar to how AIX traditionally builds its shared 13845 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 13846 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' 13847 fi 13848 if test aix != "$with_aix_soname"; then 13849 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' 13850 else 13851 # used by -dlpreopen to get the symbols 13852 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 13853 fi 13854 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 13855 fi 13856 fi 13857 ;; 13858 13859 beos*) 13860 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13861 allow_undefined_flag_CXX=unsupported 13862 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 13863 # support --undefined. This deserves some investigation. FIXME 13864 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13865 else 13866 ld_shlibs_CXX=no 13867 fi 13868 ;; 13869 13870 chorus*) 13871 case $cc_basename in 13872 *) 13873 # FIXME: insert proper C++ library support 13874 ld_shlibs_CXX=no 13875 ;; 13876 esac 13877 ;; 13878 13879 cygwin* | mingw* | pw32* | cegcc*) 13880 case $GXX,$cc_basename in 13881 ,cl* | no,cl*) 13882 # Native MSVC 13883 # hardcode_libdir_flag_spec is actually meaningless, as there is 13884 # no search path for DLLs. 13885 hardcode_libdir_flag_spec_CXX=' ' 13886 allow_undefined_flag_CXX=unsupported 13887 always_export_symbols_CXX=yes 13888 file_list_spec_CXX='@' 13889 # Tell ltmain to make .lib files, not .a files. 13890 libext=lib 13891 # Tell ltmain to make .dll files, not .so files. 13892 shrext_cmds=.dll 13893 # FIXME: Setting linknames here is a bad hack. 13894 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 13895 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13896 cp "$export_symbols" "$output_objdir/$soname.def"; 13897 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 13898 else 13899 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 13900 fi~ 13901 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 13902 linknames=' 13903 # The linker will not automatically build a static lib if we build a DLL. 13904 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 13905 enable_shared_with_static_runtimes_CXX=yes 13906 # Don't use ranlib 13907 old_postinstall_cmds_CXX='chmod 644 $oldlib' 13908 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 13909 lt_tool_outputfile="@TOOL_OUTPUT@"~ 13910 case $lt_outputfile in 13911 *.exe|*.EXE) ;; 13912 *) 13913 lt_outputfile=$lt_outputfile.exe 13914 lt_tool_outputfile=$lt_tool_outputfile.exe 13915 ;; 13916 esac~ 13917 func_to_tool_file "$lt_outputfile"~ 13918 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 13919 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 13920 $RM "$lt_outputfile.manifest"; 13921 fi' 13922 ;; 13923 *) 13924 # g++ 13925 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 13926 # as there is no search path for DLLs. 13927 hardcode_libdir_flag_spec_CXX='-L$libdir' 13928 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 13929 allow_undefined_flag_CXX=unsupported 13930 always_export_symbols_CXX=no 13931 enable_shared_with_static_runtimes_CXX=yes 13932 13933 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 13934 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' 13935 # If the export-symbols file already is a .def file, use it as 13936 # is; otherwise, prepend EXPORTS... 13937 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13938 cp $export_symbols $output_objdir/$soname.def; 13939 else 13940 echo EXPORTS > $output_objdir/$soname.def; 13941 cat $export_symbols >> $output_objdir/$soname.def; 13942 fi~ 13943 $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' 13944 else 13945 ld_shlibs_CXX=no 13946 fi 13947 ;; 13948 esac 13949 ;; 13950 darwin* | rhapsody*) 13951 13952 13953 archive_cmds_need_lc_CXX=no 13954 hardcode_direct_CXX=no 13955 hardcode_automatic_CXX=yes 13956 hardcode_shlibpath_var_CXX=unsupported 13957 if test yes = "$lt_cv_ld_force_load"; then 13958 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\"`' 13959 13960 else 13961 whole_archive_flag_spec_CXX='' 13962 fi 13963 link_all_deplibs_CXX=yes 13964 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 13965 case $cc_basename in 13966 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 13967 *) _lt_dar_can_shared=$GCC ;; 13968 esac 13969 if test yes = "$_lt_dar_can_shared"; then 13970 output_verbose_link_cmd=func_echo_all 13971 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" 13972 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 13973 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" 13974 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" 13975 if test yes != "$lt_cv_apple_cc_single_mod"; then 13976 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" 13977 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" 13978 fi 13979 13980 else 13981 ld_shlibs_CXX=no 13982 fi 13983 13984 ;; 13985 13986 os2*) 13987 hardcode_libdir_flag_spec_CXX='-L$libdir' 13988 hardcode_minus_L_CXX=yes 13989 allow_undefined_flag_CXX=unsupported 13990 shrext_cmds=.dll 13991 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13992 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13993 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13994 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13995 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 13996 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13997 emximp -o $lib $output_objdir/$libname.def' 13998 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13999 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14000 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14001 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14002 prefix_cmds="$SED"~ 14003 if test EXPORTS = "`$SED 1q $export_symbols`"; then 14004 prefix_cmds="$prefix_cmds -e 1d"; 14005 fi~ 14006 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 14007 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 14008 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14009 emximp -o $lib $output_objdir/$libname.def' 14010 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 14011 enable_shared_with_static_runtimes_CXX=yes 14012 ;; 14013 14014 dgux*) 14015 case $cc_basename in 14016 ec++*) 14017 # FIXME: insert proper C++ library support 14018 ld_shlibs_CXX=no 14019 ;; 14020 ghcx*) 14021 # Green Hills C++ Compiler 14022 # FIXME: insert proper C++ library support 14023 ld_shlibs_CXX=no 14024 ;; 14025 *) 14026 # FIXME: insert proper C++ library support 14027 ld_shlibs_CXX=no 14028 ;; 14029 esac 14030 ;; 14031 14032 freebsd2.*) 14033 # C++ shared libraries reported to be fairly broken before 14034 # switch to ELF 14035 ld_shlibs_CXX=no 14036 ;; 14037 14038 freebsd-elf*) 14039 archive_cmds_need_lc_CXX=no 14040 ;; 14041 14042 freebsd* | dragonfly*) 14043 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14044 # conventions 14045 ld_shlibs_CXX=yes 14046 ;; 14047 14048 haiku*) 14049 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14050 link_all_deplibs_CXX=yes 14051 ;; 14052 14053 hpux9*) 14054 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14055 hardcode_libdir_separator_CXX=: 14056 export_dynamic_flag_spec_CXX='$wl-E' 14057 hardcode_direct_CXX=yes 14058 hardcode_minus_L_CXX=yes # Not in the search PATH, 14059 # but as the default 14060 # location of the library. 14061 14062 case $cc_basename in 14063 CC*) 14064 # FIXME: insert proper C++ library support 14065 ld_shlibs_CXX=no 14066 ;; 14067 aCC*) 14068 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' 14069 # Commands to make compiler produce verbose output that lists 14070 # what "hidden" libraries, object files and flags are used when 14071 # linking a shared library. 14072 # 14073 # There doesn't appear to be a way to prevent this compiler from 14074 # explicitly linking system object files so we need to strip them 14075 # from the output so that they don't get included in the library 14076 # dependencies. 14077 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"' 14078 ;; 14079 *) 14080 if test yes = "$GXX"; then 14081 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' 14082 else 14083 # FIXME: insert proper C++ library support 14084 ld_shlibs_CXX=no 14085 fi 14086 ;; 14087 esac 14088 ;; 14089 14090 hpux10*|hpux11*) 14091 if test no = "$with_gnu_ld"; then 14092 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14093 hardcode_libdir_separator_CXX=: 14094 14095 case $host_cpu in 14096 hppa*64*|ia64*) 14097 ;; 14098 *) 14099 export_dynamic_flag_spec_CXX='$wl-E' 14100 ;; 14101 esac 14102 fi 14103 case $host_cpu in 14104 hppa*64*|ia64*) 14105 hardcode_direct_CXX=no 14106 hardcode_shlibpath_var_CXX=no 14107 ;; 14108 *) 14109 hardcode_direct_CXX=yes 14110 hardcode_direct_absolute_CXX=yes 14111 hardcode_minus_L_CXX=yes # Not in the search PATH, 14112 # but as the default 14113 # location of the library. 14114 ;; 14115 esac 14116 14117 case $cc_basename in 14118 CC*) 14119 # FIXME: insert proper C++ library support 14120 ld_shlibs_CXX=no 14121 ;; 14122 aCC*) 14123 case $host_cpu in 14124 hppa*64*) 14125 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14126 ;; 14127 ia64*) 14128 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14129 ;; 14130 *) 14131 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14132 ;; 14133 esac 14134 # Commands to make compiler produce verbose output that lists 14135 # what "hidden" libraries, object files and flags are used when 14136 # linking a shared library. 14137 # 14138 # There doesn't appear to be a way to prevent this compiler from 14139 # explicitly linking system object files so we need to strip them 14140 # from the output so that they don't get included in the library 14141 # dependencies. 14142 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"' 14143 ;; 14144 *) 14145 if test yes = "$GXX"; then 14146 if test no = "$with_gnu_ld"; then 14147 case $host_cpu in 14148 hppa*64*) 14149 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14150 ;; 14151 ia64*) 14152 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14153 ;; 14154 *) 14155 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' 14156 ;; 14157 esac 14158 fi 14159 else 14160 # FIXME: insert proper C++ library support 14161 ld_shlibs_CXX=no 14162 fi 14163 ;; 14164 esac 14165 ;; 14166 14167 interix[3-9]*) 14168 hardcode_direct_CXX=no 14169 hardcode_shlibpath_var_CXX=no 14170 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14171 export_dynamic_flag_spec_CXX='$wl-E' 14172 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14173 # Instead, shared libraries are loaded at an image base (0x10000000 by 14174 # default) and relocated if they conflict, which is a slow very memory 14175 # consuming and fragmenting process. To avoid this, we pick a random, 14176 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14177 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14178 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' 14179 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' 14180 ;; 14181 irix5* | irix6*) 14182 case $cc_basename in 14183 CC*) 14184 # SGI C++ 14185 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' 14186 14187 # Archives containing C++ object files must be created using 14188 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14189 # necessary to make sure instantiated templates are included 14190 # in the archive. 14191 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14192 ;; 14193 *) 14194 if test yes = "$GXX"; then 14195 if test no = "$with_gnu_ld"; then 14196 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' 14197 else 14198 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' 14199 fi 14200 fi 14201 link_all_deplibs_CXX=yes 14202 ;; 14203 esac 14204 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14205 hardcode_libdir_separator_CXX=: 14206 inherit_rpath_CXX=yes 14207 ;; 14208 14209 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14210 case $cc_basename in 14211 KCC*) 14212 # Kuck and Associates, Inc. (KAI) C++ Compiler 14213 14214 # KCC will only create a shared library if the output file 14215 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14216 # to its proper name (with version) after linking. 14217 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' 14218 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' 14219 # Commands to make compiler produce verbose output that lists 14220 # what "hidden" libraries, object files and flags are used when 14221 # linking a shared library. 14222 # 14223 # There doesn't appear to be a way to prevent this compiler from 14224 # explicitly linking system object files so we need to strip them 14225 # from the output so that they don't get included in the library 14226 # dependencies. 14227 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"' 14228 14229 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14230 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14231 14232 # Archives containing C++ object files must be created using 14233 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14234 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14235 ;; 14236 icpc* | ecpc* ) 14237 # Intel C++ 14238 with_gnu_ld=yes 14239 # version 8.0 and above of icpc choke on multiply defined symbols 14240 # if we add $predep_objects and $postdep_objects, however 7.1 and 14241 # earlier do not add the objects themselves. 14242 case `$CC -V 2>&1` in 14243 *"Version 7."*) 14244 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14245 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' 14246 ;; 14247 *) # Version 8.0 or newer 14248 tmp_idyn= 14249 case $host_cpu in 14250 ia64*) tmp_idyn=' -i_dynamic';; 14251 esac 14252 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14253 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' 14254 ;; 14255 esac 14256 archive_cmds_need_lc_CXX=no 14257 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14258 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14259 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14260 ;; 14261 pgCC* | pgcpp*) 14262 # Portland Group C++ compiler 14263 case `$CC -V` in 14264 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 14265 prelink_cmds_CXX='tpldir=Template.dir~ 14266 rm -rf $tpldir~ 14267 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14268 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 14269 old_archive_cmds_CXX='tpldir=Template.dir~ 14270 rm -rf $tpldir~ 14271 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14272 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14273 $RANLIB $oldlib' 14274 archive_cmds_CXX='tpldir=Template.dir~ 14275 rm -rf $tpldir~ 14276 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14277 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14278 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14279 rm -rf $tpldir~ 14280 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14281 $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' 14282 ;; 14283 *) # Version 6 and above use weak symbols 14284 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14285 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' 14286 ;; 14287 esac 14288 14289 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 14290 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14291 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' 14292 ;; 14293 cxx*) 14294 # Compaq C++ 14295 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14296 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' 14297 14298 runpath_var=LD_RUN_PATH 14299 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14300 hardcode_libdir_separator_CXX=: 14301 14302 # Commands to make compiler produce verbose output that lists 14303 # what "hidden" libraries, object files and flags are used when 14304 # linking a shared library. 14305 # 14306 # There doesn't appear to be a way to prevent this compiler from 14307 # explicitly linking system object files so we need to strip them 14308 # from the output so that they don't get included in the library 14309 # dependencies. 14310 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' 14311 ;; 14312 xl* | mpixl* | bgxl*) 14313 # IBM XL 8.0 on PPC, with GNU ld 14314 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14315 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14316 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14317 if test yes = "$supports_anon_versioning"; then 14318 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14319 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14320 echo "local: *; };" >> $output_objdir/$libname.ver~ 14321 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 14322 fi 14323 ;; 14324 *) 14325 case `$CC -V 2>&1 | sed 5q` in 14326 *Sun\ C*) 14327 # Sun C++ 5.9 14328 no_undefined_flag_CXX=' -zdefs' 14329 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14330 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' 14331 hardcode_libdir_flag_spec_CXX='-R$libdir' 14332 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' 14333 compiler_needs_object_CXX=yes 14334 14335 # Not sure whether something based on 14336 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14337 # would be better. 14338 output_verbose_link_cmd='func_echo_all' 14339 14340 # Archives containing C++ object files must be created using 14341 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14342 # necessary to make sure instantiated templates are included 14343 # in the archive. 14344 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14345 ;; 14346 esac 14347 ;; 14348 esac 14349 ;; 14350 14351 lynxos*) 14352 # FIXME: insert proper C++ library support 14353 ld_shlibs_CXX=no 14354 ;; 14355 14356 m88k*) 14357 # FIXME: insert proper C++ library support 14358 ld_shlibs_CXX=no 14359 ;; 14360 14361 mvs*) 14362 case $cc_basename in 14363 cxx*) 14364 # FIXME: insert proper C++ library support 14365 ld_shlibs_CXX=no 14366 ;; 14367 *) 14368 # FIXME: insert proper C++ library support 14369 ld_shlibs_CXX=no 14370 ;; 14371 esac 14372 ;; 14373 14374 netbsd*) 14375 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14376 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14377 wlarc= 14378 hardcode_libdir_flag_spec_CXX='-R$libdir' 14379 hardcode_direct_CXX=yes 14380 hardcode_shlibpath_var_CXX=no 14381 fi 14382 # Workaround some broken pre-1.5 toolchains 14383 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14384 ;; 14385 14386 *nto* | *qnx*) 14387 ld_shlibs_CXX=yes 14388 ;; 14389 14390 openbsd* | bitrig*) 14391 if test -f /usr/libexec/ld.so; then 14392 hardcode_direct_CXX=yes 14393 hardcode_shlibpath_var_CXX=no 14394 hardcode_direct_absolute_CXX=yes 14395 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14396 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14397 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 14398 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 14399 export_dynamic_flag_spec_CXX='$wl-E' 14400 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14401 fi 14402 output_verbose_link_cmd=func_echo_all 14403 else 14404 ld_shlibs_CXX=no 14405 fi 14406 ;; 14407 14408 osf3* | osf4* | osf5*) 14409 case $cc_basename in 14410 KCC*) 14411 # Kuck and Associates, Inc. (KAI) C++ Compiler 14412 14413 # KCC will only create a shared library if the output file 14414 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14415 # to its proper name (with version) after linking. 14416 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' 14417 14418 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14419 hardcode_libdir_separator_CXX=: 14420 14421 # Archives containing C++ object files must be created using 14422 # the KAI C++ compiler. 14423 case $host in 14424 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14425 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14426 esac 14427 ;; 14428 RCC*) 14429 # Rational C++ 2.4.1 14430 # FIXME: insert proper C++ library support 14431 ld_shlibs_CXX=no 14432 ;; 14433 cxx*) 14434 case $host in 14435 osf3*) 14436 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14437 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' 14438 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14439 ;; 14440 *) 14441 allow_undefined_flag_CXX=' -expect_unresolved \*' 14442 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' 14443 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14444 echo "-hidden">> $lib.exp~ 14445 $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~ 14446 $RM $lib.exp' 14447 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14448 ;; 14449 esac 14450 14451 hardcode_libdir_separator_CXX=: 14452 14453 # Commands to make compiler produce verbose output that lists 14454 # what "hidden" libraries, object files and flags are used when 14455 # linking a shared library. 14456 # 14457 # There doesn't appear to be a way to prevent this compiler from 14458 # explicitly linking system object files so we need to strip them 14459 # from the output so that they don't get included in the library 14460 # dependencies. 14461 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"' 14462 ;; 14463 *) 14464 if test yes,no = "$GXX,$with_gnu_ld"; then 14465 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14466 case $host in 14467 osf3*) 14468 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' 14469 ;; 14470 *) 14471 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' 14472 ;; 14473 esac 14474 14475 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14476 hardcode_libdir_separator_CXX=: 14477 14478 # Commands to make compiler produce verbose output that lists 14479 # what "hidden" libraries, object files and flags are used when 14480 # linking a shared library. 14481 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14482 14483 else 14484 # FIXME: insert proper C++ library support 14485 ld_shlibs_CXX=no 14486 fi 14487 ;; 14488 esac 14489 ;; 14490 14491 psos*) 14492 # FIXME: insert proper C++ library support 14493 ld_shlibs_CXX=no 14494 ;; 14495 14496 sunos4*) 14497 case $cc_basename in 14498 CC*) 14499 # Sun C++ 4.x 14500 # FIXME: insert proper C++ library support 14501 ld_shlibs_CXX=no 14502 ;; 14503 lcc*) 14504 # Lucid 14505 # FIXME: insert proper C++ library support 14506 ld_shlibs_CXX=no 14507 ;; 14508 *) 14509 # FIXME: insert proper C++ library support 14510 ld_shlibs_CXX=no 14511 ;; 14512 esac 14513 ;; 14514 14515 solaris*) 14516 case $cc_basename in 14517 CC* | sunCC*) 14518 # Sun C++ 4.2, 5.x and Centerline C++ 14519 archive_cmds_need_lc_CXX=yes 14520 no_undefined_flag_CXX=' -zdefs' 14521 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14522 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14523 $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' 14524 14525 hardcode_libdir_flag_spec_CXX='-R$libdir' 14526 hardcode_shlibpath_var_CXX=no 14527 case $host_os in 14528 solaris2.[0-5] | solaris2.[0-5].*) ;; 14529 *) 14530 # The compiler driver will combine and reorder linker options, 14531 # but understands '-z linker_flag'. 14532 # Supported since Solaris 2.6 (maybe 2.5.1?) 14533 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 14534 ;; 14535 esac 14536 link_all_deplibs_CXX=yes 14537 14538 output_verbose_link_cmd='func_echo_all' 14539 14540 # Archives containing C++ object files must be created using 14541 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14542 # necessary to make sure instantiated templates are included 14543 # in the archive. 14544 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14545 ;; 14546 gcx*) 14547 # Green Hills C++ Compiler 14548 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14549 14550 # The C++ compiler must be used to create the archive. 14551 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 14552 ;; 14553 *) 14554 # GNU C++ compiler with Solaris linker 14555 if test yes,no = "$GXX,$with_gnu_ld"; then 14556 no_undefined_flag_CXX=' $wl-z ${wl}defs' 14557 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 14558 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14559 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14560 $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' 14561 14562 # Commands to make compiler produce verbose output that lists 14563 # what "hidden" libraries, object files and flags are used when 14564 # linking a shared library. 14565 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14566 else 14567 # g++ 2.7 appears to require '-G' NOT '-shared' on this 14568 # platform. 14569 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14570 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14571 $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' 14572 14573 # Commands to make compiler produce verbose output that lists 14574 # what "hidden" libraries, object files and flags are used when 14575 # linking a shared library. 14576 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14577 fi 14578 14579 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 14580 case $host_os in 14581 solaris2.[0-5] | solaris2.[0-5].*) ;; 14582 *) 14583 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 14584 ;; 14585 esac 14586 fi 14587 ;; 14588 esac 14589 ;; 14590 14591 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 14592 no_undefined_flag_CXX='$wl-z,text' 14593 archive_cmds_need_lc_CXX=no 14594 hardcode_shlibpath_var_CXX=no 14595 runpath_var='LD_RUN_PATH' 14596 14597 case $cc_basename in 14598 CC*) 14599 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14600 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14601 ;; 14602 *) 14603 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14604 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14605 ;; 14606 esac 14607 ;; 14608 14609 sysv5* | sco3.2v5* | sco5v6*) 14610 # Note: We CANNOT use -z defs as we might desire, because we do not 14611 # link with -lc, and that would cause any symbols used from libc to 14612 # always be unresolved, which means just about no library would 14613 # ever link correctly. If we're not using GNU ld we use -z text 14614 # though, which does catch some bad symbols but isn't as heavy-handed 14615 # as -z defs. 14616 no_undefined_flag_CXX='$wl-z,text' 14617 allow_undefined_flag_CXX='$wl-z,nodefs' 14618 archive_cmds_need_lc_CXX=no 14619 hardcode_shlibpath_var_CXX=no 14620 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 14621 hardcode_libdir_separator_CXX=':' 14622 link_all_deplibs_CXX=yes 14623 export_dynamic_flag_spec_CXX='$wl-Bexport' 14624 runpath_var='LD_RUN_PATH' 14625 14626 case $cc_basename in 14627 CC*) 14628 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14629 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14630 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 14631 '"$old_archive_cmds_CXX" 14632 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 14633 '"$reload_cmds_CXX" 14634 ;; 14635 *) 14636 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14637 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14638 ;; 14639 esac 14640 ;; 14641 14642 tandem*) 14643 case $cc_basename in 14644 NCC*) 14645 # NonStop-UX NCC 3.20 14646 # FIXME: insert proper C++ library support 14647 ld_shlibs_CXX=no 14648 ;; 14649 *) 14650 # FIXME: insert proper C++ library support 14651 ld_shlibs_CXX=no 14652 ;; 14653 esac 14654 ;; 14655 14656 vxworks*) 14657 # FIXME: insert proper C++ library support 14658 ld_shlibs_CXX=no 14659 ;; 14660 14661 *) 14662 # FIXME: insert proper C++ library support 14663 ld_shlibs_CXX=no 14664 ;; 14665 esac 14666 14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14668$as_echo "$ld_shlibs_CXX" >&6; } 14669 test no = "$ld_shlibs_CXX" && can_build_shared=no 14670 14671 GCC_CXX=$GXX 14672 LD_CXX=$LD 14673 14674 ## CAVEAT EMPTOR: 14675 ## There is no encapsulation within the following macros, do not change 14676 ## the running order or otherwise move them around unless you know exactly 14677 ## what you are doing... 14678 # Dependencies to place before and after the object being linked: 14679predep_objects_CXX= 14680postdep_objects_CXX= 14681predeps_CXX= 14682postdeps_CXX= 14683compiler_lib_search_path_CXX= 14684 14685cat > conftest.$ac_ext <<_LT_EOF 14686class Foo 14687{ 14688public: 14689 Foo (void) { a = 0; } 14690private: 14691 int a; 14692}; 14693_LT_EOF 14694 14695 14696_lt_libdeps_save_CFLAGS=$CFLAGS 14697case "$CC $CFLAGS " in #( 14698*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 14699*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 14700*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 14701esac 14702 14703if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14704 (eval $ac_compile) 2>&5 14705 ac_status=$? 14706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14707 test $ac_status = 0; }; then 14708 # Parse the compiler output and extract the necessary 14709 # objects, libraries and library flags. 14710 14711 # Sentinel used to keep track of whether or not we are before 14712 # the conftest object file. 14713 pre_test_object_deps_done=no 14714 14715 for p in `eval "$output_verbose_link_cmd"`; do 14716 case $prev$p in 14717 14718 -L* | -R* | -l*) 14719 # Some compilers place space between "-{L,R}" and the path. 14720 # Remove the space. 14721 if test x-L = "$p" || 14722 test x-R = "$p"; then 14723 prev=$p 14724 continue 14725 fi 14726 14727 # Expand the sysroot to ease extracting the directories later. 14728 if test -z "$prev"; then 14729 case $p in 14730 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 14731 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 14732 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 14733 esac 14734 fi 14735 case $p in 14736 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 14737 esac 14738 if test no = "$pre_test_object_deps_done"; then 14739 case $prev in 14740 -L | -R) 14741 # Internal compiler library paths should come after those 14742 # provided the user. The postdeps already come after the 14743 # user supplied libs so there is no need to process them. 14744 if test -z "$compiler_lib_search_path_CXX"; then 14745 compiler_lib_search_path_CXX=$prev$p 14746 else 14747 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 14748 fi 14749 ;; 14750 # The "-l" case would never come before the object being 14751 # linked, so don't bother handling this case. 14752 esac 14753 else 14754 if test -z "$postdeps_CXX"; then 14755 postdeps_CXX=$prev$p 14756 else 14757 postdeps_CXX="${postdeps_CXX} $prev$p" 14758 fi 14759 fi 14760 prev= 14761 ;; 14762 14763 *.lto.$objext) ;; # Ignore GCC LTO objects 14764 *.$objext) 14765 # This assumes that the test object file only shows up 14766 # once in the compiler output. 14767 if test "$p" = "conftest.$objext"; then 14768 pre_test_object_deps_done=yes 14769 continue 14770 fi 14771 14772 if test no = "$pre_test_object_deps_done"; then 14773 if test -z "$predep_objects_CXX"; then 14774 predep_objects_CXX=$p 14775 else 14776 predep_objects_CXX="$predep_objects_CXX $p" 14777 fi 14778 else 14779 if test -z "$postdep_objects_CXX"; then 14780 postdep_objects_CXX=$p 14781 else 14782 postdep_objects_CXX="$postdep_objects_CXX $p" 14783 fi 14784 fi 14785 ;; 14786 14787 *) ;; # Ignore the rest. 14788 14789 esac 14790 done 14791 14792 # Clean up. 14793 rm -f a.out a.exe 14794else 14795 echo "libtool.m4: error: problem compiling CXX test program" 14796fi 14797 14798$RM -f confest.$objext 14799CFLAGS=$_lt_libdeps_save_CFLAGS 14800 14801# PORTME: override above test on systems where it is broken 14802case $host_os in 14803interix[3-9]*) 14804 # Interix 3.5 installs completely hosed .la files for C++, so rather than 14805 # hack all around it, let's just trust "g++" to DTRT. 14806 predep_objects_CXX= 14807 postdep_objects_CXX= 14808 postdeps_CXX= 14809 ;; 14810esac 14811 14812 14813case " $postdeps_CXX " in 14814*" -lc "*) archive_cmds_need_lc_CXX=no ;; 14815esac 14816 compiler_lib_search_dirs_CXX= 14817if test -n "${compiler_lib_search_path_CXX}"; then 14818 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 14819fi 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 lt_prog_compiler_wl_CXX= 14852lt_prog_compiler_pic_CXX= 14853lt_prog_compiler_static_CXX= 14854 14855 14856 # C++ specific cases for pic, static, wl, etc. 14857 if test yes = "$GXX"; then 14858 lt_prog_compiler_wl_CXX='-Wl,' 14859 lt_prog_compiler_static_CXX='-static' 14860 14861 case $host_os in 14862 aix*) 14863 # All AIX code is PIC. 14864 if test ia64 = "$host_cpu"; then 14865 # AIX 5 now supports IA64 processor 14866 lt_prog_compiler_static_CXX='-Bstatic' 14867 fi 14868 lt_prog_compiler_pic_CXX='-fPIC' 14869 ;; 14870 14871 amigaos*) 14872 case $host_cpu in 14873 powerpc) 14874 # see comment about AmigaOS4 .so support 14875 lt_prog_compiler_pic_CXX='-fPIC' 14876 ;; 14877 m68k) 14878 # FIXME: we need at least 68020 code to build shared libraries, but 14879 # adding the '-m68020' flag to GCC prevents building anything better, 14880 # like '-m68040'. 14881 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 14882 ;; 14883 esac 14884 ;; 14885 14886 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 14887 # PIC is the default for these OSes. 14888 ;; 14889 mingw* | cygwin* | os2* | pw32* | cegcc*) 14890 # This hack is so that the source file can tell whether it is being 14891 # built for inclusion in a dll (and should export symbols for example). 14892 # Although the cygwin gcc ignores -fPIC, still need this for old-style 14893 # (--disable-auto-import) libraries 14894 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14895 case $host_os in 14896 os2*) 14897 lt_prog_compiler_static_CXX='$wl-static' 14898 ;; 14899 esac 14900 ;; 14901 darwin* | rhapsody*) 14902 # PIC is the default on this platform 14903 # Common symbols not allowed in MH_DYLIB files 14904 lt_prog_compiler_pic_CXX='-fno-common' 14905 ;; 14906 *djgpp*) 14907 # DJGPP does not support shared libraries at all 14908 lt_prog_compiler_pic_CXX= 14909 ;; 14910 haiku*) 14911 # PIC is the default for Haiku. 14912 # The "-static" flag exists, but is broken. 14913 lt_prog_compiler_static_CXX= 14914 ;; 14915 interix[3-9]*) 14916 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 14917 # Instead, we relocate shared libraries at runtime. 14918 ;; 14919 sysv4*MP*) 14920 if test -d /usr/nec; then 14921 lt_prog_compiler_pic_CXX=-Kconform_pic 14922 fi 14923 ;; 14924 hpux*) 14925 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 14926 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 14927 # sets the default TLS model and affects inlining. 14928 case $host_cpu in 14929 hppa*64*) 14930 ;; 14931 *) 14932 lt_prog_compiler_pic_CXX='-fPIC' 14933 ;; 14934 esac 14935 ;; 14936 *qnx* | *nto*) 14937 # QNX uses GNU C++, but need to define -shared option too, otherwise 14938 # it will coredump. 14939 lt_prog_compiler_pic_CXX='-fPIC -shared' 14940 ;; 14941 *) 14942 lt_prog_compiler_pic_CXX='-fPIC' 14943 ;; 14944 esac 14945 else 14946 case $host_os in 14947 aix[4-9]*) 14948 # All AIX code is PIC. 14949 if test ia64 = "$host_cpu"; then 14950 # AIX 5 now supports IA64 processor 14951 lt_prog_compiler_static_CXX='-Bstatic' 14952 else 14953 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 14954 fi 14955 ;; 14956 chorus*) 14957 case $cc_basename in 14958 cxch68*) 14959 # Green Hills C++ Compiler 14960 # _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" 14961 ;; 14962 esac 14963 ;; 14964 mingw* | cygwin* | os2* | pw32* | cegcc*) 14965 # This hack is so that the source file can tell whether it is being 14966 # built for inclusion in a dll (and should export symbols for example). 14967 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14968 ;; 14969 dgux*) 14970 case $cc_basename in 14971 ec++*) 14972 lt_prog_compiler_pic_CXX='-KPIC' 14973 ;; 14974 ghcx*) 14975 # Green Hills C++ Compiler 14976 lt_prog_compiler_pic_CXX='-pic' 14977 ;; 14978 *) 14979 ;; 14980 esac 14981 ;; 14982 freebsd* | dragonfly*) 14983 # FreeBSD uses GNU C++ 14984 ;; 14985 hpux9* | hpux10* | hpux11*) 14986 case $cc_basename in 14987 CC*) 14988 lt_prog_compiler_wl_CXX='-Wl,' 14989 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 14990 if test ia64 != "$host_cpu"; then 14991 lt_prog_compiler_pic_CXX='+Z' 14992 fi 14993 ;; 14994 aCC*) 14995 lt_prog_compiler_wl_CXX='-Wl,' 14996 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 14997 case $host_cpu in 14998 hppa*64*|ia64*) 14999 # +Z the default 15000 ;; 15001 *) 15002 lt_prog_compiler_pic_CXX='+Z' 15003 ;; 15004 esac 15005 ;; 15006 *) 15007 ;; 15008 esac 15009 ;; 15010 interix*) 15011 # This is c89, which is MS Visual C++ (no shared libs) 15012 # Anyone wants to do a port? 15013 ;; 15014 irix5* | irix6* | nonstopux*) 15015 case $cc_basename in 15016 CC*) 15017 lt_prog_compiler_wl_CXX='-Wl,' 15018 lt_prog_compiler_static_CXX='-non_shared' 15019 # CC pic flag -KPIC is the default. 15020 ;; 15021 *) 15022 ;; 15023 esac 15024 ;; 15025 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15026 case $cc_basename in 15027 KCC*) 15028 # KAI C++ Compiler 15029 lt_prog_compiler_wl_CXX='--backend -Wl,' 15030 lt_prog_compiler_pic_CXX='-fPIC' 15031 ;; 15032 ecpc* ) 15033 # old Intel C++ for x86_64, which still supported -KPIC. 15034 lt_prog_compiler_wl_CXX='-Wl,' 15035 lt_prog_compiler_pic_CXX='-KPIC' 15036 lt_prog_compiler_static_CXX='-static' 15037 ;; 15038 icpc* ) 15039 # Intel C++, used to be incompatible with GCC. 15040 # ICC 10 doesn't accept -KPIC any more. 15041 lt_prog_compiler_wl_CXX='-Wl,' 15042 lt_prog_compiler_pic_CXX='-fPIC' 15043 lt_prog_compiler_static_CXX='-static' 15044 ;; 15045 pgCC* | pgcpp*) 15046 # Portland Group C++ compiler 15047 lt_prog_compiler_wl_CXX='-Wl,' 15048 lt_prog_compiler_pic_CXX='-fpic' 15049 lt_prog_compiler_static_CXX='-Bstatic' 15050 ;; 15051 cxx*) 15052 # Compaq C++ 15053 # Make sure the PIC flag is empty. It appears that all Alpha 15054 # Linux and Compaq Tru64 Unix objects are PIC. 15055 lt_prog_compiler_pic_CXX= 15056 lt_prog_compiler_static_CXX='-non_shared' 15057 ;; 15058 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 15059 # IBM XL 8.0, 9.0 on PPC and BlueGene 15060 lt_prog_compiler_wl_CXX='-Wl,' 15061 lt_prog_compiler_pic_CXX='-qpic' 15062 lt_prog_compiler_static_CXX='-qstaticlink' 15063 ;; 15064 *) 15065 case `$CC -V 2>&1 | sed 5q` in 15066 *Sun\ C*) 15067 # Sun C++ 5.9 15068 lt_prog_compiler_pic_CXX='-KPIC' 15069 lt_prog_compiler_static_CXX='-Bstatic' 15070 lt_prog_compiler_wl_CXX='-Qoption ld ' 15071 ;; 15072 esac 15073 ;; 15074 esac 15075 ;; 15076 lynxos*) 15077 ;; 15078 m88k*) 15079 ;; 15080 mvs*) 15081 case $cc_basename in 15082 cxx*) 15083 lt_prog_compiler_pic_CXX='-W c,exportall' 15084 ;; 15085 *) 15086 ;; 15087 esac 15088 ;; 15089 netbsd*) 15090 ;; 15091 *qnx* | *nto*) 15092 # QNX uses GNU C++, but need to define -shared option too, otherwise 15093 # it will coredump. 15094 lt_prog_compiler_pic_CXX='-fPIC -shared' 15095 ;; 15096 osf3* | osf4* | osf5*) 15097 case $cc_basename in 15098 KCC*) 15099 lt_prog_compiler_wl_CXX='--backend -Wl,' 15100 ;; 15101 RCC*) 15102 # Rational C++ 2.4.1 15103 lt_prog_compiler_pic_CXX='-pic' 15104 ;; 15105 cxx*) 15106 # Digital/Compaq C++ 15107 lt_prog_compiler_wl_CXX='-Wl,' 15108 # Make sure the PIC flag is empty. It appears that all Alpha 15109 # Linux and Compaq Tru64 Unix objects are PIC. 15110 lt_prog_compiler_pic_CXX= 15111 lt_prog_compiler_static_CXX='-non_shared' 15112 ;; 15113 *) 15114 ;; 15115 esac 15116 ;; 15117 psos*) 15118 ;; 15119 solaris*) 15120 case $cc_basename in 15121 CC* | sunCC*) 15122 # Sun C++ 4.2, 5.x and Centerline C++ 15123 lt_prog_compiler_pic_CXX='-KPIC' 15124 lt_prog_compiler_static_CXX='-Bstatic' 15125 lt_prog_compiler_wl_CXX='-Qoption ld ' 15126 ;; 15127 gcx*) 15128 # Green Hills C++ Compiler 15129 lt_prog_compiler_pic_CXX='-PIC' 15130 ;; 15131 *) 15132 ;; 15133 esac 15134 ;; 15135 sunos4*) 15136 case $cc_basename in 15137 CC*) 15138 # Sun C++ 4.x 15139 lt_prog_compiler_pic_CXX='-pic' 15140 lt_prog_compiler_static_CXX='-Bstatic' 15141 ;; 15142 lcc*) 15143 # Lucid 15144 lt_prog_compiler_pic_CXX='-pic' 15145 ;; 15146 *) 15147 ;; 15148 esac 15149 ;; 15150 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15151 case $cc_basename in 15152 CC*) 15153 lt_prog_compiler_wl_CXX='-Wl,' 15154 lt_prog_compiler_pic_CXX='-KPIC' 15155 lt_prog_compiler_static_CXX='-Bstatic' 15156 ;; 15157 esac 15158 ;; 15159 tandem*) 15160 case $cc_basename in 15161 NCC*) 15162 # NonStop-UX NCC 3.20 15163 lt_prog_compiler_pic_CXX='-KPIC' 15164 ;; 15165 *) 15166 ;; 15167 esac 15168 ;; 15169 vxworks*) 15170 ;; 15171 *) 15172 lt_prog_compiler_can_build_shared_CXX=no 15173 ;; 15174 esac 15175 fi 15176 15177case $host_os in 15178 # For platforms that do not support PIC, -DPIC is meaningless: 15179 *djgpp*) 15180 lt_prog_compiler_pic_CXX= 15181 ;; 15182 *) 15183 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15184 ;; 15185esac 15186 15187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 15188$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15189if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 15190 $as_echo_n "(cached) " >&6 15191else 15192 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 15193fi 15194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 15195$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 15196lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 15197 15198# 15199# Check to make sure the PIC flag actually works. 15200# 15201if test -n "$lt_prog_compiler_pic_CXX"; then 15202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15203$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15204if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 15205 $as_echo_n "(cached) " >&6 15206else 15207 lt_cv_prog_compiler_pic_works_CXX=no 15208 ac_outfile=conftest.$ac_objext 15209 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15210 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 15211 # Insert the option either (1) after the last *FLAGS variable, or 15212 # (2) before a word containing "conftest.", or (3) at the end. 15213 # Note that $ac_compile itself does not contain backslashes and begins 15214 # with a dollar sign (not a hyphen), so the echo should work correctly. 15215 # The option is referenced via a variable to avoid confusing sed. 15216 lt_compile=`echo "$ac_compile" | $SED \ 15217 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15218 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15219 -e 's:$: $lt_compiler_flag:'` 15220 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15221 (eval "$lt_compile" 2>conftest.err) 15222 ac_status=$? 15223 cat conftest.err >&5 15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15225 if (exit $ac_status) && test -s "$ac_outfile"; then 15226 # The compiler can only warn and ignore the option if not recognized 15227 # So say no if there are warnings other than the usual output. 15228 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 15229 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15230 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15231 lt_cv_prog_compiler_pic_works_CXX=yes 15232 fi 15233 fi 15234 $RM conftest* 15235 15236fi 15237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15238$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15239 15240if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 15241 case $lt_prog_compiler_pic_CXX in 15242 "" | " "*) ;; 15243 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15244 esac 15245else 15246 lt_prog_compiler_pic_CXX= 15247 lt_prog_compiler_can_build_shared_CXX=no 15248fi 15249 15250fi 15251 15252 15253 15254 15255 15256# 15257# Check to make sure the static flag actually works. 15258# 15259wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15261$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15262if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 15263 $as_echo_n "(cached) " >&6 15264else 15265 lt_cv_prog_compiler_static_works_CXX=no 15266 save_LDFLAGS=$LDFLAGS 15267 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15268 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15269 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15270 # The linker can only warn and ignore the option if not recognized 15271 # So say no if there are warnings 15272 if test -s conftest.err; then 15273 # Append any errors to the config.log. 15274 cat conftest.err 1>&5 15275 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15276 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15277 if diff conftest.exp conftest.er2 >/dev/null; then 15278 lt_cv_prog_compiler_static_works_CXX=yes 15279 fi 15280 else 15281 lt_cv_prog_compiler_static_works_CXX=yes 15282 fi 15283 fi 15284 $RM -r conftest* 15285 LDFLAGS=$save_LDFLAGS 15286 15287fi 15288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15289$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15290 15291if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 15292 : 15293else 15294 lt_prog_compiler_static_CXX= 15295fi 15296 15297 15298 15299 15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15301$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15302if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15303 $as_echo_n "(cached) " >&6 15304else 15305 lt_cv_prog_compiler_c_o_CXX=no 15306 $RM -r conftest 2>/dev/null 15307 mkdir conftest 15308 cd conftest 15309 mkdir out 15310 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15311 15312 lt_compiler_flag="-o out/conftest2.$ac_objext" 15313 # Insert the option either (1) after the last *FLAGS variable, or 15314 # (2) before a word containing "conftest.", or (3) at the end. 15315 # Note that $ac_compile itself does not contain backslashes and begins 15316 # with a dollar sign (not a hyphen), so the echo should work correctly. 15317 lt_compile=`echo "$ac_compile" | $SED \ 15318 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15319 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15320 -e 's:$: $lt_compiler_flag:'` 15321 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15322 (eval "$lt_compile" 2>out/conftest.err) 15323 ac_status=$? 15324 cat out/conftest.err >&5 15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15326 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15327 then 15328 # The compiler can only warn and ignore the option if not recognized 15329 # So say no if there are warnings 15330 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15331 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15332 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15333 lt_cv_prog_compiler_c_o_CXX=yes 15334 fi 15335 fi 15336 chmod u+w . 2>&5 15337 $RM conftest* 15338 # SGI C++ compiler will create directory out/ii_files/ for 15339 # template instantiation 15340 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15341 $RM out/* && rmdir out 15342 cd .. 15343 $RM -r conftest 15344 $RM conftest* 15345 15346fi 15347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15348$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15349 15350 15351 15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15353$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15354if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15355 $as_echo_n "(cached) " >&6 15356else 15357 lt_cv_prog_compiler_c_o_CXX=no 15358 $RM -r conftest 2>/dev/null 15359 mkdir conftest 15360 cd conftest 15361 mkdir out 15362 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15363 15364 lt_compiler_flag="-o out/conftest2.$ac_objext" 15365 # Insert the option either (1) after the last *FLAGS variable, or 15366 # (2) before a word containing "conftest.", or (3) at the end. 15367 # Note that $ac_compile itself does not contain backslashes and begins 15368 # with a dollar sign (not a hyphen), so the echo should work correctly. 15369 lt_compile=`echo "$ac_compile" | $SED \ 15370 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15371 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15372 -e 's:$: $lt_compiler_flag:'` 15373 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15374 (eval "$lt_compile" 2>out/conftest.err) 15375 ac_status=$? 15376 cat out/conftest.err >&5 15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15378 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15379 then 15380 # The compiler can only warn and ignore the option if not recognized 15381 # So say no if there are warnings 15382 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15383 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15384 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15385 lt_cv_prog_compiler_c_o_CXX=yes 15386 fi 15387 fi 15388 chmod u+w . 2>&5 15389 $RM conftest* 15390 # SGI C++ compiler will create directory out/ii_files/ for 15391 # template instantiation 15392 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15393 $RM out/* && rmdir out 15394 cd .. 15395 $RM -r conftest 15396 $RM conftest* 15397 15398fi 15399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15400$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15401 15402 15403 15404 15405hard_links=nottested 15406if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 15407 # do not overwrite the value of need_locks provided by the user 15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15409$as_echo_n "checking if we can lock with hard links... " >&6; } 15410 hard_links=yes 15411 $RM conftest* 15412 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15413 touch conftest.a 15414 ln conftest.a conftest.b 2>&5 || hard_links=no 15415 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15417$as_echo "$hard_links" >&6; } 15418 if test no = "$hard_links"; then 15419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 15420$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 15421 need_locks=warn 15422 fi 15423else 15424 need_locks=no 15425fi 15426 15427 15428 15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15430$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15431 15432 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15433 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15434 case $host_os in 15435 aix[4-9]*) 15436 # If we're using GNU nm, then we don't want the "-C" option. 15437 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 15438 # Without the "-l" option, or with the "-B" option, AIX nm treats 15439 # weak defined symbols like other global defined symbols, whereas 15440 # GNU nm marks them as "W". 15441 # While the 'weak' keyword is ignored in the Export File, we need 15442 # it in the Import File for the 'aix-soname' feature, so we have 15443 # to replace the "-B" option with "-P" for AIX nm. 15444 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15445 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' 15446 else 15447 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' 15448 fi 15449 ;; 15450 pw32*) 15451 export_symbols_cmds_CXX=$ltdll_cmds 15452 ;; 15453 cygwin* | mingw* | cegcc*) 15454 case $cc_basename in 15455 cl*) 15456 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15457 ;; 15458 *) 15459 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' 15460 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15461 ;; 15462 esac 15463 ;; 15464 *) 15465 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15466 ;; 15467 esac 15468 15469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15470$as_echo "$ld_shlibs_CXX" >&6; } 15471test no = "$ld_shlibs_CXX" && can_build_shared=no 15472 15473with_gnu_ld_CXX=$with_gnu_ld 15474 15475 15476 15477 15478 15479 15480# 15481# Do we need to explicitly link libc? 15482# 15483case "x$archive_cmds_need_lc_CXX" in 15484x|xyes) 15485 # Assume -lc should be added 15486 archive_cmds_need_lc_CXX=yes 15487 15488 if test yes,yes = "$GCC,$enable_shared"; then 15489 case $archive_cmds_CXX in 15490 *'~'*) 15491 # FIXME: we may have to deal with multi-command sequences. 15492 ;; 15493 '$CC '*) 15494 # Test whether the compiler implicitly links with -lc since on some 15495 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15496 # to ld, don't add -lc before -lgcc. 15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15498$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15499if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 15500 $as_echo_n "(cached) " >&6 15501else 15502 $RM conftest* 15503 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15504 15505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15506 (eval $ac_compile) 2>&5 15507 ac_status=$? 15508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15509 test $ac_status = 0; } 2>conftest.err; then 15510 soname=conftest 15511 lib=conftest 15512 libobjs=conftest.$ac_objext 15513 deplibs= 15514 wl=$lt_prog_compiler_wl_CXX 15515 pic_flag=$lt_prog_compiler_pic_CXX 15516 compiler_flags=-v 15517 linker_flags=-v 15518 verstring= 15519 output_objdir=. 15520 libname=conftest 15521 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 15522 allow_undefined_flag_CXX= 15523 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15524 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15525 ac_status=$? 15526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15527 test $ac_status = 0; } 15528 then 15529 lt_cv_archive_cmds_need_lc_CXX=no 15530 else 15531 lt_cv_archive_cmds_need_lc_CXX=yes 15532 fi 15533 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 15534 else 15535 cat conftest.err 1>&5 15536 fi 15537 $RM conftest* 15538 15539fi 15540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 15541$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 15542 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 15543 ;; 15544 esac 15545 fi 15546 ;; 15547esac 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 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 15611$as_echo_n "checking dynamic linker characteristics... " >&6; } 15612 15613library_names_spec= 15614libname_spec='lib$name' 15615soname_spec= 15616shrext_cmds=.so 15617postinstall_cmds= 15618postuninstall_cmds= 15619finish_cmds= 15620finish_eval= 15621shlibpath_var= 15622shlibpath_overrides_runpath=unknown 15623version_type=none 15624dynamic_linker="$host_os ld.so" 15625sys_lib_dlsearch_path_spec="/lib /usr/lib" 15626need_lib_prefix=unknown 15627hardcode_into_libs=no 15628 15629# when you set need_version to no, make sure it does not cause -set_version 15630# flags to be left without arguments 15631need_version=unknown 15632 15633 15634 15635case $host_os in 15636aix3*) 15637 version_type=linux # correct to gnu/linux during the next big refactor 15638 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 15639 shlibpath_var=LIBPATH 15640 15641 # AIX 3 has no versioning support, so we append a major version to the name. 15642 soname_spec='$libname$release$shared_ext$major' 15643 ;; 15644 15645aix[4-9]*) 15646 version_type=linux # correct to gnu/linux during the next big refactor 15647 need_lib_prefix=no 15648 need_version=no 15649 hardcode_into_libs=yes 15650 if test ia64 = "$host_cpu"; then 15651 # AIX 5 supports IA64 15652 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 15653 shlibpath_var=LD_LIBRARY_PATH 15654 else 15655 # With GCC up to 2.95.x, collect2 would create an import file 15656 # for dependence libraries. The import file would start with 15657 # the line '#! .'. This would cause the generated library to 15658 # depend on '.', always an invalid library. This was fixed in 15659 # development snapshots of GCC prior to 3.0. 15660 case $host_os in 15661 aix4 | aix4.[01] | aix4.[01].*) 15662 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 15663 echo ' yes ' 15664 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 15665 : 15666 else 15667 can_build_shared=no 15668 fi 15669 ;; 15670 esac 15671 # Using Import Files as archive members, it is possible to support 15672 # filename-based versioning of shared library archives on AIX. While 15673 # this would work for both with and without runtime linking, it will 15674 # prevent static linking of such archives. So we do filename-based 15675 # shared library versioning with .so extension only, which is used 15676 # when both runtime linking and shared linking is enabled. 15677 # Unfortunately, runtime linking may impact performance, so we do 15678 # not want this to be the default eventually. Also, we use the 15679 # versioned .so libs for executables only if there is the -brtl 15680 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 15681 # To allow for filename-based versioning support, we need to create 15682 # libNAME.so.V as an archive file, containing: 15683 # *) an Import File, referring to the versioned filename of the 15684 # archive as well as the shared archive member, telling the 15685 # bitwidth (32 or 64) of that shared object, and providing the 15686 # list of exported symbols of that shared object, eventually 15687 # decorated with the 'weak' keyword 15688 # *) the shared object with the F_LOADONLY flag set, to really avoid 15689 # it being seen by the linker. 15690 # At run time we better use the real file rather than another symlink, 15691 # but for link time we create the symlink libNAME.so -> libNAME.so.V 15692 15693 case $with_aix_soname,$aix_use_runtimelinking in 15694 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 15695 # soname into executable. Probably we can add versioning support to 15696 # collect2, so additional links can be useful in future. 15697 aix,yes) # traditional libtool 15698 dynamic_linker='AIX unversionable lib.so' 15699 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 15700 # instead of lib<name>.a to let people know that these are not 15701 # typical AIX shared libraries. 15702 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15703 ;; 15704 aix,no) # traditional AIX only 15705 dynamic_linker='AIX lib.a(lib.so.V)' 15706 # We preserve .a as extension for shared libraries through AIX4.2 15707 # and later when we are not doing run time linking. 15708 library_names_spec='$libname$release.a $libname.a' 15709 soname_spec='$libname$release$shared_ext$major' 15710 ;; 15711 svr4,*) # full svr4 only 15712 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 15713 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15714 # We do not specify a path in Import Files, so LIBPATH fires. 15715 shlibpath_overrides_runpath=yes 15716 ;; 15717 *,yes) # both, prefer svr4 15718 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 15719 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15720 # unpreferred sharedlib libNAME.a needs extra handling 15721 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"' 15722 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"' 15723 # We do not specify a path in Import Files, so LIBPATH fires. 15724 shlibpath_overrides_runpath=yes 15725 ;; 15726 *,no) # both, prefer aix 15727 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 15728 library_names_spec='$libname$release.a $libname.a' 15729 soname_spec='$libname$release$shared_ext$major' 15730 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 15731 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)' 15732 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"' 15733 ;; 15734 esac 15735 shlibpath_var=LIBPATH 15736 fi 15737 ;; 15738 15739amigaos*) 15740 case $host_cpu in 15741 powerpc) 15742 # Since July 2007 AmigaOS4 officially supports .so libraries. 15743 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 15744 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15745 ;; 15746 m68k) 15747 library_names_spec='$libname.ixlibrary $libname.a' 15748 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15749 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' 15750 ;; 15751 esac 15752 ;; 15753 15754beos*) 15755 library_names_spec='$libname$shared_ext' 15756 dynamic_linker="$host_os ld.so" 15757 shlibpath_var=LIBRARY_PATH 15758 ;; 15759 15760bsdi[45]*) 15761 version_type=linux # correct to gnu/linux during the next big refactor 15762 need_version=no 15763 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15764 soname_spec='$libname$release$shared_ext$major' 15765 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 15766 shlibpath_var=LD_LIBRARY_PATH 15767 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 15768 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 15769 # the default ld.so.conf also contains /usr/contrib/lib and 15770 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 15771 # libtool to hard-code these into programs 15772 ;; 15773 15774cygwin* | mingw* | pw32* | cegcc*) 15775 version_type=windows 15776 shrext_cmds=.dll 15777 need_version=no 15778 need_lib_prefix=no 15779 15780 case $GCC,$cc_basename in 15781 yes,*) 15782 # gcc 15783 library_names_spec='$libname.dll.a' 15784 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15785 postinstall_cmds='base_file=`basename \$file`~ 15786 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15787 dldir=$destdir/`dirname \$dlpath`~ 15788 test -d \$dldir || mkdir -p \$dldir~ 15789 $install_prog $dir/$dlname \$dldir/$dlname~ 15790 chmod a+x \$dldir/$dlname~ 15791 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15792 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15793 fi' 15794 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15795 dlpath=$dir/\$dldll~ 15796 $RM \$dlpath' 15797 shlibpath_overrides_runpath=yes 15798 15799 case $host_os in 15800 cygwin*) 15801 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 15802 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15803 15804 ;; 15805 mingw* | cegcc*) 15806 # MinGW DLLs use traditional 'lib' prefix 15807 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15808 ;; 15809 pw32*) 15810 # pw32 DLLs use 'pw' prefix rather than 'lib' 15811 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15812 ;; 15813 esac 15814 dynamic_linker='Win32 ld.exe' 15815 ;; 15816 15817 *,cl*) 15818 # Native MSVC 15819 libname_spec='$name' 15820 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15821 library_names_spec='$libname.dll.lib' 15822 15823 case $build_os in 15824 mingw*) 15825 sys_lib_search_path_spec= 15826 lt_save_ifs=$IFS 15827 IFS=';' 15828 for lt_path in $LIB 15829 do 15830 IFS=$lt_save_ifs 15831 # Let DOS variable expansion print the short 8.3 style file name. 15832 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 15833 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 15834 done 15835 IFS=$lt_save_ifs 15836 # Convert to MSYS style. 15837 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 15838 ;; 15839 cygwin*) 15840 # Convert to unix form, then to dos form, then back to unix form 15841 # but this time dos style (no spaces!) so that the unix form looks 15842 # like /cygdrive/c/PROGRA~1:/cygdr... 15843 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 15844 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 15845 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15846 ;; 15847 *) 15848 sys_lib_search_path_spec=$LIB 15849 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 15850 # It is most probably a Windows format PATH. 15851 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 15852 else 15853 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15854 fi 15855 # FIXME: find the short name or the path components, as spaces are 15856 # common. (e.g. "Program Files" -> "PROGRA~1") 15857 ;; 15858 esac 15859 15860 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15861 postinstall_cmds='base_file=`basename \$file`~ 15862 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15863 dldir=$destdir/`dirname \$dlpath`~ 15864 test -d \$dldir || mkdir -p \$dldir~ 15865 $install_prog $dir/$dlname \$dldir/$dlname' 15866 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15867 dlpath=$dir/\$dldll~ 15868 $RM \$dlpath' 15869 shlibpath_overrides_runpath=yes 15870 dynamic_linker='Win32 link.exe' 15871 ;; 15872 15873 *) 15874 # Assume MSVC wrapper 15875 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 15876 dynamic_linker='Win32 ld.exe' 15877 ;; 15878 esac 15879 # FIXME: first we should search . and the directory the executable is in 15880 shlibpath_var=PATH 15881 ;; 15882 15883darwin* | rhapsody*) 15884 dynamic_linker="$host_os dyld" 15885 version_type=darwin 15886 need_lib_prefix=no 15887 need_version=no 15888 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 15889 soname_spec='$libname$release$major$shared_ext' 15890 shlibpath_overrides_runpath=yes 15891 shlibpath_var=DYLD_LIBRARY_PATH 15892 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 15893 15894 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15895 ;; 15896 15897dgux*) 15898 version_type=linux # correct to gnu/linux during the next big refactor 15899 need_lib_prefix=no 15900 need_version=no 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 shlibpath_var=LD_LIBRARY_PATH 15904 ;; 15905 15906freebsd* | dragonfly*) 15907 # DragonFly does not have aout. When/if they implement a new 15908 # versioning mechanism, adjust this. 15909 if test -x /usr/bin/objformat; then 15910 objformat=`/usr/bin/objformat` 15911 else 15912 case $host_os in 15913 freebsd[23].*) objformat=aout ;; 15914 *) objformat=elf ;; 15915 esac 15916 fi 15917 version_type=freebsd-$objformat 15918 case $version_type in 15919 freebsd-elf*) 15920 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15921 soname_spec='$libname$release$shared_ext$major' 15922 need_version=no 15923 need_lib_prefix=no 15924 ;; 15925 freebsd-*) 15926 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15927 need_version=yes 15928 ;; 15929 esac 15930 shlibpath_var=LD_LIBRARY_PATH 15931 case $host_os in 15932 freebsd2.*) 15933 shlibpath_overrides_runpath=yes 15934 ;; 15935 freebsd3.[01]* | freebsdelf3.[01]*) 15936 shlibpath_overrides_runpath=yes 15937 hardcode_into_libs=yes 15938 ;; 15939 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 15940 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 15941 shlibpath_overrides_runpath=no 15942 hardcode_into_libs=yes 15943 ;; 15944 *) # from 4.6 on, and DragonFly 15945 shlibpath_overrides_runpath=yes 15946 hardcode_into_libs=yes 15947 ;; 15948 esac 15949 ;; 15950 15951haiku*) 15952 version_type=linux # correct to gnu/linux during the next big refactor 15953 need_lib_prefix=no 15954 need_version=no 15955 dynamic_linker="$host_os runtime_loader" 15956 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15957 soname_spec='$libname$release$shared_ext$major' 15958 shlibpath_var=LIBRARY_PATH 15959 shlibpath_overrides_runpath=no 15960 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 15961 hardcode_into_libs=yes 15962 ;; 15963 15964hpux9* | hpux10* | hpux11*) 15965 # Give a soname corresponding to the major version so that dld.sl refuses to 15966 # link against other versions. 15967 version_type=sunos 15968 need_lib_prefix=no 15969 need_version=no 15970 case $host_cpu in 15971 ia64*) 15972 shrext_cmds='.so' 15973 hardcode_into_libs=yes 15974 dynamic_linker="$host_os dld.so" 15975 shlibpath_var=LD_LIBRARY_PATH 15976 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15977 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15978 soname_spec='$libname$release$shared_ext$major' 15979 if test 32 = "$HPUX_IA64_MODE"; then 15980 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 15981 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 15982 else 15983 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 15984 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 15985 fi 15986 ;; 15987 hppa*64*) 15988 shrext_cmds='.sl' 15989 hardcode_into_libs=yes 15990 dynamic_linker="$host_os dld.sl" 15991 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 15992 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15993 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15994 soname_spec='$libname$release$shared_ext$major' 15995 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 15996 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15997 ;; 15998 *) 15999 shrext_cmds='.sl' 16000 dynamic_linker="$host_os dld.sl" 16001 shlibpath_var=SHLIB_PATH 16002 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16003 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16004 soname_spec='$libname$release$shared_ext$major' 16005 ;; 16006 esac 16007 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16008 postinstall_cmds='chmod 555 $lib' 16009 # or fails outright, so override atomically: 16010 install_override_mode=555 16011 ;; 16012 16013interix[3-9]*) 16014 version_type=linux # correct to gnu/linux during the next big refactor 16015 need_lib_prefix=no 16016 need_version=no 16017 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16018 soname_spec='$libname$release$shared_ext$major' 16019 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16020 shlibpath_var=LD_LIBRARY_PATH 16021 shlibpath_overrides_runpath=no 16022 hardcode_into_libs=yes 16023 ;; 16024 16025irix5* | irix6* | nonstopux*) 16026 case $host_os in 16027 nonstopux*) version_type=nonstopux ;; 16028 *) 16029 if test yes = "$lt_cv_prog_gnu_ld"; then 16030 version_type=linux # correct to gnu/linux during the next big refactor 16031 else 16032 version_type=irix 16033 fi ;; 16034 esac 16035 need_lib_prefix=no 16036 need_version=no 16037 soname_spec='$libname$release$shared_ext$major' 16038 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 16039 case $host_os in 16040 irix5* | nonstopux*) 16041 libsuff= shlibsuff= 16042 ;; 16043 *) 16044 case $LD in # libtool.m4 will add one of these switches to LD 16045 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16046 libsuff= shlibsuff= libmagic=32-bit;; 16047 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16048 libsuff=32 shlibsuff=N32 libmagic=N32;; 16049 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16050 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16051 *) libsuff= shlibsuff= libmagic=never-match;; 16052 esac 16053 ;; 16054 esac 16055 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16056 shlibpath_overrides_runpath=no 16057 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 16058 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 16059 hardcode_into_libs=yes 16060 ;; 16061 16062# No shared lib support for Linux oldld, aout, or coff. 16063linux*oldld* | linux*aout* | linux*coff*) 16064 dynamic_linker=no 16065 ;; 16066 16067linux*android*) 16068 version_type=none # Android doesn't support versioned libraries. 16069 need_lib_prefix=no 16070 need_version=no 16071 library_names_spec='$libname$release$shared_ext' 16072 soname_spec='$libname$release$shared_ext' 16073 finish_cmds= 16074 shlibpath_var=LD_LIBRARY_PATH 16075 shlibpath_overrides_runpath=yes 16076 16077 # This implies no fast_install, which is unacceptable. 16078 # Some rework will be needed to allow for fast_install 16079 # before this can be enabled. 16080 hardcode_into_libs=yes 16081 16082 dynamic_linker='Android linker' 16083 # Don't embed -rpath directories since the linker doesn't support them. 16084 hardcode_libdir_flag_spec_CXX='-L$libdir' 16085 ;; 16086 16087# This must be glibc/ELF. 16088linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16089 version_type=linux # correct to gnu/linux during the next big refactor 16090 need_lib_prefix=no 16091 need_version=no 16092 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16093 soname_spec='$libname$release$shared_ext$major' 16094 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16095 shlibpath_var=LD_LIBRARY_PATH 16096 shlibpath_overrides_runpath=no 16097 16098 # Some binutils ld are patched to set DT_RUNPATH 16099 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 16100 $as_echo_n "(cached) " >&6 16101else 16102 lt_cv_shlibpath_overrides_runpath=no 16103 save_LDFLAGS=$LDFLAGS 16104 save_libdir=$libdir 16105 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16106 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16108/* end confdefs.h. */ 16109 16110int 16111main () 16112{ 16113 16114 ; 16115 return 0; 16116} 16117_ACEOF 16118if ac_fn_cxx_try_link "$LINENO"; then : 16119 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16120 lt_cv_shlibpath_overrides_runpath=yes 16121fi 16122fi 16123rm -f core conftest.err conftest.$ac_objext \ 16124 conftest$ac_exeext conftest.$ac_ext 16125 LDFLAGS=$save_LDFLAGS 16126 libdir=$save_libdir 16127 16128fi 16129 16130 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16131 16132 # This implies no fast_install, which is unacceptable. 16133 # Some rework will be needed to allow for fast_install 16134 # before this can be enabled. 16135 hardcode_into_libs=yes 16136 16137 # Add ABI-specific directories to the system library path. 16138 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 16139 16140 # Ideally, we could use ldconfig to report *all* directores which are 16141 # searched for libraries, however this is still not possible. Aside from not 16142 # being certain /sbin/ldconfig is available, command 16143 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 16144 # even though it is searched at run-time. Try to do the best guess by 16145 # appending ld.so.conf contents (and includes) to the search path. 16146 if test -f /etc/ld.so.conf; then 16147 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' ' '` 16148 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 16149 fi 16150 16151 # We used to test for /lib/ld.so.1 and disable shared libraries on 16152 # powerpc, because MkLinux only supported shared libraries with the 16153 # GNU dynamic linker. Since this was broken with cross compilers, 16154 # most powerpc-linux boxes support dynamic linking these days and 16155 # people can always --disable-shared, the test was removed, and we 16156 # assume the GNU/Linux dynamic linker is in use. 16157 dynamic_linker='GNU/Linux ld.so' 16158 ;; 16159 16160netbsd*) 16161 version_type=sunos 16162 need_lib_prefix=no 16163 need_version=no 16164 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16165 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16166 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16167 dynamic_linker='NetBSD (a.out) ld.so' 16168 else 16169 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16170 soname_spec='$libname$release$shared_ext$major' 16171 dynamic_linker='NetBSD ld.elf_so' 16172 fi 16173 shlibpath_var=LD_LIBRARY_PATH 16174 shlibpath_overrides_runpath=yes 16175 hardcode_into_libs=yes 16176 ;; 16177 16178newsos6) 16179 version_type=linux # correct to gnu/linux during the next big refactor 16180 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16181 shlibpath_var=LD_LIBRARY_PATH 16182 shlibpath_overrides_runpath=yes 16183 ;; 16184 16185*nto* | *qnx*) 16186 version_type=qnx 16187 need_lib_prefix=no 16188 need_version=no 16189 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16190 soname_spec='$libname$release$shared_ext$major' 16191 shlibpath_var=LD_LIBRARY_PATH 16192 shlibpath_overrides_runpath=no 16193 hardcode_into_libs=yes 16194 dynamic_linker='ldqnx.so' 16195 ;; 16196 16197openbsd* | bitrig*) 16198 version_type=sunos 16199 sys_lib_dlsearch_path_spec=/usr/lib 16200 need_lib_prefix=no 16201 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 16202 need_version=no 16203 else 16204 need_version=yes 16205 fi 16206 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16207 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16208 shlibpath_var=LD_LIBRARY_PATH 16209 shlibpath_overrides_runpath=yes 16210 ;; 16211 16212os2*) 16213 libname_spec='$name' 16214 version_type=windows 16215 shrext_cmds=.dll 16216 need_version=no 16217 need_lib_prefix=no 16218 # OS/2 can only load a DLL with a base name of 8 characters or less. 16219 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 16220 v=$($ECHO $release$versuffix | tr -d .-); 16221 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 16222 $ECHO $n$v`$shared_ext' 16223 library_names_spec='${libname}_dll.$libext' 16224 dynamic_linker='OS/2 ld.exe' 16225 shlibpath_var=BEGINLIBPATH 16226 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 16227 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16228 postinstall_cmds='base_file=`basename \$file`~ 16229 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 16230 dldir=$destdir/`dirname \$dlpath`~ 16231 test -d \$dldir || mkdir -p \$dldir~ 16232 $install_prog $dir/$dlname \$dldir/$dlname~ 16233 chmod a+x \$dldir/$dlname~ 16234 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16235 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16236 fi' 16237 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 16238 dlpath=$dir/\$dldll~ 16239 $RM \$dlpath' 16240 ;; 16241 16242osf3* | osf4* | osf5*) 16243 version_type=osf 16244 need_lib_prefix=no 16245 need_version=no 16246 soname_spec='$libname$release$shared_ext$major' 16247 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16248 shlibpath_var=LD_LIBRARY_PATH 16249 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16250 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16251 ;; 16252 16253rdos*) 16254 dynamic_linker=no 16255 ;; 16256 16257solaris*) 16258 version_type=linux # correct to gnu/linux during the next big refactor 16259 need_lib_prefix=no 16260 need_version=no 16261 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16262 soname_spec='$libname$release$shared_ext$major' 16263 shlibpath_var=LD_LIBRARY_PATH 16264 shlibpath_overrides_runpath=yes 16265 hardcode_into_libs=yes 16266 # ldd complains unless libraries are executable 16267 postinstall_cmds='chmod +x $lib' 16268 ;; 16269 16270sunos4*) 16271 version_type=sunos 16272 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16273 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16274 shlibpath_var=LD_LIBRARY_PATH 16275 shlibpath_overrides_runpath=yes 16276 if test yes = "$with_gnu_ld"; then 16277 need_lib_prefix=no 16278 fi 16279 need_version=yes 16280 ;; 16281 16282sysv4 | sysv4.3*) 16283 version_type=linux # correct to gnu/linux during the next big refactor 16284 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16285 soname_spec='$libname$release$shared_ext$major' 16286 shlibpath_var=LD_LIBRARY_PATH 16287 case $host_vendor in 16288 sni) 16289 shlibpath_overrides_runpath=no 16290 need_lib_prefix=no 16291 runpath_var=LD_RUN_PATH 16292 ;; 16293 siemens) 16294 need_lib_prefix=no 16295 ;; 16296 motorola) 16297 need_lib_prefix=no 16298 need_version=no 16299 shlibpath_overrides_runpath=no 16300 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16301 ;; 16302 esac 16303 ;; 16304 16305sysv4*MP*) 16306 if test -d /usr/nec; then 16307 version_type=linux # correct to gnu/linux during the next big refactor 16308 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 16309 soname_spec='$libname$shared_ext.$major' 16310 shlibpath_var=LD_LIBRARY_PATH 16311 fi 16312 ;; 16313 16314sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16315 version_type=sco 16316 need_lib_prefix=no 16317 need_version=no 16318 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 16319 soname_spec='$libname$release$shared_ext$major' 16320 shlibpath_var=LD_LIBRARY_PATH 16321 shlibpath_overrides_runpath=yes 16322 hardcode_into_libs=yes 16323 if test yes = "$with_gnu_ld"; then 16324 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16325 else 16326 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16327 case $host_os in 16328 sco3.2v5*) 16329 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16330 ;; 16331 esac 16332 fi 16333 sys_lib_dlsearch_path_spec='/usr/lib' 16334 ;; 16335 16336tpf*) 16337 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16338 version_type=linux # correct to gnu/linux during the next big refactor 16339 need_lib_prefix=no 16340 need_version=no 16341 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16342 shlibpath_var=LD_LIBRARY_PATH 16343 shlibpath_overrides_runpath=no 16344 hardcode_into_libs=yes 16345 ;; 16346 16347uts4*) 16348 version_type=linux # correct to gnu/linux during the next big refactor 16349 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16350 soname_spec='$libname$release$shared_ext$major' 16351 shlibpath_var=LD_LIBRARY_PATH 16352 ;; 16353 16354*) 16355 dynamic_linker=no 16356 ;; 16357esac 16358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16359$as_echo "$dynamic_linker" >&6; } 16360test no = "$dynamic_linker" && can_build_shared=no 16361 16362variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16363if test yes = "$GCC"; then 16364 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16365fi 16366 16367if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16368 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16369fi 16370 16371if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16372 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16373fi 16374 16375# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16376configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16377 16378# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16379func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16380 16381# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16382configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 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 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16424$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16425hardcode_action_CXX= 16426if test -n "$hardcode_libdir_flag_spec_CXX" || 16427 test -n "$runpath_var_CXX" || 16428 test yes = "$hardcode_automatic_CXX"; then 16429 16430 # We can hardcode non-existent directories. 16431 if test no != "$hardcode_direct_CXX" && 16432 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16433 # have to relink, otherwise we might link with an installed library 16434 # when we should be linking with a yet-to-be-installed one 16435 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 16436 test no != "$hardcode_minus_L_CXX"; then 16437 # Linking always hardcodes the temporary library directory. 16438 hardcode_action_CXX=relink 16439 else 16440 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16441 hardcode_action_CXX=immediate 16442 fi 16443else 16444 # We cannot hardcode anything, or else we can only hardcode existing 16445 # directories. 16446 hardcode_action_CXX=unsupported 16447fi 16448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16449$as_echo "$hardcode_action_CXX" >&6; } 16450 16451if test relink = "$hardcode_action_CXX" || 16452 test yes = "$inherit_rpath_CXX"; then 16453 # Fast installation is not supported 16454 enable_fast_install=no 16455elif test yes = "$shlibpath_overrides_runpath" || 16456 test no = "$enable_shared"; then 16457 # Fast installation is not necessary 16458 enable_fast_install=needless 16459fi 16460 16461 16462 16463 16464 16465 16466 16467 fi # test -n "$compiler" 16468 16469 CC=$lt_save_CC 16470 CFLAGS=$lt_save_CFLAGS 16471 LDCXX=$LD 16472 LD=$lt_save_LD 16473 GCC=$lt_save_GCC 16474 with_gnu_ld=$lt_save_with_gnu_ld 16475 lt_cv_path_LDCXX=$lt_cv_path_LD 16476 lt_cv_path_LD=$lt_save_path_LD 16477 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 16478 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 16479fi # test yes != "$_lt_caught_CXX_error" 16480 16481ac_ext=c 16482ac_cpp='$CPP $CPPFLAGS' 16483ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16484ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16485ac_compiler_gnu=$ac_cv_c_compiler_gnu 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 ac_config_commands="$ac_config_commands libtool" 16502 16503 16504 16505 16506# Only expand once: 16507 16508 16509 16510# Check for m4 and sed which are used for plug-in .hg and .ccg file generation. 16511for ac_prog in gm4 m4 16512do 16513 # Extract the first word of "$ac_prog", so it can be a program name with args. 16514set dummy $ac_prog; ac_word=$2 16515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16516$as_echo_n "checking for $ac_word... " >&6; } 16517if ${ac_cv_prog_M4+:} false; then : 16518 $as_echo_n "(cached) " >&6 16519else 16520 if test -n "$M4"; then 16521 ac_cv_prog_M4="$M4" # Let the user override the test. 16522else 16523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16524for as_dir in $PATH 16525do 16526 IFS=$as_save_IFS 16527 test -z "$as_dir" && as_dir=. 16528 for ac_exec_ext in '' $ac_executable_extensions; do 16529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16530 ac_cv_prog_M4="$ac_prog" 16531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16532 break 2 16533 fi 16534done 16535 done 16536IFS=$as_save_IFS 16537 16538fi 16539fi 16540M4=$ac_cv_prog_M4 16541if test -n "$M4"; then 16542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5 16543$as_echo "$M4" >&6; } 16544else 16545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16546$as_echo "no" >&6; } 16547fi 16548 16549 16550 test -n "$M4" && break 16551done 16552test -n "$M4" || M4="m4" 16553 16554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 16555$as_echo_n "checking for a sed that does not truncate output... " >&6; } 16556if ${ac_cv_path_SED+:} false; then : 16557 $as_echo_n "(cached) " >&6 16558else 16559 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 16560 for ac_i in 1 2 3 4 5 6 7; do 16561 ac_script="$ac_script$as_nl$ac_script" 16562 done 16563 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 16564 { ac_script=; unset ac_script;} 16565 if test -z "$SED"; then 16566 ac_path_SED_found=false 16567 # Loop through the user's path and test for each of PROGNAME-LIST 16568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16569for as_dir in $PATH 16570do 16571 IFS=$as_save_IFS 16572 test -z "$as_dir" && as_dir=. 16573 for ac_prog in sed gsed; do 16574 for ac_exec_ext in '' $ac_executable_extensions; do 16575 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 16576 as_fn_executable_p "$ac_path_SED" || continue 16577# Check for GNU ac_path_SED and select it if it is found. 16578 # Check for GNU $ac_path_SED 16579case `"$ac_path_SED" --version 2>&1` in 16580*GNU*) 16581 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 16582*) 16583 ac_count=0 16584 $as_echo_n 0123456789 >"conftest.in" 16585 while : 16586 do 16587 cat "conftest.in" "conftest.in" >"conftest.tmp" 16588 mv "conftest.tmp" "conftest.in" 16589 cp "conftest.in" "conftest.nl" 16590 $as_echo '' >> "conftest.nl" 16591 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 16592 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 16593 as_fn_arith $ac_count + 1 && ac_count=$as_val 16594 if test $ac_count -gt ${ac_path_SED_max-0}; then 16595 # Best one so far, save it but keep looking for a better one 16596 ac_cv_path_SED="$ac_path_SED" 16597 ac_path_SED_max=$ac_count 16598 fi 16599 # 10*(2^10) chars as input seems more than enough 16600 test $ac_count -gt 10 && break 16601 done 16602 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 16603esac 16604 16605 $ac_path_SED_found && break 3 16606 done 16607 done 16608 done 16609IFS=$as_save_IFS 16610 if test -z "$ac_cv_path_SED"; then 16611 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 16612 fi 16613else 16614 ac_cv_path_SED=$SED 16615fi 16616 16617fi 16618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 16619$as_echo "$ac_cv_path_SED" >&6; } 16620 SED="$ac_cv_path_SED" 16621 rm -f conftest.sed 16622 16623 16624# TODO: This makes no sense. --danielk 16625if test "x$enable_static" = xyes; then : 16626 16627 16628$as_echo "#define GSTREAMERMM_STATIC_LIB 1" >>confdefs.h 16629 16630 16631fi 16632 16633# The format below is used so that the requirements appear nicely in the .pc 16634# file. 16635 16636GSTREAMERMM_MODULES='giomm-2.4 >= 2.47.6 gstreamer-1.0 >= 1.10.0 gstreamer-base-1.0 >= 1.10.0 gstreamer-check-1.0 >= 1.10.0 gstreamer-controller-1.0 >= 1.10.0 gstreamer-net-1.0 >= 1.10.0 gstreamer-allocators-1.0 >= 1.10.0 gstreamer-app-1.0 >= 1.10.0 gstreamer-audio-1.0 >= 1.10.0 gstreamer-fft-1.0 >= 1.10.0 gstreamer-pbutils-1.0 >= 1.10.0 gstreamer-plugins-base-1.0 >= 1.10.0 gstreamer-riff-1.0 >= 1.10.0 gstreamer-rtp-1.0 >= 1.10.0 gstreamer-rtsp-1.0 >= 1.10.0 gstreamer-sdp-1.0 >= 1.10.0 gstreamer-tag-1.0 >= 1.10.0 gstreamer-video-1.0 >= 1.10.0' 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 16647 if test -n "$ac_tool_prefix"; then 16648 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 16649set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 16650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16651$as_echo_n "checking for $ac_word... " >&6; } 16652if ${ac_cv_path_PKG_CONFIG+:} false; then : 16653 $as_echo_n "(cached) " >&6 16654else 16655 case $PKG_CONFIG in 16656 [\\/]* | ?:[\\/]*) 16657 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 16658 ;; 16659 *) 16660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16661for as_dir in $PATH 16662do 16663 IFS=$as_save_IFS 16664 test -z "$as_dir" && as_dir=. 16665 for ac_exec_ext in '' $ac_executable_extensions; do 16666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16667 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16669 break 2 16670 fi 16671done 16672 done 16673IFS=$as_save_IFS 16674 16675 ;; 16676esac 16677fi 16678PKG_CONFIG=$ac_cv_path_PKG_CONFIG 16679if test -n "$PKG_CONFIG"; then 16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 16681$as_echo "$PKG_CONFIG" >&6; } 16682else 16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16684$as_echo "no" >&6; } 16685fi 16686 16687 16688fi 16689if test -z "$ac_cv_path_PKG_CONFIG"; then 16690 ac_pt_PKG_CONFIG=$PKG_CONFIG 16691 # Extract the first word of "pkg-config", so it can be a program name with args. 16692set dummy pkg-config; ac_word=$2 16693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16694$as_echo_n "checking for $ac_word... " >&6; } 16695if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 16696 $as_echo_n "(cached) " >&6 16697else 16698 case $ac_pt_PKG_CONFIG in 16699 [\\/]* | ?:[\\/]*) 16700 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 16701 ;; 16702 *) 16703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16704for as_dir in $PATH 16705do 16706 IFS=$as_save_IFS 16707 test -z "$as_dir" && as_dir=. 16708 for ac_exec_ext in '' $ac_executable_extensions; do 16709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16710 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16712 break 2 16713 fi 16714done 16715 done 16716IFS=$as_save_IFS 16717 16718 ;; 16719esac 16720fi 16721ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 16722if test -n "$ac_pt_PKG_CONFIG"; then 16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 16724$as_echo "$ac_pt_PKG_CONFIG" >&6; } 16725else 16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16727$as_echo "no" >&6; } 16728fi 16729 16730 if test "x$ac_pt_PKG_CONFIG" = x; then 16731 PKG_CONFIG="" 16732 else 16733 case $cross_compiling:$ac_tool_warned in 16734yes:) 16735{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16736$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16737ac_tool_warned=yes ;; 16738esac 16739 PKG_CONFIG=$ac_pt_PKG_CONFIG 16740 fi 16741else 16742 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 16743fi 16744 16745fi 16746if test -n "$PKG_CONFIG"; then 16747 _pkg_min_version=0.9.0 16748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 16749$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 16750 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16752$as_echo "yes" >&6; } 16753 else 16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16755$as_echo "no" >&6; } 16756 PKG_CONFIG="" 16757 fi 16758fi 16759 16760pkg_failed=no 16761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMERMM" >&5 16762$as_echo_n "checking for GSTREAMERMM... " >&6; } 16763 16764if test -n "$GSTREAMERMM_CFLAGS"; then 16765 pkg_cv_GSTREAMERMM_CFLAGS="$GSTREAMERMM_CFLAGS" 16766 elif test -n "$PKG_CONFIG"; then 16767 if test -n "$PKG_CONFIG" && \ 16768 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GSTREAMERMM_MODULES\""; } >&5 16769 ($PKG_CONFIG --exists --print-errors "$GSTREAMERMM_MODULES") 2>&5 16770 ac_status=$? 16771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16772 test $ac_status = 0; }; then 16773 pkg_cv_GSTREAMERMM_CFLAGS=`$PKG_CONFIG --cflags "$GSTREAMERMM_MODULES" 2>/dev/null` 16774 test "x$?" != "x0" && pkg_failed=yes 16775else 16776 pkg_failed=yes 16777fi 16778 else 16779 pkg_failed=untried 16780fi 16781if test -n "$GSTREAMERMM_LIBS"; then 16782 pkg_cv_GSTREAMERMM_LIBS="$GSTREAMERMM_LIBS" 16783 elif test -n "$PKG_CONFIG"; then 16784 if test -n "$PKG_CONFIG" && \ 16785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GSTREAMERMM_MODULES\""; } >&5 16786 ($PKG_CONFIG --exists --print-errors "$GSTREAMERMM_MODULES") 2>&5 16787 ac_status=$? 16788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16789 test $ac_status = 0; }; then 16790 pkg_cv_GSTREAMERMM_LIBS=`$PKG_CONFIG --libs "$GSTREAMERMM_MODULES" 2>/dev/null` 16791 test "x$?" != "x0" && pkg_failed=yes 16792else 16793 pkg_failed=yes 16794fi 16795 else 16796 pkg_failed=untried 16797fi 16798 16799 16800 16801if test $pkg_failed = yes; then 16802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16803$as_echo "no" >&6; } 16804 16805if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16806 _pkg_short_errors_supported=yes 16807else 16808 _pkg_short_errors_supported=no 16809fi 16810 if test $_pkg_short_errors_supported = yes; then 16811 GSTREAMERMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GSTREAMERMM_MODULES" 2>&1` 16812 else 16813 GSTREAMERMM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GSTREAMERMM_MODULES" 2>&1` 16814 fi 16815 # Put the nasty error message in config.log where it belongs 16816 echo "$GSTREAMERMM_PKG_ERRORS" >&5 16817 16818 as_fn_error $? "Package requirements ($GSTREAMERMM_MODULES) were not met: 16819 16820$GSTREAMERMM_PKG_ERRORS 16821 16822Consider adjusting the PKG_CONFIG_PATH environment variable if you 16823installed software in a non-standard prefix. 16824 16825Alternatively, you may set the environment variables GSTREAMERMM_CFLAGS 16826and GSTREAMERMM_LIBS to avoid the need to call pkg-config. 16827See the pkg-config man page for more details." "$LINENO" 5 16828elif test $pkg_failed = untried; then 16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16830$as_echo "no" >&6; } 16831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16832$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16833as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16834is in your PATH or set the PKG_CONFIG environment variable to the full 16835path to pkg-config. 16836 16837Alternatively, you may set the environment variables GSTREAMERMM_CFLAGS 16838and GSTREAMERMM_LIBS to avoid the need to call pkg-config. 16839See the pkg-config man page for more details. 16840 16841To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16842See \`config.log' for more details" "$LINENO" 5; } 16843else 16844 GSTREAMERMM_CFLAGS=$pkg_cv_GSTREAMERMM_CFLAGS 16845 GSTREAMERMM_LIBS=$pkg_cv_GSTREAMERMM_LIBS 16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16847$as_echo "yes" >&6; } 16848 16849fi 16850 16851 16852pkg_failed=no 16853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUI_EXAMPLES" >&5 16854$as_echo_n "checking for GUI_EXAMPLES... " >&6; } 16855 16856if test -n "$GUI_EXAMPLES_CFLAGS"; then 16857 pkg_cv_GUI_EXAMPLES_CFLAGS="$GUI_EXAMPLES_CFLAGS" 16858 elif test -n "$PKG_CONFIG"; then 16859 if test -n "$PKG_CONFIG" && \ 16860 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0\""; } >&5 16861 ($PKG_CONFIG --exists --print-errors "$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0") 2>&5 16862 ac_status=$? 16863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16864 test $ac_status = 0; }; then 16865 pkg_cv_GUI_EXAMPLES_CFLAGS=`$PKG_CONFIG --cflags "$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0" 2>/dev/null` 16866 test "x$?" != "x0" && pkg_failed=yes 16867else 16868 pkg_failed=yes 16869fi 16870 else 16871 pkg_failed=untried 16872fi 16873if test -n "$GUI_EXAMPLES_LIBS"; then 16874 pkg_cv_GUI_EXAMPLES_LIBS="$GUI_EXAMPLES_LIBS" 16875 elif test -n "$PKG_CONFIG"; then 16876 if test -n "$PKG_CONFIG" && \ 16877 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0\""; } >&5 16878 ($PKG_CONFIG --exists --print-errors "$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0") 2>&5 16879 ac_status=$? 16880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16881 test $ac_status = 0; }; then 16882 pkg_cv_GUI_EXAMPLES_LIBS=`$PKG_CONFIG --libs "$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0" 2>/dev/null` 16883 test "x$?" != "x0" && pkg_failed=yes 16884else 16885 pkg_failed=yes 16886fi 16887 else 16888 pkg_failed=untried 16889fi 16890 16891 16892 16893if test $pkg_failed = yes; then 16894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16895$as_echo "no" >&6; } 16896 16897if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16898 _pkg_short_errors_supported=yes 16899else 16900 _pkg_short_errors_supported=no 16901fi 16902 if test $_pkg_short_errors_supported = yes; then 16903 GUI_EXAMPLES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0" 2>&1` 16904 else 16905 GUI_EXAMPLES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0" 2>&1` 16906 fi 16907 # Put the nasty error message in config.log where it belongs 16908 echo "$GUI_EXAMPLES_PKG_ERRORS" >&5 16909 16910 gstmm_enable_gui_examples=no 16911elif test $pkg_failed = untried; then 16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16913$as_echo "no" >&6; } 16914 gstmm_enable_gui_examples=no 16915else 16916 GUI_EXAMPLES_CFLAGS=$pkg_cv_GUI_EXAMPLES_CFLAGS 16917 GUI_EXAMPLES_LIBS=$pkg_cv_GUI_EXAMPLES_LIBS 16918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16919$as_echo "yes" >&6; } 16920 gstmm_enable_gui_examples=yes 16921fi 16922 16923if test "x$gstmm_enable_gui_examples" != xyes; then : 16924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gtkmm not available: GUI examples will not be built." >&5 16925$as_echo "$as_me: WARNING: gtkmm not available: GUI examples will not be built." >&2;} 16926fi 16927 if test "x$gstmm_enable_gui_examples" = xyes; then 16928 ENABLE_GUI_EXAMPLES_TRUE= 16929 ENABLE_GUI_EXAMPLES_FALSE='#' 16930else 16931 ENABLE_GUI_EXAMPLES_TRUE='#' 16932 ENABLE_GUI_EXAMPLES_FALSE= 16933fi 16934 16935 16936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMMPROC_DIR" >&5 16937$as_echo_n "checking for GMMPROC_DIR... " >&6; } 16938if test -z "${GMMPROC_DIR+set}"; then : 16939 GMMPROC_DIR=`$PKG_CONFIG --variable=gmmprocdir glibmm-2.4 2>&5` 16940 if test "$?" -eq 0; then : 16941 16942fi 16943fi 16944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMMPROC_DIR" >&5 16945$as_echo "$GMMPROC_DIR" >&6; } 16946 16947 16948# Extract the first word of "perl", so it can be a program name with args. 16949set dummy perl; ac_word=$2 16950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16951$as_echo_n "checking for $ac_word... " >&6; } 16952if ${ac_cv_path_PERL+:} false; then : 16953 $as_echo_n "(cached) " >&6 16954else 16955 case $PERL in 16956 [\\/]* | ?:[\\/]*) 16957 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 16958 ;; 16959 *) 16960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16961for as_dir in $PATH 16962do 16963 IFS=$as_save_IFS 16964 test -z "$as_dir" && as_dir=. 16965 for ac_exec_ext in '' $ac_executable_extensions; do 16966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16967 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 16968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16969 break 2 16970 fi 16971done 16972 done 16973IFS=$as_save_IFS 16974 16975 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl" 16976 ;; 16977esac 16978fi 16979PERL=$ac_cv_path_PERL 16980if test -n "$PERL"; then 16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 16982$as_echo "$PERL" >&6; } 16983else 16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16985$as_echo "no" >&6; } 16986fi 16987 16988 16989 16990# Extract the first word of "dot", so it can be a program name with args. 16991set dummy dot; ac_word=$2 16992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16993$as_echo_n "checking for $ac_word... " >&6; } 16994if ${ac_cv_path_DOT+:} false; then : 16995 $as_echo_n "(cached) " >&6 16996else 16997 case $DOT in 16998 [\\/]* | ?:[\\/]*) 16999 ac_cv_path_DOT="$DOT" # Let the user override the test with a path. 17000 ;; 17001 *) 17002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17003for as_dir in $PATH 17004do 17005 IFS=$as_save_IFS 17006 test -z "$as_dir" && as_dir=. 17007 for ac_exec_ext in '' $ac_executable_extensions; do 17008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17009 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" 17010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17011 break 2 17012 fi 17013done 17014 done 17015IFS=$as_save_IFS 17016 17017 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot" 17018 ;; 17019esac 17020fi 17021DOT=$ac_cv_path_DOT 17022if test -n "$DOT"; then 17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5 17024$as_echo "$DOT" >&6; } 17025else 17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17027$as_echo "no" >&6; } 17028fi 17029 17030 17031# Extract the first word of "doxygen", so it can be a program name with args. 17032set dummy doxygen; ac_word=$2 17033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17034$as_echo_n "checking for $ac_word... " >&6; } 17035if ${ac_cv_path_DOXYGEN+:} false; then : 17036 $as_echo_n "(cached) " >&6 17037else 17038 case $DOXYGEN in 17039 [\\/]* | ?:[\\/]*) 17040 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. 17041 ;; 17042 *) 17043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17044for as_dir in $PATH 17045do 17046 IFS=$as_save_IFS 17047 test -z "$as_dir" && as_dir=. 17048 for ac_exec_ext in '' $ac_executable_extensions; do 17049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17050 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 17051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17052 break 2 17053 fi 17054done 17055 done 17056IFS=$as_save_IFS 17057 17058 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen" 17059 ;; 17060esac 17061fi 17062DOXYGEN=$ac_cv_path_DOXYGEN 17063if test -n "$DOXYGEN"; then 17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 17065$as_echo "$DOXYGEN" >&6; } 17066else 17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17068$as_echo "no" >&6; } 17069fi 17070 17071 17072# Extract the first word of "xsltproc", so it can be a program name with args. 17073set dummy xsltproc; ac_word=$2 17074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17075$as_echo_n "checking for $ac_word... " >&6; } 17076if ${ac_cv_path_XSLTPROC+:} false; then : 17077 $as_echo_n "(cached) " >&6 17078else 17079 case $XSLTPROC in 17080 [\\/]* | ?:[\\/]*) 17081 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. 17082 ;; 17083 *) 17084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17085for as_dir in $PATH 17086do 17087 IFS=$as_save_IFS 17088 test -z "$as_dir" && as_dir=. 17089 for ac_exec_ext in '' $ac_executable_extensions; do 17090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17091 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" 17092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17093 break 2 17094 fi 17095done 17096 done 17097IFS=$as_save_IFS 17098 17099 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc" 17100 ;; 17101esac 17102fi 17103XSLTPROC=$ac_cv_path_XSLTPROC 17104if test -n "$XSLTPROC"; then 17105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 17106$as_echo "$XSLTPROC" >&6; } 17107else 17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17109$as_echo "no" >&6; } 17110fi 17111 17112 17113# Check whether --enable-documentation was given. 17114if test "${enable_documentation+set}" = set; then : 17115 enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval 17116else 17117 ENABLE_DOCUMENTATION=auto 17118fi 17119 17120if test "x$ENABLE_DOCUMENTATION" != xno; then : 17121 17122 mm_err= 17123 if test "x$MMDOCTOOLDIR" = x; then : 17124 mm_err='The mm-common-util module is available, but the installation of mm-common on this 17125machine is missing the shared documentation utilities of the GNOME C++ 17126bindings. It may be necessary to upgrade to a more recent release of 17127mm-common in order to build '$PACKAGE_NAME' and install the documentation.' 17128elif test "x$PERL" = xperl; then : 17129 mm_err='Perl is required for installing the documentation.' 17130elif test "x$USE_MAINTAINER_MODE" != xno; then : 17131 17132 test "x$DOT" != xdot || mm_err=' dot' 17133 test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen" 17134 test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc" 17135 test -z "$mm_err" || mm_err='The documentation cannot be generated because 17136not all of the required tools are available:'$mm_err 17137 17138fi 17139 if test -z "$mm_err"; then : 17140 ENABLE_DOCUMENTATION=yes 17141elif test "x$ENABLE_DOCUMENTATION" = xyes; then : 17142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17143$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17144as_fn_error $? "$mm_err 17145See \`config.log' for more details" "$LINENO" 5; } 17146else 17147 ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5 17148$as_echo "$as_me: WARNING: $mm_err" >&2;} 17149fi 17150 17151fi 17152 if test "x$ENABLE_DOCUMENTATION" = xyes; then 17153 ENABLE_DOCUMENTATION_TRUE= 17154 ENABLE_DOCUMENTATION_FALSE='#' 17155else 17156 ENABLE_DOCUMENTATION_TRUE='#' 17157 ENABLE_DOCUMENTATION_FALSE= 17158fi 17159 17160DOXYGEN_TAGFILES= 17161 17162DOCINSTALL_FLAGS= 17163 17164 17165if test "x$ENABLE_DOCUMENTATION" != xno; then : 17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5 17167$as_echo_n "checking for libstdc documentation... " >&6; } 17168 17169# Check whether --with-libstdc-doc was given. 17170if test "${with_libstdc_doc+set}" = set; then : 17171 withval=$with_libstdc_doc; 17172 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5` 17173 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5` 17174 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5` 17175 test "x$mm_tagname" != x || mm_tagname="libstdc++.tag" 17176 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname 17177else 17178 17179 mm_htmlrefdir= 17180 mm_tagname="libstdc++.tag" 17181 mm_tagpath=$mm_tagname 17182fi 17183 17184 # Prepend working direcory if the tag file path starts with ./ or ../ 17185 case $mm_tagpath in #( 17186 .[\\/]*|..[\\/]*) : 17187 mm_tagpath=`pwd`/$mm_tagpath ;; #( 17188 *) : 17189 ;; 17190esac 17191 17192 # If no local directory was specified, get the default from the .pc file 17193 if test "x$mm_htmlrefdir" = x; then : 17194 17195 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5` 17196fi 17197 # If the user specified a Web URL, allow it to override the public location 17198 case $mm_htmlrefdir in #( 17199 http://*|https://*) : 17200 mm_htmlrefpub=$mm_htmlrefdir ;; #( 17201 *) : 17202 17203 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5` 17204 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir 17205 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub 17206 ;; 17207esac 17208 # The user-supplied tag-file name takes precedence if it includes the path 17209 case $mm_tagpath in #( 17210 *[\\/]*) : 17211 ;; #( 17212 *) : 17213 17214 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5` 17215 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile 17216 ;; 17217esac 17218 # Remove trailing slashes and translate to URI 17219 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17220 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17221 17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5 17223$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; } 17224 17225 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then : 17226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5 17227$as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;} 17228fi 17229 if test "x$mm_htmlrefdir" = x; then : 17230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5 17231$as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;} 17232else 17233 if test "x$DOCINSTALL_FLAGS" = x; then : 17234 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'" 17235else 17236 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'" 17237fi 17238fi 17239 17240 if test "x$mm_htmlrefpub" = x; then : 17241 mm_val=$mm_tagpath 17242else 17243 mm_val="$mm_tagpath=$mm_htmlrefpub" 17244fi 17245 if test "x$DOXYGEN_TAGFILES" = x; then : 17246 DOXYGEN_TAGFILES=\"$mm_val\" 17247else 17248 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\" 17249fi 17250fi 17251if test "x$ENABLE_DOCUMENTATION" != xno; then : 17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigc documentation" >&5 17253$as_echo_n "checking for libsigc documentation... " >&6; } 17254 17255# Check whether --with-libsigc-doc was given. 17256if test "${with_libsigc_doc+set}" = set; then : 17257 withval=$with_libsigc_doc; 17258 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5` 17259 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5` 17260 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5` 17261 test "x$mm_tagname" != x || mm_tagname="libsigc++-2.0.tag" 17262 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname 17263else 17264 17265 mm_htmlrefdir= 17266 mm_tagname="libsigc++-2.0.tag" 17267 mm_tagpath=$mm_tagname 17268fi 17269 17270 # Prepend working direcory if the tag file path starts with ./ or ../ 17271 case $mm_tagpath in #( 17272 .[\\/]*|..[\\/]*) : 17273 mm_tagpath=`pwd`/$mm_tagpath ;; #( 17274 *) : 17275 ;; 17276esac 17277 17278 # If no local directory was specified, get the default from the .pc file 17279 if test "x$mm_htmlrefdir" = x; then : 17280 17281 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "sigc++-2.0" 2>&5` 17282fi 17283 # If the user specified a Web URL, allow it to override the public location 17284 case $mm_htmlrefdir in #( 17285 http://*|https://*) : 17286 mm_htmlrefpub=$mm_htmlrefdir ;; #( 17287 *) : 17288 17289 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "sigc++-2.0" 2>&5` 17290 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir 17291 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub 17292 ;; 17293esac 17294 # The user-supplied tag-file name takes precedence if it includes the path 17295 case $mm_tagpath in #( 17296 *[\\/]*) : 17297 ;; #( 17298 *) : 17299 17300 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "sigc++-2.0" 2>&5` 17301 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile 17302 ;; 17303esac 17304 # Remove trailing slashes and translate to URI 17305 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17306 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17307 17308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5 17309$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; } 17310 17311 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then : 17312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&5 17313$as_echo "$as_me: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&2;} 17314fi 17315 if test "x$mm_htmlrefdir" = x; then : 17316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libsigc documentation not set" >&5 17317$as_echo "$as_me: WARNING: Location of external libsigc documentation not set" >&2;} 17318else 17319 if test "x$DOCINSTALL_FLAGS" = x; then : 17320 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'" 17321else 17322 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'" 17323fi 17324fi 17325 17326 if test "x$mm_htmlrefpub" = x; then : 17327 mm_val=$mm_tagpath 17328else 17329 mm_val="$mm_tagpath=$mm_htmlrefpub" 17330fi 17331 if test "x$DOXYGEN_TAGFILES" = x; then : 17332 DOXYGEN_TAGFILES=\"$mm_val\" 17333else 17334 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\" 17335fi 17336fi 17337if test "x$ENABLE_DOCUMENTATION" != xno; then : 17338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibmm documentation" >&5 17339$as_echo_n "checking for glibmm documentation... " >&6; } 17340 17341# Check whether --with-glibmm-doc was given. 17342if test "${with_glibmm_doc+set}" = set; then : 17343 withval=$with_glibmm_doc; 17344 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5` 17345 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5` 17346 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5` 17347 test "x$mm_tagname" != x || mm_tagname="glibmm-2.4.tag" 17348 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname 17349else 17350 17351 mm_htmlrefdir= 17352 mm_tagname="glibmm-2.4.tag" 17353 mm_tagpath=$mm_tagname 17354fi 17355 17356 # Prepend working direcory if the tag file path starts with ./ or ../ 17357 case $mm_tagpath in #( 17358 .[\\/]*|..[\\/]*) : 17359 mm_tagpath=`pwd`/$mm_tagpath ;; #( 17360 *) : 17361 ;; 17362esac 17363 17364 # If no local directory was specified, get the default from the .pc file 17365 if test "x$mm_htmlrefdir" = x; then : 17366 17367 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "glibmm-2.4" 2>&5` 17368fi 17369 # If the user specified a Web URL, allow it to override the public location 17370 case $mm_htmlrefdir in #( 17371 http://*|https://*) : 17372 mm_htmlrefpub=$mm_htmlrefdir ;; #( 17373 *) : 17374 17375 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "glibmm-2.4" 2>&5` 17376 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir 17377 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub 17378 ;; 17379esac 17380 # The user-supplied tag-file name takes precedence if it includes the path 17381 case $mm_tagpath in #( 17382 *[\\/]*) : 17383 ;; #( 17384 *) : 17385 17386 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "glibmm-2.4" 2>&5` 17387 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile 17388 ;; 17389esac 17390 # Remove trailing slashes and translate to URI 17391 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17392 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17393 17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5 17395$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; } 17396 17397 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then : 17398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&5 17399$as_echo "$as_me: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&2;} 17400fi 17401 if test "x$mm_htmlrefdir" = x; then : 17402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external glibmm documentation not set" >&5 17403$as_echo "$as_me: WARNING: Location of external glibmm documentation not set" >&2;} 17404else 17405 if test "x$DOCINSTALL_FLAGS" = x; then : 17406 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'" 17407else 17408 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'" 17409fi 17410fi 17411 17412 if test "x$mm_htmlrefpub" = x; then : 17413 mm_val=$mm_tagpath 17414else 17415 mm_val="$mm_tagpath=$mm_htmlrefpub" 17416fi 17417 if test "x$DOXYGEN_TAGFILES" = x; then : 17418 DOXYGEN_TAGFILES=\"$mm_val\" 17419else 17420 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\" 17421fi 17422fi 17423if test "x$ENABLE_DOCUMENTATION" != xno; then : 17424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairomm documentation" >&5 17425$as_echo_n "checking for cairomm documentation... " >&6; } 17426 17427# Check whether --with-cairomm-doc was given. 17428if test "${with_cairomm_doc+set}" = set; then : 17429 withval=$with_cairomm_doc; 17430 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5` 17431 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5` 17432 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5` 17433 test "x$mm_tagname" != x || mm_tagname="cairomm-1.0.tag" 17434 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname 17435else 17436 17437 mm_htmlrefdir= 17438 mm_tagname="cairomm-1.0.tag" 17439 mm_tagpath=$mm_tagname 17440fi 17441 17442 # Prepend working direcory if the tag file path starts with ./ or ../ 17443 case $mm_tagpath in #( 17444 .[\\/]*|..[\\/]*) : 17445 mm_tagpath=`pwd`/$mm_tagpath ;; #( 17446 *) : 17447 ;; 17448esac 17449 17450 # If no local directory was specified, get the default from the .pc file 17451 if test "x$mm_htmlrefdir" = x; then : 17452 17453 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "cairomm-1.0" 2>&5` 17454fi 17455 # If the user specified a Web URL, allow it to override the public location 17456 case $mm_htmlrefdir in #( 17457 http://*|https://*) : 17458 mm_htmlrefpub=$mm_htmlrefdir ;; #( 17459 *) : 17460 17461 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "cairomm-1.0" 2>&5` 17462 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir 17463 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub 17464 ;; 17465esac 17466 # The user-supplied tag-file name takes precedence if it includes the path 17467 case $mm_tagpath in #( 17468 *[\\/]*) : 17469 ;; #( 17470 *) : 17471 17472 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "cairomm-1.0" 2>&5` 17473 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile 17474 ;; 17475esac 17476 # Remove trailing slashes and translate to URI 17477 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17478 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17479 17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5 17481$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; } 17482 17483 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then : 17484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file cairomm-1.0.tag not found" >&5 17485$as_echo "$as_me: WARNING: Doxygen tag file cairomm-1.0.tag not found" >&2;} 17486fi 17487 if test "x$mm_htmlrefdir" = x; then : 17488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external cairomm documentation not set" >&5 17489$as_echo "$as_me: WARNING: Location of external cairomm documentation not set" >&2;} 17490else 17491 if test "x$DOCINSTALL_FLAGS" = x; then : 17492 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'" 17493else 17494 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'" 17495fi 17496fi 17497 17498 if test "x$mm_htmlrefpub" = x; then : 17499 mm_val=$mm_tagpath 17500else 17501 mm_val="$mm_tagpath=$mm_htmlrefpub" 17502fi 17503 if test "x$DOXYGEN_TAGFILES" = x; then : 17504 DOXYGEN_TAGFILES=\"$mm_val\" 17505else 17506 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\" 17507fi 17508fi 17509if test "x$ENABLE_DOCUMENTATION" != xno; then : 17510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pangomm documentation" >&5 17511$as_echo_n "checking for pangomm documentation... " >&6; } 17512 17513# Check whether --with-pangomm-doc was given. 17514if test "${with_pangomm_doc+set}" = set; then : 17515 withval=$with_pangomm_doc; 17516 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5` 17517 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5` 17518 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5` 17519 test "x$mm_tagname" != x || mm_tagname="pangomm-1.4.tag" 17520 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname 17521else 17522 17523 mm_htmlrefdir= 17524 mm_tagname="pangomm-1.4.tag" 17525 mm_tagpath=$mm_tagname 17526fi 17527 17528 # Prepend working direcory if the tag file path starts with ./ or ../ 17529 case $mm_tagpath in #( 17530 .[\\/]*|..[\\/]*) : 17531 mm_tagpath=`pwd`/$mm_tagpath ;; #( 17532 *) : 17533 ;; 17534esac 17535 17536 # If no local directory was specified, get the default from the .pc file 17537 if test "x$mm_htmlrefdir" = x; then : 17538 17539 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "pangomm-1.4" 2>&5` 17540fi 17541 # If the user specified a Web URL, allow it to override the public location 17542 case $mm_htmlrefdir in #( 17543 http://*|https://*) : 17544 mm_htmlrefpub=$mm_htmlrefdir ;; #( 17545 *) : 17546 17547 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "pangomm-1.4" 2>&5` 17548 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir 17549 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub 17550 ;; 17551esac 17552 # The user-supplied tag-file name takes precedence if it includes the path 17553 case $mm_tagpath in #( 17554 *[\\/]*) : 17555 ;; #( 17556 *) : 17557 17558 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "pangomm-1.4" 2>&5` 17559 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile 17560 ;; 17561esac 17562 # Remove trailing slashes and translate to URI 17563 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17564 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17565 17566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5 17567$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; } 17568 17569 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then : 17570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file pangomm-1.4.tag not found" >&5 17571$as_echo "$as_me: WARNING: Doxygen tag file pangomm-1.4.tag not found" >&2;} 17572fi 17573 if test "x$mm_htmlrefdir" = x; then : 17574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external pangomm documentation not set" >&5 17575$as_echo "$as_me: WARNING: Location of external pangomm documentation not set" >&2;} 17576else 17577 if test "x$DOCINSTALL_FLAGS" = x; then : 17578 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'" 17579else 17580 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'" 17581fi 17582fi 17583 17584 if test "x$mm_htmlrefpub" = x; then : 17585 mm_val=$mm_tagpath 17586else 17587 mm_val="$mm_tagpath=$mm_htmlrefpub" 17588fi 17589 if test "x$DOXYGEN_TAGFILES" = x; then : 17590 DOXYGEN_TAGFILES=\"$mm_val\" 17591else 17592 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\" 17593fi 17594fi 17595 17596# Check whether --enable-unittests was given. 17597if test "${enable_unittests+set}" = set; then : 17598 enableval=$enable_unittests; enable_unittests=$enableval 17599else 17600 enable_unittests=auto 17601fi 17602 17603 17604if test "$enable_unittests" != no; then : 17605 17606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgtest_main" >&5 17607$as_echo_n "checking for main in -lgtest_main... " >&6; } 17608if ${ac_cv_lib_gtest_main_main+:} false; then : 17609 $as_echo_n "(cached) " >&6 17610else 17611 ac_check_lib_save_LIBS=$LIBS 17612LIBS="-lgtest_main $LIBS" 17613cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17614/* end confdefs.h. */ 17615 17616 17617int 17618main () 17619{ 17620return main (); 17621 ; 17622 return 0; 17623} 17624_ACEOF 17625if ac_fn_c_try_link "$LINENO"; then : 17626 ac_cv_lib_gtest_main_main=yes 17627else 17628 ac_cv_lib_gtest_main_main=no 17629fi 17630rm -f core conftest.err conftest.$ac_objext \ 17631 conftest$ac_exeext conftest.$ac_ext 17632LIBS=$ac_check_lib_save_LIBS 17633fi 17634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtest_main_main" >&5 17635$as_echo "$ac_cv_lib_gtest_main_main" >&6; } 17636if test "x$ac_cv_lib_gtest_main_main" = xyes; then : 17637 have_gtest=yes 17638else 17639 have_gtest=no 17640fi 17641 17642 if test "$enable_unittests" = "yes" && test "$have_gtest" = "no"; then : 17643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17644$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17645as_fn_error $? "Unit tests are enabled so gtest library is required for building unit tests. 17646See \`config.log' for more details" "$LINENO" 5; } 17647else 17648 enable_unittests=$have_gtest 17649fi 17650 17651fi 17652 17653ENABLE_UNITTESTS="$enable_unittests" 17654 17655 17656 17657######################################################################### 17658# Plug-in processing 17659######################################################################### 17660 17661# To add a plugin, add the plugin definition, in the form of 17662# "hgfilebasename|plugin|CppClassName" to the space-separated list of 17663# definitions below. (Where "hgfilebasename" is the basename of the .hg file, 17664# "plugin" is the plugin name as recognized by gst-inspect and "CppClassName" 17665# is the desired name of the C++ class.) 17666# 17667# Also add the target .hg file name to the plugins_hg variable in the 17668# gstreamer/src/fileslist.am. (That must be the same as "CppClassName" - all 17669# in lowercase with a .hg extension). 17670GSTREAMERMM_CORE_PLUGIN_DEFS="\ 17671capsfilter|capsfilter|CapsFilter \ 17672concat|concat|Concat \ 17673downloadbuffer|downloadbuffer|DownloadBuffer \ 17674fakesink|fakesink|FakeSink \ 17675fakesrc|fakesrc|FakeSrc \ 17676fdsink|fdsink|FdSink \ 17677fdsrc|fdsrc|FdSrc \ 17678filesink|filesink|FileSink \ 17679filesrc|filesrc|FileSrc \ 17680funnel|funnel|Funnel \ 17681identity|identity|Identity \ 17682inputselector|input-selector|InputSelector \ 17683multiqueue|multiqueue|MultiQueue \ 17684outputselector|output-selector|OutputSelector \ 17685streamiddemux|streamiddemux|StreamidDemux \ 17686queue|queue|Queue \ 17687queue2|queue2|Queue2 \ 17688tee|tee|Tee \ 17689typefindelement|typefind|TypeFindElement \ 17690valve|valve|Valve 17691" 17692 17693#audioresample|audioresample|AudioResample 17694GSTREAMERMM_BASE_PLUGIN_DEFS="\ 17695adder|adder|Adder \ 17696alsasink|alsasink|AlsaSink \ 17697alsasrc|alsasrc|AlsaSrc \ 17698appsink|appsink|AppSink \ 17699appsrc|appsrc|AppSrc \ 17700audioconvert|audioconvert|AudioConvert \ 17701audiorate|audiorate|AudioRate \ 17702audiotestsrc|audiotestsrc|AudioTestSrc \ 17703cdparanoiasrc|cdparanoiasrc|CdParanoiaSrc \ 17704clockoverlay|clockoverlay|ClockOverlay \ 17705decodebin|decodebin|DecodeBin \ 17706encodebin|encodebin|EncodeBin \ 17707giosink|giosink|GioSink \ 17708giosrc|giosrc|GioSrc \ 17709giostreamsink|giostreamsink|GioStreamSink \ 17710giostreamsrc|giostreamsrc|GioStreamSrc \ 17711multifdsink|multifdsink|MultiFdSink \ 17712multisocketsink|multisocketsink|MultiSocketSink \ 17713oggdemux|oggdemux|OggDemux \ 17714oggmux|oggmux|OggMux \ 17715playbin|playbin|PlayBin \ 17716playsink|playsink|PlaySink \ 17717socketsrc|socketsrc|SocketSrc \ 17718streamsynchronizer|streamsynchronizer|StreamSynchronizer \ 17719subtitleoverlay|subtitleoverlay|SubtitleOverlay \ 17720tcpclientsink|tcpclientsink|TCPClientSink \ 17721tcpclientsrc|tcpclientsrc|TCPClientSrc \ 17722tcpserversink|tcpserversink|TCPServerSink \ 17723tcpserversrc|tcpserversrc|TCPServerSrc \ 17724textoverlay|textoverlay|TextOverlay \ 17725textrender|textrender|TextRender \ 17726theoradec|theoradec|TheoraDec \ 17727theoraenc|theoraenc|TheoraEnc \ 17728theoraparse|theoraparse|TheoraParse \ 17729timeoverlay|timeoverlay|TimeOverlay \ 17730uridecodebin|uridecodebin|UriDecodeBin \ 17731videoconvert|videoconvert|VideoConvert \ 17732videorate|videorate|VideoRate \ 17733videoscale|videoscale|VideoScale \ 17734videotestsrc|videotestsrc|VideoTestSrc \ 17735volume|volume|Volume \ 17736vorbisdec|vorbisdec|VorbisDec \ 17737vorbisenc|vorbisenc|VorbisEnc \ 17738vorbisparse|vorbisparse|VorbisParse \ 17739vorbistag|vorbistag|VorbisTag \ 17740ximagesink|ximagesink|XImageSink \ 17741xvimagesink|xvimagesink|XvImageSink 17742" 17743 17744 17745 17746 # clear plugins file once per file 17747 17748 printf "plugins_hg = \n" > gstreamer/src/plugin_filelist.am 17749 17750 17751 17752 printf "plugins_hg += " >> gstreamer/src/plugin_filelist.am 17753 17754 if test "x$USE_MAINTAINER_MODE" != xno; then : 17755 17756 gstmm_toolsdir=`$PKG_CONFIG --variable=toolsdir gstreamer-1.0 2>&5` 17757 for ac_prog in gst-inspect-1.0 17758do 17759 # Extract the first word of "$ac_prog", so it can be a program name with args. 17760set dummy $ac_prog; ac_word=$2 17761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17762$as_echo_n "checking for $ac_word... " >&6; } 17763if ${ac_cv_path_GST_INSPECT+:} false; then : 17764 $as_echo_n "(cached) " >&6 17765else 17766 case $GST_INSPECT in 17767 [\\/]* | ?:[\\/]*) 17768 ac_cv_path_GST_INSPECT="$GST_INSPECT" # Let the user override the test with a path. 17769 ;; 17770 *) 17771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17772for as_dir in $gstmm_toolsdir$PATH_SEPARATOR$PATH 17773do 17774 IFS=$as_save_IFS 17775 test -z "$as_dir" && as_dir=. 17776 for ac_exec_ext in '' $ac_executable_extensions; do 17777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17778 ac_cv_path_GST_INSPECT="$as_dir/$ac_word$ac_exec_ext" 17779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17780 break 2 17781 fi 17782done 17783 done 17784IFS=$as_save_IFS 17785 17786 ;; 17787esac 17788fi 17789GST_INSPECT=$ac_cv_path_GST_INSPECT 17790if test -n "$GST_INSPECT"; then 17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GST_INSPECT" >&5 17792$as_echo "$GST_INSPECT" >&6; } 17793else 17794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17795$as_echo "no" >&6; } 17796fi 17797 17798 17799 test -n "$GST_INSPECT" && break 17800done 17801 17802 17803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the existance of required plug-ins." >&5 17804$as_echo_n "checking the existance of required plug-ins.... " >&6; } 17805 17806fi 17807 for gstmm_plugin_def in $GSTREAMERMM_CORE_PLUGIN_DEFS 17808 do 17809 gstmm_hg_name=`expr "X$gstmm_plugin_def" : 'X\(.*\)|.*|.*$' 2>&5` 17810 printf "$gstmm_hg_name.hg " >> gstreamer/src/plugin_filelist.am 17811 if test "x$USE_MAINTAINER_MODE" != xno; then : 17812 17813 # Extract plugin name and run gst-inspect to check whether the plugin 17814 # is installed on the build system. 17815 gstmm_plugin_name=`expr "X$gstmm_plugin_def" : 'X.*|\(.*\)|.*$' 2>&5` 17816 if $GST_INSPECT "$gstmm_plugin_name" >/dev/null 2>&5; then : 17817 17818else 17819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17820$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17821as_fn_error $? "The gstreamer plug-in '$gstmm_plugin_name' does not exist. 17822If you built gst-plugins-base from source code then you might need to 17823install the appropriate -dev or -devel packages or enable experimental 17824plugins before rebuilding gst-plugins-base. 17825See \`config.log' for more details" "$LINENO" 5; } 17826fi 17827 17828fi 17829 done 17830 if test "x$USE_MAINTAINER_MODE" != xno; then : 17831 17832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: All required plug-ins found." >&5 17833$as_echo "All required plug-ins found." >&6; } 17834 17835fi 17836 printf "\n" >> gstreamer/src/plugin_filelist.am 17837 17838 17839 # clear plugins file once per file 17840 17841 17842 printf "plugins_hg += " >> gstreamer/src/plugin_filelist.am 17843 17844 if test "x$USE_MAINTAINER_MODE" != xno; then : 17845 17846 gstmm_toolsdir=`$PKG_CONFIG --variable=toolsdir gstreamer-1.0 2>&5` 17847 for ac_prog in gst-inspect-1.0 17848do 17849 # Extract the first word of "$ac_prog", so it can be a program name with args. 17850set dummy $ac_prog; ac_word=$2 17851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17852$as_echo_n "checking for $ac_word... " >&6; } 17853if ${ac_cv_path_GST_INSPECT+:} false; then : 17854 $as_echo_n "(cached) " >&6 17855else 17856 case $GST_INSPECT in 17857 [\\/]* | ?:[\\/]*) 17858 ac_cv_path_GST_INSPECT="$GST_INSPECT" # Let the user override the test with a path. 17859 ;; 17860 *) 17861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17862for as_dir in $gstmm_toolsdir$PATH_SEPARATOR$PATH 17863do 17864 IFS=$as_save_IFS 17865 test -z "$as_dir" && as_dir=. 17866 for ac_exec_ext in '' $ac_executable_extensions; do 17867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17868 ac_cv_path_GST_INSPECT="$as_dir/$ac_word$ac_exec_ext" 17869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17870 break 2 17871 fi 17872done 17873 done 17874IFS=$as_save_IFS 17875 17876 ;; 17877esac 17878fi 17879GST_INSPECT=$ac_cv_path_GST_INSPECT 17880if test -n "$GST_INSPECT"; then 17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GST_INSPECT" >&5 17882$as_echo "$GST_INSPECT" >&6; } 17883else 17884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17885$as_echo "no" >&6; } 17886fi 17887 17888 17889 test -n "$GST_INSPECT" && break 17890done 17891 17892 17893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the existance of required plug-ins." >&5 17894$as_echo_n "checking the existance of required plug-ins.... " >&6; } 17895 17896fi 17897 for gstmm_plugin_def in $GSTREAMERMM_BASE_PLUGIN_DEFS 17898 do 17899 gstmm_hg_name=`expr "X$gstmm_plugin_def" : 'X\(.*\)|.*|.*$' 2>&5` 17900 printf "$gstmm_hg_name.hg " >> gstreamer/src/plugin_filelist.am 17901 if test "x$USE_MAINTAINER_MODE" != xno; then : 17902 17903 # Extract plugin name and run gst-inspect to check whether the plugin 17904 # is installed on the build system. 17905 gstmm_plugin_name=`expr "X$gstmm_plugin_def" : 'X.*|\(.*\)|.*$' 2>&5` 17906 if $GST_INSPECT "$gstmm_plugin_name" >/dev/null 2>&5; then : 17907 17908else 17909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17910$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17911as_fn_error $? "The gstreamer plug-in '$gstmm_plugin_name' does not exist. 17912If you built gst-plugins-base from source code then you might need to 17913install the appropriate -dev or -devel packages or enable experimental 17914plugins before rebuilding gst-plugins-base. 17915See \`config.log' for more details" "$LINENO" 5; } 17916fi 17917 17918fi 17919 done 17920 if test "x$USE_MAINTAINER_MODE" != xno; then : 17921 17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: All required plug-ins found." >&5 17923$as_echo "All required plug-ins found." >&6; } 17924 17925fi 17926 printf "\n" >> gstreamer/src/plugin_filelist.am 17927 17928 17929######################################################################### 17930 17931ac_ext=cpp 17932ac_cpp='$CXXCPP $CPPFLAGS' 17933ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17934ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17935ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17936 17937# Check whether --enable-warnings was given. 17938if test "${enable_warnings+set}" = set; then : 17939 enableval=$enable_warnings; mm_enable_warnings=$enableval 17940else 17941 mm_enable_warnings=min 17942fi 17943 17944case $ac_compile in #( 17945 *'$CXXFLAGS '*) : 17946 mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #( 17947 *'$CFLAGS '*) : 17948 mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #( 17949 *) : 17950 as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;; 17951esac 17952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5 17953$as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; } 17954mm_deprecation_flags= 17955mm_tested_flags= 17956case $mm_enable_warnings in #( 17957 no) : 17958 mm_warning_flags= ;; #( 17959 max) : 17960 mm_warning_flags="-Wall -Wextra" ;; #( 17961 fatal) : 17962 mm_warning_flags="-Wall -Wextra -Werror" 17963 for mm_prefix in G GSTREAMER 17964 do 17965 mm_deprecation_flags="$mm_deprecation_flags-D${mm_prefix}_DISABLE_DEPRECATED " 17966 done ;; #( 17967 *) : 17968 mm_warning_flags="-Wall" ;; 17969esac 17970if test "x$mm_warning_flags" != x; then : 17971 17972 # Keep in mind that the dummy source must be devoid of any 17973 # problems that might cause diagnostics. 17974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17975/* end confdefs.h. */ 17976 17977int main(int argc, char** argv) { return !argv ? 0 : argc; } 17978 17979_ACEOF 17980 for mm_flag in $mm_warning_flags 17981 do 17982 # Test whether the compiler accepts the flag. Look at standard output, 17983 # since GCC only shows a warning message if an option is not supported. 17984 mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed` 17985 rm -f "conftest.${OBJEXT-o}" 17986 17987 if test "x$mm_cc_out" = x; then : 17988 if test "x$mm_tested_flags" = x; then : 17989 mm_tested_flags=$mm_flag 17990else 17991 mm_tested_flags="$mm_tested_flags $mm_flag" 17992fi 17993else 17994 cat <<_MMEOF >&5 17995$mm_cc: $mm_cc_out 17996_MMEOF 17997 17998fi 17999 done 18000 rm -f "$mm_conftest" 18001 18002fi 18003mm_all_flags=$mm_deprecation_flags$mm_tested_flags 18004GSTREAMERMM_WXXFLAGS=$mm_all_flags 18005 18006test "x$mm_all_flags" != x || mm_all_flags=none 18007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5 18008$as_echo "$mm_all_flags" >&6; } 18009 18010# Offer the ability to omit some API from the library, 18011# to reduce the code size: 18012# Check whether --enable-deprecated-api was given. 18013if test "${enable_deprecated_api+set}" = set; then : 18014 enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval 18015else 18016 mm_enable_deprecated_api=yes 18017fi 18018if test "x$mm_enable_deprecated_api" = xno; then : 18019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility. 18020Do not use this option for distribution packages." >&5 18021$as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility. 18022Do not use this option for distribution packages." >&2;} 18023else 18024 { $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5 18025$as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;} 18026fi 18027 if test "x$mm_enable_deprecated_api" = xno; then 18028 DISABLE_DEPRECATED_API_TRUE= 18029 DISABLE_DEPRECATED_API_FALSE='#' 18030else 18031 DISABLE_DEPRECATED_API_TRUE='#' 18032 DISABLE_DEPRECATED_API_FALSE= 18033fi 18034 18035if test "x$mm_enable_deprecated_api" = xno; then : 18036 18037$as_echo "#define GSTREAMERMM_DISABLE_DEPRECATED 1" >>confdefs.h 18038 18039 18040fi 18041 18042ac_config_files="$ac_config_files Makefile tools/Makefile gstreamer/${GSTREAMERMM_MODULE_NAME}.pc:gstreamer/gstreamermm.pc.in gstreamer/${GSTREAMERMM_MODULE_NAME}-uninstalled.pc:gstreamer/gstreamermm-uninstalled.pc.in gstreamer/src/Makefile gstreamer/gstreamermm/Makefile examples/Makefile tests/Makefile docs/Makefile docs/reference/Doxyfile" 18043 18044cat >confcache <<\_ACEOF 18045# This file is a shell script that caches the results of configure 18046# tests run on this system so they can be shared between configure 18047# scripts and configure runs, see configure's option --config-cache. 18048# It is not useful on other systems. If it contains results you don't 18049# want to keep, you may remove or edit it. 18050# 18051# config.status only pays attention to the cache file if you give it 18052# the --recheck option to rerun configure. 18053# 18054# `ac_cv_env_foo' variables (set or unset) will be overridden when 18055# loading this file, other *unset* `ac_cv_foo' will be assigned the 18056# following values. 18057 18058_ACEOF 18059 18060# The following way of writing the cache mishandles newlines in values, 18061# but we know of no workaround that is simple, portable, and efficient. 18062# So, we kill variables containing newlines. 18063# Ultrix sh set writes to stderr and can't be redirected directly, 18064# and sets the high bit in the cache file unless we assign to the vars. 18065( 18066 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 18067 eval ac_val=\$$ac_var 18068 case $ac_val in #( 18069 *${as_nl}*) 18070 case $ac_var in #( 18071 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 18072$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 18073 esac 18074 case $ac_var in #( 18075 _ | IFS | as_nl) ;; #( 18076 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 18077 *) { eval $ac_var=; unset $ac_var;} ;; 18078 esac ;; 18079 esac 18080 done 18081 18082 (set) 2>&1 | 18083 case $as_nl`(ac_space=' '; set) 2>&1` in #( 18084 *${as_nl}ac_space=\ *) 18085 # `set' does not quote correctly, so add quotes: double-quote 18086 # substitution turns \\\\ into \\, and sed turns \\ into \. 18087 sed -n \ 18088 "s/'/'\\\\''/g; 18089 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 18090 ;; #( 18091 *) 18092 # `set' quotes correctly as required by POSIX, so do not add quotes. 18093 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 18094 ;; 18095 esac | 18096 sort 18097) | 18098 sed ' 18099 /^ac_cv_env_/b end 18100 t clear 18101 :clear 18102 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 18103 t end 18104 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 18105 :end' >>confcache 18106if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 18107 if test -w "$cache_file"; then 18108 if test "x$cache_file" != "x/dev/null"; then 18109 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 18110$as_echo "$as_me: updating cache $cache_file" >&6;} 18111 if test ! -f "$cache_file" || test -h "$cache_file"; then 18112 cat confcache >"$cache_file" 18113 else 18114 case $cache_file in #( 18115 */* | ?:*) 18116 mv -f confcache "$cache_file"$$ && 18117 mv -f "$cache_file"$$ "$cache_file" ;; #( 18118 *) 18119 mv -f confcache "$cache_file" ;; 18120 esac 18121 fi 18122 fi 18123 else 18124 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 18125$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 18126 fi 18127fi 18128rm -f confcache 18129 18130test "x$prefix" = xNONE && prefix=$ac_default_prefix 18131# Let make expand exec_prefix. 18132test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 18133 18134DEFS=-DHAVE_CONFIG_H 18135 18136ac_libobjs= 18137ac_ltlibobjs= 18138U= 18139for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 18140 # 1. Remove the extension, and $U if already installed. 18141 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 18142 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 18143 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 18144 # will be set to the directory where LIBOBJS objects are built. 18145 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 18146 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 18147done 18148LIBOBJS=$ac_libobjs 18149 18150LTLIBOBJS=$ac_ltlibobjs 18151 18152 18153if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then 18154 as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined. 18155Usually this means the macro was only invoked conditionally." "$LINENO" 5 18156fi 18157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 18158$as_echo_n "checking that generated files are newer than configure... " >&6; } 18159 if test -n "$am_sleep_pid"; then 18160 # Hide warnings about reused PIDs. 18161 wait $am_sleep_pid 2>/dev/null 18162 fi 18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 18164$as_echo "done" >&6; } 18165 if test -n "$EXEEXT"; then 18166 am__EXEEXT_TRUE= 18167 am__EXEEXT_FALSE='#' 18168else 18169 am__EXEEXT_TRUE='#' 18170 am__EXEEXT_FALSE= 18171fi 18172 18173if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 18174 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 18175Usually this means the macro was only invoked conditionally." "$LINENO" 5 18176fi 18177if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 18178 as_fn_error $? "conditional \"AMDEP\" was never defined. 18179Usually this means the macro was only invoked conditionally." "$LINENO" 5 18180fi 18181if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 18182 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 18183Usually this means the macro was only invoked conditionally." "$LINENO" 5 18184fi 18185if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 18186 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 18187Usually this means the macro was only invoked conditionally." "$LINENO" 5 18188fi 18189if test -z "${ENABLE_GUI_EXAMPLES_TRUE}" && test -z "${ENABLE_GUI_EXAMPLES_FALSE}"; then 18190 as_fn_error $? "conditional \"ENABLE_GUI_EXAMPLES\" was never defined. 18191Usually this means the macro was only invoked conditionally." "$LINENO" 5 18192fi 18193if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then 18194 as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined. 18195Usually this means the macro was only invoked conditionally." "$LINENO" 5 18196fi 18197if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then 18198 as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined. 18199Usually this means the macro was only invoked conditionally." "$LINENO" 5 18200fi 18201 18202: "${CONFIG_STATUS=./config.status}" 18203ac_write_fail=0 18204ac_clean_files_save=$ac_clean_files 18205ac_clean_files="$ac_clean_files $CONFIG_STATUS" 18206{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 18207$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 18208as_write_fail=0 18209cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 18210#! $SHELL 18211# Generated by $as_me. 18212# Run this file to recreate the current configuration. 18213# Compiler output produced by configure, useful for debugging 18214# configure, is in config.log if it exists. 18215 18216debug=false 18217ac_cs_recheck=false 18218ac_cs_silent=false 18219 18220SHELL=\${CONFIG_SHELL-$SHELL} 18221export SHELL 18222_ASEOF 18223cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 18224## -------------------- ## 18225## M4sh Initialization. ## 18226## -------------------- ## 18227 18228# Be more Bourne compatible 18229DUALCASE=1; export DUALCASE # for MKS sh 18230if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18231 emulate sh 18232 NULLCMD=: 18233 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 18234 # is contrary to our usage. Disable this feature. 18235 alias -g '${1+"$@"}'='"$@"' 18236 setopt NO_GLOB_SUBST 18237else 18238 case `(set -o) 2>/dev/null` in #( 18239 *posix*) : 18240 set -o posix ;; #( 18241 *) : 18242 ;; 18243esac 18244fi 18245 18246 18247as_nl=' 18248' 18249export as_nl 18250# Printing a long string crashes Solaris 7 /usr/bin/printf. 18251as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 18252as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 18253as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 18254# Prefer a ksh shell builtin over an external printf program on Solaris, 18255# but without wasting forks for bash or zsh. 18256if test -z "$BASH_VERSION$ZSH_VERSION" \ 18257 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 18258 as_echo='print -r --' 18259 as_echo_n='print -rn --' 18260elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 18261 as_echo='printf %s\n' 18262 as_echo_n='printf %s' 18263else 18264 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 18265 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 18266 as_echo_n='/usr/ucb/echo -n' 18267 else 18268 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 18269 as_echo_n_body='eval 18270 arg=$1; 18271 case $arg in #( 18272 *"$as_nl"*) 18273 expr "X$arg" : "X\\(.*\\)$as_nl"; 18274 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 18275 esac; 18276 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 18277 ' 18278 export as_echo_n_body 18279 as_echo_n='sh -c $as_echo_n_body as_echo' 18280 fi 18281 export as_echo_body 18282 as_echo='sh -c $as_echo_body as_echo' 18283fi 18284 18285# The user is always right. 18286if test "${PATH_SEPARATOR+set}" != set; then 18287 PATH_SEPARATOR=: 18288 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 18289 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 18290 PATH_SEPARATOR=';' 18291 } 18292fi 18293 18294 18295# IFS 18296# We need space, tab and new line, in precisely that order. Quoting is 18297# there to prevent editors from complaining about space-tab. 18298# (If _AS_PATH_WALK were called with IFS unset, it would disable word 18299# splitting by setting IFS to empty value.) 18300IFS=" "" $as_nl" 18301 18302# Find who we are. Look in the path if we contain no directory separator. 18303as_myself= 18304case $0 in #(( 18305 *[\\/]* ) as_myself=$0 ;; 18306 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18307for as_dir in $PATH 18308do 18309 IFS=$as_save_IFS 18310 test -z "$as_dir" && as_dir=. 18311 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 18312 done 18313IFS=$as_save_IFS 18314 18315 ;; 18316esac 18317# We did not find ourselves, most probably we were run as `sh COMMAND' 18318# in which case we are not to be found in the path. 18319if test "x$as_myself" = x; then 18320 as_myself=$0 18321fi 18322if test ! -f "$as_myself"; then 18323 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 18324 exit 1 18325fi 18326 18327# Unset variables that we do not need and which cause bugs (e.g. in 18328# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 18329# suppresses any "Segmentation fault" message there. '((' could 18330# trigger a bug in pdksh 5.2.14. 18331for as_var in BASH_ENV ENV MAIL MAILPATH 18332do eval test x\${$as_var+set} = xset \ 18333 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 18334done 18335PS1='$ ' 18336PS2='> ' 18337PS4='+ ' 18338 18339# NLS nuisances. 18340LC_ALL=C 18341export LC_ALL 18342LANGUAGE=C 18343export LANGUAGE 18344 18345# CDPATH. 18346(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 18347 18348 18349# as_fn_error STATUS ERROR [LINENO LOG_FD] 18350# ---------------------------------------- 18351# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 18352# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 18353# script with STATUS, using 1 if that was 0. 18354as_fn_error () 18355{ 18356 as_status=$1; test $as_status -eq 0 && as_status=1 18357 if test "$4"; then 18358 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 18359 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 18360 fi 18361 $as_echo "$as_me: error: $2" >&2 18362 as_fn_exit $as_status 18363} # as_fn_error 18364 18365 18366# as_fn_set_status STATUS 18367# ----------------------- 18368# Set $? to STATUS, without forking. 18369as_fn_set_status () 18370{ 18371 return $1 18372} # as_fn_set_status 18373 18374# as_fn_exit STATUS 18375# ----------------- 18376# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 18377as_fn_exit () 18378{ 18379 set +e 18380 as_fn_set_status $1 18381 exit $1 18382} # as_fn_exit 18383 18384# as_fn_unset VAR 18385# --------------- 18386# Portably unset VAR. 18387as_fn_unset () 18388{ 18389 { eval $1=; unset $1;} 18390} 18391as_unset=as_fn_unset 18392# as_fn_append VAR VALUE 18393# ---------------------- 18394# Append the text in VALUE to the end of the definition contained in VAR. Take 18395# advantage of any shell optimizations that allow amortized linear growth over 18396# repeated appends, instead of the typical quadratic growth present in naive 18397# implementations. 18398if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 18399 eval 'as_fn_append () 18400 { 18401 eval $1+=\$2 18402 }' 18403else 18404 as_fn_append () 18405 { 18406 eval $1=\$$1\$2 18407 } 18408fi # as_fn_append 18409 18410# as_fn_arith ARG... 18411# ------------------ 18412# Perform arithmetic evaluation on the ARGs, and store the result in the 18413# global $as_val. Take advantage of shells that can avoid forks. The arguments 18414# must be portable across $(()) and expr. 18415if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 18416 eval 'as_fn_arith () 18417 { 18418 as_val=$(( $* )) 18419 }' 18420else 18421 as_fn_arith () 18422 { 18423 as_val=`expr "$@" || test $? -eq 1` 18424 } 18425fi # as_fn_arith 18426 18427 18428if expr a : '\(a\)' >/dev/null 2>&1 && 18429 test "X`expr 00001 : '.*\(...\)'`" = X001; then 18430 as_expr=expr 18431else 18432 as_expr=false 18433fi 18434 18435if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 18436 as_basename=basename 18437else 18438 as_basename=false 18439fi 18440 18441if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 18442 as_dirname=dirname 18443else 18444 as_dirname=false 18445fi 18446 18447as_me=`$as_basename -- "$0" || 18448$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 18449 X"$0" : 'X\(//\)$' \| \ 18450 X"$0" : 'X\(/\)' \| . 2>/dev/null || 18451$as_echo X/"$0" | 18452 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18453 s//\1/ 18454 q 18455 } 18456 /^X\/\(\/\/\)$/{ 18457 s//\1/ 18458 q 18459 } 18460 /^X\/\(\/\).*/{ 18461 s//\1/ 18462 q 18463 } 18464 s/.*/./; q'` 18465 18466# Avoid depending upon Character Ranges. 18467as_cr_letters='abcdefghijklmnopqrstuvwxyz' 18468as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 18469as_cr_Letters=$as_cr_letters$as_cr_LETTERS 18470as_cr_digits='0123456789' 18471as_cr_alnum=$as_cr_Letters$as_cr_digits 18472 18473ECHO_C= ECHO_N= ECHO_T= 18474case `echo -n x` in #((((( 18475-n*) 18476 case `echo 'xy\c'` in 18477 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 18478 xy) ECHO_C='\c';; 18479 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 18480 ECHO_T=' ';; 18481 esac;; 18482*) 18483 ECHO_N='-n';; 18484esac 18485 18486rm -f conf$$ conf$$.exe conf$$.file 18487if test -d conf$$.dir; then 18488 rm -f conf$$.dir/conf$$.file 18489else 18490 rm -f conf$$.dir 18491 mkdir conf$$.dir 2>/dev/null 18492fi 18493if (echo >conf$$.file) 2>/dev/null; then 18494 if ln -s conf$$.file conf$$ 2>/dev/null; then 18495 as_ln_s='ln -s' 18496 # ... but there are two gotchas: 18497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 18498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 18499 # In both cases, we have to default to `cp -pR'. 18500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 18501 as_ln_s='cp -pR' 18502 elif ln conf$$.file conf$$ 2>/dev/null; then 18503 as_ln_s=ln 18504 else 18505 as_ln_s='cp -pR' 18506 fi 18507else 18508 as_ln_s='cp -pR' 18509fi 18510rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 18511rmdir conf$$.dir 2>/dev/null 18512 18513 18514# as_fn_mkdir_p 18515# ------------- 18516# Create "$as_dir" as a directory, including parents if necessary. 18517as_fn_mkdir_p () 18518{ 18519 18520 case $as_dir in #( 18521 -*) as_dir=./$as_dir;; 18522 esac 18523 test -d "$as_dir" || eval $as_mkdir_p || { 18524 as_dirs= 18525 while :; do 18526 case $as_dir in #( 18527 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 18528 *) as_qdir=$as_dir;; 18529 esac 18530 as_dirs="'$as_qdir' $as_dirs" 18531 as_dir=`$as_dirname -- "$as_dir" || 18532$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18533 X"$as_dir" : 'X\(//\)[^/]' \| \ 18534 X"$as_dir" : 'X\(//\)$' \| \ 18535 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 18536$as_echo X"$as_dir" | 18537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18538 s//\1/ 18539 q 18540 } 18541 /^X\(\/\/\)[^/].*/{ 18542 s//\1/ 18543 q 18544 } 18545 /^X\(\/\/\)$/{ 18546 s//\1/ 18547 q 18548 } 18549 /^X\(\/\).*/{ 18550 s//\1/ 18551 q 18552 } 18553 s/.*/./; q'` 18554 test -d "$as_dir" && break 18555 done 18556 test -z "$as_dirs" || eval "mkdir $as_dirs" 18557 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 18558 18559 18560} # as_fn_mkdir_p 18561if mkdir -p . 2>/dev/null; then 18562 as_mkdir_p='mkdir -p "$as_dir"' 18563else 18564 test -d ./-p && rmdir ./-p 18565 as_mkdir_p=false 18566fi 18567 18568 18569# as_fn_executable_p FILE 18570# ----------------------- 18571# Test if FILE is an executable regular file. 18572as_fn_executable_p () 18573{ 18574 test -f "$1" && test -x "$1" 18575} # as_fn_executable_p 18576as_test_x='test -x' 18577as_executable_p=as_fn_executable_p 18578 18579# Sed expression to map a string onto a valid CPP name. 18580as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 18581 18582# Sed expression to map a string onto a valid variable name. 18583as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 18584 18585 18586exec 6>&1 18587## ----------------------------------- ## 18588## Main body of $CONFIG_STATUS script. ## 18589## ----------------------------------- ## 18590_ASEOF 18591test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 18592 18593cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18594# Save the log message, to keep $0 and so on meaningful, and to 18595# report actual input values of CONFIG_FILES etc. instead of their 18596# values after options handling. 18597ac_log=" 18598This file was extended by gstreamermm $as_me 1.10.0, which was 18599generated by GNU Autoconf 2.69. Invocation command line was 18600 18601 CONFIG_FILES = $CONFIG_FILES 18602 CONFIG_HEADERS = $CONFIG_HEADERS 18603 CONFIG_LINKS = $CONFIG_LINKS 18604 CONFIG_COMMANDS = $CONFIG_COMMANDS 18605 $ $0 $@ 18606 18607on `(hostname || uname -n) 2>/dev/null | sed 1q` 18608" 18609 18610_ACEOF 18611 18612case $ac_config_files in *" 18613"*) set x $ac_config_files; shift; ac_config_files=$*;; 18614esac 18615 18616case $ac_config_headers in *" 18617"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 18618esac 18619 18620 18621cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18622# Files that config.status was made for. 18623config_files="$ac_config_files" 18624config_headers="$ac_config_headers" 18625config_commands="$ac_config_commands" 18626 18627_ACEOF 18628 18629cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18630ac_cs_usage="\ 18631\`$as_me' instantiates files and other configuration actions 18632from templates according to the current configuration. Unless the files 18633and actions are specified as TAGs, all are instantiated by default. 18634 18635Usage: $0 [OPTION]... [TAG]... 18636 18637 -h, --help print this help, then exit 18638 -V, --version print version number and configuration settings, then exit 18639 --config print configuration, then exit 18640 -q, --quiet, --silent 18641 do not print progress messages 18642 -d, --debug don't remove temporary files 18643 --recheck update $as_me by reconfiguring in the same conditions 18644 --file=FILE[:TEMPLATE] 18645 instantiate the configuration file FILE 18646 --header=FILE[:TEMPLATE] 18647 instantiate the configuration header FILE 18648 18649Configuration files: 18650$config_files 18651 18652Configuration headers: 18653$config_headers 18654 18655Configuration commands: 18656$config_commands 18657 18658Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gstreamermm>. 18659gstreamermm home page: <http://www.gtkmm.org/>." 18660 18661_ACEOF 18662cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18663ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 18664ac_cs_version="\\ 18665gstreamermm config.status 1.10.0 18666configured by $0, generated by GNU Autoconf 2.69, 18667 with options \\"\$ac_cs_config\\" 18668 18669Copyright (C) 2012 Free Software Foundation, Inc. 18670This config.status script is free software; the Free Software Foundation 18671gives unlimited permission to copy, distribute and modify it." 18672 18673ac_pwd='$ac_pwd' 18674srcdir='$srcdir' 18675INSTALL='$INSTALL' 18676MKDIR_P='$MKDIR_P' 18677AWK='$AWK' 18678test -n "\$AWK" || AWK=awk 18679_ACEOF 18680 18681cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18682# The default lists apply if the user does not specify any file. 18683ac_need_defaults=: 18684while test $# != 0 18685do 18686 case $1 in 18687 --*=?*) 18688 ac_option=`expr "X$1" : 'X\([^=]*\)='` 18689 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 18690 ac_shift=: 18691 ;; 18692 --*=) 18693 ac_option=`expr "X$1" : 'X\([^=]*\)='` 18694 ac_optarg= 18695 ac_shift=: 18696 ;; 18697 *) 18698 ac_option=$1 18699 ac_optarg=$2 18700 ac_shift=shift 18701 ;; 18702 esac 18703 18704 case $ac_option in 18705 # Handling of the options. 18706 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 18707 ac_cs_recheck=: ;; 18708 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 18709 $as_echo "$ac_cs_version"; exit ;; 18710 --config | --confi | --conf | --con | --co | --c ) 18711 $as_echo "$ac_cs_config"; exit ;; 18712 --debug | --debu | --deb | --de | --d | -d ) 18713 debug=: ;; 18714 --file | --fil | --fi | --f ) 18715 $ac_shift 18716 case $ac_optarg in 18717 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18718 '') as_fn_error $? "missing file argument" ;; 18719 esac 18720 as_fn_append CONFIG_FILES " '$ac_optarg'" 18721 ac_need_defaults=false;; 18722 --header | --heade | --head | --hea ) 18723 $ac_shift 18724 case $ac_optarg in 18725 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18726 esac 18727 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 18728 ac_need_defaults=false;; 18729 --he | --h) 18730 # Conflict between --help and --header 18731 as_fn_error $? "ambiguous option: \`$1' 18732Try \`$0 --help' for more information.";; 18733 --help | --hel | -h ) 18734 $as_echo "$ac_cs_usage"; exit ;; 18735 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 18736 | -silent | --silent | --silen | --sile | --sil | --si | --s) 18737 ac_cs_silent=: ;; 18738 18739 # This is an error. 18740 -*) as_fn_error $? "unrecognized option: \`$1' 18741Try \`$0 --help' for more information." ;; 18742 18743 *) as_fn_append ac_config_targets " $1" 18744 ac_need_defaults=false ;; 18745 18746 esac 18747 shift 18748done 18749 18750ac_configure_extra_args= 18751 18752if $ac_cs_silent; then 18753 exec 6>/dev/null 18754 ac_configure_extra_args="$ac_configure_extra_args --silent" 18755fi 18756 18757_ACEOF 18758cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18759if \$ac_cs_recheck; then 18760 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 18761 shift 18762 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 18763 CONFIG_SHELL='$SHELL' 18764 export CONFIG_SHELL 18765 exec "\$@" 18766fi 18767 18768_ACEOF 18769cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18770exec 5>>config.log 18771{ 18772 echo 18773 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 18774## Running $as_me. ## 18775_ASBOX 18776 $as_echo "$ac_log" 18777} >&5 18778 18779_ACEOF 18780cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18781# 18782# INIT-COMMANDS 18783# 18784AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 18785 18786 18787# The HP-UX ksh and POSIX shell print the target directory to stdout 18788# if CDPATH is set. 18789(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 18790 18791sed_quote_subst='$sed_quote_subst' 18792double_quote_subst='$double_quote_subst' 18793delay_variable_subst='$delay_variable_subst' 18794enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 18795AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 18796DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 18797OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 18798macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 18799macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 18800enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 18801pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 18802enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 18803shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 18804SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 18805ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 18806PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 18807host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 18808host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 18809host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 18810build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 18811build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 18812build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 18813SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 18814Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 18815GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 18816EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 18817FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 18818LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 18819NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 18820LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 18821max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 18822ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 18823exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 18824lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 18825lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 18826lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 18827lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 18828lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 18829reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 18830reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 18831deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 18832file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 18833file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 18834want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 18835sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 18836AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 18837AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 18838archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 18839STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 18840RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 18841old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18842old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18843old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 18844lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 18845CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 18846CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 18847compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 18848GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 18849lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 18850lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 18851lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 18852lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 18853lt_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"`' 18854lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 18855nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 18856lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 18857lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 18858objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 18859MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 18860lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 18861lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 18862lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 18863lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 18864lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 18865need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 18866MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 18867DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 18868NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 18869LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 18870OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 18871OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 18872libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 18873shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 18874extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18875archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 18876enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 18877export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 18878whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 18879compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 18880old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 18881old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18882archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 18883archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18884module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 18885module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18886with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 18887allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 18888no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 18889hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 18890hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 18891hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 18892hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 18893hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 18894hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 18895hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 18896inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 18897link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 18898always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 18899export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 18900exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 18901include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 18902prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 18903postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 18904file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 18905variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 18906need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 18907need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 18908version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 18909runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 18910shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 18911shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 18912libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 18913library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 18914soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 18915install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 18916postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18917postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18918finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 18919finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 18920hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 18921sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 18922configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 18923configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 18924hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 18925enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 18926enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 18927enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 18928old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 18929striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 18930compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 18931predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 18932postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 18933predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 18934postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 18935compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 18936LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 18937reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 18938reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18939old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18940compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 18941GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 18942lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 18943lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 18944lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 18945lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 18946lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 18947archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 18948enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 18949export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18950whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18951compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 18952old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18953old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18954archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18955archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18956module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18957module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18958with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 18959allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 18960no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 18961hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18962hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 18963hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 18964hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 18965hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 18966hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 18967hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 18968inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 18969link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 18970always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 18971export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18972exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 18973include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 18974prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18975postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18976file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 18977hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 18978compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 18979predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 18980postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 18981predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 18982postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 18983compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 18984 18985LTCC='$LTCC' 18986LTCFLAGS='$LTCFLAGS' 18987compiler='$compiler_DEFAULT' 18988 18989# A function that is used when there is no print builtin or printf. 18990func_fallback_echo () 18991{ 18992 eval 'cat <<_LTECHO_EOF 18993\$1 18994_LTECHO_EOF' 18995} 18996 18997# Quote evaled strings. 18998for var in AS \ 18999DLLTOOL \ 19000OBJDUMP \ 19001SHELL \ 19002ECHO \ 19003PATH_SEPARATOR \ 19004SED \ 19005GREP \ 19006EGREP \ 19007FGREP \ 19008LD \ 19009NM \ 19010LN_S \ 19011lt_SP2NL \ 19012lt_NL2SP \ 19013reload_flag \ 19014deplibs_check_method \ 19015file_magic_cmd \ 19016file_magic_glob \ 19017want_nocaseglob \ 19018sharedlib_from_linklib_cmd \ 19019AR \ 19020AR_FLAGS \ 19021archiver_list_spec \ 19022STRIP \ 19023RANLIB \ 19024CC \ 19025CFLAGS \ 19026compiler \ 19027lt_cv_sys_global_symbol_pipe \ 19028lt_cv_sys_global_symbol_to_cdecl \ 19029lt_cv_sys_global_symbol_to_import \ 19030lt_cv_sys_global_symbol_to_c_name_address \ 19031lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 19032lt_cv_nm_interface \ 19033nm_file_list_spec \ 19034lt_cv_truncate_bin \ 19035lt_prog_compiler_no_builtin_flag \ 19036lt_prog_compiler_pic \ 19037lt_prog_compiler_wl \ 19038lt_prog_compiler_static \ 19039lt_cv_prog_compiler_c_o \ 19040need_locks \ 19041MANIFEST_TOOL \ 19042DSYMUTIL \ 19043NMEDIT \ 19044LIPO \ 19045OTOOL \ 19046OTOOL64 \ 19047shrext_cmds \ 19048export_dynamic_flag_spec \ 19049whole_archive_flag_spec \ 19050compiler_needs_object \ 19051with_gnu_ld \ 19052allow_undefined_flag \ 19053no_undefined_flag \ 19054hardcode_libdir_flag_spec \ 19055hardcode_libdir_separator \ 19056exclude_expsyms \ 19057include_expsyms \ 19058file_list_spec \ 19059variables_saved_for_relink \ 19060libname_spec \ 19061library_names_spec \ 19062soname_spec \ 19063install_override_mode \ 19064finish_eval \ 19065old_striplib \ 19066striplib \ 19067compiler_lib_search_dirs \ 19068predep_objects \ 19069postdep_objects \ 19070predeps \ 19071postdeps \ 19072compiler_lib_search_path \ 19073LD_CXX \ 19074reload_flag_CXX \ 19075compiler_CXX \ 19076lt_prog_compiler_no_builtin_flag_CXX \ 19077lt_prog_compiler_pic_CXX \ 19078lt_prog_compiler_wl_CXX \ 19079lt_prog_compiler_static_CXX \ 19080lt_cv_prog_compiler_c_o_CXX \ 19081export_dynamic_flag_spec_CXX \ 19082whole_archive_flag_spec_CXX \ 19083compiler_needs_object_CXX \ 19084with_gnu_ld_CXX \ 19085allow_undefined_flag_CXX \ 19086no_undefined_flag_CXX \ 19087hardcode_libdir_flag_spec_CXX \ 19088hardcode_libdir_separator_CXX \ 19089exclude_expsyms_CXX \ 19090include_expsyms_CXX \ 19091file_list_spec_CXX \ 19092compiler_lib_search_dirs_CXX \ 19093predep_objects_CXX \ 19094postdep_objects_CXX \ 19095predeps_CXX \ 19096postdeps_CXX \ 19097compiler_lib_search_path_CXX; do 19098 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 19099 *[\\\\\\\`\\"\\\$]*) 19100 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 19101 ;; 19102 *) 19103 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19104 ;; 19105 esac 19106done 19107 19108# Double-quote double-evaled strings. 19109for var in reload_cmds \ 19110old_postinstall_cmds \ 19111old_postuninstall_cmds \ 19112old_archive_cmds \ 19113extract_expsyms_cmds \ 19114old_archive_from_new_cmds \ 19115old_archive_from_expsyms_cmds \ 19116archive_cmds \ 19117archive_expsym_cmds \ 19118module_cmds \ 19119module_expsym_cmds \ 19120export_symbols_cmds \ 19121prelink_cmds \ 19122postlink_cmds \ 19123postinstall_cmds \ 19124postuninstall_cmds \ 19125finish_cmds \ 19126sys_lib_search_path_spec \ 19127configure_time_dlsearch_path \ 19128configure_time_lt_sys_library_path \ 19129reload_cmds_CXX \ 19130old_archive_cmds_CXX \ 19131old_archive_from_new_cmds_CXX \ 19132old_archive_from_expsyms_cmds_CXX \ 19133archive_cmds_CXX \ 19134archive_expsym_cmds_CXX \ 19135module_cmds_CXX \ 19136module_expsym_cmds_CXX \ 19137export_symbols_cmds_CXX \ 19138prelink_cmds_CXX \ 19139postlink_cmds_CXX; do 19140 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 19141 *[\\\\\\\`\\"\\\$]*) 19142 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 19143 ;; 19144 *) 19145 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19146 ;; 19147 esac 19148done 19149 19150ac_aux_dir='$ac_aux_dir' 19151 19152# See if we are running on zsh, and set the options that allow our 19153# commands through without removal of \ escapes INIT. 19154if test -n "\${ZSH_VERSION+set}"; then 19155 setopt NO_GLOB_SUBST 19156fi 19157 19158 19159 PACKAGE='$PACKAGE' 19160 VERSION='$VERSION' 19161 RM='$RM' 19162 ofile='$ofile' 19163 19164 19165 19166 19167 19168 19169_ACEOF 19170 19171cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19172 19173# Handling of arguments. 19174for ac_config_target in $ac_config_targets 19175do 19176 case $ac_config_target in 19177 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 19178 "gstreamer/gstreamermmconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS gstreamer/gstreamermmconfig.h" ;; 19179 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 19180 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 19181 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 19182 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; 19183 "gstreamer/${GSTREAMERMM_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES gstreamer/${GSTREAMERMM_MODULE_NAME}.pc:gstreamer/gstreamermm.pc.in" ;; 19184 "gstreamer/${GSTREAMERMM_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gstreamer/${GSTREAMERMM_MODULE_NAME}-uninstalled.pc:gstreamer/gstreamermm-uninstalled.pc.in" ;; 19185 "gstreamer/src/Makefile") CONFIG_FILES="$CONFIG_FILES gstreamer/src/Makefile" ;; 19186 "gstreamer/gstreamermm/Makefile") CONFIG_FILES="$CONFIG_FILES gstreamer/gstreamermm/Makefile" ;; 19187 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 19188 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 19189 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 19190 "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;; 19191 19192 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 19193 esac 19194done 19195 19196 19197# If the user did not use the arguments to specify the items to instantiate, 19198# then the envvar interface is used. Set only those that are not. 19199# We use the long form for the default assignment because of an extremely 19200# bizarre bug on SunOS 4.1.3. 19201if $ac_need_defaults; then 19202 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 19203 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 19204 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 19205fi 19206 19207# Have a temporary directory for convenience. Make it in the build tree 19208# simply because there is no reason against having it here, and in addition, 19209# creating and moving files from /tmp can sometimes cause problems. 19210# Hook for its removal unless debugging. 19211# Note that there is a small window in which the directory will not be cleaned: 19212# after its creation but before its name has been assigned to `$tmp'. 19213$debug || 19214{ 19215 tmp= ac_tmp= 19216 trap 'exit_status=$? 19217 : "${ac_tmp:=$tmp}" 19218 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 19219' 0 19220 trap 'as_fn_exit 1' 1 2 13 15 19221} 19222# Create a (secure) tmp directory for tmp files. 19223 19224{ 19225 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 19226 test -d "$tmp" 19227} || 19228{ 19229 tmp=./conf$$-$RANDOM 19230 (umask 077 && mkdir "$tmp") 19231} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 19232ac_tmp=$tmp 19233 19234# Set up the scripts for CONFIG_FILES section. 19235# No need to generate them if there are no CONFIG_FILES. 19236# This happens for instance with `./config.status config.h'. 19237if test -n "$CONFIG_FILES"; then 19238 19239 19240ac_cr=`echo X | tr X '\015'` 19241# On cygwin, bash can eat \r inside `` if the user requested igncr. 19242# But we know of no other shell where ac_cr would be empty at this 19243# point, so we can use a bashism as a fallback. 19244if test "x$ac_cr" = x; then 19245 eval ac_cr=\$\'\\r\' 19246fi 19247ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 19248if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 19249 ac_cs_awk_cr='\\r' 19250else 19251 ac_cs_awk_cr=$ac_cr 19252fi 19253 19254echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 19255_ACEOF 19256 19257 19258{ 19259 echo "cat >conf$$subs.awk <<_ACEOF" && 19260 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 19261 echo "_ACEOF" 19262} >conf$$subs.sh || 19263 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19264ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 19265ac_delim='%!_!# ' 19266for ac_last_try in false false false false false :; do 19267 . ./conf$$subs.sh || 19268 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19269 19270 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 19271 if test $ac_delim_n = $ac_delim_num; then 19272 break 19273 elif $ac_last_try; then 19274 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19275 else 19276 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 19277 fi 19278done 19279rm -f conf$$subs.sh 19280 19281cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19282cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 19283_ACEOF 19284sed -n ' 19285h 19286s/^/S["/; s/!.*/"]=/ 19287p 19288g 19289s/^[^!]*!// 19290:repl 19291t repl 19292s/'"$ac_delim"'$// 19293t delim 19294:nl 19295h 19296s/\(.\{148\}\)..*/\1/ 19297t more1 19298s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 19299p 19300n 19301b repl 19302:more1 19303s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 19304p 19305g 19306s/.\{148\}// 19307t nl 19308:delim 19309h 19310s/\(.\{148\}\)..*/\1/ 19311t more2 19312s/["\\]/\\&/g; s/^/"/; s/$/"/ 19313p 19314b 19315:more2 19316s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 19317p 19318g 19319s/.\{148\}// 19320t delim 19321' <conf$$subs.awk | sed ' 19322/^[^""]/{ 19323 N 19324 s/\n// 19325} 19326' >>$CONFIG_STATUS || ac_write_fail=1 19327rm -f conf$$subs.awk 19328cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19329_ACAWK 19330cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 19331 for (key in S) S_is_set[key] = 1 19332 FS = "" 19333 19334} 19335{ 19336 line = $ 0 19337 nfields = split(line, field, "@") 19338 substed = 0 19339 len = length(field[1]) 19340 for (i = 2; i < nfields; i++) { 19341 key = field[i] 19342 keylen = length(key) 19343 if (S_is_set[key]) { 19344 value = S[key] 19345 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 19346 len += length(value) + length(field[++i]) 19347 substed = 1 19348 } else 19349 len += 1 + keylen 19350 } 19351 19352 print line 19353} 19354 19355_ACAWK 19356_ACEOF 19357cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19358if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 19359 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 19360else 19361 cat 19362fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 19363 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 19364_ACEOF 19365 19366# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 19367# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 19368# trailing colons and then remove the whole line if VPATH becomes empty 19369# (actually we leave an empty line to preserve line numbers). 19370if test "x$srcdir" = x.; then 19371 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 19372h 19373s/// 19374s/^/:/ 19375s/[ ]*$/:/ 19376s/:\$(srcdir):/:/g 19377s/:\${srcdir}:/:/g 19378s/:@srcdir@:/:/g 19379s/^:*// 19380s/:*$// 19381x 19382s/\(=[ ]*\).*/\1/ 19383G 19384s/\n// 19385s/^[^=]*=[ ]*$// 19386}' 19387fi 19388 19389cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19390fi # test -n "$CONFIG_FILES" 19391 19392# Set up the scripts for CONFIG_HEADERS section. 19393# No need to generate them if there are no CONFIG_HEADERS. 19394# This happens for instance with `./config.status Makefile'. 19395if test -n "$CONFIG_HEADERS"; then 19396cat >"$ac_tmp/defines.awk" <<\_ACAWK || 19397BEGIN { 19398_ACEOF 19399 19400# Transform confdefs.h into an awk script `defines.awk', embedded as 19401# here-document in config.status, that substitutes the proper values into 19402# config.h.in to produce config.h. 19403 19404# Create a delimiter string that does not exist in confdefs.h, to ease 19405# handling of long lines. 19406ac_delim='%!_!# ' 19407for ac_last_try in false false :; do 19408 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 19409 if test -z "$ac_tt"; then 19410 break 19411 elif $ac_last_try; then 19412 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 19413 else 19414 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 19415 fi 19416done 19417 19418# For the awk script, D is an array of macro values keyed by name, 19419# likewise P contains macro parameters if any. Preserve backslash 19420# newline sequences. 19421 19422ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 19423sed -n ' 19424s/.\{148\}/&'"$ac_delim"'/g 19425t rset 19426:rset 19427s/^[ ]*#[ ]*define[ ][ ]*/ / 19428t def 19429d 19430:def 19431s/\\$// 19432t bsnl 19433s/["\\]/\\&/g 19434s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 19435D["\1"]=" \3"/p 19436s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 19437d 19438:bsnl 19439s/["\\]/\\&/g 19440s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 19441D["\1"]=" \3\\\\\\n"\\/p 19442t cont 19443s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 19444t cont 19445d 19446:cont 19447n 19448s/.\{148\}/&'"$ac_delim"'/g 19449t clear 19450:clear 19451s/\\$// 19452t bsnlc 19453s/["\\]/\\&/g; s/^/"/; s/$/"/p 19454d 19455:bsnlc 19456s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 19457b cont 19458' <confdefs.h | sed ' 19459s/'"$ac_delim"'/"\\\ 19460"/g' >>$CONFIG_STATUS || ac_write_fail=1 19461 19462cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19463 for (key in D) D_is_set[key] = 1 19464 FS = "" 19465} 19466/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 19467 line = \$ 0 19468 split(line, arg, " ") 19469 if (arg[1] == "#") { 19470 defundef = arg[2] 19471 mac1 = arg[3] 19472 } else { 19473 defundef = substr(arg[1], 2) 19474 mac1 = arg[2] 19475 } 19476 split(mac1, mac2, "(") #) 19477 macro = mac2[1] 19478 prefix = substr(line, 1, index(line, defundef) - 1) 19479 if (D_is_set[macro]) { 19480 # Preserve the white space surrounding the "#". 19481 print prefix "define", macro P[macro] D[macro] 19482 next 19483 } else { 19484 # Replace #undef with comments. This is necessary, for example, 19485 # in the case of _POSIX_SOURCE, which is predefined and required 19486 # on some systems where configure will not decide to define it. 19487 if (defundef == "undef") { 19488 print "/*", prefix defundef, macro, "*/" 19489 next 19490 } 19491 } 19492} 19493{ print } 19494_ACAWK 19495_ACEOF 19496cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19497 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 19498fi # test -n "$CONFIG_HEADERS" 19499 19500 19501eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 19502shift 19503for ac_tag 19504do 19505 case $ac_tag in 19506 :[FHLC]) ac_mode=$ac_tag; continue;; 19507 esac 19508 case $ac_mode$ac_tag in 19509 :[FHL]*:*);; 19510 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 19511 :[FH]-) ac_tag=-:-;; 19512 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 19513 esac 19514 ac_save_IFS=$IFS 19515 IFS=: 19516 set x $ac_tag 19517 IFS=$ac_save_IFS 19518 shift 19519 ac_file=$1 19520 shift 19521 19522 case $ac_mode in 19523 :L) ac_source=$1;; 19524 :[FH]) 19525 ac_file_inputs= 19526 for ac_f 19527 do 19528 case $ac_f in 19529 -) ac_f="$ac_tmp/stdin";; 19530 *) # Look for the file first in the build tree, then in the source tree 19531 # (if the path is not absolute). The absolute path cannot be DOS-style, 19532 # because $ac_f cannot contain `:'. 19533 test -f "$ac_f" || 19534 case $ac_f in 19535 [\\/$]*) false;; 19536 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 19537 esac || 19538 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 19539 esac 19540 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 19541 as_fn_append ac_file_inputs " '$ac_f'" 19542 done 19543 19544 # Let's still pretend it is `configure' which instantiates (i.e., don't 19545 # use $as_me), people would be surprised to read: 19546 # /* config.h. Generated by config.status. */ 19547 configure_input='Generated from '` 19548 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 19549 `' by configure.' 19550 if test x"$ac_file" != x-; then 19551 configure_input="$ac_file. $configure_input" 19552 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 19553$as_echo "$as_me: creating $ac_file" >&6;} 19554 fi 19555 # Neutralize special characters interpreted by sed in replacement strings. 19556 case $configure_input in #( 19557 *\&* | *\|* | *\\* ) 19558 ac_sed_conf_input=`$as_echo "$configure_input" | 19559 sed 's/[\\\\&|]/\\\\&/g'`;; #( 19560 *) ac_sed_conf_input=$configure_input;; 19561 esac 19562 19563 case $ac_tag in 19564 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 19565 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 19566 esac 19567 ;; 19568 esac 19569 19570 ac_dir=`$as_dirname -- "$ac_file" || 19571$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19572 X"$ac_file" : 'X\(//\)[^/]' \| \ 19573 X"$ac_file" : 'X\(//\)$' \| \ 19574 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 19575$as_echo X"$ac_file" | 19576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19577 s//\1/ 19578 q 19579 } 19580 /^X\(\/\/\)[^/].*/{ 19581 s//\1/ 19582 q 19583 } 19584 /^X\(\/\/\)$/{ 19585 s//\1/ 19586 q 19587 } 19588 /^X\(\/\).*/{ 19589 s//\1/ 19590 q 19591 } 19592 s/.*/./; q'` 19593 as_dir="$ac_dir"; as_fn_mkdir_p 19594 ac_builddir=. 19595 19596case "$ac_dir" in 19597.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 19598*) 19599 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 19600 # A ".." for each directory in $ac_dir_suffix. 19601 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 19602 case $ac_top_builddir_sub in 19603 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 19604 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 19605 esac ;; 19606esac 19607ac_abs_top_builddir=$ac_pwd 19608ac_abs_builddir=$ac_pwd$ac_dir_suffix 19609# for backward compatibility: 19610ac_top_builddir=$ac_top_build_prefix 19611 19612case $srcdir in 19613 .) # We are building in place. 19614 ac_srcdir=. 19615 ac_top_srcdir=$ac_top_builddir_sub 19616 ac_abs_top_srcdir=$ac_pwd ;; 19617 [\\/]* | ?:[\\/]* ) # Absolute name. 19618 ac_srcdir=$srcdir$ac_dir_suffix; 19619 ac_top_srcdir=$srcdir 19620 ac_abs_top_srcdir=$srcdir ;; 19621 *) # Relative name. 19622 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 19623 ac_top_srcdir=$ac_top_build_prefix$srcdir 19624 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 19625esac 19626ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 19627 19628 19629 case $ac_mode in 19630 :F) 19631 # 19632 # CONFIG_FILE 19633 # 19634 19635 case $INSTALL in 19636 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 19637 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 19638 esac 19639 ac_MKDIR_P=$MKDIR_P 19640 case $MKDIR_P in 19641 [\\/$]* | ?:[\\/]* ) ;; 19642 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 19643 esac 19644_ACEOF 19645 19646cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19647# If the template does not know about datarootdir, expand it. 19648# FIXME: This hack should be removed a few years after 2.60. 19649ac_datarootdir_hack=; ac_datarootdir_seen= 19650ac_sed_dataroot=' 19651/datarootdir/ { 19652 p 19653 q 19654} 19655/@datadir@/p 19656/@docdir@/p 19657/@infodir@/p 19658/@localedir@/p 19659/@mandir@/p' 19660case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 19661*datarootdir*) ac_datarootdir_seen=yes;; 19662*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 19663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 19664$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 19665_ACEOF 19666cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19667 ac_datarootdir_hack=' 19668 s&@datadir@&$datadir&g 19669 s&@docdir@&$docdir&g 19670 s&@infodir@&$infodir&g 19671 s&@localedir@&$localedir&g 19672 s&@mandir@&$mandir&g 19673 s&\\\${datarootdir}&$datarootdir&g' ;; 19674esac 19675_ACEOF 19676 19677# Neutralize VPATH when `$srcdir' = `.'. 19678# Shell code in configure.ac might set extrasub. 19679# FIXME: do we really want to maintain this feature? 19680cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19681ac_sed_extra="$ac_vpsub 19682$extrasub 19683_ACEOF 19684cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19685:t 19686/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 19687s|@configure_input@|$ac_sed_conf_input|;t t 19688s&@top_builddir@&$ac_top_builddir_sub&;t t 19689s&@top_build_prefix@&$ac_top_build_prefix&;t t 19690s&@srcdir@&$ac_srcdir&;t t 19691s&@abs_srcdir@&$ac_abs_srcdir&;t t 19692s&@top_srcdir@&$ac_top_srcdir&;t t 19693s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 19694s&@builddir@&$ac_builddir&;t t 19695s&@abs_builddir@&$ac_abs_builddir&;t t 19696s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 19697s&@INSTALL@&$ac_INSTALL&;t t 19698s&@MKDIR_P@&$ac_MKDIR_P&;t t 19699$ac_datarootdir_hack 19700" 19701eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 19702 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19703 19704test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 19705 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 19706 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 19707 "$ac_tmp/out"`; test -z "$ac_out"; } && 19708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19709which seems to be undefined. Please make sure it is defined" >&5 19710$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19711which seems to be undefined. Please make sure it is defined" >&2;} 19712 19713 rm -f "$ac_tmp/stdin" 19714 case $ac_file in 19715 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 19716 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 19717 esac \ 19718 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19719 ;; 19720 :H) 19721 # 19722 # CONFIG_HEADER 19723 # 19724 if test x"$ac_file" != x-; then 19725 { 19726 $as_echo "/* $configure_input */" \ 19727 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 19728 } >"$ac_tmp/config.h" \ 19729 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19730 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 19731 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 19732$as_echo "$as_me: $ac_file is unchanged" >&6;} 19733 else 19734 rm -f "$ac_file" 19735 mv "$ac_tmp/config.h" "$ac_file" \ 19736 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19737 fi 19738 else 19739 $as_echo "/* $configure_input */" \ 19740 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 19741 || as_fn_error $? "could not create -" "$LINENO" 5 19742 fi 19743# Compute "$ac_file"'s index in $config_headers. 19744_am_arg="$ac_file" 19745_am_stamp_count=1 19746for _am_header in $config_headers :; do 19747 case $_am_header in 19748 $_am_arg | $_am_arg:* ) 19749 break ;; 19750 * ) 19751 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 19752 esac 19753done 19754echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 19755$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19756 X"$_am_arg" : 'X\(//\)[^/]' \| \ 19757 X"$_am_arg" : 'X\(//\)$' \| \ 19758 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 19759$as_echo X"$_am_arg" | 19760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19761 s//\1/ 19762 q 19763 } 19764 /^X\(\/\/\)[^/].*/{ 19765 s//\1/ 19766 q 19767 } 19768 /^X\(\/\/\)$/{ 19769 s//\1/ 19770 q 19771 } 19772 /^X\(\/\).*/{ 19773 s//\1/ 19774 q 19775 } 19776 s/.*/./; q'`/stamp-h$_am_stamp_count 19777 ;; 19778 19779 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 19780$as_echo "$as_me: executing $ac_file commands" >&6;} 19781 ;; 19782 esac 19783 19784 19785 case $ac_file$ac_mode in 19786 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 19787 # Older Autoconf quotes --file arguments for eval, but not when files 19788 # are listed without --file. Let's play safe and only enable the eval 19789 # if we detect the quoting. 19790 case $CONFIG_FILES in 19791 *\'*) eval set x "$CONFIG_FILES" ;; 19792 *) set x $CONFIG_FILES ;; 19793 esac 19794 shift 19795 for mf 19796 do 19797 # Strip MF so we end up with the name of the file. 19798 mf=`echo "$mf" | sed -e 's/:.*$//'` 19799 # Check whether this is an Automake generated Makefile or not. 19800 # We used to match only the files named 'Makefile.in', but 19801 # some people rename them; so instead we look at the file content. 19802 # Grep'ing the first line is not enough: some people post-process 19803 # each Makefile.in and add a new line on top of each file to say so. 19804 # Grep'ing the whole file is not good either: AIX grep has a line 19805 # limit of 2048, but all sed's we know have understand at least 4000. 19806 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 19807 dirpart=`$as_dirname -- "$mf" || 19808$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19809 X"$mf" : 'X\(//\)[^/]' \| \ 19810 X"$mf" : 'X\(//\)$' \| \ 19811 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 19812$as_echo X"$mf" | 19813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19814 s//\1/ 19815 q 19816 } 19817 /^X\(\/\/\)[^/].*/{ 19818 s//\1/ 19819 q 19820 } 19821 /^X\(\/\/\)$/{ 19822 s//\1/ 19823 q 19824 } 19825 /^X\(\/\).*/{ 19826 s//\1/ 19827 q 19828 } 19829 s/.*/./; q'` 19830 else 19831 continue 19832 fi 19833 # Extract the definition of DEPDIR, am__include, and am__quote 19834 # from the Makefile without running 'make'. 19835 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 19836 test -z "$DEPDIR" && continue 19837 am__include=`sed -n 's/^am__include = //p' < "$mf"` 19838 test -z "$am__include" && continue 19839 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 19840 # Find all dependency output files, they are included files with 19841 # $(DEPDIR) in their names. We invoke sed twice because it is the 19842 # simplest approach to changing $(DEPDIR) to its actual value in the 19843 # expansion. 19844 for file in `sed -n " 19845 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 19846 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 19847 # Make sure the directory exists. 19848 test -f "$dirpart/$file" && continue 19849 fdir=`$as_dirname -- "$file" || 19850$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19851 X"$file" : 'X\(//\)[^/]' \| \ 19852 X"$file" : 'X\(//\)$' \| \ 19853 X"$file" : 'X\(/\)' \| . 2>/dev/null || 19854$as_echo X"$file" | 19855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19856 s//\1/ 19857 q 19858 } 19859 /^X\(\/\/\)[^/].*/{ 19860 s//\1/ 19861 q 19862 } 19863 /^X\(\/\/\)$/{ 19864 s//\1/ 19865 q 19866 } 19867 /^X\(\/\).*/{ 19868 s//\1/ 19869 q 19870 } 19871 s/.*/./; q'` 19872 as_dir=$dirpart/$fdir; as_fn_mkdir_p 19873 # echo "creating $dirpart/$file" 19874 echo '# dummy' > "$dirpart/$file" 19875 done 19876 done 19877} 19878 ;; 19879 "libtool":C) 19880 19881 # See if we are running on zsh, and set the options that allow our 19882 # commands through without removal of \ escapes. 19883 if test -n "${ZSH_VERSION+set}"; then 19884 setopt NO_GLOB_SUBST 19885 fi 19886 19887 cfgfile=${ofile}T 19888 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 19889 $RM "$cfgfile" 19890 19891 cat <<_LT_EOF >> "$cfgfile" 19892#! $SHELL 19893# Generated automatically by $as_me ($PACKAGE) $VERSION 19894# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 19895# NOTE: Changes made to this file will be lost: look at ltmain.sh. 19896 19897# Provide generalized library-building support services. 19898# Written by Gordon Matzigkeit, 1996 19899 19900# Copyright (C) 2014 Free Software Foundation, Inc. 19901# This is free software; see the source for copying conditions. There is NO 19902# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 19903 19904# GNU Libtool is free software; you can redistribute it and/or modify 19905# it under the terms of the GNU General Public License as published by 19906# the Free Software Foundation; either version 2 of of the License, or 19907# (at your option) any later version. 19908# 19909# As a special exception to the GNU General Public License, if you 19910# distribute this file as part of a program or library that is built 19911# using GNU Libtool, you may include this file under the same 19912# distribution terms that you use for the rest of that program. 19913# 19914# GNU Libtool is distributed in the hope that it will be useful, but 19915# WITHOUT ANY WARRANTY; without even the implied warranty of 19916# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19917# GNU General Public License for more details. 19918# 19919# You should have received a copy of the GNU General Public License 19920# along with this program. If not, see <http://www.gnu.org/licenses/>. 19921 19922 19923# The names of the tagged configurations supported by this script. 19924available_tags='CXX ' 19925 19926# Configured defaults for sys_lib_dlsearch_path munging. 19927: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 19928 19929# ### BEGIN LIBTOOL CONFIG 19930 19931# Whether or not to build static libraries. 19932build_old_libs=$enable_static 19933 19934# Assembler program. 19935AS=$lt_AS 19936 19937# DLL creation program. 19938DLLTOOL=$lt_DLLTOOL 19939 19940# Object dumper program. 19941OBJDUMP=$lt_OBJDUMP 19942 19943# Which release of libtool.m4 was used? 19944macro_version=$macro_version 19945macro_revision=$macro_revision 19946 19947# Whether or not to build shared libraries. 19948build_libtool_libs=$enable_shared 19949 19950# What type of objects to build. 19951pic_mode=$pic_mode 19952 19953# Whether or not to optimize for fast installation. 19954fast_install=$enable_fast_install 19955 19956# Shared archive member basename,for filename based shared library versioning on AIX. 19957shared_archive_member_spec=$shared_archive_member_spec 19958 19959# Shell to use when invoking shell scripts. 19960SHELL=$lt_SHELL 19961 19962# An echo program that protects backslashes. 19963ECHO=$lt_ECHO 19964 19965# The PATH separator for the build system. 19966PATH_SEPARATOR=$lt_PATH_SEPARATOR 19967 19968# The host system. 19969host_alias=$host_alias 19970host=$host 19971host_os=$host_os 19972 19973# The build system. 19974build_alias=$build_alias 19975build=$build 19976build_os=$build_os 19977 19978# A sed program that does not truncate output. 19979SED=$lt_SED 19980 19981# Sed that helps us avoid accidentally triggering echo(1) options like -n. 19982Xsed="\$SED -e 1s/^X//" 19983 19984# A grep program that handles long lines. 19985GREP=$lt_GREP 19986 19987# An ERE matcher. 19988EGREP=$lt_EGREP 19989 19990# A literal string matcher. 19991FGREP=$lt_FGREP 19992 19993# A BSD- or MS-compatible name lister. 19994NM=$lt_NM 19995 19996# Whether we need soft or hard links. 19997LN_S=$lt_LN_S 19998 19999# What is the maximum length of a command? 20000max_cmd_len=$max_cmd_len 20001 20002# Object file suffix (normally "o"). 20003objext=$ac_objext 20004 20005# Executable file suffix (normally ""). 20006exeext=$exeext 20007 20008# whether the shell understands "unset". 20009lt_unset=$lt_unset 20010 20011# turn spaces into newlines. 20012SP2NL=$lt_lt_SP2NL 20013 20014# turn newlines into spaces. 20015NL2SP=$lt_lt_NL2SP 20016 20017# convert \$build file names to \$host format. 20018to_host_file_cmd=$lt_cv_to_host_file_cmd 20019 20020# convert \$build files to toolchain format. 20021to_tool_file_cmd=$lt_cv_to_tool_file_cmd 20022 20023# Method to check whether dependent libraries are shared objects. 20024deplibs_check_method=$lt_deplibs_check_method 20025 20026# Command to use when deplibs_check_method = "file_magic". 20027file_magic_cmd=$lt_file_magic_cmd 20028 20029# How to find potential files when deplibs_check_method = "file_magic". 20030file_magic_glob=$lt_file_magic_glob 20031 20032# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 20033want_nocaseglob=$lt_want_nocaseglob 20034 20035# Command to associate shared and link libraries. 20036sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 20037 20038# The archiver. 20039AR=$lt_AR 20040 20041# Flags to create an archive. 20042AR_FLAGS=$lt_AR_FLAGS 20043 20044# How to feed a file listing to the archiver. 20045archiver_list_spec=$lt_archiver_list_spec 20046 20047# A symbol stripping program. 20048STRIP=$lt_STRIP 20049 20050# Commands used to install an old-style archive. 20051RANLIB=$lt_RANLIB 20052old_postinstall_cmds=$lt_old_postinstall_cmds 20053old_postuninstall_cmds=$lt_old_postuninstall_cmds 20054 20055# Whether to use a lock for old archive extraction. 20056lock_old_archive_extraction=$lock_old_archive_extraction 20057 20058# A C compiler. 20059LTCC=$lt_CC 20060 20061# LTCC compiler flags. 20062LTCFLAGS=$lt_CFLAGS 20063 20064# Take the output of nm and produce a listing of raw symbols and C names. 20065global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 20066 20067# Transform the output of nm in a proper C declaration. 20068global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 20069 20070# Transform the output of nm into a list of symbols to manually relocate. 20071global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 20072 20073# Transform the output of nm in a C name address pair. 20074global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 20075 20076# Transform the output of nm in a C name address pair when lib prefix is needed. 20077global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 20078 20079# The name lister interface. 20080nm_interface=$lt_lt_cv_nm_interface 20081 20082# Specify filename containing input files for \$NM. 20083nm_file_list_spec=$lt_nm_file_list_spec 20084 20085# The root where to search for dependent libraries,and where our libraries should be installed. 20086lt_sysroot=$lt_sysroot 20087 20088# Command to truncate a binary pipe. 20089lt_truncate_bin=$lt_lt_cv_truncate_bin 20090 20091# The name of the directory that contains temporary libtool files. 20092objdir=$objdir 20093 20094# Used to examine libraries when file_magic_cmd begins with "file". 20095MAGIC_CMD=$MAGIC_CMD 20096 20097# Must we lock files when doing compilation? 20098need_locks=$lt_need_locks 20099 20100# Manifest tool. 20101MANIFEST_TOOL=$lt_MANIFEST_TOOL 20102 20103# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 20104DSYMUTIL=$lt_DSYMUTIL 20105 20106# Tool to change global to local symbols on Mac OS X. 20107NMEDIT=$lt_NMEDIT 20108 20109# Tool to manipulate fat objects and archives on Mac OS X. 20110LIPO=$lt_LIPO 20111 20112# ldd/readelf like tool for Mach-O binaries on Mac OS X. 20113OTOOL=$lt_OTOOL 20114 20115# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 20116OTOOL64=$lt_OTOOL64 20117 20118# Old archive suffix (normally "a"). 20119libext=$libext 20120 20121# Shared library suffix (normally ".so"). 20122shrext_cmds=$lt_shrext_cmds 20123 20124# The commands to extract the exported symbol list from a shared archive. 20125extract_expsyms_cmds=$lt_extract_expsyms_cmds 20126 20127# Variables whose values should be saved in libtool wrapper scripts and 20128# restored at link time. 20129variables_saved_for_relink=$lt_variables_saved_for_relink 20130 20131# Do we need the "lib" prefix for modules? 20132need_lib_prefix=$need_lib_prefix 20133 20134# Do we need a version for libraries? 20135need_version=$need_version 20136 20137# Library versioning type. 20138version_type=$version_type 20139 20140# Shared library runtime path variable. 20141runpath_var=$runpath_var 20142 20143# Shared library path variable. 20144shlibpath_var=$shlibpath_var 20145 20146# Is shlibpath searched before the hard-coded library search path? 20147shlibpath_overrides_runpath=$shlibpath_overrides_runpath 20148 20149# Format of library name prefix. 20150libname_spec=$lt_libname_spec 20151 20152# List of archive names. First name is the real one, the rest are links. 20153# The last name is the one that the linker finds with -lNAME 20154library_names_spec=$lt_library_names_spec 20155 20156# The coded name of the library, if different from the real name. 20157soname_spec=$lt_soname_spec 20158 20159# Permission mode override for installation of shared libraries. 20160install_override_mode=$lt_install_override_mode 20161 20162# Command to use after installation of a shared archive. 20163postinstall_cmds=$lt_postinstall_cmds 20164 20165# Command to use after uninstallation of a shared archive. 20166postuninstall_cmds=$lt_postuninstall_cmds 20167 20168# Commands used to finish a libtool library installation in a directory. 20169finish_cmds=$lt_finish_cmds 20170 20171# As "finish_cmds", except a single script fragment to be evaled but 20172# not shown. 20173finish_eval=$lt_finish_eval 20174 20175# Whether we should hardcode library paths into libraries. 20176hardcode_into_libs=$hardcode_into_libs 20177 20178# Compile-time system search path for libraries. 20179sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 20180 20181# Detected run-time system search path for libraries. 20182sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 20183 20184# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 20185configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 20186 20187# Whether dlopen is supported. 20188dlopen_support=$enable_dlopen 20189 20190# Whether dlopen of programs is supported. 20191dlopen_self=$enable_dlopen_self 20192 20193# Whether dlopen of statically linked programs is supported. 20194dlopen_self_static=$enable_dlopen_self_static 20195 20196# Commands to strip libraries. 20197old_striplib=$lt_old_striplib 20198striplib=$lt_striplib 20199 20200 20201# The linker used to build libraries. 20202LD=$lt_LD 20203 20204# How to create reloadable object files. 20205reload_flag=$lt_reload_flag 20206reload_cmds=$lt_reload_cmds 20207 20208# Commands used to build an old-style archive. 20209old_archive_cmds=$lt_old_archive_cmds 20210 20211# A language specific compiler. 20212CC=$lt_compiler 20213 20214# Is the compiler the GNU compiler? 20215with_gcc=$GCC 20216 20217# Compiler flag to turn off builtin functions. 20218no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 20219 20220# Additional compiler flags for building library objects. 20221pic_flag=$lt_lt_prog_compiler_pic 20222 20223# How to pass a linker flag through the compiler. 20224wl=$lt_lt_prog_compiler_wl 20225 20226# Compiler flag to prevent dynamic linking. 20227link_static_flag=$lt_lt_prog_compiler_static 20228 20229# Does compiler simultaneously support -c and -o options? 20230compiler_c_o=$lt_lt_cv_prog_compiler_c_o 20231 20232# Whether or not to add -lc for building shared libraries. 20233build_libtool_need_lc=$archive_cmds_need_lc 20234 20235# Whether or not to disallow shared libs when runtime libs are static. 20236allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 20237 20238# Compiler flag to allow reflexive dlopens. 20239export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 20240 20241# Compiler flag to generate shared objects directly from archives. 20242whole_archive_flag_spec=$lt_whole_archive_flag_spec 20243 20244# Whether the compiler copes with passing no objects directly. 20245compiler_needs_object=$lt_compiler_needs_object 20246 20247# Create an old-style archive from a shared archive. 20248old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 20249 20250# Create a temporary old-style archive to link instead of a shared archive. 20251old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 20252 20253# Commands used to build a shared archive. 20254archive_cmds=$lt_archive_cmds 20255archive_expsym_cmds=$lt_archive_expsym_cmds 20256 20257# Commands used to build a loadable module if different from building 20258# a shared archive. 20259module_cmds=$lt_module_cmds 20260module_expsym_cmds=$lt_module_expsym_cmds 20261 20262# Whether we are building with GNU ld or not. 20263with_gnu_ld=$lt_with_gnu_ld 20264 20265# Flag that allows shared libraries with undefined symbols to be built. 20266allow_undefined_flag=$lt_allow_undefined_flag 20267 20268# Flag that enforces no undefined symbols. 20269no_undefined_flag=$lt_no_undefined_flag 20270 20271# Flag to hardcode \$libdir into a binary during linking. 20272# This must work even if \$libdir does not exist 20273hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 20274 20275# Whether we need a single "-rpath" flag with a separated argument. 20276hardcode_libdir_separator=$lt_hardcode_libdir_separator 20277 20278# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20279# DIR into the resulting binary. 20280hardcode_direct=$hardcode_direct 20281 20282# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20283# DIR into the resulting binary and the resulting library dependency is 20284# "absolute",i.e impossible to change by setting \$shlibpath_var if the 20285# library is relocated. 20286hardcode_direct_absolute=$hardcode_direct_absolute 20287 20288# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 20289# into the resulting binary. 20290hardcode_minus_L=$hardcode_minus_L 20291 20292# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 20293# into the resulting binary. 20294hardcode_shlibpath_var=$hardcode_shlibpath_var 20295 20296# Set to "yes" if building a shared library automatically hardcodes DIR 20297# into the library and all subsequent libraries and executables linked 20298# against it. 20299hardcode_automatic=$hardcode_automatic 20300 20301# Set to yes if linker adds runtime paths of dependent libraries 20302# to runtime path list. 20303inherit_rpath=$inherit_rpath 20304 20305# Whether libtool must link a program against all its dependency libraries. 20306link_all_deplibs=$link_all_deplibs 20307 20308# Set to "yes" if exported symbols are required. 20309always_export_symbols=$always_export_symbols 20310 20311# The commands to list exported symbols. 20312export_symbols_cmds=$lt_export_symbols_cmds 20313 20314# Symbols that should not be listed in the preloaded symbols. 20315exclude_expsyms=$lt_exclude_expsyms 20316 20317# Symbols that must always be exported. 20318include_expsyms=$lt_include_expsyms 20319 20320# Commands necessary for linking programs (against libraries) with templates. 20321prelink_cmds=$lt_prelink_cmds 20322 20323# Commands necessary for finishing linking programs. 20324postlink_cmds=$lt_postlink_cmds 20325 20326# Specify filename containing input files. 20327file_list_spec=$lt_file_list_spec 20328 20329# How to hardcode a shared library path into an executable. 20330hardcode_action=$hardcode_action 20331 20332# The directories searched by this compiler when creating a shared library. 20333compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 20334 20335# Dependencies to place before and after the objects being linked to 20336# create a shared library. 20337predep_objects=$lt_predep_objects 20338postdep_objects=$lt_postdep_objects 20339predeps=$lt_predeps 20340postdeps=$lt_postdeps 20341 20342# The library search path used internally by the compiler when linking 20343# a shared library. 20344compiler_lib_search_path=$lt_compiler_lib_search_path 20345 20346# ### END LIBTOOL CONFIG 20347 20348_LT_EOF 20349 20350 cat <<'_LT_EOF' >> "$cfgfile" 20351 20352# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 20353 20354# func_munge_path_list VARIABLE PATH 20355# ----------------------------------- 20356# VARIABLE is name of variable containing _space_ separated list of 20357# directories to be munged by the contents of PATH, which is string 20358# having a format: 20359# "DIR[:DIR]:" 20360# string "DIR[ DIR]" will be prepended to VARIABLE 20361# ":DIR[:DIR]" 20362# string "DIR[ DIR]" will be appended to VARIABLE 20363# "DIRP[:DIRP]::[DIRA:]DIRA" 20364# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 20365# "DIRA[ DIRA]" will be appended to VARIABLE 20366# "DIR[:DIR]" 20367# VARIABLE will be replaced by "DIR[ DIR]" 20368func_munge_path_list () 20369{ 20370 case x$2 in 20371 x) 20372 ;; 20373 *:) 20374 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 20375 ;; 20376 x:*) 20377 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 20378 ;; 20379 *::*) 20380 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 20381 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 20382 ;; 20383 *) 20384 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 20385 ;; 20386 esac 20387} 20388 20389 20390# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 20391func_cc_basename () 20392{ 20393 for cc_temp in $*""; do 20394 case $cc_temp in 20395 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 20396 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 20397 \-*) ;; 20398 *) break;; 20399 esac 20400 done 20401 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 20402} 20403 20404 20405# ### END FUNCTIONS SHARED WITH CONFIGURE 20406 20407_LT_EOF 20408 20409 case $host_os in 20410 aix3*) 20411 cat <<\_LT_EOF >> "$cfgfile" 20412# AIX sometimes has problems with the GCC collect2 program. For some 20413# reason, if we set the COLLECT_NAMES environment variable, the problems 20414# vanish in a puff of smoke. 20415if test set != "${COLLECT_NAMES+set}"; then 20416 COLLECT_NAMES= 20417 export COLLECT_NAMES 20418fi 20419_LT_EOF 20420 ;; 20421 esac 20422 20423 20424ltmain=$ac_aux_dir/ltmain.sh 20425 20426 20427 # We use sed instead of cat because bash on DJGPP gets confused if 20428 # if finds mixed CR/LF and LF-only lines. Since sed operates in 20429 # text mode, it properly converts lines to CR/LF. This bash problem 20430 # is reportedly fixed, but why not run on old versions too? 20431 sed '$q' "$ltmain" >> "$cfgfile" \ 20432 || (rm -f "$cfgfile"; exit 1) 20433 20434 mv -f "$cfgfile" "$ofile" || 20435 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 20436 chmod +x "$ofile" 20437 20438 20439 cat <<_LT_EOF >> "$ofile" 20440 20441# ### BEGIN LIBTOOL TAG CONFIG: CXX 20442 20443# The linker used to build libraries. 20444LD=$lt_LD_CXX 20445 20446# How to create reloadable object files. 20447reload_flag=$lt_reload_flag_CXX 20448reload_cmds=$lt_reload_cmds_CXX 20449 20450# Commands used to build an old-style archive. 20451old_archive_cmds=$lt_old_archive_cmds_CXX 20452 20453# A language specific compiler. 20454CC=$lt_compiler_CXX 20455 20456# Is the compiler the GNU compiler? 20457with_gcc=$GCC_CXX 20458 20459# Compiler flag to turn off builtin functions. 20460no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 20461 20462# Additional compiler flags for building library objects. 20463pic_flag=$lt_lt_prog_compiler_pic_CXX 20464 20465# How to pass a linker flag through the compiler. 20466wl=$lt_lt_prog_compiler_wl_CXX 20467 20468# Compiler flag to prevent dynamic linking. 20469link_static_flag=$lt_lt_prog_compiler_static_CXX 20470 20471# Does compiler simultaneously support -c and -o options? 20472compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 20473 20474# Whether or not to add -lc for building shared libraries. 20475build_libtool_need_lc=$archive_cmds_need_lc_CXX 20476 20477# Whether or not to disallow shared libs when runtime libs are static. 20478allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 20479 20480# Compiler flag to allow reflexive dlopens. 20481export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 20482 20483# Compiler flag to generate shared objects directly from archives. 20484whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 20485 20486# Whether the compiler copes with passing no objects directly. 20487compiler_needs_object=$lt_compiler_needs_object_CXX 20488 20489# Create an old-style archive from a shared archive. 20490old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 20491 20492# Create a temporary old-style archive to link instead of a shared archive. 20493old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 20494 20495# Commands used to build a shared archive. 20496archive_cmds=$lt_archive_cmds_CXX 20497archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 20498 20499# Commands used to build a loadable module if different from building 20500# a shared archive. 20501module_cmds=$lt_module_cmds_CXX 20502module_expsym_cmds=$lt_module_expsym_cmds_CXX 20503 20504# Whether we are building with GNU ld or not. 20505with_gnu_ld=$lt_with_gnu_ld_CXX 20506 20507# Flag that allows shared libraries with undefined symbols to be built. 20508allow_undefined_flag=$lt_allow_undefined_flag_CXX 20509 20510# Flag that enforces no undefined symbols. 20511no_undefined_flag=$lt_no_undefined_flag_CXX 20512 20513# Flag to hardcode \$libdir into a binary during linking. 20514# This must work even if \$libdir does not exist 20515hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 20516 20517# Whether we need a single "-rpath" flag with a separated argument. 20518hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 20519 20520# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20521# DIR into the resulting binary. 20522hardcode_direct=$hardcode_direct_CXX 20523 20524# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20525# DIR into the resulting binary and the resulting library dependency is 20526# "absolute",i.e impossible to change by setting \$shlibpath_var if the 20527# library is relocated. 20528hardcode_direct_absolute=$hardcode_direct_absolute_CXX 20529 20530# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 20531# into the resulting binary. 20532hardcode_minus_L=$hardcode_minus_L_CXX 20533 20534# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 20535# into the resulting binary. 20536hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 20537 20538# Set to "yes" if building a shared library automatically hardcodes DIR 20539# into the library and all subsequent libraries and executables linked 20540# against it. 20541hardcode_automatic=$hardcode_automatic_CXX 20542 20543# Set to yes if linker adds runtime paths of dependent libraries 20544# to runtime path list. 20545inherit_rpath=$inherit_rpath_CXX 20546 20547# Whether libtool must link a program against all its dependency libraries. 20548link_all_deplibs=$link_all_deplibs_CXX 20549 20550# Set to "yes" if exported symbols are required. 20551always_export_symbols=$always_export_symbols_CXX 20552 20553# The commands to list exported symbols. 20554export_symbols_cmds=$lt_export_symbols_cmds_CXX 20555 20556# Symbols that should not be listed in the preloaded symbols. 20557exclude_expsyms=$lt_exclude_expsyms_CXX 20558 20559# Symbols that must always be exported. 20560include_expsyms=$lt_include_expsyms_CXX 20561 20562# Commands necessary for linking programs (against libraries) with templates. 20563prelink_cmds=$lt_prelink_cmds_CXX 20564 20565# Commands necessary for finishing linking programs. 20566postlink_cmds=$lt_postlink_cmds_CXX 20567 20568# Specify filename containing input files. 20569file_list_spec=$lt_file_list_spec_CXX 20570 20571# How to hardcode a shared library path into an executable. 20572hardcode_action=$hardcode_action_CXX 20573 20574# The directories searched by this compiler when creating a shared library. 20575compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 20576 20577# Dependencies to place before and after the objects being linked to 20578# create a shared library. 20579predep_objects=$lt_predep_objects_CXX 20580postdep_objects=$lt_postdep_objects_CXX 20581predeps=$lt_predeps_CXX 20582postdeps=$lt_postdeps_CXX 20583 20584# The library search path used internally by the compiler when linking 20585# a shared library. 20586compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 20587 20588# ### END LIBTOOL TAG CONFIG: CXX 20589_LT_EOF 20590 20591 ;; 20592 20593 esac 20594done # for ac_tag 20595 20596 20597as_fn_exit 0 20598_ACEOF 20599ac_clean_files=$ac_clean_files_save 20600 20601test $ac_write_fail = 0 || 20602 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 20603 20604 20605# configure is writing to config.log, and then calls config.status. 20606# config.status does its own redirection, appending to config.log. 20607# Unfortunately, on DOS this fails, as config.log is still kept open 20608# by configure, so config.status won't be able to write to it; its 20609# output is simply discarded. So we exec the FD to /dev/null, 20610# effectively closing config.log, so it can be properly (re)opened and 20611# appended to by config.status. When coming back to configure, we 20612# need to make the FD available again. 20613if test "$no_create" != yes; then 20614 ac_cs_success=: 20615 ac_config_status_args= 20616 test "$silent" = yes && 20617 ac_config_status_args="$ac_config_status_args --quiet" 20618 exec 5>/dev/null 20619 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 20620 exec 5>>config.log 20621 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 20622 # would make configure fail if this is the last instruction. 20623 $ac_cs_success || as_fn_exit 1 20624fi 20625if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 20626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 20627$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 20628fi 20629 20630 20631cat <<EOF 20632 20633${PACKAGE}-${VERSION} 20634 20635 Build Environment 20636 Install Prefix: ${prefix} 20637 20638 Libraries 20639 GStreamer Version: $(pkg-config --modversion gstreamer-1.0) 20640 20641 Extra features 20642 Use deprecated API: ${mm_enable_deprecated_api} 20643 GUI Examples: ${gstmm_enable_gui_examples} 20644 Unit Tests: ${enable_unittests} 20645 20646EOF 20647