1#! /bin/sh 2# From configure.ac 4095dd7. 3# Guess values for system-dependent variables and create Makefiles. 4# Generated by GNU Autoconf 2.69 for Xfce4 Taskmanager 1.4.2. 5# 6# Report bugs to <http://bugzilla.xfce.org/>. 7# 8# Copyright (c) 2006-2008 9# The Xfce development team. All rights reserved. 10# 11# 12# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 13# 14# 15# This configure script is free software; the Free Software Foundation 16# gives unlimited permission to copy, distribute and modify it. 17## -------------------- ## 18## M4sh Initialization. ## 19## -------------------- ## 20 21# Be more Bourne compatible 22DUALCASE=1; export DUALCASE # for MKS sh 23if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 24 emulate sh 25 NULLCMD=: 26 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 27 # is contrary to our usage. Disable this feature. 28 alias -g '${1+"$@"}'='"$@"' 29 setopt NO_GLOB_SUBST 30else 31 case `(set -o) 2>/dev/null` in #( 32 *posix*) : 33 set -o posix ;; #( 34 *) : 35 ;; 36esac 37fi 38 39 40as_nl=' 41' 42export as_nl 43# Printing a long string crashes Solaris 7 /usr/bin/printf. 44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47# Prefer a ksh shell builtin over an external printf program on Solaris, 48# but without wasting forks for bash or zsh. 49if test -z "$BASH_VERSION$ZSH_VERSION" \ 50 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 51 as_echo='print -r --' 52 as_echo_n='print -rn --' 53elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 54 as_echo='printf %s\n' 55 as_echo_n='printf %s' 56else 57 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 58 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 59 as_echo_n='/usr/ucb/echo -n' 60 else 61 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 62 as_echo_n_body='eval 63 arg=$1; 64 case $arg in #( 65 *"$as_nl"*) 66 expr "X$arg" : "X\\(.*\\)$as_nl"; 67 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 68 esac; 69 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 70 ' 71 export as_echo_n_body 72 as_echo_n='sh -c $as_echo_n_body as_echo' 73 fi 74 export as_echo_body 75 as_echo='sh -c $as_echo_body as_echo' 76fi 77 78# The user is always right. 79if test "${PATH_SEPARATOR+set}" != set; then 80 PATH_SEPARATOR=: 81 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 82 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 83 PATH_SEPARATOR=';' 84 } 85fi 86 87 88# IFS 89# We need space, tab and new line, in precisely that order. Quoting is 90# there to prevent editors from complaining about space-tab. 91# (If _AS_PATH_WALK were called with IFS unset, it would disable word 92# splitting by setting IFS to empty value.) 93IFS=" "" $as_nl" 94 95# Find who we are. Look in the path if we contain no directory separator. 96as_myself= 97case $0 in #(( 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 100for as_dir in $PATH 101do 102 IFS=$as_save_IFS 103 test -z "$as_dir" && as_dir=. 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 105 done 106IFS=$as_save_IFS 107 108 ;; 109esac 110# We did not find ourselves, most probably we were run as `sh COMMAND' 111# in which case we are not to be found in the path. 112if test "x$as_myself" = x; then 113 as_myself=$0 114fi 115if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 exit 1 118fi 119 120# Unset variables that we do not need and which cause bugs (e.g. in 121# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 122# suppresses any "Segmentation fault" message there. '((' could 123# trigger a bug in pdksh 5.2.14. 124for as_var in BASH_ENV ENV MAIL MAILPATH 125do eval test x\${$as_var+set} = xset \ 126 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 127done 128PS1='$ ' 129PS2='> ' 130PS4='+ ' 131 132# NLS nuisances. 133LC_ALL=C 134export LC_ALL 135LANGUAGE=C 136export LANGUAGE 137 138# CDPATH. 139(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 140 141# Use a proper internal environment variable to ensure we don't fall 142 # into an infinite loop, continuously re-executing ourselves. 143 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 144 _as_can_reexec=no; export _as_can_reexec; 145 # We cannot yet assume a decent shell, so we have to provide a 146# neutralization value for shells without unset; and this also 147# works around shells that cannot unset nonexistent variables. 148# Preserve -v and -x to the replacement shell. 149BASH_ENV=/dev/null 150ENV=/dev/null 151(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 152case $- in # (((( 153 *v*x* | *x*v* ) as_opts=-vx ;; 154 *v* ) as_opts=-v ;; 155 *x* ) as_opts=-x ;; 156 * ) as_opts= ;; 157esac 158exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 159# Admittedly, this is quite paranoid, since all the known shells bail 160# out after a failed `exec'. 161$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 162as_fn_exit 255 163 fi 164 # We don't want this to propagate to other subprocesses. 165 { _as_can_reexec=; unset _as_can_reexec;} 166if test "x$CONFIG_SHELL" = x; then 167 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 168 emulate sh 169 NULLCMD=: 170 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 171 # is contrary to our usage. Disable this feature. 172 alias -g '\${1+\"\$@\"}'='\"\$@\"' 173 setopt NO_GLOB_SUBST 174else 175 case \`(set -o) 2>/dev/null\` in #( 176 *posix*) : 177 set -o posix ;; #( 178 *) : 179 ;; 180esac 181fi 182" 183 as_required="as_fn_return () { (exit \$1); } 184as_fn_success () { as_fn_return 0; } 185as_fn_failure () { as_fn_return 1; } 186as_fn_ret_success () { return 0; } 187as_fn_ret_failure () { return 1; } 188 189exitcode=0 190as_fn_success || { exitcode=1; echo as_fn_success failed.; } 191as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 192as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 193as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 194if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 195 196else 197 exitcode=1; echo positional parameters were not saved. 198fi 199test x\$exitcode = x0 || exit 1 200test -x / || exit 1" 201 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 202 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 203 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 204 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 205 206 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 207 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 208 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 209 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 210 PATH=/empty FPATH=/empty; export PATH FPATH 211 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 212 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 213test \$(( 1 + 1 )) = 2 || exit 1" 214 if (eval "$as_required") 2>/dev/null; then : 215 as_have_required=yes 216else 217 as_have_required=no 218fi 219 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 220 221else 222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 223as_found=false 224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225do 226 IFS=$as_save_IFS 227 test -z "$as_dir" && as_dir=. 228 as_found=: 229 case $as_dir in #( 230 /*) 231 for as_base in sh bash ksh sh5; do 232 # Try only shells that exist, to save several forks. 233 as_shell=$as_dir/$as_base 234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 235 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 236 CONFIG_SHELL=$as_shell as_have_required=yes 237 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 238 break 2 239fi 240fi 241 done;; 242 esac 243 as_found=false 244done 245$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 246 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 247 CONFIG_SHELL=$SHELL as_have_required=yes 248fi; } 249IFS=$as_save_IFS 250 251 252 if test "x$CONFIG_SHELL" != x; then : 253 export CONFIG_SHELL 254 # We cannot yet assume a decent shell, so we have to provide a 255# neutralization value for shells without unset; and this also 256# works around shells that cannot unset nonexistent variables. 257# Preserve -v and -x to the replacement shell. 258BASH_ENV=/dev/null 259ENV=/dev/null 260(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 261case $- in # (((( 262 *v*x* | *x*v* ) as_opts=-vx ;; 263 *v* ) as_opts=-v ;; 264 *x* ) as_opts=-x ;; 265 * ) as_opts= ;; 266esac 267exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 268# Admittedly, this is quite paranoid, since all the known shells bail 269# out after a failed `exec'. 270$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 271exit 255 272fi 273 274 if test x$as_have_required = xno; then : 275 $as_echo "$0: This script requires a shell more modern than all" 276 $as_echo "$0: the shells that I found on your system." 277 if test x${ZSH_VERSION+set} = xset ; then 278 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 279 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 280 else 281 $as_echo "$0: Please tell bug-autoconf@gnu.org and 282$0: http://bugzilla.xfce.org/ about your system, including 283$0: any error possibly output before this message. Then 284$0: install a modern shell, or manually run the script 285$0: under such a shell if you do have one." 286 fi 287 exit 1 288fi 289fi 290fi 291SHELL=${CONFIG_SHELL-/bin/sh} 292export SHELL 293# Unset more variables known to interfere with behavior of common tools. 294CLICOLOR_FORCE= GREP_OPTIONS= 295unset CLICOLOR_FORCE GREP_OPTIONS 296 297## --------------------- ## 298## M4sh Shell Functions. ## 299## --------------------- ## 300# as_fn_unset VAR 301# --------------- 302# Portably unset VAR. 303as_fn_unset () 304{ 305 { eval $1=; unset $1;} 306} 307as_unset=as_fn_unset 308 309# as_fn_set_status STATUS 310# ----------------------- 311# Set $? to STATUS, without forking. 312as_fn_set_status () 313{ 314 return $1 315} # as_fn_set_status 316 317# as_fn_exit STATUS 318# ----------------- 319# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 320as_fn_exit () 321{ 322 set +e 323 as_fn_set_status $1 324 exit $1 325} # as_fn_exit 326 327# as_fn_mkdir_p 328# ------------- 329# Create "$as_dir" as a directory, including parents if necessary. 330as_fn_mkdir_p () 331{ 332 333 case $as_dir in #( 334 -*) as_dir=./$as_dir;; 335 esac 336 test -d "$as_dir" || eval $as_mkdir_p || { 337 as_dirs= 338 while :; do 339 case $as_dir in #( 340 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 341 *) as_qdir=$as_dir;; 342 esac 343 as_dirs="'$as_qdir' $as_dirs" 344 as_dir=`$as_dirname -- "$as_dir" || 345$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 346 X"$as_dir" : 'X\(//\)[^/]' \| \ 347 X"$as_dir" : 'X\(//\)$' \| \ 348 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 349$as_echo X"$as_dir" | 350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)[^/].*/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\/\)$/{ 359 s//\1/ 360 q 361 } 362 /^X\(\/\).*/{ 363 s//\1/ 364 q 365 } 366 s/.*/./; q'` 367 test -d "$as_dir" && break 368 done 369 test -z "$as_dirs" || eval "mkdir $as_dirs" 370 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 371 372 373} # as_fn_mkdir_p 374 375# as_fn_executable_p FILE 376# ----------------------- 377# Test if FILE is an executable regular file. 378as_fn_executable_p () 379{ 380 test -f "$1" && test -x "$1" 381} # as_fn_executable_p 382# as_fn_append VAR VALUE 383# ---------------------- 384# Append the text in VALUE to the end of the definition contained in VAR. Take 385# advantage of any shell optimizations that allow amortized linear growth over 386# repeated appends, instead of the typical quadratic growth present in naive 387# implementations. 388if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 389 eval 'as_fn_append () 390 { 391 eval $1+=\$2 392 }' 393else 394 as_fn_append () 395 { 396 eval $1=\$$1\$2 397 } 398fi # as_fn_append 399 400# as_fn_arith ARG... 401# ------------------ 402# Perform arithmetic evaluation on the ARGs, and store the result in the 403# global $as_val. Take advantage of shells that can avoid forks. The arguments 404# must be portable across $(()) and expr. 405if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 406 eval 'as_fn_arith () 407 { 408 as_val=$(( $* )) 409 }' 410else 411 as_fn_arith () 412 { 413 as_val=`expr "$@" || test $? -eq 1` 414 } 415fi # as_fn_arith 416 417 418# as_fn_error STATUS ERROR [LINENO LOG_FD] 419# ---------------------------------------- 420# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 421# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 422# script with STATUS, using 1 if that was 0. 423as_fn_error () 424{ 425 as_status=$1; test $as_status -eq 0 && as_status=1 426 if test "$4"; then 427 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 428 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 429 fi 430 $as_echo "$as_me: error: $2" >&2 431 as_fn_exit $as_status 432} # as_fn_error 433 434if expr a : '\(a\)' >/dev/null 2>&1 && 435 test "X`expr 00001 : '.*\(...\)'`" = X001; then 436 as_expr=expr 437else 438 as_expr=false 439fi 440 441if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 442 as_basename=basename 443else 444 as_basename=false 445fi 446 447if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 448 as_dirname=dirname 449else 450 as_dirname=false 451fi 452 453as_me=`$as_basename -- "$0" || 454$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 455 X"$0" : 'X\(//\)$' \| \ 456 X"$0" : 'X\(/\)' \| . 2>/dev/null || 457$as_echo X/"$0" | 458 sed '/^.*\/\([^/][^/]*\)\/*$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\/\)$/{ 463 s//\1/ 464 q 465 } 466 /^X\/\(\/\).*/{ 467 s//\1/ 468 q 469 } 470 s/.*/./; q'` 471 472# Avoid depending upon Character Ranges. 473as_cr_letters='abcdefghijklmnopqrstuvwxyz' 474as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 475as_cr_Letters=$as_cr_letters$as_cr_LETTERS 476as_cr_digits='0123456789' 477as_cr_alnum=$as_cr_Letters$as_cr_digits 478 479 480 as_lineno_1=$LINENO as_lineno_1a=$LINENO 481 as_lineno_2=$LINENO as_lineno_2a=$LINENO 482 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 483 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 484 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 485 sed -n ' 486 p 487 /[$]LINENO/= 488 ' <$as_myself | 489 sed ' 490 s/[$]LINENO.*/&-/ 491 t lineno 492 b 493 :lineno 494 N 495 :loop 496 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 497 t loop 498 s/-\n.*// 499 ' >$as_me.lineno && 500 chmod +x "$as_me.lineno" || 501 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 502 503 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 504 # already done that, so ensure we don't try to do so again and fall 505 # in an infinite loop. This has already happened in practice. 506 _as_can_reexec=no; export _as_can_reexec 507 # Don't try to exec as it changes $[0], causing all sort of problems 508 # (the dirname of $[0] is not the place where we might find the 509 # original and so on. Autoconf is especially sensitive to this). 510 . "./$as_me.lineno" 511 # Exit status is that of the last command. 512 exit 513} 514 515ECHO_C= ECHO_N= ECHO_T= 516case `echo -n x` in #((((( 517-n*) 518 case `echo 'xy\c'` in 519 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 520 xy) ECHO_C='\c';; 521 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 522 ECHO_T=' ';; 523 esac;; 524*) 525 ECHO_N='-n';; 526esac 527 528rm -f conf$$ conf$$.exe conf$$.file 529if test -d conf$$.dir; then 530 rm -f conf$$.dir/conf$$.file 531else 532 rm -f conf$$.dir 533 mkdir conf$$.dir 2>/dev/null 534fi 535if (echo >conf$$.file) 2>/dev/null; then 536 if ln -s conf$$.file conf$$ 2>/dev/null; then 537 as_ln_s='ln -s' 538 # ... but there are two gotchas: 539 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 540 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 541 # In both cases, we have to default to `cp -pR'. 542 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 543 as_ln_s='cp -pR' 544 elif ln conf$$.file conf$$ 2>/dev/null; then 545 as_ln_s=ln 546 else 547 as_ln_s='cp -pR' 548 fi 549else 550 as_ln_s='cp -pR' 551fi 552rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 553rmdir conf$$.dir 2>/dev/null 554 555if mkdir -p . 2>/dev/null; then 556 as_mkdir_p='mkdir -p "$as_dir"' 557else 558 test -d ./-p && rmdir ./-p 559 as_mkdir_p=false 560fi 561 562as_test_x='test -x' 563as_executable_p=as_fn_executable_p 564 565# Sed expression to map a string onto a valid CPP name. 566as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 567 568# Sed expression to map a string onto a valid variable name. 569as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 570 571SHELL=${CONFIG_SHELL-/bin/sh} 572 573 574test -n "$DJDIR" || exec 7<&0 </dev/null 575exec 6>&1 576 577# Name of the host. 578# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 579# so uname gets run too. 580ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 581 582# 583# Initializations. 584# 585ac_default_prefix=/usr/local 586ac_clean_files= 587ac_config_libobj_dir=. 588LIBOBJS= 589cross_compiling=no 590subdirs= 591MFLAGS= 592MAKEFLAGS= 593 594# Identity of this package. 595PACKAGE_NAME='Xfce4 Taskmanager' 596PACKAGE_TARNAME='xfce4-taskmanager' 597PACKAGE_VERSION='1.4.2' 598PACKAGE_STRING='Xfce4 Taskmanager 1.4.2' 599PACKAGE_BUGREPORT='http://bugzilla.xfce.org/' 600PACKAGE_URL='http://goodies.xfce.org/projects/applications/xfce4-taskmanager' 601 602# Factoring default headers for most tests. 603ac_includes_default="\ 604#include <stdio.h> 605#ifdef HAVE_SYS_TYPES_H 606# include <sys/types.h> 607#endif 608#ifdef HAVE_SYS_STAT_H 609# include <sys/stat.h> 610#endif 611#ifdef STDC_HEADERS 612# include <stdlib.h> 613# include <stddef.h> 614#else 615# ifdef HAVE_STDLIB_H 616# include <stdlib.h> 617# endif 618#endif 619#ifdef HAVE_STRING_H 620# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 621# include <memory.h> 622# endif 623# include <string.h> 624#endif 625#ifdef HAVE_STRINGS_H 626# include <strings.h> 627#endif 628#ifdef HAVE_INTTYPES_H 629# include <inttypes.h> 630#endif 631#ifdef HAVE_STDINT_H 632# include <stdint.h> 633#endif 634#ifdef HAVE_UNISTD_H 635# include <unistd.h> 636#endif" 637 638ac_subst_vars='am__EXEEXT_FALSE 639am__EXEEXT_TRUE 640LTLIBOBJS 641LIBOBJS 642OS_SKEL_FALSE 643OS_SKEL_TRUE 644OS_LINUX_FALSE 645OS_LINUX_TRUE 646OS_SOLARIS_FALSE 647OS_SOLARIS_TRUE 648OS_BSD_FALSE 649OS_BSD_TRUE 650OS_FREEBSD_FALSE 651OS_FREEBSD_TRUE 652HAVE_WNCK_FALSE 653HAVE_WNCK_TRUE 654WNCK_REQUIRED_VERSION 655WNCK_LIBS 656WNCK_CFLAGS 657WNCK_VERSION 658CAIRO_REQUIRED_VERSION 659CAIRO_LIBS 660CAIRO_CFLAGS 661CAIRO_VERSION 662GTK3_REQUIRED_VERSION 663GTK3_LIBS 664GTK3_CFLAGS 665GTK3_VERSION 666LIBXMU_REQUIRED_VERSION 667LIBXMU_LIBS 668LIBXMU_CFLAGS 669LIBXMU_VERSION 670PKG_CONFIG_LIBDIR 671PKG_CONFIG_PATH 672PKG_CONFIG 673LIBX11_LIBS 674LIBX11_LDFLAGS 675LIBX11_CFLAGS 676X_EXTRA_LIBS 677X_LIBS 678X_PRE_LIBS 679X_CFLAGS 680XMKMF 681XGETTEXT_ARGS 682MKINSTALLDIRS 683POSUB 684POFILES 685PO_IN_DATADIR_FALSE 686PO_IN_DATADIR_TRUE 687INTLLIBS 688INSTOBJEXT 689GMOFILES 690DATADIRNAME 691CATOBJEXT 692CATALOGS 693MSGFMT_OPTS 694INTL_MACOSX_LIBS 695GETTEXT_PACKAGE 696ALL_LINGUAS 697INTLTOOL_PERL 698GMSGFMT 699MSGFMT 700MSGMERGE 701XGETTEXT 702INTLTOOL_POLICY_RULE 703INTLTOOL_SERVICE_RULE 704INTLTOOL_THEME_RULE 705INTLTOOL_SCHEMAS_RULE 706INTLTOOL_CAVES_RULE 707INTLTOOL_XML_NOMERGE_RULE 708INTLTOOL_XML_RULE 709INTLTOOL_KBD_RULE 710INTLTOOL_XAM_RULE 711INTLTOOL_UI_RULE 712INTLTOOL_SOUNDLIST_RULE 713INTLTOOL_SHEET_RULE 714INTLTOOL_SERVER_RULE 715INTLTOOL_PONG_RULE 716INTLTOOL_OAF_RULE 717INTLTOOL_PROP_RULE 718INTLTOOL_KEYS_RULE 719INTLTOOL_DIRECTORY_RULE 720INTLTOOL_DESKTOP_RULE 721intltool__v_merge_options_0 722intltool__v_merge_options_ 723INTLTOOL_V_MERGE_OPTIONS 724INTLTOOL__v_MERGE_0 725INTLTOOL__v_MERGE_ 726INTLTOOL_V_MERGE 727INTLTOOL_EXTRACT 728INTLTOOL_MERGE 729INTLTOOL_UPDATE 730USE_NLS 731CPP 732LT_SYS_LIBRARY_PATH 733OTOOL64 734OTOOL 735LIPO 736NMEDIT 737DSYMUTIL 738MANIFEST_TOOL 739RANLIB 740ac_ct_AR 741AR 742DLLTOOL 743OBJDUMP 744LN_S 745NM 746ac_ct_DUMPBIN 747DUMPBIN 748LD 749FGREP 750EGREP 751GREP 752SED 753am__fastdepCC_FALSE 754am__fastdepCC_TRUE 755CCDEPMODE 756am__nodep 757AMDEPBACKSLASH 758AMDEP_FALSE 759AMDEP_TRUE 760am__include 761DEPDIR 762OBJEXT 763EXEEXT 764ac_ct_CC 765CPPFLAGS 766LDFLAGS 767CFLAGS 768CC 769LIBTOOL 770MAINT 771MAINTAINER_MODE_FALSE 772MAINTAINER_MODE_TRUE 773AM_BACKSLASH 774AM_DEFAULT_VERBOSITY 775AM_DEFAULT_V 776AM_V 777am__untar 778am__tar 779AMTAR 780am__leading_dot 781SET_MAKE 782AWK 783mkdir_p 784MKDIR_P 785INSTALL_STRIP_PROGRAM 786STRIP 787install_sh 788MAKEINFO 789AUTOHEADER 790AUTOMAKE 791AUTOCONF 792ACLOCAL 793VERSION 794PACKAGE 795CYGPATH_W 796am__isrc 797INSTALL_DATA 798INSTALL_SCRIPT 799INSTALL_PROGRAM 800target_os 801target_vendor 802target_cpu 803target 804host_os 805host_vendor 806host_cpu 807host 808build_os 809build_vendor 810build_cpu 811build 812target_alias 813host_alias 814build_alias 815LIBS 816ECHO_T 817ECHO_N 818ECHO_C 819DEFS 820mandir 821localedir 822libdir 823psdir 824pdfdir 825dvidir 826htmldir 827infodir 828docdir 829oldincludedir 830includedir 831runstatedir 832localstatedir 833sharedstatedir 834sysconfdir 835datadir 836datarootdir 837libexecdir 838sbindir 839bindir 840program_transform_name 841prefix 842exec_prefix 843PACKAGE_URL 844PACKAGE_BUGREPORT 845PACKAGE_STRING 846PACKAGE_VERSION 847PACKAGE_TARNAME 848PACKAGE_NAME 849PATH_SEPARATOR 850SHELL 851am__quote' 852ac_subst_files='' 853ac_user_opts=' 854enable_option_checking 855enable_silent_rules 856enable_maintainer_mode 857enable_static 858enable_shared 859with_pic 860enable_fast_install 861with_aix_soname 862enable_dependency_tracking 863with_gnu_ld 864with_sysroot 865enable_libtool_lock 866enable_nls 867with_locales_dir 868with_x 869enable_wnck3 870with_skel 871enable_debug 872' 873 ac_precious_vars='build_alias 874host_alias 875target_alias 876CC 877CFLAGS 878LDFLAGS 879LIBS 880CPPFLAGS 881LT_SYS_LIBRARY_PATH 882CPP 883XMKMF 884PKG_CONFIG 885PKG_CONFIG_PATH 886PKG_CONFIG_LIBDIR' 887 888 889# Initialize some variables set by options. 890ac_init_help= 891ac_init_version=false 892ac_unrecognized_opts= 893ac_unrecognized_sep= 894# The variables have the same names as the options, with 895# dashes changed to underlines. 896cache_file=/dev/null 897exec_prefix=NONE 898no_create= 899no_recursion= 900prefix=NONE 901program_prefix=NONE 902program_suffix=NONE 903program_transform_name=s,x,x, 904silent= 905site= 906srcdir= 907verbose= 908x_includes=NONE 909x_libraries=NONE 910 911# Installation directory options. 912# These are left unexpanded so users can "make install exec_prefix=/foo" 913# and all the variables that are supposed to be based on exec_prefix 914# by default will actually change. 915# Use braces instead of parens because sh, perl, etc. also accept them. 916# (The list follows the same order as the GNU Coding Standards.) 917bindir='${exec_prefix}/bin' 918sbindir='${exec_prefix}/sbin' 919libexecdir='${exec_prefix}/libexec' 920datarootdir='${prefix}/share' 921datadir='${datarootdir}' 922sysconfdir='${prefix}/etc' 923sharedstatedir='${prefix}/com' 924localstatedir='${prefix}/var' 925runstatedir='${localstatedir}/run' 926includedir='${prefix}/include' 927oldincludedir='/usr/include' 928docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 929infodir='${datarootdir}/info' 930htmldir='${docdir}' 931dvidir='${docdir}' 932pdfdir='${docdir}' 933psdir='${docdir}' 934libdir='${exec_prefix}/lib' 935localedir='${datarootdir}/locale' 936mandir='${datarootdir}/man' 937 938ac_prev= 939ac_dashdash= 940for ac_option 941do 942 # If the previous option needs an argument, assign it. 943 if test -n "$ac_prev"; then 944 eval $ac_prev=\$ac_option 945 ac_prev= 946 continue 947 fi 948 949 case $ac_option in 950 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 951 *=) ac_optarg= ;; 952 *) ac_optarg=yes ;; 953 esac 954 955 # Accept the important Cygnus configure options, so we can diagnose typos. 956 957 case $ac_dashdash$ac_option in 958 --) 959 ac_dashdash=yes ;; 960 961 -bindir | --bindir | --bindi | --bind | --bin | --bi) 962 ac_prev=bindir ;; 963 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 964 bindir=$ac_optarg ;; 965 966 -build | --build | --buil | --bui | --bu) 967 ac_prev=build_alias ;; 968 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 969 build_alias=$ac_optarg ;; 970 971 -cache-file | --cache-file | --cache-fil | --cache-fi \ 972 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 973 ac_prev=cache_file ;; 974 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 975 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 976 cache_file=$ac_optarg ;; 977 978 --config-cache | -C) 979 cache_file=config.cache ;; 980 981 -datadir | --datadir | --datadi | --datad) 982 ac_prev=datadir ;; 983 -datadir=* | --datadir=* | --datadi=* | --datad=*) 984 datadir=$ac_optarg ;; 985 986 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 987 | --dataroo | --dataro | --datar) 988 ac_prev=datarootdir ;; 989 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 990 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 991 datarootdir=$ac_optarg ;; 992 993 -disable-* | --disable-*) 994 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 995 # Reject names that are not valid shell variable names. 996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 997 as_fn_error $? "invalid feature name: $ac_useropt" 998 ac_useropt_orig=$ac_useropt 999 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1000 case $ac_user_opts in 1001 *" 1002"enable_$ac_useropt" 1003"*) ;; 1004 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1005 ac_unrecognized_sep=', ';; 1006 esac 1007 eval enable_$ac_useropt=no ;; 1008 1009 -docdir | --docdir | --docdi | --doc | --do) 1010 ac_prev=docdir ;; 1011 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1012 docdir=$ac_optarg ;; 1013 1014 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1015 ac_prev=dvidir ;; 1016 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1017 dvidir=$ac_optarg ;; 1018 1019 -enable-* | --enable-*) 1020 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1021 # Reject names that are not valid shell variable names. 1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1023 as_fn_error $? "invalid feature name: $ac_useropt" 1024 ac_useropt_orig=$ac_useropt 1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1026 case $ac_user_opts in 1027 *" 1028"enable_$ac_useropt" 1029"*) ;; 1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1031 ac_unrecognized_sep=', ';; 1032 esac 1033 eval enable_$ac_useropt=\$ac_optarg ;; 1034 1035 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1036 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1037 | --exec | --exe | --ex) 1038 ac_prev=exec_prefix ;; 1039 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1040 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1041 | --exec=* | --exe=* | --ex=*) 1042 exec_prefix=$ac_optarg ;; 1043 1044 -gas | --gas | --ga | --g) 1045 # Obsolete; use --with-gas. 1046 with_gas=yes ;; 1047 1048 -help | --help | --hel | --he | -h) 1049 ac_init_help=long ;; 1050 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1051 ac_init_help=recursive ;; 1052 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1053 ac_init_help=short ;; 1054 1055 -host | --host | --hos | --ho) 1056 ac_prev=host_alias ;; 1057 -host=* | --host=* | --hos=* | --ho=*) 1058 host_alias=$ac_optarg ;; 1059 1060 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1061 ac_prev=htmldir ;; 1062 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1063 | --ht=*) 1064 htmldir=$ac_optarg ;; 1065 1066 -includedir | --includedir | --includedi | --included | --include \ 1067 | --includ | --inclu | --incl | --inc) 1068 ac_prev=includedir ;; 1069 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1070 | --includ=* | --inclu=* | --incl=* | --inc=*) 1071 includedir=$ac_optarg ;; 1072 1073 -infodir | --infodir | --infodi | --infod | --info | --inf) 1074 ac_prev=infodir ;; 1075 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1076 infodir=$ac_optarg ;; 1077 1078 -libdir | --libdir | --libdi | --libd) 1079 ac_prev=libdir ;; 1080 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1081 libdir=$ac_optarg ;; 1082 1083 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1084 | --libexe | --libex | --libe) 1085 ac_prev=libexecdir ;; 1086 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1087 | --libexe=* | --libex=* | --libe=*) 1088 libexecdir=$ac_optarg ;; 1089 1090 -localedir | --localedir | --localedi | --localed | --locale) 1091 ac_prev=localedir ;; 1092 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1093 localedir=$ac_optarg ;; 1094 1095 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1096 | --localstate | --localstat | --localsta | --localst | --locals) 1097 ac_prev=localstatedir ;; 1098 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1099 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1100 localstatedir=$ac_optarg ;; 1101 1102 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1103 ac_prev=mandir ;; 1104 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1105 mandir=$ac_optarg ;; 1106 1107 -nfp | --nfp | --nf) 1108 # Obsolete; use --without-fp. 1109 with_fp=no ;; 1110 1111 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1112 | --no-cr | --no-c | -n) 1113 no_create=yes ;; 1114 1115 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1116 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1117 no_recursion=yes ;; 1118 1119 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1120 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1121 | --oldin | --oldi | --old | --ol | --o) 1122 ac_prev=oldincludedir ;; 1123 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1124 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1125 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1126 oldincludedir=$ac_optarg ;; 1127 1128 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1129 ac_prev=prefix ;; 1130 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1131 prefix=$ac_optarg ;; 1132 1133 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1134 | --program-pre | --program-pr | --program-p) 1135 ac_prev=program_prefix ;; 1136 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1137 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1138 program_prefix=$ac_optarg ;; 1139 1140 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1141 | --program-suf | --program-su | --program-s) 1142 ac_prev=program_suffix ;; 1143 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1144 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1145 program_suffix=$ac_optarg ;; 1146 1147 -program-transform-name | --program-transform-name \ 1148 | --program-transform-nam | --program-transform-na \ 1149 | --program-transform-n | --program-transform- \ 1150 | --program-transform | --program-transfor \ 1151 | --program-transfo | --program-transf \ 1152 | --program-trans | --program-tran \ 1153 | --progr-tra | --program-tr | --program-t) 1154 ac_prev=program_transform_name ;; 1155 -program-transform-name=* | --program-transform-name=* \ 1156 | --program-transform-nam=* | --program-transform-na=* \ 1157 | --program-transform-n=* | --program-transform-=* \ 1158 | --program-transform=* | --program-transfor=* \ 1159 | --program-transfo=* | --program-transf=* \ 1160 | --program-trans=* | --program-tran=* \ 1161 | --progr-tra=* | --program-tr=* | --program-t=*) 1162 program_transform_name=$ac_optarg ;; 1163 1164 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1165 ac_prev=pdfdir ;; 1166 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1167 pdfdir=$ac_optarg ;; 1168 1169 -psdir | --psdir | --psdi | --psd | --ps) 1170 ac_prev=psdir ;; 1171 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1172 psdir=$ac_optarg ;; 1173 1174 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1175 | -silent | --silent | --silen | --sile | --sil) 1176 silent=yes ;; 1177 1178 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1179 | --runstate | --runstat | --runsta | --runst | --runs \ 1180 | --run | --ru | --r) 1181 ac_prev=runstatedir ;; 1182 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1183 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1184 | --run=* | --ru=* | --r=*) 1185 runstatedir=$ac_optarg ;; 1186 1187 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1188 ac_prev=sbindir ;; 1189 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1190 | --sbi=* | --sb=*) 1191 sbindir=$ac_optarg ;; 1192 1193 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1194 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1195 | --sharedst | --shareds | --shared | --share | --shar \ 1196 | --sha | --sh) 1197 ac_prev=sharedstatedir ;; 1198 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1199 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1200 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1201 | --sha=* | --sh=*) 1202 sharedstatedir=$ac_optarg ;; 1203 1204 -site | --site | --sit) 1205 ac_prev=site ;; 1206 -site=* | --site=* | --sit=*) 1207 site=$ac_optarg ;; 1208 1209 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1210 ac_prev=srcdir ;; 1211 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1212 srcdir=$ac_optarg ;; 1213 1214 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1215 | --syscon | --sysco | --sysc | --sys | --sy) 1216 ac_prev=sysconfdir ;; 1217 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1218 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1219 sysconfdir=$ac_optarg ;; 1220 1221 -target | --target | --targe | --targ | --tar | --ta | --t) 1222 ac_prev=target_alias ;; 1223 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1224 target_alias=$ac_optarg ;; 1225 1226 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1227 verbose=yes ;; 1228 1229 -version | --version | --versio | --versi | --vers | -V) 1230 ac_init_version=: ;; 1231 1232 -with-* | --with-*) 1233 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1234 # Reject names that are not valid shell variable names. 1235 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1236 as_fn_error $? "invalid package name: $ac_useropt" 1237 ac_useropt_orig=$ac_useropt 1238 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1239 case $ac_user_opts in 1240 *" 1241"with_$ac_useropt" 1242"*) ;; 1243 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1244 ac_unrecognized_sep=', ';; 1245 esac 1246 eval with_$ac_useropt=\$ac_optarg ;; 1247 1248 -without-* | --without-*) 1249 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1250 # Reject names that are not valid shell variable names. 1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1252 as_fn_error $? "invalid package name: $ac_useropt" 1253 ac_useropt_orig=$ac_useropt 1254 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1255 case $ac_user_opts in 1256 *" 1257"with_$ac_useropt" 1258"*) ;; 1259 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1260 ac_unrecognized_sep=', ';; 1261 esac 1262 eval with_$ac_useropt=no ;; 1263 1264 --x) 1265 # Obsolete; use --with-x. 1266 with_x=yes ;; 1267 1268 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1269 | --x-incl | --x-inc | --x-in | --x-i) 1270 ac_prev=x_includes ;; 1271 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1272 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1273 x_includes=$ac_optarg ;; 1274 1275 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1276 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1277 ac_prev=x_libraries ;; 1278 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1279 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1280 x_libraries=$ac_optarg ;; 1281 1282 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1283Try \`$0 --help' for more information" 1284 ;; 1285 1286 *=*) 1287 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1288 # Reject names that are not valid shell variable names. 1289 case $ac_envvar in #( 1290 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1291 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1292 esac 1293 eval $ac_envvar=\$ac_optarg 1294 export $ac_envvar ;; 1295 1296 *) 1297 # FIXME: should be removed in autoconf 3.0. 1298 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1299 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1300 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1301 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1302 ;; 1303 1304 esac 1305done 1306 1307if test -n "$ac_prev"; then 1308 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1309 as_fn_error $? "missing argument to $ac_option" 1310fi 1311 1312if test -n "$ac_unrecognized_opts"; then 1313 case $enable_option_checking in 1314 no) ;; 1315 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1316 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1317 esac 1318fi 1319 1320# Check all directory arguments for consistency. 1321for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1322 datadir sysconfdir sharedstatedir localstatedir includedir \ 1323 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1324 libdir localedir mandir runstatedir 1325do 1326 eval ac_val=\$$ac_var 1327 # Remove trailing slashes. 1328 case $ac_val in 1329 */ ) 1330 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1331 eval $ac_var=\$ac_val;; 1332 esac 1333 # Be sure to have absolute directory names. 1334 case $ac_val in 1335 [\\/$]* | ?:[\\/]* ) continue;; 1336 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1337 esac 1338 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1339done 1340 1341# There might be people who depend on the old broken behavior: `$host' 1342# used to hold the argument of --host etc. 1343# FIXME: To remove some day. 1344build=$build_alias 1345host=$host_alias 1346target=$target_alias 1347 1348# FIXME: To remove some day. 1349if test "x$host_alias" != x; then 1350 if test "x$build_alias" = x; then 1351 cross_compiling=maybe 1352 elif test "x$build_alias" != "x$host_alias"; then 1353 cross_compiling=yes 1354 fi 1355fi 1356 1357ac_tool_prefix= 1358test -n "$host_alias" && ac_tool_prefix=$host_alias- 1359 1360test "$silent" = yes && exec 6>/dev/null 1361 1362 1363ac_pwd=`pwd` && test -n "$ac_pwd" && 1364ac_ls_di=`ls -di .` && 1365ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1366 as_fn_error $? "working directory cannot be determined" 1367test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1368 as_fn_error $? "pwd does not report name of working directory" 1369 1370 1371# Find the source files, if location was not specified. 1372if test -z "$srcdir"; then 1373 ac_srcdir_defaulted=yes 1374 # Try the directory containing this script, then the parent directory. 1375 ac_confdir=`$as_dirname -- "$as_myself" || 1376$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1377 X"$as_myself" : 'X\(//\)[^/]' \| \ 1378 X"$as_myself" : 'X\(//\)$' \| \ 1379 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1380$as_echo X"$as_myself" | 1381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1382 s//\1/ 1383 q 1384 } 1385 /^X\(\/\/\)[^/].*/{ 1386 s//\1/ 1387 q 1388 } 1389 /^X\(\/\/\)$/{ 1390 s//\1/ 1391 q 1392 } 1393 /^X\(\/\).*/{ 1394 s//\1/ 1395 q 1396 } 1397 s/.*/./; q'` 1398 srcdir=$ac_confdir 1399 if test ! -r "$srcdir/$ac_unique_file"; then 1400 srcdir=.. 1401 fi 1402else 1403 ac_srcdir_defaulted=no 1404fi 1405if test ! -r "$srcdir/$ac_unique_file"; then 1406 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1407 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1408fi 1409ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1410ac_abs_confdir=`( 1411 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1412 pwd)` 1413# When building in place, set srcdir=. 1414if test "$ac_abs_confdir" = "$ac_pwd"; then 1415 srcdir=. 1416fi 1417# Remove unnecessary trailing slashes from srcdir. 1418# Double slashes in file names in object file debugging info 1419# mess up M-x gdb in Emacs. 1420case $srcdir in 1421*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1422esac 1423for ac_var in $ac_precious_vars; do 1424 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1425 eval ac_env_${ac_var}_value=\$${ac_var} 1426 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1427 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1428done 1429 1430# 1431# Report the --help message. 1432# 1433if test "$ac_init_help" = "long"; then 1434 # Omit some internal or obsolete options to make the list less imposing. 1435 # This message is too long to be a string in the A/UX 3.1 sh. 1436 cat <<_ACEOF 1437\`configure' configures Xfce4 Taskmanager 1.4.2 to adapt to many kinds of systems. 1438 1439Usage: $0 [OPTION]... [VAR=VALUE]... 1440 1441To assign environment variables (e.g., CC, CFLAGS...), specify them as 1442VAR=VALUE. See below for descriptions of some of the useful variables. 1443 1444Defaults for the options are specified in brackets. 1445 1446Configuration: 1447 -h, --help display this help and exit 1448 --help=short display options specific to this package 1449 --help=recursive display the short help of all the included packages 1450 -V, --version display version information and exit 1451 -q, --quiet, --silent do not print \`checking ...' messages 1452 --cache-file=FILE cache test results in FILE [disabled] 1453 -C, --config-cache alias for \`--cache-file=config.cache' 1454 -n, --no-create do not create output files 1455 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1456 1457Installation directories: 1458 --prefix=PREFIX install architecture-independent files in PREFIX 1459 [$ac_default_prefix] 1460 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1461 [PREFIX] 1462 1463By default, \`make install' will install all the files in 1464\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1465an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1466for instance \`--prefix=\$HOME'. 1467 1468For better control, use the options below. 1469 1470Fine tuning of the installation directories: 1471 --bindir=DIR user executables [EPREFIX/bin] 1472 --sbindir=DIR system admin executables [EPREFIX/sbin] 1473 --libexecdir=DIR program executables [EPREFIX/libexec] 1474 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1475 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1476 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1477 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1478 --libdir=DIR object code libraries [EPREFIX/lib] 1479 --includedir=DIR C header files [PREFIX/include] 1480 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1481 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1482 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1483 --infodir=DIR info documentation [DATAROOTDIR/info] 1484 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1485 --mandir=DIR man documentation [DATAROOTDIR/man] 1486 --docdir=DIR documentation root 1487 [DATAROOTDIR/doc/xfce4-taskmanager] 1488 --htmldir=DIR html documentation [DOCDIR] 1489 --dvidir=DIR dvi documentation [DOCDIR] 1490 --pdfdir=DIR pdf documentation [DOCDIR] 1491 --psdir=DIR ps documentation [DOCDIR] 1492_ACEOF 1493 1494 cat <<\_ACEOF 1495 1496Program names: 1497 --program-prefix=PREFIX prepend PREFIX to installed program names 1498 --program-suffix=SUFFIX append SUFFIX to installed program names 1499 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1500 1501X features: 1502 --x-includes=DIR X include files are in DIR 1503 --x-libraries=DIR X library files are in DIR 1504 1505System types: 1506 --build=BUILD configure for building on BUILD [guessed] 1507 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1508 --target=TARGET configure for building compilers for TARGET [HOST] 1509_ACEOF 1510fi 1511 1512if test -n "$ac_init_help"; then 1513 case $ac_init_help in 1514 short | recursive ) echo "Configuration of Xfce4 Taskmanager 1.4.2:";; 1515 esac 1516 cat <<\_ACEOF 1517 1518Optional Features: 1519 --disable-option-checking ignore unrecognized --enable/--with options 1520 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1521 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1522 --enable-silent-rules less verbose build output (undo: "make V=1") 1523 --disable-silent-rules verbose build output (undo: "make V=0") 1524 --enable-maintainer-mode 1525 enable make rules and dependencies not useful (and 1526 sometimes confusing) to the casual installer 1527 --enable-static[=PKGS] build static libraries [default=no] 1528 --enable-shared[=PKGS] build shared libraries [default=yes] 1529 --enable-fast-install[=PKGS] 1530 optimize for fast installation [default=yes] 1531 --enable-dependency-tracking 1532 do not reject slow dependency extractors 1533 --disable-dependency-tracking 1534 speeds up one-time build 1535 --disable-libtool-lock avoid locking (might break parallel builds) 1536 --disable-nls do not use Native Language Support 1537 --enable-wnck3 Enable checking for building with libwnck3 for 1538 window icons/names (default=[yes]) 1539 --disable-wnck3 Disable checking for building with libwnck3 for 1540 window icons/names 1541 --enable-debug[=no|minimum|yes|full] 1542 Build with debugging support [default=[]] 1543 --disable-debug Include no debugging support 1544 1545Optional Packages: 1546 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1547 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1548 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1549 both] 1550 --with-aix-soname=aix|svr4|both 1551 shared library versioning (aka "SONAME") variant to 1552 provide on AIX, [default=aix]. 1553 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1554 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1555 compiler's sysroot if not specified). 1556 1557 --with-locales-dir=DIR Install locales into DIR 1558 1559 --with-x use the X Window System 1560 --with-skel build with task-manager-skel.c 1561 1562Some influential environment variables: 1563 CC C compiler command 1564 CFLAGS C compiler flags 1565 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1566 nonstandard directory <lib dir> 1567 LIBS libraries to pass to the linker, e.g. -l<library> 1568 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1569 you have headers in a nonstandard directory <include dir> 1570 LT_SYS_LIBRARY_PATH 1571 User-defined run-time library search path. 1572 CPP C preprocessor 1573 XMKMF Path to xmkmf, Makefile generator for X Window System 1574 PKG_CONFIG path to pkg-config utility 1575 PKG_CONFIG_PATH 1576 directories to add to pkg-config's search path 1577 PKG_CONFIG_LIBDIR 1578 path overriding pkg-config's built-in search path 1579 1580Use these variables to override the choices made by `configure' or to help 1581it to find libraries and programs with nonstandard names/locations. 1582 1583Report bugs to <http://bugzilla.xfce.org/>. 1584Xfce4 Taskmanager home page: <http://goodies.xfce.org/projects/applications/xfce4-taskmanager>. 1585_ACEOF 1586ac_status=$? 1587fi 1588 1589if test "$ac_init_help" = "recursive"; then 1590 # If there are subdirs, report their specific --help. 1591 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1592 test -d "$ac_dir" || 1593 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1594 continue 1595 ac_builddir=. 1596 1597case "$ac_dir" in 1598.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1599*) 1600 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1601 # A ".." for each directory in $ac_dir_suffix. 1602 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1603 case $ac_top_builddir_sub in 1604 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1605 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1606 esac ;; 1607esac 1608ac_abs_top_builddir=$ac_pwd 1609ac_abs_builddir=$ac_pwd$ac_dir_suffix 1610# for backward compatibility: 1611ac_top_builddir=$ac_top_build_prefix 1612 1613case $srcdir in 1614 .) # We are building in place. 1615 ac_srcdir=. 1616 ac_top_srcdir=$ac_top_builddir_sub 1617 ac_abs_top_srcdir=$ac_pwd ;; 1618 [\\/]* | ?:[\\/]* ) # Absolute name. 1619 ac_srcdir=$srcdir$ac_dir_suffix; 1620 ac_top_srcdir=$srcdir 1621 ac_abs_top_srcdir=$srcdir ;; 1622 *) # Relative name. 1623 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1624 ac_top_srcdir=$ac_top_build_prefix$srcdir 1625 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1626esac 1627ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1628 1629 cd "$ac_dir" || { ac_status=$?; continue; } 1630 # Check for guested configure. 1631 if test -f "$ac_srcdir/configure.gnu"; then 1632 echo && 1633 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1634 elif test -f "$ac_srcdir/configure"; then 1635 echo && 1636 $SHELL "$ac_srcdir/configure" --help=recursive 1637 else 1638 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1639 fi || ac_status=$? 1640 cd "$ac_pwd" || { ac_status=$?; break; } 1641 done 1642fi 1643 1644test -n "$ac_init_help" && exit $ac_status 1645if $ac_init_version; then 1646 cat <<\_ACEOF 1647Xfce4 Taskmanager configure 1.4.2 1648generated by GNU Autoconf 2.69 1649 1650Copyright (C) 2012 Free Software Foundation, Inc. 1651This configure script is free software; the Free Software Foundation 1652gives unlimited permission to copy, distribute and modify it. 1653 1654Copyright (c) 2006-2008 1655 The Xfce development team. All rights reserved. 1656_ACEOF 1657 exit 1658fi 1659 1660## ------------------------ ## 1661## Autoconf initialization. ## 1662## ------------------------ ## 1663 1664# ac_fn_c_try_compile LINENO 1665# -------------------------- 1666# Try to compile conftest.$ac_ext, and return whether this succeeded. 1667ac_fn_c_try_compile () 1668{ 1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1670 rm -f conftest.$ac_objext 1671 if { { ac_try="$ac_compile" 1672case "(($ac_try" in 1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1674 *) ac_try_echo=$ac_try;; 1675esac 1676eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1677$as_echo "$ac_try_echo"; } >&5 1678 (eval "$ac_compile") 2>conftest.err 1679 ac_status=$? 1680 if test -s conftest.err; then 1681 grep -v '^ *+' conftest.err >conftest.er1 1682 cat conftest.er1 >&5 1683 mv -f conftest.er1 conftest.err 1684 fi 1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1686 test $ac_status = 0; } && { 1687 test -z "$ac_c_werror_flag" || 1688 test ! -s conftest.err 1689 } && test -s conftest.$ac_objext; then : 1690 ac_retval=0 1691else 1692 $as_echo "$as_me: failed program was:" >&5 1693sed 's/^/| /' conftest.$ac_ext >&5 1694 1695 ac_retval=1 1696fi 1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1698 as_fn_set_status $ac_retval 1699 1700} # ac_fn_c_try_compile 1701 1702# ac_fn_c_try_link LINENO 1703# ----------------------- 1704# Try to link conftest.$ac_ext, and return whether this succeeded. 1705ac_fn_c_try_link () 1706{ 1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1708 rm -f conftest.$ac_objext conftest$ac_exeext 1709 if { { ac_try="$ac_link" 1710case "(($ac_try" in 1711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1712 *) ac_try_echo=$ac_try;; 1713esac 1714eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1715$as_echo "$ac_try_echo"; } >&5 1716 (eval "$ac_link") 2>conftest.err 1717 ac_status=$? 1718 if test -s conftest.err; then 1719 grep -v '^ *+' conftest.err >conftest.er1 1720 cat conftest.er1 >&5 1721 mv -f conftest.er1 conftest.err 1722 fi 1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1724 test $ac_status = 0; } && { 1725 test -z "$ac_c_werror_flag" || 1726 test ! -s conftest.err 1727 } && test -s conftest$ac_exeext && { 1728 test "$cross_compiling" = yes || 1729 test -x conftest$ac_exeext 1730 }; then : 1731 ac_retval=0 1732else 1733 $as_echo "$as_me: failed program was:" >&5 1734sed 's/^/| /' conftest.$ac_ext >&5 1735 1736 ac_retval=1 1737fi 1738 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1739 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1740 # interfere with the next link command; also delete a directory that is 1741 # left behind by Apple's compiler. We do this before executing the actions. 1742 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1744 as_fn_set_status $ac_retval 1745 1746} # ac_fn_c_try_link 1747 1748# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1749# ------------------------------------------------------- 1750# Tests whether HEADER exists and can be compiled using the include files in 1751# INCLUDES, setting the cache variable VAR accordingly. 1752ac_fn_c_check_header_compile () 1753{ 1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1756$as_echo_n "checking for $2... " >&6; } 1757if eval \${$3+:} false; then : 1758 $as_echo_n "(cached) " >&6 1759else 1760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1761/* end confdefs.h. */ 1762$4 1763#include <$2> 1764_ACEOF 1765if ac_fn_c_try_compile "$LINENO"; then : 1766 eval "$3=yes" 1767else 1768 eval "$3=no" 1769fi 1770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1771fi 1772eval ac_res=\$$3 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1774$as_echo "$ac_res" >&6; } 1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1776 1777} # ac_fn_c_check_header_compile 1778 1779# ac_fn_c_try_cpp LINENO 1780# ---------------------- 1781# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1782ac_fn_c_try_cpp () 1783{ 1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1785 if { { ac_try="$ac_cpp conftest.$ac_ext" 1786case "(($ac_try" in 1787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1788 *) ac_try_echo=$ac_try;; 1789esac 1790eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1791$as_echo "$ac_try_echo"; } >&5 1792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1793 ac_status=$? 1794 if test -s conftest.err; then 1795 grep -v '^ *+' conftest.err >conftest.er1 1796 cat conftest.er1 >&5 1797 mv -f conftest.er1 conftest.err 1798 fi 1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1800 test $ac_status = 0; } > conftest.i && { 1801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1802 test ! -s conftest.err 1803 }; then : 1804 ac_retval=0 1805else 1806 $as_echo "$as_me: failed program was:" >&5 1807sed 's/^/| /' conftest.$ac_ext >&5 1808 1809 ac_retval=1 1810fi 1811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1812 as_fn_set_status $ac_retval 1813 1814} # ac_fn_c_try_cpp 1815 1816# ac_fn_c_try_run LINENO 1817# ---------------------- 1818# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1819# that executables *can* be run. 1820ac_fn_c_try_run () 1821{ 1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1823 if { { ac_try="$ac_link" 1824case "(($ac_try" in 1825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1826 *) ac_try_echo=$ac_try;; 1827esac 1828eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1829$as_echo "$ac_try_echo"; } >&5 1830 (eval "$ac_link") 2>&5 1831 ac_status=$? 1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1833 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1834 { { case "(($ac_try" in 1835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1836 *) ac_try_echo=$ac_try;; 1837esac 1838eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1839$as_echo "$ac_try_echo"; } >&5 1840 (eval "$ac_try") 2>&5 1841 ac_status=$? 1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1843 test $ac_status = 0; }; }; then : 1844 ac_retval=0 1845else 1846 $as_echo "$as_me: program exited with status $ac_status" >&5 1847 $as_echo "$as_me: failed program was:" >&5 1848sed 's/^/| /' conftest.$ac_ext >&5 1849 1850 ac_retval=$ac_status 1851fi 1852 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1854 as_fn_set_status $ac_retval 1855 1856} # ac_fn_c_try_run 1857 1858# ac_fn_c_check_func LINENO FUNC VAR 1859# ---------------------------------- 1860# Tests whether FUNC exists, setting the cache variable VAR accordingly 1861ac_fn_c_check_func () 1862{ 1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1865$as_echo_n "checking for $2... " >&6; } 1866if eval \${$3+:} false; then : 1867 $as_echo_n "(cached) " >&6 1868else 1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1870/* end confdefs.h. */ 1871/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1872 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1873#define $2 innocuous_$2 1874 1875/* System header to define __stub macros and hopefully few prototypes, 1876 which can conflict with char $2 (); below. 1877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1878 <limits.h> exists even on freestanding compilers. */ 1879 1880#ifdef __STDC__ 1881# include <limits.h> 1882#else 1883# include <assert.h> 1884#endif 1885 1886#undef $2 1887 1888/* Override any GCC internal prototype to avoid an error. 1889 Use char because int might match the return type of a GCC 1890 builtin and then its argument prototype would still apply. */ 1891#ifdef __cplusplus 1892extern "C" 1893#endif 1894char $2 (); 1895/* The GNU C library defines this for functions which it implements 1896 to always fail with ENOSYS. Some functions are actually named 1897 something starting with __ and the normal name is an alias. */ 1898#if defined __stub_$2 || defined __stub___$2 1899choke me 1900#endif 1901 1902int 1903main () 1904{ 1905return $2 (); 1906 ; 1907 return 0; 1908} 1909_ACEOF 1910if ac_fn_c_try_link "$LINENO"; then : 1911 eval "$3=yes" 1912else 1913 eval "$3=no" 1914fi 1915rm -f core conftest.err conftest.$ac_objext \ 1916 conftest$ac_exeext conftest.$ac_ext 1917fi 1918eval ac_res=\$$3 1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1920$as_echo "$ac_res" >&6; } 1921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1922 1923} # ac_fn_c_check_func 1924 1925# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1926# ------------------------------------------------------- 1927# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1928# the include files in INCLUDES and setting the cache variable VAR 1929# accordingly. 1930ac_fn_c_check_header_mongrel () 1931{ 1932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1933 if eval \${$3+:} false; then : 1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1935$as_echo_n "checking for $2... " >&6; } 1936if eval \${$3+:} false; then : 1937 $as_echo_n "(cached) " >&6 1938fi 1939eval ac_res=\$$3 1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1941$as_echo "$ac_res" >&6; } 1942else 1943 # Is the header compilable? 1944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1945$as_echo_n "checking $2 usability... " >&6; } 1946cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1947/* end confdefs.h. */ 1948$4 1949#include <$2> 1950_ACEOF 1951if ac_fn_c_try_compile "$LINENO"; then : 1952 ac_header_compiler=yes 1953else 1954 ac_header_compiler=no 1955fi 1956rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1958$as_echo "$ac_header_compiler" >&6; } 1959 1960# Is the header present? 1961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1962$as_echo_n "checking $2 presence... " >&6; } 1963cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1964/* end confdefs.h. */ 1965#include <$2> 1966_ACEOF 1967if ac_fn_c_try_cpp "$LINENO"; then : 1968 ac_header_preproc=yes 1969else 1970 ac_header_preproc=no 1971fi 1972rm -f conftest.err conftest.i conftest.$ac_ext 1973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1974$as_echo "$ac_header_preproc" >&6; } 1975 1976# So? What about this header? 1977case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1978 yes:no: ) 1979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1980$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1982$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1983 ;; 1984 no:yes:* ) 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1986$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1988$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1990$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1992$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1994$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1995( $as_echo "## ---------------------------------------- ## 1996## Report this to http://bugzilla.xfce.org/ ## 1997## ---------------------------------------- ##" 1998 ) | sed "s/^/$as_me: WARNING: /" >&2 1999 ;; 2000esac 2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2002$as_echo_n "checking for $2... " >&6; } 2003if eval \${$3+:} false; then : 2004 $as_echo_n "(cached) " >&6 2005else 2006 eval "$3=\$ac_header_compiler" 2007fi 2008eval ac_res=\$$3 2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2010$as_echo "$ac_res" >&6; } 2011fi 2012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2013 2014} # ac_fn_c_check_header_mongrel 2015cat >config.log <<_ACEOF 2016This file contains any messages produced by compilers while 2017running configure, to aid debugging if configure makes a mistake. 2018 2019It was created by Xfce4 Taskmanager $as_me 1.4.2, which was 2020generated by GNU Autoconf 2.69. Invocation command line was 2021 2022 $ $0 $@ 2023 2024_ACEOF 2025exec 5>>config.log 2026{ 2027cat <<_ASUNAME 2028## --------- ## 2029## Platform. ## 2030## --------- ## 2031 2032hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2033uname -m = `(uname -m) 2>/dev/null || echo unknown` 2034uname -r = `(uname -r) 2>/dev/null || echo unknown` 2035uname -s = `(uname -s) 2>/dev/null || echo unknown` 2036uname -v = `(uname -v) 2>/dev/null || echo unknown` 2037 2038/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2039/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2040 2041/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2042/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2043/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2044/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2045/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2046/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2047/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2048 2049_ASUNAME 2050 2051as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2052for as_dir in $PATH 2053do 2054 IFS=$as_save_IFS 2055 test -z "$as_dir" && as_dir=. 2056 $as_echo "PATH: $as_dir" 2057 done 2058IFS=$as_save_IFS 2059 2060} >&5 2061 2062cat >&5 <<_ACEOF 2063 2064 2065## ----------- ## 2066## Core tests. ## 2067## ----------- ## 2068 2069_ACEOF 2070 2071 2072# Keep a trace of the command line. 2073# Strip out --no-create and --no-recursion so they do not pile up. 2074# Strip out --silent because we don't want to record it for future runs. 2075# Also quote any args containing shell meta-characters. 2076# Make two passes to allow for proper duplicate-argument suppression. 2077ac_configure_args= 2078ac_configure_args0= 2079ac_configure_args1= 2080ac_must_keep_next=false 2081for ac_pass in 1 2 2082do 2083 for ac_arg 2084 do 2085 case $ac_arg in 2086 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2087 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2088 | -silent | --silent | --silen | --sile | --sil) 2089 continue ;; 2090 *\'*) 2091 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2092 esac 2093 case $ac_pass in 2094 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2095 2) 2096 as_fn_append ac_configure_args1 " '$ac_arg'" 2097 if test $ac_must_keep_next = true; then 2098 ac_must_keep_next=false # Got value, back to normal. 2099 else 2100 case $ac_arg in 2101 *=* | --config-cache | -C | -disable-* | --disable-* \ 2102 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2103 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2104 | -with-* | --with-* | -without-* | --without-* | --x) 2105 case "$ac_configure_args0 " in 2106 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2107 esac 2108 ;; 2109 -* ) ac_must_keep_next=true ;; 2110 esac 2111 fi 2112 as_fn_append ac_configure_args " '$ac_arg'" 2113 ;; 2114 esac 2115 done 2116done 2117{ ac_configure_args0=; unset ac_configure_args0;} 2118{ ac_configure_args1=; unset ac_configure_args1;} 2119 2120# When interrupted or exit'd, cleanup temporary files, and complete 2121# config.log. We remove comments because anyway the quotes in there 2122# would cause problems or look ugly. 2123# WARNING: Use '\'' to represent an apostrophe within the trap. 2124# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2125trap 'exit_status=$? 2126 # Save into config.log some information that might help in debugging. 2127 { 2128 echo 2129 2130 $as_echo "## ---------------- ## 2131## Cache variables. ## 2132## ---------------- ##" 2133 echo 2134 # The following way of writing the cache mishandles newlines in values, 2135( 2136 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2137 eval ac_val=\$$ac_var 2138 case $ac_val in #( 2139 *${as_nl}*) 2140 case $ac_var in #( 2141 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2142$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2143 esac 2144 case $ac_var in #( 2145 _ | IFS | as_nl) ;; #( 2146 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2147 *) { eval $ac_var=; unset $ac_var;} ;; 2148 esac ;; 2149 esac 2150 done 2151 (set) 2>&1 | 2152 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2153 *${as_nl}ac_space=\ *) 2154 sed -n \ 2155 "s/'\''/'\''\\\\'\'''\''/g; 2156 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2157 ;; #( 2158 *) 2159 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2160 ;; 2161 esac | 2162 sort 2163) 2164 echo 2165 2166 $as_echo "## ----------------- ## 2167## Output variables. ## 2168## ----------------- ##" 2169 echo 2170 for ac_var in $ac_subst_vars 2171 do 2172 eval ac_val=\$$ac_var 2173 case $ac_val in 2174 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2175 esac 2176 $as_echo "$ac_var='\''$ac_val'\''" 2177 done | sort 2178 echo 2179 2180 if test -n "$ac_subst_files"; then 2181 $as_echo "## ------------------- ## 2182## File substitutions. ## 2183## ------------------- ##" 2184 echo 2185 for ac_var in $ac_subst_files 2186 do 2187 eval ac_val=\$$ac_var 2188 case $ac_val in 2189 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2190 esac 2191 $as_echo "$ac_var='\''$ac_val'\''" 2192 done | sort 2193 echo 2194 fi 2195 2196 if test -s confdefs.h; then 2197 $as_echo "## ----------- ## 2198## confdefs.h. ## 2199## ----------- ##" 2200 echo 2201 cat confdefs.h 2202 echo 2203 fi 2204 test "$ac_signal" != 0 && 2205 $as_echo "$as_me: caught signal $ac_signal" 2206 $as_echo "$as_me: exit $exit_status" 2207 } >&5 2208 rm -f core *.core core.conftest.* && 2209 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2210 exit $exit_status 2211' 0 2212for ac_signal in 1 2 13 15; do 2213 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2214done 2215ac_signal=0 2216 2217# confdefs.h avoids OS command line length limits that DEFS can exceed. 2218rm -f -r conftest* confdefs.h 2219 2220$as_echo "/* confdefs.h */" > confdefs.h 2221 2222# Predefined preprocessor variables. 2223 2224cat >>confdefs.h <<_ACEOF 2225#define PACKAGE_NAME "$PACKAGE_NAME" 2226_ACEOF 2227 2228cat >>confdefs.h <<_ACEOF 2229#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2230_ACEOF 2231 2232cat >>confdefs.h <<_ACEOF 2233#define PACKAGE_VERSION "$PACKAGE_VERSION" 2234_ACEOF 2235 2236cat >>confdefs.h <<_ACEOF 2237#define PACKAGE_STRING "$PACKAGE_STRING" 2238_ACEOF 2239 2240cat >>confdefs.h <<_ACEOF 2241#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2242_ACEOF 2243 2244cat >>confdefs.h <<_ACEOF 2245#define PACKAGE_URL "$PACKAGE_URL" 2246_ACEOF 2247 2248 2249# Let the site file select an alternate cache file if it wants to. 2250# Prefer an explicitly selected file to automatically selected ones. 2251ac_site_file1=NONE 2252ac_site_file2=NONE 2253if test -n "$CONFIG_SITE"; then 2254 # We do not want a PATH search for config.site. 2255 case $CONFIG_SITE in #(( 2256 -*) ac_site_file1=./$CONFIG_SITE;; 2257 */*) ac_site_file1=$CONFIG_SITE;; 2258 *) ac_site_file1=./$CONFIG_SITE;; 2259 esac 2260elif test "x$prefix" != xNONE; then 2261 ac_site_file1=$prefix/share/config.site 2262 ac_site_file2=$prefix/etc/config.site 2263else 2264 ac_site_file1=$ac_default_prefix/share/config.site 2265 ac_site_file2=$ac_default_prefix/etc/config.site 2266fi 2267for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2268do 2269 test "x$ac_site_file" = xNONE && continue 2270 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2271 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2272$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2273 sed 's/^/| /' "$ac_site_file" >&5 2274 . "$ac_site_file" \ 2275 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2276$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2277as_fn_error $? "failed to load site script $ac_site_file 2278See \`config.log' for more details" "$LINENO" 5; } 2279 fi 2280done 2281 2282if test -r "$cache_file"; then 2283 # Some versions of bash will fail to source /dev/null (special files 2284 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2285 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2286 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2287$as_echo "$as_me: loading cache $cache_file" >&6;} 2288 case $cache_file in 2289 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2290 *) . "./$cache_file";; 2291 esac 2292 fi 2293else 2294 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2295$as_echo "$as_me: creating cache $cache_file" >&6;} 2296 >$cache_file 2297fi 2298 2299# Check that the precious variables saved in the cache have kept the same 2300# value. 2301ac_cache_corrupted=false 2302for ac_var in $ac_precious_vars; do 2303 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2304 eval ac_new_set=\$ac_env_${ac_var}_set 2305 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2306 eval ac_new_val=\$ac_env_${ac_var}_value 2307 case $ac_old_set,$ac_new_set in 2308 set,) 2309 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2310$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2311 ac_cache_corrupted=: ;; 2312 ,set) 2313 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2314$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2315 ac_cache_corrupted=: ;; 2316 ,);; 2317 *) 2318 if test "x$ac_old_val" != "x$ac_new_val"; then 2319 # differences in whitespace do not lead to failure. 2320 ac_old_val_w=`echo x $ac_old_val` 2321 ac_new_val_w=`echo x $ac_new_val` 2322 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2323 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2324$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2325 ac_cache_corrupted=: 2326 else 2327 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2328$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2329 eval $ac_var=\$ac_old_val 2330 fi 2331 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2332$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2333 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2334$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2335 fi;; 2336 esac 2337 # Pass precious variables to config.status. 2338 if test "$ac_new_set" = set; then 2339 case $ac_new_val in 2340 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2341 *) ac_arg=$ac_var=$ac_new_val ;; 2342 esac 2343 case " $ac_configure_args " in 2344 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2345 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2346 esac 2347 fi 2348done 2349if $ac_cache_corrupted; then 2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2351$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2352 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2353$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2354 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2355fi 2356## -------------------- ## 2357## Main body of script. ## 2358## -------------------- ## 2359 2360ac_ext=c 2361ac_cpp='$CPP $CPPFLAGS' 2362ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2363ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2364ac_compiler_gnu=$ac_cv_c_compiler_gnu 2365 2366 2367 2368 2369ac_aux_dir= 2370for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2371 if test -f "$ac_dir/install-sh"; then 2372 ac_aux_dir=$ac_dir 2373 ac_install_sh="$ac_aux_dir/install-sh -c" 2374 break 2375 elif test -f "$ac_dir/install.sh"; then 2376 ac_aux_dir=$ac_dir 2377 ac_install_sh="$ac_aux_dir/install.sh -c" 2378 break 2379 elif test -f "$ac_dir/shtool"; then 2380 ac_aux_dir=$ac_dir 2381 ac_install_sh="$ac_aux_dir/shtool install -c" 2382 break 2383 fi 2384done 2385if test -z "$ac_aux_dir"; then 2386 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2387fi 2388 2389# These three variables are undocumented and unsupported, 2390# and are intended to be withdrawn in a future Autoconf release. 2391# They can cause serious problems if a builder's source tree is in a directory 2392# whose full name contains unusual characters. 2393ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2394ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2395ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2396 2397 2398# Make sure we can run config.sub. 2399$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2400 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2401 2402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2403$as_echo_n "checking build system type... " >&6; } 2404if ${ac_cv_build+:} false; then : 2405 $as_echo_n "(cached) " >&6 2406else 2407 ac_build_alias=$build_alias 2408test "x$ac_build_alias" = x && 2409 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2410test "x$ac_build_alias" = x && 2411 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2412ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2413 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2414 2415fi 2416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2417$as_echo "$ac_cv_build" >&6; } 2418case $ac_cv_build in 2419*-*-*) ;; 2420*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2421esac 2422build=$ac_cv_build 2423ac_save_IFS=$IFS; IFS='-' 2424set x $ac_cv_build 2425shift 2426build_cpu=$1 2427build_vendor=$2 2428shift; shift 2429# Remember, the first character of IFS is used to create $*, 2430# except with old shells: 2431build_os=$* 2432IFS=$ac_save_IFS 2433case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2434 2435 2436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2437$as_echo_n "checking host system type... " >&6; } 2438if ${ac_cv_host+:} false; then : 2439 $as_echo_n "(cached) " >&6 2440else 2441 if test "x$host_alias" = x; then 2442 ac_cv_host=$ac_cv_build 2443else 2444 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2445 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2446fi 2447 2448fi 2449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2450$as_echo "$ac_cv_host" >&6; } 2451case $ac_cv_host in 2452*-*-*) ;; 2453*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2454esac 2455host=$ac_cv_host 2456ac_save_IFS=$IFS; IFS='-' 2457set x $ac_cv_host 2458shift 2459host_cpu=$1 2460host_vendor=$2 2461shift; shift 2462# Remember, the first character of IFS is used to create $*, 2463# except with old shells: 2464host_os=$* 2465IFS=$ac_save_IFS 2466case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2467 2468 2469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2470$as_echo_n "checking target system type... " >&6; } 2471if ${ac_cv_target+:} false; then : 2472 $as_echo_n "(cached) " >&6 2473else 2474 if test "x$target_alias" = x; then 2475 ac_cv_target=$ac_cv_host 2476else 2477 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2478 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2479fi 2480 2481fi 2482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2483$as_echo "$ac_cv_target" >&6; } 2484case $ac_cv_target in 2485*-*-*) ;; 2486*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2487esac 2488target=$ac_cv_target 2489ac_save_IFS=$IFS; IFS='-' 2490set x $ac_cv_target 2491shift 2492target_cpu=$1 2493target_vendor=$2 2494shift; shift 2495# Remember, the first character of IFS is used to create $*, 2496# except with old shells: 2497target_os=$* 2498IFS=$ac_save_IFS 2499case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2500 2501 2502# The aliases save the names the user supplied, while $host etc. 2503# will get canonicalized. 2504test -n "$target_alias" && 2505 test "$program_prefix$program_suffix$program_transform_name" = \ 2506 NONENONEs,x,x, && 2507 program_prefix=${target_alias}- 2508 2509 2510am__api_version='1.16' 2511 2512# Find a good install program. We prefer a C program (faster), 2513# so one script is as good as another. But avoid the broken or 2514# incompatible versions: 2515# SysV /etc/install, /usr/sbin/install 2516# SunOS /usr/etc/install 2517# IRIX /sbin/install 2518# AIX /bin/install 2519# AmigaOS /C/install, which installs bootblocks on floppy discs 2520# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2521# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2522# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2523# OS/2's system install, which has a completely different semantic 2524# ./install, which can be erroneously created by make from ./install.sh. 2525# Reject install programs that cannot install multiple files. 2526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2527$as_echo_n "checking for a BSD-compatible install... " >&6; } 2528if test -z "$INSTALL"; then 2529if ${ac_cv_path_install+:} false; then : 2530 $as_echo_n "(cached) " >&6 2531else 2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2533for as_dir in $PATH 2534do 2535 IFS=$as_save_IFS 2536 test -z "$as_dir" && as_dir=. 2537 # Account for people who put trailing slashes in PATH elements. 2538case $as_dir/ in #(( 2539 ./ | .// | /[cC]/* | \ 2540 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2541 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2542 /usr/ucb/* ) ;; 2543 *) 2544 # OSF1 and SCO ODT 3.0 have their own names for install. 2545 # Don't use installbsd from OSF since it installs stuff as root 2546 # by default. 2547 for ac_prog in ginstall scoinst install; do 2548 for ac_exec_ext in '' $ac_executable_extensions; do 2549 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2550 if test $ac_prog = install && 2551 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2552 # AIX install. It has an incompatible calling convention. 2553 : 2554 elif test $ac_prog = install && 2555 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2556 # program-specific install script used by HP pwplus--don't use. 2557 : 2558 else 2559 rm -rf conftest.one conftest.two conftest.dir 2560 echo one > conftest.one 2561 echo two > conftest.two 2562 mkdir conftest.dir 2563 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2564 test -s conftest.one && test -s conftest.two && 2565 test -s conftest.dir/conftest.one && 2566 test -s conftest.dir/conftest.two 2567 then 2568 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2569 break 3 2570 fi 2571 fi 2572 fi 2573 done 2574 done 2575 ;; 2576esac 2577 2578 done 2579IFS=$as_save_IFS 2580 2581rm -rf conftest.one conftest.two conftest.dir 2582 2583fi 2584 if test "${ac_cv_path_install+set}" = set; then 2585 INSTALL=$ac_cv_path_install 2586 else 2587 # As a last resort, use the slow shell script. Don't cache a 2588 # value for INSTALL within a source directory, because that will 2589 # break other packages using the cache if that directory is 2590 # removed, or if the value is a relative name. 2591 INSTALL=$ac_install_sh 2592 fi 2593fi 2594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2595$as_echo "$INSTALL" >&6; } 2596 2597# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2598# It thinks the first close brace ends the variable substitution. 2599test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2600 2601test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2602 2603test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2604 2605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2606$as_echo_n "checking whether build environment is sane... " >&6; } 2607# Reject unsafe characters in $srcdir or the absolute working directory 2608# name. Accept space and tab only in the latter. 2609am_lf=' 2610' 2611case `pwd` in 2612 *[\\\"\#\$\&\'\`$am_lf]*) 2613 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2614esac 2615case $srcdir in 2616 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2617 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2618esac 2619 2620# Do 'set' in a subshell so we don't clobber the current shell's 2621# arguments. Must try -L first in case configure is actually a 2622# symlink; some systems play weird games with the mod time of symlinks 2623# (eg FreeBSD returns the mod time of the symlink's containing 2624# directory). 2625if ( 2626 am_has_slept=no 2627 for am_try in 1 2; do 2628 echo "timestamp, slept: $am_has_slept" > conftest.file 2629 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2630 if test "$*" = "X"; then 2631 # -L didn't work. 2632 set X `ls -t "$srcdir/configure" conftest.file` 2633 fi 2634 if test "$*" != "X $srcdir/configure conftest.file" \ 2635 && test "$*" != "X conftest.file $srcdir/configure"; then 2636 2637 # If neither matched, then we have a broken ls. This can happen 2638 # if, for instance, CONFIG_SHELL is bash and it inherits a 2639 # broken ls alias from the environment. This has actually 2640 # happened. Such a system could not be considered "sane". 2641 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2642 alias in your environment" "$LINENO" 5 2643 fi 2644 if test "$2" = conftest.file || test $am_try -eq 2; then 2645 break 2646 fi 2647 # Just in case. 2648 sleep 1 2649 am_has_slept=yes 2650 done 2651 test "$2" = conftest.file 2652 ) 2653then 2654 # Ok. 2655 : 2656else 2657 as_fn_error $? "newly created file is older than distributed files! 2658Check your system clock" "$LINENO" 5 2659fi 2660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2661$as_echo "yes" >&6; } 2662# If we didn't sleep, we still need to ensure time stamps of config.status and 2663# generated files are strictly newer. 2664am_sleep_pid= 2665if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2666 ( sleep 1 ) & 2667 am_sleep_pid=$! 2668fi 2669 2670rm -f conftest.file 2671 2672test "$program_prefix" != NONE && 2673 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2674# Use a double $ so make ignores it. 2675test "$program_suffix" != NONE && 2676 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2677# Double any \ or $. 2678# By default was `s,x,x', remove it if useless. 2679ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2680program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2681 2682# Expand $ac_aux_dir to an absolute path. 2683am_aux_dir=`cd "$ac_aux_dir" && pwd` 2684 2685if test x"${MISSING+set}" != xset; then 2686 case $am_aux_dir in 2687 *\ * | *\ *) 2688 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2689 *) 2690 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2691 esac 2692fi 2693# Use eval to expand $SHELL 2694if eval "$MISSING --is-lightweight"; then 2695 am_missing_run="$MISSING " 2696else 2697 am_missing_run= 2698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2699$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2700fi 2701 2702if test x"${install_sh+set}" != xset; then 2703 case $am_aux_dir in 2704 *\ * | *\ *) 2705 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2706 *) 2707 install_sh="\${SHELL} $am_aux_dir/install-sh" 2708 esac 2709fi 2710 2711# Installed binaries are usually stripped using 'strip' when the user 2712# run "make install-strip". However 'strip' might not be the right 2713# tool to use in cross-compilation environments, therefore Automake 2714# will honor the 'STRIP' environment variable to overrule this program. 2715if test "$cross_compiling" != no; then 2716 if test -n "$ac_tool_prefix"; then 2717 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2718set dummy ${ac_tool_prefix}strip; ac_word=$2 2719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2720$as_echo_n "checking for $ac_word... " >&6; } 2721if ${ac_cv_prog_STRIP+:} false; then : 2722 $as_echo_n "(cached) " >&6 2723else 2724 if test -n "$STRIP"; then 2725 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2726else 2727as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2728for as_dir in $PATH 2729do 2730 IFS=$as_save_IFS 2731 test -z "$as_dir" && as_dir=. 2732 for ac_exec_ext in '' $ac_executable_extensions; do 2733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2734 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2736 break 2 2737 fi 2738done 2739 done 2740IFS=$as_save_IFS 2741 2742fi 2743fi 2744STRIP=$ac_cv_prog_STRIP 2745if test -n "$STRIP"; then 2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2747$as_echo "$STRIP" >&6; } 2748else 2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2750$as_echo "no" >&6; } 2751fi 2752 2753 2754fi 2755if test -z "$ac_cv_prog_STRIP"; then 2756 ac_ct_STRIP=$STRIP 2757 # Extract the first word of "strip", so it can be a program name with args. 2758set dummy strip; ac_word=$2 2759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2760$as_echo_n "checking for $ac_word... " >&6; } 2761if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2762 $as_echo_n "(cached) " >&6 2763else 2764 if test -n "$ac_ct_STRIP"; then 2765 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2766else 2767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2768for as_dir in $PATH 2769do 2770 IFS=$as_save_IFS 2771 test -z "$as_dir" && as_dir=. 2772 for ac_exec_ext in '' $ac_executable_extensions; do 2773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2774 ac_cv_prog_ac_ct_STRIP="strip" 2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2776 break 2 2777 fi 2778done 2779 done 2780IFS=$as_save_IFS 2781 2782fi 2783fi 2784ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2785if test -n "$ac_ct_STRIP"; then 2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2787$as_echo "$ac_ct_STRIP" >&6; } 2788else 2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2790$as_echo "no" >&6; } 2791fi 2792 2793 if test "x$ac_ct_STRIP" = x; then 2794 STRIP=":" 2795 else 2796 case $cross_compiling:$ac_tool_warned in 2797yes:) 2798{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2799$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2800ac_tool_warned=yes ;; 2801esac 2802 STRIP=$ac_ct_STRIP 2803 fi 2804else 2805 STRIP="$ac_cv_prog_STRIP" 2806fi 2807 2808fi 2809INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2810 2811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2812$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2813if test -z "$MKDIR_P"; then 2814 if ${ac_cv_path_mkdir+:} false; then : 2815 $as_echo_n "(cached) " >&6 2816else 2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2818for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2819do 2820 IFS=$as_save_IFS 2821 test -z "$as_dir" && as_dir=. 2822 for ac_prog in mkdir gmkdir; do 2823 for ac_exec_ext in '' $ac_executable_extensions; do 2824 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2825 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2826 'mkdir (GNU coreutils) '* | \ 2827 'mkdir (coreutils) '* | \ 2828 'mkdir (fileutils) '4.1*) 2829 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2830 break 3;; 2831 esac 2832 done 2833 done 2834 done 2835IFS=$as_save_IFS 2836 2837fi 2838 2839 test -d ./--version && rmdir ./--version 2840 if test "${ac_cv_path_mkdir+set}" = set; then 2841 MKDIR_P="$ac_cv_path_mkdir -p" 2842 else 2843 # As a last resort, use the slow shell script. Don't cache a 2844 # value for MKDIR_P within a source directory, because that will 2845 # break other packages using the cache if that directory is 2846 # removed, or if the value is a relative name. 2847 MKDIR_P="$ac_install_sh -d" 2848 fi 2849fi 2850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2851$as_echo "$MKDIR_P" >&6; } 2852 2853for ac_prog in gawk mawk nawk awk 2854do 2855 # Extract the first word of "$ac_prog", so it can be a program name with args. 2856set dummy $ac_prog; ac_word=$2 2857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2858$as_echo_n "checking for $ac_word... " >&6; } 2859if ${ac_cv_prog_AWK+:} false; then : 2860 $as_echo_n "(cached) " >&6 2861else 2862 if test -n "$AWK"; then 2863 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2864else 2865as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2866for as_dir in $PATH 2867do 2868 IFS=$as_save_IFS 2869 test -z "$as_dir" && as_dir=. 2870 for ac_exec_ext in '' $ac_executable_extensions; do 2871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2872 ac_cv_prog_AWK="$ac_prog" 2873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2874 break 2 2875 fi 2876done 2877 done 2878IFS=$as_save_IFS 2879 2880fi 2881fi 2882AWK=$ac_cv_prog_AWK 2883if test -n "$AWK"; then 2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2885$as_echo "$AWK" >&6; } 2886else 2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2888$as_echo "no" >&6; } 2889fi 2890 2891 2892 test -n "$AWK" && break 2893done 2894 2895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2896$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2897set x ${MAKE-make} 2898ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2899if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2900 $as_echo_n "(cached) " >&6 2901else 2902 cat >conftest.make <<\_ACEOF 2903SHELL = /bin/sh 2904all: 2905 @echo '@@@%%%=$(MAKE)=@@@%%%' 2906_ACEOF 2907# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2908case `${MAKE-make} -f conftest.make 2>/dev/null` in 2909 *@@@%%%=?*=@@@%%%*) 2910 eval ac_cv_prog_make_${ac_make}_set=yes;; 2911 *) 2912 eval ac_cv_prog_make_${ac_make}_set=no;; 2913esac 2914rm -f conftest.make 2915fi 2916if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2918$as_echo "yes" >&6; } 2919 SET_MAKE= 2920else 2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2922$as_echo "no" >&6; } 2923 SET_MAKE="MAKE=${MAKE-make}" 2924fi 2925 2926rm -rf .tst 2>/dev/null 2927mkdir .tst 2>/dev/null 2928if test -d .tst; then 2929 am__leading_dot=. 2930else 2931 am__leading_dot=_ 2932fi 2933rmdir .tst 2>/dev/null 2934 2935# Check whether --enable-silent-rules was given. 2936if test "${enable_silent_rules+set}" = set; then : 2937 enableval=$enable_silent_rules; 2938fi 2939 2940case $enable_silent_rules in # ((( 2941 yes) AM_DEFAULT_VERBOSITY=0;; 2942 no) AM_DEFAULT_VERBOSITY=1;; 2943 *) AM_DEFAULT_VERBOSITY=1;; 2944esac 2945am_make=${MAKE-make} 2946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2947$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2948if ${am_cv_make_support_nested_variables+:} false; then : 2949 $as_echo_n "(cached) " >&6 2950else 2951 if $as_echo 'TRUE=$(BAR$(V)) 2952BAR0=false 2953BAR1=true 2954V=1 2955am__doit: 2956 @$(TRUE) 2957.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2958 am_cv_make_support_nested_variables=yes 2959else 2960 am_cv_make_support_nested_variables=no 2961fi 2962fi 2963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2964$as_echo "$am_cv_make_support_nested_variables" >&6; } 2965if test $am_cv_make_support_nested_variables = yes; then 2966 AM_V='$(V)' 2967 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2968else 2969 AM_V=$AM_DEFAULT_VERBOSITY 2970 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2971fi 2972AM_BACKSLASH='\' 2973 2974if test "`cd $srcdir && pwd`" != "`pwd`"; then 2975 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2976 # is not polluted with repeated "-I." 2977 am__isrc=' -I$(srcdir)' 2978 # test to see if srcdir already configured 2979 if test -f $srcdir/config.status; then 2980 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2981 fi 2982fi 2983 2984# test whether we have cygpath 2985if test -z "$CYGPATH_W"; then 2986 if (cygpath --version) >/dev/null 2>/dev/null; then 2987 CYGPATH_W='cygpath -w' 2988 else 2989 CYGPATH_W=echo 2990 fi 2991fi 2992 2993 2994# Define the identity of the package. 2995 PACKAGE='xfce4-taskmanager' 2996 VERSION='1.4.2' 2997 2998 2999cat >>confdefs.h <<_ACEOF 3000#define PACKAGE "$PACKAGE" 3001_ACEOF 3002 3003 3004cat >>confdefs.h <<_ACEOF 3005#define VERSION "$VERSION" 3006_ACEOF 3007 3008# Some tools Automake needs. 3009 3010ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3011 3012 3013AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3014 3015 3016AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3017 3018 3019AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3020 3021 3022MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3023 3024# For better backward compatibility. To be removed once Automake 1.9.x 3025# dies out for good. For more background, see: 3026# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3027# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3028mkdir_p='$(MKDIR_P)' 3029 3030# We need awk for the "check" target (and possibly the TAP driver). The 3031# system "awk" is bad on some platforms. 3032# Always define AMTAR for backward compatibility. Yes, it's still used 3033# in the wild :-( We should find a proper way to deprecate it ... 3034AMTAR='$${TAR-tar}' 3035 3036 3037# We'll loop over all known methods to create a tar archive until one works. 3038_am_tools='gnutar pax cpio none' 3039 3040am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3041 3042 3043 3044 3045 3046 3047# POSIX will say in a future version that running "rm -f" with no argument 3048# is OK; and we want to be able to make that assumption in our Makefile 3049# recipes. So use an aggressive probe to check that the usage we want is 3050# actually supported "in the wild" to an acceptable degree. 3051# See automake bug#10828. 3052# To make any issue more visible, cause the running configure to be aborted 3053# by default if the 'rm' program in use doesn't match our expectations; the 3054# user can still override this though. 3055if rm -f && rm -fr && rm -rf; then : OK; else 3056 cat >&2 <<'END' 3057Oops! 3058 3059Your 'rm' program seems unable to run without file operands specified 3060on the command line, even when the '-f' option is present. This is contrary 3061to the behaviour of most rm programs out there, and not conforming with 3062the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3063 3064Please tell bug-automake@gnu.org about your system, including the value 3065of your $PATH and any error possibly output before this message. This 3066can help us improve future automake versions. 3067 3068END 3069 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3070 echo 'Configuration will proceed anyway, since you have set the' >&2 3071 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3072 echo >&2 3073 else 3074 cat >&2 <<'END' 3075Aborting the configuration process, to ensure you take notice of the issue. 3076 3077You can download and install GNU coreutils to get an 'rm' implementation 3078that behaves properly: <https://www.gnu.org/software/coreutils/>. 3079 3080If you want to complete the configuration process using your problematic 3081'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3082to "yes", and re-run configure. 3083 3084END 3085 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3086 fi 3087fi 3088 3089ac_config_headers="$ac_config_headers config.h" 3090 3091 3092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3093$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3094 # Check whether --enable-maintainer-mode was given. 3095if test "${enable_maintainer_mode+set}" = set; then : 3096 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3097else 3098 USE_MAINTAINER_MODE=no 3099fi 3100 3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3102$as_echo "$USE_MAINTAINER_MODE" >&6; } 3103 if test $USE_MAINTAINER_MODE = yes; then 3104 MAINTAINER_MODE_TRUE= 3105 MAINTAINER_MODE_FALSE='#' 3106else 3107 MAINTAINER_MODE_TRUE='#' 3108 MAINTAINER_MODE_FALSE= 3109fi 3110 3111 MAINT=$MAINTAINER_MODE_TRUE 3112 3113 3114# Check whether --enable-silent-rules was given. 3115if test "${enable_silent_rules+set}" = set; then : 3116 enableval=$enable_silent_rules; 3117fi 3118 3119case $enable_silent_rules in # ((( 3120 yes) AM_DEFAULT_VERBOSITY=0;; 3121 no) AM_DEFAULT_VERBOSITY=1;; 3122 *) AM_DEFAULT_VERBOSITY=0;; 3123esac 3124am_make=${MAKE-make} 3125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3126$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3127if ${am_cv_make_support_nested_variables+:} false; then : 3128 $as_echo_n "(cached) " >&6 3129else 3130 if $as_echo 'TRUE=$(BAR$(V)) 3131BAR0=false 3132BAR1=true 3133V=1 3134am__doit: 3135 @$(TRUE) 3136.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3137 am_cv_make_support_nested_variables=yes 3138else 3139 am_cv_make_support_nested_variables=no 3140fi 3141fi 3142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3143$as_echo "$am_cv_make_support_nested_variables" >&6; } 3144if test $am_cv_make_support_nested_variables = yes; then 3145 AM_V='$(V)' 3146 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3147else 3148 AM_V=$AM_DEFAULT_VERBOSITY 3149 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3150fi 3151AM_BACKSLASH='\' 3152 3153 3154 3155case `pwd` in 3156 *\ * | *\ *) 3157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3158$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3159esac 3160 3161 3162 3163macro_version='2.4.6' 3164macro_revision='2.4.6' 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178ltmain=$ac_aux_dir/ltmain.sh 3179 3180# Backslashify metacharacters that are still active within 3181# double-quoted strings. 3182sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3183 3184# Same as above, but do not quote variable references. 3185double_quote_subst='s/\(["`\\]\)/\\\1/g' 3186 3187# Sed substitution to delay expansion of an escaped shell variable in a 3188# double_quote_subst'ed string. 3189delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3190 3191# Sed substitution to delay expansion of an escaped single quote. 3192delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3193 3194# Sed substitution to avoid accidental globbing in evaled expressions 3195no_glob_subst='s/\*/\\\*/g' 3196 3197ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3198ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3199ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3200 3201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3202$as_echo_n "checking how to print strings... " >&6; } 3203# Test print first, because it will be a builtin if present. 3204if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3205 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3206 ECHO='print -r --' 3207elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3208 ECHO='printf %s\n' 3209else 3210 # Use this function as a fallback that always works. 3211 func_fallback_echo () 3212 { 3213 eval 'cat <<_LTECHO_EOF 3214$1 3215_LTECHO_EOF' 3216 } 3217 ECHO='func_fallback_echo' 3218fi 3219 3220# func_echo_all arg... 3221# Invoke $ECHO with all args, space-separated. 3222func_echo_all () 3223{ 3224 $ECHO "" 3225} 3226 3227case $ECHO in 3228 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3229$as_echo "printf" >&6; } ;; 3230 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3231$as_echo "print -r" >&6; } ;; 3232 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3233$as_echo "cat" >&6; } ;; 3234esac 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249DEPDIR="${am__leading_dot}deps" 3250 3251ac_config_commands="$ac_config_commands depfiles" 3252 3253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3254$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3255cat > confinc.mk << 'END' 3256am__doit: 3257 @echo this is the am__doit target >confinc.out 3258.PHONY: am__doit 3259END 3260am__include="#" 3261am__quote= 3262# BSD make does it like this. 3263echo '.include "confinc.mk" # ignored' > confmf.BSD 3264# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3265echo 'include confinc.mk # ignored' > confmf.GNU 3266_am_result=no 3267for s in GNU BSD; do 3268 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3269 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3270 ac_status=$? 3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3272 (exit $ac_status); } 3273 case $?:`cat confinc.out 2>/dev/null` in #( 3274 '0:this is the am__doit target') : 3275 case $s in #( 3276 BSD) : 3277 am__include='.include' am__quote='"' ;; #( 3278 *) : 3279 am__include='include' am__quote='' ;; 3280esac ;; #( 3281 *) : 3282 ;; 3283esac 3284 if test "$am__include" != "#"; then 3285 _am_result="yes ($s style)" 3286 break 3287 fi 3288done 3289rm -f confinc.* confmf.* 3290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3291$as_echo "${_am_result}" >&6; } 3292 3293# Check whether --enable-dependency-tracking was given. 3294if test "${enable_dependency_tracking+set}" = set; then : 3295 enableval=$enable_dependency_tracking; 3296fi 3297 3298if test "x$enable_dependency_tracking" != xno; then 3299 am_depcomp="$ac_aux_dir/depcomp" 3300 AMDEPBACKSLASH='\' 3301 am__nodep='_no' 3302fi 3303 if test "x$enable_dependency_tracking" != xno; then 3304 AMDEP_TRUE= 3305 AMDEP_FALSE='#' 3306else 3307 AMDEP_TRUE='#' 3308 AMDEP_FALSE= 3309fi 3310 3311 3312ac_ext=c 3313ac_cpp='$CPP $CPPFLAGS' 3314ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3315ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3316ac_compiler_gnu=$ac_cv_c_compiler_gnu 3317if test -n "$ac_tool_prefix"; then 3318 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3319set dummy ${ac_tool_prefix}gcc; ac_word=$2 3320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3321$as_echo_n "checking for $ac_word... " >&6; } 3322if ${ac_cv_prog_CC+:} false; then : 3323 $as_echo_n "(cached) " >&6 3324else 3325 if test -n "$CC"; then 3326 ac_cv_prog_CC="$CC" # Let the user override the test. 3327else 3328as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3329for as_dir in $PATH 3330do 3331 IFS=$as_save_IFS 3332 test -z "$as_dir" && as_dir=. 3333 for ac_exec_ext in '' $ac_executable_extensions; do 3334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3335 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3337 break 2 3338 fi 3339done 3340 done 3341IFS=$as_save_IFS 3342 3343fi 3344fi 3345CC=$ac_cv_prog_CC 3346if test -n "$CC"; then 3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3348$as_echo "$CC" >&6; } 3349else 3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3351$as_echo "no" >&6; } 3352fi 3353 3354 3355fi 3356if test -z "$ac_cv_prog_CC"; then 3357 ac_ct_CC=$CC 3358 # Extract the first word of "gcc", so it can be a program name with args. 3359set dummy gcc; ac_word=$2 3360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3361$as_echo_n "checking for $ac_word... " >&6; } 3362if ${ac_cv_prog_ac_ct_CC+:} false; then : 3363 $as_echo_n "(cached) " >&6 3364else 3365 if test -n "$ac_ct_CC"; then 3366 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3367else 3368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3369for as_dir in $PATH 3370do 3371 IFS=$as_save_IFS 3372 test -z "$as_dir" && as_dir=. 3373 for ac_exec_ext in '' $ac_executable_extensions; do 3374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3375 ac_cv_prog_ac_ct_CC="gcc" 3376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3377 break 2 3378 fi 3379done 3380 done 3381IFS=$as_save_IFS 3382 3383fi 3384fi 3385ac_ct_CC=$ac_cv_prog_ac_ct_CC 3386if test -n "$ac_ct_CC"; then 3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3388$as_echo "$ac_ct_CC" >&6; } 3389else 3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3391$as_echo "no" >&6; } 3392fi 3393 3394 if test "x$ac_ct_CC" = x; then 3395 CC="" 3396 else 3397 case $cross_compiling:$ac_tool_warned in 3398yes:) 3399{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3400$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3401ac_tool_warned=yes ;; 3402esac 3403 CC=$ac_ct_CC 3404 fi 3405else 3406 CC="$ac_cv_prog_CC" 3407fi 3408 3409if test -z "$CC"; then 3410 if test -n "$ac_tool_prefix"; then 3411 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3412set dummy ${ac_tool_prefix}cc; ac_word=$2 3413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3414$as_echo_n "checking for $ac_word... " >&6; } 3415if ${ac_cv_prog_CC+:} false; then : 3416 $as_echo_n "(cached) " >&6 3417else 3418 if test -n "$CC"; then 3419 ac_cv_prog_CC="$CC" # Let the user override the test. 3420else 3421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3422for as_dir in $PATH 3423do 3424 IFS=$as_save_IFS 3425 test -z "$as_dir" && as_dir=. 3426 for ac_exec_ext in '' $ac_executable_extensions; do 3427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3428 ac_cv_prog_CC="${ac_tool_prefix}cc" 3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3430 break 2 3431 fi 3432done 3433 done 3434IFS=$as_save_IFS 3435 3436fi 3437fi 3438CC=$ac_cv_prog_CC 3439if test -n "$CC"; then 3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3441$as_echo "$CC" >&6; } 3442else 3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3444$as_echo "no" >&6; } 3445fi 3446 3447 3448 fi 3449fi 3450if test -z "$CC"; then 3451 # Extract the first word of "cc", so it can be a program name with args. 3452set dummy cc; ac_word=$2 3453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3454$as_echo_n "checking for $ac_word... " >&6; } 3455if ${ac_cv_prog_CC+:} false; then : 3456 $as_echo_n "(cached) " >&6 3457else 3458 if test -n "$CC"; then 3459 ac_cv_prog_CC="$CC" # Let the user override the test. 3460else 3461 ac_prog_rejected=no 3462as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3463for as_dir in $PATH 3464do 3465 IFS=$as_save_IFS 3466 test -z "$as_dir" && as_dir=. 3467 for ac_exec_ext in '' $ac_executable_extensions; do 3468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3469 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3470 ac_prog_rejected=yes 3471 continue 3472 fi 3473 ac_cv_prog_CC="cc" 3474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3475 break 2 3476 fi 3477done 3478 done 3479IFS=$as_save_IFS 3480 3481if test $ac_prog_rejected = yes; then 3482 # We found a bogon in the path, so make sure we never use it. 3483 set dummy $ac_cv_prog_CC 3484 shift 3485 if test $# != 0; then 3486 # We chose a different compiler from the bogus one. 3487 # However, it has the same basename, so the bogon will be chosen 3488 # first if we set CC to just the basename; use the full file name. 3489 shift 3490 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3491 fi 3492fi 3493fi 3494fi 3495CC=$ac_cv_prog_CC 3496if test -n "$CC"; then 3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3498$as_echo "$CC" >&6; } 3499else 3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3501$as_echo "no" >&6; } 3502fi 3503 3504 3505fi 3506if test -z "$CC"; then 3507 if test -n "$ac_tool_prefix"; then 3508 for ac_prog in cl.exe 3509 do 3510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3511set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3513$as_echo_n "checking for $ac_word... " >&6; } 3514if ${ac_cv_prog_CC+:} false; then : 3515 $as_echo_n "(cached) " >&6 3516else 3517 if test -n "$CC"; then 3518 ac_cv_prog_CC="$CC" # Let the user override the test. 3519else 3520as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3521for as_dir in $PATH 3522do 3523 IFS=$as_save_IFS 3524 test -z "$as_dir" && as_dir=. 3525 for ac_exec_ext in '' $ac_executable_extensions; do 3526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3527 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3529 break 2 3530 fi 3531done 3532 done 3533IFS=$as_save_IFS 3534 3535fi 3536fi 3537CC=$ac_cv_prog_CC 3538if test -n "$CC"; then 3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3540$as_echo "$CC" >&6; } 3541else 3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3543$as_echo "no" >&6; } 3544fi 3545 3546 3547 test -n "$CC" && break 3548 done 3549fi 3550if test -z "$CC"; then 3551 ac_ct_CC=$CC 3552 for ac_prog in cl.exe 3553do 3554 # Extract the first word of "$ac_prog", so it can be a program name with args. 3555set dummy $ac_prog; ac_word=$2 3556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3557$as_echo_n "checking for $ac_word... " >&6; } 3558if ${ac_cv_prog_ac_ct_CC+:} false; then : 3559 $as_echo_n "(cached) " >&6 3560else 3561 if test -n "$ac_ct_CC"; then 3562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3563else 3564as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3565for as_dir in $PATH 3566do 3567 IFS=$as_save_IFS 3568 test -z "$as_dir" && as_dir=. 3569 for ac_exec_ext in '' $ac_executable_extensions; do 3570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3571 ac_cv_prog_ac_ct_CC="$ac_prog" 3572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3573 break 2 3574 fi 3575done 3576 done 3577IFS=$as_save_IFS 3578 3579fi 3580fi 3581ac_ct_CC=$ac_cv_prog_ac_ct_CC 3582if test -n "$ac_ct_CC"; then 3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3584$as_echo "$ac_ct_CC" >&6; } 3585else 3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3587$as_echo "no" >&6; } 3588fi 3589 3590 3591 test -n "$ac_ct_CC" && break 3592done 3593 3594 if test "x$ac_ct_CC" = x; then 3595 CC="" 3596 else 3597 case $cross_compiling:$ac_tool_warned in 3598yes:) 3599{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3600$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3601ac_tool_warned=yes ;; 3602esac 3603 CC=$ac_ct_CC 3604 fi 3605fi 3606 3607fi 3608 3609 3610test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3611$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3612as_fn_error $? "no acceptable C compiler found in \$PATH 3613See \`config.log' for more details" "$LINENO" 5; } 3614 3615# Provide some information about the compiler. 3616$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3617set X $ac_compile 3618ac_compiler=$2 3619for ac_option in --version -v -V -qversion; do 3620 { { ac_try="$ac_compiler $ac_option >&5" 3621case "(($ac_try" in 3622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3623 *) ac_try_echo=$ac_try;; 3624esac 3625eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3626$as_echo "$ac_try_echo"; } >&5 3627 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3628 ac_status=$? 3629 if test -s conftest.err; then 3630 sed '10a\ 3631... rest of stderr output deleted ... 3632 10q' conftest.err >conftest.er1 3633 cat conftest.er1 >&5 3634 fi 3635 rm -f conftest.er1 conftest.err 3636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3637 test $ac_status = 0; } 3638done 3639 3640cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3641/* end confdefs.h. */ 3642 3643int 3644main () 3645{ 3646 3647 ; 3648 return 0; 3649} 3650_ACEOF 3651ac_clean_files_save=$ac_clean_files 3652ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3653# Try to create an executable without -o first, disregard a.out. 3654# It will help us diagnose broken compilers, and finding out an intuition 3655# of exeext. 3656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3657$as_echo_n "checking whether the C compiler works... " >&6; } 3658ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3659 3660# The possible output files: 3661ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3662 3663ac_rmfiles= 3664for ac_file in $ac_files 3665do 3666 case $ac_file in 3667 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3668 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3669 esac 3670done 3671rm -f $ac_rmfiles 3672 3673if { { ac_try="$ac_link_default" 3674case "(($ac_try" in 3675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3676 *) ac_try_echo=$ac_try;; 3677esac 3678eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3679$as_echo "$ac_try_echo"; } >&5 3680 (eval "$ac_link_default") 2>&5 3681 ac_status=$? 3682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3683 test $ac_status = 0; }; then : 3684 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3685# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3686# in a Makefile. We should not override ac_cv_exeext if it was cached, 3687# so that the user can short-circuit this test for compilers unknown to 3688# Autoconf. 3689for ac_file in $ac_files '' 3690do 3691 test -f "$ac_file" || continue 3692 case $ac_file in 3693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3694 ;; 3695 [ab].out ) 3696 # We found the default executable, but exeext='' is most 3697 # certainly right. 3698 break;; 3699 *.* ) 3700 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3701 then :; else 3702 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3703 fi 3704 # We set ac_cv_exeext here because the later test for it is not 3705 # safe: cross compilers may not add the suffix if given an `-o' 3706 # argument, so we may need to know it at that point already. 3707 # Even if this section looks crufty: it has the advantage of 3708 # actually working. 3709 break;; 3710 * ) 3711 break;; 3712 esac 3713done 3714test "$ac_cv_exeext" = no && ac_cv_exeext= 3715 3716else 3717 ac_file='' 3718fi 3719if test -z "$ac_file"; then : 3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3721$as_echo "no" >&6; } 3722$as_echo "$as_me: failed program was:" >&5 3723sed 's/^/| /' conftest.$ac_ext >&5 3724 3725{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3726$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3727as_fn_error 77 "C compiler cannot create executables 3728See \`config.log' for more details" "$LINENO" 5; } 3729else 3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3731$as_echo "yes" >&6; } 3732fi 3733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3734$as_echo_n "checking for C compiler default output file name... " >&6; } 3735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3736$as_echo "$ac_file" >&6; } 3737ac_exeext=$ac_cv_exeext 3738 3739rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3740ac_clean_files=$ac_clean_files_save 3741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3742$as_echo_n "checking for suffix of executables... " >&6; } 3743if { { ac_try="$ac_link" 3744case "(($ac_try" in 3745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3746 *) ac_try_echo=$ac_try;; 3747esac 3748eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3749$as_echo "$ac_try_echo"; } >&5 3750 (eval "$ac_link") 2>&5 3751 ac_status=$? 3752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3753 test $ac_status = 0; }; then : 3754 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3755# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3756# work properly (i.e., refer to `conftest.exe'), while it won't with 3757# `rm'. 3758for ac_file in conftest.exe conftest conftest.*; do 3759 test -f "$ac_file" || continue 3760 case $ac_file in 3761 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3762 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3763 break;; 3764 * ) break;; 3765 esac 3766done 3767else 3768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3769$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3770as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3771See \`config.log' for more details" "$LINENO" 5; } 3772fi 3773rm -f conftest conftest$ac_cv_exeext 3774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3775$as_echo "$ac_cv_exeext" >&6; } 3776 3777rm -f conftest.$ac_ext 3778EXEEXT=$ac_cv_exeext 3779ac_exeext=$EXEEXT 3780cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3781/* end confdefs.h. */ 3782#include <stdio.h> 3783int 3784main () 3785{ 3786FILE *f = fopen ("conftest.out", "w"); 3787 return ferror (f) || fclose (f) != 0; 3788 3789 ; 3790 return 0; 3791} 3792_ACEOF 3793ac_clean_files="$ac_clean_files conftest.out" 3794# Check that the compiler produces executables we can run. If not, either 3795# the compiler is broken, or we cross compile. 3796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3797$as_echo_n "checking whether we are cross compiling... " >&6; } 3798if test "$cross_compiling" != yes; then 3799 { { ac_try="$ac_link" 3800case "(($ac_try" in 3801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3802 *) ac_try_echo=$ac_try;; 3803esac 3804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3805$as_echo "$ac_try_echo"; } >&5 3806 (eval "$ac_link") 2>&5 3807 ac_status=$? 3808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3809 test $ac_status = 0; } 3810 if { ac_try='./conftest$ac_cv_exeext' 3811 { { case "(($ac_try" in 3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3813 *) ac_try_echo=$ac_try;; 3814esac 3815eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3816$as_echo "$ac_try_echo"; } >&5 3817 (eval "$ac_try") 2>&5 3818 ac_status=$? 3819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3820 test $ac_status = 0; }; }; then 3821 cross_compiling=no 3822 else 3823 if test "$cross_compiling" = maybe; then 3824 cross_compiling=yes 3825 else 3826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3827$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3828as_fn_error $? "cannot run C compiled programs. 3829If you meant to cross compile, use \`--host'. 3830See \`config.log' for more details" "$LINENO" 5; } 3831 fi 3832 fi 3833fi 3834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3835$as_echo "$cross_compiling" >&6; } 3836 3837rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3838ac_clean_files=$ac_clean_files_save 3839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3840$as_echo_n "checking for suffix of object files... " >&6; } 3841if ${ac_cv_objext+:} false; then : 3842 $as_echo_n "(cached) " >&6 3843else 3844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3845/* end confdefs.h. */ 3846 3847int 3848main () 3849{ 3850 3851 ; 3852 return 0; 3853} 3854_ACEOF 3855rm -f conftest.o conftest.obj 3856if { { ac_try="$ac_compile" 3857case "(($ac_try" in 3858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3859 *) ac_try_echo=$ac_try;; 3860esac 3861eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3862$as_echo "$ac_try_echo"; } >&5 3863 (eval "$ac_compile") 2>&5 3864 ac_status=$? 3865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3866 test $ac_status = 0; }; then : 3867 for ac_file in conftest.o conftest.obj conftest.*; do 3868 test -f "$ac_file" || continue; 3869 case $ac_file in 3870 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3871 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3872 break;; 3873 esac 3874done 3875else 3876 $as_echo "$as_me: failed program was:" >&5 3877sed 's/^/| /' conftest.$ac_ext >&5 3878 3879{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3880$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3881as_fn_error $? "cannot compute suffix of object files: cannot compile 3882See \`config.log' for more details" "$LINENO" 5; } 3883fi 3884rm -f conftest.$ac_cv_objext conftest.$ac_ext 3885fi 3886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3887$as_echo "$ac_cv_objext" >&6; } 3888OBJEXT=$ac_cv_objext 3889ac_objext=$OBJEXT 3890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3891$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3892if ${ac_cv_c_compiler_gnu+:} false; then : 3893 $as_echo_n "(cached) " >&6 3894else 3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3896/* end confdefs.h. */ 3897 3898int 3899main () 3900{ 3901#ifndef __GNUC__ 3902 choke me 3903#endif 3904 3905 ; 3906 return 0; 3907} 3908_ACEOF 3909if ac_fn_c_try_compile "$LINENO"; then : 3910 ac_compiler_gnu=yes 3911else 3912 ac_compiler_gnu=no 3913fi 3914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3915ac_cv_c_compiler_gnu=$ac_compiler_gnu 3916 3917fi 3918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3919$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3920if test $ac_compiler_gnu = yes; then 3921 GCC=yes 3922else 3923 GCC= 3924fi 3925ac_test_CFLAGS=${CFLAGS+set} 3926ac_save_CFLAGS=$CFLAGS 3927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3928$as_echo_n "checking whether $CC accepts -g... " >&6; } 3929if ${ac_cv_prog_cc_g+:} false; then : 3930 $as_echo_n "(cached) " >&6 3931else 3932 ac_save_c_werror_flag=$ac_c_werror_flag 3933 ac_c_werror_flag=yes 3934 ac_cv_prog_cc_g=no 3935 CFLAGS="-g" 3936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3937/* end confdefs.h. */ 3938 3939int 3940main () 3941{ 3942 3943 ; 3944 return 0; 3945} 3946_ACEOF 3947if ac_fn_c_try_compile "$LINENO"; then : 3948 ac_cv_prog_cc_g=yes 3949else 3950 CFLAGS="" 3951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3952/* end confdefs.h. */ 3953 3954int 3955main () 3956{ 3957 3958 ; 3959 return 0; 3960} 3961_ACEOF 3962if ac_fn_c_try_compile "$LINENO"; then : 3963 3964else 3965 ac_c_werror_flag=$ac_save_c_werror_flag 3966 CFLAGS="-g" 3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3968/* end confdefs.h. */ 3969 3970int 3971main () 3972{ 3973 3974 ; 3975 return 0; 3976} 3977_ACEOF 3978if ac_fn_c_try_compile "$LINENO"; then : 3979 ac_cv_prog_cc_g=yes 3980fi 3981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3982fi 3983rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3984fi 3985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3986 ac_c_werror_flag=$ac_save_c_werror_flag 3987fi 3988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3989$as_echo "$ac_cv_prog_cc_g" >&6; } 3990if test "$ac_test_CFLAGS" = set; then 3991 CFLAGS=$ac_save_CFLAGS 3992elif test $ac_cv_prog_cc_g = yes; then 3993 if test "$GCC" = yes; then 3994 CFLAGS="-g -O2" 3995 else 3996 CFLAGS="-g" 3997 fi 3998else 3999 if test "$GCC" = yes; then 4000 CFLAGS="-O2" 4001 else 4002 CFLAGS= 4003 fi 4004fi 4005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4006$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4007if ${ac_cv_prog_cc_c89+:} false; then : 4008 $as_echo_n "(cached) " >&6 4009else 4010 ac_cv_prog_cc_c89=no 4011ac_save_CC=$CC 4012cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4013/* end confdefs.h. */ 4014#include <stdarg.h> 4015#include <stdio.h> 4016struct stat; 4017/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4018struct buf { int x; }; 4019FILE * (*rcsopen) (struct buf *, struct stat *, int); 4020static char *e (p, i) 4021 char **p; 4022 int i; 4023{ 4024 return p[i]; 4025} 4026static char *f (char * (*g) (char **, int), char **p, ...) 4027{ 4028 char *s; 4029 va_list v; 4030 va_start (v,p); 4031 s = g (p, va_arg (v,int)); 4032 va_end (v); 4033 return s; 4034} 4035 4036/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4037 function prototypes and stuff, but not '\xHH' hex character constants. 4038 These don't provoke an error unfortunately, instead are silently treated 4039 as 'x'. The following induces an error, until -std is added to get 4040 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4041 array size at least. It's necessary to write '\x00'==0 to get something 4042 that's true only with -std. */ 4043int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4044 4045/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4046 inside strings and character constants. */ 4047#define FOO(x) 'x' 4048int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4049 4050int test (int i, double x); 4051struct s1 {int (*f) (int a);}; 4052struct s2 {int (*f) (double a);}; 4053int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4054int argc; 4055char **argv; 4056int 4057main () 4058{ 4059return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4060 ; 4061 return 0; 4062} 4063_ACEOF 4064for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4065 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4066do 4067 CC="$ac_save_CC $ac_arg" 4068 if ac_fn_c_try_compile "$LINENO"; then : 4069 ac_cv_prog_cc_c89=$ac_arg 4070fi 4071rm -f core conftest.err conftest.$ac_objext 4072 test "x$ac_cv_prog_cc_c89" != "xno" && break 4073done 4074rm -f conftest.$ac_ext 4075CC=$ac_save_CC 4076 4077fi 4078# AC_CACHE_VAL 4079case "x$ac_cv_prog_cc_c89" in 4080 x) 4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4082$as_echo "none needed" >&6; } ;; 4083 xno) 4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4085$as_echo "unsupported" >&6; } ;; 4086 *) 4087 CC="$CC $ac_cv_prog_cc_c89" 4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4089$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4090esac 4091if test "x$ac_cv_prog_cc_c89" != xno; then : 4092 4093fi 4094 4095ac_ext=c 4096ac_cpp='$CPP $CPPFLAGS' 4097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4099ac_compiler_gnu=$ac_cv_c_compiler_gnu 4100 4101ac_ext=c 4102ac_cpp='$CPP $CPPFLAGS' 4103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4105ac_compiler_gnu=$ac_cv_c_compiler_gnu 4106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4107$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4108if ${am_cv_prog_cc_c_o+:} false; then : 4109 $as_echo_n "(cached) " >&6 4110else 4111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4112/* end confdefs.h. */ 4113 4114int 4115main () 4116{ 4117 4118 ; 4119 return 0; 4120} 4121_ACEOF 4122 # Make sure it works both with $CC and with simple cc. 4123 # Following AC_PROG_CC_C_O, we do the test twice because some 4124 # compilers refuse to overwrite an existing .o file with -o, 4125 # though they will create one. 4126 am_cv_prog_cc_c_o=yes 4127 for am_i in 1 2; do 4128 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4129 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4130 ac_status=$? 4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4132 (exit $ac_status); } \ 4133 && test -f conftest2.$ac_objext; then 4134 : OK 4135 else 4136 am_cv_prog_cc_c_o=no 4137 break 4138 fi 4139 done 4140 rm -f core conftest* 4141 unset am_i 4142fi 4143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4144$as_echo "$am_cv_prog_cc_c_o" >&6; } 4145if test "$am_cv_prog_cc_c_o" != yes; then 4146 # Losing compiler, so override with the script. 4147 # FIXME: It is wrong to rewrite CC. 4148 # But if we don't then we get into trouble of one sort or another. 4149 # A longer-term fix would be to have automake use am__CC in this case, 4150 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4151 CC="$am_aux_dir/compile $CC" 4152fi 4153ac_ext=c 4154ac_cpp='$CPP $CPPFLAGS' 4155ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4156ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4157ac_compiler_gnu=$ac_cv_c_compiler_gnu 4158 4159 4160depcc="$CC" am_compiler_list= 4161 4162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4163$as_echo_n "checking dependency style of $depcc... " >&6; } 4164if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4165 $as_echo_n "(cached) " >&6 4166else 4167 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4168 # We make a subdir and do the tests there. Otherwise we can end up 4169 # making bogus files that we don't know about and never remove. For 4170 # instance it was reported that on HP-UX the gcc test will end up 4171 # making a dummy file named 'D' -- because '-MD' means "put the output 4172 # in D". 4173 rm -rf conftest.dir 4174 mkdir conftest.dir 4175 # Copy depcomp to subdir because otherwise we won't find it if we're 4176 # using a relative directory. 4177 cp "$am_depcomp" conftest.dir 4178 cd conftest.dir 4179 # We will build objects and dependencies in a subdirectory because 4180 # it helps to detect inapplicable dependency modes. For instance 4181 # both Tru64's cc and ICC support -MD to output dependencies as a 4182 # side effect of compilation, but ICC will put the dependencies in 4183 # the current directory while Tru64 will put them in the object 4184 # directory. 4185 mkdir sub 4186 4187 am_cv_CC_dependencies_compiler_type=none 4188 if test "$am_compiler_list" = ""; then 4189 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4190 fi 4191 am__universal=false 4192 case " $depcc " in #( 4193 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4194 esac 4195 4196 for depmode in $am_compiler_list; do 4197 # Setup a source with many dependencies, because some compilers 4198 # like to wrap large dependency lists on column 80 (with \), and 4199 # we should not choose a depcomp mode which is confused by this. 4200 # 4201 # We need to recreate these files for each test, as the compiler may 4202 # overwrite some of them when testing with obscure command lines. 4203 # This happens at least with the AIX C compiler. 4204 : > sub/conftest.c 4205 for i in 1 2 3 4 5 6; do 4206 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4207 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4208 # Solaris 10 /bin/sh. 4209 echo '/* dummy */' > sub/conftst$i.h 4210 done 4211 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4212 4213 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4214 # mode. It turns out that the SunPro C++ compiler does not properly 4215 # handle '-M -o', and we need to detect this. Also, some Intel 4216 # versions had trouble with output in subdirs. 4217 am__obj=sub/conftest.${OBJEXT-o} 4218 am__minus_obj="-o $am__obj" 4219 case $depmode in 4220 gcc) 4221 # This depmode causes a compiler race in universal mode. 4222 test "$am__universal" = false || continue 4223 ;; 4224 nosideeffect) 4225 # After this tag, mechanisms are not by side-effect, so they'll 4226 # only be used when explicitly requested. 4227 if test "x$enable_dependency_tracking" = xyes; then 4228 continue 4229 else 4230 break 4231 fi 4232 ;; 4233 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4234 # This compiler won't grok '-c -o', but also, the minuso test has 4235 # not run yet. These depmodes are late enough in the game, and 4236 # so weak that their functioning should not be impacted. 4237 am__obj=conftest.${OBJEXT-o} 4238 am__minus_obj= 4239 ;; 4240 none) break ;; 4241 esac 4242 if depmode=$depmode \ 4243 source=sub/conftest.c object=$am__obj \ 4244 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4245 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4246 >/dev/null 2>conftest.err && 4247 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4248 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4249 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4250 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4251 # icc doesn't choke on unknown options, it will just issue warnings 4252 # or remarks (even with -Werror). So we grep stderr for any message 4253 # that says an option was ignored or not supported. 4254 # When given -MP, icc 7.0 and 7.1 complain thusly: 4255 # icc: Command line warning: ignoring option '-M'; no argument required 4256 # The diagnosis changed in icc 8.0: 4257 # icc: Command line remark: option '-MP' not supported 4258 if (grep 'ignoring option' conftest.err || 4259 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4260 am_cv_CC_dependencies_compiler_type=$depmode 4261 break 4262 fi 4263 fi 4264 done 4265 4266 cd .. 4267 rm -rf conftest.dir 4268else 4269 am_cv_CC_dependencies_compiler_type=none 4270fi 4271 4272fi 4273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4274$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4275CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4276 4277 if 4278 test "x$enable_dependency_tracking" != xno \ 4279 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4280 am__fastdepCC_TRUE= 4281 am__fastdepCC_FALSE='#' 4282else 4283 am__fastdepCC_TRUE='#' 4284 am__fastdepCC_FALSE= 4285fi 4286 4287 4288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4289$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4290if ${ac_cv_path_SED+:} false; then : 4291 $as_echo_n "(cached) " >&6 4292else 4293 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4294 for ac_i in 1 2 3 4 5 6 7; do 4295 ac_script="$ac_script$as_nl$ac_script" 4296 done 4297 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4298 { ac_script=; unset ac_script;} 4299 if test -z "$SED"; then 4300 ac_path_SED_found=false 4301 # Loop through the user's path and test for each of PROGNAME-LIST 4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4303for as_dir in $PATH 4304do 4305 IFS=$as_save_IFS 4306 test -z "$as_dir" && as_dir=. 4307 for ac_prog in sed gsed; do 4308 for ac_exec_ext in '' $ac_executable_extensions; do 4309 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4310 as_fn_executable_p "$ac_path_SED" || continue 4311# Check for GNU ac_path_SED and select it if it is found. 4312 # Check for GNU $ac_path_SED 4313case `"$ac_path_SED" --version 2>&1` in 4314*GNU*) 4315 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4316*) 4317 ac_count=0 4318 $as_echo_n 0123456789 >"conftest.in" 4319 while : 4320 do 4321 cat "conftest.in" "conftest.in" >"conftest.tmp" 4322 mv "conftest.tmp" "conftest.in" 4323 cp "conftest.in" "conftest.nl" 4324 $as_echo '' >> "conftest.nl" 4325 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4326 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4327 as_fn_arith $ac_count + 1 && ac_count=$as_val 4328 if test $ac_count -gt ${ac_path_SED_max-0}; then 4329 # Best one so far, save it but keep looking for a better one 4330 ac_cv_path_SED="$ac_path_SED" 4331 ac_path_SED_max=$ac_count 4332 fi 4333 # 10*(2^10) chars as input seems more than enough 4334 test $ac_count -gt 10 && break 4335 done 4336 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4337esac 4338 4339 $ac_path_SED_found && break 3 4340 done 4341 done 4342 done 4343IFS=$as_save_IFS 4344 if test -z "$ac_cv_path_SED"; then 4345 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4346 fi 4347else 4348 ac_cv_path_SED=$SED 4349fi 4350 4351fi 4352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4353$as_echo "$ac_cv_path_SED" >&6; } 4354 SED="$ac_cv_path_SED" 4355 rm -f conftest.sed 4356 4357test -z "$SED" && SED=sed 4358Xsed="$SED -e 1s/^X//" 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4371$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4372if ${ac_cv_path_GREP+:} false; then : 4373 $as_echo_n "(cached) " >&6 4374else 4375 if test -z "$GREP"; then 4376 ac_path_GREP_found=false 4377 # Loop through the user's path and test for each of PROGNAME-LIST 4378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4379for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4380do 4381 IFS=$as_save_IFS 4382 test -z "$as_dir" && as_dir=. 4383 for ac_prog in grep ggrep; do 4384 for ac_exec_ext in '' $ac_executable_extensions; do 4385 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4386 as_fn_executable_p "$ac_path_GREP" || continue 4387# Check for GNU ac_path_GREP and select it if it is found. 4388 # Check for GNU $ac_path_GREP 4389case `"$ac_path_GREP" --version 2>&1` in 4390*GNU*) 4391 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4392*) 4393 ac_count=0 4394 $as_echo_n 0123456789 >"conftest.in" 4395 while : 4396 do 4397 cat "conftest.in" "conftest.in" >"conftest.tmp" 4398 mv "conftest.tmp" "conftest.in" 4399 cp "conftest.in" "conftest.nl" 4400 $as_echo 'GREP' >> "conftest.nl" 4401 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4402 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4403 as_fn_arith $ac_count + 1 && ac_count=$as_val 4404 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4405 # Best one so far, save it but keep looking for a better one 4406 ac_cv_path_GREP="$ac_path_GREP" 4407 ac_path_GREP_max=$ac_count 4408 fi 4409 # 10*(2^10) chars as input seems more than enough 4410 test $ac_count -gt 10 && break 4411 done 4412 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4413esac 4414 4415 $ac_path_GREP_found && break 3 4416 done 4417 done 4418 done 4419IFS=$as_save_IFS 4420 if test -z "$ac_cv_path_GREP"; then 4421 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4422 fi 4423else 4424 ac_cv_path_GREP=$GREP 4425fi 4426 4427fi 4428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4429$as_echo "$ac_cv_path_GREP" >&6; } 4430 GREP="$ac_cv_path_GREP" 4431 4432 4433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4434$as_echo_n "checking for egrep... " >&6; } 4435if ${ac_cv_path_EGREP+:} false; then : 4436 $as_echo_n "(cached) " >&6 4437else 4438 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4439 then ac_cv_path_EGREP="$GREP -E" 4440 else 4441 if test -z "$EGREP"; then 4442 ac_path_EGREP_found=false 4443 # Loop through the user's path and test for each of PROGNAME-LIST 4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4445for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4446do 4447 IFS=$as_save_IFS 4448 test -z "$as_dir" && as_dir=. 4449 for ac_prog in egrep; do 4450 for ac_exec_ext in '' $ac_executable_extensions; do 4451 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4452 as_fn_executable_p "$ac_path_EGREP" || continue 4453# Check for GNU ac_path_EGREP and select it if it is found. 4454 # Check for GNU $ac_path_EGREP 4455case `"$ac_path_EGREP" --version 2>&1` in 4456*GNU*) 4457 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4458*) 4459 ac_count=0 4460 $as_echo_n 0123456789 >"conftest.in" 4461 while : 4462 do 4463 cat "conftest.in" "conftest.in" >"conftest.tmp" 4464 mv "conftest.tmp" "conftest.in" 4465 cp "conftest.in" "conftest.nl" 4466 $as_echo 'EGREP' >> "conftest.nl" 4467 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4468 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4469 as_fn_arith $ac_count + 1 && ac_count=$as_val 4470 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4471 # Best one so far, save it but keep looking for a better one 4472 ac_cv_path_EGREP="$ac_path_EGREP" 4473 ac_path_EGREP_max=$ac_count 4474 fi 4475 # 10*(2^10) chars as input seems more than enough 4476 test $ac_count -gt 10 && break 4477 done 4478 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4479esac 4480 4481 $ac_path_EGREP_found && break 3 4482 done 4483 done 4484 done 4485IFS=$as_save_IFS 4486 if test -z "$ac_cv_path_EGREP"; then 4487 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4488 fi 4489else 4490 ac_cv_path_EGREP=$EGREP 4491fi 4492 4493 fi 4494fi 4495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4496$as_echo "$ac_cv_path_EGREP" >&6; } 4497 EGREP="$ac_cv_path_EGREP" 4498 4499 4500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4501$as_echo_n "checking for fgrep... " >&6; } 4502if ${ac_cv_path_FGREP+:} false; then : 4503 $as_echo_n "(cached) " >&6 4504else 4505 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4506 then ac_cv_path_FGREP="$GREP -F" 4507 else 4508 if test -z "$FGREP"; then 4509 ac_path_FGREP_found=false 4510 # Loop through the user's path and test for each of PROGNAME-LIST 4511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4512for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4513do 4514 IFS=$as_save_IFS 4515 test -z "$as_dir" && as_dir=. 4516 for ac_prog in fgrep; do 4517 for ac_exec_ext in '' $ac_executable_extensions; do 4518 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4519 as_fn_executable_p "$ac_path_FGREP" || continue 4520# Check for GNU ac_path_FGREP and select it if it is found. 4521 # Check for GNU $ac_path_FGREP 4522case `"$ac_path_FGREP" --version 2>&1` in 4523*GNU*) 4524 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4525*) 4526 ac_count=0 4527 $as_echo_n 0123456789 >"conftest.in" 4528 while : 4529 do 4530 cat "conftest.in" "conftest.in" >"conftest.tmp" 4531 mv "conftest.tmp" "conftest.in" 4532 cp "conftest.in" "conftest.nl" 4533 $as_echo 'FGREP' >> "conftest.nl" 4534 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4535 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4536 as_fn_arith $ac_count + 1 && ac_count=$as_val 4537 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4538 # Best one so far, save it but keep looking for a better one 4539 ac_cv_path_FGREP="$ac_path_FGREP" 4540 ac_path_FGREP_max=$ac_count 4541 fi 4542 # 10*(2^10) chars as input seems more than enough 4543 test $ac_count -gt 10 && break 4544 done 4545 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4546esac 4547 4548 $ac_path_FGREP_found && break 3 4549 done 4550 done 4551 done 4552IFS=$as_save_IFS 4553 if test -z "$ac_cv_path_FGREP"; then 4554 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4555 fi 4556else 4557 ac_cv_path_FGREP=$FGREP 4558fi 4559 4560 fi 4561fi 4562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4563$as_echo "$ac_cv_path_FGREP" >&6; } 4564 FGREP="$ac_cv_path_FGREP" 4565 4566 4567test -z "$GREP" && GREP=grep 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587# Check whether --with-gnu-ld was given. 4588if test "${with_gnu_ld+set}" = set; then : 4589 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4590else 4591 with_gnu_ld=no 4592fi 4593 4594ac_prog=ld 4595if test yes = "$GCC"; then 4596 # Check if gcc -print-prog-name=ld gives a path. 4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4598$as_echo_n "checking for ld used by $CC... " >&6; } 4599 case $host in 4600 *-*-mingw*) 4601 # gcc leaves a trailing carriage return, which upsets mingw 4602 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4603 *) 4604 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4605 esac 4606 case $ac_prog in 4607 # Accept absolute paths. 4608 [\\/]* | ?:[\\/]*) 4609 re_direlt='/[^/][^/]*/\.\./' 4610 # Canonicalize the pathname of ld 4611 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4612 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4613 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4614 done 4615 test -z "$LD" && LD=$ac_prog 4616 ;; 4617 "") 4618 # If it fails, then pretend we aren't using GCC. 4619 ac_prog=ld 4620 ;; 4621 *) 4622 # If it is relative, then search for the first ld in PATH. 4623 with_gnu_ld=unknown 4624 ;; 4625 esac 4626elif test yes = "$with_gnu_ld"; then 4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4628$as_echo_n "checking for GNU ld... " >&6; } 4629else 4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4631$as_echo_n "checking for non-GNU ld... " >&6; } 4632fi 4633if ${lt_cv_path_LD+:} false; then : 4634 $as_echo_n "(cached) " >&6 4635else 4636 if test -z "$LD"; then 4637 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4638 for ac_dir in $PATH; do 4639 IFS=$lt_save_ifs 4640 test -z "$ac_dir" && ac_dir=. 4641 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4642 lt_cv_path_LD=$ac_dir/$ac_prog 4643 # Check to see if the program is GNU ld. I'd rather use --version, 4644 # but apparently some variants of GNU ld only accept -v. 4645 # Break only if it was the GNU/non-GNU ld that we prefer. 4646 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4647 *GNU* | *'with BFD'*) 4648 test no != "$with_gnu_ld" && break 4649 ;; 4650 *) 4651 test yes != "$with_gnu_ld" && break 4652 ;; 4653 esac 4654 fi 4655 done 4656 IFS=$lt_save_ifs 4657else 4658 lt_cv_path_LD=$LD # Let the user override the test with a path. 4659fi 4660fi 4661 4662LD=$lt_cv_path_LD 4663if test -n "$LD"; then 4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4665$as_echo "$LD" >&6; } 4666else 4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4668$as_echo "no" >&6; } 4669fi 4670test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4672$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4673if ${lt_cv_prog_gnu_ld+:} false; then : 4674 $as_echo_n "(cached) " >&6 4675else 4676 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4677case `$LD -v 2>&1 </dev/null` in 4678*GNU* | *'with BFD'*) 4679 lt_cv_prog_gnu_ld=yes 4680 ;; 4681*) 4682 lt_cv_prog_gnu_ld=no 4683 ;; 4684esac 4685fi 4686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4687$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4688with_gnu_ld=$lt_cv_prog_gnu_ld 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4699$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4700if ${lt_cv_path_NM+:} false; then : 4701 $as_echo_n "(cached) " >&6 4702else 4703 if test -n "$NM"; then 4704 # Let the user override the test. 4705 lt_cv_path_NM=$NM 4706else 4707 lt_nm_to_check=${ac_tool_prefix}nm 4708 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4709 lt_nm_to_check="$lt_nm_to_check nm" 4710 fi 4711 for lt_tmp_nm in $lt_nm_to_check; do 4712 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4713 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4714 IFS=$lt_save_ifs 4715 test -z "$ac_dir" && ac_dir=. 4716 tmp_nm=$ac_dir/$lt_tmp_nm 4717 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4718 # Check to see if the nm accepts a BSD-compat flag. 4719 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4720 # nm: unknown option "B" ignored 4721 # Tru64's nm complains that /dev/null is an invalid object file 4722 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4723 case $build_os in 4724 mingw*) lt_bad_file=conftest.nm/nofile ;; 4725 *) lt_bad_file=/dev/null ;; 4726 esac 4727 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4728 *$lt_bad_file* | *'Invalid file or object type'*) 4729 lt_cv_path_NM="$tmp_nm -B" 4730 break 2 4731 ;; 4732 *) 4733 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4734 */dev/null*) 4735 lt_cv_path_NM="$tmp_nm -p" 4736 break 2 4737 ;; 4738 *) 4739 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4740 continue # so that we can try to find one that supports BSD flags 4741 ;; 4742 esac 4743 ;; 4744 esac 4745 fi 4746 done 4747 IFS=$lt_save_ifs 4748 done 4749 : ${lt_cv_path_NM=no} 4750fi 4751fi 4752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4753$as_echo "$lt_cv_path_NM" >&6; } 4754if test no != "$lt_cv_path_NM"; then 4755 NM=$lt_cv_path_NM 4756else 4757 # Didn't find any BSD compatible name lister, look for dumpbin. 4758 if test -n "$DUMPBIN"; then : 4759 # Let the user override the test. 4760 else 4761 if test -n "$ac_tool_prefix"; then 4762 for ac_prog in dumpbin "link -dump" 4763 do 4764 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4765set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4767$as_echo_n "checking for $ac_word... " >&6; } 4768if ${ac_cv_prog_DUMPBIN+:} false; then : 4769 $as_echo_n "(cached) " >&6 4770else 4771 if test -n "$DUMPBIN"; then 4772 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4773else 4774as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4775for as_dir in $PATH 4776do 4777 IFS=$as_save_IFS 4778 test -z "$as_dir" && as_dir=. 4779 for ac_exec_ext in '' $ac_executable_extensions; do 4780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4781 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4783 break 2 4784 fi 4785done 4786 done 4787IFS=$as_save_IFS 4788 4789fi 4790fi 4791DUMPBIN=$ac_cv_prog_DUMPBIN 4792if test -n "$DUMPBIN"; then 4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4794$as_echo "$DUMPBIN" >&6; } 4795else 4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4797$as_echo "no" >&6; } 4798fi 4799 4800 4801 test -n "$DUMPBIN" && break 4802 done 4803fi 4804if test -z "$DUMPBIN"; then 4805 ac_ct_DUMPBIN=$DUMPBIN 4806 for ac_prog in dumpbin "link -dump" 4807do 4808 # Extract the first word of "$ac_prog", so it can be a program name with args. 4809set dummy $ac_prog; ac_word=$2 4810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4811$as_echo_n "checking for $ac_word... " >&6; } 4812if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4813 $as_echo_n "(cached) " >&6 4814else 4815 if test -n "$ac_ct_DUMPBIN"; then 4816 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4817else 4818as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4819for as_dir in $PATH 4820do 4821 IFS=$as_save_IFS 4822 test -z "$as_dir" && as_dir=. 4823 for ac_exec_ext in '' $ac_executable_extensions; do 4824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4825 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4827 break 2 4828 fi 4829done 4830 done 4831IFS=$as_save_IFS 4832 4833fi 4834fi 4835ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4836if test -n "$ac_ct_DUMPBIN"; then 4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4838$as_echo "$ac_ct_DUMPBIN" >&6; } 4839else 4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4841$as_echo "no" >&6; } 4842fi 4843 4844 4845 test -n "$ac_ct_DUMPBIN" && break 4846done 4847 4848 if test "x$ac_ct_DUMPBIN" = x; then 4849 DUMPBIN=":" 4850 else 4851 case $cross_compiling:$ac_tool_warned in 4852yes:) 4853{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4854$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4855ac_tool_warned=yes ;; 4856esac 4857 DUMPBIN=$ac_ct_DUMPBIN 4858 fi 4859fi 4860 4861 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4862 *COFF*) 4863 DUMPBIN="$DUMPBIN -symbols -headers" 4864 ;; 4865 *) 4866 DUMPBIN=: 4867 ;; 4868 esac 4869 fi 4870 4871 if test : != "$DUMPBIN"; then 4872 NM=$DUMPBIN 4873 fi 4874fi 4875test -z "$NM" && NM=nm 4876 4877 4878 4879 4880 4881 4882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4883$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4884if ${lt_cv_nm_interface+:} false; then : 4885 $as_echo_n "(cached) " >&6 4886else 4887 lt_cv_nm_interface="BSD nm" 4888 echo "int some_variable = 0;" > conftest.$ac_ext 4889 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4890 (eval "$ac_compile" 2>conftest.err) 4891 cat conftest.err >&5 4892 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4893 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4894 cat conftest.err >&5 4895 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4896 cat conftest.out >&5 4897 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4898 lt_cv_nm_interface="MS dumpbin" 4899 fi 4900 rm -f conftest* 4901fi 4902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4903$as_echo "$lt_cv_nm_interface" >&6; } 4904 4905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4906$as_echo_n "checking whether ln -s works... " >&6; } 4907LN_S=$as_ln_s 4908if test "$LN_S" = "ln -s"; then 4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4910$as_echo "yes" >&6; } 4911else 4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4913$as_echo "no, using $LN_S" >&6; } 4914fi 4915 4916# find the maximum length of command line arguments 4917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4918$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4919if ${lt_cv_sys_max_cmd_len+:} false; then : 4920 $as_echo_n "(cached) " >&6 4921else 4922 i=0 4923 teststring=ABCD 4924 4925 case $build_os in 4926 msdosdjgpp*) 4927 # On DJGPP, this test can blow up pretty badly due to problems in libc 4928 # (any single argument exceeding 2000 bytes causes a buffer overrun 4929 # during glob expansion). Even if it were fixed, the result of this 4930 # check would be larger than it should be. 4931 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4932 ;; 4933 4934 gnu*) 4935 # Under GNU Hurd, this test is not required because there is 4936 # no limit to the length of command line arguments. 4937 # Libtool will interpret -1 as no limit whatsoever 4938 lt_cv_sys_max_cmd_len=-1; 4939 ;; 4940 4941 cygwin* | mingw* | cegcc*) 4942 # On Win9x/ME, this test blows up -- it succeeds, but takes 4943 # about 5 minutes as the teststring grows exponentially. 4944 # Worse, since 9x/ME are not pre-emptively multitasking, 4945 # you end up with a "frozen" computer, even though with patience 4946 # the test eventually succeeds (with a max line length of 256k). 4947 # Instead, let's just punt: use the minimum linelength reported by 4948 # all of the supported platforms: 8192 (on NT/2K/XP). 4949 lt_cv_sys_max_cmd_len=8192; 4950 ;; 4951 4952 mint*) 4953 # On MiNT this can take a long time and run out of memory. 4954 lt_cv_sys_max_cmd_len=8192; 4955 ;; 4956 4957 amigaos*) 4958 # On AmigaOS with pdksh, this test takes hours, literally. 4959 # So we just punt and use a minimum line length of 8192. 4960 lt_cv_sys_max_cmd_len=8192; 4961 ;; 4962 4963 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4964 # This has been around since 386BSD, at least. Likely further. 4965 if test -x /sbin/sysctl; then 4966 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4967 elif test -x /usr/sbin/sysctl; then 4968 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4969 else 4970 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4971 fi 4972 # And add a safety zone 4973 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4975 ;; 4976 4977 interix*) 4978 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4979 lt_cv_sys_max_cmd_len=196608 4980 ;; 4981 4982 os2*) 4983 # The test takes a long time on OS/2. 4984 lt_cv_sys_max_cmd_len=8192 4985 ;; 4986 4987 osf*) 4988 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4989 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4990 # nice to cause kernel panics so lets avoid the loop below. 4991 # First set a reasonable default. 4992 lt_cv_sys_max_cmd_len=16384 4993 # 4994 if test -x /sbin/sysconfig; then 4995 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4996 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4997 esac 4998 fi 4999 ;; 5000 sco3.2v5*) 5001 lt_cv_sys_max_cmd_len=102400 5002 ;; 5003 sysv5* | sco5v6* | sysv4.2uw2*) 5004 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5005 if test -n "$kargmax"; then 5006 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5007 else 5008 lt_cv_sys_max_cmd_len=32768 5009 fi 5010 ;; 5011 *) 5012 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5013 if test -n "$lt_cv_sys_max_cmd_len" && \ 5014 test undefined != "$lt_cv_sys_max_cmd_len"; then 5015 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5016 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5017 else 5018 # Make teststring a little bigger before we do anything with it. 5019 # a 1K string should be a reasonable start. 5020 for i in 1 2 3 4 5 6 7 8; do 5021 teststring=$teststring$teststring 5022 done 5023 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5024 # If test is not a shell built-in, we'll probably end up computing a 5025 # maximum length that is only half of the actual maximum length, but 5026 # we can't tell. 5027 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5028 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5029 test 17 != "$i" # 1/2 MB should be enough 5030 do 5031 i=`expr $i + 1` 5032 teststring=$teststring$teststring 5033 done 5034 # Only check the string length outside the loop. 5035 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5036 teststring= 5037 # Add a significant safety factor because C++ compilers can tack on 5038 # massive amounts of additional arguments before passing them to the 5039 # linker. It appears as though 1/2 is a usable value. 5040 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5041 fi 5042 ;; 5043 esac 5044 5045fi 5046 5047if test -n "$lt_cv_sys_max_cmd_len"; then 5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5049$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5050else 5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5052$as_echo "none" >&6; } 5053fi 5054max_cmd_len=$lt_cv_sys_max_cmd_len 5055 5056 5057 5058 5059 5060 5061: ${CP="cp -f"} 5062: ${MV="mv -f"} 5063: ${RM="rm -f"} 5064 5065if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5066 lt_unset=unset 5067else 5068 lt_unset=false 5069fi 5070 5071 5072 5073 5074 5075# test EBCDIC or ASCII 5076case `echo X|tr X '\101'` in 5077 A) # ASCII based system 5078 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5079 lt_SP2NL='tr \040 \012' 5080 lt_NL2SP='tr \015\012 \040\040' 5081 ;; 5082 *) # EBCDIC based system 5083 lt_SP2NL='tr \100 \n' 5084 lt_NL2SP='tr \r\n \100\100' 5085 ;; 5086esac 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5097$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5098if ${lt_cv_to_host_file_cmd+:} false; then : 5099 $as_echo_n "(cached) " >&6 5100else 5101 case $host in 5102 *-*-mingw* ) 5103 case $build in 5104 *-*-mingw* ) # actually msys 5105 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5106 ;; 5107 *-*-cygwin* ) 5108 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5109 ;; 5110 * ) # otherwise, assume *nix 5111 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5112 ;; 5113 esac 5114 ;; 5115 *-*-cygwin* ) 5116 case $build in 5117 *-*-mingw* ) # actually msys 5118 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5119 ;; 5120 *-*-cygwin* ) 5121 lt_cv_to_host_file_cmd=func_convert_file_noop 5122 ;; 5123 * ) # otherwise, assume *nix 5124 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5125 ;; 5126 esac 5127 ;; 5128 * ) # unhandled hosts (and "normal" native builds) 5129 lt_cv_to_host_file_cmd=func_convert_file_noop 5130 ;; 5131esac 5132 5133fi 5134 5135to_host_file_cmd=$lt_cv_to_host_file_cmd 5136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5137$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5138 5139 5140 5141 5142 5143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5144$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5145if ${lt_cv_to_tool_file_cmd+:} false; then : 5146 $as_echo_n "(cached) " >&6 5147else 5148 #assume ordinary cross tools, or native build. 5149lt_cv_to_tool_file_cmd=func_convert_file_noop 5150case $host in 5151 *-*-mingw* ) 5152 case $build in 5153 *-*-mingw* ) # actually msys 5154 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5155 ;; 5156 esac 5157 ;; 5158esac 5159 5160fi 5161 5162to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5164$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5165 5166 5167 5168 5169 5170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5171$as_echo_n "checking for $LD option to reload object files... " >&6; } 5172if ${lt_cv_ld_reload_flag+:} false; then : 5173 $as_echo_n "(cached) " >&6 5174else 5175 lt_cv_ld_reload_flag='-r' 5176fi 5177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5178$as_echo "$lt_cv_ld_reload_flag" >&6; } 5179reload_flag=$lt_cv_ld_reload_flag 5180case $reload_flag in 5181"" | " "*) ;; 5182*) reload_flag=" $reload_flag" ;; 5183esac 5184reload_cmds='$LD$reload_flag -o $output$reload_objs' 5185case $host_os in 5186 cygwin* | mingw* | pw32* | cegcc*) 5187 if test yes != "$GCC"; then 5188 reload_cmds=false 5189 fi 5190 ;; 5191 darwin*) 5192 if test yes = "$GCC"; then 5193 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5194 else 5195 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5196 fi 5197 ;; 5198esac 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208if test -n "$ac_tool_prefix"; then 5209 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5210set dummy ${ac_tool_prefix}objdump; ac_word=$2 5211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5212$as_echo_n "checking for $ac_word... " >&6; } 5213if ${ac_cv_prog_OBJDUMP+:} false; then : 5214 $as_echo_n "(cached) " >&6 5215else 5216 if test -n "$OBJDUMP"; then 5217 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5218else 5219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5220for as_dir in $PATH 5221do 5222 IFS=$as_save_IFS 5223 test -z "$as_dir" && as_dir=. 5224 for ac_exec_ext in '' $ac_executable_extensions; do 5225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5226 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5228 break 2 5229 fi 5230done 5231 done 5232IFS=$as_save_IFS 5233 5234fi 5235fi 5236OBJDUMP=$ac_cv_prog_OBJDUMP 5237if test -n "$OBJDUMP"; then 5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5239$as_echo "$OBJDUMP" >&6; } 5240else 5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5242$as_echo "no" >&6; } 5243fi 5244 5245 5246fi 5247if test -z "$ac_cv_prog_OBJDUMP"; then 5248 ac_ct_OBJDUMP=$OBJDUMP 5249 # Extract the first word of "objdump", so it can be a program name with args. 5250set dummy objdump; ac_word=$2 5251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5252$as_echo_n "checking for $ac_word... " >&6; } 5253if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5254 $as_echo_n "(cached) " >&6 5255else 5256 if test -n "$ac_ct_OBJDUMP"; then 5257 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5258else 5259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5260for as_dir in $PATH 5261do 5262 IFS=$as_save_IFS 5263 test -z "$as_dir" && as_dir=. 5264 for ac_exec_ext in '' $ac_executable_extensions; do 5265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5266 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5268 break 2 5269 fi 5270done 5271 done 5272IFS=$as_save_IFS 5273 5274fi 5275fi 5276ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5277if test -n "$ac_ct_OBJDUMP"; then 5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5279$as_echo "$ac_ct_OBJDUMP" >&6; } 5280else 5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5282$as_echo "no" >&6; } 5283fi 5284 5285 if test "x$ac_ct_OBJDUMP" = x; then 5286 OBJDUMP="false" 5287 else 5288 case $cross_compiling:$ac_tool_warned in 5289yes:) 5290{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5291$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5292ac_tool_warned=yes ;; 5293esac 5294 OBJDUMP=$ac_ct_OBJDUMP 5295 fi 5296else 5297 OBJDUMP="$ac_cv_prog_OBJDUMP" 5298fi 5299 5300test -z "$OBJDUMP" && OBJDUMP=objdump 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5311$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5312if ${lt_cv_deplibs_check_method+:} false; then : 5313 $as_echo_n "(cached) " >&6 5314else 5315 lt_cv_file_magic_cmd='$MAGIC_CMD' 5316lt_cv_file_magic_test_file= 5317lt_cv_deplibs_check_method='unknown' 5318# Need to set the preceding variable on all platforms that support 5319# interlibrary dependencies. 5320# 'none' -- dependencies not supported. 5321# 'unknown' -- same as none, but documents that we really don't know. 5322# 'pass_all' -- all dependencies passed with no checks. 5323# 'test_compile' -- check by making test program. 5324# 'file_magic [[regex]]' -- check by looking for files in library path 5325# that responds to the $file_magic_cmd with a given extended regex. 5326# If you have 'file' or equivalent on your system and you're not sure 5327# whether 'pass_all' will *always* work, you probably want this one. 5328 5329case $host_os in 5330aix[4-9]*) 5331 lt_cv_deplibs_check_method=pass_all 5332 ;; 5333 5334beos*) 5335 lt_cv_deplibs_check_method=pass_all 5336 ;; 5337 5338bsdi[45]*) 5339 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5340 lt_cv_file_magic_cmd='/usr/bin/file -L' 5341 lt_cv_file_magic_test_file=/shlib/libc.so 5342 ;; 5343 5344cygwin*) 5345 # func_win32_libid is a shell function defined in ltmain.sh 5346 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5347 lt_cv_file_magic_cmd='func_win32_libid' 5348 ;; 5349 5350mingw* | pw32*) 5351 # Base MSYS/MinGW do not provide the 'file' command needed by 5352 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5353 # unless we find 'file', for example because we are cross-compiling. 5354 if ( file / ) >/dev/null 2>&1; then 5355 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5356 lt_cv_file_magic_cmd='func_win32_libid' 5357 else 5358 # Keep this pattern in sync with the one in func_win32_libid. 5359 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5360 lt_cv_file_magic_cmd='$OBJDUMP -f' 5361 fi 5362 ;; 5363 5364cegcc*) 5365 # use the weaker test based on 'objdump'. See mingw*. 5366 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5367 lt_cv_file_magic_cmd='$OBJDUMP -f' 5368 ;; 5369 5370darwin* | rhapsody*) 5371 lt_cv_deplibs_check_method=pass_all 5372 ;; 5373 5374freebsd* | dragonfly*) 5375 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5376 case $host_cpu in 5377 i*86 ) 5378 # Not sure whether the presence of OpenBSD here was a mistake. 5379 # Let's accept both of them until this is cleared up. 5380 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5381 lt_cv_file_magic_cmd=/usr/bin/file 5382 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5383 ;; 5384 esac 5385 else 5386 lt_cv_deplibs_check_method=pass_all 5387 fi 5388 ;; 5389 5390haiku*) 5391 lt_cv_deplibs_check_method=pass_all 5392 ;; 5393 5394hpux10.20* | hpux11*) 5395 lt_cv_file_magic_cmd=/usr/bin/file 5396 case $host_cpu in 5397 ia64*) 5398 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5399 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5400 ;; 5401 hppa*64*) 5402 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]' 5403 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5404 ;; 5405 *) 5406 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5407 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5408 ;; 5409 esac 5410 ;; 5411 5412interix[3-9]*) 5413 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5414 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5415 ;; 5416 5417irix5* | irix6* | nonstopux*) 5418 case $LD in 5419 *-32|*"-32 ") libmagic=32-bit;; 5420 *-n32|*"-n32 ") libmagic=N32;; 5421 *-64|*"-64 ") libmagic=64-bit;; 5422 *) libmagic=never-match;; 5423 esac 5424 lt_cv_deplibs_check_method=pass_all 5425 ;; 5426 5427# This must be glibc/ELF. 5428linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5429 lt_cv_deplibs_check_method=pass_all 5430 ;; 5431 5432netbsd* | netbsdelf*-gnu) 5433 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5434 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5435 else 5436 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5437 fi 5438 ;; 5439 5440newos6*) 5441 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5442 lt_cv_file_magic_cmd=/usr/bin/file 5443 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5444 ;; 5445 5446*nto* | *qnx*) 5447 lt_cv_deplibs_check_method=pass_all 5448 ;; 5449 5450openbsd* | bitrig*) 5451 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5452 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5453 else 5454 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5455 fi 5456 ;; 5457 5458osf3* | osf4* | osf5*) 5459 lt_cv_deplibs_check_method=pass_all 5460 ;; 5461 5462rdos*) 5463 lt_cv_deplibs_check_method=pass_all 5464 ;; 5465 5466solaris*) 5467 lt_cv_deplibs_check_method=pass_all 5468 ;; 5469 5470sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5471 lt_cv_deplibs_check_method=pass_all 5472 ;; 5473 5474sysv4 | sysv4.3*) 5475 case $host_vendor in 5476 motorola) 5477 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]' 5478 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5479 ;; 5480 ncr) 5481 lt_cv_deplibs_check_method=pass_all 5482 ;; 5483 sequent) 5484 lt_cv_file_magic_cmd='/bin/file' 5485 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5486 ;; 5487 sni) 5488 lt_cv_file_magic_cmd='/bin/file' 5489 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5490 lt_cv_file_magic_test_file=/lib/libc.so 5491 ;; 5492 siemens) 5493 lt_cv_deplibs_check_method=pass_all 5494 ;; 5495 pc) 5496 lt_cv_deplibs_check_method=pass_all 5497 ;; 5498 esac 5499 ;; 5500 5501tpf*) 5502 lt_cv_deplibs_check_method=pass_all 5503 ;; 5504os2*) 5505 lt_cv_deplibs_check_method=pass_all 5506 ;; 5507esac 5508 5509fi 5510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5511$as_echo "$lt_cv_deplibs_check_method" >&6; } 5512 5513file_magic_glob= 5514want_nocaseglob=no 5515if test "$build" = "$host"; then 5516 case $host_os in 5517 mingw* | pw32*) 5518 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5519 want_nocaseglob=yes 5520 else 5521 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5522 fi 5523 ;; 5524 esac 5525fi 5526 5527file_magic_cmd=$lt_cv_file_magic_cmd 5528deplibs_check_method=$lt_cv_deplibs_check_method 5529test -z "$deplibs_check_method" && deplibs_check_method=unknown 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552if test -n "$ac_tool_prefix"; then 5553 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5554set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5556$as_echo_n "checking for $ac_word... " >&6; } 5557if ${ac_cv_prog_DLLTOOL+:} false; then : 5558 $as_echo_n "(cached) " >&6 5559else 5560 if test -n "$DLLTOOL"; then 5561 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5562else 5563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5564for as_dir in $PATH 5565do 5566 IFS=$as_save_IFS 5567 test -z "$as_dir" && as_dir=. 5568 for ac_exec_ext in '' $ac_executable_extensions; do 5569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5570 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5572 break 2 5573 fi 5574done 5575 done 5576IFS=$as_save_IFS 5577 5578fi 5579fi 5580DLLTOOL=$ac_cv_prog_DLLTOOL 5581if test -n "$DLLTOOL"; then 5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5583$as_echo "$DLLTOOL" >&6; } 5584else 5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5586$as_echo "no" >&6; } 5587fi 5588 5589 5590fi 5591if test -z "$ac_cv_prog_DLLTOOL"; then 5592 ac_ct_DLLTOOL=$DLLTOOL 5593 # Extract the first word of "dlltool", so it can be a program name with args. 5594set dummy dlltool; ac_word=$2 5595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5596$as_echo_n "checking for $ac_word... " >&6; } 5597if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5598 $as_echo_n "(cached) " >&6 5599else 5600 if test -n "$ac_ct_DLLTOOL"; then 5601 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5602else 5603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5604for as_dir in $PATH 5605do 5606 IFS=$as_save_IFS 5607 test -z "$as_dir" && as_dir=. 5608 for ac_exec_ext in '' $ac_executable_extensions; do 5609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5610 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5612 break 2 5613 fi 5614done 5615 done 5616IFS=$as_save_IFS 5617 5618fi 5619fi 5620ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5621if test -n "$ac_ct_DLLTOOL"; then 5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5623$as_echo "$ac_ct_DLLTOOL" >&6; } 5624else 5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5626$as_echo "no" >&6; } 5627fi 5628 5629 if test "x$ac_ct_DLLTOOL" = x; then 5630 DLLTOOL="false" 5631 else 5632 case $cross_compiling:$ac_tool_warned in 5633yes:) 5634{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5635$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5636ac_tool_warned=yes ;; 5637esac 5638 DLLTOOL=$ac_ct_DLLTOOL 5639 fi 5640else 5641 DLLTOOL="$ac_cv_prog_DLLTOOL" 5642fi 5643 5644test -z "$DLLTOOL" && DLLTOOL=dlltool 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5656$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5657if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5658 $as_echo_n "(cached) " >&6 5659else 5660 lt_cv_sharedlib_from_linklib_cmd='unknown' 5661 5662case $host_os in 5663cygwin* | mingw* | pw32* | cegcc*) 5664 # two different shell functions defined in ltmain.sh; 5665 # decide which one to use based on capabilities of $DLLTOOL 5666 case `$DLLTOOL --help 2>&1` in 5667 *--identify-strict*) 5668 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5669 ;; 5670 *) 5671 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5672 ;; 5673 esac 5674 ;; 5675*) 5676 # fallback: assume linklib IS sharedlib 5677 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5678 ;; 5679esac 5680 5681fi 5682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5683$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5684sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5685test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5686 5687 5688 5689 5690 5691 5692 5693 5694if test -n "$ac_tool_prefix"; then 5695 for ac_prog in ar 5696 do 5697 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5698set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5700$as_echo_n "checking for $ac_word... " >&6; } 5701if ${ac_cv_prog_AR+:} false; then : 5702 $as_echo_n "(cached) " >&6 5703else 5704 if test -n "$AR"; then 5705 ac_cv_prog_AR="$AR" # Let the user override the test. 5706else 5707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5708for as_dir in $PATH 5709do 5710 IFS=$as_save_IFS 5711 test -z "$as_dir" && as_dir=. 5712 for ac_exec_ext in '' $ac_executable_extensions; do 5713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5714 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5716 break 2 5717 fi 5718done 5719 done 5720IFS=$as_save_IFS 5721 5722fi 5723fi 5724AR=$ac_cv_prog_AR 5725if test -n "$AR"; then 5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5727$as_echo "$AR" >&6; } 5728else 5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5730$as_echo "no" >&6; } 5731fi 5732 5733 5734 test -n "$AR" && break 5735 done 5736fi 5737if test -z "$AR"; then 5738 ac_ct_AR=$AR 5739 for ac_prog in ar 5740do 5741 # Extract the first word of "$ac_prog", so it can be a program name with args. 5742set dummy $ac_prog; ac_word=$2 5743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5744$as_echo_n "checking for $ac_word... " >&6; } 5745if ${ac_cv_prog_ac_ct_AR+:} false; then : 5746 $as_echo_n "(cached) " >&6 5747else 5748 if test -n "$ac_ct_AR"; then 5749 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5750else 5751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5752for as_dir in $PATH 5753do 5754 IFS=$as_save_IFS 5755 test -z "$as_dir" && as_dir=. 5756 for ac_exec_ext in '' $ac_executable_extensions; do 5757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5758 ac_cv_prog_ac_ct_AR="$ac_prog" 5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5760 break 2 5761 fi 5762done 5763 done 5764IFS=$as_save_IFS 5765 5766fi 5767fi 5768ac_ct_AR=$ac_cv_prog_ac_ct_AR 5769if test -n "$ac_ct_AR"; then 5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5771$as_echo "$ac_ct_AR" >&6; } 5772else 5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5774$as_echo "no" >&6; } 5775fi 5776 5777 5778 test -n "$ac_ct_AR" && break 5779done 5780 5781 if test "x$ac_ct_AR" = x; then 5782 AR="false" 5783 else 5784 case $cross_compiling:$ac_tool_warned in 5785yes:) 5786{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5787$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5788ac_tool_warned=yes ;; 5789esac 5790 AR=$ac_ct_AR 5791 fi 5792fi 5793 5794: ${AR=ar} 5795: ${AR_FLAGS=cr} 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5808$as_echo_n "checking for archiver @FILE support... " >&6; } 5809if ${lt_cv_ar_at_file+:} false; then : 5810 $as_echo_n "(cached) " >&6 5811else 5812 lt_cv_ar_at_file=no 5813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5814/* end confdefs.h. */ 5815 5816int 5817main () 5818{ 5819 5820 ; 5821 return 0; 5822} 5823_ACEOF 5824if ac_fn_c_try_compile "$LINENO"; then : 5825 echo conftest.$ac_objext > conftest.lst 5826 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5827 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5828 (eval $lt_ar_try) 2>&5 5829 ac_status=$? 5830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5831 test $ac_status = 0; } 5832 if test 0 -eq "$ac_status"; then 5833 # Ensure the archiver fails upon bogus file names. 5834 rm -f conftest.$ac_objext libconftest.a 5835 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5836 (eval $lt_ar_try) 2>&5 5837 ac_status=$? 5838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5839 test $ac_status = 0; } 5840 if test 0 -ne "$ac_status"; then 5841 lt_cv_ar_at_file=@ 5842 fi 5843 fi 5844 rm -f conftest.* libconftest.a 5845 5846fi 5847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5848 5849fi 5850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5851$as_echo "$lt_cv_ar_at_file" >&6; } 5852 5853if test no = "$lt_cv_ar_at_file"; then 5854 archiver_list_spec= 5855else 5856 archiver_list_spec=$lt_cv_ar_at_file 5857fi 5858 5859 5860 5861 5862 5863 5864 5865if test -n "$ac_tool_prefix"; then 5866 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5867set dummy ${ac_tool_prefix}strip; ac_word=$2 5868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5869$as_echo_n "checking for $ac_word... " >&6; } 5870if ${ac_cv_prog_STRIP+:} false; then : 5871 $as_echo_n "(cached) " >&6 5872else 5873 if test -n "$STRIP"; then 5874 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5875else 5876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5877for as_dir in $PATH 5878do 5879 IFS=$as_save_IFS 5880 test -z "$as_dir" && as_dir=. 5881 for ac_exec_ext in '' $ac_executable_extensions; do 5882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5883 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5885 break 2 5886 fi 5887done 5888 done 5889IFS=$as_save_IFS 5890 5891fi 5892fi 5893STRIP=$ac_cv_prog_STRIP 5894if test -n "$STRIP"; then 5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5896$as_echo "$STRIP" >&6; } 5897else 5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5899$as_echo "no" >&6; } 5900fi 5901 5902 5903fi 5904if test -z "$ac_cv_prog_STRIP"; then 5905 ac_ct_STRIP=$STRIP 5906 # Extract the first word of "strip", so it can be a program name with args. 5907set dummy strip; ac_word=$2 5908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5909$as_echo_n "checking for $ac_word... " >&6; } 5910if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5911 $as_echo_n "(cached) " >&6 5912else 5913 if test -n "$ac_ct_STRIP"; then 5914 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5915else 5916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5917for as_dir in $PATH 5918do 5919 IFS=$as_save_IFS 5920 test -z "$as_dir" && as_dir=. 5921 for ac_exec_ext in '' $ac_executable_extensions; do 5922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5923 ac_cv_prog_ac_ct_STRIP="strip" 5924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5925 break 2 5926 fi 5927done 5928 done 5929IFS=$as_save_IFS 5930 5931fi 5932fi 5933ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5934if test -n "$ac_ct_STRIP"; then 5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5936$as_echo "$ac_ct_STRIP" >&6; } 5937else 5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5939$as_echo "no" >&6; } 5940fi 5941 5942 if test "x$ac_ct_STRIP" = x; then 5943 STRIP=":" 5944 else 5945 case $cross_compiling:$ac_tool_warned in 5946yes:) 5947{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5948$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5949ac_tool_warned=yes ;; 5950esac 5951 STRIP=$ac_ct_STRIP 5952 fi 5953else 5954 STRIP="$ac_cv_prog_STRIP" 5955fi 5956 5957test -z "$STRIP" && STRIP=: 5958 5959 5960 5961 5962 5963 5964if test -n "$ac_tool_prefix"; then 5965 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5966set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5968$as_echo_n "checking for $ac_word... " >&6; } 5969if ${ac_cv_prog_RANLIB+:} false; then : 5970 $as_echo_n "(cached) " >&6 5971else 5972 if test -n "$RANLIB"; then 5973 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5974else 5975as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5976for as_dir in $PATH 5977do 5978 IFS=$as_save_IFS 5979 test -z "$as_dir" && as_dir=. 5980 for ac_exec_ext in '' $ac_executable_extensions; do 5981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5982 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5984 break 2 5985 fi 5986done 5987 done 5988IFS=$as_save_IFS 5989 5990fi 5991fi 5992RANLIB=$ac_cv_prog_RANLIB 5993if test -n "$RANLIB"; then 5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5995$as_echo "$RANLIB" >&6; } 5996else 5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5998$as_echo "no" >&6; } 5999fi 6000 6001 6002fi 6003if test -z "$ac_cv_prog_RANLIB"; then 6004 ac_ct_RANLIB=$RANLIB 6005 # Extract the first word of "ranlib", so it can be a program name with args. 6006set dummy ranlib; ac_word=$2 6007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6008$as_echo_n "checking for $ac_word... " >&6; } 6009if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6010 $as_echo_n "(cached) " >&6 6011else 6012 if test -n "$ac_ct_RANLIB"; then 6013 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6014else 6015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6016for as_dir in $PATH 6017do 6018 IFS=$as_save_IFS 6019 test -z "$as_dir" && as_dir=. 6020 for ac_exec_ext in '' $ac_executable_extensions; do 6021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6022 ac_cv_prog_ac_ct_RANLIB="ranlib" 6023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6024 break 2 6025 fi 6026done 6027 done 6028IFS=$as_save_IFS 6029 6030fi 6031fi 6032ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6033if test -n "$ac_ct_RANLIB"; then 6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6035$as_echo "$ac_ct_RANLIB" >&6; } 6036else 6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6038$as_echo "no" >&6; } 6039fi 6040 6041 if test "x$ac_ct_RANLIB" = x; then 6042 RANLIB=":" 6043 else 6044 case $cross_compiling:$ac_tool_warned in 6045yes:) 6046{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6047$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6048ac_tool_warned=yes ;; 6049esac 6050 RANLIB=$ac_ct_RANLIB 6051 fi 6052else 6053 RANLIB="$ac_cv_prog_RANLIB" 6054fi 6055 6056test -z "$RANLIB" && RANLIB=: 6057 6058 6059 6060 6061 6062 6063# Determine commands to create old-style static archives. 6064old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6065old_postinstall_cmds='chmod 644 $oldlib' 6066old_postuninstall_cmds= 6067 6068if test -n "$RANLIB"; then 6069 case $host_os in 6070 bitrig* | openbsd*) 6071 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6072 ;; 6073 *) 6074 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6075 ;; 6076 esac 6077 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6078fi 6079 6080case $host_os in 6081 darwin*) 6082 lock_old_archive_extraction=yes ;; 6083 *) 6084 lock_old_archive_extraction=no ;; 6085esac 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125# If no C compiler was specified, use CC. 6126LTCC=${LTCC-"$CC"} 6127 6128# If no C compiler flags were specified, use CFLAGS. 6129LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6130 6131# Allow CC to be a program name with arguments. 6132compiler=$CC 6133 6134 6135# Check for command to grab the raw symbol name followed by C symbol from nm. 6136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6137$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6138if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6139 $as_echo_n "(cached) " >&6 6140else 6141 6142# These are sane defaults that work on at least a few old systems. 6143# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6144 6145# Character class describing NM global symbol codes. 6146symcode='[BCDEGRST]' 6147 6148# Regexp to match symbols that can be accessed directly from C. 6149sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6150 6151# Define system-specific variables. 6152case $host_os in 6153aix*) 6154 symcode='[BCDT]' 6155 ;; 6156cygwin* | mingw* | pw32* | cegcc*) 6157 symcode='[ABCDGISTW]' 6158 ;; 6159hpux*) 6160 if test ia64 = "$host_cpu"; then 6161 symcode='[ABCDEGRST]' 6162 fi 6163 ;; 6164irix* | nonstopux*) 6165 symcode='[BCDEGRST]' 6166 ;; 6167osf*) 6168 symcode='[BCDEGQRST]' 6169 ;; 6170solaris*) 6171 symcode='[BDRT]' 6172 ;; 6173sco3.2v5*) 6174 symcode='[DT]' 6175 ;; 6176sysv4.2uw2*) 6177 symcode='[DT]' 6178 ;; 6179sysv5* | sco5v6* | unixware* | OpenUNIX*) 6180 symcode='[ABDT]' 6181 ;; 6182sysv4) 6183 symcode='[DFNSTU]' 6184 ;; 6185esac 6186 6187# If we're using GNU nm, then use its standard symbol codes. 6188case `$NM -V 2>&1` in 6189*GNU* | *'with BFD'*) 6190 symcode='[ABCDGIRSTW]' ;; 6191esac 6192 6193if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6194 # Gets list of data symbols to import. 6195 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6196 # Adjust the below global symbol transforms to fixup imported variables. 6197 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6198 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6199 lt_c_name_lib_hook="\ 6200 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6201 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6202else 6203 # Disable hooks by default. 6204 lt_cv_sys_global_symbol_to_import= 6205 lt_cdecl_hook= 6206 lt_c_name_hook= 6207 lt_c_name_lib_hook= 6208fi 6209 6210# Transform an extracted symbol line into a proper C declaration. 6211# Some systems (esp. on ia64) link data and code symbols differently, 6212# so use this general approach. 6213lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6214$lt_cdecl_hook\ 6215" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6216" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6217 6218# Transform an extracted symbol line into symbol name and symbol address 6219lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6220$lt_c_name_hook\ 6221" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6222" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6223 6224# Transform an extracted symbol line into symbol name with lib prefix and 6225# symbol address. 6226lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6227$lt_c_name_lib_hook\ 6228" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6229" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6230" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6231 6232# Handle CRLF in mingw tool chain 6233opt_cr= 6234case $build_os in 6235mingw*) 6236 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6237 ;; 6238esac 6239 6240# Try without a prefix underscore, then with it. 6241for ac_symprfx in "" "_"; do 6242 6243 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6244 symxfrm="\\1 $ac_symprfx\\2 \\2" 6245 6246 # Write the raw and C identifiers. 6247 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6248 # Fake it for dumpbin and say T for any non-static function, 6249 # D for any global variable and I for any imported variable. 6250 # Also find C++ and __fastcall symbols from MSVC++, 6251 # which start with @ or ?. 6252 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6253" {last_section=section; section=\$ 3};"\ 6254" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6255" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6256" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6257" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6258" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6259" \$ 0!~/External *\|/{next};"\ 6260" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6261" {if(hide[section]) next};"\ 6262" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6263" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6264" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6265" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6266" ' prfx=^$ac_symprfx" 6267 else 6268 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6269 fi 6270 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6271 6272 # Check to see that the pipe works correctly. 6273 pipe_works=no 6274 6275 rm -f conftest* 6276 cat > conftest.$ac_ext <<_LT_EOF 6277#ifdef __cplusplus 6278extern "C" { 6279#endif 6280char nm_test_var; 6281void nm_test_func(void); 6282void nm_test_func(void){} 6283#ifdef __cplusplus 6284} 6285#endif 6286int main(){nm_test_var='a';nm_test_func();return(0);} 6287_LT_EOF 6288 6289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6290 (eval $ac_compile) 2>&5 6291 ac_status=$? 6292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6293 test $ac_status = 0; }; then 6294 # Now try to grab the symbols. 6295 nlist=conftest.nm 6296 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 6297 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then 6298 # Try sorting and uniquifying the output. 6299 if sort "$nlist" | uniq > "$nlist"T; then 6300 mv -f "$nlist"T "$nlist" 6301 else 6302 rm -f "$nlist"T 6303 fi 6304 6305 # Make sure that we snagged all the symbols we need. 6306 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6307 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6308 cat <<_LT_EOF > conftest.$ac_ext 6309/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6310#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6311/* DATA imports from DLLs on WIN32 can't be const, because runtime 6312 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6313# define LT_DLSYM_CONST 6314#elif defined __osf__ 6315/* This system does not cope well with relocations in const data. */ 6316# define LT_DLSYM_CONST 6317#else 6318# define LT_DLSYM_CONST const 6319#endif 6320 6321#ifdef __cplusplus 6322extern "C" { 6323#endif 6324 6325_LT_EOF 6326 # Now generate the symbol file. 6327 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6328 6329 cat <<_LT_EOF >> conftest.$ac_ext 6330 6331/* The mapping between symbol names and symbols. */ 6332LT_DLSYM_CONST struct { 6333 const char *name; 6334 void *address; 6335} 6336lt__PROGRAM__LTX_preloaded_symbols[] = 6337{ 6338 { "@PROGRAM@", (void *) 0 }, 6339_LT_EOF 6340 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6341 cat <<\_LT_EOF >> conftest.$ac_ext 6342 {0, (void *) 0} 6343}; 6344 6345/* This works around a problem in FreeBSD linker */ 6346#ifdef FREEBSD_WORKAROUND 6347static const void *lt_preloaded_setup() { 6348 return lt__PROGRAM__LTX_preloaded_symbols; 6349} 6350#endif 6351 6352#ifdef __cplusplus 6353} 6354#endif 6355_LT_EOF 6356 # Now try linking the two files. 6357 mv conftest.$ac_objext conftstm.$ac_objext 6358 lt_globsym_save_LIBS=$LIBS 6359 lt_globsym_save_CFLAGS=$CFLAGS 6360 LIBS=conftstm.$ac_objext 6361 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6362 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6363 (eval $ac_link) 2>&5 6364 ac_status=$? 6365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6366 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6367 pipe_works=yes 6368 fi 6369 LIBS=$lt_globsym_save_LIBS 6370 CFLAGS=$lt_globsym_save_CFLAGS 6371 else 6372 echo "cannot find nm_test_func in $nlist" >&5 6373 fi 6374 else 6375 echo "cannot find nm_test_var in $nlist" >&5 6376 fi 6377 else 6378 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6379 fi 6380 else 6381 echo "$progname: failed program was:" >&5 6382 cat conftest.$ac_ext >&5 6383 fi 6384 rm -rf conftest* conftst* 6385 6386 # Do not use the global_symbol_pipe unless it works. 6387 if test yes = "$pipe_works"; then 6388 break 6389 else 6390 lt_cv_sys_global_symbol_pipe= 6391 fi 6392done 6393 6394fi 6395 6396if test -z "$lt_cv_sys_global_symbol_pipe"; then 6397 lt_cv_sys_global_symbol_to_cdecl= 6398fi 6399if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6401$as_echo "failed" >&6; } 6402else 6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6404$as_echo "ok" >&6; } 6405fi 6406 6407# Response file support. 6408if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6409 nm_file_list_spec='@' 6410elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6411 nm_file_list_spec='@' 6412fi 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6451$as_echo_n "checking for sysroot... " >&6; } 6452 6453# Check whether --with-sysroot was given. 6454if test "${with_sysroot+set}" = set; then : 6455 withval=$with_sysroot; 6456else 6457 with_sysroot=no 6458fi 6459 6460 6461lt_sysroot= 6462case $with_sysroot in #( 6463 yes) 6464 if test yes = "$GCC"; then 6465 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6466 fi 6467 ;; #( 6468 /*) 6469 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6470 ;; #( 6471 no|'') 6472 ;; #( 6473 *) 6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6475$as_echo "$with_sysroot" >&6; } 6476 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6477 ;; 6478esac 6479 6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6481$as_echo "${lt_sysroot:-no}" >&6; } 6482 6483 6484 6485 6486 6487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6488$as_echo_n "checking for a working dd... " >&6; } 6489if ${ac_cv_path_lt_DD+:} false; then : 6490 $as_echo_n "(cached) " >&6 6491else 6492 printf 0123456789abcdef0123456789abcdef >conftest.i 6493cat conftest.i conftest.i >conftest2.i 6494: ${lt_DD:=$DD} 6495if test -z "$lt_DD"; then 6496 ac_path_lt_DD_found=false 6497 # Loop through the user's path and test for each of PROGNAME-LIST 6498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6499for as_dir in $PATH 6500do 6501 IFS=$as_save_IFS 6502 test -z "$as_dir" && as_dir=. 6503 for ac_prog in dd; do 6504 for ac_exec_ext in '' $ac_executable_extensions; do 6505 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6506 as_fn_executable_p "$ac_path_lt_DD" || continue 6507if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6508 cmp -s conftest.i conftest.out \ 6509 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6510fi 6511 $ac_path_lt_DD_found && break 3 6512 done 6513 done 6514 done 6515IFS=$as_save_IFS 6516 if test -z "$ac_cv_path_lt_DD"; then 6517 : 6518 fi 6519else 6520 ac_cv_path_lt_DD=$lt_DD 6521fi 6522 6523rm -f conftest.i conftest2.i conftest.out 6524fi 6525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6526$as_echo "$ac_cv_path_lt_DD" >&6; } 6527 6528 6529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6530$as_echo_n "checking how to truncate binary pipes... " >&6; } 6531if ${lt_cv_truncate_bin+:} false; then : 6532 $as_echo_n "(cached) " >&6 6533else 6534 printf 0123456789abcdef0123456789abcdef >conftest.i 6535cat conftest.i conftest.i >conftest2.i 6536lt_cv_truncate_bin= 6537if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6538 cmp -s conftest.i conftest.out \ 6539 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6540fi 6541rm -f conftest.i conftest2.i conftest.out 6542test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6543fi 6544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6545$as_echo "$lt_cv_truncate_bin" >&6; } 6546 6547 6548 6549 6550 6551 6552 6553# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6554func_cc_basename () 6555{ 6556 for cc_temp in $*""; do 6557 case $cc_temp in 6558 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6559 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6560 \-*) ;; 6561 *) break;; 6562 esac 6563 done 6564 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6565} 6566 6567# Check whether --enable-libtool-lock was given. 6568if test "${enable_libtool_lock+set}" = set; then : 6569 enableval=$enable_libtool_lock; 6570fi 6571 6572test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6573 6574# Some flags need to be propagated to the compiler or linker for good 6575# libtool support. 6576case $host in 6577ia64-*-hpux*) 6578 # Find out what ABI is being produced by ac_compile, and set mode 6579 # options accordingly. 6580 echo 'int i;' > conftest.$ac_ext 6581 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6582 (eval $ac_compile) 2>&5 6583 ac_status=$? 6584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6585 test $ac_status = 0; }; then 6586 case `/usr/bin/file conftest.$ac_objext` in 6587 *ELF-32*) 6588 HPUX_IA64_MODE=32 6589 ;; 6590 *ELF-64*) 6591 HPUX_IA64_MODE=64 6592 ;; 6593 esac 6594 fi 6595 rm -rf conftest* 6596 ;; 6597*-*-irix6*) 6598 # Find out what ABI is being produced by ac_compile, and set linker 6599 # options accordingly. 6600 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6602 (eval $ac_compile) 2>&5 6603 ac_status=$? 6604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6605 test $ac_status = 0; }; then 6606 if test yes = "$lt_cv_prog_gnu_ld"; then 6607 case `/usr/bin/file conftest.$ac_objext` in 6608 *32-bit*) 6609 LD="${LD-ld} -melf32bsmip" 6610 ;; 6611 *N32*) 6612 LD="${LD-ld} -melf32bmipn32" 6613 ;; 6614 *64-bit*) 6615 LD="${LD-ld} -melf64bmip" 6616 ;; 6617 esac 6618 else 6619 case `/usr/bin/file conftest.$ac_objext` in 6620 *32-bit*) 6621 LD="${LD-ld} -32" 6622 ;; 6623 *N32*) 6624 LD="${LD-ld} -n32" 6625 ;; 6626 *64-bit*) 6627 LD="${LD-ld} -64" 6628 ;; 6629 esac 6630 fi 6631 fi 6632 rm -rf conftest* 6633 ;; 6634 6635mips64*-*linux*) 6636 # Find out what ABI is being produced by ac_compile, and set linker 6637 # options accordingly. 6638 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6639 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6640 (eval $ac_compile) 2>&5 6641 ac_status=$? 6642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6643 test $ac_status = 0; }; then 6644 emul=elf 6645 case `/usr/bin/file conftest.$ac_objext` in 6646 *32-bit*) 6647 emul="${emul}32" 6648 ;; 6649 *64-bit*) 6650 emul="${emul}64" 6651 ;; 6652 esac 6653 case `/usr/bin/file conftest.$ac_objext` in 6654 *MSB*) 6655 emul="${emul}btsmip" 6656 ;; 6657 *LSB*) 6658 emul="${emul}ltsmip" 6659 ;; 6660 esac 6661 case `/usr/bin/file conftest.$ac_objext` in 6662 *N32*) 6663 emul="${emul}n32" 6664 ;; 6665 esac 6666 LD="${LD-ld} -m $emul" 6667 fi 6668 rm -rf conftest* 6669 ;; 6670 6671x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6672s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6673 # Find out what ABI is being produced by ac_compile, and set linker 6674 # options accordingly. Note that the listed cases only cover the 6675 # situations where additional linker options are needed (such as when 6676 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6677 # vice versa); the common cases where no linker options are needed do 6678 # not appear in the list. 6679 echo 'int i;' > conftest.$ac_ext 6680 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6681 (eval $ac_compile) 2>&5 6682 ac_status=$? 6683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6684 test $ac_status = 0; }; then 6685 case `/usr/bin/file conftest.o` in 6686 *32-bit*) 6687 case $host in 6688 x86_64-*kfreebsd*-gnu) 6689 LD="${LD-ld} -m elf_i386_fbsd" 6690 ;; 6691 x86_64-*linux*) 6692 case `/usr/bin/file conftest.o` in 6693 *x86-64*) 6694 LD="${LD-ld} -m elf32_x86_64" 6695 ;; 6696 *) 6697 LD="${LD-ld} -m elf_i386" 6698 ;; 6699 esac 6700 ;; 6701 powerpc64le-*linux*) 6702 LD="${LD-ld} -m elf32lppclinux" 6703 ;; 6704 powerpc64-*linux*) 6705 LD="${LD-ld} -m elf32ppclinux" 6706 ;; 6707 s390x-*linux*) 6708 LD="${LD-ld} -m elf_s390" 6709 ;; 6710 sparc64-*linux*) 6711 LD="${LD-ld} -m elf32_sparc" 6712 ;; 6713 esac 6714 ;; 6715 *64-bit*) 6716 case $host in 6717 x86_64-*kfreebsd*-gnu) 6718 LD="${LD-ld} -m elf_x86_64_fbsd" 6719 ;; 6720 x86_64-*linux*) 6721 LD="${LD-ld} -m elf_x86_64" 6722 ;; 6723 powerpcle-*linux*) 6724 LD="${LD-ld} -m elf64lppc" 6725 ;; 6726 powerpc-*linux*) 6727 LD="${LD-ld} -m elf64ppc" 6728 ;; 6729 s390*-*linux*|s390*-*tpf*) 6730 LD="${LD-ld} -m elf64_s390" 6731 ;; 6732 sparc*-*linux*) 6733 LD="${LD-ld} -m elf64_sparc" 6734 ;; 6735 esac 6736 ;; 6737 esac 6738 fi 6739 rm -rf conftest* 6740 ;; 6741 6742*-*-sco3.2v5*) 6743 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6744 SAVE_CFLAGS=$CFLAGS 6745 CFLAGS="$CFLAGS -belf" 6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6747$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6748if ${lt_cv_cc_needs_belf+:} false; then : 6749 $as_echo_n "(cached) " >&6 6750else 6751 ac_ext=c 6752ac_cpp='$CPP $CPPFLAGS' 6753ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6754ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6755ac_compiler_gnu=$ac_cv_c_compiler_gnu 6756 6757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6758/* end confdefs.h. */ 6759 6760int 6761main () 6762{ 6763 6764 ; 6765 return 0; 6766} 6767_ACEOF 6768if ac_fn_c_try_link "$LINENO"; then : 6769 lt_cv_cc_needs_belf=yes 6770else 6771 lt_cv_cc_needs_belf=no 6772fi 6773rm -f core conftest.err conftest.$ac_objext \ 6774 conftest$ac_exeext conftest.$ac_ext 6775 ac_ext=c 6776ac_cpp='$CPP $CPPFLAGS' 6777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6779ac_compiler_gnu=$ac_cv_c_compiler_gnu 6780 6781fi 6782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6783$as_echo "$lt_cv_cc_needs_belf" >&6; } 6784 if test yes != "$lt_cv_cc_needs_belf"; then 6785 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6786 CFLAGS=$SAVE_CFLAGS 6787 fi 6788 ;; 6789*-*solaris*) 6790 # Find out what ABI is being produced by ac_compile, and set linker 6791 # options accordingly. 6792 echo 'int i;' > conftest.$ac_ext 6793 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6794 (eval $ac_compile) 2>&5 6795 ac_status=$? 6796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6797 test $ac_status = 0; }; then 6798 case `/usr/bin/file conftest.o` in 6799 *64-bit*) 6800 case $lt_cv_prog_gnu_ld in 6801 yes*) 6802 case $host in 6803 i?86-*-solaris*|x86_64-*-solaris*) 6804 LD="${LD-ld} -m elf_x86_64" 6805 ;; 6806 sparc*-*-solaris*) 6807 LD="${LD-ld} -m elf64_sparc" 6808 ;; 6809 esac 6810 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6811 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6812 LD=${LD-ld}_sol2 6813 fi 6814 ;; 6815 *) 6816 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6817 LD="${LD-ld} -64" 6818 fi 6819 ;; 6820 esac 6821 ;; 6822 esac 6823 fi 6824 rm -rf conftest* 6825 ;; 6826esac 6827 6828need_locks=$enable_libtool_lock 6829 6830if test -n "$ac_tool_prefix"; then 6831 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6832set dummy ${ac_tool_prefix}mt; ac_word=$2 6833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6834$as_echo_n "checking for $ac_word... " >&6; } 6835if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6836 $as_echo_n "(cached) " >&6 6837else 6838 if test -n "$MANIFEST_TOOL"; then 6839 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6840else 6841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6842for as_dir in $PATH 6843do 6844 IFS=$as_save_IFS 6845 test -z "$as_dir" && as_dir=. 6846 for ac_exec_ext in '' $ac_executable_extensions; do 6847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6848 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6850 break 2 6851 fi 6852done 6853 done 6854IFS=$as_save_IFS 6855 6856fi 6857fi 6858MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6859if test -n "$MANIFEST_TOOL"; then 6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6861$as_echo "$MANIFEST_TOOL" >&6; } 6862else 6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6864$as_echo "no" >&6; } 6865fi 6866 6867 6868fi 6869if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6870 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6871 # Extract the first word of "mt", so it can be a program name with args. 6872set dummy mt; ac_word=$2 6873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6874$as_echo_n "checking for $ac_word... " >&6; } 6875if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6876 $as_echo_n "(cached) " >&6 6877else 6878 if test -n "$ac_ct_MANIFEST_TOOL"; then 6879 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6880else 6881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6882for as_dir in $PATH 6883do 6884 IFS=$as_save_IFS 6885 test -z "$as_dir" && as_dir=. 6886 for ac_exec_ext in '' $ac_executable_extensions; do 6887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6888 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6890 break 2 6891 fi 6892done 6893 done 6894IFS=$as_save_IFS 6895 6896fi 6897fi 6898ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6899if test -n "$ac_ct_MANIFEST_TOOL"; then 6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6901$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6902else 6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6904$as_echo "no" >&6; } 6905fi 6906 6907 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6908 MANIFEST_TOOL=":" 6909 else 6910 case $cross_compiling:$ac_tool_warned in 6911yes:) 6912{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6913$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6914ac_tool_warned=yes ;; 6915esac 6916 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6917 fi 6918else 6919 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6920fi 6921 6922test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6924$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6925if ${lt_cv_path_mainfest_tool+:} false; then : 6926 $as_echo_n "(cached) " >&6 6927else 6928 lt_cv_path_mainfest_tool=no 6929 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6930 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6931 cat conftest.err >&5 6932 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6933 lt_cv_path_mainfest_tool=yes 6934 fi 6935 rm -f conftest* 6936fi 6937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6938$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6939if test yes != "$lt_cv_path_mainfest_tool"; then 6940 MANIFEST_TOOL=: 6941fi 6942 6943 6944 6945 6946 6947 6948 case $host_os in 6949 rhapsody* | darwin*) 6950 if test -n "$ac_tool_prefix"; then 6951 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6952set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6954$as_echo_n "checking for $ac_word... " >&6; } 6955if ${ac_cv_prog_DSYMUTIL+:} false; then : 6956 $as_echo_n "(cached) " >&6 6957else 6958 if test -n "$DSYMUTIL"; then 6959 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6960else 6961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6962for as_dir in $PATH 6963do 6964 IFS=$as_save_IFS 6965 test -z "$as_dir" && as_dir=. 6966 for ac_exec_ext in '' $ac_executable_extensions; do 6967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6968 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6970 break 2 6971 fi 6972done 6973 done 6974IFS=$as_save_IFS 6975 6976fi 6977fi 6978DSYMUTIL=$ac_cv_prog_DSYMUTIL 6979if test -n "$DSYMUTIL"; then 6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6981$as_echo "$DSYMUTIL" >&6; } 6982else 6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6984$as_echo "no" >&6; } 6985fi 6986 6987 6988fi 6989if test -z "$ac_cv_prog_DSYMUTIL"; then 6990 ac_ct_DSYMUTIL=$DSYMUTIL 6991 # Extract the first word of "dsymutil", so it can be a program name with args. 6992set dummy dsymutil; ac_word=$2 6993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6994$as_echo_n "checking for $ac_word... " >&6; } 6995if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6996 $as_echo_n "(cached) " >&6 6997else 6998 if test -n "$ac_ct_DSYMUTIL"; then 6999 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7000else 7001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7002for as_dir in $PATH 7003do 7004 IFS=$as_save_IFS 7005 test -z "$as_dir" && as_dir=. 7006 for ac_exec_ext in '' $ac_executable_extensions; do 7007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7008 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7010 break 2 7011 fi 7012done 7013 done 7014IFS=$as_save_IFS 7015 7016fi 7017fi 7018ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7019if test -n "$ac_ct_DSYMUTIL"; then 7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7021$as_echo "$ac_ct_DSYMUTIL" >&6; } 7022else 7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7024$as_echo "no" >&6; } 7025fi 7026 7027 if test "x$ac_ct_DSYMUTIL" = x; then 7028 DSYMUTIL=":" 7029 else 7030 case $cross_compiling:$ac_tool_warned in 7031yes:) 7032{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7033$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7034ac_tool_warned=yes ;; 7035esac 7036 DSYMUTIL=$ac_ct_DSYMUTIL 7037 fi 7038else 7039 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7040fi 7041 7042 if test -n "$ac_tool_prefix"; then 7043 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7044set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7046$as_echo_n "checking for $ac_word... " >&6; } 7047if ${ac_cv_prog_NMEDIT+:} false; then : 7048 $as_echo_n "(cached) " >&6 7049else 7050 if test -n "$NMEDIT"; then 7051 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7052else 7053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7054for as_dir in $PATH 7055do 7056 IFS=$as_save_IFS 7057 test -z "$as_dir" && as_dir=. 7058 for ac_exec_ext in '' $ac_executable_extensions; do 7059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7060 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7062 break 2 7063 fi 7064done 7065 done 7066IFS=$as_save_IFS 7067 7068fi 7069fi 7070NMEDIT=$ac_cv_prog_NMEDIT 7071if test -n "$NMEDIT"; then 7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7073$as_echo "$NMEDIT" >&6; } 7074else 7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7076$as_echo "no" >&6; } 7077fi 7078 7079 7080fi 7081if test -z "$ac_cv_prog_NMEDIT"; then 7082 ac_ct_NMEDIT=$NMEDIT 7083 # Extract the first word of "nmedit", so it can be a program name with args. 7084set dummy nmedit; ac_word=$2 7085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7086$as_echo_n "checking for $ac_word... " >&6; } 7087if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7088 $as_echo_n "(cached) " >&6 7089else 7090 if test -n "$ac_ct_NMEDIT"; then 7091 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7092else 7093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7094for as_dir in $PATH 7095do 7096 IFS=$as_save_IFS 7097 test -z "$as_dir" && as_dir=. 7098 for ac_exec_ext in '' $ac_executable_extensions; do 7099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7100 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7102 break 2 7103 fi 7104done 7105 done 7106IFS=$as_save_IFS 7107 7108fi 7109fi 7110ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7111if test -n "$ac_ct_NMEDIT"; then 7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7113$as_echo "$ac_ct_NMEDIT" >&6; } 7114else 7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7116$as_echo "no" >&6; } 7117fi 7118 7119 if test "x$ac_ct_NMEDIT" = x; then 7120 NMEDIT=":" 7121 else 7122 case $cross_compiling:$ac_tool_warned in 7123yes:) 7124{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7125$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7126ac_tool_warned=yes ;; 7127esac 7128 NMEDIT=$ac_ct_NMEDIT 7129 fi 7130else 7131 NMEDIT="$ac_cv_prog_NMEDIT" 7132fi 7133 7134 if test -n "$ac_tool_prefix"; then 7135 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7136set dummy ${ac_tool_prefix}lipo; ac_word=$2 7137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7138$as_echo_n "checking for $ac_word... " >&6; } 7139if ${ac_cv_prog_LIPO+:} false; then : 7140 $as_echo_n "(cached) " >&6 7141else 7142 if test -n "$LIPO"; then 7143 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7144else 7145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7146for as_dir in $PATH 7147do 7148 IFS=$as_save_IFS 7149 test -z "$as_dir" && as_dir=. 7150 for ac_exec_ext in '' $ac_executable_extensions; do 7151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7152 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7154 break 2 7155 fi 7156done 7157 done 7158IFS=$as_save_IFS 7159 7160fi 7161fi 7162LIPO=$ac_cv_prog_LIPO 7163if test -n "$LIPO"; then 7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7165$as_echo "$LIPO" >&6; } 7166else 7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7168$as_echo "no" >&6; } 7169fi 7170 7171 7172fi 7173if test -z "$ac_cv_prog_LIPO"; then 7174 ac_ct_LIPO=$LIPO 7175 # Extract the first word of "lipo", so it can be a program name with args. 7176set dummy lipo; ac_word=$2 7177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7178$as_echo_n "checking for $ac_word... " >&6; } 7179if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7180 $as_echo_n "(cached) " >&6 7181else 7182 if test -n "$ac_ct_LIPO"; then 7183 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7184else 7185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7186for as_dir in $PATH 7187do 7188 IFS=$as_save_IFS 7189 test -z "$as_dir" && as_dir=. 7190 for ac_exec_ext in '' $ac_executable_extensions; do 7191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7192 ac_cv_prog_ac_ct_LIPO="lipo" 7193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7194 break 2 7195 fi 7196done 7197 done 7198IFS=$as_save_IFS 7199 7200fi 7201fi 7202ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7203if test -n "$ac_ct_LIPO"; then 7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7205$as_echo "$ac_ct_LIPO" >&6; } 7206else 7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7208$as_echo "no" >&6; } 7209fi 7210 7211 if test "x$ac_ct_LIPO" = x; then 7212 LIPO=":" 7213 else 7214 case $cross_compiling:$ac_tool_warned in 7215yes:) 7216{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7217$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7218ac_tool_warned=yes ;; 7219esac 7220 LIPO=$ac_ct_LIPO 7221 fi 7222else 7223 LIPO="$ac_cv_prog_LIPO" 7224fi 7225 7226 if test -n "$ac_tool_prefix"; then 7227 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7228set dummy ${ac_tool_prefix}otool; ac_word=$2 7229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7230$as_echo_n "checking for $ac_word... " >&6; } 7231if ${ac_cv_prog_OTOOL+:} false; then : 7232 $as_echo_n "(cached) " >&6 7233else 7234 if test -n "$OTOOL"; then 7235 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7236else 7237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7238for as_dir in $PATH 7239do 7240 IFS=$as_save_IFS 7241 test -z "$as_dir" && as_dir=. 7242 for ac_exec_ext in '' $ac_executable_extensions; do 7243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7244 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7246 break 2 7247 fi 7248done 7249 done 7250IFS=$as_save_IFS 7251 7252fi 7253fi 7254OTOOL=$ac_cv_prog_OTOOL 7255if test -n "$OTOOL"; then 7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7257$as_echo "$OTOOL" >&6; } 7258else 7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7260$as_echo "no" >&6; } 7261fi 7262 7263 7264fi 7265if test -z "$ac_cv_prog_OTOOL"; then 7266 ac_ct_OTOOL=$OTOOL 7267 # Extract the first word of "otool", so it can be a program name with args. 7268set dummy otool; ac_word=$2 7269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7270$as_echo_n "checking for $ac_word... " >&6; } 7271if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7272 $as_echo_n "(cached) " >&6 7273else 7274 if test -n "$ac_ct_OTOOL"; then 7275 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7276else 7277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7278for as_dir in $PATH 7279do 7280 IFS=$as_save_IFS 7281 test -z "$as_dir" && as_dir=. 7282 for ac_exec_ext in '' $ac_executable_extensions; do 7283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7284 ac_cv_prog_ac_ct_OTOOL="otool" 7285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7286 break 2 7287 fi 7288done 7289 done 7290IFS=$as_save_IFS 7291 7292fi 7293fi 7294ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7295if test -n "$ac_ct_OTOOL"; then 7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7297$as_echo "$ac_ct_OTOOL" >&6; } 7298else 7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7300$as_echo "no" >&6; } 7301fi 7302 7303 if test "x$ac_ct_OTOOL" = x; then 7304 OTOOL=":" 7305 else 7306 case $cross_compiling:$ac_tool_warned in 7307yes:) 7308{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7309$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7310ac_tool_warned=yes ;; 7311esac 7312 OTOOL=$ac_ct_OTOOL 7313 fi 7314else 7315 OTOOL="$ac_cv_prog_OTOOL" 7316fi 7317 7318 if test -n "$ac_tool_prefix"; then 7319 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7320set dummy ${ac_tool_prefix}otool64; ac_word=$2 7321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7322$as_echo_n "checking for $ac_word... " >&6; } 7323if ${ac_cv_prog_OTOOL64+:} false; then : 7324 $as_echo_n "(cached) " >&6 7325else 7326 if test -n "$OTOOL64"; then 7327 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7328else 7329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7330for as_dir in $PATH 7331do 7332 IFS=$as_save_IFS 7333 test -z "$as_dir" && as_dir=. 7334 for ac_exec_ext in '' $ac_executable_extensions; do 7335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7336 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7338 break 2 7339 fi 7340done 7341 done 7342IFS=$as_save_IFS 7343 7344fi 7345fi 7346OTOOL64=$ac_cv_prog_OTOOL64 7347if test -n "$OTOOL64"; then 7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7349$as_echo "$OTOOL64" >&6; } 7350else 7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7352$as_echo "no" >&6; } 7353fi 7354 7355 7356fi 7357if test -z "$ac_cv_prog_OTOOL64"; then 7358 ac_ct_OTOOL64=$OTOOL64 7359 # Extract the first word of "otool64", so it can be a program name with args. 7360set dummy otool64; ac_word=$2 7361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7362$as_echo_n "checking for $ac_word... " >&6; } 7363if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7364 $as_echo_n "(cached) " >&6 7365else 7366 if test -n "$ac_ct_OTOOL64"; then 7367 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7368else 7369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7370for as_dir in $PATH 7371do 7372 IFS=$as_save_IFS 7373 test -z "$as_dir" && as_dir=. 7374 for ac_exec_ext in '' $ac_executable_extensions; do 7375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7376 ac_cv_prog_ac_ct_OTOOL64="otool64" 7377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7378 break 2 7379 fi 7380done 7381 done 7382IFS=$as_save_IFS 7383 7384fi 7385fi 7386ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7387if test -n "$ac_ct_OTOOL64"; then 7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7389$as_echo "$ac_ct_OTOOL64" >&6; } 7390else 7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7392$as_echo "no" >&6; } 7393fi 7394 7395 if test "x$ac_ct_OTOOL64" = x; then 7396 OTOOL64=":" 7397 else 7398 case $cross_compiling:$ac_tool_warned in 7399yes:) 7400{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7401$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7402ac_tool_warned=yes ;; 7403esac 7404 OTOOL64=$ac_ct_OTOOL64 7405 fi 7406else 7407 OTOOL64="$ac_cv_prog_OTOOL64" 7408fi 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7437$as_echo_n "checking for -single_module linker flag... " >&6; } 7438if ${lt_cv_apple_cc_single_mod+:} false; then : 7439 $as_echo_n "(cached) " >&6 7440else 7441 lt_cv_apple_cc_single_mod=no 7442 if test -z "$LT_MULTI_MODULE"; then 7443 # By default we will add the -single_module flag. You can override 7444 # by either setting the environment variable LT_MULTI_MODULE 7445 # non-empty at configure time, or by adding -multi_module to the 7446 # link flags. 7447 rm -rf libconftest.dylib* 7448 echo "int foo(void){return 1;}" > conftest.c 7449 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7450-dynamiclib -Wl,-single_module conftest.c" >&5 7451 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7452 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7453 _lt_result=$? 7454 # If there is a non-empty error log, and "single_module" 7455 # appears in it, assume the flag caused a linker warning 7456 if test -s conftest.err && $GREP single_module conftest.err; then 7457 cat conftest.err >&5 7458 # Otherwise, if the output was created with a 0 exit code from 7459 # the compiler, it worked. 7460 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7461 lt_cv_apple_cc_single_mod=yes 7462 else 7463 cat conftest.err >&5 7464 fi 7465 rm -rf libconftest.dylib* 7466 rm -f conftest.* 7467 fi 7468fi 7469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7470$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7471 7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7473$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7474if ${lt_cv_ld_exported_symbols_list+:} false; then : 7475 $as_echo_n "(cached) " >&6 7476else 7477 lt_cv_ld_exported_symbols_list=no 7478 save_LDFLAGS=$LDFLAGS 7479 echo "_main" > conftest.sym 7480 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7482/* end confdefs.h. */ 7483 7484int 7485main () 7486{ 7487 7488 ; 7489 return 0; 7490} 7491_ACEOF 7492if ac_fn_c_try_link "$LINENO"; then : 7493 lt_cv_ld_exported_symbols_list=yes 7494else 7495 lt_cv_ld_exported_symbols_list=no 7496fi 7497rm -f core conftest.err conftest.$ac_objext \ 7498 conftest$ac_exeext conftest.$ac_ext 7499 LDFLAGS=$save_LDFLAGS 7500 7501fi 7502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7503$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7504 7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7506$as_echo_n "checking for -force_load linker flag... " >&6; } 7507if ${lt_cv_ld_force_load+:} false; then : 7508 $as_echo_n "(cached) " >&6 7509else 7510 lt_cv_ld_force_load=no 7511 cat > conftest.c << _LT_EOF 7512int forced_loaded() { return 2;} 7513_LT_EOF 7514 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7515 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7516 echo "$AR cr libconftest.a conftest.o" >&5 7517 $AR cr libconftest.a conftest.o 2>&5 7518 echo "$RANLIB libconftest.a" >&5 7519 $RANLIB libconftest.a 2>&5 7520 cat > conftest.c << _LT_EOF 7521int main() { return 0;} 7522_LT_EOF 7523 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7524 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7525 _lt_result=$? 7526 if test -s conftest.err && $GREP force_load conftest.err; then 7527 cat conftest.err >&5 7528 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7529 lt_cv_ld_force_load=yes 7530 else 7531 cat conftest.err >&5 7532 fi 7533 rm -f conftest.err libconftest.a conftest conftest.c 7534 rm -rf conftest.dSYM 7535 7536fi 7537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7538$as_echo "$lt_cv_ld_force_load" >&6; } 7539 case $host_os in 7540 rhapsody* | darwin1.[012]) 7541 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7542 darwin1.*) 7543 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7544 darwin*) # darwin 5.x on 7545 # if running on 10.5 or later, the deployment target defaults 7546 # to the OS version, if on x86, and 10.4, the deployment 7547 # target defaults to 10.4. Don't you love it? 7548 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7549 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7550 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7551 10.[012][,.]*) 7552 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7553 10.*) 7554 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7555 esac 7556 ;; 7557 esac 7558 if test yes = "$lt_cv_apple_cc_single_mod"; then 7559 _lt_dar_single_mod='$single_module' 7560 fi 7561 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7562 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7563 else 7564 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7565 fi 7566 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7567 _lt_dsymutil='~$DSYMUTIL $lib || :' 7568 else 7569 _lt_dsymutil= 7570 fi 7571 ;; 7572 esac 7573 7574# func_munge_path_list VARIABLE PATH 7575# ----------------------------------- 7576# VARIABLE is name of variable containing _space_ separated list of 7577# directories to be munged by the contents of PATH, which is string 7578# having a format: 7579# "DIR[:DIR]:" 7580# string "DIR[ DIR]" will be prepended to VARIABLE 7581# ":DIR[:DIR]" 7582# string "DIR[ DIR]" will be appended to VARIABLE 7583# "DIRP[:DIRP]::[DIRA:]DIRA" 7584# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7585# "DIRA[ DIRA]" will be appended to VARIABLE 7586# "DIR[:DIR]" 7587# VARIABLE will be replaced by "DIR[ DIR]" 7588func_munge_path_list () 7589{ 7590 case x$2 in 7591 x) 7592 ;; 7593 *:) 7594 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7595 ;; 7596 x:*) 7597 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7598 ;; 7599 *::*) 7600 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7601 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7602 ;; 7603 *) 7604 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7605 ;; 7606 esac 7607} 7608 7609ac_ext=c 7610ac_cpp='$CPP $CPPFLAGS' 7611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7613ac_compiler_gnu=$ac_cv_c_compiler_gnu 7614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7615$as_echo_n "checking how to run the C preprocessor... " >&6; } 7616# On Suns, sometimes $CPP names a directory. 7617if test -n "$CPP" && test -d "$CPP"; then 7618 CPP= 7619fi 7620if test -z "$CPP"; then 7621 if ${ac_cv_prog_CPP+:} false; then : 7622 $as_echo_n "(cached) " >&6 7623else 7624 # Double quotes because CPP needs to be expanded 7625 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7626 do 7627 ac_preproc_ok=false 7628for ac_c_preproc_warn_flag in '' yes 7629do 7630 # Use a header file that comes with gcc, so configuring glibc 7631 # with a fresh cross-compiler works. 7632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7633 # <limits.h> exists even on freestanding compilers. 7634 # On the NeXT, cc -E runs the code through the compiler's parser, 7635 # not just through cpp. "Syntax error" is here to catch this case. 7636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7637/* end confdefs.h. */ 7638#ifdef __STDC__ 7639# include <limits.h> 7640#else 7641# include <assert.h> 7642#endif 7643 Syntax error 7644_ACEOF 7645if ac_fn_c_try_cpp "$LINENO"; then : 7646 7647else 7648 # Broken: fails on valid input. 7649continue 7650fi 7651rm -f conftest.err conftest.i conftest.$ac_ext 7652 7653 # OK, works on sane cases. Now check whether nonexistent headers 7654 # can be detected and how. 7655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7656/* end confdefs.h. */ 7657#include <ac_nonexistent.h> 7658_ACEOF 7659if ac_fn_c_try_cpp "$LINENO"; then : 7660 # Broken: success on invalid input. 7661continue 7662else 7663 # Passes both tests. 7664ac_preproc_ok=: 7665break 7666fi 7667rm -f conftest.err conftest.i conftest.$ac_ext 7668 7669done 7670# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7671rm -f conftest.i conftest.err conftest.$ac_ext 7672if $ac_preproc_ok; then : 7673 break 7674fi 7675 7676 done 7677 ac_cv_prog_CPP=$CPP 7678 7679fi 7680 CPP=$ac_cv_prog_CPP 7681else 7682 ac_cv_prog_CPP=$CPP 7683fi 7684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7685$as_echo "$CPP" >&6; } 7686ac_preproc_ok=false 7687for ac_c_preproc_warn_flag in '' yes 7688do 7689 # Use a header file that comes with gcc, so configuring glibc 7690 # with a fresh cross-compiler works. 7691 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7692 # <limits.h> exists even on freestanding compilers. 7693 # On the NeXT, cc -E runs the code through the compiler's parser, 7694 # not just through cpp. "Syntax error" is here to catch this case. 7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7696/* end confdefs.h. */ 7697#ifdef __STDC__ 7698# include <limits.h> 7699#else 7700# include <assert.h> 7701#endif 7702 Syntax error 7703_ACEOF 7704if ac_fn_c_try_cpp "$LINENO"; then : 7705 7706else 7707 # Broken: fails on valid input. 7708continue 7709fi 7710rm -f conftest.err conftest.i conftest.$ac_ext 7711 7712 # OK, works on sane cases. Now check whether nonexistent headers 7713 # can be detected and how. 7714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7715/* end confdefs.h. */ 7716#include <ac_nonexistent.h> 7717_ACEOF 7718if ac_fn_c_try_cpp "$LINENO"; then : 7719 # Broken: success on invalid input. 7720continue 7721else 7722 # Passes both tests. 7723ac_preproc_ok=: 7724break 7725fi 7726rm -f conftest.err conftest.i conftest.$ac_ext 7727 7728done 7729# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7730rm -f conftest.i conftest.err conftest.$ac_ext 7731if $ac_preproc_ok; then : 7732 7733else 7734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7735$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7736as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7737See \`config.log' for more details" "$LINENO" 5; } 7738fi 7739 7740ac_ext=c 7741ac_cpp='$CPP $CPPFLAGS' 7742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7744ac_compiler_gnu=$ac_cv_c_compiler_gnu 7745 7746 7747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7748$as_echo_n "checking for ANSI C header files... " >&6; } 7749if ${ac_cv_header_stdc+:} false; then : 7750 $as_echo_n "(cached) " >&6 7751else 7752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7753/* end confdefs.h. */ 7754#include <stdlib.h> 7755#include <stdarg.h> 7756#include <string.h> 7757#include <float.h> 7758 7759int 7760main () 7761{ 7762 7763 ; 7764 return 0; 7765} 7766_ACEOF 7767if ac_fn_c_try_compile "$LINENO"; then : 7768 ac_cv_header_stdc=yes 7769else 7770 ac_cv_header_stdc=no 7771fi 7772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7773 7774if test $ac_cv_header_stdc = yes; then 7775 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7777/* end confdefs.h. */ 7778#include <string.h> 7779 7780_ACEOF 7781if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7782 $EGREP "memchr" >/dev/null 2>&1; then : 7783 7784else 7785 ac_cv_header_stdc=no 7786fi 7787rm -f conftest* 7788 7789fi 7790 7791if test $ac_cv_header_stdc = yes; then 7792 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7794/* end confdefs.h. */ 7795#include <stdlib.h> 7796 7797_ACEOF 7798if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7799 $EGREP "free" >/dev/null 2>&1; then : 7800 7801else 7802 ac_cv_header_stdc=no 7803fi 7804rm -f conftest* 7805 7806fi 7807 7808if test $ac_cv_header_stdc = yes; then 7809 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7810 if test "$cross_compiling" = yes; then : 7811 : 7812else 7813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7814/* end confdefs.h. */ 7815#include <ctype.h> 7816#include <stdlib.h> 7817#if ((' ' & 0x0FF) == 0x020) 7818# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7819# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7820#else 7821# define ISLOWER(c) \ 7822 (('a' <= (c) && (c) <= 'i') \ 7823 || ('j' <= (c) && (c) <= 'r') \ 7824 || ('s' <= (c) && (c) <= 'z')) 7825# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7826#endif 7827 7828#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7829int 7830main () 7831{ 7832 int i; 7833 for (i = 0; i < 256; i++) 7834 if (XOR (islower (i), ISLOWER (i)) 7835 || toupper (i) != TOUPPER (i)) 7836 return 2; 7837 return 0; 7838} 7839_ACEOF 7840if ac_fn_c_try_run "$LINENO"; then : 7841 7842else 7843 ac_cv_header_stdc=no 7844fi 7845rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7846 conftest.$ac_objext conftest.beam conftest.$ac_ext 7847fi 7848 7849fi 7850fi 7851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7852$as_echo "$ac_cv_header_stdc" >&6; } 7853if test $ac_cv_header_stdc = yes; then 7854 7855$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7856 7857fi 7858 7859# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7860for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7861 inttypes.h stdint.h unistd.h 7862do : 7863 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7864ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7865" 7866if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7867 cat >>confdefs.h <<_ACEOF 7868#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7869_ACEOF 7870 7871fi 7872 7873done 7874 7875 7876for ac_header in dlfcn.h 7877do : 7878 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7879" 7880if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7881 cat >>confdefs.h <<_ACEOF 7882#define HAVE_DLFCN_H 1 7883_ACEOF 7884 7885fi 7886 7887done 7888 7889 7890 7891 7892 7893# Set options 7894# Check whether --enable-static was given. 7895if test "${enable_static+set}" = set; then : 7896 enableval=$enable_static; p=${PACKAGE-default} 7897 case $enableval in 7898 yes) enable_static=yes ;; 7899 no) enable_static=no ;; 7900 *) 7901 enable_static=no 7902 # Look at the argument we got. We use all the common list separators. 7903 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7904 for pkg in $enableval; do 7905 IFS=$lt_save_ifs 7906 if test "X$pkg" = "X$p"; then 7907 enable_static=yes 7908 fi 7909 done 7910 IFS=$lt_save_ifs 7911 ;; 7912 esac 7913else 7914 enable_static=no 7915fi 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 enable_dlopen=no 7927 7928 7929 enable_win32_dll=no 7930 7931 7932 # Check whether --enable-shared was given. 7933if test "${enable_shared+set}" = set; then : 7934 enableval=$enable_shared; p=${PACKAGE-default} 7935 case $enableval in 7936 yes) enable_shared=yes ;; 7937 no) enable_shared=no ;; 7938 *) 7939 enable_shared=no 7940 # Look at the argument we got. We use all the common list separators. 7941 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7942 for pkg in $enableval; do 7943 IFS=$lt_save_ifs 7944 if test "X$pkg" = "X$p"; then 7945 enable_shared=yes 7946 fi 7947 done 7948 IFS=$lt_save_ifs 7949 ;; 7950 esac 7951else 7952 enable_shared=yes 7953fi 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965# Check whether --with-pic was given. 7966if test "${with_pic+set}" = set; then : 7967 withval=$with_pic; lt_p=${PACKAGE-default} 7968 case $withval in 7969 yes|no) pic_mode=$withval ;; 7970 *) 7971 pic_mode=default 7972 # Look at the argument we got. We use all the common list separators. 7973 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7974 for lt_pkg in $withval; do 7975 IFS=$lt_save_ifs 7976 if test "X$lt_pkg" = "X$lt_p"; then 7977 pic_mode=yes 7978 fi 7979 done 7980 IFS=$lt_save_ifs 7981 ;; 7982 esac 7983else 7984 pic_mode=default 7985fi 7986 7987 7988 7989 7990 7991 7992 7993 7994 # Check whether --enable-fast-install was given. 7995if test "${enable_fast_install+set}" = set; then : 7996 enableval=$enable_fast_install; p=${PACKAGE-default} 7997 case $enableval in 7998 yes) enable_fast_install=yes ;; 7999 no) enable_fast_install=no ;; 8000 *) 8001 enable_fast_install=no 8002 # Look at the argument we got. We use all the common list separators. 8003 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8004 for pkg in $enableval; do 8005 IFS=$lt_save_ifs 8006 if test "X$pkg" = "X$p"; then 8007 enable_fast_install=yes 8008 fi 8009 done 8010 IFS=$lt_save_ifs 8011 ;; 8012 esac 8013else 8014 enable_fast_install=yes 8015fi 8016 8017 8018 8019 8020 8021 8022 8023 8024 shared_archive_member_spec= 8025case $host,$enable_shared in 8026power*-*-aix[5-9]*,yes) 8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8028$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8029 8030# Check whether --with-aix-soname was given. 8031if test "${with_aix_soname+set}" = set; then : 8032 withval=$with_aix_soname; case $withval in 8033 aix|svr4|both) 8034 ;; 8035 *) 8036 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8037 ;; 8038 esac 8039 lt_cv_with_aix_soname=$with_aix_soname 8040else 8041 if ${lt_cv_with_aix_soname+:} false; then : 8042 $as_echo_n "(cached) " >&6 8043else 8044 lt_cv_with_aix_soname=aix 8045fi 8046 8047 with_aix_soname=$lt_cv_with_aix_soname 8048fi 8049 8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8051$as_echo "$with_aix_soname" >&6; } 8052 if test aix != "$with_aix_soname"; then 8053 # For the AIX way of multilib, we name the shared archive member 8054 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8055 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8056 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8057 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8058 if test 64 = "${OBJECT_MODE-32}"; then 8059 shared_archive_member_spec=shr_64 8060 else 8061 shared_archive_member_spec=shr 8062 fi 8063 fi 8064 ;; 8065*) 8066 with_aix_soname=aix 8067 ;; 8068esac 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079# This can be used to rebuild libtool when needed 8080LIBTOOL_DEPS=$ltmain 8081 8082# Always use our own libtool. 8083LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114test -z "$LN_S" && LN_S="ln -s" 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129if test -n "${ZSH_VERSION+set}"; then 8130 setopt NO_GLOB_SUBST 8131fi 8132 8133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8134$as_echo_n "checking for objdir... " >&6; } 8135if ${lt_cv_objdir+:} false; then : 8136 $as_echo_n "(cached) " >&6 8137else 8138 rm -f .libs 2>/dev/null 8139mkdir .libs 2>/dev/null 8140if test -d .libs; then 8141 lt_cv_objdir=.libs 8142else 8143 # MS-DOS does not allow filenames that begin with a dot. 8144 lt_cv_objdir=_libs 8145fi 8146rmdir .libs 2>/dev/null 8147fi 8148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8149$as_echo "$lt_cv_objdir" >&6; } 8150objdir=$lt_cv_objdir 8151 8152 8153 8154 8155 8156cat >>confdefs.h <<_ACEOF 8157#define LT_OBJDIR "$lt_cv_objdir/" 8158_ACEOF 8159 8160 8161 8162 8163case $host_os in 8164aix3*) 8165 # AIX sometimes has problems with the GCC collect2 program. For some 8166 # reason, if we set the COLLECT_NAMES environment variable, the problems 8167 # vanish in a puff of smoke. 8168 if test set != "${COLLECT_NAMES+set}"; then 8169 COLLECT_NAMES= 8170 export COLLECT_NAMES 8171 fi 8172 ;; 8173esac 8174 8175# Global variables: 8176ofile=libtool 8177can_build_shared=yes 8178 8179# All known linkers require a '.a' archive for static linking (except MSVC, 8180# which needs '.lib'). 8181libext=a 8182 8183with_gnu_ld=$lt_cv_prog_gnu_ld 8184 8185old_CC=$CC 8186old_CFLAGS=$CFLAGS 8187 8188# Set sane defaults for various variables 8189test -z "$CC" && CC=cc 8190test -z "$LTCC" && LTCC=$CC 8191test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8192test -z "$LD" && LD=ld 8193test -z "$ac_objext" && ac_objext=o 8194 8195func_cc_basename $compiler 8196cc_basename=$func_cc_basename_result 8197 8198 8199# Only perform the check for file, if the check method requires it 8200test -z "$MAGIC_CMD" && MAGIC_CMD=file 8201case $deplibs_check_method in 8202file_magic*) 8203 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8205$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8206if ${lt_cv_path_MAGIC_CMD+:} false; then : 8207 $as_echo_n "(cached) " >&6 8208else 8209 case $MAGIC_CMD in 8210[\\/*] | ?:[\\/]*) 8211 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8212 ;; 8213*) 8214 lt_save_MAGIC_CMD=$MAGIC_CMD 8215 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8216 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8217 for ac_dir in $ac_dummy; do 8218 IFS=$lt_save_ifs 8219 test -z "$ac_dir" && ac_dir=. 8220 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8221 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8222 if test -n "$file_magic_test_file"; then 8223 case $deplibs_check_method in 8224 "file_magic "*) 8225 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8226 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8227 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8228 $EGREP "$file_magic_regex" > /dev/null; then 8229 : 8230 else 8231 cat <<_LT_EOF 1>&2 8232 8233*** Warning: the command libtool uses to detect shared libraries, 8234*** $file_magic_cmd, produces output that libtool cannot recognize. 8235*** The result is that libtool may fail to recognize shared libraries 8236*** as such. This will affect the creation of libtool libraries that 8237*** depend on shared libraries, but programs linked with such libtool 8238*** libraries will work regardless of this problem. Nevertheless, you 8239*** may want to report the problem to your system manager and/or to 8240*** bug-libtool@gnu.org 8241 8242_LT_EOF 8243 fi ;; 8244 esac 8245 fi 8246 break 8247 fi 8248 done 8249 IFS=$lt_save_ifs 8250 MAGIC_CMD=$lt_save_MAGIC_CMD 8251 ;; 8252esac 8253fi 8254 8255MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8256if test -n "$MAGIC_CMD"; then 8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8258$as_echo "$MAGIC_CMD" >&6; } 8259else 8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8261$as_echo "no" >&6; } 8262fi 8263 8264 8265 8266 8267 8268if test -z "$lt_cv_path_MAGIC_CMD"; then 8269 if test -n "$ac_tool_prefix"; then 8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8271$as_echo_n "checking for file... " >&6; } 8272if ${lt_cv_path_MAGIC_CMD+:} false; then : 8273 $as_echo_n "(cached) " >&6 8274else 8275 case $MAGIC_CMD in 8276[\\/*] | ?:[\\/]*) 8277 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8278 ;; 8279*) 8280 lt_save_MAGIC_CMD=$MAGIC_CMD 8281 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8282 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8283 for ac_dir in $ac_dummy; do 8284 IFS=$lt_save_ifs 8285 test -z "$ac_dir" && ac_dir=. 8286 if test -f "$ac_dir/file"; then 8287 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8288 if test -n "$file_magic_test_file"; then 8289 case $deplibs_check_method in 8290 "file_magic "*) 8291 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8292 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8293 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8294 $EGREP "$file_magic_regex" > /dev/null; then 8295 : 8296 else 8297 cat <<_LT_EOF 1>&2 8298 8299*** Warning: the command libtool uses to detect shared libraries, 8300*** $file_magic_cmd, produces output that libtool cannot recognize. 8301*** The result is that libtool may fail to recognize shared libraries 8302*** as such. This will affect the creation of libtool libraries that 8303*** depend on shared libraries, but programs linked with such libtool 8304*** libraries will work regardless of this problem. Nevertheless, you 8305*** may want to report the problem to your system manager and/or to 8306*** bug-libtool@gnu.org 8307 8308_LT_EOF 8309 fi ;; 8310 esac 8311 fi 8312 break 8313 fi 8314 done 8315 IFS=$lt_save_ifs 8316 MAGIC_CMD=$lt_save_MAGIC_CMD 8317 ;; 8318esac 8319fi 8320 8321MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8322if test -n "$MAGIC_CMD"; then 8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8324$as_echo "$MAGIC_CMD" >&6; } 8325else 8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8327$as_echo "no" >&6; } 8328fi 8329 8330 8331 else 8332 MAGIC_CMD=: 8333 fi 8334fi 8335 8336 fi 8337 ;; 8338esac 8339 8340# Use C for the default configuration in the libtool script 8341 8342lt_save_CC=$CC 8343ac_ext=c 8344ac_cpp='$CPP $CPPFLAGS' 8345ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8346ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8347ac_compiler_gnu=$ac_cv_c_compiler_gnu 8348 8349 8350# Source file extension for C test sources. 8351ac_ext=c 8352 8353# Object file extension for compiled C test sources. 8354objext=o 8355objext=$objext 8356 8357# Code to be used in simple compile tests 8358lt_simple_compile_test_code="int some_variable = 0;" 8359 8360# Code to be used in simple link tests 8361lt_simple_link_test_code='int main(){return(0);}' 8362 8363 8364 8365 8366 8367 8368 8369# If no C compiler was specified, use CC. 8370LTCC=${LTCC-"$CC"} 8371 8372# If no C compiler flags were specified, use CFLAGS. 8373LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8374 8375# Allow CC to be a program name with arguments. 8376compiler=$CC 8377 8378# Save the default compiler, since it gets overwritten when the other 8379# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8380compiler_DEFAULT=$CC 8381 8382# save warnings/boilerplate of simple test code 8383ac_outfile=conftest.$ac_objext 8384echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8385eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8386_lt_compiler_boilerplate=`cat conftest.err` 8387$RM conftest* 8388 8389ac_outfile=conftest.$ac_objext 8390echo "$lt_simple_link_test_code" >conftest.$ac_ext 8391eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8392_lt_linker_boilerplate=`cat conftest.err` 8393$RM -r conftest* 8394 8395 8396if test -n "$compiler"; then 8397 8398lt_prog_compiler_no_builtin_flag= 8399 8400if test yes = "$GCC"; then 8401 case $cc_basename in 8402 nvcc*) 8403 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8404 *) 8405 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8406 esac 8407 8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8409$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8410if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8411 $as_echo_n "(cached) " >&6 8412else 8413 lt_cv_prog_compiler_rtti_exceptions=no 8414 ac_outfile=conftest.$ac_objext 8415 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8416 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8417 # Insert the option either (1) after the last *FLAGS variable, or 8418 # (2) before a word containing "conftest.", or (3) at the end. 8419 # Note that $ac_compile itself does not contain backslashes and begins 8420 # with a dollar sign (not a hyphen), so the echo should work correctly. 8421 # The option is referenced via a variable to avoid confusing sed. 8422 lt_compile=`echo "$ac_compile" | $SED \ 8423 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8425 -e 's:$: $lt_compiler_flag:'` 8426 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8427 (eval "$lt_compile" 2>conftest.err) 8428 ac_status=$? 8429 cat conftest.err >&5 8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8431 if (exit $ac_status) && test -s "$ac_outfile"; then 8432 # The compiler can only warn and ignore the option if not recognized 8433 # So say no if there are warnings other than the usual output. 8434 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8435 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8436 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8437 lt_cv_prog_compiler_rtti_exceptions=yes 8438 fi 8439 fi 8440 $RM conftest* 8441 8442fi 8443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8444$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8445 8446if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8447 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8448else 8449 : 8450fi 8451 8452fi 8453 8454 8455 8456 8457 8458 8459 lt_prog_compiler_wl= 8460lt_prog_compiler_pic= 8461lt_prog_compiler_static= 8462 8463 8464 if test yes = "$GCC"; then 8465 lt_prog_compiler_wl='-Wl,' 8466 lt_prog_compiler_static='-static' 8467 8468 case $host_os in 8469 aix*) 8470 # All AIX code is PIC. 8471 if test ia64 = "$host_cpu"; then 8472 # AIX 5 now supports IA64 processor 8473 lt_prog_compiler_static='-Bstatic' 8474 fi 8475 lt_prog_compiler_pic='-fPIC' 8476 ;; 8477 8478 amigaos*) 8479 case $host_cpu in 8480 powerpc) 8481 # see comment about AmigaOS4 .so support 8482 lt_prog_compiler_pic='-fPIC' 8483 ;; 8484 m68k) 8485 # FIXME: we need at least 68020 code to build shared libraries, but 8486 # adding the '-m68020' flag to GCC prevents building anything better, 8487 # like '-m68040'. 8488 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8489 ;; 8490 esac 8491 ;; 8492 8493 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8494 # PIC is the default for these OSes. 8495 ;; 8496 8497 mingw* | cygwin* | pw32* | os2* | cegcc*) 8498 # This hack is so that the source file can tell whether it is being 8499 # built for inclusion in a dll (and should export symbols for example). 8500 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8501 # (--disable-auto-import) libraries 8502 lt_prog_compiler_pic='-DDLL_EXPORT' 8503 case $host_os in 8504 os2*) 8505 lt_prog_compiler_static='$wl-static' 8506 ;; 8507 esac 8508 ;; 8509 8510 darwin* | rhapsody*) 8511 # PIC is the default on this platform 8512 # Common symbols not allowed in MH_DYLIB files 8513 lt_prog_compiler_pic='-fno-common' 8514 ;; 8515 8516 haiku*) 8517 # PIC is the default for Haiku. 8518 # The "-static" flag exists, but is broken. 8519 lt_prog_compiler_static= 8520 ;; 8521 8522 hpux*) 8523 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8524 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8525 # sets the default TLS model and affects inlining. 8526 case $host_cpu in 8527 hppa*64*) 8528 # +Z the default 8529 ;; 8530 *) 8531 lt_prog_compiler_pic='-fPIC' 8532 ;; 8533 esac 8534 ;; 8535 8536 interix[3-9]*) 8537 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8538 # Instead, we relocate shared libraries at runtime. 8539 ;; 8540 8541 msdosdjgpp*) 8542 # Just because we use GCC doesn't mean we suddenly get shared libraries 8543 # on systems that don't support them. 8544 lt_prog_compiler_can_build_shared=no 8545 enable_shared=no 8546 ;; 8547 8548 *nto* | *qnx*) 8549 # QNX uses GNU C++, but need to define -shared option too, otherwise 8550 # it will coredump. 8551 lt_prog_compiler_pic='-fPIC -shared' 8552 ;; 8553 8554 sysv4*MP*) 8555 if test -d /usr/nec; then 8556 lt_prog_compiler_pic=-Kconform_pic 8557 fi 8558 ;; 8559 8560 *) 8561 lt_prog_compiler_pic='-fPIC' 8562 ;; 8563 esac 8564 8565 case $cc_basename in 8566 nvcc*) # Cuda Compiler Driver 2.2 8567 lt_prog_compiler_wl='-Xlinker ' 8568 if test -n "$lt_prog_compiler_pic"; then 8569 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8570 fi 8571 ;; 8572 esac 8573 else 8574 # PORTME Check for flag to pass linker flags through the system compiler. 8575 case $host_os in 8576 aix*) 8577 lt_prog_compiler_wl='-Wl,' 8578 if test ia64 = "$host_cpu"; then 8579 # AIX 5 now supports IA64 processor 8580 lt_prog_compiler_static='-Bstatic' 8581 else 8582 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8583 fi 8584 ;; 8585 8586 darwin* | rhapsody*) 8587 # PIC is the default on this platform 8588 # Common symbols not allowed in MH_DYLIB files 8589 lt_prog_compiler_pic='-fno-common' 8590 case $cc_basename in 8591 nagfor*) 8592 # NAG Fortran compiler 8593 lt_prog_compiler_wl='-Wl,-Wl,,' 8594 lt_prog_compiler_pic='-PIC' 8595 lt_prog_compiler_static='-Bstatic' 8596 ;; 8597 esac 8598 ;; 8599 8600 mingw* | cygwin* | pw32* | os2* | cegcc*) 8601 # This hack is so that the source file can tell whether it is being 8602 # built for inclusion in a dll (and should export symbols for example). 8603 lt_prog_compiler_pic='-DDLL_EXPORT' 8604 case $host_os in 8605 os2*) 8606 lt_prog_compiler_static='$wl-static' 8607 ;; 8608 esac 8609 ;; 8610 8611 hpux9* | hpux10* | hpux11*) 8612 lt_prog_compiler_wl='-Wl,' 8613 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8614 # not for PA HP-UX. 8615 case $host_cpu in 8616 hppa*64*|ia64*) 8617 # +Z the default 8618 ;; 8619 *) 8620 lt_prog_compiler_pic='+Z' 8621 ;; 8622 esac 8623 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8624 lt_prog_compiler_static='$wl-a ${wl}archive' 8625 ;; 8626 8627 irix5* | irix6* | nonstopux*) 8628 lt_prog_compiler_wl='-Wl,' 8629 # PIC (with -KPIC) is the default. 8630 lt_prog_compiler_static='-non_shared' 8631 ;; 8632 8633 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8634 case $cc_basename in 8635 # old Intel for x86_64, which still supported -KPIC. 8636 ecc*) 8637 lt_prog_compiler_wl='-Wl,' 8638 lt_prog_compiler_pic='-KPIC' 8639 lt_prog_compiler_static='-static' 8640 ;; 8641 # flang / f18. f95 an alias for gfortran or flang on Debian 8642 flang* | f18* | f95*) 8643 lt_prog_compiler_wl='-Wl,' 8644 lt_prog_compiler_pic='-fPIC' 8645 lt_prog_compiler_static='-static' 8646 ;; 8647 # icc used to be incompatible with GCC. 8648 # ICC 10 doesn't accept -KPIC any more. 8649 icc* | ifort*) 8650 lt_prog_compiler_wl='-Wl,' 8651 lt_prog_compiler_pic='-fPIC' 8652 lt_prog_compiler_static='-static' 8653 ;; 8654 # Lahey Fortran 8.1. 8655 lf95*) 8656 lt_prog_compiler_wl='-Wl,' 8657 lt_prog_compiler_pic='--shared' 8658 lt_prog_compiler_static='--static' 8659 ;; 8660 nagfor*) 8661 # NAG Fortran compiler 8662 lt_prog_compiler_wl='-Wl,-Wl,,' 8663 lt_prog_compiler_pic='-PIC' 8664 lt_prog_compiler_static='-Bstatic' 8665 ;; 8666 tcc*) 8667 # Fabrice Bellard et al's Tiny C Compiler 8668 lt_prog_compiler_wl='-Wl,' 8669 lt_prog_compiler_pic='-fPIC' 8670 lt_prog_compiler_static='-static' 8671 ;; 8672 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8673 # Portland Group compilers (*not* the Pentium gcc compiler, 8674 # which looks to be a dead project) 8675 lt_prog_compiler_wl='-Wl,' 8676 lt_prog_compiler_pic='-fpic' 8677 lt_prog_compiler_static='-Bstatic' 8678 ;; 8679 ccc*) 8680 lt_prog_compiler_wl='-Wl,' 8681 # All Alpha code is PIC. 8682 lt_prog_compiler_static='-non_shared' 8683 ;; 8684 xl* | bgxl* | bgf* | mpixl*) 8685 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8686 lt_prog_compiler_wl='-Wl,' 8687 lt_prog_compiler_pic='-qpic' 8688 lt_prog_compiler_static='-qstaticlink' 8689 ;; 8690 *) 8691 case `$CC -V 2>&1 | sed 5q` in 8692 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8693 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8694 lt_prog_compiler_pic='-KPIC' 8695 lt_prog_compiler_static='-Bstatic' 8696 lt_prog_compiler_wl='' 8697 ;; 8698 *Sun\ F* | *Sun*Fortran*) 8699 lt_prog_compiler_pic='-KPIC' 8700 lt_prog_compiler_static='-Bstatic' 8701 lt_prog_compiler_wl='-Qoption ld ' 8702 ;; 8703 *Sun\ C*) 8704 # Sun C 5.9 8705 lt_prog_compiler_pic='-KPIC' 8706 lt_prog_compiler_static='-Bstatic' 8707 lt_prog_compiler_wl='-Wl,' 8708 ;; 8709 *Intel*\ [CF]*Compiler*) 8710 lt_prog_compiler_wl='-Wl,' 8711 lt_prog_compiler_pic='-fPIC' 8712 lt_prog_compiler_static='-static' 8713 ;; 8714 *Portland\ Group*) 8715 lt_prog_compiler_wl='-Wl,' 8716 lt_prog_compiler_pic='-fpic' 8717 lt_prog_compiler_static='-Bstatic' 8718 ;; 8719 esac 8720 ;; 8721 esac 8722 ;; 8723 8724 newsos6) 8725 lt_prog_compiler_pic='-KPIC' 8726 lt_prog_compiler_static='-Bstatic' 8727 ;; 8728 8729 *nto* | *qnx*) 8730 # QNX uses GNU C++, but need to define -shared option too, otherwise 8731 # it will coredump. 8732 lt_prog_compiler_pic='-fPIC -shared' 8733 ;; 8734 8735 osf3* | osf4* | osf5*) 8736 lt_prog_compiler_wl='-Wl,' 8737 # All OSF/1 code is PIC. 8738 lt_prog_compiler_static='-non_shared' 8739 ;; 8740 8741 rdos*) 8742 lt_prog_compiler_static='-non_shared' 8743 ;; 8744 8745 solaris*) 8746 lt_prog_compiler_pic='-KPIC' 8747 lt_prog_compiler_static='-Bstatic' 8748 case $cc_basename in 8749 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8750 lt_prog_compiler_wl='-Qoption ld ';; 8751 *) 8752 lt_prog_compiler_wl='-Wl,';; 8753 esac 8754 ;; 8755 8756 sunos4*) 8757 lt_prog_compiler_wl='-Qoption ld ' 8758 lt_prog_compiler_pic='-PIC' 8759 lt_prog_compiler_static='-Bstatic' 8760 ;; 8761 8762 sysv4 | sysv4.2uw2* | sysv4.3*) 8763 lt_prog_compiler_wl='-Wl,' 8764 lt_prog_compiler_pic='-KPIC' 8765 lt_prog_compiler_static='-Bstatic' 8766 ;; 8767 8768 sysv4*MP*) 8769 if test -d /usr/nec; then 8770 lt_prog_compiler_pic='-Kconform_pic' 8771 lt_prog_compiler_static='-Bstatic' 8772 fi 8773 ;; 8774 8775 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8776 lt_prog_compiler_wl='-Wl,' 8777 lt_prog_compiler_pic='-KPIC' 8778 lt_prog_compiler_static='-Bstatic' 8779 ;; 8780 8781 unicos*) 8782 lt_prog_compiler_wl='-Wl,' 8783 lt_prog_compiler_can_build_shared=no 8784 ;; 8785 8786 uts4*) 8787 lt_prog_compiler_pic='-pic' 8788 lt_prog_compiler_static='-Bstatic' 8789 ;; 8790 8791 *) 8792 lt_prog_compiler_can_build_shared=no 8793 ;; 8794 esac 8795 fi 8796 8797case $host_os in 8798 # For platforms that do not support PIC, -DPIC is meaningless: 8799 *djgpp*) 8800 lt_prog_compiler_pic= 8801 ;; 8802 *) 8803 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8804 ;; 8805esac 8806 8807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8808$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8809if ${lt_cv_prog_compiler_pic+:} false; then : 8810 $as_echo_n "(cached) " >&6 8811else 8812 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8813fi 8814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8815$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8816lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8817 8818# 8819# Check to make sure the PIC flag actually works. 8820# 8821if test -n "$lt_prog_compiler_pic"; then 8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8823$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8824if ${lt_cv_prog_compiler_pic_works+:} false; then : 8825 $as_echo_n "(cached) " >&6 8826else 8827 lt_cv_prog_compiler_pic_works=no 8828 ac_outfile=conftest.$ac_objext 8829 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8830 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 8831 # Insert the option either (1) after the last *FLAGS variable, or 8832 # (2) before a word containing "conftest.", or (3) at the end. 8833 # Note that $ac_compile itself does not contain backslashes and begins 8834 # with a dollar sign (not a hyphen), so the echo should work correctly. 8835 # The option is referenced via a variable to avoid confusing sed. 8836 lt_compile=`echo "$ac_compile" | $SED \ 8837 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8838 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8839 -e 's:$: $lt_compiler_flag:'` 8840 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8841 (eval "$lt_compile" 2>conftest.err) 8842 ac_status=$? 8843 cat conftest.err >&5 8844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8845 if (exit $ac_status) && test -s "$ac_outfile"; then 8846 # The compiler can only warn and ignore the option if not recognized 8847 # So say no if there are warnings other than the usual output. 8848 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8849 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8850 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8851 lt_cv_prog_compiler_pic_works=yes 8852 fi 8853 fi 8854 $RM conftest* 8855 8856fi 8857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8858$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8859 8860if test yes = "$lt_cv_prog_compiler_pic_works"; then 8861 case $lt_prog_compiler_pic in 8862 "" | " "*) ;; 8863 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8864 esac 8865else 8866 lt_prog_compiler_pic= 8867 lt_prog_compiler_can_build_shared=no 8868fi 8869 8870fi 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882# 8883# Check to make sure the static flag actually works. 8884# 8885wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8887$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8888if ${lt_cv_prog_compiler_static_works+:} false; then : 8889 $as_echo_n "(cached) " >&6 8890else 8891 lt_cv_prog_compiler_static_works=no 8892 save_LDFLAGS=$LDFLAGS 8893 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8894 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8895 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8896 # The linker can only warn and ignore the option if not recognized 8897 # So say no if there are warnings 8898 if test -s conftest.err; then 8899 # Append any errors to the config.log. 8900 cat conftest.err 1>&5 8901 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8902 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8903 if diff conftest.exp conftest.er2 >/dev/null; then 8904 lt_cv_prog_compiler_static_works=yes 8905 fi 8906 else 8907 lt_cv_prog_compiler_static_works=yes 8908 fi 8909 fi 8910 $RM -r conftest* 8911 LDFLAGS=$save_LDFLAGS 8912 8913fi 8914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8915$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8916 8917if test yes = "$lt_cv_prog_compiler_static_works"; then 8918 : 8919else 8920 lt_prog_compiler_static= 8921fi 8922 8923 8924 8925 8926 8927 8928 8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8930$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8931if ${lt_cv_prog_compiler_c_o+:} false; then : 8932 $as_echo_n "(cached) " >&6 8933else 8934 lt_cv_prog_compiler_c_o=no 8935 $RM -r conftest 2>/dev/null 8936 mkdir conftest 8937 cd conftest 8938 mkdir out 8939 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8940 8941 lt_compiler_flag="-o out/conftest2.$ac_objext" 8942 # Insert the option either (1) after the last *FLAGS variable, or 8943 # (2) before a word containing "conftest.", or (3) at the end. 8944 # Note that $ac_compile itself does not contain backslashes and begins 8945 # with a dollar sign (not a hyphen), so the echo should work correctly. 8946 lt_compile=`echo "$ac_compile" | $SED \ 8947 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8948 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8949 -e 's:$: $lt_compiler_flag:'` 8950 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8951 (eval "$lt_compile" 2>out/conftest.err) 8952 ac_status=$? 8953 cat out/conftest.err >&5 8954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8955 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8956 then 8957 # The compiler can only warn and ignore the option if not recognized 8958 # So say no if there are warnings 8959 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8960 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8961 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8962 lt_cv_prog_compiler_c_o=yes 8963 fi 8964 fi 8965 chmod u+w . 2>&5 8966 $RM conftest* 8967 # SGI C++ compiler will create directory out/ii_files/ for 8968 # template instantiation 8969 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8970 $RM out/* && rmdir out 8971 cd .. 8972 $RM -r conftest 8973 $RM conftest* 8974 8975fi 8976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8977$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8978 8979 8980 8981 8982 8983 8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8985$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8986if ${lt_cv_prog_compiler_c_o+:} false; then : 8987 $as_echo_n "(cached) " >&6 8988else 8989 lt_cv_prog_compiler_c_o=no 8990 $RM -r conftest 2>/dev/null 8991 mkdir conftest 8992 cd conftest 8993 mkdir out 8994 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8995 8996 lt_compiler_flag="-o out/conftest2.$ac_objext" 8997 # Insert the option either (1) after the last *FLAGS variable, or 8998 # (2) before a word containing "conftest.", or (3) at the end. 8999 # Note that $ac_compile itself does not contain backslashes and begins 9000 # with a dollar sign (not a hyphen), so the echo should work correctly. 9001 lt_compile=`echo "$ac_compile" | $SED \ 9002 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9003 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9004 -e 's:$: $lt_compiler_flag:'` 9005 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9006 (eval "$lt_compile" 2>out/conftest.err) 9007 ac_status=$? 9008 cat out/conftest.err >&5 9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9010 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9011 then 9012 # The compiler can only warn and ignore the option if not recognized 9013 # So say no if there are warnings 9014 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9015 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9016 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9017 lt_cv_prog_compiler_c_o=yes 9018 fi 9019 fi 9020 chmod u+w . 2>&5 9021 $RM conftest* 9022 # SGI C++ compiler will create directory out/ii_files/ for 9023 # template instantiation 9024 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9025 $RM out/* && rmdir out 9026 cd .. 9027 $RM -r conftest 9028 $RM conftest* 9029 9030fi 9031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9032$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9033 9034 9035 9036 9037hard_links=nottested 9038if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9039 # do not overwrite the value of need_locks provided by the user 9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9041$as_echo_n "checking if we can lock with hard links... " >&6; } 9042 hard_links=yes 9043 $RM conftest* 9044 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9045 touch conftest.a 9046 ln conftest.a conftest.b 2>&5 || hard_links=no 9047 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9049$as_echo "$hard_links" >&6; } 9050 if test no = "$hard_links"; then 9051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9052$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9053 need_locks=warn 9054 fi 9055else 9056 need_locks=no 9057fi 9058 9059 9060 9061 9062 9063 9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9065$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9066 9067 runpath_var= 9068 allow_undefined_flag= 9069 always_export_symbols=no 9070 archive_cmds= 9071 archive_expsym_cmds= 9072 compiler_needs_object=no 9073 enable_shared_with_static_runtimes=no 9074 export_dynamic_flag_spec= 9075 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9076 hardcode_automatic=no 9077 hardcode_direct=no 9078 hardcode_direct_absolute=no 9079 hardcode_libdir_flag_spec= 9080 hardcode_libdir_separator= 9081 hardcode_minus_L=no 9082 hardcode_shlibpath_var=unsupported 9083 inherit_rpath=no 9084 link_all_deplibs=unknown 9085 module_cmds= 9086 module_expsym_cmds= 9087 old_archive_from_new_cmds= 9088 old_archive_from_expsyms_cmds= 9089 thread_safe_flag_spec= 9090 whole_archive_flag_spec= 9091 # include_expsyms should be a list of space-separated symbols to be *always* 9092 # included in the symbol list 9093 include_expsyms= 9094 # exclude_expsyms can be an extended regexp of symbols to exclude 9095 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9096 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9097 # as well as any symbol that contains 'd'. 9098 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9099 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9100 # platforms (ab)use it in PIC code, but their linkers get confused if 9101 # the symbol is explicitly referenced. Since portable code cannot 9102 # rely on this symbol name, it's probably fine to never include it in 9103 # preloaded symbol tables. 9104 # Exclude shared library initialization/finalization symbols. 9105 extract_expsyms_cmds= 9106 9107 case $host_os in 9108 cygwin* | mingw* | pw32* | cegcc*) 9109 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9110 # When not using gcc, we currently assume that we are using 9111 # Microsoft Visual C++. 9112 if test yes != "$GCC"; then 9113 with_gnu_ld=no 9114 fi 9115 ;; 9116 interix*) 9117 # we just hope/assume this is gcc and not c89 (= MSVC++) 9118 with_gnu_ld=yes 9119 ;; 9120 openbsd* | bitrig*) 9121 with_gnu_ld=no 9122 ;; 9123 linux* | k*bsd*-gnu | gnu*) 9124 link_all_deplibs=no 9125 ;; 9126 esac 9127 9128 ld_shlibs=yes 9129 9130 # On some targets, GNU ld is compatible enough with the native linker 9131 # that we're better off using the native interface for both. 9132 lt_use_gnu_ld_interface=no 9133 if test yes = "$with_gnu_ld"; then 9134 case $host_os in 9135 aix*) 9136 # The AIX port of GNU ld has always aspired to compatibility 9137 # with the native linker. However, as the warning in the GNU ld 9138 # block says, versions before 2.19.5* couldn't really create working 9139 # shared libraries, regardless of the interface used. 9140 case `$LD -v 2>&1` in 9141 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9142 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9143 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9144 *) 9145 lt_use_gnu_ld_interface=yes 9146 ;; 9147 esac 9148 ;; 9149 *) 9150 lt_use_gnu_ld_interface=yes 9151 ;; 9152 esac 9153 fi 9154 9155 if test yes = "$lt_use_gnu_ld_interface"; then 9156 # If archive_cmds runs LD, not CC, wlarc should be empty 9157 wlarc='$wl' 9158 9159 # Set some defaults for GNU ld with shared library support. These 9160 # are reset later if shared libraries are not supported. Putting them 9161 # here allows them to be overridden if necessary. 9162 runpath_var=LD_RUN_PATH 9163 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9164 export_dynamic_flag_spec='$wl--export-dynamic' 9165 # ancient GNU ld didn't support --whole-archive et. al. 9166 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9167 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9168 else 9169 whole_archive_flag_spec= 9170 fi 9171 supports_anon_versioning=no 9172 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9173 *GNU\ gold*) supports_anon_versioning=yes ;; 9174 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9175 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9176 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9177 *\ 2.11.*) ;; # other 2.11 versions 9178 *) supports_anon_versioning=yes ;; 9179 esac 9180 9181 # See if GNU ld supports shared libraries. 9182 case $host_os in 9183 aix[3-9]*) 9184 # On AIX/PPC, the GNU linker is very broken 9185 if test ia64 != "$host_cpu"; then 9186 ld_shlibs=no 9187 cat <<_LT_EOF 1>&2 9188 9189*** Warning: the GNU linker, at least up to release 2.19, is reported 9190*** to be unable to reliably create shared libraries on AIX. 9191*** Therefore, libtool is disabling shared libraries support. If you 9192*** really care for shared libraries, you may want to install binutils 9193*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9194*** You will then need to restart the configuration process. 9195 9196_LT_EOF 9197 fi 9198 ;; 9199 9200 amigaos*) 9201 case $host_cpu in 9202 powerpc) 9203 # see comment about AmigaOS4 .so support 9204 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9205 archive_expsym_cmds='' 9206 ;; 9207 m68k) 9208 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)' 9209 hardcode_libdir_flag_spec='-L$libdir' 9210 hardcode_minus_L=yes 9211 ;; 9212 esac 9213 ;; 9214 9215 beos*) 9216 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9217 allow_undefined_flag=unsupported 9218 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9219 # support --undefined. This deserves some investigation. FIXME 9220 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9221 else 9222 ld_shlibs=no 9223 fi 9224 ;; 9225 9226 cygwin* | mingw* | pw32* | cegcc*) 9227 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9228 # as there is no search path for DLLs. 9229 hardcode_libdir_flag_spec='-L$libdir' 9230 export_dynamic_flag_spec='$wl--export-all-symbols' 9231 allow_undefined_flag=unsupported 9232 always_export_symbols=no 9233 enable_shared_with_static_runtimes=yes 9234 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' 9235 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9236 9237 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9238 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9239 # If the export-symbols file already is a .def file, use it as 9240 # is; otherwise, prepend EXPORTS... 9241 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9242 cp $export_symbols $output_objdir/$soname.def; 9243 else 9244 echo EXPORTS > $output_objdir/$soname.def; 9245 cat $export_symbols >> $output_objdir/$soname.def; 9246 fi~ 9247 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9248 else 9249 ld_shlibs=no 9250 fi 9251 ;; 9252 9253 haiku*) 9254 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9255 link_all_deplibs=yes 9256 ;; 9257 9258 os2*) 9259 hardcode_libdir_flag_spec='-L$libdir' 9260 hardcode_minus_L=yes 9261 allow_undefined_flag=unsupported 9262 shrext_cmds=.dll 9263 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9264 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9265 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9266 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9267 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9268 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9269 emximp -o $lib $output_objdir/$libname.def' 9270 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9271 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9272 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9273 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9274 prefix_cmds="$SED"~ 9275 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9276 prefix_cmds="$prefix_cmds -e 1d"; 9277 fi~ 9278 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9279 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9280 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9281 emximp -o $lib $output_objdir/$libname.def' 9282 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9283 enable_shared_with_static_runtimes=yes 9284 ;; 9285 9286 interix[3-9]*) 9287 hardcode_direct=no 9288 hardcode_shlibpath_var=no 9289 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9290 export_dynamic_flag_spec='$wl-E' 9291 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9292 # Instead, shared libraries are loaded at an image base (0x10000000 by 9293 # default) and relocated if they conflict, which is a slow very memory 9294 # consuming and fragmenting process. To avoid this, we pick a random, 9295 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9296 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9297 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9298 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' 9299 ;; 9300 9301 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9302 tmp_diet=no 9303 if test linux-dietlibc = "$host_os"; then 9304 case $cc_basename in 9305 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9306 esac 9307 fi 9308 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9309 && test no = "$tmp_diet" 9310 then 9311 tmp_addflag=' $pic_flag' 9312 tmp_sharedflag='-shared' 9313 case $cc_basename,$host_cpu in 9314 pgcc*) # Portland Group C compiler 9315 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' 9316 tmp_addflag=' $pic_flag' 9317 ;; 9318 pgf77* | pgf90* | pgf95* | pgfortran*) 9319 # Portland Group f77 and f90 compilers 9320 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' 9321 tmp_addflag=' $pic_flag -Mnomain' ;; 9322 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9323 tmp_addflag=' -i_dynamic' ;; 9324 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9325 tmp_addflag=' -i_dynamic -nofor_main' ;; 9326 ifc* | ifort*) # Intel Fortran compiler 9327 tmp_addflag=' -nofor_main' ;; 9328 lf95*) # Lahey Fortran 8.1 9329 whole_archive_flag_spec= 9330 tmp_sharedflag='--shared' ;; 9331 nagfor*) # NAGFOR 5.3 9332 tmp_sharedflag='-Wl,-shared' ;; 9333 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9334 tmp_sharedflag='-qmkshrobj' 9335 tmp_addflag= ;; 9336 nvcc*) # Cuda Compiler Driver 2.2 9337 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' 9338 compiler_needs_object=yes 9339 ;; 9340 esac 9341 case `$CC -V 2>&1 | sed 5q` in 9342 *Sun\ C*) # Sun C 5.9 9343 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' 9344 compiler_needs_object=yes 9345 tmp_sharedflag='-G' ;; 9346 *Sun\ F*) # Sun Fortran 8.3 9347 tmp_sharedflag='-G' ;; 9348 esac 9349 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9350 9351 if test yes = "$supports_anon_versioning"; then 9352 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9353 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9354 echo "local: *; };" >> $output_objdir/$libname.ver~ 9355 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9356 fi 9357 9358 case $cc_basename in 9359 tcc*) 9360 export_dynamic_flag_spec='-rdynamic' 9361 ;; 9362 xlf* | bgf* | bgxlf* | mpixlf*) 9363 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9364 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9365 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9366 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9367 if test yes = "$supports_anon_versioning"; then 9368 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9369 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9370 echo "local: *; };" >> $output_objdir/$libname.ver~ 9371 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9372 fi 9373 ;; 9374 esac 9375 else 9376 ld_shlibs=no 9377 fi 9378 ;; 9379 9380 netbsd* | netbsdelf*-gnu) 9381 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9382 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9383 wlarc= 9384 else 9385 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9386 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9387 fi 9388 ;; 9389 9390 solaris*) 9391 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9392 ld_shlibs=no 9393 cat <<_LT_EOF 1>&2 9394 9395*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9396*** create shared libraries on Solaris systems. Therefore, libtool 9397*** is disabling shared libraries support. We urge you to upgrade GNU 9398*** binutils to release 2.9.1 or newer. Another option is to modify 9399*** your PATH or compiler configuration so that the native linker is 9400*** used, and then restart. 9401 9402_LT_EOF 9403 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9404 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9405 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9406 else 9407 ld_shlibs=no 9408 fi 9409 ;; 9410 9411 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9412 case `$LD -v 2>&1` in 9413 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9414 ld_shlibs=no 9415 cat <<_LT_EOF 1>&2 9416 9417*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9418*** reliably create shared libraries on SCO systems. Therefore, libtool 9419*** is disabling shared libraries support. We urge you to upgrade GNU 9420*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9421*** your PATH or compiler configuration so that the native linker is 9422*** used, and then restart. 9423 9424_LT_EOF 9425 ;; 9426 *) 9427 # For security reasons, it is highly recommended that you always 9428 # use absolute paths for naming shared libraries, and exclude the 9429 # DT_RUNPATH tag from executables and libraries. But doing so 9430 # requires that you compile everything twice, which is a pain. 9431 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9432 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9434 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9435 else 9436 ld_shlibs=no 9437 fi 9438 ;; 9439 esac 9440 ;; 9441 9442 sunos4*) 9443 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9444 wlarc= 9445 hardcode_direct=yes 9446 hardcode_shlibpath_var=no 9447 ;; 9448 9449 *) 9450 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9451 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9452 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9453 else 9454 ld_shlibs=no 9455 fi 9456 ;; 9457 esac 9458 9459 if test no = "$ld_shlibs"; then 9460 runpath_var= 9461 hardcode_libdir_flag_spec= 9462 export_dynamic_flag_spec= 9463 whole_archive_flag_spec= 9464 fi 9465 else 9466 # PORTME fill in a description of your system's linker (not GNU ld) 9467 case $host_os in 9468 aix3*) 9469 allow_undefined_flag=unsupported 9470 always_export_symbols=yes 9471 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' 9472 # Note: this linker hardcodes the directories in LIBPATH if there 9473 # are no directories specified by -L. 9474 hardcode_minus_L=yes 9475 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9476 # Neither direct hardcoding nor static linking is supported with a 9477 # broken collect2. 9478 hardcode_direct=unsupported 9479 fi 9480 ;; 9481 9482 aix[4-9]*) 9483 if test ia64 = "$host_cpu"; then 9484 # On IA64, the linker does run time linking by default, so we don't 9485 # have to do anything special. 9486 aix_use_runtimelinking=no 9487 exp_sym_flag='-Bexport' 9488 no_entry_flag= 9489 else 9490 # If we're using GNU nm, then we don't want the "-C" option. 9491 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9492 # Without the "-l" option, or with the "-B" option, AIX nm treats 9493 # weak defined symbols like other global defined symbols, whereas 9494 # GNU nm marks them as "W". 9495 # While the 'weak' keyword is ignored in the Export File, we need 9496 # it in the Import File for the 'aix-soname' feature, so we have 9497 # to replace the "-B" option with "-P" for AIX nm. 9498 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9499 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' 9500 else 9501 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' 9502 fi 9503 aix_use_runtimelinking=no 9504 9505 # Test if we are trying to use run time linking or normal 9506 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9507 # have runtime linking enabled, and use it for executables. 9508 # For shared libraries, we enable/disable runtime linking 9509 # depending on the kind of the shared library created - 9510 # when "with_aix_soname,aix_use_runtimelinking" is: 9511 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9512 # "aix,yes" lib.so shared, rtl:yes, for executables 9513 # lib.a static archive 9514 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9515 # lib.a(lib.so.V) shared, rtl:no, for executables 9516 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9517 # lib.a(lib.so.V) shared, rtl:no 9518 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9519 # lib.a static archive 9520 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9521 for ld_flag in $LDFLAGS; do 9522 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9523 aix_use_runtimelinking=yes 9524 break 9525 fi 9526 done 9527 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9528 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9529 # so we don't have lib.a shared libs to link our executables. 9530 # We have to force runtime linking in this case. 9531 aix_use_runtimelinking=yes 9532 LDFLAGS="$LDFLAGS -Wl,-brtl" 9533 fi 9534 ;; 9535 esac 9536 9537 exp_sym_flag='-bexport' 9538 no_entry_flag='-bnoentry' 9539 fi 9540 9541 # When large executables or shared objects are built, AIX ld can 9542 # have problems creating the table of contents. If linking a library 9543 # or program results in "error TOC overflow" add -mminimal-toc to 9544 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9545 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9546 9547 archive_cmds='' 9548 hardcode_direct=yes 9549 hardcode_direct_absolute=yes 9550 hardcode_libdir_separator=':' 9551 link_all_deplibs=yes 9552 file_list_spec='$wl-f,' 9553 case $with_aix_soname,$aix_use_runtimelinking in 9554 aix,*) ;; # traditional, no import file 9555 svr4,* | *,yes) # use import file 9556 # The Import File defines what to hardcode. 9557 hardcode_direct=no 9558 hardcode_direct_absolute=no 9559 ;; 9560 esac 9561 9562 if test yes = "$GCC"; then 9563 case $host_os in aix4.[012]|aix4.[012].*) 9564 # We only want to do this on AIX 4.2 and lower, the check 9565 # below for broken collect2 doesn't work under 4.3+ 9566 collect2name=`$CC -print-prog-name=collect2` 9567 if test -f "$collect2name" && 9568 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9569 then 9570 # We have reworked collect2 9571 : 9572 else 9573 # We have old collect2 9574 hardcode_direct=unsupported 9575 # It fails to find uninstalled libraries when the uninstalled 9576 # path is not listed in the libpath. Setting hardcode_minus_L 9577 # to unsupported forces relinking 9578 hardcode_minus_L=yes 9579 hardcode_libdir_flag_spec='-L$libdir' 9580 hardcode_libdir_separator= 9581 fi 9582 ;; 9583 esac 9584 shared_flag='-shared' 9585 if test yes = "$aix_use_runtimelinking"; then 9586 shared_flag="$shared_flag "'$wl-G' 9587 fi 9588 # Need to ensure runtime linking is disabled for the traditional 9589 # shared library, or the linker may eventually find shared libraries 9590 # /with/ Import File - we do not want to mix them. 9591 shared_flag_aix='-shared' 9592 shared_flag_svr4='-shared $wl-G' 9593 else 9594 # not using gcc 9595 if test ia64 = "$host_cpu"; then 9596 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9597 # chokes on -Wl,-G. The following line is correct: 9598 shared_flag='-G' 9599 else 9600 if test yes = "$aix_use_runtimelinking"; then 9601 shared_flag='$wl-G' 9602 else 9603 shared_flag='$wl-bM:SRE' 9604 fi 9605 shared_flag_aix='$wl-bM:SRE' 9606 shared_flag_svr4='$wl-G' 9607 fi 9608 fi 9609 9610 export_dynamic_flag_spec='$wl-bexpall' 9611 # It seems that -bexpall does not export symbols beginning with 9612 # underscore (_), so it is better to generate a list of symbols to export. 9613 always_export_symbols=yes 9614 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9615 # Warning - without using the other runtime loading flags (-brtl), 9616 # -berok will link without error, but may produce a broken library. 9617 allow_undefined_flag='-berok' 9618 # Determine the default libpath from the value encoded in an 9619 # empty executable. 9620 if test set = "${lt_cv_aix_libpath+set}"; then 9621 aix_libpath=$lt_cv_aix_libpath 9622else 9623 if ${lt_cv_aix_libpath_+:} false; then : 9624 $as_echo_n "(cached) " >&6 9625else 9626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9627/* end confdefs.h. */ 9628 9629int 9630main () 9631{ 9632 9633 ; 9634 return 0; 9635} 9636_ACEOF 9637if ac_fn_c_try_link "$LINENO"; then : 9638 9639 lt_aix_libpath_sed=' 9640 /Import File Strings/,/^$/ { 9641 /^0/ { 9642 s/^0 *\([^ ]*\) *$/\1/ 9643 p 9644 } 9645 }' 9646 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9647 # Check for a 64-bit object if we didn't find anything. 9648 if test -z "$lt_cv_aix_libpath_"; then 9649 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9650 fi 9651fi 9652rm -f core conftest.err conftest.$ac_objext \ 9653 conftest$ac_exeext conftest.$ac_ext 9654 if test -z "$lt_cv_aix_libpath_"; then 9655 lt_cv_aix_libpath_=/usr/lib:/lib 9656 fi 9657 9658fi 9659 9660 aix_libpath=$lt_cv_aix_libpath_ 9661fi 9662 9663 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9664 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 9665 else 9666 if test ia64 = "$host_cpu"; then 9667 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9668 allow_undefined_flag="-z nodefs" 9669 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" 9670 else 9671 # Determine the default libpath from the value encoded in an 9672 # empty executable. 9673 if test set = "${lt_cv_aix_libpath+set}"; then 9674 aix_libpath=$lt_cv_aix_libpath 9675else 9676 if ${lt_cv_aix_libpath_+:} false; then : 9677 $as_echo_n "(cached) " >&6 9678else 9679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9680/* end confdefs.h. */ 9681 9682int 9683main () 9684{ 9685 9686 ; 9687 return 0; 9688} 9689_ACEOF 9690if ac_fn_c_try_link "$LINENO"; then : 9691 9692 lt_aix_libpath_sed=' 9693 /Import File Strings/,/^$/ { 9694 /^0/ { 9695 s/^0 *\([^ ]*\) *$/\1/ 9696 p 9697 } 9698 }' 9699 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9700 # Check for a 64-bit object if we didn't find anything. 9701 if test -z "$lt_cv_aix_libpath_"; then 9702 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9703 fi 9704fi 9705rm -f core conftest.err conftest.$ac_objext \ 9706 conftest$ac_exeext conftest.$ac_ext 9707 if test -z "$lt_cv_aix_libpath_"; then 9708 lt_cv_aix_libpath_=/usr/lib:/lib 9709 fi 9710 9711fi 9712 9713 aix_libpath=$lt_cv_aix_libpath_ 9714fi 9715 9716 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9717 # Warning - without using the other run time loading flags, 9718 # -berok will link without error, but may produce a broken library. 9719 no_undefined_flag=' $wl-bernotok' 9720 allow_undefined_flag=' $wl-berok' 9721 if test yes = "$with_gnu_ld"; then 9722 # We only use this code for GNU lds that support --whole-archive. 9723 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9724 else 9725 # Exported symbols can be pulled into shared objects from archives 9726 whole_archive_flag_spec='$convenience' 9727 fi 9728 archive_cmds_need_lc=yes 9729 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9730 # -brtl affects multiple linker settings, -berok does not and is overridden later 9731 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9732 if test svr4 != "$with_aix_soname"; then 9733 # This is similar to how AIX traditionally builds its shared libraries. 9734 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' 9735 fi 9736 if test aix != "$with_aix_soname"; then 9737 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' 9738 else 9739 # used by -dlpreopen to get the symbols 9740 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9741 fi 9742 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9743 fi 9744 fi 9745 ;; 9746 9747 amigaos*) 9748 case $host_cpu in 9749 powerpc) 9750 # see comment about AmigaOS4 .so support 9751 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9752 archive_expsym_cmds='' 9753 ;; 9754 m68k) 9755 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)' 9756 hardcode_libdir_flag_spec='-L$libdir' 9757 hardcode_minus_L=yes 9758 ;; 9759 esac 9760 ;; 9761 9762 bsdi[45]*) 9763 export_dynamic_flag_spec=-rdynamic 9764 ;; 9765 9766 cygwin* | mingw* | pw32* | cegcc*) 9767 # When not using gcc, we currently assume that we are using 9768 # Microsoft Visual C++. 9769 # hardcode_libdir_flag_spec is actually meaningless, as there is 9770 # no search path for DLLs. 9771 case $cc_basename in 9772 cl*) 9773 # Native MSVC 9774 hardcode_libdir_flag_spec=' ' 9775 allow_undefined_flag=unsupported 9776 always_export_symbols=yes 9777 file_list_spec='@' 9778 # Tell ltmain to make .lib files, not .a files. 9779 libext=lib 9780 # Tell ltmain to make .dll files, not .so files. 9781 shrext_cmds=.dll 9782 # FIXME: Setting linknames here is a bad hack. 9783 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 9784 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9785 cp "$export_symbols" "$output_objdir/$soname.def"; 9786 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 9787 else 9788 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 9789 fi~ 9790 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9791 linknames=' 9792 # The linker will not automatically build a static lib if we build a DLL. 9793 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9794 enable_shared_with_static_runtimes=yes 9795 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9796 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9797 # Don't use ranlib 9798 old_postinstall_cmds='chmod 644 $oldlib' 9799 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9800 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9801 case $lt_outputfile in 9802 *.exe|*.EXE) ;; 9803 *) 9804 lt_outputfile=$lt_outputfile.exe 9805 lt_tool_outputfile=$lt_tool_outputfile.exe 9806 ;; 9807 esac~ 9808 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 9809 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9810 $RM "$lt_outputfile.manifest"; 9811 fi' 9812 ;; 9813 *) 9814 # Assume MSVC wrapper 9815 hardcode_libdir_flag_spec=' ' 9816 allow_undefined_flag=unsupported 9817 # Tell ltmain to make .lib files, not .a files. 9818 libext=lib 9819 # Tell ltmain to make .dll files, not .so files. 9820 shrext_cmds=.dll 9821 # FIXME: Setting linknames here is a bad hack. 9822 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9823 # The linker will automatically build a .lib file if we build a DLL. 9824 old_archive_from_new_cmds='true' 9825 # FIXME: Should let the user specify the lib program. 9826 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9827 enable_shared_with_static_runtimes=yes 9828 ;; 9829 esac 9830 ;; 9831 9832 darwin* | rhapsody*) 9833 9834 9835 archive_cmds_need_lc=no 9836 hardcode_direct=no 9837 hardcode_automatic=yes 9838 hardcode_shlibpath_var=unsupported 9839 if test yes = "$lt_cv_ld_force_load"; then 9840 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\"`' 9841 9842 else 9843 whole_archive_flag_spec='' 9844 fi 9845 link_all_deplibs=yes 9846 allow_undefined_flag=$_lt_dar_allow_undefined 9847 case $cc_basename in 9848 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 9849 *) _lt_dar_can_shared=$GCC ;; 9850 esac 9851 if test yes = "$_lt_dar_can_shared"; then 9852 output_verbose_link_cmd=func_echo_all 9853 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 9854 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 9855 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" 9856 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" 9857 9858 else 9859 ld_shlibs=no 9860 fi 9861 9862 ;; 9863 9864 dgux*) 9865 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9866 hardcode_libdir_flag_spec='-L$libdir' 9867 hardcode_shlibpath_var=no 9868 ;; 9869 9870 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9871 # support. Future versions do this automatically, but an explicit c++rt0.o 9872 # does not break anything, and helps significantly (at the cost of a little 9873 # extra space). 9874 freebsd2.2*) 9875 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9876 hardcode_libdir_flag_spec='-R$libdir' 9877 hardcode_direct=yes 9878 hardcode_shlibpath_var=no 9879 ;; 9880 9881 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9882 freebsd2.*) 9883 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9884 hardcode_direct=yes 9885 hardcode_minus_L=yes 9886 hardcode_shlibpath_var=no 9887 ;; 9888 9889 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9890 freebsd* | dragonfly*) 9891 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9892 hardcode_libdir_flag_spec='-R$libdir' 9893 hardcode_direct=yes 9894 hardcode_shlibpath_var=no 9895 ;; 9896 9897 hpux9*) 9898 if test yes = "$GCC"; then 9899 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' 9900 else 9901 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' 9902 fi 9903 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9904 hardcode_libdir_separator=: 9905 hardcode_direct=yes 9906 9907 # hardcode_minus_L: Not really in the search PATH, 9908 # but as the default location of the library. 9909 hardcode_minus_L=yes 9910 export_dynamic_flag_spec='$wl-E' 9911 ;; 9912 9913 hpux10*) 9914 if test yes,no = "$GCC,$with_gnu_ld"; then 9915 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9916 else 9917 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9918 fi 9919 if test no = "$with_gnu_ld"; then 9920 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9921 hardcode_libdir_separator=: 9922 hardcode_direct=yes 9923 hardcode_direct_absolute=yes 9924 export_dynamic_flag_spec='$wl-E' 9925 # hardcode_minus_L: Not really in the search PATH, 9926 # but as the default location of the library. 9927 hardcode_minus_L=yes 9928 fi 9929 ;; 9930 9931 hpux11*) 9932 if test yes,no = "$GCC,$with_gnu_ld"; then 9933 case $host_cpu in 9934 hppa*64*) 9935 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9936 ;; 9937 ia64*) 9938 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9939 ;; 9940 *) 9941 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9942 ;; 9943 esac 9944 else 9945 case $host_cpu in 9946 hppa*64*) 9947 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9948 ;; 9949 ia64*) 9950 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9951 ;; 9952 *) 9953 9954 # Older versions of the 11.00 compiler do not understand -b yet 9955 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9957$as_echo_n "checking if $CC understands -b... " >&6; } 9958if ${lt_cv_prog_compiler__b+:} false; then : 9959 $as_echo_n "(cached) " >&6 9960else 9961 lt_cv_prog_compiler__b=no 9962 save_LDFLAGS=$LDFLAGS 9963 LDFLAGS="$LDFLAGS -b" 9964 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9965 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9966 # The linker can only warn and ignore the option if not recognized 9967 # So say no if there are warnings 9968 if test -s conftest.err; then 9969 # Append any errors to the config.log. 9970 cat conftest.err 1>&5 9971 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9972 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9973 if diff conftest.exp conftest.er2 >/dev/null; then 9974 lt_cv_prog_compiler__b=yes 9975 fi 9976 else 9977 lt_cv_prog_compiler__b=yes 9978 fi 9979 fi 9980 $RM -r conftest* 9981 LDFLAGS=$save_LDFLAGS 9982 9983fi 9984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9985$as_echo "$lt_cv_prog_compiler__b" >&6; } 9986 9987if test yes = "$lt_cv_prog_compiler__b"; then 9988 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9989else 9990 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9991fi 9992 9993 ;; 9994 esac 9995 fi 9996 if test no = "$with_gnu_ld"; then 9997 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9998 hardcode_libdir_separator=: 9999 10000 case $host_cpu in 10001 hppa*64*|ia64*) 10002 hardcode_direct=no 10003 hardcode_shlibpath_var=no 10004 ;; 10005 *) 10006 hardcode_direct=yes 10007 hardcode_direct_absolute=yes 10008 export_dynamic_flag_spec='$wl-E' 10009 10010 # hardcode_minus_L: Not really in the search PATH, 10011 # but as the default location of the library. 10012 hardcode_minus_L=yes 10013 ;; 10014 esac 10015 fi 10016 ;; 10017 10018 irix5* | irix6* | nonstopux*) 10019 if test yes = "$GCC"; then 10020 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' 10021 # Try to use the -exported_symbol ld option, if it does not 10022 # work, assume that -exports_file does not work either and 10023 # implicitly export all symbols. 10024 # This should be the same for all languages, so no per-tag cache variable. 10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10026$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10027if ${lt_cv_irix_exported_symbol+:} false; then : 10028 $as_echo_n "(cached) " >&6 10029else 10030 save_LDFLAGS=$LDFLAGS 10031 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10033/* end confdefs.h. */ 10034int foo (void) { return 0; } 10035_ACEOF 10036if ac_fn_c_try_link "$LINENO"; then : 10037 lt_cv_irix_exported_symbol=yes 10038else 10039 lt_cv_irix_exported_symbol=no 10040fi 10041rm -f core conftest.err conftest.$ac_objext \ 10042 conftest$ac_exeext conftest.$ac_ext 10043 LDFLAGS=$save_LDFLAGS 10044fi 10045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10046$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10047 if test yes = "$lt_cv_irix_exported_symbol"; then 10048 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' 10049 fi 10050 link_all_deplibs=no 10051 else 10052 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' 10053 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' 10054 fi 10055 archive_cmds_need_lc='no' 10056 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10057 hardcode_libdir_separator=: 10058 inherit_rpath=yes 10059 link_all_deplibs=yes 10060 ;; 10061 10062 linux*) 10063 case $cc_basename in 10064 tcc*) 10065 # Fabrice Bellard et al's Tiny C Compiler 10066 ld_shlibs=yes 10067 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10068 ;; 10069 esac 10070 ;; 10071 10072 netbsd* | netbsdelf*-gnu) 10073 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10074 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10075 else 10076 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10077 fi 10078 hardcode_libdir_flag_spec='-R$libdir' 10079 hardcode_direct=yes 10080 hardcode_shlibpath_var=no 10081 ;; 10082 10083 newsos6) 10084 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10085 hardcode_direct=yes 10086 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10087 hardcode_libdir_separator=: 10088 hardcode_shlibpath_var=no 10089 ;; 10090 10091 *nto* | *qnx*) 10092 ;; 10093 10094 openbsd* | bitrig*) 10095 if test -f /usr/libexec/ld.so; then 10096 hardcode_direct=yes 10097 hardcode_shlibpath_var=no 10098 hardcode_direct_absolute=yes 10099 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10100 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10101 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10102 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10103 export_dynamic_flag_spec='$wl-E' 10104 else 10105 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10106 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10107 fi 10108 else 10109 ld_shlibs=no 10110 fi 10111 ;; 10112 10113 os2*) 10114 hardcode_libdir_flag_spec='-L$libdir' 10115 hardcode_minus_L=yes 10116 allow_undefined_flag=unsupported 10117 shrext_cmds=.dll 10118 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10119 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10120 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10121 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10122 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10123 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10124 emximp -o $lib $output_objdir/$libname.def' 10125 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10126 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10127 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10128 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10129 prefix_cmds="$SED"~ 10130 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10131 prefix_cmds="$prefix_cmds -e 1d"; 10132 fi~ 10133 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10134 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10135 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10136 emximp -o $lib $output_objdir/$libname.def' 10137 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10138 enable_shared_with_static_runtimes=yes 10139 ;; 10140 10141 osf3*) 10142 if test yes = "$GCC"; then 10143 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10144 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' 10145 else 10146 allow_undefined_flag=' -expect_unresolved \*' 10147 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' 10148 fi 10149 archive_cmds_need_lc='no' 10150 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10151 hardcode_libdir_separator=: 10152 ;; 10153 10154 osf4* | osf5*) # as osf3* with the addition of -msym flag 10155 if test yes = "$GCC"; then 10156 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10157 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' 10158 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10159 else 10160 allow_undefined_flag=' -expect_unresolved \*' 10161 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' 10162 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~ 10163 $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' 10164 10165 # Both c and cxx compiler support -rpath directly 10166 hardcode_libdir_flag_spec='-rpath $libdir' 10167 fi 10168 archive_cmds_need_lc='no' 10169 hardcode_libdir_separator=: 10170 ;; 10171 10172 solaris*) 10173 no_undefined_flag=' -z defs' 10174 if test yes = "$GCC"; then 10175 wlarc='$wl' 10176 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10177 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10178 $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' 10179 else 10180 case `$CC -V 2>&1` in 10181 *"Compilers 5.0"*) 10182 wlarc='' 10183 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10184 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10185 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10186 ;; 10187 *) 10188 wlarc='$wl' 10189 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10190 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10191 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10192 ;; 10193 esac 10194 fi 10195 hardcode_libdir_flag_spec='-R$libdir' 10196 hardcode_shlibpath_var=no 10197 case $host_os in 10198 solaris2.[0-5] | solaris2.[0-5].*) ;; 10199 *) 10200 # The compiler driver will combine and reorder linker options, 10201 # but understands '-z linker_flag'. GCC discards it without '$wl', 10202 # but is careful enough not to reorder. 10203 # Supported since Solaris 2.6 (maybe 2.5.1?) 10204 if test yes = "$GCC"; then 10205 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10206 else 10207 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10208 fi 10209 ;; 10210 esac 10211 link_all_deplibs=yes 10212 ;; 10213 10214 sunos4*) 10215 if test sequent = "$host_vendor"; then 10216 # Use $CC to link under sequent, because it throws in some extra .o 10217 # files that make .init and .fini sections work. 10218 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10219 else 10220 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10221 fi 10222 hardcode_libdir_flag_spec='-L$libdir' 10223 hardcode_direct=yes 10224 hardcode_minus_L=yes 10225 hardcode_shlibpath_var=no 10226 ;; 10227 10228 sysv4) 10229 case $host_vendor in 10230 sni) 10231 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10232 hardcode_direct=yes # is this really true??? 10233 ;; 10234 siemens) 10235 ## LD is ld it makes a PLAMLIB 10236 ## CC just makes a GrossModule. 10237 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10238 reload_cmds='$CC -r -o $output$reload_objs' 10239 hardcode_direct=no 10240 ;; 10241 motorola) 10242 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10243 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10244 ;; 10245 esac 10246 runpath_var='LD_RUN_PATH' 10247 hardcode_shlibpath_var=no 10248 ;; 10249 10250 sysv4.3*) 10251 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10252 hardcode_shlibpath_var=no 10253 export_dynamic_flag_spec='-Bexport' 10254 ;; 10255 10256 sysv4*MP*) 10257 if test -d /usr/nec; then 10258 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10259 hardcode_shlibpath_var=no 10260 runpath_var=LD_RUN_PATH 10261 hardcode_runpath_var=yes 10262 ld_shlibs=yes 10263 fi 10264 ;; 10265 10266 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10267 no_undefined_flag='$wl-z,text' 10268 archive_cmds_need_lc=no 10269 hardcode_shlibpath_var=no 10270 runpath_var='LD_RUN_PATH' 10271 10272 if test yes = "$GCC"; then 10273 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10274 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10275 else 10276 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10277 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10278 fi 10279 ;; 10280 10281 sysv5* | sco3.2v5* | sco5v6*) 10282 # Note: We CANNOT use -z defs as we might desire, because we do not 10283 # link with -lc, and that would cause any symbols used from libc to 10284 # always be unresolved, which means just about no library would 10285 # ever link correctly. If we're not using GNU ld we use -z text 10286 # though, which does catch some bad symbols but isn't as heavy-handed 10287 # as -z defs. 10288 no_undefined_flag='$wl-z,text' 10289 allow_undefined_flag='$wl-z,nodefs' 10290 archive_cmds_need_lc=no 10291 hardcode_shlibpath_var=no 10292 hardcode_libdir_flag_spec='$wl-R,$libdir' 10293 hardcode_libdir_separator=':' 10294 link_all_deplibs=yes 10295 export_dynamic_flag_spec='$wl-Bexport' 10296 runpath_var='LD_RUN_PATH' 10297 10298 if test yes = "$GCC"; then 10299 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10300 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10301 else 10302 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10303 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10304 fi 10305 ;; 10306 10307 uts4*) 10308 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10309 hardcode_libdir_flag_spec='-L$libdir' 10310 hardcode_shlibpath_var=no 10311 ;; 10312 10313 *) 10314 ld_shlibs=no 10315 ;; 10316 esac 10317 10318 if test sni = "$host_vendor"; then 10319 case $host in 10320 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10321 export_dynamic_flag_spec='$wl-Blargedynsym' 10322 ;; 10323 esac 10324 fi 10325 fi 10326 10327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10328$as_echo "$ld_shlibs" >&6; } 10329test no = "$ld_shlibs" && can_build_shared=no 10330 10331with_gnu_ld=$with_gnu_ld 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347# 10348# Do we need to explicitly link libc? 10349# 10350case "x$archive_cmds_need_lc" in 10351x|xyes) 10352 # Assume -lc should be added 10353 archive_cmds_need_lc=yes 10354 10355 if test yes,yes = "$GCC,$enable_shared"; then 10356 case $archive_cmds in 10357 *'~'*) 10358 # FIXME: we may have to deal with multi-command sequences. 10359 ;; 10360 '$CC '*) 10361 # Test whether the compiler implicitly links with -lc since on some 10362 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10363 # to ld, don't add -lc before -lgcc. 10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10365$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10366if ${lt_cv_archive_cmds_need_lc+:} false; then : 10367 $as_echo_n "(cached) " >&6 10368else 10369 $RM conftest* 10370 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10371 10372 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10373 (eval $ac_compile) 2>&5 10374 ac_status=$? 10375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10376 test $ac_status = 0; } 2>conftest.err; then 10377 soname=conftest 10378 lib=conftest 10379 libobjs=conftest.$ac_objext 10380 deplibs= 10381 wl=$lt_prog_compiler_wl 10382 pic_flag=$lt_prog_compiler_pic 10383 compiler_flags=-v 10384 linker_flags=-v 10385 verstring= 10386 output_objdir=. 10387 libname=conftest 10388 lt_save_allow_undefined_flag=$allow_undefined_flag 10389 allow_undefined_flag= 10390 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10391 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10392 ac_status=$? 10393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10394 test $ac_status = 0; } 10395 then 10396 lt_cv_archive_cmds_need_lc=no 10397 else 10398 lt_cv_archive_cmds_need_lc=yes 10399 fi 10400 allow_undefined_flag=$lt_save_allow_undefined_flag 10401 else 10402 cat conftest.err 1>&5 10403 fi 10404 $RM conftest* 10405 10406fi 10407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10408$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10409 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10410 ;; 10411 esac 10412 fi 10413 ;; 10414esac 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10568$as_echo_n "checking dynamic linker characteristics... " >&6; } 10569 10570if test yes = "$GCC"; then 10571 case $host_os in 10572 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10573 *) lt_awk_arg='/^libraries:/' ;; 10574 esac 10575 case $host_os in 10576 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10577 *) lt_sed_strip_eq='s|=/|/|g' ;; 10578 esac 10579 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10580 case $lt_search_path_spec in 10581 *\;*) 10582 # if the path contains ";" then we assume it to be the separator 10583 # otherwise default to the standard path separator (i.e. ":") - it is 10584 # assumed that no part of a normal pathname contains ";" but that should 10585 # okay in the real world where ";" in dirpaths is itself problematic. 10586 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10587 ;; 10588 *) 10589 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10590 ;; 10591 esac 10592 # Ok, now we have the path, separated by spaces, we can step through it 10593 # and add multilib dir if necessary... 10594 lt_tmp_lt_search_path_spec= 10595 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10596 # ...but if some path component already ends with the multilib dir we assume 10597 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10598 case "$lt_multi_os_dir; $lt_search_path_spec " in 10599 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10600 lt_multi_os_dir= 10601 ;; 10602 esac 10603 for lt_sys_path in $lt_search_path_spec; do 10604 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10605 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10606 elif test -n "$lt_multi_os_dir"; then 10607 test -d "$lt_sys_path" && \ 10608 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10609 fi 10610 done 10611 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10612BEGIN {RS = " "; FS = "/|\n";} { 10613 lt_foo = ""; 10614 lt_count = 0; 10615 for (lt_i = NF; lt_i > 0; lt_i--) { 10616 if ($lt_i != "" && $lt_i != ".") { 10617 if ($lt_i == "..") { 10618 lt_count++; 10619 } else { 10620 if (lt_count == 0) { 10621 lt_foo = "/" $lt_i lt_foo; 10622 } else { 10623 lt_count--; 10624 } 10625 } 10626 } 10627 } 10628 if (lt_foo != "") { lt_freq[lt_foo]++; } 10629 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10630}'` 10631 # AWK program above erroneously prepends '/' to C:/dos/paths 10632 # for these hosts. 10633 case $host_os in 10634 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10635 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10636 esac 10637 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10638else 10639 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10640fi 10641library_names_spec= 10642libname_spec='lib$name' 10643soname_spec= 10644shrext_cmds=.so 10645postinstall_cmds= 10646postuninstall_cmds= 10647finish_cmds= 10648finish_eval= 10649shlibpath_var= 10650shlibpath_overrides_runpath=unknown 10651version_type=none 10652dynamic_linker="$host_os ld.so" 10653sys_lib_dlsearch_path_spec="/lib /usr/lib" 10654need_lib_prefix=unknown 10655hardcode_into_libs=no 10656 10657# when you set need_version to no, make sure it does not cause -set_version 10658# flags to be left without arguments 10659need_version=unknown 10660 10661 10662 10663case $host_os in 10664aix3*) 10665 version_type=linux # correct to gnu/linux during the next big refactor 10666 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10667 shlibpath_var=LIBPATH 10668 10669 # AIX 3 has no versioning support, so we append a major version to the name. 10670 soname_spec='$libname$release$shared_ext$major' 10671 ;; 10672 10673aix[4-9]*) 10674 version_type=linux # correct to gnu/linux during the next big refactor 10675 need_lib_prefix=no 10676 need_version=no 10677 hardcode_into_libs=yes 10678 if test ia64 = "$host_cpu"; then 10679 # AIX 5 supports IA64 10680 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10681 shlibpath_var=LD_LIBRARY_PATH 10682 else 10683 # With GCC up to 2.95.x, collect2 would create an import file 10684 # for dependence libraries. The import file would start with 10685 # the line '#! .'. This would cause the generated library to 10686 # depend on '.', always an invalid library. This was fixed in 10687 # development snapshots of GCC prior to 3.0. 10688 case $host_os in 10689 aix4 | aix4.[01] | aix4.[01].*) 10690 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10691 echo ' yes ' 10692 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10693 : 10694 else 10695 can_build_shared=no 10696 fi 10697 ;; 10698 esac 10699 # Using Import Files as archive members, it is possible to support 10700 # filename-based versioning of shared library archives on AIX. While 10701 # this would work for both with and without runtime linking, it will 10702 # prevent static linking of such archives. So we do filename-based 10703 # shared library versioning with .so extension only, which is used 10704 # when both runtime linking and shared linking is enabled. 10705 # Unfortunately, runtime linking may impact performance, so we do 10706 # not want this to be the default eventually. Also, we use the 10707 # versioned .so libs for executables only if there is the -brtl 10708 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10709 # To allow for filename-based versioning support, we need to create 10710 # libNAME.so.V as an archive file, containing: 10711 # *) an Import File, referring to the versioned filename of the 10712 # archive as well as the shared archive member, telling the 10713 # bitwidth (32 or 64) of that shared object, and providing the 10714 # list of exported symbols of that shared object, eventually 10715 # decorated with the 'weak' keyword 10716 # *) the shared object with the F_LOADONLY flag set, to really avoid 10717 # it being seen by the linker. 10718 # At run time we better use the real file rather than another symlink, 10719 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10720 10721 case $with_aix_soname,$aix_use_runtimelinking in 10722 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10723 # soname into executable. Probably we can add versioning support to 10724 # collect2, so additional links can be useful in future. 10725 aix,yes) # traditional libtool 10726 dynamic_linker='AIX unversionable lib.so' 10727 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10728 # instead of lib<name>.a to let people know that these are not 10729 # typical AIX shared libraries. 10730 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10731 ;; 10732 aix,no) # traditional AIX only 10733 dynamic_linker='AIX lib.a(lib.so.V)' 10734 # We preserve .a as extension for shared libraries through AIX4.2 10735 # and later when we are not doing run time linking. 10736 library_names_spec='$libname$release.a $libname.a' 10737 soname_spec='$libname$release$shared_ext$major' 10738 ;; 10739 svr4,*) # full svr4 only 10740 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10741 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10742 # We do not specify a path in Import Files, so LIBPATH fires. 10743 shlibpath_overrides_runpath=yes 10744 ;; 10745 *,yes) # both, prefer svr4 10746 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10747 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10748 # unpreferred sharedlib libNAME.a needs extra handling 10749 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"' 10750 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"' 10751 # We do not specify a path in Import Files, so LIBPATH fires. 10752 shlibpath_overrides_runpath=yes 10753 ;; 10754 *,no) # both, prefer aix 10755 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10756 library_names_spec='$libname$release.a $libname.a' 10757 soname_spec='$libname$release$shared_ext$major' 10758 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10759 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)' 10760 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"' 10761 ;; 10762 esac 10763 shlibpath_var=LIBPATH 10764 fi 10765 ;; 10766 10767amigaos*) 10768 case $host_cpu in 10769 powerpc) 10770 # Since July 2007 AmigaOS4 officially supports .so libraries. 10771 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10772 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10773 ;; 10774 m68k) 10775 library_names_spec='$libname.ixlibrary $libname.a' 10776 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10777 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' 10778 ;; 10779 esac 10780 ;; 10781 10782beos*) 10783 library_names_spec='$libname$shared_ext' 10784 dynamic_linker="$host_os ld.so" 10785 shlibpath_var=LIBRARY_PATH 10786 ;; 10787 10788bsdi[45]*) 10789 version_type=linux # correct to gnu/linux during the next big refactor 10790 need_version=no 10791 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10792 soname_spec='$libname$release$shared_ext$major' 10793 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10794 shlibpath_var=LD_LIBRARY_PATH 10795 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10796 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10797 # the default ld.so.conf also contains /usr/contrib/lib and 10798 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10799 # libtool to hard-code these into programs 10800 ;; 10801 10802cygwin* | mingw* | pw32* | cegcc*) 10803 version_type=windows 10804 shrext_cmds=.dll 10805 need_version=no 10806 need_lib_prefix=no 10807 10808 case $GCC,$cc_basename in 10809 yes,*) 10810 # gcc 10811 library_names_spec='$libname.dll.a' 10812 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10813 postinstall_cmds='base_file=`basename \$file`~ 10814 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10815 dldir=$destdir/`dirname \$dlpath`~ 10816 test -d \$dldir || mkdir -p \$dldir~ 10817 $install_prog $dir/$dlname \$dldir/$dlname~ 10818 chmod a+x \$dldir/$dlname~ 10819 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10820 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10821 fi' 10822 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10823 dlpath=$dir/\$dldll~ 10824 $RM \$dlpath' 10825 shlibpath_overrides_runpath=yes 10826 10827 case $host_os in 10828 cygwin*) 10829 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10830 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10831 10832 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10833 ;; 10834 mingw* | cegcc*) 10835 # MinGW DLLs use traditional 'lib' prefix 10836 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10837 ;; 10838 pw32*) 10839 # pw32 DLLs use 'pw' prefix rather than 'lib' 10840 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10841 ;; 10842 esac 10843 dynamic_linker='Win32 ld.exe' 10844 ;; 10845 10846 *,cl*) 10847 # Native MSVC 10848 libname_spec='$name' 10849 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10850 library_names_spec='$libname.dll.lib' 10851 10852 case $build_os in 10853 mingw*) 10854 sys_lib_search_path_spec= 10855 lt_save_ifs=$IFS 10856 IFS=';' 10857 for lt_path in $LIB 10858 do 10859 IFS=$lt_save_ifs 10860 # Let DOS variable expansion print the short 8.3 style file name. 10861 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10862 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10863 done 10864 IFS=$lt_save_ifs 10865 # Convert to MSYS style. 10866 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10867 ;; 10868 cygwin*) 10869 # Convert to unix form, then to dos form, then back to unix form 10870 # but this time dos style (no spaces!) so that the unix form looks 10871 # like /cygdrive/c/PROGRA~1:/cygdr... 10872 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10873 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10874 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10875 ;; 10876 *) 10877 sys_lib_search_path_spec=$LIB 10878 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10879 # It is most probably a Windows format PATH. 10880 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10881 else 10882 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10883 fi 10884 # FIXME: find the short name or the path components, as spaces are 10885 # common. (e.g. "Program Files" -> "PROGRA~1") 10886 ;; 10887 esac 10888 10889 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10890 postinstall_cmds='base_file=`basename \$file`~ 10891 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10892 dldir=$destdir/`dirname \$dlpath`~ 10893 test -d \$dldir || mkdir -p \$dldir~ 10894 $install_prog $dir/$dlname \$dldir/$dlname' 10895 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10896 dlpath=$dir/\$dldll~ 10897 $RM \$dlpath' 10898 shlibpath_overrides_runpath=yes 10899 dynamic_linker='Win32 link.exe' 10900 ;; 10901 10902 *) 10903 # Assume MSVC wrapper 10904 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 10905 dynamic_linker='Win32 ld.exe' 10906 ;; 10907 esac 10908 # FIXME: first we should search . and the directory the executable is in 10909 shlibpath_var=PATH 10910 ;; 10911 10912darwin* | rhapsody*) 10913 dynamic_linker="$host_os dyld" 10914 version_type=darwin 10915 need_lib_prefix=no 10916 need_version=no 10917 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 10918 soname_spec='$libname$release$major$shared_ext' 10919 shlibpath_overrides_runpath=yes 10920 shlibpath_var=DYLD_LIBRARY_PATH 10921 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10922 10923 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10924 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10925 ;; 10926 10927dgux*) 10928 version_type=linux # correct to gnu/linux during the next big refactor 10929 need_lib_prefix=no 10930 need_version=no 10931 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10932 soname_spec='$libname$release$shared_ext$major' 10933 shlibpath_var=LD_LIBRARY_PATH 10934 ;; 10935 10936freebsd* | dragonfly*) 10937 # DragonFly does not have aout. When/if they implement a new 10938 # versioning mechanism, adjust this. 10939 if test -x /usr/bin/objformat; then 10940 objformat=`/usr/bin/objformat` 10941 else 10942 case $host_os in 10943 freebsd[23].*) objformat=aout ;; 10944 *) objformat=elf ;; 10945 esac 10946 fi 10947 version_type=freebsd-$objformat 10948 case $version_type in 10949 freebsd-elf*) 10950 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10951 soname_spec='$libname$release$shared_ext$major' 10952 need_version=no 10953 need_lib_prefix=no 10954 ;; 10955 freebsd-*) 10956 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10957 need_version=yes 10958 ;; 10959 esac 10960 shlibpath_var=LD_LIBRARY_PATH 10961 case $host_os in 10962 freebsd2.*) 10963 shlibpath_overrides_runpath=yes 10964 ;; 10965 freebsd3.[01]* | freebsdelf3.[01]*) 10966 shlibpath_overrides_runpath=yes 10967 hardcode_into_libs=yes 10968 ;; 10969 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10970 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10971 shlibpath_overrides_runpath=no 10972 hardcode_into_libs=yes 10973 ;; 10974 *) # from 4.6 on, and DragonFly 10975 shlibpath_overrides_runpath=yes 10976 hardcode_into_libs=yes 10977 ;; 10978 esac 10979 ;; 10980 10981haiku*) 10982 version_type=linux # correct to gnu/linux during the next big refactor 10983 need_lib_prefix=no 10984 need_version=no 10985 dynamic_linker="$host_os runtime_loader" 10986 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10987 soname_spec='$libname$release$shared_ext$major' 10988 shlibpath_var=LIBRARY_PATH 10989 shlibpath_overrides_runpath=no 10990 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10991 hardcode_into_libs=yes 10992 ;; 10993 10994hpux9* | hpux10* | hpux11*) 10995 # Give a soname corresponding to the major version so that dld.sl refuses to 10996 # link against other versions. 10997 version_type=sunos 10998 need_lib_prefix=no 10999 need_version=no 11000 case $host_cpu in 11001 ia64*) 11002 shrext_cmds='.so' 11003 hardcode_into_libs=yes 11004 dynamic_linker="$host_os dld.so" 11005 shlibpath_var=LD_LIBRARY_PATH 11006 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11007 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11008 soname_spec='$libname$release$shared_ext$major' 11009 if test 32 = "$HPUX_IA64_MODE"; then 11010 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11011 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11012 else 11013 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11014 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11015 fi 11016 ;; 11017 hppa*64*) 11018 shrext_cmds='.sl' 11019 hardcode_into_libs=yes 11020 dynamic_linker="$host_os dld.sl" 11021 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11022 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11023 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11024 soname_spec='$libname$release$shared_ext$major' 11025 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11026 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11027 ;; 11028 *) 11029 shrext_cmds='.sl' 11030 dynamic_linker="$host_os dld.sl" 11031 shlibpath_var=SHLIB_PATH 11032 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11033 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11034 soname_spec='$libname$release$shared_ext$major' 11035 ;; 11036 esac 11037 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11038 postinstall_cmds='chmod 555 $lib' 11039 # or fails outright, so override atomically: 11040 install_override_mode=555 11041 ;; 11042 11043interix[3-9]*) 11044 version_type=linux # correct to gnu/linux during the next big refactor 11045 need_lib_prefix=no 11046 need_version=no 11047 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11048 soname_spec='$libname$release$shared_ext$major' 11049 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11050 shlibpath_var=LD_LIBRARY_PATH 11051 shlibpath_overrides_runpath=no 11052 hardcode_into_libs=yes 11053 ;; 11054 11055irix5* | irix6* | nonstopux*) 11056 case $host_os in 11057 nonstopux*) version_type=nonstopux ;; 11058 *) 11059 if test yes = "$lt_cv_prog_gnu_ld"; then 11060 version_type=linux # correct to gnu/linux during the next big refactor 11061 else 11062 version_type=irix 11063 fi ;; 11064 esac 11065 need_lib_prefix=no 11066 need_version=no 11067 soname_spec='$libname$release$shared_ext$major' 11068 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11069 case $host_os in 11070 irix5* | nonstopux*) 11071 libsuff= shlibsuff= 11072 ;; 11073 *) 11074 case $LD in # libtool.m4 will add one of these switches to LD 11075 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11076 libsuff= shlibsuff= libmagic=32-bit;; 11077 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11078 libsuff=32 shlibsuff=N32 libmagic=N32;; 11079 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11080 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11081 *) libsuff= shlibsuff= libmagic=never-match;; 11082 esac 11083 ;; 11084 esac 11085 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11086 shlibpath_overrides_runpath=no 11087 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11088 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11089 hardcode_into_libs=yes 11090 ;; 11091 11092# No shared lib support for Linux oldld, aout, or coff. 11093linux*oldld* | linux*aout* | linux*coff*) 11094 dynamic_linker=no 11095 ;; 11096 11097linux*android*) 11098 version_type=none # Android doesn't support versioned libraries. 11099 need_lib_prefix=no 11100 need_version=no 11101 library_names_spec='$libname$release$shared_ext' 11102 soname_spec='$libname$release$shared_ext' 11103 finish_cmds= 11104 shlibpath_var=LD_LIBRARY_PATH 11105 shlibpath_overrides_runpath=yes 11106 11107 # This implies no fast_install, which is unacceptable. 11108 # Some rework will be needed to allow for fast_install 11109 # before this can be enabled. 11110 hardcode_into_libs=yes 11111 11112 dynamic_linker='Android linker' 11113 # Don't embed -rpath directories since the linker doesn't support them. 11114 hardcode_libdir_flag_spec='-L$libdir' 11115 ;; 11116 11117# This must be glibc/ELF. 11118linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11119 version_type=linux # correct to gnu/linux during the next big refactor 11120 need_lib_prefix=no 11121 need_version=no 11122 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11123 soname_spec='$libname$release$shared_ext$major' 11124 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11125 shlibpath_var=LD_LIBRARY_PATH 11126 shlibpath_overrides_runpath=no 11127 11128 # Some binutils ld are patched to set DT_RUNPATH 11129 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11130 $as_echo_n "(cached) " >&6 11131else 11132 lt_cv_shlibpath_overrides_runpath=no 11133 save_LDFLAGS=$LDFLAGS 11134 save_libdir=$libdir 11135 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11136 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11138/* end confdefs.h. */ 11139 11140int 11141main () 11142{ 11143 11144 ; 11145 return 0; 11146} 11147_ACEOF 11148if ac_fn_c_try_link "$LINENO"; then : 11149 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11150 lt_cv_shlibpath_overrides_runpath=yes 11151fi 11152fi 11153rm -f core conftest.err conftest.$ac_objext \ 11154 conftest$ac_exeext conftest.$ac_ext 11155 LDFLAGS=$save_LDFLAGS 11156 libdir=$save_libdir 11157 11158fi 11159 11160 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11161 11162 # This implies no fast_install, which is unacceptable. 11163 # Some rework will be needed to allow for fast_install 11164 # before this can be enabled. 11165 hardcode_into_libs=yes 11166 11167 # Ideally, we could use ldconfig to report *all* directores which are 11168 # searched for libraries, however this is still not possible. Aside from not 11169 # being certain /sbin/ldconfig is available, command 11170 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11171 # even though it is searched at run-time. Try to do the best guess by 11172 # appending ld.so.conf contents (and includes) to the search path. 11173 if test -f /etc/ld.so.conf; then 11174 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' ' '` 11175 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11176 fi 11177 11178 # We used to test for /lib/ld.so.1 and disable shared libraries on 11179 # powerpc, because MkLinux only supported shared libraries with the 11180 # GNU dynamic linker. Since this was broken with cross compilers, 11181 # most powerpc-linux boxes support dynamic linking these days and 11182 # people can always --disable-shared, the test was removed, and we 11183 # assume the GNU/Linux dynamic linker is in use. 11184 dynamic_linker='GNU/Linux ld.so' 11185 ;; 11186 11187netbsdelf*-gnu) 11188 version_type=linux 11189 need_lib_prefix=no 11190 need_version=no 11191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11192 soname_spec='${libname}${release}${shared_ext}$major' 11193 shlibpath_var=LD_LIBRARY_PATH 11194 shlibpath_overrides_runpath=no 11195 hardcode_into_libs=yes 11196 dynamic_linker='NetBSD ld.elf_so' 11197 ;; 11198 11199netbsd*) 11200 version_type=sunos 11201 need_lib_prefix=no 11202 need_version=no 11203 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11204 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11205 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11206 dynamic_linker='NetBSD (a.out) ld.so' 11207 else 11208 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11209 soname_spec='$libname$release$shared_ext$major' 11210 dynamic_linker='NetBSD ld.elf_so' 11211 fi 11212 shlibpath_var=LD_LIBRARY_PATH 11213 shlibpath_overrides_runpath=yes 11214 hardcode_into_libs=yes 11215 ;; 11216 11217newsos6) 11218 version_type=linux # correct to gnu/linux during the next big refactor 11219 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11220 shlibpath_var=LD_LIBRARY_PATH 11221 shlibpath_overrides_runpath=yes 11222 ;; 11223 11224*nto* | *qnx*) 11225 version_type=qnx 11226 need_lib_prefix=no 11227 need_version=no 11228 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11229 soname_spec='$libname$release$shared_ext$major' 11230 shlibpath_var=LD_LIBRARY_PATH 11231 shlibpath_overrides_runpath=no 11232 hardcode_into_libs=yes 11233 dynamic_linker='ldqnx.so' 11234 ;; 11235 11236openbsd* | bitrig*) 11237 version_type=sunos 11238 sys_lib_dlsearch_path_spec=/usr/lib 11239 need_lib_prefix=no 11240 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11241 need_version=no 11242 else 11243 need_version=yes 11244 fi 11245 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11246 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11247 shlibpath_var=LD_LIBRARY_PATH 11248 shlibpath_overrides_runpath=yes 11249 ;; 11250 11251os2*) 11252 libname_spec='$name' 11253 version_type=windows 11254 shrext_cmds=.dll 11255 need_version=no 11256 need_lib_prefix=no 11257 # OS/2 can only load a DLL with a base name of 8 characters or less. 11258 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11259 v=$($ECHO $release$versuffix | tr -d .-); 11260 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11261 $ECHO $n$v`$shared_ext' 11262 library_names_spec='${libname}_dll.$libext' 11263 dynamic_linker='OS/2 ld.exe' 11264 shlibpath_var=BEGINLIBPATH 11265 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11266 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11267 postinstall_cmds='base_file=`basename \$file`~ 11268 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11269 dldir=$destdir/`dirname \$dlpath`~ 11270 test -d \$dldir || mkdir -p \$dldir~ 11271 $install_prog $dir/$dlname \$dldir/$dlname~ 11272 chmod a+x \$dldir/$dlname~ 11273 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11274 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11275 fi' 11276 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11277 dlpath=$dir/\$dldll~ 11278 $RM \$dlpath' 11279 ;; 11280 11281osf3* | osf4* | osf5*) 11282 version_type=osf 11283 need_lib_prefix=no 11284 need_version=no 11285 soname_spec='$libname$release$shared_ext$major' 11286 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11287 shlibpath_var=LD_LIBRARY_PATH 11288 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11289 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11290 ;; 11291 11292rdos*) 11293 dynamic_linker=no 11294 ;; 11295 11296solaris*) 11297 version_type=linux # correct to gnu/linux during the next big refactor 11298 need_lib_prefix=no 11299 need_version=no 11300 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11301 soname_spec='$libname$release$shared_ext$major' 11302 shlibpath_var=LD_LIBRARY_PATH 11303 shlibpath_overrides_runpath=yes 11304 hardcode_into_libs=yes 11305 # ldd complains unless libraries are executable 11306 postinstall_cmds='chmod +x $lib' 11307 ;; 11308 11309sunos4*) 11310 version_type=sunos 11311 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11312 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11313 shlibpath_var=LD_LIBRARY_PATH 11314 shlibpath_overrides_runpath=yes 11315 if test yes = "$with_gnu_ld"; then 11316 need_lib_prefix=no 11317 fi 11318 need_version=yes 11319 ;; 11320 11321sysv4 | sysv4.3*) 11322 version_type=linux # correct to gnu/linux during the next big refactor 11323 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11324 soname_spec='$libname$release$shared_ext$major' 11325 shlibpath_var=LD_LIBRARY_PATH 11326 case $host_vendor in 11327 sni) 11328 shlibpath_overrides_runpath=no 11329 need_lib_prefix=no 11330 runpath_var=LD_RUN_PATH 11331 ;; 11332 siemens) 11333 need_lib_prefix=no 11334 ;; 11335 motorola) 11336 need_lib_prefix=no 11337 need_version=no 11338 shlibpath_overrides_runpath=no 11339 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11340 ;; 11341 esac 11342 ;; 11343 11344sysv4*MP*) 11345 if test -d /usr/nec; then 11346 version_type=linux # correct to gnu/linux during the next big refactor 11347 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11348 soname_spec='$libname$shared_ext.$major' 11349 shlibpath_var=LD_LIBRARY_PATH 11350 fi 11351 ;; 11352 11353sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11354 version_type=sco 11355 need_lib_prefix=no 11356 need_version=no 11357 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11358 soname_spec='$libname$release$shared_ext$major' 11359 shlibpath_var=LD_LIBRARY_PATH 11360 shlibpath_overrides_runpath=yes 11361 hardcode_into_libs=yes 11362 if test yes = "$with_gnu_ld"; then 11363 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11364 else 11365 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11366 case $host_os in 11367 sco3.2v5*) 11368 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11369 ;; 11370 esac 11371 fi 11372 sys_lib_dlsearch_path_spec='/usr/lib' 11373 ;; 11374 11375tpf*) 11376 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11377 version_type=linux # correct to gnu/linux during the next big refactor 11378 need_lib_prefix=no 11379 need_version=no 11380 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11381 shlibpath_var=LD_LIBRARY_PATH 11382 shlibpath_overrides_runpath=no 11383 hardcode_into_libs=yes 11384 ;; 11385 11386uts4*) 11387 version_type=linux # correct to gnu/linux during the next big refactor 11388 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11389 soname_spec='$libname$release$shared_ext$major' 11390 shlibpath_var=LD_LIBRARY_PATH 11391 ;; 11392 11393*) 11394 dynamic_linker=no 11395 ;; 11396esac 11397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11398$as_echo "$dynamic_linker" >&6; } 11399test no = "$dynamic_linker" && can_build_shared=no 11400 11401variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11402if test yes = "$GCC"; then 11403 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11404fi 11405 11406if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11407 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11408fi 11409 11410if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11411 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11412fi 11413 11414# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11415configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11416 11417# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11418func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11419 11420# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11421configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11520$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11521hardcode_action= 11522if test -n "$hardcode_libdir_flag_spec" || 11523 test -n "$runpath_var" || 11524 test yes = "$hardcode_automatic"; then 11525 11526 # We can hardcode non-existent directories. 11527 if test no != "$hardcode_direct" && 11528 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11529 # have to relink, otherwise we might link with an installed library 11530 # when we should be linking with a yet-to-be-installed one 11531 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11532 test no != "$hardcode_minus_L"; then 11533 # Linking always hardcodes the temporary library directory. 11534 hardcode_action=relink 11535 else 11536 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11537 hardcode_action=immediate 11538 fi 11539else 11540 # We cannot hardcode anything, or else we can only hardcode existing 11541 # directories. 11542 hardcode_action=unsupported 11543fi 11544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11545$as_echo "$hardcode_action" >&6; } 11546 11547if test relink = "$hardcode_action" || 11548 test yes = "$inherit_rpath"; then 11549 # Fast installation is not supported 11550 enable_fast_install=no 11551elif test yes = "$shlibpath_overrides_runpath" || 11552 test no = "$enable_shared"; then 11553 # Fast installation is not necessary 11554 enable_fast_install=needless 11555fi 11556 11557 11558 11559 11560 11561 11562 if test yes != "$enable_dlopen"; then 11563 enable_dlopen=unknown 11564 enable_dlopen_self=unknown 11565 enable_dlopen_self_static=unknown 11566else 11567 lt_cv_dlopen=no 11568 lt_cv_dlopen_libs= 11569 11570 case $host_os in 11571 beos*) 11572 lt_cv_dlopen=load_add_on 11573 lt_cv_dlopen_libs= 11574 lt_cv_dlopen_self=yes 11575 ;; 11576 11577 mingw* | pw32* | cegcc*) 11578 lt_cv_dlopen=LoadLibrary 11579 lt_cv_dlopen_libs= 11580 ;; 11581 11582 cygwin*) 11583 lt_cv_dlopen=dlopen 11584 lt_cv_dlopen_libs= 11585 ;; 11586 11587 darwin*) 11588 # if libdl is installed we need to link against it 11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11590$as_echo_n "checking for dlopen in -ldl... " >&6; } 11591if ${ac_cv_lib_dl_dlopen+:} false; then : 11592 $as_echo_n "(cached) " >&6 11593else 11594 ac_check_lib_save_LIBS=$LIBS 11595LIBS="-ldl $LIBS" 11596cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11597/* end confdefs.h. */ 11598 11599/* Override any GCC internal prototype to avoid an error. 11600 Use char because int might match the return type of a GCC 11601 builtin and then its argument prototype would still apply. */ 11602#ifdef __cplusplus 11603extern "C" 11604#endif 11605char dlopen (); 11606int 11607main () 11608{ 11609return dlopen (); 11610 ; 11611 return 0; 11612} 11613_ACEOF 11614if ac_fn_c_try_link "$LINENO"; then : 11615 ac_cv_lib_dl_dlopen=yes 11616else 11617 ac_cv_lib_dl_dlopen=no 11618fi 11619rm -f core conftest.err conftest.$ac_objext \ 11620 conftest$ac_exeext conftest.$ac_ext 11621LIBS=$ac_check_lib_save_LIBS 11622fi 11623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11624$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11625if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11626 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11627else 11628 11629 lt_cv_dlopen=dyld 11630 lt_cv_dlopen_libs= 11631 lt_cv_dlopen_self=yes 11632 11633fi 11634 11635 ;; 11636 11637 tpf*) 11638 # Don't try to run any link tests for TPF. We know it's impossible 11639 # because TPF is a cross-compiler, and we know how we open DSOs. 11640 lt_cv_dlopen=dlopen 11641 lt_cv_dlopen_libs= 11642 lt_cv_dlopen_self=no 11643 ;; 11644 11645 *) 11646 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11647if test "x$ac_cv_func_shl_load" = xyes; then : 11648 lt_cv_dlopen=shl_load 11649else 11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11651$as_echo_n "checking for shl_load in -ldld... " >&6; } 11652if ${ac_cv_lib_dld_shl_load+:} false; then : 11653 $as_echo_n "(cached) " >&6 11654else 11655 ac_check_lib_save_LIBS=$LIBS 11656LIBS="-ldld $LIBS" 11657cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11658/* end confdefs.h. */ 11659 11660/* Override any GCC internal prototype to avoid an error. 11661 Use char because int might match the return type of a GCC 11662 builtin and then its argument prototype would still apply. */ 11663#ifdef __cplusplus 11664extern "C" 11665#endif 11666char shl_load (); 11667int 11668main () 11669{ 11670return shl_load (); 11671 ; 11672 return 0; 11673} 11674_ACEOF 11675if ac_fn_c_try_link "$LINENO"; then : 11676 ac_cv_lib_dld_shl_load=yes 11677else 11678 ac_cv_lib_dld_shl_load=no 11679fi 11680rm -f core conftest.err conftest.$ac_objext \ 11681 conftest$ac_exeext conftest.$ac_ext 11682LIBS=$ac_check_lib_save_LIBS 11683fi 11684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11685$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11686if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11687 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11688else 11689 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11690if test "x$ac_cv_func_dlopen" = xyes; then : 11691 lt_cv_dlopen=dlopen 11692else 11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11694$as_echo_n "checking for dlopen in -ldl... " >&6; } 11695if ${ac_cv_lib_dl_dlopen+:} false; then : 11696 $as_echo_n "(cached) " >&6 11697else 11698 ac_check_lib_save_LIBS=$LIBS 11699LIBS="-ldl $LIBS" 11700cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11701/* end confdefs.h. */ 11702 11703/* Override any GCC internal prototype to avoid an error. 11704 Use char because int might match the return type of a GCC 11705 builtin and then its argument prototype would still apply. */ 11706#ifdef __cplusplus 11707extern "C" 11708#endif 11709char dlopen (); 11710int 11711main () 11712{ 11713return dlopen (); 11714 ; 11715 return 0; 11716} 11717_ACEOF 11718if ac_fn_c_try_link "$LINENO"; then : 11719 ac_cv_lib_dl_dlopen=yes 11720else 11721 ac_cv_lib_dl_dlopen=no 11722fi 11723rm -f core conftest.err conftest.$ac_objext \ 11724 conftest$ac_exeext conftest.$ac_ext 11725LIBS=$ac_check_lib_save_LIBS 11726fi 11727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11728$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11729if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11730 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11731else 11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11733$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11734if ${ac_cv_lib_svld_dlopen+:} false; then : 11735 $as_echo_n "(cached) " >&6 11736else 11737 ac_check_lib_save_LIBS=$LIBS 11738LIBS="-lsvld $LIBS" 11739cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11740/* end confdefs.h. */ 11741 11742/* Override any GCC internal prototype to avoid an error. 11743 Use char because int might match the return type of a GCC 11744 builtin and then its argument prototype would still apply. */ 11745#ifdef __cplusplus 11746extern "C" 11747#endif 11748char dlopen (); 11749int 11750main () 11751{ 11752return dlopen (); 11753 ; 11754 return 0; 11755} 11756_ACEOF 11757if ac_fn_c_try_link "$LINENO"; then : 11758 ac_cv_lib_svld_dlopen=yes 11759else 11760 ac_cv_lib_svld_dlopen=no 11761fi 11762rm -f core conftest.err conftest.$ac_objext \ 11763 conftest$ac_exeext conftest.$ac_ext 11764LIBS=$ac_check_lib_save_LIBS 11765fi 11766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11767$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11768if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11769 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11770else 11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11772$as_echo_n "checking for dld_link in -ldld... " >&6; } 11773if ${ac_cv_lib_dld_dld_link+:} false; then : 11774 $as_echo_n "(cached) " >&6 11775else 11776 ac_check_lib_save_LIBS=$LIBS 11777LIBS="-ldld $LIBS" 11778cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11779/* end confdefs.h. */ 11780 11781/* Override any GCC internal prototype to avoid an error. 11782 Use char because int might match the return type of a GCC 11783 builtin and then its argument prototype would still apply. */ 11784#ifdef __cplusplus 11785extern "C" 11786#endif 11787char dld_link (); 11788int 11789main () 11790{ 11791return dld_link (); 11792 ; 11793 return 0; 11794} 11795_ACEOF 11796if ac_fn_c_try_link "$LINENO"; then : 11797 ac_cv_lib_dld_dld_link=yes 11798else 11799 ac_cv_lib_dld_dld_link=no 11800fi 11801rm -f core conftest.err conftest.$ac_objext \ 11802 conftest$ac_exeext conftest.$ac_ext 11803LIBS=$ac_check_lib_save_LIBS 11804fi 11805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11806$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11807if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11808 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11809fi 11810 11811 11812fi 11813 11814 11815fi 11816 11817 11818fi 11819 11820 11821fi 11822 11823 11824fi 11825 11826 ;; 11827 esac 11828 11829 if test no = "$lt_cv_dlopen"; then 11830 enable_dlopen=no 11831 else 11832 enable_dlopen=yes 11833 fi 11834 11835 case $lt_cv_dlopen in 11836 dlopen) 11837 save_CPPFLAGS=$CPPFLAGS 11838 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11839 11840 save_LDFLAGS=$LDFLAGS 11841 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11842 11843 save_LIBS=$LIBS 11844 LIBS="$lt_cv_dlopen_libs $LIBS" 11845 11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11847$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11848if ${lt_cv_dlopen_self+:} false; then : 11849 $as_echo_n "(cached) " >&6 11850else 11851 if test yes = "$cross_compiling"; then : 11852 lt_cv_dlopen_self=cross 11853else 11854 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11855 lt_status=$lt_dlunknown 11856 cat > conftest.$ac_ext <<_LT_EOF 11857#line $LINENO "configure" 11858#include "confdefs.h" 11859 11860#if HAVE_DLFCN_H 11861#include <dlfcn.h> 11862#endif 11863 11864#include <stdio.h> 11865 11866#ifdef RTLD_GLOBAL 11867# define LT_DLGLOBAL RTLD_GLOBAL 11868#else 11869# ifdef DL_GLOBAL 11870# define LT_DLGLOBAL DL_GLOBAL 11871# else 11872# define LT_DLGLOBAL 0 11873# endif 11874#endif 11875 11876/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11877 find out it does not work in some platform. */ 11878#ifndef LT_DLLAZY_OR_NOW 11879# ifdef RTLD_LAZY 11880# define LT_DLLAZY_OR_NOW RTLD_LAZY 11881# else 11882# ifdef DL_LAZY 11883# define LT_DLLAZY_OR_NOW DL_LAZY 11884# else 11885# ifdef RTLD_NOW 11886# define LT_DLLAZY_OR_NOW RTLD_NOW 11887# else 11888# ifdef DL_NOW 11889# define LT_DLLAZY_OR_NOW DL_NOW 11890# else 11891# define LT_DLLAZY_OR_NOW 0 11892# endif 11893# endif 11894# endif 11895# endif 11896#endif 11897 11898/* When -fvisibility=hidden is used, assume the code has been annotated 11899 correspondingly for the symbols needed. */ 11900#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11901int fnord () __attribute__((visibility("default"))); 11902#endif 11903 11904int fnord () { return 42; } 11905int main () 11906{ 11907 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11908 int status = $lt_dlunknown; 11909 11910 if (self) 11911 { 11912 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11913 else 11914 { 11915 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11916 else puts (dlerror ()); 11917 } 11918 /* dlclose (self); */ 11919 } 11920 else 11921 puts (dlerror ()); 11922 11923 return status; 11924} 11925_LT_EOF 11926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11927 (eval $ac_link) 2>&5 11928 ac_status=$? 11929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11930 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11931 (./conftest; exit; ) >&5 2>/dev/null 11932 lt_status=$? 11933 case x$lt_status in 11934 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11935 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11936 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11937 esac 11938 else : 11939 # compilation failed 11940 lt_cv_dlopen_self=no 11941 fi 11942fi 11943rm -fr conftest* 11944 11945 11946fi 11947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11948$as_echo "$lt_cv_dlopen_self" >&6; } 11949 11950 if test yes = "$lt_cv_dlopen_self"; then 11951 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11953$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11954if ${lt_cv_dlopen_self_static+:} false; then : 11955 $as_echo_n "(cached) " >&6 11956else 11957 if test yes = "$cross_compiling"; then : 11958 lt_cv_dlopen_self_static=cross 11959else 11960 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11961 lt_status=$lt_dlunknown 11962 cat > conftest.$ac_ext <<_LT_EOF 11963#line $LINENO "configure" 11964#include "confdefs.h" 11965 11966#if HAVE_DLFCN_H 11967#include <dlfcn.h> 11968#endif 11969 11970#include <stdio.h> 11971 11972#ifdef RTLD_GLOBAL 11973# define LT_DLGLOBAL RTLD_GLOBAL 11974#else 11975# ifdef DL_GLOBAL 11976# define LT_DLGLOBAL DL_GLOBAL 11977# else 11978# define LT_DLGLOBAL 0 11979# endif 11980#endif 11981 11982/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11983 find out it does not work in some platform. */ 11984#ifndef LT_DLLAZY_OR_NOW 11985# ifdef RTLD_LAZY 11986# define LT_DLLAZY_OR_NOW RTLD_LAZY 11987# else 11988# ifdef DL_LAZY 11989# define LT_DLLAZY_OR_NOW DL_LAZY 11990# else 11991# ifdef RTLD_NOW 11992# define LT_DLLAZY_OR_NOW RTLD_NOW 11993# else 11994# ifdef DL_NOW 11995# define LT_DLLAZY_OR_NOW DL_NOW 11996# else 11997# define LT_DLLAZY_OR_NOW 0 11998# endif 11999# endif 12000# endif 12001# endif 12002#endif 12003 12004/* When -fvisibility=hidden is used, assume the code has been annotated 12005 correspondingly for the symbols needed. */ 12006#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12007int fnord () __attribute__((visibility("default"))); 12008#endif 12009 12010int fnord () { return 42; } 12011int main () 12012{ 12013 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12014 int status = $lt_dlunknown; 12015 12016 if (self) 12017 { 12018 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12019 else 12020 { 12021 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12022 else puts (dlerror ()); 12023 } 12024 /* dlclose (self); */ 12025 } 12026 else 12027 puts (dlerror ()); 12028 12029 return status; 12030} 12031_LT_EOF 12032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12033 (eval $ac_link) 2>&5 12034 ac_status=$? 12035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12036 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12037 (./conftest; exit; ) >&5 2>/dev/null 12038 lt_status=$? 12039 case x$lt_status in 12040 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12041 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12042 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12043 esac 12044 else : 12045 # compilation failed 12046 lt_cv_dlopen_self_static=no 12047 fi 12048fi 12049rm -fr conftest* 12050 12051 12052fi 12053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12054$as_echo "$lt_cv_dlopen_self_static" >&6; } 12055 fi 12056 12057 CPPFLAGS=$save_CPPFLAGS 12058 LDFLAGS=$save_LDFLAGS 12059 LIBS=$save_LIBS 12060 ;; 12061 esac 12062 12063 case $lt_cv_dlopen_self in 12064 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12065 *) enable_dlopen_self=unknown ;; 12066 esac 12067 12068 case $lt_cv_dlopen_self_static in 12069 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12070 *) enable_dlopen_self_static=unknown ;; 12071 esac 12072fi 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090striplib= 12091old_striplib= 12092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12093$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12094if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12095 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12096 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12098$as_echo "yes" >&6; } 12099else 12100# FIXME - insert some real tests, host_os isn't really good enough 12101 case $host_os in 12102 darwin*) 12103 if test -n "$STRIP"; then 12104 striplib="$STRIP -x" 12105 old_striplib="$STRIP -S" 12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12107$as_echo "yes" >&6; } 12108 else 12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12110$as_echo "no" >&6; } 12111 fi 12112 ;; 12113 *) 12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12115$as_echo "no" >&6; } 12116 ;; 12117 esac 12118fi 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 # Report what library types will actually be built 12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12133$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12135$as_echo "$can_build_shared" >&6; } 12136 12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12138$as_echo_n "checking whether to build shared libraries... " >&6; } 12139 test no = "$can_build_shared" && enable_shared=no 12140 12141 # On AIX, shared libraries and static libraries use the same namespace, and 12142 # are all built from PIC. 12143 case $host_os in 12144 aix3*) 12145 test yes = "$enable_shared" && enable_static=no 12146 if test -n "$RANLIB"; then 12147 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12148 postinstall_cmds='$RANLIB $lib' 12149 fi 12150 ;; 12151 12152 aix[4-9]*) 12153 if test ia64 != "$host_cpu"; then 12154 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12155 yes,aix,yes) ;; # shared object as lib.so file only 12156 yes,svr4,*) ;; # shared object as lib.so archive member only 12157 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12158 esac 12159 fi 12160 ;; 12161 esac 12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12163$as_echo "$enable_shared" >&6; } 12164 12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12166$as_echo_n "checking whether to build static libraries... " >&6; } 12167 # Make sure either enable_shared or enable_static is yes. 12168 test yes = "$enable_shared" || enable_static=yes 12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12170$as_echo "$enable_static" >&6; } 12171 12172 12173 12174 12175fi 12176ac_ext=c 12177ac_cpp='$CPP $CPPFLAGS' 12178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12180ac_compiler_gnu=$ac_cv_c_compiler_gnu 12181 12182CC=$lt_save_CC 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 ac_config_commands="$ac_config_commands libtool" 12199 12200 12201 12202 12203# Only expand once: 12204 12205 12206 12207ac_ext=c 12208ac_cpp='$CPP $CPPFLAGS' 12209ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12210ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12211ac_compiler_gnu=$ac_cv_c_compiler_gnu 12212if test -n "$ac_tool_prefix"; then 12213 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 12214set dummy ${ac_tool_prefix}gcc; ac_word=$2 12215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12216$as_echo_n "checking for $ac_word... " >&6; } 12217if ${ac_cv_prog_CC+:} false; then : 12218 $as_echo_n "(cached) " >&6 12219else 12220 if test -n "$CC"; then 12221 ac_cv_prog_CC="$CC" # Let the user override the test. 12222else 12223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12224for as_dir in $PATH 12225do 12226 IFS=$as_save_IFS 12227 test -z "$as_dir" && as_dir=. 12228 for ac_exec_ext in '' $ac_executable_extensions; do 12229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12230 ac_cv_prog_CC="${ac_tool_prefix}gcc" 12231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12232 break 2 12233 fi 12234done 12235 done 12236IFS=$as_save_IFS 12237 12238fi 12239fi 12240CC=$ac_cv_prog_CC 12241if test -n "$CC"; then 12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12243$as_echo "$CC" >&6; } 12244else 12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12246$as_echo "no" >&6; } 12247fi 12248 12249 12250fi 12251if test -z "$ac_cv_prog_CC"; then 12252 ac_ct_CC=$CC 12253 # Extract the first word of "gcc", so it can be a program name with args. 12254set dummy gcc; ac_word=$2 12255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12256$as_echo_n "checking for $ac_word... " >&6; } 12257if ${ac_cv_prog_ac_ct_CC+:} false; then : 12258 $as_echo_n "(cached) " >&6 12259else 12260 if test -n "$ac_ct_CC"; then 12261 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12262else 12263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12264for as_dir in $PATH 12265do 12266 IFS=$as_save_IFS 12267 test -z "$as_dir" && as_dir=. 12268 for ac_exec_ext in '' $ac_executable_extensions; do 12269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12270 ac_cv_prog_ac_ct_CC="gcc" 12271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12272 break 2 12273 fi 12274done 12275 done 12276IFS=$as_save_IFS 12277 12278fi 12279fi 12280ac_ct_CC=$ac_cv_prog_ac_ct_CC 12281if test -n "$ac_ct_CC"; then 12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 12283$as_echo "$ac_ct_CC" >&6; } 12284else 12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12286$as_echo "no" >&6; } 12287fi 12288 12289 if test "x$ac_ct_CC" = x; then 12290 CC="" 12291 else 12292 case $cross_compiling:$ac_tool_warned in 12293yes:) 12294{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12295$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12296ac_tool_warned=yes ;; 12297esac 12298 CC=$ac_ct_CC 12299 fi 12300else 12301 CC="$ac_cv_prog_CC" 12302fi 12303 12304if test -z "$CC"; then 12305 if test -n "$ac_tool_prefix"; then 12306 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 12307set dummy ${ac_tool_prefix}cc; ac_word=$2 12308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12309$as_echo_n "checking for $ac_word... " >&6; } 12310if ${ac_cv_prog_CC+:} false; then : 12311 $as_echo_n "(cached) " >&6 12312else 12313 if test -n "$CC"; then 12314 ac_cv_prog_CC="$CC" # Let the user override the test. 12315else 12316as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12317for as_dir in $PATH 12318do 12319 IFS=$as_save_IFS 12320 test -z "$as_dir" && as_dir=. 12321 for ac_exec_ext in '' $ac_executable_extensions; do 12322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12323 ac_cv_prog_CC="${ac_tool_prefix}cc" 12324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12325 break 2 12326 fi 12327done 12328 done 12329IFS=$as_save_IFS 12330 12331fi 12332fi 12333CC=$ac_cv_prog_CC 12334if test -n "$CC"; then 12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12336$as_echo "$CC" >&6; } 12337else 12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12339$as_echo "no" >&6; } 12340fi 12341 12342 12343 fi 12344fi 12345if test -z "$CC"; then 12346 # Extract the first word of "cc", so it can be a program name with args. 12347set dummy cc; ac_word=$2 12348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12349$as_echo_n "checking for $ac_word... " >&6; } 12350if ${ac_cv_prog_CC+:} false; then : 12351 $as_echo_n "(cached) " >&6 12352else 12353 if test -n "$CC"; then 12354 ac_cv_prog_CC="$CC" # Let the user override the test. 12355else 12356 ac_prog_rejected=no 12357as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12358for as_dir in $PATH 12359do 12360 IFS=$as_save_IFS 12361 test -z "$as_dir" && as_dir=. 12362 for ac_exec_ext in '' $ac_executable_extensions; do 12363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12364 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 12365 ac_prog_rejected=yes 12366 continue 12367 fi 12368 ac_cv_prog_CC="cc" 12369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12370 break 2 12371 fi 12372done 12373 done 12374IFS=$as_save_IFS 12375 12376if test $ac_prog_rejected = yes; then 12377 # We found a bogon in the path, so make sure we never use it. 12378 set dummy $ac_cv_prog_CC 12379 shift 12380 if test $# != 0; then 12381 # We chose a different compiler from the bogus one. 12382 # However, it has the same basename, so the bogon will be chosen 12383 # first if we set CC to just the basename; use the full file name. 12384 shift 12385 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 12386 fi 12387fi 12388fi 12389fi 12390CC=$ac_cv_prog_CC 12391if test -n "$CC"; then 12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12393$as_echo "$CC" >&6; } 12394else 12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12396$as_echo "no" >&6; } 12397fi 12398 12399 12400fi 12401if test -z "$CC"; then 12402 if test -n "$ac_tool_prefix"; then 12403 for ac_prog in cl.exe 12404 do 12405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 12406set dummy $ac_tool_prefix$ac_prog; ac_word=$2 12407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12408$as_echo_n "checking for $ac_word... " >&6; } 12409if ${ac_cv_prog_CC+:} false; then : 12410 $as_echo_n "(cached) " >&6 12411else 12412 if test -n "$CC"; then 12413 ac_cv_prog_CC="$CC" # Let the user override the test. 12414else 12415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12416for as_dir in $PATH 12417do 12418 IFS=$as_save_IFS 12419 test -z "$as_dir" && as_dir=. 12420 for ac_exec_ext in '' $ac_executable_extensions; do 12421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12422 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 12423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12424 break 2 12425 fi 12426done 12427 done 12428IFS=$as_save_IFS 12429 12430fi 12431fi 12432CC=$ac_cv_prog_CC 12433if test -n "$CC"; then 12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12435$as_echo "$CC" >&6; } 12436else 12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12438$as_echo "no" >&6; } 12439fi 12440 12441 12442 test -n "$CC" && break 12443 done 12444fi 12445if test -z "$CC"; then 12446 ac_ct_CC=$CC 12447 for ac_prog in cl.exe 12448do 12449 # Extract the first word of "$ac_prog", so it can be a program name with args. 12450set dummy $ac_prog; ac_word=$2 12451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12452$as_echo_n "checking for $ac_word... " >&6; } 12453if ${ac_cv_prog_ac_ct_CC+:} false; then : 12454 $as_echo_n "(cached) " >&6 12455else 12456 if test -n "$ac_ct_CC"; then 12457 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12458else 12459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12460for as_dir in $PATH 12461do 12462 IFS=$as_save_IFS 12463 test -z "$as_dir" && as_dir=. 12464 for ac_exec_ext in '' $ac_executable_extensions; do 12465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12466 ac_cv_prog_ac_ct_CC="$ac_prog" 12467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12468 break 2 12469 fi 12470done 12471 done 12472IFS=$as_save_IFS 12473 12474fi 12475fi 12476ac_ct_CC=$ac_cv_prog_ac_ct_CC 12477if test -n "$ac_ct_CC"; then 12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 12479$as_echo "$ac_ct_CC" >&6; } 12480else 12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12482$as_echo "no" >&6; } 12483fi 12484 12485 12486 test -n "$ac_ct_CC" && break 12487done 12488 12489 if test "x$ac_ct_CC" = x; then 12490 CC="" 12491 else 12492 case $cross_compiling:$ac_tool_warned in 12493yes:) 12494{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12495$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12496ac_tool_warned=yes ;; 12497esac 12498 CC=$ac_ct_CC 12499 fi 12500fi 12501 12502fi 12503 12504 12505test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12506$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12507as_fn_error $? "no acceptable C compiler found in \$PATH 12508See \`config.log' for more details" "$LINENO" 5; } 12509 12510# Provide some information about the compiler. 12511$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 12512set X $ac_compile 12513ac_compiler=$2 12514for ac_option in --version -v -V -qversion; do 12515 { { ac_try="$ac_compiler $ac_option >&5" 12516case "(($ac_try" in 12517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12518 *) ac_try_echo=$ac_try;; 12519esac 12520eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 12521$as_echo "$ac_try_echo"; } >&5 12522 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 12523 ac_status=$? 12524 if test -s conftest.err; then 12525 sed '10a\ 12526... rest of stderr output deleted ... 12527 10q' conftest.err >conftest.er1 12528 cat conftest.er1 >&5 12529 fi 12530 rm -f conftest.er1 conftest.err 12531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12532 test $ac_status = 0; } 12533done 12534 12535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 12536$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 12537if ${ac_cv_c_compiler_gnu+:} false; then : 12538 $as_echo_n "(cached) " >&6 12539else 12540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12541/* end confdefs.h. */ 12542 12543int 12544main () 12545{ 12546#ifndef __GNUC__ 12547 choke me 12548#endif 12549 12550 ; 12551 return 0; 12552} 12553_ACEOF 12554if ac_fn_c_try_compile "$LINENO"; then : 12555 ac_compiler_gnu=yes 12556else 12557 ac_compiler_gnu=no 12558fi 12559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12560ac_cv_c_compiler_gnu=$ac_compiler_gnu 12561 12562fi 12563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 12564$as_echo "$ac_cv_c_compiler_gnu" >&6; } 12565if test $ac_compiler_gnu = yes; then 12566 GCC=yes 12567else 12568 GCC= 12569fi 12570ac_test_CFLAGS=${CFLAGS+set} 12571ac_save_CFLAGS=$CFLAGS 12572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 12573$as_echo_n "checking whether $CC accepts -g... " >&6; } 12574if ${ac_cv_prog_cc_g+:} false; then : 12575 $as_echo_n "(cached) " >&6 12576else 12577 ac_save_c_werror_flag=$ac_c_werror_flag 12578 ac_c_werror_flag=yes 12579 ac_cv_prog_cc_g=no 12580 CFLAGS="-g" 12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12582/* end confdefs.h. */ 12583 12584int 12585main () 12586{ 12587 12588 ; 12589 return 0; 12590} 12591_ACEOF 12592if ac_fn_c_try_compile "$LINENO"; then : 12593 ac_cv_prog_cc_g=yes 12594else 12595 CFLAGS="" 12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12597/* end confdefs.h. */ 12598 12599int 12600main () 12601{ 12602 12603 ; 12604 return 0; 12605} 12606_ACEOF 12607if ac_fn_c_try_compile "$LINENO"; then : 12608 12609else 12610 ac_c_werror_flag=$ac_save_c_werror_flag 12611 CFLAGS="-g" 12612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12613/* end confdefs.h. */ 12614 12615int 12616main () 12617{ 12618 12619 ; 12620 return 0; 12621} 12622_ACEOF 12623if ac_fn_c_try_compile "$LINENO"; then : 12624 ac_cv_prog_cc_g=yes 12625fi 12626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12627fi 12628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12629fi 12630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12631 ac_c_werror_flag=$ac_save_c_werror_flag 12632fi 12633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 12634$as_echo "$ac_cv_prog_cc_g" >&6; } 12635if test "$ac_test_CFLAGS" = set; then 12636 CFLAGS=$ac_save_CFLAGS 12637elif test $ac_cv_prog_cc_g = yes; then 12638 if test "$GCC" = yes; then 12639 CFLAGS="-g -O2" 12640 else 12641 CFLAGS="-g" 12642 fi 12643else 12644 if test "$GCC" = yes; then 12645 CFLAGS="-O2" 12646 else 12647 CFLAGS= 12648 fi 12649fi 12650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 12651$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 12652if ${ac_cv_prog_cc_c89+:} false; then : 12653 $as_echo_n "(cached) " >&6 12654else 12655 ac_cv_prog_cc_c89=no 12656ac_save_CC=$CC 12657cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12658/* end confdefs.h. */ 12659#include <stdarg.h> 12660#include <stdio.h> 12661struct stat; 12662/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 12663struct buf { int x; }; 12664FILE * (*rcsopen) (struct buf *, struct stat *, int); 12665static char *e (p, i) 12666 char **p; 12667 int i; 12668{ 12669 return p[i]; 12670} 12671static char *f (char * (*g) (char **, int), char **p, ...) 12672{ 12673 char *s; 12674 va_list v; 12675 va_start (v,p); 12676 s = g (p, va_arg (v,int)); 12677 va_end (v); 12678 return s; 12679} 12680 12681/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 12682 function prototypes and stuff, but not '\xHH' hex character constants. 12683 These don't provoke an error unfortunately, instead are silently treated 12684 as 'x'. The following induces an error, until -std is added to get 12685 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 12686 array size at least. It's necessary to write '\x00'==0 to get something 12687 that's true only with -std. */ 12688int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 12689 12690/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 12691 inside strings and character constants. */ 12692#define FOO(x) 'x' 12693int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 12694 12695int test (int i, double x); 12696struct s1 {int (*f) (int a);}; 12697struct s2 {int (*f) (double a);}; 12698int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 12699int argc; 12700char **argv; 12701int 12702main () 12703{ 12704return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 12705 ; 12706 return 0; 12707} 12708_ACEOF 12709for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 12710 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 12711do 12712 CC="$ac_save_CC $ac_arg" 12713 if ac_fn_c_try_compile "$LINENO"; then : 12714 ac_cv_prog_cc_c89=$ac_arg 12715fi 12716rm -f core conftest.err conftest.$ac_objext 12717 test "x$ac_cv_prog_cc_c89" != "xno" && break 12718done 12719rm -f conftest.$ac_ext 12720CC=$ac_save_CC 12721 12722fi 12723# AC_CACHE_VAL 12724case "x$ac_cv_prog_cc_c89" in 12725 x) 12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 12727$as_echo "none needed" >&6; } ;; 12728 xno) 12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 12730$as_echo "unsupported" >&6; } ;; 12731 *) 12732 CC="$CC $ac_cv_prog_cc_c89" 12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 12734$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 12735esac 12736if test "x$ac_cv_prog_cc_c89" != xno; then : 12737 12738fi 12739 12740ac_ext=c 12741ac_cpp='$CPP $CPPFLAGS' 12742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12744ac_compiler_gnu=$ac_cv_c_compiler_gnu 12745 12746ac_ext=c 12747ac_cpp='$CPP $CPPFLAGS' 12748ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12749ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12750ac_compiler_gnu=$ac_cv_c_compiler_gnu 12751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 12752$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 12753if ${am_cv_prog_cc_c_o+:} false; then : 12754 $as_echo_n "(cached) " >&6 12755else 12756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12757/* end confdefs.h. */ 12758 12759int 12760main () 12761{ 12762 12763 ; 12764 return 0; 12765} 12766_ACEOF 12767 # Make sure it works both with $CC and with simple cc. 12768 # Following AC_PROG_CC_C_O, we do the test twice because some 12769 # compilers refuse to overwrite an existing .o file with -o, 12770 # though they will create one. 12771 am_cv_prog_cc_c_o=yes 12772 for am_i in 1 2; do 12773 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 12774 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 12775 ac_status=$? 12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12777 (exit $ac_status); } \ 12778 && test -f conftest2.$ac_objext; then 12779 : OK 12780 else 12781 am_cv_prog_cc_c_o=no 12782 break 12783 fi 12784 done 12785 rm -f core conftest* 12786 unset am_i 12787fi 12788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 12789$as_echo "$am_cv_prog_cc_c_o" >&6; } 12790if test "$am_cv_prog_cc_c_o" != yes; then 12791 # Losing compiler, so override with the script. 12792 # FIXME: It is wrong to rewrite CC. 12793 # But if we don't then we get into trouble of one sort or another. 12794 # A longer-term fix would be to have automake use am__CC in this case, 12795 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 12796 CC="$am_aux_dir/compile $CC" 12797fi 12798ac_ext=c 12799ac_cpp='$CPP $CPPFLAGS' 12800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12802ac_compiler_gnu=$ac_cv_c_compiler_gnu 12803 12804 12805depcc="$CC" am_compiler_list= 12806 12807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 12808$as_echo_n "checking dependency style of $depcc... " >&6; } 12809if ${am_cv_CC_dependencies_compiler_type+:} false; then : 12810 $as_echo_n "(cached) " >&6 12811else 12812 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 12813 # We make a subdir and do the tests there. Otherwise we can end up 12814 # making bogus files that we don't know about and never remove. For 12815 # instance it was reported that on HP-UX the gcc test will end up 12816 # making a dummy file named 'D' -- because '-MD' means "put the output 12817 # in D". 12818 rm -rf conftest.dir 12819 mkdir conftest.dir 12820 # Copy depcomp to subdir because otherwise we won't find it if we're 12821 # using a relative directory. 12822 cp "$am_depcomp" conftest.dir 12823 cd conftest.dir 12824 # We will build objects and dependencies in a subdirectory because 12825 # it helps to detect inapplicable dependency modes. For instance 12826 # both Tru64's cc and ICC support -MD to output dependencies as a 12827 # side effect of compilation, but ICC will put the dependencies in 12828 # the current directory while Tru64 will put them in the object 12829 # directory. 12830 mkdir sub 12831 12832 am_cv_CC_dependencies_compiler_type=none 12833 if test "$am_compiler_list" = ""; then 12834 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 12835 fi 12836 am__universal=false 12837 case " $depcc " in #( 12838 *\ -arch\ *\ -arch\ *) am__universal=true ;; 12839 esac 12840 12841 for depmode in $am_compiler_list; do 12842 # Setup a source with many dependencies, because some compilers 12843 # like to wrap large dependency lists on column 80 (with \), and 12844 # we should not choose a depcomp mode which is confused by this. 12845 # 12846 # We need to recreate these files for each test, as the compiler may 12847 # overwrite some of them when testing with obscure command lines. 12848 # This happens at least with the AIX C compiler. 12849 : > sub/conftest.c 12850 for i in 1 2 3 4 5 6; do 12851 echo '#include "conftst'$i'.h"' >> sub/conftest.c 12852 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 12853 # Solaris 10 /bin/sh. 12854 echo '/* dummy */' > sub/conftst$i.h 12855 done 12856 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 12857 12858 # We check with '-c' and '-o' for the sake of the "dashmstdout" 12859 # mode. It turns out that the SunPro C++ compiler does not properly 12860 # handle '-M -o', and we need to detect this. Also, some Intel 12861 # versions had trouble with output in subdirs. 12862 am__obj=sub/conftest.${OBJEXT-o} 12863 am__minus_obj="-o $am__obj" 12864 case $depmode in 12865 gcc) 12866 # This depmode causes a compiler race in universal mode. 12867 test "$am__universal" = false || continue 12868 ;; 12869 nosideeffect) 12870 # After this tag, mechanisms are not by side-effect, so they'll 12871 # only be used when explicitly requested. 12872 if test "x$enable_dependency_tracking" = xyes; then 12873 continue 12874 else 12875 break 12876 fi 12877 ;; 12878 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 12879 # This compiler won't grok '-c -o', but also, the minuso test has 12880 # not run yet. These depmodes are late enough in the game, and 12881 # so weak that their functioning should not be impacted. 12882 am__obj=conftest.${OBJEXT-o} 12883 am__minus_obj= 12884 ;; 12885 none) break ;; 12886 esac 12887 if depmode=$depmode \ 12888 source=sub/conftest.c object=$am__obj \ 12889 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 12890 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 12891 >/dev/null 2>conftest.err && 12892 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 12893 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 12894 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 12895 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 12896 # icc doesn't choke on unknown options, it will just issue warnings 12897 # or remarks (even with -Werror). So we grep stderr for any message 12898 # that says an option was ignored or not supported. 12899 # When given -MP, icc 7.0 and 7.1 complain thusly: 12900 # icc: Command line warning: ignoring option '-M'; no argument required 12901 # The diagnosis changed in icc 8.0: 12902 # icc: Command line remark: option '-MP' not supported 12903 if (grep 'ignoring option' conftest.err || 12904 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 12905 am_cv_CC_dependencies_compiler_type=$depmode 12906 break 12907 fi 12908 fi 12909 done 12910 12911 cd .. 12912 rm -rf conftest.dir 12913else 12914 am_cv_CC_dependencies_compiler_type=none 12915fi 12916 12917fi 12918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 12919$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 12920CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 12921 12922 if 12923 test "x$enable_dependency_tracking" != xno \ 12924 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 12925 am__fastdepCC_TRUE= 12926 am__fastdepCC_FALSE='#' 12927else 12928 am__fastdepCC_TRUE='#' 12929 am__fastdepCC_FALSE= 12930fi 12931 12932 12933 12934 12935 12936# Check whether --with-gnu-ld was given. 12937if test "${with_gnu_ld+set}" = set; then : 12938 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 12939else 12940 with_gnu_ld=no 12941fi 12942 12943ac_prog=ld 12944if test yes = "$GCC"; then 12945 # Check if gcc -print-prog-name=ld gives a path. 12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 12947$as_echo_n "checking for ld used by $CC... " >&6; } 12948 case $host in 12949 *-*-mingw*) 12950 # gcc leaves a trailing carriage return, which upsets mingw 12951 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 12952 *) 12953 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 12954 esac 12955 case $ac_prog in 12956 # Accept absolute paths. 12957 [\\/]* | ?:[\\/]*) 12958 re_direlt='/[^/][^/]*/\.\./' 12959 # Canonicalize the pathname of ld 12960 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 12961 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 12962 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 12963 done 12964 test -z "$LD" && LD=$ac_prog 12965 ;; 12966 "") 12967 # If it fails, then pretend we aren't using GCC. 12968 ac_prog=ld 12969 ;; 12970 *) 12971 # If it is relative, then search for the first ld in PATH. 12972 with_gnu_ld=unknown 12973 ;; 12974 esac 12975elif test yes = "$with_gnu_ld"; then 12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 12977$as_echo_n "checking for GNU ld... " >&6; } 12978else 12979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 12980$as_echo_n "checking for non-GNU ld... " >&6; } 12981fi 12982if ${lt_cv_path_LD+:} false; then : 12983 $as_echo_n "(cached) " >&6 12984else 12985 if test -z "$LD"; then 12986 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 12987 for ac_dir in $PATH; do 12988 IFS=$lt_save_ifs 12989 test -z "$ac_dir" && ac_dir=. 12990 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 12991 lt_cv_path_LD=$ac_dir/$ac_prog 12992 # Check to see if the program is GNU ld. I'd rather use --version, 12993 # but apparently some variants of GNU ld only accept -v. 12994 # Break only if it was the GNU/non-GNU ld that we prefer. 12995 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 12996 *GNU* | *'with BFD'*) 12997 test no != "$with_gnu_ld" && break 12998 ;; 12999 *) 13000 test yes != "$with_gnu_ld" && break 13001 ;; 13002 esac 13003 fi 13004 done 13005 IFS=$lt_save_ifs 13006else 13007 lt_cv_path_LD=$LD # Let the user override the test with a path. 13008fi 13009fi 13010 13011LD=$lt_cv_path_LD 13012if test -n "$LD"; then 13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 13014$as_echo "$LD" >&6; } 13015else 13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13017$as_echo "no" >&6; } 13018fi 13019test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 13020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 13021$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 13022if ${lt_cv_prog_gnu_ld+:} false; then : 13023 $as_echo_n "(cached) " >&6 13024else 13025 # I'd rather use --version here, but apparently some GNU lds only accept -v. 13026case `$LD -v 2>&1 </dev/null` in 13027*GNU* | *'with BFD'*) 13028 lt_cv_prog_gnu_ld=yes 13029 ;; 13030*) 13031 lt_cv_prog_gnu_ld=no 13032 ;; 13033esac 13034fi 13035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 13036$as_echo "$lt_cv_prog_gnu_ld" >&6; } 13037with_gnu_ld=$lt_cv_prog_gnu_ld 13038 13039 13040 13041 13042 13043 13044 13045 13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 13047$as_echo_n "checking whether NLS is requested... " >&6; } 13048 # Check whether --enable-nls was given. 13049if test "${enable_nls+set}" = set; then : 13050 enableval=$enable_nls; USE_NLS=$enableval 13051else 13052 USE_NLS=yes 13053fi 13054 13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 13056$as_echo "$USE_NLS" >&6; } 13057 13058 13059 13060 13061case "$am__api_version" in 13062 1.01234) 13063 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 13064 ;; 13065 *) 13066 ;; 13067esac 13068 13069INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 13070INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 13071INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 13072if test -n ""; then 13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5 13074$as_echo_n "checking for intltool >= ... " >&6; } 13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 13076$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 13077 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 13078 as_fn_error $? "Your intltool is too old. You need intltool or later." "$LINENO" 5 13079fi 13080 13081# Extract the first word of "intltool-update", so it can be a program name with args. 13082set dummy intltool-update; ac_word=$2 13083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13084$as_echo_n "checking for $ac_word... " >&6; } 13085if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 13086 $as_echo_n "(cached) " >&6 13087else 13088 case $INTLTOOL_UPDATE in 13089 [\\/]* | ?:[\\/]*) 13090 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 13091 ;; 13092 *) 13093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13094for as_dir in $PATH 13095do 13096 IFS=$as_save_IFS 13097 test -z "$as_dir" && as_dir=. 13098 for ac_exec_ext in '' $ac_executable_extensions; do 13099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13100 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 13101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13102 break 2 13103 fi 13104done 13105 done 13106IFS=$as_save_IFS 13107 13108 ;; 13109esac 13110fi 13111INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 13112if test -n "$INTLTOOL_UPDATE"; then 13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 13114$as_echo "$INTLTOOL_UPDATE" >&6; } 13115else 13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13117$as_echo "no" >&6; } 13118fi 13119 13120 13121# Extract the first word of "intltool-merge", so it can be a program name with args. 13122set dummy intltool-merge; ac_word=$2 13123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13124$as_echo_n "checking for $ac_word... " >&6; } 13125if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 13126 $as_echo_n "(cached) " >&6 13127else 13128 case $INTLTOOL_MERGE in 13129 [\\/]* | ?:[\\/]*) 13130 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 13131 ;; 13132 *) 13133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13134for as_dir in $PATH 13135do 13136 IFS=$as_save_IFS 13137 test -z "$as_dir" && as_dir=. 13138 for ac_exec_ext in '' $ac_executable_extensions; do 13139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13140 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 13141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13142 break 2 13143 fi 13144done 13145 done 13146IFS=$as_save_IFS 13147 13148 ;; 13149esac 13150fi 13151INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 13152if test -n "$INTLTOOL_MERGE"; then 13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 13154$as_echo "$INTLTOOL_MERGE" >&6; } 13155else 13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13157$as_echo "no" >&6; } 13158fi 13159 13160 13161# Extract the first word of "intltool-extract", so it can be a program name with args. 13162set dummy intltool-extract; ac_word=$2 13163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13164$as_echo_n "checking for $ac_word... " >&6; } 13165if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 13166 $as_echo_n "(cached) " >&6 13167else 13168 case $INTLTOOL_EXTRACT in 13169 [\\/]* | ?:[\\/]*) 13170 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 13171 ;; 13172 *) 13173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13174for as_dir in $PATH 13175do 13176 IFS=$as_save_IFS 13177 test -z "$as_dir" && as_dir=. 13178 for ac_exec_ext in '' $ac_executable_extensions; do 13179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13180 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 13181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13182 break 2 13183 fi 13184done 13185 done 13186IFS=$as_save_IFS 13187 13188 ;; 13189esac 13190fi 13191INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 13192if test -n "$INTLTOOL_EXTRACT"; then 13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 13194$as_echo "$INTLTOOL_EXTRACT" >&6; } 13195else 13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13197$as_echo "no" >&6; } 13198fi 13199 13200 13201if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 13202 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 13203fi 13204 13205if test -z "$AM_DEFAULT_VERBOSITY"; then 13206 AM_DEFAULT_VERBOSITY=1 13207fi 13208 13209 13210INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 13211INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 13212INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 13213 13214 13215 13216 13217INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 13218intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 13219intltool__v_merge_options_0='-q' 13220 13221 13222 13223 13224 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13225INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13226 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13227 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13228 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' 13229 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13230 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13231 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13232INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13233 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13234 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13235if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 13236 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' 13237else 13238 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' 13239fi 13240 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13241 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13242 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13243 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13244 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13245 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13246 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344# Check the gettext tools to make sure they are GNU 13345# Extract the first word of "xgettext", so it can be a program name with args. 13346set dummy xgettext; ac_word=$2 13347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13348$as_echo_n "checking for $ac_word... " >&6; } 13349if ${ac_cv_path_XGETTEXT+:} false; then : 13350 $as_echo_n "(cached) " >&6 13351else 13352 case $XGETTEXT in 13353 [\\/]* | ?:[\\/]*) 13354 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 13355 ;; 13356 *) 13357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13358for as_dir in $PATH 13359do 13360 IFS=$as_save_IFS 13361 test -z "$as_dir" && as_dir=. 13362 for ac_exec_ext in '' $ac_executable_extensions; do 13363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13364 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 13365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13366 break 2 13367 fi 13368done 13369 done 13370IFS=$as_save_IFS 13371 13372 ;; 13373esac 13374fi 13375XGETTEXT=$ac_cv_path_XGETTEXT 13376if test -n "$XGETTEXT"; then 13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 13378$as_echo "$XGETTEXT" >&6; } 13379else 13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13381$as_echo "no" >&6; } 13382fi 13383 13384 13385# Extract the first word of "msgmerge", so it can be a program name with args. 13386set dummy msgmerge; ac_word=$2 13387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13388$as_echo_n "checking for $ac_word... " >&6; } 13389if ${ac_cv_path_MSGMERGE+:} false; then : 13390 $as_echo_n "(cached) " >&6 13391else 13392 case $MSGMERGE in 13393 [\\/]* | ?:[\\/]*) 13394 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 13395 ;; 13396 *) 13397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13398for as_dir in $PATH 13399do 13400 IFS=$as_save_IFS 13401 test -z "$as_dir" && as_dir=. 13402 for ac_exec_ext in '' $ac_executable_extensions; do 13403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13404 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 13405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13406 break 2 13407 fi 13408done 13409 done 13410IFS=$as_save_IFS 13411 13412 ;; 13413esac 13414fi 13415MSGMERGE=$ac_cv_path_MSGMERGE 13416if test -n "$MSGMERGE"; then 13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 13418$as_echo "$MSGMERGE" >&6; } 13419else 13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13421$as_echo "no" >&6; } 13422fi 13423 13424 13425# Extract the first word of "msgfmt", so it can be a program name with args. 13426set dummy msgfmt; ac_word=$2 13427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13428$as_echo_n "checking for $ac_word... " >&6; } 13429if ${ac_cv_path_MSGFMT+:} false; then : 13430 $as_echo_n "(cached) " >&6 13431else 13432 case $MSGFMT in 13433 [\\/]* | ?:[\\/]*) 13434 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 13435 ;; 13436 *) 13437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13438for as_dir in $PATH 13439do 13440 IFS=$as_save_IFS 13441 test -z "$as_dir" && as_dir=. 13442 for ac_exec_ext in '' $ac_executable_extensions; do 13443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13444 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 13445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13446 break 2 13447 fi 13448done 13449 done 13450IFS=$as_save_IFS 13451 13452 ;; 13453esac 13454fi 13455MSGFMT=$ac_cv_path_MSGFMT 13456if test -n "$MSGFMT"; then 13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 13458$as_echo "$MSGFMT" >&6; } 13459else 13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13461$as_echo "no" >&6; } 13462fi 13463 13464 13465# Extract the first word of "gmsgfmt", so it can be a program name with args. 13466set dummy gmsgfmt; ac_word=$2 13467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13468$as_echo_n "checking for $ac_word... " >&6; } 13469if ${ac_cv_path_GMSGFMT+:} false; then : 13470 $as_echo_n "(cached) " >&6 13471else 13472 case $GMSGFMT in 13473 [\\/]* | ?:[\\/]*) 13474 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 13475 ;; 13476 *) 13477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13478for as_dir in $PATH 13479do 13480 IFS=$as_save_IFS 13481 test -z "$as_dir" && as_dir=. 13482 for ac_exec_ext in '' $ac_executable_extensions; do 13483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13484 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 13485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13486 break 2 13487 fi 13488done 13489 done 13490IFS=$as_save_IFS 13491 13492 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 13493 ;; 13494esac 13495fi 13496GMSGFMT=$ac_cv_path_GMSGFMT 13497if test -n "$GMSGFMT"; then 13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 13499$as_echo "$GMSGFMT" >&6; } 13500else 13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13502$as_echo "no" >&6; } 13503fi 13504 13505 13506if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 13507 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 13508fi 13509xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 13510mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 13511mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 13512if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 13513 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 13514fi 13515 13516# Extract the first word of "perl", so it can be a program name with args. 13517set dummy perl; ac_word=$2 13518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13519$as_echo_n "checking for $ac_word... " >&6; } 13520if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 13521 $as_echo_n "(cached) " >&6 13522else 13523 case $INTLTOOL_PERL in 13524 [\\/]* | ?:[\\/]*) 13525 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 13526 ;; 13527 *) 13528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13529for as_dir in $PATH 13530do 13531 IFS=$as_save_IFS 13532 test -z "$as_dir" && as_dir=. 13533 for ac_exec_ext in '' $ac_executable_extensions; do 13534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13535 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 13536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13537 break 2 13538 fi 13539done 13540 done 13541IFS=$as_save_IFS 13542 13543 ;; 13544esac 13545fi 13546INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 13547if test -n "$INTLTOOL_PERL"; then 13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 13549$as_echo "$INTLTOOL_PERL" >&6; } 13550else 13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13552$as_echo "no" >&6; } 13553fi 13554 13555 13556if test -z "$INTLTOOL_PERL"; then 13557 as_fn_error $? "perl not found" "$LINENO" 5 13558fi 13559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 13560$as_echo_n "checking for perl >= 5.8.1... " >&6; } 13561$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 13562if test $? -ne 0; then 13563 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 13564else 13565 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 13567$as_echo "$IT_PERL_VERSION" >&6; } 13568fi 13569if test "x" != "xno-xml"; then 13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 13571$as_echo_n "checking for XML::Parser... " >&6; } 13572 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 13574$as_echo "ok" >&6; } 13575 else 13576 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 13577 fi 13578fi 13579 13580# Substitute ALL_LINGUAS so we can use it in po/Makefile 13581 13582 13583 13584 13585 13586 13587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 13588$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 13589if ${ac_cv_c_const+:} false; then : 13590 $as_echo_n "(cached) " >&6 13591else 13592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13593/* end confdefs.h. */ 13594 13595int 13596main () 13597{ 13598 13599#ifndef __cplusplus 13600 /* Ultrix mips cc rejects this sort of thing. */ 13601 typedef int charset[2]; 13602 const charset cs = { 0, 0 }; 13603 /* SunOS 4.1.1 cc rejects this. */ 13604 char const *const *pcpcc; 13605 char **ppc; 13606 /* NEC SVR4.0.2 mips cc rejects this. */ 13607 struct point {int x, y;}; 13608 static struct point const zero = {0,0}; 13609 /* AIX XL C 1.02.0.0 rejects this. 13610 It does not let you subtract one const X* pointer from another in 13611 an arm of an if-expression whose if-part is not a constant 13612 expression */ 13613 const char *g = "string"; 13614 pcpcc = &g + (g ? g-g : 0); 13615 /* HPUX 7.0 cc rejects these. */ 13616 ++pcpcc; 13617 ppc = (char**) pcpcc; 13618 pcpcc = (char const *const *) ppc; 13619 { /* SCO 3.2v4 cc rejects this sort of thing. */ 13620 char tx; 13621 char *t = &tx; 13622 char const *s = 0 ? (char *) 0 : (char const *) 0; 13623 13624 *t++ = 0; 13625 if (s) return 0; 13626 } 13627 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 13628 int x[] = {25, 17}; 13629 const int *foo = &x[0]; 13630 ++foo; 13631 } 13632 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 13633 typedef const int *iptr; 13634 iptr p = 0; 13635 ++p; 13636 } 13637 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 13638 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 13639 struct s { int j; const int *ap[3]; } bx; 13640 struct s *b = &bx; b->j = 5; 13641 } 13642 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 13643 const int foo = 10; 13644 if (!foo) return 0; 13645 } 13646 return !cs[0] && !zero.x; 13647#endif 13648 13649 ; 13650 return 0; 13651} 13652_ACEOF 13653if ac_fn_c_try_compile "$LINENO"; then : 13654 ac_cv_c_const=yes 13655else 13656 ac_cv_c_const=no 13657fi 13658rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13659fi 13660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 13661$as_echo "$ac_cv_c_const" >&6; } 13662if test $ac_cv_c_const = no; then 13663 13664$as_echo "#define const /**/" >>confdefs.h 13665 13666fi 13667 13668 13669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 13670$as_echo_n "checking for ANSI C header files... " >&6; } 13671if ${ac_cv_header_stdc+:} false; then : 13672 $as_echo_n "(cached) " >&6 13673else 13674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13675/* end confdefs.h. */ 13676#include <stdlib.h> 13677#include <stdarg.h> 13678#include <string.h> 13679#include <float.h> 13680 13681int 13682main () 13683{ 13684 13685 ; 13686 return 0; 13687} 13688_ACEOF 13689if ac_fn_c_try_compile "$LINENO"; then : 13690 ac_cv_header_stdc=yes 13691else 13692 ac_cv_header_stdc=no 13693fi 13694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13695 13696if test $ac_cv_header_stdc = yes; then 13697 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13699/* end confdefs.h. */ 13700#include <string.h> 13701 13702_ACEOF 13703if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13704 $EGREP "memchr" >/dev/null 2>&1; then : 13705 13706else 13707 ac_cv_header_stdc=no 13708fi 13709rm -f conftest* 13710 13711fi 13712 13713if test $ac_cv_header_stdc = yes; then 13714 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13716/* end confdefs.h. */ 13717#include <stdlib.h> 13718 13719_ACEOF 13720if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13721 $EGREP "free" >/dev/null 2>&1; then : 13722 13723else 13724 ac_cv_header_stdc=no 13725fi 13726rm -f conftest* 13727 13728fi 13729 13730if test $ac_cv_header_stdc = yes; then 13731 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13732 if test "$cross_compiling" = yes; then : 13733 : 13734else 13735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13736/* end confdefs.h. */ 13737#include <ctype.h> 13738#include <stdlib.h> 13739#if ((' ' & 0x0FF) == 0x020) 13740# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13741# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13742#else 13743# define ISLOWER(c) \ 13744 (('a' <= (c) && (c) <= 'i') \ 13745 || ('j' <= (c) && (c) <= 'r') \ 13746 || ('s' <= (c) && (c) <= 'z')) 13747# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13748#endif 13749 13750#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13751int 13752main () 13753{ 13754 int i; 13755 for (i = 0; i < 256; i++) 13756 if (XOR (islower (i), ISLOWER (i)) 13757 || toupper (i) != TOUPPER (i)) 13758 return 2; 13759 return 0; 13760} 13761_ACEOF 13762if ac_fn_c_try_run "$LINENO"; then : 13763 13764else 13765 ac_cv_header_stdc=no 13766fi 13767rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13768 conftest.$ac_objext conftest.beam conftest.$ac_ext 13769fi 13770 13771fi 13772fi 13773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 13774$as_echo "$ac_cv_header_stdc" >&6; } 13775if test $ac_cv_header_stdc = yes; then 13776 13777$as_echo "#define STDC_HEADERS 1" >>confdefs.h 13778 13779fi 13780 13781for ac_header in stdlib.h string.h 13782do : 13783 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13784ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13785if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13786 cat >>confdefs.h <<_ACEOF 13787#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13788_ACEOF 13789 13790fi 13791 13792done 13793 13794 13795 13796 GETTEXT_PACKAGE=xfce4-taskmanager 13797 13798cat >>confdefs.h <<_ACEOF 13799#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 13800_ACEOF 13801 13802 13803 13804 ALL_LINGUAS="ar ast be bg ca cs da de el en_AU en_GB es et eu fi fr gl he hr hu hy_AM hye id ie is it ja kk ko lt lv ms nb nl oc pa pl pt pt_BR ru si sk sl sq sr sv te th tr ug uk ur ur_PK vi zh_CN zh_HK zh_TW" 13805 13806 for ac_header in locale.h 13807do : 13808 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 13809if test "x$ac_cv_header_locale_h" = xyes; then : 13810 cat >>confdefs.h <<_ACEOF 13811#define HAVE_LOCALE_H 1 13812_ACEOF 13813 13814fi 13815 13816done 13817 13818 if test $ac_cv_header_locale_h = yes; then 13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 13820$as_echo_n "checking for LC_MESSAGES... " >&6; } 13821if ${am_cv_val_LC_MESSAGES+:} false; then : 13822 $as_echo_n "(cached) " >&6 13823else 13824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13825/* end confdefs.h. */ 13826#include <locale.h> 13827int 13828main () 13829{ 13830return LC_MESSAGES 13831 ; 13832 return 0; 13833} 13834_ACEOF 13835if ac_fn_c_try_link "$LINENO"; then : 13836 am_cv_val_LC_MESSAGES=yes 13837else 13838 am_cv_val_LC_MESSAGES=no 13839fi 13840rm -f core conftest.err conftest.$ac_objext \ 13841 conftest$ac_exeext conftest.$ac_ext 13842fi 13843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 13844$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 13845 if test $am_cv_val_LC_MESSAGES = yes; then 13846 13847$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 13848 13849 fi 13850 fi 13851 USE_NLS=yes 13852 13853 13854 gt_cv_have_gettext=no 13855 13856 CATOBJEXT=NONE 13857 XGETTEXT=: 13858 INTLLIBS= 13859 13860 13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 13862$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 13863if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 13864 $as_echo_n "(cached) " >&6 13865else 13866 gt_save_LIBS="$LIBS" 13867 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13869/* end confdefs.h. */ 13870#include <CoreFoundation/CFPreferences.h> 13871int 13872main () 13873{ 13874CFPreferencesCopyAppValue(NULL, NULL) 13875 ; 13876 return 0; 13877} 13878_ACEOF 13879if ac_fn_c_try_link "$LINENO"; then : 13880 gt_cv_func_CFPreferencesCopyAppValue=yes 13881else 13882 gt_cv_func_CFPreferencesCopyAppValue=no 13883fi 13884rm -f core conftest.err conftest.$ac_objext \ 13885 conftest$ac_exeext conftest.$ac_ext 13886 LIBS="$gt_save_LIBS" 13887fi 13888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 13889$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 13890 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 13891 13892$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 13893 13894 fi 13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 13896$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 13897if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 13898 $as_echo_n "(cached) " >&6 13899else 13900 gt_save_LIBS="$LIBS" 13901 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 13902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13903/* end confdefs.h. */ 13904#include <CoreFoundation/CFLocale.h> 13905int 13906main () 13907{ 13908CFLocaleCopyCurrent(); 13909 ; 13910 return 0; 13911} 13912_ACEOF 13913if ac_fn_c_try_link "$LINENO"; then : 13914 gt_cv_func_CFLocaleCopyCurrent=yes 13915else 13916 gt_cv_func_CFLocaleCopyCurrent=no 13917fi 13918rm -f core conftest.err conftest.$ac_objext \ 13919 conftest$ac_exeext conftest.$ac_ext 13920 LIBS="$gt_save_LIBS" 13921fi 13922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 13923$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 13924 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 13925 13926$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 13927 13928 fi 13929 INTL_MACOSX_LIBS= 13930 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 13931 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 13932 fi 13933 13934 13935 13936 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 13937if test "x$ac_cv_header_libintl_h" = xyes; then : 13938 gt_cv_func_dgettext_libintl="no" 13939 libintl_extra_libs="" 13940 13941 # 13942 # First check in libc 13943 # 13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 13945$as_echo_n "checking for ngettext in libc... " >&6; } 13946if ${gt_cv_func_ngettext_libc+:} false; then : 13947 $as_echo_n "(cached) " >&6 13948else 13949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13950/* end confdefs.h. */ 13951 13952#include <libintl.h> 13953 13954int 13955main () 13956{ 13957return !ngettext ("","", 1) 13958 ; 13959 return 0; 13960} 13961_ACEOF 13962if ac_fn_c_try_link "$LINENO"; then : 13963 gt_cv_func_ngettext_libc=yes 13964else 13965 gt_cv_func_ngettext_libc=no 13966fi 13967rm -f core conftest.err conftest.$ac_objext \ 13968 conftest$ac_exeext conftest.$ac_ext 13969 13970fi 13971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 13972$as_echo "$gt_cv_func_ngettext_libc" >&6; } 13973 13974 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 13976$as_echo_n "checking for dgettext in libc... " >&6; } 13977if ${gt_cv_func_dgettext_libc+:} false; then : 13978 $as_echo_n "(cached) " >&6 13979else 13980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13981/* end confdefs.h. */ 13982 13983#include <libintl.h> 13984 13985int 13986main () 13987{ 13988return !dgettext ("","") 13989 ; 13990 return 0; 13991} 13992_ACEOF 13993if ac_fn_c_try_link "$LINENO"; then : 13994 gt_cv_func_dgettext_libc=yes 13995else 13996 gt_cv_func_dgettext_libc=no 13997fi 13998rm -f core conftest.err conftest.$ac_objext \ 13999 conftest$ac_exeext conftest.$ac_ext 14000 14001fi 14002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 14003$as_echo "$gt_cv_func_dgettext_libc" >&6; } 14004 fi 14005 14006 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 14007 for ac_func in bind_textdomain_codeset 14008do : 14009 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14010if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14011 cat >>confdefs.h <<_ACEOF 14012#define HAVE_BIND_TEXTDOMAIN_CODESET 1 14013_ACEOF 14014 14015fi 14016done 14017 14018 fi 14019 14020 # 14021 # If we don't have everything we want, check in libintl 14022 # 14023 if test "$gt_cv_func_dgettext_libc" != "yes" \ 14024 || test "$gt_cv_func_ngettext_libc" != "yes" \ 14025 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 14026 14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 14028$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 14029if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 14030 $as_echo_n "(cached) " >&6 14031else 14032 ac_check_lib_save_LIBS=$LIBS 14033LIBS="-lintl $LIBS" 14034cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14035/* end confdefs.h. */ 14036 14037/* Override any GCC internal prototype to avoid an error. 14038 Use char because int might match the return type of a GCC 14039 builtin and then its argument prototype would still apply. */ 14040#ifdef __cplusplus 14041extern "C" 14042#endif 14043char bindtextdomain (); 14044int 14045main () 14046{ 14047return bindtextdomain (); 14048 ; 14049 return 0; 14050} 14051_ACEOF 14052if ac_fn_c_try_link "$LINENO"; then : 14053 ac_cv_lib_intl_bindtextdomain=yes 14054else 14055 ac_cv_lib_intl_bindtextdomain=no 14056fi 14057rm -f core conftest.err conftest.$ac_objext \ 14058 conftest$ac_exeext conftest.$ac_ext 14059LIBS=$ac_check_lib_save_LIBS 14060fi 14061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 14062$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 14063if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 14064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 14065$as_echo_n "checking for ngettext in -lintl... " >&6; } 14066if ${ac_cv_lib_intl_ngettext+:} false; then : 14067 $as_echo_n "(cached) " >&6 14068else 14069 ac_check_lib_save_LIBS=$LIBS 14070LIBS="-lintl $LIBS" 14071cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14072/* end confdefs.h. */ 14073 14074/* Override any GCC internal prototype to avoid an error. 14075 Use char because int might match the return type of a GCC 14076 builtin and then its argument prototype would still apply. */ 14077#ifdef __cplusplus 14078extern "C" 14079#endif 14080char ngettext (); 14081int 14082main () 14083{ 14084return ngettext (); 14085 ; 14086 return 0; 14087} 14088_ACEOF 14089if ac_fn_c_try_link "$LINENO"; then : 14090 ac_cv_lib_intl_ngettext=yes 14091else 14092 ac_cv_lib_intl_ngettext=no 14093fi 14094rm -f core conftest.err conftest.$ac_objext \ 14095 conftest$ac_exeext conftest.$ac_ext 14096LIBS=$ac_check_lib_save_LIBS 14097fi 14098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 14099$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 14100if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 14102$as_echo_n "checking for dgettext in -lintl... " >&6; } 14103if ${ac_cv_lib_intl_dgettext+:} false; then : 14104 $as_echo_n "(cached) " >&6 14105else 14106 ac_check_lib_save_LIBS=$LIBS 14107LIBS="-lintl $LIBS" 14108cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14109/* end confdefs.h. */ 14110 14111/* Override any GCC internal prototype to avoid an error. 14112 Use char because int might match the return type of a GCC 14113 builtin and then its argument prototype would still apply. */ 14114#ifdef __cplusplus 14115extern "C" 14116#endif 14117char dgettext (); 14118int 14119main () 14120{ 14121return dgettext (); 14122 ; 14123 return 0; 14124} 14125_ACEOF 14126if ac_fn_c_try_link "$LINENO"; then : 14127 ac_cv_lib_intl_dgettext=yes 14128else 14129 ac_cv_lib_intl_dgettext=no 14130fi 14131rm -f core conftest.err conftest.$ac_objext \ 14132 conftest$ac_exeext conftest.$ac_ext 14133LIBS=$ac_check_lib_save_LIBS 14134fi 14135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 14136$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 14137if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 14138 gt_cv_func_dgettext_libintl=yes 14139fi 14140 14141fi 14142 14143fi 14144 14145 14146 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 14148$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 14150$as_echo "" >&6; } 14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 14152$as_echo_n "checking for ngettext in -lintl... " >&6; } 14153if ${ac_cv_lib_intl_ngettext+:} false; then : 14154 $as_echo_n "(cached) " >&6 14155else 14156 ac_check_lib_save_LIBS=$LIBS 14157LIBS="-lintl -liconv $LIBS" 14158cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14159/* end confdefs.h. */ 14160 14161/* Override any GCC internal prototype to avoid an error. 14162 Use char because int might match the return type of a GCC 14163 builtin and then its argument prototype would still apply. */ 14164#ifdef __cplusplus 14165extern "C" 14166#endif 14167char ngettext (); 14168int 14169main () 14170{ 14171return ngettext (); 14172 ; 14173 return 0; 14174} 14175_ACEOF 14176if ac_fn_c_try_link "$LINENO"; then : 14177 ac_cv_lib_intl_ngettext=yes 14178else 14179 ac_cv_lib_intl_ngettext=no 14180fi 14181rm -f core conftest.err conftest.$ac_objext \ 14182 conftest$ac_exeext conftest.$ac_ext 14183LIBS=$ac_check_lib_save_LIBS 14184fi 14185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 14186$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 14187if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 14189$as_echo_n "checking for dcgettext in -lintl... " >&6; } 14190if ${ac_cv_lib_intl_dcgettext+:} false; then : 14191 $as_echo_n "(cached) " >&6 14192else 14193 ac_check_lib_save_LIBS=$LIBS 14194LIBS="-lintl -liconv $LIBS" 14195cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14196/* end confdefs.h. */ 14197 14198/* Override any GCC internal prototype to avoid an error. 14199 Use char because int might match the return type of a GCC 14200 builtin and then its argument prototype would still apply. */ 14201#ifdef __cplusplus 14202extern "C" 14203#endif 14204char dcgettext (); 14205int 14206main () 14207{ 14208return dcgettext (); 14209 ; 14210 return 0; 14211} 14212_ACEOF 14213if ac_fn_c_try_link "$LINENO"; then : 14214 ac_cv_lib_intl_dcgettext=yes 14215else 14216 ac_cv_lib_intl_dcgettext=no 14217fi 14218rm -f core conftest.err conftest.$ac_objext \ 14219 conftest$ac_exeext conftest.$ac_ext 14220LIBS=$ac_check_lib_save_LIBS 14221fi 14222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 14223$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 14224if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 14225 gt_cv_func_dgettext_libintl=yes 14226 libintl_extra_libs=-liconv 14227else 14228 : 14229fi 14230 14231else 14232 : 14233fi 14234 14235 fi 14236 14237 # 14238 # If we found libintl, then check in it for bind_textdomain_codeset(); 14239 # we'll prefer libc if neither have bind_textdomain_codeset(), 14240 # and both have dgettext and ngettext 14241 # 14242 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 14243 glib_save_LIBS="$LIBS" 14244 LIBS="$LIBS -lintl $libintl_extra_libs" 14245 unset ac_cv_func_bind_textdomain_codeset 14246 for ac_func in bind_textdomain_codeset 14247do : 14248 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14249if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14250 cat >>confdefs.h <<_ACEOF 14251#define HAVE_BIND_TEXTDOMAIN_CODESET 1 14252_ACEOF 14253 14254fi 14255done 14256 14257 LIBS="$glib_save_LIBS" 14258 14259 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 14260 gt_cv_func_dgettext_libc=no 14261 else 14262 if test "$gt_cv_func_dgettext_libc" = "yes" \ 14263 && test "$gt_cv_func_ngettext_libc" = "yes"; then 14264 gt_cv_func_dgettext_libintl=no 14265 fi 14266 fi 14267 fi 14268 fi 14269 14270 if test "$gt_cv_func_dgettext_libc" = "yes" \ 14271 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 14272 gt_cv_have_gettext=yes 14273 fi 14274 14275 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 14276 INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS" 14277 fi 14278 14279 if test "$gt_cv_have_gettext" = "yes"; then 14280 14281$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 14282 14283 # Extract the first word of "msgfmt", so it can be a program name with args. 14284set dummy msgfmt; ac_word=$2 14285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14286$as_echo_n "checking for $ac_word... " >&6; } 14287if ${ac_cv_path_MSGFMT+:} false; then : 14288 $as_echo_n "(cached) " >&6 14289else 14290 case "$MSGFMT" in 14291 /*) 14292 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 14293 ;; 14294 *) 14295 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 14296 for ac_dir in $PATH; do 14297 test -z "$ac_dir" && ac_dir=. 14298 if test -f $ac_dir/$ac_word; then 14299 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 14300 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 14301 break 14302 fi 14303 fi 14304 done 14305 IFS="$ac_save_ifs" 14306 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 14307 ;; 14308esac 14309fi 14310MSGFMT="$ac_cv_path_MSGFMT" 14311if test "$MSGFMT" != "no"; then 14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 14313$as_echo "$MSGFMT" >&6; } 14314else 14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14316$as_echo "no" >&6; } 14317fi 14318 if test "$MSGFMT" != "no"; then 14319 glib_save_LIBS="$LIBS" 14320 LIBS="$LIBS $INTLLIBS" 14321 for ac_func in dcgettext 14322do : 14323 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 14324if test "x$ac_cv_func_dcgettext" = xyes; then : 14325 cat >>confdefs.h <<_ACEOF 14326#define HAVE_DCGETTEXT 1 14327_ACEOF 14328 14329fi 14330done 14331 14332 MSGFMT_OPTS= 14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 14334$as_echo_n "checking if msgfmt accepts -c... " >&6; } 14335 cat >conftest.foo <<_ACEOF 14336 14337msgid "" 14338msgstr "" 14339"Content-Type: text/plain; charset=UTF-8\n" 14340"Project-Id-Version: test 1.0\n" 14341"PO-Revision-Date: 2007-02-15 12:01+0100\n" 14342"Last-Translator: test <foo@bar.xx>\n" 14343"Language-Team: C <LL@li.org>\n" 14344"MIME-Version: 1.0\n" 14345"Content-Transfer-Encoding: 8bit\n" 14346 14347_ACEOF 14348if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 14349 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 14350 ac_status=$? 14351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14352 test $ac_status = 0; }; then 14353 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14354$as_echo "yes" >&6; } 14355else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14356$as_echo "no" >&6; } 14357echo "$as_me: failed input was:" >&5 14358sed 's/^/| /' conftest.foo >&5 14359fi 14360 14361 # Extract the first word of "gmsgfmt", so it can be a program name with args. 14362set dummy gmsgfmt; ac_word=$2 14363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14364$as_echo_n "checking for $ac_word... " >&6; } 14365if ${ac_cv_path_GMSGFMT+:} false; then : 14366 $as_echo_n "(cached) " >&6 14367else 14368 case $GMSGFMT in 14369 [\\/]* | ?:[\\/]*) 14370 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 14371 ;; 14372 *) 14373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14374for as_dir in $PATH 14375do 14376 IFS=$as_save_IFS 14377 test -z "$as_dir" && as_dir=. 14378 for ac_exec_ext in '' $ac_executable_extensions; do 14379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14380 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 14381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14382 break 2 14383 fi 14384done 14385 done 14386IFS=$as_save_IFS 14387 14388 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 14389 ;; 14390esac 14391fi 14392GMSGFMT=$ac_cv_path_GMSGFMT 14393if test -n "$GMSGFMT"; then 14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 14395$as_echo "$GMSGFMT" >&6; } 14396else 14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14398$as_echo "no" >&6; } 14399fi 14400 14401 14402 # Extract the first word of "xgettext", so it can be a program name with args. 14403set dummy xgettext; ac_word=$2 14404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14405$as_echo_n "checking for $ac_word... " >&6; } 14406if ${ac_cv_path_XGETTEXT+:} false; then : 14407 $as_echo_n "(cached) " >&6 14408else 14409 case "$XGETTEXT" in 14410 /*) 14411 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 14412 ;; 14413 *) 14414 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 14415 for ac_dir in $PATH; do 14416 test -z "$ac_dir" && ac_dir=. 14417 if test -f $ac_dir/$ac_word; then 14418 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 14419 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 14420 break 14421 fi 14422 fi 14423 done 14424 IFS="$ac_save_ifs" 14425 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 14426 ;; 14427esac 14428fi 14429XGETTEXT="$ac_cv_path_XGETTEXT" 14430if test "$XGETTEXT" != ":"; then 14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 14432$as_echo "$XGETTEXT" >&6; } 14433else 14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14435$as_echo "no" >&6; } 14436fi 14437 14438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14439/* end confdefs.h. */ 14440 14441int 14442main () 14443{ 14444extern int _nl_msg_cat_cntr; 14445 return _nl_msg_cat_cntr 14446 ; 14447 return 0; 14448} 14449_ACEOF 14450if ac_fn_c_try_link "$LINENO"; then : 14451 CATOBJEXT=.gmo 14452 DATADIRNAME=share 14453else 14454 case $host in 14455 *-*-solaris*) 14456 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14457if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14458 CATOBJEXT=.gmo 14459 DATADIRNAME=share 14460else 14461 CATOBJEXT=.mo 14462 DATADIRNAME=lib 14463fi 14464 14465 ;; 14466 *-*-openbsd*) 14467 CATOBJEXT=.mo 14468 DATADIRNAME=share 14469 ;; 14470 *) 14471 CATOBJEXT=.mo 14472 DATADIRNAME=lib 14473 ;; 14474 esac 14475fi 14476rm -f core conftest.err conftest.$ac_objext \ 14477 conftest$ac_exeext conftest.$ac_ext 14478 LIBS="$glib_save_LIBS" 14479 INSTOBJEXT=.mo 14480 else 14481 gt_cv_have_gettext=no 14482 fi 14483 fi 14484 14485fi 14486 14487 14488 14489 if test "$gt_cv_have_gettext" = "yes" ; then 14490 14491$as_echo "#define ENABLE_NLS 1" >>confdefs.h 14492 14493 fi 14494 14495 if test "$XGETTEXT" != ":"; then 14496 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 14497 : ; 14498 else 14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 14500$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 14501 XGETTEXT=":" 14502 fi 14503 fi 14504 14505 # We need to process the po/ directory. 14506 POSUB=po 14507 14508 ac_config_commands="$ac_config_commands default-1" 14509 14510 14511 for lang in $ALL_LINGUAS; do 14512 GMOFILES="$GMOFILES $lang.gmo" 14513 POFILES="$POFILES $lang.po" 14514 done 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 if test "$gt_cv_have_gettext" = "yes"; then 14529 if test "x$ALL_LINGUAS" = "x"; then 14530 LINGUAS= 14531 else 14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 14533$as_echo_n "checking for catalogs to be installed... " >&6; } 14534 NEW_LINGUAS= 14535 for presentlang in $ALL_LINGUAS; do 14536 useit=no 14537 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 14538 desiredlanguages="$LINGUAS" 14539 else 14540 desiredlanguages="$ALL_LINGUAS" 14541 fi 14542 for desiredlang in $desiredlanguages; do 14543 # Use the presentlang catalog if desiredlang is 14544 # a. equal to presentlang, or 14545 # b. a variant of presentlang (because in this case, 14546 # presentlang can be used as a fallback for messages 14547 # which are not translated in the desiredlang catalog). 14548 case "$desiredlang" in 14549 "$presentlang"*) useit=yes;; 14550 esac 14551 done 14552 if test $useit = yes; then 14553 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 14554 fi 14555 done 14556 LINGUAS=$NEW_LINGUAS 14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 14558$as_echo "$LINGUAS" >&6; } 14559 fi 14560 14561 if test -n "$LINGUAS"; then 14562 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 14563 fi 14564 fi 14565 14566 MKINSTALLDIRS= 14567 if test -n "$ac_aux_dir"; then 14568 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 14569 fi 14570 if test -z "$MKINSTALLDIRS"; then 14571 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 14572 fi 14573 14574 14575 test -d po || mkdir po 14576 if test "x$srcdir" != "x."; then 14577 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 14578 posrcprefix="$srcdir/" 14579 else 14580 posrcprefix="../$srcdir/" 14581 fi 14582 else 14583 posrcprefix="../" 14584 fi 14585 rm -f po/POTFILES 14586 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 14587 < $srcdir/po/POTFILES.in > po/POTFILES 14588 14589 14590 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14591if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14592 14593fi 14594 14595 14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5 14597$as_echo_n "checking for locales directory... " >&6; } 14598 14599# Check whether --with-locales-dir was given. 14600if test "${with_locales_dir+set}" = set; then : 14601 withval=$with_locales_dir; localedir=$withval 14602else 14603 14604 if test x"$CATOBJEXT" = x".mo"; then 14605 localedir=$libdir/locale 14606 else 14607 localedir=$datarootdir/locale 14608 fi 14609 14610fi 14611 14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5 14613$as_echo "$localedir" >&6; } 14614 14615 14616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5 14617$as_echo_n "checking for additional xgettext flags... " >&6; } 14618 if test x"$XGETTEXT_ARGS" = x""; then 14619 XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8"; 14620 else 14621 XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8"; 14622 fi 14623 14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5 14625$as_echo "$XGETTEXT_ARGS" >&6; } 14626 14627 14628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 14629$as_echo_n "checking for X... " >&6; } 14630 14631 14632# Check whether --with-x was given. 14633if test "${with_x+set}" = set; then : 14634 withval=$with_x; 14635fi 14636 14637# $have_x is `yes', `no', `disabled', or empty when we do not yet know. 14638if test "x$with_x" = xno; then 14639 # The user explicitly disabled X. 14640 have_x=disabled 14641else 14642 case $x_includes,$x_libraries in #( 14643 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 14644 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 14645 $as_echo_n "(cached) " >&6 14646else 14647 # One or both of the vars are not set, and there is no cached value. 14648ac_x_includes=no ac_x_libraries=no 14649rm -f -r conftest.dir 14650if mkdir conftest.dir; then 14651 cd conftest.dir 14652 cat >Imakefile <<'_ACEOF' 14653incroot: 14654 @echo incroot='${INCROOT}' 14655usrlibdir: 14656 @echo usrlibdir='${USRLIBDIR}' 14657libdir: 14658 @echo libdir='${LIBDIR}' 14659_ACEOF 14660 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 14661 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 14662 for ac_var in incroot usrlibdir libdir; do 14663 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 14664 done 14665 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 14666 for ac_extension in a so sl dylib la dll; do 14667 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 14668 test -f "$ac_im_libdir/libX11.$ac_extension"; then 14669 ac_im_usrlibdir=$ac_im_libdir; break 14670 fi 14671 done 14672 # Screen out bogus values from the imake configuration. They are 14673 # bogus both because they are the default anyway, and because 14674 # using them would break gcc on systems where it needs fixed includes. 14675 case $ac_im_incroot in 14676 /usr/include) ac_x_includes= ;; 14677 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 14678 esac 14679 case $ac_im_usrlibdir in 14680 /usr/lib | /usr/lib64 | /lib | /lib64) ;; 14681 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 14682 esac 14683 fi 14684 cd .. 14685 rm -f -r conftest.dir 14686fi 14687 14688# Standard set of common directories for X headers. 14689# Check X11 before X11Rn because it is often a symlink to the current release. 14690ac_x_header_dirs=' 14691/usr/X11/include 14692/usr/X11R7/include 14693/usr/X11R6/include 14694/usr/X11R5/include 14695/usr/X11R4/include 14696 14697/usr/include/X11 14698/usr/include/X11R7 14699/usr/include/X11R6 14700/usr/include/X11R5 14701/usr/include/X11R4 14702 14703/usr/local/X11/include 14704/usr/local/X11R7/include 14705/usr/local/X11R6/include 14706/usr/local/X11R5/include 14707/usr/local/X11R4/include 14708 14709/usr/local/include/X11 14710/usr/local/include/X11R7 14711/usr/local/include/X11R6 14712/usr/local/include/X11R5 14713/usr/local/include/X11R4 14714 14715/usr/X386/include 14716/usr/x386/include 14717/usr/XFree86/include/X11 14718 14719/usr/include 14720/usr/local/include 14721/usr/unsupported/include 14722/usr/athena/include 14723/usr/local/x11r5/include 14724/usr/lpp/Xamples/include 14725 14726/usr/openwin/include 14727/usr/openwin/share/include' 14728 14729if test "$ac_x_includes" = no; then 14730 # Guess where to find include files, by looking for Xlib.h. 14731 # First, try using that file with no special directory specified. 14732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14733/* end confdefs.h. */ 14734#include <X11/Xlib.h> 14735_ACEOF 14736if ac_fn_c_try_cpp "$LINENO"; then : 14737 # We can compile using X headers with no special include directory. 14738ac_x_includes= 14739else 14740 for ac_dir in $ac_x_header_dirs; do 14741 if test -r "$ac_dir/X11/Xlib.h"; then 14742 ac_x_includes=$ac_dir 14743 break 14744 fi 14745done 14746fi 14747rm -f conftest.err conftest.i conftest.$ac_ext 14748fi # $ac_x_includes = no 14749 14750if test "$ac_x_libraries" = no; then 14751 # Check for the libraries. 14752 # See if we find them without any special options. 14753 # Don't add to $LIBS permanently. 14754 ac_save_LIBS=$LIBS 14755 LIBS="-lX11 $LIBS" 14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14757/* end confdefs.h. */ 14758#include <X11/Xlib.h> 14759int 14760main () 14761{ 14762XrmInitialize () 14763 ; 14764 return 0; 14765} 14766_ACEOF 14767if ac_fn_c_try_link "$LINENO"; then : 14768 LIBS=$ac_save_LIBS 14769# We can link X programs with no special library path. 14770ac_x_libraries= 14771else 14772 LIBS=$ac_save_LIBS 14773for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 14774do 14775 # Don't even attempt the hair of trying to link an X program! 14776 for ac_extension in a so sl dylib la dll; do 14777 if test -r "$ac_dir/libX11.$ac_extension"; then 14778 ac_x_libraries=$ac_dir 14779 break 2 14780 fi 14781 done 14782done 14783fi 14784rm -f core conftest.err conftest.$ac_objext \ 14785 conftest$ac_exeext conftest.$ac_ext 14786fi # $ac_x_libraries = no 14787 14788case $ac_x_includes,$ac_x_libraries in #( 14789 no,* | *,no | *\'*) 14790 # Didn't find X, or a directory has "'" in its name. 14791 ac_cv_have_x="have_x=no";; #( 14792 *) 14793 # Record where we found X for the cache. 14794 ac_cv_have_x="have_x=yes\ 14795 ac_x_includes='$ac_x_includes'\ 14796 ac_x_libraries='$ac_x_libraries'" 14797esac 14798fi 14799;; #( 14800 *) have_x=yes;; 14801 esac 14802 eval "$ac_cv_have_x" 14803fi # $with_x != no 14804 14805if test "$have_x" != yes; then 14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 14807$as_echo "$have_x" >&6; } 14808 no_x=yes 14809else 14810 # If each of the values was on the command line, it overrides each guess. 14811 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 14812 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 14813 # Update the cache value to reflect the command line values. 14814 ac_cv_have_x="have_x=yes\ 14815 ac_x_includes='$x_includes'\ 14816 ac_x_libraries='$x_libraries'" 14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 14818$as_echo "libraries $x_libraries, headers $x_includes" >&6; } 14819fi 14820 14821if test "$no_x" = yes; then 14822 # Not all programs may use this symbol, but it does not hurt to define it. 14823 14824$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h 14825 14826 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= 14827else 14828 if test -n "$x_includes"; then 14829 X_CFLAGS="$X_CFLAGS -I$x_includes" 14830 fi 14831 14832 # It would also be nice to do this for all -L options, not just this one. 14833 if test -n "$x_libraries"; then 14834 X_LIBS="$X_LIBS -L$x_libraries" 14835 # For Solaris; some versions of Sun CC require a space after -R and 14836 # others require no space. Words are not sufficient . . . . 14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 14838$as_echo_n "checking whether -R must be followed by a space... " >&6; } 14839 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" 14840 ac_xsave_c_werror_flag=$ac_c_werror_flag 14841 ac_c_werror_flag=yes 14842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14843/* end confdefs.h. */ 14844 14845int 14846main () 14847{ 14848 14849 ; 14850 return 0; 14851} 14852_ACEOF 14853if ac_fn_c_try_link "$LINENO"; then : 14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14855$as_echo "no" >&6; } 14856 X_LIBS="$X_LIBS -R$x_libraries" 14857else 14858 LIBS="$ac_xsave_LIBS -R $x_libraries" 14859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14860/* end confdefs.h. */ 14861 14862int 14863main () 14864{ 14865 14866 ; 14867 return 0; 14868} 14869_ACEOF 14870if ac_fn_c_try_link "$LINENO"; then : 14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14872$as_echo "yes" >&6; } 14873 X_LIBS="$X_LIBS -R $x_libraries" 14874else 14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 14876$as_echo "neither works" >&6; } 14877fi 14878rm -f core conftest.err conftest.$ac_objext \ 14879 conftest$ac_exeext conftest.$ac_ext 14880fi 14881rm -f core conftest.err conftest.$ac_objext \ 14882 conftest$ac_exeext conftest.$ac_ext 14883 ac_c_werror_flag=$ac_xsave_c_werror_flag 14884 LIBS=$ac_xsave_LIBS 14885 fi 14886 14887 # Check for system-dependent libraries X programs must link with. 14888 # Do this before checking for the system-independent R6 libraries 14889 # (-lICE), since we may need -lsocket or whatever for X linking. 14890 14891 if test "$ISC" = yes; then 14892 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" 14893 else 14894 # Martyn Johnson says this is needed for Ultrix, if the X 14895 # libraries were built with DECnet support. And Karl Berry says 14896 # the Alpha needs dnet_stub (dnet does not exist). 14897 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" 14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14899/* end confdefs.h. */ 14900 14901/* Override any GCC internal prototype to avoid an error. 14902 Use char because int might match the return type of a GCC 14903 builtin and then its argument prototype would still apply. */ 14904#ifdef __cplusplus 14905extern "C" 14906#endif 14907char XOpenDisplay (); 14908int 14909main () 14910{ 14911return XOpenDisplay (); 14912 ; 14913 return 0; 14914} 14915_ACEOF 14916if ac_fn_c_try_link "$LINENO"; then : 14917 14918else 14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 14920$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 14921if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : 14922 $as_echo_n "(cached) " >&6 14923else 14924 ac_check_lib_save_LIBS=$LIBS 14925LIBS="-ldnet $LIBS" 14926cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14927/* end confdefs.h. */ 14928 14929/* Override any GCC internal prototype to avoid an error. 14930 Use char because int might match the return type of a GCC 14931 builtin and then its argument prototype would still apply. */ 14932#ifdef __cplusplus 14933extern "C" 14934#endif 14935char dnet_ntoa (); 14936int 14937main () 14938{ 14939return dnet_ntoa (); 14940 ; 14941 return 0; 14942} 14943_ACEOF 14944if ac_fn_c_try_link "$LINENO"; then : 14945 ac_cv_lib_dnet_dnet_ntoa=yes 14946else 14947 ac_cv_lib_dnet_dnet_ntoa=no 14948fi 14949rm -f core conftest.err conftest.$ac_objext \ 14950 conftest$ac_exeext conftest.$ac_ext 14951LIBS=$ac_check_lib_save_LIBS 14952fi 14953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 14954$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 14955if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : 14956 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 14957fi 14958 14959 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 14961$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } 14962if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : 14963 $as_echo_n "(cached) " >&6 14964else 14965 ac_check_lib_save_LIBS=$LIBS 14966LIBS="-ldnet_stub $LIBS" 14967cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14968/* end confdefs.h. */ 14969 14970/* Override any GCC internal prototype to avoid an error. 14971 Use char because int might match the return type of a GCC 14972 builtin and then its argument prototype would still apply. */ 14973#ifdef __cplusplus 14974extern "C" 14975#endif 14976char dnet_ntoa (); 14977int 14978main () 14979{ 14980return dnet_ntoa (); 14981 ; 14982 return 0; 14983} 14984_ACEOF 14985if ac_fn_c_try_link "$LINENO"; then : 14986 ac_cv_lib_dnet_stub_dnet_ntoa=yes 14987else 14988 ac_cv_lib_dnet_stub_dnet_ntoa=no 14989fi 14990rm -f core conftest.err conftest.$ac_objext \ 14991 conftest$ac_exeext conftest.$ac_ext 14992LIBS=$ac_check_lib_save_LIBS 14993fi 14994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 14995$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 14996if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : 14997 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 14998fi 14999 15000 fi 15001fi 15002rm -f core conftest.err conftest.$ac_objext \ 15003 conftest$ac_exeext conftest.$ac_ext 15004 LIBS="$ac_xsave_LIBS" 15005 15006 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, 15007 # to get the SysV transport functions. 15008 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) 15009 # needs -lnsl. 15010 # The nsl library prevents programs from opening the X display 15011 # on Irix 5.2, according to T.E. Dickey. 15012 # The functions gethostbyname, getservbyname, and inet_addr are 15013 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 15014 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 15015if test "x$ac_cv_func_gethostbyname" = xyes; then : 15016 15017fi 15018 15019 if test $ac_cv_func_gethostbyname = no; then 15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 15021$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 15022if ${ac_cv_lib_nsl_gethostbyname+:} false; then : 15023 $as_echo_n "(cached) " >&6 15024else 15025 ac_check_lib_save_LIBS=$LIBS 15026LIBS="-lnsl $LIBS" 15027cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15028/* end confdefs.h. */ 15029 15030/* Override any GCC internal prototype to avoid an error. 15031 Use char because int might match the return type of a GCC 15032 builtin and then its argument prototype would still apply. */ 15033#ifdef __cplusplus 15034extern "C" 15035#endif 15036char gethostbyname (); 15037int 15038main () 15039{ 15040return gethostbyname (); 15041 ; 15042 return 0; 15043} 15044_ACEOF 15045if ac_fn_c_try_link "$LINENO"; then : 15046 ac_cv_lib_nsl_gethostbyname=yes 15047else 15048 ac_cv_lib_nsl_gethostbyname=no 15049fi 15050rm -f core conftest.err conftest.$ac_objext \ 15051 conftest$ac_exeext conftest.$ac_ext 15052LIBS=$ac_check_lib_save_LIBS 15053fi 15054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 15055$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 15056if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : 15057 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 15058fi 15059 15060 if test $ac_cv_lib_nsl_gethostbyname = no; then 15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 15062$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } 15063if ${ac_cv_lib_bsd_gethostbyname+:} false; then : 15064 $as_echo_n "(cached) " >&6 15065else 15066 ac_check_lib_save_LIBS=$LIBS 15067LIBS="-lbsd $LIBS" 15068cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15069/* end confdefs.h. */ 15070 15071/* Override any GCC internal prototype to avoid an error. 15072 Use char because int might match the return type of a GCC 15073 builtin and then its argument prototype would still apply. */ 15074#ifdef __cplusplus 15075extern "C" 15076#endif 15077char gethostbyname (); 15078int 15079main () 15080{ 15081return gethostbyname (); 15082 ; 15083 return 0; 15084} 15085_ACEOF 15086if ac_fn_c_try_link "$LINENO"; then : 15087 ac_cv_lib_bsd_gethostbyname=yes 15088else 15089 ac_cv_lib_bsd_gethostbyname=no 15090fi 15091rm -f core conftest.err conftest.$ac_objext \ 15092 conftest$ac_exeext conftest.$ac_ext 15093LIBS=$ac_check_lib_save_LIBS 15094fi 15095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 15096$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } 15097if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : 15098 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 15099fi 15100 15101 fi 15102 fi 15103 15104 # lieder@skyler.mavd.honeywell.com says without -lsocket, 15105 # socket/setsockopt and other routines are undefined under SCO ODT 15106 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary 15107 # on later versions), says Simon Leinen: it contains gethostby* 15108 # variants that don't use the name server (or something). -lsocket 15109 # must be given before -lnsl if both are needed. We assume that 15110 # if connect needs -lnsl, so does gethostbyname. 15111 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" 15112if test "x$ac_cv_func_connect" = xyes; then : 15113 15114fi 15115 15116 if test $ac_cv_func_connect = no; then 15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 15118$as_echo_n "checking for connect in -lsocket... " >&6; } 15119if ${ac_cv_lib_socket_connect+:} false; then : 15120 $as_echo_n "(cached) " >&6 15121else 15122 ac_check_lib_save_LIBS=$LIBS 15123LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 15124cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15125/* end confdefs.h. */ 15126 15127/* Override any GCC internal prototype to avoid an error. 15128 Use char because int might match the return type of a GCC 15129 builtin and then its argument prototype would still apply. */ 15130#ifdef __cplusplus 15131extern "C" 15132#endif 15133char connect (); 15134int 15135main () 15136{ 15137return connect (); 15138 ; 15139 return 0; 15140} 15141_ACEOF 15142if ac_fn_c_try_link "$LINENO"; then : 15143 ac_cv_lib_socket_connect=yes 15144else 15145 ac_cv_lib_socket_connect=no 15146fi 15147rm -f core conftest.err conftest.$ac_objext \ 15148 conftest$ac_exeext conftest.$ac_ext 15149LIBS=$ac_check_lib_save_LIBS 15150fi 15151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 15152$as_echo "$ac_cv_lib_socket_connect" >&6; } 15153if test "x$ac_cv_lib_socket_connect" = xyes; then : 15154 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 15155fi 15156 15157 fi 15158 15159 # Guillermo Gomez says -lposix is necessary on A/UX. 15160 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" 15161if test "x$ac_cv_func_remove" = xyes; then : 15162 15163fi 15164 15165 if test $ac_cv_func_remove = no; then 15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 15167$as_echo_n "checking for remove in -lposix... " >&6; } 15168if ${ac_cv_lib_posix_remove+:} false; then : 15169 $as_echo_n "(cached) " >&6 15170else 15171 ac_check_lib_save_LIBS=$LIBS 15172LIBS="-lposix $LIBS" 15173cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15174/* end confdefs.h. */ 15175 15176/* Override any GCC internal prototype to avoid an error. 15177 Use char because int might match the return type of a GCC 15178 builtin and then its argument prototype would still apply. */ 15179#ifdef __cplusplus 15180extern "C" 15181#endif 15182char remove (); 15183int 15184main () 15185{ 15186return remove (); 15187 ; 15188 return 0; 15189} 15190_ACEOF 15191if ac_fn_c_try_link "$LINENO"; then : 15192 ac_cv_lib_posix_remove=yes 15193else 15194 ac_cv_lib_posix_remove=no 15195fi 15196rm -f core conftest.err conftest.$ac_objext \ 15197 conftest$ac_exeext conftest.$ac_ext 15198LIBS=$ac_check_lib_save_LIBS 15199fi 15200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 15201$as_echo "$ac_cv_lib_posix_remove" >&6; } 15202if test "x$ac_cv_lib_posix_remove" = xyes; then : 15203 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 15204fi 15205 15206 fi 15207 15208 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 15209 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 15210if test "x$ac_cv_func_shmat" = xyes; then : 15211 15212fi 15213 15214 if test $ac_cv_func_shmat = no; then 15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 15216$as_echo_n "checking for shmat in -lipc... " >&6; } 15217if ${ac_cv_lib_ipc_shmat+:} false; then : 15218 $as_echo_n "(cached) " >&6 15219else 15220 ac_check_lib_save_LIBS=$LIBS 15221LIBS="-lipc $LIBS" 15222cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15223/* end confdefs.h. */ 15224 15225/* Override any GCC internal prototype to avoid an error. 15226 Use char because int might match the return type of a GCC 15227 builtin and then its argument prototype would still apply. */ 15228#ifdef __cplusplus 15229extern "C" 15230#endif 15231char shmat (); 15232int 15233main () 15234{ 15235return shmat (); 15236 ; 15237 return 0; 15238} 15239_ACEOF 15240if ac_fn_c_try_link "$LINENO"; then : 15241 ac_cv_lib_ipc_shmat=yes 15242else 15243 ac_cv_lib_ipc_shmat=no 15244fi 15245rm -f core conftest.err conftest.$ac_objext \ 15246 conftest$ac_exeext conftest.$ac_ext 15247LIBS=$ac_check_lib_save_LIBS 15248fi 15249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 15250$as_echo "$ac_cv_lib_ipc_shmat" >&6; } 15251if test "x$ac_cv_lib_ipc_shmat" = xyes; then : 15252 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 15253fi 15254 15255 fi 15256 fi 15257 15258 # Check for libraries that X11R6 Xt/Xaw programs need. 15259 ac_save_LDFLAGS=$LDFLAGS 15260 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" 15261 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to 15262 # check for ICE first), but we must link in the order -lSM -lICE or 15263 # we get undefined symbols. So assume we have SM if we have ICE. 15264 # These have to be linked with before -lX11, unlike the other 15265 # libraries we check for below, so use a different variable. 15266 # John Interrante, Karl Berry 15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 15268$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } 15269if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : 15270 $as_echo_n "(cached) " >&6 15271else 15272 ac_check_lib_save_LIBS=$LIBS 15273LIBS="-lICE $X_EXTRA_LIBS $LIBS" 15274cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15275/* end confdefs.h. */ 15276 15277/* Override any GCC internal prototype to avoid an error. 15278 Use char because int might match the return type of a GCC 15279 builtin and then its argument prototype would still apply. */ 15280#ifdef __cplusplus 15281extern "C" 15282#endif 15283char IceConnectionNumber (); 15284int 15285main () 15286{ 15287return IceConnectionNumber (); 15288 ; 15289 return 0; 15290} 15291_ACEOF 15292if ac_fn_c_try_link "$LINENO"; then : 15293 ac_cv_lib_ICE_IceConnectionNumber=yes 15294else 15295 ac_cv_lib_ICE_IceConnectionNumber=no 15296fi 15297rm -f core conftest.err conftest.$ac_objext \ 15298 conftest$ac_exeext conftest.$ac_ext 15299LIBS=$ac_check_lib_save_LIBS 15300fi 15301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 15302$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 15303if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : 15304 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 15305fi 15306 15307 LDFLAGS=$ac_save_LDFLAGS 15308 15309fi 15310 15311 15312 15313 15314 LIBX11_CFLAGS= LIBX11_LDFLAGS= LIBX11_LIBS= 15315 if test x"$no_x" != x"yes"; then 15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lX11" >&5 15317$as_echo_n "checking for main in -lX11... " >&6; } 15318if ${ac_cv_lib_X11_main+:} false; then : 15319 $as_echo_n "(cached) " >&6 15320else 15321 ac_check_lib_save_LIBS=$LIBS 15322LIBS="-lX11 $X_CFLAGS $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS $LIBS" 15323cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15324/* end confdefs.h. */ 15325 15326 15327int 15328main () 15329{ 15330return main (); 15331 ; 15332 return 0; 15333} 15334_ACEOF 15335if ac_fn_c_try_link "$LINENO"; then : 15336 ac_cv_lib_X11_main=yes 15337else 15338 ac_cv_lib_X11_main=no 15339fi 15340rm -f core conftest.err conftest.$ac_objext \ 15341 conftest$ac_exeext conftest.$ac_ext 15342LIBS=$ac_check_lib_save_LIBS 15343fi 15344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_main" >&5 15345$as_echo "$ac_cv_lib_X11_main" >&6; } 15346if test "x$ac_cv_lib_X11_main" = xyes; then : 15347 15348 15349$as_echo "#define HAVE_LIBX11 1" >>confdefs.h 15350 15351 LIBX11_CFLAGS="$X_CFLAGS" 15352 for option in $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS; do 15353 case "$option" in 15354 -L*) 15355 path=`echo $option | sed 's/^-L//'` 15356 if test x"$path" != x""; then 15357 LIBX11_LDFLAGS="$LIBX11_LDFLAGS -L$path" 15358 fi 15359 ;; 15360 *) 15361 LIBX11_LIBS="$LIBX11_LIBS $option" 15362 ;; 15363 esac 15364 done 15365 if ! echo $LIBX11_LIBS | grep -- '-lX11' >/dev/null; then 15366 LIBX11_LIBS="$LIBX11_LIBS -lX11" 15367 fi 15368 15369fi 15370 15371 fi 15372 15373 15374 15375 15376 15377 15378 15379 if test x"$no_x" = x"yes"; then 15380 as_fn_error $? "X Window system libraries and header files are required" "$LINENO" 5 15381 fi 15382 15383 15384 15385 # minimum supported version of pkg-config 15386 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 15397 if test -n "$ac_tool_prefix"; then 15398 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15399set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15401$as_echo_n "checking for $ac_word... " >&6; } 15402if ${ac_cv_path_PKG_CONFIG+:} false; then : 15403 $as_echo_n "(cached) " >&6 15404else 15405 case $PKG_CONFIG in 15406 [\\/]* | ?:[\\/]*) 15407 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 15408 ;; 15409 *) 15410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15411for as_dir in $PATH 15412do 15413 IFS=$as_save_IFS 15414 test -z "$as_dir" && as_dir=. 15415 for ac_exec_ext in '' $ac_executable_extensions; do 15416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15417 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15419 break 2 15420 fi 15421done 15422 done 15423IFS=$as_save_IFS 15424 15425 ;; 15426esac 15427fi 15428PKG_CONFIG=$ac_cv_path_PKG_CONFIG 15429if test -n "$PKG_CONFIG"; then 15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15431$as_echo "$PKG_CONFIG" >&6; } 15432else 15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15434$as_echo "no" >&6; } 15435fi 15436 15437 15438fi 15439if test -z "$ac_cv_path_PKG_CONFIG"; then 15440 ac_pt_PKG_CONFIG=$PKG_CONFIG 15441 # Extract the first word of "pkg-config", so it can be a program name with args. 15442set dummy pkg-config; ac_word=$2 15443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15444$as_echo_n "checking for $ac_word... " >&6; } 15445if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 15446 $as_echo_n "(cached) " >&6 15447else 15448 case $ac_pt_PKG_CONFIG in 15449 [\\/]* | ?:[\\/]*) 15450 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 15451 ;; 15452 *) 15453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15454for as_dir in $PATH 15455do 15456 IFS=$as_save_IFS 15457 test -z "$as_dir" && as_dir=. 15458 for ac_exec_ext in '' $ac_executable_extensions; do 15459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15460 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15462 break 2 15463 fi 15464done 15465 done 15466IFS=$as_save_IFS 15467 15468 ;; 15469esac 15470fi 15471ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 15472if test -n "$ac_pt_PKG_CONFIG"; then 15473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 15474$as_echo "$ac_pt_PKG_CONFIG" >&6; } 15475else 15476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15477$as_echo "no" >&6; } 15478fi 15479 15480 if test "x$ac_pt_PKG_CONFIG" = x; then 15481 PKG_CONFIG="" 15482 else 15483 case $cross_compiling:$ac_tool_warned in 15484yes:) 15485{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15486$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15487ac_tool_warned=yes ;; 15488esac 15489 PKG_CONFIG=$ac_pt_PKG_CONFIG 15490 fi 15491else 15492 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 15493fi 15494 15495fi 15496if test -n "$PKG_CONFIG"; then 15497 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 15498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 15499$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 15500 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15502$as_echo "yes" >&6; } 15503 else 15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15505$as_echo "no" >&6; } 15506 PKG_CONFIG="" 15507 fi 15508fi 15509 15510 if test x"$PKG_CONFIG" = x""; then 15511 echo 15512 echo "*** Your version of pkg-config is too old. You need atleast" 15513 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 15514 echo "*** from the freedesktop.org software repository at" 15515 echo "***" 15516 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 15517 echo "***" 15518 exit 1; 15519 fi 15520 15521 15522 15523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmu >= 1.1.2" >&5 15524$as_echo_n "checking for xmu >= 1.1.2... " >&6; } 15525 if $PKG_CONFIG "--atleast-version=1.1.2" "xmu" >/dev/null 2>&1; then 15526 LIBXMU_VERSION=`$PKG_CONFIG --modversion "xmu"` 15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXMU_VERSION" >&5 15528$as_echo "$LIBXMU_VERSION" >&6; } 15529 15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXMU_CFLAGS" >&5 15531$as_echo_n "checking LIBXMU_CFLAGS... " >&6; } 15532 LIBXMU_CFLAGS=`$PKG_CONFIG --cflags "xmu"` 15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXMU_CFLAGS" >&5 15534$as_echo "$LIBXMU_CFLAGS" >&6; } 15535 15536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXMU_LIBS" >&5 15537$as_echo_n "checking LIBXMU_LIBS... " >&6; } 15538 LIBXMU_LIBS=`$PKG_CONFIG --libs "xmu"` 15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXMU_LIBS" >&5 15540$as_echo "$LIBXMU_LIBS" >&6; } 15541 15542 LIBXMU_REQUIRED_VERSION=1.1.2 15543 15544 15545 15546 15547 15548 15549 15550 elif $PKG_CONFIG --exists "xmu" >/dev/null 2>&1; then 15551 xdt_cv_version=`$PKG_CONFIG --modversion "xmu"` 15552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 15553$as_echo "found, but $xdt_cv_version" >&6; } 15554 15555 15556 echo "*** The required package xmu was found on your system," 15557 echo "*** but the installed version ($xdt_cv_version) is too old." 15558 echo "*** Please upgrade xmu to atleast version 1.1.2, or adjust" 15559 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 15560 echo "*** the new version of the package in a nonstandard prefix so" 15561 echo "*** pkg-config is able to find it." 15562 exit 1 15563 15564 else 15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 15566$as_echo "not found" >&6; } 15567 15568 15569 echo "*** The required package xmu was not found on your system." 15570 echo "*** Please install xmu (atleast version 1.1.2) or adjust" 15571 echo "*** the PKG_CONFIG_PATH environment variable if you" 15572 echo "*** installed the package in a nonstandard prefix so that" 15573 echo "*** pkg-config is able to find it." 15574 exit 1 15575 15576 fi 15577 15578 15579 15580 # minimum supported version of pkg-config 15581 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 15592 if test -n "$ac_tool_prefix"; then 15593 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15594set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15596$as_echo_n "checking for $ac_word... " >&6; } 15597if ${ac_cv_path_PKG_CONFIG+:} false; then : 15598 $as_echo_n "(cached) " >&6 15599else 15600 case $PKG_CONFIG in 15601 [\\/]* | ?:[\\/]*) 15602 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 15603 ;; 15604 *) 15605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15606for as_dir in $PATH 15607do 15608 IFS=$as_save_IFS 15609 test -z "$as_dir" && as_dir=. 15610 for ac_exec_ext in '' $ac_executable_extensions; do 15611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15612 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15614 break 2 15615 fi 15616done 15617 done 15618IFS=$as_save_IFS 15619 15620 ;; 15621esac 15622fi 15623PKG_CONFIG=$ac_cv_path_PKG_CONFIG 15624if test -n "$PKG_CONFIG"; then 15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15626$as_echo "$PKG_CONFIG" >&6; } 15627else 15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15629$as_echo "no" >&6; } 15630fi 15631 15632 15633fi 15634if test -z "$ac_cv_path_PKG_CONFIG"; then 15635 ac_pt_PKG_CONFIG=$PKG_CONFIG 15636 # Extract the first word of "pkg-config", so it can be a program name with args. 15637set dummy pkg-config; ac_word=$2 15638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15639$as_echo_n "checking for $ac_word... " >&6; } 15640if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 15641 $as_echo_n "(cached) " >&6 15642else 15643 case $ac_pt_PKG_CONFIG in 15644 [\\/]* | ?:[\\/]*) 15645 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 15646 ;; 15647 *) 15648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15649for as_dir in $PATH 15650do 15651 IFS=$as_save_IFS 15652 test -z "$as_dir" && as_dir=. 15653 for ac_exec_ext in '' $ac_executable_extensions; do 15654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15655 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15657 break 2 15658 fi 15659done 15660 done 15661IFS=$as_save_IFS 15662 15663 ;; 15664esac 15665fi 15666ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 15667if test -n "$ac_pt_PKG_CONFIG"; then 15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 15669$as_echo "$ac_pt_PKG_CONFIG" >&6; } 15670else 15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15672$as_echo "no" >&6; } 15673fi 15674 15675 if test "x$ac_pt_PKG_CONFIG" = x; then 15676 PKG_CONFIG="" 15677 else 15678 case $cross_compiling:$ac_tool_warned in 15679yes:) 15680{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15681$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15682ac_tool_warned=yes ;; 15683esac 15684 PKG_CONFIG=$ac_pt_PKG_CONFIG 15685 fi 15686else 15687 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 15688fi 15689 15690fi 15691if test -n "$PKG_CONFIG"; then 15692 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 15693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 15694$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 15695 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15697$as_echo "yes" >&6; } 15698 else 15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15700$as_echo "no" >&6; } 15701 PKG_CONFIG="" 15702 fi 15703fi 15704 15705 if test x"$PKG_CONFIG" = x""; then 15706 echo 15707 echo "*** Your version of pkg-config is too old. You need atleast" 15708 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 15709 echo "*** from the freedesktop.org software repository at" 15710 echo "***" 15711 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 15712 echo "***" 15713 exit 1; 15714 fi 15715 15716 15717 15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.22.0" >&5 15719$as_echo_n "checking for gtk+-3.0 >= 3.22.0... " >&6; } 15720 if $PKG_CONFIG "--atleast-version=3.22.0" "gtk+-3.0" >/dev/null 2>&1; then 15721 GTK3_VERSION=`$PKG_CONFIG --modversion "gtk+-3.0"` 15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK3_VERSION" >&5 15723$as_echo "$GTK3_VERSION" >&6; } 15724 15725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK3_CFLAGS" >&5 15726$as_echo_n "checking GTK3_CFLAGS... " >&6; } 15727 GTK3_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0"` 15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK3_CFLAGS" >&5 15729$as_echo "$GTK3_CFLAGS" >&6; } 15730 15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK3_LIBS" >&5 15732$as_echo_n "checking GTK3_LIBS... " >&6; } 15733 GTK3_LIBS=`$PKG_CONFIG --libs "gtk+-3.0"` 15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK3_LIBS" >&5 15735$as_echo "$GTK3_LIBS" >&6; } 15736 15737 GTK3_REQUIRED_VERSION=3.22.0 15738 15739 15740 15741 15742 15743 15744 15745 elif $PKG_CONFIG --exists "gtk+-3.0" >/dev/null 2>&1; then 15746 xdt_cv_version=`$PKG_CONFIG --modversion "gtk+-3.0"` 15747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 15748$as_echo "found, but $xdt_cv_version" >&6; } 15749 15750 15751 echo "*** The required package gtk+-3.0 was found on your system," 15752 echo "*** but the installed version ($xdt_cv_version) is too old." 15753 echo "*** Please upgrade gtk+-3.0 to atleast version 3.22.0, or adjust" 15754 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 15755 echo "*** the new version of the package in a nonstandard prefix so" 15756 echo "*** pkg-config is able to find it." 15757 exit 1 15758 15759 else 15760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 15761$as_echo "not found" >&6; } 15762 15763 15764 echo "*** The required package gtk+-3.0 was not found on your system." 15765 echo "*** Please install gtk+-3.0 (atleast version 3.22.0) or adjust" 15766 echo "*** the PKG_CONFIG_PATH environment variable if you" 15767 echo "*** installed the package in a nonstandard prefix so that" 15768 echo "*** pkg-config is able to find it." 15769 exit 1 15770 15771 fi 15772 15773 15774 15775 # minimum supported version of pkg-config 15776 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 15787 if test -n "$ac_tool_prefix"; then 15788 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15789set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15791$as_echo_n "checking for $ac_word... " >&6; } 15792if ${ac_cv_path_PKG_CONFIG+:} false; then : 15793 $as_echo_n "(cached) " >&6 15794else 15795 case $PKG_CONFIG in 15796 [\\/]* | ?:[\\/]*) 15797 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 15798 ;; 15799 *) 15800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15801for as_dir in $PATH 15802do 15803 IFS=$as_save_IFS 15804 test -z "$as_dir" && as_dir=. 15805 for ac_exec_ext in '' $ac_executable_extensions; do 15806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15807 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15809 break 2 15810 fi 15811done 15812 done 15813IFS=$as_save_IFS 15814 15815 ;; 15816esac 15817fi 15818PKG_CONFIG=$ac_cv_path_PKG_CONFIG 15819if test -n "$PKG_CONFIG"; then 15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15821$as_echo "$PKG_CONFIG" >&6; } 15822else 15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15824$as_echo "no" >&6; } 15825fi 15826 15827 15828fi 15829if test -z "$ac_cv_path_PKG_CONFIG"; then 15830 ac_pt_PKG_CONFIG=$PKG_CONFIG 15831 # Extract the first word of "pkg-config", so it can be a program name with args. 15832set dummy pkg-config; ac_word=$2 15833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15834$as_echo_n "checking for $ac_word... " >&6; } 15835if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 15836 $as_echo_n "(cached) " >&6 15837else 15838 case $ac_pt_PKG_CONFIG in 15839 [\\/]* | ?:[\\/]*) 15840 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 15841 ;; 15842 *) 15843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15844for as_dir in $PATH 15845do 15846 IFS=$as_save_IFS 15847 test -z "$as_dir" && as_dir=. 15848 for ac_exec_ext in '' $ac_executable_extensions; do 15849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15850 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15852 break 2 15853 fi 15854done 15855 done 15856IFS=$as_save_IFS 15857 15858 ;; 15859esac 15860fi 15861ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 15862if test -n "$ac_pt_PKG_CONFIG"; then 15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 15864$as_echo "$ac_pt_PKG_CONFIG" >&6; } 15865else 15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15867$as_echo "no" >&6; } 15868fi 15869 15870 if test "x$ac_pt_PKG_CONFIG" = x; then 15871 PKG_CONFIG="" 15872 else 15873 case $cross_compiling:$ac_tool_warned in 15874yes:) 15875{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15876$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15877ac_tool_warned=yes ;; 15878esac 15879 PKG_CONFIG=$ac_pt_PKG_CONFIG 15880 fi 15881else 15882 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 15883fi 15884 15885fi 15886if test -n "$PKG_CONFIG"; then 15887 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 15888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 15889$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 15890 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15892$as_echo "yes" >&6; } 15893 else 15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15895$as_echo "no" >&6; } 15896 PKG_CONFIG="" 15897 fi 15898fi 15899 15900 if test x"$PKG_CONFIG" = x""; then 15901 echo 15902 echo "*** Your version of pkg-config is too old. You need atleast" 15903 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 15904 echo "*** from the freedesktop.org software repository at" 15905 echo "***" 15906 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 15907 echo "***" 15908 exit 1; 15909 fi 15910 15911 15912 15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.5.0" >&5 15914$as_echo_n "checking for cairo >= 1.5.0... " >&6; } 15915 if $PKG_CONFIG "--atleast-version=1.5.0" "cairo" >/dev/null 2>&1; then 15916 CAIRO_VERSION=`$PKG_CONFIG --modversion "cairo"` 15917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_VERSION" >&5 15918$as_echo "$CAIRO_VERSION" >&6; } 15919 15920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_CFLAGS" >&5 15921$as_echo_n "checking CAIRO_CFLAGS... " >&6; } 15922 CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo"` 15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_CFLAGS" >&5 15924$as_echo "$CAIRO_CFLAGS" >&6; } 15925 15926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_LIBS" >&5 15927$as_echo_n "checking CAIRO_LIBS... " >&6; } 15928 CAIRO_LIBS=`$PKG_CONFIG --libs "cairo"` 15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_LIBS" >&5 15930$as_echo "$CAIRO_LIBS" >&6; } 15931 15932 CAIRO_REQUIRED_VERSION=1.5.0 15933 15934 15935 15936 15937 15938 15939 15940 elif $PKG_CONFIG --exists "cairo" >/dev/null 2>&1; then 15941 xdt_cv_version=`$PKG_CONFIG --modversion "cairo"` 15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 15943$as_echo "found, but $xdt_cv_version" >&6; } 15944 15945 15946 echo "*** The required package cairo was found on your system," 15947 echo "*** but the installed version ($xdt_cv_version) is too old." 15948 echo "*** Please upgrade cairo to atleast version 1.5.0, or adjust" 15949 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 15950 echo "*** the new version of the package in a nonstandard prefix so" 15951 echo "*** pkg-config is able to find it." 15952 exit 1 15953 15954 else 15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 15956$as_echo "not found" >&6; } 15957 15958 15959 echo "*** The required package cairo was not found on your system." 15960 echo "*** Please install cairo (atleast version 1.5.0) or adjust" 15961 echo "*** the PKG_CONFIG_PATH environment variable if you" 15962 echo "*** installed the package in a nonstandard prefix so that" 15963 echo "*** pkg-config is able to find it." 15964 exit 1 15965 15966 fi 15967 15968 15969 15970 15971 15972 # Check whether --enable-wnck3 was given. 15973if test "${enable_wnck3+set}" = set; then : 15974 enableval=$enable_wnck3; xdt_cv_WNCK_check=$enableval 15975else 15976 xdt_cv_WNCK_check=yes 15977fi 15978 15979 15980 if test x"$xdt_cv_WNCK_check" = x"yes"; then 15981 if $PKG_CONFIG --exists "libwnck-3.0 >= 3.2" >/dev/null 2>&1; then 15982 15983 15984 # minimum supported version of pkg-config 15985 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 15996 if test -n "$ac_tool_prefix"; then 15997 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15998set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16000$as_echo_n "checking for $ac_word... " >&6; } 16001if ${ac_cv_path_PKG_CONFIG+:} false; then : 16002 $as_echo_n "(cached) " >&6 16003else 16004 case $PKG_CONFIG in 16005 [\\/]* | ?:[\\/]*) 16006 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 16007 ;; 16008 *) 16009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16010for as_dir in $PATH 16011do 16012 IFS=$as_save_IFS 16013 test -z "$as_dir" && as_dir=. 16014 for ac_exec_ext in '' $ac_executable_extensions; do 16015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16016 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16018 break 2 16019 fi 16020done 16021 done 16022IFS=$as_save_IFS 16023 16024 ;; 16025esac 16026fi 16027PKG_CONFIG=$ac_cv_path_PKG_CONFIG 16028if test -n "$PKG_CONFIG"; then 16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 16030$as_echo "$PKG_CONFIG" >&6; } 16031else 16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16033$as_echo "no" >&6; } 16034fi 16035 16036 16037fi 16038if test -z "$ac_cv_path_PKG_CONFIG"; then 16039 ac_pt_PKG_CONFIG=$PKG_CONFIG 16040 # Extract the first word of "pkg-config", so it can be a program name with args. 16041set dummy pkg-config; ac_word=$2 16042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16043$as_echo_n "checking for $ac_word... " >&6; } 16044if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 16045 $as_echo_n "(cached) " >&6 16046else 16047 case $ac_pt_PKG_CONFIG in 16048 [\\/]* | ?:[\\/]*) 16049 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 16050 ;; 16051 *) 16052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16053for as_dir in $PATH 16054do 16055 IFS=$as_save_IFS 16056 test -z "$as_dir" && as_dir=. 16057 for ac_exec_ext in '' $ac_executable_extensions; do 16058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16059 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16061 break 2 16062 fi 16063done 16064 done 16065IFS=$as_save_IFS 16066 16067 ;; 16068esac 16069fi 16070ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 16071if test -n "$ac_pt_PKG_CONFIG"; then 16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 16073$as_echo "$ac_pt_PKG_CONFIG" >&6; } 16074else 16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16076$as_echo "no" >&6; } 16077fi 16078 16079 if test "x$ac_pt_PKG_CONFIG" = x; then 16080 PKG_CONFIG="" 16081 else 16082 case $cross_compiling:$ac_tool_warned in 16083yes:) 16084{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16085$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16086ac_tool_warned=yes ;; 16087esac 16088 PKG_CONFIG=$ac_pt_PKG_CONFIG 16089 fi 16090else 16091 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 16092fi 16093 16094fi 16095if test -n "$PKG_CONFIG"; then 16096 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 16097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 16098$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 16099 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16101$as_echo "yes" >&6; } 16102 else 16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16104$as_echo "no" >&6; } 16105 PKG_CONFIG="" 16106 fi 16107fi 16108 16109 if test x"$PKG_CONFIG" = x""; then 16110 echo 16111 echo "*** Your version of pkg-config is too old. You need atleast" 16112 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 16113 echo "*** from the freedesktop.org software repository at" 16114 echo "***" 16115 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 16116 echo "***" 16117 exit 1; 16118 fi 16119 16120 16121 16122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwnck-3.0 >= 3.2" >&5 16123$as_echo_n "checking for libwnck-3.0 >= 3.2... " >&6; } 16124 if $PKG_CONFIG "--atleast-version=3.2" "libwnck-3.0" >/dev/null 2>&1; then 16125 WNCK_VERSION=`$PKG_CONFIG --modversion "libwnck-3.0"` 16126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WNCK_VERSION" >&5 16127$as_echo "$WNCK_VERSION" >&6; } 16128 16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking WNCK_CFLAGS" >&5 16130$as_echo_n "checking WNCK_CFLAGS... " >&6; } 16131 WNCK_CFLAGS=`$PKG_CONFIG --cflags "libwnck-3.0"` 16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WNCK_CFLAGS" >&5 16133$as_echo "$WNCK_CFLAGS" >&6; } 16134 16135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking WNCK_LIBS" >&5 16136$as_echo_n "checking WNCK_LIBS... " >&6; } 16137 WNCK_LIBS=`$PKG_CONFIG --libs "libwnck-3.0"` 16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WNCK_LIBS" >&5 16139$as_echo "$WNCK_LIBS" >&6; } 16140 16141 WNCK_REQUIRED_VERSION=3.2 16142 16143 16144 16145 16146 16147 16148 16149 16150$as_echo "#define HAVE_WNCK 1" >>confdefs.h 16151 16152 WNCK_FOUND="yes" 16153 16154 elif $PKG_CONFIG --exists "libwnck-3.0" >/dev/null 2>&1; then 16155 xdt_cv_version=`$PKG_CONFIG --modversion "libwnck-3.0"` 16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 16157$as_echo "found, but $xdt_cv_version" >&6; } 16158 16159 16160 echo "*** The required package libwnck-3.0 was found on your system," 16161 echo "*** but the installed version ($xdt_cv_version) is too old." 16162 echo "*** Please upgrade libwnck-3.0 to atleast version 3.2, or adjust" 16163 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 16164 echo "*** the new version of the package in a nonstandard prefix so" 16165 echo "*** pkg-config is able to find it." 16166 exit 1 16167 16168 else 16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16170$as_echo "not found" >&6; } 16171 16172 16173 echo "*** The required package libwnck-3.0 was not found on your system." 16174 echo "*** Please install libwnck-3.0 (atleast version 3.2) or adjust" 16175 echo "*** the PKG_CONFIG_PATH environment variable if you" 16176 echo "*** installed the package in a nonstandard prefix so that" 16177 echo "*** pkg-config is able to find it." 16178 exit 1 16179 16180 fi 16181 16182 else 16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libwnck-3.0 >= 3.2" >&5 16184$as_echo_n "checking for optional package libwnck-3.0 >= 3.2... " >&6; } 16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16186$as_echo "not found" >&6; } 16187 fi 16188 else 16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libwnck-3.0" >&5 16190$as_echo_n "checking for optional package libwnck-3.0... " >&6; } 16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 16192$as_echo "disabled" >&6; } 16193 fi 16194 16195 if test x"$WNCK_FOUND" = x"yes"; then 16196 HAVE_WNCK_TRUE= 16197 HAVE_WNCK_FALSE='#' 16198else 16199 HAVE_WNCK_TRUE='#' 16200 HAVE_WNCK_FALSE= 16201fi 16202 16203 16204 16205 if test x"$WNCK_FOUND" = x"yes"; then 16206 HAVE_WNCK_TRUE= 16207 HAVE_WNCK_FALSE='#' 16208else 16209 HAVE_WNCK_TRUE='#' 16210 HAVE_WNCK_FALSE= 16211fi 16212 16213 16214# Check whether --with-skel was given. 16215if test "${with_skel+set}" = set; then : 16216 withval=$with_skel; ac_skel="$withval" 16217else 16218 ac_skel=no 16219fi 16220 16221 16222if test x"$ac_skel" = x"yes"; then 16223 ac_os_implementation="skel" 16224else 16225 case "$target_os" in 16226 freebsd*|dragonfly*) 16227 ac_os_implementation="freebsd" 16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_openfiles in -lkvm" >&5 16229$as_echo_n "checking for kvm_openfiles in -lkvm... " >&6; } 16230if ${ac_cv_lib_kvm_kvm_openfiles+:} false; then : 16231 $as_echo_n "(cached) " >&6 16232else 16233 ac_check_lib_save_LIBS=$LIBS 16234LIBS="-lkvm $LIBS" 16235cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16236/* end confdefs.h. */ 16237 16238/* Override any GCC internal prototype to avoid an error. 16239 Use char because int might match the return type of a GCC 16240 builtin and then its argument prototype would still apply. */ 16241#ifdef __cplusplus 16242extern "C" 16243#endif 16244char kvm_openfiles (); 16245int 16246main () 16247{ 16248return kvm_openfiles (); 16249 ; 16250 return 0; 16251} 16252_ACEOF 16253if ac_fn_c_try_link "$LINENO"; then : 16254 ac_cv_lib_kvm_kvm_openfiles=yes 16255else 16256 ac_cv_lib_kvm_kvm_openfiles=no 16257fi 16258rm -f core conftest.err conftest.$ac_objext \ 16259 conftest$ac_exeext conftest.$ac_ext 16260LIBS=$ac_check_lib_save_LIBS 16261fi 16262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_openfiles" >&5 16263$as_echo "$ac_cv_lib_kvm_kvm_openfiles" >&6; } 16264if test "x$ac_cv_lib_kvm_kvm_openfiles" = xyes; then : 16265 cat >>confdefs.h <<_ACEOF 16266#define HAVE_LIBKVM 1 16267_ACEOF 16268 16269 LIBS="-lkvm $LIBS" 16270 16271fi 16272 16273 for ac_header in fcntl.h kvm.h paths.h pwd.h sys/param.h sys/proc.h \ 16274 sys/sysctl.h sys/types.h sys/user.h unistd.h 16275do : 16276 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16277ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 16278if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 16279 cat >>confdefs.h <<_ACEOF 16280#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16281_ACEOF 16282 16283fi 16284 16285done 16286 16287 ;; 16288 dragonfly*|netbsd*|openbsd*|darwin*) 16289 ac_os_implementation="bsd" 16290 for ac_header in err.h pwd.h stdlib.h string.h sys/param.h sys/sched.h \ 16291 sys/swap.h sys/sysctl.h sys/types.h unistd.h 16292do : 16293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16294ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 16295if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 16296 cat >>confdefs.h <<_ACEOF 16297#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16298_ACEOF 16299 16300fi 16301 16302done 16303 16304 ;; 16305 solaris*) 16306 ac_os_implementation="solaris" 16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 16308$as_echo_n "checking for kstat_open in -lkstat... " >&6; } 16309if ${ac_cv_lib_kstat_kstat_open+:} false; then : 16310 $as_echo_n "(cached) " >&6 16311else 16312 ac_check_lib_save_LIBS=$LIBS 16313LIBS="-lkstat $LIBS" 16314cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16315/* end confdefs.h. */ 16316 16317/* Override any GCC internal prototype to avoid an error. 16318 Use char because int might match the return type of a GCC 16319 builtin and then its argument prototype would still apply. */ 16320#ifdef __cplusplus 16321extern "C" 16322#endif 16323char kstat_open (); 16324int 16325main () 16326{ 16327return kstat_open (); 16328 ; 16329 return 0; 16330} 16331_ACEOF 16332if ac_fn_c_try_link "$LINENO"; then : 16333 ac_cv_lib_kstat_kstat_open=yes 16334else 16335 ac_cv_lib_kstat_kstat_open=no 16336fi 16337rm -f core conftest.err conftest.$ac_objext \ 16338 conftest$ac_exeext conftest.$ac_ext 16339LIBS=$ac_check_lib_save_LIBS 16340fi 16341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 16342$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 16343if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then : 16344 cat >>confdefs.h <<_ACEOF 16345#define HAVE_LIBKSTAT 1 16346_ACEOF 16347 16348 LIBS="-lkstat $LIBS" 16349 16350fi 16351 16352 for ac_header in fcntl.h kstat.h procfs.h pwd.h stdlib.h string.h \ 16353 sys/procfs.h sys/stat.h sys/swap.h sys/types.h 16354do : 16355 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16356ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 16357if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 16358 cat >>confdefs.h <<_ACEOF 16359#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16360_ACEOF 16361 16362fi 16363 16364done 16365 16366 ;; 16367 linux*) 16368 ac_os_implementation="linux" 16369 for ac_header in pwd.h signal.h stdio.h string.h sys/resource.h \ 16370 sys/stat.h sys/types.h unistd.h 16371do : 16372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16373ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 16374if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 16375 cat >>confdefs.h <<_ACEOF 16376#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16377_ACEOF 16378 16379fi 16380 16381done 16382 16383 ;; 16384 *) 16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OS implementation" >&5 16386$as_echo_n "checking for OS implementation... " >&6; } 16387 as_fn_error $? "no OS implementation for $target_os is available" "$LINENO" 5 16388 ;; 16389 esac 16390fi 16391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OS implementation" >&5 16392$as_echo_n "checking for OS implementation... " >&6; } 16393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_os_implementation" >&5 16394$as_echo "$ac_os_implementation" >&6; } 16395 16396 if test x"$ac_os_implementation" = x"freebsd"; then 16397 OS_FREEBSD_TRUE= 16398 OS_FREEBSD_FALSE='#' 16399else 16400 OS_FREEBSD_TRUE='#' 16401 OS_FREEBSD_FALSE= 16402fi 16403 16404 if test x"$ac_os_implementation" = x"bsd"; then 16405 OS_BSD_TRUE= 16406 OS_BSD_FALSE='#' 16407else 16408 OS_BSD_TRUE='#' 16409 OS_BSD_FALSE= 16410fi 16411 16412 if test x"$ac_os_implementation" = x"solaris"; then 16413 OS_SOLARIS_TRUE= 16414 OS_SOLARIS_FALSE='#' 16415else 16416 OS_SOLARIS_TRUE='#' 16417 OS_SOLARIS_FALSE= 16418fi 16419 16420 if test x"$ac_os_implementation" = x"linux"; then 16421 OS_LINUX_TRUE= 16422 OS_LINUX_FALSE='#' 16423else 16424 OS_LINUX_TRUE='#' 16425 OS_LINUX_FALSE= 16426fi 16427 16428 if test x"$ac_os_implementation" = x"skel"; then 16429 OS_SKEL_TRUE= 16430 OS_SKEL_FALSE='#' 16431else 16432 OS_SKEL_TRUE='#' 16433 OS_SKEL_FALSE= 16434fi 16435 16436 16437 16438 # Check whether --enable-debug was given. 16439if test "${enable_debug+set}" = set; then : 16440 enableval=$enable_debug; enable_debug=$enableval 16441else 16442 enable_debug=minimum 16443fi 16444 16445 16446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5 16447$as_echo_n "checking whether to build with debugging support... " >&6; } 16448 if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then 16449 16450$as_echo "#define DEBUG 1" >>confdefs.h 16451 16452 16453 xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \ 16454 -Wall -Wextra \ 16455 -Wno-missing-field-initializers \ 16456 -Wno-unused-parameter -Wold-style-definition \ 16457 -Wdeclaration-after-statement \ 16458 -Wmissing-declarations \ 16459 -Wmissing-noreturn -Wpointer-arith \ 16460 -Wcast-align -Wformat -Wformat-security -Wformat-y2k \ 16461 -Winit-self -Wmissing-include-dirs -Wundef \ 16462 -Wnested-externs" 16463 CPPFLAGS="$CPPFLAGS" 16464 16465 if test x`uname` = x"Linux"; then 16466 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector" 16467 fi 16468 16469 if test x`uname` != x"OpenBSD"; then 16470 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls" 16471 fi 16472 16473 if test x"$enable_debug" = x"full"; then 16474 16475$as_echo "#define DEBUG_TRACE 1" >>confdefs.h 16476 16477 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror" 16478 CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG" 16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5 16480$as_echo "full" >&6; } 16481 else 16482 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow" 16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16484$as_echo "yes" >&6; } 16485 fi 16486 16487 16488 for flag in $xdt_cv_additional_CFLAGS; do 16489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5 16490$as_echo_n "checking if $CC supports $flag... " >&6; } 16491 saved_CFLAGS="$CFLAGS" 16492 CFLAGS="$CFLAGS $flag" 16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16494/* end confdefs.h. */ 16495 16496_ACEOF 16497if ac_fn_c_try_compile "$LINENO"; then : 16498 flag_supported=yes 16499else 16500 flag_supported=no 16501fi 16502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16503 CFLAGS="$saved_CFLAGS" 16504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5 16505$as_echo "$flag_supported" >&6; } 16506 16507 if test "x$flag_supported" = "xyes"; then 16508 supported_CFLAGS="$supported_CFLAGS $flag" 16509 fi 16510 done 16511 16512 16513 16514 supported_CXXFLAGS="$supported_CFLAGS" 16515 16516 16517 CFLAGS="$CFLAGS $supported_CFLAGS" 16518 CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS" 16519 else 16520 CPPFLAGS="$CPPFLAGS -DNDEBUG" 16521 16522 if test x"$enable_debug" = x"no"; then 16523 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT" 16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16525$as_echo "no" >&6; } 16526 else 16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5 16528$as_echo "minimum" >&6; } 16529 fi 16530 fi 16531 16532 16533ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/24x24/Makefile data/icons/48x48/Makefile data/icons/128x128/Makefile data/icons/scalable/Makefile po/Makefile.in" 16534 16535cat >confcache <<\_ACEOF 16536# This file is a shell script that caches the results of configure 16537# tests run on this system so they can be shared between configure 16538# scripts and configure runs, see configure's option --config-cache. 16539# It is not useful on other systems. If it contains results you don't 16540# want to keep, you may remove or edit it. 16541# 16542# config.status only pays attention to the cache file if you give it 16543# the --recheck option to rerun configure. 16544# 16545# `ac_cv_env_foo' variables (set or unset) will be overridden when 16546# loading this file, other *unset* `ac_cv_foo' will be assigned the 16547# following values. 16548 16549_ACEOF 16550 16551# The following way of writing the cache mishandles newlines in values, 16552# but we know of no workaround that is simple, portable, and efficient. 16553# So, we kill variables containing newlines. 16554# Ultrix sh set writes to stderr and can't be redirected directly, 16555# and sets the high bit in the cache file unless we assign to the vars. 16556( 16557 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 16558 eval ac_val=\$$ac_var 16559 case $ac_val in #( 16560 *${as_nl}*) 16561 case $ac_var in #( 16562 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16563$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16564 esac 16565 case $ac_var in #( 16566 _ | IFS | as_nl) ;; #( 16567 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16568 *) { eval $ac_var=; unset $ac_var;} ;; 16569 esac ;; 16570 esac 16571 done 16572 16573 (set) 2>&1 | 16574 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16575 *${as_nl}ac_space=\ *) 16576 # `set' does not quote correctly, so add quotes: double-quote 16577 # substitution turns \\\\ into \\, and sed turns \\ into \. 16578 sed -n \ 16579 "s/'/'\\\\''/g; 16580 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 16581 ;; #( 16582 *) 16583 # `set' quotes correctly as required by POSIX, so do not add quotes. 16584 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16585 ;; 16586 esac | 16587 sort 16588) | 16589 sed ' 16590 /^ac_cv_env_/b end 16591 t clear 16592 :clear 16593 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 16594 t end 16595 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 16596 :end' >>confcache 16597if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16598 if test -w "$cache_file"; then 16599 if test "x$cache_file" != "x/dev/null"; then 16600 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 16601$as_echo "$as_me: updating cache $cache_file" >&6;} 16602 if test ! -f "$cache_file" || test -h "$cache_file"; then 16603 cat confcache >"$cache_file" 16604 else 16605 case $cache_file in #( 16606 */* | ?:*) 16607 mv -f confcache "$cache_file"$$ && 16608 mv -f "$cache_file"$$ "$cache_file" ;; #( 16609 *) 16610 mv -f confcache "$cache_file" ;; 16611 esac 16612 fi 16613 fi 16614 else 16615 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 16616$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16617 fi 16618fi 16619rm -f confcache 16620 16621test "x$prefix" = xNONE && prefix=$ac_default_prefix 16622# Let make expand exec_prefix. 16623test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 16624 16625DEFS=-DHAVE_CONFIG_H 16626 16627ac_libobjs= 16628ac_ltlibobjs= 16629for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16630 # 1. Remove the extension, and $U if already installed. 16631 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16632 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16633 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16634 # will be set to the directory where LIBOBJS objects are built. 16635 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 16636 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16637done 16638LIBOBJS=$ac_libobjs 16639 16640LTLIBOBJS=$ac_ltlibobjs 16641 16642 16643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 16644$as_echo_n "checking that generated files are newer than configure... " >&6; } 16645 if test -n "$am_sleep_pid"; then 16646 # Hide warnings about reused PIDs. 16647 wait $am_sleep_pid 2>/dev/null 16648 fi 16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 16650$as_echo "done" >&6; } 16651 if test -n "$EXEEXT"; then 16652 am__EXEEXT_TRUE= 16653 am__EXEEXT_FALSE='#' 16654else 16655 am__EXEEXT_TRUE='#' 16656 am__EXEEXT_FALSE= 16657fi 16658 16659if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 16660 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 16661Usually this means the macro was only invoked conditionally." "$LINENO" 5 16662fi 16663if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 16664 as_fn_error $? "conditional \"AMDEP\" was never defined. 16665Usually this means the macro was only invoked conditionally." "$LINENO" 5 16666fi 16667if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16668 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16669Usually this means the macro was only invoked conditionally." "$LINENO" 5 16670fi 16671if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16672 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16673Usually this means the macro was only invoked conditionally." "$LINENO" 5 16674fi 16675 16676 ac_config_commands="$ac_config_commands po/stamp-it" 16677 16678 16679if test -z "${HAVE_WNCK_TRUE}" && test -z "${HAVE_WNCK_FALSE}"; then 16680 as_fn_error $? "conditional \"HAVE_WNCK\" was never defined. 16681Usually this means the macro was only invoked conditionally." "$LINENO" 5 16682fi 16683if test -z "${HAVE_WNCK_TRUE}" && test -z "${HAVE_WNCK_FALSE}"; then 16684 as_fn_error $? "conditional \"HAVE_WNCK\" was never defined. 16685Usually this means the macro was only invoked conditionally." "$LINENO" 5 16686fi 16687if test -z "${OS_FREEBSD_TRUE}" && test -z "${OS_FREEBSD_FALSE}"; then 16688 as_fn_error $? "conditional \"OS_FREEBSD\" was never defined. 16689Usually this means the macro was only invoked conditionally." "$LINENO" 5 16690fi 16691if test -z "${OS_BSD_TRUE}" && test -z "${OS_BSD_FALSE}"; then 16692 as_fn_error $? "conditional \"OS_BSD\" was never defined. 16693Usually this means the macro was only invoked conditionally." "$LINENO" 5 16694fi 16695if test -z "${OS_SOLARIS_TRUE}" && test -z "${OS_SOLARIS_FALSE}"; then 16696 as_fn_error $? "conditional \"OS_SOLARIS\" was never defined. 16697Usually this means the macro was only invoked conditionally." "$LINENO" 5 16698fi 16699if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then 16700 as_fn_error $? "conditional \"OS_LINUX\" was never defined. 16701Usually this means the macro was only invoked conditionally." "$LINENO" 5 16702fi 16703if test -z "${OS_SKEL_TRUE}" && test -z "${OS_SKEL_FALSE}"; then 16704 as_fn_error $? "conditional \"OS_SKEL\" was never defined. 16705Usually this means the macro was only invoked conditionally." "$LINENO" 5 16706fi 16707 16708: "${CONFIG_STATUS=./config.status}" 16709ac_write_fail=0 16710ac_clean_files_save=$ac_clean_files 16711ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16712{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 16713$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 16714as_write_fail=0 16715cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16716#! $SHELL 16717# Generated by $as_me. 16718# Run this file to recreate the current configuration. 16719# Compiler output produced by configure, useful for debugging 16720# configure, is in config.log if it exists. 16721 16722debug=false 16723ac_cs_recheck=false 16724ac_cs_silent=false 16725 16726SHELL=\${CONFIG_SHELL-$SHELL} 16727export SHELL 16728_ASEOF 16729cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 16730## -------------------- ## 16731## M4sh Initialization. ## 16732## -------------------- ## 16733 16734# Be more Bourne compatible 16735DUALCASE=1; export DUALCASE # for MKS sh 16736if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16737 emulate sh 16738 NULLCMD=: 16739 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16740 # is contrary to our usage. Disable this feature. 16741 alias -g '${1+"$@"}'='"$@"' 16742 setopt NO_GLOB_SUBST 16743else 16744 case `(set -o) 2>/dev/null` in #( 16745 *posix*) : 16746 set -o posix ;; #( 16747 *) : 16748 ;; 16749esac 16750fi 16751 16752 16753as_nl=' 16754' 16755export as_nl 16756# Printing a long string crashes Solaris 7 /usr/bin/printf. 16757as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 16758as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 16759as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 16760# Prefer a ksh shell builtin over an external printf program on Solaris, 16761# but without wasting forks for bash or zsh. 16762if test -z "$BASH_VERSION$ZSH_VERSION" \ 16763 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 16764 as_echo='print -r --' 16765 as_echo_n='print -rn --' 16766elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 16767 as_echo='printf %s\n' 16768 as_echo_n='printf %s' 16769else 16770 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 16771 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 16772 as_echo_n='/usr/ucb/echo -n' 16773 else 16774 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 16775 as_echo_n_body='eval 16776 arg=$1; 16777 case $arg in #( 16778 *"$as_nl"*) 16779 expr "X$arg" : "X\\(.*\\)$as_nl"; 16780 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 16781 esac; 16782 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 16783 ' 16784 export as_echo_n_body 16785 as_echo_n='sh -c $as_echo_n_body as_echo' 16786 fi 16787 export as_echo_body 16788 as_echo='sh -c $as_echo_body as_echo' 16789fi 16790 16791# The user is always right. 16792if test "${PATH_SEPARATOR+set}" != set; then 16793 PATH_SEPARATOR=: 16794 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 16795 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 16796 PATH_SEPARATOR=';' 16797 } 16798fi 16799 16800 16801# IFS 16802# We need space, tab and new line, in precisely that order. Quoting is 16803# there to prevent editors from complaining about space-tab. 16804# (If _AS_PATH_WALK were called with IFS unset, it would disable word 16805# splitting by setting IFS to empty value.) 16806IFS=" "" $as_nl" 16807 16808# Find who we are. Look in the path if we contain no directory separator. 16809as_myself= 16810case $0 in #(( 16811 *[\\/]* ) as_myself=$0 ;; 16812 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16813for as_dir in $PATH 16814do 16815 IFS=$as_save_IFS 16816 test -z "$as_dir" && as_dir=. 16817 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 16818 done 16819IFS=$as_save_IFS 16820 16821 ;; 16822esac 16823# We did not find ourselves, most probably we were run as `sh COMMAND' 16824# in which case we are not to be found in the path. 16825if test "x$as_myself" = x; then 16826 as_myself=$0 16827fi 16828if test ! -f "$as_myself"; then 16829 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16830 exit 1 16831fi 16832 16833# Unset variables that we do not need and which cause bugs (e.g. in 16834# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 16835# suppresses any "Segmentation fault" message there. '((' could 16836# trigger a bug in pdksh 5.2.14. 16837for as_var in BASH_ENV ENV MAIL MAILPATH 16838do eval test x\${$as_var+set} = xset \ 16839 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16840done 16841PS1='$ ' 16842PS2='> ' 16843PS4='+ ' 16844 16845# NLS nuisances. 16846LC_ALL=C 16847export LC_ALL 16848LANGUAGE=C 16849export LANGUAGE 16850 16851# CDPATH. 16852(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16853 16854 16855# as_fn_error STATUS ERROR [LINENO LOG_FD] 16856# ---------------------------------------- 16857# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 16858# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 16859# script with STATUS, using 1 if that was 0. 16860as_fn_error () 16861{ 16862 as_status=$1; test $as_status -eq 0 && as_status=1 16863 if test "$4"; then 16864 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16865 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 16866 fi 16867 $as_echo "$as_me: error: $2" >&2 16868 as_fn_exit $as_status 16869} # as_fn_error 16870 16871 16872# as_fn_set_status STATUS 16873# ----------------------- 16874# Set $? to STATUS, without forking. 16875as_fn_set_status () 16876{ 16877 return $1 16878} # as_fn_set_status 16879 16880# as_fn_exit STATUS 16881# ----------------- 16882# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 16883as_fn_exit () 16884{ 16885 set +e 16886 as_fn_set_status $1 16887 exit $1 16888} # as_fn_exit 16889 16890# as_fn_unset VAR 16891# --------------- 16892# Portably unset VAR. 16893as_fn_unset () 16894{ 16895 { eval $1=; unset $1;} 16896} 16897as_unset=as_fn_unset 16898# as_fn_append VAR VALUE 16899# ---------------------- 16900# Append the text in VALUE to the end of the definition contained in VAR. Take 16901# advantage of any shell optimizations that allow amortized linear growth over 16902# repeated appends, instead of the typical quadratic growth present in naive 16903# implementations. 16904if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 16905 eval 'as_fn_append () 16906 { 16907 eval $1+=\$2 16908 }' 16909else 16910 as_fn_append () 16911 { 16912 eval $1=\$$1\$2 16913 } 16914fi # as_fn_append 16915 16916# as_fn_arith ARG... 16917# ------------------ 16918# Perform arithmetic evaluation on the ARGs, and store the result in the 16919# global $as_val. Take advantage of shells that can avoid forks. The arguments 16920# must be portable across $(()) and expr. 16921if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 16922 eval 'as_fn_arith () 16923 { 16924 as_val=$(( $* )) 16925 }' 16926else 16927 as_fn_arith () 16928 { 16929 as_val=`expr "$@" || test $? -eq 1` 16930 } 16931fi # as_fn_arith 16932 16933 16934if expr a : '\(a\)' >/dev/null 2>&1 && 16935 test "X`expr 00001 : '.*\(...\)'`" = X001; then 16936 as_expr=expr 16937else 16938 as_expr=false 16939fi 16940 16941if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 16942 as_basename=basename 16943else 16944 as_basename=false 16945fi 16946 16947if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16948 as_dirname=dirname 16949else 16950 as_dirname=false 16951fi 16952 16953as_me=`$as_basename -- "$0" || 16954$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16955 X"$0" : 'X\(//\)$' \| \ 16956 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16957$as_echo X/"$0" | 16958 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16959 s//\1/ 16960 q 16961 } 16962 /^X\/\(\/\/\)$/{ 16963 s//\1/ 16964 q 16965 } 16966 /^X\/\(\/\).*/{ 16967 s//\1/ 16968 q 16969 } 16970 s/.*/./; q'` 16971 16972# Avoid depending upon Character Ranges. 16973as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16974as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16975as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16976as_cr_digits='0123456789' 16977as_cr_alnum=$as_cr_Letters$as_cr_digits 16978 16979ECHO_C= ECHO_N= ECHO_T= 16980case `echo -n x` in #((((( 16981-n*) 16982 case `echo 'xy\c'` in 16983 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16984 xy) ECHO_C='\c';; 16985 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 16986 ECHO_T=' ';; 16987 esac;; 16988*) 16989 ECHO_N='-n';; 16990esac 16991 16992rm -f conf$$ conf$$.exe conf$$.file 16993if test -d conf$$.dir; then 16994 rm -f conf$$.dir/conf$$.file 16995else 16996 rm -f conf$$.dir 16997 mkdir conf$$.dir 2>/dev/null 16998fi 16999if (echo >conf$$.file) 2>/dev/null; then 17000 if ln -s conf$$.file conf$$ 2>/dev/null; then 17001 as_ln_s='ln -s' 17002 # ... but there are two gotchas: 17003 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 17004 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 17005 # In both cases, we have to default to `cp -pR'. 17006 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 17007 as_ln_s='cp -pR' 17008 elif ln conf$$.file conf$$ 2>/dev/null; then 17009 as_ln_s=ln 17010 else 17011 as_ln_s='cp -pR' 17012 fi 17013else 17014 as_ln_s='cp -pR' 17015fi 17016rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 17017rmdir conf$$.dir 2>/dev/null 17018 17019 17020# as_fn_mkdir_p 17021# ------------- 17022# Create "$as_dir" as a directory, including parents if necessary. 17023as_fn_mkdir_p () 17024{ 17025 17026 case $as_dir in #( 17027 -*) as_dir=./$as_dir;; 17028 esac 17029 test -d "$as_dir" || eval $as_mkdir_p || { 17030 as_dirs= 17031 while :; do 17032 case $as_dir in #( 17033 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 17034 *) as_qdir=$as_dir;; 17035 esac 17036 as_dirs="'$as_qdir' $as_dirs" 17037 as_dir=`$as_dirname -- "$as_dir" || 17038$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17039 X"$as_dir" : 'X\(//\)[^/]' \| \ 17040 X"$as_dir" : 'X\(//\)$' \| \ 17041 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17042$as_echo X"$as_dir" | 17043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17044 s//\1/ 17045 q 17046 } 17047 /^X\(\/\/\)[^/].*/{ 17048 s//\1/ 17049 q 17050 } 17051 /^X\(\/\/\)$/{ 17052 s//\1/ 17053 q 17054 } 17055 /^X\(\/\).*/{ 17056 s//\1/ 17057 q 17058 } 17059 s/.*/./; q'` 17060 test -d "$as_dir" && break 17061 done 17062 test -z "$as_dirs" || eval "mkdir $as_dirs" 17063 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 17064 17065 17066} # as_fn_mkdir_p 17067if mkdir -p . 2>/dev/null; then 17068 as_mkdir_p='mkdir -p "$as_dir"' 17069else 17070 test -d ./-p && rmdir ./-p 17071 as_mkdir_p=false 17072fi 17073 17074 17075# as_fn_executable_p FILE 17076# ----------------------- 17077# Test if FILE is an executable regular file. 17078as_fn_executable_p () 17079{ 17080 test -f "$1" && test -x "$1" 17081} # as_fn_executable_p 17082as_test_x='test -x' 17083as_executable_p=as_fn_executable_p 17084 17085# Sed expression to map a string onto a valid CPP name. 17086as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 17087 17088# Sed expression to map a string onto a valid variable name. 17089as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 17090 17091 17092exec 6>&1 17093## ----------------------------------- ## 17094## Main body of $CONFIG_STATUS script. ## 17095## ----------------------------------- ## 17096_ASEOF 17097test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 17098 17099cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17100# Save the log message, to keep $0 and so on meaningful, and to 17101# report actual input values of CONFIG_FILES etc. instead of their 17102# values after options handling. 17103ac_log=" 17104This file was extended by Xfce4 Taskmanager $as_me 1.4.2, which was 17105generated by GNU Autoconf 2.69. Invocation command line was 17106 17107 CONFIG_FILES = $CONFIG_FILES 17108 CONFIG_HEADERS = $CONFIG_HEADERS 17109 CONFIG_LINKS = $CONFIG_LINKS 17110 CONFIG_COMMANDS = $CONFIG_COMMANDS 17111 $ $0 $@ 17112 17113on `(hostname || uname -n) 2>/dev/null | sed 1q` 17114" 17115 17116_ACEOF 17117 17118case $ac_config_files in *" 17119"*) set x $ac_config_files; shift; ac_config_files=$*;; 17120esac 17121 17122case $ac_config_headers in *" 17123"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 17124esac 17125 17126 17127cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17128# Files that config.status was made for. 17129config_files="$ac_config_files" 17130config_headers="$ac_config_headers" 17131config_commands="$ac_config_commands" 17132 17133_ACEOF 17134 17135cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17136ac_cs_usage="\ 17137\`$as_me' instantiates files and other configuration actions 17138from templates according to the current configuration. Unless the files 17139and actions are specified as TAGs, all are instantiated by default. 17140 17141Usage: $0 [OPTION]... [TAG]... 17142 17143 -h, --help print this help, then exit 17144 -V, --version print version number and configuration settings, then exit 17145 --config print configuration, then exit 17146 -q, --quiet, --silent 17147 do not print progress messages 17148 -d, --debug don't remove temporary files 17149 --recheck update $as_me by reconfiguring in the same conditions 17150 --file=FILE[:TEMPLATE] 17151 instantiate the configuration file FILE 17152 --header=FILE[:TEMPLATE] 17153 instantiate the configuration header FILE 17154 17155Configuration files: 17156$config_files 17157 17158Configuration headers: 17159$config_headers 17160 17161Configuration commands: 17162$config_commands 17163 17164Report bugs to <http://bugzilla.xfce.org/>. 17165Xfce4 Taskmanager home page: <http://goodies.xfce.org/projects/applications/xfce4-taskmanager>." 17166 17167_ACEOF 17168cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17169ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17170ac_cs_version="\\ 17171Xfce4 Taskmanager config.status 1.4.2 17172configured by $0, generated by GNU Autoconf 2.69, 17173 with options \\"\$ac_cs_config\\" 17174 17175Copyright (C) 2012 Free Software Foundation, Inc. 17176This config.status script is free software; the Free Software Foundation 17177gives unlimited permission to copy, distribute and modify it." 17178 17179ac_pwd='$ac_pwd' 17180srcdir='$srcdir' 17181INSTALL='$INSTALL' 17182MKDIR_P='$MKDIR_P' 17183AWK='$AWK' 17184test -n "\$AWK" || AWK=awk 17185_ACEOF 17186 17187cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17188# The default lists apply if the user does not specify any file. 17189ac_need_defaults=: 17190while test $# != 0 17191do 17192 case $1 in 17193 --*=?*) 17194 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17195 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17196 ac_shift=: 17197 ;; 17198 --*=) 17199 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17200 ac_optarg= 17201 ac_shift=: 17202 ;; 17203 *) 17204 ac_option=$1 17205 ac_optarg=$2 17206 ac_shift=shift 17207 ;; 17208 esac 17209 17210 case $ac_option in 17211 # Handling of the options. 17212 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 17213 ac_cs_recheck=: ;; 17214 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17215 $as_echo "$ac_cs_version"; exit ;; 17216 --config | --confi | --conf | --con | --co | --c ) 17217 $as_echo "$ac_cs_config"; exit ;; 17218 --debug | --debu | --deb | --de | --d | -d ) 17219 debug=: ;; 17220 --file | --fil | --fi | --f ) 17221 $ac_shift 17222 case $ac_optarg in 17223 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17224 '') as_fn_error $? "missing file argument" ;; 17225 esac 17226 as_fn_append CONFIG_FILES " '$ac_optarg'" 17227 ac_need_defaults=false;; 17228 --header | --heade | --head | --hea ) 17229 $ac_shift 17230 case $ac_optarg in 17231 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17232 esac 17233 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17234 ac_need_defaults=false;; 17235 --he | --h) 17236 # Conflict between --help and --header 17237 as_fn_error $? "ambiguous option: \`$1' 17238Try \`$0 --help' for more information.";; 17239 --help | --hel | -h ) 17240 $as_echo "$ac_cs_usage"; exit ;; 17241 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17242 | -silent | --silent | --silen | --sile | --sil | --si | --s) 17243 ac_cs_silent=: ;; 17244 17245 # This is an error. 17246 -*) as_fn_error $? "unrecognized option: \`$1' 17247Try \`$0 --help' for more information." ;; 17248 17249 *) as_fn_append ac_config_targets " $1" 17250 ac_need_defaults=false ;; 17251 17252 esac 17253 shift 17254done 17255 17256ac_configure_extra_args= 17257 17258if $ac_cs_silent; then 17259 exec 6>/dev/null 17260 ac_configure_extra_args="$ac_configure_extra_args --silent" 17261fi 17262 17263_ACEOF 17264cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17265if \$ac_cs_recheck; then 17266 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17267 shift 17268 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 17269 CONFIG_SHELL='$SHELL' 17270 export CONFIG_SHELL 17271 exec "\$@" 17272fi 17273 17274_ACEOF 17275cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17276exec 5>>config.log 17277{ 17278 echo 17279 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 17280## Running $as_me. ## 17281_ASBOX 17282 $as_echo "$ac_log" 17283} >&5 17284 17285_ACEOF 17286cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17287# 17288# INIT-COMMANDS 17289# 17290AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 17291 17292 17293# The HP-UX ksh and POSIX shell print the target directory to stdout 17294# if CDPATH is set. 17295(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17296 17297sed_quote_subst='$sed_quote_subst' 17298double_quote_subst='$double_quote_subst' 17299delay_variable_subst='$delay_variable_subst' 17300macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 17301macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 17302enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 17303enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 17304pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 17305enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 17306shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 17307SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 17308ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 17309PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 17310host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 17311host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 17312host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 17313build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 17314build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 17315build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 17316SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 17317Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 17318GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 17319EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 17320FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 17321LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 17322NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 17323LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 17324max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 17325ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 17326exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 17327lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 17328lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 17329lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 17330lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 17331lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 17332reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 17333reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 17334OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 17335deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 17336file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 17337file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 17338want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 17339DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 17340sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 17341AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 17342AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 17343archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 17344STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 17345RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 17346old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17347old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17348old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 17349lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 17350CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 17351CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 17352compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 17353GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 17354lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 17355lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 17356lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 17357lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 17358lt_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"`' 17359lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 17360nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 17361lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 17362lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 17363objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 17364MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 17365lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 17366lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 17367lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 17368lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 17369lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 17370need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 17371MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 17372DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 17373NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 17374LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 17375OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 17376OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 17377libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 17378shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 17379extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17380archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 17381enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 17382export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 17383whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 17384compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 17385old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 17386old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17387archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 17388archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17389module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 17390module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17391with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 17392allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 17393no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 17394hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 17395hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 17396hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 17397hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 17398hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 17399hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 17400hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 17401inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 17402link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 17403always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 17404export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 17405exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 17406include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 17407prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 17408postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 17409file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 17410variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 17411need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 17412need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 17413version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 17414runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 17415shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 17416shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 17417libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 17418library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 17419soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 17420install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 17421postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17422postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17423finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 17424finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 17425hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 17426sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 17427configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 17428configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 17429hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 17430enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 17431enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 17432enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 17433old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 17434striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 17435 17436LTCC='$LTCC' 17437LTCFLAGS='$LTCFLAGS' 17438compiler='$compiler_DEFAULT' 17439 17440# A function that is used when there is no print builtin or printf. 17441func_fallback_echo () 17442{ 17443 eval 'cat <<_LTECHO_EOF 17444\$1 17445_LTECHO_EOF' 17446} 17447 17448# Quote evaled strings. 17449for var in SHELL \ 17450ECHO \ 17451PATH_SEPARATOR \ 17452SED \ 17453GREP \ 17454EGREP \ 17455FGREP \ 17456LD \ 17457NM \ 17458LN_S \ 17459lt_SP2NL \ 17460lt_NL2SP \ 17461reload_flag \ 17462OBJDUMP \ 17463deplibs_check_method \ 17464file_magic_cmd \ 17465file_magic_glob \ 17466want_nocaseglob \ 17467DLLTOOL \ 17468sharedlib_from_linklib_cmd \ 17469AR \ 17470AR_FLAGS \ 17471archiver_list_spec \ 17472STRIP \ 17473RANLIB \ 17474CC \ 17475CFLAGS \ 17476compiler \ 17477lt_cv_sys_global_symbol_pipe \ 17478lt_cv_sys_global_symbol_to_cdecl \ 17479lt_cv_sys_global_symbol_to_import \ 17480lt_cv_sys_global_symbol_to_c_name_address \ 17481lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 17482lt_cv_nm_interface \ 17483nm_file_list_spec \ 17484lt_cv_truncate_bin \ 17485lt_prog_compiler_no_builtin_flag \ 17486lt_prog_compiler_pic \ 17487lt_prog_compiler_wl \ 17488lt_prog_compiler_static \ 17489lt_cv_prog_compiler_c_o \ 17490need_locks \ 17491MANIFEST_TOOL \ 17492DSYMUTIL \ 17493NMEDIT \ 17494LIPO \ 17495OTOOL \ 17496OTOOL64 \ 17497shrext_cmds \ 17498export_dynamic_flag_spec \ 17499whole_archive_flag_spec \ 17500compiler_needs_object \ 17501with_gnu_ld \ 17502allow_undefined_flag \ 17503no_undefined_flag \ 17504hardcode_libdir_flag_spec \ 17505hardcode_libdir_separator \ 17506exclude_expsyms \ 17507include_expsyms \ 17508file_list_spec \ 17509variables_saved_for_relink \ 17510libname_spec \ 17511library_names_spec \ 17512soname_spec \ 17513install_override_mode \ 17514finish_eval \ 17515old_striplib \ 17516striplib; do 17517 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17518 *[\\\\\\\`\\"\\\$]*) 17519 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 17520 ;; 17521 *) 17522 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17523 ;; 17524 esac 17525done 17526 17527# Double-quote double-evaled strings. 17528for var in reload_cmds \ 17529old_postinstall_cmds \ 17530old_postuninstall_cmds \ 17531old_archive_cmds \ 17532extract_expsyms_cmds \ 17533old_archive_from_new_cmds \ 17534old_archive_from_expsyms_cmds \ 17535archive_cmds \ 17536archive_expsym_cmds \ 17537module_cmds \ 17538module_expsym_cmds \ 17539export_symbols_cmds \ 17540prelink_cmds \ 17541postlink_cmds \ 17542postinstall_cmds \ 17543postuninstall_cmds \ 17544finish_cmds \ 17545sys_lib_search_path_spec \ 17546configure_time_dlsearch_path \ 17547configure_time_lt_sys_library_path; do 17548 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17549 *[\\\\\\\`\\"\\\$]*) 17550 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 17551 ;; 17552 *) 17553 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17554 ;; 17555 esac 17556done 17557 17558ac_aux_dir='$ac_aux_dir' 17559 17560# See if we are running on zsh, and set the options that allow our 17561# commands through without removal of \ escapes INIT. 17562if test -n "\${ZSH_VERSION+set}"; then 17563 setopt NO_GLOB_SUBST 17564fi 17565 17566 17567 PACKAGE='$PACKAGE' 17568 VERSION='$VERSION' 17569 RM='$RM' 17570 ofile='$ofile' 17571 17572 17573 17574 17575 17576_ACEOF 17577 17578cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17579 17580# Handling of arguments. 17581for ac_config_target in $ac_config_targets 17582do 17583 case $ac_config_target in 17584 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 17585 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 17586 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 17587 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 17588 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 17589 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 17590 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 17591 "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;; 17592 "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;; 17593 "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;; 17594 "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;; 17595 "data/icons/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/128x128/Makefile" ;; 17596 "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;; 17597 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 17598 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 17599 17600 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17601 esac 17602done 17603 17604 17605# If the user did not use the arguments to specify the items to instantiate, 17606# then the envvar interface is used. Set only those that are not. 17607# We use the long form for the default assignment because of an extremely 17608# bizarre bug on SunOS 4.1.3. 17609if $ac_need_defaults; then 17610 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 17611 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 17612 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 17613fi 17614 17615# Have a temporary directory for convenience. Make it in the build tree 17616# simply because there is no reason against having it here, and in addition, 17617# creating and moving files from /tmp can sometimes cause problems. 17618# Hook for its removal unless debugging. 17619# Note that there is a small window in which the directory will not be cleaned: 17620# after its creation but before its name has been assigned to `$tmp'. 17621$debug || 17622{ 17623 tmp= ac_tmp= 17624 trap 'exit_status=$? 17625 : "${ac_tmp:=$tmp}" 17626 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17627' 0 17628 trap 'as_fn_exit 1' 1 2 13 15 17629} 17630# Create a (secure) tmp directory for tmp files. 17631 17632{ 17633 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17634 test -d "$tmp" 17635} || 17636{ 17637 tmp=./conf$$-$RANDOM 17638 (umask 077 && mkdir "$tmp") 17639} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 17640ac_tmp=$tmp 17641 17642# Set up the scripts for CONFIG_FILES section. 17643# No need to generate them if there are no CONFIG_FILES. 17644# This happens for instance with `./config.status config.h'. 17645if test -n "$CONFIG_FILES"; then 17646 17647 17648ac_cr=`echo X | tr X '\015'` 17649# On cygwin, bash can eat \r inside `` if the user requested igncr. 17650# But we know of no other shell where ac_cr would be empty at this 17651# point, so we can use a bashism as a fallback. 17652if test "x$ac_cr" = x; then 17653 eval ac_cr=\$\'\\r\' 17654fi 17655ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 17656if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 17657 ac_cs_awk_cr='\\r' 17658else 17659 ac_cs_awk_cr=$ac_cr 17660fi 17661 17662echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 17663_ACEOF 17664 17665 17666{ 17667 echo "cat >conf$$subs.awk <<_ACEOF" && 17668 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 17669 echo "_ACEOF" 17670} >conf$$subs.sh || 17671 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17672ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17673ac_delim='%!_!# ' 17674for ac_last_try in false false false false false :; do 17675 . ./conf$$subs.sh || 17676 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17677 17678 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 17679 if test $ac_delim_n = $ac_delim_num; then 17680 break 17681 elif $ac_last_try; then 17682 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17683 else 17684 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17685 fi 17686done 17687rm -f conf$$subs.sh 17688 17689cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17690cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 17691_ACEOF 17692sed -n ' 17693h 17694s/^/S["/; s/!.*/"]=/ 17695p 17696g 17697s/^[^!]*!// 17698:repl 17699t repl 17700s/'"$ac_delim"'$// 17701t delim 17702:nl 17703h 17704s/\(.\{148\}\)..*/\1/ 17705t more1 17706s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 17707p 17708n 17709b repl 17710:more1 17711s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17712p 17713g 17714s/.\{148\}// 17715t nl 17716:delim 17717h 17718s/\(.\{148\}\)..*/\1/ 17719t more2 17720s/["\\]/\\&/g; s/^/"/; s/$/"/ 17721p 17722b 17723:more2 17724s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17725p 17726g 17727s/.\{148\}// 17728t delim 17729' <conf$$subs.awk | sed ' 17730/^[^""]/{ 17731 N 17732 s/\n// 17733} 17734' >>$CONFIG_STATUS || ac_write_fail=1 17735rm -f conf$$subs.awk 17736cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17737_ACAWK 17738cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 17739 for (key in S) S_is_set[key] = 1 17740 FS = "" 17741 17742} 17743{ 17744 line = $ 0 17745 nfields = split(line, field, "@") 17746 substed = 0 17747 len = length(field[1]) 17748 for (i = 2; i < nfields; i++) { 17749 key = field[i] 17750 keylen = length(key) 17751 if (S_is_set[key]) { 17752 value = S[key] 17753 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 17754 len += length(value) + length(field[++i]) 17755 substed = 1 17756 } else 17757 len += 1 + keylen 17758 } 17759 17760 print line 17761} 17762 17763_ACAWK 17764_ACEOF 17765cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17766if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 17767 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 17768else 17769 cat 17770fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 17771 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 17772_ACEOF 17773 17774# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 17775# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17776# trailing colons and then remove the whole line if VPATH becomes empty 17777# (actually we leave an empty line to preserve line numbers). 17778if test "x$srcdir" = x.; then 17779 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 17780h 17781s/// 17782s/^/:/ 17783s/[ ]*$/:/ 17784s/:\$(srcdir):/:/g 17785s/:\${srcdir}:/:/g 17786s/:@srcdir@:/:/g 17787s/^:*// 17788s/:*$// 17789x 17790s/\(=[ ]*\).*/\1/ 17791G 17792s/\n// 17793s/^[^=]*=[ ]*$// 17794}' 17795fi 17796 17797cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17798fi # test -n "$CONFIG_FILES" 17799 17800# Set up the scripts for CONFIG_HEADERS section. 17801# No need to generate them if there are no CONFIG_HEADERS. 17802# This happens for instance with `./config.status Makefile'. 17803if test -n "$CONFIG_HEADERS"; then 17804cat >"$ac_tmp/defines.awk" <<\_ACAWK || 17805BEGIN { 17806_ACEOF 17807 17808# Transform confdefs.h into an awk script `defines.awk', embedded as 17809# here-document in config.status, that substitutes the proper values into 17810# config.h.in to produce config.h. 17811 17812# Create a delimiter string that does not exist in confdefs.h, to ease 17813# handling of long lines. 17814ac_delim='%!_!# ' 17815for ac_last_try in false false :; do 17816 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 17817 if test -z "$ac_tt"; then 17818 break 17819 elif $ac_last_try; then 17820 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17821 else 17822 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17823 fi 17824done 17825 17826# For the awk script, D is an array of macro values keyed by name, 17827# likewise P contains macro parameters if any. Preserve backslash 17828# newline sequences. 17829 17830ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 17831sed -n ' 17832s/.\{148\}/&'"$ac_delim"'/g 17833t rset 17834:rset 17835s/^[ ]*#[ ]*define[ ][ ]*/ / 17836t def 17837d 17838:def 17839s/\\$// 17840t bsnl 17841s/["\\]/\\&/g 17842s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17843D["\1"]=" \3"/p 17844s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 17845d 17846:bsnl 17847s/["\\]/\\&/g 17848s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17849D["\1"]=" \3\\\\\\n"\\/p 17850t cont 17851s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 17852t cont 17853d 17854:cont 17855n 17856s/.\{148\}/&'"$ac_delim"'/g 17857t clear 17858:clear 17859s/\\$// 17860t bsnlc 17861s/["\\]/\\&/g; s/^/"/; s/$/"/p 17862d 17863:bsnlc 17864s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 17865b cont 17866' <confdefs.h | sed ' 17867s/'"$ac_delim"'/"\\\ 17868"/g' >>$CONFIG_STATUS || ac_write_fail=1 17869 17870cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17871 for (key in D) D_is_set[key] = 1 17872 FS = "" 17873} 17874/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 17875 line = \$ 0 17876 split(line, arg, " ") 17877 if (arg[1] == "#") { 17878 defundef = arg[2] 17879 mac1 = arg[3] 17880 } else { 17881 defundef = substr(arg[1], 2) 17882 mac1 = arg[2] 17883 } 17884 split(mac1, mac2, "(") #) 17885 macro = mac2[1] 17886 prefix = substr(line, 1, index(line, defundef) - 1) 17887 if (D_is_set[macro]) { 17888 # Preserve the white space surrounding the "#". 17889 print prefix "define", macro P[macro] D[macro] 17890 next 17891 } else { 17892 # Replace #undef with comments. This is necessary, for example, 17893 # in the case of _POSIX_SOURCE, which is predefined and required 17894 # on some systems where configure will not decide to define it. 17895 if (defundef == "undef") { 17896 print "/*", prefix defundef, macro, "*/" 17897 next 17898 } 17899 } 17900} 17901{ print } 17902_ACAWK 17903_ACEOF 17904cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17905 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 17906fi # test -n "$CONFIG_HEADERS" 17907 17908 17909eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 17910shift 17911for ac_tag 17912do 17913 case $ac_tag in 17914 :[FHLC]) ac_mode=$ac_tag; continue;; 17915 esac 17916 case $ac_mode$ac_tag in 17917 :[FHL]*:*);; 17918 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17919 :[FH]-) ac_tag=-:-;; 17920 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 17921 esac 17922 ac_save_IFS=$IFS 17923 IFS=: 17924 set x $ac_tag 17925 IFS=$ac_save_IFS 17926 shift 17927 ac_file=$1 17928 shift 17929 17930 case $ac_mode in 17931 :L) ac_source=$1;; 17932 :[FH]) 17933 ac_file_inputs= 17934 for ac_f 17935 do 17936 case $ac_f in 17937 -) ac_f="$ac_tmp/stdin";; 17938 *) # Look for the file first in the build tree, then in the source tree 17939 # (if the path is not absolute). The absolute path cannot be DOS-style, 17940 # because $ac_f cannot contain `:'. 17941 test -f "$ac_f" || 17942 case $ac_f in 17943 [\\/$]*) false;; 17944 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17945 esac || 17946 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17947 esac 17948 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 17949 as_fn_append ac_file_inputs " '$ac_f'" 17950 done 17951 17952 # Let's still pretend it is `configure' which instantiates (i.e., don't 17953 # use $as_me), people would be surprised to read: 17954 # /* config.h. Generated by config.status. */ 17955 configure_input='Generated from '` 17956 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 17957 `' by configure.' 17958 if test x"$ac_file" != x-; then 17959 configure_input="$ac_file. $configure_input" 17960 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 17961$as_echo "$as_me: creating $ac_file" >&6;} 17962 fi 17963 # Neutralize special characters interpreted by sed in replacement strings. 17964 case $configure_input in #( 17965 *\&* | *\|* | *\\* ) 17966 ac_sed_conf_input=`$as_echo "$configure_input" | 17967 sed 's/[\\\\&|]/\\\\&/g'`;; #( 17968 *) ac_sed_conf_input=$configure_input;; 17969 esac 17970 17971 case $ac_tag in 17972 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 17973 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17974 esac 17975 ;; 17976 esac 17977 17978 ac_dir=`$as_dirname -- "$ac_file" || 17979$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17980 X"$ac_file" : 'X\(//\)[^/]' \| \ 17981 X"$ac_file" : 'X\(//\)$' \| \ 17982 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17983$as_echo X"$ac_file" | 17984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17985 s//\1/ 17986 q 17987 } 17988 /^X\(\/\/\)[^/].*/{ 17989 s//\1/ 17990 q 17991 } 17992 /^X\(\/\/\)$/{ 17993 s//\1/ 17994 q 17995 } 17996 /^X\(\/\).*/{ 17997 s//\1/ 17998 q 17999 } 18000 s/.*/./; q'` 18001 as_dir="$ac_dir"; as_fn_mkdir_p 18002 ac_builddir=. 18003 18004case "$ac_dir" in 18005.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 18006*) 18007 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 18008 # A ".." for each directory in $ac_dir_suffix. 18009 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 18010 case $ac_top_builddir_sub in 18011 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 18012 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 18013 esac ;; 18014esac 18015ac_abs_top_builddir=$ac_pwd 18016ac_abs_builddir=$ac_pwd$ac_dir_suffix 18017# for backward compatibility: 18018ac_top_builddir=$ac_top_build_prefix 18019 18020case $srcdir in 18021 .) # We are building in place. 18022 ac_srcdir=. 18023 ac_top_srcdir=$ac_top_builddir_sub 18024 ac_abs_top_srcdir=$ac_pwd ;; 18025 [\\/]* | ?:[\\/]* ) # Absolute name. 18026 ac_srcdir=$srcdir$ac_dir_suffix; 18027 ac_top_srcdir=$srcdir 18028 ac_abs_top_srcdir=$srcdir ;; 18029 *) # Relative name. 18030 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 18031 ac_top_srcdir=$ac_top_build_prefix$srcdir 18032 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 18033esac 18034ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 18035 18036 18037 case $ac_mode in 18038 :F) 18039 # 18040 # CONFIG_FILE 18041 # 18042 18043 case $INSTALL in 18044 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 18045 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 18046 esac 18047 ac_MKDIR_P=$MKDIR_P 18048 case $MKDIR_P in 18049 [\\/$]* | ?:[\\/]* ) ;; 18050 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 18051 esac 18052_ACEOF 18053 18054cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18055# If the template does not know about datarootdir, expand it. 18056# FIXME: This hack should be removed a few years after 2.60. 18057ac_datarootdir_hack=; ac_datarootdir_seen= 18058ac_sed_dataroot=' 18059/datarootdir/ { 18060 p 18061 q 18062} 18063/@datadir@/p 18064/@docdir@/p 18065/@infodir@/p 18066/@localedir@/p 18067/@mandir@/p' 18068case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 18069*datarootdir*) ac_datarootdir_seen=yes;; 18070*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 18071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 18072$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 18073_ACEOF 18074cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18075 ac_datarootdir_hack=' 18076 s&@datadir@&$datadir&g 18077 s&@docdir@&$docdir&g 18078 s&@infodir@&$infodir&g 18079 s&@localedir@&$localedir&g 18080 s&@mandir@&$mandir&g 18081 s&\\\${datarootdir}&$datarootdir&g' ;; 18082esac 18083_ACEOF 18084 18085# Neutralize VPATH when `$srcdir' = `.'. 18086# Shell code in configure.ac might set extrasub. 18087# FIXME: do we really want to maintain this feature? 18088cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18089ac_sed_extra="$ac_vpsub 18090$extrasub 18091_ACEOF 18092cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18093:t 18094/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18095s|@configure_input@|$ac_sed_conf_input|;t t 18096s&@top_builddir@&$ac_top_builddir_sub&;t t 18097s&@top_build_prefix@&$ac_top_build_prefix&;t t 18098s&@srcdir@&$ac_srcdir&;t t 18099s&@abs_srcdir@&$ac_abs_srcdir&;t t 18100s&@top_srcdir@&$ac_top_srcdir&;t t 18101s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 18102s&@builddir@&$ac_builddir&;t t 18103s&@abs_builddir@&$ac_abs_builddir&;t t 18104s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 18105s&@INSTALL@&$ac_INSTALL&;t t 18106s&@MKDIR_P@&$ac_MKDIR_P&;t t 18107$ac_datarootdir_hack 18108" 18109eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 18110 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18111 18112test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18113 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 18114 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 18115 "$ac_tmp/out"`; test -z "$ac_out"; } && 18116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18117which seems to be undefined. Please make sure it is defined" >&5 18118$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18119which seems to be undefined. Please make sure it is defined" >&2;} 18120 18121 rm -f "$ac_tmp/stdin" 18122 case $ac_file in 18123 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 18124 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 18125 esac \ 18126 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18127 ;; 18128 :H) 18129 # 18130 # CONFIG_HEADER 18131 # 18132 if test x"$ac_file" != x-; then 18133 { 18134 $as_echo "/* $configure_input */" \ 18135 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 18136 } >"$ac_tmp/config.h" \ 18137 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18138 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 18139 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18140$as_echo "$as_me: $ac_file is unchanged" >&6;} 18141 else 18142 rm -f "$ac_file" 18143 mv "$ac_tmp/config.h" "$ac_file" \ 18144 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18145 fi 18146 else 18147 $as_echo "/* $configure_input */" \ 18148 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 18149 || as_fn_error $? "could not create -" "$LINENO" 5 18150 fi 18151# Compute "$ac_file"'s index in $config_headers. 18152_am_arg="$ac_file" 18153_am_stamp_count=1 18154for _am_header in $config_headers :; do 18155 case $_am_header in 18156 $_am_arg | $_am_arg:* ) 18157 break ;; 18158 * ) 18159 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 18160 esac 18161done 18162echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 18163$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18164 X"$_am_arg" : 'X\(//\)[^/]' \| \ 18165 X"$_am_arg" : 'X\(//\)$' \| \ 18166 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 18167$as_echo X"$_am_arg" | 18168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18169 s//\1/ 18170 q 18171 } 18172 /^X\(\/\/\)[^/].*/{ 18173 s//\1/ 18174 q 18175 } 18176 /^X\(\/\/\)$/{ 18177 s//\1/ 18178 q 18179 } 18180 /^X\(\/\).*/{ 18181 s//\1/ 18182 q 18183 } 18184 s/.*/./; q'`/stamp-h$_am_stamp_count 18185 ;; 18186 18187 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 18188$as_echo "$as_me: executing $ac_file commands" >&6;} 18189 ;; 18190 esac 18191 18192 18193 case $ac_file$ac_mode in 18194 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 18195 # Older Autoconf quotes --file arguments for eval, but not when files 18196 # are listed without --file. Let's play safe and only enable the eval 18197 # if we detect the quoting. 18198 # TODO: see whether this extra hack can be removed once we start 18199 # requiring Autoconf 2.70 or later. 18200 case $CONFIG_FILES in #( 18201 *\'*) : 18202 eval set x "$CONFIG_FILES" ;; #( 18203 *) : 18204 set x $CONFIG_FILES ;; #( 18205 *) : 18206 ;; 18207esac 18208 shift 18209 # Used to flag and report bootstrapping failures. 18210 am_rc=0 18211 for am_mf 18212 do 18213 # Strip MF so we end up with the name of the file. 18214 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 18215 # Check whether this is an Automake generated Makefile which includes 18216 # dependency-tracking related rules and includes. 18217 # Grep'ing the whole file directly is not great: AIX grep has a line 18218 # limit of 2048, but all sed's we know have understand at least 4000. 18219 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 18220 || continue 18221 am_dirpart=`$as_dirname -- "$am_mf" || 18222$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18223 X"$am_mf" : 'X\(//\)[^/]' \| \ 18224 X"$am_mf" : 'X\(//\)$' \| \ 18225 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 18226$as_echo X"$am_mf" | 18227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18228 s//\1/ 18229 q 18230 } 18231 /^X\(\/\/\)[^/].*/{ 18232 s//\1/ 18233 q 18234 } 18235 /^X\(\/\/\)$/{ 18236 s//\1/ 18237 q 18238 } 18239 /^X\(\/\).*/{ 18240 s//\1/ 18241 q 18242 } 18243 s/.*/./; q'` 18244 am_filepart=`$as_basename -- "$am_mf" || 18245$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 18246 X"$am_mf" : 'X\(//\)$' \| \ 18247 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 18248$as_echo X/"$am_mf" | 18249 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18250 s//\1/ 18251 q 18252 } 18253 /^X\/\(\/\/\)$/{ 18254 s//\1/ 18255 q 18256 } 18257 /^X\/\(\/\).*/{ 18258 s//\1/ 18259 q 18260 } 18261 s/.*/./; q'` 18262 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 18263 && sed -e '/# am--include-marker/d' "$am_filepart" \ 18264 | $MAKE -f - am--depfiles" >&5 18265 (cd "$am_dirpart" \ 18266 && sed -e '/# am--include-marker/d' "$am_filepart" \ 18267 | $MAKE -f - am--depfiles) >&5 2>&5 18268 ac_status=$? 18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18270 (exit $ac_status); } || am_rc=$? 18271 done 18272 if test $am_rc -ne 0; then 18273 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18274$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18275as_fn_error $? "Something went wrong bootstrapping makefile fragments 18276 for automatic dependency tracking. Try re-running configure with the 18277 '--disable-dependency-tracking' option to at least be able to build 18278 the package (albeit without support for automatic dependency tracking). 18279See \`config.log' for more details" "$LINENO" 5; } 18280 fi 18281 { am_dirpart=; unset am_dirpart;} 18282 { am_filepart=; unset am_filepart;} 18283 { am_mf=; unset am_mf;} 18284 { am_rc=; unset am_rc;} 18285 rm -f conftest-deps.mk 18286} 18287 ;; 18288 "libtool":C) 18289 18290 # See if we are running on zsh, and set the options that allow our 18291 # commands through without removal of \ escapes. 18292 if test -n "${ZSH_VERSION+set}"; then 18293 setopt NO_GLOB_SUBST 18294 fi 18295 18296 cfgfile=${ofile}T 18297 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 18298 $RM "$cfgfile" 18299 18300 cat <<_LT_EOF >> "$cfgfile" 18301#! $SHELL 18302# Generated automatically by $as_me ($PACKAGE) $VERSION 18303# NOTE: Changes made to this file will be lost: look at ltmain.sh. 18304 18305# Provide generalized library-building support services. 18306# Written by Gordon Matzigkeit, 1996 18307 18308# Copyright (C) 2014 Free Software Foundation, Inc. 18309# This is free software; see the source for copying conditions. There is NO 18310# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 18311 18312# GNU Libtool is free software; you can redistribute it and/or modify 18313# it under the terms of the GNU General Public License as published by 18314# the Free Software Foundation; either version 2 of of the License, or 18315# (at your option) any later version. 18316# 18317# As a special exception to the GNU General Public License, if you 18318# distribute this file as part of a program or library that is built 18319# using GNU Libtool, you may include this file under the same 18320# distribution terms that you use for the rest of that program. 18321# 18322# GNU Libtool is distributed in the hope that it will be useful, but 18323# WITHOUT ANY WARRANTY; without even the implied warranty of 18324# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18325# GNU General Public License for more details. 18326# 18327# You should have received a copy of the GNU General Public License 18328# along with this program. If not, see <http://www.gnu.org/licenses/>. 18329 18330 18331# The names of the tagged configurations supported by this script. 18332available_tags='' 18333 18334# Configured defaults for sys_lib_dlsearch_path munging. 18335: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 18336 18337# ### BEGIN LIBTOOL CONFIG 18338 18339# Which release of libtool.m4 was used? 18340macro_version=$macro_version 18341macro_revision=$macro_revision 18342 18343# Whether or not to build static libraries. 18344build_old_libs=$enable_static 18345 18346# Whether or not to build shared libraries. 18347build_libtool_libs=$enable_shared 18348 18349# What type of objects to build. 18350pic_mode=$pic_mode 18351 18352# Whether or not to optimize for fast installation. 18353fast_install=$enable_fast_install 18354 18355# Shared archive member basename,for filename based shared library versioning on AIX. 18356shared_archive_member_spec=$shared_archive_member_spec 18357 18358# Shell to use when invoking shell scripts. 18359SHELL=$lt_SHELL 18360 18361# An echo program that protects backslashes. 18362ECHO=$lt_ECHO 18363 18364# The PATH separator for the build system. 18365PATH_SEPARATOR=$lt_PATH_SEPARATOR 18366 18367# The host system. 18368host_alias=$host_alias 18369host=$host 18370host_os=$host_os 18371 18372# The build system. 18373build_alias=$build_alias 18374build=$build 18375build_os=$build_os 18376 18377# A sed program that does not truncate output. 18378SED=$lt_SED 18379 18380# Sed that helps us avoid accidentally triggering echo(1) options like -n. 18381Xsed="\$SED -e 1s/^X//" 18382 18383# A grep program that handles long lines. 18384GREP=$lt_GREP 18385 18386# An ERE matcher. 18387EGREP=$lt_EGREP 18388 18389# A literal string matcher. 18390FGREP=$lt_FGREP 18391 18392# A BSD- or MS-compatible name lister. 18393NM=$lt_NM 18394 18395# Whether we need soft or hard links. 18396LN_S=$lt_LN_S 18397 18398# What is the maximum length of a command? 18399max_cmd_len=$max_cmd_len 18400 18401# Object file suffix (normally "o"). 18402objext=$ac_objext 18403 18404# Executable file suffix (normally ""). 18405exeext=$exeext 18406 18407# whether the shell understands "unset". 18408lt_unset=$lt_unset 18409 18410# turn spaces into newlines. 18411SP2NL=$lt_lt_SP2NL 18412 18413# turn newlines into spaces. 18414NL2SP=$lt_lt_NL2SP 18415 18416# convert \$build file names to \$host format. 18417to_host_file_cmd=$lt_cv_to_host_file_cmd 18418 18419# convert \$build files to toolchain format. 18420to_tool_file_cmd=$lt_cv_to_tool_file_cmd 18421 18422# An object symbol dumper. 18423OBJDUMP=$lt_OBJDUMP 18424 18425# Method to check whether dependent libraries are shared objects. 18426deplibs_check_method=$lt_deplibs_check_method 18427 18428# Command to use when deplibs_check_method = "file_magic". 18429file_magic_cmd=$lt_file_magic_cmd 18430 18431# How to find potential files when deplibs_check_method = "file_magic". 18432file_magic_glob=$lt_file_magic_glob 18433 18434# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 18435want_nocaseglob=$lt_want_nocaseglob 18436 18437# DLL creation program. 18438DLLTOOL=$lt_DLLTOOL 18439 18440# Command to associate shared and link libraries. 18441sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 18442 18443# The archiver. 18444AR=$lt_AR 18445 18446# Flags to create an archive. 18447AR_FLAGS=$lt_AR_FLAGS 18448 18449# How to feed a file listing to the archiver. 18450archiver_list_spec=$lt_archiver_list_spec 18451 18452# A symbol stripping program. 18453STRIP=$lt_STRIP 18454 18455# Commands used to install an old-style archive. 18456RANLIB=$lt_RANLIB 18457old_postinstall_cmds=$lt_old_postinstall_cmds 18458old_postuninstall_cmds=$lt_old_postuninstall_cmds 18459 18460# Whether to use a lock for old archive extraction. 18461lock_old_archive_extraction=$lock_old_archive_extraction 18462 18463# A C compiler. 18464LTCC=$lt_CC 18465 18466# LTCC compiler flags. 18467LTCFLAGS=$lt_CFLAGS 18468 18469# Take the output of nm and produce a listing of raw symbols and C names. 18470global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 18471 18472# Transform the output of nm in a proper C declaration. 18473global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 18474 18475# Transform the output of nm into a list of symbols to manually relocate. 18476global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 18477 18478# Transform the output of nm in a C name address pair. 18479global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 18480 18481# Transform the output of nm in a C name address pair when lib prefix is needed. 18482global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 18483 18484# The name lister interface. 18485nm_interface=$lt_lt_cv_nm_interface 18486 18487# Specify filename containing input files for \$NM. 18488nm_file_list_spec=$lt_nm_file_list_spec 18489 18490# The root where to search for dependent libraries,and where our libraries should be installed. 18491lt_sysroot=$lt_sysroot 18492 18493# Command to truncate a binary pipe. 18494lt_truncate_bin=$lt_lt_cv_truncate_bin 18495 18496# The name of the directory that contains temporary libtool files. 18497objdir=$objdir 18498 18499# Used to examine libraries when file_magic_cmd begins with "file". 18500MAGIC_CMD=$MAGIC_CMD 18501 18502# Must we lock files when doing compilation? 18503need_locks=$lt_need_locks 18504 18505# Manifest tool. 18506MANIFEST_TOOL=$lt_MANIFEST_TOOL 18507 18508# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 18509DSYMUTIL=$lt_DSYMUTIL 18510 18511# Tool to change global to local symbols on Mac OS X. 18512NMEDIT=$lt_NMEDIT 18513 18514# Tool to manipulate fat objects and archives on Mac OS X. 18515LIPO=$lt_LIPO 18516 18517# ldd/readelf like tool for Mach-O binaries on Mac OS X. 18518OTOOL=$lt_OTOOL 18519 18520# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 18521OTOOL64=$lt_OTOOL64 18522 18523# Old archive suffix (normally "a"). 18524libext=$libext 18525 18526# Shared library suffix (normally ".so"). 18527shrext_cmds=$lt_shrext_cmds 18528 18529# The commands to extract the exported symbol list from a shared archive. 18530extract_expsyms_cmds=$lt_extract_expsyms_cmds 18531 18532# Variables whose values should be saved in libtool wrapper scripts and 18533# restored at link time. 18534variables_saved_for_relink=$lt_variables_saved_for_relink 18535 18536# Do we need the "lib" prefix for modules? 18537need_lib_prefix=$need_lib_prefix 18538 18539# Do we need a version for libraries? 18540need_version=$need_version 18541 18542# Library versioning type. 18543version_type=$version_type 18544 18545# Shared library runtime path variable. 18546runpath_var=$runpath_var 18547 18548# Shared library path variable. 18549shlibpath_var=$shlibpath_var 18550 18551# Is shlibpath searched before the hard-coded library search path? 18552shlibpath_overrides_runpath=$shlibpath_overrides_runpath 18553 18554# Format of library name prefix. 18555libname_spec=$lt_libname_spec 18556 18557# List of archive names. First name is the real one, the rest are links. 18558# The last name is the one that the linker finds with -lNAME 18559library_names_spec=$lt_library_names_spec 18560 18561# The coded name of the library, if different from the real name. 18562soname_spec=$lt_soname_spec 18563 18564# Permission mode override for installation of shared libraries. 18565install_override_mode=$lt_install_override_mode 18566 18567# Command to use after installation of a shared archive. 18568postinstall_cmds=$lt_postinstall_cmds 18569 18570# Command to use after uninstallation of a shared archive. 18571postuninstall_cmds=$lt_postuninstall_cmds 18572 18573# Commands used to finish a libtool library installation in a directory. 18574finish_cmds=$lt_finish_cmds 18575 18576# As "finish_cmds", except a single script fragment to be evaled but 18577# not shown. 18578finish_eval=$lt_finish_eval 18579 18580# Whether we should hardcode library paths into libraries. 18581hardcode_into_libs=$hardcode_into_libs 18582 18583# Compile-time system search path for libraries. 18584sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 18585 18586# Detected run-time system search path for libraries. 18587sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 18588 18589# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 18590configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 18591 18592# Whether dlopen is supported. 18593dlopen_support=$enable_dlopen 18594 18595# Whether dlopen of programs is supported. 18596dlopen_self=$enable_dlopen_self 18597 18598# Whether dlopen of statically linked programs is supported. 18599dlopen_self_static=$enable_dlopen_self_static 18600 18601# Commands to strip libraries. 18602old_striplib=$lt_old_striplib 18603striplib=$lt_striplib 18604 18605 18606# The linker used to build libraries. 18607LD=$lt_LD 18608 18609# How to create reloadable object files. 18610reload_flag=$lt_reload_flag 18611reload_cmds=$lt_reload_cmds 18612 18613# Commands used to build an old-style archive. 18614old_archive_cmds=$lt_old_archive_cmds 18615 18616# A language specific compiler. 18617CC=$lt_compiler 18618 18619# Is the compiler the GNU compiler? 18620with_gcc=$GCC 18621 18622# Compiler flag to turn off builtin functions. 18623no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 18624 18625# Additional compiler flags for building library objects. 18626pic_flag=$lt_lt_prog_compiler_pic 18627 18628# How to pass a linker flag through the compiler. 18629wl=$lt_lt_prog_compiler_wl 18630 18631# Compiler flag to prevent dynamic linking. 18632link_static_flag=$lt_lt_prog_compiler_static 18633 18634# Does compiler simultaneously support -c and -o options? 18635compiler_c_o=$lt_lt_cv_prog_compiler_c_o 18636 18637# Whether or not to add -lc for building shared libraries. 18638build_libtool_need_lc=$archive_cmds_need_lc 18639 18640# Whether or not to disallow shared libs when runtime libs are static. 18641allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 18642 18643# Compiler flag to allow reflexive dlopens. 18644export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 18645 18646# Compiler flag to generate shared objects directly from archives. 18647whole_archive_flag_spec=$lt_whole_archive_flag_spec 18648 18649# Whether the compiler copes with passing no objects directly. 18650compiler_needs_object=$lt_compiler_needs_object 18651 18652# Create an old-style archive from a shared archive. 18653old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 18654 18655# Create a temporary old-style archive to link instead of a shared archive. 18656old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 18657 18658# Commands used to build a shared archive. 18659archive_cmds=$lt_archive_cmds 18660archive_expsym_cmds=$lt_archive_expsym_cmds 18661 18662# Commands used to build a loadable module if different from building 18663# a shared archive. 18664module_cmds=$lt_module_cmds 18665module_expsym_cmds=$lt_module_expsym_cmds 18666 18667# Whether we are building with GNU ld or not. 18668with_gnu_ld=$lt_with_gnu_ld 18669 18670# Flag that allows shared libraries with undefined symbols to be built. 18671allow_undefined_flag=$lt_allow_undefined_flag 18672 18673# Flag that enforces no undefined symbols. 18674no_undefined_flag=$lt_no_undefined_flag 18675 18676# Flag to hardcode \$libdir into a binary during linking. 18677# This must work even if \$libdir does not exist 18678hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 18679 18680# Whether we need a single "-rpath" flag with a separated argument. 18681hardcode_libdir_separator=$lt_hardcode_libdir_separator 18682 18683# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18684# DIR into the resulting binary. 18685hardcode_direct=$hardcode_direct 18686 18687# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18688# DIR into the resulting binary and the resulting library dependency is 18689# "absolute",i.e impossible to change by setting \$shlibpath_var if the 18690# library is relocated. 18691hardcode_direct_absolute=$hardcode_direct_absolute 18692 18693# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18694# into the resulting binary. 18695hardcode_minus_L=$hardcode_minus_L 18696 18697# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18698# into the resulting binary. 18699hardcode_shlibpath_var=$hardcode_shlibpath_var 18700 18701# Set to "yes" if building a shared library automatically hardcodes DIR 18702# into the library and all subsequent libraries and executables linked 18703# against it. 18704hardcode_automatic=$hardcode_automatic 18705 18706# Set to yes if linker adds runtime paths of dependent libraries 18707# to runtime path list. 18708inherit_rpath=$inherit_rpath 18709 18710# Whether libtool must link a program against all its dependency libraries. 18711link_all_deplibs=$link_all_deplibs 18712 18713# Set to "yes" if exported symbols are required. 18714always_export_symbols=$always_export_symbols 18715 18716# The commands to list exported symbols. 18717export_symbols_cmds=$lt_export_symbols_cmds 18718 18719# Symbols that should not be listed in the preloaded symbols. 18720exclude_expsyms=$lt_exclude_expsyms 18721 18722# Symbols that must always be exported. 18723include_expsyms=$lt_include_expsyms 18724 18725# Commands necessary for linking programs (against libraries) with templates. 18726prelink_cmds=$lt_prelink_cmds 18727 18728# Commands necessary for finishing linking programs. 18729postlink_cmds=$lt_postlink_cmds 18730 18731# Specify filename containing input files. 18732file_list_spec=$lt_file_list_spec 18733 18734# How to hardcode a shared library path into an executable. 18735hardcode_action=$hardcode_action 18736 18737# ### END LIBTOOL CONFIG 18738 18739_LT_EOF 18740 18741 cat <<'_LT_EOF' >> "$cfgfile" 18742 18743# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 18744 18745# func_munge_path_list VARIABLE PATH 18746# ----------------------------------- 18747# VARIABLE is name of variable containing _space_ separated list of 18748# directories to be munged by the contents of PATH, which is string 18749# having a format: 18750# "DIR[:DIR]:" 18751# string "DIR[ DIR]" will be prepended to VARIABLE 18752# ":DIR[:DIR]" 18753# string "DIR[ DIR]" will be appended to VARIABLE 18754# "DIRP[:DIRP]::[DIRA:]DIRA" 18755# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 18756# "DIRA[ DIRA]" will be appended to VARIABLE 18757# "DIR[:DIR]" 18758# VARIABLE will be replaced by "DIR[ DIR]" 18759func_munge_path_list () 18760{ 18761 case x$2 in 18762 x) 18763 ;; 18764 *:) 18765 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 18766 ;; 18767 x:*) 18768 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 18769 ;; 18770 *::*) 18771 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 18772 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 18773 ;; 18774 *) 18775 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 18776 ;; 18777 esac 18778} 18779 18780 18781# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 18782func_cc_basename () 18783{ 18784 for cc_temp in $*""; do 18785 case $cc_temp in 18786 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 18787 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 18788 \-*) ;; 18789 *) break;; 18790 esac 18791 done 18792 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 18793} 18794 18795 18796# ### END FUNCTIONS SHARED WITH CONFIGURE 18797 18798_LT_EOF 18799 18800 case $host_os in 18801 aix3*) 18802 cat <<\_LT_EOF >> "$cfgfile" 18803# AIX sometimes has problems with the GCC collect2 program. For some 18804# reason, if we set the COLLECT_NAMES environment variable, the problems 18805# vanish in a puff of smoke. 18806if test set != "${COLLECT_NAMES+set}"; then 18807 COLLECT_NAMES= 18808 export COLLECT_NAMES 18809fi 18810_LT_EOF 18811 ;; 18812 esac 18813 18814 18815ltmain=$ac_aux_dir/ltmain.sh 18816 18817 18818 # We use sed instead of cat because bash on DJGPP gets confused if 18819 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18820 # text mode, it properly converts lines to CR/LF. This bash problem 18821 # is reportedly fixed, but why not run on old versions too? 18822 sed '$q' "$ltmain" >> "$cfgfile" \ 18823 || (rm -f "$cfgfile"; exit 1) 18824 18825 mv -f "$cfgfile" "$ofile" || 18826 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 18827 chmod +x "$ofile" 18828 18829 ;; 18830 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 18831 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 18832 esac ;; 18833 "po/stamp-it":C) 18834 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 18835 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 18836 fi 18837 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 18838 >"po/stamp-it.tmp" 18839 sed '/^#/d 18840 s/^[[].*] *// 18841 /^[ ]*$/d 18842 '"s|^| $ac_top_srcdir/|" \ 18843 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 18844 18845 sed '/^POTFILES =/,/[^\\]$/ { 18846 /^POTFILES =/!d 18847 r po/POTFILES 18848 } 18849 ' "po/Makefile.in" >"po/Makefile" 18850 rm -f "po/Makefile.tmp" 18851 mv "po/stamp-it.tmp" "po/stamp-it" 18852 ;; 18853 18854 esac 18855done # for ac_tag 18856 18857 18858as_fn_exit 0 18859_ACEOF 18860ac_clean_files=$ac_clean_files_save 18861 18862test $ac_write_fail = 0 || 18863 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 18864 18865 18866# configure is writing to config.log, and then calls config.status. 18867# config.status does its own redirection, appending to config.log. 18868# Unfortunately, on DOS this fails, as config.log is still kept open 18869# by configure, so config.status won't be able to write to it; its 18870# output is simply discarded. So we exec the FD to /dev/null, 18871# effectively closing config.log, so it can be properly (re)opened and 18872# appended to by config.status. When coming back to configure, we 18873# need to make the FD available again. 18874if test "$no_create" != yes; then 18875 ac_cs_success=: 18876 ac_config_status_args= 18877 test "$silent" = yes && 18878 ac_config_status_args="$ac_config_status_args --quiet" 18879 exec 5>/dev/null 18880 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 18881 exec 5>>config.log 18882 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18883 # would make configure fail if this is the last instruction. 18884 $ac_cs_success || as_fn_exit 1 18885fi 18886if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 18887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 18888$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 18889fi 18890 18891 18892echo 18893echo "Build Configuration:" 18894echo 18895echo "* Wnck: ${WNCK_VERSION:-no}" 18896echo "* Cairo: ${CAIRO_VERSION}" 18897echo "* GTK+: ${GTK3_VERSION}" 18898echo "* Target OS: $target_os ($ac_os_implementation)" 18899echo "* Debug: $enable_debug" 18900echo 18901