1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for Nautilus-Actions 3.2.4. 4# 5# Report bugs to <maintainer@nautilus-actions.org>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1 202 203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 207 PATH=/empty FPATH=/empty; export PATH FPATH 208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278$0: maintainer@nautilus-actions.org about your system, 279$0: including any error possibly output before this 280$0: message. Then install a modern shell, or manually run 281$0: the script under such a shell if you do have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='Nautilus-Actions' 592PACKAGE_TARNAME='nautilus-actions' 593PACKAGE_VERSION='3.2.4' 594PACKAGE_STRING='Nautilus-Actions 3.2.4' 595PACKAGE_BUGREPORT='maintainer@nautilus-actions.org' 596PACKAGE_URL='http://www.nautilus-actions.org' 597 598ac_unique_file="src/nact/main.c" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIBOBJS 639ENABLE_MANUALS_FALSE 640ENABLE_MANUALS_TRUE 641ENABLE_PDF_MANUALS_FALSE 642ENABLE_PDF_MANUALS_TRUE 643with_dblatex 644ENABLE_HTML_MANUALS_FALSE 645ENABLE_HTML_MANUALS_TRUE 646WITH_GDT 647WITH_DB2HTML 648with_db2html 649with_gdt 650HAVE_GNOME_DOC_UTILS_FALSE 651HAVE_GNOME_DOC_UTILS_TRUE 652DISTCHECK_CONFIGURE_FLAGS 653ENABLE_SK_FALSE 654ENABLE_SK_TRUE 655DOC_USER_FORMATS 656OMF_DIR 657HELP_DIR 658GTK_DOC_USE_REBASE_FALSE 659GTK_DOC_USE_REBASE_TRUE 660GTK_DOC_USE_LIBTOOL_FALSE 661GTK_DOC_USE_LIBTOOL_TRUE 662GTK_DOC_BUILD_PDF_FALSE 663GTK_DOC_BUILD_PDF_TRUE 664GTK_DOC_BUILD_HTML_FALSE 665GTK_DOC_BUILD_HTML_TRUE 666ENABLE_GTK_DOC_FALSE 667ENABLE_GTK_DOC_TRUE 668GTKDOC_DEPS_LIBS 669GTKDOC_DEPS_CFLAGS 670HTML_DIR 671GTKDOC_MKPDF 672GTKDOC_REBASE 673GTKDOC_CHECK 674ENABLE_DEPRECATED_FALSE 675ENABLE_DEPRECATED_TRUE 676NA_LOGDOMAIN_UTILS 677NA_LOGDOMAIN_TEST 678NA_LOGDOMAIN_PLUGIN_TRACKER 679NA_LOGDOMAIN_PLUGIN_MENU 680NA_LOGDOMAIN_NACT 681NA_LOGDOMAIN_CORE 682NA_LOGDOMAIN_IO_XML 683NA_LOGDOMAIN_IO_GCONF 684NA_LOGDOMAIN_IO_DESKTOP 685NAUTILUS_ACTIONS_LIBS 686NAUTILUS_ACTIONS_CFLAGS 687NAUTILUS_EXTENSIONS_DIR 688NAUTILUS_EXTENSION_LIBS 689NAUTILUS_EXTENSION_CFLAGS 690GLIB_GENMARSHAL 691UUID_LIBS 692UUID_CFLAGS 693ICE_LIBS 694ICE_CFLAGS 695SM_LIBS 696SM_CFLAGS 697LIBXML_LIBS 698LIBXML_CFLAGS 699GTOP_LIBS 700GTOP_CFLAGS 701GIO_UNIX_LIBS 702GIO_UNIX_CFLAGS 703HAVE_DBUS_GLIB_FALSE 704HAVE_DBUS_GLIB_TRUE 705HAVE_GDBUS_FALSE 706HAVE_GDBUS_TRUE 707DBUS_GLIB_LIBS 708DBUS_GLIB_CFLAGS 709GDBUS_LIBS 710GDBUS_CFLAGS 711GMODULE_LIBS 712GMODULE_CFLAGS 713GLIB_LIBS 714GLIB_CFLAGS 715GTK2_LIBS 716GTK2_CFLAGS 717UNIQUE_LIBS 718UNIQUE_CFLAGS 719GTK3_LIBS 720GTK3_CFLAGS 721HAVE_GCONF_FALSE 722HAVE_GCONF_TRUE 723GCONF_SCHEMAS_INSTALL_FALSE 724GCONF_SCHEMAS_INSTALL_TRUE 725GCONF_SCHEMA_FILE_DIR 726GCONF_SCHEMA_CONFIG_SOURCE 727GCONF_LIBS 728GCONF_CFLAGS 729PKG_CONFIG_LIBDIR 730PKG_CONFIG_PATH 731have_gconf 732PKG_CONFIG 733MKINSTALLDIRS 734POSUB 735POFILES 736PO_IN_DATADIR_FALSE 737PO_IN_DATADIR_TRUE 738INTLLIBS 739INSTOBJEXT 740GMOFILES 741CATOBJEXT 742CATALOGS 743MSGFMT_OPTS 744GETTEXT_PACKAGE 745DATADIRNAME 746ALL_LINGUAS 747INTLTOOL_PERL 748GMSGFMT 749MSGFMT 750MSGMERGE 751XGETTEXT 752INTLTOOL_POLICY_RULE 753INTLTOOL_SERVICE_RULE 754INTLTOOL_THEME_RULE 755INTLTOOL_SCHEMAS_RULE 756INTLTOOL_CAVES_RULE 757INTLTOOL_XML_NOMERGE_RULE 758INTLTOOL_XML_RULE 759INTLTOOL_KBD_RULE 760INTLTOOL_XAM_RULE 761INTLTOOL_UI_RULE 762INTLTOOL_SOUNDLIST_RULE 763INTLTOOL_SHEET_RULE 764INTLTOOL_SERVER_RULE 765INTLTOOL_PONG_RULE 766INTLTOOL_OAF_RULE 767INTLTOOL_PROP_RULE 768INTLTOOL_KEYS_RULE 769INTLTOOL_DIRECTORY_RULE 770INTLTOOL_DESKTOP_RULE 771intltool__v_merge_options_0 772intltool__v_merge_options_ 773INTLTOOL_V_MERGE_OPTIONS 774INTLTOOL__v_MERGE_0 775INTLTOOL__v_MERGE_ 776INTLTOOL_V_MERGE 777INTLTOOL_EXTRACT 778INTLTOOL_MERGE 779INTLTOOL_UPDATE 780USE_NLS 781OTOOL64 782OTOOL 783LIPO 784NMEDIT 785DSYMUTIL 786MANIFEST_TOOL 787RANLIB 788ac_ct_AR 789AR 790DLLTOOL 791OBJDUMP 792LN_S 793NM 794ac_ct_DUMPBIN 795DUMPBIN 796LD 797FGREP 798SED 799LIBTOOL 800NA_MAINTAINER_MODE_FALSE 801NA_MAINTAINER_MODE_TRUE 802AM_CPPFLAGS 803DISABLE_DEPRECATED 804MAINT 805MAINTAINER_MODE_FALSE 806MAINTAINER_MODE_TRUE 807ACLOCAL_AMFLAGS 808AM_CFLAGS 809AM_LDFLAGS 810WARN_CFLAGS 811EGREP 812GREP 813CPP 814am__fastdepCC_FALSE 815am__fastdepCC_TRUE 816CCDEPMODE 817am__nodep 818AMDEPBACKSLASH 819AMDEP_FALSE 820AMDEP_TRUE 821am__quote 822am__include 823DEPDIR 824OBJEXT 825EXEEXT 826ac_ct_CC 827CPPFLAGS 828LDFLAGS 829CFLAGS 830CC 831am__untar 832am__tar 833AMTAR 834am__leading_dot 835SET_MAKE 836AWK 837mkdir_p 838MKDIR_P 839INSTALL_STRIP_PROGRAM 840STRIP 841install_sh 842MAKEINFO 843AUTOHEADER 844AUTOMAKE 845AUTOCONF 846ACLOCAL 847VERSION 848PACKAGE 849CYGPATH_W 850am__isrc 851INSTALL_DATA 852INSTALL_SCRIPT 853INSTALL_PROGRAM 854target_os 855target_vendor 856target_cpu 857target 858host_os 859host_vendor 860host_cpu 861host 862build_os 863build_vendor 864build_cpu 865build 866AM_BACKSLASH 867AM_DEFAULT_VERBOSITY 868AM_DEFAULT_V 869AM_V 870target_alias 871host_alias 872build_alias 873LIBS 874ECHO_T 875ECHO_N 876ECHO_C 877DEFS 878mandir 879localedir 880libdir 881psdir 882pdfdir 883dvidir 884htmldir 885infodir 886docdir 887oldincludedir 888includedir 889localstatedir 890sharedstatedir 891sysconfdir 892datadir 893datarootdir 894libexecdir 895sbindir 896bindir 897program_transform_name 898prefix 899exec_prefix 900PACKAGE_URL 901PACKAGE_BUGREPORT 902PACKAGE_STRING 903PACKAGE_VERSION 904PACKAGE_TARNAME 905PACKAGE_NAME 906PATH_SEPARATOR 907SHELL' 908ac_subst_files='' 909ac_user_opts=' 910enable_option_checking 911enable_silent_rules 912enable_dependency_tracking 913enable_static 914enable_compile_warnings 915enable_iso_c 916enable_as_needed 917enable_maintainer_mode 918enable_shared 919with_pic 920enable_fast_install 921with_gnu_ld 922with_sysroot 923enable_libtool_lock 924enable_nls 925enable_gconf 926with_gconf_source 927with_gconf_schema_file_dir 928enable_schemas_install 929with_gtk 930with_nautilus_extdir 931with_default_io_provider 932enable_deprecated 933with_html_dir 934enable_gtk_doc 935enable_gtk_doc_html 936enable_gtk_doc_pdf 937with_help_dir 938with_omf_dir 939with_help_formats 940enable_scrollkeeper 941enable_html_manuals 942enable_pdf_manuals 943' 944 ac_precious_vars='build_alias 945host_alias 946target_alias 947CC 948CFLAGS 949LDFLAGS 950LIBS 951CPPFLAGS 952CPP 953PKG_CONFIG 954PKG_CONFIG_PATH 955PKG_CONFIG_LIBDIR 956GCONF_CFLAGS 957GCONF_LIBS 958GTK3_CFLAGS 959GTK3_LIBS 960UNIQUE_CFLAGS 961UNIQUE_LIBS 962GTK2_CFLAGS 963GTK2_LIBS 964GLIB_CFLAGS 965GLIB_LIBS 966GMODULE_CFLAGS 967GMODULE_LIBS 968GDBUS_CFLAGS 969GDBUS_LIBS 970DBUS_GLIB_CFLAGS 971DBUS_GLIB_LIBS 972GIO_UNIX_CFLAGS 973GIO_UNIX_LIBS 974GTOP_CFLAGS 975GTOP_LIBS 976LIBXML_CFLAGS 977LIBXML_LIBS 978SM_CFLAGS 979SM_LIBS 980ICE_CFLAGS 981ICE_LIBS 982UUID_CFLAGS 983UUID_LIBS 984NAUTILUS_EXTENSION_CFLAGS 985NAUTILUS_EXTENSION_LIBS 986GTKDOC_DEPS_CFLAGS 987GTKDOC_DEPS_LIBS' 988 989 990# Initialize some variables set by options. 991ac_init_help= 992ac_init_version=false 993ac_unrecognized_opts= 994ac_unrecognized_sep= 995# The variables have the same names as the options, with 996# dashes changed to underlines. 997cache_file=/dev/null 998exec_prefix=NONE 999no_create= 1000no_recursion= 1001prefix=NONE 1002program_prefix=NONE 1003program_suffix=NONE 1004program_transform_name=s,x,x, 1005silent= 1006site= 1007srcdir= 1008verbose= 1009x_includes=NONE 1010x_libraries=NONE 1011 1012# Installation directory options. 1013# These are left unexpanded so users can "make install exec_prefix=/foo" 1014# and all the variables that are supposed to be based on exec_prefix 1015# by default will actually change. 1016# Use braces instead of parens because sh, perl, etc. also accept them. 1017# (The list follows the same order as the GNU Coding Standards.) 1018bindir='${exec_prefix}/bin' 1019sbindir='${exec_prefix}/sbin' 1020libexecdir='${exec_prefix}/libexec' 1021datarootdir='${prefix}/share' 1022datadir='${datarootdir}' 1023sysconfdir='${prefix}/etc' 1024sharedstatedir='${prefix}/com' 1025localstatedir='${prefix}/var' 1026includedir='${prefix}/include' 1027oldincludedir='/usr/include' 1028docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1029infodir='${datarootdir}/info' 1030htmldir='${docdir}' 1031dvidir='${docdir}' 1032pdfdir='${docdir}' 1033psdir='${docdir}' 1034libdir='${exec_prefix}/lib' 1035localedir='${datarootdir}/locale' 1036mandir='${datarootdir}/man' 1037 1038ac_prev= 1039ac_dashdash= 1040for ac_option 1041do 1042 # If the previous option needs an argument, assign it. 1043 if test -n "$ac_prev"; then 1044 eval $ac_prev=\$ac_option 1045 ac_prev= 1046 continue 1047 fi 1048 1049 case $ac_option in 1050 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1051 *=) ac_optarg= ;; 1052 *) ac_optarg=yes ;; 1053 esac 1054 1055 # Accept the important Cygnus configure options, so we can diagnose typos. 1056 1057 case $ac_dashdash$ac_option in 1058 --) 1059 ac_dashdash=yes ;; 1060 1061 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1062 ac_prev=bindir ;; 1063 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1064 bindir=$ac_optarg ;; 1065 1066 -build | --build | --buil | --bui | --bu) 1067 ac_prev=build_alias ;; 1068 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1069 build_alias=$ac_optarg ;; 1070 1071 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1072 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1073 ac_prev=cache_file ;; 1074 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1075 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1076 cache_file=$ac_optarg ;; 1077 1078 --config-cache | -C) 1079 cache_file=config.cache ;; 1080 1081 -datadir | --datadir | --datadi | --datad) 1082 ac_prev=datadir ;; 1083 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1084 datadir=$ac_optarg ;; 1085 1086 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1087 | --dataroo | --dataro | --datar) 1088 ac_prev=datarootdir ;; 1089 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1090 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1091 datarootdir=$ac_optarg ;; 1092 1093 -disable-* | --disable-*) 1094 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1095 # Reject names that are not valid shell variable names. 1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1097 as_fn_error $? "invalid feature name: $ac_useropt" 1098 ac_useropt_orig=$ac_useropt 1099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1100 case $ac_user_opts in 1101 *" 1102"enable_$ac_useropt" 1103"*) ;; 1104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1105 ac_unrecognized_sep=', ';; 1106 esac 1107 eval enable_$ac_useropt=no ;; 1108 1109 -docdir | --docdir | --docdi | --doc | --do) 1110 ac_prev=docdir ;; 1111 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1112 docdir=$ac_optarg ;; 1113 1114 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1115 ac_prev=dvidir ;; 1116 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1117 dvidir=$ac_optarg ;; 1118 1119 -enable-* | --enable-*) 1120 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1121 # Reject names that are not valid shell variable names. 1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1123 as_fn_error $? "invalid feature name: $ac_useropt" 1124 ac_useropt_orig=$ac_useropt 1125 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1126 case $ac_user_opts in 1127 *" 1128"enable_$ac_useropt" 1129"*) ;; 1130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1131 ac_unrecognized_sep=', ';; 1132 esac 1133 eval enable_$ac_useropt=\$ac_optarg ;; 1134 1135 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1136 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1137 | --exec | --exe | --ex) 1138 ac_prev=exec_prefix ;; 1139 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1140 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1141 | --exec=* | --exe=* | --ex=*) 1142 exec_prefix=$ac_optarg ;; 1143 1144 -gas | --gas | --ga | --g) 1145 # Obsolete; use --with-gas. 1146 with_gas=yes ;; 1147 1148 -help | --help | --hel | --he | -h) 1149 ac_init_help=long ;; 1150 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1151 ac_init_help=recursive ;; 1152 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1153 ac_init_help=short ;; 1154 1155 -host | --host | --hos | --ho) 1156 ac_prev=host_alias ;; 1157 -host=* | --host=* | --hos=* | --ho=*) 1158 host_alias=$ac_optarg ;; 1159 1160 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1161 ac_prev=htmldir ;; 1162 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1163 | --ht=*) 1164 htmldir=$ac_optarg ;; 1165 1166 -includedir | --includedir | --includedi | --included | --include \ 1167 | --includ | --inclu | --incl | --inc) 1168 ac_prev=includedir ;; 1169 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1170 | --includ=* | --inclu=* | --incl=* | --inc=*) 1171 includedir=$ac_optarg ;; 1172 1173 -infodir | --infodir | --infodi | --infod | --info | --inf) 1174 ac_prev=infodir ;; 1175 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1176 infodir=$ac_optarg ;; 1177 1178 -libdir | --libdir | --libdi | --libd) 1179 ac_prev=libdir ;; 1180 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1181 libdir=$ac_optarg ;; 1182 1183 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1184 | --libexe | --libex | --libe) 1185 ac_prev=libexecdir ;; 1186 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1187 | --libexe=* | --libex=* | --libe=*) 1188 libexecdir=$ac_optarg ;; 1189 1190 -localedir | --localedir | --localedi | --localed | --locale) 1191 ac_prev=localedir ;; 1192 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1193 localedir=$ac_optarg ;; 1194 1195 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1196 | --localstate | --localstat | --localsta | --localst | --locals) 1197 ac_prev=localstatedir ;; 1198 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1199 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1200 localstatedir=$ac_optarg ;; 1201 1202 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1203 ac_prev=mandir ;; 1204 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1205 mandir=$ac_optarg ;; 1206 1207 -nfp | --nfp | --nf) 1208 # Obsolete; use --without-fp. 1209 with_fp=no ;; 1210 1211 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1212 | --no-cr | --no-c | -n) 1213 no_create=yes ;; 1214 1215 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1216 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1217 no_recursion=yes ;; 1218 1219 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1220 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1221 | --oldin | --oldi | --old | --ol | --o) 1222 ac_prev=oldincludedir ;; 1223 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1224 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1225 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1226 oldincludedir=$ac_optarg ;; 1227 1228 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1229 ac_prev=prefix ;; 1230 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1231 prefix=$ac_optarg ;; 1232 1233 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1234 | --program-pre | --program-pr | --program-p) 1235 ac_prev=program_prefix ;; 1236 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1237 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1238 program_prefix=$ac_optarg ;; 1239 1240 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1241 | --program-suf | --program-su | --program-s) 1242 ac_prev=program_suffix ;; 1243 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1244 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1245 program_suffix=$ac_optarg ;; 1246 1247 -program-transform-name | --program-transform-name \ 1248 | --program-transform-nam | --program-transform-na \ 1249 | --program-transform-n | --program-transform- \ 1250 | --program-transform | --program-transfor \ 1251 | --program-transfo | --program-transf \ 1252 | --program-trans | --program-tran \ 1253 | --progr-tra | --program-tr | --program-t) 1254 ac_prev=program_transform_name ;; 1255 -program-transform-name=* | --program-transform-name=* \ 1256 | --program-transform-nam=* | --program-transform-na=* \ 1257 | --program-transform-n=* | --program-transform-=* \ 1258 | --program-transform=* | --program-transfor=* \ 1259 | --program-transfo=* | --program-transf=* \ 1260 | --program-trans=* | --program-tran=* \ 1261 | --progr-tra=* | --program-tr=* | --program-t=*) 1262 program_transform_name=$ac_optarg ;; 1263 1264 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1265 ac_prev=pdfdir ;; 1266 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1267 pdfdir=$ac_optarg ;; 1268 1269 -psdir | --psdir | --psdi | --psd | --ps) 1270 ac_prev=psdir ;; 1271 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1272 psdir=$ac_optarg ;; 1273 1274 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1275 | -silent | --silent | --silen | --sile | --sil) 1276 silent=yes ;; 1277 1278 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1279 ac_prev=sbindir ;; 1280 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1281 | --sbi=* | --sb=*) 1282 sbindir=$ac_optarg ;; 1283 1284 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1285 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1286 | --sharedst | --shareds | --shared | --share | --shar \ 1287 | --sha | --sh) 1288 ac_prev=sharedstatedir ;; 1289 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1290 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1291 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1292 | --sha=* | --sh=*) 1293 sharedstatedir=$ac_optarg ;; 1294 1295 -site | --site | --sit) 1296 ac_prev=site ;; 1297 -site=* | --site=* | --sit=*) 1298 site=$ac_optarg ;; 1299 1300 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1301 ac_prev=srcdir ;; 1302 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1303 srcdir=$ac_optarg ;; 1304 1305 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1306 | --syscon | --sysco | --sysc | --sys | --sy) 1307 ac_prev=sysconfdir ;; 1308 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1309 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1310 sysconfdir=$ac_optarg ;; 1311 1312 -target | --target | --targe | --targ | --tar | --ta | --t) 1313 ac_prev=target_alias ;; 1314 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1315 target_alias=$ac_optarg ;; 1316 1317 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1318 verbose=yes ;; 1319 1320 -version | --version | --versio | --versi | --vers | -V) 1321 ac_init_version=: ;; 1322 1323 -with-* | --with-*) 1324 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1325 # Reject names that are not valid shell variable names. 1326 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1327 as_fn_error $? "invalid package name: $ac_useropt" 1328 ac_useropt_orig=$ac_useropt 1329 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1330 case $ac_user_opts in 1331 *" 1332"with_$ac_useropt" 1333"*) ;; 1334 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1335 ac_unrecognized_sep=', ';; 1336 esac 1337 eval with_$ac_useropt=\$ac_optarg ;; 1338 1339 -without-* | --without-*) 1340 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1341 # Reject names that are not valid shell variable names. 1342 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1343 as_fn_error $? "invalid package name: $ac_useropt" 1344 ac_useropt_orig=$ac_useropt 1345 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1346 case $ac_user_opts in 1347 *" 1348"with_$ac_useropt" 1349"*) ;; 1350 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1351 ac_unrecognized_sep=', ';; 1352 esac 1353 eval with_$ac_useropt=no ;; 1354 1355 --x) 1356 # Obsolete; use --with-x. 1357 with_x=yes ;; 1358 1359 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1360 | --x-incl | --x-inc | --x-in | --x-i) 1361 ac_prev=x_includes ;; 1362 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1363 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1364 x_includes=$ac_optarg ;; 1365 1366 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1367 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1368 ac_prev=x_libraries ;; 1369 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1370 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1371 x_libraries=$ac_optarg ;; 1372 1373 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1374Try \`$0 --help' for more information" 1375 ;; 1376 1377 *=*) 1378 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1379 # Reject names that are not valid shell variable names. 1380 case $ac_envvar in #( 1381 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1382 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1383 esac 1384 eval $ac_envvar=\$ac_optarg 1385 export $ac_envvar ;; 1386 1387 *) 1388 # FIXME: should be removed in autoconf 3.0. 1389 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1390 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1391 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1392 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1393 ;; 1394 1395 esac 1396done 1397 1398if test -n "$ac_prev"; then 1399 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1400 as_fn_error $? "missing argument to $ac_option" 1401fi 1402 1403if test -n "$ac_unrecognized_opts"; then 1404 case $enable_option_checking in 1405 no) ;; 1406 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1407 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1408 esac 1409fi 1410 1411# Check all directory arguments for consistency. 1412for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1413 datadir sysconfdir sharedstatedir localstatedir includedir \ 1414 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1415 libdir localedir mandir 1416do 1417 eval ac_val=\$$ac_var 1418 # Remove trailing slashes. 1419 case $ac_val in 1420 */ ) 1421 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1422 eval $ac_var=\$ac_val;; 1423 esac 1424 # Be sure to have absolute directory names. 1425 case $ac_val in 1426 [\\/$]* | ?:[\\/]* ) continue;; 1427 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1428 esac 1429 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1430done 1431 1432# There might be people who depend on the old broken behavior: `$host' 1433# used to hold the argument of --host etc. 1434# FIXME: To remove some day. 1435build=$build_alias 1436host=$host_alias 1437target=$target_alias 1438 1439# FIXME: To remove some day. 1440if test "x$host_alias" != x; then 1441 if test "x$build_alias" = x; then 1442 cross_compiling=maybe 1443 elif test "x$build_alias" != "x$host_alias"; then 1444 cross_compiling=yes 1445 fi 1446fi 1447 1448ac_tool_prefix= 1449test -n "$host_alias" && ac_tool_prefix=$host_alias- 1450 1451test "$silent" = yes && exec 6>/dev/null 1452 1453 1454ac_pwd=`pwd` && test -n "$ac_pwd" && 1455ac_ls_di=`ls -di .` && 1456ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1457 as_fn_error $? "working directory cannot be determined" 1458test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1459 as_fn_error $? "pwd does not report name of working directory" 1460 1461 1462# Find the source files, if location was not specified. 1463if test -z "$srcdir"; then 1464 ac_srcdir_defaulted=yes 1465 # Try the directory containing this script, then the parent directory. 1466 ac_confdir=`$as_dirname -- "$as_myself" || 1467$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1468 X"$as_myself" : 'X\(//\)[^/]' \| \ 1469 X"$as_myself" : 'X\(//\)$' \| \ 1470 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1471$as_echo X"$as_myself" | 1472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1473 s//\1/ 1474 q 1475 } 1476 /^X\(\/\/\)[^/].*/{ 1477 s//\1/ 1478 q 1479 } 1480 /^X\(\/\/\)$/{ 1481 s//\1/ 1482 q 1483 } 1484 /^X\(\/\).*/{ 1485 s//\1/ 1486 q 1487 } 1488 s/.*/./; q'` 1489 srcdir=$ac_confdir 1490 if test ! -r "$srcdir/$ac_unique_file"; then 1491 srcdir=.. 1492 fi 1493else 1494 ac_srcdir_defaulted=no 1495fi 1496if test ! -r "$srcdir/$ac_unique_file"; then 1497 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1498 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1499fi 1500ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1501ac_abs_confdir=`( 1502 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1503 pwd)` 1504# When building in place, set srcdir=. 1505if test "$ac_abs_confdir" = "$ac_pwd"; then 1506 srcdir=. 1507fi 1508# Remove unnecessary trailing slashes from srcdir. 1509# Double slashes in file names in object file debugging info 1510# mess up M-x gdb in Emacs. 1511case $srcdir in 1512*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1513esac 1514for ac_var in $ac_precious_vars; do 1515 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1516 eval ac_env_${ac_var}_value=\$${ac_var} 1517 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1518 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1519done 1520 1521# 1522# Report the --help message. 1523# 1524if test "$ac_init_help" = "long"; then 1525 # Omit some internal or obsolete options to make the list less imposing. 1526 # This message is too long to be a string in the A/UX 3.1 sh. 1527 cat <<_ACEOF 1528\`configure' configures Nautilus-Actions 3.2.4 to adapt to many kinds of systems. 1529 1530Usage: $0 [OPTION]... [VAR=VALUE]... 1531 1532To assign environment variables (e.g., CC, CFLAGS...), specify them as 1533VAR=VALUE. See below for descriptions of some of the useful variables. 1534 1535Defaults for the options are specified in brackets. 1536 1537Configuration: 1538 -h, --help display this help and exit 1539 --help=short display options specific to this package 1540 --help=recursive display the short help of all the included packages 1541 -V, --version display version information and exit 1542 -q, --quiet, --silent do not print \`checking ...' messages 1543 --cache-file=FILE cache test results in FILE [disabled] 1544 -C, --config-cache alias for \`--cache-file=config.cache' 1545 -n, --no-create do not create output files 1546 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1547 1548Installation directories: 1549 --prefix=PREFIX install architecture-independent files in PREFIX 1550 [$ac_default_prefix] 1551 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1552 [PREFIX] 1553 1554By default, \`make install' will install all the files in 1555\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1556an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1557for instance \`--prefix=\$HOME'. 1558 1559For better control, use the options below. 1560 1561Fine tuning of the installation directories: 1562 --bindir=DIR user executables [EPREFIX/bin] 1563 --sbindir=DIR system admin executables [EPREFIX/sbin] 1564 --libexecdir=DIR program executables [EPREFIX/libexec] 1565 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1566 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1567 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1568 --libdir=DIR object code libraries [EPREFIX/lib] 1569 --includedir=DIR C header files [PREFIX/include] 1570 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1571 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1572 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1573 --infodir=DIR info documentation [DATAROOTDIR/info] 1574 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1575 --mandir=DIR man documentation [DATAROOTDIR/man] 1576 --docdir=DIR documentation root 1577 [DATAROOTDIR/doc/nautilus-actions] 1578 --htmldir=DIR html documentation [DOCDIR] 1579 --dvidir=DIR dvi documentation [DOCDIR] 1580 --pdfdir=DIR pdf documentation [DOCDIR] 1581 --psdir=DIR ps documentation [DOCDIR] 1582_ACEOF 1583 1584 cat <<\_ACEOF 1585 1586Program names: 1587 --program-prefix=PREFIX prepend PREFIX to installed program names 1588 --program-suffix=SUFFIX append SUFFIX to installed program names 1589 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1590 1591System types: 1592 --build=BUILD configure for building on BUILD [guessed] 1593 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1594 --target=TARGET configure for building compilers for TARGET [HOST] 1595_ACEOF 1596fi 1597 1598if test -n "$ac_init_help"; then 1599 case $ac_init_help in 1600 short | recursive ) echo "Configuration of Nautilus-Actions 3.2.4:";; 1601 esac 1602 cat <<\_ACEOF 1603 1604Optional Features: 1605 --disable-option-checking ignore unrecognized --enable/--with options 1606 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1607 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1608 --enable-silent-rules less verbose build output (undo: "make V=1") 1609 --disable-silent-rules verbose build output (undo: "make V=0") 1610 --enable-dependency-tracking 1611 do not reject slow dependency extractors 1612 --disable-dependency-tracking 1613 speeds up one-time build 1614 --enable-static[=PKGS] build static libraries [default=no] 1615 --enable-compile-warnings=[no/minimum/yes/maximum/error] 1616 Turn on compiler warnings 1617 --enable-iso-c Try to warn if code is not ISO C 1618 --disable-as-needed Whether to only link against needed libraries 1619 --enable-maintainer-mode 1620 enable make rules and dependencies not useful (and 1621 sometimes confusing) to the casual installer 1622 --enable-shared[=PKGS] build shared libraries [default=yes] 1623 --enable-fast-install[=PKGS] 1624 optimize for fast installation [default=yes] 1625 --disable-libtool-lock avoid locking (might break parallel builds) 1626 --disable-nls do not use Native Language Support 1627 --enable-gconf whether to enable GConf subsystem [auto] 1628 --disable-schemas-install 1629 Disable the schemas installation 1630 --enable-deprecated whether to enable deprecated symbols 1631 --enable-gtk-doc use gtk-doc to build documentation [[default=no]] 1632 --enable-gtk-doc-html build documentation in html format [[default=yes]] 1633 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] 1634 --disable-scrollkeeper do not make updates to the scrollkeeper database 1635 --enable-html-manuals[=gdt|db2html] 1636 build HTML user's manuals [gdt] 1637 --enable-pdf-manuals[=dblatex] 1638 build PDF user's manuals [dblatex] 1639 1640Optional Packages: 1641 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1642 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1643 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1644 both] 1645 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1646 --with-sysroot=DIR Search for dependent libraries within DIR 1647 (or the compiler's sysroot if not specified). 1648 --with-gconf-source=sourceaddress 1649 Config database for installing schema files. 1650 --with-gconf-schema-file-dir=dir 1651 Directory for installing schema files. 1652 --with-gtk=[2|3] the Gtk+ version to build against [auto] 1653 --with-nautilus-extdir=DIR 1654 nautilus plugins extension directory [auto] 1655 --with-default-io-provider<provider> 1656 define default I/O provider [na-desktop] 1657 --with-html-dir=PATH path to installed docs 1658 --with-help-dir=DIR path to help docs 1659 --with-omf-dir=DIR path to OMF files 1660 --with-help-formats=FORMATS 1661 list of formats 1662 1663Some influential environment variables: 1664 CC C compiler command 1665 CFLAGS C compiler flags 1666 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1667 nonstandard directory <lib dir> 1668 LIBS libraries to pass to the linker, e.g. -l<library> 1669 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1670 you have headers in a nonstandard directory <include dir> 1671 CPP C preprocessor 1672 PKG_CONFIG path to pkg-config utility 1673 PKG_CONFIG_PATH 1674 directories to add to pkg-config's search path 1675 PKG_CONFIG_LIBDIR 1676 path overriding pkg-config's built-in search path 1677 GCONF_CFLAGS 1678 C compiler flags for GCONF, overriding pkg-config 1679 GCONF_LIBS linker flags for GCONF, overriding pkg-config 1680 GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config 1681 GTK3_LIBS linker flags for GTK3, overriding pkg-config 1682 UNIQUE_CFLAGS 1683 C compiler flags for UNIQUE, overriding pkg-config 1684 UNIQUE_LIBS linker flags for UNIQUE, overriding pkg-config 1685 GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config 1686 GTK2_LIBS linker flags for GTK2, overriding pkg-config 1687 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1688 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1689 GMODULE_CFLAGS 1690 C compiler flags for GMODULE, overriding pkg-config 1691 GMODULE_LIBS 1692 linker flags for GMODULE, overriding pkg-config 1693 GDBUS_CFLAGS 1694 C compiler flags for GDBUS, overriding pkg-config 1695 GDBUS_LIBS linker flags for GDBUS, overriding pkg-config 1696 DBUS_GLIB_CFLAGS 1697 C compiler flags for DBUS_GLIB, overriding pkg-config 1698 DBUS_GLIB_LIBS 1699 linker flags for DBUS_GLIB, overriding pkg-config 1700 GIO_UNIX_CFLAGS 1701 C compiler flags for GIO_UNIX, overriding pkg-config 1702 GIO_UNIX_LIBS 1703 linker flags for GIO_UNIX, overriding pkg-config 1704 GTOP_CFLAGS C compiler flags for GTOP, overriding pkg-config 1705 GTOP_LIBS linker flags for GTOP, overriding pkg-config 1706 LIBXML_CFLAGS 1707 C compiler flags for LIBXML, overriding pkg-config 1708 LIBXML_LIBS linker flags for LIBXML, overriding pkg-config 1709 SM_CFLAGS C compiler flags for SM, overriding pkg-config 1710 SM_LIBS linker flags for SM, overriding pkg-config 1711 ICE_CFLAGS C compiler flags for ICE, overriding pkg-config 1712 ICE_LIBS linker flags for ICE, overriding pkg-config 1713 UUID_CFLAGS C compiler flags for UUID, overriding pkg-config 1714 UUID_LIBS linker flags for UUID, overriding pkg-config 1715 NAUTILUS_EXTENSION_CFLAGS 1716 C compiler flags for NAUTILUS_EXTENSION, overriding pkg-config 1717 NAUTILUS_EXTENSION_LIBS 1718 linker flags for NAUTILUS_EXTENSION, overriding pkg-config 1719 GTKDOC_DEPS_CFLAGS 1720 C compiler flags for GTKDOC_DEPS, overriding pkg-config 1721 GTKDOC_DEPS_LIBS 1722 linker flags for GTKDOC_DEPS, overriding pkg-config 1723 1724Use these variables to override the choices made by `configure' or to help 1725it to find libraries and programs with nonstandard names/locations. 1726 1727Report bugs to <maintainer@nautilus-actions.org>. 1728Nautilus-Actions home page: <http://www.nautilus-actions.org>. 1729_ACEOF 1730ac_status=$? 1731fi 1732 1733if test "$ac_init_help" = "recursive"; then 1734 # If there are subdirs, report their specific --help. 1735 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1736 test -d "$ac_dir" || 1737 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1738 continue 1739 ac_builddir=. 1740 1741case "$ac_dir" in 1742.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1743*) 1744 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1745 # A ".." for each directory in $ac_dir_suffix. 1746 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1747 case $ac_top_builddir_sub in 1748 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1749 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1750 esac ;; 1751esac 1752ac_abs_top_builddir=$ac_pwd 1753ac_abs_builddir=$ac_pwd$ac_dir_suffix 1754# for backward compatibility: 1755ac_top_builddir=$ac_top_build_prefix 1756 1757case $srcdir in 1758 .) # We are building in place. 1759 ac_srcdir=. 1760 ac_top_srcdir=$ac_top_builddir_sub 1761 ac_abs_top_srcdir=$ac_pwd ;; 1762 [\\/]* | ?:[\\/]* ) # Absolute name. 1763 ac_srcdir=$srcdir$ac_dir_suffix; 1764 ac_top_srcdir=$srcdir 1765 ac_abs_top_srcdir=$srcdir ;; 1766 *) # Relative name. 1767 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1768 ac_top_srcdir=$ac_top_build_prefix$srcdir 1769 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1770esac 1771ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1772 1773 cd "$ac_dir" || { ac_status=$?; continue; } 1774 # Check for guested configure. 1775 if test -f "$ac_srcdir/configure.gnu"; then 1776 echo && 1777 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1778 elif test -f "$ac_srcdir/configure"; then 1779 echo && 1780 $SHELL "$ac_srcdir/configure" --help=recursive 1781 else 1782 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1783 fi || ac_status=$? 1784 cd "$ac_pwd" || { ac_status=$?; break; } 1785 done 1786fi 1787 1788test -n "$ac_init_help" && exit $ac_status 1789if $ac_init_version; then 1790 cat <<\_ACEOF 1791Nautilus-Actions configure 3.2.4 1792generated by GNU Autoconf 2.69 1793 1794Copyright (C) 2012 Free Software Foundation, Inc. 1795This configure script is free software; the Free Software Foundation 1796gives unlimited permission to copy, distribute and modify it. 1797_ACEOF 1798 exit 1799fi 1800 1801## ------------------------ ## 1802## Autoconf initialization. ## 1803## ------------------------ ## 1804 1805# ac_fn_c_try_compile LINENO 1806# -------------------------- 1807# Try to compile conftest.$ac_ext, and return whether this succeeded. 1808ac_fn_c_try_compile () 1809{ 1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1811 rm -f conftest.$ac_objext 1812 if { { ac_try="$ac_compile" 1813case "(($ac_try" in 1814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1815 *) ac_try_echo=$ac_try;; 1816esac 1817eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1818$as_echo "$ac_try_echo"; } >&5 1819 (eval "$ac_compile") 2>conftest.err 1820 ac_status=$? 1821 if test -s conftest.err; then 1822 grep -v '^ *+' conftest.err >conftest.er1 1823 cat conftest.er1 >&5 1824 mv -f conftest.er1 conftest.err 1825 fi 1826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1827 test $ac_status = 0; } && { 1828 test -z "$ac_c_werror_flag" || 1829 test ! -s conftest.err 1830 } && test -s conftest.$ac_objext; then : 1831 ac_retval=0 1832else 1833 $as_echo "$as_me: failed program was:" >&5 1834sed 's/^/| /' conftest.$ac_ext >&5 1835 1836 ac_retval=1 1837fi 1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1839 as_fn_set_status $ac_retval 1840 1841} # ac_fn_c_try_compile 1842 1843# ac_fn_c_try_cpp LINENO 1844# ---------------------- 1845# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1846ac_fn_c_try_cpp () 1847{ 1848 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1849 if { { ac_try="$ac_cpp conftest.$ac_ext" 1850case "(($ac_try" in 1851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1852 *) ac_try_echo=$ac_try;; 1853esac 1854eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1855$as_echo "$ac_try_echo"; } >&5 1856 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1857 ac_status=$? 1858 if test -s conftest.err; then 1859 grep -v '^ *+' conftest.err >conftest.er1 1860 cat conftest.er1 >&5 1861 mv -f conftest.er1 conftest.err 1862 fi 1863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1864 test $ac_status = 0; } > conftest.i && { 1865 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1866 test ! -s conftest.err 1867 }; then : 1868 ac_retval=0 1869else 1870 $as_echo "$as_me: failed program was:" >&5 1871sed 's/^/| /' conftest.$ac_ext >&5 1872 1873 ac_retval=1 1874fi 1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1876 as_fn_set_status $ac_retval 1877 1878} # ac_fn_c_try_cpp 1879 1880# ac_fn_c_try_run LINENO 1881# ---------------------- 1882# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1883# that executables *can* be run. 1884ac_fn_c_try_run () 1885{ 1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1887 if { { ac_try="$ac_link" 1888case "(($ac_try" in 1889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1890 *) ac_try_echo=$ac_try;; 1891esac 1892eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1893$as_echo "$ac_try_echo"; } >&5 1894 (eval "$ac_link") 2>&5 1895 ac_status=$? 1896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1897 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1898 { { case "(($ac_try" in 1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1900 *) ac_try_echo=$ac_try;; 1901esac 1902eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1903$as_echo "$ac_try_echo"; } >&5 1904 (eval "$ac_try") 2>&5 1905 ac_status=$? 1906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1907 test $ac_status = 0; }; }; then : 1908 ac_retval=0 1909else 1910 $as_echo "$as_me: program exited with status $ac_status" >&5 1911 $as_echo "$as_me: failed program was:" >&5 1912sed 's/^/| /' conftest.$ac_ext >&5 1913 1914 ac_retval=$ac_status 1915fi 1916 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1918 as_fn_set_status $ac_retval 1919 1920} # ac_fn_c_try_run 1921 1922# ac_fn_c_try_link LINENO 1923# ----------------------- 1924# Try to link conftest.$ac_ext, and return whether this succeeded. 1925ac_fn_c_try_link () 1926{ 1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1928 rm -f conftest.$ac_objext conftest$ac_exeext 1929 if { { ac_try="$ac_link" 1930case "(($ac_try" in 1931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1932 *) ac_try_echo=$ac_try;; 1933esac 1934eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1935$as_echo "$ac_try_echo"; } >&5 1936 (eval "$ac_link") 2>conftest.err 1937 ac_status=$? 1938 if test -s conftest.err; then 1939 grep -v '^ *+' conftest.err >conftest.er1 1940 cat conftest.er1 >&5 1941 mv -f conftest.er1 conftest.err 1942 fi 1943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1944 test $ac_status = 0; } && { 1945 test -z "$ac_c_werror_flag" || 1946 test ! -s conftest.err 1947 } && test -s conftest$ac_exeext && { 1948 test "$cross_compiling" = yes || 1949 test -x conftest$ac_exeext 1950 }; then : 1951 ac_retval=0 1952else 1953 $as_echo "$as_me: failed program was:" >&5 1954sed 's/^/| /' conftest.$ac_ext >&5 1955 1956 ac_retval=1 1957fi 1958 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1959 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1960 # interfere with the next link command; also delete a directory that is 1961 # left behind by Apple's compiler. We do this before executing the actions. 1962 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1963 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1964 as_fn_set_status $ac_retval 1965 1966} # ac_fn_c_try_link 1967 1968# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1969# ------------------------------------------------------- 1970# Tests whether HEADER exists and can be compiled using the include files in 1971# INCLUDES, setting the cache variable VAR accordingly. 1972ac_fn_c_check_header_compile () 1973{ 1974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1976$as_echo_n "checking for $2... " >&6; } 1977if eval \${$3+:} false; then : 1978 $as_echo_n "(cached) " >&6 1979else 1980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1981/* end confdefs.h. */ 1982$4 1983#include <$2> 1984_ACEOF 1985if ac_fn_c_try_compile "$LINENO"; then : 1986 eval "$3=yes" 1987else 1988 eval "$3=no" 1989fi 1990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1991fi 1992eval ac_res=\$$3 1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1994$as_echo "$ac_res" >&6; } 1995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1996 1997} # ac_fn_c_check_header_compile 1998 1999# ac_fn_c_check_func LINENO FUNC VAR 2000# ---------------------------------- 2001# Tests whether FUNC exists, setting the cache variable VAR accordingly 2002ac_fn_c_check_func () 2003{ 2004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2006$as_echo_n "checking for $2... " >&6; } 2007if eval \${$3+:} false; then : 2008 $as_echo_n "(cached) " >&6 2009else 2010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2011/* end confdefs.h. */ 2012/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2013 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2014#define $2 innocuous_$2 2015 2016/* System header to define __stub macros and hopefully few prototypes, 2017 which can conflict with char $2 (); below. 2018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2019 <limits.h> exists even on freestanding compilers. */ 2020 2021#ifdef __STDC__ 2022# include <limits.h> 2023#else 2024# include <assert.h> 2025#endif 2026 2027#undef $2 2028 2029/* Override any GCC internal prototype to avoid an error. 2030 Use char because int might match the return type of a GCC 2031 builtin and then its argument prototype would still apply. */ 2032#ifdef __cplusplus 2033extern "C" 2034#endif 2035char $2 (); 2036/* The GNU C library defines this for functions which it implements 2037 to always fail with ENOSYS. Some functions are actually named 2038 something starting with __ and the normal name is an alias. */ 2039#if defined __stub_$2 || defined __stub___$2 2040choke me 2041#endif 2042 2043int 2044main () 2045{ 2046return $2 (); 2047 ; 2048 return 0; 2049} 2050_ACEOF 2051if ac_fn_c_try_link "$LINENO"; then : 2052 eval "$3=yes" 2053else 2054 eval "$3=no" 2055fi 2056rm -f core conftest.err conftest.$ac_objext \ 2057 conftest$ac_exeext conftest.$ac_ext 2058fi 2059eval ac_res=\$$3 2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2061$as_echo "$ac_res" >&6; } 2062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2063 2064} # ac_fn_c_check_func 2065 2066# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2067# ------------------------------------------------------- 2068# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2069# the include files in INCLUDES and setting the cache variable VAR 2070# accordingly. 2071ac_fn_c_check_header_mongrel () 2072{ 2073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2074 if eval \${$3+:} false; then : 2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2076$as_echo_n "checking for $2... " >&6; } 2077if eval \${$3+:} false; then : 2078 $as_echo_n "(cached) " >&6 2079fi 2080eval ac_res=\$$3 2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2082$as_echo "$ac_res" >&6; } 2083else 2084 # Is the header compilable? 2085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2086$as_echo_n "checking $2 usability... " >&6; } 2087cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2088/* end confdefs.h. */ 2089$4 2090#include <$2> 2091_ACEOF 2092if ac_fn_c_try_compile "$LINENO"; then : 2093 ac_header_compiler=yes 2094else 2095 ac_header_compiler=no 2096fi 2097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2099$as_echo "$ac_header_compiler" >&6; } 2100 2101# Is the header present? 2102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2103$as_echo_n "checking $2 presence... " >&6; } 2104cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2105/* end confdefs.h. */ 2106#include <$2> 2107_ACEOF 2108if ac_fn_c_try_cpp "$LINENO"; then : 2109 ac_header_preproc=yes 2110else 2111 ac_header_preproc=no 2112fi 2113rm -f conftest.err conftest.i conftest.$ac_ext 2114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2115$as_echo "$ac_header_preproc" >&6; } 2116 2117# So? What about this header? 2118case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2119 yes:no: ) 2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2121$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2123$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2124 ;; 2125 no:yes:* ) 2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2127$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2129$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2131$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2133$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2135$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2136( $as_echo "## ---------------------------------------------- ## 2137## Report this to maintainer@nautilus-actions.org ## 2138## ---------------------------------------------- ##" 2139 ) | sed "s/^/$as_me: WARNING: /" >&2 2140 ;; 2141esac 2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2143$as_echo_n "checking for $2... " >&6; } 2144if eval \${$3+:} false; then : 2145 $as_echo_n "(cached) " >&6 2146else 2147 eval "$3=\$ac_header_compiler" 2148fi 2149eval ac_res=\$$3 2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2151$as_echo "$ac_res" >&6; } 2152fi 2153 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2154 2155} # ac_fn_c_check_header_mongrel 2156cat >config.log <<_ACEOF 2157This file contains any messages produced by compilers while 2158running configure, to aid debugging if configure makes a mistake. 2159 2160It was created by Nautilus-Actions $as_me 3.2.4, which was 2161generated by GNU Autoconf 2.69. Invocation command line was 2162 2163 $ $0 $@ 2164 2165_ACEOF 2166exec 5>>config.log 2167{ 2168cat <<_ASUNAME 2169## --------- ## 2170## Platform. ## 2171## --------- ## 2172 2173hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2174uname -m = `(uname -m) 2>/dev/null || echo unknown` 2175uname -r = `(uname -r) 2>/dev/null || echo unknown` 2176uname -s = `(uname -s) 2>/dev/null || echo unknown` 2177uname -v = `(uname -v) 2>/dev/null || echo unknown` 2178 2179/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2180/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2181 2182/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2183/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2184/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2185/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2186/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2187/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2188/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2189 2190_ASUNAME 2191 2192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2193for as_dir in $PATH 2194do 2195 IFS=$as_save_IFS 2196 test -z "$as_dir" && as_dir=. 2197 $as_echo "PATH: $as_dir" 2198 done 2199IFS=$as_save_IFS 2200 2201} >&5 2202 2203cat >&5 <<_ACEOF 2204 2205 2206## ----------- ## 2207## Core tests. ## 2208## ----------- ## 2209 2210_ACEOF 2211 2212 2213# Keep a trace of the command line. 2214# Strip out --no-create and --no-recursion so they do not pile up. 2215# Strip out --silent because we don't want to record it for future runs. 2216# Also quote any args containing shell meta-characters. 2217# Make two passes to allow for proper duplicate-argument suppression. 2218ac_configure_args= 2219ac_configure_args0= 2220ac_configure_args1= 2221ac_must_keep_next=false 2222for ac_pass in 1 2 2223do 2224 for ac_arg 2225 do 2226 case $ac_arg in 2227 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2228 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2229 | -silent | --silent | --silen | --sile | --sil) 2230 continue ;; 2231 *\'*) 2232 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2233 esac 2234 case $ac_pass in 2235 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2236 2) 2237 as_fn_append ac_configure_args1 " '$ac_arg'" 2238 if test $ac_must_keep_next = true; then 2239 ac_must_keep_next=false # Got value, back to normal. 2240 else 2241 case $ac_arg in 2242 *=* | --config-cache | -C | -disable-* | --disable-* \ 2243 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2244 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2245 | -with-* | --with-* | -without-* | --without-* | --x) 2246 case "$ac_configure_args0 " in 2247 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2248 esac 2249 ;; 2250 -* ) ac_must_keep_next=true ;; 2251 esac 2252 fi 2253 as_fn_append ac_configure_args " '$ac_arg'" 2254 ;; 2255 esac 2256 done 2257done 2258{ ac_configure_args0=; unset ac_configure_args0;} 2259{ ac_configure_args1=; unset ac_configure_args1;} 2260 2261# When interrupted or exit'd, cleanup temporary files, and complete 2262# config.log. We remove comments because anyway the quotes in there 2263# would cause problems or look ugly. 2264# WARNING: Use '\'' to represent an apostrophe within the trap. 2265# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2266trap 'exit_status=$? 2267 # Save into config.log some information that might help in debugging. 2268 { 2269 echo 2270 2271 $as_echo "## ---------------- ## 2272## Cache variables. ## 2273## ---------------- ##" 2274 echo 2275 # The following way of writing the cache mishandles newlines in values, 2276( 2277 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2278 eval ac_val=\$$ac_var 2279 case $ac_val in #( 2280 *${as_nl}*) 2281 case $ac_var in #( 2282 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2283$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2284 esac 2285 case $ac_var in #( 2286 _ | IFS | as_nl) ;; #( 2287 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2288 *) { eval $ac_var=; unset $ac_var;} ;; 2289 esac ;; 2290 esac 2291 done 2292 (set) 2>&1 | 2293 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2294 *${as_nl}ac_space=\ *) 2295 sed -n \ 2296 "s/'\''/'\''\\\\'\'''\''/g; 2297 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2298 ;; #( 2299 *) 2300 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2301 ;; 2302 esac | 2303 sort 2304) 2305 echo 2306 2307 $as_echo "## ----------------- ## 2308## Output variables. ## 2309## ----------------- ##" 2310 echo 2311 for ac_var in $ac_subst_vars 2312 do 2313 eval ac_val=\$$ac_var 2314 case $ac_val in 2315 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2316 esac 2317 $as_echo "$ac_var='\''$ac_val'\''" 2318 done | sort 2319 echo 2320 2321 if test -n "$ac_subst_files"; then 2322 $as_echo "## ------------------- ## 2323## File substitutions. ## 2324## ------------------- ##" 2325 echo 2326 for ac_var in $ac_subst_files 2327 do 2328 eval ac_val=\$$ac_var 2329 case $ac_val in 2330 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2331 esac 2332 $as_echo "$ac_var='\''$ac_val'\''" 2333 done | sort 2334 echo 2335 fi 2336 2337 if test -s confdefs.h; then 2338 $as_echo "## ----------- ## 2339## confdefs.h. ## 2340## ----------- ##" 2341 echo 2342 cat confdefs.h 2343 echo 2344 fi 2345 test "$ac_signal" != 0 && 2346 $as_echo "$as_me: caught signal $ac_signal" 2347 $as_echo "$as_me: exit $exit_status" 2348 } >&5 2349 rm -f core *.core core.conftest.* && 2350 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2351 exit $exit_status 2352' 0 2353for ac_signal in 1 2 13 15; do 2354 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2355done 2356ac_signal=0 2357 2358# confdefs.h avoids OS command line length limits that DEFS can exceed. 2359rm -f -r conftest* confdefs.h 2360 2361$as_echo "/* confdefs.h */" > confdefs.h 2362 2363# Predefined preprocessor variables. 2364 2365cat >>confdefs.h <<_ACEOF 2366#define PACKAGE_NAME "$PACKAGE_NAME" 2367_ACEOF 2368 2369cat >>confdefs.h <<_ACEOF 2370#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2371_ACEOF 2372 2373cat >>confdefs.h <<_ACEOF 2374#define PACKAGE_VERSION "$PACKAGE_VERSION" 2375_ACEOF 2376 2377cat >>confdefs.h <<_ACEOF 2378#define PACKAGE_STRING "$PACKAGE_STRING" 2379_ACEOF 2380 2381cat >>confdefs.h <<_ACEOF 2382#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2383_ACEOF 2384 2385cat >>confdefs.h <<_ACEOF 2386#define PACKAGE_URL "$PACKAGE_URL" 2387_ACEOF 2388 2389 2390# Let the site file select an alternate cache file if it wants to. 2391# Prefer an explicitly selected file to automatically selected ones. 2392ac_site_file1=NONE 2393ac_site_file2=NONE 2394if test -n "$CONFIG_SITE"; then 2395 # We do not want a PATH search for config.site. 2396 case $CONFIG_SITE in #(( 2397 -*) ac_site_file1=./$CONFIG_SITE;; 2398 */*) ac_site_file1=$CONFIG_SITE;; 2399 *) ac_site_file1=./$CONFIG_SITE;; 2400 esac 2401elif test "x$prefix" != xNONE; then 2402 ac_site_file1=$prefix/share/config.site 2403 ac_site_file2=$prefix/etc/config.site 2404else 2405 ac_site_file1=$ac_default_prefix/share/config.site 2406 ac_site_file2=$ac_default_prefix/etc/config.site 2407fi 2408for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2409do 2410 test "x$ac_site_file" = xNONE && continue 2411 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2412 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2413$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2414 sed 's/^/| /' "$ac_site_file" >&5 2415 . "$ac_site_file" \ 2416 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2417$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2418as_fn_error $? "failed to load site script $ac_site_file 2419See \`config.log' for more details" "$LINENO" 5; } 2420 fi 2421done 2422 2423if test -r "$cache_file"; then 2424 # Some versions of bash will fail to source /dev/null (special files 2425 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2426 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2427 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2428$as_echo "$as_me: loading cache $cache_file" >&6;} 2429 case $cache_file in 2430 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2431 *) . "./$cache_file";; 2432 esac 2433 fi 2434else 2435 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2436$as_echo "$as_me: creating cache $cache_file" >&6;} 2437 >$cache_file 2438fi 2439 2440# Check that the precious variables saved in the cache have kept the same 2441# value. 2442ac_cache_corrupted=false 2443for ac_var in $ac_precious_vars; do 2444 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2445 eval ac_new_set=\$ac_env_${ac_var}_set 2446 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2447 eval ac_new_val=\$ac_env_${ac_var}_value 2448 case $ac_old_set,$ac_new_set in 2449 set,) 2450 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2451$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2452 ac_cache_corrupted=: ;; 2453 ,set) 2454 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2455$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2456 ac_cache_corrupted=: ;; 2457 ,);; 2458 *) 2459 if test "x$ac_old_val" != "x$ac_new_val"; then 2460 # differences in whitespace do not lead to failure. 2461 ac_old_val_w=`echo x $ac_old_val` 2462 ac_new_val_w=`echo x $ac_new_val` 2463 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2464 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2465$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2466 ac_cache_corrupted=: 2467 else 2468 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2469$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2470 eval $ac_var=\$ac_old_val 2471 fi 2472 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2473$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2474 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2475$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2476 fi;; 2477 esac 2478 # Pass precious variables to config.status. 2479 if test "$ac_new_set" = set; then 2480 case $ac_new_val in 2481 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2482 *) ac_arg=$ac_var=$ac_new_val ;; 2483 esac 2484 case " $ac_configure_args " in 2485 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2486 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2487 esac 2488 fi 2489done 2490if $ac_cache_corrupted; then 2491 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2492$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2493 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2494$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2495 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2496fi 2497## -------------------- ## 2498## Main body of script. ## 2499## -------------------- ## 2500 2501ac_ext=c 2502ac_cpp='$CPP $CPPFLAGS' 2503ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2504ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2505ac_compiler_gnu=$ac_cv_c_compiler_gnu 2506 2507 2508 2509# Check whether --enable-silent-rules was given. 2510if test "${enable_silent_rules+set}" = set; then : 2511 enableval=$enable_silent_rules; 2512fi 2513 2514case $enable_silent_rules in # ((( 2515 yes) AM_DEFAULT_VERBOSITY=0;; 2516 no) AM_DEFAULT_VERBOSITY=1;; 2517 *) AM_DEFAULT_VERBOSITY=0;; 2518esac 2519am_make=${MAKE-make} 2520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2521$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2522if ${am_cv_make_support_nested_variables+:} false; then : 2523 $as_echo_n "(cached) " >&6 2524else 2525 if $as_echo 'TRUE=$(BAR$(V)) 2526BAR0=false 2527BAR1=true 2528V=1 2529am__doit: 2530 @$(TRUE) 2531.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2532 am_cv_make_support_nested_variables=yes 2533else 2534 am_cv_make_support_nested_variables=no 2535fi 2536fi 2537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2538$as_echo "$am_cv_make_support_nested_variables" >&6; } 2539if test $am_cv_make_support_nested_variables = yes; then 2540 AM_V='$(V)' 2541 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2542else 2543 AM_V=$AM_DEFAULT_VERBOSITY 2544 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2545fi 2546AM_BACKSLASH='\' 2547 2548ac_aux_dir= 2549for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2550 if test -f "$ac_dir/install-sh"; then 2551 ac_aux_dir=$ac_dir 2552 ac_install_sh="$ac_aux_dir/install-sh -c" 2553 break 2554 elif test -f "$ac_dir/install.sh"; then 2555 ac_aux_dir=$ac_dir 2556 ac_install_sh="$ac_aux_dir/install.sh -c" 2557 break 2558 elif test -f "$ac_dir/shtool"; then 2559 ac_aux_dir=$ac_dir 2560 ac_install_sh="$ac_aux_dir/shtool install -c" 2561 break 2562 fi 2563done 2564if test -z "$ac_aux_dir"; then 2565 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2566fi 2567 2568# These three variables are undocumented and unsupported, 2569# and are intended to be withdrawn in a future Autoconf release. 2570# They can cause serious problems if a builder's source tree is in a directory 2571# whose full name contains unusual characters. 2572ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2573ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2574ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2575 2576 2577# Make sure we can run config.sub. 2578$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2579 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2580 2581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2582$as_echo_n "checking build system type... " >&6; } 2583if ${ac_cv_build+:} false; then : 2584 $as_echo_n "(cached) " >&6 2585else 2586 ac_build_alias=$build_alias 2587test "x$ac_build_alias" = x && 2588 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2589test "x$ac_build_alias" = x && 2590 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2591ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2592 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2593 2594fi 2595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2596$as_echo "$ac_cv_build" >&6; } 2597case $ac_cv_build in 2598*-*-*) ;; 2599*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2600esac 2601build=$ac_cv_build 2602ac_save_IFS=$IFS; IFS='-' 2603set x $ac_cv_build 2604shift 2605build_cpu=$1 2606build_vendor=$2 2607shift; shift 2608# Remember, the first character of IFS is used to create $*, 2609# except with old shells: 2610build_os=$* 2611IFS=$ac_save_IFS 2612case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2613 2614 2615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2616$as_echo_n "checking host system type... " >&6; } 2617if ${ac_cv_host+:} false; then : 2618 $as_echo_n "(cached) " >&6 2619else 2620 if test "x$host_alias" = x; then 2621 ac_cv_host=$ac_cv_build 2622else 2623 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2624 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2625fi 2626 2627fi 2628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2629$as_echo "$ac_cv_host" >&6; } 2630case $ac_cv_host in 2631*-*-*) ;; 2632*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2633esac 2634host=$ac_cv_host 2635ac_save_IFS=$IFS; IFS='-' 2636set x $ac_cv_host 2637shift 2638host_cpu=$1 2639host_vendor=$2 2640shift; shift 2641# Remember, the first character of IFS is used to create $*, 2642# except with old shells: 2643host_os=$* 2644IFS=$ac_save_IFS 2645case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2646 2647 2648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2649$as_echo_n "checking target system type... " >&6; } 2650if ${ac_cv_target+:} false; then : 2651 $as_echo_n "(cached) " >&6 2652else 2653 if test "x$target_alias" = x; then 2654 ac_cv_target=$ac_cv_host 2655else 2656 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2657 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2658fi 2659 2660fi 2661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2662$as_echo "$ac_cv_target" >&6; } 2663case $ac_cv_target in 2664*-*-*) ;; 2665*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2666esac 2667target=$ac_cv_target 2668ac_save_IFS=$IFS; IFS='-' 2669set x $ac_cv_target 2670shift 2671target_cpu=$1 2672target_vendor=$2 2673shift; shift 2674# Remember, the first character of IFS is used to create $*, 2675# except with old shells: 2676target_os=$* 2677IFS=$ac_save_IFS 2678case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2679 2680 2681# The aliases save the names the user supplied, while $host etc. 2682# will get canonicalized. 2683test -n "$target_alias" && 2684 test "$program_prefix$program_suffix$program_transform_name" = \ 2685 NONENONEs,x,x, && 2686 program_prefix=${target_alias}- 2687am__api_version='1.13' 2688 2689# Find a good install program. We prefer a C program (faster), 2690# so one script is as good as another. But avoid the broken or 2691# incompatible versions: 2692# SysV /etc/install, /usr/sbin/install 2693# SunOS /usr/etc/install 2694# IRIX /sbin/install 2695# AIX /bin/install 2696# AmigaOS /C/install, which installs bootblocks on floppy discs 2697# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2698# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2699# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2700# OS/2's system install, which has a completely different semantic 2701# ./install, which can be erroneously created by make from ./install.sh. 2702# Reject install programs that cannot install multiple files. 2703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2704$as_echo_n "checking for a BSD-compatible install... " >&6; } 2705if test -z "$INSTALL"; then 2706if ${ac_cv_path_install+:} false; then : 2707 $as_echo_n "(cached) " >&6 2708else 2709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2710for as_dir in $PATH 2711do 2712 IFS=$as_save_IFS 2713 test -z "$as_dir" && as_dir=. 2714 # Account for people who put trailing slashes in PATH elements. 2715case $as_dir/ in #(( 2716 ./ | .// | /[cC]/* | \ 2717 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2718 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2719 /usr/ucb/* ) ;; 2720 *) 2721 # OSF1 and SCO ODT 3.0 have their own names for install. 2722 # Don't use installbsd from OSF since it installs stuff as root 2723 # by default. 2724 for ac_prog in ginstall scoinst install; do 2725 for ac_exec_ext in '' $ac_executable_extensions; do 2726 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2727 if test $ac_prog = install && 2728 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2729 # AIX install. It has an incompatible calling convention. 2730 : 2731 elif test $ac_prog = install && 2732 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2733 # program-specific install script used by HP pwplus--don't use. 2734 : 2735 else 2736 rm -rf conftest.one conftest.two conftest.dir 2737 echo one > conftest.one 2738 echo two > conftest.two 2739 mkdir conftest.dir 2740 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2741 test -s conftest.one && test -s conftest.two && 2742 test -s conftest.dir/conftest.one && 2743 test -s conftest.dir/conftest.two 2744 then 2745 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2746 break 3 2747 fi 2748 fi 2749 fi 2750 done 2751 done 2752 ;; 2753esac 2754 2755 done 2756IFS=$as_save_IFS 2757 2758rm -rf conftest.one conftest.two conftest.dir 2759 2760fi 2761 if test "${ac_cv_path_install+set}" = set; then 2762 INSTALL=$ac_cv_path_install 2763 else 2764 # As a last resort, use the slow shell script. Don't cache a 2765 # value for INSTALL within a source directory, because that will 2766 # break other packages using the cache if that directory is 2767 # removed, or if the value is a relative name. 2768 INSTALL=$ac_install_sh 2769 fi 2770fi 2771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2772$as_echo "$INSTALL" >&6; } 2773 2774# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2775# It thinks the first close brace ends the variable substitution. 2776test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2777 2778test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2779 2780test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2781 2782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2783$as_echo_n "checking whether build environment is sane... " >&6; } 2784# Reject unsafe characters in $srcdir or the absolute working directory 2785# name. Accept space and tab only in the latter. 2786am_lf=' 2787' 2788case `pwd` in 2789 *[\\\"\#\$\&\'\`$am_lf]*) 2790 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2791esac 2792case $srcdir in 2793 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2794 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2795esac 2796 2797# Do 'set' in a subshell so we don't clobber the current shell's 2798# arguments. Must try -L first in case configure is actually a 2799# symlink; some systems play weird games with the mod time of symlinks 2800# (eg FreeBSD returns the mod time of the symlink's containing 2801# directory). 2802if ( 2803 am_has_slept=no 2804 for am_try in 1 2; do 2805 echo "timestamp, slept: $am_has_slept" > conftest.file 2806 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2807 if test "$*" = "X"; then 2808 # -L didn't work. 2809 set X `ls -t "$srcdir/configure" conftest.file` 2810 fi 2811 if test "$*" != "X $srcdir/configure conftest.file" \ 2812 && test "$*" != "X conftest.file $srcdir/configure"; then 2813 2814 # If neither matched, then we have a broken ls. This can happen 2815 # if, for instance, CONFIG_SHELL is bash and it inherits a 2816 # broken ls alias from the environment. This has actually 2817 # happened. Such a system could not be considered "sane". 2818 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2819 alias in your environment" "$LINENO" 5 2820 fi 2821 if test "$2" = conftest.file || test $am_try -eq 2; then 2822 break 2823 fi 2824 # Just in case. 2825 sleep 1 2826 am_has_slept=yes 2827 done 2828 test "$2" = conftest.file 2829 ) 2830then 2831 # Ok. 2832 : 2833else 2834 as_fn_error $? "newly created file is older than distributed files! 2835Check your system clock" "$LINENO" 5 2836fi 2837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2838$as_echo "yes" >&6; } 2839# If we didn't sleep, we still need to ensure time stamps of config.status and 2840# generated files are strictly newer. 2841am_sleep_pid= 2842if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2843 ( sleep 1 ) & 2844 am_sleep_pid=$! 2845fi 2846 2847rm -f conftest.file 2848 2849test "$program_prefix" != NONE && 2850 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2851# Use a double $ so make ignores it. 2852test "$program_suffix" != NONE && 2853 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2854# Double any \ or $. 2855# By default was `s,x,x', remove it if useless. 2856ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2857program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2858 2859# expand $ac_aux_dir to an absolute path 2860am_aux_dir=`cd $ac_aux_dir && pwd` 2861 2862if test x"${MISSING+set}" != xset; then 2863 case $am_aux_dir in 2864 *\ * | *\ *) 2865 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2866 *) 2867 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2868 esac 2869fi 2870# Use eval to expand $SHELL 2871if eval "$MISSING --is-lightweight"; then 2872 am_missing_run="$MISSING " 2873else 2874 am_missing_run= 2875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2876$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2877fi 2878 2879if test x"${install_sh}" != xset; then 2880 case $am_aux_dir in 2881 *\ * | *\ *) 2882 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2883 *) 2884 install_sh="\${SHELL} $am_aux_dir/install-sh" 2885 esac 2886fi 2887 2888# Installed binaries are usually stripped using 'strip' when the user 2889# run "make install-strip". However 'strip' might not be the right 2890# tool to use in cross-compilation environments, therefore Automake 2891# will honor the 'STRIP' environment variable to overrule this program. 2892if test "$cross_compiling" != no; then 2893 if test -n "$ac_tool_prefix"; then 2894 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2895set dummy ${ac_tool_prefix}strip; ac_word=$2 2896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2897$as_echo_n "checking for $ac_word... " >&6; } 2898if ${ac_cv_prog_STRIP+:} false; then : 2899 $as_echo_n "(cached) " >&6 2900else 2901 if test -n "$STRIP"; then 2902 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2903else 2904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2905for as_dir in $PATH 2906do 2907 IFS=$as_save_IFS 2908 test -z "$as_dir" && as_dir=. 2909 for ac_exec_ext in '' $ac_executable_extensions; do 2910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2911 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2913 break 2 2914 fi 2915done 2916 done 2917IFS=$as_save_IFS 2918 2919fi 2920fi 2921STRIP=$ac_cv_prog_STRIP 2922if test -n "$STRIP"; then 2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2924$as_echo "$STRIP" >&6; } 2925else 2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2927$as_echo "no" >&6; } 2928fi 2929 2930 2931fi 2932if test -z "$ac_cv_prog_STRIP"; then 2933 ac_ct_STRIP=$STRIP 2934 # Extract the first word of "strip", so it can be a program name with args. 2935set dummy strip; ac_word=$2 2936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2937$as_echo_n "checking for $ac_word... " >&6; } 2938if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2939 $as_echo_n "(cached) " >&6 2940else 2941 if test -n "$ac_ct_STRIP"; then 2942 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2943else 2944as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2945for as_dir in $PATH 2946do 2947 IFS=$as_save_IFS 2948 test -z "$as_dir" && as_dir=. 2949 for ac_exec_ext in '' $ac_executable_extensions; do 2950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2951 ac_cv_prog_ac_ct_STRIP="strip" 2952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2953 break 2 2954 fi 2955done 2956 done 2957IFS=$as_save_IFS 2958 2959fi 2960fi 2961ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2962if test -n "$ac_ct_STRIP"; then 2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2964$as_echo "$ac_ct_STRIP" >&6; } 2965else 2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2967$as_echo "no" >&6; } 2968fi 2969 2970 if test "x$ac_ct_STRIP" = x; then 2971 STRIP=":" 2972 else 2973 case $cross_compiling:$ac_tool_warned in 2974yes:) 2975{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2976$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2977ac_tool_warned=yes ;; 2978esac 2979 STRIP=$ac_ct_STRIP 2980 fi 2981else 2982 STRIP="$ac_cv_prog_STRIP" 2983fi 2984 2985fi 2986INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2987 2988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2989$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2990if test -z "$MKDIR_P"; then 2991 if ${ac_cv_path_mkdir+:} false; then : 2992 $as_echo_n "(cached) " >&6 2993else 2994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2995for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2996do 2997 IFS=$as_save_IFS 2998 test -z "$as_dir" && as_dir=. 2999 for ac_prog in mkdir gmkdir; do 3000 for ac_exec_ext in '' $ac_executable_extensions; do 3001 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3002 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3003 'mkdir (GNU coreutils) '* | \ 3004 'mkdir (coreutils) '* | \ 3005 'mkdir (fileutils) '4.1*) 3006 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3007 break 3;; 3008 esac 3009 done 3010 done 3011 done 3012IFS=$as_save_IFS 3013 3014fi 3015 3016 test -d ./--version && rmdir ./--version 3017 if test "${ac_cv_path_mkdir+set}" = set; then 3018 MKDIR_P="$ac_cv_path_mkdir -p" 3019 else 3020 # As a last resort, use the slow shell script. Don't cache a 3021 # value for MKDIR_P within a source directory, because that will 3022 # break other packages using the cache if that directory is 3023 # removed, or if the value is a relative name. 3024 MKDIR_P="$ac_install_sh -d" 3025 fi 3026fi 3027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3028$as_echo "$MKDIR_P" >&6; } 3029 3030for ac_prog in gawk mawk nawk awk 3031do 3032 # Extract the first word of "$ac_prog", so it can be a program name with args. 3033set dummy $ac_prog; ac_word=$2 3034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3035$as_echo_n "checking for $ac_word... " >&6; } 3036if ${ac_cv_prog_AWK+:} false; then : 3037 $as_echo_n "(cached) " >&6 3038else 3039 if test -n "$AWK"; then 3040 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3041else 3042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3043for as_dir in $PATH 3044do 3045 IFS=$as_save_IFS 3046 test -z "$as_dir" && as_dir=. 3047 for ac_exec_ext in '' $ac_executable_extensions; do 3048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3049 ac_cv_prog_AWK="$ac_prog" 3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3051 break 2 3052 fi 3053done 3054 done 3055IFS=$as_save_IFS 3056 3057fi 3058fi 3059AWK=$ac_cv_prog_AWK 3060if test -n "$AWK"; then 3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3062$as_echo "$AWK" >&6; } 3063else 3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3065$as_echo "no" >&6; } 3066fi 3067 3068 3069 test -n "$AWK" && break 3070done 3071 3072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3073$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3074set x ${MAKE-make} 3075ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3076if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3077 $as_echo_n "(cached) " >&6 3078else 3079 cat >conftest.make <<\_ACEOF 3080SHELL = /bin/sh 3081all: 3082 @echo '@@@%%%=$(MAKE)=@@@%%%' 3083_ACEOF 3084# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3085case `${MAKE-make} -f conftest.make 2>/dev/null` in 3086 *@@@%%%=?*=@@@%%%*) 3087 eval ac_cv_prog_make_${ac_make}_set=yes;; 3088 *) 3089 eval ac_cv_prog_make_${ac_make}_set=no;; 3090esac 3091rm -f conftest.make 3092fi 3093if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3095$as_echo "yes" >&6; } 3096 SET_MAKE= 3097else 3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3099$as_echo "no" >&6; } 3100 SET_MAKE="MAKE=${MAKE-make}" 3101fi 3102 3103rm -rf .tst 2>/dev/null 3104mkdir .tst 2>/dev/null 3105if test -d .tst; then 3106 am__leading_dot=. 3107else 3108 am__leading_dot=_ 3109fi 3110rmdir .tst 2>/dev/null 3111 3112if test "`cd $srcdir && pwd`" != "`pwd`"; then 3113 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3114 # is not polluted with repeated "-I." 3115 am__isrc=' -I$(srcdir)' 3116 # test to see if srcdir already configured 3117 if test -f $srcdir/config.status; then 3118 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3119 fi 3120fi 3121 3122# test whether we have cygpath 3123if test -z "$CYGPATH_W"; then 3124 if (cygpath --version) >/dev/null 2>/dev/null; then 3125 CYGPATH_W='cygpath -w' 3126 else 3127 CYGPATH_W=echo 3128 fi 3129fi 3130 3131 3132# Define the identity of the package. 3133 PACKAGE='nautilus-actions' 3134 VERSION='3.2.4' 3135 3136 3137cat >>confdefs.h <<_ACEOF 3138#define PACKAGE "$PACKAGE" 3139_ACEOF 3140 3141 3142cat >>confdefs.h <<_ACEOF 3143#define VERSION "$VERSION" 3144_ACEOF 3145 3146# Some tools Automake needs. 3147 3148ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3149 3150 3151AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3152 3153 3154AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3155 3156 3157AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3158 3159 3160MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3161 3162# For better backward compatibility. To be removed once Automake 1.9.x 3163# dies out for good. For more background, see: 3164# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3165# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3166mkdir_p='$(MKDIR_P)' 3167 3168# We need awk for the "check" target. The system "awk" is bad on 3169# some platforms. 3170# Always define AMTAR for backward compatibility. Yes, it's still used 3171# in the wild :-( We should find a proper way to deprecate it ... 3172AMTAR='$${TAR-tar}' 3173 3174 3175# We'll loop over all known methods to create a tar archive until one works. 3176_am_tools='gnutar pax cpio none' 3177 3178am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3179 3180 3181 3182 3183 3184 3185 3186 3187ac_config_headers="$ac_config_headers src/config.h" 3188 3189 3190 3191 3192# check for compiler characteristics and options 3193ac_ext=c 3194ac_cpp='$CPP $CPPFLAGS' 3195ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3196ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3197ac_compiler_gnu=$ac_cv_c_compiler_gnu 3198if test -n "$ac_tool_prefix"; then 3199 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3200set dummy ${ac_tool_prefix}gcc; ac_word=$2 3201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3202$as_echo_n "checking for $ac_word... " >&6; } 3203if ${ac_cv_prog_CC+:} false; then : 3204 $as_echo_n "(cached) " >&6 3205else 3206 if test -n "$CC"; then 3207 ac_cv_prog_CC="$CC" # Let the user override the test. 3208else 3209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3210for as_dir in $PATH 3211do 3212 IFS=$as_save_IFS 3213 test -z "$as_dir" && as_dir=. 3214 for ac_exec_ext in '' $ac_executable_extensions; do 3215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3216 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3218 break 2 3219 fi 3220done 3221 done 3222IFS=$as_save_IFS 3223 3224fi 3225fi 3226CC=$ac_cv_prog_CC 3227if test -n "$CC"; then 3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3229$as_echo "$CC" >&6; } 3230else 3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3232$as_echo "no" >&6; } 3233fi 3234 3235 3236fi 3237if test -z "$ac_cv_prog_CC"; then 3238 ac_ct_CC=$CC 3239 # Extract the first word of "gcc", so it can be a program name with args. 3240set dummy gcc; ac_word=$2 3241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3242$as_echo_n "checking for $ac_word... " >&6; } 3243if ${ac_cv_prog_ac_ct_CC+:} false; then : 3244 $as_echo_n "(cached) " >&6 3245else 3246 if test -n "$ac_ct_CC"; then 3247 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3248else 3249as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3250for as_dir in $PATH 3251do 3252 IFS=$as_save_IFS 3253 test -z "$as_dir" && as_dir=. 3254 for ac_exec_ext in '' $ac_executable_extensions; do 3255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3256 ac_cv_prog_ac_ct_CC="gcc" 3257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3258 break 2 3259 fi 3260done 3261 done 3262IFS=$as_save_IFS 3263 3264fi 3265fi 3266ac_ct_CC=$ac_cv_prog_ac_ct_CC 3267if test -n "$ac_ct_CC"; then 3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3269$as_echo "$ac_ct_CC" >&6; } 3270else 3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3272$as_echo "no" >&6; } 3273fi 3274 3275 if test "x$ac_ct_CC" = x; then 3276 CC="" 3277 else 3278 case $cross_compiling:$ac_tool_warned in 3279yes:) 3280{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3281$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3282ac_tool_warned=yes ;; 3283esac 3284 CC=$ac_ct_CC 3285 fi 3286else 3287 CC="$ac_cv_prog_CC" 3288fi 3289 3290if test -z "$CC"; then 3291 if test -n "$ac_tool_prefix"; then 3292 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3293set dummy ${ac_tool_prefix}cc; ac_word=$2 3294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3295$as_echo_n "checking for $ac_word... " >&6; } 3296if ${ac_cv_prog_CC+:} false; then : 3297 $as_echo_n "(cached) " >&6 3298else 3299 if test -n "$CC"; then 3300 ac_cv_prog_CC="$CC" # Let the user override the test. 3301else 3302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3303for as_dir in $PATH 3304do 3305 IFS=$as_save_IFS 3306 test -z "$as_dir" && as_dir=. 3307 for ac_exec_ext in '' $ac_executable_extensions; do 3308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3309 ac_cv_prog_CC="${ac_tool_prefix}cc" 3310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3311 break 2 3312 fi 3313done 3314 done 3315IFS=$as_save_IFS 3316 3317fi 3318fi 3319CC=$ac_cv_prog_CC 3320if test -n "$CC"; then 3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3322$as_echo "$CC" >&6; } 3323else 3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3325$as_echo "no" >&6; } 3326fi 3327 3328 3329 fi 3330fi 3331if test -z "$CC"; then 3332 # Extract the first word of "cc", so it can be a program name with args. 3333set dummy cc; ac_word=$2 3334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3335$as_echo_n "checking for $ac_word... " >&6; } 3336if ${ac_cv_prog_CC+:} false; then : 3337 $as_echo_n "(cached) " >&6 3338else 3339 if test -n "$CC"; then 3340 ac_cv_prog_CC="$CC" # Let the user override the test. 3341else 3342 ac_prog_rejected=no 3343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3344for as_dir in $PATH 3345do 3346 IFS=$as_save_IFS 3347 test -z "$as_dir" && as_dir=. 3348 for ac_exec_ext in '' $ac_executable_extensions; do 3349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3350 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3351 ac_prog_rejected=yes 3352 continue 3353 fi 3354 ac_cv_prog_CC="cc" 3355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3356 break 2 3357 fi 3358done 3359 done 3360IFS=$as_save_IFS 3361 3362if test $ac_prog_rejected = yes; then 3363 # We found a bogon in the path, so make sure we never use it. 3364 set dummy $ac_cv_prog_CC 3365 shift 3366 if test $# != 0; then 3367 # We chose a different compiler from the bogus one. 3368 # However, it has the same basename, so the bogon will be chosen 3369 # first if we set CC to just the basename; use the full file name. 3370 shift 3371 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3372 fi 3373fi 3374fi 3375fi 3376CC=$ac_cv_prog_CC 3377if test -n "$CC"; then 3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3379$as_echo "$CC" >&6; } 3380else 3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3382$as_echo "no" >&6; } 3383fi 3384 3385 3386fi 3387if test -z "$CC"; then 3388 if test -n "$ac_tool_prefix"; then 3389 for ac_prog in cl.exe 3390 do 3391 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3392set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3394$as_echo_n "checking for $ac_word... " >&6; } 3395if ${ac_cv_prog_CC+:} false; then : 3396 $as_echo_n "(cached) " >&6 3397else 3398 if test -n "$CC"; then 3399 ac_cv_prog_CC="$CC" # Let the user override the test. 3400else 3401as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3402for as_dir in $PATH 3403do 3404 IFS=$as_save_IFS 3405 test -z "$as_dir" && as_dir=. 3406 for ac_exec_ext in '' $ac_executable_extensions; do 3407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3408 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3410 break 2 3411 fi 3412done 3413 done 3414IFS=$as_save_IFS 3415 3416fi 3417fi 3418CC=$ac_cv_prog_CC 3419if test -n "$CC"; then 3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3421$as_echo "$CC" >&6; } 3422else 3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3424$as_echo "no" >&6; } 3425fi 3426 3427 3428 test -n "$CC" && break 3429 done 3430fi 3431if test -z "$CC"; then 3432 ac_ct_CC=$CC 3433 for ac_prog in cl.exe 3434do 3435 # Extract the first word of "$ac_prog", so it can be a program name with args. 3436set dummy $ac_prog; ac_word=$2 3437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3438$as_echo_n "checking for $ac_word... " >&6; } 3439if ${ac_cv_prog_ac_ct_CC+:} false; then : 3440 $as_echo_n "(cached) " >&6 3441else 3442 if test -n "$ac_ct_CC"; then 3443 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3444else 3445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3446for as_dir in $PATH 3447do 3448 IFS=$as_save_IFS 3449 test -z "$as_dir" && as_dir=. 3450 for ac_exec_ext in '' $ac_executable_extensions; do 3451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3452 ac_cv_prog_ac_ct_CC="$ac_prog" 3453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3454 break 2 3455 fi 3456done 3457 done 3458IFS=$as_save_IFS 3459 3460fi 3461fi 3462ac_ct_CC=$ac_cv_prog_ac_ct_CC 3463if test -n "$ac_ct_CC"; then 3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3465$as_echo "$ac_ct_CC" >&6; } 3466else 3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3468$as_echo "no" >&6; } 3469fi 3470 3471 3472 test -n "$ac_ct_CC" && break 3473done 3474 3475 if test "x$ac_ct_CC" = x; then 3476 CC="" 3477 else 3478 case $cross_compiling:$ac_tool_warned in 3479yes:) 3480{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3481$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3482ac_tool_warned=yes ;; 3483esac 3484 CC=$ac_ct_CC 3485 fi 3486fi 3487 3488fi 3489 3490 3491test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3492$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3493as_fn_error $? "no acceptable C compiler found in \$PATH 3494See \`config.log' for more details" "$LINENO" 5; } 3495 3496# Provide some information about the compiler. 3497$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3498set X $ac_compile 3499ac_compiler=$2 3500for ac_option in --version -v -V -qversion; do 3501 { { ac_try="$ac_compiler $ac_option >&5" 3502case "(($ac_try" in 3503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3504 *) ac_try_echo=$ac_try;; 3505esac 3506eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3507$as_echo "$ac_try_echo"; } >&5 3508 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3509 ac_status=$? 3510 if test -s conftest.err; then 3511 sed '10a\ 3512... rest of stderr output deleted ... 3513 10q' conftest.err >conftest.er1 3514 cat conftest.er1 >&5 3515 fi 3516 rm -f conftest.er1 conftest.err 3517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3518 test $ac_status = 0; } 3519done 3520 3521cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3522/* end confdefs.h. */ 3523 3524int 3525main () 3526{ 3527 3528 ; 3529 return 0; 3530} 3531_ACEOF 3532ac_clean_files_save=$ac_clean_files 3533ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3534# Try to create an executable without -o first, disregard a.out. 3535# It will help us diagnose broken compilers, and finding out an intuition 3536# of exeext. 3537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3538$as_echo_n "checking whether the C compiler works... " >&6; } 3539ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3540 3541# The possible output files: 3542ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3543 3544ac_rmfiles= 3545for ac_file in $ac_files 3546do 3547 case $ac_file in 3548 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3549 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3550 esac 3551done 3552rm -f $ac_rmfiles 3553 3554if { { ac_try="$ac_link_default" 3555case "(($ac_try" in 3556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3557 *) ac_try_echo=$ac_try;; 3558esac 3559eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3560$as_echo "$ac_try_echo"; } >&5 3561 (eval "$ac_link_default") 2>&5 3562 ac_status=$? 3563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3564 test $ac_status = 0; }; then : 3565 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3566# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3567# in a Makefile. We should not override ac_cv_exeext if it was cached, 3568# so that the user can short-circuit this test for compilers unknown to 3569# Autoconf. 3570for ac_file in $ac_files '' 3571do 3572 test -f "$ac_file" || continue 3573 case $ac_file in 3574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3575 ;; 3576 [ab].out ) 3577 # We found the default executable, but exeext='' is most 3578 # certainly right. 3579 break;; 3580 *.* ) 3581 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3582 then :; else 3583 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3584 fi 3585 # We set ac_cv_exeext here because the later test for it is not 3586 # safe: cross compilers may not add the suffix if given an `-o' 3587 # argument, so we may need to know it at that point already. 3588 # Even if this section looks crufty: it has the advantage of 3589 # actually working. 3590 break;; 3591 * ) 3592 break;; 3593 esac 3594done 3595test "$ac_cv_exeext" = no && ac_cv_exeext= 3596 3597else 3598 ac_file='' 3599fi 3600if test -z "$ac_file"; then : 3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3602$as_echo "no" >&6; } 3603$as_echo "$as_me: failed program was:" >&5 3604sed 's/^/| /' conftest.$ac_ext >&5 3605 3606{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3607$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3608as_fn_error 77 "C compiler cannot create executables 3609See \`config.log' for more details" "$LINENO" 5; } 3610else 3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3612$as_echo "yes" >&6; } 3613fi 3614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3615$as_echo_n "checking for C compiler default output file name... " >&6; } 3616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3617$as_echo "$ac_file" >&6; } 3618ac_exeext=$ac_cv_exeext 3619 3620rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3621ac_clean_files=$ac_clean_files_save 3622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3623$as_echo_n "checking for suffix of executables... " >&6; } 3624if { { ac_try="$ac_link" 3625case "(($ac_try" in 3626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3627 *) ac_try_echo=$ac_try;; 3628esac 3629eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3630$as_echo "$ac_try_echo"; } >&5 3631 (eval "$ac_link") 2>&5 3632 ac_status=$? 3633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3634 test $ac_status = 0; }; then : 3635 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3636# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3637# work properly (i.e., refer to `conftest.exe'), while it won't with 3638# `rm'. 3639for ac_file in conftest.exe conftest conftest.*; do 3640 test -f "$ac_file" || continue 3641 case $ac_file in 3642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3643 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3644 break;; 3645 * ) break;; 3646 esac 3647done 3648else 3649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3650$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3651as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3652See \`config.log' for more details" "$LINENO" 5; } 3653fi 3654rm -f conftest conftest$ac_cv_exeext 3655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3656$as_echo "$ac_cv_exeext" >&6; } 3657 3658rm -f conftest.$ac_ext 3659EXEEXT=$ac_cv_exeext 3660ac_exeext=$EXEEXT 3661cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3662/* end confdefs.h. */ 3663#include <stdio.h> 3664int 3665main () 3666{ 3667FILE *f = fopen ("conftest.out", "w"); 3668 return ferror (f) || fclose (f) != 0; 3669 3670 ; 3671 return 0; 3672} 3673_ACEOF 3674ac_clean_files="$ac_clean_files conftest.out" 3675# Check that the compiler produces executables we can run. If not, either 3676# the compiler is broken, or we cross compile. 3677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3678$as_echo_n "checking whether we are cross compiling... " >&6; } 3679if test "$cross_compiling" != yes; then 3680 { { ac_try="$ac_link" 3681case "(($ac_try" in 3682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3683 *) ac_try_echo=$ac_try;; 3684esac 3685eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3686$as_echo "$ac_try_echo"; } >&5 3687 (eval "$ac_link") 2>&5 3688 ac_status=$? 3689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3690 test $ac_status = 0; } 3691 if { ac_try='./conftest$ac_cv_exeext' 3692 { { case "(($ac_try" in 3693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3694 *) ac_try_echo=$ac_try;; 3695esac 3696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3697$as_echo "$ac_try_echo"; } >&5 3698 (eval "$ac_try") 2>&5 3699 ac_status=$? 3700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3701 test $ac_status = 0; }; }; then 3702 cross_compiling=no 3703 else 3704 if test "$cross_compiling" = maybe; then 3705 cross_compiling=yes 3706 else 3707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3708$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3709as_fn_error $? "cannot run C compiled programs. 3710If you meant to cross compile, use \`--host'. 3711See \`config.log' for more details" "$LINENO" 5; } 3712 fi 3713 fi 3714fi 3715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3716$as_echo "$cross_compiling" >&6; } 3717 3718rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3719ac_clean_files=$ac_clean_files_save 3720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3721$as_echo_n "checking for suffix of object files... " >&6; } 3722if ${ac_cv_objext+:} false; then : 3723 $as_echo_n "(cached) " >&6 3724else 3725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3726/* end confdefs.h. */ 3727 3728int 3729main () 3730{ 3731 3732 ; 3733 return 0; 3734} 3735_ACEOF 3736rm -f conftest.o conftest.obj 3737if { { ac_try="$ac_compile" 3738case "(($ac_try" in 3739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3740 *) ac_try_echo=$ac_try;; 3741esac 3742eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3743$as_echo "$ac_try_echo"; } >&5 3744 (eval "$ac_compile") 2>&5 3745 ac_status=$? 3746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3747 test $ac_status = 0; }; then : 3748 for ac_file in conftest.o conftest.obj conftest.*; do 3749 test -f "$ac_file" || continue; 3750 case $ac_file in 3751 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3752 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3753 break;; 3754 esac 3755done 3756else 3757 $as_echo "$as_me: failed program was:" >&5 3758sed 's/^/| /' conftest.$ac_ext >&5 3759 3760{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3761$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3762as_fn_error $? "cannot compute suffix of object files: cannot compile 3763See \`config.log' for more details" "$LINENO" 5; } 3764fi 3765rm -f conftest.$ac_cv_objext conftest.$ac_ext 3766fi 3767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3768$as_echo "$ac_cv_objext" >&6; } 3769OBJEXT=$ac_cv_objext 3770ac_objext=$OBJEXT 3771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3772$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3773if ${ac_cv_c_compiler_gnu+:} false; then : 3774 $as_echo_n "(cached) " >&6 3775else 3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3777/* end confdefs.h. */ 3778 3779int 3780main () 3781{ 3782#ifndef __GNUC__ 3783 choke me 3784#endif 3785 3786 ; 3787 return 0; 3788} 3789_ACEOF 3790if ac_fn_c_try_compile "$LINENO"; then : 3791 ac_compiler_gnu=yes 3792else 3793 ac_compiler_gnu=no 3794fi 3795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3796ac_cv_c_compiler_gnu=$ac_compiler_gnu 3797 3798fi 3799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3800$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3801if test $ac_compiler_gnu = yes; then 3802 GCC=yes 3803else 3804 GCC= 3805fi 3806ac_test_CFLAGS=${CFLAGS+set} 3807ac_save_CFLAGS=$CFLAGS 3808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3809$as_echo_n "checking whether $CC accepts -g... " >&6; } 3810if ${ac_cv_prog_cc_g+:} false; then : 3811 $as_echo_n "(cached) " >&6 3812else 3813 ac_save_c_werror_flag=$ac_c_werror_flag 3814 ac_c_werror_flag=yes 3815 ac_cv_prog_cc_g=no 3816 CFLAGS="-g" 3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3818/* end confdefs.h. */ 3819 3820int 3821main () 3822{ 3823 3824 ; 3825 return 0; 3826} 3827_ACEOF 3828if ac_fn_c_try_compile "$LINENO"; then : 3829 ac_cv_prog_cc_g=yes 3830else 3831 CFLAGS="" 3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3833/* end confdefs.h. */ 3834 3835int 3836main () 3837{ 3838 3839 ; 3840 return 0; 3841} 3842_ACEOF 3843if ac_fn_c_try_compile "$LINENO"; then : 3844 3845else 3846 ac_c_werror_flag=$ac_save_c_werror_flag 3847 CFLAGS="-g" 3848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3849/* end confdefs.h. */ 3850 3851int 3852main () 3853{ 3854 3855 ; 3856 return 0; 3857} 3858_ACEOF 3859if ac_fn_c_try_compile "$LINENO"; then : 3860 ac_cv_prog_cc_g=yes 3861fi 3862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3863fi 3864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3865fi 3866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3867 ac_c_werror_flag=$ac_save_c_werror_flag 3868fi 3869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3870$as_echo "$ac_cv_prog_cc_g" >&6; } 3871if test "$ac_test_CFLAGS" = set; then 3872 CFLAGS=$ac_save_CFLAGS 3873elif test $ac_cv_prog_cc_g = yes; then 3874 if test "$GCC" = yes; then 3875 CFLAGS="-g -O2" 3876 else 3877 CFLAGS="-g" 3878 fi 3879else 3880 if test "$GCC" = yes; then 3881 CFLAGS="-O2" 3882 else 3883 CFLAGS= 3884 fi 3885fi 3886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3887$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3888if ${ac_cv_prog_cc_c89+:} false; then : 3889 $as_echo_n "(cached) " >&6 3890else 3891 ac_cv_prog_cc_c89=no 3892ac_save_CC=$CC 3893cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3894/* end confdefs.h. */ 3895#include <stdarg.h> 3896#include <stdio.h> 3897struct stat; 3898/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3899struct buf { int x; }; 3900FILE * (*rcsopen) (struct buf *, struct stat *, int); 3901static char *e (p, i) 3902 char **p; 3903 int i; 3904{ 3905 return p[i]; 3906} 3907static char *f (char * (*g) (char **, int), char **p, ...) 3908{ 3909 char *s; 3910 va_list v; 3911 va_start (v,p); 3912 s = g (p, va_arg (v,int)); 3913 va_end (v); 3914 return s; 3915} 3916 3917/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3918 function prototypes and stuff, but not '\xHH' hex character constants. 3919 These don't provoke an error unfortunately, instead are silently treated 3920 as 'x'. The following induces an error, until -std is added to get 3921 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3922 array size at least. It's necessary to write '\x00'==0 to get something 3923 that's true only with -std. */ 3924int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3925 3926/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3927 inside strings and character constants. */ 3928#define FOO(x) 'x' 3929int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3930 3931int test (int i, double x); 3932struct s1 {int (*f) (int a);}; 3933struct s2 {int (*f) (double a);}; 3934int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3935int argc; 3936char **argv; 3937int 3938main () 3939{ 3940return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3941 ; 3942 return 0; 3943} 3944_ACEOF 3945for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3946 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3947do 3948 CC="$ac_save_CC $ac_arg" 3949 if ac_fn_c_try_compile "$LINENO"; then : 3950 ac_cv_prog_cc_c89=$ac_arg 3951fi 3952rm -f core conftest.err conftest.$ac_objext 3953 test "x$ac_cv_prog_cc_c89" != "xno" && break 3954done 3955rm -f conftest.$ac_ext 3956CC=$ac_save_CC 3957 3958fi 3959# AC_CACHE_VAL 3960case "x$ac_cv_prog_cc_c89" in 3961 x) 3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3963$as_echo "none needed" >&6; } ;; 3964 xno) 3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3966$as_echo "unsupported" >&6; } ;; 3967 *) 3968 CC="$CC $ac_cv_prog_cc_c89" 3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3970$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3971esac 3972if test "x$ac_cv_prog_cc_c89" != xno; then : 3973 3974fi 3975 3976ac_ext=c 3977ac_cpp='$CPP $CPPFLAGS' 3978ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3979ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3980ac_compiler_gnu=$ac_cv_c_compiler_gnu 3981DEPDIR="${am__leading_dot}deps" 3982 3983ac_config_commands="$ac_config_commands depfiles" 3984 3985 3986am_make=${MAKE-make} 3987cat > confinc << 'END' 3988am__doit: 3989 @echo this is the am__doit target 3990.PHONY: am__doit 3991END 3992# If we don't find an include directive, just comment out the code. 3993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3994$as_echo_n "checking for style of include used by $am_make... " >&6; } 3995am__include="#" 3996am__quote= 3997_am_result=none 3998# First try GNU make style include. 3999echo "include confinc" > confmf 4000# Ignore all kinds of additional output from 'make'. 4001case `$am_make -s -f confmf 2> /dev/null` in #( 4002*the\ am__doit\ target*) 4003 am__include=include 4004 am__quote= 4005 _am_result=GNU 4006 ;; 4007esac 4008# Now try BSD make style include. 4009if test "$am__include" = "#"; then 4010 echo '.include "confinc"' > confmf 4011 case `$am_make -s -f confmf 2> /dev/null` in #( 4012 *the\ am__doit\ target*) 4013 am__include=.include 4014 am__quote="\"" 4015 _am_result=BSD 4016 ;; 4017 esac 4018fi 4019 4020 4021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4022$as_echo "$_am_result" >&6; } 4023rm -f confinc confmf 4024 4025# Check whether --enable-dependency-tracking was given. 4026if test "${enable_dependency_tracking+set}" = set; then : 4027 enableval=$enable_dependency_tracking; 4028fi 4029 4030if test "x$enable_dependency_tracking" != xno; then 4031 am_depcomp="$ac_aux_dir/depcomp" 4032 AMDEPBACKSLASH='\' 4033 am__nodep='_no' 4034fi 4035 if test "x$enable_dependency_tracking" != xno; then 4036 AMDEP_TRUE= 4037 AMDEP_FALSE='#' 4038else 4039 AMDEP_TRUE='#' 4040 AMDEP_FALSE= 4041fi 4042 4043 4044 4045depcc="$CC" am_compiler_list= 4046 4047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4048$as_echo_n "checking dependency style of $depcc... " >&6; } 4049if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4050 $as_echo_n "(cached) " >&6 4051else 4052 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4053 # We make a subdir and do the tests there. Otherwise we can end up 4054 # making bogus files that we don't know about and never remove. For 4055 # instance it was reported that on HP-UX the gcc test will end up 4056 # making a dummy file named 'D' -- because '-MD' means "put the output 4057 # in D". 4058 rm -rf conftest.dir 4059 mkdir conftest.dir 4060 # Copy depcomp to subdir because otherwise we won't find it if we're 4061 # using a relative directory. 4062 cp "$am_depcomp" conftest.dir 4063 cd conftest.dir 4064 # We will build objects and dependencies in a subdirectory because 4065 # it helps to detect inapplicable dependency modes. For instance 4066 # both Tru64's cc and ICC support -MD to output dependencies as a 4067 # side effect of compilation, but ICC will put the dependencies in 4068 # the current directory while Tru64 will put them in the object 4069 # directory. 4070 mkdir sub 4071 4072 am_cv_CC_dependencies_compiler_type=none 4073 if test "$am_compiler_list" = ""; then 4074 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4075 fi 4076 am__universal=false 4077 case " $depcc " in #( 4078 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4079 esac 4080 4081 for depmode in $am_compiler_list; do 4082 # Setup a source with many dependencies, because some compilers 4083 # like to wrap large dependency lists on column 80 (with \), and 4084 # we should not choose a depcomp mode which is confused by this. 4085 # 4086 # We need to recreate these files for each test, as the compiler may 4087 # overwrite some of them when testing with obscure command lines. 4088 # This happens at least with the AIX C compiler. 4089 : > sub/conftest.c 4090 for i in 1 2 3 4 5 6; do 4091 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4092 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4093 # Solaris 10 /bin/sh. 4094 echo '/* dummy */' > sub/conftst$i.h 4095 done 4096 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4097 4098 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4099 # mode. It turns out that the SunPro C++ compiler does not properly 4100 # handle '-M -o', and we need to detect this. Also, some Intel 4101 # versions had trouble with output in subdirs. 4102 am__obj=sub/conftest.${OBJEXT-o} 4103 am__minus_obj="-o $am__obj" 4104 case $depmode in 4105 gcc) 4106 # This depmode causes a compiler race in universal mode. 4107 test "$am__universal" = false || continue 4108 ;; 4109 nosideeffect) 4110 # After this tag, mechanisms are not by side-effect, so they'll 4111 # only be used when explicitly requested. 4112 if test "x$enable_dependency_tracking" = xyes; then 4113 continue 4114 else 4115 break 4116 fi 4117 ;; 4118 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4119 # This compiler won't grok '-c -o', but also, the minuso test has 4120 # not run yet. These depmodes are late enough in the game, and 4121 # so weak that their functioning should not be impacted. 4122 am__obj=conftest.${OBJEXT-o} 4123 am__minus_obj= 4124 ;; 4125 none) break ;; 4126 esac 4127 if depmode=$depmode \ 4128 source=sub/conftest.c object=$am__obj \ 4129 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4130 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4131 >/dev/null 2>conftest.err && 4132 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4133 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4134 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4135 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4136 # icc doesn't choke on unknown options, it will just issue warnings 4137 # or remarks (even with -Werror). So we grep stderr for any message 4138 # that says an option was ignored or not supported. 4139 # When given -MP, icc 7.0 and 7.1 complain thusly: 4140 # icc: Command line warning: ignoring option '-M'; no argument required 4141 # The diagnosis changed in icc 8.0: 4142 # icc: Command line remark: option '-MP' not supported 4143 if (grep 'ignoring option' conftest.err || 4144 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4145 am_cv_CC_dependencies_compiler_type=$depmode 4146 break 4147 fi 4148 fi 4149 done 4150 4151 cd .. 4152 rm -rf conftest.dir 4153else 4154 am_cv_CC_dependencies_compiler_type=none 4155fi 4156 4157fi 4158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4159$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4160CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4161 4162 if 4163 test "x$enable_dependency_tracking" != xno \ 4164 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4165 am__fastdepCC_TRUE= 4166 am__fastdepCC_FALSE='#' 4167else 4168 am__fastdepCC_TRUE='#' 4169 am__fastdepCC_FALSE= 4170fi 4171 4172 4173 4174ac_ext=c 4175ac_cpp='$CPP $CPPFLAGS' 4176ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4177ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4178ac_compiler_gnu=$ac_cv_c_compiler_gnu 4179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4180$as_echo_n "checking how to run the C preprocessor... " >&6; } 4181# On Suns, sometimes $CPP names a directory. 4182if test -n "$CPP" && test -d "$CPP"; then 4183 CPP= 4184fi 4185if test -z "$CPP"; then 4186 if ${ac_cv_prog_CPP+:} false; then : 4187 $as_echo_n "(cached) " >&6 4188else 4189 # Double quotes because CPP needs to be expanded 4190 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4191 do 4192 ac_preproc_ok=false 4193for ac_c_preproc_warn_flag in '' yes 4194do 4195 # Use a header file that comes with gcc, so configuring glibc 4196 # with a fresh cross-compiler works. 4197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4198 # <limits.h> exists even on freestanding compilers. 4199 # On the NeXT, cc -E runs the code through the compiler's parser, 4200 # not just through cpp. "Syntax error" is here to catch this case. 4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4202/* end confdefs.h. */ 4203#ifdef __STDC__ 4204# include <limits.h> 4205#else 4206# include <assert.h> 4207#endif 4208 Syntax error 4209_ACEOF 4210if ac_fn_c_try_cpp "$LINENO"; then : 4211 4212else 4213 # Broken: fails on valid input. 4214continue 4215fi 4216rm -f conftest.err conftest.i conftest.$ac_ext 4217 4218 # OK, works on sane cases. Now check whether nonexistent headers 4219 # can be detected and how. 4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4221/* end confdefs.h. */ 4222#include <ac_nonexistent.h> 4223_ACEOF 4224if ac_fn_c_try_cpp "$LINENO"; then : 4225 # Broken: success on invalid input. 4226continue 4227else 4228 # Passes both tests. 4229ac_preproc_ok=: 4230break 4231fi 4232rm -f conftest.err conftest.i conftest.$ac_ext 4233 4234done 4235# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4236rm -f conftest.i conftest.err conftest.$ac_ext 4237if $ac_preproc_ok; then : 4238 break 4239fi 4240 4241 done 4242 ac_cv_prog_CPP=$CPP 4243 4244fi 4245 CPP=$ac_cv_prog_CPP 4246else 4247 ac_cv_prog_CPP=$CPP 4248fi 4249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4250$as_echo "$CPP" >&6; } 4251ac_preproc_ok=false 4252for ac_c_preproc_warn_flag in '' yes 4253do 4254 # Use a header file that comes with gcc, so configuring glibc 4255 # with a fresh cross-compiler works. 4256 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4257 # <limits.h> exists even on freestanding compilers. 4258 # On the NeXT, cc -E runs the code through the compiler's parser, 4259 # not just through cpp. "Syntax error" is here to catch this case. 4260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4261/* end confdefs.h. */ 4262#ifdef __STDC__ 4263# include <limits.h> 4264#else 4265# include <assert.h> 4266#endif 4267 Syntax error 4268_ACEOF 4269if ac_fn_c_try_cpp "$LINENO"; then : 4270 4271else 4272 # Broken: fails on valid input. 4273continue 4274fi 4275rm -f conftest.err conftest.i conftest.$ac_ext 4276 4277 # OK, works on sane cases. Now check whether nonexistent headers 4278 # can be detected and how. 4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4280/* end confdefs.h. */ 4281#include <ac_nonexistent.h> 4282_ACEOF 4283if ac_fn_c_try_cpp "$LINENO"; then : 4284 # Broken: success on invalid input. 4285continue 4286else 4287 # Passes both tests. 4288ac_preproc_ok=: 4289break 4290fi 4291rm -f conftest.err conftest.i conftest.$ac_ext 4292 4293done 4294# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4295rm -f conftest.i conftest.err conftest.$ac_ext 4296if $ac_preproc_ok; then : 4297 4298else 4299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4300$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4301as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4302See \`config.log' for more details" "$LINENO" 5; } 4303fi 4304 4305ac_ext=c 4306ac_cpp='$CPP $CPPFLAGS' 4307ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4308ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4309ac_compiler_gnu=$ac_cv_c_compiler_gnu 4310 4311 4312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4313$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4314if ${ac_cv_path_GREP+:} false; then : 4315 $as_echo_n "(cached) " >&6 4316else 4317 if test -z "$GREP"; then 4318 ac_path_GREP_found=false 4319 # Loop through the user's path and test for each of PROGNAME-LIST 4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4321for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4322do 4323 IFS=$as_save_IFS 4324 test -z "$as_dir" && as_dir=. 4325 for ac_prog in grep ggrep; do 4326 for ac_exec_ext in '' $ac_executable_extensions; do 4327 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4328 as_fn_executable_p "$ac_path_GREP" || continue 4329# Check for GNU ac_path_GREP and select it if it is found. 4330 # Check for GNU $ac_path_GREP 4331case `"$ac_path_GREP" --version 2>&1` in 4332*GNU*) 4333 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4334*) 4335 ac_count=0 4336 $as_echo_n 0123456789 >"conftest.in" 4337 while : 4338 do 4339 cat "conftest.in" "conftest.in" >"conftest.tmp" 4340 mv "conftest.tmp" "conftest.in" 4341 cp "conftest.in" "conftest.nl" 4342 $as_echo 'GREP' >> "conftest.nl" 4343 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4344 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4345 as_fn_arith $ac_count + 1 && ac_count=$as_val 4346 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4347 # Best one so far, save it but keep looking for a better one 4348 ac_cv_path_GREP="$ac_path_GREP" 4349 ac_path_GREP_max=$ac_count 4350 fi 4351 # 10*(2^10) chars as input seems more than enough 4352 test $ac_count -gt 10 && break 4353 done 4354 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4355esac 4356 4357 $ac_path_GREP_found && break 3 4358 done 4359 done 4360 done 4361IFS=$as_save_IFS 4362 if test -z "$ac_cv_path_GREP"; then 4363 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4364 fi 4365else 4366 ac_cv_path_GREP=$GREP 4367fi 4368 4369fi 4370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4371$as_echo "$ac_cv_path_GREP" >&6; } 4372 GREP="$ac_cv_path_GREP" 4373 4374 4375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4376$as_echo_n "checking for egrep... " >&6; } 4377if ${ac_cv_path_EGREP+:} false; then : 4378 $as_echo_n "(cached) " >&6 4379else 4380 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4381 then ac_cv_path_EGREP="$GREP -E" 4382 else 4383 if test -z "$EGREP"; then 4384 ac_path_EGREP_found=false 4385 # Loop through the user's path and test for each of PROGNAME-LIST 4386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4387for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4388do 4389 IFS=$as_save_IFS 4390 test -z "$as_dir" && as_dir=. 4391 for ac_prog in egrep; do 4392 for ac_exec_ext in '' $ac_executable_extensions; do 4393 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4394 as_fn_executable_p "$ac_path_EGREP" || continue 4395# Check for GNU ac_path_EGREP and select it if it is found. 4396 # Check for GNU $ac_path_EGREP 4397case `"$ac_path_EGREP" --version 2>&1` in 4398*GNU*) 4399 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4400*) 4401 ac_count=0 4402 $as_echo_n 0123456789 >"conftest.in" 4403 while : 4404 do 4405 cat "conftest.in" "conftest.in" >"conftest.tmp" 4406 mv "conftest.tmp" "conftest.in" 4407 cp "conftest.in" "conftest.nl" 4408 $as_echo 'EGREP' >> "conftest.nl" 4409 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4410 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4411 as_fn_arith $ac_count + 1 && ac_count=$as_val 4412 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4413 # Best one so far, save it but keep looking for a better one 4414 ac_cv_path_EGREP="$ac_path_EGREP" 4415 ac_path_EGREP_max=$ac_count 4416 fi 4417 # 10*(2^10) chars as input seems more than enough 4418 test $ac_count -gt 10 && break 4419 done 4420 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4421esac 4422 4423 $ac_path_EGREP_found && break 3 4424 done 4425 done 4426 done 4427IFS=$as_save_IFS 4428 if test -z "$ac_cv_path_EGREP"; then 4429 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4430 fi 4431else 4432 ac_cv_path_EGREP=$EGREP 4433fi 4434 4435 fi 4436fi 4437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4438$as_echo "$ac_cv_path_EGREP" >&6; } 4439 EGREP="$ac_cv_path_EGREP" 4440 4441 4442if test $ac_cv_c_compiler_gnu = yes; then 4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 4444$as_echo_n "checking whether $CC needs -traditional... " >&6; } 4445if ${ac_cv_prog_gcc_traditional+:} false; then : 4446 $as_echo_n "(cached) " >&6 4447else 4448 ac_pattern="Autoconf.*'x'" 4449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4450/* end confdefs.h. */ 4451#include <sgtty.h> 4452Autoconf TIOCGETP 4453_ACEOF 4454if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4455 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 4456 ac_cv_prog_gcc_traditional=yes 4457else 4458 ac_cv_prog_gcc_traditional=no 4459fi 4460rm -f conftest* 4461 4462 4463 if test $ac_cv_prog_gcc_traditional = no; then 4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4465/* end confdefs.h. */ 4466#include <termio.h> 4467Autoconf TCGETA 4468_ACEOF 4469if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4470 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 4471 ac_cv_prog_gcc_traditional=yes 4472fi 4473rm -f conftest* 4474 4475 fi 4476fi 4477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 4478$as_echo "$ac_cv_prog_gcc_traditional" >&6; } 4479 if test $ac_cv_prog_gcc_traditional = yes; then 4480 CC="$CC -traditional" 4481 fi 4482fi 4483 4484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4485$as_echo_n "checking for ANSI C header files... " >&6; } 4486if ${ac_cv_header_stdc+:} false; then : 4487 $as_echo_n "(cached) " >&6 4488else 4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4490/* end confdefs.h. */ 4491#include <stdlib.h> 4492#include <stdarg.h> 4493#include <string.h> 4494#include <float.h> 4495 4496int 4497main () 4498{ 4499 4500 ; 4501 return 0; 4502} 4503_ACEOF 4504if ac_fn_c_try_compile "$LINENO"; then : 4505 ac_cv_header_stdc=yes 4506else 4507 ac_cv_header_stdc=no 4508fi 4509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4510 4511if test $ac_cv_header_stdc = yes; then 4512 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4514/* end confdefs.h. */ 4515#include <string.h> 4516 4517_ACEOF 4518if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4519 $EGREP "memchr" >/dev/null 2>&1; then : 4520 4521else 4522 ac_cv_header_stdc=no 4523fi 4524rm -f conftest* 4525 4526fi 4527 4528if test $ac_cv_header_stdc = yes; then 4529 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4531/* end confdefs.h. */ 4532#include <stdlib.h> 4533 4534_ACEOF 4535if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4536 $EGREP "free" >/dev/null 2>&1; then : 4537 4538else 4539 ac_cv_header_stdc=no 4540fi 4541rm -f conftest* 4542 4543fi 4544 4545if test $ac_cv_header_stdc = yes; then 4546 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4547 if test "$cross_compiling" = yes; then : 4548 : 4549else 4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4551/* end confdefs.h. */ 4552#include <ctype.h> 4553#include <stdlib.h> 4554#if ((' ' & 0x0FF) == 0x020) 4555# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4556# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4557#else 4558# define ISLOWER(c) \ 4559 (('a' <= (c) && (c) <= 'i') \ 4560 || ('j' <= (c) && (c) <= 'r') \ 4561 || ('s' <= (c) && (c) <= 'z')) 4562# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4563#endif 4564 4565#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4566int 4567main () 4568{ 4569 int i; 4570 for (i = 0; i < 256; i++) 4571 if (XOR (islower (i), ISLOWER (i)) 4572 || toupper (i) != TOUPPER (i)) 4573 return 2; 4574 return 0; 4575} 4576_ACEOF 4577if ac_fn_c_try_run "$LINENO"; then : 4578 4579else 4580 ac_cv_header_stdc=no 4581fi 4582rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4583 conftest.$ac_objext conftest.beam conftest.$ac_ext 4584fi 4585 4586fi 4587fi 4588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4589$as_echo "$ac_cv_header_stdc" >&6; } 4590if test $ac_cv_header_stdc = yes; then 4591 4592$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4593 4594fi 4595 4596# Check whether --enable-static was given. 4597if test "${enable_static+set}" = set; then : 4598 enableval=$enable_static; p=${PACKAGE-default} 4599 case $enableval in 4600 yes) enable_static=yes ;; 4601 no) enable_static=no ;; 4602 *) 4603 enable_static=no 4604 # Look at the argument we got. We use all the common list separators. 4605 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4606 for pkg in $enableval; do 4607 IFS="$lt_save_ifs" 4608 if test "X$pkg" = "X$p"; then 4609 enable_static=yes 4610 fi 4611 done 4612 IFS="$lt_save_ifs" 4613 ;; 4614 esac 4615else 4616 enable_static=no 4617fi 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628# define specific compilation options 4629 4630 4631 _ac_warning_def=yes 4632 _ac_compliant_def="-ansi -Wno-overlength-strings -Wformat=2" 4633 4634 4635 # Check whether --enable-compile-warnings was given. 4636if test "${enable_compile_warnings+set}" = set; then : 4637 enableval=$enable_compile_warnings; 4638else 4639 enable_compile_warnings="${_ac_warning_def}" 4640fi 4641 4642 4643 warnCFLAGS= 4644 if test "x$GCC" != xyes; then 4645 enable_compile_warnings=no 4646 fi 4647 4648 warning_flags= 4649 realsave_CFLAGS="$CFLAGS" 4650 4651 case "$enable_compile_warnings" in 4652 no) 4653 warning_flags= 4654 ;; 4655 minimum) 4656 warning_flags="-Wall" 4657 ;; 4658 yes) 4659 warning_flags="-Wall -Wmissing-prototypes" 4660 ;; 4661 maximum|error) 4662 warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith" 4663 CFLAGS="$warning_flags $CFLAGS" 4664 for option in -Wno-sign-compare; do 4665 SAVE_CFLAGS="$CFLAGS" 4666 CFLAGS="$CFLAGS $option" 4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5 4668$as_echo_n "checking whether gcc understands $option... " >&6; } 4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4670/* end confdefs.h. */ 4671 4672int 4673main () 4674{ 4675 4676 ; 4677 return 0; 4678} 4679_ACEOF 4680if ac_fn_c_try_compile "$LINENO"; then : 4681 has_option=yes 4682else 4683 has_option=no 4684fi 4685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4686 CFLAGS="$SAVE_CFLAGS" 4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 4688$as_echo "$has_option" >&6; } 4689 if test $has_option = yes; then 4690 warning_flags="$warning_flags $option" 4691 fi 4692 unset has_option 4693 unset SAVE_CFLAGS 4694 done 4695 unset option 4696 if test "$enable_compile_warnings" = "error" ; then 4697 warning_flags="$warning_flags " 4698 fi 4699 ;; 4700 *) 4701 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5 4702 ;; 4703 esac 4704 CFLAGS="$realsave_CFLAGS" 4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 4706$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; } 4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5 4708$as_echo "$warning_flags" >&6; } 4709 4710 # Check whether --enable-iso-c was given. 4711if test "${enable_iso_c+set}" = set; then : 4712 enableval=$enable_iso_c; 4713else 4714 enable_iso_c="${_ac_compliant_def}" 4715fi 4716 4717 4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5 4719$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; } 4720 complCFLAGS= 4721 if test "x$enable_iso_c" != "xno"; then 4722 if test "x$GCC" = "xyes"; then 4723 if test "x${_ac_compliant_def}" = "x"; then 4724 case " $CFLAGS " in 4725 *\ \ -ansi\ \ *) ;; 4726 *) complCFLAGS="$complCFLAGS -ansi" ;; 4727 esac 4728 case " $CFLAGS " in 4729 *\ \ -pedantic\ \ *) ;; 4730 *) complCFLAGS="$complCFLAGS -pedantic" ;; 4731 esac 4732 else 4733 complCFLAGS="$complCFLAGS ${_ac_compliant_def}" 4734 fi 4735 fi 4736 fi 4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5 4738$as_echo "$complCFLAGS" >&6; } 4739 4740 WARN_CFLAGS="$warning_flags $complCFLAGS" 4741 4742 4743 4744 # Check whether --enable-as-needed was given. 4745if test "${enable_as_needed+set}" = set; then : 4746 enableval=$enable_as_needed; enable_as_needed=$enableval 4747else 4748 enable_as_needed=yes 4749fi 4750 4751 4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to only link with needed libraries" >&5 4753$as_echo_n "checking whether to only link with needed libraries... " >&6; } 4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_as_needed" >&5 4755$as_echo "$enable_as_needed" >&6; } 4756 4757 if test "${enable_as_needed}" = "yes"; then 4758 AM_LDFLAGS="${AM_LDFLAGS} -Wl,--as-needed" 4759 4760 fi 4761 4762AM_CFLAGS="${AM_CFLAGS} ${WARN_CFLAGS}" 4763 4764 4765# other traditional tools 4766 4767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4768$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4769set x ${MAKE-make} 4770ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4771if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 4772 $as_echo_n "(cached) " >&6 4773else 4774 cat >conftest.make <<\_ACEOF 4775SHELL = /bin/sh 4776all: 4777 @echo '@@@%%%=$(MAKE)=@@@%%%' 4778_ACEOF 4779# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4780case `${MAKE-make} -f conftest.make 2>/dev/null` in 4781 *@@@%%%=?*=@@@%%%*) 4782 eval ac_cv_prog_make_${ac_make}_set=yes;; 4783 *) 4784 eval ac_cv_prog_make_${ac_make}_set=no;; 4785esac 4786rm -f conftest.make 4787fi 4788if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4790$as_echo "yes" >&6; } 4791 SET_MAKE= 4792else 4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4794$as_echo "no" >&6; } 4795 SET_MAKE="MAKE=${MAKE-make}" 4796fi 4797 4798 4799# Gnome stuff 4800 4801 4802 4803 ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}" 4804 if test -n "$ac_macro_dir"; then 4805 ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS" 4806 fi 4807 4808 4809 4810 4811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 4812$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 4813 # Check whether --enable-maintainer-mode was given. 4814if test "${enable_maintainer_mode+set}" = set; then : 4815 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 4816else 4817 USE_MAINTAINER_MODE=no 4818fi 4819 4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 4821$as_echo "$USE_MAINTAINER_MODE" >&6; } 4822 if test $USE_MAINTAINER_MODE = yes; then 4823 MAINTAINER_MODE_TRUE= 4824 MAINTAINER_MODE_FALSE='#' 4825else 4826 MAINTAINER_MODE_TRUE='#' 4827 MAINTAINER_MODE_FALSE= 4828fi 4829 4830 MAINT=$MAINTAINER_MODE_TRUE 4831 4832 4833 4834 4835 4836 DISABLE_DEPRECATED="" 4837 if test $USE_MAINTAINER_MODE = yes; then 4838 DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP" 4839 for DOMAIN in $DOMAINS; do 4840 DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES" 4841 done 4842 fi 4843 4844 4845 4846 4847 4848 4849 msg_maintainer_mode="disabled" 4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer mode" >&5 4851$as_echo_n "checking whether to enable maintainer mode... " >&6; } 4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${USE_MAINTAINER_MODE}" >&5 4853$as_echo "${USE_MAINTAINER_MODE}" >&6; } 4854 4855 if test "${USE_MAINTAINER_MODE}" = "yes"; then 4856 4857$as_echo "#define NA_MAINTAINER_MODE 1" >>confdefs.h 4858 4859 AM_CPPFLAGS="${AM_CPPFLAGS} ${DISABLE_DEPRECATED} -DGSEAL_ENABLED" 4860 4861 AM_CFLAGS="${AM_CFLAGS} " 4862 4863 msg_maintainer_mode="enabled" 4864 fi 4865 4866 if test "${USE_MAINTAINER_MODE}" = "yes"; then 4867 NA_MAINTAINER_MODE_TRUE= 4868 NA_MAINTAINER_MODE_FALSE='#' 4869else 4870 NA_MAINTAINER_MODE_TRUE='#' 4871 NA_MAINTAINER_MODE_FALSE= 4872fi 4873 4874 4875 4876# libtool 4877case `pwd` in 4878 *\ * | *\ *) 4879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4880$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4881esac 4882 4883 4884 4885macro_version='2.4.2' 4886macro_revision='1.3337' 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900ltmain="$ac_aux_dir/ltmain.sh" 4901 4902# Backslashify metacharacters that are still active within 4903# double-quoted strings. 4904sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4905 4906# Same as above, but do not quote variable references. 4907double_quote_subst='s/\(["`\\]\)/\\\1/g' 4908 4909# Sed substitution to delay expansion of an escaped shell variable in a 4910# double_quote_subst'ed string. 4911delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4912 4913# Sed substitution to delay expansion of an escaped single quote. 4914delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4915 4916# Sed substitution to avoid accidental globbing in evaled expressions 4917no_glob_subst='s/\*/\\\*/g' 4918 4919ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4920ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4921ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4922 4923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4924$as_echo_n "checking how to print strings... " >&6; } 4925# Test print first, because it will be a builtin if present. 4926if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4927 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4928 ECHO='print -r --' 4929elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4930 ECHO='printf %s\n' 4931else 4932 # Use this function as a fallback that always works. 4933 func_fallback_echo () 4934 { 4935 eval 'cat <<_LTECHO_EOF 4936$1 4937_LTECHO_EOF' 4938 } 4939 ECHO='func_fallback_echo' 4940fi 4941 4942# func_echo_all arg... 4943# Invoke $ECHO with all args, space-separated. 4944func_echo_all () 4945{ 4946 $ECHO "" 4947} 4948 4949case "$ECHO" in 4950 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4951$as_echo "printf" >&6; } ;; 4952 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4953$as_echo "print -r" >&6; } ;; 4954 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4955$as_echo "cat" >&6; } ;; 4956esac 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4972$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4973if ${ac_cv_path_SED+:} false; then : 4974 $as_echo_n "(cached) " >&6 4975else 4976 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4977 for ac_i in 1 2 3 4 5 6 7; do 4978 ac_script="$ac_script$as_nl$ac_script" 4979 done 4980 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4981 { ac_script=; unset ac_script;} 4982 if test -z "$SED"; then 4983 ac_path_SED_found=false 4984 # Loop through the user's path and test for each of PROGNAME-LIST 4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4986for as_dir in $PATH 4987do 4988 IFS=$as_save_IFS 4989 test -z "$as_dir" && as_dir=. 4990 for ac_prog in sed gsed; do 4991 for ac_exec_ext in '' $ac_executable_extensions; do 4992 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4993 as_fn_executable_p "$ac_path_SED" || continue 4994# Check for GNU ac_path_SED and select it if it is found. 4995 # Check for GNU $ac_path_SED 4996case `"$ac_path_SED" --version 2>&1` in 4997*GNU*) 4998 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4999*) 5000 ac_count=0 5001 $as_echo_n 0123456789 >"conftest.in" 5002 while : 5003 do 5004 cat "conftest.in" "conftest.in" >"conftest.tmp" 5005 mv "conftest.tmp" "conftest.in" 5006 cp "conftest.in" "conftest.nl" 5007 $as_echo '' >> "conftest.nl" 5008 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5009 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5010 as_fn_arith $ac_count + 1 && ac_count=$as_val 5011 if test $ac_count -gt ${ac_path_SED_max-0}; then 5012 # Best one so far, save it but keep looking for a better one 5013 ac_cv_path_SED="$ac_path_SED" 5014 ac_path_SED_max=$ac_count 5015 fi 5016 # 10*(2^10) chars as input seems more than enough 5017 test $ac_count -gt 10 && break 5018 done 5019 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5020esac 5021 5022 $ac_path_SED_found && break 3 5023 done 5024 done 5025 done 5026IFS=$as_save_IFS 5027 if test -z "$ac_cv_path_SED"; then 5028 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5029 fi 5030else 5031 ac_cv_path_SED=$SED 5032fi 5033 5034fi 5035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5036$as_echo "$ac_cv_path_SED" >&6; } 5037 SED="$ac_cv_path_SED" 5038 rm -f conftest.sed 5039 5040test -z "$SED" && SED=sed 5041Xsed="$SED -e 1s/^X//" 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5054$as_echo_n "checking for fgrep... " >&6; } 5055if ${ac_cv_path_FGREP+:} false; then : 5056 $as_echo_n "(cached) " >&6 5057else 5058 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5059 then ac_cv_path_FGREP="$GREP -F" 5060 else 5061 if test -z "$FGREP"; then 5062 ac_path_FGREP_found=false 5063 # Loop through the user's path and test for each of PROGNAME-LIST 5064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5065for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5066do 5067 IFS=$as_save_IFS 5068 test -z "$as_dir" && as_dir=. 5069 for ac_prog in fgrep; do 5070 for ac_exec_ext in '' $ac_executable_extensions; do 5071 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5072 as_fn_executable_p "$ac_path_FGREP" || continue 5073# Check for GNU ac_path_FGREP and select it if it is found. 5074 # Check for GNU $ac_path_FGREP 5075case `"$ac_path_FGREP" --version 2>&1` in 5076*GNU*) 5077 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5078*) 5079 ac_count=0 5080 $as_echo_n 0123456789 >"conftest.in" 5081 while : 5082 do 5083 cat "conftest.in" "conftest.in" >"conftest.tmp" 5084 mv "conftest.tmp" "conftest.in" 5085 cp "conftest.in" "conftest.nl" 5086 $as_echo 'FGREP' >> "conftest.nl" 5087 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5088 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5089 as_fn_arith $ac_count + 1 && ac_count=$as_val 5090 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5091 # Best one so far, save it but keep looking for a better one 5092 ac_cv_path_FGREP="$ac_path_FGREP" 5093 ac_path_FGREP_max=$ac_count 5094 fi 5095 # 10*(2^10) chars as input seems more than enough 5096 test $ac_count -gt 10 && break 5097 done 5098 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5099esac 5100 5101 $ac_path_FGREP_found && break 3 5102 done 5103 done 5104 done 5105IFS=$as_save_IFS 5106 if test -z "$ac_cv_path_FGREP"; then 5107 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5108 fi 5109else 5110 ac_cv_path_FGREP=$FGREP 5111fi 5112 5113 fi 5114fi 5115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5116$as_echo "$ac_cv_path_FGREP" >&6; } 5117 FGREP="$ac_cv_path_FGREP" 5118 5119 5120test -z "$GREP" && GREP=grep 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140# Check whether --with-gnu-ld was given. 5141if test "${with_gnu_ld+set}" = set; then : 5142 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5143else 5144 with_gnu_ld=no 5145fi 5146 5147ac_prog=ld 5148if test "$GCC" = yes; then 5149 # Check if gcc -print-prog-name=ld gives a path. 5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5151$as_echo_n "checking for ld used by $CC... " >&6; } 5152 case $host in 5153 *-*-mingw*) 5154 # gcc leaves a trailing carriage return which upsets mingw 5155 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5156 *) 5157 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5158 esac 5159 case $ac_prog in 5160 # Accept absolute paths. 5161 [\\/]* | ?:[\\/]*) 5162 re_direlt='/[^/][^/]*/\.\./' 5163 # Canonicalize the pathname of ld 5164 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5165 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5166 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5167 done 5168 test -z "$LD" && LD="$ac_prog" 5169 ;; 5170 "") 5171 # If it fails, then pretend we aren't using GCC. 5172 ac_prog=ld 5173 ;; 5174 *) 5175 # If it is relative, then search for the first ld in PATH. 5176 with_gnu_ld=unknown 5177 ;; 5178 esac 5179elif test "$with_gnu_ld" = yes; then 5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5181$as_echo_n "checking for GNU ld... " >&6; } 5182else 5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5184$as_echo_n "checking for non-GNU ld... " >&6; } 5185fi 5186if ${lt_cv_path_LD+:} false; then : 5187 $as_echo_n "(cached) " >&6 5188else 5189 if test -z "$LD"; then 5190 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5191 for ac_dir in $PATH; do 5192 IFS="$lt_save_ifs" 5193 test -z "$ac_dir" && ac_dir=. 5194 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5195 lt_cv_path_LD="$ac_dir/$ac_prog" 5196 # Check to see if the program is GNU ld. I'd rather use --version, 5197 # but apparently some variants of GNU ld only accept -v. 5198 # Break only if it was the GNU/non-GNU ld that we prefer. 5199 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5200 *GNU* | *'with BFD'*) 5201 test "$with_gnu_ld" != no && break 5202 ;; 5203 *) 5204 test "$with_gnu_ld" != yes && break 5205 ;; 5206 esac 5207 fi 5208 done 5209 IFS="$lt_save_ifs" 5210else 5211 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5212fi 5213fi 5214 5215LD="$lt_cv_path_LD" 5216if test -n "$LD"; then 5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5218$as_echo "$LD" >&6; } 5219else 5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5221$as_echo "no" >&6; } 5222fi 5223test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5225$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5226if ${lt_cv_prog_gnu_ld+:} false; then : 5227 $as_echo_n "(cached) " >&6 5228else 5229 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5230case `$LD -v 2>&1 </dev/null` in 5231*GNU* | *'with BFD'*) 5232 lt_cv_prog_gnu_ld=yes 5233 ;; 5234*) 5235 lt_cv_prog_gnu_ld=no 5236 ;; 5237esac 5238fi 5239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5240$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5241with_gnu_ld=$lt_cv_prog_gnu_ld 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5252$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5253if ${lt_cv_path_NM+:} false; then : 5254 $as_echo_n "(cached) " >&6 5255else 5256 if test -n "$NM"; then 5257 # Let the user override the test. 5258 lt_cv_path_NM="$NM" 5259else 5260 lt_nm_to_check="${ac_tool_prefix}nm" 5261 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5262 lt_nm_to_check="$lt_nm_to_check nm" 5263 fi 5264 for lt_tmp_nm in $lt_nm_to_check; do 5265 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5266 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5267 IFS="$lt_save_ifs" 5268 test -z "$ac_dir" && ac_dir=. 5269 tmp_nm="$ac_dir/$lt_tmp_nm" 5270 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5271 # Check to see if the nm accepts a BSD-compat flag. 5272 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5273 # nm: unknown option "B" ignored 5274 # Tru64's nm complains that /dev/null is an invalid object file 5275 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5276 */dev/null* | *'Invalid file or object type'*) 5277 lt_cv_path_NM="$tmp_nm -B" 5278 break 5279 ;; 5280 *) 5281 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5282 */dev/null*) 5283 lt_cv_path_NM="$tmp_nm -p" 5284 break 5285 ;; 5286 *) 5287 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5288 continue # so that we can try to find one that supports BSD flags 5289 ;; 5290 esac 5291 ;; 5292 esac 5293 fi 5294 done 5295 IFS="$lt_save_ifs" 5296 done 5297 : ${lt_cv_path_NM=no} 5298fi 5299fi 5300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5301$as_echo "$lt_cv_path_NM" >&6; } 5302if test "$lt_cv_path_NM" != "no"; then 5303 NM="$lt_cv_path_NM" 5304else 5305 # Didn't find any BSD compatible name lister, look for dumpbin. 5306 if test -n "$DUMPBIN"; then : 5307 # Let the user override the test. 5308 else 5309 if test -n "$ac_tool_prefix"; then 5310 for ac_prog in dumpbin "link -dump" 5311 do 5312 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5313set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5315$as_echo_n "checking for $ac_word... " >&6; } 5316if ${ac_cv_prog_DUMPBIN+:} false; then : 5317 $as_echo_n "(cached) " >&6 5318else 5319 if test -n "$DUMPBIN"; then 5320 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5321else 5322as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5323for as_dir in $PATH 5324do 5325 IFS=$as_save_IFS 5326 test -z "$as_dir" && as_dir=. 5327 for ac_exec_ext in '' $ac_executable_extensions; do 5328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5329 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5331 break 2 5332 fi 5333done 5334 done 5335IFS=$as_save_IFS 5336 5337fi 5338fi 5339DUMPBIN=$ac_cv_prog_DUMPBIN 5340if test -n "$DUMPBIN"; then 5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5342$as_echo "$DUMPBIN" >&6; } 5343else 5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5345$as_echo "no" >&6; } 5346fi 5347 5348 5349 test -n "$DUMPBIN" && break 5350 done 5351fi 5352if test -z "$DUMPBIN"; then 5353 ac_ct_DUMPBIN=$DUMPBIN 5354 for ac_prog in dumpbin "link -dump" 5355do 5356 # Extract the first word of "$ac_prog", so it can be a program name with args. 5357set dummy $ac_prog; ac_word=$2 5358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5359$as_echo_n "checking for $ac_word... " >&6; } 5360if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5361 $as_echo_n "(cached) " >&6 5362else 5363 if test -n "$ac_ct_DUMPBIN"; then 5364 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5365else 5366as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5367for as_dir in $PATH 5368do 5369 IFS=$as_save_IFS 5370 test -z "$as_dir" && as_dir=. 5371 for ac_exec_ext in '' $ac_executable_extensions; do 5372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5373 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5375 break 2 5376 fi 5377done 5378 done 5379IFS=$as_save_IFS 5380 5381fi 5382fi 5383ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5384if test -n "$ac_ct_DUMPBIN"; then 5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5386$as_echo "$ac_ct_DUMPBIN" >&6; } 5387else 5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5389$as_echo "no" >&6; } 5390fi 5391 5392 5393 test -n "$ac_ct_DUMPBIN" && break 5394done 5395 5396 if test "x$ac_ct_DUMPBIN" = x; then 5397 DUMPBIN=":" 5398 else 5399 case $cross_compiling:$ac_tool_warned in 5400yes:) 5401{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5402$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5403ac_tool_warned=yes ;; 5404esac 5405 DUMPBIN=$ac_ct_DUMPBIN 5406 fi 5407fi 5408 5409 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5410 *COFF*) 5411 DUMPBIN="$DUMPBIN -symbols" 5412 ;; 5413 *) 5414 DUMPBIN=: 5415 ;; 5416 esac 5417 fi 5418 5419 if test "$DUMPBIN" != ":"; then 5420 NM="$DUMPBIN" 5421 fi 5422fi 5423test -z "$NM" && NM=nm 5424 5425 5426 5427 5428 5429 5430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5431$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5432if ${lt_cv_nm_interface+:} false; then : 5433 $as_echo_n "(cached) " >&6 5434else 5435 lt_cv_nm_interface="BSD nm" 5436 echo "int some_variable = 0;" > conftest.$ac_ext 5437 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5438 (eval "$ac_compile" 2>conftest.err) 5439 cat conftest.err >&5 5440 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5441 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5442 cat conftest.err >&5 5443 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5444 cat conftest.out >&5 5445 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5446 lt_cv_nm_interface="MS dumpbin" 5447 fi 5448 rm -f conftest* 5449fi 5450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5451$as_echo "$lt_cv_nm_interface" >&6; } 5452 5453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5454$as_echo_n "checking whether ln -s works... " >&6; } 5455LN_S=$as_ln_s 5456if test "$LN_S" = "ln -s"; then 5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5458$as_echo "yes" >&6; } 5459else 5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5461$as_echo "no, using $LN_S" >&6; } 5462fi 5463 5464# find the maximum length of command line arguments 5465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5466$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5467if ${lt_cv_sys_max_cmd_len+:} false; then : 5468 $as_echo_n "(cached) " >&6 5469else 5470 i=0 5471 teststring="ABCD" 5472 5473 case $build_os in 5474 msdosdjgpp*) 5475 # On DJGPP, this test can blow up pretty badly due to problems in libc 5476 # (any single argument exceeding 2000 bytes causes a buffer overrun 5477 # during glob expansion). Even if it were fixed, the result of this 5478 # check would be larger than it should be. 5479 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5480 ;; 5481 5482 gnu*) 5483 # Under GNU Hurd, this test is not required because there is 5484 # no limit to the length of command line arguments. 5485 # Libtool will interpret -1 as no limit whatsoever 5486 lt_cv_sys_max_cmd_len=-1; 5487 ;; 5488 5489 cygwin* | mingw* | cegcc*) 5490 # On Win9x/ME, this test blows up -- it succeeds, but takes 5491 # about 5 minutes as the teststring grows exponentially. 5492 # Worse, since 9x/ME are not pre-emptively multitasking, 5493 # you end up with a "frozen" computer, even though with patience 5494 # the test eventually succeeds (with a max line length of 256k). 5495 # Instead, let's just punt: use the minimum linelength reported by 5496 # all of the supported platforms: 8192 (on NT/2K/XP). 5497 lt_cv_sys_max_cmd_len=8192; 5498 ;; 5499 5500 mint*) 5501 # On MiNT this can take a long time and run out of memory. 5502 lt_cv_sys_max_cmd_len=8192; 5503 ;; 5504 5505 amigaos*) 5506 # On AmigaOS with pdksh, this test takes hours, literally. 5507 # So we just punt and use a minimum line length of 8192. 5508 lt_cv_sys_max_cmd_len=8192; 5509 ;; 5510 5511 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5512 # This has been around since 386BSD, at least. Likely further. 5513 if test -x /sbin/sysctl; then 5514 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5515 elif test -x /usr/sbin/sysctl; then 5516 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5517 else 5518 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5519 fi 5520 # And add a safety zone 5521 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5522 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5523 ;; 5524 5525 interix*) 5526 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5527 lt_cv_sys_max_cmd_len=196608 5528 ;; 5529 5530 os2*) 5531 # The test takes a long time on OS/2. 5532 lt_cv_sys_max_cmd_len=8192 5533 ;; 5534 5535 osf*) 5536 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5537 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5538 # nice to cause kernel panics so lets avoid the loop below. 5539 # First set a reasonable default. 5540 lt_cv_sys_max_cmd_len=16384 5541 # 5542 if test -x /sbin/sysconfig; then 5543 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5544 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5545 esac 5546 fi 5547 ;; 5548 sco3.2v5*) 5549 lt_cv_sys_max_cmd_len=102400 5550 ;; 5551 sysv5* | sco5v6* | sysv4.2uw2*) 5552 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5553 if test -n "$kargmax"; then 5554 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5555 else 5556 lt_cv_sys_max_cmd_len=32768 5557 fi 5558 ;; 5559 *) 5560 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5561 if test -n "$lt_cv_sys_max_cmd_len"; then 5562 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5563 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5564 else 5565 # Make teststring a little bigger before we do anything with it. 5566 # a 1K string should be a reasonable start. 5567 for i in 1 2 3 4 5 6 7 8 ; do 5568 teststring=$teststring$teststring 5569 done 5570 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5571 # If test is not a shell built-in, we'll probably end up computing a 5572 # maximum length that is only half of the actual maximum length, but 5573 # we can't tell. 5574 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5575 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5576 test $i != 17 # 1/2 MB should be enough 5577 do 5578 i=`expr $i + 1` 5579 teststring=$teststring$teststring 5580 done 5581 # Only check the string length outside the loop. 5582 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5583 teststring= 5584 # Add a significant safety factor because C++ compilers can tack on 5585 # massive amounts of additional arguments before passing them to the 5586 # linker. It appears as though 1/2 is a usable value. 5587 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5588 fi 5589 ;; 5590 esac 5591 5592fi 5593 5594if test -n $lt_cv_sys_max_cmd_len ; then 5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5596$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5597else 5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5599$as_echo "none" >&6; } 5600fi 5601max_cmd_len=$lt_cv_sys_max_cmd_len 5602 5603 5604 5605 5606 5607 5608: ${CP="cp -f"} 5609: ${MV="mv -f"} 5610: ${RM="rm -f"} 5611 5612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5613$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5614# Try some XSI features 5615xsi_shell=no 5616( _lt_dummy="a/b/c" 5617 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5618 = c,a/b,b/c, \ 5619 && eval 'test $(( 1 + 1 )) -eq 2 \ 5620 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5621 && xsi_shell=yes 5622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5623$as_echo "$xsi_shell" >&6; } 5624 5625 5626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5627$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5628lt_shell_append=no 5629( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5630 >/dev/null 2>&1 \ 5631 && lt_shell_append=yes 5632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5633$as_echo "$lt_shell_append" >&6; } 5634 5635 5636if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5637 lt_unset=unset 5638else 5639 lt_unset=false 5640fi 5641 5642 5643 5644 5645 5646# test EBCDIC or ASCII 5647case `echo X|tr X '\101'` in 5648 A) # ASCII based system 5649 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5650 lt_SP2NL='tr \040 \012' 5651 lt_NL2SP='tr \015\012 \040\040' 5652 ;; 5653 *) # EBCDIC based system 5654 lt_SP2NL='tr \100 \n' 5655 lt_NL2SP='tr \r\n \100\100' 5656 ;; 5657esac 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5668$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5669if ${lt_cv_to_host_file_cmd+:} false; then : 5670 $as_echo_n "(cached) " >&6 5671else 5672 case $host in 5673 *-*-mingw* ) 5674 case $build in 5675 *-*-mingw* ) # actually msys 5676 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5677 ;; 5678 *-*-cygwin* ) 5679 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5680 ;; 5681 * ) # otherwise, assume *nix 5682 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5683 ;; 5684 esac 5685 ;; 5686 *-*-cygwin* ) 5687 case $build in 5688 *-*-mingw* ) # actually msys 5689 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5690 ;; 5691 *-*-cygwin* ) 5692 lt_cv_to_host_file_cmd=func_convert_file_noop 5693 ;; 5694 * ) # otherwise, assume *nix 5695 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5696 ;; 5697 esac 5698 ;; 5699 * ) # unhandled hosts (and "normal" native builds) 5700 lt_cv_to_host_file_cmd=func_convert_file_noop 5701 ;; 5702esac 5703 5704fi 5705 5706to_host_file_cmd=$lt_cv_to_host_file_cmd 5707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5708$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5709 5710 5711 5712 5713 5714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5715$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5716if ${lt_cv_to_tool_file_cmd+:} false; then : 5717 $as_echo_n "(cached) " >&6 5718else 5719 #assume ordinary cross tools, or native build. 5720lt_cv_to_tool_file_cmd=func_convert_file_noop 5721case $host in 5722 *-*-mingw* ) 5723 case $build in 5724 *-*-mingw* ) # actually msys 5725 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5726 ;; 5727 esac 5728 ;; 5729esac 5730 5731fi 5732 5733to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5735$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5736 5737 5738 5739 5740 5741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5742$as_echo_n "checking for $LD option to reload object files... " >&6; } 5743if ${lt_cv_ld_reload_flag+:} false; then : 5744 $as_echo_n "(cached) " >&6 5745else 5746 lt_cv_ld_reload_flag='-r' 5747fi 5748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5749$as_echo "$lt_cv_ld_reload_flag" >&6; } 5750reload_flag=$lt_cv_ld_reload_flag 5751case $reload_flag in 5752"" | " "*) ;; 5753*) reload_flag=" $reload_flag" ;; 5754esac 5755reload_cmds='$LD$reload_flag -o $output$reload_objs' 5756case $host_os in 5757 cygwin* | mingw* | pw32* | cegcc*) 5758 if test "$GCC" != yes; then 5759 reload_cmds=false 5760 fi 5761 ;; 5762 darwin*) 5763 if test "$GCC" = yes; then 5764 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5765 else 5766 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5767 fi 5768 ;; 5769esac 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779if test -n "$ac_tool_prefix"; then 5780 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5781set dummy ${ac_tool_prefix}objdump; ac_word=$2 5782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5783$as_echo_n "checking for $ac_word... " >&6; } 5784if ${ac_cv_prog_OBJDUMP+:} false; then : 5785 $as_echo_n "(cached) " >&6 5786else 5787 if test -n "$OBJDUMP"; then 5788 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5789else 5790as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5791for as_dir in $PATH 5792do 5793 IFS=$as_save_IFS 5794 test -z "$as_dir" && as_dir=. 5795 for ac_exec_ext in '' $ac_executable_extensions; do 5796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5797 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5799 break 2 5800 fi 5801done 5802 done 5803IFS=$as_save_IFS 5804 5805fi 5806fi 5807OBJDUMP=$ac_cv_prog_OBJDUMP 5808if test -n "$OBJDUMP"; then 5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5810$as_echo "$OBJDUMP" >&6; } 5811else 5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5813$as_echo "no" >&6; } 5814fi 5815 5816 5817fi 5818if test -z "$ac_cv_prog_OBJDUMP"; then 5819 ac_ct_OBJDUMP=$OBJDUMP 5820 # Extract the first word of "objdump", so it can be a program name with args. 5821set dummy objdump; ac_word=$2 5822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5823$as_echo_n "checking for $ac_word... " >&6; } 5824if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5825 $as_echo_n "(cached) " >&6 5826else 5827 if test -n "$ac_ct_OBJDUMP"; then 5828 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5829else 5830as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5831for as_dir in $PATH 5832do 5833 IFS=$as_save_IFS 5834 test -z "$as_dir" && as_dir=. 5835 for ac_exec_ext in '' $ac_executable_extensions; do 5836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5837 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5839 break 2 5840 fi 5841done 5842 done 5843IFS=$as_save_IFS 5844 5845fi 5846fi 5847ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5848if test -n "$ac_ct_OBJDUMP"; then 5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5850$as_echo "$ac_ct_OBJDUMP" >&6; } 5851else 5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5853$as_echo "no" >&6; } 5854fi 5855 5856 if test "x$ac_ct_OBJDUMP" = x; then 5857 OBJDUMP="false" 5858 else 5859 case $cross_compiling:$ac_tool_warned in 5860yes:) 5861{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5862$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5863ac_tool_warned=yes ;; 5864esac 5865 OBJDUMP=$ac_ct_OBJDUMP 5866 fi 5867else 5868 OBJDUMP="$ac_cv_prog_OBJDUMP" 5869fi 5870 5871test -z "$OBJDUMP" && OBJDUMP=objdump 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5882$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5883if ${lt_cv_deplibs_check_method+:} false; then : 5884 $as_echo_n "(cached) " >&6 5885else 5886 lt_cv_file_magic_cmd='$MAGIC_CMD' 5887lt_cv_file_magic_test_file= 5888lt_cv_deplibs_check_method='unknown' 5889# Need to set the preceding variable on all platforms that support 5890# interlibrary dependencies. 5891# 'none' -- dependencies not supported. 5892# `unknown' -- same as none, but documents that we really don't know. 5893# 'pass_all' -- all dependencies passed with no checks. 5894# 'test_compile' -- check by making test program. 5895# 'file_magic [[regex]]' -- check by looking for files in library path 5896# which responds to the $file_magic_cmd with a given extended regex. 5897# If you have `file' or equivalent on your system and you're not sure 5898# whether `pass_all' will *always* work, you probably want this one. 5899 5900case $host_os in 5901aix[4-9]*) 5902 lt_cv_deplibs_check_method=pass_all 5903 ;; 5904 5905beos*) 5906 lt_cv_deplibs_check_method=pass_all 5907 ;; 5908 5909bsdi[45]*) 5910 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5911 lt_cv_file_magic_cmd='/usr/bin/file -L' 5912 lt_cv_file_magic_test_file=/shlib/libc.so 5913 ;; 5914 5915cygwin*) 5916 # func_win32_libid is a shell function defined in ltmain.sh 5917 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5918 lt_cv_file_magic_cmd='func_win32_libid' 5919 ;; 5920 5921mingw* | pw32*) 5922 # Base MSYS/MinGW do not provide the 'file' command needed by 5923 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5924 # unless we find 'file', for example because we are cross-compiling. 5925 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5926 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5927 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5928 lt_cv_file_magic_cmd='func_win32_libid' 5929 else 5930 # Keep this pattern in sync with the one in func_win32_libid. 5931 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5932 lt_cv_file_magic_cmd='$OBJDUMP -f' 5933 fi 5934 ;; 5935 5936cegcc*) 5937 # use the weaker test based on 'objdump'. See mingw*. 5938 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5939 lt_cv_file_magic_cmd='$OBJDUMP -f' 5940 ;; 5941 5942darwin* | rhapsody*) 5943 lt_cv_deplibs_check_method=pass_all 5944 ;; 5945 5946freebsd* | dragonfly*) 5947 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5948 case $host_cpu in 5949 i*86 ) 5950 # Not sure whether the presence of OpenBSD here was a mistake. 5951 # Let's accept both of them until this is cleared up. 5952 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5953 lt_cv_file_magic_cmd=/usr/bin/file 5954 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5955 ;; 5956 esac 5957 else 5958 lt_cv_deplibs_check_method=pass_all 5959 fi 5960 ;; 5961 5962gnu*) 5963 lt_cv_deplibs_check_method=pass_all 5964 ;; 5965 5966haiku*) 5967 lt_cv_deplibs_check_method=pass_all 5968 ;; 5969 5970hpux10.20* | hpux11*) 5971 lt_cv_file_magic_cmd=/usr/bin/file 5972 case $host_cpu in 5973 ia64*) 5974 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5975 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5976 ;; 5977 hppa*64*) 5978 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]' 5979 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5980 ;; 5981 *) 5982 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5983 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5984 ;; 5985 esac 5986 ;; 5987 5988interix[3-9]*) 5989 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5990 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5991 ;; 5992 5993irix5* | irix6* | nonstopux*) 5994 case $LD in 5995 *-32|*"-32 ") libmagic=32-bit;; 5996 *-n32|*"-n32 ") libmagic=N32;; 5997 *-64|*"-64 ") libmagic=64-bit;; 5998 *) libmagic=never-match;; 5999 esac 6000 lt_cv_deplibs_check_method=pass_all 6001 ;; 6002 6003# This must be glibc/ELF. 6004linux* | k*bsd*-gnu | kopensolaris*-gnu) 6005 lt_cv_deplibs_check_method=pass_all 6006 ;; 6007 6008netbsd*) 6009 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6011 else 6012 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6013 fi 6014 ;; 6015 6016newos6*) 6017 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6018 lt_cv_file_magic_cmd=/usr/bin/file 6019 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6020 ;; 6021 6022*nto* | *qnx*) 6023 lt_cv_deplibs_check_method=pass_all 6024 ;; 6025 6026openbsd*) 6027 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 6028 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6029 else 6030 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6031 fi 6032 ;; 6033 6034osf3* | osf4* | osf5*) 6035 lt_cv_deplibs_check_method=pass_all 6036 ;; 6037 6038rdos*) 6039 lt_cv_deplibs_check_method=pass_all 6040 ;; 6041 6042solaris*) 6043 lt_cv_deplibs_check_method=pass_all 6044 ;; 6045 6046sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6047 lt_cv_deplibs_check_method=pass_all 6048 ;; 6049 6050sysv4 | sysv4.3*) 6051 case $host_vendor in 6052 motorola) 6053 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]' 6054 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6055 ;; 6056 ncr) 6057 lt_cv_deplibs_check_method=pass_all 6058 ;; 6059 sequent) 6060 lt_cv_file_magic_cmd='/bin/file' 6061 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6062 ;; 6063 sni) 6064 lt_cv_file_magic_cmd='/bin/file' 6065 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6066 lt_cv_file_magic_test_file=/lib/libc.so 6067 ;; 6068 siemens) 6069 lt_cv_deplibs_check_method=pass_all 6070 ;; 6071 pc) 6072 lt_cv_deplibs_check_method=pass_all 6073 ;; 6074 esac 6075 ;; 6076 6077tpf*) 6078 lt_cv_deplibs_check_method=pass_all 6079 ;; 6080esac 6081 6082fi 6083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6084$as_echo "$lt_cv_deplibs_check_method" >&6; } 6085 6086file_magic_glob= 6087want_nocaseglob=no 6088if test "$build" = "$host"; then 6089 case $host_os in 6090 mingw* | pw32*) 6091 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6092 want_nocaseglob=yes 6093 else 6094 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6095 fi 6096 ;; 6097 esac 6098fi 6099 6100file_magic_cmd=$lt_cv_file_magic_cmd 6101deplibs_check_method=$lt_cv_deplibs_check_method 6102test -z "$deplibs_check_method" && deplibs_check_method=unknown 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125if test -n "$ac_tool_prefix"; then 6126 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6127set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6129$as_echo_n "checking for $ac_word... " >&6; } 6130if ${ac_cv_prog_DLLTOOL+:} false; then : 6131 $as_echo_n "(cached) " >&6 6132else 6133 if test -n "$DLLTOOL"; then 6134 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6135else 6136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6137for as_dir in $PATH 6138do 6139 IFS=$as_save_IFS 6140 test -z "$as_dir" && as_dir=. 6141 for ac_exec_ext in '' $ac_executable_extensions; do 6142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6143 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6145 break 2 6146 fi 6147done 6148 done 6149IFS=$as_save_IFS 6150 6151fi 6152fi 6153DLLTOOL=$ac_cv_prog_DLLTOOL 6154if test -n "$DLLTOOL"; then 6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6156$as_echo "$DLLTOOL" >&6; } 6157else 6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6159$as_echo "no" >&6; } 6160fi 6161 6162 6163fi 6164if test -z "$ac_cv_prog_DLLTOOL"; then 6165 ac_ct_DLLTOOL=$DLLTOOL 6166 # Extract the first word of "dlltool", so it can be a program name with args. 6167set dummy dlltool; ac_word=$2 6168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6169$as_echo_n "checking for $ac_word... " >&6; } 6170if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6171 $as_echo_n "(cached) " >&6 6172else 6173 if test -n "$ac_ct_DLLTOOL"; then 6174 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6175else 6176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6177for as_dir in $PATH 6178do 6179 IFS=$as_save_IFS 6180 test -z "$as_dir" && as_dir=. 6181 for ac_exec_ext in '' $ac_executable_extensions; do 6182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6183 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6185 break 2 6186 fi 6187done 6188 done 6189IFS=$as_save_IFS 6190 6191fi 6192fi 6193ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6194if test -n "$ac_ct_DLLTOOL"; then 6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6196$as_echo "$ac_ct_DLLTOOL" >&6; } 6197else 6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6199$as_echo "no" >&6; } 6200fi 6201 6202 if test "x$ac_ct_DLLTOOL" = x; then 6203 DLLTOOL="false" 6204 else 6205 case $cross_compiling:$ac_tool_warned in 6206yes:) 6207{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6208$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6209ac_tool_warned=yes ;; 6210esac 6211 DLLTOOL=$ac_ct_DLLTOOL 6212 fi 6213else 6214 DLLTOOL="$ac_cv_prog_DLLTOOL" 6215fi 6216 6217test -z "$DLLTOOL" && DLLTOOL=dlltool 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6229$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6230if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6231 $as_echo_n "(cached) " >&6 6232else 6233 lt_cv_sharedlib_from_linklib_cmd='unknown' 6234 6235case $host_os in 6236cygwin* | mingw* | pw32* | cegcc*) 6237 # two different shell functions defined in ltmain.sh 6238 # decide which to use based on capabilities of $DLLTOOL 6239 case `$DLLTOOL --help 2>&1` in 6240 *--identify-strict*) 6241 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6242 ;; 6243 *) 6244 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6245 ;; 6246 esac 6247 ;; 6248*) 6249 # fallback: assume linklib IS sharedlib 6250 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 6251 ;; 6252esac 6253 6254fi 6255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6256$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6257sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6258test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6259 6260 6261 6262 6263 6264 6265 6266if test -n "$ac_tool_prefix"; then 6267 for ac_prog in ar 6268 do 6269 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6270set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6272$as_echo_n "checking for $ac_word... " >&6; } 6273if ${ac_cv_prog_AR+:} false; then : 6274 $as_echo_n "(cached) " >&6 6275else 6276 if test -n "$AR"; then 6277 ac_cv_prog_AR="$AR" # Let the user override the test. 6278else 6279as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6280for as_dir in $PATH 6281do 6282 IFS=$as_save_IFS 6283 test -z "$as_dir" && as_dir=. 6284 for ac_exec_ext in '' $ac_executable_extensions; do 6285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6286 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6288 break 2 6289 fi 6290done 6291 done 6292IFS=$as_save_IFS 6293 6294fi 6295fi 6296AR=$ac_cv_prog_AR 6297if test -n "$AR"; then 6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6299$as_echo "$AR" >&6; } 6300else 6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6302$as_echo "no" >&6; } 6303fi 6304 6305 6306 test -n "$AR" && break 6307 done 6308fi 6309if test -z "$AR"; then 6310 ac_ct_AR=$AR 6311 for ac_prog in ar 6312do 6313 # Extract the first word of "$ac_prog", so it can be a program name with args. 6314set dummy $ac_prog; ac_word=$2 6315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6316$as_echo_n "checking for $ac_word... " >&6; } 6317if ${ac_cv_prog_ac_ct_AR+:} false; then : 6318 $as_echo_n "(cached) " >&6 6319else 6320 if test -n "$ac_ct_AR"; then 6321 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6322else 6323as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6324for as_dir in $PATH 6325do 6326 IFS=$as_save_IFS 6327 test -z "$as_dir" && as_dir=. 6328 for ac_exec_ext in '' $ac_executable_extensions; do 6329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6330 ac_cv_prog_ac_ct_AR="$ac_prog" 6331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6332 break 2 6333 fi 6334done 6335 done 6336IFS=$as_save_IFS 6337 6338fi 6339fi 6340ac_ct_AR=$ac_cv_prog_ac_ct_AR 6341if test -n "$ac_ct_AR"; then 6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6343$as_echo "$ac_ct_AR" >&6; } 6344else 6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6346$as_echo "no" >&6; } 6347fi 6348 6349 6350 test -n "$ac_ct_AR" && break 6351done 6352 6353 if test "x$ac_ct_AR" = x; then 6354 AR="false" 6355 else 6356 case $cross_compiling:$ac_tool_warned in 6357yes:) 6358{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6359$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6360ac_tool_warned=yes ;; 6361esac 6362 AR=$ac_ct_AR 6363 fi 6364fi 6365 6366: ${AR=ar} 6367: ${AR_FLAGS=cru} 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6380$as_echo_n "checking for archiver @FILE support... " >&6; } 6381if ${lt_cv_ar_at_file+:} false; then : 6382 $as_echo_n "(cached) " >&6 6383else 6384 lt_cv_ar_at_file=no 6385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6386/* end confdefs.h. */ 6387 6388int 6389main () 6390{ 6391 6392 ; 6393 return 0; 6394} 6395_ACEOF 6396if ac_fn_c_try_compile "$LINENO"; then : 6397 echo conftest.$ac_objext > conftest.lst 6398 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6399 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6400 (eval $lt_ar_try) 2>&5 6401 ac_status=$? 6402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6403 test $ac_status = 0; } 6404 if test "$ac_status" -eq 0; then 6405 # Ensure the archiver fails upon bogus file names. 6406 rm -f conftest.$ac_objext libconftest.a 6407 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6408 (eval $lt_ar_try) 2>&5 6409 ac_status=$? 6410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6411 test $ac_status = 0; } 6412 if test "$ac_status" -ne 0; then 6413 lt_cv_ar_at_file=@ 6414 fi 6415 fi 6416 rm -f conftest.* libconftest.a 6417 6418fi 6419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6420 6421fi 6422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6423$as_echo "$lt_cv_ar_at_file" >&6; } 6424 6425if test "x$lt_cv_ar_at_file" = xno; then 6426 archiver_list_spec= 6427else 6428 archiver_list_spec=$lt_cv_ar_at_file 6429fi 6430 6431 6432 6433 6434 6435 6436 6437if test -n "$ac_tool_prefix"; then 6438 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6439set dummy ${ac_tool_prefix}strip; ac_word=$2 6440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6441$as_echo_n "checking for $ac_word... " >&6; } 6442if ${ac_cv_prog_STRIP+:} false; then : 6443 $as_echo_n "(cached) " >&6 6444else 6445 if test -n "$STRIP"; then 6446 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6447else 6448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6449for as_dir in $PATH 6450do 6451 IFS=$as_save_IFS 6452 test -z "$as_dir" && as_dir=. 6453 for ac_exec_ext in '' $ac_executable_extensions; do 6454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6455 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6457 break 2 6458 fi 6459done 6460 done 6461IFS=$as_save_IFS 6462 6463fi 6464fi 6465STRIP=$ac_cv_prog_STRIP 6466if test -n "$STRIP"; then 6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6468$as_echo "$STRIP" >&6; } 6469else 6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6471$as_echo "no" >&6; } 6472fi 6473 6474 6475fi 6476if test -z "$ac_cv_prog_STRIP"; then 6477 ac_ct_STRIP=$STRIP 6478 # Extract the first word of "strip", so it can be a program name with args. 6479set dummy strip; ac_word=$2 6480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6481$as_echo_n "checking for $ac_word... " >&6; } 6482if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6483 $as_echo_n "(cached) " >&6 6484else 6485 if test -n "$ac_ct_STRIP"; then 6486 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6487else 6488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6489for as_dir in $PATH 6490do 6491 IFS=$as_save_IFS 6492 test -z "$as_dir" && as_dir=. 6493 for ac_exec_ext in '' $ac_executable_extensions; do 6494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6495 ac_cv_prog_ac_ct_STRIP="strip" 6496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6497 break 2 6498 fi 6499done 6500 done 6501IFS=$as_save_IFS 6502 6503fi 6504fi 6505ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6506if test -n "$ac_ct_STRIP"; then 6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6508$as_echo "$ac_ct_STRIP" >&6; } 6509else 6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6511$as_echo "no" >&6; } 6512fi 6513 6514 if test "x$ac_ct_STRIP" = x; then 6515 STRIP=":" 6516 else 6517 case $cross_compiling:$ac_tool_warned in 6518yes:) 6519{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6520$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6521ac_tool_warned=yes ;; 6522esac 6523 STRIP=$ac_ct_STRIP 6524 fi 6525else 6526 STRIP="$ac_cv_prog_STRIP" 6527fi 6528 6529test -z "$STRIP" && STRIP=: 6530 6531 6532 6533 6534 6535 6536if test -n "$ac_tool_prefix"; then 6537 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6538set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6540$as_echo_n "checking for $ac_word... " >&6; } 6541if ${ac_cv_prog_RANLIB+:} false; then : 6542 $as_echo_n "(cached) " >&6 6543else 6544 if test -n "$RANLIB"; then 6545 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6546else 6547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6548for as_dir in $PATH 6549do 6550 IFS=$as_save_IFS 6551 test -z "$as_dir" && as_dir=. 6552 for ac_exec_ext in '' $ac_executable_extensions; do 6553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6554 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6556 break 2 6557 fi 6558done 6559 done 6560IFS=$as_save_IFS 6561 6562fi 6563fi 6564RANLIB=$ac_cv_prog_RANLIB 6565if test -n "$RANLIB"; then 6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6567$as_echo "$RANLIB" >&6; } 6568else 6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6570$as_echo "no" >&6; } 6571fi 6572 6573 6574fi 6575if test -z "$ac_cv_prog_RANLIB"; then 6576 ac_ct_RANLIB=$RANLIB 6577 # Extract the first word of "ranlib", so it can be a program name with args. 6578set dummy ranlib; ac_word=$2 6579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6580$as_echo_n "checking for $ac_word... " >&6; } 6581if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6582 $as_echo_n "(cached) " >&6 6583else 6584 if test -n "$ac_ct_RANLIB"; then 6585 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6586else 6587as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6588for as_dir in $PATH 6589do 6590 IFS=$as_save_IFS 6591 test -z "$as_dir" && as_dir=. 6592 for ac_exec_ext in '' $ac_executable_extensions; do 6593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6594 ac_cv_prog_ac_ct_RANLIB="ranlib" 6595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6596 break 2 6597 fi 6598done 6599 done 6600IFS=$as_save_IFS 6601 6602fi 6603fi 6604ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6605if test -n "$ac_ct_RANLIB"; then 6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6607$as_echo "$ac_ct_RANLIB" >&6; } 6608else 6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6610$as_echo "no" >&6; } 6611fi 6612 6613 if test "x$ac_ct_RANLIB" = x; then 6614 RANLIB=":" 6615 else 6616 case $cross_compiling:$ac_tool_warned in 6617yes:) 6618{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6619$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6620ac_tool_warned=yes ;; 6621esac 6622 RANLIB=$ac_ct_RANLIB 6623 fi 6624else 6625 RANLIB="$ac_cv_prog_RANLIB" 6626fi 6627 6628test -z "$RANLIB" && RANLIB=: 6629 6630 6631 6632 6633 6634 6635# Determine commands to create old-style static archives. 6636old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6637old_postinstall_cmds='chmod 644 $oldlib' 6638old_postuninstall_cmds= 6639 6640if test -n "$RANLIB"; then 6641 case $host_os in 6642 openbsd*) 6643 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6644 ;; 6645 *) 6646 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6647 ;; 6648 esac 6649 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6650fi 6651 6652case $host_os in 6653 darwin*) 6654 lock_old_archive_extraction=yes ;; 6655 *) 6656 lock_old_archive_extraction=no ;; 6657esac 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697# If no C compiler was specified, use CC. 6698LTCC=${LTCC-"$CC"} 6699 6700# If no C compiler flags were specified, use CFLAGS. 6701LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6702 6703# Allow CC to be a program name with arguments. 6704compiler=$CC 6705 6706 6707# Check for command to grab the raw symbol name followed by C symbol from nm. 6708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6709$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6710if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6711 $as_echo_n "(cached) " >&6 6712else 6713 6714# These are sane defaults that work on at least a few old systems. 6715# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6716 6717# Character class describing NM global symbol codes. 6718symcode='[BCDEGRST]' 6719 6720# Regexp to match symbols that can be accessed directly from C. 6721sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6722 6723# Define system-specific variables. 6724case $host_os in 6725aix*) 6726 symcode='[BCDT]' 6727 ;; 6728cygwin* | mingw* | pw32* | cegcc*) 6729 symcode='[ABCDGISTW]' 6730 ;; 6731hpux*) 6732 if test "$host_cpu" = ia64; then 6733 symcode='[ABCDEGRST]' 6734 fi 6735 ;; 6736irix* | nonstopux*) 6737 symcode='[BCDEGRST]' 6738 ;; 6739osf*) 6740 symcode='[BCDEGQRST]' 6741 ;; 6742solaris*) 6743 symcode='[BDRT]' 6744 ;; 6745sco3.2v5*) 6746 symcode='[DT]' 6747 ;; 6748sysv4.2uw2*) 6749 symcode='[DT]' 6750 ;; 6751sysv5* | sco5v6* | unixware* | OpenUNIX*) 6752 symcode='[ABDT]' 6753 ;; 6754sysv4) 6755 symcode='[DFNSTU]' 6756 ;; 6757esac 6758 6759# If we're using GNU nm, then use its standard symbol codes. 6760case `$NM -V 2>&1` in 6761*GNU* | *'with BFD'*) 6762 symcode='[ABCDGIRSTW]' ;; 6763esac 6764 6765# Transform an extracted symbol line into a proper C declaration. 6766# Some systems (esp. on ia64) link data and code symbols differently, 6767# so use this general approach. 6768lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6769 6770# Transform an extracted symbol line into symbol name and symbol address 6771lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6772lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 6773 6774# Handle CRLF in mingw tool chain 6775opt_cr= 6776case $build_os in 6777mingw*) 6778 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6779 ;; 6780esac 6781 6782# Try without a prefix underscore, then with it. 6783for ac_symprfx in "" "_"; do 6784 6785 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6786 symxfrm="\\1 $ac_symprfx\\2 \\2" 6787 6788 # Write the raw and C identifiers. 6789 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6790 # Fake it for dumpbin and say T for any non-static function 6791 # and D for any global variable. 6792 # Also find C++ and __fastcall symbols from MSVC++, 6793 # which start with @ or ?. 6794 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6795" {last_section=section; section=\$ 3};"\ 6796" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6797" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6798" \$ 0!~/External *\|/{next};"\ 6799" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6800" {if(hide[section]) next};"\ 6801" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6802" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6803" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6804" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6805" ' prfx=^$ac_symprfx" 6806 else 6807 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6808 fi 6809 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6810 6811 # Check to see that the pipe works correctly. 6812 pipe_works=no 6813 6814 rm -f conftest* 6815 cat > conftest.$ac_ext <<_LT_EOF 6816#ifdef __cplusplus 6817extern "C" { 6818#endif 6819char nm_test_var; 6820void nm_test_func(void); 6821void nm_test_func(void){} 6822#ifdef __cplusplus 6823} 6824#endif 6825int main(){nm_test_var='a';nm_test_func();return(0);} 6826_LT_EOF 6827 6828 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6829 (eval $ac_compile) 2>&5 6830 ac_status=$? 6831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6832 test $ac_status = 0; }; then 6833 # Now try to grab the symbols. 6834 nlist=conftest.nm 6835 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6836 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6837 ac_status=$? 6838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6839 test $ac_status = 0; } && test -s "$nlist"; then 6840 # Try sorting and uniquifying the output. 6841 if sort "$nlist" | uniq > "$nlist"T; then 6842 mv -f "$nlist"T "$nlist" 6843 else 6844 rm -f "$nlist"T 6845 fi 6846 6847 # Make sure that we snagged all the symbols we need. 6848 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6849 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6850 cat <<_LT_EOF > conftest.$ac_ext 6851/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6852#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6853/* DATA imports from DLLs on WIN32 con't be const, because runtime 6854 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6855# define LT_DLSYM_CONST 6856#elif defined(__osf__) 6857/* This system does not cope well with relocations in const data. */ 6858# define LT_DLSYM_CONST 6859#else 6860# define LT_DLSYM_CONST const 6861#endif 6862 6863#ifdef __cplusplus 6864extern "C" { 6865#endif 6866 6867_LT_EOF 6868 # Now generate the symbol file. 6869 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6870 6871 cat <<_LT_EOF >> conftest.$ac_ext 6872 6873/* The mapping between symbol names and symbols. */ 6874LT_DLSYM_CONST struct { 6875 const char *name; 6876 void *address; 6877} 6878lt__PROGRAM__LTX_preloaded_symbols[] = 6879{ 6880 { "@PROGRAM@", (void *) 0 }, 6881_LT_EOF 6882 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6883 cat <<\_LT_EOF >> conftest.$ac_ext 6884 {0, (void *) 0} 6885}; 6886 6887/* This works around a problem in FreeBSD linker */ 6888#ifdef FREEBSD_WORKAROUND 6889static const void *lt_preloaded_setup() { 6890 return lt__PROGRAM__LTX_preloaded_symbols; 6891} 6892#endif 6893 6894#ifdef __cplusplus 6895} 6896#endif 6897_LT_EOF 6898 # Now try linking the two files. 6899 mv conftest.$ac_objext conftstm.$ac_objext 6900 lt_globsym_save_LIBS=$LIBS 6901 lt_globsym_save_CFLAGS=$CFLAGS 6902 LIBS="conftstm.$ac_objext" 6903 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6904 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6905 (eval $ac_link) 2>&5 6906 ac_status=$? 6907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6908 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6909 pipe_works=yes 6910 fi 6911 LIBS=$lt_globsym_save_LIBS 6912 CFLAGS=$lt_globsym_save_CFLAGS 6913 else 6914 echo "cannot find nm_test_func in $nlist" >&5 6915 fi 6916 else 6917 echo "cannot find nm_test_var in $nlist" >&5 6918 fi 6919 else 6920 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6921 fi 6922 else 6923 echo "$progname: failed program was:" >&5 6924 cat conftest.$ac_ext >&5 6925 fi 6926 rm -rf conftest* conftst* 6927 6928 # Do not use the global_symbol_pipe unless it works. 6929 if test "$pipe_works" = yes; then 6930 break 6931 else 6932 lt_cv_sys_global_symbol_pipe= 6933 fi 6934done 6935 6936fi 6937 6938if test -z "$lt_cv_sys_global_symbol_pipe"; then 6939 lt_cv_sys_global_symbol_to_cdecl= 6940fi 6941if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6943$as_echo "failed" >&6; } 6944else 6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6946$as_echo "ok" >&6; } 6947fi 6948 6949# Response file support. 6950if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6951 nm_file_list_spec='@' 6952elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6953 nm_file_list_spec='@' 6954fi 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6983$as_echo_n "checking for sysroot... " >&6; } 6984 6985# Check whether --with-sysroot was given. 6986if test "${with_sysroot+set}" = set; then : 6987 withval=$with_sysroot; 6988else 6989 with_sysroot=no 6990fi 6991 6992 6993lt_sysroot= 6994case ${with_sysroot} in #( 6995 yes) 6996 if test "$GCC" = yes; then 6997 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6998 fi 6999 ;; #( 7000 /*) 7001 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7002 ;; #( 7003 no|'') 7004 ;; #( 7005 *) 7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 7007$as_echo "${with_sysroot}" >&6; } 7008 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7009 ;; 7010esac 7011 7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7013$as_echo "${lt_sysroot:-no}" >&6; } 7014 7015 7016 7017 7018 7019# Check whether --enable-libtool-lock was given. 7020if test "${enable_libtool_lock+set}" = set; then : 7021 enableval=$enable_libtool_lock; 7022fi 7023 7024test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7025 7026# Some flags need to be propagated to the compiler or linker for good 7027# libtool support. 7028case $host in 7029ia64-*-hpux*) 7030 # Find out which ABI we are using. 7031 echo 'int i;' > conftest.$ac_ext 7032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7033 (eval $ac_compile) 2>&5 7034 ac_status=$? 7035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7036 test $ac_status = 0; }; then 7037 case `/usr/bin/file conftest.$ac_objext` in 7038 *ELF-32*) 7039 HPUX_IA64_MODE="32" 7040 ;; 7041 *ELF-64*) 7042 HPUX_IA64_MODE="64" 7043 ;; 7044 esac 7045 fi 7046 rm -rf conftest* 7047 ;; 7048*-*-irix6*) 7049 # Find out which ABI we are using. 7050 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7051 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7052 (eval $ac_compile) 2>&5 7053 ac_status=$? 7054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7055 test $ac_status = 0; }; then 7056 if test "$lt_cv_prog_gnu_ld" = yes; then 7057 case `/usr/bin/file conftest.$ac_objext` in 7058 *32-bit*) 7059 LD="${LD-ld} -melf32bsmip" 7060 ;; 7061 *N32*) 7062 LD="${LD-ld} -melf32bmipn32" 7063 ;; 7064 *64-bit*) 7065 LD="${LD-ld} -melf64bmip" 7066 ;; 7067 esac 7068 else 7069 case `/usr/bin/file conftest.$ac_objext` in 7070 *32-bit*) 7071 LD="${LD-ld} -32" 7072 ;; 7073 *N32*) 7074 LD="${LD-ld} -n32" 7075 ;; 7076 *64-bit*) 7077 LD="${LD-ld} -64" 7078 ;; 7079 esac 7080 fi 7081 fi 7082 rm -rf conftest* 7083 ;; 7084 7085x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7086s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7087 # Find out which ABI we are using. 7088 echo 'int i;' > conftest.$ac_ext 7089 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7090 (eval $ac_compile) 2>&5 7091 ac_status=$? 7092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7093 test $ac_status = 0; }; then 7094 case `/usr/bin/file conftest.o` in 7095 *32-bit*) 7096 case $host in 7097 x86_64-*kfreebsd*-gnu) 7098 LD="${LD-ld} -m elf_i386_fbsd" 7099 ;; 7100 x86_64-*linux*) 7101 LD="${LD-ld} -m elf_i386" 7102 ;; 7103 powerpc64le-*linux*) 7104 LD="${LD-ld} -m elf32lppclinux" 7105 ;; 7106 powerpc64-*linux*) 7107 LD="${LD-ld} -m elf32ppclinux" 7108 ;; 7109 s390x-*linux*) 7110 LD="${LD-ld} -m elf_s390" 7111 ;; 7112 sparc64-*linux*) 7113 LD="${LD-ld} -m elf32_sparc" 7114 ;; 7115 esac 7116 ;; 7117 *64-bit*) 7118 case $host in 7119 x86_64-*kfreebsd*-gnu) 7120 LD="${LD-ld} -m elf_x86_64_fbsd" 7121 ;; 7122 x86_64-*linux*) 7123 LD="${LD-ld} -m elf_x86_64" 7124 ;; 7125 powerpcle-*linux*) 7126 LD="${LD-ld} -m elf64lppc" 7127 ;; 7128 powerpc-*linux*) 7129 LD="${LD-ld} -m elf64ppc" 7130 ;; 7131 s390*-*linux*|s390*-*tpf*) 7132 LD="${LD-ld} -m elf64_s390" 7133 ;; 7134 sparc*-*linux*) 7135 LD="${LD-ld} -m elf64_sparc" 7136 ;; 7137 esac 7138 ;; 7139 esac 7140 fi 7141 rm -rf conftest* 7142 ;; 7143 7144*-*-sco3.2v5*) 7145 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7146 SAVE_CFLAGS="$CFLAGS" 7147 CFLAGS="$CFLAGS -belf" 7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7149$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7150if ${lt_cv_cc_needs_belf+:} false; then : 7151 $as_echo_n "(cached) " >&6 7152else 7153 ac_ext=c 7154ac_cpp='$CPP $CPPFLAGS' 7155ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7156ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7157ac_compiler_gnu=$ac_cv_c_compiler_gnu 7158 7159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7160/* end confdefs.h. */ 7161 7162int 7163main () 7164{ 7165 7166 ; 7167 return 0; 7168} 7169_ACEOF 7170if ac_fn_c_try_link "$LINENO"; then : 7171 lt_cv_cc_needs_belf=yes 7172else 7173 lt_cv_cc_needs_belf=no 7174fi 7175rm -f core conftest.err conftest.$ac_objext \ 7176 conftest$ac_exeext conftest.$ac_ext 7177 ac_ext=c 7178ac_cpp='$CPP $CPPFLAGS' 7179ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7180ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7181ac_compiler_gnu=$ac_cv_c_compiler_gnu 7182 7183fi 7184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7185$as_echo "$lt_cv_cc_needs_belf" >&6; } 7186 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 7187 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7188 CFLAGS="$SAVE_CFLAGS" 7189 fi 7190 ;; 7191*-*solaris*) 7192 # Find out which ABI we are using. 7193 echo 'int i;' > conftest.$ac_ext 7194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7195 (eval $ac_compile) 2>&5 7196 ac_status=$? 7197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7198 test $ac_status = 0; }; then 7199 case `/usr/bin/file conftest.o` in 7200 *64-bit*) 7201 case $lt_cv_prog_gnu_ld in 7202 yes*) 7203 case $host in 7204 i?86-*-solaris*) 7205 LD="${LD-ld} -m elf_x86_64" 7206 ;; 7207 sparc*-*-solaris*) 7208 LD="${LD-ld} -m elf64_sparc" 7209 ;; 7210 esac 7211 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7212 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7213 LD="${LD-ld}_sol2" 7214 fi 7215 ;; 7216 *) 7217 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7218 LD="${LD-ld} -64" 7219 fi 7220 ;; 7221 esac 7222 ;; 7223 esac 7224 fi 7225 rm -rf conftest* 7226 ;; 7227esac 7228 7229need_locks="$enable_libtool_lock" 7230 7231if test -n "$ac_tool_prefix"; then 7232 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7233set dummy ${ac_tool_prefix}mt; ac_word=$2 7234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7235$as_echo_n "checking for $ac_word... " >&6; } 7236if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7237 $as_echo_n "(cached) " >&6 7238else 7239 if test -n "$MANIFEST_TOOL"; then 7240 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7241else 7242as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7243for as_dir in $PATH 7244do 7245 IFS=$as_save_IFS 7246 test -z "$as_dir" && as_dir=. 7247 for ac_exec_ext in '' $ac_executable_extensions; do 7248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7249 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7251 break 2 7252 fi 7253done 7254 done 7255IFS=$as_save_IFS 7256 7257fi 7258fi 7259MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7260if test -n "$MANIFEST_TOOL"; then 7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7262$as_echo "$MANIFEST_TOOL" >&6; } 7263else 7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7265$as_echo "no" >&6; } 7266fi 7267 7268 7269fi 7270if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7271 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7272 # Extract the first word of "mt", so it can be a program name with args. 7273set dummy mt; ac_word=$2 7274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7275$as_echo_n "checking for $ac_word... " >&6; } 7276if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7277 $as_echo_n "(cached) " >&6 7278else 7279 if test -n "$ac_ct_MANIFEST_TOOL"; then 7280 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7281else 7282as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7283for as_dir in $PATH 7284do 7285 IFS=$as_save_IFS 7286 test -z "$as_dir" && as_dir=. 7287 for ac_exec_ext in '' $ac_executable_extensions; do 7288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7289 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7291 break 2 7292 fi 7293done 7294 done 7295IFS=$as_save_IFS 7296 7297fi 7298fi 7299ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7300if test -n "$ac_ct_MANIFEST_TOOL"; then 7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7302$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7303else 7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7305$as_echo "no" >&6; } 7306fi 7307 7308 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7309 MANIFEST_TOOL=":" 7310 else 7311 case $cross_compiling:$ac_tool_warned in 7312yes:) 7313{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7314$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7315ac_tool_warned=yes ;; 7316esac 7317 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7318 fi 7319else 7320 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7321fi 7322 7323test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7325$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7326if ${lt_cv_path_mainfest_tool+:} false; then : 7327 $as_echo_n "(cached) " >&6 7328else 7329 lt_cv_path_mainfest_tool=no 7330 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7331 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7332 cat conftest.err >&5 7333 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7334 lt_cv_path_mainfest_tool=yes 7335 fi 7336 rm -f conftest* 7337fi 7338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7339$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7340if test "x$lt_cv_path_mainfest_tool" != xyes; then 7341 MANIFEST_TOOL=: 7342fi 7343 7344 7345 7346 7347 7348 7349 case $host_os in 7350 rhapsody* | darwin*) 7351 if test -n "$ac_tool_prefix"; then 7352 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7353set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7355$as_echo_n "checking for $ac_word... " >&6; } 7356if ${ac_cv_prog_DSYMUTIL+:} false; then : 7357 $as_echo_n "(cached) " >&6 7358else 7359 if test -n "$DSYMUTIL"; then 7360 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7361else 7362as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7363for as_dir in $PATH 7364do 7365 IFS=$as_save_IFS 7366 test -z "$as_dir" && as_dir=. 7367 for ac_exec_ext in '' $ac_executable_extensions; do 7368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7369 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7371 break 2 7372 fi 7373done 7374 done 7375IFS=$as_save_IFS 7376 7377fi 7378fi 7379DSYMUTIL=$ac_cv_prog_DSYMUTIL 7380if test -n "$DSYMUTIL"; then 7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7382$as_echo "$DSYMUTIL" >&6; } 7383else 7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7385$as_echo "no" >&6; } 7386fi 7387 7388 7389fi 7390if test -z "$ac_cv_prog_DSYMUTIL"; then 7391 ac_ct_DSYMUTIL=$DSYMUTIL 7392 # Extract the first word of "dsymutil", so it can be a program name with args. 7393set dummy dsymutil; ac_word=$2 7394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7395$as_echo_n "checking for $ac_word... " >&6; } 7396if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7397 $as_echo_n "(cached) " >&6 7398else 7399 if test -n "$ac_ct_DSYMUTIL"; then 7400 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7401else 7402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7403for as_dir in $PATH 7404do 7405 IFS=$as_save_IFS 7406 test -z "$as_dir" && as_dir=. 7407 for ac_exec_ext in '' $ac_executable_extensions; do 7408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7409 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7411 break 2 7412 fi 7413done 7414 done 7415IFS=$as_save_IFS 7416 7417fi 7418fi 7419ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7420if test -n "$ac_ct_DSYMUTIL"; then 7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7422$as_echo "$ac_ct_DSYMUTIL" >&6; } 7423else 7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7425$as_echo "no" >&6; } 7426fi 7427 7428 if test "x$ac_ct_DSYMUTIL" = x; then 7429 DSYMUTIL=":" 7430 else 7431 case $cross_compiling:$ac_tool_warned in 7432yes:) 7433{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7434$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7435ac_tool_warned=yes ;; 7436esac 7437 DSYMUTIL=$ac_ct_DSYMUTIL 7438 fi 7439else 7440 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7441fi 7442 7443 if test -n "$ac_tool_prefix"; then 7444 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7445set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7447$as_echo_n "checking for $ac_word... " >&6; } 7448if ${ac_cv_prog_NMEDIT+:} false; then : 7449 $as_echo_n "(cached) " >&6 7450else 7451 if test -n "$NMEDIT"; then 7452 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7453else 7454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7455for as_dir in $PATH 7456do 7457 IFS=$as_save_IFS 7458 test -z "$as_dir" && as_dir=. 7459 for ac_exec_ext in '' $ac_executable_extensions; do 7460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7461 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7463 break 2 7464 fi 7465done 7466 done 7467IFS=$as_save_IFS 7468 7469fi 7470fi 7471NMEDIT=$ac_cv_prog_NMEDIT 7472if test -n "$NMEDIT"; then 7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7474$as_echo "$NMEDIT" >&6; } 7475else 7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7477$as_echo "no" >&6; } 7478fi 7479 7480 7481fi 7482if test -z "$ac_cv_prog_NMEDIT"; then 7483 ac_ct_NMEDIT=$NMEDIT 7484 # Extract the first word of "nmedit", so it can be a program name with args. 7485set dummy nmedit; ac_word=$2 7486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7487$as_echo_n "checking for $ac_word... " >&6; } 7488if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7489 $as_echo_n "(cached) " >&6 7490else 7491 if test -n "$ac_ct_NMEDIT"; then 7492 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7493else 7494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7495for as_dir in $PATH 7496do 7497 IFS=$as_save_IFS 7498 test -z "$as_dir" && as_dir=. 7499 for ac_exec_ext in '' $ac_executable_extensions; do 7500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7501 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7503 break 2 7504 fi 7505done 7506 done 7507IFS=$as_save_IFS 7508 7509fi 7510fi 7511ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7512if test -n "$ac_ct_NMEDIT"; then 7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7514$as_echo "$ac_ct_NMEDIT" >&6; } 7515else 7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7517$as_echo "no" >&6; } 7518fi 7519 7520 if test "x$ac_ct_NMEDIT" = x; then 7521 NMEDIT=":" 7522 else 7523 case $cross_compiling:$ac_tool_warned in 7524yes:) 7525{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7526$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7527ac_tool_warned=yes ;; 7528esac 7529 NMEDIT=$ac_ct_NMEDIT 7530 fi 7531else 7532 NMEDIT="$ac_cv_prog_NMEDIT" 7533fi 7534 7535 if test -n "$ac_tool_prefix"; then 7536 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7537set dummy ${ac_tool_prefix}lipo; ac_word=$2 7538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7539$as_echo_n "checking for $ac_word... " >&6; } 7540if ${ac_cv_prog_LIPO+:} false; then : 7541 $as_echo_n "(cached) " >&6 7542else 7543 if test -n "$LIPO"; then 7544 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7545else 7546as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7547for as_dir in $PATH 7548do 7549 IFS=$as_save_IFS 7550 test -z "$as_dir" && as_dir=. 7551 for ac_exec_ext in '' $ac_executable_extensions; do 7552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7553 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7555 break 2 7556 fi 7557done 7558 done 7559IFS=$as_save_IFS 7560 7561fi 7562fi 7563LIPO=$ac_cv_prog_LIPO 7564if test -n "$LIPO"; then 7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7566$as_echo "$LIPO" >&6; } 7567else 7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7569$as_echo "no" >&6; } 7570fi 7571 7572 7573fi 7574if test -z "$ac_cv_prog_LIPO"; then 7575 ac_ct_LIPO=$LIPO 7576 # Extract the first word of "lipo", so it can be a program name with args. 7577set dummy lipo; ac_word=$2 7578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7579$as_echo_n "checking for $ac_word... " >&6; } 7580if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7581 $as_echo_n "(cached) " >&6 7582else 7583 if test -n "$ac_ct_LIPO"; then 7584 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7585else 7586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7587for as_dir in $PATH 7588do 7589 IFS=$as_save_IFS 7590 test -z "$as_dir" && as_dir=. 7591 for ac_exec_ext in '' $ac_executable_extensions; do 7592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7593 ac_cv_prog_ac_ct_LIPO="lipo" 7594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7595 break 2 7596 fi 7597done 7598 done 7599IFS=$as_save_IFS 7600 7601fi 7602fi 7603ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7604if test -n "$ac_ct_LIPO"; then 7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7606$as_echo "$ac_ct_LIPO" >&6; } 7607else 7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7609$as_echo "no" >&6; } 7610fi 7611 7612 if test "x$ac_ct_LIPO" = x; then 7613 LIPO=":" 7614 else 7615 case $cross_compiling:$ac_tool_warned in 7616yes:) 7617{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7618$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7619ac_tool_warned=yes ;; 7620esac 7621 LIPO=$ac_ct_LIPO 7622 fi 7623else 7624 LIPO="$ac_cv_prog_LIPO" 7625fi 7626 7627 if test -n "$ac_tool_prefix"; then 7628 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7629set dummy ${ac_tool_prefix}otool; ac_word=$2 7630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7631$as_echo_n "checking for $ac_word... " >&6; } 7632if ${ac_cv_prog_OTOOL+:} false; then : 7633 $as_echo_n "(cached) " >&6 7634else 7635 if test -n "$OTOOL"; then 7636 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7637else 7638as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7639for as_dir in $PATH 7640do 7641 IFS=$as_save_IFS 7642 test -z "$as_dir" && as_dir=. 7643 for ac_exec_ext in '' $ac_executable_extensions; do 7644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7645 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7647 break 2 7648 fi 7649done 7650 done 7651IFS=$as_save_IFS 7652 7653fi 7654fi 7655OTOOL=$ac_cv_prog_OTOOL 7656if test -n "$OTOOL"; then 7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7658$as_echo "$OTOOL" >&6; } 7659else 7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7661$as_echo "no" >&6; } 7662fi 7663 7664 7665fi 7666if test -z "$ac_cv_prog_OTOOL"; then 7667 ac_ct_OTOOL=$OTOOL 7668 # Extract the first word of "otool", so it can be a program name with args. 7669set dummy otool; ac_word=$2 7670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7671$as_echo_n "checking for $ac_word... " >&6; } 7672if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7673 $as_echo_n "(cached) " >&6 7674else 7675 if test -n "$ac_ct_OTOOL"; then 7676 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7677else 7678as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7679for as_dir in $PATH 7680do 7681 IFS=$as_save_IFS 7682 test -z "$as_dir" && as_dir=. 7683 for ac_exec_ext in '' $ac_executable_extensions; do 7684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7685 ac_cv_prog_ac_ct_OTOOL="otool" 7686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7687 break 2 7688 fi 7689done 7690 done 7691IFS=$as_save_IFS 7692 7693fi 7694fi 7695ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7696if test -n "$ac_ct_OTOOL"; then 7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7698$as_echo "$ac_ct_OTOOL" >&6; } 7699else 7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7701$as_echo "no" >&6; } 7702fi 7703 7704 if test "x$ac_ct_OTOOL" = x; then 7705 OTOOL=":" 7706 else 7707 case $cross_compiling:$ac_tool_warned in 7708yes:) 7709{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7710$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7711ac_tool_warned=yes ;; 7712esac 7713 OTOOL=$ac_ct_OTOOL 7714 fi 7715else 7716 OTOOL="$ac_cv_prog_OTOOL" 7717fi 7718 7719 if test -n "$ac_tool_prefix"; then 7720 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7721set dummy ${ac_tool_prefix}otool64; ac_word=$2 7722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7723$as_echo_n "checking for $ac_word... " >&6; } 7724if ${ac_cv_prog_OTOOL64+:} false; then : 7725 $as_echo_n "(cached) " >&6 7726else 7727 if test -n "$OTOOL64"; then 7728 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7729else 7730as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7731for as_dir in $PATH 7732do 7733 IFS=$as_save_IFS 7734 test -z "$as_dir" && as_dir=. 7735 for ac_exec_ext in '' $ac_executable_extensions; do 7736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7737 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7739 break 2 7740 fi 7741done 7742 done 7743IFS=$as_save_IFS 7744 7745fi 7746fi 7747OTOOL64=$ac_cv_prog_OTOOL64 7748if test -n "$OTOOL64"; then 7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7750$as_echo "$OTOOL64" >&6; } 7751else 7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7753$as_echo "no" >&6; } 7754fi 7755 7756 7757fi 7758if test -z "$ac_cv_prog_OTOOL64"; then 7759 ac_ct_OTOOL64=$OTOOL64 7760 # Extract the first word of "otool64", so it can be a program name with args. 7761set dummy otool64; ac_word=$2 7762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7763$as_echo_n "checking for $ac_word... " >&6; } 7764if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7765 $as_echo_n "(cached) " >&6 7766else 7767 if test -n "$ac_ct_OTOOL64"; then 7768 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7769else 7770as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7771for as_dir in $PATH 7772do 7773 IFS=$as_save_IFS 7774 test -z "$as_dir" && as_dir=. 7775 for ac_exec_ext in '' $ac_executable_extensions; do 7776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7777 ac_cv_prog_ac_ct_OTOOL64="otool64" 7778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7779 break 2 7780 fi 7781done 7782 done 7783IFS=$as_save_IFS 7784 7785fi 7786fi 7787ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7788if test -n "$ac_ct_OTOOL64"; then 7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7790$as_echo "$ac_ct_OTOOL64" >&6; } 7791else 7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7793$as_echo "no" >&6; } 7794fi 7795 7796 if test "x$ac_ct_OTOOL64" = x; then 7797 OTOOL64=":" 7798 else 7799 case $cross_compiling:$ac_tool_warned in 7800yes:) 7801{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7802$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7803ac_tool_warned=yes ;; 7804esac 7805 OTOOL64=$ac_ct_OTOOL64 7806 fi 7807else 7808 OTOOL64="$ac_cv_prog_OTOOL64" 7809fi 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7838$as_echo_n "checking for -single_module linker flag... " >&6; } 7839if ${lt_cv_apple_cc_single_mod+:} false; then : 7840 $as_echo_n "(cached) " >&6 7841else 7842 lt_cv_apple_cc_single_mod=no 7843 if test -z "${LT_MULTI_MODULE}"; then 7844 # By default we will add the -single_module flag. You can override 7845 # by either setting the environment variable LT_MULTI_MODULE 7846 # non-empty at configure time, or by adding -multi_module to the 7847 # link flags. 7848 rm -rf libconftest.dylib* 7849 echo "int foo(void){return 1;}" > conftest.c 7850 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7851-dynamiclib -Wl,-single_module conftest.c" >&5 7852 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7853 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7854 _lt_result=$? 7855 # If there is a non-empty error log, and "single_module" 7856 # appears in it, assume the flag caused a linker warning 7857 if test -s conftest.err && $GREP single_module conftest.err; then 7858 cat conftest.err >&5 7859 # Otherwise, if the output was created with a 0 exit code from 7860 # the compiler, it worked. 7861 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7862 lt_cv_apple_cc_single_mod=yes 7863 else 7864 cat conftest.err >&5 7865 fi 7866 rm -rf libconftest.dylib* 7867 rm -f conftest.* 7868 fi 7869fi 7870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7871$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7872 7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7874$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7875if ${lt_cv_ld_exported_symbols_list+:} false; then : 7876 $as_echo_n "(cached) " >&6 7877else 7878 lt_cv_ld_exported_symbols_list=no 7879 save_LDFLAGS=$LDFLAGS 7880 echo "_main" > conftest.sym 7881 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7883/* end confdefs.h. */ 7884 7885int 7886main () 7887{ 7888 7889 ; 7890 return 0; 7891} 7892_ACEOF 7893if ac_fn_c_try_link "$LINENO"; then : 7894 lt_cv_ld_exported_symbols_list=yes 7895else 7896 lt_cv_ld_exported_symbols_list=no 7897fi 7898rm -f core conftest.err conftest.$ac_objext \ 7899 conftest$ac_exeext conftest.$ac_ext 7900 LDFLAGS="$save_LDFLAGS" 7901 7902fi 7903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7904$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7905 7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7907$as_echo_n "checking for -force_load linker flag... " >&6; } 7908if ${lt_cv_ld_force_load+:} false; then : 7909 $as_echo_n "(cached) " >&6 7910else 7911 lt_cv_ld_force_load=no 7912 cat > conftest.c << _LT_EOF 7913int forced_loaded() { return 2;} 7914_LT_EOF 7915 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7916 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7917 echo "$AR cru libconftest.a conftest.o" >&5 7918 $AR cru libconftest.a conftest.o 2>&5 7919 echo "$RANLIB libconftest.a" >&5 7920 $RANLIB libconftest.a 2>&5 7921 cat > conftest.c << _LT_EOF 7922int main() { return 0;} 7923_LT_EOF 7924 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7925 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7926 _lt_result=$? 7927 if test -s conftest.err && $GREP force_load conftest.err; then 7928 cat conftest.err >&5 7929 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7930 lt_cv_ld_force_load=yes 7931 else 7932 cat conftest.err >&5 7933 fi 7934 rm -f conftest.err libconftest.a conftest conftest.c 7935 rm -rf conftest.dSYM 7936 7937fi 7938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7939$as_echo "$lt_cv_ld_force_load" >&6; } 7940 case $host_os in 7941 rhapsody* | darwin1.[012]) 7942 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7943 darwin1.*) 7944 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7945 darwin*) # darwin 5.x on 7946 # if running on 10.5 or later, the deployment target defaults 7947 # to the OS version, if on x86, and 10.4, the deployment 7948 # target defaults to 10.4. Don't you love it? 7949 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7950 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7951 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7952 10.[012]*) 7953 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7954 10.*) 7955 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7956 esac 7957 ;; 7958 esac 7959 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7960 _lt_dar_single_mod='$single_module' 7961 fi 7962 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7963 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7964 else 7965 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7966 fi 7967 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7968 _lt_dsymutil='~$DSYMUTIL $lib || :' 7969 else 7970 _lt_dsymutil= 7971 fi 7972 ;; 7973 esac 7974 7975# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7976for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7977 inttypes.h stdint.h unistd.h 7978do : 7979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7980ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7981" 7982if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7983 cat >>confdefs.h <<_ACEOF 7984#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7985_ACEOF 7986 7987fi 7988 7989done 7990 7991 7992for ac_header in dlfcn.h 7993do : 7994 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7995" 7996if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7997 cat >>confdefs.h <<_ACEOF 7998#define HAVE_DLFCN_H 1 7999_ACEOF 8000 8001fi 8002 8003done 8004 8005 8006 8007 8008 8009# Set options 8010 8011 8012 8013 enable_dlopen=no 8014 8015 8016 enable_win32_dll=no 8017 8018 8019 # Check whether --enable-shared was given. 8020if test "${enable_shared+set}" = set; then : 8021 enableval=$enable_shared; p=${PACKAGE-default} 8022 case $enableval in 8023 yes) enable_shared=yes ;; 8024 no) enable_shared=no ;; 8025 *) 8026 enable_shared=no 8027 # Look at the argument we got. We use all the common list separators. 8028 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8029 for pkg in $enableval; do 8030 IFS="$lt_save_ifs" 8031 if test "X$pkg" = "X$p"; then 8032 enable_shared=yes 8033 fi 8034 done 8035 IFS="$lt_save_ifs" 8036 ;; 8037 esac 8038else 8039 enable_shared=yes 8040fi 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052# Check whether --with-pic was given. 8053if test "${with_pic+set}" = set; then : 8054 withval=$with_pic; lt_p=${PACKAGE-default} 8055 case $withval in 8056 yes|no) pic_mode=$withval ;; 8057 *) 8058 pic_mode=default 8059 # Look at the argument we got. We use all the common list separators. 8060 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8061 for lt_pkg in $withval; do 8062 IFS="$lt_save_ifs" 8063 if test "X$lt_pkg" = "X$lt_p"; then 8064 pic_mode=yes 8065 fi 8066 done 8067 IFS="$lt_save_ifs" 8068 ;; 8069 esac 8070else 8071 pic_mode=default 8072fi 8073 8074 8075test -z "$pic_mode" && pic_mode=default 8076 8077 8078 8079 8080 8081 8082 8083 # Check whether --enable-fast-install was given. 8084if test "${enable_fast_install+set}" = set; then : 8085 enableval=$enable_fast_install; p=${PACKAGE-default} 8086 case $enableval in 8087 yes) enable_fast_install=yes ;; 8088 no) enable_fast_install=no ;; 8089 *) 8090 enable_fast_install=no 8091 # Look at the argument we got. We use all the common list separators. 8092 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8093 for pkg in $enableval; do 8094 IFS="$lt_save_ifs" 8095 if test "X$pkg" = "X$p"; then 8096 enable_fast_install=yes 8097 fi 8098 done 8099 IFS="$lt_save_ifs" 8100 ;; 8101 esac 8102else 8103 enable_fast_install=yes 8104fi 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116# This can be used to rebuild libtool when needed 8117LIBTOOL_DEPS="$ltmain" 8118 8119# Always use our own libtool. 8120LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151test -z "$LN_S" && LN_S="ln -s" 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166if test -n "${ZSH_VERSION+set}" ; then 8167 setopt NO_GLOB_SUBST 8168fi 8169 8170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8171$as_echo_n "checking for objdir... " >&6; } 8172if ${lt_cv_objdir+:} false; then : 8173 $as_echo_n "(cached) " >&6 8174else 8175 rm -f .libs 2>/dev/null 8176mkdir .libs 2>/dev/null 8177if test -d .libs; then 8178 lt_cv_objdir=.libs 8179else 8180 # MS-DOS does not allow filenames that begin with a dot. 8181 lt_cv_objdir=_libs 8182fi 8183rmdir .libs 2>/dev/null 8184fi 8185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8186$as_echo "$lt_cv_objdir" >&6; } 8187objdir=$lt_cv_objdir 8188 8189 8190 8191 8192 8193cat >>confdefs.h <<_ACEOF 8194#define LT_OBJDIR "$lt_cv_objdir/" 8195_ACEOF 8196 8197 8198 8199 8200case $host_os in 8201aix3*) 8202 # AIX sometimes has problems with the GCC collect2 program. For some 8203 # reason, if we set the COLLECT_NAMES environment variable, the problems 8204 # vanish in a puff of smoke. 8205 if test "X${COLLECT_NAMES+set}" != Xset; then 8206 COLLECT_NAMES= 8207 export COLLECT_NAMES 8208 fi 8209 ;; 8210esac 8211 8212# Global variables: 8213ofile=libtool 8214can_build_shared=yes 8215 8216# All known linkers require a `.a' archive for static linking (except MSVC, 8217# which needs '.lib'). 8218libext=a 8219 8220with_gnu_ld="$lt_cv_prog_gnu_ld" 8221 8222old_CC="$CC" 8223old_CFLAGS="$CFLAGS" 8224 8225# Set sane defaults for various variables 8226test -z "$CC" && CC=cc 8227test -z "$LTCC" && LTCC=$CC 8228test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8229test -z "$LD" && LD=ld 8230test -z "$ac_objext" && ac_objext=o 8231 8232for cc_temp in $compiler""; do 8233 case $cc_temp in 8234 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8235 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8236 \-*) ;; 8237 *) break;; 8238 esac 8239done 8240cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8241 8242 8243# Only perform the check for file, if the check method requires it 8244test -z "$MAGIC_CMD" && MAGIC_CMD=file 8245case $deplibs_check_method in 8246file_magic*) 8247 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8249$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8250if ${lt_cv_path_MAGIC_CMD+:} false; then : 8251 $as_echo_n "(cached) " >&6 8252else 8253 case $MAGIC_CMD in 8254[\\/*] | ?:[\\/]*) 8255 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8256 ;; 8257*) 8258 lt_save_MAGIC_CMD="$MAGIC_CMD" 8259 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8260 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8261 for ac_dir in $ac_dummy; do 8262 IFS="$lt_save_ifs" 8263 test -z "$ac_dir" && ac_dir=. 8264 if test -f $ac_dir/${ac_tool_prefix}file; then 8265 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8266 if test -n "$file_magic_test_file"; then 8267 case $deplibs_check_method in 8268 "file_magic "*) 8269 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8270 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8271 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8272 $EGREP "$file_magic_regex" > /dev/null; then 8273 : 8274 else 8275 cat <<_LT_EOF 1>&2 8276 8277*** Warning: the command libtool uses to detect shared libraries, 8278*** $file_magic_cmd, produces output that libtool cannot recognize. 8279*** The result is that libtool may fail to recognize shared libraries 8280*** as such. This will affect the creation of libtool libraries that 8281*** depend on shared libraries, but programs linked with such libtool 8282*** libraries will work regardless of this problem. Nevertheless, you 8283*** may want to report the problem to your system manager and/or to 8284*** bug-libtool@gnu.org 8285 8286_LT_EOF 8287 fi ;; 8288 esac 8289 fi 8290 break 8291 fi 8292 done 8293 IFS="$lt_save_ifs" 8294 MAGIC_CMD="$lt_save_MAGIC_CMD" 8295 ;; 8296esac 8297fi 8298 8299MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8300if test -n "$MAGIC_CMD"; then 8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8302$as_echo "$MAGIC_CMD" >&6; } 8303else 8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8305$as_echo "no" >&6; } 8306fi 8307 8308 8309 8310 8311 8312if test -z "$lt_cv_path_MAGIC_CMD"; then 8313 if test -n "$ac_tool_prefix"; then 8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8315$as_echo_n "checking for file... " >&6; } 8316if ${lt_cv_path_MAGIC_CMD+:} false; then : 8317 $as_echo_n "(cached) " >&6 8318else 8319 case $MAGIC_CMD in 8320[\\/*] | ?:[\\/]*) 8321 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8322 ;; 8323*) 8324 lt_save_MAGIC_CMD="$MAGIC_CMD" 8325 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8326 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8327 for ac_dir in $ac_dummy; do 8328 IFS="$lt_save_ifs" 8329 test -z "$ac_dir" && ac_dir=. 8330 if test -f $ac_dir/file; then 8331 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8332 if test -n "$file_magic_test_file"; then 8333 case $deplibs_check_method in 8334 "file_magic "*) 8335 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8336 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8337 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8338 $EGREP "$file_magic_regex" > /dev/null; then 8339 : 8340 else 8341 cat <<_LT_EOF 1>&2 8342 8343*** Warning: the command libtool uses to detect shared libraries, 8344*** $file_magic_cmd, produces output that libtool cannot recognize. 8345*** The result is that libtool may fail to recognize shared libraries 8346*** as such. This will affect the creation of libtool libraries that 8347*** depend on shared libraries, but programs linked with such libtool 8348*** libraries will work regardless of this problem. Nevertheless, you 8349*** may want to report the problem to your system manager and/or to 8350*** bug-libtool@gnu.org 8351 8352_LT_EOF 8353 fi ;; 8354 esac 8355 fi 8356 break 8357 fi 8358 done 8359 IFS="$lt_save_ifs" 8360 MAGIC_CMD="$lt_save_MAGIC_CMD" 8361 ;; 8362esac 8363fi 8364 8365MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8366if test -n "$MAGIC_CMD"; then 8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8368$as_echo "$MAGIC_CMD" >&6; } 8369else 8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8371$as_echo "no" >&6; } 8372fi 8373 8374 8375 else 8376 MAGIC_CMD=: 8377 fi 8378fi 8379 8380 fi 8381 ;; 8382esac 8383 8384# Use C for the default configuration in the libtool script 8385 8386lt_save_CC="$CC" 8387ac_ext=c 8388ac_cpp='$CPP $CPPFLAGS' 8389ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8390ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8391ac_compiler_gnu=$ac_cv_c_compiler_gnu 8392 8393 8394# Source file extension for C test sources. 8395ac_ext=c 8396 8397# Object file extension for compiled C test sources. 8398objext=o 8399objext=$objext 8400 8401# Code to be used in simple compile tests 8402lt_simple_compile_test_code="int some_variable = 0;" 8403 8404# Code to be used in simple link tests 8405lt_simple_link_test_code='int main(){return(0);}' 8406 8407 8408 8409 8410 8411 8412 8413# If no C compiler was specified, use CC. 8414LTCC=${LTCC-"$CC"} 8415 8416# If no C compiler flags were specified, use CFLAGS. 8417LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8418 8419# Allow CC to be a program name with arguments. 8420compiler=$CC 8421 8422# Save the default compiler, since it gets overwritten when the other 8423# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8424compiler_DEFAULT=$CC 8425 8426# save warnings/boilerplate of simple test code 8427ac_outfile=conftest.$ac_objext 8428echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8429eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8430_lt_compiler_boilerplate=`cat conftest.err` 8431$RM conftest* 8432 8433ac_outfile=conftest.$ac_objext 8434echo "$lt_simple_link_test_code" >conftest.$ac_ext 8435eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8436_lt_linker_boilerplate=`cat conftest.err` 8437$RM -r conftest* 8438 8439 8440## CAVEAT EMPTOR: 8441## There is no encapsulation within the following macros, do not change 8442## the running order or otherwise move them around unless you know exactly 8443## what you are doing... 8444if test -n "$compiler"; then 8445 8446lt_prog_compiler_no_builtin_flag= 8447 8448if test "$GCC" = yes; then 8449 case $cc_basename in 8450 nvcc*) 8451 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8452 *) 8453 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8454 esac 8455 8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8457$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8458if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8459 $as_echo_n "(cached) " >&6 8460else 8461 lt_cv_prog_compiler_rtti_exceptions=no 8462 ac_outfile=conftest.$ac_objext 8463 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8464 lt_compiler_flag="-fno-rtti -fno-exceptions" 8465 # Insert the option either (1) after the last *FLAGS variable, or 8466 # (2) before a word containing "conftest.", or (3) at the end. 8467 # Note that $ac_compile itself does not contain backslashes and begins 8468 # with a dollar sign (not a hyphen), so the echo should work correctly. 8469 # The option is referenced via a variable to avoid confusing sed. 8470 lt_compile=`echo "$ac_compile" | $SED \ 8471 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8472 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8473 -e 's:$: $lt_compiler_flag:'` 8474 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8475 (eval "$lt_compile" 2>conftest.err) 8476 ac_status=$? 8477 cat conftest.err >&5 8478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8479 if (exit $ac_status) && test -s "$ac_outfile"; then 8480 # The compiler can only warn and ignore the option if not recognized 8481 # So say no if there are warnings other than the usual output. 8482 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8483 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8484 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8485 lt_cv_prog_compiler_rtti_exceptions=yes 8486 fi 8487 fi 8488 $RM conftest* 8489 8490fi 8491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8492$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8493 8494if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8495 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8496else 8497 : 8498fi 8499 8500fi 8501 8502 8503 8504 8505 8506 8507 lt_prog_compiler_wl= 8508lt_prog_compiler_pic= 8509lt_prog_compiler_static= 8510 8511 8512 if test "$GCC" = yes; then 8513 lt_prog_compiler_wl='-Wl,' 8514 lt_prog_compiler_static='-static' 8515 8516 case $host_os in 8517 aix*) 8518 # All AIX code is PIC. 8519 if test "$host_cpu" = ia64; then 8520 # AIX 5 now supports IA64 processor 8521 lt_prog_compiler_static='-Bstatic' 8522 fi 8523 ;; 8524 8525 amigaos*) 8526 case $host_cpu in 8527 powerpc) 8528 # see comment about AmigaOS4 .so support 8529 lt_prog_compiler_pic='-fPIC' 8530 ;; 8531 m68k) 8532 # FIXME: we need at least 68020 code to build shared libraries, but 8533 # adding the `-m68020' flag to GCC prevents building anything better, 8534 # like `-m68040'. 8535 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8536 ;; 8537 esac 8538 ;; 8539 8540 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8541 # PIC is the default for these OSes. 8542 ;; 8543 8544 mingw* | cygwin* | pw32* | os2* | cegcc*) 8545 # This hack is so that the source file can tell whether it is being 8546 # built for inclusion in a dll (and should export symbols for example). 8547 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8548 # (--disable-auto-import) libraries 8549 lt_prog_compiler_pic='-DDLL_EXPORT' 8550 ;; 8551 8552 darwin* | rhapsody*) 8553 # PIC is the default on this platform 8554 # Common symbols not allowed in MH_DYLIB files 8555 lt_prog_compiler_pic='-fno-common' 8556 ;; 8557 8558 haiku*) 8559 # PIC is the default for Haiku. 8560 # The "-static" flag exists, but is broken. 8561 lt_prog_compiler_static= 8562 ;; 8563 8564 hpux*) 8565 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8566 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8567 # sets the default TLS model and affects inlining. 8568 case $host_cpu in 8569 hppa*64*) 8570 # +Z the default 8571 ;; 8572 *) 8573 lt_prog_compiler_pic='-fPIC' 8574 ;; 8575 esac 8576 ;; 8577 8578 interix[3-9]*) 8579 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8580 # Instead, we relocate shared libraries at runtime. 8581 ;; 8582 8583 msdosdjgpp*) 8584 # Just because we use GCC doesn't mean we suddenly get shared libraries 8585 # on systems that don't support them. 8586 lt_prog_compiler_can_build_shared=no 8587 enable_shared=no 8588 ;; 8589 8590 *nto* | *qnx*) 8591 # QNX uses GNU C++, but need to define -shared option too, otherwise 8592 # it will coredump. 8593 lt_prog_compiler_pic='-fPIC -shared' 8594 ;; 8595 8596 sysv4*MP*) 8597 if test -d /usr/nec; then 8598 lt_prog_compiler_pic=-Kconform_pic 8599 fi 8600 ;; 8601 8602 *) 8603 lt_prog_compiler_pic='-fPIC' 8604 ;; 8605 esac 8606 8607 case $cc_basename in 8608 nvcc*) # Cuda Compiler Driver 2.2 8609 lt_prog_compiler_wl='-Xlinker ' 8610 if test -n "$lt_prog_compiler_pic"; then 8611 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8612 fi 8613 ;; 8614 esac 8615 else 8616 # PORTME Check for flag to pass linker flags through the system compiler. 8617 case $host_os in 8618 aix*) 8619 lt_prog_compiler_wl='-Wl,' 8620 if test "$host_cpu" = ia64; then 8621 # AIX 5 now supports IA64 processor 8622 lt_prog_compiler_static='-Bstatic' 8623 else 8624 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8625 fi 8626 ;; 8627 8628 mingw* | cygwin* | pw32* | os2* | cegcc*) 8629 # This hack is so that the source file can tell whether it is being 8630 # built for inclusion in a dll (and should export symbols for example). 8631 lt_prog_compiler_pic='-DDLL_EXPORT' 8632 ;; 8633 8634 hpux9* | hpux10* | hpux11*) 8635 lt_prog_compiler_wl='-Wl,' 8636 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8637 # not for PA HP-UX. 8638 case $host_cpu in 8639 hppa*64*|ia64*) 8640 # +Z the default 8641 ;; 8642 *) 8643 lt_prog_compiler_pic='+Z' 8644 ;; 8645 esac 8646 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8647 lt_prog_compiler_static='${wl}-a ${wl}archive' 8648 ;; 8649 8650 irix5* | irix6* | nonstopux*) 8651 lt_prog_compiler_wl='-Wl,' 8652 # PIC (with -KPIC) is the default. 8653 lt_prog_compiler_static='-non_shared' 8654 ;; 8655 8656 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8657 case $cc_basename in 8658 # old Intel for x86_64 which still supported -KPIC. 8659 ecc*) 8660 lt_prog_compiler_wl='-Wl,' 8661 lt_prog_compiler_pic='-KPIC' 8662 lt_prog_compiler_static='-static' 8663 ;; 8664 # icc used to be incompatible with GCC. 8665 # ICC 10 doesn't accept -KPIC any more. 8666 icc* | ifort*) 8667 lt_prog_compiler_wl='-Wl,' 8668 lt_prog_compiler_pic='-fPIC' 8669 lt_prog_compiler_static='-static' 8670 ;; 8671 # Lahey Fortran 8.1. 8672 lf95*) 8673 lt_prog_compiler_wl='-Wl,' 8674 lt_prog_compiler_pic='--shared' 8675 lt_prog_compiler_static='--static' 8676 ;; 8677 nagfor*) 8678 # NAG Fortran compiler 8679 lt_prog_compiler_wl='-Wl,-Wl,,' 8680 lt_prog_compiler_pic='-PIC' 8681 lt_prog_compiler_static='-Bstatic' 8682 ;; 8683 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8684 # Portland Group compilers (*not* the Pentium gcc compiler, 8685 # which looks to be a dead project) 8686 lt_prog_compiler_wl='-Wl,' 8687 lt_prog_compiler_pic='-fpic' 8688 lt_prog_compiler_static='-Bstatic' 8689 ;; 8690 ccc*) 8691 lt_prog_compiler_wl='-Wl,' 8692 # All Alpha code is PIC. 8693 lt_prog_compiler_static='-non_shared' 8694 ;; 8695 xl* | bgxl* | bgf* | mpixl*) 8696 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8697 lt_prog_compiler_wl='-Wl,' 8698 lt_prog_compiler_pic='-qpic' 8699 lt_prog_compiler_static='-qstaticlink' 8700 ;; 8701 *) 8702 case `$CC -V 2>&1 | sed 5q` in 8703 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8704 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8705 lt_prog_compiler_pic='-KPIC' 8706 lt_prog_compiler_static='-Bstatic' 8707 lt_prog_compiler_wl='' 8708 ;; 8709 *Sun\ F* | *Sun*Fortran*) 8710 lt_prog_compiler_pic='-KPIC' 8711 lt_prog_compiler_static='-Bstatic' 8712 lt_prog_compiler_wl='-Qoption ld ' 8713 ;; 8714 *Sun\ C*) 8715 # Sun C 5.9 8716 lt_prog_compiler_pic='-KPIC' 8717 lt_prog_compiler_static='-Bstatic' 8718 lt_prog_compiler_wl='-Wl,' 8719 ;; 8720 *Intel*\ [CF]*Compiler*) 8721 lt_prog_compiler_wl='-Wl,' 8722 lt_prog_compiler_pic='-fPIC' 8723 lt_prog_compiler_static='-static' 8724 ;; 8725 *Portland\ Group*) 8726 lt_prog_compiler_wl='-Wl,' 8727 lt_prog_compiler_pic='-fpic' 8728 lt_prog_compiler_static='-Bstatic' 8729 ;; 8730 esac 8731 ;; 8732 esac 8733 ;; 8734 8735 newsos6) 8736 lt_prog_compiler_pic='-KPIC' 8737 lt_prog_compiler_static='-Bstatic' 8738 ;; 8739 8740 *nto* | *qnx*) 8741 # QNX uses GNU C++, but need to define -shared option too, otherwise 8742 # it will coredump. 8743 lt_prog_compiler_pic='-fPIC -shared' 8744 ;; 8745 8746 osf3* | osf4* | osf5*) 8747 lt_prog_compiler_wl='-Wl,' 8748 # All OSF/1 code is PIC. 8749 lt_prog_compiler_static='-non_shared' 8750 ;; 8751 8752 rdos*) 8753 lt_prog_compiler_static='-non_shared' 8754 ;; 8755 8756 solaris*) 8757 lt_prog_compiler_pic='-KPIC' 8758 lt_prog_compiler_static='-Bstatic' 8759 case $cc_basename in 8760 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8761 lt_prog_compiler_wl='-Qoption ld ';; 8762 *) 8763 lt_prog_compiler_wl='-Wl,';; 8764 esac 8765 ;; 8766 8767 sunos4*) 8768 lt_prog_compiler_wl='-Qoption ld ' 8769 lt_prog_compiler_pic='-PIC' 8770 lt_prog_compiler_static='-Bstatic' 8771 ;; 8772 8773 sysv4 | sysv4.2uw2* | sysv4.3*) 8774 lt_prog_compiler_wl='-Wl,' 8775 lt_prog_compiler_pic='-KPIC' 8776 lt_prog_compiler_static='-Bstatic' 8777 ;; 8778 8779 sysv4*MP*) 8780 if test -d /usr/nec ;then 8781 lt_prog_compiler_pic='-Kconform_pic' 8782 lt_prog_compiler_static='-Bstatic' 8783 fi 8784 ;; 8785 8786 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8787 lt_prog_compiler_wl='-Wl,' 8788 lt_prog_compiler_pic='-KPIC' 8789 lt_prog_compiler_static='-Bstatic' 8790 ;; 8791 8792 unicos*) 8793 lt_prog_compiler_wl='-Wl,' 8794 lt_prog_compiler_can_build_shared=no 8795 ;; 8796 8797 uts4*) 8798 lt_prog_compiler_pic='-pic' 8799 lt_prog_compiler_static='-Bstatic' 8800 ;; 8801 8802 *) 8803 lt_prog_compiler_can_build_shared=no 8804 ;; 8805 esac 8806 fi 8807 8808case $host_os in 8809 # For platforms which do not support PIC, -DPIC is meaningless: 8810 *djgpp*) 8811 lt_prog_compiler_pic= 8812 ;; 8813 *) 8814 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8815 ;; 8816esac 8817 8818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8819$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8820if ${lt_cv_prog_compiler_pic+:} false; then : 8821 $as_echo_n "(cached) " >&6 8822else 8823 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8824fi 8825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8826$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8827lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8828 8829# 8830# Check to make sure the PIC flag actually works. 8831# 8832if test -n "$lt_prog_compiler_pic"; then 8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8834$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8835if ${lt_cv_prog_compiler_pic_works+:} false; then : 8836 $as_echo_n "(cached) " >&6 8837else 8838 lt_cv_prog_compiler_pic_works=no 8839 ac_outfile=conftest.$ac_objext 8840 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8841 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8842 # Insert the option either (1) after the last *FLAGS variable, or 8843 # (2) before a word containing "conftest.", or (3) at the end. 8844 # Note that $ac_compile itself does not contain backslashes and begins 8845 # with a dollar sign (not a hyphen), so the echo should work correctly. 8846 # The option is referenced via a variable to avoid confusing sed. 8847 lt_compile=`echo "$ac_compile" | $SED \ 8848 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8849 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8850 -e 's:$: $lt_compiler_flag:'` 8851 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8852 (eval "$lt_compile" 2>conftest.err) 8853 ac_status=$? 8854 cat conftest.err >&5 8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8856 if (exit $ac_status) && test -s "$ac_outfile"; then 8857 # The compiler can only warn and ignore the option if not recognized 8858 # So say no if there are warnings other than the usual output. 8859 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8860 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8861 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8862 lt_cv_prog_compiler_pic_works=yes 8863 fi 8864 fi 8865 $RM conftest* 8866 8867fi 8868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8869$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8870 8871if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8872 case $lt_prog_compiler_pic in 8873 "" | " "*) ;; 8874 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8875 esac 8876else 8877 lt_prog_compiler_pic= 8878 lt_prog_compiler_can_build_shared=no 8879fi 8880 8881fi 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893# 8894# Check to make sure the static flag actually works. 8895# 8896wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8898$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8899if ${lt_cv_prog_compiler_static_works+:} false; then : 8900 $as_echo_n "(cached) " >&6 8901else 8902 lt_cv_prog_compiler_static_works=no 8903 save_LDFLAGS="$LDFLAGS" 8904 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8905 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8906 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8907 # The linker can only warn and ignore the option if not recognized 8908 # So say no if there are warnings 8909 if test -s conftest.err; then 8910 # Append any errors to the config.log. 8911 cat conftest.err 1>&5 8912 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8913 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8914 if diff conftest.exp conftest.er2 >/dev/null; then 8915 lt_cv_prog_compiler_static_works=yes 8916 fi 8917 else 8918 lt_cv_prog_compiler_static_works=yes 8919 fi 8920 fi 8921 $RM -r conftest* 8922 LDFLAGS="$save_LDFLAGS" 8923 8924fi 8925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8926$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8927 8928if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8929 : 8930else 8931 lt_prog_compiler_static= 8932fi 8933 8934 8935 8936 8937 8938 8939 8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8941$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8942if ${lt_cv_prog_compiler_c_o+:} false; then : 8943 $as_echo_n "(cached) " >&6 8944else 8945 lt_cv_prog_compiler_c_o=no 8946 $RM -r conftest 2>/dev/null 8947 mkdir conftest 8948 cd conftest 8949 mkdir out 8950 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8951 8952 lt_compiler_flag="-o out/conftest2.$ac_objext" 8953 # Insert the option either (1) after the last *FLAGS variable, or 8954 # (2) before a word containing "conftest.", or (3) at the end. 8955 # Note that $ac_compile itself does not contain backslashes and begins 8956 # with a dollar sign (not a hyphen), so the echo should work correctly. 8957 lt_compile=`echo "$ac_compile" | $SED \ 8958 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8959 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8960 -e 's:$: $lt_compiler_flag:'` 8961 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8962 (eval "$lt_compile" 2>out/conftest.err) 8963 ac_status=$? 8964 cat out/conftest.err >&5 8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8966 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8967 then 8968 # The compiler can only warn and ignore the option if not recognized 8969 # So say no if there are warnings 8970 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8971 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8972 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8973 lt_cv_prog_compiler_c_o=yes 8974 fi 8975 fi 8976 chmod u+w . 2>&5 8977 $RM conftest* 8978 # SGI C++ compiler will create directory out/ii_files/ for 8979 # template instantiation 8980 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8981 $RM out/* && rmdir out 8982 cd .. 8983 $RM -r conftest 8984 $RM conftest* 8985 8986fi 8987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8988$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8989 8990 8991 8992 8993 8994 8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8996$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8997if ${lt_cv_prog_compiler_c_o+:} false; then : 8998 $as_echo_n "(cached) " >&6 8999else 9000 lt_cv_prog_compiler_c_o=no 9001 $RM -r conftest 2>/dev/null 9002 mkdir conftest 9003 cd conftest 9004 mkdir out 9005 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9006 9007 lt_compiler_flag="-o out/conftest2.$ac_objext" 9008 # Insert the option either (1) after the last *FLAGS variable, or 9009 # (2) before a word containing "conftest.", or (3) at the end. 9010 # Note that $ac_compile itself does not contain backslashes and begins 9011 # with a dollar sign (not a hyphen), so the echo should work correctly. 9012 lt_compile=`echo "$ac_compile" | $SED \ 9013 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9014 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9015 -e 's:$: $lt_compiler_flag:'` 9016 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9017 (eval "$lt_compile" 2>out/conftest.err) 9018 ac_status=$? 9019 cat out/conftest.err >&5 9020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9021 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9022 then 9023 # The compiler can only warn and ignore the option if not recognized 9024 # So say no if there are warnings 9025 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9026 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9027 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9028 lt_cv_prog_compiler_c_o=yes 9029 fi 9030 fi 9031 chmod u+w . 2>&5 9032 $RM conftest* 9033 # SGI C++ compiler will create directory out/ii_files/ for 9034 # template instantiation 9035 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9036 $RM out/* && rmdir out 9037 cd .. 9038 $RM -r conftest 9039 $RM conftest* 9040 9041fi 9042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9043$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9044 9045 9046 9047 9048hard_links="nottested" 9049if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9050 # do not overwrite the value of need_locks provided by the user 9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9052$as_echo_n "checking if we can lock with hard links... " >&6; } 9053 hard_links=yes 9054 $RM conftest* 9055 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9056 touch conftest.a 9057 ln conftest.a conftest.b 2>&5 || hard_links=no 9058 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9060$as_echo "$hard_links" >&6; } 9061 if test "$hard_links" = no; then 9062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9063$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9064 need_locks=warn 9065 fi 9066else 9067 need_locks=no 9068fi 9069 9070 9071 9072 9073 9074 9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9076$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9077 9078 runpath_var= 9079 allow_undefined_flag= 9080 always_export_symbols=no 9081 archive_cmds= 9082 archive_expsym_cmds= 9083 compiler_needs_object=no 9084 enable_shared_with_static_runtimes=no 9085 export_dynamic_flag_spec= 9086 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9087 hardcode_automatic=no 9088 hardcode_direct=no 9089 hardcode_direct_absolute=no 9090 hardcode_libdir_flag_spec= 9091 hardcode_libdir_separator= 9092 hardcode_minus_L=no 9093 hardcode_shlibpath_var=unsupported 9094 inherit_rpath=no 9095 link_all_deplibs=unknown 9096 module_cmds= 9097 module_expsym_cmds= 9098 old_archive_from_new_cmds= 9099 old_archive_from_expsyms_cmds= 9100 thread_safe_flag_spec= 9101 whole_archive_flag_spec= 9102 # include_expsyms should be a list of space-separated symbols to be *always* 9103 # included in the symbol list 9104 include_expsyms= 9105 # exclude_expsyms can be an extended regexp of symbols to exclude 9106 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9107 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9108 # as well as any symbol that contains `d'. 9109 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9110 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9111 # platforms (ab)use it in PIC code, but their linkers get confused if 9112 # the symbol is explicitly referenced. Since portable code cannot 9113 # rely on this symbol name, it's probably fine to never include it in 9114 # preloaded symbol tables. 9115 # Exclude shared library initialization/finalization symbols. 9116 extract_expsyms_cmds= 9117 9118 case $host_os in 9119 cygwin* | mingw* | pw32* | cegcc*) 9120 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9121 # When not using gcc, we currently assume that we are using 9122 # Microsoft Visual C++. 9123 if test "$GCC" != yes; then 9124 with_gnu_ld=no 9125 fi 9126 ;; 9127 interix*) 9128 # we just hope/assume this is gcc and not c89 (= MSVC++) 9129 with_gnu_ld=yes 9130 ;; 9131 openbsd*) 9132 with_gnu_ld=no 9133 ;; 9134 esac 9135 9136 ld_shlibs=yes 9137 9138 # On some targets, GNU ld is compatible enough with the native linker 9139 # that we're better off using the native interface for both. 9140 lt_use_gnu_ld_interface=no 9141 if test "$with_gnu_ld" = yes; then 9142 case $host_os in 9143 aix*) 9144 # The AIX port of GNU ld has always aspired to compatibility 9145 # with the native linker. However, as the warning in the GNU ld 9146 # block says, versions before 2.19.5* couldn't really create working 9147 # shared libraries, regardless of the interface used. 9148 case `$LD -v 2>&1` in 9149 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9150 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9151 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9152 *) 9153 lt_use_gnu_ld_interface=yes 9154 ;; 9155 esac 9156 ;; 9157 *) 9158 lt_use_gnu_ld_interface=yes 9159 ;; 9160 esac 9161 fi 9162 9163 if test "$lt_use_gnu_ld_interface" = yes; then 9164 # If archive_cmds runs LD, not CC, wlarc should be empty 9165 wlarc='${wl}' 9166 9167 # Set some defaults for GNU ld with shared library support. These 9168 # are reset later if shared libraries are not supported. Putting them 9169 # here allows them to be overridden if necessary. 9170 runpath_var=LD_RUN_PATH 9171 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9172 export_dynamic_flag_spec='${wl}--export-dynamic' 9173 # ancient GNU ld didn't support --whole-archive et. al. 9174 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9175 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9176 else 9177 whole_archive_flag_spec= 9178 fi 9179 supports_anon_versioning=no 9180 case `$LD -v 2>&1` in 9181 *GNU\ gold*) supports_anon_versioning=yes ;; 9182 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9183 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9184 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9185 *\ 2.11.*) ;; # other 2.11 versions 9186 *) supports_anon_versioning=yes ;; 9187 esac 9188 9189 # See if GNU ld supports shared libraries. 9190 case $host_os in 9191 aix[3-9]*) 9192 # On AIX/PPC, the GNU linker is very broken 9193 if test "$host_cpu" != ia64; then 9194 ld_shlibs=no 9195 cat <<_LT_EOF 1>&2 9196 9197*** Warning: the GNU linker, at least up to release 2.19, is reported 9198*** to be unable to reliably create shared libraries on AIX. 9199*** Therefore, libtool is disabling shared libraries support. If you 9200*** really care for shared libraries, you may want to install binutils 9201*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9202*** You will then need to restart the configuration process. 9203 9204_LT_EOF 9205 fi 9206 ;; 9207 9208 amigaos*) 9209 case $host_cpu in 9210 powerpc) 9211 # see comment about AmigaOS4 .so support 9212 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9213 archive_expsym_cmds='' 9214 ;; 9215 m68k) 9216 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)' 9217 hardcode_libdir_flag_spec='-L$libdir' 9218 hardcode_minus_L=yes 9219 ;; 9220 esac 9221 ;; 9222 9223 beos*) 9224 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9225 allow_undefined_flag=unsupported 9226 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9227 # support --undefined. This deserves some investigation. FIXME 9228 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9229 else 9230 ld_shlibs=no 9231 fi 9232 ;; 9233 9234 cygwin* | mingw* | pw32* | cegcc*) 9235 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9236 # as there is no search path for DLLs. 9237 hardcode_libdir_flag_spec='-L$libdir' 9238 export_dynamic_flag_spec='${wl}--export-all-symbols' 9239 allow_undefined_flag=unsupported 9240 always_export_symbols=no 9241 enable_shared_with_static_runtimes=yes 9242 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' 9243 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9244 9245 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9246 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9247 # If the export-symbols file already is a .def file (1st line 9248 # is EXPORTS), use it as is; otherwise, prepend... 9249 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9250 cp $export_symbols $output_objdir/$soname.def; 9251 else 9252 echo EXPORTS > $output_objdir/$soname.def; 9253 cat $export_symbols >> $output_objdir/$soname.def; 9254 fi~ 9255 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9256 else 9257 ld_shlibs=no 9258 fi 9259 ;; 9260 9261 haiku*) 9262 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9263 link_all_deplibs=yes 9264 ;; 9265 9266 interix[3-9]*) 9267 hardcode_direct=no 9268 hardcode_shlibpath_var=no 9269 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9270 export_dynamic_flag_spec='${wl}-E' 9271 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9272 # Instead, shared libraries are loaded at an image base (0x10000000 by 9273 # default) and relocated if they conflict, which is a slow very memory 9274 # consuming and fragmenting process. To avoid this, we pick a random, 9275 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9276 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9277 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9278 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' 9279 ;; 9280 9281 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9282 tmp_diet=no 9283 if test "$host_os" = linux-dietlibc; then 9284 case $cc_basename in 9285 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9286 esac 9287 fi 9288 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9289 && test "$tmp_diet" = no 9290 then 9291 tmp_addflag=' $pic_flag' 9292 tmp_sharedflag='-shared' 9293 case $cc_basename,$host_cpu in 9294 pgcc*) # Portland Group C compiler 9295 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' 9296 tmp_addflag=' $pic_flag' 9297 ;; 9298 pgf77* | pgf90* | pgf95* | pgfortran*) 9299 # Portland Group f77 and f90 compilers 9300 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' 9301 tmp_addflag=' $pic_flag -Mnomain' ;; 9302 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9303 tmp_addflag=' -i_dynamic' ;; 9304 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9305 tmp_addflag=' -i_dynamic -nofor_main' ;; 9306 ifc* | ifort*) # Intel Fortran compiler 9307 tmp_addflag=' -nofor_main' ;; 9308 lf95*) # Lahey Fortran 8.1 9309 whole_archive_flag_spec= 9310 tmp_sharedflag='--shared' ;; 9311 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9312 tmp_sharedflag='-qmkshrobj' 9313 tmp_addflag= ;; 9314 nvcc*) # Cuda Compiler Driver 2.2 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 compiler_needs_object=yes 9317 ;; 9318 esac 9319 case `$CC -V 2>&1 | sed 5q` in 9320 *Sun\ C*) # Sun C 5.9 9321 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' 9322 compiler_needs_object=yes 9323 tmp_sharedflag='-G' ;; 9324 *Sun\ F*) # Sun Fortran 8.3 9325 tmp_sharedflag='-G' ;; 9326 esac 9327 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9328 9329 if test "x$supports_anon_versioning" = xyes; then 9330 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9331 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9332 echo "local: *; };" >> $output_objdir/$libname.ver~ 9333 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9334 fi 9335 9336 case $cc_basename in 9337 xlf* | bgf* | bgxlf* | mpixlf*) 9338 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9339 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9340 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9341 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9342 if test "x$supports_anon_versioning" = xyes; then 9343 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9344 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9345 echo "local: *; };" >> $output_objdir/$libname.ver~ 9346 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9347 fi 9348 ;; 9349 esac 9350 else 9351 ld_shlibs=no 9352 fi 9353 ;; 9354 9355 netbsd*) 9356 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9357 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9358 wlarc= 9359 else 9360 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9361 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9362 fi 9363 ;; 9364 9365 solaris*) 9366 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9367 ld_shlibs=no 9368 cat <<_LT_EOF 1>&2 9369 9370*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9371*** create shared libraries on Solaris systems. Therefore, libtool 9372*** is disabling shared libraries support. We urge you to upgrade GNU 9373*** binutils to release 2.9.1 or newer. Another option is to modify 9374*** your PATH or compiler configuration so that the native linker is 9375*** used, and then restart. 9376 9377_LT_EOF 9378 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9379 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9380 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9381 else 9382 ld_shlibs=no 9383 fi 9384 ;; 9385 9386 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9387 case `$LD -v 2>&1` in 9388 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9389 ld_shlibs=no 9390 cat <<_LT_EOF 1>&2 9391 9392*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9393*** reliably create shared libraries on SCO systems. Therefore, libtool 9394*** is disabling shared libraries support. We urge you to upgrade GNU 9395*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9396*** your PATH or compiler configuration so that the native linker is 9397*** used, and then restart. 9398 9399_LT_EOF 9400 ;; 9401 *) 9402 # For security reasons, it is highly recommended that you always 9403 # use absolute paths for naming shared libraries, and exclude the 9404 # DT_RUNPATH tag from executables and libraries. But doing so 9405 # requires that you compile everything twice, which is a pain. 9406 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9407 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9408 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9409 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9410 else 9411 ld_shlibs=no 9412 fi 9413 ;; 9414 esac 9415 ;; 9416 9417 sunos4*) 9418 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9419 wlarc= 9420 hardcode_direct=yes 9421 hardcode_shlibpath_var=no 9422 ;; 9423 9424 *) 9425 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9426 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9427 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9428 else 9429 ld_shlibs=no 9430 fi 9431 ;; 9432 esac 9433 9434 if test "$ld_shlibs" = no; then 9435 runpath_var= 9436 hardcode_libdir_flag_spec= 9437 export_dynamic_flag_spec= 9438 whole_archive_flag_spec= 9439 fi 9440 else 9441 # PORTME fill in a description of your system's linker (not GNU ld) 9442 case $host_os in 9443 aix3*) 9444 allow_undefined_flag=unsupported 9445 always_export_symbols=yes 9446 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' 9447 # Note: this linker hardcodes the directories in LIBPATH if there 9448 # are no directories specified by -L. 9449 hardcode_minus_L=yes 9450 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9451 # Neither direct hardcoding nor static linking is supported with a 9452 # broken collect2. 9453 hardcode_direct=unsupported 9454 fi 9455 ;; 9456 9457 aix[4-9]*) 9458 if test "$host_cpu" = ia64; then 9459 # On IA64, the linker does run time linking by default, so we don't 9460 # have to do anything special. 9461 aix_use_runtimelinking=no 9462 exp_sym_flag='-Bexport' 9463 no_entry_flag="" 9464 else 9465 # If we're using GNU nm, then we don't want the "-C" option. 9466 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9467 # Also, AIX nm treats weak defined symbols like other global 9468 # defined symbols, whereas GNU nm marks them as "W". 9469 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9470 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9471 else 9472 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9473 fi 9474 aix_use_runtimelinking=no 9475 9476 # Test if we are trying to use run time linking or normal 9477 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9478 # need to do runtime linking. 9479 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9480 for ld_flag in $LDFLAGS; do 9481 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9482 aix_use_runtimelinking=yes 9483 break 9484 fi 9485 done 9486 ;; 9487 esac 9488 9489 exp_sym_flag='-bexport' 9490 no_entry_flag='-bnoentry' 9491 fi 9492 9493 # When large executables or shared objects are built, AIX ld can 9494 # have problems creating the table of contents. If linking a library 9495 # or program results in "error TOC overflow" add -mminimal-toc to 9496 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9497 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9498 9499 archive_cmds='' 9500 hardcode_direct=yes 9501 hardcode_direct_absolute=yes 9502 hardcode_libdir_separator=':' 9503 link_all_deplibs=yes 9504 file_list_spec='${wl}-f,' 9505 9506 if test "$GCC" = yes; then 9507 case $host_os in aix4.[012]|aix4.[012].*) 9508 # We only want to do this on AIX 4.2 and lower, the check 9509 # below for broken collect2 doesn't work under 4.3+ 9510 collect2name=`${CC} -print-prog-name=collect2` 9511 if test -f "$collect2name" && 9512 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9513 then 9514 # We have reworked collect2 9515 : 9516 else 9517 # We have old collect2 9518 hardcode_direct=unsupported 9519 # It fails to find uninstalled libraries when the uninstalled 9520 # path is not listed in the libpath. Setting hardcode_minus_L 9521 # to unsupported forces relinking 9522 hardcode_minus_L=yes 9523 hardcode_libdir_flag_spec='-L$libdir' 9524 hardcode_libdir_separator= 9525 fi 9526 ;; 9527 esac 9528 shared_flag='-shared' 9529 if test "$aix_use_runtimelinking" = yes; then 9530 shared_flag="$shared_flag "'${wl}-G' 9531 fi 9532 else 9533 # not using gcc 9534 if test "$host_cpu" = ia64; then 9535 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9536 # chokes on -Wl,-G. The following line is correct: 9537 shared_flag='-G' 9538 else 9539 if test "$aix_use_runtimelinking" = yes; then 9540 shared_flag='${wl}-G' 9541 else 9542 shared_flag='${wl}-bM:SRE' 9543 fi 9544 fi 9545 fi 9546 9547 export_dynamic_flag_spec='${wl}-bexpall' 9548 # It seems that -bexpall does not export symbols beginning with 9549 # underscore (_), so it is better to generate a list of symbols to export. 9550 always_export_symbols=yes 9551 if test "$aix_use_runtimelinking" = yes; then 9552 # Warning - without using the other runtime loading flags (-brtl), 9553 # -berok will link without error, but may produce a broken library. 9554 allow_undefined_flag='-berok' 9555 # Determine the default libpath from the value encoded in an 9556 # empty executable. 9557 if test "${lt_cv_aix_libpath+set}" = set; then 9558 aix_libpath=$lt_cv_aix_libpath 9559else 9560 if ${lt_cv_aix_libpath_+:} false; then : 9561 $as_echo_n "(cached) " >&6 9562else 9563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9564/* end confdefs.h. */ 9565 9566int 9567main () 9568{ 9569 9570 ; 9571 return 0; 9572} 9573_ACEOF 9574if ac_fn_c_try_link "$LINENO"; then : 9575 9576 lt_aix_libpath_sed=' 9577 /Import File Strings/,/^$/ { 9578 /^0/ { 9579 s/^0 *\([^ ]*\) *$/\1/ 9580 p 9581 } 9582 }' 9583 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9584 # Check for a 64-bit object if we didn't find anything. 9585 if test -z "$lt_cv_aix_libpath_"; then 9586 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9587 fi 9588fi 9589rm -f core conftest.err conftest.$ac_objext \ 9590 conftest$ac_exeext conftest.$ac_ext 9591 if test -z "$lt_cv_aix_libpath_"; then 9592 lt_cv_aix_libpath_="/usr/lib:/lib" 9593 fi 9594 9595fi 9596 9597 aix_libpath=$lt_cv_aix_libpath_ 9598fi 9599 9600 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9601 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 9602 else 9603 if test "$host_cpu" = ia64; then 9604 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9605 allow_undefined_flag="-z nodefs" 9606 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" 9607 else 9608 # Determine the default libpath from the value encoded in an 9609 # empty executable. 9610 if test "${lt_cv_aix_libpath+set}" = set; then 9611 aix_libpath=$lt_cv_aix_libpath 9612else 9613 if ${lt_cv_aix_libpath_+:} false; then : 9614 $as_echo_n "(cached) " >&6 9615else 9616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9617/* end confdefs.h. */ 9618 9619int 9620main () 9621{ 9622 9623 ; 9624 return 0; 9625} 9626_ACEOF 9627if ac_fn_c_try_link "$LINENO"; then : 9628 9629 lt_aix_libpath_sed=' 9630 /Import File Strings/,/^$/ { 9631 /^0/ { 9632 s/^0 *\([^ ]*\) *$/\1/ 9633 p 9634 } 9635 }' 9636 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9637 # Check for a 64-bit object if we didn't find anything. 9638 if test -z "$lt_cv_aix_libpath_"; then 9639 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9640 fi 9641fi 9642rm -f core conftest.err conftest.$ac_objext \ 9643 conftest$ac_exeext conftest.$ac_ext 9644 if test -z "$lt_cv_aix_libpath_"; then 9645 lt_cv_aix_libpath_="/usr/lib:/lib" 9646 fi 9647 9648fi 9649 9650 aix_libpath=$lt_cv_aix_libpath_ 9651fi 9652 9653 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9654 # Warning - without using the other run time loading flags, 9655 # -berok will link without error, but may produce a broken library. 9656 no_undefined_flag=' ${wl}-bernotok' 9657 allow_undefined_flag=' ${wl}-berok' 9658 if test "$with_gnu_ld" = yes; then 9659 # We only use this code for GNU lds that support --whole-archive. 9660 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9661 else 9662 # Exported symbols can be pulled into shared objects from archives 9663 whole_archive_flag_spec='$convenience' 9664 fi 9665 archive_cmds_need_lc=yes 9666 # This is similar to how AIX traditionally builds its shared libraries. 9667 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 9668 fi 9669 fi 9670 ;; 9671 9672 amigaos*) 9673 case $host_cpu in 9674 powerpc) 9675 # see comment about AmigaOS4 .so support 9676 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9677 archive_expsym_cmds='' 9678 ;; 9679 m68k) 9680 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)' 9681 hardcode_libdir_flag_spec='-L$libdir' 9682 hardcode_minus_L=yes 9683 ;; 9684 esac 9685 ;; 9686 9687 bsdi[45]*) 9688 export_dynamic_flag_spec=-rdynamic 9689 ;; 9690 9691 cygwin* | mingw* | pw32* | cegcc*) 9692 # When not using gcc, we currently assume that we are using 9693 # Microsoft Visual C++. 9694 # hardcode_libdir_flag_spec is actually meaningless, as there is 9695 # no search path for DLLs. 9696 case $cc_basename in 9697 cl*) 9698 # Native MSVC 9699 hardcode_libdir_flag_spec=' ' 9700 allow_undefined_flag=unsupported 9701 always_export_symbols=yes 9702 file_list_spec='@' 9703 # Tell ltmain to make .lib files, not .a files. 9704 libext=lib 9705 # Tell ltmain to make .dll files, not .so files. 9706 shrext_cmds=".dll" 9707 # FIXME: Setting linknames here is a bad hack. 9708 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9709 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9710 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9711 else 9712 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9713 fi~ 9714 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9715 linknames=' 9716 # The linker will not automatically build a static lib if we build a DLL. 9717 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9718 enable_shared_with_static_runtimes=yes 9719 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9720 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9721 # Don't use ranlib 9722 old_postinstall_cmds='chmod 644 $oldlib' 9723 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9724 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9725 case $lt_outputfile in 9726 *.exe|*.EXE) ;; 9727 *) 9728 lt_outputfile="$lt_outputfile.exe" 9729 lt_tool_outputfile="$lt_tool_outputfile.exe" 9730 ;; 9731 esac~ 9732 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9733 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9734 $RM "$lt_outputfile.manifest"; 9735 fi' 9736 ;; 9737 *) 9738 # Assume MSVC wrapper 9739 hardcode_libdir_flag_spec=' ' 9740 allow_undefined_flag=unsupported 9741 # Tell ltmain to make .lib files, not .a files. 9742 libext=lib 9743 # Tell ltmain to make .dll files, not .so files. 9744 shrext_cmds=".dll" 9745 # FIXME: Setting linknames here is a bad hack. 9746 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9747 # The linker will automatically build a .lib file if we build a DLL. 9748 old_archive_from_new_cmds='true' 9749 # FIXME: Should let the user specify the lib program. 9750 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9751 enable_shared_with_static_runtimes=yes 9752 ;; 9753 esac 9754 ;; 9755 9756 darwin* | rhapsody*) 9757 9758 9759 archive_cmds_need_lc=no 9760 hardcode_direct=no 9761 hardcode_automatic=yes 9762 hardcode_shlibpath_var=unsupported 9763 if test "$lt_cv_ld_force_load" = "yes"; then 9764 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\"`' 9765 9766 else 9767 whole_archive_flag_spec='' 9768 fi 9769 link_all_deplibs=yes 9770 allow_undefined_flag="$_lt_dar_allow_undefined" 9771 case $cc_basename in 9772 ifort*) _lt_dar_can_shared=yes ;; 9773 *) _lt_dar_can_shared=$GCC ;; 9774 esac 9775 if test "$_lt_dar_can_shared" = "yes"; then 9776 output_verbose_link_cmd=func_echo_all 9777 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9778 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9779 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}" 9780 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}" 9781 9782 else 9783 ld_shlibs=no 9784 fi 9785 9786 ;; 9787 9788 dgux*) 9789 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9790 hardcode_libdir_flag_spec='-L$libdir' 9791 hardcode_shlibpath_var=no 9792 ;; 9793 9794 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9795 # support. Future versions do this automatically, but an explicit c++rt0.o 9796 # does not break anything, and helps significantly (at the cost of a little 9797 # extra space). 9798 freebsd2.2*) 9799 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9800 hardcode_libdir_flag_spec='-R$libdir' 9801 hardcode_direct=yes 9802 hardcode_shlibpath_var=no 9803 ;; 9804 9805 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9806 freebsd2.*) 9807 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9808 hardcode_direct=yes 9809 hardcode_minus_L=yes 9810 hardcode_shlibpath_var=no 9811 ;; 9812 9813 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9814 freebsd* | dragonfly*) 9815 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9816 hardcode_libdir_flag_spec='-R$libdir' 9817 hardcode_direct=yes 9818 hardcode_shlibpath_var=no 9819 ;; 9820 9821 hpux9*) 9822 if test "$GCC" = yes; then 9823 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9824 else 9825 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9826 fi 9827 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9828 hardcode_libdir_separator=: 9829 hardcode_direct=yes 9830 9831 # hardcode_minus_L: Not really in the search PATH, 9832 # but as the default location of the library. 9833 hardcode_minus_L=yes 9834 export_dynamic_flag_spec='${wl}-E' 9835 ;; 9836 9837 hpux10*) 9838 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9839 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9840 else 9841 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9842 fi 9843 if test "$with_gnu_ld" = no; then 9844 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9845 hardcode_libdir_separator=: 9846 hardcode_direct=yes 9847 hardcode_direct_absolute=yes 9848 export_dynamic_flag_spec='${wl}-E' 9849 # hardcode_minus_L: Not really in the search PATH, 9850 # but as the default location of the library. 9851 hardcode_minus_L=yes 9852 fi 9853 ;; 9854 9855 hpux11*) 9856 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9857 case $host_cpu in 9858 hppa*64*) 9859 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9860 ;; 9861 ia64*) 9862 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9863 ;; 9864 *) 9865 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9866 ;; 9867 esac 9868 else 9869 case $host_cpu in 9870 hppa*64*) 9871 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9872 ;; 9873 ia64*) 9874 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9875 ;; 9876 *) 9877 9878 # Older versions of the 11.00 compiler do not understand -b yet 9879 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9881$as_echo_n "checking if $CC understands -b... " >&6; } 9882if ${lt_cv_prog_compiler__b+:} false; then : 9883 $as_echo_n "(cached) " >&6 9884else 9885 lt_cv_prog_compiler__b=no 9886 save_LDFLAGS="$LDFLAGS" 9887 LDFLAGS="$LDFLAGS -b" 9888 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9889 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9890 # The linker can only warn and ignore the option if not recognized 9891 # So say no if there are warnings 9892 if test -s conftest.err; then 9893 # Append any errors to the config.log. 9894 cat conftest.err 1>&5 9895 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9896 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9897 if diff conftest.exp conftest.er2 >/dev/null; then 9898 lt_cv_prog_compiler__b=yes 9899 fi 9900 else 9901 lt_cv_prog_compiler__b=yes 9902 fi 9903 fi 9904 $RM -r conftest* 9905 LDFLAGS="$save_LDFLAGS" 9906 9907fi 9908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9909$as_echo "$lt_cv_prog_compiler__b" >&6; } 9910 9911if test x"$lt_cv_prog_compiler__b" = xyes; then 9912 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9913else 9914 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9915fi 9916 9917 ;; 9918 esac 9919 fi 9920 if test "$with_gnu_ld" = no; then 9921 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9922 hardcode_libdir_separator=: 9923 9924 case $host_cpu in 9925 hppa*64*|ia64*) 9926 hardcode_direct=no 9927 hardcode_shlibpath_var=no 9928 ;; 9929 *) 9930 hardcode_direct=yes 9931 hardcode_direct_absolute=yes 9932 export_dynamic_flag_spec='${wl}-E' 9933 9934 # hardcode_minus_L: Not really in the search PATH, 9935 # but as the default location of the library. 9936 hardcode_minus_L=yes 9937 ;; 9938 esac 9939 fi 9940 ;; 9941 9942 irix5* | irix6* | nonstopux*) 9943 if test "$GCC" = yes; then 9944 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' 9945 # Try to use the -exported_symbol ld option, if it does not 9946 # work, assume that -exports_file does not work either and 9947 # implicitly export all symbols. 9948 # This should be the same for all languages, so no per-tag cache variable. 9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9950$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9951if ${lt_cv_irix_exported_symbol+:} false; then : 9952 $as_echo_n "(cached) " >&6 9953else 9954 save_LDFLAGS="$LDFLAGS" 9955 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9957/* end confdefs.h. */ 9958int foo (void) { return 0; } 9959_ACEOF 9960if ac_fn_c_try_link "$LINENO"; then : 9961 lt_cv_irix_exported_symbol=yes 9962else 9963 lt_cv_irix_exported_symbol=no 9964fi 9965rm -f core conftest.err conftest.$ac_objext \ 9966 conftest$ac_exeext conftest.$ac_ext 9967 LDFLAGS="$save_LDFLAGS" 9968fi 9969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9970$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9971 if test "$lt_cv_irix_exported_symbol" = yes; then 9972 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' 9973 fi 9974 else 9975 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' 9976 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' 9977 fi 9978 archive_cmds_need_lc='no' 9979 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9980 hardcode_libdir_separator=: 9981 inherit_rpath=yes 9982 link_all_deplibs=yes 9983 ;; 9984 9985 netbsd*) 9986 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9987 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9988 else 9989 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9990 fi 9991 hardcode_libdir_flag_spec='-R$libdir' 9992 hardcode_direct=yes 9993 hardcode_shlibpath_var=no 9994 ;; 9995 9996 newsos6) 9997 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9998 hardcode_direct=yes 9999 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10000 hardcode_libdir_separator=: 10001 hardcode_shlibpath_var=no 10002 ;; 10003 10004 *nto* | *qnx*) 10005 ;; 10006 10007 openbsd*) 10008 if test -f /usr/libexec/ld.so; then 10009 hardcode_direct=yes 10010 hardcode_shlibpath_var=no 10011 hardcode_direct_absolute=yes 10012 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10013 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10014 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10015 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10016 export_dynamic_flag_spec='${wl}-E' 10017 else 10018 case $host_os in 10019 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10020 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10021 hardcode_libdir_flag_spec='-R$libdir' 10022 ;; 10023 *) 10024 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10025 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10026 ;; 10027 esac 10028 fi 10029 else 10030 ld_shlibs=no 10031 fi 10032 ;; 10033 10034 os2*) 10035 hardcode_libdir_flag_spec='-L$libdir' 10036 hardcode_minus_L=yes 10037 allow_undefined_flag=unsupported 10038 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 10039 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10040 ;; 10041 10042 osf3*) 10043 if test "$GCC" = yes; then 10044 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10045 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' 10046 else 10047 allow_undefined_flag=' -expect_unresolved \*' 10048 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' 10049 fi 10050 archive_cmds_need_lc='no' 10051 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10052 hardcode_libdir_separator=: 10053 ;; 10054 10055 osf4* | osf5*) # as osf3* with the addition of -msym flag 10056 if test "$GCC" = yes; then 10057 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10058 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' 10059 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10060 else 10061 allow_undefined_flag=' -expect_unresolved \*' 10062 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' 10063 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~ 10064 $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' 10065 10066 # Both c and cxx compiler support -rpath directly 10067 hardcode_libdir_flag_spec='-rpath $libdir' 10068 fi 10069 archive_cmds_need_lc='no' 10070 hardcode_libdir_separator=: 10071 ;; 10072 10073 solaris*) 10074 no_undefined_flag=' -z defs' 10075 if test "$GCC" = yes; then 10076 wlarc='${wl}' 10077 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10078 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10079 $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' 10080 else 10081 case `$CC -V 2>&1` in 10082 *"Compilers 5.0"*) 10083 wlarc='' 10084 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10085 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10086 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10087 ;; 10088 *) 10089 wlarc='${wl}' 10090 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10091 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10092 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10093 ;; 10094 esac 10095 fi 10096 hardcode_libdir_flag_spec='-R$libdir' 10097 hardcode_shlibpath_var=no 10098 case $host_os in 10099 solaris2.[0-5] | solaris2.[0-5].*) ;; 10100 *) 10101 # The compiler driver will combine and reorder linker options, 10102 # but understands `-z linker_flag'. GCC discards it without `$wl', 10103 # but is careful enough not to reorder. 10104 # Supported since Solaris 2.6 (maybe 2.5.1?) 10105 if test "$GCC" = yes; then 10106 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10107 else 10108 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10109 fi 10110 ;; 10111 esac 10112 link_all_deplibs=yes 10113 ;; 10114 10115 sunos4*) 10116 if test "x$host_vendor" = xsequent; then 10117 # Use $CC to link under sequent, because it throws in some extra .o 10118 # files that make .init and .fini sections work. 10119 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10120 else 10121 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10122 fi 10123 hardcode_libdir_flag_spec='-L$libdir' 10124 hardcode_direct=yes 10125 hardcode_minus_L=yes 10126 hardcode_shlibpath_var=no 10127 ;; 10128 10129 sysv4) 10130 case $host_vendor in 10131 sni) 10132 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10133 hardcode_direct=yes # is this really true??? 10134 ;; 10135 siemens) 10136 ## LD is ld it makes a PLAMLIB 10137 ## CC just makes a GrossModule. 10138 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10139 reload_cmds='$CC -r -o $output$reload_objs' 10140 hardcode_direct=no 10141 ;; 10142 motorola) 10143 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10144 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10145 ;; 10146 esac 10147 runpath_var='LD_RUN_PATH' 10148 hardcode_shlibpath_var=no 10149 ;; 10150 10151 sysv4.3*) 10152 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10153 hardcode_shlibpath_var=no 10154 export_dynamic_flag_spec='-Bexport' 10155 ;; 10156 10157 sysv4*MP*) 10158 if test -d /usr/nec; then 10159 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10160 hardcode_shlibpath_var=no 10161 runpath_var=LD_RUN_PATH 10162 hardcode_runpath_var=yes 10163 ld_shlibs=yes 10164 fi 10165 ;; 10166 10167 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10168 no_undefined_flag='${wl}-z,text' 10169 archive_cmds_need_lc=no 10170 hardcode_shlibpath_var=no 10171 runpath_var='LD_RUN_PATH' 10172 10173 if test "$GCC" = yes; then 10174 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10175 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10176 else 10177 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10178 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10179 fi 10180 ;; 10181 10182 sysv5* | sco3.2v5* | sco5v6*) 10183 # Note: We can NOT use -z defs as we might desire, because we do not 10184 # link with -lc, and that would cause any symbols used from libc to 10185 # always be unresolved, which means just about no library would 10186 # ever link correctly. If we're not using GNU ld we use -z text 10187 # though, which does catch some bad symbols but isn't as heavy-handed 10188 # as -z defs. 10189 no_undefined_flag='${wl}-z,text' 10190 allow_undefined_flag='${wl}-z,nodefs' 10191 archive_cmds_need_lc=no 10192 hardcode_shlibpath_var=no 10193 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10194 hardcode_libdir_separator=':' 10195 link_all_deplibs=yes 10196 export_dynamic_flag_spec='${wl}-Bexport' 10197 runpath_var='LD_RUN_PATH' 10198 10199 if test "$GCC" = yes; then 10200 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10201 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10202 else 10203 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10204 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10205 fi 10206 ;; 10207 10208 uts4*) 10209 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10210 hardcode_libdir_flag_spec='-L$libdir' 10211 hardcode_shlibpath_var=no 10212 ;; 10213 10214 *) 10215 ld_shlibs=no 10216 ;; 10217 esac 10218 10219 if test x$host_vendor = xsni; then 10220 case $host in 10221 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10222 export_dynamic_flag_spec='${wl}-Blargedynsym' 10223 ;; 10224 esac 10225 fi 10226 fi 10227 10228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10229$as_echo "$ld_shlibs" >&6; } 10230test "$ld_shlibs" = no && can_build_shared=no 10231 10232with_gnu_ld=$with_gnu_ld 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248# 10249# Do we need to explicitly link libc? 10250# 10251case "x$archive_cmds_need_lc" in 10252x|xyes) 10253 # Assume -lc should be added 10254 archive_cmds_need_lc=yes 10255 10256 if test "$enable_shared" = yes && test "$GCC" = yes; then 10257 case $archive_cmds in 10258 *'~'*) 10259 # FIXME: we may have to deal with multi-command sequences. 10260 ;; 10261 '$CC '*) 10262 # Test whether the compiler implicitly links with -lc since on some 10263 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10264 # to ld, don't add -lc before -lgcc. 10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10266$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10267if ${lt_cv_archive_cmds_need_lc+:} false; then : 10268 $as_echo_n "(cached) " >&6 10269else 10270 $RM conftest* 10271 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10272 10273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10274 (eval $ac_compile) 2>&5 10275 ac_status=$? 10276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10277 test $ac_status = 0; } 2>conftest.err; then 10278 soname=conftest 10279 lib=conftest 10280 libobjs=conftest.$ac_objext 10281 deplibs= 10282 wl=$lt_prog_compiler_wl 10283 pic_flag=$lt_prog_compiler_pic 10284 compiler_flags=-v 10285 linker_flags=-v 10286 verstring= 10287 output_objdir=. 10288 libname=conftest 10289 lt_save_allow_undefined_flag=$allow_undefined_flag 10290 allow_undefined_flag= 10291 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10292 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10293 ac_status=$? 10294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10295 test $ac_status = 0; } 10296 then 10297 lt_cv_archive_cmds_need_lc=no 10298 else 10299 lt_cv_archive_cmds_need_lc=yes 10300 fi 10301 allow_undefined_flag=$lt_save_allow_undefined_flag 10302 else 10303 cat conftest.err 1>&5 10304 fi 10305 $RM conftest* 10306 10307fi 10308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10309$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10310 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10311 ;; 10312 esac 10313 fi 10314 ;; 10315esac 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10469$as_echo_n "checking dynamic linker characteristics... " >&6; } 10470 10471if test "$GCC" = yes; then 10472 case $host_os in 10473 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10474 *) lt_awk_arg="/^libraries:/" ;; 10475 esac 10476 case $host_os in 10477 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10478 *) lt_sed_strip_eq="s,=/,/,g" ;; 10479 esac 10480 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10481 case $lt_search_path_spec in 10482 *\;*) 10483 # if the path contains ";" then we assume it to be the separator 10484 # otherwise default to the standard path separator (i.e. ":") - it is 10485 # assumed that no part of a normal pathname contains ";" but that should 10486 # okay in the real world where ";" in dirpaths is itself problematic. 10487 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10488 ;; 10489 *) 10490 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10491 ;; 10492 esac 10493 # Ok, now we have the path, separated by spaces, we can step through it 10494 # and add multilib dir if necessary. 10495 lt_tmp_lt_search_path_spec= 10496 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10497 for lt_sys_path in $lt_search_path_spec; do 10498 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10499 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10500 else 10501 test -d "$lt_sys_path" && \ 10502 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10503 fi 10504 done 10505 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10506BEGIN {RS=" "; FS="/|\n";} { 10507 lt_foo=""; 10508 lt_count=0; 10509 for (lt_i = NF; lt_i > 0; lt_i--) { 10510 if ($lt_i != "" && $lt_i != ".") { 10511 if ($lt_i == "..") { 10512 lt_count++; 10513 } else { 10514 if (lt_count == 0) { 10515 lt_foo="/" $lt_i lt_foo; 10516 } else { 10517 lt_count--; 10518 } 10519 } 10520 } 10521 } 10522 if (lt_foo != "") { lt_freq[lt_foo]++; } 10523 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10524}'` 10525 # AWK program above erroneously prepends '/' to C:/dos/paths 10526 # for these hosts. 10527 case $host_os in 10528 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10529 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10530 esac 10531 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10532else 10533 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10534fi 10535library_names_spec= 10536libname_spec='lib$name' 10537soname_spec= 10538shrext_cmds=".so" 10539postinstall_cmds= 10540postuninstall_cmds= 10541finish_cmds= 10542finish_eval= 10543shlibpath_var= 10544shlibpath_overrides_runpath=unknown 10545version_type=none 10546dynamic_linker="$host_os ld.so" 10547sys_lib_dlsearch_path_spec="/lib /usr/lib" 10548need_lib_prefix=unknown 10549hardcode_into_libs=no 10550 10551# when you set need_version to no, make sure it does not cause -set_version 10552# flags to be left without arguments 10553need_version=unknown 10554 10555case $host_os in 10556aix3*) 10557 version_type=linux # correct to gnu/linux during the next big refactor 10558 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10559 shlibpath_var=LIBPATH 10560 10561 # AIX 3 has no versioning support, so we append a major version to the name. 10562 soname_spec='${libname}${release}${shared_ext}$major' 10563 ;; 10564 10565aix[4-9]*) 10566 version_type=linux # correct to gnu/linux during the next big refactor 10567 need_lib_prefix=no 10568 need_version=no 10569 hardcode_into_libs=yes 10570 if test "$host_cpu" = ia64; then 10571 # AIX 5 supports IA64 10572 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10573 shlibpath_var=LD_LIBRARY_PATH 10574 else 10575 # With GCC up to 2.95.x, collect2 would create an import file 10576 # for dependence libraries. The import file would start with 10577 # the line `#! .'. This would cause the generated library to 10578 # depend on `.', always an invalid library. This was fixed in 10579 # development snapshots of GCC prior to 3.0. 10580 case $host_os in 10581 aix4 | aix4.[01] | aix4.[01].*) 10582 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10583 echo ' yes ' 10584 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10585 : 10586 else 10587 can_build_shared=no 10588 fi 10589 ;; 10590 esac 10591 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10592 # soname into executable. Probably we can add versioning support to 10593 # collect2, so additional links can be useful in future. 10594 if test "$aix_use_runtimelinking" = yes; then 10595 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10596 # instead of lib<name>.a to let people know that these are not 10597 # typical AIX shared libraries. 10598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10599 else 10600 # We preserve .a as extension for shared libraries through AIX4.2 10601 # and later when we are not doing run time linking. 10602 library_names_spec='${libname}${release}.a $libname.a' 10603 soname_spec='${libname}${release}${shared_ext}$major' 10604 fi 10605 shlibpath_var=LIBPATH 10606 fi 10607 ;; 10608 10609amigaos*) 10610 case $host_cpu in 10611 powerpc) 10612 # Since July 2007 AmigaOS4 officially supports .so libraries. 10613 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10615 ;; 10616 m68k) 10617 library_names_spec='$libname.ixlibrary $libname.a' 10618 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10619 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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' 10620 ;; 10621 esac 10622 ;; 10623 10624beos*) 10625 library_names_spec='${libname}${shared_ext}' 10626 dynamic_linker="$host_os ld.so" 10627 shlibpath_var=LIBRARY_PATH 10628 ;; 10629 10630bsdi[45]*) 10631 version_type=linux # correct to gnu/linux during the next big refactor 10632 need_version=no 10633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10634 soname_spec='${libname}${release}${shared_ext}$major' 10635 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10636 shlibpath_var=LD_LIBRARY_PATH 10637 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10638 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10639 # the default ld.so.conf also contains /usr/contrib/lib and 10640 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10641 # libtool to hard-code these into programs 10642 ;; 10643 10644cygwin* | mingw* | pw32* | cegcc*) 10645 version_type=windows 10646 shrext_cmds=".dll" 10647 need_version=no 10648 need_lib_prefix=no 10649 10650 case $GCC,$cc_basename in 10651 yes,*) 10652 # gcc 10653 library_names_spec='$libname.dll.a' 10654 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10655 postinstall_cmds='base_file=`basename \${file}`~ 10656 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10657 dldir=$destdir/`dirname \$dlpath`~ 10658 test -d \$dldir || mkdir -p \$dldir~ 10659 $install_prog $dir/$dlname \$dldir/$dlname~ 10660 chmod a+x \$dldir/$dlname~ 10661 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10662 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10663 fi' 10664 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10665 dlpath=$dir/\$dldll~ 10666 $RM \$dlpath' 10667 shlibpath_overrides_runpath=yes 10668 10669 case $host_os in 10670 cygwin*) 10671 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10672 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10673 10674 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10675 ;; 10676 mingw* | cegcc*) 10677 # MinGW DLLs use traditional 'lib' prefix 10678 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10679 ;; 10680 pw32*) 10681 # pw32 DLLs use 'pw' prefix rather than 'lib' 10682 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10683 ;; 10684 esac 10685 dynamic_linker='Win32 ld.exe' 10686 ;; 10687 10688 *,cl*) 10689 # Native MSVC 10690 libname_spec='$name' 10691 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10692 library_names_spec='${libname}.dll.lib' 10693 10694 case $build_os in 10695 mingw*) 10696 sys_lib_search_path_spec= 10697 lt_save_ifs=$IFS 10698 IFS=';' 10699 for lt_path in $LIB 10700 do 10701 IFS=$lt_save_ifs 10702 # Let DOS variable expansion print the short 8.3 style file name. 10703 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10704 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10705 done 10706 IFS=$lt_save_ifs 10707 # Convert to MSYS style. 10708 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10709 ;; 10710 cygwin*) 10711 # Convert to unix form, then to dos form, then back to unix form 10712 # but this time dos style (no spaces!) so that the unix form looks 10713 # like /cygdrive/c/PROGRA~1:/cygdr... 10714 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10715 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10716 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10717 ;; 10718 *) 10719 sys_lib_search_path_spec="$LIB" 10720 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10721 # It is most probably a Windows format PATH. 10722 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10723 else 10724 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10725 fi 10726 # FIXME: find the short name or the path components, as spaces are 10727 # common. (e.g. "Program Files" -> "PROGRA~1") 10728 ;; 10729 esac 10730 10731 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10732 postinstall_cmds='base_file=`basename \${file}`~ 10733 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10734 dldir=$destdir/`dirname \$dlpath`~ 10735 test -d \$dldir || mkdir -p \$dldir~ 10736 $install_prog $dir/$dlname \$dldir/$dlname' 10737 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10738 dlpath=$dir/\$dldll~ 10739 $RM \$dlpath' 10740 shlibpath_overrides_runpath=yes 10741 dynamic_linker='Win32 link.exe' 10742 ;; 10743 10744 *) 10745 # Assume MSVC wrapper 10746 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10747 dynamic_linker='Win32 ld.exe' 10748 ;; 10749 esac 10750 # FIXME: first we should search . and the directory the executable is in 10751 shlibpath_var=PATH 10752 ;; 10753 10754darwin* | rhapsody*) 10755 dynamic_linker="$host_os dyld" 10756 version_type=darwin 10757 need_lib_prefix=no 10758 need_version=no 10759 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10760 soname_spec='${libname}${release}${major}$shared_ext' 10761 shlibpath_overrides_runpath=yes 10762 shlibpath_var=DYLD_LIBRARY_PATH 10763 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10764 10765 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10766 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10767 ;; 10768 10769dgux*) 10770 version_type=linux # correct to gnu/linux during the next big refactor 10771 need_lib_prefix=no 10772 need_version=no 10773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10774 soname_spec='${libname}${release}${shared_ext}$major' 10775 shlibpath_var=LD_LIBRARY_PATH 10776 ;; 10777 10778freebsd* | dragonfly*) 10779 # DragonFly does not have aout. When/if they implement a new 10780 # versioning mechanism, adjust this. 10781 if test -x /usr/bin/objformat; then 10782 objformat=`/usr/bin/objformat` 10783 else 10784 case $host_os in 10785 freebsd[23].*) objformat=aout ;; 10786 *) objformat=elf ;; 10787 esac 10788 fi 10789 version_type=freebsd-$objformat 10790 case $version_type in 10791 freebsd-elf*) 10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10793 need_version=no 10794 need_lib_prefix=no 10795 ;; 10796 freebsd-*) 10797 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10798 need_version=yes 10799 ;; 10800 esac 10801 shlibpath_var=LD_LIBRARY_PATH 10802 case $host_os in 10803 freebsd2.*) 10804 shlibpath_overrides_runpath=yes 10805 ;; 10806 freebsd3.[01]* | freebsdelf3.[01]*) 10807 shlibpath_overrides_runpath=yes 10808 hardcode_into_libs=yes 10809 ;; 10810 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10811 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10812 shlibpath_overrides_runpath=no 10813 hardcode_into_libs=yes 10814 ;; 10815 *) # from 4.6 on, and DragonFly 10816 shlibpath_overrides_runpath=yes 10817 hardcode_into_libs=yes 10818 ;; 10819 esac 10820 ;; 10821 10822gnu*) 10823 version_type=linux # correct to gnu/linux during the next big refactor 10824 need_lib_prefix=no 10825 need_version=no 10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10827 soname_spec='${libname}${release}${shared_ext}$major' 10828 shlibpath_var=LD_LIBRARY_PATH 10829 shlibpath_overrides_runpath=no 10830 hardcode_into_libs=yes 10831 ;; 10832 10833haiku*) 10834 version_type=linux # correct to gnu/linux during the next big refactor 10835 need_lib_prefix=no 10836 need_version=no 10837 dynamic_linker="$host_os runtime_loader" 10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10839 soname_spec='${libname}${release}${shared_ext}$major' 10840 shlibpath_var=LIBRARY_PATH 10841 shlibpath_overrides_runpath=yes 10842 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10843 hardcode_into_libs=yes 10844 ;; 10845 10846hpux9* | hpux10* | hpux11*) 10847 # Give a soname corresponding to the major version so that dld.sl refuses to 10848 # link against other versions. 10849 version_type=sunos 10850 need_lib_prefix=no 10851 need_version=no 10852 case $host_cpu in 10853 ia64*) 10854 shrext_cmds='.so' 10855 hardcode_into_libs=yes 10856 dynamic_linker="$host_os dld.so" 10857 shlibpath_var=LD_LIBRARY_PATH 10858 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10860 soname_spec='${libname}${release}${shared_ext}$major' 10861 if test "X$HPUX_IA64_MODE" = X32; then 10862 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10863 else 10864 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10865 fi 10866 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10867 ;; 10868 hppa*64*) 10869 shrext_cmds='.sl' 10870 hardcode_into_libs=yes 10871 dynamic_linker="$host_os dld.sl" 10872 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10873 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10875 soname_spec='${libname}${release}${shared_ext}$major' 10876 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10877 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10878 ;; 10879 *) 10880 shrext_cmds='.sl' 10881 dynamic_linker="$host_os dld.sl" 10882 shlibpath_var=SHLIB_PATH 10883 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10885 soname_spec='${libname}${release}${shared_ext}$major' 10886 ;; 10887 esac 10888 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10889 postinstall_cmds='chmod 555 $lib' 10890 # or fails outright, so override atomically: 10891 install_override_mode=555 10892 ;; 10893 10894interix[3-9]*) 10895 version_type=linux # correct to gnu/linux during the next big refactor 10896 need_lib_prefix=no 10897 need_version=no 10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10899 soname_spec='${libname}${release}${shared_ext}$major' 10900 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10901 shlibpath_var=LD_LIBRARY_PATH 10902 shlibpath_overrides_runpath=no 10903 hardcode_into_libs=yes 10904 ;; 10905 10906irix5* | irix6* | nonstopux*) 10907 case $host_os in 10908 nonstopux*) version_type=nonstopux ;; 10909 *) 10910 if test "$lt_cv_prog_gnu_ld" = yes; then 10911 version_type=linux # correct to gnu/linux during the next big refactor 10912 else 10913 version_type=irix 10914 fi ;; 10915 esac 10916 need_lib_prefix=no 10917 need_version=no 10918 soname_spec='${libname}${release}${shared_ext}$major' 10919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10920 case $host_os in 10921 irix5* | nonstopux*) 10922 libsuff= shlibsuff= 10923 ;; 10924 *) 10925 case $LD in # libtool.m4 will add one of these switches to LD 10926 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10927 libsuff= shlibsuff= libmagic=32-bit;; 10928 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10929 libsuff=32 shlibsuff=N32 libmagic=N32;; 10930 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10931 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10932 *) libsuff= shlibsuff= libmagic=never-match;; 10933 esac 10934 ;; 10935 esac 10936 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10937 shlibpath_overrides_runpath=no 10938 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10939 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10940 hardcode_into_libs=yes 10941 ;; 10942 10943# No shared lib support for Linux oldld, aout, or coff. 10944linux*oldld* | linux*aout* | linux*coff*) 10945 dynamic_linker=no 10946 ;; 10947 10948# This must be glibc/ELF. 10949linux* | k*bsd*-gnu | kopensolaris*-gnu) 10950 version_type=linux # correct to gnu/linux during the next big refactor 10951 need_lib_prefix=no 10952 need_version=no 10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10954 soname_spec='${libname}${release}${shared_ext}$major' 10955 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10956 shlibpath_var=LD_LIBRARY_PATH 10957 shlibpath_overrides_runpath=no 10958 10959 # Some binutils ld are patched to set DT_RUNPATH 10960 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10961 $as_echo_n "(cached) " >&6 10962else 10963 lt_cv_shlibpath_overrides_runpath=no 10964 save_LDFLAGS=$LDFLAGS 10965 save_libdir=$libdir 10966 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10967 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10969/* end confdefs.h. */ 10970 10971int 10972main () 10973{ 10974 10975 ; 10976 return 0; 10977} 10978_ACEOF 10979if ac_fn_c_try_link "$LINENO"; then : 10980 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10981 lt_cv_shlibpath_overrides_runpath=yes 10982fi 10983fi 10984rm -f core conftest.err conftest.$ac_objext \ 10985 conftest$ac_exeext conftest.$ac_ext 10986 LDFLAGS=$save_LDFLAGS 10987 libdir=$save_libdir 10988 10989fi 10990 10991 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10992 10993 # This implies no fast_install, which is unacceptable. 10994 # Some rework will be needed to allow for fast_install 10995 # before this can be enabled. 10996 hardcode_into_libs=yes 10997 10998 # Add ABI-specific directories to the system library path. 10999 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 11000 11001 # Append ld.so.conf contents to the search path 11002 if test -f /etc/ld.so.conf; then 11003 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' ' '` 11004 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 11005 11006 fi 11007 11008 # We used to test for /lib/ld.so.1 and disable shared libraries on 11009 # powerpc, because MkLinux only supported shared libraries with the 11010 # GNU dynamic linker. Since this was broken with cross compilers, 11011 # most powerpc-linux boxes support dynamic linking these days and 11012 # people can always --disable-shared, the test was removed, and we 11013 # assume the GNU/Linux dynamic linker is in use. 11014 dynamic_linker='GNU/Linux ld.so' 11015 ;; 11016 11017netbsd*) 11018 version_type=sunos 11019 need_lib_prefix=no 11020 need_version=no 11021 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11023 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11024 dynamic_linker='NetBSD (a.out) ld.so' 11025 else 11026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11027 soname_spec='${libname}${release}${shared_ext}$major' 11028 dynamic_linker='NetBSD ld.elf_so' 11029 fi 11030 shlibpath_var=LD_LIBRARY_PATH 11031 shlibpath_overrides_runpath=yes 11032 hardcode_into_libs=yes 11033 ;; 11034 11035newsos6) 11036 version_type=linux # correct to gnu/linux during the next big refactor 11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11038 shlibpath_var=LD_LIBRARY_PATH 11039 shlibpath_overrides_runpath=yes 11040 ;; 11041 11042*nto* | *qnx*) 11043 version_type=qnx 11044 need_lib_prefix=no 11045 need_version=no 11046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11047 soname_spec='${libname}${release}${shared_ext}$major' 11048 shlibpath_var=LD_LIBRARY_PATH 11049 shlibpath_overrides_runpath=no 11050 hardcode_into_libs=yes 11051 dynamic_linker='ldqnx.so' 11052 ;; 11053 11054openbsd*) 11055 version_type=sunos 11056 sys_lib_dlsearch_path_spec="/usr/lib" 11057 need_lib_prefix=no 11058 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11059 case $host_os in 11060 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11061 *) need_version=no ;; 11062 esac 11063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11064 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11065 shlibpath_var=LD_LIBRARY_PATH 11066 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11067 case $host_os in 11068 openbsd2.[89] | openbsd2.[89].*) 11069 shlibpath_overrides_runpath=no 11070 ;; 11071 *) 11072 shlibpath_overrides_runpath=yes 11073 ;; 11074 esac 11075 else 11076 shlibpath_overrides_runpath=yes 11077 fi 11078 ;; 11079 11080os2*) 11081 libname_spec='$name' 11082 shrext_cmds=".dll" 11083 need_lib_prefix=no 11084 library_names_spec='$libname${shared_ext} $libname.a' 11085 dynamic_linker='OS/2 ld.exe' 11086 shlibpath_var=LIBPATH 11087 ;; 11088 11089osf3* | osf4* | osf5*) 11090 version_type=osf 11091 need_lib_prefix=no 11092 need_version=no 11093 soname_spec='${libname}${release}${shared_ext}$major' 11094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11095 shlibpath_var=LD_LIBRARY_PATH 11096 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11097 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11098 ;; 11099 11100rdos*) 11101 dynamic_linker=no 11102 ;; 11103 11104solaris*) 11105 version_type=linux # correct to gnu/linux during the next big refactor 11106 need_lib_prefix=no 11107 need_version=no 11108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11109 soname_spec='${libname}${release}${shared_ext}$major' 11110 shlibpath_var=LD_LIBRARY_PATH 11111 shlibpath_overrides_runpath=yes 11112 hardcode_into_libs=yes 11113 # ldd complains unless libraries are executable 11114 postinstall_cmds='chmod +x $lib' 11115 ;; 11116 11117sunos4*) 11118 version_type=sunos 11119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11120 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11121 shlibpath_var=LD_LIBRARY_PATH 11122 shlibpath_overrides_runpath=yes 11123 if test "$with_gnu_ld" = yes; then 11124 need_lib_prefix=no 11125 fi 11126 need_version=yes 11127 ;; 11128 11129sysv4 | sysv4.3*) 11130 version_type=linux # correct to gnu/linux during the next big refactor 11131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11132 soname_spec='${libname}${release}${shared_ext}$major' 11133 shlibpath_var=LD_LIBRARY_PATH 11134 case $host_vendor in 11135 sni) 11136 shlibpath_overrides_runpath=no 11137 need_lib_prefix=no 11138 runpath_var=LD_RUN_PATH 11139 ;; 11140 siemens) 11141 need_lib_prefix=no 11142 ;; 11143 motorola) 11144 need_lib_prefix=no 11145 need_version=no 11146 shlibpath_overrides_runpath=no 11147 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11148 ;; 11149 esac 11150 ;; 11151 11152sysv4*MP*) 11153 if test -d /usr/nec ;then 11154 version_type=linux # correct to gnu/linux during the next big refactor 11155 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11156 soname_spec='$libname${shared_ext}.$major' 11157 shlibpath_var=LD_LIBRARY_PATH 11158 fi 11159 ;; 11160 11161sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11162 version_type=freebsd-elf 11163 need_lib_prefix=no 11164 need_version=no 11165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11166 soname_spec='${libname}${release}${shared_ext}$major' 11167 shlibpath_var=LD_LIBRARY_PATH 11168 shlibpath_overrides_runpath=yes 11169 hardcode_into_libs=yes 11170 if test "$with_gnu_ld" = yes; then 11171 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11172 else 11173 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11174 case $host_os in 11175 sco3.2v5*) 11176 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11177 ;; 11178 esac 11179 fi 11180 sys_lib_dlsearch_path_spec='/usr/lib' 11181 ;; 11182 11183tpf*) 11184 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11185 version_type=linux # correct to gnu/linux during the next big refactor 11186 need_lib_prefix=no 11187 need_version=no 11188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11189 shlibpath_var=LD_LIBRARY_PATH 11190 shlibpath_overrides_runpath=no 11191 hardcode_into_libs=yes 11192 ;; 11193 11194uts4*) 11195 version_type=linux # correct to gnu/linux during the next big refactor 11196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11197 soname_spec='${libname}${release}${shared_ext}$major' 11198 shlibpath_var=LD_LIBRARY_PATH 11199 ;; 11200 11201*) 11202 dynamic_linker=no 11203 ;; 11204esac 11205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11206$as_echo "$dynamic_linker" >&6; } 11207test "$dynamic_linker" = no && can_build_shared=no 11208 11209variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11210if test "$GCC" = yes; then 11211 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11212fi 11213 11214if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11215 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11216fi 11217if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11218 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11219fi 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11313$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11314hardcode_action= 11315if test -n "$hardcode_libdir_flag_spec" || 11316 test -n "$runpath_var" || 11317 test "X$hardcode_automatic" = "Xyes" ; then 11318 11319 # We can hardcode non-existent directories. 11320 if test "$hardcode_direct" != no && 11321 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11322 # have to relink, otherwise we might link with an installed library 11323 # when we should be linking with a yet-to-be-installed one 11324 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11325 test "$hardcode_minus_L" != no; then 11326 # Linking always hardcodes the temporary library directory. 11327 hardcode_action=relink 11328 else 11329 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11330 hardcode_action=immediate 11331 fi 11332else 11333 # We cannot hardcode anything, or else we can only hardcode existing 11334 # directories. 11335 hardcode_action=unsupported 11336fi 11337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11338$as_echo "$hardcode_action" >&6; } 11339 11340if test "$hardcode_action" = relink || 11341 test "$inherit_rpath" = yes; then 11342 # Fast installation is not supported 11343 enable_fast_install=no 11344elif test "$shlibpath_overrides_runpath" = yes || 11345 test "$enable_shared" = no; then 11346 # Fast installation is not necessary 11347 enable_fast_install=needless 11348fi 11349 11350 11351 11352 11353 11354 11355 if test "x$enable_dlopen" != xyes; then 11356 enable_dlopen=unknown 11357 enable_dlopen_self=unknown 11358 enable_dlopen_self_static=unknown 11359else 11360 lt_cv_dlopen=no 11361 lt_cv_dlopen_libs= 11362 11363 case $host_os in 11364 beos*) 11365 lt_cv_dlopen="load_add_on" 11366 lt_cv_dlopen_libs= 11367 lt_cv_dlopen_self=yes 11368 ;; 11369 11370 mingw* | pw32* | cegcc*) 11371 lt_cv_dlopen="LoadLibrary" 11372 lt_cv_dlopen_libs= 11373 ;; 11374 11375 cygwin*) 11376 lt_cv_dlopen="dlopen" 11377 lt_cv_dlopen_libs= 11378 ;; 11379 11380 darwin*) 11381 # if libdl is installed we need to link against it 11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11383$as_echo_n "checking for dlopen in -ldl... " >&6; } 11384if ${ac_cv_lib_dl_dlopen+:} false; then : 11385 $as_echo_n "(cached) " >&6 11386else 11387 ac_check_lib_save_LIBS=$LIBS 11388LIBS="-ldl $LIBS" 11389cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11390/* end confdefs.h. */ 11391 11392/* Override any GCC internal prototype to avoid an error. 11393 Use char because int might match the return type of a GCC 11394 builtin and then its argument prototype would still apply. */ 11395#ifdef __cplusplus 11396extern "C" 11397#endif 11398char dlopen (); 11399int 11400main () 11401{ 11402return dlopen (); 11403 ; 11404 return 0; 11405} 11406_ACEOF 11407if ac_fn_c_try_link "$LINENO"; then : 11408 ac_cv_lib_dl_dlopen=yes 11409else 11410 ac_cv_lib_dl_dlopen=no 11411fi 11412rm -f core conftest.err conftest.$ac_objext \ 11413 conftest$ac_exeext conftest.$ac_ext 11414LIBS=$ac_check_lib_save_LIBS 11415fi 11416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11417$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11418if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11419 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11420else 11421 11422 lt_cv_dlopen="dyld" 11423 lt_cv_dlopen_libs= 11424 lt_cv_dlopen_self=yes 11425 11426fi 11427 11428 ;; 11429 11430 *) 11431 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11432if test "x$ac_cv_func_shl_load" = xyes; then : 11433 lt_cv_dlopen="shl_load" 11434else 11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11436$as_echo_n "checking for shl_load in -ldld... " >&6; } 11437if ${ac_cv_lib_dld_shl_load+:} false; then : 11438 $as_echo_n "(cached) " >&6 11439else 11440 ac_check_lib_save_LIBS=$LIBS 11441LIBS="-ldld $LIBS" 11442cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11443/* end confdefs.h. */ 11444 11445/* Override any GCC internal prototype to avoid an error. 11446 Use char because int might match the return type of a GCC 11447 builtin and then its argument prototype would still apply. */ 11448#ifdef __cplusplus 11449extern "C" 11450#endif 11451char shl_load (); 11452int 11453main () 11454{ 11455return shl_load (); 11456 ; 11457 return 0; 11458} 11459_ACEOF 11460if ac_fn_c_try_link "$LINENO"; then : 11461 ac_cv_lib_dld_shl_load=yes 11462else 11463 ac_cv_lib_dld_shl_load=no 11464fi 11465rm -f core conftest.err conftest.$ac_objext \ 11466 conftest$ac_exeext conftest.$ac_ext 11467LIBS=$ac_check_lib_save_LIBS 11468fi 11469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11470$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11471if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11472 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11473else 11474 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11475if test "x$ac_cv_func_dlopen" = xyes; then : 11476 lt_cv_dlopen="dlopen" 11477else 11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11479$as_echo_n "checking for dlopen in -ldl... " >&6; } 11480if ${ac_cv_lib_dl_dlopen+:} false; then : 11481 $as_echo_n "(cached) " >&6 11482else 11483 ac_check_lib_save_LIBS=$LIBS 11484LIBS="-ldl $LIBS" 11485cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11486/* end confdefs.h. */ 11487 11488/* Override any GCC internal prototype to avoid an error. 11489 Use char because int might match the return type of a GCC 11490 builtin and then its argument prototype would still apply. */ 11491#ifdef __cplusplus 11492extern "C" 11493#endif 11494char dlopen (); 11495int 11496main () 11497{ 11498return dlopen (); 11499 ; 11500 return 0; 11501} 11502_ACEOF 11503if ac_fn_c_try_link "$LINENO"; then : 11504 ac_cv_lib_dl_dlopen=yes 11505else 11506 ac_cv_lib_dl_dlopen=no 11507fi 11508rm -f core conftest.err conftest.$ac_objext \ 11509 conftest$ac_exeext conftest.$ac_ext 11510LIBS=$ac_check_lib_save_LIBS 11511fi 11512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11513$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11514if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11515 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11516else 11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11518$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11519if ${ac_cv_lib_svld_dlopen+:} false; then : 11520 $as_echo_n "(cached) " >&6 11521else 11522 ac_check_lib_save_LIBS=$LIBS 11523LIBS="-lsvld $LIBS" 11524cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11525/* end confdefs.h. */ 11526 11527/* Override any GCC internal prototype to avoid an error. 11528 Use char because int might match the return type of a GCC 11529 builtin and then its argument prototype would still apply. */ 11530#ifdef __cplusplus 11531extern "C" 11532#endif 11533char dlopen (); 11534int 11535main () 11536{ 11537return dlopen (); 11538 ; 11539 return 0; 11540} 11541_ACEOF 11542if ac_fn_c_try_link "$LINENO"; then : 11543 ac_cv_lib_svld_dlopen=yes 11544else 11545 ac_cv_lib_svld_dlopen=no 11546fi 11547rm -f core conftest.err conftest.$ac_objext \ 11548 conftest$ac_exeext conftest.$ac_ext 11549LIBS=$ac_check_lib_save_LIBS 11550fi 11551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11552$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11553if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11554 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11555else 11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11557$as_echo_n "checking for dld_link in -ldld... " >&6; } 11558if ${ac_cv_lib_dld_dld_link+:} false; then : 11559 $as_echo_n "(cached) " >&6 11560else 11561 ac_check_lib_save_LIBS=$LIBS 11562LIBS="-ldld $LIBS" 11563cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11564/* end confdefs.h. */ 11565 11566/* Override any GCC internal prototype to avoid an error. 11567 Use char because int might match the return type of a GCC 11568 builtin and then its argument prototype would still apply. */ 11569#ifdef __cplusplus 11570extern "C" 11571#endif 11572char dld_link (); 11573int 11574main () 11575{ 11576return dld_link (); 11577 ; 11578 return 0; 11579} 11580_ACEOF 11581if ac_fn_c_try_link "$LINENO"; then : 11582 ac_cv_lib_dld_dld_link=yes 11583else 11584 ac_cv_lib_dld_dld_link=no 11585fi 11586rm -f core conftest.err conftest.$ac_objext \ 11587 conftest$ac_exeext conftest.$ac_ext 11588LIBS=$ac_check_lib_save_LIBS 11589fi 11590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11591$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11592if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11593 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11594fi 11595 11596 11597fi 11598 11599 11600fi 11601 11602 11603fi 11604 11605 11606fi 11607 11608 11609fi 11610 11611 ;; 11612 esac 11613 11614 if test "x$lt_cv_dlopen" != xno; then 11615 enable_dlopen=yes 11616 else 11617 enable_dlopen=no 11618 fi 11619 11620 case $lt_cv_dlopen in 11621 dlopen) 11622 save_CPPFLAGS="$CPPFLAGS" 11623 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11624 11625 save_LDFLAGS="$LDFLAGS" 11626 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11627 11628 save_LIBS="$LIBS" 11629 LIBS="$lt_cv_dlopen_libs $LIBS" 11630 11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11632$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11633if ${lt_cv_dlopen_self+:} false; then : 11634 $as_echo_n "(cached) " >&6 11635else 11636 if test "$cross_compiling" = yes; then : 11637 lt_cv_dlopen_self=cross 11638else 11639 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11640 lt_status=$lt_dlunknown 11641 cat > conftest.$ac_ext <<_LT_EOF 11642#line $LINENO "configure" 11643#include "confdefs.h" 11644 11645#if HAVE_DLFCN_H 11646#include <dlfcn.h> 11647#endif 11648 11649#include <stdio.h> 11650 11651#ifdef RTLD_GLOBAL 11652# define LT_DLGLOBAL RTLD_GLOBAL 11653#else 11654# ifdef DL_GLOBAL 11655# define LT_DLGLOBAL DL_GLOBAL 11656# else 11657# define LT_DLGLOBAL 0 11658# endif 11659#endif 11660 11661/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11662 find out it does not work in some platform. */ 11663#ifndef LT_DLLAZY_OR_NOW 11664# ifdef RTLD_LAZY 11665# define LT_DLLAZY_OR_NOW RTLD_LAZY 11666# else 11667# ifdef DL_LAZY 11668# define LT_DLLAZY_OR_NOW DL_LAZY 11669# else 11670# ifdef RTLD_NOW 11671# define LT_DLLAZY_OR_NOW RTLD_NOW 11672# else 11673# ifdef DL_NOW 11674# define LT_DLLAZY_OR_NOW DL_NOW 11675# else 11676# define LT_DLLAZY_OR_NOW 0 11677# endif 11678# endif 11679# endif 11680# endif 11681#endif 11682 11683/* When -fvisbility=hidden is used, assume the code has been annotated 11684 correspondingly for the symbols needed. */ 11685#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11686int fnord () __attribute__((visibility("default"))); 11687#endif 11688 11689int fnord () { return 42; } 11690int main () 11691{ 11692 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11693 int status = $lt_dlunknown; 11694 11695 if (self) 11696 { 11697 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11698 else 11699 { 11700 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11701 else puts (dlerror ()); 11702 } 11703 /* dlclose (self); */ 11704 } 11705 else 11706 puts (dlerror ()); 11707 11708 return status; 11709} 11710_LT_EOF 11711 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11712 (eval $ac_link) 2>&5 11713 ac_status=$? 11714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11715 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11716 (./conftest; exit; ) >&5 2>/dev/null 11717 lt_status=$? 11718 case x$lt_status in 11719 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11720 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11721 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11722 esac 11723 else : 11724 # compilation failed 11725 lt_cv_dlopen_self=no 11726 fi 11727fi 11728rm -fr conftest* 11729 11730 11731fi 11732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11733$as_echo "$lt_cv_dlopen_self" >&6; } 11734 11735 if test "x$lt_cv_dlopen_self" = xyes; then 11736 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11738$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11739if ${lt_cv_dlopen_self_static+:} false; then : 11740 $as_echo_n "(cached) " >&6 11741else 11742 if test "$cross_compiling" = yes; then : 11743 lt_cv_dlopen_self_static=cross 11744else 11745 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11746 lt_status=$lt_dlunknown 11747 cat > conftest.$ac_ext <<_LT_EOF 11748#line $LINENO "configure" 11749#include "confdefs.h" 11750 11751#if HAVE_DLFCN_H 11752#include <dlfcn.h> 11753#endif 11754 11755#include <stdio.h> 11756 11757#ifdef RTLD_GLOBAL 11758# define LT_DLGLOBAL RTLD_GLOBAL 11759#else 11760# ifdef DL_GLOBAL 11761# define LT_DLGLOBAL DL_GLOBAL 11762# else 11763# define LT_DLGLOBAL 0 11764# endif 11765#endif 11766 11767/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11768 find out it does not work in some platform. */ 11769#ifndef LT_DLLAZY_OR_NOW 11770# ifdef RTLD_LAZY 11771# define LT_DLLAZY_OR_NOW RTLD_LAZY 11772# else 11773# ifdef DL_LAZY 11774# define LT_DLLAZY_OR_NOW DL_LAZY 11775# else 11776# ifdef RTLD_NOW 11777# define LT_DLLAZY_OR_NOW RTLD_NOW 11778# else 11779# ifdef DL_NOW 11780# define LT_DLLAZY_OR_NOW DL_NOW 11781# else 11782# define LT_DLLAZY_OR_NOW 0 11783# endif 11784# endif 11785# endif 11786# endif 11787#endif 11788 11789/* When -fvisbility=hidden is used, assume the code has been annotated 11790 correspondingly for the symbols needed. */ 11791#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11792int fnord () __attribute__((visibility("default"))); 11793#endif 11794 11795int fnord () { return 42; } 11796int main () 11797{ 11798 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11799 int status = $lt_dlunknown; 11800 11801 if (self) 11802 { 11803 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11804 else 11805 { 11806 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11807 else puts (dlerror ()); 11808 } 11809 /* dlclose (self); */ 11810 } 11811 else 11812 puts (dlerror ()); 11813 11814 return status; 11815} 11816_LT_EOF 11817 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11818 (eval $ac_link) 2>&5 11819 ac_status=$? 11820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11821 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11822 (./conftest; exit; ) >&5 2>/dev/null 11823 lt_status=$? 11824 case x$lt_status in 11825 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11826 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11827 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11828 esac 11829 else : 11830 # compilation failed 11831 lt_cv_dlopen_self_static=no 11832 fi 11833fi 11834rm -fr conftest* 11835 11836 11837fi 11838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11839$as_echo "$lt_cv_dlopen_self_static" >&6; } 11840 fi 11841 11842 CPPFLAGS="$save_CPPFLAGS" 11843 LDFLAGS="$save_LDFLAGS" 11844 LIBS="$save_LIBS" 11845 ;; 11846 esac 11847 11848 case $lt_cv_dlopen_self in 11849 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11850 *) enable_dlopen_self=unknown ;; 11851 esac 11852 11853 case $lt_cv_dlopen_self_static in 11854 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11855 *) enable_dlopen_self_static=unknown ;; 11856 esac 11857fi 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875striplib= 11876old_striplib= 11877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11878$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11879if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11880 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11881 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11883$as_echo "yes" >&6; } 11884else 11885# FIXME - insert some real tests, host_os isn't really good enough 11886 case $host_os in 11887 darwin*) 11888 if test -n "$STRIP" ; then 11889 striplib="$STRIP -x" 11890 old_striplib="$STRIP -S" 11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11892$as_echo "yes" >&6; } 11893 else 11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11895$as_echo "no" >&6; } 11896 fi 11897 ;; 11898 *) 11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11900$as_echo "no" >&6; } 11901 ;; 11902 esac 11903fi 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 # Report which library types will actually be built 11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11918$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11920$as_echo "$can_build_shared" >&6; } 11921 11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11923$as_echo_n "checking whether to build shared libraries... " >&6; } 11924 test "$can_build_shared" = "no" && enable_shared=no 11925 11926 # On AIX, shared libraries and static libraries use the same namespace, and 11927 # are all built from PIC. 11928 case $host_os in 11929 aix3*) 11930 test "$enable_shared" = yes && enable_static=no 11931 if test -n "$RANLIB"; then 11932 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11933 postinstall_cmds='$RANLIB $lib' 11934 fi 11935 ;; 11936 11937 aix[4-9]*) 11938 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11939 test "$enable_shared" = yes && enable_static=no 11940 fi 11941 ;; 11942 esac 11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11944$as_echo "$enable_shared" >&6; } 11945 11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11947$as_echo_n "checking whether to build static libraries... " >&6; } 11948 # Make sure either enable_shared or enable_static is yes. 11949 test "$enable_shared" = yes || enable_static=yes 11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11951$as_echo "$enable_static" >&6; } 11952 11953 11954 11955 11956fi 11957ac_ext=c 11958ac_cpp='$CPP $CPPFLAGS' 11959ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11960ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11961ac_compiler_gnu=$ac_cv_c_compiler_gnu 11962 11963CC="$lt_save_CC" 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 ac_config_commands="$ac_config_commands libtool" 11980 11981 11982 11983 11984# Only expand once: 11985 11986 11987 11988# localization 11989# note that this same version is also required by autogen.sh 11990 11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 11992$as_echo_n "checking whether NLS is requested... " >&6; } 11993 # Check whether --enable-nls was given. 11994if test "${enable_nls+set}" = set; then : 11995 enableval=$enable_nls; USE_NLS=$enableval 11996else 11997 USE_NLS=yes 11998fi 11999 12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 12001$as_echo "$USE_NLS" >&6; } 12002 12003 12004 12005 12006case "$am__api_version" in 12007 1.01234) 12008 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 12009 ;; 12010 *) 12011 ;; 12012esac 12013 12014INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.5 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 12015INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 12016INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 12017if test -n "0.35.5"; then 12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.5" >&5 12019$as_echo_n "checking for intltool >= 0.35.5... " >&6; } 12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 12021$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 12022 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 12023 as_fn_error $? "Your intltool is too old. You need intltool 0.35.5 or later." "$LINENO" 5 12024fi 12025 12026# Extract the first word of "intltool-update", so it can be a program name with args. 12027set dummy intltool-update; ac_word=$2 12028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12029$as_echo_n "checking for $ac_word... " >&6; } 12030if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 12031 $as_echo_n "(cached) " >&6 12032else 12033 case $INTLTOOL_UPDATE in 12034 [\\/]* | ?:[\\/]*) 12035 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 12036 ;; 12037 *) 12038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12039for as_dir in $PATH 12040do 12041 IFS=$as_save_IFS 12042 test -z "$as_dir" && as_dir=. 12043 for ac_exec_ext in '' $ac_executable_extensions; do 12044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12045 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 12046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12047 break 2 12048 fi 12049done 12050 done 12051IFS=$as_save_IFS 12052 12053 ;; 12054esac 12055fi 12056INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 12057if test -n "$INTLTOOL_UPDATE"; then 12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 12059$as_echo "$INTLTOOL_UPDATE" >&6; } 12060else 12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12062$as_echo "no" >&6; } 12063fi 12064 12065 12066# Extract the first word of "intltool-merge", so it can be a program name with args. 12067set dummy intltool-merge; ac_word=$2 12068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12069$as_echo_n "checking for $ac_word... " >&6; } 12070if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 12071 $as_echo_n "(cached) " >&6 12072else 12073 case $INTLTOOL_MERGE in 12074 [\\/]* | ?:[\\/]*) 12075 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 12076 ;; 12077 *) 12078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12079for as_dir in $PATH 12080do 12081 IFS=$as_save_IFS 12082 test -z "$as_dir" && as_dir=. 12083 for ac_exec_ext in '' $ac_executable_extensions; do 12084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12085 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 12086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12087 break 2 12088 fi 12089done 12090 done 12091IFS=$as_save_IFS 12092 12093 ;; 12094esac 12095fi 12096INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 12097if test -n "$INTLTOOL_MERGE"; then 12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 12099$as_echo "$INTLTOOL_MERGE" >&6; } 12100else 12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12102$as_echo "no" >&6; } 12103fi 12104 12105 12106# Extract the first word of "intltool-extract", so it can be a program name with args. 12107set dummy intltool-extract; ac_word=$2 12108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12109$as_echo_n "checking for $ac_word... " >&6; } 12110if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 12111 $as_echo_n "(cached) " >&6 12112else 12113 case $INTLTOOL_EXTRACT in 12114 [\\/]* | ?:[\\/]*) 12115 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 12116 ;; 12117 *) 12118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12119for as_dir in $PATH 12120do 12121 IFS=$as_save_IFS 12122 test -z "$as_dir" && as_dir=. 12123 for ac_exec_ext in '' $ac_executable_extensions; do 12124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12125 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 12126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12127 break 2 12128 fi 12129done 12130 done 12131IFS=$as_save_IFS 12132 12133 ;; 12134esac 12135fi 12136INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 12137if test -n "$INTLTOOL_EXTRACT"; then 12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 12139$as_echo "$INTLTOOL_EXTRACT" >&6; } 12140else 12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12142$as_echo "no" >&6; } 12143fi 12144 12145 12146if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 12147 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 12148fi 12149 12150if test -z "$AM_DEFAULT_VERBOSITY"; then 12151 AM_DEFAULT_VERBOSITY=1 12152fi 12153 12154 12155INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 12156INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 12157INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 12158 12159 12160 12161 12162INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 12163intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 12164intltool__v_merge_options_0='-q' 12165 12166 12167 12168 12169 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 $< $@' 12170INTLTOOL_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 $< $@' 12171 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 $< $@' 12172 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 $< $@' 12173 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 $< $@' 12174 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 $< $@' 12175 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 $< $@' 12176 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 $< $@' 12177INTLTOOL_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 $< $@' 12178 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 $< $@' 12179 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 $< $@' 12180if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 12181 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 $< $@' 12182else 12183 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' 12184fi 12185 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 $< $@' 12186 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 $< $@' 12187 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 $< $@' 12188 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 $< $@' 12189 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 $< $@' 12190 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 $< $@' 12191 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 $< $@' 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289# Check the gettext tools to make sure they are GNU 12290# Extract the first word of "xgettext", so it can be a program name with args. 12291set dummy xgettext; ac_word=$2 12292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12293$as_echo_n "checking for $ac_word... " >&6; } 12294if ${ac_cv_path_XGETTEXT+:} false; then : 12295 $as_echo_n "(cached) " >&6 12296else 12297 case $XGETTEXT in 12298 [\\/]* | ?:[\\/]*) 12299 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 12300 ;; 12301 *) 12302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12303for as_dir in $PATH 12304do 12305 IFS=$as_save_IFS 12306 test -z "$as_dir" && as_dir=. 12307 for ac_exec_ext in '' $ac_executable_extensions; do 12308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12309 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 12310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12311 break 2 12312 fi 12313done 12314 done 12315IFS=$as_save_IFS 12316 12317 ;; 12318esac 12319fi 12320XGETTEXT=$ac_cv_path_XGETTEXT 12321if test -n "$XGETTEXT"; then 12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 12323$as_echo "$XGETTEXT" >&6; } 12324else 12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12326$as_echo "no" >&6; } 12327fi 12328 12329 12330# Extract the first word of "msgmerge", so it can be a program name with args. 12331set dummy msgmerge; ac_word=$2 12332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12333$as_echo_n "checking for $ac_word... " >&6; } 12334if ${ac_cv_path_MSGMERGE+:} false; then : 12335 $as_echo_n "(cached) " >&6 12336else 12337 case $MSGMERGE in 12338 [\\/]* | ?:[\\/]*) 12339 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 12340 ;; 12341 *) 12342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12343for as_dir in $PATH 12344do 12345 IFS=$as_save_IFS 12346 test -z "$as_dir" && as_dir=. 12347 for ac_exec_ext in '' $ac_executable_extensions; do 12348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12349 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 12350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12351 break 2 12352 fi 12353done 12354 done 12355IFS=$as_save_IFS 12356 12357 ;; 12358esac 12359fi 12360MSGMERGE=$ac_cv_path_MSGMERGE 12361if test -n "$MSGMERGE"; then 12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 12363$as_echo "$MSGMERGE" >&6; } 12364else 12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12366$as_echo "no" >&6; } 12367fi 12368 12369 12370# Extract the first word of "msgfmt", so it can be a program name with args. 12371set dummy msgfmt; ac_word=$2 12372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12373$as_echo_n "checking for $ac_word... " >&6; } 12374if ${ac_cv_path_MSGFMT+:} false; then : 12375 $as_echo_n "(cached) " >&6 12376else 12377 case $MSGFMT in 12378 [\\/]* | ?:[\\/]*) 12379 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 12380 ;; 12381 *) 12382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12383for as_dir in $PATH 12384do 12385 IFS=$as_save_IFS 12386 test -z "$as_dir" && as_dir=. 12387 for ac_exec_ext in '' $ac_executable_extensions; do 12388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12389 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 12390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12391 break 2 12392 fi 12393done 12394 done 12395IFS=$as_save_IFS 12396 12397 ;; 12398esac 12399fi 12400MSGFMT=$ac_cv_path_MSGFMT 12401if test -n "$MSGFMT"; then 12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 12403$as_echo "$MSGFMT" >&6; } 12404else 12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12406$as_echo "no" >&6; } 12407fi 12408 12409 12410# Extract the first word of "gmsgfmt", so it can be a program name with args. 12411set dummy gmsgfmt; ac_word=$2 12412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12413$as_echo_n "checking for $ac_word... " >&6; } 12414if ${ac_cv_path_GMSGFMT+:} false; then : 12415 $as_echo_n "(cached) " >&6 12416else 12417 case $GMSGFMT in 12418 [\\/]* | ?:[\\/]*) 12419 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 12420 ;; 12421 *) 12422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12423for as_dir in $PATH 12424do 12425 IFS=$as_save_IFS 12426 test -z "$as_dir" && as_dir=. 12427 for ac_exec_ext in '' $ac_executable_extensions; do 12428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12429 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 12430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12431 break 2 12432 fi 12433done 12434 done 12435IFS=$as_save_IFS 12436 12437 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 12438 ;; 12439esac 12440fi 12441GMSGFMT=$ac_cv_path_GMSGFMT 12442if test -n "$GMSGFMT"; then 12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 12444$as_echo "$GMSGFMT" >&6; } 12445else 12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12447$as_echo "no" >&6; } 12448fi 12449 12450 12451if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 12452 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 12453fi 12454xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 12455mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 12456mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 12457if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 12458 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 12459fi 12460 12461# Extract the first word of "perl", so it can be a program name with args. 12462set dummy perl; ac_word=$2 12463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12464$as_echo_n "checking for $ac_word... " >&6; } 12465if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 12466 $as_echo_n "(cached) " >&6 12467else 12468 case $INTLTOOL_PERL in 12469 [\\/]* | ?:[\\/]*) 12470 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 12471 ;; 12472 *) 12473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12474for as_dir in $PATH 12475do 12476 IFS=$as_save_IFS 12477 test -z "$as_dir" && as_dir=. 12478 for ac_exec_ext in '' $ac_executable_extensions; do 12479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12480 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 12481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12482 break 2 12483 fi 12484done 12485 done 12486IFS=$as_save_IFS 12487 12488 ;; 12489esac 12490fi 12491INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 12492if test -n "$INTLTOOL_PERL"; then 12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 12494$as_echo "$INTLTOOL_PERL" >&6; } 12495else 12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12497$as_echo "no" >&6; } 12498fi 12499 12500 12501if test -z "$INTLTOOL_PERL"; then 12502 as_fn_error $? "perl not found" "$LINENO" 5 12503fi 12504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 12505$as_echo_n "checking for perl >= 5.8.1... " >&6; } 12506$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 12507if test $? -ne 0; then 12508 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 12509else 12510 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 12512$as_echo "$IT_PERL_VERSION" >&6; } 12513fi 12514if test "x" != "xno-xml"; then 12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 12516$as_echo_n "checking for XML::Parser... " >&6; } 12517 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 12519$as_echo "ok" >&6; } 12520 else 12521 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 12522 fi 12523fi 12524 12525# Substitute ALL_LINGUAS so we can use it in po/Makefile 12526 12527 12528# Set DATADIRNAME correctly if it is not set yet 12529# (copied from glib-gettext.m4) 12530if test -z "$DATADIRNAME"; then 12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12532/* end confdefs.h. */ 12533 12534int 12535main () 12536{ 12537extern int _nl_msg_cat_cntr; 12538 return _nl_msg_cat_cntr 12539 ; 12540 return 0; 12541} 12542_ACEOF 12543if ac_fn_c_try_link "$LINENO"; then : 12544 DATADIRNAME=share 12545else 12546 case $host in 12547 *-*-solaris*) 12548 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 12549if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 12550 DATADIRNAME=share 12551else 12552 DATADIRNAME=lib 12553fi 12554 12555 ;; 12556 *) 12557 DATADIRNAME=lib 12558 ;; 12559 esac 12560fi 12561rm -f core conftest.err conftest.$ac_objext \ 12562 conftest$ac_exeext conftest.$ac_ext 12563fi 12564 12565 12566 12567 12568 12569GETTEXT_PACKAGE=${PACKAGE} 12570 12571 12572cat >>confdefs.h <<_ACEOF 12573#define GETTEXT_PACKAGE "${GETTEXT_PACKAGE}" 12574_ACEOF 12575 12576 12577 for ac_header in locale.h 12578do : 12579 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 12580if test "x$ac_cv_header_locale_h" = xyes; then : 12581 cat >>confdefs.h <<_ACEOF 12582#define HAVE_LOCALE_H 1 12583_ACEOF 12584 12585fi 12586 12587done 12588 12589 if test $ac_cv_header_locale_h = yes; then 12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 12591$as_echo_n "checking for LC_MESSAGES... " >&6; } 12592if ${am_cv_val_LC_MESSAGES+:} false; then : 12593 $as_echo_n "(cached) " >&6 12594else 12595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12596/* end confdefs.h. */ 12597#include <locale.h> 12598int 12599main () 12600{ 12601return LC_MESSAGES 12602 ; 12603 return 0; 12604} 12605_ACEOF 12606if ac_fn_c_try_link "$LINENO"; then : 12607 am_cv_val_LC_MESSAGES=yes 12608else 12609 am_cv_val_LC_MESSAGES=no 12610fi 12611rm -f core conftest.err conftest.$ac_objext \ 12612 conftest$ac_exeext conftest.$ac_ext 12613fi 12614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 12615$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 12616 if test $am_cv_val_LC_MESSAGES = yes; then 12617 12618$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 12619 12620 fi 12621 fi 12622 USE_NLS=yes 12623 12624 12625 gt_cv_have_gettext=no 12626 12627 CATOBJEXT=NONE 12628 XGETTEXT=: 12629 INTLLIBS= 12630 12631 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 12632if test "x$ac_cv_header_libintl_h" = xyes; then : 12633 gt_cv_func_dgettext_libintl="no" 12634 libintl_extra_libs="" 12635 12636 # 12637 # First check in libc 12638 # 12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 12640$as_echo_n "checking for ngettext in libc... " >&6; } 12641if ${gt_cv_func_ngettext_libc+:} false; then : 12642 $as_echo_n "(cached) " >&6 12643else 12644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12645/* end confdefs.h. */ 12646 12647#include <libintl.h> 12648 12649int 12650main () 12651{ 12652return !ngettext ("","", 1) 12653 ; 12654 return 0; 12655} 12656_ACEOF 12657if ac_fn_c_try_link "$LINENO"; then : 12658 gt_cv_func_ngettext_libc=yes 12659else 12660 gt_cv_func_ngettext_libc=no 12661fi 12662rm -f core conftest.err conftest.$ac_objext \ 12663 conftest$ac_exeext conftest.$ac_ext 12664 12665fi 12666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 12667$as_echo "$gt_cv_func_ngettext_libc" >&6; } 12668 12669 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 12671$as_echo_n "checking for dgettext in libc... " >&6; } 12672if ${gt_cv_func_dgettext_libc+:} false; then : 12673 $as_echo_n "(cached) " >&6 12674else 12675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12676/* end confdefs.h. */ 12677 12678#include <libintl.h> 12679 12680int 12681main () 12682{ 12683return !dgettext ("","") 12684 ; 12685 return 0; 12686} 12687_ACEOF 12688if ac_fn_c_try_link "$LINENO"; then : 12689 gt_cv_func_dgettext_libc=yes 12690else 12691 gt_cv_func_dgettext_libc=no 12692fi 12693rm -f core conftest.err conftest.$ac_objext \ 12694 conftest$ac_exeext conftest.$ac_ext 12695 12696fi 12697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 12698$as_echo "$gt_cv_func_dgettext_libc" >&6; } 12699 fi 12700 12701 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 12702 for ac_func in bind_textdomain_codeset 12703do : 12704 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 12705if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 12706 cat >>confdefs.h <<_ACEOF 12707#define HAVE_BIND_TEXTDOMAIN_CODESET 1 12708_ACEOF 12709 12710fi 12711done 12712 12713 fi 12714 12715 # 12716 # If we don't have everything we want, check in libintl 12717 # 12718 if test "$gt_cv_func_dgettext_libc" != "yes" \ 12719 || test "$gt_cv_func_ngettext_libc" != "yes" \ 12720 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 12721 12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 12723$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 12724if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 12725 $as_echo_n "(cached) " >&6 12726else 12727 ac_check_lib_save_LIBS=$LIBS 12728LIBS="-lintl $LIBS" 12729cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12730/* end confdefs.h. */ 12731 12732/* Override any GCC internal prototype to avoid an error. 12733 Use char because int might match the return type of a GCC 12734 builtin and then its argument prototype would still apply. */ 12735#ifdef __cplusplus 12736extern "C" 12737#endif 12738char bindtextdomain (); 12739int 12740main () 12741{ 12742return bindtextdomain (); 12743 ; 12744 return 0; 12745} 12746_ACEOF 12747if ac_fn_c_try_link "$LINENO"; then : 12748 ac_cv_lib_intl_bindtextdomain=yes 12749else 12750 ac_cv_lib_intl_bindtextdomain=no 12751fi 12752rm -f core conftest.err conftest.$ac_objext \ 12753 conftest$ac_exeext conftest.$ac_ext 12754LIBS=$ac_check_lib_save_LIBS 12755fi 12756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 12757$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 12758if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 12760$as_echo_n "checking for ngettext in -lintl... " >&6; } 12761if ${ac_cv_lib_intl_ngettext+:} false; then : 12762 $as_echo_n "(cached) " >&6 12763else 12764 ac_check_lib_save_LIBS=$LIBS 12765LIBS="-lintl $LIBS" 12766cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12767/* end confdefs.h. */ 12768 12769/* Override any GCC internal prototype to avoid an error. 12770 Use char because int might match the return type of a GCC 12771 builtin and then its argument prototype would still apply. */ 12772#ifdef __cplusplus 12773extern "C" 12774#endif 12775char ngettext (); 12776int 12777main () 12778{ 12779return ngettext (); 12780 ; 12781 return 0; 12782} 12783_ACEOF 12784if ac_fn_c_try_link "$LINENO"; then : 12785 ac_cv_lib_intl_ngettext=yes 12786else 12787 ac_cv_lib_intl_ngettext=no 12788fi 12789rm -f core conftest.err conftest.$ac_objext \ 12790 conftest$ac_exeext conftest.$ac_ext 12791LIBS=$ac_check_lib_save_LIBS 12792fi 12793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 12794$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 12795if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 12797$as_echo_n "checking for dgettext in -lintl... " >&6; } 12798if ${ac_cv_lib_intl_dgettext+:} false; then : 12799 $as_echo_n "(cached) " >&6 12800else 12801 ac_check_lib_save_LIBS=$LIBS 12802LIBS="-lintl $LIBS" 12803cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12804/* end confdefs.h. */ 12805 12806/* Override any GCC internal prototype to avoid an error. 12807 Use char because int might match the return type of a GCC 12808 builtin and then its argument prototype would still apply. */ 12809#ifdef __cplusplus 12810extern "C" 12811#endif 12812char dgettext (); 12813int 12814main () 12815{ 12816return dgettext (); 12817 ; 12818 return 0; 12819} 12820_ACEOF 12821if ac_fn_c_try_link "$LINENO"; then : 12822 ac_cv_lib_intl_dgettext=yes 12823else 12824 ac_cv_lib_intl_dgettext=no 12825fi 12826rm -f core conftest.err conftest.$ac_objext \ 12827 conftest$ac_exeext conftest.$ac_ext 12828LIBS=$ac_check_lib_save_LIBS 12829fi 12830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 12831$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 12832if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 12833 gt_cv_func_dgettext_libintl=yes 12834fi 12835 12836fi 12837 12838fi 12839 12840 12841 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 12843$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 12845$as_echo "" >&6; } 12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 12847$as_echo_n "checking for ngettext in -lintl... " >&6; } 12848if ${ac_cv_lib_intl_ngettext+:} false; then : 12849 $as_echo_n "(cached) " >&6 12850else 12851 ac_check_lib_save_LIBS=$LIBS 12852LIBS="-lintl -liconv $LIBS" 12853cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12854/* end confdefs.h. */ 12855 12856/* Override any GCC internal prototype to avoid an error. 12857 Use char because int might match the return type of a GCC 12858 builtin and then its argument prototype would still apply. */ 12859#ifdef __cplusplus 12860extern "C" 12861#endif 12862char ngettext (); 12863int 12864main () 12865{ 12866return ngettext (); 12867 ; 12868 return 0; 12869} 12870_ACEOF 12871if ac_fn_c_try_link "$LINENO"; then : 12872 ac_cv_lib_intl_ngettext=yes 12873else 12874 ac_cv_lib_intl_ngettext=no 12875fi 12876rm -f core conftest.err conftest.$ac_objext \ 12877 conftest$ac_exeext conftest.$ac_ext 12878LIBS=$ac_check_lib_save_LIBS 12879fi 12880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 12881$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 12882if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 12884$as_echo_n "checking for dcgettext in -lintl... " >&6; } 12885if ${ac_cv_lib_intl_dcgettext+:} false; then : 12886 $as_echo_n "(cached) " >&6 12887else 12888 ac_check_lib_save_LIBS=$LIBS 12889LIBS="-lintl -liconv $LIBS" 12890cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12891/* end confdefs.h. */ 12892 12893/* Override any GCC internal prototype to avoid an error. 12894 Use char because int might match the return type of a GCC 12895 builtin and then its argument prototype would still apply. */ 12896#ifdef __cplusplus 12897extern "C" 12898#endif 12899char dcgettext (); 12900int 12901main () 12902{ 12903return dcgettext (); 12904 ; 12905 return 0; 12906} 12907_ACEOF 12908if ac_fn_c_try_link "$LINENO"; then : 12909 ac_cv_lib_intl_dcgettext=yes 12910else 12911 ac_cv_lib_intl_dcgettext=no 12912fi 12913rm -f core conftest.err conftest.$ac_objext \ 12914 conftest$ac_exeext conftest.$ac_ext 12915LIBS=$ac_check_lib_save_LIBS 12916fi 12917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 12918$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 12919if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 12920 gt_cv_func_dgettext_libintl=yes 12921 libintl_extra_libs=-liconv 12922else 12923 : 12924fi 12925 12926else 12927 : 12928fi 12929 12930 fi 12931 12932 # 12933 # If we found libintl, then check in it for bind_textdomain_codeset(); 12934 # we'll prefer libc if neither have bind_textdomain_codeset(), 12935 # and both have dgettext and ngettext 12936 # 12937 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 12938 glib_save_LIBS="$LIBS" 12939 LIBS="$LIBS -lintl $libintl_extra_libs" 12940 unset ac_cv_func_bind_textdomain_codeset 12941 for ac_func in bind_textdomain_codeset 12942do : 12943 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 12944if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 12945 cat >>confdefs.h <<_ACEOF 12946#define HAVE_BIND_TEXTDOMAIN_CODESET 1 12947_ACEOF 12948 12949fi 12950done 12951 12952 LIBS="$glib_save_LIBS" 12953 12954 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 12955 gt_cv_func_dgettext_libc=no 12956 else 12957 if test "$gt_cv_func_dgettext_libc" = "yes" \ 12958 && test "$gt_cv_func_ngettext_libc" = "yes"; then 12959 gt_cv_func_dgettext_libintl=no 12960 fi 12961 fi 12962 fi 12963 fi 12964 12965 if test "$gt_cv_func_dgettext_libc" = "yes" \ 12966 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 12967 gt_cv_have_gettext=yes 12968 fi 12969 12970 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 12971 INTLLIBS="-lintl $libintl_extra_libs" 12972 fi 12973 12974 if test "$gt_cv_have_gettext" = "yes"; then 12975 12976$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 12977 12978 # Extract the first word of "msgfmt", so it can be a program name with args. 12979set dummy msgfmt; ac_word=$2 12980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12981$as_echo_n "checking for $ac_word... " >&6; } 12982if ${ac_cv_path_MSGFMT+:} false; then : 12983 $as_echo_n "(cached) " >&6 12984else 12985 case "$MSGFMT" in 12986 /*) 12987 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 12988 ;; 12989 *) 12990 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 12991 for ac_dir in $PATH; do 12992 test -z "$ac_dir" && ac_dir=. 12993 if test -f $ac_dir/$ac_word; then 12994 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 12995 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 12996 break 12997 fi 12998 fi 12999 done 13000 IFS="$ac_save_ifs" 13001 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 13002 ;; 13003esac 13004fi 13005MSGFMT="$ac_cv_path_MSGFMT" 13006if test "$MSGFMT" != "no"; then 13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 13008$as_echo "$MSGFMT" >&6; } 13009else 13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13011$as_echo "no" >&6; } 13012fi 13013 if test "$MSGFMT" != "no"; then 13014 glib_save_LIBS="$LIBS" 13015 LIBS="$LIBS $INTLLIBS" 13016 for ac_func in dcgettext 13017do : 13018 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 13019if test "x$ac_cv_func_dcgettext" = xyes; then : 13020 cat >>confdefs.h <<_ACEOF 13021#define HAVE_DCGETTEXT 1 13022_ACEOF 13023 13024fi 13025done 13026 13027 MSGFMT_OPTS= 13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 13029$as_echo_n "checking if msgfmt accepts -c... " >&6; } 13030 cat >conftest.foo <<_ACEOF 13031 13032msgid "" 13033msgstr "" 13034"Content-Type: text/plain; charset=UTF-8\n" 13035"Project-Id-Version: test 1.0\n" 13036"PO-Revision-Date: 2007-02-15 12:01+0100\n" 13037"Last-Translator: test <foo@bar.xx>\n" 13038"Language-Team: C <LL@li.org>\n" 13039"MIME-Version: 1.0\n" 13040"Content-Transfer-Encoding: 8bit\n" 13041 13042_ACEOF 13043if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 13044 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 13045 ac_status=$? 13046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13047 test $ac_status = 0; }; then 13048 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13049$as_echo "yes" >&6; } 13050else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13051$as_echo "no" >&6; } 13052echo "$as_me: failed input was:" >&5 13053sed 's/^/| /' conftest.foo >&5 13054fi 13055 13056 # Extract the first word of "gmsgfmt", so it can be a program name with args. 13057set dummy gmsgfmt; ac_word=$2 13058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13059$as_echo_n "checking for $ac_word... " >&6; } 13060if ${ac_cv_path_GMSGFMT+:} false; then : 13061 $as_echo_n "(cached) " >&6 13062else 13063 case $GMSGFMT in 13064 [\\/]* | ?:[\\/]*) 13065 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 13066 ;; 13067 *) 13068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13069for as_dir in $PATH 13070do 13071 IFS=$as_save_IFS 13072 test -z "$as_dir" && as_dir=. 13073 for ac_exec_ext in '' $ac_executable_extensions; do 13074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13075 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 13076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13077 break 2 13078 fi 13079done 13080 done 13081IFS=$as_save_IFS 13082 13083 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 13084 ;; 13085esac 13086fi 13087GMSGFMT=$ac_cv_path_GMSGFMT 13088if test -n "$GMSGFMT"; then 13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 13090$as_echo "$GMSGFMT" >&6; } 13091else 13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13093$as_echo "no" >&6; } 13094fi 13095 13096 13097 # Extract the first word of "xgettext", so it can be a program name with args. 13098set dummy xgettext; ac_word=$2 13099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13100$as_echo_n "checking for $ac_word... " >&6; } 13101if ${ac_cv_path_XGETTEXT+:} false; then : 13102 $as_echo_n "(cached) " >&6 13103else 13104 case "$XGETTEXT" in 13105 /*) 13106 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 13107 ;; 13108 *) 13109 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 13110 for ac_dir in $PATH; do 13111 test -z "$ac_dir" && ac_dir=. 13112 if test -f $ac_dir/$ac_word; then 13113 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 13114 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 13115 break 13116 fi 13117 fi 13118 done 13119 IFS="$ac_save_ifs" 13120 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 13121 ;; 13122esac 13123fi 13124XGETTEXT="$ac_cv_path_XGETTEXT" 13125if test "$XGETTEXT" != ":"; then 13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 13127$as_echo "$XGETTEXT" >&6; } 13128else 13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13130$as_echo "no" >&6; } 13131fi 13132 13133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13134/* end confdefs.h. */ 13135 13136int 13137main () 13138{ 13139extern int _nl_msg_cat_cntr; 13140 return _nl_msg_cat_cntr 13141 ; 13142 return 0; 13143} 13144_ACEOF 13145if ac_fn_c_try_link "$LINENO"; then : 13146 CATOBJEXT=.gmo 13147 DATADIRNAME=share 13148else 13149 case $host in 13150 *-*-solaris*) 13151 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 13152if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 13153 CATOBJEXT=.gmo 13154 DATADIRNAME=share 13155else 13156 CATOBJEXT=.mo 13157 DATADIRNAME=lib 13158fi 13159 13160 ;; 13161 *-*-openbsd*) 13162 CATOBJEXT=.mo 13163 DATADIRNAME=share 13164 ;; 13165 *) 13166 CATOBJEXT=.mo 13167 DATADIRNAME=lib 13168 ;; 13169 esac 13170fi 13171rm -f core conftest.err conftest.$ac_objext \ 13172 conftest$ac_exeext conftest.$ac_ext 13173 LIBS="$glib_save_LIBS" 13174 INSTOBJEXT=.mo 13175 else 13176 gt_cv_have_gettext=no 13177 fi 13178 fi 13179 13180fi 13181 13182 13183 13184 if test "$gt_cv_have_gettext" = "yes" ; then 13185 13186$as_echo "#define ENABLE_NLS 1" >>confdefs.h 13187 13188 fi 13189 13190 if test "$XGETTEXT" != ":"; then 13191 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 13192 : ; 13193 else 13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 13195$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 13196 XGETTEXT=":" 13197 fi 13198 fi 13199 13200 # We need to process the po/ directory. 13201 POSUB=po 13202 13203 ac_config_commands="$ac_config_commands default-1" 13204 13205 13206 for lang in $ALL_LINGUAS; do 13207 GMOFILES="$GMOFILES $lang.gmo" 13208 POFILES="$POFILES $lang.po" 13209 done 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 if test "$gt_cv_have_gettext" = "yes"; then 13224 if test "x$ALL_LINGUAS" = "x"; then 13225 LINGUAS= 13226 else 13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 13228$as_echo_n "checking for catalogs to be installed... " >&6; } 13229 NEW_LINGUAS= 13230 for presentlang in $ALL_LINGUAS; do 13231 useit=no 13232 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 13233 desiredlanguages="$LINGUAS" 13234 else 13235 desiredlanguages="$ALL_LINGUAS" 13236 fi 13237 for desiredlang in $desiredlanguages; do 13238 # Use the presentlang catalog if desiredlang is 13239 # a. equal to presentlang, or 13240 # b. a variant of presentlang (because in this case, 13241 # presentlang can be used as a fallback for messages 13242 # which are not translated in the desiredlang catalog). 13243 case "$desiredlang" in 13244 "$presentlang"*) useit=yes;; 13245 esac 13246 done 13247 if test $useit = yes; then 13248 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 13249 fi 13250 done 13251 LINGUAS=$NEW_LINGUAS 13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 13253$as_echo "$LINGUAS" >&6; } 13254 fi 13255 13256 if test -n "$LINGUAS"; then 13257 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 13258 fi 13259 fi 13260 13261 MKINSTALLDIRS= 13262 if test -n "$ac_aux_dir"; then 13263 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 13264 fi 13265 if test -z "$MKINSTALLDIRS"; then 13266 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 13267 fi 13268 13269 13270 test -d po || mkdir po 13271 if test "x$srcdir" != "x."; then 13272 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 13273 posrcprefix="$srcdir/" 13274 else 13275 posrcprefix="../$srcdir/" 13276 fi 13277 else 13278 posrcprefix="../" 13279 fi 13280 rm -f po/POTFILES 13281 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 13282 < $srcdir/po/POTFILES.in > po/POTFILES 13283 13284 13285# a counter of fatal warnings emitted 13286let na_fatal_count=0 13287 13288# we are using pkgconfig for all development libraries we need 13289# Extract the first word of "pkg-config", so it can be a program name with args. 13290set dummy pkg-config; ac_word=$2 13291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13292$as_echo_n "checking for $ac_word... " >&6; } 13293if ${ac_cv_path_PKG_CONFIG+:} false; then : 13294 $as_echo_n "(cached) " >&6 13295else 13296 case $PKG_CONFIG in 13297 [\\/]* | ?:[\\/]*) 13298 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13299 ;; 13300 *) 13301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13302for as_dir in $PATH 13303do 13304 IFS=$as_save_IFS 13305 test -z "$as_dir" && as_dir=. 13306 for ac_exec_ext in '' $ac_executable_extensions; do 13307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13308 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13310 break 2 13311 fi 13312done 13313 done 13314IFS=$as_save_IFS 13315 13316 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 13317 ;; 13318esac 13319fi 13320PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13321if test -n "$PKG_CONFIG"; then 13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 13323$as_echo "$PKG_CONFIG" >&6; } 13324else 13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13326$as_echo "no" >&6; } 13327fi 13328 13329 13330if test "${PKG_CONFIG}" = "no"; then 13331 as_fn_error $? "You need to install pkg-config" "$LINENO" 5 13332fi 13333 13334# Have and want GConf support ? 13335 13336 # Check whether --enable-gconf was given. 13337if test "${enable_gconf+set}" = set; then : 13338 enableval=$enable_gconf; enable_gconf=$enableval 13339else 13340 enable_gconf="auto" 13341fi 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 13352 if test -n "$ac_tool_prefix"; then 13353 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 13354set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 13355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13356$as_echo_n "checking for $ac_word... " >&6; } 13357if ${ac_cv_path_PKG_CONFIG+:} false; then : 13358 $as_echo_n "(cached) " >&6 13359else 13360 case $PKG_CONFIG in 13361 [\\/]* | ?:[\\/]*) 13362 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13363 ;; 13364 *) 13365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13366for as_dir in $PATH 13367do 13368 IFS=$as_save_IFS 13369 test -z "$as_dir" && as_dir=. 13370 for ac_exec_ext in '' $ac_executable_extensions; do 13371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13372 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13374 break 2 13375 fi 13376done 13377 done 13378IFS=$as_save_IFS 13379 13380 ;; 13381esac 13382fi 13383PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13384if test -n "$PKG_CONFIG"; then 13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 13386$as_echo "$PKG_CONFIG" >&6; } 13387else 13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13389$as_echo "no" >&6; } 13390fi 13391 13392 13393fi 13394if test -z "$ac_cv_path_PKG_CONFIG"; then 13395 ac_pt_PKG_CONFIG=$PKG_CONFIG 13396 # Extract the first word of "pkg-config", so it can be a program name with args. 13397set dummy pkg-config; ac_word=$2 13398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13399$as_echo_n "checking for $ac_word... " >&6; } 13400if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 13401 $as_echo_n "(cached) " >&6 13402else 13403 case $ac_pt_PKG_CONFIG in 13404 [\\/]* | ?:[\\/]*) 13405 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 13406 ;; 13407 *) 13408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13409for as_dir in $PATH 13410do 13411 IFS=$as_save_IFS 13412 test -z "$as_dir" && as_dir=. 13413 for ac_exec_ext in '' $ac_executable_extensions; do 13414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13415 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13417 break 2 13418 fi 13419done 13420 done 13421IFS=$as_save_IFS 13422 13423 ;; 13424esac 13425fi 13426ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 13427if test -n "$ac_pt_PKG_CONFIG"; then 13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 13429$as_echo "$ac_pt_PKG_CONFIG" >&6; } 13430else 13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13432$as_echo "no" >&6; } 13433fi 13434 13435 if test "x$ac_pt_PKG_CONFIG" = x; then 13436 PKG_CONFIG="" 13437 else 13438 case $cross_compiling:$ac_tool_warned in 13439yes:) 13440{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13441$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13442ac_tool_warned=yes ;; 13443esac 13444 PKG_CONFIG=$ac_pt_PKG_CONFIG 13445 fi 13446else 13447 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 13448fi 13449 13450fi 13451if test -n "$PKG_CONFIG"; then 13452 _pkg_min_version=0.9.0 13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 13454$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 13455 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13457$as_echo "yes" >&6; } 13458 else 13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13460$as_echo "no" >&6; } 13461 PKG_CONFIG="" 13462 fi 13463fi 13464 13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GConf is enabled" >&5 13466$as_echo_n "checking whether GConf is enabled... " >&6; } 13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_gconf}" >&5 13468$as_echo "${enable_gconf}" >&6; } 13469 compile_with_gconf="no" 13470 13471 if test "${enable_gconf}" = "auto"; then 13472 # Extract the first word of "gconftool-2", so it can be a program name with args. 13473set dummy gconftool-2; ac_word=$2 13474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13475$as_echo_n "checking for $ac_word... " >&6; } 13476if ${ac_cv_path_have_gconf+:} false; then : 13477 $as_echo_n "(cached) " >&6 13478else 13479 case $have_gconf in 13480 [\\/]* | ?:[\\/]*) 13481 ac_cv_path_have_gconf="$have_gconf" # Let the user override the test with a path. 13482 ;; 13483 *) 13484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13485for as_dir in no 13486do 13487 IFS=$as_save_IFS 13488 test -z "$as_dir" && as_dir=. 13489 for ac_exec_ext in '' $ac_executable_extensions; do 13490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13491 ac_cv_path_have_gconf="$as_dir/$ac_word$ac_exec_ext" 13492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13493 break 2 13494 fi 13495done 13496 done 13497IFS=$as_save_IFS 13498 13499 test -z "$ac_cv_path_have_gconf" && ac_cv_path_have_gconf="yes" 13500 ;; 13501esac 13502fi 13503have_gconf=$ac_cv_path_have_gconf 13504if test -n "$have_gconf"; then 13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gconf" >&5 13506$as_echo "$have_gconf" >&6; } 13507else 13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13509$as_echo "no" >&6; } 13510fi 13511 13512 13513 if test "${have_gconf}" = "yes"; then 13514 compile_with_gconf="yes" 13515 fi 13516 13517 else 13518 if test "${enable_gconf}" = "yes"; then 13519 # Extract the first word of "gconftool-2", so it can be a program name with args. 13520set dummy gconftool-2; ac_word=$2 13521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13522$as_echo_n "checking for $ac_word... " >&6; } 13523if ${ac_cv_path_have_gconf+:} false; then : 13524 $as_echo_n "(cached) " >&6 13525else 13526 case $have_gconf in 13527 [\\/]* | ?:[\\/]*) 13528 ac_cv_path_have_gconf="$have_gconf" # Let the user override the test with a path. 13529 ;; 13530 *) 13531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13532for as_dir in no 13533do 13534 IFS=$as_save_IFS 13535 test -z "$as_dir" && as_dir=. 13536 for ac_exec_ext in '' $ac_executable_extensions; do 13537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13538 ac_cv_path_have_gconf="$as_dir/$ac_word$ac_exec_ext" 13539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13540 break 2 13541 fi 13542done 13543 done 13544IFS=$as_save_IFS 13545 13546 test -z "$ac_cv_path_have_gconf" && ac_cv_path_have_gconf="yes" 13547 ;; 13548esac 13549fi 13550have_gconf=$ac_cv_path_have_gconf 13551if test -n "$have_gconf"; then 13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gconf" >&5 13553$as_echo "$have_gconf" >&6; } 13554else 13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13556$as_echo "no" >&6; } 13557fi 13558 13559 13560 if test "${have_gconf}" = "no"; then 13561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GConf2 subsystem is missing" >&5 13562$as_echo "$as_me: WARNING: GConf2 subsystem is missing" >&2;} 13563 let na_fatal_count+=1 13564 else 13565 compile_with_gconf="yes" 13566 fi 13567 fi 13568 fi 13569 13570 13571 if test "${compile_with_gconf}" = "yes"; then 13572 13573pkg_failed=no 13574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5 13575$as_echo_n "checking for GCONF... " >&6; } 13576 13577if test -n "$GCONF_CFLAGS"; then 13578 pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS" 13579 elif test -n "$PKG_CONFIG"; then 13580 if test -n "$PKG_CONFIG" && \ 13581 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.8.0\""; } >&5 13582 ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.8.0") 2>&5 13583 ac_status=$? 13584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13585 test $ac_status = 0; }; then 13586 pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.8.0" 2>/dev/null` 13587 test "x$?" != "x0" && pkg_failed=yes 13588else 13589 pkg_failed=yes 13590fi 13591 else 13592 pkg_failed=untried 13593fi 13594if test -n "$GCONF_LIBS"; then 13595 pkg_cv_GCONF_LIBS="$GCONF_LIBS" 13596 elif test -n "$PKG_CONFIG"; then 13597 if test -n "$PKG_CONFIG" && \ 13598 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.8.0\""; } >&5 13599 ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.8.0") 2>&5 13600 ac_status=$? 13601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13602 test $ac_status = 0; }; then 13603 pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.8.0" 2>/dev/null` 13604 test "x$?" != "x0" && pkg_failed=yes 13605else 13606 pkg_failed=yes 13607fi 13608 else 13609 pkg_failed=untried 13610fi 13611 13612 13613 13614if test $pkg_failed = yes; then 13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13616$as_echo "no" >&6; } 13617 13618if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13619 _pkg_short_errors_supported=yes 13620else 13621 _pkg_short_errors_supported=no 13622fi 13623 if test $_pkg_short_errors_supported = yes; then 13624 GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0 >= 2.8.0" 2>&1` 13625 else 13626 GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0 >= 2.8.0" 2>&1` 13627 fi 13628 # Put the nasty error message in config.log where it belongs 13629 echo "$GCONF_PKG_ERRORS" >&5 13630 13631 have_gconf_devel="no" 13632elif test $pkg_failed = untried; then 13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13634$as_echo "no" >&6; } 13635 have_gconf_devel="no" 13636else 13637 GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS 13638 GCONF_LIBS=$pkg_cv_GCONF_LIBS 13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13640$as_echo "yes" >&6; } 13641 have_gconf_devel="yes" 13642fi 13643 if test "${have_gconf_devel}" = "no"; then 13644 if test "${enable_gconf}" != "auto"; then 13645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GConf2 development libraries are missing. Please install GConf2-devel package" >&5 13646$as_echo "$as_me: WARNING: GConf2 development libraries are missing. Please install GConf2-devel package" >&2;} 13647 let na_fatal_count+=1 13648 fi 13649 compile_with_gconf="no" 13650 else 13651 msg_gconf2_version=$(pkg-config --modversion gconf-2.0) 13652 fi 13653 fi 13654 13655 if test "${compile_with_gconf}" = "yes"; then 13656 AM_CPPFLAGS="${AM_CPPFLAGS} -DHAVE_GCONF" 13657 13658 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${GCONF_CFLAGS}" 13659 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${GCONF_LIBS}" 13660 13661cat >>confdefs.h <<_ACEOF 13662#define HAVE_GCONF 1 13663_ACEOF 13664 13665 fi 13666 13667 13668 if test ""${compile_with_gconf}"" = "yes"; then 13669 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then 13670 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source` 13671 else 13672 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE 13673 fi 13674 fi 13675 13676 13677# Check whether --with-gconf-source was given. 13678if test "${with_gconf_source+set}" = set; then : 13679 withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval" 13680fi 13681 13682 13683 13684 13685 if test ""${compile_with_gconf}"" = "yes"; then 13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5 13687$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; } 13688 fi 13689 13690 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then 13691 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas' 13692 fi 13693 13694 13695# Check whether --with-gconf-schema-file-dir was given. 13696if test "${with_gconf_schema_file_dir+set}" = set; then : 13697 withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval" 13698fi 13699 13700 13701 13702 13703 if test ""${compile_with_gconf}"" = "yes"; then 13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5 13705$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; } 13706 fi 13707 13708 # Check whether --enable-schemas-install was given. 13709if test "${enable_schemas_install+set}" = set; then : 13710 enableval=$enable_schemas_install; case ${enableval} in 13711 yes|no) ;; 13712 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;; 13713 esac 13714fi 13715 13716 13717 if test "x${enable_schemas_install}" = "xno" -o ""${compile_with_gconf}"" != "yes"; then 13718 msg_schemas_install="disabled"; else 13719 msg_schemas_install="enabled in ${GCONF_SCHEMA_FILE_DIR}" 13720 fi 13721 13722 if test "$enable_schemas_install" != no -a ""${compile_with_gconf}"" = "yes"; then 13723 GCONF_SCHEMAS_INSTALL_TRUE= 13724 GCONF_SCHEMAS_INSTALL_FALSE='#' 13725else 13726 GCONF_SCHEMAS_INSTALL_TRUE='#' 13727 GCONF_SCHEMAS_INSTALL_FALSE= 13728fi 13729 13730 13731 13732 if test "${compile_with_gconf}" = "yes"; then 13733 HAVE_GCONF_TRUE= 13734 HAVE_GCONF_FALSE='#' 13735else 13736 HAVE_GCONF_TRUE='#' 13737 HAVE_GCONF_FALSE= 13738fi 13739 13740 13741 13742 13743 13744# Oldest supported distribution as of Apr. 2013: Ubuntu 10 LTS (Gnome 2.30) 13745glib_required=2.24.0 13746gtk_required=2.20.0 13747 13748 13749# Check whether --with-gtk was given. 13750if test "${with_gtk+set}" = set; then : 13751 withval=$with_gtk; with_gtk=$withval 13752else 13753 with_gtk="auto" 13754fi 13755 13756 13757 13758 if test "${with_gtk}" = "auto"; then 13759 13760 13761pkg_failed=no 13762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5 13763$as_echo_n "checking for GTK3... " >&6; } 13764 13765if test -n "$GTK3_CFLAGS"; then 13766 pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS" 13767 elif test -n "$PKG_CONFIG"; then 13768 if test -n "$PKG_CONFIG" && \ 13769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \${gtk_required}\""; } >&5 13770 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= ${gtk_required}") 2>&5 13771 ac_status=$? 13772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13773 test $ac_status = 0; }; then 13774 pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= ${gtk_required}" 2>/dev/null` 13775 test "x$?" != "x0" && pkg_failed=yes 13776else 13777 pkg_failed=yes 13778fi 13779 else 13780 pkg_failed=untried 13781fi 13782if test -n "$GTK3_LIBS"; then 13783 pkg_cv_GTK3_LIBS="$GTK3_LIBS" 13784 elif test -n "$PKG_CONFIG"; then 13785 if test -n "$PKG_CONFIG" && \ 13786 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \${gtk_required}\""; } >&5 13787 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= ${gtk_required}") 2>&5 13788 ac_status=$? 13789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13790 test $ac_status = 0; }; then 13791 pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= ${gtk_required}" 2>/dev/null` 13792 test "x$?" != "x0" && pkg_failed=yes 13793else 13794 pkg_failed=yes 13795fi 13796 else 13797 pkg_failed=untried 13798fi 13799 13800 13801 13802if test $pkg_failed = yes; then 13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13804$as_echo "no" >&6; } 13805 13806if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13807 _pkg_short_errors_supported=yes 13808else 13809 _pkg_short_errors_supported=no 13810fi 13811 if test $_pkg_short_errors_supported = yes; then 13812 GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= ${gtk_required}" 2>&1` 13813 else 13814 GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= ${gtk_required}" 2>&1` 13815 fi 13816 # Put the nasty error message in config.log where it belongs 13817 echo "$GTK3_PKG_ERRORS" >&5 13818 13819 have_gtk3=no 13820elif test $pkg_failed = untried; then 13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13822$as_echo "no" >&6; } 13823 have_gtk3=no 13824else 13825 GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS 13826 GTK3_LIBS=$pkg_cv_GTK3_LIBS 13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13828$as_echo "yes" >&6; } 13829 have_gtk3=yes 13830fi 13831 13832 if test "${have_gtk3}" = "yes"; then 13833 13834 13835pkg_failed=no 13836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIQUE" >&5 13837$as_echo_n "checking for UNIQUE... " >&6; } 13838 13839if test -n "$UNIQUE_CFLAGS"; then 13840 pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS" 13841 elif test -n "$PKG_CONFIG"; then 13842 if test -n "$PKG_CONFIG" && \ 13843 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-3.0\""; } >&5 13844 ($PKG_CONFIG --exists --print-errors "unique-3.0") 2>&5 13845 ac_status=$? 13846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13847 test $ac_status = 0; }; then 13848 pkg_cv_UNIQUE_CFLAGS=`$PKG_CONFIG --cflags "unique-3.0" 2>/dev/null` 13849 test "x$?" != "x0" && pkg_failed=yes 13850else 13851 pkg_failed=yes 13852fi 13853 else 13854 pkg_failed=untried 13855fi 13856if test -n "$UNIQUE_LIBS"; then 13857 pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS" 13858 elif test -n "$PKG_CONFIG"; then 13859 if test -n "$PKG_CONFIG" && \ 13860 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-3.0\""; } >&5 13861 ($PKG_CONFIG --exists --print-errors "unique-3.0") 2>&5 13862 ac_status=$? 13863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13864 test $ac_status = 0; }; then 13865 pkg_cv_UNIQUE_LIBS=`$PKG_CONFIG --libs "unique-3.0" 2>/dev/null` 13866 test "x$?" != "x0" && pkg_failed=yes 13867else 13868 pkg_failed=yes 13869fi 13870 else 13871 pkg_failed=untried 13872fi 13873 13874 13875 13876if test $pkg_failed = yes; then 13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13878$as_echo "no" >&6; } 13879 13880if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13881 _pkg_short_errors_supported=yes 13882else 13883 _pkg_short_errors_supported=no 13884fi 13885 if test $_pkg_short_errors_supported = yes; then 13886 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unique-3.0" 2>&1` 13887 else 13888 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unique-3.0" 2>&1` 13889 fi 13890 # Put the nasty error message in config.log where it belongs 13891 echo "$UNIQUE_PKG_ERRORS" >&5 13892 13893 have_UNIQUE="no" 13894elif test $pkg_failed = untried; then 13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13896$as_echo "no" >&6; } 13897 have_UNIQUE="no" 13898else 13899 UNIQUE_CFLAGS=$pkg_cv_UNIQUE_CFLAGS 13900 UNIQUE_LIBS=$pkg_cv_UNIQUE_LIBS 13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13902$as_echo "yes" >&6; } 13903 have_UNIQUE="yes" 13904fi 13905 13906 #echo "have_gtk2=$have_gtk2 have_gtk3=$have_gtk3" 13907 #echo "UNIQUE_CFLAGS='${UNIQUE_CFLAGS}'" 13908 #echo "UNIQUE_LIBS='${UNIQUE_LIBS}'" 13909 #echo "against Gtk2: $(echo ${UNIQUE_LIBS} | grep -E 'gtk-[^-]+-2\.0')" 13910 #echo "against Gtk3: $(echo ${UNIQUE_LIBS} | grep -E 'gtk-[^-]+-3\.0')" 13911 13912 if test "${have_UNIQUE}" = "yes"; then 13913 if test "${have_gtk3}" = "yes"; then 13914 if echo ${UNIQUE_LIBS} | grep -qE 'gtk-[^-]+-2\.0'; then 13915 13916 if test "no" = "no"; then 13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 13918$as_echo "warning: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&6; } 13919 else 13920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 13921$as_echo "$as_me: WARNING: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&2;} 13922 let na_fatal_count+=1 13923 fi 13924 13925 have_UNIQUE="no" 13926 fi 13927 elif test "${have_gtk2}" = "yes"; then 13928 if echo ${UNIQUE_LIBS} | grep -qE 'gtk-[^-]+-3.0'; then 13929 13930 if test "no" = "no"; then 13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 13932$as_echo "warning: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&6; } 13933 else 13934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 13935$as_echo "$as_me: WARNING: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&2;} 13936 let na_fatal_count+=1 13937 fi 13938 13939 have_UNIQUE="no" 13940 fi 13941 fi 13942 else 13943 13944 if test "no" = "no"; then 13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UNIQUE: condition unique-3.0 not satisfied" >&5 13946$as_echo "warning: UNIQUE: condition unique-3.0 not satisfied" >&6; } 13947 else 13948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UNIQUE: condition unique-3.0 not satisfied" >&5 13949$as_echo "$as_me: WARNING: UNIQUE: condition unique-3.0 not satisfied" >&2;} 13950 let na_fatal_count+=1 13951 fi 13952 13953 fi 13954 13955 if test "${have_UNIQUE}" = "yes"; then 13956 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${UNIQUE_CFLAGS}" 13957 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${UNIQUE_LIBS}" 13958 fi 13959 13960 if test "${have_UNIQUE}" != "yes"; then 13961 have_gtk3="no" 13962 else 13963 msg_gtk_version=$(pkg-config --modversion gtk+-3.0) 13964 msg_unique_version=$(pkg-config --modversion unique-3.0) 13965 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${GTK3_CFLAGS}" 13966 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${GTK3_LIBS}" 13967 fi 13968 fi 13969 13970 if test "${have_gtk3}" != "yes"; then 13971 13972 13973pkg_failed=no 13974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5 13975$as_echo_n "checking for GTK2... " >&6; } 13976 13977if test -n "$GTK2_CFLAGS"; then 13978 pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS" 13979 elif test -n "$PKG_CONFIG"; then 13980 if test -n "$PKG_CONFIG" && \ 13981 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \${gtk_required}\""; } >&5 13982 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= ${gtk_required}") 2>&5 13983 ac_status=$? 13984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13985 test $ac_status = 0; }; then 13986 pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= ${gtk_required}" 2>/dev/null` 13987 test "x$?" != "x0" && pkg_failed=yes 13988else 13989 pkg_failed=yes 13990fi 13991 else 13992 pkg_failed=untried 13993fi 13994if test -n "$GTK2_LIBS"; then 13995 pkg_cv_GTK2_LIBS="$GTK2_LIBS" 13996 elif test -n "$PKG_CONFIG"; then 13997 if test -n "$PKG_CONFIG" && \ 13998 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \${gtk_required}\""; } >&5 13999 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= ${gtk_required}") 2>&5 14000 ac_status=$? 14001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14002 test $ac_status = 0; }; then 14003 pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= ${gtk_required}" 2>/dev/null` 14004 test "x$?" != "x0" && pkg_failed=yes 14005else 14006 pkg_failed=yes 14007fi 14008 else 14009 pkg_failed=untried 14010fi 14011 14012 14013 14014if test $pkg_failed = yes; then 14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14016$as_echo "no" >&6; } 14017 14018if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14019 _pkg_short_errors_supported=yes 14020else 14021 _pkg_short_errors_supported=no 14022fi 14023 if test $_pkg_short_errors_supported = yes; then 14024 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= ${gtk_required}" 2>&1` 14025 else 14026 GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= ${gtk_required}" 2>&1` 14027 fi 14028 # Put the nasty error message in config.log where it belongs 14029 echo "$GTK2_PKG_ERRORS" >&5 14030 14031 have_gtk2=no 14032elif test $pkg_failed = untried; then 14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14034$as_echo "no" >&6; } 14035 have_gtk2=no 14036else 14037 GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS 14038 GTK2_LIBS=$pkg_cv_GTK2_LIBS 14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14040$as_echo "yes" >&6; } 14041 have_gtk2=yes 14042fi 14043 14044 if test "${have_gtk2}" = "yes"; then 14045 14046 14047pkg_failed=no 14048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIQUE" >&5 14049$as_echo_n "checking for UNIQUE... " >&6; } 14050 14051if test -n "$UNIQUE_CFLAGS"; then 14052 pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS" 14053 elif test -n "$PKG_CONFIG"; then 14054 if test -n "$PKG_CONFIG" && \ 14055 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-1.0\""; } >&5 14056 ($PKG_CONFIG --exists --print-errors "unique-1.0") 2>&5 14057 ac_status=$? 14058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14059 test $ac_status = 0; }; then 14060 pkg_cv_UNIQUE_CFLAGS=`$PKG_CONFIG --cflags "unique-1.0" 2>/dev/null` 14061 test "x$?" != "x0" && pkg_failed=yes 14062else 14063 pkg_failed=yes 14064fi 14065 else 14066 pkg_failed=untried 14067fi 14068if test -n "$UNIQUE_LIBS"; then 14069 pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS" 14070 elif test -n "$PKG_CONFIG"; then 14071 if test -n "$PKG_CONFIG" && \ 14072 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-1.0\""; } >&5 14073 ($PKG_CONFIG --exists --print-errors "unique-1.0") 2>&5 14074 ac_status=$? 14075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14076 test $ac_status = 0; }; then 14077 pkg_cv_UNIQUE_LIBS=`$PKG_CONFIG --libs "unique-1.0" 2>/dev/null` 14078 test "x$?" != "x0" && pkg_failed=yes 14079else 14080 pkg_failed=yes 14081fi 14082 else 14083 pkg_failed=untried 14084fi 14085 14086 14087 14088if test $pkg_failed = yes; then 14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14090$as_echo "no" >&6; } 14091 14092if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14093 _pkg_short_errors_supported=yes 14094else 14095 _pkg_short_errors_supported=no 14096fi 14097 if test $_pkg_short_errors_supported = yes; then 14098 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unique-1.0" 2>&1` 14099 else 14100 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unique-1.0" 2>&1` 14101 fi 14102 # Put the nasty error message in config.log where it belongs 14103 echo "$UNIQUE_PKG_ERRORS" >&5 14104 14105 have_UNIQUE="no" 14106elif test $pkg_failed = untried; then 14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14108$as_echo "no" >&6; } 14109 have_UNIQUE="no" 14110else 14111 UNIQUE_CFLAGS=$pkg_cv_UNIQUE_CFLAGS 14112 UNIQUE_LIBS=$pkg_cv_UNIQUE_LIBS 14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14114$as_echo "yes" >&6; } 14115 have_UNIQUE="yes" 14116fi 14117 14118 #echo "have_gtk2=$have_gtk2 have_gtk3=$have_gtk3" 14119 #echo "UNIQUE_CFLAGS='${UNIQUE_CFLAGS}'" 14120 #echo "UNIQUE_LIBS='${UNIQUE_LIBS}'" 14121 #echo "against Gtk2: $(echo ${UNIQUE_LIBS} | grep -E 'gtk-[^-]+-2\.0')" 14122 #echo "against Gtk3: $(echo ${UNIQUE_LIBS} | grep -E 'gtk-[^-]+-3\.0')" 14123 14124 if test "${have_UNIQUE}" = "yes"; then 14125 if test "${have_gtk3}" = "yes"; then 14126 if echo ${UNIQUE_LIBS} | grep -qE 'gtk-[^-]+-2\.0'; then 14127 14128 if test "no" = "no"; then 14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 14130$as_echo "warning: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&6; } 14131 else 14132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 14133$as_echo "$as_me: WARNING: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&2;} 14134 let na_fatal_count+=1 14135 fi 14136 14137 have_UNIQUE="no" 14138 fi 14139 elif test "${have_gtk2}" = "yes"; then 14140 if echo ${UNIQUE_LIBS} | grep -qE 'gtk-[^-]+-3.0'; then 14141 14142 if test "no" = "no"; then 14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 14144$as_echo "warning: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&6; } 14145 else 14146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 14147$as_echo "$as_me: WARNING: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&2;} 14148 let na_fatal_count+=1 14149 fi 14150 14151 have_UNIQUE="no" 14152 fi 14153 fi 14154 else 14155 14156 if test "no" = "no"; then 14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UNIQUE: condition unique-1.0 not satisfied" >&5 14158$as_echo "warning: UNIQUE: condition unique-1.0 not satisfied" >&6; } 14159 else 14160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UNIQUE: condition unique-1.0 not satisfied" >&5 14161$as_echo "$as_me: WARNING: UNIQUE: condition unique-1.0 not satisfied" >&2;} 14162 let na_fatal_count+=1 14163 fi 14164 14165 fi 14166 14167 if test "${have_UNIQUE}" = "yes"; then 14168 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${UNIQUE_CFLAGS}" 14169 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${UNIQUE_LIBS}" 14170 fi 14171 14172 if test "${have_UNIQUE}" != "yes"; then 14173 have_gtk2="no" 14174 else 14175 msg_gtk_version=$(pkg-config --modversion gtk+-2.0) 14176 msg_unique_version=$(pkg-config --modversion unique-1.0) 14177 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${GTK2_CFLAGS}" 14178 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${GTK2_LIBS}" 14179 fi 14180 fi 14181 14182 if test "${have_gtk2}" != "yes"; then 14183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to find any suitable Gtk+ development library" >&5 14184$as_echo "$as_me: WARNING: unable to find any suitable Gtk+ development library" >&2;} 14185 let na_fatal_count+=1 14186 fi 14187 fi 14188 else 14189 if test "${with_gtk}" = "2"; then 14190 14191 14192pkg_failed=no 14193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5 14194$as_echo_n "checking for GTK2... " >&6; } 14195 14196if test -n "$GTK2_CFLAGS"; then 14197 pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS" 14198 elif test -n "$PKG_CONFIG"; then 14199 if test -n "$PKG_CONFIG" && \ 14200 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \${gtk_required}\""; } >&5 14201 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= ${gtk_required}") 2>&5 14202 ac_status=$? 14203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14204 test $ac_status = 0; }; then 14205 pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= ${gtk_required}" 2>/dev/null` 14206 test "x$?" != "x0" && pkg_failed=yes 14207else 14208 pkg_failed=yes 14209fi 14210 else 14211 pkg_failed=untried 14212fi 14213if test -n "$GTK2_LIBS"; then 14214 pkg_cv_GTK2_LIBS="$GTK2_LIBS" 14215 elif test -n "$PKG_CONFIG"; then 14216 if test -n "$PKG_CONFIG" && \ 14217 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \${gtk_required}\""; } >&5 14218 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= ${gtk_required}") 2>&5 14219 ac_status=$? 14220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14221 test $ac_status = 0; }; then 14222 pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= ${gtk_required}" 2>/dev/null` 14223 test "x$?" != "x0" && pkg_failed=yes 14224else 14225 pkg_failed=yes 14226fi 14227 else 14228 pkg_failed=untried 14229fi 14230 14231 14232 14233if test $pkg_failed = yes; then 14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14235$as_echo "no" >&6; } 14236 14237if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14238 _pkg_short_errors_supported=yes 14239else 14240 _pkg_short_errors_supported=no 14241fi 14242 if test $_pkg_short_errors_supported = yes; then 14243 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= ${gtk_required}" 2>&1` 14244 else 14245 GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= ${gtk_required}" 2>&1` 14246 fi 14247 # Put the nasty error message in config.log where it belongs 14248 echo "$GTK2_PKG_ERRORS" >&5 14249 14250 have_gtk2=no 14251elif test $pkg_failed = untried; then 14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14253$as_echo "no" >&6; } 14254 have_gtk2=no 14255else 14256 GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS 14257 GTK2_LIBS=$pkg_cv_GTK2_LIBS 14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14259$as_echo "yes" >&6; } 14260 have_gtk2=yes 14261fi 14262 14263 if test "${have_gtk2}" = "yes"; then 14264 14265 14266pkg_failed=no 14267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIQUE" >&5 14268$as_echo_n "checking for UNIQUE... " >&6; } 14269 14270if test -n "$UNIQUE_CFLAGS"; then 14271 pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS" 14272 elif test -n "$PKG_CONFIG"; then 14273 if test -n "$PKG_CONFIG" && \ 14274 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-1.0\""; } >&5 14275 ($PKG_CONFIG --exists --print-errors "unique-1.0") 2>&5 14276 ac_status=$? 14277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14278 test $ac_status = 0; }; then 14279 pkg_cv_UNIQUE_CFLAGS=`$PKG_CONFIG --cflags "unique-1.0" 2>/dev/null` 14280 test "x$?" != "x0" && pkg_failed=yes 14281else 14282 pkg_failed=yes 14283fi 14284 else 14285 pkg_failed=untried 14286fi 14287if test -n "$UNIQUE_LIBS"; then 14288 pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS" 14289 elif test -n "$PKG_CONFIG"; then 14290 if test -n "$PKG_CONFIG" && \ 14291 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-1.0\""; } >&5 14292 ($PKG_CONFIG --exists --print-errors "unique-1.0") 2>&5 14293 ac_status=$? 14294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14295 test $ac_status = 0; }; then 14296 pkg_cv_UNIQUE_LIBS=`$PKG_CONFIG --libs "unique-1.0" 2>/dev/null` 14297 test "x$?" != "x0" && pkg_failed=yes 14298else 14299 pkg_failed=yes 14300fi 14301 else 14302 pkg_failed=untried 14303fi 14304 14305 14306 14307if test $pkg_failed = yes; then 14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14309$as_echo "no" >&6; } 14310 14311if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14312 _pkg_short_errors_supported=yes 14313else 14314 _pkg_short_errors_supported=no 14315fi 14316 if test $_pkg_short_errors_supported = yes; then 14317 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unique-1.0" 2>&1` 14318 else 14319 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unique-1.0" 2>&1` 14320 fi 14321 # Put the nasty error message in config.log where it belongs 14322 echo "$UNIQUE_PKG_ERRORS" >&5 14323 14324 have_UNIQUE="no" 14325elif test $pkg_failed = untried; then 14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14327$as_echo "no" >&6; } 14328 have_UNIQUE="no" 14329else 14330 UNIQUE_CFLAGS=$pkg_cv_UNIQUE_CFLAGS 14331 UNIQUE_LIBS=$pkg_cv_UNIQUE_LIBS 14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14333$as_echo "yes" >&6; } 14334 have_UNIQUE="yes" 14335fi 14336 14337 #echo "have_gtk2=$have_gtk2 have_gtk3=$have_gtk3" 14338 #echo "UNIQUE_CFLAGS='${UNIQUE_CFLAGS}'" 14339 #echo "UNIQUE_LIBS='${UNIQUE_LIBS}'" 14340 #echo "against Gtk2: $(echo ${UNIQUE_LIBS} | grep -E 'gtk-[^-]+-2\.0')" 14341 #echo "against Gtk3: $(echo ${UNIQUE_LIBS} | grep -E 'gtk-[^-]+-3\.0')" 14342 14343 if test "${have_UNIQUE}" = "yes"; then 14344 if test "${have_gtk3}" = "yes"; then 14345 if echo ${UNIQUE_LIBS} | grep -qE 'gtk-[^-]+-2\.0'; then 14346 14347 if test "no" = "no"; then 14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 14349$as_echo "warning: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&6; } 14350 else 14351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 14352$as_echo "$as_me: WARNING: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&2;} 14353 let na_fatal_count+=1 14354 fi 14355 14356 have_UNIQUE="no" 14357 fi 14358 elif test "${have_gtk2}" = "yes"; then 14359 if echo ${UNIQUE_LIBS} | grep -qE 'gtk-[^-]+-3.0'; then 14360 14361 if test "no" = "no"; then 14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 14363$as_echo "warning: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&6; } 14364 else 14365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 14366$as_echo "$as_me: WARNING: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&2;} 14367 let na_fatal_count+=1 14368 fi 14369 14370 have_UNIQUE="no" 14371 fi 14372 fi 14373 else 14374 14375 if test "no" = "no"; then 14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UNIQUE: condition unique-1.0 not satisfied" >&5 14377$as_echo "warning: UNIQUE: condition unique-1.0 not satisfied" >&6; } 14378 else 14379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UNIQUE: condition unique-1.0 not satisfied" >&5 14380$as_echo "$as_me: WARNING: UNIQUE: condition unique-1.0 not satisfied" >&2;} 14381 let na_fatal_count+=1 14382 fi 14383 14384 fi 14385 14386 if test "${have_UNIQUE}" = "yes"; then 14387 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${UNIQUE_CFLAGS}" 14388 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${UNIQUE_LIBS}" 14389 fi 14390 14391 if test "${have_UNIQUE}" != "yes"; then 14392 have_gtk2="no" 14393 else 14394 msg_gtk_version=$(pkg-config --modversion gtk+-2.0) 14395 msg_unique_version=$(pkg-config --modversion unique-1.0) 14396 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${GTK2_CFLAGS}" 14397 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${GTK2_LIBS}" 14398 fi 14399 fi 14400 14401 if test "${have_gtk2}" != "yes"; then 14402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to build against Gtk+ v2; try to install gtk2-devel package" >&5 14403$as_echo "$as_me: WARNING: unable to build against Gtk+ v2; try to install gtk2-devel package" >&2;} 14404 let na_fatal_count+=1 14405 fi 14406 else 14407 if test "${with_gtk}" = "3"; then 14408 14409 14410pkg_failed=no 14411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5 14412$as_echo_n "checking for GTK3... " >&6; } 14413 14414if test -n "$GTK3_CFLAGS"; then 14415 pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS" 14416 elif test -n "$PKG_CONFIG"; then 14417 if test -n "$PKG_CONFIG" && \ 14418 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \${gtk_required}\""; } >&5 14419 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= ${gtk_required}") 2>&5 14420 ac_status=$? 14421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14422 test $ac_status = 0; }; then 14423 pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= ${gtk_required}" 2>/dev/null` 14424 test "x$?" != "x0" && pkg_failed=yes 14425else 14426 pkg_failed=yes 14427fi 14428 else 14429 pkg_failed=untried 14430fi 14431if test -n "$GTK3_LIBS"; then 14432 pkg_cv_GTK3_LIBS="$GTK3_LIBS" 14433 elif test -n "$PKG_CONFIG"; then 14434 if test -n "$PKG_CONFIG" && \ 14435 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \${gtk_required}\""; } >&5 14436 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= ${gtk_required}") 2>&5 14437 ac_status=$? 14438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14439 test $ac_status = 0; }; then 14440 pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= ${gtk_required}" 2>/dev/null` 14441 test "x$?" != "x0" && pkg_failed=yes 14442else 14443 pkg_failed=yes 14444fi 14445 else 14446 pkg_failed=untried 14447fi 14448 14449 14450 14451if test $pkg_failed = yes; then 14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14453$as_echo "no" >&6; } 14454 14455if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14456 _pkg_short_errors_supported=yes 14457else 14458 _pkg_short_errors_supported=no 14459fi 14460 if test $_pkg_short_errors_supported = yes; then 14461 GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= ${gtk_required}" 2>&1` 14462 else 14463 GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= ${gtk_required}" 2>&1` 14464 fi 14465 # Put the nasty error message in config.log where it belongs 14466 echo "$GTK3_PKG_ERRORS" >&5 14467 14468 have_gtk3=no 14469elif test $pkg_failed = untried; then 14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14471$as_echo "no" >&6; } 14472 have_gtk3=no 14473else 14474 GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS 14475 GTK3_LIBS=$pkg_cv_GTK3_LIBS 14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14477$as_echo "yes" >&6; } 14478 have_gtk3=yes 14479fi 14480 14481 if test "${have_gtk3}" = "yes"; then 14482 14483 14484pkg_failed=no 14485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIQUE" >&5 14486$as_echo_n "checking for UNIQUE... " >&6; } 14487 14488if test -n "$UNIQUE_CFLAGS"; then 14489 pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS" 14490 elif test -n "$PKG_CONFIG"; then 14491 if test -n "$PKG_CONFIG" && \ 14492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-3.0\""; } >&5 14493 ($PKG_CONFIG --exists --print-errors "unique-3.0") 2>&5 14494 ac_status=$? 14495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14496 test $ac_status = 0; }; then 14497 pkg_cv_UNIQUE_CFLAGS=`$PKG_CONFIG --cflags "unique-3.0" 2>/dev/null` 14498 test "x$?" != "x0" && pkg_failed=yes 14499else 14500 pkg_failed=yes 14501fi 14502 else 14503 pkg_failed=untried 14504fi 14505if test -n "$UNIQUE_LIBS"; then 14506 pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS" 14507 elif test -n "$PKG_CONFIG"; then 14508 if test -n "$PKG_CONFIG" && \ 14509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-3.0\""; } >&5 14510 ($PKG_CONFIG --exists --print-errors "unique-3.0") 2>&5 14511 ac_status=$? 14512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14513 test $ac_status = 0; }; then 14514 pkg_cv_UNIQUE_LIBS=`$PKG_CONFIG --libs "unique-3.0" 2>/dev/null` 14515 test "x$?" != "x0" && pkg_failed=yes 14516else 14517 pkg_failed=yes 14518fi 14519 else 14520 pkg_failed=untried 14521fi 14522 14523 14524 14525if test $pkg_failed = yes; then 14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14527$as_echo "no" >&6; } 14528 14529if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14530 _pkg_short_errors_supported=yes 14531else 14532 _pkg_short_errors_supported=no 14533fi 14534 if test $_pkg_short_errors_supported = yes; then 14535 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unique-3.0" 2>&1` 14536 else 14537 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unique-3.0" 2>&1` 14538 fi 14539 # Put the nasty error message in config.log where it belongs 14540 echo "$UNIQUE_PKG_ERRORS" >&5 14541 14542 have_UNIQUE="no" 14543elif test $pkg_failed = untried; then 14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14545$as_echo "no" >&6; } 14546 have_UNIQUE="no" 14547else 14548 UNIQUE_CFLAGS=$pkg_cv_UNIQUE_CFLAGS 14549 UNIQUE_LIBS=$pkg_cv_UNIQUE_LIBS 14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14551$as_echo "yes" >&6; } 14552 have_UNIQUE="yes" 14553fi 14554 14555 #echo "have_gtk2=$have_gtk2 have_gtk3=$have_gtk3" 14556 #echo "UNIQUE_CFLAGS='${UNIQUE_CFLAGS}'" 14557 #echo "UNIQUE_LIBS='${UNIQUE_LIBS}'" 14558 #echo "against Gtk2: $(echo ${UNIQUE_LIBS} | grep -E 'gtk-[^-]+-2\.0')" 14559 #echo "against Gtk3: $(echo ${UNIQUE_LIBS} | grep -E 'gtk-[^-]+-3\.0')" 14560 14561 if test "${have_UNIQUE}" = "yes"; then 14562 if test "${have_gtk3}" = "yes"; then 14563 if echo ${UNIQUE_LIBS} | grep -qE 'gtk-[^-]+-2\.0'; then 14564 14565 if test "no" = "no"; then 14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 14567$as_echo "warning: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&6; } 14568 else 14569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 14570$as_echo "$as_me: WARNING: UNIQUE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&2;} 14571 let na_fatal_count+=1 14572 fi 14573 14574 have_UNIQUE="no" 14575 fi 14576 elif test "${have_gtk2}" = "yes"; then 14577 if echo ${UNIQUE_LIBS} | grep -qE 'gtk-[^-]+-3.0'; then 14578 14579 if test "no" = "no"; then 14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 14581$as_echo "warning: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&6; } 14582 else 14583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 14584$as_echo "$as_me: WARNING: UNIQUE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&2;} 14585 let na_fatal_count+=1 14586 fi 14587 14588 have_UNIQUE="no" 14589 fi 14590 fi 14591 else 14592 14593 if test "no" = "no"; then 14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UNIQUE: condition unique-3.0 not satisfied" >&5 14595$as_echo "warning: UNIQUE: condition unique-3.0 not satisfied" >&6; } 14596 else 14597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UNIQUE: condition unique-3.0 not satisfied" >&5 14598$as_echo "$as_me: WARNING: UNIQUE: condition unique-3.0 not satisfied" >&2;} 14599 let na_fatal_count+=1 14600 fi 14601 14602 fi 14603 14604 if test "${have_UNIQUE}" = "yes"; then 14605 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${UNIQUE_CFLAGS}" 14606 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${UNIQUE_LIBS}" 14607 fi 14608 14609 if test "${have_UNIQUE}" != "yes"; then 14610 have_gtk3="no" 14611 else 14612 msg_gtk_version=$(pkg-config --modversion gtk+-3.0) 14613 msg_unique_version=$(pkg-config --modversion unique-3.0) 14614 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${GTK3_CFLAGS}" 14615 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${GTK3_LIBS}" 14616 fi 14617 fi 14618 14619 if test "${have_gtk3}" != "yes"; then 14620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to build against Gtk+ v3; try to install gtk3-devel package" >&5 14621$as_echo "$as_me: WARNING: unable to build against Gtk+ v3; try to install gtk3-devel package" >&2;} 14622 let na_fatal_count+=1 14623 fi 14624 else 14625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gtk=${with_gtk}: invalid argument" >&5 14626$as_echo "$as_me: WARNING: --with-gtk=${with_gtk}: invalid argument" >&2;} 14627 let na_fatal_count+=1 14628 fi 14629 fi 14630 fi 14631 14632 14633 14634 14635 14636pkg_failed=no 14637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 14638$as_echo_n "checking for GLIB... " >&6; } 14639 14640if test -n "$GLIB_CFLAGS"; then 14641 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 14642 elif test -n "$PKG_CONFIG"; then 14643 if test -n "$PKG_CONFIG" && \ 14644 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \${glib_required}\""; } >&5 14645 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= ${glib_required}") 2>&5 14646 ac_status=$? 14647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14648 test $ac_status = 0; }; then 14649 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= ${glib_required}" 2>/dev/null` 14650 test "x$?" != "x0" && pkg_failed=yes 14651else 14652 pkg_failed=yes 14653fi 14654 else 14655 pkg_failed=untried 14656fi 14657if test -n "$GLIB_LIBS"; then 14658 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 14659 elif test -n "$PKG_CONFIG"; then 14660 if test -n "$PKG_CONFIG" && \ 14661 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \${glib_required}\""; } >&5 14662 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= ${glib_required}") 2>&5 14663 ac_status=$? 14664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14665 test $ac_status = 0; }; then 14666 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= ${glib_required}" 2>/dev/null` 14667 test "x$?" != "x0" && pkg_failed=yes 14668else 14669 pkg_failed=yes 14670fi 14671 else 14672 pkg_failed=untried 14673fi 14674 14675 14676 14677if test $pkg_failed = yes; then 14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14679$as_echo "no" >&6; } 14680 14681if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14682 _pkg_short_errors_supported=yes 14683else 14684 _pkg_short_errors_supported=no 14685fi 14686 if test $_pkg_short_errors_supported = yes; then 14687 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= ${glib_required}" 2>&1` 14688 else 14689 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= ${glib_required}" 2>&1` 14690 fi 14691 # Put the nasty error message in config.log where it belongs 14692 echo "$GLIB_PKG_ERRORS" >&5 14693 14694 have_GLIB="no" 14695elif test $pkg_failed = untried; then 14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14697$as_echo "no" >&6; } 14698 have_GLIB="no" 14699else 14700 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 14701 GLIB_LIBS=$pkg_cv_GLIB_LIBS 14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14703$as_echo "yes" >&6; } 14704 have_GLIB="yes" 14705fi 14706 14707 #echo "have_gtk2=$have_gtk2 have_gtk3=$have_gtk3" 14708 #echo "GLIB_CFLAGS='${GLIB_CFLAGS}'" 14709 #echo "GLIB_LIBS='${GLIB_LIBS}'" 14710 #echo "against Gtk2: $(echo ${GLIB_LIBS} | grep -E 'gtk-[^-]+-2\.0')" 14711 #echo "against Gtk3: $(echo ${GLIB_LIBS} | grep -E 'gtk-[^-]+-3\.0')" 14712 14713 if test "${have_GLIB}" = "yes"; then 14714 if test "${have_gtk3}" = "yes"; then 14715 if echo ${GLIB_LIBS} | grep -qE 'gtk-[^-]+-2\.0'; then 14716 14717 if test "" = "no"; then 14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: GLIB: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 14719$as_echo "warning: GLIB: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&6; } 14720 else 14721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GLIB: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 14722$as_echo "$as_me: WARNING: GLIB: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&2;} 14723 let na_fatal_count+=1 14724 fi 14725 14726 have_GLIB="no" 14727 fi 14728 elif test "${have_gtk2}" = "yes"; then 14729 if echo ${GLIB_LIBS} | grep -qE 'gtk-[^-]+-3.0'; then 14730 14731 if test "" = "no"; then 14732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: GLIB: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 14733$as_echo "warning: GLIB: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&6; } 14734 else 14735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GLIB: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 14736$as_echo "$as_me: WARNING: GLIB: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&2;} 14737 let na_fatal_count+=1 14738 fi 14739 14740 have_GLIB="no" 14741 fi 14742 fi 14743 else 14744 14745 if test "" = "no"; then 14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: GLIB: condition glib-2.0 >= ${glib_required} not satisfied" >&5 14747$as_echo "warning: GLIB: condition glib-2.0 >= ${glib_required} not satisfied" >&6; } 14748 else 14749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GLIB: condition glib-2.0 >= ${glib_required} not satisfied" >&5 14750$as_echo "$as_me: WARNING: GLIB: condition glib-2.0 >= ${glib_required} not satisfied" >&2;} 14751 let na_fatal_count+=1 14752 fi 14753 14754 fi 14755 14756 if test "${have_GLIB}" = "yes"; then 14757 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${GLIB_CFLAGS}" 14758 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${GLIB_LIBS}" 14759 fi 14760 14761 14762 14763pkg_failed=no 14764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5 14765$as_echo_n "checking for GMODULE... " >&6; } 14766 14767if test -n "$GMODULE_CFLAGS"; then 14768 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS" 14769 elif test -n "$PKG_CONFIG"; then 14770 if test -n "$PKG_CONFIG" && \ 14771 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= \${glib_required}\""; } >&5 14772 ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= ${glib_required}") 2>&5 14773 ac_status=$? 14774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14775 test $ac_status = 0; }; then 14776 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 >= ${glib_required}" 2>/dev/null` 14777 test "x$?" != "x0" && pkg_failed=yes 14778else 14779 pkg_failed=yes 14780fi 14781 else 14782 pkg_failed=untried 14783fi 14784if test -n "$GMODULE_LIBS"; then 14785 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS" 14786 elif test -n "$PKG_CONFIG"; then 14787 if test -n "$PKG_CONFIG" && \ 14788 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= \${glib_required}\""; } >&5 14789 ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= ${glib_required}") 2>&5 14790 ac_status=$? 14791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14792 test $ac_status = 0; }; then 14793 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 >= ${glib_required}" 2>/dev/null` 14794 test "x$?" != "x0" && pkg_failed=yes 14795else 14796 pkg_failed=yes 14797fi 14798 else 14799 pkg_failed=untried 14800fi 14801 14802 14803 14804if test $pkg_failed = yes; then 14805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14806$as_echo "no" >&6; } 14807 14808if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14809 _pkg_short_errors_supported=yes 14810else 14811 _pkg_short_errors_supported=no 14812fi 14813 if test $_pkg_short_errors_supported = yes; then 14814 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0 >= ${glib_required}" 2>&1` 14815 else 14816 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0 >= ${glib_required}" 2>&1` 14817 fi 14818 # Put the nasty error message in config.log where it belongs 14819 echo "$GMODULE_PKG_ERRORS" >&5 14820 14821 have_GMODULE="no" 14822elif test $pkg_failed = untried; then 14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14824$as_echo "no" >&6; } 14825 have_GMODULE="no" 14826else 14827 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS 14828 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS 14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14830$as_echo "yes" >&6; } 14831 have_GMODULE="yes" 14832fi 14833 14834 #echo "have_gtk2=$have_gtk2 have_gtk3=$have_gtk3" 14835 #echo "GMODULE_CFLAGS='${GMODULE_CFLAGS}'" 14836 #echo "GMODULE_LIBS='${GMODULE_LIBS}'" 14837 #echo "against Gtk2: $(echo ${GMODULE_LIBS} | grep -E 'gtk-[^-]+-2\.0')" 14838 #echo "against Gtk3: $(echo ${GMODULE_LIBS} | grep -E 'gtk-[^-]+-3\.0')" 14839 14840 if test "${have_GMODULE}" = "yes"; then 14841 if test "${have_gtk3}" = "yes"; then 14842 if echo ${GMODULE_LIBS} | grep -qE 'gtk-[^-]+-2\.0'; then 14843 14844 if test "" = "no"; then 14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: GMODULE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 14846$as_echo "warning: GMODULE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&6; } 14847 else 14848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GMODULE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 14849$as_echo "$as_me: WARNING: GMODULE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&2;} 14850 let na_fatal_count+=1 14851 fi 14852 14853 have_GMODULE="no" 14854 fi 14855 elif test "${have_gtk2}" = "yes"; then 14856 if echo ${GMODULE_LIBS} | grep -qE 'gtk-[^-]+-3.0'; then 14857 14858 if test "" = "no"; then 14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: GMODULE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 14860$as_echo "warning: GMODULE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&6; } 14861 else 14862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GMODULE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 14863$as_echo "$as_me: WARNING: GMODULE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&2;} 14864 let na_fatal_count+=1 14865 fi 14866 14867 have_GMODULE="no" 14868 fi 14869 fi 14870 else 14871 14872 if test "" = "no"; then 14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: GMODULE: condition gmodule-2.0 >= ${glib_required} not satisfied" >&5 14874$as_echo "warning: GMODULE: condition gmodule-2.0 >= ${glib_required} not satisfied" >&6; } 14875 else 14876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GMODULE: condition gmodule-2.0 >= ${glib_required} not satisfied" >&5 14877$as_echo "$as_me: WARNING: GMODULE: condition gmodule-2.0 >= ${glib_required} not satisfied" >&2;} 14878 let na_fatal_count+=1 14879 fi 14880 14881 fi 14882 14883 if test "${have_GMODULE}" = "yes"; then 14884 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${GMODULE_CFLAGS}" 14885 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${GMODULE_LIBS}" 14886 fi 14887 14888 14889# GDBus comes in GIO with 2.26 14890# so uses GDBus if present, or fallback into dbus-glib-1 14891 14892 _na_have_gdbus="no" 14893 _na_have_dbus_glib="no" 14894 14895 14896pkg_failed=no 14897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5 14898$as_echo_n "checking for GDBUS... " >&6; } 14899 14900if test -n "$GDBUS_CFLAGS"; then 14901 pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS" 14902 elif test -n "$PKG_CONFIG"; then 14903 if test -n "$PKG_CONFIG" && \ 14904 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30\""; } >&5 14905 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30") 2>&5 14906 ac_status=$? 14907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14908 test $ac_status = 0; }; then 14909 pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.30" 2>/dev/null` 14910 test "x$?" != "x0" && pkg_failed=yes 14911else 14912 pkg_failed=yes 14913fi 14914 else 14915 pkg_failed=untried 14916fi 14917if test -n "$GDBUS_LIBS"; then 14918 pkg_cv_GDBUS_LIBS="$GDBUS_LIBS" 14919 elif test -n "$PKG_CONFIG"; then 14920 if test -n "$PKG_CONFIG" && \ 14921 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30\""; } >&5 14922 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30") 2>&5 14923 ac_status=$? 14924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14925 test $ac_status = 0; }; then 14926 pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.30" 2>/dev/null` 14927 test "x$?" != "x0" && pkg_failed=yes 14928else 14929 pkg_failed=yes 14930fi 14931 else 14932 pkg_failed=untried 14933fi 14934 14935 14936 14937if test $pkg_failed = yes; then 14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14939$as_echo "no" >&6; } 14940 14941if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14942 _pkg_short_errors_supported=yes 14943else 14944 _pkg_short_errors_supported=no 14945fi 14946 if test $_pkg_short_errors_supported = yes; then 14947 GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.30" 2>&1` 14948 else 14949 GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.30" 2>&1` 14950 fi 14951 # Put the nasty error message in config.log where it belongs 14952 echo "$GDBUS_PKG_ERRORS" >&5 14953 14954 14955 14956pkg_failed=no 14957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_GLIB" >&5 14958$as_echo_n "checking for DBUS_GLIB... " >&6; } 14959 14960if test -n "$DBUS_GLIB_CFLAGS"; then 14961 pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS" 14962 elif test -n "$PKG_CONFIG"; then 14963 if test -n "$PKG_CONFIG" && \ 14964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1\""; } >&5 14965 ($PKG_CONFIG --exists --print-errors "dbus-glib-1") 2>&5 14966 ac_status=$? 14967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14968 test $ac_status = 0; }; then 14969 pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1" 2>/dev/null` 14970 test "x$?" != "x0" && pkg_failed=yes 14971else 14972 pkg_failed=yes 14973fi 14974 else 14975 pkg_failed=untried 14976fi 14977if test -n "$DBUS_GLIB_LIBS"; then 14978 pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS" 14979 elif test -n "$PKG_CONFIG"; then 14980 if test -n "$PKG_CONFIG" && \ 14981 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1\""; } >&5 14982 ($PKG_CONFIG --exists --print-errors "dbus-glib-1") 2>&5 14983 ac_status=$? 14984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14985 test $ac_status = 0; }; then 14986 pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1" 2>/dev/null` 14987 test "x$?" != "x0" && pkg_failed=yes 14988else 14989 pkg_failed=yes 14990fi 14991 else 14992 pkg_failed=untried 14993fi 14994 14995 14996 14997if test $pkg_failed = yes; then 14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14999$as_echo "no" >&6; } 15000 15001if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15002 _pkg_short_errors_supported=yes 15003else 15004 _pkg_short_errors_supported=no 15005fi 15006 if test $_pkg_short_errors_supported = yes; then 15007 DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-glib-1" 2>&1` 15008 else 15009 DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-glib-1" 2>&1` 15010 fi 15011 # Put the nasty error message in config.log where it belongs 15012 echo "$DBUS_GLIB_PKG_ERRORS" >&5 15013 15014 as_fn_error $? "Package requirements (dbus-glib-1) were not met: 15015 15016$DBUS_GLIB_PKG_ERRORS 15017 15018Consider adjusting the PKG_CONFIG_PATH environment variable if you 15019installed software in a non-standard prefix. 15020 15021Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS 15022and DBUS_GLIB_LIBS to avoid the need to call pkg-config. 15023See the pkg-config man page for more details." "$LINENO" 5 15024elif test $pkg_failed = untried; then 15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15026$as_echo "no" >&6; } 15027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15028$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15029as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15030is in your PATH or set the PKG_CONFIG environment variable to the full 15031path to pkg-config. 15032 15033Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS 15034and DBUS_GLIB_LIBS to avoid the need to call pkg-config. 15035See the pkg-config man page for more details. 15036 15037To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15038See \`config.log' for more details" "$LINENO" 5; } 15039else 15040 DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS 15041 DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS 15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15043$as_echo "yes" >&6; } 15044 15045 _na_have_dbus_glib="yes" 15046 15047fi 15048 15049elif test $pkg_failed = untried; then 15050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15051$as_echo "no" >&6; } 15052 15053 15054pkg_failed=no 15055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_GLIB" >&5 15056$as_echo_n "checking for DBUS_GLIB... " >&6; } 15057 15058if test -n "$DBUS_GLIB_CFLAGS"; then 15059 pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS" 15060 elif test -n "$PKG_CONFIG"; then 15061 if test -n "$PKG_CONFIG" && \ 15062 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1\""; } >&5 15063 ($PKG_CONFIG --exists --print-errors "dbus-glib-1") 2>&5 15064 ac_status=$? 15065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15066 test $ac_status = 0; }; then 15067 pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1" 2>/dev/null` 15068 test "x$?" != "x0" && pkg_failed=yes 15069else 15070 pkg_failed=yes 15071fi 15072 else 15073 pkg_failed=untried 15074fi 15075if test -n "$DBUS_GLIB_LIBS"; then 15076 pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS" 15077 elif test -n "$PKG_CONFIG"; then 15078 if test -n "$PKG_CONFIG" && \ 15079 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1\""; } >&5 15080 ($PKG_CONFIG --exists --print-errors "dbus-glib-1") 2>&5 15081 ac_status=$? 15082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15083 test $ac_status = 0; }; then 15084 pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1" 2>/dev/null` 15085 test "x$?" != "x0" && pkg_failed=yes 15086else 15087 pkg_failed=yes 15088fi 15089 else 15090 pkg_failed=untried 15091fi 15092 15093 15094 15095if test $pkg_failed = yes; then 15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15097$as_echo "no" >&6; } 15098 15099if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15100 _pkg_short_errors_supported=yes 15101else 15102 _pkg_short_errors_supported=no 15103fi 15104 if test $_pkg_short_errors_supported = yes; then 15105 DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-glib-1" 2>&1` 15106 else 15107 DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-glib-1" 2>&1` 15108 fi 15109 # Put the nasty error message in config.log where it belongs 15110 echo "$DBUS_GLIB_PKG_ERRORS" >&5 15111 15112 as_fn_error $? "Package requirements (dbus-glib-1) were not met: 15113 15114$DBUS_GLIB_PKG_ERRORS 15115 15116Consider adjusting the PKG_CONFIG_PATH environment variable if you 15117installed software in a non-standard prefix. 15118 15119Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS 15120and DBUS_GLIB_LIBS to avoid the need to call pkg-config. 15121See the pkg-config man page for more details." "$LINENO" 5 15122elif test $pkg_failed = untried; then 15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15124$as_echo "no" >&6; } 15125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15126$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15127as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15128is in your PATH or set the PKG_CONFIG environment variable to the full 15129path to pkg-config. 15130 15131Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS 15132and DBUS_GLIB_LIBS to avoid the need to call pkg-config. 15133See the pkg-config man page for more details. 15134 15135To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15136See \`config.log' for more details" "$LINENO" 5; } 15137else 15138 DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS 15139 DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS 15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15141$as_echo "yes" >&6; } 15142 15143 _na_have_dbus_glib="yes" 15144 15145fi 15146 15147else 15148 GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS 15149 GDBUS_LIBS=$pkg_cv_GDBUS_LIBS 15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15151$as_echo "yes" >&6; } 15152 15153 _na_have_gdbus="yes" 15154 15155fi 15156 15157 if test "${_na_have_gdbus}" = "yes"; then 15158 msg_gdbus="with GDBus" 15159 msg_gdbus_version=$(pkg-config --modversion gio-2.0) 15160 15161cat >>confdefs.h <<_ACEOF 15162#define HAVE_GDBUS 1 15163_ACEOF 15164 15165 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${GDBUS_CFLAGS}" 15166 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${GDBUS_LIBS}" 15167 fi 15168 if test "${_na_have_dbus_glib}" = "yes"; then 15169 msg_gdbus="with DBus-GLib" 15170 msg_gdbus_version=$(pkg-config --modversion dbus-glib-1) 15171 15172cat >>confdefs.h <<_ACEOF 15173#define HAVE_DBUS_GLIB 1 15174_ACEOF 15175 15176 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${DBUS_GLIB_CFLAGS}" 15177 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${DBUS_GLIB_LIBS}" 15178 fi 15179 15180 if test "${_na_have_gdbus}" = "yes"; then 15181 HAVE_GDBUS_TRUE= 15182 HAVE_GDBUS_FALSE='#' 15183else 15184 HAVE_GDBUS_TRUE='#' 15185 HAVE_GDBUS_FALSE= 15186fi 15187 15188 if test "${_na_have_dbus_glib}" = "yes"; then 15189 HAVE_DBUS_GLIB_TRUE= 15190 HAVE_DBUS_GLIB_FALSE='#' 15191else 15192 HAVE_DBUS_GLIB_TRUE='#' 15193 HAVE_DBUS_GLIB_FALSE= 15194fi 15195 15196 15197 15198# other required libraries 15199 15200 15201pkg_failed=no 15202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO_UNIX" >&5 15203$as_echo_n "checking for GIO_UNIX... " >&6; } 15204 15205if test -n "$GIO_UNIX_CFLAGS"; then 15206 pkg_cv_GIO_UNIX_CFLAGS="$GIO_UNIX_CFLAGS" 15207 elif test -n "$PKG_CONFIG"; then 15208 if test -n "$PKG_CONFIG" && \ 15209 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0\""; } >&5 15210 ($PKG_CONFIG --exists --print-errors "gio-unix-2.0") 2>&5 15211 ac_status=$? 15212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15213 test $ac_status = 0; }; then 15214 pkg_cv_GIO_UNIX_CFLAGS=`$PKG_CONFIG --cflags "gio-unix-2.0" 2>/dev/null` 15215 test "x$?" != "x0" && pkg_failed=yes 15216else 15217 pkg_failed=yes 15218fi 15219 else 15220 pkg_failed=untried 15221fi 15222if test -n "$GIO_UNIX_LIBS"; then 15223 pkg_cv_GIO_UNIX_LIBS="$GIO_UNIX_LIBS" 15224 elif test -n "$PKG_CONFIG"; then 15225 if test -n "$PKG_CONFIG" && \ 15226 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0\""; } >&5 15227 ($PKG_CONFIG --exists --print-errors "gio-unix-2.0") 2>&5 15228 ac_status=$? 15229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15230 test $ac_status = 0; }; then 15231 pkg_cv_GIO_UNIX_LIBS=`$PKG_CONFIG --libs "gio-unix-2.0" 2>/dev/null` 15232 test "x$?" != "x0" && pkg_failed=yes 15233else 15234 pkg_failed=yes 15235fi 15236 else 15237 pkg_failed=untried 15238fi 15239 15240 15241 15242if test $pkg_failed = yes; then 15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15244$as_echo "no" >&6; } 15245 15246if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15247 _pkg_short_errors_supported=yes 15248else 15249 _pkg_short_errors_supported=no 15250fi 15251 if test $_pkg_short_errors_supported = yes; then 15252 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-unix-2.0" 2>&1` 15253 else 15254 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-unix-2.0" 2>&1` 15255 fi 15256 # Put the nasty error message in config.log where it belongs 15257 echo "$GIO_UNIX_PKG_ERRORS" >&5 15258 15259 have_GIO_UNIX="no" 15260elif test $pkg_failed = untried; then 15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15262$as_echo "no" >&6; } 15263 have_GIO_UNIX="no" 15264else 15265 GIO_UNIX_CFLAGS=$pkg_cv_GIO_UNIX_CFLAGS 15266 GIO_UNIX_LIBS=$pkg_cv_GIO_UNIX_LIBS 15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15268$as_echo "yes" >&6; } 15269 have_GIO_UNIX="yes" 15270fi 15271 15272 #echo "have_gtk2=$have_gtk2 have_gtk3=$have_gtk3" 15273 #echo "GIO_UNIX_CFLAGS='${GIO_UNIX_CFLAGS}'" 15274 #echo "GIO_UNIX_LIBS='${GIO_UNIX_LIBS}'" 15275 #echo "against Gtk2: $(echo ${GIO_UNIX_LIBS} | grep -E 'gtk-[^-]+-2\.0')" 15276 #echo "against Gtk3: $(echo ${GIO_UNIX_LIBS} | grep -E 'gtk-[^-]+-3\.0')" 15277 15278 if test "${have_GIO_UNIX}" = "yes"; then 15279 if test "${have_gtk3}" = "yes"; then 15280 if echo ${GIO_UNIX_LIBS} | grep -qE 'gtk-[^-]+-2\.0'; then 15281 15282 if test "" = "no"; then 15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: GIO_UNIX: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 15284$as_echo "warning: GIO_UNIX: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&6; } 15285 else 15286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GIO_UNIX: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 15287$as_echo "$as_me: WARNING: GIO_UNIX: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&2;} 15288 let na_fatal_count+=1 15289 fi 15290 15291 have_GIO_UNIX="no" 15292 fi 15293 elif test "${have_gtk2}" = "yes"; then 15294 if echo ${GIO_UNIX_LIBS} | grep -qE 'gtk-[^-]+-3.0'; then 15295 15296 if test "" = "no"; then 15297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: GIO_UNIX: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 15298$as_echo "warning: GIO_UNIX: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&6; } 15299 else 15300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GIO_UNIX: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 15301$as_echo "$as_me: WARNING: GIO_UNIX: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&2;} 15302 let na_fatal_count+=1 15303 fi 15304 15305 have_GIO_UNIX="no" 15306 fi 15307 fi 15308 else 15309 15310 if test "" = "no"; then 15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: GIO_UNIX: condition gio-unix-2.0 not satisfied" >&5 15312$as_echo "warning: GIO_UNIX: condition gio-unix-2.0 not satisfied" >&6; } 15313 else 15314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GIO_UNIX: condition gio-unix-2.0 not satisfied" >&5 15315$as_echo "$as_me: WARNING: GIO_UNIX: condition gio-unix-2.0 not satisfied" >&2;} 15316 let na_fatal_count+=1 15317 fi 15318 15319 fi 15320 15321 if test "${have_GIO_UNIX}" = "yes"; then 15322 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${GIO_UNIX_CFLAGS}" 15323 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${GIO_UNIX_LIBS}" 15324 fi 15325 15326 15327 15328pkg_failed=no 15329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTOP" >&5 15330$as_echo_n "checking for GTOP... " >&6; } 15331 15332if test -n "$GTOP_CFLAGS"; then 15333 pkg_cv_GTOP_CFLAGS="$GTOP_CFLAGS" 15334 elif test -n "$PKG_CONFIG"; then 15335 if test -n "$PKG_CONFIG" && \ 15336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0 >= 2.23.1\""; } >&5 15337 ($PKG_CONFIG --exists --print-errors "libgtop-2.0 >= 2.23.1") 2>&5 15338 ac_status=$? 15339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15340 test $ac_status = 0; }; then 15341 pkg_cv_GTOP_CFLAGS=`$PKG_CONFIG --cflags "libgtop-2.0 >= 2.23.1" 2>/dev/null` 15342 test "x$?" != "x0" && pkg_failed=yes 15343else 15344 pkg_failed=yes 15345fi 15346 else 15347 pkg_failed=untried 15348fi 15349if test -n "$GTOP_LIBS"; then 15350 pkg_cv_GTOP_LIBS="$GTOP_LIBS" 15351 elif test -n "$PKG_CONFIG"; then 15352 if test -n "$PKG_CONFIG" && \ 15353 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0 >= 2.23.1\""; } >&5 15354 ($PKG_CONFIG --exists --print-errors "libgtop-2.0 >= 2.23.1") 2>&5 15355 ac_status=$? 15356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15357 test $ac_status = 0; }; then 15358 pkg_cv_GTOP_LIBS=`$PKG_CONFIG --libs "libgtop-2.0 >= 2.23.1" 2>/dev/null` 15359 test "x$?" != "x0" && pkg_failed=yes 15360else 15361 pkg_failed=yes 15362fi 15363 else 15364 pkg_failed=untried 15365fi 15366 15367 15368 15369if test $pkg_failed = yes; then 15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15371$as_echo "no" >&6; } 15372 15373if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15374 _pkg_short_errors_supported=yes 15375else 15376 _pkg_short_errors_supported=no 15377fi 15378 if test $_pkg_short_errors_supported = yes; then 15379 GTOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgtop-2.0 >= 2.23.1" 2>&1` 15380 else 15381 GTOP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgtop-2.0 >= 2.23.1" 2>&1` 15382 fi 15383 # Put the nasty error message in config.log where it belongs 15384 echo "$GTOP_PKG_ERRORS" >&5 15385 15386 have_GTOP="no" 15387elif test $pkg_failed = untried; then 15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15389$as_echo "no" >&6; } 15390 have_GTOP="no" 15391else 15392 GTOP_CFLAGS=$pkg_cv_GTOP_CFLAGS 15393 GTOP_LIBS=$pkg_cv_GTOP_LIBS 15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15395$as_echo "yes" >&6; } 15396 have_GTOP="yes" 15397fi 15398 15399 #echo "have_gtk2=$have_gtk2 have_gtk3=$have_gtk3" 15400 #echo "GTOP_CFLAGS='${GTOP_CFLAGS}'" 15401 #echo "GTOP_LIBS='${GTOP_LIBS}'" 15402 #echo "against Gtk2: $(echo ${GTOP_LIBS} | grep -E 'gtk-[^-]+-2\.0')" 15403 #echo "against Gtk3: $(echo ${GTOP_LIBS} | grep -E 'gtk-[^-]+-3\.0')" 15404 15405 if test "${have_GTOP}" = "yes"; then 15406 if test "${have_gtk3}" = "yes"; then 15407 if echo ${GTOP_LIBS} | grep -qE 'gtk-[^-]+-2\.0'; then 15408 15409 if test "" = "no"; then 15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: GTOP: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 15411$as_echo "warning: GTOP: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&6; } 15412 else 15413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GTOP: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 15414$as_echo "$as_me: WARNING: GTOP: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&2;} 15415 let na_fatal_count+=1 15416 fi 15417 15418 have_GTOP="no" 15419 fi 15420 elif test "${have_gtk2}" = "yes"; then 15421 if echo ${GTOP_LIBS} | grep -qE 'gtk-[^-]+-3.0'; then 15422 15423 if test "" = "no"; then 15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: GTOP: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 15425$as_echo "warning: GTOP: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&6; } 15426 else 15427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GTOP: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 15428$as_echo "$as_me: WARNING: GTOP: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&2;} 15429 let na_fatal_count+=1 15430 fi 15431 15432 have_GTOP="no" 15433 fi 15434 fi 15435 else 15436 15437 if test "" = "no"; then 15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: GTOP: condition libgtop-2.0 >= 2.23.1 not satisfied" >&5 15439$as_echo "warning: GTOP: condition libgtop-2.0 >= 2.23.1 not satisfied" >&6; } 15440 else 15441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GTOP: condition libgtop-2.0 >= 2.23.1 not satisfied" >&5 15442$as_echo "$as_me: WARNING: GTOP: condition libgtop-2.0 >= 2.23.1 not satisfied" >&2;} 15443 let na_fatal_count+=1 15444 fi 15445 15446 fi 15447 15448 if test "${have_GTOP}" = "yes"; then 15449 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${GTOP_CFLAGS}" 15450 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${GTOP_LIBS}" 15451 fi 15452 15453 15454 15455pkg_failed=no 15456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5 15457$as_echo_n "checking for LIBXML... " >&6; } 15458 15459if test -n "$LIBXML_CFLAGS"; then 15460 pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS" 15461 elif test -n "$PKG_CONFIG"; then 15462 if test -n "$PKG_CONFIG" && \ 15463 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5 15464 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5 15465 ac_status=$? 15466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15467 test $ac_status = 0; }; then 15468 pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6" 2>/dev/null` 15469 test "x$?" != "x0" && pkg_failed=yes 15470else 15471 pkg_failed=yes 15472fi 15473 else 15474 pkg_failed=untried 15475fi 15476if test -n "$LIBXML_LIBS"; then 15477 pkg_cv_LIBXML_LIBS="$LIBXML_LIBS" 15478 elif test -n "$PKG_CONFIG"; then 15479 if test -n "$PKG_CONFIG" && \ 15480 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5 15481 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5 15482 ac_status=$? 15483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15484 test $ac_status = 0; }; then 15485 pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6" 2>/dev/null` 15486 test "x$?" != "x0" && pkg_failed=yes 15487else 15488 pkg_failed=yes 15489fi 15490 else 15491 pkg_failed=untried 15492fi 15493 15494 15495 15496if test $pkg_failed = yes; then 15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15498$as_echo "no" >&6; } 15499 15500if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15501 _pkg_short_errors_supported=yes 15502else 15503 _pkg_short_errors_supported=no 15504fi 15505 if test $_pkg_short_errors_supported = yes; then 15506 LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.6" 2>&1` 15507 else 15508 LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.6" 2>&1` 15509 fi 15510 # Put the nasty error message in config.log where it belongs 15511 echo "$LIBXML_PKG_ERRORS" >&5 15512 15513 have_LIBXML="no" 15514elif test $pkg_failed = untried; then 15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15516$as_echo "no" >&6; } 15517 have_LIBXML="no" 15518else 15519 LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS 15520 LIBXML_LIBS=$pkg_cv_LIBXML_LIBS 15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15522$as_echo "yes" >&6; } 15523 have_LIBXML="yes" 15524fi 15525 15526 #echo "have_gtk2=$have_gtk2 have_gtk3=$have_gtk3" 15527 #echo "LIBXML_CFLAGS='${LIBXML_CFLAGS}'" 15528 #echo "LIBXML_LIBS='${LIBXML_LIBS}'" 15529 #echo "against Gtk2: $(echo ${LIBXML_LIBS} | grep -E 'gtk-[^-]+-2\.0')" 15530 #echo "against Gtk3: $(echo ${LIBXML_LIBS} | grep -E 'gtk-[^-]+-3\.0')" 15531 15532 if test "${have_LIBXML}" = "yes"; then 15533 if test "${have_gtk3}" = "yes"; then 15534 if echo ${LIBXML_LIBS} | grep -qE 'gtk-[^-]+-2\.0'; then 15535 15536 if test "" = "no"; then 15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: LIBXML: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 15538$as_echo "warning: LIBXML: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&6; } 15539 else 15540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LIBXML: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 15541$as_echo "$as_me: WARNING: LIBXML: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&2;} 15542 let na_fatal_count+=1 15543 fi 15544 15545 have_LIBXML="no" 15546 fi 15547 elif test "${have_gtk2}" = "yes"; then 15548 if echo ${LIBXML_LIBS} | grep -qE 'gtk-[^-]+-3.0'; then 15549 15550 if test "" = "no"; then 15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: LIBXML: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 15552$as_echo "warning: LIBXML: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&6; } 15553 else 15554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LIBXML: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 15555$as_echo "$as_me: WARNING: LIBXML: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&2;} 15556 let na_fatal_count+=1 15557 fi 15558 15559 have_LIBXML="no" 15560 fi 15561 fi 15562 else 15563 15564 if test "" = "no"; then 15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: LIBXML: condition libxml-2.0 >= 2.6 not satisfied" >&5 15566$as_echo "warning: LIBXML: condition libxml-2.0 >= 2.6 not satisfied" >&6; } 15567 else 15568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LIBXML: condition libxml-2.0 >= 2.6 not satisfied" >&5 15569$as_echo "$as_me: WARNING: LIBXML: condition libxml-2.0 >= 2.6 not satisfied" >&2;} 15570 let na_fatal_count+=1 15571 fi 15572 15573 fi 15574 15575 if test "${have_LIBXML}" = "yes"; then 15576 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${LIBXML_CFLAGS}" 15577 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${LIBXML_LIBS}" 15578 fi 15579 15580 15581 15582pkg_failed=no 15583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5 15584$as_echo_n "checking for SM... " >&6; } 15585 15586if test -n "$SM_CFLAGS"; then 15587 pkg_cv_SM_CFLAGS="$SM_CFLAGS" 15588 elif test -n "$PKG_CONFIG"; then 15589 if test -n "$PKG_CONFIG" && \ 15590 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm >= 1.0\""; } >&5 15591 ($PKG_CONFIG --exists --print-errors "sm >= 1.0") 2>&5 15592 ac_status=$? 15593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15594 test $ac_status = 0; }; then 15595 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "sm >= 1.0" 2>/dev/null` 15596 test "x$?" != "x0" && pkg_failed=yes 15597else 15598 pkg_failed=yes 15599fi 15600 else 15601 pkg_failed=untried 15602fi 15603if test -n "$SM_LIBS"; then 15604 pkg_cv_SM_LIBS="$SM_LIBS" 15605 elif test -n "$PKG_CONFIG"; then 15606 if test -n "$PKG_CONFIG" && \ 15607 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm >= 1.0\""; } >&5 15608 ($PKG_CONFIG --exists --print-errors "sm >= 1.0") 2>&5 15609 ac_status=$? 15610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15611 test $ac_status = 0; }; then 15612 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "sm >= 1.0" 2>/dev/null` 15613 test "x$?" != "x0" && pkg_failed=yes 15614else 15615 pkg_failed=yes 15616fi 15617 else 15618 pkg_failed=untried 15619fi 15620 15621 15622 15623if test $pkg_failed = yes; then 15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15625$as_echo "no" >&6; } 15626 15627if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15628 _pkg_short_errors_supported=yes 15629else 15630 _pkg_short_errors_supported=no 15631fi 15632 if test $_pkg_short_errors_supported = yes; then 15633 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sm >= 1.0" 2>&1` 15634 else 15635 SM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sm >= 1.0" 2>&1` 15636 fi 15637 # Put the nasty error message in config.log where it belongs 15638 echo "$SM_PKG_ERRORS" >&5 15639 15640 have_SM="no" 15641elif test $pkg_failed = untried; then 15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15643$as_echo "no" >&6; } 15644 have_SM="no" 15645else 15646 SM_CFLAGS=$pkg_cv_SM_CFLAGS 15647 SM_LIBS=$pkg_cv_SM_LIBS 15648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15649$as_echo "yes" >&6; } 15650 have_SM="yes" 15651fi 15652 15653 #echo "have_gtk2=$have_gtk2 have_gtk3=$have_gtk3" 15654 #echo "SM_CFLAGS='${SM_CFLAGS}'" 15655 #echo "SM_LIBS='${SM_LIBS}'" 15656 #echo "against Gtk2: $(echo ${SM_LIBS} | grep -E 'gtk-[^-]+-2\.0')" 15657 #echo "against Gtk3: $(echo ${SM_LIBS} | grep -E 'gtk-[^-]+-3\.0')" 15658 15659 if test "${have_SM}" = "yes"; then 15660 if test "${have_gtk3}" = "yes"; then 15661 if echo ${SM_LIBS} | grep -qE 'gtk-[^-]+-2\.0'; then 15662 15663 if test "" = "no"; then 15664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: SM: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 15665$as_echo "warning: SM: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&6; } 15666 else 15667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SM: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 15668$as_echo "$as_me: WARNING: SM: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&2;} 15669 let na_fatal_count+=1 15670 fi 15671 15672 have_SM="no" 15673 fi 15674 elif test "${have_gtk2}" = "yes"; then 15675 if echo ${SM_LIBS} | grep -qE 'gtk-[^-]+-3.0'; then 15676 15677 if test "" = "no"; then 15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: SM: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 15679$as_echo "warning: SM: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&6; } 15680 else 15681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SM: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 15682$as_echo "$as_me: WARNING: SM: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&2;} 15683 let na_fatal_count+=1 15684 fi 15685 15686 have_SM="no" 15687 fi 15688 fi 15689 else 15690 15691 if test "" = "no"; then 15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: SM: condition sm >= 1.0 not satisfied" >&5 15693$as_echo "warning: SM: condition sm >= 1.0 not satisfied" >&6; } 15694 else 15695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SM: condition sm >= 1.0 not satisfied" >&5 15696$as_echo "$as_me: WARNING: SM: condition sm >= 1.0 not satisfied" >&2;} 15697 let na_fatal_count+=1 15698 fi 15699 15700 fi 15701 15702 if test "${have_SM}" = "yes"; then 15703 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${SM_CFLAGS}" 15704 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${SM_LIBS}" 15705 fi 15706 15707 15708 15709pkg_failed=no 15710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICE" >&5 15711$as_echo_n "checking for ICE... " >&6; } 15712 15713if test -n "$ICE_CFLAGS"; then 15714 pkg_cv_ICE_CFLAGS="$ICE_CFLAGS" 15715 elif test -n "$PKG_CONFIG"; then 15716 if test -n "$PKG_CONFIG" && \ 15717 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ice\""; } >&5 15718 ($PKG_CONFIG --exists --print-errors "ice") 2>&5 15719 ac_status=$? 15720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15721 test $ac_status = 0; }; then 15722 pkg_cv_ICE_CFLAGS=`$PKG_CONFIG --cflags "ice" 2>/dev/null` 15723 test "x$?" != "x0" && pkg_failed=yes 15724else 15725 pkg_failed=yes 15726fi 15727 else 15728 pkg_failed=untried 15729fi 15730if test -n "$ICE_LIBS"; then 15731 pkg_cv_ICE_LIBS="$ICE_LIBS" 15732 elif test -n "$PKG_CONFIG"; then 15733 if test -n "$PKG_CONFIG" && \ 15734 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ice\""; } >&5 15735 ($PKG_CONFIG --exists --print-errors "ice") 2>&5 15736 ac_status=$? 15737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15738 test $ac_status = 0; }; then 15739 pkg_cv_ICE_LIBS=`$PKG_CONFIG --libs "ice" 2>/dev/null` 15740 test "x$?" != "x0" && pkg_failed=yes 15741else 15742 pkg_failed=yes 15743fi 15744 else 15745 pkg_failed=untried 15746fi 15747 15748 15749 15750if test $pkg_failed = yes; then 15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15752$as_echo "no" >&6; } 15753 15754if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15755 _pkg_short_errors_supported=yes 15756else 15757 _pkg_short_errors_supported=no 15758fi 15759 if test $_pkg_short_errors_supported = yes; then 15760 ICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ice" 2>&1` 15761 else 15762 ICE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ice" 2>&1` 15763 fi 15764 # Put the nasty error message in config.log where it belongs 15765 echo "$ICE_PKG_ERRORS" >&5 15766 15767 have_ICE="no" 15768elif test $pkg_failed = untried; then 15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15770$as_echo "no" >&6; } 15771 have_ICE="no" 15772else 15773 ICE_CFLAGS=$pkg_cv_ICE_CFLAGS 15774 ICE_LIBS=$pkg_cv_ICE_LIBS 15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15776$as_echo "yes" >&6; } 15777 have_ICE="yes" 15778fi 15779 15780 #echo "have_gtk2=$have_gtk2 have_gtk3=$have_gtk3" 15781 #echo "ICE_CFLAGS='${ICE_CFLAGS}'" 15782 #echo "ICE_LIBS='${ICE_LIBS}'" 15783 #echo "against Gtk2: $(echo ${ICE_LIBS} | grep -E 'gtk-[^-]+-2\.0')" 15784 #echo "against Gtk3: $(echo ${ICE_LIBS} | grep -E 'gtk-[^-]+-3\.0')" 15785 15786 if test "${have_ICE}" = "yes"; then 15787 if test "${have_gtk3}" = "yes"; then 15788 if echo ${ICE_LIBS} | grep -qE 'gtk-[^-]+-2\.0'; then 15789 15790 if test "" = "no"; then 15791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: ICE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 15792$as_echo "warning: ICE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&6; } 15793 else 15794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ICE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 15795$as_echo "$as_me: WARNING: ICE: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&2;} 15796 let na_fatal_count+=1 15797 fi 15798 15799 have_ICE="no" 15800 fi 15801 elif test "${have_gtk2}" = "yes"; then 15802 if echo ${ICE_LIBS} | grep -qE 'gtk-[^-]+-3.0'; then 15803 15804 if test "" = "no"; then 15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: ICE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 15806$as_echo "warning: ICE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&6; } 15807 else 15808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ICE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 15809$as_echo "$as_me: WARNING: ICE: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&2;} 15810 let na_fatal_count+=1 15811 fi 15812 15813 have_ICE="no" 15814 fi 15815 fi 15816 else 15817 15818 if test "" = "no"; then 15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: ICE: condition ice not satisfied" >&5 15820$as_echo "warning: ICE: condition ice not satisfied" >&6; } 15821 else 15822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ICE: condition ice not satisfied" >&5 15823$as_echo "$as_me: WARNING: ICE: condition ice not satisfied" >&2;} 15824 let na_fatal_count+=1 15825 fi 15826 15827 fi 15828 15829 if test "${have_ICE}" = "yes"; then 15830 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${ICE_CFLAGS}" 15831 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${ICE_LIBS}" 15832 fi 15833 15834 15835 15836pkg_failed=no 15837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5 15838$as_echo_n "checking for UUID... " >&6; } 15839 15840if test -n "$UUID_CFLAGS"; then 15841 pkg_cv_UUID_CFLAGS="$UUID_CFLAGS" 15842 elif test -n "$PKG_CONFIG"; then 15843 if test -n "$PKG_CONFIG" && \ 15844 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5 15845 ($PKG_CONFIG --exists --print-errors "uuid") 2>&5 15846 ac_status=$? 15847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15848 test $ac_status = 0; }; then 15849 pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid" 2>/dev/null` 15850 test "x$?" != "x0" && pkg_failed=yes 15851else 15852 pkg_failed=yes 15853fi 15854 else 15855 pkg_failed=untried 15856fi 15857if test -n "$UUID_LIBS"; then 15858 pkg_cv_UUID_LIBS="$UUID_LIBS" 15859 elif test -n "$PKG_CONFIG"; then 15860 if test -n "$PKG_CONFIG" && \ 15861 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5 15862 ($PKG_CONFIG --exists --print-errors "uuid") 2>&5 15863 ac_status=$? 15864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15865 test $ac_status = 0; }; then 15866 pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid" 2>/dev/null` 15867 test "x$?" != "x0" && pkg_failed=yes 15868else 15869 pkg_failed=yes 15870fi 15871 else 15872 pkg_failed=untried 15873fi 15874 15875 15876 15877if test $pkg_failed = yes; then 15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15879$as_echo "no" >&6; } 15880 15881if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15882 _pkg_short_errors_supported=yes 15883else 15884 _pkg_short_errors_supported=no 15885fi 15886 if test $_pkg_short_errors_supported = yes; then 15887 UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid" 2>&1` 15888 else 15889 UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid" 2>&1` 15890 fi 15891 # Put the nasty error message in config.log where it belongs 15892 echo "$UUID_PKG_ERRORS" >&5 15893 15894 have_UUID="no" 15895elif test $pkg_failed = untried; then 15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15897$as_echo "no" >&6; } 15898 have_UUID="no" 15899else 15900 UUID_CFLAGS=$pkg_cv_UUID_CFLAGS 15901 UUID_LIBS=$pkg_cv_UUID_LIBS 15902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15903$as_echo "yes" >&6; } 15904 have_UUID="yes" 15905fi 15906 15907 #echo "have_gtk2=$have_gtk2 have_gtk3=$have_gtk3" 15908 #echo "UUID_CFLAGS='${UUID_CFLAGS}'" 15909 #echo "UUID_LIBS='${UUID_LIBS}'" 15910 #echo "against Gtk2: $(echo ${UUID_LIBS} | grep -E 'gtk-[^-]+-2\.0')" 15911 #echo "against Gtk3: $(echo ${UUID_LIBS} | grep -E 'gtk-[^-]+-3\.0')" 15912 15913 if test "${have_UUID}" = "yes"; then 15914 if test "${have_gtk3}" = "yes"; then 15915 if echo ${UUID_LIBS} | grep -qE 'gtk-[^-]+-2\.0'; then 15916 15917 if test "" = "no"; then 15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UUID: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 15919$as_echo "warning: UUID: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&6; } 15920 else 15921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UUID: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 15922$as_echo "$as_me: WARNING: UUID: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&2;} 15923 let na_fatal_count+=1 15924 fi 15925 15926 have_UUID="no" 15927 fi 15928 elif test "${have_gtk2}" = "yes"; then 15929 if echo ${UUID_LIBS} | grep -qE 'gtk-[^-]+-3.0'; then 15930 15931 if test "" = "no"; then 15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UUID: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 15933$as_echo "warning: UUID: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&6; } 15934 else 15935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UUID: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 15936$as_echo "$as_me: WARNING: UUID: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&2;} 15937 let na_fatal_count+=1 15938 fi 15939 15940 have_UUID="no" 15941 fi 15942 fi 15943 else 15944 15945 if test "" = "no"; then 15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: UUID: condition uuid not satisfied" >&5 15947$as_echo "warning: UUID: condition uuid not satisfied" >&6; } 15948 else 15949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UUID: condition uuid not satisfied" >&5 15950$as_echo "$as_me: WARNING: UUID: condition uuid not satisfied" >&2;} 15951 let na_fatal_count+=1 15952 fi 15953 15954 fi 15955 15956 if test "${have_UUID}" = "yes"; then 15957 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${UUID_CFLAGS}" 15958 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${UUID_LIBS}" 15959 fi 15960 15961 15962# GLib marshaling 15963# Extract the first word of "glib-genmarshal", so it can be a program name with args. 15964set dummy glib-genmarshal; ac_word=$2 15965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15966$as_echo_n "checking for $ac_word... " >&6; } 15967if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then : 15968 $as_echo_n "(cached) " >&6 15969else 15970 case $GLIB_GENMARSHAL in 15971 [\\/]* | ?:[\\/]*) 15972 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path. 15973 ;; 15974 *) 15975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15976for as_dir in $PATH 15977do 15978 IFS=$as_save_IFS 15979 test -z "$as_dir" && as_dir=. 15980 for ac_exec_ext in '' $ac_executable_extensions; do 15981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15982 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext" 15983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15984 break 2 15985 fi 15986done 15987 done 15988IFS=$as_save_IFS 15989 15990 test -z "$ac_cv_path_GLIB_GENMARSHAL" && ac_cv_path_GLIB_GENMARSHAL="no" 15991 ;; 15992esac 15993fi 15994GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL 15995if test -n "$GLIB_GENMARSHAL"; then 15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5 15997$as_echo "$GLIB_GENMARSHAL" >&6; } 15998else 15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16000$as_echo "no" >&6; } 16001fi 16002 16003 16004if test "${GLIB_GENMARSHAL}" = "no"; then 16005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: glib2-devel installed, but glib-genmarshal not found" >&5 16006$as_echo "$as_me: WARNING: glib2-devel installed, but glib-genmarshal not found" >&2;} 16007 let na_fatal_count+=1 16008fi 16009 16010## 16011## Nautilus file-manager 16012## 16013 16014 16015pkg_failed=no 16016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NAUTILUS_EXTENSION" >&5 16017$as_echo_n "checking for NAUTILUS_EXTENSION... " >&6; } 16018 16019if test -n "$NAUTILUS_EXTENSION_CFLAGS"; then 16020 pkg_cv_NAUTILUS_EXTENSION_CFLAGS="$NAUTILUS_EXTENSION_CFLAGS" 16021 elif test -n "$PKG_CONFIG"; then 16022 if test -n "$PKG_CONFIG" && \ 16023 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= 2.16\""; } >&5 16024 ($PKG_CONFIG --exists --print-errors "libnautilus-extension >= 2.16") 2>&5 16025 ac_status=$? 16026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16027 test $ac_status = 0; }; then 16028 pkg_cv_NAUTILUS_EXTENSION_CFLAGS=`$PKG_CONFIG --cflags "libnautilus-extension >= 2.16" 2>/dev/null` 16029 test "x$?" != "x0" && pkg_failed=yes 16030else 16031 pkg_failed=yes 16032fi 16033 else 16034 pkg_failed=untried 16035fi 16036if test -n "$NAUTILUS_EXTENSION_LIBS"; then 16037 pkg_cv_NAUTILUS_EXTENSION_LIBS="$NAUTILUS_EXTENSION_LIBS" 16038 elif test -n "$PKG_CONFIG"; then 16039 if test -n "$PKG_CONFIG" && \ 16040 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= 2.16\""; } >&5 16041 ($PKG_CONFIG --exists --print-errors "libnautilus-extension >= 2.16") 2>&5 16042 ac_status=$? 16043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16044 test $ac_status = 0; }; then 16045 pkg_cv_NAUTILUS_EXTENSION_LIBS=`$PKG_CONFIG --libs "libnautilus-extension >= 2.16" 2>/dev/null` 16046 test "x$?" != "x0" && pkg_failed=yes 16047else 16048 pkg_failed=yes 16049fi 16050 else 16051 pkg_failed=untried 16052fi 16053 16054 16055 16056if test $pkg_failed = yes; then 16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16058$as_echo "no" >&6; } 16059 16060if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16061 _pkg_short_errors_supported=yes 16062else 16063 _pkg_short_errors_supported=no 16064fi 16065 if test $_pkg_short_errors_supported = yes; then 16066 NAUTILUS_EXTENSION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnautilus-extension >= 2.16" 2>&1` 16067 else 16068 NAUTILUS_EXTENSION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnautilus-extension >= 2.16" 2>&1` 16069 fi 16070 # Put the nasty error message in config.log where it belongs 16071 echo "$NAUTILUS_EXTENSION_PKG_ERRORS" >&5 16072 16073 have_NAUTILUS_EXTENSION="no" 16074elif test $pkg_failed = untried; then 16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16076$as_echo "no" >&6; } 16077 have_NAUTILUS_EXTENSION="no" 16078else 16079 NAUTILUS_EXTENSION_CFLAGS=$pkg_cv_NAUTILUS_EXTENSION_CFLAGS 16080 NAUTILUS_EXTENSION_LIBS=$pkg_cv_NAUTILUS_EXTENSION_LIBS 16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16082$as_echo "yes" >&6; } 16083 have_NAUTILUS_EXTENSION="yes" 16084fi 16085 16086 #echo "have_gtk2=$have_gtk2 have_gtk3=$have_gtk3" 16087 #echo "NAUTILUS_EXTENSION_CFLAGS='${NAUTILUS_EXTENSION_CFLAGS}'" 16088 #echo "NAUTILUS_EXTENSION_LIBS='${NAUTILUS_EXTENSION_LIBS}'" 16089 #echo "against Gtk2: $(echo ${NAUTILUS_EXTENSION_LIBS} | grep -E 'gtk-[^-]+-2\.0')" 16090 #echo "against Gtk3: $(echo ${NAUTILUS_EXTENSION_LIBS} | grep -E 'gtk-[^-]+-3\.0')" 16091 16092 if test "${have_NAUTILUS_EXTENSION}" = "yes"; then 16093 if test "${have_gtk3}" = "yes"; then 16094 if echo ${NAUTILUS_EXTENSION_LIBS} | grep -qE 'gtk-[^-]+-2\.0'; then 16095 16096 if test "" = "no"; then 16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: NAUTILUS_EXTENSION: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 16098$as_echo "warning: NAUTILUS_EXTENSION: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&6; } 16099 else 16100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: NAUTILUS_EXTENSION: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&5 16101$as_echo "$as_me: WARNING: NAUTILUS_EXTENSION: compiling with Gtk+-3 but adresses Gtk+-2 libraries" >&2;} 16102 let na_fatal_count+=1 16103 fi 16104 16105 have_NAUTILUS_EXTENSION="no" 16106 fi 16107 elif test "${have_gtk2}" = "yes"; then 16108 if echo ${NAUTILUS_EXTENSION_LIBS} | grep -qE 'gtk-[^-]+-3.0'; then 16109 16110 if test "" = "no"; then 16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: NAUTILUS_EXTENSION: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 16112$as_echo "warning: NAUTILUS_EXTENSION: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&6; } 16113 else 16114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: NAUTILUS_EXTENSION: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&5 16115$as_echo "$as_me: WARNING: NAUTILUS_EXTENSION: compiling with Gtk+-2 but adresses Gtk+-3 libraries" >&2;} 16116 let na_fatal_count+=1 16117 fi 16118 16119 have_NAUTILUS_EXTENSION="no" 16120 fi 16121 fi 16122 else 16123 16124 if test "" = "no"; then 16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: NAUTILUS_EXTENSION: condition libnautilus-extension >= 2.16 not satisfied" >&5 16126$as_echo "warning: NAUTILUS_EXTENSION: condition libnautilus-extension >= 2.16 not satisfied" >&6; } 16127 else 16128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: NAUTILUS_EXTENSION: condition libnautilus-extension >= 2.16 not satisfied" >&5 16129$as_echo "$as_me: WARNING: NAUTILUS_EXTENSION: condition libnautilus-extension >= 2.16 not satisfied" >&2;} 16130 let na_fatal_count+=1 16131 fi 16132 16133 fi 16134 16135 if test "${have_NAUTILUS_EXTENSION}" = "yes"; then 16136 NAUTILUS_ACTIONS_CFLAGS="${NAUTILUS_ACTIONS_CFLAGS} ${NAUTILUS_EXTENSION_CFLAGS}" 16137 NAUTILUS_ACTIONS_LIBS="${NAUTILUS_ACTIONS_LIBS} ${NAUTILUS_EXTENSION_LIBS}" 16138 fi 16139 16140# 16141# when working in a test environment, nautilus extensions are typically 16142# installed in a non-standard location ; lets specify this location here 16143 16144 16145# Check whether --with-nautilus-extdir was given. 16146if test "${with_nautilus_extdir+set}" = set; then : 16147 withval=$with_nautilus_extdir; with_nautilus_extdir=$withval 16148else 16149 with_nautilus_extdir="" 16150 16151fi 16152 16153 16154 16155 if test "${with_nautilus_extdir}" = ""; then 16156 if test "{PKG_CONFIG}" != ""; then 16157 with_nautilus_extdir=`${PKG_CONFIG} --variable=extensiondir libnautilus-extension` 16158 fi 16159 fi 16160 16161 16162 if test "${with_nautilus_extdir}" = ""; then 16163 as_fn_error $? "Unable to determine nautilus extension folder, please use --with-nautilus-extdir option" "$LINENO" 5 16164 else 16165 { $as_echo "$as_me:${as_lineno-$LINENO}: installing plugin in ${with_nautilus_extdir}" >&5 16166$as_echo "$as_me: installing plugin in ${with_nautilus_extdir}" >&6;} 16167 NAUTILUS_EXTENSIONS_DIR=${with_nautilus_extdir} 16168 16169 16170cat >>confdefs.h <<_ACEOF 16171#define NA_NAUTILUS_EXTENSIONS_DIR ${with_nautilus_extdir} 16172_ACEOF 16173 16174 fi 16175 16176# 16177# Check for menu update function 16178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nautilus_menu_item_new in -lnautilus-extension" >&5 16179$as_echo_n "checking for nautilus_menu_item_new in -lnautilus-extension... " >&6; } 16180if ${ac_cv_lib_nautilus_extension_nautilus_menu_item_new+:} false; then : 16181 $as_echo_n "(cached) " >&6 16182else 16183 ac_check_lib_save_LIBS=$LIBS 16184LIBS="-lnautilus-extension $LIBS" 16185cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16186/* end confdefs.h. */ 16187 16188/* Override any GCC internal prototype to avoid an error. 16189 Use char because int might match the return type of a GCC 16190 builtin and then its argument prototype would still apply. */ 16191#ifdef __cplusplus 16192extern "C" 16193#endif 16194char nautilus_menu_item_new (); 16195int 16196main () 16197{ 16198return nautilus_menu_item_new (); 16199 ; 16200 return 0; 16201} 16202_ACEOF 16203if ac_fn_c_try_link "$LINENO"; then : 16204 ac_cv_lib_nautilus_extension_nautilus_menu_item_new=yes 16205else 16206 ac_cv_lib_nautilus_extension_nautilus_menu_item_new=no 16207fi 16208rm -f core conftest.err conftest.$ac_objext \ 16209 conftest$ac_exeext conftest.$ac_ext 16210LIBS=$ac_check_lib_save_LIBS 16211fi 16212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nautilus_extension_nautilus_menu_item_new" >&5 16213$as_echo "$ac_cv_lib_nautilus_extension_nautilus_menu_item_new" >&6; } 16214if test "x$ac_cv_lib_nautilus_extension_nautilus_menu_item_new" = xyes; then : 16215 cat >>confdefs.h <<_ACEOF 16216#define HAVE_LIBNAUTILUS_EXTENSION 1 16217_ACEOF 16218 16219 LIBS="-lnautilus-extension $LIBS" 16220 16221fi 16222 16223for ac_func in nautilus_menu_provider_emit_items_updated_signal 16224do : 16225 ac_fn_c_check_func "$LINENO" "nautilus_menu_provider_emit_items_updated_signal" "ac_cv_func_nautilus_menu_provider_emit_items_updated_signal" 16226if test "x$ac_cv_func_nautilus_menu_provider_emit_items_updated_signal" = xyes; then : 16227 cat >>confdefs.h <<_ACEOF 16228#define HAVE_NAUTILUS_MENU_PROVIDER_EMIT_ITEMS_UPDATED_SIGNAL 1 16229_ACEOF 16230 16231fi 16232done 16233 16234# 16235# starting with 2.91.90, Nautilus no more allows extensions to add toolbar items 16236for ac_func in nautilus_menu_provider_get_toolbar_items 16237do : 16238 ac_fn_c_check_func "$LINENO" "nautilus_menu_provider_get_toolbar_items" "ac_cv_func_nautilus_menu_provider_get_toolbar_items" 16239if test "x$ac_cv_func_nautilus_menu_provider_get_toolbar_items" = xyes; then : 16240 cat >>confdefs.h <<_ACEOF 16241#define HAVE_NAUTILUS_MENU_PROVIDER_GET_TOOLBAR_ITEMS 1 16242_ACEOF 16243 16244fi 16245done 16246 16247 16248 16249 16250 16251# defines a log domain for each component 16252 16253 NA_LOGDOMAIN_IO_DESKTOP=NA-io-desktop 16254 16255 16256cat >>confdefs.h <<_ACEOF 16257#define NA_LOGDOMAIN_IO_DESKTOP "NA-io-desktop" 16258_ACEOF 16259 16260 16261 NA_LOGDOMAIN_IO_GCONF=NA-io-gconf 16262 16263 16264cat >>confdefs.h <<_ACEOF 16265#define NA_LOGDOMAIN_IO_GCONF "NA-io-gconf" 16266_ACEOF 16267 16268 16269 NA_LOGDOMAIN_IO_XML=NA-io-xml 16270 16271 16272cat >>confdefs.h <<_ACEOF 16273#define NA_LOGDOMAIN_IO_XML "NA-io-xml" 16274_ACEOF 16275 16276 16277 NA_LOGDOMAIN_CORE=NA-core 16278 16279 16280cat >>confdefs.h <<_ACEOF 16281#define NA_LOGDOMAIN_CORE "NA-core" 16282_ACEOF 16283 16284 16285 NA_LOGDOMAIN_NACT=NA-nact 16286 16287 16288cat >>confdefs.h <<_ACEOF 16289#define NA_LOGDOMAIN_NACT "NA-nact" 16290_ACEOF 16291 16292 16293 NA_LOGDOMAIN_PLUGIN_MENU=NA-plugin-menu 16294 16295 16296cat >>confdefs.h <<_ACEOF 16297#define NA_LOGDOMAIN_PLUGIN_MENU "NA-plugin-menu" 16298_ACEOF 16299 16300 16301 NA_LOGDOMAIN_PLUGIN_TRACKER=NA-plugin-tracker 16302 16303 16304cat >>confdefs.h <<_ACEOF 16305#define NA_LOGDOMAIN_PLUGIN_TRACKER "NA-plugin-tracker" 16306_ACEOF 16307 16308 16309 NA_LOGDOMAIN_TEST=NA-test 16310 16311 16312cat >>confdefs.h <<_ACEOF 16313#define NA_LOGDOMAIN_TEST "NA-test" 16314_ACEOF 16315 16316 16317 NA_LOGDOMAIN_UTILS=NA-utils 16318 16319 16320cat >>confdefs.h <<_ACEOF 16321#define NA_LOGDOMAIN_UTILS "NA-utils" 16322_ACEOF 16323 16324 16325 16326# add --with-default-io-provider option 16327 16328 16329 16330# Check whether --with-default-io-provider was given. 16331if test "${with_default_io_provider+set}" = set; then : 16332 withval=$with_default_io_provider; with_default_io_provider=$withval 16333else 16334 with_default_io_provider="na-desktop" 16335fi 16336 16337 16338 16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default I/O provider on new items" >&5 16340$as_echo_n "checking for default I/O provider on new items... " >&6; } 16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_default_io_provider}" >&5 16342$as_echo "${with_default_io_provider}" >&6; } 16343 if test "${with_default_io_provider}" != "na-gconf"; then 16344 if test "${with_default_io_provider}" != "na-desktop"; then 16345 as_fn_error $? "a default I/O provider must be specified, must be 'na-gconf' or 'na-desktop'" "$LINENO" 5 16346 fi 16347 fi 16348 16349 16350cat >>confdefs.h <<_ACEOF 16351#define NA_DEFAULT_IO_PROVIDER "${with_default_io_provider}" 16352_ACEOF 16353 16354 16355 16356 16357### 16358 16359ac_config_files="$ac_config_files Makefile data/Makefile data/actions/Makefile data/exports/Makefile data/gconf-schemas/Makefile docs/Makefile docs/nact/Makefile docs/reference/Makefile docs/reference/version.xml m4/Makefile icons/Makefile icons/16x16/Makefile icons/22x22/Makefile icons/32x32/Makefile icons/48x48/Makefile icons/scalable/Makefile src/Makefile src/api/Makefile src/core/Makefile src/io-desktop/Makefile src/io-gconf/Makefile src/io-xml/Makefile src/plugin-menu/Makefile src/plugin-tracker/Makefile src/nact/Makefile src/test/Makefile src/utils/Makefile po/Makefile.in maintainer/Makefile" 16360 16361 16362# Enable deprecated functions ? 16363 16364 # Check whether --enable-deprecated was given. 16365if test "${enable_deprecated+set}" = set; then : 16366 enableval=$enable_deprecated; enable_deprecated=$enableval 16367else 16368 enable_deprecated="no" 16369fi 16370 16371 16372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deprecated symbols should be enabled" >&5 16373$as_echo_n "checking whether deprecated symbols should be enabled... " >&6; } 16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_deprecated}" >&5 16375$as_echo "${enable_deprecated}" >&6; } 16376 16377 if test "${enable_deprecated}" = "yes"; then 16378 16379$as_echo "#define NA_ENABLE_DEPRECATED 1" >>confdefs.h 16380 16381 else 16382 if test "${na_request_for_deprecated}" = "yes"; then 16383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: API documentation will be incomplete as deprecated symbols are disabled" >&5 16384$as_echo "$as_me: WARNING: API documentation will be incomplete as deprecated symbols are disabled" >&2;} 16385 let na_fatal_count+=1 16386 fi 16387 fi 16388 16389 if test "${enable_deprecated}" = "yes"; then 16390 ENABLE_DEPRECATED_TRUE= 16391 ENABLE_DEPRECATED_FALSE='#' 16392else 16393 ENABLE_DEPRECATED_TRUE='#' 16394 ENABLE_DEPRECATED_FALSE= 16395fi 16396 16397 16398 16399# check for gtk-doc 16400# - starting with gtk-doc 1.16, is able to handle srcdir != builddir 16401# - API documentation should not be built (would be incomplete) when deprecated 16402# symbols are not enabled 16403 16404 16405 16406 # Extract the first word of "gtkdoc-check", so it can be a program name with args. 16407set dummy gtkdoc-check; ac_word=$2 16408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16409$as_echo_n "checking for $ac_word... " >&6; } 16410if ${ac_cv_path_GTKDOC_CHECK+:} false; then : 16411 $as_echo_n "(cached) " >&6 16412else 16413 case $GTKDOC_CHECK in 16414 [\\/]* | ?:[\\/]*) 16415 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path. 16416 ;; 16417 *) 16418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16419for as_dir in $PATH 16420do 16421 IFS=$as_save_IFS 16422 test -z "$as_dir" && as_dir=. 16423 for ac_exec_ext in '' $ac_executable_extensions; do 16424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16425 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" 16426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16427 break 2 16428 fi 16429done 16430 done 16431IFS=$as_save_IFS 16432 16433 ;; 16434esac 16435fi 16436GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK 16437if test -n "$GTKDOC_CHECK"; then 16438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 16439$as_echo "$GTKDOC_CHECK" >&6; } 16440else 16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16442$as_echo "no" >&6; } 16443fi 16444 16445 16446 for ac_prog in gtkdoc-rebase 16447do 16448 # Extract the first word of "$ac_prog", so it can be a program name with args. 16449set dummy $ac_prog; ac_word=$2 16450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16451$as_echo_n "checking for $ac_word... " >&6; } 16452if ${ac_cv_path_GTKDOC_REBASE+:} false; then : 16453 $as_echo_n "(cached) " >&6 16454else 16455 case $GTKDOC_REBASE in 16456 [\\/]* | ?:[\\/]*) 16457 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. 16458 ;; 16459 *) 16460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16461for as_dir in $PATH 16462do 16463 IFS=$as_save_IFS 16464 test -z "$as_dir" && as_dir=. 16465 for ac_exec_ext in '' $ac_executable_extensions; do 16466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16467 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext" 16468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16469 break 2 16470 fi 16471done 16472 done 16473IFS=$as_save_IFS 16474 16475 ;; 16476esac 16477fi 16478GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE 16479if test -n "$GTKDOC_REBASE"; then 16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 16481$as_echo "$GTKDOC_REBASE" >&6; } 16482else 16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16484$as_echo "no" >&6; } 16485fi 16486 16487 16488 test -n "$GTKDOC_REBASE" && break 16489done 16490test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" 16491 16492 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. 16493set dummy gtkdoc-mkpdf; ac_word=$2 16494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16495$as_echo_n "checking for $ac_word... " >&6; } 16496if ${ac_cv_path_GTKDOC_MKPDF+:} false; then : 16497 $as_echo_n "(cached) " >&6 16498else 16499 case $GTKDOC_MKPDF in 16500 [\\/]* | ?:[\\/]*) 16501 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. 16502 ;; 16503 *) 16504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16505for as_dir in $PATH 16506do 16507 IFS=$as_save_IFS 16508 test -z "$as_dir" && as_dir=. 16509 for ac_exec_ext in '' $ac_executable_extensions; do 16510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16511 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext" 16512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16513 break 2 16514 fi 16515done 16516 done 16517IFS=$as_save_IFS 16518 16519 ;; 16520esac 16521fi 16522GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF 16523if test -n "$GTKDOC_MKPDF"; then 16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 16525$as_echo "$GTKDOC_MKPDF" >&6; } 16526else 16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16528$as_echo "no" >&6; } 16529fi 16530 16531 16532 16533 16534# Check whether --with-html-dir was given. 16535if test "${with_html_dir+set}" = set; then : 16536 withval=$with_html_dir; 16537else 16538 with_html_dir='${datadir}/gtk-doc/html' 16539fi 16540 16541 HTML_DIR="$with_html_dir" 16542 16543 16544 # Check whether --enable-gtk-doc was given. 16545if test "${enable_gtk_doc+set}" = set; then : 16546 enableval=$enable_gtk_doc; 16547else 16548 enable_gtk_doc=no 16549fi 16550 16551 16552 if test x$enable_gtk_doc = xyes; then 16553 if test -n "$PKG_CONFIG" && \ 16554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.16\""; } >&5 16555 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.16") 2>&5 16556 ac_status=$? 16557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16558 test $ac_status = 0; }; then 16559 : 16560else 16561 as_fn_error $? "You need to have gtk-doc >= 1.16 installed to build $PACKAGE_NAME" "$LINENO" 5 16562fi 16563 if test "x$PACKAGE_NAME" != "xglib"; then 16564 16565pkg_failed=no 16566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5 16567$as_echo_n "checking for GTKDOC_DEPS... " >&6; } 16568 16569if test -n "$GTKDOC_DEPS_CFLAGS"; then 16570 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS" 16571 elif test -n "$PKG_CONFIG"; then 16572 if test -n "$PKG_CONFIG" && \ 16573 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 16574 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 16575 ac_status=$? 16576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16577 test $ac_status = 0; }; then 16578 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` 16579 test "x$?" != "x0" && pkg_failed=yes 16580else 16581 pkg_failed=yes 16582fi 16583 else 16584 pkg_failed=untried 16585fi 16586if test -n "$GTKDOC_DEPS_LIBS"; then 16587 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS" 16588 elif test -n "$PKG_CONFIG"; then 16589 if test -n "$PKG_CONFIG" && \ 16590 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 16591 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 16592 ac_status=$? 16593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16594 test $ac_status = 0; }; then 16595 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` 16596 test "x$?" != "x0" && pkg_failed=yes 16597else 16598 pkg_failed=yes 16599fi 16600 else 16601 pkg_failed=untried 16602fi 16603 16604 16605 16606if test $pkg_failed = yes; then 16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16608$as_echo "no" >&6; } 16609 16610if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16611 _pkg_short_errors_supported=yes 16612else 16613 _pkg_short_errors_supported=no 16614fi 16615 if test $_pkg_short_errors_supported = yes; then 16616 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` 16617 else 16618 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` 16619 fi 16620 # Put the nasty error message in config.log where it belongs 16621 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5 16622 16623 : 16624elif test $pkg_failed = untried; then 16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16626$as_echo "no" >&6; } 16627 : 16628else 16629 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS 16630 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS 16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16632$as_echo "yes" >&6; } 16633 16634fi 16635 fi 16636 fi 16637 16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 16639$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } 16640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 16641$as_echo "$enable_gtk_doc" >&6; } 16642 16643 # Check whether --enable-gtk-doc-html was given. 16644if test "${enable_gtk_doc_html+set}" = set; then : 16645 enableval=$enable_gtk_doc_html; 16646else 16647 enable_gtk_doc_html=yes 16648fi 16649 16650 # Check whether --enable-gtk-doc-pdf was given. 16651if test "${enable_gtk_doc_pdf+set}" = set; then : 16652 enableval=$enable_gtk_doc_pdf; 16653else 16654 enable_gtk_doc_pdf=no 16655fi 16656 16657 16658 if test -z "$GTKDOC_MKPDF"; then 16659 enable_gtk_doc_pdf=no 16660 fi 16661 16662 if test -z "$AM_DEFAULT_VERBOSITY"; then 16663 AM_DEFAULT_VERBOSITY=1 16664 fi 16665 16666 16667 if test x$enable_gtk_doc = xyes; then 16668 ENABLE_GTK_DOC_TRUE= 16669 ENABLE_GTK_DOC_FALSE='#' 16670else 16671 ENABLE_GTK_DOC_TRUE='#' 16672 ENABLE_GTK_DOC_FALSE= 16673fi 16674 16675 if test x$enable_gtk_doc_html = xyes; then 16676 GTK_DOC_BUILD_HTML_TRUE= 16677 GTK_DOC_BUILD_HTML_FALSE='#' 16678else 16679 GTK_DOC_BUILD_HTML_TRUE='#' 16680 GTK_DOC_BUILD_HTML_FALSE= 16681fi 16682 16683 if test x$enable_gtk_doc_pdf = xyes; then 16684 GTK_DOC_BUILD_PDF_TRUE= 16685 GTK_DOC_BUILD_PDF_FALSE='#' 16686else 16687 GTK_DOC_BUILD_PDF_TRUE='#' 16688 GTK_DOC_BUILD_PDF_FALSE= 16689fi 16690 16691 if test -n "$LIBTOOL"; then 16692 GTK_DOC_USE_LIBTOOL_TRUE= 16693 GTK_DOC_USE_LIBTOOL_FALSE='#' 16694else 16695 GTK_DOC_USE_LIBTOOL_TRUE='#' 16696 GTK_DOC_USE_LIBTOOL_FALSE= 16697fi 16698 16699 if test -n "$GTKDOC_REBASE"; then 16700 GTK_DOC_USE_REBASE_TRUE= 16701 GTK_DOC_USE_REBASE_FALSE='#' 16702else 16703 GTK_DOC_USE_REBASE_TRUE='#' 16704 GTK_DOC_USE_REBASE_FALSE= 16705fi 16706 16707 16708if test "${enable_gtk_doc}" = "yes" -a "${enable_deprecated}" = "no"; then 16709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: API documentation will be incomplete as deprecated symbols are disabled" >&5 16710$as_echo "$as_me: WARNING: API documentation will be incomplete as deprecated symbols are disabled" >&2;} 16711fi 16712 16713# check for gnome-doc-utils 16714# - starting with N-A 3.1.5, gnome-doc-utils is no more required when one want 16715# compile the tarball distribution (i.e. without regenerating users's manuals) 16716 16717if test -z "$AM_DEFAULT_VERBOSITY"; then 16718 AM_DEFAULT_VERBOSITY=1 16719fi 16720 16721 16722gdu_cv_version_required=0.3.2 16723 16724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5 16725$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; } 16726if test -n "$PKG_CONFIG" && \ 16727 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5 16728 ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5 16729 ac_status=$? 16730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16731 test $ac_status = 0; }; then 16732 gdu_cv_have_gdu=yes 16733else 16734 gdu_cv_have_gdu=no 16735fi 16736 16737if test "$gdu_cv_have_gdu" = "yes"; then 16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16739$as_echo "yes" >&6; } 16740 : 16741else 16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16743$as_echo "no" >&6; } 16744 gdu_cv_have_gdu=no 16745fi 16746 16747 16748 16749# Check whether --with-help-dir was given. 16750if test "${with_help_dir+set}" = set; then : 16751 withval=$with_help_dir; 16752else 16753 with_help_dir='${datadir}/gnome/help' 16754fi 16755 16756HELP_DIR="$with_help_dir" 16757 16758 16759 16760# Check whether --with-omf-dir was given. 16761if test "${with_omf_dir+set}" = set; then : 16762 withval=$with_omf_dir; 16763else 16764 with_omf_dir='${datadir}/omf' 16765fi 16766 16767OMF_DIR="$with_omf_dir" 16768 16769 16770 16771# Check whether --with-help-formats was given. 16772if test "${with_help_formats+set}" = set; then : 16773 withval=$with_help_formats; 16774else 16775 with_help_formats='' 16776fi 16777 16778DOC_USER_FORMATS="$with_help_formats" 16779 16780 16781# Check whether --enable-scrollkeeper was given. 16782if test "${enable_scrollkeeper+set}" = set; then : 16783 enableval=$enable_scrollkeeper; 16784else 16785 enable_scrollkeeper=yes 16786fi 16787 16788 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then 16789 ENABLE_SK_TRUE= 16790 ENABLE_SK_FALSE='#' 16791else 16792 ENABLE_SK_TRUE='#' 16793 ENABLE_SK_FALSE= 16794fi 16795 16796 16797DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS" 16798 16799 16800 if test "$gdu_cv_have_gdu" = "yes"; then 16801 HAVE_GNOME_DOC_UTILS_TRUE= 16802 HAVE_GNOME_DOC_UTILS_FALSE='#' 16803else 16804 HAVE_GNOME_DOC_UTILS_TRUE='#' 16805 HAVE_GNOME_DOC_UTILS_FALSE= 16806fi 16807 16808 16809 16810 16811# add --enable-html-manuals and --enable-pdf-manuals configure options 16812 16813 # Check whether --enable-html-manuals was given. 16814if test "${enable_html_manuals+set}" = set; then : 16815 enableval=$enable_html_manuals; enable_html_manuals=$enableval 16816else 16817 enable_html_manuals="no" 16818fi 16819 16820 16821 16822 # Check whether --enable-pdf-manuals was given. 16823if test "${enable_pdf_manuals+set}" = set; then : 16824 enableval=$enable_pdf_manuals; enable_pdf_manuals=$enableval 16825else 16826 enable_pdf_manuals="no" 16827fi 16828 16829 16830 16831 16832 16833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build HTML manuals" >&5 16834$as_echo_n "checking whether to build HTML manuals... " >&6; } 16835 msg_html_manuals="disabled" 16836 if test "x${enable_html_manuals}" = "xno"; then 16837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16838$as_echo "no" >&6; } 16839 else 16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16841$as_echo "yes" >&6; } 16842 if test "x${enable_html_manuals}" = "xyes"; then 16843 # Extract the first word of "gnome-doc-tool", so it can be a program name with args. 16844set dummy gnome-doc-tool; ac_word=$2 16845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16846$as_echo_n "checking for $ac_word... " >&6; } 16847if ${ac_cv_prog_with_gdt+:} false; then : 16848 $as_echo_n "(cached) " >&6 16849else 16850 if test -n "$with_gdt"; then 16851 ac_cv_prog_with_gdt="$with_gdt" # Let the user override the test. 16852else 16853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16854for as_dir in $PATH 16855do 16856 IFS=$as_save_IFS 16857 test -z "$as_dir" && as_dir=. 16858 for ac_exec_ext in '' $ac_executable_extensions; do 16859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16860 ac_cv_prog_with_gdt="yes" 16861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16862 break 2 16863 fi 16864done 16865 done 16866IFS=$as_save_IFS 16867 16868 test -z "$ac_cv_prog_with_gdt" && ac_cv_prog_with_gdt="no" 16869fi 16870fi 16871with_gdt=$ac_cv_prog_with_gdt 16872if test -n "$with_gdt"; then 16873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gdt" >&5 16874$as_echo "$with_gdt" >&6; } 16875else 16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16877$as_echo "no" >&6; } 16878fi 16879 16880 16881 if test "x${with_gdt}" = "xno"; then 16882 # Extract the first word of "db2html", so it can be a program name with args. 16883set dummy db2html; ac_word=$2 16884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16885$as_echo_n "checking for $ac_word... " >&6; } 16886if ${ac_cv_prog_with_db2html+:} false; then : 16887 $as_echo_n "(cached) " >&6 16888else 16889 if test -n "$with_db2html"; then 16890 ac_cv_prog_with_db2html="$with_db2html" # Let the user override the test. 16891else 16892as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16893for as_dir in $PATH 16894do 16895 IFS=$as_save_IFS 16896 test -z "$as_dir" && as_dir=. 16897 for ac_exec_ext in '' $ac_executable_extensions; do 16898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16899 ac_cv_prog_with_db2html="yes" 16900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16901 break 2 16902 fi 16903done 16904 done 16905IFS=$as_save_IFS 16906 16907 test -z "$ac_cv_prog_with_db2html" && ac_cv_prog_with_db2html="no" 16908fi 16909fi 16910with_db2html=$ac_cv_prog_with_db2html 16911if test -n "$with_db2html"; then 16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_db2html" >&5 16913$as_echo "$with_db2html" >&6; } 16914else 16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16916$as_echo "no" >&6; } 16917fi 16918 16919 16920 fi 16921 elif test "x${enable_html_manuals}" = "xgdt"; then 16922 # Extract the first word of "gnome-doc-tool", so it can be a program name with args. 16923set dummy gnome-doc-tool; ac_word=$2 16924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16925$as_echo_n "checking for $ac_word... " >&6; } 16926if ${ac_cv_prog_with_gdt+:} false; then : 16927 $as_echo_n "(cached) " >&6 16928else 16929 if test -n "$with_gdt"; then 16930 ac_cv_prog_with_gdt="$with_gdt" # Let the user override the test. 16931else 16932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16933for as_dir in $PATH 16934do 16935 IFS=$as_save_IFS 16936 test -z "$as_dir" && as_dir=. 16937 for ac_exec_ext in '' $ac_executable_extensions; do 16938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16939 ac_cv_prog_with_gdt="yes" 16940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16941 break 2 16942 fi 16943done 16944 done 16945IFS=$as_save_IFS 16946 16947 test -z "$ac_cv_prog_with_gdt" && ac_cv_prog_with_gdt="no" 16948fi 16949fi 16950with_gdt=$ac_cv_prog_with_gdt 16951if test -n "$with_gdt"; then 16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gdt" >&5 16953$as_echo "$with_gdt" >&6; } 16954else 16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16956$as_echo "no" >&6; } 16957fi 16958 16959 16960 with_db2html="no" 16961 elif test "x${enable_html_manuals}" = "xdb2html"; then 16962 # Extract the first word of "db2html", so it can be a program name with args. 16963set dummy db2html; ac_word=$2 16964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16965$as_echo_n "checking for $ac_word... " >&6; } 16966if ${ac_cv_prog_with_db2html+:} false; then : 16967 $as_echo_n "(cached) " >&6 16968else 16969 if test -n "$with_db2html"; then 16970 ac_cv_prog_with_db2html="$with_db2html" # Let the user override the test. 16971else 16972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16973for as_dir in $PATH 16974do 16975 IFS=$as_save_IFS 16976 test -z "$as_dir" && as_dir=. 16977 for ac_exec_ext in '' $ac_executable_extensions; do 16978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16979 ac_cv_prog_with_db2html="yes" 16980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16981 break 2 16982 fi 16983done 16984 done 16985IFS=$as_save_IFS 16986 16987 test -z "$ac_cv_prog_with_db2html" && ac_cv_prog_with_db2html="no" 16988fi 16989fi 16990with_db2html=$ac_cv_prog_with_db2html 16991if test -n "$with_db2html"; then 16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_db2html" >&5 16993$as_echo "$with_db2html" >&6; } 16994else 16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16996$as_echo "no" >&6; } 16997fi 16998 16999 17000 with_gdt="no" 17001 else 17002 as_fn_error $? "${enable_html_manuals} is not a known tool, must be 'gdt' or 'db2html'" "$LINENO" 5 17003 fi 17004 if test "x${with_gdt}" = "xno" -a "x${with_db2html}" = "xno"; then 17005 as_fn_error $? "neither gnome-doc-tool not db2html have been found, unable to generate HTML manuals" "$LINENO" 5 17006 fi 17007 msg_html_manuals="enabled with" 17008 if test "x${with_gdt}" = "xno"; then 17009 msg_html_manuals="${msg_html_manuals} db2html" 17010 else 17011 msg_html_manuals="${msg_html_manuals} gnome-doc-tool" 17012 fi 17013 fi 17014 17015 WITH_DB2HTML=${with_db2html} 17016 17017 WITH_GDT=${with_gdt} 17018 17019 if test "x${enable_html_manuals}" != "xno"; then 17020 ENABLE_HTML_MANUALS_TRUE= 17021 ENABLE_HTML_MANUALS_FALSE='#' 17022else 17023 ENABLE_HTML_MANUALS_TRUE='#' 17024 ENABLE_HTML_MANUALS_FALSE= 17025fi 17026 17027 17028 17029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build PDF manuals" >&5 17030$as_echo_n "checking whether to build PDF manuals... " >&6; } 17031 msg_pdf_manuals="disabled" 17032 if test "x${enable_pdf_manuals}" = "xno"; then 17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17034$as_echo "no" >&6; } 17035 else 17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17037$as_echo "yes" >&6; } 17038 if test "x${enable_pdf_manuals}" = "xyes"; then 17039 # Extract the first word of "dblatex", so it can be a program name with args. 17040set dummy dblatex; ac_word=$2 17041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17042$as_echo_n "checking for $ac_word... " >&6; } 17043if ${ac_cv_prog_with_dblatex+:} false; then : 17044 $as_echo_n "(cached) " >&6 17045else 17046 if test -n "$with_dblatex"; then 17047 ac_cv_prog_with_dblatex="$with_dblatex" # Let the user override the test. 17048else 17049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17050for as_dir in $PATH 17051do 17052 IFS=$as_save_IFS 17053 test -z "$as_dir" && as_dir=. 17054 for ac_exec_ext in '' $ac_executable_extensions; do 17055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17056 ac_cv_prog_with_dblatex="yes" 17057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17058 break 2 17059 fi 17060done 17061 done 17062IFS=$as_save_IFS 17063 17064 test -z "$ac_cv_prog_with_dblatex" && ac_cv_prog_with_dblatex="no" 17065fi 17066fi 17067with_dblatex=$ac_cv_prog_with_dblatex 17068if test -n "$with_dblatex"; then 17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dblatex" >&5 17070$as_echo "$with_dblatex" >&6; } 17071else 17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17073$as_echo "no" >&6; } 17074fi 17075 17076 17077 msg_pdf_manuals="enabled with dblatex" 17078 elif test "x${enable_pdf_manuals}" = "xdblatex"; then 17079 # Extract the first word of "dblatex", so it can be a program name with args. 17080set dummy dblatex; ac_word=$2 17081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17082$as_echo_n "checking for $ac_word... " >&6; } 17083if ${ac_cv_prog_with_dblatex+:} false; then : 17084 $as_echo_n "(cached) " >&6 17085else 17086 if test -n "$with_dblatex"; then 17087 ac_cv_prog_with_dblatex="$with_dblatex" # Let the user override the test. 17088else 17089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17090for as_dir in $PATH 17091do 17092 IFS=$as_save_IFS 17093 test -z "$as_dir" && as_dir=. 17094 for ac_exec_ext in '' $ac_executable_extensions; do 17095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17096 ac_cv_prog_with_dblatex="yes" 17097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17098 break 2 17099 fi 17100done 17101 done 17102IFS=$as_save_IFS 17103 17104 test -z "$ac_cv_prog_with_dblatex" && ac_cv_prog_with_dblatex="no" 17105fi 17106fi 17107with_dblatex=$ac_cv_prog_with_dblatex 17108if test -n "$with_dblatex"; then 17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dblatex" >&5 17110$as_echo "$with_dblatex" >&6; } 17111else 17112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17113$as_echo "no" >&6; } 17114fi 17115 17116 17117 msg_pdf_manuals="enabled with dblatex" 17118 else 17119 as_fn_error $? "${enable_pdf_manuals} is not a known tool, must be 'dblatex'" "$LINENO" 5 17120 fi 17121 if test "x${with_dblatex}" = "xno"; then 17122 as_fn_error $? "dblatex has not been found, unable to generate PDF manuals" "$LINENO" 5 17123 fi 17124 fi 17125 17126 if test "x${enable_pdf_manuals}" != "xno"; then 17127 ENABLE_PDF_MANUALS_TRUE= 17128 ENABLE_PDF_MANUALS_FALSE='#' 17129else 17130 ENABLE_PDF_MANUALS_TRUE='#' 17131 ENABLE_PDF_MANUALS_FALSE= 17132fi 17133 17134 17135 if test "x${enable_html_manuals}" != "xno" || test "x${enable_pdf_manuals}" != "xno"; then 17136 ENABLE_MANUALS_TRUE= 17137 ENABLE_MANUALS_FALSE='#' 17138else 17139 ENABLE_MANUALS_TRUE='#' 17140 ENABLE_MANUALS_FALSE= 17141fi 17142 17143 17144 17145# define NA_MAINTAINER_MODE variable 17146 17147 17148 17149 msg_maintainer_mode="disabled" 17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer mode" >&5 17151$as_echo_n "checking whether to enable maintainer mode... " >&6; } 17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${USE_MAINTAINER_MODE}" >&5 17153$as_echo "${USE_MAINTAINER_MODE}" >&6; } 17154 17155 if test "${USE_MAINTAINER_MODE}" = "yes"; then 17156 17157$as_echo "#define NA_MAINTAINER_MODE 1" >>confdefs.h 17158 17159 AM_CPPFLAGS="${AM_CPPFLAGS} ${DISABLE_DEPRECATED} -DGSEAL_ENABLED" 17160 17161 AM_CFLAGS="${AM_CFLAGS} " 17162 17163 msg_maintainer_mode="enabled" 17164 fi 17165 17166 if test "${USE_MAINTAINER_MODE}" = "yes"; then 17167 NA_MAINTAINER_MODE_TRUE= 17168 NA_MAINTAINER_MODE_FALSE='#' 17169else 17170 NA_MAINTAINER_MODE_TRUE='#' 17171 NA_MAINTAINER_MODE_FALSE= 17172fi 17173 17174 17175 17176$as_echo "#define NAUTILUS_ACTIONS_DEBUG \"NAUTILUS_ACTIONS_DEBUG\"" >>confdefs.h 17177 17178 17179# display and keep configuration informations 17180config_options="`$as_echo "$ac_configure_args" | sed 's/^ //; s/\\""\`\$/\\\\&/g'`" 17181 17182cat >>confdefs.h <<_ACEOF 17183#define NA_CONFIG_OPTIONS "$0 ${config_options}" 17184_ACEOF 17185 17186 17187cat >confcache <<\_ACEOF 17188# This file is a shell script that caches the results of configure 17189# tests run on this system so they can be shared between configure 17190# scripts and configure runs, see configure's option --config-cache. 17191# It is not useful on other systems. If it contains results you don't 17192# want to keep, you may remove or edit it. 17193# 17194# config.status only pays attention to the cache file if you give it 17195# the --recheck option to rerun configure. 17196# 17197# `ac_cv_env_foo' variables (set or unset) will be overridden when 17198# loading this file, other *unset* `ac_cv_foo' will be assigned the 17199# following values. 17200 17201_ACEOF 17202 17203# The following way of writing the cache mishandles newlines in values, 17204# but we know of no workaround that is simple, portable, and efficient. 17205# So, we kill variables containing newlines. 17206# Ultrix sh set writes to stderr and can't be redirected directly, 17207# and sets the high bit in the cache file unless we assign to the vars. 17208( 17209 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 17210 eval ac_val=\$$ac_var 17211 case $ac_val in #( 17212 *${as_nl}*) 17213 case $ac_var in #( 17214 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17215$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17216 esac 17217 case $ac_var in #( 17218 _ | IFS | as_nl) ;; #( 17219 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17220 *) { eval $ac_var=; unset $ac_var;} ;; 17221 esac ;; 17222 esac 17223 done 17224 17225 (set) 2>&1 | 17226 case $as_nl`(ac_space=' '; set) 2>&1` in #( 17227 *${as_nl}ac_space=\ *) 17228 # `set' does not quote correctly, so add quotes: double-quote 17229 # substitution turns \\\\ into \\, and sed turns \\ into \. 17230 sed -n \ 17231 "s/'/'\\\\''/g; 17232 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 17233 ;; #( 17234 *) 17235 # `set' quotes correctly as required by POSIX, so do not add quotes. 17236 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 17237 ;; 17238 esac | 17239 sort 17240) | 17241 sed ' 17242 /^ac_cv_env_/b end 17243 t clear 17244 :clear 17245 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 17246 t end 17247 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 17248 :end' >>confcache 17249if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 17250 if test -w "$cache_file"; then 17251 if test "x$cache_file" != "x/dev/null"; then 17252 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 17253$as_echo "$as_me: updating cache $cache_file" >&6;} 17254 if test ! -f "$cache_file" || test -h "$cache_file"; then 17255 cat confcache >"$cache_file" 17256 else 17257 case $cache_file in #( 17258 */* | ?:*) 17259 mv -f confcache "$cache_file"$$ && 17260 mv -f "$cache_file"$$ "$cache_file" ;; #( 17261 *) 17262 mv -f confcache "$cache_file" ;; 17263 esac 17264 fi 17265 fi 17266 else 17267 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 17268$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 17269 fi 17270fi 17271rm -f confcache 17272 17273test "x$prefix" = xNONE && prefix=$ac_default_prefix 17274# Let make expand exec_prefix. 17275test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 17276 17277DEFS=-DHAVE_CONFIG_H 17278 17279ac_libobjs= 17280ac_ltlibobjs= 17281U= 17282for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 17283 # 1. Remove the extension, and $U if already installed. 17284 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 17285 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 17286 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 17287 # will be set to the directory where LIBOBJS objects are built. 17288 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 17289 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 17290done 17291LIBOBJS=$ac_libobjs 17292 17293LTLIBOBJS=$ac_ltlibobjs 17294 17295 17296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 17297$as_echo_n "checking that generated files are newer than configure... " >&6; } 17298 if test -n "$am_sleep_pid"; then 17299 # Hide warnings about reused PIDs. 17300 wait $am_sleep_pid 2>/dev/null 17301 fi 17302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 17303$as_echo "done" >&6; } 17304 if test -n "$EXEEXT"; then 17305 am__EXEEXT_TRUE= 17306 am__EXEEXT_FALSE='#' 17307else 17308 am__EXEEXT_TRUE='#' 17309 am__EXEEXT_FALSE= 17310fi 17311 17312if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 17313 as_fn_error $? "conditional \"AMDEP\" was never defined. 17314Usually this means the macro was only invoked conditionally." "$LINENO" 5 17315fi 17316if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 17317 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 17318Usually this means the macro was only invoked conditionally." "$LINENO" 5 17319fi 17320if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 17321 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 17322Usually this means the macro was only invoked conditionally." "$LINENO" 5 17323fi 17324if test -z "${NA_MAINTAINER_MODE_TRUE}" && test -z "${NA_MAINTAINER_MODE_FALSE}"; then 17325 as_fn_error $? "conditional \"NA_MAINTAINER_MODE\" was never defined. 17326Usually this means the macro was only invoked conditionally." "$LINENO" 5 17327fi 17328 17329 ac_config_commands="$ac_config_commands po/stamp-it" 17330 17331 17332if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then 17333 as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. 17334Usually this means the macro was only invoked conditionally." "$LINENO" 5 17335fi 17336if test -z "${HAVE_GCONF_TRUE}" && test -z "${HAVE_GCONF_FALSE}"; then 17337 as_fn_error $? "conditional \"HAVE_GCONF\" was never defined. 17338Usually this means the macro was only invoked conditionally." "$LINENO" 5 17339fi 17340if test -z "${HAVE_GDBUS_TRUE}" && test -z "${HAVE_GDBUS_FALSE}"; then 17341 as_fn_error $? "conditional \"HAVE_GDBUS\" was never defined. 17342Usually this means the macro was only invoked conditionally." "$LINENO" 5 17343fi 17344if test -z "${HAVE_DBUS_GLIB_TRUE}" && test -z "${HAVE_DBUS_GLIB_FALSE}"; then 17345 as_fn_error $? "conditional \"HAVE_DBUS_GLIB\" was never defined. 17346Usually this means the macro was only invoked conditionally." "$LINENO" 5 17347fi 17348if test -z "${ENABLE_DEPRECATED_TRUE}" && test -z "${ENABLE_DEPRECATED_FALSE}"; then 17349 as_fn_error $? "conditional \"ENABLE_DEPRECATED\" was never defined. 17350Usually this means the macro was only invoked conditionally." "$LINENO" 5 17351fi 17352if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then 17353 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. 17354Usually this means the macro was only invoked conditionally." "$LINENO" 5 17355fi 17356if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then 17357 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined. 17358Usually this means the macro was only invoked conditionally." "$LINENO" 5 17359fi 17360if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then 17361 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined. 17362Usually this means the macro was only invoked conditionally." "$LINENO" 5 17363fi 17364if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then 17365 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. 17366Usually this means the macro was only invoked conditionally." "$LINENO" 5 17367fi 17368if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then 17369 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined. 17370Usually this means the macro was only invoked conditionally." "$LINENO" 5 17371fi 17372if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then 17373 as_fn_error $? "conditional \"ENABLE_SK\" was never defined. 17374Usually this means the macro was only invoked conditionally." "$LINENO" 5 17375fi 17376if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then 17377 as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined. 17378Usually this means the macro was only invoked conditionally." "$LINENO" 5 17379fi 17380if test -z "${ENABLE_HTML_MANUALS_TRUE}" && test -z "${ENABLE_HTML_MANUALS_FALSE}"; then 17381 as_fn_error $? "conditional \"ENABLE_HTML_MANUALS\" was never defined. 17382Usually this means the macro was only invoked conditionally." "$LINENO" 5 17383fi 17384if test -z "${ENABLE_PDF_MANUALS_TRUE}" && test -z "${ENABLE_PDF_MANUALS_FALSE}"; then 17385 as_fn_error $? "conditional \"ENABLE_PDF_MANUALS\" was never defined. 17386Usually this means the macro was only invoked conditionally." "$LINENO" 5 17387fi 17388if test -z "${ENABLE_MANUALS_TRUE}" && test -z "${ENABLE_MANUALS_FALSE}"; then 17389 as_fn_error $? "conditional \"ENABLE_MANUALS\" was never defined. 17390Usually this means the macro was only invoked conditionally." "$LINENO" 5 17391fi 17392if test -z "${NA_MAINTAINER_MODE_TRUE}" && test -z "${NA_MAINTAINER_MODE_FALSE}"; then 17393 as_fn_error $? "conditional \"NA_MAINTAINER_MODE\" was never defined. 17394Usually this means the macro was only invoked conditionally." "$LINENO" 5 17395fi 17396 17397: "${CONFIG_STATUS=./config.status}" 17398ac_write_fail=0 17399ac_clean_files_save=$ac_clean_files 17400ac_clean_files="$ac_clean_files $CONFIG_STATUS" 17401{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 17402$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 17403as_write_fail=0 17404cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 17405#! $SHELL 17406# Generated by $as_me. 17407# Run this file to recreate the current configuration. 17408# Compiler output produced by configure, useful for debugging 17409# configure, is in config.log if it exists. 17410 17411debug=false 17412ac_cs_recheck=false 17413ac_cs_silent=false 17414 17415SHELL=\${CONFIG_SHELL-$SHELL} 17416export SHELL 17417_ASEOF 17418cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 17419## -------------------- ## 17420## M4sh Initialization. ## 17421## -------------------- ## 17422 17423# Be more Bourne compatible 17424DUALCASE=1; export DUALCASE # for MKS sh 17425if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 17426 emulate sh 17427 NULLCMD=: 17428 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17429 # is contrary to our usage. Disable this feature. 17430 alias -g '${1+"$@"}'='"$@"' 17431 setopt NO_GLOB_SUBST 17432else 17433 case `(set -o) 2>/dev/null` in #( 17434 *posix*) : 17435 set -o posix ;; #( 17436 *) : 17437 ;; 17438esac 17439fi 17440 17441 17442as_nl=' 17443' 17444export as_nl 17445# Printing a long string crashes Solaris 7 /usr/bin/printf. 17446as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 17447as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 17448as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 17449# Prefer a ksh shell builtin over an external printf program on Solaris, 17450# but without wasting forks for bash or zsh. 17451if test -z "$BASH_VERSION$ZSH_VERSION" \ 17452 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 17453 as_echo='print -r --' 17454 as_echo_n='print -rn --' 17455elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 17456 as_echo='printf %s\n' 17457 as_echo_n='printf %s' 17458else 17459 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 17460 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 17461 as_echo_n='/usr/ucb/echo -n' 17462 else 17463 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 17464 as_echo_n_body='eval 17465 arg=$1; 17466 case $arg in #( 17467 *"$as_nl"*) 17468 expr "X$arg" : "X\\(.*\\)$as_nl"; 17469 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 17470 esac; 17471 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 17472 ' 17473 export as_echo_n_body 17474 as_echo_n='sh -c $as_echo_n_body as_echo' 17475 fi 17476 export as_echo_body 17477 as_echo='sh -c $as_echo_body as_echo' 17478fi 17479 17480# The user is always right. 17481if test "${PATH_SEPARATOR+set}" != set; then 17482 PATH_SEPARATOR=: 17483 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 17484 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 17485 PATH_SEPARATOR=';' 17486 } 17487fi 17488 17489 17490# IFS 17491# We need space, tab and new line, in precisely that order. Quoting is 17492# there to prevent editors from complaining about space-tab. 17493# (If _AS_PATH_WALK were called with IFS unset, it would disable word 17494# splitting by setting IFS to empty value.) 17495IFS=" "" $as_nl" 17496 17497# Find who we are. Look in the path if we contain no directory separator. 17498as_myself= 17499case $0 in #(( 17500 *[\\/]* ) as_myself=$0 ;; 17501 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17502for as_dir in $PATH 17503do 17504 IFS=$as_save_IFS 17505 test -z "$as_dir" && as_dir=. 17506 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 17507 done 17508IFS=$as_save_IFS 17509 17510 ;; 17511esac 17512# We did not find ourselves, most probably we were run as `sh COMMAND' 17513# in which case we are not to be found in the path. 17514if test "x$as_myself" = x; then 17515 as_myself=$0 17516fi 17517if test ! -f "$as_myself"; then 17518 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 17519 exit 1 17520fi 17521 17522# Unset variables that we do not need and which cause bugs (e.g. in 17523# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 17524# suppresses any "Segmentation fault" message there. '((' could 17525# trigger a bug in pdksh 5.2.14. 17526for as_var in BASH_ENV ENV MAIL MAILPATH 17527do eval test x\${$as_var+set} = xset \ 17528 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 17529done 17530PS1='$ ' 17531PS2='> ' 17532PS4='+ ' 17533 17534# NLS nuisances. 17535LC_ALL=C 17536export LC_ALL 17537LANGUAGE=C 17538export LANGUAGE 17539 17540# CDPATH. 17541(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17542 17543 17544# as_fn_error STATUS ERROR [LINENO LOG_FD] 17545# ---------------------------------------- 17546# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 17547# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 17548# script with STATUS, using 1 if that was 0. 17549as_fn_error () 17550{ 17551 as_status=$1; test $as_status -eq 0 && as_status=1 17552 if test "$4"; then 17553 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17554 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 17555 fi 17556 $as_echo "$as_me: error: $2" >&2 17557 as_fn_exit $as_status 17558} # as_fn_error 17559 17560 17561# as_fn_set_status STATUS 17562# ----------------------- 17563# Set $? to STATUS, without forking. 17564as_fn_set_status () 17565{ 17566 return $1 17567} # as_fn_set_status 17568 17569# as_fn_exit STATUS 17570# ----------------- 17571# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 17572as_fn_exit () 17573{ 17574 set +e 17575 as_fn_set_status $1 17576 exit $1 17577} # as_fn_exit 17578 17579# as_fn_unset VAR 17580# --------------- 17581# Portably unset VAR. 17582as_fn_unset () 17583{ 17584 { eval $1=; unset $1;} 17585} 17586as_unset=as_fn_unset 17587# as_fn_append VAR VALUE 17588# ---------------------- 17589# Append the text in VALUE to the end of the definition contained in VAR. Take 17590# advantage of any shell optimizations that allow amortized linear growth over 17591# repeated appends, instead of the typical quadratic growth present in naive 17592# implementations. 17593if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 17594 eval 'as_fn_append () 17595 { 17596 eval $1+=\$2 17597 }' 17598else 17599 as_fn_append () 17600 { 17601 eval $1=\$$1\$2 17602 } 17603fi # as_fn_append 17604 17605# as_fn_arith ARG... 17606# ------------------ 17607# Perform arithmetic evaluation on the ARGs, and store the result in the 17608# global $as_val. Take advantage of shells that can avoid forks. The arguments 17609# must be portable across $(()) and expr. 17610if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 17611 eval 'as_fn_arith () 17612 { 17613 as_val=$(( $* )) 17614 }' 17615else 17616 as_fn_arith () 17617 { 17618 as_val=`expr "$@" || test $? -eq 1` 17619 } 17620fi # as_fn_arith 17621 17622 17623if expr a : '\(a\)' >/dev/null 2>&1 && 17624 test "X`expr 00001 : '.*\(...\)'`" = X001; then 17625 as_expr=expr 17626else 17627 as_expr=false 17628fi 17629 17630if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 17631 as_basename=basename 17632else 17633 as_basename=false 17634fi 17635 17636if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 17637 as_dirname=dirname 17638else 17639 as_dirname=false 17640fi 17641 17642as_me=`$as_basename -- "$0" || 17643$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 17644 X"$0" : 'X\(//\)$' \| \ 17645 X"$0" : 'X\(/\)' \| . 2>/dev/null || 17646$as_echo X/"$0" | 17647 sed '/^.*\/\([^/][^/]*\)\/*$/{ 17648 s//\1/ 17649 q 17650 } 17651 /^X\/\(\/\/\)$/{ 17652 s//\1/ 17653 q 17654 } 17655 /^X\/\(\/\).*/{ 17656 s//\1/ 17657 q 17658 } 17659 s/.*/./; q'` 17660 17661# Avoid depending upon Character Ranges. 17662as_cr_letters='abcdefghijklmnopqrstuvwxyz' 17663as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 17664as_cr_Letters=$as_cr_letters$as_cr_LETTERS 17665as_cr_digits='0123456789' 17666as_cr_alnum=$as_cr_Letters$as_cr_digits 17667 17668ECHO_C= ECHO_N= ECHO_T= 17669case `echo -n x` in #((((( 17670-n*) 17671 case `echo 'xy\c'` in 17672 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 17673 xy) ECHO_C='\c';; 17674 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 17675 ECHO_T=' ';; 17676 esac;; 17677*) 17678 ECHO_N='-n';; 17679esac 17680 17681rm -f conf$$ conf$$.exe conf$$.file 17682if test -d conf$$.dir; then 17683 rm -f conf$$.dir/conf$$.file 17684else 17685 rm -f conf$$.dir 17686 mkdir conf$$.dir 2>/dev/null 17687fi 17688if (echo >conf$$.file) 2>/dev/null; then 17689 if ln -s conf$$.file conf$$ 2>/dev/null; then 17690 as_ln_s='ln -s' 17691 # ... but there are two gotchas: 17692 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 17693 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 17694 # In both cases, we have to default to `cp -pR'. 17695 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 17696 as_ln_s='cp -pR' 17697 elif ln conf$$.file conf$$ 2>/dev/null; then 17698 as_ln_s=ln 17699 else 17700 as_ln_s='cp -pR' 17701 fi 17702else 17703 as_ln_s='cp -pR' 17704fi 17705rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 17706rmdir conf$$.dir 2>/dev/null 17707 17708 17709# as_fn_mkdir_p 17710# ------------- 17711# Create "$as_dir" as a directory, including parents if necessary. 17712as_fn_mkdir_p () 17713{ 17714 17715 case $as_dir in #( 17716 -*) as_dir=./$as_dir;; 17717 esac 17718 test -d "$as_dir" || eval $as_mkdir_p || { 17719 as_dirs= 17720 while :; do 17721 case $as_dir in #( 17722 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 17723 *) as_qdir=$as_dir;; 17724 esac 17725 as_dirs="'$as_qdir' $as_dirs" 17726 as_dir=`$as_dirname -- "$as_dir" || 17727$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17728 X"$as_dir" : 'X\(//\)[^/]' \| \ 17729 X"$as_dir" : 'X\(//\)$' \| \ 17730 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17731$as_echo X"$as_dir" | 17732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17733 s//\1/ 17734 q 17735 } 17736 /^X\(\/\/\)[^/].*/{ 17737 s//\1/ 17738 q 17739 } 17740 /^X\(\/\/\)$/{ 17741 s//\1/ 17742 q 17743 } 17744 /^X\(\/\).*/{ 17745 s//\1/ 17746 q 17747 } 17748 s/.*/./; q'` 17749 test -d "$as_dir" && break 17750 done 17751 test -z "$as_dirs" || eval "mkdir $as_dirs" 17752 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 17753 17754 17755} # as_fn_mkdir_p 17756if mkdir -p . 2>/dev/null; then 17757 as_mkdir_p='mkdir -p "$as_dir"' 17758else 17759 test -d ./-p && rmdir ./-p 17760 as_mkdir_p=false 17761fi 17762 17763 17764# as_fn_executable_p FILE 17765# ----------------------- 17766# Test if FILE is an executable regular file. 17767as_fn_executable_p () 17768{ 17769 test -f "$1" && test -x "$1" 17770} # as_fn_executable_p 17771as_test_x='test -x' 17772as_executable_p=as_fn_executable_p 17773 17774# Sed expression to map a string onto a valid CPP name. 17775as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 17776 17777# Sed expression to map a string onto a valid variable name. 17778as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 17779 17780 17781exec 6>&1 17782## ----------------------------------- ## 17783## Main body of $CONFIG_STATUS script. ## 17784## ----------------------------------- ## 17785_ASEOF 17786test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 17787 17788cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17789# Save the log message, to keep $0 and so on meaningful, and to 17790# report actual input values of CONFIG_FILES etc. instead of their 17791# values after options handling. 17792ac_log=" 17793This file was extended by Nautilus-Actions $as_me 3.2.4, which was 17794generated by GNU Autoconf 2.69. Invocation command line was 17795 17796 CONFIG_FILES = $CONFIG_FILES 17797 CONFIG_HEADERS = $CONFIG_HEADERS 17798 CONFIG_LINKS = $CONFIG_LINKS 17799 CONFIG_COMMANDS = $CONFIG_COMMANDS 17800 $ $0 $@ 17801 17802on `(hostname || uname -n) 2>/dev/null | sed 1q` 17803" 17804 17805_ACEOF 17806 17807case $ac_config_files in *" 17808"*) set x $ac_config_files; shift; ac_config_files=$*;; 17809esac 17810 17811case $ac_config_headers in *" 17812"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 17813esac 17814 17815 17816cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17817# Files that config.status was made for. 17818config_files="$ac_config_files" 17819config_headers="$ac_config_headers" 17820config_commands="$ac_config_commands" 17821 17822_ACEOF 17823 17824cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17825ac_cs_usage="\ 17826\`$as_me' instantiates files and other configuration actions 17827from templates according to the current configuration. Unless the files 17828and actions are specified as TAGs, all are instantiated by default. 17829 17830Usage: $0 [OPTION]... [TAG]... 17831 17832 -h, --help print this help, then exit 17833 -V, --version print version number and configuration settings, then exit 17834 --config print configuration, then exit 17835 -q, --quiet, --silent 17836 do not print progress messages 17837 -d, --debug don't remove temporary files 17838 --recheck update $as_me by reconfiguring in the same conditions 17839 --file=FILE[:TEMPLATE] 17840 instantiate the configuration file FILE 17841 --header=FILE[:TEMPLATE] 17842 instantiate the configuration header FILE 17843 17844Configuration files: 17845$config_files 17846 17847Configuration headers: 17848$config_headers 17849 17850Configuration commands: 17851$config_commands 17852 17853Report bugs to <maintainer@nautilus-actions.org>. 17854Nautilus-Actions home page: <http://www.nautilus-actions.org>." 17855 17856_ACEOF 17857cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17858ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17859ac_cs_version="\\ 17860Nautilus-Actions config.status 3.2.4 17861configured by $0, generated by GNU Autoconf 2.69, 17862 with options \\"\$ac_cs_config\\" 17863 17864Copyright (C) 2012 Free Software Foundation, Inc. 17865This config.status script is free software; the Free Software Foundation 17866gives unlimited permission to copy, distribute and modify it." 17867 17868ac_pwd='$ac_pwd' 17869srcdir='$srcdir' 17870INSTALL='$INSTALL' 17871MKDIR_P='$MKDIR_P' 17872AWK='$AWK' 17873test -n "\$AWK" || AWK=awk 17874_ACEOF 17875 17876cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17877# The default lists apply if the user does not specify any file. 17878ac_need_defaults=: 17879while test $# != 0 17880do 17881 case $1 in 17882 --*=?*) 17883 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17884 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17885 ac_shift=: 17886 ;; 17887 --*=) 17888 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17889 ac_optarg= 17890 ac_shift=: 17891 ;; 17892 *) 17893 ac_option=$1 17894 ac_optarg=$2 17895 ac_shift=shift 17896 ;; 17897 esac 17898 17899 case $ac_option in 17900 # Handling of the options. 17901 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 17902 ac_cs_recheck=: ;; 17903 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17904 $as_echo "$ac_cs_version"; exit ;; 17905 --config | --confi | --conf | --con | --co | --c ) 17906 $as_echo "$ac_cs_config"; exit ;; 17907 --debug | --debu | --deb | --de | --d | -d ) 17908 debug=: ;; 17909 --file | --fil | --fi | --f ) 17910 $ac_shift 17911 case $ac_optarg in 17912 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17913 '') as_fn_error $? "missing file argument" ;; 17914 esac 17915 as_fn_append CONFIG_FILES " '$ac_optarg'" 17916 ac_need_defaults=false;; 17917 --header | --heade | --head | --hea ) 17918 $ac_shift 17919 case $ac_optarg in 17920 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17921 esac 17922 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17923 ac_need_defaults=false;; 17924 --he | --h) 17925 # Conflict between --help and --header 17926 as_fn_error $? "ambiguous option: \`$1' 17927Try \`$0 --help' for more information.";; 17928 --help | --hel | -h ) 17929 $as_echo "$ac_cs_usage"; exit ;; 17930 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17931 | -silent | --silent | --silen | --sile | --sil | --si | --s) 17932 ac_cs_silent=: ;; 17933 17934 # This is an error. 17935 -*) as_fn_error $? "unrecognized option: \`$1' 17936Try \`$0 --help' for more information." ;; 17937 17938 *) as_fn_append ac_config_targets " $1" 17939 ac_need_defaults=false ;; 17940 17941 esac 17942 shift 17943done 17944 17945ac_configure_extra_args= 17946 17947if $ac_cs_silent; then 17948 exec 6>/dev/null 17949 ac_configure_extra_args="$ac_configure_extra_args --silent" 17950fi 17951 17952_ACEOF 17953cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17954if \$ac_cs_recheck; then 17955 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17956 shift 17957 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 17958 CONFIG_SHELL='$SHELL' 17959 export CONFIG_SHELL 17960 exec "\$@" 17961fi 17962 17963_ACEOF 17964cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17965exec 5>>config.log 17966{ 17967 echo 17968 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 17969## Running $as_me. ## 17970_ASBOX 17971 $as_echo "$ac_log" 17972} >&5 17973 17974_ACEOF 17975cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17976# 17977# INIT-COMMANDS 17978# 17979AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 17980 17981 17982# The HP-UX ksh and POSIX shell print the target directory to stdout 17983# if CDPATH is set. 17984(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17985 17986sed_quote_subst='$sed_quote_subst' 17987double_quote_subst='$double_quote_subst' 17988delay_variable_subst='$delay_variable_subst' 17989enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 17990macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 17991macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 17992enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 17993pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 17994enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 17995SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 17996ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 17997PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 17998host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 17999host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 18000host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 18001build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 18002build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 18003build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 18004SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 18005Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 18006GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 18007EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 18008FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 18009LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 18010NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 18011LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 18012max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 18013ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 18014exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 18015lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 18016lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 18017lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 18018lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 18019lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 18020reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 18021reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 18022OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 18023deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 18024file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 18025file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 18026want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 18027DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 18028sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 18029AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 18030AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 18031archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 18032STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 18033RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 18034old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18035old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18036old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 18037lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 18038CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 18039CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 18040compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 18041GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 18042lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 18043lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 18044lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 18045lt_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"`' 18046nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 18047lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 18048objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 18049MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 18050lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 18051lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 18052lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 18053lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 18054lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 18055need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 18056MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 18057DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 18058NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 18059LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 18060OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 18061OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 18062libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 18063shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 18064extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18065archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 18066enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 18067export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 18068whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 18069compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 18070old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 18071old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18072archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 18073archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18074module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 18075module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18076with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 18077allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 18078no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 18079hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 18080hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 18081hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 18082hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 18083hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 18084hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 18085hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 18086inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 18087link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 18088always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 18089export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 18090exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 18091include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 18092prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 18093postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 18094file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 18095variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 18096need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 18097need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 18098version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 18099runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 18100shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 18101shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 18102libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 18103library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 18104soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 18105install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 18106postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18107postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18108finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 18109finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 18110hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 18111sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 18112sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 18113hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 18114enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 18115enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 18116enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 18117old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 18118striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 18119 18120LTCC='$LTCC' 18121LTCFLAGS='$LTCFLAGS' 18122compiler='$compiler_DEFAULT' 18123 18124# A function that is used when there is no print builtin or printf. 18125func_fallback_echo () 18126{ 18127 eval 'cat <<_LTECHO_EOF 18128\$1 18129_LTECHO_EOF' 18130} 18131 18132# Quote evaled strings. 18133for var in SHELL \ 18134ECHO \ 18135PATH_SEPARATOR \ 18136SED \ 18137GREP \ 18138EGREP \ 18139FGREP \ 18140LD \ 18141NM \ 18142LN_S \ 18143lt_SP2NL \ 18144lt_NL2SP \ 18145reload_flag \ 18146OBJDUMP \ 18147deplibs_check_method \ 18148file_magic_cmd \ 18149file_magic_glob \ 18150want_nocaseglob \ 18151DLLTOOL \ 18152sharedlib_from_linklib_cmd \ 18153AR \ 18154AR_FLAGS \ 18155archiver_list_spec \ 18156STRIP \ 18157RANLIB \ 18158CC \ 18159CFLAGS \ 18160compiler \ 18161lt_cv_sys_global_symbol_pipe \ 18162lt_cv_sys_global_symbol_to_cdecl \ 18163lt_cv_sys_global_symbol_to_c_name_address \ 18164lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 18165nm_file_list_spec \ 18166lt_prog_compiler_no_builtin_flag \ 18167lt_prog_compiler_pic \ 18168lt_prog_compiler_wl \ 18169lt_prog_compiler_static \ 18170lt_cv_prog_compiler_c_o \ 18171need_locks \ 18172MANIFEST_TOOL \ 18173DSYMUTIL \ 18174NMEDIT \ 18175LIPO \ 18176OTOOL \ 18177OTOOL64 \ 18178shrext_cmds \ 18179export_dynamic_flag_spec \ 18180whole_archive_flag_spec \ 18181compiler_needs_object \ 18182with_gnu_ld \ 18183allow_undefined_flag \ 18184no_undefined_flag \ 18185hardcode_libdir_flag_spec \ 18186hardcode_libdir_separator \ 18187exclude_expsyms \ 18188include_expsyms \ 18189file_list_spec \ 18190variables_saved_for_relink \ 18191libname_spec \ 18192library_names_spec \ 18193soname_spec \ 18194install_override_mode \ 18195finish_eval \ 18196old_striplib \ 18197striplib; do 18198 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18199 *[\\\\\\\`\\"\\\$]*) 18200 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 18201 ;; 18202 *) 18203 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18204 ;; 18205 esac 18206done 18207 18208# Double-quote double-evaled strings. 18209for var in reload_cmds \ 18210old_postinstall_cmds \ 18211old_postuninstall_cmds \ 18212old_archive_cmds \ 18213extract_expsyms_cmds \ 18214old_archive_from_new_cmds \ 18215old_archive_from_expsyms_cmds \ 18216archive_cmds \ 18217archive_expsym_cmds \ 18218module_cmds \ 18219module_expsym_cmds \ 18220export_symbols_cmds \ 18221prelink_cmds \ 18222postlink_cmds \ 18223postinstall_cmds \ 18224postuninstall_cmds \ 18225finish_cmds \ 18226sys_lib_search_path_spec \ 18227sys_lib_dlsearch_path_spec; do 18228 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18229 *[\\\\\\\`\\"\\\$]*) 18230 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 18231 ;; 18232 *) 18233 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18234 ;; 18235 esac 18236done 18237 18238ac_aux_dir='$ac_aux_dir' 18239xsi_shell='$xsi_shell' 18240lt_shell_append='$lt_shell_append' 18241 18242# See if we are running on zsh, and set the options which allow our 18243# commands through without removal of \ escapes INIT. 18244if test -n "\${ZSH_VERSION+set}" ; then 18245 setopt NO_GLOB_SUBST 18246fi 18247 18248 18249 PACKAGE='$PACKAGE' 18250 VERSION='$VERSION' 18251 TIMESTAMP='$TIMESTAMP' 18252 RM='$RM' 18253 ofile='$ofile' 18254 18255 18256 18257 18258 18259_ACEOF 18260 18261cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18262 18263# Handling of arguments. 18264for ac_config_target in $ac_config_targets 18265do 18266 case $ac_config_target in 18267 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; 18268 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 18269 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 18270 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 18271 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 18272 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 18273 "data/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/actions/Makefile" ;; 18274 "data/exports/Makefile") CONFIG_FILES="$CONFIG_FILES data/exports/Makefile" ;; 18275 "data/gconf-schemas/Makefile") CONFIG_FILES="$CONFIG_FILES data/gconf-schemas/Makefile" ;; 18276 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 18277 "docs/nact/Makefile") CONFIG_FILES="$CONFIG_FILES docs/nact/Makefile" ;; 18278 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;; 18279 "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;; 18280 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 18281 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;; 18282 "icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/16x16/Makefile" ;; 18283 "icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/22x22/Makefile" ;; 18284 "icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/32x32/Makefile" ;; 18285 "icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48x48/Makefile" ;; 18286 "icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/scalable/Makefile" ;; 18287 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 18288 "src/api/Makefile") CONFIG_FILES="$CONFIG_FILES src/api/Makefile" ;; 18289 "src/core/Makefile") CONFIG_FILES="$CONFIG_FILES src/core/Makefile" ;; 18290 "src/io-desktop/Makefile") CONFIG_FILES="$CONFIG_FILES src/io-desktop/Makefile" ;; 18291 "src/io-gconf/Makefile") CONFIG_FILES="$CONFIG_FILES src/io-gconf/Makefile" ;; 18292 "src/io-xml/Makefile") CONFIG_FILES="$CONFIG_FILES src/io-xml/Makefile" ;; 18293 "src/plugin-menu/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugin-menu/Makefile" ;; 18294 "src/plugin-tracker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugin-tracker/Makefile" ;; 18295 "src/nact/Makefile") CONFIG_FILES="$CONFIG_FILES src/nact/Makefile" ;; 18296 "src/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;; 18297 "src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; 18298 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 18299 "maintainer/Makefile") CONFIG_FILES="$CONFIG_FILES maintainer/Makefile" ;; 18300 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 18301 18302 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 18303 esac 18304done 18305 18306 18307# If the user did not use the arguments to specify the items to instantiate, 18308# then the envvar interface is used. Set only those that are not. 18309# We use the long form for the default assignment because of an extremely 18310# bizarre bug on SunOS 4.1.3. 18311if $ac_need_defaults; then 18312 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 18313 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 18314 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 18315fi 18316 18317# Have a temporary directory for convenience. Make it in the build tree 18318# simply because there is no reason against having it here, and in addition, 18319# creating and moving files from /tmp can sometimes cause problems. 18320# Hook for its removal unless debugging. 18321# Note that there is a small window in which the directory will not be cleaned: 18322# after its creation but before its name has been assigned to `$tmp'. 18323$debug || 18324{ 18325 tmp= ac_tmp= 18326 trap 'exit_status=$? 18327 : "${ac_tmp:=$tmp}" 18328 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 18329' 0 18330 trap 'as_fn_exit 1' 1 2 13 15 18331} 18332# Create a (secure) tmp directory for tmp files. 18333 18334{ 18335 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 18336 test -d "$tmp" 18337} || 18338{ 18339 tmp=./conf$$-$RANDOM 18340 (umask 077 && mkdir "$tmp") 18341} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 18342ac_tmp=$tmp 18343 18344# Set up the scripts for CONFIG_FILES section. 18345# No need to generate them if there are no CONFIG_FILES. 18346# This happens for instance with `./config.status config.h'. 18347if test -n "$CONFIG_FILES"; then 18348 18349 18350ac_cr=`echo X | tr X '\015'` 18351# On cygwin, bash can eat \r inside `` if the user requested igncr. 18352# But we know of no other shell where ac_cr would be empty at this 18353# point, so we can use a bashism as a fallback. 18354if test "x$ac_cr" = x; then 18355 eval ac_cr=\$\'\\r\' 18356fi 18357ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 18358if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 18359 ac_cs_awk_cr='\\r' 18360else 18361 ac_cs_awk_cr=$ac_cr 18362fi 18363 18364echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 18365_ACEOF 18366 18367 18368{ 18369 echo "cat >conf$$subs.awk <<_ACEOF" && 18370 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 18371 echo "_ACEOF" 18372} >conf$$subs.sh || 18373 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18374ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 18375ac_delim='%!_!# ' 18376for ac_last_try in false false false false false :; do 18377 . ./conf$$subs.sh || 18378 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18379 18380 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 18381 if test $ac_delim_n = $ac_delim_num; then 18382 break 18383 elif $ac_last_try; then 18384 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18385 else 18386 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18387 fi 18388done 18389rm -f conf$$subs.sh 18390 18391cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18392cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 18393_ACEOF 18394sed -n ' 18395h 18396s/^/S["/; s/!.*/"]=/ 18397p 18398g 18399s/^[^!]*!// 18400:repl 18401t repl 18402s/'"$ac_delim"'$// 18403t delim 18404:nl 18405h 18406s/\(.\{148\}\)..*/\1/ 18407t more1 18408s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 18409p 18410n 18411b repl 18412:more1 18413s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18414p 18415g 18416s/.\{148\}// 18417t nl 18418:delim 18419h 18420s/\(.\{148\}\)..*/\1/ 18421t more2 18422s/["\\]/\\&/g; s/^/"/; s/$/"/ 18423p 18424b 18425:more2 18426s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18427p 18428g 18429s/.\{148\}// 18430t delim 18431' <conf$$subs.awk | sed ' 18432/^[^""]/{ 18433 N 18434 s/\n// 18435} 18436' >>$CONFIG_STATUS || ac_write_fail=1 18437rm -f conf$$subs.awk 18438cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18439_ACAWK 18440cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 18441 for (key in S) S_is_set[key] = 1 18442 FS = "" 18443 18444} 18445{ 18446 line = $ 0 18447 nfields = split(line, field, "@") 18448 substed = 0 18449 len = length(field[1]) 18450 for (i = 2; i < nfields; i++) { 18451 key = field[i] 18452 keylen = length(key) 18453 if (S_is_set[key]) { 18454 value = S[key] 18455 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 18456 len += length(value) + length(field[++i]) 18457 substed = 1 18458 } else 18459 len += 1 + keylen 18460 } 18461 18462 print line 18463} 18464 18465_ACAWK 18466_ACEOF 18467cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18468if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 18469 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 18470else 18471 cat 18472fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 18473 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 18474_ACEOF 18475 18476# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 18477# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 18478# trailing colons and then remove the whole line if VPATH becomes empty 18479# (actually we leave an empty line to preserve line numbers). 18480if test "x$srcdir" = x.; then 18481 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 18482h 18483s/// 18484s/^/:/ 18485s/[ ]*$/:/ 18486s/:\$(srcdir):/:/g 18487s/:\${srcdir}:/:/g 18488s/:@srcdir@:/:/g 18489s/^:*// 18490s/:*$// 18491x 18492s/\(=[ ]*\).*/\1/ 18493G 18494s/\n// 18495s/^[^=]*=[ ]*$// 18496}' 18497fi 18498 18499cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18500fi # test -n "$CONFIG_FILES" 18501 18502# Set up the scripts for CONFIG_HEADERS section. 18503# No need to generate them if there are no CONFIG_HEADERS. 18504# This happens for instance with `./config.status Makefile'. 18505if test -n "$CONFIG_HEADERS"; then 18506cat >"$ac_tmp/defines.awk" <<\_ACAWK || 18507BEGIN { 18508_ACEOF 18509 18510# Transform confdefs.h into an awk script `defines.awk', embedded as 18511# here-document in config.status, that substitutes the proper values into 18512# config.h.in to produce config.h. 18513 18514# Create a delimiter string that does not exist in confdefs.h, to ease 18515# handling of long lines. 18516ac_delim='%!_!# ' 18517for ac_last_try in false false :; do 18518 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 18519 if test -z "$ac_tt"; then 18520 break 18521 elif $ac_last_try; then 18522 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 18523 else 18524 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18525 fi 18526done 18527 18528# For the awk script, D is an array of macro values keyed by name, 18529# likewise P contains macro parameters if any. Preserve backslash 18530# newline sequences. 18531 18532ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 18533sed -n ' 18534s/.\{148\}/&'"$ac_delim"'/g 18535t rset 18536:rset 18537s/^[ ]*#[ ]*define[ ][ ]*/ / 18538t def 18539d 18540:def 18541s/\\$// 18542t bsnl 18543s/["\\]/\\&/g 18544s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18545D["\1"]=" \3"/p 18546s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 18547d 18548:bsnl 18549s/["\\]/\\&/g 18550s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18551D["\1"]=" \3\\\\\\n"\\/p 18552t cont 18553s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 18554t cont 18555d 18556:cont 18557n 18558s/.\{148\}/&'"$ac_delim"'/g 18559t clear 18560:clear 18561s/\\$// 18562t bsnlc 18563s/["\\]/\\&/g; s/^/"/; s/$/"/p 18564d 18565:bsnlc 18566s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 18567b cont 18568' <confdefs.h | sed ' 18569s/'"$ac_delim"'/"\\\ 18570"/g' >>$CONFIG_STATUS || ac_write_fail=1 18571 18572cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18573 for (key in D) D_is_set[key] = 1 18574 FS = "" 18575} 18576/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 18577 line = \$ 0 18578 split(line, arg, " ") 18579 if (arg[1] == "#") { 18580 defundef = arg[2] 18581 mac1 = arg[3] 18582 } else { 18583 defundef = substr(arg[1], 2) 18584 mac1 = arg[2] 18585 } 18586 split(mac1, mac2, "(") #) 18587 macro = mac2[1] 18588 prefix = substr(line, 1, index(line, defundef) - 1) 18589 if (D_is_set[macro]) { 18590 # Preserve the white space surrounding the "#". 18591 print prefix "define", macro P[macro] D[macro] 18592 next 18593 } else { 18594 # Replace #undef with comments. This is necessary, for example, 18595 # in the case of _POSIX_SOURCE, which is predefined and required 18596 # on some systems where configure will not decide to define it. 18597 if (defundef == "undef") { 18598 print "/*", prefix defundef, macro, "*/" 18599 next 18600 } 18601 } 18602} 18603{ print } 18604_ACAWK 18605_ACEOF 18606cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18607 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 18608fi # test -n "$CONFIG_HEADERS" 18609 18610 18611eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 18612shift 18613for ac_tag 18614do 18615 case $ac_tag in 18616 :[FHLC]) ac_mode=$ac_tag; continue;; 18617 esac 18618 case $ac_mode$ac_tag in 18619 :[FHL]*:*);; 18620 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 18621 :[FH]-) ac_tag=-:-;; 18622 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 18623 esac 18624 ac_save_IFS=$IFS 18625 IFS=: 18626 set x $ac_tag 18627 IFS=$ac_save_IFS 18628 shift 18629 ac_file=$1 18630 shift 18631 18632 case $ac_mode in 18633 :L) ac_source=$1;; 18634 :[FH]) 18635 ac_file_inputs= 18636 for ac_f 18637 do 18638 case $ac_f in 18639 -) ac_f="$ac_tmp/stdin";; 18640 *) # Look for the file first in the build tree, then in the source tree 18641 # (if the path is not absolute). The absolute path cannot be DOS-style, 18642 # because $ac_f cannot contain `:'. 18643 test -f "$ac_f" || 18644 case $ac_f in 18645 [\\/$]*) false;; 18646 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 18647 esac || 18648 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 18649 esac 18650 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 18651 as_fn_append ac_file_inputs " '$ac_f'" 18652 done 18653 18654 # Let's still pretend it is `configure' which instantiates (i.e., don't 18655 # use $as_me), people would be surprised to read: 18656 # /* config.h. Generated by config.status. */ 18657 configure_input='Generated from '` 18658 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 18659 `' by configure.' 18660 if test x"$ac_file" != x-; then 18661 configure_input="$ac_file. $configure_input" 18662 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 18663$as_echo "$as_me: creating $ac_file" >&6;} 18664 fi 18665 # Neutralize special characters interpreted by sed in replacement strings. 18666 case $configure_input in #( 18667 *\&* | *\|* | *\\* ) 18668 ac_sed_conf_input=`$as_echo "$configure_input" | 18669 sed 's/[\\\\&|]/\\\\&/g'`;; #( 18670 *) ac_sed_conf_input=$configure_input;; 18671 esac 18672 18673 case $ac_tag in 18674 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 18675 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 18676 esac 18677 ;; 18678 esac 18679 18680 ac_dir=`$as_dirname -- "$ac_file" || 18681$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18682 X"$ac_file" : 'X\(//\)[^/]' \| \ 18683 X"$ac_file" : 'X\(//\)$' \| \ 18684 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 18685$as_echo X"$ac_file" | 18686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18687 s//\1/ 18688 q 18689 } 18690 /^X\(\/\/\)[^/].*/{ 18691 s//\1/ 18692 q 18693 } 18694 /^X\(\/\/\)$/{ 18695 s//\1/ 18696 q 18697 } 18698 /^X\(\/\).*/{ 18699 s//\1/ 18700 q 18701 } 18702 s/.*/./; q'` 18703 as_dir="$ac_dir"; as_fn_mkdir_p 18704 ac_builddir=. 18705 18706case "$ac_dir" in 18707.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 18708*) 18709 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 18710 # A ".." for each directory in $ac_dir_suffix. 18711 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 18712 case $ac_top_builddir_sub in 18713 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 18714 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 18715 esac ;; 18716esac 18717ac_abs_top_builddir=$ac_pwd 18718ac_abs_builddir=$ac_pwd$ac_dir_suffix 18719# for backward compatibility: 18720ac_top_builddir=$ac_top_build_prefix 18721 18722case $srcdir in 18723 .) # We are building in place. 18724 ac_srcdir=. 18725 ac_top_srcdir=$ac_top_builddir_sub 18726 ac_abs_top_srcdir=$ac_pwd ;; 18727 [\\/]* | ?:[\\/]* ) # Absolute name. 18728 ac_srcdir=$srcdir$ac_dir_suffix; 18729 ac_top_srcdir=$srcdir 18730 ac_abs_top_srcdir=$srcdir ;; 18731 *) # Relative name. 18732 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 18733 ac_top_srcdir=$ac_top_build_prefix$srcdir 18734 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 18735esac 18736ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 18737 18738 18739 case $ac_mode in 18740 :F) 18741 # 18742 # CONFIG_FILE 18743 # 18744 18745 case $INSTALL in 18746 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 18747 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 18748 esac 18749 ac_MKDIR_P=$MKDIR_P 18750 case $MKDIR_P in 18751 [\\/$]* | ?:[\\/]* ) ;; 18752 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 18753 esac 18754_ACEOF 18755 18756cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18757# If the template does not know about datarootdir, expand it. 18758# FIXME: This hack should be removed a few years after 2.60. 18759ac_datarootdir_hack=; ac_datarootdir_seen= 18760ac_sed_dataroot=' 18761/datarootdir/ { 18762 p 18763 q 18764} 18765/@datadir@/p 18766/@docdir@/p 18767/@infodir@/p 18768/@localedir@/p 18769/@mandir@/p' 18770case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 18771*datarootdir*) ac_datarootdir_seen=yes;; 18772*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 18773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 18774$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 18775_ACEOF 18776cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18777 ac_datarootdir_hack=' 18778 s&@datadir@&$datadir&g 18779 s&@docdir@&$docdir&g 18780 s&@infodir@&$infodir&g 18781 s&@localedir@&$localedir&g 18782 s&@mandir@&$mandir&g 18783 s&\\\${datarootdir}&$datarootdir&g' ;; 18784esac 18785_ACEOF 18786 18787# Neutralize VPATH when `$srcdir' = `.'. 18788# Shell code in configure.ac might set extrasub. 18789# FIXME: do we really want to maintain this feature? 18790cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18791ac_sed_extra="$ac_vpsub 18792$extrasub 18793_ACEOF 18794cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18795:t 18796/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18797s|@configure_input@|$ac_sed_conf_input|;t t 18798s&@top_builddir@&$ac_top_builddir_sub&;t t 18799s&@top_build_prefix@&$ac_top_build_prefix&;t t 18800s&@srcdir@&$ac_srcdir&;t t 18801s&@abs_srcdir@&$ac_abs_srcdir&;t t 18802s&@top_srcdir@&$ac_top_srcdir&;t t 18803s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 18804s&@builddir@&$ac_builddir&;t t 18805s&@abs_builddir@&$ac_abs_builddir&;t t 18806s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 18807s&@INSTALL@&$ac_INSTALL&;t t 18808s&@MKDIR_P@&$ac_MKDIR_P&;t t 18809$ac_datarootdir_hack 18810" 18811eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 18812 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18813 18814test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18815 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 18816 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 18817 "$ac_tmp/out"`; test -z "$ac_out"; } && 18818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18819which seems to be undefined. Please make sure it is defined" >&5 18820$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18821which seems to be undefined. Please make sure it is defined" >&2;} 18822 18823 rm -f "$ac_tmp/stdin" 18824 case $ac_file in 18825 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 18826 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 18827 esac \ 18828 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18829 ;; 18830 :H) 18831 # 18832 # CONFIG_HEADER 18833 # 18834 if test x"$ac_file" != x-; then 18835 { 18836 $as_echo "/* $configure_input */" \ 18837 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 18838 } >"$ac_tmp/config.h" \ 18839 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18840 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 18841 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18842$as_echo "$as_me: $ac_file is unchanged" >&6;} 18843 else 18844 rm -f "$ac_file" 18845 mv "$ac_tmp/config.h" "$ac_file" \ 18846 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18847 fi 18848 else 18849 $as_echo "/* $configure_input */" \ 18850 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 18851 || as_fn_error $? "could not create -" "$LINENO" 5 18852 fi 18853# Compute "$ac_file"'s index in $config_headers. 18854_am_arg="$ac_file" 18855_am_stamp_count=1 18856for _am_header in $config_headers :; do 18857 case $_am_header in 18858 $_am_arg | $_am_arg:* ) 18859 break ;; 18860 * ) 18861 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 18862 esac 18863done 18864echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 18865$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18866 X"$_am_arg" : 'X\(//\)[^/]' \| \ 18867 X"$_am_arg" : 'X\(//\)$' \| \ 18868 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 18869$as_echo X"$_am_arg" | 18870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18871 s//\1/ 18872 q 18873 } 18874 /^X\(\/\/\)[^/].*/{ 18875 s//\1/ 18876 q 18877 } 18878 /^X\(\/\/\)$/{ 18879 s//\1/ 18880 q 18881 } 18882 /^X\(\/\).*/{ 18883 s//\1/ 18884 q 18885 } 18886 s/.*/./; q'`/stamp-h$_am_stamp_count 18887 ;; 18888 18889 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 18890$as_echo "$as_me: executing $ac_file commands" >&6;} 18891 ;; 18892 esac 18893 18894 18895 case $ac_file$ac_mode in 18896 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 18897 # Older Autoconf quotes --file arguments for eval, but not when files 18898 # are listed without --file. Let's play safe and only enable the eval 18899 # if we detect the quoting. 18900 case $CONFIG_FILES in 18901 *\'*) eval set x "$CONFIG_FILES" ;; 18902 *) set x $CONFIG_FILES ;; 18903 esac 18904 shift 18905 for mf 18906 do 18907 # Strip MF so we end up with the name of the file. 18908 mf=`echo "$mf" | sed -e 's/:.*$//'` 18909 # Check whether this is an Automake generated Makefile or not. 18910 # We used to match only the files named 'Makefile.in', but 18911 # some people rename them; so instead we look at the file content. 18912 # Grep'ing the first line is not enough: some people post-process 18913 # each Makefile.in and add a new line on top of each file to say so. 18914 # Grep'ing the whole file is not good either: AIX grep has a line 18915 # limit of 2048, but all sed's we know have understand at least 4000. 18916 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 18917 dirpart=`$as_dirname -- "$mf" || 18918$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18919 X"$mf" : 'X\(//\)[^/]' \| \ 18920 X"$mf" : 'X\(//\)$' \| \ 18921 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 18922$as_echo X"$mf" | 18923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18924 s//\1/ 18925 q 18926 } 18927 /^X\(\/\/\)[^/].*/{ 18928 s//\1/ 18929 q 18930 } 18931 /^X\(\/\/\)$/{ 18932 s//\1/ 18933 q 18934 } 18935 /^X\(\/\).*/{ 18936 s//\1/ 18937 q 18938 } 18939 s/.*/./; q'` 18940 else 18941 continue 18942 fi 18943 # Extract the definition of DEPDIR, am__include, and am__quote 18944 # from the Makefile without running 'make'. 18945 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 18946 test -z "$DEPDIR" && continue 18947 am__include=`sed -n 's/^am__include = //p' < "$mf"` 18948 test -z "$am__include" && continue 18949 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 18950 # Find all dependency output files, they are included files with 18951 # $(DEPDIR) in their names. We invoke sed twice because it is the 18952 # simplest approach to changing $(DEPDIR) to its actual value in the 18953 # expansion. 18954 for file in `sed -n " 18955 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 18956 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 18957 # Make sure the directory exists. 18958 test -f "$dirpart/$file" && continue 18959 fdir=`$as_dirname -- "$file" || 18960$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18961 X"$file" : 'X\(//\)[^/]' \| \ 18962 X"$file" : 'X\(//\)$' \| \ 18963 X"$file" : 'X\(/\)' \| . 2>/dev/null || 18964$as_echo X"$file" | 18965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18966 s//\1/ 18967 q 18968 } 18969 /^X\(\/\/\)[^/].*/{ 18970 s//\1/ 18971 q 18972 } 18973 /^X\(\/\/\)$/{ 18974 s//\1/ 18975 q 18976 } 18977 /^X\(\/\).*/{ 18978 s//\1/ 18979 q 18980 } 18981 s/.*/./; q'` 18982 as_dir=$dirpart/$fdir; as_fn_mkdir_p 18983 # echo "creating $dirpart/$file" 18984 echo '# dummy' > "$dirpart/$file" 18985 done 18986 done 18987} 18988 ;; 18989 "libtool":C) 18990 18991 # See if we are running on zsh, and set the options which allow our 18992 # commands through without removal of \ escapes. 18993 if test -n "${ZSH_VERSION+set}" ; then 18994 setopt NO_GLOB_SUBST 18995 fi 18996 18997 cfgfile="${ofile}T" 18998 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 18999 $RM "$cfgfile" 19000 19001 cat <<_LT_EOF >> "$cfgfile" 19002#! $SHELL 19003 19004# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 19005# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 19006# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 19007# NOTE: Changes made to this file will be lost: look at ltmain.sh. 19008# 19009# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 19010# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 19011# Foundation, Inc. 19012# Written by Gordon Matzigkeit, 1996 19013# 19014# This file is part of GNU Libtool. 19015# 19016# GNU Libtool is free software; you can redistribute it and/or 19017# modify it under the terms of the GNU General Public License as 19018# published by the Free Software Foundation; either version 2 of 19019# the License, or (at your option) any later version. 19020# 19021# As a special exception to the GNU General Public License, 19022# if you distribute this file as part of a program or library that 19023# is built using GNU Libtool, you may include this file under the 19024# same distribution terms that you use for the rest of that program. 19025# 19026# GNU Libtool is distributed in the hope that it will be useful, 19027# but WITHOUT ANY WARRANTY; without even the implied warranty of 19028# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19029# GNU General Public License for more details. 19030# 19031# You should have received a copy of the GNU General Public License 19032# along with GNU Libtool; see the file COPYING. If not, a copy 19033# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 19034# obtained by writing to the Free Software Foundation, Inc., 19035# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19036 19037 19038# The names of the tagged configurations supported by this script. 19039available_tags="" 19040 19041# ### BEGIN LIBTOOL CONFIG 19042 19043# Whether or not to build static libraries. 19044build_old_libs=$enable_static 19045 19046# Which release of libtool.m4 was used? 19047macro_version=$macro_version 19048macro_revision=$macro_revision 19049 19050# Whether or not to build shared libraries. 19051build_libtool_libs=$enable_shared 19052 19053# What type of objects to build. 19054pic_mode=$pic_mode 19055 19056# Whether or not to optimize for fast installation. 19057fast_install=$enable_fast_install 19058 19059# Shell to use when invoking shell scripts. 19060SHELL=$lt_SHELL 19061 19062# An echo program that protects backslashes. 19063ECHO=$lt_ECHO 19064 19065# The PATH separator for the build system. 19066PATH_SEPARATOR=$lt_PATH_SEPARATOR 19067 19068# The host system. 19069host_alias=$host_alias 19070host=$host 19071host_os=$host_os 19072 19073# The build system. 19074build_alias=$build_alias 19075build=$build 19076build_os=$build_os 19077 19078# A sed program that does not truncate output. 19079SED=$lt_SED 19080 19081# Sed that helps us avoid accidentally triggering echo(1) options like -n. 19082Xsed="\$SED -e 1s/^X//" 19083 19084# A grep program that handles long lines. 19085GREP=$lt_GREP 19086 19087# An ERE matcher. 19088EGREP=$lt_EGREP 19089 19090# A literal string matcher. 19091FGREP=$lt_FGREP 19092 19093# A BSD- or MS-compatible name lister. 19094NM=$lt_NM 19095 19096# Whether we need soft or hard links. 19097LN_S=$lt_LN_S 19098 19099# What is the maximum length of a command? 19100max_cmd_len=$max_cmd_len 19101 19102# Object file suffix (normally "o"). 19103objext=$ac_objext 19104 19105# Executable file suffix (normally ""). 19106exeext=$exeext 19107 19108# whether the shell understands "unset". 19109lt_unset=$lt_unset 19110 19111# turn spaces into newlines. 19112SP2NL=$lt_lt_SP2NL 19113 19114# turn newlines into spaces. 19115NL2SP=$lt_lt_NL2SP 19116 19117# convert \$build file names to \$host format. 19118to_host_file_cmd=$lt_cv_to_host_file_cmd 19119 19120# convert \$build files to toolchain format. 19121to_tool_file_cmd=$lt_cv_to_tool_file_cmd 19122 19123# An object symbol dumper. 19124OBJDUMP=$lt_OBJDUMP 19125 19126# Method to check whether dependent libraries are shared objects. 19127deplibs_check_method=$lt_deplibs_check_method 19128 19129# Command to use when deplibs_check_method = "file_magic". 19130file_magic_cmd=$lt_file_magic_cmd 19131 19132# How to find potential files when deplibs_check_method = "file_magic". 19133file_magic_glob=$lt_file_magic_glob 19134 19135# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 19136want_nocaseglob=$lt_want_nocaseglob 19137 19138# DLL creation program. 19139DLLTOOL=$lt_DLLTOOL 19140 19141# Command to associate shared and link libraries. 19142sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 19143 19144# The archiver. 19145AR=$lt_AR 19146 19147# Flags to create an archive. 19148AR_FLAGS=$lt_AR_FLAGS 19149 19150# How to feed a file listing to the archiver. 19151archiver_list_spec=$lt_archiver_list_spec 19152 19153# A symbol stripping program. 19154STRIP=$lt_STRIP 19155 19156# Commands used to install an old-style archive. 19157RANLIB=$lt_RANLIB 19158old_postinstall_cmds=$lt_old_postinstall_cmds 19159old_postuninstall_cmds=$lt_old_postuninstall_cmds 19160 19161# Whether to use a lock for old archive extraction. 19162lock_old_archive_extraction=$lock_old_archive_extraction 19163 19164# A C compiler. 19165LTCC=$lt_CC 19166 19167# LTCC compiler flags. 19168LTCFLAGS=$lt_CFLAGS 19169 19170# Take the output of nm and produce a listing of raw symbols and C names. 19171global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19172 19173# Transform the output of nm in a proper C declaration. 19174global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19175 19176# Transform the output of nm in a C name address pair. 19177global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19178 19179# Transform the output of nm in a C name address pair when lib prefix is needed. 19180global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 19181 19182# Specify filename containing input files for \$NM. 19183nm_file_list_spec=$lt_nm_file_list_spec 19184 19185# The root where to search for dependent libraries,and in which our libraries should be installed. 19186lt_sysroot=$lt_sysroot 19187 19188# The name of the directory that contains temporary libtool files. 19189objdir=$objdir 19190 19191# Used to examine libraries when file_magic_cmd begins with "file". 19192MAGIC_CMD=$MAGIC_CMD 19193 19194# Must we lock files when doing compilation? 19195need_locks=$lt_need_locks 19196 19197# Manifest tool. 19198MANIFEST_TOOL=$lt_MANIFEST_TOOL 19199 19200# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 19201DSYMUTIL=$lt_DSYMUTIL 19202 19203# Tool to change global to local symbols on Mac OS X. 19204NMEDIT=$lt_NMEDIT 19205 19206# Tool to manipulate fat objects and archives on Mac OS X. 19207LIPO=$lt_LIPO 19208 19209# ldd/readelf like tool for Mach-O binaries on Mac OS X. 19210OTOOL=$lt_OTOOL 19211 19212# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 19213OTOOL64=$lt_OTOOL64 19214 19215# Old archive suffix (normally "a"). 19216libext=$libext 19217 19218# Shared library suffix (normally ".so"). 19219shrext_cmds=$lt_shrext_cmds 19220 19221# The commands to extract the exported symbol list from a shared archive. 19222extract_expsyms_cmds=$lt_extract_expsyms_cmds 19223 19224# Variables whose values should be saved in libtool wrapper scripts and 19225# restored at link time. 19226variables_saved_for_relink=$lt_variables_saved_for_relink 19227 19228# Do we need the "lib" prefix for modules? 19229need_lib_prefix=$need_lib_prefix 19230 19231# Do we need a version for libraries? 19232need_version=$need_version 19233 19234# Library versioning type. 19235version_type=$version_type 19236 19237# Shared library runtime path variable. 19238runpath_var=$runpath_var 19239 19240# Shared library path variable. 19241shlibpath_var=$shlibpath_var 19242 19243# Is shlibpath searched before the hard-coded library search path? 19244shlibpath_overrides_runpath=$shlibpath_overrides_runpath 19245 19246# Format of library name prefix. 19247libname_spec=$lt_libname_spec 19248 19249# List of archive names. First name is the real one, the rest are links. 19250# The last name is the one that the linker finds with -lNAME 19251library_names_spec=$lt_library_names_spec 19252 19253# The coded name of the library, if different from the real name. 19254soname_spec=$lt_soname_spec 19255 19256# Permission mode override for installation of shared libraries. 19257install_override_mode=$lt_install_override_mode 19258 19259# Command to use after installation of a shared archive. 19260postinstall_cmds=$lt_postinstall_cmds 19261 19262# Command to use after uninstallation of a shared archive. 19263postuninstall_cmds=$lt_postuninstall_cmds 19264 19265# Commands used to finish a libtool library installation in a directory. 19266finish_cmds=$lt_finish_cmds 19267 19268# As "finish_cmds", except a single script fragment to be evaled but 19269# not shown. 19270finish_eval=$lt_finish_eval 19271 19272# Whether we should hardcode library paths into libraries. 19273hardcode_into_libs=$hardcode_into_libs 19274 19275# Compile-time system search path for libraries. 19276sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19277 19278# Run-time system search path for libraries. 19279sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 19280 19281# Whether dlopen is supported. 19282dlopen_support=$enable_dlopen 19283 19284# Whether dlopen of programs is supported. 19285dlopen_self=$enable_dlopen_self 19286 19287# Whether dlopen of statically linked programs is supported. 19288dlopen_self_static=$enable_dlopen_self_static 19289 19290# Commands to strip libraries. 19291old_striplib=$lt_old_striplib 19292striplib=$lt_striplib 19293 19294 19295# The linker used to build libraries. 19296LD=$lt_LD 19297 19298# How to create reloadable object files. 19299reload_flag=$lt_reload_flag 19300reload_cmds=$lt_reload_cmds 19301 19302# Commands used to build an old-style archive. 19303old_archive_cmds=$lt_old_archive_cmds 19304 19305# A language specific compiler. 19306CC=$lt_compiler 19307 19308# Is the compiler the GNU compiler? 19309with_gcc=$GCC 19310 19311# Compiler flag to turn off builtin functions. 19312no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 19313 19314# Additional compiler flags for building library objects. 19315pic_flag=$lt_lt_prog_compiler_pic 19316 19317# How to pass a linker flag through the compiler. 19318wl=$lt_lt_prog_compiler_wl 19319 19320# Compiler flag to prevent dynamic linking. 19321link_static_flag=$lt_lt_prog_compiler_static 19322 19323# Does compiler simultaneously support -c and -o options? 19324compiler_c_o=$lt_lt_cv_prog_compiler_c_o 19325 19326# Whether or not to add -lc for building shared libraries. 19327build_libtool_need_lc=$archive_cmds_need_lc 19328 19329# Whether or not to disallow shared libs when runtime libs are static. 19330allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 19331 19332# Compiler flag to allow reflexive dlopens. 19333export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 19334 19335# Compiler flag to generate shared objects directly from archives. 19336whole_archive_flag_spec=$lt_whole_archive_flag_spec 19337 19338# Whether the compiler copes with passing no objects directly. 19339compiler_needs_object=$lt_compiler_needs_object 19340 19341# Create an old-style archive from a shared archive. 19342old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 19343 19344# Create a temporary old-style archive to link instead of a shared archive. 19345old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 19346 19347# Commands used to build a shared archive. 19348archive_cmds=$lt_archive_cmds 19349archive_expsym_cmds=$lt_archive_expsym_cmds 19350 19351# Commands used to build a loadable module if different from building 19352# a shared archive. 19353module_cmds=$lt_module_cmds 19354module_expsym_cmds=$lt_module_expsym_cmds 19355 19356# Whether we are building with GNU ld or not. 19357with_gnu_ld=$lt_with_gnu_ld 19358 19359# Flag that allows shared libraries with undefined symbols to be built. 19360allow_undefined_flag=$lt_allow_undefined_flag 19361 19362# Flag that enforces no undefined symbols. 19363no_undefined_flag=$lt_no_undefined_flag 19364 19365# Flag to hardcode \$libdir into a binary during linking. 19366# This must work even if \$libdir does not exist 19367hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 19368 19369# Whether we need a single "-rpath" flag with a separated argument. 19370hardcode_libdir_separator=$lt_hardcode_libdir_separator 19371 19372# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19373# DIR into the resulting binary. 19374hardcode_direct=$hardcode_direct 19375 19376# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19377# DIR into the resulting binary and the resulting library dependency is 19378# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 19379# library is relocated. 19380hardcode_direct_absolute=$hardcode_direct_absolute 19381 19382# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 19383# into the resulting binary. 19384hardcode_minus_L=$hardcode_minus_L 19385 19386# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 19387# into the resulting binary. 19388hardcode_shlibpath_var=$hardcode_shlibpath_var 19389 19390# Set to "yes" if building a shared library automatically hardcodes DIR 19391# into the library and all subsequent libraries and executables linked 19392# against it. 19393hardcode_automatic=$hardcode_automatic 19394 19395# Set to yes if linker adds runtime paths of dependent libraries 19396# to runtime path list. 19397inherit_rpath=$inherit_rpath 19398 19399# Whether libtool must link a program against all its dependency libraries. 19400link_all_deplibs=$link_all_deplibs 19401 19402# Set to "yes" if exported symbols are required. 19403always_export_symbols=$always_export_symbols 19404 19405# The commands to list exported symbols. 19406export_symbols_cmds=$lt_export_symbols_cmds 19407 19408# Symbols that should not be listed in the preloaded symbols. 19409exclude_expsyms=$lt_exclude_expsyms 19410 19411# Symbols that must always be exported. 19412include_expsyms=$lt_include_expsyms 19413 19414# Commands necessary for linking programs (against libraries) with templates. 19415prelink_cmds=$lt_prelink_cmds 19416 19417# Commands necessary for finishing linking programs. 19418postlink_cmds=$lt_postlink_cmds 19419 19420# Specify filename containing input files. 19421file_list_spec=$lt_file_list_spec 19422 19423# How to hardcode a shared library path into an executable. 19424hardcode_action=$hardcode_action 19425 19426# ### END LIBTOOL CONFIG 19427 19428_LT_EOF 19429 19430 case $host_os in 19431 aix3*) 19432 cat <<\_LT_EOF >> "$cfgfile" 19433# AIX sometimes has problems with the GCC collect2 program. For some 19434# reason, if we set the COLLECT_NAMES environment variable, the problems 19435# vanish in a puff of smoke. 19436if test "X${COLLECT_NAMES+set}" != Xset; then 19437 COLLECT_NAMES= 19438 export COLLECT_NAMES 19439fi 19440_LT_EOF 19441 ;; 19442 esac 19443 19444 19445ltmain="$ac_aux_dir/ltmain.sh" 19446 19447 19448 # We use sed instead of cat because bash on DJGPP gets confused if 19449 # if finds mixed CR/LF and LF-only lines. Since sed operates in 19450 # text mode, it properly converts lines to CR/LF. This bash problem 19451 # is reportedly fixed, but why not run on old versions too? 19452 sed '$q' "$ltmain" >> "$cfgfile" \ 19453 || (rm -f "$cfgfile"; exit 1) 19454 19455 if test x"$xsi_shell" = xyes; then 19456 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 19457func_dirname ()\ 19458{\ 19459\ case ${1} in\ 19460\ */*) func_dirname_result="${1%/*}${2}" ;;\ 19461\ * ) func_dirname_result="${3}" ;;\ 19462\ esac\ 19463} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 19464 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19465 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19466test 0 -eq $? || _lt_function_replace_fail=: 19467 19468 19469 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 19470func_basename ()\ 19471{\ 19472\ func_basename_result="${1##*/}"\ 19473} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 19474 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19475 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19476test 0 -eq $? || _lt_function_replace_fail=: 19477 19478 19479 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 19480func_dirname_and_basename ()\ 19481{\ 19482\ case ${1} in\ 19483\ */*) func_dirname_result="${1%/*}${2}" ;;\ 19484\ * ) func_dirname_result="${3}" ;;\ 19485\ esac\ 19486\ func_basename_result="${1##*/}"\ 19487} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 19488 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19489 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19490test 0 -eq $? || _lt_function_replace_fail=: 19491 19492 19493 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 19494func_stripname ()\ 19495{\ 19496\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 19497\ # positional parameters, so assign one to ordinary parameter first.\ 19498\ func_stripname_result=${3}\ 19499\ func_stripname_result=${func_stripname_result#"${1}"}\ 19500\ func_stripname_result=${func_stripname_result%"${2}"}\ 19501} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 19502 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19503 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19504test 0 -eq $? || _lt_function_replace_fail=: 19505 19506 19507 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 19508func_split_long_opt ()\ 19509{\ 19510\ func_split_long_opt_name=${1%%=*}\ 19511\ func_split_long_opt_arg=${1#*=}\ 19512} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 19513 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19514 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19515test 0 -eq $? || _lt_function_replace_fail=: 19516 19517 19518 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 19519func_split_short_opt ()\ 19520{\ 19521\ func_split_short_opt_arg=${1#??}\ 19522\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 19523} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 19524 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19525 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19526test 0 -eq $? || _lt_function_replace_fail=: 19527 19528 19529 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 19530func_lo2o ()\ 19531{\ 19532\ case ${1} in\ 19533\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 19534\ *) func_lo2o_result=${1} ;;\ 19535\ esac\ 19536} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 19537 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19538 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19539test 0 -eq $? || _lt_function_replace_fail=: 19540 19541 19542 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 19543func_xform ()\ 19544{\ 19545 func_xform_result=${1%.*}.lo\ 19546} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 19547 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19548 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19549test 0 -eq $? || _lt_function_replace_fail=: 19550 19551 19552 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 19553func_arith ()\ 19554{\ 19555 func_arith_result=$(( $* ))\ 19556} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 19557 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19558 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19559test 0 -eq $? || _lt_function_replace_fail=: 19560 19561 19562 sed -e '/^func_len ()$/,/^} # func_len /c\ 19563func_len ()\ 19564{\ 19565 func_len_result=${#1}\ 19566} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 19567 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19568 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19569test 0 -eq $? || _lt_function_replace_fail=: 19570 19571fi 19572 19573if test x"$lt_shell_append" = xyes; then 19574 sed -e '/^func_append ()$/,/^} # func_append /c\ 19575func_append ()\ 19576{\ 19577 eval "${1}+=\\${2}"\ 19578} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 19579 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19580 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19581test 0 -eq $? || _lt_function_replace_fail=: 19582 19583 19584 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 19585func_append_quoted ()\ 19586{\ 19587\ func_quote_for_eval "${2}"\ 19588\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 19589} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 19590 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19591 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19592test 0 -eq $? || _lt_function_replace_fail=: 19593 19594 19595 # Save a `func_append' function call where possible by direct use of '+=' 19596 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 19597 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19598 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19599 test 0 -eq $? || _lt_function_replace_fail=: 19600else 19601 # Save a `func_append' function call even when '+=' is not available 19602 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 19603 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19604 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19605 test 0 -eq $? || _lt_function_replace_fail=: 19606fi 19607 19608if test x"$_lt_function_replace_fail" = x":"; then 19609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 19610$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 19611fi 19612 19613 19614 mv -f "$cfgfile" "$ofile" || 19615 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 19616 chmod +x "$ofile" 19617 19618 ;; 19619 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 19620 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 19621 esac ;; 19622 "po/stamp-it":C) 19623 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 19624 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 19625 fi 19626 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 19627 >"po/stamp-it.tmp" 19628 sed '/^#/d 19629 s/^[[].*] *// 19630 /^[ ]*$/d 19631 '"s|^| $ac_top_srcdir/|" \ 19632 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 19633 19634 sed '/^POTFILES =/,/[^\\]$/ { 19635 /^POTFILES =/!d 19636 r po/POTFILES 19637 } 19638 ' "po/Makefile.in" >"po/Makefile" 19639 rm -f "po/Makefile.tmp" 19640 mv "po/stamp-it.tmp" "po/stamp-it" 19641 ;; 19642 19643 esac 19644done # for ac_tag 19645 19646 19647as_fn_exit 0 19648_ACEOF 19649ac_clean_files=$ac_clean_files_save 19650 19651test $ac_write_fail = 0 || 19652 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 19653 19654 19655# configure is writing to config.log, and then calls config.status. 19656# config.status does its own redirection, appending to config.log. 19657# Unfortunately, on DOS this fails, as config.log is still kept open 19658# by configure, so config.status won't be able to write to it; its 19659# output is simply discarded. So we exec the FD to /dev/null, 19660# effectively closing config.log, so it can be properly (re)opened and 19661# appended to by config.status. When coming back to configure, we 19662# need to make the FD available again. 19663if test "$no_create" != yes; then 19664 ac_cs_success=: 19665 ac_config_status_args= 19666 test "$silent" = yes && 19667 ac_config_status_args="$ac_config_status_args --quiet" 19668 exec 5>/dev/null 19669 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 19670 exec 5>>config.log 19671 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 19672 # would make configure fail if this is the last instruction. 19673 $ac_cs_success || as_fn_exit 1 19674fi 19675if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 19676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 19677$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 19678fi 19679 19680 19681msg_gtk_doc=`if test "x${enable_gtk_doc}" = "xno"; then echo "disabled"; else echo "enabled"; fi` 19682msg_gtk_version="" 19683if test "${have_gtk3}" = "yes"; then msg_gtk_version="Gtk+ 3.0"; 19684 elif test "${have_gtk2}" = "yes"; then msg_gtk_version="Gtk+ 2.0"; fi 19685$as_echo " 19686 ${PACKAGE_STRING} configuration summary: 19687 19688 Installation prefix ${prefix} 19689 Build system type ${ac_cv_build} 19690 Nautilus extensions directory ${with_nautilus_extdir} 19691 Gtk+ version ${msg_gtk_version} 19692 Default I/O provider ${with_default_io_provider} 19693 Enable deprecated functions ${enable_deprecated} 19694 GConf enabled ${enable_gconf} 19695 GConf schemas installation ${msg_schemas_install} 19696 Maintainer mode ${msg_maintainer_mode} 19697 API Reference generation ${msg_gtk_doc} 19698 HTML User's Manuals generation ${msg_html_manuals} 19699 PDF User's Manuals generation ${msg_pdf_manuals} 19700" 19701# Preprocessor flags ${AM_CPPFLAGS} 19702# Compiler flags ${AM_CFLAGS} ${NAUTILUS_ACTIONS_CFLAGS} 19703# Linker flags ${NAUTILUS_ACTIONS_LIBS} 19704