1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for mate-notification-daemon 1.26.0. 4# 5# Report bugs to <https://mate-desktop.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: https://mate-desktop.org about your system, including 279$0: any error possibly output before this message. Then 280$0: install a modern shell, or manually run the script 281$0: 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='mate-notification-daemon' 592PACKAGE_TARNAME='mate-notification-daemon' 593PACKAGE_VERSION='1.26.0' 594PACKAGE_STRING='mate-notification-daemon 1.26.0' 595PACKAGE_BUGREPORT='https://mate-desktop.org' 596PACKAGE_URL='' 597 598ac_unique_file="config.h.in" 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 635gt_needs= 636ac_subst_vars='am__EXEEXT_FALSE 637am__EXEEXT_TRUE 638LTLIBOBJS 639LIBOBJS 640ICON_UPDATE_FALSE 641ICON_UPDATE_TRUE 642UPDATE_ICON_CACHE 643DBUS_SERVICES_DIR 644DBUS_SYS_DIR 645LIBEXECDIR 646DATADIR 647LIBDIR 648SYSCONFDIR 649GSETTINGS_RULES 650GLIB_COMPILE_SCHEMAS 651gsettingsschemadir 652GSETTINGS_DISABLE_SCHEMAS_COMPILE 653HAVE_GDK_FALSE 654HAVE_GDK_TRUE 655GDK_LIBS 656GDK_CFLAGS 657NOTIFICATION_CAPPLET_LIBS 658NOTIFICATION_CAPPLET_CFLAGS 659ENABLE_WAYLAND_FALSE 660ENABLE_WAYLAND_TRUE 661NOTIFICATION_DAEMON_X11_LIBS 662NOTIFICATION_DAEMON_X11_CFLAGS 663NOTIFICATION_DAEMON_WAYLAND_LIBS 664NOTIFICATION_DAEMON_WAYLAND_CFLAGS 665NOTIFICATION_APPLET_LIBS 666NOTIFICATION_APPLET_CFLAGS 667NOTIFICATION_DAEMON_LIBS 668NOTIFICATION_DAEMON_CFLAGS 669GMODULE_LIBS 670GMODULE_CFLAGS 671THEME_LIBS 672THEME_CFLAGS 673PKG_CONFIG_LIBDIR 674PKG_CONFIG_PATH 675PKG_CONFIG 676XMLLINT 677GLIB_COMPILE_RESOURCES 678GETTEXT_PACKAGE 679USE_NLS_FALSE 680USE_NLS_TRUE 681POSUB 682LTLIBINTL 683LIBINTL 684INTLLIBS 685LTLIBICONV 686LIBICONV 687INTL_MACOSX_LIBS 688XGETTEXT_EXTRA_OPTIONS 689MSGMERGE_FOR_MSGFMT_OPTION 690MSGMERGE 691XGETTEXT_015 692XGETTEXT 693GMSGFMT_015 694GMSGFMT 695MSGFMT 696GETTEXT_MACRO_VERSION 697USE_NLS 698LT_SYS_LIBRARY_PATH 699OTOOL64 700OTOOL 701LIPO 702NMEDIT 703DSYMUTIL 704MANIFEST_TOOL 705RANLIB 706ac_ct_AR 707AR 708DLLTOOL 709OBJDUMP 710NM 711ac_ct_DUMPBIN 712DUMPBIN 713LD 714FGREP 715SED 716host_os 717host_vendor 718host_cpu 719host 720build_os 721build_vendor 722build_cpu 723build 724LIBTOOL 725WARN_CFLAGS 726DISABLE_DEPRECATED 727EGREP 728GREP 729LN_S 730CPP 731am__fastdepCC_FALSE 732am__fastdepCC_TRUE 733CCDEPMODE 734am__nodep 735AMDEPBACKSLASH 736AMDEP_FALSE 737AMDEP_TRUE 738am__include 739DEPDIR 740OBJEXT 741EXEEXT 742ac_ct_CC 743CPPFLAGS 744LDFLAGS 745CFLAGS 746CC 747MAINT 748MAINTAINER_MODE_FALSE 749MAINTAINER_MODE_TRUE 750AM_BACKSLASH 751AM_DEFAULT_VERBOSITY 752AM_DEFAULT_V 753AM_V 754am__untar 755am__tar 756AMTAR 757am__leading_dot 758SET_MAKE 759AWK 760mkdir_p 761MKDIR_P 762INSTALL_STRIP_PROGRAM 763STRIP 764install_sh 765MAKEINFO 766AUTOHEADER 767AUTOMAKE 768AUTOCONF 769ACLOCAL 770VERSION 771PACKAGE 772CYGPATH_W 773am__isrc 774INSTALL_DATA 775INSTALL_SCRIPT 776INSTALL_PROGRAM 777target_alias 778host_alias 779build_alias 780LIBS 781ECHO_T 782ECHO_N 783ECHO_C 784DEFS 785mandir 786localedir 787libdir 788psdir 789pdfdir 790dvidir 791htmldir 792infodir 793docdir 794oldincludedir 795includedir 796runstatedir 797localstatedir 798sharedstatedir 799sysconfdir 800datadir 801datarootdir 802libexecdir 803sbindir 804bindir 805program_transform_name 806prefix 807exec_prefix 808PACKAGE_URL 809PACKAGE_BUGREPORT 810PACKAGE_STRING 811PACKAGE_VERSION 812PACKAGE_TARNAME 813PACKAGE_NAME 814PATH_SEPARATOR 815SHELL 816am__quote' 817ac_subst_files='' 818ac_user_opts=' 819enable_option_checking 820enable_silent_rules 821enable_maintainer_mode 822enable_dependency_tracking 823enable_compile_warnings 824enable_shared 825enable_static 826with_pic 827enable_fast_install 828with_aix_soname 829with_gnu_ld 830with_sysroot 831enable_libtool_lock 832enable_nls 833enable_rpath 834with_libiconv_prefix 835with_libintl_prefix 836enable_x11 837enable_wayland 838enable_schemas_compile 839with_dbus_sys 840with_dbus_services 841enable_icon_update 842' 843 ac_precious_vars='build_alias 844host_alias 845target_alias 846CC 847CFLAGS 848LDFLAGS 849LIBS 850CPPFLAGS 851CPP 852LT_SYS_LIBRARY_PATH 853GLIB_COMPILE_RESOURCES 854XMLLINT 855PKG_CONFIG 856PKG_CONFIG_PATH 857PKG_CONFIG_LIBDIR 858THEME_CFLAGS 859THEME_LIBS 860GMODULE_CFLAGS 861GMODULE_LIBS 862NOTIFICATION_DAEMON_CFLAGS 863NOTIFICATION_DAEMON_LIBS 864NOTIFICATION_APPLET_CFLAGS 865NOTIFICATION_APPLET_LIBS 866NOTIFICATION_DAEMON_WAYLAND_CFLAGS 867NOTIFICATION_DAEMON_WAYLAND_LIBS 868NOTIFICATION_DAEMON_X11_CFLAGS 869NOTIFICATION_DAEMON_X11_LIBS 870NOTIFICATION_CAPPLET_CFLAGS 871NOTIFICATION_CAPPLET_LIBS 872GDK_CFLAGS 873GDK_LIBS 874GLIB_COMPILE_SCHEMAS' 875 876 877# Initialize some variables set by options. 878ac_init_help= 879ac_init_version=false 880ac_unrecognized_opts= 881ac_unrecognized_sep= 882# The variables have the same names as the options, with 883# dashes changed to underlines. 884cache_file=/dev/null 885exec_prefix=NONE 886no_create= 887no_recursion= 888prefix=NONE 889program_prefix=NONE 890program_suffix=NONE 891program_transform_name=s,x,x, 892silent= 893site= 894srcdir= 895verbose= 896x_includes=NONE 897x_libraries=NONE 898 899# Installation directory options. 900# These are left unexpanded so users can "make install exec_prefix=/foo" 901# and all the variables that are supposed to be based on exec_prefix 902# by default will actually change. 903# Use braces instead of parens because sh, perl, etc. also accept them. 904# (The list follows the same order as the GNU Coding Standards.) 905bindir='${exec_prefix}/bin' 906sbindir='${exec_prefix}/sbin' 907libexecdir='${exec_prefix}/libexec' 908datarootdir='${prefix}/share' 909datadir='${datarootdir}' 910sysconfdir='${prefix}/etc' 911sharedstatedir='${prefix}/com' 912localstatedir='${prefix}/var' 913runstatedir='${localstatedir}/run' 914includedir='${prefix}/include' 915oldincludedir='/usr/include' 916docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 917infodir='${datarootdir}/info' 918htmldir='${docdir}' 919dvidir='${docdir}' 920pdfdir='${docdir}' 921psdir='${docdir}' 922libdir='${exec_prefix}/lib' 923localedir='${datarootdir}/locale' 924mandir='${datarootdir}/man' 925 926ac_prev= 927ac_dashdash= 928for ac_option 929do 930 # If the previous option needs an argument, assign it. 931 if test -n "$ac_prev"; then 932 eval $ac_prev=\$ac_option 933 ac_prev= 934 continue 935 fi 936 937 case $ac_option in 938 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 939 *=) ac_optarg= ;; 940 *) ac_optarg=yes ;; 941 esac 942 943 # Accept the important Cygnus configure options, so we can diagnose typos. 944 945 case $ac_dashdash$ac_option in 946 --) 947 ac_dashdash=yes ;; 948 949 -bindir | --bindir | --bindi | --bind | --bin | --bi) 950 ac_prev=bindir ;; 951 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 952 bindir=$ac_optarg ;; 953 954 -build | --build | --buil | --bui | --bu) 955 ac_prev=build_alias ;; 956 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 957 build_alias=$ac_optarg ;; 958 959 -cache-file | --cache-file | --cache-fil | --cache-fi \ 960 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 961 ac_prev=cache_file ;; 962 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 963 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 964 cache_file=$ac_optarg ;; 965 966 --config-cache | -C) 967 cache_file=config.cache ;; 968 969 -datadir | --datadir | --datadi | --datad) 970 ac_prev=datadir ;; 971 -datadir=* | --datadir=* | --datadi=* | --datad=*) 972 datadir=$ac_optarg ;; 973 974 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 975 | --dataroo | --dataro | --datar) 976 ac_prev=datarootdir ;; 977 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 978 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 979 datarootdir=$ac_optarg ;; 980 981 -disable-* | --disable-*) 982 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 983 # Reject names that are not valid shell variable names. 984 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 985 as_fn_error $? "invalid feature name: $ac_useropt" 986 ac_useropt_orig=$ac_useropt 987 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 988 case $ac_user_opts in 989 *" 990"enable_$ac_useropt" 991"*) ;; 992 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 993 ac_unrecognized_sep=', ';; 994 esac 995 eval enable_$ac_useropt=no ;; 996 997 -docdir | --docdir | --docdi | --doc | --do) 998 ac_prev=docdir ;; 999 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1000 docdir=$ac_optarg ;; 1001 1002 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1003 ac_prev=dvidir ;; 1004 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1005 dvidir=$ac_optarg ;; 1006 1007 -enable-* | --enable-*) 1008 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1009 # Reject names that are not valid shell variable names. 1010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1011 as_fn_error $? "invalid feature name: $ac_useropt" 1012 ac_useropt_orig=$ac_useropt 1013 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1014 case $ac_user_opts in 1015 *" 1016"enable_$ac_useropt" 1017"*) ;; 1018 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1019 ac_unrecognized_sep=', ';; 1020 esac 1021 eval enable_$ac_useropt=\$ac_optarg ;; 1022 1023 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1024 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1025 | --exec | --exe | --ex) 1026 ac_prev=exec_prefix ;; 1027 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1028 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1029 | --exec=* | --exe=* | --ex=*) 1030 exec_prefix=$ac_optarg ;; 1031 1032 -gas | --gas | --ga | --g) 1033 # Obsolete; use --with-gas. 1034 with_gas=yes ;; 1035 1036 -help | --help | --hel | --he | -h) 1037 ac_init_help=long ;; 1038 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1039 ac_init_help=recursive ;; 1040 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1041 ac_init_help=short ;; 1042 1043 -host | --host | --hos | --ho) 1044 ac_prev=host_alias ;; 1045 -host=* | --host=* | --hos=* | --ho=*) 1046 host_alias=$ac_optarg ;; 1047 1048 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1049 ac_prev=htmldir ;; 1050 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1051 | --ht=*) 1052 htmldir=$ac_optarg ;; 1053 1054 -includedir | --includedir | --includedi | --included | --include \ 1055 | --includ | --inclu | --incl | --inc) 1056 ac_prev=includedir ;; 1057 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1058 | --includ=* | --inclu=* | --incl=* | --inc=*) 1059 includedir=$ac_optarg ;; 1060 1061 -infodir | --infodir | --infodi | --infod | --info | --inf) 1062 ac_prev=infodir ;; 1063 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1064 infodir=$ac_optarg ;; 1065 1066 -libdir | --libdir | --libdi | --libd) 1067 ac_prev=libdir ;; 1068 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1069 libdir=$ac_optarg ;; 1070 1071 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1072 | --libexe | --libex | --libe) 1073 ac_prev=libexecdir ;; 1074 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1075 | --libexe=* | --libex=* | --libe=*) 1076 libexecdir=$ac_optarg ;; 1077 1078 -localedir | --localedir | --localedi | --localed | --locale) 1079 ac_prev=localedir ;; 1080 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1081 localedir=$ac_optarg ;; 1082 1083 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1084 | --localstate | --localstat | --localsta | --localst | --locals) 1085 ac_prev=localstatedir ;; 1086 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1087 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1088 localstatedir=$ac_optarg ;; 1089 1090 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1091 ac_prev=mandir ;; 1092 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1093 mandir=$ac_optarg ;; 1094 1095 -nfp | --nfp | --nf) 1096 # Obsolete; use --without-fp. 1097 with_fp=no ;; 1098 1099 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1100 | --no-cr | --no-c | -n) 1101 no_create=yes ;; 1102 1103 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1104 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1105 no_recursion=yes ;; 1106 1107 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1108 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1109 | --oldin | --oldi | --old | --ol | --o) 1110 ac_prev=oldincludedir ;; 1111 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1112 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1113 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1114 oldincludedir=$ac_optarg ;; 1115 1116 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1117 ac_prev=prefix ;; 1118 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1119 prefix=$ac_optarg ;; 1120 1121 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1122 | --program-pre | --program-pr | --program-p) 1123 ac_prev=program_prefix ;; 1124 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1125 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1126 program_prefix=$ac_optarg ;; 1127 1128 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1129 | --program-suf | --program-su | --program-s) 1130 ac_prev=program_suffix ;; 1131 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1132 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1133 program_suffix=$ac_optarg ;; 1134 1135 -program-transform-name | --program-transform-name \ 1136 | --program-transform-nam | --program-transform-na \ 1137 | --program-transform-n | --program-transform- \ 1138 | --program-transform | --program-transfor \ 1139 | --program-transfo | --program-transf \ 1140 | --program-trans | --program-tran \ 1141 | --progr-tra | --program-tr | --program-t) 1142 ac_prev=program_transform_name ;; 1143 -program-transform-name=* | --program-transform-name=* \ 1144 | --program-transform-nam=* | --program-transform-na=* \ 1145 | --program-transform-n=* | --program-transform-=* \ 1146 | --program-transform=* | --program-transfor=* \ 1147 | --program-transfo=* | --program-transf=* \ 1148 | --program-trans=* | --program-tran=* \ 1149 | --progr-tra=* | --program-tr=* | --program-t=*) 1150 program_transform_name=$ac_optarg ;; 1151 1152 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1153 ac_prev=pdfdir ;; 1154 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1155 pdfdir=$ac_optarg ;; 1156 1157 -psdir | --psdir | --psdi | --psd | --ps) 1158 ac_prev=psdir ;; 1159 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1160 psdir=$ac_optarg ;; 1161 1162 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1163 | -silent | --silent | --silen | --sile | --sil) 1164 silent=yes ;; 1165 1166 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1167 | --runstate | --runstat | --runsta | --runst | --runs \ 1168 | --run | --ru | --r) 1169 ac_prev=runstatedir ;; 1170 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1171 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1172 | --run=* | --ru=* | --r=*) 1173 runstatedir=$ac_optarg ;; 1174 1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1176 ac_prev=sbindir ;; 1177 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1178 | --sbi=* | --sb=*) 1179 sbindir=$ac_optarg ;; 1180 1181 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1182 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1183 | --sharedst | --shareds | --shared | --share | --shar \ 1184 | --sha | --sh) 1185 ac_prev=sharedstatedir ;; 1186 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1187 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1188 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1189 | --sha=* | --sh=*) 1190 sharedstatedir=$ac_optarg ;; 1191 1192 -site | --site | --sit) 1193 ac_prev=site ;; 1194 -site=* | --site=* | --sit=*) 1195 site=$ac_optarg ;; 1196 1197 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1198 ac_prev=srcdir ;; 1199 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1200 srcdir=$ac_optarg ;; 1201 1202 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1203 | --syscon | --sysco | --sysc | --sys | --sy) 1204 ac_prev=sysconfdir ;; 1205 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1206 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1207 sysconfdir=$ac_optarg ;; 1208 1209 -target | --target | --targe | --targ | --tar | --ta | --t) 1210 ac_prev=target_alias ;; 1211 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1212 target_alias=$ac_optarg ;; 1213 1214 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1215 verbose=yes ;; 1216 1217 -version | --version | --versio | --versi | --vers | -V) 1218 ac_init_version=: ;; 1219 1220 -with-* | --with-*) 1221 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1222 # Reject names that are not valid shell variable names. 1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1224 as_fn_error $? "invalid package name: $ac_useropt" 1225 ac_useropt_orig=$ac_useropt 1226 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1227 case $ac_user_opts in 1228 *" 1229"with_$ac_useropt" 1230"*) ;; 1231 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1232 ac_unrecognized_sep=', ';; 1233 esac 1234 eval with_$ac_useropt=\$ac_optarg ;; 1235 1236 -without-* | --without-*) 1237 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1238 # Reject names that are not valid shell variable names. 1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1240 as_fn_error $? "invalid package name: $ac_useropt" 1241 ac_useropt_orig=$ac_useropt 1242 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1243 case $ac_user_opts in 1244 *" 1245"with_$ac_useropt" 1246"*) ;; 1247 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1248 ac_unrecognized_sep=', ';; 1249 esac 1250 eval with_$ac_useropt=no ;; 1251 1252 --x) 1253 # Obsolete; use --with-x. 1254 with_x=yes ;; 1255 1256 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1257 | --x-incl | --x-inc | --x-in | --x-i) 1258 ac_prev=x_includes ;; 1259 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1260 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1261 x_includes=$ac_optarg ;; 1262 1263 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1264 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1265 ac_prev=x_libraries ;; 1266 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1267 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1268 x_libraries=$ac_optarg ;; 1269 1270 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1271Try \`$0 --help' for more information" 1272 ;; 1273 1274 *=*) 1275 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1276 # Reject names that are not valid shell variable names. 1277 case $ac_envvar in #( 1278 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1279 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1280 esac 1281 eval $ac_envvar=\$ac_optarg 1282 export $ac_envvar ;; 1283 1284 *) 1285 # FIXME: should be removed in autoconf 3.0. 1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1289 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1290 ;; 1291 1292 esac 1293done 1294 1295if test -n "$ac_prev"; then 1296 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1297 as_fn_error $? "missing argument to $ac_option" 1298fi 1299 1300if test -n "$ac_unrecognized_opts"; then 1301 case $enable_option_checking in 1302 no) ;; 1303 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1305 esac 1306fi 1307 1308# Check all directory arguments for consistency. 1309for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1310 datadir sysconfdir sharedstatedir localstatedir includedir \ 1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1312 libdir localedir mandir runstatedir 1313do 1314 eval ac_val=\$$ac_var 1315 # Remove trailing slashes. 1316 case $ac_val in 1317 */ ) 1318 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1319 eval $ac_var=\$ac_val;; 1320 esac 1321 # Be sure to have absolute directory names. 1322 case $ac_val in 1323 [\\/$]* | ?:[\\/]* ) continue;; 1324 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1325 esac 1326 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1327done 1328 1329# There might be people who depend on the old broken behavior: `$host' 1330# used to hold the argument of --host etc. 1331# FIXME: To remove some day. 1332build=$build_alias 1333host=$host_alias 1334target=$target_alias 1335 1336# FIXME: To remove some day. 1337if test "x$host_alias" != x; then 1338 if test "x$build_alias" = x; then 1339 cross_compiling=maybe 1340 elif test "x$build_alias" != "x$host_alias"; then 1341 cross_compiling=yes 1342 fi 1343fi 1344 1345ac_tool_prefix= 1346test -n "$host_alias" && ac_tool_prefix=$host_alias- 1347 1348test "$silent" = yes && exec 6>/dev/null 1349 1350 1351ac_pwd=`pwd` && test -n "$ac_pwd" && 1352ac_ls_di=`ls -di .` && 1353ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1354 as_fn_error $? "working directory cannot be determined" 1355test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1356 as_fn_error $? "pwd does not report name of working directory" 1357 1358 1359# Find the source files, if location was not specified. 1360if test -z "$srcdir"; then 1361 ac_srcdir_defaulted=yes 1362 # Try the directory containing this script, then the parent directory. 1363 ac_confdir=`$as_dirname -- "$as_myself" || 1364$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1365 X"$as_myself" : 'X\(//\)[^/]' \| \ 1366 X"$as_myself" : 'X\(//\)$' \| \ 1367 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1368$as_echo X"$as_myself" | 1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1370 s//\1/ 1371 q 1372 } 1373 /^X\(\/\/\)[^/].*/{ 1374 s//\1/ 1375 q 1376 } 1377 /^X\(\/\/\)$/{ 1378 s//\1/ 1379 q 1380 } 1381 /^X\(\/\).*/{ 1382 s//\1/ 1383 q 1384 } 1385 s/.*/./; q'` 1386 srcdir=$ac_confdir 1387 if test ! -r "$srcdir/$ac_unique_file"; then 1388 srcdir=.. 1389 fi 1390else 1391 ac_srcdir_defaulted=no 1392fi 1393if test ! -r "$srcdir/$ac_unique_file"; then 1394 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1395 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1396fi 1397ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1398ac_abs_confdir=`( 1399 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1400 pwd)` 1401# When building in place, set srcdir=. 1402if test "$ac_abs_confdir" = "$ac_pwd"; then 1403 srcdir=. 1404fi 1405# Remove unnecessary trailing slashes from srcdir. 1406# Double slashes in file names in object file debugging info 1407# mess up M-x gdb in Emacs. 1408case $srcdir in 1409*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1410esac 1411for ac_var in $ac_precious_vars; do 1412 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1413 eval ac_env_${ac_var}_value=\$${ac_var} 1414 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1415 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1416done 1417 1418# 1419# Report the --help message. 1420# 1421if test "$ac_init_help" = "long"; then 1422 # Omit some internal or obsolete options to make the list less imposing. 1423 # This message is too long to be a string in the A/UX 3.1 sh. 1424 cat <<_ACEOF 1425\`configure' configures mate-notification-daemon 1.26.0 to adapt to many kinds of systems. 1426 1427Usage: $0 [OPTION]... [VAR=VALUE]... 1428 1429To assign environment variables (e.g., CC, CFLAGS...), specify them as 1430VAR=VALUE. See below for descriptions of some of the useful variables. 1431 1432Defaults for the options are specified in brackets. 1433 1434Configuration: 1435 -h, --help display this help and exit 1436 --help=short display options specific to this package 1437 --help=recursive display the short help of all the included packages 1438 -V, --version display version information and exit 1439 -q, --quiet, --silent do not print \`checking ...' messages 1440 --cache-file=FILE cache test results in FILE [disabled] 1441 -C, --config-cache alias for \`--cache-file=config.cache' 1442 -n, --no-create do not create output files 1443 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1444 1445Installation directories: 1446 --prefix=PREFIX install architecture-independent files in PREFIX 1447 [$ac_default_prefix] 1448 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1449 [PREFIX] 1450 1451By default, \`make install' will install all the files in 1452\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1453an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1454for instance \`--prefix=\$HOME'. 1455 1456For better control, use the options below. 1457 1458Fine tuning of the installation directories: 1459 --bindir=DIR user executables [EPREFIX/bin] 1460 --sbindir=DIR system admin executables [EPREFIX/sbin] 1461 --libexecdir=DIR program executables [EPREFIX/libexec] 1462 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1463 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1464 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1465 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1466 --libdir=DIR object code libraries [EPREFIX/lib] 1467 --includedir=DIR C header files [PREFIX/include] 1468 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1469 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1470 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1471 --infodir=DIR info documentation [DATAROOTDIR/info] 1472 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1473 --mandir=DIR man documentation [DATAROOTDIR/man] 1474 --docdir=DIR documentation root 1475 [DATAROOTDIR/doc/mate-notification-daemon] 1476 --htmldir=DIR html documentation [DOCDIR] 1477 --dvidir=DIR dvi documentation [DOCDIR] 1478 --pdfdir=DIR pdf documentation [DOCDIR] 1479 --psdir=DIR ps documentation [DOCDIR] 1480_ACEOF 1481 1482 cat <<\_ACEOF 1483 1484Program names: 1485 --program-prefix=PREFIX prepend PREFIX to installed program names 1486 --program-suffix=SUFFIX append SUFFIX to installed program names 1487 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1488 1489System types: 1490 --build=BUILD configure for building on BUILD [guessed] 1491 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1492_ACEOF 1493fi 1494 1495if test -n "$ac_init_help"; then 1496 case $ac_init_help in 1497 short | recursive ) echo "Configuration of mate-notification-daemon 1.26.0:";; 1498 esac 1499 cat <<\_ACEOF 1500 1501Optional Features: 1502 --disable-option-checking ignore unrecognized --enable/--with options 1503 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1504 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1505 --enable-silent-rules less verbose build output (undo: "make V=1") 1506 --disable-silent-rules verbose build output (undo: "make V=0") 1507 --enable-maintainer-mode 1508 enable make rules and dependencies not useful (and 1509 sometimes confusing) to the casual installer 1510 --enable-dependency-tracking 1511 do not reject slow dependency extractors 1512 --disable-dependency-tracking 1513 speeds up one-time build 1514 --enable-compile-warnings=[no/minimum/yes/maximum/error] 1515 Turn on compiler warnings 1516 --enable-shared[=PKGS] build shared libraries [default=yes] 1517 --enable-static[=PKGS] build static libraries [default=yes] 1518 --enable-fast-install[=PKGS] 1519 optimize for fast installation [default=yes] 1520 --disable-libtool-lock avoid locking (might break parallel builds) 1521 --disable-nls do not use Native Language Support 1522 --disable-rpath do not hardcode runtime library paths 1523 --enable-x11 Explicitly enable or disable X11 support (default is 1524 to enable only if X development libraries are 1525 detected) 1526 --enable-wayland Explicitly enable or disable Wayland support 1527 (default is to enable only if Wayland client 1528 development library is detected) 1529 --disable-schemas-compile 1530 Disable regeneration of gschemas.compiled on install 1531 --disable-icon-update Disable icon cache update 1532 1533Optional Packages: 1534 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1535 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1536 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1537 both] 1538 --with-aix-soname=aix|svr4|both 1539 shared library versioning (aka "SONAME") variant to 1540 provide on AIX, [default=aix]. 1541 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1542 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1543 compiler's sysroot if not specified). 1544 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1545 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1546 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1547 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1548 --without-libintl-prefix don't search for libintl in includedir and libdir 1549 --with-dbus-sys=<dir> where D-BUS system.d directory is 1550 --with-dbus-services=<dir> where D-BUS services directory is 1551 1552Some influential environment variables: 1553 CC C compiler command 1554 CFLAGS C compiler flags 1555 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1556 nonstandard directory <lib dir> 1557 LIBS libraries to pass to the linker, e.g. -l<library> 1558 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1559 you have headers in a nonstandard directory <include dir> 1560 CPP C preprocessor 1561 LT_SYS_LIBRARY_PATH 1562 User-defined run-time library search path. 1563 GLIB_COMPILE_RESOURCES 1564 glib-compile-resources bin 1565 XMLLINT xmllint bin 1566 PKG_CONFIG path to pkg-config utility 1567 PKG_CONFIG_PATH 1568 directories to add to pkg-config's search path 1569 PKG_CONFIG_LIBDIR 1570 path overriding pkg-config's built-in search path 1571 THEME_CFLAGS 1572 C compiler flags for THEME, overriding pkg-config 1573 THEME_LIBS linker flags for THEME, overriding pkg-config 1574 GMODULE_CFLAGS 1575 C compiler flags for GMODULE, overriding pkg-config 1576 GMODULE_LIBS 1577 linker flags for GMODULE, overriding pkg-config 1578 NOTIFICATION_DAEMON_CFLAGS 1579 C compiler flags for NOTIFICATION_DAEMON, overriding pkg-config 1580 NOTIFICATION_DAEMON_LIBS 1581 linker flags for NOTIFICATION_DAEMON, overriding pkg-config 1582 NOTIFICATION_APPLET_CFLAGS 1583 C compiler flags for NOTIFICATION_APPLET, overriding pkg-config 1584 NOTIFICATION_APPLET_LIBS 1585 linker flags for NOTIFICATION_APPLET, overriding pkg-config 1586 NOTIFICATION_DAEMON_WAYLAND_CFLAGS 1587 C compiler flags for NOTIFICATION_DAEMON_WAYLAND, overriding 1588 pkg-config 1589 NOTIFICATION_DAEMON_WAYLAND_LIBS 1590 linker flags for NOTIFICATION_DAEMON_WAYLAND, overriding 1591 pkg-config 1592 NOTIFICATION_DAEMON_X11_CFLAGS 1593 C compiler flags for NOTIFICATION_DAEMON_X11, overriding 1594 pkg-config 1595 NOTIFICATION_DAEMON_X11_LIBS 1596 linker flags for NOTIFICATION_DAEMON_X11, overriding pkg-config 1597 NOTIFICATION_CAPPLET_CFLAGS 1598 C compiler flags for NOTIFICATION_CAPPLET, overriding pkg-config 1599 NOTIFICATION_CAPPLET_LIBS 1600 linker flags for NOTIFICATION_CAPPLET, overriding pkg-config 1601 GDK_CFLAGS C compiler flags for GDK, overriding pkg-config 1602 GDK_LIBS linker flags for GDK, overriding pkg-config 1603 GLIB_COMPILE_SCHEMAS 1604 value of glib_compile_schemas for gio-2.0, overriding pkg-config 1605 1606Use these variables to override the choices made by `configure' or to help 1607it to find libraries and programs with nonstandard names/locations. 1608 1609Report bugs to <https://mate-desktop.org>. 1610_ACEOF 1611ac_status=$? 1612fi 1613 1614if test "$ac_init_help" = "recursive"; then 1615 # If there are subdirs, report their specific --help. 1616 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1617 test -d "$ac_dir" || 1618 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1619 continue 1620 ac_builddir=. 1621 1622case "$ac_dir" in 1623.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1624*) 1625 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1626 # A ".." for each directory in $ac_dir_suffix. 1627 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1628 case $ac_top_builddir_sub in 1629 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1630 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1631 esac ;; 1632esac 1633ac_abs_top_builddir=$ac_pwd 1634ac_abs_builddir=$ac_pwd$ac_dir_suffix 1635# for backward compatibility: 1636ac_top_builddir=$ac_top_build_prefix 1637 1638case $srcdir in 1639 .) # We are building in place. 1640 ac_srcdir=. 1641 ac_top_srcdir=$ac_top_builddir_sub 1642 ac_abs_top_srcdir=$ac_pwd ;; 1643 [\\/]* | ?:[\\/]* ) # Absolute name. 1644 ac_srcdir=$srcdir$ac_dir_suffix; 1645 ac_top_srcdir=$srcdir 1646 ac_abs_top_srcdir=$srcdir ;; 1647 *) # Relative name. 1648 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1649 ac_top_srcdir=$ac_top_build_prefix$srcdir 1650 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1651esac 1652ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1653 1654 cd "$ac_dir" || { ac_status=$?; continue; } 1655 # Check for guested configure. 1656 if test -f "$ac_srcdir/configure.gnu"; then 1657 echo && 1658 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1659 elif test -f "$ac_srcdir/configure"; then 1660 echo && 1661 $SHELL "$ac_srcdir/configure" --help=recursive 1662 else 1663 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1664 fi || ac_status=$? 1665 cd "$ac_pwd" || { ac_status=$?; break; } 1666 done 1667fi 1668 1669test -n "$ac_init_help" && exit $ac_status 1670if $ac_init_version; then 1671 cat <<\_ACEOF 1672mate-notification-daemon configure 1.26.0 1673generated by GNU Autoconf 2.69 1674 1675Copyright (C) 2012 Free Software Foundation, Inc. 1676This configure script is free software; the Free Software Foundation 1677gives unlimited permission to copy, distribute and modify it. 1678_ACEOF 1679 exit 1680fi 1681 1682## ------------------------ ## 1683## Autoconf initialization. ## 1684## ------------------------ ## 1685 1686# ac_fn_c_try_compile LINENO 1687# -------------------------- 1688# Try to compile conftest.$ac_ext, and return whether this succeeded. 1689ac_fn_c_try_compile () 1690{ 1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1692 rm -f conftest.$ac_objext 1693 if { { ac_try="$ac_compile" 1694case "(($ac_try" in 1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1696 *) ac_try_echo=$ac_try;; 1697esac 1698eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1699$as_echo "$ac_try_echo"; } >&5 1700 (eval "$ac_compile") 2>conftest.err 1701 ac_status=$? 1702 if test -s conftest.err; then 1703 grep -v '^ *+' conftest.err >conftest.er1 1704 cat conftest.er1 >&5 1705 mv -f conftest.er1 conftest.err 1706 fi 1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1708 test $ac_status = 0; } && { 1709 test -z "$ac_c_werror_flag" || 1710 test ! -s conftest.err 1711 } && test -s conftest.$ac_objext; then : 1712 ac_retval=0 1713else 1714 $as_echo "$as_me: failed program was:" >&5 1715sed 's/^/| /' conftest.$ac_ext >&5 1716 1717 ac_retval=1 1718fi 1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1720 as_fn_set_status $ac_retval 1721 1722} # ac_fn_c_try_compile 1723 1724# ac_fn_c_try_cpp LINENO 1725# ---------------------- 1726# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1727ac_fn_c_try_cpp () 1728{ 1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1730 if { { ac_try="$ac_cpp conftest.$ac_ext" 1731case "(($ac_try" in 1732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1733 *) ac_try_echo=$ac_try;; 1734esac 1735eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1736$as_echo "$ac_try_echo"; } >&5 1737 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1738 ac_status=$? 1739 if test -s conftest.err; then 1740 grep -v '^ *+' conftest.err >conftest.er1 1741 cat conftest.er1 >&5 1742 mv -f conftest.er1 conftest.err 1743 fi 1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1745 test $ac_status = 0; } > conftest.i && { 1746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1747 test ! -s conftest.err 1748 }; then : 1749 ac_retval=0 1750else 1751 $as_echo "$as_me: failed program was:" >&5 1752sed 's/^/| /' conftest.$ac_ext >&5 1753 1754 ac_retval=1 1755fi 1756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1757 as_fn_set_status $ac_retval 1758 1759} # ac_fn_c_try_cpp 1760 1761# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1762# ------------------------------------------- 1763# Tests whether TYPE exists after having included INCLUDES, setting cache 1764# variable VAR accordingly. 1765ac_fn_c_check_type () 1766{ 1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1769$as_echo_n "checking for $2... " >&6; } 1770if eval \${$3+:} false; then : 1771 $as_echo_n "(cached) " >&6 1772else 1773 eval "$3=no" 1774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1775/* end confdefs.h. */ 1776$4 1777int 1778main () 1779{ 1780if (sizeof ($2)) 1781 return 0; 1782 ; 1783 return 0; 1784} 1785_ACEOF 1786if ac_fn_c_try_compile "$LINENO"; then : 1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1788/* end confdefs.h. */ 1789$4 1790int 1791main () 1792{ 1793if (sizeof (($2))) 1794 return 0; 1795 ; 1796 return 0; 1797} 1798_ACEOF 1799if ac_fn_c_try_compile "$LINENO"; then : 1800 1801else 1802 eval "$3=yes" 1803fi 1804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1805fi 1806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1807fi 1808eval ac_res=\$$3 1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1810$as_echo "$ac_res" >&6; } 1811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1812 1813} # ac_fn_c_check_type 1814 1815# ac_fn_c_try_run LINENO 1816# ---------------------- 1817# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1818# that executables *can* be run. 1819ac_fn_c_try_run () 1820{ 1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1822 if { { ac_try="$ac_link" 1823case "(($ac_try" in 1824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1825 *) ac_try_echo=$ac_try;; 1826esac 1827eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1828$as_echo "$ac_try_echo"; } >&5 1829 (eval "$ac_link") 2>&5 1830 ac_status=$? 1831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1832 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1833 { { case "(($ac_try" in 1834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1835 *) ac_try_echo=$ac_try;; 1836esac 1837eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1838$as_echo "$ac_try_echo"; } >&5 1839 (eval "$ac_try") 2>&5 1840 ac_status=$? 1841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1842 test $ac_status = 0; }; }; then : 1843 ac_retval=0 1844else 1845 $as_echo "$as_me: program exited with status $ac_status" >&5 1846 $as_echo "$as_me: failed program was:" >&5 1847sed 's/^/| /' conftest.$ac_ext >&5 1848 1849 ac_retval=$ac_status 1850fi 1851 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1853 as_fn_set_status $ac_retval 1854 1855} # ac_fn_c_try_run 1856 1857# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1858# ------------------------------------------------------- 1859# Tests whether HEADER exists and can be compiled using the include files in 1860# INCLUDES, setting the cache variable VAR accordingly. 1861ac_fn_c_check_header_compile () 1862{ 1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1865$as_echo_n "checking for $2... " >&6; } 1866if eval \${$3+:} false; then : 1867 $as_echo_n "(cached) " >&6 1868else 1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1870/* end confdefs.h. */ 1871$4 1872#include <$2> 1873_ACEOF 1874if ac_fn_c_try_compile "$LINENO"; then : 1875 eval "$3=yes" 1876else 1877 eval "$3=no" 1878fi 1879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1880fi 1881eval ac_res=\$$3 1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1883$as_echo "$ac_res" >&6; } 1884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1885 1886} # ac_fn_c_check_header_compile 1887 1888# ac_fn_c_try_link LINENO 1889# ----------------------- 1890# Try to link conftest.$ac_ext, and return whether this succeeded. 1891ac_fn_c_try_link () 1892{ 1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1894 rm -f conftest.$ac_objext conftest$ac_exeext 1895 if { { ac_try="$ac_link" 1896case "(($ac_try" in 1897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1898 *) ac_try_echo=$ac_try;; 1899esac 1900eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1901$as_echo "$ac_try_echo"; } >&5 1902 (eval "$ac_link") 2>conftest.err 1903 ac_status=$? 1904 if test -s conftest.err; then 1905 grep -v '^ *+' conftest.err >conftest.er1 1906 cat conftest.er1 >&5 1907 mv -f conftest.er1 conftest.err 1908 fi 1909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1910 test $ac_status = 0; } && { 1911 test -z "$ac_c_werror_flag" || 1912 test ! -s conftest.err 1913 } && test -s conftest$ac_exeext && { 1914 test "$cross_compiling" = yes || 1915 test -x conftest$ac_exeext 1916 }; then : 1917 ac_retval=0 1918else 1919 $as_echo "$as_me: failed program was:" >&5 1920sed 's/^/| /' conftest.$ac_ext >&5 1921 1922 ac_retval=1 1923fi 1924 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1925 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1926 # interfere with the next link command; also delete a directory that is 1927 # left behind by Apple's compiler. We do this before executing the actions. 1928 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1930 as_fn_set_status $ac_retval 1931 1932} # ac_fn_c_try_link 1933 1934# ac_fn_c_check_func LINENO FUNC VAR 1935# ---------------------------------- 1936# Tests whether FUNC exists, setting the cache variable VAR accordingly 1937ac_fn_c_check_func () 1938{ 1939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1941$as_echo_n "checking for $2... " >&6; } 1942if eval \${$3+:} false; then : 1943 $as_echo_n "(cached) " >&6 1944else 1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1946/* end confdefs.h. */ 1947/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1948 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1949#define $2 innocuous_$2 1950 1951/* System header to define __stub macros and hopefully few prototypes, 1952 which can conflict with char $2 (); below. 1953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1954 <limits.h> exists even on freestanding compilers. */ 1955 1956#ifdef __STDC__ 1957# include <limits.h> 1958#else 1959# include <assert.h> 1960#endif 1961 1962#undef $2 1963 1964/* Override any GCC internal prototype to avoid an error. 1965 Use char because int might match the return type of a GCC 1966 builtin and then its argument prototype would still apply. */ 1967#ifdef __cplusplus 1968extern "C" 1969#endif 1970char $2 (); 1971/* The GNU C library defines this for functions which it implements 1972 to always fail with ENOSYS. Some functions are actually named 1973 something starting with __ and the normal name is an alias. */ 1974#if defined __stub_$2 || defined __stub___$2 1975choke me 1976#endif 1977 1978int 1979main () 1980{ 1981return $2 (); 1982 ; 1983 return 0; 1984} 1985_ACEOF 1986if ac_fn_c_try_link "$LINENO"; then : 1987 eval "$3=yes" 1988else 1989 eval "$3=no" 1990fi 1991rm -f core conftest.err conftest.$ac_objext \ 1992 conftest$ac_exeext conftest.$ac_ext 1993fi 1994eval ac_res=\$$3 1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1996$as_echo "$ac_res" >&6; } 1997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1998 1999} # ac_fn_c_check_func 2000cat >config.log <<_ACEOF 2001This file contains any messages produced by compilers while 2002running configure, to aid debugging if configure makes a mistake. 2003 2004It was created by mate-notification-daemon $as_me 1.26.0, which was 2005generated by GNU Autoconf 2.69. Invocation command line was 2006 2007 $ $0 $@ 2008 2009_ACEOF 2010exec 5>>config.log 2011{ 2012cat <<_ASUNAME 2013## --------- ## 2014## Platform. ## 2015## --------- ## 2016 2017hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2018uname -m = `(uname -m) 2>/dev/null || echo unknown` 2019uname -r = `(uname -r) 2>/dev/null || echo unknown` 2020uname -s = `(uname -s) 2>/dev/null || echo unknown` 2021uname -v = `(uname -v) 2>/dev/null || echo unknown` 2022 2023/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2024/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2025 2026/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2027/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2028/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2029/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2030/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2031/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2032/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2033 2034_ASUNAME 2035 2036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2037for as_dir in $PATH 2038do 2039 IFS=$as_save_IFS 2040 test -z "$as_dir" && as_dir=. 2041 $as_echo "PATH: $as_dir" 2042 done 2043IFS=$as_save_IFS 2044 2045} >&5 2046 2047cat >&5 <<_ACEOF 2048 2049 2050## ----------- ## 2051## Core tests. ## 2052## ----------- ## 2053 2054_ACEOF 2055 2056 2057# Keep a trace of the command line. 2058# Strip out --no-create and --no-recursion so they do not pile up. 2059# Strip out --silent because we don't want to record it for future runs. 2060# Also quote any args containing shell meta-characters. 2061# Make two passes to allow for proper duplicate-argument suppression. 2062ac_configure_args= 2063ac_configure_args0= 2064ac_configure_args1= 2065ac_must_keep_next=false 2066for ac_pass in 1 2 2067do 2068 for ac_arg 2069 do 2070 case $ac_arg in 2071 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2073 | -silent | --silent | --silen | --sile | --sil) 2074 continue ;; 2075 *\'*) 2076 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2077 esac 2078 case $ac_pass in 2079 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2080 2) 2081 as_fn_append ac_configure_args1 " '$ac_arg'" 2082 if test $ac_must_keep_next = true; then 2083 ac_must_keep_next=false # Got value, back to normal. 2084 else 2085 case $ac_arg in 2086 *=* | --config-cache | -C | -disable-* | --disable-* \ 2087 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2088 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2089 | -with-* | --with-* | -without-* | --without-* | --x) 2090 case "$ac_configure_args0 " in 2091 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2092 esac 2093 ;; 2094 -* ) ac_must_keep_next=true ;; 2095 esac 2096 fi 2097 as_fn_append ac_configure_args " '$ac_arg'" 2098 ;; 2099 esac 2100 done 2101done 2102{ ac_configure_args0=; unset ac_configure_args0;} 2103{ ac_configure_args1=; unset ac_configure_args1;} 2104 2105# When interrupted or exit'd, cleanup temporary files, and complete 2106# config.log. We remove comments because anyway the quotes in there 2107# would cause problems or look ugly. 2108# WARNING: Use '\'' to represent an apostrophe within the trap. 2109# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2110trap 'exit_status=$? 2111 # Save into config.log some information that might help in debugging. 2112 { 2113 echo 2114 2115 $as_echo "## ---------------- ## 2116## Cache variables. ## 2117## ---------------- ##" 2118 echo 2119 # The following way of writing the cache mishandles newlines in values, 2120( 2121 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2122 eval ac_val=\$$ac_var 2123 case $ac_val in #( 2124 *${as_nl}*) 2125 case $ac_var in #( 2126 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2127$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2128 esac 2129 case $ac_var in #( 2130 _ | IFS | as_nl) ;; #( 2131 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2132 *) { eval $ac_var=; unset $ac_var;} ;; 2133 esac ;; 2134 esac 2135 done 2136 (set) 2>&1 | 2137 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2138 *${as_nl}ac_space=\ *) 2139 sed -n \ 2140 "s/'\''/'\''\\\\'\'''\''/g; 2141 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2142 ;; #( 2143 *) 2144 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2145 ;; 2146 esac | 2147 sort 2148) 2149 echo 2150 2151 $as_echo "## ----------------- ## 2152## Output variables. ## 2153## ----------------- ##" 2154 echo 2155 for ac_var in $ac_subst_vars 2156 do 2157 eval ac_val=\$$ac_var 2158 case $ac_val in 2159 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2160 esac 2161 $as_echo "$ac_var='\''$ac_val'\''" 2162 done | sort 2163 echo 2164 2165 if test -n "$ac_subst_files"; then 2166 $as_echo "## ------------------- ## 2167## File substitutions. ## 2168## ------------------- ##" 2169 echo 2170 for ac_var in $ac_subst_files 2171 do 2172 eval ac_val=\$$ac_var 2173 case $ac_val in 2174 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2175 esac 2176 $as_echo "$ac_var='\''$ac_val'\''" 2177 done | sort 2178 echo 2179 fi 2180 2181 if test -s confdefs.h; then 2182 $as_echo "## ----------- ## 2183## confdefs.h. ## 2184## ----------- ##" 2185 echo 2186 cat confdefs.h 2187 echo 2188 fi 2189 test "$ac_signal" != 0 && 2190 $as_echo "$as_me: caught signal $ac_signal" 2191 $as_echo "$as_me: exit $exit_status" 2192 } >&5 2193 rm -f core *.core core.conftest.* && 2194 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2195 exit $exit_status 2196' 0 2197for ac_signal in 1 2 13 15; do 2198 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2199done 2200ac_signal=0 2201 2202# confdefs.h avoids OS command line length limits that DEFS can exceed. 2203rm -f -r conftest* confdefs.h 2204 2205$as_echo "/* confdefs.h */" > confdefs.h 2206 2207# Predefined preprocessor variables. 2208 2209cat >>confdefs.h <<_ACEOF 2210#define PACKAGE_NAME "$PACKAGE_NAME" 2211_ACEOF 2212 2213cat >>confdefs.h <<_ACEOF 2214#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2215_ACEOF 2216 2217cat >>confdefs.h <<_ACEOF 2218#define PACKAGE_VERSION "$PACKAGE_VERSION" 2219_ACEOF 2220 2221cat >>confdefs.h <<_ACEOF 2222#define PACKAGE_STRING "$PACKAGE_STRING" 2223_ACEOF 2224 2225cat >>confdefs.h <<_ACEOF 2226#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2227_ACEOF 2228 2229cat >>confdefs.h <<_ACEOF 2230#define PACKAGE_URL "$PACKAGE_URL" 2231_ACEOF 2232 2233 2234# Let the site file select an alternate cache file if it wants to. 2235# Prefer an explicitly selected file to automatically selected ones. 2236ac_site_file1=NONE 2237ac_site_file2=NONE 2238if test -n "$CONFIG_SITE"; then 2239 # We do not want a PATH search for config.site. 2240 case $CONFIG_SITE in #(( 2241 -*) ac_site_file1=./$CONFIG_SITE;; 2242 */*) ac_site_file1=$CONFIG_SITE;; 2243 *) ac_site_file1=./$CONFIG_SITE;; 2244 esac 2245elif test "x$prefix" != xNONE; then 2246 ac_site_file1=$prefix/share/config.site 2247 ac_site_file2=$prefix/etc/config.site 2248else 2249 ac_site_file1=$ac_default_prefix/share/config.site 2250 ac_site_file2=$ac_default_prefix/etc/config.site 2251fi 2252for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2253do 2254 test "x$ac_site_file" = xNONE && continue 2255 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2256 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2257$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2258 sed 's/^/| /' "$ac_site_file" >&5 2259 . "$ac_site_file" \ 2260 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2261$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2262as_fn_error $? "failed to load site script $ac_site_file 2263See \`config.log' for more details" "$LINENO" 5; } 2264 fi 2265done 2266 2267if test -r "$cache_file"; then 2268 # Some versions of bash will fail to source /dev/null (special files 2269 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2270 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2271 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2272$as_echo "$as_me: loading cache $cache_file" >&6;} 2273 case $cache_file in 2274 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2275 *) . "./$cache_file";; 2276 esac 2277 fi 2278else 2279 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2280$as_echo "$as_me: creating cache $cache_file" >&6;} 2281 >$cache_file 2282fi 2283 2284gt_needs="$gt_needs " 2285# Check that the precious variables saved in the cache have kept the same 2286# value. 2287ac_cache_corrupted=false 2288for ac_var in $ac_precious_vars; do 2289 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2290 eval ac_new_set=\$ac_env_${ac_var}_set 2291 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2292 eval ac_new_val=\$ac_env_${ac_var}_value 2293 case $ac_old_set,$ac_new_set in 2294 set,) 2295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2296$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2297 ac_cache_corrupted=: ;; 2298 ,set) 2299 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2300$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2301 ac_cache_corrupted=: ;; 2302 ,);; 2303 *) 2304 if test "x$ac_old_val" != "x$ac_new_val"; then 2305 # differences in whitespace do not lead to failure. 2306 ac_old_val_w=`echo x $ac_old_val` 2307 ac_new_val_w=`echo x $ac_new_val` 2308 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2309 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2310$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2311 ac_cache_corrupted=: 2312 else 2313 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2314$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2315 eval $ac_var=\$ac_old_val 2316 fi 2317 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2318$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2319 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2320$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2321 fi;; 2322 esac 2323 # Pass precious variables to config.status. 2324 if test "$ac_new_set" = set; then 2325 case $ac_new_val in 2326 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2327 *) ac_arg=$ac_var=$ac_new_val ;; 2328 esac 2329 case " $ac_configure_args " in 2330 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2331 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2332 esac 2333 fi 2334done 2335if $ac_cache_corrupted; then 2336 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2337$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2338 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2339$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2340 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2341fi 2342## -------------------- ## 2343## Main body of script. ## 2344## -------------------- ## 2345 2346ac_ext=c 2347ac_cpp='$CPP $CPPFLAGS' 2348ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2349ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2350ac_compiler_gnu=$ac_cv_c_compiler_gnu 2351 2352 2353 2354 2355ac_config_headers="$ac_config_headers config.h" 2356 2357 2358 2359 2360NOTIFICATION_DAEMON_MAJOR_VERSION=1 2361NOTIFICATION_DAEMON_MINOR_VERSION=3 2362NOTIFICATION_DAEMON_MICRO_VERSION=0 2363NOTIFICATION_DAEMON_DEVEL_VERSION=0 2364 2365NOTIFICATION_DAEMON_VERSION=$NOTIFICATION_DAEMON_MAJOR_VERSION.$NOTIFICATION_DAEMON_MINOR_VERSION.$NOTIFICATION_DAEMON_MICRO_VERSION 2366 2367if test "x$NOTIFICATION_DAEMON_DEVEL_VERSION" != "x0"; then 2368 if test "x$NOTIFICATION_DAEMON_MICRO_VERSION" = "x0"; then 2369 NOTIFICATION_DAEMON_MICRO_VERSION=$NOTIFICATION_DAEMON_DEVEL_VERSION 2370 NOTIFICATION_DAEMON_VERSION=$NOTIFICATION_DAEMON_MAJOR_VERSION.$NOTIFICATION_DAEMON_MINOR_VERSION.$NOTIFICATION_DAEMON_DEVEL_VERSION 2371 else 2372 NOTIFICATION_DAEMON_VERSION=$NOTIFICATION_DAEMON_VERSION.$NOTIFICATION_DAEMON_DEVEL_VERSION 2373 fi 2374fi 2375 2376 2377cat >>confdefs.h <<_ACEOF 2378#define NOTIFICATION_DAEMON_MAJOR_VERSION $NOTIFICATION_DAEMON_MAJOR_VERSION 2379_ACEOF 2380 2381 2382cat >>confdefs.h <<_ACEOF 2383#define NOTIFICATION_DAEMON_MINOR_VERSION $NOTIFICATION_DAEMON_MINOR_VERSION 2384_ACEOF 2385 2386 2387cat >>confdefs.h <<_ACEOF 2388#define NOTIFICATION_DAEMON_MICRO_VERSION $NOTIFICATION_DAEMON_MICRO_VERSION 2389_ACEOF 2390 2391 2392cat >>confdefs.h <<_ACEOF 2393#define NOTIFICATION_DAEMON_VERSION "$NOTIFICATION_DAEMON_VERSION" 2394_ACEOF 2395 2396 2397am__api_version='1.16' 2398 2399ac_aux_dir= 2400for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2401 if test -f "$ac_dir/install-sh"; then 2402 ac_aux_dir=$ac_dir 2403 ac_install_sh="$ac_aux_dir/install-sh -c" 2404 break 2405 elif test -f "$ac_dir/install.sh"; then 2406 ac_aux_dir=$ac_dir 2407 ac_install_sh="$ac_aux_dir/install.sh -c" 2408 break 2409 elif test -f "$ac_dir/shtool"; then 2410 ac_aux_dir=$ac_dir 2411 ac_install_sh="$ac_aux_dir/shtool install -c" 2412 break 2413 fi 2414done 2415if test -z "$ac_aux_dir"; then 2416 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2417fi 2418 2419# These three variables are undocumented and unsupported, 2420# and are intended to be withdrawn in a future Autoconf release. 2421# They can cause serious problems if a builder's source tree is in a directory 2422# whose full name contains unusual characters. 2423ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2424ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2425ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2426 2427 2428# Find a good install program. We prefer a C program (faster), 2429# so one script is as good as another. But avoid the broken or 2430# incompatible versions: 2431# SysV /etc/install, /usr/sbin/install 2432# SunOS /usr/etc/install 2433# IRIX /sbin/install 2434# AIX /bin/install 2435# AmigaOS /C/install, which installs bootblocks on floppy discs 2436# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2437# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2438# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2439# OS/2's system install, which has a completely different semantic 2440# ./install, which can be erroneously created by make from ./install.sh. 2441# Reject install programs that cannot install multiple files. 2442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2443$as_echo_n "checking for a BSD-compatible install... " >&6; } 2444if test -z "$INSTALL"; then 2445if ${ac_cv_path_install+:} false; then : 2446 $as_echo_n "(cached) " >&6 2447else 2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2449for as_dir in $PATH 2450do 2451 IFS=$as_save_IFS 2452 test -z "$as_dir" && as_dir=. 2453 # Account for people who put trailing slashes in PATH elements. 2454case $as_dir/ in #(( 2455 ./ | .// | /[cC]/* | \ 2456 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2457 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2458 /usr/ucb/* ) ;; 2459 *) 2460 # OSF1 and SCO ODT 3.0 have their own names for install. 2461 # Don't use installbsd from OSF since it installs stuff as root 2462 # by default. 2463 for ac_prog in ginstall scoinst install; do 2464 for ac_exec_ext in '' $ac_executable_extensions; do 2465 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2466 if test $ac_prog = install && 2467 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2468 # AIX install. It has an incompatible calling convention. 2469 : 2470 elif test $ac_prog = install && 2471 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2472 # program-specific install script used by HP pwplus--don't use. 2473 : 2474 else 2475 rm -rf conftest.one conftest.two conftest.dir 2476 echo one > conftest.one 2477 echo two > conftest.two 2478 mkdir conftest.dir 2479 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2480 test -s conftest.one && test -s conftest.two && 2481 test -s conftest.dir/conftest.one && 2482 test -s conftest.dir/conftest.two 2483 then 2484 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2485 break 3 2486 fi 2487 fi 2488 fi 2489 done 2490 done 2491 ;; 2492esac 2493 2494 done 2495IFS=$as_save_IFS 2496 2497rm -rf conftest.one conftest.two conftest.dir 2498 2499fi 2500 if test "${ac_cv_path_install+set}" = set; then 2501 INSTALL=$ac_cv_path_install 2502 else 2503 # As a last resort, use the slow shell script. Don't cache a 2504 # value for INSTALL within a source directory, because that will 2505 # break other packages using the cache if that directory is 2506 # removed, or if the value is a relative name. 2507 INSTALL=$ac_install_sh 2508 fi 2509fi 2510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2511$as_echo "$INSTALL" >&6; } 2512 2513# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2514# It thinks the first close brace ends the variable substitution. 2515test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2516 2517test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2518 2519test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2520 2521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2522$as_echo_n "checking whether build environment is sane... " >&6; } 2523# Reject unsafe characters in $srcdir or the absolute working directory 2524# name. Accept space and tab only in the latter. 2525am_lf=' 2526' 2527case `pwd` in 2528 *[\\\"\#\$\&\'\`$am_lf]*) 2529 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2530esac 2531case $srcdir in 2532 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2533 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2534esac 2535 2536# Do 'set' in a subshell so we don't clobber the current shell's 2537# arguments. Must try -L first in case configure is actually a 2538# symlink; some systems play weird games with the mod time of symlinks 2539# (eg FreeBSD returns the mod time of the symlink's containing 2540# directory). 2541if ( 2542 am_has_slept=no 2543 for am_try in 1 2; do 2544 echo "timestamp, slept: $am_has_slept" > conftest.file 2545 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2546 if test "$*" = "X"; then 2547 # -L didn't work. 2548 set X `ls -t "$srcdir/configure" conftest.file` 2549 fi 2550 if test "$*" != "X $srcdir/configure conftest.file" \ 2551 && test "$*" != "X conftest.file $srcdir/configure"; then 2552 2553 # If neither matched, then we have a broken ls. This can happen 2554 # if, for instance, CONFIG_SHELL is bash and it inherits a 2555 # broken ls alias from the environment. This has actually 2556 # happened. Such a system could not be considered "sane". 2557 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2558 alias in your environment" "$LINENO" 5 2559 fi 2560 if test "$2" = conftest.file || test $am_try -eq 2; then 2561 break 2562 fi 2563 # Just in case. 2564 sleep 1 2565 am_has_slept=yes 2566 done 2567 test "$2" = conftest.file 2568 ) 2569then 2570 # Ok. 2571 : 2572else 2573 as_fn_error $? "newly created file is older than distributed files! 2574Check your system clock" "$LINENO" 5 2575fi 2576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2577$as_echo "yes" >&6; } 2578# If we didn't sleep, we still need to ensure time stamps of config.status and 2579# generated files are strictly newer. 2580am_sleep_pid= 2581if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2582 ( sleep 1 ) & 2583 am_sleep_pid=$! 2584fi 2585 2586rm -f conftest.file 2587 2588test "$program_prefix" != NONE && 2589 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2590# Use a double $ so make ignores it. 2591test "$program_suffix" != NONE && 2592 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2593# Double any \ or $. 2594# By default was `s,x,x', remove it if useless. 2595ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2596program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2597 2598# Expand $ac_aux_dir to an absolute path. 2599am_aux_dir=`cd "$ac_aux_dir" && pwd` 2600 2601if test x"${MISSING+set}" != xset; then 2602 case $am_aux_dir in 2603 *\ * | *\ *) 2604 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2605 *) 2606 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2607 esac 2608fi 2609# Use eval to expand $SHELL 2610if eval "$MISSING --is-lightweight"; then 2611 am_missing_run="$MISSING " 2612else 2613 am_missing_run= 2614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2615$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2616fi 2617 2618if test x"${install_sh+set}" != xset; then 2619 case $am_aux_dir in 2620 *\ * | *\ *) 2621 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2622 *) 2623 install_sh="\${SHELL} $am_aux_dir/install-sh" 2624 esac 2625fi 2626 2627# Installed binaries are usually stripped using 'strip' when the user 2628# run "make install-strip". However 'strip' might not be the right 2629# tool to use in cross-compilation environments, therefore Automake 2630# will honor the 'STRIP' environment variable to overrule this program. 2631if test "$cross_compiling" != no; then 2632 if test -n "$ac_tool_prefix"; then 2633 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2634set dummy ${ac_tool_prefix}strip; ac_word=$2 2635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2636$as_echo_n "checking for $ac_word... " >&6; } 2637if ${ac_cv_prog_STRIP+:} false; then : 2638 $as_echo_n "(cached) " >&6 2639else 2640 if test -n "$STRIP"; then 2641 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2642else 2643as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2644for as_dir in $PATH 2645do 2646 IFS=$as_save_IFS 2647 test -z "$as_dir" && as_dir=. 2648 for ac_exec_ext in '' $ac_executable_extensions; do 2649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2650 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2652 break 2 2653 fi 2654done 2655 done 2656IFS=$as_save_IFS 2657 2658fi 2659fi 2660STRIP=$ac_cv_prog_STRIP 2661if test -n "$STRIP"; then 2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2663$as_echo "$STRIP" >&6; } 2664else 2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2666$as_echo "no" >&6; } 2667fi 2668 2669 2670fi 2671if test -z "$ac_cv_prog_STRIP"; then 2672 ac_ct_STRIP=$STRIP 2673 # Extract the first word of "strip", so it can be a program name with args. 2674set dummy strip; ac_word=$2 2675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2676$as_echo_n "checking for $ac_word... " >&6; } 2677if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2678 $as_echo_n "(cached) " >&6 2679else 2680 if test -n "$ac_ct_STRIP"; then 2681 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2682else 2683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2684for as_dir in $PATH 2685do 2686 IFS=$as_save_IFS 2687 test -z "$as_dir" && as_dir=. 2688 for ac_exec_ext in '' $ac_executable_extensions; do 2689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2690 ac_cv_prog_ac_ct_STRIP="strip" 2691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2692 break 2 2693 fi 2694done 2695 done 2696IFS=$as_save_IFS 2697 2698fi 2699fi 2700ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2701if test -n "$ac_ct_STRIP"; then 2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2703$as_echo "$ac_ct_STRIP" >&6; } 2704else 2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2706$as_echo "no" >&6; } 2707fi 2708 2709 if test "x$ac_ct_STRIP" = x; then 2710 STRIP=":" 2711 else 2712 case $cross_compiling:$ac_tool_warned in 2713yes:) 2714{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2715$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2716ac_tool_warned=yes ;; 2717esac 2718 STRIP=$ac_ct_STRIP 2719 fi 2720else 2721 STRIP="$ac_cv_prog_STRIP" 2722fi 2723 2724fi 2725INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2726 2727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2728$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2729if test -z "$MKDIR_P"; then 2730 if ${ac_cv_path_mkdir+:} false; then : 2731 $as_echo_n "(cached) " >&6 2732else 2733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2734for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2735do 2736 IFS=$as_save_IFS 2737 test -z "$as_dir" && as_dir=. 2738 for ac_prog in mkdir gmkdir; do 2739 for ac_exec_ext in '' $ac_executable_extensions; do 2740 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2741 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2742 'mkdir (GNU coreutils) '* | \ 2743 'mkdir (coreutils) '* | \ 2744 'mkdir (fileutils) '4.1*) 2745 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2746 break 3;; 2747 esac 2748 done 2749 done 2750 done 2751IFS=$as_save_IFS 2752 2753fi 2754 2755 test -d ./--version && rmdir ./--version 2756 if test "${ac_cv_path_mkdir+set}" = set; then 2757 MKDIR_P="$ac_cv_path_mkdir -p" 2758 else 2759 # As a last resort, use the slow shell script. Don't cache a 2760 # value for MKDIR_P within a source directory, because that will 2761 # break other packages using the cache if that directory is 2762 # removed, or if the value is a relative name. 2763 MKDIR_P="$ac_install_sh -d" 2764 fi 2765fi 2766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2767$as_echo "$MKDIR_P" >&6; } 2768 2769for ac_prog in gawk mawk nawk awk 2770do 2771 # Extract the first word of "$ac_prog", so it can be a program name with args. 2772set dummy $ac_prog; ac_word=$2 2773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2774$as_echo_n "checking for $ac_word... " >&6; } 2775if ${ac_cv_prog_AWK+:} false; then : 2776 $as_echo_n "(cached) " >&6 2777else 2778 if test -n "$AWK"; then 2779 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2780else 2781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2782for as_dir in $PATH 2783do 2784 IFS=$as_save_IFS 2785 test -z "$as_dir" && as_dir=. 2786 for ac_exec_ext in '' $ac_executable_extensions; do 2787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2788 ac_cv_prog_AWK="$ac_prog" 2789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2790 break 2 2791 fi 2792done 2793 done 2794IFS=$as_save_IFS 2795 2796fi 2797fi 2798AWK=$ac_cv_prog_AWK 2799if test -n "$AWK"; then 2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2801$as_echo "$AWK" >&6; } 2802else 2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2804$as_echo "no" >&6; } 2805fi 2806 2807 2808 test -n "$AWK" && break 2809done 2810 2811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2812$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2813set x ${MAKE-make} 2814ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2815if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2816 $as_echo_n "(cached) " >&6 2817else 2818 cat >conftest.make <<\_ACEOF 2819SHELL = /bin/sh 2820all: 2821 @echo '@@@%%%=$(MAKE)=@@@%%%' 2822_ACEOF 2823# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2824case `${MAKE-make} -f conftest.make 2>/dev/null` in 2825 *@@@%%%=?*=@@@%%%*) 2826 eval ac_cv_prog_make_${ac_make}_set=yes;; 2827 *) 2828 eval ac_cv_prog_make_${ac_make}_set=no;; 2829esac 2830rm -f conftest.make 2831fi 2832if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2834$as_echo "yes" >&6; } 2835 SET_MAKE= 2836else 2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2838$as_echo "no" >&6; } 2839 SET_MAKE="MAKE=${MAKE-make}" 2840fi 2841 2842rm -rf .tst 2>/dev/null 2843mkdir .tst 2>/dev/null 2844if test -d .tst; then 2845 am__leading_dot=. 2846else 2847 am__leading_dot=_ 2848fi 2849rmdir .tst 2>/dev/null 2850 2851# Check whether --enable-silent-rules was given. 2852if test "${enable_silent_rules+set}" = set; then : 2853 enableval=$enable_silent_rules; 2854fi 2855 2856case $enable_silent_rules in # ((( 2857 yes) AM_DEFAULT_VERBOSITY=0;; 2858 no) AM_DEFAULT_VERBOSITY=1;; 2859 *) AM_DEFAULT_VERBOSITY=1;; 2860esac 2861am_make=${MAKE-make} 2862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2863$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2864if ${am_cv_make_support_nested_variables+:} false; then : 2865 $as_echo_n "(cached) " >&6 2866else 2867 if $as_echo 'TRUE=$(BAR$(V)) 2868BAR0=false 2869BAR1=true 2870V=1 2871am__doit: 2872 @$(TRUE) 2873.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2874 am_cv_make_support_nested_variables=yes 2875else 2876 am_cv_make_support_nested_variables=no 2877fi 2878fi 2879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2880$as_echo "$am_cv_make_support_nested_variables" >&6; } 2881if test $am_cv_make_support_nested_variables = yes; then 2882 AM_V='$(V)' 2883 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2884else 2885 AM_V=$AM_DEFAULT_VERBOSITY 2886 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2887fi 2888AM_BACKSLASH='\' 2889 2890if test "`cd $srcdir && pwd`" != "`pwd`"; then 2891 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2892 # is not polluted with repeated "-I." 2893 am__isrc=' -I$(srcdir)' 2894 # test to see if srcdir already configured 2895 if test -f $srcdir/config.status; then 2896 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2897 fi 2898fi 2899 2900# test whether we have cygpath 2901if test -z "$CYGPATH_W"; then 2902 if (cygpath --version) >/dev/null 2>/dev/null; then 2903 CYGPATH_W='cygpath -w' 2904 else 2905 CYGPATH_W=echo 2906 fi 2907fi 2908 2909 2910# Define the identity of the package. 2911 PACKAGE='mate-notification-daemon' 2912 VERSION='1.26.0' 2913 2914 2915cat >>confdefs.h <<_ACEOF 2916#define PACKAGE "$PACKAGE" 2917_ACEOF 2918 2919 2920cat >>confdefs.h <<_ACEOF 2921#define VERSION "$VERSION" 2922_ACEOF 2923 2924# Some tools Automake needs. 2925 2926ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2927 2928 2929AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2930 2931 2932AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2933 2934 2935AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2936 2937 2938MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2939 2940# For better backward compatibility. To be removed once Automake 1.9.x 2941# dies out for good. For more background, see: 2942# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2943# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2944mkdir_p='$(MKDIR_P)' 2945 2946# We need awk for the "check" target (and possibly the TAP driver). The 2947# system "awk" is bad on some platforms. 2948# Always define AMTAR for backward compatibility. Yes, it's still used 2949# in the wild :-( We should find a proper way to deprecate it ... 2950AMTAR='$${TAR-tar}' 2951 2952 2953# We'll loop over all known methods to create a tar archive until one works. 2954_am_tools='gnutar pax cpio none' 2955 2956am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2957 2958 2959 2960 2961 2962 2963# POSIX will say in a future version that running "rm -f" with no argument 2964# is OK; and we want to be able to make that assumption in our Makefile 2965# recipes. So use an aggressive probe to check that the usage we want is 2966# actually supported "in the wild" to an acceptable degree. 2967# See automake bug#10828. 2968# To make any issue more visible, cause the running configure to be aborted 2969# by default if the 'rm' program in use doesn't match our expectations; the 2970# user can still override this though. 2971if rm -f && rm -fr && rm -rf; then : OK; else 2972 cat >&2 <<'END' 2973Oops! 2974 2975Your 'rm' program seems unable to run without file operands specified 2976on the command line, even when the '-f' option is present. This is contrary 2977to the behaviour of most rm programs out there, and not conforming with 2978the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2979 2980Please tell bug-automake@gnu.org about your system, including the value 2981of your $PATH and any error possibly output before this message. This 2982can help us improve future automake versions. 2983 2984END 2985 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2986 echo 'Configuration will proceed anyway, since you have set the' >&2 2987 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2988 echo >&2 2989 else 2990 cat >&2 <<'END' 2991Aborting the configuration process, to ensure you take notice of the issue. 2992 2993You can download and install GNU coreutils to get an 'rm' implementation 2994that behaves properly: <https://www.gnu.org/software/coreutils/>. 2995 2996If you want to complete the configuration process using your problematic 2997'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2998to "yes", and re-run configure. 2999 3000END 3001 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3002 fi 3003fi 3004 3005 3006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3007$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3008 # Check whether --enable-maintainer-mode was given. 3009if test "${enable_maintainer_mode+set}" = set; then : 3010 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3011else 3012 USE_MAINTAINER_MODE=no 3013fi 3014 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3016$as_echo "$USE_MAINTAINER_MODE" >&6; } 3017 if test $USE_MAINTAINER_MODE = yes; then 3018 MAINTAINER_MODE_TRUE= 3019 MAINTAINER_MODE_FALSE='#' 3020else 3021 MAINTAINER_MODE_TRUE='#' 3022 MAINTAINER_MODE_FALSE= 3023fi 3024 3025 MAINT=$MAINTAINER_MODE_TRUE 3026 3027 3028# Check whether --enable-silent-rules was given. 3029if test "${enable_silent_rules+set}" = set; then : 3030 enableval=$enable_silent_rules; 3031fi 3032 3033case $enable_silent_rules in # ((( 3034 yes) AM_DEFAULT_VERBOSITY=0;; 3035 no) AM_DEFAULT_VERBOSITY=1;; 3036 *) AM_DEFAULT_VERBOSITY=0;; 3037esac 3038am_make=${MAKE-make} 3039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3040$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3041if ${am_cv_make_support_nested_variables+:} false; then : 3042 $as_echo_n "(cached) " >&6 3043else 3044 if $as_echo 'TRUE=$(BAR$(V)) 3045BAR0=false 3046BAR1=true 3047V=1 3048am__doit: 3049 @$(TRUE) 3050.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3051 am_cv_make_support_nested_variables=yes 3052else 3053 am_cv_make_support_nested_variables=no 3054fi 3055fi 3056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3057$as_echo "$am_cv_make_support_nested_variables" >&6; } 3058if test $am_cv_make_support_nested_variables = yes; then 3059 AM_V='$(V)' 3060 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3061else 3062 AM_V=$AM_DEFAULT_VERBOSITY 3063 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3064fi 3065AM_BACKSLASH='\' 3066 3067 3068# Checks for programs 3069ac_ext=c 3070ac_cpp='$CPP $CPPFLAGS' 3071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3073ac_compiler_gnu=$ac_cv_c_compiler_gnu 3074if test -n "$ac_tool_prefix"; then 3075 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3076set dummy ${ac_tool_prefix}gcc; ac_word=$2 3077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3078$as_echo_n "checking for $ac_word... " >&6; } 3079if ${ac_cv_prog_CC+:} false; then : 3080 $as_echo_n "(cached) " >&6 3081else 3082 if test -n "$CC"; then 3083 ac_cv_prog_CC="$CC" # Let the user override the test. 3084else 3085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3086for as_dir in $PATH 3087do 3088 IFS=$as_save_IFS 3089 test -z "$as_dir" && as_dir=. 3090 for ac_exec_ext in '' $ac_executable_extensions; do 3091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3092 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3094 break 2 3095 fi 3096done 3097 done 3098IFS=$as_save_IFS 3099 3100fi 3101fi 3102CC=$ac_cv_prog_CC 3103if test -n "$CC"; then 3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3105$as_echo "$CC" >&6; } 3106else 3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3108$as_echo "no" >&6; } 3109fi 3110 3111 3112fi 3113if test -z "$ac_cv_prog_CC"; then 3114 ac_ct_CC=$CC 3115 # Extract the first word of "gcc", so it can be a program name with args. 3116set dummy gcc; ac_word=$2 3117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3118$as_echo_n "checking for $ac_word... " >&6; } 3119if ${ac_cv_prog_ac_ct_CC+:} false; then : 3120 $as_echo_n "(cached) " >&6 3121else 3122 if test -n "$ac_ct_CC"; then 3123 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3124else 3125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3126for as_dir in $PATH 3127do 3128 IFS=$as_save_IFS 3129 test -z "$as_dir" && as_dir=. 3130 for ac_exec_ext in '' $ac_executable_extensions; do 3131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3132 ac_cv_prog_ac_ct_CC="gcc" 3133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3134 break 2 3135 fi 3136done 3137 done 3138IFS=$as_save_IFS 3139 3140fi 3141fi 3142ac_ct_CC=$ac_cv_prog_ac_ct_CC 3143if test -n "$ac_ct_CC"; then 3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3145$as_echo "$ac_ct_CC" >&6; } 3146else 3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3148$as_echo "no" >&6; } 3149fi 3150 3151 if test "x$ac_ct_CC" = x; then 3152 CC="" 3153 else 3154 case $cross_compiling:$ac_tool_warned in 3155yes:) 3156{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3157$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3158ac_tool_warned=yes ;; 3159esac 3160 CC=$ac_ct_CC 3161 fi 3162else 3163 CC="$ac_cv_prog_CC" 3164fi 3165 3166if test -z "$CC"; then 3167 if test -n "$ac_tool_prefix"; then 3168 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3169set dummy ${ac_tool_prefix}cc; ac_word=$2 3170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3171$as_echo_n "checking for $ac_word... " >&6; } 3172if ${ac_cv_prog_CC+:} false; then : 3173 $as_echo_n "(cached) " >&6 3174else 3175 if test -n "$CC"; then 3176 ac_cv_prog_CC="$CC" # Let the user override the test. 3177else 3178as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3179for as_dir in $PATH 3180do 3181 IFS=$as_save_IFS 3182 test -z "$as_dir" && as_dir=. 3183 for ac_exec_ext in '' $ac_executable_extensions; do 3184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3185 ac_cv_prog_CC="${ac_tool_prefix}cc" 3186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3187 break 2 3188 fi 3189done 3190 done 3191IFS=$as_save_IFS 3192 3193fi 3194fi 3195CC=$ac_cv_prog_CC 3196if test -n "$CC"; then 3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3198$as_echo "$CC" >&6; } 3199else 3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3201$as_echo "no" >&6; } 3202fi 3203 3204 3205 fi 3206fi 3207if test -z "$CC"; then 3208 # Extract the first word of "cc", so it can be a program name with args. 3209set dummy cc; ac_word=$2 3210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3211$as_echo_n "checking for $ac_word... " >&6; } 3212if ${ac_cv_prog_CC+:} false; then : 3213 $as_echo_n "(cached) " >&6 3214else 3215 if test -n "$CC"; then 3216 ac_cv_prog_CC="$CC" # Let the user override the test. 3217else 3218 ac_prog_rejected=no 3219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3220for as_dir in $PATH 3221do 3222 IFS=$as_save_IFS 3223 test -z "$as_dir" && as_dir=. 3224 for ac_exec_ext in '' $ac_executable_extensions; do 3225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3226 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3227 ac_prog_rejected=yes 3228 continue 3229 fi 3230 ac_cv_prog_CC="cc" 3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3232 break 2 3233 fi 3234done 3235 done 3236IFS=$as_save_IFS 3237 3238if test $ac_prog_rejected = yes; then 3239 # We found a bogon in the path, so make sure we never use it. 3240 set dummy $ac_cv_prog_CC 3241 shift 3242 if test $# != 0; then 3243 # We chose a different compiler from the bogus one. 3244 # However, it has the same basename, so the bogon will be chosen 3245 # first if we set CC to just the basename; use the full file name. 3246 shift 3247 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3248 fi 3249fi 3250fi 3251fi 3252CC=$ac_cv_prog_CC 3253if test -n "$CC"; then 3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3255$as_echo "$CC" >&6; } 3256else 3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3258$as_echo "no" >&6; } 3259fi 3260 3261 3262fi 3263if test -z "$CC"; then 3264 if test -n "$ac_tool_prefix"; then 3265 for ac_prog in cl.exe 3266 do 3267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3268set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3270$as_echo_n "checking for $ac_word... " >&6; } 3271if ${ac_cv_prog_CC+:} false; then : 3272 $as_echo_n "(cached) " >&6 3273else 3274 if test -n "$CC"; then 3275 ac_cv_prog_CC="$CC" # Let the user override the test. 3276else 3277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3278for as_dir in $PATH 3279do 3280 IFS=$as_save_IFS 3281 test -z "$as_dir" && as_dir=. 3282 for ac_exec_ext in '' $ac_executable_extensions; do 3283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3284 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3286 break 2 3287 fi 3288done 3289 done 3290IFS=$as_save_IFS 3291 3292fi 3293fi 3294CC=$ac_cv_prog_CC 3295if test -n "$CC"; then 3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3297$as_echo "$CC" >&6; } 3298else 3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3300$as_echo "no" >&6; } 3301fi 3302 3303 3304 test -n "$CC" && break 3305 done 3306fi 3307if test -z "$CC"; then 3308 ac_ct_CC=$CC 3309 for ac_prog in cl.exe 3310do 3311 # Extract the first word of "$ac_prog", so it can be a program name with args. 3312set dummy $ac_prog; ac_word=$2 3313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3314$as_echo_n "checking for $ac_word... " >&6; } 3315if ${ac_cv_prog_ac_ct_CC+:} false; then : 3316 $as_echo_n "(cached) " >&6 3317else 3318 if test -n "$ac_ct_CC"; then 3319 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3320else 3321as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3322for as_dir in $PATH 3323do 3324 IFS=$as_save_IFS 3325 test -z "$as_dir" && as_dir=. 3326 for ac_exec_ext in '' $ac_executable_extensions; do 3327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3328 ac_cv_prog_ac_ct_CC="$ac_prog" 3329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3330 break 2 3331 fi 3332done 3333 done 3334IFS=$as_save_IFS 3335 3336fi 3337fi 3338ac_ct_CC=$ac_cv_prog_ac_ct_CC 3339if test -n "$ac_ct_CC"; then 3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3341$as_echo "$ac_ct_CC" >&6; } 3342else 3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3344$as_echo "no" >&6; } 3345fi 3346 3347 3348 test -n "$ac_ct_CC" && break 3349done 3350 3351 if test "x$ac_ct_CC" = x; then 3352 CC="" 3353 else 3354 case $cross_compiling:$ac_tool_warned in 3355yes:) 3356{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3357$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3358ac_tool_warned=yes ;; 3359esac 3360 CC=$ac_ct_CC 3361 fi 3362fi 3363 3364fi 3365 3366 3367test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3368$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3369as_fn_error $? "no acceptable C compiler found in \$PATH 3370See \`config.log' for more details" "$LINENO" 5; } 3371 3372# Provide some information about the compiler. 3373$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3374set X $ac_compile 3375ac_compiler=$2 3376for ac_option in --version -v -V -qversion; do 3377 { { ac_try="$ac_compiler $ac_option >&5" 3378case "(($ac_try" in 3379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3380 *) ac_try_echo=$ac_try;; 3381esac 3382eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3383$as_echo "$ac_try_echo"; } >&5 3384 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3385 ac_status=$? 3386 if test -s conftest.err; then 3387 sed '10a\ 3388... rest of stderr output deleted ... 3389 10q' conftest.err >conftest.er1 3390 cat conftest.er1 >&5 3391 fi 3392 rm -f conftest.er1 conftest.err 3393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3394 test $ac_status = 0; } 3395done 3396 3397cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3398/* end confdefs.h. */ 3399 3400int 3401main () 3402{ 3403 3404 ; 3405 return 0; 3406} 3407_ACEOF 3408ac_clean_files_save=$ac_clean_files 3409ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3410# Try to create an executable without -o first, disregard a.out. 3411# It will help us diagnose broken compilers, and finding out an intuition 3412# of exeext. 3413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3414$as_echo_n "checking whether the C compiler works... " >&6; } 3415ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3416 3417# The possible output files: 3418ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3419 3420ac_rmfiles= 3421for ac_file in $ac_files 3422do 3423 case $ac_file in 3424 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3425 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3426 esac 3427done 3428rm -f $ac_rmfiles 3429 3430if { { ac_try="$ac_link_default" 3431case "(($ac_try" in 3432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3433 *) ac_try_echo=$ac_try;; 3434esac 3435eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3436$as_echo "$ac_try_echo"; } >&5 3437 (eval "$ac_link_default") 2>&5 3438 ac_status=$? 3439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3440 test $ac_status = 0; }; then : 3441 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3442# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3443# in a Makefile. We should not override ac_cv_exeext if it was cached, 3444# so that the user can short-circuit this test for compilers unknown to 3445# Autoconf. 3446for ac_file in $ac_files '' 3447do 3448 test -f "$ac_file" || continue 3449 case $ac_file in 3450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3451 ;; 3452 [ab].out ) 3453 # We found the default executable, but exeext='' is most 3454 # certainly right. 3455 break;; 3456 *.* ) 3457 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3458 then :; else 3459 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3460 fi 3461 # We set ac_cv_exeext here because the later test for it is not 3462 # safe: cross compilers may not add the suffix if given an `-o' 3463 # argument, so we may need to know it at that point already. 3464 # Even if this section looks crufty: it has the advantage of 3465 # actually working. 3466 break;; 3467 * ) 3468 break;; 3469 esac 3470done 3471test "$ac_cv_exeext" = no && ac_cv_exeext= 3472 3473else 3474 ac_file='' 3475fi 3476if test -z "$ac_file"; then : 3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3478$as_echo "no" >&6; } 3479$as_echo "$as_me: failed program was:" >&5 3480sed 's/^/| /' conftest.$ac_ext >&5 3481 3482{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3483$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3484as_fn_error 77 "C compiler cannot create executables 3485See \`config.log' for more details" "$LINENO" 5; } 3486else 3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3488$as_echo "yes" >&6; } 3489fi 3490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3491$as_echo_n "checking for C compiler default output file name... " >&6; } 3492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3493$as_echo "$ac_file" >&6; } 3494ac_exeext=$ac_cv_exeext 3495 3496rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3497ac_clean_files=$ac_clean_files_save 3498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3499$as_echo_n "checking for suffix of executables... " >&6; } 3500if { { ac_try="$ac_link" 3501case "(($ac_try" in 3502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3503 *) ac_try_echo=$ac_try;; 3504esac 3505eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3506$as_echo "$ac_try_echo"; } >&5 3507 (eval "$ac_link") 2>&5 3508 ac_status=$? 3509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3510 test $ac_status = 0; }; then : 3511 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3512# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3513# work properly (i.e., refer to `conftest.exe'), while it won't with 3514# `rm'. 3515for ac_file in conftest.exe conftest conftest.*; do 3516 test -f "$ac_file" || continue 3517 case $ac_file in 3518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3519 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3520 break;; 3521 * ) break;; 3522 esac 3523done 3524else 3525 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3526$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3527as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3528See \`config.log' for more details" "$LINENO" 5; } 3529fi 3530rm -f conftest conftest$ac_cv_exeext 3531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3532$as_echo "$ac_cv_exeext" >&6; } 3533 3534rm -f conftest.$ac_ext 3535EXEEXT=$ac_cv_exeext 3536ac_exeext=$EXEEXT 3537cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3538/* end confdefs.h. */ 3539#include <stdio.h> 3540int 3541main () 3542{ 3543FILE *f = fopen ("conftest.out", "w"); 3544 return ferror (f) || fclose (f) != 0; 3545 3546 ; 3547 return 0; 3548} 3549_ACEOF 3550ac_clean_files="$ac_clean_files conftest.out" 3551# Check that the compiler produces executables we can run. If not, either 3552# the compiler is broken, or we cross compile. 3553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3554$as_echo_n "checking whether we are cross compiling... " >&6; } 3555if test "$cross_compiling" != yes; then 3556 { { ac_try="$ac_link" 3557case "(($ac_try" in 3558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3559 *) ac_try_echo=$ac_try;; 3560esac 3561eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3562$as_echo "$ac_try_echo"; } >&5 3563 (eval "$ac_link") 2>&5 3564 ac_status=$? 3565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3566 test $ac_status = 0; } 3567 if { ac_try='./conftest$ac_cv_exeext' 3568 { { case "(($ac_try" in 3569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3570 *) ac_try_echo=$ac_try;; 3571esac 3572eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3573$as_echo "$ac_try_echo"; } >&5 3574 (eval "$ac_try") 2>&5 3575 ac_status=$? 3576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3577 test $ac_status = 0; }; }; then 3578 cross_compiling=no 3579 else 3580 if test "$cross_compiling" = maybe; then 3581 cross_compiling=yes 3582 else 3583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3584$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3585as_fn_error $? "cannot run C compiled programs. 3586If you meant to cross compile, use \`--host'. 3587See \`config.log' for more details" "$LINENO" 5; } 3588 fi 3589 fi 3590fi 3591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3592$as_echo "$cross_compiling" >&6; } 3593 3594rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3595ac_clean_files=$ac_clean_files_save 3596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3597$as_echo_n "checking for suffix of object files... " >&6; } 3598if ${ac_cv_objext+:} false; then : 3599 $as_echo_n "(cached) " >&6 3600else 3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3602/* end confdefs.h. */ 3603 3604int 3605main () 3606{ 3607 3608 ; 3609 return 0; 3610} 3611_ACEOF 3612rm -f conftest.o conftest.obj 3613if { { ac_try="$ac_compile" 3614case "(($ac_try" in 3615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3616 *) ac_try_echo=$ac_try;; 3617esac 3618eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3619$as_echo "$ac_try_echo"; } >&5 3620 (eval "$ac_compile") 2>&5 3621 ac_status=$? 3622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3623 test $ac_status = 0; }; then : 3624 for ac_file in conftest.o conftest.obj conftest.*; do 3625 test -f "$ac_file" || continue; 3626 case $ac_file in 3627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3628 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3629 break;; 3630 esac 3631done 3632else 3633 $as_echo "$as_me: failed program was:" >&5 3634sed 's/^/| /' conftest.$ac_ext >&5 3635 3636{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3637$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3638as_fn_error $? "cannot compute suffix of object files: cannot compile 3639See \`config.log' for more details" "$LINENO" 5; } 3640fi 3641rm -f conftest.$ac_cv_objext conftest.$ac_ext 3642fi 3643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3644$as_echo "$ac_cv_objext" >&6; } 3645OBJEXT=$ac_cv_objext 3646ac_objext=$OBJEXT 3647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3648$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3649if ${ac_cv_c_compiler_gnu+:} false; then : 3650 $as_echo_n "(cached) " >&6 3651else 3652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3653/* end confdefs.h. */ 3654 3655int 3656main () 3657{ 3658#ifndef __GNUC__ 3659 choke me 3660#endif 3661 3662 ; 3663 return 0; 3664} 3665_ACEOF 3666if ac_fn_c_try_compile "$LINENO"; then : 3667 ac_compiler_gnu=yes 3668else 3669 ac_compiler_gnu=no 3670fi 3671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3672ac_cv_c_compiler_gnu=$ac_compiler_gnu 3673 3674fi 3675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3676$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3677if test $ac_compiler_gnu = yes; then 3678 GCC=yes 3679else 3680 GCC= 3681fi 3682ac_test_CFLAGS=${CFLAGS+set} 3683ac_save_CFLAGS=$CFLAGS 3684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3685$as_echo_n "checking whether $CC accepts -g... " >&6; } 3686if ${ac_cv_prog_cc_g+:} false; then : 3687 $as_echo_n "(cached) " >&6 3688else 3689 ac_save_c_werror_flag=$ac_c_werror_flag 3690 ac_c_werror_flag=yes 3691 ac_cv_prog_cc_g=no 3692 CFLAGS="-g" 3693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3694/* end confdefs.h. */ 3695 3696int 3697main () 3698{ 3699 3700 ; 3701 return 0; 3702} 3703_ACEOF 3704if ac_fn_c_try_compile "$LINENO"; then : 3705 ac_cv_prog_cc_g=yes 3706else 3707 CFLAGS="" 3708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3709/* end confdefs.h. */ 3710 3711int 3712main () 3713{ 3714 3715 ; 3716 return 0; 3717} 3718_ACEOF 3719if ac_fn_c_try_compile "$LINENO"; then : 3720 3721else 3722 ac_c_werror_flag=$ac_save_c_werror_flag 3723 CFLAGS="-g" 3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3725/* end confdefs.h. */ 3726 3727int 3728main () 3729{ 3730 3731 ; 3732 return 0; 3733} 3734_ACEOF 3735if ac_fn_c_try_compile "$LINENO"; then : 3736 ac_cv_prog_cc_g=yes 3737fi 3738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3739fi 3740rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3741fi 3742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3743 ac_c_werror_flag=$ac_save_c_werror_flag 3744fi 3745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3746$as_echo "$ac_cv_prog_cc_g" >&6; } 3747if test "$ac_test_CFLAGS" = set; then 3748 CFLAGS=$ac_save_CFLAGS 3749elif test $ac_cv_prog_cc_g = yes; then 3750 if test "$GCC" = yes; then 3751 CFLAGS="-g -O2" 3752 else 3753 CFLAGS="-g" 3754 fi 3755else 3756 if test "$GCC" = yes; then 3757 CFLAGS="-O2" 3758 else 3759 CFLAGS= 3760 fi 3761fi 3762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3763$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3764if ${ac_cv_prog_cc_c89+:} false; then : 3765 $as_echo_n "(cached) " >&6 3766else 3767 ac_cv_prog_cc_c89=no 3768ac_save_CC=$CC 3769cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3770/* end confdefs.h. */ 3771#include <stdarg.h> 3772#include <stdio.h> 3773struct stat; 3774/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3775struct buf { int x; }; 3776FILE * (*rcsopen) (struct buf *, struct stat *, int); 3777static char *e (p, i) 3778 char **p; 3779 int i; 3780{ 3781 return p[i]; 3782} 3783static char *f (char * (*g) (char **, int), char **p, ...) 3784{ 3785 char *s; 3786 va_list v; 3787 va_start (v,p); 3788 s = g (p, va_arg (v,int)); 3789 va_end (v); 3790 return s; 3791} 3792 3793/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3794 function prototypes and stuff, but not '\xHH' hex character constants. 3795 These don't provoke an error unfortunately, instead are silently treated 3796 as 'x'. The following induces an error, until -std is added to get 3797 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3798 array size at least. It's necessary to write '\x00'==0 to get something 3799 that's true only with -std. */ 3800int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3801 3802/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3803 inside strings and character constants. */ 3804#define FOO(x) 'x' 3805int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3806 3807int test (int i, double x); 3808struct s1 {int (*f) (int a);}; 3809struct s2 {int (*f) (double a);}; 3810int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3811int argc; 3812char **argv; 3813int 3814main () 3815{ 3816return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3817 ; 3818 return 0; 3819} 3820_ACEOF 3821for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3822 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3823do 3824 CC="$ac_save_CC $ac_arg" 3825 if ac_fn_c_try_compile "$LINENO"; then : 3826 ac_cv_prog_cc_c89=$ac_arg 3827fi 3828rm -f core conftest.err conftest.$ac_objext 3829 test "x$ac_cv_prog_cc_c89" != "xno" && break 3830done 3831rm -f conftest.$ac_ext 3832CC=$ac_save_CC 3833 3834fi 3835# AC_CACHE_VAL 3836case "x$ac_cv_prog_cc_c89" in 3837 x) 3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3839$as_echo "none needed" >&6; } ;; 3840 xno) 3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3842$as_echo "unsupported" >&6; } ;; 3843 *) 3844 CC="$CC $ac_cv_prog_cc_c89" 3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3846$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3847esac 3848if test "x$ac_cv_prog_cc_c89" != xno; then : 3849 3850fi 3851 3852ac_ext=c 3853ac_cpp='$CPP $CPPFLAGS' 3854ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3855ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3856ac_compiler_gnu=$ac_cv_c_compiler_gnu 3857 3858ac_ext=c 3859ac_cpp='$CPP $CPPFLAGS' 3860ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3861ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3862ac_compiler_gnu=$ac_cv_c_compiler_gnu 3863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3864$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3865if ${am_cv_prog_cc_c_o+:} false; then : 3866 $as_echo_n "(cached) " >&6 3867else 3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3869/* end confdefs.h. */ 3870 3871int 3872main () 3873{ 3874 3875 ; 3876 return 0; 3877} 3878_ACEOF 3879 # Make sure it works both with $CC and with simple cc. 3880 # Following AC_PROG_CC_C_O, we do the test twice because some 3881 # compilers refuse to overwrite an existing .o file with -o, 3882 # though they will create one. 3883 am_cv_prog_cc_c_o=yes 3884 for am_i in 1 2; do 3885 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3886 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3887 ac_status=$? 3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3889 (exit $ac_status); } \ 3890 && test -f conftest2.$ac_objext; then 3891 : OK 3892 else 3893 am_cv_prog_cc_c_o=no 3894 break 3895 fi 3896 done 3897 rm -f core conftest* 3898 unset am_i 3899fi 3900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3901$as_echo "$am_cv_prog_cc_c_o" >&6; } 3902if test "$am_cv_prog_cc_c_o" != yes; then 3903 # Losing compiler, so override with the script. 3904 # FIXME: It is wrong to rewrite CC. 3905 # But if we don't then we get into trouble of one sort or another. 3906 # A longer-term fix would be to have automake use am__CC in this case, 3907 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3908 CC="$am_aux_dir/compile $CC" 3909fi 3910ac_ext=c 3911ac_cpp='$CPP $CPPFLAGS' 3912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3914ac_compiler_gnu=$ac_cv_c_compiler_gnu 3915 3916DEPDIR="${am__leading_dot}deps" 3917 3918ac_config_commands="$ac_config_commands depfiles" 3919 3920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3921$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3922cat > confinc.mk << 'END' 3923am__doit: 3924 @echo this is the am__doit target >confinc.out 3925.PHONY: am__doit 3926END 3927am__include="#" 3928am__quote= 3929# BSD make does it like this. 3930echo '.include "confinc.mk" # ignored' > confmf.BSD 3931# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3932echo 'include confinc.mk # ignored' > confmf.GNU 3933_am_result=no 3934for s in GNU BSD; do 3935 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3936 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3937 ac_status=$? 3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3939 (exit $ac_status); } 3940 case $?:`cat confinc.out 2>/dev/null` in #( 3941 '0:this is the am__doit target') : 3942 case $s in #( 3943 BSD) : 3944 am__include='.include' am__quote='"' ;; #( 3945 *) : 3946 am__include='include' am__quote='' ;; 3947esac ;; #( 3948 *) : 3949 ;; 3950esac 3951 if test "$am__include" != "#"; then 3952 _am_result="yes ($s style)" 3953 break 3954 fi 3955done 3956rm -f confinc.* confmf.* 3957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3958$as_echo "${_am_result}" >&6; } 3959 3960# Check whether --enable-dependency-tracking was given. 3961if test "${enable_dependency_tracking+set}" = set; then : 3962 enableval=$enable_dependency_tracking; 3963fi 3964 3965if test "x$enable_dependency_tracking" != xno; then 3966 am_depcomp="$ac_aux_dir/depcomp" 3967 AMDEPBACKSLASH='\' 3968 am__nodep='_no' 3969fi 3970 if test "x$enable_dependency_tracking" != xno; then 3971 AMDEP_TRUE= 3972 AMDEP_FALSE='#' 3973else 3974 AMDEP_TRUE='#' 3975 AMDEP_FALSE= 3976fi 3977 3978 3979 3980depcc="$CC" am_compiler_list= 3981 3982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3983$as_echo_n "checking dependency style of $depcc... " >&6; } 3984if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3985 $as_echo_n "(cached) " >&6 3986else 3987 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3988 # We make a subdir and do the tests there. Otherwise we can end up 3989 # making bogus files that we don't know about and never remove. For 3990 # instance it was reported that on HP-UX the gcc test will end up 3991 # making a dummy file named 'D' -- because '-MD' means "put the output 3992 # in D". 3993 rm -rf conftest.dir 3994 mkdir conftest.dir 3995 # Copy depcomp to subdir because otherwise we won't find it if we're 3996 # using a relative directory. 3997 cp "$am_depcomp" conftest.dir 3998 cd conftest.dir 3999 # We will build objects and dependencies in a subdirectory because 4000 # it helps to detect inapplicable dependency modes. For instance 4001 # both Tru64's cc and ICC support -MD to output dependencies as a 4002 # side effect of compilation, but ICC will put the dependencies in 4003 # the current directory while Tru64 will put them in the object 4004 # directory. 4005 mkdir sub 4006 4007 am_cv_CC_dependencies_compiler_type=none 4008 if test "$am_compiler_list" = ""; then 4009 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4010 fi 4011 am__universal=false 4012 case " $depcc " in #( 4013 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4014 esac 4015 4016 for depmode in $am_compiler_list; do 4017 # Setup a source with many dependencies, because some compilers 4018 # like to wrap large dependency lists on column 80 (with \), and 4019 # we should not choose a depcomp mode which is confused by this. 4020 # 4021 # We need to recreate these files for each test, as the compiler may 4022 # overwrite some of them when testing with obscure command lines. 4023 # This happens at least with the AIX C compiler. 4024 : > sub/conftest.c 4025 for i in 1 2 3 4 5 6; do 4026 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4027 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4028 # Solaris 10 /bin/sh. 4029 echo '/* dummy */' > sub/conftst$i.h 4030 done 4031 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4032 4033 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4034 # mode. It turns out that the SunPro C++ compiler does not properly 4035 # handle '-M -o', and we need to detect this. Also, some Intel 4036 # versions had trouble with output in subdirs. 4037 am__obj=sub/conftest.${OBJEXT-o} 4038 am__minus_obj="-o $am__obj" 4039 case $depmode in 4040 gcc) 4041 # This depmode causes a compiler race in universal mode. 4042 test "$am__universal" = false || continue 4043 ;; 4044 nosideeffect) 4045 # After this tag, mechanisms are not by side-effect, so they'll 4046 # only be used when explicitly requested. 4047 if test "x$enable_dependency_tracking" = xyes; then 4048 continue 4049 else 4050 break 4051 fi 4052 ;; 4053 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4054 # This compiler won't grok '-c -o', but also, the minuso test has 4055 # not run yet. These depmodes are late enough in the game, and 4056 # so weak that their functioning should not be impacted. 4057 am__obj=conftest.${OBJEXT-o} 4058 am__minus_obj= 4059 ;; 4060 none) break ;; 4061 esac 4062 if depmode=$depmode \ 4063 source=sub/conftest.c object=$am__obj \ 4064 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4065 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4066 >/dev/null 2>conftest.err && 4067 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4068 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4069 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4070 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4071 # icc doesn't choke on unknown options, it will just issue warnings 4072 # or remarks (even with -Werror). So we grep stderr for any message 4073 # that says an option was ignored or not supported. 4074 # When given -MP, icc 7.0 and 7.1 complain thusly: 4075 # icc: Command line warning: ignoring option '-M'; no argument required 4076 # The diagnosis changed in icc 8.0: 4077 # icc: Command line remark: option '-MP' not supported 4078 if (grep 'ignoring option' conftest.err || 4079 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4080 am_cv_CC_dependencies_compiler_type=$depmode 4081 break 4082 fi 4083 fi 4084 done 4085 4086 cd .. 4087 rm -rf conftest.dir 4088else 4089 am_cv_CC_dependencies_compiler_type=none 4090fi 4091 4092fi 4093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4094$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4095CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4096 4097 if 4098 test "x$enable_dependency_tracking" != xno \ 4099 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4100 am__fastdepCC_TRUE= 4101 am__fastdepCC_FALSE='#' 4102else 4103 am__fastdepCC_TRUE='#' 4104 am__fastdepCC_FALSE= 4105fi 4106 4107 4108ac_ext=c 4109ac_cpp='$CPP $CPPFLAGS' 4110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4112ac_compiler_gnu=$ac_cv_c_compiler_gnu 4113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4114$as_echo_n "checking how to run the C preprocessor... " >&6; } 4115# On Suns, sometimes $CPP names a directory. 4116if test -n "$CPP" && test -d "$CPP"; then 4117 CPP= 4118fi 4119if test -z "$CPP"; then 4120 if ${ac_cv_prog_CPP+:} false; then : 4121 $as_echo_n "(cached) " >&6 4122else 4123 # Double quotes because CPP needs to be expanded 4124 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4125 do 4126 ac_preproc_ok=false 4127for ac_c_preproc_warn_flag in '' yes 4128do 4129 # Use a header file that comes with gcc, so configuring glibc 4130 # with a fresh cross-compiler works. 4131 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4132 # <limits.h> exists even on freestanding compilers. 4133 # On the NeXT, cc -E runs the code through the compiler's parser, 4134 # not just through cpp. "Syntax error" is here to catch this case. 4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4136/* end confdefs.h. */ 4137#ifdef __STDC__ 4138# include <limits.h> 4139#else 4140# include <assert.h> 4141#endif 4142 Syntax error 4143_ACEOF 4144if ac_fn_c_try_cpp "$LINENO"; then : 4145 4146else 4147 # Broken: fails on valid input. 4148continue 4149fi 4150rm -f conftest.err conftest.i conftest.$ac_ext 4151 4152 # OK, works on sane cases. Now check whether nonexistent headers 4153 # can be detected and how. 4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4155/* end confdefs.h. */ 4156#include <ac_nonexistent.h> 4157_ACEOF 4158if ac_fn_c_try_cpp "$LINENO"; then : 4159 # Broken: success on invalid input. 4160continue 4161else 4162 # Passes both tests. 4163ac_preproc_ok=: 4164break 4165fi 4166rm -f conftest.err conftest.i conftest.$ac_ext 4167 4168done 4169# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4170rm -f conftest.i conftest.err conftest.$ac_ext 4171if $ac_preproc_ok; then : 4172 break 4173fi 4174 4175 done 4176 ac_cv_prog_CPP=$CPP 4177 4178fi 4179 CPP=$ac_cv_prog_CPP 4180else 4181 ac_cv_prog_CPP=$CPP 4182fi 4183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4184$as_echo "$CPP" >&6; } 4185ac_preproc_ok=false 4186for ac_c_preproc_warn_flag in '' yes 4187do 4188 # Use a header file that comes with gcc, so configuring glibc 4189 # with a fresh cross-compiler works. 4190 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4191 # <limits.h> exists even on freestanding compilers. 4192 # On the NeXT, cc -E runs the code through the compiler's parser, 4193 # not just through cpp. "Syntax error" is here to catch this case. 4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4195/* end confdefs.h. */ 4196#ifdef __STDC__ 4197# include <limits.h> 4198#else 4199# include <assert.h> 4200#endif 4201 Syntax error 4202_ACEOF 4203if ac_fn_c_try_cpp "$LINENO"; then : 4204 4205else 4206 # Broken: fails on valid input. 4207continue 4208fi 4209rm -f conftest.err conftest.i conftest.$ac_ext 4210 4211 # OK, works on sane cases. Now check whether nonexistent headers 4212 # can be detected and how. 4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4214/* end confdefs.h. */ 4215#include <ac_nonexistent.h> 4216_ACEOF 4217if ac_fn_c_try_cpp "$LINENO"; then : 4218 # Broken: success on invalid input. 4219continue 4220else 4221 # Passes both tests. 4222ac_preproc_ok=: 4223break 4224fi 4225rm -f conftest.err conftest.i conftest.$ac_ext 4226 4227done 4228# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4229rm -f conftest.i conftest.err conftest.$ac_ext 4230if $ac_preproc_ok; then : 4231 4232else 4233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4234$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4235as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4236See \`config.log' for more details" "$LINENO" 5; } 4237fi 4238 4239ac_ext=c 4240ac_cpp='$CPP $CPPFLAGS' 4241ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4242ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4243ac_compiler_gnu=$ac_cv_c_compiler_gnu 4244 4245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4246$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4247set x ${MAKE-make} 4248ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4249if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 4250 $as_echo_n "(cached) " >&6 4251else 4252 cat >conftest.make <<\_ACEOF 4253SHELL = /bin/sh 4254all: 4255 @echo '@@@%%%=$(MAKE)=@@@%%%' 4256_ACEOF 4257# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4258case `${MAKE-make} -f conftest.make 2>/dev/null` in 4259 *@@@%%%=?*=@@@%%%*) 4260 eval ac_cv_prog_make_${ac_make}_set=yes;; 4261 *) 4262 eval ac_cv_prog_make_${ac_make}_set=no;; 4263esac 4264rm -f conftest.make 4265fi 4266if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4268$as_echo "yes" >&6; } 4269 SET_MAKE= 4270else 4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4272$as_echo "no" >&6; } 4273 SET_MAKE="MAKE=${MAKE-make}" 4274fi 4275 4276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4277$as_echo_n "checking whether ln -s works... " >&6; } 4278LN_S=$as_ln_s 4279if test "$LN_S" = "ln -s"; then 4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4281$as_echo "yes" >&6; } 4282else 4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4284$as_echo "no, using $LN_S" >&6; } 4285fi 4286 4287 4288 4289# Checks for typedefs, structures, and compiler characteristics. 4290 4291 4292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4293$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4294if ${ac_cv_path_GREP+:} false; then : 4295 $as_echo_n "(cached) " >&6 4296else 4297 if test -z "$GREP"; then 4298 ac_path_GREP_found=false 4299 # Loop through the user's path and test for each of PROGNAME-LIST 4300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4301for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4302do 4303 IFS=$as_save_IFS 4304 test -z "$as_dir" && as_dir=. 4305 for ac_prog in grep ggrep; do 4306 for ac_exec_ext in '' $ac_executable_extensions; do 4307 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4308 as_fn_executable_p "$ac_path_GREP" || continue 4309# Check for GNU ac_path_GREP and select it if it is found. 4310 # Check for GNU $ac_path_GREP 4311case `"$ac_path_GREP" --version 2>&1` in 4312*GNU*) 4313 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4314*) 4315 ac_count=0 4316 $as_echo_n 0123456789 >"conftest.in" 4317 while : 4318 do 4319 cat "conftest.in" "conftest.in" >"conftest.tmp" 4320 mv "conftest.tmp" "conftest.in" 4321 cp "conftest.in" "conftest.nl" 4322 $as_echo 'GREP' >> "conftest.nl" 4323 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4324 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4325 as_fn_arith $ac_count + 1 && ac_count=$as_val 4326 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4327 # Best one so far, save it but keep looking for a better one 4328 ac_cv_path_GREP="$ac_path_GREP" 4329 ac_path_GREP_max=$ac_count 4330 fi 4331 # 10*(2^10) chars as input seems more than enough 4332 test $ac_count -gt 10 && break 4333 done 4334 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4335esac 4336 4337 $ac_path_GREP_found && break 3 4338 done 4339 done 4340 done 4341IFS=$as_save_IFS 4342 if test -z "$ac_cv_path_GREP"; then 4343 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4344 fi 4345else 4346 ac_cv_path_GREP=$GREP 4347fi 4348 4349fi 4350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4351$as_echo "$ac_cv_path_GREP" >&6; } 4352 GREP="$ac_cv_path_GREP" 4353 4354 4355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4356$as_echo_n "checking for egrep... " >&6; } 4357if ${ac_cv_path_EGREP+:} false; then : 4358 $as_echo_n "(cached) " >&6 4359else 4360 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4361 then ac_cv_path_EGREP="$GREP -E" 4362 else 4363 if test -z "$EGREP"; then 4364 ac_path_EGREP_found=false 4365 # Loop through the user's path and test for each of PROGNAME-LIST 4366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4367for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4368do 4369 IFS=$as_save_IFS 4370 test -z "$as_dir" && as_dir=. 4371 for ac_prog in egrep; do 4372 for ac_exec_ext in '' $ac_executable_extensions; do 4373 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4374 as_fn_executable_p "$ac_path_EGREP" || continue 4375# Check for GNU ac_path_EGREP and select it if it is found. 4376 # Check for GNU $ac_path_EGREP 4377case `"$ac_path_EGREP" --version 2>&1` in 4378*GNU*) 4379 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4380*) 4381 ac_count=0 4382 $as_echo_n 0123456789 >"conftest.in" 4383 while : 4384 do 4385 cat "conftest.in" "conftest.in" >"conftest.tmp" 4386 mv "conftest.tmp" "conftest.in" 4387 cp "conftest.in" "conftest.nl" 4388 $as_echo 'EGREP' >> "conftest.nl" 4389 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4390 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4391 as_fn_arith $ac_count + 1 && ac_count=$as_val 4392 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4393 # Best one so far, save it but keep looking for a better one 4394 ac_cv_path_EGREP="$ac_path_EGREP" 4395 ac_path_EGREP_max=$ac_count 4396 fi 4397 # 10*(2^10) chars as input seems more than enough 4398 test $ac_count -gt 10 && break 4399 done 4400 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4401esac 4402 4403 $ac_path_EGREP_found && break 3 4404 done 4405 done 4406 done 4407IFS=$as_save_IFS 4408 if test -z "$ac_cv_path_EGREP"; then 4409 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4410 fi 4411else 4412 ac_cv_path_EGREP=$EGREP 4413fi 4414 4415 fi 4416fi 4417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4418$as_echo "$ac_cv_path_EGREP" >&6; } 4419 EGREP="$ac_cv_path_EGREP" 4420 4421 4422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4423$as_echo_n "checking for ANSI C header files... " >&6; } 4424if ${ac_cv_header_stdc+:} false; then : 4425 $as_echo_n "(cached) " >&6 4426else 4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4428/* end confdefs.h. */ 4429#include <stdlib.h> 4430#include <stdarg.h> 4431#include <string.h> 4432#include <float.h> 4433 4434int 4435main () 4436{ 4437 4438 ; 4439 return 0; 4440} 4441_ACEOF 4442if ac_fn_c_try_compile "$LINENO"; then : 4443 ac_cv_header_stdc=yes 4444else 4445 ac_cv_header_stdc=no 4446fi 4447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4448 4449if test $ac_cv_header_stdc = yes; then 4450 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4452/* end confdefs.h. */ 4453#include <string.h> 4454 4455_ACEOF 4456if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4457 $EGREP "memchr" >/dev/null 2>&1; then : 4458 4459else 4460 ac_cv_header_stdc=no 4461fi 4462rm -f conftest* 4463 4464fi 4465 4466if test $ac_cv_header_stdc = yes; then 4467 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4469/* end confdefs.h. */ 4470#include <stdlib.h> 4471 4472_ACEOF 4473if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4474 $EGREP "free" >/dev/null 2>&1; then : 4475 4476else 4477 ac_cv_header_stdc=no 4478fi 4479rm -f conftest* 4480 4481fi 4482 4483if test $ac_cv_header_stdc = yes; then 4484 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4485 if test "$cross_compiling" = yes; then : 4486 : 4487else 4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4489/* end confdefs.h. */ 4490#include <ctype.h> 4491#include <stdlib.h> 4492#if ((' ' & 0x0FF) == 0x020) 4493# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4494# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4495#else 4496# define ISLOWER(c) \ 4497 (('a' <= (c) && (c) <= 'i') \ 4498 || ('j' <= (c) && (c) <= 'r') \ 4499 || ('s' <= (c) && (c) <= 'z')) 4500# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4501#endif 4502 4503#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4504int 4505main () 4506{ 4507 int i; 4508 for (i = 0; i < 256; i++) 4509 if (XOR (islower (i), ISLOWER (i)) 4510 || toupper (i) != TOUPPER (i)) 4511 return 2; 4512 return 0; 4513} 4514_ACEOF 4515if ac_fn_c_try_run "$LINENO"; then : 4516 4517else 4518 ac_cv_header_stdc=no 4519fi 4520rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4521 conftest.$ac_objext conftest.beam conftest.$ac_ext 4522fi 4523 4524fi 4525fi 4526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4527$as_echo "$ac_cv_header_stdc" >&6; } 4528if test $ac_cv_header_stdc = yes; then 4529 4530$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4531 4532fi 4533 4534# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4535for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4536 inttypes.h stdint.h unistd.h 4537do : 4538 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4539ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4540" 4541if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4542 cat >>confdefs.h <<_ACEOF 4543#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4544_ACEOF 4545 4546fi 4547 4548done 4549 4550 4551ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 4552if test "x$ac_cv_type_size_t" = xyes; then : 4553 4554else 4555 4556cat >>confdefs.h <<_ACEOF 4557#define size_t unsigned int 4558_ACEOF 4559 4560fi 4561 4562 4563 4564 4565 4566 DISABLE_DEPRECATED="" 4567 if test $USE_MAINTAINER_MODE = yes; then 4568 DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK MATE LIBGLADE VTE WNCK LIBSOUP" 4569 for DOMAIN in $DOMAINS; do 4570 DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES" 4571 done 4572 fi 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 # Check whether --enable-compile-warnings was given. 4583if test "${enable_compile_warnings+set}" = set; then : 4584 enableval=$enable_compile_warnings; 4585else 4586 enable_compile_warnings="yes" 4587fi 4588 4589 4590 ac_ext=c 4591ac_cpp='$CPP $CPPFLAGS' 4592ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4593ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4594ac_compiler_gnu=$ac_cv_c_compiler_gnu 4595 4596 4597 case "$enable_compile_warnings" in 4598 no) 4599 warning_flags= 4600 ;; 4601 minimum) 4602 warning_flags="-Wall" 4603 ;; 4604 yes) 4605 warning_flags="-Wall -Wmissing-prototypes" 4606 ;; 4607 maximum|error) 4608 warning_flags="-Wall -Wmissing-prototypes -Wbad-function-cast -Wcast-align -Wextra -Wno-unused-parameter -Wformat-nonliteral -Wmissing-declarations -Wmissing-field-initializers -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Werror=format-security" 4609 if test "$enable_compile_warnings" = "error" ; then 4610 warning_flags="$warning_flags -Werror" 4611 fi 4612 ;; 4613 *) 4614 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5 4615 ;; 4616 esac 4617 4618 # Always pass -Werror=unknown-warning-option to get Clang to fail on bad 4619 # flags, otherwise they are always appended to the warn_cflags variable, and 4620 # Clang warns on them for every compilation unit. 4621 # If this is passed to GCC, it will explode, so the flag must be enabled 4622 # conditionally. 4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5 4624$as_echo_n "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; } 4625if ${ax_cv_check_cflags___Werror_unknown_warning_option+:} false; then : 4626 $as_echo_n "(cached) " >&6 4627else 4628 4629 ax_check_save_flags=$CFLAGS 4630 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4632/* end confdefs.h. */ 4633 4634int 4635main () 4636{ 4637 4638 ; 4639 return 0; 4640} 4641_ACEOF 4642if ac_fn_c_try_compile "$LINENO"; then : 4643 ax_cv_check_cflags___Werror_unknown_warning_option=yes 4644else 4645 ax_cv_check_cflags___Werror_unknown_warning_option=no 4646fi 4647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4648 CFLAGS=$ax_check_save_flags 4649fi 4650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5 4651$as_echo "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; } 4652if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes; then : 4653 4654 compiler_flags_test="-Werror=unknown-warning-option" 4655 4656else 4657 4658 compiler_flags_test="" 4659 4660fi 4661 4662 4663 for flag in $warning_flags; do 4664 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$compiler_flags_test_$flag" | $as_tr_sh` 4665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 4666$as_echo_n "checking whether C compiler accepts $flag... " >&6; } 4667if eval \${$as_CACHEVAR+:} false; then : 4668 $as_echo_n "(cached) " >&6 4669else 4670 4671 ax_check_save_flags=$CFLAGS 4672 CFLAGS="$CFLAGS $compiler_flags_test $flag" 4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4674/* end confdefs.h. */ 4675 4676int 4677main () 4678{ 4679 4680 ; 4681 return 0; 4682} 4683_ACEOF 4684if ac_fn_c_try_compile "$LINENO"; then : 4685 eval "$as_CACHEVAR=yes" 4686else 4687 eval "$as_CACHEVAR=no" 4688fi 4689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4690 CFLAGS=$ax_check_save_flags 4691fi 4692eval ac_res=\$$as_CACHEVAR 4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 4694$as_echo "$ac_res" >&6; } 4695if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 4696 4697if ${WARN_CFLAGS+:} false; then : 4698 4699 case " $WARN_CFLAGS " in #( 4700 *" $flag "*) : 4701 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5 4702 (: WARN_CFLAGS already contains $flag) 2>&5 4703 ac_status=$? 4704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4705 test $ac_status = 0; } ;; #( 4706 *) : 4707 4708 as_fn_append WARN_CFLAGS " $flag" 4709 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 4710 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 4711 ac_status=$? 4712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4713 test $ac_status = 0; } 4714 ;; 4715esac 4716 4717else 4718 4719 WARN_CFLAGS=$flag 4720 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 4721 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 4722 ac_status=$? 4723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4724 test $ac_status = 0; } 4725 4726fi 4727 4728else 4729 : 4730fi 4731 4732 done 4733 4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking flags to pass to the C compiler $CC" >&5 4735$as_echo_n "checking flags to pass to the C compiler $CC... " >&6; } 4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS}" >&5 4737$as_echo "${WARN_CFLAGS}" >&6; } 4738 4739 ac_ext=c 4740ac_cpp='$CPP $CPPFLAGS' 4741ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4742ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4743ac_compiler_gnu=$ac_cv_c_compiler_gnu 4744 4745 4746 4747 4748 4749case `pwd` in 4750 *\ * | *\ *) 4751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4752$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4753esac 4754 4755 4756 4757macro_version='2.4.6' 4758macro_revision='2.4.6' 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772ltmain=$ac_aux_dir/ltmain.sh 4773 4774# Make sure we can run config.sub. 4775$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4776 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4777 4778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4779$as_echo_n "checking build system type... " >&6; } 4780if ${ac_cv_build+:} false; then : 4781 $as_echo_n "(cached) " >&6 4782else 4783 ac_build_alias=$build_alias 4784test "x$ac_build_alias" = x && 4785 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4786test "x$ac_build_alias" = x && 4787 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4788ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4789 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4790 4791fi 4792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4793$as_echo "$ac_cv_build" >&6; } 4794case $ac_cv_build in 4795*-*-*) ;; 4796*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4797esac 4798build=$ac_cv_build 4799ac_save_IFS=$IFS; IFS='-' 4800set x $ac_cv_build 4801shift 4802build_cpu=$1 4803build_vendor=$2 4804shift; shift 4805# Remember, the first character of IFS is used to create $*, 4806# except with old shells: 4807build_os=$* 4808IFS=$ac_save_IFS 4809case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4810 4811 4812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4813$as_echo_n "checking host system type... " >&6; } 4814if ${ac_cv_host+:} false; then : 4815 $as_echo_n "(cached) " >&6 4816else 4817 if test "x$host_alias" = x; then 4818 ac_cv_host=$ac_cv_build 4819else 4820 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4821 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4822fi 4823 4824fi 4825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4826$as_echo "$ac_cv_host" >&6; } 4827case $ac_cv_host in 4828*-*-*) ;; 4829*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4830esac 4831host=$ac_cv_host 4832ac_save_IFS=$IFS; IFS='-' 4833set x $ac_cv_host 4834shift 4835host_cpu=$1 4836host_vendor=$2 4837shift; shift 4838# Remember, the first character of IFS is used to create $*, 4839# except with old shells: 4840host_os=$* 4841IFS=$ac_save_IFS 4842case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4843 4844 4845# Backslashify metacharacters that are still active within 4846# double-quoted strings. 4847sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4848 4849# Same as above, but do not quote variable references. 4850double_quote_subst='s/\(["`\\]\)/\\\1/g' 4851 4852# Sed substitution to delay expansion of an escaped shell variable in a 4853# double_quote_subst'ed string. 4854delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4855 4856# Sed substitution to delay expansion of an escaped single quote. 4857delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4858 4859# Sed substitution to avoid accidental globbing in evaled expressions 4860no_glob_subst='s/\*/\\\*/g' 4861 4862ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4863ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4864ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4865 4866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4867$as_echo_n "checking how to print strings... " >&6; } 4868# Test print first, because it will be a builtin if present. 4869if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4870 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4871 ECHO='print -r --' 4872elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4873 ECHO='printf %s\n' 4874else 4875 # Use this function as a fallback that always works. 4876 func_fallback_echo () 4877 { 4878 eval 'cat <<_LTECHO_EOF 4879$1 4880_LTECHO_EOF' 4881 } 4882 ECHO='func_fallback_echo' 4883fi 4884 4885# func_echo_all arg... 4886# Invoke $ECHO with all args, space-separated. 4887func_echo_all () 4888{ 4889 $ECHO "" 4890} 4891 4892case $ECHO in 4893 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4894$as_echo "printf" >&6; } ;; 4895 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4896$as_echo "print -r" >&6; } ;; 4897 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4898$as_echo "cat" >&6; } ;; 4899esac 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4915$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4916if ${ac_cv_path_SED+:} false; then : 4917 $as_echo_n "(cached) " >&6 4918else 4919 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4920 for ac_i in 1 2 3 4 5 6 7; do 4921 ac_script="$ac_script$as_nl$ac_script" 4922 done 4923 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4924 { ac_script=; unset ac_script;} 4925 if test -z "$SED"; then 4926 ac_path_SED_found=false 4927 # Loop through the user's path and test for each of PROGNAME-LIST 4928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4929for as_dir in $PATH 4930do 4931 IFS=$as_save_IFS 4932 test -z "$as_dir" && as_dir=. 4933 for ac_prog in sed gsed; do 4934 for ac_exec_ext in '' $ac_executable_extensions; do 4935 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4936 as_fn_executable_p "$ac_path_SED" || continue 4937# Check for GNU ac_path_SED and select it if it is found. 4938 # Check for GNU $ac_path_SED 4939case `"$ac_path_SED" --version 2>&1` in 4940*GNU*) 4941 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4942*) 4943 ac_count=0 4944 $as_echo_n 0123456789 >"conftest.in" 4945 while : 4946 do 4947 cat "conftest.in" "conftest.in" >"conftest.tmp" 4948 mv "conftest.tmp" "conftest.in" 4949 cp "conftest.in" "conftest.nl" 4950 $as_echo '' >> "conftest.nl" 4951 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4952 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4953 as_fn_arith $ac_count + 1 && ac_count=$as_val 4954 if test $ac_count -gt ${ac_path_SED_max-0}; then 4955 # Best one so far, save it but keep looking for a better one 4956 ac_cv_path_SED="$ac_path_SED" 4957 ac_path_SED_max=$ac_count 4958 fi 4959 # 10*(2^10) chars as input seems more than enough 4960 test $ac_count -gt 10 && break 4961 done 4962 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4963esac 4964 4965 $ac_path_SED_found && break 3 4966 done 4967 done 4968 done 4969IFS=$as_save_IFS 4970 if test -z "$ac_cv_path_SED"; then 4971 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4972 fi 4973else 4974 ac_cv_path_SED=$SED 4975fi 4976 4977fi 4978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4979$as_echo "$ac_cv_path_SED" >&6; } 4980 SED="$ac_cv_path_SED" 4981 rm -f conftest.sed 4982 4983test -z "$SED" && SED=sed 4984Xsed="$SED -e 1s/^X//" 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4997$as_echo_n "checking for fgrep... " >&6; } 4998if ${ac_cv_path_FGREP+:} false; then : 4999 $as_echo_n "(cached) " >&6 5000else 5001 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5002 then ac_cv_path_FGREP="$GREP -F" 5003 else 5004 if test -z "$FGREP"; then 5005 ac_path_FGREP_found=false 5006 # Loop through the user's path and test for each of PROGNAME-LIST 5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5008for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5009do 5010 IFS=$as_save_IFS 5011 test -z "$as_dir" && as_dir=. 5012 for ac_prog in fgrep; do 5013 for ac_exec_ext in '' $ac_executable_extensions; do 5014 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5015 as_fn_executable_p "$ac_path_FGREP" || continue 5016# Check for GNU ac_path_FGREP and select it if it is found. 5017 # Check for GNU $ac_path_FGREP 5018case `"$ac_path_FGREP" --version 2>&1` in 5019*GNU*) 5020 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5021*) 5022 ac_count=0 5023 $as_echo_n 0123456789 >"conftest.in" 5024 while : 5025 do 5026 cat "conftest.in" "conftest.in" >"conftest.tmp" 5027 mv "conftest.tmp" "conftest.in" 5028 cp "conftest.in" "conftest.nl" 5029 $as_echo 'FGREP' >> "conftest.nl" 5030 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5031 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5032 as_fn_arith $ac_count + 1 && ac_count=$as_val 5033 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5034 # Best one so far, save it but keep looking for a better one 5035 ac_cv_path_FGREP="$ac_path_FGREP" 5036 ac_path_FGREP_max=$ac_count 5037 fi 5038 # 10*(2^10) chars as input seems more than enough 5039 test $ac_count -gt 10 && break 5040 done 5041 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5042esac 5043 5044 $ac_path_FGREP_found && break 3 5045 done 5046 done 5047 done 5048IFS=$as_save_IFS 5049 if test -z "$ac_cv_path_FGREP"; then 5050 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5051 fi 5052else 5053 ac_cv_path_FGREP=$FGREP 5054fi 5055 5056 fi 5057fi 5058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5059$as_echo "$ac_cv_path_FGREP" >&6; } 5060 FGREP="$ac_cv_path_FGREP" 5061 5062 5063test -z "$GREP" && GREP=grep 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083# Check whether --with-gnu-ld was given. 5084if test "${with_gnu_ld+set}" = set; then : 5085 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5086else 5087 with_gnu_ld=no 5088fi 5089 5090ac_prog=ld 5091if test yes = "$GCC"; then 5092 # Check if gcc -print-prog-name=ld gives a path. 5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5094$as_echo_n "checking for ld used by $CC... " >&6; } 5095 case $host in 5096 *-*-mingw*) 5097 # gcc leaves a trailing carriage return, which upsets mingw 5098 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5099 *) 5100 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5101 esac 5102 case $ac_prog in 5103 # Accept absolute paths. 5104 [\\/]* | ?:[\\/]*) 5105 re_direlt='/[^/][^/]*/\.\./' 5106 # Canonicalize the pathname of ld 5107 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5108 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5109 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5110 done 5111 test -z "$LD" && LD=$ac_prog 5112 ;; 5113 "") 5114 # If it fails, then pretend we aren't using GCC. 5115 ac_prog=ld 5116 ;; 5117 *) 5118 # If it is relative, then search for the first ld in PATH. 5119 with_gnu_ld=unknown 5120 ;; 5121 esac 5122elif test yes = "$with_gnu_ld"; then 5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5124$as_echo_n "checking for GNU ld... " >&6; } 5125else 5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5127$as_echo_n "checking for non-GNU ld... " >&6; } 5128fi 5129if ${lt_cv_path_LD+:} false; then : 5130 $as_echo_n "(cached) " >&6 5131else 5132 if test -z "$LD"; then 5133 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5134 for ac_dir in $PATH; do 5135 IFS=$lt_save_ifs 5136 test -z "$ac_dir" && ac_dir=. 5137 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5138 lt_cv_path_LD=$ac_dir/$ac_prog 5139 # Check to see if the program is GNU ld. I'd rather use --version, 5140 # but apparently some variants of GNU ld only accept -v. 5141 # Break only if it was the GNU/non-GNU ld that we prefer. 5142 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5143 *GNU* | *'with BFD'*) 5144 test no != "$with_gnu_ld" && break 5145 ;; 5146 *) 5147 test yes != "$with_gnu_ld" && break 5148 ;; 5149 esac 5150 fi 5151 done 5152 IFS=$lt_save_ifs 5153else 5154 lt_cv_path_LD=$LD # Let the user override the test with a path. 5155fi 5156fi 5157 5158LD=$lt_cv_path_LD 5159if test -n "$LD"; then 5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5161$as_echo "$LD" >&6; } 5162else 5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5164$as_echo "no" >&6; } 5165fi 5166test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5168$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5169if ${lt_cv_prog_gnu_ld+:} false; then : 5170 $as_echo_n "(cached) " >&6 5171else 5172 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5173case `$LD -v 2>&1 </dev/null` in 5174*GNU* | *'with BFD'*) 5175 lt_cv_prog_gnu_ld=yes 5176 ;; 5177*) 5178 lt_cv_prog_gnu_ld=no 5179 ;; 5180esac 5181fi 5182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5183$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5184with_gnu_ld=$lt_cv_prog_gnu_ld 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5195$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5196if ${lt_cv_path_NM+:} false; then : 5197 $as_echo_n "(cached) " >&6 5198else 5199 if test -n "$NM"; then 5200 # Let the user override the test. 5201 lt_cv_path_NM=$NM 5202else 5203 lt_nm_to_check=${ac_tool_prefix}nm 5204 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5205 lt_nm_to_check="$lt_nm_to_check nm" 5206 fi 5207 for lt_tmp_nm in $lt_nm_to_check; do 5208 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5209 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5210 IFS=$lt_save_ifs 5211 test -z "$ac_dir" && ac_dir=. 5212 tmp_nm=$ac_dir/$lt_tmp_nm 5213 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5214 # Check to see if the nm accepts a BSD-compat flag. 5215 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5216 # nm: unknown option "B" ignored 5217 # Tru64's nm complains that /dev/null is an invalid object file 5218 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5219 case $build_os in 5220 mingw*) lt_bad_file=conftest.nm/nofile ;; 5221 *) lt_bad_file=/dev/null ;; 5222 esac 5223 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5224 *$lt_bad_file* | *'Invalid file or object type'*) 5225 lt_cv_path_NM="$tmp_nm -B" 5226 break 2 5227 ;; 5228 *) 5229 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5230 */dev/null*) 5231 lt_cv_path_NM="$tmp_nm -p" 5232 break 2 5233 ;; 5234 *) 5235 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5236 continue # so that we can try to find one that supports BSD flags 5237 ;; 5238 esac 5239 ;; 5240 esac 5241 fi 5242 done 5243 IFS=$lt_save_ifs 5244 done 5245 : ${lt_cv_path_NM=no} 5246fi 5247fi 5248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5249$as_echo "$lt_cv_path_NM" >&6; } 5250if test no != "$lt_cv_path_NM"; then 5251 NM=$lt_cv_path_NM 5252else 5253 # Didn't find any BSD compatible name lister, look for dumpbin. 5254 if test -n "$DUMPBIN"; then : 5255 # Let the user override the test. 5256 else 5257 if test -n "$ac_tool_prefix"; then 5258 for ac_prog in dumpbin "link -dump" 5259 do 5260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5261set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5263$as_echo_n "checking for $ac_word... " >&6; } 5264if ${ac_cv_prog_DUMPBIN+:} false; then : 5265 $as_echo_n "(cached) " >&6 5266else 5267 if test -n "$DUMPBIN"; then 5268 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5269else 5270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5271for as_dir in $PATH 5272do 5273 IFS=$as_save_IFS 5274 test -z "$as_dir" && as_dir=. 5275 for ac_exec_ext in '' $ac_executable_extensions; do 5276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5277 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5279 break 2 5280 fi 5281done 5282 done 5283IFS=$as_save_IFS 5284 5285fi 5286fi 5287DUMPBIN=$ac_cv_prog_DUMPBIN 5288if test -n "$DUMPBIN"; then 5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5290$as_echo "$DUMPBIN" >&6; } 5291else 5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5293$as_echo "no" >&6; } 5294fi 5295 5296 5297 test -n "$DUMPBIN" && break 5298 done 5299fi 5300if test -z "$DUMPBIN"; then 5301 ac_ct_DUMPBIN=$DUMPBIN 5302 for ac_prog in dumpbin "link -dump" 5303do 5304 # Extract the first word of "$ac_prog", so it can be a program name with args. 5305set dummy $ac_prog; ac_word=$2 5306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5307$as_echo_n "checking for $ac_word... " >&6; } 5308if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5309 $as_echo_n "(cached) " >&6 5310else 5311 if test -n "$ac_ct_DUMPBIN"; then 5312 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5313else 5314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5315for as_dir in $PATH 5316do 5317 IFS=$as_save_IFS 5318 test -z "$as_dir" && as_dir=. 5319 for ac_exec_ext in '' $ac_executable_extensions; do 5320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5321 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5323 break 2 5324 fi 5325done 5326 done 5327IFS=$as_save_IFS 5328 5329fi 5330fi 5331ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5332if test -n "$ac_ct_DUMPBIN"; then 5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5334$as_echo "$ac_ct_DUMPBIN" >&6; } 5335else 5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5337$as_echo "no" >&6; } 5338fi 5339 5340 5341 test -n "$ac_ct_DUMPBIN" && break 5342done 5343 5344 if test "x$ac_ct_DUMPBIN" = x; then 5345 DUMPBIN=":" 5346 else 5347 case $cross_compiling:$ac_tool_warned in 5348yes:) 5349{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5350$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5351ac_tool_warned=yes ;; 5352esac 5353 DUMPBIN=$ac_ct_DUMPBIN 5354 fi 5355fi 5356 5357 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5358 *COFF*) 5359 DUMPBIN="$DUMPBIN -symbols -headers" 5360 ;; 5361 *) 5362 DUMPBIN=: 5363 ;; 5364 esac 5365 fi 5366 5367 if test : != "$DUMPBIN"; then 5368 NM=$DUMPBIN 5369 fi 5370fi 5371test -z "$NM" && NM=nm 5372 5373 5374 5375 5376 5377 5378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5379$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5380if ${lt_cv_nm_interface+:} false; then : 5381 $as_echo_n "(cached) " >&6 5382else 5383 lt_cv_nm_interface="BSD nm" 5384 echo "int some_variable = 0;" > conftest.$ac_ext 5385 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5386 (eval "$ac_compile" 2>conftest.err) 5387 cat conftest.err >&5 5388 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5389 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5390 cat conftest.err >&5 5391 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5392 cat conftest.out >&5 5393 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5394 lt_cv_nm_interface="MS dumpbin" 5395 fi 5396 rm -f conftest* 5397fi 5398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5399$as_echo "$lt_cv_nm_interface" >&6; } 5400 5401# find the maximum length of command line arguments 5402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5403$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5404if ${lt_cv_sys_max_cmd_len+:} false; then : 5405 $as_echo_n "(cached) " >&6 5406else 5407 i=0 5408 teststring=ABCD 5409 5410 case $build_os in 5411 msdosdjgpp*) 5412 # On DJGPP, this test can blow up pretty badly due to problems in libc 5413 # (any single argument exceeding 2000 bytes causes a buffer overrun 5414 # during glob expansion). Even if it were fixed, the result of this 5415 # check would be larger than it should be. 5416 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5417 ;; 5418 5419 gnu*) 5420 # Under GNU Hurd, this test is not required because there is 5421 # no limit to the length of command line arguments. 5422 # Libtool will interpret -1 as no limit whatsoever 5423 lt_cv_sys_max_cmd_len=-1; 5424 ;; 5425 5426 cygwin* | mingw* | cegcc*) 5427 # On Win9x/ME, this test blows up -- it succeeds, but takes 5428 # about 5 minutes as the teststring grows exponentially. 5429 # Worse, since 9x/ME are not pre-emptively multitasking, 5430 # you end up with a "frozen" computer, even though with patience 5431 # the test eventually succeeds (with a max line length of 256k). 5432 # Instead, let's just punt: use the minimum linelength reported by 5433 # all of the supported platforms: 8192 (on NT/2K/XP). 5434 lt_cv_sys_max_cmd_len=8192; 5435 ;; 5436 5437 mint*) 5438 # On MiNT this can take a long time and run out of memory. 5439 lt_cv_sys_max_cmd_len=8192; 5440 ;; 5441 5442 amigaos*) 5443 # On AmigaOS with pdksh, this test takes hours, literally. 5444 # So we just punt and use a minimum line length of 8192. 5445 lt_cv_sys_max_cmd_len=8192; 5446 ;; 5447 5448 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5449 # This has been around since 386BSD, at least. Likely further. 5450 if test -x /sbin/sysctl; then 5451 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5452 elif test -x /usr/sbin/sysctl; then 5453 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5454 else 5455 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5456 fi 5457 # And add a safety zone 5458 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5459 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5460 ;; 5461 5462 interix*) 5463 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5464 lt_cv_sys_max_cmd_len=196608 5465 ;; 5466 5467 os2*) 5468 # The test takes a long time on OS/2. 5469 lt_cv_sys_max_cmd_len=8192 5470 ;; 5471 5472 osf*) 5473 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5474 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5475 # nice to cause kernel panics so lets avoid the loop below. 5476 # First set a reasonable default. 5477 lt_cv_sys_max_cmd_len=16384 5478 # 5479 if test -x /sbin/sysconfig; then 5480 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5481 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5482 esac 5483 fi 5484 ;; 5485 sco3.2v5*) 5486 lt_cv_sys_max_cmd_len=102400 5487 ;; 5488 sysv5* | sco5v6* | sysv4.2uw2*) 5489 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5490 if test -n "$kargmax"; then 5491 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5492 else 5493 lt_cv_sys_max_cmd_len=32768 5494 fi 5495 ;; 5496 *) 5497 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5498 if test -n "$lt_cv_sys_max_cmd_len" && \ 5499 test undefined != "$lt_cv_sys_max_cmd_len"; then 5500 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5501 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5502 else 5503 # Make teststring a little bigger before we do anything with it. 5504 # a 1K string should be a reasonable start. 5505 for i in 1 2 3 4 5 6 7 8; do 5506 teststring=$teststring$teststring 5507 done 5508 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5509 # If test is not a shell built-in, we'll probably end up computing a 5510 # maximum length that is only half of the actual maximum length, but 5511 # we can't tell. 5512 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5513 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5514 test 17 != "$i" # 1/2 MB should be enough 5515 do 5516 i=`expr $i + 1` 5517 teststring=$teststring$teststring 5518 done 5519 # Only check the string length outside the loop. 5520 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5521 teststring= 5522 # Add a significant safety factor because C++ compilers can tack on 5523 # massive amounts of additional arguments before passing them to the 5524 # linker. It appears as though 1/2 is a usable value. 5525 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5526 fi 5527 ;; 5528 esac 5529 5530fi 5531 5532if test -n "$lt_cv_sys_max_cmd_len"; then 5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5534$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5535else 5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5537$as_echo "none" >&6; } 5538fi 5539max_cmd_len=$lt_cv_sys_max_cmd_len 5540 5541 5542 5543 5544 5545 5546: ${CP="cp -f"} 5547: ${MV="mv -f"} 5548: ${RM="rm -f"} 5549 5550if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5551 lt_unset=unset 5552else 5553 lt_unset=false 5554fi 5555 5556 5557 5558 5559 5560# test EBCDIC or ASCII 5561case `echo X|tr X '\101'` in 5562 A) # ASCII based system 5563 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5564 lt_SP2NL='tr \040 \012' 5565 lt_NL2SP='tr \015\012 \040\040' 5566 ;; 5567 *) # EBCDIC based system 5568 lt_SP2NL='tr \100 \n' 5569 lt_NL2SP='tr \r\n \100\100' 5570 ;; 5571esac 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5582$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5583if ${lt_cv_to_host_file_cmd+:} false; then : 5584 $as_echo_n "(cached) " >&6 5585else 5586 case $host in 5587 *-*-mingw* ) 5588 case $build in 5589 *-*-mingw* ) # actually msys 5590 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5591 ;; 5592 *-*-cygwin* ) 5593 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5594 ;; 5595 * ) # otherwise, assume *nix 5596 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5597 ;; 5598 esac 5599 ;; 5600 *-*-cygwin* ) 5601 case $build in 5602 *-*-mingw* ) # actually msys 5603 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5604 ;; 5605 *-*-cygwin* ) 5606 lt_cv_to_host_file_cmd=func_convert_file_noop 5607 ;; 5608 * ) # otherwise, assume *nix 5609 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5610 ;; 5611 esac 5612 ;; 5613 * ) # unhandled hosts (and "normal" native builds) 5614 lt_cv_to_host_file_cmd=func_convert_file_noop 5615 ;; 5616esac 5617 5618fi 5619 5620to_host_file_cmd=$lt_cv_to_host_file_cmd 5621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5622$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5623 5624 5625 5626 5627 5628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5629$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5630if ${lt_cv_to_tool_file_cmd+:} false; then : 5631 $as_echo_n "(cached) " >&6 5632else 5633 #assume ordinary cross tools, or native build. 5634lt_cv_to_tool_file_cmd=func_convert_file_noop 5635case $host in 5636 *-*-mingw* ) 5637 case $build in 5638 *-*-mingw* ) # actually msys 5639 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5640 ;; 5641 esac 5642 ;; 5643esac 5644 5645fi 5646 5647to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5649$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5650 5651 5652 5653 5654 5655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5656$as_echo_n "checking for $LD option to reload object files... " >&6; } 5657if ${lt_cv_ld_reload_flag+:} false; then : 5658 $as_echo_n "(cached) " >&6 5659else 5660 lt_cv_ld_reload_flag='-r' 5661fi 5662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5663$as_echo "$lt_cv_ld_reload_flag" >&6; } 5664reload_flag=$lt_cv_ld_reload_flag 5665case $reload_flag in 5666"" | " "*) ;; 5667*) reload_flag=" $reload_flag" ;; 5668esac 5669reload_cmds='$LD$reload_flag -o $output$reload_objs' 5670case $host_os in 5671 cygwin* | mingw* | pw32* | cegcc*) 5672 if test yes != "$GCC"; then 5673 reload_cmds=false 5674 fi 5675 ;; 5676 darwin*) 5677 if test yes = "$GCC"; then 5678 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5679 else 5680 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5681 fi 5682 ;; 5683esac 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693if test -n "$ac_tool_prefix"; then 5694 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5695set dummy ${ac_tool_prefix}objdump; ac_word=$2 5696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5697$as_echo_n "checking for $ac_word... " >&6; } 5698if ${ac_cv_prog_OBJDUMP+:} false; then : 5699 $as_echo_n "(cached) " >&6 5700else 5701 if test -n "$OBJDUMP"; then 5702 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5703else 5704as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5705for as_dir in $PATH 5706do 5707 IFS=$as_save_IFS 5708 test -z "$as_dir" && as_dir=. 5709 for ac_exec_ext in '' $ac_executable_extensions; do 5710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5711 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5713 break 2 5714 fi 5715done 5716 done 5717IFS=$as_save_IFS 5718 5719fi 5720fi 5721OBJDUMP=$ac_cv_prog_OBJDUMP 5722if test -n "$OBJDUMP"; then 5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5724$as_echo "$OBJDUMP" >&6; } 5725else 5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5727$as_echo "no" >&6; } 5728fi 5729 5730 5731fi 5732if test -z "$ac_cv_prog_OBJDUMP"; then 5733 ac_ct_OBJDUMP=$OBJDUMP 5734 # Extract the first word of "objdump", so it can be a program name with args. 5735set dummy objdump; ac_word=$2 5736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5737$as_echo_n "checking for $ac_word... " >&6; } 5738if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5739 $as_echo_n "(cached) " >&6 5740else 5741 if test -n "$ac_ct_OBJDUMP"; then 5742 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5743else 5744as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5745for as_dir in $PATH 5746do 5747 IFS=$as_save_IFS 5748 test -z "$as_dir" && as_dir=. 5749 for ac_exec_ext in '' $ac_executable_extensions; do 5750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5751 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5753 break 2 5754 fi 5755done 5756 done 5757IFS=$as_save_IFS 5758 5759fi 5760fi 5761ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5762if test -n "$ac_ct_OBJDUMP"; then 5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5764$as_echo "$ac_ct_OBJDUMP" >&6; } 5765else 5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5767$as_echo "no" >&6; } 5768fi 5769 5770 if test "x$ac_ct_OBJDUMP" = x; then 5771 OBJDUMP="false" 5772 else 5773 case $cross_compiling:$ac_tool_warned in 5774yes:) 5775{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5776$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5777ac_tool_warned=yes ;; 5778esac 5779 OBJDUMP=$ac_ct_OBJDUMP 5780 fi 5781else 5782 OBJDUMP="$ac_cv_prog_OBJDUMP" 5783fi 5784 5785test -z "$OBJDUMP" && OBJDUMP=objdump 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5796$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5797if ${lt_cv_deplibs_check_method+:} false; then : 5798 $as_echo_n "(cached) " >&6 5799else 5800 lt_cv_file_magic_cmd='$MAGIC_CMD' 5801lt_cv_file_magic_test_file= 5802lt_cv_deplibs_check_method='unknown' 5803# Need to set the preceding variable on all platforms that support 5804# interlibrary dependencies. 5805# 'none' -- dependencies not supported. 5806# 'unknown' -- same as none, but documents that we really don't know. 5807# 'pass_all' -- all dependencies passed with no checks. 5808# 'test_compile' -- check by making test program. 5809# 'file_magic [[regex]]' -- check by looking for files in library path 5810# that responds to the $file_magic_cmd with a given extended regex. 5811# If you have 'file' or equivalent on your system and you're not sure 5812# whether 'pass_all' will *always* work, you probably want this one. 5813 5814case $host_os in 5815aix[4-9]*) 5816 lt_cv_deplibs_check_method=pass_all 5817 ;; 5818 5819beos*) 5820 lt_cv_deplibs_check_method=pass_all 5821 ;; 5822 5823bsdi[45]*) 5824 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5825 lt_cv_file_magic_cmd='/usr/bin/file -L' 5826 lt_cv_file_magic_test_file=/shlib/libc.so 5827 ;; 5828 5829cygwin*) 5830 # func_win32_libid is a shell function defined in ltmain.sh 5831 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5832 lt_cv_file_magic_cmd='func_win32_libid' 5833 ;; 5834 5835mingw* | pw32*) 5836 # Base MSYS/MinGW do not provide the 'file' command needed by 5837 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5838 # unless we find 'file', for example because we are cross-compiling. 5839 if ( file / ) >/dev/null 2>&1; then 5840 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5841 lt_cv_file_magic_cmd='func_win32_libid' 5842 else 5843 # Keep this pattern in sync with the one in func_win32_libid. 5844 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5845 lt_cv_file_magic_cmd='$OBJDUMP -f' 5846 fi 5847 ;; 5848 5849cegcc*) 5850 # use the weaker test based on 'objdump'. See mingw*. 5851 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5852 lt_cv_file_magic_cmd='$OBJDUMP -f' 5853 ;; 5854 5855darwin* | rhapsody*) 5856 lt_cv_deplibs_check_method=pass_all 5857 ;; 5858 5859freebsd* | dragonfly*) 5860 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5861 case $host_cpu in 5862 i*86 ) 5863 # Not sure whether the presence of OpenBSD here was a mistake. 5864 # Let's accept both of them until this is cleared up. 5865 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5866 lt_cv_file_magic_cmd=/usr/bin/file 5867 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5868 ;; 5869 esac 5870 else 5871 lt_cv_deplibs_check_method=pass_all 5872 fi 5873 ;; 5874 5875haiku*) 5876 lt_cv_deplibs_check_method=pass_all 5877 ;; 5878 5879hpux10.20* | hpux11*) 5880 lt_cv_file_magic_cmd=/usr/bin/file 5881 case $host_cpu in 5882 ia64*) 5883 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5884 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5885 ;; 5886 hppa*64*) 5887 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]' 5888 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5889 ;; 5890 *) 5891 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5892 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5893 ;; 5894 esac 5895 ;; 5896 5897interix[3-9]*) 5898 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5899 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5900 ;; 5901 5902irix5* | irix6* | nonstopux*) 5903 case $LD in 5904 *-32|*"-32 ") libmagic=32-bit;; 5905 *-n32|*"-n32 ") libmagic=N32;; 5906 *-64|*"-64 ") libmagic=64-bit;; 5907 *) libmagic=never-match;; 5908 esac 5909 lt_cv_deplibs_check_method=pass_all 5910 ;; 5911 5912# This must be glibc/ELF. 5913linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5914 lt_cv_deplibs_check_method=pass_all 5915 ;; 5916 5917netbsd*) 5918 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5919 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5920 else 5921 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5922 fi 5923 ;; 5924 5925newos6*) 5926 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5927 lt_cv_file_magic_cmd=/usr/bin/file 5928 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5929 ;; 5930 5931*nto* | *qnx*) 5932 lt_cv_deplibs_check_method=pass_all 5933 ;; 5934 5935openbsd* | bitrig*) 5936 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5937 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5938 else 5939 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5940 fi 5941 ;; 5942 5943osf3* | osf4* | osf5*) 5944 lt_cv_deplibs_check_method=pass_all 5945 ;; 5946 5947rdos*) 5948 lt_cv_deplibs_check_method=pass_all 5949 ;; 5950 5951solaris*) 5952 lt_cv_deplibs_check_method=pass_all 5953 ;; 5954 5955sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5956 lt_cv_deplibs_check_method=pass_all 5957 ;; 5958 5959sysv4 | sysv4.3*) 5960 case $host_vendor in 5961 motorola) 5962 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]' 5963 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5964 ;; 5965 ncr) 5966 lt_cv_deplibs_check_method=pass_all 5967 ;; 5968 sequent) 5969 lt_cv_file_magic_cmd='/bin/file' 5970 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5971 ;; 5972 sni) 5973 lt_cv_file_magic_cmd='/bin/file' 5974 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5975 lt_cv_file_magic_test_file=/lib/libc.so 5976 ;; 5977 siemens) 5978 lt_cv_deplibs_check_method=pass_all 5979 ;; 5980 pc) 5981 lt_cv_deplibs_check_method=pass_all 5982 ;; 5983 esac 5984 ;; 5985 5986tpf*) 5987 lt_cv_deplibs_check_method=pass_all 5988 ;; 5989os2*) 5990 lt_cv_deplibs_check_method=pass_all 5991 ;; 5992esac 5993 5994fi 5995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5996$as_echo "$lt_cv_deplibs_check_method" >&6; } 5997 5998file_magic_glob= 5999want_nocaseglob=no 6000if test "$build" = "$host"; then 6001 case $host_os in 6002 mingw* | pw32*) 6003 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6004 want_nocaseglob=yes 6005 else 6006 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6007 fi 6008 ;; 6009 esac 6010fi 6011 6012file_magic_cmd=$lt_cv_file_magic_cmd 6013deplibs_check_method=$lt_cv_deplibs_check_method 6014test -z "$deplibs_check_method" && deplibs_check_method=unknown 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037if test -n "$ac_tool_prefix"; then 6038 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6039set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6041$as_echo_n "checking for $ac_word... " >&6; } 6042if ${ac_cv_prog_DLLTOOL+:} false; then : 6043 $as_echo_n "(cached) " >&6 6044else 6045 if test -n "$DLLTOOL"; then 6046 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6047else 6048as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6049for as_dir in $PATH 6050do 6051 IFS=$as_save_IFS 6052 test -z "$as_dir" && as_dir=. 6053 for ac_exec_ext in '' $ac_executable_extensions; do 6054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6055 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6057 break 2 6058 fi 6059done 6060 done 6061IFS=$as_save_IFS 6062 6063fi 6064fi 6065DLLTOOL=$ac_cv_prog_DLLTOOL 6066if test -n "$DLLTOOL"; then 6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6068$as_echo "$DLLTOOL" >&6; } 6069else 6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6071$as_echo "no" >&6; } 6072fi 6073 6074 6075fi 6076if test -z "$ac_cv_prog_DLLTOOL"; then 6077 ac_ct_DLLTOOL=$DLLTOOL 6078 # Extract the first word of "dlltool", so it can be a program name with args. 6079set dummy dlltool; ac_word=$2 6080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6081$as_echo_n "checking for $ac_word... " >&6; } 6082if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6083 $as_echo_n "(cached) " >&6 6084else 6085 if test -n "$ac_ct_DLLTOOL"; then 6086 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6087else 6088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6089for as_dir in $PATH 6090do 6091 IFS=$as_save_IFS 6092 test -z "$as_dir" && as_dir=. 6093 for ac_exec_ext in '' $ac_executable_extensions; do 6094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6095 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6097 break 2 6098 fi 6099done 6100 done 6101IFS=$as_save_IFS 6102 6103fi 6104fi 6105ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6106if test -n "$ac_ct_DLLTOOL"; then 6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6108$as_echo "$ac_ct_DLLTOOL" >&6; } 6109else 6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6111$as_echo "no" >&6; } 6112fi 6113 6114 if test "x$ac_ct_DLLTOOL" = x; then 6115 DLLTOOL="false" 6116 else 6117 case $cross_compiling:$ac_tool_warned in 6118yes:) 6119{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6120$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6121ac_tool_warned=yes ;; 6122esac 6123 DLLTOOL=$ac_ct_DLLTOOL 6124 fi 6125else 6126 DLLTOOL="$ac_cv_prog_DLLTOOL" 6127fi 6128 6129test -z "$DLLTOOL" && DLLTOOL=dlltool 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6141$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6142if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6143 $as_echo_n "(cached) " >&6 6144else 6145 lt_cv_sharedlib_from_linklib_cmd='unknown' 6146 6147case $host_os in 6148cygwin* | mingw* | pw32* | cegcc*) 6149 # two different shell functions defined in ltmain.sh; 6150 # decide which one to use based on capabilities of $DLLTOOL 6151 case `$DLLTOOL --help 2>&1` in 6152 *--identify-strict*) 6153 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6154 ;; 6155 *) 6156 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6157 ;; 6158 esac 6159 ;; 6160*) 6161 # fallback: assume linklib IS sharedlib 6162 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6163 ;; 6164esac 6165 6166fi 6167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6168$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6169sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6170test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6171 6172 6173 6174 6175 6176 6177 6178if test -n "$ac_tool_prefix"; then 6179 for ac_prog in ar 6180 do 6181 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6182set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6184$as_echo_n "checking for $ac_word... " >&6; } 6185if ${ac_cv_prog_AR+:} false; then : 6186 $as_echo_n "(cached) " >&6 6187else 6188 if test -n "$AR"; then 6189 ac_cv_prog_AR="$AR" # Let the user override the test. 6190else 6191as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6192for as_dir in $PATH 6193do 6194 IFS=$as_save_IFS 6195 test -z "$as_dir" && as_dir=. 6196 for ac_exec_ext in '' $ac_executable_extensions; do 6197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6198 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6200 break 2 6201 fi 6202done 6203 done 6204IFS=$as_save_IFS 6205 6206fi 6207fi 6208AR=$ac_cv_prog_AR 6209if test -n "$AR"; then 6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6211$as_echo "$AR" >&6; } 6212else 6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6214$as_echo "no" >&6; } 6215fi 6216 6217 6218 test -n "$AR" && break 6219 done 6220fi 6221if test -z "$AR"; then 6222 ac_ct_AR=$AR 6223 for ac_prog in ar 6224do 6225 # Extract the first word of "$ac_prog", so it can be a program name with args. 6226set dummy $ac_prog; ac_word=$2 6227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6228$as_echo_n "checking for $ac_word... " >&6; } 6229if ${ac_cv_prog_ac_ct_AR+:} false; then : 6230 $as_echo_n "(cached) " >&6 6231else 6232 if test -n "$ac_ct_AR"; then 6233 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6234else 6235as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6236for as_dir in $PATH 6237do 6238 IFS=$as_save_IFS 6239 test -z "$as_dir" && as_dir=. 6240 for ac_exec_ext in '' $ac_executable_extensions; do 6241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6242 ac_cv_prog_ac_ct_AR="$ac_prog" 6243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6244 break 2 6245 fi 6246done 6247 done 6248IFS=$as_save_IFS 6249 6250fi 6251fi 6252ac_ct_AR=$ac_cv_prog_ac_ct_AR 6253if test -n "$ac_ct_AR"; then 6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6255$as_echo "$ac_ct_AR" >&6; } 6256else 6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6258$as_echo "no" >&6; } 6259fi 6260 6261 6262 test -n "$ac_ct_AR" && break 6263done 6264 6265 if test "x$ac_ct_AR" = x; then 6266 AR="false" 6267 else 6268 case $cross_compiling:$ac_tool_warned in 6269yes:) 6270{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6271$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6272ac_tool_warned=yes ;; 6273esac 6274 AR=$ac_ct_AR 6275 fi 6276fi 6277 6278: ${AR=ar} 6279: ${AR_FLAGS=cru} 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6292$as_echo_n "checking for archiver @FILE support... " >&6; } 6293if ${lt_cv_ar_at_file+:} false; then : 6294 $as_echo_n "(cached) " >&6 6295else 6296 lt_cv_ar_at_file=no 6297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6298/* end confdefs.h. */ 6299 6300int 6301main () 6302{ 6303 6304 ; 6305 return 0; 6306} 6307_ACEOF 6308if ac_fn_c_try_compile "$LINENO"; then : 6309 echo conftest.$ac_objext > conftest.lst 6310 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6311 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6312 (eval $lt_ar_try) 2>&5 6313 ac_status=$? 6314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6315 test $ac_status = 0; } 6316 if test 0 -eq "$ac_status"; then 6317 # Ensure the archiver fails upon bogus file names. 6318 rm -f conftest.$ac_objext libconftest.a 6319 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6320 (eval $lt_ar_try) 2>&5 6321 ac_status=$? 6322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6323 test $ac_status = 0; } 6324 if test 0 -ne "$ac_status"; then 6325 lt_cv_ar_at_file=@ 6326 fi 6327 fi 6328 rm -f conftest.* libconftest.a 6329 6330fi 6331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6332 6333fi 6334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6335$as_echo "$lt_cv_ar_at_file" >&6; } 6336 6337if test no = "$lt_cv_ar_at_file"; then 6338 archiver_list_spec= 6339else 6340 archiver_list_spec=$lt_cv_ar_at_file 6341fi 6342 6343 6344 6345 6346 6347 6348 6349if test -n "$ac_tool_prefix"; then 6350 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6351set dummy ${ac_tool_prefix}strip; ac_word=$2 6352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6353$as_echo_n "checking for $ac_word... " >&6; } 6354if ${ac_cv_prog_STRIP+:} false; then : 6355 $as_echo_n "(cached) " >&6 6356else 6357 if test -n "$STRIP"; then 6358 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6359else 6360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6361for as_dir in $PATH 6362do 6363 IFS=$as_save_IFS 6364 test -z "$as_dir" && as_dir=. 6365 for ac_exec_ext in '' $ac_executable_extensions; do 6366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6367 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6369 break 2 6370 fi 6371done 6372 done 6373IFS=$as_save_IFS 6374 6375fi 6376fi 6377STRIP=$ac_cv_prog_STRIP 6378if test -n "$STRIP"; then 6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6380$as_echo "$STRIP" >&6; } 6381else 6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6383$as_echo "no" >&6; } 6384fi 6385 6386 6387fi 6388if test -z "$ac_cv_prog_STRIP"; then 6389 ac_ct_STRIP=$STRIP 6390 # Extract the first word of "strip", so it can be a program name with args. 6391set dummy strip; ac_word=$2 6392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6393$as_echo_n "checking for $ac_word... " >&6; } 6394if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6395 $as_echo_n "(cached) " >&6 6396else 6397 if test -n "$ac_ct_STRIP"; then 6398 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6399else 6400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6401for as_dir in $PATH 6402do 6403 IFS=$as_save_IFS 6404 test -z "$as_dir" && as_dir=. 6405 for ac_exec_ext in '' $ac_executable_extensions; do 6406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6407 ac_cv_prog_ac_ct_STRIP="strip" 6408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6409 break 2 6410 fi 6411done 6412 done 6413IFS=$as_save_IFS 6414 6415fi 6416fi 6417ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6418if test -n "$ac_ct_STRIP"; then 6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6420$as_echo "$ac_ct_STRIP" >&6; } 6421else 6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6423$as_echo "no" >&6; } 6424fi 6425 6426 if test "x$ac_ct_STRIP" = x; then 6427 STRIP=":" 6428 else 6429 case $cross_compiling:$ac_tool_warned in 6430yes:) 6431{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6432$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6433ac_tool_warned=yes ;; 6434esac 6435 STRIP=$ac_ct_STRIP 6436 fi 6437else 6438 STRIP="$ac_cv_prog_STRIP" 6439fi 6440 6441test -z "$STRIP" && STRIP=: 6442 6443 6444 6445 6446 6447 6448if test -n "$ac_tool_prefix"; then 6449 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6450set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6452$as_echo_n "checking for $ac_word... " >&6; } 6453if ${ac_cv_prog_RANLIB+:} false; then : 6454 $as_echo_n "(cached) " >&6 6455else 6456 if test -n "$RANLIB"; then 6457 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6458else 6459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6460for as_dir in $PATH 6461do 6462 IFS=$as_save_IFS 6463 test -z "$as_dir" && as_dir=. 6464 for ac_exec_ext in '' $ac_executable_extensions; do 6465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6466 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6468 break 2 6469 fi 6470done 6471 done 6472IFS=$as_save_IFS 6473 6474fi 6475fi 6476RANLIB=$ac_cv_prog_RANLIB 6477if test -n "$RANLIB"; then 6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6479$as_echo "$RANLIB" >&6; } 6480else 6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6482$as_echo "no" >&6; } 6483fi 6484 6485 6486fi 6487if test -z "$ac_cv_prog_RANLIB"; then 6488 ac_ct_RANLIB=$RANLIB 6489 # Extract the first word of "ranlib", so it can be a program name with args. 6490set dummy ranlib; ac_word=$2 6491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6492$as_echo_n "checking for $ac_word... " >&6; } 6493if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6494 $as_echo_n "(cached) " >&6 6495else 6496 if test -n "$ac_ct_RANLIB"; then 6497 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6498else 6499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6500for as_dir in $PATH 6501do 6502 IFS=$as_save_IFS 6503 test -z "$as_dir" && as_dir=. 6504 for ac_exec_ext in '' $ac_executable_extensions; do 6505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6506 ac_cv_prog_ac_ct_RANLIB="ranlib" 6507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6508 break 2 6509 fi 6510done 6511 done 6512IFS=$as_save_IFS 6513 6514fi 6515fi 6516ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6517if test -n "$ac_ct_RANLIB"; then 6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6519$as_echo "$ac_ct_RANLIB" >&6; } 6520else 6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6522$as_echo "no" >&6; } 6523fi 6524 6525 if test "x$ac_ct_RANLIB" = x; then 6526 RANLIB=":" 6527 else 6528 case $cross_compiling:$ac_tool_warned in 6529yes:) 6530{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6531$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6532ac_tool_warned=yes ;; 6533esac 6534 RANLIB=$ac_ct_RANLIB 6535 fi 6536else 6537 RANLIB="$ac_cv_prog_RANLIB" 6538fi 6539 6540test -z "$RANLIB" && RANLIB=: 6541 6542 6543 6544 6545 6546 6547# Determine commands to create old-style static archives. 6548old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6549old_postinstall_cmds='chmod 644 $oldlib' 6550old_postuninstall_cmds= 6551 6552if test -n "$RANLIB"; then 6553 case $host_os in 6554 bitrig* | openbsd*) 6555 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6556 ;; 6557 *) 6558 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6559 ;; 6560 esac 6561 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6562fi 6563 6564case $host_os in 6565 darwin*) 6566 lock_old_archive_extraction=yes ;; 6567 *) 6568 lock_old_archive_extraction=no ;; 6569esac 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609# If no C compiler was specified, use CC. 6610LTCC=${LTCC-"$CC"} 6611 6612# If no C compiler flags were specified, use CFLAGS. 6613LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6614 6615# Allow CC to be a program name with arguments. 6616compiler=$CC 6617 6618 6619# Check for command to grab the raw symbol name followed by C symbol from nm. 6620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6621$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6622if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6623 $as_echo_n "(cached) " >&6 6624else 6625 6626# These are sane defaults that work on at least a few old systems. 6627# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6628 6629# Character class describing NM global symbol codes. 6630symcode='[BCDEGRST]' 6631 6632# Regexp to match symbols that can be accessed directly from C. 6633sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6634 6635# Define system-specific variables. 6636case $host_os in 6637aix*) 6638 symcode='[BCDT]' 6639 ;; 6640cygwin* | mingw* | pw32* | cegcc*) 6641 symcode='[ABCDGISTW]' 6642 ;; 6643hpux*) 6644 if test ia64 = "$host_cpu"; then 6645 symcode='[ABCDEGRST]' 6646 fi 6647 ;; 6648irix* | nonstopux*) 6649 symcode='[BCDEGRST]' 6650 ;; 6651osf*) 6652 symcode='[BCDEGQRST]' 6653 ;; 6654solaris*) 6655 symcode='[BDRT]' 6656 ;; 6657sco3.2v5*) 6658 symcode='[DT]' 6659 ;; 6660sysv4.2uw2*) 6661 symcode='[DT]' 6662 ;; 6663sysv5* | sco5v6* | unixware* | OpenUNIX*) 6664 symcode='[ABDT]' 6665 ;; 6666sysv4) 6667 symcode='[DFNSTU]' 6668 ;; 6669esac 6670 6671# If we're using GNU nm, then use its standard symbol codes. 6672case `$NM -V 2>&1` in 6673*GNU* | *'with BFD'*) 6674 symcode='[ABCDGIRSTW]' ;; 6675esac 6676 6677if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6678 # Gets list of data symbols to import. 6679 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6680 # Adjust the below global symbol transforms to fixup imported variables. 6681 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6682 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6683 lt_c_name_lib_hook="\ 6684 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6685 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6686else 6687 # Disable hooks by default. 6688 lt_cv_sys_global_symbol_to_import= 6689 lt_cdecl_hook= 6690 lt_c_name_hook= 6691 lt_c_name_lib_hook= 6692fi 6693 6694# Transform an extracted symbol line into a proper C declaration. 6695# Some systems (esp. on ia64) link data and code symbols differently, 6696# so use this general approach. 6697lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6698$lt_cdecl_hook\ 6699" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6700" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6701 6702# Transform an extracted symbol line into symbol name and symbol address 6703lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6704$lt_c_name_hook\ 6705" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6706" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6707 6708# Transform an extracted symbol line into symbol name with lib prefix and 6709# symbol address. 6710lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6711$lt_c_name_lib_hook\ 6712" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6713" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6714" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6715 6716# Handle CRLF in mingw tool chain 6717opt_cr= 6718case $build_os in 6719mingw*) 6720 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6721 ;; 6722esac 6723 6724# Try without a prefix underscore, then with it. 6725for ac_symprfx in "" "_"; do 6726 6727 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6728 symxfrm="\\1 $ac_symprfx\\2 \\2" 6729 6730 # Write the raw and C identifiers. 6731 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6732 # Fake it for dumpbin and say T for any non-static function, 6733 # D for any global variable and I for any imported variable. 6734 # Also find C++ and __fastcall symbols from MSVC++, 6735 # which start with @ or ?. 6736 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6737" {last_section=section; section=\$ 3};"\ 6738" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6739" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6740" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6741" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6742" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6743" \$ 0!~/External *\|/{next};"\ 6744" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6745" {if(hide[section]) next};"\ 6746" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6747" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6748" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6749" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6750" ' prfx=^$ac_symprfx" 6751 else 6752 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6753 fi 6754 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6755 6756 # Check to see that the pipe works correctly. 6757 pipe_works=no 6758 6759 rm -f conftest* 6760 cat > conftest.$ac_ext <<_LT_EOF 6761#ifdef __cplusplus 6762extern "C" { 6763#endif 6764char nm_test_var; 6765void nm_test_func(void); 6766void nm_test_func(void){} 6767#ifdef __cplusplus 6768} 6769#endif 6770int main(){nm_test_var='a';nm_test_func();return(0);} 6771_LT_EOF 6772 6773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6774 (eval $ac_compile) 2>&5 6775 ac_status=$? 6776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6777 test $ac_status = 0; }; then 6778 # Now try to grab the symbols. 6779 nlist=conftest.nm 6780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6781 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6782 ac_status=$? 6783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6784 test $ac_status = 0; } && test -s "$nlist"; then 6785 # Try sorting and uniquifying the output. 6786 if sort "$nlist" | uniq > "$nlist"T; then 6787 mv -f "$nlist"T "$nlist" 6788 else 6789 rm -f "$nlist"T 6790 fi 6791 6792 # Make sure that we snagged all the symbols we need. 6793 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6794 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6795 cat <<_LT_EOF > conftest.$ac_ext 6796/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6797#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6798/* DATA imports from DLLs on WIN32 can't be const, because runtime 6799 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6800# define LT_DLSYM_CONST 6801#elif defined __osf__ 6802/* This system does not cope well with relocations in const data. */ 6803# define LT_DLSYM_CONST 6804#else 6805# define LT_DLSYM_CONST const 6806#endif 6807 6808#ifdef __cplusplus 6809extern "C" { 6810#endif 6811 6812_LT_EOF 6813 # Now generate the symbol file. 6814 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6815 6816 cat <<_LT_EOF >> conftest.$ac_ext 6817 6818/* The mapping between symbol names and symbols. */ 6819LT_DLSYM_CONST struct { 6820 const char *name; 6821 void *address; 6822} 6823lt__PROGRAM__LTX_preloaded_symbols[] = 6824{ 6825 { "@PROGRAM@", (void *) 0 }, 6826_LT_EOF 6827 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6828 cat <<\_LT_EOF >> conftest.$ac_ext 6829 {0, (void *) 0} 6830}; 6831 6832/* This works around a problem in FreeBSD linker */ 6833#ifdef FREEBSD_WORKAROUND 6834static const void *lt_preloaded_setup() { 6835 return lt__PROGRAM__LTX_preloaded_symbols; 6836} 6837#endif 6838 6839#ifdef __cplusplus 6840} 6841#endif 6842_LT_EOF 6843 # Now try linking the two files. 6844 mv conftest.$ac_objext conftstm.$ac_objext 6845 lt_globsym_save_LIBS=$LIBS 6846 lt_globsym_save_CFLAGS=$CFLAGS 6847 LIBS=conftstm.$ac_objext 6848 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6850 (eval $ac_link) 2>&5 6851 ac_status=$? 6852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6853 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6854 pipe_works=yes 6855 fi 6856 LIBS=$lt_globsym_save_LIBS 6857 CFLAGS=$lt_globsym_save_CFLAGS 6858 else 6859 echo "cannot find nm_test_func in $nlist" >&5 6860 fi 6861 else 6862 echo "cannot find nm_test_var in $nlist" >&5 6863 fi 6864 else 6865 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6866 fi 6867 else 6868 echo "$progname: failed program was:" >&5 6869 cat conftest.$ac_ext >&5 6870 fi 6871 rm -rf conftest* conftst* 6872 6873 # Do not use the global_symbol_pipe unless it works. 6874 if test yes = "$pipe_works"; then 6875 break 6876 else 6877 lt_cv_sys_global_symbol_pipe= 6878 fi 6879done 6880 6881fi 6882 6883if test -z "$lt_cv_sys_global_symbol_pipe"; then 6884 lt_cv_sys_global_symbol_to_cdecl= 6885fi 6886if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6888$as_echo "failed" >&6; } 6889else 6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6891$as_echo "ok" >&6; } 6892fi 6893 6894# Response file support. 6895if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6896 nm_file_list_spec='@' 6897elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6898 nm_file_list_spec='@' 6899fi 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6938$as_echo_n "checking for sysroot... " >&6; } 6939 6940# Check whether --with-sysroot was given. 6941if test "${with_sysroot+set}" = set; then : 6942 withval=$with_sysroot; 6943else 6944 with_sysroot=no 6945fi 6946 6947 6948lt_sysroot= 6949case $with_sysroot in #( 6950 yes) 6951 if test yes = "$GCC"; then 6952 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6953 fi 6954 ;; #( 6955 /*) 6956 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6957 ;; #( 6958 no|'') 6959 ;; #( 6960 *) 6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6962$as_echo "$with_sysroot" >&6; } 6963 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6964 ;; 6965esac 6966 6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6968$as_echo "${lt_sysroot:-no}" >&6; } 6969 6970 6971 6972 6973 6974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6975$as_echo_n "checking for a working dd... " >&6; } 6976if ${ac_cv_path_lt_DD+:} false; then : 6977 $as_echo_n "(cached) " >&6 6978else 6979 printf 0123456789abcdef0123456789abcdef >conftest.i 6980cat conftest.i conftest.i >conftest2.i 6981: ${lt_DD:=$DD} 6982if test -z "$lt_DD"; then 6983 ac_path_lt_DD_found=false 6984 # Loop through the user's path and test for each of PROGNAME-LIST 6985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6986for as_dir in $PATH 6987do 6988 IFS=$as_save_IFS 6989 test -z "$as_dir" && as_dir=. 6990 for ac_prog in dd; do 6991 for ac_exec_ext in '' $ac_executable_extensions; do 6992 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6993 as_fn_executable_p "$ac_path_lt_DD" || continue 6994if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6995 cmp -s conftest.i conftest.out \ 6996 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6997fi 6998 $ac_path_lt_DD_found && break 3 6999 done 7000 done 7001 done 7002IFS=$as_save_IFS 7003 if test -z "$ac_cv_path_lt_DD"; then 7004 : 7005 fi 7006else 7007 ac_cv_path_lt_DD=$lt_DD 7008fi 7009 7010rm -f conftest.i conftest2.i conftest.out 7011fi 7012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7013$as_echo "$ac_cv_path_lt_DD" >&6; } 7014 7015 7016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7017$as_echo_n "checking how to truncate binary pipes... " >&6; } 7018if ${lt_cv_truncate_bin+:} false; then : 7019 $as_echo_n "(cached) " >&6 7020else 7021 printf 0123456789abcdef0123456789abcdef >conftest.i 7022cat conftest.i conftest.i >conftest2.i 7023lt_cv_truncate_bin= 7024if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7025 cmp -s conftest.i conftest.out \ 7026 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7027fi 7028rm -f conftest.i conftest2.i conftest.out 7029test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7030fi 7031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7032$as_echo "$lt_cv_truncate_bin" >&6; } 7033 7034 7035 7036 7037 7038 7039 7040# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7041func_cc_basename () 7042{ 7043 for cc_temp in $*""; do 7044 case $cc_temp in 7045 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7046 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7047 \-*) ;; 7048 *) break;; 7049 esac 7050 done 7051 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7052} 7053 7054# Check whether --enable-libtool-lock was given. 7055if test "${enable_libtool_lock+set}" = set; then : 7056 enableval=$enable_libtool_lock; 7057fi 7058 7059test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7060 7061# Some flags need to be propagated to the compiler or linker for good 7062# libtool support. 7063case $host in 7064ia64-*-hpux*) 7065 # Find out what ABI is being produced by ac_compile, and set mode 7066 # options accordingly. 7067 echo 'int i;' > conftest.$ac_ext 7068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7069 (eval $ac_compile) 2>&5 7070 ac_status=$? 7071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7072 test $ac_status = 0; }; then 7073 case `/usr/bin/file conftest.$ac_objext` in 7074 *ELF-32*) 7075 HPUX_IA64_MODE=32 7076 ;; 7077 *ELF-64*) 7078 HPUX_IA64_MODE=64 7079 ;; 7080 esac 7081 fi 7082 rm -rf conftest* 7083 ;; 7084*-*-irix6*) 7085 # Find out what ABI is being produced by ac_compile, and set linker 7086 # options accordingly. 7087 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7088 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7089 (eval $ac_compile) 2>&5 7090 ac_status=$? 7091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7092 test $ac_status = 0; }; then 7093 if test yes = "$lt_cv_prog_gnu_ld"; then 7094 case `/usr/bin/file conftest.$ac_objext` in 7095 *32-bit*) 7096 LD="${LD-ld} -melf32bsmip" 7097 ;; 7098 *N32*) 7099 LD="${LD-ld} -melf32bmipn32" 7100 ;; 7101 *64-bit*) 7102 LD="${LD-ld} -melf64bmip" 7103 ;; 7104 esac 7105 else 7106 case `/usr/bin/file conftest.$ac_objext` in 7107 *32-bit*) 7108 LD="${LD-ld} -32" 7109 ;; 7110 *N32*) 7111 LD="${LD-ld} -n32" 7112 ;; 7113 *64-bit*) 7114 LD="${LD-ld} -64" 7115 ;; 7116 esac 7117 fi 7118 fi 7119 rm -rf conftest* 7120 ;; 7121 7122mips64*-*linux*) 7123 # Find out what ABI is being produced by ac_compile, and set linker 7124 # options accordingly. 7125 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7127 (eval $ac_compile) 2>&5 7128 ac_status=$? 7129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7130 test $ac_status = 0; }; then 7131 emul=elf 7132 case `/usr/bin/file conftest.$ac_objext` in 7133 *32-bit*) 7134 emul="${emul}32" 7135 ;; 7136 *64-bit*) 7137 emul="${emul}64" 7138 ;; 7139 esac 7140 case `/usr/bin/file conftest.$ac_objext` in 7141 *MSB*) 7142 emul="${emul}btsmip" 7143 ;; 7144 *LSB*) 7145 emul="${emul}ltsmip" 7146 ;; 7147 esac 7148 case `/usr/bin/file conftest.$ac_objext` in 7149 *N32*) 7150 emul="${emul}n32" 7151 ;; 7152 esac 7153 LD="${LD-ld} -m $emul" 7154 fi 7155 rm -rf conftest* 7156 ;; 7157 7158x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7159s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7160 # Find out what ABI is being produced by ac_compile, and set linker 7161 # options accordingly. Note that the listed cases only cover the 7162 # situations where additional linker options are needed (such as when 7163 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7164 # vice versa); the common cases where no linker options are needed do 7165 # not appear in the list. 7166 echo 'int i;' > conftest.$ac_ext 7167 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7168 (eval $ac_compile) 2>&5 7169 ac_status=$? 7170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7171 test $ac_status = 0; }; then 7172 case `/usr/bin/file conftest.o` in 7173 *32-bit*) 7174 case $host in 7175 x86_64-*kfreebsd*-gnu) 7176 LD="${LD-ld} -m elf_i386_fbsd" 7177 ;; 7178 x86_64-*linux*) 7179 case `/usr/bin/file conftest.o` in 7180 *x86-64*) 7181 LD="${LD-ld} -m elf32_x86_64" 7182 ;; 7183 *) 7184 LD="${LD-ld} -m elf_i386" 7185 ;; 7186 esac 7187 ;; 7188 powerpc64le-*linux*) 7189 LD="${LD-ld} -m elf32lppclinux" 7190 ;; 7191 powerpc64-*linux*) 7192 LD="${LD-ld} -m elf32ppclinux" 7193 ;; 7194 s390x-*linux*) 7195 LD="${LD-ld} -m elf_s390" 7196 ;; 7197 sparc64-*linux*) 7198 LD="${LD-ld} -m elf32_sparc" 7199 ;; 7200 esac 7201 ;; 7202 *64-bit*) 7203 case $host in 7204 x86_64-*kfreebsd*-gnu) 7205 LD="${LD-ld} -m elf_x86_64_fbsd" 7206 ;; 7207 x86_64-*linux*) 7208 LD="${LD-ld} -m elf_x86_64" 7209 ;; 7210 powerpcle-*linux*) 7211 LD="${LD-ld} -m elf64lppc" 7212 ;; 7213 powerpc-*linux*) 7214 LD="${LD-ld} -m elf64ppc" 7215 ;; 7216 s390*-*linux*|s390*-*tpf*) 7217 LD="${LD-ld} -m elf64_s390" 7218 ;; 7219 sparc*-*linux*) 7220 LD="${LD-ld} -m elf64_sparc" 7221 ;; 7222 esac 7223 ;; 7224 esac 7225 fi 7226 rm -rf conftest* 7227 ;; 7228 7229*-*-sco3.2v5*) 7230 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7231 SAVE_CFLAGS=$CFLAGS 7232 CFLAGS="$CFLAGS -belf" 7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7234$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7235if ${lt_cv_cc_needs_belf+:} false; then : 7236 $as_echo_n "(cached) " >&6 7237else 7238 ac_ext=c 7239ac_cpp='$CPP $CPPFLAGS' 7240ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7241ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7242ac_compiler_gnu=$ac_cv_c_compiler_gnu 7243 7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7245/* end confdefs.h. */ 7246 7247int 7248main () 7249{ 7250 7251 ; 7252 return 0; 7253} 7254_ACEOF 7255if ac_fn_c_try_link "$LINENO"; then : 7256 lt_cv_cc_needs_belf=yes 7257else 7258 lt_cv_cc_needs_belf=no 7259fi 7260rm -f core conftest.err conftest.$ac_objext \ 7261 conftest$ac_exeext conftest.$ac_ext 7262 ac_ext=c 7263ac_cpp='$CPP $CPPFLAGS' 7264ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7265ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7266ac_compiler_gnu=$ac_cv_c_compiler_gnu 7267 7268fi 7269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7270$as_echo "$lt_cv_cc_needs_belf" >&6; } 7271 if test yes != "$lt_cv_cc_needs_belf"; then 7272 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7273 CFLAGS=$SAVE_CFLAGS 7274 fi 7275 ;; 7276*-*solaris*) 7277 # Find out what ABI is being produced by ac_compile, and set linker 7278 # options accordingly. 7279 echo 'int i;' > conftest.$ac_ext 7280 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7281 (eval $ac_compile) 2>&5 7282 ac_status=$? 7283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7284 test $ac_status = 0; }; then 7285 case `/usr/bin/file conftest.o` in 7286 *64-bit*) 7287 case $lt_cv_prog_gnu_ld in 7288 yes*) 7289 case $host in 7290 i?86-*-solaris*|x86_64-*-solaris*) 7291 LD="${LD-ld} -m elf_x86_64" 7292 ;; 7293 sparc*-*-solaris*) 7294 LD="${LD-ld} -m elf64_sparc" 7295 ;; 7296 esac 7297 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7298 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7299 LD=${LD-ld}_sol2 7300 fi 7301 ;; 7302 *) 7303 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7304 LD="${LD-ld} -64" 7305 fi 7306 ;; 7307 esac 7308 ;; 7309 esac 7310 fi 7311 rm -rf conftest* 7312 ;; 7313esac 7314 7315need_locks=$enable_libtool_lock 7316 7317if test -n "$ac_tool_prefix"; then 7318 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7319set dummy ${ac_tool_prefix}mt; ac_word=$2 7320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7321$as_echo_n "checking for $ac_word... " >&6; } 7322if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7323 $as_echo_n "(cached) " >&6 7324else 7325 if test -n "$MANIFEST_TOOL"; then 7326 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7327else 7328as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7329for as_dir in $PATH 7330do 7331 IFS=$as_save_IFS 7332 test -z "$as_dir" && as_dir=. 7333 for ac_exec_ext in '' $ac_executable_extensions; do 7334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7335 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7337 break 2 7338 fi 7339done 7340 done 7341IFS=$as_save_IFS 7342 7343fi 7344fi 7345MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7346if test -n "$MANIFEST_TOOL"; then 7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7348$as_echo "$MANIFEST_TOOL" >&6; } 7349else 7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7351$as_echo "no" >&6; } 7352fi 7353 7354 7355fi 7356if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7357 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7358 # Extract the first word of "mt", so it can be a program name with args. 7359set dummy mt; ac_word=$2 7360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7361$as_echo_n "checking for $ac_word... " >&6; } 7362if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7363 $as_echo_n "(cached) " >&6 7364else 7365 if test -n "$ac_ct_MANIFEST_TOOL"; then 7366 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7367else 7368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7369for as_dir in $PATH 7370do 7371 IFS=$as_save_IFS 7372 test -z "$as_dir" && as_dir=. 7373 for ac_exec_ext in '' $ac_executable_extensions; do 7374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7375 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7377 break 2 7378 fi 7379done 7380 done 7381IFS=$as_save_IFS 7382 7383fi 7384fi 7385ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7386if test -n "$ac_ct_MANIFEST_TOOL"; then 7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7388$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7389else 7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7391$as_echo "no" >&6; } 7392fi 7393 7394 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7395 MANIFEST_TOOL=":" 7396 else 7397 case $cross_compiling:$ac_tool_warned in 7398yes:) 7399{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7400$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7401ac_tool_warned=yes ;; 7402esac 7403 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7404 fi 7405else 7406 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7407fi 7408 7409test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7411$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7412if ${lt_cv_path_mainfest_tool+:} false; then : 7413 $as_echo_n "(cached) " >&6 7414else 7415 lt_cv_path_mainfest_tool=no 7416 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7417 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7418 cat conftest.err >&5 7419 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7420 lt_cv_path_mainfest_tool=yes 7421 fi 7422 rm -f conftest* 7423fi 7424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7425$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7426if test yes != "$lt_cv_path_mainfest_tool"; then 7427 MANIFEST_TOOL=: 7428fi 7429 7430 7431 7432 7433 7434 7435 case $host_os in 7436 rhapsody* | darwin*) 7437 if test -n "$ac_tool_prefix"; then 7438 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7439set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7441$as_echo_n "checking for $ac_word... " >&6; } 7442if ${ac_cv_prog_DSYMUTIL+:} false; then : 7443 $as_echo_n "(cached) " >&6 7444else 7445 if test -n "$DSYMUTIL"; then 7446 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7447else 7448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7449for as_dir in $PATH 7450do 7451 IFS=$as_save_IFS 7452 test -z "$as_dir" && as_dir=. 7453 for ac_exec_ext in '' $ac_executable_extensions; do 7454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7455 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7457 break 2 7458 fi 7459done 7460 done 7461IFS=$as_save_IFS 7462 7463fi 7464fi 7465DSYMUTIL=$ac_cv_prog_DSYMUTIL 7466if test -n "$DSYMUTIL"; then 7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7468$as_echo "$DSYMUTIL" >&6; } 7469else 7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7471$as_echo "no" >&6; } 7472fi 7473 7474 7475fi 7476if test -z "$ac_cv_prog_DSYMUTIL"; then 7477 ac_ct_DSYMUTIL=$DSYMUTIL 7478 # Extract the first word of "dsymutil", so it can be a program name with args. 7479set dummy dsymutil; ac_word=$2 7480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7481$as_echo_n "checking for $ac_word... " >&6; } 7482if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7483 $as_echo_n "(cached) " >&6 7484else 7485 if test -n "$ac_ct_DSYMUTIL"; then 7486 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7487else 7488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7489for as_dir in $PATH 7490do 7491 IFS=$as_save_IFS 7492 test -z "$as_dir" && as_dir=. 7493 for ac_exec_ext in '' $ac_executable_extensions; do 7494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7495 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7497 break 2 7498 fi 7499done 7500 done 7501IFS=$as_save_IFS 7502 7503fi 7504fi 7505ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7506if test -n "$ac_ct_DSYMUTIL"; then 7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7508$as_echo "$ac_ct_DSYMUTIL" >&6; } 7509else 7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7511$as_echo "no" >&6; } 7512fi 7513 7514 if test "x$ac_ct_DSYMUTIL" = x; then 7515 DSYMUTIL=":" 7516 else 7517 case $cross_compiling:$ac_tool_warned in 7518yes:) 7519{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7520$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7521ac_tool_warned=yes ;; 7522esac 7523 DSYMUTIL=$ac_ct_DSYMUTIL 7524 fi 7525else 7526 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7527fi 7528 7529 if test -n "$ac_tool_prefix"; then 7530 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7531set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7533$as_echo_n "checking for $ac_word... " >&6; } 7534if ${ac_cv_prog_NMEDIT+:} false; then : 7535 $as_echo_n "(cached) " >&6 7536else 7537 if test -n "$NMEDIT"; then 7538 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7539else 7540as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7541for as_dir in $PATH 7542do 7543 IFS=$as_save_IFS 7544 test -z "$as_dir" && as_dir=. 7545 for ac_exec_ext in '' $ac_executable_extensions; do 7546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7547 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7549 break 2 7550 fi 7551done 7552 done 7553IFS=$as_save_IFS 7554 7555fi 7556fi 7557NMEDIT=$ac_cv_prog_NMEDIT 7558if test -n "$NMEDIT"; then 7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7560$as_echo "$NMEDIT" >&6; } 7561else 7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7563$as_echo "no" >&6; } 7564fi 7565 7566 7567fi 7568if test -z "$ac_cv_prog_NMEDIT"; then 7569 ac_ct_NMEDIT=$NMEDIT 7570 # Extract the first word of "nmedit", so it can be a program name with args. 7571set dummy nmedit; ac_word=$2 7572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7573$as_echo_n "checking for $ac_word... " >&6; } 7574if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7575 $as_echo_n "(cached) " >&6 7576else 7577 if test -n "$ac_ct_NMEDIT"; then 7578 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7579else 7580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7581for as_dir in $PATH 7582do 7583 IFS=$as_save_IFS 7584 test -z "$as_dir" && as_dir=. 7585 for ac_exec_ext in '' $ac_executable_extensions; do 7586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7587 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7589 break 2 7590 fi 7591done 7592 done 7593IFS=$as_save_IFS 7594 7595fi 7596fi 7597ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7598if test -n "$ac_ct_NMEDIT"; then 7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7600$as_echo "$ac_ct_NMEDIT" >&6; } 7601else 7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7603$as_echo "no" >&6; } 7604fi 7605 7606 if test "x$ac_ct_NMEDIT" = x; then 7607 NMEDIT=":" 7608 else 7609 case $cross_compiling:$ac_tool_warned in 7610yes:) 7611{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7612$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7613ac_tool_warned=yes ;; 7614esac 7615 NMEDIT=$ac_ct_NMEDIT 7616 fi 7617else 7618 NMEDIT="$ac_cv_prog_NMEDIT" 7619fi 7620 7621 if test -n "$ac_tool_prefix"; then 7622 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7623set dummy ${ac_tool_prefix}lipo; ac_word=$2 7624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7625$as_echo_n "checking for $ac_word... " >&6; } 7626if ${ac_cv_prog_LIPO+:} false; then : 7627 $as_echo_n "(cached) " >&6 7628else 7629 if test -n "$LIPO"; then 7630 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7631else 7632as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7633for as_dir in $PATH 7634do 7635 IFS=$as_save_IFS 7636 test -z "$as_dir" && as_dir=. 7637 for ac_exec_ext in '' $ac_executable_extensions; do 7638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7639 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7641 break 2 7642 fi 7643done 7644 done 7645IFS=$as_save_IFS 7646 7647fi 7648fi 7649LIPO=$ac_cv_prog_LIPO 7650if test -n "$LIPO"; then 7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7652$as_echo "$LIPO" >&6; } 7653else 7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7655$as_echo "no" >&6; } 7656fi 7657 7658 7659fi 7660if test -z "$ac_cv_prog_LIPO"; then 7661 ac_ct_LIPO=$LIPO 7662 # Extract the first word of "lipo", so it can be a program name with args. 7663set dummy lipo; ac_word=$2 7664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7665$as_echo_n "checking for $ac_word... " >&6; } 7666if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7667 $as_echo_n "(cached) " >&6 7668else 7669 if test -n "$ac_ct_LIPO"; then 7670 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7671else 7672as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7673for as_dir in $PATH 7674do 7675 IFS=$as_save_IFS 7676 test -z "$as_dir" && as_dir=. 7677 for ac_exec_ext in '' $ac_executable_extensions; do 7678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7679 ac_cv_prog_ac_ct_LIPO="lipo" 7680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7681 break 2 7682 fi 7683done 7684 done 7685IFS=$as_save_IFS 7686 7687fi 7688fi 7689ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7690if test -n "$ac_ct_LIPO"; then 7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7692$as_echo "$ac_ct_LIPO" >&6; } 7693else 7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7695$as_echo "no" >&6; } 7696fi 7697 7698 if test "x$ac_ct_LIPO" = x; then 7699 LIPO=":" 7700 else 7701 case $cross_compiling:$ac_tool_warned in 7702yes:) 7703{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7704$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7705ac_tool_warned=yes ;; 7706esac 7707 LIPO=$ac_ct_LIPO 7708 fi 7709else 7710 LIPO="$ac_cv_prog_LIPO" 7711fi 7712 7713 if test -n "$ac_tool_prefix"; then 7714 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7715set dummy ${ac_tool_prefix}otool; ac_word=$2 7716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7717$as_echo_n "checking for $ac_word... " >&6; } 7718if ${ac_cv_prog_OTOOL+:} false; then : 7719 $as_echo_n "(cached) " >&6 7720else 7721 if test -n "$OTOOL"; then 7722 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7723else 7724as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7725for as_dir in $PATH 7726do 7727 IFS=$as_save_IFS 7728 test -z "$as_dir" && as_dir=. 7729 for ac_exec_ext in '' $ac_executable_extensions; do 7730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7731 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7733 break 2 7734 fi 7735done 7736 done 7737IFS=$as_save_IFS 7738 7739fi 7740fi 7741OTOOL=$ac_cv_prog_OTOOL 7742if test -n "$OTOOL"; then 7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7744$as_echo "$OTOOL" >&6; } 7745else 7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7747$as_echo "no" >&6; } 7748fi 7749 7750 7751fi 7752if test -z "$ac_cv_prog_OTOOL"; then 7753 ac_ct_OTOOL=$OTOOL 7754 # Extract the first word of "otool", so it can be a program name with args. 7755set dummy otool; ac_word=$2 7756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7757$as_echo_n "checking for $ac_word... " >&6; } 7758if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7759 $as_echo_n "(cached) " >&6 7760else 7761 if test -n "$ac_ct_OTOOL"; then 7762 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7763else 7764as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7765for as_dir in $PATH 7766do 7767 IFS=$as_save_IFS 7768 test -z "$as_dir" && as_dir=. 7769 for ac_exec_ext in '' $ac_executable_extensions; do 7770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7771 ac_cv_prog_ac_ct_OTOOL="otool" 7772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7773 break 2 7774 fi 7775done 7776 done 7777IFS=$as_save_IFS 7778 7779fi 7780fi 7781ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7782if test -n "$ac_ct_OTOOL"; then 7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7784$as_echo "$ac_ct_OTOOL" >&6; } 7785else 7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7787$as_echo "no" >&6; } 7788fi 7789 7790 if test "x$ac_ct_OTOOL" = x; then 7791 OTOOL=":" 7792 else 7793 case $cross_compiling:$ac_tool_warned in 7794yes:) 7795{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7796$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7797ac_tool_warned=yes ;; 7798esac 7799 OTOOL=$ac_ct_OTOOL 7800 fi 7801else 7802 OTOOL="$ac_cv_prog_OTOOL" 7803fi 7804 7805 if test -n "$ac_tool_prefix"; then 7806 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7807set dummy ${ac_tool_prefix}otool64; ac_word=$2 7808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7809$as_echo_n "checking for $ac_word... " >&6; } 7810if ${ac_cv_prog_OTOOL64+:} false; then : 7811 $as_echo_n "(cached) " >&6 7812else 7813 if test -n "$OTOOL64"; then 7814 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7815else 7816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7817for as_dir in $PATH 7818do 7819 IFS=$as_save_IFS 7820 test -z "$as_dir" && as_dir=. 7821 for ac_exec_ext in '' $ac_executable_extensions; do 7822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7823 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7825 break 2 7826 fi 7827done 7828 done 7829IFS=$as_save_IFS 7830 7831fi 7832fi 7833OTOOL64=$ac_cv_prog_OTOOL64 7834if test -n "$OTOOL64"; then 7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7836$as_echo "$OTOOL64" >&6; } 7837else 7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7839$as_echo "no" >&6; } 7840fi 7841 7842 7843fi 7844if test -z "$ac_cv_prog_OTOOL64"; then 7845 ac_ct_OTOOL64=$OTOOL64 7846 # Extract the first word of "otool64", so it can be a program name with args. 7847set dummy otool64; ac_word=$2 7848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7849$as_echo_n "checking for $ac_word... " >&6; } 7850if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7851 $as_echo_n "(cached) " >&6 7852else 7853 if test -n "$ac_ct_OTOOL64"; then 7854 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7855else 7856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7857for as_dir in $PATH 7858do 7859 IFS=$as_save_IFS 7860 test -z "$as_dir" && as_dir=. 7861 for ac_exec_ext in '' $ac_executable_extensions; do 7862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7863 ac_cv_prog_ac_ct_OTOOL64="otool64" 7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7865 break 2 7866 fi 7867done 7868 done 7869IFS=$as_save_IFS 7870 7871fi 7872fi 7873ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7874if test -n "$ac_ct_OTOOL64"; then 7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7876$as_echo "$ac_ct_OTOOL64" >&6; } 7877else 7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7879$as_echo "no" >&6; } 7880fi 7881 7882 if test "x$ac_ct_OTOOL64" = x; then 7883 OTOOL64=":" 7884 else 7885 case $cross_compiling:$ac_tool_warned in 7886yes:) 7887{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7888$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7889ac_tool_warned=yes ;; 7890esac 7891 OTOOL64=$ac_ct_OTOOL64 7892 fi 7893else 7894 OTOOL64="$ac_cv_prog_OTOOL64" 7895fi 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7924$as_echo_n "checking for -single_module linker flag... " >&6; } 7925if ${lt_cv_apple_cc_single_mod+:} false; then : 7926 $as_echo_n "(cached) " >&6 7927else 7928 lt_cv_apple_cc_single_mod=no 7929 if test -z "$LT_MULTI_MODULE"; then 7930 # By default we will add the -single_module flag. You can override 7931 # by either setting the environment variable LT_MULTI_MODULE 7932 # non-empty at configure time, or by adding -multi_module to the 7933 # link flags. 7934 rm -rf libconftest.dylib* 7935 echo "int foo(void){return 1;}" > conftest.c 7936 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7937-dynamiclib -Wl,-single_module conftest.c" >&5 7938 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7939 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7940 _lt_result=$? 7941 # If there is a non-empty error log, and "single_module" 7942 # appears in it, assume the flag caused a linker warning 7943 if test -s conftest.err && $GREP single_module conftest.err; then 7944 cat conftest.err >&5 7945 # Otherwise, if the output was created with a 0 exit code from 7946 # the compiler, it worked. 7947 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7948 lt_cv_apple_cc_single_mod=yes 7949 else 7950 cat conftest.err >&5 7951 fi 7952 rm -rf libconftest.dylib* 7953 rm -f conftest.* 7954 fi 7955fi 7956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7957$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7958 7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7960$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7961if ${lt_cv_ld_exported_symbols_list+:} false; then : 7962 $as_echo_n "(cached) " >&6 7963else 7964 lt_cv_ld_exported_symbols_list=no 7965 save_LDFLAGS=$LDFLAGS 7966 echo "_main" > conftest.sym 7967 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7969/* end confdefs.h. */ 7970 7971int 7972main () 7973{ 7974 7975 ; 7976 return 0; 7977} 7978_ACEOF 7979if ac_fn_c_try_link "$LINENO"; then : 7980 lt_cv_ld_exported_symbols_list=yes 7981else 7982 lt_cv_ld_exported_symbols_list=no 7983fi 7984rm -f core conftest.err conftest.$ac_objext \ 7985 conftest$ac_exeext conftest.$ac_ext 7986 LDFLAGS=$save_LDFLAGS 7987 7988fi 7989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7990$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7991 7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7993$as_echo_n "checking for -force_load linker flag... " >&6; } 7994if ${lt_cv_ld_force_load+:} false; then : 7995 $as_echo_n "(cached) " >&6 7996else 7997 lt_cv_ld_force_load=no 7998 cat > conftest.c << _LT_EOF 7999int forced_loaded() { return 2;} 8000_LT_EOF 8001 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8002 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8003 echo "$AR cru libconftest.a conftest.o" >&5 8004 $AR cru libconftest.a conftest.o 2>&5 8005 echo "$RANLIB libconftest.a" >&5 8006 $RANLIB libconftest.a 2>&5 8007 cat > conftest.c << _LT_EOF 8008int main() { return 0;} 8009_LT_EOF 8010 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8011 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8012 _lt_result=$? 8013 if test -s conftest.err && $GREP force_load conftest.err; then 8014 cat conftest.err >&5 8015 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8016 lt_cv_ld_force_load=yes 8017 else 8018 cat conftest.err >&5 8019 fi 8020 rm -f conftest.err libconftest.a conftest conftest.c 8021 rm -rf conftest.dSYM 8022 8023fi 8024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8025$as_echo "$lt_cv_ld_force_load" >&6; } 8026 case $host_os in 8027 rhapsody* | darwin1.[012]) 8028 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8029 darwin1.*) 8030 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8031 darwin*) # darwin 5.x on 8032 # if running on 10.5 or later, the deployment target defaults 8033 # to the OS version, if on x86, and 10.4, the deployment 8034 # target defaults to 10.4. Don't you love it? 8035 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8036 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8037 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8038 10.[012][,.]*) 8039 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8040 10.*) 8041 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8042 esac 8043 ;; 8044 esac 8045 if test yes = "$lt_cv_apple_cc_single_mod"; then 8046 _lt_dar_single_mod='$single_module' 8047 fi 8048 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8049 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8050 else 8051 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8052 fi 8053 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8054 _lt_dsymutil='~$DSYMUTIL $lib || :' 8055 else 8056 _lt_dsymutil= 8057 fi 8058 ;; 8059 esac 8060 8061# func_munge_path_list VARIABLE PATH 8062# ----------------------------------- 8063# VARIABLE is name of variable containing _space_ separated list of 8064# directories to be munged by the contents of PATH, which is string 8065# having a format: 8066# "DIR[:DIR]:" 8067# string "DIR[ DIR]" will be prepended to VARIABLE 8068# ":DIR[:DIR]" 8069# string "DIR[ DIR]" will be appended to VARIABLE 8070# "DIRP[:DIRP]::[DIRA:]DIRA" 8071# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8072# "DIRA[ DIRA]" will be appended to VARIABLE 8073# "DIR[:DIR]" 8074# VARIABLE will be replaced by "DIR[ DIR]" 8075func_munge_path_list () 8076{ 8077 case x$2 in 8078 x) 8079 ;; 8080 *:) 8081 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8082 ;; 8083 x:*) 8084 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8085 ;; 8086 *::*) 8087 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8088 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8089 ;; 8090 *) 8091 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8092 ;; 8093 esac 8094} 8095 8096for ac_header in dlfcn.h 8097do : 8098 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8099" 8100if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8101 cat >>confdefs.h <<_ACEOF 8102#define HAVE_DLFCN_H 1 8103_ACEOF 8104 8105fi 8106 8107done 8108 8109 8110 8111 8112 8113# Set options 8114 8115 8116 8117 enable_dlopen=no 8118 8119 8120 enable_win32_dll=no 8121 8122 8123 # Check whether --enable-shared was given. 8124if test "${enable_shared+set}" = set; then : 8125 enableval=$enable_shared; p=${PACKAGE-default} 8126 case $enableval in 8127 yes) enable_shared=yes ;; 8128 no) enable_shared=no ;; 8129 *) 8130 enable_shared=no 8131 # Look at the argument we got. We use all the common list separators. 8132 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8133 for pkg in $enableval; do 8134 IFS=$lt_save_ifs 8135 if test "X$pkg" = "X$p"; then 8136 enable_shared=yes 8137 fi 8138 done 8139 IFS=$lt_save_ifs 8140 ;; 8141 esac 8142else 8143 enable_shared=yes 8144fi 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 # Check whether --enable-static was given. 8155if test "${enable_static+set}" = set; then : 8156 enableval=$enable_static; p=${PACKAGE-default} 8157 case $enableval in 8158 yes) enable_static=yes ;; 8159 no) enable_static=no ;; 8160 *) 8161 enable_static=no 8162 # Look at the argument we got. We use all the common list separators. 8163 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8164 for pkg in $enableval; do 8165 IFS=$lt_save_ifs 8166 if test "X$pkg" = "X$p"; then 8167 enable_static=yes 8168 fi 8169 done 8170 IFS=$lt_save_ifs 8171 ;; 8172 esac 8173else 8174 enable_static=yes 8175fi 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186# Check whether --with-pic was given. 8187if test "${with_pic+set}" = set; then : 8188 withval=$with_pic; lt_p=${PACKAGE-default} 8189 case $withval in 8190 yes|no) pic_mode=$withval ;; 8191 *) 8192 pic_mode=default 8193 # Look at the argument we got. We use all the common list separators. 8194 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8195 for lt_pkg in $withval; do 8196 IFS=$lt_save_ifs 8197 if test "X$lt_pkg" = "X$lt_p"; then 8198 pic_mode=yes 8199 fi 8200 done 8201 IFS=$lt_save_ifs 8202 ;; 8203 esac 8204else 8205 pic_mode=default 8206fi 8207 8208 8209 8210 8211 8212 8213 8214 8215 # Check whether --enable-fast-install was given. 8216if test "${enable_fast_install+set}" = set; then : 8217 enableval=$enable_fast_install; p=${PACKAGE-default} 8218 case $enableval in 8219 yes) enable_fast_install=yes ;; 8220 no) enable_fast_install=no ;; 8221 *) 8222 enable_fast_install=no 8223 # Look at the argument we got. We use all the common list separators. 8224 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8225 for pkg in $enableval; do 8226 IFS=$lt_save_ifs 8227 if test "X$pkg" = "X$p"; then 8228 enable_fast_install=yes 8229 fi 8230 done 8231 IFS=$lt_save_ifs 8232 ;; 8233 esac 8234else 8235 enable_fast_install=yes 8236fi 8237 8238 8239 8240 8241 8242 8243 8244 8245 shared_archive_member_spec= 8246case $host,$enable_shared in 8247power*-*-aix[5-9]*,yes) 8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8249$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8250 8251# Check whether --with-aix-soname was given. 8252if test "${with_aix_soname+set}" = set; then : 8253 withval=$with_aix_soname; case $withval in 8254 aix|svr4|both) 8255 ;; 8256 *) 8257 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8258 ;; 8259 esac 8260 lt_cv_with_aix_soname=$with_aix_soname 8261else 8262 if ${lt_cv_with_aix_soname+:} false; then : 8263 $as_echo_n "(cached) " >&6 8264else 8265 lt_cv_with_aix_soname=aix 8266fi 8267 8268 with_aix_soname=$lt_cv_with_aix_soname 8269fi 8270 8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8272$as_echo "$with_aix_soname" >&6; } 8273 if test aix != "$with_aix_soname"; then 8274 # For the AIX way of multilib, we name the shared archive member 8275 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8276 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8277 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8278 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8279 if test 64 = "${OBJECT_MODE-32}"; then 8280 shared_archive_member_spec=shr_64 8281 else 8282 shared_archive_member_spec=shr 8283 fi 8284 fi 8285 ;; 8286*) 8287 with_aix_soname=aix 8288 ;; 8289esac 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300# This can be used to rebuild libtool when needed 8301LIBTOOL_DEPS=$ltmain 8302 8303# Always use our own libtool. 8304LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335test -z "$LN_S" && LN_S="ln -s" 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350if test -n "${ZSH_VERSION+set}"; then 8351 setopt NO_GLOB_SUBST 8352fi 8353 8354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8355$as_echo_n "checking for objdir... " >&6; } 8356if ${lt_cv_objdir+:} false; then : 8357 $as_echo_n "(cached) " >&6 8358else 8359 rm -f .libs 2>/dev/null 8360mkdir .libs 2>/dev/null 8361if test -d .libs; then 8362 lt_cv_objdir=.libs 8363else 8364 # MS-DOS does not allow filenames that begin with a dot. 8365 lt_cv_objdir=_libs 8366fi 8367rmdir .libs 2>/dev/null 8368fi 8369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8370$as_echo "$lt_cv_objdir" >&6; } 8371objdir=$lt_cv_objdir 8372 8373 8374 8375 8376 8377cat >>confdefs.h <<_ACEOF 8378#define LT_OBJDIR "$lt_cv_objdir/" 8379_ACEOF 8380 8381 8382 8383 8384case $host_os in 8385aix3*) 8386 # AIX sometimes has problems with the GCC collect2 program. For some 8387 # reason, if we set the COLLECT_NAMES environment variable, the problems 8388 # vanish in a puff of smoke. 8389 if test set != "${COLLECT_NAMES+set}"; then 8390 COLLECT_NAMES= 8391 export COLLECT_NAMES 8392 fi 8393 ;; 8394esac 8395 8396# Global variables: 8397ofile=libtool 8398can_build_shared=yes 8399 8400# All known linkers require a '.a' archive for static linking (except MSVC, 8401# which needs '.lib'). 8402libext=a 8403 8404with_gnu_ld=$lt_cv_prog_gnu_ld 8405 8406old_CC=$CC 8407old_CFLAGS=$CFLAGS 8408 8409# Set sane defaults for various variables 8410test -z "$CC" && CC=cc 8411test -z "$LTCC" && LTCC=$CC 8412test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8413test -z "$LD" && LD=ld 8414test -z "$ac_objext" && ac_objext=o 8415 8416func_cc_basename $compiler 8417cc_basename=$func_cc_basename_result 8418 8419 8420# Only perform the check for file, if the check method requires it 8421test -z "$MAGIC_CMD" && MAGIC_CMD=file 8422case $deplibs_check_method in 8423file_magic*) 8424 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8426$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8427if ${lt_cv_path_MAGIC_CMD+:} false; then : 8428 $as_echo_n "(cached) " >&6 8429else 8430 case $MAGIC_CMD in 8431[\\/*] | ?:[\\/]*) 8432 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8433 ;; 8434*) 8435 lt_save_MAGIC_CMD=$MAGIC_CMD 8436 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8437 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8438 for ac_dir in $ac_dummy; do 8439 IFS=$lt_save_ifs 8440 test -z "$ac_dir" && ac_dir=. 8441 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8442 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8443 if test -n "$file_magic_test_file"; then 8444 case $deplibs_check_method in 8445 "file_magic "*) 8446 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8447 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8448 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8449 $EGREP "$file_magic_regex" > /dev/null; then 8450 : 8451 else 8452 cat <<_LT_EOF 1>&2 8453 8454*** Warning: the command libtool uses to detect shared libraries, 8455*** $file_magic_cmd, produces output that libtool cannot recognize. 8456*** The result is that libtool may fail to recognize shared libraries 8457*** as such. This will affect the creation of libtool libraries that 8458*** depend on shared libraries, but programs linked with such libtool 8459*** libraries will work regardless of this problem. Nevertheless, you 8460*** may want to report the problem to your system manager and/or to 8461*** bug-libtool@gnu.org 8462 8463_LT_EOF 8464 fi ;; 8465 esac 8466 fi 8467 break 8468 fi 8469 done 8470 IFS=$lt_save_ifs 8471 MAGIC_CMD=$lt_save_MAGIC_CMD 8472 ;; 8473esac 8474fi 8475 8476MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8477if test -n "$MAGIC_CMD"; then 8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8479$as_echo "$MAGIC_CMD" >&6; } 8480else 8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8482$as_echo "no" >&6; } 8483fi 8484 8485 8486 8487 8488 8489if test -z "$lt_cv_path_MAGIC_CMD"; then 8490 if test -n "$ac_tool_prefix"; then 8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8492$as_echo_n "checking for file... " >&6; } 8493if ${lt_cv_path_MAGIC_CMD+:} false; then : 8494 $as_echo_n "(cached) " >&6 8495else 8496 case $MAGIC_CMD in 8497[\\/*] | ?:[\\/]*) 8498 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8499 ;; 8500*) 8501 lt_save_MAGIC_CMD=$MAGIC_CMD 8502 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8503 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8504 for ac_dir in $ac_dummy; do 8505 IFS=$lt_save_ifs 8506 test -z "$ac_dir" && ac_dir=. 8507 if test -f "$ac_dir/file"; then 8508 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8509 if test -n "$file_magic_test_file"; then 8510 case $deplibs_check_method in 8511 "file_magic "*) 8512 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8513 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8514 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8515 $EGREP "$file_magic_regex" > /dev/null; then 8516 : 8517 else 8518 cat <<_LT_EOF 1>&2 8519 8520*** Warning: the command libtool uses to detect shared libraries, 8521*** $file_magic_cmd, produces output that libtool cannot recognize. 8522*** The result is that libtool may fail to recognize shared libraries 8523*** as such. This will affect the creation of libtool libraries that 8524*** depend on shared libraries, but programs linked with such libtool 8525*** libraries will work regardless of this problem. Nevertheless, you 8526*** may want to report the problem to your system manager and/or to 8527*** bug-libtool@gnu.org 8528 8529_LT_EOF 8530 fi ;; 8531 esac 8532 fi 8533 break 8534 fi 8535 done 8536 IFS=$lt_save_ifs 8537 MAGIC_CMD=$lt_save_MAGIC_CMD 8538 ;; 8539esac 8540fi 8541 8542MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8543if test -n "$MAGIC_CMD"; then 8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8545$as_echo "$MAGIC_CMD" >&6; } 8546else 8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8548$as_echo "no" >&6; } 8549fi 8550 8551 8552 else 8553 MAGIC_CMD=: 8554 fi 8555fi 8556 8557 fi 8558 ;; 8559esac 8560 8561# Use C for the default configuration in the libtool script 8562 8563lt_save_CC=$CC 8564ac_ext=c 8565ac_cpp='$CPP $CPPFLAGS' 8566ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8567ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8568ac_compiler_gnu=$ac_cv_c_compiler_gnu 8569 8570 8571# Source file extension for C test sources. 8572ac_ext=c 8573 8574# Object file extension for compiled C test sources. 8575objext=o 8576objext=$objext 8577 8578# Code to be used in simple compile tests 8579lt_simple_compile_test_code="int some_variable = 0;" 8580 8581# Code to be used in simple link tests 8582lt_simple_link_test_code='int main(){return(0);}' 8583 8584 8585 8586 8587 8588 8589 8590# If no C compiler was specified, use CC. 8591LTCC=${LTCC-"$CC"} 8592 8593# If no C compiler flags were specified, use CFLAGS. 8594LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8595 8596# Allow CC to be a program name with arguments. 8597compiler=$CC 8598 8599# Save the default compiler, since it gets overwritten when the other 8600# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8601compiler_DEFAULT=$CC 8602 8603# save warnings/boilerplate of simple test code 8604ac_outfile=conftest.$ac_objext 8605echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8606eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8607_lt_compiler_boilerplate=`cat conftest.err` 8608$RM conftest* 8609 8610ac_outfile=conftest.$ac_objext 8611echo "$lt_simple_link_test_code" >conftest.$ac_ext 8612eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8613_lt_linker_boilerplate=`cat conftest.err` 8614$RM -r conftest* 8615 8616 8617## CAVEAT EMPTOR: 8618## There is no encapsulation within the following macros, do not change 8619## the running order or otherwise move them around unless you know exactly 8620## what you are doing... 8621if test -n "$compiler"; then 8622 8623lt_prog_compiler_no_builtin_flag= 8624 8625if test yes = "$GCC"; then 8626 case $cc_basename in 8627 nvcc*) 8628 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8629 *) 8630 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8631 esac 8632 8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8634$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8635if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8636 $as_echo_n "(cached) " >&6 8637else 8638 lt_cv_prog_compiler_rtti_exceptions=no 8639 ac_outfile=conftest.$ac_objext 8640 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8641 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8642 # Insert the option either (1) after the last *FLAGS variable, or 8643 # (2) before a word containing "conftest.", or (3) at the end. 8644 # Note that $ac_compile itself does not contain backslashes and begins 8645 # with a dollar sign (not a hyphen), so the echo should work correctly. 8646 # The option is referenced via a variable to avoid confusing sed. 8647 lt_compile=`echo "$ac_compile" | $SED \ 8648 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8649 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8650 -e 's:$: $lt_compiler_flag:'` 8651 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8652 (eval "$lt_compile" 2>conftest.err) 8653 ac_status=$? 8654 cat conftest.err >&5 8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8656 if (exit $ac_status) && test -s "$ac_outfile"; then 8657 # The compiler can only warn and ignore the option if not recognized 8658 # So say no if there are warnings other than the usual output. 8659 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8660 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8661 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8662 lt_cv_prog_compiler_rtti_exceptions=yes 8663 fi 8664 fi 8665 $RM conftest* 8666 8667fi 8668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8669$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8670 8671if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8672 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8673else 8674 : 8675fi 8676 8677fi 8678 8679 8680 8681 8682 8683 8684 lt_prog_compiler_wl= 8685lt_prog_compiler_pic= 8686lt_prog_compiler_static= 8687 8688 8689 if test yes = "$GCC"; then 8690 lt_prog_compiler_wl='-Wl,' 8691 lt_prog_compiler_static='-static' 8692 8693 case $host_os in 8694 aix*) 8695 # All AIX code is PIC. 8696 if test ia64 = "$host_cpu"; then 8697 # AIX 5 now supports IA64 processor 8698 lt_prog_compiler_static='-Bstatic' 8699 fi 8700 lt_prog_compiler_pic='-fPIC' 8701 ;; 8702 8703 amigaos*) 8704 case $host_cpu in 8705 powerpc) 8706 # see comment about AmigaOS4 .so support 8707 lt_prog_compiler_pic='-fPIC' 8708 ;; 8709 m68k) 8710 # FIXME: we need at least 68020 code to build shared libraries, but 8711 # adding the '-m68020' flag to GCC prevents building anything better, 8712 # like '-m68040'. 8713 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8714 ;; 8715 esac 8716 ;; 8717 8718 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8719 # PIC is the default for these OSes. 8720 ;; 8721 8722 mingw* | cygwin* | pw32* | os2* | cegcc*) 8723 # This hack is so that the source file can tell whether it is being 8724 # built for inclusion in a dll (and should export symbols for example). 8725 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8726 # (--disable-auto-import) libraries 8727 lt_prog_compiler_pic='-DDLL_EXPORT' 8728 case $host_os in 8729 os2*) 8730 lt_prog_compiler_static='$wl-static' 8731 ;; 8732 esac 8733 ;; 8734 8735 darwin* | rhapsody*) 8736 # PIC is the default on this platform 8737 # Common symbols not allowed in MH_DYLIB files 8738 lt_prog_compiler_pic='-fno-common' 8739 ;; 8740 8741 haiku*) 8742 # PIC is the default for Haiku. 8743 # The "-static" flag exists, but is broken. 8744 lt_prog_compiler_static= 8745 ;; 8746 8747 hpux*) 8748 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8749 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8750 # sets the default TLS model and affects inlining. 8751 case $host_cpu in 8752 hppa*64*) 8753 # +Z the default 8754 ;; 8755 *) 8756 lt_prog_compiler_pic='-fPIC' 8757 ;; 8758 esac 8759 ;; 8760 8761 interix[3-9]*) 8762 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8763 # Instead, we relocate shared libraries at runtime. 8764 ;; 8765 8766 msdosdjgpp*) 8767 # Just because we use GCC doesn't mean we suddenly get shared libraries 8768 # on systems that don't support them. 8769 lt_prog_compiler_can_build_shared=no 8770 enable_shared=no 8771 ;; 8772 8773 *nto* | *qnx*) 8774 # QNX uses GNU C++, but need to define -shared option too, otherwise 8775 # it will coredump. 8776 lt_prog_compiler_pic='-fPIC -shared' 8777 ;; 8778 8779 sysv4*MP*) 8780 if test -d /usr/nec; then 8781 lt_prog_compiler_pic=-Kconform_pic 8782 fi 8783 ;; 8784 8785 *) 8786 lt_prog_compiler_pic='-fPIC' 8787 ;; 8788 esac 8789 8790 case $cc_basename in 8791 nvcc*) # Cuda Compiler Driver 2.2 8792 lt_prog_compiler_wl='-Xlinker ' 8793 if test -n "$lt_prog_compiler_pic"; then 8794 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8795 fi 8796 ;; 8797 esac 8798 else 8799 # PORTME Check for flag to pass linker flags through the system compiler. 8800 case $host_os in 8801 aix*) 8802 lt_prog_compiler_wl='-Wl,' 8803 if test ia64 = "$host_cpu"; then 8804 # AIX 5 now supports IA64 processor 8805 lt_prog_compiler_static='-Bstatic' 8806 else 8807 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8808 fi 8809 ;; 8810 8811 darwin* | rhapsody*) 8812 # PIC is the default on this platform 8813 # Common symbols not allowed in MH_DYLIB files 8814 lt_prog_compiler_pic='-fno-common' 8815 case $cc_basename in 8816 nagfor*) 8817 # NAG Fortran compiler 8818 lt_prog_compiler_wl='-Wl,-Wl,,' 8819 lt_prog_compiler_pic='-PIC' 8820 lt_prog_compiler_static='-Bstatic' 8821 ;; 8822 esac 8823 ;; 8824 8825 mingw* | cygwin* | pw32* | os2* | cegcc*) 8826 # This hack is so that the source file can tell whether it is being 8827 # built for inclusion in a dll (and should export symbols for example). 8828 lt_prog_compiler_pic='-DDLL_EXPORT' 8829 case $host_os in 8830 os2*) 8831 lt_prog_compiler_static='$wl-static' 8832 ;; 8833 esac 8834 ;; 8835 8836 hpux9* | hpux10* | hpux11*) 8837 lt_prog_compiler_wl='-Wl,' 8838 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8839 # not for PA HP-UX. 8840 case $host_cpu in 8841 hppa*64*|ia64*) 8842 # +Z the default 8843 ;; 8844 *) 8845 lt_prog_compiler_pic='+Z' 8846 ;; 8847 esac 8848 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8849 lt_prog_compiler_static='$wl-a ${wl}archive' 8850 ;; 8851 8852 irix5* | irix6* | nonstopux*) 8853 lt_prog_compiler_wl='-Wl,' 8854 # PIC (with -KPIC) is the default. 8855 lt_prog_compiler_static='-non_shared' 8856 ;; 8857 8858 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8859 case $cc_basename in 8860 # old Intel for x86_64, which still supported -KPIC. 8861 ecc*) 8862 lt_prog_compiler_wl='-Wl,' 8863 lt_prog_compiler_pic='-KPIC' 8864 lt_prog_compiler_static='-static' 8865 ;; 8866 # icc used to be incompatible with GCC. 8867 # ICC 10 doesn't accept -KPIC any more. 8868 icc* | ifort*) 8869 lt_prog_compiler_wl='-Wl,' 8870 lt_prog_compiler_pic='-fPIC' 8871 lt_prog_compiler_static='-static' 8872 ;; 8873 # Lahey Fortran 8.1. 8874 lf95*) 8875 lt_prog_compiler_wl='-Wl,' 8876 lt_prog_compiler_pic='--shared' 8877 lt_prog_compiler_static='--static' 8878 ;; 8879 nagfor*) 8880 # NAG Fortran compiler 8881 lt_prog_compiler_wl='-Wl,-Wl,,' 8882 lt_prog_compiler_pic='-PIC' 8883 lt_prog_compiler_static='-Bstatic' 8884 ;; 8885 tcc*) 8886 # Fabrice Bellard et al's Tiny C Compiler 8887 lt_prog_compiler_wl='-Wl,' 8888 lt_prog_compiler_pic='-fPIC' 8889 lt_prog_compiler_static='-static' 8890 ;; 8891 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8892 # Portland Group compilers (*not* the Pentium gcc compiler, 8893 # which looks to be a dead project) 8894 lt_prog_compiler_wl='-Wl,' 8895 lt_prog_compiler_pic='-fpic' 8896 lt_prog_compiler_static='-Bstatic' 8897 ;; 8898 ccc*) 8899 lt_prog_compiler_wl='-Wl,' 8900 # All Alpha code is PIC. 8901 lt_prog_compiler_static='-non_shared' 8902 ;; 8903 xl* | bgxl* | bgf* | mpixl*) 8904 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8905 lt_prog_compiler_wl='-Wl,' 8906 lt_prog_compiler_pic='-qpic' 8907 lt_prog_compiler_static='-qstaticlink' 8908 ;; 8909 *) 8910 case `$CC -V 2>&1 | sed 5q` in 8911 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8912 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8913 lt_prog_compiler_pic='-KPIC' 8914 lt_prog_compiler_static='-Bstatic' 8915 lt_prog_compiler_wl='' 8916 ;; 8917 *Sun\ F* | *Sun*Fortran*) 8918 lt_prog_compiler_pic='-KPIC' 8919 lt_prog_compiler_static='-Bstatic' 8920 lt_prog_compiler_wl='-Qoption ld ' 8921 ;; 8922 *Sun\ C*) 8923 # Sun C 5.9 8924 lt_prog_compiler_pic='-KPIC' 8925 lt_prog_compiler_static='-Bstatic' 8926 lt_prog_compiler_wl='-Wl,' 8927 ;; 8928 *Intel*\ [CF]*Compiler*) 8929 lt_prog_compiler_wl='-Wl,' 8930 lt_prog_compiler_pic='-fPIC' 8931 lt_prog_compiler_static='-static' 8932 ;; 8933 *Portland\ Group*) 8934 lt_prog_compiler_wl='-Wl,' 8935 lt_prog_compiler_pic='-fpic' 8936 lt_prog_compiler_static='-Bstatic' 8937 ;; 8938 esac 8939 ;; 8940 esac 8941 ;; 8942 8943 newsos6) 8944 lt_prog_compiler_pic='-KPIC' 8945 lt_prog_compiler_static='-Bstatic' 8946 ;; 8947 8948 *nto* | *qnx*) 8949 # QNX uses GNU C++, but need to define -shared option too, otherwise 8950 # it will coredump. 8951 lt_prog_compiler_pic='-fPIC -shared' 8952 ;; 8953 8954 osf3* | osf4* | osf5*) 8955 lt_prog_compiler_wl='-Wl,' 8956 # All OSF/1 code is PIC. 8957 lt_prog_compiler_static='-non_shared' 8958 ;; 8959 8960 rdos*) 8961 lt_prog_compiler_static='-non_shared' 8962 ;; 8963 8964 solaris*) 8965 lt_prog_compiler_pic='-KPIC' 8966 lt_prog_compiler_static='-Bstatic' 8967 case $cc_basename in 8968 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8969 lt_prog_compiler_wl='-Qoption ld ';; 8970 *) 8971 lt_prog_compiler_wl='-Wl,';; 8972 esac 8973 ;; 8974 8975 sunos4*) 8976 lt_prog_compiler_wl='-Qoption ld ' 8977 lt_prog_compiler_pic='-PIC' 8978 lt_prog_compiler_static='-Bstatic' 8979 ;; 8980 8981 sysv4 | sysv4.2uw2* | sysv4.3*) 8982 lt_prog_compiler_wl='-Wl,' 8983 lt_prog_compiler_pic='-KPIC' 8984 lt_prog_compiler_static='-Bstatic' 8985 ;; 8986 8987 sysv4*MP*) 8988 if test -d /usr/nec; then 8989 lt_prog_compiler_pic='-Kconform_pic' 8990 lt_prog_compiler_static='-Bstatic' 8991 fi 8992 ;; 8993 8994 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8995 lt_prog_compiler_wl='-Wl,' 8996 lt_prog_compiler_pic='-KPIC' 8997 lt_prog_compiler_static='-Bstatic' 8998 ;; 8999 9000 unicos*) 9001 lt_prog_compiler_wl='-Wl,' 9002 lt_prog_compiler_can_build_shared=no 9003 ;; 9004 9005 uts4*) 9006 lt_prog_compiler_pic='-pic' 9007 lt_prog_compiler_static='-Bstatic' 9008 ;; 9009 9010 *) 9011 lt_prog_compiler_can_build_shared=no 9012 ;; 9013 esac 9014 fi 9015 9016case $host_os in 9017 # For platforms that do not support PIC, -DPIC is meaningless: 9018 *djgpp*) 9019 lt_prog_compiler_pic= 9020 ;; 9021 *) 9022 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9023 ;; 9024esac 9025 9026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9027$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9028if ${lt_cv_prog_compiler_pic+:} false; then : 9029 $as_echo_n "(cached) " >&6 9030else 9031 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9032fi 9033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9034$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9035lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9036 9037# 9038# Check to make sure the PIC flag actually works. 9039# 9040if test -n "$lt_prog_compiler_pic"; then 9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9042$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9043if ${lt_cv_prog_compiler_pic_works+:} false; then : 9044 $as_echo_n "(cached) " >&6 9045else 9046 lt_cv_prog_compiler_pic_works=no 9047 ac_outfile=conftest.$ac_objext 9048 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9049 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9050 # Insert the option either (1) after the last *FLAGS variable, or 9051 # (2) before a word containing "conftest.", or (3) at the end. 9052 # Note that $ac_compile itself does not contain backslashes and begins 9053 # with a dollar sign (not a hyphen), so the echo should work correctly. 9054 # The option is referenced via a variable to avoid confusing sed. 9055 lt_compile=`echo "$ac_compile" | $SED \ 9056 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9057 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9058 -e 's:$: $lt_compiler_flag:'` 9059 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9060 (eval "$lt_compile" 2>conftest.err) 9061 ac_status=$? 9062 cat conftest.err >&5 9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9064 if (exit $ac_status) && test -s "$ac_outfile"; then 9065 # The compiler can only warn and ignore the option if not recognized 9066 # So say no if there are warnings other than the usual output. 9067 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9068 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9069 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9070 lt_cv_prog_compiler_pic_works=yes 9071 fi 9072 fi 9073 $RM conftest* 9074 9075fi 9076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9077$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9078 9079if test yes = "$lt_cv_prog_compiler_pic_works"; then 9080 case $lt_prog_compiler_pic in 9081 "" | " "*) ;; 9082 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9083 esac 9084else 9085 lt_prog_compiler_pic= 9086 lt_prog_compiler_can_build_shared=no 9087fi 9088 9089fi 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101# 9102# Check to make sure the static flag actually works. 9103# 9104wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9106$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9107if ${lt_cv_prog_compiler_static_works+:} false; then : 9108 $as_echo_n "(cached) " >&6 9109else 9110 lt_cv_prog_compiler_static_works=no 9111 save_LDFLAGS=$LDFLAGS 9112 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9113 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9114 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9115 # The linker can only warn and ignore the option if not recognized 9116 # So say no if there are warnings 9117 if test -s conftest.err; then 9118 # Append any errors to the config.log. 9119 cat conftest.err 1>&5 9120 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9121 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9122 if diff conftest.exp conftest.er2 >/dev/null; then 9123 lt_cv_prog_compiler_static_works=yes 9124 fi 9125 else 9126 lt_cv_prog_compiler_static_works=yes 9127 fi 9128 fi 9129 $RM -r conftest* 9130 LDFLAGS=$save_LDFLAGS 9131 9132fi 9133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9134$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9135 9136if test yes = "$lt_cv_prog_compiler_static_works"; then 9137 : 9138else 9139 lt_prog_compiler_static= 9140fi 9141 9142 9143 9144 9145 9146 9147 9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9149$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9150if ${lt_cv_prog_compiler_c_o+:} false; then : 9151 $as_echo_n "(cached) " >&6 9152else 9153 lt_cv_prog_compiler_c_o=no 9154 $RM -r conftest 2>/dev/null 9155 mkdir conftest 9156 cd conftest 9157 mkdir out 9158 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9159 9160 lt_compiler_flag="-o out/conftest2.$ac_objext" 9161 # Insert the option either (1) after the last *FLAGS variable, or 9162 # (2) before a word containing "conftest.", or (3) at the end. 9163 # Note that $ac_compile itself does not contain backslashes and begins 9164 # with a dollar sign (not a hyphen), so the echo should work correctly. 9165 lt_compile=`echo "$ac_compile" | $SED \ 9166 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9168 -e 's:$: $lt_compiler_flag:'` 9169 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9170 (eval "$lt_compile" 2>out/conftest.err) 9171 ac_status=$? 9172 cat out/conftest.err >&5 9173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9174 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9175 then 9176 # The compiler can only warn and ignore the option if not recognized 9177 # So say no if there are warnings 9178 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9179 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9180 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9181 lt_cv_prog_compiler_c_o=yes 9182 fi 9183 fi 9184 chmod u+w . 2>&5 9185 $RM conftest* 9186 # SGI C++ compiler will create directory out/ii_files/ for 9187 # template instantiation 9188 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9189 $RM out/* && rmdir out 9190 cd .. 9191 $RM -r conftest 9192 $RM conftest* 9193 9194fi 9195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9196$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9197 9198 9199 9200 9201 9202 9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9204$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9205if ${lt_cv_prog_compiler_c_o+:} false; then : 9206 $as_echo_n "(cached) " >&6 9207else 9208 lt_cv_prog_compiler_c_o=no 9209 $RM -r conftest 2>/dev/null 9210 mkdir conftest 9211 cd conftest 9212 mkdir out 9213 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9214 9215 lt_compiler_flag="-o out/conftest2.$ac_objext" 9216 # Insert the option either (1) after the last *FLAGS variable, or 9217 # (2) before a word containing "conftest.", or (3) at the end. 9218 # Note that $ac_compile itself does not contain backslashes and begins 9219 # with a dollar sign (not a hyphen), so the echo should work correctly. 9220 lt_compile=`echo "$ac_compile" | $SED \ 9221 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9222 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9223 -e 's:$: $lt_compiler_flag:'` 9224 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9225 (eval "$lt_compile" 2>out/conftest.err) 9226 ac_status=$? 9227 cat out/conftest.err >&5 9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9229 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9230 then 9231 # The compiler can only warn and ignore the option if not recognized 9232 # So say no if there are warnings 9233 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9234 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9235 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9236 lt_cv_prog_compiler_c_o=yes 9237 fi 9238 fi 9239 chmod u+w . 2>&5 9240 $RM conftest* 9241 # SGI C++ compiler will create directory out/ii_files/ for 9242 # template instantiation 9243 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9244 $RM out/* && rmdir out 9245 cd .. 9246 $RM -r conftest 9247 $RM conftest* 9248 9249fi 9250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9251$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9252 9253 9254 9255 9256hard_links=nottested 9257if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9258 # do not overwrite the value of need_locks provided by the user 9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9260$as_echo_n "checking if we can lock with hard links... " >&6; } 9261 hard_links=yes 9262 $RM conftest* 9263 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9264 touch conftest.a 9265 ln conftest.a conftest.b 2>&5 || hard_links=no 9266 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9268$as_echo "$hard_links" >&6; } 9269 if test no = "$hard_links"; then 9270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9271$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9272 need_locks=warn 9273 fi 9274else 9275 need_locks=no 9276fi 9277 9278 9279 9280 9281 9282 9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9284$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9285 9286 runpath_var= 9287 allow_undefined_flag= 9288 always_export_symbols=no 9289 archive_cmds= 9290 archive_expsym_cmds= 9291 compiler_needs_object=no 9292 enable_shared_with_static_runtimes=no 9293 export_dynamic_flag_spec= 9294 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9295 hardcode_automatic=no 9296 hardcode_direct=no 9297 hardcode_direct_absolute=no 9298 hardcode_libdir_flag_spec= 9299 hardcode_libdir_separator= 9300 hardcode_minus_L=no 9301 hardcode_shlibpath_var=unsupported 9302 inherit_rpath=no 9303 link_all_deplibs=unknown 9304 module_cmds= 9305 module_expsym_cmds= 9306 old_archive_from_new_cmds= 9307 old_archive_from_expsyms_cmds= 9308 thread_safe_flag_spec= 9309 whole_archive_flag_spec= 9310 # include_expsyms should be a list of space-separated symbols to be *always* 9311 # included in the symbol list 9312 include_expsyms= 9313 # exclude_expsyms can be an extended regexp of symbols to exclude 9314 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9315 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9316 # as well as any symbol that contains 'd'. 9317 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9318 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9319 # platforms (ab)use it in PIC code, but their linkers get confused if 9320 # the symbol is explicitly referenced. Since portable code cannot 9321 # rely on this symbol name, it's probably fine to never include it in 9322 # preloaded symbol tables. 9323 # Exclude shared library initialization/finalization symbols. 9324 extract_expsyms_cmds= 9325 9326 case $host_os in 9327 cygwin* | mingw* | pw32* | cegcc*) 9328 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9329 # When not using gcc, we currently assume that we are using 9330 # Microsoft Visual C++. 9331 if test yes != "$GCC"; then 9332 with_gnu_ld=no 9333 fi 9334 ;; 9335 interix*) 9336 # we just hope/assume this is gcc and not c89 (= MSVC++) 9337 with_gnu_ld=yes 9338 ;; 9339 openbsd* | bitrig*) 9340 with_gnu_ld=no 9341 ;; 9342 esac 9343 9344 ld_shlibs=yes 9345 9346 # On some targets, GNU ld is compatible enough with the native linker 9347 # that we're better off using the native interface for both. 9348 lt_use_gnu_ld_interface=no 9349 if test yes = "$with_gnu_ld"; then 9350 case $host_os in 9351 aix*) 9352 # The AIX port of GNU ld has always aspired to compatibility 9353 # with the native linker. However, as the warning in the GNU ld 9354 # block says, versions before 2.19.5* couldn't really create working 9355 # shared libraries, regardless of the interface used. 9356 case `$LD -v 2>&1` in 9357 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9358 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9359 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9360 *) 9361 lt_use_gnu_ld_interface=yes 9362 ;; 9363 esac 9364 ;; 9365 *) 9366 lt_use_gnu_ld_interface=yes 9367 ;; 9368 esac 9369 fi 9370 9371 if test yes = "$lt_use_gnu_ld_interface"; then 9372 # If archive_cmds runs LD, not CC, wlarc should be empty 9373 wlarc='$wl' 9374 9375 # Set some defaults for GNU ld with shared library support. These 9376 # are reset later if shared libraries are not supported. Putting them 9377 # here allows them to be overridden if necessary. 9378 runpath_var=LD_RUN_PATH 9379 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9380 export_dynamic_flag_spec='$wl--export-dynamic' 9381 # ancient GNU ld didn't support --whole-archive et. al. 9382 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9383 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9384 else 9385 whole_archive_flag_spec= 9386 fi 9387 supports_anon_versioning=no 9388 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9389 *GNU\ gold*) supports_anon_versioning=yes ;; 9390 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9391 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9392 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9393 *\ 2.11.*) ;; # other 2.11 versions 9394 *) supports_anon_versioning=yes ;; 9395 esac 9396 9397 # See if GNU ld supports shared libraries. 9398 case $host_os in 9399 aix[3-9]*) 9400 # On AIX/PPC, the GNU linker is very broken 9401 if test ia64 != "$host_cpu"; then 9402 ld_shlibs=no 9403 cat <<_LT_EOF 1>&2 9404 9405*** Warning: the GNU linker, at least up to release 2.19, is reported 9406*** to be unable to reliably create shared libraries on AIX. 9407*** Therefore, libtool is disabling shared libraries support. If you 9408*** really care for shared libraries, you may want to install binutils 9409*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9410*** You will then need to restart the configuration process. 9411 9412_LT_EOF 9413 fi 9414 ;; 9415 9416 amigaos*) 9417 case $host_cpu in 9418 powerpc) 9419 # see comment about AmigaOS4 .so support 9420 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9421 archive_expsym_cmds='' 9422 ;; 9423 m68k) 9424 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)' 9425 hardcode_libdir_flag_spec='-L$libdir' 9426 hardcode_minus_L=yes 9427 ;; 9428 esac 9429 ;; 9430 9431 beos*) 9432 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9433 allow_undefined_flag=unsupported 9434 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9435 # support --undefined. This deserves some investigation. FIXME 9436 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9437 else 9438 ld_shlibs=no 9439 fi 9440 ;; 9441 9442 cygwin* | mingw* | pw32* | cegcc*) 9443 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9444 # as there is no search path for DLLs. 9445 hardcode_libdir_flag_spec='-L$libdir' 9446 export_dynamic_flag_spec='$wl--export-all-symbols' 9447 allow_undefined_flag=unsupported 9448 always_export_symbols=no 9449 enable_shared_with_static_runtimes=yes 9450 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' 9451 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9452 9453 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9454 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9455 # If the export-symbols file already is a .def file, use it as 9456 # is; otherwise, prepend EXPORTS... 9457 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9458 cp $export_symbols $output_objdir/$soname.def; 9459 else 9460 echo EXPORTS > $output_objdir/$soname.def; 9461 cat $export_symbols >> $output_objdir/$soname.def; 9462 fi~ 9463 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9464 else 9465 ld_shlibs=no 9466 fi 9467 ;; 9468 9469 haiku*) 9470 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9471 link_all_deplibs=yes 9472 ;; 9473 9474 os2*) 9475 hardcode_libdir_flag_spec='-L$libdir' 9476 hardcode_minus_L=yes 9477 allow_undefined_flag=unsupported 9478 shrext_cmds=.dll 9479 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9480 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9481 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9482 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9483 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9484 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9485 emximp -o $lib $output_objdir/$libname.def' 9486 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9487 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9488 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9489 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9490 prefix_cmds="$SED"~ 9491 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9492 prefix_cmds="$prefix_cmds -e 1d"; 9493 fi~ 9494 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9495 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9496 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9497 emximp -o $lib $output_objdir/$libname.def' 9498 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9499 enable_shared_with_static_runtimes=yes 9500 ;; 9501 9502 interix[3-9]*) 9503 hardcode_direct=no 9504 hardcode_shlibpath_var=no 9505 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9506 export_dynamic_flag_spec='$wl-E' 9507 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9508 # Instead, shared libraries are loaded at an image base (0x10000000 by 9509 # default) and relocated if they conflict, which is a slow very memory 9510 # consuming and fragmenting process. To avoid this, we pick a random, 9511 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9512 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9513 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9514 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' 9515 ;; 9516 9517 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9518 tmp_diet=no 9519 if test linux-dietlibc = "$host_os"; then 9520 case $cc_basename in 9521 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9522 esac 9523 fi 9524 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9525 && test no = "$tmp_diet" 9526 then 9527 tmp_addflag=' $pic_flag' 9528 tmp_sharedflag='-shared' 9529 case $cc_basename,$host_cpu in 9530 pgcc*) # Portland Group C compiler 9531 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' 9532 tmp_addflag=' $pic_flag' 9533 ;; 9534 pgf77* | pgf90* | pgf95* | pgfortran*) 9535 # Portland Group f77 and f90 compilers 9536 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' 9537 tmp_addflag=' $pic_flag -Mnomain' ;; 9538 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9539 tmp_addflag=' -i_dynamic' ;; 9540 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9541 tmp_addflag=' -i_dynamic -nofor_main' ;; 9542 ifc* | ifort*) # Intel Fortran compiler 9543 tmp_addflag=' -nofor_main' ;; 9544 lf95*) # Lahey Fortran 8.1 9545 whole_archive_flag_spec= 9546 tmp_sharedflag='--shared' ;; 9547 nagfor*) # NAGFOR 5.3 9548 tmp_sharedflag='-Wl,-shared' ;; 9549 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9550 tmp_sharedflag='-qmkshrobj' 9551 tmp_addflag= ;; 9552 nvcc*) # Cuda Compiler Driver 2.2 9553 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' 9554 compiler_needs_object=yes 9555 ;; 9556 esac 9557 case `$CC -V 2>&1 | sed 5q` in 9558 *Sun\ C*) # Sun C 5.9 9559 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' 9560 compiler_needs_object=yes 9561 tmp_sharedflag='-G' ;; 9562 *Sun\ F*) # Sun Fortran 8.3 9563 tmp_sharedflag='-G' ;; 9564 esac 9565 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9566 9567 if test yes = "$supports_anon_versioning"; then 9568 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9569 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9570 echo "local: *; };" >> $output_objdir/$libname.ver~ 9571 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9572 fi 9573 9574 case $cc_basename in 9575 tcc*) 9576 export_dynamic_flag_spec='-rdynamic' 9577 ;; 9578 xlf* | bgf* | bgxlf* | mpixlf*) 9579 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9580 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9581 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9582 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9583 if test yes = "$supports_anon_versioning"; then 9584 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9585 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9586 echo "local: *; };" >> $output_objdir/$libname.ver~ 9587 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9588 fi 9589 ;; 9590 esac 9591 else 9592 ld_shlibs=no 9593 fi 9594 ;; 9595 9596 netbsd*) 9597 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9598 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9599 wlarc= 9600 else 9601 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9602 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9603 fi 9604 ;; 9605 9606 solaris*) 9607 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9608 ld_shlibs=no 9609 cat <<_LT_EOF 1>&2 9610 9611*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9612*** create shared libraries on Solaris systems. Therefore, libtool 9613*** is disabling shared libraries support. We urge you to upgrade GNU 9614*** binutils to release 2.9.1 or newer. Another option is to modify 9615*** your PATH or compiler configuration so that the native linker is 9616*** used, and then restart. 9617 9618_LT_EOF 9619 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9620 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9621 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9622 else 9623 ld_shlibs=no 9624 fi 9625 ;; 9626 9627 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9628 case `$LD -v 2>&1` in 9629 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9630 ld_shlibs=no 9631 cat <<_LT_EOF 1>&2 9632 9633*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9634*** reliably create shared libraries on SCO systems. Therefore, libtool 9635*** is disabling shared libraries support. We urge you to upgrade GNU 9636*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9637*** your PATH or compiler configuration so that the native linker is 9638*** used, and then restart. 9639 9640_LT_EOF 9641 ;; 9642 *) 9643 # For security reasons, it is highly recommended that you always 9644 # use absolute paths for naming shared libraries, and exclude the 9645 # DT_RUNPATH tag from executables and libraries. But doing so 9646 # requires that you compile everything twice, which is a pain. 9647 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9648 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9649 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9650 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9651 else 9652 ld_shlibs=no 9653 fi 9654 ;; 9655 esac 9656 ;; 9657 9658 sunos4*) 9659 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9660 wlarc= 9661 hardcode_direct=yes 9662 hardcode_shlibpath_var=no 9663 ;; 9664 9665 *) 9666 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9667 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9668 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9669 else 9670 ld_shlibs=no 9671 fi 9672 ;; 9673 esac 9674 9675 if test no = "$ld_shlibs"; then 9676 runpath_var= 9677 hardcode_libdir_flag_spec= 9678 export_dynamic_flag_spec= 9679 whole_archive_flag_spec= 9680 fi 9681 else 9682 # PORTME fill in a description of your system's linker (not GNU ld) 9683 case $host_os in 9684 aix3*) 9685 allow_undefined_flag=unsupported 9686 always_export_symbols=yes 9687 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' 9688 # Note: this linker hardcodes the directories in LIBPATH if there 9689 # are no directories specified by -L. 9690 hardcode_minus_L=yes 9691 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9692 # Neither direct hardcoding nor static linking is supported with a 9693 # broken collect2. 9694 hardcode_direct=unsupported 9695 fi 9696 ;; 9697 9698 aix[4-9]*) 9699 if test ia64 = "$host_cpu"; then 9700 # On IA64, the linker does run time linking by default, so we don't 9701 # have to do anything special. 9702 aix_use_runtimelinking=no 9703 exp_sym_flag='-Bexport' 9704 no_entry_flag= 9705 else 9706 # If we're using GNU nm, then we don't want the "-C" option. 9707 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9708 # Without the "-l" option, or with the "-B" option, AIX nm treats 9709 # weak defined symbols like other global defined symbols, whereas 9710 # GNU nm marks them as "W". 9711 # While the 'weak' keyword is ignored in the Export File, we need 9712 # it in the Import File for the 'aix-soname' feature, so we have 9713 # to replace the "-B" option with "-P" for AIX nm. 9714 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9715 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 9716 else 9717 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 9718 fi 9719 aix_use_runtimelinking=no 9720 9721 # Test if we are trying to use run time linking or normal 9722 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9723 # have runtime linking enabled, and use it for executables. 9724 # For shared libraries, we enable/disable runtime linking 9725 # depending on the kind of the shared library created - 9726 # when "with_aix_soname,aix_use_runtimelinking" is: 9727 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9728 # "aix,yes" lib.so shared, rtl:yes, for executables 9729 # lib.a static archive 9730 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9731 # lib.a(lib.so.V) shared, rtl:no, for executables 9732 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9733 # lib.a(lib.so.V) shared, rtl:no 9734 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9735 # lib.a static archive 9736 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9737 for ld_flag in $LDFLAGS; do 9738 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9739 aix_use_runtimelinking=yes 9740 break 9741 fi 9742 done 9743 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9744 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9745 # so we don't have lib.a shared libs to link our executables. 9746 # We have to force runtime linking in this case. 9747 aix_use_runtimelinking=yes 9748 LDFLAGS="$LDFLAGS -Wl,-brtl" 9749 fi 9750 ;; 9751 esac 9752 9753 exp_sym_flag='-bexport' 9754 no_entry_flag='-bnoentry' 9755 fi 9756 9757 # When large executables or shared objects are built, AIX ld can 9758 # have problems creating the table of contents. If linking a library 9759 # or program results in "error TOC overflow" add -mminimal-toc to 9760 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9761 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9762 9763 archive_cmds='' 9764 hardcode_direct=yes 9765 hardcode_direct_absolute=yes 9766 hardcode_libdir_separator=':' 9767 link_all_deplibs=yes 9768 file_list_spec='$wl-f,' 9769 case $with_aix_soname,$aix_use_runtimelinking in 9770 aix,*) ;; # traditional, no import file 9771 svr4,* | *,yes) # use import file 9772 # The Import File defines what to hardcode. 9773 hardcode_direct=no 9774 hardcode_direct_absolute=no 9775 ;; 9776 esac 9777 9778 if test yes = "$GCC"; then 9779 case $host_os in aix4.[012]|aix4.[012].*) 9780 # We only want to do this on AIX 4.2 and lower, the check 9781 # below for broken collect2 doesn't work under 4.3+ 9782 collect2name=`$CC -print-prog-name=collect2` 9783 if test -f "$collect2name" && 9784 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9785 then 9786 # We have reworked collect2 9787 : 9788 else 9789 # We have old collect2 9790 hardcode_direct=unsupported 9791 # It fails to find uninstalled libraries when the uninstalled 9792 # path is not listed in the libpath. Setting hardcode_minus_L 9793 # to unsupported forces relinking 9794 hardcode_minus_L=yes 9795 hardcode_libdir_flag_spec='-L$libdir' 9796 hardcode_libdir_separator= 9797 fi 9798 ;; 9799 esac 9800 shared_flag='-shared' 9801 if test yes = "$aix_use_runtimelinking"; then 9802 shared_flag="$shared_flag "'$wl-G' 9803 fi 9804 # Need to ensure runtime linking is disabled for the traditional 9805 # shared library, or the linker may eventually find shared libraries 9806 # /with/ Import File - we do not want to mix them. 9807 shared_flag_aix='-shared' 9808 shared_flag_svr4='-shared $wl-G' 9809 else 9810 # not using gcc 9811 if test ia64 = "$host_cpu"; then 9812 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9813 # chokes on -Wl,-G. The following line is correct: 9814 shared_flag='-G' 9815 else 9816 if test yes = "$aix_use_runtimelinking"; then 9817 shared_flag='$wl-G' 9818 else 9819 shared_flag='$wl-bM:SRE' 9820 fi 9821 shared_flag_aix='$wl-bM:SRE' 9822 shared_flag_svr4='$wl-G' 9823 fi 9824 fi 9825 9826 export_dynamic_flag_spec='$wl-bexpall' 9827 # It seems that -bexpall does not export symbols beginning with 9828 # underscore (_), so it is better to generate a list of symbols to export. 9829 always_export_symbols=yes 9830 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9831 # Warning - without using the other runtime loading flags (-brtl), 9832 # -berok will link without error, but may produce a broken library. 9833 allow_undefined_flag='-berok' 9834 # Determine the default libpath from the value encoded in an 9835 # empty executable. 9836 if test set = "${lt_cv_aix_libpath+set}"; then 9837 aix_libpath=$lt_cv_aix_libpath 9838else 9839 if ${lt_cv_aix_libpath_+:} false; then : 9840 $as_echo_n "(cached) " >&6 9841else 9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9843/* end confdefs.h. */ 9844 9845int 9846main () 9847{ 9848 9849 ; 9850 return 0; 9851} 9852_ACEOF 9853if ac_fn_c_try_link "$LINENO"; then : 9854 9855 lt_aix_libpath_sed=' 9856 /Import File Strings/,/^$/ { 9857 /^0/ { 9858 s/^0 *\([^ ]*\) *$/\1/ 9859 p 9860 } 9861 }' 9862 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9863 # Check for a 64-bit object if we didn't find anything. 9864 if test -z "$lt_cv_aix_libpath_"; then 9865 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9866 fi 9867fi 9868rm -f core conftest.err conftest.$ac_objext \ 9869 conftest$ac_exeext conftest.$ac_ext 9870 if test -z "$lt_cv_aix_libpath_"; then 9871 lt_cv_aix_libpath_=/usr/lib:/lib 9872 fi 9873 9874fi 9875 9876 aix_libpath=$lt_cv_aix_libpath_ 9877fi 9878 9879 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9880 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 9881 else 9882 if test ia64 = "$host_cpu"; then 9883 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9884 allow_undefined_flag="-z nodefs" 9885 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" 9886 else 9887 # Determine the default libpath from the value encoded in an 9888 # empty executable. 9889 if test set = "${lt_cv_aix_libpath+set}"; then 9890 aix_libpath=$lt_cv_aix_libpath 9891else 9892 if ${lt_cv_aix_libpath_+:} false; then : 9893 $as_echo_n "(cached) " >&6 9894else 9895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9896/* end confdefs.h. */ 9897 9898int 9899main () 9900{ 9901 9902 ; 9903 return 0; 9904} 9905_ACEOF 9906if ac_fn_c_try_link "$LINENO"; then : 9907 9908 lt_aix_libpath_sed=' 9909 /Import File Strings/,/^$/ { 9910 /^0/ { 9911 s/^0 *\([^ ]*\) *$/\1/ 9912 p 9913 } 9914 }' 9915 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9916 # Check for a 64-bit object if we didn't find anything. 9917 if test -z "$lt_cv_aix_libpath_"; then 9918 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9919 fi 9920fi 9921rm -f core conftest.err conftest.$ac_objext \ 9922 conftest$ac_exeext conftest.$ac_ext 9923 if test -z "$lt_cv_aix_libpath_"; then 9924 lt_cv_aix_libpath_=/usr/lib:/lib 9925 fi 9926 9927fi 9928 9929 aix_libpath=$lt_cv_aix_libpath_ 9930fi 9931 9932 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9933 # Warning - without using the other run time loading flags, 9934 # -berok will link without error, but may produce a broken library. 9935 no_undefined_flag=' $wl-bernotok' 9936 allow_undefined_flag=' $wl-berok' 9937 if test yes = "$with_gnu_ld"; then 9938 # We only use this code for GNU lds that support --whole-archive. 9939 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9940 else 9941 # Exported symbols can be pulled into shared objects from archives 9942 whole_archive_flag_spec='$convenience' 9943 fi 9944 archive_cmds_need_lc=yes 9945 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9946 # -brtl affects multiple linker settings, -berok does not and is overridden later 9947 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9948 if test svr4 != "$with_aix_soname"; then 9949 # This is similar to how AIX traditionally builds its shared libraries. 9950 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 9951 fi 9952 if test aix != "$with_aix_soname"; then 9953 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 9954 else 9955 # used by -dlpreopen to get the symbols 9956 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9957 fi 9958 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9959 fi 9960 fi 9961 ;; 9962 9963 amigaos*) 9964 case $host_cpu in 9965 powerpc) 9966 # see comment about AmigaOS4 .so support 9967 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9968 archive_expsym_cmds='' 9969 ;; 9970 m68k) 9971 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)' 9972 hardcode_libdir_flag_spec='-L$libdir' 9973 hardcode_minus_L=yes 9974 ;; 9975 esac 9976 ;; 9977 9978 bsdi[45]*) 9979 export_dynamic_flag_spec=-rdynamic 9980 ;; 9981 9982 cygwin* | mingw* | pw32* | cegcc*) 9983 # When not using gcc, we currently assume that we are using 9984 # Microsoft Visual C++. 9985 # hardcode_libdir_flag_spec is actually meaningless, as there is 9986 # no search path for DLLs. 9987 case $cc_basename in 9988 cl*) 9989 # Native MSVC 9990 hardcode_libdir_flag_spec=' ' 9991 allow_undefined_flag=unsupported 9992 always_export_symbols=yes 9993 file_list_spec='@' 9994 # Tell ltmain to make .lib files, not .a files. 9995 libext=lib 9996 # Tell ltmain to make .dll files, not .so files. 9997 shrext_cmds=.dll 9998 # FIXME: Setting linknames here is a bad hack. 9999 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10000 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10001 cp "$export_symbols" "$output_objdir/$soname.def"; 10002 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10003 else 10004 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10005 fi~ 10006 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10007 linknames=' 10008 # The linker will not automatically build a static lib if we build a DLL. 10009 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10010 enable_shared_with_static_runtimes=yes 10011 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10012 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10013 # Don't use ranlib 10014 old_postinstall_cmds='chmod 644 $oldlib' 10015 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10016 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10017 case $lt_outputfile in 10018 *.exe|*.EXE) ;; 10019 *) 10020 lt_outputfile=$lt_outputfile.exe 10021 lt_tool_outputfile=$lt_tool_outputfile.exe 10022 ;; 10023 esac~ 10024 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10025 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10026 $RM "$lt_outputfile.manifest"; 10027 fi' 10028 ;; 10029 *) 10030 # Assume MSVC wrapper 10031 hardcode_libdir_flag_spec=' ' 10032 allow_undefined_flag=unsupported 10033 # Tell ltmain to make .lib files, not .a files. 10034 libext=lib 10035 # Tell ltmain to make .dll files, not .so files. 10036 shrext_cmds=.dll 10037 # FIXME: Setting linknames here is a bad hack. 10038 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10039 # The linker will automatically build a .lib file if we build a DLL. 10040 old_archive_from_new_cmds='true' 10041 # FIXME: Should let the user specify the lib program. 10042 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10043 enable_shared_with_static_runtimes=yes 10044 ;; 10045 esac 10046 ;; 10047 10048 darwin* | rhapsody*) 10049 10050 10051 archive_cmds_need_lc=no 10052 hardcode_direct=no 10053 hardcode_automatic=yes 10054 hardcode_shlibpath_var=unsupported 10055 if test yes = "$lt_cv_ld_force_load"; then 10056 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\"`' 10057 10058 else 10059 whole_archive_flag_spec='' 10060 fi 10061 link_all_deplibs=yes 10062 allow_undefined_flag=$_lt_dar_allow_undefined 10063 case $cc_basename in 10064 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10065 *) _lt_dar_can_shared=$GCC ;; 10066 esac 10067 if test yes = "$_lt_dar_can_shared"; then 10068 output_verbose_link_cmd=func_echo_all 10069 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10070 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10071 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" 10072 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" 10073 10074 else 10075 ld_shlibs=no 10076 fi 10077 10078 ;; 10079 10080 dgux*) 10081 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10082 hardcode_libdir_flag_spec='-L$libdir' 10083 hardcode_shlibpath_var=no 10084 ;; 10085 10086 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10087 # support. Future versions do this automatically, but an explicit c++rt0.o 10088 # does not break anything, and helps significantly (at the cost of a little 10089 # extra space). 10090 freebsd2.2*) 10091 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10092 hardcode_libdir_flag_spec='-R$libdir' 10093 hardcode_direct=yes 10094 hardcode_shlibpath_var=no 10095 ;; 10096 10097 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10098 freebsd2.*) 10099 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10100 hardcode_direct=yes 10101 hardcode_minus_L=yes 10102 hardcode_shlibpath_var=no 10103 ;; 10104 10105 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10106 freebsd* | dragonfly*) 10107 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10108 hardcode_libdir_flag_spec='-R$libdir' 10109 hardcode_direct=yes 10110 hardcode_shlibpath_var=no 10111 ;; 10112 10113 hpux9*) 10114 if test yes = "$GCC"; then 10115 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10116 else 10117 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10118 fi 10119 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10120 hardcode_libdir_separator=: 10121 hardcode_direct=yes 10122 10123 # hardcode_minus_L: Not really in the search PATH, 10124 # but as the default location of the library. 10125 hardcode_minus_L=yes 10126 export_dynamic_flag_spec='$wl-E' 10127 ;; 10128 10129 hpux10*) 10130 if test yes,no = "$GCC,$with_gnu_ld"; then 10131 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10132 else 10133 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10134 fi 10135 if test no = "$with_gnu_ld"; then 10136 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10137 hardcode_libdir_separator=: 10138 hardcode_direct=yes 10139 hardcode_direct_absolute=yes 10140 export_dynamic_flag_spec='$wl-E' 10141 # hardcode_minus_L: Not really in the search PATH, 10142 # but as the default location of the library. 10143 hardcode_minus_L=yes 10144 fi 10145 ;; 10146 10147 hpux11*) 10148 if test yes,no = "$GCC,$with_gnu_ld"; then 10149 case $host_cpu in 10150 hppa*64*) 10151 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10152 ;; 10153 ia64*) 10154 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10155 ;; 10156 *) 10157 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10158 ;; 10159 esac 10160 else 10161 case $host_cpu in 10162 hppa*64*) 10163 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10164 ;; 10165 ia64*) 10166 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10167 ;; 10168 *) 10169 10170 # Older versions of the 11.00 compiler do not understand -b yet 10171 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10173$as_echo_n "checking if $CC understands -b... " >&6; } 10174if ${lt_cv_prog_compiler__b+:} false; then : 10175 $as_echo_n "(cached) " >&6 10176else 10177 lt_cv_prog_compiler__b=no 10178 save_LDFLAGS=$LDFLAGS 10179 LDFLAGS="$LDFLAGS -b" 10180 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10181 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10182 # The linker can only warn and ignore the option if not recognized 10183 # So say no if there are warnings 10184 if test -s conftest.err; then 10185 # Append any errors to the config.log. 10186 cat conftest.err 1>&5 10187 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10188 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10189 if diff conftest.exp conftest.er2 >/dev/null; then 10190 lt_cv_prog_compiler__b=yes 10191 fi 10192 else 10193 lt_cv_prog_compiler__b=yes 10194 fi 10195 fi 10196 $RM -r conftest* 10197 LDFLAGS=$save_LDFLAGS 10198 10199fi 10200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10201$as_echo "$lt_cv_prog_compiler__b" >&6; } 10202 10203if test yes = "$lt_cv_prog_compiler__b"; then 10204 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10205else 10206 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10207fi 10208 10209 ;; 10210 esac 10211 fi 10212 if test no = "$with_gnu_ld"; then 10213 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10214 hardcode_libdir_separator=: 10215 10216 case $host_cpu in 10217 hppa*64*|ia64*) 10218 hardcode_direct=no 10219 hardcode_shlibpath_var=no 10220 ;; 10221 *) 10222 hardcode_direct=yes 10223 hardcode_direct_absolute=yes 10224 export_dynamic_flag_spec='$wl-E' 10225 10226 # hardcode_minus_L: Not really in the search PATH, 10227 # but as the default location of the library. 10228 hardcode_minus_L=yes 10229 ;; 10230 esac 10231 fi 10232 ;; 10233 10234 irix5* | irix6* | nonstopux*) 10235 if test yes = "$GCC"; then 10236 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' 10237 # Try to use the -exported_symbol ld option, if it does not 10238 # work, assume that -exports_file does not work either and 10239 # implicitly export all symbols. 10240 # This should be the same for all languages, so no per-tag cache variable. 10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10242$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10243if ${lt_cv_irix_exported_symbol+:} false; then : 10244 $as_echo_n "(cached) " >&6 10245else 10246 save_LDFLAGS=$LDFLAGS 10247 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10249/* end confdefs.h. */ 10250int foo (void) { return 0; } 10251_ACEOF 10252if ac_fn_c_try_link "$LINENO"; then : 10253 lt_cv_irix_exported_symbol=yes 10254else 10255 lt_cv_irix_exported_symbol=no 10256fi 10257rm -f core conftest.err conftest.$ac_objext \ 10258 conftest$ac_exeext conftest.$ac_ext 10259 LDFLAGS=$save_LDFLAGS 10260fi 10261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10262$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10263 if test yes = "$lt_cv_irix_exported_symbol"; then 10264 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' 10265 fi 10266 else 10267 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' 10268 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' 10269 fi 10270 archive_cmds_need_lc='no' 10271 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10272 hardcode_libdir_separator=: 10273 inherit_rpath=yes 10274 link_all_deplibs=yes 10275 ;; 10276 10277 linux*) 10278 case $cc_basename in 10279 tcc*) 10280 # Fabrice Bellard et al's Tiny C Compiler 10281 ld_shlibs=yes 10282 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10283 ;; 10284 esac 10285 ;; 10286 10287 netbsd*) 10288 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10289 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10290 else 10291 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10292 fi 10293 hardcode_libdir_flag_spec='-R$libdir' 10294 hardcode_direct=yes 10295 hardcode_shlibpath_var=no 10296 ;; 10297 10298 newsos6) 10299 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10300 hardcode_direct=yes 10301 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10302 hardcode_libdir_separator=: 10303 hardcode_shlibpath_var=no 10304 ;; 10305 10306 *nto* | *qnx*) 10307 ;; 10308 10309 openbsd* | bitrig*) 10310 if test -f /usr/libexec/ld.so; then 10311 hardcode_direct=yes 10312 hardcode_shlibpath_var=no 10313 hardcode_direct_absolute=yes 10314 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10315 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10316 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10317 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10318 export_dynamic_flag_spec='$wl-E' 10319 else 10320 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10321 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10322 fi 10323 else 10324 ld_shlibs=no 10325 fi 10326 ;; 10327 10328 os2*) 10329 hardcode_libdir_flag_spec='-L$libdir' 10330 hardcode_minus_L=yes 10331 allow_undefined_flag=unsupported 10332 shrext_cmds=.dll 10333 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10334 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10335 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10336 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10337 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10338 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10339 emximp -o $lib $output_objdir/$libname.def' 10340 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10341 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10342 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10343 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10344 prefix_cmds="$SED"~ 10345 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10346 prefix_cmds="$prefix_cmds -e 1d"; 10347 fi~ 10348 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10349 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10350 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10351 emximp -o $lib $output_objdir/$libname.def' 10352 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10353 enable_shared_with_static_runtimes=yes 10354 ;; 10355 10356 osf3*) 10357 if test yes = "$GCC"; then 10358 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10359 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' 10360 else 10361 allow_undefined_flag=' -expect_unresolved \*' 10362 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' 10363 fi 10364 archive_cmds_need_lc='no' 10365 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10366 hardcode_libdir_separator=: 10367 ;; 10368 10369 osf4* | osf5*) # as osf3* with the addition of -msym flag 10370 if test yes = "$GCC"; then 10371 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10372 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' 10373 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10374 else 10375 allow_undefined_flag=' -expect_unresolved \*' 10376 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' 10377 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~ 10378 $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' 10379 10380 # Both c and cxx compiler support -rpath directly 10381 hardcode_libdir_flag_spec='-rpath $libdir' 10382 fi 10383 archive_cmds_need_lc='no' 10384 hardcode_libdir_separator=: 10385 ;; 10386 10387 solaris*) 10388 no_undefined_flag=' -z defs' 10389 if test yes = "$GCC"; then 10390 wlarc='$wl' 10391 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10392 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10393 $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' 10394 else 10395 case `$CC -V 2>&1` in 10396 *"Compilers 5.0"*) 10397 wlarc='' 10398 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10399 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10400 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10401 ;; 10402 *) 10403 wlarc='$wl' 10404 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10405 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10406 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10407 ;; 10408 esac 10409 fi 10410 hardcode_libdir_flag_spec='-R$libdir' 10411 hardcode_shlibpath_var=no 10412 case $host_os in 10413 solaris2.[0-5] | solaris2.[0-5].*) ;; 10414 *) 10415 # The compiler driver will combine and reorder linker options, 10416 # but understands '-z linker_flag'. GCC discards it without '$wl', 10417 # but is careful enough not to reorder. 10418 # Supported since Solaris 2.6 (maybe 2.5.1?) 10419 if test yes = "$GCC"; then 10420 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10421 else 10422 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10423 fi 10424 ;; 10425 esac 10426 link_all_deplibs=yes 10427 ;; 10428 10429 sunos4*) 10430 if test sequent = "$host_vendor"; then 10431 # Use $CC to link under sequent, because it throws in some extra .o 10432 # files that make .init and .fini sections work. 10433 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10434 else 10435 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10436 fi 10437 hardcode_libdir_flag_spec='-L$libdir' 10438 hardcode_direct=yes 10439 hardcode_minus_L=yes 10440 hardcode_shlibpath_var=no 10441 ;; 10442 10443 sysv4) 10444 case $host_vendor in 10445 sni) 10446 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10447 hardcode_direct=yes # is this really true??? 10448 ;; 10449 siemens) 10450 ## LD is ld it makes a PLAMLIB 10451 ## CC just makes a GrossModule. 10452 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10453 reload_cmds='$CC -r -o $output$reload_objs' 10454 hardcode_direct=no 10455 ;; 10456 motorola) 10457 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10458 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10459 ;; 10460 esac 10461 runpath_var='LD_RUN_PATH' 10462 hardcode_shlibpath_var=no 10463 ;; 10464 10465 sysv4.3*) 10466 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10467 hardcode_shlibpath_var=no 10468 export_dynamic_flag_spec='-Bexport' 10469 ;; 10470 10471 sysv4*MP*) 10472 if test -d /usr/nec; then 10473 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10474 hardcode_shlibpath_var=no 10475 runpath_var=LD_RUN_PATH 10476 hardcode_runpath_var=yes 10477 ld_shlibs=yes 10478 fi 10479 ;; 10480 10481 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10482 no_undefined_flag='$wl-z,text' 10483 archive_cmds_need_lc=no 10484 hardcode_shlibpath_var=no 10485 runpath_var='LD_RUN_PATH' 10486 10487 if test yes = "$GCC"; then 10488 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10489 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10490 else 10491 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10492 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10493 fi 10494 ;; 10495 10496 sysv5* | sco3.2v5* | sco5v6*) 10497 # Note: We CANNOT use -z defs as we might desire, because we do not 10498 # link with -lc, and that would cause any symbols used from libc to 10499 # always be unresolved, which means just about no library would 10500 # ever link correctly. If we're not using GNU ld we use -z text 10501 # though, which does catch some bad symbols but isn't as heavy-handed 10502 # as -z defs. 10503 no_undefined_flag='$wl-z,text' 10504 allow_undefined_flag='$wl-z,nodefs' 10505 archive_cmds_need_lc=no 10506 hardcode_shlibpath_var=no 10507 hardcode_libdir_flag_spec='$wl-R,$libdir' 10508 hardcode_libdir_separator=':' 10509 link_all_deplibs=yes 10510 export_dynamic_flag_spec='$wl-Bexport' 10511 runpath_var='LD_RUN_PATH' 10512 10513 if test yes = "$GCC"; then 10514 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10515 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10516 else 10517 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10518 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10519 fi 10520 ;; 10521 10522 uts4*) 10523 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10524 hardcode_libdir_flag_spec='-L$libdir' 10525 hardcode_shlibpath_var=no 10526 ;; 10527 10528 *) 10529 ld_shlibs=no 10530 ;; 10531 esac 10532 10533 if test sni = "$host_vendor"; then 10534 case $host in 10535 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10536 export_dynamic_flag_spec='$wl-Blargedynsym' 10537 ;; 10538 esac 10539 fi 10540 fi 10541 10542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10543$as_echo "$ld_shlibs" >&6; } 10544test no = "$ld_shlibs" && can_build_shared=no 10545 10546with_gnu_ld=$with_gnu_ld 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562# 10563# Do we need to explicitly link libc? 10564# 10565case "x$archive_cmds_need_lc" in 10566x|xyes) 10567 # Assume -lc should be added 10568 archive_cmds_need_lc=yes 10569 10570 if test yes,yes = "$GCC,$enable_shared"; then 10571 case $archive_cmds in 10572 *'~'*) 10573 # FIXME: we may have to deal with multi-command sequences. 10574 ;; 10575 '$CC '*) 10576 # Test whether the compiler implicitly links with -lc since on some 10577 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10578 # to ld, don't add -lc before -lgcc. 10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10580$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10581if ${lt_cv_archive_cmds_need_lc+:} false; then : 10582 $as_echo_n "(cached) " >&6 10583else 10584 $RM conftest* 10585 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10586 10587 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10588 (eval $ac_compile) 2>&5 10589 ac_status=$? 10590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10591 test $ac_status = 0; } 2>conftest.err; then 10592 soname=conftest 10593 lib=conftest 10594 libobjs=conftest.$ac_objext 10595 deplibs= 10596 wl=$lt_prog_compiler_wl 10597 pic_flag=$lt_prog_compiler_pic 10598 compiler_flags=-v 10599 linker_flags=-v 10600 verstring= 10601 output_objdir=. 10602 libname=conftest 10603 lt_save_allow_undefined_flag=$allow_undefined_flag 10604 allow_undefined_flag= 10605 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10606 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10607 ac_status=$? 10608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10609 test $ac_status = 0; } 10610 then 10611 lt_cv_archive_cmds_need_lc=no 10612 else 10613 lt_cv_archive_cmds_need_lc=yes 10614 fi 10615 allow_undefined_flag=$lt_save_allow_undefined_flag 10616 else 10617 cat conftest.err 1>&5 10618 fi 10619 $RM conftest* 10620 10621fi 10622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10623$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10624 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10625 ;; 10626 esac 10627 fi 10628 ;; 10629esac 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10783$as_echo_n "checking dynamic linker characteristics... " >&6; } 10784 10785if test yes = "$GCC"; then 10786 case $host_os in 10787 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10788 *) lt_awk_arg='/^libraries:/' ;; 10789 esac 10790 case $host_os in 10791 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10792 *) lt_sed_strip_eq='s|=/|/|g' ;; 10793 esac 10794 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10795 case $lt_search_path_spec in 10796 *\;*) 10797 # if the path contains ";" then we assume it to be the separator 10798 # otherwise default to the standard path separator (i.e. ":") - it is 10799 # assumed that no part of a normal pathname contains ";" but that should 10800 # okay in the real world where ";" in dirpaths is itself problematic. 10801 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10802 ;; 10803 *) 10804 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10805 ;; 10806 esac 10807 # Ok, now we have the path, separated by spaces, we can step through it 10808 # and add multilib dir if necessary... 10809 lt_tmp_lt_search_path_spec= 10810 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10811 # ...but if some path component already ends with the multilib dir we assume 10812 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10813 case "$lt_multi_os_dir; $lt_search_path_spec " in 10814 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10815 lt_multi_os_dir= 10816 ;; 10817 esac 10818 for lt_sys_path in $lt_search_path_spec; do 10819 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10820 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10821 elif test -n "$lt_multi_os_dir"; then 10822 test -d "$lt_sys_path" && \ 10823 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10824 fi 10825 done 10826 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10827BEGIN {RS = " "; FS = "/|\n";} { 10828 lt_foo = ""; 10829 lt_count = 0; 10830 for (lt_i = NF; lt_i > 0; lt_i--) { 10831 if ($lt_i != "" && $lt_i != ".") { 10832 if ($lt_i == "..") { 10833 lt_count++; 10834 } else { 10835 if (lt_count == 0) { 10836 lt_foo = "/" $lt_i lt_foo; 10837 } else { 10838 lt_count--; 10839 } 10840 } 10841 } 10842 } 10843 if (lt_foo != "") { lt_freq[lt_foo]++; } 10844 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10845}'` 10846 # AWK program above erroneously prepends '/' to C:/dos/paths 10847 # for these hosts. 10848 case $host_os in 10849 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10850 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10851 esac 10852 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10853else 10854 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10855fi 10856library_names_spec= 10857libname_spec='lib$name' 10858soname_spec= 10859shrext_cmds=.so 10860postinstall_cmds= 10861postuninstall_cmds= 10862finish_cmds= 10863finish_eval= 10864shlibpath_var= 10865shlibpath_overrides_runpath=unknown 10866version_type=none 10867dynamic_linker="$host_os ld.so" 10868sys_lib_dlsearch_path_spec="/lib /usr/lib" 10869need_lib_prefix=unknown 10870hardcode_into_libs=no 10871 10872# when you set need_version to no, make sure it does not cause -set_version 10873# flags to be left without arguments 10874need_version=unknown 10875 10876 10877 10878case $host_os in 10879aix3*) 10880 version_type=linux # correct to gnu/linux during the next big refactor 10881 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10882 shlibpath_var=LIBPATH 10883 10884 # AIX 3 has no versioning support, so we append a major version to the name. 10885 soname_spec='$libname$release$shared_ext$major' 10886 ;; 10887 10888aix[4-9]*) 10889 version_type=linux # correct to gnu/linux during the next big refactor 10890 need_lib_prefix=no 10891 need_version=no 10892 hardcode_into_libs=yes 10893 if test ia64 = "$host_cpu"; then 10894 # AIX 5 supports IA64 10895 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10896 shlibpath_var=LD_LIBRARY_PATH 10897 else 10898 # With GCC up to 2.95.x, collect2 would create an import file 10899 # for dependence libraries. The import file would start with 10900 # the line '#! .'. This would cause the generated library to 10901 # depend on '.', always an invalid library. This was fixed in 10902 # development snapshots of GCC prior to 3.0. 10903 case $host_os in 10904 aix4 | aix4.[01] | aix4.[01].*) 10905 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10906 echo ' yes ' 10907 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10908 : 10909 else 10910 can_build_shared=no 10911 fi 10912 ;; 10913 esac 10914 # Using Import Files as archive members, it is possible to support 10915 # filename-based versioning of shared library archives on AIX. While 10916 # this would work for both with and without runtime linking, it will 10917 # prevent static linking of such archives. So we do filename-based 10918 # shared library versioning with .so extension only, which is used 10919 # when both runtime linking and shared linking is enabled. 10920 # Unfortunately, runtime linking may impact performance, so we do 10921 # not want this to be the default eventually. Also, we use the 10922 # versioned .so libs for executables only if there is the -brtl 10923 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10924 # To allow for filename-based versioning support, we need to create 10925 # libNAME.so.V as an archive file, containing: 10926 # *) an Import File, referring to the versioned filename of the 10927 # archive as well as the shared archive member, telling the 10928 # bitwidth (32 or 64) of that shared object, and providing the 10929 # list of exported symbols of that shared object, eventually 10930 # decorated with the 'weak' keyword 10931 # *) the shared object with the F_LOADONLY flag set, to really avoid 10932 # it being seen by the linker. 10933 # At run time we better use the real file rather than another symlink, 10934 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10935 10936 case $with_aix_soname,$aix_use_runtimelinking in 10937 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10938 # soname into executable. Probably we can add versioning support to 10939 # collect2, so additional links can be useful in future. 10940 aix,yes) # traditional libtool 10941 dynamic_linker='AIX unversionable lib.so' 10942 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10943 # instead of lib<name>.a to let people know that these are not 10944 # typical AIX shared libraries. 10945 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10946 ;; 10947 aix,no) # traditional AIX only 10948 dynamic_linker='AIX lib.a(lib.so.V)' 10949 # We preserve .a as extension for shared libraries through AIX4.2 10950 # and later when we are not doing run time linking. 10951 library_names_spec='$libname$release.a $libname.a' 10952 soname_spec='$libname$release$shared_ext$major' 10953 ;; 10954 svr4,*) # full svr4 only 10955 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10956 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10957 # We do not specify a path in Import Files, so LIBPATH fires. 10958 shlibpath_overrides_runpath=yes 10959 ;; 10960 *,yes) # both, prefer svr4 10961 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10962 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10963 # unpreferred sharedlib libNAME.a needs extra handling 10964 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 10965 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 10966 # We do not specify a path in Import Files, so LIBPATH fires. 10967 shlibpath_overrides_runpath=yes 10968 ;; 10969 *,no) # both, prefer aix 10970 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10971 library_names_spec='$libname$release.a $libname.a' 10972 soname_spec='$libname$release$shared_ext$major' 10973 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10974 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 10975 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 10976 ;; 10977 esac 10978 shlibpath_var=LIBPATH 10979 fi 10980 ;; 10981 10982amigaos*) 10983 case $host_cpu in 10984 powerpc) 10985 # Since July 2007 AmigaOS4 officially supports .so libraries. 10986 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10987 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10988 ;; 10989 m68k) 10990 library_names_spec='$libname.ixlibrary $libname.a' 10991 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10992 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 10993 ;; 10994 esac 10995 ;; 10996 10997beos*) 10998 library_names_spec='$libname$shared_ext' 10999 dynamic_linker="$host_os ld.so" 11000 shlibpath_var=LIBRARY_PATH 11001 ;; 11002 11003bsdi[45]*) 11004 version_type=linux # correct to gnu/linux during the next big refactor 11005 need_version=no 11006 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11007 soname_spec='$libname$release$shared_ext$major' 11008 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11009 shlibpath_var=LD_LIBRARY_PATH 11010 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11011 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11012 # the default ld.so.conf also contains /usr/contrib/lib and 11013 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11014 # libtool to hard-code these into programs 11015 ;; 11016 11017cygwin* | mingw* | pw32* | cegcc*) 11018 version_type=windows 11019 shrext_cmds=.dll 11020 need_version=no 11021 need_lib_prefix=no 11022 11023 case $GCC,$cc_basename in 11024 yes,*) 11025 # gcc 11026 library_names_spec='$libname.dll.a' 11027 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11028 postinstall_cmds='base_file=`basename \$file`~ 11029 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11030 dldir=$destdir/`dirname \$dlpath`~ 11031 test -d \$dldir || mkdir -p \$dldir~ 11032 $install_prog $dir/$dlname \$dldir/$dlname~ 11033 chmod a+x \$dldir/$dlname~ 11034 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11035 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11036 fi' 11037 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11038 dlpath=$dir/\$dldll~ 11039 $RM \$dlpath' 11040 shlibpath_overrides_runpath=yes 11041 11042 case $host_os in 11043 cygwin*) 11044 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11045 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11046 11047 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11048 ;; 11049 mingw* | cegcc*) 11050 # MinGW DLLs use traditional 'lib' prefix 11051 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11052 ;; 11053 pw32*) 11054 # pw32 DLLs use 'pw' prefix rather than 'lib' 11055 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11056 ;; 11057 esac 11058 dynamic_linker='Win32 ld.exe' 11059 ;; 11060 11061 *,cl*) 11062 # Native MSVC 11063 libname_spec='$name' 11064 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11065 library_names_spec='$libname.dll.lib' 11066 11067 case $build_os in 11068 mingw*) 11069 sys_lib_search_path_spec= 11070 lt_save_ifs=$IFS 11071 IFS=';' 11072 for lt_path in $LIB 11073 do 11074 IFS=$lt_save_ifs 11075 # Let DOS variable expansion print the short 8.3 style file name. 11076 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11077 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11078 done 11079 IFS=$lt_save_ifs 11080 # Convert to MSYS style. 11081 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11082 ;; 11083 cygwin*) 11084 # Convert to unix form, then to dos form, then back to unix form 11085 # but this time dos style (no spaces!) so that the unix form looks 11086 # like /cygdrive/c/PROGRA~1:/cygdr... 11087 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11088 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11089 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11090 ;; 11091 *) 11092 sys_lib_search_path_spec=$LIB 11093 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11094 # It is most probably a Windows format PATH. 11095 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11096 else 11097 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11098 fi 11099 # FIXME: find the short name or the path components, as spaces are 11100 # common. (e.g. "Program Files" -> "PROGRA~1") 11101 ;; 11102 esac 11103 11104 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11105 postinstall_cmds='base_file=`basename \$file`~ 11106 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11107 dldir=$destdir/`dirname \$dlpath`~ 11108 test -d \$dldir || mkdir -p \$dldir~ 11109 $install_prog $dir/$dlname \$dldir/$dlname' 11110 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11111 dlpath=$dir/\$dldll~ 11112 $RM \$dlpath' 11113 shlibpath_overrides_runpath=yes 11114 dynamic_linker='Win32 link.exe' 11115 ;; 11116 11117 *) 11118 # Assume MSVC wrapper 11119 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11120 dynamic_linker='Win32 ld.exe' 11121 ;; 11122 esac 11123 # FIXME: first we should search . and the directory the executable is in 11124 shlibpath_var=PATH 11125 ;; 11126 11127darwin* | rhapsody*) 11128 dynamic_linker="$host_os dyld" 11129 version_type=darwin 11130 need_lib_prefix=no 11131 need_version=no 11132 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11133 soname_spec='$libname$release$major$shared_ext' 11134 shlibpath_overrides_runpath=yes 11135 shlibpath_var=DYLD_LIBRARY_PATH 11136 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11137 11138 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11139 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11140 ;; 11141 11142dgux*) 11143 version_type=linux # correct to gnu/linux during the next big refactor 11144 need_lib_prefix=no 11145 need_version=no 11146 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11147 soname_spec='$libname$release$shared_ext$major' 11148 shlibpath_var=LD_LIBRARY_PATH 11149 ;; 11150 11151freebsd* | dragonfly*) 11152 # DragonFly does not have aout. When/if they implement a new 11153 # versioning mechanism, adjust this. 11154 if test -x /usr/bin/objformat; then 11155 objformat=`/usr/bin/objformat` 11156 else 11157 case $host_os in 11158 freebsd[23].*) objformat=aout ;; 11159 *) objformat=elf ;; 11160 esac 11161 fi 11162 version_type=freebsd-$objformat 11163 case $version_type in 11164 freebsd-elf*) 11165 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11166 soname_spec='$libname$release$shared_ext$major' 11167 need_version=no 11168 need_lib_prefix=no 11169 ;; 11170 freebsd-*) 11171 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11172 need_version=yes 11173 ;; 11174 esac 11175 shlibpath_var=LD_LIBRARY_PATH 11176 case $host_os in 11177 freebsd2.*) 11178 shlibpath_overrides_runpath=yes 11179 ;; 11180 freebsd3.[01]* | freebsdelf3.[01]*) 11181 shlibpath_overrides_runpath=yes 11182 hardcode_into_libs=yes 11183 ;; 11184 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11185 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11186 shlibpath_overrides_runpath=no 11187 hardcode_into_libs=yes 11188 ;; 11189 *) # from 4.6 on, and DragonFly 11190 shlibpath_overrides_runpath=yes 11191 hardcode_into_libs=yes 11192 ;; 11193 esac 11194 ;; 11195 11196haiku*) 11197 version_type=linux # correct to gnu/linux during the next big refactor 11198 need_lib_prefix=no 11199 need_version=no 11200 dynamic_linker="$host_os runtime_loader" 11201 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11202 soname_spec='$libname$release$shared_ext$major' 11203 shlibpath_var=LIBRARY_PATH 11204 shlibpath_overrides_runpath=no 11205 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11206 hardcode_into_libs=yes 11207 ;; 11208 11209hpux9* | hpux10* | hpux11*) 11210 # Give a soname corresponding to the major version so that dld.sl refuses to 11211 # link against other versions. 11212 version_type=sunos 11213 need_lib_prefix=no 11214 need_version=no 11215 case $host_cpu in 11216 ia64*) 11217 shrext_cmds='.so' 11218 hardcode_into_libs=yes 11219 dynamic_linker="$host_os dld.so" 11220 shlibpath_var=LD_LIBRARY_PATH 11221 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11222 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11223 soname_spec='$libname$release$shared_ext$major' 11224 if test 32 = "$HPUX_IA64_MODE"; then 11225 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11226 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11227 else 11228 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11229 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11230 fi 11231 ;; 11232 hppa*64*) 11233 shrext_cmds='.sl' 11234 hardcode_into_libs=yes 11235 dynamic_linker="$host_os dld.sl" 11236 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11237 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11238 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11239 soname_spec='$libname$release$shared_ext$major' 11240 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11241 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11242 ;; 11243 *) 11244 shrext_cmds='.sl' 11245 dynamic_linker="$host_os dld.sl" 11246 shlibpath_var=SHLIB_PATH 11247 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11248 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11249 soname_spec='$libname$release$shared_ext$major' 11250 ;; 11251 esac 11252 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11253 postinstall_cmds='chmod 555 $lib' 11254 # or fails outright, so override atomically: 11255 install_override_mode=555 11256 ;; 11257 11258interix[3-9]*) 11259 version_type=linux # correct to gnu/linux during the next big refactor 11260 need_lib_prefix=no 11261 need_version=no 11262 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11263 soname_spec='$libname$release$shared_ext$major' 11264 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11265 shlibpath_var=LD_LIBRARY_PATH 11266 shlibpath_overrides_runpath=no 11267 hardcode_into_libs=yes 11268 ;; 11269 11270irix5* | irix6* | nonstopux*) 11271 case $host_os in 11272 nonstopux*) version_type=nonstopux ;; 11273 *) 11274 if test yes = "$lt_cv_prog_gnu_ld"; then 11275 version_type=linux # correct to gnu/linux during the next big refactor 11276 else 11277 version_type=irix 11278 fi ;; 11279 esac 11280 need_lib_prefix=no 11281 need_version=no 11282 soname_spec='$libname$release$shared_ext$major' 11283 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11284 case $host_os in 11285 irix5* | nonstopux*) 11286 libsuff= shlibsuff= 11287 ;; 11288 *) 11289 case $LD in # libtool.m4 will add one of these switches to LD 11290 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11291 libsuff= shlibsuff= libmagic=32-bit;; 11292 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11293 libsuff=32 shlibsuff=N32 libmagic=N32;; 11294 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11295 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11296 *) libsuff= shlibsuff= libmagic=never-match;; 11297 esac 11298 ;; 11299 esac 11300 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11301 shlibpath_overrides_runpath=no 11302 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11303 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11304 hardcode_into_libs=yes 11305 ;; 11306 11307# No shared lib support for Linux oldld, aout, or coff. 11308linux*oldld* | linux*aout* | linux*coff*) 11309 dynamic_linker=no 11310 ;; 11311 11312linux*android*) 11313 version_type=none # Android doesn't support versioned libraries. 11314 need_lib_prefix=no 11315 need_version=no 11316 library_names_spec='$libname$release$shared_ext' 11317 soname_spec='$libname$release$shared_ext' 11318 finish_cmds= 11319 shlibpath_var=LD_LIBRARY_PATH 11320 shlibpath_overrides_runpath=yes 11321 11322 # This implies no fast_install, which is unacceptable. 11323 # Some rework will be needed to allow for fast_install 11324 # before this can be enabled. 11325 hardcode_into_libs=yes 11326 11327 dynamic_linker='Android linker' 11328 # Don't embed -rpath directories since the linker doesn't support them. 11329 hardcode_libdir_flag_spec='-L$libdir' 11330 ;; 11331 11332# This must be glibc/ELF. 11333linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11334 version_type=linux # correct to gnu/linux during the next big refactor 11335 need_lib_prefix=no 11336 need_version=no 11337 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11338 soname_spec='$libname$release$shared_ext$major' 11339 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11340 shlibpath_var=LD_LIBRARY_PATH 11341 shlibpath_overrides_runpath=no 11342 11343 # Some binutils ld are patched to set DT_RUNPATH 11344 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11345 $as_echo_n "(cached) " >&6 11346else 11347 lt_cv_shlibpath_overrides_runpath=no 11348 save_LDFLAGS=$LDFLAGS 11349 save_libdir=$libdir 11350 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11351 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11353/* end confdefs.h. */ 11354 11355int 11356main () 11357{ 11358 11359 ; 11360 return 0; 11361} 11362_ACEOF 11363if ac_fn_c_try_link "$LINENO"; then : 11364 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11365 lt_cv_shlibpath_overrides_runpath=yes 11366fi 11367fi 11368rm -f core conftest.err conftest.$ac_objext \ 11369 conftest$ac_exeext conftest.$ac_ext 11370 LDFLAGS=$save_LDFLAGS 11371 libdir=$save_libdir 11372 11373fi 11374 11375 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11376 11377 # This implies no fast_install, which is unacceptable. 11378 # Some rework will be needed to allow for fast_install 11379 # before this can be enabled. 11380 hardcode_into_libs=yes 11381 11382 # Add ABI-specific directories to the system library path. 11383 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 11384 11385 # Ideally, we could use ldconfig to report *all* directores which are 11386 # searched for libraries, however this is still not possible. Aside from not 11387 # being certain /sbin/ldconfig is available, command 11388 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11389 # even though it is searched at run-time. Try to do the best guess by 11390 # appending ld.so.conf contents (and includes) to the search path. 11391 if test -f /etc/ld.so.conf; then 11392 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' ' '` 11393 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 11394 fi 11395 11396 # We used to test for /lib/ld.so.1 and disable shared libraries on 11397 # powerpc, because MkLinux only supported shared libraries with the 11398 # GNU dynamic linker. Since this was broken with cross compilers, 11399 # most powerpc-linux boxes support dynamic linking these days and 11400 # people can always --disable-shared, the test was removed, and we 11401 # assume the GNU/Linux dynamic linker is in use. 11402 dynamic_linker='GNU/Linux ld.so' 11403 ;; 11404 11405netbsd*) 11406 version_type=sunos 11407 need_lib_prefix=no 11408 need_version=no 11409 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11410 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11411 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11412 dynamic_linker='NetBSD (a.out) ld.so' 11413 else 11414 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11415 soname_spec='$libname$release$shared_ext$major' 11416 dynamic_linker='NetBSD ld.elf_so' 11417 fi 11418 shlibpath_var=LD_LIBRARY_PATH 11419 shlibpath_overrides_runpath=yes 11420 hardcode_into_libs=yes 11421 ;; 11422 11423newsos6) 11424 version_type=linux # correct to gnu/linux during the next big refactor 11425 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11426 shlibpath_var=LD_LIBRARY_PATH 11427 shlibpath_overrides_runpath=yes 11428 ;; 11429 11430*nto* | *qnx*) 11431 version_type=qnx 11432 need_lib_prefix=no 11433 need_version=no 11434 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11435 soname_spec='$libname$release$shared_ext$major' 11436 shlibpath_var=LD_LIBRARY_PATH 11437 shlibpath_overrides_runpath=no 11438 hardcode_into_libs=yes 11439 dynamic_linker='ldqnx.so' 11440 ;; 11441 11442openbsd* | bitrig*) 11443 version_type=sunos 11444 sys_lib_dlsearch_path_spec=/usr/lib 11445 need_lib_prefix=no 11446 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11447 need_version=no 11448 else 11449 need_version=yes 11450 fi 11451 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11452 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11453 shlibpath_var=LD_LIBRARY_PATH 11454 shlibpath_overrides_runpath=yes 11455 ;; 11456 11457os2*) 11458 libname_spec='$name' 11459 version_type=windows 11460 shrext_cmds=.dll 11461 need_version=no 11462 need_lib_prefix=no 11463 # OS/2 can only load a DLL with a base name of 8 characters or less. 11464 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11465 v=$($ECHO $release$versuffix | tr -d .-); 11466 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11467 $ECHO $n$v`$shared_ext' 11468 library_names_spec='${libname}_dll.$libext' 11469 dynamic_linker='OS/2 ld.exe' 11470 shlibpath_var=BEGINLIBPATH 11471 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11472 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11473 postinstall_cmds='base_file=`basename \$file`~ 11474 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11475 dldir=$destdir/`dirname \$dlpath`~ 11476 test -d \$dldir || mkdir -p \$dldir~ 11477 $install_prog $dir/$dlname \$dldir/$dlname~ 11478 chmod a+x \$dldir/$dlname~ 11479 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11480 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11481 fi' 11482 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11483 dlpath=$dir/\$dldll~ 11484 $RM \$dlpath' 11485 ;; 11486 11487osf3* | osf4* | osf5*) 11488 version_type=osf 11489 need_lib_prefix=no 11490 need_version=no 11491 soname_spec='$libname$release$shared_ext$major' 11492 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11493 shlibpath_var=LD_LIBRARY_PATH 11494 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11495 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11496 ;; 11497 11498rdos*) 11499 dynamic_linker=no 11500 ;; 11501 11502solaris*) 11503 version_type=linux # correct to gnu/linux during the next big refactor 11504 need_lib_prefix=no 11505 need_version=no 11506 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11507 soname_spec='$libname$release$shared_ext$major' 11508 shlibpath_var=LD_LIBRARY_PATH 11509 shlibpath_overrides_runpath=yes 11510 hardcode_into_libs=yes 11511 # ldd complains unless libraries are executable 11512 postinstall_cmds='chmod +x $lib' 11513 ;; 11514 11515sunos4*) 11516 version_type=sunos 11517 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11518 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11519 shlibpath_var=LD_LIBRARY_PATH 11520 shlibpath_overrides_runpath=yes 11521 if test yes = "$with_gnu_ld"; then 11522 need_lib_prefix=no 11523 fi 11524 need_version=yes 11525 ;; 11526 11527sysv4 | sysv4.3*) 11528 version_type=linux # correct to gnu/linux during the next big refactor 11529 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11530 soname_spec='$libname$release$shared_ext$major' 11531 shlibpath_var=LD_LIBRARY_PATH 11532 case $host_vendor in 11533 sni) 11534 shlibpath_overrides_runpath=no 11535 need_lib_prefix=no 11536 runpath_var=LD_RUN_PATH 11537 ;; 11538 siemens) 11539 need_lib_prefix=no 11540 ;; 11541 motorola) 11542 need_lib_prefix=no 11543 need_version=no 11544 shlibpath_overrides_runpath=no 11545 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11546 ;; 11547 esac 11548 ;; 11549 11550sysv4*MP*) 11551 if test -d /usr/nec; then 11552 version_type=linux # correct to gnu/linux during the next big refactor 11553 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11554 soname_spec='$libname$shared_ext.$major' 11555 shlibpath_var=LD_LIBRARY_PATH 11556 fi 11557 ;; 11558 11559sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11560 version_type=sco 11561 need_lib_prefix=no 11562 need_version=no 11563 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11564 soname_spec='$libname$release$shared_ext$major' 11565 shlibpath_var=LD_LIBRARY_PATH 11566 shlibpath_overrides_runpath=yes 11567 hardcode_into_libs=yes 11568 if test yes = "$with_gnu_ld"; then 11569 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11570 else 11571 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11572 case $host_os in 11573 sco3.2v5*) 11574 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11575 ;; 11576 esac 11577 fi 11578 sys_lib_dlsearch_path_spec='/usr/lib' 11579 ;; 11580 11581tpf*) 11582 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11583 version_type=linux # correct to gnu/linux during the next big refactor 11584 need_lib_prefix=no 11585 need_version=no 11586 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11587 shlibpath_var=LD_LIBRARY_PATH 11588 shlibpath_overrides_runpath=no 11589 hardcode_into_libs=yes 11590 ;; 11591 11592uts4*) 11593 version_type=linux # correct to gnu/linux during the next big refactor 11594 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11595 soname_spec='$libname$release$shared_ext$major' 11596 shlibpath_var=LD_LIBRARY_PATH 11597 ;; 11598 11599*) 11600 dynamic_linker=no 11601 ;; 11602esac 11603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11604$as_echo "$dynamic_linker" >&6; } 11605test no = "$dynamic_linker" && can_build_shared=no 11606 11607variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11608if test yes = "$GCC"; then 11609 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11610fi 11611 11612if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11613 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11614fi 11615 11616if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11617 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11618fi 11619 11620# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11621configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11622 11623# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11624func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11625 11626# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11627configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11726$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11727hardcode_action= 11728if test -n "$hardcode_libdir_flag_spec" || 11729 test -n "$runpath_var" || 11730 test yes = "$hardcode_automatic"; then 11731 11732 # We can hardcode non-existent directories. 11733 if test no != "$hardcode_direct" && 11734 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11735 # have to relink, otherwise we might link with an installed library 11736 # when we should be linking with a yet-to-be-installed one 11737 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11738 test no != "$hardcode_minus_L"; then 11739 # Linking always hardcodes the temporary library directory. 11740 hardcode_action=relink 11741 else 11742 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11743 hardcode_action=immediate 11744 fi 11745else 11746 # We cannot hardcode anything, or else we can only hardcode existing 11747 # directories. 11748 hardcode_action=unsupported 11749fi 11750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11751$as_echo "$hardcode_action" >&6; } 11752 11753if test relink = "$hardcode_action" || 11754 test yes = "$inherit_rpath"; then 11755 # Fast installation is not supported 11756 enable_fast_install=no 11757elif test yes = "$shlibpath_overrides_runpath" || 11758 test no = "$enable_shared"; then 11759 # Fast installation is not necessary 11760 enable_fast_install=needless 11761fi 11762 11763 11764 11765 11766 11767 11768 if test yes != "$enable_dlopen"; then 11769 enable_dlopen=unknown 11770 enable_dlopen_self=unknown 11771 enable_dlopen_self_static=unknown 11772else 11773 lt_cv_dlopen=no 11774 lt_cv_dlopen_libs= 11775 11776 case $host_os in 11777 beos*) 11778 lt_cv_dlopen=load_add_on 11779 lt_cv_dlopen_libs= 11780 lt_cv_dlopen_self=yes 11781 ;; 11782 11783 mingw* | pw32* | cegcc*) 11784 lt_cv_dlopen=LoadLibrary 11785 lt_cv_dlopen_libs= 11786 ;; 11787 11788 cygwin*) 11789 lt_cv_dlopen=dlopen 11790 lt_cv_dlopen_libs= 11791 ;; 11792 11793 darwin*) 11794 # if libdl is installed we need to link against it 11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11796$as_echo_n "checking for dlopen in -ldl... " >&6; } 11797if ${ac_cv_lib_dl_dlopen+:} false; then : 11798 $as_echo_n "(cached) " >&6 11799else 11800 ac_check_lib_save_LIBS=$LIBS 11801LIBS="-ldl $LIBS" 11802cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11803/* end confdefs.h. */ 11804 11805/* Override any GCC internal prototype to avoid an error. 11806 Use char because int might match the return type of a GCC 11807 builtin and then its argument prototype would still apply. */ 11808#ifdef __cplusplus 11809extern "C" 11810#endif 11811char dlopen (); 11812int 11813main () 11814{ 11815return dlopen (); 11816 ; 11817 return 0; 11818} 11819_ACEOF 11820if ac_fn_c_try_link "$LINENO"; then : 11821 ac_cv_lib_dl_dlopen=yes 11822else 11823 ac_cv_lib_dl_dlopen=no 11824fi 11825rm -f core conftest.err conftest.$ac_objext \ 11826 conftest$ac_exeext conftest.$ac_ext 11827LIBS=$ac_check_lib_save_LIBS 11828fi 11829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11830$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11831if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11832 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11833else 11834 11835 lt_cv_dlopen=dyld 11836 lt_cv_dlopen_libs= 11837 lt_cv_dlopen_self=yes 11838 11839fi 11840 11841 ;; 11842 11843 tpf*) 11844 # Don't try to run any link tests for TPF. We know it's impossible 11845 # because TPF is a cross-compiler, and we know how we open DSOs. 11846 lt_cv_dlopen=dlopen 11847 lt_cv_dlopen_libs= 11848 lt_cv_dlopen_self=no 11849 ;; 11850 11851 *) 11852 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11853if test "x$ac_cv_func_shl_load" = xyes; then : 11854 lt_cv_dlopen=shl_load 11855else 11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11857$as_echo_n "checking for shl_load in -ldld... " >&6; } 11858if ${ac_cv_lib_dld_shl_load+:} false; then : 11859 $as_echo_n "(cached) " >&6 11860else 11861 ac_check_lib_save_LIBS=$LIBS 11862LIBS="-ldld $LIBS" 11863cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11864/* end confdefs.h. */ 11865 11866/* Override any GCC internal prototype to avoid an error. 11867 Use char because int might match the return type of a GCC 11868 builtin and then its argument prototype would still apply. */ 11869#ifdef __cplusplus 11870extern "C" 11871#endif 11872char shl_load (); 11873int 11874main () 11875{ 11876return shl_load (); 11877 ; 11878 return 0; 11879} 11880_ACEOF 11881if ac_fn_c_try_link "$LINENO"; then : 11882 ac_cv_lib_dld_shl_load=yes 11883else 11884 ac_cv_lib_dld_shl_load=no 11885fi 11886rm -f core conftest.err conftest.$ac_objext \ 11887 conftest$ac_exeext conftest.$ac_ext 11888LIBS=$ac_check_lib_save_LIBS 11889fi 11890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11891$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11892if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11893 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11894else 11895 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11896if test "x$ac_cv_func_dlopen" = xyes; then : 11897 lt_cv_dlopen=dlopen 11898else 11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11900$as_echo_n "checking for dlopen in -ldl... " >&6; } 11901if ${ac_cv_lib_dl_dlopen+:} false; then : 11902 $as_echo_n "(cached) " >&6 11903else 11904 ac_check_lib_save_LIBS=$LIBS 11905LIBS="-ldl $LIBS" 11906cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11907/* end confdefs.h. */ 11908 11909/* Override any GCC internal prototype to avoid an error. 11910 Use char because int might match the return type of a GCC 11911 builtin and then its argument prototype would still apply. */ 11912#ifdef __cplusplus 11913extern "C" 11914#endif 11915char dlopen (); 11916int 11917main () 11918{ 11919return dlopen (); 11920 ; 11921 return 0; 11922} 11923_ACEOF 11924if ac_fn_c_try_link "$LINENO"; then : 11925 ac_cv_lib_dl_dlopen=yes 11926else 11927 ac_cv_lib_dl_dlopen=no 11928fi 11929rm -f core conftest.err conftest.$ac_objext \ 11930 conftest$ac_exeext conftest.$ac_ext 11931LIBS=$ac_check_lib_save_LIBS 11932fi 11933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11934$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11935if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11936 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11937else 11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11939$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11940if ${ac_cv_lib_svld_dlopen+:} false; then : 11941 $as_echo_n "(cached) " >&6 11942else 11943 ac_check_lib_save_LIBS=$LIBS 11944LIBS="-lsvld $LIBS" 11945cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11946/* end confdefs.h. */ 11947 11948/* Override any GCC internal prototype to avoid an error. 11949 Use char because int might match the return type of a GCC 11950 builtin and then its argument prototype would still apply. */ 11951#ifdef __cplusplus 11952extern "C" 11953#endif 11954char dlopen (); 11955int 11956main () 11957{ 11958return dlopen (); 11959 ; 11960 return 0; 11961} 11962_ACEOF 11963if ac_fn_c_try_link "$LINENO"; then : 11964 ac_cv_lib_svld_dlopen=yes 11965else 11966 ac_cv_lib_svld_dlopen=no 11967fi 11968rm -f core conftest.err conftest.$ac_objext \ 11969 conftest$ac_exeext conftest.$ac_ext 11970LIBS=$ac_check_lib_save_LIBS 11971fi 11972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11973$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11974if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11975 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11976else 11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11978$as_echo_n "checking for dld_link in -ldld... " >&6; } 11979if ${ac_cv_lib_dld_dld_link+:} false; then : 11980 $as_echo_n "(cached) " >&6 11981else 11982 ac_check_lib_save_LIBS=$LIBS 11983LIBS="-ldld $LIBS" 11984cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11985/* end confdefs.h. */ 11986 11987/* Override any GCC internal prototype to avoid an error. 11988 Use char because int might match the return type of a GCC 11989 builtin and then its argument prototype would still apply. */ 11990#ifdef __cplusplus 11991extern "C" 11992#endif 11993char dld_link (); 11994int 11995main () 11996{ 11997return dld_link (); 11998 ; 11999 return 0; 12000} 12001_ACEOF 12002if ac_fn_c_try_link "$LINENO"; then : 12003 ac_cv_lib_dld_dld_link=yes 12004else 12005 ac_cv_lib_dld_dld_link=no 12006fi 12007rm -f core conftest.err conftest.$ac_objext \ 12008 conftest$ac_exeext conftest.$ac_ext 12009LIBS=$ac_check_lib_save_LIBS 12010fi 12011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12012$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12013if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12014 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12015fi 12016 12017 12018fi 12019 12020 12021fi 12022 12023 12024fi 12025 12026 12027fi 12028 12029 12030fi 12031 12032 ;; 12033 esac 12034 12035 if test no = "$lt_cv_dlopen"; then 12036 enable_dlopen=no 12037 else 12038 enable_dlopen=yes 12039 fi 12040 12041 case $lt_cv_dlopen in 12042 dlopen) 12043 save_CPPFLAGS=$CPPFLAGS 12044 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12045 12046 save_LDFLAGS=$LDFLAGS 12047 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12048 12049 save_LIBS=$LIBS 12050 LIBS="$lt_cv_dlopen_libs $LIBS" 12051 12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12053$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12054if ${lt_cv_dlopen_self+:} false; then : 12055 $as_echo_n "(cached) " >&6 12056else 12057 if test yes = "$cross_compiling"; then : 12058 lt_cv_dlopen_self=cross 12059else 12060 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12061 lt_status=$lt_dlunknown 12062 cat > conftest.$ac_ext <<_LT_EOF 12063#line $LINENO "configure" 12064#include "confdefs.h" 12065 12066#if HAVE_DLFCN_H 12067#include <dlfcn.h> 12068#endif 12069 12070#include <stdio.h> 12071 12072#ifdef RTLD_GLOBAL 12073# define LT_DLGLOBAL RTLD_GLOBAL 12074#else 12075# ifdef DL_GLOBAL 12076# define LT_DLGLOBAL DL_GLOBAL 12077# else 12078# define LT_DLGLOBAL 0 12079# endif 12080#endif 12081 12082/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12083 find out it does not work in some platform. */ 12084#ifndef LT_DLLAZY_OR_NOW 12085# ifdef RTLD_LAZY 12086# define LT_DLLAZY_OR_NOW RTLD_LAZY 12087# else 12088# ifdef DL_LAZY 12089# define LT_DLLAZY_OR_NOW DL_LAZY 12090# else 12091# ifdef RTLD_NOW 12092# define LT_DLLAZY_OR_NOW RTLD_NOW 12093# else 12094# ifdef DL_NOW 12095# define LT_DLLAZY_OR_NOW DL_NOW 12096# else 12097# define LT_DLLAZY_OR_NOW 0 12098# endif 12099# endif 12100# endif 12101# endif 12102#endif 12103 12104/* When -fvisibility=hidden is used, assume the code has been annotated 12105 correspondingly for the symbols needed. */ 12106#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12107int fnord () __attribute__((visibility("default"))); 12108#endif 12109 12110int fnord () { return 42; } 12111int main () 12112{ 12113 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12114 int status = $lt_dlunknown; 12115 12116 if (self) 12117 { 12118 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12119 else 12120 { 12121 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12122 else puts (dlerror ()); 12123 } 12124 /* dlclose (self); */ 12125 } 12126 else 12127 puts (dlerror ()); 12128 12129 return status; 12130} 12131_LT_EOF 12132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12133 (eval $ac_link) 2>&5 12134 ac_status=$? 12135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12136 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12137 (./conftest; exit; ) >&5 2>/dev/null 12138 lt_status=$? 12139 case x$lt_status in 12140 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12141 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12142 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12143 esac 12144 else : 12145 # compilation failed 12146 lt_cv_dlopen_self=no 12147 fi 12148fi 12149rm -fr conftest* 12150 12151 12152fi 12153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12154$as_echo "$lt_cv_dlopen_self" >&6; } 12155 12156 if test yes = "$lt_cv_dlopen_self"; then 12157 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12159$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12160if ${lt_cv_dlopen_self_static+:} false; then : 12161 $as_echo_n "(cached) " >&6 12162else 12163 if test yes = "$cross_compiling"; then : 12164 lt_cv_dlopen_self_static=cross 12165else 12166 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12167 lt_status=$lt_dlunknown 12168 cat > conftest.$ac_ext <<_LT_EOF 12169#line $LINENO "configure" 12170#include "confdefs.h" 12171 12172#if HAVE_DLFCN_H 12173#include <dlfcn.h> 12174#endif 12175 12176#include <stdio.h> 12177 12178#ifdef RTLD_GLOBAL 12179# define LT_DLGLOBAL RTLD_GLOBAL 12180#else 12181# ifdef DL_GLOBAL 12182# define LT_DLGLOBAL DL_GLOBAL 12183# else 12184# define LT_DLGLOBAL 0 12185# endif 12186#endif 12187 12188/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12189 find out it does not work in some platform. */ 12190#ifndef LT_DLLAZY_OR_NOW 12191# ifdef RTLD_LAZY 12192# define LT_DLLAZY_OR_NOW RTLD_LAZY 12193# else 12194# ifdef DL_LAZY 12195# define LT_DLLAZY_OR_NOW DL_LAZY 12196# else 12197# ifdef RTLD_NOW 12198# define LT_DLLAZY_OR_NOW RTLD_NOW 12199# else 12200# ifdef DL_NOW 12201# define LT_DLLAZY_OR_NOW DL_NOW 12202# else 12203# define LT_DLLAZY_OR_NOW 0 12204# endif 12205# endif 12206# endif 12207# endif 12208#endif 12209 12210/* When -fvisibility=hidden is used, assume the code has been annotated 12211 correspondingly for the symbols needed. */ 12212#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12213int fnord () __attribute__((visibility("default"))); 12214#endif 12215 12216int fnord () { return 42; } 12217int main () 12218{ 12219 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12220 int status = $lt_dlunknown; 12221 12222 if (self) 12223 { 12224 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12225 else 12226 { 12227 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12228 else puts (dlerror ()); 12229 } 12230 /* dlclose (self); */ 12231 } 12232 else 12233 puts (dlerror ()); 12234 12235 return status; 12236} 12237_LT_EOF 12238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12239 (eval $ac_link) 2>&5 12240 ac_status=$? 12241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12242 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12243 (./conftest; exit; ) >&5 2>/dev/null 12244 lt_status=$? 12245 case x$lt_status in 12246 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12247 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12248 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12249 esac 12250 else : 12251 # compilation failed 12252 lt_cv_dlopen_self_static=no 12253 fi 12254fi 12255rm -fr conftest* 12256 12257 12258fi 12259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12260$as_echo "$lt_cv_dlopen_self_static" >&6; } 12261 fi 12262 12263 CPPFLAGS=$save_CPPFLAGS 12264 LDFLAGS=$save_LDFLAGS 12265 LIBS=$save_LIBS 12266 ;; 12267 esac 12268 12269 case $lt_cv_dlopen_self in 12270 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12271 *) enable_dlopen_self=unknown ;; 12272 esac 12273 12274 case $lt_cv_dlopen_self_static in 12275 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12276 *) enable_dlopen_self_static=unknown ;; 12277 esac 12278fi 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296striplib= 12297old_striplib= 12298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12299$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12300if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12301 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12302 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12304$as_echo "yes" >&6; } 12305else 12306# FIXME - insert some real tests, host_os isn't really good enough 12307 case $host_os in 12308 darwin*) 12309 if test -n "$STRIP"; then 12310 striplib="$STRIP -x" 12311 old_striplib="$STRIP -S" 12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12313$as_echo "yes" >&6; } 12314 else 12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12316$as_echo "no" >&6; } 12317 fi 12318 ;; 12319 *) 12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12321$as_echo "no" >&6; } 12322 ;; 12323 esac 12324fi 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 # Report what library types will actually be built 12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12339$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12341$as_echo "$can_build_shared" >&6; } 12342 12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12344$as_echo_n "checking whether to build shared libraries... " >&6; } 12345 test no = "$can_build_shared" && enable_shared=no 12346 12347 # On AIX, shared libraries and static libraries use the same namespace, and 12348 # are all built from PIC. 12349 case $host_os in 12350 aix3*) 12351 test yes = "$enable_shared" && enable_static=no 12352 if test -n "$RANLIB"; then 12353 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12354 postinstall_cmds='$RANLIB $lib' 12355 fi 12356 ;; 12357 12358 aix[4-9]*) 12359 if test ia64 != "$host_cpu"; then 12360 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12361 yes,aix,yes) ;; # shared object as lib.so file only 12362 yes,svr4,*) ;; # shared object as lib.so archive member only 12363 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12364 esac 12365 fi 12366 ;; 12367 esac 12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12369$as_echo "$enable_shared" >&6; } 12370 12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12372$as_echo_n "checking whether to build static libraries... " >&6; } 12373 # Make sure either enable_shared or enable_static is yes. 12374 test yes = "$enable_shared" || enable_static=yes 12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12376$as_echo "$enable_static" >&6; } 12377 12378 12379 12380 12381fi 12382ac_ext=c 12383ac_cpp='$CPP $CPPFLAGS' 12384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12386ac_compiler_gnu=$ac_cv_c_compiler_gnu 12387 12388CC=$lt_save_CC 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 ac_config_commands="$ac_config_commands libtool" 12405 12406 12407 12408 12409# Only expand once: 12410 12411 12412 12413 12414 12415 12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 12417$as_echo_n "checking whether NLS is requested... " >&6; } 12418 # Check whether --enable-nls was given. 12419if test "${enable_nls+set}" = set; then : 12420 enableval=$enable_nls; USE_NLS=$enableval 12421else 12422 USE_NLS=yes 12423fi 12424 12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 12426$as_echo "$USE_NLS" >&6; } 12427 12428 12429 12430 12431 GETTEXT_MACRO_VERSION=0.20 12432 12433 12434 12435 12436# Prepare PATH_SEPARATOR. 12437# The user is always right. 12438if test "${PATH_SEPARATOR+set}" != set; then 12439 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 12440 # contains only /bin. Note that ksh looks also at the FPATH variable, 12441 # so we have to set that as well for the test. 12442 PATH_SEPARATOR=: 12443 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 12444 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 12445 || PATH_SEPARATOR=';' 12446 } 12447fi 12448 12449# Find out how to test for executable files. Don't use a zero-byte file, 12450# as systems may use methods other than mode bits to determine executability. 12451cat >conf$$.file <<_ASEOF 12452#! /bin/sh 12453exit 0 12454_ASEOF 12455chmod +x conf$$.file 12456if test -x conf$$.file >/dev/null 2>&1; then 12457 ac_executable_p="test -x" 12458else 12459 ac_executable_p="test -f" 12460fi 12461rm -f conf$$.file 12462 12463# Extract the first word of "msgfmt", so it can be a program name with args. 12464set dummy msgfmt; ac_word=$2 12465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12466$as_echo_n "checking for $ac_word... " >&6; } 12467if ${ac_cv_path_MSGFMT+:} false; then : 12468 $as_echo_n "(cached) " >&6 12469else 12470 case "$MSGFMT" in 12471 [\\/]* | ?:[\\/]*) 12472 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 12473 ;; 12474 *) 12475 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 12476 for ac_dir in $PATH; do 12477 IFS="$ac_save_IFS" 12478 test -z "$ac_dir" && ac_dir=. 12479 for ac_exec_ext in '' $ac_executable_extensions; do 12480 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 12481 echo "$as_me: trying $ac_dir/$ac_word..." >&5 12482 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 12483 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 12484 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 12485 break 2 12486 fi 12487 fi 12488 done 12489 done 12490 IFS="$ac_save_IFS" 12491 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 12492 ;; 12493esac 12494fi 12495MSGFMT="$ac_cv_path_MSGFMT" 12496if test "$MSGFMT" != ":"; then 12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 12498$as_echo "$MSGFMT" >&6; } 12499else 12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12501$as_echo "no" >&6; } 12502fi 12503 12504 # Extract the first word of "gmsgfmt", so it can be a program name with args. 12505set dummy gmsgfmt; ac_word=$2 12506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12507$as_echo_n "checking for $ac_word... " >&6; } 12508if ${ac_cv_path_GMSGFMT+:} false; then : 12509 $as_echo_n "(cached) " >&6 12510else 12511 case $GMSGFMT in 12512 [\\/]* | ?:[\\/]*) 12513 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 12514 ;; 12515 *) 12516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12517for as_dir in $PATH 12518do 12519 IFS=$as_save_IFS 12520 test -z "$as_dir" && as_dir=. 12521 for ac_exec_ext in '' $ac_executable_extensions; do 12522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12523 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 12524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12525 break 2 12526 fi 12527done 12528 done 12529IFS=$as_save_IFS 12530 12531 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 12532 ;; 12533esac 12534fi 12535GMSGFMT=$ac_cv_path_GMSGFMT 12536if test -n "$GMSGFMT"; then 12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 12538$as_echo "$GMSGFMT" >&6; } 12539else 12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12541$as_echo "no" >&6; } 12542fi 12543 12544 12545 12546 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 12547 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 12548 *) GMSGFMT_015=$GMSGFMT ;; 12549 esac 12550 12551 12552 12553# Prepare PATH_SEPARATOR. 12554# The user is always right. 12555if test "${PATH_SEPARATOR+set}" != set; then 12556 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 12557 # contains only /bin. Note that ksh looks also at the FPATH variable, 12558 # so we have to set that as well for the test. 12559 PATH_SEPARATOR=: 12560 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 12561 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 12562 || PATH_SEPARATOR=';' 12563 } 12564fi 12565 12566# Find out how to test for executable files. Don't use a zero-byte file, 12567# as systems may use methods other than mode bits to determine executability. 12568cat >conf$$.file <<_ASEOF 12569#! /bin/sh 12570exit 0 12571_ASEOF 12572chmod +x conf$$.file 12573if test -x conf$$.file >/dev/null 2>&1; then 12574 ac_executable_p="test -x" 12575else 12576 ac_executable_p="test -f" 12577fi 12578rm -f conf$$.file 12579 12580# Extract the first word of "xgettext", so it can be a program name with args. 12581set dummy xgettext; ac_word=$2 12582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12583$as_echo_n "checking for $ac_word... " >&6; } 12584if ${ac_cv_path_XGETTEXT+:} false; then : 12585 $as_echo_n "(cached) " >&6 12586else 12587 case "$XGETTEXT" in 12588 [\\/]* | ?:[\\/]*) 12589 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 12590 ;; 12591 *) 12592 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 12593 for ac_dir in $PATH; do 12594 IFS="$ac_save_IFS" 12595 test -z "$ac_dir" && ac_dir=. 12596 for ac_exec_ext in '' $ac_executable_extensions; do 12597 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 12598 echo "$as_me: trying $ac_dir/$ac_word..." >&5 12599 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 12600 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 12601 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 12602 break 2 12603 fi 12604 fi 12605 done 12606 done 12607 IFS="$ac_save_IFS" 12608 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 12609 ;; 12610esac 12611fi 12612XGETTEXT="$ac_cv_path_XGETTEXT" 12613if test "$XGETTEXT" != ":"; then 12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 12615$as_echo "$XGETTEXT" >&6; } 12616else 12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12618$as_echo "no" >&6; } 12619fi 12620 12621 rm -f messages.po 12622 12623 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 12624 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 12625 *) XGETTEXT_015=$XGETTEXT ;; 12626 esac 12627 12628 12629 12630# Prepare PATH_SEPARATOR. 12631# The user is always right. 12632if test "${PATH_SEPARATOR+set}" != set; then 12633 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 12634 # contains only /bin. Note that ksh looks also at the FPATH variable, 12635 # so we have to set that as well for the test. 12636 PATH_SEPARATOR=: 12637 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 12638 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 12639 || PATH_SEPARATOR=';' 12640 } 12641fi 12642 12643# Find out how to test for executable files. Don't use a zero-byte file, 12644# as systems may use methods other than mode bits to determine executability. 12645cat >conf$$.file <<_ASEOF 12646#! /bin/sh 12647exit 0 12648_ASEOF 12649chmod +x conf$$.file 12650if test -x conf$$.file >/dev/null 2>&1; then 12651 ac_executable_p="test -x" 12652else 12653 ac_executable_p="test -f" 12654fi 12655rm -f conf$$.file 12656 12657# Extract the first word of "msgmerge", so it can be a program name with args. 12658set dummy msgmerge; ac_word=$2 12659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12660$as_echo_n "checking for $ac_word... " >&6; } 12661if ${ac_cv_path_MSGMERGE+:} false; then : 12662 $as_echo_n "(cached) " >&6 12663else 12664 case "$MSGMERGE" in 12665 [\\/]* | ?:[\\/]*) 12666 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 12667 ;; 12668 *) 12669 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 12670 for ac_dir in $PATH; do 12671 IFS="$ac_save_IFS" 12672 test -z "$ac_dir" && ac_dir=. 12673 for ac_exec_ext in '' $ac_executable_extensions; do 12674 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 12675 echo "$as_me: trying $ac_dir/$ac_word..." >&5 12676 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 12677 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 12678 break 2 12679 fi 12680 fi 12681 done 12682 done 12683 IFS="$ac_save_IFS" 12684 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 12685 ;; 12686esac 12687fi 12688MSGMERGE="$ac_cv_path_MSGMERGE" 12689if test "$MSGMERGE" != ":"; then 12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 12691$as_echo "$MSGMERGE" >&6; } 12692else 12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12694$as_echo "no" >&6; } 12695fi 12696 12697 12698 if LC_ALL=C $MSGMERGE --help | grep ' --for-msgfmt ' >/dev/null; then 12699 MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt' 12700 else 12701 if LC_ALL=C $MSGMERGE --help | grep ' --no-fuzzy-matching ' >/dev/null; then 12702 MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet' 12703 else 12704 MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet' 12705 fi 12706 fi 12707 12708 12709 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 12710 12711 12712 ac_config_commands="$ac_config_commands po-directories" 12713 12714 12715 12716 if test "X$prefix" = "XNONE"; then 12717 acl_final_prefix="$ac_default_prefix" 12718 else 12719 acl_final_prefix="$prefix" 12720 fi 12721 if test "X$exec_prefix" = "XNONE"; then 12722 acl_final_exec_prefix='${prefix}' 12723 else 12724 acl_final_exec_prefix="$exec_prefix" 12725 fi 12726 acl_save_prefix="$prefix" 12727 prefix="$acl_final_prefix" 12728 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 12729 prefix="$acl_save_prefix" 12730 12731 12732 12733# Check whether --with-gnu-ld was given. 12734if test "${with_gnu_ld+set}" = set; then : 12735 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 12736else 12737 with_gnu_ld=no 12738fi 12739 12740# Prepare PATH_SEPARATOR. 12741# The user is always right. 12742if test "${PATH_SEPARATOR+set}" != set; then 12743 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 12744 # contains only /bin. Note that ksh looks also at the FPATH variable, 12745 # so we have to set that as well for the test. 12746 PATH_SEPARATOR=: 12747 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 12748 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 12749 || PATH_SEPARATOR=';' 12750 } 12751fi 12752 12753if test -n "$LD"; then 12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld" >&5 12755$as_echo_n "checking for ld... " >&6; } 12756elif test "$GCC" = yes; then 12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 12758$as_echo_n "checking for ld used by $CC... " >&6; } 12759elif test "$with_gnu_ld" = yes; then 12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 12761$as_echo_n "checking for GNU ld... " >&6; } 12762else 12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 12764$as_echo_n "checking for non-GNU ld... " >&6; } 12765fi 12766if test -n "$LD"; then 12767 # Let the user override the test with a path. 12768 : 12769else 12770 if ${acl_cv_path_LD+:} false; then : 12771 $as_echo_n "(cached) " >&6 12772else 12773 12774 acl_cv_path_LD= # Final result of this test 12775 ac_prog=ld # Program to search in $PATH 12776 if test "$GCC" = yes; then 12777 # Check if gcc -print-prog-name=ld gives a path. 12778 case $host in 12779 *-*-mingw*) 12780 # gcc leaves a trailing carriage return which upsets mingw 12781 acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 12782 *) 12783 acl_output=`($CC -print-prog-name=ld) 2>&5` ;; 12784 esac 12785 case $acl_output in 12786 # Accept absolute paths. 12787 [\\/]* | ?:[\\/]*) 12788 re_direlt='/[^/][^/]*/\.\./' 12789 # Canonicalize the pathname of ld 12790 acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'` 12791 while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do 12792 acl_output=`echo $acl_output | sed "s%$re_direlt%/%"` 12793 done 12794 # Got the pathname. No search in PATH is needed. 12795 acl_cv_path_LD="$acl_output" 12796 ac_prog= 12797 ;; 12798 "") 12799 # If it fails, then pretend we aren't using GCC. 12800 ;; 12801 *) 12802 # If it is relative, then search for the first ld in PATH. 12803 with_gnu_ld=unknown 12804 ;; 12805 esac 12806 fi 12807 if test -n "$ac_prog"; then 12808 # Search for $ac_prog in $PATH. 12809 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 12810 for ac_dir in $PATH; do 12811 IFS="$acl_save_ifs" 12812 test -z "$ac_dir" && ac_dir=. 12813 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 12814 acl_cv_path_LD="$ac_dir/$ac_prog" 12815 # Check to see if the program is GNU ld. I'd rather use --version, 12816 # but apparently some variants of GNU ld only accept -v. 12817 # Break only if it was the GNU/non-GNU ld that we prefer. 12818 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in 12819 *GNU* | *'with BFD'*) 12820 test "$with_gnu_ld" != no && break 12821 ;; 12822 *) 12823 test "$with_gnu_ld" != yes && break 12824 ;; 12825 esac 12826 fi 12827 done 12828 IFS="$acl_save_ifs" 12829 fi 12830 case $host in 12831 *-*-aix*) 12832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12833/* end confdefs.h. */ 12834#if defined __powerpc64__ || defined _ARCH_PPC64 12835 int ok; 12836 #else 12837 error fail 12838 #endif 12839 12840_ACEOF 12841if ac_fn_c_try_compile "$LINENO"; then : 12842 # The compiler produces 64-bit code. Add option '-b64' so that the 12843 # linker groks 64-bit object files. 12844 case "$acl_cv_path_LD " in 12845 *" -b64 "*) ;; 12846 *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;; 12847 esac 12848 12849fi 12850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12851 ;; 12852 sparc64-*-netbsd*) 12853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12854/* end confdefs.h. */ 12855#if defined __sparcv9 || defined __arch64__ 12856 int ok; 12857 #else 12858 error fail 12859 #endif 12860 12861_ACEOF 12862if ac_fn_c_try_compile "$LINENO"; then : 12863 12864else 12865 # The compiler produces 32-bit code. Add option '-m elf32_sparc' 12866 # so that the linker groks 32-bit object files. 12867 case "$acl_cv_path_LD " in 12868 *" -m elf32_sparc "*) ;; 12869 *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;; 12870 esac 12871 12872fi 12873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12874 ;; 12875 esac 12876 12877fi 12878 12879 LD="$acl_cv_path_LD" 12880fi 12881if test -n "$LD"; then 12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 12883$as_echo "$LD" >&6; } 12884else 12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12886$as_echo "no" >&6; } 12887 as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 12888fi 12889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 12890$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 12891if ${acl_cv_prog_gnu_ld+:} false; then : 12892 $as_echo_n "(cached) " >&6 12893else 12894 # I'd rather use --version here, but apparently some GNU lds only accept -v. 12895case `$LD -v 2>&1 </dev/null` in 12896*GNU* | *'with BFD'*) 12897 acl_cv_prog_gnu_ld=yes 12898 ;; 12899*) 12900 acl_cv_prog_gnu_ld=no 12901 ;; 12902esac 12903fi 12904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 12905$as_echo "$acl_cv_prog_gnu_ld" >&6; } 12906with_gnu_ld=$acl_cv_prog_gnu_ld 12907 12908 12909 12910 12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 12912$as_echo_n "checking for shared library run path origin... " >&6; } 12913if ${acl_cv_rpath+:} false; then : 12914 $as_echo_n "(cached) " >&6 12915else 12916 12917 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 12918 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 12919 . ./conftest.sh 12920 rm -f ./conftest.sh 12921 acl_cv_rpath=done 12922 12923fi 12924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 12925$as_echo "$acl_cv_rpath" >&6; } 12926 wl="$acl_cv_wl" 12927 acl_libext="$acl_cv_libext" 12928 acl_shlibext="$acl_cv_shlibext" 12929 acl_libname_spec="$acl_cv_libname_spec" 12930 acl_library_names_spec="$acl_cv_library_names_spec" 12931 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 12932 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 12933 acl_hardcode_direct="$acl_cv_hardcode_direct" 12934 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 12935 # Check whether --enable-rpath was given. 12936if test "${enable_rpath+set}" = set; then : 12937 enableval=$enable_rpath; : 12938else 12939 enable_rpath=yes 12940fi 12941 12942 12943 12944 12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5 12946$as_echo_n "checking 32-bit host C ABI... " >&6; } 12947if ${gl_cv_host_cpu_c_abi_32bit+:} false; then : 12948 $as_echo_n "(cached) " >&6 12949else 12950 if test -n "$gl_cv_host_cpu_c_abi"; then 12951 case "$gl_cv_host_cpu_c_abi" in 12952 i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc) 12953 gl_cv_host_cpu_c_abi_32bit=yes ;; 12954 x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 ) 12955 gl_cv_host_cpu_c_abi_32bit=no ;; 12956 *) 12957 gl_cv_host_cpu_c_abi_32bit=unknown ;; 12958 esac 12959 else 12960 case "$host_cpu" in 12961 12962 # CPUs that only support a 32-bit ABI. 12963 arc \ 12964 | bfin \ 12965 | cris* \ 12966 | csky \ 12967 | epiphany \ 12968 | ft32 \ 12969 | h8300 \ 12970 | m68k \ 12971 | microblaze | microblazeel \ 12972 | nds32 | nds32le | nds32be \ 12973 | nios2 | nios2eb | nios2el \ 12974 | or1k* \ 12975 | or32 \ 12976 | sh | sh1234 | sh1234elb \ 12977 | tic6x \ 12978 | xtensa* ) 12979 gl_cv_host_cpu_c_abi_32bit=yes 12980 ;; 12981 12982 # CPUs that only support a 64-bit ABI. 12983 alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \ 12984 | mmix ) 12985 gl_cv_host_cpu_c_abi_32bit=no 12986 ;; 12987 12988 i[34567]86 ) 12989 gl_cv_host_cpu_c_abi_32bit=yes 12990 ;; 12991 12992 x86_64 ) 12993 # On x86_64 systems, the C compiler may be generating code in one of 12994 # these ABIs: 12995 # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64. 12996 # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64 12997 # with native Windows (mingw, MSVC). 12998 # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32. 12999 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386. 13000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13001/* end confdefs.h. */ 13002#if (defined __x86_64__ || defined __amd64__ \ 13003 || defined _M_X64 || defined _M_AMD64) \ 13004 && !(defined __ILP32__ || defined _ILP32) 13005 int ok; 13006 #else 13007 error fail 13008 #endif 13009 13010_ACEOF 13011if ac_fn_c_try_compile "$LINENO"; then : 13012 gl_cv_host_cpu_c_abi_32bit=no 13013else 13014 gl_cv_host_cpu_c_abi_32bit=yes 13015fi 13016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13017 ;; 13018 13019 arm* | aarch64 ) 13020 # Assume arm with EABI. 13021 # On arm64 systems, the C compiler may be generating code in one of 13022 # these ABIs: 13023 # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64. 13024 # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32. 13025 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf. 13026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13027/* end confdefs.h. */ 13028#if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32) 13029 int ok; 13030 #else 13031 error fail 13032 #endif 13033 13034_ACEOF 13035if ac_fn_c_try_compile "$LINENO"; then : 13036 gl_cv_host_cpu_c_abi_32bit=no 13037else 13038 gl_cv_host_cpu_c_abi_32bit=yes 13039fi 13040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13041 ;; 13042 13043 hppa1.0 | hppa1.1 | hppa2.0* | hppa64 ) 13044 # On hppa, the C compiler may be generating 32-bit code or 64-bit 13045 # code. In the latter case, it defines _LP64 and __LP64__. 13046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13047/* end confdefs.h. */ 13048#ifdef __LP64__ 13049 int ok; 13050 #else 13051 error fail 13052 #endif 13053 13054_ACEOF 13055if ac_fn_c_try_compile "$LINENO"; then : 13056 gl_cv_host_cpu_c_abi_32bit=no 13057else 13058 gl_cv_host_cpu_c_abi_32bit=yes 13059fi 13060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13061 ;; 13062 13063 ia64* ) 13064 # On ia64 on HP-UX, the C compiler may be generating 64-bit code or 13065 # 32-bit code. In the latter case, it defines _ILP32. 13066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13067/* end confdefs.h. */ 13068#ifdef _ILP32 13069 int ok; 13070 #else 13071 error fail 13072 #endif 13073 13074_ACEOF 13075if ac_fn_c_try_compile "$LINENO"; then : 13076 gl_cv_host_cpu_c_abi_32bit=yes 13077else 13078 gl_cv_host_cpu_c_abi_32bit=no 13079fi 13080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13081 ;; 13082 13083 mips* ) 13084 # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this 13085 # at 32. 13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13087/* end confdefs.h. */ 13088#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64) 13089 int ok; 13090 #else 13091 error fail 13092 #endif 13093 13094_ACEOF 13095if ac_fn_c_try_compile "$LINENO"; then : 13096 gl_cv_host_cpu_c_abi_32bit=no 13097else 13098 gl_cv_host_cpu_c_abi_32bit=yes 13099fi 13100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13101 ;; 13102 13103 powerpc* ) 13104 # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD. 13105 # No need to distinguish them here; the caller may distinguish 13106 # them based on the OS. 13107 # On powerpc64 systems, the C compiler may still be generating 13108 # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may 13109 # be generating 64-bit code. 13110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13111/* end confdefs.h. */ 13112#if defined __powerpc64__ || defined _ARCH_PPC64 13113 int ok; 13114 #else 13115 error fail 13116 #endif 13117 13118_ACEOF 13119if ac_fn_c_try_compile "$LINENO"; then : 13120 gl_cv_host_cpu_c_abi_32bit=no 13121else 13122 gl_cv_host_cpu_c_abi_32bit=yes 13123fi 13124rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13125 ;; 13126 13127 rs6000 ) 13128 gl_cv_host_cpu_c_abi_32bit=yes 13129 ;; 13130 13131 riscv32 | riscv64 ) 13132 # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d. 13133 # Size of 'long' and 'void *': 13134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13135/* end confdefs.h. */ 13136#if defined __LP64__ 13137 int ok; 13138 #else 13139 error fail 13140 #endif 13141 13142_ACEOF 13143if ac_fn_c_try_compile "$LINENO"; then : 13144 gl_cv_host_cpu_c_abi_32bit=no 13145else 13146 gl_cv_host_cpu_c_abi_32bit=yes 13147fi 13148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13149 ;; 13150 13151 s390* ) 13152 # On s390x, the C compiler may be generating 64-bit (= s390x) code 13153 # or 31-bit (= s390) code. 13154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13155/* end confdefs.h. */ 13156#if defined __LP64__ || defined __s390x__ 13157 int ok; 13158 #else 13159 error fail 13160 #endif 13161 13162_ACEOF 13163if ac_fn_c_try_compile "$LINENO"; then : 13164 gl_cv_host_cpu_c_abi_32bit=no 13165else 13166 gl_cv_host_cpu_c_abi_32bit=yes 13167fi 13168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13169 ;; 13170 13171 sparc | sparc64 ) 13172 # UltraSPARCs running Linux have `uname -m` = "sparc64", but the 13173 # C compiler still generates 32-bit code. 13174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13175/* end confdefs.h. */ 13176#if defined __sparcv9 || defined __arch64__ 13177 int ok; 13178 #else 13179 error fail 13180 #endif 13181 13182_ACEOF 13183if ac_fn_c_try_compile "$LINENO"; then : 13184 gl_cv_host_cpu_c_abi_32bit=no 13185else 13186 gl_cv_host_cpu_c_abi_32bit=yes 13187fi 13188rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13189 ;; 13190 13191 *) 13192 gl_cv_host_cpu_c_abi_32bit=unknown 13193 ;; 13194 esac 13195 fi 13196 13197fi 13198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5 13199$as_echo "$gl_cv_host_cpu_c_abi_32bit" >&6; } 13200 13201 HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit" 13202 13203 13204 13205 13206 13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5 13208$as_echo_n "checking for ELF binary format... " >&6; } 13209if ${gl_cv_elf+:} false; then : 13210 $as_echo_n "(cached) " >&6 13211else 13212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13213/* end confdefs.h. */ 13214#ifdef __ELF__ 13215 Extensible Linking Format 13216 #endif 13217 13218_ACEOF 13219if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13220 $EGREP "Extensible Linking Format" >/dev/null 2>&1; then : 13221 gl_cv_elf=yes 13222else 13223 gl_cv_elf=no 13224fi 13225rm -f conftest* 13226 13227 13228fi 13229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5 13230$as_echo "$gl_cv_elf" >&6; } 13231 if test $gl_cv_elf; then 13232 # Extract the ELF class of a file (5th byte) in decimal. 13233 # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header 13234 if od -A x < /dev/null >/dev/null 2>/dev/null; then 13235 # Use POSIX od. 13236 func_elfclass () 13237 { 13238 od -A n -t d1 -j 4 -N 1 13239 } 13240 else 13241 # Use BSD hexdump. 13242 func_elfclass () 13243 { 13244 dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "' 13245 echo 13246 } 13247 fi 13248 case $HOST_CPU_C_ABI_32BIT in 13249 yes) 13250 # 32-bit ABI. 13251 acl_is_expected_elfclass () 13252 { 13253 test "`func_elfclass | sed -e 's/[ ]//g'`" = 1 13254 } 13255 ;; 13256 no) 13257 # 64-bit ABI. 13258 acl_is_expected_elfclass () 13259 { 13260 test "`func_elfclass | sed -e 's/[ ]//g'`" = 2 13261 } 13262 ;; 13263 *) 13264 # Unknown. 13265 acl_is_expected_elfclass () 13266 { 13267 : 13268 } 13269 ;; 13270 esac 13271 else 13272 acl_is_expected_elfclass () 13273 { 13274 : 13275 } 13276 fi 13277 13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5 13279$as_echo_n "checking for the common suffixes of directories in the library search path... " >&6; } 13280if ${acl_cv_libdirstems+:} false; then : 13281 $as_echo_n "(cached) " >&6 13282else 13283 acl_libdirstem=lib 13284 acl_libdirstem2= 13285 acl_libdirstem3= 13286 case "$host_os" in 13287 solaris*) 13288 if test $HOST_CPU_C_ABI_32BIT = no; then 13289 acl_libdirstem2=lib/64 13290 case "$host_cpu" in 13291 sparc*) acl_libdirstem3=lib/sparcv9 ;; 13292 i*86 | x86_64) acl_libdirstem3=lib/amd64 ;; 13293 esac 13294 fi 13295 ;; 13296 *) 13297 searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \ 13298 | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 13299 if test $HOST_CPU_C_ABI_32BIT != no; then 13300 # 32-bit or unknown ABI. 13301 if test -d /usr/lib32; then 13302 acl_libdirstem2=lib32 13303 fi 13304 fi 13305 if test $HOST_CPU_C_ABI_32BIT != yes; then 13306 # 64-bit or unknown ABI. 13307 if test -d /usr/lib64; then 13308 acl_libdirstem3=lib64 13309 fi 13310 fi 13311 if test -n "$searchpath"; then 13312 acl_save_IFS="${IFS= }"; IFS=":" 13313 for searchdir in $searchpath; do 13314 if test -d "$searchdir"; then 13315 case "$searchdir" in 13316 */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;; 13317 */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;; 13318 */../ | */.. ) 13319 # Better ignore directories of this form. They are misleading. 13320 ;; 13321 *) searchdir=`cd "$searchdir" && pwd` 13322 case "$searchdir" in 13323 */lib32 ) acl_libdirstem2=lib32 ;; 13324 */lib64 ) acl_libdirstem3=lib64 ;; 13325 esac ;; 13326 esac 13327 fi 13328 done 13329 IFS="$acl_save_IFS" 13330 if test $HOST_CPU_C_ABI_32BIT = yes; then 13331 # 32-bit ABI. 13332 acl_libdirstem3= 13333 fi 13334 if test $HOST_CPU_C_ABI_32BIT = no; then 13335 # 64-bit ABI. 13336 acl_libdirstem2= 13337 fi 13338 fi 13339 ;; 13340 esac 13341 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 13342 test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem" 13343 acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3" 13344 13345fi 13346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5 13347$as_echo "$acl_cv_libdirstems" >&6; } 13348 acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'` 13349 acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'` 13350 acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'` 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 use_additional=yes 13363 13364 acl_save_prefix="$prefix" 13365 prefix="$acl_final_prefix" 13366 acl_save_exec_prefix="$exec_prefix" 13367 exec_prefix="$acl_final_exec_prefix" 13368 13369 eval additional_includedir=\"$includedir\" 13370 eval additional_libdir=\"$libdir\" 13371 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" 13372 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" 13373 13374 exec_prefix="$acl_save_exec_prefix" 13375 prefix="$acl_save_prefix" 13376 13377 13378# Check whether --with-libiconv-prefix was given. 13379if test "${with_libiconv_prefix+set}" = set; then : 13380 withval=$with_libiconv_prefix; 13381 if test "X$withval" = "Xno"; then 13382 use_additional=no 13383 else 13384 if test "X$withval" = "X"; then 13385 13386 acl_save_prefix="$prefix" 13387 prefix="$acl_final_prefix" 13388 acl_save_exec_prefix="$exec_prefix" 13389 exec_prefix="$acl_final_exec_prefix" 13390 13391 eval additional_includedir=\"$includedir\" 13392 eval additional_libdir=\"$libdir\" 13393 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" 13394 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" 13395 13396 exec_prefix="$acl_save_exec_prefix" 13397 prefix="$acl_save_prefix" 13398 13399 else 13400 additional_includedir="$withval/include" 13401 additional_libdir="$withval/$acl_libdirstem" 13402 additional_libdir2="$withval/$acl_libdirstem2" 13403 additional_libdir3="$withval/$acl_libdirstem3" 13404 fi 13405 fi 13406 13407fi 13408 13409 if test "X$additional_libdir2" = "X$additional_libdir"; then 13410 additional_libdir2= 13411 fi 13412 if test "X$additional_libdir3" = "X$additional_libdir"; then 13413 additional_libdir3= 13414 fi 13415 LIBICONV= 13416 LTLIBICONV= 13417 INCICONV= 13418 LIBICONV_PREFIX= 13419 HAVE_LIBICONV= 13420 rpathdirs= 13421 ltrpathdirs= 13422 names_already_handled= 13423 names_next_round='iconv ' 13424 while test -n "$names_next_round"; do 13425 names_this_round="$names_next_round" 13426 names_next_round= 13427 for name in $names_this_round; do 13428 already_handled= 13429 for n in $names_already_handled; do 13430 if test "$n" = "$name"; then 13431 already_handled=yes 13432 break 13433 fi 13434 done 13435 if test -z "$already_handled"; then 13436 names_already_handled="$names_already_handled $name" 13437 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 13438 eval value=\"\$HAVE_LIB$uppername\" 13439 if test -n "$value"; then 13440 if test "$value" = yes; then 13441 eval value=\"\$LIB$uppername\" 13442 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 13443 eval value=\"\$LTLIB$uppername\" 13444 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 13445 else 13446 : 13447 fi 13448 else 13449 found_dir= 13450 found_la= 13451 found_so= 13452 found_a= 13453 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 13454 if test -n "$acl_shlibext"; then 13455 shrext=".$acl_shlibext" # typically: shrext=.so 13456 else 13457 shrext= 13458 fi 13459 if test $use_additional = yes; then 13460 for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do 13461 if test "X$found_dir" = "X"; then 13462 eval dir=\$$additional_libdir_variable 13463 if test -n "$dir"; then 13464 if test -n "$acl_shlibext"; then 13465 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then 13466 found_dir="$dir" 13467 found_so="$dir/$libname$shrext" 13468 else 13469 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 13470 ver=`(cd "$dir" && \ 13471 for f in "$libname$shrext".*; do echo "$f"; done \ 13472 | sed -e "s,^$libname$shrext\\\\.,," \ 13473 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 13474 | sed 1q ) 2>/dev/null` 13475 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then 13476 found_dir="$dir" 13477 found_so="$dir/$libname$shrext.$ver" 13478 fi 13479 else 13480 eval library_names=\"$acl_library_names_spec\" 13481 for f in $library_names; do 13482 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then 13483 found_dir="$dir" 13484 found_so="$dir/$f" 13485 break 13486 fi 13487 done 13488 fi 13489 fi 13490 fi 13491 if test "X$found_dir" = "X"; then 13492 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then 13493 found_dir="$dir" 13494 found_a="$dir/$libname.$acl_libext" 13495 fi 13496 fi 13497 if test "X$found_dir" != "X"; then 13498 if test -f "$dir/$libname.la"; then 13499 found_la="$dir/$libname.la" 13500 fi 13501 fi 13502 fi 13503 fi 13504 done 13505 fi 13506 if test "X$found_dir" = "X"; then 13507 for x in $LDFLAGS $LTLIBICONV; do 13508 13509 acl_save_prefix="$prefix" 13510 prefix="$acl_final_prefix" 13511 acl_save_exec_prefix="$exec_prefix" 13512 exec_prefix="$acl_final_exec_prefix" 13513 eval x=\"$x\" 13514 exec_prefix="$acl_save_exec_prefix" 13515 prefix="$acl_save_prefix" 13516 13517 case "$x" in 13518 -L*) 13519 dir=`echo "X$x" | sed -e 's/^X-L//'` 13520 if test -n "$acl_shlibext"; then 13521 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then 13522 found_dir="$dir" 13523 found_so="$dir/$libname$shrext" 13524 else 13525 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 13526 ver=`(cd "$dir" && \ 13527 for f in "$libname$shrext".*; do echo "$f"; done \ 13528 | sed -e "s,^$libname$shrext\\\\.,," \ 13529 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 13530 | sed 1q ) 2>/dev/null` 13531 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then 13532 found_dir="$dir" 13533 found_so="$dir/$libname$shrext.$ver" 13534 fi 13535 else 13536 eval library_names=\"$acl_library_names_spec\" 13537 for f in $library_names; do 13538 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then 13539 found_dir="$dir" 13540 found_so="$dir/$f" 13541 break 13542 fi 13543 done 13544 fi 13545 fi 13546 fi 13547 if test "X$found_dir" = "X"; then 13548 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then 13549 found_dir="$dir" 13550 found_a="$dir/$libname.$acl_libext" 13551 fi 13552 fi 13553 if test "X$found_dir" != "X"; then 13554 if test -f "$dir/$libname.la"; then 13555 found_la="$dir/$libname.la" 13556 fi 13557 fi 13558 ;; 13559 esac 13560 if test "X$found_dir" != "X"; then 13561 break 13562 fi 13563 done 13564 fi 13565 if test "X$found_dir" != "X"; then 13566 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 13567 if test "X$found_so" != "X"; then 13568 if test "$enable_rpath" = no \ 13569 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 13570 || test "X$found_dir" = "X/usr/$acl_libdirstem2" \ 13571 || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then 13572 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 13573 else 13574 haveit= 13575 for x in $ltrpathdirs; do 13576 if test "X$x" = "X$found_dir"; then 13577 haveit=yes 13578 break 13579 fi 13580 done 13581 if test -z "$haveit"; then 13582 ltrpathdirs="$ltrpathdirs $found_dir" 13583 fi 13584 if test "$acl_hardcode_direct" = yes; then 13585 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 13586 else 13587 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 13588 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 13589 haveit= 13590 for x in $rpathdirs; do 13591 if test "X$x" = "X$found_dir"; then 13592 haveit=yes 13593 break 13594 fi 13595 done 13596 if test -z "$haveit"; then 13597 rpathdirs="$rpathdirs $found_dir" 13598 fi 13599 else 13600 haveit= 13601 for x in $LDFLAGS $LIBICONV; do 13602 13603 acl_save_prefix="$prefix" 13604 prefix="$acl_final_prefix" 13605 acl_save_exec_prefix="$exec_prefix" 13606 exec_prefix="$acl_final_exec_prefix" 13607 eval x=\"$x\" 13608 exec_prefix="$acl_save_exec_prefix" 13609 prefix="$acl_save_prefix" 13610 13611 if test "X$x" = "X-L$found_dir"; then 13612 haveit=yes 13613 break 13614 fi 13615 done 13616 if test -z "$haveit"; then 13617 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 13618 fi 13619 if test "$acl_hardcode_minus_L" != no; then 13620 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 13621 else 13622 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 13623 fi 13624 fi 13625 fi 13626 fi 13627 else 13628 if test "X$found_a" != "X"; then 13629 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 13630 else 13631 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 13632 fi 13633 fi 13634 additional_includedir= 13635 case "$found_dir" in 13636 */$acl_libdirstem | */$acl_libdirstem/) 13637 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 13638 if test "$name" = 'iconv'; then 13639 LIBICONV_PREFIX="$basedir" 13640 fi 13641 additional_includedir="$basedir/include" 13642 ;; 13643 */$acl_libdirstem2 | */$acl_libdirstem2/) 13644 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 13645 if test "$name" = 'iconv'; then 13646 LIBICONV_PREFIX="$basedir" 13647 fi 13648 additional_includedir="$basedir/include" 13649 ;; 13650 */$acl_libdirstem3 | */$acl_libdirstem3/) 13651 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'` 13652 if test "$name" = 'iconv'; then 13653 LIBICONV_PREFIX="$basedir" 13654 fi 13655 additional_includedir="$basedir/include" 13656 ;; 13657 esac 13658 if test "X$additional_includedir" != "X"; then 13659 if test "X$additional_includedir" != "X/usr/include"; then 13660 haveit= 13661 if test "X$additional_includedir" = "X/usr/local/include"; then 13662 if test -n "$GCC"; then 13663 case $host_os in 13664 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 13665 esac 13666 fi 13667 fi 13668 if test -z "$haveit"; then 13669 for x in $CPPFLAGS $INCICONV; do 13670 13671 acl_save_prefix="$prefix" 13672 prefix="$acl_final_prefix" 13673 acl_save_exec_prefix="$exec_prefix" 13674 exec_prefix="$acl_final_exec_prefix" 13675 eval x=\"$x\" 13676 exec_prefix="$acl_save_exec_prefix" 13677 prefix="$acl_save_prefix" 13678 13679 if test "X$x" = "X-I$additional_includedir"; then 13680 haveit=yes 13681 break 13682 fi 13683 done 13684 if test -z "$haveit"; then 13685 if test -d "$additional_includedir"; then 13686 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 13687 fi 13688 fi 13689 fi 13690 fi 13691 fi 13692 if test -n "$found_la"; then 13693 save_libdir="$libdir" 13694 case "$found_la" in 13695 */* | *\\*) . "$found_la" ;; 13696 *) . "./$found_la" ;; 13697 esac 13698 libdir="$save_libdir" 13699 for dep in $dependency_libs; do 13700 case "$dep" in 13701 -L*) 13702 dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 13703 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \ 13704 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \ 13705 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then 13706 haveit= 13707 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \ 13708 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \ 13709 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then 13710 if test -n "$GCC"; then 13711 case $host_os in 13712 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 13713 esac 13714 fi 13715 fi 13716 if test -z "$haveit"; then 13717 haveit= 13718 for x in $LDFLAGS $LIBICONV; do 13719 13720 acl_save_prefix="$prefix" 13721 prefix="$acl_final_prefix" 13722 acl_save_exec_prefix="$exec_prefix" 13723 exec_prefix="$acl_final_exec_prefix" 13724 eval x=\"$x\" 13725 exec_prefix="$acl_save_exec_prefix" 13726 prefix="$acl_save_prefix" 13727 13728 if test "X$x" = "X-L$dependency_libdir"; then 13729 haveit=yes 13730 break 13731 fi 13732 done 13733 if test -z "$haveit"; then 13734 if test -d "$dependency_libdir"; then 13735 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir" 13736 fi 13737 fi 13738 haveit= 13739 for x in $LDFLAGS $LTLIBICONV; do 13740 13741 acl_save_prefix="$prefix" 13742 prefix="$acl_final_prefix" 13743 acl_save_exec_prefix="$exec_prefix" 13744 exec_prefix="$acl_final_exec_prefix" 13745 eval x=\"$x\" 13746 exec_prefix="$acl_save_exec_prefix" 13747 prefix="$acl_save_prefix" 13748 13749 if test "X$x" = "X-L$dependency_libdir"; then 13750 haveit=yes 13751 break 13752 fi 13753 done 13754 if test -z "$haveit"; then 13755 if test -d "$dependency_libdir"; then 13756 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir" 13757 fi 13758 fi 13759 fi 13760 fi 13761 ;; 13762 -R*) 13763 dir=`echo "X$dep" | sed -e 's/^X-R//'` 13764 if test "$enable_rpath" != no; then 13765 haveit= 13766 for x in $rpathdirs; do 13767 if test "X$x" = "X$dir"; then 13768 haveit=yes 13769 break 13770 fi 13771 done 13772 if test -z "$haveit"; then 13773 rpathdirs="$rpathdirs $dir" 13774 fi 13775 haveit= 13776 for x in $ltrpathdirs; do 13777 if test "X$x" = "X$dir"; then 13778 haveit=yes 13779 break 13780 fi 13781 done 13782 if test -z "$haveit"; then 13783 ltrpathdirs="$ltrpathdirs $dir" 13784 fi 13785 fi 13786 ;; 13787 -l*) 13788 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 13789 ;; 13790 *.la) 13791 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 13792 ;; 13793 *) 13794 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 13795 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 13796 ;; 13797 esac 13798 done 13799 fi 13800 else 13801 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 13802 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 13803 fi 13804 fi 13805 fi 13806 done 13807 done 13808 if test "X$rpathdirs" != "X"; then 13809 if test -n "$acl_hardcode_libdir_separator"; then 13810 alldirs= 13811 for found_dir in $rpathdirs; do 13812 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 13813 done 13814 acl_save_libdir="$libdir" 13815 libdir="$alldirs" 13816 eval flag=\"$acl_hardcode_libdir_flag_spec\" 13817 libdir="$acl_save_libdir" 13818 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 13819 else 13820 for found_dir in $rpathdirs; do 13821 acl_save_libdir="$libdir" 13822 libdir="$found_dir" 13823 eval flag=\"$acl_hardcode_libdir_flag_spec\" 13824 libdir="$acl_save_libdir" 13825 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 13826 done 13827 fi 13828 fi 13829 if test "X$ltrpathdirs" != "X"; then 13830 for found_dir in $ltrpathdirs; do 13831 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 13832 done 13833 fi 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 13864$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 13865if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 13866 $as_echo_n "(cached) " >&6 13867else 13868 gt_save_LIBS="$LIBS" 13869 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 13870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13871/* end confdefs.h. */ 13872#include <CoreFoundation/CFPreferences.h> 13873int 13874main () 13875{ 13876CFPreferencesCopyAppValue(NULL, NULL) 13877 ; 13878 return 0; 13879} 13880_ACEOF 13881if ac_fn_c_try_link "$LINENO"; then : 13882 gt_cv_func_CFPreferencesCopyAppValue=yes 13883else 13884 gt_cv_func_CFPreferencesCopyAppValue=no 13885fi 13886rm -f core conftest.err conftest.$ac_objext \ 13887 conftest$ac_exeext conftest.$ac_ext 13888 LIBS="$gt_save_LIBS" 13889fi 13890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 13891$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 13892 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 13893 13894$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 13895 13896 fi 13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 13898$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } 13899if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : 13900 $as_echo_n "(cached) " >&6 13901else 13902 gt_save_LIBS="$LIBS" 13903 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13905/* end confdefs.h. */ 13906#include <CoreFoundation/CFLocale.h> 13907int 13908main () 13909{ 13910CFLocaleCopyPreferredLanguages(); 13911 ; 13912 return 0; 13913} 13914_ACEOF 13915if ac_fn_c_try_link "$LINENO"; then : 13916 gt_cv_func_CFLocaleCopyPreferredLanguages=yes 13917else 13918 gt_cv_func_CFLocaleCopyPreferredLanguages=no 13919fi 13920rm -f core conftest.err conftest.$ac_objext \ 13921 conftest$ac_exeext conftest.$ac_ext 13922 LIBS="$gt_save_LIBS" 13923fi 13924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 13925$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } 13926 if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then 13927 13928$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h 13929 13930 fi 13931 INTL_MACOSX_LIBS= 13932 if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ 13933 || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then 13934 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 13935 fi 13936 13937 13938 13939 13940 13941 13942 LIBINTL= 13943 LTLIBINTL= 13944 POSUB= 13945 13946 case " $gt_needs " in 13947 *" need-formatstring-macros "*) gt_api_version=3 ;; 13948 *" need-ngettext "*) gt_api_version=2 ;; 13949 *) gt_api_version=1 ;; 13950 esac 13951 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 13952 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 13953 13954 if test "$USE_NLS" = "yes"; then 13955 gt_use_preinstalled_gnugettext=no 13956 13957 13958 if test $gt_api_version -ge 3; then 13959 gt_revision_test_code=' 13960#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 13961#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 13962#endif 13963typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 13964' 13965 else 13966 gt_revision_test_code= 13967 fi 13968 if test $gt_api_version -ge 2; then 13969 gt_expression_test_code=' + * ngettext ("", "", 0)' 13970 else 13971 gt_expression_test_code= 13972 fi 13973 13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 13975$as_echo_n "checking for GNU gettext in libc... " >&6; } 13976if eval \${$gt_func_gnugettext_libc+:} false; then : 13977 $as_echo_n "(cached) " >&6 13978else 13979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13980/* end confdefs.h. */ 13981 13982#include <libintl.h> 13983#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 13984extern int _nl_msg_cat_cntr; 13985extern int *_nl_domain_bindings; 13986#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) 13987#else 13988#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 13989#endif 13990$gt_revision_test_code 13991 13992int 13993main () 13994{ 13995 13996bindtextdomain ("", ""); 13997return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 13998 13999 ; 14000 return 0; 14001} 14002_ACEOF 14003if ac_fn_c_try_link "$LINENO"; then : 14004 eval "$gt_func_gnugettext_libc=yes" 14005else 14006 eval "$gt_func_gnugettext_libc=no" 14007fi 14008rm -f core conftest.err conftest.$ac_objext \ 14009 conftest$ac_exeext conftest.$ac_ext 14010fi 14011eval ac_res=\$$gt_func_gnugettext_libc 14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 14013$as_echo "$ac_res" >&6; } 14014 14015 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 14016 14017 14018 14019 14020 14021 am_save_CPPFLAGS="$CPPFLAGS" 14022 14023 for element in $INCICONV; do 14024 haveit= 14025 for x in $CPPFLAGS; do 14026 14027 acl_save_prefix="$prefix" 14028 prefix="$acl_final_prefix" 14029 acl_save_exec_prefix="$exec_prefix" 14030 exec_prefix="$acl_final_exec_prefix" 14031 eval x=\"$x\" 14032 exec_prefix="$acl_save_exec_prefix" 14033 prefix="$acl_save_prefix" 14034 14035 if test "X$x" = "X$element"; then 14036 haveit=yes 14037 break 14038 fi 14039 done 14040 if test -z "$haveit"; then 14041 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 14042 fi 14043 done 14044 14045 14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 14047$as_echo_n "checking for iconv... " >&6; } 14048if ${am_cv_func_iconv+:} false; then : 14049 $as_echo_n "(cached) " >&6 14050else 14051 14052 am_cv_func_iconv="no, consider installing GNU libiconv" 14053 am_cv_lib_iconv=no 14054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14055/* end confdefs.h. */ 14056 14057#include <stdlib.h> 14058#include <iconv.h> 14059 14060int 14061main () 14062{ 14063iconv_t cd = iconv_open("",""); 14064 iconv(cd,NULL,NULL,NULL,NULL); 14065 iconv_close(cd); 14066 ; 14067 return 0; 14068} 14069_ACEOF 14070if ac_fn_c_try_link "$LINENO"; then : 14071 am_cv_func_iconv=yes 14072fi 14073rm -f core conftest.err conftest.$ac_objext \ 14074 conftest$ac_exeext conftest.$ac_ext 14075 if test "$am_cv_func_iconv" != yes; then 14076 am_save_LIBS="$LIBS" 14077 LIBS="$LIBS $LIBICONV" 14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14079/* end confdefs.h. */ 14080 14081#include <stdlib.h> 14082#include <iconv.h> 14083 14084int 14085main () 14086{ 14087iconv_t cd = iconv_open("",""); 14088 iconv(cd,NULL,NULL,NULL,NULL); 14089 iconv_close(cd); 14090 ; 14091 return 0; 14092} 14093_ACEOF 14094if ac_fn_c_try_link "$LINENO"; then : 14095 am_cv_lib_iconv=yes 14096 am_cv_func_iconv=yes 14097fi 14098rm -f core conftest.err conftest.$ac_objext \ 14099 conftest$ac_exeext conftest.$ac_ext 14100 LIBS="$am_save_LIBS" 14101 fi 14102 14103fi 14104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 14105$as_echo "$am_cv_func_iconv" >&6; } 14106 if test "$am_cv_func_iconv" = yes; then 14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 14108$as_echo_n "checking for working iconv... " >&6; } 14109if ${am_cv_func_iconv_works+:} false; then : 14110 $as_echo_n "(cached) " >&6 14111else 14112 14113 am_save_LIBS="$LIBS" 14114 if test $am_cv_lib_iconv = yes; then 14115 LIBS="$LIBS $LIBICONV" 14116 fi 14117 am_cv_func_iconv_works=no 14118 for ac_iconv_const in '' 'const'; do 14119 if test "$cross_compiling" = yes; then : 14120 case "$host_os" in 14121 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 14122 *) am_cv_func_iconv_works="guessing yes" ;; 14123 esac 14124else 14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14126/* end confdefs.h. */ 14127 14128#include <iconv.h> 14129#include <string.h> 14130 14131#ifndef ICONV_CONST 14132# define ICONV_CONST $ac_iconv_const 14133#endif 14134 14135int 14136main () 14137{ 14138int result = 0; 14139 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 14140 returns. */ 14141 { 14142 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 14143 if (cd_utf8_to_88591 != (iconv_t)(-1)) 14144 { 14145 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ 14146 char buf[10]; 14147 ICONV_CONST char *inptr = input; 14148 size_t inbytesleft = strlen (input); 14149 char *outptr = buf; 14150 size_t outbytesleft = sizeof (buf); 14151 size_t res = iconv (cd_utf8_to_88591, 14152 &inptr, &inbytesleft, 14153 &outptr, &outbytesleft); 14154 if (res == 0) 14155 result |= 1; 14156 iconv_close (cd_utf8_to_88591); 14157 } 14158 } 14159 /* Test against Solaris 10 bug: Failures are not distinguishable from 14160 successful returns. */ 14161 { 14162 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 14163 if (cd_ascii_to_88591 != (iconv_t)(-1)) 14164 { 14165 static ICONV_CONST char input[] = "\263"; 14166 char buf[10]; 14167 ICONV_CONST char *inptr = input; 14168 size_t inbytesleft = strlen (input); 14169 char *outptr = buf; 14170 size_t outbytesleft = sizeof (buf); 14171 size_t res = iconv (cd_ascii_to_88591, 14172 &inptr, &inbytesleft, 14173 &outptr, &outbytesleft); 14174 if (res == 0) 14175 result |= 2; 14176 iconv_close (cd_ascii_to_88591); 14177 } 14178 } 14179 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ 14180 { 14181 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); 14182 if (cd_88591_to_utf8 != (iconv_t)(-1)) 14183 { 14184 static ICONV_CONST char input[] = "\304"; 14185 static char buf[2] = { (char)0xDE, (char)0xAD }; 14186 ICONV_CONST char *inptr = input; 14187 size_t inbytesleft = 1; 14188 char *outptr = buf; 14189 size_t outbytesleft = 1; 14190 size_t res = iconv (cd_88591_to_utf8, 14191 &inptr, &inbytesleft, 14192 &outptr, &outbytesleft); 14193 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) 14194 result |= 4; 14195 iconv_close (cd_88591_to_utf8); 14196 } 14197 } 14198#if 0 /* This bug could be worked around by the caller. */ 14199 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 14200 { 14201 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 14202 if (cd_88591_to_utf8 != (iconv_t)(-1)) 14203 { 14204 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 14205 char buf[50]; 14206 ICONV_CONST char *inptr = input; 14207 size_t inbytesleft = strlen (input); 14208 char *outptr = buf; 14209 size_t outbytesleft = sizeof (buf); 14210 size_t res = iconv (cd_88591_to_utf8, 14211 &inptr, &inbytesleft, 14212 &outptr, &outbytesleft); 14213 if ((int)res > 0) 14214 result |= 8; 14215 iconv_close (cd_88591_to_utf8); 14216 } 14217 } 14218#endif 14219 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 14220 provided. */ 14221 { 14222 /* Try standardized names. */ 14223 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); 14224 /* Try IRIX, OSF/1 names. */ 14225 iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); 14226 /* Try AIX names. */ 14227 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); 14228 /* Try HP-UX names. */ 14229 iconv_t cd4 = iconv_open ("utf8", "eucJP"); 14230 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) 14231 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) 14232 result |= 16; 14233 if (cd1 != (iconv_t)(-1)) 14234 iconv_close (cd1); 14235 if (cd2 != (iconv_t)(-1)) 14236 iconv_close (cd2); 14237 if (cd3 != (iconv_t)(-1)) 14238 iconv_close (cd3); 14239 if (cd4 != (iconv_t)(-1)) 14240 iconv_close (cd4); 14241 } 14242 return result; 14243 14244 ; 14245 return 0; 14246} 14247_ACEOF 14248if ac_fn_c_try_run "$LINENO"; then : 14249 am_cv_func_iconv_works=yes 14250fi 14251rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14252 conftest.$ac_objext conftest.beam conftest.$ac_ext 14253fi 14254 14255 test "$am_cv_func_iconv_works" = no || break 14256 done 14257 LIBS="$am_save_LIBS" 14258 14259fi 14260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 14261$as_echo "$am_cv_func_iconv_works" >&6; } 14262 case "$am_cv_func_iconv_works" in 14263 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 14264 *) am_func_iconv=yes ;; 14265 esac 14266 else 14267 am_func_iconv=no am_cv_lib_iconv=no 14268 fi 14269 if test "$am_func_iconv" = yes; then 14270 14271$as_echo "#define HAVE_ICONV 1" >>confdefs.h 14272 14273 fi 14274 if test "$am_cv_lib_iconv" = yes; then 14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 14276$as_echo_n "checking how to link with libiconv... " >&6; } 14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 14278$as_echo "$LIBICONV" >&6; } 14279 else 14280 CPPFLAGS="$am_save_CPPFLAGS" 14281 LIBICONV= 14282 LTLIBICONV= 14283 fi 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 use_additional=yes 14295 14296 acl_save_prefix="$prefix" 14297 prefix="$acl_final_prefix" 14298 acl_save_exec_prefix="$exec_prefix" 14299 exec_prefix="$acl_final_exec_prefix" 14300 14301 eval additional_includedir=\"$includedir\" 14302 eval additional_libdir=\"$libdir\" 14303 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" 14304 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" 14305 14306 exec_prefix="$acl_save_exec_prefix" 14307 prefix="$acl_save_prefix" 14308 14309 14310# Check whether --with-libintl-prefix was given. 14311if test "${with_libintl_prefix+set}" = set; then : 14312 withval=$with_libintl_prefix; 14313 if test "X$withval" = "Xno"; then 14314 use_additional=no 14315 else 14316 if test "X$withval" = "X"; then 14317 14318 acl_save_prefix="$prefix" 14319 prefix="$acl_final_prefix" 14320 acl_save_exec_prefix="$exec_prefix" 14321 exec_prefix="$acl_final_exec_prefix" 14322 14323 eval additional_includedir=\"$includedir\" 14324 eval additional_libdir=\"$libdir\" 14325 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" 14326 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" 14327 14328 exec_prefix="$acl_save_exec_prefix" 14329 prefix="$acl_save_prefix" 14330 14331 else 14332 additional_includedir="$withval/include" 14333 additional_libdir="$withval/$acl_libdirstem" 14334 additional_libdir2="$withval/$acl_libdirstem2" 14335 additional_libdir3="$withval/$acl_libdirstem3" 14336 fi 14337 fi 14338 14339fi 14340 14341 if test "X$additional_libdir2" = "X$additional_libdir"; then 14342 additional_libdir2= 14343 fi 14344 if test "X$additional_libdir3" = "X$additional_libdir"; then 14345 additional_libdir3= 14346 fi 14347 LIBINTL= 14348 LTLIBINTL= 14349 INCINTL= 14350 LIBINTL_PREFIX= 14351 HAVE_LIBINTL= 14352 rpathdirs= 14353 ltrpathdirs= 14354 names_already_handled= 14355 names_next_round='intl ' 14356 while test -n "$names_next_round"; do 14357 names_this_round="$names_next_round" 14358 names_next_round= 14359 for name in $names_this_round; do 14360 already_handled= 14361 for n in $names_already_handled; do 14362 if test "$n" = "$name"; then 14363 already_handled=yes 14364 break 14365 fi 14366 done 14367 if test -z "$already_handled"; then 14368 names_already_handled="$names_already_handled $name" 14369 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 14370 eval value=\"\$HAVE_LIB$uppername\" 14371 if test -n "$value"; then 14372 if test "$value" = yes; then 14373 eval value=\"\$LIB$uppername\" 14374 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 14375 eval value=\"\$LTLIB$uppername\" 14376 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 14377 else 14378 : 14379 fi 14380 else 14381 found_dir= 14382 found_la= 14383 found_so= 14384 found_a= 14385 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 14386 if test -n "$acl_shlibext"; then 14387 shrext=".$acl_shlibext" # typically: shrext=.so 14388 else 14389 shrext= 14390 fi 14391 if test $use_additional = yes; then 14392 for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do 14393 if test "X$found_dir" = "X"; then 14394 eval dir=\$$additional_libdir_variable 14395 if test -n "$dir"; then 14396 if test -n "$acl_shlibext"; then 14397 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then 14398 found_dir="$dir" 14399 found_so="$dir/$libname$shrext" 14400 else 14401 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 14402 ver=`(cd "$dir" && \ 14403 for f in "$libname$shrext".*; do echo "$f"; done \ 14404 | sed -e "s,^$libname$shrext\\\\.,," \ 14405 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 14406 | sed 1q ) 2>/dev/null` 14407 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then 14408 found_dir="$dir" 14409 found_so="$dir/$libname$shrext.$ver" 14410 fi 14411 else 14412 eval library_names=\"$acl_library_names_spec\" 14413 for f in $library_names; do 14414 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then 14415 found_dir="$dir" 14416 found_so="$dir/$f" 14417 break 14418 fi 14419 done 14420 fi 14421 fi 14422 fi 14423 if test "X$found_dir" = "X"; then 14424 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then 14425 found_dir="$dir" 14426 found_a="$dir/$libname.$acl_libext" 14427 fi 14428 fi 14429 if test "X$found_dir" != "X"; then 14430 if test -f "$dir/$libname.la"; then 14431 found_la="$dir/$libname.la" 14432 fi 14433 fi 14434 fi 14435 fi 14436 done 14437 fi 14438 if test "X$found_dir" = "X"; then 14439 for x in $LDFLAGS $LTLIBINTL; do 14440 14441 acl_save_prefix="$prefix" 14442 prefix="$acl_final_prefix" 14443 acl_save_exec_prefix="$exec_prefix" 14444 exec_prefix="$acl_final_exec_prefix" 14445 eval x=\"$x\" 14446 exec_prefix="$acl_save_exec_prefix" 14447 prefix="$acl_save_prefix" 14448 14449 case "$x" in 14450 -L*) 14451 dir=`echo "X$x" | sed -e 's/^X-L//'` 14452 if test -n "$acl_shlibext"; then 14453 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then 14454 found_dir="$dir" 14455 found_so="$dir/$libname$shrext" 14456 else 14457 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 14458 ver=`(cd "$dir" && \ 14459 for f in "$libname$shrext".*; do echo "$f"; done \ 14460 | sed -e "s,^$libname$shrext\\\\.,," \ 14461 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 14462 | sed 1q ) 2>/dev/null` 14463 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then 14464 found_dir="$dir" 14465 found_so="$dir/$libname$shrext.$ver" 14466 fi 14467 else 14468 eval library_names=\"$acl_library_names_spec\" 14469 for f in $library_names; do 14470 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then 14471 found_dir="$dir" 14472 found_so="$dir/$f" 14473 break 14474 fi 14475 done 14476 fi 14477 fi 14478 fi 14479 if test "X$found_dir" = "X"; then 14480 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then 14481 found_dir="$dir" 14482 found_a="$dir/$libname.$acl_libext" 14483 fi 14484 fi 14485 if test "X$found_dir" != "X"; then 14486 if test -f "$dir/$libname.la"; then 14487 found_la="$dir/$libname.la" 14488 fi 14489 fi 14490 ;; 14491 esac 14492 if test "X$found_dir" != "X"; then 14493 break 14494 fi 14495 done 14496 fi 14497 if test "X$found_dir" != "X"; then 14498 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 14499 if test "X$found_so" != "X"; then 14500 if test "$enable_rpath" = no \ 14501 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 14502 || test "X$found_dir" = "X/usr/$acl_libdirstem2" \ 14503 || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then 14504 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 14505 else 14506 haveit= 14507 for x in $ltrpathdirs; do 14508 if test "X$x" = "X$found_dir"; then 14509 haveit=yes 14510 break 14511 fi 14512 done 14513 if test -z "$haveit"; then 14514 ltrpathdirs="$ltrpathdirs $found_dir" 14515 fi 14516 if test "$acl_hardcode_direct" = yes; then 14517 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 14518 else 14519 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 14520 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 14521 haveit= 14522 for x in $rpathdirs; do 14523 if test "X$x" = "X$found_dir"; then 14524 haveit=yes 14525 break 14526 fi 14527 done 14528 if test -z "$haveit"; then 14529 rpathdirs="$rpathdirs $found_dir" 14530 fi 14531 else 14532 haveit= 14533 for x in $LDFLAGS $LIBINTL; do 14534 14535 acl_save_prefix="$prefix" 14536 prefix="$acl_final_prefix" 14537 acl_save_exec_prefix="$exec_prefix" 14538 exec_prefix="$acl_final_exec_prefix" 14539 eval x=\"$x\" 14540 exec_prefix="$acl_save_exec_prefix" 14541 prefix="$acl_save_prefix" 14542 14543 if test "X$x" = "X-L$found_dir"; then 14544 haveit=yes 14545 break 14546 fi 14547 done 14548 if test -z "$haveit"; then 14549 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 14550 fi 14551 if test "$acl_hardcode_minus_L" != no; then 14552 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 14553 else 14554 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 14555 fi 14556 fi 14557 fi 14558 fi 14559 else 14560 if test "X$found_a" != "X"; then 14561 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 14562 else 14563 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 14564 fi 14565 fi 14566 additional_includedir= 14567 case "$found_dir" in 14568 */$acl_libdirstem | */$acl_libdirstem/) 14569 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 14570 if test "$name" = 'intl'; then 14571 LIBINTL_PREFIX="$basedir" 14572 fi 14573 additional_includedir="$basedir/include" 14574 ;; 14575 */$acl_libdirstem2 | */$acl_libdirstem2/) 14576 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 14577 if test "$name" = 'intl'; then 14578 LIBINTL_PREFIX="$basedir" 14579 fi 14580 additional_includedir="$basedir/include" 14581 ;; 14582 */$acl_libdirstem3 | */$acl_libdirstem3/) 14583 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'` 14584 if test "$name" = 'intl'; then 14585 LIBINTL_PREFIX="$basedir" 14586 fi 14587 additional_includedir="$basedir/include" 14588 ;; 14589 esac 14590 if test "X$additional_includedir" != "X"; then 14591 if test "X$additional_includedir" != "X/usr/include"; then 14592 haveit= 14593 if test "X$additional_includedir" = "X/usr/local/include"; then 14594 if test -n "$GCC"; then 14595 case $host_os in 14596 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 14597 esac 14598 fi 14599 fi 14600 if test -z "$haveit"; then 14601 for x in $CPPFLAGS $INCINTL; do 14602 14603 acl_save_prefix="$prefix" 14604 prefix="$acl_final_prefix" 14605 acl_save_exec_prefix="$exec_prefix" 14606 exec_prefix="$acl_final_exec_prefix" 14607 eval x=\"$x\" 14608 exec_prefix="$acl_save_exec_prefix" 14609 prefix="$acl_save_prefix" 14610 14611 if test "X$x" = "X-I$additional_includedir"; then 14612 haveit=yes 14613 break 14614 fi 14615 done 14616 if test -z "$haveit"; then 14617 if test -d "$additional_includedir"; then 14618 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 14619 fi 14620 fi 14621 fi 14622 fi 14623 fi 14624 if test -n "$found_la"; then 14625 save_libdir="$libdir" 14626 case "$found_la" in 14627 */* | *\\*) . "$found_la" ;; 14628 *) . "./$found_la" ;; 14629 esac 14630 libdir="$save_libdir" 14631 for dep in $dependency_libs; do 14632 case "$dep" in 14633 -L*) 14634 dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 14635 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \ 14636 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \ 14637 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then 14638 haveit= 14639 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \ 14640 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \ 14641 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then 14642 if test -n "$GCC"; then 14643 case $host_os in 14644 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 14645 esac 14646 fi 14647 fi 14648 if test -z "$haveit"; then 14649 haveit= 14650 for x in $LDFLAGS $LIBINTL; do 14651 14652 acl_save_prefix="$prefix" 14653 prefix="$acl_final_prefix" 14654 acl_save_exec_prefix="$exec_prefix" 14655 exec_prefix="$acl_final_exec_prefix" 14656 eval x=\"$x\" 14657 exec_prefix="$acl_save_exec_prefix" 14658 prefix="$acl_save_prefix" 14659 14660 if test "X$x" = "X-L$dependency_libdir"; then 14661 haveit=yes 14662 break 14663 fi 14664 done 14665 if test -z "$haveit"; then 14666 if test -d "$dependency_libdir"; then 14667 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$dependency_libdir" 14668 fi 14669 fi 14670 haveit= 14671 for x in $LDFLAGS $LTLIBINTL; do 14672 14673 acl_save_prefix="$prefix" 14674 prefix="$acl_final_prefix" 14675 acl_save_exec_prefix="$exec_prefix" 14676 exec_prefix="$acl_final_exec_prefix" 14677 eval x=\"$x\" 14678 exec_prefix="$acl_save_exec_prefix" 14679 prefix="$acl_save_prefix" 14680 14681 if test "X$x" = "X-L$dependency_libdir"; then 14682 haveit=yes 14683 break 14684 fi 14685 done 14686 if test -z "$haveit"; then 14687 if test -d "$dependency_libdir"; then 14688 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$dependency_libdir" 14689 fi 14690 fi 14691 fi 14692 fi 14693 ;; 14694 -R*) 14695 dir=`echo "X$dep" | sed -e 's/^X-R//'` 14696 if test "$enable_rpath" != no; then 14697 haveit= 14698 for x in $rpathdirs; do 14699 if test "X$x" = "X$dir"; then 14700 haveit=yes 14701 break 14702 fi 14703 done 14704 if test -z "$haveit"; then 14705 rpathdirs="$rpathdirs $dir" 14706 fi 14707 haveit= 14708 for x in $ltrpathdirs; do 14709 if test "X$x" = "X$dir"; then 14710 haveit=yes 14711 break 14712 fi 14713 done 14714 if test -z "$haveit"; then 14715 ltrpathdirs="$ltrpathdirs $dir" 14716 fi 14717 fi 14718 ;; 14719 -l*) 14720 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 14721 ;; 14722 *.la) 14723 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 14724 ;; 14725 *) 14726 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 14727 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 14728 ;; 14729 esac 14730 done 14731 fi 14732 else 14733 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 14734 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 14735 fi 14736 fi 14737 fi 14738 done 14739 done 14740 if test "X$rpathdirs" != "X"; then 14741 if test -n "$acl_hardcode_libdir_separator"; then 14742 alldirs= 14743 for found_dir in $rpathdirs; do 14744 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 14745 done 14746 acl_save_libdir="$libdir" 14747 libdir="$alldirs" 14748 eval flag=\"$acl_hardcode_libdir_flag_spec\" 14749 libdir="$acl_save_libdir" 14750 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 14751 else 14752 for found_dir in $rpathdirs; do 14753 acl_save_libdir="$libdir" 14754 libdir="$found_dir" 14755 eval flag=\"$acl_hardcode_libdir_flag_spec\" 14756 libdir="$acl_save_libdir" 14757 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 14758 done 14759 fi 14760 fi 14761 if test "X$ltrpathdirs" != "X"; then 14762 for found_dir in $ltrpathdirs; do 14763 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 14764 done 14765 fi 14766 14767 14768 14769 14770 14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 14772$as_echo_n "checking for GNU gettext in libintl... " >&6; } 14773if eval \${$gt_func_gnugettext_libintl+:} false; then : 14774 $as_echo_n "(cached) " >&6 14775else 14776 gt_save_CPPFLAGS="$CPPFLAGS" 14777 CPPFLAGS="$CPPFLAGS $INCINTL" 14778 gt_save_LIBS="$LIBS" 14779 LIBS="$LIBS $LIBINTL" 14780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14781/* end confdefs.h. */ 14782 14783#include <libintl.h> 14784#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 14785extern int _nl_msg_cat_cntr; 14786extern 14787#ifdef __cplusplus 14788"C" 14789#endif 14790const char *_nl_expand_alias (const char *); 14791#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) 14792#else 14793#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 14794#endif 14795$gt_revision_test_code 14796 14797int 14798main () 14799{ 14800 14801bindtextdomain ("", ""); 14802return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 14803 14804 ; 14805 return 0; 14806} 14807_ACEOF 14808if ac_fn_c_try_link "$LINENO"; then : 14809 eval "$gt_func_gnugettext_libintl=yes" 14810else 14811 eval "$gt_func_gnugettext_libintl=no" 14812fi 14813rm -f core conftest.err conftest.$ac_objext \ 14814 conftest$ac_exeext conftest.$ac_ext 14815 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 14816 LIBS="$LIBS $LIBICONV" 14817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14818/* end confdefs.h. */ 14819 14820#include <libintl.h> 14821#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 14822extern int _nl_msg_cat_cntr; 14823extern 14824#ifdef __cplusplus 14825"C" 14826#endif 14827const char *_nl_expand_alias (const char *); 14828#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) 14829#else 14830#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 14831#endif 14832$gt_revision_test_code 14833 14834int 14835main () 14836{ 14837 14838bindtextdomain ("", ""); 14839return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 14840 14841 ; 14842 return 0; 14843} 14844_ACEOF 14845if ac_fn_c_try_link "$LINENO"; then : 14846 LIBINTL="$LIBINTL $LIBICONV" 14847 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 14848 eval "$gt_func_gnugettext_libintl=yes" 14849 14850fi 14851rm -f core conftest.err conftest.$ac_objext \ 14852 conftest$ac_exeext conftest.$ac_ext 14853 fi 14854 CPPFLAGS="$gt_save_CPPFLAGS" 14855 LIBS="$gt_save_LIBS" 14856fi 14857eval ac_res=\$$gt_func_gnugettext_libintl 14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 14859$as_echo "$ac_res" >&6; } 14860 fi 14861 14862 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 14863 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 14864 && test "$PACKAGE" != gettext-runtime \ 14865 && test "$PACKAGE" != gettext-tools; }; then 14866 gt_use_preinstalled_gnugettext=yes 14867 else 14868 LIBINTL= 14869 LTLIBINTL= 14870 INCINTL= 14871 fi 14872 14873 14874 14875 if test -n "$INTL_MACOSX_LIBS"; then 14876 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 14877 || test "$nls_cv_use_gnu_gettext" = "yes"; then 14878 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 14879 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 14880 fi 14881 fi 14882 14883 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 14884 || test "$nls_cv_use_gnu_gettext" = "yes"; then 14885 14886$as_echo "#define ENABLE_NLS 1" >>confdefs.h 14887 14888 else 14889 USE_NLS=no 14890 fi 14891 fi 14892 14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 14894$as_echo_n "checking whether to use NLS... " >&6; } 14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 14896$as_echo "$USE_NLS" >&6; } 14897 if test "$USE_NLS" = "yes"; then 14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 14899$as_echo_n "checking where the gettext function comes from... " >&6; } 14900 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 14901 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 14902 gt_source="external libintl" 14903 else 14904 gt_source="libc" 14905 fi 14906 else 14907 gt_source="included intl directory" 14908 fi 14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 14910$as_echo "$gt_source" >&6; } 14911 fi 14912 14913 if test "$USE_NLS" = "yes"; then 14914 14915 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 14916 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 14918$as_echo_n "checking how to link with libintl... " >&6; } 14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 14920$as_echo "$LIBINTL" >&6; } 14921 14922 for element in $INCINTL; do 14923 haveit= 14924 for x in $CPPFLAGS; do 14925 14926 acl_save_prefix="$prefix" 14927 prefix="$acl_final_prefix" 14928 acl_save_exec_prefix="$exec_prefix" 14929 exec_prefix="$acl_final_exec_prefix" 14930 eval x=\"$x\" 14931 exec_prefix="$acl_save_exec_prefix" 14932 prefix="$acl_save_prefix" 14933 14934 if test "X$x" = "X$element"; then 14935 haveit=yes 14936 break 14937 fi 14938 done 14939 if test -z "$haveit"; then 14940 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 14941 fi 14942 done 14943 14944 fi 14945 14946 14947$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 14948 14949 14950$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 14951 14952 fi 14953 14954 POSUB=po 14955 fi 14956 14957 14958 14959 INTLLIBS="$LIBINTL" 14960 14961 14962 14963 14964 14965 14966 14967 14968 if test "x${USE_NLS}" = "xyes"; then 14969 USE_NLS_TRUE= 14970 USE_NLS_FALSE='#' 14971else 14972 USE_NLS_TRUE='#' 14973 USE_NLS_FALSE= 14974fi 14975 14976 14977GETTEXT_PACKAGE=mate-notification-daemon 14978 14979 14980$as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h 14981 14982 14983 14984 14985# Extract the first word of "glib-compile-resources", so it can be a program name with args. 14986set dummy glib-compile-resources; ac_word=$2 14987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14988$as_echo_n "checking for $ac_word... " >&6; } 14989if ${ac_cv_path_GLIB_COMPILE_RESOURCES+:} false; then : 14990 $as_echo_n "(cached) " >&6 14991else 14992 case $GLIB_COMPILE_RESOURCES in 14993 [\\/]* | ?:[\\/]*) 14994 ac_cv_path_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES" # Let the user override the test with a path. 14995 ;; 14996 *) 14997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14998for as_dir in $PATH 14999do 15000 IFS=$as_save_IFS 15001 test -z "$as_dir" && as_dir=. 15002 for ac_exec_ext in '' $ac_executable_extensions; do 15003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15004 ac_cv_path_GLIB_COMPILE_RESOURCES="$as_dir/$ac_word$ac_exec_ext" 15005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15006 break 2 15007 fi 15008done 15009 done 15010IFS=$as_save_IFS 15011 15012 ;; 15013esac 15014fi 15015GLIB_COMPILE_RESOURCES=$ac_cv_path_GLIB_COMPILE_RESOURCES 15016if test -n "$GLIB_COMPILE_RESOURCES"; then 15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_RESOURCES" >&5 15018$as_echo "$GLIB_COMPILE_RESOURCES" >&6; } 15019else 15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15021$as_echo "no" >&6; } 15022fi 15023 15024 15025if test -z "$GLIB_COMPILE_RESOURCES"; then 15026 as_fn_error $? "glib-compile-resources not found" "$LINENO" 5 15027fi 15028 15029 15030# Extract the first word of "xmllint", so it can be a program name with args. 15031set dummy xmllint; ac_word=$2 15032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15033$as_echo_n "checking for $ac_word... " >&6; } 15034if ${ac_cv_path_XMLLINT+:} false; then : 15035 $as_echo_n "(cached) " >&6 15036else 15037 case $XMLLINT in 15038 [\\/]* | ?:[\\/]*) 15039 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path. 15040 ;; 15041 *) 15042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15043for as_dir in $PATH 15044do 15045 IFS=$as_save_IFS 15046 test -z "$as_dir" && as_dir=. 15047 for ac_exec_ext in '' $ac_executable_extensions; do 15048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15049 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext" 15050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15051 break 2 15052 fi 15053done 15054 done 15055IFS=$as_save_IFS 15056 15057 ;; 15058esac 15059fi 15060XMLLINT=$ac_cv_path_XMLLINT 15061if test -n "$XMLLINT"; then 15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5 15063$as_echo "$XMLLINT" >&6; } 15064else 15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15066$as_echo "no" >&6; } 15067fi 15068 15069 15070if test -z "$XMLLINT"; then 15071 as_fn_error $? "xmllint not found" "$LINENO" 5 15072fi 15073 15074 15075GTK_REQUIRED=3.22.0 15076XML_REQUIRED=2.9.0 15077 15078 15079 15080 15081 15082 15083 15084 15085if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 15086 if test -n "$ac_tool_prefix"; then 15087 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15088set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15090$as_echo_n "checking for $ac_word... " >&6; } 15091if ${ac_cv_path_PKG_CONFIG+:} false; then : 15092 $as_echo_n "(cached) " >&6 15093else 15094 case $PKG_CONFIG in 15095 [\\/]* | ?:[\\/]*) 15096 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 15097 ;; 15098 *) 15099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15100for as_dir in $PATH 15101do 15102 IFS=$as_save_IFS 15103 test -z "$as_dir" && as_dir=. 15104 for ac_exec_ext in '' $ac_executable_extensions; do 15105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15106 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15108 break 2 15109 fi 15110done 15111 done 15112IFS=$as_save_IFS 15113 15114 ;; 15115esac 15116fi 15117PKG_CONFIG=$ac_cv_path_PKG_CONFIG 15118if test -n "$PKG_CONFIG"; then 15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15120$as_echo "$PKG_CONFIG" >&6; } 15121else 15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15123$as_echo "no" >&6; } 15124fi 15125 15126 15127fi 15128if test -z "$ac_cv_path_PKG_CONFIG"; then 15129 ac_pt_PKG_CONFIG=$PKG_CONFIG 15130 # Extract the first word of "pkg-config", so it can be a program name with args. 15131set dummy pkg-config; ac_word=$2 15132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15133$as_echo_n "checking for $ac_word... " >&6; } 15134if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 15135 $as_echo_n "(cached) " >&6 15136else 15137 case $ac_pt_PKG_CONFIG in 15138 [\\/]* | ?:[\\/]*) 15139 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 15140 ;; 15141 *) 15142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15143for as_dir in $PATH 15144do 15145 IFS=$as_save_IFS 15146 test -z "$as_dir" && as_dir=. 15147 for ac_exec_ext in '' $ac_executable_extensions; do 15148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15149 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15151 break 2 15152 fi 15153done 15154 done 15155IFS=$as_save_IFS 15156 15157 ;; 15158esac 15159fi 15160ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 15161if test -n "$ac_pt_PKG_CONFIG"; then 15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 15163$as_echo "$ac_pt_PKG_CONFIG" >&6; } 15164else 15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15166$as_echo "no" >&6; } 15167fi 15168 15169 if test "x$ac_pt_PKG_CONFIG" = x; then 15170 PKG_CONFIG="" 15171 else 15172 case $cross_compiling:$ac_tool_warned in 15173yes:) 15174{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15175$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15176ac_tool_warned=yes ;; 15177esac 15178 PKG_CONFIG=$ac_pt_PKG_CONFIG 15179 fi 15180else 15181 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 15182fi 15183 15184fi 15185if test -n "$PKG_CONFIG"; then 15186 _pkg_min_version=0.9.0 15187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 15188$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 15189 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15191$as_echo "yes" >&6; } 15192 else 15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15194$as_echo "no" >&6; } 15195 PKG_CONFIG="" 15196 fi 15197fi 15198 15199pkg_failed=no 15200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for THEME" >&5 15201$as_echo_n "checking for THEME... " >&6; } 15202 15203if test -n "$THEME_CFLAGS"; then 15204 pkg_cv_THEME_CFLAGS="$THEME_CFLAGS" 15205 elif test -n "$PKG_CONFIG"; then 15206 if test -n "$PKG_CONFIG" && \ 15207 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED 15208 libxml-2.0 >= \$XML_REQUIRED 15209\""; } >&5 15210 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED 15211 libxml-2.0 >= $XML_REQUIRED 15212") 2>&5 15213 ac_status=$? 15214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15215 test $ac_status = 0; }; then 15216 pkg_cv_THEME_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED 15217 libxml-2.0 >= $XML_REQUIRED 15218" 2>/dev/null` 15219 test "x$?" != "x0" && pkg_failed=yes 15220else 15221 pkg_failed=yes 15222fi 15223 else 15224 pkg_failed=untried 15225fi 15226if test -n "$THEME_LIBS"; then 15227 pkg_cv_THEME_LIBS="$THEME_LIBS" 15228 elif test -n "$PKG_CONFIG"; then 15229 if test -n "$PKG_CONFIG" && \ 15230 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED 15231 libxml-2.0 >= \$XML_REQUIRED 15232\""; } >&5 15233 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED 15234 libxml-2.0 >= $XML_REQUIRED 15235") 2>&5 15236 ac_status=$? 15237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15238 test $ac_status = 0; }; then 15239 pkg_cv_THEME_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED 15240 libxml-2.0 >= $XML_REQUIRED 15241" 2>/dev/null` 15242 test "x$?" != "x0" && pkg_failed=yes 15243else 15244 pkg_failed=yes 15245fi 15246 else 15247 pkg_failed=untried 15248fi 15249 15250 15251 15252if test $pkg_failed = yes; then 15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15254$as_echo "no" >&6; } 15255 15256if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15257 _pkg_short_errors_supported=yes 15258else 15259 _pkg_short_errors_supported=no 15260fi 15261 if test $_pkg_short_errors_supported = yes; then 15262 THEME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED 15263 libxml-2.0 >= $XML_REQUIRED 15264" 2>&1` 15265 else 15266 THEME_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED 15267 libxml-2.0 >= $XML_REQUIRED 15268" 2>&1` 15269 fi 15270 # Put the nasty error message in config.log where it belongs 15271 echo "$THEME_PKG_ERRORS" >&5 15272 15273 as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED 15274 libxml-2.0 >= $XML_REQUIRED 15275) were not met: 15276 15277$THEME_PKG_ERRORS 15278 15279Consider adjusting the PKG_CONFIG_PATH environment variable if you 15280installed software in a non-standard prefix. 15281 15282Alternatively, you may set the environment variables THEME_CFLAGS 15283and THEME_LIBS to avoid the need to call pkg-config. 15284See the pkg-config man page for more details." "$LINENO" 5 15285elif test $pkg_failed = untried; then 15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15287$as_echo "no" >&6; } 15288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15289$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15290as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15291is in your PATH or set the PKG_CONFIG environment variable to the full 15292path to pkg-config. 15293 15294Alternatively, you may set the environment variables THEME_CFLAGS 15295and THEME_LIBS to avoid the need to call pkg-config. 15296See the pkg-config man page for more details. 15297 15298To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15299See \`config.log' for more details" "$LINENO" 5; } 15300else 15301 THEME_CFLAGS=$pkg_cv_THEME_CFLAGS 15302 THEME_LIBS=$pkg_cv_THEME_LIBS 15303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15304$as_echo "yes" >&6; } 15305 15306fi 15307 15308 15309 15310REQ_GLIB_VERSION=2.50.0 15311REQ_LIBCANBERRA_GTK_VERSION=0.4 15312 15313pkg_failed=no 15314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5 15315$as_echo_n "checking for GMODULE... " >&6; } 15316 15317if test -n "$GMODULE_CFLAGS"; then 15318 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS" 15319 elif test -n "$PKG_CONFIG"; then 15320 if test -n "$PKG_CONFIG" && \ 15321 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5 15322 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5 15323 ac_status=$? 15324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15325 test $ac_status = 0; }; then 15326 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null` 15327 test "x$?" != "x0" && pkg_failed=yes 15328else 15329 pkg_failed=yes 15330fi 15331 else 15332 pkg_failed=untried 15333fi 15334if test -n "$GMODULE_LIBS"; then 15335 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS" 15336 elif test -n "$PKG_CONFIG"; then 15337 if test -n "$PKG_CONFIG" && \ 15338 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5 15339 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5 15340 ac_status=$? 15341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15342 test $ac_status = 0; }; then 15343 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null` 15344 test "x$?" != "x0" && pkg_failed=yes 15345else 15346 pkg_failed=yes 15347fi 15348 else 15349 pkg_failed=untried 15350fi 15351 15352 15353 15354if test $pkg_failed = yes; then 15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15356$as_echo "no" >&6; } 15357 15358if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15359 _pkg_short_errors_supported=yes 15360else 15361 _pkg_short_errors_supported=no 15362fi 15363 if test $_pkg_short_errors_supported = yes; then 15364 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1` 15365 else 15366 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1` 15367 fi 15368 # Put the nasty error message in config.log where it belongs 15369 echo "$GMODULE_PKG_ERRORS" >&5 15370 15371 GMODULE_ADD="" 15372elif test $pkg_failed = untried; then 15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15374$as_echo "no" >&6; } 15375 GMODULE_ADD="" 15376else 15377 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS 15378 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS 15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15380$as_echo "yes" >&6; } 15381 GMODULE_ADD="gmodule-2.0" 15382fi 15383pkg_modules=" 15384 gtk+-3.0 >= $GTK_REQUIRED, \ 15385 glib-2.0 >= $REQ_GLIB_VERSION, \ 15386 gio-2.0 >= $REQ_GLIB_VERSION, \ 15387 $GMODULE_ADD \ 15388 libcanberra-gtk3 >= $REQ_LIBCANBERRA_GTK_VERSION \ 15389" 15390 15391pkg_failed=no 15392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFICATION_DAEMON" >&5 15393$as_echo_n "checking for NOTIFICATION_DAEMON... " >&6; } 15394 15395if test -n "$NOTIFICATION_DAEMON_CFLAGS"; then 15396 pkg_cv_NOTIFICATION_DAEMON_CFLAGS="$NOTIFICATION_DAEMON_CFLAGS" 15397 elif test -n "$PKG_CONFIG"; then 15398 if test -n "$PKG_CONFIG" && \ 15399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5 15400 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5 15401 ac_status=$? 15402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15403 test $ac_status = 0; }; then 15404 pkg_cv_NOTIFICATION_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null` 15405 test "x$?" != "x0" && pkg_failed=yes 15406else 15407 pkg_failed=yes 15408fi 15409 else 15410 pkg_failed=untried 15411fi 15412if test -n "$NOTIFICATION_DAEMON_LIBS"; then 15413 pkg_cv_NOTIFICATION_DAEMON_LIBS="$NOTIFICATION_DAEMON_LIBS" 15414 elif test -n "$PKG_CONFIG"; then 15415 if test -n "$PKG_CONFIG" && \ 15416 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5 15417 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5 15418 ac_status=$? 15419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15420 test $ac_status = 0; }; then 15421 pkg_cv_NOTIFICATION_DAEMON_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null` 15422 test "x$?" != "x0" && pkg_failed=yes 15423else 15424 pkg_failed=yes 15425fi 15426 else 15427 pkg_failed=untried 15428fi 15429 15430 15431 15432if test $pkg_failed = yes; then 15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15434$as_echo "no" >&6; } 15435 15436if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15437 _pkg_short_errors_supported=yes 15438else 15439 _pkg_short_errors_supported=no 15440fi 15441 if test $_pkg_short_errors_supported = yes; then 15442 NOTIFICATION_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$pkg_modules" 2>&1` 15443 else 15444 NOTIFICATION_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$pkg_modules" 2>&1` 15445 fi 15446 # Put the nasty error message in config.log where it belongs 15447 echo "$NOTIFICATION_DAEMON_PKG_ERRORS" >&5 15448 15449 as_fn_error $? "Package requirements ($pkg_modules) were not met: 15450 15451$NOTIFICATION_DAEMON_PKG_ERRORS 15452 15453Consider adjusting the PKG_CONFIG_PATH environment variable if you 15454installed software in a non-standard prefix. 15455 15456Alternatively, you may set the environment variables NOTIFICATION_DAEMON_CFLAGS 15457and NOTIFICATION_DAEMON_LIBS to avoid the need to call pkg-config. 15458See the pkg-config man page for more details." "$LINENO" 5 15459elif test $pkg_failed = untried; then 15460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15461$as_echo "no" >&6; } 15462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15463$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15464as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15465is in your PATH or set the PKG_CONFIG environment variable to the full 15466path to pkg-config. 15467 15468Alternatively, you may set the environment variables NOTIFICATION_DAEMON_CFLAGS 15469and NOTIFICATION_DAEMON_LIBS to avoid the need to call pkg-config. 15470See the pkg-config man page for more details. 15471 15472To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15473See \`config.log' for more details" "$LINENO" 5; } 15474else 15475 NOTIFICATION_DAEMON_CFLAGS=$pkg_cv_NOTIFICATION_DAEMON_CFLAGS 15476 NOTIFICATION_DAEMON_LIBS=$pkg_cv_NOTIFICATION_DAEMON_LIBS 15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15478$as_echo "yes" >&6; } 15479 15480fi 15481 15482LIBPANEL4_REQUIRED=1.17.0 15483LIBMATE_DESKTOP_REQUIRED=1.17.0 15484 15485pkg_failed=no 15486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFICATION_APPLET" >&5 15487$as_echo_n "checking for NOTIFICATION_APPLET... " >&6; } 15488 15489if test -n "$NOTIFICATION_APPLET_CFLAGS"; then 15490 pkg_cv_NOTIFICATION_APPLET_CFLAGS="$NOTIFICATION_APPLET_CFLAGS" 15491 elif test -n "$PKG_CONFIG"; then 15492 if test -n "$PKG_CONFIG" && \ 15493 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mate-desktop-2.0 >= \$LIBMATE_DESKTOP_REQUIRED libmatepanelapplet-4.0 >= \$LIBPANEL4_REQUIRED gtk+-3.0 >= \$GTK_REQUIRED glib-2.0 >= \$REQ_GLIB_VERSION\""; } >&5 15494 ($PKG_CONFIG --exists --print-errors "mate-desktop-2.0 >= $LIBMATE_DESKTOP_REQUIRED libmatepanelapplet-4.0 >= $LIBPANEL4_REQUIRED gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $REQ_GLIB_VERSION") 2>&5 15495 ac_status=$? 15496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15497 test $ac_status = 0; }; then 15498 pkg_cv_NOTIFICATION_APPLET_CFLAGS=`$PKG_CONFIG --cflags "mate-desktop-2.0 >= $LIBMATE_DESKTOP_REQUIRED libmatepanelapplet-4.0 >= $LIBPANEL4_REQUIRED gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $REQ_GLIB_VERSION" 2>/dev/null` 15499 test "x$?" != "x0" && pkg_failed=yes 15500else 15501 pkg_failed=yes 15502fi 15503 else 15504 pkg_failed=untried 15505fi 15506if test -n "$NOTIFICATION_APPLET_LIBS"; then 15507 pkg_cv_NOTIFICATION_APPLET_LIBS="$NOTIFICATION_APPLET_LIBS" 15508 elif test -n "$PKG_CONFIG"; then 15509 if test -n "$PKG_CONFIG" && \ 15510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mate-desktop-2.0 >= \$LIBMATE_DESKTOP_REQUIRED libmatepanelapplet-4.0 >= \$LIBPANEL4_REQUIRED gtk+-3.0 >= \$GTK_REQUIRED glib-2.0 >= \$REQ_GLIB_VERSION\""; } >&5 15511 ($PKG_CONFIG --exists --print-errors "mate-desktop-2.0 >= $LIBMATE_DESKTOP_REQUIRED libmatepanelapplet-4.0 >= $LIBPANEL4_REQUIRED gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $REQ_GLIB_VERSION") 2>&5 15512 ac_status=$? 15513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15514 test $ac_status = 0; }; then 15515 pkg_cv_NOTIFICATION_APPLET_LIBS=`$PKG_CONFIG --libs "mate-desktop-2.0 >= $LIBMATE_DESKTOP_REQUIRED libmatepanelapplet-4.0 >= $LIBPANEL4_REQUIRED gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $REQ_GLIB_VERSION" 2>/dev/null` 15516 test "x$?" != "x0" && pkg_failed=yes 15517else 15518 pkg_failed=yes 15519fi 15520 else 15521 pkg_failed=untried 15522fi 15523 15524 15525 15526if test $pkg_failed = yes; then 15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15528$as_echo "no" >&6; } 15529 15530if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15531 _pkg_short_errors_supported=yes 15532else 15533 _pkg_short_errors_supported=no 15534fi 15535 if test $_pkg_short_errors_supported = yes; then 15536 NOTIFICATION_APPLET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mate-desktop-2.0 >= $LIBMATE_DESKTOP_REQUIRED libmatepanelapplet-4.0 >= $LIBPANEL4_REQUIRED gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $REQ_GLIB_VERSION" 2>&1` 15537 else 15538 NOTIFICATION_APPLET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mate-desktop-2.0 >= $LIBMATE_DESKTOP_REQUIRED libmatepanelapplet-4.0 >= $LIBPANEL4_REQUIRED gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $REQ_GLIB_VERSION" 2>&1` 15539 fi 15540 # Put the nasty error message in config.log where it belongs 15541 echo "$NOTIFICATION_APPLET_PKG_ERRORS" >&5 15542 15543 as_fn_error $? "Package requirements (mate-desktop-2.0 >= $LIBMATE_DESKTOP_REQUIRED libmatepanelapplet-4.0 >= $LIBPANEL4_REQUIRED gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $REQ_GLIB_VERSION) were not met: 15544 15545$NOTIFICATION_APPLET_PKG_ERRORS 15546 15547Consider adjusting the PKG_CONFIG_PATH environment variable if you 15548installed software in a non-standard prefix. 15549 15550Alternatively, you may set the environment variables NOTIFICATION_APPLET_CFLAGS 15551and NOTIFICATION_APPLET_LIBS to avoid the need to call pkg-config. 15552See the pkg-config man page for more details." "$LINENO" 5 15553elif test $pkg_failed = untried; then 15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15555$as_echo "no" >&6; } 15556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15557$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15558as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15559is in your PATH or set the PKG_CONFIG environment variable to the full 15560path to pkg-config. 15561 15562Alternatively, you may set the environment variables NOTIFICATION_APPLET_CFLAGS 15563and NOTIFICATION_APPLET_LIBS to avoid the need to call pkg-config. 15564See the pkg-config man page for more details. 15565 15566To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15567See \`config.log' for more details" "$LINENO" 5; } 15568else 15569 NOTIFICATION_APPLET_CFLAGS=$pkg_cv_NOTIFICATION_APPLET_CFLAGS 15570 NOTIFICATION_APPLET_LIBS=$pkg_cv_NOTIFICATION_APPLET_LIBS 15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15572$as_echo "yes" >&6; } 15573 15574fi 15575 15576 15577 15578 15579 15580# Check whether --enable-x11 was given. 15581if test "${enable_x11+set}" = set; then : 15582 enableval=$enable_x11; enable_x11=$enableval 15583else 15584 enable_x11=auto 15585fi 15586 15587 15588# Check whether --enable-wayland was given. 15589if test "${enable_wayland+set}" = set; then : 15590 enableval=$enable_wayland; enable_wayland=$enableval 15591else 15592 enable_wayland=auto 15593fi 15594 15595 15596have_wayland=no 15597if test "x$enable_wayland" != "xno"; then 15598 15599pkg_failed=no 15600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFICATION_DAEMON_WAYLAND" >&5 15601$as_echo_n "checking for NOTIFICATION_DAEMON_WAYLAND... " >&6; } 15602 15603if test -n "$NOTIFICATION_DAEMON_WAYLAND_CFLAGS"; then 15604 pkg_cv_NOTIFICATION_DAEMON_WAYLAND_CFLAGS="$NOTIFICATION_DAEMON_WAYLAND_CFLAGS" 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 \"gtk-layer-shell-0\""; } >&5 15608 ($PKG_CONFIG --exists --print-errors "gtk-layer-shell-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_NOTIFICATION_DAEMON_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "gtk-layer-shell-0" 2>/dev/null` 15613 test "x$?" != "x0" && pkg_failed=yes 15614else 15615 pkg_failed=yes 15616fi 15617 else 15618 pkg_failed=untried 15619fi 15620if test -n "$NOTIFICATION_DAEMON_WAYLAND_LIBS"; then 15621 pkg_cv_NOTIFICATION_DAEMON_WAYLAND_LIBS="$NOTIFICATION_DAEMON_WAYLAND_LIBS" 15622 elif test -n "$PKG_CONFIG"; then 15623 if test -n "$PKG_CONFIG" && \ 15624 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-layer-shell-0\""; } >&5 15625 ($PKG_CONFIG --exists --print-errors "gtk-layer-shell-0") 2>&5 15626 ac_status=$? 15627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15628 test $ac_status = 0; }; then 15629 pkg_cv_NOTIFICATION_DAEMON_WAYLAND_LIBS=`$PKG_CONFIG --libs "gtk-layer-shell-0" 2>/dev/null` 15630 test "x$?" != "x0" && pkg_failed=yes 15631else 15632 pkg_failed=yes 15633fi 15634 else 15635 pkg_failed=untried 15636fi 15637 15638 15639 15640if test $pkg_failed = yes; then 15641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15642$as_echo "no" >&6; } 15643 15644if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15645 _pkg_short_errors_supported=yes 15646else 15647 _pkg_short_errors_supported=no 15648fi 15649 if test $_pkg_short_errors_supported = yes; then 15650 NOTIFICATION_DAEMON_WAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-layer-shell-0" 2>&1` 15651 else 15652 NOTIFICATION_DAEMON_WAYLAND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-layer-shell-0" 2>&1` 15653 fi 15654 # Put the nasty error message in config.log where it belongs 15655 echo "$NOTIFICATION_DAEMON_WAYLAND_PKG_ERRORS" >&5 15656 15657 15658 if test "x$enable_wayland" = "xyes"; then 15659 as_fn_error $? "Wayland enabled but GTK Layer Shell library not found" "$LINENO" 5 15660 fi 15661 15662elif test $pkg_failed = untried; then 15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15664$as_echo "no" >&6; } 15665 15666 if test "x$enable_wayland" = "xyes"; then 15667 as_fn_error $? "Wayland enabled but GTK Layer Shell library not found" "$LINENO" 5 15668 fi 15669 15670else 15671 NOTIFICATION_DAEMON_WAYLAND_CFLAGS=$pkg_cv_NOTIFICATION_DAEMON_WAYLAND_CFLAGS 15672 NOTIFICATION_DAEMON_WAYLAND_LIBS=$pkg_cv_NOTIFICATION_DAEMON_WAYLAND_LIBS 15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15674$as_echo "yes" >&6; } 15675 15676 have_wayland=yes 15677 15678$as_echo "#define HAVE_WAYLAND 1" >>confdefs.h 15679 15680 NOTIFICATION_DAEMON_CFLAGS="$NOTIFICATION_DAEMON_CFLAGS $NOTIFICATION_DAEMON_WAYLAND_CFLAGS" 15681 NOTIFICATION_DAEMON_LIBS="$NOTIFICATION_DAEMON_LIBS $NOTIFICATION_DAEMON_WAYLAND_LIBS" 15682 15683fi 15684fi 15685 15686have_x11=no 15687if test "x$enable_x11" != "xno"; then 15688 x11_pkg_modules="libwnck-3.0, x11" 15689 15690pkg_failed=no 15691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFICATION_DAEMON_X11" >&5 15692$as_echo_n "checking for NOTIFICATION_DAEMON_X11... " >&6; } 15693 15694if test -n "$NOTIFICATION_DAEMON_X11_CFLAGS"; then 15695 pkg_cv_NOTIFICATION_DAEMON_X11_CFLAGS="$NOTIFICATION_DAEMON_X11_CFLAGS" 15696 elif test -n "$PKG_CONFIG"; then 15697 if test -n "$PKG_CONFIG" && \ 15698 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$x11_pkg_modules\""; } >&5 15699 ($PKG_CONFIG --exists --print-errors "$x11_pkg_modules") 2>&5 15700 ac_status=$? 15701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15702 test $ac_status = 0; }; then 15703 pkg_cv_NOTIFICATION_DAEMON_X11_CFLAGS=`$PKG_CONFIG --cflags "$x11_pkg_modules" 2>/dev/null` 15704 test "x$?" != "x0" && pkg_failed=yes 15705else 15706 pkg_failed=yes 15707fi 15708 else 15709 pkg_failed=untried 15710fi 15711if test -n "$NOTIFICATION_DAEMON_X11_LIBS"; then 15712 pkg_cv_NOTIFICATION_DAEMON_X11_LIBS="$NOTIFICATION_DAEMON_X11_LIBS" 15713 elif test -n "$PKG_CONFIG"; then 15714 if test -n "$PKG_CONFIG" && \ 15715 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$x11_pkg_modules\""; } >&5 15716 ($PKG_CONFIG --exists --print-errors "$x11_pkg_modules") 2>&5 15717 ac_status=$? 15718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15719 test $ac_status = 0; }; then 15720 pkg_cv_NOTIFICATION_DAEMON_X11_LIBS=`$PKG_CONFIG --libs "$x11_pkg_modules" 2>/dev/null` 15721 test "x$?" != "x0" && pkg_failed=yes 15722else 15723 pkg_failed=yes 15724fi 15725 else 15726 pkg_failed=untried 15727fi 15728 15729 15730 15731if test $pkg_failed = yes; then 15732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15733$as_echo "no" >&6; } 15734 15735if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15736 _pkg_short_errors_supported=yes 15737else 15738 _pkg_short_errors_supported=no 15739fi 15740 if test $_pkg_short_errors_supported = yes; then 15741 NOTIFICATION_DAEMON_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$x11_pkg_modules" 2>&1` 15742 else 15743 NOTIFICATION_DAEMON_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$x11_pkg_modules" 2>&1` 15744 fi 15745 # Put the nasty error message in config.log where it belongs 15746 echo "$NOTIFICATION_DAEMON_X11_PKG_ERRORS" >&5 15747 15748 15749 if test "x$enable_x11" = "xyes"; then 15750 as_fn_error $? "X development libraries not found" "$LINENO" 5 15751 fi 15752 15753elif test $pkg_failed = untried; then 15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15755$as_echo "no" >&6; } 15756 15757 if test "x$enable_x11" = "xyes"; then 15758 as_fn_error $? "X development libraries not found" "$LINENO" 5 15759 fi 15760 15761else 15762 NOTIFICATION_DAEMON_X11_CFLAGS=$pkg_cv_NOTIFICATION_DAEMON_X11_CFLAGS 15763 NOTIFICATION_DAEMON_X11_LIBS=$pkg_cv_NOTIFICATION_DAEMON_X11_LIBS 15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15765$as_echo "yes" >&6; } 15766 15767 have_x11=yes 15768 15769$as_echo "#define HAVE_X11 1" >>confdefs.h 15770 15771 NOTIFICATION_DAEMON_CFLAGS="$NOTIFICATION_DAEMON_CFLAGS $NOTIFICATION_DAEMON_X11_CFLAGS" 15772 NOTIFICATION_DAEMON_LIBS="$NOTIFICATION_DAEMON_LIBS $NOTIFICATION_DAEMON_X11_LIBS" 15773 15774fi 15775fi 15776 15777 if test "x$have_wayland" = "xyes"; then 15778 ENABLE_WAYLAND_TRUE= 15779 ENABLE_WAYLAND_FALSE='#' 15780else 15781 ENABLE_WAYLAND_TRUE='#' 15782 ENABLE_WAYLAND_FALSE= 15783fi 15784 15785 15786if test "x$have_x11" != "xyes" -a "x$have_wayland" != "xyes"; then 15787 as_fn_error $? "At least one backend must be enabled (--enable-x11 or --enable-wayland)" "$LINENO" 5 15788fi 15789 15790 15791 15792 15793 15794pkg_failed=no 15795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFICATION_CAPPLET" >&5 15796$as_echo_n "checking for NOTIFICATION_CAPPLET... " >&6; } 15797 15798if test -n "$NOTIFICATION_CAPPLET_CFLAGS"; then 15799 pkg_cv_NOTIFICATION_CAPPLET_CFLAGS="$NOTIFICATION_CAPPLET_CFLAGS" 15800 elif test -n "$PKG_CONFIG"; then 15801 if test -n "$PKG_CONFIG" && \ 15802 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$REQ_GLIB_VERSION gio-2.0 >= \$REQ_GLIB_VERSION gtk+-3.0 >= \$GTK_REQUIRED libnotify\""; } >&5 15803 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $REQ_GLIB_VERSION gio-2.0 >= $REQ_GLIB_VERSION gtk+-3.0 >= $GTK_REQUIRED libnotify") 2>&5 15804 ac_status=$? 15805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15806 test $ac_status = 0; }; then 15807 pkg_cv_NOTIFICATION_CAPPLET_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $REQ_GLIB_VERSION gio-2.0 >= $REQ_GLIB_VERSION gtk+-3.0 >= $GTK_REQUIRED libnotify" 2>/dev/null` 15808 test "x$?" != "x0" && pkg_failed=yes 15809else 15810 pkg_failed=yes 15811fi 15812 else 15813 pkg_failed=untried 15814fi 15815if test -n "$NOTIFICATION_CAPPLET_LIBS"; then 15816 pkg_cv_NOTIFICATION_CAPPLET_LIBS="$NOTIFICATION_CAPPLET_LIBS" 15817 elif test -n "$PKG_CONFIG"; then 15818 if test -n "$PKG_CONFIG" && \ 15819 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$REQ_GLIB_VERSION gio-2.0 >= \$REQ_GLIB_VERSION gtk+-3.0 >= \$GTK_REQUIRED libnotify\""; } >&5 15820 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $REQ_GLIB_VERSION gio-2.0 >= $REQ_GLIB_VERSION gtk+-3.0 >= $GTK_REQUIRED libnotify") 2>&5 15821 ac_status=$? 15822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15823 test $ac_status = 0; }; then 15824 pkg_cv_NOTIFICATION_CAPPLET_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $REQ_GLIB_VERSION gio-2.0 >= $REQ_GLIB_VERSION gtk+-3.0 >= $GTK_REQUIRED libnotify" 2>/dev/null` 15825 test "x$?" != "x0" && pkg_failed=yes 15826else 15827 pkg_failed=yes 15828fi 15829 else 15830 pkg_failed=untried 15831fi 15832 15833 15834 15835if test $pkg_failed = yes; then 15836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15837$as_echo "no" >&6; } 15838 15839if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15840 _pkg_short_errors_supported=yes 15841else 15842 _pkg_short_errors_supported=no 15843fi 15844 if test $_pkg_short_errors_supported = yes; then 15845 NOTIFICATION_CAPPLET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $REQ_GLIB_VERSION gio-2.0 >= $REQ_GLIB_VERSION gtk+-3.0 >= $GTK_REQUIRED libnotify" 2>&1` 15846 else 15847 NOTIFICATION_CAPPLET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $REQ_GLIB_VERSION gio-2.0 >= $REQ_GLIB_VERSION gtk+-3.0 >= $GTK_REQUIRED libnotify" 2>&1` 15848 fi 15849 # Put the nasty error message in config.log where it belongs 15850 echo "$NOTIFICATION_CAPPLET_PKG_ERRORS" >&5 15851 15852 as_fn_error $? "Package requirements (glib-2.0 >= $REQ_GLIB_VERSION gio-2.0 >= $REQ_GLIB_VERSION gtk+-3.0 >= $GTK_REQUIRED libnotify) were not met: 15853 15854$NOTIFICATION_CAPPLET_PKG_ERRORS 15855 15856Consider adjusting the PKG_CONFIG_PATH environment variable if you 15857installed software in a non-standard prefix. 15858 15859Alternatively, you may set the environment variables NOTIFICATION_CAPPLET_CFLAGS 15860and NOTIFICATION_CAPPLET_LIBS to avoid the need to call pkg-config. 15861See the pkg-config man page for more details." "$LINENO" 5 15862elif test $pkg_failed = untried; then 15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15864$as_echo "no" >&6; } 15865 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15866$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15867as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15868is in your PATH or set the PKG_CONFIG environment variable to the full 15869path to pkg-config. 15870 15871Alternatively, you may set the environment variables NOTIFICATION_CAPPLET_CFLAGS 15872and NOTIFICATION_CAPPLET_LIBS to avoid the need to call pkg-config. 15873See the pkg-config man page for more details. 15874 15875To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15876See \`config.log' for more details" "$LINENO" 5; } 15877else 15878 NOTIFICATION_CAPPLET_CFLAGS=$pkg_cv_NOTIFICATION_CAPPLET_CFLAGS 15879 NOTIFICATION_CAPPLET_LIBS=$pkg_cv_NOTIFICATION_CAPPLET_LIBS 15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15881$as_echo "yes" >&6; } 15882 15883fi 15884 15885 15886 15887gdk_modules=" 15888 gdk-3.0 >= $GTK_REQUIRED, \ 15889 gdk-pixbuf-2.0 >= 2.22.0 \ 15890" 15891 15892pkg_failed=no 15893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK" >&5 15894$as_echo_n "checking for GDK... " >&6; } 15895 15896if test -n "$GDK_CFLAGS"; then 15897 pkg_cv_GDK_CFLAGS="$GDK_CFLAGS" 15898 elif test -n "$PKG_CONFIG"; then 15899 if test -n "$PKG_CONFIG" && \ 15900 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gdk_modules\""; } >&5 15901 ($PKG_CONFIG --exists --print-errors "$gdk_modules") 2>&5 15902 ac_status=$? 15903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15904 test $ac_status = 0; }; then 15905 pkg_cv_GDK_CFLAGS=`$PKG_CONFIG --cflags "$gdk_modules" 2>/dev/null` 15906 test "x$?" != "x0" && pkg_failed=yes 15907else 15908 pkg_failed=yes 15909fi 15910 else 15911 pkg_failed=untried 15912fi 15913if test -n "$GDK_LIBS"; then 15914 pkg_cv_GDK_LIBS="$GDK_LIBS" 15915 elif test -n "$PKG_CONFIG"; then 15916 if test -n "$PKG_CONFIG" && \ 15917 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gdk_modules\""; } >&5 15918 ($PKG_CONFIG --exists --print-errors "$gdk_modules") 2>&5 15919 ac_status=$? 15920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15921 test $ac_status = 0; }; then 15922 pkg_cv_GDK_LIBS=`$PKG_CONFIG --libs "$gdk_modules" 2>/dev/null` 15923 test "x$?" != "x0" && pkg_failed=yes 15924else 15925 pkg_failed=yes 15926fi 15927 else 15928 pkg_failed=untried 15929fi 15930 15931 15932 15933if test $pkg_failed = yes; then 15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15935$as_echo "no" >&6; } 15936 15937if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15938 _pkg_short_errors_supported=yes 15939else 15940 _pkg_short_errors_supported=no 15941fi 15942 if test $_pkg_short_errors_supported = yes; then 15943 GDK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$gdk_modules" 2>&1` 15944 else 15945 GDK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$gdk_modules" 2>&1` 15946 fi 15947 # Put the nasty error message in config.log where it belongs 15948 echo "$GDK_PKG_ERRORS" >&5 15949 15950 15951 have_gdk=no 15952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Some test apps will not be built\"" >&5 15953$as_echo "$as_me: WARNING: \"Some test apps will not be built\"" >&2;} 15954 15955elif test $pkg_failed = untried; then 15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15957$as_echo "no" >&6; } 15958 15959 have_gdk=no 15960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Some test apps will not be built\"" >&5 15961$as_echo "$as_me: WARNING: \"Some test apps will not be built\"" >&2;} 15962 15963else 15964 GDK_CFLAGS=$pkg_cv_GDK_CFLAGS 15965 GDK_LIBS=$pkg_cv_GDK_LIBS 15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15967$as_echo "yes" >&6; } 15968 have_gdk=yes 15969fi 15970 15971 if test "x$have_gdk" = "xyes"; then 15972 HAVE_GDK_TRUE= 15973 HAVE_GDK_FALSE='#' 15974else 15975 HAVE_GDK_TRUE='#' 15976 HAVE_GDK_FALSE= 15977fi 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 # Check whether --enable-schemas-compile was given. 15989if test "${enable_schemas_compile+set}" = set; then : 15990 enableval=$enable_schemas_compile; case ${enableval} in 15991 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; 15992 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; 15993 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;; 15994 esac 15995fi 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 16006 if test -n "$ac_tool_prefix"; then 16007 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 16008set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 16009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16010$as_echo_n "checking for $ac_word... " >&6; } 16011if ${ac_cv_path_PKG_CONFIG+:} false; then : 16012 $as_echo_n "(cached) " >&6 16013else 16014 case $PKG_CONFIG in 16015 [\\/]* | ?:[\\/]*) 16016 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 16017 ;; 16018 *) 16019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16020for as_dir in $PATH 16021do 16022 IFS=$as_save_IFS 16023 test -z "$as_dir" && as_dir=. 16024 for ac_exec_ext in '' $ac_executable_extensions; do 16025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16026 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16028 break 2 16029 fi 16030done 16031 done 16032IFS=$as_save_IFS 16033 16034 ;; 16035esac 16036fi 16037PKG_CONFIG=$ac_cv_path_PKG_CONFIG 16038if test -n "$PKG_CONFIG"; then 16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 16040$as_echo "$PKG_CONFIG" >&6; } 16041else 16042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16043$as_echo "no" >&6; } 16044fi 16045 16046 16047fi 16048if test -z "$ac_cv_path_PKG_CONFIG"; then 16049 ac_pt_PKG_CONFIG=$PKG_CONFIG 16050 # Extract the first word of "pkg-config", so it can be a program name with args. 16051set dummy pkg-config; ac_word=$2 16052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16053$as_echo_n "checking for $ac_word... " >&6; } 16054if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 16055 $as_echo_n "(cached) " >&6 16056else 16057 case $ac_pt_PKG_CONFIG in 16058 [\\/]* | ?:[\\/]*) 16059 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 16060 ;; 16061 *) 16062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16063for as_dir in $PATH 16064do 16065 IFS=$as_save_IFS 16066 test -z "$as_dir" && as_dir=. 16067 for ac_exec_ext in '' $ac_executable_extensions; do 16068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16069 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16071 break 2 16072 fi 16073done 16074 done 16075IFS=$as_save_IFS 16076 16077 ;; 16078esac 16079fi 16080ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 16081if test -n "$ac_pt_PKG_CONFIG"; then 16082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 16083$as_echo "$ac_pt_PKG_CONFIG" >&6; } 16084else 16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16086$as_echo "no" >&6; } 16087fi 16088 16089 if test "x$ac_pt_PKG_CONFIG" = x; then 16090 PKG_CONFIG="" 16091 else 16092 case $cross_compiling:$ac_tool_warned in 16093yes:) 16094{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16095$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16096ac_tool_warned=yes ;; 16097esac 16098 PKG_CONFIG=$ac_pt_PKG_CONFIG 16099 fi 16100else 16101 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 16102fi 16103 16104fi 16105if test -n "$PKG_CONFIG"; then 16106 _pkg_min_version=0.16 16107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 16108$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 16109 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 16110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16111$as_echo "yes" >&6; } 16112 else 16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16114$as_echo "no" >&6; } 16115 PKG_CONFIG="" 16116 fi 16117fi 16118 gsettingsschemadir=${datadir}/glib-2.0/schemas 16119 16120 if test x$cross_compiling != xyes; then : 16121 16122if test -n "$GLIB_COMPILE_SCHEMAS"; then 16123 pkg_cv_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" 16124 elif test -n "$PKG_CONFIG"; then 16125 if test -n "$PKG_CONFIG" && \ 16126 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5 16127 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5 16128 ac_status=$? 16129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16130 test $ac_status = 0; }; then 16131 pkg_cv_GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable="glib_compile_schemas" "gio-2.0" 2>/dev/null` 16132 test "x$?" != "x0" && pkg_failed=yes 16133else 16134 pkg_failed=yes 16135fi 16136 else 16137 pkg_failed=untried 16138fi 16139GLIB_COMPILE_SCHEMAS=$pkg_cv_GLIB_COMPILE_SCHEMAS 16140 16141if test "x$GLIB_COMPILE_SCHEMAS" = x""; then : 16142 16143fi 16144else 16145 # Extract the first word of "glib-compile-schemas", so it can be a program name with args. 16146set dummy glib-compile-schemas; ac_word=$2 16147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16148$as_echo_n "checking for $ac_word... " >&6; } 16149if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then : 16150 $as_echo_n "(cached) " >&6 16151else 16152 case $GLIB_COMPILE_SCHEMAS in 16153 [\\/]* | ?:[\\/]*) 16154 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path. 16155 ;; 16156 *) 16157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16158for as_dir in $PATH 16159do 16160 IFS=$as_save_IFS 16161 test -z "$as_dir" && as_dir=. 16162 for ac_exec_ext in '' $ac_executable_extensions; do 16163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16164 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext" 16165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16166 break 2 16167 fi 16168done 16169 done 16170IFS=$as_save_IFS 16171 16172 ;; 16173esac 16174fi 16175GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS 16176if test -n "$GLIB_COMPILE_SCHEMAS"; then 16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5 16178$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; } 16179else 16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16181$as_echo "no" >&6; } 16182fi 16183 16184 16185fi 16186 16187 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then 16188 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5 16189 else 16190 : 16191 fi 16192 16193 GSETTINGS_RULES=' 16194.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas 16195 16196mostlyclean-am: clean-gsettings-schemas 16197 16198gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) 16199 16200%.gschema.valid: %.gschema.xml $(gsettings__enum_file) 16201 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@ 16202 16203all-am: $(gsettings_SCHEMAS:.xml=.valid) 16204uninstall-am: uninstall-gsettings-schemas 16205install-data-am: install-gsettings-schemas 16206 16207.SECONDARY: $(gsettings_SCHEMAS) 16208 16209install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) 16210 @$(NORMAL_INSTALL) 16211 if test -n "$^"; then \ 16212 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ 16213 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ 16214 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ 16215 fi 16216 16217uninstall-gsettings-schemas: 16218 @$(NORMAL_UNINSTALL) 16219 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ 16220 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ 16221 test -n "$$files" || exit 0; \ 16222 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ 16223 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files 16224 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) 16225 16226clean-gsettings-schemas: 16227 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) 16228 16229ifdef gsettings_ENUM_NAMESPACE 16230$(gsettings__enum_file): $(gsettings_ENUM_FILES) 16231 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@ 16232endif 16233' 16234 16235 16236 16237 16238 16239 16240 16241 16242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dbus version" >&5 16243$as_echo_n "checking dbus version... " >&6; } 16244DBUS_VERSION=`$PKG_CONFIG --modversion dbus-1` 16245DBUS_MAJOR_VER=`echo $DBUS_VERSION | cut -d. -f 1` 16246DBUS_MINOR_VER=`echo $DBUS_VERSION | cut -d. -f 2` 16247DBUS_MICRO_VER=`echo $DBUS_VERSION | cut -d. -f 3` 16248 16249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_VERSION" >&5 16250$as_echo "$DBUS_VERSION" >&6; } 16251 16252cat >>confdefs.h <<_ACEOF 16253#define DBUS_MAJOR_VER $DBUS_MAJOR_VER 16254_ACEOF 16255 16256 16257cat >>confdefs.h <<_ACEOF 16258#define DBUS_MINOR_VER $DBUS_MINOR_VER 16259_ACEOF 16260 16261 16262cat >>confdefs.h <<_ACEOF 16263#define DBUS_MICRO_VER $DBUS_MICRO_VER 16264_ACEOF 16265 16266 16267 16268cat >>confdefs.h <<_ACEOF 16269#define DBUS_API_SUBJECT_TO_CHANGE /**/ 16270_ACEOF 16271 16272 16273 16274 EXP_VAR=SYSCONFDIR 16275 FROM_VAR=$sysconfdir 16276 16277 prefix_save=$prefix 16278 exec_prefix_save=$exec_prefix 16279 16280 if test "x$prefix" = "xNONE"; then 16281 prefix=$ac_default_prefix 16282 fi 16283 if test "x$exec_prefix" = "xNONE"; then 16284 exec_prefix=$prefix 16285 fi 16286 16287 full_var="$FROM_VAR" 16288 while true; do 16289 new_full_var="`eval echo $full_var`" 16290 if test "x$new_full_var"="x$full_var"; then break; fi 16291 full_var=$new_full_var 16292 done 16293 16294 full_var=$new_full_var 16295 SYSCONFDIR="$full_var" 16296 16297 16298 prefix=$prefix_save 16299 exec_prefix=$exec_prefix_save 16300 16301 16302 EXP_VAR=LIBDIR 16303 FROM_VAR=$libdir 16304 16305 prefix_save=$prefix 16306 exec_prefix_save=$exec_prefix 16307 16308 if test "x$prefix" = "xNONE"; then 16309 prefix=$ac_default_prefix 16310 fi 16311 if test "x$exec_prefix" = "xNONE"; then 16312 exec_prefix=$prefix 16313 fi 16314 16315 full_var="$FROM_VAR" 16316 while true; do 16317 new_full_var="`eval echo $full_var`" 16318 if test "x$new_full_var"="x$full_var"; then break; fi 16319 full_var=$new_full_var 16320 done 16321 16322 full_var=$new_full_var 16323 LIBDIR="$full_var" 16324 16325 16326 prefix=$prefix_save 16327 exec_prefix=$exec_prefix_save 16328 16329 16330 EXP_VAR=DATADIR 16331 FROM_VAR=$datadir 16332 16333 prefix_save=$prefix 16334 exec_prefix_save=$exec_prefix 16335 16336 if test "x$prefix" = "xNONE"; then 16337 prefix=$ac_default_prefix 16338 fi 16339 if test "x$exec_prefix" = "xNONE"; then 16340 exec_prefix=$prefix 16341 fi 16342 16343 full_var="$FROM_VAR" 16344 while true; do 16345 new_full_var="`eval echo $full_var`" 16346 if test "x$new_full_var"="x$full_var"; then break; fi 16347 full_var=$new_full_var 16348 done 16349 16350 full_var=$new_full_var 16351 DATADIR="$full_var" 16352 16353 16354 prefix=$prefix_save 16355 exec_prefix=$exec_prefix_save 16356 16357 16358 EXP_VAR=LIBEXECDIR 16359 FROM_VAR=$libexecdir 16360 16361 prefix_save=$prefix 16362 exec_prefix_save=$exec_prefix 16363 16364 if test "x$prefix" = "xNONE"; then 16365 prefix=$ac_default_prefix 16366 fi 16367 if test "x$exec_prefix" = "xNONE"; then 16368 exec_prefix=$prefix 16369 fi 16370 16371 full_var="$FROM_VAR" 16372 while true; do 16373 new_full_var="`eval echo $full_var`" 16374 if test "x$new_full_var"="x$full_var"; then break; fi 16375 full_var=$new_full_var 16376 done 16377 16378 full_var=$new_full_var 16379 LIBEXECDIR="$full_var" 16380 16381 16382 prefix=$prefix_save 16383 exec_prefix=$exec_prefix_save 16384 16385 16386 16387# Check whether --with-dbus-sys was given. 16388if test "${with_dbus_sys+set}" = set; then : 16389 withval=$with_dbus_sys; 16390fi 16391 16392 16393# Check whether --with-dbus-services was given. 16394if test "${with_dbus_services+set}" = set; then : 16395 withval=$with_dbus_services; 16396fi 16397 16398 16399if ! test -z "$with_dbus_sys" ; then 16400 DBUS_SYS_DIR="$with_dbus_sys" 16401else 16402 DBUS_SYS_DIR="$SYSCONFDIR/dbus-1/system.d" 16403fi 16404 16405if ! test -z "$with_dbus_services" ; then 16406 DBUS_SERVICES_DIR="$with_dbus_services" 16407else 16408 DBUS_SERVICES_DIR="$DATADIR/dbus-1/services" 16409fi 16410 16411 16412 16413 16414cat >>confdefs.h <<_ACEOF 16415#define DBUS_SYSTEMD_DIR "$DBUS_SYS_DIR" 16416_ACEOF 16417 16418 16419cat >>confdefs.h <<_ACEOF 16420#define DBUS_SERVICES_DIR "$DBUS_SERVICES_DIR" 16421_ACEOF 16422 16423 16424# Check whether --enable-icon-update was given. 16425if test "${enable_icon_update+set}" = set; then : 16426 enableval=$enable_icon_update; 16427fi 16428 16429if (test "$enable_icon_update" != no); then 16430 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args. 16431set dummy gtk-update-icon-cache; ac_word=$2 16432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16433$as_echo_n "checking for $ac_word... " >&6; } 16434if ${ac_cv_path_UPDATE_ICON_CACHE+:} false; then : 16435 $as_echo_n "(cached) " >&6 16436else 16437 case $UPDATE_ICON_CACHE in 16438 [\\/]* | ?:[\\/]*) 16439 ac_cv_path_UPDATE_ICON_CACHE="$UPDATE_ICON_CACHE" # Let the user override the test with a path. 16440 ;; 16441 *) 16442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16443for as_dir in $PATH 16444do 16445 IFS=$as_save_IFS 16446 test -z "$as_dir" && as_dir=. 16447 for ac_exec_ext in '' $ac_executable_extensions; do 16448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16449 ac_cv_path_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext" 16450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16451 break 2 16452 fi 16453done 16454 done 16455IFS=$as_save_IFS 16456 16457 ;; 16458esac 16459fi 16460UPDATE_ICON_CACHE=$ac_cv_path_UPDATE_ICON_CACHE 16461if test -n "$UPDATE_ICON_CACHE"; then 16462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_ICON_CACHE" >&5 16463$as_echo "$UPDATE_ICON_CACHE" >&6; } 16464else 16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16466$as_echo "no" >&6; } 16467fi 16468 16469 16470fi 16471 if test -n "$UPDATE_ICON_CACHE"; then 16472 ICON_UPDATE_TRUE= 16473 ICON_UPDATE_FALSE='#' 16474else 16475 ICON_UPDATE_TRUE='#' 16476 ICON_UPDATE_FALSE= 16477fi 16478 16479 16480ac_config_files="$ac_config_files Makefile data/Makefile data/org.freedesktop.mate.Notifications.service data/org.mate.applets.MateNotificationApplet.desktop.in data/org.mate.NotificationDaemon.gschema.xml data/org.mate.panel.applet.MateNotificationAppletFactory.service po/Makefile.in src/Makefile src/daemon/Makefile src/capplet/Makefile src/themes/Makefile src/themes/coco/Makefile src/themes/nodoka/Makefile src/themes/slider/Makefile src/themes/standard/Makefile" 16481 16482 16483cat >confcache <<\_ACEOF 16484# This file is a shell script that caches the results of configure 16485# tests run on this system so they can be shared between configure 16486# scripts and configure runs, see configure's option --config-cache. 16487# It is not useful on other systems. If it contains results you don't 16488# want to keep, you may remove or edit it. 16489# 16490# config.status only pays attention to the cache file if you give it 16491# the --recheck option to rerun configure. 16492# 16493# `ac_cv_env_foo' variables (set or unset) will be overridden when 16494# loading this file, other *unset* `ac_cv_foo' will be assigned the 16495# following values. 16496 16497_ACEOF 16498 16499# The following way of writing the cache mishandles newlines in values, 16500# but we know of no workaround that is simple, portable, and efficient. 16501# So, we kill variables containing newlines. 16502# Ultrix sh set writes to stderr and can't be redirected directly, 16503# and sets the high bit in the cache file unless we assign to the vars. 16504( 16505 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 16506 eval ac_val=\$$ac_var 16507 case $ac_val in #( 16508 *${as_nl}*) 16509 case $ac_var in #( 16510 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16511$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16512 esac 16513 case $ac_var in #( 16514 _ | IFS | as_nl) ;; #( 16515 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16516 *) { eval $ac_var=; unset $ac_var;} ;; 16517 esac ;; 16518 esac 16519 done 16520 16521 (set) 2>&1 | 16522 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16523 *${as_nl}ac_space=\ *) 16524 # `set' does not quote correctly, so add quotes: double-quote 16525 # substitution turns \\\\ into \\, and sed turns \\ into \. 16526 sed -n \ 16527 "s/'/'\\\\''/g; 16528 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 16529 ;; #( 16530 *) 16531 # `set' quotes correctly as required by POSIX, so do not add quotes. 16532 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16533 ;; 16534 esac | 16535 sort 16536) | 16537 sed ' 16538 /^ac_cv_env_/b end 16539 t clear 16540 :clear 16541 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 16542 t end 16543 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 16544 :end' >>confcache 16545if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16546 if test -w "$cache_file"; then 16547 if test "x$cache_file" != "x/dev/null"; then 16548 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 16549$as_echo "$as_me: updating cache $cache_file" >&6;} 16550 if test ! -f "$cache_file" || test -h "$cache_file"; then 16551 cat confcache >"$cache_file" 16552 else 16553 case $cache_file in #( 16554 */* | ?:*) 16555 mv -f confcache "$cache_file"$$ && 16556 mv -f "$cache_file"$$ "$cache_file" ;; #( 16557 *) 16558 mv -f confcache "$cache_file" ;; 16559 esac 16560 fi 16561 fi 16562 else 16563 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 16564$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16565 fi 16566fi 16567rm -f confcache 16568 16569test "x$prefix" = xNONE && prefix=$ac_default_prefix 16570# Let make expand exec_prefix. 16571test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 16572 16573DEFS=-DHAVE_CONFIG_H 16574 16575ac_libobjs= 16576ac_ltlibobjs= 16577U= 16578for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16579 # 1. Remove the extension, and $U if already installed. 16580 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16581 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16582 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16583 # will be set to the directory where LIBOBJS objects are built. 16584 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 16585 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16586done 16587LIBOBJS=$ac_libobjs 16588 16589LTLIBOBJS=$ac_ltlibobjs 16590 16591 16592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 16593$as_echo_n "checking that generated files are newer than configure... " >&6; } 16594 if test -n "$am_sleep_pid"; then 16595 # Hide warnings about reused PIDs. 16596 wait $am_sleep_pid 2>/dev/null 16597 fi 16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 16599$as_echo "done" >&6; } 16600 if test -n "$EXEEXT"; then 16601 am__EXEEXT_TRUE= 16602 am__EXEEXT_FALSE='#' 16603else 16604 am__EXEEXT_TRUE='#' 16605 am__EXEEXT_FALSE= 16606fi 16607 16608if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 16609 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 16610Usually this means the macro was only invoked conditionally." "$LINENO" 5 16611fi 16612if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 16613 as_fn_error $? "conditional \"AMDEP\" was never defined. 16614Usually this means the macro was only invoked conditionally." "$LINENO" 5 16615fi 16616if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16617 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16618Usually this means the macro was only invoked conditionally." "$LINENO" 5 16619fi 16620if test -z "${USE_NLS_TRUE}" && test -z "${USE_NLS_FALSE}"; then 16621 as_fn_error $? "conditional \"USE_NLS\" was never defined. 16622Usually this means the macro was only invoked conditionally." "$LINENO" 5 16623fi 16624if test -z "${ENABLE_WAYLAND_TRUE}" && test -z "${ENABLE_WAYLAND_FALSE}"; then 16625 as_fn_error $? "conditional \"ENABLE_WAYLAND\" was never defined. 16626Usually this means the macro was only invoked conditionally." "$LINENO" 5 16627fi 16628if test -z "${HAVE_GDK_TRUE}" && test -z "${HAVE_GDK_FALSE}"; then 16629 as_fn_error $? "conditional \"HAVE_GDK\" was never defined. 16630Usually this means the macro was only invoked conditionally." "$LINENO" 5 16631fi 16632if test -z "${ICON_UPDATE_TRUE}" && test -z "${ICON_UPDATE_FALSE}"; then 16633 as_fn_error $? "conditional \"ICON_UPDATE\" was never defined. 16634Usually this means the macro was only invoked conditionally." "$LINENO" 5 16635fi 16636 16637: "${CONFIG_STATUS=./config.status}" 16638ac_write_fail=0 16639ac_clean_files_save=$ac_clean_files 16640ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16641{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 16642$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 16643as_write_fail=0 16644cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16645#! $SHELL 16646# Generated by $as_me. 16647# Run this file to recreate the current configuration. 16648# Compiler output produced by configure, useful for debugging 16649# configure, is in config.log if it exists. 16650 16651debug=false 16652ac_cs_recheck=false 16653ac_cs_silent=false 16654 16655SHELL=\${CONFIG_SHELL-$SHELL} 16656export SHELL 16657_ASEOF 16658cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 16659## -------------------- ## 16660## M4sh Initialization. ## 16661## -------------------- ## 16662 16663# Be more Bourne compatible 16664DUALCASE=1; export DUALCASE # for MKS sh 16665if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16666 emulate sh 16667 NULLCMD=: 16668 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16669 # is contrary to our usage. Disable this feature. 16670 alias -g '${1+"$@"}'='"$@"' 16671 setopt NO_GLOB_SUBST 16672else 16673 case `(set -o) 2>/dev/null` in #( 16674 *posix*) : 16675 set -o posix ;; #( 16676 *) : 16677 ;; 16678esac 16679fi 16680 16681 16682as_nl=' 16683' 16684export as_nl 16685# Printing a long string crashes Solaris 7 /usr/bin/printf. 16686as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 16687as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 16688as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 16689# Prefer a ksh shell builtin over an external printf program on Solaris, 16690# but without wasting forks for bash or zsh. 16691if test -z "$BASH_VERSION$ZSH_VERSION" \ 16692 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 16693 as_echo='print -r --' 16694 as_echo_n='print -rn --' 16695elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 16696 as_echo='printf %s\n' 16697 as_echo_n='printf %s' 16698else 16699 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 16700 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 16701 as_echo_n='/usr/ucb/echo -n' 16702 else 16703 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 16704 as_echo_n_body='eval 16705 arg=$1; 16706 case $arg in #( 16707 *"$as_nl"*) 16708 expr "X$arg" : "X\\(.*\\)$as_nl"; 16709 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 16710 esac; 16711 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 16712 ' 16713 export as_echo_n_body 16714 as_echo_n='sh -c $as_echo_n_body as_echo' 16715 fi 16716 export as_echo_body 16717 as_echo='sh -c $as_echo_body as_echo' 16718fi 16719 16720# The user is always right. 16721if test "${PATH_SEPARATOR+set}" != set; then 16722 PATH_SEPARATOR=: 16723 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 16724 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 16725 PATH_SEPARATOR=';' 16726 } 16727fi 16728 16729 16730# IFS 16731# We need space, tab and new line, in precisely that order. Quoting is 16732# there to prevent editors from complaining about space-tab. 16733# (If _AS_PATH_WALK were called with IFS unset, it would disable word 16734# splitting by setting IFS to empty value.) 16735IFS=" "" $as_nl" 16736 16737# Find who we are. Look in the path if we contain no directory separator. 16738as_myself= 16739case $0 in #(( 16740 *[\\/]* ) as_myself=$0 ;; 16741 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16742for as_dir in $PATH 16743do 16744 IFS=$as_save_IFS 16745 test -z "$as_dir" && as_dir=. 16746 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 16747 done 16748IFS=$as_save_IFS 16749 16750 ;; 16751esac 16752# We did not find ourselves, most probably we were run as `sh COMMAND' 16753# in which case we are not to be found in the path. 16754if test "x$as_myself" = x; then 16755 as_myself=$0 16756fi 16757if test ! -f "$as_myself"; then 16758 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16759 exit 1 16760fi 16761 16762# Unset variables that we do not need and which cause bugs (e.g. in 16763# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 16764# suppresses any "Segmentation fault" message there. '((' could 16765# trigger a bug in pdksh 5.2.14. 16766for as_var in BASH_ENV ENV MAIL MAILPATH 16767do eval test x\${$as_var+set} = xset \ 16768 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16769done 16770PS1='$ ' 16771PS2='> ' 16772PS4='+ ' 16773 16774# NLS nuisances. 16775LC_ALL=C 16776export LC_ALL 16777LANGUAGE=C 16778export LANGUAGE 16779 16780# CDPATH. 16781(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16782 16783 16784# as_fn_error STATUS ERROR [LINENO LOG_FD] 16785# ---------------------------------------- 16786# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 16787# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 16788# script with STATUS, using 1 if that was 0. 16789as_fn_error () 16790{ 16791 as_status=$1; test $as_status -eq 0 && as_status=1 16792 if test "$4"; then 16793 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16794 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 16795 fi 16796 $as_echo "$as_me: error: $2" >&2 16797 as_fn_exit $as_status 16798} # as_fn_error 16799 16800 16801# as_fn_set_status STATUS 16802# ----------------------- 16803# Set $? to STATUS, without forking. 16804as_fn_set_status () 16805{ 16806 return $1 16807} # as_fn_set_status 16808 16809# as_fn_exit STATUS 16810# ----------------- 16811# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 16812as_fn_exit () 16813{ 16814 set +e 16815 as_fn_set_status $1 16816 exit $1 16817} # as_fn_exit 16818 16819# as_fn_unset VAR 16820# --------------- 16821# Portably unset VAR. 16822as_fn_unset () 16823{ 16824 { eval $1=; unset $1;} 16825} 16826as_unset=as_fn_unset 16827# as_fn_append VAR VALUE 16828# ---------------------- 16829# Append the text in VALUE to the end of the definition contained in VAR. Take 16830# advantage of any shell optimizations that allow amortized linear growth over 16831# repeated appends, instead of the typical quadratic growth present in naive 16832# implementations. 16833if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 16834 eval 'as_fn_append () 16835 { 16836 eval $1+=\$2 16837 }' 16838else 16839 as_fn_append () 16840 { 16841 eval $1=\$$1\$2 16842 } 16843fi # as_fn_append 16844 16845# as_fn_arith ARG... 16846# ------------------ 16847# Perform arithmetic evaluation on the ARGs, and store the result in the 16848# global $as_val. Take advantage of shells that can avoid forks. The arguments 16849# must be portable across $(()) and expr. 16850if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 16851 eval 'as_fn_arith () 16852 { 16853 as_val=$(( $* )) 16854 }' 16855else 16856 as_fn_arith () 16857 { 16858 as_val=`expr "$@" || test $? -eq 1` 16859 } 16860fi # as_fn_arith 16861 16862 16863if expr a : '\(a\)' >/dev/null 2>&1 && 16864 test "X`expr 00001 : '.*\(...\)'`" = X001; then 16865 as_expr=expr 16866else 16867 as_expr=false 16868fi 16869 16870if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 16871 as_basename=basename 16872else 16873 as_basename=false 16874fi 16875 16876if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16877 as_dirname=dirname 16878else 16879 as_dirname=false 16880fi 16881 16882as_me=`$as_basename -- "$0" || 16883$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16884 X"$0" : 'X\(//\)$' \| \ 16885 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16886$as_echo X/"$0" | 16887 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16888 s//\1/ 16889 q 16890 } 16891 /^X\/\(\/\/\)$/{ 16892 s//\1/ 16893 q 16894 } 16895 /^X\/\(\/\).*/{ 16896 s//\1/ 16897 q 16898 } 16899 s/.*/./; q'` 16900 16901# Avoid depending upon Character Ranges. 16902as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16903as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16904as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16905as_cr_digits='0123456789' 16906as_cr_alnum=$as_cr_Letters$as_cr_digits 16907 16908ECHO_C= ECHO_N= ECHO_T= 16909case `echo -n x` in #((((( 16910-n*) 16911 case `echo 'xy\c'` in 16912 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16913 xy) ECHO_C='\c';; 16914 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 16915 ECHO_T=' ';; 16916 esac;; 16917*) 16918 ECHO_N='-n';; 16919esac 16920 16921rm -f conf$$ conf$$.exe conf$$.file 16922if test -d conf$$.dir; then 16923 rm -f conf$$.dir/conf$$.file 16924else 16925 rm -f conf$$.dir 16926 mkdir conf$$.dir 2>/dev/null 16927fi 16928if (echo >conf$$.file) 2>/dev/null; then 16929 if ln -s conf$$.file conf$$ 2>/dev/null; then 16930 as_ln_s='ln -s' 16931 # ... but there are two gotchas: 16932 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16933 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16934 # In both cases, we have to default to `cp -pR'. 16935 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 16936 as_ln_s='cp -pR' 16937 elif ln conf$$.file conf$$ 2>/dev/null; then 16938 as_ln_s=ln 16939 else 16940 as_ln_s='cp -pR' 16941 fi 16942else 16943 as_ln_s='cp -pR' 16944fi 16945rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 16946rmdir conf$$.dir 2>/dev/null 16947 16948 16949# as_fn_mkdir_p 16950# ------------- 16951# Create "$as_dir" as a directory, including parents if necessary. 16952as_fn_mkdir_p () 16953{ 16954 16955 case $as_dir in #( 16956 -*) as_dir=./$as_dir;; 16957 esac 16958 test -d "$as_dir" || eval $as_mkdir_p || { 16959 as_dirs= 16960 while :; do 16961 case $as_dir in #( 16962 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 16963 *) as_qdir=$as_dir;; 16964 esac 16965 as_dirs="'$as_qdir' $as_dirs" 16966 as_dir=`$as_dirname -- "$as_dir" || 16967$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16968 X"$as_dir" : 'X\(//\)[^/]' \| \ 16969 X"$as_dir" : 'X\(//\)$' \| \ 16970 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16971$as_echo X"$as_dir" | 16972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16973 s//\1/ 16974 q 16975 } 16976 /^X\(\/\/\)[^/].*/{ 16977 s//\1/ 16978 q 16979 } 16980 /^X\(\/\/\)$/{ 16981 s//\1/ 16982 q 16983 } 16984 /^X\(\/\).*/{ 16985 s//\1/ 16986 q 16987 } 16988 s/.*/./; q'` 16989 test -d "$as_dir" && break 16990 done 16991 test -z "$as_dirs" || eval "mkdir $as_dirs" 16992 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 16993 16994 16995} # as_fn_mkdir_p 16996if mkdir -p . 2>/dev/null; then 16997 as_mkdir_p='mkdir -p "$as_dir"' 16998else 16999 test -d ./-p && rmdir ./-p 17000 as_mkdir_p=false 17001fi 17002 17003 17004# as_fn_executable_p FILE 17005# ----------------------- 17006# Test if FILE is an executable regular file. 17007as_fn_executable_p () 17008{ 17009 test -f "$1" && test -x "$1" 17010} # as_fn_executable_p 17011as_test_x='test -x' 17012as_executable_p=as_fn_executable_p 17013 17014# Sed expression to map a string onto a valid CPP name. 17015as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 17016 17017# Sed expression to map a string onto a valid variable name. 17018as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 17019 17020 17021exec 6>&1 17022## ----------------------------------- ## 17023## Main body of $CONFIG_STATUS script. ## 17024## ----------------------------------- ## 17025_ASEOF 17026test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 17027 17028cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17029# Save the log message, to keep $0 and so on meaningful, and to 17030# report actual input values of CONFIG_FILES etc. instead of their 17031# values after options handling. 17032ac_log=" 17033This file was extended by mate-notification-daemon $as_me 1.26.0, which was 17034generated by GNU Autoconf 2.69. Invocation command line was 17035 17036 CONFIG_FILES = $CONFIG_FILES 17037 CONFIG_HEADERS = $CONFIG_HEADERS 17038 CONFIG_LINKS = $CONFIG_LINKS 17039 CONFIG_COMMANDS = $CONFIG_COMMANDS 17040 $ $0 $@ 17041 17042on `(hostname || uname -n) 2>/dev/null | sed 1q` 17043" 17044 17045_ACEOF 17046 17047case $ac_config_files in *" 17048"*) set x $ac_config_files; shift; ac_config_files=$*;; 17049esac 17050 17051case $ac_config_headers in *" 17052"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 17053esac 17054 17055 17056cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17057# Files that config.status was made for. 17058config_files="$ac_config_files" 17059config_headers="$ac_config_headers" 17060config_commands="$ac_config_commands" 17061 17062_ACEOF 17063 17064cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17065ac_cs_usage="\ 17066\`$as_me' instantiates files and other configuration actions 17067from templates according to the current configuration. Unless the files 17068and actions are specified as TAGs, all are instantiated by default. 17069 17070Usage: $0 [OPTION]... [TAG]... 17071 17072 -h, --help print this help, then exit 17073 -V, --version print version number and configuration settings, then exit 17074 --config print configuration, then exit 17075 -q, --quiet, --silent 17076 do not print progress messages 17077 -d, --debug don't remove temporary files 17078 --recheck update $as_me by reconfiguring in the same conditions 17079 --file=FILE[:TEMPLATE] 17080 instantiate the configuration file FILE 17081 --header=FILE[:TEMPLATE] 17082 instantiate the configuration header FILE 17083 17084Configuration files: 17085$config_files 17086 17087Configuration headers: 17088$config_headers 17089 17090Configuration commands: 17091$config_commands 17092 17093Report bugs to <https://mate-desktop.org>." 17094 17095_ACEOF 17096cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17097ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17098ac_cs_version="\\ 17099mate-notification-daemon config.status 1.26.0 17100configured by $0, generated by GNU Autoconf 2.69, 17101 with options \\"\$ac_cs_config\\" 17102 17103Copyright (C) 2012 Free Software Foundation, Inc. 17104This config.status script is free software; the Free Software Foundation 17105gives unlimited permission to copy, distribute and modify it." 17106 17107ac_pwd='$ac_pwd' 17108srcdir='$srcdir' 17109INSTALL='$INSTALL' 17110MKDIR_P='$MKDIR_P' 17111AWK='$AWK' 17112test -n "\$AWK" || AWK=awk 17113_ACEOF 17114 17115cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17116# The default lists apply if the user does not specify any file. 17117ac_need_defaults=: 17118while test $# != 0 17119do 17120 case $1 in 17121 --*=?*) 17122 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17123 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17124 ac_shift=: 17125 ;; 17126 --*=) 17127 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17128 ac_optarg= 17129 ac_shift=: 17130 ;; 17131 *) 17132 ac_option=$1 17133 ac_optarg=$2 17134 ac_shift=shift 17135 ;; 17136 esac 17137 17138 case $ac_option in 17139 # Handling of the options. 17140 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 17141 ac_cs_recheck=: ;; 17142 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17143 $as_echo "$ac_cs_version"; exit ;; 17144 --config | --confi | --conf | --con | --co | --c ) 17145 $as_echo "$ac_cs_config"; exit ;; 17146 --debug | --debu | --deb | --de | --d | -d ) 17147 debug=: ;; 17148 --file | --fil | --fi | --f ) 17149 $ac_shift 17150 case $ac_optarg in 17151 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17152 '') as_fn_error $? "missing file argument" ;; 17153 esac 17154 as_fn_append CONFIG_FILES " '$ac_optarg'" 17155 ac_need_defaults=false;; 17156 --header | --heade | --head | --hea ) 17157 $ac_shift 17158 case $ac_optarg in 17159 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17160 esac 17161 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17162 ac_need_defaults=false;; 17163 --he | --h) 17164 # Conflict between --help and --header 17165 as_fn_error $? "ambiguous option: \`$1' 17166Try \`$0 --help' for more information.";; 17167 --help | --hel | -h ) 17168 $as_echo "$ac_cs_usage"; exit ;; 17169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17170 | -silent | --silent | --silen | --sile | --sil | --si | --s) 17171 ac_cs_silent=: ;; 17172 17173 # This is an error. 17174 -*) as_fn_error $? "unrecognized option: \`$1' 17175Try \`$0 --help' for more information." ;; 17176 17177 *) as_fn_append ac_config_targets " $1" 17178 ac_need_defaults=false ;; 17179 17180 esac 17181 shift 17182done 17183 17184ac_configure_extra_args= 17185 17186if $ac_cs_silent; then 17187 exec 6>/dev/null 17188 ac_configure_extra_args="$ac_configure_extra_args --silent" 17189fi 17190 17191_ACEOF 17192cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17193if \$ac_cs_recheck; then 17194 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17195 shift 17196 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 17197 CONFIG_SHELL='$SHELL' 17198 export CONFIG_SHELL 17199 exec "\$@" 17200fi 17201 17202_ACEOF 17203cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17204exec 5>>config.log 17205{ 17206 echo 17207 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 17208## Running $as_me. ## 17209_ASBOX 17210 $as_echo "$ac_log" 17211} >&5 17212 17213_ACEOF 17214cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17215# 17216# INIT-COMMANDS 17217# 17218AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 17219 17220 17221# The HP-UX ksh and POSIX shell print the target directory to stdout 17222# if CDPATH is set. 17223(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17224 17225sed_quote_subst='$sed_quote_subst' 17226double_quote_subst='$double_quote_subst' 17227delay_variable_subst='$delay_variable_subst' 17228macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 17229macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 17230enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 17231enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 17232pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 17233enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 17234shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 17235SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 17236ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 17237PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 17238host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 17239host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 17240host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 17241build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 17242build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 17243build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 17244SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 17245Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 17246GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 17247EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 17248FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 17249LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 17250NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 17251LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 17252max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 17253ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 17254exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 17255lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 17256lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 17257lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 17258lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 17259lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 17260reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 17261reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 17262OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 17263deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 17264file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 17265file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 17266want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 17267DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 17268sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 17269AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 17270AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 17271archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 17272STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 17273RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 17274old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17275old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17276old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 17277lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 17278CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 17279CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 17280compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 17281GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 17282lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 17283lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 17284lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 17285lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 17286lt_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"`' 17287lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 17288nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 17289lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 17290lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 17291objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 17292MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 17293lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 17294lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 17295lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 17296lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 17297lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 17298need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 17299MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 17300DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 17301NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 17302LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 17303OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 17304OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 17305libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 17306shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 17307extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17308archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 17309enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 17310export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 17311whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 17312compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 17313old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 17314old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17315archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 17316archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17317module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 17318module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17319with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 17320allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 17321no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 17322hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 17323hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 17324hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 17325hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 17326hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 17327hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 17328hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 17329inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 17330link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 17331always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 17332export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 17333exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 17334include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 17335prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 17336postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 17337file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 17338variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 17339need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 17340need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 17341version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 17342runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 17343shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 17344shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 17345libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 17346library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 17347soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 17348install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 17349postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17350postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17351finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 17352finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 17353hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 17354sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 17355configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 17356configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 17357hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 17358enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 17359enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 17360enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 17361old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 17362striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 17363 17364LTCC='$LTCC' 17365LTCFLAGS='$LTCFLAGS' 17366compiler='$compiler_DEFAULT' 17367 17368# A function that is used when there is no print builtin or printf. 17369func_fallback_echo () 17370{ 17371 eval 'cat <<_LTECHO_EOF 17372\$1 17373_LTECHO_EOF' 17374} 17375 17376# Quote evaled strings. 17377for var in SHELL \ 17378ECHO \ 17379PATH_SEPARATOR \ 17380SED \ 17381GREP \ 17382EGREP \ 17383FGREP \ 17384LD \ 17385NM \ 17386LN_S \ 17387lt_SP2NL \ 17388lt_NL2SP \ 17389reload_flag \ 17390OBJDUMP \ 17391deplibs_check_method \ 17392file_magic_cmd \ 17393file_magic_glob \ 17394want_nocaseglob \ 17395DLLTOOL \ 17396sharedlib_from_linklib_cmd \ 17397AR \ 17398AR_FLAGS \ 17399archiver_list_spec \ 17400STRIP \ 17401RANLIB \ 17402CC \ 17403CFLAGS \ 17404compiler \ 17405lt_cv_sys_global_symbol_pipe \ 17406lt_cv_sys_global_symbol_to_cdecl \ 17407lt_cv_sys_global_symbol_to_import \ 17408lt_cv_sys_global_symbol_to_c_name_address \ 17409lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 17410lt_cv_nm_interface \ 17411nm_file_list_spec \ 17412lt_cv_truncate_bin \ 17413lt_prog_compiler_no_builtin_flag \ 17414lt_prog_compiler_pic \ 17415lt_prog_compiler_wl \ 17416lt_prog_compiler_static \ 17417lt_cv_prog_compiler_c_o \ 17418need_locks \ 17419MANIFEST_TOOL \ 17420DSYMUTIL \ 17421NMEDIT \ 17422LIPO \ 17423OTOOL \ 17424OTOOL64 \ 17425shrext_cmds \ 17426export_dynamic_flag_spec \ 17427whole_archive_flag_spec \ 17428compiler_needs_object \ 17429with_gnu_ld \ 17430allow_undefined_flag \ 17431no_undefined_flag \ 17432hardcode_libdir_flag_spec \ 17433hardcode_libdir_separator \ 17434exclude_expsyms \ 17435include_expsyms \ 17436file_list_spec \ 17437variables_saved_for_relink \ 17438libname_spec \ 17439library_names_spec \ 17440soname_spec \ 17441install_override_mode \ 17442finish_eval \ 17443old_striplib \ 17444striplib; do 17445 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17446 *[\\\\\\\`\\"\\\$]*) 17447 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 17448 ;; 17449 *) 17450 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17451 ;; 17452 esac 17453done 17454 17455# Double-quote double-evaled strings. 17456for var in reload_cmds \ 17457old_postinstall_cmds \ 17458old_postuninstall_cmds \ 17459old_archive_cmds \ 17460extract_expsyms_cmds \ 17461old_archive_from_new_cmds \ 17462old_archive_from_expsyms_cmds \ 17463archive_cmds \ 17464archive_expsym_cmds \ 17465module_cmds \ 17466module_expsym_cmds \ 17467export_symbols_cmds \ 17468prelink_cmds \ 17469postlink_cmds \ 17470postinstall_cmds \ 17471postuninstall_cmds \ 17472finish_cmds \ 17473sys_lib_search_path_spec \ 17474configure_time_dlsearch_path \ 17475configure_time_lt_sys_library_path; do 17476 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17477 *[\\\\\\\`\\"\\\$]*) 17478 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 17479 ;; 17480 *) 17481 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17482 ;; 17483 esac 17484done 17485 17486ac_aux_dir='$ac_aux_dir' 17487 17488# See if we are running on zsh, and set the options that allow our 17489# commands through without removal of \ escapes INIT. 17490if test -n "\${ZSH_VERSION+set}"; then 17491 setopt NO_GLOB_SUBST 17492fi 17493 17494 17495 PACKAGE='$PACKAGE' 17496 VERSION='$VERSION' 17497 RM='$RM' 17498 ofile='$ofile' 17499 17500 17501 17502# Capture the value of obsolete ALL_LINGUAS because we need it to compute 17503 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. 17504 OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS" 17505 # Capture the value of LINGUAS because we need it to compute CATALOGS. 17506 LINGUAS="${LINGUAS-%UNSET%}" 17507 17508 17509_ACEOF 17510 17511cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17512 17513# Handling of arguments. 17514for ac_config_target in $ac_config_targets 17515do 17516 case $ac_config_target in 17517 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 17518 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 17519 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 17520 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 17521 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 17522 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 17523 "data/org.freedesktop.mate.Notifications.service") CONFIG_FILES="$CONFIG_FILES data/org.freedesktop.mate.Notifications.service" ;; 17524 "data/org.mate.applets.MateNotificationApplet.desktop.in") CONFIG_FILES="$CONFIG_FILES data/org.mate.applets.MateNotificationApplet.desktop.in" ;; 17525 "data/org.mate.NotificationDaemon.gschema.xml") CONFIG_FILES="$CONFIG_FILES data/org.mate.NotificationDaemon.gschema.xml" ;; 17526 "data/org.mate.panel.applet.MateNotificationAppletFactory.service") CONFIG_FILES="$CONFIG_FILES data/org.mate.panel.applet.MateNotificationAppletFactory.service" ;; 17527 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 17528 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 17529 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;; 17530 "src/capplet/Makefile") CONFIG_FILES="$CONFIG_FILES src/capplet/Makefile" ;; 17531 "src/themes/Makefile") CONFIG_FILES="$CONFIG_FILES src/themes/Makefile" ;; 17532 "src/themes/coco/Makefile") CONFIG_FILES="$CONFIG_FILES src/themes/coco/Makefile" ;; 17533 "src/themes/nodoka/Makefile") CONFIG_FILES="$CONFIG_FILES src/themes/nodoka/Makefile" ;; 17534 "src/themes/slider/Makefile") CONFIG_FILES="$CONFIG_FILES src/themes/slider/Makefile" ;; 17535 "src/themes/standard/Makefile") CONFIG_FILES="$CONFIG_FILES src/themes/standard/Makefile" ;; 17536 17537 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17538 esac 17539done 17540 17541 17542# If the user did not use the arguments to specify the items to instantiate, 17543# then the envvar interface is used. Set only those that are not. 17544# We use the long form for the default assignment because of an extremely 17545# bizarre bug on SunOS 4.1.3. 17546if $ac_need_defaults; then 17547 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 17548 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 17549 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 17550fi 17551 17552# Have a temporary directory for convenience. Make it in the build tree 17553# simply because there is no reason against having it here, and in addition, 17554# creating and moving files from /tmp can sometimes cause problems. 17555# Hook for its removal unless debugging. 17556# Note that there is a small window in which the directory will not be cleaned: 17557# after its creation but before its name has been assigned to `$tmp'. 17558$debug || 17559{ 17560 tmp= ac_tmp= 17561 trap 'exit_status=$? 17562 : "${ac_tmp:=$tmp}" 17563 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17564' 0 17565 trap 'as_fn_exit 1' 1 2 13 15 17566} 17567# Create a (secure) tmp directory for tmp files. 17568 17569{ 17570 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17571 test -d "$tmp" 17572} || 17573{ 17574 tmp=./conf$$-$RANDOM 17575 (umask 077 && mkdir "$tmp") 17576} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 17577ac_tmp=$tmp 17578 17579# Set up the scripts for CONFIG_FILES section. 17580# No need to generate them if there are no CONFIG_FILES. 17581# This happens for instance with `./config.status config.h'. 17582if test -n "$CONFIG_FILES"; then 17583 17584 17585ac_cr=`echo X | tr X '\015'` 17586# On cygwin, bash can eat \r inside `` if the user requested igncr. 17587# But we know of no other shell where ac_cr would be empty at this 17588# point, so we can use a bashism as a fallback. 17589if test "x$ac_cr" = x; then 17590 eval ac_cr=\$\'\\r\' 17591fi 17592ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 17593if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 17594 ac_cs_awk_cr='\\r' 17595else 17596 ac_cs_awk_cr=$ac_cr 17597fi 17598 17599echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 17600_ACEOF 17601 17602 17603{ 17604 echo "cat >conf$$subs.awk <<_ACEOF" && 17605 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 17606 echo "_ACEOF" 17607} >conf$$subs.sh || 17608 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17609ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17610ac_delim='%!_!# ' 17611for ac_last_try in false false false false false :; do 17612 . ./conf$$subs.sh || 17613 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17614 17615 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 17616 if test $ac_delim_n = $ac_delim_num; then 17617 break 17618 elif $ac_last_try; then 17619 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17620 else 17621 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17622 fi 17623done 17624rm -f conf$$subs.sh 17625 17626cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17627cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 17628_ACEOF 17629sed -n ' 17630h 17631s/^/S["/; s/!.*/"]=/ 17632p 17633g 17634s/^[^!]*!// 17635:repl 17636t repl 17637s/'"$ac_delim"'$// 17638t delim 17639:nl 17640h 17641s/\(.\{148\}\)..*/\1/ 17642t more1 17643s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 17644p 17645n 17646b repl 17647:more1 17648s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17649p 17650g 17651s/.\{148\}// 17652t nl 17653:delim 17654h 17655s/\(.\{148\}\)..*/\1/ 17656t more2 17657s/["\\]/\\&/g; s/^/"/; s/$/"/ 17658p 17659b 17660:more2 17661s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17662p 17663g 17664s/.\{148\}// 17665t delim 17666' <conf$$subs.awk | sed ' 17667/^[^""]/{ 17668 N 17669 s/\n// 17670} 17671' >>$CONFIG_STATUS || ac_write_fail=1 17672rm -f conf$$subs.awk 17673cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17674_ACAWK 17675cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 17676 for (key in S) S_is_set[key] = 1 17677 FS = "" 17678 17679} 17680{ 17681 line = $ 0 17682 nfields = split(line, field, "@") 17683 substed = 0 17684 len = length(field[1]) 17685 for (i = 2; i < nfields; i++) { 17686 key = field[i] 17687 keylen = length(key) 17688 if (S_is_set[key]) { 17689 value = S[key] 17690 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 17691 len += length(value) + length(field[++i]) 17692 substed = 1 17693 } else 17694 len += 1 + keylen 17695 } 17696 17697 print line 17698} 17699 17700_ACAWK 17701_ACEOF 17702cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17703if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 17704 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 17705else 17706 cat 17707fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 17708 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 17709_ACEOF 17710 17711# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 17712# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17713# trailing colons and then remove the whole line if VPATH becomes empty 17714# (actually we leave an empty line to preserve line numbers). 17715if test "x$srcdir" = x.; then 17716 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 17717h 17718s/// 17719s/^/:/ 17720s/[ ]*$/:/ 17721s/:\$(srcdir):/:/g 17722s/:\${srcdir}:/:/g 17723s/:@srcdir@:/:/g 17724s/^:*// 17725s/:*$// 17726x 17727s/\(=[ ]*\).*/\1/ 17728G 17729s/\n// 17730s/^[^=]*=[ ]*$// 17731}' 17732fi 17733 17734cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17735fi # test -n "$CONFIG_FILES" 17736 17737# Set up the scripts for CONFIG_HEADERS section. 17738# No need to generate them if there are no CONFIG_HEADERS. 17739# This happens for instance with `./config.status Makefile'. 17740if test -n "$CONFIG_HEADERS"; then 17741cat >"$ac_tmp/defines.awk" <<\_ACAWK || 17742BEGIN { 17743_ACEOF 17744 17745# Transform confdefs.h into an awk script `defines.awk', embedded as 17746# here-document in config.status, that substitutes the proper values into 17747# config.h.in to produce config.h. 17748 17749# Create a delimiter string that does not exist in confdefs.h, to ease 17750# handling of long lines. 17751ac_delim='%!_!# ' 17752for ac_last_try in false false :; do 17753 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 17754 if test -z "$ac_tt"; then 17755 break 17756 elif $ac_last_try; then 17757 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17758 else 17759 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17760 fi 17761done 17762 17763# For the awk script, D is an array of macro values keyed by name, 17764# likewise P contains macro parameters if any. Preserve backslash 17765# newline sequences. 17766 17767ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 17768sed -n ' 17769s/.\{148\}/&'"$ac_delim"'/g 17770t rset 17771:rset 17772s/^[ ]*#[ ]*define[ ][ ]*/ / 17773t def 17774d 17775:def 17776s/\\$// 17777t bsnl 17778s/["\\]/\\&/g 17779s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17780D["\1"]=" \3"/p 17781s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 17782d 17783:bsnl 17784s/["\\]/\\&/g 17785s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17786D["\1"]=" \3\\\\\\n"\\/p 17787t cont 17788s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 17789t cont 17790d 17791:cont 17792n 17793s/.\{148\}/&'"$ac_delim"'/g 17794t clear 17795:clear 17796s/\\$// 17797t bsnlc 17798s/["\\]/\\&/g; s/^/"/; s/$/"/p 17799d 17800:bsnlc 17801s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 17802b cont 17803' <confdefs.h | sed ' 17804s/'"$ac_delim"'/"\\\ 17805"/g' >>$CONFIG_STATUS || ac_write_fail=1 17806 17807cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17808 for (key in D) D_is_set[key] = 1 17809 FS = "" 17810} 17811/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 17812 line = \$ 0 17813 split(line, arg, " ") 17814 if (arg[1] == "#") { 17815 defundef = arg[2] 17816 mac1 = arg[3] 17817 } else { 17818 defundef = substr(arg[1], 2) 17819 mac1 = arg[2] 17820 } 17821 split(mac1, mac2, "(") #) 17822 macro = mac2[1] 17823 prefix = substr(line, 1, index(line, defundef) - 1) 17824 if (D_is_set[macro]) { 17825 # Preserve the white space surrounding the "#". 17826 print prefix "define", macro P[macro] D[macro] 17827 next 17828 } else { 17829 # Replace #undef with comments. This is necessary, for example, 17830 # in the case of _POSIX_SOURCE, which is predefined and required 17831 # on some systems where configure will not decide to define it. 17832 if (defundef == "undef") { 17833 print "/*", prefix defundef, macro, "*/" 17834 next 17835 } 17836 } 17837} 17838{ print } 17839_ACAWK 17840_ACEOF 17841cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17842 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 17843fi # test -n "$CONFIG_HEADERS" 17844 17845 17846eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 17847shift 17848for ac_tag 17849do 17850 case $ac_tag in 17851 :[FHLC]) ac_mode=$ac_tag; continue;; 17852 esac 17853 case $ac_mode$ac_tag in 17854 :[FHL]*:*);; 17855 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17856 :[FH]-) ac_tag=-:-;; 17857 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 17858 esac 17859 ac_save_IFS=$IFS 17860 IFS=: 17861 set x $ac_tag 17862 IFS=$ac_save_IFS 17863 shift 17864 ac_file=$1 17865 shift 17866 17867 case $ac_mode in 17868 :L) ac_source=$1;; 17869 :[FH]) 17870 ac_file_inputs= 17871 for ac_f 17872 do 17873 case $ac_f in 17874 -) ac_f="$ac_tmp/stdin";; 17875 *) # Look for the file first in the build tree, then in the source tree 17876 # (if the path is not absolute). The absolute path cannot be DOS-style, 17877 # because $ac_f cannot contain `:'. 17878 test -f "$ac_f" || 17879 case $ac_f in 17880 [\\/$]*) false;; 17881 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17882 esac || 17883 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17884 esac 17885 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 17886 as_fn_append ac_file_inputs " '$ac_f'" 17887 done 17888 17889 # Let's still pretend it is `configure' which instantiates (i.e., don't 17890 # use $as_me), people would be surprised to read: 17891 # /* config.h. Generated by config.status. */ 17892 configure_input='Generated from '` 17893 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 17894 `' by configure.' 17895 if test x"$ac_file" != x-; then 17896 configure_input="$ac_file. $configure_input" 17897 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 17898$as_echo "$as_me: creating $ac_file" >&6;} 17899 fi 17900 # Neutralize special characters interpreted by sed in replacement strings. 17901 case $configure_input in #( 17902 *\&* | *\|* | *\\* ) 17903 ac_sed_conf_input=`$as_echo "$configure_input" | 17904 sed 's/[\\\\&|]/\\\\&/g'`;; #( 17905 *) ac_sed_conf_input=$configure_input;; 17906 esac 17907 17908 case $ac_tag in 17909 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 17910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17911 esac 17912 ;; 17913 esac 17914 17915 ac_dir=`$as_dirname -- "$ac_file" || 17916$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17917 X"$ac_file" : 'X\(//\)[^/]' \| \ 17918 X"$ac_file" : 'X\(//\)$' \| \ 17919 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17920$as_echo X"$ac_file" | 17921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17922 s//\1/ 17923 q 17924 } 17925 /^X\(\/\/\)[^/].*/{ 17926 s//\1/ 17927 q 17928 } 17929 /^X\(\/\/\)$/{ 17930 s//\1/ 17931 q 17932 } 17933 /^X\(\/\).*/{ 17934 s//\1/ 17935 q 17936 } 17937 s/.*/./; q'` 17938 as_dir="$ac_dir"; as_fn_mkdir_p 17939 ac_builddir=. 17940 17941case "$ac_dir" in 17942.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17943*) 17944 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17945 # A ".." for each directory in $ac_dir_suffix. 17946 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17947 case $ac_top_builddir_sub in 17948 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 17949 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 17950 esac ;; 17951esac 17952ac_abs_top_builddir=$ac_pwd 17953ac_abs_builddir=$ac_pwd$ac_dir_suffix 17954# for backward compatibility: 17955ac_top_builddir=$ac_top_build_prefix 17956 17957case $srcdir in 17958 .) # We are building in place. 17959 ac_srcdir=. 17960 ac_top_srcdir=$ac_top_builddir_sub 17961 ac_abs_top_srcdir=$ac_pwd ;; 17962 [\\/]* | ?:[\\/]* ) # Absolute name. 17963 ac_srcdir=$srcdir$ac_dir_suffix; 17964 ac_top_srcdir=$srcdir 17965 ac_abs_top_srcdir=$srcdir ;; 17966 *) # Relative name. 17967 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 17968 ac_top_srcdir=$ac_top_build_prefix$srcdir 17969 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 17970esac 17971ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 17972 17973 17974 case $ac_mode in 17975 :F) 17976 # 17977 # CONFIG_FILE 17978 # 17979 17980 case $INSTALL in 17981 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 17982 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 17983 esac 17984 ac_MKDIR_P=$MKDIR_P 17985 case $MKDIR_P in 17986 [\\/$]* | ?:[\\/]* ) ;; 17987 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 17988 esac 17989_ACEOF 17990 17991cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17992# If the template does not know about datarootdir, expand it. 17993# FIXME: This hack should be removed a few years after 2.60. 17994ac_datarootdir_hack=; ac_datarootdir_seen= 17995ac_sed_dataroot=' 17996/datarootdir/ { 17997 p 17998 q 17999} 18000/@datadir@/p 18001/@docdir@/p 18002/@infodir@/p 18003/@localedir@/p 18004/@mandir@/p' 18005case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 18006*datarootdir*) ac_datarootdir_seen=yes;; 18007*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 18008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 18009$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 18010_ACEOF 18011cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18012 ac_datarootdir_hack=' 18013 s&@datadir@&$datadir&g 18014 s&@docdir@&$docdir&g 18015 s&@infodir@&$infodir&g 18016 s&@localedir@&$localedir&g 18017 s&@mandir@&$mandir&g 18018 s&\\\${datarootdir}&$datarootdir&g' ;; 18019esac 18020_ACEOF 18021 18022# Neutralize VPATH when `$srcdir' = `.'. 18023# Shell code in configure.ac might set extrasub. 18024# FIXME: do we really want to maintain this feature? 18025cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18026ac_sed_extra="$ac_vpsub 18027$extrasub 18028_ACEOF 18029cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18030:t 18031/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18032s|@configure_input@|$ac_sed_conf_input|;t t 18033s&@top_builddir@&$ac_top_builddir_sub&;t t 18034s&@top_build_prefix@&$ac_top_build_prefix&;t t 18035s&@srcdir@&$ac_srcdir&;t t 18036s&@abs_srcdir@&$ac_abs_srcdir&;t t 18037s&@top_srcdir@&$ac_top_srcdir&;t t 18038s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 18039s&@builddir@&$ac_builddir&;t t 18040s&@abs_builddir@&$ac_abs_builddir&;t t 18041s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 18042s&@INSTALL@&$ac_INSTALL&;t t 18043s&@MKDIR_P@&$ac_MKDIR_P&;t t 18044$ac_datarootdir_hack 18045" 18046eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 18047 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18048 18049test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18050 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 18051 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 18052 "$ac_tmp/out"`; test -z "$ac_out"; } && 18053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18054which seems to be undefined. Please make sure it is defined" >&5 18055$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18056which seems to be undefined. Please make sure it is defined" >&2;} 18057 18058 rm -f "$ac_tmp/stdin" 18059 case $ac_file in 18060 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 18061 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 18062 esac \ 18063 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18064 ;; 18065 :H) 18066 # 18067 # CONFIG_HEADER 18068 # 18069 if test x"$ac_file" != x-; then 18070 { 18071 $as_echo "/* $configure_input */" \ 18072 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 18073 } >"$ac_tmp/config.h" \ 18074 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18075 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 18076 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18077$as_echo "$as_me: $ac_file is unchanged" >&6;} 18078 else 18079 rm -f "$ac_file" 18080 mv "$ac_tmp/config.h" "$ac_file" \ 18081 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18082 fi 18083 else 18084 $as_echo "/* $configure_input */" \ 18085 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 18086 || as_fn_error $? "could not create -" "$LINENO" 5 18087 fi 18088# Compute "$ac_file"'s index in $config_headers. 18089_am_arg="$ac_file" 18090_am_stamp_count=1 18091for _am_header in $config_headers :; do 18092 case $_am_header in 18093 $_am_arg | $_am_arg:* ) 18094 break ;; 18095 * ) 18096 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 18097 esac 18098done 18099echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 18100$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18101 X"$_am_arg" : 'X\(//\)[^/]' \| \ 18102 X"$_am_arg" : 'X\(//\)$' \| \ 18103 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 18104$as_echo X"$_am_arg" | 18105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18106 s//\1/ 18107 q 18108 } 18109 /^X\(\/\/\)[^/].*/{ 18110 s//\1/ 18111 q 18112 } 18113 /^X\(\/\/\)$/{ 18114 s//\1/ 18115 q 18116 } 18117 /^X\(\/\).*/{ 18118 s//\1/ 18119 q 18120 } 18121 s/.*/./; q'`/stamp-h$_am_stamp_count 18122 ;; 18123 18124 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 18125$as_echo "$as_me: executing $ac_file commands" >&6;} 18126 ;; 18127 esac 18128 18129 18130 case $ac_file$ac_mode in 18131 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 18132 # Older Autoconf quotes --file arguments for eval, but not when files 18133 # are listed without --file. Let's play safe and only enable the eval 18134 # if we detect the quoting. 18135 # TODO: see whether this extra hack can be removed once we start 18136 # requiring Autoconf 2.70 or later. 18137 case $CONFIG_FILES in #( 18138 *\'*) : 18139 eval set x "$CONFIG_FILES" ;; #( 18140 *) : 18141 set x $CONFIG_FILES ;; #( 18142 *) : 18143 ;; 18144esac 18145 shift 18146 # Used to flag and report bootstrapping failures. 18147 am_rc=0 18148 for am_mf 18149 do 18150 # Strip MF so we end up with the name of the file. 18151 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 18152 # Check whether this is an Automake generated Makefile which includes 18153 # dependency-tracking related rules and includes. 18154 # Grep'ing the whole file directly is not great: AIX grep has a line 18155 # limit of 2048, but all sed's we know have understand at least 4000. 18156 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 18157 || continue 18158 am_dirpart=`$as_dirname -- "$am_mf" || 18159$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18160 X"$am_mf" : 'X\(//\)[^/]' \| \ 18161 X"$am_mf" : 'X\(//\)$' \| \ 18162 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 18163$as_echo X"$am_mf" | 18164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18165 s//\1/ 18166 q 18167 } 18168 /^X\(\/\/\)[^/].*/{ 18169 s//\1/ 18170 q 18171 } 18172 /^X\(\/\/\)$/{ 18173 s//\1/ 18174 q 18175 } 18176 /^X\(\/\).*/{ 18177 s//\1/ 18178 q 18179 } 18180 s/.*/./; q'` 18181 am_filepart=`$as_basename -- "$am_mf" || 18182$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 18183 X"$am_mf" : 'X\(//\)$' \| \ 18184 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 18185$as_echo X/"$am_mf" | 18186 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18187 s//\1/ 18188 q 18189 } 18190 /^X\/\(\/\/\)$/{ 18191 s//\1/ 18192 q 18193 } 18194 /^X\/\(\/\).*/{ 18195 s//\1/ 18196 q 18197 } 18198 s/.*/./; q'` 18199 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 18200 && sed -e '/# am--include-marker/d' "$am_filepart" \ 18201 | $MAKE -f - am--depfiles" >&5 18202 (cd "$am_dirpart" \ 18203 && sed -e '/# am--include-marker/d' "$am_filepart" \ 18204 | $MAKE -f - am--depfiles) >&5 2>&5 18205 ac_status=$? 18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18207 (exit $ac_status); } || am_rc=$? 18208 done 18209 if test $am_rc -ne 0; then 18210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18211$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18212as_fn_error $? "Something went wrong bootstrapping makefile fragments 18213 for automatic dependency tracking. If GNU make was not used, consider 18214 re-running the configure script with MAKE=\"gmake\" (or whatever is 18215 necessary). You can also try re-running configure with the 18216 '--disable-dependency-tracking' option to at least be able to build 18217 the package (albeit without support for automatic dependency tracking). 18218See \`config.log' for more details" "$LINENO" 5; } 18219 fi 18220 { am_dirpart=; unset am_dirpart;} 18221 { am_filepart=; unset am_filepart;} 18222 { am_mf=; unset am_mf;} 18223 { am_rc=; unset am_rc;} 18224 rm -f conftest-deps.mk 18225} 18226 ;; 18227 "libtool":C) 18228 18229 # See if we are running on zsh, and set the options that allow our 18230 # commands through without removal of \ escapes. 18231 if test -n "${ZSH_VERSION+set}"; then 18232 setopt NO_GLOB_SUBST 18233 fi 18234 18235 cfgfile=${ofile}T 18236 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 18237 $RM "$cfgfile" 18238 18239 cat <<_LT_EOF >> "$cfgfile" 18240#! $SHELL 18241# Generated automatically by $as_me ($PACKAGE) $VERSION 18242# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 18243# NOTE: Changes made to this file will be lost: look at ltmain.sh. 18244 18245# Provide generalized library-building support services. 18246# Written by Gordon Matzigkeit, 1996 18247 18248# Copyright (C) 2014 Free Software Foundation, Inc. 18249# This is free software; see the source for copying conditions. There is NO 18250# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 18251 18252# GNU Libtool is free software; you can redistribute it and/or modify 18253# it under the terms of the GNU General Public License as published by 18254# the Free Software Foundation; either version 2 of of the License, or 18255# (at your option) any later version. 18256# 18257# As a special exception to the GNU General Public License, if you 18258# distribute this file as part of a program or library that is built 18259# using GNU Libtool, you may include this file under the same 18260# distribution terms that you use for the rest of that program. 18261# 18262# GNU Libtool is distributed in the hope that it will be useful, but 18263# WITHOUT ANY WARRANTY; without even the implied warranty of 18264# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18265# GNU General Public License for more details. 18266# 18267# You should have received a copy of the GNU General Public License 18268# along with this program. If not, see <http://www.gnu.org/licenses/>. 18269 18270 18271# The names of the tagged configurations supported by this script. 18272available_tags='' 18273 18274# Configured defaults for sys_lib_dlsearch_path munging. 18275: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 18276 18277# ### BEGIN LIBTOOL CONFIG 18278 18279# Which release of libtool.m4 was used? 18280macro_version=$macro_version 18281macro_revision=$macro_revision 18282 18283# Whether or not to build shared libraries. 18284build_libtool_libs=$enable_shared 18285 18286# Whether or not to build static libraries. 18287build_old_libs=$enable_static 18288 18289# What type of objects to build. 18290pic_mode=$pic_mode 18291 18292# Whether or not to optimize for fast installation. 18293fast_install=$enable_fast_install 18294 18295# Shared archive member basename,for filename based shared library versioning on AIX. 18296shared_archive_member_spec=$shared_archive_member_spec 18297 18298# Shell to use when invoking shell scripts. 18299SHELL=$lt_SHELL 18300 18301# An echo program that protects backslashes. 18302ECHO=$lt_ECHO 18303 18304# The PATH separator for the build system. 18305PATH_SEPARATOR=$lt_PATH_SEPARATOR 18306 18307# The host system. 18308host_alias=$host_alias 18309host=$host 18310host_os=$host_os 18311 18312# The build system. 18313build_alias=$build_alias 18314build=$build 18315build_os=$build_os 18316 18317# A sed program that does not truncate output. 18318SED=$lt_SED 18319 18320# Sed that helps us avoid accidentally triggering echo(1) options like -n. 18321Xsed="\$SED -e 1s/^X//" 18322 18323# A grep program that handles long lines. 18324GREP=$lt_GREP 18325 18326# An ERE matcher. 18327EGREP=$lt_EGREP 18328 18329# A literal string matcher. 18330FGREP=$lt_FGREP 18331 18332# A BSD- or MS-compatible name lister. 18333NM=$lt_NM 18334 18335# Whether we need soft or hard links. 18336LN_S=$lt_LN_S 18337 18338# What is the maximum length of a command? 18339max_cmd_len=$max_cmd_len 18340 18341# Object file suffix (normally "o"). 18342objext=$ac_objext 18343 18344# Executable file suffix (normally ""). 18345exeext=$exeext 18346 18347# whether the shell understands "unset". 18348lt_unset=$lt_unset 18349 18350# turn spaces into newlines. 18351SP2NL=$lt_lt_SP2NL 18352 18353# turn newlines into spaces. 18354NL2SP=$lt_lt_NL2SP 18355 18356# convert \$build file names to \$host format. 18357to_host_file_cmd=$lt_cv_to_host_file_cmd 18358 18359# convert \$build files to toolchain format. 18360to_tool_file_cmd=$lt_cv_to_tool_file_cmd 18361 18362# An object symbol dumper. 18363OBJDUMP=$lt_OBJDUMP 18364 18365# Method to check whether dependent libraries are shared objects. 18366deplibs_check_method=$lt_deplibs_check_method 18367 18368# Command to use when deplibs_check_method = "file_magic". 18369file_magic_cmd=$lt_file_magic_cmd 18370 18371# How to find potential files when deplibs_check_method = "file_magic". 18372file_magic_glob=$lt_file_magic_glob 18373 18374# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 18375want_nocaseglob=$lt_want_nocaseglob 18376 18377# DLL creation program. 18378DLLTOOL=$lt_DLLTOOL 18379 18380# Command to associate shared and link libraries. 18381sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 18382 18383# The archiver. 18384AR=$lt_AR 18385 18386# Flags to create an archive. 18387AR_FLAGS=$lt_AR_FLAGS 18388 18389# How to feed a file listing to the archiver. 18390archiver_list_spec=$lt_archiver_list_spec 18391 18392# A symbol stripping program. 18393STRIP=$lt_STRIP 18394 18395# Commands used to install an old-style archive. 18396RANLIB=$lt_RANLIB 18397old_postinstall_cmds=$lt_old_postinstall_cmds 18398old_postuninstall_cmds=$lt_old_postuninstall_cmds 18399 18400# Whether to use a lock for old archive extraction. 18401lock_old_archive_extraction=$lock_old_archive_extraction 18402 18403# A C compiler. 18404LTCC=$lt_CC 18405 18406# LTCC compiler flags. 18407LTCFLAGS=$lt_CFLAGS 18408 18409# Take the output of nm and produce a listing of raw symbols and C names. 18410global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 18411 18412# Transform the output of nm in a proper C declaration. 18413global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 18414 18415# Transform the output of nm into a list of symbols to manually relocate. 18416global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 18417 18418# Transform the output of nm in a C name address pair. 18419global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 18420 18421# Transform the output of nm in a C name address pair when lib prefix is needed. 18422global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 18423 18424# The name lister interface. 18425nm_interface=$lt_lt_cv_nm_interface 18426 18427# Specify filename containing input files for \$NM. 18428nm_file_list_spec=$lt_nm_file_list_spec 18429 18430# The root where to search for dependent libraries,and where our libraries should be installed. 18431lt_sysroot=$lt_sysroot 18432 18433# Command to truncate a binary pipe. 18434lt_truncate_bin=$lt_lt_cv_truncate_bin 18435 18436# The name of the directory that contains temporary libtool files. 18437objdir=$objdir 18438 18439# Used to examine libraries when file_magic_cmd begins with "file". 18440MAGIC_CMD=$MAGIC_CMD 18441 18442# Must we lock files when doing compilation? 18443need_locks=$lt_need_locks 18444 18445# Manifest tool. 18446MANIFEST_TOOL=$lt_MANIFEST_TOOL 18447 18448# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 18449DSYMUTIL=$lt_DSYMUTIL 18450 18451# Tool to change global to local symbols on Mac OS X. 18452NMEDIT=$lt_NMEDIT 18453 18454# Tool to manipulate fat objects and archives on Mac OS X. 18455LIPO=$lt_LIPO 18456 18457# ldd/readelf like tool for Mach-O binaries on Mac OS X. 18458OTOOL=$lt_OTOOL 18459 18460# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 18461OTOOL64=$lt_OTOOL64 18462 18463# Old archive suffix (normally "a"). 18464libext=$libext 18465 18466# Shared library suffix (normally ".so"). 18467shrext_cmds=$lt_shrext_cmds 18468 18469# The commands to extract the exported symbol list from a shared archive. 18470extract_expsyms_cmds=$lt_extract_expsyms_cmds 18471 18472# Variables whose values should be saved in libtool wrapper scripts and 18473# restored at link time. 18474variables_saved_for_relink=$lt_variables_saved_for_relink 18475 18476# Do we need the "lib" prefix for modules? 18477need_lib_prefix=$need_lib_prefix 18478 18479# Do we need a version for libraries? 18480need_version=$need_version 18481 18482# Library versioning type. 18483version_type=$version_type 18484 18485# Shared library runtime path variable. 18486runpath_var=$runpath_var 18487 18488# Shared library path variable. 18489shlibpath_var=$shlibpath_var 18490 18491# Is shlibpath searched before the hard-coded library search path? 18492shlibpath_overrides_runpath=$shlibpath_overrides_runpath 18493 18494# Format of library name prefix. 18495libname_spec=$lt_libname_spec 18496 18497# List of archive names. First name is the real one, the rest are links. 18498# The last name is the one that the linker finds with -lNAME 18499library_names_spec=$lt_library_names_spec 18500 18501# The coded name of the library, if different from the real name. 18502soname_spec=$lt_soname_spec 18503 18504# Permission mode override for installation of shared libraries. 18505install_override_mode=$lt_install_override_mode 18506 18507# Command to use after installation of a shared archive. 18508postinstall_cmds=$lt_postinstall_cmds 18509 18510# Command to use after uninstallation of a shared archive. 18511postuninstall_cmds=$lt_postuninstall_cmds 18512 18513# Commands used to finish a libtool library installation in a directory. 18514finish_cmds=$lt_finish_cmds 18515 18516# As "finish_cmds", except a single script fragment to be evaled but 18517# not shown. 18518finish_eval=$lt_finish_eval 18519 18520# Whether we should hardcode library paths into libraries. 18521hardcode_into_libs=$hardcode_into_libs 18522 18523# Compile-time system search path for libraries. 18524sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 18525 18526# Detected run-time system search path for libraries. 18527sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 18528 18529# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 18530configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 18531 18532# Whether dlopen is supported. 18533dlopen_support=$enable_dlopen 18534 18535# Whether dlopen of programs is supported. 18536dlopen_self=$enable_dlopen_self 18537 18538# Whether dlopen of statically linked programs is supported. 18539dlopen_self_static=$enable_dlopen_self_static 18540 18541# Commands to strip libraries. 18542old_striplib=$lt_old_striplib 18543striplib=$lt_striplib 18544 18545 18546# The linker used to build libraries. 18547LD=$lt_LD 18548 18549# How to create reloadable object files. 18550reload_flag=$lt_reload_flag 18551reload_cmds=$lt_reload_cmds 18552 18553# Commands used to build an old-style archive. 18554old_archive_cmds=$lt_old_archive_cmds 18555 18556# A language specific compiler. 18557CC=$lt_compiler 18558 18559# Is the compiler the GNU compiler? 18560with_gcc=$GCC 18561 18562# Compiler flag to turn off builtin functions. 18563no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 18564 18565# Additional compiler flags for building library objects. 18566pic_flag=$lt_lt_prog_compiler_pic 18567 18568# How to pass a linker flag through the compiler. 18569wl=$lt_lt_prog_compiler_wl 18570 18571# Compiler flag to prevent dynamic linking. 18572link_static_flag=$lt_lt_prog_compiler_static 18573 18574# Does compiler simultaneously support -c and -o options? 18575compiler_c_o=$lt_lt_cv_prog_compiler_c_o 18576 18577# Whether or not to add -lc for building shared libraries. 18578build_libtool_need_lc=$archive_cmds_need_lc 18579 18580# Whether or not to disallow shared libs when runtime libs are static. 18581allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 18582 18583# Compiler flag to allow reflexive dlopens. 18584export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 18585 18586# Compiler flag to generate shared objects directly from archives. 18587whole_archive_flag_spec=$lt_whole_archive_flag_spec 18588 18589# Whether the compiler copes with passing no objects directly. 18590compiler_needs_object=$lt_compiler_needs_object 18591 18592# Create an old-style archive from a shared archive. 18593old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 18594 18595# Create a temporary old-style archive to link instead of a shared archive. 18596old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 18597 18598# Commands used to build a shared archive. 18599archive_cmds=$lt_archive_cmds 18600archive_expsym_cmds=$lt_archive_expsym_cmds 18601 18602# Commands used to build a loadable module if different from building 18603# a shared archive. 18604module_cmds=$lt_module_cmds 18605module_expsym_cmds=$lt_module_expsym_cmds 18606 18607# Whether we are building with GNU ld or not. 18608with_gnu_ld=$lt_with_gnu_ld 18609 18610# Flag that allows shared libraries with undefined symbols to be built. 18611allow_undefined_flag=$lt_allow_undefined_flag 18612 18613# Flag that enforces no undefined symbols. 18614no_undefined_flag=$lt_no_undefined_flag 18615 18616# Flag to hardcode \$libdir into a binary during linking. 18617# This must work even if \$libdir does not exist 18618hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 18619 18620# Whether we need a single "-rpath" flag with a separated argument. 18621hardcode_libdir_separator=$lt_hardcode_libdir_separator 18622 18623# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18624# DIR into the resulting binary. 18625hardcode_direct=$hardcode_direct 18626 18627# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18628# DIR into the resulting binary and the resulting library dependency is 18629# "absolute",i.e impossible to change by setting \$shlibpath_var if the 18630# library is relocated. 18631hardcode_direct_absolute=$hardcode_direct_absolute 18632 18633# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18634# into the resulting binary. 18635hardcode_minus_L=$hardcode_minus_L 18636 18637# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18638# into the resulting binary. 18639hardcode_shlibpath_var=$hardcode_shlibpath_var 18640 18641# Set to "yes" if building a shared library automatically hardcodes DIR 18642# into the library and all subsequent libraries and executables linked 18643# against it. 18644hardcode_automatic=$hardcode_automatic 18645 18646# Set to yes if linker adds runtime paths of dependent libraries 18647# to runtime path list. 18648inherit_rpath=$inherit_rpath 18649 18650# Whether libtool must link a program against all its dependency libraries. 18651link_all_deplibs=$link_all_deplibs 18652 18653# Set to "yes" if exported symbols are required. 18654always_export_symbols=$always_export_symbols 18655 18656# The commands to list exported symbols. 18657export_symbols_cmds=$lt_export_symbols_cmds 18658 18659# Symbols that should not be listed in the preloaded symbols. 18660exclude_expsyms=$lt_exclude_expsyms 18661 18662# Symbols that must always be exported. 18663include_expsyms=$lt_include_expsyms 18664 18665# Commands necessary for linking programs (against libraries) with templates. 18666prelink_cmds=$lt_prelink_cmds 18667 18668# Commands necessary for finishing linking programs. 18669postlink_cmds=$lt_postlink_cmds 18670 18671# Specify filename containing input files. 18672file_list_spec=$lt_file_list_spec 18673 18674# How to hardcode a shared library path into an executable. 18675hardcode_action=$hardcode_action 18676 18677# ### END LIBTOOL CONFIG 18678 18679_LT_EOF 18680 18681 cat <<'_LT_EOF' >> "$cfgfile" 18682 18683# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 18684 18685# func_munge_path_list VARIABLE PATH 18686# ----------------------------------- 18687# VARIABLE is name of variable containing _space_ separated list of 18688# directories to be munged by the contents of PATH, which is string 18689# having a format: 18690# "DIR[:DIR]:" 18691# string "DIR[ DIR]" will be prepended to VARIABLE 18692# ":DIR[:DIR]" 18693# string "DIR[ DIR]" will be appended to VARIABLE 18694# "DIRP[:DIRP]::[DIRA:]DIRA" 18695# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 18696# "DIRA[ DIRA]" will be appended to VARIABLE 18697# "DIR[:DIR]" 18698# VARIABLE will be replaced by "DIR[ DIR]" 18699func_munge_path_list () 18700{ 18701 case x$2 in 18702 x) 18703 ;; 18704 *:) 18705 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 18706 ;; 18707 x:*) 18708 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 18709 ;; 18710 *::*) 18711 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 18712 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 18713 ;; 18714 *) 18715 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 18716 ;; 18717 esac 18718} 18719 18720 18721# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 18722func_cc_basename () 18723{ 18724 for cc_temp in $*""; do 18725 case $cc_temp in 18726 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 18727 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 18728 \-*) ;; 18729 *) break;; 18730 esac 18731 done 18732 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 18733} 18734 18735 18736# ### END FUNCTIONS SHARED WITH CONFIGURE 18737 18738_LT_EOF 18739 18740 case $host_os in 18741 aix3*) 18742 cat <<\_LT_EOF >> "$cfgfile" 18743# AIX sometimes has problems with the GCC collect2 program. For some 18744# reason, if we set the COLLECT_NAMES environment variable, the problems 18745# vanish in a puff of smoke. 18746if test set != "${COLLECT_NAMES+set}"; then 18747 COLLECT_NAMES= 18748 export COLLECT_NAMES 18749fi 18750_LT_EOF 18751 ;; 18752 esac 18753 18754 18755ltmain=$ac_aux_dir/ltmain.sh 18756 18757 18758 # We use sed instead of cat because bash on DJGPP gets confused if 18759 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18760 # text mode, it properly converts lines to CR/LF. This bash problem 18761 # is reportedly fixed, but why not run on old versions too? 18762 sed '$q' "$ltmain" >> "$cfgfile" \ 18763 || (rm -f "$cfgfile"; exit 1) 18764 18765 mv -f "$cfgfile" "$ofile" || 18766 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 18767 chmod +x "$ofile" 18768 18769 ;; 18770 "po-directories":C) 18771 for ac_file in $CONFIG_FILES; do 18772 # Support "outfile[:infile[:infile...]]" 18773 case "$ac_file" in 18774 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 18775 esac 18776 # PO directories have a Makefile.in generated from Makefile.in.in. 18777 case "$ac_file" in */Makefile.in) 18778 # Adjust a relative srcdir. 18779 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 18780 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 18781 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 18782 # In autoconf-2.13 it is called $ac_given_srcdir. 18783 # In autoconf-2.50 it is called $srcdir. 18784 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 18785 case "$ac_given_srcdir" in 18786 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 18787 /*) top_srcdir="$ac_given_srcdir" ;; 18788 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 18789 esac 18790 # Treat a directory as a PO directory if and only if it has a 18791 # POTFILES.in file. This allows packages to have multiple PO 18792 # directories under different names or in different locations. 18793 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 18794 rm -f "$ac_dir/POTFILES" 18795 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 18796 gt_tab=`printf '\t'` 18797 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 18798 POMAKEFILEDEPS="POTFILES.in" 18799 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 18800 # on $ac_dir but don't depend on user-specified configuration 18801 # parameters. 18802 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 18803 # The LINGUAS file contains the set of available languages. 18804 if test -n "$OBSOLETE_ALL_LINGUAS"; then 18805 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 18806 fi 18807 ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 18808 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 18809 else 18810 # The set of available languages was given in configure.in. 18811 ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS 18812 fi 18813 # Compute POFILES 18814 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 18815 # Compute UPDATEPOFILES 18816 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 18817 # Compute DUMMYPOFILES 18818 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 18819 # Compute GMOFILES 18820 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 18821 case "$ac_given_srcdir" in 18822 .) srcdirpre= ;; 18823 *) srcdirpre='$(srcdir)/' ;; 18824 esac 18825 POFILES= 18826 UPDATEPOFILES= 18827 DUMMYPOFILES= 18828 GMOFILES= 18829 for lang in $ALL_LINGUAS; do 18830 POFILES="$POFILES $srcdirpre$lang.po" 18831 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 18832 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 18833 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 18834 done 18835 # CATALOGS depends on both $ac_dir and the user's LINGUAS 18836 # environment variable. 18837 INST_LINGUAS= 18838 if test -n "$ALL_LINGUAS"; then 18839 for presentlang in $ALL_LINGUAS; do 18840 useit=no 18841 if test "%UNSET%" != "$LINGUAS"; then 18842 desiredlanguages="$LINGUAS" 18843 else 18844 desiredlanguages="$ALL_LINGUAS" 18845 fi 18846 for desiredlang in $desiredlanguages; do 18847 # Use the presentlang catalog if desiredlang is 18848 # a. equal to presentlang, or 18849 # b. a variant of presentlang (because in this case, 18850 # presentlang can be used as a fallback for messages 18851 # which are not translated in the desiredlang catalog). 18852 case "$desiredlang" in 18853 "$presentlang"*) useit=yes;; 18854 esac 18855 done 18856 if test $useit = yes; then 18857 INST_LINGUAS="$INST_LINGUAS $presentlang" 18858 fi 18859 done 18860 fi 18861 CATALOGS= 18862 if test -n "$INST_LINGUAS"; then 18863 for lang in $INST_LINGUAS; do 18864 CATALOGS="$CATALOGS $lang.gmo" 18865 done 18866 fi 18867 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 18868 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 18869 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 18870 if test -f "$f"; then 18871 case "$f" in 18872 *.orig | *.bak | *~) ;; 18873 *) cat "$f" >> "$ac_dir/Makefile" ;; 18874 esac 18875 fi 18876 done 18877 fi 18878 ;; 18879 esac 18880 done ;; 18881 18882 esac 18883done # for ac_tag 18884 18885 18886as_fn_exit 0 18887_ACEOF 18888ac_clean_files=$ac_clean_files_save 18889 18890test $ac_write_fail = 0 || 18891 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 18892 18893 18894# configure is writing to config.log, and then calls config.status. 18895# config.status does its own redirection, appending to config.log. 18896# Unfortunately, on DOS this fails, as config.log is still kept open 18897# by configure, so config.status won't be able to write to it; its 18898# output is simply discarded. So we exec the FD to /dev/null, 18899# effectively closing config.log, so it can be properly (re)opened and 18900# appended to by config.status. When coming back to configure, we 18901# need to make the FD available again. 18902if test "$no_create" != yes; then 18903 ac_cs_success=: 18904 ac_config_status_args= 18905 test "$silent" = yes && 18906 ac_config_status_args="$ac_config_status_args --quiet" 18907 exec 5>/dev/null 18908 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 18909 exec 5>>config.log 18910 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18911 # would make configure fail if this is the last instruction. 18912 $ac_cs_success || as_fn_exit 1 18913fi 18914if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 18915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 18916$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 18917fi 18918 18919 18920echo " 18921 $PACKAGE_NAME $PACKAGE_VERSION 18922 ================================ 18923 18924 prefix: ${prefix} 18925 exec_prefix: ${exec_prefix} 18926 bindir: ${bindir} 18927 datadir: ${datadir} 18928 source code location: ${srcdir} 18929 compiler: ${CC} 18930 cflags: ${CFLAGS} 18931 warning flags: ${WARN_CFLAGS} 18932 Wayland support: ${have_wayland} 18933 X11 support: ${have_x11} 18934 Native Language support: ${USE_NLS} 18935 18936 dbus-1 system.d $DBUS_SYS_DIR 18937 dbus-1 services $DBUS_SERVICES_DIR 18938 18939" 18940