1#! /bin/sh 2# From configure.ac 952496e. 3# Guess values for system-dependent variables and create Makefiles. 4# Generated by GNU Autoconf 2.69 for gtk-xfce-engine 3.2.0. 5# 6# Report bugs to <http://bugzilla.xfce.org/>. 7# 8# Copyright (c) 2002-2012 The Xfce development team. All rights reserved. 9# 10# 11# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 12# 13# 14# This configure script is free software; the Free Software Foundation 15# gives unlimited permission to copy, distribute and modify it. 16## -------------------- ## 17## M4sh Initialization. ## 18## -------------------- ## 19 20# Be more Bourne compatible 21DUALCASE=1; export DUALCASE # for MKS sh 22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 23 emulate sh 24 NULLCMD=: 25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26 # is contrary to our usage. Disable this feature. 27 alias -g '${1+"$@"}'='"$@"' 28 setopt NO_GLOB_SUBST 29else 30 case `(set -o) 2>/dev/null` in #( 31 *posix*) : 32 set -o posix ;; #( 33 *) : 34 ;; 35esac 36fi 37 38 39as_nl=' 40' 41export as_nl 42# Printing a long string crashes Solaris 7 /usr/bin/printf. 43as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 46# Prefer a ksh shell builtin over an external printf program on Solaris, 47# but without wasting forks for bash or zsh. 48if test -z "$BASH_VERSION$ZSH_VERSION" \ 49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='print -r --' 51 as_echo_n='print -rn --' 52elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 53 as_echo='printf %s\n' 54 as_echo_n='printf %s' 55else 56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 58 as_echo_n='/usr/ucb/echo -n' 59 else 60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 61 as_echo_n_body='eval 62 arg=$1; 63 case $arg in #( 64 *"$as_nl"*) 65 expr "X$arg" : "X\\(.*\\)$as_nl"; 66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 67 esac; 68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 69 ' 70 export as_echo_n_body 71 as_echo_n='sh -c $as_echo_n_body as_echo' 72 fi 73 export as_echo_body 74 as_echo='sh -c $as_echo_body as_echo' 75fi 76 77# The user is always right. 78if test "${PATH_SEPARATOR+set}" != set; then 79 PATH_SEPARATOR=: 80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 82 PATH_SEPARATOR=';' 83 } 84fi 85 86 87# IFS 88# We need space, tab and new line, in precisely that order. Quoting is 89# there to prevent editors from complaining about space-tab. 90# (If _AS_PATH_WALK were called with IFS unset, it would disable word 91# splitting by setting IFS to empty value.) 92IFS=" "" $as_nl" 93 94# Find who we are. Look in the path if we contain no directory separator. 95as_myself= 96case $0 in #(( 97 *[\\/]* ) as_myself=$0 ;; 98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 99for as_dir in $PATH 100do 101 IFS=$as_save_IFS 102 test -z "$as_dir" && as_dir=. 103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 104 done 105IFS=$as_save_IFS 106 107 ;; 108esac 109# We did not find ourselves, most probably we were run as `sh COMMAND' 110# in which case we are not to be found in the path. 111if test "x$as_myself" = x; then 112 as_myself=$0 113fi 114if test ! -f "$as_myself"; then 115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 116 exit 1 117fi 118 119# Unset variables that we do not need and which cause bugs (e.g. in 120# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 121# suppresses any "Segmentation fault" message there. '((' could 122# trigger a bug in pdksh 5.2.14. 123for as_var in BASH_ENV ENV MAIL MAILPATH 124do eval test x\${$as_var+set} = xset \ 125 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 126done 127PS1='$ ' 128PS2='> ' 129PS4='+ ' 130 131# NLS nuisances. 132LC_ALL=C 133export LC_ALL 134LANGUAGE=C 135export LANGUAGE 136 137# CDPATH. 138(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 139 140# Use a proper internal environment variable to ensure we don't fall 141 # into an infinite loop, continuously re-executing ourselves. 142 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 143 _as_can_reexec=no; export _as_can_reexec; 144 # We cannot yet assume a decent shell, so we have to provide a 145# neutralization value for shells without unset; and this also 146# works around shells that cannot unset nonexistent variables. 147# Preserve -v and -x to the replacement shell. 148BASH_ENV=/dev/null 149ENV=/dev/null 150(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 151case $- in # (((( 152 *v*x* | *x*v* ) as_opts=-vx ;; 153 *v* ) as_opts=-v ;; 154 *x* ) as_opts=-x ;; 155 * ) as_opts= ;; 156esac 157exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 158# Admittedly, this is quite paranoid, since all the known shells bail 159# out after a failed `exec'. 160$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 161as_fn_exit 255 162 fi 163 # We don't want this to propagate to other subprocesses. 164 { _as_can_reexec=; unset _as_can_reexec;} 165if test "x$CONFIG_SHELL" = x; then 166 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 167 emulate sh 168 NULLCMD=: 169 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 170 # is contrary to our usage. Disable this feature. 171 alias -g '\${1+\"\$@\"}'='\"\$@\"' 172 setopt NO_GLOB_SUBST 173else 174 case \`(set -o) 2>/dev/null\` in #( 175 *posix*) : 176 set -o posix ;; #( 177 *) : 178 ;; 179esac 180fi 181" 182 as_required="as_fn_return () { (exit \$1); } 183as_fn_success () { as_fn_return 0; } 184as_fn_failure () { as_fn_return 1; } 185as_fn_ret_success () { return 0; } 186as_fn_ret_failure () { return 1; } 187 188exitcode=0 189as_fn_success || { exitcode=1; echo as_fn_success failed.; } 190as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 191as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 192as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 193if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 194 195else 196 exitcode=1; echo positional parameters were not saved. 197fi 198test x\$exitcode = x0 || exit 1 199test -x / || exit 1" 200 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 201 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 202 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 203 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 204 205 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 206 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 207 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 208 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 209 PATH=/empty FPATH=/empty; export PATH FPATH 210 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 211 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 212test \$(( 1 + 1 )) = 2 || exit 1" 213 if (eval "$as_required") 2>/dev/null; then : 214 as_have_required=yes 215else 216 as_have_required=no 217fi 218 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 219 220else 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222as_found=false 223for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 224do 225 IFS=$as_save_IFS 226 test -z "$as_dir" && as_dir=. 227 as_found=: 228 case $as_dir in #( 229 /*) 230 for as_base in sh bash ksh sh5; do 231 # Try only shells that exist, to save several forks. 232 as_shell=$as_dir/$as_base 233 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 235 CONFIG_SHELL=$as_shell as_have_required=yes 236 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 237 break 2 238fi 239fi 240 done;; 241 esac 242 as_found=false 243done 244$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 245 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 246 CONFIG_SHELL=$SHELL as_have_required=yes 247fi; } 248IFS=$as_save_IFS 249 250 251 if test "x$CONFIG_SHELL" != x; then : 252 export CONFIG_SHELL 253 # We cannot yet assume a decent shell, so we have to provide a 254# neutralization value for shells without unset; and this also 255# works around shells that cannot unset nonexistent variables. 256# Preserve -v and -x to the replacement shell. 257BASH_ENV=/dev/null 258ENV=/dev/null 259(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 260case $- in # (((( 261 *v*x* | *x*v* ) as_opts=-vx ;; 262 *v* ) as_opts=-v ;; 263 *x* ) as_opts=-x ;; 264 * ) as_opts= ;; 265esac 266exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 267# Admittedly, this is quite paranoid, since all the known shells bail 268# out after a failed `exec'. 269$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 270exit 255 271fi 272 273 if test x$as_have_required = xno; then : 274 $as_echo "$0: This script requires a shell more modern than all" 275 $as_echo "$0: the shells that I found on your system." 276 if test x${ZSH_VERSION+set} = xset ; then 277 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 278 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 279 else 280 $as_echo "$0: Please tell bug-autoconf@gnu.org and 281$0: http://bugzilla.xfce.org/ about your system, including 282$0: any error possibly output before this message. Then 283$0: install a modern shell, or manually run the script 284$0: under such a shell if you do have one." 285 fi 286 exit 1 287fi 288fi 289fi 290SHELL=${CONFIG_SHELL-/bin/sh} 291export SHELL 292# Unset more variables known to interfere with behavior of common tools. 293CLICOLOR_FORCE= GREP_OPTIONS= 294unset CLICOLOR_FORCE GREP_OPTIONS 295 296## --------------------- ## 297## M4sh Shell Functions. ## 298## --------------------- ## 299# as_fn_unset VAR 300# --------------- 301# Portably unset VAR. 302as_fn_unset () 303{ 304 { eval $1=; unset $1;} 305} 306as_unset=as_fn_unset 307 308# as_fn_set_status STATUS 309# ----------------------- 310# Set $? to STATUS, without forking. 311as_fn_set_status () 312{ 313 return $1 314} # as_fn_set_status 315 316# as_fn_exit STATUS 317# ----------------- 318# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 319as_fn_exit () 320{ 321 set +e 322 as_fn_set_status $1 323 exit $1 324} # as_fn_exit 325 326# as_fn_mkdir_p 327# ------------- 328# Create "$as_dir" as a directory, including parents if necessary. 329as_fn_mkdir_p () 330{ 331 332 case $as_dir in #( 333 -*) as_dir=./$as_dir;; 334 esac 335 test -d "$as_dir" || eval $as_mkdir_p || { 336 as_dirs= 337 while :; do 338 case $as_dir in #( 339 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 340 *) as_qdir=$as_dir;; 341 esac 342 as_dirs="'$as_qdir' $as_dirs" 343 as_dir=`$as_dirname -- "$as_dir" || 344$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 345 X"$as_dir" : 'X\(//\)[^/]' \| \ 346 X"$as_dir" : 'X\(//\)$' \| \ 347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 348$as_echo X"$as_dir" | 349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 350 s//\1/ 351 q 352 } 353 /^X\(\/\/\)[^/].*/{ 354 s//\1/ 355 q 356 } 357 /^X\(\/\/\)$/{ 358 s//\1/ 359 q 360 } 361 /^X\(\/\).*/{ 362 s//\1/ 363 q 364 } 365 s/.*/./; q'` 366 test -d "$as_dir" && break 367 done 368 test -z "$as_dirs" || eval "mkdir $as_dirs" 369 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 370 371 372} # as_fn_mkdir_p 373 374# as_fn_executable_p FILE 375# ----------------------- 376# Test if FILE is an executable regular file. 377as_fn_executable_p () 378{ 379 test -f "$1" && test -x "$1" 380} # as_fn_executable_p 381# as_fn_append VAR VALUE 382# ---------------------- 383# Append the text in VALUE to the end of the definition contained in VAR. Take 384# advantage of any shell optimizations that allow amortized linear growth over 385# repeated appends, instead of the typical quadratic growth present in naive 386# implementations. 387if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 388 eval 'as_fn_append () 389 { 390 eval $1+=\$2 391 }' 392else 393 as_fn_append () 394 { 395 eval $1=\$$1\$2 396 } 397fi # as_fn_append 398 399# as_fn_arith ARG... 400# ------------------ 401# Perform arithmetic evaluation on the ARGs, and store the result in the 402# global $as_val. Take advantage of shells that can avoid forks. The arguments 403# must be portable across $(()) and expr. 404if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 405 eval 'as_fn_arith () 406 { 407 as_val=$(( $* )) 408 }' 409else 410 as_fn_arith () 411 { 412 as_val=`expr "$@" || test $? -eq 1` 413 } 414fi # as_fn_arith 415 416 417# as_fn_error STATUS ERROR [LINENO LOG_FD] 418# ---------------------------------------- 419# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 420# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 421# script with STATUS, using 1 if that was 0. 422as_fn_error () 423{ 424 as_status=$1; test $as_status -eq 0 && as_status=1 425 if test "$4"; then 426 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 427 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 428 fi 429 $as_echo "$as_me: error: $2" >&2 430 as_fn_exit $as_status 431} # as_fn_error 432 433if expr a : '\(a\)' >/dev/null 2>&1 && 434 test "X`expr 00001 : '.*\(...\)'`" = X001; then 435 as_expr=expr 436else 437 as_expr=false 438fi 439 440if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 441 as_basename=basename 442else 443 as_basename=false 444fi 445 446if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 447 as_dirname=dirname 448else 449 as_dirname=false 450fi 451 452as_me=`$as_basename -- "$0" || 453$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 454 X"$0" : 'X\(//\)$' \| \ 455 X"$0" : 'X\(/\)' \| . 2>/dev/null || 456$as_echo X/"$0" | 457 sed '/^.*\/\([^/][^/]*\)\/*$/{ 458 s//\1/ 459 q 460 } 461 /^X\/\(\/\/\)$/{ 462 s//\1/ 463 q 464 } 465 /^X\/\(\/\).*/{ 466 s//\1/ 467 q 468 } 469 s/.*/./; q'` 470 471# Avoid depending upon Character Ranges. 472as_cr_letters='abcdefghijklmnopqrstuvwxyz' 473as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 474as_cr_Letters=$as_cr_letters$as_cr_LETTERS 475as_cr_digits='0123456789' 476as_cr_alnum=$as_cr_Letters$as_cr_digits 477 478 479 as_lineno_1=$LINENO as_lineno_1a=$LINENO 480 as_lineno_2=$LINENO as_lineno_2a=$LINENO 481 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 482 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 483 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 484 sed -n ' 485 p 486 /[$]LINENO/= 487 ' <$as_myself | 488 sed ' 489 s/[$]LINENO.*/&-/ 490 t lineno 491 b 492 :lineno 493 N 494 :loop 495 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 496 t loop 497 s/-\n.*// 498 ' >$as_me.lineno && 499 chmod +x "$as_me.lineno" || 500 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 501 502 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 503 # already done that, so ensure we don't try to do so again and fall 504 # in an infinite loop. This has already happened in practice. 505 _as_can_reexec=no; export _as_can_reexec 506 # Don't try to exec as it changes $[0], causing all sort of problems 507 # (the dirname of $[0] is not the place where we might find the 508 # original and so on. Autoconf is especially sensitive to this). 509 . "./$as_me.lineno" 510 # Exit status is that of the last command. 511 exit 512} 513 514ECHO_C= ECHO_N= ECHO_T= 515case `echo -n x` in #((((( 516-n*) 517 case `echo 'xy\c'` in 518 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 519 xy) ECHO_C='\c';; 520 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 521 ECHO_T=' ';; 522 esac;; 523*) 524 ECHO_N='-n';; 525esac 526 527rm -f conf$$ conf$$.exe conf$$.file 528if test -d conf$$.dir; then 529 rm -f conf$$.dir/conf$$.file 530else 531 rm -f conf$$.dir 532 mkdir conf$$.dir 2>/dev/null 533fi 534if (echo >conf$$.file) 2>/dev/null; then 535 if ln -s conf$$.file conf$$ 2>/dev/null; then 536 as_ln_s='ln -s' 537 # ... but there are two gotchas: 538 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 539 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 540 # In both cases, we have to default to `cp -pR'. 541 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 542 as_ln_s='cp -pR' 543 elif ln conf$$.file conf$$ 2>/dev/null; then 544 as_ln_s=ln 545 else 546 as_ln_s='cp -pR' 547 fi 548else 549 as_ln_s='cp -pR' 550fi 551rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 552rmdir conf$$.dir 2>/dev/null 553 554if mkdir -p . 2>/dev/null; then 555 as_mkdir_p='mkdir -p "$as_dir"' 556else 557 test -d ./-p && rmdir ./-p 558 as_mkdir_p=false 559fi 560 561as_test_x='test -x' 562as_executable_p=as_fn_executable_p 563 564# Sed expression to map a string onto a valid CPP name. 565as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 566 567# Sed expression to map a string onto a valid variable name. 568as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 569 570SHELL=${CONFIG_SHELL-/bin/sh} 571 572 573test -n "$DJDIR" || exec 7<&0 </dev/null 574exec 6>&1 575 576# Name of the host. 577# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 578# so uname gets run too. 579ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 580 581# 582# Initializations. 583# 584ac_default_prefix=/usr/local 585ac_clean_files= 586ac_config_libobj_dir=. 587LIBOBJS= 588cross_compiling=no 589subdirs= 590MFLAGS= 591MAKEFLAGS= 592 593# Identity of this package. 594PACKAGE_NAME='gtk-xfce-engine' 595PACKAGE_TARNAME='gtk-xfce-engine' 596PACKAGE_VERSION='3.2.0' 597PACKAGE_STRING='gtk-xfce-engine 3.2.0' 598PACKAGE_BUGREPORT='http://bugzilla.xfce.org/' 599PACKAGE_URL='' 600 601# Factoring default headers for most tests. 602ac_includes_default="\ 603#include <stdio.h> 604#ifdef HAVE_SYS_TYPES_H 605# include <sys/types.h> 606#endif 607#ifdef HAVE_SYS_STAT_H 608# include <sys/stat.h> 609#endif 610#ifdef STDC_HEADERS 611# include <stdlib.h> 612# include <stddef.h> 613#else 614# ifdef HAVE_STDLIB_H 615# include <stdlib.h> 616# endif 617#endif 618#ifdef HAVE_STRING_H 619# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 620# include <memory.h> 621# endif 622# include <string.h> 623#endif 624#ifdef HAVE_STRINGS_H 625# include <strings.h> 626#endif 627#ifdef HAVE_INTTYPES_H 628# include <inttypes.h> 629#endif 630#ifdef HAVE_STDINT_H 631# include <stdint.h> 632#endif 633#ifdef HAVE_UNISTD_H 634# include <unistd.h> 635#endif" 636 637ac_subst_vars='am__EXEEXT_FALSE 638am__EXEEXT_TRUE 639LTLIBOBJS 640LIBOBJS 641PLATFORM_LDFLAGS 642PLATFORM_CFLAGS 643PLATFORM_CPPFLAGS 644GTK_SUBDIRS 645GTK3_BINARY_VERSION 646GTK2_BINARY_VERSION 647HAVE_GTK3_FALSE 648HAVE_GTK3_TRUE 649GTK3_REQUIRED_VERSION 650GTK3_LIBS 651GTK3_CFLAGS 652GTK3_VERSION 653HAVE_GTK2_FALSE 654HAVE_GTK2_TRUE 655GTK2_REQUIRED_VERSION 656GTK2_LIBS 657GTK2_CFLAGS 658GTK2_VERSION 659LIBM 660GMODULE_REQUIRED_VERSION 661GMODULE_LIBS 662GMODULE_CFLAGS 663GMODULE_VERSION 664GLIB_COMPILE_RESOURCES 665GLIB_MKENUMS 666GOBJECT_QUERY 667GLIB_GENMARSHAL 668GLIB_LIBS 669GLIB_CFLAGS 670PKG_CONFIG_LIBDIR 671PKG_CONFIG_PATH 672PKG_CONFIG 673CPP 674LT_SYS_LIBRARY_PATH 675OTOOL64 676OTOOL 677LIPO 678NMEDIT 679DSYMUTIL 680MANIFEST_TOOL 681RANLIB 682ac_ct_AR 683AR 684DLLTOOL 685OBJDUMP 686LN_S 687NM 688ac_ct_DUMPBIN 689DUMPBIN 690LD 691FGREP 692EGREP 693GREP 694SED 695host_os 696host_vendor 697host_cpu 698host 699build_os 700build_vendor 701build_cpu 702build 703LIBTOOL 704am__fastdepCC_FALSE 705am__fastdepCC_TRUE 706CCDEPMODE 707am__nodep 708AMDEPBACKSLASH 709AMDEP_FALSE 710AMDEP_TRUE 711am__quote 712am__include 713DEPDIR 714OBJEXT 715EXEEXT 716ac_ct_CC 717CPPFLAGS 718LDFLAGS 719CFLAGS 720CC 721MAINT 722MAINTAINER_MODE_FALSE 723MAINTAINER_MODE_TRUE 724AM_BACKSLASH 725AM_DEFAULT_VERBOSITY 726AM_DEFAULT_V 727AM_V 728am__untar 729am__tar 730AMTAR 731am__leading_dot 732SET_MAKE 733AWK 734mkdir_p 735MKDIR_P 736INSTALL_STRIP_PROGRAM 737STRIP 738install_sh 739MAKEINFO 740AUTOHEADER 741AUTOMAKE 742AUTOCONF 743ACLOCAL 744VERSION 745PACKAGE 746CYGPATH_W 747am__isrc 748INSTALL_DATA 749INSTALL_SCRIPT 750INSTALL_PROGRAM 751target_alias 752host_alias 753build_alias 754LIBS 755ECHO_T 756ECHO_N 757ECHO_C 758DEFS 759mandir 760localedir 761libdir 762psdir 763pdfdir 764dvidir 765htmldir 766infodir 767docdir 768oldincludedir 769includedir 770localstatedir 771sharedstatedir 772sysconfdir 773datadir 774datarootdir 775libexecdir 776sbindir 777bindir 778program_transform_name 779prefix 780exec_prefix 781PACKAGE_URL 782PACKAGE_BUGREPORT 783PACKAGE_STRING 784PACKAGE_VERSION 785PACKAGE_TARNAME 786PACKAGE_NAME 787PATH_SEPARATOR 788SHELL' 789ac_subst_files='' 790ac_user_opts=' 791enable_option_checking 792enable_silent_rules 793enable_maintainer_mode 794enable_dependency_tracking 795enable_static 796enable_shared 797with_pic 798enable_fast_install 799with_aix_soname 800with_gnu_ld 801with_sysroot 802enable_libtool_lock 803enable_glibtest 804enable_gtk2 805enable_gtk3 806enable_debug 807' 808 ac_precious_vars='build_alias 809host_alias 810target_alias 811CC 812CFLAGS 813LDFLAGS 814LIBS 815CPPFLAGS 816LT_SYS_LIBRARY_PATH 817CPP 818PKG_CONFIG 819PKG_CONFIG_PATH 820PKG_CONFIG_LIBDIR' 821 822 823# Initialize some variables set by options. 824ac_init_help= 825ac_init_version=false 826ac_unrecognized_opts= 827ac_unrecognized_sep= 828# The variables have the same names as the options, with 829# dashes changed to underlines. 830cache_file=/dev/null 831exec_prefix=NONE 832no_create= 833no_recursion= 834prefix=NONE 835program_prefix=NONE 836program_suffix=NONE 837program_transform_name=s,x,x, 838silent= 839site= 840srcdir= 841verbose= 842x_includes=NONE 843x_libraries=NONE 844 845# Installation directory options. 846# These are left unexpanded so users can "make install exec_prefix=/foo" 847# and all the variables that are supposed to be based on exec_prefix 848# by default will actually change. 849# Use braces instead of parens because sh, perl, etc. also accept them. 850# (The list follows the same order as the GNU Coding Standards.) 851bindir='${exec_prefix}/bin' 852sbindir='${exec_prefix}/sbin' 853libexecdir='${exec_prefix}/libexec' 854datarootdir='${prefix}/share' 855datadir='${datarootdir}' 856sysconfdir='${prefix}/etc' 857sharedstatedir='${prefix}/com' 858localstatedir='${prefix}/var' 859includedir='${prefix}/include' 860oldincludedir='/usr/include' 861docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 862infodir='${datarootdir}/info' 863htmldir='${docdir}' 864dvidir='${docdir}' 865pdfdir='${docdir}' 866psdir='${docdir}' 867libdir='${exec_prefix}/lib' 868localedir='${datarootdir}/locale' 869mandir='${datarootdir}/man' 870 871ac_prev= 872ac_dashdash= 873for ac_option 874do 875 # If the previous option needs an argument, assign it. 876 if test -n "$ac_prev"; then 877 eval $ac_prev=\$ac_option 878 ac_prev= 879 continue 880 fi 881 882 case $ac_option in 883 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 884 *=) ac_optarg= ;; 885 *) ac_optarg=yes ;; 886 esac 887 888 # Accept the important Cygnus configure options, so we can diagnose typos. 889 890 case $ac_dashdash$ac_option in 891 --) 892 ac_dashdash=yes ;; 893 894 -bindir | --bindir | --bindi | --bind | --bin | --bi) 895 ac_prev=bindir ;; 896 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 897 bindir=$ac_optarg ;; 898 899 -build | --build | --buil | --bui | --bu) 900 ac_prev=build_alias ;; 901 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 902 build_alias=$ac_optarg ;; 903 904 -cache-file | --cache-file | --cache-fil | --cache-fi \ 905 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 906 ac_prev=cache_file ;; 907 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 908 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 909 cache_file=$ac_optarg ;; 910 911 --config-cache | -C) 912 cache_file=config.cache ;; 913 914 -datadir | --datadir | --datadi | --datad) 915 ac_prev=datadir ;; 916 -datadir=* | --datadir=* | --datadi=* | --datad=*) 917 datadir=$ac_optarg ;; 918 919 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 920 | --dataroo | --dataro | --datar) 921 ac_prev=datarootdir ;; 922 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 923 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 924 datarootdir=$ac_optarg ;; 925 926 -disable-* | --disable-*) 927 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 928 # Reject names that are not valid shell variable names. 929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 930 as_fn_error $? "invalid feature name: $ac_useropt" 931 ac_useropt_orig=$ac_useropt 932 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 933 case $ac_user_opts in 934 *" 935"enable_$ac_useropt" 936"*) ;; 937 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 938 ac_unrecognized_sep=', ';; 939 esac 940 eval enable_$ac_useropt=no ;; 941 942 -docdir | --docdir | --docdi | --doc | --do) 943 ac_prev=docdir ;; 944 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 945 docdir=$ac_optarg ;; 946 947 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 948 ac_prev=dvidir ;; 949 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 950 dvidir=$ac_optarg ;; 951 952 -enable-* | --enable-*) 953 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 954 # Reject names that are not valid shell variable names. 955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 956 as_fn_error $? "invalid feature name: $ac_useropt" 957 ac_useropt_orig=$ac_useropt 958 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 959 case $ac_user_opts in 960 *" 961"enable_$ac_useropt" 962"*) ;; 963 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 964 ac_unrecognized_sep=', ';; 965 esac 966 eval enable_$ac_useropt=\$ac_optarg ;; 967 968 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 969 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 970 | --exec | --exe | --ex) 971 ac_prev=exec_prefix ;; 972 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 973 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 974 | --exec=* | --exe=* | --ex=*) 975 exec_prefix=$ac_optarg ;; 976 977 -gas | --gas | --ga | --g) 978 # Obsolete; use --with-gas. 979 with_gas=yes ;; 980 981 -help | --help | --hel | --he | -h) 982 ac_init_help=long ;; 983 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 984 ac_init_help=recursive ;; 985 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 986 ac_init_help=short ;; 987 988 -host | --host | --hos | --ho) 989 ac_prev=host_alias ;; 990 -host=* | --host=* | --hos=* | --ho=*) 991 host_alias=$ac_optarg ;; 992 993 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 994 ac_prev=htmldir ;; 995 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 996 | --ht=*) 997 htmldir=$ac_optarg ;; 998 999 -includedir | --includedir | --includedi | --included | --include \ 1000 | --includ | --inclu | --incl | --inc) 1001 ac_prev=includedir ;; 1002 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1003 | --includ=* | --inclu=* | --incl=* | --inc=*) 1004 includedir=$ac_optarg ;; 1005 1006 -infodir | --infodir | --infodi | --infod | --info | --inf) 1007 ac_prev=infodir ;; 1008 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1009 infodir=$ac_optarg ;; 1010 1011 -libdir | --libdir | --libdi | --libd) 1012 ac_prev=libdir ;; 1013 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1014 libdir=$ac_optarg ;; 1015 1016 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1017 | --libexe | --libex | --libe) 1018 ac_prev=libexecdir ;; 1019 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1020 | --libexe=* | --libex=* | --libe=*) 1021 libexecdir=$ac_optarg ;; 1022 1023 -localedir | --localedir | --localedi | --localed | --locale) 1024 ac_prev=localedir ;; 1025 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1026 localedir=$ac_optarg ;; 1027 1028 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1029 | --localstate | --localstat | --localsta | --localst | --locals) 1030 ac_prev=localstatedir ;; 1031 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1032 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1033 localstatedir=$ac_optarg ;; 1034 1035 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1036 ac_prev=mandir ;; 1037 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1038 mandir=$ac_optarg ;; 1039 1040 -nfp | --nfp | --nf) 1041 # Obsolete; use --without-fp. 1042 with_fp=no ;; 1043 1044 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1045 | --no-cr | --no-c | -n) 1046 no_create=yes ;; 1047 1048 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1049 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1050 no_recursion=yes ;; 1051 1052 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1053 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1054 | --oldin | --oldi | --old | --ol | --o) 1055 ac_prev=oldincludedir ;; 1056 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1057 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1058 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1059 oldincludedir=$ac_optarg ;; 1060 1061 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1062 ac_prev=prefix ;; 1063 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1064 prefix=$ac_optarg ;; 1065 1066 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1067 | --program-pre | --program-pr | --program-p) 1068 ac_prev=program_prefix ;; 1069 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1070 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1071 program_prefix=$ac_optarg ;; 1072 1073 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1074 | --program-suf | --program-su | --program-s) 1075 ac_prev=program_suffix ;; 1076 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1077 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1078 program_suffix=$ac_optarg ;; 1079 1080 -program-transform-name | --program-transform-name \ 1081 | --program-transform-nam | --program-transform-na \ 1082 | --program-transform-n | --program-transform- \ 1083 | --program-transform | --program-transfor \ 1084 | --program-transfo | --program-transf \ 1085 | --program-trans | --program-tran \ 1086 | --progr-tra | --program-tr | --program-t) 1087 ac_prev=program_transform_name ;; 1088 -program-transform-name=* | --program-transform-name=* \ 1089 | --program-transform-nam=* | --program-transform-na=* \ 1090 | --program-transform-n=* | --program-transform-=* \ 1091 | --program-transform=* | --program-transfor=* \ 1092 | --program-transfo=* | --program-transf=* \ 1093 | --program-trans=* | --program-tran=* \ 1094 | --progr-tra=* | --program-tr=* | --program-t=*) 1095 program_transform_name=$ac_optarg ;; 1096 1097 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1098 ac_prev=pdfdir ;; 1099 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1100 pdfdir=$ac_optarg ;; 1101 1102 -psdir | --psdir | --psdi | --psd | --ps) 1103 ac_prev=psdir ;; 1104 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1105 psdir=$ac_optarg ;; 1106 1107 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1108 | -silent | --silent | --silen | --sile | --sil) 1109 silent=yes ;; 1110 1111 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1112 ac_prev=sbindir ;; 1113 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1114 | --sbi=* | --sb=*) 1115 sbindir=$ac_optarg ;; 1116 1117 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1118 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1119 | --sharedst | --shareds | --shared | --share | --shar \ 1120 | --sha | --sh) 1121 ac_prev=sharedstatedir ;; 1122 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1123 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1124 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1125 | --sha=* | --sh=*) 1126 sharedstatedir=$ac_optarg ;; 1127 1128 -site | --site | --sit) 1129 ac_prev=site ;; 1130 -site=* | --site=* | --sit=*) 1131 site=$ac_optarg ;; 1132 1133 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1134 ac_prev=srcdir ;; 1135 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1136 srcdir=$ac_optarg ;; 1137 1138 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1139 | --syscon | --sysco | --sysc | --sys | --sy) 1140 ac_prev=sysconfdir ;; 1141 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1142 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1143 sysconfdir=$ac_optarg ;; 1144 1145 -target | --target | --targe | --targ | --tar | --ta | --t) 1146 ac_prev=target_alias ;; 1147 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1148 target_alias=$ac_optarg ;; 1149 1150 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1151 verbose=yes ;; 1152 1153 -version | --version | --versio | --versi | --vers | -V) 1154 ac_init_version=: ;; 1155 1156 -with-* | --with-*) 1157 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1158 # Reject names that are not valid shell variable names. 1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1160 as_fn_error $? "invalid package name: $ac_useropt" 1161 ac_useropt_orig=$ac_useropt 1162 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1163 case $ac_user_opts in 1164 *" 1165"with_$ac_useropt" 1166"*) ;; 1167 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1168 ac_unrecognized_sep=', ';; 1169 esac 1170 eval with_$ac_useropt=\$ac_optarg ;; 1171 1172 -without-* | --without-*) 1173 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1174 # Reject names that are not valid shell variable names. 1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1176 as_fn_error $? "invalid package name: $ac_useropt" 1177 ac_useropt_orig=$ac_useropt 1178 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1179 case $ac_user_opts in 1180 *" 1181"with_$ac_useropt" 1182"*) ;; 1183 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1184 ac_unrecognized_sep=', ';; 1185 esac 1186 eval with_$ac_useropt=no ;; 1187 1188 --x) 1189 # Obsolete; use --with-x. 1190 with_x=yes ;; 1191 1192 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1193 | --x-incl | --x-inc | --x-in | --x-i) 1194 ac_prev=x_includes ;; 1195 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1196 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1197 x_includes=$ac_optarg ;; 1198 1199 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1200 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1201 ac_prev=x_libraries ;; 1202 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1203 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1204 x_libraries=$ac_optarg ;; 1205 1206 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1207Try \`$0 --help' for more information" 1208 ;; 1209 1210 *=*) 1211 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1212 # Reject names that are not valid shell variable names. 1213 case $ac_envvar in #( 1214 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1215 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1216 esac 1217 eval $ac_envvar=\$ac_optarg 1218 export $ac_envvar ;; 1219 1220 *) 1221 # FIXME: should be removed in autoconf 3.0. 1222 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1223 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1224 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1225 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1226 ;; 1227 1228 esac 1229done 1230 1231if test -n "$ac_prev"; then 1232 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1233 as_fn_error $? "missing argument to $ac_option" 1234fi 1235 1236if test -n "$ac_unrecognized_opts"; then 1237 case $enable_option_checking in 1238 no) ;; 1239 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1240 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1241 esac 1242fi 1243 1244# Check all directory arguments for consistency. 1245for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1246 datadir sysconfdir sharedstatedir localstatedir includedir \ 1247 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1248 libdir localedir mandir 1249do 1250 eval ac_val=\$$ac_var 1251 # Remove trailing slashes. 1252 case $ac_val in 1253 */ ) 1254 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1255 eval $ac_var=\$ac_val;; 1256 esac 1257 # Be sure to have absolute directory names. 1258 case $ac_val in 1259 [\\/$]* | ?:[\\/]* ) continue;; 1260 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1261 esac 1262 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1263done 1264 1265# There might be people who depend on the old broken behavior: `$host' 1266# used to hold the argument of --host etc. 1267# FIXME: To remove some day. 1268build=$build_alias 1269host=$host_alias 1270target=$target_alias 1271 1272# FIXME: To remove some day. 1273if test "x$host_alias" != x; then 1274 if test "x$build_alias" = x; then 1275 cross_compiling=maybe 1276 elif test "x$build_alias" != "x$host_alias"; then 1277 cross_compiling=yes 1278 fi 1279fi 1280 1281ac_tool_prefix= 1282test -n "$host_alias" && ac_tool_prefix=$host_alias- 1283 1284test "$silent" = yes && exec 6>/dev/null 1285 1286 1287ac_pwd=`pwd` && test -n "$ac_pwd" && 1288ac_ls_di=`ls -di .` && 1289ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1290 as_fn_error $? "working directory cannot be determined" 1291test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1292 as_fn_error $? "pwd does not report name of working directory" 1293 1294 1295# Find the source files, if location was not specified. 1296if test -z "$srcdir"; then 1297 ac_srcdir_defaulted=yes 1298 # Try the directory containing this script, then the parent directory. 1299 ac_confdir=`$as_dirname -- "$as_myself" || 1300$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1301 X"$as_myself" : 'X\(//\)[^/]' \| \ 1302 X"$as_myself" : 'X\(//\)$' \| \ 1303 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1304$as_echo X"$as_myself" | 1305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1306 s//\1/ 1307 q 1308 } 1309 /^X\(\/\/\)[^/].*/{ 1310 s//\1/ 1311 q 1312 } 1313 /^X\(\/\/\)$/{ 1314 s//\1/ 1315 q 1316 } 1317 /^X\(\/\).*/{ 1318 s//\1/ 1319 q 1320 } 1321 s/.*/./; q'` 1322 srcdir=$ac_confdir 1323 if test ! -r "$srcdir/$ac_unique_file"; then 1324 srcdir=.. 1325 fi 1326else 1327 ac_srcdir_defaulted=no 1328fi 1329if test ! -r "$srcdir/$ac_unique_file"; then 1330 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1331 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1332fi 1333ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1334ac_abs_confdir=`( 1335 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1336 pwd)` 1337# When building in place, set srcdir=. 1338if test "$ac_abs_confdir" = "$ac_pwd"; then 1339 srcdir=. 1340fi 1341# Remove unnecessary trailing slashes from srcdir. 1342# Double slashes in file names in object file debugging info 1343# mess up M-x gdb in Emacs. 1344case $srcdir in 1345*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1346esac 1347for ac_var in $ac_precious_vars; do 1348 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1349 eval ac_env_${ac_var}_value=\$${ac_var} 1350 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1351 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1352done 1353 1354# 1355# Report the --help message. 1356# 1357if test "$ac_init_help" = "long"; then 1358 # Omit some internal or obsolete options to make the list less imposing. 1359 # This message is too long to be a string in the A/UX 3.1 sh. 1360 cat <<_ACEOF 1361\`configure' configures gtk-xfce-engine 3.2.0 to adapt to many kinds of systems. 1362 1363Usage: $0 [OPTION]... [VAR=VALUE]... 1364 1365To assign environment variables (e.g., CC, CFLAGS...), specify them as 1366VAR=VALUE. See below for descriptions of some of the useful variables. 1367 1368Defaults for the options are specified in brackets. 1369 1370Configuration: 1371 -h, --help display this help and exit 1372 --help=short display options specific to this package 1373 --help=recursive display the short help of all the included packages 1374 -V, --version display version information and exit 1375 -q, --quiet, --silent do not print \`checking ...' messages 1376 --cache-file=FILE cache test results in FILE [disabled] 1377 -C, --config-cache alias for \`--cache-file=config.cache' 1378 -n, --no-create do not create output files 1379 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1380 1381Installation directories: 1382 --prefix=PREFIX install architecture-independent files in PREFIX 1383 [$ac_default_prefix] 1384 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1385 [PREFIX] 1386 1387By default, \`make install' will install all the files in 1388\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1389an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1390for instance \`--prefix=\$HOME'. 1391 1392For better control, use the options below. 1393 1394Fine tuning of the installation directories: 1395 --bindir=DIR user executables [EPREFIX/bin] 1396 --sbindir=DIR system admin executables [EPREFIX/sbin] 1397 --libexecdir=DIR program executables [EPREFIX/libexec] 1398 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1399 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1400 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1401 --libdir=DIR object code libraries [EPREFIX/lib] 1402 --includedir=DIR C header files [PREFIX/include] 1403 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1404 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1405 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1406 --infodir=DIR info documentation [DATAROOTDIR/info] 1407 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1408 --mandir=DIR man documentation [DATAROOTDIR/man] 1409 --docdir=DIR documentation root [DATAROOTDIR/doc/gtk-xfce-engine] 1410 --htmldir=DIR html documentation [DOCDIR] 1411 --dvidir=DIR dvi documentation [DOCDIR] 1412 --pdfdir=DIR pdf documentation [DOCDIR] 1413 --psdir=DIR ps documentation [DOCDIR] 1414_ACEOF 1415 1416 cat <<\_ACEOF 1417 1418Program names: 1419 --program-prefix=PREFIX prepend PREFIX to installed program names 1420 --program-suffix=SUFFIX append SUFFIX to installed program names 1421 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1422 1423System types: 1424 --build=BUILD configure for building on BUILD [guessed] 1425 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1426_ACEOF 1427fi 1428 1429if test -n "$ac_init_help"; then 1430 case $ac_init_help in 1431 short | recursive ) echo "Configuration of gtk-xfce-engine 3.2.0:";; 1432 esac 1433 cat <<\_ACEOF 1434 1435Optional Features: 1436 --disable-option-checking ignore unrecognized --enable/--with options 1437 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1438 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1439 --enable-silent-rules less verbose build output (undo: "make V=1") 1440 --disable-silent-rules verbose build output (undo: "make V=0") 1441 --enable-maintainer-mode 1442 enable make rules and dependencies not useful (and 1443 sometimes confusing) to the casual installer 1444 --enable-dependency-tracking 1445 do not reject slow dependency extractors 1446 --disable-dependency-tracking 1447 speeds up one-time build 1448 --enable-static[=PKGS] build static libraries [default=no] 1449 --enable-shared[=PKGS] build shared libraries [default=yes] 1450 --enable-fast-install[=PKGS] 1451 optimize for fast installation [default=yes] 1452 --disable-libtool-lock avoid locking (might break parallel builds) 1453 --disable-glibtest do not try to compile and run a test GLIB program 1454 --enable-gtk2 Enable checking for Gtk 2 theme engine 1455 (default=[]) 1456 --disable-gtk2 Disable checking for Gtk 2 theme engine 1457 --enable-gtk3 Enable checking for Gtk 3 theme engine 1458 (default=[no]) 1459 --disable-gtk3 Disable checking for Gtk 3 theme engine 1460 --enable-debug[=no|minimum|yes|full] 1461 Build with debugging support 1462 [default=[minimum]] 1463 --disable-debug Include no debugging support 1464 1465Optional Packages: 1466 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1467 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1468 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1469 both] 1470 --with-aix-soname=aix|svr4|both 1471 shared library versioning (aka "SONAME") variant to 1472 provide on AIX, [default=aix]. 1473 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1474 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1475 compiler's sysroot if not specified). 1476 1477Some influential environment variables: 1478 CC C compiler command 1479 CFLAGS C compiler flags 1480 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1481 nonstandard directory <lib dir> 1482 LIBS libraries to pass to the linker, e.g. -l<library> 1483 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1484 you have headers in a nonstandard directory <include dir> 1485 LT_SYS_LIBRARY_PATH 1486 User-defined run-time library search path. 1487 CPP C preprocessor 1488 PKG_CONFIG path to pkg-config utility 1489 PKG_CONFIG_PATH 1490 directories to add to pkg-config's search path 1491 PKG_CONFIG_LIBDIR 1492 path overriding pkg-config's built-in search path 1493 1494Use these variables to override the choices made by `configure' or to help 1495it to find libraries and programs with nonstandard names/locations. 1496 1497Report bugs to <http://bugzilla.xfce.org/>. 1498_ACEOF 1499ac_status=$? 1500fi 1501 1502if test "$ac_init_help" = "recursive"; then 1503 # If there are subdirs, report their specific --help. 1504 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1505 test -d "$ac_dir" || 1506 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1507 continue 1508 ac_builddir=. 1509 1510case "$ac_dir" in 1511.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1512*) 1513 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1514 # A ".." for each directory in $ac_dir_suffix. 1515 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1516 case $ac_top_builddir_sub in 1517 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1518 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1519 esac ;; 1520esac 1521ac_abs_top_builddir=$ac_pwd 1522ac_abs_builddir=$ac_pwd$ac_dir_suffix 1523# for backward compatibility: 1524ac_top_builddir=$ac_top_build_prefix 1525 1526case $srcdir in 1527 .) # We are building in place. 1528 ac_srcdir=. 1529 ac_top_srcdir=$ac_top_builddir_sub 1530 ac_abs_top_srcdir=$ac_pwd ;; 1531 [\\/]* | ?:[\\/]* ) # Absolute name. 1532 ac_srcdir=$srcdir$ac_dir_suffix; 1533 ac_top_srcdir=$srcdir 1534 ac_abs_top_srcdir=$srcdir ;; 1535 *) # Relative name. 1536 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1537 ac_top_srcdir=$ac_top_build_prefix$srcdir 1538 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1539esac 1540ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1541 1542 cd "$ac_dir" || { ac_status=$?; continue; } 1543 # Check for guested configure. 1544 if test -f "$ac_srcdir/configure.gnu"; then 1545 echo && 1546 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1547 elif test -f "$ac_srcdir/configure"; then 1548 echo && 1549 $SHELL "$ac_srcdir/configure" --help=recursive 1550 else 1551 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1552 fi || ac_status=$? 1553 cd "$ac_pwd" || { ac_status=$?; break; } 1554 done 1555fi 1556 1557test -n "$ac_init_help" && exit $ac_status 1558if $ac_init_version; then 1559 cat <<\_ACEOF 1560gtk-xfce-engine configure 3.2.0 1561generated by GNU Autoconf 2.69 1562 1563Copyright (C) 2012 Free Software Foundation, Inc. 1564This configure script is free software; the Free Software Foundation 1565gives unlimited permission to copy, distribute and modify it. 1566 1567Copyright (c) 2002-2012 The Xfce development team. All rights reserved. 1568_ACEOF 1569 exit 1570fi 1571 1572## ------------------------ ## 1573## Autoconf initialization. ## 1574## ------------------------ ## 1575 1576# ac_fn_c_try_compile LINENO 1577# -------------------------- 1578# Try to compile conftest.$ac_ext, and return whether this succeeded. 1579ac_fn_c_try_compile () 1580{ 1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1582 rm -f conftest.$ac_objext 1583 if { { ac_try="$ac_compile" 1584case "(($ac_try" in 1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1586 *) ac_try_echo=$ac_try;; 1587esac 1588eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1589$as_echo "$ac_try_echo"; } >&5 1590 (eval "$ac_compile") 2>conftest.err 1591 ac_status=$? 1592 if test -s conftest.err; then 1593 grep -v '^ *+' conftest.err >conftest.er1 1594 cat conftest.er1 >&5 1595 mv -f conftest.er1 conftest.err 1596 fi 1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1598 test $ac_status = 0; } && { 1599 test -z "$ac_c_werror_flag" || 1600 test ! -s conftest.err 1601 } && test -s conftest.$ac_objext; then : 1602 ac_retval=0 1603else 1604 $as_echo "$as_me: failed program was:" >&5 1605sed 's/^/| /' conftest.$ac_ext >&5 1606 1607 ac_retval=1 1608fi 1609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1610 as_fn_set_status $ac_retval 1611 1612} # ac_fn_c_try_compile 1613 1614# ac_fn_c_try_link LINENO 1615# ----------------------- 1616# Try to link conftest.$ac_ext, and return whether this succeeded. 1617ac_fn_c_try_link () 1618{ 1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1620 rm -f conftest.$ac_objext conftest$ac_exeext 1621 if { { ac_try="$ac_link" 1622case "(($ac_try" in 1623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1624 *) ac_try_echo=$ac_try;; 1625esac 1626eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1627$as_echo "$ac_try_echo"; } >&5 1628 (eval "$ac_link") 2>conftest.err 1629 ac_status=$? 1630 if test -s conftest.err; then 1631 grep -v '^ *+' conftest.err >conftest.er1 1632 cat conftest.er1 >&5 1633 mv -f conftest.er1 conftest.err 1634 fi 1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1636 test $ac_status = 0; } && { 1637 test -z "$ac_c_werror_flag" || 1638 test ! -s conftest.err 1639 } && test -s conftest$ac_exeext && { 1640 test "$cross_compiling" = yes || 1641 test -x conftest$ac_exeext 1642 }; then : 1643 ac_retval=0 1644else 1645 $as_echo "$as_me: failed program was:" >&5 1646sed 's/^/| /' conftest.$ac_ext >&5 1647 1648 ac_retval=1 1649fi 1650 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1651 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1652 # interfere with the next link command; also delete a directory that is 1653 # left behind by Apple's compiler. We do this before executing the actions. 1654 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1656 as_fn_set_status $ac_retval 1657 1658} # ac_fn_c_try_link 1659 1660# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1661# ------------------------------------------------------- 1662# Tests whether HEADER exists and can be compiled using the include files in 1663# INCLUDES, setting the cache variable VAR accordingly. 1664ac_fn_c_check_header_compile () 1665{ 1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1668$as_echo_n "checking for $2... " >&6; } 1669if eval \${$3+:} false; then : 1670 $as_echo_n "(cached) " >&6 1671else 1672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1673/* end confdefs.h. */ 1674$4 1675#include <$2> 1676_ACEOF 1677if ac_fn_c_try_compile "$LINENO"; then : 1678 eval "$3=yes" 1679else 1680 eval "$3=no" 1681fi 1682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1683fi 1684eval ac_res=\$$3 1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1686$as_echo "$ac_res" >&6; } 1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1688 1689} # ac_fn_c_check_header_compile 1690 1691# ac_fn_c_try_cpp LINENO 1692# ---------------------- 1693# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1694ac_fn_c_try_cpp () 1695{ 1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1697 if { { ac_try="$ac_cpp conftest.$ac_ext" 1698case "(($ac_try" in 1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1700 *) ac_try_echo=$ac_try;; 1701esac 1702eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1703$as_echo "$ac_try_echo"; } >&5 1704 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1705 ac_status=$? 1706 if test -s conftest.err; then 1707 grep -v '^ *+' conftest.err >conftest.er1 1708 cat conftest.er1 >&5 1709 mv -f conftest.er1 conftest.err 1710 fi 1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1712 test $ac_status = 0; } > conftest.i && { 1713 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1714 test ! -s conftest.err 1715 }; then : 1716 ac_retval=0 1717else 1718 $as_echo "$as_me: failed program was:" >&5 1719sed 's/^/| /' conftest.$ac_ext >&5 1720 1721 ac_retval=1 1722fi 1723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1724 as_fn_set_status $ac_retval 1725 1726} # ac_fn_c_try_cpp 1727 1728# ac_fn_c_try_run LINENO 1729# ---------------------- 1730# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1731# that executables *can* be run. 1732ac_fn_c_try_run () 1733{ 1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1735 if { { ac_try="$ac_link" 1736case "(($ac_try" in 1737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1738 *) ac_try_echo=$ac_try;; 1739esac 1740eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1741$as_echo "$ac_try_echo"; } >&5 1742 (eval "$ac_link") 2>&5 1743 ac_status=$? 1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1745 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1746 { { case "(($ac_try" in 1747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1748 *) ac_try_echo=$ac_try;; 1749esac 1750eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1751$as_echo "$ac_try_echo"; } >&5 1752 (eval "$ac_try") 2>&5 1753 ac_status=$? 1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1755 test $ac_status = 0; }; }; then : 1756 ac_retval=0 1757else 1758 $as_echo "$as_me: program exited with status $ac_status" >&5 1759 $as_echo "$as_me: failed program was:" >&5 1760sed 's/^/| /' conftest.$ac_ext >&5 1761 1762 ac_retval=$ac_status 1763fi 1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1766 as_fn_set_status $ac_retval 1767 1768} # ac_fn_c_try_run 1769 1770# ac_fn_c_check_func LINENO FUNC VAR 1771# ---------------------------------- 1772# Tests whether FUNC exists, setting the cache variable VAR accordingly 1773ac_fn_c_check_func () 1774{ 1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1777$as_echo_n "checking for $2... " >&6; } 1778if eval \${$3+:} false; then : 1779 $as_echo_n "(cached) " >&6 1780else 1781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1782/* end confdefs.h. */ 1783/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1784 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1785#define $2 innocuous_$2 1786 1787/* System header to define __stub macros and hopefully few prototypes, 1788 which can conflict with char $2 (); below. 1789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1790 <limits.h> exists even on freestanding compilers. */ 1791 1792#ifdef __STDC__ 1793# include <limits.h> 1794#else 1795# include <assert.h> 1796#endif 1797 1798#undef $2 1799 1800/* Override any GCC internal prototype to avoid an error. 1801 Use char because int might match the return type of a GCC 1802 builtin and then its argument prototype would still apply. */ 1803#ifdef __cplusplus 1804extern "C" 1805#endif 1806char $2 (); 1807/* The GNU C library defines this for functions which it implements 1808 to always fail with ENOSYS. Some functions are actually named 1809 something starting with __ and the normal name is an alias. */ 1810#if defined __stub_$2 || defined __stub___$2 1811choke me 1812#endif 1813 1814int 1815main () 1816{ 1817return $2 (); 1818 ; 1819 return 0; 1820} 1821_ACEOF 1822if ac_fn_c_try_link "$LINENO"; then : 1823 eval "$3=yes" 1824else 1825 eval "$3=no" 1826fi 1827rm -f core conftest.err conftest.$ac_objext \ 1828 conftest$ac_exeext conftest.$ac_ext 1829fi 1830eval ac_res=\$$3 1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1832$as_echo "$ac_res" >&6; } 1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1834 1835} # ac_fn_c_check_func 1836cat >config.log <<_ACEOF 1837This file contains any messages produced by compilers while 1838running configure, to aid debugging if configure makes a mistake. 1839 1840It was created by gtk-xfce-engine $as_me 3.2.0, which was 1841generated by GNU Autoconf 2.69. Invocation command line was 1842 1843 $ $0 $@ 1844 1845_ACEOF 1846exec 5>>config.log 1847{ 1848cat <<_ASUNAME 1849## --------- ## 1850## Platform. ## 1851## --------- ## 1852 1853hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1854uname -m = `(uname -m) 2>/dev/null || echo unknown` 1855uname -r = `(uname -r) 2>/dev/null || echo unknown` 1856uname -s = `(uname -s) 2>/dev/null || echo unknown` 1857uname -v = `(uname -v) 2>/dev/null || echo unknown` 1858 1859/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1860/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1861 1862/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1863/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1864/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1865/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1866/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1867/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1868/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1869 1870_ASUNAME 1871 1872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1873for as_dir in $PATH 1874do 1875 IFS=$as_save_IFS 1876 test -z "$as_dir" && as_dir=. 1877 $as_echo "PATH: $as_dir" 1878 done 1879IFS=$as_save_IFS 1880 1881} >&5 1882 1883cat >&5 <<_ACEOF 1884 1885 1886## ----------- ## 1887## Core tests. ## 1888## ----------- ## 1889 1890_ACEOF 1891 1892 1893# Keep a trace of the command line. 1894# Strip out --no-create and --no-recursion so they do not pile up. 1895# Strip out --silent because we don't want to record it for future runs. 1896# Also quote any args containing shell meta-characters. 1897# Make two passes to allow for proper duplicate-argument suppression. 1898ac_configure_args= 1899ac_configure_args0= 1900ac_configure_args1= 1901ac_must_keep_next=false 1902for ac_pass in 1 2 1903do 1904 for ac_arg 1905 do 1906 case $ac_arg in 1907 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1908 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1909 | -silent | --silent | --silen | --sile | --sil) 1910 continue ;; 1911 *\'*) 1912 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1913 esac 1914 case $ac_pass in 1915 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1916 2) 1917 as_fn_append ac_configure_args1 " '$ac_arg'" 1918 if test $ac_must_keep_next = true; then 1919 ac_must_keep_next=false # Got value, back to normal. 1920 else 1921 case $ac_arg in 1922 *=* | --config-cache | -C | -disable-* | --disable-* \ 1923 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1924 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1925 | -with-* | --with-* | -without-* | --without-* | --x) 1926 case "$ac_configure_args0 " in 1927 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1928 esac 1929 ;; 1930 -* ) ac_must_keep_next=true ;; 1931 esac 1932 fi 1933 as_fn_append ac_configure_args " '$ac_arg'" 1934 ;; 1935 esac 1936 done 1937done 1938{ ac_configure_args0=; unset ac_configure_args0;} 1939{ ac_configure_args1=; unset ac_configure_args1;} 1940 1941# When interrupted or exit'd, cleanup temporary files, and complete 1942# config.log. We remove comments because anyway the quotes in there 1943# would cause problems or look ugly. 1944# WARNING: Use '\'' to represent an apostrophe within the trap. 1945# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1946trap 'exit_status=$? 1947 # Save into config.log some information that might help in debugging. 1948 { 1949 echo 1950 1951 $as_echo "## ---------------- ## 1952## Cache variables. ## 1953## ---------------- ##" 1954 echo 1955 # The following way of writing the cache mishandles newlines in values, 1956( 1957 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1958 eval ac_val=\$$ac_var 1959 case $ac_val in #( 1960 *${as_nl}*) 1961 case $ac_var in #( 1962 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1963$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1964 esac 1965 case $ac_var in #( 1966 _ | IFS | as_nl) ;; #( 1967 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1968 *) { eval $ac_var=; unset $ac_var;} ;; 1969 esac ;; 1970 esac 1971 done 1972 (set) 2>&1 | 1973 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1974 *${as_nl}ac_space=\ *) 1975 sed -n \ 1976 "s/'\''/'\''\\\\'\'''\''/g; 1977 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1978 ;; #( 1979 *) 1980 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1981 ;; 1982 esac | 1983 sort 1984) 1985 echo 1986 1987 $as_echo "## ----------------- ## 1988## Output variables. ## 1989## ----------------- ##" 1990 echo 1991 for ac_var in $ac_subst_vars 1992 do 1993 eval ac_val=\$$ac_var 1994 case $ac_val in 1995 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1996 esac 1997 $as_echo "$ac_var='\''$ac_val'\''" 1998 done | sort 1999 echo 2000 2001 if test -n "$ac_subst_files"; then 2002 $as_echo "## ------------------- ## 2003## File substitutions. ## 2004## ------------------- ##" 2005 echo 2006 for ac_var in $ac_subst_files 2007 do 2008 eval ac_val=\$$ac_var 2009 case $ac_val in 2010 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2011 esac 2012 $as_echo "$ac_var='\''$ac_val'\''" 2013 done | sort 2014 echo 2015 fi 2016 2017 if test -s confdefs.h; then 2018 $as_echo "## ----------- ## 2019## confdefs.h. ## 2020## ----------- ##" 2021 echo 2022 cat confdefs.h 2023 echo 2024 fi 2025 test "$ac_signal" != 0 && 2026 $as_echo "$as_me: caught signal $ac_signal" 2027 $as_echo "$as_me: exit $exit_status" 2028 } >&5 2029 rm -f core *.core core.conftest.* && 2030 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2031 exit $exit_status 2032' 0 2033for ac_signal in 1 2 13 15; do 2034 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2035done 2036ac_signal=0 2037 2038# confdefs.h avoids OS command line length limits that DEFS can exceed. 2039rm -f -r conftest* confdefs.h 2040 2041$as_echo "/* confdefs.h */" > confdefs.h 2042 2043# Predefined preprocessor variables. 2044 2045cat >>confdefs.h <<_ACEOF 2046#define PACKAGE_NAME "$PACKAGE_NAME" 2047_ACEOF 2048 2049cat >>confdefs.h <<_ACEOF 2050#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2051_ACEOF 2052 2053cat >>confdefs.h <<_ACEOF 2054#define PACKAGE_VERSION "$PACKAGE_VERSION" 2055_ACEOF 2056 2057cat >>confdefs.h <<_ACEOF 2058#define PACKAGE_STRING "$PACKAGE_STRING" 2059_ACEOF 2060 2061cat >>confdefs.h <<_ACEOF 2062#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2063_ACEOF 2064 2065cat >>confdefs.h <<_ACEOF 2066#define PACKAGE_URL "$PACKAGE_URL" 2067_ACEOF 2068 2069 2070# Let the site file select an alternate cache file if it wants to. 2071# Prefer an explicitly selected file to automatically selected ones. 2072ac_site_file1=NONE 2073ac_site_file2=NONE 2074if test -n "$CONFIG_SITE"; then 2075 # We do not want a PATH search for config.site. 2076 case $CONFIG_SITE in #(( 2077 -*) ac_site_file1=./$CONFIG_SITE;; 2078 */*) ac_site_file1=$CONFIG_SITE;; 2079 *) ac_site_file1=./$CONFIG_SITE;; 2080 esac 2081elif test "x$prefix" != xNONE; then 2082 ac_site_file1=$prefix/share/config.site 2083 ac_site_file2=$prefix/etc/config.site 2084else 2085 ac_site_file1=$ac_default_prefix/share/config.site 2086 ac_site_file2=$ac_default_prefix/etc/config.site 2087fi 2088for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2089do 2090 test "x$ac_site_file" = xNONE && continue 2091 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2092 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2093$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2094 sed 's/^/| /' "$ac_site_file" >&5 2095 . "$ac_site_file" \ 2096 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2097$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2098as_fn_error $? "failed to load site script $ac_site_file 2099See \`config.log' for more details" "$LINENO" 5; } 2100 fi 2101done 2102 2103if test -r "$cache_file"; then 2104 # Some versions of bash will fail to source /dev/null (special files 2105 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2106 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2107 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2108$as_echo "$as_me: loading cache $cache_file" >&6;} 2109 case $cache_file in 2110 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2111 *) . "./$cache_file";; 2112 esac 2113 fi 2114else 2115 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2116$as_echo "$as_me: creating cache $cache_file" >&6;} 2117 >$cache_file 2118fi 2119 2120# Check that the precious variables saved in the cache have kept the same 2121# value. 2122ac_cache_corrupted=false 2123for ac_var in $ac_precious_vars; do 2124 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2125 eval ac_new_set=\$ac_env_${ac_var}_set 2126 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2127 eval ac_new_val=\$ac_env_${ac_var}_value 2128 case $ac_old_set,$ac_new_set in 2129 set,) 2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2131$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2132 ac_cache_corrupted=: ;; 2133 ,set) 2134 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2135$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2136 ac_cache_corrupted=: ;; 2137 ,);; 2138 *) 2139 if test "x$ac_old_val" != "x$ac_new_val"; then 2140 # differences in whitespace do not lead to failure. 2141 ac_old_val_w=`echo x $ac_old_val` 2142 ac_new_val_w=`echo x $ac_new_val` 2143 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2144 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2145$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2146 ac_cache_corrupted=: 2147 else 2148 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2149$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2150 eval $ac_var=\$ac_old_val 2151 fi 2152 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2153$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2154 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2155$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2156 fi;; 2157 esac 2158 # Pass precious variables to config.status. 2159 if test "$ac_new_set" = set; then 2160 case $ac_new_val in 2161 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2162 *) ac_arg=$ac_var=$ac_new_val ;; 2163 esac 2164 case " $ac_configure_args " in 2165 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2166 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2167 esac 2168 fi 2169done 2170if $ac_cache_corrupted; then 2171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2172$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2173 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2174$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2175 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2176fi 2177## -------------------- ## 2178## Main body of script. ## 2179## -------------------- ## 2180 2181ac_ext=c 2182ac_cpp='$CPP $CPPFLAGS' 2183ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2184ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2185ac_compiler_gnu=$ac_cv_c_compiler_gnu 2186 2187 2188 2189 2190 2191ac_config_headers="$ac_config_headers config.h" 2192 2193am__api_version='1.15' 2194 2195ac_aux_dir= 2196for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2197 if test -f "$ac_dir/install-sh"; then 2198 ac_aux_dir=$ac_dir 2199 ac_install_sh="$ac_aux_dir/install-sh -c" 2200 break 2201 elif test -f "$ac_dir/install.sh"; then 2202 ac_aux_dir=$ac_dir 2203 ac_install_sh="$ac_aux_dir/install.sh -c" 2204 break 2205 elif test -f "$ac_dir/shtool"; then 2206 ac_aux_dir=$ac_dir 2207 ac_install_sh="$ac_aux_dir/shtool install -c" 2208 break 2209 fi 2210done 2211if test -z "$ac_aux_dir"; then 2212 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2213fi 2214 2215# These three variables are undocumented and unsupported, 2216# and are intended to be withdrawn in a future Autoconf release. 2217# They can cause serious problems if a builder's source tree is in a directory 2218# whose full name contains unusual characters. 2219ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2220ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2221ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2222 2223 2224# Find a good install program. We prefer a C program (faster), 2225# so one script is as good as another. But avoid the broken or 2226# incompatible versions: 2227# SysV /etc/install, /usr/sbin/install 2228# SunOS /usr/etc/install 2229# IRIX /sbin/install 2230# AIX /bin/install 2231# AmigaOS /C/install, which installs bootblocks on floppy discs 2232# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2233# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2234# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2235# OS/2's system install, which has a completely different semantic 2236# ./install, which can be erroneously created by make from ./install.sh. 2237# Reject install programs that cannot install multiple files. 2238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2239$as_echo_n "checking for a BSD-compatible install... " >&6; } 2240if test -z "$INSTALL"; then 2241if ${ac_cv_path_install+:} false; then : 2242 $as_echo_n "(cached) " >&6 2243else 2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2245for as_dir in $PATH 2246do 2247 IFS=$as_save_IFS 2248 test -z "$as_dir" && as_dir=. 2249 # Account for people who put trailing slashes in PATH elements. 2250case $as_dir/ in #(( 2251 ./ | .// | /[cC]/* | \ 2252 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2253 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2254 /usr/ucb/* ) ;; 2255 *) 2256 # OSF1 and SCO ODT 3.0 have their own names for install. 2257 # Don't use installbsd from OSF since it installs stuff as root 2258 # by default. 2259 for ac_prog in ginstall scoinst install; do 2260 for ac_exec_ext in '' $ac_executable_extensions; do 2261 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2262 if test $ac_prog = install && 2263 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2264 # AIX install. It has an incompatible calling convention. 2265 : 2266 elif test $ac_prog = install && 2267 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2268 # program-specific install script used by HP pwplus--don't use. 2269 : 2270 else 2271 rm -rf conftest.one conftest.two conftest.dir 2272 echo one > conftest.one 2273 echo two > conftest.two 2274 mkdir conftest.dir 2275 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2276 test -s conftest.one && test -s conftest.two && 2277 test -s conftest.dir/conftest.one && 2278 test -s conftest.dir/conftest.two 2279 then 2280 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2281 break 3 2282 fi 2283 fi 2284 fi 2285 done 2286 done 2287 ;; 2288esac 2289 2290 done 2291IFS=$as_save_IFS 2292 2293rm -rf conftest.one conftest.two conftest.dir 2294 2295fi 2296 if test "${ac_cv_path_install+set}" = set; then 2297 INSTALL=$ac_cv_path_install 2298 else 2299 # As a last resort, use the slow shell script. Don't cache a 2300 # value for INSTALL within a source directory, because that will 2301 # break other packages using the cache if that directory is 2302 # removed, or if the value is a relative name. 2303 INSTALL=$ac_install_sh 2304 fi 2305fi 2306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2307$as_echo "$INSTALL" >&6; } 2308 2309# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2310# It thinks the first close brace ends the variable substitution. 2311test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2312 2313test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2314 2315test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2316 2317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2318$as_echo_n "checking whether build environment is sane... " >&6; } 2319# Reject unsafe characters in $srcdir or the absolute working directory 2320# name. Accept space and tab only in the latter. 2321am_lf=' 2322' 2323case `pwd` in 2324 *[\\\"\#\$\&\'\`$am_lf]*) 2325 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2326esac 2327case $srcdir in 2328 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2329 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2330esac 2331 2332# Do 'set' in a subshell so we don't clobber the current shell's 2333# arguments. Must try -L first in case configure is actually a 2334# symlink; some systems play weird games with the mod time of symlinks 2335# (eg FreeBSD returns the mod time of the symlink's containing 2336# directory). 2337if ( 2338 am_has_slept=no 2339 for am_try in 1 2; do 2340 echo "timestamp, slept: $am_has_slept" > conftest.file 2341 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2342 if test "$*" = "X"; then 2343 # -L didn't work. 2344 set X `ls -t "$srcdir/configure" conftest.file` 2345 fi 2346 if test "$*" != "X $srcdir/configure conftest.file" \ 2347 && test "$*" != "X conftest.file $srcdir/configure"; then 2348 2349 # If neither matched, then we have a broken ls. This can happen 2350 # if, for instance, CONFIG_SHELL is bash and it inherits a 2351 # broken ls alias from the environment. This has actually 2352 # happened. Such a system could not be considered "sane". 2353 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2354 alias in your environment" "$LINENO" 5 2355 fi 2356 if test "$2" = conftest.file || test $am_try -eq 2; then 2357 break 2358 fi 2359 # Just in case. 2360 sleep 1 2361 am_has_slept=yes 2362 done 2363 test "$2" = conftest.file 2364 ) 2365then 2366 # Ok. 2367 : 2368else 2369 as_fn_error $? "newly created file is older than distributed files! 2370Check your system clock" "$LINENO" 5 2371fi 2372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2373$as_echo "yes" >&6; } 2374# If we didn't sleep, we still need to ensure time stamps of config.status and 2375# generated files are strictly newer. 2376am_sleep_pid= 2377if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2378 ( sleep 1 ) & 2379 am_sleep_pid=$! 2380fi 2381 2382rm -f conftest.file 2383 2384test "$program_prefix" != NONE && 2385 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2386# Use a double $ so make ignores it. 2387test "$program_suffix" != NONE && 2388 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2389# Double any \ or $. 2390# By default was `s,x,x', remove it if useless. 2391ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2392program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2393 2394# Expand $ac_aux_dir to an absolute path. 2395am_aux_dir=`cd "$ac_aux_dir" && pwd` 2396 2397if test x"${MISSING+set}" != xset; then 2398 case $am_aux_dir in 2399 *\ * | *\ *) 2400 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2401 *) 2402 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2403 esac 2404fi 2405# Use eval to expand $SHELL 2406if eval "$MISSING --is-lightweight"; then 2407 am_missing_run="$MISSING " 2408else 2409 am_missing_run= 2410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2411$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2412fi 2413 2414if test x"${install_sh+set}" != xset; then 2415 case $am_aux_dir in 2416 *\ * | *\ *) 2417 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2418 *) 2419 install_sh="\${SHELL} $am_aux_dir/install-sh" 2420 esac 2421fi 2422 2423# Installed binaries are usually stripped using 'strip' when the user 2424# run "make install-strip". However 'strip' might not be the right 2425# tool to use in cross-compilation environments, therefore Automake 2426# will honor the 'STRIP' environment variable to overrule this program. 2427if test "$cross_compiling" != no; then 2428 if test -n "$ac_tool_prefix"; then 2429 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2430set dummy ${ac_tool_prefix}strip; ac_word=$2 2431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2432$as_echo_n "checking for $ac_word... " >&6; } 2433if ${ac_cv_prog_STRIP+:} false; then : 2434 $as_echo_n "(cached) " >&6 2435else 2436 if test -n "$STRIP"; then 2437 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2438else 2439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2440for as_dir in $PATH 2441do 2442 IFS=$as_save_IFS 2443 test -z "$as_dir" && as_dir=. 2444 for ac_exec_ext in '' $ac_executable_extensions; do 2445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2446 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2448 break 2 2449 fi 2450done 2451 done 2452IFS=$as_save_IFS 2453 2454fi 2455fi 2456STRIP=$ac_cv_prog_STRIP 2457if test -n "$STRIP"; then 2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2459$as_echo "$STRIP" >&6; } 2460else 2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2462$as_echo "no" >&6; } 2463fi 2464 2465 2466fi 2467if test -z "$ac_cv_prog_STRIP"; then 2468 ac_ct_STRIP=$STRIP 2469 # Extract the first word of "strip", so it can be a program name with args. 2470set dummy strip; ac_word=$2 2471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2472$as_echo_n "checking for $ac_word... " >&6; } 2473if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2474 $as_echo_n "(cached) " >&6 2475else 2476 if test -n "$ac_ct_STRIP"; then 2477 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2478else 2479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2480for as_dir in $PATH 2481do 2482 IFS=$as_save_IFS 2483 test -z "$as_dir" && as_dir=. 2484 for ac_exec_ext in '' $ac_executable_extensions; do 2485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2486 ac_cv_prog_ac_ct_STRIP="strip" 2487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2488 break 2 2489 fi 2490done 2491 done 2492IFS=$as_save_IFS 2493 2494fi 2495fi 2496ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2497if test -n "$ac_ct_STRIP"; then 2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2499$as_echo "$ac_ct_STRIP" >&6; } 2500else 2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2502$as_echo "no" >&6; } 2503fi 2504 2505 if test "x$ac_ct_STRIP" = x; then 2506 STRIP=":" 2507 else 2508 case $cross_compiling:$ac_tool_warned in 2509yes:) 2510{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2511$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2512ac_tool_warned=yes ;; 2513esac 2514 STRIP=$ac_ct_STRIP 2515 fi 2516else 2517 STRIP="$ac_cv_prog_STRIP" 2518fi 2519 2520fi 2521INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2522 2523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2524$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2525if test -z "$MKDIR_P"; then 2526 if ${ac_cv_path_mkdir+:} false; then : 2527 $as_echo_n "(cached) " >&6 2528else 2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2530for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2531do 2532 IFS=$as_save_IFS 2533 test -z "$as_dir" && as_dir=. 2534 for ac_prog in mkdir gmkdir; do 2535 for ac_exec_ext in '' $ac_executable_extensions; do 2536 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2537 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2538 'mkdir (GNU coreutils) '* | \ 2539 'mkdir (coreutils) '* | \ 2540 'mkdir (fileutils) '4.1*) 2541 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2542 break 3;; 2543 esac 2544 done 2545 done 2546 done 2547IFS=$as_save_IFS 2548 2549fi 2550 2551 test -d ./--version && rmdir ./--version 2552 if test "${ac_cv_path_mkdir+set}" = set; then 2553 MKDIR_P="$ac_cv_path_mkdir -p" 2554 else 2555 # As a last resort, use the slow shell script. Don't cache a 2556 # value for MKDIR_P within a source directory, because that will 2557 # break other packages using the cache if that directory is 2558 # removed, or if the value is a relative name. 2559 MKDIR_P="$ac_install_sh -d" 2560 fi 2561fi 2562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2563$as_echo "$MKDIR_P" >&6; } 2564 2565for ac_prog in gawk mawk nawk awk 2566do 2567 # Extract the first word of "$ac_prog", so it can be a program name with args. 2568set dummy $ac_prog; ac_word=$2 2569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2570$as_echo_n "checking for $ac_word... " >&6; } 2571if ${ac_cv_prog_AWK+:} false; then : 2572 $as_echo_n "(cached) " >&6 2573else 2574 if test -n "$AWK"; then 2575 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2576else 2577as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2578for as_dir in $PATH 2579do 2580 IFS=$as_save_IFS 2581 test -z "$as_dir" && as_dir=. 2582 for ac_exec_ext in '' $ac_executable_extensions; do 2583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2584 ac_cv_prog_AWK="$ac_prog" 2585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2586 break 2 2587 fi 2588done 2589 done 2590IFS=$as_save_IFS 2591 2592fi 2593fi 2594AWK=$ac_cv_prog_AWK 2595if test -n "$AWK"; then 2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2597$as_echo "$AWK" >&6; } 2598else 2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2600$as_echo "no" >&6; } 2601fi 2602 2603 2604 test -n "$AWK" && break 2605done 2606 2607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2608$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2609set x ${MAKE-make} 2610ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2611if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2612 $as_echo_n "(cached) " >&6 2613else 2614 cat >conftest.make <<\_ACEOF 2615SHELL = /bin/sh 2616all: 2617 @echo '@@@%%%=$(MAKE)=@@@%%%' 2618_ACEOF 2619# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2620case `${MAKE-make} -f conftest.make 2>/dev/null` in 2621 *@@@%%%=?*=@@@%%%*) 2622 eval ac_cv_prog_make_${ac_make}_set=yes;; 2623 *) 2624 eval ac_cv_prog_make_${ac_make}_set=no;; 2625esac 2626rm -f conftest.make 2627fi 2628if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2630$as_echo "yes" >&6; } 2631 SET_MAKE= 2632else 2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2634$as_echo "no" >&6; } 2635 SET_MAKE="MAKE=${MAKE-make}" 2636fi 2637 2638rm -rf .tst 2>/dev/null 2639mkdir .tst 2>/dev/null 2640if test -d .tst; then 2641 am__leading_dot=. 2642else 2643 am__leading_dot=_ 2644fi 2645rmdir .tst 2>/dev/null 2646 2647# Check whether --enable-silent-rules was given. 2648if test "${enable_silent_rules+set}" = set; then : 2649 enableval=$enable_silent_rules; 2650fi 2651 2652case $enable_silent_rules in # ((( 2653 yes) AM_DEFAULT_VERBOSITY=0;; 2654 no) AM_DEFAULT_VERBOSITY=1;; 2655 *) AM_DEFAULT_VERBOSITY=1;; 2656esac 2657am_make=${MAKE-make} 2658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2659$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2660if ${am_cv_make_support_nested_variables+:} false; then : 2661 $as_echo_n "(cached) " >&6 2662else 2663 if $as_echo 'TRUE=$(BAR$(V)) 2664BAR0=false 2665BAR1=true 2666V=1 2667am__doit: 2668 @$(TRUE) 2669.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2670 am_cv_make_support_nested_variables=yes 2671else 2672 am_cv_make_support_nested_variables=no 2673fi 2674fi 2675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2676$as_echo "$am_cv_make_support_nested_variables" >&6; } 2677if test $am_cv_make_support_nested_variables = yes; then 2678 AM_V='$(V)' 2679 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2680else 2681 AM_V=$AM_DEFAULT_VERBOSITY 2682 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2683fi 2684AM_BACKSLASH='\' 2685 2686if test "`cd $srcdir && pwd`" != "`pwd`"; then 2687 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2688 # is not polluted with repeated "-I." 2689 am__isrc=' -I$(srcdir)' 2690 # test to see if srcdir already configured 2691 if test -f $srcdir/config.status; then 2692 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2693 fi 2694fi 2695 2696# test whether we have cygpath 2697if test -z "$CYGPATH_W"; then 2698 if (cygpath --version) >/dev/null 2>/dev/null; then 2699 CYGPATH_W='cygpath -w' 2700 else 2701 CYGPATH_W=echo 2702 fi 2703fi 2704 2705 2706# Define the identity of the package. 2707 PACKAGE='gtk-xfce-engine' 2708 VERSION='3.2.0' 2709 2710 2711cat >>confdefs.h <<_ACEOF 2712#define PACKAGE "$PACKAGE" 2713_ACEOF 2714 2715 2716cat >>confdefs.h <<_ACEOF 2717#define VERSION "$VERSION" 2718_ACEOF 2719 2720# Some tools Automake needs. 2721 2722ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2723 2724 2725AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2726 2727 2728AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2729 2730 2731AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2732 2733 2734MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2735 2736# For better backward compatibility. To be removed once Automake 1.9.x 2737# dies out for good. For more background, see: 2738# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2739# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2740mkdir_p='$(MKDIR_P)' 2741 2742# We need awk for the "check" target (and possibly the TAP driver). The 2743# system "awk" is bad on some platforms. 2744# Always define AMTAR for backward compatibility. Yes, it's still used 2745# in the wild :-( We should find a proper way to deprecate it ... 2746AMTAR='$${TAR-tar}' 2747 2748 2749# We'll loop over all known methods to create a tar archive until one works. 2750_am_tools='gnutar plaintar pax cpio none' 2751 2752# The POSIX 1988 'ustar' format is defined with fixed-size fields. 2753 # There is notably a 21 bits limit for the UID and the GID. In fact, 2754 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 2755 # and bug#13588). 2756 am_max_uid=2097151 # 2^21 - 1 2757 am_max_gid=$am_max_uid 2758 # The $UID and $GID variables are not portable, so we need to resort 2759 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 2760 # below are definitely unexpected, so allow the users to see them 2761 # (that is, avoid stderr redirection). 2762 am_uid=`id -u || echo unknown` 2763 am_gid=`id -g || echo unknown` 2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 2765$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 2766 if test $am_uid -le $am_max_uid; then 2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2768$as_echo "yes" >&6; } 2769 else 2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2771$as_echo "no" >&6; } 2772 _am_tools=none 2773 fi 2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 2775$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 2776 if test $am_gid -le $am_max_gid; then 2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2778$as_echo "yes" >&6; } 2779 else 2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2781$as_echo "no" >&6; } 2782 _am_tools=none 2783 fi 2784 2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 2786$as_echo_n "checking how to create a ustar tar archive... " >&6; } 2787 2788 # Go ahead even if we have the value already cached. We do so because we 2789 # need to set the values for the 'am__tar' and 'am__untar' variables. 2790 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 2791 2792 for _am_tool in $_am_tools; do 2793 case $_am_tool in 2794 gnutar) 2795 for _am_tar in tar gnutar gtar; do 2796 { echo "$as_me:$LINENO: $_am_tar --version" >&5 2797 ($_am_tar --version) >&5 2>&5 2798 ac_status=$? 2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2800 (exit $ac_status); } && break 2801 done 2802 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 2803 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 2804 am__untar="$_am_tar -xf -" 2805 ;; 2806 plaintar) 2807 # Must skip GNU tar: if it does not support --format= it doesn't create 2808 # ustar tarball either. 2809 (tar --version) >/dev/null 2>&1 && continue 2810 am__tar='tar chf - "$$tardir"' 2811 am__tar_='tar chf - "$tardir"' 2812 am__untar='tar xf -' 2813 ;; 2814 pax) 2815 am__tar='pax -L -x ustar -w "$$tardir"' 2816 am__tar_='pax -L -x ustar -w "$tardir"' 2817 am__untar='pax -r' 2818 ;; 2819 cpio) 2820 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 2821 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 2822 am__untar='cpio -i -H ustar -d' 2823 ;; 2824 none) 2825 am__tar=false 2826 am__tar_=false 2827 am__untar=false 2828 ;; 2829 esac 2830 2831 # If the value was cached, stop now. We just wanted to have am__tar 2832 # and am__untar set. 2833 test -n "${am_cv_prog_tar_ustar}" && break 2834 2835 # tar/untar a dummy directory, and stop if the command works. 2836 rm -rf conftest.dir 2837 mkdir conftest.dir 2838 echo GrepMe > conftest.dir/file 2839 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 2840 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 2841 ac_status=$? 2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2843 (exit $ac_status); } 2844 rm -rf conftest.dir 2845 if test -s conftest.tar; then 2846 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 2847 ($am__untar <conftest.tar) >&5 2>&5 2848 ac_status=$? 2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2850 (exit $ac_status); } 2851 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 2852 (cat conftest.dir/file) >&5 2>&5 2853 ac_status=$? 2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2855 (exit $ac_status); } 2856 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 2857 fi 2858 done 2859 rm -rf conftest.dir 2860 2861 if ${am_cv_prog_tar_ustar+:} false; then : 2862 $as_echo_n "(cached) " >&6 2863else 2864 am_cv_prog_tar_ustar=$_am_tool 2865fi 2866 2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 2868$as_echo "$am_cv_prog_tar_ustar" >&6; } 2869 2870 2871 2872 2873 2874 2875# POSIX will say in a future version that running "rm -f" with no argument 2876# is OK; and we want to be able to make that assumption in our Makefile 2877# recipes. So use an aggressive probe to check that the usage we want is 2878# actually supported "in the wild" to an acceptable degree. 2879# See automake bug#10828. 2880# To make any issue more visible, cause the running configure to be aborted 2881# by default if the 'rm' program in use doesn't match our expectations; the 2882# user can still override this though. 2883if rm -f && rm -fr && rm -rf; then : OK; else 2884 cat >&2 <<'END' 2885Oops! 2886 2887Your 'rm' program seems unable to run without file operands specified 2888on the command line, even when the '-f' option is present. This is contrary 2889to the behaviour of most rm programs out there, and not conforming with 2890the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2891 2892Please tell bug-automake@gnu.org about your system, including the value 2893of your $PATH and any error possibly output before this message. This 2894can help us improve future automake versions. 2895 2896END 2897 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2898 echo 'Configuration will proceed anyway, since you have set the' >&2 2899 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2900 echo >&2 2901 else 2902 cat >&2 <<'END' 2903Aborting the configuration process, to ensure you take notice of the issue. 2904 2905You can download and install GNU coreutils to get an 'rm' implementation 2906that behaves properly: <http://www.gnu.org/software/coreutils/>. 2907 2908If you want to complete the configuration process using your problematic 2909'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2910to "yes", and re-run configure. 2911 2912END 2913 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2914 fi 2915fi 2916 2917 2918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2919$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2920 # Check whether --enable-maintainer-mode was given. 2921if test "${enable_maintainer_mode+set}" = set; then : 2922 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2923else 2924 USE_MAINTAINER_MODE=no 2925fi 2926 2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2928$as_echo "$USE_MAINTAINER_MODE" >&6; } 2929 if test $USE_MAINTAINER_MODE = yes; then 2930 MAINTAINER_MODE_TRUE= 2931 MAINTAINER_MODE_FALSE='#' 2932else 2933 MAINTAINER_MODE_TRUE='#' 2934 MAINTAINER_MODE_FALSE= 2935fi 2936 2937 MAINT=$MAINTAINER_MODE_TRUE 2938 2939 2940# Check whether --enable-silent-rules was given. 2941if test "${enable_silent_rules+set}" = set; then : 2942 enableval=$enable_silent_rules; 2943fi 2944 2945case $enable_silent_rules in # ((( 2946 yes) AM_DEFAULT_VERBOSITY=0;; 2947 no) AM_DEFAULT_VERBOSITY=1;; 2948 *) AM_DEFAULT_VERBOSITY=0;; 2949esac 2950am_make=${MAKE-make} 2951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2952$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2953if ${am_cv_make_support_nested_variables+:} false; then : 2954 $as_echo_n "(cached) " >&6 2955else 2956 if $as_echo 'TRUE=$(BAR$(V)) 2957BAR0=false 2958BAR1=true 2959V=1 2960am__doit: 2961 @$(TRUE) 2962.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2963 am_cv_make_support_nested_variables=yes 2964else 2965 am_cv_make_support_nested_variables=no 2966fi 2967fi 2968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2969$as_echo "$am_cv_make_support_nested_variables" >&6; } 2970if test $am_cv_make_support_nested_variables = yes; then 2971 AM_V='$(V)' 2972 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2973else 2974 AM_V=$AM_DEFAULT_VERBOSITY 2975 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2976fi 2977AM_BACKSLASH='\' 2978 2979 2980ac_ext=c 2981ac_cpp='$CPP $CPPFLAGS' 2982ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2983ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2984ac_compiler_gnu=$ac_cv_c_compiler_gnu 2985if test -n "$ac_tool_prefix"; then 2986 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2987set dummy ${ac_tool_prefix}gcc; ac_word=$2 2988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2989$as_echo_n "checking for $ac_word... " >&6; } 2990if ${ac_cv_prog_CC+:} false; then : 2991 $as_echo_n "(cached) " >&6 2992else 2993 if test -n "$CC"; then 2994 ac_cv_prog_CC="$CC" # Let the user override the test. 2995else 2996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2997for as_dir in $PATH 2998do 2999 IFS=$as_save_IFS 3000 test -z "$as_dir" && as_dir=. 3001 for ac_exec_ext in '' $ac_executable_extensions; do 3002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3003 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3005 break 2 3006 fi 3007done 3008 done 3009IFS=$as_save_IFS 3010 3011fi 3012fi 3013CC=$ac_cv_prog_CC 3014if test -n "$CC"; then 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3016$as_echo "$CC" >&6; } 3017else 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3019$as_echo "no" >&6; } 3020fi 3021 3022 3023fi 3024if test -z "$ac_cv_prog_CC"; then 3025 ac_ct_CC=$CC 3026 # Extract the first word of "gcc", so it can be a program name with args. 3027set dummy gcc; ac_word=$2 3028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3029$as_echo_n "checking for $ac_word... " >&6; } 3030if ${ac_cv_prog_ac_ct_CC+:} false; then : 3031 $as_echo_n "(cached) " >&6 3032else 3033 if test -n "$ac_ct_CC"; then 3034 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3035else 3036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3037for as_dir in $PATH 3038do 3039 IFS=$as_save_IFS 3040 test -z "$as_dir" && as_dir=. 3041 for ac_exec_ext in '' $ac_executable_extensions; do 3042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3043 ac_cv_prog_ac_ct_CC="gcc" 3044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3045 break 2 3046 fi 3047done 3048 done 3049IFS=$as_save_IFS 3050 3051fi 3052fi 3053ac_ct_CC=$ac_cv_prog_ac_ct_CC 3054if test -n "$ac_ct_CC"; then 3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3056$as_echo "$ac_ct_CC" >&6; } 3057else 3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3059$as_echo "no" >&6; } 3060fi 3061 3062 if test "x$ac_ct_CC" = x; then 3063 CC="" 3064 else 3065 case $cross_compiling:$ac_tool_warned in 3066yes:) 3067{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3068$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3069ac_tool_warned=yes ;; 3070esac 3071 CC=$ac_ct_CC 3072 fi 3073else 3074 CC="$ac_cv_prog_CC" 3075fi 3076 3077if test -z "$CC"; then 3078 if test -n "$ac_tool_prefix"; then 3079 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3080set dummy ${ac_tool_prefix}cc; ac_word=$2 3081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3082$as_echo_n "checking for $ac_word... " >&6; } 3083if ${ac_cv_prog_CC+:} false; then : 3084 $as_echo_n "(cached) " >&6 3085else 3086 if test -n "$CC"; then 3087 ac_cv_prog_CC="$CC" # Let the user override the test. 3088else 3089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3090for as_dir in $PATH 3091do 3092 IFS=$as_save_IFS 3093 test -z "$as_dir" && as_dir=. 3094 for ac_exec_ext in '' $ac_executable_extensions; do 3095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3096 ac_cv_prog_CC="${ac_tool_prefix}cc" 3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3098 break 2 3099 fi 3100done 3101 done 3102IFS=$as_save_IFS 3103 3104fi 3105fi 3106CC=$ac_cv_prog_CC 3107if test -n "$CC"; then 3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3109$as_echo "$CC" >&6; } 3110else 3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3112$as_echo "no" >&6; } 3113fi 3114 3115 3116 fi 3117fi 3118if test -z "$CC"; then 3119 # Extract the first word of "cc", so it can be a program name with args. 3120set dummy cc; ac_word=$2 3121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3122$as_echo_n "checking for $ac_word... " >&6; } 3123if ${ac_cv_prog_CC+:} false; then : 3124 $as_echo_n "(cached) " >&6 3125else 3126 if test -n "$CC"; then 3127 ac_cv_prog_CC="$CC" # Let the user override the test. 3128else 3129 ac_prog_rejected=no 3130as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3131for as_dir in $PATH 3132do 3133 IFS=$as_save_IFS 3134 test -z "$as_dir" && as_dir=. 3135 for ac_exec_ext in '' $ac_executable_extensions; do 3136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3137 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3138 ac_prog_rejected=yes 3139 continue 3140 fi 3141 ac_cv_prog_CC="cc" 3142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3143 break 2 3144 fi 3145done 3146 done 3147IFS=$as_save_IFS 3148 3149if test $ac_prog_rejected = yes; then 3150 # We found a bogon in the path, so make sure we never use it. 3151 set dummy $ac_cv_prog_CC 3152 shift 3153 if test $# != 0; then 3154 # We chose a different compiler from the bogus one. 3155 # However, it has the same basename, so the bogon will be chosen 3156 # first if we set CC to just the basename; use the full file name. 3157 shift 3158 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3159 fi 3160fi 3161fi 3162fi 3163CC=$ac_cv_prog_CC 3164if test -n "$CC"; then 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3166$as_echo "$CC" >&6; } 3167else 3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3169$as_echo "no" >&6; } 3170fi 3171 3172 3173fi 3174if test -z "$CC"; then 3175 if test -n "$ac_tool_prefix"; then 3176 for ac_prog in cl.exe 3177 do 3178 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3179set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3181$as_echo_n "checking for $ac_word... " >&6; } 3182if ${ac_cv_prog_CC+:} false; then : 3183 $as_echo_n "(cached) " >&6 3184else 3185 if test -n "$CC"; then 3186 ac_cv_prog_CC="$CC" # Let the user override the test. 3187else 3188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3189for as_dir in $PATH 3190do 3191 IFS=$as_save_IFS 3192 test -z "$as_dir" && as_dir=. 3193 for ac_exec_ext in '' $ac_executable_extensions; do 3194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3195 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3197 break 2 3198 fi 3199done 3200 done 3201IFS=$as_save_IFS 3202 3203fi 3204fi 3205CC=$ac_cv_prog_CC 3206if test -n "$CC"; then 3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3208$as_echo "$CC" >&6; } 3209else 3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3211$as_echo "no" >&6; } 3212fi 3213 3214 3215 test -n "$CC" && break 3216 done 3217fi 3218if test -z "$CC"; then 3219 ac_ct_CC=$CC 3220 for ac_prog in cl.exe 3221do 3222 # Extract the first word of "$ac_prog", so it can be a program name with args. 3223set dummy $ac_prog; ac_word=$2 3224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3225$as_echo_n "checking for $ac_word... " >&6; } 3226if ${ac_cv_prog_ac_ct_CC+:} false; then : 3227 $as_echo_n "(cached) " >&6 3228else 3229 if test -n "$ac_ct_CC"; then 3230 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3231else 3232as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3233for as_dir in $PATH 3234do 3235 IFS=$as_save_IFS 3236 test -z "$as_dir" && as_dir=. 3237 for ac_exec_ext in '' $ac_executable_extensions; do 3238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3239 ac_cv_prog_ac_ct_CC="$ac_prog" 3240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3241 break 2 3242 fi 3243done 3244 done 3245IFS=$as_save_IFS 3246 3247fi 3248fi 3249ac_ct_CC=$ac_cv_prog_ac_ct_CC 3250if test -n "$ac_ct_CC"; then 3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3252$as_echo "$ac_ct_CC" >&6; } 3253else 3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3255$as_echo "no" >&6; } 3256fi 3257 3258 3259 test -n "$ac_ct_CC" && break 3260done 3261 3262 if test "x$ac_ct_CC" = x; then 3263 CC="" 3264 else 3265 case $cross_compiling:$ac_tool_warned in 3266yes:) 3267{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3268$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3269ac_tool_warned=yes ;; 3270esac 3271 CC=$ac_ct_CC 3272 fi 3273fi 3274 3275fi 3276 3277 3278test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3279$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3280as_fn_error $? "no acceptable C compiler found in \$PATH 3281See \`config.log' for more details" "$LINENO" 5; } 3282 3283# Provide some information about the compiler. 3284$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3285set X $ac_compile 3286ac_compiler=$2 3287for ac_option in --version -v -V -qversion; do 3288 { { ac_try="$ac_compiler $ac_option >&5" 3289case "(($ac_try" in 3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3291 *) ac_try_echo=$ac_try;; 3292esac 3293eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3294$as_echo "$ac_try_echo"; } >&5 3295 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3296 ac_status=$? 3297 if test -s conftest.err; then 3298 sed '10a\ 3299... rest of stderr output deleted ... 3300 10q' conftest.err >conftest.er1 3301 cat conftest.er1 >&5 3302 fi 3303 rm -f conftest.er1 conftest.err 3304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3305 test $ac_status = 0; } 3306done 3307 3308cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3309/* end confdefs.h. */ 3310 3311int 3312main () 3313{ 3314 3315 ; 3316 return 0; 3317} 3318_ACEOF 3319ac_clean_files_save=$ac_clean_files 3320ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3321# Try to create an executable without -o first, disregard a.out. 3322# It will help us diagnose broken compilers, and finding out an intuition 3323# of exeext. 3324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3325$as_echo_n "checking whether the C compiler works... " >&6; } 3326ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3327 3328# The possible output files: 3329ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3330 3331ac_rmfiles= 3332for ac_file in $ac_files 3333do 3334 case $ac_file in 3335 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3336 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3337 esac 3338done 3339rm -f $ac_rmfiles 3340 3341if { { ac_try="$ac_link_default" 3342case "(($ac_try" in 3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3344 *) ac_try_echo=$ac_try;; 3345esac 3346eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3347$as_echo "$ac_try_echo"; } >&5 3348 (eval "$ac_link_default") 2>&5 3349 ac_status=$? 3350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3351 test $ac_status = 0; }; then : 3352 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3353# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3354# in a Makefile. We should not override ac_cv_exeext if it was cached, 3355# so that the user can short-circuit this test for compilers unknown to 3356# Autoconf. 3357for ac_file in $ac_files '' 3358do 3359 test -f "$ac_file" || continue 3360 case $ac_file in 3361 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3362 ;; 3363 [ab].out ) 3364 # We found the default executable, but exeext='' is most 3365 # certainly right. 3366 break;; 3367 *.* ) 3368 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3369 then :; else 3370 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3371 fi 3372 # We set ac_cv_exeext here because the later test for it is not 3373 # safe: cross compilers may not add the suffix if given an `-o' 3374 # argument, so we may need to know it at that point already. 3375 # Even if this section looks crufty: it has the advantage of 3376 # actually working. 3377 break;; 3378 * ) 3379 break;; 3380 esac 3381done 3382test "$ac_cv_exeext" = no && ac_cv_exeext= 3383 3384else 3385 ac_file='' 3386fi 3387if test -z "$ac_file"; then : 3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3389$as_echo "no" >&6; } 3390$as_echo "$as_me: failed program was:" >&5 3391sed 's/^/| /' conftest.$ac_ext >&5 3392 3393{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3394$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3395as_fn_error 77 "C compiler cannot create executables 3396See \`config.log' for more details" "$LINENO" 5; } 3397else 3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3399$as_echo "yes" >&6; } 3400fi 3401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3402$as_echo_n "checking for C compiler default output file name... " >&6; } 3403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3404$as_echo "$ac_file" >&6; } 3405ac_exeext=$ac_cv_exeext 3406 3407rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3408ac_clean_files=$ac_clean_files_save 3409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3410$as_echo_n "checking for suffix of executables... " >&6; } 3411if { { ac_try="$ac_link" 3412case "(($ac_try" in 3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3414 *) ac_try_echo=$ac_try;; 3415esac 3416eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3417$as_echo "$ac_try_echo"; } >&5 3418 (eval "$ac_link") 2>&5 3419 ac_status=$? 3420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3421 test $ac_status = 0; }; then : 3422 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3423# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3424# work properly (i.e., refer to `conftest.exe'), while it won't with 3425# `rm'. 3426for ac_file in conftest.exe conftest conftest.*; do 3427 test -f "$ac_file" || continue 3428 case $ac_file in 3429 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3430 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3431 break;; 3432 * ) break;; 3433 esac 3434done 3435else 3436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3437$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3438as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3439See \`config.log' for more details" "$LINENO" 5; } 3440fi 3441rm -f conftest conftest$ac_cv_exeext 3442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3443$as_echo "$ac_cv_exeext" >&6; } 3444 3445rm -f conftest.$ac_ext 3446EXEEXT=$ac_cv_exeext 3447ac_exeext=$EXEEXT 3448cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3449/* end confdefs.h. */ 3450#include <stdio.h> 3451int 3452main () 3453{ 3454FILE *f = fopen ("conftest.out", "w"); 3455 return ferror (f) || fclose (f) != 0; 3456 3457 ; 3458 return 0; 3459} 3460_ACEOF 3461ac_clean_files="$ac_clean_files conftest.out" 3462# Check that the compiler produces executables we can run. If not, either 3463# the compiler is broken, or we cross compile. 3464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3465$as_echo_n "checking whether we are cross compiling... " >&6; } 3466if test "$cross_compiling" != yes; then 3467 { { ac_try="$ac_link" 3468case "(($ac_try" in 3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3470 *) ac_try_echo=$ac_try;; 3471esac 3472eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3473$as_echo "$ac_try_echo"; } >&5 3474 (eval "$ac_link") 2>&5 3475 ac_status=$? 3476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3477 test $ac_status = 0; } 3478 if { ac_try='./conftest$ac_cv_exeext' 3479 { { case "(($ac_try" in 3480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3481 *) ac_try_echo=$ac_try;; 3482esac 3483eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3484$as_echo "$ac_try_echo"; } >&5 3485 (eval "$ac_try") 2>&5 3486 ac_status=$? 3487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3488 test $ac_status = 0; }; }; then 3489 cross_compiling=no 3490 else 3491 if test "$cross_compiling" = maybe; then 3492 cross_compiling=yes 3493 else 3494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3495$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3496as_fn_error $? "cannot run C compiled programs. 3497If you meant to cross compile, use \`--host'. 3498See \`config.log' for more details" "$LINENO" 5; } 3499 fi 3500 fi 3501fi 3502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3503$as_echo "$cross_compiling" >&6; } 3504 3505rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3506ac_clean_files=$ac_clean_files_save 3507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3508$as_echo_n "checking for suffix of object files... " >&6; } 3509if ${ac_cv_objext+:} false; then : 3510 $as_echo_n "(cached) " >&6 3511else 3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3513/* end confdefs.h. */ 3514 3515int 3516main () 3517{ 3518 3519 ; 3520 return 0; 3521} 3522_ACEOF 3523rm -f conftest.o conftest.obj 3524if { { ac_try="$ac_compile" 3525case "(($ac_try" in 3526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3527 *) ac_try_echo=$ac_try;; 3528esac 3529eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3530$as_echo "$ac_try_echo"; } >&5 3531 (eval "$ac_compile") 2>&5 3532 ac_status=$? 3533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3534 test $ac_status = 0; }; then : 3535 for ac_file in conftest.o conftest.obj conftest.*; do 3536 test -f "$ac_file" || continue; 3537 case $ac_file in 3538 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3539 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3540 break;; 3541 esac 3542done 3543else 3544 $as_echo "$as_me: failed program was:" >&5 3545sed 's/^/| /' conftest.$ac_ext >&5 3546 3547{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3548$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3549as_fn_error $? "cannot compute suffix of object files: cannot compile 3550See \`config.log' for more details" "$LINENO" 5; } 3551fi 3552rm -f conftest.$ac_cv_objext conftest.$ac_ext 3553fi 3554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3555$as_echo "$ac_cv_objext" >&6; } 3556OBJEXT=$ac_cv_objext 3557ac_objext=$OBJEXT 3558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3559$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3560if ${ac_cv_c_compiler_gnu+:} false; then : 3561 $as_echo_n "(cached) " >&6 3562else 3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3564/* end confdefs.h. */ 3565 3566int 3567main () 3568{ 3569#ifndef __GNUC__ 3570 choke me 3571#endif 3572 3573 ; 3574 return 0; 3575} 3576_ACEOF 3577if ac_fn_c_try_compile "$LINENO"; then : 3578 ac_compiler_gnu=yes 3579else 3580 ac_compiler_gnu=no 3581fi 3582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3583ac_cv_c_compiler_gnu=$ac_compiler_gnu 3584 3585fi 3586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3587$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3588if test $ac_compiler_gnu = yes; then 3589 GCC=yes 3590else 3591 GCC= 3592fi 3593ac_test_CFLAGS=${CFLAGS+set} 3594ac_save_CFLAGS=$CFLAGS 3595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3596$as_echo_n "checking whether $CC accepts -g... " >&6; } 3597if ${ac_cv_prog_cc_g+:} false; then : 3598 $as_echo_n "(cached) " >&6 3599else 3600 ac_save_c_werror_flag=$ac_c_werror_flag 3601 ac_c_werror_flag=yes 3602 ac_cv_prog_cc_g=no 3603 CFLAGS="-g" 3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3605/* end confdefs.h. */ 3606 3607int 3608main () 3609{ 3610 3611 ; 3612 return 0; 3613} 3614_ACEOF 3615if ac_fn_c_try_compile "$LINENO"; then : 3616 ac_cv_prog_cc_g=yes 3617else 3618 CFLAGS="" 3619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3620/* end confdefs.h. */ 3621 3622int 3623main () 3624{ 3625 3626 ; 3627 return 0; 3628} 3629_ACEOF 3630if ac_fn_c_try_compile "$LINENO"; then : 3631 3632else 3633 ac_c_werror_flag=$ac_save_c_werror_flag 3634 CFLAGS="-g" 3635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3636/* end confdefs.h. */ 3637 3638int 3639main () 3640{ 3641 3642 ; 3643 return 0; 3644} 3645_ACEOF 3646if ac_fn_c_try_compile "$LINENO"; then : 3647 ac_cv_prog_cc_g=yes 3648fi 3649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3650fi 3651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3652fi 3653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3654 ac_c_werror_flag=$ac_save_c_werror_flag 3655fi 3656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3657$as_echo "$ac_cv_prog_cc_g" >&6; } 3658if test "$ac_test_CFLAGS" = set; then 3659 CFLAGS=$ac_save_CFLAGS 3660elif test $ac_cv_prog_cc_g = yes; then 3661 if test "$GCC" = yes; then 3662 CFLAGS="-g -O2" 3663 else 3664 CFLAGS="-g" 3665 fi 3666else 3667 if test "$GCC" = yes; then 3668 CFLAGS="-O2" 3669 else 3670 CFLAGS= 3671 fi 3672fi 3673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3674$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3675if ${ac_cv_prog_cc_c89+:} false; then : 3676 $as_echo_n "(cached) " >&6 3677else 3678 ac_cv_prog_cc_c89=no 3679ac_save_CC=$CC 3680cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3681/* end confdefs.h. */ 3682#include <stdarg.h> 3683#include <stdio.h> 3684struct stat; 3685/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3686struct buf { int x; }; 3687FILE * (*rcsopen) (struct buf *, struct stat *, int); 3688static char *e (p, i) 3689 char **p; 3690 int i; 3691{ 3692 return p[i]; 3693} 3694static char *f (char * (*g) (char **, int), char **p, ...) 3695{ 3696 char *s; 3697 va_list v; 3698 va_start (v,p); 3699 s = g (p, va_arg (v,int)); 3700 va_end (v); 3701 return s; 3702} 3703 3704/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3705 function prototypes and stuff, but not '\xHH' hex character constants. 3706 These don't provoke an error unfortunately, instead are silently treated 3707 as 'x'. The following induces an error, until -std is added to get 3708 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3709 array size at least. It's necessary to write '\x00'==0 to get something 3710 that's true only with -std. */ 3711int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3712 3713/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3714 inside strings and character constants. */ 3715#define FOO(x) 'x' 3716int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3717 3718int test (int i, double x); 3719struct s1 {int (*f) (int a);}; 3720struct s2 {int (*f) (double a);}; 3721int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3722int argc; 3723char **argv; 3724int 3725main () 3726{ 3727return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3728 ; 3729 return 0; 3730} 3731_ACEOF 3732for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3733 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3734do 3735 CC="$ac_save_CC $ac_arg" 3736 if ac_fn_c_try_compile "$LINENO"; then : 3737 ac_cv_prog_cc_c89=$ac_arg 3738fi 3739rm -f core conftest.err conftest.$ac_objext 3740 test "x$ac_cv_prog_cc_c89" != "xno" && break 3741done 3742rm -f conftest.$ac_ext 3743CC=$ac_save_CC 3744 3745fi 3746# AC_CACHE_VAL 3747case "x$ac_cv_prog_cc_c89" in 3748 x) 3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3750$as_echo "none needed" >&6; } ;; 3751 xno) 3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3753$as_echo "unsupported" >&6; } ;; 3754 *) 3755 CC="$CC $ac_cv_prog_cc_c89" 3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3757$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3758esac 3759if test "x$ac_cv_prog_cc_c89" != xno; then : 3760 3761fi 3762 3763ac_ext=c 3764ac_cpp='$CPP $CPPFLAGS' 3765ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3766ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3767ac_compiler_gnu=$ac_cv_c_compiler_gnu 3768 3769ac_ext=c 3770ac_cpp='$CPP $CPPFLAGS' 3771ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3772ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3773ac_compiler_gnu=$ac_cv_c_compiler_gnu 3774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3775$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3776if ${am_cv_prog_cc_c_o+:} false; then : 3777 $as_echo_n "(cached) " >&6 3778else 3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3780/* end confdefs.h. */ 3781 3782int 3783main () 3784{ 3785 3786 ; 3787 return 0; 3788} 3789_ACEOF 3790 # Make sure it works both with $CC and with simple cc. 3791 # Following AC_PROG_CC_C_O, we do the test twice because some 3792 # compilers refuse to overwrite an existing .o file with -o, 3793 # though they will create one. 3794 am_cv_prog_cc_c_o=yes 3795 for am_i in 1 2; do 3796 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3797 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3798 ac_status=$? 3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3800 (exit $ac_status); } \ 3801 && test -f conftest2.$ac_objext; then 3802 : OK 3803 else 3804 am_cv_prog_cc_c_o=no 3805 break 3806 fi 3807 done 3808 rm -f core conftest* 3809 unset am_i 3810fi 3811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3812$as_echo "$am_cv_prog_cc_c_o" >&6; } 3813if test "$am_cv_prog_cc_c_o" != yes; then 3814 # Losing compiler, so override with the script. 3815 # FIXME: It is wrong to rewrite CC. 3816 # But if we don't then we get into trouble of one sort or another. 3817 # A longer-term fix would be to have automake use am__CC in this case, 3818 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3819 CC="$am_aux_dir/compile $CC" 3820fi 3821ac_ext=c 3822ac_cpp='$CPP $CPPFLAGS' 3823ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3824ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3825ac_compiler_gnu=$ac_cv_c_compiler_gnu 3826 3827DEPDIR="${am__leading_dot}deps" 3828 3829ac_config_commands="$ac_config_commands depfiles" 3830 3831 3832am_make=${MAKE-make} 3833cat > confinc << 'END' 3834am__doit: 3835 @echo this is the am__doit target 3836.PHONY: am__doit 3837END 3838# If we don't find an include directive, just comment out the code. 3839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3840$as_echo_n "checking for style of include used by $am_make... " >&6; } 3841am__include="#" 3842am__quote= 3843_am_result=none 3844# First try GNU make style include. 3845echo "include confinc" > confmf 3846# Ignore all kinds of additional output from 'make'. 3847case `$am_make -s -f confmf 2> /dev/null` in #( 3848*the\ am__doit\ target*) 3849 am__include=include 3850 am__quote= 3851 _am_result=GNU 3852 ;; 3853esac 3854# Now try BSD make style include. 3855if test "$am__include" = "#"; then 3856 echo '.include "confinc"' > confmf 3857 case `$am_make -s -f confmf 2> /dev/null` in #( 3858 *the\ am__doit\ target*) 3859 am__include=.include 3860 am__quote="\"" 3861 _am_result=BSD 3862 ;; 3863 esac 3864fi 3865 3866 3867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3868$as_echo "$_am_result" >&6; } 3869rm -f confinc confmf 3870 3871# Check whether --enable-dependency-tracking was given. 3872if test "${enable_dependency_tracking+set}" = set; then : 3873 enableval=$enable_dependency_tracking; 3874fi 3875 3876if test "x$enable_dependency_tracking" != xno; then 3877 am_depcomp="$ac_aux_dir/depcomp" 3878 AMDEPBACKSLASH='\' 3879 am__nodep='_no' 3880fi 3881 if test "x$enable_dependency_tracking" != xno; then 3882 AMDEP_TRUE= 3883 AMDEP_FALSE='#' 3884else 3885 AMDEP_TRUE='#' 3886 AMDEP_FALSE= 3887fi 3888 3889 3890 3891depcc="$CC" am_compiler_list= 3892 3893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3894$as_echo_n "checking dependency style of $depcc... " >&6; } 3895if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3896 $as_echo_n "(cached) " >&6 3897else 3898 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3899 # We make a subdir and do the tests there. Otherwise we can end up 3900 # making bogus files that we don't know about and never remove. For 3901 # instance it was reported that on HP-UX the gcc test will end up 3902 # making a dummy file named 'D' -- because '-MD' means "put the output 3903 # in D". 3904 rm -rf conftest.dir 3905 mkdir conftest.dir 3906 # Copy depcomp to subdir because otherwise we won't find it if we're 3907 # using a relative directory. 3908 cp "$am_depcomp" conftest.dir 3909 cd conftest.dir 3910 # We will build objects and dependencies in a subdirectory because 3911 # it helps to detect inapplicable dependency modes. For instance 3912 # both Tru64's cc and ICC support -MD to output dependencies as a 3913 # side effect of compilation, but ICC will put the dependencies in 3914 # the current directory while Tru64 will put them in the object 3915 # directory. 3916 mkdir sub 3917 3918 am_cv_CC_dependencies_compiler_type=none 3919 if test "$am_compiler_list" = ""; then 3920 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3921 fi 3922 am__universal=false 3923 case " $depcc " in #( 3924 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3925 esac 3926 3927 for depmode in $am_compiler_list; do 3928 # Setup a source with many dependencies, because some compilers 3929 # like to wrap large dependency lists on column 80 (with \), and 3930 # we should not choose a depcomp mode which is confused by this. 3931 # 3932 # We need to recreate these files for each test, as the compiler may 3933 # overwrite some of them when testing with obscure command lines. 3934 # This happens at least with the AIX C compiler. 3935 : > sub/conftest.c 3936 for i in 1 2 3 4 5 6; do 3937 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3938 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3939 # Solaris 10 /bin/sh. 3940 echo '/* dummy */' > sub/conftst$i.h 3941 done 3942 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3943 3944 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3945 # mode. It turns out that the SunPro C++ compiler does not properly 3946 # handle '-M -o', and we need to detect this. Also, some Intel 3947 # versions had trouble with output in subdirs. 3948 am__obj=sub/conftest.${OBJEXT-o} 3949 am__minus_obj="-o $am__obj" 3950 case $depmode in 3951 gcc) 3952 # This depmode causes a compiler race in universal mode. 3953 test "$am__universal" = false || continue 3954 ;; 3955 nosideeffect) 3956 # After this tag, mechanisms are not by side-effect, so they'll 3957 # only be used when explicitly requested. 3958 if test "x$enable_dependency_tracking" = xyes; then 3959 continue 3960 else 3961 break 3962 fi 3963 ;; 3964 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3965 # This compiler won't grok '-c -o', but also, the minuso test has 3966 # not run yet. These depmodes are late enough in the game, and 3967 # so weak that their functioning should not be impacted. 3968 am__obj=conftest.${OBJEXT-o} 3969 am__minus_obj= 3970 ;; 3971 none) break ;; 3972 esac 3973 if depmode=$depmode \ 3974 source=sub/conftest.c object=$am__obj \ 3975 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3976 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3977 >/dev/null 2>conftest.err && 3978 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3979 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3980 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3981 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3982 # icc doesn't choke on unknown options, it will just issue warnings 3983 # or remarks (even with -Werror). So we grep stderr for any message 3984 # that says an option was ignored or not supported. 3985 # When given -MP, icc 7.0 and 7.1 complain thusly: 3986 # icc: Command line warning: ignoring option '-M'; no argument required 3987 # The diagnosis changed in icc 8.0: 3988 # icc: Command line remark: option '-MP' not supported 3989 if (grep 'ignoring option' conftest.err || 3990 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3991 am_cv_CC_dependencies_compiler_type=$depmode 3992 break 3993 fi 3994 fi 3995 done 3996 3997 cd .. 3998 rm -rf conftest.dir 3999else 4000 am_cv_CC_dependencies_compiler_type=none 4001fi 4002 4003fi 4004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4005$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4006CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4007 4008 if 4009 test "x$enable_dependency_tracking" != xno \ 4010 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4011 am__fastdepCC_TRUE= 4012 am__fastdepCC_FALSE='#' 4013else 4014 am__fastdepCC_TRUE='#' 4015 am__fastdepCC_FALSE= 4016fi 4017 4018 4019 4020 4021 4022case `pwd` in 4023 *\ * | *\ *) 4024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4025$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4026esac 4027 4028 4029 4030macro_version='2.4.5' 4031macro_revision='2.4.5' 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045ltmain=$ac_aux_dir/ltmain.sh 4046 4047# Make sure we can run config.sub. 4048$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4049 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4050 4051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4052$as_echo_n "checking build system type... " >&6; } 4053if ${ac_cv_build+:} false; then : 4054 $as_echo_n "(cached) " >&6 4055else 4056 ac_build_alias=$build_alias 4057test "x$ac_build_alias" = x && 4058 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4059test "x$ac_build_alias" = x && 4060 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4061ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4062 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4063 4064fi 4065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4066$as_echo "$ac_cv_build" >&6; } 4067case $ac_cv_build in 4068*-*-*) ;; 4069*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4070esac 4071build=$ac_cv_build 4072ac_save_IFS=$IFS; IFS='-' 4073set x $ac_cv_build 4074shift 4075build_cpu=$1 4076build_vendor=$2 4077shift; shift 4078# Remember, the first character of IFS is used to create $*, 4079# except with old shells: 4080build_os=$* 4081IFS=$ac_save_IFS 4082case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4083 4084 4085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4086$as_echo_n "checking host system type... " >&6; } 4087if ${ac_cv_host+:} false; then : 4088 $as_echo_n "(cached) " >&6 4089else 4090 if test "x$host_alias" = x; then 4091 ac_cv_host=$ac_cv_build 4092else 4093 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4094 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4095fi 4096 4097fi 4098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4099$as_echo "$ac_cv_host" >&6; } 4100case $ac_cv_host in 4101*-*-*) ;; 4102*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4103esac 4104host=$ac_cv_host 4105ac_save_IFS=$IFS; IFS='-' 4106set x $ac_cv_host 4107shift 4108host_cpu=$1 4109host_vendor=$2 4110shift; shift 4111# Remember, the first character of IFS is used to create $*, 4112# except with old shells: 4113host_os=$* 4114IFS=$ac_save_IFS 4115case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4116 4117 4118# Backslashify metacharacters that are still active within 4119# double-quoted strings. 4120sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4121 4122# Same as above, but do not quote variable references. 4123double_quote_subst='s/\(["`\\]\)/\\\1/g' 4124 4125# Sed substitution to delay expansion of an escaped shell variable in a 4126# double_quote_subst'ed string. 4127delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4128 4129# Sed substitution to delay expansion of an escaped single quote. 4130delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4131 4132# Sed substitution to avoid accidental globbing in evaled expressions 4133no_glob_subst='s/\*/\\\*/g' 4134 4135ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4136ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4137ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4138 4139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4140$as_echo_n "checking how to print strings... " >&6; } 4141# Test print first, because it will be a builtin if present. 4142if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4143 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4144 ECHO='print -r --' 4145elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4146 ECHO='printf %s\n' 4147else 4148 # Use this function as a fallback that always works. 4149 func_fallback_echo () 4150 { 4151 eval 'cat <<_LTECHO_EOF 4152$1 4153_LTECHO_EOF' 4154 } 4155 ECHO='func_fallback_echo' 4156fi 4157 4158# func_echo_all arg... 4159# Invoke $ECHO with all args, space-separated. 4160func_echo_all () 4161{ 4162 $ECHO "" 4163} 4164 4165case $ECHO in 4166 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4167$as_echo "printf" >&6; } ;; 4168 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4169$as_echo "print -r" >&6; } ;; 4170 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4171$as_echo "cat" >&6; } ;; 4172esac 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4188$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4189if ${ac_cv_path_SED+:} false; then : 4190 $as_echo_n "(cached) " >&6 4191else 4192 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4193 for ac_i in 1 2 3 4 5 6 7; do 4194 ac_script="$ac_script$as_nl$ac_script" 4195 done 4196 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4197 { ac_script=; unset ac_script;} 4198 if test -z "$SED"; then 4199 ac_path_SED_found=false 4200 # Loop through the user's path and test for each of PROGNAME-LIST 4201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4202for as_dir in $PATH 4203do 4204 IFS=$as_save_IFS 4205 test -z "$as_dir" && as_dir=. 4206 for ac_prog in sed gsed; do 4207 for ac_exec_ext in '' $ac_executable_extensions; do 4208 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4209 as_fn_executable_p "$ac_path_SED" || continue 4210# Check for GNU ac_path_SED and select it if it is found. 4211 # Check for GNU $ac_path_SED 4212case `"$ac_path_SED" --version 2>&1` in 4213*GNU*) 4214 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4215*) 4216 ac_count=0 4217 $as_echo_n 0123456789 >"conftest.in" 4218 while : 4219 do 4220 cat "conftest.in" "conftest.in" >"conftest.tmp" 4221 mv "conftest.tmp" "conftest.in" 4222 cp "conftest.in" "conftest.nl" 4223 $as_echo '' >> "conftest.nl" 4224 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4225 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4226 as_fn_arith $ac_count + 1 && ac_count=$as_val 4227 if test $ac_count -gt ${ac_path_SED_max-0}; then 4228 # Best one so far, save it but keep looking for a better one 4229 ac_cv_path_SED="$ac_path_SED" 4230 ac_path_SED_max=$ac_count 4231 fi 4232 # 10*(2^10) chars as input seems more than enough 4233 test $ac_count -gt 10 && break 4234 done 4235 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4236esac 4237 4238 $ac_path_SED_found && break 3 4239 done 4240 done 4241 done 4242IFS=$as_save_IFS 4243 if test -z "$ac_cv_path_SED"; then 4244 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4245 fi 4246else 4247 ac_cv_path_SED=$SED 4248fi 4249 4250fi 4251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4252$as_echo "$ac_cv_path_SED" >&6; } 4253 SED="$ac_cv_path_SED" 4254 rm -f conftest.sed 4255 4256test -z "$SED" && SED=sed 4257Xsed="$SED -e 1s/^X//" 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4270$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4271if ${ac_cv_path_GREP+:} false; then : 4272 $as_echo_n "(cached) " >&6 4273else 4274 if test -z "$GREP"; then 4275 ac_path_GREP_found=false 4276 # Loop through the user's path and test for each of PROGNAME-LIST 4277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4278for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4279do 4280 IFS=$as_save_IFS 4281 test -z "$as_dir" && as_dir=. 4282 for ac_prog in grep ggrep; do 4283 for ac_exec_ext in '' $ac_executable_extensions; do 4284 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4285 as_fn_executable_p "$ac_path_GREP" || continue 4286# Check for GNU ac_path_GREP and select it if it is found. 4287 # Check for GNU $ac_path_GREP 4288case `"$ac_path_GREP" --version 2>&1` in 4289*GNU*) 4290 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4291*) 4292 ac_count=0 4293 $as_echo_n 0123456789 >"conftest.in" 4294 while : 4295 do 4296 cat "conftest.in" "conftest.in" >"conftest.tmp" 4297 mv "conftest.tmp" "conftest.in" 4298 cp "conftest.in" "conftest.nl" 4299 $as_echo 'GREP' >> "conftest.nl" 4300 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4301 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4302 as_fn_arith $ac_count + 1 && ac_count=$as_val 4303 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4304 # Best one so far, save it but keep looking for a better one 4305 ac_cv_path_GREP="$ac_path_GREP" 4306 ac_path_GREP_max=$ac_count 4307 fi 4308 # 10*(2^10) chars as input seems more than enough 4309 test $ac_count -gt 10 && break 4310 done 4311 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4312esac 4313 4314 $ac_path_GREP_found && break 3 4315 done 4316 done 4317 done 4318IFS=$as_save_IFS 4319 if test -z "$ac_cv_path_GREP"; then 4320 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4321 fi 4322else 4323 ac_cv_path_GREP=$GREP 4324fi 4325 4326fi 4327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4328$as_echo "$ac_cv_path_GREP" >&6; } 4329 GREP="$ac_cv_path_GREP" 4330 4331 4332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4333$as_echo_n "checking for egrep... " >&6; } 4334if ${ac_cv_path_EGREP+:} false; then : 4335 $as_echo_n "(cached) " >&6 4336else 4337 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4338 then ac_cv_path_EGREP="$GREP -E" 4339 else 4340 if test -z "$EGREP"; then 4341 ac_path_EGREP_found=false 4342 # Loop through the user's path and test for each of PROGNAME-LIST 4343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4344for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4345do 4346 IFS=$as_save_IFS 4347 test -z "$as_dir" && as_dir=. 4348 for ac_prog in egrep; do 4349 for ac_exec_ext in '' $ac_executable_extensions; do 4350 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4351 as_fn_executable_p "$ac_path_EGREP" || continue 4352# Check for GNU ac_path_EGREP and select it if it is found. 4353 # Check for GNU $ac_path_EGREP 4354case `"$ac_path_EGREP" --version 2>&1` in 4355*GNU*) 4356 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4357*) 4358 ac_count=0 4359 $as_echo_n 0123456789 >"conftest.in" 4360 while : 4361 do 4362 cat "conftest.in" "conftest.in" >"conftest.tmp" 4363 mv "conftest.tmp" "conftest.in" 4364 cp "conftest.in" "conftest.nl" 4365 $as_echo 'EGREP' >> "conftest.nl" 4366 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4367 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4368 as_fn_arith $ac_count + 1 && ac_count=$as_val 4369 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4370 # Best one so far, save it but keep looking for a better one 4371 ac_cv_path_EGREP="$ac_path_EGREP" 4372 ac_path_EGREP_max=$ac_count 4373 fi 4374 # 10*(2^10) chars as input seems more than enough 4375 test $ac_count -gt 10 && break 4376 done 4377 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4378esac 4379 4380 $ac_path_EGREP_found && break 3 4381 done 4382 done 4383 done 4384IFS=$as_save_IFS 4385 if test -z "$ac_cv_path_EGREP"; then 4386 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4387 fi 4388else 4389 ac_cv_path_EGREP=$EGREP 4390fi 4391 4392 fi 4393fi 4394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4395$as_echo "$ac_cv_path_EGREP" >&6; } 4396 EGREP="$ac_cv_path_EGREP" 4397 4398 4399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4400$as_echo_n "checking for fgrep... " >&6; } 4401if ${ac_cv_path_FGREP+:} false; then : 4402 $as_echo_n "(cached) " >&6 4403else 4404 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4405 then ac_cv_path_FGREP="$GREP -F" 4406 else 4407 if test -z "$FGREP"; then 4408 ac_path_FGREP_found=false 4409 # Loop through the user's path and test for each of PROGNAME-LIST 4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4411for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4412do 4413 IFS=$as_save_IFS 4414 test -z "$as_dir" && as_dir=. 4415 for ac_prog in fgrep; do 4416 for ac_exec_ext in '' $ac_executable_extensions; do 4417 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4418 as_fn_executable_p "$ac_path_FGREP" || continue 4419# Check for GNU ac_path_FGREP and select it if it is found. 4420 # Check for GNU $ac_path_FGREP 4421case `"$ac_path_FGREP" --version 2>&1` in 4422*GNU*) 4423 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4424*) 4425 ac_count=0 4426 $as_echo_n 0123456789 >"conftest.in" 4427 while : 4428 do 4429 cat "conftest.in" "conftest.in" >"conftest.tmp" 4430 mv "conftest.tmp" "conftest.in" 4431 cp "conftest.in" "conftest.nl" 4432 $as_echo 'FGREP' >> "conftest.nl" 4433 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4434 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4435 as_fn_arith $ac_count + 1 && ac_count=$as_val 4436 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4437 # Best one so far, save it but keep looking for a better one 4438 ac_cv_path_FGREP="$ac_path_FGREP" 4439 ac_path_FGREP_max=$ac_count 4440 fi 4441 # 10*(2^10) chars as input seems more than enough 4442 test $ac_count -gt 10 && break 4443 done 4444 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4445esac 4446 4447 $ac_path_FGREP_found && break 3 4448 done 4449 done 4450 done 4451IFS=$as_save_IFS 4452 if test -z "$ac_cv_path_FGREP"; then 4453 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4454 fi 4455else 4456 ac_cv_path_FGREP=$FGREP 4457fi 4458 4459 fi 4460fi 4461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4462$as_echo "$ac_cv_path_FGREP" >&6; } 4463 FGREP="$ac_cv_path_FGREP" 4464 4465 4466test -z "$GREP" && GREP=grep 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486# Check whether --with-gnu-ld was given. 4487if test "${with_gnu_ld+set}" = set; then : 4488 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4489else 4490 with_gnu_ld=no 4491fi 4492 4493ac_prog=ld 4494if test yes = "$GCC"; then 4495 # Check if gcc -print-prog-name=ld gives a path. 4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4497$as_echo_n "checking for ld used by $CC... " >&6; } 4498 case $host in 4499 *-*-mingw*) 4500 # gcc leaves a trailing carriage return, which upsets mingw 4501 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4502 *) 4503 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4504 esac 4505 case $ac_prog in 4506 # Accept absolute paths. 4507 [\\/]* | ?:[\\/]*) 4508 re_direlt='/[^/][^/]*/\.\./' 4509 # Canonicalize the pathname of ld 4510 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4511 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4512 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4513 done 4514 test -z "$LD" && LD=$ac_prog 4515 ;; 4516 "") 4517 # If it fails, then pretend we aren't using GCC. 4518 ac_prog=ld 4519 ;; 4520 *) 4521 # If it is relative, then search for the first ld in PATH. 4522 with_gnu_ld=unknown 4523 ;; 4524 esac 4525elif test yes = "$with_gnu_ld"; then 4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4527$as_echo_n "checking for GNU ld... " >&6; } 4528else 4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4530$as_echo_n "checking for non-GNU ld... " >&6; } 4531fi 4532if ${lt_cv_path_LD+:} false; then : 4533 $as_echo_n "(cached) " >&6 4534else 4535 if test -z "$LD"; then 4536 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4537 for ac_dir in $PATH; do 4538 IFS=$lt_save_ifs 4539 test -z "$ac_dir" && ac_dir=. 4540 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4541 lt_cv_path_LD=$ac_dir/$ac_prog 4542 # Check to see if the program is GNU ld. I'd rather use --version, 4543 # but apparently some variants of GNU ld only accept -v. 4544 # Break only if it was the GNU/non-GNU ld that we prefer. 4545 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4546 *GNU* | *'with BFD'*) 4547 test no != "$with_gnu_ld" && break 4548 ;; 4549 *) 4550 test yes != "$with_gnu_ld" && break 4551 ;; 4552 esac 4553 fi 4554 done 4555 IFS=$lt_save_ifs 4556else 4557 lt_cv_path_LD=$LD # Let the user override the test with a path. 4558fi 4559fi 4560 4561LD=$lt_cv_path_LD 4562if test -n "$LD"; then 4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4564$as_echo "$LD" >&6; } 4565else 4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4567$as_echo "no" >&6; } 4568fi 4569test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4571$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4572if ${lt_cv_prog_gnu_ld+:} false; then : 4573 $as_echo_n "(cached) " >&6 4574else 4575 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4576case `$LD -v 2>&1 </dev/null` in 4577*GNU* | *'with BFD'*) 4578 lt_cv_prog_gnu_ld=yes 4579 ;; 4580*) 4581 lt_cv_prog_gnu_ld=no 4582 ;; 4583esac 4584fi 4585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4586$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4587with_gnu_ld=$lt_cv_prog_gnu_ld 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4598$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4599if ${lt_cv_path_NM+:} false; then : 4600 $as_echo_n "(cached) " >&6 4601else 4602 if test -n "$NM"; then 4603 # Let the user override the test. 4604 lt_cv_path_NM=$NM 4605else 4606 lt_nm_to_check=${ac_tool_prefix}nm 4607 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4608 lt_nm_to_check="$lt_nm_to_check nm" 4609 fi 4610 for lt_tmp_nm in $lt_nm_to_check; do 4611 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4612 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4613 IFS=$lt_save_ifs 4614 test -z "$ac_dir" && ac_dir=. 4615 tmp_nm=$ac_dir/$lt_tmp_nm 4616 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4617 # Check to see if the nm accepts a BSD-compat flag. 4618 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4619 # nm: unknown option "B" ignored 4620 # Tru64's nm complains that /dev/null is an invalid object file 4621 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4622 case $build_os in 4623 mingw*) lt_bad_file=conftest.nm/nofile ;; 4624 *) lt_bad_file=/dev/null ;; 4625 esac 4626 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4627 *$lt_bad_file* | *'Invalid file or object type'*) 4628 lt_cv_path_NM="$tmp_nm -B" 4629 break 2 4630 ;; 4631 *) 4632 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4633 */dev/null*) 4634 lt_cv_path_NM="$tmp_nm -p" 4635 break 2 4636 ;; 4637 *) 4638 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4639 continue # so that we can try to find one that supports BSD flags 4640 ;; 4641 esac 4642 ;; 4643 esac 4644 fi 4645 done 4646 IFS=$lt_save_ifs 4647 done 4648 : ${lt_cv_path_NM=no} 4649fi 4650fi 4651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4652$as_echo "$lt_cv_path_NM" >&6; } 4653if test no != "$lt_cv_path_NM"; then 4654 NM=$lt_cv_path_NM 4655else 4656 # Didn't find any BSD compatible name lister, look for dumpbin. 4657 if test -n "$DUMPBIN"; then : 4658 # Let the user override the test. 4659 else 4660 if test -n "$ac_tool_prefix"; then 4661 for ac_prog in dumpbin "link -dump" 4662 do 4663 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4664set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4666$as_echo_n "checking for $ac_word... " >&6; } 4667if ${ac_cv_prog_DUMPBIN+:} false; then : 4668 $as_echo_n "(cached) " >&6 4669else 4670 if test -n "$DUMPBIN"; then 4671 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4672else 4673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4674for as_dir in $PATH 4675do 4676 IFS=$as_save_IFS 4677 test -z "$as_dir" && as_dir=. 4678 for ac_exec_ext in '' $ac_executable_extensions; do 4679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4680 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4682 break 2 4683 fi 4684done 4685 done 4686IFS=$as_save_IFS 4687 4688fi 4689fi 4690DUMPBIN=$ac_cv_prog_DUMPBIN 4691if test -n "$DUMPBIN"; then 4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4693$as_echo "$DUMPBIN" >&6; } 4694else 4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4696$as_echo "no" >&6; } 4697fi 4698 4699 4700 test -n "$DUMPBIN" && break 4701 done 4702fi 4703if test -z "$DUMPBIN"; then 4704 ac_ct_DUMPBIN=$DUMPBIN 4705 for ac_prog in dumpbin "link -dump" 4706do 4707 # Extract the first word of "$ac_prog", so it can be a program name with args. 4708set dummy $ac_prog; ac_word=$2 4709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4710$as_echo_n "checking for $ac_word... " >&6; } 4711if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4712 $as_echo_n "(cached) " >&6 4713else 4714 if test -n "$ac_ct_DUMPBIN"; then 4715 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4716else 4717as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4718for as_dir in $PATH 4719do 4720 IFS=$as_save_IFS 4721 test -z "$as_dir" && as_dir=. 4722 for ac_exec_ext in '' $ac_executable_extensions; do 4723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4724 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4726 break 2 4727 fi 4728done 4729 done 4730IFS=$as_save_IFS 4731 4732fi 4733fi 4734ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4735if test -n "$ac_ct_DUMPBIN"; then 4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4737$as_echo "$ac_ct_DUMPBIN" >&6; } 4738else 4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4740$as_echo "no" >&6; } 4741fi 4742 4743 4744 test -n "$ac_ct_DUMPBIN" && break 4745done 4746 4747 if test "x$ac_ct_DUMPBIN" = x; then 4748 DUMPBIN=":" 4749 else 4750 case $cross_compiling:$ac_tool_warned in 4751yes:) 4752{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4753$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4754ac_tool_warned=yes ;; 4755esac 4756 DUMPBIN=$ac_ct_DUMPBIN 4757 fi 4758fi 4759 4760 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4761 *COFF*) 4762 DUMPBIN="$DUMPBIN -symbols -headers" 4763 ;; 4764 *) 4765 DUMPBIN=: 4766 ;; 4767 esac 4768 fi 4769 4770 if test : != "$DUMPBIN"; then 4771 NM=$DUMPBIN 4772 fi 4773fi 4774test -z "$NM" && NM=nm 4775 4776 4777 4778 4779 4780 4781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4782$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4783if ${lt_cv_nm_interface+:} false; then : 4784 $as_echo_n "(cached) " >&6 4785else 4786 lt_cv_nm_interface="BSD nm" 4787 echo "int some_variable = 0;" > conftest.$ac_ext 4788 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4789 (eval "$ac_compile" 2>conftest.err) 4790 cat conftest.err >&5 4791 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4792 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4793 cat conftest.err >&5 4794 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4795 cat conftest.out >&5 4796 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4797 lt_cv_nm_interface="MS dumpbin" 4798 fi 4799 rm -f conftest* 4800fi 4801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4802$as_echo "$lt_cv_nm_interface" >&6; } 4803 4804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4805$as_echo_n "checking whether ln -s works... " >&6; } 4806LN_S=$as_ln_s 4807if test "$LN_S" = "ln -s"; then 4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4809$as_echo "yes" >&6; } 4810else 4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4812$as_echo "no, using $LN_S" >&6; } 4813fi 4814 4815# find the maximum length of command line arguments 4816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4817$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4818if ${lt_cv_sys_max_cmd_len+:} false; then : 4819 $as_echo_n "(cached) " >&6 4820else 4821 i=0 4822 teststring=ABCD 4823 4824 case $build_os in 4825 msdosdjgpp*) 4826 # On DJGPP, this test can blow up pretty badly due to problems in libc 4827 # (any single argument exceeding 2000 bytes causes a buffer overrun 4828 # during glob expansion). Even if it were fixed, the result of this 4829 # check would be larger than it should be. 4830 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4831 ;; 4832 4833 gnu*) 4834 # Under GNU Hurd, this test is not required because there is 4835 # no limit to the length of command line arguments. 4836 # Libtool will interpret -1 as no limit whatsoever 4837 lt_cv_sys_max_cmd_len=-1; 4838 ;; 4839 4840 cygwin* | mingw* | cegcc*) 4841 # On Win9x/ME, this test blows up -- it succeeds, but takes 4842 # about 5 minutes as the teststring grows exponentially. 4843 # Worse, since 9x/ME are not pre-emptively multitasking, 4844 # you end up with a "frozen" computer, even though with patience 4845 # the test eventually succeeds (with a max line length of 256k). 4846 # Instead, let's just punt: use the minimum linelength reported by 4847 # all of the supported platforms: 8192 (on NT/2K/XP). 4848 lt_cv_sys_max_cmd_len=8192; 4849 ;; 4850 4851 mint*) 4852 # On MiNT this can take a long time and run out of memory. 4853 lt_cv_sys_max_cmd_len=8192; 4854 ;; 4855 4856 amigaos*) 4857 # On AmigaOS with pdksh, this test takes hours, literally. 4858 # So we just punt and use a minimum line length of 8192. 4859 lt_cv_sys_max_cmd_len=8192; 4860 ;; 4861 4862 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4863 # This has been around since 386BSD, at least. Likely further. 4864 if test -x /sbin/sysctl; then 4865 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4866 elif test -x /usr/sbin/sysctl; then 4867 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4868 else 4869 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4870 fi 4871 # And add a safety zone 4872 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4873 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4874 ;; 4875 4876 interix*) 4877 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4878 lt_cv_sys_max_cmd_len=196608 4879 ;; 4880 4881 os2*) 4882 # The test takes a long time on OS/2. 4883 lt_cv_sys_max_cmd_len=8192 4884 ;; 4885 4886 osf*) 4887 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4888 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4889 # nice to cause kernel panics so lets avoid the loop below. 4890 # First set a reasonable default. 4891 lt_cv_sys_max_cmd_len=16384 4892 # 4893 if test -x /sbin/sysconfig; then 4894 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4895 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4896 esac 4897 fi 4898 ;; 4899 sco3.2v5*) 4900 lt_cv_sys_max_cmd_len=102400 4901 ;; 4902 sysv5* | sco5v6* | sysv4.2uw2*) 4903 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4904 if test -n "$kargmax"; then 4905 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4906 else 4907 lt_cv_sys_max_cmd_len=32768 4908 fi 4909 ;; 4910 *) 4911 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4912 if test -n "$lt_cv_sys_max_cmd_len" && \ 4913 test undefined != "$lt_cv_sys_max_cmd_len"; then 4914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4915 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4916 else 4917 # Make teststring a little bigger before we do anything with it. 4918 # a 1K string should be a reasonable start. 4919 for i in 1 2 3 4 5 6 7 8; do 4920 teststring=$teststring$teststring 4921 done 4922 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4923 # If test is not a shell built-in, we'll probably end up computing a 4924 # maximum length that is only half of the actual maximum length, but 4925 # we can't tell. 4926 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 4927 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4928 test 17 != "$i" # 1/2 MB should be enough 4929 do 4930 i=`expr $i + 1` 4931 teststring=$teststring$teststring 4932 done 4933 # Only check the string length outside the loop. 4934 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4935 teststring= 4936 # Add a significant safety factor because C++ compilers can tack on 4937 # massive amounts of additional arguments before passing them to the 4938 # linker. It appears as though 1/2 is a usable value. 4939 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4940 fi 4941 ;; 4942 esac 4943 4944fi 4945 4946if test -n "$lt_cv_sys_max_cmd_len"; then 4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4948$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4949else 4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4951$as_echo "none" >&6; } 4952fi 4953max_cmd_len=$lt_cv_sys_max_cmd_len 4954 4955 4956 4957 4958 4959 4960: ${CP="cp -f"} 4961: ${MV="mv -f"} 4962: ${RM="rm -f"} 4963 4964if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4965 lt_unset=unset 4966else 4967 lt_unset=false 4968fi 4969 4970 4971 4972 4973 4974# test EBCDIC or ASCII 4975case `echo X|tr X '\101'` in 4976 A) # ASCII based system 4977 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4978 lt_SP2NL='tr \040 \012' 4979 lt_NL2SP='tr \015\012 \040\040' 4980 ;; 4981 *) # EBCDIC based system 4982 lt_SP2NL='tr \100 \n' 4983 lt_NL2SP='tr \r\n \100\100' 4984 ;; 4985esac 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4996$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4997if ${lt_cv_to_host_file_cmd+:} false; then : 4998 $as_echo_n "(cached) " >&6 4999else 5000 case $host in 5001 *-*-mingw* ) 5002 case $build in 5003 *-*-mingw* ) # actually msys 5004 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5005 ;; 5006 *-*-cygwin* ) 5007 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5008 ;; 5009 * ) # otherwise, assume *nix 5010 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5011 ;; 5012 esac 5013 ;; 5014 *-*-cygwin* ) 5015 case $build in 5016 *-*-mingw* ) # actually msys 5017 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5018 ;; 5019 *-*-cygwin* ) 5020 lt_cv_to_host_file_cmd=func_convert_file_noop 5021 ;; 5022 * ) # otherwise, assume *nix 5023 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5024 ;; 5025 esac 5026 ;; 5027 * ) # unhandled hosts (and "normal" native builds) 5028 lt_cv_to_host_file_cmd=func_convert_file_noop 5029 ;; 5030esac 5031 5032fi 5033 5034to_host_file_cmd=$lt_cv_to_host_file_cmd 5035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5036$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5037 5038 5039 5040 5041 5042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5043$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5044if ${lt_cv_to_tool_file_cmd+:} false; then : 5045 $as_echo_n "(cached) " >&6 5046else 5047 #assume ordinary cross tools, or native build. 5048lt_cv_to_tool_file_cmd=func_convert_file_noop 5049case $host in 5050 *-*-mingw* ) 5051 case $build in 5052 *-*-mingw* ) # actually msys 5053 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5054 ;; 5055 esac 5056 ;; 5057esac 5058 5059fi 5060 5061to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5063$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5064 5065 5066 5067 5068 5069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5070$as_echo_n "checking for $LD option to reload object files... " >&6; } 5071if ${lt_cv_ld_reload_flag+:} false; then : 5072 $as_echo_n "(cached) " >&6 5073else 5074 lt_cv_ld_reload_flag='-r' 5075fi 5076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5077$as_echo "$lt_cv_ld_reload_flag" >&6; } 5078reload_flag=$lt_cv_ld_reload_flag 5079case $reload_flag in 5080"" | " "*) ;; 5081*) reload_flag=" $reload_flag" ;; 5082esac 5083reload_cmds='$LD$reload_flag -o $output$reload_objs' 5084case $host_os in 5085 cygwin* | mingw* | pw32* | cegcc*) 5086 if test yes != "$GCC"; then 5087 reload_cmds=false 5088 fi 5089 ;; 5090 darwin*) 5091 if test yes = "$GCC"; then 5092 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5093 else 5094 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5095 fi 5096 ;; 5097esac 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107if test -n "$ac_tool_prefix"; then 5108 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5109set dummy ${ac_tool_prefix}objdump; ac_word=$2 5110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5111$as_echo_n "checking for $ac_word... " >&6; } 5112if ${ac_cv_prog_OBJDUMP+:} false; then : 5113 $as_echo_n "(cached) " >&6 5114else 5115 if test -n "$OBJDUMP"; then 5116 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5117else 5118as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5119for as_dir in $PATH 5120do 5121 IFS=$as_save_IFS 5122 test -z "$as_dir" && as_dir=. 5123 for ac_exec_ext in '' $ac_executable_extensions; do 5124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5125 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5127 break 2 5128 fi 5129done 5130 done 5131IFS=$as_save_IFS 5132 5133fi 5134fi 5135OBJDUMP=$ac_cv_prog_OBJDUMP 5136if test -n "$OBJDUMP"; then 5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5138$as_echo "$OBJDUMP" >&6; } 5139else 5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5141$as_echo "no" >&6; } 5142fi 5143 5144 5145fi 5146if test -z "$ac_cv_prog_OBJDUMP"; then 5147 ac_ct_OBJDUMP=$OBJDUMP 5148 # Extract the first word of "objdump", so it can be a program name with args. 5149set dummy objdump; ac_word=$2 5150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5151$as_echo_n "checking for $ac_word... " >&6; } 5152if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5153 $as_echo_n "(cached) " >&6 5154else 5155 if test -n "$ac_ct_OBJDUMP"; then 5156 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5157else 5158as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5159for as_dir in $PATH 5160do 5161 IFS=$as_save_IFS 5162 test -z "$as_dir" && as_dir=. 5163 for ac_exec_ext in '' $ac_executable_extensions; do 5164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5165 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5167 break 2 5168 fi 5169done 5170 done 5171IFS=$as_save_IFS 5172 5173fi 5174fi 5175ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5176if test -n "$ac_ct_OBJDUMP"; then 5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5178$as_echo "$ac_ct_OBJDUMP" >&6; } 5179else 5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5181$as_echo "no" >&6; } 5182fi 5183 5184 if test "x$ac_ct_OBJDUMP" = x; then 5185 OBJDUMP="false" 5186 else 5187 case $cross_compiling:$ac_tool_warned in 5188yes:) 5189{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5190$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5191ac_tool_warned=yes ;; 5192esac 5193 OBJDUMP=$ac_ct_OBJDUMP 5194 fi 5195else 5196 OBJDUMP="$ac_cv_prog_OBJDUMP" 5197fi 5198 5199test -z "$OBJDUMP" && OBJDUMP=objdump 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5210$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5211if ${lt_cv_deplibs_check_method+:} false; then : 5212 $as_echo_n "(cached) " >&6 5213else 5214 lt_cv_file_magic_cmd='$MAGIC_CMD' 5215lt_cv_file_magic_test_file= 5216lt_cv_deplibs_check_method='unknown' 5217# Need to set the preceding variable on all platforms that support 5218# interlibrary dependencies. 5219# 'none' -- dependencies not supported. 5220# 'unknown' -- same as none, but documents that we really don't know. 5221# 'pass_all' -- all dependencies passed with no checks. 5222# 'test_compile' -- check by making test program. 5223# 'file_magic [[regex]]' -- check by looking for files in library path 5224# that responds to the $file_magic_cmd with a given extended regex. 5225# If you have 'file' or equivalent on your system and you're not sure 5226# whether 'pass_all' will *always* work, you probably want this one. 5227 5228case $host_os in 5229aix[4-9]*) 5230 lt_cv_deplibs_check_method=pass_all 5231 ;; 5232 5233beos*) 5234 lt_cv_deplibs_check_method=pass_all 5235 ;; 5236 5237bsdi[45]*) 5238 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5239 lt_cv_file_magic_cmd='/usr/bin/file -L' 5240 lt_cv_file_magic_test_file=/shlib/libc.so 5241 ;; 5242 5243cygwin*) 5244 # func_win32_libid is a shell function defined in ltmain.sh 5245 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5246 lt_cv_file_magic_cmd='func_win32_libid' 5247 ;; 5248 5249mingw* | pw32*) 5250 # Base MSYS/MinGW do not provide the 'file' command needed by 5251 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5252 # unless we find 'file', for example because we are cross-compiling. 5253 if ( file / ) >/dev/null 2>&1; then 5254 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5255 lt_cv_file_magic_cmd='func_win32_libid' 5256 else 5257 # Keep this pattern in sync with the one in func_win32_libid. 5258 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5259 lt_cv_file_magic_cmd='$OBJDUMP -f' 5260 fi 5261 ;; 5262 5263cegcc*) 5264 # use the weaker test based on 'objdump'. See mingw*. 5265 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5266 lt_cv_file_magic_cmd='$OBJDUMP -f' 5267 ;; 5268 5269darwin* | rhapsody*) 5270 lt_cv_deplibs_check_method=pass_all 5271 ;; 5272 5273freebsd* | dragonfly*) 5274 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5275 case $host_cpu in 5276 i*86 ) 5277 # Not sure whether the presence of OpenBSD here was a mistake. 5278 # Let's accept both of them until this is cleared up. 5279 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5280 lt_cv_file_magic_cmd=/usr/bin/file 5281 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5282 ;; 5283 esac 5284 else 5285 lt_cv_deplibs_check_method=pass_all 5286 fi 5287 ;; 5288 5289haiku*) 5290 lt_cv_deplibs_check_method=pass_all 5291 ;; 5292 5293hpux10.20* | hpux11*) 5294 lt_cv_file_magic_cmd=/usr/bin/file 5295 case $host_cpu in 5296 ia64*) 5297 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5298 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5299 ;; 5300 hppa*64*) 5301 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]' 5302 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5303 ;; 5304 *) 5305 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5306 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5307 ;; 5308 esac 5309 ;; 5310 5311interix[3-9]*) 5312 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5313 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5314 ;; 5315 5316irix5* | irix6* | nonstopux*) 5317 case $LD in 5318 *-32|*"-32 ") libmagic=32-bit;; 5319 *-n32|*"-n32 ") libmagic=N32;; 5320 *-64|*"-64 ") libmagic=64-bit;; 5321 *) libmagic=never-match;; 5322 esac 5323 lt_cv_deplibs_check_method=pass_all 5324 ;; 5325 5326# This must be glibc/ELF. 5327linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5328 lt_cv_deplibs_check_method=pass_all 5329 ;; 5330 5331netbsd*) 5332 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5333 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5334 else 5335 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5336 fi 5337 ;; 5338 5339newos6*) 5340 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5341 lt_cv_file_magic_cmd=/usr/bin/file 5342 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5343 ;; 5344 5345*nto* | *qnx*) 5346 lt_cv_deplibs_check_method=pass_all 5347 ;; 5348 5349openbsd* | bitrig*) 5350 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5351 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5352 else 5353 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5354 fi 5355 ;; 5356 5357osf3* | osf4* | osf5*) 5358 lt_cv_deplibs_check_method=pass_all 5359 ;; 5360 5361rdos*) 5362 lt_cv_deplibs_check_method=pass_all 5363 ;; 5364 5365solaris*) 5366 lt_cv_deplibs_check_method=pass_all 5367 ;; 5368 5369sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5370 lt_cv_deplibs_check_method=pass_all 5371 ;; 5372 5373sysv4 | sysv4.3*) 5374 case $host_vendor in 5375 motorola) 5376 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]' 5377 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5378 ;; 5379 ncr) 5380 lt_cv_deplibs_check_method=pass_all 5381 ;; 5382 sequent) 5383 lt_cv_file_magic_cmd='/bin/file' 5384 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5385 ;; 5386 sni) 5387 lt_cv_file_magic_cmd='/bin/file' 5388 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5389 lt_cv_file_magic_test_file=/lib/libc.so 5390 ;; 5391 siemens) 5392 lt_cv_deplibs_check_method=pass_all 5393 ;; 5394 pc) 5395 lt_cv_deplibs_check_method=pass_all 5396 ;; 5397 esac 5398 ;; 5399 5400tpf*) 5401 lt_cv_deplibs_check_method=pass_all 5402 ;; 5403os2*) 5404 lt_cv_deplibs_check_method=pass_all 5405 ;; 5406esac 5407 5408fi 5409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5410$as_echo "$lt_cv_deplibs_check_method" >&6; } 5411 5412file_magic_glob= 5413want_nocaseglob=no 5414if test "$build" = "$host"; then 5415 case $host_os in 5416 mingw* | pw32*) 5417 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5418 want_nocaseglob=yes 5419 else 5420 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5421 fi 5422 ;; 5423 esac 5424fi 5425 5426file_magic_cmd=$lt_cv_file_magic_cmd 5427deplibs_check_method=$lt_cv_deplibs_check_method 5428test -z "$deplibs_check_method" && deplibs_check_method=unknown 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451if test -n "$ac_tool_prefix"; then 5452 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5453set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5455$as_echo_n "checking for $ac_word... " >&6; } 5456if ${ac_cv_prog_DLLTOOL+:} false; then : 5457 $as_echo_n "(cached) " >&6 5458else 5459 if test -n "$DLLTOOL"; then 5460 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5461else 5462as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5463for as_dir in $PATH 5464do 5465 IFS=$as_save_IFS 5466 test -z "$as_dir" && as_dir=. 5467 for ac_exec_ext in '' $ac_executable_extensions; do 5468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5469 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5471 break 2 5472 fi 5473done 5474 done 5475IFS=$as_save_IFS 5476 5477fi 5478fi 5479DLLTOOL=$ac_cv_prog_DLLTOOL 5480if test -n "$DLLTOOL"; then 5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5482$as_echo "$DLLTOOL" >&6; } 5483else 5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5485$as_echo "no" >&6; } 5486fi 5487 5488 5489fi 5490if test -z "$ac_cv_prog_DLLTOOL"; then 5491 ac_ct_DLLTOOL=$DLLTOOL 5492 # Extract the first word of "dlltool", so it can be a program name with args. 5493set dummy dlltool; ac_word=$2 5494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5495$as_echo_n "checking for $ac_word... " >&6; } 5496if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5497 $as_echo_n "(cached) " >&6 5498else 5499 if test -n "$ac_ct_DLLTOOL"; then 5500 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5501else 5502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5503for as_dir in $PATH 5504do 5505 IFS=$as_save_IFS 5506 test -z "$as_dir" && as_dir=. 5507 for ac_exec_ext in '' $ac_executable_extensions; do 5508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5509 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5511 break 2 5512 fi 5513done 5514 done 5515IFS=$as_save_IFS 5516 5517fi 5518fi 5519ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5520if test -n "$ac_ct_DLLTOOL"; then 5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5522$as_echo "$ac_ct_DLLTOOL" >&6; } 5523else 5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5525$as_echo "no" >&6; } 5526fi 5527 5528 if test "x$ac_ct_DLLTOOL" = x; then 5529 DLLTOOL="false" 5530 else 5531 case $cross_compiling:$ac_tool_warned in 5532yes:) 5533{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5534$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5535ac_tool_warned=yes ;; 5536esac 5537 DLLTOOL=$ac_ct_DLLTOOL 5538 fi 5539else 5540 DLLTOOL="$ac_cv_prog_DLLTOOL" 5541fi 5542 5543test -z "$DLLTOOL" && DLLTOOL=dlltool 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5555$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5556if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5557 $as_echo_n "(cached) " >&6 5558else 5559 lt_cv_sharedlib_from_linklib_cmd='unknown' 5560 5561case $host_os in 5562cygwin* | mingw* | pw32* | cegcc*) 5563 # two different shell functions defined in ltmain.sh; 5564 # decide which one to use based on capabilities of $DLLTOOL 5565 case `$DLLTOOL --help 2>&1` in 5566 *--identify-strict*) 5567 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5568 ;; 5569 *) 5570 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5571 ;; 5572 esac 5573 ;; 5574*) 5575 # fallback: assume linklib IS sharedlib 5576 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5577 ;; 5578esac 5579 5580fi 5581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5582$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5583sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5584test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5585 5586 5587 5588 5589 5590 5591 5592 5593if test -n "$ac_tool_prefix"; then 5594 for ac_prog in ar 5595 do 5596 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5597set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5599$as_echo_n "checking for $ac_word... " >&6; } 5600if ${ac_cv_prog_AR+:} false; then : 5601 $as_echo_n "(cached) " >&6 5602else 5603 if test -n "$AR"; then 5604 ac_cv_prog_AR="$AR" # Let the user override the test. 5605else 5606as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5607for as_dir in $PATH 5608do 5609 IFS=$as_save_IFS 5610 test -z "$as_dir" && as_dir=. 5611 for ac_exec_ext in '' $ac_executable_extensions; do 5612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5613 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5615 break 2 5616 fi 5617done 5618 done 5619IFS=$as_save_IFS 5620 5621fi 5622fi 5623AR=$ac_cv_prog_AR 5624if test -n "$AR"; then 5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5626$as_echo "$AR" >&6; } 5627else 5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5629$as_echo "no" >&6; } 5630fi 5631 5632 5633 test -n "$AR" && break 5634 done 5635fi 5636if test -z "$AR"; then 5637 ac_ct_AR=$AR 5638 for ac_prog in ar 5639do 5640 # Extract the first word of "$ac_prog", so it can be a program name with args. 5641set dummy $ac_prog; ac_word=$2 5642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5643$as_echo_n "checking for $ac_word... " >&6; } 5644if ${ac_cv_prog_ac_ct_AR+:} false; then : 5645 $as_echo_n "(cached) " >&6 5646else 5647 if test -n "$ac_ct_AR"; then 5648 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5649else 5650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5651for as_dir in $PATH 5652do 5653 IFS=$as_save_IFS 5654 test -z "$as_dir" && as_dir=. 5655 for ac_exec_ext in '' $ac_executable_extensions; do 5656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5657 ac_cv_prog_ac_ct_AR="$ac_prog" 5658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5659 break 2 5660 fi 5661done 5662 done 5663IFS=$as_save_IFS 5664 5665fi 5666fi 5667ac_ct_AR=$ac_cv_prog_ac_ct_AR 5668if test -n "$ac_ct_AR"; then 5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5670$as_echo "$ac_ct_AR" >&6; } 5671else 5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5673$as_echo "no" >&6; } 5674fi 5675 5676 5677 test -n "$ac_ct_AR" && break 5678done 5679 5680 if test "x$ac_ct_AR" = x; then 5681 AR="false" 5682 else 5683 case $cross_compiling:$ac_tool_warned in 5684yes:) 5685{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5686$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5687ac_tool_warned=yes ;; 5688esac 5689 AR=$ac_ct_AR 5690 fi 5691fi 5692 5693: ${AR=ar} 5694: ${AR_FLAGS=cru} 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5707$as_echo_n "checking for archiver @FILE support... " >&6; } 5708if ${lt_cv_ar_at_file+:} false; then : 5709 $as_echo_n "(cached) " >&6 5710else 5711 lt_cv_ar_at_file=no 5712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5713/* end confdefs.h. */ 5714 5715int 5716main () 5717{ 5718 5719 ; 5720 return 0; 5721} 5722_ACEOF 5723if ac_fn_c_try_compile "$LINENO"; then : 5724 echo conftest.$ac_objext > conftest.lst 5725 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5726 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5727 (eval $lt_ar_try) 2>&5 5728 ac_status=$? 5729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5730 test $ac_status = 0; } 5731 if test 0 -eq "$ac_status"; then 5732 # Ensure the archiver fails upon bogus file names. 5733 rm -f conftest.$ac_objext libconftest.a 5734 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5735 (eval $lt_ar_try) 2>&5 5736 ac_status=$? 5737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5738 test $ac_status = 0; } 5739 if test 0 -ne "$ac_status"; then 5740 lt_cv_ar_at_file=@ 5741 fi 5742 fi 5743 rm -f conftest.* libconftest.a 5744 5745fi 5746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5747 5748fi 5749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5750$as_echo "$lt_cv_ar_at_file" >&6; } 5751 5752if test no = "$lt_cv_ar_at_file"; then 5753 archiver_list_spec= 5754else 5755 archiver_list_spec=$lt_cv_ar_at_file 5756fi 5757 5758 5759 5760 5761 5762 5763 5764if test -n "$ac_tool_prefix"; then 5765 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5766set dummy ${ac_tool_prefix}strip; ac_word=$2 5767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5768$as_echo_n "checking for $ac_word... " >&6; } 5769if ${ac_cv_prog_STRIP+:} false; then : 5770 $as_echo_n "(cached) " >&6 5771else 5772 if test -n "$STRIP"; then 5773 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5774else 5775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5776for as_dir in $PATH 5777do 5778 IFS=$as_save_IFS 5779 test -z "$as_dir" && as_dir=. 5780 for ac_exec_ext in '' $ac_executable_extensions; do 5781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5782 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5784 break 2 5785 fi 5786done 5787 done 5788IFS=$as_save_IFS 5789 5790fi 5791fi 5792STRIP=$ac_cv_prog_STRIP 5793if test -n "$STRIP"; then 5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5795$as_echo "$STRIP" >&6; } 5796else 5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5798$as_echo "no" >&6; } 5799fi 5800 5801 5802fi 5803if test -z "$ac_cv_prog_STRIP"; then 5804 ac_ct_STRIP=$STRIP 5805 # Extract the first word of "strip", so it can be a program name with args. 5806set dummy strip; ac_word=$2 5807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5808$as_echo_n "checking for $ac_word... " >&6; } 5809if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5810 $as_echo_n "(cached) " >&6 5811else 5812 if test -n "$ac_ct_STRIP"; then 5813 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5814else 5815as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5816for as_dir in $PATH 5817do 5818 IFS=$as_save_IFS 5819 test -z "$as_dir" && as_dir=. 5820 for ac_exec_ext in '' $ac_executable_extensions; do 5821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5822 ac_cv_prog_ac_ct_STRIP="strip" 5823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5824 break 2 5825 fi 5826done 5827 done 5828IFS=$as_save_IFS 5829 5830fi 5831fi 5832ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5833if test -n "$ac_ct_STRIP"; then 5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5835$as_echo "$ac_ct_STRIP" >&6; } 5836else 5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5838$as_echo "no" >&6; } 5839fi 5840 5841 if test "x$ac_ct_STRIP" = x; then 5842 STRIP=":" 5843 else 5844 case $cross_compiling:$ac_tool_warned in 5845yes:) 5846{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5847$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5848ac_tool_warned=yes ;; 5849esac 5850 STRIP=$ac_ct_STRIP 5851 fi 5852else 5853 STRIP="$ac_cv_prog_STRIP" 5854fi 5855 5856test -z "$STRIP" && STRIP=: 5857 5858 5859 5860 5861 5862 5863if test -n "$ac_tool_prefix"; then 5864 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5865set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5867$as_echo_n "checking for $ac_word... " >&6; } 5868if ${ac_cv_prog_RANLIB+:} false; then : 5869 $as_echo_n "(cached) " >&6 5870else 5871 if test -n "$RANLIB"; then 5872 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5873else 5874as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5875for as_dir in $PATH 5876do 5877 IFS=$as_save_IFS 5878 test -z "$as_dir" && as_dir=. 5879 for ac_exec_ext in '' $ac_executable_extensions; do 5880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5881 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5883 break 2 5884 fi 5885done 5886 done 5887IFS=$as_save_IFS 5888 5889fi 5890fi 5891RANLIB=$ac_cv_prog_RANLIB 5892if test -n "$RANLIB"; then 5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5894$as_echo "$RANLIB" >&6; } 5895else 5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5897$as_echo "no" >&6; } 5898fi 5899 5900 5901fi 5902if test -z "$ac_cv_prog_RANLIB"; then 5903 ac_ct_RANLIB=$RANLIB 5904 # Extract the first word of "ranlib", so it can be a program name with args. 5905set dummy ranlib; ac_word=$2 5906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5907$as_echo_n "checking for $ac_word... " >&6; } 5908if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5909 $as_echo_n "(cached) " >&6 5910else 5911 if test -n "$ac_ct_RANLIB"; then 5912 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5913else 5914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5915for as_dir in $PATH 5916do 5917 IFS=$as_save_IFS 5918 test -z "$as_dir" && as_dir=. 5919 for ac_exec_ext in '' $ac_executable_extensions; do 5920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5921 ac_cv_prog_ac_ct_RANLIB="ranlib" 5922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5923 break 2 5924 fi 5925done 5926 done 5927IFS=$as_save_IFS 5928 5929fi 5930fi 5931ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5932if test -n "$ac_ct_RANLIB"; then 5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5934$as_echo "$ac_ct_RANLIB" >&6; } 5935else 5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5937$as_echo "no" >&6; } 5938fi 5939 5940 if test "x$ac_ct_RANLIB" = x; then 5941 RANLIB=":" 5942 else 5943 case $cross_compiling:$ac_tool_warned in 5944yes:) 5945{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5946$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5947ac_tool_warned=yes ;; 5948esac 5949 RANLIB=$ac_ct_RANLIB 5950 fi 5951else 5952 RANLIB="$ac_cv_prog_RANLIB" 5953fi 5954 5955test -z "$RANLIB" && RANLIB=: 5956 5957 5958 5959 5960 5961 5962# Determine commands to create old-style static archives. 5963old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5964old_postinstall_cmds='chmod 644 $oldlib' 5965old_postuninstall_cmds= 5966 5967if test -n "$RANLIB"; then 5968 case $host_os in 5969 bitrig* | openbsd*) 5970 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5971 ;; 5972 *) 5973 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5974 ;; 5975 esac 5976 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5977fi 5978 5979case $host_os in 5980 darwin*) 5981 lock_old_archive_extraction=yes ;; 5982 *) 5983 lock_old_archive_extraction=no ;; 5984esac 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024# If no C compiler was specified, use CC. 6025LTCC=${LTCC-"$CC"} 6026 6027# If no C compiler flags were specified, use CFLAGS. 6028LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6029 6030# Allow CC to be a program name with arguments. 6031compiler=$CC 6032 6033 6034# Check for command to grab the raw symbol name followed by C symbol from nm. 6035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6036$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6037if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6038 $as_echo_n "(cached) " >&6 6039else 6040 6041# These are sane defaults that work on at least a few old systems. 6042# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6043 6044# Character class describing NM global symbol codes. 6045symcode='[BCDEGRST]' 6046 6047# Regexp to match symbols that can be accessed directly from C. 6048sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6049 6050# Define system-specific variables. 6051case $host_os in 6052aix*) 6053 symcode='[BCDT]' 6054 ;; 6055cygwin* | mingw* | pw32* | cegcc*) 6056 symcode='[ABCDGISTW]' 6057 ;; 6058hpux*) 6059 if test ia64 = "$host_cpu"; then 6060 symcode='[ABCDEGRST]' 6061 fi 6062 ;; 6063irix* | nonstopux*) 6064 symcode='[BCDEGRST]' 6065 ;; 6066osf*) 6067 symcode='[BCDEGQRST]' 6068 ;; 6069solaris*) 6070 symcode='[BDRT]' 6071 ;; 6072sco3.2v5*) 6073 symcode='[DT]' 6074 ;; 6075sysv4.2uw2*) 6076 symcode='[DT]' 6077 ;; 6078sysv5* | sco5v6* | unixware* | OpenUNIX*) 6079 symcode='[ABDT]' 6080 ;; 6081sysv4) 6082 symcode='[DFNSTU]' 6083 ;; 6084esac 6085 6086# If we're using GNU nm, then use its standard symbol codes. 6087case `$NM -V 2>&1` in 6088*GNU* | *'with BFD'*) 6089 symcode='[ABCDGIRSTW]' ;; 6090esac 6091 6092if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6093 # Gets list of data symbols to import. 6094 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6095 # Adjust the below global symbol transforms to fixup imported variables. 6096 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6097 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6098 lt_c_name_lib_hook="\ 6099 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6100 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6101else 6102 # Disable hooks by default. 6103 lt_cv_sys_global_symbol_to_import= 6104 lt_cdecl_hook= 6105 lt_c_name_hook= 6106 lt_c_name_lib_hook= 6107fi 6108 6109# Transform an extracted symbol line into a proper C declaration. 6110# Some systems (esp. on ia64) link data and code symbols differently, 6111# so use this general approach. 6112lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6113$lt_cdecl_hook\ 6114" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6115" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6116 6117# Transform an extracted symbol line into symbol name and symbol address 6118lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6119$lt_c_name_hook\ 6120" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6121" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6122 6123# Transform an extracted symbol line into symbol name with lib prefix and 6124# symbol address. 6125lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6126$lt_c_name_lib_hook\ 6127" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6128" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6129" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6130 6131# Handle CRLF in mingw tool chain 6132opt_cr= 6133case $build_os in 6134mingw*) 6135 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6136 ;; 6137esac 6138 6139# Try without a prefix underscore, then with it. 6140for ac_symprfx in "" "_"; do 6141 6142 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6143 symxfrm="\\1 $ac_symprfx\\2 \\2" 6144 6145 # Write the raw and C identifiers. 6146 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6147 # Fake it for dumpbin and say T for any non-static function, 6148 # D for any global variable and I for any imported variable. 6149 # Also find C++ and __fastcall symbols from MSVC++, 6150 # which start with @ or ?. 6151 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6152" {last_section=section; section=\$ 3};"\ 6153" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6154" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6155" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6156" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6157" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6158" \$ 0!~/External *\|/{next};"\ 6159" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6160" {if(hide[section]) next};"\ 6161" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6162" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6163" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6164" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6165" ' prfx=^$ac_symprfx" 6166 else 6167 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6168 fi 6169 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6170 6171 # Check to see that the pipe works correctly. 6172 pipe_works=no 6173 6174 rm -f conftest* 6175 cat > conftest.$ac_ext <<_LT_EOF 6176#ifdef __cplusplus 6177extern "C" { 6178#endif 6179char nm_test_var; 6180void nm_test_func(void); 6181void nm_test_func(void){} 6182#ifdef __cplusplus 6183} 6184#endif 6185int main(){nm_test_var='a';nm_test_func();return(0);} 6186_LT_EOF 6187 6188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6189 (eval $ac_compile) 2>&5 6190 ac_status=$? 6191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6192 test $ac_status = 0; }; then 6193 # Now try to grab the symbols. 6194 nlist=conftest.nm 6195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6196 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6197 ac_status=$? 6198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6199 test $ac_status = 0; } && test -s "$nlist"; then 6200 # Try sorting and uniquifying the output. 6201 if sort "$nlist" | uniq > "$nlist"T; then 6202 mv -f "$nlist"T "$nlist" 6203 else 6204 rm -f "$nlist"T 6205 fi 6206 6207 # Make sure that we snagged all the symbols we need. 6208 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6209 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6210 cat <<_LT_EOF > conftest.$ac_ext 6211/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6212#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6213/* DATA imports from DLLs on WIN32 can't be const, because runtime 6214 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6215# define LT_DLSYM_CONST 6216#elif defined __osf__ 6217/* This system does not cope well with relocations in const data. */ 6218# define LT_DLSYM_CONST 6219#else 6220# define LT_DLSYM_CONST const 6221#endif 6222 6223#ifdef __cplusplus 6224extern "C" { 6225#endif 6226 6227_LT_EOF 6228 # Now generate the symbol file. 6229 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6230 6231 cat <<_LT_EOF >> conftest.$ac_ext 6232 6233/* The mapping between symbol names and symbols. */ 6234LT_DLSYM_CONST struct { 6235 const char *name; 6236 void *address; 6237} 6238lt__PROGRAM__LTX_preloaded_symbols[] = 6239{ 6240 { "@PROGRAM@", (void *) 0 }, 6241_LT_EOF 6242 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6243 cat <<\_LT_EOF >> conftest.$ac_ext 6244 {0, (void *) 0} 6245}; 6246 6247/* This works around a problem in FreeBSD linker */ 6248#ifdef FREEBSD_WORKAROUND 6249static const void *lt_preloaded_setup() { 6250 return lt__PROGRAM__LTX_preloaded_symbols; 6251} 6252#endif 6253 6254#ifdef __cplusplus 6255} 6256#endif 6257_LT_EOF 6258 # Now try linking the two files. 6259 mv conftest.$ac_objext conftstm.$ac_objext 6260 lt_globsym_save_LIBS=$LIBS 6261 lt_globsym_save_CFLAGS=$CFLAGS 6262 LIBS=conftstm.$ac_objext 6263 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6264 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6265 (eval $ac_link) 2>&5 6266 ac_status=$? 6267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6268 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6269 pipe_works=yes 6270 fi 6271 LIBS=$lt_globsym_save_LIBS 6272 CFLAGS=$lt_globsym_save_CFLAGS 6273 else 6274 echo "cannot find nm_test_func in $nlist" >&5 6275 fi 6276 else 6277 echo "cannot find nm_test_var in $nlist" >&5 6278 fi 6279 else 6280 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6281 fi 6282 else 6283 echo "$progname: failed program was:" >&5 6284 cat conftest.$ac_ext >&5 6285 fi 6286 rm -rf conftest* conftst* 6287 6288 # Do not use the global_symbol_pipe unless it works. 6289 if test yes = "$pipe_works"; then 6290 break 6291 else 6292 lt_cv_sys_global_symbol_pipe= 6293 fi 6294done 6295 6296fi 6297 6298if test -z "$lt_cv_sys_global_symbol_pipe"; then 6299 lt_cv_sys_global_symbol_to_cdecl= 6300fi 6301if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6303$as_echo "failed" >&6; } 6304else 6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6306$as_echo "ok" >&6; } 6307fi 6308 6309# Response file support. 6310if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6311 nm_file_list_spec='@' 6312elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6313 nm_file_list_spec='@' 6314fi 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6353$as_echo_n "checking for sysroot... " >&6; } 6354 6355# Check whether --with-sysroot was given. 6356if test "${with_sysroot+set}" = set; then : 6357 withval=$with_sysroot; 6358else 6359 with_sysroot=no 6360fi 6361 6362 6363lt_sysroot= 6364case $with_sysroot in #( 6365 yes) 6366 if test yes = "$GCC"; then 6367 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6368 fi 6369 ;; #( 6370 /*) 6371 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6372 ;; #( 6373 no|'') 6374 ;; #( 6375 *) 6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6377$as_echo "$with_sysroot" >&6; } 6378 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6379 ;; 6380esac 6381 6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6383$as_echo "${lt_sysroot:-no}" >&6; } 6384 6385 6386 6387 6388 6389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6390$as_echo_n "checking for a working dd... " >&6; } 6391if ${ac_cv_path_lt_DD+:} false; then : 6392 $as_echo_n "(cached) " >&6 6393else 6394 printf 0123456789abcdef0123456789abcdef >conftest.i 6395cat conftest.i conftest.i >conftest2.i 6396: ${lt_DD:=$DD} 6397if test -z "$lt_DD"; then 6398 ac_path_lt_DD_found=false 6399 # Loop through the user's path and test for each of PROGNAME-LIST 6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6401for as_dir in $PATH 6402do 6403 IFS=$as_save_IFS 6404 test -z "$as_dir" && as_dir=. 6405 for ac_prog in dd; do 6406 for ac_exec_ext in '' $ac_executable_extensions; do 6407 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6408 as_fn_executable_p "$ac_path_lt_DD" || continue 6409if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6410 cmp -s conftest.i conftest.out \ 6411 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6412fi 6413 $ac_path_lt_DD_found && break 3 6414 done 6415 done 6416 done 6417IFS=$as_save_IFS 6418 if test -z "$ac_cv_path_lt_DD"; then 6419 : 6420 fi 6421else 6422 ac_cv_path_lt_DD=$lt_DD 6423fi 6424 6425rm -f conftest.i conftest2.i conftest.out 6426fi 6427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6428$as_echo "$ac_cv_path_lt_DD" >&6; } 6429 6430 6431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6432$as_echo_n "checking how to truncate binary pipes... " >&6; } 6433if ${lt_cv_truncate_bin+:} false; then : 6434 $as_echo_n "(cached) " >&6 6435else 6436 printf 0123456789abcdef0123456789abcdef >conftest.i 6437cat conftest.i conftest.i >conftest2.i 6438lt_cv_truncate_bin= 6439if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6440 cmp -s conftest.i conftest.out \ 6441 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6442fi 6443rm -f conftest.i conftest2.i conftest.out 6444test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6445fi 6446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6447$as_echo "$lt_cv_truncate_bin" >&6; } 6448 6449 6450 6451 6452 6453 6454 6455# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6456func_cc_basename () 6457{ 6458 for cc_temp in $*""; do 6459 case $cc_temp in 6460 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6461 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6462 \-*) ;; 6463 *) break;; 6464 esac 6465 done 6466 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6467} 6468 6469# Check whether --enable-libtool-lock was given. 6470if test "${enable_libtool_lock+set}" = set; then : 6471 enableval=$enable_libtool_lock; 6472fi 6473 6474test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6475 6476# Some flags need to be propagated to the compiler or linker for good 6477# libtool support. 6478case $host in 6479ia64-*-hpux*) 6480 # Find out what ABI is being produced by ac_compile, and set mode 6481 # options accordingly. 6482 echo 'int i;' > conftest.$ac_ext 6483 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6484 (eval $ac_compile) 2>&5 6485 ac_status=$? 6486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6487 test $ac_status = 0; }; then 6488 case `/usr/bin/file conftest.$ac_objext` in 6489 *ELF-32*) 6490 HPUX_IA64_MODE=32 6491 ;; 6492 *ELF-64*) 6493 HPUX_IA64_MODE=64 6494 ;; 6495 esac 6496 fi 6497 rm -rf conftest* 6498 ;; 6499*-*-irix6*) 6500 # Find out what ABI is being produced by ac_compile, and set linker 6501 # options accordingly. 6502 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6503 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6504 (eval $ac_compile) 2>&5 6505 ac_status=$? 6506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6507 test $ac_status = 0; }; then 6508 if test yes = "$lt_cv_prog_gnu_ld"; then 6509 case `/usr/bin/file conftest.$ac_objext` in 6510 *32-bit*) 6511 LD="${LD-ld} -melf32bsmip" 6512 ;; 6513 *N32*) 6514 LD="${LD-ld} -melf32bmipn32" 6515 ;; 6516 *64-bit*) 6517 LD="${LD-ld} -melf64bmip" 6518 ;; 6519 esac 6520 else 6521 case `/usr/bin/file conftest.$ac_objext` in 6522 *32-bit*) 6523 LD="${LD-ld} -32" 6524 ;; 6525 *N32*) 6526 LD="${LD-ld} -n32" 6527 ;; 6528 *64-bit*) 6529 LD="${LD-ld} -64" 6530 ;; 6531 esac 6532 fi 6533 fi 6534 rm -rf conftest* 6535 ;; 6536 6537mips64*-*linux*) 6538 # Find out what ABI is being produced by ac_compile, and set linker 6539 # options accordingly. 6540 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6541 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6542 (eval $ac_compile) 2>&5 6543 ac_status=$? 6544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6545 test $ac_status = 0; }; then 6546 emul=elf 6547 case `/usr/bin/file conftest.$ac_objext` in 6548 *32-bit*) 6549 emul="${emul}32" 6550 ;; 6551 *64-bit*) 6552 emul="${emul}64" 6553 ;; 6554 esac 6555 case `/usr/bin/file conftest.$ac_objext` in 6556 *MSB*) 6557 emul="${emul}btsmip" 6558 ;; 6559 *LSB*) 6560 emul="${emul}ltsmip" 6561 ;; 6562 esac 6563 case `/usr/bin/file conftest.$ac_objext` in 6564 *N32*) 6565 emul="${emul}n32" 6566 ;; 6567 esac 6568 LD="${LD-ld} -m $emul" 6569 fi 6570 rm -rf conftest* 6571 ;; 6572 6573x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6574s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6575 # Find out what ABI is being produced by ac_compile, and set linker 6576 # options accordingly. Note that the listed cases only cover the 6577 # situations where additional linker options are needed (such as when 6578 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6579 # vice versa); the common cases where no linker options are needed do 6580 # not appear in the list. 6581 echo 'int i;' > conftest.$ac_ext 6582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6583 (eval $ac_compile) 2>&5 6584 ac_status=$? 6585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6586 test $ac_status = 0; }; then 6587 case `/usr/bin/file conftest.o` in 6588 *32-bit*) 6589 case $host in 6590 x86_64-*kfreebsd*-gnu) 6591 LD="${LD-ld} -m elf_i386_fbsd" 6592 ;; 6593 x86_64-*linux*) 6594 case `/usr/bin/file conftest.o` in 6595 *x86-64*) 6596 LD="${LD-ld} -m elf32_x86_64" 6597 ;; 6598 *) 6599 LD="${LD-ld} -m elf_i386" 6600 ;; 6601 esac 6602 ;; 6603 powerpc64le-*linux*) 6604 LD="${LD-ld} -m elf32lppclinux" 6605 ;; 6606 powerpc64-*linux*) 6607 LD="${LD-ld} -m elf32ppclinux" 6608 ;; 6609 s390x-*linux*) 6610 LD="${LD-ld} -m elf_s390" 6611 ;; 6612 sparc64-*linux*) 6613 LD="${LD-ld} -m elf32_sparc" 6614 ;; 6615 esac 6616 ;; 6617 *64-bit*) 6618 case $host in 6619 x86_64-*kfreebsd*-gnu) 6620 LD="${LD-ld} -m elf_x86_64_fbsd" 6621 ;; 6622 x86_64-*linux*) 6623 LD="${LD-ld} -m elf_x86_64" 6624 ;; 6625 powerpcle-*linux*) 6626 LD="${LD-ld} -m elf64lppc" 6627 ;; 6628 powerpc-*linux*) 6629 LD="${LD-ld} -m elf64ppc" 6630 ;; 6631 s390*-*linux*|s390*-*tpf*) 6632 LD="${LD-ld} -m elf64_s390" 6633 ;; 6634 sparc*-*linux*) 6635 LD="${LD-ld} -m elf64_sparc" 6636 ;; 6637 esac 6638 ;; 6639 esac 6640 fi 6641 rm -rf conftest* 6642 ;; 6643 6644*-*-sco3.2v5*) 6645 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6646 SAVE_CFLAGS=$CFLAGS 6647 CFLAGS="$CFLAGS -belf" 6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6649$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6650if ${lt_cv_cc_needs_belf+:} false; then : 6651 $as_echo_n "(cached) " >&6 6652else 6653 ac_ext=c 6654ac_cpp='$CPP $CPPFLAGS' 6655ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6656ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6657ac_compiler_gnu=$ac_cv_c_compiler_gnu 6658 6659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6660/* end confdefs.h. */ 6661 6662int 6663main () 6664{ 6665 6666 ; 6667 return 0; 6668} 6669_ACEOF 6670if ac_fn_c_try_link "$LINENO"; then : 6671 lt_cv_cc_needs_belf=yes 6672else 6673 lt_cv_cc_needs_belf=no 6674fi 6675rm -f core conftest.err conftest.$ac_objext \ 6676 conftest$ac_exeext conftest.$ac_ext 6677 ac_ext=c 6678ac_cpp='$CPP $CPPFLAGS' 6679ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6680ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6681ac_compiler_gnu=$ac_cv_c_compiler_gnu 6682 6683fi 6684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6685$as_echo "$lt_cv_cc_needs_belf" >&6; } 6686 if test yes != "$lt_cv_cc_needs_belf"; then 6687 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6688 CFLAGS=$SAVE_CFLAGS 6689 fi 6690 ;; 6691*-*solaris*) 6692 # Find out what ABI is being produced by ac_compile, and set linker 6693 # options accordingly. 6694 echo 'int i;' > conftest.$ac_ext 6695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6696 (eval $ac_compile) 2>&5 6697 ac_status=$? 6698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6699 test $ac_status = 0; }; then 6700 case `/usr/bin/file conftest.o` in 6701 *64-bit*) 6702 case $lt_cv_prog_gnu_ld in 6703 yes*) 6704 case $host in 6705 i?86-*-solaris*|x86_64-*-solaris*) 6706 LD="${LD-ld} -m elf_x86_64" 6707 ;; 6708 sparc*-*-solaris*) 6709 LD="${LD-ld} -m elf64_sparc" 6710 ;; 6711 esac 6712 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6713 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6714 LD=${LD-ld}_sol2 6715 fi 6716 ;; 6717 *) 6718 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6719 LD="${LD-ld} -64" 6720 fi 6721 ;; 6722 esac 6723 ;; 6724 esac 6725 fi 6726 rm -rf conftest* 6727 ;; 6728esac 6729 6730need_locks=$enable_libtool_lock 6731 6732if test -n "$ac_tool_prefix"; then 6733 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6734set dummy ${ac_tool_prefix}mt; ac_word=$2 6735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6736$as_echo_n "checking for $ac_word... " >&6; } 6737if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6738 $as_echo_n "(cached) " >&6 6739else 6740 if test -n "$MANIFEST_TOOL"; then 6741 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6742else 6743as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6744for as_dir in $PATH 6745do 6746 IFS=$as_save_IFS 6747 test -z "$as_dir" && as_dir=. 6748 for ac_exec_ext in '' $ac_executable_extensions; do 6749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6750 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6752 break 2 6753 fi 6754done 6755 done 6756IFS=$as_save_IFS 6757 6758fi 6759fi 6760MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6761if test -n "$MANIFEST_TOOL"; then 6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6763$as_echo "$MANIFEST_TOOL" >&6; } 6764else 6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6766$as_echo "no" >&6; } 6767fi 6768 6769 6770fi 6771if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6772 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6773 # Extract the first word of "mt", so it can be a program name with args. 6774set dummy mt; ac_word=$2 6775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6776$as_echo_n "checking for $ac_word... " >&6; } 6777if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6778 $as_echo_n "(cached) " >&6 6779else 6780 if test -n "$ac_ct_MANIFEST_TOOL"; then 6781 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6782else 6783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6784for as_dir in $PATH 6785do 6786 IFS=$as_save_IFS 6787 test -z "$as_dir" && as_dir=. 6788 for ac_exec_ext in '' $ac_executable_extensions; do 6789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6790 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6792 break 2 6793 fi 6794done 6795 done 6796IFS=$as_save_IFS 6797 6798fi 6799fi 6800ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6801if test -n "$ac_ct_MANIFEST_TOOL"; then 6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6803$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6804else 6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6806$as_echo "no" >&6; } 6807fi 6808 6809 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6810 MANIFEST_TOOL=":" 6811 else 6812 case $cross_compiling:$ac_tool_warned in 6813yes:) 6814{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6815$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6816ac_tool_warned=yes ;; 6817esac 6818 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6819 fi 6820else 6821 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6822fi 6823 6824test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6826$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6827if ${lt_cv_path_mainfest_tool+:} false; then : 6828 $as_echo_n "(cached) " >&6 6829else 6830 lt_cv_path_mainfest_tool=no 6831 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6832 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6833 cat conftest.err >&5 6834 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6835 lt_cv_path_mainfest_tool=yes 6836 fi 6837 rm -f conftest* 6838fi 6839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6840$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6841if test yes != "$lt_cv_path_mainfest_tool"; then 6842 MANIFEST_TOOL=: 6843fi 6844 6845 6846 6847 6848 6849 6850 case $host_os in 6851 rhapsody* | darwin*) 6852 if test -n "$ac_tool_prefix"; then 6853 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6854set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6856$as_echo_n "checking for $ac_word... " >&6; } 6857if ${ac_cv_prog_DSYMUTIL+:} false; then : 6858 $as_echo_n "(cached) " >&6 6859else 6860 if test -n "$DSYMUTIL"; then 6861 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6862else 6863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6864for as_dir in $PATH 6865do 6866 IFS=$as_save_IFS 6867 test -z "$as_dir" && as_dir=. 6868 for ac_exec_ext in '' $ac_executable_extensions; do 6869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6870 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6872 break 2 6873 fi 6874done 6875 done 6876IFS=$as_save_IFS 6877 6878fi 6879fi 6880DSYMUTIL=$ac_cv_prog_DSYMUTIL 6881if test -n "$DSYMUTIL"; then 6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6883$as_echo "$DSYMUTIL" >&6; } 6884else 6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6886$as_echo "no" >&6; } 6887fi 6888 6889 6890fi 6891if test -z "$ac_cv_prog_DSYMUTIL"; then 6892 ac_ct_DSYMUTIL=$DSYMUTIL 6893 # Extract the first word of "dsymutil", so it can be a program name with args. 6894set dummy dsymutil; ac_word=$2 6895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6896$as_echo_n "checking for $ac_word... " >&6; } 6897if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6898 $as_echo_n "(cached) " >&6 6899else 6900 if test -n "$ac_ct_DSYMUTIL"; then 6901 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6902else 6903as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6904for as_dir in $PATH 6905do 6906 IFS=$as_save_IFS 6907 test -z "$as_dir" && as_dir=. 6908 for ac_exec_ext in '' $ac_executable_extensions; do 6909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6910 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6912 break 2 6913 fi 6914done 6915 done 6916IFS=$as_save_IFS 6917 6918fi 6919fi 6920ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6921if test -n "$ac_ct_DSYMUTIL"; then 6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6923$as_echo "$ac_ct_DSYMUTIL" >&6; } 6924else 6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6926$as_echo "no" >&6; } 6927fi 6928 6929 if test "x$ac_ct_DSYMUTIL" = x; then 6930 DSYMUTIL=":" 6931 else 6932 case $cross_compiling:$ac_tool_warned in 6933yes:) 6934{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6935$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6936ac_tool_warned=yes ;; 6937esac 6938 DSYMUTIL=$ac_ct_DSYMUTIL 6939 fi 6940else 6941 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6942fi 6943 6944 if test -n "$ac_tool_prefix"; then 6945 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6946set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6948$as_echo_n "checking for $ac_word... " >&6; } 6949if ${ac_cv_prog_NMEDIT+:} false; then : 6950 $as_echo_n "(cached) " >&6 6951else 6952 if test -n "$NMEDIT"; then 6953 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6954else 6955as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6956for as_dir in $PATH 6957do 6958 IFS=$as_save_IFS 6959 test -z "$as_dir" && as_dir=. 6960 for ac_exec_ext in '' $ac_executable_extensions; do 6961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6962 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6964 break 2 6965 fi 6966done 6967 done 6968IFS=$as_save_IFS 6969 6970fi 6971fi 6972NMEDIT=$ac_cv_prog_NMEDIT 6973if test -n "$NMEDIT"; then 6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6975$as_echo "$NMEDIT" >&6; } 6976else 6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6978$as_echo "no" >&6; } 6979fi 6980 6981 6982fi 6983if test -z "$ac_cv_prog_NMEDIT"; then 6984 ac_ct_NMEDIT=$NMEDIT 6985 # Extract the first word of "nmedit", so it can be a program name with args. 6986set dummy nmedit; ac_word=$2 6987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6988$as_echo_n "checking for $ac_word... " >&6; } 6989if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6990 $as_echo_n "(cached) " >&6 6991else 6992 if test -n "$ac_ct_NMEDIT"; then 6993 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6994else 6995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6996for as_dir in $PATH 6997do 6998 IFS=$as_save_IFS 6999 test -z "$as_dir" && as_dir=. 7000 for ac_exec_ext in '' $ac_executable_extensions; do 7001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7002 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7004 break 2 7005 fi 7006done 7007 done 7008IFS=$as_save_IFS 7009 7010fi 7011fi 7012ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7013if test -n "$ac_ct_NMEDIT"; then 7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7015$as_echo "$ac_ct_NMEDIT" >&6; } 7016else 7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7018$as_echo "no" >&6; } 7019fi 7020 7021 if test "x$ac_ct_NMEDIT" = x; then 7022 NMEDIT=":" 7023 else 7024 case $cross_compiling:$ac_tool_warned in 7025yes:) 7026{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7027$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7028ac_tool_warned=yes ;; 7029esac 7030 NMEDIT=$ac_ct_NMEDIT 7031 fi 7032else 7033 NMEDIT="$ac_cv_prog_NMEDIT" 7034fi 7035 7036 if test -n "$ac_tool_prefix"; then 7037 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7038set dummy ${ac_tool_prefix}lipo; ac_word=$2 7039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7040$as_echo_n "checking for $ac_word... " >&6; } 7041if ${ac_cv_prog_LIPO+:} false; then : 7042 $as_echo_n "(cached) " >&6 7043else 7044 if test -n "$LIPO"; then 7045 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7046else 7047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7048for as_dir in $PATH 7049do 7050 IFS=$as_save_IFS 7051 test -z "$as_dir" && as_dir=. 7052 for ac_exec_ext in '' $ac_executable_extensions; do 7053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7054 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7056 break 2 7057 fi 7058done 7059 done 7060IFS=$as_save_IFS 7061 7062fi 7063fi 7064LIPO=$ac_cv_prog_LIPO 7065if test -n "$LIPO"; then 7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7067$as_echo "$LIPO" >&6; } 7068else 7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7070$as_echo "no" >&6; } 7071fi 7072 7073 7074fi 7075if test -z "$ac_cv_prog_LIPO"; then 7076 ac_ct_LIPO=$LIPO 7077 # Extract the first word of "lipo", so it can be a program name with args. 7078set dummy lipo; ac_word=$2 7079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7080$as_echo_n "checking for $ac_word... " >&6; } 7081if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7082 $as_echo_n "(cached) " >&6 7083else 7084 if test -n "$ac_ct_LIPO"; then 7085 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7086else 7087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7088for as_dir in $PATH 7089do 7090 IFS=$as_save_IFS 7091 test -z "$as_dir" && as_dir=. 7092 for ac_exec_ext in '' $ac_executable_extensions; do 7093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7094 ac_cv_prog_ac_ct_LIPO="lipo" 7095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7096 break 2 7097 fi 7098done 7099 done 7100IFS=$as_save_IFS 7101 7102fi 7103fi 7104ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7105if test -n "$ac_ct_LIPO"; then 7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7107$as_echo "$ac_ct_LIPO" >&6; } 7108else 7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7110$as_echo "no" >&6; } 7111fi 7112 7113 if test "x$ac_ct_LIPO" = x; then 7114 LIPO=":" 7115 else 7116 case $cross_compiling:$ac_tool_warned in 7117yes:) 7118{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7119$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7120ac_tool_warned=yes ;; 7121esac 7122 LIPO=$ac_ct_LIPO 7123 fi 7124else 7125 LIPO="$ac_cv_prog_LIPO" 7126fi 7127 7128 if test -n "$ac_tool_prefix"; then 7129 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7130set dummy ${ac_tool_prefix}otool; ac_word=$2 7131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7132$as_echo_n "checking for $ac_word... " >&6; } 7133if ${ac_cv_prog_OTOOL+:} false; then : 7134 $as_echo_n "(cached) " >&6 7135else 7136 if test -n "$OTOOL"; then 7137 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7138else 7139as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7140for as_dir in $PATH 7141do 7142 IFS=$as_save_IFS 7143 test -z "$as_dir" && as_dir=. 7144 for ac_exec_ext in '' $ac_executable_extensions; do 7145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7146 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7148 break 2 7149 fi 7150done 7151 done 7152IFS=$as_save_IFS 7153 7154fi 7155fi 7156OTOOL=$ac_cv_prog_OTOOL 7157if test -n "$OTOOL"; then 7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7159$as_echo "$OTOOL" >&6; } 7160else 7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7162$as_echo "no" >&6; } 7163fi 7164 7165 7166fi 7167if test -z "$ac_cv_prog_OTOOL"; then 7168 ac_ct_OTOOL=$OTOOL 7169 # Extract the first word of "otool", so it can be a program name with args. 7170set dummy otool; ac_word=$2 7171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7172$as_echo_n "checking for $ac_word... " >&6; } 7173if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7174 $as_echo_n "(cached) " >&6 7175else 7176 if test -n "$ac_ct_OTOOL"; then 7177 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7178else 7179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7180for as_dir in $PATH 7181do 7182 IFS=$as_save_IFS 7183 test -z "$as_dir" && as_dir=. 7184 for ac_exec_ext in '' $ac_executable_extensions; do 7185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7186 ac_cv_prog_ac_ct_OTOOL="otool" 7187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7188 break 2 7189 fi 7190done 7191 done 7192IFS=$as_save_IFS 7193 7194fi 7195fi 7196ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7197if test -n "$ac_ct_OTOOL"; then 7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7199$as_echo "$ac_ct_OTOOL" >&6; } 7200else 7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7202$as_echo "no" >&6; } 7203fi 7204 7205 if test "x$ac_ct_OTOOL" = x; then 7206 OTOOL=":" 7207 else 7208 case $cross_compiling:$ac_tool_warned in 7209yes:) 7210{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7211$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7212ac_tool_warned=yes ;; 7213esac 7214 OTOOL=$ac_ct_OTOOL 7215 fi 7216else 7217 OTOOL="$ac_cv_prog_OTOOL" 7218fi 7219 7220 if test -n "$ac_tool_prefix"; then 7221 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7222set dummy ${ac_tool_prefix}otool64; ac_word=$2 7223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7224$as_echo_n "checking for $ac_word... " >&6; } 7225if ${ac_cv_prog_OTOOL64+:} false; then : 7226 $as_echo_n "(cached) " >&6 7227else 7228 if test -n "$OTOOL64"; then 7229 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7230else 7231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7232for as_dir in $PATH 7233do 7234 IFS=$as_save_IFS 7235 test -z "$as_dir" && as_dir=. 7236 for ac_exec_ext in '' $ac_executable_extensions; do 7237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7238 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7240 break 2 7241 fi 7242done 7243 done 7244IFS=$as_save_IFS 7245 7246fi 7247fi 7248OTOOL64=$ac_cv_prog_OTOOL64 7249if test -n "$OTOOL64"; then 7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7251$as_echo "$OTOOL64" >&6; } 7252else 7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7254$as_echo "no" >&6; } 7255fi 7256 7257 7258fi 7259if test -z "$ac_cv_prog_OTOOL64"; then 7260 ac_ct_OTOOL64=$OTOOL64 7261 # Extract the first word of "otool64", so it can be a program name with args. 7262set dummy otool64; ac_word=$2 7263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7264$as_echo_n "checking for $ac_word... " >&6; } 7265if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7266 $as_echo_n "(cached) " >&6 7267else 7268 if test -n "$ac_ct_OTOOL64"; then 7269 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7270else 7271as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7272for as_dir in $PATH 7273do 7274 IFS=$as_save_IFS 7275 test -z "$as_dir" && as_dir=. 7276 for ac_exec_ext in '' $ac_executable_extensions; do 7277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7278 ac_cv_prog_ac_ct_OTOOL64="otool64" 7279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7280 break 2 7281 fi 7282done 7283 done 7284IFS=$as_save_IFS 7285 7286fi 7287fi 7288ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7289if test -n "$ac_ct_OTOOL64"; then 7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7291$as_echo "$ac_ct_OTOOL64" >&6; } 7292else 7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7294$as_echo "no" >&6; } 7295fi 7296 7297 if test "x$ac_ct_OTOOL64" = x; then 7298 OTOOL64=":" 7299 else 7300 case $cross_compiling:$ac_tool_warned in 7301yes:) 7302{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7303$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7304ac_tool_warned=yes ;; 7305esac 7306 OTOOL64=$ac_ct_OTOOL64 7307 fi 7308else 7309 OTOOL64="$ac_cv_prog_OTOOL64" 7310fi 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7339$as_echo_n "checking for -single_module linker flag... " >&6; } 7340if ${lt_cv_apple_cc_single_mod+:} false; then : 7341 $as_echo_n "(cached) " >&6 7342else 7343 lt_cv_apple_cc_single_mod=no 7344 if test -z "$LT_MULTI_MODULE"; then 7345 # By default we will add the -single_module flag. You can override 7346 # by either setting the environment variable LT_MULTI_MODULE 7347 # non-empty at configure time, or by adding -multi_module to the 7348 # link flags. 7349 rm -rf libconftest.dylib* 7350 echo "int foo(void){return 1;}" > conftest.c 7351 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7352-dynamiclib -Wl,-single_module conftest.c" >&5 7353 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7354 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7355 _lt_result=$? 7356 # If there is a non-empty error log, and "single_module" 7357 # appears in it, assume the flag caused a linker warning 7358 if test -s conftest.err && $GREP single_module conftest.err; then 7359 cat conftest.err >&5 7360 # Otherwise, if the output was created with a 0 exit code from 7361 # the compiler, it worked. 7362 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7363 lt_cv_apple_cc_single_mod=yes 7364 else 7365 cat conftest.err >&5 7366 fi 7367 rm -rf libconftest.dylib* 7368 rm -f conftest.* 7369 fi 7370fi 7371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7372$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7373 7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7375$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7376if ${lt_cv_ld_exported_symbols_list+:} false; then : 7377 $as_echo_n "(cached) " >&6 7378else 7379 lt_cv_ld_exported_symbols_list=no 7380 save_LDFLAGS=$LDFLAGS 7381 echo "_main" > conftest.sym 7382 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7384/* end confdefs.h. */ 7385 7386int 7387main () 7388{ 7389 7390 ; 7391 return 0; 7392} 7393_ACEOF 7394if ac_fn_c_try_link "$LINENO"; then : 7395 lt_cv_ld_exported_symbols_list=yes 7396else 7397 lt_cv_ld_exported_symbols_list=no 7398fi 7399rm -f core conftest.err conftest.$ac_objext \ 7400 conftest$ac_exeext conftest.$ac_ext 7401 LDFLAGS=$save_LDFLAGS 7402 7403fi 7404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7405$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7406 7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7408$as_echo_n "checking for -force_load linker flag... " >&6; } 7409if ${lt_cv_ld_force_load+:} false; then : 7410 $as_echo_n "(cached) " >&6 7411else 7412 lt_cv_ld_force_load=no 7413 cat > conftest.c << _LT_EOF 7414int forced_loaded() { return 2;} 7415_LT_EOF 7416 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7417 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7418 echo "$AR cru libconftest.a conftest.o" >&5 7419 $AR cru libconftest.a conftest.o 2>&5 7420 echo "$RANLIB libconftest.a" >&5 7421 $RANLIB libconftest.a 2>&5 7422 cat > conftest.c << _LT_EOF 7423int main() { return 0;} 7424_LT_EOF 7425 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7426 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7427 _lt_result=$? 7428 if test -s conftest.err && $GREP force_load conftest.err; then 7429 cat conftest.err >&5 7430 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7431 lt_cv_ld_force_load=yes 7432 else 7433 cat conftest.err >&5 7434 fi 7435 rm -f conftest.err libconftest.a conftest conftest.c 7436 rm -rf conftest.dSYM 7437 7438fi 7439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7440$as_echo "$lt_cv_ld_force_load" >&6; } 7441 case $host_os in 7442 rhapsody* | darwin1.[012]) 7443 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7444 darwin1.*) 7445 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7446 darwin*) # darwin 5.x on 7447 # if running on 10.5 or later, the deployment target defaults 7448 # to the OS version, if on x86, and 10.4, the deployment 7449 # target defaults to 10.4. Don't you love it? 7450 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7451 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7452 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7453 10.[012][,.]*) 7454 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7455 10.*) 7456 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7457 esac 7458 ;; 7459 esac 7460 if test yes = "$lt_cv_apple_cc_single_mod"; then 7461 _lt_dar_single_mod='$single_module' 7462 fi 7463 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7464 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7465 else 7466 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7467 fi 7468 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7469 _lt_dsymutil='~$DSYMUTIL $lib || :' 7470 else 7471 _lt_dsymutil= 7472 fi 7473 ;; 7474 esac 7475 7476# func_munge_path_list VARIABLE PATH 7477# ----------------------------------- 7478# VARIABLE is name of variable containing _space_ separated list of 7479# directories to be munged by the contents of PATH, which is string 7480# having a format: 7481# "DIR[:DIR]:" 7482# string "DIR[ DIR]" will be prepended to VARIABLE 7483# ":DIR[:DIR]" 7484# string "DIR[ DIR]" will be appended to VARIABLE 7485# "DIRP[:DIRP]::[DIRA:]DIRA" 7486# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7487# "DIRA[ DIRA]" will be appended to VARIABLE 7488# "DIR[:DIR]" 7489# VARIABLE will be replaced by "DIR[ DIR]" 7490func_munge_path_list () 7491{ 7492 case x$2 in 7493 x) 7494 ;; 7495 *:) 7496 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \S|@1\" 7497 ;; 7498 x:*) 7499 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7500 ;; 7501 *::*) 7502 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7503 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7504 ;; 7505 *) 7506 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7507 ;; 7508 esac 7509} 7510 7511ac_ext=c 7512ac_cpp='$CPP $CPPFLAGS' 7513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7515ac_compiler_gnu=$ac_cv_c_compiler_gnu 7516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7517$as_echo_n "checking how to run the C preprocessor... " >&6; } 7518# On Suns, sometimes $CPP names a directory. 7519if test -n "$CPP" && test -d "$CPP"; then 7520 CPP= 7521fi 7522if test -z "$CPP"; then 7523 if ${ac_cv_prog_CPP+:} false; then : 7524 $as_echo_n "(cached) " >&6 7525else 7526 # Double quotes because CPP needs to be expanded 7527 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7528 do 7529 ac_preproc_ok=false 7530for ac_c_preproc_warn_flag in '' yes 7531do 7532 # Use a header file that comes with gcc, so configuring glibc 7533 # with a fresh cross-compiler works. 7534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7535 # <limits.h> exists even on freestanding compilers. 7536 # On the NeXT, cc -E runs the code through the compiler's parser, 7537 # not just through cpp. "Syntax error" is here to catch this case. 7538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7539/* end confdefs.h. */ 7540#ifdef __STDC__ 7541# include <limits.h> 7542#else 7543# include <assert.h> 7544#endif 7545 Syntax error 7546_ACEOF 7547if ac_fn_c_try_cpp "$LINENO"; then : 7548 7549else 7550 # Broken: fails on valid input. 7551continue 7552fi 7553rm -f conftest.err conftest.i conftest.$ac_ext 7554 7555 # OK, works on sane cases. Now check whether nonexistent headers 7556 # can be detected and how. 7557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7558/* end confdefs.h. */ 7559#include <ac_nonexistent.h> 7560_ACEOF 7561if ac_fn_c_try_cpp "$LINENO"; then : 7562 # Broken: success on invalid input. 7563continue 7564else 7565 # Passes both tests. 7566ac_preproc_ok=: 7567break 7568fi 7569rm -f conftest.err conftest.i conftest.$ac_ext 7570 7571done 7572# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7573rm -f conftest.i conftest.err conftest.$ac_ext 7574if $ac_preproc_ok; then : 7575 break 7576fi 7577 7578 done 7579 ac_cv_prog_CPP=$CPP 7580 7581fi 7582 CPP=$ac_cv_prog_CPP 7583else 7584 ac_cv_prog_CPP=$CPP 7585fi 7586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7587$as_echo "$CPP" >&6; } 7588ac_preproc_ok=false 7589for ac_c_preproc_warn_flag in '' yes 7590do 7591 # Use a header file that comes with gcc, so configuring glibc 7592 # with a fresh cross-compiler works. 7593 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7594 # <limits.h> exists even on freestanding compilers. 7595 # On the NeXT, cc -E runs the code through the compiler's parser, 7596 # not just through cpp. "Syntax error" is here to catch this case. 7597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7598/* end confdefs.h. */ 7599#ifdef __STDC__ 7600# include <limits.h> 7601#else 7602# include <assert.h> 7603#endif 7604 Syntax error 7605_ACEOF 7606if ac_fn_c_try_cpp "$LINENO"; then : 7607 7608else 7609 # Broken: fails on valid input. 7610continue 7611fi 7612rm -f conftest.err conftest.i conftest.$ac_ext 7613 7614 # OK, works on sane cases. Now check whether nonexistent headers 7615 # can be detected and how. 7616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7617/* end confdefs.h. */ 7618#include <ac_nonexistent.h> 7619_ACEOF 7620if ac_fn_c_try_cpp "$LINENO"; then : 7621 # Broken: success on invalid input. 7622continue 7623else 7624 # Passes both tests. 7625ac_preproc_ok=: 7626break 7627fi 7628rm -f conftest.err conftest.i conftest.$ac_ext 7629 7630done 7631# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7632rm -f conftest.i conftest.err conftest.$ac_ext 7633if $ac_preproc_ok; then : 7634 7635else 7636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7637$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7638as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7639See \`config.log' for more details" "$LINENO" 5; } 7640fi 7641 7642ac_ext=c 7643ac_cpp='$CPP $CPPFLAGS' 7644ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7645ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7646ac_compiler_gnu=$ac_cv_c_compiler_gnu 7647 7648 7649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7650$as_echo_n "checking for ANSI C header files... " >&6; } 7651if ${ac_cv_header_stdc+:} false; then : 7652 $as_echo_n "(cached) " >&6 7653else 7654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7655/* end confdefs.h. */ 7656#include <stdlib.h> 7657#include <stdarg.h> 7658#include <string.h> 7659#include <float.h> 7660 7661int 7662main () 7663{ 7664 7665 ; 7666 return 0; 7667} 7668_ACEOF 7669if ac_fn_c_try_compile "$LINENO"; then : 7670 ac_cv_header_stdc=yes 7671else 7672 ac_cv_header_stdc=no 7673fi 7674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7675 7676if test $ac_cv_header_stdc = yes; then 7677 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7679/* end confdefs.h. */ 7680#include <string.h> 7681 7682_ACEOF 7683if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7684 $EGREP "memchr" >/dev/null 2>&1; then : 7685 7686else 7687 ac_cv_header_stdc=no 7688fi 7689rm -f conftest* 7690 7691fi 7692 7693if test $ac_cv_header_stdc = yes; then 7694 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7696/* end confdefs.h. */ 7697#include <stdlib.h> 7698 7699_ACEOF 7700if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7701 $EGREP "free" >/dev/null 2>&1; then : 7702 7703else 7704 ac_cv_header_stdc=no 7705fi 7706rm -f conftest* 7707 7708fi 7709 7710if test $ac_cv_header_stdc = yes; then 7711 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7712 if test "$cross_compiling" = yes; then : 7713 : 7714else 7715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7716/* end confdefs.h. */ 7717#include <ctype.h> 7718#include <stdlib.h> 7719#if ((' ' & 0x0FF) == 0x020) 7720# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7721# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7722#else 7723# define ISLOWER(c) \ 7724 (('a' <= (c) && (c) <= 'i') \ 7725 || ('j' <= (c) && (c) <= 'r') \ 7726 || ('s' <= (c) && (c) <= 'z')) 7727# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7728#endif 7729 7730#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7731int 7732main () 7733{ 7734 int i; 7735 for (i = 0; i < 256; i++) 7736 if (XOR (islower (i), ISLOWER (i)) 7737 || toupper (i) != TOUPPER (i)) 7738 return 2; 7739 return 0; 7740} 7741_ACEOF 7742if ac_fn_c_try_run "$LINENO"; then : 7743 7744else 7745 ac_cv_header_stdc=no 7746fi 7747rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7748 conftest.$ac_objext conftest.beam conftest.$ac_ext 7749fi 7750 7751fi 7752fi 7753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7754$as_echo "$ac_cv_header_stdc" >&6; } 7755if test $ac_cv_header_stdc = yes; then 7756 7757$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7758 7759fi 7760 7761# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7762for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7763 inttypes.h stdint.h unistd.h 7764do : 7765 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7766ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7767" 7768if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7769 cat >>confdefs.h <<_ACEOF 7770#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7771_ACEOF 7772 7773fi 7774 7775done 7776 7777 7778for ac_header in dlfcn.h 7779do : 7780 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7781" 7782if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7783 cat >>confdefs.h <<_ACEOF 7784#define HAVE_DLFCN_H 1 7785_ACEOF 7786 7787fi 7788 7789done 7790 7791 7792 7793 7794 7795# Set options 7796# Check whether --enable-static was given. 7797if test "${enable_static+set}" = set; then : 7798 enableval=$enable_static; p=${PACKAGE-default} 7799 case $enableval in 7800 yes) enable_static=yes ;; 7801 no) enable_static=no ;; 7802 *) 7803 enable_static=no 7804 # Look at the argument we got. We use all the common list separators. 7805 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7806 for pkg in $enableval; do 7807 IFS=$lt_save_ifs 7808 if test "X$pkg" = "X$p"; then 7809 enable_static=yes 7810 fi 7811 done 7812 IFS=$lt_save_ifs 7813 ;; 7814 esac 7815else 7816 enable_static=no 7817fi 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 enable_dlopen=no 7829 7830 7831 enable_win32_dll=no 7832 7833 7834 # Check whether --enable-shared was given. 7835if test "${enable_shared+set}" = set; then : 7836 enableval=$enable_shared; p=${PACKAGE-default} 7837 case $enableval in 7838 yes) enable_shared=yes ;; 7839 no) enable_shared=no ;; 7840 *) 7841 enable_shared=no 7842 # Look at the argument we got. We use all the common list separators. 7843 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7844 for pkg in $enableval; do 7845 IFS=$lt_save_ifs 7846 if test "X$pkg" = "X$p"; then 7847 enable_shared=yes 7848 fi 7849 done 7850 IFS=$lt_save_ifs 7851 ;; 7852 esac 7853else 7854 enable_shared=yes 7855fi 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867# Check whether --with-pic was given. 7868if test "${with_pic+set}" = set; then : 7869 withval=$with_pic; lt_p=${PACKAGE-default} 7870 case $withval in 7871 yes|no) pic_mode=$withval ;; 7872 *) 7873 pic_mode=default 7874 # Look at the argument we got. We use all the common list separators. 7875 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7876 for lt_pkg in $withval; do 7877 IFS=$lt_save_ifs 7878 if test "X$lt_pkg" = "X$lt_p"; then 7879 pic_mode=yes 7880 fi 7881 done 7882 IFS=$lt_save_ifs 7883 ;; 7884 esac 7885else 7886 pic_mode=default 7887fi 7888 7889 7890 7891 7892 7893 7894 7895 7896 # Check whether --enable-fast-install was given. 7897if test "${enable_fast_install+set}" = set; then : 7898 enableval=$enable_fast_install; p=${PACKAGE-default} 7899 case $enableval in 7900 yes) enable_fast_install=yes ;; 7901 no) enable_fast_install=no ;; 7902 *) 7903 enable_fast_install=no 7904 # Look at the argument we got. We use all the common list separators. 7905 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7906 for pkg in $enableval; do 7907 IFS=$lt_save_ifs 7908 if test "X$pkg" = "X$p"; then 7909 enable_fast_install=yes 7910 fi 7911 done 7912 IFS=$lt_save_ifs 7913 ;; 7914 esac 7915else 7916 enable_fast_install=yes 7917fi 7918 7919 7920 7921 7922 7923 7924 7925 7926 shared_archive_member_spec= 7927case $host,$enable_shared in 7928power*-*-aix[5-9]*,yes) 7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 7930$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 7931 7932# Check whether --with-aix-soname was given. 7933if test "${with_aix_soname+set}" = set; then : 7934 withval=$with_aix_soname; case $withval in 7935 aix|svr4|both) 7936 ;; 7937 *) 7938 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 7939 ;; 7940 esac 7941 lt_cv_with_aix_soname=$with_aix_soname 7942else 7943 if ${lt_cv_with_aix_soname+:} false; then : 7944 $as_echo_n "(cached) " >&6 7945else 7946 lt_cv_with_aix_soname=aix 7947fi 7948 7949 with_aix_soname=$lt_cv_with_aix_soname 7950fi 7951 7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 7953$as_echo "$with_aix_soname" >&6; } 7954 if test aix != "$with_aix_soname"; then 7955 # For the AIX way of multilib, we name the shared archive member 7956 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 7957 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 7958 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 7959 # the AIX toolchain works better with OBJECT_MODE set (default 32). 7960 if test 64 = "${OBJECT_MODE-32}"; then 7961 shared_archive_member_spec=shr_64 7962 else 7963 shared_archive_member_spec=shr 7964 fi 7965 fi 7966 ;; 7967*) 7968 with_aix_soname=aix 7969 ;; 7970esac 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981# This can be used to rebuild libtool when needed 7982LIBTOOL_DEPS=$ltmain 7983 7984# Always use our own libtool. 7985LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016test -z "$LN_S" && LN_S="ln -s" 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031if test -n "${ZSH_VERSION+set}"; then 8032 setopt NO_GLOB_SUBST 8033fi 8034 8035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8036$as_echo_n "checking for objdir... " >&6; } 8037if ${lt_cv_objdir+:} false; then : 8038 $as_echo_n "(cached) " >&6 8039else 8040 rm -f .libs 2>/dev/null 8041mkdir .libs 2>/dev/null 8042if test -d .libs; then 8043 lt_cv_objdir=.libs 8044else 8045 # MS-DOS does not allow filenames that begin with a dot. 8046 lt_cv_objdir=_libs 8047fi 8048rmdir .libs 2>/dev/null 8049fi 8050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8051$as_echo "$lt_cv_objdir" >&6; } 8052objdir=$lt_cv_objdir 8053 8054 8055 8056 8057 8058cat >>confdefs.h <<_ACEOF 8059#define LT_OBJDIR "$lt_cv_objdir/" 8060_ACEOF 8061 8062 8063 8064 8065case $host_os in 8066aix3*) 8067 # AIX sometimes has problems with the GCC collect2 program. For some 8068 # reason, if we set the COLLECT_NAMES environment variable, the problems 8069 # vanish in a puff of smoke. 8070 if test set != "${COLLECT_NAMES+set}"; then 8071 COLLECT_NAMES= 8072 export COLLECT_NAMES 8073 fi 8074 ;; 8075esac 8076 8077# Global variables: 8078ofile=libtool 8079can_build_shared=yes 8080 8081# All known linkers require a '.a' archive for static linking (except MSVC, 8082# which needs '.lib'). 8083libext=a 8084 8085with_gnu_ld=$lt_cv_prog_gnu_ld 8086 8087old_CC=$CC 8088old_CFLAGS=$CFLAGS 8089 8090# Set sane defaults for various variables 8091test -z "$CC" && CC=cc 8092test -z "$LTCC" && LTCC=$CC 8093test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8094test -z "$LD" && LD=ld 8095test -z "$ac_objext" && ac_objext=o 8096 8097func_cc_basename $compiler 8098cc_basename=$func_cc_basename_result 8099 8100 8101# Only perform the check for file, if the check method requires it 8102test -z "$MAGIC_CMD" && MAGIC_CMD=file 8103case $deplibs_check_method in 8104file_magic*) 8105 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8107$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8108if ${lt_cv_path_MAGIC_CMD+:} false; then : 8109 $as_echo_n "(cached) " >&6 8110else 8111 case $MAGIC_CMD in 8112[\\/*] | ?:[\\/]*) 8113 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8114 ;; 8115*) 8116 lt_save_MAGIC_CMD=$MAGIC_CMD 8117 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8118 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8119 for ac_dir in $ac_dummy; do 8120 IFS=$lt_save_ifs 8121 test -z "$ac_dir" && ac_dir=. 8122 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8123 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8124 if test -n "$file_magic_test_file"; then 8125 case $deplibs_check_method in 8126 "file_magic "*) 8127 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8128 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8129 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8130 $EGREP "$file_magic_regex" > /dev/null; then 8131 : 8132 else 8133 cat <<_LT_EOF 1>&2 8134 8135*** Warning: the command libtool uses to detect shared libraries, 8136*** $file_magic_cmd, produces output that libtool cannot recognize. 8137*** The result is that libtool may fail to recognize shared libraries 8138*** as such. This will affect the creation of libtool libraries that 8139*** depend on shared libraries, but programs linked with such libtool 8140*** libraries will work regardless of this problem. Nevertheless, you 8141*** may want to report the problem to your system manager and/or to 8142*** bug-libtool@gnu.org 8143 8144_LT_EOF 8145 fi ;; 8146 esac 8147 fi 8148 break 8149 fi 8150 done 8151 IFS=$lt_save_ifs 8152 MAGIC_CMD=$lt_save_MAGIC_CMD 8153 ;; 8154esac 8155fi 8156 8157MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8158if test -n "$MAGIC_CMD"; then 8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8160$as_echo "$MAGIC_CMD" >&6; } 8161else 8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8163$as_echo "no" >&6; } 8164fi 8165 8166 8167 8168 8169 8170if test -z "$lt_cv_path_MAGIC_CMD"; then 8171 if test -n "$ac_tool_prefix"; then 8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8173$as_echo_n "checking for file... " >&6; } 8174if ${lt_cv_path_MAGIC_CMD+:} false; then : 8175 $as_echo_n "(cached) " >&6 8176else 8177 case $MAGIC_CMD in 8178[\\/*] | ?:[\\/]*) 8179 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8180 ;; 8181*) 8182 lt_save_MAGIC_CMD=$MAGIC_CMD 8183 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8184 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8185 for ac_dir in $ac_dummy; do 8186 IFS=$lt_save_ifs 8187 test -z "$ac_dir" && ac_dir=. 8188 if test -f "$ac_dir/file"; then 8189 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8190 if test -n "$file_magic_test_file"; then 8191 case $deplibs_check_method in 8192 "file_magic "*) 8193 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8194 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8195 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8196 $EGREP "$file_magic_regex" > /dev/null; then 8197 : 8198 else 8199 cat <<_LT_EOF 1>&2 8200 8201*** Warning: the command libtool uses to detect shared libraries, 8202*** $file_magic_cmd, produces output that libtool cannot recognize. 8203*** The result is that libtool may fail to recognize shared libraries 8204*** as such. This will affect the creation of libtool libraries that 8205*** depend on shared libraries, but programs linked with such libtool 8206*** libraries will work regardless of this problem. Nevertheless, you 8207*** may want to report the problem to your system manager and/or to 8208*** bug-libtool@gnu.org 8209 8210_LT_EOF 8211 fi ;; 8212 esac 8213 fi 8214 break 8215 fi 8216 done 8217 IFS=$lt_save_ifs 8218 MAGIC_CMD=$lt_save_MAGIC_CMD 8219 ;; 8220esac 8221fi 8222 8223MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8224if test -n "$MAGIC_CMD"; then 8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8226$as_echo "$MAGIC_CMD" >&6; } 8227else 8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8229$as_echo "no" >&6; } 8230fi 8231 8232 8233 else 8234 MAGIC_CMD=: 8235 fi 8236fi 8237 8238 fi 8239 ;; 8240esac 8241 8242# Use C for the default configuration in the libtool script 8243 8244lt_save_CC=$CC 8245ac_ext=c 8246ac_cpp='$CPP $CPPFLAGS' 8247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8248ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8249ac_compiler_gnu=$ac_cv_c_compiler_gnu 8250 8251 8252# Source file extension for C test sources. 8253ac_ext=c 8254 8255# Object file extension for compiled C test sources. 8256objext=o 8257objext=$objext 8258 8259# Code to be used in simple compile tests 8260lt_simple_compile_test_code="int some_variable = 0;" 8261 8262# Code to be used in simple link tests 8263lt_simple_link_test_code='int main(){return(0);}' 8264 8265 8266 8267 8268 8269 8270 8271# If no C compiler was specified, use CC. 8272LTCC=${LTCC-"$CC"} 8273 8274# If no C compiler flags were specified, use CFLAGS. 8275LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8276 8277# Allow CC to be a program name with arguments. 8278compiler=$CC 8279 8280# Save the default compiler, since it gets overwritten when the other 8281# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8282compiler_DEFAULT=$CC 8283 8284# save warnings/boilerplate of simple test code 8285ac_outfile=conftest.$ac_objext 8286echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8287eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8288_lt_compiler_boilerplate=`cat conftest.err` 8289$RM conftest* 8290 8291ac_outfile=conftest.$ac_objext 8292echo "$lt_simple_link_test_code" >conftest.$ac_ext 8293eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8294_lt_linker_boilerplate=`cat conftest.err` 8295$RM -r conftest* 8296 8297 8298if test -n "$compiler"; then 8299 8300lt_prog_compiler_no_builtin_flag= 8301 8302if test yes = "$GCC"; then 8303 case $cc_basename in 8304 nvcc*) 8305 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8306 *) 8307 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8308 esac 8309 8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8311$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8312if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8313 $as_echo_n "(cached) " >&6 8314else 8315 lt_cv_prog_compiler_rtti_exceptions=no 8316 ac_outfile=conftest.$ac_objext 8317 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8318 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8319 # Insert the option either (1) after the last *FLAGS variable, or 8320 # (2) before a word containing "conftest.", or (3) at the end. 8321 # Note that $ac_compile itself does not contain backslashes and begins 8322 # with a dollar sign (not a hyphen), so the echo should work correctly. 8323 # The option is referenced via a variable to avoid confusing sed. 8324 lt_compile=`echo "$ac_compile" | $SED \ 8325 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8326 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8327 -e 's:$: $lt_compiler_flag:'` 8328 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8329 (eval "$lt_compile" 2>conftest.err) 8330 ac_status=$? 8331 cat conftest.err >&5 8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8333 if (exit $ac_status) && test -s "$ac_outfile"; then 8334 # The compiler can only warn and ignore the option if not recognized 8335 # So say no if there are warnings other than the usual output. 8336 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8337 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8338 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8339 lt_cv_prog_compiler_rtti_exceptions=yes 8340 fi 8341 fi 8342 $RM conftest* 8343 8344fi 8345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8346$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8347 8348if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8349 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8350else 8351 : 8352fi 8353 8354fi 8355 8356 8357 8358 8359 8360 8361 lt_prog_compiler_wl= 8362lt_prog_compiler_pic= 8363lt_prog_compiler_static= 8364 8365 8366 if test yes = "$GCC"; then 8367 lt_prog_compiler_wl='-Wl,' 8368 lt_prog_compiler_static='-static' 8369 8370 case $host_os in 8371 aix*) 8372 # All AIX code is PIC. 8373 if test ia64 = "$host_cpu"; then 8374 # AIX 5 now supports IA64 processor 8375 lt_prog_compiler_static='-Bstatic' 8376 fi 8377 lt_prog_compiler_pic='-fPIC' 8378 ;; 8379 8380 amigaos*) 8381 case $host_cpu in 8382 powerpc) 8383 # see comment about AmigaOS4 .so support 8384 lt_prog_compiler_pic='-fPIC' 8385 ;; 8386 m68k) 8387 # FIXME: we need at least 68020 code to build shared libraries, but 8388 # adding the '-m68020' flag to GCC prevents building anything better, 8389 # like '-m68040'. 8390 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8391 ;; 8392 esac 8393 ;; 8394 8395 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8396 # PIC is the default for these OSes. 8397 ;; 8398 8399 mingw* | cygwin* | pw32* | os2* | cegcc*) 8400 # This hack is so that the source file can tell whether it is being 8401 # built for inclusion in a dll (and should export symbols for example). 8402 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8403 # (--disable-auto-import) libraries 8404 lt_prog_compiler_pic='-DDLL_EXPORT' 8405 case $host_os in 8406 os2*) 8407 lt_prog_compiler_static='$wl-static' 8408 ;; 8409 esac 8410 ;; 8411 8412 darwin* | rhapsody*) 8413 # PIC is the default on this platform 8414 # Common symbols not allowed in MH_DYLIB files 8415 lt_prog_compiler_pic='-fno-common' 8416 ;; 8417 8418 haiku*) 8419 # PIC is the default for Haiku. 8420 # The "-static" flag exists, but is broken. 8421 lt_prog_compiler_static= 8422 ;; 8423 8424 hpux*) 8425 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8426 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8427 # sets the default TLS model and affects inlining. 8428 case $host_cpu in 8429 hppa*64*) 8430 # +Z the default 8431 ;; 8432 *) 8433 lt_prog_compiler_pic='-fPIC' 8434 ;; 8435 esac 8436 ;; 8437 8438 interix[3-9]*) 8439 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8440 # Instead, we relocate shared libraries at runtime. 8441 ;; 8442 8443 msdosdjgpp*) 8444 # Just because we use GCC doesn't mean we suddenly get shared libraries 8445 # on systems that don't support them. 8446 lt_prog_compiler_can_build_shared=no 8447 enable_shared=no 8448 ;; 8449 8450 *nto* | *qnx*) 8451 # QNX uses GNU C++, but need to define -shared option too, otherwise 8452 # it will coredump. 8453 lt_prog_compiler_pic='-fPIC -shared' 8454 ;; 8455 8456 sysv4*MP*) 8457 if test -d /usr/nec; then 8458 lt_prog_compiler_pic=-Kconform_pic 8459 fi 8460 ;; 8461 8462 *) 8463 lt_prog_compiler_pic='-fPIC' 8464 ;; 8465 esac 8466 8467 case $cc_basename in 8468 nvcc*) # Cuda Compiler Driver 2.2 8469 lt_prog_compiler_wl='-Xlinker ' 8470 if test -n "$lt_prog_compiler_pic"; then 8471 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8472 fi 8473 ;; 8474 esac 8475 else 8476 # PORTME Check for flag to pass linker flags through the system compiler. 8477 case $host_os in 8478 aix*) 8479 lt_prog_compiler_wl='-Wl,' 8480 if test ia64 = "$host_cpu"; then 8481 # AIX 5 now supports IA64 processor 8482 lt_prog_compiler_static='-Bstatic' 8483 else 8484 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8485 fi 8486 ;; 8487 8488 darwin* | rhapsody*) 8489 # PIC is the default on this platform 8490 # Common symbols not allowed in MH_DYLIB files 8491 lt_prog_compiler_pic='-fno-common' 8492 case $cc_basename in 8493 nagfor*) 8494 # NAG Fortran compiler 8495 lt_prog_compiler_wl='-Wl,-Wl,,' 8496 lt_prog_compiler_pic='-PIC' 8497 lt_prog_compiler_static='-Bstatic' 8498 ;; 8499 esac 8500 ;; 8501 8502 mingw* | cygwin* | pw32* | os2* | cegcc*) 8503 # This hack is so that the source file can tell whether it is being 8504 # built for inclusion in a dll (and should export symbols for example). 8505 lt_prog_compiler_pic='-DDLL_EXPORT' 8506 case $host_os in 8507 os2*) 8508 lt_prog_compiler_static='$wl-static' 8509 ;; 8510 esac 8511 ;; 8512 8513 hpux9* | hpux10* | hpux11*) 8514 lt_prog_compiler_wl='-Wl,' 8515 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8516 # not for PA HP-UX. 8517 case $host_cpu in 8518 hppa*64*|ia64*) 8519 # +Z the default 8520 ;; 8521 *) 8522 lt_prog_compiler_pic='+Z' 8523 ;; 8524 esac 8525 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8526 lt_prog_compiler_static='$wl-a ${wl}archive' 8527 ;; 8528 8529 irix5* | irix6* | nonstopux*) 8530 lt_prog_compiler_wl='-Wl,' 8531 # PIC (with -KPIC) is the default. 8532 lt_prog_compiler_static='-non_shared' 8533 ;; 8534 8535 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8536 case $cc_basename in 8537 # old Intel for x86_64, which still supported -KPIC. 8538 ecc*) 8539 lt_prog_compiler_wl='-Wl,' 8540 lt_prog_compiler_pic='-KPIC' 8541 lt_prog_compiler_static='-static' 8542 ;; 8543 # icc used to be incompatible with GCC. 8544 # ICC 10 doesn't accept -KPIC any more. 8545 icc* | ifort*) 8546 lt_prog_compiler_wl='-Wl,' 8547 lt_prog_compiler_pic='-fPIC' 8548 lt_prog_compiler_static='-static' 8549 ;; 8550 # Lahey Fortran 8.1. 8551 lf95*) 8552 lt_prog_compiler_wl='-Wl,' 8553 lt_prog_compiler_pic='--shared' 8554 lt_prog_compiler_static='--static' 8555 ;; 8556 nagfor*) 8557 # NAG Fortran compiler 8558 lt_prog_compiler_wl='-Wl,-Wl,,' 8559 lt_prog_compiler_pic='-PIC' 8560 lt_prog_compiler_static='-Bstatic' 8561 ;; 8562 tcc*) 8563 # Fabrice Bellard et al's Tiny C Compiler 8564 lt_prog_compiler_wl='-Wl,' 8565 lt_prog_compiler_pic='-fPIC' 8566 lt_prog_compiler_static='-static' 8567 ;; 8568 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8569 # Portland Group compilers (*not* the Pentium gcc compiler, 8570 # which looks to be a dead project) 8571 lt_prog_compiler_wl='-Wl,' 8572 lt_prog_compiler_pic='-fpic' 8573 lt_prog_compiler_static='-Bstatic' 8574 ;; 8575 ccc*) 8576 lt_prog_compiler_wl='-Wl,' 8577 # All Alpha code is PIC. 8578 lt_prog_compiler_static='-non_shared' 8579 ;; 8580 xl* | bgxl* | bgf* | mpixl*) 8581 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8582 lt_prog_compiler_wl='-Wl,' 8583 lt_prog_compiler_pic='-qpic' 8584 lt_prog_compiler_static='-qstaticlink' 8585 ;; 8586 *) 8587 case `$CC -V 2>&1 | sed 5q` in 8588 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8589 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8590 lt_prog_compiler_pic='-KPIC' 8591 lt_prog_compiler_static='-Bstatic' 8592 lt_prog_compiler_wl='' 8593 ;; 8594 *Sun\ F* | *Sun*Fortran*) 8595 lt_prog_compiler_pic='-KPIC' 8596 lt_prog_compiler_static='-Bstatic' 8597 lt_prog_compiler_wl='-Qoption ld ' 8598 ;; 8599 *Sun\ C*) 8600 # Sun C 5.9 8601 lt_prog_compiler_pic='-KPIC' 8602 lt_prog_compiler_static='-Bstatic' 8603 lt_prog_compiler_wl='-Wl,' 8604 ;; 8605 *Intel*\ [CF]*Compiler*) 8606 lt_prog_compiler_wl='-Wl,' 8607 lt_prog_compiler_pic='-fPIC' 8608 lt_prog_compiler_static='-static' 8609 ;; 8610 *Portland\ Group*) 8611 lt_prog_compiler_wl='-Wl,' 8612 lt_prog_compiler_pic='-fpic' 8613 lt_prog_compiler_static='-Bstatic' 8614 ;; 8615 esac 8616 ;; 8617 esac 8618 ;; 8619 8620 newsos6) 8621 lt_prog_compiler_pic='-KPIC' 8622 lt_prog_compiler_static='-Bstatic' 8623 ;; 8624 8625 *nto* | *qnx*) 8626 # QNX uses GNU C++, but need to define -shared option too, otherwise 8627 # it will coredump. 8628 lt_prog_compiler_pic='-fPIC -shared' 8629 ;; 8630 8631 osf3* | osf4* | osf5*) 8632 lt_prog_compiler_wl='-Wl,' 8633 # All OSF/1 code is PIC. 8634 lt_prog_compiler_static='-non_shared' 8635 ;; 8636 8637 rdos*) 8638 lt_prog_compiler_static='-non_shared' 8639 ;; 8640 8641 solaris*) 8642 lt_prog_compiler_pic='-KPIC' 8643 lt_prog_compiler_static='-Bstatic' 8644 case $cc_basename in 8645 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8646 lt_prog_compiler_wl='-Qoption ld ';; 8647 *) 8648 lt_prog_compiler_wl='-Wl,';; 8649 esac 8650 ;; 8651 8652 sunos4*) 8653 lt_prog_compiler_wl='-Qoption ld ' 8654 lt_prog_compiler_pic='-PIC' 8655 lt_prog_compiler_static='-Bstatic' 8656 ;; 8657 8658 sysv4 | sysv4.2uw2* | sysv4.3*) 8659 lt_prog_compiler_wl='-Wl,' 8660 lt_prog_compiler_pic='-KPIC' 8661 lt_prog_compiler_static='-Bstatic' 8662 ;; 8663 8664 sysv4*MP*) 8665 if test -d /usr/nec; then 8666 lt_prog_compiler_pic='-Kconform_pic' 8667 lt_prog_compiler_static='-Bstatic' 8668 fi 8669 ;; 8670 8671 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8672 lt_prog_compiler_wl='-Wl,' 8673 lt_prog_compiler_pic='-KPIC' 8674 lt_prog_compiler_static='-Bstatic' 8675 ;; 8676 8677 unicos*) 8678 lt_prog_compiler_wl='-Wl,' 8679 lt_prog_compiler_can_build_shared=no 8680 ;; 8681 8682 uts4*) 8683 lt_prog_compiler_pic='-pic' 8684 lt_prog_compiler_static='-Bstatic' 8685 ;; 8686 8687 *) 8688 lt_prog_compiler_can_build_shared=no 8689 ;; 8690 esac 8691 fi 8692 8693case $host_os in 8694 # For platforms that do not support PIC, -DPIC is meaningless: 8695 *djgpp*) 8696 lt_prog_compiler_pic= 8697 ;; 8698 *) 8699 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8700 ;; 8701esac 8702 8703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8704$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8705if ${lt_cv_prog_compiler_pic+:} false; then : 8706 $as_echo_n "(cached) " >&6 8707else 8708 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8709fi 8710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8711$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8712lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8713 8714# 8715# Check to make sure the PIC flag actually works. 8716# 8717if test -n "$lt_prog_compiler_pic"; then 8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8719$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8720if ${lt_cv_prog_compiler_pic_works+:} false; then : 8721 $as_echo_n "(cached) " >&6 8722else 8723 lt_cv_prog_compiler_pic_works=no 8724 ac_outfile=conftest.$ac_objext 8725 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8726 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 8727 # Insert the option either (1) after the last *FLAGS variable, or 8728 # (2) before a word containing "conftest.", or (3) at the end. 8729 # Note that $ac_compile itself does not contain backslashes and begins 8730 # with a dollar sign (not a hyphen), so the echo should work correctly. 8731 # The option is referenced via a variable to avoid confusing sed. 8732 lt_compile=`echo "$ac_compile" | $SED \ 8733 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8734 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8735 -e 's:$: $lt_compiler_flag:'` 8736 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8737 (eval "$lt_compile" 2>conftest.err) 8738 ac_status=$? 8739 cat conftest.err >&5 8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8741 if (exit $ac_status) && test -s "$ac_outfile"; then 8742 # The compiler can only warn and ignore the option if not recognized 8743 # So say no if there are warnings other than the usual output. 8744 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8745 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8746 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8747 lt_cv_prog_compiler_pic_works=yes 8748 fi 8749 fi 8750 $RM conftest* 8751 8752fi 8753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8754$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8755 8756if test yes = "$lt_cv_prog_compiler_pic_works"; then 8757 case $lt_prog_compiler_pic in 8758 "" | " "*) ;; 8759 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8760 esac 8761else 8762 lt_prog_compiler_pic= 8763 lt_prog_compiler_can_build_shared=no 8764fi 8765 8766fi 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778# 8779# Check to make sure the static flag actually works. 8780# 8781wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8783$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8784if ${lt_cv_prog_compiler_static_works+:} false; then : 8785 $as_echo_n "(cached) " >&6 8786else 8787 lt_cv_prog_compiler_static_works=no 8788 save_LDFLAGS=$LDFLAGS 8789 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8790 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8791 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8792 # The linker can only warn and ignore the option if not recognized 8793 # So say no if there are warnings 8794 if test -s conftest.err; then 8795 # Append any errors to the config.log. 8796 cat conftest.err 1>&5 8797 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8798 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8799 if diff conftest.exp conftest.er2 >/dev/null; then 8800 lt_cv_prog_compiler_static_works=yes 8801 fi 8802 else 8803 lt_cv_prog_compiler_static_works=yes 8804 fi 8805 fi 8806 $RM -r conftest* 8807 LDFLAGS=$save_LDFLAGS 8808 8809fi 8810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8811$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8812 8813if test yes = "$lt_cv_prog_compiler_static_works"; then 8814 : 8815else 8816 lt_prog_compiler_static= 8817fi 8818 8819 8820 8821 8822 8823 8824 8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8826$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8827if ${lt_cv_prog_compiler_c_o+:} false; then : 8828 $as_echo_n "(cached) " >&6 8829else 8830 lt_cv_prog_compiler_c_o=no 8831 $RM -r conftest 2>/dev/null 8832 mkdir conftest 8833 cd conftest 8834 mkdir out 8835 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8836 8837 lt_compiler_flag="-o out/conftest2.$ac_objext" 8838 # Insert the option either (1) after the last *FLAGS variable, or 8839 # (2) before a word containing "conftest.", or (3) at the end. 8840 # Note that $ac_compile itself does not contain backslashes and begins 8841 # with a dollar sign (not a hyphen), so the echo should work correctly. 8842 lt_compile=`echo "$ac_compile" | $SED \ 8843 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8844 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8845 -e 's:$: $lt_compiler_flag:'` 8846 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8847 (eval "$lt_compile" 2>out/conftest.err) 8848 ac_status=$? 8849 cat out/conftest.err >&5 8850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8851 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8852 then 8853 # The compiler can only warn and ignore the option if not recognized 8854 # So say no if there are warnings 8855 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8856 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8857 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8858 lt_cv_prog_compiler_c_o=yes 8859 fi 8860 fi 8861 chmod u+w . 2>&5 8862 $RM conftest* 8863 # SGI C++ compiler will create directory out/ii_files/ for 8864 # template instantiation 8865 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8866 $RM out/* && rmdir out 8867 cd .. 8868 $RM -r conftest 8869 $RM conftest* 8870 8871fi 8872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8873$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8874 8875 8876 8877 8878 8879 8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8881$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8882if ${lt_cv_prog_compiler_c_o+:} false; then : 8883 $as_echo_n "(cached) " >&6 8884else 8885 lt_cv_prog_compiler_c_o=no 8886 $RM -r conftest 2>/dev/null 8887 mkdir conftest 8888 cd conftest 8889 mkdir out 8890 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8891 8892 lt_compiler_flag="-o out/conftest2.$ac_objext" 8893 # Insert the option either (1) after the last *FLAGS variable, or 8894 # (2) before a word containing "conftest.", or (3) at the end. 8895 # Note that $ac_compile itself does not contain backslashes and begins 8896 # with a dollar sign (not a hyphen), so the echo should work correctly. 8897 lt_compile=`echo "$ac_compile" | $SED \ 8898 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8899 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8900 -e 's:$: $lt_compiler_flag:'` 8901 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8902 (eval "$lt_compile" 2>out/conftest.err) 8903 ac_status=$? 8904 cat out/conftest.err >&5 8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8906 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8907 then 8908 # The compiler can only warn and ignore the option if not recognized 8909 # So say no if there are warnings 8910 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8911 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8912 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8913 lt_cv_prog_compiler_c_o=yes 8914 fi 8915 fi 8916 chmod u+w . 2>&5 8917 $RM conftest* 8918 # SGI C++ compiler will create directory out/ii_files/ for 8919 # template instantiation 8920 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8921 $RM out/* && rmdir out 8922 cd .. 8923 $RM -r conftest 8924 $RM conftest* 8925 8926fi 8927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8928$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8929 8930 8931 8932 8933hard_links=nottested 8934if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 8935 # do not overwrite the value of need_locks provided by the user 8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8937$as_echo_n "checking if we can lock with hard links... " >&6; } 8938 hard_links=yes 8939 $RM conftest* 8940 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8941 touch conftest.a 8942 ln conftest.a conftest.b 2>&5 || hard_links=no 8943 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8945$as_echo "$hard_links" >&6; } 8946 if test no = "$hard_links"; then 8947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 8948$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 8949 need_locks=warn 8950 fi 8951else 8952 need_locks=no 8953fi 8954 8955 8956 8957 8958 8959 8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8961$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8962 8963 runpath_var= 8964 allow_undefined_flag= 8965 always_export_symbols=no 8966 archive_cmds= 8967 archive_expsym_cmds= 8968 compiler_needs_object=no 8969 enable_shared_with_static_runtimes=no 8970 export_dynamic_flag_spec= 8971 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8972 hardcode_automatic=no 8973 hardcode_direct=no 8974 hardcode_direct_absolute=no 8975 hardcode_libdir_flag_spec= 8976 hardcode_libdir_separator= 8977 hardcode_minus_L=no 8978 hardcode_shlibpath_var=unsupported 8979 inherit_rpath=no 8980 link_all_deplibs=unknown 8981 module_cmds= 8982 module_expsym_cmds= 8983 old_archive_from_new_cmds= 8984 old_archive_from_expsyms_cmds= 8985 thread_safe_flag_spec= 8986 whole_archive_flag_spec= 8987 # include_expsyms should be a list of space-separated symbols to be *always* 8988 # included in the symbol list 8989 include_expsyms= 8990 # exclude_expsyms can be an extended regexp of symbols to exclude 8991 # it will be wrapped by ' (' and ')$', so one must not match beginning or 8992 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 8993 # as well as any symbol that contains 'd'. 8994 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8995 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8996 # platforms (ab)use it in PIC code, but their linkers get confused if 8997 # the symbol is explicitly referenced. Since portable code cannot 8998 # rely on this symbol name, it's probably fine to never include it in 8999 # preloaded symbol tables. 9000 # Exclude shared library initialization/finalization symbols. 9001 extract_expsyms_cmds= 9002 9003 case $host_os in 9004 cygwin* | mingw* | pw32* | cegcc*) 9005 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9006 # When not using gcc, we currently assume that we are using 9007 # Microsoft Visual C++. 9008 if test yes != "$GCC"; then 9009 with_gnu_ld=no 9010 fi 9011 ;; 9012 interix*) 9013 # we just hope/assume this is gcc and not c89 (= MSVC++) 9014 with_gnu_ld=yes 9015 ;; 9016 openbsd* | bitrig*) 9017 with_gnu_ld=no 9018 ;; 9019 esac 9020 9021 ld_shlibs=yes 9022 9023 # On some targets, GNU ld is compatible enough with the native linker 9024 # that we're better off using the native interface for both. 9025 lt_use_gnu_ld_interface=no 9026 if test yes = "$with_gnu_ld"; then 9027 case $host_os in 9028 aix*) 9029 # The AIX port of GNU ld has always aspired to compatibility 9030 # with the native linker. However, as the warning in the GNU ld 9031 # block says, versions before 2.19.5* couldn't really create working 9032 # shared libraries, regardless of the interface used. 9033 case `$LD -v 2>&1` in 9034 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9035 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9036 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9037 *) 9038 lt_use_gnu_ld_interface=yes 9039 ;; 9040 esac 9041 ;; 9042 *) 9043 lt_use_gnu_ld_interface=yes 9044 ;; 9045 esac 9046 fi 9047 9048 if test yes = "$lt_use_gnu_ld_interface"; then 9049 # If archive_cmds runs LD, not CC, wlarc should be empty 9050 wlarc='$wl' 9051 9052 # Set some defaults for GNU ld with shared library support. These 9053 # are reset later if shared libraries are not supported. Putting them 9054 # here allows them to be overridden if necessary. 9055 runpath_var=LD_RUN_PATH 9056 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9057 export_dynamic_flag_spec='$wl--export-dynamic' 9058 # ancient GNU ld didn't support --whole-archive et. al. 9059 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9060 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9061 else 9062 whole_archive_flag_spec= 9063 fi 9064 supports_anon_versioning=no 9065 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9066 *GNU\ gold*) supports_anon_versioning=yes ;; 9067 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9068 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9069 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9070 *\ 2.11.*) ;; # other 2.11 versions 9071 *) supports_anon_versioning=yes ;; 9072 esac 9073 9074 # See if GNU ld supports shared libraries. 9075 case $host_os in 9076 aix[3-9]*) 9077 # On AIX/PPC, the GNU linker is very broken 9078 if test ia64 != "$host_cpu"; then 9079 ld_shlibs=no 9080 cat <<_LT_EOF 1>&2 9081 9082*** Warning: the GNU linker, at least up to release 2.19, is reported 9083*** to be unable to reliably create shared libraries on AIX. 9084*** Therefore, libtool is disabling shared libraries support. If you 9085*** really care for shared libraries, you may want to install binutils 9086*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9087*** You will then need to restart the configuration process. 9088 9089_LT_EOF 9090 fi 9091 ;; 9092 9093 amigaos*) 9094 case $host_cpu in 9095 powerpc) 9096 # see comment about AmigaOS4 .so support 9097 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9098 archive_expsym_cmds='' 9099 ;; 9100 m68k) 9101 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)' 9102 hardcode_libdir_flag_spec='-L$libdir' 9103 hardcode_minus_L=yes 9104 ;; 9105 esac 9106 ;; 9107 9108 beos*) 9109 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9110 allow_undefined_flag=unsupported 9111 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9112 # support --undefined. This deserves some investigation. FIXME 9113 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9114 else 9115 ld_shlibs=no 9116 fi 9117 ;; 9118 9119 cygwin* | mingw* | pw32* | cegcc*) 9120 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9121 # as there is no search path for DLLs. 9122 hardcode_libdir_flag_spec='-L$libdir' 9123 export_dynamic_flag_spec='$wl--export-all-symbols' 9124 allow_undefined_flag=unsupported 9125 always_export_symbols=no 9126 enable_shared_with_static_runtimes=yes 9127 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' 9128 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9129 9130 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9131 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9132 # If the export-symbols file already is a .def file, use it as 9133 # is; otherwise, prepend EXPORTS... 9134 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9135 cp $export_symbols $output_objdir/$soname.def; 9136 else 9137 echo EXPORTS > $output_objdir/$soname.def; 9138 cat $export_symbols >> $output_objdir/$soname.def; 9139 fi~ 9140 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9141 else 9142 ld_shlibs=no 9143 fi 9144 ;; 9145 9146 haiku*) 9147 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9148 link_all_deplibs=yes 9149 ;; 9150 9151 os2*) 9152 hardcode_libdir_flag_spec='-L$libdir' 9153 hardcode_minus_L=yes 9154 allow_undefined_flag=unsupported 9155 shrext_cmds=.dll 9156 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9157 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9158 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9159 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9160 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9161 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9162 emximp -o $lib $output_objdir/$libname.def' 9163 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9164 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9165 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9166 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9167 prefix_cmds="$SED"~ 9168 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9169 prefix_cmds="$prefix_cmds -e 1d"; 9170 fi~ 9171 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9172 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9173 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9174 emximp -o $lib $output_objdir/$libname.def' 9175 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9176 enable_shared_with_static_runtimes=yes 9177 ;; 9178 9179 interix[3-9]*) 9180 hardcode_direct=no 9181 hardcode_shlibpath_var=no 9182 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9183 export_dynamic_flag_spec='$wl-E' 9184 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9185 # Instead, shared libraries are loaded at an image base (0x10000000 by 9186 # default) and relocated if they conflict, which is a slow very memory 9187 # consuming and fragmenting process. To avoid this, we pick a random, 9188 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9189 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9190 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9191 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' 9192 ;; 9193 9194 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9195 tmp_diet=no 9196 if test linux-dietlibc = "$host_os"; then 9197 case $cc_basename in 9198 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9199 esac 9200 fi 9201 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9202 && test no = "$tmp_diet" 9203 then 9204 tmp_addflag=' $pic_flag' 9205 tmp_sharedflag='-shared' 9206 case $cc_basename,$host_cpu in 9207 pgcc*) # Portland Group C compiler 9208 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' 9209 tmp_addflag=' $pic_flag' 9210 ;; 9211 pgf77* | pgf90* | pgf95* | pgfortran*) 9212 # Portland Group f77 and f90 compilers 9213 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' 9214 tmp_addflag=' $pic_flag -Mnomain' ;; 9215 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9216 tmp_addflag=' -i_dynamic' ;; 9217 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9218 tmp_addflag=' -i_dynamic -nofor_main' ;; 9219 ifc* | ifort*) # Intel Fortran compiler 9220 tmp_addflag=' -nofor_main' ;; 9221 lf95*) # Lahey Fortran 8.1 9222 whole_archive_flag_spec= 9223 tmp_sharedflag='--shared' ;; 9224 nagfor*) # NAGFOR 5.3 9225 tmp_sharedflag='-Wl,-shared' ;; 9226 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9227 tmp_sharedflag='-qmkshrobj' 9228 tmp_addflag= ;; 9229 nvcc*) # Cuda Compiler Driver 2.2 9230 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' 9231 compiler_needs_object=yes 9232 ;; 9233 esac 9234 case `$CC -V 2>&1 | sed 5q` in 9235 *Sun\ C*) # Sun C 5.9 9236 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' 9237 compiler_needs_object=yes 9238 tmp_sharedflag='-G' ;; 9239 *Sun\ F*) # Sun Fortran 8.3 9240 tmp_sharedflag='-G' ;; 9241 esac 9242 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9243 9244 if test yes = "$supports_anon_versioning"; then 9245 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9246 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9247 echo "local: *; };" >> $output_objdir/$libname.ver~ 9248 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9249 fi 9250 9251 case $cc_basename in 9252 tcc*) 9253 export_dynamic_flag_spec='-rdynamic' 9254 ;; 9255 xlf* | bgf* | bgxlf* | mpixlf*) 9256 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9257 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9258 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9259 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9260 if test yes = "$supports_anon_versioning"; then 9261 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9262 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9263 echo "local: *; };" >> $output_objdir/$libname.ver~ 9264 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9265 fi 9266 ;; 9267 esac 9268 else 9269 ld_shlibs=no 9270 fi 9271 ;; 9272 9273 netbsd*) 9274 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9275 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9276 wlarc= 9277 else 9278 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9279 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9280 fi 9281 ;; 9282 9283 solaris*) 9284 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9285 ld_shlibs=no 9286 cat <<_LT_EOF 1>&2 9287 9288*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9289*** create shared libraries on Solaris systems. Therefore, libtool 9290*** is disabling shared libraries support. We urge you to upgrade GNU 9291*** binutils to release 2.9.1 or newer. Another option is to modify 9292*** your PATH or compiler configuration so that the native linker is 9293*** used, and then restart. 9294 9295_LT_EOF 9296 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9297 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9298 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9299 else 9300 ld_shlibs=no 9301 fi 9302 ;; 9303 9304 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9305 case `$LD -v 2>&1` in 9306 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9307 ld_shlibs=no 9308 cat <<_LT_EOF 1>&2 9309 9310*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9311*** reliably create shared libraries on SCO systems. Therefore, libtool 9312*** is disabling shared libraries support. We urge you to upgrade GNU 9313*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9314*** your PATH or compiler configuration so that the native linker is 9315*** used, and then restart. 9316 9317_LT_EOF 9318 ;; 9319 *) 9320 # For security reasons, it is highly recommended that you always 9321 # use absolute paths for naming shared libraries, and exclude the 9322 # DT_RUNPATH tag from executables and libraries. But doing so 9323 # requires that you compile everything twice, which is a pain. 9324 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9325 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9326 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9327 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9328 else 9329 ld_shlibs=no 9330 fi 9331 ;; 9332 esac 9333 ;; 9334 9335 sunos4*) 9336 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9337 wlarc= 9338 hardcode_direct=yes 9339 hardcode_shlibpath_var=no 9340 ;; 9341 9342 *) 9343 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9344 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9345 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9346 else 9347 ld_shlibs=no 9348 fi 9349 ;; 9350 esac 9351 9352 if test no = "$ld_shlibs"; then 9353 runpath_var= 9354 hardcode_libdir_flag_spec= 9355 export_dynamic_flag_spec= 9356 whole_archive_flag_spec= 9357 fi 9358 else 9359 # PORTME fill in a description of your system's linker (not GNU ld) 9360 case $host_os in 9361 aix3*) 9362 allow_undefined_flag=unsupported 9363 always_export_symbols=yes 9364 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' 9365 # Note: this linker hardcodes the directories in LIBPATH if there 9366 # are no directories specified by -L. 9367 hardcode_minus_L=yes 9368 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9369 # Neither direct hardcoding nor static linking is supported with a 9370 # broken collect2. 9371 hardcode_direct=unsupported 9372 fi 9373 ;; 9374 9375 aix[4-9]*) 9376 if test ia64 = "$host_cpu"; then 9377 # On IA64, the linker does run time linking by default, so we don't 9378 # have to do anything special. 9379 aix_use_runtimelinking=no 9380 exp_sym_flag='-Bexport' 9381 no_entry_flag= 9382 else 9383 # If we're using GNU nm, then we don't want the "-C" option. 9384 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9385 # Without the "-l" option, or with the "-B" option, AIX nm treats 9386 # weak defined symbols like other global defined symbols, whereas 9387 # GNU nm marks them as "W". 9388 # While the 'weak' keyword is ignored in the Export File, we need 9389 # it in the Import File for the 'aix-soname' feature, so we have 9390 # to replace the "-B" option with "-P" for AIX nm. 9391 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9392 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' 9393 else 9394 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' 9395 fi 9396 aix_use_runtimelinking=no 9397 9398 # Test if we are trying to use run time linking or normal 9399 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9400 # have runtime linking enabled, and use it for executables. 9401 # For shared libraries, we enable/disable runtime linking 9402 # depending on the kind of the shared library created - 9403 # when "with_aix_soname,aix_use_runtimelinking" is: 9404 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9405 # "aix,yes" lib.so shared, rtl:yes, for executables 9406 # lib.a static archive 9407 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9408 # lib.a(lib.so.V) shared, rtl:no, for executables 9409 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9410 # lib.a(lib.so.V) shared, rtl:no 9411 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9412 # lib.a static archive 9413 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9414 for ld_flag in $LDFLAGS; do 9415 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9416 aix_use_runtimelinking=yes 9417 break 9418 fi 9419 done 9420 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9421 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9422 # so we don't have lib.a shared libs to link our executables. 9423 # We have to force runtime linking in this case. 9424 aix_use_runtimelinking=yes 9425 LDFLAGS="$LDFLAGS -Wl,-brtl" 9426 fi 9427 ;; 9428 esac 9429 9430 exp_sym_flag='-bexport' 9431 no_entry_flag='-bnoentry' 9432 fi 9433 9434 # When large executables or shared objects are built, AIX ld can 9435 # have problems creating the table of contents. If linking a library 9436 # or program results in "error TOC overflow" add -mminimal-toc to 9437 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9438 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9439 9440 archive_cmds='' 9441 hardcode_direct=yes 9442 hardcode_direct_absolute=yes 9443 hardcode_libdir_separator=':' 9444 link_all_deplibs=yes 9445 file_list_spec='$wl-f,' 9446 case $with_aix_soname,$aix_use_runtimelinking in 9447 aix,*) ;; # traditional, no import file 9448 svr4,* | *,yes) # use import file 9449 # The Import File defines what to hardcode. 9450 hardcode_direct=no 9451 hardcode_direct_absolute=no 9452 ;; 9453 esac 9454 9455 if test yes = "$GCC"; then 9456 case $host_os in aix4.[012]|aix4.[012].*) 9457 # We only want to do this on AIX 4.2 and lower, the check 9458 # below for broken collect2 doesn't work under 4.3+ 9459 collect2name=`$CC -print-prog-name=collect2` 9460 if test -f "$collect2name" && 9461 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9462 then 9463 # We have reworked collect2 9464 : 9465 else 9466 # We have old collect2 9467 hardcode_direct=unsupported 9468 # It fails to find uninstalled libraries when the uninstalled 9469 # path is not listed in the libpath. Setting hardcode_minus_L 9470 # to unsupported forces relinking 9471 hardcode_minus_L=yes 9472 hardcode_libdir_flag_spec='-L$libdir' 9473 hardcode_libdir_separator= 9474 fi 9475 ;; 9476 esac 9477 shared_flag='-shared' 9478 if test yes = "$aix_use_runtimelinking"; then 9479 shared_flag="$shared_flag "'$wl-G' 9480 fi 9481 # Need to ensure runtime linking is disabled for the traditional 9482 # shared library, or the linker may eventually find shared libraries 9483 # /with/ Import File - we do not want to mix them. 9484 shared_flag_aix='-shared' 9485 shared_flag_svr4='-shared $wl-G' 9486 else 9487 # not using gcc 9488 if test ia64 = "$host_cpu"; then 9489 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9490 # chokes on -Wl,-G. The following line is correct: 9491 shared_flag='-G' 9492 else 9493 if test yes = "$aix_use_runtimelinking"; then 9494 shared_flag='$wl-G' 9495 else 9496 shared_flag='$wl-bM:SRE' 9497 fi 9498 shared_flag_aix='$wl-bM:SRE' 9499 shared_flag_svr4='$wl-G' 9500 fi 9501 fi 9502 9503 export_dynamic_flag_spec='$wl-bexpall' 9504 # It seems that -bexpall does not export symbols beginning with 9505 # underscore (_), so it is better to generate a list of symbols to export. 9506 always_export_symbols=yes 9507 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9508 # Warning - without using the other runtime loading flags (-brtl), 9509 # -berok will link without error, but may produce a broken library. 9510 allow_undefined_flag='-berok' 9511 # Determine the default libpath from the value encoded in an 9512 # empty executable. 9513 if test set = "${lt_cv_aix_libpath+set}"; then 9514 aix_libpath=$lt_cv_aix_libpath 9515else 9516 if ${lt_cv_aix_libpath_+:} false; then : 9517 $as_echo_n "(cached) " >&6 9518else 9519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9520/* end confdefs.h. */ 9521 9522int 9523main () 9524{ 9525 9526 ; 9527 return 0; 9528} 9529_ACEOF 9530if ac_fn_c_try_link "$LINENO"; then : 9531 9532 lt_aix_libpath_sed=' 9533 /Import File Strings/,/^$/ { 9534 /^0/ { 9535 s/^0 *\([^ ]*\) *$/\1/ 9536 p 9537 } 9538 }' 9539 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9540 # Check for a 64-bit object if we didn't find anything. 9541 if test -z "$lt_cv_aix_libpath_"; then 9542 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9543 fi 9544fi 9545rm -f core conftest.err conftest.$ac_objext \ 9546 conftest$ac_exeext conftest.$ac_ext 9547 if test -z "$lt_cv_aix_libpath_"; then 9548 lt_cv_aix_libpath_=/usr/lib:/lib 9549 fi 9550 9551fi 9552 9553 aix_libpath=$lt_cv_aix_libpath_ 9554fi 9555 9556 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9557 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 9558 else 9559 if test ia64 = "$host_cpu"; then 9560 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9561 allow_undefined_flag="-z nodefs" 9562 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" 9563 else 9564 # Determine the default libpath from the value encoded in an 9565 # empty executable. 9566 if test set = "${lt_cv_aix_libpath+set}"; then 9567 aix_libpath=$lt_cv_aix_libpath 9568else 9569 if ${lt_cv_aix_libpath_+:} false; then : 9570 $as_echo_n "(cached) " >&6 9571else 9572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9573/* end confdefs.h. */ 9574 9575int 9576main () 9577{ 9578 9579 ; 9580 return 0; 9581} 9582_ACEOF 9583if ac_fn_c_try_link "$LINENO"; then : 9584 9585 lt_aix_libpath_sed=' 9586 /Import File Strings/,/^$/ { 9587 /^0/ { 9588 s/^0 *\([^ ]*\) *$/\1/ 9589 p 9590 } 9591 }' 9592 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9593 # Check for a 64-bit object if we didn't find anything. 9594 if test -z "$lt_cv_aix_libpath_"; then 9595 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9596 fi 9597fi 9598rm -f core conftest.err conftest.$ac_objext \ 9599 conftest$ac_exeext conftest.$ac_ext 9600 if test -z "$lt_cv_aix_libpath_"; then 9601 lt_cv_aix_libpath_=/usr/lib:/lib 9602 fi 9603 9604fi 9605 9606 aix_libpath=$lt_cv_aix_libpath_ 9607fi 9608 9609 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9610 # Warning - without using the other run time loading flags, 9611 # -berok will link without error, but may produce a broken library. 9612 no_undefined_flag=' $wl-bernotok' 9613 allow_undefined_flag=' $wl-berok' 9614 if test yes = "$with_gnu_ld"; then 9615 # We only use this code for GNU lds that support --whole-archive. 9616 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9617 else 9618 # Exported symbols can be pulled into shared objects from archives 9619 whole_archive_flag_spec='$convenience' 9620 fi 9621 archive_cmds_need_lc=yes 9622 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9623 # -brtl affects multiple linker settings, -berok does not and is overridden later 9624 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9625 if test svr4 != "$with_aix_soname"; then 9626 # This is similar to how AIX traditionally builds its shared libraries. 9627 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' 9628 fi 9629 if test aix != "$with_aix_soname"; then 9630 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' 9631 else 9632 # used by -dlpreopen to get the symbols 9633 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9634 fi 9635 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9636 fi 9637 fi 9638 ;; 9639 9640 amigaos*) 9641 case $host_cpu in 9642 powerpc) 9643 # see comment about AmigaOS4 .so support 9644 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9645 archive_expsym_cmds='' 9646 ;; 9647 m68k) 9648 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)' 9649 hardcode_libdir_flag_spec='-L$libdir' 9650 hardcode_minus_L=yes 9651 ;; 9652 esac 9653 ;; 9654 9655 bsdi[45]*) 9656 export_dynamic_flag_spec=-rdynamic 9657 ;; 9658 9659 cygwin* | mingw* | pw32* | cegcc*) 9660 # When not using gcc, we currently assume that we are using 9661 # Microsoft Visual C++. 9662 # hardcode_libdir_flag_spec is actually meaningless, as there is 9663 # no search path for DLLs. 9664 case $cc_basename in 9665 cl*) 9666 # Native MSVC 9667 hardcode_libdir_flag_spec=' ' 9668 allow_undefined_flag=unsupported 9669 always_export_symbols=yes 9670 file_list_spec='@' 9671 # Tell ltmain to make .lib files, not .a files. 9672 libext=lib 9673 # Tell ltmain to make .dll files, not .so files. 9674 shrext_cmds=.dll 9675 # FIXME: Setting linknames here is a bad hack. 9676 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 9677 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9678 cp "$export_symbols" "$output_objdir/$soname.def"; 9679 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 9680 else 9681 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 9682 fi~ 9683 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9684 linknames=' 9685 # The linker will not automatically build a static lib if we build a DLL. 9686 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9687 enable_shared_with_static_runtimes=yes 9688 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9689 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9690 # Don't use ranlib 9691 old_postinstall_cmds='chmod 644 $oldlib' 9692 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9693 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9694 case $lt_outputfile in 9695 *.exe|*.EXE) ;; 9696 *) 9697 lt_outputfile=$lt_outputfile.exe 9698 lt_tool_outputfile=$lt_tool_outputfile.exe 9699 ;; 9700 esac~ 9701 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 9702 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9703 $RM "$lt_outputfile.manifest"; 9704 fi' 9705 ;; 9706 *) 9707 # Assume MSVC wrapper 9708 hardcode_libdir_flag_spec=' ' 9709 allow_undefined_flag=unsupported 9710 # Tell ltmain to make .lib files, not .a files. 9711 libext=lib 9712 # Tell ltmain to make .dll files, not .so files. 9713 shrext_cmds=.dll 9714 # FIXME: Setting linknames here is a bad hack. 9715 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9716 # The linker will automatically build a .lib file if we build a DLL. 9717 old_archive_from_new_cmds='true' 9718 # FIXME: Should let the user specify the lib program. 9719 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9720 enable_shared_with_static_runtimes=yes 9721 ;; 9722 esac 9723 ;; 9724 9725 darwin* | rhapsody*) 9726 9727 9728 archive_cmds_need_lc=no 9729 hardcode_direct=no 9730 hardcode_automatic=yes 9731 hardcode_shlibpath_var=unsupported 9732 if test yes = "$lt_cv_ld_force_load"; then 9733 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\"`' 9734 9735 else 9736 whole_archive_flag_spec='' 9737 fi 9738 link_all_deplibs=yes 9739 allow_undefined_flag=$_lt_dar_allow_undefined 9740 case $cc_basename in 9741 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 9742 *) _lt_dar_can_shared=$GCC ;; 9743 esac 9744 if test yes = "$_lt_dar_can_shared"; then 9745 output_verbose_link_cmd=func_echo_all 9746 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 9747 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 9748 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" 9749 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" 9750 9751 else 9752 ld_shlibs=no 9753 fi 9754 9755 ;; 9756 9757 dgux*) 9758 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9759 hardcode_libdir_flag_spec='-L$libdir' 9760 hardcode_shlibpath_var=no 9761 ;; 9762 9763 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9764 # support. Future versions do this automatically, but an explicit c++rt0.o 9765 # does not break anything, and helps significantly (at the cost of a little 9766 # extra space). 9767 freebsd2.2*) 9768 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9769 hardcode_libdir_flag_spec='-R$libdir' 9770 hardcode_direct=yes 9771 hardcode_shlibpath_var=no 9772 ;; 9773 9774 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9775 freebsd2.*) 9776 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9777 hardcode_direct=yes 9778 hardcode_minus_L=yes 9779 hardcode_shlibpath_var=no 9780 ;; 9781 9782 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9783 freebsd* | dragonfly*) 9784 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9785 hardcode_libdir_flag_spec='-R$libdir' 9786 hardcode_direct=yes 9787 hardcode_shlibpath_var=no 9788 ;; 9789 9790 hpux9*) 9791 if test yes = "$GCC"; then 9792 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' 9793 else 9794 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' 9795 fi 9796 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9797 hardcode_libdir_separator=: 9798 hardcode_direct=yes 9799 9800 # hardcode_minus_L: Not really in the search PATH, 9801 # but as the default location of the library. 9802 hardcode_minus_L=yes 9803 export_dynamic_flag_spec='$wl-E' 9804 ;; 9805 9806 hpux10*) 9807 if test yes,no = "$GCC,$with_gnu_ld"; then 9808 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9809 else 9810 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9811 fi 9812 if test no = "$with_gnu_ld"; then 9813 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9814 hardcode_libdir_separator=: 9815 hardcode_direct=yes 9816 hardcode_direct_absolute=yes 9817 export_dynamic_flag_spec='$wl-E' 9818 # hardcode_minus_L: Not really in the search PATH, 9819 # but as the default location of the library. 9820 hardcode_minus_L=yes 9821 fi 9822 ;; 9823 9824 hpux11*) 9825 if test yes,no = "$GCC,$with_gnu_ld"; then 9826 case $host_cpu in 9827 hppa*64*) 9828 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9829 ;; 9830 ia64*) 9831 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9832 ;; 9833 *) 9834 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9835 ;; 9836 esac 9837 else 9838 case $host_cpu in 9839 hppa*64*) 9840 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9841 ;; 9842 ia64*) 9843 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9844 ;; 9845 *) 9846 9847 # Older versions of the 11.00 compiler do not understand -b yet 9848 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9850$as_echo_n "checking if $CC understands -b... " >&6; } 9851if ${lt_cv_prog_compiler__b+:} false; then : 9852 $as_echo_n "(cached) " >&6 9853else 9854 lt_cv_prog_compiler__b=no 9855 save_LDFLAGS=$LDFLAGS 9856 LDFLAGS="$LDFLAGS -b" 9857 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9858 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9859 # The linker can only warn and ignore the option if not recognized 9860 # So say no if there are warnings 9861 if test -s conftest.err; then 9862 # Append any errors to the config.log. 9863 cat conftest.err 1>&5 9864 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9865 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9866 if diff conftest.exp conftest.er2 >/dev/null; then 9867 lt_cv_prog_compiler__b=yes 9868 fi 9869 else 9870 lt_cv_prog_compiler__b=yes 9871 fi 9872 fi 9873 $RM -r conftest* 9874 LDFLAGS=$save_LDFLAGS 9875 9876fi 9877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9878$as_echo "$lt_cv_prog_compiler__b" >&6; } 9879 9880if test yes = "$lt_cv_prog_compiler__b"; then 9881 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9882else 9883 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9884fi 9885 9886 ;; 9887 esac 9888 fi 9889 if test no = "$with_gnu_ld"; then 9890 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9891 hardcode_libdir_separator=: 9892 9893 case $host_cpu in 9894 hppa*64*|ia64*) 9895 hardcode_direct=no 9896 hardcode_shlibpath_var=no 9897 ;; 9898 *) 9899 hardcode_direct=yes 9900 hardcode_direct_absolute=yes 9901 export_dynamic_flag_spec='$wl-E' 9902 9903 # hardcode_minus_L: Not really in the search PATH, 9904 # but as the default location of the library. 9905 hardcode_minus_L=yes 9906 ;; 9907 esac 9908 fi 9909 ;; 9910 9911 irix5* | irix6* | nonstopux*) 9912 if test yes = "$GCC"; then 9913 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' 9914 # Try to use the -exported_symbol ld option, if it does not 9915 # work, assume that -exports_file does not work either and 9916 # implicitly export all symbols. 9917 # This should be the same for all languages, so no per-tag cache variable. 9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9919$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9920if ${lt_cv_irix_exported_symbol+:} false; then : 9921 $as_echo_n "(cached) " >&6 9922else 9923 save_LDFLAGS=$LDFLAGS 9924 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9926/* end confdefs.h. */ 9927int foo (void) { return 0; } 9928_ACEOF 9929if ac_fn_c_try_link "$LINENO"; then : 9930 lt_cv_irix_exported_symbol=yes 9931else 9932 lt_cv_irix_exported_symbol=no 9933fi 9934rm -f core conftest.err conftest.$ac_objext \ 9935 conftest$ac_exeext conftest.$ac_ext 9936 LDFLAGS=$save_LDFLAGS 9937fi 9938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9939$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9940 if test yes = "$lt_cv_irix_exported_symbol"; then 9941 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' 9942 fi 9943 else 9944 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' 9945 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' 9946 fi 9947 archive_cmds_need_lc='no' 9948 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9949 hardcode_libdir_separator=: 9950 inherit_rpath=yes 9951 link_all_deplibs=yes 9952 ;; 9953 9954 linux*) 9955 case $cc_basename in 9956 tcc*) 9957 # Fabrice Bellard et al's Tiny C Compiler 9958 ld_shlibs=yes 9959 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9960 ;; 9961 esac 9962 ;; 9963 9964 netbsd*) 9965 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9966 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9967 else 9968 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9969 fi 9970 hardcode_libdir_flag_spec='-R$libdir' 9971 hardcode_direct=yes 9972 hardcode_shlibpath_var=no 9973 ;; 9974 9975 newsos6) 9976 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9977 hardcode_direct=yes 9978 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9979 hardcode_libdir_separator=: 9980 hardcode_shlibpath_var=no 9981 ;; 9982 9983 *nto* | *qnx*) 9984 ;; 9985 9986 openbsd* | bitrig*) 9987 if test -f /usr/libexec/ld.so; then 9988 hardcode_direct=yes 9989 hardcode_shlibpath_var=no 9990 hardcode_direct_absolute=yes 9991 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 9992 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9993 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 9994 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9995 export_dynamic_flag_spec='$wl-E' 9996 else 9997 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9998 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9999 fi 10000 else 10001 ld_shlibs=no 10002 fi 10003 ;; 10004 10005 os2*) 10006 hardcode_libdir_flag_spec='-L$libdir' 10007 hardcode_minus_L=yes 10008 allow_undefined_flag=unsupported 10009 shrext_cmds=.dll 10010 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10011 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10012 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10013 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10014 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10015 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10016 emximp -o $lib $output_objdir/$libname.def' 10017 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10018 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10019 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10020 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10021 prefix_cmds="$SED"~ 10022 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10023 prefix_cmds="$prefix_cmds -e 1d"; 10024 fi~ 10025 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10026 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10027 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10028 emximp -o $lib $output_objdir/$libname.def' 10029 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10030 enable_shared_with_static_runtimes=yes 10031 ;; 10032 10033 osf3*) 10034 if test yes = "$GCC"; then 10035 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10036 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' 10037 else 10038 allow_undefined_flag=' -expect_unresolved \*' 10039 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' 10040 fi 10041 archive_cmds_need_lc='no' 10042 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10043 hardcode_libdir_separator=: 10044 ;; 10045 10046 osf4* | osf5*) # as osf3* with the addition of -msym flag 10047 if test yes = "$GCC"; then 10048 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10049 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' 10050 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10051 else 10052 allow_undefined_flag=' -expect_unresolved \*' 10053 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' 10054 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~ 10055 $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' 10056 10057 # Both c and cxx compiler support -rpath directly 10058 hardcode_libdir_flag_spec='-rpath $libdir' 10059 fi 10060 archive_cmds_need_lc='no' 10061 hardcode_libdir_separator=: 10062 ;; 10063 10064 solaris*) 10065 no_undefined_flag=' -z defs' 10066 if test yes = "$GCC"; then 10067 wlarc='$wl' 10068 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10069 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10070 $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' 10071 else 10072 case `$CC -V 2>&1` in 10073 *"Compilers 5.0"*) 10074 wlarc='' 10075 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10076 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10077 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10078 ;; 10079 *) 10080 wlarc='$wl' 10081 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10082 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10083 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10084 ;; 10085 esac 10086 fi 10087 hardcode_libdir_flag_spec='-R$libdir' 10088 hardcode_shlibpath_var=no 10089 case $host_os in 10090 solaris2.[0-5] | solaris2.[0-5].*) ;; 10091 *) 10092 # The compiler driver will combine and reorder linker options, 10093 # but understands '-z linker_flag'. GCC discards it without '$wl', 10094 # but is careful enough not to reorder. 10095 # Supported since Solaris 2.6 (maybe 2.5.1?) 10096 if test yes = "$GCC"; then 10097 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10098 else 10099 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10100 fi 10101 ;; 10102 esac 10103 link_all_deplibs=yes 10104 ;; 10105 10106 sunos4*) 10107 if test sequent = "$host_vendor"; then 10108 # Use $CC to link under sequent, because it throws in some extra .o 10109 # files that make .init and .fini sections work. 10110 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10111 else 10112 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10113 fi 10114 hardcode_libdir_flag_spec='-L$libdir' 10115 hardcode_direct=yes 10116 hardcode_minus_L=yes 10117 hardcode_shlibpath_var=no 10118 ;; 10119 10120 sysv4) 10121 case $host_vendor in 10122 sni) 10123 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10124 hardcode_direct=yes # is this really true??? 10125 ;; 10126 siemens) 10127 ## LD is ld it makes a PLAMLIB 10128 ## CC just makes a GrossModule. 10129 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10130 reload_cmds='$CC -r -o $output$reload_objs' 10131 hardcode_direct=no 10132 ;; 10133 motorola) 10134 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10135 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10136 ;; 10137 esac 10138 runpath_var='LD_RUN_PATH' 10139 hardcode_shlibpath_var=no 10140 ;; 10141 10142 sysv4.3*) 10143 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10144 hardcode_shlibpath_var=no 10145 export_dynamic_flag_spec='-Bexport' 10146 ;; 10147 10148 sysv4*MP*) 10149 if test -d /usr/nec; then 10150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10151 hardcode_shlibpath_var=no 10152 runpath_var=LD_RUN_PATH 10153 hardcode_runpath_var=yes 10154 ld_shlibs=yes 10155 fi 10156 ;; 10157 10158 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10159 no_undefined_flag='$wl-z,text' 10160 archive_cmds_need_lc=no 10161 hardcode_shlibpath_var=no 10162 runpath_var='LD_RUN_PATH' 10163 10164 if test yes = "$GCC"; then 10165 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10166 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10167 else 10168 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10169 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10170 fi 10171 ;; 10172 10173 sysv5* | sco3.2v5* | sco5v6*) 10174 # Note: We CANNOT use -z defs as we might desire, because we do not 10175 # link with -lc, and that would cause any symbols used from libc to 10176 # always be unresolved, which means just about no library would 10177 # ever link correctly. If we're not using GNU ld we use -z text 10178 # though, which does catch some bad symbols but isn't as heavy-handed 10179 # as -z defs. 10180 no_undefined_flag='$wl-z,text' 10181 allow_undefined_flag='$wl-z,nodefs' 10182 archive_cmds_need_lc=no 10183 hardcode_shlibpath_var=no 10184 hardcode_libdir_flag_spec='$wl-R,$libdir' 10185 hardcode_libdir_separator=':' 10186 link_all_deplibs=yes 10187 export_dynamic_flag_spec='$wl-Bexport' 10188 runpath_var='LD_RUN_PATH' 10189 10190 if test yes = "$GCC"; then 10191 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10192 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10193 else 10194 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10195 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10196 fi 10197 ;; 10198 10199 uts4*) 10200 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10201 hardcode_libdir_flag_spec='-L$libdir' 10202 hardcode_shlibpath_var=no 10203 ;; 10204 10205 *) 10206 ld_shlibs=no 10207 ;; 10208 esac 10209 10210 if test sni = "$host_vendor"; then 10211 case $host in 10212 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10213 export_dynamic_flag_spec='$wl-Blargedynsym' 10214 ;; 10215 esac 10216 fi 10217 fi 10218 10219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10220$as_echo "$ld_shlibs" >&6; } 10221test no = "$ld_shlibs" && can_build_shared=no 10222 10223with_gnu_ld=$with_gnu_ld 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239# 10240# Do we need to explicitly link libc? 10241# 10242case "x$archive_cmds_need_lc" in 10243x|xyes) 10244 # Assume -lc should be added 10245 archive_cmds_need_lc=yes 10246 10247 if test yes,yes = "$GCC,$enable_shared"; then 10248 case $archive_cmds in 10249 *'~'*) 10250 # FIXME: we may have to deal with multi-command sequences. 10251 ;; 10252 '$CC '*) 10253 # Test whether the compiler implicitly links with -lc since on some 10254 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10255 # to ld, don't add -lc before -lgcc. 10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10257$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10258if ${lt_cv_archive_cmds_need_lc+:} false; then : 10259 $as_echo_n "(cached) " >&6 10260else 10261 $RM conftest* 10262 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10263 10264 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10265 (eval $ac_compile) 2>&5 10266 ac_status=$? 10267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10268 test $ac_status = 0; } 2>conftest.err; then 10269 soname=conftest 10270 lib=conftest 10271 libobjs=conftest.$ac_objext 10272 deplibs= 10273 wl=$lt_prog_compiler_wl 10274 pic_flag=$lt_prog_compiler_pic 10275 compiler_flags=-v 10276 linker_flags=-v 10277 verstring= 10278 output_objdir=. 10279 libname=conftest 10280 lt_save_allow_undefined_flag=$allow_undefined_flag 10281 allow_undefined_flag= 10282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10283 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10284 ac_status=$? 10285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10286 test $ac_status = 0; } 10287 then 10288 lt_cv_archive_cmds_need_lc=no 10289 else 10290 lt_cv_archive_cmds_need_lc=yes 10291 fi 10292 allow_undefined_flag=$lt_save_allow_undefined_flag 10293 else 10294 cat conftest.err 1>&5 10295 fi 10296 $RM conftest* 10297 10298fi 10299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10300$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10301 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10302 ;; 10303 esac 10304 fi 10305 ;; 10306esac 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10460$as_echo_n "checking dynamic linker characteristics... " >&6; } 10461 10462if test yes = "$GCC"; then 10463 case $host_os in 10464 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10465 *) lt_awk_arg='/^libraries:/' ;; 10466 esac 10467 case $host_os in 10468 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10469 *) lt_sed_strip_eq='s|=/|/|g' ;; 10470 esac 10471 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10472 case $lt_search_path_spec in 10473 *\;*) 10474 # if the path contains ";" then we assume it to be the separator 10475 # otherwise default to the standard path separator (i.e. ":") - it is 10476 # assumed that no part of a normal pathname contains ";" but that should 10477 # okay in the real world where ";" in dirpaths is itself problematic. 10478 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10479 ;; 10480 *) 10481 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10482 ;; 10483 esac 10484 # Ok, now we have the path, separated by spaces, we can step through it 10485 # and add multilib dir if necessary... 10486 lt_tmp_lt_search_path_spec= 10487 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10488 # ...but if some path component already ends with the multilib dir we assume 10489 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10490 case "$lt_multi_os_dir; $lt_search_path_spec " in 10491 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10492 lt_multi_os_dir= 10493 ;; 10494 esac 10495 for lt_sys_path in $lt_search_path_spec; do 10496 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10497 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10498 elif test -n "$lt_multi_os_dir"; then 10499 test -d "$lt_sys_path" && \ 10500 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10501 fi 10502 done 10503 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10504BEGIN {RS = " "; FS = "/|\n";} { 10505 lt_foo = ""; 10506 lt_count = 0; 10507 for (lt_i = NF; lt_i > 0; lt_i--) { 10508 if ($lt_i != "" && $lt_i != ".") { 10509 if ($lt_i == "..") { 10510 lt_count++; 10511 } else { 10512 if (lt_count == 0) { 10513 lt_foo = "/" $lt_i lt_foo; 10514 } else { 10515 lt_count--; 10516 } 10517 } 10518 } 10519 } 10520 if (lt_foo != "") { lt_freq[lt_foo]++; } 10521 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10522}'` 10523 # AWK program above erroneously prepends '/' to C:/dos/paths 10524 # for these hosts. 10525 case $host_os in 10526 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10527 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10528 esac 10529 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10530else 10531 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10532fi 10533library_names_spec= 10534libname_spec='lib$name' 10535soname_spec= 10536shrext_cmds=.so 10537postinstall_cmds= 10538postuninstall_cmds= 10539finish_cmds= 10540finish_eval= 10541shlibpath_var= 10542shlibpath_overrides_runpath=unknown 10543version_type=none 10544dynamic_linker="$host_os ld.so" 10545sys_lib_dlsearch_path_spec="/lib /usr/lib" 10546need_lib_prefix=unknown 10547hardcode_into_libs=no 10548 10549# when you set need_version to no, make sure it does not cause -set_version 10550# flags to be left without arguments 10551need_version=unknown 10552 10553 10554 10555case $host_os in 10556aix3*) 10557 version_type=linux # correct to gnu/linux during the next big refactor 10558 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10559 shlibpath_var=LIBPATH 10560 10561 # AIX 3 has no versioning support, so we append a major version to the name. 10562 soname_spec='$libname$release$shared_ext$major' 10563 ;; 10564 10565aix[4-9]*) 10566 version_type=linux # correct to gnu/linux during the next big refactor 10567 need_lib_prefix=no 10568 need_version=no 10569 hardcode_into_libs=yes 10570 if test ia64 = "$host_cpu"; then 10571 # AIX 5 supports IA64 10572 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10573 shlibpath_var=LD_LIBRARY_PATH 10574 else 10575 # With GCC up to 2.95.x, collect2 would create an import file 10576 # for dependence libraries. The import file would start with 10577 # the line '#! .'. This would cause the generated library to 10578 # depend on '.', always an invalid library. This was fixed in 10579 # development snapshots of GCC prior to 3.0. 10580 case $host_os in 10581 aix4 | aix4.[01] | aix4.[01].*) 10582 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10583 echo ' yes ' 10584 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10585 : 10586 else 10587 can_build_shared=no 10588 fi 10589 ;; 10590 esac 10591 # Using Import Files as archive members, it is possible to support 10592 # filename-based versioning of shared library archives on AIX. While 10593 # this would work for both with and without runtime linking, it will 10594 # prevent static linking of such archives. So we do filename-based 10595 # shared library versioning with .so extension only, which is used 10596 # when both runtime linking and shared linking is enabled. 10597 # Unfortunately, runtime linking may impact performance, so we do 10598 # not want this to be the default eventually. Also, we use the 10599 # versioned .so libs for executables only if there is the -brtl 10600 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10601 # To allow for filename-based versioning support, we need to create 10602 # libNAME.so.V as an archive file, containing: 10603 # *) an Import File, referring to the versioned filename of the 10604 # archive as well as the shared archive member, telling the 10605 # bitwidth (32 or 64) of that shared object, and providing the 10606 # list of exported symbols of that shared object, eventually 10607 # decorated with the 'weak' keyword 10608 # *) the shared object with the F_LOADONLY flag set, to really avoid 10609 # it being seen by the linker. 10610 # At run time we better use the real file rather than another symlink, 10611 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10612 10613 case $with_aix_soname,$aix_use_runtimelinking in 10614 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10615 # soname into executable. Probably we can add versioning support to 10616 # collect2, so additional links can be useful in future. 10617 aix,yes) # traditional libtool 10618 dynamic_linker='AIX unversionable lib.so' 10619 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10620 # instead of lib<name>.a to let people know that these are not 10621 # typical AIX shared libraries. 10622 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10623 ;; 10624 aix,no) # traditional AIX only 10625 dynamic_linker='AIX lib.a(lib.so.V)' 10626 # We preserve .a as extension for shared libraries through AIX4.2 10627 # and later when we are not doing run time linking. 10628 library_names_spec='$libname$release.a $libname.a' 10629 soname_spec='$libname$release$shared_ext$major' 10630 ;; 10631 svr4,*) # full svr4 only 10632 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10633 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10634 # We do not specify a path in Import Files, so LIBPATH fires. 10635 shlibpath_overrides_runpath=yes 10636 ;; 10637 *,yes) # both, prefer svr4 10638 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10639 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10640 # unpreferred sharedlib libNAME.a needs extra handling 10641 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"' 10642 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"' 10643 # We do not specify a path in Import Files, so LIBPATH fires. 10644 shlibpath_overrides_runpath=yes 10645 ;; 10646 *,no) # both, prefer aix 10647 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10648 library_names_spec='$libname$release.a $libname.a' 10649 soname_spec='$libname$release$shared_ext$major' 10650 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10651 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)' 10652 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"' 10653 ;; 10654 esac 10655 shlibpath_var=LIBPATH 10656 fi 10657 ;; 10658 10659amigaos*) 10660 case $host_cpu in 10661 powerpc) 10662 # Since July 2007 AmigaOS4 officially supports .so libraries. 10663 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10664 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10665 ;; 10666 m68k) 10667 library_names_spec='$libname.ixlibrary $libname.a' 10668 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10669 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' 10670 ;; 10671 esac 10672 ;; 10673 10674beos*) 10675 library_names_spec='$libname$shared_ext' 10676 dynamic_linker="$host_os ld.so" 10677 shlibpath_var=LIBRARY_PATH 10678 ;; 10679 10680bsdi[45]*) 10681 version_type=linux # correct to gnu/linux during the next big refactor 10682 need_version=no 10683 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10684 soname_spec='$libname$release$shared_ext$major' 10685 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10686 shlibpath_var=LD_LIBRARY_PATH 10687 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10688 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10689 # the default ld.so.conf also contains /usr/contrib/lib and 10690 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10691 # libtool to hard-code these into programs 10692 ;; 10693 10694cygwin* | mingw* | pw32* | cegcc*) 10695 version_type=windows 10696 shrext_cmds=.dll 10697 need_version=no 10698 need_lib_prefix=no 10699 10700 case $GCC,$cc_basename in 10701 yes,*) 10702 # gcc 10703 library_names_spec='$libname.dll.a' 10704 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10705 postinstall_cmds='base_file=`basename \$file`~ 10706 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10707 dldir=$destdir/`dirname \$dlpath`~ 10708 test -d \$dldir || mkdir -p \$dldir~ 10709 $install_prog $dir/$dlname \$dldir/$dlname~ 10710 chmod a+x \$dldir/$dlname~ 10711 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10712 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10713 fi' 10714 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10715 dlpath=$dir/\$dldll~ 10716 $RM \$dlpath' 10717 shlibpath_overrides_runpath=yes 10718 10719 case $host_os in 10720 cygwin*) 10721 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10722 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10723 10724 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10725 ;; 10726 mingw* | cegcc*) 10727 # MinGW DLLs use traditional 'lib' prefix 10728 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10729 ;; 10730 pw32*) 10731 # pw32 DLLs use 'pw' prefix rather than 'lib' 10732 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10733 ;; 10734 esac 10735 dynamic_linker='Win32 ld.exe' 10736 ;; 10737 10738 *,cl*) 10739 # Native MSVC 10740 libname_spec='$name' 10741 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10742 library_names_spec='$libname.dll.lib' 10743 10744 case $build_os in 10745 mingw*) 10746 sys_lib_search_path_spec= 10747 lt_save_ifs=$IFS 10748 IFS=';' 10749 for lt_path in $LIB 10750 do 10751 IFS=$lt_save_ifs 10752 # Let DOS variable expansion print the short 8.3 style file name. 10753 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10754 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10755 done 10756 IFS=$lt_save_ifs 10757 # Convert to MSYS style. 10758 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10759 ;; 10760 cygwin*) 10761 # Convert to unix form, then to dos form, then back to unix form 10762 # but this time dos style (no spaces!) so that the unix form looks 10763 # like /cygdrive/c/PROGRA~1:/cygdr... 10764 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10765 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10766 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10767 ;; 10768 *) 10769 sys_lib_search_path_spec=$LIB 10770 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10771 # It is most probably a Windows format PATH. 10772 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10773 else 10774 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10775 fi 10776 # FIXME: find the short name or the path components, as spaces are 10777 # common. (e.g. "Program Files" -> "PROGRA~1") 10778 ;; 10779 esac 10780 10781 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10782 postinstall_cmds='base_file=`basename \$file`~ 10783 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10784 dldir=$destdir/`dirname \$dlpath`~ 10785 test -d \$dldir || mkdir -p \$dldir~ 10786 $install_prog $dir/$dlname \$dldir/$dlname' 10787 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10788 dlpath=$dir/\$dldll~ 10789 $RM \$dlpath' 10790 shlibpath_overrides_runpath=yes 10791 dynamic_linker='Win32 link.exe' 10792 ;; 10793 10794 *) 10795 # Assume MSVC wrapper 10796 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 10797 dynamic_linker='Win32 ld.exe' 10798 ;; 10799 esac 10800 # FIXME: first we should search . and the directory the executable is in 10801 shlibpath_var=PATH 10802 ;; 10803 10804darwin* | rhapsody*) 10805 dynamic_linker="$host_os dyld" 10806 version_type=darwin 10807 need_lib_prefix=no 10808 need_version=no 10809 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 10810 soname_spec='$libname$release$major$shared_ext' 10811 shlibpath_overrides_runpath=yes 10812 shlibpath_var=DYLD_LIBRARY_PATH 10813 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10814 10815 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10816 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10817 ;; 10818 10819dgux*) 10820 version_type=linux # correct to gnu/linux during the next big refactor 10821 need_lib_prefix=no 10822 need_version=no 10823 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10824 soname_spec='$libname$release$shared_ext$major' 10825 shlibpath_var=LD_LIBRARY_PATH 10826 ;; 10827 10828freebsd* | dragonfly*) 10829 # DragonFly does not have aout. When/if they implement a new 10830 # versioning mechanism, adjust this. 10831 if test -x /usr/bin/objformat; then 10832 objformat=`/usr/bin/objformat` 10833 else 10834 case $host_os in 10835 freebsd[23].*) objformat=aout ;; 10836 *) objformat=elf ;; 10837 esac 10838 fi 10839 version_type=freebsd-$objformat 10840 case $version_type in 10841 freebsd-elf*) 10842 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10843 soname_spec='$libname$release$shared_ext$major' 10844 need_version=no 10845 need_lib_prefix=no 10846 ;; 10847 freebsd-*) 10848 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10849 need_version=yes 10850 ;; 10851 esac 10852 shlibpath_var=LD_LIBRARY_PATH 10853 case $host_os in 10854 freebsd2.*) 10855 shlibpath_overrides_runpath=yes 10856 ;; 10857 freebsd3.[01]* | freebsdelf3.[01]*) 10858 shlibpath_overrides_runpath=yes 10859 hardcode_into_libs=yes 10860 ;; 10861 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10862 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10863 shlibpath_overrides_runpath=no 10864 hardcode_into_libs=yes 10865 ;; 10866 *) # from 4.6 on, and DragonFly 10867 shlibpath_overrides_runpath=yes 10868 hardcode_into_libs=yes 10869 ;; 10870 esac 10871 ;; 10872 10873haiku*) 10874 version_type=linux # correct to gnu/linux during the next big refactor 10875 need_lib_prefix=no 10876 need_version=no 10877 dynamic_linker="$host_os runtime_loader" 10878 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10879 soname_spec='$libname$release$shared_ext$major' 10880 shlibpath_var=LIBRARY_PATH 10881 shlibpath_overrides_runpath=no 10882 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10883 hardcode_into_libs=yes 10884 ;; 10885 10886hpux9* | hpux10* | hpux11*) 10887 # Give a soname corresponding to the major version so that dld.sl refuses to 10888 # link against other versions. 10889 version_type=sunos 10890 need_lib_prefix=no 10891 need_version=no 10892 case $host_cpu in 10893 ia64*) 10894 shrext_cmds='.so' 10895 hardcode_into_libs=yes 10896 dynamic_linker="$host_os dld.so" 10897 shlibpath_var=LD_LIBRARY_PATH 10898 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10899 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10900 soname_spec='$libname$release$shared_ext$major' 10901 if test 32 = "$HPUX_IA64_MODE"; then 10902 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10903 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 10904 else 10905 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10906 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 10907 fi 10908 ;; 10909 hppa*64*) 10910 shrext_cmds='.sl' 10911 hardcode_into_libs=yes 10912 dynamic_linker="$host_os dld.sl" 10913 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10914 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10915 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10916 soname_spec='$libname$release$shared_ext$major' 10917 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10918 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10919 ;; 10920 *) 10921 shrext_cmds='.sl' 10922 dynamic_linker="$host_os dld.sl" 10923 shlibpath_var=SHLIB_PATH 10924 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10925 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10926 soname_spec='$libname$release$shared_ext$major' 10927 ;; 10928 esac 10929 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10930 postinstall_cmds='chmod 555 $lib' 10931 # or fails outright, so override atomically: 10932 install_override_mode=555 10933 ;; 10934 10935interix[3-9]*) 10936 version_type=linux # correct to gnu/linux during the next big refactor 10937 need_lib_prefix=no 10938 need_version=no 10939 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10940 soname_spec='$libname$release$shared_ext$major' 10941 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10942 shlibpath_var=LD_LIBRARY_PATH 10943 shlibpath_overrides_runpath=no 10944 hardcode_into_libs=yes 10945 ;; 10946 10947irix5* | irix6* | nonstopux*) 10948 case $host_os in 10949 nonstopux*) version_type=nonstopux ;; 10950 *) 10951 if test yes = "$lt_cv_prog_gnu_ld"; then 10952 version_type=linux # correct to gnu/linux during the next big refactor 10953 else 10954 version_type=irix 10955 fi ;; 10956 esac 10957 need_lib_prefix=no 10958 need_version=no 10959 soname_spec='$libname$release$shared_ext$major' 10960 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 10961 case $host_os in 10962 irix5* | nonstopux*) 10963 libsuff= shlibsuff= 10964 ;; 10965 *) 10966 case $LD in # libtool.m4 will add one of these switches to LD 10967 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10968 libsuff= shlibsuff= libmagic=32-bit;; 10969 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10970 libsuff=32 shlibsuff=N32 libmagic=N32;; 10971 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10972 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10973 *) libsuff= shlibsuff= libmagic=never-match;; 10974 esac 10975 ;; 10976 esac 10977 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10978 shlibpath_overrides_runpath=no 10979 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 10980 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 10981 hardcode_into_libs=yes 10982 ;; 10983 10984# No shared lib support for Linux oldld, aout, or coff. 10985linux*oldld* | linux*aout* | linux*coff*) 10986 dynamic_linker=no 10987 ;; 10988 10989linux*android*) 10990 version_type=none # Android doesn't support versioned libraries. 10991 need_lib_prefix=no 10992 need_version=no 10993 library_names_spec='$libname$release$shared_ext' 10994 soname_spec='$libname$release$shared_ext' 10995 finish_cmds= 10996 shlibpath_var=LD_LIBRARY_PATH 10997 shlibpath_overrides_runpath=yes 10998 10999 # This implies no fast_install, which is unacceptable. 11000 # Some rework will be needed to allow for fast_install 11001 # before this can be enabled. 11002 hardcode_into_libs=yes 11003 11004 dynamic_linker='Android linker' 11005 # Don't embed -rpath directories since the linker doesn't support them. 11006 hardcode_libdir_flag_spec='-L$libdir' 11007 ;; 11008 11009# This must be glibc/ELF. 11010linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11011 version_type=linux # correct to gnu/linux during the next big refactor 11012 need_lib_prefix=no 11013 need_version=no 11014 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11015 soname_spec='$libname$release$shared_ext$major' 11016 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11017 shlibpath_var=LD_LIBRARY_PATH 11018 shlibpath_overrides_runpath=no 11019 11020 # Some binutils ld are patched to set DT_RUNPATH 11021 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11022 $as_echo_n "(cached) " >&6 11023else 11024 lt_cv_shlibpath_overrides_runpath=no 11025 save_LDFLAGS=$LDFLAGS 11026 save_libdir=$libdir 11027 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11028 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11030/* end confdefs.h. */ 11031 11032int 11033main () 11034{ 11035 11036 ; 11037 return 0; 11038} 11039_ACEOF 11040if ac_fn_c_try_link "$LINENO"; then : 11041 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11042 lt_cv_shlibpath_overrides_runpath=yes 11043fi 11044fi 11045rm -f core conftest.err conftest.$ac_objext \ 11046 conftest$ac_exeext conftest.$ac_ext 11047 LDFLAGS=$save_LDFLAGS 11048 libdir=$save_libdir 11049 11050fi 11051 11052 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11053 11054 # This implies no fast_install, which is unacceptable. 11055 # Some rework will be needed to allow for fast_install 11056 # before this can be enabled. 11057 hardcode_into_libs=yes 11058 11059 # Ideally, we could use ldconfig to report *all* directores which are 11060 # searched for libraries, however this is still not possible. Aside from not 11061 # being certain /sbin/ldconfig is available, command 11062 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11063 # even though it is searched at run-time. Try to do the best guess by 11064 # appending ld.so.conf contents (and includes) to the search path. 11065 if test -f /etc/ld.so.conf; then 11066 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' ' '` 11067 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11068 fi 11069 11070 # We used to test for /lib/ld.so.1 and disable shared libraries on 11071 # powerpc, because MkLinux only supported shared libraries with the 11072 # GNU dynamic linker. Since this was broken with cross compilers, 11073 # most powerpc-linux boxes support dynamic linking these days and 11074 # people can always --disable-shared, the test was removed, and we 11075 # assume the GNU/Linux dynamic linker is in use. 11076 dynamic_linker='GNU/Linux ld.so' 11077 ;; 11078 11079netbsd*) 11080 version_type=sunos 11081 need_lib_prefix=no 11082 need_version=no 11083 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11084 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11085 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11086 dynamic_linker='NetBSD (a.out) ld.so' 11087 else 11088 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11089 soname_spec='$libname$release$shared_ext$major' 11090 dynamic_linker='NetBSD ld.elf_so' 11091 fi 11092 shlibpath_var=LD_LIBRARY_PATH 11093 shlibpath_overrides_runpath=yes 11094 hardcode_into_libs=yes 11095 ;; 11096 11097newsos6) 11098 version_type=linux # correct to gnu/linux during the next big refactor 11099 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11100 shlibpath_var=LD_LIBRARY_PATH 11101 shlibpath_overrides_runpath=yes 11102 ;; 11103 11104*nto* | *qnx*) 11105 version_type=qnx 11106 need_lib_prefix=no 11107 need_version=no 11108 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11109 soname_spec='$libname$release$shared_ext$major' 11110 shlibpath_var=LD_LIBRARY_PATH 11111 shlibpath_overrides_runpath=no 11112 hardcode_into_libs=yes 11113 dynamic_linker='ldqnx.so' 11114 ;; 11115 11116openbsd* | bitrig*) 11117 version_type=sunos 11118 sys_lib_dlsearch_path_spec=/usr/lib 11119 need_lib_prefix=no 11120 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11121 need_version=no 11122 else 11123 need_version=yes 11124 fi 11125 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11126 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11127 shlibpath_var=LD_LIBRARY_PATH 11128 shlibpath_overrides_runpath=yes 11129 ;; 11130 11131os2*) 11132 libname_spec='$name' 11133 version_type=windows 11134 shrext_cmds=.dll 11135 need_version=no 11136 need_lib_prefix=no 11137 # OS/2 can only load a DLL with a base name of 8 characters or less. 11138 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11139 v=$($ECHO $release$versuffix | tr -d .-); 11140 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11141 $ECHO $n$v`$shared_ext' 11142 library_names_spec='${libname}_dll.$libext' 11143 dynamic_linker='OS/2 ld.exe' 11144 shlibpath_var=BEGINLIBPATH 11145 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11146 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11147 postinstall_cmds='base_file=`basename \$file`~ 11148 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11149 dldir=$destdir/`dirname \$dlpath`~ 11150 test -d \$dldir || mkdir -p \$dldir~ 11151 $install_prog $dir/$dlname \$dldir/$dlname~ 11152 chmod a+x \$dldir/$dlname~ 11153 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11154 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11155 fi' 11156 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11157 dlpath=$dir/\$dldll~ 11158 $RM \$dlpath' 11159 ;; 11160 11161osf3* | osf4* | osf5*) 11162 version_type=osf 11163 need_lib_prefix=no 11164 need_version=no 11165 soname_spec='$libname$release$shared_ext$major' 11166 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11167 shlibpath_var=LD_LIBRARY_PATH 11168 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11169 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11170 ;; 11171 11172rdos*) 11173 dynamic_linker=no 11174 ;; 11175 11176solaris*) 11177 version_type=linux # correct to gnu/linux during the next big refactor 11178 need_lib_prefix=no 11179 need_version=no 11180 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11181 soname_spec='$libname$release$shared_ext$major' 11182 shlibpath_var=LD_LIBRARY_PATH 11183 shlibpath_overrides_runpath=yes 11184 hardcode_into_libs=yes 11185 # ldd complains unless libraries are executable 11186 postinstall_cmds='chmod +x $lib' 11187 ;; 11188 11189sunos4*) 11190 version_type=sunos 11191 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11192 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11193 shlibpath_var=LD_LIBRARY_PATH 11194 shlibpath_overrides_runpath=yes 11195 if test yes = "$with_gnu_ld"; then 11196 need_lib_prefix=no 11197 fi 11198 need_version=yes 11199 ;; 11200 11201sysv4 | sysv4.3*) 11202 version_type=linux # correct to gnu/linux during the next big refactor 11203 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11204 soname_spec='$libname$release$shared_ext$major' 11205 shlibpath_var=LD_LIBRARY_PATH 11206 case $host_vendor in 11207 sni) 11208 shlibpath_overrides_runpath=no 11209 need_lib_prefix=no 11210 runpath_var=LD_RUN_PATH 11211 ;; 11212 siemens) 11213 need_lib_prefix=no 11214 ;; 11215 motorola) 11216 need_lib_prefix=no 11217 need_version=no 11218 shlibpath_overrides_runpath=no 11219 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11220 ;; 11221 esac 11222 ;; 11223 11224sysv4*MP*) 11225 if test -d /usr/nec; then 11226 version_type=linux # correct to gnu/linux during the next big refactor 11227 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11228 soname_spec='$libname$shared_ext.$major' 11229 shlibpath_var=LD_LIBRARY_PATH 11230 fi 11231 ;; 11232 11233sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11234 version_type=sco 11235 need_lib_prefix=no 11236 need_version=no 11237 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11238 soname_spec='$libname$release$shared_ext$major' 11239 shlibpath_var=LD_LIBRARY_PATH 11240 shlibpath_overrides_runpath=yes 11241 hardcode_into_libs=yes 11242 if test yes = "$with_gnu_ld"; then 11243 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11244 else 11245 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11246 case $host_os in 11247 sco3.2v5*) 11248 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11249 ;; 11250 esac 11251 fi 11252 sys_lib_dlsearch_path_spec='/usr/lib' 11253 ;; 11254 11255tpf*) 11256 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11257 version_type=linux # correct to gnu/linux during the next big refactor 11258 need_lib_prefix=no 11259 need_version=no 11260 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11261 shlibpath_var=LD_LIBRARY_PATH 11262 shlibpath_overrides_runpath=no 11263 hardcode_into_libs=yes 11264 ;; 11265 11266uts4*) 11267 version_type=linux # correct to gnu/linux during the next big refactor 11268 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11269 soname_spec='$libname$release$shared_ext$major' 11270 shlibpath_var=LD_LIBRARY_PATH 11271 ;; 11272 11273*) 11274 dynamic_linker=no 11275 ;; 11276esac 11277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11278$as_echo "$dynamic_linker" >&6; } 11279test no = "$dynamic_linker" && can_build_shared=no 11280 11281variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11282if test yes = "$GCC"; then 11283 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11284fi 11285 11286if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11287 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11288fi 11289 11290if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11291 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11292fi 11293 11294# lt_cv_sys_lib... is unaugmented for libtool script decls... 11295lt_cv_sys_lib_dlsearch_path_spec=$sys_lib_dlsearch_path_spec 11296 11297# ..but sys_lib_... needs LT_SYS_LIBRARY_PATH munging for 11298# LT_SYS_DLSEARCH_PATH macro in ltdl.m4 to work with the correct paths: 11299func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11393$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11394hardcode_action= 11395if test -n "$hardcode_libdir_flag_spec" || 11396 test -n "$runpath_var" || 11397 test yes = "$hardcode_automatic"; then 11398 11399 # We can hardcode non-existent directories. 11400 if test no != "$hardcode_direct" && 11401 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11402 # have to relink, otherwise we might link with an installed library 11403 # when we should be linking with a yet-to-be-installed one 11404 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11405 test no != "$hardcode_minus_L"; then 11406 # Linking always hardcodes the temporary library directory. 11407 hardcode_action=relink 11408 else 11409 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11410 hardcode_action=immediate 11411 fi 11412else 11413 # We cannot hardcode anything, or else we can only hardcode existing 11414 # directories. 11415 hardcode_action=unsupported 11416fi 11417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11418$as_echo "$hardcode_action" >&6; } 11419 11420if test relink = "$hardcode_action" || 11421 test yes = "$inherit_rpath"; then 11422 # Fast installation is not supported 11423 enable_fast_install=no 11424elif test yes = "$shlibpath_overrides_runpath" || 11425 test no = "$enable_shared"; then 11426 # Fast installation is not necessary 11427 enable_fast_install=needless 11428fi 11429 11430 11431 11432 11433 11434 11435 if test yes != "$enable_dlopen"; then 11436 enable_dlopen=unknown 11437 enable_dlopen_self=unknown 11438 enable_dlopen_self_static=unknown 11439else 11440 lt_cv_dlopen=no 11441 lt_cv_dlopen_libs= 11442 11443 case $host_os in 11444 beos*) 11445 lt_cv_dlopen=load_add_on 11446 lt_cv_dlopen_libs= 11447 lt_cv_dlopen_self=yes 11448 ;; 11449 11450 mingw* | pw32* | cegcc*) 11451 lt_cv_dlopen=LoadLibrary 11452 lt_cv_dlopen_libs= 11453 ;; 11454 11455 cygwin*) 11456 lt_cv_dlopen=dlopen 11457 lt_cv_dlopen_libs= 11458 ;; 11459 11460 darwin*) 11461 # if libdl is installed we need to link against it 11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11463$as_echo_n "checking for dlopen in -ldl... " >&6; } 11464if ${ac_cv_lib_dl_dlopen+:} false; then : 11465 $as_echo_n "(cached) " >&6 11466else 11467 ac_check_lib_save_LIBS=$LIBS 11468LIBS="-ldl $LIBS" 11469cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11470/* end confdefs.h. */ 11471 11472/* Override any GCC internal prototype to avoid an error. 11473 Use char because int might match the return type of a GCC 11474 builtin and then its argument prototype would still apply. */ 11475#ifdef __cplusplus 11476extern "C" 11477#endif 11478char dlopen (); 11479int 11480main () 11481{ 11482return dlopen (); 11483 ; 11484 return 0; 11485} 11486_ACEOF 11487if ac_fn_c_try_link "$LINENO"; then : 11488 ac_cv_lib_dl_dlopen=yes 11489else 11490 ac_cv_lib_dl_dlopen=no 11491fi 11492rm -f core conftest.err conftest.$ac_objext \ 11493 conftest$ac_exeext conftest.$ac_ext 11494LIBS=$ac_check_lib_save_LIBS 11495fi 11496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11497$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11498if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11499 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11500else 11501 11502 lt_cv_dlopen=dyld 11503 lt_cv_dlopen_libs= 11504 lt_cv_dlopen_self=yes 11505 11506fi 11507 11508 ;; 11509 11510 tpf*) 11511 # Don't try to run any link tests for TPF. We know it's impossible 11512 # because TPF is a cross-compiler, and we know how we open DSOs. 11513 lt_cv_dlopen=dlopen 11514 lt_cv_dlopen_libs= 11515 lt_cv_dlopen_self=no 11516 ;; 11517 11518 *) 11519 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11520if test "x$ac_cv_func_shl_load" = xyes; then : 11521 lt_cv_dlopen=shl_load 11522else 11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11524$as_echo_n "checking for shl_load in -ldld... " >&6; } 11525if ${ac_cv_lib_dld_shl_load+:} false; then : 11526 $as_echo_n "(cached) " >&6 11527else 11528 ac_check_lib_save_LIBS=$LIBS 11529LIBS="-ldld $LIBS" 11530cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11531/* end confdefs.h. */ 11532 11533/* Override any GCC internal prototype to avoid an error. 11534 Use char because int might match the return type of a GCC 11535 builtin and then its argument prototype would still apply. */ 11536#ifdef __cplusplus 11537extern "C" 11538#endif 11539char shl_load (); 11540int 11541main () 11542{ 11543return shl_load (); 11544 ; 11545 return 0; 11546} 11547_ACEOF 11548if ac_fn_c_try_link "$LINENO"; then : 11549 ac_cv_lib_dld_shl_load=yes 11550else 11551 ac_cv_lib_dld_shl_load=no 11552fi 11553rm -f core conftest.err conftest.$ac_objext \ 11554 conftest$ac_exeext conftest.$ac_ext 11555LIBS=$ac_check_lib_save_LIBS 11556fi 11557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11558$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11559if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11560 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11561else 11562 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11563if test "x$ac_cv_func_dlopen" = xyes; then : 11564 lt_cv_dlopen=dlopen 11565else 11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11567$as_echo_n "checking for dlopen in -ldl... " >&6; } 11568if ${ac_cv_lib_dl_dlopen+:} false; then : 11569 $as_echo_n "(cached) " >&6 11570else 11571 ac_check_lib_save_LIBS=$LIBS 11572LIBS="-ldl $LIBS" 11573cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11574/* end confdefs.h. */ 11575 11576/* Override any GCC internal prototype to avoid an error. 11577 Use char because int might match the return type of a GCC 11578 builtin and then its argument prototype would still apply. */ 11579#ifdef __cplusplus 11580extern "C" 11581#endif 11582char dlopen (); 11583int 11584main () 11585{ 11586return dlopen (); 11587 ; 11588 return 0; 11589} 11590_ACEOF 11591if ac_fn_c_try_link "$LINENO"; then : 11592 ac_cv_lib_dl_dlopen=yes 11593else 11594 ac_cv_lib_dl_dlopen=no 11595fi 11596rm -f core conftest.err conftest.$ac_objext \ 11597 conftest$ac_exeext conftest.$ac_ext 11598LIBS=$ac_check_lib_save_LIBS 11599fi 11600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11601$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11602if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11603 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11604else 11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11606$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11607if ${ac_cv_lib_svld_dlopen+:} false; then : 11608 $as_echo_n "(cached) " >&6 11609else 11610 ac_check_lib_save_LIBS=$LIBS 11611LIBS="-lsvld $LIBS" 11612cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11613/* end confdefs.h. */ 11614 11615/* Override any GCC internal prototype to avoid an error. 11616 Use char because int might match the return type of a GCC 11617 builtin and then its argument prototype would still apply. */ 11618#ifdef __cplusplus 11619extern "C" 11620#endif 11621char dlopen (); 11622int 11623main () 11624{ 11625return dlopen (); 11626 ; 11627 return 0; 11628} 11629_ACEOF 11630if ac_fn_c_try_link "$LINENO"; then : 11631 ac_cv_lib_svld_dlopen=yes 11632else 11633 ac_cv_lib_svld_dlopen=no 11634fi 11635rm -f core conftest.err conftest.$ac_objext \ 11636 conftest$ac_exeext conftest.$ac_ext 11637LIBS=$ac_check_lib_save_LIBS 11638fi 11639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11640$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11641if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11642 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11643else 11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11645$as_echo_n "checking for dld_link in -ldld... " >&6; } 11646if ${ac_cv_lib_dld_dld_link+:} false; then : 11647 $as_echo_n "(cached) " >&6 11648else 11649 ac_check_lib_save_LIBS=$LIBS 11650LIBS="-ldld $LIBS" 11651cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11652/* end confdefs.h. */ 11653 11654/* Override any GCC internal prototype to avoid an error. 11655 Use char because int might match the return type of a GCC 11656 builtin and then its argument prototype would still apply. */ 11657#ifdef __cplusplus 11658extern "C" 11659#endif 11660char dld_link (); 11661int 11662main () 11663{ 11664return dld_link (); 11665 ; 11666 return 0; 11667} 11668_ACEOF 11669if ac_fn_c_try_link "$LINENO"; then : 11670 ac_cv_lib_dld_dld_link=yes 11671else 11672 ac_cv_lib_dld_dld_link=no 11673fi 11674rm -f core conftest.err conftest.$ac_objext \ 11675 conftest$ac_exeext conftest.$ac_ext 11676LIBS=$ac_check_lib_save_LIBS 11677fi 11678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11679$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11680if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11681 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11682fi 11683 11684 11685fi 11686 11687 11688fi 11689 11690 11691fi 11692 11693 11694fi 11695 11696 11697fi 11698 11699 ;; 11700 esac 11701 11702 if test no = "$lt_cv_dlopen"; then 11703 enable_dlopen=no 11704 else 11705 enable_dlopen=yes 11706 fi 11707 11708 case $lt_cv_dlopen in 11709 dlopen) 11710 save_CPPFLAGS=$CPPFLAGS 11711 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11712 11713 save_LDFLAGS=$LDFLAGS 11714 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11715 11716 save_LIBS=$LIBS 11717 LIBS="$lt_cv_dlopen_libs $LIBS" 11718 11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11720$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11721if ${lt_cv_dlopen_self+:} false; then : 11722 $as_echo_n "(cached) " >&6 11723else 11724 if test yes = "$cross_compiling"; then : 11725 lt_cv_dlopen_self=cross 11726else 11727 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11728 lt_status=$lt_dlunknown 11729 cat > conftest.$ac_ext <<_LT_EOF 11730#line $LINENO "configure" 11731#include "confdefs.h" 11732 11733#if HAVE_DLFCN_H 11734#include <dlfcn.h> 11735#endif 11736 11737#include <stdio.h> 11738 11739#ifdef RTLD_GLOBAL 11740# define LT_DLGLOBAL RTLD_GLOBAL 11741#else 11742# ifdef DL_GLOBAL 11743# define LT_DLGLOBAL DL_GLOBAL 11744# else 11745# define LT_DLGLOBAL 0 11746# endif 11747#endif 11748 11749/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11750 find out it does not work in some platform. */ 11751#ifndef LT_DLLAZY_OR_NOW 11752# ifdef RTLD_LAZY 11753# define LT_DLLAZY_OR_NOW RTLD_LAZY 11754# else 11755# ifdef DL_LAZY 11756# define LT_DLLAZY_OR_NOW DL_LAZY 11757# else 11758# ifdef RTLD_NOW 11759# define LT_DLLAZY_OR_NOW RTLD_NOW 11760# else 11761# ifdef DL_NOW 11762# define LT_DLLAZY_OR_NOW DL_NOW 11763# else 11764# define LT_DLLAZY_OR_NOW 0 11765# endif 11766# endif 11767# endif 11768# endif 11769#endif 11770 11771/* When -fvisibility=hidden is used, assume the code has been annotated 11772 correspondingly for the symbols needed. */ 11773#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11774int fnord () __attribute__((visibility("default"))); 11775#endif 11776 11777int fnord () { return 42; } 11778int main () 11779{ 11780 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11781 int status = $lt_dlunknown; 11782 11783 if (self) 11784 { 11785 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11786 else 11787 { 11788 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11789 else puts (dlerror ()); 11790 } 11791 /* dlclose (self); */ 11792 } 11793 else 11794 puts (dlerror ()); 11795 11796 return status; 11797} 11798_LT_EOF 11799 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11800 (eval $ac_link) 2>&5 11801 ac_status=$? 11802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11803 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11804 (./conftest; exit; ) >&5 2>/dev/null 11805 lt_status=$? 11806 case x$lt_status in 11807 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11808 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11809 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11810 esac 11811 else : 11812 # compilation failed 11813 lt_cv_dlopen_self=no 11814 fi 11815fi 11816rm -fr conftest* 11817 11818 11819fi 11820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11821$as_echo "$lt_cv_dlopen_self" >&6; } 11822 11823 if test yes = "$lt_cv_dlopen_self"; then 11824 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11826$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11827if ${lt_cv_dlopen_self_static+:} false; then : 11828 $as_echo_n "(cached) " >&6 11829else 11830 if test yes = "$cross_compiling"; then : 11831 lt_cv_dlopen_self_static=cross 11832else 11833 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11834 lt_status=$lt_dlunknown 11835 cat > conftest.$ac_ext <<_LT_EOF 11836#line $LINENO "configure" 11837#include "confdefs.h" 11838 11839#if HAVE_DLFCN_H 11840#include <dlfcn.h> 11841#endif 11842 11843#include <stdio.h> 11844 11845#ifdef RTLD_GLOBAL 11846# define LT_DLGLOBAL RTLD_GLOBAL 11847#else 11848# ifdef DL_GLOBAL 11849# define LT_DLGLOBAL DL_GLOBAL 11850# else 11851# define LT_DLGLOBAL 0 11852# endif 11853#endif 11854 11855/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11856 find out it does not work in some platform. */ 11857#ifndef LT_DLLAZY_OR_NOW 11858# ifdef RTLD_LAZY 11859# define LT_DLLAZY_OR_NOW RTLD_LAZY 11860# else 11861# ifdef DL_LAZY 11862# define LT_DLLAZY_OR_NOW DL_LAZY 11863# else 11864# ifdef RTLD_NOW 11865# define LT_DLLAZY_OR_NOW RTLD_NOW 11866# else 11867# ifdef DL_NOW 11868# define LT_DLLAZY_OR_NOW DL_NOW 11869# else 11870# define LT_DLLAZY_OR_NOW 0 11871# endif 11872# endif 11873# endif 11874# endif 11875#endif 11876 11877/* When -fvisibility=hidden is used, assume the code has been annotated 11878 correspondingly for the symbols needed. */ 11879#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11880int fnord () __attribute__((visibility("default"))); 11881#endif 11882 11883int fnord () { return 42; } 11884int main () 11885{ 11886 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11887 int status = $lt_dlunknown; 11888 11889 if (self) 11890 { 11891 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11892 else 11893 { 11894 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11895 else puts (dlerror ()); 11896 } 11897 /* dlclose (self); */ 11898 } 11899 else 11900 puts (dlerror ()); 11901 11902 return status; 11903} 11904_LT_EOF 11905 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11906 (eval $ac_link) 2>&5 11907 ac_status=$? 11908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11909 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11910 (./conftest; exit; ) >&5 2>/dev/null 11911 lt_status=$? 11912 case x$lt_status in 11913 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11914 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11915 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11916 esac 11917 else : 11918 # compilation failed 11919 lt_cv_dlopen_self_static=no 11920 fi 11921fi 11922rm -fr conftest* 11923 11924 11925fi 11926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11927$as_echo "$lt_cv_dlopen_self_static" >&6; } 11928 fi 11929 11930 CPPFLAGS=$save_CPPFLAGS 11931 LDFLAGS=$save_LDFLAGS 11932 LIBS=$save_LIBS 11933 ;; 11934 esac 11935 11936 case $lt_cv_dlopen_self in 11937 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11938 *) enable_dlopen_self=unknown ;; 11939 esac 11940 11941 case $lt_cv_dlopen_self_static in 11942 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11943 *) enable_dlopen_self_static=unknown ;; 11944 esac 11945fi 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963striplib= 11964old_striplib= 11965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11966$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11967if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11968 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11969 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11971$as_echo "yes" >&6; } 11972else 11973# FIXME - insert some real tests, host_os isn't really good enough 11974 case $host_os in 11975 darwin*) 11976 if test -n "$STRIP"; then 11977 striplib="$STRIP -x" 11978 old_striplib="$STRIP -S" 11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11980$as_echo "yes" >&6; } 11981 else 11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11983$as_echo "no" >&6; } 11984 fi 11985 ;; 11986 *) 11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11988$as_echo "no" >&6; } 11989 ;; 11990 esac 11991fi 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 # Report what library types will actually be built 12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12006$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12008$as_echo "$can_build_shared" >&6; } 12009 12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12011$as_echo_n "checking whether to build shared libraries... " >&6; } 12012 test no = "$can_build_shared" && enable_shared=no 12013 12014 # On AIX, shared libraries and static libraries use the same namespace, and 12015 # are all built from PIC. 12016 case $host_os in 12017 aix3*) 12018 test yes = "$enable_shared" && enable_static=no 12019 if test -n "$RANLIB"; then 12020 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12021 postinstall_cmds='$RANLIB $lib' 12022 fi 12023 ;; 12024 12025 aix[4-9]*) 12026 if test ia64 != "$host_cpu"; then 12027 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12028 yes,aix,yes) ;; # shared object as lib.so file only 12029 yes,svr4,*) ;; # shared object as lib.so archive member only 12030 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12031 esac 12032 fi 12033 ;; 12034 esac 12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12036$as_echo "$enable_shared" >&6; } 12037 12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12039$as_echo_n "checking whether to build static libraries... " >&6; } 12040 # Make sure either enable_shared or enable_static is yes. 12041 test yes = "$enable_shared" || enable_static=yes 12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12043$as_echo "$enable_static" >&6; } 12044 12045 12046 12047 12048fi 12049ac_ext=c 12050ac_cpp='$CPP $CPPFLAGS' 12051ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12052ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12053ac_compiler_gnu=$ac_cv_c_compiler_gnu 12054 12055CC=$lt_save_CC 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 ac_config_commands="$ac_config_commands libtool" 12072 12073 12074 12075 12076# Only expand once: 12077 12078 12079 12080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 12081$as_echo_n "checking for ANSI C header files... " >&6; } 12082if ${ac_cv_header_stdc+:} false; then : 12083 $as_echo_n "(cached) " >&6 12084else 12085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12086/* end confdefs.h. */ 12087#include <stdlib.h> 12088#include <stdarg.h> 12089#include <string.h> 12090#include <float.h> 12091 12092int 12093main () 12094{ 12095 12096 ; 12097 return 0; 12098} 12099_ACEOF 12100if ac_fn_c_try_compile "$LINENO"; then : 12101 ac_cv_header_stdc=yes 12102else 12103 ac_cv_header_stdc=no 12104fi 12105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12106 12107if test $ac_cv_header_stdc = yes; then 12108 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 12109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12110/* end confdefs.h. */ 12111#include <string.h> 12112 12113_ACEOF 12114if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12115 $EGREP "memchr" >/dev/null 2>&1; then : 12116 12117else 12118 ac_cv_header_stdc=no 12119fi 12120rm -f conftest* 12121 12122fi 12123 12124if test $ac_cv_header_stdc = yes; then 12125 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 12126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12127/* end confdefs.h. */ 12128#include <stdlib.h> 12129 12130_ACEOF 12131if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12132 $EGREP "free" >/dev/null 2>&1; then : 12133 12134else 12135 ac_cv_header_stdc=no 12136fi 12137rm -f conftest* 12138 12139fi 12140 12141if test $ac_cv_header_stdc = yes; then 12142 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 12143 if test "$cross_compiling" = yes; then : 12144 : 12145else 12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12147/* end confdefs.h. */ 12148#include <ctype.h> 12149#include <stdlib.h> 12150#if ((' ' & 0x0FF) == 0x020) 12151# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 12152# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 12153#else 12154# define ISLOWER(c) \ 12155 (('a' <= (c) && (c) <= 'i') \ 12156 || ('j' <= (c) && (c) <= 'r') \ 12157 || ('s' <= (c) && (c) <= 'z')) 12158# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 12159#endif 12160 12161#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 12162int 12163main () 12164{ 12165 int i; 12166 for (i = 0; i < 256; i++) 12167 if (XOR (islower (i), ISLOWER (i)) 12168 || toupper (i) != TOUPPER (i)) 12169 return 2; 12170 return 0; 12171} 12172_ACEOF 12173if ac_fn_c_try_run "$LINENO"; then : 12174 12175else 12176 ac_cv_header_stdc=no 12177fi 12178rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12179 conftest.$ac_objext conftest.beam conftest.$ac_ext 12180fi 12181 12182fi 12183fi 12184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 12185$as_echo "$ac_cv_header_stdc" >&6; } 12186if test $ac_cv_header_stdc = yes; then 12187 12188$as_echo "#define STDC_HEADERS 1" >>confdefs.h 12189 12190fi 12191 12192 12193# Check whether --enable-glibtest was given. 12194if test "${enable_glibtest+set}" = set; then : 12195 enableval=$enable_glibtest; 12196else 12197 enable_glibtest=yes 12198fi 12199 12200 12201 pkg_config_args=glib-2.0 12202 for module in . 12203 do 12204 case "$module" in 12205 gmodule) 12206 pkg_config_args="$pkg_config_args gmodule-2.0" 12207 ;; 12208 gmodule-no-export) 12209 pkg_config_args="$pkg_config_args gmodule-no-export-2.0" 12210 ;; 12211 gobject) 12212 pkg_config_args="$pkg_config_args gobject-2.0" 12213 ;; 12214 gthread) 12215 pkg_config_args="$pkg_config_args gthread-2.0" 12216 ;; 12217 gio*) 12218 pkg_config_args="$pkg_config_args $module-2.0" 12219 ;; 12220 esac 12221 done 12222 12223 12224 12225 12226 12227 12228 12229 12230if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12231 if test -n "$ac_tool_prefix"; then 12232 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12233set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12235$as_echo_n "checking for $ac_word... " >&6; } 12236if ${ac_cv_path_PKG_CONFIG+:} false; then : 12237 $as_echo_n "(cached) " >&6 12238else 12239 case $PKG_CONFIG in 12240 [\\/]* | ?:[\\/]*) 12241 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12242 ;; 12243 *) 12244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12245for as_dir in $PATH 12246do 12247 IFS=$as_save_IFS 12248 test -z "$as_dir" && as_dir=. 12249 for ac_exec_ext in '' $ac_executable_extensions; do 12250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12251 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12253 break 2 12254 fi 12255done 12256 done 12257IFS=$as_save_IFS 12258 12259 ;; 12260esac 12261fi 12262PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12263if test -n "$PKG_CONFIG"; then 12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12265$as_echo "$PKG_CONFIG" >&6; } 12266else 12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12268$as_echo "no" >&6; } 12269fi 12270 12271 12272fi 12273if test -z "$ac_cv_path_PKG_CONFIG"; then 12274 ac_pt_PKG_CONFIG=$PKG_CONFIG 12275 # Extract the first word of "pkg-config", so it can be a program name with args. 12276set dummy pkg-config; ac_word=$2 12277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12278$as_echo_n "checking for $ac_word... " >&6; } 12279if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 12280 $as_echo_n "(cached) " >&6 12281else 12282 case $ac_pt_PKG_CONFIG in 12283 [\\/]* | ?:[\\/]*) 12284 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12285 ;; 12286 *) 12287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12288for as_dir in $PATH 12289do 12290 IFS=$as_save_IFS 12291 test -z "$as_dir" && as_dir=. 12292 for ac_exec_ext in '' $ac_executable_extensions; do 12293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12294 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12296 break 2 12297 fi 12298done 12299 done 12300IFS=$as_save_IFS 12301 12302 ;; 12303esac 12304fi 12305ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12306if test -n "$ac_pt_PKG_CONFIG"; then 12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12308$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12309else 12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12311$as_echo "no" >&6; } 12312fi 12313 12314 if test "x$ac_pt_PKG_CONFIG" = x; then 12315 PKG_CONFIG="" 12316 else 12317 case $cross_compiling:$ac_tool_warned in 12318yes:) 12319{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12320$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12321ac_tool_warned=yes ;; 12322esac 12323 PKG_CONFIG=$ac_pt_PKG_CONFIG 12324 fi 12325else 12326 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12327fi 12328 12329fi 12330if test -n "$PKG_CONFIG"; then 12331 _pkg_min_version=0.16 12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12333$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12334 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12336$as_echo "yes" >&6; } 12337 else 12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12339$as_echo "no" >&6; } 12340 PKG_CONFIG="" 12341 fi 12342fi 12343 12344 no_glib="" 12345 12346 if test "x$PKG_CONFIG" = x ; then 12347 no_glib=yes 12348 PKG_CONFIG=no 12349 fi 12350 12351 min_glib_version=2.24.0 12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5 12353$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; } 12354 12355 if test x$PKG_CONFIG != xno ; then 12356 ## don't try to run the test against uninstalled libtool libs 12357 if $PKG_CONFIG --uninstalled $pkg_config_args; then 12358 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH" 12359 enable_glibtest=no 12360 fi 12361 12362 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then 12363 : 12364 else 12365 no_glib=yes 12366 fi 12367 fi 12368 12369 if test x"$no_glib" = x ; then 12370 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` 12371 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0` 12372 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` 12373 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0` 12374 12375 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args` 12376 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args` 12377 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \ 12378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` 12379 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \ 12380 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` 12381 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \ 12382 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` 12383 if test "x$enable_glibtest" = "xyes" ; then 12384 ac_save_CFLAGS="$CFLAGS" 12385 ac_save_LIBS="$LIBS" 12386 CFLAGS="$CFLAGS $GLIB_CFLAGS" 12387 LIBS="$GLIB_LIBS $LIBS" 12388 rm -f conf.glibtest 12389 if test "$cross_compiling" = yes; then : 12390 echo $ac_n "cross compiling; assumed OK... $ac_c" 12391else 12392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12393/* end confdefs.h. */ 12394 12395#include <glib.h> 12396#include <stdio.h> 12397#include <stdlib.h> 12398 12399int 12400main () 12401{ 12402 unsigned int major, minor, micro; 12403 12404 fclose (fopen ("conf.glibtest", "w")); 12405 12406 if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, µ) != 3) { 12407 printf("%s, bad version string\n", "$min_glib_version"); 12408 exit(1); 12409 } 12410 12411 if ((glib_major_version != $glib_config_major_version) || 12412 (glib_minor_version != $glib_config_minor_version) || 12413 (glib_micro_version != $glib_config_micro_version)) 12414 { 12415 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 12416 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, 12417 glib_major_version, glib_minor_version, glib_micro_version); 12418 printf ("*** was found! If pkg-config was correct, then it is best\n"); 12419 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n"); 12420 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); 12421 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); 12422 printf("*** required on your system.\n"); 12423 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); 12424 printf("*** to point to the correct configuration files\n"); 12425 } 12426 else if ((glib_major_version != GLIB_MAJOR_VERSION) || 12427 (glib_minor_version != GLIB_MINOR_VERSION) || 12428 (glib_micro_version != GLIB_MICRO_VERSION)) 12429 { 12430 printf("*** GLIB header files (version %d.%d.%d) do not match\n", 12431 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); 12432 printf("*** library (version %d.%d.%d)\n", 12433 glib_major_version, glib_minor_version, glib_micro_version); 12434 } 12435 else 12436 { 12437 if ((glib_major_version > major) || 12438 ((glib_major_version == major) && (glib_minor_version > minor)) || 12439 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) 12440 { 12441 return 0; 12442 } 12443 else 12444 { 12445 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n", 12446 glib_major_version, glib_minor_version, glib_micro_version); 12447 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n", 12448 major, minor, micro); 12449 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); 12450 printf("***\n"); 12451 printf("*** If you have already installed a sufficiently new version, this error\n"); 12452 printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); 12453 printf("*** being found. The easiest way to fix this is to remove the old version\n"); 12454 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n"); 12455 printf("*** correct copy of pkg-config. (In this case, you will have to\n"); 12456 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); 12457 printf("*** so that the correct libraries are found at run-time))\n"); 12458 } 12459 } 12460 return 1; 12461} 12462 12463_ACEOF 12464if ac_fn_c_try_run "$LINENO"; then : 12465 12466else 12467 no_glib=yes 12468fi 12469rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12470 conftest.$ac_objext conftest.beam conftest.$ac_ext 12471fi 12472 12473 CFLAGS="$ac_save_CFLAGS" 12474 LIBS="$ac_save_LIBS" 12475 fi 12476 fi 12477 if test "x$no_glib" = x ; then 12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5 12479$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; } 12480 : 12481 else 12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12483$as_echo "no" >&6; } 12484 if test "$PKG_CONFIG" = "no" ; then 12485 echo "*** A new enough version of pkg-config was not found." 12486 echo "*** See http://www.freedesktop.org/software/pkgconfig/" 12487 else 12488 if test -f conf.glibtest ; then 12489 : 12490 else 12491 echo "*** Could not run GLIB test program, checking why..." 12492 ac_save_CFLAGS="$CFLAGS" 12493 ac_save_LIBS="$LIBS" 12494 CFLAGS="$CFLAGS $GLIB_CFLAGS" 12495 LIBS="$LIBS $GLIB_LIBS" 12496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12497/* end confdefs.h. */ 12498 12499#include <glib.h> 12500#include <stdio.h> 12501 12502int 12503main () 12504{ 12505 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); 12506 ; 12507 return 0; 12508} 12509_ACEOF 12510if ac_fn_c_try_link "$LINENO"; then : 12511 echo "*** The test program compiled, but did not run. This usually means" 12512 echo "*** that the run-time linker is not finding GLIB or finding the wrong" 12513 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" 12514 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 12515 echo "*** to the installed location Also, make sure you have run ldconfig if that" 12516 echo "*** is required on your system" 12517 echo "***" 12518 echo "*** If you have an old version installed, it is best to remove it, although" 12519 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 12520else 12521 echo "*** The test program failed to compile or link. See the file config.log for the" 12522 echo "*** exact error that occured. This usually means GLIB is incorrectly installed." 12523fi 12524rm -f core conftest.err conftest.$ac_objext \ 12525 conftest$ac_exeext conftest.$ac_ext 12526 CFLAGS="$ac_save_CFLAGS" 12527 LIBS="$ac_save_LIBS" 12528 fi 12529 fi 12530 GLIB_CFLAGS="" 12531 GLIB_LIBS="" 12532 GLIB_GENMARSHAL="" 12533 GOBJECT_QUERY="" 12534 GLIB_MKENUMS="" 12535 GLIB_COMPILE_RESOURCES="" 12536 : 12537 fi 12538 12539 12540 12541 12542 12543 12544 rm -f conf.glibtest 12545 12546 12547 12548 # minimum supported version of pkg-config 12549 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12560 if test -n "$ac_tool_prefix"; then 12561 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12562set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12564$as_echo_n "checking for $ac_word... " >&6; } 12565if ${ac_cv_path_PKG_CONFIG+:} false; then : 12566 $as_echo_n "(cached) " >&6 12567else 12568 case $PKG_CONFIG in 12569 [\\/]* | ?:[\\/]*) 12570 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12571 ;; 12572 *) 12573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12574for as_dir in $PATH 12575do 12576 IFS=$as_save_IFS 12577 test -z "$as_dir" && as_dir=. 12578 for ac_exec_ext in '' $ac_executable_extensions; do 12579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12580 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12582 break 2 12583 fi 12584done 12585 done 12586IFS=$as_save_IFS 12587 12588 ;; 12589esac 12590fi 12591PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12592if test -n "$PKG_CONFIG"; then 12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12594$as_echo "$PKG_CONFIG" >&6; } 12595else 12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12597$as_echo "no" >&6; } 12598fi 12599 12600 12601fi 12602if test -z "$ac_cv_path_PKG_CONFIG"; then 12603 ac_pt_PKG_CONFIG=$PKG_CONFIG 12604 # Extract the first word of "pkg-config", so it can be a program name with args. 12605set dummy pkg-config; ac_word=$2 12606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12607$as_echo_n "checking for $ac_word... " >&6; } 12608if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 12609 $as_echo_n "(cached) " >&6 12610else 12611 case $ac_pt_PKG_CONFIG in 12612 [\\/]* | ?:[\\/]*) 12613 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12614 ;; 12615 *) 12616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12617for as_dir in $PATH 12618do 12619 IFS=$as_save_IFS 12620 test -z "$as_dir" && as_dir=. 12621 for ac_exec_ext in '' $ac_executable_extensions; do 12622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12623 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12625 break 2 12626 fi 12627done 12628 done 12629IFS=$as_save_IFS 12630 12631 ;; 12632esac 12633fi 12634ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12635if test -n "$ac_pt_PKG_CONFIG"; then 12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12637$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12638else 12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12640$as_echo "no" >&6; } 12641fi 12642 12643 if test "x$ac_pt_PKG_CONFIG" = x; then 12644 PKG_CONFIG="" 12645 else 12646 case $cross_compiling:$ac_tool_warned in 12647yes:) 12648{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12649$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12650ac_tool_warned=yes ;; 12651esac 12652 PKG_CONFIG=$ac_pt_PKG_CONFIG 12653 fi 12654else 12655 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12656fi 12657 12658fi 12659if test -n "$PKG_CONFIG"; then 12660 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12662$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12663 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12665$as_echo "yes" >&6; } 12666 else 12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12668$as_echo "no" >&6; } 12669 PKG_CONFIG="" 12670 fi 12671fi 12672 12673 if test x"$PKG_CONFIG" = x""; then 12674 echo 12675 echo "*** Your version of pkg-config is too old. You need atleast" 12676 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 12677 echo "*** from the freedesktop.org software repository at" 12678 echo "***" 12679 echo "*** http://www.freedesktop.org/software/pkgconfig" 12680 echo "***" 12681 exit 1; 12682 fi 12683 12684 12685 12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmodule-2.0 >= 2.24.0" >&5 12687$as_echo_n "checking for gmodule-2.0 >= 2.24.0... " >&6; } 12688 if $PKG_CONFIG "--atleast-version=2.24.0" "gmodule-2.0" >/dev/null 2>&1; then 12689 GMODULE_VERSION=`$PKG_CONFIG --modversion "gmodule-2.0"` 12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_VERSION" >&5 12691$as_echo "$GMODULE_VERSION" >&6; } 12692 12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GMODULE_CFLAGS" >&5 12694$as_echo_n "checking GMODULE_CFLAGS... " >&6; } 12695 GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0"` 12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_CFLAGS" >&5 12697$as_echo "$GMODULE_CFLAGS" >&6; } 12698 12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GMODULE_LIBS" >&5 12700$as_echo_n "checking GMODULE_LIBS... " >&6; } 12701 GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0"` 12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_LIBS" >&5 12703$as_echo "$GMODULE_LIBS" >&6; } 12704 12705 GMODULE_REQUIRED_VERSION=2.24.0 12706 12707 12708 12709 12710 12711 12712 12713 elif $PKG_CONFIG --exists "gmodule-2.0" >/dev/null 2>&1; then 12714 xdt_cv_version=`$PKG_CONFIG --modversion "gmodule-2.0"` 12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 12716$as_echo "found, but $xdt_cv_version" >&6; } 12717 12718 12719 echo "*** The required package gmodule-2.0 was found on your system," 12720 echo "*** but the installed version ($xdt_cv_version) is too old." 12721 echo "*** Please upgrade gmodule-2.0 to atleast version 2.24.0, or adjust" 12722 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 12723 echo "*** the new version of the package in a nonstandard prefix so" 12724 echo "*** pkg-config is able to find it." 12725 exit 1 12726 12727 else 12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 12729$as_echo "not found" >&6; } 12730 12731 12732 echo "*** The required package gmodule-2.0 was not found on your system." 12733 echo "*** Please install gmodule-2.0 (atleast version 2.24.0) or adjust" 12734 echo "*** the PKG_CONFIG_PATH environment variable if you" 12735 echo "*** installed the package in a nonstandard prefix so that" 12736 echo "*** pkg-config is able to find it." 12737 exit 1 12738 12739 fi 12740 12741LIBM= 12742case $host in 12743*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) 12744 # These system don't have libm, or don't need it 12745 ;; 12746*-ncr-sysv4.3*) 12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5 12748$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; } 12749if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then : 12750 $as_echo_n "(cached) " >&6 12751else 12752 ac_check_lib_save_LIBS=$LIBS 12753LIBS="-lmw $LIBS" 12754cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12755/* end confdefs.h. */ 12756 12757/* Override any GCC internal prototype to avoid an error. 12758 Use char because int might match the return type of a GCC 12759 builtin and then its argument prototype would still apply. */ 12760#ifdef __cplusplus 12761extern "C" 12762#endif 12763char _mwvalidcheckl (); 12764int 12765main () 12766{ 12767return _mwvalidcheckl (); 12768 ; 12769 return 0; 12770} 12771_ACEOF 12772if ac_fn_c_try_link "$LINENO"; then : 12773 ac_cv_lib_mw__mwvalidcheckl=yes 12774else 12775 ac_cv_lib_mw__mwvalidcheckl=no 12776fi 12777rm -f core conftest.err conftest.$ac_objext \ 12778 conftest$ac_exeext conftest.$ac_ext 12779LIBS=$ac_check_lib_save_LIBS 12780fi 12781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 12782$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; } 12783if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then : 12784 LIBM=-lmw 12785fi 12786 12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 12788$as_echo_n "checking for cos in -lm... " >&6; } 12789if ${ac_cv_lib_m_cos+:} false; then : 12790 $as_echo_n "(cached) " >&6 12791else 12792 ac_check_lib_save_LIBS=$LIBS 12793LIBS="-lm $LIBS" 12794cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12795/* end confdefs.h. */ 12796 12797/* Override any GCC internal prototype to avoid an error. 12798 Use char because int might match the return type of a GCC 12799 builtin and then its argument prototype would still apply. */ 12800#ifdef __cplusplus 12801extern "C" 12802#endif 12803char cos (); 12804int 12805main () 12806{ 12807return cos (); 12808 ; 12809 return 0; 12810} 12811_ACEOF 12812if ac_fn_c_try_link "$LINENO"; then : 12813 ac_cv_lib_m_cos=yes 12814else 12815 ac_cv_lib_m_cos=no 12816fi 12817rm -f core conftest.err conftest.$ac_objext \ 12818 conftest$ac_exeext conftest.$ac_ext 12819LIBS=$ac_check_lib_save_LIBS 12820fi 12821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 12822$as_echo "$ac_cv_lib_m_cos" >&6; } 12823if test "x$ac_cv_lib_m_cos" = xyes; then : 12824 LIBM="$LIBM -lm" 12825fi 12826 12827 ;; 12828*) 12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 12830$as_echo_n "checking for cos in -lm... " >&6; } 12831if ${ac_cv_lib_m_cos+:} false; then : 12832 $as_echo_n "(cached) " >&6 12833else 12834 ac_check_lib_save_LIBS=$LIBS 12835LIBS="-lm $LIBS" 12836cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12837/* end confdefs.h. */ 12838 12839/* Override any GCC internal prototype to avoid an error. 12840 Use char because int might match the return type of a GCC 12841 builtin and then its argument prototype would still apply. */ 12842#ifdef __cplusplus 12843extern "C" 12844#endif 12845char cos (); 12846int 12847main () 12848{ 12849return cos (); 12850 ; 12851 return 0; 12852} 12853_ACEOF 12854if ac_fn_c_try_link "$LINENO"; then : 12855 ac_cv_lib_m_cos=yes 12856else 12857 ac_cv_lib_m_cos=no 12858fi 12859rm -f core conftest.err conftest.$ac_objext \ 12860 conftest$ac_exeext conftest.$ac_ext 12861LIBS=$ac_check_lib_save_LIBS 12862fi 12863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 12864$as_echo "$ac_cv_lib_m_cos" >&6; } 12865if test "x$ac_cv_lib_m_cos" = xyes; then : 12866 LIBM=-lm 12867fi 12868 12869 ;; 12870esac 12871 12872 12873 12874 12875 12876 12877 12878 # Check whether --enable-gtk2 was given. 12879if test "${enable_gtk2+set}" = set; then : 12880 enableval=$enable_gtk2; xdt_cv_GTK2_check=$enableval 12881else 12882 xdt_cv_GTK2_check=yes 12883fi 12884 12885 12886 if test x"$xdt_cv_GTK2_check" = x"yes"; then 12887 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.20.0" >/dev/null 2>&1; then 12888 12889 12890 # minimum supported version of pkg-config 12891 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12902 if test -n "$ac_tool_prefix"; then 12903 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12904set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12906$as_echo_n "checking for $ac_word... " >&6; } 12907if ${ac_cv_path_PKG_CONFIG+:} false; then : 12908 $as_echo_n "(cached) " >&6 12909else 12910 case $PKG_CONFIG in 12911 [\\/]* | ?:[\\/]*) 12912 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12913 ;; 12914 *) 12915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12916for as_dir in $PATH 12917do 12918 IFS=$as_save_IFS 12919 test -z "$as_dir" && as_dir=. 12920 for ac_exec_ext in '' $ac_executable_extensions; do 12921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12922 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12924 break 2 12925 fi 12926done 12927 done 12928IFS=$as_save_IFS 12929 12930 ;; 12931esac 12932fi 12933PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12934if test -n "$PKG_CONFIG"; then 12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12936$as_echo "$PKG_CONFIG" >&6; } 12937else 12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12939$as_echo "no" >&6; } 12940fi 12941 12942 12943fi 12944if test -z "$ac_cv_path_PKG_CONFIG"; then 12945 ac_pt_PKG_CONFIG=$PKG_CONFIG 12946 # Extract the first word of "pkg-config", so it can be a program name with args. 12947set dummy pkg-config; ac_word=$2 12948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12949$as_echo_n "checking for $ac_word... " >&6; } 12950if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 12951 $as_echo_n "(cached) " >&6 12952else 12953 case $ac_pt_PKG_CONFIG in 12954 [\\/]* | ?:[\\/]*) 12955 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12956 ;; 12957 *) 12958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12959for as_dir in $PATH 12960do 12961 IFS=$as_save_IFS 12962 test -z "$as_dir" && as_dir=. 12963 for ac_exec_ext in '' $ac_executable_extensions; do 12964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12965 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12967 break 2 12968 fi 12969done 12970 done 12971IFS=$as_save_IFS 12972 12973 ;; 12974esac 12975fi 12976ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12977if test -n "$ac_pt_PKG_CONFIG"; then 12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12979$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12980else 12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12982$as_echo "no" >&6; } 12983fi 12984 12985 if test "x$ac_pt_PKG_CONFIG" = x; then 12986 PKG_CONFIG="" 12987 else 12988 case $cross_compiling:$ac_tool_warned in 12989yes:) 12990{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12991$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12992ac_tool_warned=yes ;; 12993esac 12994 PKG_CONFIG=$ac_pt_PKG_CONFIG 12995 fi 12996else 12997 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12998fi 12999 13000fi 13001if test -n "$PKG_CONFIG"; then 13002 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 13004$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 13005 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13007$as_echo "yes" >&6; } 13008 else 13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13010$as_echo "no" >&6; } 13011 PKG_CONFIG="" 13012 fi 13013fi 13014 13015 if test x"$PKG_CONFIG" = x""; then 13016 echo 13017 echo "*** Your version of pkg-config is too old. You need atleast" 13018 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 13019 echo "*** from the freedesktop.org software repository at" 13020 echo "***" 13021 echo "*** http://www.freedesktop.org/software/pkgconfig" 13022 echo "***" 13023 exit 1; 13024 fi 13025 13026 13027 13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.20.0" >&5 13029$as_echo_n "checking for gtk+-2.0 >= 2.20.0... " >&6; } 13030 if $PKG_CONFIG "--atleast-version=2.20.0" "gtk+-2.0" >/dev/null 2>&1; then 13031 GTK2_VERSION=`$PKG_CONFIG --modversion "gtk+-2.0"` 13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK2_VERSION" >&5 13033$as_echo "$GTK2_VERSION" >&6; } 13034 13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK2_CFLAGS" >&5 13036$as_echo_n "checking GTK2_CFLAGS... " >&6; } 13037 GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0"` 13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK2_CFLAGS" >&5 13039$as_echo "$GTK2_CFLAGS" >&6; } 13040 13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK2_LIBS" >&5 13042$as_echo_n "checking GTK2_LIBS... " >&6; } 13043 GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0"` 13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK2_LIBS" >&5 13045$as_echo "$GTK2_LIBS" >&6; } 13046 13047 GTK2_REQUIRED_VERSION=2.20.0 13048 13049 13050 13051 13052 13053 13054 13055 13056$as_echo "#define HAVE_GTK2 1" >>confdefs.h 13057 13058 GTK2_FOUND="yes" 13059 13060 elif $PKG_CONFIG --exists "gtk+-2.0" >/dev/null 2>&1; then 13061 xdt_cv_version=`$PKG_CONFIG --modversion "gtk+-2.0"` 13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 13063$as_echo "found, but $xdt_cv_version" >&6; } 13064 13065 13066 echo "*** The required package gtk+-2.0 was found on your system," 13067 echo "*** but the installed version ($xdt_cv_version) is too old." 13068 echo "*** Please upgrade gtk+-2.0 to atleast version 2.20.0, or adjust" 13069 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 13070 echo "*** the new version of the package in a nonstandard prefix so" 13071 echo "*** pkg-config is able to find it." 13072 exit 1 13073 13074 else 13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 13076$as_echo "not found" >&6; } 13077 13078 13079 echo "*** The required package gtk+-2.0 was not found on your system." 13080 echo "*** Please install gtk+-2.0 (atleast version 2.20.0) or adjust" 13081 echo "*** the PKG_CONFIG_PATH environment variable if you" 13082 echo "*** installed the package in a nonstandard prefix so that" 13083 echo "*** pkg-config is able to find it." 13084 exit 1 13085 13086 fi 13087 13088 else 13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package gtk+-2.0 >= 2.20.0" >&5 13090$as_echo_n "checking for optional package gtk+-2.0 >= 2.20.0... " >&6; } 13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 13092$as_echo "not found" >&6; } 13093 fi 13094 else 13095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package gtk+-2.0" >&5 13096$as_echo_n "checking for optional package gtk+-2.0... " >&6; } 13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 13098$as_echo "disabled" >&6; } 13099 fi 13100 13101 if test x"$GTK2_FOUND" = x"yes"; then 13102 HAVE_GTK2_TRUE= 13103 HAVE_GTK2_FALSE='#' 13104else 13105 HAVE_GTK2_TRUE='#' 13106 HAVE_GTK2_FALSE= 13107fi 13108 13109 13110 13111 13112 13113 # Check whether --enable-gtk3 was given. 13114if test "${enable_gtk3+set}" = set; then : 13115 enableval=$enable_gtk3; xdt_cv_GTK3_check=$enableval 13116else 13117 xdt_cv_GTK3_check=no 13118fi 13119 13120 13121 if test x"$xdt_cv_GTK3_check" = x"yes"; then 13122 if $PKG_CONFIG --exists "gtk+-3.0 >= 3.2.0" >/dev/null 2>&1; then 13123 13124 13125 # minimum supported version of pkg-config 13126 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 13137 if test -n "$ac_tool_prefix"; then 13138 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 13139set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 13140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13141$as_echo_n "checking for $ac_word... " >&6; } 13142if ${ac_cv_path_PKG_CONFIG+:} false; then : 13143 $as_echo_n "(cached) " >&6 13144else 13145 case $PKG_CONFIG in 13146 [\\/]* | ?:[\\/]*) 13147 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13148 ;; 13149 *) 13150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13151for as_dir in $PATH 13152do 13153 IFS=$as_save_IFS 13154 test -z "$as_dir" && as_dir=. 13155 for ac_exec_ext in '' $ac_executable_extensions; do 13156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13157 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13159 break 2 13160 fi 13161done 13162 done 13163IFS=$as_save_IFS 13164 13165 ;; 13166esac 13167fi 13168PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13169if test -n "$PKG_CONFIG"; then 13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 13171$as_echo "$PKG_CONFIG" >&6; } 13172else 13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13174$as_echo "no" >&6; } 13175fi 13176 13177 13178fi 13179if test -z "$ac_cv_path_PKG_CONFIG"; then 13180 ac_pt_PKG_CONFIG=$PKG_CONFIG 13181 # Extract the first word of "pkg-config", so it can be a program name with args. 13182set dummy pkg-config; ac_word=$2 13183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13184$as_echo_n "checking for $ac_word... " >&6; } 13185if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 13186 $as_echo_n "(cached) " >&6 13187else 13188 case $ac_pt_PKG_CONFIG in 13189 [\\/]* | ?:[\\/]*) 13190 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 13191 ;; 13192 *) 13193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13194for as_dir in $PATH 13195do 13196 IFS=$as_save_IFS 13197 test -z "$as_dir" && as_dir=. 13198 for ac_exec_ext in '' $ac_executable_extensions; do 13199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13200 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13202 break 2 13203 fi 13204done 13205 done 13206IFS=$as_save_IFS 13207 13208 ;; 13209esac 13210fi 13211ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 13212if test -n "$ac_pt_PKG_CONFIG"; then 13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 13214$as_echo "$ac_pt_PKG_CONFIG" >&6; } 13215else 13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13217$as_echo "no" >&6; } 13218fi 13219 13220 if test "x$ac_pt_PKG_CONFIG" = x; then 13221 PKG_CONFIG="" 13222 else 13223 case $cross_compiling:$ac_tool_warned in 13224yes:) 13225{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13226$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13227ac_tool_warned=yes ;; 13228esac 13229 PKG_CONFIG=$ac_pt_PKG_CONFIG 13230 fi 13231else 13232 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 13233fi 13234 13235fi 13236if test -n "$PKG_CONFIG"; then 13237 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 13239$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 13240 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13242$as_echo "yes" >&6; } 13243 else 13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13245$as_echo "no" >&6; } 13246 PKG_CONFIG="" 13247 fi 13248fi 13249 13250 if test x"$PKG_CONFIG" = x""; then 13251 echo 13252 echo "*** Your version of pkg-config is too old. You need atleast" 13253 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 13254 echo "*** from the freedesktop.org software repository at" 13255 echo "***" 13256 echo "*** http://www.freedesktop.org/software/pkgconfig" 13257 echo "***" 13258 exit 1; 13259 fi 13260 13261 13262 13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.2.0" >&5 13264$as_echo_n "checking for gtk+-3.0 >= 3.2.0... " >&6; } 13265 if $PKG_CONFIG "--atleast-version=3.2.0" "gtk+-3.0" >/dev/null 2>&1; then 13266 GTK3_VERSION=`$PKG_CONFIG --modversion "gtk+-3.0"` 13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK3_VERSION" >&5 13268$as_echo "$GTK3_VERSION" >&6; } 13269 13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK3_CFLAGS" >&5 13271$as_echo_n "checking GTK3_CFLAGS... " >&6; } 13272 GTK3_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0"` 13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK3_CFLAGS" >&5 13274$as_echo "$GTK3_CFLAGS" >&6; } 13275 13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK3_LIBS" >&5 13277$as_echo_n "checking GTK3_LIBS... " >&6; } 13278 GTK3_LIBS=`$PKG_CONFIG --libs "gtk+-3.0"` 13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK3_LIBS" >&5 13280$as_echo "$GTK3_LIBS" >&6; } 13281 13282 GTK3_REQUIRED_VERSION=3.2.0 13283 13284 13285 13286 13287 13288 13289 13290 13291$as_echo "#define HAVE_GTK3 1" >>confdefs.h 13292 13293 GTK3_FOUND="yes" 13294 13295 elif $PKG_CONFIG --exists "gtk+-3.0" >/dev/null 2>&1; then 13296 xdt_cv_version=`$PKG_CONFIG --modversion "gtk+-3.0"` 13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 13298$as_echo "found, but $xdt_cv_version" >&6; } 13299 13300 13301 echo "*** The required package gtk+-3.0 was found on your system," 13302 echo "*** but the installed version ($xdt_cv_version) is too old." 13303 echo "*** Please upgrade gtk+-3.0 to atleast version 3.2.0, or adjust" 13304 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 13305 echo "*** the new version of the package in a nonstandard prefix so" 13306 echo "*** pkg-config is able to find it." 13307 exit 1 13308 13309 else 13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 13311$as_echo "not found" >&6; } 13312 13313 13314 echo "*** The required package gtk+-3.0 was not found on your system." 13315 echo "*** Please install gtk+-3.0 (atleast version 3.2.0) or adjust" 13316 echo "*** the PKG_CONFIG_PATH environment variable if you" 13317 echo "*** installed the package in a nonstandard prefix so that" 13318 echo "*** pkg-config is able to find it." 13319 exit 1 13320 13321 fi 13322 13323 else 13324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package gtk+-3.0 >= 3.2.0" >&5 13325$as_echo_n "checking for optional package gtk+-3.0 >= 3.2.0... " >&6; } 13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 13327$as_echo "not found" >&6; } 13328 fi 13329 else 13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package gtk+-3.0" >&5 13331$as_echo_n "checking for optional package gtk+-3.0... " >&6; } 13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 13333$as_echo "disabled" >&6; } 13334 fi 13335 13336 if test x"$GTK3_FOUND" = x"yes"; then 13337 HAVE_GTK3_TRUE= 13338 HAVE_GTK3_FALSE='#' 13339else 13340 HAVE_GTK3_TRUE='#' 13341 HAVE_GTK3_FALSE= 13342fi 13343 13344 13345 13346GTK_SUBDIRS="" 13347if test x"$GTK2_FOUND" = x"yes" 13348then 13349 GTK2_BINARY_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0` 13350 13351 GTK_SUBDIRS="$GTK_SUBDIRS gtk-2.0" 13352fi 13353if test x"$GTK3_FOUND" = x"yes" 13354then 13355 GTK3_BINARY_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0` 13356 13357 GTK_SUBDIRS="$GTK_SUBDIRS gtk-3.0" 13358fi 13359 13360 13361 13362 # Check whether --enable-debug was given. 13363if test "${enable_debug+set}" = set; then : 13364 enableval=$enable_debug; enable_debug=$enableval 13365else 13366 enable_debug=minimum 13367fi 13368 13369 13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5 13371$as_echo_n "checking whether to build with debugging support... " >&6; } 13372 if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then 13373 13374$as_echo "#define DEBUG 1" >>confdefs.h 13375 13376 13377 xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \ 13378 -Wall -Wextra \ 13379 -Wno-missing-field-initializers \ 13380 -Wno-unused-parameter -Wold-style-definition \ 13381 -Wdeclaration-after-statement \ 13382 -Wmissing-declarations \ 13383 -Wmissing-noreturn -Wshadow -Wpointer-arith \ 13384 -Wcast-align -Wformat-security \ 13385 -Winit-self -Wmissing-include-dirs -Wundef \ 13386 -Wmissing-format-attribute -Wnested-externs" 13387 CPPFLAGS="$CPPFLAGS" 13388 13389 if test x`uname` = x"Linux"; then 13390 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector" 13391 fi 13392 13393 if test x`uname` != x"OpenBSD"; then 13394 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls" 13395 fi 13396 13397 if test x"$enable_debug" = x"full"; then 13398 13399$as_echo "#define DEBUG_TRACE 1" >>confdefs.h 13400 13401 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror" 13402 CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG" 13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5 13404$as_echo "full" >&6; } 13405 else 13406 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g" 13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13408$as_echo "yes" >&6; } 13409 fi 13410 13411 13412 for flag in $xdt_cv_additional_CFLAGS; do 13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5 13414$as_echo_n "checking if $CC supports $flag... " >&6; } 13415 saved_CFLAGS="$CFLAGS" 13416 CFLAGS="$CFLAGS $flag" 13417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13418/* end confdefs.h. */ 13419 13420_ACEOF 13421if ac_fn_c_try_compile "$LINENO"; then : 13422 flag_supported=yes 13423else 13424 flag_supported=no 13425fi 13426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13427 CFLAGS="$saved_CFLAGS" 13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5 13429$as_echo "$flag_supported" >&6; } 13430 13431 if test "x$flag_supported" = "xyes"; then 13432 supported_CFLAGS="$supported_CFLAGS $flag" 13433 fi 13434 done 13435 13436 13437 13438 supported_CXXFLAGS="$supported_CFLAGS" 13439 13440 13441 CFLAGS="$CFLAGS $supported_CFLAGS" 13442 CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS" 13443 else 13444 CPPFLAGS="$CPPFLAGS -DNDEBUG" 13445 13446 if test x"$enable_debug" = x"no"; then 13447 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT" 13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13449$as_echo "no" >&6; } 13450 else 13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5 13452$as_echo "minimum" >&6; } 13453 fi 13454 fi 13455 13456 13457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking PLATFORM_CPPFLAGS" >&5 13458$as_echo_n "checking PLATFORM_CPPFLAGS... " >&6; } 13459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_CPPFLAGS" >&5 13460$as_echo "$PLATFORM_CPPFLAGS" >&6; } 13461 13462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking PLATFORM_CFLAGS" >&5 13463$as_echo_n "checking PLATFORM_CFLAGS... " >&6; } 13464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_CFLAGS" >&5 13465$as_echo "$PLATFORM_CFLAGS" >&6; } 13466 13467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking PLATFORM_LDFLAGS" >&5 13468$as_echo_n "checking PLATFORM_LDFLAGS... " >&6; } 13469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_LDFLAGS" >&5 13470$as_echo "$PLATFORM_LDFLAGS" >&6; } 13471 13472 13473ac_config_files="$ac_config_files Makefile gtk-2.0/Makefile gtk-3.0/Makefile themes/b5/Makefile themes/b5/gtk-2.0/Makefile themes/b5/gtk-3.0/Makefile themes/xfce/gtk-2.0/Makefile themes/xfce/gtk-3.0/Makefile themes/xfce/Makefile themes/xfce-4.0/gtk-2.0/Makefile themes/xfce-4.0/gtk-3.0/Makefile themes/xfce-4.0/Makefile themes/xfce-4.2/gtk-2.0/Makefile themes/xfce-4.2/gtk-3.0/Makefile themes/xfce-4.2/Makefile themes/xfce-4.4/Makefile themes/xfce-4.4/gtk-2.0/Makefile themes/xfce-4.4/gtk-3.0/Makefile themes/xfce-4.6/Makefile themes/xfce-4.6/gtk-2.0/Makefile themes/xfce-4.6/gtk-3.0/Makefile themes/basic/gtk-2.0/Makefile themes/basic/gtk-3.0/Makefile themes/basic/Makefile themes/cadmium/gtk-2.0/Makefile themes/cadmium/gtk-3.0/Makefile themes/cadmium/Makefile themes/curve/gtk-2.0/Makefile themes/curve/gtk-3.0/Makefile themes/curve/Makefile themes/dawn/gtk-2.0/Makefile themes/dawn/gtk-3.0/Makefile themes/dawn/Makefile themes/dusk/gtk-2.0/Makefile themes/dusk/gtk-3.0/Makefile themes/dusk/Makefile themes/flat/gtk-2.0/Makefile themes/flat/gtk-3.0/Makefile themes/flat/Makefile themes/kolors/gtk-2.0/Makefile themes/kolors/gtk-3.0/Makefile themes/kolors/Makefile themes/kde2/gtk-2.0/Makefile themes/kde2/gtk-3.0/Makefile themes/kde2/Makefile themes/light/Makefile themes/light/gtk-2.0/Makefile themes/light/gtk-3.0/Makefile themes/orange/gtk-2.0/Makefile themes/orange/gtk-3.0/Makefile themes/orange/Makefile themes/redmondxp/gtk-2.0/Makefile themes/redmondxp/gtk-3.0/Makefile themes/redmondxp/Makefile themes/saltlake/gtk-2.0/Makefile themes/saltlake/gtk-3.0/Makefile themes/saltlake/Makefile themes/smooth/gtk-2.0/Makefile themes/smooth/gtk-3.0/Makefile themes/smooth/Makefile themes/stellar/gtk-2.0/Makefile themes/stellar/gtk-3.0/Makefile themes/stellar/Makefile themes/winter/gtk-2.0/Makefile themes/winter/gtk-3.0/Makefile themes/winter/Makefile themes/Makefile" 13474 13475cat >confcache <<\_ACEOF 13476# This file is a shell script that caches the results of configure 13477# tests run on this system so they can be shared between configure 13478# scripts and configure runs, see configure's option --config-cache. 13479# It is not useful on other systems. If it contains results you don't 13480# want to keep, you may remove or edit it. 13481# 13482# config.status only pays attention to the cache file if you give it 13483# the --recheck option to rerun configure. 13484# 13485# `ac_cv_env_foo' variables (set or unset) will be overridden when 13486# loading this file, other *unset* `ac_cv_foo' will be assigned the 13487# following values. 13488 13489_ACEOF 13490 13491# The following way of writing the cache mishandles newlines in values, 13492# but we know of no workaround that is simple, portable, and efficient. 13493# So, we kill variables containing newlines. 13494# Ultrix sh set writes to stderr and can't be redirected directly, 13495# and sets the high bit in the cache file unless we assign to the vars. 13496( 13497 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13498 eval ac_val=\$$ac_var 13499 case $ac_val in #( 13500 *${as_nl}*) 13501 case $ac_var in #( 13502 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13503$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13504 esac 13505 case $ac_var in #( 13506 _ | IFS | as_nl) ;; #( 13507 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13508 *) { eval $ac_var=; unset $ac_var;} ;; 13509 esac ;; 13510 esac 13511 done 13512 13513 (set) 2>&1 | 13514 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13515 *${as_nl}ac_space=\ *) 13516 # `set' does not quote correctly, so add quotes: double-quote 13517 # substitution turns \\\\ into \\, and sed turns \\ into \. 13518 sed -n \ 13519 "s/'/'\\\\''/g; 13520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13521 ;; #( 13522 *) 13523 # `set' quotes correctly as required by POSIX, so do not add quotes. 13524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13525 ;; 13526 esac | 13527 sort 13528) | 13529 sed ' 13530 /^ac_cv_env_/b end 13531 t clear 13532 :clear 13533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13534 t end 13535 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13536 :end' >>confcache 13537if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13538 if test -w "$cache_file"; then 13539 if test "x$cache_file" != "x/dev/null"; then 13540 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13541$as_echo "$as_me: updating cache $cache_file" >&6;} 13542 if test ! -f "$cache_file" || test -h "$cache_file"; then 13543 cat confcache >"$cache_file" 13544 else 13545 case $cache_file in #( 13546 */* | ?:*) 13547 mv -f confcache "$cache_file"$$ && 13548 mv -f "$cache_file"$$ "$cache_file" ;; #( 13549 *) 13550 mv -f confcache "$cache_file" ;; 13551 esac 13552 fi 13553 fi 13554 else 13555 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13556$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13557 fi 13558fi 13559rm -f confcache 13560 13561test "x$prefix" = xNONE && prefix=$ac_default_prefix 13562# Let make expand exec_prefix. 13563test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13564 13565DEFS=-DHAVE_CONFIG_H 13566 13567ac_libobjs= 13568ac_ltlibobjs= 13569U= 13570for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13571 # 1. Remove the extension, and $U if already installed. 13572 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13573 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13574 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13575 # will be set to the directory where LIBOBJS objects are built. 13576 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13577 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13578done 13579LIBOBJS=$ac_libobjs 13580 13581LTLIBOBJS=$ac_ltlibobjs 13582 13583 13584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 13585$as_echo_n "checking that generated files are newer than configure... " >&6; } 13586 if test -n "$am_sleep_pid"; then 13587 # Hide warnings about reused PIDs. 13588 wait $am_sleep_pid 2>/dev/null 13589 fi 13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 13591$as_echo "done" >&6; } 13592 if test -n "$EXEEXT"; then 13593 am__EXEEXT_TRUE= 13594 am__EXEEXT_FALSE='#' 13595else 13596 am__EXEEXT_TRUE='#' 13597 am__EXEEXT_FALSE= 13598fi 13599 13600if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 13601 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 13602Usually this means the macro was only invoked conditionally." "$LINENO" 5 13603fi 13604if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13605 as_fn_error $? "conditional \"AMDEP\" was never defined. 13606Usually this means the macro was only invoked conditionally." "$LINENO" 5 13607fi 13608if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13609 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13610Usually this means the macro was only invoked conditionally." "$LINENO" 5 13611fi 13612if test -z "${HAVE_GTK2_TRUE}" && test -z "${HAVE_GTK2_FALSE}"; then 13613 as_fn_error $? "conditional \"HAVE_GTK2\" was never defined. 13614Usually this means the macro was only invoked conditionally." "$LINENO" 5 13615fi 13616if test -z "${HAVE_GTK3_TRUE}" && test -z "${HAVE_GTK3_FALSE}"; then 13617 as_fn_error $? "conditional \"HAVE_GTK3\" was never defined. 13618Usually this means the macro was only invoked conditionally." "$LINENO" 5 13619fi 13620 13621: "${CONFIG_STATUS=./config.status}" 13622ac_write_fail=0 13623ac_clean_files_save=$ac_clean_files 13624ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13625{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13626$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13627as_write_fail=0 13628cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13629#! $SHELL 13630# Generated by $as_me. 13631# Run this file to recreate the current configuration. 13632# Compiler output produced by configure, useful for debugging 13633# configure, is in config.log if it exists. 13634 13635debug=false 13636ac_cs_recheck=false 13637ac_cs_silent=false 13638 13639SHELL=\${CONFIG_SHELL-$SHELL} 13640export SHELL 13641_ASEOF 13642cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13643## -------------------- ## 13644## M4sh Initialization. ## 13645## -------------------- ## 13646 13647# Be more Bourne compatible 13648DUALCASE=1; export DUALCASE # for MKS sh 13649if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13650 emulate sh 13651 NULLCMD=: 13652 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13653 # is contrary to our usage. Disable this feature. 13654 alias -g '${1+"$@"}'='"$@"' 13655 setopt NO_GLOB_SUBST 13656else 13657 case `(set -o) 2>/dev/null` in #( 13658 *posix*) : 13659 set -o posix ;; #( 13660 *) : 13661 ;; 13662esac 13663fi 13664 13665 13666as_nl=' 13667' 13668export as_nl 13669# Printing a long string crashes Solaris 7 /usr/bin/printf. 13670as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13671as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13672as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13673# Prefer a ksh shell builtin over an external printf program on Solaris, 13674# but without wasting forks for bash or zsh. 13675if test -z "$BASH_VERSION$ZSH_VERSION" \ 13676 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13677 as_echo='print -r --' 13678 as_echo_n='print -rn --' 13679elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13680 as_echo='printf %s\n' 13681 as_echo_n='printf %s' 13682else 13683 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13684 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13685 as_echo_n='/usr/ucb/echo -n' 13686 else 13687 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13688 as_echo_n_body='eval 13689 arg=$1; 13690 case $arg in #( 13691 *"$as_nl"*) 13692 expr "X$arg" : "X\\(.*\\)$as_nl"; 13693 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13694 esac; 13695 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13696 ' 13697 export as_echo_n_body 13698 as_echo_n='sh -c $as_echo_n_body as_echo' 13699 fi 13700 export as_echo_body 13701 as_echo='sh -c $as_echo_body as_echo' 13702fi 13703 13704# The user is always right. 13705if test "${PATH_SEPARATOR+set}" != set; then 13706 PATH_SEPARATOR=: 13707 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13708 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13709 PATH_SEPARATOR=';' 13710 } 13711fi 13712 13713 13714# IFS 13715# We need space, tab and new line, in precisely that order. Quoting is 13716# there to prevent editors from complaining about space-tab. 13717# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13718# splitting by setting IFS to empty value.) 13719IFS=" "" $as_nl" 13720 13721# Find who we are. Look in the path if we contain no directory separator. 13722as_myself= 13723case $0 in #(( 13724 *[\\/]* ) as_myself=$0 ;; 13725 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13726for as_dir in $PATH 13727do 13728 IFS=$as_save_IFS 13729 test -z "$as_dir" && as_dir=. 13730 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13731 done 13732IFS=$as_save_IFS 13733 13734 ;; 13735esac 13736# We did not find ourselves, most probably we were run as `sh COMMAND' 13737# in which case we are not to be found in the path. 13738if test "x$as_myself" = x; then 13739 as_myself=$0 13740fi 13741if test ! -f "$as_myself"; then 13742 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13743 exit 1 13744fi 13745 13746# Unset variables that we do not need and which cause bugs (e.g. in 13747# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13748# suppresses any "Segmentation fault" message there. '((' could 13749# trigger a bug in pdksh 5.2.14. 13750for as_var in BASH_ENV ENV MAIL MAILPATH 13751do eval test x\${$as_var+set} = xset \ 13752 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13753done 13754PS1='$ ' 13755PS2='> ' 13756PS4='+ ' 13757 13758# NLS nuisances. 13759LC_ALL=C 13760export LC_ALL 13761LANGUAGE=C 13762export LANGUAGE 13763 13764# CDPATH. 13765(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13766 13767 13768# as_fn_error STATUS ERROR [LINENO LOG_FD] 13769# ---------------------------------------- 13770# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13771# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13772# script with STATUS, using 1 if that was 0. 13773as_fn_error () 13774{ 13775 as_status=$1; test $as_status -eq 0 && as_status=1 13776 if test "$4"; then 13777 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13778 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13779 fi 13780 $as_echo "$as_me: error: $2" >&2 13781 as_fn_exit $as_status 13782} # as_fn_error 13783 13784 13785# as_fn_set_status STATUS 13786# ----------------------- 13787# Set $? to STATUS, without forking. 13788as_fn_set_status () 13789{ 13790 return $1 13791} # as_fn_set_status 13792 13793# as_fn_exit STATUS 13794# ----------------- 13795# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13796as_fn_exit () 13797{ 13798 set +e 13799 as_fn_set_status $1 13800 exit $1 13801} # as_fn_exit 13802 13803# as_fn_unset VAR 13804# --------------- 13805# Portably unset VAR. 13806as_fn_unset () 13807{ 13808 { eval $1=; unset $1;} 13809} 13810as_unset=as_fn_unset 13811# as_fn_append VAR VALUE 13812# ---------------------- 13813# Append the text in VALUE to the end of the definition contained in VAR. Take 13814# advantage of any shell optimizations that allow amortized linear growth over 13815# repeated appends, instead of the typical quadratic growth present in naive 13816# implementations. 13817if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13818 eval 'as_fn_append () 13819 { 13820 eval $1+=\$2 13821 }' 13822else 13823 as_fn_append () 13824 { 13825 eval $1=\$$1\$2 13826 } 13827fi # as_fn_append 13828 13829# as_fn_arith ARG... 13830# ------------------ 13831# Perform arithmetic evaluation on the ARGs, and store the result in the 13832# global $as_val. Take advantage of shells that can avoid forks. The arguments 13833# must be portable across $(()) and expr. 13834if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13835 eval 'as_fn_arith () 13836 { 13837 as_val=$(( $* )) 13838 }' 13839else 13840 as_fn_arith () 13841 { 13842 as_val=`expr "$@" || test $? -eq 1` 13843 } 13844fi # as_fn_arith 13845 13846 13847if expr a : '\(a\)' >/dev/null 2>&1 && 13848 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13849 as_expr=expr 13850else 13851 as_expr=false 13852fi 13853 13854if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13855 as_basename=basename 13856else 13857 as_basename=false 13858fi 13859 13860if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13861 as_dirname=dirname 13862else 13863 as_dirname=false 13864fi 13865 13866as_me=`$as_basename -- "$0" || 13867$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13868 X"$0" : 'X\(//\)$' \| \ 13869 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13870$as_echo X/"$0" | 13871 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13872 s//\1/ 13873 q 13874 } 13875 /^X\/\(\/\/\)$/{ 13876 s//\1/ 13877 q 13878 } 13879 /^X\/\(\/\).*/{ 13880 s//\1/ 13881 q 13882 } 13883 s/.*/./; q'` 13884 13885# Avoid depending upon Character Ranges. 13886as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13887as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13888as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13889as_cr_digits='0123456789' 13890as_cr_alnum=$as_cr_Letters$as_cr_digits 13891 13892ECHO_C= ECHO_N= ECHO_T= 13893case `echo -n x` in #((((( 13894-n*) 13895 case `echo 'xy\c'` in 13896 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13897 xy) ECHO_C='\c';; 13898 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13899 ECHO_T=' ';; 13900 esac;; 13901*) 13902 ECHO_N='-n';; 13903esac 13904 13905rm -f conf$$ conf$$.exe conf$$.file 13906if test -d conf$$.dir; then 13907 rm -f conf$$.dir/conf$$.file 13908else 13909 rm -f conf$$.dir 13910 mkdir conf$$.dir 2>/dev/null 13911fi 13912if (echo >conf$$.file) 2>/dev/null; then 13913 if ln -s conf$$.file conf$$ 2>/dev/null; then 13914 as_ln_s='ln -s' 13915 # ... but there are two gotchas: 13916 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13917 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13918 # In both cases, we have to default to `cp -pR'. 13919 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13920 as_ln_s='cp -pR' 13921 elif ln conf$$.file conf$$ 2>/dev/null; then 13922 as_ln_s=ln 13923 else 13924 as_ln_s='cp -pR' 13925 fi 13926else 13927 as_ln_s='cp -pR' 13928fi 13929rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13930rmdir conf$$.dir 2>/dev/null 13931 13932 13933# as_fn_mkdir_p 13934# ------------- 13935# Create "$as_dir" as a directory, including parents if necessary. 13936as_fn_mkdir_p () 13937{ 13938 13939 case $as_dir in #( 13940 -*) as_dir=./$as_dir;; 13941 esac 13942 test -d "$as_dir" || eval $as_mkdir_p || { 13943 as_dirs= 13944 while :; do 13945 case $as_dir in #( 13946 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13947 *) as_qdir=$as_dir;; 13948 esac 13949 as_dirs="'$as_qdir' $as_dirs" 13950 as_dir=`$as_dirname -- "$as_dir" || 13951$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13952 X"$as_dir" : 'X\(//\)[^/]' \| \ 13953 X"$as_dir" : 'X\(//\)$' \| \ 13954 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13955$as_echo X"$as_dir" | 13956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13957 s//\1/ 13958 q 13959 } 13960 /^X\(\/\/\)[^/].*/{ 13961 s//\1/ 13962 q 13963 } 13964 /^X\(\/\/\)$/{ 13965 s//\1/ 13966 q 13967 } 13968 /^X\(\/\).*/{ 13969 s//\1/ 13970 q 13971 } 13972 s/.*/./; q'` 13973 test -d "$as_dir" && break 13974 done 13975 test -z "$as_dirs" || eval "mkdir $as_dirs" 13976 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13977 13978 13979} # as_fn_mkdir_p 13980if mkdir -p . 2>/dev/null; then 13981 as_mkdir_p='mkdir -p "$as_dir"' 13982else 13983 test -d ./-p && rmdir ./-p 13984 as_mkdir_p=false 13985fi 13986 13987 13988# as_fn_executable_p FILE 13989# ----------------------- 13990# Test if FILE is an executable regular file. 13991as_fn_executable_p () 13992{ 13993 test -f "$1" && test -x "$1" 13994} # as_fn_executable_p 13995as_test_x='test -x' 13996as_executable_p=as_fn_executable_p 13997 13998# Sed expression to map a string onto a valid CPP name. 13999as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14000 14001# Sed expression to map a string onto a valid variable name. 14002as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14003 14004 14005exec 6>&1 14006## ----------------------------------- ## 14007## Main body of $CONFIG_STATUS script. ## 14008## ----------------------------------- ## 14009_ASEOF 14010test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 14011 14012cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14013# Save the log message, to keep $0 and so on meaningful, and to 14014# report actual input values of CONFIG_FILES etc. instead of their 14015# values after options handling. 14016ac_log=" 14017This file was extended by gtk-xfce-engine $as_me 3.2.0, which was 14018generated by GNU Autoconf 2.69. Invocation command line was 14019 14020 CONFIG_FILES = $CONFIG_FILES 14021 CONFIG_HEADERS = $CONFIG_HEADERS 14022 CONFIG_LINKS = $CONFIG_LINKS 14023 CONFIG_COMMANDS = $CONFIG_COMMANDS 14024 $ $0 $@ 14025 14026on `(hostname || uname -n) 2>/dev/null | sed 1q` 14027" 14028 14029_ACEOF 14030 14031case $ac_config_files in *" 14032"*) set x $ac_config_files; shift; ac_config_files=$*;; 14033esac 14034 14035case $ac_config_headers in *" 14036"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 14037esac 14038 14039 14040cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14041# Files that config.status was made for. 14042config_files="$ac_config_files" 14043config_headers="$ac_config_headers" 14044config_commands="$ac_config_commands" 14045 14046_ACEOF 14047 14048cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14049ac_cs_usage="\ 14050\`$as_me' instantiates files and other configuration actions 14051from templates according to the current configuration. Unless the files 14052and actions are specified as TAGs, all are instantiated by default. 14053 14054Usage: $0 [OPTION]... [TAG]... 14055 14056 -h, --help print this help, then exit 14057 -V, --version print version number and configuration settings, then exit 14058 --config print configuration, then exit 14059 -q, --quiet, --silent 14060 do not print progress messages 14061 -d, --debug don't remove temporary files 14062 --recheck update $as_me by reconfiguring in the same conditions 14063 --file=FILE[:TEMPLATE] 14064 instantiate the configuration file FILE 14065 --header=FILE[:TEMPLATE] 14066 instantiate the configuration header FILE 14067 14068Configuration files: 14069$config_files 14070 14071Configuration headers: 14072$config_headers 14073 14074Configuration commands: 14075$config_commands 14076 14077Report bugs to <http://bugzilla.xfce.org/>." 14078 14079_ACEOF 14080cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14081ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14082ac_cs_version="\\ 14083gtk-xfce-engine config.status 3.2.0 14084configured by $0, generated by GNU Autoconf 2.69, 14085 with options \\"\$ac_cs_config\\" 14086 14087Copyright (C) 2012 Free Software Foundation, Inc. 14088This config.status script is free software; the Free Software Foundation 14089gives unlimited permission to copy, distribute and modify it." 14090 14091ac_pwd='$ac_pwd' 14092srcdir='$srcdir' 14093INSTALL='$INSTALL' 14094MKDIR_P='$MKDIR_P' 14095AWK='$AWK' 14096test -n "\$AWK" || AWK=awk 14097_ACEOF 14098 14099cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14100# The default lists apply if the user does not specify any file. 14101ac_need_defaults=: 14102while test $# != 0 14103do 14104 case $1 in 14105 --*=?*) 14106 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14107 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14108 ac_shift=: 14109 ;; 14110 --*=) 14111 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14112 ac_optarg= 14113 ac_shift=: 14114 ;; 14115 *) 14116 ac_option=$1 14117 ac_optarg=$2 14118 ac_shift=shift 14119 ;; 14120 esac 14121 14122 case $ac_option in 14123 # Handling of the options. 14124 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14125 ac_cs_recheck=: ;; 14126 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14127 $as_echo "$ac_cs_version"; exit ;; 14128 --config | --confi | --conf | --con | --co | --c ) 14129 $as_echo "$ac_cs_config"; exit ;; 14130 --debug | --debu | --deb | --de | --d | -d ) 14131 debug=: ;; 14132 --file | --fil | --fi | --f ) 14133 $ac_shift 14134 case $ac_optarg in 14135 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14136 '') as_fn_error $? "missing file argument" ;; 14137 esac 14138 as_fn_append CONFIG_FILES " '$ac_optarg'" 14139 ac_need_defaults=false;; 14140 --header | --heade | --head | --hea ) 14141 $ac_shift 14142 case $ac_optarg in 14143 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14144 esac 14145 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 14146 ac_need_defaults=false;; 14147 --he | --h) 14148 # Conflict between --help and --header 14149 as_fn_error $? "ambiguous option: \`$1' 14150Try \`$0 --help' for more information.";; 14151 --help | --hel | -h ) 14152 $as_echo "$ac_cs_usage"; exit ;; 14153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14154 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14155 ac_cs_silent=: ;; 14156 14157 # This is an error. 14158 -*) as_fn_error $? "unrecognized option: \`$1' 14159Try \`$0 --help' for more information." ;; 14160 14161 *) as_fn_append ac_config_targets " $1" 14162 ac_need_defaults=false ;; 14163 14164 esac 14165 shift 14166done 14167 14168ac_configure_extra_args= 14169 14170if $ac_cs_silent; then 14171 exec 6>/dev/null 14172 ac_configure_extra_args="$ac_configure_extra_args --silent" 14173fi 14174 14175_ACEOF 14176cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14177if \$ac_cs_recheck; then 14178 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14179 shift 14180 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14181 CONFIG_SHELL='$SHELL' 14182 export CONFIG_SHELL 14183 exec "\$@" 14184fi 14185 14186_ACEOF 14187cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14188exec 5>>config.log 14189{ 14190 echo 14191 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14192## Running $as_me. ## 14193_ASBOX 14194 $as_echo "$ac_log" 14195} >&5 14196 14197_ACEOF 14198cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14199# 14200# INIT-COMMANDS 14201# 14202AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14203 14204 14205# The HP-UX ksh and POSIX shell print the target directory to stdout 14206# if CDPATH is set. 14207(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14208 14209sed_quote_subst='$sed_quote_subst' 14210double_quote_subst='$double_quote_subst' 14211delay_variable_subst='$delay_variable_subst' 14212macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 14213macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 14214enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 14215enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 14216pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 14217enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 14218shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 14219SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 14220ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 14221PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 14222host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 14223host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 14224host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 14225build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 14226build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 14227build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 14228SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 14229Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 14230GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 14231EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 14232FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 14233LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 14234NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 14235LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 14236max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 14237ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 14238exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 14239lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14240lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14241lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14242lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 14243lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 14244reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14245reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 14246OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 14247deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14248file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 14249file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 14250want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 14251DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 14252sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14253AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 14254AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14255archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 14256STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14257RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14258old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14259old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14260old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 14261lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 14262CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 14263CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 14264compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 14265GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 14266lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 14267lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14268lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 14269lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14270lt_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"`' 14271lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 14272nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 14273lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 14274lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 14275objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 14276MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 14277lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 14278lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 14279lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 14280lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 14281lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 14282need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 14283MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 14284DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14285NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14286LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14287OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 14288OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14289libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14290shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14291extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14292archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14293enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14294export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14295whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14296compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14297old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14298old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14299archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14300archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14301module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14302module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14303with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14304allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14305no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14306hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14307hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14308hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14309hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14310hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14311hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14312hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14313inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14314link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14315always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14316export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14317exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14318include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14319prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14320postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14321file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14322variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14323need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14324need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14325version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14326runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14327shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14328shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14329libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14330library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14331soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14332install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14333postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14334postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14335finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14336finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14337hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14338sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14339lt_cv_sys_lib_dlsearch_path_spec='`$ECHO "$lt_cv_sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 14340hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14341enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14342enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14343enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14344old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14345striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14346 14347LTCC='$LTCC' 14348LTCFLAGS='$LTCFLAGS' 14349compiler='$compiler_DEFAULT' 14350 14351# A function that is used when there is no print builtin or printf. 14352func_fallback_echo () 14353{ 14354 eval 'cat <<_LTECHO_EOF 14355\$1 14356_LTECHO_EOF' 14357} 14358 14359# Quote evaled strings. 14360for var in SHELL \ 14361ECHO \ 14362PATH_SEPARATOR \ 14363SED \ 14364GREP \ 14365EGREP \ 14366FGREP \ 14367LD \ 14368NM \ 14369LN_S \ 14370lt_SP2NL \ 14371lt_NL2SP \ 14372reload_flag \ 14373OBJDUMP \ 14374deplibs_check_method \ 14375file_magic_cmd \ 14376file_magic_glob \ 14377want_nocaseglob \ 14378DLLTOOL \ 14379sharedlib_from_linklib_cmd \ 14380AR \ 14381AR_FLAGS \ 14382archiver_list_spec \ 14383STRIP \ 14384RANLIB \ 14385CC \ 14386CFLAGS \ 14387compiler \ 14388lt_cv_sys_global_symbol_pipe \ 14389lt_cv_sys_global_symbol_to_cdecl \ 14390lt_cv_sys_global_symbol_to_import \ 14391lt_cv_sys_global_symbol_to_c_name_address \ 14392lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14393lt_cv_nm_interface \ 14394nm_file_list_spec \ 14395lt_cv_truncate_bin \ 14396lt_prog_compiler_no_builtin_flag \ 14397lt_prog_compiler_pic \ 14398lt_prog_compiler_wl \ 14399lt_prog_compiler_static \ 14400lt_cv_prog_compiler_c_o \ 14401need_locks \ 14402MANIFEST_TOOL \ 14403DSYMUTIL \ 14404NMEDIT \ 14405LIPO \ 14406OTOOL \ 14407OTOOL64 \ 14408shrext_cmds \ 14409export_dynamic_flag_spec \ 14410whole_archive_flag_spec \ 14411compiler_needs_object \ 14412with_gnu_ld \ 14413allow_undefined_flag \ 14414no_undefined_flag \ 14415hardcode_libdir_flag_spec \ 14416hardcode_libdir_separator \ 14417exclude_expsyms \ 14418include_expsyms \ 14419file_list_spec \ 14420variables_saved_for_relink \ 14421libname_spec \ 14422library_names_spec \ 14423soname_spec \ 14424install_override_mode \ 14425finish_eval \ 14426old_striplib \ 14427striplib; do 14428 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14429 *[\\\\\\\`\\"\\\$]*) 14430 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 14431 ;; 14432 *) 14433 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14434 ;; 14435 esac 14436done 14437 14438# Double-quote double-evaled strings. 14439for var in reload_cmds \ 14440old_postinstall_cmds \ 14441old_postuninstall_cmds \ 14442old_archive_cmds \ 14443extract_expsyms_cmds \ 14444old_archive_from_new_cmds \ 14445old_archive_from_expsyms_cmds \ 14446archive_cmds \ 14447archive_expsym_cmds \ 14448module_cmds \ 14449module_expsym_cmds \ 14450export_symbols_cmds \ 14451prelink_cmds \ 14452postlink_cmds \ 14453postinstall_cmds \ 14454postuninstall_cmds \ 14455finish_cmds \ 14456sys_lib_search_path_spec \ 14457lt_cv_sys_lib_dlsearch_path_spec; do 14458 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14459 *[\\\\\\\`\\"\\\$]*) 14460 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 14461 ;; 14462 *) 14463 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14464 ;; 14465 esac 14466done 14467 14468ac_aux_dir='$ac_aux_dir' 14469 14470# See if we are running on zsh, and set the options that allow our 14471# commands through without removal of \ escapes INIT. 14472if test -n "\${ZSH_VERSION+set}"; then 14473 setopt NO_GLOB_SUBST 14474fi 14475 14476 14477 PACKAGE='$PACKAGE' 14478 VERSION='$VERSION' 14479 RM='$RM' 14480 ofile='$ofile' 14481 14482 14483 14484 14485_ACEOF 14486 14487cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14488 14489# Handling of arguments. 14490for ac_config_target in $ac_config_targets 14491do 14492 case $ac_config_target in 14493 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14494 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14495 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14496 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14497 "gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES gtk-2.0/Makefile" ;; 14498 "gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES gtk-3.0/Makefile" ;; 14499 "themes/b5/Makefile") CONFIG_FILES="$CONFIG_FILES themes/b5/Makefile" ;; 14500 "themes/b5/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/b5/gtk-2.0/Makefile" ;; 14501 "themes/b5/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/b5/gtk-3.0/Makefile" ;; 14502 "themes/xfce/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce/gtk-2.0/Makefile" ;; 14503 "themes/xfce/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce/gtk-3.0/Makefile" ;; 14504 "themes/xfce/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce/Makefile" ;; 14505 "themes/xfce-4.0/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce-4.0/gtk-2.0/Makefile" ;; 14506 "themes/xfce-4.0/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce-4.0/gtk-3.0/Makefile" ;; 14507 "themes/xfce-4.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce-4.0/Makefile" ;; 14508 "themes/xfce-4.2/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce-4.2/gtk-2.0/Makefile" ;; 14509 "themes/xfce-4.2/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce-4.2/gtk-3.0/Makefile" ;; 14510 "themes/xfce-4.2/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce-4.2/Makefile" ;; 14511 "themes/xfce-4.4/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce-4.4/Makefile" ;; 14512 "themes/xfce-4.4/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce-4.4/gtk-2.0/Makefile" ;; 14513 "themes/xfce-4.4/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce-4.4/gtk-3.0/Makefile" ;; 14514 "themes/xfce-4.6/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce-4.6/Makefile" ;; 14515 "themes/xfce-4.6/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce-4.6/gtk-2.0/Makefile" ;; 14516 "themes/xfce-4.6/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/xfce-4.6/gtk-3.0/Makefile" ;; 14517 "themes/basic/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/basic/gtk-2.0/Makefile" ;; 14518 "themes/basic/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/basic/gtk-3.0/Makefile" ;; 14519 "themes/basic/Makefile") CONFIG_FILES="$CONFIG_FILES themes/basic/Makefile" ;; 14520 "themes/cadmium/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/cadmium/gtk-2.0/Makefile" ;; 14521 "themes/cadmium/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/cadmium/gtk-3.0/Makefile" ;; 14522 "themes/cadmium/Makefile") CONFIG_FILES="$CONFIG_FILES themes/cadmium/Makefile" ;; 14523 "themes/curve/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/curve/gtk-2.0/Makefile" ;; 14524 "themes/curve/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/curve/gtk-3.0/Makefile" ;; 14525 "themes/curve/Makefile") CONFIG_FILES="$CONFIG_FILES themes/curve/Makefile" ;; 14526 "themes/dawn/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/dawn/gtk-2.0/Makefile" ;; 14527 "themes/dawn/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/dawn/gtk-3.0/Makefile" ;; 14528 "themes/dawn/Makefile") CONFIG_FILES="$CONFIG_FILES themes/dawn/Makefile" ;; 14529 "themes/dusk/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/dusk/gtk-2.0/Makefile" ;; 14530 "themes/dusk/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/dusk/gtk-3.0/Makefile" ;; 14531 "themes/dusk/Makefile") CONFIG_FILES="$CONFIG_FILES themes/dusk/Makefile" ;; 14532 "themes/flat/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/flat/gtk-2.0/Makefile" ;; 14533 "themes/flat/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/flat/gtk-3.0/Makefile" ;; 14534 "themes/flat/Makefile") CONFIG_FILES="$CONFIG_FILES themes/flat/Makefile" ;; 14535 "themes/kolors/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/kolors/gtk-2.0/Makefile" ;; 14536 "themes/kolors/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/kolors/gtk-3.0/Makefile" ;; 14537 "themes/kolors/Makefile") CONFIG_FILES="$CONFIG_FILES themes/kolors/Makefile" ;; 14538 "themes/kde2/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/kde2/gtk-2.0/Makefile" ;; 14539 "themes/kde2/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/kde2/gtk-3.0/Makefile" ;; 14540 "themes/kde2/Makefile") CONFIG_FILES="$CONFIG_FILES themes/kde2/Makefile" ;; 14541 "themes/light/Makefile") CONFIG_FILES="$CONFIG_FILES themes/light/Makefile" ;; 14542 "themes/light/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/light/gtk-2.0/Makefile" ;; 14543 "themes/light/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/light/gtk-3.0/Makefile" ;; 14544 "themes/orange/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/orange/gtk-2.0/Makefile" ;; 14545 "themes/orange/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/orange/gtk-3.0/Makefile" ;; 14546 "themes/orange/Makefile") CONFIG_FILES="$CONFIG_FILES themes/orange/Makefile" ;; 14547 "themes/redmondxp/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/redmondxp/gtk-2.0/Makefile" ;; 14548 "themes/redmondxp/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/redmondxp/gtk-3.0/Makefile" ;; 14549 "themes/redmondxp/Makefile") CONFIG_FILES="$CONFIG_FILES themes/redmondxp/Makefile" ;; 14550 "themes/saltlake/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/saltlake/gtk-2.0/Makefile" ;; 14551 "themes/saltlake/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/saltlake/gtk-3.0/Makefile" ;; 14552 "themes/saltlake/Makefile") CONFIG_FILES="$CONFIG_FILES themes/saltlake/Makefile" ;; 14553 "themes/smooth/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/smooth/gtk-2.0/Makefile" ;; 14554 "themes/smooth/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/smooth/gtk-3.0/Makefile" ;; 14555 "themes/smooth/Makefile") CONFIG_FILES="$CONFIG_FILES themes/smooth/Makefile" ;; 14556 "themes/stellar/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/stellar/gtk-2.0/Makefile" ;; 14557 "themes/stellar/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/stellar/gtk-3.0/Makefile" ;; 14558 "themes/stellar/Makefile") CONFIG_FILES="$CONFIG_FILES themes/stellar/Makefile" ;; 14559 "themes/winter/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/winter/gtk-2.0/Makefile" ;; 14560 "themes/winter/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/winter/gtk-3.0/Makefile" ;; 14561 "themes/winter/Makefile") CONFIG_FILES="$CONFIG_FILES themes/winter/Makefile" ;; 14562 "themes/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Makefile" ;; 14563 14564 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14565 esac 14566done 14567 14568 14569# If the user did not use the arguments to specify the items to instantiate, 14570# then the envvar interface is used. Set only those that are not. 14571# We use the long form for the default assignment because of an extremely 14572# bizarre bug on SunOS 4.1.3. 14573if $ac_need_defaults; then 14574 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14575 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14576 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14577fi 14578 14579# Have a temporary directory for convenience. Make it in the build tree 14580# simply because there is no reason against having it here, and in addition, 14581# creating and moving files from /tmp can sometimes cause problems. 14582# Hook for its removal unless debugging. 14583# Note that there is a small window in which the directory will not be cleaned: 14584# after its creation but before its name has been assigned to `$tmp'. 14585$debug || 14586{ 14587 tmp= ac_tmp= 14588 trap 'exit_status=$? 14589 : "${ac_tmp:=$tmp}" 14590 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 14591' 0 14592 trap 'as_fn_exit 1' 1 2 13 15 14593} 14594# Create a (secure) tmp directory for tmp files. 14595 14596{ 14597 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14598 test -d "$tmp" 14599} || 14600{ 14601 tmp=./conf$$-$RANDOM 14602 (umask 077 && mkdir "$tmp") 14603} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 14604ac_tmp=$tmp 14605 14606# Set up the scripts for CONFIG_FILES section. 14607# No need to generate them if there are no CONFIG_FILES. 14608# This happens for instance with `./config.status config.h'. 14609if test -n "$CONFIG_FILES"; then 14610 14611 14612ac_cr=`echo X | tr X '\015'` 14613# On cygwin, bash can eat \r inside `` if the user requested igncr. 14614# But we know of no other shell where ac_cr would be empty at this 14615# point, so we can use a bashism as a fallback. 14616if test "x$ac_cr" = x; then 14617 eval ac_cr=\$\'\\r\' 14618fi 14619ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14620if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14621 ac_cs_awk_cr='\\r' 14622else 14623 ac_cs_awk_cr=$ac_cr 14624fi 14625 14626echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 14627_ACEOF 14628 14629 14630{ 14631 echo "cat >conf$$subs.awk <<_ACEOF" && 14632 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14633 echo "_ACEOF" 14634} >conf$$subs.sh || 14635 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14636ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 14637ac_delim='%!_!# ' 14638for ac_last_try in false false false false false :; do 14639 . ./conf$$subs.sh || 14640 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14641 14642 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14643 if test $ac_delim_n = $ac_delim_num; then 14644 break 14645 elif $ac_last_try; then 14646 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14647 else 14648 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14649 fi 14650done 14651rm -f conf$$subs.sh 14652 14653cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14654cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14655_ACEOF 14656sed -n ' 14657h 14658s/^/S["/; s/!.*/"]=/ 14659p 14660g 14661s/^[^!]*!// 14662:repl 14663t repl 14664s/'"$ac_delim"'$// 14665t delim 14666:nl 14667h 14668s/\(.\{148\}\)..*/\1/ 14669t more1 14670s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14671p 14672n 14673b repl 14674:more1 14675s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14676p 14677g 14678s/.\{148\}// 14679t nl 14680:delim 14681h 14682s/\(.\{148\}\)..*/\1/ 14683t more2 14684s/["\\]/\\&/g; s/^/"/; s/$/"/ 14685p 14686b 14687:more2 14688s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14689p 14690g 14691s/.\{148\}// 14692t delim 14693' <conf$$subs.awk | sed ' 14694/^[^""]/{ 14695 N 14696 s/\n// 14697} 14698' >>$CONFIG_STATUS || ac_write_fail=1 14699rm -f conf$$subs.awk 14700cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14701_ACAWK 14702cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 14703 for (key in S) S_is_set[key] = 1 14704 FS = "" 14705 14706} 14707{ 14708 line = $ 0 14709 nfields = split(line, field, "@") 14710 substed = 0 14711 len = length(field[1]) 14712 for (i = 2; i < nfields; i++) { 14713 key = field[i] 14714 keylen = length(key) 14715 if (S_is_set[key]) { 14716 value = S[key] 14717 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14718 len += length(value) + length(field[++i]) 14719 substed = 1 14720 } else 14721 len += 1 + keylen 14722 } 14723 14724 print line 14725} 14726 14727_ACAWK 14728_ACEOF 14729cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14730if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14731 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14732else 14733 cat 14734fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 14735 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 14736_ACEOF 14737 14738# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 14739# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14740# trailing colons and then remove the whole line if VPATH becomes empty 14741# (actually we leave an empty line to preserve line numbers). 14742if test "x$srcdir" = x.; then 14743 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 14744h 14745s/// 14746s/^/:/ 14747s/[ ]*$/:/ 14748s/:\$(srcdir):/:/g 14749s/:\${srcdir}:/:/g 14750s/:@srcdir@:/:/g 14751s/^:*// 14752s/:*$// 14753x 14754s/\(=[ ]*\).*/\1/ 14755G 14756s/\n// 14757s/^[^=]*=[ ]*$// 14758}' 14759fi 14760 14761cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14762fi # test -n "$CONFIG_FILES" 14763 14764# Set up the scripts for CONFIG_HEADERS section. 14765# No need to generate them if there are no CONFIG_HEADERS. 14766# This happens for instance with `./config.status Makefile'. 14767if test -n "$CONFIG_HEADERS"; then 14768cat >"$ac_tmp/defines.awk" <<\_ACAWK || 14769BEGIN { 14770_ACEOF 14771 14772# Transform confdefs.h into an awk script `defines.awk', embedded as 14773# here-document in config.status, that substitutes the proper values into 14774# config.h.in to produce config.h. 14775 14776# Create a delimiter string that does not exist in confdefs.h, to ease 14777# handling of long lines. 14778ac_delim='%!_!# ' 14779for ac_last_try in false false :; do 14780 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 14781 if test -z "$ac_tt"; then 14782 break 14783 elif $ac_last_try; then 14784 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14785 else 14786 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14787 fi 14788done 14789 14790# For the awk script, D is an array of macro values keyed by name, 14791# likewise P contains macro parameters if any. Preserve backslash 14792# newline sequences. 14793 14794ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14795sed -n ' 14796s/.\{148\}/&'"$ac_delim"'/g 14797t rset 14798:rset 14799s/^[ ]*#[ ]*define[ ][ ]*/ / 14800t def 14801d 14802:def 14803s/\\$// 14804t bsnl 14805s/["\\]/\\&/g 14806s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14807D["\1"]=" \3"/p 14808s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14809d 14810:bsnl 14811s/["\\]/\\&/g 14812s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14813D["\1"]=" \3\\\\\\n"\\/p 14814t cont 14815s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14816t cont 14817d 14818:cont 14819n 14820s/.\{148\}/&'"$ac_delim"'/g 14821t clear 14822:clear 14823s/\\$// 14824t bsnlc 14825s/["\\]/\\&/g; s/^/"/; s/$/"/p 14826d 14827:bsnlc 14828s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14829b cont 14830' <confdefs.h | sed ' 14831s/'"$ac_delim"'/"\\\ 14832"/g' >>$CONFIG_STATUS || ac_write_fail=1 14833 14834cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14835 for (key in D) D_is_set[key] = 1 14836 FS = "" 14837} 14838/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14839 line = \$ 0 14840 split(line, arg, " ") 14841 if (arg[1] == "#") { 14842 defundef = arg[2] 14843 mac1 = arg[3] 14844 } else { 14845 defundef = substr(arg[1], 2) 14846 mac1 = arg[2] 14847 } 14848 split(mac1, mac2, "(") #) 14849 macro = mac2[1] 14850 prefix = substr(line, 1, index(line, defundef) - 1) 14851 if (D_is_set[macro]) { 14852 # Preserve the white space surrounding the "#". 14853 print prefix "define", macro P[macro] D[macro] 14854 next 14855 } else { 14856 # Replace #undef with comments. This is necessary, for example, 14857 # in the case of _POSIX_SOURCE, which is predefined and required 14858 # on some systems where configure will not decide to define it. 14859 if (defundef == "undef") { 14860 print "/*", prefix defundef, macro, "*/" 14861 next 14862 } 14863 } 14864} 14865{ print } 14866_ACAWK 14867_ACEOF 14868cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14869 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14870fi # test -n "$CONFIG_HEADERS" 14871 14872 14873eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14874shift 14875for ac_tag 14876do 14877 case $ac_tag in 14878 :[FHLC]) ac_mode=$ac_tag; continue;; 14879 esac 14880 case $ac_mode$ac_tag in 14881 :[FHL]*:*);; 14882 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14883 :[FH]-) ac_tag=-:-;; 14884 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14885 esac 14886 ac_save_IFS=$IFS 14887 IFS=: 14888 set x $ac_tag 14889 IFS=$ac_save_IFS 14890 shift 14891 ac_file=$1 14892 shift 14893 14894 case $ac_mode in 14895 :L) ac_source=$1;; 14896 :[FH]) 14897 ac_file_inputs= 14898 for ac_f 14899 do 14900 case $ac_f in 14901 -) ac_f="$ac_tmp/stdin";; 14902 *) # Look for the file first in the build tree, then in the source tree 14903 # (if the path is not absolute). The absolute path cannot be DOS-style, 14904 # because $ac_f cannot contain `:'. 14905 test -f "$ac_f" || 14906 case $ac_f in 14907 [\\/$]*) false;; 14908 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14909 esac || 14910 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14911 esac 14912 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14913 as_fn_append ac_file_inputs " '$ac_f'" 14914 done 14915 14916 # Let's still pretend it is `configure' which instantiates (i.e., don't 14917 # use $as_me), people would be surprised to read: 14918 # /* config.h. Generated by config.status. */ 14919 configure_input='Generated from '` 14920 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14921 `' by configure.' 14922 if test x"$ac_file" != x-; then 14923 configure_input="$ac_file. $configure_input" 14924 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14925$as_echo "$as_me: creating $ac_file" >&6;} 14926 fi 14927 # Neutralize special characters interpreted by sed in replacement strings. 14928 case $configure_input in #( 14929 *\&* | *\|* | *\\* ) 14930 ac_sed_conf_input=`$as_echo "$configure_input" | 14931 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14932 *) ac_sed_conf_input=$configure_input;; 14933 esac 14934 14935 case $ac_tag in 14936 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 14937 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14938 esac 14939 ;; 14940 esac 14941 14942 ac_dir=`$as_dirname -- "$ac_file" || 14943$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14944 X"$ac_file" : 'X\(//\)[^/]' \| \ 14945 X"$ac_file" : 'X\(//\)$' \| \ 14946 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14947$as_echo X"$ac_file" | 14948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14949 s//\1/ 14950 q 14951 } 14952 /^X\(\/\/\)[^/].*/{ 14953 s//\1/ 14954 q 14955 } 14956 /^X\(\/\/\)$/{ 14957 s//\1/ 14958 q 14959 } 14960 /^X\(\/\).*/{ 14961 s//\1/ 14962 q 14963 } 14964 s/.*/./; q'` 14965 as_dir="$ac_dir"; as_fn_mkdir_p 14966 ac_builddir=. 14967 14968case "$ac_dir" in 14969.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14970*) 14971 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14972 # A ".." for each directory in $ac_dir_suffix. 14973 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14974 case $ac_top_builddir_sub in 14975 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14976 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14977 esac ;; 14978esac 14979ac_abs_top_builddir=$ac_pwd 14980ac_abs_builddir=$ac_pwd$ac_dir_suffix 14981# for backward compatibility: 14982ac_top_builddir=$ac_top_build_prefix 14983 14984case $srcdir in 14985 .) # We are building in place. 14986 ac_srcdir=. 14987 ac_top_srcdir=$ac_top_builddir_sub 14988 ac_abs_top_srcdir=$ac_pwd ;; 14989 [\\/]* | ?:[\\/]* ) # Absolute name. 14990 ac_srcdir=$srcdir$ac_dir_suffix; 14991 ac_top_srcdir=$srcdir 14992 ac_abs_top_srcdir=$srcdir ;; 14993 *) # Relative name. 14994 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14995 ac_top_srcdir=$ac_top_build_prefix$srcdir 14996 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14997esac 14998ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14999 15000 15001 case $ac_mode in 15002 :F) 15003 # 15004 # CONFIG_FILE 15005 # 15006 15007 case $INSTALL in 15008 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 15009 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 15010 esac 15011 ac_MKDIR_P=$MKDIR_P 15012 case $MKDIR_P in 15013 [\\/$]* | ?:[\\/]* ) ;; 15014 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 15015 esac 15016_ACEOF 15017 15018cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15019# If the template does not know about datarootdir, expand it. 15020# FIXME: This hack should be removed a few years after 2.60. 15021ac_datarootdir_hack=; ac_datarootdir_seen= 15022ac_sed_dataroot=' 15023/datarootdir/ { 15024 p 15025 q 15026} 15027/@datadir@/p 15028/@docdir@/p 15029/@infodir@/p 15030/@localedir@/p 15031/@mandir@/p' 15032case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 15033*datarootdir*) ac_datarootdir_seen=yes;; 15034*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 15035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 15036$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 15037_ACEOF 15038cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15039 ac_datarootdir_hack=' 15040 s&@datadir@&$datadir&g 15041 s&@docdir@&$docdir&g 15042 s&@infodir@&$infodir&g 15043 s&@localedir@&$localedir&g 15044 s&@mandir@&$mandir&g 15045 s&\\\${datarootdir}&$datarootdir&g' ;; 15046esac 15047_ACEOF 15048 15049# Neutralize VPATH when `$srcdir' = `.'. 15050# Shell code in configure.ac might set extrasub. 15051# FIXME: do we really want to maintain this feature? 15052cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15053ac_sed_extra="$ac_vpsub 15054$extrasub 15055_ACEOF 15056cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15057:t 15058/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 15059s|@configure_input@|$ac_sed_conf_input|;t t 15060s&@top_builddir@&$ac_top_builddir_sub&;t t 15061s&@top_build_prefix@&$ac_top_build_prefix&;t t 15062s&@srcdir@&$ac_srcdir&;t t 15063s&@abs_srcdir@&$ac_abs_srcdir&;t t 15064s&@top_srcdir@&$ac_top_srcdir&;t t 15065s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 15066s&@builddir@&$ac_builddir&;t t 15067s&@abs_builddir@&$ac_abs_builddir&;t t 15068s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 15069s&@INSTALL@&$ac_INSTALL&;t t 15070s&@MKDIR_P@&$ac_MKDIR_P&;t t 15071$ac_datarootdir_hack 15072" 15073eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 15074 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15075 15076test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15077 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 15078 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 15079 "$ac_tmp/out"`; test -z "$ac_out"; } && 15080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15081which seems to be undefined. Please make sure it is defined" >&5 15082$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15083which seems to be undefined. Please make sure it is defined" >&2;} 15084 15085 rm -f "$ac_tmp/stdin" 15086 case $ac_file in 15087 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 15088 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 15089 esac \ 15090 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15091 ;; 15092 :H) 15093 # 15094 # CONFIG_HEADER 15095 # 15096 if test x"$ac_file" != x-; then 15097 { 15098 $as_echo "/* $configure_input */" \ 15099 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 15100 } >"$ac_tmp/config.h" \ 15101 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15102 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 15103 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 15104$as_echo "$as_me: $ac_file is unchanged" >&6;} 15105 else 15106 rm -f "$ac_file" 15107 mv "$ac_tmp/config.h" "$ac_file" \ 15108 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15109 fi 15110 else 15111 $as_echo "/* $configure_input */" \ 15112 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 15113 || as_fn_error $? "could not create -" "$LINENO" 5 15114 fi 15115# Compute "$ac_file"'s index in $config_headers. 15116_am_arg="$ac_file" 15117_am_stamp_count=1 15118for _am_header in $config_headers :; do 15119 case $_am_header in 15120 $_am_arg | $_am_arg:* ) 15121 break ;; 15122 * ) 15123 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 15124 esac 15125done 15126echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 15127$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15128 X"$_am_arg" : 'X\(//\)[^/]' \| \ 15129 X"$_am_arg" : 'X\(//\)$' \| \ 15130 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 15131$as_echo X"$_am_arg" | 15132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15133 s//\1/ 15134 q 15135 } 15136 /^X\(\/\/\)[^/].*/{ 15137 s//\1/ 15138 q 15139 } 15140 /^X\(\/\/\)$/{ 15141 s//\1/ 15142 q 15143 } 15144 /^X\(\/\).*/{ 15145 s//\1/ 15146 q 15147 } 15148 s/.*/./; q'`/stamp-h$_am_stamp_count 15149 ;; 15150 15151 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 15152$as_echo "$as_me: executing $ac_file commands" >&6;} 15153 ;; 15154 esac 15155 15156 15157 case $ac_file$ac_mode in 15158 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 15159 # Older Autoconf quotes --file arguments for eval, but not when files 15160 # are listed without --file. Let's play safe and only enable the eval 15161 # if we detect the quoting. 15162 case $CONFIG_FILES in 15163 *\'*) eval set x "$CONFIG_FILES" ;; 15164 *) set x $CONFIG_FILES ;; 15165 esac 15166 shift 15167 for mf 15168 do 15169 # Strip MF so we end up with the name of the file. 15170 mf=`echo "$mf" | sed -e 's/:.*$//'` 15171 # Check whether this is an Automake generated Makefile or not. 15172 # We used to match only the files named 'Makefile.in', but 15173 # some people rename them; so instead we look at the file content. 15174 # Grep'ing the first line is not enough: some people post-process 15175 # each Makefile.in and add a new line on top of each file to say so. 15176 # Grep'ing the whole file is not good either: AIX grep has a line 15177 # limit of 2048, but all sed's we know have understand at least 4000. 15178 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 15179 dirpart=`$as_dirname -- "$mf" || 15180$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15181 X"$mf" : 'X\(//\)[^/]' \| \ 15182 X"$mf" : 'X\(//\)$' \| \ 15183 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 15184$as_echo X"$mf" | 15185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15186 s//\1/ 15187 q 15188 } 15189 /^X\(\/\/\)[^/].*/{ 15190 s//\1/ 15191 q 15192 } 15193 /^X\(\/\/\)$/{ 15194 s//\1/ 15195 q 15196 } 15197 /^X\(\/\).*/{ 15198 s//\1/ 15199 q 15200 } 15201 s/.*/./; q'` 15202 else 15203 continue 15204 fi 15205 # Extract the definition of DEPDIR, am__include, and am__quote 15206 # from the Makefile without running 'make'. 15207 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 15208 test -z "$DEPDIR" && continue 15209 am__include=`sed -n 's/^am__include = //p' < "$mf"` 15210 test -z "$am__include" && continue 15211 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 15212 # Find all dependency output files, they are included files with 15213 # $(DEPDIR) in their names. We invoke sed twice because it is the 15214 # simplest approach to changing $(DEPDIR) to its actual value in the 15215 # expansion. 15216 for file in `sed -n " 15217 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 15218 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 15219 # Make sure the directory exists. 15220 test -f "$dirpart/$file" && continue 15221 fdir=`$as_dirname -- "$file" || 15222$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15223 X"$file" : 'X\(//\)[^/]' \| \ 15224 X"$file" : 'X\(//\)$' \| \ 15225 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15226$as_echo X"$file" | 15227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15228 s//\1/ 15229 q 15230 } 15231 /^X\(\/\/\)[^/].*/{ 15232 s//\1/ 15233 q 15234 } 15235 /^X\(\/\/\)$/{ 15236 s//\1/ 15237 q 15238 } 15239 /^X\(\/\).*/{ 15240 s//\1/ 15241 q 15242 } 15243 s/.*/./; q'` 15244 as_dir=$dirpart/$fdir; as_fn_mkdir_p 15245 # echo "creating $dirpart/$file" 15246 echo '# dummy' > "$dirpart/$file" 15247 done 15248 done 15249} 15250 ;; 15251 "libtool":C) 15252 15253 # See if we are running on zsh, and set the options that allow our 15254 # commands through without removal of \ escapes. 15255 if test -n "${ZSH_VERSION+set}"; then 15256 setopt NO_GLOB_SUBST 15257 fi 15258 15259 cfgfile=${ofile}T 15260 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15261 $RM "$cfgfile" 15262 15263 cat <<_LT_EOF >> "$cfgfile" 15264#! $SHELL 15265# Generated automatically by $as_me ($PACKAGE) $VERSION 15266# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15267# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15268 15269# Provide generalized library-building support services. 15270# Written by Gordon Matzigkeit, 1996 15271 15272# Copyright (C) 2014 Free Software Foundation, Inc. 15273# This is free software; see the source for copying conditions. There is NO 15274# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15275 15276# GNU Libtool is free software; you can redistribute it and/or modify 15277# it under the terms of the GNU General Public License as published by 15278# the Free Software Foundation; either version 2 of of the License, or 15279# (at your option) any later version. 15280# 15281# As a special exception to the GNU General Public License, if you 15282# distribute this file as part of a program or library that is built 15283# using GNU Libtool, you may include this file under the same 15284# distribution terms that you use for the rest of that program. 15285# 15286# GNU Libtool is distributed in the hope that it will be useful, but 15287# WITHOUT ANY WARRANTY; without even the implied warranty of 15288# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15289# GNU General Public License for more details. 15290# 15291# You should have received a copy of the GNU General Public License 15292# along with this program. If not, see <http://www.gnu.org/licenses/>. 15293 15294 15295# The names of the tagged configurations supported by this script. 15296available_tags='' 15297 15298# Configured defaults for sys_lib_dlsearch_path munging. 15299: \${LT_SYS_LIBRARY_PATH="$LT_SYS_LIBRARY_PATH"} 15300 15301# ### BEGIN LIBTOOL CONFIG 15302 15303# Which release of libtool.m4 was used? 15304macro_version=$macro_version 15305macro_revision=$macro_revision 15306 15307# Whether or not to build static libraries. 15308build_old_libs=$enable_static 15309 15310# Whether or not to build shared libraries. 15311build_libtool_libs=$enable_shared 15312 15313# What type of objects to build. 15314pic_mode=$pic_mode 15315 15316# Whether or not to optimize for fast installation. 15317fast_install=$enable_fast_install 15318 15319# Shared archive member basename,for filename based shared library versioning on AIX. 15320shared_archive_member_spec=$shared_archive_member_spec 15321 15322# Shell to use when invoking shell scripts. 15323SHELL=$lt_SHELL 15324 15325# An echo program that protects backslashes. 15326ECHO=$lt_ECHO 15327 15328# The PATH separator for the build system. 15329PATH_SEPARATOR=$lt_PATH_SEPARATOR 15330 15331# The host system. 15332host_alias=$host_alias 15333host=$host 15334host_os=$host_os 15335 15336# The build system. 15337build_alias=$build_alias 15338build=$build 15339build_os=$build_os 15340 15341# A sed program that does not truncate output. 15342SED=$lt_SED 15343 15344# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15345Xsed="\$SED -e 1s/^X//" 15346 15347# A grep program that handles long lines. 15348GREP=$lt_GREP 15349 15350# An ERE matcher. 15351EGREP=$lt_EGREP 15352 15353# A literal string matcher. 15354FGREP=$lt_FGREP 15355 15356# A BSD- or MS-compatible name lister. 15357NM=$lt_NM 15358 15359# Whether we need soft or hard links. 15360LN_S=$lt_LN_S 15361 15362# What is the maximum length of a command? 15363max_cmd_len=$max_cmd_len 15364 15365# Object file suffix (normally "o"). 15366objext=$ac_objext 15367 15368# Executable file suffix (normally ""). 15369exeext=$exeext 15370 15371# whether the shell understands "unset". 15372lt_unset=$lt_unset 15373 15374# turn spaces into newlines. 15375SP2NL=$lt_lt_SP2NL 15376 15377# turn newlines into spaces. 15378NL2SP=$lt_lt_NL2SP 15379 15380# convert \$build file names to \$host format. 15381to_host_file_cmd=$lt_cv_to_host_file_cmd 15382 15383# convert \$build files to toolchain format. 15384to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15385 15386# An object symbol dumper. 15387OBJDUMP=$lt_OBJDUMP 15388 15389# Method to check whether dependent libraries are shared objects. 15390deplibs_check_method=$lt_deplibs_check_method 15391 15392# Command to use when deplibs_check_method = "file_magic". 15393file_magic_cmd=$lt_file_magic_cmd 15394 15395# How to find potential files when deplibs_check_method = "file_magic". 15396file_magic_glob=$lt_file_magic_glob 15397 15398# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 15399want_nocaseglob=$lt_want_nocaseglob 15400 15401# DLL creation program. 15402DLLTOOL=$lt_DLLTOOL 15403 15404# Command to associate shared and link libraries. 15405sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 15406 15407# The archiver. 15408AR=$lt_AR 15409 15410# Flags to create an archive. 15411AR_FLAGS=$lt_AR_FLAGS 15412 15413# How to feed a file listing to the archiver. 15414archiver_list_spec=$lt_archiver_list_spec 15415 15416# A symbol stripping program. 15417STRIP=$lt_STRIP 15418 15419# Commands used to install an old-style archive. 15420RANLIB=$lt_RANLIB 15421old_postinstall_cmds=$lt_old_postinstall_cmds 15422old_postuninstall_cmds=$lt_old_postuninstall_cmds 15423 15424# Whether to use a lock for old archive extraction. 15425lock_old_archive_extraction=$lock_old_archive_extraction 15426 15427# A C compiler. 15428LTCC=$lt_CC 15429 15430# LTCC compiler flags. 15431LTCFLAGS=$lt_CFLAGS 15432 15433# Take the output of nm and produce a listing of raw symbols and C names. 15434global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15435 15436# Transform the output of nm in a proper C declaration. 15437global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15438 15439# Transform the output of nm into a list of symbols to manually relocate. 15440global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 15441 15442# Transform the output of nm in a C name address pair. 15443global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15444 15445# Transform the output of nm in a C name address pair when lib prefix is needed. 15446global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15447 15448# The name lister interface. 15449nm_interface=$lt_lt_cv_nm_interface 15450 15451# Specify filename containing input files for \$NM. 15452nm_file_list_spec=$lt_nm_file_list_spec 15453 15454# The root where to search for dependent libraries,and where our libraries should be installed. 15455lt_sysroot=$lt_sysroot 15456 15457# Command to truncate a binary pipe. 15458lt_truncate_bin=$lt_lt_cv_truncate_bin 15459 15460# The name of the directory that contains temporary libtool files. 15461objdir=$objdir 15462 15463# Used to examine libraries when file_magic_cmd begins with "file". 15464MAGIC_CMD=$MAGIC_CMD 15465 15466# Must we lock files when doing compilation? 15467need_locks=$lt_need_locks 15468 15469# Manifest tool. 15470MANIFEST_TOOL=$lt_MANIFEST_TOOL 15471 15472# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15473DSYMUTIL=$lt_DSYMUTIL 15474 15475# Tool to change global to local symbols on Mac OS X. 15476NMEDIT=$lt_NMEDIT 15477 15478# Tool to manipulate fat objects and archives on Mac OS X. 15479LIPO=$lt_LIPO 15480 15481# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15482OTOOL=$lt_OTOOL 15483 15484# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15485OTOOL64=$lt_OTOOL64 15486 15487# Old archive suffix (normally "a"). 15488libext=$libext 15489 15490# Shared library suffix (normally ".so"). 15491shrext_cmds=$lt_shrext_cmds 15492 15493# The commands to extract the exported symbol list from a shared archive. 15494extract_expsyms_cmds=$lt_extract_expsyms_cmds 15495 15496# Variables whose values should be saved in libtool wrapper scripts and 15497# restored at link time. 15498variables_saved_for_relink=$lt_variables_saved_for_relink 15499 15500# Do we need the "lib" prefix for modules? 15501need_lib_prefix=$need_lib_prefix 15502 15503# Do we need a version for libraries? 15504need_version=$need_version 15505 15506# Library versioning type. 15507version_type=$version_type 15508 15509# Shared library runtime path variable. 15510runpath_var=$runpath_var 15511 15512# Shared library path variable. 15513shlibpath_var=$shlibpath_var 15514 15515# Is shlibpath searched before the hard-coded library search path? 15516shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15517 15518# Format of library name prefix. 15519libname_spec=$lt_libname_spec 15520 15521# List of archive names. First name is the real one, the rest are links. 15522# The last name is the one that the linker finds with -lNAME 15523library_names_spec=$lt_library_names_spec 15524 15525# The coded name of the library, if different from the real name. 15526soname_spec=$lt_soname_spec 15527 15528# Permission mode override for installation of shared libraries. 15529install_override_mode=$lt_install_override_mode 15530 15531# Command to use after installation of a shared archive. 15532postinstall_cmds=$lt_postinstall_cmds 15533 15534# Command to use after uninstallation of a shared archive. 15535postuninstall_cmds=$lt_postuninstall_cmds 15536 15537# Commands used to finish a libtool library installation in a directory. 15538finish_cmds=$lt_finish_cmds 15539 15540# As "finish_cmds", except a single script fragment to be evaled but 15541# not shown. 15542finish_eval=$lt_finish_eval 15543 15544# Whether we should hardcode library paths into libraries. 15545hardcode_into_libs=$hardcode_into_libs 15546 15547# Compile-time system search path for libraries. 15548sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15549 15550# Run-time system search path for libraries. 15551sys_lib_dlsearch_path_spec=$lt_lt_cv_sys_lib_dlsearch_path_spec 15552 15553# Whether dlopen is supported. 15554dlopen_support=$enable_dlopen 15555 15556# Whether dlopen of programs is supported. 15557dlopen_self=$enable_dlopen_self 15558 15559# Whether dlopen of statically linked programs is supported. 15560dlopen_self_static=$enable_dlopen_self_static 15561 15562# Commands to strip libraries. 15563old_striplib=$lt_old_striplib 15564striplib=$lt_striplib 15565 15566 15567# The linker used to build libraries. 15568LD=$lt_LD 15569 15570# How to create reloadable object files. 15571reload_flag=$lt_reload_flag 15572reload_cmds=$lt_reload_cmds 15573 15574# Commands used to build an old-style archive. 15575old_archive_cmds=$lt_old_archive_cmds 15576 15577# A language specific compiler. 15578CC=$lt_compiler 15579 15580# Is the compiler the GNU compiler? 15581with_gcc=$GCC 15582 15583# Compiler flag to turn off builtin functions. 15584no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15585 15586# Additional compiler flags for building library objects. 15587pic_flag=$lt_lt_prog_compiler_pic 15588 15589# How to pass a linker flag through the compiler. 15590wl=$lt_lt_prog_compiler_wl 15591 15592# Compiler flag to prevent dynamic linking. 15593link_static_flag=$lt_lt_prog_compiler_static 15594 15595# Does compiler simultaneously support -c and -o options? 15596compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15597 15598# Whether or not to add -lc for building shared libraries. 15599build_libtool_need_lc=$archive_cmds_need_lc 15600 15601# Whether or not to disallow shared libs when runtime libs are static. 15602allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15603 15604# Compiler flag to allow reflexive dlopens. 15605export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15606 15607# Compiler flag to generate shared objects directly from archives. 15608whole_archive_flag_spec=$lt_whole_archive_flag_spec 15609 15610# Whether the compiler copes with passing no objects directly. 15611compiler_needs_object=$lt_compiler_needs_object 15612 15613# Create an old-style archive from a shared archive. 15614old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15615 15616# Create a temporary old-style archive to link instead of a shared archive. 15617old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15618 15619# Commands used to build a shared archive. 15620archive_cmds=$lt_archive_cmds 15621archive_expsym_cmds=$lt_archive_expsym_cmds 15622 15623# Commands used to build a loadable module if different from building 15624# a shared archive. 15625module_cmds=$lt_module_cmds 15626module_expsym_cmds=$lt_module_expsym_cmds 15627 15628# Whether we are building with GNU ld or not. 15629with_gnu_ld=$lt_with_gnu_ld 15630 15631# Flag that allows shared libraries with undefined symbols to be built. 15632allow_undefined_flag=$lt_allow_undefined_flag 15633 15634# Flag that enforces no undefined symbols. 15635no_undefined_flag=$lt_no_undefined_flag 15636 15637# Flag to hardcode \$libdir into a binary during linking. 15638# This must work even if \$libdir does not exist 15639hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15640 15641# Whether we need a single "-rpath" flag with a separated argument. 15642hardcode_libdir_separator=$lt_hardcode_libdir_separator 15643 15644# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 15645# DIR into the resulting binary. 15646hardcode_direct=$hardcode_direct 15647 15648# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 15649# DIR into the resulting binary and the resulting library dependency is 15650# "absolute",i.e impossible to change by setting \$shlibpath_var if the 15651# library is relocated. 15652hardcode_direct_absolute=$hardcode_direct_absolute 15653 15654# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15655# into the resulting binary. 15656hardcode_minus_L=$hardcode_minus_L 15657 15658# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15659# into the resulting binary. 15660hardcode_shlibpath_var=$hardcode_shlibpath_var 15661 15662# Set to "yes" if building a shared library automatically hardcodes DIR 15663# into the library and all subsequent libraries and executables linked 15664# against it. 15665hardcode_automatic=$hardcode_automatic 15666 15667# Set to yes if linker adds runtime paths of dependent libraries 15668# to runtime path list. 15669inherit_rpath=$inherit_rpath 15670 15671# Whether libtool must link a program against all its dependency libraries. 15672link_all_deplibs=$link_all_deplibs 15673 15674# Set to "yes" if exported symbols are required. 15675always_export_symbols=$always_export_symbols 15676 15677# The commands to list exported symbols. 15678export_symbols_cmds=$lt_export_symbols_cmds 15679 15680# Symbols that should not be listed in the preloaded symbols. 15681exclude_expsyms=$lt_exclude_expsyms 15682 15683# Symbols that must always be exported. 15684include_expsyms=$lt_include_expsyms 15685 15686# Commands necessary for linking programs (against libraries) with templates. 15687prelink_cmds=$lt_prelink_cmds 15688 15689# Commands necessary for finishing linking programs. 15690postlink_cmds=$lt_postlink_cmds 15691 15692# Specify filename containing input files. 15693file_list_spec=$lt_file_list_spec 15694 15695# How to hardcode a shared library path into an executable. 15696hardcode_action=$hardcode_action 15697 15698# ### END LIBTOOL CONFIG 15699 15700_LT_EOF 15701 15702 cat <<'_LT_EOF' >> "$cfgfile" 15703 15704# func_munge_path_list VARIABLE PATH 15705# ----------------------------------- 15706# VARIABLE is name of variable containing _space_ separated list of 15707# directories to be munged by the contents of PATH, which is string 15708# having a format: 15709# "DIR[:DIR]:" 15710# string "DIR[ DIR]" will be prepended to VARIABLE 15711# ":DIR[:DIR]" 15712# string "DIR[ DIR]" will be appended to VARIABLE 15713# "DIRP[:DIRP]::[DIRA:]DIRA" 15714# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 15715# "DIRA[ DIRA]" will be appended to VARIABLE 15716# "DIR[:DIR]" 15717# VARIABLE will be replaced by "DIR[ DIR]" 15718func_munge_path_list () 15719{ 15720 case x$2 in 15721 x) 15722 ;; 15723 *:) 15724 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \S|@1\" 15725 ;; 15726 x:*) 15727 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 15728 ;; 15729 *::*) 15730 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 15731 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 15732 ;; 15733 *) 15734 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 15735 ;; 15736 esac 15737} 15738 15739 15740# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 15741func_cc_basename () 15742{ 15743 for cc_temp in $*""; do 15744 case $cc_temp in 15745 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 15746 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 15747 \-*) ;; 15748 *) break;; 15749 esac 15750 done 15751 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 15752} 15753 15754 15755_LT_EOF 15756 15757 case $host_os in 15758 aix3*) 15759 cat <<\_LT_EOF >> "$cfgfile" 15760# AIX sometimes has problems with the GCC collect2 program. For some 15761# reason, if we set the COLLECT_NAMES environment variable, the problems 15762# vanish in a puff of smoke. 15763if test set != "${COLLECT_NAMES+set}"; then 15764 COLLECT_NAMES= 15765 export COLLECT_NAMES 15766fi 15767_LT_EOF 15768 ;; 15769 esac 15770 15771 15772ltmain=$ac_aux_dir/ltmain.sh 15773 15774 15775 # We use sed instead of cat because bash on DJGPP gets confused if 15776 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15777 # text mode, it properly converts lines to CR/LF. This bash problem 15778 # is reportedly fixed, but why not run on old versions too? 15779 sed '$q' "$ltmain" >> "$cfgfile" \ 15780 || (rm -f "$cfgfile"; exit 1) 15781 15782 mv -f "$cfgfile" "$ofile" || 15783 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15784 chmod +x "$ofile" 15785 15786 ;; 15787 15788 esac 15789done # for ac_tag 15790 15791 15792as_fn_exit 0 15793_ACEOF 15794ac_clean_files=$ac_clean_files_save 15795 15796test $ac_write_fail = 0 || 15797 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 15798 15799 15800# configure is writing to config.log, and then calls config.status. 15801# config.status does its own redirection, appending to config.log. 15802# Unfortunately, on DOS this fails, as config.log is still kept open 15803# by configure, so config.status won't be able to write to it; its 15804# output is simply discarded. So we exec the FD to /dev/null, 15805# effectively closing config.log, so it can be properly (re)opened and 15806# appended to by config.status. When coming back to configure, we 15807# need to make the FD available again. 15808if test "$no_create" != yes; then 15809 ac_cs_success=: 15810 ac_config_status_args= 15811 test "$silent" = yes && 15812 ac_config_status_args="$ac_config_status_args --quiet" 15813 exec 5>/dev/null 15814 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15815 exec 5>>config.log 15816 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15817 # would make configure fail if this is the last instruction. 15818 $ac_cs_success || as_fn_exit 1 15819fi 15820if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15822$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15823fi 15824 15825 15826echo 15827echo "Build Configuration:" 15828echo 15829echo "* Gtk 2 Engine: $GTK2_FOUND" 15830echo "* Gtk 3 Engine: $GTK3_FOUND" 15831echo 15832echo "* Install Prefix: $prefix" 15833echo "* Debug Support: $enable_debug" 15834echo 15835