1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for gtkmm 2.24.5. 4# 5# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtkmm>. 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=gtkmm 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='gtkmm' 593PACKAGE_TARNAME='gtkmm' 594PACKAGE_VERSION='2.24.5' 595PACKAGE_STRING='gtkmm 2.24.5' 596PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gtkmm' 597PACKAGE_URL='http://www.gtkmm.org/' 598 599ac_unique_file="gtk/gtkmm.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 640GTKMM_WXXFLAGS 641DOCINSTALL_FLAGS 642DOXYGEN_TAGFILES 643ENABLE_DOCUMENTATION_FALSE 644ENABLE_DOCUMENTATION_TRUE 645XSLTPROC 646DOXYGEN 647DOT 648PERL 649DISABLE_DEPRECATED_API_FALSE 650DISABLE_DEPRECATED_API_TRUE 651GMMPROC_EXTRA_M4_DIR 652GMMPROC_DIR 653GTHREAD_LIBS 654GTHREAD_CFLAGS 655GTKMM_LIBS 656GTKMM_CFLAGS 657GDKMM_LIBS 658GDKMM_CFLAGS 659PKG_CONFIG_LIBDIR 660PKG_CONFIG_PATH 661PKG_CONFIG 662GTKMM_MODULES 663GDKMM_MODULES 664HOST_WINDOWS_NATIVE_FALSE 665HOST_WINDOWS_NATIVE_TRUE 666CXXCPP 667CPP 668LT_SYS_LIBRARY_PATH 669OTOOL64 670OTOOL 671LIPO 672NMEDIT 673DSYMUTIL 674MANIFEST_TOOL 675RANLIB 676ac_ct_AR 677AR 678LN_S 679NM 680ac_ct_DUMPBIN 681DUMPBIN 682LD 683FGREP 684EGREP 685GREP 686SED 687am__fastdepCC_FALSE 688am__fastdepCC_TRUE 689CCDEPMODE 690ac_ct_CC 691CFLAGS 692CC 693LIBTOOL 694OBJDUMP 695DLLTOOL 696AS 697host_os 698host_vendor 699host_cpu 700host 701build_os 702build_vendor 703build_cpu 704build 705HAVE_CXX11 706am__fastdepCXX_FALSE 707am__fastdepCXX_TRUE 708CXXDEPMODE 709am__nodep 710AMDEPBACKSLASH 711AMDEP_FALSE 712AMDEP_TRUE 713am__quote 714am__include 715DEPDIR 716OBJEXT 717EXEEXT 718ac_ct_CXX 719CPPFLAGS 720LDFLAGS 721CXXFLAGS 722CXX 723LIBGTKMM_SO_VERSION 724MMDOCTOOLDIR 725DIST_DOCTOOLS_FALSE 726DIST_DOCTOOLS_TRUE 727GTKMM_MICRO_VERSION 728GTKMM_MINOR_VERSION 729GTKMM_MAJOR_VERSION 730GTKMM_API_VERSION 731GTKMM_VERSION 732GTKMM_MODULE_NAME 733GDKMM_MICRO_VERSION 734GDKMM_MINOR_VERSION 735GDKMM_MAJOR_VERSION 736GDKMM_API_VERSION 737GDKMM_VERSION 738GDKMM_MODULE_NAME 739ACLOCAL_FLAGS 740MAINT 741MAINTAINER_MODE_FALSE 742MAINTAINER_MODE_TRUE 743AM_BACKSLASH 744AM_DEFAULT_VERBOSITY 745AM_DEFAULT_V 746AM_V 747am__untar 748am__tar 749AMTAR 750am__leading_dot 751SET_MAKE 752AWK 753mkdir_p 754MKDIR_P 755INSTALL_STRIP_PROGRAM 756STRIP 757install_sh 758MAKEINFO 759AUTOHEADER 760AUTOMAKE 761AUTOCONF 762ACLOCAL 763VERSION 764PACKAGE 765CYGPATH_W 766am__isrc 767INSTALL_DATA 768INSTALL_SCRIPT 769INSTALL_PROGRAM 770target_alias 771host_alias 772build_alias 773LIBS 774ECHO_T 775ECHO_N 776ECHO_C 777DEFS 778mandir 779localedir 780libdir 781psdir 782pdfdir 783dvidir 784htmldir 785infodir 786docdir 787oldincludedir 788includedir 789runstatedir 790localstatedir 791sharedstatedir 792sysconfdir 793datadir 794datarootdir 795libexecdir 796sbindir 797bindir 798program_transform_name 799prefix 800exec_prefix 801PACKAGE_URL 802PACKAGE_BUGREPORT 803PACKAGE_STRING 804PACKAGE_VERSION 805PACKAGE_TARNAME 806PACKAGE_NAME 807PATH_SEPARATOR 808SHELL' 809ac_subst_files='' 810ac_user_opts=' 811enable_option_checking 812enable_silent_rules 813enable_maintainer_mode 814enable_dependency_tracking 815enable_static 816enable_shared 817with_pic 818enable_fast_install 819with_aix_soname 820with_gnu_ld 821with_sysroot 822enable_libtool_lock 823enable_api_atkmm 824enable_api_maemo_extensions 825enable_deprecated_api 826enable_documentation 827with_libstdc_doc 828with_libsigc_doc 829with_glibmm_doc 830with_cairomm_doc 831with_pangomm_doc 832with_atkmm_doc 833enable_warnings 834' 835 ac_precious_vars='build_alias 836host_alias 837target_alias 838ACLOCAL_FLAGS 839CXX 840CXXFLAGS 841LDFLAGS 842LIBS 843CPPFLAGS 844CCC 845CC 846CFLAGS 847LT_SYS_LIBRARY_PATH 848CPP 849CXXCPP 850PKG_CONFIG 851PKG_CONFIG_PATH 852PKG_CONFIG_LIBDIR 853GDKMM_CFLAGS 854GDKMM_LIBS 855GTKMM_CFLAGS 856GTKMM_LIBS 857PERL 858DOT 859DOXYGEN 860XSLTPROC' 861 862 863# Initialize some variables set by options. 864ac_init_help= 865ac_init_version=false 866ac_unrecognized_opts= 867ac_unrecognized_sep= 868# The variables have the same names as the options, with 869# dashes changed to underlines. 870cache_file=/dev/null 871exec_prefix=NONE 872no_create= 873no_recursion= 874prefix=NONE 875program_prefix=NONE 876program_suffix=NONE 877program_transform_name=s,x,x, 878silent= 879site= 880srcdir= 881verbose= 882x_includes=NONE 883x_libraries=NONE 884 885# Installation directory options. 886# These are left unexpanded so users can "make install exec_prefix=/foo" 887# and all the variables that are supposed to be based on exec_prefix 888# by default will actually change. 889# Use braces instead of parens because sh, perl, etc. also accept them. 890# (The list follows the same order as the GNU Coding Standards.) 891bindir='${exec_prefix}/bin' 892sbindir='${exec_prefix}/sbin' 893libexecdir='${exec_prefix}/libexec' 894datarootdir='${prefix}/share' 895datadir='${datarootdir}' 896sysconfdir='${prefix}/etc' 897sharedstatedir='${prefix}/com' 898localstatedir='${prefix}/var' 899runstatedir='${localstatedir}/run' 900includedir='${prefix}/include' 901oldincludedir='/usr/include' 902docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 903infodir='${datarootdir}/info' 904htmldir='${docdir}' 905dvidir='${docdir}' 906pdfdir='${docdir}' 907psdir='${docdir}' 908libdir='${exec_prefix}/lib' 909localedir='${datarootdir}/locale' 910mandir='${datarootdir}/man' 911 912ac_prev= 913ac_dashdash= 914for ac_option 915do 916 # If the previous option needs an argument, assign it. 917 if test -n "$ac_prev"; then 918 eval $ac_prev=\$ac_option 919 ac_prev= 920 continue 921 fi 922 923 case $ac_option in 924 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 925 *=) ac_optarg= ;; 926 *) ac_optarg=yes ;; 927 esac 928 929 # Accept the important Cygnus configure options, so we can diagnose typos. 930 931 case $ac_dashdash$ac_option in 932 --) 933 ac_dashdash=yes ;; 934 935 -bindir | --bindir | --bindi | --bind | --bin | --bi) 936 ac_prev=bindir ;; 937 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 938 bindir=$ac_optarg ;; 939 940 -build | --build | --buil | --bui | --bu) 941 ac_prev=build_alias ;; 942 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 943 build_alias=$ac_optarg ;; 944 945 -cache-file | --cache-file | --cache-fil | --cache-fi \ 946 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 947 ac_prev=cache_file ;; 948 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 949 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 950 cache_file=$ac_optarg ;; 951 952 --config-cache | -C) 953 cache_file=config.cache ;; 954 955 -datadir | --datadir | --datadi | --datad) 956 ac_prev=datadir ;; 957 -datadir=* | --datadir=* | --datadi=* | --datad=*) 958 datadir=$ac_optarg ;; 959 960 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 961 | --dataroo | --dataro | --datar) 962 ac_prev=datarootdir ;; 963 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 964 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 965 datarootdir=$ac_optarg ;; 966 967 -disable-* | --disable-*) 968 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 969 # Reject names that are not valid shell variable names. 970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 971 as_fn_error $? "invalid feature name: $ac_useropt" 972 ac_useropt_orig=$ac_useropt 973 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 974 case $ac_user_opts in 975 *" 976"enable_$ac_useropt" 977"*) ;; 978 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 979 ac_unrecognized_sep=', ';; 980 esac 981 eval enable_$ac_useropt=no ;; 982 983 -docdir | --docdir | --docdi | --doc | --do) 984 ac_prev=docdir ;; 985 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 986 docdir=$ac_optarg ;; 987 988 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 989 ac_prev=dvidir ;; 990 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 991 dvidir=$ac_optarg ;; 992 993 -enable-* | --enable-*) 994 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 995 # Reject names that are not valid shell variable names. 996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 997 as_fn_error $? "invalid feature name: $ac_useropt" 998 ac_useropt_orig=$ac_useropt 999 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1000 case $ac_user_opts in 1001 *" 1002"enable_$ac_useropt" 1003"*) ;; 1004 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1005 ac_unrecognized_sep=', ';; 1006 esac 1007 eval enable_$ac_useropt=\$ac_optarg ;; 1008 1009 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1010 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1011 | --exec | --exe | --ex) 1012 ac_prev=exec_prefix ;; 1013 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1014 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1015 | --exec=* | --exe=* | --ex=*) 1016 exec_prefix=$ac_optarg ;; 1017 1018 -gas | --gas | --ga | --g) 1019 # Obsolete; use --with-gas. 1020 with_gas=yes ;; 1021 1022 -help | --help | --hel | --he | -h) 1023 ac_init_help=long ;; 1024 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1025 ac_init_help=recursive ;; 1026 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1027 ac_init_help=short ;; 1028 1029 -host | --host | --hos | --ho) 1030 ac_prev=host_alias ;; 1031 -host=* | --host=* | --hos=* | --ho=*) 1032 host_alias=$ac_optarg ;; 1033 1034 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1035 ac_prev=htmldir ;; 1036 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1037 | --ht=*) 1038 htmldir=$ac_optarg ;; 1039 1040 -includedir | --includedir | --includedi | --included | --include \ 1041 | --includ | --inclu | --incl | --inc) 1042 ac_prev=includedir ;; 1043 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1044 | --includ=* | --inclu=* | --incl=* | --inc=*) 1045 includedir=$ac_optarg ;; 1046 1047 -infodir | --infodir | --infodi | --infod | --info | --inf) 1048 ac_prev=infodir ;; 1049 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1050 infodir=$ac_optarg ;; 1051 1052 -libdir | --libdir | --libdi | --libd) 1053 ac_prev=libdir ;; 1054 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1055 libdir=$ac_optarg ;; 1056 1057 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1058 | --libexe | --libex | --libe) 1059 ac_prev=libexecdir ;; 1060 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1061 | --libexe=* | --libex=* | --libe=*) 1062 libexecdir=$ac_optarg ;; 1063 1064 -localedir | --localedir | --localedi | --localed | --locale) 1065 ac_prev=localedir ;; 1066 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1067 localedir=$ac_optarg ;; 1068 1069 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1070 | --localstate | --localstat | --localsta | --localst | --locals) 1071 ac_prev=localstatedir ;; 1072 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1073 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1074 localstatedir=$ac_optarg ;; 1075 1076 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1077 ac_prev=mandir ;; 1078 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1079 mandir=$ac_optarg ;; 1080 1081 -nfp | --nfp | --nf) 1082 # Obsolete; use --without-fp. 1083 with_fp=no ;; 1084 1085 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1086 | --no-cr | --no-c | -n) 1087 no_create=yes ;; 1088 1089 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1090 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1091 no_recursion=yes ;; 1092 1093 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1094 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1095 | --oldin | --oldi | --old | --ol | --o) 1096 ac_prev=oldincludedir ;; 1097 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1098 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1099 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1100 oldincludedir=$ac_optarg ;; 1101 1102 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1103 ac_prev=prefix ;; 1104 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1105 prefix=$ac_optarg ;; 1106 1107 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1108 | --program-pre | --program-pr | --program-p) 1109 ac_prev=program_prefix ;; 1110 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1111 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1112 program_prefix=$ac_optarg ;; 1113 1114 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1115 | --program-suf | --program-su | --program-s) 1116 ac_prev=program_suffix ;; 1117 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1118 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1119 program_suffix=$ac_optarg ;; 1120 1121 -program-transform-name | --program-transform-name \ 1122 | --program-transform-nam | --program-transform-na \ 1123 | --program-transform-n | --program-transform- \ 1124 | --program-transform | --program-transfor \ 1125 | --program-transfo | --program-transf \ 1126 | --program-trans | --program-tran \ 1127 | --progr-tra | --program-tr | --program-t) 1128 ac_prev=program_transform_name ;; 1129 -program-transform-name=* | --program-transform-name=* \ 1130 | --program-transform-nam=* | --program-transform-na=* \ 1131 | --program-transform-n=* | --program-transform-=* \ 1132 | --program-transform=* | --program-transfor=* \ 1133 | --program-transfo=* | --program-transf=* \ 1134 | --program-trans=* | --program-tran=* \ 1135 | --progr-tra=* | --program-tr=* | --program-t=*) 1136 program_transform_name=$ac_optarg ;; 1137 1138 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1139 ac_prev=pdfdir ;; 1140 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1141 pdfdir=$ac_optarg ;; 1142 1143 -psdir | --psdir | --psdi | --psd | --ps) 1144 ac_prev=psdir ;; 1145 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1146 psdir=$ac_optarg ;; 1147 1148 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1149 | -silent | --silent | --silen | --sile | --sil) 1150 silent=yes ;; 1151 1152 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1153 | --runstate | --runstat | --runsta | --runst | --runs \ 1154 | --run | --ru | --r) 1155 ac_prev=runstatedir ;; 1156 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1157 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1158 | --run=* | --ru=* | --r=*) 1159 runstatedir=$ac_optarg ;; 1160 1161 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1162 ac_prev=sbindir ;; 1163 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1164 | --sbi=* | --sb=*) 1165 sbindir=$ac_optarg ;; 1166 1167 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1168 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1169 | --sharedst | --shareds | --shared | --share | --shar \ 1170 | --sha | --sh) 1171 ac_prev=sharedstatedir ;; 1172 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1173 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1174 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1175 | --sha=* | --sh=*) 1176 sharedstatedir=$ac_optarg ;; 1177 1178 -site | --site | --sit) 1179 ac_prev=site ;; 1180 -site=* | --site=* | --sit=*) 1181 site=$ac_optarg ;; 1182 1183 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1184 ac_prev=srcdir ;; 1185 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1186 srcdir=$ac_optarg ;; 1187 1188 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1189 | --syscon | --sysco | --sysc | --sys | --sy) 1190 ac_prev=sysconfdir ;; 1191 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1192 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1193 sysconfdir=$ac_optarg ;; 1194 1195 -target | --target | --targe | --targ | --tar | --ta | --t) 1196 ac_prev=target_alias ;; 1197 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1198 target_alias=$ac_optarg ;; 1199 1200 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1201 verbose=yes ;; 1202 1203 -version | --version | --versio | --versi | --vers | -V) 1204 ac_init_version=: ;; 1205 1206 -with-* | --with-*) 1207 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1208 # Reject names that are not valid shell variable names. 1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1210 as_fn_error $? "invalid package name: $ac_useropt" 1211 ac_useropt_orig=$ac_useropt 1212 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1213 case $ac_user_opts in 1214 *" 1215"with_$ac_useropt" 1216"*) ;; 1217 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1218 ac_unrecognized_sep=', ';; 1219 esac 1220 eval with_$ac_useropt=\$ac_optarg ;; 1221 1222 -without-* | --without-*) 1223 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1224 # Reject names that are not valid shell variable names. 1225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1226 as_fn_error $? "invalid package name: $ac_useropt" 1227 ac_useropt_orig=$ac_useropt 1228 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1229 case $ac_user_opts in 1230 *" 1231"with_$ac_useropt" 1232"*) ;; 1233 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1234 ac_unrecognized_sep=', ';; 1235 esac 1236 eval with_$ac_useropt=no ;; 1237 1238 --x) 1239 # Obsolete; use --with-x. 1240 with_x=yes ;; 1241 1242 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1243 | --x-incl | --x-inc | --x-in | --x-i) 1244 ac_prev=x_includes ;; 1245 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1246 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1247 x_includes=$ac_optarg ;; 1248 1249 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1250 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1251 ac_prev=x_libraries ;; 1252 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1253 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1254 x_libraries=$ac_optarg ;; 1255 1256 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1257Try \`$0 --help' for more information" 1258 ;; 1259 1260 *=*) 1261 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1262 # Reject names that are not valid shell variable names. 1263 case $ac_envvar in #( 1264 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1265 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1266 esac 1267 eval $ac_envvar=\$ac_optarg 1268 export $ac_envvar ;; 1269 1270 *) 1271 # FIXME: should be removed in autoconf 3.0. 1272 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1273 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1274 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1275 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1276 ;; 1277 1278 esac 1279done 1280 1281if test -n "$ac_prev"; then 1282 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1283 as_fn_error $? "missing argument to $ac_option" 1284fi 1285 1286if test -n "$ac_unrecognized_opts"; then 1287 case $enable_option_checking in 1288 no) ;; 1289 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1290 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1291 esac 1292fi 1293 1294# Check all directory arguments for consistency. 1295for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1296 datadir sysconfdir sharedstatedir localstatedir includedir \ 1297 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1298 libdir localedir mandir runstatedir 1299do 1300 eval ac_val=\$$ac_var 1301 # Remove trailing slashes. 1302 case $ac_val in 1303 */ ) 1304 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1305 eval $ac_var=\$ac_val;; 1306 esac 1307 # Be sure to have absolute directory names. 1308 case $ac_val in 1309 [\\/$]* | ?:[\\/]* ) continue;; 1310 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1311 esac 1312 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1313done 1314 1315# There might be people who depend on the old broken behavior: `$host' 1316# used to hold the argument of --host etc. 1317# FIXME: To remove some day. 1318build=$build_alias 1319host=$host_alias 1320target=$target_alias 1321 1322# FIXME: To remove some day. 1323if test "x$host_alias" != x; then 1324 if test "x$build_alias" = x; then 1325 cross_compiling=maybe 1326 elif test "x$build_alias" != "x$host_alias"; then 1327 cross_compiling=yes 1328 fi 1329fi 1330 1331ac_tool_prefix= 1332test -n "$host_alias" && ac_tool_prefix=$host_alias- 1333 1334test "$silent" = yes && exec 6>/dev/null 1335 1336 1337ac_pwd=`pwd` && test -n "$ac_pwd" && 1338ac_ls_di=`ls -di .` && 1339ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1340 as_fn_error $? "working directory cannot be determined" 1341test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1342 as_fn_error $? "pwd does not report name of working directory" 1343 1344 1345# Find the source files, if location was not specified. 1346if test -z "$srcdir"; then 1347 ac_srcdir_defaulted=yes 1348 # Try the directory containing this script, then the parent directory. 1349 ac_confdir=`$as_dirname -- "$as_myself" || 1350$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1351 X"$as_myself" : 'X\(//\)[^/]' \| \ 1352 X"$as_myself" : 'X\(//\)$' \| \ 1353 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1354$as_echo X"$as_myself" | 1355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1356 s//\1/ 1357 q 1358 } 1359 /^X\(\/\/\)[^/].*/{ 1360 s//\1/ 1361 q 1362 } 1363 /^X\(\/\/\)$/{ 1364 s//\1/ 1365 q 1366 } 1367 /^X\(\/\).*/{ 1368 s//\1/ 1369 q 1370 } 1371 s/.*/./; q'` 1372 srcdir=$ac_confdir 1373 if test ! -r "$srcdir/$ac_unique_file"; then 1374 srcdir=.. 1375 fi 1376else 1377 ac_srcdir_defaulted=no 1378fi 1379if test ! -r "$srcdir/$ac_unique_file"; then 1380 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1381 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1382fi 1383ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1384ac_abs_confdir=`( 1385 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1386 pwd)` 1387# When building in place, set srcdir=. 1388if test "$ac_abs_confdir" = "$ac_pwd"; then 1389 srcdir=. 1390fi 1391# Remove unnecessary trailing slashes from srcdir. 1392# Double slashes in file names in object file debugging info 1393# mess up M-x gdb in Emacs. 1394case $srcdir in 1395*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1396esac 1397for ac_var in $ac_precious_vars; do 1398 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1399 eval ac_env_${ac_var}_value=\$${ac_var} 1400 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1401 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1402done 1403 1404# 1405# Report the --help message. 1406# 1407if test "$ac_init_help" = "long"; then 1408 # Omit some internal or obsolete options to make the list less imposing. 1409 # This message is too long to be a string in the A/UX 3.1 sh. 1410 cat <<_ACEOF 1411\`configure' configures gtkmm 2.24.5 to adapt to many kinds of systems. 1412 1413Usage: $0 [OPTION]... [VAR=VALUE]... 1414 1415To assign environment variables (e.g., CC, CFLAGS...), specify them as 1416VAR=VALUE. See below for descriptions of some of the useful variables. 1417 1418Defaults for the options are specified in brackets. 1419 1420Configuration: 1421 -h, --help display this help and exit 1422 --help=short display options specific to this package 1423 --help=recursive display the short help of all the included packages 1424 -V, --version display version information and exit 1425 -q, --quiet, --silent do not print \`checking ...' messages 1426 --cache-file=FILE cache test results in FILE [disabled] 1427 -C, --config-cache alias for \`--cache-file=config.cache' 1428 -n, --no-create do not create output files 1429 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1430 1431Installation directories: 1432 --prefix=PREFIX install architecture-independent files in PREFIX 1433 [$ac_default_prefix] 1434 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1435 [PREFIX] 1436 1437By default, \`make install' will install all the files in 1438\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1439an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1440for instance \`--prefix=\$HOME'. 1441 1442For better control, use the options below. 1443 1444Fine tuning of the installation directories: 1445 --bindir=DIR user executables [EPREFIX/bin] 1446 --sbindir=DIR system admin executables [EPREFIX/sbin] 1447 --libexecdir=DIR program executables [EPREFIX/libexec] 1448 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1449 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1450 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1451 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1452 --libdir=DIR object code libraries [EPREFIX/lib] 1453 --includedir=DIR C header files [PREFIX/include] 1454 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1455 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1456 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1457 --infodir=DIR info documentation [DATAROOTDIR/info] 1458 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1459 --mandir=DIR man documentation [DATAROOTDIR/man] 1460 --docdir=DIR documentation root [DATAROOTDIR/doc/gtkmm] 1461 --htmldir=DIR html documentation [DOCDIR] 1462 --dvidir=DIR dvi documentation [DOCDIR] 1463 --pdfdir=DIR pdf documentation [DOCDIR] 1464 --psdir=DIR ps documentation [DOCDIR] 1465_ACEOF 1466 1467 cat <<\_ACEOF 1468 1469Program names: 1470 --program-prefix=PREFIX prepend PREFIX to installed program names 1471 --program-suffix=SUFFIX append SUFFIX to installed program names 1472 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1473 1474System types: 1475 --build=BUILD configure for building on BUILD [guessed] 1476 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1477_ACEOF 1478fi 1479 1480if test -n "$ac_init_help"; then 1481 case $ac_init_help in 1482 short | recursive ) echo "Configuration of gtkmm 2.24.5:";; 1483 esac 1484 cat <<\_ACEOF 1485 1486Optional Features: 1487 --disable-option-checking ignore unrecognized --enable/--with options 1488 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1489 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1490 --enable-silent-rules less verbose build output (undo: "make V=1") 1491 --disable-silent-rules verbose build output (undo: "make V=0") 1492 --enable-maintainer-mode 1493 enable make rules and dependencies not useful (and 1494 sometimes confusing) to the casual installer 1495 --enable-dependency-tracking 1496 do not reject slow dependency extractors 1497 --disable-dependency-tracking 1498 speeds up one-time build 1499 --enable-static[=PKGS] build static libraries [default=no] 1500 --enable-shared[=PKGS] build shared libraries [default=yes] 1501 --enable-fast-install[=PKGS] 1502 optimize for fast installation [default=yes] 1503 --disable-libtool-lock avoid locking (might break parallel builds) 1504 --enable-api-atkmm Build atkmm API. 1505 [default=yes] 1506 --enable-api-maemo-extensions Build Maemo Extensions API. 1507 [default=no] 1508 --disable-deprecated-api 1509 omit deprecated API from the library 1510 --disable-documentation do not build or install the documentation 1511 --enable-warnings[=min|max|fatal|no] 1512 set compiler pedantry level [default=min] 1513 1514Optional Packages: 1515 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1516 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1517 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1518 both] 1519 --with-aix-soname=aix|svr4|both 1520 shared library versioning (aka "SONAME") variant to 1521 provide on AIX, [default=aix]. 1522 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1523 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1524 compiler's sysroot if not specified). 1525 --with-libstdc-doc=[TAGFILE@]HTMLREFDIR 1526 Link to external libstdc documentation [auto] 1527 --with-libsigc-doc=[TAGFILE@]HTMLREFDIR 1528 Link to external libsigc documentation [auto] 1529 --with-glibmm-doc=[TAGFILE@]HTMLREFDIR 1530 Link to external glibmm documentation [auto] 1531 --with-cairomm-doc=[TAGFILE@]HTMLREFDIR 1532 Link to external cairomm documentation [auto] 1533 --with-pangomm-doc=[TAGFILE@]HTMLREFDIR 1534 Link to external pangomm documentation [auto] 1535 --with-atkmm-doc=[TAGFILE@]HTMLREFDIR 1536 Link to external atkmm documentation [auto] 1537 1538Some influential environment variables: 1539 ACLOCAL_FLAGS 1540 aclocal flags, e.g. -I <macro dir> 1541 CXX C++ compiler command 1542 CXXFLAGS C++ compiler flags 1543 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1544 nonstandard directory <lib dir> 1545 LIBS libraries to pass to the linker, e.g. -l<library> 1546 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1547 you have headers in a nonstandard directory <include dir> 1548 CC C compiler command 1549 CFLAGS C compiler flags 1550 LT_SYS_LIBRARY_PATH 1551 User-defined run-time library search path. 1552 CPP C preprocessor 1553 CXXCPP C++ preprocessor 1554 PKG_CONFIG path to pkg-config utility 1555 PKG_CONFIG_PATH 1556 directories to add to pkg-config's search path 1557 PKG_CONFIG_LIBDIR 1558 path overriding pkg-config's built-in search path 1559 GDKMM_CFLAGS 1560 C compiler flags for GDKMM, overriding pkg-config 1561 GDKMM_LIBS linker flags for GDKMM, overriding pkg-config 1562 GTKMM_CFLAGS 1563 C compiler flags for GTKMM, overriding pkg-config 1564 GTKMM_LIBS linker flags for GTKMM, overriding pkg-config 1565 PERL path to Perl interpreter 1566 DOT path to dot utility 1567 DOXYGEN path to Doxygen utility 1568 XSLTPROC path to xsltproc utility 1569 1570Use these variables to override the choices made by `configure' or to help 1571it to find libraries and programs with nonstandard names/locations. 1572 1573Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtkmm>. 1574gtkmm home page: <http://www.gtkmm.org/>. 1575_ACEOF 1576ac_status=$? 1577fi 1578 1579if test "$ac_init_help" = "recursive"; then 1580 # If there are subdirs, report their specific --help. 1581 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1582 test -d "$ac_dir" || 1583 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1584 continue 1585 ac_builddir=. 1586 1587case "$ac_dir" in 1588.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1589*) 1590 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1591 # A ".." for each directory in $ac_dir_suffix. 1592 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1593 case $ac_top_builddir_sub in 1594 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1595 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1596 esac ;; 1597esac 1598ac_abs_top_builddir=$ac_pwd 1599ac_abs_builddir=$ac_pwd$ac_dir_suffix 1600# for backward compatibility: 1601ac_top_builddir=$ac_top_build_prefix 1602 1603case $srcdir in 1604 .) # We are building in place. 1605 ac_srcdir=. 1606 ac_top_srcdir=$ac_top_builddir_sub 1607 ac_abs_top_srcdir=$ac_pwd ;; 1608 [\\/]* | ?:[\\/]* ) # Absolute name. 1609 ac_srcdir=$srcdir$ac_dir_suffix; 1610 ac_top_srcdir=$srcdir 1611 ac_abs_top_srcdir=$srcdir ;; 1612 *) # Relative name. 1613 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1614 ac_top_srcdir=$ac_top_build_prefix$srcdir 1615 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1616esac 1617ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1618 1619 cd "$ac_dir" || { ac_status=$?; continue; } 1620 # Check for guested configure. 1621 if test -f "$ac_srcdir/configure.gnu"; then 1622 echo && 1623 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1624 elif test -f "$ac_srcdir/configure"; then 1625 echo && 1626 $SHELL "$ac_srcdir/configure" --help=recursive 1627 else 1628 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1629 fi || ac_status=$? 1630 cd "$ac_pwd" || { ac_status=$?; break; } 1631 done 1632fi 1633 1634test -n "$ac_init_help" && exit $ac_status 1635if $ac_init_version; then 1636 cat <<\_ACEOF 1637gtkmm configure 2.24.5 1638generated by GNU Autoconf 2.69 1639 1640Copyright (C) 2012 Free Software Foundation, Inc. 1641This configure script is free software; the Free Software Foundation 1642gives unlimited permission to copy, distribute and modify it. 1643_ACEOF 1644 exit 1645fi 1646 1647## ------------------------ ## 1648## Autoconf initialization. ## 1649## ------------------------ ## 1650 1651# ac_fn_cxx_try_compile LINENO 1652# ---------------------------- 1653# Try to compile conftest.$ac_ext, and return whether this succeeded. 1654ac_fn_cxx_try_compile () 1655{ 1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1657 rm -f conftest.$ac_objext 1658 if { { ac_try="$ac_compile" 1659case "(($ac_try" in 1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1661 *) ac_try_echo=$ac_try;; 1662esac 1663eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1664$as_echo "$ac_try_echo"; } >&5 1665 (eval "$ac_compile") 2>conftest.err 1666 ac_status=$? 1667 if test -s conftest.err; then 1668 grep -v '^ *+' conftest.err >conftest.er1 1669 cat conftest.er1 >&5 1670 mv -f conftest.er1 conftest.err 1671 fi 1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1673 test $ac_status = 0; } && { 1674 test -z "$ac_cxx_werror_flag" || 1675 test ! -s conftest.err 1676 } && test -s conftest.$ac_objext; then : 1677 ac_retval=0 1678else 1679 $as_echo "$as_me: failed program was:" >&5 1680sed 's/^/| /' conftest.$ac_ext >&5 1681 1682 ac_retval=1 1683fi 1684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1685 as_fn_set_status $ac_retval 1686 1687} # ac_fn_cxx_try_compile 1688 1689# ac_fn_c_try_compile LINENO 1690# -------------------------- 1691# Try to compile conftest.$ac_ext, and return whether this succeeded. 1692ac_fn_c_try_compile () 1693{ 1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1695 rm -f conftest.$ac_objext 1696 if { { ac_try="$ac_compile" 1697case "(($ac_try" in 1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1699 *) ac_try_echo=$ac_try;; 1700esac 1701eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1702$as_echo "$ac_try_echo"; } >&5 1703 (eval "$ac_compile") 2>conftest.err 1704 ac_status=$? 1705 if test -s conftest.err; then 1706 grep -v '^ *+' conftest.err >conftest.er1 1707 cat conftest.er1 >&5 1708 mv -f conftest.er1 conftest.err 1709 fi 1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1711 test $ac_status = 0; } && { 1712 test -z "$ac_c_werror_flag" || 1713 test ! -s conftest.err 1714 } && test -s conftest.$ac_objext; then : 1715 ac_retval=0 1716else 1717 $as_echo "$as_me: failed program was:" >&5 1718sed 's/^/| /' conftest.$ac_ext >&5 1719 1720 ac_retval=1 1721fi 1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1723 as_fn_set_status $ac_retval 1724 1725} # ac_fn_c_try_compile 1726 1727# ac_fn_c_try_link LINENO 1728# ----------------------- 1729# Try to link conftest.$ac_ext, and return whether this succeeded. 1730ac_fn_c_try_link () 1731{ 1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1733 rm -f conftest.$ac_objext conftest$ac_exeext 1734 if { { ac_try="$ac_link" 1735case "(($ac_try" in 1736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1737 *) ac_try_echo=$ac_try;; 1738esac 1739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1740$as_echo "$ac_try_echo"; } >&5 1741 (eval "$ac_link") 2>conftest.err 1742 ac_status=$? 1743 if test -s conftest.err; then 1744 grep -v '^ *+' conftest.err >conftest.er1 1745 cat conftest.er1 >&5 1746 mv -f conftest.er1 conftest.err 1747 fi 1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1749 test $ac_status = 0; } && { 1750 test -z "$ac_c_werror_flag" || 1751 test ! -s conftest.err 1752 } && test -s conftest$ac_exeext && { 1753 test "$cross_compiling" = yes || 1754 test -x conftest$ac_exeext 1755 }; then : 1756 ac_retval=0 1757else 1758 $as_echo "$as_me: failed program was:" >&5 1759sed 's/^/| /' conftest.$ac_ext >&5 1760 1761 ac_retval=1 1762fi 1763 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1764 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1765 # interfere with the next link command; also delete a directory that is 1766 # left behind by Apple's compiler. We do this before executing the actions. 1767 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1769 as_fn_set_status $ac_retval 1770 1771} # ac_fn_c_try_link 1772 1773# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1774# ------------------------------------------------------- 1775# Tests whether HEADER exists and can be compiled using the include files in 1776# INCLUDES, setting the cache variable VAR accordingly. 1777ac_fn_c_check_header_compile () 1778{ 1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1781$as_echo_n "checking for $2... " >&6; } 1782if eval \${$3+:} false; then : 1783 $as_echo_n "(cached) " >&6 1784else 1785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1786/* end confdefs.h. */ 1787$4 1788#include <$2> 1789_ACEOF 1790if ac_fn_c_try_compile "$LINENO"; then : 1791 eval "$3=yes" 1792else 1793 eval "$3=no" 1794fi 1795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1796fi 1797eval ac_res=\$$3 1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1799$as_echo "$ac_res" >&6; } 1800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1801 1802} # ac_fn_c_check_header_compile 1803 1804# ac_fn_c_try_cpp LINENO 1805# ---------------------- 1806# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1807ac_fn_c_try_cpp () 1808{ 1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1810 if { { ac_try="$ac_cpp conftest.$ac_ext" 1811case "(($ac_try" in 1812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1813 *) ac_try_echo=$ac_try;; 1814esac 1815eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1816$as_echo "$ac_try_echo"; } >&5 1817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1818 ac_status=$? 1819 if test -s conftest.err; then 1820 grep -v '^ *+' conftest.err >conftest.er1 1821 cat conftest.er1 >&5 1822 mv -f conftest.er1 conftest.err 1823 fi 1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1825 test $ac_status = 0; } > conftest.i && { 1826 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1827 test ! -s conftest.err 1828 }; then : 1829 ac_retval=0 1830else 1831 $as_echo "$as_me: failed program was:" >&5 1832sed 's/^/| /' conftest.$ac_ext >&5 1833 1834 ac_retval=1 1835fi 1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1837 as_fn_set_status $ac_retval 1838 1839} # ac_fn_c_try_cpp 1840 1841# ac_fn_c_try_run LINENO 1842# ---------------------- 1843# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1844# that executables *can* be run. 1845ac_fn_c_try_run () 1846{ 1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1848 if { { ac_try="$ac_link" 1849case "(($ac_try" in 1850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1851 *) ac_try_echo=$ac_try;; 1852esac 1853eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1854$as_echo "$ac_try_echo"; } >&5 1855 (eval "$ac_link") 2>&5 1856 ac_status=$? 1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1858 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1859 { { case "(($ac_try" in 1860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1861 *) ac_try_echo=$ac_try;; 1862esac 1863eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1864$as_echo "$ac_try_echo"; } >&5 1865 (eval "$ac_try") 2>&5 1866 ac_status=$? 1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1868 test $ac_status = 0; }; }; then : 1869 ac_retval=0 1870else 1871 $as_echo "$as_me: program exited with status $ac_status" >&5 1872 $as_echo "$as_me: failed program was:" >&5 1873sed 's/^/| /' conftest.$ac_ext >&5 1874 1875 ac_retval=$ac_status 1876fi 1877 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1879 as_fn_set_status $ac_retval 1880 1881} # ac_fn_c_try_run 1882 1883# ac_fn_c_check_func LINENO FUNC VAR 1884# ---------------------------------- 1885# Tests whether FUNC exists, setting the cache variable VAR accordingly 1886ac_fn_c_check_func () 1887{ 1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1890$as_echo_n "checking for $2... " >&6; } 1891if eval \${$3+:} false; then : 1892 $as_echo_n "(cached) " >&6 1893else 1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1895/* end confdefs.h. */ 1896/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1897 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1898#define $2 innocuous_$2 1899 1900/* System header to define __stub macros and hopefully few prototypes, 1901 which can conflict with char $2 (); below. 1902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1903 <limits.h> exists even on freestanding compilers. */ 1904 1905#ifdef __STDC__ 1906# include <limits.h> 1907#else 1908# include <assert.h> 1909#endif 1910 1911#undef $2 1912 1913/* Override any GCC internal prototype to avoid an error. 1914 Use char because int might match the return type of a GCC 1915 builtin and then its argument prototype would still apply. */ 1916#ifdef __cplusplus 1917extern "C" 1918#endif 1919char $2 (); 1920/* The GNU C library defines this for functions which it implements 1921 to always fail with ENOSYS. Some functions are actually named 1922 something starting with __ and the normal name is an alias. */ 1923#if defined __stub_$2 || defined __stub___$2 1924choke me 1925#endif 1926 1927int 1928main () 1929{ 1930return $2 (); 1931 ; 1932 return 0; 1933} 1934_ACEOF 1935if ac_fn_c_try_link "$LINENO"; then : 1936 eval "$3=yes" 1937else 1938 eval "$3=no" 1939fi 1940rm -f core conftest.err conftest.$ac_objext \ 1941 conftest$ac_exeext conftest.$ac_ext 1942fi 1943eval ac_res=\$$3 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1945$as_echo "$ac_res" >&6; } 1946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1947 1948} # ac_fn_c_check_func 1949 1950# ac_fn_cxx_try_cpp LINENO 1951# ------------------------ 1952# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1953ac_fn_cxx_try_cpp () 1954{ 1955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1956 if { { ac_try="$ac_cpp conftest.$ac_ext" 1957case "(($ac_try" in 1958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1959 *) ac_try_echo=$ac_try;; 1960esac 1961eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1962$as_echo "$ac_try_echo"; } >&5 1963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1964 ac_status=$? 1965 if test -s conftest.err; then 1966 grep -v '^ *+' conftest.err >conftest.er1 1967 cat conftest.er1 >&5 1968 mv -f conftest.er1 conftest.err 1969 fi 1970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1971 test $ac_status = 0; } > conftest.i && { 1972 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1973 test ! -s conftest.err 1974 }; then : 1975 ac_retval=0 1976else 1977 $as_echo "$as_me: failed program was:" >&5 1978sed 's/^/| /' conftest.$ac_ext >&5 1979 1980 ac_retval=1 1981fi 1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1983 as_fn_set_status $ac_retval 1984 1985} # ac_fn_cxx_try_cpp 1986 1987# ac_fn_cxx_try_link LINENO 1988# ------------------------- 1989# Try to link conftest.$ac_ext, and return whether this succeeded. 1990ac_fn_cxx_try_link () 1991{ 1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1993 rm -f conftest.$ac_objext conftest$ac_exeext 1994 if { { ac_try="$ac_link" 1995case "(($ac_try" in 1996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1997 *) ac_try_echo=$ac_try;; 1998esac 1999eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2000$as_echo "$ac_try_echo"; } >&5 2001 (eval "$ac_link") 2>conftest.err 2002 ac_status=$? 2003 if test -s conftest.err; then 2004 grep -v '^ *+' conftest.err >conftest.er1 2005 cat conftest.er1 >&5 2006 mv -f conftest.er1 conftest.err 2007 fi 2008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2009 test $ac_status = 0; } && { 2010 test -z "$ac_cxx_werror_flag" || 2011 test ! -s conftest.err 2012 } && test -s conftest$ac_exeext && { 2013 test "$cross_compiling" = yes || 2014 test -x conftest$ac_exeext 2015 }; then : 2016 ac_retval=0 2017else 2018 $as_echo "$as_me: failed program was:" >&5 2019sed 's/^/| /' conftest.$ac_ext >&5 2020 2021 ac_retval=1 2022fi 2023 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2024 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2025 # interfere with the next link command; also delete a directory that is 2026 # left behind by Apple's compiler. We do this before executing the actions. 2027 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2029 as_fn_set_status $ac_retval 2030 2031} # ac_fn_cxx_try_link 2032 2033# ac_fn_cxx_check_func LINENO FUNC VAR 2034# ------------------------------------ 2035# Tests whether FUNC exists, setting the cache variable VAR accordingly 2036ac_fn_cxx_check_func () 2037{ 2038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2040$as_echo_n "checking for $2... " >&6; } 2041if eval \${$3+:} false; then : 2042 $as_echo_n "(cached) " >&6 2043else 2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2045/* end confdefs.h. */ 2046/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2047 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2048#define $2 innocuous_$2 2049 2050/* System header to define __stub macros and hopefully few prototypes, 2051 which can conflict with char $2 (); below. 2052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2053 <limits.h> exists even on freestanding compilers. */ 2054 2055#ifdef __STDC__ 2056# include <limits.h> 2057#else 2058# include <assert.h> 2059#endif 2060 2061#undef $2 2062 2063/* Override any GCC internal prototype to avoid an error. 2064 Use char because int might match the return type of a GCC 2065 builtin and then its argument prototype would still apply. */ 2066#ifdef __cplusplus 2067extern "C" 2068#endif 2069char $2 (); 2070/* The GNU C library defines this for functions which it implements 2071 to always fail with ENOSYS. Some functions are actually named 2072 something starting with __ and the normal name is an alias. */ 2073#if defined __stub_$2 || defined __stub___$2 2074choke me 2075#endif 2076 2077int 2078main () 2079{ 2080return $2 (); 2081 ; 2082 return 0; 2083} 2084_ACEOF 2085if ac_fn_cxx_try_link "$LINENO"; then : 2086 eval "$3=yes" 2087else 2088 eval "$3=no" 2089fi 2090rm -f core conftest.err conftest.$ac_objext \ 2091 conftest$ac_exeext conftest.$ac_ext 2092fi 2093eval ac_res=\$$3 2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2095$as_echo "$ac_res" >&6; } 2096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2097 2098} # ac_fn_cxx_check_func 2099cat >config.log <<_ACEOF 2100This file contains any messages produced by compilers while 2101running configure, to aid debugging if configure makes a mistake. 2102 2103It was created by gtkmm $as_me 2.24.5, which was 2104generated by GNU Autoconf 2.69. Invocation command line was 2105 2106 $ $0 $@ 2107 2108_ACEOF 2109exec 5>>config.log 2110{ 2111cat <<_ASUNAME 2112## --------- ## 2113## Platform. ## 2114## --------- ## 2115 2116hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2117uname -m = `(uname -m) 2>/dev/null || echo unknown` 2118uname -r = `(uname -r) 2>/dev/null || echo unknown` 2119uname -s = `(uname -s) 2>/dev/null || echo unknown` 2120uname -v = `(uname -v) 2>/dev/null || echo unknown` 2121 2122/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2123/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2124 2125/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2126/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2127/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2128/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2129/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2130/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2131/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2132 2133_ASUNAME 2134 2135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2136for as_dir in $PATH 2137do 2138 IFS=$as_save_IFS 2139 test -z "$as_dir" && as_dir=. 2140 $as_echo "PATH: $as_dir" 2141 done 2142IFS=$as_save_IFS 2143 2144} >&5 2145 2146cat >&5 <<_ACEOF 2147 2148 2149## ----------- ## 2150## Core tests. ## 2151## ----------- ## 2152 2153_ACEOF 2154 2155 2156# Keep a trace of the command line. 2157# Strip out --no-create and --no-recursion so they do not pile up. 2158# Strip out --silent because we don't want to record it for future runs. 2159# Also quote any args containing shell meta-characters. 2160# Make two passes to allow for proper duplicate-argument suppression. 2161ac_configure_args= 2162ac_configure_args0= 2163ac_configure_args1= 2164ac_must_keep_next=false 2165for ac_pass in 1 2 2166do 2167 for ac_arg 2168 do 2169 case $ac_arg in 2170 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2172 | -silent | --silent | --silen | --sile | --sil) 2173 continue ;; 2174 *\'*) 2175 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2176 esac 2177 case $ac_pass in 2178 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2179 2) 2180 as_fn_append ac_configure_args1 " '$ac_arg'" 2181 if test $ac_must_keep_next = true; then 2182 ac_must_keep_next=false # Got value, back to normal. 2183 else 2184 case $ac_arg in 2185 *=* | --config-cache | -C | -disable-* | --disable-* \ 2186 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2187 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2188 | -with-* | --with-* | -without-* | --without-* | --x) 2189 case "$ac_configure_args0 " in 2190 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2191 esac 2192 ;; 2193 -* ) ac_must_keep_next=true ;; 2194 esac 2195 fi 2196 as_fn_append ac_configure_args " '$ac_arg'" 2197 ;; 2198 esac 2199 done 2200done 2201{ ac_configure_args0=; unset ac_configure_args0;} 2202{ ac_configure_args1=; unset ac_configure_args1;} 2203 2204# When interrupted or exit'd, cleanup temporary files, and complete 2205# config.log. We remove comments because anyway the quotes in there 2206# would cause problems or look ugly. 2207# WARNING: Use '\'' to represent an apostrophe within the trap. 2208# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2209trap 'exit_status=$? 2210 # Save into config.log some information that might help in debugging. 2211 { 2212 echo 2213 2214 $as_echo "## ---------------- ## 2215## Cache variables. ## 2216## ---------------- ##" 2217 echo 2218 # The following way of writing the cache mishandles newlines in values, 2219( 2220 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2221 eval ac_val=\$$ac_var 2222 case $ac_val in #( 2223 *${as_nl}*) 2224 case $ac_var in #( 2225 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2226$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2227 esac 2228 case $ac_var in #( 2229 _ | IFS | as_nl) ;; #( 2230 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2231 *) { eval $ac_var=; unset $ac_var;} ;; 2232 esac ;; 2233 esac 2234 done 2235 (set) 2>&1 | 2236 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2237 *${as_nl}ac_space=\ *) 2238 sed -n \ 2239 "s/'\''/'\''\\\\'\'''\''/g; 2240 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2241 ;; #( 2242 *) 2243 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2244 ;; 2245 esac | 2246 sort 2247) 2248 echo 2249 2250 $as_echo "## ----------------- ## 2251## Output variables. ## 2252## ----------------- ##" 2253 echo 2254 for ac_var in $ac_subst_vars 2255 do 2256 eval ac_val=\$$ac_var 2257 case $ac_val in 2258 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2259 esac 2260 $as_echo "$ac_var='\''$ac_val'\''" 2261 done | sort 2262 echo 2263 2264 if test -n "$ac_subst_files"; then 2265 $as_echo "## ------------------- ## 2266## File substitutions. ## 2267## ------------------- ##" 2268 echo 2269 for ac_var in $ac_subst_files 2270 do 2271 eval ac_val=\$$ac_var 2272 case $ac_val in 2273 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2274 esac 2275 $as_echo "$ac_var='\''$ac_val'\''" 2276 done | sort 2277 echo 2278 fi 2279 2280 if test -s confdefs.h; then 2281 $as_echo "## ----------- ## 2282## confdefs.h. ## 2283## ----------- ##" 2284 echo 2285 cat confdefs.h 2286 echo 2287 fi 2288 test "$ac_signal" != 0 && 2289 $as_echo "$as_me: caught signal $ac_signal" 2290 $as_echo "$as_me: exit $exit_status" 2291 } >&5 2292 rm -f core *.core core.conftest.* && 2293 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2294 exit $exit_status 2295' 0 2296for ac_signal in 1 2 13 15; do 2297 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2298done 2299ac_signal=0 2300 2301# confdefs.h avoids OS command line length limits that DEFS can exceed. 2302rm -f -r conftest* confdefs.h 2303 2304$as_echo "/* confdefs.h */" > confdefs.h 2305 2306# Predefined preprocessor variables. 2307 2308cat >>confdefs.h <<_ACEOF 2309#define PACKAGE_NAME "$PACKAGE_NAME" 2310_ACEOF 2311 2312cat >>confdefs.h <<_ACEOF 2313#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2314_ACEOF 2315 2316cat >>confdefs.h <<_ACEOF 2317#define PACKAGE_VERSION "$PACKAGE_VERSION" 2318_ACEOF 2319 2320cat >>confdefs.h <<_ACEOF 2321#define PACKAGE_STRING "$PACKAGE_STRING" 2322_ACEOF 2323 2324cat >>confdefs.h <<_ACEOF 2325#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2326_ACEOF 2327 2328cat >>confdefs.h <<_ACEOF 2329#define PACKAGE_URL "$PACKAGE_URL" 2330_ACEOF 2331 2332 2333# Let the site file select an alternate cache file if it wants to. 2334# Prefer an explicitly selected file to automatically selected ones. 2335ac_site_file1=NONE 2336ac_site_file2=NONE 2337if test -n "$CONFIG_SITE"; then 2338 # We do not want a PATH search for config.site. 2339 case $CONFIG_SITE in #(( 2340 -*) ac_site_file1=./$CONFIG_SITE;; 2341 */*) ac_site_file1=$CONFIG_SITE;; 2342 *) ac_site_file1=./$CONFIG_SITE;; 2343 esac 2344elif test "x$prefix" != xNONE; then 2345 ac_site_file1=$prefix/share/config.site 2346 ac_site_file2=$prefix/etc/config.site 2347else 2348 ac_site_file1=$ac_default_prefix/share/config.site 2349 ac_site_file2=$ac_default_prefix/etc/config.site 2350fi 2351for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2352do 2353 test "x$ac_site_file" = xNONE && continue 2354 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2355 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2356$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2357 sed 's/^/| /' "$ac_site_file" >&5 2358 . "$ac_site_file" \ 2359 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2360$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2361as_fn_error $? "failed to load site script $ac_site_file 2362See \`config.log' for more details" "$LINENO" 5; } 2363 fi 2364done 2365 2366if test -r "$cache_file"; then 2367 # Some versions of bash will fail to source /dev/null (special files 2368 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2369 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2370 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2371$as_echo "$as_me: loading cache $cache_file" >&6;} 2372 case $cache_file in 2373 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2374 *) . "./$cache_file";; 2375 esac 2376 fi 2377else 2378 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2379$as_echo "$as_me: creating cache $cache_file" >&6;} 2380 >$cache_file 2381fi 2382 2383# Check that the precious variables saved in the cache have kept the same 2384# value. 2385ac_cache_corrupted=false 2386for ac_var in $ac_precious_vars; do 2387 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2388 eval ac_new_set=\$ac_env_${ac_var}_set 2389 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2390 eval ac_new_val=\$ac_env_${ac_var}_value 2391 case $ac_old_set,$ac_new_set in 2392 set,) 2393 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2394$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2395 ac_cache_corrupted=: ;; 2396 ,set) 2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2398$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2399 ac_cache_corrupted=: ;; 2400 ,);; 2401 *) 2402 if test "x$ac_old_val" != "x$ac_new_val"; then 2403 # differences in whitespace do not lead to failure. 2404 ac_old_val_w=`echo x $ac_old_val` 2405 ac_new_val_w=`echo x $ac_new_val` 2406 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2407 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2408$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2409 ac_cache_corrupted=: 2410 else 2411 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2412$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2413 eval $ac_var=\$ac_old_val 2414 fi 2415 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2416$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2417 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2418$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2419 fi;; 2420 esac 2421 # Pass precious variables to config.status. 2422 if test "$ac_new_set" = set; then 2423 case $ac_new_val in 2424 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2425 *) ac_arg=$ac_var=$ac_new_val ;; 2426 esac 2427 case " $ac_configure_args " in 2428 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2429 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2430 esac 2431 fi 2432done 2433if $ac_cache_corrupted; then 2434 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2436 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2437$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2438 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2439fi 2440## -------------------- ## 2441## Main body of script. ## 2442## -------------------- ## 2443 2444ac_ext=c 2445ac_cpp='$CPP $CPPFLAGS' 2446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2448ac_compiler_gnu=$ac_cv_c_compiler_gnu 2449 2450 2451 2452 2453 2454ac_aux_dir= 2455for ac_dir in build "$srcdir"/build; do 2456 if test -f "$ac_dir/install-sh"; then 2457 ac_aux_dir=$ac_dir 2458 ac_install_sh="$ac_aux_dir/install-sh -c" 2459 break 2460 elif test -f "$ac_dir/install.sh"; then 2461 ac_aux_dir=$ac_dir 2462 ac_install_sh="$ac_aux_dir/install.sh -c" 2463 break 2464 elif test -f "$ac_dir/shtool"; then 2465 ac_aux_dir=$ac_dir 2466 ac_install_sh="$ac_aux_dir/shtool install -c" 2467 break 2468 fi 2469done 2470if test -z "$ac_aux_dir"; then 2471 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5 2472fi 2473 2474# These three variables are undocumented and unsupported, 2475# and are intended to be withdrawn in a future Autoconf release. 2476# They can cause serious problems if a builder's source tree is in a directory 2477# whose full name contains unusual characters. 2478ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2479ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2480ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2481 2482 2483 2484ac_config_headers="$ac_config_headers config.h gdk/gdkmmconfig.h gtk/gtkmmconfig.h" 2485 2486 2487am__api_version='1.15' 2488 2489# Find a good install program. We prefer a C program (faster), 2490# so one script is as good as another. But avoid the broken or 2491# incompatible versions: 2492# SysV /etc/install, /usr/sbin/install 2493# SunOS /usr/etc/install 2494# IRIX /sbin/install 2495# AIX /bin/install 2496# AmigaOS /C/install, which installs bootblocks on floppy discs 2497# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2498# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2499# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2500# OS/2's system install, which has a completely different semantic 2501# ./install, which can be erroneously created by make from ./install.sh. 2502# Reject install programs that cannot install multiple files. 2503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2504$as_echo_n "checking for a BSD-compatible install... " >&6; } 2505if test -z "$INSTALL"; then 2506if ${ac_cv_path_install+:} false; then : 2507 $as_echo_n "(cached) " >&6 2508else 2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2510for as_dir in $PATH 2511do 2512 IFS=$as_save_IFS 2513 test -z "$as_dir" && as_dir=. 2514 # Account for people who put trailing slashes in PATH elements. 2515case $as_dir/ in #(( 2516 ./ | .// | /[cC]/* | \ 2517 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2518 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2519 /usr/ucb/* ) ;; 2520 *) 2521 # OSF1 and SCO ODT 3.0 have their own names for install. 2522 # Don't use installbsd from OSF since it installs stuff as root 2523 # by default. 2524 for ac_prog in ginstall scoinst install; do 2525 for ac_exec_ext in '' $ac_executable_extensions; do 2526 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2527 if test $ac_prog = install && 2528 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2529 # AIX install. It has an incompatible calling convention. 2530 : 2531 elif test $ac_prog = install && 2532 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2533 # program-specific install script used by HP pwplus--don't use. 2534 : 2535 else 2536 rm -rf conftest.one conftest.two conftest.dir 2537 echo one > conftest.one 2538 echo two > conftest.two 2539 mkdir conftest.dir 2540 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2541 test -s conftest.one && test -s conftest.two && 2542 test -s conftest.dir/conftest.one && 2543 test -s conftest.dir/conftest.two 2544 then 2545 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2546 break 3 2547 fi 2548 fi 2549 fi 2550 done 2551 done 2552 ;; 2553esac 2554 2555 done 2556IFS=$as_save_IFS 2557 2558rm -rf conftest.one conftest.two conftest.dir 2559 2560fi 2561 if test "${ac_cv_path_install+set}" = set; then 2562 INSTALL=$ac_cv_path_install 2563 else 2564 # As a last resort, use the slow shell script. Don't cache a 2565 # value for INSTALL within a source directory, because that will 2566 # break other packages using the cache if that directory is 2567 # removed, or if the value is a relative name. 2568 INSTALL=$ac_install_sh 2569 fi 2570fi 2571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2572$as_echo "$INSTALL" >&6; } 2573 2574# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2575# It thinks the first close brace ends the variable substitution. 2576test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2577 2578test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2579 2580test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2581 2582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2583$as_echo_n "checking whether build environment is sane... " >&6; } 2584# Reject unsafe characters in $srcdir or the absolute working directory 2585# name. Accept space and tab only in the latter. 2586am_lf=' 2587' 2588case `pwd` in 2589 *[\\\"\#\$\&\'\`$am_lf]*) 2590 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2591esac 2592case $srcdir in 2593 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2594 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2595esac 2596 2597# Do 'set' in a subshell so we don't clobber the current shell's 2598# arguments. Must try -L first in case configure is actually a 2599# symlink; some systems play weird games with the mod time of symlinks 2600# (eg FreeBSD returns the mod time of the symlink's containing 2601# directory). 2602if ( 2603 am_has_slept=no 2604 for am_try in 1 2; do 2605 echo "timestamp, slept: $am_has_slept" > conftest.file 2606 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2607 if test "$*" = "X"; then 2608 # -L didn't work. 2609 set X `ls -t "$srcdir/configure" conftest.file` 2610 fi 2611 if test "$*" != "X $srcdir/configure conftest.file" \ 2612 && test "$*" != "X conftest.file $srcdir/configure"; then 2613 2614 # If neither matched, then we have a broken ls. This can happen 2615 # if, for instance, CONFIG_SHELL is bash and it inherits a 2616 # broken ls alias from the environment. This has actually 2617 # happened. Such a system could not be considered "sane". 2618 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2619 alias in your environment" "$LINENO" 5 2620 fi 2621 if test "$2" = conftest.file || test $am_try -eq 2; then 2622 break 2623 fi 2624 # Just in case. 2625 sleep 1 2626 am_has_slept=yes 2627 done 2628 test "$2" = conftest.file 2629 ) 2630then 2631 # Ok. 2632 : 2633else 2634 as_fn_error $? "newly created file is older than distributed files! 2635Check your system clock" "$LINENO" 5 2636fi 2637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2638$as_echo "yes" >&6; } 2639# If we didn't sleep, we still need to ensure time stamps of config.status and 2640# generated files are strictly newer. 2641am_sleep_pid= 2642if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2643 ( sleep 1 ) & 2644 am_sleep_pid=$! 2645fi 2646 2647rm -f conftest.file 2648 2649test "$program_prefix" != NONE && 2650 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2651# Use a double $ so make ignores it. 2652test "$program_suffix" != NONE && 2653 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2654# Double any \ or $. 2655# By default was `s,x,x', remove it if useless. 2656ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2657program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2658 2659# Expand $ac_aux_dir to an absolute path. 2660am_aux_dir=`cd "$ac_aux_dir" && pwd` 2661 2662if test x"${MISSING+set}" != xset; then 2663 case $am_aux_dir in 2664 *\ * | *\ *) 2665 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2666 *) 2667 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2668 esac 2669fi 2670# Use eval to expand $SHELL 2671if eval "$MISSING --is-lightweight"; then 2672 am_missing_run="$MISSING " 2673else 2674 am_missing_run= 2675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2676$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2677fi 2678 2679if test x"${install_sh+set}" != xset; then 2680 case $am_aux_dir in 2681 *\ * | *\ *) 2682 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2683 *) 2684 install_sh="\${SHELL} $am_aux_dir/install-sh" 2685 esac 2686fi 2687 2688# Installed binaries are usually stripped using 'strip' when the user 2689# run "make install-strip". However 'strip' might not be the right 2690# tool to use in cross-compilation environments, therefore Automake 2691# will honor the 'STRIP' environment variable to overrule this program. 2692if test "$cross_compiling" != no; then 2693 if test -n "$ac_tool_prefix"; then 2694 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2695set dummy ${ac_tool_prefix}strip; ac_word=$2 2696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2697$as_echo_n "checking for $ac_word... " >&6; } 2698if ${ac_cv_prog_STRIP+:} false; then : 2699 $as_echo_n "(cached) " >&6 2700else 2701 if test -n "$STRIP"; then 2702 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2703else 2704as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2705for as_dir in $PATH 2706do 2707 IFS=$as_save_IFS 2708 test -z "$as_dir" && as_dir=. 2709 for ac_exec_ext in '' $ac_executable_extensions; do 2710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2711 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2713 break 2 2714 fi 2715done 2716 done 2717IFS=$as_save_IFS 2718 2719fi 2720fi 2721STRIP=$ac_cv_prog_STRIP 2722if test -n "$STRIP"; then 2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2724$as_echo "$STRIP" >&6; } 2725else 2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2727$as_echo "no" >&6; } 2728fi 2729 2730 2731fi 2732if test -z "$ac_cv_prog_STRIP"; then 2733 ac_ct_STRIP=$STRIP 2734 # Extract the first word of "strip", so it can be a program name with args. 2735set dummy strip; ac_word=$2 2736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2737$as_echo_n "checking for $ac_word... " >&6; } 2738if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2739 $as_echo_n "(cached) " >&6 2740else 2741 if test -n "$ac_ct_STRIP"; then 2742 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2743else 2744as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2745for as_dir in $PATH 2746do 2747 IFS=$as_save_IFS 2748 test -z "$as_dir" && as_dir=. 2749 for ac_exec_ext in '' $ac_executable_extensions; do 2750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2751 ac_cv_prog_ac_ct_STRIP="strip" 2752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2753 break 2 2754 fi 2755done 2756 done 2757IFS=$as_save_IFS 2758 2759fi 2760fi 2761ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2762if test -n "$ac_ct_STRIP"; then 2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2764$as_echo "$ac_ct_STRIP" >&6; } 2765else 2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2767$as_echo "no" >&6; } 2768fi 2769 2770 if test "x$ac_ct_STRIP" = x; then 2771 STRIP=":" 2772 else 2773 case $cross_compiling:$ac_tool_warned in 2774yes:) 2775{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2776$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2777ac_tool_warned=yes ;; 2778esac 2779 STRIP=$ac_ct_STRIP 2780 fi 2781else 2782 STRIP="$ac_cv_prog_STRIP" 2783fi 2784 2785fi 2786INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2787 2788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2789$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2790if test -z "$MKDIR_P"; then 2791 if ${ac_cv_path_mkdir+:} false; then : 2792 $as_echo_n "(cached) " >&6 2793else 2794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2795for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2796do 2797 IFS=$as_save_IFS 2798 test -z "$as_dir" && as_dir=. 2799 for ac_prog in mkdir gmkdir; do 2800 for ac_exec_ext in '' $ac_executable_extensions; do 2801 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2802 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2803 'mkdir (GNU coreutils) '* | \ 2804 'mkdir (coreutils) '* | \ 2805 'mkdir (fileutils) '4.1*) 2806 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2807 break 3;; 2808 esac 2809 done 2810 done 2811 done 2812IFS=$as_save_IFS 2813 2814fi 2815 2816 test -d ./--version && rmdir ./--version 2817 if test "${ac_cv_path_mkdir+set}" = set; then 2818 MKDIR_P="$ac_cv_path_mkdir -p" 2819 else 2820 # As a last resort, use the slow shell script. Don't cache a 2821 # value for MKDIR_P within a source directory, because that will 2822 # break other packages using the cache if that directory is 2823 # removed, or if the value is a relative name. 2824 MKDIR_P="$ac_install_sh -d" 2825 fi 2826fi 2827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2828$as_echo "$MKDIR_P" >&6; } 2829 2830for ac_prog in gawk mawk nawk awk 2831do 2832 # Extract the first word of "$ac_prog", so it can be a program name with args. 2833set dummy $ac_prog; ac_word=$2 2834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2835$as_echo_n "checking for $ac_word... " >&6; } 2836if ${ac_cv_prog_AWK+:} false; then : 2837 $as_echo_n "(cached) " >&6 2838else 2839 if test -n "$AWK"; then 2840 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2841else 2842as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2843for as_dir in $PATH 2844do 2845 IFS=$as_save_IFS 2846 test -z "$as_dir" && as_dir=. 2847 for ac_exec_ext in '' $ac_executable_extensions; do 2848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2849 ac_cv_prog_AWK="$ac_prog" 2850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2851 break 2 2852 fi 2853done 2854 done 2855IFS=$as_save_IFS 2856 2857fi 2858fi 2859AWK=$ac_cv_prog_AWK 2860if test -n "$AWK"; then 2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2862$as_echo "$AWK" >&6; } 2863else 2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2865$as_echo "no" >&6; } 2866fi 2867 2868 2869 test -n "$AWK" && break 2870done 2871 2872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2873$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2874set x ${MAKE-make} 2875ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2876if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2877 $as_echo_n "(cached) " >&6 2878else 2879 cat >conftest.make <<\_ACEOF 2880SHELL = /bin/sh 2881all: 2882 @echo '@@@%%%=$(MAKE)=@@@%%%' 2883_ACEOF 2884# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2885case `${MAKE-make} -f conftest.make 2>/dev/null` in 2886 *@@@%%%=?*=@@@%%%*) 2887 eval ac_cv_prog_make_${ac_make}_set=yes;; 2888 *) 2889 eval ac_cv_prog_make_${ac_make}_set=no;; 2890esac 2891rm -f conftest.make 2892fi 2893if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2895$as_echo "yes" >&6; } 2896 SET_MAKE= 2897else 2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2899$as_echo "no" >&6; } 2900 SET_MAKE="MAKE=${MAKE-make}" 2901fi 2902 2903rm -rf .tst 2>/dev/null 2904mkdir .tst 2>/dev/null 2905if test -d .tst; then 2906 am__leading_dot=. 2907else 2908 am__leading_dot=_ 2909fi 2910rmdir .tst 2>/dev/null 2911 2912# Check whether --enable-silent-rules was given. 2913if test "${enable_silent_rules+set}" = set; then : 2914 enableval=$enable_silent_rules; 2915fi 2916 2917case $enable_silent_rules in # ((( 2918 yes) AM_DEFAULT_VERBOSITY=0;; 2919 no) AM_DEFAULT_VERBOSITY=1;; 2920 *) AM_DEFAULT_VERBOSITY=1;; 2921esac 2922am_make=${MAKE-make} 2923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2924$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2925if ${am_cv_make_support_nested_variables+:} false; then : 2926 $as_echo_n "(cached) " >&6 2927else 2928 if $as_echo 'TRUE=$(BAR$(V)) 2929BAR0=false 2930BAR1=true 2931V=1 2932am__doit: 2933 @$(TRUE) 2934.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2935 am_cv_make_support_nested_variables=yes 2936else 2937 am_cv_make_support_nested_variables=no 2938fi 2939fi 2940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2941$as_echo "$am_cv_make_support_nested_variables" >&6; } 2942if test $am_cv_make_support_nested_variables = yes; then 2943 AM_V='$(V)' 2944 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2945else 2946 AM_V=$AM_DEFAULT_VERBOSITY 2947 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2948fi 2949AM_BACKSLASH='\' 2950 2951if test "`cd $srcdir && pwd`" != "`pwd`"; then 2952 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2953 # is not polluted with repeated "-I." 2954 am__isrc=' -I$(srcdir)' 2955 # test to see if srcdir already configured 2956 if test -f $srcdir/config.status; then 2957 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2958 fi 2959fi 2960 2961# test whether we have cygpath 2962if test -z "$CYGPATH_W"; then 2963 if (cygpath --version) >/dev/null 2>/dev/null; then 2964 CYGPATH_W='cygpath -w' 2965 else 2966 CYGPATH_W=echo 2967 fi 2968fi 2969 2970 2971# Define the identity of the package. 2972 PACKAGE='gtkmm' 2973 VERSION='2.24.5' 2974 2975 2976# Some tools Automake needs. 2977 2978ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2979 2980 2981AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2982 2983 2984AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2985 2986 2987AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2988 2989 2990MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2991 2992# For better backward compatibility. To be removed once Automake 1.9.x 2993# dies out for good. For more background, see: 2994# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2995# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2996mkdir_p='$(MKDIR_P)' 2997 2998# We need awk for the "check" target (and possibly the TAP driver). The 2999# system "awk" is bad on some platforms. 3000# Always define AMTAR for backward compatibility. Yes, it's still used 3001# in the wild :-( We should find a proper way to deprecate it ... 3002AMTAR='$${TAR-tar}' 3003 3004 3005# We'll loop over all known methods to create a tar archive until one works. 3006_am_tools='gnutar pax cpio none' 3007 3008 3009 3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 3011$as_echo_n "checking how to create a pax tar archive... " >&6; } 3012 3013 # Go ahead even if we have the value already cached. We do so because we 3014 # need to set the values for the 'am__tar' and 'am__untar' variables. 3015 _am_tools=${am_cv_prog_tar_pax-$_am_tools} 3016 3017 for _am_tool in $_am_tools; do 3018 case $_am_tool in 3019 gnutar) 3020 for _am_tar in tar gnutar gtar; do 3021 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3022 ($_am_tar --version) >&5 2>&5 3023 ac_status=$? 3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3025 (exit $ac_status); } && break 3026 done 3027 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"' 3028 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"' 3029 am__untar="$_am_tar -xf -" 3030 ;; 3031 plaintar) 3032 # Must skip GNU tar: if it does not support --format= it doesn't create 3033 # ustar tarball either. 3034 (tar --version) >/dev/null 2>&1 && continue 3035 am__tar='tar chf - "$$tardir"' 3036 am__tar_='tar chf - "$tardir"' 3037 am__untar='tar xf -' 3038 ;; 3039 pax) 3040 am__tar='pax -L -x pax -w "$$tardir"' 3041 am__tar_='pax -L -x pax -w "$tardir"' 3042 am__untar='pax -r' 3043 ;; 3044 cpio) 3045 am__tar='find "$$tardir" -print | cpio -o -H pax -L' 3046 am__tar_='find "$tardir" -print | cpio -o -H pax -L' 3047 am__untar='cpio -i -H pax -d' 3048 ;; 3049 none) 3050 am__tar=false 3051 am__tar_=false 3052 am__untar=false 3053 ;; 3054 esac 3055 3056 # If the value was cached, stop now. We just wanted to have am__tar 3057 # and am__untar set. 3058 test -n "${am_cv_prog_tar_pax}" && break 3059 3060 # tar/untar a dummy directory, and stop if the command works. 3061 rm -rf conftest.dir 3062 mkdir conftest.dir 3063 echo GrepMe > conftest.dir/file 3064 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3065 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3066 ac_status=$? 3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3068 (exit $ac_status); } 3069 rm -rf conftest.dir 3070 if test -s conftest.tar; then 3071 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3072 ($am__untar <conftest.tar) >&5 2>&5 3073 ac_status=$? 3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3075 (exit $ac_status); } 3076 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3077 (cat conftest.dir/file) >&5 2>&5 3078 ac_status=$? 3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3080 (exit $ac_status); } 3081 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3082 fi 3083 done 3084 rm -rf conftest.dir 3085 3086 if ${am_cv_prog_tar_pax+:} false; then : 3087 $as_echo_n "(cached) " >&6 3088else 3089 am_cv_prog_tar_pax=$_am_tool 3090fi 3091 3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 3093$as_echo "$am_cv_prog_tar_pax" >&6; } 3094 3095 3096 3097 3098 3099 3100# POSIX will say in a future version that running "rm -f" with no argument 3101# is OK; and we want to be able to make that assumption in our Makefile 3102# recipes. So use an aggressive probe to check that the usage we want is 3103# actually supported "in the wild" to an acceptable degree. 3104# See automake bug#10828. 3105# To make any issue more visible, cause the running configure to be aborted 3106# by default if the 'rm' program in use doesn't match our expectations; the 3107# user can still override this though. 3108if rm -f && rm -fr && rm -rf; then : OK; else 3109 cat >&2 <<'END' 3110Oops! 3111 3112Your 'rm' program seems unable to run without file operands specified 3113on the command line, even when the '-f' option is present. This is contrary 3114to the behaviour of most rm programs out there, and not conforming with 3115the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3116 3117Please tell bug-automake@gnu.org about your system, including the value 3118of your $PATH and any error possibly output before this message. This 3119can help us improve future automake versions. 3120 3121END 3122 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3123 echo 'Configuration will proceed anyway, since you have set the' >&2 3124 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3125 echo >&2 3126 else 3127 cat >&2 <<'END' 3128Aborting the configuration process, to ensure you take notice of the issue. 3129 3130You can download and install GNU coreutils to get an 'rm' implementation 3131that behaves properly: <http://www.gnu.org/software/coreutils/>. 3132 3133If you want to complete the configuration process using your problematic 3134'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3135to "yes", and re-run configure. 3136 3137END 3138 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3139 fi 3140fi 3141 3142# Check whether --enable-silent-rules was given. 3143if test "${enable_silent_rules+set}" = set; then : 3144 enableval=$enable_silent_rules; 3145fi 3146 3147case $enable_silent_rules in # ((( 3148 yes) AM_DEFAULT_VERBOSITY=0;; 3149 no) AM_DEFAULT_VERBOSITY=1;; 3150 *) AM_DEFAULT_VERBOSITY=1;; 3151esac 3152am_make=${MAKE-make} 3153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3154$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3155if ${am_cv_make_support_nested_variables+:} false; then : 3156 $as_echo_n "(cached) " >&6 3157else 3158 if $as_echo 'TRUE=$(BAR$(V)) 3159BAR0=false 3160BAR1=true 3161V=1 3162am__doit: 3163 @$(TRUE) 3164.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3165 am_cv_make_support_nested_variables=yes 3166else 3167 am_cv_make_support_nested_variables=no 3168fi 3169fi 3170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3171$as_echo "$am_cv_make_support_nested_variables" >&6; } 3172if test $am_cv_make_support_nested_variables = yes; then 3173 AM_V='$(V)' 3174 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3175else 3176 AM_V=$AM_DEFAULT_VERBOSITY 3177 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3178fi 3179AM_BACKSLASH='\' 3180 3181 3182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3183$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3184 # Check whether --enable-maintainer-mode was given. 3185if test "${enable_maintainer_mode+set}" = set; then : 3186 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3187else 3188 USE_MAINTAINER_MODE=no 3189fi 3190 3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3192$as_echo "$USE_MAINTAINER_MODE" >&6; } 3193 if test $USE_MAINTAINER_MODE = yes; then 3194 MAINTAINER_MODE_TRUE= 3195 MAINTAINER_MODE_FALSE='#' 3196else 3197 MAINTAINER_MODE_TRUE='#' 3198 MAINTAINER_MODE_FALSE= 3199fi 3200 3201 MAINT=$MAINTAINER_MODE_TRUE 3202 3203 3204 3205 3206 3207 3208 3209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5 3210$as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; } 3211cat >conftest.make <<'_MMEOF' 3212override reverse = $(2)$(subst ,, )$(1) 3213override result := $(word 2,$(call reverse,success,failure)) 3214all: ; test '$(result)' = success 3215.PHONY: all 3216_MMEOF 3217if ${MAKE-make} -f conftest.make >&5 2>&5; then : 3218 mm_gnu_make=yes 3219else 3220 mm_gnu_make=no 3221fi 3222rm -f conftest.make 3223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5 3224$as_echo "$mm_gnu_make" >&6; } 3225if test "x$mm_gnu_make" != xyes; then : 3226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3227$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3228as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME. 3229See \`config.log' for more details" "$LINENO" 5; } 3230fi 3231 3232GDKMM_MODULE_NAME='gdkmm-2.4' 3233 3234GDKMM_VERSION='2.24.5' 3235 3236GDKMM_API_VERSION='2.4' 3237 3238GDKMM_MAJOR_VERSION=2 3239 3240 3241$as_echo "#define GDKMM_MAJOR_VERSION 2" >>confdefs.h 3242 3243GDKMM_MINOR_VERSION=24 3244 3245 3246$as_echo "#define GDKMM_MINOR_VERSION 24" >>confdefs.h 3247 3248GDKMM_MICRO_VERSION=5 3249 3250 3251$as_echo "#define GDKMM_MICRO_VERSION 5" >>confdefs.h 3252 3253 3254GTKMM_MODULE_NAME='gtkmm-2.4' 3255 3256GTKMM_VERSION='2.24.5' 3257 3258GTKMM_API_VERSION='2.4' 3259 3260GTKMM_MAJOR_VERSION=2 3261 3262 3263$as_echo "#define GTKMM_MAJOR_VERSION 2" >>confdefs.h 3264 3265GTKMM_MINOR_VERSION=24 3266 3267 3268$as_echo "#define GTKMM_MINOR_VERSION 24" >>confdefs.h 3269 3270GTKMM_MICRO_VERSION=5 3271 3272 3273$as_echo "#define GTKMM_MICRO_VERSION 5" >>confdefs.h 3274 3275 3276 3277# Copy the mm-common .pl scripts into docs/, 3278# and use them from there, 3279# so we can dist them to avoid a tarball-build dependency. 3280MMDOCTOOLDIR='${top_srcdir}/docs' 3281 if test 'xdocs' != 'x'; then 3282 DIST_DOCTOOLS_TRUE= 3283 DIST_DOCTOOLS_FALSE='#' 3284else 3285 DIST_DOCTOOLS_TRUE='#' 3286 DIST_DOCTOOLS_FALSE= 3287fi 3288 3289 3290# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html 3291LIBGTKMM_SO_VERSION=2:0:1 3292 3293 3294ac_ext=cpp 3295ac_cpp='$CXXCPP $CPPFLAGS' 3296ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3297ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3298ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3299if test -z "$CXX"; then 3300 if test -n "$CCC"; then 3301 CXX=$CCC 3302 else 3303 if test -n "$ac_tool_prefix"; then 3304 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3305 do 3306 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3307set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3309$as_echo_n "checking for $ac_word... " >&6; } 3310if ${ac_cv_prog_CXX+:} false; then : 3311 $as_echo_n "(cached) " >&6 3312else 3313 if test -n "$CXX"; then 3314 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3315else 3316as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3317for as_dir in $PATH 3318do 3319 IFS=$as_save_IFS 3320 test -z "$as_dir" && as_dir=. 3321 for ac_exec_ext in '' $ac_executable_extensions; do 3322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3323 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3325 break 2 3326 fi 3327done 3328 done 3329IFS=$as_save_IFS 3330 3331fi 3332fi 3333CXX=$ac_cv_prog_CXX 3334if test -n "$CXX"; then 3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3336$as_echo "$CXX" >&6; } 3337else 3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3339$as_echo "no" >&6; } 3340fi 3341 3342 3343 test -n "$CXX" && break 3344 done 3345fi 3346if test -z "$CXX"; then 3347 ac_ct_CXX=$CXX 3348 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3349do 3350 # Extract the first word of "$ac_prog", so it can be a program name with args. 3351set dummy $ac_prog; ac_word=$2 3352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3353$as_echo_n "checking for $ac_word... " >&6; } 3354if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3355 $as_echo_n "(cached) " >&6 3356else 3357 if test -n "$ac_ct_CXX"; then 3358 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3359else 3360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3361for as_dir in $PATH 3362do 3363 IFS=$as_save_IFS 3364 test -z "$as_dir" && as_dir=. 3365 for ac_exec_ext in '' $ac_executable_extensions; do 3366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3367 ac_cv_prog_ac_ct_CXX="$ac_prog" 3368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3369 break 2 3370 fi 3371done 3372 done 3373IFS=$as_save_IFS 3374 3375fi 3376fi 3377ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3378if test -n "$ac_ct_CXX"; then 3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3380$as_echo "$ac_ct_CXX" >&6; } 3381else 3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3383$as_echo "no" >&6; } 3384fi 3385 3386 3387 test -n "$ac_ct_CXX" && break 3388done 3389 3390 if test "x$ac_ct_CXX" = x; then 3391 CXX="g++" 3392 else 3393 case $cross_compiling:$ac_tool_warned in 3394yes:) 3395{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3396$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3397ac_tool_warned=yes ;; 3398esac 3399 CXX=$ac_ct_CXX 3400 fi 3401fi 3402 3403 fi 3404fi 3405# Provide some information about the compiler. 3406$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3407set X $ac_compile 3408ac_compiler=$2 3409for ac_option in --version -v -V -qversion; do 3410 { { ac_try="$ac_compiler $ac_option >&5" 3411case "(($ac_try" in 3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3413 *) ac_try_echo=$ac_try;; 3414esac 3415eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3416$as_echo "$ac_try_echo"; } >&5 3417 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3418 ac_status=$? 3419 if test -s conftest.err; then 3420 sed '10a\ 3421... rest of stderr output deleted ... 3422 10q' conftest.err >conftest.er1 3423 cat conftest.er1 >&5 3424 fi 3425 rm -f conftest.er1 conftest.err 3426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3427 test $ac_status = 0; } 3428done 3429 3430cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3431/* end confdefs.h. */ 3432 3433int 3434main () 3435{ 3436 3437 ; 3438 return 0; 3439} 3440_ACEOF 3441ac_clean_files_save=$ac_clean_files 3442ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3443# Try to create an executable without -o first, disregard a.out. 3444# It will help us diagnose broken compilers, and finding out an intuition 3445# of exeext. 3446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 3447$as_echo_n "checking whether the C++ compiler works... " >&6; } 3448ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3449 3450# The possible output files: 3451ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3452 3453ac_rmfiles= 3454for ac_file in $ac_files 3455do 3456 case $ac_file in 3457 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3458 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3459 esac 3460done 3461rm -f $ac_rmfiles 3462 3463if { { ac_try="$ac_link_default" 3464case "(($ac_try" in 3465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3466 *) ac_try_echo=$ac_try;; 3467esac 3468eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3469$as_echo "$ac_try_echo"; } >&5 3470 (eval "$ac_link_default") 2>&5 3471 ac_status=$? 3472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3473 test $ac_status = 0; }; then : 3474 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3475# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3476# in a Makefile. We should not override ac_cv_exeext if it was cached, 3477# so that the user can short-circuit this test for compilers unknown to 3478# Autoconf. 3479for ac_file in $ac_files '' 3480do 3481 test -f "$ac_file" || continue 3482 case $ac_file in 3483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3484 ;; 3485 [ab].out ) 3486 # We found the default executable, but exeext='' is most 3487 # certainly right. 3488 break;; 3489 *.* ) 3490 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3491 then :; else 3492 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3493 fi 3494 # We set ac_cv_exeext here because the later test for it is not 3495 # safe: cross compilers may not add the suffix if given an `-o' 3496 # argument, so we may need to know it at that point already. 3497 # Even if this section looks crufty: it has the advantage of 3498 # actually working. 3499 break;; 3500 * ) 3501 break;; 3502 esac 3503done 3504test "$ac_cv_exeext" = no && ac_cv_exeext= 3505 3506else 3507 ac_file='' 3508fi 3509if test -z "$ac_file"; then : 3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3511$as_echo "no" >&6; } 3512$as_echo "$as_me: failed program was:" >&5 3513sed 's/^/| /' conftest.$ac_ext >&5 3514 3515{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3516$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3517as_fn_error 77 "C++ compiler cannot create executables 3518See \`config.log' for more details" "$LINENO" 5; } 3519else 3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3521$as_echo "yes" >&6; } 3522fi 3523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 3524$as_echo_n "checking for C++ compiler default output file name... " >&6; } 3525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3526$as_echo "$ac_file" >&6; } 3527ac_exeext=$ac_cv_exeext 3528 3529rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3530ac_clean_files=$ac_clean_files_save 3531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3532$as_echo_n "checking for suffix of executables... " >&6; } 3533if { { ac_try="$ac_link" 3534case "(($ac_try" in 3535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3536 *) ac_try_echo=$ac_try;; 3537esac 3538eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3539$as_echo "$ac_try_echo"; } >&5 3540 (eval "$ac_link") 2>&5 3541 ac_status=$? 3542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3543 test $ac_status = 0; }; then : 3544 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3545# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3546# work properly (i.e., refer to `conftest.exe'), while it won't with 3547# `rm'. 3548for ac_file in conftest.exe conftest conftest.*; do 3549 test -f "$ac_file" || continue 3550 case $ac_file in 3551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3552 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3553 break;; 3554 * ) break;; 3555 esac 3556done 3557else 3558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3559$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3560as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3561See \`config.log' for more details" "$LINENO" 5; } 3562fi 3563rm -f conftest conftest$ac_cv_exeext 3564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3565$as_echo "$ac_cv_exeext" >&6; } 3566 3567rm -f conftest.$ac_ext 3568EXEEXT=$ac_cv_exeext 3569ac_exeext=$EXEEXT 3570cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3571/* end confdefs.h. */ 3572#include <stdio.h> 3573int 3574main () 3575{ 3576FILE *f = fopen ("conftest.out", "w"); 3577 return ferror (f) || fclose (f) != 0; 3578 3579 ; 3580 return 0; 3581} 3582_ACEOF 3583ac_clean_files="$ac_clean_files conftest.out" 3584# Check that the compiler produces executables we can run. If not, either 3585# the compiler is broken, or we cross compile. 3586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3587$as_echo_n "checking whether we are cross compiling... " >&6; } 3588if test "$cross_compiling" != yes; then 3589 { { ac_try="$ac_link" 3590case "(($ac_try" in 3591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3592 *) ac_try_echo=$ac_try;; 3593esac 3594eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3595$as_echo "$ac_try_echo"; } >&5 3596 (eval "$ac_link") 2>&5 3597 ac_status=$? 3598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3599 test $ac_status = 0; } 3600 if { ac_try='./conftest$ac_cv_exeext' 3601 { { case "(($ac_try" in 3602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3603 *) ac_try_echo=$ac_try;; 3604esac 3605eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3606$as_echo "$ac_try_echo"; } >&5 3607 (eval "$ac_try") 2>&5 3608 ac_status=$? 3609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3610 test $ac_status = 0; }; }; then 3611 cross_compiling=no 3612 else 3613 if test "$cross_compiling" = maybe; then 3614 cross_compiling=yes 3615 else 3616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3617$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3618as_fn_error $? "cannot run C++ compiled programs. 3619If you meant to cross compile, use \`--host'. 3620See \`config.log' for more details" "$LINENO" 5; } 3621 fi 3622 fi 3623fi 3624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3625$as_echo "$cross_compiling" >&6; } 3626 3627rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3628ac_clean_files=$ac_clean_files_save 3629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3630$as_echo_n "checking for suffix of object files... " >&6; } 3631if ${ac_cv_objext+:} false; then : 3632 $as_echo_n "(cached) " >&6 3633else 3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3635/* end confdefs.h. */ 3636 3637int 3638main () 3639{ 3640 3641 ; 3642 return 0; 3643} 3644_ACEOF 3645rm -f conftest.o conftest.obj 3646if { { ac_try="$ac_compile" 3647case "(($ac_try" in 3648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3649 *) ac_try_echo=$ac_try;; 3650esac 3651eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3652$as_echo "$ac_try_echo"; } >&5 3653 (eval "$ac_compile") 2>&5 3654 ac_status=$? 3655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3656 test $ac_status = 0; }; then : 3657 for ac_file in conftest.o conftest.obj conftest.*; do 3658 test -f "$ac_file" || continue; 3659 case $ac_file in 3660 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3661 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3662 break;; 3663 esac 3664done 3665else 3666 $as_echo "$as_me: failed program was:" >&5 3667sed 's/^/| /' conftest.$ac_ext >&5 3668 3669{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3670$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3671as_fn_error $? "cannot compute suffix of object files: cannot compile 3672See \`config.log' for more details" "$LINENO" 5; } 3673fi 3674rm -f conftest.$ac_cv_objext conftest.$ac_ext 3675fi 3676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3677$as_echo "$ac_cv_objext" >&6; } 3678OBJEXT=$ac_cv_objext 3679ac_objext=$OBJEXT 3680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3681$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3682if ${ac_cv_cxx_compiler_gnu+:} false; then : 3683 $as_echo_n "(cached) " >&6 3684else 3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3686/* end confdefs.h. */ 3687 3688int 3689main () 3690{ 3691#ifndef __GNUC__ 3692 choke me 3693#endif 3694 3695 ; 3696 return 0; 3697} 3698_ACEOF 3699if ac_fn_cxx_try_compile "$LINENO"; then : 3700 ac_compiler_gnu=yes 3701else 3702 ac_compiler_gnu=no 3703fi 3704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3705ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3706 3707fi 3708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3709$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3710if test $ac_compiler_gnu = yes; then 3711 GXX=yes 3712else 3713 GXX= 3714fi 3715ac_test_CXXFLAGS=${CXXFLAGS+set} 3716ac_save_CXXFLAGS=$CXXFLAGS 3717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3718$as_echo_n "checking whether $CXX accepts -g... " >&6; } 3719if ${ac_cv_prog_cxx_g+:} false; then : 3720 $as_echo_n "(cached) " >&6 3721else 3722 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3723 ac_cxx_werror_flag=yes 3724 ac_cv_prog_cxx_g=no 3725 CXXFLAGS="-g" 3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3727/* end confdefs.h. */ 3728 3729int 3730main () 3731{ 3732 3733 ; 3734 return 0; 3735} 3736_ACEOF 3737if ac_fn_cxx_try_compile "$LINENO"; then : 3738 ac_cv_prog_cxx_g=yes 3739else 3740 CXXFLAGS="" 3741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3742/* end confdefs.h. */ 3743 3744int 3745main () 3746{ 3747 3748 ; 3749 return 0; 3750} 3751_ACEOF 3752if ac_fn_cxx_try_compile "$LINENO"; then : 3753 3754else 3755 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3756 CXXFLAGS="-g" 3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3758/* end confdefs.h. */ 3759 3760int 3761main () 3762{ 3763 3764 ; 3765 return 0; 3766} 3767_ACEOF 3768if ac_fn_cxx_try_compile "$LINENO"; then : 3769 ac_cv_prog_cxx_g=yes 3770fi 3771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3772fi 3773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3774fi 3775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3776 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3777fi 3778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3779$as_echo "$ac_cv_prog_cxx_g" >&6; } 3780if test "$ac_test_CXXFLAGS" = set; then 3781 CXXFLAGS=$ac_save_CXXFLAGS 3782elif test $ac_cv_prog_cxx_g = yes; then 3783 if test "$GXX" = yes; then 3784 CXXFLAGS="-g -O2" 3785 else 3786 CXXFLAGS="-g" 3787 fi 3788else 3789 if test "$GXX" = yes; then 3790 CXXFLAGS="-O2" 3791 else 3792 CXXFLAGS= 3793 fi 3794fi 3795ac_ext=c 3796ac_cpp='$CPP $CPPFLAGS' 3797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3799ac_compiler_gnu=$ac_cv_c_compiler_gnu 3800DEPDIR="${am__leading_dot}deps" 3801 3802ac_config_commands="$ac_config_commands depfiles" 3803 3804 3805am_make=${MAKE-make} 3806cat > confinc << 'END' 3807am__doit: 3808 @echo this is the am__doit target 3809.PHONY: am__doit 3810END 3811# If we don't find an include directive, just comment out the code. 3812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3813$as_echo_n "checking for style of include used by $am_make... " >&6; } 3814am__include="#" 3815am__quote= 3816_am_result=none 3817# First try GNU make style include. 3818echo "include confinc" > confmf 3819# Ignore all kinds of additional output from 'make'. 3820case `$am_make -s -f confmf 2> /dev/null` in #( 3821*the\ am__doit\ target*) 3822 am__include=include 3823 am__quote= 3824 _am_result=GNU 3825 ;; 3826esac 3827# Now try BSD make style include. 3828if test "$am__include" = "#"; then 3829 echo '.include "confinc"' > confmf 3830 case `$am_make -s -f confmf 2> /dev/null` in #( 3831 *the\ am__doit\ target*) 3832 am__include=.include 3833 am__quote="\"" 3834 _am_result=BSD 3835 ;; 3836 esac 3837fi 3838 3839 3840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3841$as_echo "$_am_result" >&6; } 3842rm -f confinc confmf 3843 3844# Check whether --enable-dependency-tracking was given. 3845if test "${enable_dependency_tracking+set}" = set; then : 3846 enableval=$enable_dependency_tracking; 3847fi 3848 3849if test "x$enable_dependency_tracking" != xno; then 3850 am_depcomp="$ac_aux_dir/depcomp" 3851 AMDEPBACKSLASH='\' 3852 am__nodep='_no' 3853fi 3854 if test "x$enable_dependency_tracking" != xno; then 3855 AMDEP_TRUE= 3856 AMDEP_FALSE='#' 3857else 3858 AMDEP_TRUE='#' 3859 AMDEP_FALSE= 3860fi 3861 3862 3863 3864depcc="$CXX" am_compiler_list= 3865 3866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3867$as_echo_n "checking dependency style of $depcc... " >&6; } 3868if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 3869 $as_echo_n "(cached) " >&6 3870else 3871 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3872 # We make a subdir and do the tests there. Otherwise we can end up 3873 # making bogus files that we don't know about and never remove. For 3874 # instance it was reported that on HP-UX the gcc test will end up 3875 # making a dummy file named 'D' -- because '-MD' means "put the output 3876 # in D". 3877 rm -rf conftest.dir 3878 mkdir conftest.dir 3879 # Copy depcomp to subdir because otherwise we won't find it if we're 3880 # using a relative directory. 3881 cp "$am_depcomp" conftest.dir 3882 cd conftest.dir 3883 # We will build objects and dependencies in a subdirectory because 3884 # it helps to detect inapplicable dependency modes. For instance 3885 # both Tru64's cc and ICC support -MD to output dependencies as a 3886 # side effect of compilation, but ICC will put the dependencies in 3887 # the current directory while Tru64 will put them in the object 3888 # directory. 3889 mkdir sub 3890 3891 am_cv_CXX_dependencies_compiler_type=none 3892 if test "$am_compiler_list" = ""; then 3893 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3894 fi 3895 am__universal=false 3896 case " $depcc " in #( 3897 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3898 esac 3899 3900 for depmode in $am_compiler_list; do 3901 # Setup a source with many dependencies, because some compilers 3902 # like to wrap large dependency lists on column 80 (with \), and 3903 # we should not choose a depcomp mode which is confused by this. 3904 # 3905 # We need to recreate these files for each test, as the compiler may 3906 # overwrite some of them when testing with obscure command lines. 3907 # This happens at least with the AIX C compiler. 3908 : > sub/conftest.c 3909 for i in 1 2 3 4 5 6; do 3910 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3911 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3912 # Solaris 10 /bin/sh. 3913 echo '/* dummy */' > sub/conftst$i.h 3914 done 3915 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3916 3917 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3918 # mode. It turns out that the SunPro C++ compiler does not properly 3919 # handle '-M -o', and we need to detect this. Also, some Intel 3920 # versions had trouble with output in subdirs. 3921 am__obj=sub/conftest.${OBJEXT-o} 3922 am__minus_obj="-o $am__obj" 3923 case $depmode in 3924 gcc) 3925 # This depmode causes a compiler race in universal mode. 3926 test "$am__universal" = false || continue 3927 ;; 3928 nosideeffect) 3929 # After this tag, mechanisms are not by side-effect, so they'll 3930 # only be used when explicitly requested. 3931 if test "x$enable_dependency_tracking" = xyes; then 3932 continue 3933 else 3934 break 3935 fi 3936 ;; 3937 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3938 # This compiler won't grok '-c -o', but also, the minuso test has 3939 # not run yet. These depmodes are late enough in the game, and 3940 # so weak that their functioning should not be impacted. 3941 am__obj=conftest.${OBJEXT-o} 3942 am__minus_obj= 3943 ;; 3944 none) break ;; 3945 esac 3946 if depmode=$depmode \ 3947 source=sub/conftest.c object=$am__obj \ 3948 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3949 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3950 >/dev/null 2>conftest.err && 3951 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3952 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3953 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3954 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3955 # icc doesn't choke on unknown options, it will just issue warnings 3956 # or remarks (even with -Werror). So we grep stderr for any message 3957 # that says an option was ignored or not supported. 3958 # When given -MP, icc 7.0 and 7.1 complain thusly: 3959 # icc: Command line warning: ignoring option '-M'; no argument required 3960 # The diagnosis changed in icc 8.0: 3961 # icc: Command line remark: option '-MP' not supported 3962 if (grep 'ignoring option' conftest.err || 3963 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3964 am_cv_CXX_dependencies_compiler_type=$depmode 3965 break 3966 fi 3967 fi 3968 done 3969 3970 cd .. 3971 rm -rf conftest.dir 3972else 3973 am_cv_CXX_dependencies_compiler_type=none 3974fi 3975 3976fi 3977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 3978$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 3979CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 3980 3981 if 3982 test "x$enable_dependency_tracking" != xno \ 3983 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 3984 am__fastdepCXX_TRUE= 3985 am__fastdepCXX_FALSE='#' 3986else 3987 am__fastdepCXX_TRUE='#' 3988 am__fastdepCXX_FALSE= 3989fi 3990 3991 3992 3993 ax_cxx_compile_cxx11_required=false 3994 ac_ext=cpp 3995ac_cpp='$CXXCPP $CPPFLAGS' 3996ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3997ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3998ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3999 ac_success=no 4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5 4001$as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; } 4002if ${ax_cv_cxx_compile_cxx11+:} false; then : 4003 $as_echo_n "(cached) " >&6 4004else 4005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4006/* end confdefs.h. */ 4007 4008 template <typename T> 4009 struct check 4010 { 4011 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 4012 }; 4013 4014 struct Base { 4015 virtual void f() {} 4016 }; 4017 struct Child : public Base { 4018 virtual void f() override {} 4019 }; 4020 4021 typedef check<check<bool>> right_angle_brackets; 4022 4023 int a; 4024 decltype(a) b; 4025 4026 typedef check<int> check_type; 4027 check_type c; 4028 check_type&& cr = static_cast<check_type&&>(c); 4029 4030 auto d = a; 4031 auto l = [](){}; 4032 // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable] 4033 struct use_l { use_l() { l(); } }; 4034 4035 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae 4036 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this 4037 namespace test_template_alias_sfinae { 4038 struct foo {}; 4039 4040 template<typename T> 4041 using member = typename T::member_type; 4042 4043 template<typename T> 4044 void func(...) {} 4045 4046 template<typename T> 4047 void func(member<T>*) {} 4048 4049 void test(); 4050 4051 void test() { 4052 func<foo>(0); 4053 } 4054 } 4055 4056_ACEOF 4057if ac_fn_cxx_try_compile "$LINENO"; then : 4058 ax_cv_cxx_compile_cxx11=yes 4059else 4060 ax_cv_cxx_compile_cxx11=no 4061fi 4062rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4063fi 4064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5 4065$as_echo "$ax_cv_cxx_compile_cxx11" >&6; } 4066 if test x$ax_cv_cxx_compile_cxx11 = xyes; then 4067 ac_success=yes 4068 fi 4069 4070 4071 4072 if test x$ac_success = xno; then 4073 for switch in -std=c++11 -std=c++0x +std=c++11; do 4074 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` 4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 4076$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; } 4077if eval \${$cachevar+:} false; then : 4078 $as_echo_n "(cached) " >&6 4079else 4080 ac_save_CXXFLAGS="$CXXFLAGS" 4081 CXXFLAGS="$CXXFLAGS $switch" 4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4083/* end confdefs.h. */ 4084 4085 template <typename T> 4086 struct check 4087 { 4088 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 4089 }; 4090 4091 struct Base { 4092 virtual void f() {} 4093 }; 4094 struct Child : public Base { 4095 virtual void f() override {} 4096 }; 4097 4098 typedef check<check<bool>> right_angle_brackets; 4099 4100 int a; 4101 decltype(a) b; 4102 4103 typedef check<int> check_type; 4104 check_type c; 4105 check_type&& cr = static_cast<check_type&&>(c); 4106 4107 auto d = a; 4108 auto l = [](){}; 4109 // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable] 4110 struct use_l { use_l() { l(); } }; 4111 4112 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae 4113 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this 4114 namespace test_template_alias_sfinae { 4115 struct foo {}; 4116 4117 template<typename T> 4118 using member = typename T::member_type; 4119 4120 template<typename T> 4121 void func(...) {} 4122 4123 template<typename T> 4124 void func(member<T>*) {} 4125 4126 void test(); 4127 4128 void test() { 4129 func<foo>(0); 4130 } 4131 } 4132 4133_ACEOF 4134if ac_fn_cxx_try_compile "$LINENO"; then : 4135 eval $cachevar=yes 4136else 4137 eval $cachevar=no 4138fi 4139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4140 CXXFLAGS="$ac_save_CXXFLAGS" 4141fi 4142eval ac_res=\$$cachevar 4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 4144$as_echo "$ac_res" >&6; } 4145 if eval test x\$$cachevar = xyes; then 4146 CXXFLAGS="$CXXFLAGS $switch" 4147 ac_success=yes 4148 break 4149 fi 4150 done 4151 fi 4152 ac_ext=c 4153ac_cpp='$CPP $CPPFLAGS' 4154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4156ac_compiler_gnu=$ac_cv_c_compiler_gnu 4157 4158 if test x$ax_cxx_compile_cxx11_required = xtrue; then 4159 if test x$ac_success = xno; then 4160 as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5 4161 fi 4162 else 4163 if test x$ac_success = xno; then 4164 HAVE_CXX11=0 4165 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5 4166$as_echo "$as_me: No compiler with C++11 support was found" >&6;} 4167 else 4168 HAVE_CXX11=1 4169 4170$as_echo "#define HAVE_CXX11 1" >>confdefs.h 4171 4172 fi 4173 4174 4175 fi 4176 4177 4178# Check whether --enable-static was given. 4179if test "${enable_static+set}" = set; then : 4180 enableval=$enable_static; p=${PACKAGE-default} 4181 case $enableval in 4182 yes) enable_static=yes ;; 4183 no) enable_static=no ;; 4184 *) 4185 enable_static=no 4186 # Look at the argument we got. We use all the common list separators. 4187 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 4188 for pkg in $enableval; do 4189 IFS=$lt_save_ifs 4190 if test "X$pkg" = "X$p"; then 4191 enable_static=yes 4192 fi 4193 done 4194 IFS=$lt_save_ifs 4195 ;; 4196 esac 4197else 4198 enable_static=no 4199fi 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209# Make sure we can run config.sub. 4210$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4211 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4212 4213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4214$as_echo_n "checking build system type... " >&6; } 4215if ${ac_cv_build+:} false; then : 4216 $as_echo_n "(cached) " >&6 4217else 4218 ac_build_alias=$build_alias 4219test "x$ac_build_alias" = x && 4220 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4221test "x$ac_build_alias" = x && 4222 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4223ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4224 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4225 4226fi 4227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4228$as_echo "$ac_cv_build" >&6; } 4229case $ac_cv_build in 4230*-*-*) ;; 4231*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4232esac 4233build=$ac_cv_build 4234ac_save_IFS=$IFS; IFS='-' 4235set x $ac_cv_build 4236shift 4237build_cpu=$1 4238build_vendor=$2 4239shift; shift 4240# Remember, the first character of IFS is used to create $*, 4241# except with old shells: 4242build_os=$* 4243IFS=$ac_save_IFS 4244case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4245 4246 4247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4248$as_echo_n "checking host system type... " >&6; } 4249if ${ac_cv_host+:} false; then : 4250 $as_echo_n "(cached) " >&6 4251else 4252 if test "x$host_alias" = x; then 4253 ac_cv_host=$ac_cv_build 4254else 4255 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4256 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4257fi 4258 4259fi 4260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4261$as_echo "$ac_cv_host" >&6; } 4262case $ac_cv_host in 4263*-*-*) ;; 4264*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4265esac 4266host=$ac_cv_host 4267ac_save_IFS=$IFS; IFS='-' 4268set x $ac_cv_host 4269shift 4270host_cpu=$1 4271host_vendor=$2 4272shift; shift 4273# Remember, the first character of IFS is used to create $*, 4274# except with old shells: 4275host_os=$* 4276IFS=$ac_save_IFS 4277case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4278 4279 4280enable_win32_dll=yes 4281 4282case $host in 4283*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 4284 if test -n "$ac_tool_prefix"; then 4285 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 4286set dummy ${ac_tool_prefix}as; ac_word=$2 4287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4288$as_echo_n "checking for $ac_word... " >&6; } 4289if ${ac_cv_prog_AS+:} false; then : 4290 $as_echo_n "(cached) " >&6 4291else 4292 if test -n "$AS"; then 4293 ac_cv_prog_AS="$AS" # Let the user override the test. 4294else 4295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4296for as_dir in $PATH 4297do 4298 IFS=$as_save_IFS 4299 test -z "$as_dir" && as_dir=. 4300 for ac_exec_ext in '' $ac_executable_extensions; do 4301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4302 ac_cv_prog_AS="${ac_tool_prefix}as" 4303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4304 break 2 4305 fi 4306done 4307 done 4308IFS=$as_save_IFS 4309 4310fi 4311fi 4312AS=$ac_cv_prog_AS 4313if test -n "$AS"; then 4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 4315$as_echo "$AS" >&6; } 4316else 4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4318$as_echo "no" >&6; } 4319fi 4320 4321 4322fi 4323if test -z "$ac_cv_prog_AS"; then 4324 ac_ct_AS=$AS 4325 # Extract the first word of "as", so it can be a program name with args. 4326set dummy as; ac_word=$2 4327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4328$as_echo_n "checking for $ac_word... " >&6; } 4329if ${ac_cv_prog_ac_ct_AS+:} false; then : 4330 $as_echo_n "(cached) " >&6 4331else 4332 if test -n "$ac_ct_AS"; then 4333 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 4334else 4335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4336for as_dir in $PATH 4337do 4338 IFS=$as_save_IFS 4339 test -z "$as_dir" && as_dir=. 4340 for ac_exec_ext in '' $ac_executable_extensions; do 4341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4342 ac_cv_prog_ac_ct_AS="as" 4343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4344 break 2 4345 fi 4346done 4347 done 4348IFS=$as_save_IFS 4349 4350fi 4351fi 4352ac_ct_AS=$ac_cv_prog_ac_ct_AS 4353if test -n "$ac_ct_AS"; then 4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 4355$as_echo "$ac_ct_AS" >&6; } 4356else 4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4358$as_echo "no" >&6; } 4359fi 4360 4361 if test "x$ac_ct_AS" = x; then 4362 AS="false" 4363 else 4364 case $cross_compiling:$ac_tool_warned in 4365yes:) 4366{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4367$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4368ac_tool_warned=yes ;; 4369esac 4370 AS=$ac_ct_AS 4371 fi 4372else 4373 AS="$ac_cv_prog_AS" 4374fi 4375 4376 if test -n "$ac_tool_prefix"; then 4377 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4378set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4380$as_echo_n "checking for $ac_word... " >&6; } 4381if ${ac_cv_prog_DLLTOOL+:} false; then : 4382 $as_echo_n "(cached) " >&6 4383else 4384 if test -n "$DLLTOOL"; then 4385 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4386else 4387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4388for as_dir in $PATH 4389do 4390 IFS=$as_save_IFS 4391 test -z "$as_dir" && as_dir=. 4392 for ac_exec_ext in '' $ac_executable_extensions; do 4393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4394 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4396 break 2 4397 fi 4398done 4399 done 4400IFS=$as_save_IFS 4401 4402fi 4403fi 4404DLLTOOL=$ac_cv_prog_DLLTOOL 4405if test -n "$DLLTOOL"; then 4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4407$as_echo "$DLLTOOL" >&6; } 4408else 4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4410$as_echo "no" >&6; } 4411fi 4412 4413 4414fi 4415if test -z "$ac_cv_prog_DLLTOOL"; then 4416 ac_ct_DLLTOOL=$DLLTOOL 4417 # Extract the first word of "dlltool", so it can be a program name with args. 4418set dummy dlltool; ac_word=$2 4419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4420$as_echo_n "checking for $ac_word... " >&6; } 4421if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4422 $as_echo_n "(cached) " >&6 4423else 4424 if test -n "$ac_ct_DLLTOOL"; then 4425 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4426else 4427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4428for as_dir in $PATH 4429do 4430 IFS=$as_save_IFS 4431 test -z "$as_dir" && as_dir=. 4432 for ac_exec_ext in '' $ac_executable_extensions; do 4433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4434 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4436 break 2 4437 fi 4438done 4439 done 4440IFS=$as_save_IFS 4441 4442fi 4443fi 4444ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4445if test -n "$ac_ct_DLLTOOL"; then 4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4447$as_echo "$ac_ct_DLLTOOL" >&6; } 4448else 4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4450$as_echo "no" >&6; } 4451fi 4452 4453 if test "x$ac_ct_DLLTOOL" = x; then 4454 DLLTOOL="false" 4455 else 4456 case $cross_compiling:$ac_tool_warned in 4457yes:) 4458{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4459$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4460ac_tool_warned=yes ;; 4461esac 4462 DLLTOOL=$ac_ct_DLLTOOL 4463 fi 4464else 4465 DLLTOOL="$ac_cv_prog_DLLTOOL" 4466fi 4467 4468 if test -n "$ac_tool_prefix"; then 4469 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4470set dummy ${ac_tool_prefix}objdump; ac_word=$2 4471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4472$as_echo_n "checking for $ac_word... " >&6; } 4473if ${ac_cv_prog_OBJDUMP+:} false; then : 4474 $as_echo_n "(cached) " >&6 4475else 4476 if test -n "$OBJDUMP"; then 4477 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4478else 4479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4480for as_dir in $PATH 4481do 4482 IFS=$as_save_IFS 4483 test -z "$as_dir" && as_dir=. 4484 for ac_exec_ext in '' $ac_executable_extensions; do 4485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4486 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4488 break 2 4489 fi 4490done 4491 done 4492IFS=$as_save_IFS 4493 4494fi 4495fi 4496OBJDUMP=$ac_cv_prog_OBJDUMP 4497if test -n "$OBJDUMP"; then 4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4499$as_echo "$OBJDUMP" >&6; } 4500else 4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4502$as_echo "no" >&6; } 4503fi 4504 4505 4506fi 4507if test -z "$ac_cv_prog_OBJDUMP"; then 4508 ac_ct_OBJDUMP=$OBJDUMP 4509 # Extract the first word of "objdump", so it can be a program name with args. 4510set dummy objdump; ac_word=$2 4511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4512$as_echo_n "checking for $ac_word... " >&6; } 4513if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4514 $as_echo_n "(cached) " >&6 4515else 4516 if test -n "$ac_ct_OBJDUMP"; then 4517 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4518else 4519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4520for as_dir in $PATH 4521do 4522 IFS=$as_save_IFS 4523 test -z "$as_dir" && as_dir=. 4524 for ac_exec_ext in '' $ac_executable_extensions; do 4525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4526 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4528 break 2 4529 fi 4530done 4531 done 4532IFS=$as_save_IFS 4533 4534fi 4535fi 4536ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4537if test -n "$ac_ct_OBJDUMP"; then 4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4539$as_echo "$ac_ct_OBJDUMP" >&6; } 4540else 4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4542$as_echo "no" >&6; } 4543fi 4544 4545 if test "x$ac_ct_OBJDUMP" = x; then 4546 OBJDUMP="false" 4547 else 4548 case $cross_compiling:$ac_tool_warned in 4549yes:) 4550{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4551$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4552ac_tool_warned=yes ;; 4553esac 4554 OBJDUMP=$ac_ct_OBJDUMP 4555 fi 4556else 4557 OBJDUMP="$ac_cv_prog_OBJDUMP" 4558fi 4559 4560 ;; 4561esac 4562 4563test -z "$AS" && AS=as 4564 4565 4566 4567 4568 4569test -z "$DLLTOOL" && DLLTOOL=dlltool 4570 4571 4572 4573 4574 4575test -z "$OBJDUMP" && OBJDUMP=objdump 4576 4577 4578 4579 4580 4581 4582 4583case `pwd` in 4584 *\ * | *\ *) 4585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4586$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4587esac 4588 4589 4590 4591macro_version='2.4.6' 4592macro_revision='2.4.6' 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606ltmain=$ac_aux_dir/ltmain.sh 4607 4608# Backslashify metacharacters that are still active within 4609# double-quoted strings. 4610sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4611 4612# Same as above, but do not quote variable references. 4613double_quote_subst='s/\(["`\\]\)/\\\1/g' 4614 4615# Sed substitution to delay expansion of an escaped shell variable in a 4616# double_quote_subst'ed string. 4617delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4618 4619# Sed substitution to delay expansion of an escaped single quote. 4620delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4621 4622# Sed substitution to avoid accidental globbing in evaled expressions 4623no_glob_subst='s/\*/\\\*/g' 4624 4625ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4626ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4627ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4628 4629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4630$as_echo_n "checking how to print strings... " >&6; } 4631# Test print first, because it will be a builtin if present. 4632if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4633 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4634 ECHO='print -r --' 4635elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4636 ECHO='printf %s\n' 4637else 4638 # Use this function as a fallback that always works. 4639 func_fallback_echo () 4640 { 4641 eval 'cat <<_LTECHO_EOF 4642$1 4643_LTECHO_EOF' 4644 } 4645 ECHO='func_fallback_echo' 4646fi 4647 4648# func_echo_all arg... 4649# Invoke $ECHO with all args, space-separated. 4650func_echo_all () 4651{ 4652 $ECHO "" 4653} 4654 4655case $ECHO in 4656 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4657$as_echo "printf" >&6; } ;; 4658 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4659$as_echo "print -r" >&6; } ;; 4660 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4661$as_echo "cat" >&6; } ;; 4662esac 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677ac_ext=c 4678ac_cpp='$CPP $CPPFLAGS' 4679ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4680ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4681ac_compiler_gnu=$ac_cv_c_compiler_gnu 4682if test -n "$ac_tool_prefix"; then 4683 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4684set dummy ${ac_tool_prefix}gcc; ac_word=$2 4685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4686$as_echo_n "checking for $ac_word... " >&6; } 4687if ${ac_cv_prog_CC+:} false; then : 4688 $as_echo_n "(cached) " >&6 4689else 4690 if test -n "$CC"; then 4691 ac_cv_prog_CC="$CC" # Let the user override the test. 4692else 4693as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4694for as_dir in $PATH 4695do 4696 IFS=$as_save_IFS 4697 test -z "$as_dir" && as_dir=. 4698 for ac_exec_ext in '' $ac_executable_extensions; do 4699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4700 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4702 break 2 4703 fi 4704done 4705 done 4706IFS=$as_save_IFS 4707 4708fi 4709fi 4710CC=$ac_cv_prog_CC 4711if test -n "$CC"; then 4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4713$as_echo "$CC" >&6; } 4714else 4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4716$as_echo "no" >&6; } 4717fi 4718 4719 4720fi 4721if test -z "$ac_cv_prog_CC"; then 4722 ac_ct_CC=$CC 4723 # Extract the first word of "gcc", so it can be a program name with args. 4724set dummy gcc; ac_word=$2 4725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4726$as_echo_n "checking for $ac_word... " >&6; } 4727if ${ac_cv_prog_ac_ct_CC+:} false; then : 4728 $as_echo_n "(cached) " >&6 4729else 4730 if test -n "$ac_ct_CC"; then 4731 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4732else 4733as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4734for as_dir in $PATH 4735do 4736 IFS=$as_save_IFS 4737 test -z "$as_dir" && as_dir=. 4738 for ac_exec_ext in '' $ac_executable_extensions; do 4739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4740 ac_cv_prog_ac_ct_CC="gcc" 4741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4742 break 2 4743 fi 4744done 4745 done 4746IFS=$as_save_IFS 4747 4748fi 4749fi 4750ac_ct_CC=$ac_cv_prog_ac_ct_CC 4751if test -n "$ac_ct_CC"; then 4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4753$as_echo "$ac_ct_CC" >&6; } 4754else 4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4756$as_echo "no" >&6; } 4757fi 4758 4759 if test "x$ac_ct_CC" = x; then 4760 CC="" 4761 else 4762 case $cross_compiling:$ac_tool_warned in 4763yes:) 4764{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4765$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4766ac_tool_warned=yes ;; 4767esac 4768 CC=$ac_ct_CC 4769 fi 4770else 4771 CC="$ac_cv_prog_CC" 4772fi 4773 4774if test -z "$CC"; then 4775 if test -n "$ac_tool_prefix"; then 4776 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4777set dummy ${ac_tool_prefix}cc; ac_word=$2 4778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4779$as_echo_n "checking for $ac_word... " >&6; } 4780if ${ac_cv_prog_CC+:} false; then : 4781 $as_echo_n "(cached) " >&6 4782else 4783 if test -n "$CC"; then 4784 ac_cv_prog_CC="$CC" # Let the user override the test. 4785else 4786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4787for as_dir in $PATH 4788do 4789 IFS=$as_save_IFS 4790 test -z "$as_dir" && as_dir=. 4791 for ac_exec_ext in '' $ac_executable_extensions; do 4792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4793 ac_cv_prog_CC="${ac_tool_prefix}cc" 4794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4795 break 2 4796 fi 4797done 4798 done 4799IFS=$as_save_IFS 4800 4801fi 4802fi 4803CC=$ac_cv_prog_CC 4804if test -n "$CC"; then 4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4806$as_echo "$CC" >&6; } 4807else 4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4809$as_echo "no" >&6; } 4810fi 4811 4812 4813 fi 4814fi 4815if test -z "$CC"; then 4816 # Extract the first word of "cc", so it can be a program name with args. 4817set dummy cc; ac_word=$2 4818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4819$as_echo_n "checking for $ac_word... " >&6; } 4820if ${ac_cv_prog_CC+:} false; then : 4821 $as_echo_n "(cached) " >&6 4822else 4823 if test -n "$CC"; then 4824 ac_cv_prog_CC="$CC" # Let the user override the test. 4825else 4826 ac_prog_rejected=no 4827as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4828for as_dir in $PATH 4829do 4830 IFS=$as_save_IFS 4831 test -z "$as_dir" && as_dir=. 4832 for ac_exec_ext in '' $ac_executable_extensions; do 4833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4834 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4835 ac_prog_rejected=yes 4836 continue 4837 fi 4838 ac_cv_prog_CC="cc" 4839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4840 break 2 4841 fi 4842done 4843 done 4844IFS=$as_save_IFS 4845 4846if test $ac_prog_rejected = yes; then 4847 # We found a bogon in the path, so make sure we never use it. 4848 set dummy $ac_cv_prog_CC 4849 shift 4850 if test $# != 0; then 4851 # We chose a different compiler from the bogus one. 4852 # However, it has the same basename, so the bogon will be chosen 4853 # first if we set CC to just the basename; use the full file name. 4854 shift 4855 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4856 fi 4857fi 4858fi 4859fi 4860CC=$ac_cv_prog_CC 4861if test -n "$CC"; then 4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4863$as_echo "$CC" >&6; } 4864else 4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4866$as_echo "no" >&6; } 4867fi 4868 4869 4870fi 4871if test -z "$CC"; then 4872 if test -n "$ac_tool_prefix"; then 4873 for ac_prog in cl.exe 4874 do 4875 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4876set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4878$as_echo_n "checking for $ac_word... " >&6; } 4879if ${ac_cv_prog_CC+:} false; then : 4880 $as_echo_n "(cached) " >&6 4881else 4882 if test -n "$CC"; then 4883 ac_cv_prog_CC="$CC" # Let the user override the test. 4884else 4885as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4886for as_dir in $PATH 4887do 4888 IFS=$as_save_IFS 4889 test -z "$as_dir" && as_dir=. 4890 for ac_exec_ext in '' $ac_executable_extensions; do 4891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4892 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4894 break 2 4895 fi 4896done 4897 done 4898IFS=$as_save_IFS 4899 4900fi 4901fi 4902CC=$ac_cv_prog_CC 4903if test -n "$CC"; then 4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4905$as_echo "$CC" >&6; } 4906else 4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4908$as_echo "no" >&6; } 4909fi 4910 4911 4912 test -n "$CC" && break 4913 done 4914fi 4915if test -z "$CC"; then 4916 ac_ct_CC=$CC 4917 for ac_prog in cl.exe 4918do 4919 # Extract the first word of "$ac_prog", so it can be a program name with args. 4920set dummy $ac_prog; ac_word=$2 4921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4922$as_echo_n "checking for $ac_word... " >&6; } 4923if ${ac_cv_prog_ac_ct_CC+:} false; then : 4924 $as_echo_n "(cached) " >&6 4925else 4926 if test -n "$ac_ct_CC"; then 4927 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4928else 4929as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4930for as_dir in $PATH 4931do 4932 IFS=$as_save_IFS 4933 test -z "$as_dir" && as_dir=. 4934 for ac_exec_ext in '' $ac_executable_extensions; do 4935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4936 ac_cv_prog_ac_ct_CC="$ac_prog" 4937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4938 break 2 4939 fi 4940done 4941 done 4942IFS=$as_save_IFS 4943 4944fi 4945fi 4946ac_ct_CC=$ac_cv_prog_ac_ct_CC 4947if test -n "$ac_ct_CC"; then 4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4949$as_echo "$ac_ct_CC" >&6; } 4950else 4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4952$as_echo "no" >&6; } 4953fi 4954 4955 4956 test -n "$ac_ct_CC" && break 4957done 4958 4959 if test "x$ac_ct_CC" = x; then 4960 CC="" 4961 else 4962 case $cross_compiling:$ac_tool_warned in 4963yes:) 4964{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4965$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4966ac_tool_warned=yes ;; 4967esac 4968 CC=$ac_ct_CC 4969 fi 4970fi 4971 4972fi 4973 4974 4975test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4976$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4977as_fn_error $? "no acceptable C compiler found in \$PATH 4978See \`config.log' for more details" "$LINENO" 5; } 4979 4980# Provide some information about the compiler. 4981$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4982set X $ac_compile 4983ac_compiler=$2 4984for ac_option in --version -v -V -qversion; do 4985 { { ac_try="$ac_compiler $ac_option >&5" 4986case "(($ac_try" in 4987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4988 *) ac_try_echo=$ac_try;; 4989esac 4990eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4991$as_echo "$ac_try_echo"; } >&5 4992 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4993 ac_status=$? 4994 if test -s conftest.err; then 4995 sed '10a\ 4996... rest of stderr output deleted ... 4997 10q' conftest.err >conftest.er1 4998 cat conftest.er1 >&5 4999 fi 5000 rm -f conftest.er1 conftest.err 5001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5002 test $ac_status = 0; } 5003done 5004 5005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 5006$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5007if ${ac_cv_c_compiler_gnu+:} false; then : 5008 $as_echo_n "(cached) " >&6 5009else 5010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5011/* end confdefs.h. */ 5012 5013int 5014main () 5015{ 5016#ifndef __GNUC__ 5017 choke me 5018#endif 5019 5020 ; 5021 return 0; 5022} 5023_ACEOF 5024if ac_fn_c_try_compile "$LINENO"; then : 5025 ac_compiler_gnu=yes 5026else 5027 ac_compiler_gnu=no 5028fi 5029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5030ac_cv_c_compiler_gnu=$ac_compiler_gnu 5031 5032fi 5033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 5034$as_echo "$ac_cv_c_compiler_gnu" >&6; } 5035if test $ac_compiler_gnu = yes; then 5036 GCC=yes 5037else 5038 GCC= 5039fi 5040ac_test_CFLAGS=${CFLAGS+set} 5041ac_save_CFLAGS=$CFLAGS 5042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5043$as_echo_n "checking whether $CC accepts -g... " >&6; } 5044if ${ac_cv_prog_cc_g+:} false; then : 5045 $as_echo_n "(cached) " >&6 5046else 5047 ac_save_c_werror_flag=$ac_c_werror_flag 5048 ac_c_werror_flag=yes 5049 ac_cv_prog_cc_g=no 5050 CFLAGS="-g" 5051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5052/* end confdefs.h. */ 5053 5054int 5055main () 5056{ 5057 5058 ; 5059 return 0; 5060} 5061_ACEOF 5062if ac_fn_c_try_compile "$LINENO"; then : 5063 ac_cv_prog_cc_g=yes 5064else 5065 CFLAGS="" 5066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5067/* end confdefs.h. */ 5068 5069int 5070main () 5071{ 5072 5073 ; 5074 return 0; 5075} 5076_ACEOF 5077if ac_fn_c_try_compile "$LINENO"; then : 5078 5079else 5080 ac_c_werror_flag=$ac_save_c_werror_flag 5081 CFLAGS="-g" 5082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5083/* end confdefs.h. */ 5084 5085int 5086main () 5087{ 5088 5089 ; 5090 return 0; 5091} 5092_ACEOF 5093if ac_fn_c_try_compile "$LINENO"; then : 5094 ac_cv_prog_cc_g=yes 5095fi 5096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5097fi 5098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5099fi 5100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5101 ac_c_werror_flag=$ac_save_c_werror_flag 5102fi 5103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5104$as_echo "$ac_cv_prog_cc_g" >&6; } 5105if test "$ac_test_CFLAGS" = set; then 5106 CFLAGS=$ac_save_CFLAGS 5107elif test $ac_cv_prog_cc_g = yes; then 5108 if test "$GCC" = yes; then 5109 CFLAGS="-g -O2" 5110 else 5111 CFLAGS="-g" 5112 fi 5113else 5114 if test "$GCC" = yes; then 5115 CFLAGS="-O2" 5116 else 5117 CFLAGS= 5118 fi 5119fi 5120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5121$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5122if ${ac_cv_prog_cc_c89+:} false; then : 5123 $as_echo_n "(cached) " >&6 5124else 5125 ac_cv_prog_cc_c89=no 5126ac_save_CC=$CC 5127cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5128/* end confdefs.h. */ 5129#include <stdarg.h> 5130#include <stdio.h> 5131struct stat; 5132/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5133struct buf { int x; }; 5134FILE * (*rcsopen) (struct buf *, struct stat *, int); 5135static char *e (p, i) 5136 char **p; 5137 int i; 5138{ 5139 return p[i]; 5140} 5141static char *f (char * (*g) (char **, int), char **p, ...) 5142{ 5143 char *s; 5144 va_list v; 5145 va_start (v,p); 5146 s = g (p, va_arg (v,int)); 5147 va_end (v); 5148 return s; 5149} 5150 5151/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5152 function prototypes and stuff, but not '\xHH' hex character constants. 5153 These don't provoke an error unfortunately, instead are silently treated 5154 as 'x'. The following induces an error, until -std is added to get 5155 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5156 array size at least. It's necessary to write '\x00'==0 to get something 5157 that's true only with -std. */ 5158int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5159 5160/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5161 inside strings and character constants. */ 5162#define FOO(x) 'x' 5163int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5164 5165int test (int i, double x); 5166struct s1 {int (*f) (int a);}; 5167struct s2 {int (*f) (double a);}; 5168int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5169int argc; 5170char **argv; 5171int 5172main () 5173{ 5174return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5175 ; 5176 return 0; 5177} 5178_ACEOF 5179for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5180 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5181do 5182 CC="$ac_save_CC $ac_arg" 5183 if ac_fn_c_try_compile "$LINENO"; then : 5184 ac_cv_prog_cc_c89=$ac_arg 5185fi 5186rm -f core conftest.err conftest.$ac_objext 5187 test "x$ac_cv_prog_cc_c89" != "xno" && break 5188done 5189rm -f conftest.$ac_ext 5190CC=$ac_save_CC 5191 5192fi 5193# AC_CACHE_VAL 5194case "x$ac_cv_prog_cc_c89" in 5195 x) 5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5197$as_echo "none needed" >&6; } ;; 5198 xno) 5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5200$as_echo "unsupported" >&6; } ;; 5201 *) 5202 CC="$CC $ac_cv_prog_cc_c89" 5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5204$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5205esac 5206if test "x$ac_cv_prog_cc_c89" != xno; then : 5207 5208fi 5209 5210ac_ext=c 5211ac_cpp='$CPP $CPPFLAGS' 5212ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5213ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5214ac_compiler_gnu=$ac_cv_c_compiler_gnu 5215 5216ac_ext=c 5217ac_cpp='$CPP $CPPFLAGS' 5218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5220ac_compiler_gnu=$ac_cv_c_compiler_gnu 5221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 5222$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 5223if ${am_cv_prog_cc_c_o+:} false; then : 5224 $as_echo_n "(cached) " >&6 5225else 5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5227/* end confdefs.h. */ 5228 5229int 5230main () 5231{ 5232 5233 ; 5234 return 0; 5235} 5236_ACEOF 5237 # Make sure it works both with $CC and with simple cc. 5238 # Following AC_PROG_CC_C_O, we do the test twice because some 5239 # compilers refuse to overwrite an existing .o file with -o, 5240 # though they will create one. 5241 am_cv_prog_cc_c_o=yes 5242 for am_i in 1 2; do 5243 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5244 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5245 ac_status=$? 5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5247 (exit $ac_status); } \ 5248 && test -f conftest2.$ac_objext; then 5249 : OK 5250 else 5251 am_cv_prog_cc_c_o=no 5252 break 5253 fi 5254 done 5255 rm -f core conftest* 5256 unset am_i 5257fi 5258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5259$as_echo "$am_cv_prog_cc_c_o" >&6; } 5260if test "$am_cv_prog_cc_c_o" != yes; then 5261 # Losing compiler, so override with the script. 5262 # FIXME: It is wrong to rewrite CC. 5263 # But if we don't then we get into trouble of one sort or another. 5264 # A longer-term fix would be to have automake use am__CC in this case, 5265 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5266 CC="$am_aux_dir/compile $CC" 5267fi 5268ac_ext=c 5269ac_cpp='$CPP $CPPFLAGS' 5270ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5271ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5272ac_compiler_gnu=$ac_cv_c_compiler_gnu 5273 5274 5275depcc="$CC" am_compiler_list= 5276 5277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5278$as_echo_n "checking dependency style of $depcc... " >&6; } 5279if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5280 $as_echo_n "(cached) " >&6 5281else 5282 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5283 # We make a subdir and do the tests there. Otherwise we can end up 5284 # making bogus files that we don't know about and never remove. For 5285 # instance it was reported that on HP-UX the gcc test will end up 5286 # making a dummy file named 'D' -- because '-MD' means "put the output 5287 # in D". 5288 rm -rf conftest.dir 5289 mkdir conftest.dir 5290 # Copy depcomp to subdir because otherwise we won't find it if we're 5291 # using a relative directory. 5292 cp "$am_depcomp" conftest.dir 5293 cd conftest.dir 5294 # We will build objects and dependencies in a subdirectory because 5295 # it helps to detect inapplicable dependency modes. For instance 5296 # both Tru64's cc and ICC support -MD to output dependencies as a 5297 # side effect of compilation, but ICC will put the dependencies in 5298 # the current directory while Tru64 will put them in the object 5299 # directory. 5300 mkdir sub 5301 5302 am_cv_CC_dependencies_compiler_type=none 5303 if test "$am_compiler_list" = ""; then 5304 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5305 fi 5306 am__universal=false 5307 case " $depcc " in #( 5308 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5309 esac 5310 5311 for depmode in $am_compiler_list; do 5312 # Setup a source with many dependencies, because some compilers 5313 # like to wrap large dependency lists on column 80 (with \), and 5314 # we should not choose a depcomp mode which is confused by this. 5315 # 5316 # We need to recreate these files for each test, as the compiler may 5317 # overwrite some of them when testing with obscure command lines. 5318 # This happens at least with the AIX C compiler. 5319 : > sub/conftest.c 5320 for i in 1 2 3 4 5 6; do 5321 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5322 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5323 # Solaris 10 /bin/sh. 5324 echo '/* dummy */' > sub/conftst$i.h 5325 done 5326 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5327 5328 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5329 # mode. It turns out that the SunPro C++ compiler does not properly 5330 # handle '-M -o', and we need to detect this. Also, some Intel 5331 # versions had trouble with output in subdirs. 5332 am__obj=sub/conftest.${OBJEXT-o} 5333 am__minus_obj="-o $am__obj" 5334 case $depmode in 5335 gcc) 5336 # This depmode causes a compiler race in universal mode. 5337 test "$am__universal" = false || continue 5338 ;; 5339 nosideeffect) 5340 # After this tag, mechanisms are not by side-effect, so they'll 5341 # only be used when explicitly requested. 5342 if test "x$enable_dependency_tracking" = xyes; then 5343 continue 5344 else 5345 break 5346 fi 5347 ;; 5348 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5349 # This compiler won't grok '-c -o', but also, the minuso test has 5350 # not run yet. These depmodes are late enough in the game, and 5351 # so weak that their functioning should not be impacted. 5352 am__obj=conftest.${OBJEXT-o} 5353 am__minus_obj= 5354 ;; 5355 none) break ;; 5356 esac 5357 if depmode=$depmode \ 5358 source=sub/conftest.c object=$am__obj \ 5359 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5360 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5361 >/dev/null 2>conftest.err && 5362 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5363 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5364 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5365 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5366 # icc doesn't choke on unknown options, it will just issue warnings 5367 # or remarks (even with -Werror). So we grep stderr for any message 5368 # that says an option was ignored or not supported. 5369 # When given -MP, icc 7.0 and 7.1 complain thusly: 5370 # icc: Command line warning: ignoring option '-M'; no argument required 5371 # The diagnosis changed in icc 8.0: 5372 # icc: Command line remark: option '-MP' not supported 5373 if (grep 'ignoring option' conftest.err || 5374 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5375 am_cv_CC_dependencies_compiler_type=$depmode 5376 break 5377 fi 5378 fi 5379 done 5380 5381 cd .. 5382 rm -rf conftest.dir 5383else 5384 am_cv_CC_dependencies_compiler_type=none 5385fi 5386 5387fi 5388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5389$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5390CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5391 5392 if 5393 test "x$enable_dependency_tracking" != xno \ 5394 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5395 am__fastdepCC_TRUE= 5396 am__fastdepCC_FALSE='#' 5397else 5398 am__fastdepCC_TRUE='#' 5399 am__fastdepCC_FALSE= 5400fi 5401 5402 5403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5404$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5405if ${ac_cv_path_SED+:} false; then : 5406 $as_echo_n "(cached) " >&6 5407else 5408 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5409 for ac_i in 1 2 3 4 5 6 7; do 5410 ac_script="$ac_script$as_nl$ac_script" 5411 done 5412 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5413 { ac_script=; unset ac_script;} 5414 if test -z "$SED"; then 5415 ac_path_SED_found=false 5416 # Loop through the user's path and test for each of PROGNAME-LIST 5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5418for as_dir in $PATH 5419do 5420 IFS=$as_save_IFS 5421 test -z "$as_dir" && as_dir=. 5422 for ac_prog in sed gsed; do 5423 for ac_exec_ext in '' $ac_executable_extensions; do 5424 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5425 as_fn_executable_p "$ac_path_SED" || continue 5426# Check for GNU ac_path_SED and select it if it is found. 5427 # Check for GNU $ac_path_SED 5428case `"$ac_path_SED" --version 2>&1` in 5429*GNU*) 5430 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5431*) 5432 ac_count=0 5433 $as_echo_n 0123456789 >"conftest.in" 5434 while : 5435 do 5436 cat "conftest.in" "conftest.in" >"conftest.tmp" 5437 mv "conftest.tmp" "conftest.in" 5438 cp "conftest.in" "conftest.nl" 5439 $as_echo '' >> "conftest.nl" 5440 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5441 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5442 as_fn_arith $ac_count + 1 && ac_count=$as_val 5443 if test $ac_count -gt ${ac_path_SED_max-0}; then 5444 # Best one so far, save it but keep looking for a better one 5445 ac_cv_path_SED="$ac_path_SED" 5446 ac_path_SED_max=$ac_count 5447 fi 5448 # 10*(2^10) chars as input seems more than enough 5449 test $ac_count -gt 10 && break 5450 done 5451 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5452esac 5453 5454 $ac_path_SED_found && break 3 5455 done 5456 done 5457 done 5458IFS=$as_save_IFS 5459 if test -z "$ac_cv_path_SED"; then 5460 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5461 fi 5462else 5463 ac_cv_path_SED=$SED 5464fi 5465 5466fi 5467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5468$as_echo "$ac_cv_path_SED" >&6; } 5469 SED="$ac_cv_path_SED" 5470 rm -f conftest.sed 5471 5472test -z "$SED" && SED=sed 5473Xsed="$SED -e 1s/^X//" 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5486$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5487if ${ac_cv_path_GREP+:} false; then : 5488 $as_echo_n "(cached) " >&6 5489else 5490 if test -z "$GREP"; then 5491 ac_path_GREP_found=false 5492 # Loop through the user's path and test for each of PROGNAME-LIST 5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5494for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5495do 5496 IFS=$as_save_IFS 5497 test -z "$as_dir" && as_dir=. 5498 for ac_prog in grep ggrep; do 5499 for ac_exec_ext in '' $ac_executable_extensions; do 5500 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5501 as_fn_executable_p "$ac_path_GREP" || continue 5502# Check for GNU ac_path_GREP and select it if it is found. 5503 # Check for GNU $ac_path_GREP 5504case `"$ac_path_GREP" --version 2>&1` in 5505*GNU*) 5506 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5507*) 5508 ac_count=0 5509 $as_echo_n 0123456789 >"conftest.in" 5510 while : 5511 do 5512 cat "conftest.in" "conftest.in" >"conftest.tmp" 5513 mv "conftest.tmp" "conftest.in" 5514 cp "conftest.in" "conftest.nl" 5515 $as_echo 'GREP' >> "conftest.nl" 5516 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5517 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5518 as_fn_arith $ac_count + 1 && ac_count=$as_val 5519 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5520 # Best one so far, save it but keep looking for a better one 5521 ac_cv_path_GREP="$ac_path_GREP" 5522 ac_path_GREP_max=$ac_count 5523 fi 5524 # 10*(2^10) chars as input seems more than enough 5525 test $ac_count -gt 10 && break 5526 done 5527 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5528esac 5529 5530 $ac_path_GREP_found && break 3 5531 done 5532 done 5533 done 5534IFS=$as_save_IFS 5535 if test -z "$ac_cv_path_GREP"; then 5536 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5537 fi 5538else 5539 ac_cv_path_GREP=$GREP 5540fi 5541 5542fi 5543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5544$as_echo "$ac_cv_path_GREP" >&6; } 5545 GREP="$ac_cv_path_GREP" 5546 5547 5548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5549$as_echo_n "checking for egrep... " >&6; } 5550if ${ac_cv_path_EGREP+:} false; then : 5551 $as_echo_n "(cached) " >&6 5552else 5553 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5554 then ac_cv_path_EGREP="$GREP -E" 5555 else 5556 if test -z "$EGREP"; then 5557 ac_path_EGREP_found=false 5558 # Loop through the user's path and test for each of PROGNAME-LIST 5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5560for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5561do 5562 IFS=$as_save_IFS 5563 test -z "$as_dir" && as_dir=. 5564 for ac_prog in egrep; do 5565 for ac_exec_ext in '' $ac_executable_extensions; do 5566 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5567 as_fn_executable_p "$ac_path_EGREP" || continue 5568# Check for GNU ac_path_EGREP and select it if it is found. 5569 # Check for GNU $ac_path_EGREP 5570case `"$ac_path_EGREP" --version 2>&1` in 5571*GNU*) 5572 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5573*) 5574 ac_count=0 5575 $as_echo_n 0123456789 >"conftest.in" 5576 while : 5577 do 5578 cat "conftest.in" "conftest.in" >"conftest.tmp" 5579 mv "conftest.tmp" "conftest.in" 5580 cp "conftest.in" "conftest.nl" 5581 $as_echo 'EGREP' >> "conftest.nl" 5582 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5583 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5584 as_fn_arith $ac_count + 1 && ac_count=$as_val 5585 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5586 # Best one so far, save it but keep looking for a better one 5587 ac_cv_path_EGREP="$ac_path_EGREP" 5588 ac_path_EGREP_max=$ac_count 5589 fi 5590 # 10*(2^10) chars as input seems more than enough 5591 test $ac_count -gt 10 && break 5592 done 5593 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5594esac 5595 5596 $ac_path_EGREP_found && break 3 5597 done 5598 done 5599 done 5600IFS=$as_save_IFS 5601 if test -z "$ac_cv_path_EGREP"; then 5602 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5603 fi 5604else 5605 ac_cv_path_EGREP=$EGREP 5606fi 5607 5608 fi 5609fi 5610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5611$as_echo "$ac_cv_path_EGREP" >&6; } 5612 EGREP="$ac_cv_path_EGREP" 5613 5614 5615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5616$as_echo_n "checking for fgrep... " >&6; } 5617if ${ac_cv_path_FGREP+:} false; then : 5618 $as_echo_n "(cached) " >&6 5619else 5620 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5621 then ac_cv_path_FGREP="$GREP -F" 5622 else 5623 if test -z "$FGREP"; then 5624 ac_path_FGREP_found=false 5625 # Loop through the user's path and test for each of PROGNAME-LIST 5626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5627for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5628do 5629 IFS=$as_save_IFS 5630 test -z "$as_dir" && as_dir=. 5631 for ac_prog in fgrep; do 5632 for ac_exec_ext in '' $ac_executable_extensions; do 5633 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5634 as_fn_executable_p "$ac_path_FGREP" || continue 5635# Check for GNU ac_path_FGREP and select it if it is found. 5636 # Check for GNU $ac_path_FGREP 5637case `"$ac_path_FGREP" --version 2>&1` in 5638*GNU*) 5639 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5640*) 5641 ac_count=0 5642 $as_echo_n 0123456789 >"conftest.in" 5643 while : 5644 do 5645 cat "conftest.in" "conftest.in" >"conftest.tmp" 5646 mv "conftest.tmp" "conftest.in" 5647 cp "conftest.in" "conftest.nl" 5648 $as_echo 'FGREP' >> "conftest.nl" 5649 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5650 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5651 as_fn_arith $ac_count + 1 && ac_count=$as_val 5652 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5653 # Best one so far, save it but keep looking for a better one 5654 ac_cv_path_FGREP="$ac_path_FGREP" 5655 ac_path_FGREP_max=$ac_count 5656 fi 5657 # 10*(2^10) chars as input seems more than enough 5658 test $ac_count -gt 10 && break 5659 done 5660 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5661esac 5662 5663 $ac_path_FGREP_found && break 3 5664 done 5665 done 5666 done 5667IFS=$as_save_IFS 5668 if test -z "$ac_cv_path_FGREP"; then 5669 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5670 fi 5671else 5672 ac_cv_path_FGREP=$FGREP 5673fi 5674 5675 fi 5676fi 5677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5678$as_echo "$ac_cv_path_FGREP" >&6; } 5679 FGREP="$ac_cv_path_FGREP" 5680 5681 5682test -z "$GREP" && GREP=grep 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702# Check whether --with-gnu-ld was given. 5703if test "${with_gnu_ld+set}" = set; then : 5704 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5705else 5706 with_gnu_ld=no 5707fi 5708 5709ac_prog=ld 5710if test yes = "$GCC"; then 5711 # Check if gcc -print-prog-name=ld gives a path. 5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5713$as_echo_n "checking for ld used by $CC... " >&6; } 5714 case $host in 5715 *-*-mingw*) 5716 # gcc leaves a trailing carriage return, which upsets mingw 5717 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5718 *) 5719 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5720 esac 5721 case $ac_prog in 5722 # Accept absolute paths. 5723 [\\/]* | ?:[\\/]*) 5724 re_direlt='/[^/][^/]*/\.\./' 5725 # Canonicalize the pathname of ld 5726 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5727 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5728 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5729 done 5730 test -z "$LD" && LD=$ac_prog 5731 ;; 5732 "") 5733 # If it fails, then pretend we aren't using GCC. 5734 ac_prog=ld 5735 ;; 5736 *) 5737 # If it is relative, then search for the first ld in PATH. 5738 with_gnu_ld=unknown 5739 ;; 5740 esac 5741elif test yes = "$with_gnu_ld"; then 5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5743$as_echo_n "checking for GNU ld... " >&6; } 5744else 5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5746$as_echo_n "checking for non-GNU ld... " >&6; } 5747fi 5748if ${lt_cv_path_LD+:} false; then : 5749 $as_echo_n "(cached) " >&6 5750else 5751 if test -z "$LD"; then 5752 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5753 for ac_dir in $PATH; do 5754 IFS=$lt_save_ifs 5755 test -z "$ac_dir" && ac_dir=. 5756 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5757 lt_cv_path_LD=$ac_dir/$ac_prog 5758 # Check to see if the program is GNU ld. I'd rather use --version, 5759 # but apparently some variants of GNU ld only accept -v. 5760 # Break only if it was the GNU/non-GNU ld that we prefer. 5761 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5762 *GNU* | *'with BFD'*) 5763 test no != "$with_gnu_ld" && break 5764 ;; 5765 *) 5766 test yes != "$with_gnu_ld" && break 5767 ;; 5768 esac 5769 fi 5770 done 5771 IFS=$lt_save_ifs 5772else 5773 lt_cv_path_LD=$LD # Let the user override the test with a path. 5774fi 5775fi 5776 5777LD=$lt_cv_path_LD 5778if test -n "$LD"; then 5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5780$as_echo "$LD" >&6; } 5781else 5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5783$as_echo "no" >&6; } 5784fi 5785test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5787$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5788if ${lt_cv_prog_gnu_ld+:} false; then : 5789 $as_echo_n "(cached) " >&6 5790else 5791 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5792case `$LD -v 2>&1 </dev/null` in 5793*GNU* | *'with BFD'*) 5794 lt_cv_prog_gnu_ld=yes 5795 ;; 5796*) 5797 lt_cv_prog_gnu_ld=no 5798 ;; 5799esac 5800fi 5801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5802$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5803with_gnu_ld=$lt_cv_prog_gnu_ld 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5814$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5815if ${lt_cv_path_NM+:} false; then : 5816 $as_echo_n "(cached) " >&6 5817else 5818 if test -n "$NM"; then 5819 # Let the user override the test. 5820 lt_cv_path_NM=$NM 5821else 5822 lt_nm_to_check=${ac_tool_prefix}nm 5823 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5824 lt_nm_to_check="$lt_nm_to_check nm" 5825 fi 5826 for lt_tmp_nm in $lt_nm_to_check; do 5827 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5828 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5829 IFS=$lt_save_ifs 5830 test -z "$ac_dir" && ac_dir=. 5831 tmp_nm=$ac_dir/$lt_tmp_nm 5832 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5833 # Check to see if the nm accepts a BSD-compat flag. 5834 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5835 # nm: unknown option "B" ignored 5836 # Tru64's nm complains that /dev/null is an invalid object file 5837 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5838 case $build_os in 5839 mingw*) lt_bad_file=conftest.nm/nofile ;; 5840 *) lt_bad_file=/dev/null ;; 5841 esac 5842 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5843 *$lt_bad_file* | *'Invalid file or object type'*) 5844 lt_cv_path_NM="$tmp_nm -B" 5845 break 2 5846 ;; 5847 *) 5848 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5849 */dev/null*) 5850 lt_cv_path_NM="$tmp_nm -p" 5851 break 2 5852 ;; 5853 *) 5854 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5855 continue # so that we can try to find one that supports BSD flags 5856 ;; 5857 esac 5858 ;; 5859 esac 5860 fi 5861 done 5862 IFS=$lt_save_ifs 5863 done 5864 : ${lt_cv_path_NM=no} 5865fi 5866fi 5867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5868$as_echo "$lt_cv_path_NM" >&6; } 5869if test no != "$lt_cv_path_NM"; then 5870 NM=$lt_cv_path_NM 5871else 5872 # Didn't find any BSD compatible name lister, look for dumpbin. 5873 if test -n "$DUMPBIN"; then : 5874 # Let the user override the test. 5875 else 5876 if test -n "$ac_tool_prefix"; then 5877 for ac_prog in dumpbin "link -dump" 5878 do 5879 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5880set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5882$as_echo_n "checking for $ac_word... " >&6; } 5883if ${ac_cv_prog_DUMPBIN+:} false; then : 5884 $as_echo_n "(cached) " >&6 5885else 5886 if test -n "$DUMPBIN"; then 5887 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5888else 5889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5890for as_dir in $PATH 5891do 5892 IFS=$as_save_IFS 5893 test -z "$as_dir" && as_dir=. 5894 for ac_exec_ext in '' $ac_executable_extensions; do 5895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5896 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5898 break 2 5899 fi 5900done 5901 done 5902IFS=$as_save_IFS 5903 5904fi 5905fi 5906DUMPBIN=$ac_cv_prog_DUMPBIN 5907if test -n "$DUMPBIN"; then 5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5909$as_echo "$DUMPBIN" >&6; } 5910else 5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5912$as_echo "no" >&6; } 5913fi 5914 5915 5916 test -n "$DUMPBIN" && break 5917 done 5918fi 5919if test -z "$DUMPBIN"; then 5920 ac_ct_DUMPBIN=$DUMPBIN 5921 for ac_prog in dumpbin "link -dump" 5922do 5923 # Extract the first word of "$ac_prog", so it can be a program name with args. 5924set dummy $ac_prog; ac_word=$2 5925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5926$as_echo_n "checking for $ac_word... " >&6; } 5927if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5928 $as_echo_n "(cached) " >&6 5929else 5930 if test -n "$ac_ct_DUMPBIN"; then 5931 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5932else 5933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5934for as_dir in $PATH 5935do 5936 IFS=$as_save_IFS 5937 test -z "$as_dir" && as_dir=. 5938 for ac_exec_ext in '' $ac_executable_extensions; do 5939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5940 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5942 break 2 5943 fi 5944done 5945 done 5946IFS=$as_save_IFS 5947 5948fi 5949fi 5950ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5951if test -n "$ac_ct_DUMPBIN"; then 5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5953$as_echo "$ac_ct_DUMPBIN" >&6; } 5954else 5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5956$as_echo "no" >&6; } 5957fi 5958 5959 5960 test -n "$ac_ct_DUMPBIN" && break 5961done 5962 5963 if test "x$ac_ct_DUMPBIN" = x; then 5964 DUMPBIN=":" 5965 else 5966 case $cross_compiling:$ac_tool_warned in 5967yes:) 5968{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5969$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5970ac_tool_warned=yes ;; 5971esac 5972 DUMPBIN=$ac_ct_DUMPBIN 5973 fi 5974fi 5975 5976 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5977 *COFF*) 5978 DUMPBIN="$DUMPBIN -symbols -headers" 5979 ;; 5980 *) 5981 DUMPBIN=: 5982 ;; 5983 esac 5984 fi 5985 5986 if test : != "$DUMPBIN"; then 5987 NM=$DUMPBIN 5988 fi 5989fi 5990test -z "$NM" && NM=nm 5991 5992 5993 5994 5995 5996 5997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5998$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5999if ${lt_cv_nm_interface+:} false; then : 6000 $as_echo_n "(cached) " >&6 6001else 6002 lt_cv_nm_interface="BSD nm" 6003 echo "int some_variable = 0;" > conftest.$ac_ext 6004 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 6005 (eval "$ac_compile" 2>conftest.err) 6006 cat conftest.err >&5 6007 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6008 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6009 cat conftest.err >&5 6010 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 6011 cat conftest.out >&5 6012 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6013 lt_cv_nm_interface="MS dumpbin" 6014 fi 6015 rm -f conftest* 6016fi 6017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6018$as_echo "$lt_cv_nm_interface" >&6; } 6019 6020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6021$as_echo_n "checking whether ln -s works... " >&6; } 6022LN_S=$as_ln_s 6023if test "$LN_S" = "ln -s"; then 6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6025$as_echo "yes" >&6; } 6026else 6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6028$as_echo "no, using $LN_S" >&6; } 6029fi 6030 6031# find the maximum length of command line arguments 6032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6033$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6034if ${lt_cv_sys_max_cmd_len+:} false; then : 6035 $as_echo_n "(cached) " >&6 6036else 6037 i=0 6038 teststring=ABCD 6039 6040 case $build_os in 6041 msdosdjgpp*) 6042 # On DJGPP, this test can blow up pretty badly due to problems in libc 6043 # (any single argument exceeding 2000 bytes causes a buffer overrun 6044 # during glob expansion). Even if it were fixed, the result of this 6045 # check would be larger than it should be. 6046 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6047 ;; 6048 6049 gnu*) 6050 # Under GNU Hurd, this test is not required because there is 6051 # no limit to the length of command line arguments. 6052 # Libtool will interpret -1 as no limit whatsoever 6053 lt_cv_sys_max_cmd_len=-1; 6054 ;; 6055 6056 cygwin* | mingw* | cegcc*) 6057 # On Win9x/ME, this test blows up -- it succeeds, but takes 6058 # about 5 minutes as the teststring grows exponentially. 6059 # Worse, since 9x/ME are not pre-emptively multitasking, 6060 # you end up with a "frozen" computer, even though with patience 6061 # the test eventually succeeds (with a max line length of 256k). 6062 # Instead, let's just punt: use the minimum linelength reported by 6063 # all of the supported platforms: 8192 (on NT/2K/XP). 6064 lt_cv_sys_max_cmd_len=8192; 6065 ;; 6066 6067 mint*) 6068 # On MiNT this can take a long time and run out of memory. 6069 lt_cv_sys_max_cmd_len=8192; 6070 ;; 6071 6072 amigaos*) 6073 # On AmigaOS with pdksh, this test takes hours, literally. 6074 # So we just punt and use a minimum line length of 8192. 6075 lt_cv_sys_max_cmd_len=8192; 6076 ;; 6077 6078 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 6079 # This has been around since 386BSD, at least. Likely further. 6080 if test -x /sbin/sysctl; then 6081 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6082 elif test -x /usr/sbin/sysctl; then 6083 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6084 else 6085 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6086 fi 6087 # And add a safety zone 6088 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6089 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6090 ;; 6091 6092 interix*) 6093 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6094 lt_cv_sys_max_cmd_len=196608 6095 ;; 6096 6097 os2*) 6098 # The test takes a long time on OS/2. 6099 lt_cv_sys_max_cmd_len=8192 6100 ;; 6101 6102 osf*) 6103 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6104 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6105 # nice to cause kernel panics so lets avoid the loop below. 6106 # First set a reasonable default. 6107 lt_cv_sys_max_cmd_len=16384 6108 # 6109 if test -x /sbin/sysconfig; then 6110 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6111 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6112 esac 6113 fi 6114 ;; 6115 sco3.2v5*) 6116 lt_cv_sys_max_cmd_len=102400 6117 ;; 6118 sysv5* | sco5v6* | sysv4.2uw2*) 6119 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6120 if test -n "$kargmax"; then 6121 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6122 else 6123 lt_cv_sys_max_cmd_len=32768 6124 fi 6125 ;; 6126 *) 6127 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6128 if test -n "$lt_cv_sys_max_cmd_len" && \ 6129 test undefined != "$lt_cv_sys_max_cmd_len"; then 6130 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6131 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6132 else 6133 # Make teststring a little bigger before we do anything with it. 6134 # a 1K string should be a reasonable start. 6135 for i in 1 2 3 4 5 6 7 8; do 6136 teststring=$teststring$teststring 6137 done 6138 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6139 # If test is not a shell built-in, we'll probably end up computing a 6140 # maximum length that is only half of the actual maximum length, but 6141 # we can't tell. 6142 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 6143 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6144 test 17 != "$i" # 1/2 MB should be enough 6145 do 6146 i=`expr $i + 1` 6147 teststring=$teststring$teststring 6148 done 6149 # Only check the string length outside the loop. 6150 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6151 teststring= 6152 # Add a significant safety factor because C++ compilers can tack on 6153 # massive amounts of additional arguments before passing them to the 6154 # linker. It appears as though 1/2 is a usable value. 6155 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6156 fi 6157 ;; 6158 esac 6159 6160fi 6161 6162if test -n "$lt_cv_sys_max_cmd_len"; then 6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6164$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6165else 6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6167$as_echo "none" >&6; } 6168fi 6169max_cmd_len=$lt_cv_sys_max_cmd_len 6170 6171 6172 6173 6174 6175 6176: ${CP="cp -f"} 6177: ${MV="mv -f"} 6178: ${RM="rm -f"} 6179 6180if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6181 lt_unset=unset 6182else 6183 lt_unset=false 6184fi 6185 6186 6187 6188 6189 6190# test EBCDIC or ASCII 6191case `echo X|tr X '\101'` in 6192 A) # ASCII based system 6193 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6194 lt_SP2NL='tr \040 \012' 6195 lt_NL2SP='tr \015\012 \040\040' 6196 ;; 6197 *) # EBCDIC based system 6198 lt_SP2NL='tr \100 \n' 6199 lt_NL2SP='tr \r\n \100\100' 6200 ;; 6201esac 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6212$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6213if ${lt_cv_to_host_file_cmd+:} false; then : 6214 $as_echo_n "(cached) " >&6 6215else 6216 case $host in 6217 *-*-mingw* ) 6218 case $build in 6219 *-*-mingw* ) # actually msys 6220 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6221 ;; 6222 *-*-cygwin* ) 6223 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6224 ;; 6225 * ) # otherwise, assume *nix 6226 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6227 ;; 6228 esac 6229 ;; 6230 *-*-cygwin* ) 6231 case $build in 6232 *-*-mingw* ) # actually msys 6233 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6234 ;; 6235 *-*-cygwin* ) 6236 lt_cv_to_host_file_cmd=func_convert_file_noop 6237 ;; 6238 * ) # otherwise, assume *nix 6239 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6240 ;; 6241 esac 6242 ;; 6243 * ) # unhandled hosts (and "normal" native builds) 6244 lt_cv_to_host_file_cmd=func_convert_file_noop 6245 ;; 6246esac 6247 6248fi 6249 6250to_host_file_cmd=$lt_cv_to_host_file_cmd 6251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6252$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6253 6254 6255 6256 6257 6258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6259$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6260if ${lt_cv_to_tool_file_cmd+:} false; then : 6261 $as_echo_n "(cached) " >&6 6262else 6263 #assume ordinary cross tools, or native build. 6264lt_cv_to_tool_file_cmd=func_convert_file_noop 6265case $host in 6266 *-*-mingw* ) 6267 case $build in 6268 *-*-mingw* ) # actually msys 6269 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6270 ;; 6271 esac 6272 ;; 6273esac 6274 6275fi 6276 6277to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6279$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6280 6281 6282 6283 6284 6285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6286$as_echo_n "checking for $LD option to reload object files... " >&6; } 6287if ${lt_cv_ld_reload_flag+:} false; then : 6288 $as_echo_n "(cached) " >&6 6289else 6290 lt_cv_ld_reload_flag='-r' 6291fi 6292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6293$as_echo "$lt_cv_ld_reload_flag" >&6; } 6294reload_flag=$lt_cv_ld_reload_flag 6295case $reload_flag in 6296"" | " "*) ;; 6297*) reload_flag=" $reload_flag" ;; 6298esac 6299reload_cmds='$LD$reload_flag -o $output$reload_objs' 6300case $host_os in 6301 cygwin* | mingw* | pw32* | cegcc*) 6302 if test yes != "$GCC"; then 6303 reload_cmds=false 6304 fi 6305 ;; 6306 darwin*) 6307 if test yes = "$GCC"; then 6308 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6309 else 6310 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6311 fi 6312 ;; 6313esac 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323if test -n "$ac_tool_prefix"; then 6324 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6325set dummy ${ac_tool_prefix}objdump; ac_word=$2 6326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6327$as_echo_n "checking for $ac_word... " >&6; } 6328if ${ac_cv_prog_OBJDUMP+:} false; then : 6329 $as_echo_n "(cached) " >&6 6330else 6331 if test -n "$OBJDUMP"; then 6332 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6333else 6334as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6335for as_dir in $PATH 6336do 6337 IFS=$as_save_IFS 6338 test -z "$as_dir" && as_dir=. 6339 for ac_exec_ext in '' $ac_executable_extensions; do 6340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6341 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6343 break 2 6344 fi 6345done 6346 done 6347IFS=$as_save_IFS 6348 6349fi 6350fi 6351OBJDUMP=$ac_cv_prog_OBJDUMP 6352if test -n "$OBJDUMP"; then 6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6354$as_echo "$OBJDUMP" >&6; } 6355else 6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6357$as_echo "no" >&6; } 6358fi 6359 6360 6361fi 6362if test -z "$ac_cv_prog_OBJDUMP"; then 6363 ac_ct_OBJDUMP=$OBJDUMP 6364 # Extract the first word of "objdump", so it can be a program name with args. 6365set dummy objdump; ac_word=$2 6366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6367$as_echo_n "checking for $ac_word... " >&6; } 6368if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6369 $as_echo_n "(cached) " >&6 6370else 6371 if test -n "$ac_ct_OBJDUMP"; then 6372 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6373else 6374as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6375for as_dir in $PATH 6376do 6377 IFS=$as_save_IFS 6378 test -z "$as_dir" && as_dir=. 6379 for ac_exec_ext in '' $ac_executable_extensions; do 6380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6381 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6383 break 2 6384 fi 6385done 6386 done 6387IFS=$as_save_IFS 6388 6389fi 6390fi 6391ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6392if test -n "$ac_ct_OBJDUMP"; then 6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6394$as_echo "$ac_ct_OBJDUMP" >&6; } 6395else 6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6397$as_echo "no" >&6; } 6398fi 6399 6400 if test "x$ac_ct_OBJDUMP" = x; then 6401 OBJDUMP="false" 6402 else 6403 case $cross_compiling:$ac_tool_warned in 6404yes:) 6405{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6406$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6407ac_tool_warned=yes ;; 6408esac 6409 OBJDUMP=$ac_ct_OBJDUMP 6410 fi 6411else 6412 OBJDUMP="$ac_cv_prog_OBJDUMP" 6413fi 6414 6415test -z "$OBJDUMP" && OBJDUMP=objdump 6416 6417 6418 6419 6420 6421 6422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6423$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6424if ${lt_cv_deplibs_check_method+:} false; then : 6425 $as_echo_n "(cached) " >&6 6426else 6427 lt_cv_file_magic_cmd='$MAGIC_CMD' 6428lt_cv_file_magic_test_file= 6429lt_cv_deplibs_check_method='unknown' 6430# Need to set the preceding variable on all platforms that support 6431# interlibrary dependencies. 6432# 'none' -- dependencies not supported. 6433# 'unknown' -- same as none, but documents that we really don't know. 6434# 'pass_all' -- all dependencies passed with no checks. 6435# 'test_compile' -- check by making test program. 6436# 'file_magic [[regex]]' -- check by looking for files in library path 6437# that responds to the $file_magic_cmd with a given extended regex. 6438# If you have 'file' or equivalent on your system and you're not sure 6439# whether 'pass_all' will *always* work, you probably want this one. 6440 6441case $host_os in 6442aix[4-9]*) 6443 lt_cv_deplibs_check_method=pass_all 6444 ;; 6445 6446beos*) 6447 lt_cv_deplibs_check_method=pass_all 6448 ;; 6449 6450bsdi[45]*) 6451 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6452 lt_cv_file_magic_cmd='/usr/bin/file -L' 6453 lt_cv_file_magic_test_file=/shlib/libc.so 6454 ;; 6455 6456cygwin*) 6457 # func_win32_libid is a shell function defined in ltmain.sh 6458 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6459 lt_cv_file_magic_cmd='func_win32_libid' 6460 ;; 6461 6462mingw* | pw32*) 6463 # Base MSYS/MinGW do not provide the 'file' command needed by 6464 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6465 # unless we find 'file', for example because we are cross-compiling. 6466 if ( file / ) >/dev/null 2>&1; then 6467 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6468 lt_cv_file_magic_cmd='func_win32_libid' 6469 else 6470 # Keep this pattern in sync with the one in func_win32_libid. 6471 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6472 lt_cv_file_magic_cmd='$OBJDUMP -f' 6473 fi 6474 ;; 6475 6476cegcc*) 6477 # use the weaker test based on 'objdump'. See mingw*. 6478 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6479 lt_cv_file_magic_cmd='$OBJDUMP -f' 6480 ;; 6481 6482darwin* | rhapsody*) 6483 lt_cv_deplibs_check_method=pass_all 6484 ;; 6485 6486freebsd* | dragonfly*) 6487 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6488 case $host_cpu in 6489 i*86 ) 6490 # Not sure whether the presence of OpenBSD here was a mistake. 6491 # Let's accept both of them until this is cleared up. 6492 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6493 lt_cv_file_magic_cmd=/usr/bin/file 6494 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6495 ;; 6496 esac 6497 else 6498 lt_cv_deplibs_check_method=pass_all 6499 fi 6500 ;; 6501 6502haiku*) 6503 lt_cv_deplibs_check_method=pass_all 6504 ;; 6505 6506hpux10.20* | hpux11*) 6507 lt_cv_file_magic_cmd=/usr/bin/file 6508 case $host_cpu in 6509 ia64*) 6510 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6511 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6512 ;; 6513 hppa*64*) 6514 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]' 6515 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6516 ;; 6517 *) 6518 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6519 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6520 ;; 6521 esac 6522 ;; 6523 6524interix[3-9]*) 6525 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6526 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6527 ;; 6528 6529irix5* | irix6* | nonstopux*) 6530 case $LD in 6531 *-32|*"-32 ") libmagic=32-bit;; 6532 *-n32|*"-n32 ") libmagic=N32;; 6533 *-64|*"-64 ") libmagic=64-bit;; 6534 *) libmagic=never-match;; 6535 esac 6536 lt_cv_deplibs_check_method=pass_all 6537 ;; 6538 6539# This must be glibc/ELF. 6540linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6541 lt_cv_deplibs_check_method=pass_all 6542 ;; 6543 6544netbsd* | netbsdelf*-gnu) 6545 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6546 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6547 else 6548 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6549 fi 6550 ;; 6551 6552newos6*) 6553 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6554 lt_cv_file_magic_cmd=/usr/bin/file 6555 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6556 ;; 6557 6558*nto* | *qnx*) 6559 lt_cv_deplibs_check_method=pass_all 6560 ;; 6561 6562openbsd* | bitrig*) 6563 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 6564 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6565 else 6566 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6567 fi 6568 ;; 6569 6570osf3* | osf4* | osf5*) 6571 lt_cv_deplibs_check_method=pass_all 6572 ;; 6573 6574rdos*) 6575 lt_cv_deplibs_check_method=pass_all 6576 ;; 6577 6578solaris*) 6579 lt_cv_deplibs_check_method=pass_all 6580 ;; 6581 6582sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6583 lt_cv_deplibs_check_method=pass_all 6584 ;; 6585 6586sysv4 | sysv4.3*) 6587 case $host_vendor in 6588 motorola) 6589 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]' 6590 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6591 ;; 6592 ncr) 6593 lt_cv_deplibs_check_method=pass_all 6594 ;; 6595 sequent) 6596 lt_cv_file_magic_cmd='/bin/file' 6597 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6598 ;; 6599 sni) 6600 lt_cv_file_magic_cmd='/bin/file' 6601 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6602 lt_cv_file_magic_test_file=/lib/libc.so 6603 ;; 6604 siemens) 6605 lt_cv_deplibs_check_method=pass_all 6606 ;; 6607 pc) 6608 lt_cv_deplibs_check_method=pass_all 6609 ;; 6610 esac 6611 ;; 6612 6613tpf*) 6614 lt_cv_deplibs_check_method=pass_all 6615 ;; 6616os2*) 6617 lt_cv_deplibs_check_method=pass_all 6618 ;; 6619esac 6620 6621fi 6622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6623$as_echo "$lt_cv_deplibs_check_method" >&6; } 6624 6625file_magic_glob= 6626want_nocaseglob=no 6627if test "$build" = "$host"; then 6628 case $host_os in 6629 mingw* | pw32*) 6630 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6631 want_nocaseglob=yes 6632 else 6633 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6634 fi 6635 ;; 6636 esac 6637fi 6638 6639file_magic_cmd=$lt_cv_file_magic_cmd 6640deplibs_check_method=$lt_cv_deplibs_check_method 6641test -z "$deplibs_check_method" && deplibs_check_method=unknown 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664if test -n "$ac_tool_prefix"; then 6665 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6666set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6668$as_echo_n "checking for $ac_word... " >&6; } 6669if ${ac_cv_prog_DLLTOOL+:} false; then : 6670 $as_echo_n "(cached) " >&6 6671else 6672 if test -n "$DLLTOOL"; then 6673 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6674else 6675as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6676for as_dir in $PATH 6677do 6678 IFS=$as_save_IFS 6679 test -z "$as_dir" && as_dir=. 6680 for ac_exec_ext in '' $ac_executable_extensions; do 6681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6682 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6684 break 2 6685 fi 6686done 6687 done 6688IFS=$as_save_IFS 6689 6690fi 6691fi 6692DLLTOOL=$ac_cv_prog_DLLTOOL 6693if test -n "$DLLTOOL"; then 6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6695$as_echo "$DLLTOOL" >&6; } 6696else 6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6698$as_echo "no" >&6; } 6699fi 6700 6701 6702fi 6703if test -z "$ac_cv_prog_DLLTOOL"; then 6704 ac_ct_DLLTOOL=$DLLTOOL 6705 # Extract the first word of "dlltool", so it can be a program name with args. 6706set dummy dlltool; ac_word=$2 6707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6708$as_echo_n "checking for $ac_word... " >&6; } 6709if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6710 $as_echo_n "(cached) " >&6 6711else 6712 if test -n "$ac_ct_DLLTOOL"; then 6713 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6714else 6715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6716for as_dir in $PATH 6717do 6718 IFS=$as_save_IFS 6719 test -z "$as_dir" && as_dir=. 6720 for ac_exec_ext in '' $ac_executable_extensions; do 6721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6722 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6724 break 2 6725 fi 6726done 6727 done 6728IFS=$as_save_IFS 6729 6730fi 6731fi 6732ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6733if test -n "$ac_ct_DLLTOOL"; then 6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6735$as_echo "$ac_ct_DLLTOOL" >&6; } 6736else 6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6738$as_echo "no" >&6; } 6739fi 6740 6741 if test "x$ac_ct_DLLTOOL" = x; then 6742 DLLTOOL="false" 6743 else 6744 case $cross_compiling:$ac_tool_warned in 6745yes:) 6746{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6747$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6748ac_tool_warned=yes ;; 6749esac 6750 DLLTOOL=$ac_ct_DLLTOOL 6751 fi 6752else 6753 DLLTOOL="$ac_cv_prog_DLLTOOL" 6754fi 6755 6756test -z "$DLLTOOL" && DLLTOOL=dlltool 6757 6758 6759 6760 6761 6762 6763 6764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6765$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6766if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6767 $as_echo_n "(cached) " >&6 6768else 6769 lt_cv_sharedlib_from_linklib_cmd='unknown' 6770 6771case $host_os in 6772cygwin* | mingw* | pw32* | cegcc*) 6773 # two different shell functions defined in ltmain.sh; 6774 # decide which one to use based on capabilities of $DLLTOOL 6775 case `$DLLTOOL --help 2>&1` in 6776 *--identify-strict*) 6777 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6778 ;; 6779 *) 6780 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6781 ;; 6782 esac 6783 ;; 6784*) 6785 # fallback: assume linklib IS sharedlib 6786 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6787 ;; 6788esac 6789 6790fi 6791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6792$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6793sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6794test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6795 6796 6797 6798 6799 6800 6801 6802 6803if test -n "$ac_tool_prefix"; then 6804 for ac_prog in ar 6805 do 6806 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6807set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6809$as_echo_n "checking for $ac_word... " >&6; } 6810if ${ac_cv_prog_AR+:} false; then : 6811 $as_echo_n "(cached) " >&6 6812else 6813 if test -n "$AR"; then 6814 ac_cv_prog_AR="$AR" # Let the user override the test. 6815else 6816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6817for as_dir in $PATH 6818do 6819 IFS=$as_save_IFS 6820 test -z "$as_dir" && as_dir=. 6821 for ac_exec_ext in '' $ac_executable_extensions; do 6822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6823 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6825 break 2 6826 fi 6827done 6828 done 6829IFS=$as_save_IFS 6830 6831fi 6832fi 6833AR=$ac_cv_prog_AR 6834if test -n "$AR"; then 6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6836$as_echo "$AR" >&6; } 6837else 6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6839$as_echo "no" >&6; } 6840fi 6841 6842 6843 test -n "$AR" && break 6844 done 6845fi 6846if test -z "$AR"; then 6847 ac_ct_AR=$AR 6848 for ac_prog in ar 6849do 6850 # Extract the first word of "$ac_prog", so it can be a program name with args. 6851set dummy $ac_prog; ac_word=$2 6852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6853$as_echo_n "checking for $ac_word... " >&6; } 6854if ${ac_cv_prog_ac_ct_AR+:} false; then : 6855 $as_echo_n "(cached) " >&6 6856else 6857 if test -n "$ac_ct_AR"; then 6858 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6859else 6860as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6861for as_dir in $PATH 6862do 6863 IFS=$as_save_IFS 6864 test -z "$as_dir" && as_dir=. 6865 for ac_exec_ext in '' $ac_executable_extensions; do 6866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6867 ac_cv_prog_ac_ct_AR="$ac_prog" 6868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6869 break 2 6870 fi 6871done 6872 done 6873IFS=$as_save_IFS 6874 6875fi 6876fi 6877ac_ct_AR=$ac_cv_prog_ac_ct_AR 6878if test -n "$ac_ct_AR"; then 6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6880$as_echo "$ac_ct_AR" >&6; } 6881else 6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6883$as_echo "no" >&6; } 6884fi 6885 6886 6887 test -n "$ac_ct_AR" && break 6888done 6889 6890 if test "x$ac_ct_AR" = x; then 6891 AR="false" 6892 else 6893 case $cross_compiling:$ac_tool_warned in 6894yes:) 6895{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6896$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6897ac_tool_warned=yes ;; 6898esac 6899 AR=$ac_ct_AR 6900 fi 6901fi 6902 6903: ${AR=ar} 6904: ${AR_FLAGS=cru} 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6917$as_echo_n "checking for archiver @FILE support... " >&6; } 6918if ${lt_cv_ar_at_file+:} false; then : 6919 $as_echo_n "(cached) " >&6 6920else 6921 lt_cv_ar_at_file=no 6922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6923/* end confdefs.h. */ 6924 6925int 6926main () 6927{ 6928 6929 ; 6930 return 0; 6931} 6932_ACEOF 6933if ac_fn_c_try_compile "$LINENO"; then : 6934 echo conftest.$ac_objext > conftest.lst 6935 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6936 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6937 (eval $lt_ar_try) 2>&5 6938 ac_status=$? 6939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6940 test $ac_status = 0; } 6941 if test 0 -eq "$ac_status"; then 6942 # Ensure the archiver fails upon bogus file names. 6943 rm -f conftest.$ac_objext libconftest.a 6944 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6945 (eval $lt_ar_try) 2>&5 6946 ac_status=$? 6947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6948 test $ac_status = 0; } 6949 if test 0 -ne "$ac_status"; then 6950 lt_cv_ar_at_file=@ 6951 fi 6952 fi 6953 rm -f conftest.* libconftest.a 6954 6955fi 6956rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6957 6958fi 6959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6960$as_echo "$lt_cv_ar_at_file" >&6; } 6961 6962if test no = "$lt_cv_ar_at_file"; then 6963 archiver_list_spec= 6964else 6965 archiver_list_spec=$lt_cv_ar_at_file 6966fi 6967 6968 6969 6970 6971 6972 6973 6974if test -n "$ac_tool_prefix"; then 6975 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6976set dummy ${ac_tool_prefix}strip; ac_word=$2 6977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6978$as_echo_n "checking for $ac_word... " >&6; } 6979if ${ac_cv_prog_STRIP+:} false; then : 6980 $as_echo_n "(cached) " >&6 6981else 6982 if test -n "$STRIP"; then 6983 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6984else 6985as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6986for as_dir in $PATH 6987do 6988 IFS=$as_save_IFS 6989 test -z "$as_dir" && as_dir=. 6990 for ac_exec_ext in '' $ac_executable_extensions; do 6991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6992 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6994 break 2 6995 fi 6996done 6997 done 6998IFS=$as_save_IFS 6999 7000fi 7001fi 7002STRIP=$ac_cv_prog_STRIP 7003if test -n "$STRIP"; then 7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7005$as_echo "$STRIP" >&6; } 7006else 7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7008$as_echo "no" >&6; } 7009fi 7010 7011 7012fi 7013if test -z "$ac_cv_prog_STRIP"; then 7014 ac_ct_STRIP=$STRIP 7015 # Extract the first word of "strip", so it can be a program name with args. 7016set dummy strip; ac_word=$2 7017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7018$as_echo_n "checking for $ac_word... " >&6; } 7019if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7020 $as_echo_n "(cached) " >&6 7021else 7022 if test -n "$ac_ct_STRIP"; then 7023 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7024else 7025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7026for as_dir in $PATH 7027do 7028 IFS=$as_save_IFS 7029 test -z "$as_dir" && as_dir=. 7030 for ac_exec_ext in '' $ac_executable_extensions; do 7031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7032 ac_cv_prog_ac_ct_STRIP="strip" 7033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7034 break 2 7035 fi 7036done 7037 done 7038IFS=$as_save_IFS 7039 7040fi 7041fi 7042ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7043if test -n "$ac_ct_STRIP"; then 7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7045$as_echo "$ac_ct_STRIP" >&6; } 7046else 7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7048$as_echo "no" >&6; } 7049fi 7050 7051 if test "x$ac_ct_STRIP" = x; then 7052 STRIP=":" 7053 else 7054 case $cross_compiling:$ac_tool_warned in 7055yes:) 7056{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7057$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7058ac_tool_warned=yes ;; 7059esac 7060 STRIP=$ac_ct_STRIP 7061 fi 7062else 7063 STRIP="$ac_cv_prog_STRIP" 7064fi 7065 7066test -z "$STRIP" && STRIP=: 7067 7068 7069 7070 7071 7072 7073if test -n "$ac_tool_prefix"; then 7074 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7075set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7077$as_echo_n "checking for $ac_word... " >&6; } 7078if ${ac_cv_prog_RANLIB+:} false; then : 7079 $as_echo_n "(cached) " >&6 7080else 7081 if test -n "$RANLIB"; then 7082 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7083else 7084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7085for as_dir in $PATH 7086do 7087 IFS=$as_save_IFS 7088 test -z "$as_dir" && as_dir=. 7089 for ac_exec_ext in '' $ac_executable_extensions; do 7090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7091 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7093 break 2 7094 fi 7095done 7096 done 7097IFS=$as_save_IFS 7098 7099fi 7100fi 7101RANLIB=$ac_cv_prog_RANLIB 7102if test -n "$RANLIB"; then 7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7104$as_echo "$RANLIB" >&6; } 7105else 7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7107$as_echo "no" >&6; } 7108fi 7109 7110 7111fi 7112if test -z "$ac_cv_prog_RANLIB"; then 7113 ac_ct_RANLIB=$RANLIB 7114 # Extract the first word of "ranlib", so it can be a program name with args. 7115set dummy ranlib; ac_word=$2 7116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7117$as_echo_n "checking for $ac_word... " >&6; } 7118if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7119 $as_echo_n "(cached) " >&6 7120else 7121 if test -n "$ac_ct_RANLIB"; then 7122 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7123else 7124as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7125for as_dir in $PATH 7126do 7127 IFS=$as_save_IFS 7128 test -z "$as_dir" && as_dir=. 7129 for ac_exec_ext in '' $ac_executable_extensions; do 7130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7131 ac_cv_prog_ac_ct_RANLIB="ranlib" 7132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7133 break 2 7134 fi 7135done 7136 done 7137IFS=$as_save_IFS 7138 7139fi 7140fi 7141ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7142if test -n "$ac_ct_RANLIB"; then 7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7144$as_echo "$ac_ct_RANLIB" >&6; } 7145else 7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7147$as_echo "no" >&6; } 7148fi 7149 7150 if test "x$ac_ct_RANLIB" = x; then 7151 RANLIB=":" 7152 else 7153 case $cross_compiling:$ac_tool_warned in 7154yes:) 7155{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7156$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7157ac_tool_warned=yes ;; 7158esac 7159 RANLIB=$ac_ct_RANLIB 7160 fi 7161else 7162 RANLIB="$ac_cv_prog_RANLIB" 7163fi 7164 7165test -z "$RANLIB" && RANLIB=: 7166 7167 7168 7169 7170 7171 7172# Determine commands to create old-style static archives. 7173old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7174old_postinstall_cmds='chmod 644 $oldlib' 7175old_postuninstall_cmds= 7176 7177if test -n "$RANLIB"; then 7178 case $host_os in 7179 bitrig* | openbsd*) 7180 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7181 ;; 7182 *) 7183 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7184 ;; 7185 esac 7186 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7187fi 7188 7189case $host_os in 7190 darwin*) 7191 lock_old_archive_extraction=yes ;; 7192 *) 7193 lock_old_archive_extraction=no ;; 7194esac 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234# If no C compiler was specified, use CC. 7235LTCC=${LTCC-"$CC"} 7236 7237# If no C compiler flags were specified, use CFLAGS. 7238LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7239 7240# Allow CC to be a program name with arguments. 7241compiler=$CC 7242 7243 7244# Check for command to grab the raw symbol name followed by C symbol from nm. 7245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7246$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7247if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7248 $as_echo_n "(cached) " >&6 7249else 7250 7251# These are sane defaults that work on at least a few old systems. 7252# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7253 7254# Character class describing NM global symbol codes. 7255symcode='[BCDEGRST]' 7256 7257# Regexp to match symbols that can be accessed directly from C. 7258sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7259 7260# Define system-specific variables. 7261case $host_os in 7262aix*) 7263 symcode='[BCDT]' 7264 ;; 7265cygwin* | mingw* | pw32* | cegcc*) 7266 symcode='[ABCDGISTW]' 7267 ;; 7268hpux*) 7269 if test ia64 = "$host_cpu"; then 7270 symcode='[ABCDEGRST]' 7271 fi 7272 ;; 7273irix* | nonstopux*) 7274 symcode='[BCDEGRST]' 7275 ;; 7276osf*) 7277 symcode='[BCDEGQRST]' 7278 ;; 7279solaris*) 7280 symcode='[BDRT]' 7281 ;; 7282sco3.2v5*) 7283 symcode='[DT]' 7284 ;; 7285sysv4.2uw2*) 7286 symcode='[DT]' 7287 ;; 7288sysv5* | sco5v6* | unixware* | OpenUNIX*) 7289 symcode='[ABDT]' 7290 ;; 7291sysv4) 7292 symcode='[DFNSTU]' 7293 ;; 7294esac 7295 7296# If we're using GNU nm, then use its standard symbol codes. 7297case `$NM -V 2>&1` in 7298*GNU* | *'with BFD'*) 7299 symcode='[ABCDGIRSTW]' ;; 7300esac 7301 7302if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7303 # Gets list of data symbols to import. 7304 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7305 # Adjust the below global symbol transforms to fixup imported variables. 7306 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7307 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7308 lt_c_name_lib_hook="\ 7309 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7310 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7311else 7312 # Disable hooks by default. 7313 lt_cv_sys_global_symbol_to_import= 7314 lt_cdecl_hook= 7315 lt_c_name_hook= 7316 lt_c_name_lib_hook= 7317fi 7318 7319# Transform an extracted symbol line into a proper C declaration. 7320# Some systems (esp. on ia64) link data and code symbols differently, 7321# so use this general approach. 7322lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7323$lt_cdecl_hook\ 7324" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7325" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7326 7327# Transform an extracted symbol line into symbol name and symbol address 7328lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7329$lt_c_name_hook\ 7330" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7331" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7332 7333# Transform an extracted symbol line into symbol name with lib prefix and 7334# symbol address. 7335lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7336$lt_c_name_lib_hook\ 7337" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7338" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7339" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7340 7341# Handle CRLF in mingw tool chain 7342opt_cr= 7343case $build_os in 7344mingw*) 7345 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7346 ;; 7347esac 7348 7349# Try without a prefix underscore, then with it. 7350for ac_symprfx in "" "_"; do 7351 7352 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7353 symxfrm="\\1 $ac_symprfx\\2 \\2" 7354 7355 # Write the raw and C identifiers. 7356 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7357 # Fake it for dumpbin and say T for any non-static function, 7358 # D for any global variable and I for any imported variable. 7359 # Also find C++ and __fastcall symbols from MSVC++, 7360 # which start with @ or ?. 7361 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7362" {last_section=section; section=\$ 3};"\ 7363" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7364" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7365" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7366" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7367" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7368" \$ 0!~/External *\|/{next};"\ 7369" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7370" {if(hide[section]) next};"\ 7371" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7372" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7373" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7374" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7375" ' prfx=^$ac_symprfx" 7376 else 7377 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7378 fi 7379 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7380 7381 # Check to see that the pipe works correctly. 7382 pipe_works=no 7383 7384 rm -f conftest* 7385 cat > conftest.$ac_ext <<_LT_EOF 7386#ifdef __cplusplus 7387extern "C" { 7388#endif 7389char nm_test_var; 7390void nm_test_func(void); 7391void nm_test_func(void){} 7392#ifdef __cplusplus 7393} 7394#endif 7395int main(){nm_test_var='a';nm_test_func();return(0);} 7396_LT_EOF 7397 7398 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7399 (eval $ac_compile) 2>&5 7400 ac_status=$? 7401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7402 test $ac_status = 0; }; then 7403 # Now try to grab the symbols. 7404 nlist=conftest.nm 7405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7406 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7407 ac_status=$? 7408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7409 test $ac_status = 0; } && test -s "$nlist"; then 7410 # Try sorting and uniquifying the output. 7411 if sort "$nlist" | uniq > "$nlist"T; then 7412 mv -f "$nlist"T "$nlist" 7413 else 7414 rm -f "$nlist"T 7415 fi 7416 7417 # Make sure that we snagged all the symbols we need. 7418 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7419 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7420 cat <<_LT_EOF > conftest.$ac_ext 7421/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7422#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7423/* DATA imports from DLLs on WIN32 can't be const, because runtime 7424 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7425# define LT_DLSYM_CONST 7426#elif defined __osf__ 7427/* This system does not cope well with relocations in const data. */ 7428# define LT_DLSYM_CONST 7429#else 7430# define LT_DLSYM_CONST const 7431#endif 7432 7433#ifdef __cplusplus 7434extern "C" { 7435#endif 7436 7437_LT_EOF 7438 # Now generate the symbol file. 7439 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7440 7441 cat <<_LT_EOF >> conftest.$ac_ext 7442 7443/* The mapping between symbol names and symbols. */ 7444LT_DLSYM_CONST struct { 7445 const char *name; 7446 void *address; 7447} 7448lt__PROGRAM__LTX_preloaded_symbols[] = 7449{ 7450 { "@PROGRAM@", (void *) 0 }, 7451_LT_EOF 7452 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7453 cat <<\_LT_EOF >> conftest.$ac_ext 7454 {0, (void *) 0} 7455}; 7456 7457/* This works around a problem in FreeBSD linker */ 7458#ifdef FREEBSD_WORKAROUND 7459static const void *lt_preloaded_setup() { 7460 return lt__PROGRAM__LTX_preloaded_symbols; 7461} 7462#endif 7463 7464#ifdef __cplusplus 7465} 7466#endif 7467_LT_EOF 7468 # Now try linking the two files. 7469 mv conftest.$ac_objext conftstm.$ac_objext 7470 lt_globsym_save_LIBS=$LIBS 7471 lt_globsym_save_CFLAGS=$CFLAGS 7472 LIBS=conftstm.$ac_objext 7473 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7474 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7475 (eval $ac_link) 2>&5 7476 ac_status=$? 7477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7478 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7479 pipe_works=yes 7480 fi 7481 LIBS=$lt_globsym_save_LIBS 7482 CFLAGS=$lt_globsym_save_CFLAGS 7483 else 7484 echo "cannot find nm_test_func in $nlist" >&5 7485 fi 7486 else 7487 echo "cannot find nm_test_var in $nlist" >&5 7488 fi 7489 else 7490 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7491 fi 7492 else 7493 echo "$progname: failed program was:" >&5 7494 cat conftest.$ac_ext >&5 7495 fi 7496 rm -rf conftest* conftst* 7497 7498 # Do not use the global_symbol_pipe unless it works. 7499 if test yes = "$pipe_works"; then 7500 break 7501 else 7502 lt_cv_sys_global_symbol_pipe= 7503 fi 7504done 7505 7506fi 7507 7508if test -z "$lt_cv_sys_global_symbol_pipe"; then 7509 lt_cv_sys_global_symbol_to_cdecl= 7510fi 7511if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7513$as_echo "failed" >&6; } 7514else 7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7516$as_echo "ok" >&6; } 7517fi 7518 7519# Response file support. 7520if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7521 nm_file_list_spec='@' 7522elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7523 nm_file_list_spec='@' 7524fi 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7563$as_echo_n "checking for sysroot... " >&6; } 7564 7565# Check whether --with-sysroot was given. 7566if test "${with_sysroot+set}" = set; then : 7567 withval=$with_sysroot; 7568else 7569 with_sysroot=no 7570fi 7571 7572 7573lt_sysroot= 7574case $with_sysroot in #( 7575 yes) 7576 if test yes = "$GCC"; then 7577 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7578 fi 7579 ;; #( 7580 /*) 7581 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7582 ;; #( 7583 no|'') 7584 ;; #( 7585 *) 7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 7587$as_echo "$with_sysroot" >&6; } 7588 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7589 ;; 7590esac 7591 7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7593$as_echo "${lt_sysroot:-no}" >&6; } 7594 7595 7596 7597 7598 7599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 7600$as_echo_n "checking for a working dd... " >&6; } 7601if ${ac_cv_path_lt_DD+:} false; then : 7602 $as_echo_n "(cached) " >&6 7603else 7604 printf 0123456789abcdef0123456789abcdef >conftest.i 7605cat conftest.i conftest.i >conftest2.i 7606: ${lt_DD:=$DD} 7607if test -z "$lt_DD"; then 7608 ac_path_lt_DD_found=false 7609 # Loop through the user's path and test for each of PROGNAME-LIST 7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7611for as_dir in $PATH 7612do 7613 IFS=$as_save_IFS 7614 test -z "$as_dir" && as_dir=. 7615 for ac_prog in dd; do 7616 for ac_exec_ext in '' $ac_executable_extensions; do 7617 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 7618 as_fn_executable_p "$ac_path_lt_DD" || continue 7619if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7620 cmp -s conftest.i conftest.out \ 7621 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 7622fi 7623 $ac_path_lt_DD_found && break 3 7624 done 7625 done 7626 done 7627IFS=$as_save_IFS 7628 if test -z "$ac_cv_path_lt_DD"; then 7629 : 7630 fi 7631else 7632 ac_cv_path_lt_DD=$lt_DD 7633fi 7634 7635rm -f conftest.i conftest2.i conftest.out 7636fi 7637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7638$as_echo "$ac_cv_path_lt_DD" >&6; } 7639 7640 7641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7642$as_echo_n "checking how to truncate binary pipes... " >&6; } 7643if ${lt_cv_truncate_bin+:} false; then : 7644 $as_echo_n "(cached) " >&6 7645else 7646 printf 0123456789abcdef0123456789abcdef >conftest.i 7647cat conftest.i conftest.i >conftest2.i 7648lt_cv_truncate_bin= 7649if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7650 cmp -s conftest.i conftest.out \ 7651 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7652fi 7653rm -f conftest.i conftest2.i conftest.out 7654test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7655fi 7656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7657$as_echo "$lt_cv_truncate_bin" >&6; } 7658 7659 7660 7661 7662 7663 7664 7665# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7666func_cc_basename () 7667{ 7668 for cc_temp in $*""; do 7669 case $cc_temp in 7670 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7671 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7672 \-*) ;; 7673 *) break;; 7674 esac 7675 done 7676 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7677} 7678 7679# Check whether --enable-libtool-lock was given. 7680if test "${enable_libtool_lock+set}" = set; then : 7681 enableval=$enable_libtool_lock; 7682fi 7683 7684test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7685 7686# Some flags need to be propagated to the compiler or linker for good 7687# libtool support. 7688case $host in 7689ia64-*-hpux*) 7690 # Find out what ABI is being produced by ac_compile, and set mode 7691 # options accordingly. 7692 echo 'int i;' > conftest.$ac_ext 7693 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7694 (eval $ac_compile) 2>&5 7695 ac_status=$? 7696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7697 test $ac_status = 0; }; then 7698 case `/usr/bin/file conftest.$ac_objext` in 7699 *ELF-32*) 7700 HPUX_IA64_MODE=32 7701 ;; 7702 *ELF-64*) 7703 HPUX_IA64_MODE=64 7704 ;; 7705 esac 7706 fi 7707 rm -rf conftest* 7708 ;; 7709*-*-irix6*) 7710 # Find out what ABI is being produced by ac_compile, and set linker 7711 # options accordingly. 7712 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7714 (eval $ac_compile) 2>&5 7715 ac_status=$? 7716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7717 test $ac_status = 0; }; then 7718 if test yes = "$lt_cv_prog_gnu_ld"; then 7719 case `/usr/bin/file conftest.$ac_objext` in 7720 *32-bit*) 7721 LD="${LD-ld} -melf32bsmip" 7722 ;; 7723 *N32*) 7724 LD="${LD-ld} -melf32bmipn32" 7725 ;; 7726 *64-bit*) 7727 LD="${LD-ld} -melf64bmip" 7728 ;; 7729 esac 7730 else 7731 case `/usr/bin/file conftest.$ac_objext` in 7732 *32-bit*) 7733 LD="${LD-ld} -32" 7734 ;; 7735 *N32*) 7736 LD="${LD-ld} -n32" 7737 ;; 7738 *64-bit*) 7739 LD="${LD-ld} -64" 7740 ;; 7741 esac 7742 fi 7743 fi 7744 rm -rf conftest* 7745 ;; 7746 7747mips64*-*linux*) 7748 # Find out what ABI is being produced by ac_compile, and set linker 7749 # options accordingly. 7750 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7751 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7752 (eval $ac_compile) 2>&5 7753 ac_status=$? 7754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7755 test $ac_status = 0; }; then 7756 emul=elf 7757 case `/usr/bin/file conftest.$ac_objext` in 7758 *32-bit*) 7759 emul="${emul}32" 7760 ;; 7761 *64-bit*) 7762 emul="${emul}64" 7763 ;; 7764 esac 7765 case `/usr/bin/file conftest.$ac_objext` in 7766 *MSB*) 7767 emul="${emul}btsmip" 7768 ;; 7769 *LSB*) 7770 emul="${emul}ltsmip" 7771 ;; 7772 esac 7773 case `/usr/bin/file conftest.$ac_objext` in 7774 *N32*) 7775 emul="${emul}n32" 7776 ;; 7777 esac 7778 LD="${LD-ld} -m $emul" 7779 fi 7780 rm -rf conftest* 7781 ;; 7782 7783x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7784s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7785 # Find out what ABI is being produced by ac_compile, and set linker 7786 # options accordingly. Note that the listed cases only cover the 7787 # situations where additional linker options are needed (such as when 7788 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7789 # vice versa); the common cases where no linker options are needed do 7790 # not appear in the list. 7791 echo 'int i;' > conftest.$ac_ext 7792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7793 (eval $ac_compile) 2>&5 7794 ac_status=$? 7795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7796 test $ac_status = 0; }; then 7797 case `/usr/bin/file conftest.o` in 7798 *32-bit*) 7799 case $host in 7800 x86_64-*kfreebsd*-gnu) 7801 LD="${LD-ld} -m elf_i386_fbsd" 7802 ;; 7803 x86_64-*linux*) 7804 case `/usr/bin/file conftest.o` in 7805 *x86-64*) 7806 LD="${LD-ld} -m elf32_x86_64" 7807 ;; 7808 *) 7809 LD="${LD-ld} -m elf_i386" 7810 ;; 7811 esac 7812 ;; 7813 powerpc64le-*linux*) 7814 LD="${LD-ld} -m elf32lppclinux" 7815 ;; 7816 powerpc64-*linux*) 7817 LD="${LD-ld} -m elf32ppclinux" 7818 ;; 7819 s390x-*linux*) 7820 LD="${LD-ld} -m elf_s390" 7821 ;; 7822 sparc64-*linux*) 7823 LD="${LD-ld} -m elf32_sparc" 7824 ;; 7825 esac 7826 ;; 7827 *64-bit*) 7828 case $host in 7829 x86_64-*kfreebsd*-gnu) 7830 LD="${LD-ld} -m elf_x86_64_fbsd" 7831 ;; 7832 x86_64-*linux*) 7833 LD="${LD-ld} -m elf_x86_64" 7834 ;; 7835 powerpcle-*linux*) 7836 LD="${LD-ld} -m elf64lppc" 7837 ;; 7838 powerpc-*linux*) 7839 LD="${LD-ld} -m elf64ppc" 7840 ;; 7841 s390*-*linux*|s390*-*tpf*) 7842 LD="${LD-ld} -m elf64_s390" 7843 ;; 7844 sparc*-*linux*) 7845 LD="${LD-ld} -m elf64_sparc" 7846 ;; 7847 esac 7848 ;; 7849 esac 7850 fi 7851 rm -rf conftest* 7852 ;; 7853 7854*-*-sco3.2v5*) 7855 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7856 SAVE_CFLAGS=$CFLAGS 7857 CFLAGS="$CFLAGS -belf" 7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7859$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7860if ${lt_cv_cc_needs_belf+:} false; then : 7861 $as_echo_n "(cached) " >&6 7862else 7863 ac_ext=c 7864ac_cpp='$CPP $CPPFLAGS' 7865ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7866ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7867ac_compiler_gnu=$ac_cv_c_compiler_gnu 7868 7869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7870/* end confdefs.h. */ 7871 7872int 7873main () 7874{ 7875 7876 ; 7877 return 0; 7878} 7879_ACEOF 7880if ac_fn_c_try_link "$LINENO"; then : 7881 lt_cv_cc_needs_belf=yes 7882else 7883 lt_cv_cc_needs_belf=no 7884fi 7885rm -f core conftest.err conftest.$ac_objext \ 7886 conftest$ac_exeext conftest.$ac_ext 7887 ac_ext=c 7888ac_cpp='$CPP $CPPFLAGS' 7889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7891ac_compiler_gnu=$ac_cv_c_compiler_gnu 7892 7893fi 7894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7895$as_echo "$lt_cv_cc_needs_belf" >&6; } 7896 if test yes != "$lt_cv_cc_needs_belf"; then 7897 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7898 CFLAGS=$SAVE_CFLAGS 7899 fi 7900 ;; 7901*-*solaris*) 7902 # Find out what ABI is being produced by ac_compile, and set linker 7903 # options accordingly. 7904 echo 'int i;' > conftest.$ac_ext 7905 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7906 (eval $ac_compile) 2>&5 7907 ac_status=$? 7908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7909 test $ac_status = 0; }; then 7910 case `/usr/bin/file conftest.o` in 7911 *64-bit*) 7912 case $lt_cv_prog_gnu_ld in 7913 yes*) 7914 case $host in 7915 i?86-*-solaris*|x86_64-*-solaris*) 7916 LD="${LD-ld} -m elf_x86_64" 7917 ;; 7918 sparc*-*-solaris*) 7919 LD="${LD-ld} -m elf64_sparc" 7920 ;; 7921 esac 7922 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7923 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7924 LD=${LD-ld}_sol2 7925 fi 7926 ;; 7927 *) 7928 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7929 LD="${LD-ld} -64" 7930 fi 7931 ;; 7932 esac 7933 ;; 7934 esac 7935 fi 7936 rm -rf conftest* 7937 ;; 7938esac 7939 7940need_locks=$enable_libtool_lock 7941 7942if test -n "$ac_tool_prefix"; then 7943 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7944set dummy ${ac_tool_prefix}mt; ac_word=$2 7945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7946$as_echo_n "checking for $ac_word... " >&6; } 7947if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7948 $as_echo_n "(cached) " >&6 7949else 7950 if test -n "$MANIFEST_TOOL"; then 7951 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7952else 7953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7954for as_dir in $PATH 7955do 7956 IFS=$as_save_IFS 7957 test -z "$as_dir" && as_dir=. 7958 for ac_exec_ext in '' $ac_executable_extensions; do 7959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7960 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7962 break 2 7963 fi 7964done 7965 done 7966IFS=$as_save_IFS 7967 7968fi 7969fi 7970MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7971if test -n "$MANIFEST_TOOL"; then 7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7973$as_echo "$MANIFEST_TOOL" >&6; } 7974else 7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7976$as_echo "no" >&6; } 7977fi 7978 7979 7980fi 7981if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7982 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7983 # Extract the first word of "mt", so it can be a program name with args. 7984set dummy mt; 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_ac_ct_MANIFEST_TOOL+:} false; then : 7988 $as_echo_n "(cached) " >&6 7989else 7990 if test -n "$ac_ct_MANIFEST_TOOL"; then 7991 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # 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_ac_ct_MANIFEST_TOOL="mt" 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 8010ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 8011if test -n "$ac_ct_MANIFEST_TOOL"; then 8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 8013$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 8014else 8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8016$as_echo "no" >&6; } 8017fi 8018 8019 if test "x$ac_ct_MANIFEST_TOOL" = x; then 8020 MANIFEST_TOOL=":" 8021 else 8022 case $cross_compiling:$ac_tool_warned in 8023yes:) 8024{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8025$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8026ac_tool_warned=yes ;; 8027esac 8028 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 8029 fi 8030else 8031 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 8032fi 8033 8034test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 8035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 8036$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 8037if ${lt_cv_path_mainfest_tool+:} false; then : 8038 $as_echo_n "(cached) " >&6 8039else 8040 lt_cv_path_mainfest_tool=no 8041 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 8042 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 8043 cat conftest.err >&5 8044 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 8045 lt_cv_path_mainfest_tool=yes 8046 fi 8047 rm -f conftest* 8048fi 8049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8050$as_echo "$lt_cv_path_mainfest_tool" >&6; } 8051if test yes != "$lt_cv_path_mainfest_tool"; then 8052 MANIFEST_TOOL=: 8053fi 8054 8055 8056 8057 8058 8059 8060 case $host_os in 8061 rhapsody* | darwin*) 8062 if test -n "$ac_tool_prefix"; then 8063 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8064set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8066$as_echo_n "checking for $ac_word... " >&6; } 8067if ${ac_cv_prog_DSYMUTIL+:} false; then : 8068 $as_echo_n "(cached) " >&6 8069else 8070 if test -n "$DSYMUTIL"; then 8071 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8072else 8073as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8074for as_dir in $PATH 8075do 8076 IFS=$as_save_IFS 8077 test -z "$as_dir" && as_dir=. 8078 for ac_exec_ext in '' $ac_executable_extensions; do 8079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8080 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8082 break 2 8083 fi 8084done 8085 done 8086IFS=$as_save_IFS 8087 8088fi 8089fi 8090DSYMUTIL=$ac_cv_prog_DSYMUTIL 8091if test -n "$DSYMUTIL"; then 8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8093$as_echo "$DSYMUTIL" >&6; } 8094else 8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8096$as_echo "no" >&6; } 8097fi 8098 8099 8100fi 8101if test -z "$ac_cv_prog_DSYMUTIL"; then 8102 ac_ct_DSYMUTIL=$DSYMUTIL 8103 # Extract the first word of "dsymutil", so it can be a program name with args. 8104set dummy dsymutil; ac_word=$2 8105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8106$as_echo_n "checking for $ac_word... " >&6; } 8107if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8108 $as_echo_n "(cached) " >&6 8109else 8110 if test -n "$ac_ct_DSYMUTIL"; then 8111 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8112else 8113as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8114for as_dir in $PATH 8115do 8116 IFS=$as_save_IFS 8117 test -z "$as_dir" && as_dir=. 8118 for ac_exec_ext in '' $ac_executable_extensions; do 8119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8120 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8122 break 2 8123 fi 8124done 8125 done 8126IFS=$as_save_IFS 8127 8128fi 8129fi 8130ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8131if test -n "$ac_ct_DSYMUTIL"; then 8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8133$as_echo "$ac_ct_DSYMUTIL" >&6; } 8134else 8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8136$as_echo "no" >&6; } 8137fi 8138 8139 if test "x$ac_ct_DSYMUTIL" = x; then 8140 DSYMUTIL=":" 8141 else 8142 case $cross_compiling:$ac_tool_warned in 8143yes:) 8144{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8145$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8146ac_tool_warned=yes ;; 8147esac 8148 DSYMUTIL=$ac_ct_DSYMUTIL 8149 fi 8150else 8151 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8152fi 8153 8154 if test -n "$ac_tool_prefix"; then 8155 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8156set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8158$as_echo_n "checking for $ac_word... " >&6; } 8159if ${ac_cv_prog_NMEDIT+:} false; then : 8160 $as_echo_n "(cached) " >&6 8161else 8162 if test -n "$NMEDIT"; then 8163 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8164else 8165as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8166for as_dir in $PATH 8167do 8168 IFS=$as_save_IFS 8169 test -z "$as_dir" && as_dir=. 8170 for ac_exec_ext in '' $ac_executable_extensions; do 8171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8172 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8174 break 2 8175 fi 8176done 8177 done 8178IFS=$as_save_IFS 8179 8180fi 8181fi 8182NMEDIT=$ac_cv_prog_NMEDIT 8183if test -n "$NMEDIT"; then 8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8185$as_echo "$NMEDIT" >&6; } 8186else 8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8188$as_echo "no" >&6; } 8189fi 8190 8191 8192fi 8193if test -z "$ac_cv_prog_NMEDIT"; then 8194 ac_ct_NMEDIT=$NMEDIT 8195 # Extract the first word of "nmedit", so it can be a program name with args. 8196set dummy nmedit; ac_word=$2 8197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8198$as_echo_n "checking for $ac_word... " >&6; } 8199if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8200 $as_echo_n "(cached) " >&6 8201else 8202 if test -n "$ac_ct_NMEDIT"; then 8203 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8204else 8205as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8206for as_dir in $PATH 8207do 8208 IFS=$as_save_IFS 8209 test -z "$as_dir" && as_dir=. 8210 for ac_exec_ext in '' $ac_executable_extensions; do 8211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8212 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8214 break 2 8215 fi 8216done 8217 done 8218IFS=$as_save_IFS 8219 8220fi 8221fi 8222ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8223if test -n "$ac_ct_NMEDIT"; then 8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8225$as_echo "$ac_ct_NMEDIT" >&6; } 8226else 8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8228$as_echo "no" >&6; } 8229fi 8230 8231 if test "x$ac_ct_NMEDIT" = x; then 8232 NMEDIT=":" 8233 else 8234 case $cross_compiling:$ac_tool_warned in 8235yes:) 8236{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8237$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8238ac_tool_warned=yes ;; 8239esac 8240 NMEDIT=$ac_ct_NMEDIT 8241 fi 8242else 8243 NMEDIT="$ac_cv_prog_NMEDIT" 8244fi 8245 8246 if test -n "$ac_tool_prefix"; then 8247 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8248set dummy ${ac_tool_prefix}lipo; ac_word=$2 8249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8250$as_echo_n "checking for $ac_word... " >&6; } 8251if ${ac_cv_prog_LIPO+:} false; then : 8252 $as_echo_n "(cached) " >&6 8253else 8254 if test -n "$LIPO"; then 8255 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8256else 8257as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8258for as_dir in $PATH 8259do 8260 IFS=$as_save_IFS 8261 test -z "$as_dir" && as_dir=. 8262 for ac_exec_ext in '' $ac_executable_extensions; do 8263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8264 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8266 break 2 8267 fi 8268done 8269 done 8270IFS=$as_save_IFS 8271 8272fi 8273fi 8274LIPO=$ac_cv_prog_LIPO 8275if test -n "$LIPO"; then 8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8277$as_echo "$LIPO" >&6; } 8278else 8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8280$as_echo "no" >&6; } 8281fi 8282 8283 8284fi 8285if test -z "$ac_cv_prog_LIPO"; then 8286 ac_ct_LIPO=$LIPO 8287 # Extract the first word of "lipo", so it can be a program name with args. 8288set dummy lipo; ac_word=$2 8289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8290$as_echo_n "checking for $ac_word... " >&6; } 8291if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8292 $as_echo_n "(cached) " >&6 8293else 8294 if test -n "$ac_ct_LIPO"; then 8295 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8296else 8297as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8298for as_dir in $PATH 8299do 8300 IFS=$as_save_IFS 8301 test -z "$as_dir" && as_dir=. 8302 for ac_exec_ext in '' $ac_executable_extensions; do 8303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8304 ac_cv_prog_ac_ct_LIPO="lipo" 8305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8306 break 2 8307 fi 8308done 8309 done 8310IFS=$as_save_IFS 8311 8312fi 8313fi 8314ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8315if test -n "$ac_ct_LIPO"; then 8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8317$as_echo "$ac_ct_LIPO" >&6; } 8318else 8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8320$as_echo "no" >&6; } 8321fi 8322 8323 if test "x$ac_ct_LIPO" = x; then 8324 LIPO=":" 8325 else 8326 case $cross_compiling:$ac_tool_warned in 8327yes:) 8328{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8329$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8330ac_tool_warned=yes ;; 8331esac 8332 LIPO=$ac_ct_LIPO 8333 fi 8334else 8335 LIPO="$ac_cv_prog_LIPO" 8336fi 8337 8338 if test -n "$ac_tool_prefix"; then 8339 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8340set dummy ${ac_tool_prefix}otool; ac_word=$2 8341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8342$as_echo_n "checking for $ac_word... " >&6; } 8343if ${ac_cv_prog_OTOOL+:} false; then : 8344 $as_echo_n "(cached) " >&6 8345else 8346 if test -n "$OTOOL"; then 8347 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8348else 8349as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8350for as_dir in $PATH 8351do 8352 IFS=$as_save_IFS 8353 test -z "$as_dir" && as_dir=. 8354 for ac_exec_ext in '' $ac_executable_extensions; do 8355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8356 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8358 break 2 8359 fi 8360done 8361 done 8362IFS=$as_save_IFS 8363 8364fi 8365fi 8366OTOOL=$ac_cv_prog_OTOOL 8367if test -n "$OTOOL"; then 8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8369$as_echo "$OTOOL" >&6; } 8370else 8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8372$as_echo "no" >&6; } 8373fi 8374 8375 8376fi 8377if test -z "$ac_cv_prog_OTOOL"; then 8378 ac_ct_OTOOL=$OTOOL 8379 # Extract the first word of "otool", so it can be a program name with args. 8380set dummy otool; ac_word=$2 8381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8382$as_echo_n "checking for $ac_word... " >&6; } 8383if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8384 $as_echo_n "(cached) " >&6 8385else 8386 if test -n "$ac_ct_OTOOL"; then 8387 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8388else 8389as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8390for as_dir in $PATH 8391do 8392 IFS=$as_save_IFS 8393 test -z "$as_dir" && as_dir=. 8394 for ac_exec_ext in '' $ac_executable_extensions; do 8395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8396 ac_cv_prog_ac_ct_OTOOL="otool" 8397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8398 break 2 8399 fi 8400done 8401 done 8402IFS=$as_save_IFS 8403 8404fi 8405fi 8406ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8407if test -n "$ac_ct_OTOOL"; then 8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8409$as_echo "$ac_ct_OTOOL" >&6; } 8410else 8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8412$as_echo "no" >&6; } 8413fi 8414 8415 if test "x$ac_ct_OTOOL" = x; then 8416 OTOOL=":" 8417 else 8418 case $cross_compiling:$ac_tool_warned in 8419yes:) 8420{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8421$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8422ac_tool_warned=yes ;; 8423esac 8424 OTOOL=$ac_ct_OTOOL 8425 fi 8426else 8427 OTOOL="$ac_cv_prog_OTOOL" 8428fi 8429 8430 if test -n "$ac_tool_prefix"; then 8431 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8432set dummy ${ac_tool_prefix}otool64; ac_word=$2 8433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8434$as_echo_n "checking for $ac_word... " >&6; } 8435if ${ac_cv_prog_OTOOL64+:} false; then : 8436 $as_echo_n "(cached) " >&6 8437else 8438 if test -n "$OTOOL64"; then 8439 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8440else 8441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8442for as_dir in $PATH 8443do 8444 IFS=$as_save_IFS 8445 test -z "$as_dir" && as_dir=. 8446 for ac_exec_ext in '' $ac_executable_extensions; do 8447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8448 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8450 break 2 8451 fi 8452done 8453 done 8454IFS=$as_save_IFS 8455 8456fi 8457fi 8458OTOOL64=$ac_cv_prog_OTOOL64 8459if test -n "$OTOOL64"; then 8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8461$as_echo "$OTOOL64" >&6; } 8462else 8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8464$as_echo "no" >&6; } 8465fi 8466 8467 8468fi 8469if test -z "$ac_cv_prog_OTOOL64"; then 8470 ac_ct_OTOOL64=$OTOOL64 8471 # Extract the first word of "otool64", so it can be a program name with args. 8472set dummy otool64; ac_word=$2 8473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8474$as_echo_n "checking for $ac_word... " >&6; } 8475if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8476 $as_echo_n "(cached) " >&6 8477else 8478 if test -n "$ac_ct_OTOOL64"; then 8479 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8480else 8481as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8482for as_dir in $PATH 8483do 8484 IFS=$as_save_IFS 8485 test -z "$as_dir" && as_dir=. 8486 for ac_exec_ext in '' $ac_executable_extensions; do 8487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8488 ac_cv_prog_ac_ct_OTOOL64="otool64" 8489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8490 break 2 8491 fi 8492done 8493 done 8494IFS=$as_save_IFS 8495 8496fi 8497fi 8498ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8499if test -n "$ac_ct_OTOOL64"; then 8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8501$as_echo "$ac_ct_OTOOL64" >&6; } 8502else 8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8504$as_echo "no" >&6; } 8505fi 8506 8507 if test "x$ac_ct_OTOOL64" = x; then 8508 OTOOL64=":" 8509 else 8510 case $cross_compiling:$ac_tool_warned in 8511yes:) 8512{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8513$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8514ac_tool_warned=yes ;; 8515esac 8516 OTOOL64=$ac_ct_OTOOL64 8517 fi 8518else 8519 OTOOL64="$ac_cv_prog_OTOOL64" 8520fi 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8549$as_echo_n "checking for -single_module linker flag... " >&6; } 8550if ${lt_cv_apple_cc_single_mod+:} false; then : 8551 $as_echo_n "(cached) " >&6 8552else 8553 lt_cv_apple_cc_single_mod=no 8554 if test -z "$LT_MULTI_MODULE"; then 8555 # By default we will add the -single_module flag. You can override 8556 # by either setting the environment variable LT_MULTI_MODULE 8557 # non-empty at configure time, or by adding -multi_module to the 8558 # link flags. 8559 rm -rf libconftest.dylib* 8560 echo "int foo(void){return 1;}" > conftest.c 8561 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8562-dynamiclib -Wl,-single_module conftest.c" >&5 8563 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8564 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8565 _lt_result=$? 8566 # If there is a non-empty error log, and "single_module" 8567 # appears in it, assume the flag caused a linker warning 8568 if test -s conftest.err && $GREP single_module conftest.err; then 8569 cat conftest.err >&5 8570 # Otherwise, if the output was created with a 0 exit code from 8571 # the compiler, it worked. 8572 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 8573 lt_cv_apple_cc_single_mod=yes 8574 else 8575 cat conftest.err >&5 8576 fi 8577 rm -rf libconftest.dylib* 8578 rm -f conftest.* 8579 fi 8580fi 8581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8582$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8583 8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8585$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8586if ${lt_cv_ld_exported_symbols_list+:} false; then : 8587 $as_echo_n "(cached) " >&6 8588else 8589 lt_cv_ld_exported_symbols_list=no 8590 save_LDFLAGS=$LDFLAGS 8591 echo "_main" > conftest.sym 8592 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8594/* end confdefs.h. */ 8595 8596int 8597main () 8598{ 8599 8600 ; 8601 return 0; 8602} 8603_ACEOF 8604if ac_fn_c_try_link "$LINENO"; then : 8605 lt_cv_ld_exported_symbols_list=yes 8606else 8607 lt_cv_ld_exported_symbols_list=no 8608fi 8609rm -f core conftest.err conftest.$ac_objext \ 8610 conftest$ac_exeext conftest.$ac_ext 8611 LDFLAGS=$save_LDFLAGS 8612 8613fi 8614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8615$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8616 8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8618$as_echo_n "checking for -force_load linker flag... " >&6; } 8619if ${lt_cv_ld_force_load+:} false; then : 8620 $as_echo_n "(cached) " >&6 8621else 8622 lt_cv_ld_force_load=no 8623 cat > conftest.c << _LT_EOF 8624int forced_loaded() { return 2;} 8625_LT_EOF 8626 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8627 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8628 echo "$AR cru libconftest.a conftest.o" >&5 8629 $AR cru libconftest.a conftest.o 2>&5 8630 echo "$RANLIB libconftest.a" >&5 8631 $RANLIB libconftest.a 2>&5 8632 cat > conftest.c << _LT_EOF 8633int main() { return 0;} 8634_LT_EOF 8635 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8636 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8637 _lt_result=$? 8638 if test -s conftest.err && $GREP force_load conftest.err; then 8639 cat conftest.err >&5 8640 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8641 lt_cv_ld_force_load=yes 8642 else 8643 cat conftest.err >&5 8644 fi 8645 rm -f conftest.err libconftest.a conftest conftest.c 8646 rm -rf conftest.dSYM 8647 8648fi 8649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8650$as_echo "$lt_cv_ld_force_load" >&6; } 8651 case $host_os in 8652 rhapsody* | darwin1.[012]) 8653 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8654 darwin1.*) 8655 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8656 darwin*) # darwin 5.x on 8657 # if running on 10.5 or later, the deployment target defaults 8658 # to the OS version, if on x86, and 10.4, the deployment 8659 # target defaults to 10.4. Don't you love it? 8660 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8661 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8662 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8663 10.[012][,.]*) 8664 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8665 10.*) 8666 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8667 esac 8668 ;; 8669 esac 8670 if test yes = "$lt_cv_apple_cc_single_mod"; then 8671 _lt_dar_single_mod='$single_module' 8672 fi 8673 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8674 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8675 else 8676 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8677 fi 8678 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8679 _lt_dsymutil='~$DSYMUTIL $lib || :' 8680 else 8681 _lt_dsymutil= 8682 fi 8683 ;; 8684 esac 8685 8686# func_munge_path_list VARIABLE PATH 8687# ----------------------------------- 8688# VARIABLE is name of variable containing _space_ separated list of 8689# directories to be munged by the contents of PATH, which is string 8690# having a format: 8691# "DIR[:DIR]:" 8692# string "DIR[ DIR]" will be prepended to VARIABLE 8693# ":DIR[:DIR]" 8694# string "DIR[ DIR]" will be appended to VARIABLE 8695# "DIRP[:DIRP]::[DIRA:]DIRA" 8696# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8697# "DIRA[ DIRA]" will be appended to VARIABLE 8698# "DIR[:DIR]" 8699# VARIABLE will be replaced by "DIR[ DIR]" 8700func_munge_path_list () 8701{ 8702 case x$2 in 8703 x) 8704 ;; 8705 *:) 8706 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8707 ;; 8708 x:*) 8709 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8710 ;; 8711 *::*) 8712 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8713 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8714 ;; 8715 *) 8716 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8717 ;; 8718 esac 8719} 8720 8721ac_ext=c 8722ac_cpp='$CPP $CPPFLAGS' 8723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8725ac_compiler_gnu=$ac_cv_c_compiler_gnu 8726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 8727$as_echo_n "checking how to run the C preprocessor... " >&6; } 8728# On Suns, sometimes $CPP names a directory. 8729if test -n "$CPP" && test -d "$CPP"; then 8730 CPP= 8731fi 8732if test -z "$CPP"; then 8733 if ${ac_cv_prog_CPP+:} false; then : 8734 $as_echo_n "(cached) " >&6 8735else 8736 # Double quotes because CPP needs to be expanded 8737 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 8738 do 8739 ac_preproc_ok=false 8740for ac_c_preproc_warn_flag in '' yes 8741do 8742 # Use a header file that comes with gcc, so configuring glibc 8743 # with a fresh cross-compiler works. 8744 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8745 # <limits.h> exists even on freestanding compilers. 8746 # On the NeXT, cc -E runs the code through the compiler's parser, 8747 # not just through cpp. "Syntax error" is here to catch this case. 8748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8749/* end confdefs.h. */ 8750#ifdef __STDC__ 8751# include <limits.h> 8752#else 8753# include <assert.h> 8754#endif 8755 Syntax error 8756_ACEOF 8757if ac_fn_c_try_cpp "$LINENO"; then : 8758 8759else 8760 # Broken: fails on valid input. 8761continue 8762fi 8763rm -f conftest.err conftest.i conftest.$ac_ext 8764 8765 # OK, works on sane cases. Now check whether nonexistent headers 8766 # can be detected and how. 8767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8768/* end confdefs.h. */ 8769#include <ac_nonexistent.h> 8770_ACEOF 8771if ac_fn_c_try_cpp "$LINENO"; then : 8772 # Broken: success on invalid input. 8773continue 8774else 8775 # Passes both tests. 8776ac_preproc_ok=: 8777break 8778fi 8779rm -f conftest.err conftest.i conftest.$ac_ext 8780 8781done 8782# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8783rm -f conftest.i conftest.err conftest.$ac_ext 8784if $ac_preproc_ok; then : 8785 break 8786fi 8787 8788 done 8789 ac_cv_prog_CPP=$CPP 8790 8791fi 8792 CPP=$ac_cv_prog_CPP 8793else 8794 ac_cv_prog_CPP=$CPP 8795fi 8796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 8797$as_echo "$CPP" >&6; } 8798ac_preproc_ok=false 8799for ac_c_preproc_warn_flag in '' yes 8800do 8801 # Use a header file that comes with gcc, so configuring glibc 8802 # with a fresh cross-compiler works. 8803 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8804 # <limits.h> exists even on freestanding compilers. 8805 # On the NeXT, cc -E runs the code through the compiler's parser, 8806 # not just through cpp. "Syntax error" is here to catch this case. 8807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8808/* end confdefs.h. */ 8809#ifdef __STDC__ 8810# include <limits.h> 8811#else 8812# include <assert.h> 8813#endif 8814 Syntax error 8815_ACEOF 8816if ac_fn_c_try_cpp "$LINENO"; then : 8817 8818else 8819 # Broken: fails on valid input. 8820continue 8821fi 8822rm -f conftest.err conftest.i conftest.$ac_ext 8823 8824 # OK, works on sane cases. Now check whether nonexistent headers 8825 # can be detected and how. 8826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8827/* end confdefs.h. */ 8828#include <ac_nonexistent.h> 8829_ACEOF 8830if ac_fn_c_try_cpp "$LINENO"; then : 8831 # Broken: success on invalid input. 8832continue 8833else 8834 # Passes both tests. 8835ac_preproc_ok=: 8836break 8837fi 8838rm -f conftest.err conftest.i conftest.$ac_ext 8839 8840done 8841# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8842rm -f conftest.i conftest.err conftest.$ac_ext 8843if $ac_preproc_ok; then : 8844 8845else 8846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8847$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8848as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 8849See \`config.log' for more details" "$LINENO" 5; } 8850fi 8851 8852ac_ext=c 8853ac_cpp='$CPP $CPPFLAGS' 8854ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8855ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8856ac_compiler_gnu=$ac_cv_c_compiler_gnu 8857 8858 8859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8860$as_echo_n "checking for ANSI C header files... " >&6; } 8861if ${ac_cv_header_stdc+:} false; then : 8862 $as_echo_n "(cached) " >&6 8863else 8864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8865/* end confdefs.h. */ 8866#include <stdlib.h> 8867#include <stdarg.h> 8868#include <string.h> 8869#include <float.h> 8870 8871int 8872main () 8873{ 8874 8875 ; 8876 return 0; 8877} 8878_ACEOF 8879if ac_fn_c_try_compile "$LINENO"; then : 8880 ac_cv_header_stdc=yes 8881else 8882 ac_cv_header_stdc=no 8883fi 8884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8885 8886if test $ac_cv_header_stdc = yes; then 8887 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8889/* end confdefs.h. */ 8890#include <string.h> 8891 8892_ACEOF 8893if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8894 $EGREP "memchr" >/dev/null 2>&1; then : 8895 8896else 8897 ac_cv_header_stdc=no 8898fi 8899rm -f conftest* 8900 8901fi 8902 8903if test $ac_cv_header_stdc = yes; then 8904 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8906/* end confdefs.h. */ 8907#include <stdlib.h> 8908 8909_ACEOF 8910if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8911 $EGREP "free" >/dev/null 2>&1; then : 8912 8913else 8914 ac_cv_header_stdc=no 8915fi 8916rm -f conftest* 8917 8918fi 8919 8920if test $ac_cv_header_stdc = yes; then 8921 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8922 if test "$cross_compiling" = yes; then : 8923 : 8924else 8925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8926/* end confdefs.h. */ 8927#include <ctype.h> 8928#include <stdlib.h> 8929#if ((' ' & 0x0FF) == 0x020) 8930# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8931# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8932#else 8933# define ISLOWER(c) \ 8934 (('a' <= (c) && (c) <= 'i') \ 8935 || ('j' <= (c) && (c) <= 'r') \ 8936 || ('s' <= (c) && (c) <= 'z')) 8937# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8938#endif 8939 8940#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8941int 8942main () 8943{ 8944 int i; 8945 for (i = 0; i < 256; i++) 8946 if (XOR (islower (i), ISLOWER (i)) 8947 || toupper (i) != TOUPPER (i)) 8948 return 2; 8949 return 0; 8950} 8951_ACEOF 8952if ac_fn_c_try_run "$LINENO"; then : 8953 8954else 8955 ac_cv_header_stdc=no 8956fi 8957rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8958 conftest.$ac_objext conftest.beam conftest.$ac_ext 8959fi 8960 8961fi 8962fi 8963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8964$as_echo "$ac_cv_header_stdc" >&6; } 8965if test $ac_cv_header_stdc = yes; then 8966 8967$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8968 8969fi 8970 8971# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8972for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8973 inttypes.h stdint.h unistd.h 8974do : 8975 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8976ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8977" 8978if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8979 cat >>confdefs.h <<_ACEOF 8980#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8981_ACEOF 8982 8983fi 8984 8985done 8986 8987 8988for ac_header in dlfcn.h 8989do : 8990 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8991" 8992if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8993 cat >>confdefs.h <<_ACEOF 8994#define HAVE_DLFCN_H 1 8995_ACEOF 8996 8997fi 8998 8999done 9000 9001 9002 9003func_stripname_cnf () 9004{ 9005 case $2 in 9006 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 9007 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 9008 esac 9009} # func_stripname_cnf 9010 9011 9012 9013 9014 9015# Set options 9016 9017 9018 9019 enable_dlopen=no 9020 9021 9022 9023 # Check whether --enable-shared was given. 9024if test "${enable_shared+set}" = set; then : 9025 enableval=$enable_shared; p=${PACKAGE-default} 9026 case $enableval in 9027 yes) enable_shared=yes ;; 9028 no) enable_shared=no ;; 9029 *) 9030 enable_shared=no 9031 # Look at the argument we got. We use all the common list separators. 9032 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9033 for pkg in $enableval; do 9034 IFS=$lt_save_ifs 9035 if test "X$pkg" = "X$p"; then 9036 enable_shared=yes 9037 fi 9038 done 9039 IFS=$lt_save_ifs 9040 ;; 9041 esac 9042else 9043 enable_shared=yes 9044fi 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056# Check whether --with-pic was given. 9057if test "${with_pic+set}" = set; then : 9058 withval=$with_pic; lt_p=${PACKAGE-default} 9059 case $withval in 9060 yes|no) pic_mode=$withval ;; 9061 *) 9062 pic_mode=default 9063 # Look at the argument we got. We use all the common list separators. 9064 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9065 for lt_pkg in $withval; do 9066 IFS=$lt_save_ifs 9067 if test "X$lt_pkg" = "X$lt_p"; then 9068 pic_mode=yes 9069 fi 9070 done 9071 IFS=$lt_save_ifs 9072 ;; 9073 esac 9074else 9075 pic_mode=default 9076fi 9077 9078 9079 9080 9081 9082 9083 9084 9085 # Check whether --enable-fast-install was given. 9086if test "${enable_fast_install+set}" = set; then : 9087 enableval=$enable_fast_install; p=${PACKAGE-default} 9088 case $enableval in 9089 yes) enable_fast_install=yes ;; 9090 no) enable_fast_install=no ;; 9091 *) 9092 enable_fast_install=no 9093 # Look at the argument we got. We use all the common list separators. 9094 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9095 for pkg in $enableval; do 9096 IFS=$lt_save_ifs 9097 if test "X$pkg" = "X$p"; then 9098 enable_fast_install=yes 9099 fi 9100 done 9101 IFS=$lt_save_ifs 9102 ;; 9103 esac 9104else 9105 enable_fast_install=yes 9106fi 9107 9108 9109 9110 9111 9112 9113 9114 9115 shared_archive_member_spec= 9116case $host,$enable_shared in 9117power*-*-aix[5-9]*,yes) 9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9119$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9120 9121# Check whether --with-aix-soname was given. 9122if test "${with_aix_soname+set}" = set; then : 9123 withval=$with_aix_soname; case $withval in 9124 aix|svr4|both) 9125 ;; 9126 *) 9127 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9128 ;; 9129 esac 9130 lt_cv_with_aix_soname=$with_aix_soname 9131else 9132 if ${lt_cv_with_aix_soname+:} false; then : 9133 $as_echo_n "(cached) " >&6 9134else 9135 lt_cv_with_aix_soname=aix 9136fi 9137 9138 with_aix_soname=$lt_cv_with_aix_soname 9139fi 9140 9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9142$as_echo "$with_aix_soname" >&6; } 9143 if test aix != "$with_aix_soname"; then 9144 # For the AIX way of multilib, we name the shared archive member 9145 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9146 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9147 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9148 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9149 if test 64 = "${OBJECT_MODE-32}"; then 9150 shared_archive_member_spec=shr_64 9151 else 9152 shared_archive_member_spec=shr 9153 fi 9154 fi 9155 ;; 9156*) 9157 with_aix_soname=aix 9158 ;; 9159esac 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170# This can be used to rebuild libtool when needed 9171LIBTOOL_DEPS=$ltmain 9172 9173# Always use our own libtool. 9174LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205test -z "$LN_S" && LN_S="ln -s" 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220if test -n "${ZSH_VERSION+set}"; then 9221 setopt NO_GLOB_SUBST 9222fi 9223 9224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9225$as_echo_n "checking for objdir... " >&6; } 9226if ${lt_cv_objdir+:} false; then : 9227 $as_echo_n "(cached) " >&6 9228else 9229 rm -f .libs 2>/dev/null 9230mkdir .libs 2>/dev/null 9231if test -d .libs; then 9232 lt_cv_objdir=.libs 9233else 9234 # MS-DOS does not allow filenames that begin with a dot. 9235 lt_cv_objdir=_libs 9236fi 9237rmdir .libs 2>/dev/null 9238fi 9239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9240$as_echo "$lt_cv_objdir" >&6; } 9241objdir=$lt_cv_objdir 9242 9243 9244 9245 9246 9247cat >>confdefs.h <<_ACEOF 9248#define LT_OBJDIR "$lt_cv_objdir/" 9249_ACEOF 9250 9251 9252 9253 9254case $host_os in 9255aix3*) 9256 # AIX sometimes has problems with the GCC collect2 program. For some 9257 # reason, if we set the COLLECT_NAMES environment variable, the problems 9258 # vanish in a puff of smoke. 9259 if test set != "${COLLECT_NAMES+set}"; then 9260 COLLECT_NAMES= 9261 export COLLECT_NAMES 9262 fi 9263 ;; 9264esac 9265 9266# Global variables: 9267ofile=libtool 9268can_build_shared=yes 9269 9270# All known linkers require a '.a' archive for static linking (except MSVC, 9271# which needs '.lib'). 9272libext=a 9273 9274with_gnu_ld=$lt_cv_prog_gnu_ld 9275 9276old_CC=$CC 9277old_CFLAGS=$CFLAGS 9278 9279# Set sane defaults for various variables 9280test -z "$CC" && CC=cc 9281test -z "$LTCC" && LTCC=$CC 9282test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9283test -z "$LD" && LD=ld 9284test -z "$ac_objext" && ac_objext=o 9285 9286func_cc_basename $compiler 9287cc_basename=$func_cc_basename_result 9288 9289 9290# Only perform the check for file, if the check method requires it 9291test -z "$MAGIC_CMD" && MAGIC_CMD=file 9292case $deplibs_check_method in 9293file_magic*) 9294 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9296$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9297if ${lt_cv_path_MAGIC_CMD+:} false; then : 9298 $as_echo_n "(cached) " >&6 9299else 9300 case $MAGIC_CMD in 9301[\\/*] | ?:[\\/]*) 9302 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9303 ;; 9304*) 9305 lt_save_MAGIC_CMD=$MAGIC_CMD 9306 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9307 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9308 for ac_dir in $ac_dummy; do 9309 IFS=$lt_save_ifs 9310 test -z "$ac_dir" && ac_dir=. 9311 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9312 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9313 if test -n "$file_magic_test_file"; then 9314 case $deplibs_check_method in 9315 "file_magic "*) 9316 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9317 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9318 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9319 $EGREP "$file_magic_regex" > /dev/null; then 9320 : 9321 else 9322 cat <<_LT_EOF 1>&2 9323 9324*** Warning: the command libtool uses to detect shared libraries, 9325*** $file_magic_cmd, produces output that libtool cannot recognize. 9326*** The result is that libtool may fail to recognize shared libraries 9327*** as such. This will affect the creation of libtool libraries that 9328*** depend on shared libraries, but programs linked with such libtool 9329*** libraries will work regardless of this problem. Nevertheless, you 9330*** may want to report the problem to your system manager and/or to 9331*** bug-libtool@gnu.org 9332 9333_LT_EOF 9334 fi ;; 9335 esac 9336 fi 9337 break 9338 fi 9339 done 9340 IFS=$lt_save_ifs 9341 MAGIC_CMD=$lt_save_MAGIC_CMD 9342 ;; 9343esac 9344fi 9345 9346MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9347if test -n "$MAGIC_CMD"; then 9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9349$as_echo "$MAGIC_CMD" >&6; } 9350else 9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9352$as_echo "no" >&6; } 9353fi 9354 9355 9356 9357 9358 9359if test -z "$lt_cv_path_MAGIC_CMD"; then 9360 if test -n "$ac_tool_prefix"; then 9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9362$as_echo_n "checking for file... " >&6; } 9363if ${lt_cv_path_MAGIC_CMD+:} false; then : 9364 $as_echo_n "(cached) " >&6 9365else 9366 case $MAGIC_CMD in 9367[\\/*] | ?:[\\/]*) 9368 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9369 ;; 9370*) 9371 lt_save_MAGIC_CMD=$MAGIC_CMD 9372 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9373 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9374 for ac_dir in $ac_dummy; do 9375 IFS=$lt_save_ifs 9376 test -z "$ac_dir" && ac_dir=. 9377 if test -f "$ac_dir/file"; then 9378 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9379 if test -n "$file_magic_test_file"; then 9380 case $deplibs_check_method in 9381 "file_magic "*) 9382 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9383 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9384 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9385 $EGREP "$file_magic_regex" > /dev/null; then 9386 : 9387 else 9388 cat <<_LT_EOF 1>&2 9389 9390*** Warning: the command libtool uses to detect shared libraries, 9391*** $file_magic_cmd, produces output that libtool cannot recognize. 9392*** The result is that libtool may fail to recognize shared libraries 9393*** as such. This will affect the creation of libtool libraries that 9394*** depend on shared libraries, but programs linked with such libtool 9395*** libraries will work regardless of this problem. Nevertheless, you 9396*** may want to report the problem to your system manager and/or to 9397*** bug-libtool@gnu.org 9398 9399_LT_EOF 9400 fi ;; 9401 esac 9402 fi 9403 break 9404 fi 9405 done 9406 IFS=$lt_save_ifs 9407 MAGIC_CMD=$lt_save_MAGIC_CMD 9408 ;; 9409esac 9410fi 9411 9412MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9413if test -n "$MAGIC_CMD"; then 9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9415$as_echo "$MAGIC_CMD" >&6; } 9416else 9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9418$as_echo "no" >&6; } 9419fi 9420 9421 9422 else 9423 MAGIC_CMD=: 9424 fi 9425fi 9426 9427 fi 9428 ;; 9429esac 9430 9431# Use C for the default configuration in the libtool script 9432 9433lt_save_CC=$CC 9434ac_ext=c 9435ac_cpp='$CPP $CPPFLAGS' 9436ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9437ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9438ac_compiler_gnu=$ac_cv_c_compiler_gnu 9439 9440 9441# Source file extension for C test sources. 9442ac_ext=c 9443 9444# Object file extension for compiled C test sources. 9445objext=o 9446objext=$objext 9447 9448# Code to be used in simple compile tests 9449lt_simple_compile_test_code="int some_variable = 0;" 9450 9451# Code to be used in simple link tests 9452lt_simple_link_test_code='int main(){return(0);}' 9453 9454 9455 9456 9457 9458 9459 9460# If no C compiler was specified, use CC. 9461LTCC=${LTCC-"$CC"} 9462 9463# If no C compiler flags were specified, use CFLAGS. 9464LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9465 9466# Allow CC to be a program name with arguments. 9467compiler=$CC 9468 9469# Save the default compiler, since it gets overwritten when the other 9470# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9471compiler_DEFAULT=$CC 9472 9473# save warnings/boilerplate of simple test code 9474ac_outfile=conftest.$ac_objext 9475echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9476eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9477_lt_compiler_boilerplate=`cat conftest.err` 9478$RM conftest* 9479 9480ac_outfile=conftest.$ac_objext 9481echo "$lt_simple_link_test_code" >conftest.$ac_ext 9482eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9483_lt_linker_boilerplate=`cat conftest.err` 9484$RM -r conftest* 9485 9486 9487## CAVEAT EMPTOR: 9488## There is no encapsulation within the following macros, do not change 9489## the running order or otherwise move them around unless you know exactly 9490## what you are doing... 9491if test -n "$compiler"; then 9492 9493lt_prog_compiler_no_builtin_flag= 9494 9495if test yes = "$GCC"; then 9496 case $cc_basename in 9497 nvcc*) 9498 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9499 *) 9500 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9501 esac 9502 9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9504$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9505if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9506 $as_echo_n "(cached) " >&6 9507else 9508 lt_cv_prog_compiler_rtti_exceptions=no 9509 ac_outfile=conftest.$ac_objext 9510 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9511 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9512 # Insert the option either (1) after the last *FLAGS variable, or 9513 # (2) before a word containing "conftest.", or (3) at the end. 9514 # Note that $ac_compile itself does not contain backslashes and begins 9515 # with a dollar sign (not a hyphen), so the echo should work correctly. 9516 # The option is referenced via a variable to avoid confusing sed. 9517 lt_compile=`echo "$ac_compile" | $SED \ 9518 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9519 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9520 -e 's:$: $lt_compiler_flag:'` 9521 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9522 (eval "$lt_compile" 2>conftest.err) 9523 ac_status=$? 9524 cat conftest.err >&5 9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9526 if (exit $ac_status) && test -s "$ac_outfile"; then 9527 # The compiler can only warn and ignore the option if not recognized 9528 # So say no if there are warnings other than the usual output. 9529 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9530 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9531 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9532 lt_cv_prog_compiler_rtti_exceptions=yes 9533 fi 9534 fi 9535 $RM conftest* 9536 9537fi 9538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9539$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9540 9541if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9542 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9543else 9544 : 9545fi 9546 9547fi 9548 9549 9550 9551 9552 9553 9554 lt_prog_compiler_wl= 9555lt_prog_compiler_pic= 9556lt_prog_compiler_static= 9557 9558 9559 if test yes = "$GCC"; then 9560 lt_prog_compiler_wl='-Wl,' 9561 lt_prog_compiler_static='-static' 9562 9563 case $host_os in 9564 aix*) 9565 # All AIX code is PIC. 9566 if test ia64 = "$host_cpu"; then 9567 # AIX 5 now supports IA64 processor 9568 lt_prog_compiler_static='-Bstatic' 9569 fi 9570 lt_prog_compiler_pic='-fPIC' 9571 ;; 9572 9573 amigaos*) 9574 case $host_cpu in 9575 powerpc) 9576 # see comment about AmigaOS4 .so support 9577 lt_prog_compiler_pic='-fPIC' 9578 ;; 9579 m68k) 9580 # FIXME: we need at least 68020 code to build shared libraries, but 9581 # adding the '-m68020' flag to GCC prevents building anything better, 9582 # like '-m68040'. 9583 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9584 ;; 9585 esac 9586 ;; 9587 9588 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9589 # PIC is the default for these OSes. 9590 ;; 9591 9592 mingw* | cygwin* | pw32* | os2* | cegcc*) 9593 # This hack is so that the source file can tell whether it is being 9594 # built for inclusion in a dll (and should export symbols for example). 9595 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9596 # (--disable-auto-import) libraries 9597 lt_prog_compiler_pic='-DDLL_EXPORT' 9598 case $host_os in 9599 os2*) 9600 lt_prog_compiler_static='$wl-static' 9601 ;; 9602 esac 9603 ;; 9604 9605 darwin* | rhapsody*) 9606 # PIC is the default on this platform 9607 # Common symbols not allowed in MH_DYLIB files 9608 lt_prog_compiler_pic='-fno-common' 9609 ;; 9610 9611 haiku*) 9612 # PIC is the default for Haiku. 9613 # The "-static" flag exists, but is broken. 9614 lt_prog_compiler_static= 9615 ;; 9616 9617 hpux*) 9618 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9619 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9620 # sets the default TLS model and affects inlining. 9621 case $host_cpu in 9622 hppa*64*) 9623 # +Z the default 9624 ;; 9625 *) 9626 lt_prog_compiler_pic='-fPIC' 9627 ;; 9628 esac 9629 ;; 9630 9631 interix[3-9]*) 9632 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9633 # Instead, we relocate shared libraries at runtime. 9634 ;; 9635 9636 msdosdjgpp*) 9637 # Just because we use GCC doesn't mean we suddenly get shared libraries 9638 # on systems that don't support them. 9639 lt_prog_compiler_can_build_shared=no 9640 enable_shared=no 9641 ;; 9642 9643 *nto* | *qnx*) 9644 # QNX uses GNU C++, but need to define -shared option too, otherwise 9645 # it will coredump. 9646 lt_prog_compiler_pic='-fPIC -shared' 9647 ;; 9648 9649 sysv4*MP*) 9650 if test -d /usr/nec; then 9651 lt_prog_compiler_pic=-Kconform_pic 9652 fi 9653 ;; 9654 9655 *) 9656 lt_prog_compiler_pic='-fPIC' 9657 ;; 9658 esac 9659 9660 case $cc_basename in 9661 nvcc*) # Cuda Compiler Driver 2.2 9662 lt_prog_compiler_wl='-Xlinker ' 9663 if test -n "$lt_prog_compiler_pic"; then 9664 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9665 fi 9666 ;; 9667 esac 9668 else 9669 # PORTME Check for flag to pass linker flags through the system compiler. 9670 case $host_os in 9671 aix*) 9672 lt_prog_compiler_wl='-Wl,' 9673 if test ia64 = "$host_cpu"; then 9674 # AIX 5 now supports IA64 processor 9675 lt_prog_compiler_static='-Bstatic' 9676 else 9677 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9678 fi 9679 ;; 9680 9681 darwin* | rhapsody*) 9682 # PIC is the default on this platform 9683 # Common symbols not allowed in MH_DYLIB files 9684 lt_prog_compiler_pic='-fno-common' 9685 case $cc_basename in 9686 nagfor*) 9687 # NAG Fortran compiler 9688 lt_prog_compiler_wl='-Wl,-Wl,,' 9689 lt_prog_compiler_pic='-PIC' 9690 lt_prog_compiler_static='-Bstatic' 9691 ;; 9692 esac 9693 ;; 9694 9695 mingw* | cygwin* | pw32* | os2* | cegcc*) 9696 # This hack is so that the source file can tell whether it is being 9697 # built for inclusion in a dll (and should export symbols for example). 9698 lt_prog_compiler_pic='-DDLL_EXPORT' 9699 case $host_os in 9700 os2*) 9701 lt_prog_compiler_static='$wl-static' 9702 ;; 9703 esac 9704 ;; 9705 9706 hpux9* | hpux10* | hpux11*) 9707 lt_prog_compiler_wl='-Wl,' 9708 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9709 # not for PA HP-UX. 9710 case $host_cpu in 9711 hppa*64*|ia64*) 9712 # +Z the default 9713 ;; 9714 *) 9715 lt_prog_compiler_pic='+Z' 9716 ;; 9717 esac 9718 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9719 lt_prog_compiler_static='$wl-a ${wl}archive' 9720 ;; 9721 9722 irix5* | irix6* | nonstopux*) 9723 lt_prog_compiler_wl='-Wl,' 9724 # PIC (with -KPIC) is the default. 9725 lt_prog_compiler_static='-non_shared' 9726 ;; 9727 9728 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9729 case $cc_basename in 9730 # old Intel for x86_64, which still supported -KPIC. 9731 ecc*) 9732 lt_prog_compiler_wl='-Wl,' 9733 lt_prog_compiler_pic='-KPIC' 9734 lt_prog_compiler_static='-static' 9735 ;; 9736 # icc used to be incompatible with GCC. 9737 # ICC 10 doesn't accept -KPIC any more. 9738 icc* | ifort*) 9739 lt_prog_compiler_wl='-Wl,' 9740 lt_prog_compiler_pic='-fPIC' 9741 lt_prog_compiler_static='-static' 9742 ;; 9743 # Lahey Fortran 8.1. 9744 lf95*) 9745 lt_prog_compiler_wl='-Wl,' 9746 lt_prog_compiler_pic='--shared' 9747 lt_prog_compiler_static='--static' 9748 ;; 9749 nagfor*) 9750 # NAG Fortran compiler 9751 lt_prog_compiler_wl='-Wl,-Wl,,' 9752 lt_prog_compiler_pic='-PIC' 9753 lt_prog_compiler_static='-Bstatic' 9754 ;; 9755 tcc*) 9756 # Fabrice Bellard et al's Tiny C Compiler 9757 lt_prog_compiler_wl='-Wl,' 9758 lt_prog_compiler_pic='-fPIC' 9759 lt_prog_compiler_static='-static' 9760 ;; 9761 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9762 # Portland Group compilers (*not* the Pentium gcc compiler, 9763 # which looks to be a dead project) 9764 lt_prog_compiler_wl='-Wl,' 9765 lt_prog_compiler_pic='-fpic' 9766 lt_prog_compiler_static='-Bstatic' 9767 ;; 9768 ccc*) 9769 lt_prog_compiler_wl='-Wl,' 9770 # All Alpha code is PIC. 9771 lt_prog_compiler_static='-non_shared' 9772 ;; 9773 xl* | bgxl* | bgf* | mpixl*) 9774 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9775 lt_prog_compiler_wl='-Wl,' 9776 lt_prog_compiler_pic='-qpic' 9777 lt_prog_compiler_static='-qstaticlink' 9778 ;; 9779 *) 9780 case `$CC -V 2>&1 | sed 5q` in 9781 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9782 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9783 lt_prog_compiler_pic='-KPIC' 9784 lt_prog_compiler_static='-Bstatic' 9785 lt_prog_compiler_wl='' 9786 ;; 9787 *Sun\ F* | *Sun*Fortran*) 9788 lt_prog_compiler_pic='-KPIC' 9789 lt_prog_compiler_static='-Bstatic' 9790 lt_prog_compiler_wl='-Qoption ld ' 9791 ;; 9792 *Sun\ C*) 9793 # Sun C 5.9 9794 lt_prog_compiler_pic='-KPIC' 9795 lt_prog_compiler_static='-Bstatic' 9796 lt_prog_compiler_wl='-Wl,' 9797 ;; 9798 *Intel*\ [CF]*Compiler*) 9799 lt_prog_compiler_wl='-Wl,' 9800 lt_prog_compiler_pic='-fPIC' 9801 lt_prog_compiler_static='-static' 9802 ;; 9803 *Portland\ Group*) 9804 lt_prog_compiler_wl='-Wl,' 9805 lt_prog_compiler_pic='-fpic' 9806 lt_prog_compiler_static='-Bstatic' 9807 ;; 9808 esac 9809 ;; 9810 esac 9811 ;; 9812 9813 newsos6) 9814 lt_prog_compiler_pic='-KPIC' 9815 lt_prog_compiler_static='-Bstatic' 9816 ;; 9817 9818 *nto* | *qnx*) 9819 # QNX uses GNU C++, but need to define -shared option too, otherwise 9820 # it will coredump. 9821 lt_prog_compiler_pic='-fPIC -shared' 9822 ;; 9823 9824 osf3* | osf4* | osf5*) 9825 lt_prog_compiler_wl='-Wl,' 9826 # All OSF/1 code is PIC. 9827 lt_prog_compiler_static='-non_shared' 9828 ;; 9829 9830 rdos*) 9831 lt_prog_compiler_static='-non_shared' 9832 ;; 9833 9834 solaris*) 9835 lt_prog_compiler_pic='-KPIC' 9836 lt_prog_compiler_static='-Bstatic' 9837 case $cc_basename in 9838 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9839 lt_prog_compiler_wl='-Qoption ld ';; 9840 *) 9841 lt_prog_compiler_wl='-Wl,';; 9842 esac 9843 ;; 9844 9845 sunos4*) 9846 lt_prog_compiler_wl='-Qoption ld ' 9847 lt_prog_compiler_pic='-PIC' 9848 lt_prog_compiler_static='-Bstatic' 9849 ;; 9850 9851 sysv4 | sysv4.2uw2* | sysv4.3*) 9852 lt_prog_compiler_wl='-Wl,' 9853 lt_prog_compiler_pic='-KPIC' 9854 lt_prog_compiler_static='-Bstatic' 9855 ;; 9856 9857 sysv4*MP*) 9858 if test -d /usr/nec; then 9859 lt_prog_compiler_pic='-Kconform_pic' 9860 lt_prog_compiler_static='-Bstatic' 9861 fi 9862 ;; 9863 9864 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9865 lt_prog_compiler_wl='-Wl,' 9866 lt_prog_compiler_pic='-KPIC' 9867 lt_prog_compiler_static='-Bstatic' 9868 ;; 9869 9870 unicos*) 9871 lt_prog_compiler_wl='-Wl,' 9872 lt_prog_compiler_can_build_shared=no 9873 ;; 9874 9875 uts4*) 9876 lt_prog_compiler_pic='-pic' 9877 lt_prog_compiler_static='-Bstatic' 9878 ;; 9879 9880 *) 9881 lt_prog_compiler_can_build_shared=no 9882 ;; 9883 esac 9884 fi 9885 9886case $host_os in 9887 # For platforms that do not support PIC, -DPIC is meaningless: 9888 *djgpp*) 9889 lt_prog_compiler_pic= 9890 ;; 9891 *) 9892 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9893 ;; 9894esac 9895 9896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9897$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9898if ${lt_cv_prog_compiler_pic+:} false; then : 9899 $as_echo_n "(cached) " >&6 9900else 9901 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9902fi 9903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9904$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9905lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9906 9907# 9908# Check to make sure the PIC flag actually works. 9909# 9910if test -n "$lt_prog_compiler_pic"; then 9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9912$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9913if ${lt_cv_prog_compiler_pic_works+:} false; then : 9914 $as_echo_n "(cached) " >&6 9915else 9916 lt_cv_prog_compiler_pic_works=no 9917 ac_outfile=conftest.$ac_objext 9918 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9919 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9920 # Insert the option either (1) after the last *FLAGS variable, or 9921 # (2) before a word containing "conftest.", or (3) at the end. 9922 # Note that $ac_compile itself does not contain backslashes and begins 9923 # with a dollar sign (not a hyphen), so the echo should work correctly. 9924 # The option is referenced via a variable to avoid confusing sed. 9925 lt_compile=`echo "$ac_compile" | $SED \ 9926 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9928 -e 's:$: $lt_compiler_flag:'` 9929 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9930 (eval "$lt_compile" 2>conftest.err) 9931 ac_status=$? 9932 cat conftest.err >&5 9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9934 if (exit $ac_status) && test -s "$ac_outfile"; then 9935 # The compiler can only warn and ignore the option if not recognized 9936 # So say no if there are warnings other than the usual output. 9937 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9938 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9939 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9940 lt_cv_prog_compiler_pic_works=yes 9941 fi 9942 fi 9943 $RM conftest* 9944 9945fi 9946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9947$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9948 9949if test yes = "$lt_cv_prog_compiler_pic_works"; then 9950 case $lt_prog_compiler_pic in 9951 "" | " "*) ;; 9952 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9953 esac 9954else 9955 lt_prog_compiler_pic= 9956 lt_prog_compiler_can_build_shared=no 9957fi 9958 9959fi 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971# 9972# Check to make sure the static flag actually works. 9973# 9974wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9976$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9977if ${lt_cv_prog_compiler_static_works+:} false; then : 9978 $as_echo_n "(cached) " >&6 9979else 9980 lt_cv_prog_compiler_static_works=no 9981 save_LDFLAGS=$LDFLAGS 9982 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9983 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9984 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9985 # The linker can only warn and ignore the option if not recognized 9986 # So say no if there are warnings 9987 if test -s conftest.err; then 9988 # Append any errors to the config.log. 9989 cat conftest.err 1>&5 9990 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9991 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9992 if diff conftest.exp conftest.er2 >/dev/null; then 9993 lt_cv_prog_compiler_static_works=yes 9994 fi 9995 else 9996 lt_cv_prog_compiler_static_works=yes 9997 fi 9998 fi 9999 $RM -r conftest* 10000 LDFLAGS=$save_LDFLAGS 10001 10002fi 10003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10004$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10005 10006if test yes = "$lt_cv_prog_compiler_static_works"; then 10007 : 10008else 10009 lt_prog_compiler_static= 10010fi 10011 10012 10013 10014 10015 10016 10017 10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10019$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10020if ${lt_cv_prog_compiler_c_o+:} false; then : 10021 $as_echo_n "(cached) " >&6 10022else 10023 lt_cv_prog_compiler_c_o=no 10024 $RM -r conftest 2>/dev/null 10025 mkdir conftest 10026 cd conftest 10027 mkdir out 10028 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10029 10030 lt_compiler_flag="-o out/conftest2.$ac_objext" 10031 # Insert the option either (1) after the last *FLAGS variable, or 10032 # (2) before a word containing "conftest.", or (3) at the end. 10033 # Note that $ac_compile itself does not contain backslashes and begins 10034 # with a dollar sign (not a hyphen), so the echo should work correctly. 10035 lt_compile=`echo "$ac_compile" | $SED \ 10036 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10037 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10038 -e 's:$: $lt_compiler_flag:'` 10039 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10040 (eval "$lt_compile" 2>out/conftest.err) 10041 ac_status=$? 10042 cat out/conftest.err >&5 10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10044 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10045 then 10046 # The compiler can only warn and ignore the option if not recognized 10047 # So say no if there are warnings 10048 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10049 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10050 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10051 lt_cv_prog_compiler_c_o=yes 10052 fi 10053 fi 10054 chmod u+w . 2>&5 10055 $RM conftest* 10056 # SGI C++ compiler will create directory out/ii_files/ for 10057 # template instantiation 10058 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10059 $RM out/* && rmdir out 10060 cd .. 10061 $RM -r conftest 10062 $RM conftest* 10063 10064fi 10065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10066$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10067 10068 10069 10070 10071 10072 10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10074$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10075if ${lt_cv_prog_compiler_c_o+:} false; then : 10076 $as_echo_n "(cached) " >&6 10077else 10078 lt_cv_prog_compiler_c_o=no 10079 $RM -r conftest 2>/dev/null 10080 mkdir conftest 10081 cd conftest 10082 mkdir out 10083 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10084 10085 lt_compiler_flag="-o out/conftest2.$ac_objext" 10086 # Insert the option either (1) after the last *FLAGS variable, or 10087 # (2) before a word containing "conftest.", or (3) at the end. 10088 # Note that $ac_compile itself does not contain backslashes and begins 10089 # with a dollar sign (not a hyphen), so the echo should work correctly. 10090 lt_compile=`echo "$ac_compile" | $SED \ 10091 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10092 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10093 -e 's:$: $lt_compiler_flag:'` 10094 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10095 (eval "$lt_compile" 2>out/conftest.err) 10096 ac_status=$? 10097 cat out/conftest.err >&5 10098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10099 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10100 then 10101 # The compiler can only warn and ignore the option if not recognized 10102 # So say no if there are warnings 10103 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10104 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10105 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10106 lt_cv_prog_compiler_c_o=yes 10107 fi 10108 fi 10109 chmod u+w . 2>&5 10110 $RM conftest* 10111 # SGI C++ compiler will create directory out/ii_files/ for 10112 # template instantiation 10113 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10114 $RM out/* && rmdir out 10115 cd .. 10116 $RM -r conftest 10117 $RM conftest* 10118 10119fi 10120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10121$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10122 10123 10124 10125 10126hard_links=nottested 10127if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10128 # do not overwrite the value of need_locks provided by the user 10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10130$as_echo_n "checking if we can lock with hard links... " >&6; } 10131 hard_links=yes 10132 $RM conftest* 10133 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10134 touch conftest.a 10135 ln conftest.a conftest.b 2>&5 || hard_links=no 10136 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10138$as_echo "$hard_links" >&6; } 10139 if test no = "$hard_links"; then 10140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10141$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10142 need_locks=warn 10143 fi 10144else 10145 need_locks=no 10146fi 10147 10148 10149 10150 10151 10152 10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10154$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10155 10156 runpath_var= 10157 allow_undefined_flag= 10158 always_export_symbols=no 10159 archive_cmds= 10160 archive_expsym_cmds= 10161 compiler_needs_object=no 10162 enable_shared_with_static_runtimes=no 10163 export_dynamic_flag_spec= 10164 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10165 hardcode_automatic=no 10166 hardcode_direct=no 10167 hardcode_direct_absolute=no 10168 hardcode_libdir_flag_spec= 10169 hardcode_libdir_separator= 10170 hardcode_minus_L=no 10171 hardcode_shlibpath_var=unsupported 10172 inherit_rpath=no 10173 link_all_deplibs=unknown 10174 module_cmds= 10175 module_expsym_cmds= 10176 old_archive_from_new_cmds= 10177 old_archive_from_expsyms_cmds= 10178 thread_safe_flag_spec= 10179 whole_archive_flag_spec= 10180 # include_expsyms should be a list of space-separated symbols to be *always* 10181 # included in the symbol list 10182 include_expsyms= 10183 # exclude_expsyms can be an extended regexp of symbols to exclude 10184 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10185 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10186 # as well as any symbol that contains 'd'. 10187 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10188 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10189 # platforms (ab)use it in PIC code, but their linkers get confused if 10190 # the symbol is explicitly referenced. Since portable code cannot 10191 # rely on this symbol name, it's probably fine to never include it in 10192 # preloaded symbol tables. 10193 # Exclude shared library initialization/finalization symbols. 10194 extract_expsyms_cmds= 10195 10196 case $host_os in 10197 cygwin* | mingw* | pw32* | cegcc*) 10198 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10199 # When not using gcc, we currently assume that we are using 10200 # Microsoft Visual C++. 10201 if test yes != "$GCC"; then 10202 with_gnu_ld=no 10203 fi 10204 ;; 10205 interix*) 10206 # we just hope/assume this is gcc and not c89 (= MSVC++) 10207 with_gnu_ld=yes 10208 ;; 10209 openbsd* | bitrig*) 10210 with_gnu_ld=no 10211 ;; 10212 linux* | k*bsd*-gnu | gnu*) 10213 link_all_deplibs=no 10214 ;; 10215 esac 10216 10217 ld_shlibs=yes 10218 10219 # On some targets, GNU ld is compatible enough with the native linker 10220 # that we're better off using the native interface for both. 10221 lt_use_gnu_ld_interface=no 10222 if test yes = "$with_gnu_ld"; then 10223 case $host_os in 10224 aix*) 10225 # The AIX port of GNU ld has always aspired to compatibility 10226 # with the native linker. However, as the warning in the GNU ld 10227 # block says, versions before 2.19.5* couldn't really create working 10228 # shared libraries, regardless of the interface used. 10229 case `$LD -v 2>&1` in 10230 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10231 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10232 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10233 *) 10234 lt_use_gnu_ld_interface=yes 10235 ;; 10236 esac 10237 ;; 10238 *) 10239 lt_use_gnu_ld_interface=yes 10240 ;; 10241 esac 10242 fi 10243 10244 if test yes = "$lt_use_gnu_ld_interface"; then 10245 # If archive_cmds runs LD, not CC, wlarc should be empty 10246 wlarc='$wl' 10247 10248 # Set some defaults for GNU ld with shared library support. These 10249 # are reset later if shared libraries are not supported. Putting them 10250 # here allows them to be overridden if necessary. 10251 runpath_var=LD_RUN_PATH 10252 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10253 export_dynamic_flag_spec='$wl--export-dynamic' 10254 # ancient GNU ld didn't support --whole-archive et. al. 10255 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10256 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10257 else 10258 whole_archive_flag_spec= 10259 fi 10260 supports_anon_versioning=no 10261 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10262 *GNU\ gold*) supports_anon_versioning=yes ;; 10263 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10264 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10265 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10266 *\ 2.11.*) ;; # other 2.11 versions 10267 *) supports_anon_versioning=yes ;; 10268 esac 10269 10270 # See if GNU ld supports shared libraries. 10271 case $host_os in 10272 aix[3-9]*) 10273 # On AIX/PPC, the GNU linker is very broken 10274 if test ia64 != "$host_cpu"; then 10275 ld_shlibs=no 10276 cat <<_LT_EOF 1>&2 10277 10278*** Warning: the GNU linker, at least up to release 2.19, is reported 10279*** to be unable to reliably create shared libraries on AIX. 10280*** Therefore, libtool is disabling shared libraries support. If you 10281*** really care for shared libraries, you may want to install binutils 10282*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10283*** You will then need to restart the configuration process. 10284 10285_LT_EOF 10286 fi 10287 ;; 10288 10289 amigaos*) 10290 case $host_cpu in 10291 powerpc) 10292 # see comment about AmigaOS4 .so support 10293 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10294 archive_expsym_cmds='' 10295 ;; 10296 m68k) 10297 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)' 10298 hardcode_libdir_flag_spec='-L$libdir' 10299 hardcode_minus_L=yes 10300 ;; 10301 esac 10302 ;; 10303 10304 beos*) 10305 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10306 allow_undefined_flag=unsupported 10307 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10308 # support --undefined. This deserves some investigation. FIXME 10309 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10310 else 10311 ld_shlibs=no 10312 fi 10313 ;; 10314 10315 cygwin* | mingw* | pw32* | cegcc*) 10316 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10317 # as there is no search path for DLLs. 10318 hardcode_libdir_flag_spec='-L$libdir' 10319 export_dynamic_flag_spec='$wl--export-all-symbols' 10320 allow_undefined_flag=unsupported 10321 always_export_symbols=no 10322 enable_shared_with_static_runtimes=yes 10323 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' 10324 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10325 10326 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10327 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10328 # If the export-symbols file already is a .def file, use it as 10329 # is; otherwise, prepend EXPORTS... 10330 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10331 cp $export_symbols $output_objdir/$soname.def; 10332 else 10333 echo EXPORTS > $output_objdir/$soname.def; 10334 cat $export_symbols >> $output_objdir/$soname.def; 10335 fi~ 10336 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10337 else 10338 ld_shlibs=no 10339 fi 10340 ;; 10341 10342 haiku*) 10343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10344 link_all_deplibs=yes 10345 ;; 10346 10347 os2*) 10348 hardcode_libdir_flag_spec='-L$libdir' 10349 hardcode_minus_L=yes 10350 allow_undefined_flag=unsupported 10351 shrext_cmds=.dll 10352 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10353 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10354 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10355 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10356 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10357 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10358 emximp -o $lib $output_objdir/$libname.def' 10359 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10360 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10361 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10362 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10363 prefix_cmds="$SED"~ 10364 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10365 prefix_cmds="$prefix_cmds -e 1d"; 10366 fi~ 10367 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10368 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10369 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10370 emximp -o $lib $output_objdir/$libname.def' 10371 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10372 enable_shared_with_static_runtimes=yes 10373 ;; 10374 10375 interix[3-9]*) 10376 hardcode_direct=no 10377 hardcode_shlibpath_var=no 10378 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10379 export_dynamic_flag_spec='$wl-E' 10380 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10381 # Instead, shared libraries are loaded at an image base (0x10000000 by 10382 # default) and relocated if they conflict, which is a slow very memory 10383 # consuming and fragmenting process. To avoid this, we pick a random, 10384 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10385 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10386 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10387 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' 10388 ;; 10389 10390 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10391 tmp_diet=no 10392 if test linux-dietlibc = "$host_os"; then 10393 case $cc_basename in 10394 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10395 esac 10396 fi 10397 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10398 && test no = "$tmp_diet" 10399 then 10400 tmp_addflag=' $pic_flag' 10401 tmp_sharedflag='-shared' 10402 case $cc_basename,$host_cpu in 10403 pgcc*) # Portland Group C compiler 10404 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' 10405 tmp_addflag=' $pic_flag' 10406 ;; 10407 pgf77* | pgf90* | pgf95* | pgfortran*) 10408 # Portland Group f77 and f90 compilers 10409 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' 10410 tmp_addflag=' $pic_flag -Mnomain' ;; 10411 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10412 tmp_addflag=' -i_dynamic' ;; 10413 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10414 tmp_addflag=' -i_dynamic -nofor_main' ;; 10415 ifc* | ifort*) # Intel Fortran compiler 10416 tmp_addflag=' -nofor_main' ;; 10417 lf95*) # Lahey Fortran 8.1 10418 whole_archive_flag_spec= 10419 tmp_sharedflag='--shared' ;; 10420 nagfor*) # NAGFOR 5.3 10421 tmp_sharedflag='-Wl,-shared' ;; 10422 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10423 tmp_sharedflag='-qmkshrobj' 10424 tmp_addflag= ;; 10425 nvcc*) # Cuda Compiler Driver 2.2 10426 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' 10427 compiler_needs_object=yes 10428 ;; 10429 esac 10430 case `$CC -V 2>&1 | sed 5q` in 10431 *Sun\ C*) # Sun C 5.9 10432 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' 10433 compiler_needs_object=yes 10434 tmp_sharedflag='-G' ;; 10435 *Sun\ F*) # Sun Fortran 8.3 10436 tmp_sharedflag='-G' ;; 10437 esac 10438 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10439 10440 if test yes = "$supports_anon_versioning"; then 10441 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10442 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10443 echo "local: *; };" >> $output_objdir/$libname.ver~ 10444 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10445 fi 10446 10447 case $cc_basename in 10448 tcc*) 10449 export_dynamic_flag_spec='-rdynamic' 10450 ;; 10451 xlf* | bgf* | bgxlf* | mpixlf*) 10452 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10453 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10454 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10455 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10456 if test yes = "$supports_anon_versioning"; then 10457 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10458 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10459 echo "local: *; };" >> $output_objdir/$libname.ver~ 10460 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10461 fi 10462 ;; 10463 esac 10464 else 10465 ld_shlibs=no 10466 fi 10467 ;; 10468 10469 netbsd* | netbsdelf*-gnu) 10470 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10471 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10472 wlarc= 10473 else 10474 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10475 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10476 fi 10477 ;; 10478 10479 solaris*) 10480 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10481 ld_shlibs=no 10482 cat <<_LT_EOF 1>&2 10483 10484*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10485*** create shared libraries on Solaris systems. Therefore, libtool 10486*** is disabling shared libraries support. We urge you to upgrade GNU 10487*** binutils to release 2.9.1 or newer. Another option is to modify 10488*** your PATH or compiler configuration so that the native linker is 10489*** used, and then restart. 10490 10491_LT_EOF 10492 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10493 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10494 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10495 else 10496 ld_shlibs=no 10497 fi 10498 ;; 10499 10500 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10501 case `$LD -v 2>&1` in 10502 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10503 ld_shlibs=no 10504 cat <<_LT_EOF 1>&2 10505 10506*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10507*** reliably create shared libraries on SCO systems. Therefore, libtool 10508*** is disabling shared libraries support. We urge you to upgrade GNU 10509*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10510*** your PATH or compiler configuration so that the native linker is 10511*** used, and then restart. 10512 10513_LT_EOF 10514 ;; 10515 *) 10516 # For security reasons, it is highly recommended that you always 10517 # use absolute paths for naming shared libraries, and exclude the 10518 # DT_RUNPATH tag from executables and libraries. But doing so 10519 # requires that you compile everything twice, which is a pain. 10520 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10521 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10522 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10523 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10524 else 10525 ld_shlibs=no 10526 fi 10527 ;; 10528 esac 10529 ;; 10530 10531 sunos4*) 10532 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10533 wlarc= 10534 hardcode_direct=yes 10535 hardcode_shlibpath_var=no 10536 ;; 10537 10538 *) 10539 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10540 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10541 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10542 else 10543 ld_shlibs=no 10544 fi 10545 ;; 10546 esac 10547 10548 if test no = "$ld_shlibs"; then 10549 runpath_var= 10550 hardcode_libdir_flag_spec= 10551 export_dynamic_flag_spec= 10552 whole_archive_flag_spec= 10553 fi 10554 else 10555 # PORTME fill in a description of your system's linker (not GNU ld) 10556 case $host_os in 10557 aix3*) 10558 allow_undefined_flag=unsupported 10559 always_export_symbols=yes 10560 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' 10561 # Note: this linker hardcodes the directories in LIBPATH if there 10562 # are no directories specified by -L. 10563 hardcode_minus_L=yes 10564 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10565 # Neither direct hardcoding nor static linking is supported with a 10566 # broken collect2. 10567 hardcode_direct=unsupported 10568 fi 10569 ;; 10570 10571 aix[4-9]*) 10572 if test ia64 = "$host_cpu"; then 10573 # On IA64, the linker does run time linking by default, so we don't 10574 # have to do anything special. 10575 aix_use_runtimelinking=no 10576 exp_sym_flag='-Bexport' 10577 no_entry_flag= 10578 else 10579 # If we're using GNU nm, then we don't want the "-C" option. 10580 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10581 # Without the "-l" option, or with the "-B" option, AIX nm treats 10582 # weak defined symbols like other global defined symbols, whereas 10583 # GNU nm marks them as "W". 10584 # While the 'weak' keyword is ignored in the Export File, we need 10585 # it in the Import File for the 'aix-soname' feature, so we have 10586 # to replace the "-B" option with "-P" for AIX nm. 10587 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10588 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' 10589 else 10590 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' 10591 fi 10592 aix_use_runtimelinking=no 10593 10594 # Test if we are trying to use run time linking or normal 10595 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10596 # have runtime linking enabled, and use it for executables. 10597 # For shared libraries, we enable/disable runtime linking 10598 # depending on the kind of the shared library created - 10599 # when "with_aix_soname,aix_use_runtimelinking" is: 10600 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10601 # "aix,yes" lib.so shared, rtl:yes, for executables 10602 # lib.a static archive 10603 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10604 # lib.a(lib.so.V) shared, rtl:no, for executables 10605 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10606 # lib.a(lib.so.V) shared, rtl:no 10607 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10608 # lib.a static archive 10609 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10610 for ld_flag in $LDFLAGS; do 10611 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10612 aix_use_runtimelinking=yes 10613 break 10614 fi 10615 done 10616 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10617 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10618 # so we don't have lib.a shared libs to link our executables. 10619 # We have to force runtime linking in this case. 10620 aix_use_runtimelinking=yes 10621 LDFLAGS="$LDFLAGS -Wl,-brtl" 10622 fi 10623 ;; 10624 esac 10625 10626 exp_sym_flag='-bexport' 10627 no_entry_flag='-bnoentry' 10628 fi 10629 10630 # When large executables or shared objects are built, AIX ld can 10631 # have problems creating the table of contents. If linking a library 10632 # or program results in "error TOC overflow" add -mminimal-toc to 10633 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10634 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10635 10636 archive_cmds='' 10637 hardcode_direct=yes 10638 hardcode_direct_absolute=yes 10639 hardcode_libdir_separator=':' 10640 link_all_deplibs=yes 10641 file_list_spec='$wl-f,' 10642 case $with_aix_soname,$aix_use_runtimelinking in 10643 aix,*) ;; # traditional, no import file 10644 svr4,* | *,yes) # use import file 10645 # The Import File defines what to hardcode. 10646 hardcode_direct=no 10647 hardcode_direct_absolute=no 10648 ;; 10649 esac 10650 10651 if test yes = "$GCC"; then 10652 case $host_os in aix4.[012]|aix4.[012].*) 10653 # We only want to do this on AIX 4.2 and lower, the check 10654 # below for broken collect2 doesn't work under 4.3+ 10655 collect2name=`$CC -print-prog-name=collect2` 10656 if test -f "$collect2name" && 10657 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10658 then 10659 # We have reworked collect2 10660 : 10661 else 10662 # We have old collect2 10663 hardcode_direct=unsupported 10664 # It fails to find uninstalled libraries when the uninstalled 10665 # path is not listed in the libpath. Setting hardcode_minus_L 10666 # to unsupported forces relinking 10667 hardcode_minus_L=yes 10668 hardcode_libdir_flag_spec='-L$libdir' 10669 hardcode_libdir_separator= 10670 fi 10671 ;; 10672 esac 10673 shared_flag='-shared' 10674 if test yes = "$aix_use_runtimelinking"; then 10675 shared_flag="$shared_flag "'$wl-G' 10676 fi 10677 # Need to ensure runtime linking is disabled for the traditional 10678 # shared library, or the linker may eventually find shared libraries 10679 # /with/ Import File - we do not want to mix them. 10680 shared_flag_aix='-shared' 10681 shared_flag_svr4='-shared $wl-G' 10682 else 10683 # not using gcc 10684 if test ia64 = "$host_cpu"; then 10685 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10686 # chokes on -Wl,-G. The following line is correct: 10687 shared_flag='-G' 10688 else 10689 if test yes = "$aix_use_runtimelinking"; then 10690 shared_flag='$wl-G' 10691 else 10692 shared_flag='$wl-bM:SRE' 10693 fi 10694 shared_flag_aix='$wl-bM:SRE' 10695 shared_flag_svr4='$wl-G' 10696 fi 10697 fi 10698 10699 export_dynamic_flag_spec='$wl-bexpall' 10700 # It seems that -bexpall does not export symbols beginning with 10701 # underscore (_), so it is better to generate a list of symbols to export. 10702 always_export_symbols=yes 10703 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10704 # Warning - without using the other runtime loading flags (-brtl), 10705 # -berok will link without error, but may produce a broken library. 10706 allow_undefined_flag='-berok' 10707 # Determine the default libpath from the value encoded in an 10708 # empty executable. 10709 if test set = "${lt_cv_aix_libpath+set}"; then 10710 aix_libpath=$lt_cv_aix_libpath 10711else 10712 if ${lt_cv_aix_libpath_+:} false; then : 10713 $as_echo_n "(cached) " >&6 10714else 10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10716/* end confdefs.h. */ 10717 10718int 10719main () 10720{ 10721 10722 ; 10723 return 0; 10724} 10725_ACEOF 10726if ac_fn_c_try_link "$LINENO"; then : 10727 10728 lt_aix_libpath_sed=' 10729 /Import File Strings/,/^$/ { 10730 /^0/ { 10731 s/^0 *\([^ ]*\) *$/\1/ 10732 p 10733 } 10734 }' 10735 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10736 # Check for a 64-bit object if we didn't find anything. 10737 if test -z "$lt_cv_aix_libpath_"; then 10738 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10739 fi 10740fi 10741rm -f core conftest.err conftest.$ac_objext \ 10742 conftest$ac_exeext conftest.$ac_ext 10743 if test -z "$lt_cv_aix_libpath_"; then 10744 lt_cv_aix_libpath_=/usr/lib:/lib 10745 fi 10746 10747fi 10748 10749 aix_libpath=$lt_cv_aix_libpath_ 10750fi 10751 10752 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10753 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 10754 else 10755 if test ia64 = "$host_cpu"; then 10756 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10757 allow_undefined_flag="-z nodefs" 10758 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" 10759 else 10760 # Determine the default libpath from the value encoded in an 10761 # empty executable. 10762 if test set = "${lt_cv_aix_libpath+set}"; then 10763 aix_libpath=$lt_cv_aix_libpath 10764else 10765 if ${lt_cv_aix_libpath_+:} false; then : 10766 $as_echo_n "(cached) " >&6 10767else 10768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10769/* end confdefs.h. */ 10770 10771int 10772main () 10773{ 10774 10775 ; 10776 return 0; 10777} 10778_ACEOF 10779if ac_fn_c_try_link "$LINENO"; then : 10780 10781 lt_aix_libpath_sed=' 10782 /Import File Strings/,/^$/ { 10783 /^0/ { 10784 s/^0 *\([^ ]*\) *$/\1/ 10785 p 10786 } 10787 }' 10788 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10789 # Check for a 64-bit object if we didn't find anything. 10790 if test -z "$lt_cv_aix_libpath_"; then 10791 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10792 fi 10793fi 10794rm -f core conftest.err conftest.$ac_objext \ 10795 conftest$ac_exeext conftest.$ac_ext 10796 if test -z "$lt_cv_aix_libpath_"; then 10797 lt_cv_aix_libpath_=/usr/lib:/lib 10798 fi 10799 10800fi 10801 10802 aix_libpath=$lt_cv_aix_libpath_ 10803fi 10804 10805 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10806 # Warning - without using the other run time loading flags, 10807 # -berok will link without error, but may produce a broken library. 10808 no_undefined_flag=' $wl-bernotok' 10809 allow_undefined_flag=' $wl-berok' 10810 if test yes = "$with_gnu_ld"; then 10811 # We only use this code for GNU lds that support --whole-archive. 10812 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10813 else 10814 # Exported symbols can be pulled into shared objects from archives 10815 whole_archive_flag_spec='$convenience' 10816 fi 10817 archive_cmds_need_lc=yes 10818 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10819 # -brtl affects multiple linker settings, -berok does not and is overridden later 10820 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10821 if test svr4 != "$with_aix_soname"; then 10822 # This is similar to how AIX traditionally builds its shared libraries. 10823 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' 10824 fi 10825 if test aix != "$with_aix_soname"; then 10826 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' 10827 else 10828 # used by -dlpreopen to get the symbols 10829 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10830 fi 10831 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10832 fi 10833 fi 10834 ;; 10835 10836 amigaos*) 10837 case $host_cpu in 10838 powerpc) 10839 # see comment about AmigaOS4 .so support 10840 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10841 archive_expsym_cmds='' 10842 ;; 10843 m68k) 10844 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)' 10845 hardcode_libdir_flag_spec='-L$libdir' 10846 hardcode_minus_L=yes 10847 ;; 10848 esac 10849 ;; 10850 10851 bsdi[45]*) 10852 export_dynamic_flag_spec=-rdynamic 10853 ;; 10854 10855 cygwin* | mingw* | pw32* | cegcc*) 10856 # When not using gcc, we currently assume that we are using 10857 # Microsoft Visual C++. 10858 # hardcode_libdir_flag_spec is actually meaningless, as there is 10859 # no search path for DLLs. 10860 case $cc_basename in 10861 cl*) 10862 # Native MSVC 10863 hardcode_libdir_flag_spec=' ' 10864 allow_undefined_flag=unsupported 10865 always_export_symbols=yes 10866 file_list_spec='@' 10867 # Tell ltmain to make .lib files, not .a files. 10868 libext=lib 10869 # Tell ltmain to make .dll files, not .so files. 10870 shrext_cmds=.dll 10871 # FIXME: Setting linknames here is a bad hack. 10872 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10873 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10874 cp "$export_symbols" "$output_objdir/$soname.def"; 10875 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10876 else 10877 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10878 fi~ 10879 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10880 linknames=' 10881 # The linker will not automatically build a static lib if we build a DLL. 10882 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10883 enable_shared_with_static_runtimes=yes 10884 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10885 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10886 # Don't use ranlib 10887 old_postinstall_cmds='chmod 644 $oldlib' 10888 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10889 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10890 case $lt_outputfile in 10891 *.exe|*.EXE) ;; 10892 *) 10893 lt_outputfile=$lt_outputfile.exe 10894 lt_tool_outputfile=$lt_tool_outputfile.exe 10895 ;; 10896 esac~ 10897 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10898 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10899 $RM "$lt_outputfile.manifest"; 10900 fi' 10901 ;; 10902 *) 10903 # Assume MSVC wrapper 10904 hardcode_libdir_flag_spec=' ' 10905 allow_undefined_flag=unsupported 10906 # Tell ltmain to make .lib files, not .a files. 10907 libext=lib 10908 # Tell ltmain to make .dll files, not .so files. 10909 shrext_cmds=.dll 10910 # FIXME: Setting linknames here is a bad hack. 10911 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10912 # The linker will automatically build a .lib file if we build a DLL. 10913 old_archive_from_new_cmds='true' 10914 # FIXME: Should let the user specify the lib program. 10915 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10916 enable_shared_with_static_runtimes=yes 10917 ;; 10918 esac 10919 ;; 10920 10921 darwin* | rhapsody*) 10922 10923 10924 archive_cmds_need_lc=no 10925 hardcode_direct=no 10926 hardcode_automatic=yes 10927 hardcode_shlibpath_var=unsupported 10928 if test yes = "$lt_cv_ld_force_load"; then 10929 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\"`' 10930 10931 else 10932 whole_archive_flag_spec='' 10933 fi 10934 link_all_deplibs=yes 10935 allow_undefined_flag=$_lt_dar_allow_undefined 10936 case $cc_basename in 10937 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10938 *) _lt_dar_can_shared=$GCC ;; 10939 esac 10940 if test yes = "$_lt_dar_can_shared"; then 10941 output_verbose_link_cmd=func_echo_all 10942 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10943 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10944 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" 10945 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" 10946 10947 else 10948 ld_shlibs=no 10949 fi 10950 10951 ;; 10952 10953 dgux*) 10954 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10955 hardcode_libdir_flag_spec='-L$libdir' 10956 hardcode_shlibpath_var=no 10957 ;; 10958 10959 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10960 # support. Future versions do this automatically, but an explicit c++rt0.o 10961 # does not break anything, and helps significantly (at the cost of a little 10962 # extra space). 10963 freebsd2.2*) 10964 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10965 hardcode_libdir_flag_spec='-R$libdir' 10966 hardcode_direct=yes 10967 hardcode_shlibpath_var=no 10968 ;; 10969 10970 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10971 freebsd2.*) 10972 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10973 hardcode_direct=yes 10974 hardcode_minus_L=yes 10975 hardcode_shlibpath_var=no 10976 ;; 10977 10978 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10979 freebsd* | dragonfly*) 10980 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10981 hardcode_libdir_flag_spec='-R$libdir' 10982 hardcode_direct=yes 10983 hardcode_shlibpath_var=no 10984 ;; 10985 10986 hpux9*) 10987 if test yes = "$GCC"; then 10988 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' 10989 else 10990 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' 10991 fi 10992 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10993 hardcode_libdir_separator=: 10994 hardcode_direct=yes 10995 10996 # hardcode_minus_L: Not really in the search PATH, 10997 # but as the default location of the library. 10998 hardcode_minus_L=yes 10999 export_dynamic_flag_spec='$wl-E' 11000 ;; 11001 11002 hpux10*) 11003 if test yes,no = "$GCC,$with_gnu_ld"; then 11004 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11005 else 11006 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11007 fi 11008 if test no = "$with_gnu_ld"; then 11009 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11010 hardcode_libdir_separator=: 11011 hardcode_direct=yes 11012 hardcode_direct_absolute=yes 11013 export_dynamic_flag_spec='$wl-E' 11014 # hardcode_minus_L: Not really in the search PATH, 11015 # but as the default location of the library. 11016 hardcode_minus_L=yes 11017 fi 11018 ;; 11019 11020 hpux11*) 11021 if test yes,no = "$GCC,$with_gnu_ld"; then 11022 case $host_cpu in 11023 hppa*64*) 11024 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11025 ;; 11026 ia64*) 11027 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11028 ;; 11029 *) 11030 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11031 ;; 11032 esac 11033 else 11034 case $host_cpu in 11035 hppa*64*) 11036 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11037 ;; 11038 ia64*) 11039 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11040 ;; 11041 *) 11042 11043 # Older versions of the 11.00 compiler do not understand -b yet 11044 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11046$as_echo_n "checking if $CC understands -b... " >&6; } 11047if ${lt_cv_prog_compiler__b+:} false; then : 11048 $as_echo_n "(cached) " >&6 11049else 11050 lt_cv_prog_compiler__b=no 11051 save_LDFLAGS=$LDFLAGS 11052 LDFLAGS="$LDFLAGS -b" 11053 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11054 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11055 # The linker can only warn and ignore the option if not recognized 11056 # So say no if there are warnings 11057 if test -s conftest.err; then 11058 # Append any errors to the config.log. 11059 cat conftest.err 1>&5 11060 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11061 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11062 if diff conftest.exp conftest.er2 >/dev/null; then 11063 lt_cv_prog_compiler__b=yes 11064 fi 11065 else 11066 lt_cv_prog_compiler__b=yes 11067 fi 11068 fi 11069 $RM -r conftest* 11070 LDFLAGS=$save_LDFLAGS 11071 11072fi 11073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11074$as_echo "$lt_cv_prog_compiler__b" >&6; } 11075 11076if test yes = "$lt_cv_prog_compiler__b"; then 11077 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11078else 11079 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11080fi 11081 11082 ;; 11083 esac 11084 fi 11085 if test no = "$with_gnu_ld"; then 11086 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11087 hardcode_libdir_separator=: 11088 11089 case $host_cpu in 11090 hppa*64*|ia64*) 11091 hardcode_direct=no 11092 hardcode_shlibpath_var=no 11093 ;; 11094 *) 11095 hardcode_direct=yes 11096 hardcode_direct_absolute=yes 11097 export_dynamic_flag_spec='$wl-E' 11098 11099 # hardcode_minus_L: Not really in the search PATH, 11100 # but as the default location of the library. 11101 hardcode_minus_L=yes 11102 ;; 11103 esac 11104 fi 11105 ;; 11106 11107 irix5* | irix6* | nonstopux*) 11108 if test yes = "$GCC"; then 11109 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' 11110 # Try to use the -exported_symbol ld option, if it does not 11111 # work, assume that -exports_file does not work either and 11112 # implicitly export all symbols. 11113 # This should be the same for all languages, so no per-tag cache variable. 11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11115$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11116if ${lt_cv_irix_exported_symbol+:} false; then : 11117 $as_echo_n "(cached) " >&6 11118else 11119 save_LDFLAGS=$LDFLAGS 11120 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11122/* end confdefs.h. */ 11123int foo (void) { return 0; } 11124_ACEOF 11125if ac_fn_c_try_link "$LINENO"; then : 11126 lt_cv_irix_exported_symbol=yes 11127else 11128 lt_cv_irix_exported_symbol=no 11129fi 11130rm -f core conftest.err conftest.$ac_objext \ 11131 conftest$ac_exeext conftest.$ac_ext 11132 LDFLAGS=$save_LDFLAGS 11133fi 11134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11135$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11136 if test yes = "$lt_cv_irix_exported_symbol"; then 11137 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' 11138 fi 11139 link_all_deplibs=no 11140 else 11141 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' 11142 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' 11143 fi 11144 archive_cmds_need_lc='no' 11145 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11146 hardcode_libdir_separator=: 11147 inherit_rpath=yes 11148 link_all_deplibs=yes 11149 ;; 11150 11151 linux*) 11152 case $cc_basename in 11153 tcc*) 11154 # Fabrice Bellard et al's Tiny C Compiler 11155 ld_shlibs=yes 11156 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11157 ;; 11158 esac 11159 ;; 11160 11161 netbsd* | netbsdelf*-gnu) 11162 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11163 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11164 else 11165 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11166 fi 11167 hardcode_libdir_flag_spec='-R$libdir' 11168 hardcode_direct=yes 11169 hardcode_shlibpath_var=no 11170 ;; 11171 11172 newsos6) 11173 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11174 hardcode_direct=yes 11175 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11176 hardcode_libdir_separator=: 11177 hardcode_shlibpath_var=no 11178 ;; 11179 11180 *nto* | *qnx*) 11181 ;; 11182 11183 openbsd* | bitrig*) 11184 if test -f /usr/libexec/ld.so; then 11185 hardcode_direct=yes 11186 hardcode_shlibpath_var=no 11187 hardcode_direct_absolute=yes 11188 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11189 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11190 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11191 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11192 export_dynamic_flag_spec='$wl-E' 11193 else 11194 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11195 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11196 fi 11197 else 11198 ld_shlibs=no 11199 fi 11200 ;; 11201 11202 os2*) 11203 hardcode_libdir_flag_spec='-L$libdir' 11204 hardcode_minus_L=yes 11205 allow_undefined_flag=unsupported 11206 shrext_cmds=.dll 11207 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11208 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11209 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11210 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11211 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11212 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11213 emximp -o $lib $output_objdir/$libname.def' 11214 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11215 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11216 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11217 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11218 prefix_cmds="$SED"~ 11219 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11220 prefix_cmds="$prefix_cmds -e 1d"; 11221 fi~ 11222 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11223 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11224 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11225 emximp -o $lib $output_objdir/$libname.def' 11226 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11227 enable_shared_with_static_runtimes=yes 11228 ;; 11229 11230 osf3*) 11231 if test yes = "$GCC"; then 11232 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11233 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' 11234 else 11235 allow_undefined_flag=' -expect_unresolved \*' 11236 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' 11237 fi 11238 archive_cmds_need_lc='no' 11239 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11240 hardcode_libdir_separator=: 11241 ;; 11242 11243 osf4* | osf5*) # as osf3* with the addition of -msym flag 11244 if test yes = "$GCC"; then 11245 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11246 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' 11247 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11248 else 11249 allow_undefined_flag=' -expect_unresolved \*' 11250 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' 11251 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~ 11252 $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' 11253 11254 # Both c and cxx compiler support -rpath directly 11255 hardcode_libdir_flag_spec='-rpath $libdir' 11256 fi 11257 archive_cmds_need_lc='no' 11258 hardcode_libdir_separator=: 11259 ;; 11260 11261 solaris*) 11262 no_undefined_flag=' -z defs' 11263 if test yes = "$GCC"; then 11264 wlarc='$wl' 11265 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11266 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11267 $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' 11268 else 11269 case `$CC -V 2>&1` in 11270 *"Compilers 5.0"*) 11271 wlarc='' 11272 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11273 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11274 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11275 ;; 11276 *) 11277 wlarc='$wl' 11278 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11279 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11280 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11281 ;; 11282 esac 11283 fi 11284 hardcode_libdir_flag_spec='-R$libdir' 11285 hardcode_shlibpath_var=no 11286 case $host_os in 11287 solaris2.[0-5] | solaris2.[0-5].*) ;; 11288 *) 11289 # The compiler driver will combine and reorder linker options, 11290 # but understands '-z linker_flag'. GCC discards it without '$wl', 11291 # but is careful enough not to reorder. 11292 # Supported since Solaris 2.6 (maybe 2.5.1?) 11293 if test yes = "$GCC"; then 11294 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11295 else 11296 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11297 fi 11298 ;; 11299 esac 11300 link_all_deplibs=yes 11301 ;; 11302 11303 sunos4*) 11304 if test sequent = "$host_vendor"; then 11305 # Use $CC to link under sequent, because it throws in some extra .o 11306 # files that make .init and .fini sections work. 11307 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11308 else 11309 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11310 fi 11311 hardcode_libdir_flag_spec='-L$libdir' 11312 hardcode_direct=yes 11313 hardcode_minus_L=yes 11314 hardcode_shlibpath_var=no 11315 ;; 11316 11317 sysv4) 11318 case $host_vendor in 11319 sni) 11320 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11321 hardcode_direct=yes # is this really true??? 11322 ;; 11323 siemens) 11324 ## LD is ld it makes a PLAMLIB 11325 ## CC just makes a GrossModule. 11326 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11327 reload_cmds='$CC -r -o $output$reload_objs' 11328 hardcode_direct=no 11329 ;; 11330 motorola) 11331 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11332 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11333 ;; 11334 esac 11335 runpath_var='LD_RUN_PATH' 11336 hardcode_shlibpath_var=no 11337 ;; 11338 11339 sysv4.3*) 11340 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11341 hardcode_shlibpath_var=no 11342 export_dynamic_flag_spec='-Bexport' 11343 ;; 11344 11345 sysv4*MP*) 11346 if test -d /usr/nec; then 11347 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11348 hardcode_shlibpath_var=no 11349 runpath_var=LD_RUN_PATH 11350 hardcode_runpath_var=yes 11351 ld_shlibs=yes 11352 fi 11353 ;; 11354 11355 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11356 no_undefined_flag='$wl-z,text' 11357 archive_cmds_need_lc=no 11358 hardcode_shlibpath_var=no 11359 runpath_var='LD_RUN_PATH' 11360 11361 if test yes = "$GCC"; then 11362 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11363 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11364 else 11365 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11366 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11367 fi 11368 ;; 11369 11370 sysv5* | sco3.2v5* | sco5v6*) 11371 # Note: We CANNOT use -z defs as we might desire, because we do not 11372 # link with -lc, and that would cause any symbols used from libc to 11373 # always be unresolved, which means just about no library would 11374 # ever link correctly. If we're not using GNU ld we use -z text 11375 # though, which does catch some bad symbols but isn't as heavy-handed 11376 # as -z defs. 11377 no_undefined_flag='$wl-z,text' 11378 allow_undefined_flag='$wl-z,nodefs' 11379 archive_cmds_need_lc=no 11380 hardcode_shlibpath_var=no 11381 hardcode_libdir_flag_spec='$wl-R,$libdir' 11382 hardcode_libdir_separator=':' 11383 link_all_deplibs=yes 11384 export_dynamic_flag_spec='$wl-Bexport' 11385 runpath_var='LD_RUN_PATH' 11386 11387 if test yes = "$GCC"; then 11388 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11389 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11390 else 11391 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11392 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11393 fi 11394 ;; 11395 11396 uts4*) 11397 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11398 hardcode_libdir_flag_spec='-L$libdir' 11399 hardcode_shlibpath_var=no 11400 ;; 11401 11402 *) 11403 ld_shlibs=no 11404 ;; 11405 esac 11406 11407 if test sni = "$host_vendor"; then 11408 case $host in 11409 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11410 export_dynamic_flag_spec='$wl-Blargedynsym' 11411 ;; 11412 esac 11413 fi 11414 fi 11415 11416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11417$as_echo "$ld_shlibs" >&6; } 11418test no = "$ld_shlibs" && can_build_shared=no 11419 11420with_gnu_ld=$with_gnu_ld 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436# 11437# Do we need to explicitly link libc? 11438# 11439case "x$archive_cmds_need_lc" in 11440x|xyes) 11441 # Assume -lc should be added 11442 archive_cmds_need_lc=yes 11443 11444 if test yes,yes = "$GCC,$enable_shared"; then 11445 case $archive_cmds in 11446 *'~'*) 11447 # FIXME: we may have to deal with multi-command sequences. 11448 ;; 11449 '$CC '*) 11450 # Test whether the compiler implicitly links with -lc since on some 11451 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11452 # to ld, don't add -lc before -lgcc. 11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11454$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11455if ${lt_cv_archive_cmds_need_lc+:} false; then : 11456 $as_echo_n "(cached) " >&6 11457else 11458 $RM conftest* 11459 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11460 11461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11462 (eval $ac_compile) 2>&5 11463 ac_status=$? 11464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11465 test $ac_status = 0; } 2>conftest.err; then 11466 soname=conftest 11467 lib=conftest 11468 libobjs=conftest.$ac_objext 11469 deplibs= 11470 wl=$lt_prog_compiler_wl 11471 pic_flag=$lt_prog_compiler_pic 11472 compiler_flags=-v 11473 linker_flags=-v 11474 verstring= 11475 output_objdir=. 11476 libname=conftest 11477 lt_save_allow_undefined_flag=$allow_undefined_flag 11478 allow_undefined_flag= 11479 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11480 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11481 ac_status=$? 11482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11483 test $ac_status = 0; } 11484 then 11485 lt_cv_archive_cmds_need_lc=no 11486 else 11487 lt_cv_archive_cmds_need_lc=yes 11488 fi 11489 allow_undefined_flag=$lt_save_allow_undefined_flag 11490 else 11491 cat conftest.err 1>&5 11492 fi 11493 $RM conftest* 11494 11495fi 11496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11497$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11498 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11499 ;; 11500 esac 11501 fi 11502 ;; 11503esac 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 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11657$as_echo_n "checking dynamic linker characteristics... " >&6; } 11658 11659if test yes = "$GCC"; then 11660 case $host_os in 11661 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11662 *) lt_awk_arg='/^libraries:/' ;; 11663 esac 11664 case $host_os in 11665 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11666 *) lt_sed_strip_eq='s|=/|/|g' ;; 11667 esac 11668 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11669 case $lt_search_path_spec in 11670 *\;*) 11671 # if the path contains ";" then we assume it to be the separator 11672 # otherwise default to the standard path separator (i.e. ":") - it is 11673 # assumed that no part of a normal pathname contains ";" but that should 11674 # okay in the real world where ";" in dirpaths is itself problematic. 11675 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11676 ;; 11677 *) 11678 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11679 ;; 11680 esac 11681 # Ok, now we have the path, separated by spaces, we can step through it 11682 # and add multilib dir if necessary... 11683 lt_tmp_lt_search_path_spec= 11684 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11685 # ...but if some path component already ends with the multilib dir we assume 11686 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11687 case "$lt_multi_os_dir; $lt_search_path_spec " in 11688 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11689 lt_multi_os_dir= 11690 ;; 11691 esac 11692 for lt_sys_path in $lt_search_path_spec; do 11693 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11694 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11695 elif test -n "$lt_multi_os_dir"; then 11696 test -d "$lt_sys_path" && \ 11697 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11698 fi 11699 done 11700 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11701BEGIN {RS = " "; FS = "/|\n";} { 11702 lt_foo = ""; 11703 lt_count = 0; 11704 for (lt_i = NF; lt_i > 0; lt_i--) { 11705 if ($lt_i != "" && $lt_i != ".") { 11706 if ($lt_i == "..") { 11707 lt_count++; 11708 } else { 11709 if (lt_count == 0) { 11710 lt_foo = "/" $lt_i lt_foo; 11711 } else { 11712 lt_count--; 11713 } 11714 } 11715 } 11716 } 11717 if (lt_foo != "") { lt_freq[lt_foo]++; } 11718 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11719}'` 11720 # AWK program above erroneously prepends '/' to C:/dos/paths 11721 # for these hosts. 11722 case $host_os in 11723 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11724 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11725 esac 11726 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11727else 11728 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11729fi 11730library_names_spec= 11731libname_spec='lib$name' 11732soname_spec= 11733shrext_cmds=.so 11734postinstall_cmds= 11735postuninstall_cmds= 11736finish_cmds= 11737finish_eval= 11738shlibpath_var= 11739shlibpath_overrides_runpath=unknown 11740version_type=none 11741dynamic_linker="$host_os ld.so" 11742sys_lib_dlsearch_path_spec="/lib /usr/lib" 11743need_lib_prefix=unknown 11744hardcode_into_libs=no 11745 11746# when you set need_version to no, make sure it does not cause -set_version 11747# flags to be left without arguments 11748need_version=unknown 11749 11750 11751 11752case $host_os in 11753aix3*) 11754 version_type=linux # correct to gnu/linux during the next big refactor 11755 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11756 shlibpath_var=LIBPATH 11757 11758 # AIX 3 has no versioning support, so we append a major version to the name. 11759 soname_spec='$libname$release$shared_ext$major' 11760 ;; 11761 11762aix[4-9]*) 11763 version_type=linux # correct to gnu/linux during the next big refactor 11764 need_lib_prefix=no 11765 need_version=no 11766 hardcode_into_libs=yes 11767 if test ia64 = "$host_cpu"; then 11768 # AIX 5 supports IA64 11769 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11770 shlibpath_var=LD_LIBRARY_PATH 11771 else 11772 # With GCC up to 2.95.x, collect2 would create an import file 11773 # for dependence libraries. The import file would start with 11774 # the line '#! .'. This would cause the generated library to 11775 # depend on '.', always an invalid library. This was fixed in 11776 # development snapshots of GCC prior to 3.0. 11777 case $host_os in 11778 aix4 | aix4.[01] | aix4.[01].*) 11779 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11780 echo ' yes ' 11781 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11782 : 11783 else 11784 can_build_shared=no 11785 fi 11786 ;; 11787 esac 11788 # Using Import Files as archive members, it is possible to support 11789 # filename-based versioning of shared library archives on AIX. While 11790 # this would work for both with and without runtime linking, it will 11791 # prevent static linking of such archives. So we do filename-based 11792 # shared library versioning with .so extension only, which is used 11793 # when both runtime linking and shared linking is enabled. 11794 # Unfortunately, runtime linking may impact performance, so we do 11795 # not want this to be the default eventually. Also, we use the 11796 # versioned .so libs for executables only if there is the -brtl 11797 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11798 # To allow for filename-based versioning support, we need to create 11799 # libNAME.so.V as an archive file, containing: 11800 # *) an Import File, referring to the versioned filename of the 11801 # archive as well as the shared archive member, telling the 11802 # bitwidth (32 or 64) of that shared object, and providing the 11803 # list of exported symbols of that shared object, eventually 11804 # decorated with the 'weak' keyword 11805 # *) the shared object with the F_LOADONLY flag set, to really avoid 11806 # it being seen by the linker. 11807 # At run time we better use the real file rather than another symlink, 11808 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11809 11810 case $with_aix_soname,$aix_use_runtimelinking in 11811 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11812 # soname into executable. Probably we can add versioning support to 11813 # collect2, so additional links can be useful in future. 11814 aix,yes) # traditional libtool 11815 dynamic_linker='AIX unversionable lib.so' 11816 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11817 # instead of lib<name>.a to let people know that these are not 11818 # typical AIX shared libraries. 11819 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11820 ;; 11821 aix,no) # traditional AIX only 11822 dynamic_linker='AIX lib.a(lib.so.V)' 11823 # We preserve .a as extension for shared libraries through AIX4.2 11824 # and later when we are not doing run time linking. 11825 library_names_spec='$libname$release.a $libname.a' 11826 soname_spec='$libname$release$shared_ext$major' 11827 ;; 11828 svr4,*) # full svr4 only 11829 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11830 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11831 # We do not specify a path in Import Files, so LIBPATH fires. 11832 shlibpath_overrides_runpath=yes 11833 ;; 11834 *,yes) # both, prefer svr4 11835 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11836 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11837 # unpreferred sharedlib libNAME.a needs extra handling 11838 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"' 11839 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"' 11840 # We do not specify a path in Import Files, so LIBPATH fires. 11841 shlibpath_overrides_runpath=yes 11842 ;; 11843 *,no) # both, prefer aix 11844 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11845 library_names_spec='$libname$release.a $libname.a' 11846 soname_spec='$libname$release$shared_ext$major' 11847 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11848 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)' 11849 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"' 11850 ;; 11851 esac 11852 shlibpath_var=LIBPATH 11853 fi 11854 ;; 11855 11856amigaos*) 11857 case $host_cpu in 11858 powerpc) 11859 # Since July 2007 AmigaOS4 officially supports .so libraries. 11860 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11861 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11862 ;; 11863 m68k) 11864 library_names_spec='$libname.ixlibrary $libname.a' 11865 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11866 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' 11867 ;; 11868 esac 11869 ;; 11870 11871beos*) 11872 library_names_spec='$libname$shared_ext' 11873 dynamic_linker="$host_os ld.so" 11874 shlibpath_var=LIBRARY_PATH 11875 ;; 11876 11877bsdi[45]*) 11878 version_type=linux # correct to gnu/linux during the next big refactor 11879 need_version=no 11880 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11881 soname_spec='$libname$release$shared_ext$major' 11882 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11883 shlibpath_var=LD_LIBRARY_PATH 11884 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11885 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11886 # the default ld.so.conf also contains /usr/contrib/lib and 11887 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11888 # libtool to hard-code these into programs 11889 ;; 11890 11891cygwin* | mingw* | pw32* | cegcc*) 11892 version_type=windows 11893 shrext_cmds=.dll 11894 need_version=no 11895 need_lib_prefix=no 11896 11897 case $GCC,$cc_basename in 11898 yes,*) 11899 # gcc 11900 library_names_spec='$libname.dll.a' 11901 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11902 postinstall_cmds='base_file=`basename \$file`~ 11903 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11904 dldir=$destdir/`dirname \$dlpath`~ 11905 test -d \$dldir || mkdir -p \$dldir~ 11906 $install_prog $dir/$dlname \$dldir/$dlname~ 11907 chmod a+x \$dldir/$dlname~ 11908 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11909 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11910 fi' 11911 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11912 dlpath=$dir/\$dldll~ 11913 $RM \$dlpath' 11914 shlibpath_overrides_runpath=yes 11915 11916 case $host_os in 11917 cygwin*) 11918 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11919 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11920 11921 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11922 ;; 11923 mingw* | cegcc*) 11924 # MinGW DLLs use traditional 'lib' prefix 11925 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11926 ;; 11927 pw32*) 11928 # pw32 DLLs use 'pw' prefix rather than 'lib' 11929 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11930 ;; 11931 esac 11932 dynamic_linker='Win32 ld.exe' 11933 ;; 11934 11935 *,cl*) 11936 # Native MSVC 11937 libname_spec='$name' 11938 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11939 library_names_spec='$libname.dll.lib' 11940 11941 case $build_os in 11942 mingw*) 11943 sys_lib_search_path_spec= 11944 lt_save_ifs=$IFS 11945 IFS=';' 11946 for lt_path in $LIB 11947 do 11948 IFS=$lt_save_ifs 11949 # Let DOS variable expansion print the short 8.3 style file name. 11950 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11951 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11952 done 11953 IFS=$lt_save_ifs 11954 # Convert to MSYS style. 11955 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11956 ;; 11957 cygwin*) 11958 # Convert to unix form, then to dos form, then back to unix form 11959 # but this time dos style (no spaces!) so that the unix form looks 11960 # like /cygdrive/c/PROGRA~1:/cygdr... 11961 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11962 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11963 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11964 ;; 11965 *) 11966 sys_lib_search_path_spec=$LIB 11967 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11968 # It is most probably a Windows format PATH. 11969 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11970 else 11971 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11972 fi 11973 # FIXME: find the short name or the path components, as spaces are 11974 # common. (e.g. "Program Files" -> "PROGRA~1") 11975 ;; 11976 esac 11977 11978 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11979 postinstall_cmds='base_file=`basename \$file`~ 11980 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11981 dldir=$destdir/`dirname \$dlpath`~ 11982 test -d \$dldir || mkdir -p \$dldir~ 11983 $install_prog $dir/$dlname \$dldir/$dlname' 11984 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11985 dlpath=$dir/\$dldll~ 11986 $RM \$dlpath' 11987 shlibpath_overrides_runpath=yes 11988 dynamic_linker='Win32 link.exe' 11989 ;; 11990 11991 *) 11992 # Assume MSVC wrapper 11993 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11994 dynamic_linker='Win32 ld.exe' 11995 ;; 11996 esac 11997 # FIXME: first we should search . and the directory the executable is in 11998 shlibpath_var=PATH 11999 ;; 12000 12001darwin* | rhapsody*) 12002 dynamic_linker="$host_os dyld" 12003 version_type=darwin 12004 need_lib_prefix=no 12005 need_version=no 12006 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12007 soname_spec='$libname$release$major$shared_ext' 12008 shlibpath_overrides_runpath=yes 12009 shlibpath_var=DYLD_LIBRARY_PATH 12010 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12011 12012 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12013 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12014 ;; 12015 12016dgux*) 12017 version_type=linux # correct to gnu/linux during the next big refactor 12018 need_lib_prefix=no 12019 need_version=no 12020 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12021 soname_spec='$libname$release$shared_ext$major' 12022 shlibpath_var=LD_LIBRARY_PATH 12023 ;; 12024 12025freebsd* | dragonfly*) 12026 # DragonFly does not have aout. When/if they implement a new 12027 # versioning mechanism, adjust this. 12028 if test -x /usr/bin/objformat; then 12029 objformat=`/usr/bin/objformat` 12030 else 12031 case $host_os in 12032 freebsd[23].*) objformat=aout ;; 12033 *) objformat=elf ;; 12034 esac 12035 fi 12036 version_type=freebsd-$objformat 12037 case $version_type in 12038 freebsd-elf*) 12039 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12040 soname_spec='$libname$release$shared_ext$major' 12041 need_version=no 12042 need_lib_prefix=no 12043 ;; 12044 freebsd-*) 12045 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12046 need_version=yes 12047 ;; 12048 esac 12049 shlibpath_var=LD_LIBRARY_PATH 12050 case $host_os in 12051 freebsd2.*) 12052 shlibpath_overrides_runpath=yes 12053 ;; 12054 freebsd3.[01]* | freebsdelf3.[01]*) 12055 shlibpath_overrides_runpath=yes 12056 hardcode_into_libs=yes 12057 ;; 12058 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12059 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12060 shlibpath_overrides_runpath=no 12061 hardcode_into_libs=yes 12062 ;; 12063 *) # from 4.6 on, and DragonFly 12064 shlibpath_overrides_runpath=yes 12065 hardcode_into_libs=yes 12066 ;; 12067 esac 12068 ;; 12069 12070haiku*) 12071 version_type=linux # correct to gnu/linux during the next big refactor 12072 need_lib_prefix=no 12073 need_version=no 12074 dynamic_linker="$host_os runtime_loader" 12075 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12076 soname_spec='$libname$release$shared_ext$major' 12077 shlibpath_var=LIBRARY_PATH 12078 shlibpath_overrides_runpath=no 12079 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12080 hardcode_into_libs=yes 12081 ;; 12082 12083hpux9* | hpux10* | hpux11*) 12084 # Give a soname corresponding to the major version so that dld.sl refuses to 12085 # link against other versions. 12086 version_type=sunos 12087 need_lib_prefix=no 12088 need_version=no 12089 case $host_cpu in 12090 ia64*) 12091 shrext_cmds='.so' 12092 hardcode_into_libs=yes 12093 dynamic_linker="$host_os dld.so" 12094 shlibpath_var=LD_LIBRARY_PATH 12095 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12096 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12097 soname_spec='$libname$release$shared_ext$major' 12098 if test 32 = "$HPUX_IA64_MODE"; then 12099 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12100 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12101 else 12102 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12103 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12104 fi 12105 ;; 12106 hppa*64*) 12107 shrext_cmds='.sl' 12108 hardcode_into_libs=yes 12109 dynamic_linker="$host_os dld.sl" 12110 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12111 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12112 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12113 soname_spec='$libname$release$shared_ext$major' 12114 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12115 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12116 ;; 12117 *) 12118 shrext_cmds='.sl' 12119 dynamic_linker="$host_os dld.sl" 12120 shlibpath_var=SHLIB_PATH 12121 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12122 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12123 soname_spec='$libname$release$shared_ext$major' 12124 ;; 12125 esac 12126 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12127 postinstall_cmds='chmod 555 $lib' 12128 # or fails outright, so override atomically: 12129 install_override_mode=555 12130 ;; 12131 12132interix[3-9]*) 12133 version_type=linux # correct to gnu/linux during the next big refactor 12134 need_lib_prefix=no 12135 need_version=no 12136 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12137 soname_spec='$libname$release$shared_ext$major' 12138 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12139 shlibpath_var=LD_LIBRARY_PATH 12140 shlibpath_overrides_runpath=no 12141 hardcode_into_libs=yes 12142 ;; 12143 12144irix5* | irix6* | nonstopux*) 12145 case $host_os in 12146 nonstopux*) version_type=nonstopux ;; 12147 *) 12148 if test yes = "$lt_cv_prog_gnu_ld"; then 12149 version_type=linux # correct to gnu/linux during the next big refactor 12150 else 12151 version_type=irix 12152 fi ;; 12153 esac 12154 need_lib_prefix=no 12155 need_version=no 12156 soname_spec='$libname$release$shared_ext$major' 12157 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12158 case $host_os in 12159 irix5* | nonstopux*) 12160 libsuff= shlibsuff= 12161 ;; 12162 *) 12163 case $LD in # libtool.m4 will add one of these switches to LD 12164 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12165 libsuff= shlibsuff= libmagic=32-bit;; 12166 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12167 libsuff=32 shlibsuff=N32 libmagic=N32;; 12168 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12169 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12170 *) libsuff= shlibsuff= libmagic=never-match;; 12171 esac 12172 ;; 12173 esac 12174 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12175 shlibpath_overrides_runpath=no 12176 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12177 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12178 hardcode_into_libs=yes 12179 ;; 12180 12181# No shared lib support for Linux oldld, aout, or coff. 12182linux*oldld* | linux*aout* | linux*coff*) 12183 dynamic_linker=no 12184 ;; 12185 12186linux*android*) 12187 version_type=none # Android doesn't support versioned libraries. 12188 need_lib_prefix=no 12189 need_version=no 12190 library_names_spec='$libname$release$shared_ext' 12191 soname_spec='$libname$release$shared_ext' 12192 finish_cmds= 12193 shlibpath_var=LD_LIBRARY_PATH 12194 shlibpath_overrides_runpath=yes 12195 12196 # This implies no fast_install, which is unacceptable. 12197 # Some rework will be needed to allow for fast_install 12198 # before this can be enabled. 12199 hardcode_into_libs=yes 12200 12201 dynamic_linker='Android linker' 12202 # Don't embed -rpath directories since the linker doesn't support them. 12203 hardcode_libdir_flag_spec='-L$libdir' 12204 ;; 12205 12206# This must be glibc/ELF. 12207linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12208 version_type=linux # correct to gnu/linux during the next big refactor 12209 need_lib_prefix=no 12210 need_version=no 12211 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12212 soname_spec='$libname$release$shared_ext$major' 12213 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12214 shlibpath_var=LD_LIBRARY_PATH 12215 shlibpath_overrides_runpath=no 12216 12217 # Some binutils ld are patched to set DT_RUNPATH 12218 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12219 $as_echo_n "(cached) " >&6 12220else 12221 lt_cv_shlibpath_overrides_runpath=no 12222 save_LDFLAGS=$LDFLAGS 12223 save_libdir=$libdir 12224 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12225 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12227/* end confdefs.h. */ 12228 12229int 12230main () 12231{ 12232 12233 ; 12234 return 0; 12235} 12236_ACEOF 12237if ac_fn_c_try_link "$LINENO"; then : 12238 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12239 lt_cv_shlibpath_overrides_runpath=yes 12240fi 12241fi 12242rm -f core conftest.err conftest.$ac_objext \ 12243 conftest$ac_exeext conftest.$ac_ext 12244 LDFLAGS=$save_LDFLAGS 12245 libdir=$save_libdir 12246 12247fi 12248 12249 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12250 12251 # This implies no fast_install, which is unacceptable. 12252 # Some rework will be needed to allow for fast_install 12253 # before this can be enabled. 12254 hardcode_into_libs=yes 12255 12256 # Ideally, we could use ldconfig to report *all* directores which are 12257 # searched for libraries, however this is still not possible. Aside from not 12258 # being certain /sbin/ldconfig is available, command 12259 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12260 # even though it is searched at run-time. Try to do the best guess by 12261 # appending ld.so.conf contents (and includes) to the search path. 12262 if test -f /etc/ld.so.conf; then 12263 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' ' '` 12264 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 12265 fi 12266 12267 # We used to test for /lib/ld.so.1 and disable shared libraries on 12268 # powerpc, because MkLinux only supported shared libraries with the 12269 # GNU dynamic linker. Since this was broken with cross compilers, 12270 # most powerpc-linux boxes support dynamic linking these days and 12271 # people can always --disable-shared, the test was removed, and we 12272 # assume the GNU/Linux dynamic linker is in use. 12273 dynamic_linker='GNU/Linux ld.so' 12274 ;; 12275 12276netbsdelf*-gnu) 12277 version_type=linux 12278 need_lib_prefix=no 12279 need_version=no 12280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12281 soname_spec='${libname}${release}${shared_ext}$major' 12282 shlibpath_var=LD_LIBRARY_PATH 12283 shlibpath_overrides_runpath=no 12284 hardcode_into_libs=yes 12285 dynamic_linker='NetBSD ld.elf_so' 12286 ;; 12287 12288netbsd*) 12289 version_type=sunos 12290 need_lib_prefix=no 12291 need_version=no 12292 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12293 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12294 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12295 dynamic_linker='NetBSD (a.out) ld.so' 12296 else 12297 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12298 soname_spec='$libname$release$shared_ext$major' 12299 dynamic_linker='NetBSD ld.elf_so' 12300 fi 12301 shlibpath_var=LD_LIBRARY_PATH 12302 shlibpath_overrides_runpath=yes 12303 hardcode_into_libs=yes 12304 ;; 12305 12306newsos6) 12307 version_type=linux # correct to gnu/linux during the next big refactor 12308 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12309 shlibpath_var=LD_LIBRARY_PATH 12310 shlibpath_overrides_runpath=yes 12311 ;; 12312 12313*nto* | *qnx*) 12314 version_type=qnx 12315 need_lib_prefix=no 12316 need_version=no 12317 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12318 soname_spec='$libname$release$shared_ext$major' 12319 shlibpath_var=LD_LIBRARY_PATH 12320 shlibpath_overrides_runpath=no 12321 hardcode_into_libs=yes 12322 dynamic_linker='ldqnx.so' 12323 ;; 12324 12325openbsd* | bitrig*) 12326 version_type=sunos 12327 sys_lib_dlsearch_path_spec=/usr/lib 12328 need_lib_prefix=no 12329 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12330 need_version=no 12331 else 12332 need_version=yes 12333 fi 12334 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12335 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12336 shlibpath_var=LD_LIBRARY_PATH 12337 shlibpath_overrides_runpath=yes 12338 ;; 12339 12340os2*) 12341 libname_spec='$name' 12342 version_type=windows 12343 shrext_cmds=.dll 12344 need_version=no 12345 need_lib_prefix=no 12346 # OS/2 can only load a DLL with a base name of 8 characters or less. 12347 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12348 v=$($ECHO $release$versuffix | tr -d .-); 12349 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12350 $ECHO $n$v`$shared_ext' 12351 library_names_spec='${libname}_dll.$libext' 12352 dynamic_linker='OS/2 ld.exe' 12353 shlibpath_var=BEGINLIBPATH 12354 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12355 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12356 postinstall_cmds='base_file=`basename \$file`~ 12357 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12358 dldir=$destdir/`dirname \$dlpath`~ 12359 test -d \$dldir || mkdir -p \$dldir~ 12360 $install_prog $dir/$dlname \$dldir/$dlname~ 12361 chmod a+x \$dldir/$dlname~ 12362 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12363 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12364 fi' 12365 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12366 dlpath=$dir/\$dldll~ 12367 $RM \$dlpath' 12368 ;; 12369 12370osf3* | osf4* | osf5*) 12371 version_type=osf 12372 need_lib_prefix=no 12373 need_version=no 12374 soname_spec='$libname$release$shared_ext$major' 12375 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12376 shlibpath_var=LD_LIBRARY_PATH 12377 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12378 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12379 ;; 12380 12381rdos*) 12382 dynamic_linker=no 12383 ;; 12384 12385solaris*) 12386 version_type=linux # correct to gnu/linux during the next big refactor 12387 need_lib_prefix=no 12388 need_version=no 12389 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12390 soname_spec='$libname$release$shared_ext$major' 12391 shlibpath_var=LD_LIBRARY_PATH 12392 shlibpath_overrides_runpath=yes 12393 hardcode_into_libs=yes 12394 # ldd complains unless libraries are executable 12395 postinstall_cmds='chmod +x $lib' 12396 ;; 12397 12398sunos4*) 12399 version_type=sunos 12400 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12401 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12402 shlibpath_var=LD_LIBRARY_PATH 12403 shlibpath_overrides_runpath=yes 12404 if test yes = "$with_gnu_ld"; then 12405 need_lib_prefix=no 12406 fi 12407 need_version=yes 12408 ;; 12409 12410sysv4 | sysv4.3*) 12411 version_type=linux # correct to gnu/linux during the next big refactor 12412 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12413 soname_spec='$libname$release$shared_ext$major' 12414 shlibpath_var=LD_LIBRARY_PATH 12415 case $host_vendor in 12416 sni) 12417 shlibpath_overrides_runpath=no 12418 need_lib_prefix=no 12419 runpath_var=LD_RUN_PATH 12420 ;; 12421 siemens) 12422 need_lib_prefix=no 12423 ;; 12424 motorola) 12425 need_lib_prefix=no 12426 need_version=no 12427 shlibpath_overrides_runpath=no 12428 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12429 ;; 12430 esac 12431 ;; 12432 12433sysv4*MP*) 12434 if test -d /usr/nec; then 12435 version_type=linux # correct to gnu/linux during the next big refactor 12436 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12437 soname_spec='$libname$shared_ext.$major' 12438 shlibpath_var=LD_LIBRARY_PATH 12439 fi 12440 ;; 12441 12442sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12443 version_type=sco 12444 need_lib_prefix=no 12445 need_version=no 12446 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12447 soname_spec='$libname$release$shared_ext$major' 12448 shlibpath_var=LD_LIBRARY_PATH 12449 shlibpath_overrides_runpath=yes 12450 hardcode_into_libs=yes 12451 if test yes = "$with_gnu_ld"; then 12452 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12453 else 12454 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12455 case $host_os in 12456 sco3.2v5*) 12457 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12458 ;; 12459 esac 12460 fi 12461 sys_lib_dlsearch_path_spec='/usr/lib' 12462 ;; 12463 12464tpf*) 12465 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12466 version_type=linux # correct to gnu/linux during the next big refactor 12467 need_lib_prefix=no 12468 need_version=no 12469 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12470 shlibpath_var=LD_LIBRARY_PATH 12471 shlibpath_overrides_runpath=no 12472 hardcode_into_libs=yes 12473 ;; 12474 12475uts4*) 12476 version_type=linux # correct to gnu/linux during the next big refactor 12477 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12478 soname_spec='$libname$release$shared_ext$major' 12479 shlibpath_var=LD_LIBRARY_PATH 12480 ;; 12481 12482*) 12483 dynamic_linker=no 12484 ;; 12485esac 12486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12487$as_echo "$dynamic_linker" >&6; } 12488test no = "$dynamic_linker" && can_build_shared=no 12489 12490variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12491if test yes = "$GCC"; then 12492 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12493fi 12494 12495if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12496 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12497fi 12498 12499if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12500 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12501fi 12502 12503# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12504configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12505 12506# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12507func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12508 12509# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12510configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12609$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12610hardcode_action= 12611if test -n "$hardcode_libdir_flag_spec" || 12612 test -n "$runpath_var" || 12613 test yes = "$hardcode_automatic"; then 12614 12615 # We can hardcode non-existent directories. 12616 if test no != "$hardcode_direct" && 12617 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12618 # have to relink, otherwise we might link with an installed library 12619 # when we should be linking with a yet-to-be-installed one 12620 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12621 test no != "$hardcode_minus_L"; then 12622 # Linking always hardcodes the temporary library directory. 12623 hardcode_action=relink 12624 else 12625 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12626 hardcode_action=immediate 12627 fi 12628else 12629 # We cannot hardcode anything, or else we can only hardcode existing 12630 # directories. 12631 hardcode_action=unsupported 12632fi 12633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12634$as_echo "$hardcode_action" >&6; } 12635 12636if test relink = "$hardcode_action" || 12637 test yes = "$inherit_rpath"; then 12638 # Fast installation is not supported 12639 enable_fast_install=no 12640elif test yes = "$shlibpath_overrides_runpath" || 12641 test no = "$enable_shared"; then 12642 # Fast installation is not necessary 12643 enable_fast_install=needless 12644fi 12645 12646 12647 12648 12649 12650 12651 if test yes != "$enable_dlopen"; then 12652 enable_dlopen=unknown 12653 enable_dlopen_self=unknown 12654 enable_dlopen_self_static=unknown 12655else 12656 lt_cv_dlopen=no 12657 lt_cv_dlopen_libs= 12658 12659 case $host_os in 12660 beos*) 12661 lt_cv_dlopen=load_add_on 12662 lt_cv_dlopen_libs= 12663 lt_cv_dlopen_self=yes 12664 ;; 12665 12666 mingw* | pw32* | cegcc*) 12667 lt_cv_dlopen=LoadLibrary 12668 lt_cv_dlopen_libs= 12669 ;; 12670 12671 cygwin*) 12672 lt_cv_dlopen=dlopen 12673 lt_cv_dlopen_libs= 12674 ;; 12675 12676 darwin*) 12677 # if libdl is installed we need to link against it 12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12679$as_echo_n "checking for dlopen in -ldl... " >&6; } 12680if ${ac_cv_lib_dl_dlopen+:} false; then : 12681 $as_echo_n "(cached) " >&6 12682else 12683 ac_check_lib_save_LIBS=$LIBS 12684LIBS="-ldl $LIBS" 12685cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12686/* end confdefs.h. */ 12687 12688/* Override any GCC internal prototype to avoid an error. 12689 Use char because int might match the return type of a GCC 12690 builtin and then its argument prototype would still apply. */ 12691#ifdef __cplusplus 12692extern "C" 12693#endif 12694char dlopen (); 12695int 12696main () 12697{ 12698return dlopen (); 12699 ; 12700 return 0; 12701} 12702_ACEOF 12703if ac_fn_c_try_link "$LINENO"; then : 12704 ac_cv_lib_dl_dlopen=yes 12705else 12706 ac_cv_lib_dl_dlopen=no 12707fi 12708rm -f core conftest.err conftest.$ac_objext \ 12709 conftest$ac_exeext conftest.$ac_ext 12710LIBS=$ac_check_lib_save_LIBS 12711fi 12712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12713$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12714if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12715 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12716else 12717 12718 lt_cv_dlopen=dyld 12719 lt_cv_dlopen_libs= 12720 lt_cv_dlopen_self=yes 12721 12722fi 12723 12724 ;; 12725 12726 tpf*) 12727 # Don't try to run any link tests for TPF. We know it's impossible 12728 # because TPF is a cross-compiler, and we know how we open DSOs. 12729 lt_cv_dlopen=dlopen 12730 lt_cv_dlopen_libs= 12731 lt_cv_dlopen_self=no 12732 ;; 12733 12734 *) 12735 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12736if test "x$ac_cv_func_shl_load" = xyes; then : 12737 lt_cv_dlopen=shl_load 12738else 12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12740$as_echo_n "checking for shl_load in -ldld... " >&6; } 12741if ${ac_cv_lib_dld_shl_load+:} false; then : 12742 $as_echo_n "(cached) " >&6 12743else 12744 ac_check_lib_save_LIBS=$LIBS 12745LIBS="-ldld $LIBS" 12746cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12747/* end confdefs.h. */ 12748 12749/* Override any GCC internal prototype to avoid an error. 12750 Use char because int might match the return type of a GCC 12751 builtin and then its argument prototype would still apply. */ 12752#ifdef __cplusplus 12753extern "C" 12754#endif 12755char shl_load (); 12756int 12757main () 12758{ 12759return shl_load (); 12760 ; 12761 return 0; 12762} 12763_ACEOF 12764if ac_fn_c_try_link "$LINENO"; then : 12765 ac_cv_lib_dld_shl_load=yes 12766else 12767 ac_cv_lib_dld_shl_load=no 12768fi 12769rm -f core conftest.err conftest.$ac_objext \ 12770 conftest$ac_exeext conftest.$ac_ext 12771LIBS=$ac_check_lib_save_LIBS 12772fi 12773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12774$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12775if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12776 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12777else 12778 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12779if test "x$ac_cv_func_dlopen" = xyes; then : 12780 lt_cv_dlopen=dlopen 12781else 12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12783$as_echo_n "checking for dlopen in -ldl... " >&6; } 12784if ${ac_cv_lib_dl_dlopen+:} false; then : 12785 $as_echo_n "(cached) " >&6 12786else 12787 ac_check_lib_save_LIBS=$LIBS 12788LIBS="-ldl $LIBS" 12789cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12790/* end confdefs.h. */ 12791 12792/* Override any GCC internal prototype to avoid an error. 12793 Use char because int might match the return type of a GCC 12794 builtin and then its argument prototype would still apply. */ 12795#ifdef __cplusplus 12796extern "C" 12797#endif 12798char dlopen (); 12799int 12800main () 12801{ 12802return dlopen (); 12803 ; 12804 return 0; 12805} 12806_ACEOF 12807if ac_fn_c_try_link "$LINENO"; then : 12808 ac_cv_lib_dl_dlopen=yes 12809else 12810 ac_cv_lib_dl_dlopen=no 12811fi 12812rm -f core conftest.err conftest.$ac_objext \ 12813 conftest$ac_exeext conftest.$ac_ext 12814LIBS=$ac_check_lib_save_LIBS 12815fi 12816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12817$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12818if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12819 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12820else 12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12822$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12823if ${ac_cv_lib_svld_dlopen+:} false; then : 12824 $as_echo_n "(cached) " >&6 12825else 12826 ac_check_lib_save_LIBS=$LIBS 12827LIBS="-lsvld $LIBS" 12828cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12829/* end confdefs.h. */ 12830 12831/* Override any GCC internal prototype to avoid an error. 12832 Use char because int might match the return type of a GCC 12833 builtin and then its argument prototype would still apply. */ 12834#ifdef __cplusplus 12835extern "C" 12836#endif 12837char dlopen (); 12838int 12839main () 12840{ 12841return dlopen (); 12842 ; 12843 return 0; 12844} 12845_ACEOF 12846if ac_fn_c_try_link "$LINENO"; then : 12847 ac_cv_lib_svld_dlopen=yes 12848else 12849 ac_cv_lib_svld_dlopen=no 12850fi 12851rm -f core conftest.err conftest.$ac_objext \ 12852 conftest$ac_exeext conftest.$ac_ext 12853LIBS=$ac_check_lib_save_LIBS 12854fi 12855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12856$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12857if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12858 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12859else 12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12861$as_echo_n "checking for dld_link in -ldld... " >&6; } 12862if ${ac_cv_lib_dld_dld_link+:} false; then : 12863 $as_echo_n "(cached) " >&6 12864else 12865 ac_check_lib_save_LIBS=$LIBS 12866LIBS="-ldld $LIBS" 12867cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12868/* end confdefs.h. */ 12869 12870/* Override any GCC internal prototype to avoid an error. 12871 Use char because int might match the return type of a GCC 12872 builtin and then its argument prototype would still apply. */ 12873#ifdef __cplusplus 12874extern "C" 12875#endif 12876char dld_link (); 12877int 12878main () 12879{ 12880return dld_link (); 12881 ; 12882 return 0; 12883} 12884_ACEOF 12885if ac_fn_c_try_link "$LINENO"; then : 12886 ac_cv_lib_dld_dld_link=yes 12887else 12888 ac_cv_lib_dld_dld_link=no 12889fi 12890rm -f core conftest.err conftest.$ac_objext \ 12891 conftest$ac_exeext conftest.$ac_ext 12892LIBS=$ac_check_lib_save_LIBS 12893fi 12894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12895$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12896if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12897 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12898fi 12899 12900 12901fi 12902 12903 12904fi 12905 12906 12907fi 12908 12909 12910fi 12911 12912 12913fi 12914 12915 ;; 12916 esac 12917 12918 if test no = "$lt_cv_dlopen"; then 12919 enable_dlopen=no 12920 else 12921 enable_dlopen=yes 12922 fi 12923 12924 case $lt_cv_dlopen in 12925 dlopen) 12926 save_CPPFLAGS=$CPPFLAGS 12927 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12928 12929 save_LDFLAGS=$LDFLAGS 12930 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12931 12932 save_LIBS=$LIBS 12933 LIBS="$lt_cv_dlopen_libs $LIBS" 12934 12935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12936$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12937if ${lt_cv_dlopen_self+:} false; then : 12938 $as_echo_n "(cached) " >&6 12939else 12940 if test yes = "$cross_compiling"; then : 12941 lt_cv_dlopen_self=cross 12942else 12943 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12944 lt_status=$lt_dlunknown 12945 cat > conftest.$ac_ext <<_LT_EOF 12946#line $LINENO "configure" 12947#include "confdefs.h" 12948 12949#if HAVE_DLFCN_H 12950#include <dlfcn.h> 12951#endif 12952 12953#include <stdio.h> 12954 12955#ifdef RTLD_GLOBAL 12956# define LT_DLGLOBAL RTLD_GLOBAL 12957#else 12958# ifdef DL_GLOBAL 12959# define LT_DLGLOBAL DL_GLOBAL 12960# else 12961# define LT_DLGLOBAL 0 12962# endif 12963#endif 12964 12965/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12966 find out it does not work in some platform. */ 12967#ifndef LT_DLLAZY_OR_NOW 12968# ifdef RTLD_LAZY 12969# define LT_DLLAZY_OR_NOW RTLD_LAZY 12970# else 12971# ifdef DL_LAZY 12972# define LT_DLLAZY_OR_NOW DL_LAZY 12973# else 12974# ifdef RTLD_NOW 12975# define LT_DLLAZY_OR_NOW RTLD_NOW 12976# else 12977# ifdef DL_NOW 12978# define LT_DLLAZY_OR_NOW DL_NOW 12979# else 12980# define LT_DLLAZY_OR_NOW 0 12981# endif 12982# endif 12983# endif 12984# endif 12985#endif 12986 12987/* When -fvisibility=hidden is used, assume the code has been annotated 12988 correspondingly for the symbols needed. */ 12989#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12990int fnord () __attribute__((visibility("default"))); 12991#endif 12992 12993int fnord () { return 42; } 12994int main () 12995{ 12996 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12997 int status = $lt_dlunknown; 12998 12999 if (self) 13000 { 13001 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13002 else 13003 { 13004 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13005 else puts (dlerror ()); 13006 } 13007 /* dlclose (self); */ 13008 } 13009 else 13010 puts (dlerror ()); 13011 13012 return status; 13013} 13014_LT_EOF 13015 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13016 (eval $ac_link) 2>&5 13017 ac_status=$? 13018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13019 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13020 (./conftest; exit; ) >&5 2>/dev/null 13021 lt_status=$? 13022 case x$lt_status in 13023 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13024 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13025 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13026 esac 13027 else : 13028 # compilation failed 13029 lt_cv_dlopen_self=no 13030 fi 13031fi 13032rm -fr conftest* 13033 13034 13035fi 13036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13037$as_echo "$lt_cv_dlopen_self" >&6; } 13038 13039 if test yes = "$lt_cv_dlopen_self"; then 13040 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13042$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13043if ${lt_cv_dlopen_self_static+:} false; then : 13044 $as_echo_n "(cached) " >&6 13045else 13046 if test yes = "$cross_compiling"; then : 13047 lt_cv_dlopen_self_static=cross 13048else 13049 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13050 lt_status=$lt_dlunknown 13051 cat > conftest.$ac_ext <<_LT_EOF 13052#line $LINENO "configure" 13053#include "confdefs.h" 13054 13055#if HAVE_DLFCN_H 13056#include <dlfcn.h> 13057#endif 13058 13059#include <stdio.h> 13060 13061#ifdef RTLD_GLOBAL 13062# define LT_DLGLOBAL RTLD_GLOBAL 13063#else 13064# ifdef DL_GLOBAL 13065# define LT_DLGLOBAL DL_GLOBAL 13066# else 13067# define LT_DLGLOBAL 0 13068# endif 13069#endif 13070 13071/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13072 find out it does not work in some platform. */ 13073#ifndef LT_DLLAZY_OR_NOW 13074# ifdef RTLD_LAZY 13075# define LT_DLLAZY_OR_NOW RTLD_LAZY 13076# else 13077# ifdef DL_LAZY 13078# define LT_DLLAZY_OR_NOW DL_LAZY 13079# else 13080# ifdef RTLD_NOW 13081# define LT_DLLAZY_OR_NOW RTLD_NOW 13082# else 13083# ifdef DL_NOW 13084# define LT_DLLAZY_OR_NOW DL_NOW 13085# else 13086# define LT_DLLAZY_OR_NOW 0 13087# endif 13088# endif 13089# endif 13090# endif 13091#endif 13092 13093/* When -fvisibility=hidden is used, assume the code has been annotated 13094 correspondingly for the symbols needed. */ 13095#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13096int fnord () __attribute__((visibility("default"))); 13097#endif 13098 13099int fnord () { return 42; } 13100int main () 13101{ 13102 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13103 int status = $lt_dlunknown; 13104 13105 if (self) 13106 { 13107 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13108 else 13109 { 13110 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13111 else puts (dlerror ()); 13112 } 13113 /* dlclose (self); */ 13114 } 13115 else 13116 puts (dlerror ()); 13117 13118 return status; 13119} 13120_LT_EOF 13121 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13122 (eval $ac_link) 2>&5 13123 ac_status=$? 13124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13125 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13126 (./conftest; exit; ) >&5 2>/dev/null 13127 lt_status=$? 13128 case x$lt_status in 13129 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13130 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13131 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13132 esac 13133 else : 13134 # compilation failed 13135 lt_cv_dlopen_self_static=no 13136 fi 13137fi 13138rm -fr conftest* 13139 13140 13141fi 13142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13143$as_echo "$lt_cv_dlopen_self_static" >&6; } 13144 fi 13145 13146 CPPFLAGS=$save_CPPFLAGS 13147 LDFLAGS=$save_LDFLAGS 13148 LIBS=$save_LIBS 13149 ;; 13150 esac 13151 13152 case $lt_cv_dlopen_self in 13153 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13154 *) enable_dlopen_self=unknown ;; 13155 esac 13156 13157 case $lt_cv_dlopen_self_static in 13158 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13159 *) enable_dlopen_self_static=unknown ;; 13160 esac 13161fi 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179striplib= 13180old_striplib= 13181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13182$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13183if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13184 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13185 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13187$as_echo "yes" >&6; } 13188else 13189# FIXME - insert some real tests, host_os isn't really good enough 13190 case $host_os in 13191 darwin*) 13192 if test -n "$STRIP"; then 13193 striplib="$STRIP -x" 13194 old_striplib="$STRIP -S" 13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13196$as_echo "yes" >&6; } 13197 else 13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13199$as_echo "no" >&6; } 13200 fi 13201 ;; 13202 *) 13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13204$as_echo "no" >&6; } 13205 ;; 13206 esac 13207fi 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 # Report what library types will actually be built 13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13222$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13224$as_echo "$can_build_shared" >&6; } 13225 13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13227$as_echo_n "checking whether to build shared libraries... " >&6; } 13228 test no = "$can_build_shared" && enable_shared=no 13229 13230 # On AIX, shared libraries and static libraries use the same namespace, and 13231 # are all built from PIC. 13232 case $host_os in 13233 aix3*) 13234 test yes = "$enable_shared" && enable_static=no 13235 if test -n "$RANLIB"; then 13236 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13237 postinstall_cmds='$RANLIB $lib' 13238 fi 13239 ;; 13240 13241 aix[4-9]*) 13242 if test ia64 != "$host_cpu"; then 13243 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13244 yes,aix,yes) ;; # shared object as lib.so file only 13245 yes,svr4,*) ;; # shared object as lib.so archive member only 13246 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13247 esac 13248 fi 13249 ;; 13250 esac 13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13252$as_echo "$enable_shared" >&6; } 13253 13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13255$as_echo_n "checking whether to build static libraries... " >&6; } 13256 # Make sure either enable_shared or enable_static is yes. 13257 test yes = "$enable_shared" || enable_static=yes 13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13259$as_echo "$enable_static" >&6; } 13260 13261 13262 13263 13264fi 13265ac_ext=c 13266ac_cpp='$CPP $CPPFLAGS' 13267ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13268ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13269ac_compiler_gnu=$ac_cv_c_compiler_gnu 13270 13271CC=$lt_save_CC 13272 13273 if test -n "$CXX" && ( test no != "$CXX" && 13274 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 13275 (test g++ != "$CXX"))); then 13276 ac_ext=cpp 13277ac_cpp='$CXXCPP $CPPFLAGS' 13278ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13279ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13280ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 13282$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13283if test -z "$CXXCPP"; then 13284 if ${ac_cv_prog_CXXCPP+:} false; then : 13285 $as_echo_n "(cached) " >&6 13286else 13287 # Double quotes because CXXCPP needs to be expanded 13288 for CXXCPP in "$CXX -E" "/lib/cpp" 13289 do 13290 ac_preproc_ok=false 13291for ac_cxx_preproc_warn_flag in '' yes 13292do 13293 # Use a header file that comes with gcc, so configuring glibc 13294 # with a fresh cross-compiler works. 13295 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13296 # <limits.h> exists even on freestanding compilers. 13297 # On the NeXT, cc -E runs the code through the compiler's parser, 13298 # not just through cpp. "Syntax error" is here to catch this case. 13299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13300/* end confdefs.h. */ 13301#ifdef __STDC__ 13302# include <limits.h> 13303#else 13304# include <assert.h> 13305#endif 13306 Syntax error 13307_ACEOF 13308if ac_fn_cxx_try_cpp "$LINENO"; then : 13309 13310else 13311 # Broken: fails on valid input. 13312continue 13313fi 13314rm -f conftest.err conftest.i conftest.$ac_ext 13315 13316 # OK, works on sane cases. Now check whether nonexistent headers 13317 # can be detected and how. 13318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13319/* end confdefs.h. */ 13320#include <ac_nonexistent.h> 13321_ACEOF 13322if ac_fn_cxx_try_cpp "$LINENO"; then : 13323 # Broken: success on invalid input. 13324continue 13325else 13326 # Passes both tests. 13327ac_preproc_ok=: 13328break 13329fi 13330rm -f conftest.err conftest.i conftest.$ac_ext 13331 13332done 13333# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13334rm -f conftest.i conftest.err conftest.$ac_ext 13335if $ac_preproc_ok; then : 13336 break 13337fi 13338 13339 done 13340 ac_cv_prog_CXXCPP=$CXXCPP 13341 13342fi 13343 CXXCPP=$ac_cv_prog_CXXCPP 13344else 13345 ac_cv_prog_CXXCPP=$CXXCPP 13346fi 13347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 13348$as_echo "$CXXCPP" >&6; } 13349ac_preproc_ok=false 13350for ac_cxx_preproc_warn_flag in '' yes 13351do 13352 # Use a header file that comes with gcc, so configuring glibc 13353 # with a fresh cross-compiler works. 13354 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13355 # <limits.h> exists even on freestanding compilers. 13356 # On the NeXT, cc -E runs the code through the compiler's parser, 13357 # not just through cpp. "Syntax error" is here to catch this case. 13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13359/* end confdefs.h. */ 13360#ifdef __STDC__ 13361# include <limits.h> 13362#else 13363# include <assert.h> 13364#endif 13365 Syntax error 13366_ACEOF 13367if ac_fn_cxx_try_cpp "$LINENO"; then : 13368 13369else 13370 # Broken: fails on valid input. 13371continue 13372fi 13373rm -f conftest.err conftest.i conftest.$ac_ext 13374 13375 # OK, works on sane cases. Now check whether nonexistent headers 13376 # can be detected and how. 13377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13378/* end confdefs.h. */ 13379#include <ac_nonexistent.h> 13380_ACEOF 13381if ac_fn_cxx_try_cpp "$LINENO"; then : 13382 # Broken: success on invalid input. 13383continue 13384else 13385 # Passes both tests. 13386ac_preproc_ok=: 13387break 13388fi 13389rm -f conftest.err conftest.i conftest.$ac_ext 13390 13391done 13392# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13393rm -f conftest.i conftest.err conftest.$ac_ext 13394if $ac_preproc_ok; then : 13395 13396else 13397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13398$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13399as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 13400See \`config.log' for more details" "$LINENO" 5; } 13401fi 13402 13403ac_ext=c 13404ac_cpp='$CPP $CPPFLAGS' 13405ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13406ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13407ac_compiler_gnu=$ac_cv_c_compiler_gnu 13408 13409else 13410 _lt_caught_CXX_error=yes 13411fi 13412 13413ac_ext=cpp 13414ac_cpp='$CXXCPP $CPPFLAGS' 13415ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13416ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13417ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13418 13419archive_cmds_need_lc_CXX=no 13420allow_undefined_flag_CXX= 13421always_export_symbols_CXX=no 13422archive_expsym_cmds_CXX= 13423compiler_needs_object_CXX=no 13424export_dynamic_flag_spec_CXX= 13425hardcode_direct_CXX=no 13426hardcode_direct_absolute_CXX=no 13427hardcode_libdir_flag_spec_CXX= 13428hardcode_libdir_separator_CXX= 13429hardcode_minus_L_CXX=no 13430hardcode_shlibpath_var_CXX=unsupported 13431hardcode_automatic_CXX=no 13432inherit_rpath_CXX=no 13433module_cmds_CXX= 13434module_expsym_cmds_CXX= 13435link_all_deplibs_CXX=unknown 13436old_archive_cmds_CXX=$old_archive_cmds 13437reload_flag_CXX=$reload_flag 13438reload_cmds_CXX=$reload_cmds 13439no_undefined_flag_CXX= 13440whole_archive_flag_spec_CXX= 13441enable_shared_with_static_runtimes_CXX=no 13442 13443# Source file extension for C++ test sources. 13444ac_ext=cpp 13445 13446# Object file extension for compiled C++ test sources. 13447objext=o 13448objext_CXX=$objext 13449 13450# No sense in running all these tests if we already determined that 13451# the CXX compiler isn't working. Some variables (like enable_shared) 13452# are currently assumed to apply to all compilers on this platform, 13453# and will be corrupted by setting them based on a non-working compiler. 13454if test yes != "$_lt_caught_CXX_error"; then 13455 # Code to be used in simple compile tests 13456 lt_simple_compile_test_code="int some_variable = 0;" 13457 13458 # Code to be used in simple link tests 13459 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 13460 13461 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13462 13463 13464 13465 13466 13467 13468# If no C compiler was specified, use CC. 13469LTCC=${LTCC-"$CC"} 13470 13471# If no C compiler flags were specified, use CFLAGS. 13472LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13473 13474# Allow CC to be a program name with arguments. 13475compiler=$CC 13476 13477 13478 # save warnings/boilerplate of simple test code 13479 ac_outfile=conftest.$ac_objext 13480echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13481eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13482_lt_compiler_boilerplate=`cat conftest.err` 13483$RM conftest* 13484 13485 ac_outfile=conftest.$ac_objext 13486echo "$lt_simple_link_test_code" >conftest.$ac_ext 13487eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13488_lt_linker_boilerplate=`cat conftest.err` 13489$RM -r conftest* 13490 13491 13492 # Allow CC to be a program name with arguments. 13493 lt_save_CC=$CC 13494 lt_save_CFLAGS=$CFLAGS 13495 lt_save_LD=$LD 13496 lt_save_GCC=$GCC 13497 GCC=$GXX 13498 lt_save_with_gnu_ld=$with_gnu_ld 13499 lt_save_path_LD=$lt_cv_path_LD 13500 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13501 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13502 else 13503 $as_unset lt_cv_prog_gnu_ld 13504 fi 13505 if test -n "${lt_cv_path_LDCXX+set}"; then 13506 lt_cv_path_LD=$lt_cv_path_LDCXX 13507 else 13508 $as_unset lt_cv_path_LD 13509 fi 13510 test -z "${LDCXX+set}" || LD=$LDCXX 13511 CC=${CXX-"c++"} 13512 CFLAGS=$CXXFLAGS 13513 compiler=$CC 13514 compiler_CXX=$CC 13515 func_cc_basename $compiler 13516cc_basename=$func_cc_basename_result 13517 13518 13519 if test -n "$compiler"; then 13520 # We don't want -fno-exception when compiling C++ code, so set the 13521 # no_builtin_flag separately 13522 if test yes = "$GXX"; then 13523 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13524 else 13525 lt_prog_compiler_no_builtin_flag_CXX= 13526 fi 13527 13528 if test yes = "$GXX"; then 13529 # Set up default GNU C++ configuration 13530 13531 13532 13533# Check whether --with-gnu-ld was given. 13534if test "${with_gnu_ld+set}" = set; then : 13535 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 13536else 13537 with_gnu_ld=no 13538fi 13539 13540ac_prog=ld 13541if test yes = "$GCC"; then 13542 # Check if gcc -print-prog-name=ld gives a path. 13543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13544$as_echo_n "checking for ld used by $CC... " >&6; } 13545 case $host in 13546 *-*-mingw*) 13547 # gcc leaves a trailing carriage return, which upsets mingw 13548 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13549 *) 13550 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13551 esac 13552 case $ac_prog in 13553 # Accept absolute paths. 13554 [\\/]* | ?:[\\/]*) 13555 re_direlt='/[^/][^/]*/\.\./' 13556 # Canonicalize the pathname of ld 13557 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13558 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13559 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13560 done 13561 test -z "$LD" && LD=$ac_prog 13562 ;; 13563 "") 13564 # If it fails, then pretend we aren't using GCC. 13565 ac_prog=ld 13566 ;; 13567 *) 13568 # If it is relative, then search for the first ld in PATH. 13569 with_gnu_ld=unknown 13570 ;; 13571 esac 13572elif test yes = "$with_gnu_ld"; then 13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 13574$as_echo_n "checking for GNU ld... " >&6; } 13575else 13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 13577$as_echo_n "checking for non-GNU ld... " >&6; } 13578fi 13579if ${lt_cv_path_LD+:} false; then : 13580 $as_echo_n "(cached) " >&6 13581else 13582 if test -z "$LD"; then 13583 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 13584 for ac_dir in $PATH; do 13585 IFS=$lt_save_ifs 13586 test -z "$ac_dir" && ac_dir=. 13587 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 13588 lt_cv_path_LD=$ac_dir/$ac_prog 13589 # Check to see if the program is GNU ld. I'd rather use --version, 13590 # but apparently some variants of GNU ld only accept -v. 13591 # Break only if it was the GNU/non-GNU ld that we prefer. 13592 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 13593 *GNU* | *'with BFD'*) 13594 test no != "$with_gnu_ld" && break 13595 ;; 13596 *) 13597 test yes != "$with_gnu_ld" && break 13598 ;; 13599 esac 13600 fi 13601 done 13602 IFS=$lt_save_ifs 13603else 13604 lt_cv_path_LD=$LD # Let the user override the test with a path. 13605fi 13606fi 13607 13608LD=$lt_cv_path_LD 13609if test -n "$LD"; then 13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 13611$as_echo "$LD" >&6; } 13612else 13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13614$as_echo "no" >&6; } 13615fi 13616test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 13617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 13618$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 13619if ${lt_cv_prog_gnu_ld+:} false; then : 13620 $as_echo_n "(cached) " >&6 13621else 13622 # I'd rather use --version here, but apparently some GNU lds only accept -v. 13623case `$LD -v 2>&1 </dev/null` in 13624*GNU* | *'with BFD'*) 13625 lt_cv_prog_gnu_ld=yes 13626 ;; 13627*) 13628 lt_cv_prog_gnu_ld=no 13629 ;; 13630esac 13631fi 13632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 13633$as_echo "$lt_cv_prog_gnu_ld" >&6; } 13634with_gnu_ld=$lt_cv_prog_gnu_ld 13635 13636 13637 13638 13639 13640 13641 13642 # Check if GNU C++ uses GNU ld as the underlying linker, since the 13643 # archiving commands below assume that GNU ld is being used. 13644 if test yes = "$with_gnu_ld"; then 13645 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13646 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' 13647 13648 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13649 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13650 13651 # If archive_cmds runs LD, not CC, wlarc should be empty 13652 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 13653 # investigate it a little bit more. (MM) 13654 wlarc='$wl' 13655 13656 # ancient GNU ld didn't support --whole-archive et. al. 13657 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 13658 $GREP 'no-whole-archive' > /dev/null; then 13659 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 13660 else 13661 whole_archive_flag_spec_CXX= 13662 fi 13663 else 13664 with_gnu_ld=no 13665 wlarc= 13666 13667 # A generic and very simple default shared library creation 13668 # command for GNU C++ for the case where it uses the native 13669 # linker, instead of GNU ld. If possible, this setting should 13670 # overridden to take advantage of the native linker features on 13671 # the platform it is being used on. 13672 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13673 fi 13674 13675 # Commands to make compiler produce verbose output that lists 13676 # what "hidden" libraries, object files and flags are used when 13677 # linking a shared library. 13678 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13679 13680 else 13681 GXX=no 13682 with_gnu_ld=no 13683 wlarc= 13684 fi 13685 13686 # PORTME: fill in a description of your system's C++ link characteristics 13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 13688$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 13689 ld_shlibs_CXX=yes 13690 case $host_os in 13691 aix3*) 13692 # FIXME: insert proper C++ library support 13693 ld_shlibs_CXX=no 13694 ;; 13695 aix[4-9]*) 13696 if test ia64 = "$host_cpu"; then 13697 # On IA64, the linker does run time linking by default, so we don't 13698 # have to do anything special. 13699 aix_use_runtimelinking=no 13700 exp_sym_flag='-Bexport' 13701 no_entry_flag= 13702 else 13703 aix_use_runtimelinking=no 13704 13705 # Test if we are trying to use run time linking or normal 13706 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 13707 # have runtime linking enabled, and use it for executables. 13708 # For shared libraries, we enable/disable runtime linking 13709 # depending on the kind of the shared library created - 13710 # when "with_aix_soname,aix_use_runtimelinking" is: 13711 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 13712 # "aix,yes" lib.so shared, rtl:yes, for executables 13713 # lib.a static archive 13714 # "both,no" lib.so.V(shr.o) shared, rtl:yes 13715 # lib.a(lib.so.V) shared, rtl:no, for executables 13716 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 13717 # lib.a(lib.so.V) shared, rtl:no 13718 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 13719 # lib.a static archive 13720 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 13721 for ld_flag in $LDFLAGS; do 13722 case $ld_flag in 13723 *-brtl*) 13724 aix_use_runtimelinking=yes 13725 break 13726 ;; 13727 esac 13728 done 13729 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 13730 # With aix-soname=svr4, we create the lib.so.V shared archives only, 13731 # so we don't have lib.a shared libs to link our executables. 13732 # We have to force runtime linking in this case. 13733 aix_use_runtimelinking=yes 13734 LDFLAGS="$LDFLAGS -Wl,-brtl" 13735 fi 13736 ;; 13737 esac 13738 13739 exp_sym_flag='-bexport' 13740 no_entry_flag='-bnoentry' 13741 fi 13742 13743 # When large executables or shared objects are built, AIX ld can 13744 # have problems creating the table of contents. If linking a library 13745 # or program results in "error TOC overflow" add -mminimal-toc to 13746 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 13747 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 13748 13749 archive_cmds_CXX='' 13750 hardcode_direct_CXX=yes 13751 hardcode_direct_absolute_CXX=yes 13752 hardcode_libdir_separator_CXX=':' 13753 link_all_deplibs_CXX=yes 13754 file_list_spec_CXX='$wl-f,' 13755 case $with_aix_soname,$aix_use_runtimelinking in 13756 aix,*) ;; # no import file 13757 svr4,* | *,yes) # use import file 13758 # The Import File defines what to hardcode. 13759 hardcode_direct_CXX=no 13760 hardcode_direct_absolute_CXX=no 13761 ;; 13762 esac 13763 13764 if test yes = "$GXX"; then 13765 case $host_os in aix4.[012]|aix4.[012].*) 13766 # We only want to do this on AIX 4.2 and lower, the check 13767 # below for broken collect2 doesn't work under 4.3+ 13768 collect2name=`$CC -print-prog-name=collect2` 13769 if test -f "$collect2name" && 13770 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 13771 then 13772 # We have reworked collect2 13773 : 13774 else 13775 # We have old collect2 13776 hardcode_direct_CXX=unsupported 13777 # It fails to find uninstalled libraries when the uninstalled 13778 # path is not listed in the libpath. Setting hardcode_minus_L 13779 # to unsupported forces relinking 13780 hardcode_minus_L_CXX=yes 13781 hardcode_libdir_flag_spec_CXX='-L$libdir' 13782 hardcode_libdir_separator_CXX= 13783 fi 13784 esac 13785 shared_flag='-shared' 13786 if test yes = "$aix_use_runtimelinking"; then 13787 shared_flag=$shared_flag' $wl-G' 13788 fi 13789 # Need to ensure runtime linking is disabled for the traditional 13790 # shared library, or the linker may eventually find shared libraries 13791 # /with/ Import File - we do not want to mix them. 13792 shared_flag_aix='-shared' 13793 shared_flag_svr4='-shared $wl-G' 13794 else 13795 # not using gcc 13796 if test ia64 = "$host_cpu"; then 13797 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 13798 # chokes on -Wl,-G. The following line is correct: 13799 shared_flag='-G' 13800 else 13801 if test yes = "$aix_use_runtimelinking"; then 13802 shared_flag='$wl-G' 13803 else 13804 shared_flag='$wl-bM:SRE' 13805 fi 13806 shared_flag_aix='$wl-bM:SRE' 13807 shared_flag_svr4='$wl-G' 13808 fi 13809 fi 13810 13811 export_dynamic_flag_spec_CXX='$wl-bexpall' 13812 # It seems that -bexpall does not export symbols beginning with 13813 # underscore (_), so it is better to generate a list of symbols to 13814 # export. 13815 always_export_symbols_CXX=yes 13816 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 13817 # Warning - without using the other runtime loading flags (-brtl), 13818 # -berok will link without error, but may produce a broken library. 13819 # The "-G" linker flag allows undefined symbols. 13820 no_undefined_flag_CXX='-bernotok' 13821 # Determine the default libpath from the value encoded in an empty 13822 # executable. 13823 if test set = "${lt_cv_aix_libpath+set}"; then 13824 aix_libpath=$lt_cv_aix_libpath 13825else 13826 if ${lt_cv_aix_libpath__CXX+:} false; then : 13827 $as_echo_n "(cached) " >&6 13828else 13829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13830/* end confdefs.h. */ 13831 13832int 13833main () 13834{ 13835 13836 ; 13837 return 0; 13838} 13839_ACEOF 13840if ac_fn_cxx_try_link "$LINENO"; then : 13841 13842 lt_aix_libpath_sed=' 13843 /Import File Strings/,/^$/ { 13844 /^0/ { 13845 s/^0 *\([^ ]*\) *$/\1/ 13846 p 13847 } 13848 }' 13849 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13850 # Check for a 64-bit object if we didn't find anything. 13851 if test -z "$lt_cv_aix_libpath__CXX"; then 13852 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13853 fi 13854fi 13855rm -f core conftest.err conftest.$ac_objext \ 13856 conftest$ac_exeext conftest.$ac_ext 13857 if test -z "$lt_cv_aix_libpath__CXX"; then 13858 lt_cv_aix_libpath__CXX=/usr/lib:/lib 13859 fi 13860 13861fi 13862 13863 aix_libpath=$lt_cv_aix_libpath__CXX 13864fi 13865 13866 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13867 13868 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 13869 else 13870 if test ia64 = "$host_cpu"; then 13871 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 13872 allow_undefined_flag_CXX="-z nodefs" 13873 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" 13874 else 13875 # Determine the default libpath from the value encoded in an 13876 # empty executable. 13877 if test set = "${lt_cv_aix_libpath+set}"; then 13878 aix_libpath=$lt_cv_aix_libpath 13879else 13880 if ${lt_cv_aix_libpath__CXX+:} false; then : 13881 $as_echo_n "(cached) " >&6 13882else 13883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13884/* end confdefs.h. */ 13885 13886int 13887main () 13888{ 13889 13890 ; 13891 return 0; 13892} 13893_ACEOF 13894if ac_fn_cxx_try_link "$LINENO"; then : 13895 13896 lt_aix_libpath_sed=' 13897 /Import File Strings/,/^$/ { 13898 /^0/ { 13899 s/^0 *\([^ ]*\) *$/\1/ 13900 p 13901 } 13902 }' 13903 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13904 # Check for a 64-bit object if we didn't find anything. 13905 if test -z "$lt_cv_aix_libpath__CXX"; then 13906 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13907 fi 13908fi 13909rm -f core conftest.err conftest.$ac_objext \ 13910 conftest$ac_exeext conftest.$ac_ext 13911 if test -z "$lt_cv_aix_libpath__CXX"; then 13912 lt_cv_aix_libpath__CXX=/usr/lib:/lib 13913 fi 13914 13915fi 13916 13917 aix_libpath=$lt_cv_aix_libpath__CXX 13918fi 13919 13920 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13921 # Warning - without using the other run time loading flags, 13922 # -berok will link without error, but may produce a broken library. 13923 no_undefined_flag_CXX=' $wl-bernotok' 13924 allow_undefined_flag_CXX=' $wl-berok' 13925 if test yes = "$with_gnu_ld"; then 13926 # We only use this code for GNU lds that support --whole-archive. 13927 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 13928 else 13929 # Exported symbols can be pulled into shared objects from archives 13930 whole_archive_flag_spec_CXX='$convenience' 13931 fi 13932 archive_cmds_need_lc_CXX=yes 13933 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 13934 # -brtl affects multiple linker settings, -berok does not and is overridden later 13935 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 13936 if test svr4 != "$with_aix_soname"; then 13937 # This is similar to how AIX traditionally builds its shared 13938 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 13939 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' 13940 fi 13941 if test aix != "$with_aix_soname"; then 13942 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' 13943 else 13944 # used by -dlpreopen to get the symbols 13945 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 13946 fi 13947 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 13948 fi 13949 fi 13950 ;; 13951 13952 beos*) 13953 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13954 allow_undefined_flag_CXX=unsupported 13955 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 13956 # support --undefined. This deserves some investigation. FIXME 13957 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13958 else 13959 ld_shlibs_CXX=no 13960 fi 13961 ;; 13962 13963 chorus*) 13964 case $cc_basename in 13965 *) 13966 # FIXME: insert proper C++ library support 13967 ld_shlibs_CXX=no 13968 ;; 13969 esac 13970 ;; 13971 13972 cygwin* | mingw* | pw32* | cegcc*) 13973 case $GXX,$cc_basename in 13974 ,cl* | no,cl*) 13975 # Native MSVC 13976 # hardcode_libdir_flag_spec is actually meaningless, as there is 13977 # no search path for DLLs. 13978 hardcode_libdir_flag_spec_CXX=' ' 13979 allow_undefined_flag_CXX=unsupported 13980 always_export_symbols_CXX=yes 13981 file_list_spec_CXX='@' 13982 # Tell ltmain to make .lib files, not .a files. 13983 libext=lib 13984 # Tell ltmain to make .dll files, not .so files. 13985 shrext_cmds=.dll 13986 # FIXME: Setting linknames here is a bad hack. 13987 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 13988 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13989 cp "$export_symbols" "$output_objdir/$soname.def"; 13990 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 13991 else 13992 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 13993 fi~ 13994 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 13995 linknames=' 13996 # The linker will not automatically build a static lib if we build a DLL. 13997 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 13998 enable_shared_with_static_runtimes_CXX=yes 13999 # Don't use ranlib 14000 old_postinstall_cmds_CXX='chmod 644 $oldlib' 14001 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 14002 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14003 case $lt_outputfile in 14004 *.exe|*.EXE) ;; 14005 *) 14006 lt_outputfile=$lt_outputfile.exe 14007 lt_tool_outputfile=$lt_tool_outputfile.exe 14008 ;; 14009 esac~ 14010 func_to_tool_file "$lt_outputfile"~ 14011 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 14012 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 14013 $RM "$lt_outputfile.manifest"; 14014 fi' 14015 ;; 14016 *) 14017 # g++ 14018 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 14019 # as there is no search path for DLLs. 14020 hardcode_libdir_flag_spec_CXX='-L$libdir' 14021 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 14022 allow_undefined_flag_CXX=unsupported 14023 always_export_symbols_CXX=no 14024 enable_shared_with_static_runtimes_CXX=yes 14025 14026 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14027 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' 14028 # If the export-symbols file already is a .def file, use it as 14029 # is; otherwise, prepend EXPORTS... 14030 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14031 cp $export_symbols $output_objdir/$soname.def; 14032 else 14033 echo EXPORTS > $output_objdir/$soname.def; 14034 cat $export_symbols >> $output_objdir/$soname.def; 14035 fi~ 14036 $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' 14037 else 14038 ld_shlibs_CXX=no 14039 fi 14040 ;; 14041 esac 14042 ;; 14043 darwin* | rhapsody*) 14044 14045 14046 archive_cmds_need_lc_CXX=no 14047 hardcode_direct_CXX=no 14048 hardcode_automatic_CXX=yes 14049 hardcode_shlibpath_var_CXX=unsupported 14050 if test yes = "$lt_cv_ld_force_load"; then 14051 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\"`' 14052 14053 else 14054 whole_archive_flag_spec_CXX='' 14055 fi 14056 link_all_deplibs_CXX=yes 14057 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 14058 case $cc_basename in 14059 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 14060 *) _lt_dar_can_shared=$GCC ;; 14061 esac 14062 if test yes = "$_lt_dar_can_shared"; then 14063 output_verbose_link_cmd=func_echo_all 14064 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" 14065 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 14066 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" 14067 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" 14068 if test yes != "$lt_cv_apple_cc_single_mod"; then 14069 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" 14070 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" 14071 fi 14072 14073 else 14074 ld_shlibs_CXX=no 14075 fi 14076 14077 ;; 14078 14079 os2*) 14080 hardcode_libdir_flag_spec_CXX='-L$libdir' 14081 hardcode_minus_L_CXX=yes 14082 allow_undefined_flag_CXX=unsupported 14083 shrext_cmds=.dll 14084 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14085 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14086 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14087 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14088 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 14089 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14090 emximp -o $lib $output_objdir/$libname.def' 14091 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14092 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14093 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14094 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14095 prefix_cmds="$SED"~ 14096 if test EXPORTS = "`$SED 1q $export_symbols`"; then 14097 prefix_cmds="$prefix_cmds -e 1d"; 14098 fi~ 14099 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 14100 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 14101 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14102 emximp -o $lib $output_objdir/$libname.def' 14103 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 14104 enable_shared_with_static_runtimes_CXX=yes 14105 ;; 14106 14107 dgux*) 14108 case $cc_basename in 14109 ec++*) 14110 # FIXME: insert proper C++ library support 14111 ld_shlibs_CXX=no 14112 ;; 14113 ghcx*) 14114 # Green Hills C++ Compiler 14115 # FIXME: insert proper C++ library support 14116 ld_shlibs_CXX=no 14117 ;; 14118 *) 14119 # FIXME: insert proper C++ library support 14120 ld_shlibs_CXX=no 14121 ;; 14122 esac 14123 ;; 14124 14125 freebsd2.*) 14126 # C++ shared libraries reported to be fairly broken before 14127 # switch to ELF 14128 ld_shlibs_CXX=no 14129 ;; 14130 14131 freebsd-elf*) 14132 archive_cmds_need_lc_CXX=no 14133 ;; 14134 14135 freebsd* | dragonfly*) 14136 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14137 # conventions 14138 ld_shlibs_CXX=yes 14139 ;; 14140 14141 haiku*) 14142 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14143 link_all_deplibs_CXX=yes 14144 ;; 14145 14146 hpux9*) 14147 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14148 hardcode_libdir_separator_CXX=: 14149 export_dynamic_flag_spec_CXX='$wl-E' 14150 hardcode_direct_CXX=yes 14151 hardcode_minus_L_CXX=yes # Not in the search PATH, 14152 # but as the default 14153 # location of the library. 14154 14155 case $cc_basename in 14156 CC*) 14157 # FIXME: insert proper C++ library support 14158 ld_shlibs_CXX=no 14159 ;; 14160 aCC*) 14161 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' 14162 # Commands to make compiler produce verbose output that lists 14163 # what "hidden" libraries, object files and flags are used when 14164 # linking a shared library. 14165 # 14166 # There doesn't appear to be a way to prevent this compiler from 14167 # explicitly linking system object files so we need to strip them 14168 # from the output so that they don't get included in the library 14169 # dependencies. 14170 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"' 14171 ;; 14172 *) 14173 if test yes = "$GXX"; then 14174 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' 14175 else 14176 # FIXME: insert proper C++ library support 14177 ld_shlibs_CXX=no 14178 fi 14179 ;; 14180 esac 14181 ;; 14182 14183 hpux10*|hpux11*) 14184 if test no = "$with_gnu_ld"; then 14185 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14186 hardcode_libdir_separator_CXX=: 14187 14188 case $host_cpu in 14189 hppa*64*|ia64*) 14190 ;; 14191 *) 14192 export_dynamic_flag_spec_CXX='$wl-E' 14193 ;; 14194 esac 14195 fi 14196 case $host_cpu in 14197 hppa*64*|ia64*) 14198 hardcode_direct_CXX=no 14199 hardcode_shlibpath_var_CXX=no 14200 ;; 14201 *) 14202 hardcode_direct_CXX=yes 14203 hardcode_direct_absolute_CXX=yes 14204 hardcode_minus_L_CXX=yes # Not in the search PATH, 14205 # but as the default 14206 # location of the library. 14207 ;; 14208 esac 14209 14210 case $cc_basename in 14211 CC*) 14212 # FIXME: insert proper C++ library support 14213 ld_shlibs_CXX=no 14214 ;; 14215 aCC*) 14216 case $host_cpu in 14217 hppa*64*) 14218 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14219 ;; 14220 ia64*) 14221 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14222 ;; 14223 *) 14224 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14225 ;; 14226 esac 14227 # Commands to make compiler produce verbose output that lists 14228 # what "hidden" libraries, object files and flags are used when 14229 # linking a shared library. 14230 # 14231 # There doesn't appear to be a way to prevent this compiler from 14232 # explicitly linking system object files so we need to strip them 14233 # from the output so that they don't get included in the library 14234 # dependencies. 14235 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"' 14236 ;; 14237 *) 14238 if test yes = "$GXX"; then 14239 if test no = "$with_gnu_ld"; then 14240 case $host_cpu in 14241 hppa*64*) 14242 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14243 ;; 14244 ia64*) 14245 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14246 ;; 14247 *) 14248 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' 14249 ;; 14250 esac 14251 fi 14252 else 14253 # FIXME: insert proper C++ library support 14254 ld_shlibs_CXX=no 14255 fi 14256 ;; 14257 esac 14258 ;; 14259 14260 interix[3-9]*) 14261 hardcode_direct_CXX=no 14262 hardcode_shlibpath_var_CXX=no 14263 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14264 export_dynamic_flag_spec_CXX='$wl-E' 14265 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14266 # Instead, shared libraries are loaded at an image base (0x10000000 by 14267 # default) and relocated if they conflict, which is a slow very memory 14268 # consuming and fragmenting process. To avoid this, we pick a random, 14269 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14270 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14271 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' 14272 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' 14273 ;; 14274 irix5* | irix6*) 14275 case $cc_basename in 14276 CC*) 14277 # SGI C++ 14278 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' 14279 14280 # Archives containing C++ object files must be created using 14281 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14282 # necessary to make sure instantiated templates are included 14283 # in the archive. 14284 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14285 ;; 14286 *) 14287 if test yes = "$GXX"; then 14288 if test no = "$with_gnu_ld"; then 14289 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' 14290 else 14291 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' 14292 fi 14293 fi 14294 link_all_deplibs_CXX=yes 14295 ;; 14296 esac 14297 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14298 hardcode_libdir_separator_CXX=: 14299 inherit_rpath_CXX=yes 14300 ;; 14301 14302 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14303 case $cc_basename in 14304 KCC*) 14305 # Kuck and Associates, Inc. (KAI) C++ Compiler 14306 14307 # KCC will only create a shared library if the output file 14308 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14309 # to its proper name (with version) after linking. 14310 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' 14311 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' 14312 # Commands to make compiler produce verbose output that lists 14313 # what "hidden" libraries, object files and flags are used when 14314 # linking a shared library. 14315 # 14316 # There doesn't appear to be a way to prevent this compiler from 14317 # explicitly linking system object files so we need to strip them 14318 # from the output so that they don't get included in the library 14319 # dependencies. 14320 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"' 14321 14322 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14323 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14324 14325 # Archives containing C++ object files must be created using 14326 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14327 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14328 ;; 14329 icpc* | ecpc* ) 14330 # Intel C++ 14331 with_gnu_ld=yes 14332 # version 8.0 and above of icpc choke on multiply defined symbols 14333 # if we add $predep_objects and $postdep_objects, however 7.1 and 14334 # earlier do not add the objects themselves. 14335 case `$CC -V 2>&1` in 14336 *"Version 7."*) 14337 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14338 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' 14339 ;; 14340 *) # Version 8.0 or newer 14341 tmp_idyn= 14342 case $host_cpu in 14343 ia64*) tmp_idyn=' -i_dynamic';; 14344 esac 14345 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14346 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' 14347 ;; 14348 esac 14349 archive_cmds_need_lc_CXX=no 14350 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14351 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14352 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14353 ;; 14354 pgCC* | pgcpp*) 14355 # Portland Group C++ compiler 14356 case `$CC -V` in 14357 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 14358 prelink_cmds_CXX='tpldir=Template.dir~ 14359 rm -rf $tpldir~ 14360 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14361 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 14362 old_archive_cmds_CXX='tpldir=Template.dir~ 14363 rm -rf $tpldir~ 14364 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14365 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14366 $RANLIB $oldlib' 14367 archive_cmds_CXX='tpldir=Template.dir~ 14368 rm -rf $tpldir~ 14369 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14370 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14371 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14372 rm -rf $tpldir~ 14373 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14374 $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' 14375 ;; 14376 *) # Version 6 and above use weak symbols 14377 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14378 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' 14379 ;; 14380 esac 14381 14382 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 14383 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14384 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' 14385 ;; 14386 cxx*) 14387 # Compaq C++ 14388 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14389 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' 14390 14391 runpath_var=LD_RUN_PATH 14392 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14393 hardcode_libdir_separator_CXX=: 14394 14395 # Commands to make compiler produce verbose output that lists 14396 # what "hidden" libraries, object files and flags are used when 14397 # linking a shared library. 14398 # 14399 # There doesn't appear to be a way to prevent this compiler from 14400 # explicitly linking system object files so we need to strip them 14401 # from the output so that they don't get included in the library 14402 # dependencies. 14403 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' 14404 ;; 14405 xl* | mpixl* | bgxl*) 14406 # IBM XL 8.0 on PPC, with GNU ld 14407 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14408 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14409 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14410 if test yes = "$supports_anon_versioning"; then 14411 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14412 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14413 echo "local: *; };" >> $output_objdir/$libname.ver~ 14414 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 14415 fi 14416 ;; 14417 *) 14418 case `$CC -V 2>&1 | sed 5q` in 14419 *Sun\ C*) 14420 # Sun C++ 5.9 14421 no_undefined_flag_CXX=' -zdefs' 14422 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14423 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' 14424 hardcode_libdir_flag_spec_CXX='-R$libdir' 14425 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' 14426 compiler_needs_object_CXX=yes 14427 14428 # Not sure whether something based on 14429 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14430 # would be better. 14431 output_verbose_link_cmd='func_echo_all' 14432 14433 # Archives containing C++ object files must be created using 14434 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14435 # necessary to make sure instantiated templates are included 14436 # in the archive. 14437 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14438 ;; 14439 esac 14440 ;; 14441 esac 14442 ;; 14443 14444 lynxos*) 14445 # FIXME: insert proper C++ library support 14446 ld_shlibs_CXX=no 14447 ;; 14448 14449 m88k*) 14450 # FIXME: insert proper C++ library support 14451 ld_shlibs_CXX=no 14452 ;; 14453 14454 mvs*) 14455 case $cc_basename in 14456 cxx*) 14457 # FIXME: insert proper C++ library support 14458 ld_shlibs_CXX=no 14459 ;; 14460 *) 14461 # FIXME: insert proper C++ library support 14462 ld_shlibs_CXX=no 14463 ;; 14464 esac 14465 ;; 14466 14467 netbsd*) 14468 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14469 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14470 wlarc= 14471 hardcode_libdir_flag_spec_CXX='-R$libdir' 14472 hardcode_direct_CXX=yes 14473 hardcode_shlibpath_var_CXX=no 14474 fi 14475 # Workaround some broken pre-1.5 toolchains 14476 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14477 ;; 14478 14479 *nto* | *qnx*) 14480 ld_shlibs_CXX=yes 14481 ;; 14482 14483 openbsd* | bitrig*) 14484 if test -f /usr/libexec/ld.so; then 14485 hardcode_direct_CXX=yes 14486 hardcode_shlibpath_var_CXX=no 14487 hardcode_direct_absolute_CXX=yes 14488 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14489 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14490 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 14491 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 14492 export_dynamic_flag_spec_CXX='$wl-E' 14493 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14494 fi 14495 output_verbose_link_cmd=func_echo_all 14496 else 14497 ld_shlibs_CXX=no 14498 fi 14499 ;; 14500 14501 osf3* | osf4* | osf5*) 14502 case $cc_basename in 14503 KCC*) 14504 # Kuck and Associates, Inc. (KAI) C++ Compiler 14505 14506 # KCC will only create a shared library if the output file 14507 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14508 # to its proper name (with version) after linking. 14509 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' 14510 14511 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14512 hardcode_libdir_separator_CXX=: 14513 14514 # Archives containing C++ object files must be created using 14515 # the KAI C++ compiler. 14516 case $host in 14517 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14518 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14519 esac 14520 ;; 14521 RCC*) 14522 # Rational C++ 2.4.1 14523 # FIXME: insert proper C++ library support 14524 ld_shlibs_CXX=no 14525 ;; 14526 cxx*) 14527 case $host in 14528 osf3*) 14529 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14530 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' 14531 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14532 ;; 14533 *) 14534 allow_undefined_flag_CXX=' -expect_unresolved \*' 14535 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' 14536 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14537 echo "-hidden">> $lib.exp~ 14538 $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~ 14539 $RM $lib.exp' 14540 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14541 ;; 14542 esac 14543 14544 hardcode_libdir_separator_CXX=: 14545 14546 # Commands to make compiler produce verbose output that lists 14547 # what "hidden" libraries, object files and flags are used when 14548 # linking a shared library. 14549 # 14550 # There doesn't appear to be a way to prevent this compiler from 14551 # explicitly linking system object files so we need to strip them 14552 # from the output so that they don't get included in the library 14553 # dependencies. 14554 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"' 14555 ;; 14556 *) 14557 if test yes,no = "$GXX,$with_gnu_ld"; then 14558 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14559 case $host in 14560 osf3*) 14561 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' 14562 ;; 14563 *) 14564 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' 14565 ;; 14566 esac 14567 14568 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14569 hardcode_libdir_separator_CXX=: 14570 14571 # Commands to make compiler produce verbose output that lists 14572 # what "hidden" libraries, object files and flags are used when 14573 # linking a shared library. 14574 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14575 14576 else 14577 # FIXME: insert proper C++ library support 14578 ld_shlibs_CXX=no 14579 fi 14580 ;; 14581 esac 14582 ;; 14583 14584 psos*) 14585 # FIXME: insert proper C++ library support 14586 ld_shlibs_CXX=no 14587 ;; 14588 14589 sunos4*) 14590 case $cc_basename in 14591 CC*) 14592 # Sun C++ 4.x 14593 # FIXME: insert proper C++ library support 14594 ld_shlibs_CXX=no 14595 ;; 14596 lcc*) 14597 # Lucid 14598 # FIXME: insert proper C++ library support 14599 ld_shlibs_CXX=no 14600 ;; 14601 *) 14602 # FIXME: insert proper C++ library support 14603 ld_shlibs_CXX=no 14604 ;; 14605 esac 14606 ;; 14607 14608 solaris*) 14609 case $cc_basename in 14610 CC* | sunCC*) 14611 # Sun C++ 4.2, 5.x and Centerline C++ 14612 archive_cmds_need_lc_CXX=yes 14613 no_undefined_flag_CXX=' -zdefs' 14614 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14615 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14616 $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' 14617 14618 hardcode_libdir_flag_spec_CXX='-R$libdir' 14619 hardcode_shlibpath_var_CXX=no 14620 case $host_os in 14621 solaris2.[0-5] | solaris2.[0-5].*) ;; 14622 *) 14623 # The compiler driver will combine and reorder linker options, 14624 # but understands '-z linker_flag'. 14625 # Supported since Solaris 2.6 (maybe 2.5.1?) 14626 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 14627 ;; 14628 esac 14629 link_all_deplibs_CXX=yes 14630 14631 output_verbose_link_cmd='func_echo_all' 14632 14633 # Archives containing C++ object files must be created using 14634 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14635 # necessary to make sure instantiated templates are included 14636 # in the archive. 14637 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14638 ;; 14639 gcx*) 14640 # Green Hills C++ Compiler 14641 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14642 14643 # The C++ compiler must be used to create the archive. 14644 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 14645 ;; 14646 *) 14647 # GNU C++ compiler with Solaris linker 14648 if test yes,no = "$GXX,$with_gnu_ld"; then 14649 no_undefined_flag_CXX=' $wl-z ${wl}defs' 14650 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 14651 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14652 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14653 $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' 14654 14655 # Commands to make compiler produce verbose output that lists 14656 # what "hidden" libraries, object files and flags are used when 14657 # linking a shared library. 14658 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14659 else 14660 # g++ 2.7 appears to require '-G' NOT '-shared' on this 14661 # platform. 14662 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14663 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14664 $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' 14665 14666 # Commands to make compiler produce verbose output that lists 14667 # what "hidden" libraries, object files and flags are used when 14668 # linking a shared library. 14669 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14670 fi 14671 14672 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 14673 case $host_os in 14674 solaris2.[0-5] | solaris2.[0-5].*) ;; 14675 *) 14676 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 14677 ;; 14678 esac 14679 fi 14680 ;; 14681 esac 14682 ;; 14683 14684 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 14685 no_undefined_flag_CXX='$wl-z,text' 14686 archive_cmds_need_lc_CXX=no 14687 hardcode_shlibpath_var_CXX=no 14688 runpath_var='LD_RUN_PATH' 14689 14690 case $cc_basename in 14691 CC*) 14692 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14693 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14694 ;; 14695 *) 14696 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14697 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14698 ;; 14699 esac 14700 ;; 14701 14702 sysv5* | sco3.2v5* | sco5v6*) 14703 # Note: We CANNOT use -z defs as we might desire, because we do not 14704 # link with -lc, and that would cause any symbols used from libc to 14705 # always be unresolved, which means just about no library would 14706 # ever link correctly. If we're not using GNU ld we use -z text 14707 # though, which does catch some bad symbols but isn't as heavy-handed 14708 # as -z defs. 14709 no_undefined_flag_CXX='$wl-z,text' 14710 allow_undefined_flag_CXX='$wl-z,nodefs' 14711 archive_cmds_need_lc_CXX=no 14712 hardcode_shlibpath_var_CXX=no 14713 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 14714 hardcode_libdir_separator_CXX=':' 14715 link_all_deplibs_CXX=yes 14716 export_dynamic_flag_spec_CXX='$wl-Bexport' 14717 runpath_var='LD_RUN_PATH' 14718 14719 case $cc_basename in 14720 CC*) 14721 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14722 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14723 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 14724 '"$old_archive_cmds_CXX" 14725 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 14726 '"$reload_cmds_CXX" 14727 ;; 14728 *) 14729 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14730 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14731 ;; 14732 esac 14733 ;; 14734 14735 tandem*) 14736 case $cc_basename in 14737 NCC*) 14738 # NonStop-UX NCC 3.20 14739 # FIXME: insert proper C++ library support 14740 ld_shlibs_CXX=no 14741 ;; 14742 *) 14743 # FIXME: insert proper C++ library support 14744 ld_shlibs_CXX=no 14745 ;; 14746 esac 14747 ;; 14748 14749 vxworks*) 14750 # FIXME: insert proper C++ library support 14751 ld_shlibs_CXX=no 14752 ;; 14753 14754 *) 14755 # FIXME: insert proper C++ library support 14756 ld_shlibs_CXX=no 14757 ;; 14758 esac 14759 14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14761$as_echo "$ld_shlibs_CXX" >&6; } 14762 test no = "$ld_shlibs_CXX" && can_build_shared=no 14763 14764 GCC_CXX=$GXX 14765 LD_CXX=$LD 14766 14767 ## CAVEAT EMPTOR: 14768 ## There is no encapsulation within the following macros, do not change 14769 ## the running order or otherwise move them around unless you know exactly 14770 ## what you are doing... 14771 # Dependencies to place before and after the object being linked: 14772predep_objects_CXX= 14773postdep_objects_CXX= 14774predeps_CXX= 14775postdeps_CXX= 14776compiler_lib_search_path_CXX= 14777 14778cat > conftest.$ac_ext <<_LT_EOF 14779class Foo 14780{ 14781public: 14782 Foo (void) { a = 0; } 14783private: 14784 int a; 14785}; 14786_LT_EOF 14787 14788 14789_lt_libdeps_save_CFLAGS=$CFLAGS 14790case "$CC $CFLAGS " in #( 14791*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 14792*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 14793*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 14794esac 14795 14796if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14797 (eval $ac_compile) 2>&5 14798 ac_status=$? 14799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14800 test $ac_status = 0; }; then 14801 # Parse the compiler output and extract the necessary 14802 # objects, libraries and library flags. 14803 14804 # Sentinel used to keep track of whether or not we are before 14805 # the conftest object file. 14806 pre_test_object_deps_done=no 14807 14808 for p in `eval "$output_verbose_link_cmd"`; do 14809 case $prev$p in 14810 14811 -L* | -R* | -l*) 14812 # Some compilers place space between "-{L,R}" and the path. 14813 # Remove the space. 14814 if test x-L = "$p" || 14815 test x-R = "$p"; then 14816 prev=$p 14817 continue 14818 fi 14819 14820 # Expand the sysroot to ease extracting the directories later. 14821 if test -z "$prev"; then 14822 case $p in 14823 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 14824 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 14825 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 14826 esac 14827 fi 14828 case $p in 14829 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 14830 esac 14831 if test no = "$pre_test_object_deps_done"; then 14832 case $prev in 14833 -L | -R) 14834 # Internal compiler library paths should come after those 14835 # provided the user. The postdeps already come after the 14836 # user supplied libs so there is no need to process them. 14837 if test -z "$compiler_lib_search_path_CXX"; then 14838 compiler_lib_search_path_CXX=$prev$p 14839 else 14840 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 14841 fi 14842 ;; 14843 # The "-l" case would never come before the object being 14844 # linked, so don't bother handling this case. 14845 esac 14846 else 14847 if test -z "$postdeps_CXX"; then 14848 postdeps_CXX=$prev$p 14849 else 14850 postdeps_CXX="${postdeps_CXX} $prev$p" 14851 fi 14852 fi 14853 prev= 14854 ;; 14855 14856 *.lto.$objext) ;; # Ignore GCC LTO objects 14857 *.$objext) 14858 # This assumes that the test object file only shows up 14859 # once in the compiler output. 14860 if test "$p" = "conftest.$objext"; then 14861 pre_test_object_deps_done=yes 14862 continue 14863 fi 14864 14865 if test no = "$pre_test_object_deps_done"; then 14866 if test -z "$predep_objects_CXX"; then 14867 predep_objects_CXX=$p 14868 else 14869 predep_objects_CXX="$predep_objects_CXX $p" 14870 fi 14871 else 14872 if test -z "$postdep_objects_CXX"; then 14873 postdep_objects_CXX=$p 14874 else 14875 postdep_objects_CXX="$postdep_objects_CXX $p" 14876 fi 14877 fi 14878 ;; 14879 14880 *) ;; # Ignore the rest. 14881 14882 esac 14883 done 14884 14885 # Clean up. 14886 rm -f a.out a.exe 14887else 14888 echo "libtool.m4: error: problem compiling CXX test program" 14889fi 14890 14891$RM -f confest.$objext 14892CFLAGS=$_lt_libdeps_save_CFLAGS 14893 14894# PORTME: override above test on systems where it is broken 14895case $host_os in 14896interix[3-9]*) 14897 # Interix 3.5 installs completely hosed .la files for C++, so rather than 14898 # hack all around it, let's just trust "g++" to DTRT. 14899 predep_objects_CXX= 14900 postdep_objects_CXX= 14901 postdeps_CXX= 14902 ;; 14903esac 14904 14905 14906case " $postdeps_CXX " in 14907*" -lc "*) archive_cmds_need_lc_CXX=no ;; 14908esac 14909 compiler_lib_search_dirs_CXX= 14910if test -n "${compiler_lib_search_path_CXX}"; then 14911 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 14912fi 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 lt_prog_compiler_wl_CXX= 14945lt_prog_compiler_pic_CXX= 14946lt_prog_compiler_static_CXX= 14947 14948 14949 # C++ specific cases for pic, static, wl, etc. 14950 if test yes = "$GXX"; then 14951 lt_prog_compiler_wl_CXX='-Wl,' 14952 lt_prog_compiler_static_CXX='-static' 14953 14954 case $host_os in 14955 aix*) 14956 # All AIX code is PIC. 14957 if test ia64 = "$host_cpu"; then 14958 # AIX 5 now supports IA64 processor 14959 lt_prog_compiler_static_CXX='-Bstatic' 14960 fi 14961 lt_prog_compiler_pic_CXX='-fPIC' 14962 ;; 14963 14964 amigaos*) 14965 case $host_cpu in 14966 powerpc) 14967 # see comment about AmigaOS4 .so support 14968 lt_prog_compiler_pic_CXX='-fPIC' 14969 ;; 14970 m68k) 14971 # FIXME: we need at least 68020 code to build shared libraries, but 14972 # adding the '-m68020' flag to GCC prevents building anything better, 14973 # like '-m68040'. 14974 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 14975 ;; 14976 esac 14977 ;; 14978 14979 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 14980 # PIC is the default for these OSes. 14981 ;; 14982 mingw* | cygwin* | os2* | pw32* | cegcc*) 14983 # This hack is so that the source file can tell whether it is being 14984 # built for inclusion in a dll (and should export symbols for example). 14985 # Although the cygwin gcc ignores -fPIC, still need this for old-style 14986 # (--disable-auto-import) libraries 14987 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14988 case $host_os in 14989 os2*) 14990 lt_prog_compiler_static_CXX='$wl-static' 14991 ;; 14992 esac 14993 ;; 14994 darwin* | rhapsody*) 14995 # PIC is the default on this platform 14996 # Common symbols not allowed in MH_DYLIB files 14997 lt_prog_compiler_pic_CXX='-fno-common' 14998 ;; 14999 *djgpp*) 15000 # DJGPP does not support shared libraries at all 15001 lt_prog_compiler_pic_CXX= 15002 ;; 15003 haiku*) 15004 # PIC is the default for Haiku. 15005 # The "-static" flag exists, but is broken. 15006 lt_prog_compiler_static_CXX= 15007 ;; 15008 interix[3-9]*) 15009 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 15010 # Instead, we relocate shared libraries at runtime. 15011 ;; 15012 sysv4*MP*) 15013 if test -d /usr/nec; then 15014 lt_prog_compiler_pic_CXX=-Kconform_pic 15015 fi 15016 ;; 15017 hpux*) 15018 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 15019 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 15020 # sets the default TLS model and affects inlining. 15021 case $host_cpu in 15022 hppa*64*) 15023 ;; 15024 *) 15025 lt_prog_compiler_pic_CXX='-fPIC' 15026 ;; 15027 esac 15028 ;; 15029 *qnx* | *nto*) 15030 # QNX uses GNU C++, but need to define -shared option too, otherwise 15031 # it will coredump. 15032 lt_prog_compiler_pic_CXX='-fPIC -shared' 15033 ;; 15034 *) 15035 lt_prog_compiler_pic_CXX='-fPIC' 15036 ;; 15037 esac 15038 else 15039 case $host_os in 15040 aix[4-9]*) 15041 # All AIX code is PIC. 15042 if test ia64 = "$host_cpu"; then 15043 # AIX 5 now supports IA64 processor 15044 lt_prog_compiler_static_CXX='-Bstatic' 15045 else 15046 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 15047 fi 15048 ;; 15049 chorus*) 15050 case $cc_basename in 15051 cxch68*) 15052 # Green Hills C++ Compiler 15053 # _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" 15054 ;; 15055 esac 15056 ;; 15057 mingw* | cygwin* | os2* | pw32* | cegcc*) 15058 # This hack is so that the source file can tell whether it is being 15059 # built for inclusion in a dll (and should export symbols for example). 15060 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15061 ;; 15062 dgux*) 15063 case $cc_basename in 15064 ec++*) 15065 lt_prog_compiler_pic_CXX='-KPIC' 15066 ;; 15067 ghcx*) 15068 # Green Hills C++ Compiler 15069 lt_prog_compiler_pic_CXX='-pic' 15070 ;; 15071 *) 15072 ;; 15073 esac 15074 ;; 15075 freebsd* | dragonfly*) 15076 # FreeBSD uses GNU C++ 15077 ;; 15078 hpux9* | hpux10* | hpux11*) 15079 case $cc_basename in 15080 CC*) 15081 lt_prog_compiler_wl_CXX='-Wl,' 15082 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15083 if test ia64 != "$host_cpu"; then 15084 lt_prog_compiler_pic_CXX='+Z' 15085 fi 15086 ;; 15087 aCC*) 15088 lt_prog_compiler_wl_CXX='-Wl,' 15089 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15090 case $host_cpu in 15091 hppa*64*|ia64*) 15092 # +Z the default 15093 ;; 15094 *) 15095 lt_prog_compiler_pic_CXX='+Z' 15096 ;; 15097 esac 15098 ;; 15099 *) 15100 ;; 15101 esac 15102 ;; 15103 interix*) 15104 # This is c89, which is MS Visual C++ (no shared libs) 15105 # Anyone wants to do a port? 15106 ;; 15107 irix5* | irix6* | nonstopux*) 15108 case $cc_basename in 15109 CC*) 15110 lt_prog_compiler_wl_CXX='-Wl,' 15111 lt_prog_compiler_static_CXX='-non_shared' 15112 # CC pic flag -KPIC is the default. 15113 ;; 15114 *) 15115 ;; 15116 esac 15117 ;; 15118 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15119 case $cc_basename in 15120 KCC*) 15121 # KAI C++ Compiler 15122 lt_prog_compiler_wl_CXX='--backend -Wl,' 15123 lt_prog_compiler_pic_CXX='-fPIC' 15124 ;; 15125 ecpc* ) 15126 # old Intel C++ for x86_64, which still supported -KPIC. 15127 lt_prog_compiler_wl_CXX='-Wl,' 15128 lt_prog_compiler_pic_CXX='-KPIC' 15129 lt_prog_compiler_static_CXX='-static' 15130 ;; 15131 icpc* ) 15132 # Intel C++, used to be incompatible with GCC. 15133 # ICC 10 doesn't accept -KPIC any more. 15134 lt_prog_compiler_wl_CXX='-Wl,' 15135 lt_prog_compiler_pic_CXX='-fPIC' 15136 lt_prog_compiler_static_CXX='-static' 15137 ;; 15138 pgCC* | pgcpp*) 15139 # Portland Group C++ compiler 15140 lt_prog_compiler_wl_CXX='-Wl,' 15141 lt_prog_compiler_pic_CXX='-fpic' 15142 lt_prog_compiler_static_CXX='-Bstatic' 15143 ;; 15144 cxx*) 15145 # Compaq C++ 15146 # Make sure the PIC flag is empty. It appears that all Alpha 15147 # Linux and Compaq Tru64 Unix objects are PIC. 15148 lt_prog_compiler_pic_CXX= 15149 lt_prog_compiler_static_CXX='-non_shared' 15150 ;; 15151 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 15152 # IBM XL 8.0, 9.0 on PPC and BlueGene 15153 lt_prog_compiler_wl_CXX='-Wl,' 15154 lt_prog_compiler_pic_CXX='-qpic' 15155 lt_prog_compiler_static_CXX='-qstaticlink' 15156 ;; 15157 *) 15158 case `$CC -V 2>&1 | sed 5q` in 15159 *Sun\ C*) 15160 # Sun C++ 5.9 15161 lt_prog_compiler_pic_CXX='-KPIC' 15162 lt_prog_compiler_static_CXX='-Bstatic' 15163 lt_prog_compiler_wl_CXX='-Qoption ld ' 15164 ;; 15165 esac 15166 ;; 15167 esac 15168 ;; 15169 lynxos*) 15170 ;; 15171 m88k*) 15172 ;; 15173 mvs*) 15174 case $cc_basename in 15175 cxx*) 15176 lt_prog_compiler_pic_CXX='-W c,exportall' 15177 ;; 15178 *) 15179 ;; 15180 esac 15181 ;; 15182 netbsd* | netbsdelf*-gnu) 15183 ;; 15184 *qnx* | *nto*) 15185 # QNX uses GNU C++, but need to define -shared option too, otherwise 15186 # it will coredump. 15187 lt_prog_compiler_pic_CXX='-fPIC -shared' 15188 ;; 15189 osf3* | osf4* | osf5*) 15190 case $cc_basename in 15191 KCC*) 15192 lt_prog_compiler_wl_CXX='--backend -Wl,' 15193 ;; 15194 RCC*) 15195 # Rational C++ 2.4.1 15196 lt_prog_compiler_pic_CXX='-pic' 15197 ;; 15198 cxx*) 15199 # Digital/Compaq C++ 15200 lt_prog_compiler_wl_CXX='-Wl,' 15201 # Make sure the PIC flag is empty. It appears that all Alpha 15202 # Linux and Compaq Tru64 Unix objects are PIC. 15203 lt_prog_compiler_pic_CXX= 15204 lt_prog_compiler_static_CXX='-non_shared' 15205 ;; 15206 *) 15207 ;; 15208 esac 15209 ;; 15210 psos*) 15211 ;; 15212 solaris*) 15213 case $cc_basename in 15214 CC* | sunCC*) 15215 # Sun C++ 4.2, 5.x and Centerline C++ 15216 lt_prog_compiler_pic_CXX='-KPIC' 15217 lt_prog_compiler_static_CXX='-Bstatic' 15218 lt_prog_compiler_wl_CXX='-Qoption ld ' 15219 ;; 15220 gcx*) 15221 # Green Hills C++ Compiler 15222 lt_prog_compiler_pic_CXX='-PIC' 15223 ;; 15224 *) 15225 ;; 15226 esac 15227 ;; 15228 sunos4*) 15229 case $cc_basename in 15230 CC*) 15231 # Sun C++ 4.x 15232 lt_prog_compiler_pic_CXX='-pic' 15233 lt_prog_compiler_static_CXX='-Bstatic' 15234 ;; 15235 lcc*) 15236 # Lucid 15237 lt_prog_compiler_pic_CXX='-pic' 15238 ;; 15239 *) 15240 ;; 15241 esac 15242 ;; 15243 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15244 case $cc_basename in 15245 CC*) 15246 lt_prog_compiler_wl_CXX='-Wl,' 15247 lt_prog_compiler_pic_CXX='-KPIC' 15248 lt_prog_compiler_static_CXX='-Bstatic' 15249 ;; 15250 esac 15251 ;; 15252 tandem*) 15253 case $cc_basename in 15254 NCC*) 15255 # NonStop-UX NCC 3.20 15256 lt_prog_compiler_pic_CXX='-KPIC' 15257 ;; 15258 *) 15259 ;; 15260 esac 15261 ;; 15262 vxworks*) 15263 ;; 15264 *) 15265 lt_prog_compiler_can_build_shared_CXX=no 15266 ;; 15267 esac 15268 fi 15269 15270case $host_os in 15271 # For platforms that do not support PIC, -DPIC is meaningless: 15272 *djgpp*) 15273 lt_prog_compiler_pic_CXX= 15274 ;; 15275 *) 15276 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15277 ;; 15278esac 15279 15280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 15281$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15282if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 15283 $as_echo_n "(cached) " >&6 15284else 15285 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 15286fi 15287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 15288$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 15289lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 15290 15291# 15292# Check to make sure the PIC flag actually works. 15293# 15294if test -n "$lt_prog_compiler_pic_CXX"; then 15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15296$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15297if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 15298 $as_echo_n "(cached) " >&6 15299else 15300 lt_cv_prog_compiler_pic_works_CXX=no 15301 ac_outfile=conftest.$ac_objext 15302 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15303 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 15304 # Insert the option either (1) after the last *FLAGS variable, or 15305 # (2) before a word containing "conftest.", or (3) at the end. 15306 # Note that $ac_compile itself does not contain backslashes and begins 15307 # with a dollar sign (not a hyphen), so the echo should work correctly. 15308 # The option is referenced via a variable to avoid confusing sed. 15309 lt_compile=`echo "$ac_compile" | $SED \ 15310 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15311 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15312 -e 's:$: $lt_compiler_flag:'` 15313 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15314 (eval "$lt_compile" 2>conftest.err) 15315 ac_status=$? 15316 cat conftest.err >&5 15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15318 if (exit $ac_status) && test -s "$ac_outfile"; then 15319 # The compiler can only warn and ignore the option if not recognized 15320 # So say no if there are warnings other than the usual output. 15321 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 15322 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15323 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15324 lt_cv_prog_compiler_pic_works_CXX=yes 15325 fi 15326 fi 15327 $RM conftest* 15328 15329fi 15330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15331$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15332 15333if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 15334 case $lt_prog_compiler_pic_CXX in 15335 "" | " "*) ;; 15336 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15337 esac 15338else 15339 lt_prog_compiler_pic_CXX= 15340 lt_prog_compiler_can_build_shared_CXX=no 15341fi 15342 15343fi 15344 15345 15346 15347 15348 15349# 15350# Check to make sure the static flag actually works. 15351# 15352wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15354$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15355if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 15356 $as_echo_n "(cached) " >&6 15357else 15358 lt_cv_prog_compiler_static_works_CXX=no 15359 save_LDFLAGS=$LDFLAGS 15360 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15361 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15362 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15363 # The linker can only warn and ignore the option if not recognized 15364 # So say no if there are warnings 15365 if test -s conftest.err; then 15366 # Append any errors to the config.log. 15367 cat conftest.err 1>&5 15368 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15369 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15370 if diff conftest.exp conftest.er2 >/dev/null; then 15371 lt_cv_prog_compiler_static_works_CXX=yes 15372 fi 15373 else 15374 lt_cv_prog_compiler_static_works_CXX=yes 15375 fi 15376 fi 15377 $RM -r conftest* 15378 LDFLAGS=$save_LDFLAGS 15379 15380fi 15381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15382$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15383 15384if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 15385 : 15386else 15387 lt_prog_compiler_static_CXX= 15388fi 15389 15390 15391 15392 15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15394$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15395if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15396 $as_echo_n "(cached) " >&6 15397else 15398 lt_cv_prog_compiler_c_o_CXX=no 15399 $RM -r conftest 2>/dev/null 15400 mkdir conftest 15401 cd conftest 15402 mkdir out 15403 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15404 15405 lt_compiler_flag="-o out/conftest2.$ac_objext" 15406 # Insert the option either (1) after the last *FLAGS variable, or 15407 # (2) before a word containing "conftest.", or (3) at the end. 15408 # Note that $ac_compile itself does not contain backslashes and begins 15409 # with a dollar sign (not a hyphen), so the echo should work correctly. 15410 lt_compile=`echo "$ac_compile" | $SED \ 15411 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15412 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15413 -e 's:$: $lt_compiler_flag:'` 15414 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15415 (eval "$lt_compile" 2>out/conftest.err) 15416 ac_status=$? 15417 cat out/conftest.err >&5 15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15419 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15420 then 15421 # The compiler can only warn and ignore the option if not recognized 15422 # So say no if there are warnings 15423 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15424 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15425 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15426 lt_cv_prog_compiler_c_o_CXX=yes 15427 fi 15428 fi 15429 chmod u+w . 2>&5 15430 $RM conftest* 15431 # SGI C++ compiler will create directory out/ii_files/ for 15432 # template instantiation 15433 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15434 $RM out/* && rmdir out 15435 cd .. 15436 $RM -r conftest 15437 $RM conftest* 15438 15439fi 15440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15441$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15442 15443 15444 15445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15446$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15447if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15448 $as_echo_n "(cached) " >&6 15449else 15450 lt_cv_prog_compiler_c_o_CXX=no 15451 $RM -r conftest 2>/dev/null 15452 mkdir conftest 15453 cd conftest 15454 mkdir out 15455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15456 15457 lt_compiler_flag="-o out/conftest2.$ac_objext" 15458 # Insert the option either (1) after the last *FLAGS variable, or 15459 # (2) before a word containing "conftest.", or (3) at the end. 15460 # Note that $ac_compile itself does not contain backslashes and begins 15461 # with a dollar sign (not a hyphen), so the echo should work correctly. 15462 lt_compile=`echo "$ac_compile" | $SED \ 15463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15465 -e 's:$: $lt_compiler_flag:'` 15466 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15467 (eval "$lt_compile" 2>out/conftest.err) 15468 ac_status=$? 15469 cat out/conftest.err >&5 15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15471 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15472 then 15473 # The compiler can only warn and ignore the option if not recognized 15474 # So say no if there are warnings 15475 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15476 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15477 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15478 lt_cv_prog_compiler_c_o_CXX=yes 15479 fi 15480 fi 15481 chmod u+w . 2>&5 15482 $RM conftest* 15483 # SGI C++ compiler will create directory out/ii_files/ for 15484 # template instantiation 15485 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15486 $RM out/* && rmdir out 15487 cd .. 15488 $RM -r conftest 15489 $RM conftest* 15490 15491fi 15492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15493$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15494 15495 15496 15497 15498hard_links=nottested 15499if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 15500 # do not overwrite the value of need_locks provided by the user 15501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15502$as_echo_n "checking if we can lock with hard links... " >&6; } 15503 hard_links=yes 15504 $RM conftest* 15505 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15506 touch conftest.a 15507 ln conftest.a conftest.b 2>&5 || hard_links=no 15508 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15510$as_echo "$hard_links" >&6; } 15511 if test no = "$hard_links"; then 15512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 15513$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 15514 need_locks=warn 15515 fi 15516else 15517 need_locks=no 15518fi 15519 15520 15521 15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15523$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15524 15525 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15526 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15527 case $host_os in 15528 aix[4-9]*) 15529 # If we're using GNU nm, then we don't want the "-C" option. 15530 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 15531 # Without the "-l" option, or with the "-B" option, AIX nm treats 15532 # weak defined symbols like other global defined symbols, whereas 15533 # GNU nm marks them as "W". 15534 # While the 'weak' keyword is ignored in the Export File, we need 15535 # it in the Import File for the 'aix-soname' feature, so we have 15536 # to replace the "-B" option with "-P" for AIX nm. 15537 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15538 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' 15539 else 15540 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' 15541 fi 15542 ;; 15543 pw32*) 15544 export_symbols_cmds_CXX=$ltdll_cmds 15545 ;; 15546 cygwin* | mingw* | cegcc*) 15547 case $cc_basename in 15548 cl*) 15549 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15550 ;; 15551 *) 15552 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' 15553 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15554 ;; 15555 esac 15556 ;; 15557 linux* | k*bsd*-gnu | gnu*) 15558 link_all_deplibs_CXX=no 15559 ;; 15560 *) 15561 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15562 ;; 15563 esac 15564 15565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15566$as_echo "$ld_shlibs_CXX" >&6; } 15567test no = "$ld_shlibs_CXX" && can_build_shared=no 15568 15569with_gnu_ld_CXX=$with_gnu_ld 15570 15571 15572 15573 15574 15575 15576# 15577# Do we need to explicitly link libc? 15578# 15579case "x$archive_cmds_need_lc_CXX" in 15580x|xyes) 15581 # Assume -lc should be added 15582 archive_cmds_need_lc_CXX=yes 15583 15584 if test yes,yes = "$GCC,$enable_shared"; then 15585 case $archive_cmds_CXX in 15586 *'~'*) 15587 # FIXME: we may have to deal with multi-command sequences. 15588 ;; 15589 '$CC '*) 15590 # Test whether the compiler implicitly links with -lc since on some 15591 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15592 # to ld, don't add -lc before -lgcc. 15593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15594$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15595if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 15596 $as_echo_n "(cached) " >&6 15597else 15598 $RM conftest* 15599 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15600 15601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15602 (eval $ac_compile) 2>&5 15603 ac_status=$? 15604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15605 test $ac_status = 0; } 2>conftest.err; then 15606 soname=conftest 15607 lib=conftest 15608 libobjs=conftest.$ac_objext 15609 deplibs= 15610 wl=$lt_prog_compiler_wl_CXX 15611 pic_flag=$lt_prog_compiler_pic_CXX 15612 compiler_flags=-v 15613 linker_flags=-v 15614 verstring= 15615 output_objdir=. 15616 libname=conftest 15617 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 15618 allow_undefined_flag_CXX= 15619 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15620 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15621 ac_status=$? 15622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15623 test $ac_status = 0; } 15624 then 15625 lt_cv_archive_cmds_need_lc_CXX=no 15626 else 15627 lt_cv_archive_cmds_need_lc_CXX=yes 15628 fi 15629 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 15630 else 15631 cat conftest.err 1>&5 15632 fi 15633 $RM conftest* 15634 15635fi 15636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 15637$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 15638 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 15639 ;; 15640 esac 15641 fi 15642 ;; 15643esac 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 15707$as_echo_n "checking dynamic linker characteristics... " >&6; } 15708 15709library_names_spec= 15710libname_spec='lib$name' 15711soname_spec= 15712shrext_cmds=.so 15713postinstall_cmds= 15714postuninstall_cmds= 15715finish_cmds= 15716finish_eval= 15717shlibpath_var= 15718shlibpath_overrides_runpath=unknown 15719version_type=none 15720dynamic_linker="$host_os ld.so" 15721sys_lib_dlsearch_path_spec="/lib /usr/lib" 15722need_lib_prefix=unknown 15723hardcode_into_libs=no 15724 15725# when you set need_version to no, make sure it does not cause -set_version 15726# flags to be left without arguments 15727need_version=unknown 15728 15729 15730 15731case $host_os in 15732aix3*) 15733 version_type=linux # correct to gnu/linux during the next big refactor 15734 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 15735 shlibpath_var=LIBPATH 15736 15737 # AIX 3 has no versioning support, so we append a major version to the name. 15738 soname_spec='$libname$release$shared_ext$major' 15739 ;; 15740 15741aix[4-9]*) 15742 version_type=linux # correct to gnu/linux during the next big refactor 15743 need_lib_prefix=no 15744 need_version=no 15745 hardcode_into_libs=yes 15746 if test ia64 = "$host_cpu"; then 15747 # AIX 5 supports IA64 15748 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 15749 shlibpath_var=LD_LIBRARY_PATH 15750 else 15751 # With GCC up to 2.95.x, collect2 would create an import file 15752 # for dependence libraries. The import file would start with 15753 # the line '#! .'. This would cause the generated library to 15754 # depend on '.', always an invalid library. This was fixed in 15755 # development snapshots of GCC prior to 3.0. 15756 case $host_os in 15757 aix4 | aix4.[01] | aix4.[01].*) 15758 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 15759 echo ' yes ' 15760 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 15761 : 15762 else 15763 can_build_shared=no 15764 fi 15765 ;; 15766 esac 15767 # Using Import Files as archive members, it is possible to support 15768 # filename-based versioning of shared library archives on AIX. While 15769 # this would work for both with and without runtime linking, it will 15770 # prevent static linking of such archives. So we do filename-based 15771 # shared library versioning with .so extension only, which is used 15772 # when both runtime linking and shared linking is enabled. 15773 # Unfortunately, runtime linking may impact performance, so we do 15774 # not want this to be the default eventually. Also, we use the 15775 # versioned .so libs for executables only if there is the -brtl 15776 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 15777 # To allow for filename-based versioning support, we need to create 15778 # libNAME.so.V as an archive file, containing: 15779 # *) an Import File, referring to the versioned filename of the 15780 # archive as well as the shared archive member, telling the 15781 # bitwidth (32 or 64) of that shared object, and providing the 15782 # list of exported symbols of that shared object, eventually 15783 # decorated with the 'weak' keyword 15784 # *) the shared object with the F_LOADONLY flag set, to really avoid 15785 # it being seen by the linker. 15786 # At run time we better use the real file rather than another symlink, 15787 # but for link time we create the symlink libNAME.so -> libNAME.so.V 15788 15789 case $with_aix_soname,$aix_use_runtimelinking in 15790 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 15791 # soname into executable. Probably we can add versioning support to 15792 # collect2, so additional links can be useful in future. 15793 aix,yes) # traditional libtool 15794 dynamic_linker='AIX unversionable lib.so' 15795 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 15796 # instead of lib<name>.a to let people know that these are not 15797 # typical AIX shared libraries. 15798 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15799 ;; 15800 aix,no) # traditional AIX only 15801 dynamic_linker='AIX lib.a(lib.so.V)' 15802 # We preserve .a as extension for shared libraries through AIX4.2 15803 # and later when we are not doing run time linking. 15804 library_names_spec='$libname$release.a $libname.a' 15805 soname_spec='$libname$release$shared_ext$major' 15806 ;; 15807 svr4,*) # full svr4 only 15808 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 15809 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15810 # We do not specify a path in Import Files, so LIBPATH fires. 15811 shlibpath_overrides_runpath=yes 15812 ;; 15813 *,yes) # both, prefer svr4 15814 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 15815 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15816 # unpreferred sharedlib libNAME.a needs extra handling 15817 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"' 15818 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"' 15819 # We do not specify a path in Import Files, so LIBPATH fires. 15820 shlibpath_overrides_runpath=yes 15821 ;; 15822 *,no) # both, prefer aix 15823 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 15824 library_names_spec='$libname$release.a $libname.a' 15825 soname_spec='$libname$release$shared_ext$major' 15826 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 15827 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)' 15828 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"' 15829 ;; 15830 esac 15831 shlibpath_var=LIBPATH 15832 fi 15833 ;; 15834 15835amigaos*) 15836 case $host_cpu in 15837 powerpc) 15838 # Since July 2007 AmigaOS4 officially supports .so libraries. 15839 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 15840 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15841 ;; 15842 m68k) 15843 library_names_spec='$libname.ixlibrary $libname.a' 15844 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15845 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' 15846 ;; 15847 esac 15848 ;; 15849 15850beos*) 15851 library_names_spec='$libname$shared_ext' 15852 dynamic_linker="$host_os ld.so" 15853 shlibpath_var=LIBRARY_PATH 15854 ;; 15855 15856bsdi[45]*) 15857 version_type=linux # correct to gnu/linux during the next big refactor 15858 need_version=no 15859 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15860 soname_spec='$libname$release$shared_ext$major' 15861 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 15862 shlibpath_var=LD_LIBRARY_PATH 15863 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 15864 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 15865 # the default ld.so.conf also contains /usr/contrib/lib and 15866 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 15867 # libtool to hard-code these into programs 15868 ;; 15869 15870cygwin* | mingw* | pw32* | cegcc*) 15871 version_type=windows 15872 shrext_cmds=.dll 15873 need_version=no 15874 need_lib_prefix=no 15875 15876 case $GCC,$cc_basename in 15877 yes,*) 15878 # gcc 15879 library_names_spec='$libname.dll.a' 15880 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15881 postinstall_cmds='base_file=`basename \$file`~ 15882 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15883 dldir=$destdir/`dirname \$dlpath`~ 15884 test -d \$dldir || mkdir -p \$dldir~ 15885 $install_prog $dir/$dlname \$dldir/$dlname~ 15886 chmod a+x \$dldir/$dlname~ 15887 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15888 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15889 fi' 15890 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15891 dlpath=$dir/\$dldll~ 15892 $RM \$dlpath' 15893 shlibpath_overrides_runpath=yes 15894 15895 case $host_os in 15896 cygwin*) 15897 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 15898 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15899 15900 ;; 15901 mingw* | cegcc*) 15902 # MinGW DLLs use traditional 'lib' prefix 15903 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15904 ;; 15905 pw32*) 15906 # pw32 DLLs use 'pw' prefix rather than 'lib' 15907 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15908 ;; 15909 esac 15910 dynamic_linker='Win32 ld.exe' 15911 ;; 15912 15913 *,cl*) 15914 # Native MSVC 15915 libname_spec='$name' 15916 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15917 library_names_spec='$libname.dll.lib' 15918 15919 case $build_os in 15920 mingw*) 15921 sys_lib_search_path_spec= 15922 lt_save_ifs=$IFS 15923 IFS=';' 15924 for lt_path in $LIB 15925 do 15926 IFS=$lt_save_ifs 15927 # Let DOS variable expansion print the short 8.3 style file name. 15928 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 15929 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 15930 done 15931 IFS=$lt_save_ifs 15932 # Convert to MSYS style. 15933 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 15934 ;; 15935 cygwin*) 15936 # Convert to unix form, then to dos form, then back to unix form 15937 # but this time dos style (no spaces!) so that the unix form looks 15938 # like /cygdrive/c/PROGRA~1:/cygdr... 15939 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 15940 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 15941 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15942 ;; 15943 *) 15944 sys_lib_search_path_spec=$LIB 15945 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 15946 # It is most probably a Windows format PATH. 15947 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 15948 else 15949 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15950 fi 15951 # FIXME: find the short name or the path components, as spaces are 15952 # common. (e.g. "Program Files" -> "PROGRA~1") 15953 ;; 15954 esac 15955 15956 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15957 postinstall_cmds='base_file=`basename \$file`~ 15958 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15959 dldir=$destdir/`dirname \$dlpath`~ 15960 test -d \$dldir || mkdir -p \$dldir~ 15961 $install_prog $dir/$dlname \$dldir/$dlname' 15962 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15963 dlpath=$dir/\$dldll~ 15964 $RM \$dlpath' 15965 shlibpath_overrides_runpath=yes 15966 dynamic_linker='Win32 link.exe' 15967 ;; 15968 15969 *) 15970 # Assume MSVC wrapper 15971 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 15972 dynamic_linker='Win32 ld.exe' 15973 ;; 15974 esac 15975 # FIXME: first we should search . and the directory the executable is in 15976 shlibpath_var=PATH 15977 ;; 15978 15979darwin* | rhapsody*) 15980 dynamic_linker="$host_os dyld" 15981 version_type=darwin 15982 need_lib_prefix=no 15983 need_version=no 15984 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 15985 soname_spec='$libname$release$major$shared_ext' 15986 shlibpath_overrides_runpath=yes 15987 shlibpath_var=DYLD_LIBRARY_PATH 15988 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 15989 15990 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15991 ;; 15992 15993dgux*) 15994 version_type=linux # correct to gnu/linux during the next big refactor 15995 need_lib_prefix=no 15996 need_version=no 15997 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15998 soname_spec='$libname$release$shared_ext$major' 15999 shlibpath_var=LD_LIBRARY_PATH 16000 ;; 16001 16002freebsd* | dragonfly*) 16003 # DragonFly does not have aout. When/if they implement a new 16004 # versioning mechanism, adjust this. 16005 if test -x /usr/bin/objformat; then 16006 objformat=`/usr/bin/objformat` 16007 else 16008 case $host_os in 16009 freebsd[23].*) objformat=aout ;; 16010 *) objformat=elf ;; 16011 esac 16012 fi 16013 version_type=freebsd-$objformat 16014 case $version_type in 16015 freebsd-elf*) 16016 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16017 soname_spec='$libname$release$shared_ext$major' 16018 need_version=no 16019 need_lib_prefix=no 16020 ;; 16021 freebsd-*) 16022 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16023 need_version=yes 16024 ;; 16025 esac 16026 shlibpath_var=LD_LIBRARY_PATH 16027 case $host_os in 16028 freebsd2.*) 16029 shlibpath_overrides_runpath=yes 16030 ;; 16031 freebsd3.[01]* | freebsdelf3.[01]*) 16032 shlibpath_overrides_runpath=yes 16033 hardcode_into_libs=yes 16034 ;; 16035 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16036 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16037 shlibpath_overrides_runpath=no 16038 hardcode_into_libs=yes 16039 ;; 16040 *) # from 4.6 on, and DragonFly 16041 shlibpath_overrides_runpath=yes 16042 hardcode_into_libs=yes 16043 ;; 16044 esac 16045 ;; 16046 16047haiku*) 16048 version_type=linux # correct to gnu/linux during the next big refactor 16049 need_lib_prefix=no 16050 need_version=no 16051 dynamic_linker="$host_os runtime_loader" 16052 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16053 soname_spec='$libname$release$shared_ext$major' 16054 shlibpath_var=LIBRARY_PATH 16055 shlibpath_overrides_runpath=no 16056 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 16057 hardcode_into_libs=yes 16058 ;; 16059 16060hpux9* | hpux10* | hpux11*) 16061 # Give a soname corresponding to the major version so that dld.sl refuses to 16062 # link against other versions. 16063 version_type=sunos 16064 need_lib_prefix=no 16065 need_version=no 16066 case $host_cpu in 16067 ia64*) 16068 shrext_cmds='.so' 16069 hardcode_into_libs=yes 16070 dynamic_linker="$host_os dld.so" 16071 shlibpath_var=LD_LIBRARY_PATH 16072 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16073 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16074 soname_spec='$libname$release$shared_ext$major' 16075 if test 32 = "$HPUX_IA64_MODE"; then 16076 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16077 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 16078 else 16079 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16080 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 16081 fi 16082 ;; 16083 hppa*64*) 16084 shrext_cmds='.sl' 16085 hardcode_into_libs=yes 16086 dynamic_linker="$host_os dld.sl" 16087 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16088 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16089 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16090 soname_spec='$libname$release$shared_ext$major' 16091 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16092 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16093 ;; 16094 *) 16095 shrext_cmds='.sl' 16096 dynamic_linker="$host_os dld.sl" 16097 shlibpath_var=SHLIB_PATH 16098 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16099 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16100 soname_spec='$libname$release$shared_ext$major' 16101 ;; 16102 esac 16103 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16104 postinstall_cmds='chmod 555 $lib' 16105 # or fails outright, so override atomically: 16106 install_override_mode=555 16107 ;; 16108 16109interix[3-9]*) 16110 version_type=linux # correct to gnu/linux during the next big refactor 16111 need_lib_prefix=no 16112 need_version=no 16113 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16114 soname_spec='$libname$release$shared_ext$major' 16115 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16116 shlibpath_var=LD_LIBRARY_PATH 16117 shlibpath_overrides_runpath=no 16118 hardcode_into_libs=yes 16119 ;; 16120 16121irix5* | irix6* | nonstopux*) 16122 case $host_os in 16123 nonstopux*) version_type=nonstopux ;; 16124 *) 16125 if test yes = "$lt_cv_prog_gnu_ld"; then 16126 version_type=linux # correct to gnu/linux during the next big refactor 16127 else 16128 version_type=irix 16129 fi ;; 16130 esac 16131 need_lib_prefix=no 16132 need_version=no 16133 soname_spec='$libname$release$shared_ext$major' 16134 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 16135 case $host_os in 16136 irix5* | nonstopux*) 16137 libsuff= shlibsuff= 16138 ;; 16139 *) 16140 case $LD in # libtool.m4 will add one of these switches to LD 16141 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16142 libsuff= shlibsuff= libmagic=32-bit;; 16143 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16144 libsuff=32 shlibsuff=N32 libmagic=N32;; 16145 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16146 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16147 *) libsuff= shlibsuff= libmagic=never-match;; 16148 esac 16149 ;; 16150 esac 16151 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16152 shlibpath_overrides_runpath=no 16153 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 16154 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 16155 hardcode_into_libs=yes 16156 ;; 16157 16158# No shared lib support for Linux oldld, aout, or coff. 16159linux*oldld* | linux*aout* | linux*coff*) 16160 dynamic_linker=no 16161 ;; 16162 16163linux*android*) 16164 version_type=none # Android doesn't support versioned libraries. 16165 need_lib_prefix=no 16166 need_version=no 16167 library_names_spec='$libname$release$shared_ext' 16168 soname_spec='$libname$release$shared_ext' 16169 finish_cmds= 16170 shlibpath_var=LD_LIBRARY_PATH 16171 shlibpath_overrides_runpath=yes 16172 16173 # This implies no fast_install, which is unacceptable. 16174 # Some rework will be needed to allow for fast_install 16175 # before this can be enabled. 16176 hardcode_into_libs=yes 16177 16178 dynamic_linker='Android linker' 16179 # Don't embed -rpath directories since the linker doesn't support them. 16180 hardcode_libdir_flag_spec_CXX='-L$libdir' 16181 ;; 16182 16183# This must be glibc/ELF. 16184linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16185 version_type=linux # correct to gnu/linux during the next big refactor 16186 need_lib_prefix=no 16187 need_version=no 16188 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16189 soname_spec='$libname$release$shared_ext$major' 16190 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16191 shlibpath_var=LD_LIBRARY_PATH 16192 shlibpath_overrides_runpath=no 16193 16194 # Some binutils ld are patched to set DT_RUNPATH 16195 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 16196 $as_echo_n "(cached) " >&6 16197else 16198 lt_cv_shlibpath_overrides_runpath=no 16199 save_LDFLAGS=$LDFLAGS 16200 save_libdir=$libdir 16201 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16202 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16204/* end confdefs.h. */ 16205 16206int 16207main () 16208{ 16209 16210 ; 16211 return 0; 16212} 16213_ACEOF 16214if ac_fn_cxx_try_link "$LINENO"; then : 16215 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16216 lt_cv_shlibpath_overrides_runpath=yes 16217fi 16218fi 16219rm -f core conftest.err conftest.$ac_objext \ 16220 conftest$ac_exeext conftest.$ac_ext 16221 LDFLAGS=$save_LDFLAGS 16222 libdir=$save_libdir 16223 16224fi 16225 16226 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16227 16228 # This implies no fast_install, which is unacceptable. 16229 # Some rework will be needed to allow for fast_install 16230 # before this can be enabled. 16231 hardcode_into_libs=yes 16232 16233 # Ideally, we could use ldconfig to report *all* directores which are 16234 # searched for libraries, however this is still not possible. Aside from not 16235 # being certain /sbin/ldconfig is available, command 16236 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 16237 # even though it is searched at run-time. Try to do the best guess by 16238 # appending ld.so.conf contents (and includes) to the search path. 16239 if test -f /etc/ld.so.conf; then 16240 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' ' '` 16241 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 16242 fi 16243 16244 # We used to test for /lib/ld.so.1 and disable shared libraries on 16245 # powerpc, because MkLinux only supported shared libraries with the 16246 # GNU dynamic linker. Since this was broken with cross compilers, 16247 # most powerpc-linux boxes support dynamic linking these days and 16248 # people can always --disable-shared, the test was removed, and we 16249 # assume the GNU/Linux dynamic linker is in use. 16250 dynamic_linker='GNU/Linux ld.so' 16251 ;; 16252 16253netbsdelf*-gnu) 16254 version_type=linux 16255 need_lib_prefix=no 16256 need_version=no 16257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16258 soname_spec='${libname}${release}${shared_ext}$major' 16259 shlibpath_var=LD_LIBRARY_PATH 16260 shlibpath_overrides_runpath=no 16261 hardcode_into_libs=yes 16262 dynamic_linker='NetBSD ld.elf_so' 16263 ;; 16264 16265netbsd*) 16266 version_type=sunos 16267 need_lib_prefix=no 16268 need_version=no 16269 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16270 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16271 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16272 dynamic_linker='NetBSD (a.out) ld.so' 16273 else 16274 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16275 soname_spec='$libname$release$shared_ext$major' 16276 dynamic_linker='NetBSD ld.elf_so' 16277 fi 16278 shlibpath_var=LD_LIBRARY_PATH 16279 shlibpath_overrides_runpath=yes 16280 hardcode_into_libs=yes 16281 ;; 16282 16283newsos6) 16284 version_type=linux # correct to gnu/linux during the next big refactor 16285 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16286 shlibpath_var=LD_LIBRARY_PATH 16287 shlibpath_overrides_runpath=yes 16288 ;; 16289 16290*nto* | *qnx*) 16291 version_type=qnx 16292 need_lib_prefix=no 16293 need_version=no 16294 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16295 soname_spec='$libname$release$shared_ext$major' 16296 shlibpath_var=LD_LIBRARY_PATH 16297 shlibpath_overrides_runpath=no 16298 hardcode_into_libs=yes 16299 dynamic_linker='ldqnx.so' 16300 ;; 16301 16302openbsd* | bitrig*) 16303 version_type=sunos 16304 sys_lib_dlsearch_path_spec=/usr/lib 16305 need_lib_prefix=no 16306 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 16307 need_version=no 16308 else 16309 need_version=yes 16310 fi 16311 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16312 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16313 shlibpath_var=LD_LIBRARY_PATH 16314 shlibpath_overrides_runpath=yes 16315 ;; 16316 16317os2*) 16318 libname_spec='$name' 16319 version_type=windows 16320 shrext_cmds=.dll 16321 need_version=no 16322 need_lib_prefix=no 16323 # OS/2 can only load a DLL with a base name of 8 characters or less. 16324 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 16325 v=$($ECHO $release$versuffix | tr -d .-); 16326 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 16327 $ECHO $n$v`$shared_ext' 16328 library_names_spec='${libname}_dll.$libext' 16329 dynamic_linker='OS/2 ld.exe' 16330 shlibpath_var=BEGINLIBPATH 16331 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 16332 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16333 postinstall_cmds='base_file=`basename \$file`~ 16334 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 16335 dldir=$destdir/`dirname \$dlpath`~ 16336 test -d \$dldir || mkdir -p \$dldir~ 16337 $install_prog $dir/$dlname \$dldir/$dlname~ 16338 chmod a+x \$dldir/$dlname~ 16339 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16340 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16341 fi' 16342 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 16343 dlpath=$dir/\$dldll~ 16344 $RM \$dlpath' 16345 ;; 16346 16347osf3* | osf4* | osf5*) 16348 version_type=osf 16349 need_lib_prefix=no 16350 need_version=no 16351 soname_spec='$libname$release$shared_ext$major' 16352 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16353 shlibpath_var=LD_LIBRARY_PATH 16354 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16355 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16356 ;; 16357 16358rdos*) 16359 dynamic_linker=no 16360 ;; 16361 16362solaris*) 16363 version_type=linux # correct to gnu/linux during the next big refactor 16364 need_lib_prefix=no 16365 need_version=no 16366 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16367 soname_spec='$libname$release$shared_ext$major' 16368 shlibpath_var=LD_LIBRARY_PATH 16369 shlibpath_overrides_runpath=yes 16370 hardcode_into_libs=yes 16371 # ldd complains unless libraries are executable 16372 postinstall_cmds='chmod +x $lib' 16373 ;; 16374 16375sunos4*) 16376 version_type=sunos 16377 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16378 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16379 shlibpath_var=LD_LIBRARY_PATH 16380 shlibpath_overrides_runpath=yes 16381 if test yes = "$with_gnu_ld"; then 16382 need_lib_prefix=no 16383 fi 16384 need_version=yes 16385 ;; 16386 16387sysv4 | sysv4.3*) 16388 version_type=linux # correct to gnu/linux during the next big refactor 16389 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16390 soname_spec='$libname$release$shared_ext$major' 16391 shlibpath_var=LD_LIBRARY_PATH 16392 case $host_vendor in 16393 sni) 16394 shlibpath_overrides_runpath=no 16395 need_lib_prefix=no 16396 runpath_var=LD_RUN_PATH 16397 ;; 16398 siemens) 16399 need_lib_prefix=no 16400 ;; 16401 motorola) 16402 need_lib_prefix=no 16403 need_version=no 16404 shlibpath_overrides_runpath=no 16405 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16406 ;; 16407 esac 16408 ;; 16409 16410sysv4*MP*) 16411 if test -d /usr/nec; then 16412 version_type=linux # correct to gnu/linux during the next big refactor 16413 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 16414 soname_spec='$libname$shared_ext.$major' 16415 shlibpath_var=LD_LIBRARY_PATH 16416 fi 16417 ;; 16418 16419sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16420 version_type=sco 16421 need_lib_prefix=no 16422 need_version=no 16423 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 16424 soname_spec='$libname$release$shared_ext$major' 16425 shlibpath_var=LD_LIBRARY_PATH 16426 shlibpath_overrides_runpath=yes 16427 hardcode_into_libs=yes 16428 if test yes = "$with_gnu_ld"; then 16429 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16430 else 16431 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16432 case $host_os in 16433 sco3.2v5*) 16434 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16435 ;; 16436 esac 16437 fi 16438 sys_lib_dlsearch_path_spec='/usr/lib' 16439 ;; 16440 16441tpf*) 16442 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16443 version_type=linux # correct to gnu/linux during the next big refactor 16444 need_lib_prefix=no 16445 need_version=no 16446 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16447 shlibpath_var=LD_LIBRARY_PATH 16448 shlibpath_overrides_runpath=no 16449 hardcode_into_libs=yes 16450 ;; 16451 16452uts4*) 16453 version_type=linux # correct to gnu/linux during the next big refactor 16454 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16455 soname_spec='$libname$release$shared_ext$major' 16456 shlibpath_var=LD_LIBRARY_PATH 16457 ;; 16458 16459*) 16460 dynamic_linker=no 16461 ;; 16462esac 16463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16464$as_echo "$dynamic_linker" >&6; } 16465test no = "$dynamic_linker" && can_build_shared=no 16466 16467variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16468if test yes = "$GCC"; then 16469 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16470fi 16471 16472if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16473 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16474fi 16475 16476if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16477 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16478fi 16479 16480# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16481configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16482 16483# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16484func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16485 16486# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16487configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16529$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16530hardcode_action_CXX= 16531if test -n "$hardcode_libdir_flag_spec_CXX" || 16532 test -n "$runpath_var_CXX" || 16533 test yes = "$hardcode_automatic_CXX"; then 16534 16535 # We can hardcode non-existent directories. 16536 if test no != "$hardcode_direct_CXX" && 16537 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16538 # have to relink, otherwise we might link with an installed library 16539 # when we should be linking with a yet-to-be-installed one 16540 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 16541 test no != "$hardcode_minus_L_CXX"; then 16542 # Linking always hardcodes the temporary library directory. 16543 hardcode_action_CXX=relink 16544 else 16545 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16546 hardcode_action_CXX=immediate 16547 fi 16548else 16549 # We cannot hardcode anything, or else we can only hardcode existing 16550 # directories. 16551 hardcode_action_CXX=unsupported 16552fi 16553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16554$as_echo "$hardcode_action_CXX" >&6; } 16555 16556if test relink = "$hardcode_action_CXX" || 16557 test yes = "$inherit_rpath_CXX"; then 16558 # Fast installation is not supported 16559 enable_fast_install=no 16560elif test yes = "$shlibpath_overrides_runpath" || 16561 test no = "$enable_shared"; then 16562 # Fast installation is not necessary 16563 enable_fast_install=needless 16564fi 16565 16566 16567 16568 16569 16570 16571 16572 fi # test -n "$compiler" 16573 16574 CC=$lt_save_CC 16575 CFLAGS=$lt_save_CFLAGS 16576 LDCXX=$LD 16577 LD=$lt_save_LD 16578 GCC=$lt_save_GCC 16579 with_gnu_ld=$lt_save_with_gnu_ld 16580 lt_cv_path_LDCXX=$lt_cv_path_LD 16581 lt_cv_path_LD=$lt_save_path_LD 16582 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 16583 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 16584fi # test yes != "$_lt_caught_CXX_error" 16585 16586ac_ext=c 16587ac_cpp='$CPP $CPPFLAGS' 16588ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16589ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16590ac_compiler_gnu=$ac_cv_c_compiler_gnu 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 ac_config_commands="$ac_config_commands libtool" 16607 16608 16609 16610 16611# Only expand once: 16612 16613 16614 16615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Windows host" >&5 16616$as_echo_n "checking for native Windows host... " >&6; } 16617case $host_os in #( 16618 mingw*) : 16619 gtkmm_host_windows=yes ;; #( 16620 *) : 16621 gtkmm_host_windows=no ;; 16622esac 16623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtkmm_host_windows" >&5 16624$as_echo "$gtkmm_host_windows" >&6; } 16625 if test "x$gtkmm_host_windows" = xyes; then 16626 HOST_WINDOWS_NATIVE_TRUE= 16627 HOST_WINDOWS_NATIVE_FALSE='#' 16628else 16629 HOST_WINDOWS_NATIVE_TRUE='#' 16630 HOST_WINDOWS_NATIVE_FALSE= 16631fi 16632 16633 16634# TODO: What exactly does this do? If both static and shared libraries 16635# are built, both builds will have this macro defined! 16636if test "x$enable_static" = xyes; then : 16637 16638$as_echo "#define GTKMM_STATIC_LIB 1" >>confdefs.h 16639 16640fi 16641 16642# gdkmm really does need GTK+, because part of Gdk::DragContext is in GTK+. 16643GDKMM_MODULES='giomm-2.4 >= 2.27.93 pangomm-1.4 >= 2.27.1 gtk+-2.0 >= 2.24.0' 16644 16645 16646if test "x$gtkmm_host_windows" = xyes; then : 16647 GTKMM_MODULES=$GDKMM_MODULES 16648else 16649 GTKMM_MODULES="$GDKMM_MODULES gtk+-unix-print-2.0" 16650fi 16651 16652# Offer the ability to omit some API from the library, to reduce the code size. 16653# Note that there are other options in glibmm, which affect gtkmm. 16654 16655 # Check whether --enable-api-atkmm was given. 16656if test "${enable_api_atkmm+set}" = set; then : 16657 enableval=$enable_api_atkmm; gtkmm_enable_api_atkmm="$enableval" 16658else 16659 gtkmm_enable_api_atkmm='yes' 16660fi 16661 16662 16663 if test "x$gtkmm_enable_api_atkmm" = "xyes"; then 16664 { 16665 16666$as_echo "#define GTKMM_ATKMM_ENABLED 1" >>confdefs.h 16667 16668 } 16669 fi 16670 16671 16672if test "x$gtkmm_enable_api_atkmm" != xno; then : 16673 GTKMM_MODULES="atkmm-1.6 >= 2.22.2 $GTKMM_MODULES" 16674fi 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 16685 if test -n "$ac_tool_prefix"; then 16686 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 16687set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 16688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16689$as_echo_n "checking for $ac_word... " >&6; } 16690if ${ac_cv_path_PKG_CONFIG+:} false; then : 16691 $as_echo_n "(cached) " >&6 16692else 16693 case $PKG_CONFIG in 16694 [\\/]* | ?:[\\/]*) 16695 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 16696 ;; 16697 *) 16698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16699for as_dir in $PATH 16700do 16701 IFS=$as_save_IFS 16702 test -z "$as_dir" && as_dir=. 16703 for ac_exec_ext in '' $ac_executable_extensions; do 16704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16705 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16707 break 2 16708 fi 16709done 16710 done 16711IFS=$as_save_IFS 16712 16713 ;; 16714esac 16715fi 16716PKG_CONFIG=$ac_cv_path_PKG_CONFIG 16717if test -n "$PKG_CONFIG"; then 16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 16719$as_echo "$PKG_CONFIG" >&6; } 16720else 16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16722$as_echo "no" >&6; } 16723fi 16724 16725 16726fi 16727if test -z "$ac_cv_path_PKG_CONFIG"; then 16728 ac_pt_PKG_CONFIG=$PKG_CONFIG 16729 # Extract the first word of "pkg-config", so it can be a program name with args. 16730set dummy pkg-config; ac_word=$2 16731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16732$as_echo_n "checking for $ac_word... " >&6; } 16733if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 16734 $as_echo_n "(cached) " >&6 16735else 16736 case $ac_pt_PKG_CONFIG in 16737 [\\/]* | ?:[\\/]*) 16738 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 16739 ;; 16740 *) 16741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16742for as_dir in $PATH 16743do 16744 IFS=$as_save_IFS 16745 test -z "$as_dir" && as_dir=. 16746 for ac_exec_ext in '' $ac_executable_extensions; do 16747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16748 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16750 break 2 16751 fi 16752done 16753 done 16754IFS=$as_save_IFS 16755 16756 ;; 16757esac 16758fi 16759ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 16760if test -n "$ac_pt_PKG_CONFIG"; then 16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 16762$as_echo "$ac_pt_PKG_CONFIG" >&6; } 16763else 16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16765$as_echo "no" >&6; } 16766fi 16767 16768 if test "x$ac_pt_PKG_CONFIG" = x; then 16769 PKG_CONFIG="" 16770 else 16771 case $cross_compiling:$ac_tool_warned in 16772yes:) 16773{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16774$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16775ac_tool_warned=yes ;; 16776esac 16777 PKG_CONFIG=$ac_pt_PKG_CONFIG 16778 fi 16779else 16780 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 16781fi 16782 16783fi 16784if test -n "$PKG_CONFIG"; then 16785 _pkg_min_version=0.9.0 16786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 16787$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 16788 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16790$as_echo "yes" >&6; } 16791 else 16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16793$as_echo "no" >&6; } 16794 PKG_CONFIG="" 16795 fi 16796fi 16797 16798pkg_failed=no 16799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDKMM" >&5 16800$as_echo_n "checking for GDKMM... " >&6; } 16801 16802if test -n "$GDKMM_CFLAGS"; then 16803 pkg_cv_GDKMM_CFLAGS="$GDKMM_CFLAGS" 16804 elif test -n "$PKG_CONFIG"; then 16805 if test -n "$PKG_CONFIG" && \ 16806 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GDKMM_MODULES\""; } >&5 16807 ($PKG_CONFIG --exists --print-errors "$GDKMM_MODULES") 2>&5 16808 ac_status=$? 16809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16810 test $ac_status = 0; }; then 16811 pkg_cv_GDKMM_CFLAGS=`$PKG_CONFIG --cflags "$GDKMM_MODULES" 2>/dev/null` 16812 test "x$?" != "x0" && pkg_failed=yes 16813else 16814 pkg_failed=yes 16815fi 16816 else 16817 pkg_failed=untried 16818fi 16819if test -n "$GDKMM_LIBS"; then 16820 pkg_cv_GDKMM_LIBS="$GDKMM_LIBS" 16821 elif test -n "$PKG_CONFIG"; then 16822 if test -n "$PKG_CONFIG" && \ 16823 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GDKMM_MODULES\""; } >&5 16824 ($PKG_CONFIG --exists --print-errors "$GDKMM_MODULES") 2>&5 16825 ac_status=$? 16826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16827 test $ac_status = 0; }; then 16828 pkg_cv_GDKMM_LIBS=`$PKG_CONFIG --libs "$GDKMM_MODULES" 2>/dev/null` 16829 test "x$?" != "x0" && pkg_failed=yes 16830else 16831 pkg_failed=yes 16832fi 16833 else 16834 pkg_failed=untried 16835fi 16836 16837 16838 16839if test $pkg_failed = yes; then 16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16841$as_echo "no" >&6; } 16842 16843if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16844 _pkg_short_errors_supported=yes 16845else 16846 _pkg_short_errors_supported=no 16847fi 16848 if test $_pkg_short_errors_supported = yes; then 16849 GDKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GDKMM_MODULES" 2>&1` 16850 else 16851 GDKMM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GDKMM_MODULES" 2>&1` 16852 fi 16853 # Put the nasty error message in config.log where it belongs 16854 echo "$GDKMM_PKG_ERRORS" >&5 16855 16856 as_fn_error $? "Package requirements ($GDKMM_MODULES) were not met: 16857 16858$GDKMM_PKG_ERRORS 16859 16860Consider adjusting the PKG_CONFIG_PATH environment variable if you 16861installed software in a non-standard prefix. 16862 16863Alternatively, you may set the environment variables GDKMM_CFLAGS 16864and GDKMM_LIBS to avoid the need to call pkg-config. 16865See the pkg-config man page for more details." "$LINENO" 5 16866elif test $pkg_failed = untried; then 16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16868$as_echo "no" >&6; } 16869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16870$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16871as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16872is in your PATH or set the PKG_CONFIG environment variable to the full 16873path to pkg-config. 16874 16875Alternatively, you may set the environment variables GDKMM_CFLAGS 16876and GDKMM_LIBS to avoid the need to call pkg-config. 16877See the pkg-config man page for more details. 16878 16879To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16880See \`config.log' for more details" "$LINENO" 5; } 16881else 16882 GDKMM_CFLAGS=$pkg_cv_GDKMM_CFLAGS 16883 GDKMM_LIBS=$pkg_cv_GDKMM_LIBS 16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16885$as_echo "yes" >&6; } 16886 16887fi 16888 16889pkg_failed=no 16890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMM" >&5 16891$as_echo_n "checking for GTKMM... " >&6; } 16892 16893if test -n "$GTKMM_CFLAGS"; then 16894 pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS" 16895 elif test -n "$PKG_CONFIG"; then 16896 if test -n "$PKG_CONFIG" && \ 16897 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GTKMM_MODULES\""; } >&5 16898 ($PKG_CONFIG --exists --print-errors "$GTKMM_MODULES") 2>&5 16899 ac_status=$? 16900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16901 test $ac_status = 0; }; then 16902 pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "$GTKMM_MODULES" 2>/dev/null` 16903 test "x$?" != "x0" && pkg_failed=yes 16904else 16905 pkg_failed=yes 16906fi 16907 else 16908 pkg_failed=untried 16909fi 16910if test -n "$GTKMM_LIBS"; then 16911 pkg_cv_GTKMM_LIBS="$GTKMM_LIBS" 16912 elif test -n "$PKG_CONFIG"; then 16913 if test -n "$PKG_CONFIG" && \ 16914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GTKMM_MODULES\""; } >&5 16915 ($PKG_CONFIG --exists --print-errors "$GTKMM_MODULES") 2>&5 16916 ac_status=$? 16917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16918 test $ac_status = 0; }; then 16919 pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "$GTKMM_MODULES" 2>/dev/null` 16920 test "x$?" != "x0" && pkg_failed=yes 16921else 16922 pkg_failed=yes 16923fi 16924 else 16925 pkg_failed=untried 16926fi 16927 16928 16929 16930if test $pkg_failed = yes; then 16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16932$as_echo "no" >&6; } 16933 16934if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16935 _pkg_short_errors_supported=yes 16936else 16937 _pkg_short_errors_supported=no 16938fi 16939 if test $_pkg_short_errors_supported = yes; then 16940 GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GTKMM_MODULES" 2>&1` 16941 else 16942 GTKMM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GTKMM_MODULES" 2>&1` 16943 fi 16944 # Put the nasty error message in config.log where it belongs 16945 echo "$GTKMM_PKG_ERRORS" >&5 16946 16947 as_fn_error $? "Package requirements ($GTKMM_MODULES) were not met: 16948 16949$GTKMM_PKG_ERRORS 16950 16951Consider adjusting the PKG_CONFIG_PATH environment variable if you 16952installed software in a non-standard prefix. 16953 16954Alternatively, you may set the environment variables GTKMM_CFLAGS 16955and GTKMM_LIBS to avoid the need to call pkg-config. 16956See the pkg-config man page for more details." "$LINENO" 5 16957elif test $pkg_failed = untried; then 16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16959$as_echo "no" >&6; } 16960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16961$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16962as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16963is in your PATH or set the PKG_CONFIG environment variable to the full 16964path to pkg-config. 16965 16966Alternatively, you may set the environment variables GTKMM_CFLAGS 16967and GTKMM_LIBS to avoid the need to call pkg-config. 16968See the pkg-config man page for more details. 16969 16970To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16971See \`config.log' for more details" "$LINENO" 5; } 16972else 16973 GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS 16974 GTKMM_LIBS=$pkg_cv_GTKMM_LIBS 16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16976$as_echo "yes" >&6; } 16977 16978fi 16979 16980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD_CFLAGS" >&5 16981$as_echo_n "checking for GTHREAD_CFLAGS... " >&6; } 16982if test -z "${GTHREAD_CFLAGS+set}"; then : 16983 GTHREAD_CFLAGS=`$PKG_CONFIG --cflags-only-other gthread-2.0 2>&5` 16984 if test "$?" -eq 0; then : 16985 16986fi 16987fi 16988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_CFLAGS" >&5 16989$as_echo "$GTHREAD_CFLAGS" >&6; } 16990 16991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD_LIBS" >&5 16992$as_echo_n "checking for GTHREAD_LIBS... " >&6; } 16993if test -z "${GTHREAD_LIBS+set}"; then : 16994 GTHREAD_LIBS=`$PKG_CONFIG --libs gthread-2.0 2>&5` 16995 if test "$?" -eq 0; then : 16996 16997fi 16998fi 16999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_LIBS" >&5 17000$as_echo "$GTHREAD_LIBS" >&6; } 17001 17002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMMPROC_DIR" >&5 17003$as_echo_n "checking for GMMPROC_DIR... " >&6; } 17004if test -z "${GMMPROC_DIR+set}"; then : 17005 GMMPROC_DIR=`$PKG_CONFIG --variable=gmmprocdir glibmm-2.4 2>&5` 17006 if test "$?" -eq 0; then : 17007 17008fi 17009fi 17010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMMPROC_DIR" >&5 17011$as_echo "$GMMPROC_DIR" >&6; } 17012 17013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMMPROC_EXTRA_M4_DIR" >&5 17014$as_echo_n "checking for GMMPROC_EXTRA_M4_DIR... " >&6; } 17015if test -z "${GMMPROC_EXTRA_M4_DIR+set}"; then : 17016 GMMPROC_EXTRA_M4_DIR=`$PKG_CONFIG --variable=gmmprocm4dir pangomm-1.4 atkmm-1.6 2>&5` 17017 if test "$?" -eq 0; then : 17018 17019fi 17020fi 17021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMMPROC_EXTRA_M4_DIR" >&5 17022$as_echo "$GMMPROC_EXTRA_M4_DIR" >&6; } 17023 17024 17025 17026 # Check whether --enable-api-maemo-extensions was given. 17027if test "${enable_api_maemo_extensions+set}" = set; then : 17028 enableval=$enable_api_maemo_extensions; gtkmm_enable_api_maemo_extensions="$enableval" 17029else 17030 gtkmm_enable_api_maemo_extensions='no' 17031fi 17032 17033 17034 if test "x$gtkmm_enable_api_maemo_extensions" = "xyes"; then 17035 { 17036 17037$as_echo "#define GTKMM_MAEMO_EXTENSIONS_ENABLED 1" >>confdefs.h 17038 17039 } 17040 fi 17041 17042# Check whether --enable-deprecated-api was given. 17043if test "${enable_deprecated_api+set}" = set; then : 17044 enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval 17045else 17046 mm_enable_deprecated_api=yes 17047fi 17048if test "x$mm_enable_deprecated_api" = xno; then : 17049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility. 17050Do not use this option for distribution packages." >&5 17051$as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility. 17052Do not use this option for distribution packages." >&2;} 17053else 17054 { $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5 17055$as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;} 17056fi 17057 if test "x$mm_enable_deprecated_api" = xno; then 17058 DISABLE_DEPRECATED_API_TRUE= 17059 DISABLE_DEPRECATED_API_FALSE='#' 17060else 17061 DISABLE_DEPRECATED_API_TRUE='#' 17062 DISABLE_DEPRECATED_API_FALSE= 17063fi 17064 17065if test "x$mm_enable_deprecated_api" = xno; then : 17066 17067$as_echo "#define GDKMM_DISABLE_DEPRECATED 1" >>confdefs.h 17068 17069 17070$as_echo "#define GTKMM_DISABLE_DEPRECATED 1" >>confdefs.h 17071 17072 17073fi 17074 17075# Extract the first word of "perl", so it can be a program name with args. 17076set dummy perl; ac_word=$2 17077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17078$as_echo_n "checking for $ac_word... " >&6; } 17079if ${ac_cv_path_PERL+:} false; then : 17080 $as_echo_n "(cached) " >&6 17081else 17082 case $PERL in 17083 [\\/]* | ?:[\\/]*) 17084 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 17085 ;; 17086 *) 17087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17088for as_dir in $PATH 17089do 17090 IFS=$as_save_IFS 17091 test -z "$as_dir" && as_dir=. 17092 for ac_exec_ext in '' $ac_executable_extensions; do 17093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17094 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 17095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17096 break 2 17097 fi 17098done 17099 done 17100IFS=$as_save_IFS 17101 17102 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl" 17103 ;; 17104esac 17105fi 17106PERL=$ac_cv_path_PERL 17107if test -n "$PERL"; then 17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 17109$as_echo "$PERL" >&6; } 17110else 17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17112$as_echo "no" >&6; } 17113fi 17114 17115 17116 17117# Extract the first word of "dot", so it can be a program name with args. 17118set dummy dot; ac_word=$2 17119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17120$as_echo_n "checking for $ac_word... " >&6; } 17121if ${ac_cv_path_DOT+:} false; then : 17122 $as_echo_n "(cached) " >&6 17123else 17124 case $DOT in 17125 [\\/]* | ?:[\\/]*) 17126 ac_cv_path_DOT="$DOT" # Let the user override the test with a path. 17127 ;; 17128 *) 17129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17130for as_dir in $PATH 17131do 17132 IFS=$as_save_IFS 17133 test -z "$as_dir" && as_dir=. 17134 for ac_exec_ext in '' $ac_executable_extensions; do 17135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17136 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" 17137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17138 break 2 17139 fi 17140done 17141 done 17142IFS=$as_save_IFS 17143 17144 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot" 17145 ;; 17146esac 17147fi 17148DOT=$ac_cv_path_DOT 17149if test -n "$DOT"; then 17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5 17151$as_echo "$DOT" >&6; } 17152else 17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17154$as_echo "no" >&6; } 17155fi 17156 17157 17158# Extract the first word of "doxygen", so it can be a program name with args. 17159set dummy doxygen; ac_word=$2 17160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17161$as_echo_n "checking for $ac_word... " >&6; } 17162if ${ac_cv_path_DOXYGEN+:} false; then : 17163 $as_echo_n "(cached) " >&6 17164else 17165 case $DOXYGEN in 17166 [\\/]* | ?:[\\/]*) 17167 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. 17168 ;; 17169 *) 17170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17171for as_dir in $PATH 17172do 17173 IFS=$as_save_IFS 17174 test -z "$as_dir" && as_dir=. 17175 for ac_exec_ext in '' $ac_executable_extensions; do 17176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17177 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 17178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17179 break 2 17180 fi 17181done 17182 done 17183IFS=$as_save_IFS 17184 17185 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen" 17186 ;; 17187esac 17188fi 17189DOXYGEN=$ac_cv_path_DOXYGEN 17190if test -n "$DOXYGEN"; then 17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 17192$as_echo "$DOXYGEN" >&6; } 17193else 17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17195$as_echo "no" >&6; } 17196fi 17197 17198 17199# Extract the first word of "xsltproc", so it can be a program name with args. 17200set dummy xsltproc; ac_word=$2 17201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17202$as_echo_n "checking for $ac_word... " >&6; } 17203if ${ac_cv_path_XSLTPROC+:} false; then : 17204 $as_echo_n "(cached) " >&6 17205else 17206 case $XSLTPROC in 17207 [\\/]* | ?:[\\/]*) 17208 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. 17209 ;; 17210 *) 17211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17212for as_dir in $PATH 17213do 17214 IFS=$as_save_IFS 17215 test -z "$as_dir" && as_dir=. 17216 for ac_exec_ext in '' $ac_executable_extensions; do 17217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17218 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" 17219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17220 break 2 17221 fi 17222done 17223 done 17224IFS=$as_save_IFS 17225 17226 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc" 17227 ;; 17228esac 17229fi 17230XSLTPROC=$ac_cv_path_XSLTPROC 17231if test -n "$XSLTPROC"; then 17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 17233$as_echo "$XSLTPROC" >&6; } 17234else 17235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17236$as_echo "no" >&6; } 17237fi 17238 17239 17240# Check whether --enable-documentation was given. 17241if test "${enable_documentation+set}" = set; then : 17242 enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval 17243else 17244 ENABLE_DOCUMENTATION=auto 17245fi 17246 17247if test "x$ENABLE_DOCUMENTATION" != xno; then : 17248 17249 mm_err= 17250 if test "x$MMDOCTOOLDIR" = x; then : 17251 mm_err='The mm-common-util module is available, but the installation of mm-common on this 17252machine is missing the shared documentation utilities of the GNOME C++ 17253bindings. It may be necessary to upgrade to a more recent release of 17254mm-common in order to build '$PACKAGE_NAME' and install the documentation.' 17255elif test "x$PERL" = xperl; then : 17256 mm_err='Perl is required for installing the documentation.' 17257elif test "x$USE_MAINTAINER_MODE" != xno; then : 17258 17259 test "x$DOT" != xdot || mm_err=' dot' 17260 test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen" 17261 test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc" 17262 test -z "$mm_err" || mm_err='The documentation cannot be generated because 17263not all of the required tools are available:'$mm_err 17264 17265fi 17266 if test -z "$mm_err"; then : 17267 ENABLE_DOCUMENTATION=yes 17268elif test "x$ENABLE_DOCUMENTATION" = xyes; then : 17269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17270$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17271as_fn_error $? "$mm_err 17272See \`config.log' for more details" "$LINENO" 5; } 17273else 17274 ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5 17275$as_echo "$as_me: WARNING: $mm_err" >&2;} 17276fi 17277 17278fi 17279 if test "x$ENABLE_DOCUMENTATION" = xyes; then 17280 ENABLE_DOCUMENTATION_TRUE= 17281 ENABLE_DOCUMENTATION_FALSE='#' 17282else 17283 ENABLE_DOCUMENTATION_TRUE='#' 17284 ENABLE_DOCUMENTATION_FALSE= 17285fi 17286 17287DOXYGEN_TAGFILES= 17288 17289DOCINSTALL_FLAGS= 17290 17291 17292if test "x$ENABLE_DOCUMENTATION" != xno; then : 17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5 17294$as_echo_n "checking for libstdc documentation... " >&6; } 17295 17296# Check whether --with-libstdc-doc was given. 17297if test "${with_libstdc_doc+set}" = set; then : 17298 withval=$with_libstdc_doc; 17299 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5` 17300 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5` 17301 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5` 17302 test "x$mm_tagname" != x || mm_tagname="libstdc++.tag" 17303 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname 17304else 17305 17306 mm_htmlrefdir= 17307 mm_tagname="libstdc++.tag" 17308 mm_tagpath=$mm_tagname 17309fi 17310 17311 # Prepend working direcory if the tag file path starts with ./ or ../ 17312 case $mm_tagpath in #( 17313 .[\\/]*|..[\\/]*) : 17314 mm_tagpath=`pwd`/$mm_tagpath ;; #( 17315 *) : 17316 ;; 17317esac 17318 17319 # If no local directory was specified, get the default from the .pc file 17320 if test "x$mm_htmlrefdir" = x; then : 17321 17322 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5` 17323fi 17324 # If the user specified a Web URL, allow it to override the public location 17325 case $mm_htmlrefdir in #( 17326 http://*|https://*) : 17327 mm_htmlrefpub=$mm_htmlrefdir ;; #( 17328 *) : 17329 17330 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5` 17331 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir 17332 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub 17333 ;; 17334esac 17335 # The user-supplied tag-file name takes precedence if it includes the path 17336 case $mm_tagpath in #( 17337 *[\\/]*) : 17338 ;; #( 17339 *) : 17340 17341 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5` 17342 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile 17343 ;; 17344esac 17345 # Remove trailing slashes and translate to URI 17346 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17347 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17348 17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5 17350$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; } 17351 17352 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then : 17353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5 17354$as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;} 17355fi 17356 if test "x$mm_htmlrefdir" = x; then : 17357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5 17358$as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;} 17359else 17360 if test "x$DOCINSTALL_FLAGS" = x; then : 17361 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'" 17362else 17363 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'" 17364fi 17365fi 17366 17367 if test "x$mm_htmlrefpub" = x; then : 17368 mm_val=$mm_tagpath 17369else 17370 mm_val="$mm_tagpath=$mm_htmlrefpub" 17371fi 17372 if test "x$DOXYGEN_TAGFILES" = x; then : 17373 DOXYGEN_TAGFILES=\"$mm_val\" 17374else 17375 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\" 17376fi 17377fi 17378if test "x$ENABLE_DOCUMENTATION" != xno; then : 17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigc documentation" >&5 17380$as_echo_n "checking for libsigc documentation... " >&6; } 17381 17382# Check whether --with-libsigc-doc was given. 17383if test "${with_libsigc_doc+set}" = set; then : 17384 withval=$with_libsigc_doc; 17385 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5` 17386 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5` 17387 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5` 17388 test "x$mm_tagname" != x || mm_tagname="libsigc++-2.0.tag" 17389 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname 17390else 17391 17392 mm_htmlrefdir= 17393 mm_tagname="libsigc++-2.0.tag" 17394 mm_tagpath=$mm_tagname 17395fi 17396 17397 # Prepend working direcory if the tag file path starts with ./ or ../ 17398 case $mm_tagpath in #( 17399 .[\\/]*|..[\\/]*) : 17400 mm_tagpath=`pwd`/$mm_tagpath ;; #( 17401 *) : 17402 ;; 17403esac 17404 17405 # If no local directory was specified, get the default from the .pc file 17406 if test "x$mm_htmlrefdir" = x; then : 17407 17408 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "sigc++-2.0" 2>&5` 17409fi 17410 # If the user specified a Web URL, allow it to override the public location 17411 case $mm_htmlrefdir in #( 17412 http://*|https://*) : 17413 mm_htmlrefpub=$mm_htmlrefdir ;; #( 17414 *) : 17415 17416 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "sigc++-2.0" 2>&5` 17417 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir 17418 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub 17419 ;; 17420esac 17421 # The user-supplied tag-file name takes precedence if it includes the path 17422 case $mm_tagpath in #( 17423 *[\\/]*) : 17424 ;; #( 17425 *) : 17426 17427 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "sigc++-2.0" 2>&5` 17428 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile 17429 ;; 17430esac 17431 # Remove trailing slashes and translate to URI 17432 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17433 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17434 17435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5 17436$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; } 17437 17438 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then : 17439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&5 17440$as_echo "$as_me: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&2;} 17441fi 17442 if test "x$mm_htmlrefdir" = x; then : 17443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libsigc documentation not set" >&5 17444$as_echo "$as_me: WARNING: Location of external libsigc documentation not set" >&2;} 17445else 17446 if test "x$DOCINSTALL_FLAGS" = x; then : 17447 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'" 17448else 17449 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'" 17450fi 17451fi 17452 17453 if test "x$mm_htmlrefpub" = x; then : 17454 mm_val=$mm_tagpath 17455else 17456 mm_val="$mm_tagpath=$mm_htmlrefpub" 17457fi 17458 if test "x$DOXYGEN_TAGFILES" = x; then : 17459 DOXYGEN_TAGFILES=\"$mm_val\" 17460else 17461 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\" 17462fi 17463fi 17464if test "x$ENABLE_DOCUMENTATION" != xno; then : 17465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibmm documentation" >&5 17466$as_echo_n "checking for glibmm documentation... " >&6; } 17467 17468# Check whether --with-glibmm-doc was given. 17469if test "${with_glibmm_doc+set}" = set; then : 17470 withval=$with_glibmm_doc; 17471 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5` 17472 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5` 17473 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5` 17474 test "x$mm_tagname" != x || mm_tagname="glibmm-2.4.tag" 17475 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname 17476else 17477 17478 mm_htmlrefdir= 17479 mm_tagname="glibmm-2.4.tag" 17480 mm_tagpath=$mm_tagname 17481fi 17482 17483 # Prepend working direcory if the tag file path starts with ./ or ../ 17484 case $mm_tagpath in #( 17485 .[\\/]*|..[\\/]*) : 17486 mm_tagpath=`pwd`/$mm_tagpath ;; #( 17487 *) : 17488 ;; 17489esac 17490 17491 # If no local directory was specified, get the default from the .pc file 17492 if test "x$mm_htmlrefdir" = x; then : 17493 17494 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "glibmm-2.4" 2>&5` 17495fi 17496 # If the user specified a Web URL, allow it to override the public location 17497 case $mm_htmlrefdir in #( 17498 http://*|https://*) : 17499 mm_htmlrefpub=$mm_htmlrefdir ;; #( 17500 *) : 17501 17502 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "glibmm-2.4" 2>&5` 17503 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir 17504 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub 17505 ;; 17506esac 17507 # The user-supplied tag-file name takes precedence if it includes the path 17508 case $mm_tagpath in #( 17509 *[\\/]*) : 17510 ;; #( 17511 *) : 17512 17513 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "glibmm-2.4" 2>&5` 17514 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile 17515 ;; 17516esac 17517 # Remove trailing slashes and translate to URI 17518 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17519 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17520 17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5 17522$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; } 17523 17524 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then : 17525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&5 17526$as_echo "$as_me: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&2;} 17527fi 17528 if test "x$mm_htmlrefdir" = x; then : 17529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external glibmm documentation not set" >&5 17530$as_echo "$as_me: WARNING: Location of external glibmm documentation not set" >&2;} 17531else 17532 if test "x$DOCINSTALL_FLAGS" = x; then : 17533 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'" 17534else 17535 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'" 17536fi 17537fi 17538 17539 if test "x$mm_htmlrefpub" = x; then : 17540 mm_val=$mm_tagpath 17541else 17542 mm_val="$mm_tagpath=$mm_htmlrefpub" 17543fi 17544 if test "x$DOXYGEN_TAGFILES" = x; then : 17545 DOXYGEN_TAGFILES=\"$mm_val\" 17546else 17547 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\" 17548fi 17549fi 17550if test "x$ENABLE_DOCUMENTATION" != xno; then : 17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairomm documentation" >&5 17552$as_echo_n "checking for cairomm documentation... " >&6; } 17553 17554# Check whether --with-cairomm-doc was given. 17555if test "${with_cairomm_doc+set}" = set; then : 17556 withval=$with_cairomm_doc; 17557 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5` 17558 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5` 17559 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5` 17560 test "x$mm_tagname" != x || mm_tagname="cairomm-1.0.tag" 17561 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname 17562else 17563 17564 mm_htmlrefdir= 17565 mm_tagname="cairomm-1.0.tag" 17566 mm_tagpath=$mm_tagname 17567fi 17568 17569 # Prepend working direcory if the tag file path starts with ./ or ../ 17570 case $mm_tagpath in #( 17571 .[\\/]*|..[\\/]*) : 17572 mm_tagpath=`pwd`/$mm_tagpath ;; #( 17573 *) : 17574 ;; 17575esac 17576 17577 # If no local directory was specified, get the default from the .pc file 17578 if test "x$mm_htmlrefdir" = x; then : 17579 17580 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "cairomm-1.0" 2>&5` 17581fi 17582 # If the user specified a Web URL, allow it to override the public location 17583 case $mm_htmlrefdir in #( 17584 http://*|https://*) : 17585 mm_htmlrefpub=$mm_htmlrefdir ;; #( 17586 *) : 17587 17588 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "cairomm-1.0" 2>&5` 17589 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir 17590 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub 17591 ;; 17592esac 17593 # The user-supplied tag-file name takes precedence if it includes the path 17594 case $mm_tagpath in #( 17595 *[\\/]*) : 17596 ;; #( 17597 *) : 17598 17599 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "cairomm-1.0" 2>&5` 17600 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile 17601 ;; 17602esac 17603 # Remove trailing slashes and translate to URI 17604 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17605 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17606 17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5 17608$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; } 17609 17610 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then : 17611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file cairomm-1.0.tag not found" >&5 17612$as_echo "$as_me: WARNING: Doxygen tag file cairomm-1.0.tag not found" >&2;} 17613fi 17614 if test "x$mm_htmlrefdir" = x; then : 17615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external cairomm documentation not set" >&5 17616$as_echo "$as_me: WARNING: Location of external cairomm documentation not set" >&2;} 17617else 17618 if test "x$DOCINSTALL_FLAGS" = x; then : 17619 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'" 17620else 17621 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'" 17622fi 17623fi 17624 17625 if test "x$mm_htmlrefpub" = x; then : 17626 mm_val=$mm_tagpath 17627else 17628 mm_val="$mm_tagpath=$mm_htmlrefpub" 17629fi 17630 if test "x$DOXYGEN_TAGFILES" = x; then : 17631 DOXYGEN_TAGFILES=\"$mm_val\" 17632else 17633 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\" 17634fi 17635fi 17636if test "x$ENABLE_DOCUMENTATION" != xno; then : 17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pangomm documentation" >&5 17638$as_echo_n "checking for pangomm documentation... " >&6; } 17639 17640# Check whether --with-pangomm-doc was given. 17641if test "${with_pangomm_doc+set}" = set; then : 17642 withval=$with_pangomm_doc; 17643 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5` 17644 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5` 17645 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5` 17646 test "x$mm_tagname" != x || mm_tagname="pangomm-1.4.tag" 17647 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname 17648else 17649 17650 mm_htmlrefdir= 17651 mm_tagname="pangomm-1.4.tag" 17652 mm_tagpath=$mm_tagname 17653fi 17654 17655 # Prepend working direcory if the tag file path starts with ./ or ../ 17656 case $mm_tagpath in #( 17657 .[\\/]*|..[\\/]*) : 17658 mm_tagpath=`pwd`/$mm_tagpath ;; #( 17659 *) : 17660 ;; 17661esac 17662 17663 # If no local directory was specified, get the default from the .pc file 17664 if test "x$mm_htmlrefdir" = x; then : 17665 17666 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "pangomm-1.4" 2>&5` 17667fi 17668 # If the user specified a Web URL, allow it to override the public location 17669 case $mm_htmlrefdir in #( 17670 http://*|https://*) : 17671 mm_htmlrefpub=$mm_htmlrefdir ;; #( 17672 *) : 17673 17674 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "pangomm-1.4" 2>&5` 17675 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir 17676 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub 17677 ;; 17678esac 17679 # The user-supplied tag-file name takes precedence if it includes the path 17680 case $mm_tagpath in #( 17681 *[\\/]*) : 17682 ;; #( 17683 *) : 17684 17685 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "pangomm-1.4" 2>&5` 17686 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile 17687 ;; 17688esac 17689 # Remove trailing slashes and translate to URI 17690 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17691 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17692 17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5 17694$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; } 17695 17696 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then : 17697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file pangomm-1.4.tag not found" >&5 17698$as_echo "$as_me: WARNING: Doxygen tag file pangomm-1.4.tag not found" >&2;} 17699fi 17700 if test "x$mm_htmlrefdir" = x; then : 17701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external pangomm documentation not set" >&5 17702$as_echo "$as_me: WARNING: Location of external pangomm documentation not set" >&2;} 17703else 17704 if test "x$DOCINSTALL_FLAGS" = x; then : 17705 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'" 17706else 17707 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'" 17708fi 17709fi 17710 17711 if test "x$mm_htmlrefpub" = x; then : 17712 mm_val=$mm_tagpath 17713else 17714 mm_val="$mm_tagpath=$mm_htmlrefpub" 17715fi 17716 if test "x$DOXYGEN_TAGFILES" = x; then : 17717 DOXYGEN_TAGFILES=\"$mm_val\" 17718else 17719 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\" 17720fi 17721fi 17722if test "x$ENABLE_DOCUMENTATION" != xno; then : 17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atkmm documentation" >&5 17724$as_echo_n "checking for atkmm documentation... " >&6; } 17725 17726# Check whether --with-atkmm-doc was given. 17727if test "${with_atkmm_doc+set}" = set; then : 17728 withval=$with_atkmm_doc; 17729 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5` 17730 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5` 17731 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5` 17732 test "x$mm_tagname" != x || mm_tagname="atkmm-1.6.tag" 17733 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname 17734else 17735 17736 mm_htmlrefdir= 17737 mm_tagname="atkmm-1.6.tag" 17738 mm_tagpath=$mm_tagname 17739fi 17740 17741 # Prepend working direcory if the tag file path starts with ./ or ../ 17742 case $mm_tagpath in #( 17743 .[\\/]*|..[\\/]*) : 17744 mm_tagpath=`pwd`/$mm_tagpath ;; #( 17745 *) : 17746 ;; 17747esac 17748 17749 # If no local directory was specified, get the default from the .pc file 17750 if test "x$mm_htmlrefdir" = x; then : 17751 17752 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "atkmm-1.6" 2>&5` 17753fi 17754 # If the user specified a Web URL, allow it to override the public location 17755 case $mm_htmlrefdir in #( 17756 http://*|https://*) : 17757 mm_htmlrefpub=$mm_htmlrefdir ;; #( 17758 *) : 17759 17760 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "atkmm-1.6" 2>&5` 17761 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir 17762 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub 17763 ;; 17764esac 17765 # The user-supplied tag-file name takes precedence if it includes the path 17766 case $mm_tagpath in #( 17767 *[\\/]*) : 17768 ;; #( 17769 *) : 17770 17771 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "atkmm-1.6" 2>&5` 17772 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile 17773 ;; 17774esac 17775 # Remove trailing slashes and translate to URI 17776 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17777 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5` 17778 17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5 17780$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; } 17781 17782 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then : 17783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file atkmm-1.6.tag not found" >&5 17784$as_echo "$as_me: WARNING: Doxygen tag file atkmm-1.6.tag not found" >&2;} 17785fi 17786 if test "x$mm_htmlrefdir" = x; then : 17787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external atkmm documentation not set" >&5 17788$as_echo "$as_me: WARNING: Location of external atkmm documentation not set" >&2;} 17789else 17790 if test "x$DOCINSTALL_FLAGS" = x; then : 17791 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'" 17792else 17793 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'" 17794fi 17795fi 17796 17797 if test "x$mm_htmlrefpub" = x; then : 17798 mm_val=$mm_tagpath 17799else 17800 mm_val="$mm_tagpath=$mm_htmlrefpub" 17801fi 17802 if test "x$DOXYGEN_TAGFILES" = x; then : 17803 DOXYGEN_TAGFILES=\"$mm_val\" 17804else 17805 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\" 17806fi 17807fi 17808 17809ac_ext=cpp 17810ac_cpp='$CXXCPP $CPPFLAGS' 17811ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17812ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17813ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17814 17815for ac_func in flockfile funlockfile getc_unlocked mkfifo 17816do : 17817 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17818ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" 17819if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 17820 cat >>confdefs.h <<_ACEOF 17821#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17822_ACEOF 17823 17824fi 17825done 17826 17827 17828# Evaluate the --enable-warnings=level option. 17829# Check whether --enable-warnings was given. 17830if test "${enable_warnings+set}" = set; then : 17831 enableval=$enable_warnings; mm_enable_warnings=$enableval 17832else 17833 mm_enable_warnings=min 17834fi 17835 17836case $ac_compile in #( 17837 *'$CXXFLAGS '*) : 17838 mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #( 17839 *'$CFLAGS '*) : 17840 mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #( 17841 *) : 17842 as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;; 17843esac 17844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5 17845$as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; } 17846mm_deprecation_flags= 17847mm_tested_flags= 17848case $mm_enable_warnings in #( 17849 no) : 17850 mm_warning_flags= ;; #( 17851 max) : 17852 mm_warning_flags="-pedantic -Wall -Wextra -Wno-long-long -DGSEAL_ENABLE" ;; #( 17853 fatal) : 17854 mm_warning_flags="-pedantic -Wall -Wextra -Wno-long-long -DGSEAL_ENABLE -Werror" 17855 for mm_prefix in G PANGO ATK GDK GDK_PIXBUF GTK GLIBMM ATKMM PANGOMM CAIROMM 17856 do 17857 mm_deprecation_flags="$mm_deprecation_flags-D${mm_prefix}_DISABLE_DEPRECATED " 17858 done ;; #( 17859 *) : 17860 mm_warning_flags="-Wall" ;; 17861esac 17862if test "x$mm_warning_flags" != x; then : 17863 17864 # Keep in mind that the dummy source must be devoid of any 17865 # problems that might cause diagnostics. 17866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17867/* end confdefs.h. */ 17868 17869int main(int argc, char** argv) { return !argv ? 0 : argc; } 17870 17871_ACEOF 17872 for mm_flag in $mm_warning_flags 17873 do 17874 # Test whether the compiler accepts the flag. Look at standard output, 17875 # since GCC only shows a warning message if an option is not supported. 17876 mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed` 17877 rm -f "conftest.${OBJEXT-o}" 17878 17879 if test "x$mm_cc_out" = x; then : 17880 if test "x$mm_tested_flags" = x; then : 17881 mm_tested_flags=$mm_flag 17882else 17883 mm_tested_flags="$mm_tested_flags $mm_flag" 17884fi 17885else 17886 cat <<_MMEOF >&5 17887$mm_cc: $mm_cc_out 17888_MMEOF 17889 17890fi 17891 done 17892 rm -f "$mm_conftest" 17893 17894fi 17895mm_all_flags=$mm_deprecation_flags$mm_tested_flags 17896GTKMM_WXXFLAGS=$mm_all_flags 17897 17898test "x$mm_all_flags" != x || mm_all_flags=none 17899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5 17900$as_echo "$mm_all_flags" >&6; } 17901 17902ac_config_files="$ac_config_files Makefile tools/Makefile gdk/${GDKMM_MODULE_NAME}.pc:gdk/gdkmm.pc.in gdk/${GDKMM_MODULE_NAME}-uninstalled.pc:gdk/gdkmm-uninstalled.pc.in gdk/src/Makefile gdk/gdkmm/Makefile gtk/${GTKMM_MODULE_NAME}.pc:gtk/gtkmm.pc.in gtk/${GTKMM_MODULE_NAME}-uninstalled.pc:gtk/gtkmm-uninstalled.pc.in gtk/src/Makefile gtk/gtkmm/Makefile tests/Makefile demos/Makefile docs/Makefile docs/reference/Doxyfile MSVC_Net2005/gdkmm/gdkmm.rc MSVC_Net2005/gtkmm/gtkmm.rc MSVC_Net2008/gdkmm/gdkmm.rc MSVC_Net2008/gtkmm/gtkmm.rc MSVC_Net2010/gdkmm/gdkmm.rc MSVC_Net2010/gtkmm/gtkmm.rc win32_installer/gtkmm-installer.nsi" 17903 17904 17905# Copy the generated configuration headers into the MSVC project directories. 17906ac_config_commands="$ac_config_commands MSVC_Net2005/gdkmm/gdkmmconfig.h" 17907 17908ac_config_commands="$ac_config_commands MSVC_Net2005/gtkmm/gtkmmconfig.h" 17909 17910ac_config_commands="$ac_config_commands MSVC_Net2008/gdkmm/gdkmmconfig.h" 17911 17912ac_config_commands="$ac_config_commands MSVC_Net2008/gtkmm/gtkmmconfig.h" 17913 17914ac_config_commands="$ac_config_commands MSVC_Net2010/gdkmm/gdkmmconfig.h" 17915 17916ac_config_commands="$ac_config_commands MSVC_Net2010/gtkmm/gtkmmconfig.h" 17917 17918ac_config_commands="$ac_config_commands win32_installer/lgpl.txt" 17919 17920cat >confcache <<\_ACEOF 17921# This file is a shell script that caches the results of configure 17922# tests run on this system so they can be shared between configure 17923# scripts and configure runs, see configure's option --config-cache. 17924# It is not useful on other systems. If it contains results you don't 17925# want to keep, you may remove or edit it. 17926# 17927# config.status only pays attention to the cache file if you give it 17928# the --recheck option to rerun configure. 17929# 17930# `ac_cv_env_foo' variables (set or unset) will be overridden when 17931# loading this file, other *unset* `ac_cv_foo' will be assigned the 17932# following values. 17933 17934_ACEOF 17935 17936# The following way of writing the cache mishandles newlines in values, 17937# but we know of no workaround that is simple, portable, and efficient. 17938# So, we kill variables containing newlines. 17939# Ultrix sh set writes to stderr and can't be redirected directly, 17940# and sets the high bit in the cache file unless we assign to the vars. 17941( 17942 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 17943 eval ac_val=\$$ac_var 17944 case $ac_val in #( 17945 *${as_nl}*) 17946 case $ac_var in #( 17947 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17948$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17949 esac 17950 case $ac_var in #( 17951 _ | IFS | as_nl) ;; #( 17952 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17953 *) { eval $ac_var=; unset $ac_var;} ;; 17954 esac ;; 17955 esac 17956 done 17957 17958 (set) 2>&1 | 17959 case $as_nl`(ac_space=' '; set) 2>&1` in #( 17960 *${as_nl}ac_space=\ *) 17961 # `set' does not quote correctly, so add quotes: double-quote 17962 # substitution turns \\\\ into \\, and sed turns \\ into \. 17963 sed -n \ 17964 "s/'/'\\\\''/g; 17965 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 17966 ;; #( 17967 *) 17968 # `set' quotes correctly as required by POSIX, so do not add quotes. 17969 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 17970 ;; 17971 esac | 17972 sort 17973) | 17974 sed ' 17975 /^ac_cv_env_/b end 17976 t clear 17977 :clear 17978 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 17979 t end 17980 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 17981 :end' >>confcache 17982if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 17983 if test -w "$cache_file"; then 17984 if test "x$cache_file" != "x/dev/null"; then 17985 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 17986$as_echo "$as_me: updating cache $cache_file" >&6;} 17987 if test ! -f "$cache_file" || test -h "$cache_file"; then 17988 cat confcache >"$cache_file" 17989 else 17990 case $cache_file in #( 17991 */* | ?:*) 17992 mv -f confcache "$cache_file"$$ && 17993 mv -f "$cache_file"$$ "$cache_file" ;; #( 17994 *) 17995 mv -f confcache "$cache_file" ;; 17996 esac 17997 fi 17998 fi 17999 else 18000 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 18001$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 18002 fi 18003fi 18004rm -f confcache 18005 18006test "x$prefix" = xNONE && prefix=$ac_default_prefix 18007# Let make expand exec_prefix. 18008test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 18009 18010DEFS=-DHAVE_CONFIG_H 18011 18012ac_libobjs= 18013ac_ltlibobjs= 18014U= 18015for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 18016 # 1. Remove the extension, and $U if already installed. 18017 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 18018 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 18019 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 18020 # will be set to the directory where LIBOBJS objects are built. 18021 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 18022 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 18023done 18024LIBOBJS=$ac_libobjs 18025 18026LTLIBOBJS=$ac_ltlibobjs 18027 18028 18029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 18030$as_echo_n "checking that generated files are newer than configure... " >&6; } 18031 if test -n "$am_sleep_pid"; then 18032 # Hide warnings about reused PIDs. 18033 wait $am_sleep_pid 2>/dev/null 18034 fi 18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 18036$as_echo "done" >&6; } 18037 if test -n "$EXEEXT"; then 18038 am__EXEEXT_TRUE= 18039 am__EXEEXT_FALSE='#' 18040else 18041 am__EXEEXT_TRUE='#' 18042 am__EXEEXT_FALSE= 18043fi 18044 18045if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 18046 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 18047Usually this means the macro was only invoked conditionally." "$LINENO" 5 18048fi 18049if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then 18050 as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined. 18051Usually this means the macro was only invoked conditionally." "$LINENO" 5 18052fi 18053if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 18054 as_fn_error $? "conditional \"AMDEP\" was never defined. 18055Usually this means the macro was only invoked conditionally." "$LINENO" 5 18056fi 18057if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 18058 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 18059Usually this means the macro was only invoked conditionally." "$LINENO" 5 18060fi 18061if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 18062 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 18063Usually this means the macro was only invoked conditionally." "$LINENO" 5 18064fi 18065if test -z "${HOST_WINDOWS_NATIVE_TRUE}" && test -z "${HOST_WINDOWS_NATIVE_FALSE}"; then 18066 as_fn_error $? "conditional \"HOST_WINDOWS_NATIVE\" was never defined. 18067Usually this means the macro was only invoked conditionally." "$LINENO" 5 18068fi 18069if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then 18070 as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined. 18071Usually this means the macro was only invoked conditionally." "$LINENO" 5 18072fi 18073if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then 18074 as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined. 18075Usually this means the macro was only invoked conditionally." "$LINENO" 5 18076fi 18077 18078: "${CONFIG_STATUS=./config.status}" 18079ac_write_fail=0 18080ac_clean_files_save=$ac_clean_files 18081ac_clean_files="$ac_clean_files $CONFIG_STATUS" 18082{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 18083$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 18084as_write_fail=0 18085cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 18086#! $SHELL 18087# Generated by $as_me. 18088# Run this file to recreate the current configuration. 18089# Compiler output produced by configure, useful for debugging 18090# configure, is in config.log if it exists. 18091 18092debug=false 18093ac_cs_recheck=false 18094ac_cs_silent=false 18095 18096SHELL=\${CONFIG_SHELL-$SHELL} 18097export SHELL 18098_ASEOF 18099cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 18100## -------------------- ## 18101## M4sh Initialization. ## 18102## -------------------- ## 18103 18104# Be more Bourne compatible 18105DUALCASE=1; export DUALCASE # for MKS sh 18106if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18107 emulate sh 18108 NULLCMD=: 18109 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 18110 # is contrary to our usage. Disable this feature. 18111 alias -g '${1+"$@"}'='"$@"' 18112 setopt NO_GLOB_SUBST 18113else 18114 case `(set -o) 2>/dev/null` in #( 18115 *posix*) : 18116 set -o posix ;; #( 18117 *) : 18118 ;; 18119esac 18120fi 18121 18122 18123as_nl=' 18124' 18125export as_nl 18126# Printing a long string crashes Solaris 7 /usr/bin/printf. 18127as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 18128as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 18129as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 18130# Prefer a ksh shell builtin over an external printf program on Solaris, 18131# but without wasting forks for bash or zsh. 18132if test -z "$BASH_VERSION$ZSH_VERSION" \ 18133 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 18134 as_echo='print -r --' 18135 as_echo_n='print -rn --' 18136elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 18137 as_echo='printf %s\n' 18138 as_echo_n='printf %s' 18139else 18140 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 18141 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 18142 as_echo_n='/usr/ucb/echo -n' 18143 else 18144 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 18145 as_echo_n_body='eval 18146 arg=$1; 18147 case $arg in #( 18148 *"$as_nl"*) 18149 expr "X$arg" : "X\\(.*\\)$as_nl"; 18150 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 18151 esac; 18152 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 18153 ' 18154 export as_echo_n_body 18155 as_echo_n='sh -c $as_echo_n_body as_echo' 18156 fi 18157 export as_echo_body 18158 as_echo='sh -c $as_echo_body as_echo' 18159fi 18160 18161# The user is always right. 18162if test "${PATH_SEPARATOR+set}" != set; then 18163 PATH_SEPARATOR=: 18164 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 18165 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 18166 PATH_SEPARATOR=';' 18167 } 18168fi 18169 18170 18171# IFS 18172# We need space, tab and new line, in precisely that order. Quoting is 18173# there to prevent editors from complaining about space-tab. 18174# (If _AS_PATH_WALK were called with IFS unset, it would disable word 18175# splitting by setting IFS to empty value.) 18176IFS=" "" $as_nl" 18177 18178# Find who we are. Look in the path if we contain no directory separator. 18179as_myself= 18180case $0 in #(( 18181 *[\\/]* ) as_myself=$0 ;; 18182 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18183for as_dir in $PATH 18184do 18185 IFS=$as_save_IFS 18186 test -z "$as_dir" && as_dir=. 18187 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 18188 done 18189IFS=$as_save_IFS 18190 18191 ;; 18192esac 18193# We did not find ourselves, most probably we were run as `sh COMMAND' 18194# in which case we are not to be found in the path. 18195if test "x$as_myself" = x; then 18196 as_myself=$0 18197fi 18198if test ! -f "$as_myself"; then 18199 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 18200 exit 1 18201fi 18202 18203# Unset variables that we do not need and which cause bugs (e.g. in 18204# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 18205# suppresses any "Segmentation fault" message there. '((' could 18206# trigger a bug in pdksh 5.2.14. 18207for as_var in BASH_ENV ENV MAIL MAILPATH 18208do eval test x\${$as_var+set} = xset \ 18209 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 18210done 18211PS1='$ ' 18212PS2='> ' 18213PS4='+ ' 18214 18215# NLS nuisances. 18216LC_ALL=C 18217export LC_ALL 18218LANGUAGE=C 18219export LANGUAGE 18220 18221# CDPATH. 18222(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 18223 18224 18225# as_fn_error STATUS ERROR [LINENO LOG_FD] 18226# ---------------------------------------- 18227# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 18228# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 18229# script with STATUS, using 1 if that was 0. 18230as_fn_error () 18231{ 18232 as_status=$1; test $as_status -eq 0 && as_status=1 18233 if test "$4"; then 18234 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 18235 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 18236 fi 18237 $as_echo "$as_me: error: $2" >&2 18238 as_fn_exit $as_status 18239} # as_fn_error 18240 18241 18242# as_fn_set_status STATUS 18243# ----------------------- 18244# Set $? to STATUS, without forking. 18245as_fn_set_status () 18246{ 18247 return $1 18248} # as_fn_set_status 18249 18250# as_fn_exit STATUS 18251# ----------------- 18252# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 18253as_fn_exit () 18254{ 18255 set +e 18256 as_fn_set_status $1 18257 exit $1 18258} # as_fn_exit 18259 18260# as_fn_unset VAR 18261# --------------- 18262# Portably unset VAR. 18263as_fn_unset () 18264{ 18265 { eval $1=; unset $1;} 18266} 18267as_unset=as_fn_unset 18268# as_fn_append VAR VALUE 18269# ---------------------- 18270# Append the text in VALUE to the end of the definition contained in VAR. Take 18271# advantage of any shell optimizations that allow amortized linear growth over 18272# repeated appends, instead of the typical quadratic growth present in naive 18273# implementations. 18274if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 18275 eval 'as_fn_append () 18276 { 18277 eval $1+=\$2 18278 }' 18279else 18280 as_fn_append () 18281 { 18282 eval $1=\$$1\$2 18283 } 18284fi # as_fn_append 18285 18286# as_fn_arith ARG... 18287# ------------------ 18288# Perform arithmetic evaluation on the ARGs, and store the result in the 18289# global $as_val. Take advantage of shells that can avoid forks. The arguments 18290# must be portable across $(()) and expr. 18291if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 18292 eval 'as_fn_arith () 18293 { 18294 as_val=$(( $* )) 18295 }' 18296else 18297 as_fn_arith () 18298 { 18299 as_val=`expr "$@" || test $? -eq 1` 18300 } 18301fi # as_fn_arith 18302 18303 18304if expr a : '\(a\)' >/dev/null 2>&1 && 18305 test "X`expr 00001 : '.*\(...\)'`" = X001; then 18306 as_expr=expr 18307else 18308 as_expr=false 18309fi 18310 18311if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 18312 as_basename=basename 18313else 18314 as_basename=false 18315fi 18316 18317if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 18318 as_dirname=dirname 18319else 18320 as_dirname=false 18321fi 18322 18323as_me=`$as_basename -- "$0" || 18324$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 18325 X"$0" : 'X\(//\)$' \| \ 18326 X"$0" : 'X\(/\)' \| . 2>/dev/null || 18327$as_echo X/"$0" | 18328 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18329 s//\1/ 18330 q 18331 } 18332 /^X\/\(\/\/\)$/{ 18333 s//\1/ 18334 q 18335 } 18336 /^X\/\(\/\).*/{ 18337 s//\1/ 18338 q 18339 } 18340 s/.*/./; q'` 18341 18342# Avoid depending upon Character Ranges. 18343as_cr_letters='abcdefghijklmnopqrstuvwxyz' 18344as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 18345as_cr_Letters=$as_cr_letters$as_cr_LETTERS 18346as_cr_digits='0123456789' 18347as_cr_alnum=$as_cr_Letters$as_cr_digits 18348 18349ECHO_C= ECHO_N= ECHO_T= 18350case `echo -n x` in #((((( 18351-n*) 18352 case `echo 'xy\c'` in 18353 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 18354 xy) ECHO_C='\c';; 18355 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 18356 ECHO_T=' ';; 18357 esac;; 18358*) 18359 ECHO_N='-n';; 18360esac 18361 18362rm -f conf$$ conf$$.exe conf$$.file 18363if test -d conf$$.dir; then 18364 rm -f conf$$.dir/conf$$.file 18365else 18366 rm -f conf$$.dir 18367 mkdir conf$$.dir 2>/dev/null 18368fi 18369if (echo >conf$$.file) 2>/dev/null; then 18370 if ln -s conf$$.file conf$$ 2>/dev/null; then 18371 as_ln_s='ln -s' 18372 # ... but there are two gotchas: 18373 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 18374 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 18375 # In both cases, we have to default to `cp -pR'. 18376 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 18377 as_ln_s='cp -pR' 18378 elif ln conf$$.file conf$$ 2>/dev/null; then 18379 as_ln_s=ln 18380 else 18381 as_ln_s='cp -pR' 18382 fi 18383else 18384 as_ln_s='cp -pR' 18385fi 18386rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 18387rmdir conf$$.dir 2>/dev/null 18388 18389 18390# as_fn_mkdir_p 18391# ------------- 18392# Create "$as_dir" as a directory, including parents if necessary. 18393as_fn_mkdir_p () 18394{ 18395 18396 case $as_dir in #( 18397 -*) as_dir=./$as_dir;; 18398 esac 18399 test -d "$as_dir" || eval $as_mkdir_p || { 18400 as_dirs= 18401 while :; do 18402 case $as_dir in #( 18403 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 18404 *) as_qdir=$as_dir;; 18405 esac 18406 as_dirs="'$as_qdir' $as_dirs" 18407 as_dir=`$as_dirname -- "$as_dir" || 18408$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18409 X"$as_dir" : 'X\(//\)[^/]' \| \ 18410 X"$as_dir" : 'X\(//\)$' \| \ 18411 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 18412$as_echo X"$as_dir" | 18413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18414 s//\1/ 18415 q 18416 } 18417 /^X\(\/\/\)[^/].*/{ 18418 s//\1/ 18419 q 18420 } 18421 /^X\(\/\/\)$/{ 18422 s//\1/ 18423 q 18424 } 18425 /^X\(\/\).*/{ 18426 s//\1/ 18427 q 18428 } 18429 s/.*/./; q'` 18430 test -d "$as_dir" && break 18431 done 18432 test -z "$as_dirs" || eval "mkdir $as_dirs" 18433 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 18434 18435 18436} # as_fn_mkdir_p 18437if mkdir -p . 2>/dev/null; then 18438 as_mkdir_p='mkdir -p "$as_dir"' 18439else 18440 test -d ./-p && rmdir ./-p 18441 as_mkdir_p=false 18442fi 18443 18444 18445# as_fn_executable_p FILE 18446# ----------------------- 18447# Test if FILE is an executable regular file. 18448as_fn_executable_p () 18449{ 18450 test -f "$1" && test -x "$1" 18451} # as_fn_executable_p 18452as_test_x='test -x' 18453as_executable_p=as_fn_executable_p 18454 18455# Sed expression to map a string onto a valid CPP name. 18456as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 18457 18458# Sed expression to map a string onto a valid variable name. 18459as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 18460 18461 18462exec 6>&1 18463## ----------------------------------- ## 18464## Main body of $CONFIG_STATUS script. ## 18465## ----------------------------------- ## 18466_ASEOF 18467test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 18468 18469cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18470# Save the log message, to keep $0 and so on meaningful, and to 18471# report actual input values of CONFIG_FILES etc. instead of their 18472# values after options handling. 18473ac_log=" 18474This file was extended by gtkmm $as_me 2.24.5, which was 18475generated by GNU Autoconf 2.69. Invocation command line was 18476 18477 CONFIG_FILES = $CONFIG_FILES 18478 CONFIG_HEADERS = $CONFIG_HEADERS 18479 CONFIG_LINKS = $CONFIG_LINKS 18480 CONFIG_COMMANDS = $CONFIG_COMMANDS 18481 $ $0 $@ 18482 18483on `(hostname || uname -n) 2>/dev/null | sed 1q` 18484" 18485 18486_ACEOF 18487 18488case $ac_config_files in *" 18489"*) set x $ac_config_files; shift; ac_config_files=$*;; 18490esac 18491 18492case $ac_config_headers in *" 18493"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 18494esac 18495 18496 18497cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18498# Files that config.status was made for. 18499config_files="$ac_config_files" 18500config_headers="$ac_config_headers" 18501config_commands="$ac_config_commands" 18502 18503_ACEOF 18504 18505cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18506ac_cs_usage="\ 18507\`$as_me' instantiates files and other configuration actions 18508from templates according to the current configuration. Unless the files 18509and actions are specified as TAGs, all are instantiated by default. 18510 18511Usage: $0 [OPTION]... [TAG]... 18512 18513 -h, --help print this help, then exit 18514 -V, --version print version number and configuration settings, then exit 18515 --config print configuration, then exit 18516 -q, --quiet, --silent 18517 do not print progress messages 18518 -d, --debug don't remove temporary files 18519 --recheck update $as_me by reconfiguring in the same conditions 18520 --file=FILE[:TEMPLATE] 18521 instantiate the configuration file FILE 18522 --header=FILE[:TEMPLATE] 18523 instantiate the configuration header FILE 18524 18525Configuration files: 18526$config_files 18527 18528Configuration headers: 18529$config_headers 18530 18531Configuration commands: 18532$config_commands 18533 18534Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtkmm>. 18535gtkmm home page: <http://www.gtkmm.org/>." 18536 18537_ACEOF 18538cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18539ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 18540ac_cs_version="\\ 18541gtkmm config.status 2.24.5 18542configured by $0, generated by GNU Autoconf 2.69, 18543 with options \\"\$ac_cs_config\\" 18544 18545Copyright (C) 2012 Free Software Foundation, Inc. 18546This config.status script is free software; the Free Software Foundation 18547gives unlimited permission to copy, distribute and modify it." 18548 18549ac_pwd='$ac_pwd' 18550srcdir='$srcdir' 18551INSTALL='$INSTALL' 18552MKDIR_P='$MKDIR_P' 18553AWK='$AWK' 18554test -n "\$AWK" || AWK=awk 18555_ACEOF 18556 18557cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18558# The default lists apply if the user does not specify any file. 18559ac_need_defaults=: 18560while test $# != 0 18561do 18562 case $1 in 18563 --*=?*) 18564 ac_option=`expr "X$1" : 'X\([^=]*\)='` 18565 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 18566 ac_shift=: 18567 ;; 18568 --*=) 18569 ac_option=`expr "X$1" : 'X\([^=]*\)='` 18570 ac_optarg= 18571 ac_shift=: 18572 ;; 18573 *) 18574 ac_option=$1 18575 ac_optarg=$2 18576 ac_shift=shift 18577 ;; 18578 esac 18579 18580 case $ac_option in 18581 # Handling of the options. 18582 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 18583 ac_cs_recheck=: ;; 18584 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 18585 $as_echo "$ac_cs_version"; exit ;; 18586 --config | --confi | --conf | --con | --co | --c ) 18587 $as_echo "$ac_cs_config"; exit ;; 18588 --debug | --debu | --deb | --de | --d | -d ) 18589 debug=: ;; 18590 --file | --fil | --fi | --f ) 18591 $ac_shift 18592 case $ac_optarg in 18593 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18594 '') as_fn_error $? "missing file argument" ;; 18595 esac 18596 as_fn_append CONFIG_FILES " '$ac_optarg'" 18597 ac_need_defaults=false;; 18598 --header | --heade | --head | --hea ) 18599 $ac_shift 18600 case $ac_optarg in 18601 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18602 esac 18603 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 18604 ac_need_defaults=false;; 18605 --he | --h) 18606 # Conflict between --help and --header 18607 as_fn_error $? "ambiguous option: \`$1' 18608Try \`$0 --help' for more information.";; 18609 --help | --hel | -h ) 18610 $as_echo "$ac_cs_usage"; exit ;; 18611 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 18612 | -silent | --silent | --silen | --sile | --sil | --si | --s) 18613 ac_cs_silent=: ;; 18614 18615 # This is an error. 18616 -*) as_fn_error $? "unrecognized option: \`$1' 18617Try \`$0 --help' for more information." ;; 18618 18619 *) as_fn_append ac_config_targets " $1" 18620 ac_need_defaults=false ;; 18621 18622 esac 18623 shift 18624done 18625 18626ac_configure_extra_args= 18627 18628if $ac_cs_silent; then 18629 exec 6>/dev/null 18630 ac_configure_extra_args="$ac_configure_extra_args --silent" 18631fi 18632 18633_ACEOF 18634cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18635if \$ac_cs_recheck; then 18636 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 18637 shift 18638 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 18639 CONFIG_SHELL='$SHELL' 18640 export CONFIG_SHELL 18641 exec "\$@" 18642fi 18643 18644_ACEOF 18645cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18646exec 5>>config.log 18647{ 18648 echo 18649 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 18650## Running $as_me. ## 18651_ASBOX 18652 $as_echo "$ac_log" 18653} >&5 18654 18655_ACEOF 18656cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18657# 18658# INIT-COMMANDS 18659# 18660AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 18661 18662 18663# The HP-UX ksh and POSIX shell print the target directory to stdout 18664# if CDPATH is set. 18665(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 18666 18667sed_quote_subst='$sed_quote_subst' 18668double_quote_subst='$double_quote_subst' 18669delay_variable_subst='$delay_variable_subst' 18670enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 18671AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 18672DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 18673OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 18674macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 18675macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 18676enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 18677pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 18678enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 18679shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 18680SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 18681ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 18682PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 18683host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 18684host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 18685host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 18686build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 18687build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 18688build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 18689SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 18690Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 18691GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 18692EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 18693FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 18694LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 18695NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 18696LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 18697max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 18698ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 18699exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 18700lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 18701lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 18702lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 18703lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 18704lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 18705reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 18706reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 18707deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 18708file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 18709file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 18710want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 18711sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 18712AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 18713AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 18714archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 18715STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 18716RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 18717old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18718old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18719old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 18720lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 18721CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 18722CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 18723compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 18724GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 18725lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 18726lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 18727lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 18728lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 18729lt_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"`' 18730lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 18731nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 18732lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 18733lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 18734objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 18735MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 18736lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 18737lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 18738lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 18739lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 18740lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 18741need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 18742MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 18743DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 18744NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 18745LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 18746OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 18747OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 18748libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 18749shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 18750extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18751archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 18752enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 18753export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 18754whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 18755compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 18756old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 18757old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18758archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 18759archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18760module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 18761module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18762with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 18763allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 18764no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 18765hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 18766hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 18767hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 18768hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 18769hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 18770hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 18771hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 18772inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 18773link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 18774always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 18775export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 18776exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 18777include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 18778prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 18779postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 18780file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 18781variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 18782need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 18783need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 18784version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 18785runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 18786shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 18787shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 18788libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 18789library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 18790soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 18791install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 18792postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18793postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18794finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 18795finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 18796hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 18797sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 18798configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 18799configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 18800hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 18801enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 18802enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 18803enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 18804old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 18805striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 18806compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 18807predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 18808postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 18809predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 18810postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 18811compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 18812LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 18813reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 18814reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18815old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18816compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 18817GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 18818lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 18819lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 18820lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 18821lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 18822lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 18823archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 18824enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 18825export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18826whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18827compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 18828old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18829old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18830archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18831archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18832module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18833module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18834with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 18835allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 18836no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 18837hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18838hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 18839hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 18840hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 18841hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 18842hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 18843hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 18844inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 18845link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 18846always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 18847export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18848exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 18849include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 18850prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18851postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18852file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 18853hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 18854compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 18855predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 18856postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 18857predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 18858postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 18859compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 18860 18861LTCC='$LTCC' 18862LTCFLAGS='$LTCFLAGS' 18863compiler='$compiler_DEFAULT' 18864 18865# A function that is used when there is no print builtin or printf. 18866func_fallback_echo () 18867{ 18868 eval 'cat <<_LTECHO_EOF 18869\$1 18870_LTECHO_EOF' 18871} 18872 18873# Quote evaled strings. 18874for var in AS \ 18875DLLTOOL \ 18876OBJDUMP \ 18877SHELL \ 18878ECHO \ 18879PATH_SEPARATOR \ 18880SED \ 18881GREP \ 18882EGREP \ 18883FGREP \ 18884LD \ 18885NM \ 18886LN_S \ 18887lt_SP2NL \ 18888lt_NL2SP \ 18889reload_flag \ 18890deplibs_check_method \ 18891file_magic_cmd \ 18892file_magic_glob \ 18893want_nocaseglob \ 18894sharedlib_from_linklib_cmd \ 18895AR \ 18896AR_FLAGS \ 18897archiver_list_spec \ 18898STRIP \ 18899RANLIB \ 18900CC \ 18901CFLAGS \ 18902compiler \ 18903lt_cv_sys_global_symbol_pipe \ 18904lt_cv_sys_global_symbol_to_cdecl \ 18905lt_cv_sys_global_symbol_to_import \ 18906lt_cv_sys_global_symbol_to_c_name_address \ 18907lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 18908lt_cv_nm_interface \ 18909nm_file_list_spec \ 18910lt_cv_truncate_bin \ 18911lt_prog_compiler_no_builtin_flag \ 18912lt_prog_compiler_pic \ 18913lt_prog_compiler_wl \ 18914lt_prog_compiler_static \ 18915lt_cv_prog_compiler_c_o \ 18916need_locks \ 18917MANIFEST_TOOL \ 18918DSYMUTIL \ 18919NMEDIT \ 18920LIPO \ 18921OTOOL \ 18922OTOOL64 \ 18923shrext_cmds \ 18924export_dynamic_flag_spec \ 18925whole_archive_flag_spec \ 18926compiler_needs_object \ 18927with_gnu_ld \ 18928allow_undefined_flag \ 18929no_undefined_flag \ 18930hardcode_libdir_flag_spec \ 18931hardcode_libdir_separator \ 18932exclude_expsyms \ 18933include_expsyms \ 18934file_list_spec \ 18935variables_saved_for_relink \ 18936libname_spec \ 18937library_names_spec \ 18938soname_spec \ 18939install_override_mode \ 18940finish_eval \ 18941old_striplib \ 18942striplib \ 18943compiler_lib_search_dirs \ 18944predep_objects \ 18945postdep_objects \ 18946predeps \ 18947postdeps \ 18948compiler_lib_search_path \ 18949LD_CXX \ 18950reload_flag_CXX \ 18951compiler_CXX \ 18952lt_prog_compiler_no_builtin_flag_CXX \ 18953lt_prog_compiler_pic_CXX \ 18954lt_prog_compiler_wl_CXX \ 18955lt_prog_compiler_static_CXX \ 18956lt_cv_prog_compiler_c_o_CXX \ 18957export_dynamic_flag_spec_CXX \ 18958whole_archive_flag_spec_CXX \ 18959compiler_needs_object_CXX \ 18960with_gnu_ld_CXX \ 18961allow_undefined_flag_CXX \ 18962no_undefined_flag_CXX \ 18963hardcode_libdir_flag_spec_CXX \ 18964hardcode_libdir_separator_CXX \ 18965exclude_expsyms_CXX \ 18966include_expsyms_CXX \ 18967file_list_spec_CXX \ 18968compiler_lib_search_dirs_CXX \ 18969predep_objects_CXX \ 18970postdep_objects_CXX \ 18971predeps_CXX \ 18972postdeps_CXX \ 18973compiler_lib_search_path_CXX; do 18974 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18975 *[\\\\\\\`\\"\\\$]*) 18976 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 18977 ;; 18978 *) 18979 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18980 ;; 18981 esac 18982done 18983 18984# Double-quote double-evaled strings. 18985for var in reload_cmds \ 18986old_postinstall_cmds \ 18987old_postuninstall_cmds \ 18988old_archive_cmds \ 18989extract_expsyms_cmds \ 18990old_archive_from_new_cmds \ 18991old_archive_from_expsyms_cmds \ 18992archive_cmds \ 18993archive_expsym_cmds \ 18994module_cmds \ 18995module_expsym_cmds \ 18996export_symbols_cmds \ 18997prelink_cmds \ 18998postlink_cmds \ 18999postinstall_cmds \ 19000postuninstall_cmds \ 19001finish_cmds \ 19002sys_lib_search_path_spec \ 19003configure_time_dlsearch_path \ 19004configure_time_lt_sys_library_path \ 19005reload_cmds_CXX \ 19006old_archive_cmds_CXX \ 19007old_archive_from_new_cmds_CXX \ 19008old_archive_from_expsyms_cmds_CXX \ 19009archive_cmds_CXX \ 19010archive_expsym_cmds_CXX \ 19011module_cmds_CXX \ 19012module_expsym_cmds_CXX \ 19013export_symbols_cmds_CXX \ 19014prelink_cmds_CXX \ 19015postlink_cmds_CXX; do 19016 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 19017 *[\\\\\\\`\\"\\\$]*) 19018 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 19019 ;; 19020 *) 19021 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19022 ;; 19023 esac 19024done 19025 19026ac_aux_dir='$ac_aux_dir' 19027 19028# See if we are running on zsh, and set the options that allow our 19029# commands through without removal of \ escapes INIT. 19030if test -n "\${ZSH_VERSION+set}"; then 19031 setopt NO_GLOB_SUBST 19032fi 19033 19034 19035 PACKAGE='$PACKAGE' 19036 VERSION='$VERSION' 19037 RM='$RM' 19038 ofile='$ofile' 19039 19040 19041 19042 19043 19044 19045_ACEOF 19046 19047cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19048 19049# Handling of arguments. 19050for ac_config_target in $ac_config_targets 19051do 19052 case $ac_config_target in 19053 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 19054 "gdk/gdkmmconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS gdk/gdkmmconfig.h" ;; 19055 "gtk/gtkmmconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS gtk/gtkmmconfig.h" ;; 19056 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 19057 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 19058 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 19059 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; 19060 "gdk/${GDKMM_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES gdk/${GDKMM_MODULE_NAME}.pc:gdk/gdkmm.pc.in" ;; 19061 "gdk/${GDKMM_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gdk/${GDKMM_MODULE_NAME}-uninstalled.pc:gdk/gdkmm-uninstalled.pc.in" ;; 19062 "gdk/src/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/src/Makefile" ;; 19063 "gdk/gdkmm/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/gdkmm/Makefile" ;; 19064 "gtk/${GTKMM_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES gtk/${GTKMM_MODULE_NAME}.pc:gtk/gtkmm.pc.in" ;; 19065 "gtk/${GTKMM_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gtk/${GTKMM_MODULE_NAME}-uninstalled.pc:gtk/gtkmm-uninstalled.pc.in" ;; 19066 "gtk/src/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/src/Makefile" ;; 19067 "gtk/gtkmm/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/gtkmm/Makefile" ;; 19068 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 19069 "demos/Makefile") CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;; 19070 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 19071 "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;; 19072 "MSVC_Net2005/gdkmm/gdkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/gdkmm/gdkmm.rc" ;; 19073 "MSVC_Net2005/gtkmm/gtkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/gtkmm/gtkmm.rc" ;; 19074 "MSVC_Net2008/gdkmm/gdkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2008/gdkmm/gdkmm.rc" ;; 19075 "MSVC_Net2008/gtkmm/gtkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2008/gtkmm/gtkmm.rc" ;; 19076 "MSVC_Net2010/gdkmm/gdkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2010/gdkmm/gdkmm.rc" ;; 19077 "MSVC_Net2010/gtkmm/gtkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2010/gtkmm/gtkmm.rc" ;; 19078 "win32_installer/gtkmm-installer.nsi") CONFIG_FILES="$CONFIG_FILES win32_installer/gtkmm-installer.nsi" ;; 19079 "MSVC_Net2005/gdkmm/gdkmmconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2005/gdkmm/gdkmmconfig.h" ;; 19080 "MSVC_Net2005/gtkmm/gtkmmconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2005/gtkmm/gtkmmconfig.h" ;; 19081 "MSVC_Net2008/gdkmm/gdkmmconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2008/gdkmm/gdkmmconfig.h" ;; 19082 "MSVC_Net2008/gtkmm/gtkmmconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2008/gtkmm/gtkmmconfig.h" ;; 19083 "MSVC_Net2010/gdkmm/gdkmmconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2010/gdkmm/gdkmmconfig.h" ;; 19084 "MSVC_Net2010/gtkmm/gtkmmconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2010/gtkmm/gtkmmconfig.h" ;; 19085 "win32_installer/lgpl.txt") CONFIG_COMMANDS="$CONFIG_COMMANDS win32_installer/lgpl.txt" ;; 19086 19087 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 19088 esac 19089done 19090 19091 19092# If the user did not use the arguments to specify the items to instantiate, 19093# then the envvar interface is used. Set only those that are not. 19094# We use the long form for the default assignment because of an extremely 19095# bizarre bug on SunOS 4.1.3. 19096if $ac_need_defaults; then 19097 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 19098 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 19099 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 19100fi 19101 19102# Have a temporary directory for convenience. Make it in the build tree 19103# simply because there is no reason against having it here, and in addition, 19104# creating and moving files from /tmp can sometimes cause problems. 19105# Hook for its removal unless debugging. 19106# Note that there is a small window in which the directory will not be cleaned: 19107# after its creation but before its name has been assigned to `$tmp'. 19108$debug || 19109{ 19110 tmp= ac_tmp= 19111 trap 'exit_status=$? 19112 : "${ac_tmp:=$tmp}" 19113 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 19114' 0 19115 trap 'as_fn_exit 1' 1 2 13 15 19116} 19117# Create a (secure) tmp directory for tmp files. 19118 19119{ 19120 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 19121 test -d "$tmp" 19122} || 19123{ 19124 tmp=./conf$$-$RANDOM 19125 (umask 077 && mkdir "$tmp") 19126} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 19127ac_tmp=$tmp 19128 19129# Set up the scripts for CONFIG_FILES section. 19130# No need to generate them if there are no CONFIG_FILES. 19131# This happens for instance with `./config.status config.h'. 19132if test -n "$CONFIG_FILES"; then 19133 19134 19135ac_cr=`echo X | tr X '\015'` 19136# On cygwin, bash can eat \r inside `` if the user requested igncr. 19137# But we know of no other shell where ac_cr would be empty at this 19138# point, so we can use a bashism as a fallback. 19139if test "x$ac_cr" = x; then 19140 eval ac_cr=\$\'\\r\' 19141fi 19142ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 19143if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 19144 ac_cs_awk_cr='\\r' 19145else 19146 ac_cs_awk_cr=$ac_cr 19147fi 19148 19149echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 19150_ACEOF 19151 19152 19153{ 19154 echo "cat >conf$$subs.awk <<_ACEOF" && 19155 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 19156 echo "_ACEOF" 19157} >conf$$subs.sh || 19158 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19159ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 19160ac_delim='%!_!# ' 19161for ac_last_try in false false false false false :; do 19162 . ./conf$$subs.sh || 19163 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19164 19165 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 19166 if test $ac_delim_n = $ac_delim_num; then 19167 break 19168 elif $ac_last_try; then 19169 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19170 else 19171 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 19172 fi 19173done 19174rm -f conf$$subs.sh 19175 19176cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19177cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 19178_ACEOF 19179sed -n ' 19180h 19181s/^/S["/; s/!.*/"]=/ 19182p 19183g 19184s/^[^!]*!// 19185:repl 19186t repl 19187s/'"$ac_delim"'$// 19188t delim 19189:nl 19190h 19191s/\(.\{148\}\)..*/\1/ 19192t more1 19193s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 19194p 19195n 19196b repl 19197:more1 19198s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 19199p 19200g 19201s/.\{148\}// 19202t nl 19203:delim 19204h 19205s/\(.\{148\}\)..*/\1/ 19206t more2 19207s/["\\]/\\&/g; s/^/"/; s/$/"/ 19208p 19209b 19210:more2 19211s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 19212p 19213g 19214s/.\{148\}// 19215t delim 19216' <conf$$subs.awk | sed ' 19217/^[^""]/{ 19218 N 19219 s/\n// 19220} 19221' >>$CONFIG_STATUS || ac_write_fail=1 19222rm -f conf$$subs.awk 19223cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19224_ACAWK 19225cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 19226 for (key in S) S_is_set[key] = 1 19227 FS = "" 19228 19229} 19230{ 19231 line = $ 0 19232 nfields = split(line, field, "@") 19233 substed = 0 19234 len = length(field[1]) 19235 for (i = 2; i < nfields; i++) { 19236 key = field[i] 19237 keylen = length(key) 19238 if (S_is_set[key]) { 19239 value = S[key] 19240 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 19241 len += length(value) + length(field[++i]) 19242 substed = 1 19243 } else 19244 len += 1 + keylen 19245 } 19246 19247 print line 19248} 19249 19250_ACAWK 19251_ACEOF 19252cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19253if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 19254 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 19255else 19256 cat 19257fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 19258 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 19259_ACEOF 19260 19261# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 19262# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 19263# trailing colons and then remove the whole line if VPATH becomes empty 19264# (actually we leave an empty line to preserve line numbers). 19265if test "x$srcdir" = x.; then 19266 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 19267h 19268s/// 19269s/^/:/ 19270s/[ ]*$/:/ 19271s/:\$(srcdir):/:/g 19272s/:\${srcdir}:/:/g 19273s/:@srcdir@:/:/g 19274s/^:*// 19275s/:*$// 19276x 19277s/\(=[ ]*\).*/\1/ 19278G 19279s/\n// 19280s/^[^=]*=[ ]*$// 19281}' 19282fi 19283 19284cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19285fi # test -n "$CONFIG_FILES" 19286 19287# Set up the scripts for CONFIG_HEADERS section. 19288# No need to generate them if there are no CONFIG_HEADERS. 19289# This happens for instance with `./config.status Makefile'. 19290if test -n "$CONFIG_HEADERS"; then 19291cat >"$ac_tmp/defines.awk" <<\_ACAWK || 19292BEGIN { 19293_ACEOF 19294 19295# Transform confdefs.h into an awk script `defines.awk', embedded as 19296# here-document in config.status, that substitutes the proper values into 19297# config.h.in to produce config.h. 19298 19299# Create a delimiter string that does not exist in confdefs.h, to ease 19300# handling of long lines. 19301ac_delim='%!_!# ' 19302for ac_last_try in false false :; do 19303 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 19304 if test -z "$ac_tt"; then 19305 break 19306 elif $ac_last_try; then 19307 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 19308 else 19309 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 19310 fi 19311done 19312 19313# For the awk script, D is an array of macro values keyed by name, 19314# likewise P contains macro parameters if any. Preserve backslash 19315# newline sequences. 19316 19317ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 19318sed -n ' 19319s/.\{148\}/&'"$ac_delim"'/g 19320t rset 19321:rset 19322s/^[ ]*#[ ]*define[ ][ ]*/ / 19323t def 19324d 19325:def 19326s/\\$// 19327t bsnl 19328s/["\\]/\\&/g 19329s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 19330D["\1"]=" \3"/p 19331s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 19332d 19333:bsnl 19334s/["\\]/\\&/g 19335s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 19336D["\1"]=" \3\\\\\\n"\\/p 19337t cont 19338s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 19339t cont 19340d 19341:cont 19342n 19343s/.\{148\}/&'"$ac_delim"'/g 19344t clear 19345:clear 19346s/\\$// 19347t bsnlc 19348s/["\\]/\\&/g; s/^/"/; s/$/"/p 19349d 19350:bsnlc 19351s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 19352b cont 19353' <confdefs.h | sed ' 19354s/'"$ac_delim"'/"\\\ 19355"/g' >>$CONFIG_STATUS || ac_write_fail=1 19356 19357cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19358 for (key in D) D_is_set[key] = 1 19359 FS = "" 19360} 19361/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 19362 line = \$ 0 19363 split(line, arg, " ") 19364 if (arg[1] == "#") { 19365 defundef = arg[2] 19366 mac1 = arg[3] 19367 } else { 19368 defundef = substr(arg[1], 2) 19369 mac1 = arg[2] 19370 } 19371 split(mac1, mac2, "(") #) 19372 macro = mac2[1] 19373 prefix = substr(line, 1, index(line, defundef) - 1) 19374 if (D_is_set[macro]) { 19375 # Preserve the white space surrounding the "#". 19376 print prefix "define", macro P[macro] D[macro] 19377 next 19378 } else { 19379 # Replace #undef with comments. This is necessary, for example, 19380 # in the case of _POSIX_SOURCE, which is predefined and required 19381 # on some systems where configure will not decide to define it. 19382 if (defundef == "undef") { 19383 print "/*", prefix defundef, macro, "*/" 19384 next 19385 } 19386 } 19387} 19388{ print } 19389_ACAWK 19390_ACEOF 19391cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19392 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 19393fi # test -n "$CONFIG_HEADERS" 19394 19395 19396eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 19397shift 19398for ac_tag 19399do 19400 case $ac_tag in 19401 :[FHLC]) ac_mode=$ac_tag; continue;; 19402 esac 19403 case $ac_mode$ac_tag in 19404 :[FHL]*:*);; 19405 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 19406 :[FH]-) ac_tag=-:-;; 19407 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 19408 esac 19409 ac_save_IFS=$IFS 19410 IFS=: 19411 set x $ac_tag 19412 IFS=$ac_save_IFS 19413 shift 19414 ac_file=$1 19415 shift 19416 19417 case $ac_mode in 19418 :L) ac_source=$1;; 19419 :[FH]) 19420 ac_file_inputs= 19421 for ac_f 19422 do 19423 case $ac_f in 19424 -) ac_f="$ac_tmp/stdin";; 19425 *) # Look for the file first in the build tree, then in the source tree 19426 # (if the path is not absolute). The absolute path cannot be DOS-style, 19427 # because $ac_f cannot contain `:'. 19428 test -f "$ac_f" || 19429 case $ac_f in 19430 [\\/$]*) false;; 19431 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 19432 esac || 19433 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 19434 esac 19435 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 19436 as_fn_append ac_file_inputs " '$ac_f'" 19437 done 19438 19439 # Let's still pretend it is `configure' which instantiates (i.e., don't 19440 # use $as_me), people would be surprised to read: 19441 # /* config.h. Generated by config.status. */ 19442 configure_input='Generated from '` 19443 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 19444 `' by configure.' 19445 if test x"$ac_file" != x-; then 19446 configure_input="$ac_file. $configure_input" 19447 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 19448$as_echo "$as_me: creating $ac_file" >&6;} 19449 fi 19450 # Neutralize special characters interpreted by sed in replacement strings. 19451 case $configure_input in #( 19452 *\&* | *\|* | *\\* ) 19453 ac_sed_conf_input=`$as_echo "$configure_input" | 19454 sed 's/[\\\\&|]/\\\\&/g'`;; #( 19455 *) ac_sed_conf_input=$configure_input;; 19456 esac 19457 19458 case $ac_tag in 19459 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 19460 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 19461 esac 19462 ;; 19463 esac 19464 19465 ac_dir=`$as_dirname -- "$ac_file" || 19466$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19467 X"$ac_file" : 'X\(//\)[^/]' \| \ 19468 X"$ac_file" : 'X\(//\)$' \| \ 19469 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 19470$as_echo X"$ac_file" | 19471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19472 s//\1/ 19473 q 19474 } 19475 /^X\(\/\/\)[^/].*/{ 19476 s//\1/ 19477 q 19478 } 19479 /^X\(\/\/\)$/{ 19480 s//\1/ 19481 q 19482 } 19483 /^X\(\/\).*/{ 19484 s//\1/ 19485 q 19486 } 19487 s/.*/./; q'` 19488 as_dir="$ac_dir"; as_fn_mkdir_p 19489 ac_builddir=. 19490 19491case "$ac_dir" in 19492.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 19493*) 19494 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 19495 # A ".." for each directory in $ac_dir_suffix. 19496 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 19497 case $ac_top_builddir_sub in 19498 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 19499 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 19500 esac ;; 19501esac 19502ac_abs_top_builddir=$ac_pwd 19503ac_abs_builddir=$ac_pwd$ac_dir_suffix 19504# for backward compatibility: 19505ac_top_builddir=$ac_top_build_prefix 19506 19507case $srcdir in 19508 .) # We are building in place. 19509 ac_srcdir=. 19510 ac_top_srcdir=$ac_top_builddir_sub 19511 ac_abs_top_srcdir=$ac_pwd ;; 19512 [\\/]* | ?:[\\/]* ) # Absolute name. 19513 ac_srcdir=$srcdir$ac_dir_suffix; 19514 ac_top_srcdir=$srcdir 19515 ac_abs_top_srcdir=$srcdir ;; 19516 *) # Relative name. 19517 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 19518 ac_top_srcdir=$ac_top_build_prefix$srcdir 19519 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 19520esac 19521ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 19522 19523 19524 case $ac_mode in 19525 :F) 19526 # 19527 # CONFIG_FILE 19528 # 19529 19530 case $INSTALL in 19531 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 19532 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 19533 esac 19534 ac_MKDIR_P=$MKDIR_P 19535 case $MKDIR_P in 19536 [\\/$]* | ?:[\\/]* ) ;; 19537 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 19538 esac 19539_ACEOF 19540 19541cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19542# If the template does not know about datarootdir, expand it. 19543# FIXME: This hack should be removed a few years after 2.60. 19544ac_datarootdir_hack=; ac_datarootdir_seen= 19545ac_sed_dataroot=' 19546/datarootdir/ { 19547 p 19548 q 19549} 19550/@datadir@/p 19551/@docdir@/p 19552/@infodir@/p 19553/@localedir@/p 19554/@mandir@/p' 19555case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 19556*datarootdir*) ac_datarootdir_seen=yes;; 19557*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 19558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 19559$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 19560_ACEOF 19561cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19562 ac_datarootdir_hack=' 19563 s&@datadir@&$datadir&g 19564 s&@docdir@&$docdir&g 19565 s&@infodir@&$infodir&g 19566 s&@localedir@&$localedir&g 19567 s&@mandir@&$mandir&g 19568 s&\\\${datarootdir}&$datarootdir&g' ;; 19569esac 19570_ACEOF 19571 19572# Neutralize VPATH when `$srcdir' = `.'. 19573# Shell code in configure.ac might set extrasub. 19574# FIXME: do we really want to maintain this feature? 19575cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19576ac_sed_extra="$ac_vpsub 19577$extrasub 19578_ACEOF 19579cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19580:t 19581/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 19582s|@configure_input@|$ac_sed_conf_input|;t t 19583s&@top_builddir@&$ac_top_builddir_sub&;t t 19584s&@top_build_prefix@&$ac_top_build_prefix&;t t 19585s&@srcdir@&$ac_srcdir&;t t 19586s&@abs_srcdir@&$ac_abs_srcdir&;t t 19587s&@top_srcdir@&$ac_top_srcdir&;t t 19588s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 19589s&@builddir@&$ac_builddir&;t t 19590s&@abs_builddir@&$ac_abs_builddir&;t t 19591s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 19592s&@INSTALL@&$ac_INSTALL&;t t 19593s&@MKDIR_P@&$ac_MKDIR_P&;t t 19594$ac_datarootdir_hack 19595" 19596eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 19597 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19598 19599test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 19600 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 19601 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 19602 "$ac_tmp/out"`; test -z "$ac_out"; } && 19603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19604which seems to be undefined. Please make sure it is defined" >&5 19605$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19606which seems to be undefined. Please make sure it is defined" >&2;} 19607 19608 rm -f "$ac_tmp/stdin" 19609 case $ac_file in 19610 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 19611 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 19612 esac \ 19613 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19614 ;; 19615 :H) 19616 # 19617 # CONFIG_HEADER 19618 # 19619 if test x"$ac_file" != x-; then 19620 { 19621 $as_echo "/* $configure_input */" \ 19622 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 19623 } >"$ac_tmp/config.h" \ 19624 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19625 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 19626 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 19627$as_echo "$as_me: $ac_file is unchanged" >&6;} 19628 else 19629 rm -f "$ac_file" 19630 mv "$ac_tmp/config.h" "$ac_file" \ 19631 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19632 fi 19633 else 19634 $as_echo "/* $configure_input */" \ 19635 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 19636 || as_fn_error $? "could not create -" "$LINENO" 5 19637 fi 19638# Compute "$ac_file"'s index in $config_headers. 19639_am_arg="$ac_file" 19640_am_stamp_count=1 19641for _am_header in $config_headers :; do 19642 case $_am_header in 19643 $_am_arg | $_am_arg:* ) 19644 break ;; 19645 * ) 19646 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 19647 esac 19648done 19649echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 19650$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19651 X"$_am_arg" : 'X\(//\)[^/]' \| \ 19652 X"$_am_arg" : 'X\(//\)$' \| \ 19653 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 19654$as_echo X"$_am_arg" | 19655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19656 s//\1/ 19657 q 19658 } 19659 /^X\(\/\/\)[^/].*/{ 19660 s//\1/ 19661 q 19662 } 19663 /^X\(\/\/\)$/{ 19664 s//\1/ 19665 q 19666 } 19667 /^X\(\/\).*/{ 19668 s//\1/ 19669 q 19670 } 19671 s/.*/./; q'`/stamp-h$_am_stamp_count 19672 ;; 19673 19674 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 19675$as_echo "$as_me: executing $ac_file commands" >&6;} 19676 ;; 19677 esac 19678 19679 19680 case $ac_file$ac_mode in 19681 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 19682 # Older Autoconf quotes --file arguments for eval, but not when files 19683 # are listed without --file. Let's play safe and only enable the eval 19684 # if we detect the quoting. 19685 case $CONFIG_FILES in 19686 *\'*) eval set x "$CONFIG_FILES" ;; 19687 *) set x $CONFIG_FILES ;; 19688 esac 19689 shift 19690 for mf 19691 do 19692 # Strip MF so we end up with the name of the file. 19693 mf=`echo "$mf" | sed -e 's/:.*$//'` 19694 # Check whether this is an Automake generated Makefile or not. 19695 # We used to match only the files named 'Makefile.in', but 19696 # some people rename them; so instead we look at the file content. 19697 # Grep'ing the first line is not enough: some people post-process 19698 # each Makefile.in and add a new line on top of each file to say so. 19699 # Grep'ing the whole file is not good either: AIX grep has a line 19700 # limit of 2048, but all sed's we know have understand at least 4000. 19701 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 19702 dirpart=`$as_dirname -- "$mf" || 19703$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19704 X"$mf" : 'X\(//\)[^/]' \| \ 19705 X"$mf" : 'X\(//\)$' \| \ 19706 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 19707$as_echo X"$mf" | 19708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19709 s//\1/ 19710 q 19711 } 19712 /^X\(\/\/\)[^/].*/{ 19713 s//\1/ 19714 q 19715 } 19716 /^X\(\/\/\)$/{ 19717 s//\1/ 19718 q 19719 } 19720 /^X\(\/\).*/{ 19721 s//\1/ 19722 q 19723 } 19724 s/.*/./; q'` 19725 else 19726 continue 19727 fi 19728 # Extract the definition of DEPDIR, am__include, and am__quote 19729 # from the Makefile without running 'make'. 19730 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 19731 test -z "$DEPDIR" && continue 19732 am__include=`sed -n 's/^am__include = //p' < "$mf"` 19733 test -z "$am__include" && continue 19734 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 19735 # Find all dependency output files, they are included files with 19736 # $(DEPDIR) in their names. We invoke sed twice because it is the 19737 # simplest approach to changing $(DEPDIR) to its actual value in the 19738 # expansion. 19739 for file in `sed -n " 19740 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 19741 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 19742 # Make sure the directory exists. 19743 test -f "$dirpart/$file" && continue 19744 fdir=`$as_dirname -- "$file" || 19745$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19746 X"$file" : 'X\(//\)[^/]' \| \ 19747 X"$file" : 'X\(//\)$' \| \ 19748 X"$file" : 'X\(/\)' \| . 2>/dev/null || 19749$as_echo X"$file" | 19750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19751 s//\1/ 19752 q 19753 } 19754 /^X\(\/\/\)[^/].*/{ 19755 s//\1/ 19756 q 19757 } 19758 /^X\(\/\/\)$/{ 19759 s//\1/ 19760 q 19761 } 19762 /^X\(\/\).*/{ 19763 s//\1/ 19764 q 19765 } 19766 s/.*/./; q'` 19767 as_dir=$dirpart/$fdir; as_fn_mkdir_p 19768 # echo "creating $dirpart/$file" 19769 echo '# dummy' > "$dirpart/$file" 19770 done 19771 done 19772} 19773 ;; 19774 "libtool":C) 19775 19776 # See if we are running on zsh, and set the options that allow our 19777 # commands through without removal of \ escapes. 19778 if test -n "${ZSH_VERSION+set}"; then 19779 setopt NO_GLOB_SUBST 19780 fi 19781 19782 cfgfile=${ofile}T 19783 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 19784 $RM "$cfgfile" 19785 19786 cat <<_LT_EOF >> "$cfgfile" 19787#! $SHELL 19788# Generated automatically by $as_me ($PACKAGE) $VERSION 19789# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 19790# NOTE: Changes made to this file will be lost: look at ltmain.sh. 19791 19792# Provide generalized library-building support services. 19793# Written by Gordon Matzigkeit, 1996 19794 19795# Copyright (C) 2014 Free Software Foundation, Inc. 19796# This is free software; see the source for copying conditions. There is NO 19797# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 19798 19799# GNU Libtool is free software; you can redistribute it and/or modify 19800# it under the terms of the GNU General Public License as published by 19801# the Free Software Foundation; either version 2 of of the License, or 19802# (at your option) any later version. 19803# 19804# As a special exception to the GNU General Public License, if you 19805# distribute this file as part of a program or library that is built 19806# using GNU Libtool, you may include this file under the same 19807# distribution terms that you use for the rest of that program. 19808# 19809# GNU Libtool is distributed in the hope that it will be useful, but 19810# WITHOUT ANY WARRANTY; without even the implied warranty of 19811# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19812# GNU General Public License for more details. 19813# 19814# You should have received a copy of the GNU General Public License 19815# along with this program. If not, see <http://www.gnu.org/licenses/>. 19816 19817 19818# The names of the tagged configurations supported by this script. 19819available_tags='CXX ' 19820 19821# Configured defaults for sys_lib_dlsearch_path munging. 19822: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 19823 19824# ### BEGIN LIBTOOL CONFIG 19825 19826# Whether or not to build static libraries. 19827build_old_libs=$enable_static 19828 19829# Assembler program. 19830AS=$lt_AS 19831 19832# DLL creation program. 19833DLLTOOL=$lt_DLLTOOL 19834 19835# Object dumper program. 19836OBJDUMP=$lt_OBJDUMP 19837 19838# Which release of libtool.m4 was used? 19839macro_version=$macro_version 19840macro_revision=$macro_revision 19841 19842# Whether or not to build shared libraries. 19843build_libtool_libs=$enable_shared 19844 19845# What type of objects to build. 19846pic_mode=$pic_mode 19847 19848# Whether or not to optimize for fast installation. 19849fast_install=$enable_fast_install 19850 19851# Shared archive member basename,for filename based shared library versioning on AIX. 19852shared_archive_member_spec=$shared_archive_member_spec 19853 19854# Shell to use when invoking shell scripts. 19855SHELL=$lt_SHELL 19856 19857# An echo program that protects backslashes. 19858ECHO=$lt_ECHO 19859 19860# The PATH separator for the build system. 19861PATH_SEPARATOR=$lt_PATH_SEPARATOR 19862 19863# The host system. 19864host_alias=$host_alias 19865host=$host 19866host_os=$host_os 19867 19868# The build system. 19869build_alias=$build_alias 19870build=$build 19871build_os=$build_os 19872 19873# A sed program that does not truncate output. 19874SED=$lt_SED 19875 19876# Sed that helps us avoid accidentally triggering echo(1) options like -n. 19877Xsed="\$SED -e 1s/^X//" 19878 19879# A grep program that handles long lines. 19880GREP=$lt_GREP 19881 19882# An ERE matcher. 19883EGREP=$lt_EGREP 19884 19885# A literal string matcher. 19886FGREP=$lt_FGREP 19887 19888# A BSD- or MS-compatible name lister. 19889NM=$lt_NM 19890 19891# Whether we need soft or hard links. 19892LN_S=$lt_LN_S 19893 19894# What is the maximum length of a command? 19895max_cmd_len=$max_cmd_len 19896 19897# Object file suffix (normally "o"). 19898objext=$ac_objext 19899 19900# Executable file suffix (normally ""). 19901exeext=$exeext 19902 19903# whether the shell understands "unset". 19904lt_unset=$lt_unset 19905 19906# turn spaces into newlines. 19907SP2NL=$lt_lt_SP2NL 19908 19909# turn newlines into spaces. 19910NL2SP=$lt_lt_NL2SP 19911 19912# convert \$build file names to \$host format. 19913to_host_file_cmd=$lt_cv_to_host_file_cmd 19914 19915# convert \$build files to toolchain format. 19916to_tool_file_cmd=$lt_cv_to_tool_file_cmd 19917 19918# Method to check whether dependent libraries are shared objects. 19919deplibs_check_method=$lt_deplibs_check_method 19920 19921# Command to use when deplibs_check_method = "file_magic". 19922file_magic_cmd=$lt_file_magic_cmd 19923 19924# How to find potential files when deplibs_check_method = "file_magic". 19925file_magic_glob=$lt_file_magic_glob 19926 19927# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 19928want_nocaseglob=$lt_want_nocaseglob 19929 19930# Command to associate shared and link libraries. 19931sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 19932 19933# The archiver. 19934AR=$lt_AR 19935 19936# Flags to create an archive. 19937AR_FLAGS=$lt_AR_FLAGS 19938 19939# How to feed a file listing to the archiver. 19940archiver_list_spec=$lt_archiver_list_spec 19941 19942# A symbol stripping program. 19943STRIP=$lt_STRIP 19944 19945# Commands used to install an old-style archive. 19946RANLIB=$lt_RANLIB 19947old_postinstall_cmds=$lt_old_postinstall_cmds 19948old_postuninstall_cmds=$lt_old_postuninstall_cmds 19949 19950# Whether to use a lock for old archive extraction. 19951lock_old_archive_extraction=$lock_old_archive_extraction 19952 19953# A C compiler. 19954LTCC=$lt_CC 19955 19956# LTCC compiler flags. 19957LTCFLAGS=$lt_CFLAGS 19958 19959# Take the output of nm and produce a listing of raw symbols and C names. 19960global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19961 19962# Transform the output of nm in a proper C declaration. 19963global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19964 19965# Transform the output of nm into a list of symbols to manually relocate. 19966global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 19967 19968# Transform the output of nm in a C name address pair. 19969global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19970 19971# Transform the output of nm in a C name address pair when lib prefix is needed. 19972global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 19973 19974# The name lister interface. 19975nm_interface=$lt_lt_cv_nm_interface 19976 19977# Specify filename containing input files for \$NM. 19978nm_file_list_spec=$lt_nm_file_list_spec 19979 19980# The root where to search for dependent libraries,and where our libraries should be installed. 19981lt_sysroot=$lt_sysroot 19982 19983# Command to truncate a binary pipe. 19984lt_truncate_bin=$lt_lt_cv_truncate_bin 19985 19986# The name of the directory that contains temporary libtool files. 19987objdir=$objdir 19988 19989# Used to examine libraries when file_magic_cmd begins with "file". 19990MAGIC_CMD=$MAGIC_CMD 19991 19992# Must we lock files when doing compilation? 19993need_locks=$lt_need_locks 19994 19995# Manifest tool. 19996MANIFEST_TOOL=$lt_MANIFEST_TOOL 19997 19998# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 19999DSYMUTIL=$lt_DSYMUTIL 20000 20001# Tool to change global to local symbols on Mac OS X. 20002NMEDIT=$lt_NMEDIT 20003 20004# Tool to manipulate fat objects and archives on Mac OS X. 20005LIPO=$lt_LIPO 20006 20007# ldd/readelf like tool for Mach-O binaries on Mac OS X. 20008OTOOL=$lt_OTOOL 20009 20010# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 20011OTOOL64=$lt_OTOOL64 20012 20013# Old archive suffix (normally "a"). 20014libext=$libext 20015 20016# Shared library suffix (normally ".so"). 20017shrext_cmds=$lt_shrext_cmds 20018 20019# The commands to extract the exported symbol list from a shared archive. 20020extract_expsyms_cmds=$lt_extract_expsyms_cmds 20021 20022# Variables whose values should be saved in libtool wrapper scripts and 20023# restored at link time. 20024variables_saved_for_relink=$lt_variables_saved_for_relink 20025 20026# Do we need the "lib" prefix for modules? 20027need_lib_prefix=$need_lib_prefix 20028 20029# Do we need a version for libraries? 20030need_version=$need_version 20031 20032# Library versioning type. 20033version_type=$version_type 20034 20035# Shared library runtime path variable. 20036runpath_var=$runpath_var 20037 20038# Shared library path variable. 20039shlibpath_var=$shlibpath_var 20040 20041# Is shlibpath searched before the hard-coded library search path? 20042shlibpath_overrides_runpath=$shlibpath_overrides_runpath 20043 20044# Format of library name prefix. 20045libname_spec=$lt_libname_spec 20046 20047# List of archive names. First name is the real one, the rest are links. 20048# The last name is the one that the linker finds with -lNAME 20049library_names_spec=$lt_library_names_spec 20050 20051# The coded name of the library, if different from the real name. 20052soname_spec=$lt_soname_spec 20053 20054# Permission mode override for installation of shared libraries. 20055install_override_mode=$lt_install_override_mode 20056 20057# Command to use after installation of a shared archive. 20058postinstall_cmds=$lt_postinstall_cmds 20059 20060# Command to use after uninstallation of a shared archive. 20061postuninstall_cmds=$lt_postuninstall_cmds 20062 20063# Commands used to finish a libtool library installation in a directory. 20064finish_cmds=$lt_finish_cmds 20065 20066# As "finish_cmds", except a single script fragment to be evaled but 20067# not shown. 20068finish_eval=$lt_finish_eval 20069 20070# Whether we should hardcode library paths into libraries. 20071hardcode_into_libs=$hardcode_into_libs 20072 20073# Compile-time system search path for libraries. 20074sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 20075 20076# Detected run-time system search path for libraries. 20077sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 20078 20079# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 20080configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 20081 20082# Whether dlopen is supported. 20083dlopen_support=$enable_dlopen 20084 20085# Whether dlopen of programs is supported. 20086dlopen_self=$enable_dlopen_self 20087 20088# Whether dlopen of statically linked programs is supported. 20089dlopen_self_static=$enable_dlopen_self_static 20090 20091# Commands to strip libraries. 20092old_striplib=$lt_old_striplib 20093striplib=$lt_striplib 20094 20095 20096# The linker used to build libraries. 20097LD=$lt_LD 20098 20099# How to create reloadable object files. 20100reload_flag=$lt_reload_flag 20101reload_cmds=$lt_reload_cmds 20102 20103# Commands used to build an old-style archive. 20104old_archive_cmds=$lt_old_archive_cmds 20105 20106# A language specific compiler. 20107CC=$lt_compiler 20108 20109# Is the compiler the GNU compiler? 20110with_gcc=$GCC 20111 20112# Compiler flag to turn off builtin functions. 20113no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 20114 20115# Additional compiler flags for building library objects. 20116pic_flag=$lt_lt_prog_compiler_pic 20117 20118# How to pass a linker flag through the compiler. 20119wl=$lt_lt_prog_compiler_wl 20120 20121# Compiler flag to prevent dynamic linking. 20122link_static_flag=$lt_lt_prog_compiler_static 20123 20124# Does compiler simultaneously support -c and -o options? 20125compiler_c_o=$lt_lt_cv_prog_compiler_c_o 20126 20127# Whether or not to add -lc for building shared libraries. 20128build_libtool_need_lc=$archive_cmds_need_lc 20129 20130# Whether or not to disallow shared libs when runtime libs are static. 20131allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 20132 20133# Compiler flag to allow reflexive dlopens. 20134export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 20135 20136# Compiler flag to generate shared objects directly from archives. 20137whole_archive_flag_spec=$lt_whole_archive_flag_spec 20138 20139# Whether the compiler copes with passing no objects directly. 20140compiler_needs_object=$lt_compiler_needs_object 20141 20142# Create an old-style archive from a shared archive. 20143old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 20144 20145# Create a temporary old-style archive to link instead of a shared archive. 20146old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 20147 20148# Commands used to build a shared archive. 20149archive_cmds=$lt_archive_cmds 20150archive_expsym_cmds=$lt_archive_expsym_cmds 20151 20152# Commands used to build a loadable module if different from building 20153# a shared archive. 20154module_cmds=$lt_module_cmds 20155module_expsym_cmds=$lt_module_expsym_cmds 20156 20157# Whether we are building with GNU ld or not. 20158with_gnu_ld=$lt_with_gnu_ld 20159 20160# Flag that allows shared libraries with undefined symbols to be built. 20161allow_undefined_flag=$lt_allow_undefined_flag 20162 20163# Flag that enforces no undefined symbols. 20164no_undefined_flag=$lt_no_undefined_flag 20165 20166# Flag to hardcode \$libdir into a binary during linking. 20167# This must work even if \$libdir does not exist 20168hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 20169 20170# Whether we need a single "-rpath" flag with a separated argument. 20171hardcode_libdir_separator=$lt_hardcode_libdir_separator 20172 20173# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20174# DIR into the resulting binary. 20175hardcode_direct=$hardcode_direct 20176 20177# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20178# DIR into the resulting binary and the resulting library dependency is 20179# "absolute",i.e impossible to change by setting \$shlibpath_var if the 20180# library is relocated. 20181hardcode_direct_absolute=$hardcode_direct_absolute 20182 20183# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 20184# into the resulting binary. 20185hardcode_minus_L=$hardcode_minus_L 20186 20187# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 20188# into the resulting binary. 20189hardcode_shlibpath_var=$hardcode_shlibpath_var 20190 20191# Set to "yes" if building a shared library automatically hardcodes DIR 20192# into the library and all subsequent libraries and executables linked 20193# against it. 20194hardcode_automatic=$hardcode_automatic 20195 20196# Set to yes if linker adds runtime paths of dependent libraries 20197# to runtime path list. 20198inherit_rpath=$inherit_rpath 20199 20200# Whether libtool must link a program against all its dependency libraries. 20201link_all_deplibs=$link_all_deplibs 20202 20203# Set to "yes" if exported symbols are required. 20204always_export_symbols=$always_export_symbols 20205 20206# The commands to list exported symbols. 20207export_symbols_cmds=$lt_export_symbols_cmds 20208 20209# Symbols that should not be listed in the preloaded symbols. 20210exclude_expsyms=$lt_exclude_expsyms 20211 20212# Symbols that must always be exported. 20213include_expsyms=$lt_include_expsyms 20214 20215# Commands necessary for linking programs (against libraries) with templates. 20216prelink_cmds=$lt_prelink_cmds 20217 20218# Commands necessary for finishing linking programs. 20219postlink_cmds=$lt_postlink_cmds 20220 20221# Specify filename containing input files. 20222file_list_spec=$lt_file_list_spec 20223 20224# How to hardcode a shared library path into an executable. 20225hardcode_action=$hardcode_action 20226 20227# The directories searched by this compiler when creating a shared library. 20228compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 20229 20230# Dependencies to place before and after the objects being linked to 20231# create a shared library. 20232predep_objects=$lt_predep_objects 20233postdep_objects=$lt_postdep_objects 20234predeps=$lt_predeps 20235postdeps=$lt_postdeps 20236 20237# The library search path used internally by the compiler when linking 20238# a shared library. 20239compiler_lib_search_path=$lt_compiler_lib_search_path 20240 20241# ### END LIBTOOL CONFIG 20242 20243_LT_EOF 20244 20245 cat <<'_LT_EOF' >> "$cfgfile" 20246 20247# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 20248 20249# func_munge_path_list VARIABLE PATH 20250# ----------------------------------- 20251# VARIABLE is name of variable containing _space_ separated list of 20252# directories to be munged by the contents of PATH, which is string 20253# having a format: 20254# "DIR[:DIR]:" 20255# string "DIR[ DIR]" will be prepended to VARIABLE 20256# ":DIR[:DIR]" 20257# string "DIR[ DIR]" will be appended to VARIABLE 20258# "DIRP[:DIRP]::[DIRA:]DIRA" 20259# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 20260# "DIRA[ DIRA]" will be appended to VARIABLE 20261# "DIR[:DIR]" 20262# VARIABLE will be replaced by "DIR[ DIR]" 20263func_munge_path_list () 20264{ 20265 case x$2 in 20266 x) 20267 ;; 20268 *:) 20269 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 20270 ;; 20271 x:*) 20272 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 20273 ;; 20274 *::*) 20275 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 20276 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 20277 ;; 20278 *) 20279 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 20280 ;; 20281 esac 20282} 20283 20284 20285# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 20286func_cc_basename () 20287{ 20288 for cc_temp in $*""; do 20289 case $cc_temp in 20290 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 20291 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 20292 \-*) ;; 20293 *) break;; 20294 esac 20295 done 20296 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 20297} 20298 20299 20300# ### END FUNCTIONS SHARED WITH CONFIGURE 20301 20302_LT_EOF 20303 20304 case $host_os in 20305 aix3*) 20306 cat <<\_LT_EOF >> "$cfgfile" 20307# AIX sometimes has problems with the GCC collect2 program. For some 20308# reason, if we set the COLLECT_NAMES environment variable, the problems 20309# vanish in a puff of smoke. 20310if test set != "${COLLECT_NAMES+set}"; then 20311 COLLECT_NAMES= 20312 export COLLECT_NAMES 20313fi 20314_LT_EOF 20315 ;; 20316 esac 20317 20318 20319ltmain=$ac_aux_dir/ltmain.sh 20320 20321 20322 # We use sed instead of cat because bash on DJGPP gets confused if 20323 # if finds mixed CR/LF and LF-only lines. Since sed operates in 20324 # text mode, it properly converts lines to CR/LF. This bash problem 20325 # is reportedly fixed, but why not run on old versions too? 20326 sed '$q' "$ltmain" >> "$cfgfile" \ 20327 || (rm -f "$cfgfile"; exit 1) 20328 20329 mv -f "$cfgfile" "$ofile" || 20330 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 20331 chmod +x "$ofile" 20332 20333 20334 cat <<_LT_EOF >> "$ofile" 20335 20336# ### BEGIN LIBTOOL TAG CONFIG: CXX 20337 20338# The linker used to build libraries. 20339LD=$lt_LD_CXX 20340 20341# How to create reloadable object files. 20342reload_flag=$lt_reload_flag_CXX 20343reload_cmds=$lt_reload_cmds_CXX 20344 20345# Commands used to build an old-style archive. 20346old_archive_cmds=$lt_old_archive_cmds_CXX 20347 20348# A language specific compiler. 20349CC=$lt_compiler_CXX 20350 20351# Is the compiler the GNU compiler? 20352with_gcc=$GCC_CXX 20353 20354# Compiler flag to turn off builtin functions. 20355no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 20356 20357# Additional compiler flags for building library objects. 20358pic_flag=$lt_lt_prog_compiler_pic_CXX 20359 20360# How to pass a linker flag through the compiler. 20361wl=$lt_lt_prog_compiler_wl_CXX 20362 20363# Compiler flag to prevent dynamic linking. 20364link_static_flag=$lt_lt_prog_compiler_static_CXX 20365 20366# Does compiler simultaneously support -c and -o options? 20367compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 20368 20369# Whether or not to add -lc for building shared libraries. 20370build_libtool_need_lc=$archive_cmds_need_lc_CXX 20371 20372# Whether or not to disallow shared libs when runtime libs are static. 20373allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 20374 20375# Compiler flag to allow reflexive dlopens. 20376export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 20377 20378# Compiler flag to generate shared objects directly from archives. 20379whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 20380 20381# Whether the compiler copes with passing no objects directly. 20382compiler_needs_object=$lt_compiler_needs_object_CXX 20383 20384# Create an old-style archive from a shared archive. 20385old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 20386 20387# Create a temporary old-style archive to link instead of a shared archive. 20388old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 20389 20390# Commands used to build a shared archive. 20391archive_cmds=$lt_archive_cmds_CXX 20392archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 20393 20394# Commands used to build a loadable module if different from building 20395# a shared archive. 20396module_cmds=$lt_module_cmds_CXX 20397module_expsym_cmds=$lt_module_expsym_cmds_CXX 20398 20399# Whether we are building with GNU ld or not. 20400with_gnu_ld=$lt_with_gnu_ld_CXX 20401 20402# Flag that allows shared libraries with undefined symbols to be built. 20403allow_undefined_flag=$lt_allow_undefined_flag_CXX 20404 20405# Flag that enforces no undefined symbols. 20406no_undefined_flag=$lt_no_undefined_flag_CXX 20407 20408# Flag to hardcode \$libdir into a binary during linking. 20409# This must work even if \$libdir does not exist 20410hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 20411 20412# Whether we need a single "-rpath" flag with a separated argument. 20413hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 20414 20415# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20416# DIR into the resulting binary. 20417hardcode_direct=$hardcode_direct_CXX 20418 20419# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20420# DIR into the resulting binary and the resulting library dependency is 20421# "absolute",i.e impossible to change by setting \$shlibpath_var if the 20422# library is relocated. 20423hardcode_direct_absolute=$hardcode_direct_absolute_CXX 20424 20425# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 20426# into the resulting binary. 20427hardcode_minus_L=$hardcode_minus_L_CXX 20428 20429# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 20430# into the resulting binary. 20431hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 20432 20433# Set to "yes" if building a shared library automatically hardcodes DIR 20434# into the library and all subsequent libraries and executables linked 20435# against it. 20436hardcode_automatic=$hardcode_automatic_CXX 20437 20438# Set to yes if linker adds runtime paths of dependent libraries 20439# to runtime path list. 20440inherit_rpath=$inherit_rpath_CXX 20441 20442# Whether libtool must link a program against all its dependency libraries. 20443link_all_deplibs=$link_all_deplibs_CXX 20444 20445# Set to "yes" if exported symbols are required. 20446always_export_symbols=$always_export_symbols_CXX 20447 20448# The commands to list exported symbols. 20449export_symbols_cmds=$lt_export_symbols_cmds_CXX 20450 20451# Symbols that should not be listed in the preloaded symbols. 20452exclude_expsyms=$lt_exclude_expsyms_CXX 20453 20454# Symbols that must always be exported. 20455include_expsyms=$lt_include_expsyms_CXX 20456 20457# Commands necessary for linking programs (against libraries) with templates. 20458prelink_cmds=$lt_prelink_cmds_CXX 20459 20460# Commands necessary for finishing linking programs. 20461postlink_cmds=$lt_postlink_cmds_CXX 20462 20463# Specify filename containing input files. 20464file_list_spec=$lt_file_list_spec_CXX 20465 20466# How to hardcode a shared library path into an executable. 20467hardcode_action=$hardcode_action_CXX 20468 20469# The directories searched by this compiler when creating a shared library. 20470compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 20471 20472# Dependencies to place before and after the objects being linked to 20473# create a shared library. 20474predep_objects=$lt_predep_objects_CXX 20475postdep_objects=$lt_postdep_objects_CXX 20476predeps=$lt_predeps_CXX 20477postdeps=$lt_postdeps_CXX 20478 20479# The library search path used internally by the compiler when linking 20480# a shared library. 20481compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 20482 20483# ### END LIBTOOL TAG CONFIG: CXX 20484_LT_EOF 20485 20486 ;; 20487 "MSVC_Net2005/gdkmm/gdkmmconfig.h":C) cp -f gdk/gdkmmconfig.h MSVC_Net2005/gdkmm/gdkmmconfig.h ;; 20488 "MSVC_Net2005/gtkmm/gtkmmconfig.h":C) cp -f gtk/gtkmmconfig.h MSVC_Net2005/gtkmm/gtkmmconfig.h ;; 20489 "MSVC_Net2008/gdkmm/gdkmmconfig.h":C) cp -f gdk/gdkmmconfig.h MSVC_Net2008/gdkmm/gdkmmconfig.h ;; 20490 "MSVC_Net2008/gtkmm/gtkmmconfig.h":C) cp -f gtk/gtkmmconfig.h MSVC_Net2008/gtkmm/gtkmmconfig.h ;; 20491 "MSVC_Net2010/gdkmm/gdkmmconfig.h":C) cp -f gdk/gdkmmconfig.h MSVC_Net2010/gdkmm/gdkmmconfig.h ;; 20492 "MSVC_Net2010/gtkmm/gtkmmconfig.h":C) cp -f gtk/gtkmmconfig.h MSVC_Net2010/gtkmm/gtkmmconfig.h ;; 20493 "win32_installer/lgpl.txt":C) cp -f COPYING win32_installer/lgpl.txt ;; 20494 20495 esac 20496done # for ac_tag 20497 20498 20499as_fn_exit 0 20500_ACEOF 20501ac_clean_files=$ac_clean_files_save 20502 20503test $ac_write_fail = 0 || 20504 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 20505 20506 20507# configure is writing to config.log, and then calls config.status. 20508# config.status does its own redirection, appending to config.log. 20509# Unfortunately, on DOS this fails, as config.log is still kept open 20510# by configure, so config.status won't be able to write to it; its 20511# output is simply discarded. So we exec the FD to /dev/null, 20512# effectively closing config.log, so it can be properly (re)opened and 20513# appended to by config.status. When coming back to configure, we 20514# need to make the FD available again. 20515if test "$no_create" != yes; then 20516 ac_cs_success=: 20517 ac_config_status_args= 20518 test "$silent" = yes && 20519 ac_config_status_args="$ac_config_status_args --quiet" 20520 exec 5>/dev/null 20521 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 20522 exec 5>>config.log 20523 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 20524 # would make configure fail if this is the last instruction. 20525 $ac_cs_success || as_fn_exit 1 20526fi 20527if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 20528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 20529$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 20530fi 20531 20532