1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.67 for avahi 0.6.31. 4# 5# Report bugs to <avahi (at) lists (dot) freedesktop (dot) org>. 6# 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10# Foundation, Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94case $0 in #(( 95 *[\\/]* ) as_myself=$0 ;; 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97for as_dir in $PATH 98do 99 IFS=$as_save_IFS 100 test -z "$as_dir" && as_dir=. 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 103IFS=$as_save_IFS 104 105 ;; 106esac 107# We did not find ourselves, most probably we were run as `sh COMMAND' 108# in which case we are not to be found in the path. 109if test "x$as_myself" = x; then 110 as_myself=$0 111fi 112if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115fi 116 117# Unset variables that we do not need and which cause bugs (e.g. in 118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119# suppresses any "Segmentation fault" message there. '((' could 120# trigger a bug in pdksh 5.2.14. 121for as_var in BASH_ENV ENV MAIL MAILPATH 122do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124done 125PS1='$ ' 126PS2='> ' 127PS4='+ ' 128 129# NLS nuisances. 130LC_ALL=C 131export LC_ALL 132LANGUAGE=C 133export LANGUAGE 134 135# CDPATH. 136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152esac 153fi 154" 155 as_required="as_fn_return () { (exit \$1); } 156as_fn_success () { as_fn_return 0; } 157as_fn_failure () { as_fn_return 1; } 158as_fn_ret_success () { return 0; } 159as_fn_ret_failure () { return 1; } 160 161exitcode=0 162as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168else 169 exitcode=1; echo positional parameters were not saved. 170fi 171test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176test \$(( 1 + 1 )) = 2 || exit 1 177 178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 182 PATH=/empty FPATH=/empty; export PATH FPATH 183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 185 if (eval "$as_required") 2>/dev/null; then : 186 as_have_required=yes 187else 188 as_have_required=no 189fi 190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 191 192else 193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 194as_found=false 195for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 196do 197 IFS=$as_save_IFS 198 test -z "$as_dir" && as_dir=. 199 as_found=: 200 case $as_dir in #( 201 /*) 202 for as_base in sh bash ksh sh5; do 203 # Try only shells that exist, to save several forks. 204 as_shell=$as_dir/$as_base 205 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 207 CONFIG_SHELL=$as_shell as_have_required=yes 208 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 209 break 2 210fi 211fi 212 done;; 213 esac 214 as_found=false 215done 216$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 217 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 218 CONFIG_SHELL=$SHELL as_have_required=yes 219fi; } 220IFS=$as_save_IFS 221 222 223 if test "x$CONFIG_SHELL" != x; then : 224 # We cannot yet assume a decent shell, so we have to provide a 225 # neutralization value for shells without unset; and this also 226 # works around shells that cannot unset nonexistent variables. 227 BASH_ENV=/dev/null 228 ENV=/dev/null 229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 230 export CONFIG_SHELL 231 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 232fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240 else 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and avahi (at) lists 242$0: (dot) freedesktop (dot) org about your system, 243$0: including any error possibly output before this 244$0: message. Then install a modern shell, or manually run 245$0: the script under such a shell if you do have one." 246 fi 247 exit 1 248fi 249fi 250fi 251SHELL=${CONFIG_SHELL-/bin/sh} 252export SHELL 253# Unset more variables known to interfere with behavior of common tools. 254CLICOLOR_FORCE= GREP_OPTIONS= 255unset CLICOLOR_FORCE GREP_OPTIONS 256 257## --------------------- ## 258## M4sh Shell Functions. ## 259## --------------------- ## 260# as_fn_unset VAR 261# --------------- 262# Portably unset VAR. 263as_fn_unset () 264{ 265 { eval $1=; unset $1;} 266} 267as_unset=as_fn_unset 268 269# as_fn_set_status STATUS 270# ----------------------- 271# Set $? to STATUS, without forking. 272as_fn_set_status () 273{ 274 return $1 275} # as_fn_set_status 276 277# as_fn_exit STATUS 278# ----------------- 279# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280as_fn_exit () 281{ 282 set +e 283 as_fn_set_status $1 284 exit $1 285} # as_fn_exit 286 287# as_fn_mkdir_p 288# ------------- 289# Create "$as_dir" as a directory, including parents if necessary. 290as_fn_mkdir_p () 291{ 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309$as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333} # as_fn_mkdir_p 334# as_fn_append VAR VALUE 335# ---------------------- 336# Append the text in VALUE to the end of the definition contained in VAR. Take 337# advantage of any shell optimizations that allow amortized linear growth over 338# repeated appends, instead of the typical quadratic growth present in naive 339# implementations. 340if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350fi # as_fn_append 351 352# as_fn_arith ARG... 353# ------------------ 354# Perform arithmetic evaluation on the ARGs, and store the result in the 355# global $as_val. Take advantage of shells that can avoid forks. The arguments 356# must be portable across $(()) and expr. 357if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367fi # as_fn_arith 368 369 370# as_fn_error STATUS ERROR [LINENO LOG_FD] 371# ---------------------------------------- 372# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374# script with STATUS, using 1 if that was 0. 375as_fn_error () 376{ 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384} # as_fn_error 385 386if expr a : '\(a\)' >/dev/null 2>&1 && 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then 388 as_expr=expr 389else 390 as_expr=false 391fi 392 393if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 394 as_basename=basename 395else 396 as_basename=false 397fi 398 399if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401else 402 as_dirname=false 403fi 404 405as_me=`$as_basename -- "$0" || 406$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 407 X"$0" : 'X\(//\)$' \| \ 408 X"$0" : 'X\(/\)' \| . 2>/dev/null || 409$as_echo X/"$0" | 410 sed '/^.*\/\([^/][^/]*\)\/*$/{ 411 s//\1/ 412 q 413 } 414 /^X\/\(\/\/\)$/{ 415 s//\1/ 416 q 417 } 418 /^X\/\(\/\).*/{ 419 s//\1/ 420 q 421 } 422 s/.*/./; q'` 423 424# Avoid depending upon Character Ranges. 425as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428as_cr_digits='0123456789' 429as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 437 sed -n ' 438 p 439 /[$]LINENO/= 440 ' <$as_myself | 441 sed ' 442 s/[$]LINENO.*/&-/ 443 t lineno 444 b 445 :lineno 446 N 447 :loop 448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 449 t loop 450 s/-\n.*// 451 ' >$as_me.lineno && 452 chmod +x "$as_me.lineno" || 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 454 455 # Don't try to exec as it changes $[0], causing all sort of problems 456 # (the dirname of $[0] is not the place where we might find the 457 # original and so on. Autoconf is especially sensitive to this). 458 . "./$as_me.lineno" 459 # Exit status is that of the last command. 460 exit 461} 462 463ECHO_C= ECHO_N= ECHO_T= 464case `echo -n x` in #((((( 465-n*) 466 case `echo 'xy\c'` in 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 471 esac;; 472*) 473 ECHO_N='-n';; 474esac 475 476rm -f conf$$ conf$$.exe conf$$.file 477if test -d conf$$.dir; then 478 rm -f conf$$.dir/conf$$.file 479else 480 rm -f conf$$.dir 481 mkdir conf$$.dir 2>/dev/null 482fi 483if (echo >conf$$.file) 2>/dev/null; then 484 if ln -s conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s='ln -s' 486 # ... but there are two gotchas: 487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 489 # In both cases, we have to default to `cp -p'. 490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 491 as_ln_s='cp -p' 492 elif ln conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s=ln 494 else 495 as_ln_s='cp -p' 496 fi 497else 498 as_ln_s='cp -p' 499fi 500rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 501rmdir conf$$.dir 2>/dev/null 502 503if mkdir -p . 2>/dev/null; then 504 as_mkdir_p='mkdir -p "$as_dir"' 505else 506 test -d ./-p && rmdir ./-p 507 as_mkdir_p=false 508fi 509 510if test -x / >/dev/null 2>&1; then 511 as_test_x='test -x' 512else 513 if ls -dL / >/dev/null 2>&1; then 514 as_ls_L_option=L 515 else 516 as_ls_L_option= 517 fi 518 as_test_x=' 519 eval sh -c '\'' 520 if test -d "$1"; then 521 test -d "$1/."; 522 else 523 case $1 in #( 524 -*)set "./$1";; 525 esac; 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 527 ???[sx]*):;;*)false;;esac;fi 528 '\'' sh 529 ' 530fi 531as_executable_p=$as_test_x 532 533# Sed expression to map a string onto a valid CPP name. 534as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 535 536# Sed expression to map a string onto a valid variable name. 537as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 538 539SHELL=${CONFIG_SHELL-/bin/sh} 540 541 542test -n "$DJDIR" || exec 7<&0 </dev/null 543exec 6>&1 544 545# Name of the host. 546# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 547# so uname gets run too. 548ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 549 550# 551# Initializations. 552# 553ac_default_prefix=/usr/local 554ac_clean_files= 555ac_config_libobj_dir=. 556LIBOBJS= 557cross_compiling=no 558subdirs= 559MFLAGS= 560MAKEFLAGS= 561 562# Identity of this package. 563PACKAGE_NAME='avahi' 564PACKAGE_TARNAME='avahi' 565PACKAGE_VERSION='0.6.31' 566PACKAGE_STRING='avahi 0.6.31' 567PACKAGE_BUGREPORT='avahi (at) lists (dot) freedesktop (dot) org' 568PACKAGE_URL='' 569 570ac_unique_file="avahi-core/server.c" 571# Factoring default headers for most tests. 572ac_includes_default="\ 573#include <stdio.h> 574#ifdef HAVE_SYS_TYPES_H 575# include <sys/types.h> 576#endif 577#ifdef HAVE_SYS_STAT_H 578# include <sys/stat.h> 579#endif 580#ifdef STDC_HEADERS 581# include <stdlib.h> 582# include <stddef.h> 583#else 584# ifdef HAVE_STDLIB_H 585# include <stdlib.h> 586# endif 587#endif 588#ifdef HAVE_STRING_H 589# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 590# include <memory.h> 591# endif 592# include <string.h> 593#endif 594#ifdef HAVE_STRINGS_H 595# include <strings.h> 596#endif 597#ifdef HAVE_INTTYPES_H 598# include <inttypes.h> 599#endif 600#ifdef HAVE_STDINT_H 601# include <stdint.h> 602#endif 603#ifdef HAVE_UNISTD_H 604# include <unistd.h> 605#endif" 606 607ac_subst_vars='am__EXEEXT_FALSE 608am__EXEEXT_TRUE 609LTLIBOBJS 610HAVE_SYSTEMD_FALSE 611HAVE_SYSTEMD_TRUE 612systemdsystemunitdir 613ENABLE_COMPAT_HOWL_FALSE 614ENABLE_COMPAT_HOWL_TRUE 615ENABLE_COMPAT_LIBDNS_SD_FALSE 616ENABLE_COMPAT_LIBDNS_SD_TRUE 617ENABLE_TESTS_FALSE 618ENABLE_TESTS_TRUE 619BUILD_MANPAGES_FALSE 620BUILD_MANPAGES_TRUE 621USE_XMLTOMAN_FALSE 622USE_XMLTOMAN_TRUE 623have_xmltoman 624ENABLE_CORE_DOCS_FALSE 625ENABLE_CORE_DOCS_TRUE 626DOXYGEN_PAPER_SIZE 627DX_COND_latex_FALSE 628DX_COND_latex_TRUE 629DX_COND_pdf_FALSE 630DX_COND_pdf_TRUE 631DX_PDFLATEX 632DX_FLAG_pdf 633DX_COND_ps_FALSE 634DX_COND_ps_TRUE 635DX_EGREP 636DX_DVIPS 637DX_MAKEINDEX 638DX_LATEX 639DX_FLAG_ps 640DX_COND_html_FALSE 641DX_COND_html_TRUE 642DX_FLAG_html 643DX_COND_chi_FALSE 644DX_COND_chi_TRUE 645DX_FLAG_chi 646DX_COND_chm_FALSE 647DX_COND_chm_TRUE 648DX_HHC 649DX_FLAG_chm 650DX_COND_xml_FALSE 651DX_COND_xml_TRUE 652DX_FLAG_xml 653DX_COND_rtf_FALSE 654DX_COND_rtf_TRUE 655DX_FLAG_rtf 656DX_COND_man_FALSE 657DX_COND_man_TRUE 658DX_FLAG_man 659DX_COND_dot_FALSE 660DX_COND_dot_TRUE 661DX_DOT 662DX_FLAG_dot 663DX_COND_doc_FALSE 664DX_COND_doc_TRUE 665DX_PERL 666DX_DOXYGEN 667DX_FLAG_doc 668DX_ENV 669DX_DOCDIR 670DX_CONFIG 671DX_PROJECT 672interfacesdir 673avahi_socket 674avahi_runtime_dir 675AVAHI_AUTOIPD_GROUP 676AVAHI_AUTOIPD_USER 677AVAHI_PRIV_ACCESS_GROUP 678AVAHI_GROUP 679AVAHI_USER 680ENABLE_AUTOIPD_FALSE 681ENABLE_AUTOIPD_TRUE 682HAVE_MONODOC_FALSE 683HAVE_MONODOC_TRUE 684MONODOC_DIR 685MDASSEMBLER 686MONODOCER 687MONODOC_LIBS 688MONODOC_CFLAGS 689HAVE_MONO_FALSE 690HAVE_MONO_TRUE 691GACUTIL 692MCS 693HAVE_PYTHON_DBUS_FALSE 694HAVE_PYTHON_DBUS_TRUE 695HAVE_PYGTK_FALSE 696HAVE_PYGTK_TRUE 697HAVE_PYTHON_FALSE 698HAVE_PYTHON_TRUE 699pkgpyexecdir 700pyexecdir 701pkgpythondir 702pythondir 703PYTHON_PLATFORM 704PYTHON_EXEC_PREFIX 705PYTHON_PREFIX 706PYTHON_VERSION 707PYTHON 708HAVE_LIBDAEMON_FALSE 709HAVE_LIBDAEMON_TRUE 710LIBDAEMON_LIBS 711LIBDAEMON_CFLAGS 712HAVE_DBM_FALSE 713HAVE_DBM_TRUE 714HAVE_GDBM_FALSE 715HAVE_GDBM_TRUE 716HAVE_XML_FALSE 717HAVE_XML_TRUE 718XML_CFLAGS 719XML_LIBS 720HAVE_DBUS_FALSE 721HAVE_DBUS_TRUE 722DBUS_SYSTEM_BUS_DEFAULT_ADDRESS 723DBUS_SYS_DIR 724DBUS_LIBS 725DBUS_CFLAGS 726HAVE_GTK2OR3_FALSE 727HAVE_GTK2OR3_TRUE 728HAVE_GTK3_FALSE 729HAVE_GTK3_TRUE 730GTK30_LIBS 731GTK30_CFLAGS 732HAVE_GTK_FALSE 733HAVE_GTK_TRUE 734GTK20_LIBS 735GTK20_CFLAGS 736HAVE_QT4_FALSE 737HAVE_QT4_TRUE 738MOC_QT4 739QT4_LIBS 740QT4_CFLAGS 741HAVE_QT3_FALSE 742HAVE_QT3_TRUE 743MOC_QT3 744QT3_LIBS 745QT3_CFLAGS 746HAVE_INTROSPECTION_FALSE 747HAVE_INTROSPECTION_TRUE 748INTROSPECTION_MAKEFILE 749INTROSPECTION_LIBS 750INTROSPECTION_CFLAGS 751INTROSPECTION_TYPELIBDIR 752INTROSPECTION_GIRDIR 753INTROSPECTION_GENERATE 754INTROSPECTION_COMPILER 755INTROSPECTION_SCANNER 756HAVE_GOBJECT_FALSE 757HAVE_GOBJECT_TRUE 758GOBJECT_LIBS 759GOBJECT_CFLAGS 760HAVE_GLIB_FALSE 761HAVE_GLIB_TRUE 762GLIB20_LIBS 763GLIB20_CFLAGS 764PKG_CONFIG 765have_pkg_config 766avahilocaledir 767GETTEXT_PACKAGE 768DATADIRNAME 769ALL_LINGUAS 770INTLTOOL_PERL 771GMSGFMT 772MSGFMT 773MSGMERGE 774XGETTEXT 775INTLTOOL_POLICY_RULE 776INTLTOOL_SERVICE_RULE 777INTLTOOL_THEME_RULE 778INTLTOOL_SCHEMAS_RULE 779INTLTOOL_CAVES_RULE 780INTLTOOL_XML_NOMERGE_RULE 781INTLTOOL_XML_RULE 782INTLTOOL_KBD_RULE 783INTLTOOL_XAM_RULE 784INTLTOOL_UI_RULE 785INTLTOOL_SOUNDLIST_RULE 786INTLTOOL_SHEET_RULE 787INTLTOOL_SERVER_RULE 788INTLTOOL_PONG_RULE 789INTLTOOL_OAF_RULE 790INTLTOOL_PROP_RULE 791INTLTOOL_KEYS_RULE 792INTLTOOL_DIRECTORY_RULE 793INTLTOOL_DESKTOP_RULE 794INTLTOOL_EXTRACT 795INTLTOOL_MERGE 796INTLTOOL_UPDATE 797USE_NLS 798HAVE_KQUEUE_FALSE 799HAVE_KQUEUE_TRUE 800HAVE_INOTIFY_FALSE 801HAVE_INOTIFY_TRUE 802HAVE_DLOPEN_FALSE 803HAVE_DLOPEN_TRUE 804ENABLE_CHROOT_FALSE 805ENABLE_CHROOT_TRUE 806VISIBILITY_HIDDEN_CFLAGS 807LIBOBJS 808TARGET_SLACKWARE_FALSE 809TARGET_SLACKWARE_TRUE 810TARGET_FREEBSD_FALSE 811TARGET_FREEBSD_TRUE 812TARGET_NETBSD_FALSE 813TARGET_NETBSD_TRUE 814TARGET_DARWIN_FALSE 815TARGET_DARWIN_TRUE 816TARGET_MANDRIVA_FALSE 817TARGET_MANDRIVA_TRUE 818TARGET_FEDORA_FALSE 819TARGET_FEDORA_TRUE 820TARGET_ARCHLINUX_FALSE 821TARGET_ARCHLINUX_TRUE 822TARGET_DEBIAN_FALSE 823TARGET_DEBIAN_TRUE 824TARGET_GENTOO_FALSE 825TARGET_GENTOO_TRUE 826TARGET_SUSE_FALSE 827TARGET_SUSE_TRUE 828TARGET_LFS_FALSE 829TARGET_LFS_TRUE 830HAVE_SYS_SYSCTL_H_FALSE 831HAVE_SYS_SYSCTL_H_TRUE 832HAVE_SYS_FILIO_H_FALSE 833HAVE_SYS_FILIO_H_TRUE 834HAVE_PF_ROUTE_FALSE 835HAVE_PF_ROUTE_TRUE 836HAVE_NETLINK_FALSE 837HAVE_NETLINK_TRUE 838PTHREAD_CFLAGS 839PTHREAD_LIBS 840PTHREAD_CC 841acx_pthread_config 842CXXCPP 843OTOOL64 844OTOOL 845LIPO 846NMEDIT 847DSYMUTIL 848MANIFEST_TOOL 849RANLIB 850ac_ct_AR 851AR 852DLLTOOL 853OBJDUMP 854NM 855ac_ct_DUMPBIN 856DUMPBIN 857LD 858FGREP 859SED 860LIBTOOL 861LN_S 862EGREP 863GREP 864CPP 865am__fastdepCXX_FALSE 866am__fastdepCXX_TRUE 867CXXDEPMODE 868ac_ct_CXX 869CXXFLAGS 870CXX 871am__fastdepCC_FALSE 872am__fastdepCC_TRUE 873CCDEPMODE 874AMDEPBACKSLASH 875AMDEP_FALSE 876AMDEP_TRUE 877am__quote 878am__include 879DEPDIR 880OBJEXT 881EXEEXT 882ac_ct_CC 883CPPFLAGS 884LDFLAGS 885CFLAGS 886CC 887STOW 888host_os 889host_vendor 890host_cpu 891host 892build_os 893build_vendor 894build_cpu 895build 896HOWL_COMPAT_VERSION 897LIBAVAHI_COMPAT_HOWL_VERSION_INFO 898LIBAVAHI_COMPAT_LIBDNS_SD_VERSION_INFO 899LIBAVAHI_UI_VERSION_INFO 900LIBAVAHI_QT4_VERSION_INFO 901LIBAVAHI_QT3_VERSION_INFO 902LIBAVAHI_GOBJECT_VERSION_INFO 903LIBAVAHI_GLIB_VERSION_INFO 904LIBAVAHI_CLIENT_VERSION_INFO 905LIBAVAHI_CORE_VERSION_INFO 906LIBAVAHI_COMMON_VERSION_INFO 907MAINT 908MAINTAINER_MODE_FALSE 909MAINTAINER_MODE_TRUE 910AM_BACKSLASH 911AM_DEFAULT_VERBOSITY 912am__untar 913am__tar 914AMTAR 915am__leading_dot 916SET_MAKE 917AWK 918mkdir_p 919MKDIR_P 920INSTALL_STRIP_PROGRAM 921STRIP 922install_sh 923MAKEINFO 924AUTOHEADER 925AUTOMAKE 926AUTOCONF 927ACLOCAL 928VERSION 929PACKAGE 930CYGPATH_W 931am__isrc 932INSTALL_DATA 933INSTALL_SCRIPT 934INSTALL_PROGRAM 935target_alias 936host_alias 937build_alias 938LIBS 939ECHO_T 940ECHO_N 941ECHO_C 942DEFS 943mandir 944localedir 945libdir 946psdir 947pdfdir 948dvidir 949htmldir 950infodir 951docdir 952oldincludedir 953includedir 954localstatedir 955sharedstatedir 956sysconfdir 957datadir 958datarootdir 959libexecdir 960sbindir 961bindir 962program_transform_name 963prefix 964exec_prefix 965PACKAGE_URL 966PACKAGE_BUGREPORT 967PACKAGE_STRING 968PACKAGE_VERSION 969PACKAGE_TARNAME 970PACKAGE_NAME 971PATH_SEPARATOR 972SHELL' 973ac_subst_files='' 974ac_user_opts=' 975enable_option_checking 976enable_silent_rules 977enable_maintainer_mode 978enable_dependency_tracking 979enable_stack_protector 980enable_shared 981enable_static 982with_pic 983enable_fast_install 984with_gnu_ld 985with_sysroot 986enable_libtool_lock 987with_distro 988enable_nls 989enable_glib 990enable_gobject 991enable_introspection 992enable_qt3 993enable_qt4 994enable_gtk 995enable_gtk3 996enable_dbus 997with_dbus_sys 998with_dbus_system_socket 999with_xml 1000enable_dbm 1001enable_gdbm 1002enable_libdaemon 1003enable_python 1004enable_pygtk 1005enable_python_dbus 1006enable_mono 1007enable_monodoc 1008enable_autoipd 1009with_avahi_user 1010with_avahi_group 1011with_avahi_priv_access_group 1012with_autoipd_user 1013with_autoipd_group 1014enable_doxygen_doc 1015enable_doxygen_dot 1016enable_doxygen_man 1017enable_doxygen_rtf 1018enable_doxygen_xml 1019enable_doxygen_chm 1020enable_doxygen_chi 1021enable_doxygen_html 1022enable_doxygen_ps 1023enable_doxygen_pdf 1024enable_core_docs 1025enable_manpages 1026enable_xmltoman 1027enable_tests 1028enable_compat_libdns_sd 1029enable_compat_howl 1030with_systemdsystemunitdir 1031' 1032 ac_precious_vars='build_alias 1033host_alias 1034target_alias 1035CC 1036CFLAGS 1037LDFLAGS 1038LIBS 1039CPPFLAGS 1040CXX 1041CXXFLAGS 1042CCC 1043CPP 1044CXXCPP 1045PKG_CONFIG 1046GLIB20_CFLAGS 1047GLIB20_LIBS 1048GOBJECT_CFLAGS 1049GOBJECT_LIBS 1050QT3_CFLAGS 1051QT3_LIBS 1052QT4_CFLAGS 1053QT4_LIBS 1054GTK20_CFLAGS 1055GTK20_LIBS 1056GTK30_CFLAGS 1057GTK30_LIBS 1058DBUS_CFLAGS 1059DBUS_LIBS 1060LIBDAEMON_CFLAGS 1061LIBDAEMON_LIBS 1062MONODOC_CFLAGS 1063MONODOC_LIBS 1064DOXYGEN_PAPER_SIZE' 1065 1066 1067# Initialize some variables set by options. 1068ac_init_help= 1069ac_init_version=false 1070ac_unrecognized_opts= 1071ac_unrecognized_sep= 1072# The variables have the same names as the options, with 1073# dashes changed to underlines. 1074cache_file=/dev/null 1075exec_prefix=NONE 1076no_create= 1077no_recursion= 1078prefix=NONE 1079program_prefix=NONE 1080program_suffix=NONE 1081program_transform_name=s,x,x, 1082silent= 1083site= 1084srcdir= 1085verbose= 1086x_includes=NONE 1087x_libraries=NONE 1088 1089# Installation directory options. 1090# These are left unexpanded so users can "make install exec_prefix=/foo" 1091# and all the variables that are supposed to be based on exec_prefix 1092# by default will actually change. 1093# Use braces instead of parens because sh, perl, etc. also accept them. 1094# (The list follows the same order as the GNU Coding Standards.) 1095bindir='${exec_prefix}/bin' 1096sbindir='${exec_prefix}/sbin' 1097libexecdir='${exec_prefix}/libexec' 1098datarootdir='${prefix}/share' 1099datadir='${datarootdir}' 1100sysconfdir='${prefix}/etc' 1101sharedstatedir='${prefix}/com' 1102localstatedir='${prefix}/var' 1103includedir='${prefix}/include' 1104oldincludedir='/usr/include' 1105docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1106infodir='${datarootdir}/info' 1107htmldir='${docdir}' 1108dvidir='${docdir}' 1109pdfdir='${docdir}' 1110psdir='${docdir}' 1111libdir='${exec_prefix}/lib' 1112localedir='${datarootdir}/locale' 1113mandir='${datarootdir}/man' 1114 1115ac_prev= 1116ac_dashdash= 1117for ac_option 1118do 1119 # If the previous option needs an argument, assign it. 1120 if test -n "$ac_prev"; then 1121 eval $ac_prev=\$ac_option 1122 ac_prev= 1123 continue 1124 fi 1125 1126 case $ac_option in 1127 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1128 *=) ac_optarg= ;; 1129 *) ac_optarg=yes ;; 1130 esac 1131 1132 # Accept the important Cygnus configure options, so we can diagnose typos. 1133 1134 case $ac_dashdash$ac_option in 1135 --) 1136 ac_dashdash=yes ;; 1137 1138 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1139 ac_prev=bindir ;; 1140 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1141 bindir=$ac_optarg ;; 1142 1143 -build | --build | --buil | --bui | --bu) 1144 ac_prev=build_alias ;; 1145 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1146 build_alias=$ac_optarg ;; 1147 1148 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1149 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1150 ac_prev=cache_file ;; 1151 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1152 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1153 cache_file=$ac_optarg ;; 1154 1155 --config-cache | -C) 1156 cache_file=config.cache ;; 1157 1158 -datadir | --datadir | --datadi | --datad) 1159 ac_prev=datadir ;; 1160 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1161 datadir=$ac_optarg ;; 1162 1163 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1164 | --dataroo | --dataro | --datar) 1165 ac_prev=datarootdir ;; 1166 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1167 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1168 datarootdir=$ac_optarg ;; 1169 1170 -disable-* | --disable-*) 1171 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1172 # Reject names that are not valid shell variable names. 1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1174 as_fn_error $? "invalid feature name: $ac_useropt" 1175 ac_useropt_orig=$ac_useropt 1176 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1177 case $ac_user_opts in 1178 *" 1179"enable_$ac_useropt" 1180"*) ;; 1181 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1182 ac_unrecognized_sep=', ';; 1183 esac 1184 eval enable_$ac_useropt=no ;; 1185 1186 -docdir | --docdir | --docdi | --doc | --do) 1187 ac_prev=docdir ;; 1188 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1189 docdir=$ac_optarg ;; 1190 1191 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1192 ac_prev=dvidir ;; 1193 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1194 dvidir=$ac_optarg ;; 1195 1196 -enable-* | --enable-*) 1197 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1198 # Reject names that are not valid shell variable names. 1199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1200 as_fn_error $? "invalid feature name: $ac_useropt" 1201 ac_useropt_orig=$ac_useropt 1202 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1203 case $ac_user_opts in 1204 *" 1205"enable_$ac_useropt" 1206"*) ;; 1207 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1208 ac_unrecognized_sep=', ';; 1209 esac 1210 eval enable_$ac_useropt=\$ac_optarg ;; 1211 1212 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1213 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1214 | --exec | --exe | --ex) 1215 ac_prev=exec_prefix ;; 1216 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1217 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1218 | --exec=* | --exe=* | --ex=*) 1219 exec_prefix=$ac_optarg ;; 1220 1221 -gas | --gas | --ga | --g) 1222 # Obsolete; use --with-gas. 1223 with_gas=yes ;; 1224 1225 -help | --help | --hel | --he | -h) 1226 ac_init_help=long ;; 1227 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1228 ac_init_help=recursive ;; 1229 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1230 ac_init_help=short ;; 1231 1232 -host | --host | --hos | --ho) 1233 ac_prev=host_alias ;; 1234 -host=* | --host=* | --hos=* | --ho=*) 1235 host_alias=$ac_optarg ;; 1236 1237 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1238 ac_prev=htmldir ;; 1239 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1240 | --ht=*) 1241 htmldir=$ac_optarg ;; 1242 1243 -includedir | --includedir | --includedi | --included | --include \ 1244 | --includ | --inclu | --incl | --inc) 1245 ac_prev=includedir ;; 1246 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1247 | --includ=* | --inclu=* | --incl=* | --inc=*) 1248 includedir=$ac_optarg ;; 1249 1250 -infodir | --infodir | --infodi | --infod | --info | --inf) 1251 ac_prev=infodir ;; 1252 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1253 infodir=$ac_optarg ;; 1254 1255 -libdir | --libdir | --libdi | --libd) 1256 ac_prev=libdir ;; 1257 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1258 libdir=$ac_optarg ;; 1259 1260 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1261 | --libexe | --libex | --libe) 1262 ac_prev=libexecdir ;; 1263 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1264 | --libexe=* | --libex=* | --libe=*) 1265 libexecdir=$ac_optarg ;; 1266 1267 -localedir | --localedir | --localedi | --localed | --locale) 1268 ac_prev=localedir ;; 1269 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1270 localedir=$ac_optarg ;; 1271 1272 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1273 | --localstate | --localstat | --localsta | --localst | --locals) 1274 ac_prev=localstatedir ;; 1275 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1276 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1277 localstatedir=$ac_optarg ;; 1278 1279 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1280 ac_prev=mandir ;; 1281 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1282 mandir=$ac_optarg ;; 1283 1284 -nfp | --nfp | --nf) 1285 # Obsolete; use --without-fp. 1286 with_fp=no ;; 1287 1288 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1289 | --no-cr | --no-c | -n) 1290 no_create=yes ;; 1291 1292 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1293 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1294 no_recursion=yes ;; 1295 1296 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1297 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1298 | --oldin | --oldi | --old | --ol | --o) 1299 ac_prev=oldincludedir ;; 1300 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1301 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1302 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1303 oldincludedir=$ac_optarg ;; 1304 1305 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1306 ac_prev=prefix ;; 1307 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1308 prefix=$ac_optarg ;; 1309 1310 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1311 | --program-pre | --program-pr | --program-p) 1312 ac_prev=program_prefix ;; 1313 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1314 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1315 program_prefix=$ac_optarg ;; 1316 1317 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1318 | --program-suf | --program-su | --program-s) 1319 ac_prev=program_suffix ;; 1320 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1321 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1322 program_suffix=$ac_optarg ;; 1323 1324 -program-transform-name | --program-transform-name \ 1325 | --program-transform-nam | --program-transform-na \ 1326 | --program-transform-n | --program-transform- \ 1327 | --program-transform | --program-transfor \ 1328 | --program-transfo | --program-transf \ 1329 | --program-trans | --program-tran \ 1330 | --progr-tra | --program-tr | --program-t) 1331 ac_prev=program_transform_name ;; 1332 -program-transform-name=* | --program-transform-name=* \ 1333 | --program-transform-nam=* | --program-transform-na=* \ 1334 | --program-transform-n=* | --program-transform-=* \ 1335 | --program-transform=* | --program-transfor=* \ 1336 | --program-transfo=* | --program-transf=* \ 1337 | --program-trans=* | --program-tran=* \ 1338 | --progr-tra=* | --program-tr=* | --program-t=*) 1339 program_transform_name=$ac_optarg ;; 1340 1341 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1342 ac_prev=pdfdir ;; 1343 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1344 pdfdir=$ac_optarg ;; 1345 1346 -psdir | --psdir | --psdi | --psd | --ps) 1347 ac_prev=psdir ;; 1348 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1349 psdir=$ac_optarg ;; 1350 1351 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1352 | -silent | --silent | --silen | --sile | --sil) 1353 silent=yes ;; 1354 1355 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1356 ac_prev=sbindir ;; 1357 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1358 | --sbi=* | --sb=*) 1359 sbindir=$ac_optarg ;; 1360 1361 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1362 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1363 | --sharedst | --shareds | --shared | --share | --shar \ 1364 | --sha | --sh) 1365 ac_prev=sharedstatedir ;; 1366 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1367 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1368 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1369 | --sha=* | --sh=*) 1370 sharedstatedir=$ac_optarg ;; 1371 1372 -site | --site | --sit) 1373 ac_prev=site ;; 1374 -site=* | --site=* | --sit=*) 1375 site=$ac_optarg ;; 1376 1377 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1378 ac_prev=srcdir ;; 1379 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1380 srcdir=$ac_optarg ;; 1381 1382 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1383 | --syscon | --sysco | --sysc | --sys | --sy) 1384 ac_prev=sysconfdir ;; 1385 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1386 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1387 sysconfdir=$ac_optarg ;; 1388 1389 -target | --target | --targe | --targ | --tar | --ta | --t) 1390 ac_prev=target_alias ;; 1391 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1392 target_alias=$ac_optarg ;; 1393 1394 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1395 verbose=yes ;; 1396 1397 -version | --version | --versio | --versi | --vers | -V) 1398 ac_init_version=: ;; 1399 1400 -with-* | --with-*) 1401 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1402 # Reject names that are not valid shell variable names. 1403 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1404 as_fn_error $? "invalid package name: $ac_useropt" 1405 ac_useropt_orig=$ac_useropt 1406 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1407 case $ac_user_opts in 1408 *" 1409"with_$ac_useropt" 1410"*) ;; 1411 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1412 ac_unrecognized_sep=', ';; 1413 esac 1414 eval with_$ac_useropt=\$ac_optarg ;; 1415 1416 -without-* | --without-*) 1417 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1418 # Reject names that are not valid shell variable names. 1419 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1420 as_fn_error $? "invalid package name: $ac_useropt" 1421 ac_useropt_orig=$ac_useropt 1422 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1423 case $ac_user_opts in 1424 *" 1425"with_$ac_useropt" 1426"*) ;; 1427 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1428 ac_unrecognized_sep=', ';; 1429 esac 1430 eval with_$ac_useropt=no ;; 1431 1432 --x) 1433 # Obsolete; use --with-x. 1434 with_x=yes ;; 1435 1436 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1437 | --x-incl | --x-inc | --x-in | --x-i) 1438 ac_prev=x_includes ;; 1439 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1440 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1441 x_includes=$ac_optarg ;; 1442 1443 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1444 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1445 ac_prev=x_libraries ;; 1446 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1447 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1448 x_libraries=$ac_optarg ;; 1449 1450 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1451Try \`$0 --help' for more information" 1452 ;; 1453 1454 *=*) 1455 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1456 # Reject names that are not valid shell variable names. 1457 case $ac_envvar in #( 1458 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1459 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1460 esac 1461 eval $ac_envvar=\$ac_optarg 1462 export $ac_envvar ;; 1463 1464 *) 1465 # FIXME: should be removed in autoconf 3.0. 1466 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1467 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1468 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1469 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1470 ;; 1471 1472 esac 1473done 1474 1475if test -n "$ac_prev"; then 1476 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1477 as_fn_error $? "missing argument to $ac_option" 1478fi 1479 1480if test -n "$ac_unrecognized_opts"; then 1481 case $enable_option_checking in 1482 no) ;; 1483 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1484 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1485 esac 1486fi 1487 1488# Check all directory arguments for consistency. 1489for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1490 datadir sysconfdir sharedstatedir localstatedir includedir \ 1491 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1492 libdir localedir mandir 1493do 1494 eval ac_val=\$$ac_var 1495 # Remove trailing slashes. 1496 case $ac_val in 1497 */ ) 1498 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1499 eval $ac_var=\$ac_val;; 1500 esac 1501 # Be sure to have absolute directory names. 1502 case $ac_val in 1503 [\\/$]* | ?:[\\/]* ) continue;; 1504 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1505 esac 1506 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1507done 1508 1509# There might be people who depend on the old broken behavior: `$host' 1510# used to hold the argument of --host etc. 1511# FIXME: To remove some day. 1512build=$build_alias 1513host=$host_alias 1514target=$target_alias 1515 1516# FIXME: To remove some day. 1517if test "x$host_alias" != x; then 1518 if test "x$build_alias" = x; then 1519 cross_compiling=maybe 1520 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1521 If a cross compiler is detected then cross compile mode will be used" >&2 1522 elif test "x$build_alias" != "x$host_alias"; then 1523 cross_compiling=yes 1524 fi 1525fi 1526 1527ac_tool_prefix= 1528test -n "$host_alias" && ac_tool_prefix=$host_alias- 1529 1530test "$silent" = yes && exec 6>/dev/null 1531 1532 1533ac_pwd=`pwd` && test -n "$ac_pwd" && 1534ac_ls_di=`ls -di .` && 1535ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1536 as_fn_error $? "working directory cannot be determined" 1537test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1538 as_fn_error $? "pwd does not report name of working directory" 1539 1540 1541# Find the source files, if location was not specified. 1542if test -z "$srcdir"; then 1543 ac_srcdir_defaulted=yes 1544 # Try the directory containing this script, then the parent directory. 1545 ac_confdir=`$as_dirname -- "$as_myself" || 1546$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1547 X"$as_myself" : 'X\(//\)[^/]' \| \ 1548 X"$as_myself" : 'X\(//\)$' \| \ 1549 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1550$as_echo X"$as_myself" | 1551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1552 s//\1/ 1553 q 1554 } 1555 /^X\(\/\/\)[^/].*/{ 1556 s//\1/ 1557 q 1558 } 1559 /^X\(\/\/\)$/{ 1560 s//\1/ 1561 q 1562 } 1563 /^X\(\/\).*/{ 1564 s//\1/ 1565 q 1566 } 1567 s/.*/./; q'` 1568 srcdir=$ac_confdir 1569 if test ! -r "$srcdir/$ac_unique_file"; then 1570 srcdir=.. 1571 fi 1572else 1573 ac_srcdir_defaulted=no 1574fi 1575if test ! -r "$srcdir/$ac_unique_file"; then 1576 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1577 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1578fi 1579ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1580ac_abs_confdir=`( 1581 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1582 pwd)` 1583# When building in place, set srcdir=. 1584if test "$ac_abs_confdir" = "$ac_pwd"; then 1585 srcdir=. 1586fi 1587# Remove unnecessary trailing slashes from srcdir. 1588# Double slashes in file names in object file debugging info 1589# mess up M-x gdb in Emacs. 1590case $srcdir in 1591*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1592esac 1593for ac_var in $ac_precious_vars; do 1594 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1595 eval ac_env_${ac_var}_value=\$${ac_var} 1596 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1597 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1598done 1599 1600# 1601# Report the --help message. 1602# 1603if test "$ac_init_help" = "long"; then 1604 # Omit some internal or obsolete options to make the list less imposing. 1605 # This message is too long to be a string in the A/UX 3.1 sh. 1606 cat <<_ACEOF 1607\`configure' configures avahi 0.6.31 to adapt to many kinds of systems. 1608 1609Usage: $0 [OPTION]... [VAR=VALUE]... 1610 1611To assign environment variables (e.g., CC, CFLAGS...), specify them as 1612VAR=VALUE. See below for descriptions of some of the useful variables. 1613 1614Defaults for the options are specified in brackets. 1615 1616Configuration: 1617 -h, --help display this help and exit 1618 --help=short display options specific to this package 1619 --help=recursive display the short help of all the included packages 1620 -V, --version display version information and exit 1621 -q, --quiet, --silent do not print \`checking ...' messages 1622 --cache-file=FILE cache test results in FILE [disabled] 1623 -C, --config-cache alias for \`--cache-file=config.cache' 1624 -n, --no-create do not create output files 1625 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1626 1627Installation directories: 1628 --prefix=PREFIX install architecture-independent files in PREFIX 1629 [$ac_default_prefix] 1630 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1631 [PREFIX] 1632 1633By default, \`make install' will install all the files in 1634\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1635an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1636for instance \`--prefix=\$HOME'. 1637 1638For better control, use the options below. 1639 1640Fine tuning of the installation directories: 1641 --bindir=DIR user executables [EPREFIX/bin] 1642 --sbindir=DIR system admin executables [EPREFIX/sbin] 1643 --libexecdir=DIR program executables [EPREFIX/libexec] 1644 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1645 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1646 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1647 --libdir=DIR object code libraries [EPREFIX/lib] 1648 --includedir=DIR C header files [PREFIX/include] 1649 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1650 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1651 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1652 --infodir=DIR info documentation [DATAROOTDIR/info] 1653 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1654 --mandir=DIR man documentation [DATAROOTDIR/man] 1655 --docdir=DIR documentation root [DATAROOTDIR/doc/avahi] 1656 --htmldir=DIR html documentation [DOCDIR] 1657 --dvidir=DIR dvi documentation [DOCDIR] 1658 --pdfdir=DIR pdf documentation [DOCDIR] 1659 --psdir=DIR ps documentation [DOCDIR] 1660_ACEOF 1661 1662 cat <<\_ACEOF 1663 1664Program names: 1665 --program-prefix=PREFIX prepend PREFIX to installed program names 1666 --program-suffix=SUFFIX append SUFFIX to installed program names 1667 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1668 1669System types: 1670 --build=BUILD configure for building on BUILD [guessed] 1671 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1672_ACEOF 1673fi 1674 1675if test -n "$ac_init_help"; then 1676 case $ac_init_help in 1677 short | recursive ) echo "Configuration of avahi 0.6.31:";; 1678 esac 1679 cat <<\_ACEOF 1680 1681Optional Features: 1682 --disable-option-checking ignore unrecognized --enable/--with options 1683 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1684 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1685 --enable-silent-rules less verbose build output (undo: `make V=1') 1686 --disable-silent-rules verbose build output (undo: `make V=0') 1687 --enable-maintainer-mode 1688 enable make rules and dependencies not useful (and 1689 sometimes confusing) to the casual installer 1690 --disable-dependency-tracking speeds up one-time build 1691 --enable-dependency-tracking do not reject slow dependency extractors 1692 --disable-stack-protector 1693 Disable GCC's/libc's stack-smashing protection 1694 --enable-shared[=PKGS] build shared libraries [default=yes] 1695 --enable-static[=PKGS] build static libraries [default=yes] 1696 --enable-fast-install[=PKGS] 1697 optimize for fast installation [default=yes] 1698 --disable-libtool-lock avoid locking (might break parallel builds) 1699 --disable-nls do not use Native Language Support 1700 --disable-glib Disable use of GLib 1701 --disable-gobject Disable use of GLib GObject 1702 --enable-introspection=[no/auto/yes] 1703 Enable introspection for this build 1704 --disable-qt3 Disable building of Qt3 mainloop integration 1705 --disable-qt4 Disable building of Qt4Core mainloop integration 1706 --disable-gtk Disable use of GTK+ 2 1707 --disable-gtk3 Disable use of GTK+ 3 1708 --disable-dbus Disable use of D-Bus 1709 --enable-dbm Enable use of DBM 1710 --disable-gdbm Disable use of GDBM 1711 --disable-libdaemon Disable use of libdaemon 1712 --disable-python Disable scripts that depends on python 1713 --disable-pygtk Disable use of GTK in Python 1714 --disable-python-dbus Disable use of D-Bus in Python 1715 --disable-mono Disable mono bindings 1716 --disable-monodoc Disable documentation for mono bindings 1717 --disable-autoipd Disable building of avahi-autoipd 1718 --disable-doxygen-doc don't generate any doxygen documentation 1719 --disable-doxygen-dot don't generate graphics for doxygen documentation 1720 --enable-doxygen-man generate doxygen manual pages 1721 --enable-doxygen-rtf generate doxygen RTF documentation 1722 --disable-doxygen-xml don't generate doxygen XML documentation 1723 --enable-doxygen-chm generate doxygen compressed HTML help documentation 1724 --enable-doxygen-chi generate doxygen seperate compressed HTML help index 1725 file 1726 --disable-doxygen-html don't generate doxygen plain HTML documentation 1727 --enable-doxygen-ps generate doxygen PostScript documentation 1728 --enable-doxygen-pdf generate doxygen PDF documentation 1729 --enable-core-docs Enable building of documentation for avahi-core 1730 --disable-manpages Disable building and installation of man pages 1731 --disable-xmltoman Disable rebuilding of man pages with xmltoman 1732 --enable-tests Enable building of tests and examples 1733 --enable-compat-libdns_sd 1734 Enable compatibility layer for libdns_sd 1735 --enable-compat-howl Enable compatibility layer for HOWL 1736 1737Optional Packages: 1738 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1739 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1740 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1741 both] 1742 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1743 --with-sysroot=DIR Search for dependent libraries within DIR 1744 (or the compiler's sysroot if not specified). 1745 --with-distro=DISTRO Specify the distribution to target: One of lfs, 1746 debian, gentoo, archlinux, fedora, mandriva, darwin, 1747 netbsd, freebsd, slackware or none 1748 --with-dbus-sys=<dir> Path to D-Bus system.d directory 1749 --with-dbus-system-address=<address> 1750 Path to the D-Bus system socket, you probably want 1751 to put unix:path= at the start. Only needed for very 1752 old D-Bus releases 1753 --with-xml=expat/bsdxml/none 1754 XML library to use 1755 --with-avahi-user=<user> 1756 User for running avahi-daemon (avahi) 1757 --with-avahi-group=<group> 1758 Group for running avahi-daemon (avahi) 1759 --with-avahi-priv-access-group=<group> 1760 Priviliged access group for Avahi clients (netdev) 1761 --with-autoipd-user=<user> 1762 User for running the avahi-autoipd daemon 1763 (avahi-autoipd) 1764 --with-autoipd-group=<group> 1765 Group for running the avahi-autoipd daemon 1766 (avahi-autoipd) 1767 --with-systemdsystemunitdir=DIR 1768 Directory for systemd service files 1769 1770Some influential environment variables: 1771 CC C compiler command 1772 CFLAGS C compiler flags 1773 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1774 nonstandard directory <lib dir> 1775 LIBS libraries to pass to the linker, e.g. -l<library> 1776 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1777 you have headers in a nonstandard directory <include dir> 1778 CXX C++ compiler command 1779 CXXFLAGS C++ compiler flags 1780 CPP C preprocessor 1781 CXXCPP C++ preprocessor 1782 PKG_CONFIG path to pkg-config utility 1783 GLIB20_CFLAGS 1784 C compiler flags for GLIB20, overriding pkg-config 1785 GLIB20_LIBS linker flags for GLIB20, overriding pkg-config 1786 GOBJECT_CFLAGS 1787 C compiler flags for GOBJECT, overriding pkg-config 1788 GOBJECT_LIBS 1789 linker flags for GOBJECT, overriding pkg-config 1790 QT3_CFLAGS C compiler flags for QT3, overriding pkg-config 1791 QT3_LIBS linker flags for QT3, overriding pkg-config 1792 QT4_CFLAGS C compiler flags for QT4, overriding pkg-config 1793 QT4_LIBS linker flags for QT4, overriding pkg-config 1794 GTK20_CFLAGS 1795 C compiler flags for GTK20, overriding pkg-config 1796 GTK20_LIBS linker flags for GTK20, overriding pkg-config 1797 GTK30_CFLAGS 1798 C compiler flags for GTK30, overriding pkg-config 1799 GTK30_LIBS linker flags for GTK30, overriding pkg-config 1800 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config 1801 DBUS_LIBS linker flags for DBUS, overriding pkg-config 1802 LIBDAEMON_CFLAGS 1803 C compiler flags for LIBDAEMON, overriding pkg-config 1804 LIBDAEMON_LIBS 1805 linker flags for LIBDAEMON, overriding pkg-config 1806 MONODOC_CFLAGS 1807 C compiler flags for MONODOC, overriding pkg-config 1808 MONODOC_LIBS 1809 linker flags for MONODOC, overriding pkg-config 1810 DOXYGEN_PAPER_SIZE 1811 a4wide (default), a4, letter, legal or executive 1812 1813Use these variables to override the choices made by `configure' or to help 1814it to find libraries and programs with nonstandard names/locations. 1815 1816Report bugs to <avahi (at) lists (dot) freedesktop (dot) org>. 1817_ACEOF 1818ac_status=$? 1819fi 1820 1821if test "$ac_init_help" = "recursive"; then 1822 # If there are subdirs, report their specific --help. 1823 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1824 test -d "$ac_dir" || 1825 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1826 continue 1827 ac_builddir=. 1828 1829case "$ac_dir" in 1830.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1831*) 1832 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1833 # A ".." for each directory in $ac_dir_suffix. 1834 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1835 case $ac_top_builddir_sub in 1836 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1837 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1838 esac ;; 1839esac 1840ac_abs_top_builddir=$ac_pwd 1841ac_abs_builddir=$ac_pwd$ac_dir_suffix 1842# for backward compatibility: 1843ac_top_builddir=$ac_top_build_prefix 1844 1845case $srcdir in 1846 .) # We are building in place. 1847 ac_srcdir=. 1848 ac_top_srcdir=$ac_top_builddir_sub 1849 ac_abs_top_srcdir=$ac_pwd ;; 1850 [\\/]* | ?:[\\/]* ) # Absolute name. 1851 ac_srcdir=$srcdir$ac_dir_suffix; 1852 ac_top_srcdir=$srcdir 1853 ac_abs_top_srcdir=$srcdir ;; 1854 *) # Relative name. 1855 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1856 ac_top_srcdir=$ac_top_build_prefix$srcdir 1857 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1858esac 1859ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1860 1861 cd "$ac_dir" || { ac_status=$?; continue; } 1862 # Check for guested configure. 1863 if test -f "$ac_srcdir/configure.gnu"; then 1864 echo && 1865 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1866 elif test -f "$ac_srcdir/configure"; then 1867 echo && 1868 $SHELL "$ac_srcdir/configure" --help=recursive 1869 else 1870 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1871 fi || ac_status=$? 1872 cd "$ac_pwd" || { ac_status=$?; break; } 1873 done 1874fi 1875 1876test -n "$ac_init_help" && exit $ac_status 1877if $ac_init_version; then 1878 cat <<\_ACEOF 1879avahi configure 0.6.31 1880generated by GNU Autoconf 2.67 1881 1882Copyright (C) 2010 Free Software Foundation, Inc. 1883This configure script is free software; the Free Software Foundation 1884gives unlimited permission to copy, distribute and modify it. 1885_ACEOF 1886 exit 1887fi 1888 1889## ------------------------ ## 1890## Autoconf initialization. ## 1891## ------------------------ ## 1892 1893# ac_fn_c_try_compile LINENO 1894# -------------------------- 1895# Try to compile conftest.$ac_ext, and return whether this succeeded. 1896ac_fn_c_try_compile () 1897{ 1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1899 rm -f conftest.$ac_objext 1900 if { { ac_try="$ac_compile" 1901case "(($ac_try" in 1902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1903 *) ac_try_echo=$ac_try;; 1904esac 1905eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1906$as_echo "$ac_try_echo"; } >&5 1907 (eval "$ac_compile") 2>conftest.err 1908 ac_status=$? 1909 if test -s conftest.err; then 1910 grep -v '^ *+' conftest.err >conftest.er1 1911 cat conftest.er1 >&5 1912 mv -f conftest.er1 conftest.err 1913 fi 1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1915 test $ac_status = 0; } && { 1916 test -z "$ac_c_werror_flag" || 1917 test ! -s conftest.err 1918 } && test -s conftest.$ac_objext; then : 1919 ac_retval=0 1920else 1921 $as_echo "$as_me: failed program was:" >&5 1922sed 's/^/| /' conftest.$ac_ext >&5 1923 1924 ac_retval=1 1925fi 1926 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1927 as_fn_set_status $ac_retval 1928 1929} # ac_fn_c_try_compile 1930 1931# ac_fn_cxx_try_compile LINENO 1932# ---------------------------- 1933# Try to compile conftest.$ac_ext, and return whether this succeeded. 1934ac_fn_cxx_try_compile () 1935{ 1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1937 rm -f conftest.$ac_objext 1938 if { { ac_try="$ac_compile" 1939case "(($ac_try" in 1940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1941 *) ac_try_echo=$ac_try;; 1942esac 1943eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1944$as_echo "$ac_try_echo"; } >&5 1945 (eval "$ac_compile") 2>conftest.err 1946 ac_status=$? 1947 if test -s conftest.err; then 1948 grep -v '^ *+' conftest.err >conftest.er1 1949 cat conftest.er1 >&5 1950 mv -f conftest.er1 conftest.err 1951 fi 1952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1953 test $ac_status = 0; } && { 1954 test -z "$ac_cxx_werror_flag" || 1955 test ! -s conftest.err 1956 } && test -s conftest.$ac_objext; then : 1957 ac_retval=0 1958else 1959 $as_echo "$as_me: failed program was:" >&5 1960sed 's/^/| /' conftest.$ac_ext >&5 1961 1962 ac_retval=1 1963fi 1964 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1965 as_fn_set_status $ac_retval 1966 1967} # ac_fn_cxx_try_compile 1968 1969# ac_fn_c_try_cpp LINENO 1970# ---------------------- 1971# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1972ac_fn_c_try_cpp () 1973{ 1974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1975 if { { ac_try="$ac_cpp conftest.$ac_ext" 1976case "(($ac_try" in 1977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1978 *) ac_try_echo=$ac_try;; 1979esac 1980eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1981$as_echo "$ac_try_echo"; } >&5 1982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1983 ac_status=$? 1984 if test -s conftest.err; then 1985 grep -v '^ *+' conftest.err >conftest.er1 1986 cat conftest.er1 >&5 1987 mv -f conftest.er1 conftest.err 1988 fi 1989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1990 test $ac_status = 0; } > conftest.i && { 1991 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1992 test ! -s conftest.err 1993 }; then : 1994 ac_retval=0 1995else 1996 $as_echo "$as_me: failed program was:" >&5 1997sed 's/^/| /' conftest.$ac_ext >&5 1998 1999 ac_retval=1 2000fi 2001 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2002 as_fn_set_status $ac_retval 2003 2004} # ac_fn_c_try_cpp 2005 2006# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2007# ------------------------------------------------------- 2008# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2009# the include files in INCLUDES and setting the cache variable VAR 2010# accordingly. 2011ac_fn_c_check_header_mongrel () 2012{ 2013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2014 if eval "test \"\${$3+set}\"" = set; then : 2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2016$as_echo_n "checking for $2... " >&6; } 2017if eval "test \"\${$3+set}\"" = set; then : 2018 $as_echo_n "(cached) " >&6 2019fi 2020eval ac_res=\$$3 2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2022$as_echo "$ac_res" >&6; } 2023else 2024 # Is the header compilable? 2025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2026$as_echo_n "checking $2 usability... " >&6; } 2027cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2028/* end confdefs.h. */ 2029$4 2030#include <$2> 2031_ACEOF 2032if ac_fn_c_try_compile "$LINENO"; then : 2033 ac_header_compiler=yes 2034else 2035 ac_header_compiler=no 2036fi 2037rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2039$as_echo "$ac_header_compiler" >&6; } 2040 2041# Is the header present? 2042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2043$as_echo_n "checking $2 presence... " >&6; } 2044cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2045/* end confdefs.h. */ 2046#include <$2> 2047_ACEOF 2048if ac_fn_c_try_cpp "$LINENO"; then : 2049 ac_header_preproc=yes 2050else 2051 ac_header_preproc=no 2052fi 2053rm -f conftest.err conftest.i conftest.$ac_ext 2054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2055$as_echo "$ac_header_preproc" >&6; } 2056 2057# So? What about this header? 2058case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2059 yes:no: ) 2060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2061$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2063$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2064 ;; 2065 no:yes:* ) 2066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2067$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2069$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2071$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2073$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2075$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2076( $as_echo "## ----------------------------------------------------------- ## 2077## Report this to avahi (at) lists (dot) freedesktop (dot) org ## 2078## ----------------------------------------------------------- ##" 2079 ) | sed "s/^/$as_me: WARNING: /" >&2 2080 ;; 2081esac 2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2083$as_echo_n "checking for $2... " >&6; } 2084if eval "test \"\${$3+set}\"" = set; then : 2085 $as_echo_n "(cached) " >&6 2086else 2087 eval "$3=\$ac_header_compiler" 2088fi 2089eval ac_res=\$$3 2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2091$as_echo "$ac_res" >&6; } 2092fi 2093 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2094 2095} # ac_fn_c_check_header_mongrel 2096 2097# ac_fn_c_try_run LINENO 2098# ---------------------- 2099# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2100# that executables *can* be run. 2101ac_fn_c_try_run () 2102{ 2103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2104 if { { ac_try="$ac_link" 2105case "(($ac_try" in 2106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2107 *) ac_try_echo=$ac_try;; 2108esac 2109eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2110$as_echo "$ac_try_echo"; } >&5 2111 (eval "$ac_link") 2>&5 2112 ac_status=$? 2113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2114 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2115 { { case "(($ac_try" in 2116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2117 *) ac_try_echo=$ac_try;; 2118esac 2119eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2120$as_echo "$ac_try_echo"; } >&5 2121 (eval "$ac_try") 2>&5 2122 ac_status=$? 2123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2124 test $ac_status = 0; }; }; then : 2125 ac_retval=0 2126else 2127 $as_echo "$as_me: program exited with status $ac_status" >&5 2128 $as_echo "$as_me: failed program was:" >&5 2129sed 's/^/| /' conftest.$ac_ext >&5 2130 2131 ac_retval=$ac_status 2132fi 2133 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2134 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2135 as_fn_set_status $ac_retval 2136 2137} # ac_fn_c_try_run 2138 2139# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2140# ------------------------------------------------------- 2141# Tests whether HEADER exists and can be compiled using the include files in 2142# INCLUDES, setting the cache variable VAR accordingly. 2143ac_fn_c_check_header_compile () 2144{ 2145 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2147$as_echo_n "checking for $2... " >&6; } 2148if eval "test \"\${$3+set}\"" = set; then : 2149 $as_echo_n "(cached) " >&6 2150else 2151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2152/* end confdefs.h. */ 2153$4 2154#include <$2> 2155_ACEOF 2156if ac_fn_c_try_compile "$LINENO"; then : 2157 eval "$3=yes" 2158else 2159 eval "$3=no" 2160fi 2161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2162fi 2163eval ac_res=\$$3 2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2165$as_echo "$ac_res" >&6; } 2166 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2167 2168} # ac_fn_c_check_header_compile 2169 2170# ac_fn_c_try_link LINENO 2171# ----------------------- 2172# Try to link conftest.$ac_ext, and return whether this succeeded. 2173ac_fn_c_try_link () 2174{ 2175 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2176 rm -f conftest.$ac_objext conftest$ac_exeext 2177 if { { ac_try="$ac_link" 2178case "(($ac_try" in 2179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2180 *) ac_try_echo=$ac_try;; 2181esac 2182eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2183$as_echo "$ac_try_echo"; } >&5 2184 (eval "$ac_link") 2>conftest.err 2185 ac_status=$? 2186 if test -s conftest.err; then 2187 grep -v '^ *+' conftest.err >conftest.er1 2188 cat conftest.er1 >&5 2189 mv -f conftest.er1 conftest.err 2190 fi 2191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2192 test $ac_status = 0; } && { 2193 test -z "$ac_c_werror_flag" || 2194 test ! -s conftest.err 2195 } && test -s conftest$ac_exeext && { 2196 test "$cross_compiling" = yes || 2197 $as_test_x conftest$ac_exeext 2198 }; then : 2199 ac_retval=0 2200else 2201 $as_echo "$as_me: failed program was:" >&5 2202sed 's/^/| /' conftest.$ac_ext >&5 2203 2204 ac_retval=1 2205fi 2206 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2207 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2208 # interfere with the next link command; also delete a directory that is 2209 # left behind by Apple's compiler. We do this before executing the actions. 2210 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2211 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2212 as_fn_set_status $ac_retval 2213 2214} # ac_fn_c_try_link 2215 2216# ac_fn_c_check_func LINENO FUNC VAR 2217# ---------------------------------- 2218# Tests whether FUNC exists, setting the cache variable VAR accordingly 2219ac_fn_c_check_func () 2220{ 2221 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2223$as_echo_n "checking for $2... " >&6; } 2224if eval "test \"\${$3+set}\"" = set; then : 2225 $as_echo_n "(cached) " >&6 2226else 2227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2228/* end confdefs.h. */ 2229/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2230 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2231#define $2 innocuous_$2 2232 2233/* System header to define __stub macros and hopefully few prototypes, 2234 which can conflict with char $2 (); below. 2235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2236 <limits.h> exists even on freestanding compilers. */ 2237 2238#ifdef __STDC__ 2239# include <limits.h> 2240#else 2241# include <assert.h> 2242#endif 2243 2244#undef $2 2245 2246/* Override any GCC internal prototype to avoid an error. 2247 Use char because int might match the return type of a GCC 2248 builtin and then its argument prototype would still apply. */ 2249#ifdef __cplusplus 2250extern "C" 2251#endif 2252char $2 (); 2253/* The GNU C library defines this for functions which it implements 2254 to always fail with ENOSYS. Some functions are actually named 2255 something starting with __ and the normal name is an alias. */ 2256#if defined __stub_$2 || defined __stub___$2 2257choke me 2258#endif 2259 2260int 2261main () 2262{ 2263return $2 (); 2264 ; 2265 return 0; 2266} 2267_ACEOF 2268if ac_fn_c_try_link "$LINENO"; then : 2269 eval "$3=yes" 2270else 2271 eval "$3=no" 2272fi 2273rm -f core conftest.err conftest.$ac_objext \ 2274 conftest$ac_exeext conftest.$ac_ext 2275fi 2276eval ac_res=\$$3 2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2278$as_echo "$ac_res" >&6; } 2279 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2280 2281} # ac_fn_c_check_func 2282 2283# ac_fn_cxx_try_cpp LINENO 2284# ------------------------ 2285# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2286ac_fn_cxx_try_cpp () 2287{ 2288 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2289 if { { ac_try="$ac_cpp conftest.$ac_ext" 2290case "(($ac_try" in 2291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2292 *) ac_try_echo=$ac_try;; 2293esac 2294eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2295$as_echo "$ac_try_echo"; } >&5 2296 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2297 ac_status=$? 2298 if test -s conftest.err; then 2299 grep -v '^ *+' conftest.err >conftest.er1 2300 cat conftest.er1 >&5 2301 mv -f conftest.er1 conftest.err 2302 fi 2303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2304 test $ac_status = 0; } > conftest.i && { 2305 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2306 test ! -s conftest.err 2307 }; then : 2308 ac_retval=0 2309else 2310 $as_echo "$as_me: failed program was:" >&5 2311sed 's/^/| /' conftest.$ac_ext >&5 2312 2313 ac_retval=1 2314fi 2315 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2316 as_fn_set_status $ac_retval 2317 2318} # ac_fn_cxx_try_cpp 2319 2320# ac_fn_cxx_try_link LINENO 2321# ------------------------- 2322# Try to link conftest.$ac_ext, and return whether this succeeded. 2323ac_fn_cxx_try_link () 2324{ 2325 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2326 rm -f conftest.$ac_objext conftest$ac_exeext 2327 if { { ac_try="$ac_link" 2328case "(($ac_try" in 2329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2330 *) ac_try_echo=$ac_try;; 2331esac 2332eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2333$as_echo "$ac_try_echo"; } >&5 2334 (eval "$ac_link") 2>conftest.err 2335 ac_status=$? 2336 if test -s conftest.err; then 2337 grep -v '^ *+' conftest.err >conftest.er1 2338 cat conftest.er1 >&5 2339 mv -f conftest.er1 conftest.err 2340 fi 2341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2342 test $ac_status = 0; } && { 2343 test -z "$ac_cxx_werror_flag" || 2344 test ! -s conftest.err 2345 } && test -s conftest$ac_exeext && { 2346 test "$cross_compiling" = yes || 2347 $as_test_x conftest$ac_exeext 2348 }; then : 2349 ac_retval=0 2350else 2351 $as_echo "$as_me: failed program was:" >&5 2352sed 's/^/| /' conftest.$ac_ext >&5 2353 2354 ac_retval=1 2355fi 2356 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2357 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2358 # interfere with the next link command; also delete a directory that is 2359 # left behind by Apple's compiler. We do this before executing the actions. 2360 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2361 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2362 as_fn_set_status $ac_retval 2363 2364} # ac_fn_cxx_try_link 2365 2366# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2367# ------------------------------------------- 2368# Tests whether TYPE exists after having included INCLUDES, setting cache 2369# variable VAR accordingly. 2370ac_fn_c_check_type () 2371{ 2372 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2374$as_echo_n "checking for $2... " >&6; } 2375if eval "test \"\${$3+set}\"" = set; then : 2376 $as_echo_n "(cached) " >&6 2377else 2378 eval "$3=no" 2379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2380/* end confdefs.h. */ 2381$4 2382int 2383main () 2384{ 2385if (sizeof ($2)) 2386 return 0; 2387 ; 2388 return 0; 2389} 2390_ACEOF 2391if ac_fn_c_try_compile "$LINENO"; then : 2392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2393/* end confdefs.h. */ 2394$4 2395int 2396main () 2397{ 2398if (sizeof (($2))) 2399 return 0; 2400 ; 2401 return 0; 2402} 2403_ACEOF 2404if ac_fn_c_try_compile "$LINENO"; then : 2405 2406else 2407 eval "$3=yes" 2408fi 2409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2410fi 2411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2412fi 2413eval ac_res=\$$3 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2415$as_echo "$ac_res" >&6; } 2416 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2417 2418} # ac_fn_c_check_type 2419 2420# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2421# --------------------------------------------- 2422# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2423# accordingly. 2424ac_fn_c_check_decl () 2425{ 2426 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2427 as_decl_name=`echo $2|sed 's/ *(.*//'` 2428 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2430$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2431if eval "test \"\${$3+set}\"" = set; then : 2432 $as_echo_n "(cached) " >&6 2433else 2434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2435/* end confdefs.h. */ 2436$4 2437int 2438main () 2439{ 2440#ifndef $as_decl_name 2441#ifdef __cplusplus 2442 (void) $as_decl_use; 2443#else 2444 (void) $as_decl_name; 2445#endif 2446#endif 2447 2448 ; 2449 return 0; 2450} 2451_ACEOF 2452if ac_fn_c_try_compile "$LINENO"; then : 2453 eval "$3=yes" 2454else 2455 eval "$3=no" 2456fi 2457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2458fi 2459eval ac_res=\$$3 2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2461$as_echo "$ac_res" >&6; } 2462 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2463 2464} # ac_fn_c_check_decl 2465cat >config.log <<_ACEOF 2466This file contains any messages produced by compilers while 2467running configure, to aid debugging if configure makes a mistake. 2468 2469It was created by avahi $as_me 0.6.31, which was 2470generated by GNU Autoconf 2.67. Invocation command line was 2471 2472 $ $0 $@ 2473 2474_ACEOF 2475exec 5>>config.log 2476{ 2477cat <<_ASUNAME 2478## --------- ## 2479## Platform. ## 2480## --------- ## 2481 2482hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2483uname -m = `(uname -m) 2>/dev/null || echo unknown` 2484uname -r = `(uname -r) 2>/dev/null || echo unknown` 2485uname -s = `(uname -s) 2>/dev/null || echo unknown` 2486uname -v = `(uname -v) 2>/dev/null || echo unknown` 2487 2488/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2489/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2490 2491/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2492/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2493/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2494/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2495/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2496/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2497/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2498 2499_ASUNAME 2500 2501as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2502for as_dir in $PATH 2503do 2504 IFS=$as_save_IFS 2505 test -z "$as_dir" && as_dir=. 2506 $as_echo "PATH: $as_dir" 2507 done 2508IFS=$as_save_IFS 2509 2510} >&5 2511 2512cat >&5 <<_ACEOF 2513 2514 2515## ----------- ## 2516## Core tests. ## 2517## ----------- ## 2518 2519_ACEOF 2520 2521 2522# Keep a trace of the command line. 2523# Strip out --no-create and --no-recursion so they do not pile up. 2524# Strip out --silent because we don't want to record it for future runs. 2525# Also quote any args containing shell meta-characters. 2526# Make two passes to allow for proper duplicate-argument suppression. 2527ac_configure_args= 2528ac_configure_args0= 2529ac_configure_args1= 2530ac_must_keep_next=false 2531for ac_pass in 1 2 2532do 2533 for ac_arg 2534 do 2535 case $ac_arg in 2536 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2538 | -silent | --silent | --silen | --sile | --sil) 2539 continue ;; 2540 *\'*) 2541 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2542 esac 2543 case $ac_pass in 2544 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2545 2) 2546 as_fn_append ac_configure_args1 " '$ac_arg'" 2547 if test $ac_must_keep_next = true; then 2548 ac_must_keep_next=false # Got value, back to normal. 2549 else 2550 case $ac_arg in 2551 *=* | --config-cache | -C | -disable-* | --disable-* \ 2552 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2553 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2554 | -with-* | --with-* | -without-* | --without-* | --x) 2555 case "$ac_configure_args0 " in 2556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2557 esac 2558 ;; 2559 -* ) ac_must_keep_next=true ;; 2560 esac 2561 fi 2562 as_fn_append ac_configure_args " '$ac_arg'" 2563 ;; 2564 esac 2565 done 2566done 2567{ ac_configure_args0=; unset ac_configure_args0;} 2568{ ac_configure_args1=; unset ac_configure_args1;} 2569 2570# When interrupted or exit'd, cleanup temporary files, and complete 2571# config.log. We remove comments because anyway the quotes in there 2572# would cause problems or look ugly. 2573# WARNING: Use '\'' to represent an apostrophe within the trap. 2574# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2575trap 'exit_status=$? 2576 # Save into config.log some information that might help in debugging. 2577 { 2578 echo 2579 2580 $as_echo "## ---------------- ## 2581## Cache variables. ## 2582## ---------------- ##" 2583 echo 2584 # The following way of writing the cache mishandles newlines in values, 2585( 2586 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2587 eval ac_val=\$$ac_var 2588 case $ac_val in #( 2589 *${as_nl}*) 2590 case $ac_var in #( 2591 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2592$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2593 esac 2594 case $ac_var in #( 2595 _ | IFS | as_nl) ;; #( 2596 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2597 *) { eval $ac_var=; unset $ac_var;} ;; 2598 esac ;; 2599 esac 2600 done 2601 (set) 2>&1 | 2602 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2603 *${as_nl}ac_space=\ *) 2604 sed -n \ 2605 "s/'\''/'\''\\\\'\'''\''/g; 2606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2607 ;; #( 2608 *) 2609 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2610 ;; 2611 esac | 2612 sort 2613) 2614 echo 2615 2616 $as_echo "## ----------------- ## 2617## Output variables. ## 2618## ----------------- ##" 2619 echo 2620 for ac_var in $ac_subst_vars 2621 do 2622 eval ac_val=\$$ac_var 2623 case $ac_val in 2624 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2625 esac 2626 $as_echo "$ac_var='\''$ac_val'\''" 2627 done | sort 2628 echo 2629 2630 if test -n "$ac_subst_files"; then 2631 $as_echo "## ------------------- ## 2632## File substitutions. ## 2633## ------------------- ##" 2634 echo 2635 for ac_var in $ac_subst_files 2636 do 2637 eval ac_val=\$$ac_var 2638 case $ac_val in 2639 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2640 esac 2641 $as_echo "$ac_var='\''$ac_val'\''" 2642 done | sort 2643 echo 2644 fi 2645 2646 if test -s confdefs.h; then 2647 $as_echo "## ----------- ## 2648## confdefs.h. ## 2649## ----------- ##" 2650 echo 2651 cat confdefs.h 2652 echo 2653 fi 2654 test "$ac_signal" != 0 && 2655 $as_echo "$as_me: caught signal $ac_signal" 2656 $as_echo "$as_me: exit $exit_status" 2657 } >&5 2658 rm -f core *.core core.conftest.* && 2659 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2660 exit $exit_status 2661' 0 2662for ac_signal in 1 2 13 15; do 2663 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2664done 2665ac_signal=0 2666 2667# confdefs.h avoids OS command line length limits that DEFS can exceed. 2668rm -f -r conftest* confdefs.h 2669 2670$as_echo "/* confdefs.h */" > confdefs.h 2671 2672# Predefined preprocessor variables. 2673 2674cat >>confdefs.h <<_ACEOF 2675#define PACKAGE_NAME "$PACKAGE_NAME" 2676_ACEOF 2677 2678cat >>confdefs.h <<_ACEOF 2679#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2680_ACEOF 2681 2682cat >>confdefs.h <<_ACEOF 2683#define PACKAGE_VERSION "$PACKAGE_VERSION" 2684_ACEOF 2685 2686cat >>confdefs.h <<_ACEOF 2687#define PACKAGE_STRING "$PACKAGE_STRING" 2688_ACEOF 2689 2690cat >>confdefs.h <<_ACEOF 2691#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2692_ACEOF 2693 2694cat >>confdefs.h <<_ACEOF 2695#define PACKAGE_URL "$PACKAGE_URL" 2696_ACEOF 2697 2698 2699# Let the site file select an alternate cache file if it wants to. 2700# Prefer an explicitly selected file to automatically selected ones. 2701ac_site_file1=NONE 2702ac_site_file2=NONE 2703if test -n "$CONFIG_SITE"; then 2704 # We do not want a PATH search for config.site. 2705 case $CONFIG_SITE in #(( 2706 -*) ac_site_file1=./$CONFIG_SITE;; 2707 */*) ac_site_file1=$CONFIG_SITE;; 2708 *) ac_site_file1=./$CONFIG_SITE;; 2709 esac 2710elif test "x$prefix" != xNONE; then 2711 ac_site_file1=$prefix/share/config.site 2712 ac_site_file2=$prefix/etc/config.site 2713else 2714 ac_site_file1=$ac_default_prefix/share/config.site 2715 ac_site_file2=$ac_default_prefix/etc/config.site 2716fi 2717for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2718do 2719 test "x$ac_site_file" = xNONE && continue 2720 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2721 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2722$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2723 sed 's/^/| /' "$ac_site_file" >&5 2724 . "$ac_site_file" \ 2725 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2726$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2727as_fn_error $? "failed to load site script $ac_site_file 2728See \`config.log' for more details" "$LINENO" 5 ; } 2729 fi 2730done 2731 2732if test -r "$cache_file"; then 2733 # Some versions of bash will fail to source /dev/null (special files 2734 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2735 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2736 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2737$as_echo "$as_me: loading cache $cache_file" >&6;} 2738 case $cache_file in 2739 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2740 *) . "./$cache_file";; 2741 esac 2742 fi 2743else 2744 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2745$as_echo "$as_me: creating cache $cache_file" >&6;} 2746 >$cache_file 2747fi 2748 2749# Check that the precious variables saved in the cache have kept the same 2750# value. 2751ac_cache_corrupted=false 2752for ac_var in $ac_precious_vars; do 2753 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2754 eval ac_new_set=\$ac_env_${ac_var}_set 2755 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2756 eval ac_new_val=\$ac_env_${ac_var}_value 2757 case $ac_old_set,$ac_new_set in 2758 set,) 2759 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2760$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2761 ac_cache_corrupted=: ;; 2762 ,set) 2763 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2764$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2765 ac_cache_corrupted=: ;; 2766 ,);; 2767 *) 2768 if test "x$ac_old_val" != "x$ac_new_val"; then 2769 # differences in whitespace do not lead to failure. 2770 ac_old_val_w=`echo x $ac_old_val` 2771 ac_new_val_w=`echo x $ac_new_val` 2772 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2774$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2775 ac_cache_corrupted=: 2776 else 2777 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2778$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2779 eval $ac_var=\$ac_old_val 2780 fi 2781 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2782$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2783 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2784$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2785 fi;; 2786 esac 2787 # Pass precious variables to config.status. 2788 if test "$ac_new_set" = set; then 2789 case $ac_new_val in 2790 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2791 *) ac_arg=$ac_var=$ac_new_val ;; 2792 esac 2793 case " $ac_configure_args " in 2794 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2795 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2796 esac 2797 fi 2798done 2799if $ac_cache_corrupted; then 2800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2801$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2802 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2803$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2804 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2805fi 2806## -------------------- ## 2807## Main body of script. ## 2808## -------------------- ## 2809 2810ac_ext=c 2811ac_cpp='$CPP $CPPFLAGS' 2812ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2813ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2814ac_compiler_gnu=$ac_cv_c_compiler_gnu 2815 2816 2817 2818 2819ac_config_headers="$ac_config_headers config.h" 2820 2821am__api_version='1.11' 2822 2823ac_aux_dir= 2824for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2825 if test -f "$ac_dir/install-sh"; then 2826 ac_aux_dir=$ac_dir 2827 ac_install_sh="$ac_aux_dir/install-sh -c" 2828 break 2829 elif test -f "$ac_dir/install.sh"; then 2830 ac_aux_dir=$ac_dir 2831 ac_install_sh="$ac_aux_dir/install.sh -c" 2832 break 2833 elif test -f "$ac_dir/shtool"; then 2834 ac_aux_dir=$ac_dir 2835 ac_install_sh="$ac_aux_dir/shtool install -c" 2836 break 2837 fi 2838done 2839if test -z "$ac_aux_dir"; then 2840 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2841fi 2842 2843# These three variables are undocumented and unsupported, 2844# and are intended to be withdrawn in a future Autoconf release. 2845# They can cause serious problems if a builder's source tree is in a directory 2846# whose full name contains unusual characters. 2847ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2848ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2849ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2850 2851 2852# Find a good install program. We prefer a C program (faster), 2853# so one script is as good as another. But avoid the broken or 2854# incompatible versions: 2855# SysV /etc/install, /usr/sbin/install 2856# SunOS /usr/etc/install 2857# IRIX /sbin/install 2858# AIX /bin/install 2859# AmigaOS /C/install, which installs bootblocks on floppy discs 2860# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2861# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2862# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2863# OS/2's system install, which has a completely different semantic 2864# ./install, which can be erroneously created by make from ./install.sh. 2865# Reject install programs that cannot install multiple files. 2866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2867$as_echo_n "checking for a BSD-compatible install... " >&6; } 2868if test -z "$INSTALL"; then 2869if test "${ac_cv_path_install+set}" = set; then : 2870 $as_echo_n "(cached) " >&6 2871else 2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2873for as_dir in $PATH 2874do 2875 IFS=$as_save_IFS 2876 test -z "$as_dir" && as_dir=. 2877 # Account for people who put trailing slashes in PATH elements. 2878case $as_dir/ in #(( 2879 ./ | .// | /[cC]/* | \ 2880 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2881 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2882 /usr/ucb/* ) ;; 2883 *) 2884 # OSF1 and SCO ODT 3.0 have their own names for install. 2885 # Don't use installbsd from OSF since it installs stuff as root 2886 # by default. 2887 for ac_prog in ginstall scoinst install; do 2888 for ac_exec_ext in '' $ac_executable_extensions; do 2889 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2890 if test $ac_prog = install && 2891 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2892 # AIX install. It has an incompatible calling convention. 2893 : 2894 elif test $ac_prog = install && 2895 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2896 # program-specific install script used by HP pwplus--don't use. 2897 : 2898 else 2899 rm -rf conftest.one conftest.two conftest.dir 2900 echo one > conftest.one 2901 echo two > conftest.two 2902 mkdir conftest.dir 2903 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2904 test -s conftest.one && test -s conftest.two && 2905 test -s conftest.dir/conftest.one && 2906 test -s conftest.dir/conftest.two 2907 then 2908 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2909 break 3 2910 fi 2911 fi 2912 fi 2913 done 2914 done 2915 ;; 2916esac 2917 2918 done 2919IFS=$as_save_IFS 2920 2921rm -rf conftest.one conftest.two conftest.dir 2922 2923fi 2924 if test "${ac_cv_path_install+set}" = set; then 2925 INSTALL=$ac_cv_path_install 2926 else 2927 # As a last resort, use the slow shell script. Don't cache a 2928 # value for INSTALL within a source directory, because that will 2929 # break other packages using the cache if that directory is 2930 # removed, or if the value is a relative name. 2931 INSTALL=$ac_install_sh 2932 fi 2933fi 2934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2935$as_echo "$INSTALL" >&6; } 2936 2937# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2938# It thinks the first close brace ends the variable substitution. 2939test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2940 2941test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2942 2943test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2944 2945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2946$as_echo_n "checking whether build environment is sane... " >&6; } 2947# Just in case 2948sleep 1 2949echo timestamp > conftest.file 2950# Reject unsafe characters in $srcdir or the absolute working directory 2951# name. Accept space and tab only in the latter. 2952am_lf=' 2953' 2954case `pwd` in 2955 *[\\\"\#\$\&\'\`$am_lf]*) 2956 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; 2957esac 2958case $srcdir in 2959 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2960 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; 2961esac 2962 2963# Do `set' in a subshell so we don't clobber the current shell's 2964# arguments. Must try -L first in case configure is actually a 2965# symlink; some systems play weird games with the mod time of symlinks 2966# (eg FreeBSD returns the mod time of the symlink's containing 2967# directory). 2968if ( 2969 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2970 if test "$*" = "X"; then 2971 # -L didn't work. 2972 set X `ls -t "$srcdir/configure" conftest.file` 2973 fi 2974 rm -f conftest.file 2975 if test "$*" != "X $srcdir/configure conftest.file" \ 2976 && test "$*" != "X conftest.file $srcdir/configure"; then 2977 2978 # If neither matched, then we have a broken ls. This can happen 2979 # if, for instance, CONFIG_SHELL is bash and it inherits a 2980 # broken ls alias from the environment. This has actually 2981 # happened. Such a system could not be considered "sane". 2982 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2983alias in your environment" "$LINENO" 5 2984 fi 2985 2986 test "$2" = conftest.file 2987 ) 2988then 2989 # Ok. 2990 : 2991else 2992 as_fn_error $? "newly created file is older than distributed files! 2993Check your system clock" "$LINENO" 5 2994fi 2995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2996$as_echo "yes" >&6; } 2997test "$program_prefix" != NONE && 2998 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2999# Use a double $ so make ignores it. 3000test "$program_suffix" != NONE && 3001 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3002# Double any \ or $. 3003# By default was `s,x,x', remove it if useless. 3004ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3005program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3006 3007# expand $ac_aux_dir to an absolute path 3008am_aux_dir=`cd $ac_aux_dir && pwd` 3009 3010if test x"${MISSING+set}" != xset; then 3011 case $am_aux_dir in 3012 *\ * | *\ *) 3013 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3014 *) 3015 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3016 esac 3017fi 3018# Use eval to expand $SHELL 3019if eval "$MISSING --run true"; then 3020 am_missing_run="$MISSING --run " 3021else 3022 am_missing_run= 3023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 3024$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 3025fi 3026 3027if test x"${install_sh}" != xset; then 3028 case $am_aux_dir in 3029 *\ * | *\ *) 3030 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3031 *) 3032 install_sh="\${SHELL} $am_aux_dir/install-sh" 3033 esac 3034fi 3035 3036# Installed binaries are usually stripped using `strip' when the user 3037# run `make install-strip'. However `strip' might not be the right 3038# tool to use in cross-compilation environments, therefore Automake 3039# will honor the `STRIP' environment variable to overrule this program. 3040if test "$cross_compiling" != no; then 3041 if test -n "$ac_tool_prefix"; then 3042 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3043set dummy ${ac_tool_prefix}strip; ac_word=$2 3044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3045$as_echo_n "checking for $ac_word... " >&6; } 3046if test "${ac_cv_prog_STRIP+set}" = set; then : 3047 $as_echo_n "(cached) " >&6 3048else 3049 if test -n "$STRIP"; then 3050 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3051else 3052as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3053for as_dir in $PATH 3054do 3055 IFS=$as_save_IFS 3056 test -z "$as_dir" && as_dir=. 3057 for ac_exec_ext in '' $ac_executable_extensions; do 3058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3059 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3061 break 2 3062 fi 3063done 3064 done 3065IFS=$as_save_IFS 3066 3067fi 3068fi 3069STRIP=$ac_cv_prog_STRIP 3070if test -n "$STRIP"; then 3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3072$as_echo "$STRIP" >&6; } 3073else 3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3075$as_echo "no" >&6; } 3076fi 3077 3078 3079fi 3080if test -z "$ac_cv_prog_STRIP"; then 3081 ac_ct_STRIP=$STRIP 3082 # Extract the first word of "strip", so it can be a program name with args. 3083set dummy strip; ac_word=$2 3084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3085$as_echo_n "checking for $ac_word... " >&6; } 3086if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 3087 $as_echo_n "(cached) " >&6 3088else 3089 if test -n "$ac_ct_STRIP"; then 3090 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3091else 3092as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3093for as_dir in $PATH 3094do 3095 IFS=$as_save_IFS 3096 test -z "$as_dir" && as_dir=. 3097 for ac_exec_ext in '' $ac_executable_extensions; do 3098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3099 ac_cv_prog_ac_ct_STRIP="strip" 3100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3101 break 2 3102 fi 3103done 3104 done 3105IFS=$as_save_IFS 3106 3107fi 3108fi 3109ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3110if test -n "$ac_ct_STRIP"; then 3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3112$as_echo "$ac_ct_STRIP" >&6; } 3113else 3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3115$as_echo "no" >&6; } 3116fi 3117 3118 if test "x$ac_ct_STRIP" = x; then 3119 STRIP=":" 3120 else 3121 case $cross_compiling:$ac_tool_warned in 3122yes:) 3123{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3124$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3125ac_tool_warned=yes ;; 3126esac 3127 STRIP=$ac_ct_STRIP 3128 fi 3129else 3130 STRIP="$ac_cv_prog_STRIP" 3131fi 3132 3133fi 3134INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3135 3136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3137$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3138if test -z "$MKDIR_P"; then 3139 if test "${ac_cv_path_mkdir+set}" = set; then : 3140 $as_echo_n "(cached) " >&6 3141else 3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3143for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3144do 3145 IFS=$as_save_IFS 3146 test -z "$as_dir" && as_dir=. 3147 for ac_prog in mkdir gmkdir; do 3148 for ac_exec_ext in '' $ac_executable_extensions; do 3149 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 3150 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3151 'mkdir (GNU coreutils) '* | \ 3152 'mkdir (coreutils) '* | \ 3153 'mkdir (fileutils) '4.1*) 3154 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3155 break 3;; 3156 esac 3157 done 3158 done 3159 done 3160IFS=$as_save_IFS 3161 3162fi 3163 3164 test -d ./--version && rmdir ./--version 3165 if test "${ac_cv_path_mkdir+set}" = set; then 3166 MKDIR_P="$ac_cv_path_mkdir -p" 3167 else 3168 # As a last resort, use the slow shell script. Don't cache a 3169 # value for MKDIR_P within a source directory, because that will 3170 # break other packages using the cache if that directory is 3171 # removed, or if the value is a relative name. 3172 MKDIR_P="$ac_install_sh -d" 3173 fi 3174fi 3175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3176$as_echo "$MKDIR_P" >&6; } 3177 3178mkdir_p="$MKDIR_P" 3179case $mkdir_p in 3180 [\\/$]* | ?:[\\/]*) ;; 3181 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 3182esac 3183 3184for ac_prog in gawk mawk nawk awk 3185do 3186 # Extract the first word of "$ac_prog", so it can be a program name with args. 3187set dummy $ac_prog; ac_word=$2 3188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3189$as_echo_n "checking for $ac_word... " >&6; } 3190if test "${ac_cv_prog_AWK+set}" = set; then : 3191 $as_echo_n "(cached) " >&6 3192else 3193 if test -n "$AWK"; then 3194 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3195else 3196as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3197for as_dir in $PATH 3198do 3199 IFS=$as_save_IFS 3200 test -z "$as_dir" && as_dir=. 3201 for ac_exec_ext in '' $ac_executable_extensions; do 3202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3203 ac_cv_prog_AWK="$ac_prog" 3204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3205 break 2 3206 fi 3207done 3208 done 3209IFS=$as_save_IFS 3210 3211fi 3212fi 3213AWK=$ac_cv_prog_AWK 3214if test -n "$AWK"; then 3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3216$as_echo "$AWK" >&6; } 3217else 3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3219$as_echo "no" >&6; } 3220fi 3221 3222 3223 test -n "$AWK" && break 3224done 3225 3226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3227$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3228set x ${MAKE-make} 3229ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3230if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 3231 $as_echo_n "(cached) " >&6 3232else 3233 cat >conftest.make <<\_ACEOF 3234SHELL = /bin/sh 3235all: 3236 @echo '@@@%%%=$(MAKE)=@@@%%%' 3237_ACEOF 3238# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3239case `${MAKE-make} -f conftest.make 2>/dev/null` in 3240 *@@@%%%=?*=@@@%%%*) 3241 eval ac_cv_prog_make_${ac_make}_set=yes;; 3242 *) 3243 eval ac_cv_prog_make_${ac_make}_set=no;; 3244esac 3245rm -f conftest.make 3246fi 3247if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3249$as_echo "yes" >&6; } 3250 SET_MAKE= 3251else 3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3253$as_echo "no" >&6; } 3254 SET_MAKE="MAKE=${MAKE-make}" 3255fi 3256 3257rm -rf .tst 2>/dev/null 3258mkdir .tst 2>/dev/null 3259if test -d .tst; then 3260 am__leading_dot=. 3261else 3262 am__leading_dot=_ 3263fi 3264rmdir .tst 2>/dev/null 3265 3266# Check whether --enable-silent-rules was given. 3267if test "${enable_silent_rules+set}" = set; then : 3268 enableval=$enable_silent_rules; 3269fi 3270 3271case $enable_silent_rules in 3272yes) AM_DEFAULT_VERBOSITY=0;; 3273no) AM_DEFAULT_VERBOSITY=1;; 3274*) AM_DEFAULT_VERBOSITY=1;; 3275esac 3276AM_BACKSLASH='\' 3277 3278if test "`cd $srcdir && pwd`" != "`pwd`"; then 3279 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3280 # is not polluted with repeated "-I." 3281 am__isrc=' -I$(srcdir)' 3282 # test to see if srcdir already configured 3283 if test -f $srcdir/config.status; then 3284 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3285 fi 3286fi 3287 3288# test whether we have cygpath 3289if test -z "$CYGPATH_W"; then 3290 if (cygpath --version) >/dev/null 2>/dev/null; then 3291 CYGPATH_W='cygpath -w' 3292 else 3293 CYGPATH_W=echo 3294 fi 3295fi 3296 3297 3298# Define the identity of the package. 3299 PACKAGE='avahi' 3300 VERSION='0.6.31' 3301 3302 3303cat >>confdefs.h <<_ACEOF 3304#define PACKAGE "$PACKAGE" 3305_ACEOF 3306 3307 3308cat >>confdefs.h <<_ACEOF 3309#define VERSION "$VERSION" 3310_ACEOF 3311 3312# Some tools Automake needs. 3313 3314ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3315 3316 3317AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3318 3319 3320AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3321 3322 3323AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3324 3325 3326MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3327 3328# We need awk for the "check" target. The system "awk" is bad on 3329# some platforms. 3330# Always define AMTAR for backward compatibility. 3331 3332AMTAR=${AMTAR-"${am_missing_run}tar"} 3333 3334 3335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 3336$as_echo_n "checking how to create a pax tar archive... " >&6; } 3337# Loop over all known methods to create a tar archive until one works. 3338_am_tools='gnutar pax cpio none' 3339_am_tools=${am_cv_prog_tar_pax-$_am_tools} 3340# Do not fold the above two line into one, because Tru64 sh and 3341# Solaris sh will not grok spaces in the rhs of `-'. 3342for _am_tool in $_am_tools 3343do 3344 case $_am_tool in 3345 gnutar) 3346 for _am_tar in tar gnutar gtar; 3347 do 3348 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3349 ($_am_tar --version) >&5 2>&5 3350 ac_status=$? 3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3352 (exit $ac_status); } && break 3353 done 3354 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"' 3355 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"' 3356 am__untar="$_am_tar -xf -" 3357 ;; 3358 plaintar) 3359 # Must skip GNU tar: if it does not support --format= it doesn't create 3360 # ustar tarball either. 3361 (tar --version) >/dev/null 2>&1 && continue 3362 am__tar='tar chf - "$$tardir"' 3363 am__tar_='tar chf - "$tardir"' 3364 am__untar='tar xf -' 3365 ;; 3366 pax) 3367 am__tar='pax -L -x pax -w "$$tardir"' 3368 am__tar_='pax -L -x pax -w "$tardir"' 3369 am__untar='pax -r' 3370 ;; 3371 cpio) 3372 am__tar='find "$$tardir" -print | cpio -o -H pax -L' 3373 am__tar_='find "$tardir" -print | cpio -o -H pax -L' 3374 am__untar='cpio -i -H pax -d' 3375 ;; 3376 none) 3377 am__tar=false 3378 am__tar_=false 3379 am__untar=false 3380 ;; 3381 esac 3382 3383 # If the value was cached, stop now. We just wanted to have am__tar 3384 # and am__untar set. 3385 test -n "${am_cv_prog_tar_pax}" && break 3386 3387 # tar/untar a dummy directory, and stop if the command works 3388 rm -rf conftest.dir 3389 mkdir conftest.dir 3390 echo GrepMe > conftest.dir/file 3391 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3392 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3393 ac_status=$? 3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3395 (exit $ac_status); } 3396 rm -rf conftest.dir 3397 if test -s conftest.tar; then 3398 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3399 ($am__untar <conftest.tar) >&5 2>&5 3400 ac_status=$? 3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3402 (exit $ac_status); } 3403 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3404 fi 3405done 3406rm -rf conftest.dir 3407 3408if test "${am_cv_prog_tar_pax+set}" = set; then : 3409 $as_echo_n "(cached) " >&6 3410else 3411 am_cv_prog_tar_pax=$_am_tool 3412fi 3413 3414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 3415$as_echo "$am_cv_prog_tar_pax" >&6; } 3416 3417 3418 3419 3420 3421 3422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3423$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3424 # Check whether --enable-maintainer-mode was given. 3425if test "${enable_maintainer_mode+set}" = set; then : 3426 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3427else 3428 USE_MAINTAINER_MODE=no 3429fi 3430 3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3432$as_echo "$USE_MAINTAINER_MODE" >&6; } 3433 if test $USE_MAINTAINER_MODE = yes; then 3434 MAINTAINER_MODE_TRUE= 3435 MAINTAINER_MODE_FALSE='#' 3436else 3437 MAINTAINER_MODE_TRUE='#' 3438 MAINTAINER_MODE_FALSE= 3439fi 3440 3441 MAINT=$MAINTAINER_MODE_TRUE 3442 3443 3444 3445PACKAGE_URL=http://avahi.org/ 3446 3447 3448LIBAVAHI_COMMON_VERSION_INFO=8:3:5 3449 3450LIBAVAHI_CORE_VERSION_INFO=7:2:0 3451 3452LIBAVAHI_CLIENT_VERSION_INFO=5:9:2 3453 3454LIBAVAHI_GLIB_VERSION_INFO=1:2:0 3455 3456LIBAVAHI_GOBJECT_VERSION_INFO=0:4:0 3457 3458LIBAVAHI_QT3_VERSION_INFO=1:2:0 3459 3460LIBAVAHI_QT4_VERSION_INFO=1:2:0 3461 3462LIBAVAHI_UI_VERSION_INFO=1:4:1 3463 3464 3465# Do not touch these, since they we took this version-info from upstream HOWL/Bonjour 3466LIBAVAHI_COMPAT_LIBDNS_SD_VERSION_INFO=1:0:0 3467 3468LIBAVAHI_COMPAT_HOWL_VERSION_INFO=0:0:0 3469 3470HOWL_COMPAT_VERSION=0.9.8 3471 3472 3473# Make sure we can run config.sub. 3474$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3475 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3476 3477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3478$as_echo_n "checking build system type... " >&6; } 3479if test "${ac_cv_build+set}" = set; then : 3480 $as_echo_n "(cached) " >&6 3481else 3482 ac_build_alias=$build_alias 3483test "x$ac_build_alias" = x && 3484 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3485test "x$ac_build_alias" = x && 3486 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3487ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3488 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3489 3490fi 3491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3492$as_echo "$ac_cv_build" >&6; } 3493case $ac_cv_build in 3494*-*-*) ;; 3495*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 3496esac 3497build=$ac_cv_build 3498ac_save_IFS=$IFS; IFS='-' 3499set x $ac_cv_build 3500shift 3501build_cpu=$1 3502build_vendor=$2 3503shift; shift 3504# Remember, the first character of IFS is used to create $*, 3505# except with old shells: 3506build_os=$* 3507IFS=$ac_save_IFS 3508case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3509 3510 3511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3512$as_echo_n "checking host system type... " >&6; } 3513if test "${ac_cv_host+set}" = set; then : 3514 $as_echo_n "(cached) " >&6 3515else 3516 if test "x$host_alias" = x; then 3517 ac_cv_host=$ac_cv_build 3518else 3519 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3520 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3521fi 3522 3523fi 3524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3525$as_echo "$ac_cv_host" >&6; } 3526case $ac_cv_host in 3527*-*-*) ;; 3528*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 3529esac 3530host=$ac_cv_host 3531ac_save_IFS=$IFS; IFS='-' 3532set x $ac_cv_host 3533shift 3534host_cpu=$1 3535host_vendor=$2 3536shift; shift 3537# Remember, the first character of IFS is used to create $*, 3538# except with old shells: 3539host_os=$* 3540IFS=$ac_save_IFS 3541case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3542 3543 3544 3545# Check whether --enable-silent-rules was given. 3546if test "${enable_silent_rules+set}" = set; then : 3547 enableval=$enable_silent_rules; 3548fi 3549 3550case $enable_silent_rules in 3551yes) AM_DEFAULT_VERBOSITY=0;; 3552no) AM_DEFAULT_VERBOSITY=1;; 3553*) AM_DEFAULT_VERBOSITY=0;; 3554esac 3555AM_BACKSLASH='\' 3556 3557 3558# Extract the first word of "stow", so it can be a program name with args. 3559set dummy stow; ac_word=$2 3560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3561$as_echo_n "checking for $ac_word... " >&6; } 3562if test "${ac_cv_prog_STOW+set}" = set; then : 3563 $as_echo_n "(cached) " >&6 3564else 3565 if test -n "$STOW"; then 3566 ac_cv_prog_STOW="$STOW" # Let the user override the test. 3567else 3568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3569for as_dir in $PATH 3570do 3571 IFS=$as_save_IFS 3572 test -z "$as_dir" && as_dir=. 3573 for ac_exec_ext in '' $ac_executable_extensions; do 3574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3575 ac_cv_prog_STOW="yes" 3576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3577 break 2 3578 fi 3579done 3580 done 3581IFS=$as_save_IFS 3582 3583 test -z "$ac_cv_prog_STOW" && ac_cv_prog_STOW="no" 3584fi 3585fi 3586STOW=$ac_cv_prog_STOW 3587if test -n "$STOW"; then 3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STOW" >&5 3589$as_echo "$STOW" >&6; } 3590else 3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3592$as_echo "no" >&6; } 3593fi 3594 3595 3596 3597if test "x$STOW" = "xyes" && test -d /usr/local/stow; then : 3598 3599 { $as_echo "$as_me:${as_lineno-$LINENO}: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&5 3600$as_echo "$as_me: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&6;} 3601 ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}" 3602 3603fi 3604 3605# Checks for programs. 3606ac_ext=c 3607ac_cpp='$CPP $CPPFLAGS' 3608ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3609ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3610ac_compiler_gnu=$ac_cv_c_compiler_gnu 3611if test -n "$ac_tool_prefix"; then 3612 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3613set dummy ${ac_tool_prefix}gcc; ac_word=$2 3614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3615$as_echo_n "checking for $ac_word... " >&6; } 3616if test "${ac_cv_prog_CC+set}" = set; then : 3617 $as_echo_n "(cached) " >&6 3618else 3619 if test -n "$CC"; then 3620 ac_cv_prog_CC="$CC" # Let the user override the test. 3621else 3622as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3623for as_dir in $PATH 3624do 3625 IFS=$as_save_IFS 3626 test -z "$as_dir" && as_dir=. 3627 for ac_exec_ext in '' $ac_executable_extensions; do 3628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3629 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3631 break 2 3632 fi 3633done 3634 done 3635IFS=$as_save_IFS 3636 3637fi 3638fi 3639CC=$ac_cv_prog_CC 3640if test -n "$CC"; then 3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3642$as_echo "$CC" >&6; } 3643else 3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3645$as_echo "no" >&6; } 3646fi 3647 3648 3649fi 3650if test -z "$ac_cv_prog_CC"; then 3651 ac_ct_CC=$CC 3652 # Extract the first word of "gcc", so it can be a program name with args. 3653set dummy gcc; ac_word=$2 3654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3655$as_echo_n "checking for $ac_word... " >&6; } 3656if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3657 $as_echo_n "(cached) " >&6 3658else 3659 if test -n "$ac_ct_CC"; then 3660 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3661else 3662as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3663for as_dir in $PATH 3664do 3665 IFS=$as_save_IFS 3666 test -z "$as_dir" && as_dir=. 3667 for ac_exec_ext in '' $ac_executable_extensions; do 3668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3669 ac_cv_prog_ac_ct_CC="gcc" 3670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3671 break 2 3672 fi 3673done 3674 done 3675IFS=$as_save_IFS 3676 3677fi 3678fi 3679ac_ct_CC=$ac_cv_prog_ac_ct_CC 3680if test -n "$ac_ct_CC"; then 3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3682$as_echo "$ac_ct_CC" >&6; } 3683else 3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3685$as_echo "no" >&6; } 3686fi 3687 3688 if test "x$ac_ct_CC" = x; then 3689 CC="" 3690 else 3691 case $cross_compiling:$ac_tool_warned in 3692yes:) 3693{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3694$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3695ac_tool_warned=yes ;; 3696esac 3697 CC=$ac_ct_CC 3698 fi 3699else 3700 CC="$ac_cv_prog_CC" 3701fi 3702 3703if test -z "$CC"; then 3704 if test -n "$ac_tool_prefix"; then 3705 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3706set dummy ${ac_tool_prefix}cc; ac_word=$2 3707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3708$as_echo_n "checking for $ac_word... " >&6; } 3709if test "${ac_cv_prog_CC+set}" = set; then : 3710 $as_echo_n "(cached) " >&6 3711else 3712 if test -n "$CC"; then 3713 ac_cv_prog_CC="$CC" # Let the user override the test. 3714else 3715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3716for as_dir in $PATH 3717do 3718 IFS=$as_save_IFS 3719 test -z "$as_dir" && as_dir=. 3720 for ac_exec_ext in '' $ac_executable_extensions; do 3721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3722 ac_cv_prog_CC="${ac_tool_prefix}cc" 3723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3724 break 2 3725 fi 3726done 3727 done 3728IFS=$as_save_IFS 3729 3730fi 3731fi 3732CC=$ac_cv_prog_CC 3733if test -n "$CC"; then 3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3735$as_echo "$CC" >&6; } 3736else 3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3738$as_echo "no" >&6; } 3739fi 3740 3741 3742 fi 3743fi 3744if test -z "$CC"; then 3745 # Extract the first word of "cc", so it can be a program name with args. 3746set dummy cc; ac_word=$2 3747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3748$as_echo_n "checking for $ac_word... " >&6; } 3749if test "${ac_cv_prog_CC+set}" = set; then : 3750 $as_echo_n "(cached) " >&6 3751else 3752 if test -n "$CC"; then 3753 ac_cv_prog_CC="$CC" # Let the user override the test. 3754else 3755 ac_prog_rejected=no 3756as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3757for as_dir in $PATH 3758do 3759 IFS=$as_save_IFS 3760 test -z "$as_dir" && as_dir=. 3761 for ac_exec_ext in '' $ac_executable_extensions; do 3762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3763 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3764 ac_prog_rejected=yes 3765 continue 3766 fi 3767 ac_cv_prog_CC="cc" 3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3769 break 2 3770 fi 3771done 3772 done 3773IFS=$as_save_IFS 3774 3775if test $ac_prog_rejected = yes; then 3776 # We found a bogon in the path, so make sure we never use it. 3777 set dummy $ac_cv_prog_CC 3778 shift 3779 if test $# != 0; then 3780 # We chose a different compiler from the bogus one. 3781 # However, it has the same basename, so the bogon will be chosen 3782 # first if we set CC to just the basename; use the full file name. 3783 shift 3784 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3785 fi 3786fi 3787fi 3788fi 3789CC=$ac_cv_prog_CC 3790if test -n "$CC"; then 3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3792$as_echo "$CC" >&6; } 3793else 3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3795$as_echo "no" >&6; } 3796fi 3797 3798 3799fi 3800if test -z "$CC"; then 3801 if test -n "$ac_tool_prefix"; then 3802 for ac_prog in cl.exe 3803 do 3804 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3805set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3807$as_echo_n "checking for $ac_word... " >&6; } 3808if test "${ac_cv_prog_CC+set}" = set; then : 3809 $as_echo_n "(cached) " >&6 3810else 3811 if test -n "$CC"; then 3812 ac_cv_prog_CC="$CC" # Let the user override the test. 3813else 3814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3815for as_dir in $PATH 3816do 3817 IFS=$as_save_IFS 3818 test -z "$as_dir" && as_dir=. 3819 for ac_exec_ext in '' $ac_executable_extensions; do 3820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3821 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3823 break 2 3824 fi 3825done 3826 done 3827IFS=$as_save_IFS 3828 3829fi 3830fi 3831CC=$ac_cv_prog_CC 3832if test -n "$CC"; then 3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3834$as_echo "$CC" >&6; } 3835else 3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3837$as_echo "no" >&6; } 3838fi 3839 3840 3841 test -n "$CC" && break 3842 done 3843fi 3844if test -z "$CC"; then 3845 ac_ct_CC=$CC 3846 for ac_prog in cl.exe 3847do 3848 # Extract the first word of "$ac_prog", so it can be a program name with args. 3849set dummy $ac_prog; ac_word=$2 3850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3851$as_echo_n "checking for $ac_word... " >&6; } 3852if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3853 $as_echo_n "(cached) " >&6 3854else 3855 if test -n "$ac_ct_CC"; then 3856 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3857else 3858as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3859for as_dir in $PATH 3860do 3861 IFS=$as_save_IFS 3862 test -z "$as_dir" && as_dir=. 3863 for ac_exec_ext in '' $ac_executable_extensions; do 3864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3865 ac_cv_prog_ac_ct_CC="$ac_prog" 3866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3867 break 2 3868 fi 3869done 3870 done 3871IFS=$as_save_IFS 3872 3873fi 3874fi 3875ac_ct_CC=$ac_cv_prog_ac_ct_CC 3876if test -n "$ac_ct_CC"; then 3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3878$as_echo "$ac_ct_CC" >&6; } 3879else 3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3881$as_echo "no" >&6; } 3882fi 3883 3884 3885 test -n "$ac_ct_CC" && break 3886done 3887 3888 if test "x$ac_ct_CC" = x; then 3889 CC="" 3890 else 3891 case $cross_compiling:$ac_tool_warned in 3892yes:) 3893{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3894$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3895ac_tool_warned=yes ;; 3896esac 3897 CC=$ac_ct_CC 3898 fi 3899fi 3900 3901fi 3902 3903 3904test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3905$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3906as_fn_error $? "no acceptable C compiler found in \$PATH 3907See \`config.log' for more details" "$LINENO" 5 ; } 3908 3909# Provide some information about the compiler. 3910$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3911set X $ac_compile 3912ac_compiler=$2 3913for ac_option in --version -v -V -qversion; do 3914 { { ac_try="$ac_compiler $ac_option >&5" 3915case "(($ac_try" in 3916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3917 *) ac_try_echo=$ac_try;; 3918esac 3919eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3920$as_echo "$ac_try_echo"; } >&5 3921 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3922 ac_status=$? 3923 if test -s conftest.err; then 3924 sed '10a\ 3925... rest of stderr output deleted ... 3926 10q' conftest.err >conftest.er1 3927 cat conftest.er1 >&5 3928 fi 3929 rm -f conftest.er1 conftest.err 3930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3931 test $ac_status = 0; } 3932done 3933 3934cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3935/* end confdefs.h. */ 3936 3937int 3938main () 3939{ 3940 3941 ; 3942 return 0; 3943} 3944_ACEOF 3945ac_clean_files_save=$ac_clean_files 3946ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3947# Try to create an executable without -o first, disregard a.out. 3948# It will help us diagnose broken compilers, and finding out an intuition 3949# of exeext. 3950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3951$as_echo_n "checking whether the C compiler works... " >&6; } 3952ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3953 3954# The possible output files: 3955ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3956 3957ac_rmfiles= 3958for ac_file in $ac_files 3959do 3960 case $ac_file in 3961 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3962 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3963 esac 3964done 3965rm -f $ac_rmfiles 3966 3967if { { ac_try="$ac_link_default" 3968case "(($ac_try" in 3969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3970 *) ac_try_echo=$ac_try;; 3971esac 3972eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3973$as_echo "$ac_try_echo"; } >&5 3974 (eval "$ac_link_default") 2>&5 3975 ac_status=$? 3976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3977 test $ac_status = 0; }; then : 3978 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3979# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3980# in a Makefile. We should not override ac_cv_exeext if it was cached, 3981# so that the user can short-circuit this test for compilers unknown to 3982# Autoconf. 3983for ac_file in $ac_files '' 3984do 3985 test -f "$ac_file" || continue 3986 case $ac_file in 3987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3988 ;; 3989 [ab].out ) 3990 # We found the default executable, but exeext='' is most 3991 # certainly right. 3992 break;; 3993 *.* ) 3994 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3995 then :; else 3996 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3997 fi 3998 # We set ac_cv_exeext here because the later test for it is not 3999 # safe: cross compilers may not add the suffix if given an `-o' 4000 # argument, so we may need to know it at that point already. 4001 # Even if this section looks crufty: it has the advantage of 4002 # actually working. 4003 break;; 4004 * ) 4005 break;; 4006 esac 4007done 4008test "$ac_cv_exeext" = no && ac_cv_exeext= 4009 4010else 4011 ac_file='' 4012fi 4013if test -z "$ac_file"; then : 4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4015$as_echo "no" >&6; } 4016$as_echo "$as_me: failed program was:" >&5 4017sed 's/^/| /' conftest.$ac_ext >&5 4018 4019{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4020$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4021as_fn_error 77 "C compiler cannot create executables 4022See \`config.log' for more details" "$LINENO" 5 ; } 4023else 4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4025$as_echo "yes" >&6; } 4026fi 4027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4028$as_echo_n "checking for C compiler default output file name... " >&6; } 4029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4030$as_echo "$ac_file" >&6; } 4031ac_exeext=$ac_cv_exeext 4032 4033rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4034ac_clean_files=$ac_clean_files_save 4035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4036$as_echo_n "checking for suffix of executables... " >&6; } 4037if { { ac_try="$ac_link" 4038case "(($ac_try" in 4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4040 *) ac_try_echo=$ac_try;; 4041esac 4042eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4043$as_echo "$ac_try_echo"; } >&5 4044 (eval "$ac_link") 2>&5 4045 ac_status=$? 4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4047 test $ac_status = 0; }; then : 4048 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4049# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4050# work properly (i.e., refer to `conftest.exe'), while it won't with 4051# `rm'. 4052for ac_file in conftest.exe conftest conftest.*; do 4053 test -f "$ac_file" || continue 4054 case $ac_file in 4055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4056 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4057 break;; 4058 * ) break;; 4059 esac 4060done 4061else 4062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4063$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4064as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4065See \`config.log' for more details" "$LINENO" 5 ; } 4066fi 4067rm -f conftest conftest$ac_cv_exeext 4068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4069$as_echo "$ac_cv_exeext" >&6; } 4070 4071rm -f conftest.$ac_ext 4072EXEEXT=$ac_cv_exeext 4073ac_exeext=$EXEEXT 4074cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4075/* end confdefs.h. */ 4076#include <stdio.h> 4077int 4078main () 4079{ 4080FILE *f = fopen ("conftest.out", "w"); 4081 return ferror (f) || fclose (f) != 0; 4082 4083 ; 4084 return 0; 4085} 4086_ACEOF 4087ac_clean_files="$ac_clean_files conftest.out" 4088# Check that the compiler produces executables we can run. If not, either 4089# the compiler is broken, or we cross compile. 4090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4091$as_echo_n "checking whether we are cross compiling... " >&6; } 4092if test "$cross_compiling" != yes; then 4093 { { ac_try="$ac_link" 4094case "(($ac_try" in 4095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4096 *) ac_try_echo=$ac_try;; 4097esac 4098eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4099$as_echo "$ac_try_echo"; } >&5 4100 (eval "$ac_link") 2>&5 4101 ac_status=$? 4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4103 test $ac_status = 0; } 4104 if { ac_try='./conftest$ac_cv_exeext' 4105 { { case "(($ac_try" in 4106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4107 *) ac_try_echo=$ac_try;; 4108esac 4109eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4110$as_echo "$ac_try_echo"; } >&5 4111 (eval "$ac_try") 2>&5 4112 ac_status=$? 4113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4114 test $ac_status = 0; }; }; then 4115 cross_compiling=no 4116 else 4117 if test "$cross_compiling" = maybe; then 4118 cross_compiling=yes 4119 else 4120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4121$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4122as_fn_error $? "cannot run C compiled programs. 4123If you meant to cross compile, use \`--host'. 4124See \`config.log' for more details" "$LINENO" 5 ; } 4125 fi 4126 fi 4127fi 4128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4129$as_echo "$cross_compiling" >&6; } 4130 4131rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4132ac_clean_files=$ac_clean_files_save 4133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4134$as_echo_n "checking for suffix of object files... " >&6; } 4135if test "${ac_cv_objext+set}" = set; then : 4136 $as_echo_n "(cached) " >&6 4137else 4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4139/* end confdefs.h. */ 4140 4141int 4142main () 4143{ 4144 4145 ; 4146 return 0; 4147} 4148_ACEOF 4149rm -f conftest.o conftest.obj 4150if { { ac_try="$ac_compile" 4151case "(($ac_try" in 4152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4153 *) ac_try_echo=$ac_try;; 4154esac 4155eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4156$as_echo "$ac_try_echo"; } >&5 4157 (eval "$ac_compile") 2>&5 4158 ac_status=$? 4159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4160 test $ac_status = 0; }; then : 4161 for ac_file in conftest.o conftest.obj conftest.*; do 4162 test -f "$ac_file" || continue; 4163 case $ac_file in 4164 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4165 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4166 break;; 4167 esac 4168done 4169else 4170 $as_echo "$as_me: failed program was:" >&5 4171sed 's/^/| /' conftest.$ac_ext >&5 4172 4173{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4174$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4175as_fn_error $? "cannot compute suffix of object files: cannot compile 4176See \`config.log' for more details" "$LINENO" 5 ; } 4177fi 4178rm -f conftest.$ac_cv_objext conftest.$ac_ext 4179fi 4180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4181$as_echo "$ac_cv_objext" >&6; } 4182OBJEXT=$ac_cv_objext 4183ac_objext=$OBJEXT 4184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4185$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4186if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4187 $as_echo_n "(cached) " >&6 4188else 4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4190/* end confdefs.h. */ 4191 4192int 4193main () 4194{ 4195#ifndef __GNUC__ 4196 choke me 4197#endif 4198 4199 ; 4200 return 0; 4201} 4202_ACEOF 4203if ac_fn_c_try_compile "$LINENO"; then : 4204 ac_compiler_gnu=yes 4205else 4206 ac_compiler_gnu=no 4207fi 4208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4209ac_cv_c_compiler_gnu=$ac_compiler_gnu 4210 4211fi 4212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4213$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4214if test $ac_compiler_gnu = yes; then 4215 GCC=yes 4216else 4217 GCC= 4218fi 4219ac_test_CFLAGS=${CFLAGS+set} 4220ac_save_CFLAGS=$CFLAGS 4221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4222$as_echo_n "checking whether $CC accepts -g... " >&6; } 4223if test "${ac_cv_prog_cc_g+set}" = set; then : 4224 $as_echo_n "(cached) " >&6 4225else 4226 ac_save_c_werror_flag=$ac_c_werror_flag 4227 ac_c_werror_flag=yes 4228 ac_cv_prog_cc_g=no 4229 CFLAGS="-g" 4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4231/* end confdefs.h. */ 4232 4233int 4234main () 4235{ 4236 4237 ; 4238 return 0; 4239} 4240_ACEOF 4241if ac_fn_c_try_compile "$LINENO"; then : 4242 ac_cv_prog_cc_g=yes 4243else 4244 CFLAGS="" 4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4246/* end confdefs.h. */ 4247 4248int 4249main () 4250{ 4251 4252 ; 4253 return 0; 4254} 4255_ACEOF 4256if ac_fn_c_try_compile "$LINENO"; then : 4257 4258else 4259 ac_c_werror_flag=$ac_save_c_werror_flag 4260 CFLAGS="-g" 4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4262/* end confdefs.h. */ 4263 4264int 4265main () 4266{ 4267 4268 ; 4269 return 0; 4270} 4271_ACEOF 4272if ac_fn_c_try_compile "$LINENO"; then : 4273 ac_cv_prog_cc_g=yes 4274fi 4275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4276fi 4277rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4278fi 4279rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4280 ac_c_werror_flag=$ac_save_c_werror_flag 4281fi 4282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4283$as_echo "$ac_cv_prog_cc_g" >&6; } 4284if test "$ac_test_CFLAGS" = set; then 4285 CFLAGS=$ac_save_CFLAGS 4286elif test $ac_cv_prog_cc_g = yes; then 4287 if test "$GCC" = yes; then 4288 CFLAGS="-g -O2" 4289 else 4290 CFLAGS="-g" 4291 fi 4292else 4293 if test "$GCC" = yes; then 4294 CFLAGS="-O2" 4295 else 4296 CFLAGS= 4297 fi 4298fi 4299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4300$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4301if test "${ac_cv_prog_cc_c89+set}" = set; then : 4302 $as_echo_n "(cached) " >&6 4303else 4304 ac_cv_prog_cc_c89=no 4305ac_save_CC=$CC 4306cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4307/* end confdefs.h. */ 4308#include <stdarg.h> 4309#include <stdio.h> 4310#include <sys/types.h> 4311#include <sys/stat.h> 4312/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4313struct buf { int x; }; 4314FILE * (*rcsopen) (struct buf *, struct stat *, int); 4315static char *e (p, i) 4316 char **p; 4317 int i; 4318{ 4319 return p[i]; 4320} 4321static char *f (char * (*g) (char **, int), char **p, ...) 4322{ 4323 char *s; 4324 va_list v; 4325 va_start (v,p); 4326 s = g (p, va_arg (v,int)); 4327 va_end (v); 4328 return s; 4329} 4330 4331/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4332 function prototypes and stuff, but not '\xHH' hex character constants. 4333 These don't provoke an error unfortunately, instead are silently treated 4334 as 'x'. The following induces an error, until -std is added to get 4335 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4336 array size at least. It's necessary to write '\x00'==0 to get something 4337 that's true only with -std. */ 4338int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4339 4340/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4341 inside strings and character constants. */ 4342#define FOO(x) 'x' 4343int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4344 4345int test (int i, double x); 4346struct s1 {int (*f) (int a);}; 4347struct s2 {int (*f) (double a);}; 4348int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4349int argc; 4350char **argv; 4351int 4352main () 4353{ 4354return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4355 ; 4356 return 0; 4357} 4358_ACEOF 4359for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4360 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4361do 4362 CC="$ac_save_CC $ac_arg" 4363 if ac_fn_c_try_compile "$LINENO"; then : 4364 ac_cv_prog_cc_c89=$ac_arg 4365fi 4366rm -f core conftest.err conftest.$ac_objext 4367 test "x$ac_cv_prog_cc_c89" != "xno" && break 4368done 4369rm -f conftest.$ac_ext 4370CC=$ac_save_CC 4371 4372fi 4373# AC_CACHE_VAL 4374case "x$ac_cv_prog_cc_c89" in 4375 x) 4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4377$as_echo "none needed" >&6; } ;; 4378 xno) 4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4380$as_echo "unsupported" >&6; } ;; 4381 *) 4382 CC="$CC $ac_cv_prog_cc_c89" 4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4384$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4385esac 4386if test "x$ac_cv_prog_cc_c89" != xno; then : 4387 4388fi 4389 4390ac_ext=c 4391ac_cpp='$CPP $CPPFLAGS' 4392ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4393ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4394ac_compiler_gnu=$ac_cv_c_compiler_gnu 4395DEPDIR="${am__leading_dot}deps" 4396 4397ac_config_commands="$ac_config_commands depfiles" 4398 4399 4400am_make=${MAKE-make} 4401cat > confinc << 'END' 4402am__doit: 4403 @echo this is the am__doit target 4404.PHONY: am__doit 4405END 4406# If we don't find an include directive, just comment out the code. 4407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4408$as_echo_n "checking for style of include used by $am_make... " >&6; } 4409am__include="#" 4410am__quote= 4411_am_result=none 4412# First try GNU make style include. 4413echo "include confinc" > confmf 4414# Ignore all kinds of additional output from `make'. 4415case `$am_make -s -f confmf 2> /dev/null` in #( 4416*the\ am__doit\ target*) 4417 am__include=include 4418 am__quote= 4419 _am_result=GNU 4420 ;; 4421esac 4422# Now try BSD make style include. 4423if test "$am__include" = "#"; then 4424 echo '.include "confinc"' > confmf 4425 case `$am_make -s -f confmf 2> /dev/null` in #( 4426 *the\ am__doit\ target*) 4427 am__include=.include 4428 am__quote="\"" 4429 _am_result=BSD 4430 ;; 4431 esac 4432fi 4433 4434 4435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4436$as_echo "$_am_result" >&6; } 4437rm -f confinc confmf 4438 4439# Check whether --enable-dependency-tracking was given. 4440if test "${enable_dependency_tracking+set}" = set; then : 4441 enableval=$enable_dependency_tracking; 4442fi 4443 4444if test "x$enable_dependency_tracking" != xno; then 4445 am_depcomp="$ac_aux_dir/depcomp" 4446 AMDEPBACKSLASH='\' 4447fi 4448 if test "x$enable_dependency_tracking" != xno; then 4449 AMDEP_TRUE= 4450 AMDEP_FALSE='#' 4451else 4452 AMDEP_TRUE='#' 4453 AMDEP_FALSE= 4454fi 4455 4456 4457 4458depcc="$CC" am_compiler_list= 4459 4460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4461$as_echo_n "checking dependency style of $depcc... " >&6; } 4462if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4463 $as_echo_n "(cached) " >&6 4464else 4465 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4466 # We make a subdir and do the tests there. Otherwise we can end up 4467 # making bogus files that we don't know about and never remove. For 4468 # instance it was reported that on HP-UX the gcc test will end up 4469 # making a dummy file named `D' -- because `-MD' means `put the output 4470 # in D'. 4471 mkdir conftest.dir 4472 # Copy depcomp to subdir because otherwise we won't find it if we're 4473 # using a relative directory. 4474 cp "$am_depcomp" conftest.dir 4475 cd conftest.dir 4476 # We will build objects and dependencies in a subdirectory because 4477 # it helps to detect inapplicable dependency modes. For instance 4478 # both Tru64's cc and ICC support -MD to output dependencies as a 4479 # side effect of compilation, but ICC will put the dependencies in 4480 # the current directory while Tru64 will put them in the object 4481 # directory. 4482 mkdir sub 4483 4484 am_cv_CC_dependencies_compiler_type=none 4485 if test "$am_compiler_list" = ""; then 4486 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4487 fi 4488 am__universal=false 4489 case " $depcc " in #( 4490 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4491 esac 4492 4493 for depmode in $am_compiler_list; do 4494 # Setup a source with many dependencies, because some compilers 4495 # like to wrap large dependency lists on column 80 (with \), and 4496 # we should not choose a depcomp mode which is confused by this. 4497 # 4498 # We need to recreate these files for each test, as the compiler may 4499 # overwrite some of them when testing with obscure command lines. 4500 # This happens at least with the AIX C compiler. 4501 : > sub/conftest.c 4502 for i in 1 2 3 4 5 6; do 4503 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4504 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4505 # Solaris 8's {/usr,}/bin/sh. 4506 touch sub/conftst$i.h 4507 done 4508 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4509 4510 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4511 # mode. It turns out that the SunPro C++ compiler does not properly 4512 # handle `-M -o', and we need to detect this. Also, some Intel 4513 # versions had trouble with output in subdirs 4514 am__obj=sub/conftest.${OBJEXT-o} 4515 am__minus_obj="-o $am__obj" 4516 case $depmode in 4517 gcc) 4518 # This depmode causes a compiler race in universal mode. 4519 test "$am__universal" = false || continue 4520 ;; 4521 nosideeffect) 4522 # after this tag, mechanisms are not by side-effect, so they'll 4523 # only be used when explicitly requested 4524 if test "x$enable_dependency_tracking" = xyes; then 4525 continue 4526 else 4527 break 4528 fi 4529 ;; 4530 msvisualcpp | msvcmsys) 4531 # This compiler won't grok `-c -o', but also, the minuso test has 4532 # not run yet. These depmodes are late enough in the game, and 4533 # so weak that their functioning should not be impacted. 4534 am__obj=conftest.${OBJEXT-o} 4535 am__minus_obj= 4536 ;; 4537 none) break ;; 4538 esac 4539 if depmode=$depmode \ 4540 source=sub/conftest.c object=$am__obj \ 4541 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4542 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4543 >/dev/null 2>conftest.err && 4544 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4545 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4546 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4547 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4548 # icc doesn't choke on unknown options, it will just issue warnings 4549 # or remarks (even with -Werror). So we grep stderr for any message 4550 # that says an option was ignored or not supported. 4551 # When given -MP, icc 7.0 and 7.1 complain thusly: 4552 # icc: Command line warning: ignoring option '-M'; no argument required 4553 # The diagnosis changed in icc 8.0: 4554 # icc: Command line remark: option '-MP' not supported 4555 if (grep 'ignoring option' conftest.err || 4556 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4557 am_cv_CC_dependencies_compiler_type=$depmode 4558 break 4559 fi 4560 fi 4561 done 4562 4563 cd .. 4564 rm -rf conftest.dir 4565else 4566 am_cv_CC_dependencies_compiler_type=none 4567fi 4568 4569fi 4570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4571$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4572CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4573 4574 if 4575 test "x$enable_dependency_tracking" != xno \ 4576 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4577 am__fastdepCC_TRUE= 4578 am__fastdepCC_FALSE='#' 4579else 4580 am__fastdepCC_TRUE='#' 4581 am__fastdepCC_FALSE= 4582fi 4583 4584 4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 4586$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 4587if test "${ac_cv_prog_cc_c99+set}" = set; then : 4588 $as_echo_n "(cached) " >&6 4589else 4590 ac_cv_prog_cc_c99=no 4591ac_save_CC=$CC 4592cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4593/* end confdefs.h. */ 4594#include <stdarg.h> 4595#include <stdbool.h> 4596#include <stdlib.h> 4597#include <wchar.h> 4598#include <stdio.h> 4599 4600// Check varargs macros. These examples are taken from C99 6.10.3.5. 4601#define debug(...) fprintf (stderr, __VA_ARGS__) 4602#define showlist(...) puts (#__VA_ARGS__) 4603#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4604static void 4605test_varargs_macros (void) 4606{ 4607 int x = 1234; 4608 int y = 5678; 4609 debug ("Flag"); 4610 debug ("X = %d\n", x); 4611 showlist (The first, second, and third items.); 4612 report (x>y, "x is %d but y is %d", x, y); 4613} 4614 4615// Check long long types. 4616#define BIG64 18446744073709551615ull 4617#define BIG32 4294967295ul 4618#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4619#if !BIG_OK 4620 your preprocessor is broken; 4621#endif 4622#if BIG_OK 4623#else 4624 your preprocessor is broken; 4625#endif 4626static long long int bignum = -9223372036854775807LL; 4627static unsigned long long int ubignum = BIG64; 4628 4629struct incomplete_array 4630{ 4631 int datasize; 4632 double data[]; 4633}; 4634 4635struct named_init { 4636 int number; 4637 const wchar_t *name; 4638 double average; 4639}; 4640 4641typedef const char *ccp; 4642 4643static inline int 4644test_restrict (ccp restrict text) 4645{ 4646 // See if C++-style comments work. 4647 // Iterate through items via the restricted pointer. 4648 // Also check for declarations in for loops. 4649 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4650 continue; 4651 return 0; 4652} 4653 4654// Check varargs and va_copy. 4655static void 4656test_varargs (const char *format, ...) 4657{ 4658 va_list args; 4659 va_start (args, format); 4660 va_list args_copy; 4661 va_copy (args_copy, args); 4662 4663 const char *str; 4664 int number; 4665 float fnumber; 4666 4667 while (*format) 4668 { 4669 switch (*format++) 4670 { 4671 case 's': // string 4672 str = va_arg (args_copy, const char *); 4673 break; 4674 case 'd': // int 4675 number = va_arg (args_copy, int); 4676 break; 4677 case 'f': // float 4678 fnumber = va_arg (args_copy, double); 4679 break; 4680 default: 4681 break; 4682 } 4683 } 4684 va_end (args_copy); 4685 va_end (args); 4686} 4687 4688int 4689main () 4690{ 4691 4692 // Check bool. 4693 _Bool success = false; 4694 4695 // Check restrict. 4696 if (test_restrict ("String literal") == 0) 4697 success = true; 4698 char *restrict newvar = "Another string"; 4699 4700 // Check varargs. 4701 test_varargs ("s, d' f .", "string", 65, 34.234); 4702 test_varargs_macros (); 4703 4704 // Check flexible array members. 4705 struct incomplete_array *ia = 4706 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4707 ia->datasize = 10; 4708 for (int i = 0; i < ia->datasize; ++i) 4709 ia->data[i] = i * 1.234; 4710 4711 // Check named initializers. 4712 struct named_init ni = { 4713 .number = 34, 4714 .name = L"Test wide string", 4715 .average = 543.34343, 4716 }; 4717 4718 ni.number = 58; 4719 4720 int dynamic_array[ni.number]; 4721 dynamic_array[ni.number - 1] = 543; 4722 4723 // work around unused variable warnings 4724 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4725 || dynamic_array[ni.number - 1] != 543); 4726 4727 ; 4728 return 0; 4729} 4730_ACEOF 4731for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 4732do 4733 CC="$ac_save_CC $ac_arg" 4734 if ac_fn_c_try_compile "$LINENO"; then : 4735 ac_cv_prog_cc_c99=$ac_arg 4736fi 4737rm -f core conftest.err conftest.$ac_objext 4738 test "x$ac_cv_prog_cc_c99" != "xno" && break 4739done 4740rm -f conftest.$ac_ext 4741CC=$ac_save_CC 4742 4743fi 4744# AC_CACHE_VAL 4745case "x$ac_cv_prog_cc_c99" in 4746 x) 4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4748$as_echo "none needed" >&6; } ;; 4749 xno) 4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4751$as_echo "unsupported" >&6; } ;; 4752 *) 4753 CC="$CC $ac_cv_prog_cc_c99" 4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4755$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4756esac 4757if test "x$ac_cv_prog_cc_c99" != xno; then : 4758 4759fi 4760 4761 4762ac_ext=cpp 4763ac_cpp='$CXXCPP $CPPFLAGS' 4764ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4765ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4766ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4767if test -z "$CXX"; then 4768 if test -n "$CCC"; then 4769 CXX=$CCC 4770 else 4771 if test -n "$ac_tool_prefix"; then 4772 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4773 do 4774 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4775set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4777$as_echo_n "checking for $ac_word... " >&6; } 4778if test "${ac_cv_prog_CXX+set}" = set; then : 4779 $as_echo_n "(cached) " >&6 4780else 4781 if test -n "$CXX"; then 4782 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4783else 4784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4785for as_dir in $PATH 4786do 4787 IFS=$as_save_IFS 4788 test -z "$as_dir" && as_dir=. 4789 for ac_exec_ext in '' $ac_executable_extensions; do 4790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4791 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4793 break 2 4794 fi 4795done 4796 done 4797IFS=$as_save_IFS 4798 4799fi 4800fi 4801CXX=$ac_cv_prog_CXX 4802if test -n "$CXX"; then 4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4804$as_echo "$CXX" >&6; } 4805else 4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4807$as_echo "no" >&6; } 4808fi 4809 4810 4811 test -n "$CXX" && break 4812 done 4813fi 4814if test -z "$CXX"; then 4815 ac_ct_CXX=$CXX 4816 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4817do 4818 # Extract the first word of "$ac_prog", so it can be a program name with args. 4819set dummy $ac_prog; ac_word=$2 4820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4821$as_echo_n "checking for $ac_word... " >&6; } 4822if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 4823 $as_echo_n "(cached) " >&6 4824else 4825 if test -n "$ac_ct_CXX"; then 4826 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4827else 4828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4829for as_dir in $PATH 4830do 4831 IFS=$as_save_IFS 4832 test -z "$as_dir" && as_dir=. 4833 for ac_exec_ext in '' $ac_executable_extensions; do 4834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4835 ac_cv_prog_ac_ct_CXX="$ac_prog" 4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4837 break 2 4838 fi 4839done 4840 done 4841IFS=$as_save_IFS 4842 4843fi 4844fi 4845ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4846if test -n "$ac_ct_CXX"; then 4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4848$as_echo "$ac_ct_CXX" >&6; } 4849else 4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4851$as_echo "no" >&6; } 4852fi 4853 4854 4855 test -n "$ac_ct_CXX" && break 4856done 4857 4858 if test "x$ac_ct_CXX" = x; then 4859 CXX="g++" 4860 else 4861 case $cross_compiling:$ac_tool_warned in 4862yes:) 4863{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4864$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4865ac_tool_warned=yes ;; 4866esac 4867 CXX=$ac_ct_CXX 4868 fi 4869fi 4870 4871 fi 4872fi 4873# Provide some information about the compiler. 4874$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 4875set X $ac_compile 4876ac_compiler=$2 4877for ac_option in --version -v -V -qversion; do 4878 { { ac_try="$ac_compiler $ac_option >&5" 4879case "(($ac_try" in 4880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4881 *) ac_try_echo=$ac_try;; 4882esac 4883eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4884$as_echo "$ac_try_echo"; } >&5 4885 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4886 ac_status=$? 4887 if test -s conftest.err; then 4888 sed '10a\ 4889... rest of stderr output deleted ... 4890 10q' conftest.err >conftest.er1 4891 cat conftest.er1 >&5 4892 fi 4893 rm -f conftest.er1 conftest.err 4894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4895 test $ac_status = 0; } 4896done 4897 4898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 4899$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4900if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 4901 $as_echo_n "(cached) " >&6 4902else 4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4904/* end confdefs.h. */ 4905 4906int 4907main () 4908{ 4909#ifndef __GNUC__ 4910 choke me 4911#endif 4912 4913 ; 4914 return 0; 4915} 4916_ACEOF 4917if ac_fn_cxx_try_compile "$LINENO"; then : 4918 ac_compiler_gnu=yes 4919else 4920 ac_compiler_gnu=no 4921fi 4922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4923ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4924 4925fi 4926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 4927$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4928if test $ac_compiler_gnu = yes; then 4929 GXX=yes 4930else 4931 GXX= 4932fi 4933ac_test_CXXFLAGS=${CXXFLAGS+set} 4934ac_save_CXXFLAGS=$CXXFLAGS 4935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4936$as_echo_n "checking whether $CXX accepts -g... " >&6; } 4937if test "${ac_cv_prog_cxx_g+set}" = set; then : 4938 $as_echo_n "(cached) " >&6 4939else 4940 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4941 ac_cxx_werror_flag=yes 4942 ac_cv_prog_cxx_g=no 4943 CXXFLAGS="-g" 4944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4945/* end confdefs.h. */ 4946 4947int 4948main () 4949{ 4950 4951 ; 4952 return 0; 4953} 4954_ACEOF 4955if ac_fn_cxx_try_compile "$LINENO"; then : 4956 ac_cv_prog_cxx_g=yes 4957else 4958 CXXFLAGS="" 4959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4960/* end confdefs.h. */ 4961 4962int 4963main () 4964{ 4965 4966 ; 4967 return 0; 4968} 4969_ACEOF 4970if ac_fn_cxx_try_compile "$LINENO"; then : 4971 4972else 4973 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4974 CXXFLAGS="-g" 4975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4976/* end confdefs.h. */ 4977 4978int 4979main () 4980{ 4981 4982 ; 4983 return 0; 4984} 4985_ACEOF 4986if ac_fn_cxx_try_compile "$LINENO"; then : 4987 ac_cv_prog_cxx_g=yes 4988fi 4989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4990fi 4991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4992fi 4993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4994 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4995fi 4996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4997$as_echo "$ac_cv_prog_cxx_g" >&6; } 4998if test "$ac_test_CXXFLAGS" = set; then 4999 CXXFLAGS=$ac_save_CXXFLAGS 5000elif test $ac_cv_prog_cxx_g = yes; then 5001 if test "$GXX" = yes; then 5002 CXXFLAGS="-g -O2" 5003 else 5004 CXXFLAGS="-g" 5005 fi 5006else 5007 if test "$GXX" = yes; then 5008 CXXFLAGS="-O2" 5009 else 5010 CXXFLAGS= 5011 fi 5012fi 5013ac_ext=c 5014ac_cpp='$CPP $CPPFLAGS' 5015ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5016ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5017ac_compiler_gnu=$ac_cv_c_compiler_gnu 5018 5019depcc="$CXX" am_compiler_list= 5020 5021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5022$as_echo_n "checking dependency style of $depcc... " >&6; } 5023if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 5024 $as_echo_n "(cached) " >&6 5025else 5026 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5027 # We make a subdir and do the tests there. Otherwise we can end up 5028 # making bogus files that we don't know about and never remove. For 5029 # instance it was reported that on HP-UX the gcc test will end up 5030 # making a dummy file named `D' -- because `-MD' means `put the output 5031 # in D'. 5032 mkdir conftest.dir 5033 # Copy depcomp to subdir because otherwise we won't find it if we're 5034 # using a relative directory. 5035 cp "$am_depcomp" conftest.dir 5036 cd conftest.dir 5037 # We will build objects and dependencies in a subdirectory because 5038 # it helps to detect inapplicable dependency modes. For instance 5039 # both Tru64's cc and ICC support -MD to output dependencies as a 5040 # side effect of compilation, but ICC will put the dependencies in 5041 # the current directory while Tru64 will put them in the object 5042 # directory. 5043 mkdir sub 5044 5045 am_cv_CXX_dependencies_compiler_type=none 5046 if test "$am_compiler_list" = ""; then 5047 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5048 fi 5049 am__universal=false 5050 case " $depcc " in #( 5051 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5052 esac 5053 5054 for depmode in $am_compiler_list; do 5055 # Setup a source with many dependencies, because some compilers 5056 # like to wrap large dependency lists on column 80 (with \), and 5057 # we should not choose a depcomp mode which is confused by this. 5058 # 5059 # We need to recreate these files for each test, as the compiler may 5060 # overwrite some of them when testing with obscure command lines. 5061 # This happens at least with the AIX C compiler. 5062 : > sub/conftest.c 5063 for i in 1 2 3 4 5 6; do 5064 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5065 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 5066 # Solaris 8's {/usr,}/bin/sh. 5067 touch sub/conftst$i.h 5068 done 5069 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5070 5071 # We check with `-c' and `-o' for the sake of the "dashmstdout" 5072 # mode. It turns out that the SunPro C++ compiler does not properly 5073 # handle `-M -o', and we need to detect this. Also, some Intel 5074 # versions had trouble with output in subdirs 5075 am__obj=sub/conftest.${OBJEXT-o} 5076 am__minus_obj="-o $am__obj" 5077 case $depmode in 5078 gcc) 5079 # This depmode causes a compiler race in universal mode. 5080 test "$am__universal" = false || continue 5081 ;; 5082 nosideeffect) 5083 # after this tag, mechanisms are not by side-effect, so they'll 5084 # only be used when explicitly requested 5085 if test "x$enable_dependency_tracking" = xyes; then 5086 continue 5087 else 5088 break 5089 fi 5090 ;; 5091 msvisualcpp | msvcmsys) 5092 # This compiler won't grok `-c -o', but also, the minuso test has 5093 # not run yet. These depmodes are late enough in the game, and 5094 # so weak that their functioning should not be impacted. 5095 am__obj=conftest.${OBJEXT-o} 5096 am__minus_obj= 5097 ;; 5098 none) break ;; 5099 esac 5100 if depmode=$depmode \ 5101 source=sub/conftest.c object=$am__obj \ 5102 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5103 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5104 >/dev/null 2>conftest.err && 5105 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5106 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5107 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5108 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5109 # icc doesn't choke on unknown options, it will just issue warnings 5110 # or remarks (even with -Werror). So we grep stderr for any message 5111 # that says an option was ignored or not supported. 5112 # When given -MP, icc 7.0 and 7.1 complain thusly: 5113 # icc: Command line warning: ignoring option '-M'; no argument required 5114 # The diagnosis changed in icc 8.0: 5115 # icc: Command line remark: option '-MP' not supported 5116 if (grep 'ignoring option' conftest.err || 5117 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5118 am_cv_CXX_dependencies_compiler_type=$depmode 5119 break 5120 fi 5121 fi 5122 done 5123 5124 cd .. 5125 rm -rf conftest.dir 5126else 5127 am_cv_CXX_dependencies_compiler_type=none 5128fi 5129 5130fi 5131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 5132$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 5133CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5134 5135 if 5136 test "x$enable_dependency_tracking" != xno \ 5137 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5138 am__fastdepCXX_TRUE= 5139 am__fastdepCXX_FALSE='#' 5140else 5141 am__fastdepCXX_TRUE='#' 5142 am__fastdepCXX_FALSE= 5143fi 5144 5145 5146if test "x$CC" != xcc; then 5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 5148$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } 5149else 5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 5151$as_echo_n "checking whether cc understands -c and -o together... " >&6; } 5152fi 5153set dummy $CC; ac_cc=`$as_echo "$2" | 5154 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 5155if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then : 5156 $as_echo_n "(cached) " >&6 5157else 5158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5159/* end confdefs.h. */ 5160 5161int 5162main () 5163{ 5164 5165 ; 5166 return 0; 5167} 5168_ACEOF 5169# Make sure it works both with $CC and with simple cc. 5170# We do the test twice because some compilers refuse to overwrite an 5171# existing .o file with -o, though they will create one. 5172ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 5173rm -f conftest2.* 5174if { { case "(($ac_try" in 5175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5176 *) ac_try_echo=$ac_try;; 5177esac 5178eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5179$as_echo "$ac_try_echo"; } >&5 5180 (eval "$ac_try") 2>&5 5181 ac_status=$? 5182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5183 test $ac_status = 0; } && 5184 test -f conftest2.$ac_objext && { { case "(($ac_try" in 5185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5186 *) ac_try_echo=$ac_try;; 5187esac 5188eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5189$as_echo "$ac_try_echo"; } >&5 5190 (eval "$ac_try") 2>&5 5191 ac_status=$? 5192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5193 test $ac_status = 0; }; 5194then 5195 eval ac_cv_prog_cc_${ac_cc}_c_o=yes 5196 if test "x$CC" != xcc; then 5197 # Test first that cc exists at all. 5198 if { ac_try='cc -c conftest.$ac_ext >&5' 5199 { { case "(($ac_try" in 5200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5201 *) ac_try_echo=$ac_try;; 5202esac 5203eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5204$as_echo "$ac_try_echo"; } >&5 5205 (eval "$ac_try") 2>&5 5206 ac_status=$? 5207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5208 test $ac_status = 0; }; }; then 5209 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 5210 rm -f conftest2.* 5211 if { { case "(($ac_try" in 5212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5213 *) ac_try_echo=$ac_try;; 5214esac 5215eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5216$as_echo "$ac_try_echo"; } >&5 5217 (eval "$ac_try") 2>&5 5218 ac_status=$? 5219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5220 test $ac_status = 0; } && 5221 test -f conftest2.$ac_objext && { { case "(($ac_try" in 5222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5223 *) ac_try_echo=$ac_try;; 5224esac 5225eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5226$as_echo "$ac_try_echo"; } >&5 5227 (eval "$ac_try") 2>&5 5228 ac_status=$? 5229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5230 test $ac_status = 0; }; 5231 then 5232 # cc works too. 5233 : 5234 else 5235 # cc exists but doesn't like -o. 5236 eval ac_cv_prog_cc_${ac_cc}_c_o=no 5237 fi 5238 fi 5239 fi 5240else 5241 eval ac_cv_prog_cc_${ac_cc}_c_o=no 5242fi 5243rm -f core conftest* 5244 5245fi 5246if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then 5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5248$as_echo "yes" >&6; } 5249else 5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5251$as_echo "no" >&6; } 5252 5253$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h 5254 5255fi 5256 5257# FIXME: we rely on the cache variable name because 5258# there is no other way. 5259set dummy $CC 5260am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 5261eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o 5262if test "$am_t" != yes; then 5263 # Losing compiler, so override with the script. 5264 # FIXME: It is wrong to rewrite CC. 5265 # But if we don't then we get into trouble of one sort or another. 5266 # A longer-term fix would be to have automake use am__CC in this case, 5267 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5268 CC="$am_aux_dir/compile $CC" 5269fi 5270 5271 5272 5273ac_ext=c 5274ac_cpp='$CPP $CPPFLAGS' 5275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5277ac_compiler_gnu=$ac_cv_c_compiler_gnu 5278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5279$as_echo_n "checking how to run the C preprocessor... " >&6; } 5280# On Suns, sometimes $CPP names a directory. 5281if test -n "$CPP" && test -d "$CPP"; then 5282 CPP= 5283fi 5284if test -z "$CPP"; then 5285 if test "${ac_cv_prog_CPP+set}" = set; then : 5286 $as_echo_n "(cached) " >&6 5287else 5288 # Double quotes because CPP needs to be expanded 5289 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5290 do 5291 ac_preproc_ok=false 5292for ac_c_preproc_warn_flag in '' yes 5293do 5294 # Use a header file that comes with gcc, so configuring glibc 5295 # with a fresh cross-compiler works. 5296 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5297 # <limits.h> exists even on freestanding compilers. 5298 # On the NeXT, cc -E runs the code through the compiler's parser, 5299 # not just through cpp. "Syntax error" is here to catch this case. 5300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5301/* end confdefs.h. */ 5302#ifdef __STDC__ 5303# include <limits.h> 5304#else 5305# include <assert.h> 5306#endif 5307 Syntax error 5308_ACEOF 5309if ac_fn_c_try_cpp "$LINENO"; then : 5310 5311else 5312 # Broken: fails on valid input. 5313continue 5314fi 5315rm -f conftest.err conftest.i conftest.$ac_ext 5316 5317 # OK, works on sane cases. Now check whether nonexistent headers 5318 # can be detected and how. 5319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5320/* end confdefs.h. */ 5321#include <ac_nonexistent.h> 5322_ACEOF 5323if ac_fn_c_try_cpp "$LINENO"; then : 5324 # Broken: success on invalid input. 5325continue 5326else 5327 # Passes both tests. 5328ac_preproc_ok=: 5329break 5330fi 5331rm -f conftest.err conftest.i conftest.$ac_ext 5332 5333done 5334# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5335rm -f conftest.i conftest.err conftest.$ac_ext 5336if $ac_preproc_ok; then : 5337 break 5338fi 5339 5340 done 5341 ac_cv_prog_CPP=$CPP 5342 5343fi 5344 CPP=$ac_cv_prog_CPP 5345else 5346 ac_cv_prog_CPP=$CPP 5347fi 5348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5349$as_echo "$CPP" >&6; } 5350ac_preproc_ok=false 5351for ac_c_preproc_warn_flag in '' yes 5352do 5353 # Use a header file that comes with gcc, so configuring glibc 5354 # with a fresh cross-compiler works. 5355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5356 # <limits.h> exists even on freestanding compilers. 5357 # On the NeXT, cc -E runs the code through the compiler's parser, 5358 # not just through cpp. "Syntax error" is here to catch this case. 5359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5360/* end confdefs.h. */ 5361#ifdef __STDC__ 5362# include <limits.h> 5363#else 5364# include <assert.h> 5365#endif 5366 Syntax error 5367_ACEOF 5368if ac_fn_c_try_cpp "$LINENO"; then : 5369 5370else 5371 # Broken: fails on valid input. 5372continue 5373fi 5374rm -f conftest.err conftest.i conftest.$ac_ext 5375 5376 # OK, works on sane cases. Now check whether nonexistent headers 5377 # can be detected and how. 5378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5379/* end confdefs.h. */ 5380#include <ac_nonexistent.h> 5381_ACEOF 5382if ac_fn_c_try_cpp "$LINENO"; then : 5383 # Broken: success on invalid input. 5384continue 5385else 5386 # Passes both tests. 5387ac_preproc_ok=: 5388break 5389fi 5390rm -f conftest.err conftest.i conftest.$ac_ext 5391 5392done 5393# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5394rm -f conftest.i conftest.err conftest.$ac_ext 5395if $ac_preproc_ok; then : 5396 5397else 5398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5399$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5400as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5401See \`config.log' for more details" "$LINENO" 5 ; } 5402fi 5403 5404ac_ext=c 5405ac_cpp='$CPP $CPPFLAGS' 5406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5408ac_compiler_gnu=$ac_cv_c_compiler_gnu 5409 5410 5411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5412$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5413if test "${ac_cv_path_GREP+set}" = set; then : 5414 $as_echo_n "(cached) " >&6 5415else 5416 if test -z "$GREP"; then 5417 ac_path_GREP_found=false 5418 # Loop through the user's path and test for each of PROGNAME-LIST 5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5420for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5421do 5422 IFS=$as_save_IFS 5423 test -z "$as_dir" && as_dir=. 5424 for ac_prog in grep ggrep; do 5425 for ac_exec_ext in '' $ac_executable_extensions; do 5426 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5427 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 5428# Check for GNU ac_path_GREP and select it if it is found. 5429 # Check for GNU $ac_path_GREP 5430case `"$ac_path_GREP" --version 2>&1` in 5431*GNU*) 5432 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5433*) 5434 ac_count=0 5435 $as_echo_n 0123456789 >"conftest.in" 5436 while : 5437 do 5438 cat "conftest.in" "conftest.in" >"conftest.tmp" 5439 mv "conftest.tmp" "conftest.in" 5440 cp "conftest.in" "conftest.nl" 5441 $as_echo 'GREP' >> "conftest.nl" 5442 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5443 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5444 as_fn_arith $ac_count + 1 && ac_count=$as_val 5445 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5446 # Best one so far, save it but keep looking for a better one 5447 ac_cv_path_GREP="$ac_path_GREP" 5448 ac_path_GREP_max=$ac_count 5449 fi 5450 # 10*(2^10) chars as input seems more than enough 5451 test $ac_count -gt 10 && break 5452 done 5453 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5454esac 5455 5456 $ac_path_GREP_found && break 3 5457 done 5458 done 5459 done 5460IFS=$as_save_IFS 5461 if test -z "$ac_cv_path_GREP"; then 5462 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5463 fi 5464else 5465 ac_cv_path_GREP=$GREP 5466fi 5467 5468fi 5469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5470$as_echo "$ac_cv_path_GREP" >&6; } 5471 GREP="$ac_cv_path_GREP" 5472 5473 5474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5475$as_echo_n "checking for egrep... " >&6; } 5476if test "${ac_cv_path_EGREP+set}" = set; then : 5477 $as_echo_n "(cached) " >&6 5478else 5479 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5480 then ac_cv_path_EGREP="$GREP -E" 5481 else 5482 if test -z "$EGREP"; then 5483 ac_path_EGREP_found=false 5484 # Loop through the user's path and test for each of PROGNAME-LIST 5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5486for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5487do 5488 IFS=$as_save_IFS 5489 test -z "$as_dir" && as_dir=. 5490 for ac_prog in egrep; do 5491 for ac_exec_ext in '' $ac_executable_extensions; do 5492 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5493 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 5494# Check for GNU ac_path_EGREP and select it if it is found. 5495 # Check for GNU $ac_path_EGREP 5496case `"$ac_path_EGREP" --version 2>&1` in 5497*GNU*) 5498 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5499*) 5500 ac_count=0 5501 $as_echo_n 0123456789 >"conftest.in" 5502 while : 5503 do 5504 cat "conftest.in" "conftest.in" >"conftest.tmp" 5505 mv "conftest.tmp" "conftest.in" 5506 cp "conftest.in" "conftest.nl" 5507 $as_echo 'EGREP' >> "conftest.nl" 5508 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5509 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5510 as_fn_arith $ac_count + 1 && ac_count=$as_val 5511 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5512 # Best one so far, save it but keep looking for a better one 5513 ac_cv_path_EGREP="$ac_path_EGREP" 5514 ac_path_EGREP_max=$ac_count 5515 fi 5516 # 10*(2^10) chars as input seems more than enough 5517 test $ac_count -gt 10 && break 5518 done 5519 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5520esac 5521 5522 $ac_path_EGREP_found && break 3 5523 done 5524 done 5525 done 5526IFS=$as_save_IFS 5527 if test -z "$ac_cv_path_EGREP"; then 5528 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5529 fi 5530else 5531 ac_cv_path_EGREP=$EGREP 5532fi 5533 5534 fi 5535fi 5536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5537$as_echo "$ac_cv_path_EGREP" >&6; } 5538 EGREP="$ac_cv_path_EGREP" 5539 5540 5541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5542$as_echo_n "checking for ANSI C header files... " >&6; } 5543if test "${ac_cv_header_stdc+set}" = set; then : 5544 $as_echo_n "(cached) " >&6 5545else 5546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5547/* end confdefs.h. */ 5548#include <stdlib.h> 5549#include <stdarg.h> 5550#include <string.h> 5551#include <float.h> 5552 5553int 5554main () 5555{ 5556 5557 ; 5558 return 0; 5559} 5560_ACEOF 5561if ac_fn_c_try_compile "$LINENO"; then : 5562 ac_cv_header_stdc=yes 5563else 5564 ac_cv_header_stdc=no 5565fi 5566rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5567 5568if test $ac_cv_header_stdc = yes; then 5569 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5571/* end confdefs.h. */ 5572#include <string.h> 5573 5574_ACEOF 5575if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5576 $EGREP "memchr" >/dev/null 2>&1; then : 5577 5578else 5579 ac_cv_header_stdc=no 5580fi 5581rm -f conftest* 5582 5583fi 5584 5585if test $ac_cv_header_stdc = yes; then 5586 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5588/* end confdefs.h. */ 5589#include <stdlib.h> 5590 5591_ACEOF 5592if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5593 $EGREP "free" >/dev/null 2>&1; then : 5594 5595else 5596 ac_cv_header_stdc=no 5597fi 5598rm -f conftest* 5599 5600fi 5601 5602if test $ac_cv_header_stdc = yes; then 5603 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5604 if test "$cross_compiling" = yes; then : 5605 : 5606else 5607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5608/* end confdefs.h. */ 5609#include <ctype.h> 5610#include <stdlib.h> 5611#if ((' ' & 0x0FF) == 0x020) 5612# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5613# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5614#else 5615# define ISLOWER(c) \ 5616 (('a' <= (c) && (c) <= 'i') \ 5617 || ('j' <= (c) && (c) <= 'r') \ 5618 || ('s' <= (c) && (c) <= 'z')) 5619# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5620#endif 5621 5622#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5623int 5624main () 5625{ 5626 int i; 5627 for (i = 0; i < 256; i++) 5628 if (XOR (islower (i), ISLOWER (i)) 5629 || toupper (i) != TOUPPER (i)) 5630 return 2; 5631 return 0; 5632} 5633_ACEOF 5634if ac_fn_c_try_run "$LINENO"; then : 5635 5636else 5637 ac_cv_header_stdc=no 5638fi 5639rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5640 conftest.$ac_objext conftest.beam conftest.$ac_ext 5641fi 5642 5643fi 5644fi 5645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5646$as_echo "$ac_cv_header_stdc" >&6; } 5647if test $ac_cv_header_stdc = yes; then 5648 5649$as_echo "#define STDC_HEADERS 1" >>confdefs.h 5650 5651fi 5652 5653# On IRIX 5.3, sys/types and inttypes.h are conflicting. 5654for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5655 inttypes.h stdint.h unistd.h 5656do : 5657 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5658ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 5659" 5660if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5661 cat >>confdefs.h <<_ACEOF 5662#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5663_ACEOF 5664 5665fi 5666 5667done 5668 5669 5670 5671 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 5672if test "x$ac_cv_header_minix_config_h" = x""yes; then : 5673 MINIX=yes 5674else 5675 MINIX= 5676fi 5677 5678 5679 if test "$MINIX" = yes; then 5680 5681$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 5682 5683 5684$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 5685 5686 5687$as_echo "#define _MINIX 1" >>confdefs.h 5688 5689 fi 5690 5691 5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 5693$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5694if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 5695 $as_echo_n "(cached) " >&6 5696else 5697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5698/* end confdefs.h. */ 5699 5700# define __EXTENSIONS__ 1 5701 $ac_includes_default 5702int 5703main () 5704{ 5705 5706 ; 5707 return 0; 5708} 5709_ACEOF 5710if ac_fn_c_try_compile "$LINENO"; then : 5711 ac_cv_safe_to_define___extensions__=yes 5712else 5713 ac_cv_safe_to_define___extensions__=no 5714fi 5715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5716fi 5717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 5718$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5719 test $ac_cv_safe_to_define___extensions__ = yes && 5720 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 5721 5722 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 5723 5724 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 5725 5726 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5727 5728 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 5729 5730 5731ac_ext=c 5732ac_cpp='$CPP $CPPFLAGS' 5733ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5734ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5735ac_compiler_gnu=$ac_cv_c_compiler_gnu 5736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5737$as_echo_n "checking how to run the C preprocessor... " >&6; } 5738# On Suns, sometimes $CPP names a directory. 5739if test -n "$CPP" && test -d "$CPP"; then 5740 CPP= 5741fi 5742if test -z "$CPP"; then 5743 if test "${ac_cv_prog_CPP+set}" = set; then : 5744 $as_echo_n "(cached) " >&6 5745else 5746 # Double quotes because CPP needs to be expanded 5747 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5748 do 5749 ac_preproc_ok=false 5750for ac_c_preproc_warn_flag in '' yes 5751do 5752 # Use a header file that comes with gcc, so configuring glibc 5753 # with a fresh cross-compiler works. 5754 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5755 # <limits.h> exists even on freestanding compilers. 5756 # On the NeXT, cc -E runs the code through the compiler's parser, 5757 # not just through cpp. "Syntax error" is here to catch this case. 5758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5759/* end confdefs.h. */ 5760#ifdef __STDC__ 5761# include <limits.h> 5762#else 5763# include <assert.h> 5764#endif 5765 Syntax error 5766_ACEOF 5767if ac_fn_c_try_cpp "$LINENO"; then : 5768 5769else 5770 # Broken: fails on valid input. 5771continue 5772fi 5773rm -f conftest.err conftest.i conftest.$ac_ext 5774 5775 # OK, works on sane cases. Now check whether nonexistent headers 5776 # can be detected and how. 5777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5778/* end confdefs.h. */ 5779#include <ac_nonexistent.h> 5780_ACEOF 5781if ac_fn_c_try_cpp "$LINENO"; then : 5782 # Broken: success on invalid input. 5783continue 5784else 5785 # Passes both tests. 5786ac_preproc_ok=: 5787break 5788fi 5789rm -f conftest.err conftest.i conftest.$ac_ext 5790 5791done 5792# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5793rm -f conftest.i conftest.err conftest.$ac_ext 5794if $ac_preproc_ok; then : 5795 break 5796fi 5797 5798 done 5799 ac_cv_prog_CPP=$CPP 5800 5801fi 5802 CPP=$ac_cv_prog_CPP 5803else 5804 ac_cv_prog_CPP=$CPP 5805fi 5806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5807$as_echo "$CPP" >&6; } 5808ac_preproc_ok=false 5809for ac_c_preproc_warn_flag in '' yes 5810do 5811 # Use a header file that comes with gcc, so configuring glibc 5812 # with a fresh cross-compiler works. 5813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5814 # <limits.h> exists even on freestanding compilers. 5815 # On the NeXT, cc -E runs the code through the compiler's parser, 5816 # not just through cpp. "Syntax error" is here to catch this case. 5817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5818/* end confdefs.h. */ 5819#ifdef __STDC__ 5820# include <limits.h> 5821#else 5822# include <assert.h> 5823#endif 5824 Syntax error 5825_ACEOF 5826if ac_fn_c_try_cpp "$LINENO"; then : 5827 5828else 5829 # Broken: fails on valid input. 5830continue 5831fi 5832rm -f conftest.err conftest.i conftest.$ac_ext 5833 5834 # OK, works on sane cases. Now check whether nonexistent headers 5835 # can be detected and how. 5836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5837/* end confdefs.h. */ 5838#include <ac_nonexistent.h> 5839_ACEOF 5840if ac_fn_c_try_cpp "$LINENO"; then : 5841 # Broken: success on invalid input. 5842continue 5843else 5844 # Passes both tests. 5845ac_preproc_ok=: 5846break 5847fi 5848rm -f conftest.err conftest.i conftest.$ac_ext 5849 5850done 5851# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5852rm -f conftest.i conftest.err conftest.$ac_ext 5853if $ac_preproc_ok; then : 5854 5855else 5856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5857$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5858as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5859See \`config.log' for more details" "$LINENO" 5 ; } 5860fi 5861 5862ac_ext=c 5863ac_cpp='$CPP $CPPFLAGS' 5864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5866ac_compiler_gnu=$ac_cv_c_compiler_gnu 5867 5868 5869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5870$as_echo_n "checking whether ln -s works... " >&6; } 5871LN_S=$as_ln_s 5872if test "$LN_S" = "ln -s"; then 5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5874$as_echo "yes" >&6; } 5875else 5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5877$as_echo "no, using $LN_S" >&6; } 5878fi 5879 5880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5881$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 5882set x ${MAKE-make} 5883ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5884if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 5885 $as_echo_n "(cached) " >&6 5886else 5887 cat >conftest.make <<\_ACEOF 5888SHELL = /bin/sh 5889all: 5890 @echo '@@@%%%=$(MAKE)=@@@%%%' 5891_ACEOF 5892# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5893case `${MAKE-make} -f conftest.make 2>/dev/null` in 5894 *@@@%%%=?*=@@@%%%*) 5895 eval ac_cv_prog_make_${ac_make}_set=yes;; 5896 *) 5897 eval ac_cv_prog_make_${ac_make}_set=no;; 5898esac 5899rm -f conftest.make 5900fi 5901if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5903$as_echo "yes" >&6; } 5904 SET_MAKE= 5905else 5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5907$as_echo "no" >&6; } 5908 SET_MAKE="MAKE=${MAKE-make}" 5909fi 5910 5911if test $ac_cv_c_compiler_gnu = yes; then 5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 5913$as_echo_n "checking whether $CC needs -traditional... " >&6; } 5914if test "${ac_cv_prog_gcc_traditional+set}" = set; then : 5915 $as_echo_n "(cached) " >&6 5916else 5917 ac_pattern="Autoconf.*'x'" 5918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5919/* end confdefs.h. */ 5920#include <sgtty.h> 5921Autoconf TIOCGETP 5922_ACEOF 5923if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5924 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5925 ac_cv_prog_gcc_traditional=yes 5926else 5927 ac_cv_prog_gcc_traditional=no 5928fi 5929rm -f conftest* 5930 5931 5932 if test $ac_cv_prog_gcc_traditional = no; then 5933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5934/* end confdefs.h. */ 5935#include <termio.h> 5936Autoconf TCGETA 5937_ACEOF 5938if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5939 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5940 ac_cv_prog_gcc_traditional=yes 5941fi 5942rm -f conftest* 5943 5944 fi 5945fi 5946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 5947$as_echo "$ac_cv_prog_gcc_traditional" >&6; } 5948 if test $ac_cv_prog_gcc_traditional = yes; then 5949 CC="$CC -traditional" 5950 fi 5951fi 5952 5953 5954# -fstack-protector 5955# Check whether --enable-stack-protector was given. 5956if test "${enable_stack_protector+set}" = set; then : 5957 enableval=$enable_stack_protector; case "${enableval}" in 5958 yes) enable_ssp=yes ;; 5959 no) enable_ssp=no ;; 5960 *) as_fn_error $? "invalid value ${enableval} for --disable-stack-protector" "$LINENO" 5 ;; 5961 esac 5962else 5963 enable_ssp=yes 5964fi 5965 5966 5967if test x"$enable_ssp" = x"yes" && test x"$GCC" != x"yes"; then 5968 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling stack-smashing protection because compiler is not GCC" >&5 5969$as_echo "$as_me: Disabling stack-smashing protection because compiler is not GCC" >&6;} 5970 enable_ssp=no 5971fi 5972 5973if test x"$enable_ssp" = x"yes"; then 5974 # Check for broken ssp in libc: http://www.avahi.org/ticket/105 5975 # libc's brokenness will get in the way regardless of whether -lssp is 5976 # provided, but provide it anyway (otherwise non-libc ssp would wrongly 5977 # break here) 5978 5979 # Get -lssp if it exists 5980 5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5 5982$as_echo_n "checking whether libssp exists... " >&6; } 5983if test "${ssp_cv_lib+set}" = set; then : 5984 $as_echo_n "(cached) " >&6 5985else 5986 ssp_old_libs="$LIBS" 5987 LIBS="$LIBS -lssp" 5988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5989/* end confdefs.h. */ 5990 5991int 5992main () 5993{ 5994 5995 ; 5996 return 0; 5997} 5998_ACEOF 5999if ac_fn_c_try_link "$LINENO"; then : 6000 ssp_cv_lib=yes 6001else 6002 ssp_cv_lib=no 6003fi 6004rm -f core conftest.err conftest.$ac_objext \ 6005 conftest$ac_exeext conftest.$ac_ext 6006 LIBS="$ssp_old_libs" 6007 6008fi 6009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5 6010$as_echo "$ssp_cv_lib" >&6; } 6011 if test $ssp_cv_lib = yes; then 6012 LIBS="$LIBS -lssp" 6013 fi 6014 6015 6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stack-smashing protection is available" >&5 6017$as_echo_n "checking whether stack-smashing protection is available... " >&6; } 6018 ssp_old_cflags="$CFLAGS" 6019 ssp_old_ldflags="$LDFLAGS" 6020 CFLAGS="$CFLAGS -Werror -fstack-protector-all -fPIC" 6021 LDFLAGS="$LDFLAGS -Wl,-z,defs" 6022 cat confdefs.h > conftest.c 6023 cat >>conftest.c <<_ACEOF 6024void test_broken_ssp(c) 6025 const char *c; 6026{ 6027 char arr[123], *p; /* beware of possible double-braces if copying this */ 6028 for (p = arr; *c; ++p) { 6029 *p = *c; 6030 ++c; 6031 } 6032} 6033_ACEOF 6034 rm -f conftest.o 6035 6036 if $CC -c $CFLAGS $CPPFLAGS -o conftest.o conftest.c >/dev/null 2>&1; then 6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6038$as_echo "yes" >&6; } 6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stack-smashing protection is buggy" >&5 6040$as_echo_n "checking whether stack-smashing protection is buggy... " >&6; } 6041 if $CC -o conftest.so $LDFLAGS -shared conftest.o $LIBS >/dev/null 2>&1; then 6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6043$as_echo "no" >&6; } 6044 else 6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6046$as_echo "yes" >&6; } 6047 enable_ssp=no 6048 fi 6049 else 6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6051$as_echo "no" >&6; } 6052 fi 6053 6054 rm -f conftest.c conftest.o conftest.so 6055 6056 CFLAGS="$ssp_old_cflags" 6057 LDFLAGS="$ssp_old_ldflags" 6058fi 6059 6060if test x"$enable_ssp" = x"yes"; then 6061 # Do this the long way so we don't call GCC_STACK_PROTECT_LIB twice 6062 6063 6064 if test "X$CC" != "X"; then 6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 6066$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } 6067if test "${ssp_cv_cc+set}" = set; then : 6068 $as_echo_n "(cached) " >&6 6069else 6070 ssp_old_cflags="$CFLAGS" 6071 CFLAGS="$CFLAGS -fstack-protector -Werror" 6072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6073/* end confdefs.h. */ 6074 6075int 6076main () 6077{ 6078 6079 ; 6080 return 0; 6081} 6082_ACEOF 6083if ac_fn_c_try_compile "$LINENO"; then : 6084 ssp_cv_cc=yes 6085else 6086 ssp_cv_cc=no 6087fi 6088rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6089 CFLAGS="$ssp_old_cflags" 6090 6091fi 6092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 6093$as_echo "$ssp_cv_cc" >&6; } 6094 if test $ssp_cv_cc = yes; then 6095 CFLAGS="$CFLAGS -fstack-protector" 6096 6097$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h 6098 6099 fi 6100 fi 6101 6102 6103 ac_ext=cpp 6104ac_cpp='$CXXCPP $CPPFLAGS' 6105ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6106ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6107ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6108 6109 6110 6111 6112 if test "X$CXX" != "X"; then 6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -fstack-protector" >&5 6114$as_echo_n "checking whether ${CXX} accepts -fstack-protector... " >&6; } 6115if test "${ssp_cv_cxx+set}" = set; then : 6116 $as_echo_n "(cached) " >&6 6117else 6118 ssp_old_cxxflags="$CXXFLAGS" 6119 CXXFLAGS="$CXXFLAGS -fstack-protector -Werror" 6120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6121/* end confdefs.h. */ 6122 6123int 6124main () 6125{ 6126 6127 ; 6128 return 0; 6129} 6130_ACEOF 6131if ac_fn_cxx_try_compile "$LINENO"; then : 6132 ssp_cv_cxx=yes 6133else 6134 ssp_cv_cxx=no 6135fi 6136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6137 CXXFLAGS="$ssp_old_cxxflags" 6138 6139fi 6140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cxx" >&5 6141$as_echo "$ssp_cv_cxx" >&6; } 6142 if test $ssp_cv_cxx = yes; then 6143 CXXFLAGS="$CXXFLAGS -fstack-protector" 6144 6145$as_echo "#define ENABLE_SSP_CXX 1" >>confdefs.h 6146 6147 fi 6148 fi 6149 6150 ac_ext=c 6151ac_cpp='$CPP $CPPFLAGS' 6152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6154ac_compiler_gnu=$ac_cv_c_compiler_gnu 6155 6156 # XXX: Update the enable_ssp value now for output later? 6157fi 6158 6159# libtool stuff 6160case `pwd` in 6161 *\ * | *\ *) 6162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 6163$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 6164esac 6165 6166 6167 6168macro_version='2.4.2' 6169macro_revision='1.3337' 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183ltmain="$ac_aux_dir/ltmain.sh" 6184 6185# Backslashify metacharacters that are still active within 6186# double-quoted strings. 6187sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 6188 6189# Same as above, but do not quote variable references. 6190double_quote_subst='s/\(["`\\]\)/\\\1/g' 6191 6192# Sed substitution to delay expansion of an escaped shell variable in a 6193# double_quote_subst'ed string. 6194delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 6195 6196# Sed substitution to delay expansion of an escaped single quote. 6197delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 6198 6199# Sed substitution to avoid accidental globbing in evaled expressions 6200no_glob_subst='s/\*/\\\*/g' 6201 6202ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6203ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 6204ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 6205 6206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 6207$as_echo_n "checking how to print strings... " >&6; } 6208# Test print first, because it will be a builtin if present. 6209if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 6210 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 6211 ECHO='print -r --' 6212elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 6213 ECHO='printf %s\n' 6214else 6215 # Use this function as a fallback that always works. 6216 func_fallback_echo () 6217 { 6218 eval 'cat <<_LTECHO_EOF 6219$1 6220_LTECHO_EOF' 6221 } 6222 ECHO='func_fallback_echo' 6223fi 6224 6225# func_echo_all arg... 6226# Invoke $ECHO with all args, space-separated. 6227func_echo_all () 6228{ 6229 $ECHO "" 6230} 6231 6232case "$ECHO" in 6233 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6234$as_echo "printf" >&6; } ;; 6235 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6236$as_echo "print -r" >&6; } ;; 6237 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6238$as_echo "cat" >&6; } ;; 6239esac 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6255$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6256if test "${ac_cv_path_SED+set}" = set; then : 6257 $as_echo_n "(cached) " >&6 6258else 6259 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6260 for ac_i in 1 2 3 4 5 6 7; do 6261 ac_script="$ac_script$as_nl$ac_script" 6262 done 6263 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6264 { ac_script=; unset ac_script;} 6265 if test -z "$SED"; then 6266 ac_path_SED_found=false 6267 # Loop through the user's path and test for each of PROGNAME-LIST 6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6269for as_dir in $PATH 6270do 6271 IFS=$as_save_IFS 6272 test -z "$as_dir" && as_dir=. 6273 for ac_prog in sed gsed; do 6274 for ac_exec_ext in '' $ac_executable_extensions; do 6275 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6276 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 6277# Check for GNU ac_path_SED and select it if it is found. 6278 # Check for GNU $ac_path_SED 6279case `"$ac_path_SED" --version 2>&1` in 6280*GNU*) 6281 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6282*) 6283 ac_count=0 6284 $as_echo_n 0123456789 >"conftest.in" 6285 while : 6286 do 6287 cat "conftest.in" "conftest.in" >"conftest.tmp" 6288 mv "conftest.tmp" "conftest.in" 6289 cp "conftest.in" "conftest.nl" 6290 $as_echo '' >> "conftest.nl" 6291 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6292 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6293 as_fn_arith $ac_count + 1 && ac_count=$as_val 6294 if test $ac_count -gt ${ac_path_SED_max-0}; then 6295 # Best one so far, save it but keep looking for a better one 6296 ac_cv_path_SED="$ac_path_SED" 6297 ac_path_SED_max=$ac_count 6298 fi 6299 # 10*(2^10) chars as input seems more than enough 6300 test $ac_count -gt 10 && break 6301 done 6302 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6303esac 6304 6305 $ac_path_SED_found && break 3 6306 done 6307 done 6308 done 6309IFS=$as_save_IFS 6310 if test -z "$ac_cv_path_SED"; then 6311 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6312 fi 6313else 6314 ac_cv_path_SED=$SED 6315fi 6316 6317fi 6318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6319$as_echo "$ac_cv_path_SED" >&6; } 6320 SED="$ac_cv_path_SED" 6321 rm -f conftest.sed 6322 6323test -z "$SED" && SED=sed 6324Xsed="$SED -e 1s/^X//" 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6337$as_echo_n "checking for fgrep... " >&6; } 6338if test "${ac_cv_path_FGREP+set}" = set; then : 6339 $as_echo_n "(cached) " >&6 6340else 6341 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6342 then ac_cv_path_FGREP="$GREP -F" 6343 else 6344 if test -z "$FGREP"; then 6345 ac_path_FGREP_found=false 6346 # Loop through the user's path and test for each of PROGNAME-LIST 6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6348for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6349do 6350 IFS=$as_save_IFS 6351 test -z "$as_dir" && as_dir=. 6352 for ac_prog in fgrep; do 6353 for ac_exec_ext in '' $ac_executable_extensions; do 6354 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6355 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 6356# Check for GNU ac_path_FGREP and select it if it is found. 6357 # Check for GNU $ac_path_FGREP 6358case `"$ac_path_FGREP" --version 2>&1` in 6359*GNU*) 6360 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6361*) 6362 ac_count=0 6363 $as_echo_n 0123456789 >"conftest.in" 6364 while : 6365 do 6366 cat "conftest.in" "conftest.in" >"conftest.tmp" 6367 mv "conftest.tmp" "conftest.in" 6368 cp "conftest.in" "conftest.nl" 6369 $as_echo 'FGREP' >> "conftest.nl" 6370 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6371 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6372 as_fn_arith $ac_count + 1 && ac_count=$as_val 6373 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6374 # Best one so far, save it but keep looking for a better one 6375 ac_cv_path_FGREP="$ac_path_FGREP" 6376 ac_path_FGREP_max=$ac_count 6377 fi 6378 # 10*(2^10) chars as input seems more than enough 6379 test $ac_count -gt 10 && break 6380 done 6381 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6382esac 6383 6384 $ac_path_FGREP_found && break 3 6385 done 6386 done 6387 done 6388IFS=$as_save_IFS 6389 if test -z "$ac_cv_path_FGREP"; then 6390 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6391 fi 6392else 6393 ac_cv_path_FGREP=$FGREP 6394fi 6395 6396 fi 6397fi 6398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6399$as_echo "$ac_cv_path_FGREP" >&6; } 6400 FGREP="$ac_cv_path_FGREP" 6401 6402 6403test -z "$GREP" && GREP=grep 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423# Check whether --with-gnu-ld was given. 6424if test "${with_gnu_ld+set}" = set; then : 6425 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 6426else 6427 with_gnu_ld=no 6428fi 6429 6430ac_prog=ld 6431if test "$GCC" = yes; then 6432 # Check if gcc -print-prog-name=ld gives a path. 6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6434$as_echo_n "checking for ld used by $CC... " >&6; } 6435 case $host in 6436 *-*-mingw*) 6437 # gcc leaves a trailing carriage return which upsets mingw 6438 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6439 *) 6440 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6441 esac 6442 case $ac_prog in 6443 # Accept absolute paths. 6444 [\\/]* | ?:[\\/]*) 6445 re_direlt='/[^/][^/]*/\.\./' 6446 # Canonicalize the pathname of ld 6447 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6448 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6449 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6450 done 6451 test -z "$LD" && LD="$ac_prog" 6452 ;; 6453 "") 6454 # If it fails, then pretend we aren't using GCC. 6455 ac_prog=ld 6456 ;; 6457 *) 6458 # If it is relative, then search for the first ld in PATH. 6459 with_gnu_ld=unknown 6460 ;; 6461 esac 6462elif test "$with_gnu_ld" = yes; then 6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6464$as_echo_n "checking for GNU ld... " >&6; } 6465else 6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6467$as_echo_n "checking for non-GNU ld... " >&6; } 6468fi 6469if test "${lt_cv_path_LD+set}" = set; then : 6470 $as_echo_n "(cached) " >&6 6471else 6472 if test -z "$LD"; then 6473 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6474 for ac_dir in $PATH; do 6475 IFS="$lt_save_ifs" 6476 test -z "$ac_dir" && ac_dir=. 6477 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6478 lt_cv_path_LD="$ac_dir/$ac_prog" 6479 # Check to see if the program is GNU ld. I'd rather use --version, 6480 # but apparently some variants of GNU ld only accept -v. 6481 # Break only if it was the GNU/non-GNU ld that we prefer. 6482 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6483 *GNU* | *'with BFD'*) 6484 test "$with_gnu_ld" != no && break 6485 ;; 6486 *) 6487 test "$with_gnu_ld" != yes && break 6488 ;; 6489 esac 6490 fi 6491 done 6492 IFS="$lt_save_ifs" 6493else 6494 lt_cv_path_LD="$LD" # Let the user override the test with a path. 6495fi 6496fi 6497 6498LD="$lt_cv_path_LD" 6499if test -n "$LD"; then 6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6501$as_echo "$LD" >&6; } 6502else 6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6504$as_echo "no" >&6; } 6505fi 6506test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6508$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6509if test "${lt_cv_prog_gnu_ld+set}" = set; then : 6510 $as_echo_n "(cached) " >&6 6511else 6512 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6513case `$LD -v 2>&1 </dev/null` in 6514*GNU* | *'with BFD'*) 6515 lt_cv_prog_gnu_ld=yes 6516 ;; 6517*) 6518 lt_cv_prog_gnu_ld=no 6519 ;; 6520esac 6521fi 6522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6523$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6524with_gnu_ld=$lt_cv_prog_gnu_ld 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6535$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6536if test "${lt_cv_path_NM+set}" = set; then : 6537 $as_echo_n "(cached) " >&6 6538else 6539 if test -n "$NM"; then 6540 # Let the user override the test. 6541 lt_cv_path_NM="$NM" 6542else 6543 lt_nm_to_check="${ac_tool_prefix}nm" 6544 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6545 lt_nm_to_check="$lt_nm_to_check nm" 6546 fi 6547 for lt_tmp_nm in $lt_nm_to_check; do 6548 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6549 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6550 IFS="$lt_save_ifs" 6551 test -z "$ac_dir" && ac_dir=. 6552 tmp_nm="$ac_dir/$lt_tmp_nm" 6553 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 6554 # Check to see if the nm accepts a BSD-compat flag. 6555 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 6556 # nm: unknown option "B" ignored 6557 # Tru64's nm complains that /dev/null is an invalid object file 6558 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 6559 */dev/null* | *'Invalid file or object type'*) 6560 lt_cv_path_NM="$tmp_nm -B" 6561 break 6562 ;; 6563 *) 6564 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6565 */dev/null*) 6566 lt_cv_path_NM="$tmp_nm -p" 6567 break 6568 ;; 6569 *) 6570 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6571 continue # so that we can try to find one that supports BSD flags 6572 ;; 6573 esac 6574 ;; 6575 esac 6576 fi 6577 done 6578 IFS="$lt_save_ifs" 6579 done 6580 : ${lt_cv_path_NM=no} 6581fi 6582fi 6583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6584$as_echo "$lt_cv_path_NM" >&6; } 6585if test "$lt_cv_path_NM" != "no"; then 6586 NM="$lt_cv_path_NM" 6587else 6588 # Didn't find any BSD compatible name lister, look for dumpbin. 6589 if test -n "$DUMPBIN"; then : 6590 # Let the user override the test. 6591 else 6592 if test -n "$ac_tool_prefix"; then 6593 for ac_prog in dumpbin "link -dump" 6594 do 6595 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6596set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6598$as_echo_n "checking for $ac_word... " >&6; } 6599if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 6600 $as_echo_n "(cached) " >&6 6601else 6602 if test -n "$DUMPBIN"; then 6603 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6604else 6605as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6606for as_dir in $PATH 6607do 6608 IFS=$as_save_IFS 6609 test -z "$as_dir" && as_dir=. 6610 for ac_exec_ext in '' $ac_executable_extensions; do 6611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6612 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6614 break 2 6615 fi 6616done 6617 done 6618IFS=$as_save_IFS 6619 6620fi 6621fi 6622DUMPBIN=$ac_cv_prog_DUMPBIN 6623if test -n "$DUMPBIN"; then 6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6625$as_echo "$DUMPBIN" >&6; } 6626else 6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6628$as_echo "no" >&6; } 6629fi 6630 6631 6632 test -n "$DUMPBIN" && break 6633 done 6634fi 6635if test -z "$DUMPBIN"; then 6636 ac_ct_DUMPBIN=$DUMPBIN 6637 for ac_prog in dumpbin "link -dump" 6638do 6639 # Extract the first word of "$ac_prog", so it can be a program name with args. 6640set dummy $ac_prog; ac_word=$2 6641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6642$as_echo_n "checking for $ac_word... " >&6; } 6643if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 6644 $as_echo_n "(cached) " >&6 6645else 6646 if test -n "$ac_ct_DUMPBIN"; then 6647 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6648else 6649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6650for as_dir in $PATH 6651do 6652 IFS=$as_save_IFS 6653 test -z "$as_dir" && as_dir=. 6654 for ac_exec_ext in '' $ac_executable_extensions; do 6655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6656 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6658 break 2 6659 fi 6660done 6661 done 6662IFS=$as_save_IFS 6663 6664fi 6665fi 6666ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6667if test -n "$ac_ct_DUMPBIN"; then 6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6669$as_echo "$ac_ct_DUMPBIN" >&6; } 6670else 6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6672$as_echo "no" >&6; } 6673fi 6674 6675 6676 test -n "$ac_ct_DUMPBIN" && break 6677done 6678 6679 if test "x$ac_ct_DUMPBIN" = x; then 6680 DUMPBIN=":" 6681 else 6682 case $cross_compiling:$ac_tool_warned in 6683yes:) 6684{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6685$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6686ac_tool_warned=yes ;; 6687esac 6688 DUMPBIN=$ac_ct_DUMPBIN 6689 fi 6690fi 6691 6692 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 6693 *COFF*) 6694 DUMPBIN="$DUMPBIN -symbols" 6695 ;; 6696 *) 6697 DUMPBIN=: 6698 ;; 6699 esac 6700 fi 6701 6702 if test "$DUMPBIN" != ":"; then 6703 NM="$DUMPBIN" 6704 fi 6705fi 6706test -z "$NM" && NM=nm 6707 6708 6709 6710 6711 6712 6713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6714$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6715if test "${lt_cv_nm_interface+set}" = set; then : 6716 $as_echo_n "(cached) " >&6 6717else 6718 lt_cv_nm_interface="BSD nm" 6719 echo "int some_variable = 0;" > conftest.$ac_ext 6720 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 6721 (eval "$ac_compile" 2>conftest.err) 6722 cat conftest.err >&5 6723 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6724 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6725 cat conftest.err >&5 6726 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 6727 cat conftest.out >&5 6728 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6729 lt_cv_nm_interface="MS dumpbin" 6730 fi 6731 rm -f conftest* 6732fi 6733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6734$as_echo "$lt_cv_nm_interface" >&6; } 6735 6736# find the maximum length of command line arguments 6737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6738$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6739if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 6740 $as_echo_n "(cached) " >&6 6741else 6742 i=0 6743 teststring="ABCD" 6744 6745 case $build_os in 6746 msdosdjgpp*) 6747 # On DJGPP, this test can blow up pretty badly due to problems in libc 6748 # (any single argument exceeding 2000 bytes causes a buffer overrun 6749 # during glob expansion). Even if it were fixed, the result of this 6750 # check would be larger than it should be. 6751 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6752 ;; 6753 6754 gnu*) 6755 # Under GNU Hurd, this test is not required because there is 6756 # no limit to the length of command line arguments. 6757 # Libtool will interpret -1 as no limit whatsoever 6758 lt_cv_sys_max_cmd_len=-1; 6759 ;; 6760 6761 cygwin* | mingw* | cegcc*) 6762 # On Win9x/ME, this test blows up -- it succeeds, but takes 6763 # about 5 minutes as the teststring grows exponentially. 6764 # Worse, since 9x/ME are not pre-emptively multitasking, 6765 # you end up with a "frozen" computer, even though with patience 6766 # the test eventually succeeds (with a max line length of 256k). 6767 # Instead, let's just punt: use the minimum linelength reported by 6768 # all of the supported platforms: 8192 (on NT/2K/XP). 6769 lt_cv_sys_max_cmd_len=8192; 6770 ;; 6771 6772 mint*) 6773 # On MiNT this can take a long time and run out of memory. 6774 lt_cv_sys_max_cmd_len=8192; 6775 ;; 6776 6777 amigaos*) 6778 # On AmigaOS with pdksh, this test takes hours, literally. 6779 # So we just punt and use a minimum line length of 8192. 6780 lt_cv_sys_max_cmd_len=8192; 6781 ;; 6782 6783 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 6784 # This has been around since 386BSD, at least. Likely further. 6785 if test -x /sbin/sysctl; then 6786 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6787 elif test -x /usr/sbin/sysctl; then 6788 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6789 else 6790 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6791 fi 6792 # And add a safety zone 6793 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6794 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6795 ;; 6796 6797 interix*) 6798 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6799 lt_cv_sys_max_cmd_len=196608 6800 ;; 6801 6802 os2*) 6803 # The test takes a long time on OS/2. 6804 lt_cv_sys_max_cmd_len=8192 6805 ;; 6806 6807 osf*) 6808 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6809 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6810 # nice to cause kernel panics so lets avoid the loop below. 6811 # First set a reasonable default. 6812 lt_cv_sys_max_cmd_len=16384 6813 # 6814 if test -x /sbin/sysconfig; then 6815 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6816 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6817 esac 6818 fi 6819 ;; 6820 sco3.2v5*) 6821 lt_cv_sys_max_cmd_len=102400 6822 ;; 6823 sysv5* | sco5v6* | sysv4.2uw2*) 6824 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6825 if test -n "$kargmax"; then 6826 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6827 else 6828 lt_cv_sys_max_cmd_len=32768 6829 fi 6830 ;; 6831 *) 6832 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6833 if test -n "$lt_cv_sys_max_cmd_len"; then 6834 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6835 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6836 else 6837 # Make teststring a little bigger before we do anything with it. 6838 # a 1K string should be a reasonable start. 6839 for i in 1 2 3 4 5 6 7 8 ; do 6840 teststring=$teststring$teststring 6841 done 6842 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6843 # If test is not a shell built-in, we'll probably end up computing a 6844 # maximum length that is only half of the actual maximum length, but 6845 # we can't tell. 6846 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 6847 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6848 test $i != 17 # 1/2 MB should be enough 6849 do 6850 i=`expr $i + 1` 6851 teststring=$teststring$teststring 6852 done 6853 # Only check the string length outside the loop. 6854 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6855 teststring= 6856 # Add a significant safety factor because C++ compilers can tack on 6857 # massive amounts of additional arguments before passing them to the 6858 # linker. It appears as though 1/2 is a usable value. 6859 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6860 fi 6861 ;; 6862 esac 6863 6864fi 6865 6866if test -n $lt_cv_sys_max_cmd_len ; then 6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6868$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6869else 6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6871$as_echo "none" >&6; } 6872fi 6873max_cmd_len=$lt_cv_sys_max_cmd_len 6874 6875 6876 6877 6878 6879 6880: ${CP="cp -f"} 6881: ${MV="mv -f"} 6882: ${RM="rm -f"} 6883 6884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 6885$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 6886# Try some XSI features 6887xsi_shell=no 6888( _lt_dummy="a/b/c" 6889 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 6890 = c,a/b,b/c, \ 6891 && eval 'test $(( 1 + 1 )) -eq 2 \ 6892 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 6893 && xsi_shell=yes 6894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 6895$as_echo "$xsi_shell" >&6; } 6896 6897 6898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 6899$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 6900lt_shell_append=no 6901( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 6902 >/dev/null 2>&1 \ 6903 && lt_shell_append=yes 6904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 6905$as_echo "$lt_shell_append" >&6; } 6906 6907 6908if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6909 lt_unset=unset 6910else 6911 lt_unset=false 6912fi 6913 6914 6915 6916 6917 6918# test EBCDIC or ASCII 6919case `echo X|tr X '\101'` in 6920 A) # ASCII based system 6921 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6922 lt_SP2NL='tr \040 \012' 6923 lt_NL2SP='tr \015\012 \040\040' 6924 ;; 6925 *) # EBCDIC based system 6926 lt_SP2NL='tr \100 \n' 6927 lt_NL2SP='tr \r\n \100\100' 6928 ;; 6929esac 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6940$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6941if test "${lt_cv_to_host_file_cmd+set}" = set; then : 6942 $as_echo_n "(cached) " >&6 6943else 6944 case $host in 6945 *-*-mingw* ) 6946 case $build in 6947 *-*-mingw* ) # actually msys 6948 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6949 ;; 6950 *-*-cygwin* ) 6951 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6952 ;; 6953 * ) # otherwise, assume *nix 6954 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6955 ;; 6956 esac 6957 ;; 6958 *-*-cygwin* ) 6959 case $build in 6960 *-*-mingw* ) # actually msys 6961 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6962 ;; 6963 *-*-cygwin* ) 6964 lt_cv_to_host_file_cmd=func_convert_file_noop 6965 ;; 6966 * ) # otherwise, assume *nix 6967 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6968 ;; 6969 esac 6970 ;; 6971 * ) # unhandled hosts (and "normal" native builds) 6972 lt_cv_to_host_file_cmd=func_convert_file_noop 6973 ;; 6974esac 6975 6976fi 6977 6978to_host_file_cmd=$lt_cv_to_host_file_cmd 6979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6980$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6981 6982 6983 6984 6985 6986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6987$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6988if test "${lt_cv_to_tool_file_cmd+set}" = set; then : 6989 $as_echo_n "(cached) " >&6 6990else 6991 #assume ordinary cross tools, or native build. 6992lt_cv_to_tool_file_cmd=func_convert_file_noop 6993case $host in 6994 *-*-mingw* ) 6995 case $build in 6996 *-*-mingw* ) # actually msys 6997 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6998 ;; 6999 esac 7000 ;; 7001esac 7002 7003fi 7004 7005to_tool_file_cmd=$lt_cv_to_tool_file_cmd 7006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 7007$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 7008 7009 7010 7011 7012 7013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 7014$as_echo_n "checking for $LD option to reload object files... " >&6; } 7015if test "${lt_cv_ld_reload_flag+set}" = set; then : 7016 $as_echo_n "(cached) " >&6 7017else 7018 lt_cv_ld_reload_flag='-r' 7019fi 7020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 7021$as_echo "$lt_cv_ld_reload_flag" >&6; } 7022reload_flag=$lt_cv_ld_reload_flag 7023case $reload_flag in 7024"" | " "*) ;; 7025*) reload_flag=" $reload_flag" ;; 7026esac 7027reload_cmds='$LD$reload_flag -o $output$reload_objs' 7028case $host_os in 7029 cygwin* | mingw* | pw32* | cegcc*) 7030 if test "$GCC" != yes; then 7031 reload_cmds=false 7032 fi 7033 ;; 7034 darwin*) 7035 if test "$GCC" = yes; then 7036 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 7037 else 7038 reload_cmds='$LD$reload_flag -o $output$reload_objs' 7039 fi 7040 ;; 7041esac 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051if test -n "$ac_tool_prefix"; then 7052 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 7053set dummy ${ac_tool_prefix}objdump; ac_word=$2 7054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7055$as_echo_n "checking for $ac_word... " >&6; } 7056if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 7057 $as_echo_n "(cached) " >&6 7058else 7059 if test -n "$OBJDUMP"; then 7060 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 7061else 7062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7063for as_dir in $PATH 7064do 7065 IFS=$as_save_IFS 7066 test -z "$as_dir" && as_dir=. 7067 for ac_exec_ext in '' $ac_executable_extensions; do 7068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7069 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 7070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7071 break 2 7072 fi 7073done 7074 done 7075IFS=$as_save_IFS 7076 7077fi 7078fi 7079OBJDUMP=$ac_cv_prog_OBJDUMP 7080if test -n "$OBJDUMP"; then 7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 7082$as_echo "$OBJDUMP" >&6; } 7083else 7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7085$as_echo "no" >&6; } 7086fi 7087 7088 7089fi 7090if test -z "$ac_cv_prog_OBJDUMP"; then 7091 ac_ct_OBJDUMP=$OBJDUMP 7092 # Extract the first word of "objdump", so it can be a program name with args. 7093set dummy objdump; ac_word=$2 7094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7095$as_echo_n "checking for $ac_word... " >&6; } 7096if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 7097 $as_echo_n "(cached) " >&6 7098else 7099 if test -n "$ac_ct_OBJDUMP"; then 7100 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 7101else 7102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7103for as_dir in $PATH 7104do 7105 IFS=$as_save_IFS 7106 test -z "$as_dir" && as_dir=. 7107 for ac_exec_ext in '' $ac_executable_extensions; do 7108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7109 ac_cv_prog_ac_ct_OBJDUMP="objdump" 7110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7111 break 2 7112 fi 7113done 7114 done 7115IFS=$as_save_IFS 7116 7117fi 7118fi 7119ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 7120if test -n "$ac_ct_OBJDUMP"; then 7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 7122$as_echo "$ac_ct_OBJDUMP" >&6; } 7123else 7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7125$as_echo "no" >&6; } 7126fi 7127 7128 if test "x$ac_ct_OBJDUMP" = x; then 7129 OBJDUMP="false" 7130 else 7131 case $cross_compiling:$ac_tool_warned in 7132yes:) 7133{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7134$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7135ac_tool_warned=yes ;; 7136esac 7137 OBJDUMP=$ac_ct_OBJDUMP 7138 fi 7139else 7140 OBJDUMP="$ac_cv_prog_OBJDUMP" 7141fi 7142 7143test -z "$OBJDUMP" && OBJDUMP=objdump 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 7154$as_echo_n "checking how to recognize dependent libraries... " >&6; } 7155if test "${lt_cv_deplibs_check_method+set}" = set; then : 7156 $as_echo_n "(cached) " >&6 7157else 7158 lt_cv_file_magic_cmd='$MAGIC_CMD' 7159lt_cv_file_magic_test_file= 7160lt_cv_deplibs_check_method='unknown' 7161# Need to set the preceding variable on all platforms that support 7162# interlibrary dependencies. 7163# 'none' -- dependencies not supported. 7164# `unknown' -- same as none, but documents that we really don't know. 7165# 'pass_all' -- all dependencies passed with no checks. 7166# 'test_compile' -- check by making test program. 7167# 'file_magic [[regex]]' -- check by looking for files in library path 7168# which responds to the $file_magic_cmd with a given extended regex. 7169# If you have `file' or equivalent on your system and you're not sure 7170# whether `pass_all' will *always* work, you probably want this one. 7171 7172case $host_os in 7173aix[4-9]*) 7174 lt_cv_deplibs_check_method=pass_all 7175 ;; 7176 7177beos*) 7178 lt_cv_deplibs_check_method=pass_all 7179 ;; 7180 7181bsdi[45]*) 7182 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 7183 lt_cv_file_magic_cmd='/usr/bin/file -L' 7184 lt_cv_file_magic_test_file=/shlib/libc.so 7185 ;; 7186 7187cygwin*) 7188 # func_win32_libid is a shell function defined in ltmain.sh 7189 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7190 lt_cv_file_magic_cmd='func_win32_libid' 7191 ;; 7192 7193mingw* | pw32*) 7194 # Base MSYS/MinGW do not provide the 'file' command needed by 7195 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7196 # unless we find 'file', for example because we are cross-compiling. 7197 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 7198 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 7199 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7200 lt_cv_file_magic_cmd='func_win32_libid' 7201 else 7202 # Keep this pattern in sync with the one in func_win32_libid. 7203 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 7204 lt_cv_file_magic_cmd='$OBJDUMP -f' 7205 fi 7206 ;; 7207 7208cegcc*) 7209 # use the weaker test based on 'objdump'. See mingw*. 7210 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7211 lt_cv_file_magic_cmd='$OBJDUMP -f' 7212 ;; 7213 7214darwin* | rhapsody*) 7215 lt_cv_deplibs_check_method=pass_all 7216 ;; 7217 7218freebsd* | dragonfly*) 7219 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7220 case $host_cpu in 7221 i*86 ) 7222 # Not sure whether the presence of OpenBSD here was a mistake. 7223 # Let's accept both of them until this is cleared up. 7224 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7225 lt_cv_file_magic_cmd=/usr/bin/file 7226 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7227 ;; 7228 esac 7229 else 7230 lt_cv_deplibs_check_method=pass_all 7231 fi 7232 ;; 7233 7234gnu*) 7235 lt_cv_deplibs_check_method=pass_all 7236 ;; 7237 7238haiku*) 7239 lt_cv_deplibs_check_method=pass_all 7240 ;; 7241 7242hpux10.20* | hpux11*) 7243 lt_cv_file_magic_cmd=/usr/bin/file 7244 case $host_cpu in 7245 ia64*) 7246 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7247 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7248 ;; 7249 hppa*64*) 7250 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]' 7251 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7252 ;; 7253 *) 7254 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7255 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7256 ;; 7257 esac 7258 ;; 7259 7260interix[3-9]*) 7261 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7262 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7263 ;; 7264 7265irix5* | irix6* | nonstopux*) 7266 case $LD in 7267 *-32|*"-32 ") libmagic=32-bit;; 7268 *-n32|*"-n32 ") libmagic=N32;; 7269 *-64|*"-64 ") libmagic=64-bit;; 7270 *) libmagic=never-match;; 7271 esac 7272 lt_cv_deplibs_check_method=pass_all 7273 ;; 7274 7275# This must be glibc/ELF. 7276linux* | k*bsd*-gnu | kopensolaris*-gnu) 7277 lt_cv_deplibs_check_method=pass_all 7278 ;; 7279 7280netbsd*) 7281 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7282 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7283 else 7284 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7285 fi 7286 ;; 7287 7288newos6*) 7289 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7290 lt_cv_file_magic_cmd=/usr/bin/file 7291 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7292 ;; 7293 7294*nto* | *qnx*) 7295 lt_cv_deplibs_check_method=pass_all 7296 ;; 7297 7298openbsd*) 7299 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 7300 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7301 else 7302 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7303 fi 7304 ;; 7305 7306osf3* | osf4* | osf5*) 7307 lt_cv_deplibs_check_method=pass_all 7308 ;; 7309 7310rdos*) 7311 lt_cv_deplibs_check_method=pass_all 7312 ;; 7313 7314solaris*) 7315 lt_cv_deplibs_check_method=pass_all 7316 ;; 7317 7318sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7319 lt_cv_deplibs_check_method=pass_all 7320 ;; 7321 7322sysv4 | sysv4.3*) 7323 case $host_vendor in 7324 motorola) 7325 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]' 7326 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7327 ;; 7328 ncr) 7329 lt_cv_deplibs_check_method=pass_all 7330 ;; 7331 sequent) 7332 lt_cv_file_magic_cmd='/bin/file' 7333 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7334 ;; 7335 sni) 7336 lt_cv_file_magic_cmd='/bin/file' 7337 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7338 lt_cv_file_magic_test_file=/lib/libc.so 7339 ;; 7340 siemens) 7341 lt_cv_deplibs_check_method=pass_all 7342 ;; 7343 pc) 7344 lt_cv_deplibs_check_method=pass_all 7345 ;; 7346 esac 7347 ;; 7348 7349tpf*) 7350 lt_cv_deplibs_check_method=pass_all 7351 ;; 7352esac 7353 7354fi 7355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7356$as_echo "$lt_cv_deplibs_check_method" >&6; } 7357 7358file_magic_glob= 7359want_nocaseglob=no 7360if test "$build" = "$host"; then 7361 case $host_os in 7362 mingw* | pw32*) 7363 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7364 want_nocaseglob=yes 7365 else 7366 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7367 fi 7368 ;; 7369 esac 7370fi 7371 7372file_magic_cmd=$lt_cv_file_magic_cmd 7373deplibs_check_method=$lt_cv_deplibs_check_method 7374test -z "$deplibs_check_method" && deplibs_check_method=unknown 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397if test -n "$ac_tool_prefix"; then 7398 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7399set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7401$as_echo_n "checking for $ac_word... " >&6; } 7402if test "${ac_cv_prog_DLLTOOL+set}" = set; then : 7403 $as_echo_n "(cached) " >&6 7404else 7405 if test -n "$DLLTOOL"; then 7406 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7407else 7408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7409for as_dir in $PATH 7410do 7411 IFS=$as_save_IFS 7412 test -z "$as_dir" && as_dir=. 7413 for ac_exec_ext in '' $ac_executable_extensions; do 7414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7415 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7417 break 2 7418 fi 7419done 7420 done 7421IFS=$as_save_IFS 7422 7423fi 7424fi 7425DLLTOOL=$ac_cv_prog_DLLTOOL 7426if test -n "$DLLTOOL"; then 7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7428$as_echo "$DLLTOOL" >&6; } 7429else 7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7431$as_echo "no" >&6; } 7432fi 7433 7434 7435fi 7436if test -z "$ac_cv_prog_DLLTOOL"; then 7437 ac_ct_DLLTOOL=$DLLTOOL 7438 # Extract the first word of "dlltool", so it can be a program name with args. 7439set dummy dlltool; 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 test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then : 7443 $as_echo_n "(cached) " >&6 7444else 7445 if test -n "$ac_ct_DLLTOOL"; then 7446 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7455 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 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 7465ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7466if test -n "$ac_ct_DLLTOOL"; then 7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7468$as_echo "$ac_ct_DLLTOOL" >&6; } 7469else 7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7471$as_echo "no" >&6; } 7472fi 7473 7474 if test "x$ac_ct_DLLTOOL" = x; then 7475 DLLTOOL="false" 7476 else 7477 case $cross_compiling:$ac_tool_warned in 7478yes:) 7479{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7480$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7481ac_tool_warned=yes ;; 7482esac 7483 DLLTOOL=$ac_ct_DLLTOOL 7484 fi 7485else 7486 DLLTOOL="$ac_cv_prog_DLLTOOL" 7487fi 7488 7489test -z "$DLLTOOL" && DLLTOOL=dlltool 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7501$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7502if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then : 7503 $as_echo_n "(cached) " >&6 7504else 7505 lt_cv_sharedlib_from_linklib_cmd='unknown' 7506 7507case $host_os in 7508cygwin* | mingw* | pw32* | cegcc*) 7509 # two different shell functions defined in ltmain.sh 7510 # decide which to use based on capabilities of $DLLTOOL 7511 case `$DLLTOOL --help 2>&1` in 7512 *--identify-strict*) 7513 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7514 ;; 7515 *) 7516 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7517 ;; 7518 esac 7519 ;; 7520*) 7521 # fallback: assume linklib IS sharedlib 7522 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 7523 ;; 7524esac 7525 7526fi 7527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7528$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7529sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7530test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7531 7532 7533 7534 7535 7536 7537 7538if test -n "$ac_tool_prefix"; then 7539 for ac_prog in ar 7540 do 7541 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7542set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7544$as_echo_n "checking for $ac_word... " >&6; } 7545if test "${ac_cv_prog_AR+set}" = set; then : 7546 $as_echo_n "(cached) " >&6 7547else 7548 if test -n "$AR"; then 7549 ac_cv_prog_AR="$AR" # Let the user override the test. 7550else 7551as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7552for as_dir in $PATH 7553do 7554 IFS=$as_save_IFS 7555 test -z "$as_dir" && as_dir=. 7556 for ac_exec_ext in '' $ac_executable_extensions; do 7557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7558 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 7559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7560 break 2 7561 fi 7562done 7563 done 7564IFS=$as_save_IFS 7565 7566fi 7567fi 7568AR=$ac_cv_prog_AR 7569if test -n "$AR"; then 7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7571$as_echo "$AR" >&6; } 7572else 7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7574$as_echo "no" >&6; } 7575fi 7576 7577 7578 test -n "$AR" && break 7579 done 7580fi 7581if test -z "$AR"; then 7582 ac_ct_AR=$AR 7583 for ac_prog in ar 7584do 7585 # Extract the first word of "$ac_prog", so it can be a program name with args. 7586set dummy $ac_prog; ac_word=$2 7587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7588$as_echo_n "checking for $ac_word... " >&6; } 7589if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 7590 $as_echo_n "(cached) " >&6 7591else 7592 if test -n "$ac_ct_AR"; then 7593 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7594else 7595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7596for as_dir in $PATH 7597do 7598 IFS=$as_save_IFS 7599 test -z "$as_dir" && as_dir=. 7600 for ac_exec_ext in '' $ac_executable_extensions; do 7601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7602 ac_cv_prog_ac_ct_AR="$ac_prog" 7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7604 break 2 7605 fi 7606done 7607 done 7608IFS=$as_save_IFS 7609 7610fi 7611fi 7612ac_ct_AR=$ac_cv_prog_ac_ct_AR 7613if test -n "$ac_ct_AR"; then 7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7615$as_echo "$ac_ct_AR" >&6; } 7616else 7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7618$as_echo "no" >&6; } 7619fi 7620 7621 7622 test -n "$ac_ct_AR" && break 7623done 7624 7625 if test "x$ac_ct_AR" = x; then 7626 AR="false" 7627 else 7628 case $cross_compiling:$ac_tool_warned in 7629yes:) 7630{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7631$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7632ac_tool_warned=yes ;; 7633esac 7634 AR=$ac_ct_AR 7635 fi 7636fi 7637 7638: ${AR=ar} 7639: ${AR_FLAGS=cru} 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 7652$as_echo_n "checking for archiver @FILE support... " >&6; } 7653if test "${lt_cv_ar_at_file+set}" = set; then : 7654 $as_echo_n "(cached) " >&6 7655else 7656 lt_cv_ar_at_file=no 7657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7658/* end confdefs.h. */ 7659 7660int 7661main () 7662{ 7663 7664 ; 7665 return 0; 7666} 7667_ACEOF 7668if ac_fn_c_try_compile "$LINENO"; then : 7669 echo conftest.$ac_objext > conftest.lst 7670 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7671 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7672 (eval $lt_ar_try) 2>&5 7673 ac_status=$? 7674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7675 test $ac_status = 0; } 7676 if test "$ac_status" -eq 0; then 7677 # Ensure the archiver fails upon bogus file names. 7678 rm -f conftest.$ac_objext libconftest.a 7679 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7680 (eval $lt_ar_try) 2>&5 7681 ac_status=$? 7682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7683 test $ac_status = 0; } 7684 if test "$ac_status" -ne 0; then 7685 lt_cv_ar_at_file=@ 7686 fi 7687 fi 7688 rm -f conftest.* libconftest.a 7689 7690fi 7691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7692 7693fi 7694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7695$as_echo "$lt_cv_ar_at_file" >&6; } 7696 7697if test "x$lt_cv_ar_at_file" = xno; then 7698 archiver_list_spec= 7699else 7700 archiver_list_spec=$lt_cv_ar_at_file 7701fi 7702 7703 7704 7705 7706 7707 7708 7709if test -n "$ac_tool_prefix"; then 7710 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7711set dummy ${ac_tool_prefix}strip; ac_word=$2 7712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7713$as_echo_n "checking for $ac_word... " >&6; } 7714if test "${ac_cv_prog_STRIP+set}" = set; then : 7715 $as_echo_n "(cached) " >&6 7716else 7717 if test -n "$STRIP"; then 7718 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7719else 7720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7721for as_dir in $PATH 7722do 7723 IFS=$as_save_IFS 7724 test -z "$as_dir" && as_dir=. 7725 for ac_exec_ext in '' $ac_executable_extensions; do 7726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7727 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7729 break 2 7730 fi 7731done 7732 done 7733IFS=$as_save_IFS 7734 7735fi 7736fi 7737STRIP=$ac_cv_prog_STRIP 7738if test -n "$STRIP"; then 7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7740$as_echo "$STRIP" >&6; } 7741else 7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7743$as_echo "no" >&6; } 7744fi 7745 7746 7747fi 7748if test -z "$ac_cv_prog_STRIP"; then 7749 ac_ct_STRIP=$STRIP 7750 # Extract the first word of "strip", so it can be a program name with args. 7751set dummy strip; ac_word=$2 7752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7753$as_echo_n "checking for $ac_word... " >&6; } 7754if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 7755 $as_echo_n "(cached) " >&6 7756else 7757 if test -n "$ac_ct_STRIP"; then 7758 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7759else 7760as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7761for as_dir in $PATH 7762do 7763 IFS=$as_save_IFS 7764 test -z "$as_dir" && as_dir=. 7765 for ac_exec_ext in '' $ac_executable_extensions; do 7766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7767 ac_cv_prog_ac_ct_STRIP="strip" 7768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7769 break 2 7770 fi 7771done 7772 done 7773IFS=$as_save_IFS 7774 7775fi 7776fi 7777ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7778if test -n "$ac_ct_STRIP"; then 7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7780$as_echo "$ac_ct_STRIP" >&6; } 7781else 7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7783$as_echo "no" >&6; } 7784fi 7785 7786 if test "x$ac_ct_STRIP" = x; then 7787 STRIP=":" 7788 else 7789 case $cross_compiling:$ac_tool_warned in 7790yes:) 7791{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7792$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7793ac_tool_warned=yes ;; 7794esac 7795 STRIP=$ac_ct_STRIP 7796 fi 7797else 7798 STRIP="$ac_cv_prog_STRIP" 7799fi 7800 7801test -z "$STRIP" && STRIP=: 7802 7803 7804 7805 7806 7807 7808if test -n "$ac_tool_prefix"; then 7809 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7810set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7812$as_echo_n "checking for $ac_word... " >&6; } 7813if test "${ac_cv_prog_RANLIB+set}" = set; then : 7814 $as_echo_n "(cached) " >&6 7815else 7816 if test -n "$RANLIB"; then 7817 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7818else 7819as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7820for as_dir in $PATH 7821do 7822 IFS=$as_save_IFS 7823 test -z "$as_dir" && as_dir=. 7824 for ac_exec_ext in '' $ac_executable_extensions; do 7825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7826 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7828 break 2 7829 fi 7830done 7831 done 7832IFS=$as_save_IFS 7833 7834fi 7835fi 7836RANLIB=$ac_cv_prog_RANLIB 7837if test -n "$RANLIB"; then 7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7839$as_echo "$RANLIB" >&6; } 7840else 7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7842$as_echo "no" >&6; } 7843fi 7844 7845 7846fi 7847if test -z "$ac_cv_prog_RANLIB"; then 7848 ac_ct_RANLIB=$RANLIB 7849 # Extract the first word of "ranlib", so it can be a program name with args. 7850set dummy ranlib; ac_word=$2 7851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7852$as_echo_n "checking for $ac_word... " >&6; } 7853if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 7854 $as_echo_n "(cached) " >&6 7855else 7856 if test -n "$ac_ct_RANLIB"; then 7857 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7858else 7859as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7860for as_dir in $PATH 7861do 7862 IFS=$as_save_IFS 7863 test -z "$as_dir" && as_dir=. 7864 for ac_exec_ext in '' $ac_executable_extensions; do 7865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7866 ac_cv_prog_ac_ct_RANLIB="ranlib" 7867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7868 break 2 7869 fi 7870done 7871 done 7872IFS=$as_save_IFS 7873 7874fi 7875fi 7876ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7877if test -n "$ac_ct_RANLIB"; then 7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7879$as_echo "$ac_ct_RANLIB" >&6; } 7880else 7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7882$as_echo "no" >&6; } 7883fi 7884 7885 if test "x$ac_ct_RANLIB" = x; then 7886 RANLIB=":" 7887 else 7888 case $cross_compiling:$ac_tool_warned in 7889yes:) 7890{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7891$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7892ac_tool_warned=yes ;; 7893esac 7894 RANLIB=$ac_ct_RANLIB 7895 fi 7896else 7897 RANLIB="$ac_cv_prog_RANLIB" 7898fi 7899 7900test -z "$RANLIB" && RANLIB=: 7901 7902 7903 7904 7905 7906 7907# Determine commands to create old-style static archives. 7908old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7909old_postinstall_cmds='chmod 644 $oldlib' 7910old_postuninstall_cmds= 7911 7912if test -n "$RANLIB"; then 7913 case $host_os in 7914 openbsd*) 7915 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7916 ;; 7917 *) 7918 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7919 ;; 7920 esac 7921 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7922fi 7923 7924case $host_os in 7925 darwin*) 7926 lock_old_archive_extraction=yes ;; 7927 *) 7928 lock_old_archive_extraction=no ;; 7929esac 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969# If no C compiler was specified, use CC. 7970LTCC=${LTCC-"$CC"} 7971 7972# If no C compiler flags were specified, use CFLAGS. 7973LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7974 7975# Allow CC to be a program name with arguments. 7976compiler=$CC 7977 7978 7979# Check for command to grab the raw symbol name followed by C symbol from nm. 7980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7981$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7982if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 7983 $as_echo_n "(cached) " >&6 7984else 7985 7986# These are sane defaults that work on at least a few old systems. 7987# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7988 7989# Character class describing NM global symbol codes. 7990symcode='[BCDEGRST]' 7991 7992# Regexp to match symbols that can be accessed directly from C. 7993sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7994 7995# Define system-specific variables. 7996case $host_os in 7997aix*) 7998 symcode='[BCDT]' 7999 ;; 8000cygwin* | mingw* | pw32* | cegcc*) 8001 symcode='[ABCDGISTW]' 8002 ;; 8003hpux*) 8004 if test "$host_cpu" = ia64; then 8005 symcode='[ABCDEGRST]' 8006 fi 8007 ;; 8008irix* | nonstopux*) 8009 symcode='[BCDEGRST]' 8010 ;; 8011osf*) 8012 symcode='[BCDEGQRST]' 8013 ;; 8014solaris*) 8015 symcode='[BDRT]' 8016 ;; 8017sco3.2v5*) 8018 symcode='[DT]' 8019 ;; 8020sysv4.2uw2*) 8021 symcode='[DT]' 8022 ;; 8023sysv5* | sco5v6* | unixware* | OpenUNIX*) 8024 symcode='[ABDT]' 8025 ;; 8026sysv4) 8027 symcode='[DFNSTU]' 8028 ;; 8029esac 8030 8031# If we're using GNU nm, then use its standard symbol codes. 8032case `$NM -V 2>&1` in 8033*GNU* | *'with BFD'*) 8034 symcode='[ABCDGIRSTW]' ;; 8035esac 8036 8037# Transform an extracted symbol line into a proper C declaration. 8038# Some systems (esp. on ia64) link data and code symbols differently, 8039# so use this general approach. 8040lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 8041 8042# Transform an extracted symbol line into symbol name and symbol address 8043lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 8044lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 8045 8046# Handle CRLF in mingw tool chain 8047opt_cr= 8048case $build_os in 8049mingw*) 8050 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 8051 ;; 8052esac 8053 8054# Try without a prefix underscore, then with it. 8055for ac_symprfx in "" "_"; do 8056 8057 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 8058 symxfrm="\\1 $ac_symprfx\\2 \\2" 8059 8060 # Write the raw and C identifiers. 8061 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8062 # Fake it for dumpbin and say T for any non-static function 8063 # and D for any global variable. 8064 # Also find C++ and __fastcall symbols from MSVC++, 8065 # which start with @ or ?. 8066 lt_cv_sys_global_symbol_pipe="$AWK '"\ 8067" {last_section=section; section=\$ 3};"\ 8068" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 8069" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 8070" \$ 0!~/External *\|/{next};"\ 8071" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 8072" {if(hide[section]) next};"\ 8073" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 8074" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 8075" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 8076" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 8077" ' prfx=^$ac_symprfx" 8078 else 8079 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 8080 fi 8081 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 8082 8083 # Check to see that the pipe works correctly. 8084 pipe_works=no 8085 8086 rm -f conftest* 8087 cat > conftest.$ac_ext <<_LT_EOF 8088#ifdef __cplusplus 8089extern "C" { 8090#endif 8091char nm_test_var; 8092void nm_test_func(void); 8093void nm_test_func(void){} 8094#ifdef __cplusplus 8095} 8096#endif 8097int main(){nm_test_var='a';nm_test_func();return(0);} 8098_LT_EOF 8099 8100 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8101 (eval $ac_compile) 2>&5 8102 ac_status=$? 8103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8104 test $ac_status = 0; }; then 8105 # Now try to grab the symbols. 8106 nlist=conftest.nm 8107 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 8108 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 8109 ac_status=$? 8110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8111 test $ac_status = 0; } && test -s "$nlist"; then 8112 # Try sorting and uniquifying the output. 8113 if sort "$nlist" | uniq > "$nlist"T; then 8114 mv -f "$nlist"T "$nlist" 8115 else 8116 rm -f "$nlist"T 8117 fi 8118 8119 # Make sure that we snagged all the symbols we need. 8120 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 8121 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 8122 cat <<_LT_EOF > conftest.$ac_ext 8123/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 8124#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 8125/* DATA imports from DLLs on WIN32 con't be const, because runtime 8126 relocations are performed -- see ld's documentation on pseudo-relocs. */ 8127# define LT_DLSYM_CONST 8128#elif defined(__osf__) 8129/* This system does not cope well with relocations in const data. */ 8130# define LT_DLSYM_CONST 8131#else 8132# define LT_DLSYM_CONST const 8133#endif 8134 8135#ifdef __cplusplus 8136extern "C" { 8137#endif 8138 8139_LT_EOF 8140 # Now generate the symbol file. 8141 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 8142 8143 cat <<_LT_EOF >> conftest.$ac_ext 8144 8145/* The mapping between symbol names and symbols. */ 8146LT_DLSYM_CONST struct { 8147 const char *name; 8148 void *address; 8149} 8150lt__PROGRAM__LTX_preloaded_symbols[] = 8151{ 8152 { "@PROGRAM@", (void *) 0 }, 8153_LT_EOF 8154 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 8155 cat <<\_LT_EOF >> conftest.$ac_ext 8156 {0, (void *) 0} 8157}; 8158 8159/* This works around a problem in FreeBSD linker */ 8160#ifdef FREEBSD_WORKAROUND 8161static const void *lt_preloaded_setup() { 8162 return lt__PROGRAM__LTX_preloaded_symbols; 8163} 8164#endif 8165 8166#ifdef __cplusplus 8167} 8168#endif 8169_LT_EOF 8170 # Now try linking the two files. 8171 mv conftest.$ac_objext conftstm.$ac_objext 8172 lt_globsym_save_LIBS=$LIBS 8173 lt_globsym_save_CFLAGS=$CFLAGS 8174 LIBS="conftstm.$ac_objext" 8175 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8176 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8177 (eval $ac_link) 2>&5 8178 ac_status=$? 8179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8180 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 8181 pipe_works=yes 8182 fi 8183 LIBS=$lt_globsym_save_LIBS 8184 CFLAGS=$lt_globsym_save_CFLAGS 8185 else 8186 echo "cannot find nm_test_func in $nlist" >&5 8187 fi 8188 else 8189 echo "cannot find nm_test_var in $nlist" >&5 8190 fi 8191 else 8192 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 8193 fi 8194 else 8195 echo "$progname: failed program was:" >&5 8196 cat conftest.$ac_ext >&5 8197 fi 8198 rm -rf conftest* conftst* 8199 8200 # Do not use the global_symbol_pipe unless it works. 8201 if test "$pipe_works" = yes; then 8202 break 8203 else 8204 lt_cv_sys_global_symbol_pipe= 8205 fi 8206done 8207 8208fi 8209 8210if test -z "$lt_cv_sys_global_symbol_pipe"; then 8211 lt_cv_sys_global_symbol_to_cdecl= 8212fi 8213if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8215$as_echo "failed" >&6; } 8216else 8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8218$as_echo "ok" >&6; } 8219fi 8220 8221# Response file support. 8222if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8223 nm_file_list_spec='@' 8224elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8225 nm_file_list_spec='@' 8226fi 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8255$as_echo_n "checking for sysroot... " >&6; } 8256 8257# Check whether --with-sysroot was given. 8258if test "${with_sysroot+set}" = set; then : 8259 withval=$with_sysroot; 8260else 8261 with_sysroot=no 8262fi 8263 8264 8265lt_sysroot= 8266case ${with_sysroot} in #( 8267 yes) 8268 if test "$GCC" = yes; then 8269 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8270 fi 8271 ;; #( 8272 /*) 8273 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8274 ;; #( 8275 no|'') 8276 ;; #( 8277 *) 8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 8279$as_echo "${with_sysroot}" >&6; } 8280 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8281 ;; 8282esac 8283 8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8285$as_echo "${lt_sysroot:-no}" >&6; } 8286 8287 8288 8289 8290 8291# Check whether --enable-libtool-lock was given. 8292if test "${enable_libtool_lock+set}" = set; then : 8293 enableval=$enable_libtool_lock; 8294fi 8295 8296test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 8297 8298# Some flags need to be propagated to the compiler or linker for good 8299# libtool support. 8300case $host in 8301ia64-*-hpux*) 8302 # Find out which ABI we are using. 8303 echo 'int i;' > conftest.$ac_ext 8304 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8305 (eval $ac_compile) 2>&5 8306 ac_status=$? 8307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8308 test $ac_status = 0; }; then 8309 case `/usr/bin/file conftest.$ac_objext` in 8310 *ELF-32*) 8311 HPUX_IA64_MODE="32" 8312 ;; 8313 *ELF-64*) 8314 HPUX_IA64_MODE="64" 8315 ;; 8316 esac 8317 fi 8318 rm -rf conftest* 8319 ;; 8320*-*-irix6*) 8321 # Find out which ABI we are using. 8322 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8324 (eval $ac_compile) 2>&5 8325 ac_status=$? 8326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8327 test $ac_status = 0; }; then 8328 if test "$lt_cv_prog_gnu_ld" = yes; then 8329 case `/usr/bin/file conftest.$ac_objext` in 8330 *32-bit*) 8331 LD="${LD-ld} -melf32bsmip" 8332 ;; 8333 *N32*) 8334 LD="${LD-ld} -melf32bmipn32" 8335 ;; 8336 *64-bit*) 8337 LD="${LD-ld} -melf64bmip" 8338 ;; 8339 esac 8340 else 8341 case `/usr/bin/file conftest.$ac_objext` in 8342 *32-bit*) 8343 LD="${LD-ld} -32" 8344 ;; 8345 *N32*) 8346 LD="${LD-ld} -n32" 8347 ;; 8348 *64-bit*) 8349 LD="${LD-ld} -64" 8350 ;; 8351 esac 8352 fi 8353 fi 8354 rm -rf conftest* 8355 ;; 8356 8357x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 8358s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8359 # Find out which ABI we are using. 8360 echo 'int i;' > conftest.$ac_ext 8361 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8362 (eval $ac_compile) 2>&5 8363 ac_status=$? 8364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8365 test $ac_status = 0; }; then 8366 case `/usr/bin/file conftest.o` in 8367 *32-bit*) 8368 case $host in 8369 x86_64-*kfreebsd*-gnu) 8370 LD="${LD-ld} -m elf_i386_fbsd" 8371 ;; 8372 x86_64-*linux*) 8373 LD="${LD-ld} -m elf_i386" 8374 ;; 8375 ppc64-*linux*|powerpc64-*linux*) 8376 LD="${LD-ld} -m elf32ppclinux" 8377 ;; 8378 s390x-*linux*) 8379 LD="${LD-ld} -m elf_s390" 8380 ;; 8381 sparc64-*linux*) 8382 LD="${LD-ld} -m elf32_sparc" 8383 ;; 8384 esac 8385 ;; 8386 *64-bit*) 8387 case $host in 8388 x86_64-*kfreebsd*-gnu) 8389 LD="${LD-ld} -m elf_x86_64_fbsd" 8390 ;; 8391 x86_64-*linux*) 8392 LD="${LD-ld} -m elf_x86_64" 8393 ;; 8394 ppc*-*linux*|powerpc*-*linux*) 8395 LD="${LD-ld} -m elf64ppc" 8396 ;; 8397 s390*-*linux*|s390*-*tpf*) 8398 LD="${LD-ld} -m elf64_s390" 8399 ;; 8400 sparc*-*linux*) 8401 LD="${LD-ld} -m elf64_sparc" 8402 ;; 8403 esac 8404 ;; 8405 esac 8406 fi 8407 rm -rf conftest* 8408 ;; 8409 8410*-*-sco3.2v5*) 8411 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8412 SAVE_CFLAGS="$CFLAGS" 8413 CFLAGS="$CFLAGS -belf" 8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8415$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8416if test "${lt_cv_cc_needs_belf+set}" = set; then : 8417 $as_echo_n "(cached) " >&6 8418else 8419 ac_ext=c 8420ac_cpp='$CPP $CPPFLAGS' 8421ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8422ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8423ac_compiler_gnu=$ac_cv_c_compiler_gnu 8424 8425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8426/* end confdefs.h. */ 8427 8428int 8429main () 8430{ 8431 8432 ; 8433 return 0; 8434} 8435_ACEOF 8436if ac_fn_c_try_link "$LINENO"; then : 8437 lt_cv_cc_needs_belf=yes 8438else 8439 lt_cv_cc_needs_belf=no 8440fi 8441rm -f core conftest.err conftest.$ac_objext \ 8442 conftest$ac_exeext conftest.$ac_ext 8443 ac_ext=c 8444ac_cpp='$CPP $CPPFLAGS' 8445ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8446ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8447ac_compiler_gnu=$ac_cv_c_compiler_gnu 8448 8449fi 8450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8451$as_echo "$lt_cv_cc_needs_belf" >&6; } 8452 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 8453 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8454 CFLAGS="$SAVE_CFLAGS" 8455 fi 8456 ;; 8457*-*solaris*) 8458 # Find out which ABI we are using. 8459 echo 'int i;' > conftest.$ac_ext 8460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8461 (eval $ac_compile) 2>&5 8462 ac_status=$? 8463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8464 test $ac_status = 0; }; then 8465 case `/usr/bin/file conftest.o` in 8466 *64-bit*) 8467 case $lt_cv_prog_gnu_ld in 8468 yes*) 8469 case $host in 8470 i?86-*-solaris*) 8471 LD="${LD-ld} -m elf_x86_64" 8472 ;; 8473 sparc*-*-solaris*) 8474 LD="${LD-ld} -m elf64_sparc" 8475 ;; 8476 esac 8477 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8478 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8479 LD="${LD-ld}_sol2" 8480 fi 8481 ;; 8482 *) 8483 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8484 LD="${LD-ld} -64" 8485 fi 8486 ;; 8487 esac 8488 ;; 8489 esac 8490 fi 8491 rm -rf conftest* 8492 ;; 8493esac 8494 8495need_locks="$enable_libtool_lock" 8496 8497if test -n "$ac_tool_prefix"; then 8498 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8499set dummy ${ac_tool_prefix}mt; ac_word=$2 8500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8501$as_echo_n "checking for $ac_word... " >&6; } 8502if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then : 8503 $as_echo_n "(cached) " >&6 8504else 8505 if test -n "$MANIFEST_TOOL"; then 8506 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 8507else 8508as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8509for as_dir in $PATH 8510do 8511 IFS=$as_save_IFS 8512 test -z "$as_dir" && as_dir=. 8513 for ac_exec_ext in '' $ac_executable_extensions; do 8514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8515 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 8516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8517 break 2 8518 fi 8519done 8520 done 8521IFS=$as_save_IFS 8522 8523fi 8524fi 8525MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 8526if test -n "$MANIFEST_TOOL"; then 8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8528$as_echo "$MANIFEST_TOOL" >&6; } 8529else 8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8531$as_echo "no" >&6; } 8532fi 8533 8534 8535fi 8536if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 8537 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 8538 # Extract the first word of "mt", so it can be a program name with args. 8539set dummy mt; ac_word=$2 8540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8541$as_echo_n "checking for $ac_word... " >&6; } 8542if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then : 8543 $as_echo_n "(cached) " >&6 8544else 8545 if test -n "$ac_ct_MANIFEST_TOOL"; then 8546 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 8547else 8548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8549for as_dir in $PATH 8550do 8551 IFS=$as_save_IFS 8552 test -z "$as_dir" && as_dir=. 8553 for ac_exec_ext in '' $ac_executable_extensions; do 8554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8555 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 8556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8557 break 2 8558 fi 8559done 8560 done 8561IFS=$as_save_IFS 8562 8563fi 8564fi 8565ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 8566if test -n "$ac_ct_MANIFEST_TOOL"; then 8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 8568$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 8569else 8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8571$as_echo "no" >&6; } 8572fi 8573 8574 if test "x$ac_ct_MANIFEST_TOOL" = x; then 8575 MANIFEST_TOOL=":" 8576 else 8577 case $cross_compiling:$ac_tool_warned in 8578yes:) 8579{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8580$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8581ac_tool_warned=yes ;; 8582esac 8583 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 8584 fi 8585else 8586 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 8587fi 8588 8589test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 8590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 8591$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 8592if test "${lt_cv_path_mainfest_tool+set}" = set; then : 8593 $as_echo_n "(cached) " >&6 8594else 8595 lt_cv_path_mainfest_tool=no 8596 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 8597 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 8598 cat conftest.err >&5 8599 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 8600 lt_cv_path_mainfest_tool=yes 8601 fi 8602 rm -f conftest* 8603fi 8604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8605$as_echo "$lt_cv_path_mainfest_tool" >&6; } 8606if test "x$lt_cv_path_mainfest_tool" != xyes; then 8607 MANIFEST_TOOL=: 8608fi 8609 8610 8611 8612 8613 8614 8615 case $host_os in 8616 rhapsody* | darwin*) 8617 if test -n "$ac_tool_prefix"; then 8618 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8619set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8621$as_echo_n "checking for $ac_word... " >&6; } 8622if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 8623 $as_echo_n "(cached) " >&6 8624else 8625 if test -n "$DSYMUTIL"; then 8626 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8627else 8628as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8629for as_dir in $PATH 8630do 8631 IFS=$as_save_IFS 8632 test -z "$as_dir" && as_dir=. 8633 for ac_exec_ext in '' $ac_executable_extensions; do 8634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8635 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8637 break 2 8638 fi 8639done 8640 done 8641IFS=$as_save_IFS 8642 8643fi 8644fi 8645DSYMUTIL=$ac_cv_prog_DSYMUTIL 8646if test -n "$DSYMUTIL"; then 8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8648$as_echo "$DSYMUTIL" >&6; } 8649else 8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8651$as_echo "no" >&6; } 8652fi 8653 8654 8655fi 8656if test -z "$ac_cv_prog_DSYMUTIL"; then 8657 ac_ct_DSYMUTIL=$DSYMUTIL 8658 # Extract the first word of "dsymutil", so it can be a program name with args. 8659set dummy dsymutil; ac_word=$2 8660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8661$as_echo_n "checking for $ac_word... " >&6; } 8662if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 8663 $as_echo_n "(cached) " >&6 8664else 8665 if test -n "$ac_ct_DSYMUTIL"; then 8666 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8667else 8668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8669for as_dir in $PATH 8670do 8671 IFS=$as_save_IFS 8672 test -z "$as_dir" && as_dir=. 8673 for ac_exec_ext in '' $ac_executable_extensions; do 8674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8675 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8677 break 2 8678 fi 8679done 8680 done 8681IFS=$as_save_IFS 8682 8683fi 8684fi 8685ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8686if test -n "$ac_ct_DSYMUTIL"; then 8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8688$as_echo "$ac_ct_DSYMUTIL" >&6; } 8689else 8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8691$as_echo "no" >&6; } 8692fi 8693 8694 if test "x$ac_ct_DSYMUTIL" = x; then 8695 DSYMUTIL=":" 8696 else 8697 case $cross_compiling:$ac_tool_warned in 8698yes:) 8699{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8700$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8701ac_tool_warned=yes ;; 8702esac 8703 DSYMUTIL=$ac_ct_DSYMUTIL 8704 fi 8705else 8706 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8707fi 8708 8709 if test -n "$ac_tool_prefix"; then 8710 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8711set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8713$as_echo_n "checking for $ac_word... " >&6; } 8714if test "${ac_cv_prog_NMEDIT+set}" = set; then : 8715 $as_echo_n "(cached) " >&6 8716else 8717 if test -n "$NMEDIT"; then 8718 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8719else 8720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8721for as_dir in $PATH 8722do 8723 IFS=$as_save_IFS 8724 test -z "$as_dir" && as_dir=. 8725 for ac_exec_ext in '' $ac_executable_extensions; do 8726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8727 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8729 break 2 8730 fi 8731done 8732 done 8733IFS=$as_save_IFS 8734 8735fi 8736fi 8737NMEDIT=$ac_cv_prog_NMEDIT 8738if test -n "$NMEDIT"; then 8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8740$as_echo "$NMEDIT" >&6; } 8741else 8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8743$as_echo "no" >&6; } 8744fi 8745 8746 8747fi 8748if test -z "$ac_cv_prog_NMEDIT"; then 8749 ac_ct_NMEDIT=$NMEDIT 8750 # Extract the first word of "nmedit", so it can be a program name with args. 8751set dummy nmedit; ac_word=$2 8752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8753$as_echo_n "checking for $ac_word... " >&6; } 8754if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 8755 $as_echo_n "(cached) " >&6 8756else 8757 if test -n "$ac_ct_NMEDIT"; then 8758 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8759else 8760as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8761for as_dir in $PATH 8762do 8763 IFS=$as_save_IFS 8764 test -z "$as_dir" && as_dir=. 8765 for ac_exec_ext in '' $ac_executable_extensions; do 8766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8767 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8769 break 2 8770 fi 8771done 8772 done 8773IFS=$as_save_IFS 8774 8775fi 8776fi 8777ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8778if test -n "$ac_ct_NMEDIT"; then 8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8780$as_echo "$ac_ct_NMEDIT" >&6; } 8781else 8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8783$as_echo "no" >&6; } 8784fi 8785 8786 if test "x$ac_ct_NMEDIT" = x; then 8787 NMEDIT=":" 8788 else 8789 case $cross_compiling:$ac_tool_warned in 8790yes:) 8791{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8792$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8793ac_tool_warned=yes ;; 8794esac 8795 NMEDIT=$ac_ct_NMEDIT 8796 fi 8797else 8798 NMEDIT="$ac_cv_prog_NMEDIT" 8799fi 8800 8801 if test -n "$ac_tool_prefix"; then 8802 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8803set dummy ${ac_tool_prefix}lipo; ac_word=$2 8804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8805$as_echo_n "checking for $ac_word... " >&6; } 8806if test "${ac_cv_prog_LIPO+set}" = set; then : 8807 $as_echo_n "(cached) " >&6 8808else 8809 if test -n "$LIPO"; then 8810 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8811else 8812as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8813for as_dir in $PATH 8814do 8815 IFS=$as_save_IFS 8816 test -z "$as_dir" && as_dir=. 8817 for ac_exec_ext in '' $ac_executable_extensions; do 8818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8819 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8821 break 2 8822 fi 8823done 8824 done 8825IFS=$as_save_IFS 8826 8827fi 8828fi 8829LIPO=$ac_cv_prog_LIPO 8830if test -n "$LIPO"; then 8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8832$as_echo "$LIPO" >&6; } 8833else 8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8835$as_echo "no" >&6; } 8836fi 8837 8838 8839fi 8840if test -z "$ac_cv_prog_LIPO"; then 8841 ac_ct_LIPO=$LIPO 8842 # Extract the first word of "lipo", so it can be a program name with args. 8843set dummy lipo; ac_word=$2 8844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8845$as_echo_n "checking for $ac_word... " >&6; } 8846if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 8847 $as_echo_n "(cached) " >&6 8848else 8849 if test -n "$ac_ct_LIPO"; then 8850 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8851else 8852as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8853for as_dir in $PATH 8854do 8855 IFS=$as_save_IFS 8856 test -z "$as_dir" && as_dir=. 8857 for ac_exec_ext in '' $ac_executable_extensions; do 8858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8859 ac_cv_prog_ac_ct_LIPO="lipo" 8860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8861 break 2 8862 fi 8863done 8864 done 8865IFS=$as_save_IFS 8866 8867fi 8868fi 8869ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8870if test -n "$ac_ct_LIPO"; then 8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8872$as_echo "$ac_ct_LIPO" >&6; } 8873else 8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8875$as_echo "no" >&6; } 8876fi 8877 8878 if test "x$ac_ct_LIPO" = x; then 8879 LIPO=":" 8880 else 8881 case $cross_compiling:$ac_tool_warned in 8882yes:) 8883{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8884$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8885ac_tool_warned=yes ;; 8886esac 8887 LIPO=$ac_ct_LIPO 8888 fi 8889else 8890 LIPO="$ac_cv_prog_LIPO" 8891fi 8892 8893 if test -n "$ac_tool_prefix"; then 8894 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8895set dummy ${ac_tool_prefix}otool; ac_word=$2 8896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8897$as_echo_n "checking for $ac_word... " >&6; } 8898if test "${ac_cv_prog_OTOOL+set}" = set; then : 8899 $as_echo_n "(cached) " >&6 8900else 8901 if test -n "$OTOOL"; then 8902 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8903else 8904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8905for as_dir in $PATH 8906do 8907 IFS=$as_save_IFS 8908 test -z "$as_dir" && as_dir=. 8909 for ac_exec_ext in '' $ac_executable_extensions; do 8910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8911 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8913 break 2 8914 fi 8915done 8916 done 8917IFS=$as_save_IFS 8918 8919fi 8920fi 8921OTOOL=$ac_cv_prog_OTOOL 8922if test -n "$OTOOL"; then 8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8924$as_echo "$OTOOL" >&6; } 8925else 8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8927$as_echo "no" >&6; } 8928fi 8929 8930 8931fi 8932if test -z "$ac_cv_prog_OTOOL"; then 8933 ac_ct_OTOOL=$OTOOL 8934 # Extract the first word of "otool", so it can be a program name with args. 8935set dummy otool; ac_word=$2 8936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8937$as_echo_n "checking for $ac_word... " >&6; } 8938if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 8939 $as_echo_n "(cached) " >&6 8940else 8941 if test -n "$ac_ct_OTOOL"; then 8942 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8943else 8944as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8945for as_dir in $PATH 8946do 8947 IFS=$as_save_IFS 8948 test -z "$as_dir" && as_dir=. 8949 for ac_exec_ext in '' $ac_executable_extensions; do 8950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8951 ac_cv_prog_ac_ct_OTOOL="otool" 8952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8953 break 2 8954 fi 8955done 8956 done 8957IFS=$as_save_IFS 8958 8959fi 8960fi 8961ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8962if test -n "$ac_ct_OTOOL"; then 8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8964$as_echo "$ac_ct_OTOOL" >&6; } 8965else 8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8967$as_echo "no" >&6; } 8968fi 8969 8970 if test "x$ac_ct_OTOOL" = x; then 8971 OTOOL=":" 8972 else 8973 case $cross_compiling:$ac_tool_warned in 8974yes:) 8975{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8976$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8977ac_tool_warned=yes ;; 8978esac 8979 OTOOL=$ac_ct_OTOOL 8980 fi 8981else 8982 OTOOL="$ac_cv_prog_OTOOL" 8983fi 8984 8985 if test -n "$ac_tool_prefix"; then 8986 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8987set dummy ${ac_tool_prefix}otool64; ac_word=$2 8988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8989$as_echo_n "checking for $ac_word... " >&6; } 8990if test "${ac_cv_prog_OTOOL64+set}" = set; then : 8991 $as_echo_n "(cached) " >&6 8992else 8993 if test -n "$OTOOL64"; then 8994 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8995else 8996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8997for as_dir in $PATH 8998do 8999 IFS=$as_save_IFS 9000 test -z "$as_dir" && as_dir=. 9001 for ac_exec_ext in '' $ac_executable_extensions; do 9002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9003 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 9004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9005 break 2 9006 fi 9007done 9008 done 9009IFS=$as_save_IFS 9010 9011fi 9012fi 9013OTOOL64=$ac_cv_prog_OTOOL64 9014if test -n "$OTOOL64"; then 9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 9016$as_echo "$OTOOL64" >&6; } 9017else 9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9019$as_echo "no" >&6; } 9020fi 9021 9022 9023fi 9024if test -z "$ac_cv_prog_OTOOL64"; then 9025 ac_ct_OTOOL64=$OTOOL64 9026 # Extract the first word of "otool64", so it can be a program name with args. 9027set dummy otool64; ac_word=$2 9028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9029$as_echo_n "checking for $ac_word... " >&6; } 9030if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 9031 $as_echo_n "(cached) " >&6 9032else 9033 if test -n "$ac_ct_OTOOL64"; then 9034 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 9035else 9036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9037for as_dir in $PATH 9038do 9039 IFS=$as_save_IFS 9040 test -z "$as_dir" && as_dir=. 9041 for ac_exec_ext in '' $ac_executable_extensions; do 9042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9043 ac_cv_prog_ac_ct_OTOOL64="otool64" 9044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9045 break 2 9046 fi 9047done 9048 done 9049IFS=$as_save_IFS 9050 9051fi 9052fi 9053ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 9054if test -n "$ac_ct_OTOOL64"; then 9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 9056$as_echo "$ac_ct_OTOOL64" >&6; } 9057else 9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9059$as_echo "no" >&6; } 9060fi 9061 9062 if test "x$ac_ct_OTOOL64" = x; then 9063 OTOOL64=":" 9064 else 9065 case $cross_compiling:$ac_tool_warned in 9066yes:) 9067{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9068$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9069ac_tool_warned=yes ;; 9070esac 9071 OTOOL64=$ac_ct_OTOOL64 9072 fi 9073else 9074 OTOOL64="$ac_cv_prog_OTOOL64" 9075fi 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9104$as_echo_n "checking for -single_module linker flag... " >&6; } 9105if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 9106 $as_echo_n "(cached) " >&6 9107else 9108 lt_cv_apple_cc_single_mod=no 9109 if test -z "${LT_MULTI_MODULE}"; then 9110 # By default we will add the -single_module flag. You can override 9111 # by either setting the environment variable LT_MULTI_MODULE 9112 # non-empty at configure time, or by adding -multi_module to the 9113 # link flags. 9114 rm -rf libconftest.dylib* 9115 echo "int foo(void){return 1;}" > conftest.c 9116 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9117-dynamiclib -Wl,-single_module conftest.c" >&5 9118 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9119 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9120 _lt_result=$? 9121 # If there is a non-empty error log, and "single_module" 9122 # appears in it, assume the flag caused a linker warning 9123 if test -s conftest.err && $GREP single_module conftest.err; then 9124 cat conftest.err >&5 9125 # Otherwise, if the output was created with a 0 exit code from 9126 # the compiler, it worked. 9127 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 9128 lt_cv_apple_cc_single_mod=yes 9129 else 9130 cat conftest.err >&5 9131 fi 9132 rm -rf libconftest.dylib* 9133 rm -f conftest.* 9134 fi 9135fi 9136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9137$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9138 9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9140$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9141if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 9142 $as_echo_n "(cached) " >&6 9143else 9144 lt_cv_ld_exported_symbols_list=no 9145 save_LDFLAGS=$LDFLAGS 9146 echo "_main" > conftest.sym 9147 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9149/* end confdefs.h. */ 9150 9151int 9152main () 9153{ 9154 9155 ; 9156 return 0; 9157} 9158_ACEOF 9159if ac_fn_c_try_link "$LINENO"; then : 9160 lt_cv_ld_exported_symbols_list=yes 9161else 9162 lt_cv_ld_exported_symbols_list=no 9163fi 9164rm -f core conftest.err conftest.$ac_objext \ 9165 conftest$ac_exeext conftest.$ac_ext 9166 LDFLAGS="$save_LDFLAGS" 9167 9168fi 9169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9170$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9171 9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9173$as_echo_n "checking for -force_load linker flag... " >&6; } 9174if test "${lt_cv_ld_force_load+set}" = set; then : 9175 $as_echo_n "(cached) " >&6 9176else 9177 lt_cv_ld_force_load=no 9178 cat > conftest.c << _LT_EOF 9179int forced_loaded() { return 2;} 9180_LT_EOF 9181 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9182 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9183 echo "$AR cru libconftest.a conftest.o" >&5 9184 $AR cru libconftest.a conftest.o 2>&5 9185 echo "$RANLIB libconftest.a" >&5 9186 $RANLIB libconftest.a 2>&5 9187 cat > conftest.c << _LT_EOF 9188int main() { return 0;} 9189_LT_EOF 9190 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9191 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9192 _lt_result=$? 9193 if test -s conftest.err && $GREP force_load conftest.err; then 9194 cat conftest.err >&5 9195 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 9196 lt_cv_ld_force_load=yes 9197 else 9198 cat conftest.err >&5 9199 fi 9200 rm -f conftest.err libconftest.a conftest conftest.c 9201 rm -rf conftest.dSYM 9202 9203fi 9204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9205$as_echo "$lt_cv_ld_force_load" >&6; } 9206 case $host_os in 9207 rhapsody* | darwin1.[012]) 9208 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 9209 darwin1.*) 9210 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 9211 darwin*) # darwin 5.x on 9212 # if running on 10.5 or later, the deployment target defaults 9213 # to the OS version, if on x86, and 10.4, the deployment 9214 # target defaults to 10.4. Don't you love it? 9215 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9216 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9217 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 9218 10.[012]*) 9219 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 9220 10.*) 9221 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 9222 esac 9223 ;; 9224 esac 9225 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 9226 _lt_dar_single_mod='$single_module' 9227 fi 9228 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 9229 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 9230 else 9231 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 9232 fi 9233 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 9234 _lt_dsymutil='~$DSYMUTIL $lib || :' 9235 else 9236 _lt_dsymutil= 9237 fi 9238 ;; 9239 esac 9240 9241for ac_header in dlfcn.h 9242do : 9243 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9244" 9245if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 9246 cat >>confdefs.h <<_ACEOF 9247#define HAVE_DLFCN_H 1 9248_ACEOF 9249 9250fi 9251 9252done 9253 9254 9255 9256func_stripname_cnf () 9257{ 9258 case ${2} in 9259 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; 9260 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; 9261 esac 9262} # func_stripname_cnf 9263 9264 9265 9266 9267 9268# Set options 9269 9270 9271 9272 enable_dlopen=no 9273 9274 9275 enable_win32_dll=no 9276 9277 9278 # Check whether --enable-shared was given. 9279if test "${enable_shared+set}" = set; then : 9280 enableval=$enable_shared; p=${PACKAGE-default} 9281 case $enableval in 9282 yes) enable_shared=yes ;; 9283 no) enable_shared=no ;; 9284 *) 9285 enable_shared=no 9286 # Look at the argument we got. We use all the common list separators. 9287 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9288 for pkg in $enableval; do 9289 IFS="$lt_save_ifs" 9290 if test "X$pkg" = "X$p"; then 9291 enable_shared=yes 9292 fi 9293 done 9294 IFS="$lt_save_ifs" 9295 ;; 9296 esac 9297else 9298 enable_shared=yes 9299fi 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 # Check whether --enable-static was given. 9310if test "${enable_static+set}" = set; then : 9311 enableval=$enable_static; p=${PACKAGE-default} 9312 case $enableval in 9313 yes) enable_static=yes ;; 9314 no) enable_static=no ;; 9315 *) 9316 enable_static=no 9317 # Look at the argument we got. We use all the common list separators. 9318 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9319 for pkg in $enableval; do 9320 IFS="$lt_save_ifs" 9321 if test "X$pkg" = "X$p"; then 9322 enable_static=yes 9323 fi 9324 done 9325 IFS="$lt_save_ifs" 9326 ;; 9327 esac 9328else 9329 enable_static=yes 9330fi 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341# Check whether --with-pic was given. 9342if test "${with_pic+set}" = set; then : 9343 withval=$with_pic; lt_p=${PACKAGE-default} 9344 case $withval in 9345 yes|no) pic_mode=$withval ;; 9346 *) 9347 pic_mode=default 9348 # Look at the argument we got. We use all the common list separators. 9349 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9350 for lt_pkg in $withval; do 9351 IFS="$lt_save_ifs" 9352 if test "X$lt_pkg" = "X$lt_p"; then 9353 pic_mode=yes 9354 fi 9355 done 9356 IFS="$lt_save_ifs" 9357 ;; 9358 esac 9359else 9360 pic_mode=default 9361fi 9362 9363 9364test -z "$pic_mode" && pic_mode=default 9365 9366 9367 9368 9369 9370 9371 9372 # Check whether --enable-fast-install was given. 9373if test "${enable_fast_install+set}" = set; then : 9374 enableval=$enable_fast_install; p=${PACKAGE-default} 9375 case $enableval in 9376 yes) enable_fast_install=yes ;; 9377 no) enable_fast_install=no ;; 9378 *) 9379 enable_fast_install=no 9380 # Look at the argument we got. We use all the common list separators. 9381 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9382 for pkg in $enableval; do 9383 IFS="$lt_save_ifs" 9384 if test "X$pkg" = "X$p"; then 9385 enable_fast_install=yes 9386 fi 9387 done 9388 IFS="$lt_save_ifs" 9389 ;; 9390 esac 9391else 9392 enable_fast_install=yes 9393fi 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405# This can be used to rebuild libtool when needed 9406LIBTOOL_DEPS="$ltmain" 9407 9408# Always use our own libtool. 9409LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440test -z "$LN_S" && LN_S="ln -s" 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455if test -n "${ZSH_VERSION+set}" ; then 9456 setopt NO_GLOB_SUBST 9457fi 9458 9459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9460$as_echo_n "checking for objdir... " >&6; } 9461if test "${lt_cv_objdir+set}" = set; then : 9462 $as_echo_n "(cached) " >&6 9463else 9464 rm -f .libs 2>/dev/null 9465mkdir .libs 2>/dev/null 9466if test -d .libs; then 9467 lt_cv_objdir=.libs 9468else 9469 # MS-DOS does not allow filenames that begin with a dot. 9470 lt_cv_objdir=_libs 9471fi 9472rmdir .libs 2>/dev/null 9473fi 9474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9475$as_echo "$lt_cv_objdir" >&6; } 9476objdir=$lt_cv_objdir 9477 9478 9479 9480 9481 9482cat >>confdefs.h <<_ACEOF 9483#define LT_OBJDIR "$lt_cv_objdir/" 9484_ACEOF 9485 9486 9487 9488 9489case $host_os in 9490aix3*) 9491 # AIX sometimes has problems with the GCC collect2 program. For some 9492 # reason, if we set the COLLECT_NAMES environment variable, the problems 9493 # vanish in a puff of smoke. 9494 if test "X${COLLECT_NAMES+set}" != Xset; then 9495 COLLECT_NAMES= 9496 export COLLECT_NAMES 9497 fi 9498 ;; 9499esac 9500 9501# Global variables: 9502ofile=libtool 9503can_build_shared=yes 9504 9505# All known linkers require a `.a' archive for static linking (except MSVC, 9506# which needs '.lib'). 9507libext=a 9508 9509with_gnu_ld="$lt_cv_prog_gnu_ld" 9510 9511old_CC="$CC" 9512old_CFLAGS="$CFLAGS" 9513 9514# Set sane defaults for various variables 9515test -z "$CC" && CC=cc 9516test -z "$LTCC" && LTCC=$CC 9517test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9518test -z "$LD" && LD=ld 9519test -z "$ac_objext" && ac_objext=o 9520 9521for cc_temp in $compiler""; do 9522 case $cc_temp in 9523 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 9524 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 9525 \-*) ;; 9526 *) break;; 9527 esac 9528done 9529cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 9530 9531 9532# Only perform the check for file, if the check method requires it 9533test -z "$MAGIC_CMD" && MAGIC_CMD=file 9534case $deplibs_check_method in 9535file_magic*) 9536 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9538$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9539if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 9540 $as_echo_n "(cached) " >&6 9541else 9542 case $MAGIC_CMD in 9543[\\/*] | ?:[\\/]*) 9544 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9545 ;; 9546*) 9547 lt_save_MAGIC_CMD="$MAGIC_CMD" 9548 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9549 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9550 for ac_dir in $ac_dummy; do 9551 IFS="$lt_save_ifs" 9552 test -z "$ac_dir" && ac_dir=. 9553 if test -f $ac_dir/${ac_tool_prefix}file; then 9554 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 9555 if test -n "$file_magic_test_file"; then 9556 case $deplibs_check_method in 9557 "file_magic "*) 9558 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9559 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9560 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9561 $EGREP "$file_magic_regex" > /dev/null; then 9562 : 9563 else 9564 cat <<_LT_EOF 1>&2 9565 9566*** Warning: the command libtool uses to detect shared libraries, 9567*** $file_magic_cmd, produces output that libtool cannot recognize. 9568*** The result is that libtool may fail to recognize shared libraries 9569*** as such. This will affect the creation of libtool libraries that 9570*** depend on shared libraries, but programs linked with such libtool 9571*** libraries will work regardless of this problem. Nevertheless, you 9572*** may want to report the problem to your system manager and/or to 9573*** bug-libtool@gnu.org 9574 9575_LT_EOF 9576 fi ;; 9577 esac 9578 fi 9579 break 9580 fi 9581 done 9582 IFS="$lt_save_ifs" 9583 MAGIC_CMD="$lt_save_MAGIC_CMD" 9584 ;; 9585esac 9586fi 9587 9588MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9589if test -n "$MAGIC_CMD"; then 9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9591$as_echo "$MAGIC_CMD" >&6; } 9592else 9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9594$as_echo "no" >&6; } 9595fi 9596 9597 9598 9599 9600 9601if test -z "$lt_cv_path_MAGIC_CMD"; then 9602 if test -n "$ac_tool_prefix"; then 9603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9604$as_echo_n "checking for file... " >&6; } 9605if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 9606 $as_echo_n "(cached) " >&6 9607else 9608 case $MAGIC_CMD in 9609[\\/*] | ?:[\\/]*) 9610 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9611 ;; 9612*) 9613 lt_save_MAGIC_CMD="$MAGIC_CMD" 9614 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9615 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9616 for ac_dir in $ac_dummy; do 9617 IFS="$lt_save_ifs" 9618 test -z "$ac_dir" && ac_dir=. 9619 if test -f $ac_dir/file; then 9620 lt_cv_path_MAGIC_CMD="$ac_dir/file" 9621 if test -n "$file_magic_test_file"; then 9622 case $deplibs_check_method in 9623 "file_magic "*) 9624 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9625 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9626 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9627 $EGREP "$file_magic_regex" > /dev/null; then 9628 : 9629 else 9630 cat <<_LT_EOF 1>&2 9631 9632*** Warning: the command libtool uses to detect shared libraries, 9633*** $file_magic_cmd, produces output that libtool cannot recognize. 9634*** The result is that libtool may fail to recognize shared libraries 9635*** as such. This will affect the creation of libtool libraries that 9636*** depend on shared libraries, but programs linked with such libtool 9637*** libraries will work regardless of this problem. Nevertheless, you 9638*** may want to report the problem to your system manager and/or to 9639*** bug-libtool@gnu.org 9640 9641_LT_EOF 9642 fi ;; 9643 esac 9644 fi 9645 break 9646 fi 9647 done 9648 IFS="$lt_save_ifs" 9649 MAGIC_CMD="$lt_save_MAGIC_CMD" 9650 ;; 9651esac 9652fi 9653 9654MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9655if test -n "$MAGIC_CMD"; then 9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9657$as_echo "$MAGIC_CMD" >&6; } 9658else 9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9660$as_echo "no" >&6; } 9661fi 9662 9663 9664 else 9665 MAGIC_CMD=: 9666 fi 9667fi 9668 9669 fi 9670 ;; 9671esac 9672 9673# Use C for the default configuration in the libtool script 9674 9675lt_save_CC="$CC" 9676ac_ext=c 9677ac_cpp='$CPP $CPPFLAGS' 9678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9679ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9680ac_compiler_gnu=$ac_cv_c_compiler_gnu 9681 9682 9683# Source file extension for C test sources. 9684ac_ext=c 9685 9686# Object file extension for compiled C test sources. 9687objext=o 9688objext=$objext 9689 9690# Code to be used in simple compile tests 9691lt_simple_compile_test_code="int some_variable = 0;" 9692 9693# Code to be used in simple link tests 9694lt_simple_link_test_code='int main(){return(0);}' 9695 9696 9697 9698 9699 9700 9701 9702# If no C compiler was specified, use CC. 9703LTCC=${LTCC-"$CC"} 9704 9705# If no C compiler flags were specified, use CFLAGS. 9706LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9707 9708# Allow CC to be a program name with arguments. 9709compiler=$CC 9710 9711# Save the default compiler, since it gets overwritten when the other 9712# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9713compiler_DEFAULT=$CC 9714 9715# save warnings/boilerplate of simple test code 9716ac_outfile=conftest.$ac_objext 9717echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9718eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9719_lt_compiler_boilerplate=`cat conftest.err` 9720$RM conftest* 9721 9722ac_outfile=conftest.$ac_objext 9723echo "$lt_simple_link_test_code" >conftest.$ac_ext 9724eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9725_lt_linker_boilerplate=`cat conftest.err` 9726$RM -r conftest* 9727 9728 9729## CAVEAT EMPTOR: 9730## There is no encapsulation within the following macros, do not change 9731## the running order or otherwise move them around unless you know exactly 9732## what you are doing... 9733if test -n "$compiler"; then 9734 9735lt_prog_compiler_no_builtin_flag= 9736 9737if test "$GCC" = yes; then 9738 case $cc_basename in 9739 nvcc*) 9740 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9741 *) 9742 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9743 esac 9744 9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9746$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9747if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 9748 $as_echo_n "(cached) " >&6 9749else 9750 lt_cv_prog_compiler_rtti_exceptions=no 9751 ac_outfile=conftest.$ac_objext 9752 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9753 lt_compiler_flag="-fno-rtti -fno-exceptions" 9754 # Insert the option either (1) after the last *FLAGS variable, or 9755 # (2) before a word containing "conftest.", or (3) at the end. 9756 # Note that $ac_compile itself does not contain backslashes and begins 9757 # with a dollar sign (not a hyphen), so the echo should work correctly. 9758 # The option is referenced via a variable to avoid confusing sed. 9759 lt_compile=`echo "$ac_compile" | $SED \ 9760 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9761 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9762 -e 's:$: $lt_compiler_flag:'` 9763 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9764 (eval "$lt_compile" 2>conftest.err) 9765 ac_status=$? 9766 cat conftest.err >&5 9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9768 if (exit $ac_status) && test -s "$ac_outfile"; then 9769 # The compiler can only warn and ignore the option if not recognized 9770 # So say no if there are warnings other than the usual output. 9771 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9772 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9773 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9774 lt_cv_prog_compiler_rtti_exceptions=yes 9775 fi 9776 fi 9777 $RM conftest* 9778 9779fi 9780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9781$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9782 9783if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 9784 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9785else 9786 : 9787fi 9788 9789fi 9790 9791 9792 9793 9794 9795 9796 lt_prog_compiler_wl= 9797lt_prog_compiler_pic= 9798lt_prog_compiler_static= 9799 9800 9801 if test "$GCC" = yes; then 9802 lt_prog_compiler_wl='-Wl,' 9803 lt_prog_compiler_static='-static' 9804 9805 case $host_os in 9806 aix*) 9807 # All AIX code is PIC. 9808 if test "$host_cpu" = ia64; then 9809 # AIX 5 now supports IA64 processor 9810 lt_prog_compiler_static='-Bstatic' 9811 fi 9812 ;; 9813 9814 amigaos*) 9815 case $host_cpu in 9816 powerpc) 9817 # see comment about AmigaOS4 .so support 9818 lt_prog_compiler_pic='-fPIC' 9819 ;; 9820 m68k) 9821 # FIXME: we need at least 68020 code to build shared libraries, but 9822 # adding the `-m68020' flag to GCC prevents building anything better, 9823 # like `-m68040'. 9824 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9825 ;; 9826 esac 9827 ;; 9828 9829 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9830 # PIC is the default for these OSes. 9831 ;; 9832 9833 mingw* | cygwin* | pw32* | os2* | cegcc*) 9834 # This hack is so that the source file can tell whether it is being 9835 # built for inclusion in a dll (and should export symbols for example). 9836 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9837 # (--disable-auto-import) libraries 9838 lt_prog_compiler_pic='-DDLL_EXPORT' 9839 ;; 9840 9841 darwin* | rhapsody*) 9842 # PIC is the default on this platform 9843 # Common symbols not allowed in MH_DYLIB files 9844 lt_prog_compiler_pic='-fno-common' 9845 ;; 9846 9847 haiku*) 9848 # PIC is the default for Haiku. 9849 # The "-static" flag exists, but is broken. 9850 lt_prog_compiler_static= 9851 ;; 9852 9853 hpux*) 9854 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9855 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9856 # sets the default TLS model and affects inlining. 9857 case $host_cpu in 9858 hppa*64*) 9859 # +Z the default 9860 ;; 9861 *) 9862 lt_prog_compiler_pic='-fPIC' 9863 ;; 9864 esac 9865 ;; 9866 9867 interix[3-9]*) 9868 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9869 # Instead, we relocate shared libraries at runtime. 9870 ;; 9871 9872 msdosdjgpp*) 9873 # Just because we use GCC doesn't mean we suddenly get shared libraries 9874 # on systems that don't support them. 9875 lt_prog_compiler_can_build_shared=no 9876 enable_shared=no 9877 ;; 9878 9879 *nto* | *qnx*) 9880 # QNX uses GNU C++, but need to define -shared option too, otherwise 9881 # it will coredump. 9882 lt_prog_compiler_pic='-fPIC -shared' 9883 ;; 9884 9885 sysv4*MP*) 9886 if test -d /usr/nec; then 9887 lt_prog_compiler_pic=-Kconform_pic 9888 fi 9889 ;; 9890 9891 *) 9892 lt_prog_compiler_pic='-fPIC' 9893 ;; 9894 esac 9895 9896 case $cc_basename in 9897 nvcc*) # Cuda Compiler Driver 2.2 9898 lt_prog_compiler_wl='-Xlinker ' 9899 if test -n "$lt_prog_compiler_pic"; then 9900 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9901 fi 9902 ;; 9903 esac 9904 else 9905 # PORTME Check for flag to pass linker flags through the system compiler. 9906 case $host_os in 9907 aix*) 9908 lt_prog_compiler_wl='-Wl,' 9909 if test "$host_cpu" = ia64; then 9910 # AIX 5 now supports IA64 processor 9911 lt_prog_compiler_static='-Bstatic' 9912 else 9913 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9914 fi 9915 ;; 9916 9917 mingw* | cygwin* | pw32* | os2* | cegcc*) 9918 # This hack is so that the source file can tell whether it is being 9919 # built for inclusion in a dll (and should export symbols for example). 9920 lt_prog_compiler_pic='-DDLL_EXPORT' 9921 ;; 9922 9923 hpux9* | hpux10* | hpux11*) 9924 lt_prog_compiler_wl='-Wl,' 9925 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9926 # not for PA HP-UX. 9927 case $host_cpu in 9928 hppa*64*|ia64*) 9929 # +Z the default 9930 ;; 9931 *) 9932 lt_prog_compiler_pic='+Z' 9933 ;; 9934 esac 9935 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9936 lt_prog_compiler_static='${wl}-a ${wl}archive' 9937 ;; 9938 9939 irix5* | irix6* | nonstopux*) 9940 lt_prog_compiler_wl='-Wl,' 9941 # PIC (with -KPIC) is the default. 9942 lt_prog_compiler_static='-non_shared' 9943 ;; 9944 9945 linux* | k*bsd*-gnu | kopensolaris*-gnu) 9946 case $cc_basename in 9947 # old Intel for x86_64 which still supported -KPIC. 9948 ecc*) 9949 lt_prog_compiler_wl='-Wl,' 9950 lt_prog_compiler_pic='-KPIC' 9951 lt_prog_compiler_static='-static' 9952 ;; 9953 # icc used to be incompatible with GCC. 9954 # ICC 10 doesn't accept -KPIC any more. 9955 icc* | ifort*) 9956 lt_prog_compiler_wl='-Wl,' 9957 lt_prog_compiler_pic='-fPIC' 9958 lt_prog_compiler_static='-static' 9959 ;; 9960 # Lahey Fortran 8.1. 9961 lf95*) 9962 lt_prog_compiler_wl='-Wl,' 9963 lt_prog_compiler_pic='--shared' 9964 lt_prog_compiler_static='--static' 9965 ;; 9966 nagfor*) 9967 # NAG Fortran compiler 9968 lt_prog_compiler_wl='-Wl,-Wl,,' 9969 lt_prog_compiler_pic='-PIC' 9970 lt_prog_compiler_static='-Bstatic' 9971 ;; 9972 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9973 # Portland Group compilers (*not* the Pentium gcc compiler, 9974 # which looks to be a dead project) 9975 lt_prog_compiler_wl='-Wl,' 9976 lt_prog_compiler_pic='-fpic' 9977 lt_prog_compiler_static='-Bstatic' 9978 ;; 9979 ccc*) 9980 lt_prog_compiler_wl='-Wl,' 9981 # All Alpha code is PIC. 9982 lt_prog_compiler_static='-non_shared' 9983 ;; 9984 xl* | bgxl* | bgf* | mpixl*) 9985 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9986 lt_prog_compiler_wl='-Wl,' 9987 lt_prog_compiler_pic='-qpic' 9988 lt_prog_compiler_static='-qstaticlink' 9989 ;; 9990 *) 9991 case `$CC -V 2>&1 | sed 5q` in 9992 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9993 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9994 lt_prog_compiler_pic='-KPIC' 9995 lt_prog_compiler_static='-Bstatic' 9996 lt_prog_compiler_wl='' 9997 ;; 9998 *Sun\ F* | *Sun*Fortran*) 9999 lt_prog_compiler_pic='-KPIC' 10000 lt_prog_compiler_static='-Bstatic' 10001 lt_prog_compiler_wl='-Qoption ld ' 10002 ;; 10003 *Sun\ C*) 10004 # Sun C 5.9 10005 lt_prog_compiler_pic='-KPIC' 10006 lt_prog_compiler_static='-Bstatic' 10007 lt_prog_compiler_wl='-Wl,' 10008 ;; 10009 *Intel*\ [CF]*Compiler*) 10010 lt_prog_compiler_wl='-Wl,' 10011 lt_prog_compiler_pic='-fPIC' 10012 lt_prog_compiler_static='-static' 10013 ;; 10014 *Portland\ Group*) 10015 lt_prog_compiler_wl='-Wl,' 10016 lt_prog_compiler_pic='-fpic' 10017 lt_prog_compiler_static='-Bstatic' 10018 ;; 10019 esac 10020 ;; 10021 esac 10022 ;; 10023 10024 newsos6) 10025 lt_prog_compiler_pic='-KPIC' 10026 lt_prog_compiler_static='-Bstatic' 10027 ;; 10028 10029 *nto* | *qnx*) 10030 # QNX uses GNU C++, but need to define -shared option too, otherwise 10031 # it will coredump. 10032 lt_prog_compiler_pic='-fPIC -shared' 10033 ;; 10034 10035 osf3* | osf4* | osf5*) 10036 lt_prog_compiler_wl='-Wl,' 10037 # All OSF/1 code is PIC. 10038 lt_prog_compiler_static='-non_shared' 10039 ;; 10040 10041 rdos*) 10042 lt_prog_compiler_static='-non_shared' 10043 ;; 10044 10045 solaris*) 10046 lt_prog_compiler_pic='-KPIC' 10047 lt_prog_compiler_static='-Bstatic' 10048 case $cc_basename in 10049 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10050 lt_prog_compiler_wl='-Qoption ld ';; 10051 *) 10052 lt_prog_compiler_wl='-Wl,';; 10053 esac 10054 ;; 10055 10056 sunos4*) 10057 lt_prog_compiler_wl='-Qoption ld ' 10058 lt_prog_compiler_pic='-PIC' 10059 lt_prog_compiler_static='-Bstatic' 10060 ;; 10061 10062 sysv4 | sysv4.2uw2* | sysv4.3*) 10063 lt_prog_compiler_wl='-Wl,' 10064 lt_prog_compiler_pic='-KPIC' 10065 lt_prog_compiler_static='-Bstatic' 10066 ;; 10067 10068 sysv4*MP*) 10069 if test -d /usr/nec ;then 10070 lt_prog_compiler_pic='-Kconform_pic' 10071 lt_prog_compiler_static='-Bstatic' 10072 fi 10073 ;; 10074 10075 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10076 lt_prog_compiler_wl='-Wl,' 10077 lt_prog_compiler_pic='-KPIC' 10078 lt_prog_compiler_static='-Bstatic' 10079 ;; 10080 10081 unicos*) 10082 lt_prog_compiler_wl='-Wl,' 10083 lt_prog_compiler_can_build_shared=no 10084 ;; 10085 10086 uts4*) 10087 lt_prog_compiler_pic='-pic' 10088 lt_prog_compiler_static='-Bstatic' 10089 ;; 10090 10091 *) 10092 lt_prog_compiler_can_build_shared=no 10093 ;; 10094 esac 10095 fi 10096 10097case $host_os in 10098 # For platforms which do not support PIC, -DPIC is meaningless: 10099 *djgpp*) 10100 lt_prog_compiler_pic= 10101 ;; 10102 *) 10103 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10104 ;; 10105esac 10106 10107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10108$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10109if test "${lt_cv_prog_compiler_pic+set}" = set; then : 10110 $as_echo_n "(cached) " >&6 10111else 10112 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10113fi 10114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10115$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10116lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10117 10118# 10119# Check to make sure the PIC flag actually works. 10120# 10121if test -n "$lt_prog_compiler_pic"; then 10122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10123$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10124if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 10125 $as_echo_n "(cached) " >&6 10126else 10127 lt_cv_prog_compiler_pic_works=no 10128 ac_outfile=conftest.$ac_objext 10129 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10130 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 10131 # Insert the option either (1) after the last *FLAGS variable, or 10132 # (2) before a word containing "conftest.", or (3) at the end. 10133 # Note that $ac_compile itself does not contain backslashes and begins 10134 # with a dollar sign (not a hyphen), so the echo should work correctly. 10135 # The option is referenced via a variable to avoid confusing sed. 10136 lt_compile=`echo "$ac_compile" | $SED \ 10137 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10138 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10139 -e 's:$: $lt_compiler_flag:'` 10140 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10141 (eval "$lt_compile" 2>conftest.err) 10142 ac_status=$? 10143 cat conftest.err >&5 10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10145 if (exit $ac_status) && test -s "$ac_outfile"; then 10146 # The compiler can only warn and ignore the option if not recognized 10147 # So say no if there are warnings other than the usual output. 10148 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10149 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10150 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10151 lt_cv_prog_compiler_pic_works=yes 10152 fi 10153 fi 10154 $RM conftest* 10155 10156fi 10157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10158$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10159 10160if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 10161 case $lt_prog_compiler_pic in 10162 "" | " "*) ;; 10163 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10164 esac 10165else 10166 lt_prog_compiler_pic= 10167 lt_prog_compiler_can_build_shared=no 10168fi 10169 10170fi 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182# 10183# Check to make sure the static flag actually works. 10184# 10185wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10187$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10188if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 10189 $as_echo_n "(cached) " >&6 10190else 10191 lt_cv_prog_compiler_static_works=no 10192 save_LDFLAGS="$LDFLAGS" 10193 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10194 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10195 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10196 # The linker can only warn and ignore the option if not recognized 10197 # So say no if there are warnings 10198 if test -s conftest.err; then 10199 # Append any errors to the config.log. 10200 cat conftest.err 1>&5 10201 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10202 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10203 if diff conftest.exp conftest.er2 >/dev/null; then 10204 lt_cv_prog_compiler_static_works=yes 10205 fi 10206 else 10207 lt_cv_prog_compiler_static_works=yes 10208 fi 10209 fi 10210 $RM -r conftest* 10211 LDFLAGS="$save_LDFLAGS" 10212 10213fi 10214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10215$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10216 10217if test x"$lt_cv_prog_compiler_static_works" = xyes; then 10218 : 10219else 10220 lt_prog_compiler_static= 10221fi 10222 10223 10224 10225 10226 10227 10228 10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10230$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10231if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 10232 $as_echo_n "(cached) " >&6 10233else 10234 lt_cv_prog_compiler_c_o=no 10235 $RM -r conftest 2>/dev/null 10236 mkdir conftest 10237 cd conftest 10238 mkdir out 10239 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10240 10241 lt_compiler_flag="-o out/conftest2.$ac_objext" 10242 # Insert the option either (1) after the last *FLAGS variable, or 10243 # (2) before a word containing "conftest.", or (3) at the end. 10244 # Note that $ac_compile itself does not contain backslashes and begins 10245 # with a dollar sign (not a hyphen), so the echo should work correctly. 10246 lt_compile=`echo "$ac_compile" | $SED \ 10247 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10248 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10249 -e 's:$: $lt_compiler_flag:'` 10250 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10251 (eval "$lt_compile" 2>out/conftest.err) 10252 ac_status=$? 10253 cat out/conftest.err >&5 10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10255 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10256 then 10257 # The compiler can only warn and ignore the option if not recognized 10258 # So say no if there are warnings 10259 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10260 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10261 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10262 lt_cv_prog_compiler_c_o=yes 10263 fi 10264 fi 10265 chmod u+w . 2>&5 10266 $RM conftest* 10267 # SGI C++ compiler will create directory out/ii_files/ for 10268 # template instantiation 10269 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10270 $RM out/* && rmdir out 10271 cd .. 10272 $RM -r conftest 10273 $RM conftest* 10274 10275fi 10276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10277$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10278 10279 10280 10281 10282 10283 10284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10285$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10286if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 10287 $as_echo_n "(cached) " >&6 10288else 10289 lt_cv_prog_compiler_c_o=no 10290 $RM -r conftest 2>/dev/null 10291 mkdir conftest 10292 cd conftest 10293 mkdir out 10294 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10295 10296 lt_compiler_flag="-o out/conftest2.$ac_objext" 10297 # Insert the option either (1) after the last *FLAGS variable, or 10298 # (2) before a word containing "conftest.", or (3) at the end. 10299 # Note that $ac_compile itself does not contain backslashes and begins 10300 # with a dollar sign (not a hyphen), so the echo should work correctly. 10301 lt_compile=`echo "$ac_compile" | $SED \ 10302 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10303 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10304 -e 's:$: $lt_compiler_flag:'` 10305 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10306 (eval "$lt_compile" 2>out/conftest.err) 10307 ac_status=$? 10308 cat out/conftest.err >&5 10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10310 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10311 then 10312 # The compiler can only warn and ignore the option if not recognized 10313 # So say no if there are warnings 10314 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10315 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10316 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10317 lt_cv_prog_compiler_c_o=yes 10318 fi 10319 fi 10320 chmod u+w . 2>&5 10321 $RM conftest* 10322 # SGI C++ compiler will create directory out/ii_files/ for 10323 # template instantiation 10324 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10325 $RM out/* && rmdir out 10326 cd .. 10327 $RM -r conftest 10328 $RM conftest* 10329 10330fi 10331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10332$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10333 10334 10335 10336 10337hard_links="nottested" 10338if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 10339 # do not overwrite the value of need_locks provided by the user 10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10341$as_echo_n "checking if we can lock with hard links... " >&6; } 10342 hard_links=yes 10343 $RM conftest* 10344 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10345 touch conftest.a 10346 ln conftest.a conftest.b 2>&5 || hard_links=no 10347 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10349$as_echo "$hard_links" >&6; } 10350 if test "$hard_links" = no; then 10351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 10352$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 10353 need_locks=warn 10354 fi 10355else 10356 need_locks=no 10357fi 10358 10359 10360 10361 10362 10363 10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10365$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10366 10367 runpath_var= 10368 allow_undefined_flag= 10369 always_export_symbols=no 10370 archive_cmds= 10371 archive_expsym_cmds= 10372 compiler_needs_object=no 10373 enable_shared_with_static_runtimes=no 10374 export_dynamic_flag_spec= 10375 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10376 hardcode_automatic=no 10377 hardcode_direct=no 10378 hardcode_direct_absolute=no 10379 hardcode_libdir_flag_spec= 10380 hardcode_libdir_separator= 10381 hardcode_minus_L=no 10382 hardcode_shlibpath_var=unsupported 10383 inherit_rpath=no 10384 link_all_deplibs=unknown 10385 module_cmds= 10386 module_expsym_cmds= 10387 old_archive_from_new_cmds= 10388 old_archive_from_expsyms_cmds= 10389 thread_safe_flag_spec= 10390 whole_archive_flag_spec= 10391 # include_expsyms should be a list of space-separated symbols to be *always* 10392 # included in the symbol list 10393 include_expsyms= 10394 # exclude_expsyms can be an extended regexp of symbols to exclude 10395 # it will be wrapped by ` (' and `)$', so one must not match beginning or 10396 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 10397 # as well as any symbol that contains `d'. 10398 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10399 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10400 # platforms (ab)use it in PIC code, but their linkers get confused if 10401 # the symbol is explicitly referenced. Since portable code cannot 10402 # rely on this symbol name, it's probably fine to never include it in 10403 # preloaded symbol tables. 10404 # Exclude shared library initialization/finalization symbols. 10405 extract_expsyms_cmds= 10406 10407 case $host_os in 10408 cygwin* | mingw* | pw32* | cegcc*) 10409 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10410 # When not using gcc, we currently assume that we are using 10411 # Microsoft Visual C++. 10412 if test "$GCC" != yes; then 10413 with_gnu_ld=no 10414 fi 10415 ;; 10416 interix*) 10417 # we just hope/assume this is gcc and not c89 (= MSVC++) 10418 with_gnu_ld=yes 10419 ;; 10420 openbsd*) 10421 with_gnu_ld=no 10422 ;; 10423 esac 10424 10425 ld_shlibs=yes 10426 10427 # On some targets, GNU ld is compatible enough with the native linker 10428 # that we're better off using the native interface for both. 10429 lt_use_gnu_ld_interface=no 10430 if test "$with_gnu_ld" = yes; then 10431 case $host_os in 10432 aix*) 10433 # The AIX port of GNU ld has always aspired to compatibility 10434 # with the native linker. However, as the warning in the GNU ld 10435 # block says, versions before 2.19.5* couldn't really create working 10436 # shared libraries, regardless of the interface used. 10437 case `$LD -v 2>&1` in 10438 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10439 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10440 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10441 *) 10442 lt_use_gnu_ld_interface=yes 10443 ;; 10444 esac 10445 ;; 10446 *) 10447 lt_use_gnu_ld_interface=yes 10448 ;; 10449 esac 10450 fi 10451 10452 if test "$lt_use_gnu_ld_interface" = yes; then 10453 # If archive_cmds runs LD, not CC, wlarc should be empty 10454 wlarc='${wl}' 10455 10456 # Set some defaults for GNU ld with shared library support. These 10457 # are reset later if shared libraries are not supported. Putting them 10458 # here allows them to be overridden if necessary. 10459 runpath_var=LD_RUN_PATH 10460 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10461 export_dynamic_flag_spec='${wl}--export-dynamic' 10462 # ancient GNU ld didn't support --whole-archive et. al. 10463 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10464 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 10465 else 10466 whole_archive_flag_spec= 10467 fi 10468 supports_anon_versioning=no 10469 case `$LD -v 2>&1` in 10470 *GNU\ gold*) supports_anon_versioning=yes ;; 10471 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10472 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10473 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10474 *\ 2.11.*) ;; # other 2.11 versions 10475 *) supports_anon_versioning=yes ;; 10476 esac 10477 10478 # See if GNU ld supports shared libraries. 10479 case $host_os in 10480 aix[3-9]*) 10481 # On AIX/PPC, the GNU linker is very broken 10482 if test "$host_cpu" != ia64; then 10483 ld_shlibs=no 10484 cat <<_LT_EOF 1>&2 10485 10486*** Warning: the GNU linker, at least up to release 2.19, is reported 10487*** to be unable to reliably create shared libraries on AIX. 10488*** Therefore, libtool is disabling shared libraries support. If you 10489*** really care for shared libraries, you may want to install binutils 10490*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10491*** You will then need to restart the configuration process. 10492 10493_LT_EOF 10494 fi 10495 ;; 10496 10497 amigaos*) 10498 case $host_cpu in 10499 powerpc) 10500 # see comment about AmigaOS4 .so support 10501 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10502 archive_expsym_cmds='' 10503 ;; 10504 m68k) 10505 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)' 10506 hardcode_libdir_flag_spec='-L$libdir' 10507 hardcode_minus_L=yes 10508 ;; 10509 esac 10510 ;; 10511 10512 beos*) 10513 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10514 allow_undefined_flag=unsupported 10515 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10516 # support --undefined. This deserves some investigation. FIXME 10517 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10518 else 10519 ld_shlibs=no 10520 fi 10521 ;; 10522 10523 cygwin* | mingw* | pw32* | cegcc*) 10524 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10525 # as there is no search path for DLLs. 10526 hardcode_libdir_flag_spec='-L$libdir' 10527 export_dynamic_flag_spec='${wl}--export-all-symbols' 10528 allow_undefined_flag=unsupported 10529 always_export_symbols=no 10530 enable_shared_with_static_runtimes=yes 10531 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' 10532 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10533 10534 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10535 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10536 # If the export-symbols file already is a .def file (1st line 10537 # is EXPORTS), use it as is; otherwise, prepend... 10538 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10539 cp $export_symbols $output_objdir/$soname.def; 10540 else 10541 echo EXPORTS > $output_objdir/$soname.def; 10542 cat $export_symbols >> $output_objdir/$soname.def; 10543 fi~ 10544 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10545 else 10546 ld_shlibs=no 10547 fi 10548 ;; 10549 10550 haiku*) 10551 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10552 link_all_deplibs=yes 10553 ;; 10554 10555 interix[3-9]*) 10556 hardcode_direct=no 10557 hardcode_shlibpath_var=no 10558 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10559 export_dynamic_flag_spec='${wl}-E' 10560 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10561 # Instead, shared libraries are loaded at an image base (0x10000000 by 10562 # default) and relocated if they conflict, which is a slow very memory 10563 # consuming and fragmenting process. To avoid this, we pick a random, 10564 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10565 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10566 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10567 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' 10568 ;; 10569 10570 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10571 tmp_diet=no 10572 if test "$host_os" = linux-dietlibc; then 10573 case $cc_basename in 10574 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10575 esac 10576 fi 10577 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10578 && test "$tmp_diet" = no 10579 then 10580 tmp_addflag=' $pic_flag' 10581 tmp_sharedflag='-shared' 10582 case $cc_basename,$host_cpu in 10583 pgcc*) # Portland Group C compiler 10584 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' 10585 tmp_addflag=' $pic_flag' 10586 ;; 10587 pgf77* | pgf90* | pgf95* | pgfortran*) 10588 # Portland Group f77 and f90 compilers 10589 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' 10590 tmp_addflag=' $pic_flag -Mnomain' ;; 10591 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10592 tmp_addflag=' -i_dynamic' ;; 10593 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10594 tmp_addflag=' -i_dynamic -nofor_main' ;; 10595 ifc* | ifort*) # Intel Fortran compiler 10596 tmp_addflag=' -nofor_main' ;; 10597 lf95*) # Lahey Fortran 8.1 10598 whole_archive_flag_spec= 10599 tmp_sharedflag='--shared' ;; 10600 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10601 tmp_sharedflag='-qmkshrobj' 10602 tmp_addflag= ;; 10603 nvcc*) # Cuda Compiler Driver 2.2 10604 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' 10605 compiler_needs_object=yes 10606 ;; 10607 esac 10608 case `$CC -V 2>&1 | sed 5q` in 10609 *Sun\ C*) # Sun C 5.9 10610 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' 10611 compiler_needs_object=yes 10612 tmp_sharedflag='-G' ;; 10613 *Sun\ F*) # Sun Fortran 8.3 10614 tmp_sharedflag='-G' ;; 10615 esac 10616 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10617 10618 if test "x$supports_anon_versioning" = xyes; then 10619 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10620 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10621 echo "local: *; };" >> $output_objdir/$libname.ver~ 10622 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 10623 fi 10624 10625 case $cc_basename in 10626 xlf* | bgf* | bgxlf* | mpixlf*) 10627 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10628 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10629 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10630 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10631 if test "x$supports_anon_versioning" = xyes; then 10632 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10633 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10634 echo "local: *; };" >> $output_objdir/$libname.ver~ 10635 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10636 fi 10637 ;; 10638 esac 10639 else 10640 ld_shlibs=no 10641 fi 10642 ;; 10643 10644 netbsd*) 10645 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10646 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10647 wlarc= 10648 else 10649 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10650 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10651 fi 10652 ;; 10653 10654 solaris*) 10655 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10656 ld_shlibs=no 10657 cat <<_LT_EOF 1>&2 10658 10659*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10660*** create shared libraries on Solaris systems. Therefore, libtool 10661*** is disabling shared libraries support. We urge you to upgrade GNU 10662*** binutils to release 2.9.1 or newer. Another option is to modify 10663*** your PATH or compiler configuration so that the native linker is 10664*** used, and then restart. 10665 10666_LT_EOF 10667 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10668 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10669 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10670 else 10671 ld_shlibs=no 10672 fi 10673 ;; 10674 10675 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10676 case `$LD -v 2>&1` in 10677 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10678 ld_shlibs=no 10679 cat <<_LT_EOF 1>&2 10680 10681*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 10682*** reliably create shared libraries on SCO systems. Therefore, libtool 10683*** is disabling shared libraries support. We urge you to upgrade GNU 10684*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10685*** your PATH or compiler configuration so that the native linker is 10686*** used, and then restart. 10687 10688_LT_EOF 10689 ;; 10690 *) 10691 # For security reasons, it is highly recommended that you always 10692 # use absolute paths for naming shared libraries, and exclude the 10693 # DT_RUNPATH tag from executables and libraries. But doing so 10694 # requires that you compile everything twice, which is a pain. 10695 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10696 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10697 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10698 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10699 else 10700 ld_shlibs=no 10701 fi 10702 ;; 10703 esac 10704 ;; 10705 10706 sunos4*) 10707 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10708 wlarc= 10709 hardcode_direct=yes 10710 hardcode_shlibpath_var=no 10711 ;; 10712 10713 *) 10714 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10715 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10716 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10717 else 10718 ld_shlibs=no 10719 fi 10720 ;; 10721 esac 10722 10723 if test "$ld_shlibs" = no; then 10724 runpath_var= 10725 hardcode_libdir_flag_spec= 10726 export_dynamic_flag_spec= 10727 whole_archive_flag_spec= 10728 fi 10729 else 10730 # PORTME fill in a description of your system's linker (not GNU ld) 10731 case $host_os in 10732 aix3*) 10733 allow_undefined_flag=unsupported 10734 always_export_symbols=yes 10735 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' 10736 # Note: this linker hardcodes the directories in LIBPATH if there 10737 # are no directories specified by -L. 10738 hardcode_minus_L=yes 10739 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 10740 # Neither direct hardcoding nor static linking is supported with a 10741 # broken collect2. 10742 hardcode_direct=unsupported 10743 fi 10744 ;; 10745 10746 aix[4-9]*) 10747 if test "$host_cpu" = ia64; then 10748 # On IA64, the linker does run time linking by default, so we don't 10749 # have to do anything special. 10750 aix_use_runtimelinking=no 10751 exp_sym_flag='-Bexport' 10752 no_entry_flag="" 10753 else 10754 # If we're using GNU nm, then we don't want the "-C" option. 10755 # -C means demangle to AIX nm, but means don't demangle with GNU nm 10756 # Also, AIX nm treats weak defined symbols like other global 10757 # defined symbols, whereas GNU nm marks them as "W". 10758 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10759 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 10760 else 10761 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 10762 fi 10763 aix_use_runtimelinking=no 10764 10765 # Test if we are trying to use run time linking or normal 10766 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10767 # need to do runtime linking. 10768 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10769 for ld_flag in $LDFLAGS; do 10770 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 10771 aix_use_runtimelinking=yes 10772 break 10773 fi 10774 done 10775 ;; 10776 esac 10777 10778 exp_sym_flag='-bexport' 10779 no_entry_flag='-bnoentry' 10780 fi 10781 10782 # When large executables or shared objects are built, AIX ld can 10783 # have problems creating the table of contents. If linking a library 10784 # or program results in "error TOC overflow" add -mminimal-toc to 10785 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10786 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10787 10788 archive_cmds='' 10789 hardcode_direct=yes 10790 hardcode_direct_absolute=yes 10791 hardcode_libdir_separator=':' 10792 link_all_deplibs=yes 10793 file_list_spec='${wl}-f,' 10794 10795 if test "$GCC" = yes; then 10796 case $host_os in aix4.[012]|aix4.[012].*) 10797 # We only want to do this on AIX 4.2 and lower, the check 10798 # below for broken collect2 doesn't work under 4.3+ 10799 collect2name=`${CC} -print-prog-name=collect2` 10800 if test -f "$collect2name" && 10801 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10802 then 10803 # We have reworked collect2 10804 : 10805 else 10806 # We have old collect2 10807 hardcode_direct=unsupported 10808 # It fails to find uninstalled libraries when the uninstalled 10809 # path is not listed in the libpath. Setting hardcode_minus_L 10810 # to unsupported forces relinking 10811 hardcode_minus_L=yes 10812 hardcode_libdir_flag_spec='-L$libdir' 10813 hardcode_libdir_separator= 10814 fi 10815 ;; 10816 esac 10817 shared_flag='-shared' 10818 if test "$aix_use_runtimelinking" = yes; then 10819 shared_flag="$shared_flag "'${wl}-G' 10820 fi 10821 else 10822 # not using gcc 10823 if test "$host_cpu" = ia64; then 10824 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10825 # chokes on -Wl,-G. The following line is correct: 10826 shared_flag='-G' 10827 else 10828 if test "$aix_use_runtimelinking" = yes; then 10829 shared_flag='${wl}-G' 10830 else 10831 shared_flag='${wl}-bM:SRE' 10832 fi 10833 fi 10834 fi 10835 10836 export_dynamic_flag_spec='${wl}-bexpall' 10837 # It seems that -bexpall does not export symbols beginning with 10838 # underscore (_), so it is better to generate a list of symbols to export. 10839 always_export_symbols=yes 10840 if test "$aix_use_runtimelinking" = yes; then 10841 # Warning - without using the other runtime loading flags (-brtl), 10842 # -berok will link without error, but may produce a broken library. 10843 allow_undefined_flag='-berok' 10844 # Determine the default libpath from the value encoded in an 10845 # empty executable. 10846 if test "${lt_cv_aix_libpath+set}" = set; then 10847 aix_libpath=$lt_cv_aix_libpath 10848else 10849 if test "${lt_cv_aix_libpath_+set}" = set; then : 10850 $as_echo_n "(cached) " >&6 10851else 10852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10853/* end confdefs.h. */ 10854 10855int 10856main () 10857{ 10858 10859 ; 10860 return 0; 10861} 10862_ACEOF 10863if ac_fn_c_try_link "$LINENO"; then : 10864 10865 lt_aix_libpath_sed=' 10866 /Import File Strings/,/^$/ { 10867 /^0/ { 10868 s/^0 *\([^ ]*\) *$/\1/ 10869 p 10870 } 10871 }' 10872 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10873 # Check for a 64-bit object if we didn't find anything. 10874 if test -z "$lt_cv_aix_libpath_"; then 10875 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10876 fi 10877fi 10878rm -f core conftest.err conftest.$ac_objext \ 10879 conftest$ac_exeext conftest.$ac_ext 10880 if test -z "$lt_cv_aix_libpath_"; then 10881 lt_cv_aix_libpath_="/usr/lib:/lib" 10882 fi 10883 10884fi 10885 10886 aix_libpath=$lt_cv_aix_libpath_ 10887fi 10888 10889 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10890 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 10891 else 10892 if test "$host_cpu" = ia64; then 10893 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 10894 allow_undefined_flag="-z nodefs" 10895 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" 10896 else 10897 # Determine the default libpath from the value encoded in an 10898 # empty executable. 10899 if test "${lt_cv_aix_libpath+set}" = set; then 10900 aix_libpath=$lt_cv_aix_libpath 10901else 10902 if test "${lt_cv_aix_libpath_+set}" = set; then : 10903 $as_echo_n "(cached) " >&6 10904else 10905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10906/* end confdefs.h. */ 10907 10908int 10909main () 10910{ 10911 10912 ; 10913 return 0; 10914} 10915_ACEOF 10916if ac_fn_c_try_link "$LINENO"; then : 10917 10918 lt_aix_libpath_sed=' 10919 /Import File Strings/,/^$/ { 10920 /^0/ { 10921 s/^0 *\([^ ]*\) *$/\1/ 10922 p 10923 } 10924 }' 10925 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10926 # Check for a 64-bit object if we didn't find anything. 10927 if test -z "$lt_cv_aix_libpath_"; then 10928 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10929 fi 10930fi 10931rm -f core conftest.err conftest.$ac_objext \ 10932 conftest$ac_exeext conftest.$ac_ext 10933 if test -z "$lt_cv_aix_libpath_"; then 10934 lt_cv_aix_libpath_="/usr/lib:/lib" 10935 fi 10936 10937fi 10938 10939 aix_libpath=$lt_cv_aix_libpath_ 10940fi 10941 10942 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10943 # Warning - without using the other run time loading flags, 10944 # -berok will link without error, but may produce a broken library. 10945 no_undefined_flag=' ${wl}-bernotok' 10946 allow_undefined_flag=' ${wl}-berok' 10947 if test "$with_gnu_ld" = yes; then 10948 # We only use this code for GNU lds that support --whole-archive. 10949 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 10950 else 10951 # Exported symbols can be pulled into shared objects from archives 10952 whole_archive_flag_spec='$convenience' 10953 fi 10954 archive_cmds_need_lc=yes 10955 # This is similar to how AIX traditionally builds its shared libraries. 10956 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 10957 fi 10958 fi 10959 ;; 10960 10961 amigaos*) 10962 case $host_cpu in 10963 powerpc) 10964 # see comment about AmigaOS4 .so support 10965 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10966 archive_expsym_cmds='' 10967 ;; 10968 m68k) 10969 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)' 10970 hardcode_libdir_flag_spec='-L$libdir' 10971 hardcode_minus_L=yes 10972 ;; 10973 esac 10974 ;; 10975 10976 bsdi[45]*) 10977 export_dynamic_flag_spec=-rdynamic 10978 ;; 10979 10980 cygwin* | mingw* | pw32* | cegcc*) 10981 # When not using gcc, we currently assume that we are using 10982 # Microsoft Visual C++. 10983 # hardcode_libdir_flag_spec is actually meaningless, as there is 10984 # no search path for DLLs. 10985 case $cc_basename in 10986 cl*) 10987 # Native MSVC 10988 hardcode_libdir_flag_spec=' ' 10989 allow_undefined_flag=unsupported 10990 always_export_symbols=yes 10991 file_list_spec='@' 10992 # Tell ltmain to make .lib files, not .a files. 10993 libext=lib 10994 # Tell ltmain to make .dll files, not .so files. 10995 shrext_cmds=".dll" 10996 # FIXME: Setting linknames here is a bad hack. 10997 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 10998 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10999 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 11000 else 11001 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 11002 fi~ 11003 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11004 linknames=' 11005 # The linker will not automatically build a static lib if we build a DLL. 11006 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11007 enable_shared_with_static_runtimes=yes 11008 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11009 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11010 # Don't use ranlib 11011 old_postinstall_cmds='chmod 644 $oldlib' 11012 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11013 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11014 case $lt_outputfile in 11015 *.exe|*.EXE) ;; 11016 *) 11017 lt_outputfile="$lt_outputfile.exe" 11018 lt_tool_outputfile="$lt_tool_outputfile.exe" 11019 ;; 11020 esac~ 11021 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 11022 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11023 $RM "$lt_outputfile.manifest"; 11024 fi' 11025 ;; 11026 *) 11027 # Assume MSVC wrapper 11028 hardcode_libdir_flag_spec=' ' 11029 allow_undefined_flag=unsupported 11030 # Tell ltmain to make .lib files, not .a files. 11031 libext=lib 11032 # Tell ltmain to make .dll files, not .so files. 11033 shrext_cmds=".dll" 11034 # FIXME: Setting linknames here is a bad hack. 11035 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11036 # The linker will automatically build a .lib file if we build a DLL. 11037 old_archive_from_new_cmds='true' 11038 # FIXME: Should let the user specify the lib program. 11039 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11040 enable_shared_with_static_runtimes=yes 11041 ;; 11042 esac 11043 ;; 11044 11045 darwin* | rhapsody*) 11046 11047 11048 archive_cmds_need_lc=no 11049 hardcode_direct=no 11050 hardcode_automatic=yes 11051 hardcode_shlibpath_var=unsupported 11052 if test "$lt_cv_ld_force_load" = "yes"; then 11053 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\"`' 11054 11055 else 11056 whole_archive_flag_spec='' 11057 fi 11058 link_all_deplibs=yes 11059 allow_undefined_flag="$_lt_dar_allow_undefined" 11060 case $cc_basename in 11061 ifort*) _lt_dar_can_shared=yes ;; 11062 *) _lt_dar_can_shared=$GCC ;; 11063 esac 11064 if test "$_lt_dar_can_shared" = "yes"; then 11065 output_verbose_link_cmd=func_echo_all 11066 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 11067 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 11068 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}" 11069 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}" 11070 11071 else 11072 ld_shlibs=no 11073 fi 11074 11075 ;; 11076 11077 dgux*) 11078 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11079 hardcode_libdir_flag_spec='-L$libdir' 11080 hardcode_shlibpath_var=no 11081 ;; 11082 11083 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11084 # support. Future versions do this automatically, but an explicit c++rt0.o 11085 # does not break anything, and helps significantly (at the cost of a little 11086 # extra space). 11087 freebsd2.2*) 11088 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11089 hardcode_libdir_flag_spec='-R$libdir' 11090 hardcode_direct=yes 11091 hardcode_shlibpath_var=no 11092 ;; 11093 11094 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11095 freebsd2.*) 11096 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11097 hardcode_direct=yes 11098 hardcode_minus_L=yes 11099 hardcode_shlibpath_var=no 11100 ;; 11101 11102 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11103 freebsd* | dragonfly*) 11104 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11105 hardcode_libdir_flag_spec='-R$libdir' 11106 hardcode_direct=yes 11107 hardcode_shlibpath_var=no 11108 ;; 11109 11110 hpux9*) 11111 if test "$GCC" = yes; then 11112 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 11113 else 11114 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 11115 fi 11116 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11117 hardcode_libdir_separator=: 11118 hardcode_direct=yes 11119 11120 # hardcode_minus_L: Not really in the search PATH, 11121 # but as the default location of the library. 11122 hardcode_minus_L=yes 11123 export_dynamic_flag_spec='${wl}-E' 11124 ;; 11125 11126 hpux10*) 11127 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 11128 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11129 else 11130 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11131 fi 11132 if test "$with_gnu_ld" = no; then 11133 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11134 hardcode_libdir_separator=: 11135 hardcode_direct=yes 11136 hardcode_direct_absolute=yes 11137 export_dynamic_flag_spec='${wl}-E' 11138 # hardcode_minus_L: Not really in the search PATH, 11139 # but as the default location of the library. 11140 hardcode_minus_L=yes 11141 fi 11142 ;; 11143 11144 hpux11*) 11145 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 11146 case $host_cpu in 11147 hppa*64*) 11148 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 11149 ;; 11150 ia64*) 11151 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11152 ;; 11153 *) 11154 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11155 ;; 11156 esac 11157 else 11158 case $host_cpu in 11159 hppa*64*) 11160 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 11161 ;; 11162 ia64*) 11163 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11164 ;; 11165 *) 11166 11167 # Older versions of the 11.00 compiler do not understand -b yet 11168 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11170$as_echo_n "checking if $CC understands -b... " >&6; } 11171if test "${lt_cv_prog_compiler__b+set}" = set; then : 11172 $as_echo_n "(cached) " >&6 11173else 11174 lt_cv_prog_compiler__b=no 11175 save_LDFLAGS="$LDFLAGS" 11176 LDFLAGS="$LDFLAGS -b" 11177 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11178 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11179 # The linker can only warn and ignore the option if not recognized 11180 # So say no if there are warnings 11181 if test -s conftest.err; then 11182 # Append any errors to the config.log. 11183 cat conftest.err 1>&5 11184 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11185 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11186 if diff conftest.exp conftest.er2 >/dev/null; then 11187 lt_cv_prog_compiler__b=yes 11188 fi 11189 else 11190 lt_cv_prog_compiler__b=yes 11191 fi 11192 fi 11193 $RM -r conftest* 11194 LDFLAGS="$save_LDFLAGS" 11195 11196fi 11197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11198$as_echo "$lt_cv_prog_compiler__b" >&6; } 11199 11200if test x"$lt_cv_prog_compiler__b" = xyes; then 11201 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11202else 11203 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11204fi 11205 11206 ;; 11207 esac 11208 fi 11209 if test "$with_gnu_ld" = no; then 11210 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11211 hardcode_libdir_separator=: 11212 11213 case $host_cpu in 11214 hppa*64*|ia64*) 11215 hardcode_direct=no 11216 hardcode_shlibpath_var=no 11217 ;; 11218 *) 11219 hardcode_direct=yes 11220 hardcode_direct_absolute=yes 11221 export_dynamic_flag_spec='${wl}-E' 11222 11223 # hardcode_minus_L: Not really in the search PATH, 11224 # but as the default location of the library. 11225 hardcode_minus_L=yes 11226 ;; 11227 esac 11228 fi 11229 ;; 11230 11231 irix5* | irix6* | nonstopux*) 11232 if test "$GCC" = yes; then 11233 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' 11234 # Try to use the -exported_symbol ld option, if it does not 11235 # work, assume that -exports_file does not work either and 11236 # implicitly export all symbols. 11237 # This should be the same for all languages, so no per-tag cache variable. 11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11239$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11240if test "${lt_cv_irix_exported_symbol+set}" = set; then : 11241 $as_echo_n "(cached) " >&6 11242else 11243 save_LDFLAGS="$LDFLAGS" 11244 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 11245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11246/* end confdefs.h. */ 11247int foo (void) { return 0; } 11248_ACEOF 11249if ac_fn_c_try_link "$LINENO"; then : 11250 lt_cv_irix_exported_symbol=yes 11251else 11252 lt_cv_irix_exported_symbol=no 11253fi 11254rm -f core conftest.err conftest.$ac_objext \ 11255 conftest$ac_exeext conftest.$ac_ext 11256 LDFLAGS="$save_LDFLAGS" 11257fi 11258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11259$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11260 if test "$lt_cv_irix_exported_symbol" = yes; then 11261 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' 11262 fi 11263 else 11264 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' 11265 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' 11266 fi 11267 archive_cmds_need_lc='no' 11268 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11269 hardcode_libdir_separator=: 11270 inherit_rpath=yes 11271 link_all_deplibs=yes 11272 ;; 11273 11274 netbsd*) 11275 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11276 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11277 else 11278 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11279 fi 11280 hardcode_libdir_flag_spec='-R$libdir' 11281 hardcode_direct=yes 11282 hardcode_shlibpath_var=no 11283 ;; 11284 11285 newsos6) 11286 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11287 hardcode_direct=yes 11288 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11289 hardcode_libdir_separator=: 11290 hardcode_shlibpath_var=no 11291 ;; 11292 11293 *nto* | *qnx*) 11294 ;; 11295 11296 openbsd*) 11297 if test -f /usr/libexec/ld.so; then 11298 hardcode_direct=yes 11299 hardcode_shlibpath_var=no 11300 hardcode_direct_absolute=yes 11301 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11302 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11303 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 11304 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 11305 export_dynamic_flag_spec='${wl}-E' 11306 else 11307 case $host_os in 11308 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 11309 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11310 hardcode_libdir_flag_spec='-R$libdir' 11311 ;; 11312 *) 11313 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11314 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 11315 ;; 11316 esac 11317 fi 11318 else 11319 ld_shlibs=no 11320 fi 11321 ;; 11322 11323 os2*) 11324 hardcode_libdir_flag_spec='-L$libdir' 11325 hardcode_minus_L=yes 11326 allow_undefined_flag=unsupported 11327 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 11328 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 11329 ;; 11330 11331 osf3*) 11332 if test "$GCC" = yes; then 11333 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 11334 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' 11335 else 11336 allow_undefined_flag=' -expect_unresolved \*' 11337 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' 11338 fi 11339 archive_cmds_need_lc='no' 11340 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11341 hardcode_libdir_separator=: 11342 ;; 11343 11344 osf4* | osf5*) # as osf3* with the addition of -msym flag 11345 if test "$GCC" = yes; then 11346 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 11347 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' 11348 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11349 else 11350 allow_undefined_flag=' -expect_unresolved \*' 11351 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' 11352 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~ 11353 $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' 11354 11355 # Both c and cxx compiler support -rpath directly 11356 hardcode_libdir_flag_spec='-rpath $libdir' 11357 fi 11358 archive_cmds_need_lc='no' 11359 hardcode_libdir_separator=: 11360 ;; 11361 11362 solaris*) 11363 no_undefined_flag=' -z defs' 11364 if test "$GCC" = yes; then 11365 wlarc='${wl}' 11366 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 11367 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11368 $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' 11369 else 11370 case `$CC -V 2>&1` in 11371 *"Compilers 5.0"*) 11372 wlarc='' 11373 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 11374 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11375 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11376 ;; 11377 *) 11378 wlarc='${wl}' 11379 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11380 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11381 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11382 ;; 11383 esac 11384 fi 11385 hardcode_libdir_flag_spec='-R$libdir' 11386 hardcode_shlibpath_var=no 11387 case $host_os in 11388 solaris2.[0-5] | solaris2.[0-5].*) ;; 11389 *) 11390 # The compiler driver will combine and reorder linker options, 11391 # but understands `-z linker_flag'. GCC discards it without `$wl', 11392 # but is careful enough not to reorder. 11393 # Supported since Solaris 2.6 (maybe 2.5.1?) 11394 if test "$GCC" = yes; then 11395 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 11396 else 11397 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11398 fi 11399 ;; 11400 esac 11401 link_all_deplibs=yes 11402 ;; 11403 11404 sunos4*) 11405 if test "x$host_vendor" = xsequent; then 11406 # Use $CC to link under sequent, because it throws in some extra .o 11407 # files that make .init and .fini sections work. 11408 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11409 else 11410 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11411 fi 11412 hardcode_libdir_flag_spec='-L$libdir' 11413 hardcode_direct=yes 11414 hardcode_minus_L=yes 11415 hardcode_shlibpath_var=no 11416 ;; 11417 11418 sysv4) 11419 case $host_vendor in 11420 sni) 11421 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11422 hardcode_direct=yes # is this really true??? 11423 ;; 11424 siemens) 11425 ## LD is ld it makes a PLAMLIB 11426 ## CC just makes a GrossModule. 11427 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11428 reload_cmds='$CC -r -o $output$reload_objs' 11429 hardcode_direct=no 11430 ;; 11431 motorola) 11432 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11433 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11434 ;; 11435 esac 11436 runpath_var='LD_RUN_PATH' 11437 hardcode_shlibpath_var=no 11438 ;; 11439 11440 sysv4.3*) 11441 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11442 hardcode_shlibpath_var=no 11443 export_dynamic_flag_spec='-Bexport' 11444 ;; 11445 11446 sysv4*MP*) 11447 if test -d /usr/nec; then 11448 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11449 hardcode_shlibpath_var=no 11450 runpath_var=LD_RUN_PATH 11451 hardcode_runpath_var=yes 11452 ld_shlibs=yes 11453 fi 11454 ;; 11455 11456 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11457 no_undefined_flag='${wl}-z,text' 11458 archive_cmds_need_lc=no 11459 hardcode_shlibpath_var=no 11460 runpath_var='LD_RUN_PATH' 11461 11462 if test "$GCC" = yes; then 11463 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11464 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11465 else 11466 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11467 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11468 fi 11469 ;; 11470 11471 sysv5* | sco3.2v5* | sco5v6*) 11472 # Note: We can NOT use -z defs as we might desire, because we do not 11473 # link with -lc, and that would cause any symbols used from libc to 11474 # always be unresolved, which means just about no library would 11475 # ever link correctly. If we're not using GNU ld we use -z text 11476 # though, which does catch some bad symbols but isn't as heavy-handed 11477 # as -z defs. 11478 no_undefined_flag='${wl}-z,text' 11479 allow_undefined_flag='${wl}-z,nodefs' 11480 archive_cmds_need_lc=no 11481 hardcode_shlibpath_var=no 11482 hardcode_libdir_flag_spec='${wl}-R,$libdir' 11483 hardcode_libdir_separator=':' 11484 link_all_deplibs=yes 11485 export_dynamic_flag_spec='${wl}-Bexport' 11486 runpath_var='LD_RUN_PATH' 11487 11488 if test "$GCC" = yes; then 11489 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11490 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11491 else 11492 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11493 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11494 fi 11495 ;; 11496 11497 uts4*) 11498 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11499 hardcode_libdir_flag_spec='-L$libdir' 11500 hardcode_shlibpath_var=no 11501 ;; 11502 11503 *) 11504 ld_shlibs=no 11505 ;; 11506 esac 11507 11508 if test x$host_vendor = xsni; then 11509 case $host in 11510 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11511 export_dynamic_flag_spec='${wl}-Blargedynsym' 11512 ;; 11513 esac 11514 fi 11515 fi 11516 11517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11518$as_echo "$ld_shlibs" >&6; } 11519test "$ld_shlibs" = no && can_build_shared=no 11520 11521with_gnu_ld=$with_gnu_ld 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537# 11538# Do we need to explicitly link libc? 11539# 11540case "x$archive_cmds_need_lc" in 11541x|xyes) 11542 # Assume -lc should be added 11543 archive_cmds_need_lc=yes 11544 11545 if test "$enable_shared" = yes && test "$GCC" = yes; then 11546 case $archive_cmds in 11547 *'~'*) 11548 # FIXME: we may have to deal with multi-command sequences. 11549 ;; 11550 '$CC '*) 11551 # Test whether the compiler implicitly links with -lc since on some 11552 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11553 # to ld, don't add -lc before -lgcc. 11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11555$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11556if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : 11557 $as_echo_n "(cached) " >&6 11558else 11559 $RM conftest* 11560 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11561 11562 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11563 (eval $ac_compile) 2>&5 11564 ac_status=$? 11565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11566 test $ac_status = 0; } 2>conftest.err; then 11567 soname=conftest 11568 lib=conftest 11569 libobjs=conftest.$ac_objext 11570 deplibs= 11571 wl=$lt_prog_compiler_wl 11572 pic_flag=$lt_prog_compiler_pic 11573 compiler_flags=-v 11574 linker_flags=-v 11575 verstring= 11576 output_objdir=. 11577 libname=conftest 11578 lt_save_allow_undefined_flag=$allow_undefined_flag 11579 allow_undefined_flag= 11580 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11581 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11582 ac_status=$? 11583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11584 test $ac_status = 0; } 11585 then 11586 lt_cv_archive_cmds_need_lc=no 11587 else 11588 lt_cv_archive_cmds_need_lc=yes 11589 fi 11590 allow_undefined_flag=$lt_save_allow_undefined_flag 11591 else 11592 cat conftest.err 1>&5 11593 fi 11594 $RM conftest* 11595 11596fi 11597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11598$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11599 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11600 ;; 11601 esac 11602 fi 11603 ;; 11604esac 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 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 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11758$as_echo_n "checking dynamic linker characteristics... " >&6; } 11759 11760if test "$GCC" = yes; then 11761 case $host_os in 11762 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 11763 *) lt_awk_arg="/^libraries:/" ;; 11764 esac 11765 case $host_os in 11766 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 11767 *) lt_sed_strip_eq="s,=/,/,g" ;; 11768 esac 11769 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11770 case $lt_search_path_spec in 11771 *\;*) 11772 # if the path contains ";" then we assume it to be the separator 11773 # otherwise default to the standard path separator (i.e. ":") - it is 11774 # assumed that no part of a normal pathname contains ";" but that should 11775 # okay in the real world where ";" in dirpaths is itself problematic. 11776 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11777 ;; 11778 *) 11779 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11780 ;; 11781 esac 11782 # Ok, now we have the path, separated by spaces, we can step through it 11783 # and add multilib dir if necessary. 11784 lt_tmp_lt_search_path_spec= 11785 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11786 for lt_sys_path in $lt_search_path_spec; do 11787 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 11788 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 11789 else 11790 test -d "$lt_sys_path" && \ 11791 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11792 fi 11793 done 11794 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11795BEGIN {RS=" "; FS="/|\n";} { 11796 lt_foo=""; 11797 lt_count=0; 11798 for (lt_i = NF; lt_i > 0; lt_i--) { 11799 if ($lt_i != "" && $lt_i != ".") { 11800 if ($lt_i == "..") { 11801 lt_count++; 11802 } else { 11803 if (lt_count == 0) { 11804 lt_foo="/" $lt_i lt_foo; 11805 } else { 11806 lt_count--; 11807 } 11808 } 11809 } 11810 } 11811 if (lt_foo != "") { lt_freq[lt_foo]++; } 11812 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11813}'` 11814 # AWK program above erroneously prepends '/' to C:/dos/paths 11815 # for these hosts. 11816 case $host_os in 11817 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11818 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 11819 esac 11820 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11821else 11822 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11823fi 11824library_names_spec= 11825libname_spec='lib$name' 11826soname_spec= 11827shrext_cmds=".so" 11828postinstall_cmds= 11829postuninstall_cmds= 11830finish_cmds= 11831finish_eval= 11832shlibpath_var= 11833shlibpath_overrides_runpath=unknown 11834version_type=none 11835dynamic_linker="$host_os ld.so" 11836sys_lib_dlsearch_path_spec="/lib /usr/lib" 11837need_lib_prefix=unknown 11838hardcode_into_libs=no 11839 11840# when you set need_version to no, make sure it does not cause -set_version 11841# flags to be left without arguments 11842need_version=unknown 11843 11844case $host_os in 11845aix3*) 11846 version_type=linux # correct to gnu/linux during the next big refactor 11847 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 11848 shlibpath_var=LIBPATH 11849 11850 # AIX 3 has no versioning support, so we append a major version to the name. 11851 soname_spec='${libname}${release}${shared_ext}$major' 11852 ;; 11853 11854aix[4-9]*) 11855 version_type=linux # correct to gnu/linux during the next big refactor 11856 need_lib_prefix=no 11857 need_version=no 11858 hardcode_into_libs=yes 11859 if test "$host_cpu" = ia64; then 11860 # AIX 5 supports IA64 11861 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 11862 shlibpath_var=LD_LIBRARY_PATH 11863 else 11864 # With GCC up to 2.95.x, collect2 would create an import file 11865 # for dependence libraries. The import file would start with 11866 # the line `#! .'. This would cause the generated library to 11867 # depend on `.', always an invalid library. This was fixed in 11868 # development snapshots of GCC prior to 3.0. 11869 case $host_os in 11870 aix4 | aix4.[01] | aix4.[01].*) 11871 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11872 echo ' yes ' 11873 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 11874 : 11875 else 11876 can_build_shared=no 11877 fi 11878 ;; 11879 esac 11880 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 11881 # soname into executable. Probably we can add versioning support to 11882 # collect2, so additional links can be useful in future. 11883 if test "$aix_use_runtimelinking" = yes; then 11884 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11885 # instead of lib<name>.a to let people know that these are not 11886 # typical AIX shared libraries. 11887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11888 else 11889 # We preserve .a as extension for shared libraries through AIX4.2 11890 # and later when we are not doing run time linking. 11891 library_names_spec='${libname}${release}.a $libname.a' 11892 soname_spec='${libname}${release}${shared_ext}$major' 11893 fi 11894 shlibpath_var=LIBPATH 11895 fi 11896 ;; 11897 11898amigaos*) 11899 case $host_cpu in 11900 powerpc) 11901 # Since July 2007 AmigaOS4 officially supports .so libraries. 11902 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11904 ;; 11905 m68k) 11906 library_names_spec='$libname.ixlibrary $libname.a' 11907 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11908 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 11909 ;; 11910 esac 11911 ;; 11912 11913beos*) 11914 library_names_spec='${libname}${shared_ext}' 11915 dynamic_linker="$host_os ld.so" 11916 shlibpath_var=LIBRARY_PATH 11917 ;; 11918 11919bsdi[45]*) 11920 version_type=linux # correct to gnu/linux during the next big refactor 11921 need_version=no 11922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11923 soname_spec='${libname}${release}${shared_ext}$major' 11924 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11925 shlibpath_var=LD_LIBRARY_PATH 11926 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11927 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11928 # the default ld.so.conf also contains /usr/contrib/lib and 11929 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11930 # libtool to hard-code these into programs 11931 ;; 11932 11933cygwin* | mingw* | pw32* | cegcc*) 11934 version_type=windows 11935 shrext_cmds=".dll" 11936 need_version=no 11937 need_lib_prefix=no 11938 11939 case $GCC,$cc_basename in 11940 yes,*) 11941 # gcc 11942 library_names_spec='$libname.dll.a' 11943 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11944 postinstall_cmds='base_file=`basename \${file}`~ 11945 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11946 dldir=$destdir/`dirname \$dlpath`~ 11947 test -d \$dldir || mkdir -p \$dldir~ 11948 $install_prog $dir/$dlname \$dldir/$dlname~ 11949 chmod a+x \$dldir/$dlname~ 11950 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11951 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11952 fi' 11953 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11954 dlpath=$dir/\$dldll~ 11955 $RM \$dlpath' 11956 shlibpath_overrides_runpath=yes 11957 11958 case $host_os in 11959 cygwin*) 11960 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11961 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11962 11963 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11964 ;; 11965 mingw* | cegcc*) 11966 # MinGW DLLs use traditional 'lib' prefix 11967 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11968 ;; 11969 pw32*) 11970 # pw32 DLLs use 'pw' prefix rather than 'lib' 11971 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11972 ;; 11973 esac 11974 dynamic_linker='Win32 ld.exe' 11975 ;; 11976 11977 *,cl*) 11978 # Native MSVC 11979 libname_spec='$name' 11980 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11981 library_names_spec='${libname}.dll.lib' 11982 11983 case $build_os in 11984 mingw*) 11985 sys_lib_search_path_spec= 11986 lt_save_ifs=$IFS 11987 IFS=';' 11988 for lt_path in $LIB 11989 do 11990 IFS=$lt_save_ifs 11991 # Let DOS variable expansion print the short 8.3 style file name. 11992 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11993 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11994 done 11995 IFS=$lt_save_ifs 11996 # Convert to MSYS style. 11997 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11998 ;; 11999 cygwin*) 12000 # Convert to unix form, then to dos form, then back to unix form 12001 # but this time dos style (no spaces!) so that the unix form looks 12002 # like /cygdrive/c/PROGRA~1:/cygdr... 12003 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12004 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12005 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12006 ;; 12007 *) 12008 sys_lib_search_path_spec="$LIB" 12009 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12010 # It is most probably a Windows format PATH. 12011 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12012 else 12013 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12014 fi 12015 # FIXME: find the short name or the path components, as spaces are 12016 # common. (e.g. "Program Files" -> "PROGRA~1") 12017 ;; 12018 esac 12019 12020 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12021 postinstall_cmds='base_file=`basename \${file}`~ 12022 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 12023 dldir=$destdir/`dirname \$dlpath`~ 12024 test -d \$dldir || mkdir -p \$dldir~ 12025 $install_prog $dir/$dlname \$dldir/$dlname' 12026 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12027 dlpath=$dir/\$dldll~ 12028 $RM \$dlpath' 12029 shlibpath_overrides_runpath=yes 12030 dynamic_linker='Win32 link.exe' 12031 ;; 12032 12033 *) 12034 # Assume MSVC wrapper 12035 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 12036 dynamic_linker='Win32 ld.exe' 12037 ;; 12038 esac 12039 # FIXME: first we should search . and the directory the executable is in 12040 shlibpath_var=PATH 12041 ;; 12042 12043darwin* | rhapsody*) 12044 dynamic_linker="$host_os dyld" 12045 version_type=darwin 12046 need_lib_prefix=no 12047 need_version=no 12048 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 12049 soname_spec='${libname}${release}${major}$shared_ext' 12050 shlibpath_overrides_runpath=yes 12051 shlibpath_var=DYLD_LIBRARY_PATH 12052 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12053 12054 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12055 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12056 ;; 12057 12058dgux*) 12059 version_type=linux # correct to gnu/linux during the next big refactor 12060 need_lib_prefix=no 12061 need_version=no 12062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 12063 soname_spec='${libname}${release}${shared_ext}$major' 12064 shlibpath_var=LD_LIBRARY_PATH 12065 ;; 12066 12067freebsd* | dragonfly*) 12068 # DragonFly does not have aout. When/if they implement a new 12069 # versioning mechanism, adjust this. 12070 if test -x /usr/bin/objformat; then 12071 objformat=`/usr/bin/objformat` 12072 else 12073 case $host_os in 12074 freebsd[23].*) objformat=aout ;; 12075 *) objformat=elf ;; 12076 esac 12077 fi 12078 version_type=freebsd-$objformat 12079 case $version_type in 12080 freebsd-elf*) 12081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 12082 need_version=no 12083 need_lib_prefix=no 12084 ;; 12085 freebsd-*) 12086 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 12087 need_version=yes 12088 ;; 12089 esac 12090 shlibpath_var=LD_LIBRARY_PATH 12091 case $host_os in 12092 freebsd2.*) 12093 shlibpath_overrides_runpath=yes 12094 ;; 12095 freebsd3.[01]* | freebsdelf3.[01]*) 12096 shlibpath_overrides_runpath=yes 12097 hardcode_into_libs=yes 12098 ;; 12099 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12100 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12101 shlibpath_overrides_runpath=no 12102 hardcode_into_libs=yes 12103 ;; 12104 *) # from 4.6 on, and DragonFly 12105 shlibpath_overrides_runpath=yes 12106 hardcode_into_libs=yes 12107 ;; 12108 esac 12109 ;; 12110 12111gnu*) 12112 version_type=linux # correct to gnu/linux during the next big refactor 12113 need_lib_prefix=no 12114 need_version=no 12115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 12116 soname_spec='${libname}${release}${shared_ext}$major' 12117 shlibpath_var=LD_LIBRARY_PATH 12118 shlibpath_overrides_runpath=no 12119 hardcode_into_libs=yes 12120 ;; 12121 12122haiku*) 12123 version_type=linux # correct to gnu/linux during the next big refactor 12124 need_lib_prefix=no 12125 need_version=no 12126 dynamic_linker="$host_os runtime_loader" 12127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 12128 soname_spec='${libname}${release}${shared_ext}$major' 12129 shlibpath_var=LIBRARY_PATH 12130 shlibpath_overrides_runpath=yes 12131 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12132 hardcode_into_libs=yes 12133 ;; 12134 12135hpux9* | hpux10* | hpux11*) 12136 # Give a soname corresponding to the major version so that dld.sl refuses to 12137 # link against other versions. 12138 version_type=sunos 12139 need_lib_prefix=no 12140 need_version=no 12141 case $host_cpu in 12142 ia64*) 12143 shrext_cmds='.so' 12144 hardcode_into_libs=yes 12145 dynamic_linker="$host_os dld.so" 12146 shlibpath_var=LD_LIBRARY_PATH 12147 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12149 soname_spec='${libname}${release}${shared_ext}$major' 12150 if test "X$HPUX_IA64_MODE" = X32; then 12151 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12152 else 12153 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12154 fi 12155 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12156 ;; 12157 hppa*64*) 12158 shrext_cmds='.sl' 12159 hardcode_into_libs=yes 12160 dynamic_linker="$host_os dld.sl" 12161 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12162 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12164 soname_spec='${libname}${release}${shared_ext}$major' 12165 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12166 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12167 ;; 12168 *) 12169 shrext_cmds='.sl' 12170 dynamic_linker="$host_os dld.sl" 12171 shlibpath_var=SHLIB_PATH 12172 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12174 soname_spec='${libname}${release}${shared_ext}$major' 12175 ;; 12176 esac 12177 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12178 postinstall_cmds='chmod 555 $lib' 12179 # or fails outright, so override atomically: 12180 install_override_mode=555 12181 ;; 12182 12183interix[3-9]*) 12184 version_type=linux # correct to gnu/linux during the next big refactor 12185 need_lib_prefix=no 12186 need_version=no 12187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12188 soname_spec='${libname}${release}${shared_ext}$major' 12189 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12190 shlibpath_var=LD_LIBRARY_PATH 12191 shlibpath_overrides_runpath=no 12192 hardcode_into_libs=yes 12193 ;; 12194 12195irix5* | irix6* | nonstopux*) 12196 case $host_os in 12197 nonstopux*) version_type=nonstopux ;; 12198 *) 12199 if test "$lt_cv_prog_gnu_ld" = yes; then 12200 version_type=linux # correct to gnu/linux during the next big refactor 12201 else 12202 version_type=irix 12203 fi ;; 12204 esac 12205 need_lib_prefix=no 12206 need_version=no 12207 soname_spec='${libname}${release}${shared_ext}$major' 12208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 12209 case $host_os in 12210 irix5* | nonstopux*) 12211 libsuff= shlibsuff= 12212 ;; 12213 *) 12214 case $LD in # libtool.m4 will add one of these switches to LD 12215 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12216 libsuff= shlibsuff= libmagic=32-bit;; 12217 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12218 libsuff=32 shlibsuff=N32 libmagic=N32;; 12219 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12220 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12221 *) libsuff= shlibsuff= libmagic=never-match;; 12222 esac 12223 ;; 12224 esac 12225 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12226 shlibpath_overrides_runpath=no 12227 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 12228 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 12229 hardcode_into_libs=yes 12230 ;; 12231 12232# No shared lib support for Linux oldld, aout, or coff. 12233linux*oldld* | linux*aout* | linux*coff*) 12234 dynamic_linker=no 12235 ;; 12236 12237# This must be glibc/ELF. 12238linux* | k*bsd*-gnu | kopensolaris*-gnu) 12239 version_type=linux # correct to gnu/linux during the next big refactor 12240 need_lib_prefix=no 12241 need_version=no 12242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12243 soname_spec='${libname}${release}${shared_ext}$major' 12244 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12245 shlibpath_var=LD_LIBRARY_PATH 12246 shlibpath_overrides_runpath=no 12247 12248 # Some binutils ld are patched to set DT_RUNPATH 12249 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : 12250 $as_echo_n "(cached) " >&6 12251else 12252 lt_cv_shlibpath_overrides_runpath=no 12253 save_LDFLAGS=$LDFLAGS 12254 save_libdir=$libdir 12255 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12256 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12258/* end confdefs.h. */ 12259 12260int 12261main () 12262{ 12263 12264 ; 12265 return 0; 12266} 12267_ACEOF 12268if ac_fn_c_try_link "$LINENO"; then : 12269 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12270 lt_cv_shlibpath_overrides_runpath=yes 12271fi 12272fi 12273rm -f core conftest.err conftest.$ac_objext \ 12274 conftest$ac_exeext conftest.$ac_ext 12275 LDFLAGS=$save_LDFLAGS 12276 libdir=$save_libdir 12277 12278fi 12279 12280 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12281 12282 # This implies no fast_install, which is unacceptable. 12283 # Some rework will be needed to allow for fast_install 12284 # before this can be enabled. 12285 hardcode_into_libs=yes 12286 12287 # Add ABI-specific directories to the system library path. 12288 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 12289 12290 # Append ld.so.conf contents to the search path 12291 if test -f /etc/ld.so.conf; then 12292 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' ' '` 12293 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 12294 12295 fi 12296 12297 # We used to test for /lib/ld.so.1 and disable shared libraries on 12298 # powerpc, because MkLinux only supported shared libraries with the 12299 # GNU dynamic linker. Since this was broken with cross compilers, 12300 # most powerpc-linux boxes support dynamic linking these days and 12301 # people can always --disable-shared, the test was removed, and we 12302 # assume the GNU/Linux dynamic linker is in use. 12303 dynamic_linker='GNU/Linux ld.so' 12304 ;; 12305 12306netbsd*) 12307 version_type=sunos 12308 need_lib_prefix=no 12309 need_version=no 12310 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 12312 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12313 dynamic_linker='NetBSD (a.out) ld.so' 12314 else 12315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12316 soname_spec='${libname}${release}${shared_ext}$major' 12317 dynamic_linker='NetBSD ld.elf_so' 12318 fi 12319 shlibpath_var=LD_LIBRARY_PATH 12320 shlibpath_overrides_runpath=yes 12321 hardcode_into_libs=yes 12322 ;; 12323 12324newsos6) 12325 version_type=linux # correct to gnu/linux during the next big refactor 12326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12327 shlibpath_var=LD_LIBRARY_PATH 12328 shlibpath_overrides_runpath=yes 12329 ;; 12330 12331*nto* | *qnx*) 12332 version_type=qnx 12333 need_lib_prefix=no 12334 need_version=no 12335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12336 soname_spec='${libname}${release}${shared_ext}$major' 12337 shlibpath_var=LD_LIBRARY_PATH 12338 shlibpath_overrides_runpath=no 12339 hardcode_into_libs=yes 12340 dynamic_linker='ldqnx.so' 12341 ;; 12342 12343openbsd*) 12344 version_type=sunos 12345 sys_lib_dlsearch_path_spec="/usr/lib" 12346 need_lib_prefix=no 12347 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 12348 case $host_os in 12349 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 12350 *) need_version=no ;; 12351 esac 12352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 12353 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12354 shlibpath_var=LD_LIBRARY_PATH 12355 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 12356 case $host_os in 12357 openbsd2.[89] | openbsd2.[89].*) 12358 shlibpath_overrides_runpath=no 12359 ;; 12360 *) 12361 shlibpath_overrides_runpath=yes 12362 ;; 12363 esac 12364 else 12365 shlibpath_overrides_runpath=yes 12366 fi 12367 ;; 12368 12369os2*) 12370 libname_spec='$name' 12371 shrext_cmds=".dll" 12372 need_lib_prefix=no 12373 library_names_spec='$libname${shared_ext} $libname.a' 12374 dynamic_linker='OS/2 ld.exe' 12375 shlibpath_var=LIBPATH 12376 ;; 12377 12378osf3* | osf4* | osf5*) 12379 version_type=osf 12380 need_lib_prefix=no 12381 need_version=no 12382 soname_spec='${libname}${release}${shared_ext}$major' 12383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12384 shlibpath_var=LD_LIBRARY_PATH 12385 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12386 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 12387 ;; 12388 12389rdos*) 12390 dynamic_linker=no 12391 ;; 12392 12393solaris*) 12394 version_type=linux # correct to gnu/linux during the next big refactor 12395 need_lib_prefix=no 12396 need_version=no 12397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12398 soname_spec='${libname}${release}${shared_ext}$major' 12399 shlibpath_var=LD_LIBRARY_PATH 12400 shlibpath_overrides_runpath=yes 12401 hardcode_into_libs=yes 12402 # ldd complains unless libraries are executable 12403 postinstall_cmds='chmod +x $lib' 12404 ;; 12405 12406sunos4*) 12407 version_type=sunos 12408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 12409 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12410 shlibpath_var=LD_LIBRARY_PATH 12411 shlibpath_overrides_runpath=yes 12412 if test "$with_gnu_ld" = yes; then 12413 need_lib_prefix=no 12414 fi 12415 need_version=yes 12416 ;; 12417 12418sysv4 | sysv4.3*) 12419 version_type=linux # correct to gnu/linux during the next big refactor 12420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12421 soname_spec='${libname}${release}${shared_ext}$major' 12422 shlibpath_var=LD_LIBRARY_PATH 12423 case $host_vendor in 12424 sni) 12425 shlibpath_overrides_runpath=no 12426 need_lib_prefix=no 12427 runpath_var=LD_RUN_PATH 12428 ;; 12429 siemens) 12430 need_lib_prefix=no 12431 ;; 12432 motorola) 12433 need_lib_prefix=no 12434 need_version=no 12435 shlibpath_overrides_runpath=no 12436 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12437 ;; 12438 esac 12439 ;; 12440 12441sysv4*MP*) 12442 if test -d /usr/nec ;then 12443 version_type=linux # correct to gnu/linux during the next big refactor 12444 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 12445 soname_spec='$libname${shared_ext}.$major' 12446 shlibpath_var=LD_LIBRARY_PATH 12447 fi 12448 ;; 12449 12450sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12451 version_type=freebsd-elf 12452 need_lib_prefix=no 12453 need_version=no 12454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 12455 soname_spec='${libname}${release}${shared_ext}$major' 12456 shlibpath_var=LD_LIBRARY_PATH 12457 shlibpath_overrides_runpath=yes 12458 hardcode_into_libs=yes 12459 if test "$with_gnu_ld" = yes; then 12460 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12461 else 12462 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12463 case $host_os in 12464 sco3.2v5*) 12465 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12466 ;; 12467 esac 12468 fi 12469 sys_lib_dlsearch_path_spec='/usr/lib' 12470 ;; 12471 12472tpf*) 12473 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12474 version_type=linux # correct to gnu/linux during the next big refactor 12475 need_lib_prefix=no 12476 need_version=no 12477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12478 shlibpath_var=LD_LIBRARY_PATH 12479 shlibpath_overrides_runpath=no 12480 hardcode_into_libs=yes 12481 ;; 12482 12483uts4*) 12484 version_type=linux # correct to gnu/linux during the next big refactor 12485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12486 soname_spec='${libname}${release}${shared_ext}$major' 12487 shlibpath_var=LD_LIBRARY_PATH 12488 ;; 12489 12490*) 12491 dynamic_linker=no 12492 ;; 12493esac 12494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12495$as_echo "$dynamic_linker" >&6; } 12496test "$dynamic_linker" = no && can_build_shared=no 12497 12498variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12499if test "$GCC" = yes; then 12500 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12501fi 12502 12503if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 12504 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 12505fi 12506if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 12507 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 12508fi 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12602$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12603hardcode_action= 12604if test -n "$hardcode_libdir_flag_spec" || 12605 test -n "$runpath_var" || 12606 test "X$hardcode_automatic" = "Xyes" ; then 12607 12608 # We can hardcode non-existent directories. 12609 if test "$hardcode_direct" != no && 12610 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12611 # have to relink, otherwise we might link with an installed library 12612 # when we should be linking with a yet-to-be-installed one 12613 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 12614 test "$hardcode_minus_L" != no; then 12615 # Linking always hardcodes the temporary library directory. 12616 hardcode_action=relink 12617 else 12618 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12619 hardcode_action=immediate 12620 fi 12621else 12622 # We cannot hardcode anything, or else we can only hardcode existing 12623 # directories. 12624 hardcode_action=unsupported 12625fi 12626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12627$as_echo "$hardcode_action" >&6; } 12628 12629if test "$hardcode_action" = relink || 12630 test "$inherit_rpath" = yes; then 12631 # Fast installation is not supported 12632 enable_fast_install=no 12633elif test "$shlibpath_overrides_runpath" = yes || 12634 test "$enable_shared" = no; then 12635 # Fast installation is not necessary 12636 enable_fast_install=needless 12637fi 12638 12639 12640 12641 12642 12643 12644 if test "x$enable_dlopen" != xyes; then 12645 enable_dlopen=unknown 12646 enable_dlopen_self=unknown 12647 enable_dlopen_self_static=unknown 12648else 12649 lt_cv_dlopen=no 12650 lt_cv_dlopen_libs= 12651 12652 case $host_os in 12653 beos*) 12654 lt_cv_dlopen="load_add_on" 12655 lt_cv_dlopen_libs= 12656 lt_cv_dlopen_self=yes 12657 ;; 12658 12659 mingw* | pw32* | cegcc*) 12660 lt_cv_dlopen="LoadLibrary" 12661 lt_cv_dlopen_libs= 12662 ;; 12663 12664 cygwin*) 12665 lt_cv_dlopen="dlopen" 12666 lt_cv_dlopen_libs= 12667 ;; 12668 12669 darwin*) 12670 # if libdl is installed we need to link against it 12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12672$as_echo_n "checking for dlopen in -ldl... " >&6; } 12673if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 12674 $as_echo_n "(cached) " >&6 12675else 12676 ac_check_lib_save_LIBS=$LIBS 12677LIBS="-ldl $LIBS" 12678cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12679/* end confdefs.h. */ 12680 12681/* Override any GCC internal prototype to avoid an error. 12682 Use char because int might match the return type of a GCC 12683 builtin and then its argument prototype would still apply. */ 12684#ifdef __cplusplus 12685extern "C" 12686#endif 12687char dlopen (); 12688int 12689main () 12690{ 12691return dlopen (); 12692 ; 12693 return 0; 12694} 12695_ACEOF 12696if ac_fn_c_try_link "$LINENO"; then : 12697 ac_cv_lib_dl_dlopen=yes 12698else 12699 ac_cv_lib_dl_dlopen=no 12700fi 12701rm -f core conftest.err conftest.$ac_objext \ 12702 conftest$ac_exeext conftest.$ac_ext 12703LIBS=$ac_check_lib_save_LIBS 12704fi 12705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12706$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12707if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 12708 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12709else 12710 12711 lt_cv_dlopen="dyld" 12712 lt_cv_dlopen_libs= 12713 lt_cv_dlopen_self=yes 12714 12715fi 12716 12717 ;; 12718 12719 *) 12720 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12721if test "x$ac_cv_func_shl_load" = x""yes; then : 12722 lt_cv_dlopen="shl_load" 12723else 12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12725$as_echo_n "checking for shl_load in -ldld... " >&6; } 12726if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 12727 $as_echo_n "(cached) " >&6 12728else 12729 ac_check_lib_save_LIBS=$LIBS 12730LIBS="-ldld $LIBS" 12731cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12732/* end confdefs.h. */ 12733 12734/* Override any GCC internal prototype to avoid an error. 12735 Use char because int might match the return type of a GCC 12736 builtin and then its argument prototype would still apply. */ 12737#ifdef __cplusplus 12738extern "C" 12739#endif 12740char shl_load (); 12741int 12742main () 12743{ 12744return shl_load (); 12745 ; 12746 return 0; 12747} 12748_ACEOF 12749if ac_fn_c_try_link "$LINENO"; then : 12750 ac_cv_lib_dld_shl_load=yes 12751else 12752 ac_cv_lib_dld_shl_load=no 12753fi 12754rm -f core conftest.err conftest.$ac_objext \ 12755 conftest$ac_exeext conftest.$ac_ext 12756LIBS=$ac_check_lib_save_LIBS 12757fi 12758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12759$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12760if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 12761 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 12762else 12763 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12764if test "x$ac_cv_func_dlopen" = x""yes; then : 12765 lt_cv_dlopen="dlopen" 12766else 12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12768$as_echo_n "checking for dlopen in -ldl... " >&6; } 12769if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 12770 $as_echo_n "(cached) " >&6 12771else 12772 ac_check_lib_save_LIBS=$LIBS 12773LIBS="-ldl $LIBS" 12774cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12775/* end confdefs.h. */ 12776 12777/* Override any GCC internal prototype to avoid an error. 12778 Use char because int might match the return type of a GCC 12779 builtin and then its argument prototype would still apply. */ 12780#ifdef __cplusplus 12781extern "C" 12782#endif 12783char dlopen (); 12784int 12785main () 12786{ 12787return dlopen (); 12788 ; 12789 return 0; 12790} 12791_ACEOF 12792if ac_fn_c_try_link "$LINENO"; then : 12793 ac_cv_lib_dl_dlopen=yes 12794else 12795 ac_cv_lib_dl_dlopen=no 12796fi 12797rm -f core conftest.err conftest.$ac_objext \ 12798 conftest$ac_exeext conftest.$ac_ext 12799LIBS=$ac_check_lib_save_LIBS 12800fi 12801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12802$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12803if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 12804 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12805else 12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12807$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12808if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 12809 $as_echo_n "(cached) " >&6 12810else 12811 ac_check_lib_save_LIBS=$LIBS 12812LIBS="-lsvld $LIBS" 12813cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12814/* end confdefs.h. */ 12815 12816/* Override any GCC internal prototype to avoid an error. 12817 Use char because int might match the return type of a GCC 12818 builtin and then its argument prototype would still apply. */ 12819#ifdef __cplusplus 12820extern "C" 12821#endif 12822char dlopen (); 12823int 12824main () 12825{ 12826return dlopen (); 12827 ; 12828 return 0; 12829} 12830_ACEOF 12831if ac_fn_c_try_link "$LINENO"; then : 12832 ac_cv_lib_svld_dlopen=yes 12833else 12834 ac_cv_lib_svld_dlopen=no 12835fi 12836rm -f core conftest.err conftest.$ac_objext \ 12837 conftest$ac_exeext conftest.$ac_ext 12838LIBS=$ac_check_lib_save_LIBS 12839fi 12840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12841$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12842if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 12843 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 12844else 12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12846$as_echo_n "checking for dld_link in -ldld... " >&6; } 12847if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 12848 $as_echo_n "(cached) " >&6 12849else 12850 ac_check_lib_save_LIBS=$LIBS 12851LIBS="-ldld $LIBS" 12852cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12853/* end confdefs.h. */ 12854 12855/* Override any GCC internal prototype to avoid an error. 12856 Use char because int might match the return type of a GCC 12857 builtin and then its argument prototype would still apply. */ 12858#ifdef __cplusplus 12859extern "C" 12860#endif 12861char dld_link (); 12862int 12863main () 12864{ 12865return dld_link (); 12866 ; 12867 return 0; 12868} 12869_ACEOF 12870if ac_fn_c_try_link "$LINENO"; then : 12871 ac_cv_lib_dld_dld_link=yes 12872else 12873 ac_cv_lib_dld_dld_link=no 12874fi 12875rm -f core conftest.err conftest.$ac_objext \ 12876 conftest$ac_exeext conftest.$ac_ext 12877LIBS=$ac_check_lib_save_LIBS 12878fi 12879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12880$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12881if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 12882 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 12883fi 12884 12885 12886fi 12887 12888 12889fi 12890 12891 12892fi 12893 12894 12895fi 12896 12897 12898fi 12899 12900 ;; 12901 esac 12902 12903 if test "x$lt_cv_dlopen" != xno; then 12904 enable_dlopen=yes 12905 else 12906 enable_dlopen=no 12907 fi 12908 12909 case $lt_cv_dlopen in 12910 dlopen) 12911 save_CPPFLAGS="$CPPFLAGS" 12912 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12913 12914 save_LDFLAGS="$LDFLAGS" 12915 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12916 12917 save_LIBS="$LIBS" 12918 LIBS="$lt_cv_dlopen_libs $LIBS" 12919 12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12921$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12922if test "${lt_cv_dlopen_self+set}" = set; then : 12923 $as_echo_n "(cached) " >&6 12924else 12925 if test "$cross_compiling" = yes; then : 12926 lt_cv_dlopen_self=cross 12927else 12928 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12929 lt_status=$lt_dlunknown 12930 cat > conftest.$ac_ext <<_LT_EOF 12931#line $LINENO "configure" 12932#include "confdefs.h" 12933 12934#if HAVE_DLFCN_H 12935#include <dlfcn.h> 12936#endif 12937 12938#include <stdio.h> 12939 12940#ifdef RTLD_GLOBAL 12941# define LT_DLGLOBAL RTLD_GLOBAL 12942#else 12943# ifdef DL_GLOBAL 12944# define LT_DLGLOBAL DL_GLOBAL 12945# else 12946# define LT_DLGLOBAL 0 12947# endif 12948#endif 12949 12950/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12951 find out it does not work in some platform. */ 12952#ifndef LT_DLLAZY_OR_NOW 12953# ifdef RTLD_LAZY 12954# define LT_DLLAZY_OR_NOW RTLD_LAZY 12955# else 12956# ifdef DL_LAZY 12957# define LT_DLLAZY_OR_NOW DL_LAZY 12958# else 12959# ifdef RTLD_NOW 12960# define LT_DLLAZY_OR_NOW RTLD_NOW 12961# else 12962# ifdef DL_NOW 12963# define LT_DLLAZY_OR_NOW DL_NOW 12964# else 12965# define LT_DLLAZY_OR_NOW 0 12966# endif 12967# endif 12968# endif 12969# endif 12970#endif 12971 12972/* When -fvisbility=hidden is used, assume the code has been annotated 12973 correspondingly for the symbols needed. */ 12974#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12975int fnord () __attribute__((visibility("default"))); 12976#endif 12977 12978int fnord () { return 42; } 12979int main () 12980{ 12981 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12982 int status = $lt_dlunknown; 12983 12984 if (self) 12985 { 12986 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12987 else 12988 { 12989 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12990 else puts (dlerror ()); 12991 } 12992 /* dlclose (self); */ 12993 } 12994 else 12995 puts (dlerror ()); 12996 12997 return status; 12998} 12999_LT_EOF 13000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13001 (eval $ac_link) 2>&5 13002 ac_status=$? 13003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13004 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 13005 (./conftest; exit; ) >&5 2>/dev/null 13006 lt_status=$? 13007 case x$lt_status in 13008 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13009 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13010 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13011 esac 13012 else : 13013 # compilation failed 13014 lt_cv_dlopen_self=no 13015 fi 13016fi 13017rm -fr conftest* 13018 13019 13020fi 13021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13022$as_echo "$lt_cv_dlopen_self" >&6; } 13023 13024 if test "x$lt_cv_dlopen_self" = xyes; then 13025 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13027$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13028if test "${lt_cv_dlopen_self_static+set}" = set; then : 13029 $as_echo_n "(cached) " >&6 13030else 13031 if test "$cross_compiling" = yes; then : 13032 lt_cv_dlopen_self_static=cross 13033else 13034 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13035 lt_status=$lt_dlunknown 13036 cat > conftest.$ac_ext <<_LT_EOF 13037#line $LINENO "configure" 13038#include "confdefs.h" 13039 13040#if HAVE_DLFCN_H 13041#include <dlfcn.h> 13042#endif 13043 13044#include <stdio.h> 13045 13046#ifdef RTLD_GLOBAL 13047# define LT_DLGLOBAL RTLD_GLOBAL 13048#else 13049# ifdef DL_GLOBAL 13050# define LT_DLGLOBAL DL_GLOBAL 13051# else 13052# define LT_DLGLOBAL 0 13053# endif 13054#endif 13055 13056/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13057 find out it does not work in some platform. */ 13058#ifndef LT_DLLAZY_OR_NOW 13059# ifdef RTLD_LAZY 13060# define LT_DLLAZY_OR_NOW RTLD_LAZY 13061# else 13062# ifdef DL_LAZY 13063# define LT_DLLAZY_OR_NOW DL_LAZY 13064# else 13065# ifdef RTLD_NOW 13066# define LT_DLLAZY_OR_NOW RTLD_NOW 13067# else 13068# ifdef DL_NOW 13069# define LT_DLLAZY_OR_NOW DL_NOW 13070# else 13071# define LT_DLLAZY_OR_NOW 0 13072# endif 13073# endif 13074# endif 13075# endif 13076#endif 13077 13078/* When -fvisbility=hidden is used, assume the code has been annotated 13079 correspondingly for the symbols needed. */ 13080#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13081int fnord () __attribute__((visibility("default"))); 13082#endif 13083 13084int fnord () { return 42; } 13085int main () 13086{ 13087 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13088 int status = $lt_dlunknown; 13089 13090 if (self) 13091 { 13092 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13093 else 13094 { 13095 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13096 else puts (dlerror ()); 13097 } 13098 /* dlclose (self); */ 13099 } 13100 else 13101 puts (dlerror ()); 13102 13103 return status; 13104} 13105_LT_EOF 13106 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13107 (eval $ac_link) 2>&5 13108 ac_status=$? 13109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13110 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 13111 (./conftest; exit; ) >&5 2>/dev/null 13112 lt_status=$? 13113 case x$lt_status in 13114 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13115 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13116 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13117 esac 13118 else : 13119 # compilation failed 13120 lt_cv_dlopen_self_static=no 13121 fi 13122fi 13123rm -fr conftest* 13124 13125 13126fi 13127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13128$as_echo "$lt_cv_dlopen_self_static" >&6; } 13129 fi 13130 13131 CPPFLAGS="$save_CPPFLAGS" 13132 LDFLAGS="$save_LDFLAGS" 13133 LIBS="$save_LIBS" 13134 ;; 13135 esac 13136 13137 case $lt_cv_dlopen_self in 13138 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13139 *) enable_dlopen_self=unknown ;; 13140 esac 13141 13142 case $lt_cv_dlopen_self_static in 13143 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13144 *) enable_dlopen_self_static=unknown ;; 13145 esac 13146fi 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164striplib= 13165old_striplib= 13166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13167$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13168if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13169 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13170 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13172$as_echo "yes" >&6; } 13173else 13174# FIXME - insert some real tests, host_os isn't really good enough 13175 case $host_os in 13176 darwin*) 13177 if test -n "$STRIP" ; then 13178 striplib="$STRIP -x" 13179 old_striplib="$STRIP -S" 13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13181$as_echo "yes" >&6; } 13182 else 13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13184$as_echo "no" >&6; } 13185 fi 13186 ;; 13187 *) 13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13189$as_echo "no" >&6; } 13190 ;; 13191 esac 13192fi 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 # Report which library types will actually be built 13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13207$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13209$as_echo "$can_build_shared" >&6; } 13210 13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13212$as_echo_n "checking whether to build shared libraries... " >&6; } 13213 test "$can_build_shared" = "no" && enable_shared=no 13214 13215 # On AIX, shared libraries and static libraries use the same namespace, and 13216 # are all built from PIC. 13217 case $host_os in 13218 aix3*) 13219 test "$enable_shared" = yes && enable_static=no 13220 if test -n "$RANLIB"; then 13221 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13222 postinstall_cmds='$RANLIB $lib' 13223 fi 13224 ;; 13225 13226 aix[4-9]*) 13227 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 13228 test "$enable_shared" = yes && enable_static=no 13229 fi 13230 ;; 13231 esac 13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13233$as_echo "$enable_shared" >&6; } 13234 13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13236$as_echo_n "checking whether to build static libraries... " >&6; } 13237 # Make sure either enable_shared or enable_static is yes. 13238 test "$enable_shared" = yes || enable_static=yes 13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13240$as_echo "$enable_static" >&6; } 13241 13242 13243 13244 13245fi 13246ac_ext=c 13247ac_cpp='$CPP $CPPFLAGS' 13248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13250ac_compiler_gnu=$ac_cv_c_compiler_gnu 13251 13252CC="$lt_save_CC" 13253 13254 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 13255 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 13256 (test "X$CXX" != "Xg++"))) ; then 13257 ac_ext=cpp 13258ac_cpp='$CXXCPP $CPPFLAGS' 13259ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13260ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13261ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 13263$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13264if test -z "$CXXCPP"; then 13265 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 13266 $as_echo_n "(cached) " >&6 13267else 13268 # Double quotes because CXXCPP needs to be expanded 13269 for CXXCPP in "$CXX -E" "/lib/cpp" 13270 do 13271 ac_preproc_ok=false 13272for ac_cxx_preproc_warn_flag in '' yes 13273do 13274 # Use a header file that comes with gcc, so configuring glibc 13275 # with a fresh cross-compiler works. 13276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13277 # <limits.h> exists even on freestanding compilers. 13278 # On the NeXT, cc -E runs the code through the compiler's parser, 13279 # not just through cpp. "Syntax error" is here to catch this case. 13280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13281/* end confdefs.h. */ 13282#ifdef __STDC__ 13283# include <limits.h> 13284#else 13285# include <assert.h> 13286#endif 13287 Syntax error 13288_ACEOF 13289if ac_fn_cxx_try_cpp "$LINENO"; then : 13290 13291else 13292 # Broken: fails on valid input. 13293continue 13294fi 13295rm -f conftest.err conftest.i conftest.$ac_ext 13296 13297 # OK, works on sane cases. Now check whether nonexistent headers 13298 # can be detected and how. 13299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13300/* end confdefs.h. */ 13301#include <ac_nonexistent.h> 13302_ACEOF 13303if ac_fn_cxx_try_cpp "$LINENO"; then : 13304 # Broken: success on invalid input. 13305continue 13306else 13307 # Passes both tests. 13308ac_preproc_ok=: 13309break 13310fi 13311rm -f conftest.err conftest.i conftest.$ac_ext 13312 13313done 13314# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13315rm -f conftest.i conftest.err conftest.$ac_ext 13316if $ac_preproc_ok; then : 13317 break 13318fi 13319 13320 done 13321 ac_cv_prog_CXXCPP=$CXXCPP 13322 13323fi 13324 CXXCPP=$ac_cv_prog_CXXCPP 13325else 13326 ac_cv_prog_CXXCPP=$CXXCPP 13327fi 13328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 13329$as_echo "$CXXCPP" >&6; } 13330ac_preproc_ok=false 13331for ac_cxx_preproc_warn_flag in '' yes 13332do 13333 # Use a header file that comes with gcc, so configuring glibc 13334 # with a fresh cross-compiler works. 13335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13336 # <limits.h> exists even on freestanding compilers. 13337 # On the NeXT, cc -E runs the code through the compiler's parser, 13338 # not just through cpp. "Syntax error" is here to catch this case. 13339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13340/* end confdefs.h. */ 13341#ifdef __STDC__ 13342# include <limits.h> 13343#else 13344# include <assert.h> 13345#endif 13346 Syntax error 13347_ACEOF 13348if ac_fn_cxx_try_cpp "$LINENO"; then : 13349 13350else 13351 # Broken: fails on valid input. 13352continue 13353fi 13354rm -f conftest.err conftest.i conftest.$ac_ext 13355 13356 # OK, works on sane cases. Now check whether nonexistent headers 13357 # can be detected and how. 13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13359/* end confdefs.h. */ 13360#include <ac_nonexistent.h> 13361_ACEOF 13362if ac_fn_cxx_try_cpp "$LINENO"; then : 13363 # Broken: success on invalid input. 13364continue 13365else 13366 # Passes both tests. 13367ac_preproc_ok=: 13368break 13369fi 13370rm -f conftest.err conftest.i conftest.$ac_ext 13371 13372done 13373# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13374rm -f conftest.i conftest.err conftest.$ac_ext 13375if $ac_preproc_ok; then : 13376 13377else 13378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13379$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13380as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 13381See \`config.log' for more details" "$LINENO" 5 ; } 13382fi 13383 13384ac_ext=c 13385ac_cpp='$CPP $CPPFLAGS' 13386ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13387ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13388ac_compiler_gnu=$ac_cv_c_compiler_gnu 13389 13390else 13391 _lt_caught_CXX_error=yes 13392fi 13393 13394ac_ext=cpp 13395ac_cpp='$CXXCPP $CPPFLAGS' 13396ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13397ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13398ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13399 13400archive_cmds_need_lc_CXX=no 13401allow_undefined_flag_CXX= 13402always_export_symbols_CXX=no 13403archive_expsym_cmds_CXX= 13404compiler_needs_object_CXX=no 13405export_dynamic_flag_spec_CXX= 13406hardcode_direct_CXX=no 13407hardcode_direct_absolute_CXX=no 13408hardcode_libdir_flag_spec_CXX= 13409hardcode_libdir_separator_CXX= 13410hardcode_minus_L_CXX=no 13411hardcode_shlibpath_var_CXX=unsupported 13412hardcode_automatic_CXX=no 13413inherit_rpath_CXX=no 13414module_cmds_CXX= 13415module_expsym_cmds_CXX= 13416link_all_deplibs_CXX=unknown 13417old_archive_cmds_CXX=$old_archive_cmds 13418reload_flag_CXX=$reload_flag 13419reload_cmds_CXX=$reload_cmds 13420no_undefined_flag_CXX= 13421whole_archive_flag_spec_CXX= 13422enable_shared_with_static_runtimes_CXX=no 13423 13424# Source file extension for C++ test sources. 13425ac_ext=cpp 13426 13427# Object file extension for compiled C++ test sources. 13428objext=o 13429objext_CXX=$objext 13430 13431# No sense in running all these tests if we already determined that 13432# the CXX compiler isn't working. Some variables (like enable_shared) 13433# are currently assumed to apply to all compilers on this platform, 13434# and will be corrupted by setting them based on a non-working compiler. 13435if test "$_lt_caught_CXX_error" != yes; then 13436 # Code to be used in simple compile tests 13437 lt_simple_compile_test_code="int some_variable = 0;" 13438 13439 # Code to be used in simple link tests 13440 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 13441 13442 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13443 13444 13445 13446 13447 13448 13449# If no C compiler was specified, use CC. 13450LTCC=${LTCC-"$CC"} 13451 13452# If no C compiler flags were specified, use CFLAGS. 13453LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13454 13455# Allow CC to be a program name with arguments. 13456compiler=$CC 13457 13458 13459 # save warnings/boilerplate of simple test code 13460 ac_outfile=conftest.$ac_objext 13461echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13462eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13463_lt_compiler_boilerplate=`cat conftest.err` 13464$RM conftest* 13465 13466 ac_outfile=conftest.$ac_objext 13467echo "$lt_simple_link_test_code" >conftest.$ac_ext 13468eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13469_lt_linker_boilerplate=`cat conftest.err` 13470$RM -r conftest* 13471 13472 13473 # Allow CC to be a program name with arguments. 13474 lt_save_CC=$CC 13475 lt_save_CFLAGS=$CFLAGS 13476 lt_save_LD=$LD 13477 lt_save_GCC=$GCC 13478 GCC=$GXX 13479 lt_save_with_gnu_ld=$with_gnu_ld 13480 lt_save_path_LD=$lt_cv_path_LD 13481 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13482 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13483 else 13484 $as_unset lt_cv_prog_gnu_ld 13485 fi 13486 if test -n "${lt_cv_path_LDCXX+set}"; then 13487 lt_cv_path_LD=$lt_cv_path_LDCXX 13488 else 13489 $as_unset lt_cv_path_LD 13490 fi 13491 test -z "${LDCXX+set}" || LD=$LDCXX 13492 CC=${CXX-"c++"} 13493 CFLAGS=$CXXFLAGS 13494 compiler=$CC 13495 compiler_CXX=$CC 13496 for cc_temp in $compiler""; do 13497 case $cc_temp in 13498 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 13499 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 13500 \-*) ;; 13501 *) break;; 13502 esac 13503done 13504cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 13505 13506 13507 if test -n "$compiler"; then 13508 # We don't want -fno-exception when compiling C++ code, so set the 13509 # no_builtin_flag separately 13510 if test "$GXX" = yes; then 13511 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13512 else 13513 lt_prog_compiler_no_builtin_flag_CXX= 13514 fi 13515 13516 if test "$GXX" = yes; then 13517 # Set up default GNU C++ configuration 13518 13519 13520 13521# Check whether --with-gnu-ld was given. 13522if test "${with_gnu_ld+set}" = set; then : 13523 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 13524else 13525 with_gnu_ld=no 13526fi 13527 13528ac_prog=ld 13529if test "$GCC" = yes; then 13530 # Check if gcc -print-prog-name=ld gives a path. 13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13532$as_echo_n "checking for ld used by $CC... " >&6; } 13533 case $host in 13534 *-*-mingw*) 13535 # gcc leaves a trailing carriage return which upsets mingw 13536 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13537 *) 13538 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13539 esac 13540 case $ac_prog in 13541 # Accept absolute paths. 13542 [\\/]* | ?:[\\/]*) 13543 re_direlt='/[^/][^/]*/\.\./' 13544 # Canonicalize the pathname of ld 13545 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13546 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13547 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13548 done 13549 test -z "$LD" && LD="$ac_prog" 13550 ;; 13551 "") 13552 # If it fails, then pretend we aren't using GCC. 13553 ac_prog=ld 13554 ;; 13555 *) 13556 # If it is relative, then search for the first ld in PATH. 13557 with_gnu_ld=unknown 13558 ;; 13559 esac 13560elif test "$with_gnu_ld" = yes; then 13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 13562$as_echo_n "checking for GNU ld... " >&6; } 13563else 13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 13565$as_echo_n "checking for non-GNU ld... " >&6; } 13566fi 13567if test "${lt_cv_path_LD+set}" = set; then : 13568 $as_echo_n "(cached) " >&6 13569else 13570 if test -z "$LD"; then 13571 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 13572 for ac_dir in $PATH; do 13573 IFS="$lt_save_ifs" 13574 test -z "$ac_dir" && ac_dir=. 13575 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 13576 lt_cv_path_LD="$ac_dir/$ac_prog" 13577 # Check to see if the program is GNU ld. I'd rather use --version, 13578 # but apparently some variants of GNU ld only accept -v. 13579 # Break only if it was the GNU/non-GNU ld that we prefer. 13580 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 13581 *GNU* | *'with BFD'*) 13582 test "$with_gnu_ld" != no && break 13583 ;; 13584 *) 13585 test "$with_gnu_ld" != yes && break 13586 ;; 13587 esac 13588 fi 13589 done 13590 IFS="$lt_save_ifs" 13591else 13592 lt_cv_path_LD="$LD" # Let the user override the test with a path. 13593fi 13594fi 13595 13596LD="$lt_cv_path_LD" 13597if test -n "$LD"; then 13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 13599$as_echo "$LD" >&6; } 13600else 13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13602$as_echo "no" >&6; } 13603fi 13604test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 13605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 13606$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 13607if test "${lt_cv_prog_gnu_ld+set}" = set; then : 13608 $as_echo_n "(cached) " >&6 13609else 13610 # I'd rather use --version here, but apparently some GNU lds only accept -v. 13611case `$LD -v 2>&1 </dev/null` in 13612*GNU* | *'with BFD'*) 13613 lt_cv_prog_gnu_ld=yes 13614 ;; 13615*) 13616 lt_cv_prog_gnu_ld=no 13617 ;; 13618esac 13619fi 13620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 13621$as_echo "$lt_cv_prog_gnu_ld" >&6; } 13622with_gnu_ld=$lt_cv_prog_gnu_ld 13623 13624 13625 13626 13627 13628 13629 13630 # Check if GNU C++ uses GNU ld as the underlying linker, since the 13631 # archiving commands below assume that GNU ld is being used. 13632 if test "$with_gnu_ld" = yes; then 13633 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 13634 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 13635 13636 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13637 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13638 13639 # If archive_cmds runs LD, not CC, wlarc should be empty 13640 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 13641 # investigate it a little bit more. (MM) 13642 wlarc='${wl}' 13643 13644 # ancient GNU ld didn't support --whole-archive et. al. 13645 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 13646 $GREP 'no-whole-archive' > /dev/null; then 13647 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 13648 else 13649 whole_archive_flag_spec_CXX= 13650 fi 13651 else 13652 with_gnu_ld=no 13653 wlarc= 13654 13655 # A generic and very simple default shared library creation 13656 # command for GNU C++ for the case where it uses the native 13657 # linker, instead of GNU ld. If possible, this setting should 13658 # overridden to take advantage of the native linker features on 13659 # the platform it is being used on. 13660 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13661 fi 13662 13663 # Commands to make compiler produce verbose output that lists 13664 # what "hidden" libraries, object files and flags are used when 13665 # linking a shared library. 13666 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13667 13668 else 13669 GXX=no 13670 with_gnu_ld=no 13671 wlarc= 13672 fi 13673 13674 # PORTME: fill in a description of your system's C++ link characteristics 13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 13676$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 13677 ld_shlibs_CXX=yes 13678 case $host_os in 13679 aix3*) 13680 # FIXME: insert proper C++ library support 13681 ld_shlibs_CXX=no 13682 ;; 13683 aix[4-9]*) 13684 if test "$host_cpu" = ia64; then 13685 # On IA64, the linker does run time linking by default, so we don't 13686 # have to do anything special. 13687 aix_use_runtimelinking=no 13688 exp_sym_flag='-Bexport' 13689 no_entry_flag="" 13690 else 13691 aix_use_runtimelinking=no 13692 13693 # Test if we are trying to use run time linking or normal 13694 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 13695 # need to do runtime linking. 13696 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 13697 for ld_flag in $LDFLAGS; do 13698 case $ld_flag in 13699 *-brtl*) 13700 aix_use_runtimelinking=yes 13701 break 13702 ;; 13703 esac 13704 done 13705 ;; 13706 esac 13707 13708 exp_sym_flag='-bexport' 13709 no_entry_flag='-bnoentry' 13710 fi 13711 13712 # When large executables or shared objects are built, AIX ld can 13713 # have problems creating the table of contents. If linking a library 13714 # or program results in "error TOC overflow" add -mminimal-toc to 13715 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 13716 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 13717 13718 archive_cmds_CXX='' 13719 hardcode_direct_CXX=yes 13720 hardcode_direct_absolute_CXX=yes 13721 hardcode_libdir_separator_CXX=':' 13722 link_all_deplibs_CXX=yes 13723 file_list_spec_CXX='${wl}-f,' 13724 13725 if test "$GXX" = yes; then 13726 case $host_os in aix4.[012]|aix4.[012].*) 13727 # We only want to do this on AIX 4.2 and lower, the check 13728 # below for broken collect2 doesn't work under 4.3+ 13729 collect2name=`${CC} -print-prog-name=collect2` 13730 if test -f "$collect2name" && 13731 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 13732 then 13733 # We have reworked collect2 13734 : 13735 else 13736 # We have old collect2 13737 hardcode_direct_CXX=unsupported 13738 # It fails to find uninstalled libraries when the uninstalled 13739 # path is not listed in the libpath. Setting hardcode_minus_L 13740 # to unsupported forces relinking 13741 hardcode_minus_L_CXX=yes 13742 hardcode_libdir_flag_spec_CXX='-L$libdir' 13743 hardcode_libdir_separator_CXX= 13744 fi 13745 esac 13746 shared_flag='-shared' 13747 if test "$aix_use_runtimelinking" = yes; then 13748 shared_flag="$shared_flag "'${wl}-G' 13749 fi 13750 else 13751 # not using gcc 13752 if test "$host_cpu" = ia64; then 13753 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 13754 # chokes on -Wl,-G. The following line is correct: 13755 shared_flag='-G' 13756 else 13757 if test "$aix_use_runtimelinking" = yes; then 13758 shared_flag='${wl}-G' 13759 else 13760 shared_flag='${wl}-bM:SRE' 13761 fi 13762 fi 13763 fi 13764 13765 export_dynamic_flag_spec_CXX='${wl}-bexpall' 13766 # It seems that -bexpall does not export symbols beginning with 13767 # underscore (_), so it is better to generate a list of symbols to 13768 # export. 13769 always_export_symbols_CXX=yes 13770 if test "$aix_use_runtimelinking" = yes; then 13771 # Warning - without using the other runtime loading flags (-brtl), 13772 # -berok will link without error, but may produce a broken library. 13773 allow_undefined_flag_CXX='-berok' 13774 # Determine the default libpath from the value encoded in an empty 13775 # executable. 13776 if test "${lt_cv_aix_libpath+set}" = set; then 13777 aix_libpath=$lt_cv_aix_libpath 13778else 13779 if test "${lt_cv_aix_libpath__CXX+set}" = set; then : 13780 $as_echo_n "(cached) " >&6 13781else 13782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13783/* end confdefs.h. */ 13784 13785int 13786main () 13787{ 13788 13789 ; 13790 return 0; 13791} 13792_ACEOF 13793if ac_fn_cxx_try_link "$LINENO"; then : 13794 13795 lt_aix_libpath_sed=' 13796 /Import File Strings/,/^$/ { 13797 /^0/ { 13798 s/^0 *\([^ ]*\) *$/\1/ 13799 p 13800 } 13801 }' 13802 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13803 # Check for a 64-bit object if we didn't find anything. 13804 if test -z "$lt_cv_aix_libpath__CXX"; then 13805 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13806 fi 13807fi 13808rm -f core conftest.err conftest.$ac_objext \ 13809 conftest$ac_exeext conftest.$ac_ext 13810 if test -z "$lt_cv_aix_libpath__CXX"; then 13811 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 13812 fi 13813 13814fi 13815 13816 aix_libpath=$lt_cv_aix_libpath__CXX 13817fi 13818 13819 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 13820 13821 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 13822 else 13823 if test "$host_cpu" = ia64; then 13824 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 13825 allow_undefined_flag_CXX="-z nodefs" 13826 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 13827 else 13828 # Determine the default libpath from the value encoded in an 13829 # empty executable. 13830 if test "${lt_cv_aix_libpath+set}" = set; then 13831 aix_libpath=$lt_cv_aix_libpath 13832else 13833 if test "${lt_cv_aix_libpath__CXX+set}" = set; then : 13834 $as_echo_n "(cached) " >&6 13835else 13836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13837/* end confdefs.h. */ 13838 13839int 13840main () 13841{ 13842 13843 ; 13844 return 0; 13845} 13846_ACEOF 13847if ac_fn_cxx_try_link "$LINENO"; then : 13848 13849 lt_aix_libpath_sed=' 13850 /Import File Strings/,/^$/ { 13851 /^0/ { 13852 s/^0 *\([^ ]*\) *$/\1/ 13853 p 13854 } 13855 }' 13856 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13857 # Check for a 64-bit object if we didn't find anything. 13858 if test -z "$lt_cv_aix_libpath__CXX"; then 13859 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13860 fi 13861fi 13862rm -f core conftest.err conftest.$ac_objext \ 13863 conftest$ac_exeext conftest.$ac_ext 13864 if test -z "$lt_cv_aix_libpath__CXX"; then 13865 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 13866 fi 13867 13868fi 13869 13870 aix_libpath=$lt_cv_aix_libpath__CXX 13871fi 13872 13873 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 13874 # Warning - without using the other run time loading flags, 13875 # -berok will link without error, but may produce a broken library. 13876 no_undefined_flag_CXX=' ${wl}-bernotok' 13877 allow_undefined_flag_CXX=' ${wl}-berok' 13878 if test "$with_gnu_ld" = yes; then 13879 # We only use this code for GNU lds that support --whole-archive. 13880 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 13881 else 13882 # Exported symbols can be pulled into shared objects from archives 13883 whole_archive_flag_spec_CXX='$convenience' 13884 fi 13885 archive_cmds_need_lc_CXX=yes 13886 # This is similar to how AIX traditionally builds its shared 13887 # libraries. 13888 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 13889 fi 13890 fi 13891 ;; 13892 13893 beos*) 13894 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13895 allow_undefined_flag_CXX=unsupported 13896 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 13897 # support --undefined. This deserves some investigation. FIXME 13898 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13899 else 13900 ld_shlibs_CXX=no 13901 fi 13902 ;; 13903 13904 chorus*) 13905 case $cc_basename in 13906 *) 13907 # FIXME: insert proper C++ library support 13908 ld_shlibs_CXX=no 13909 ;; 13910 esac 13911 ;; 13912 13913 cygwin* | mingw* | pw32* | cegcc*) 13914 case $GXX,$cc_basename in 13915 ,cl* | no,cl*) 13916 # Native MSVC 13917 # hardcode_libdir_flag_spec is actually meaningless, as there is 13918 # no search path for DLLs. 13919 hardcode_libdir_flag_spec_CXX=' ' 13920 allow_undefined_flag_CXX=unsupported 13921 always_export_symbols_CXX=yes 13922 file_list_spec_CXX='@' 13923 # Tell ltmain to make .lib files, not .a files. 13924 libext=lib 13925 # Tell ltmain to make .dll files, not .so files. 13926 shrext_cmds=".dll" 13927 # FIXME: Setting linknames here is a bad hack. 13928 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 13929 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 13930 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 13931 else 13932 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 13933 fi~ 13934 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 13935 linknames=' 13936 # The linker will not automatically build a static lib if we build a DLL. 13937 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 13938 enable_shared_with_static_runtimes_CXX=yes 13939 # Don't use ranlib 13940 old_postinstall_cmds_CXX='chmod 644 $oldlib' 13941 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 13942 lt_tool_outputfile="@TOOL_OUTPUT@"~ 13943 case $lt_outputfile in 13944 *.exe|*.EXE) ;; 13945 *) 13946 lt_outputfile="$lt_outputfile.exe" 13947 lt_tool_outputfile="$lt_tool_outputfile.exe" 13948 ;; 13949 esac~ 13950 func_to_tool_file "$lt_outputfile"~ 13951 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 13952 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 13953 $RM "$lt_outputfile.manifest"; 13954 fi' 13955 ;; 13956 *) 13957 # g++ 13958 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 13959 # as there is no search path for DLLs. 13960 hardcode_libdir_flag_spec_CXX='-L$libdir' 13961 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' 13962 allow_undefined_flag_CXX=unsupported 13963 always_export_symbols_CXX=no 13964 enable_shared_with_static_runtimes_CXX=yes 13965 13966 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 13967 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13968 # If the export-symbols file already is a .def file (1st line 13969 # is EXPORTS), use it as is; otherwise, prepend... 13970 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 13971 cp $export_symbols $output_objdir/$soname.def; 13972 else 13973 echo EXPORTS > $output_objdir/$soname.def; 13974 cat $export_symbols >> $output_objdir/$soname.def; 13975 fi~ 13976 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13977 else 13978 ld_shlibs_CXX=no 13979 fi 13980 ;; 13981 esac 13982 ;; 13983 darwin* | rhapsody*) 13984 13985 13986 archive_cmds_need_lc_CXX=no 13987 hardcode_direct_CXX=no 13988 hardcode_automatic_CXX=yes 13989 hardcode_shlibpath_var_CXX=unsupported 13990 if test "$lt_cv_ld_force_load" = "yes"; then 13991 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 13992 13993 else 13994 whole_archive_flag_spec_CXX='' 13995 fi 13996 link_all_deplibs_CXX=yes 13997 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 13998 case $cc_basename in 13999 ifort*) _lt_dar_can_shared=yes ;; 14000 *) _lt_dar_can_shared=$GCC ;; 14001 esac 14002 if test "$_lt_dar_can_shared" = "yes"; then 14003 output_verbose_link_cmd=func_echo_all 14004 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 14005 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 14006 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 14007 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 14008 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 14009 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 14010 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" 14011 fi 14012 14013 else 14014 ld_shlibs_CXX=no 14015 fi 14016 14017 ;; 14018 14019 dgux*) 14020 case $cc_basename in 14021 ec++*) 14022 # FIXME: insert proper C++ library support 14023 ld_shlibs_CXX=no 14024 ;; 14025 ghcx*) 14026 # Green Hills C++ Compiler 14027 # FIXME: insert proper C++ library support 14028 ld_shlibs_CXX=no 14029 ;; 14030 *) 14031 # FIXME: insert proper C++ library support 14032 ld_shlibs_CXX=no 14033 ;; 14034 esac 14035 ;; 14036 14037 freebsd2.*) 14038 # C++ shared libraries reported to be fairly broken before 14039 # switch to ELF 14040 ld_shlibs_CXX=no 14041 ;; 14042 14043 freebsd-elf*) 14044 archive_cmds_need_lc_CXX=no 14045 ;; 14046 14047 freebsd* | dragonfly*) 14048 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14049 # conventions 14050 ld_shlibs_CXX=yes 14051 ;; 14052 14053 gnu*) 14054 ;; 14055 14056 haiku*) 14057 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14058 link_all_deplibs_CXX=yes 14059 ;; 14060 14061 hpux9*) 14062 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 14063 hardcode_libdir_separator_CXX=: 14064 export_dynamic_flag_spec_CXX='${wl}-E' 14065 hardcode_direct_CXX=yes 14066 hardcode_minus_L_CXX=yes # Not in the search PATH, 14067 # but as the default 14068 # location of the library. 14069 14070 case $cc_basename in 14071 CC*) 14072 # FIXME: insert proper C++ library support 14073 ld_shlibs_CXX=no 14074 ;; 14075 aCC*) 14076 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 14077 # Commands to make compiler produce verbose output that lists 14078 # what "hidden" libraries, object files and flags are used when 14079 # linking a shared library. 14080 # 14081 # There doesn't appear to be a way to prevent this compiler from 14082 # explicitly linking system object files so we need to strip them 14083 # from the output so that they don't get included in the library 14084 # dependencies. 14085 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14086 ;; 14087 *) 14088 if test "$GXX" = yes; then 14089 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 14090 else 14091 # FIXME: insert proper C++ library support 14092 ld_shlibs_CXX=no 14093 fi 14094 ;; 14095 esac 14096 ;; 14097 14098 hpux10*|hpux11*) 14099 if test $with_gnu_ld = no; then 14100 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 14101 hardcode_libdir_separator_CXX=: 14102 14103 case $host_cpu in 14104 hppa*64*|ia64*) 14105 ;; 14106 *) 14107 export_dynamic_flag_spec_CXX='${wl}-E' 14108 ;; 14109 esac 14110 fi 14111 case $host_cpu in 14112 hppa*64*|ia64*) 14113 hardcode_direct_CXX=no 14114 hardcode_shlibpath_var_CXX=no 14115 ;; 14116 *) 14117 hardcode_direct_CXX=yes 14118 hardcode_direct_absolute_CXX=yes 14119 hardcode_minus_L_CXX=yes # Not in the search PATH, 14120 # but as the default 14121 # location of the library. 14122 ;; 14123 esac 14124 14125 case $cc_basename in 14126 CC*) 14127 # FIXME: insert proper C++ library support 14128 ld_shlibs_CXX=no 14129 ;; 14130 aCC*) 14131 case $host_cpu in 14132 hppa*64*) 14133 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14134 ;; 14135 ia64*) 14136 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14137 ;; 14138 *) 14139 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14140 ;; 14141 esac 14142 # Commands to make compiler produce verbose output that lists 14143 # what "hidden" libraries, object files and flags are used when 14144 # linking a shared library. 14145 # 14146 # There doesn't appear to be a way to prevent this compiler from 14147 # explicitly linking system object files so we need to strip them 14148 # from the output so that they don't get included in the library 14149 # dependencies. 14150 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14151 ;; 14152 *) 14153 if test "$GXX" = yes; then 14154 if test $with_gnu_ld = no; then 14155 case $host_cpu in 14156 hppa*64*) 14157 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14158 ;; 14159 ia64*) 14160 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14161 ;; 14162 *) 14163 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14164 ;; 14165 esac 14166 fi 14167 else 14168 # FIXME: insert proper C++ library support 14169 ld_shlibs_CXX=no 14170 fi 14171 ;; 14172 esac 14173 ;; 14174 14175 interix[3-9]*) 14176 hardcode_direct_CXX=no 14177 hardcode_shlibpath_var_CXX=no 14178 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 14179 export_dynamic_flag_spec_CXX='${wl}-E' 14180 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14181 # Instead, shared libraries are loaded at an image base (0x10000000 by 14182 # default) and relocated if they conflict, which is a slow very memory 14183 # consuming and fragmenting process. To avoid this, we pick a random, 14184 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14185 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14186 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 14187 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 14188 ;; 14189 irix5* | irix6*) 14190 case $cc_basename in 14191 CC*) 14192 # SGI C++ 14193 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 14194 14195 # Archives containing C++ object files must be created using 14196 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14197 # necessary to make sure instantiated templates are included 14198 # in the archive. 14199 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14200 ;; 14201 *) 14202 if test "$GXX" = yes; then 14203 if test "$with_gnu_ld" = no; then 14204 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 14205 else 14206 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' 14207 fi 14208 fi 14209 link_all_deplibs_CXX=yes 14210 ;; 14211 esac 14212 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 14213 hardcode_libdir_separator_CXX=: 14214 inherit_rpath_CXX=yes 14215 ;; 14216 14217 linux* | k*bsd*-gnu | kopensolaris*-gnu) 14218 case $cc_basename in 14219 KCC*) 14220 # Kuck and Associates, Inc. (KAI) C++ Compiler 14221 14222 # KCC will only create a shared library if the output file 14223 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14224 # to its proper name (with version) after linking. 14225 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 14226 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' 14227 # Commands to make compiler produce verbose output that lists 14228 # what "hidden" libraries, object files and flags are used when 14229 # linking a shared library. 14230 # 14231 # There doesn't appear to be a way to prevent this compiler from 14232 # explicitly linking system object files so we need to strip them 14233 # from the output so that they don't get included in the library 14234 # dependencies. 14235 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14236 14237 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 14238 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 14239 14240 # Archives containing C++ object files must be created using 14241 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14242 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14243 ;; 14244 icpc* | ecpc* ) 14245 # Intel C++ 14246 with_gnu_ld=yes 14247 # version 8.0 and above of icpc choke on multiply defined symbols 14248 # if we add $predep_objects and $postdep_objects, however 7.1 and 14249 # earlier do not add the objects themselves. 14250 case `$CC -V 2>&1` in 14251 *"Version 7."*) 14252 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 14253 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14254 ;; 14255 *) # Version 8.0 or newer 14256 tmp_idyn= 14257 case $host_cpu in 14258 ia64*) tmp_idyn=' -i_dynamic';; 14259 esac 14260 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14261 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14262 ;; 14263 esac 14264 archive_cmds_need_lc_CXX=no 14265 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 14266 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 14267 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 14268 ;; 14269 pgCC* | pgcpp*) 14270 # Portland Group C++ compiler 14271 case `$CC -V` in 14272 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 14273 prelink_cmds_CXX='tpldir=Template.dir~ 14274 rm -rf $tpldir~ 14275 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14276 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 14277 old_archive_cmds_CXX='tpldir=Template.dir~ 14278 rm -rf $tpldir~ 14279 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14280 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14281 $RANLIB $oldlib' 14282 archive_cmds_CXX='tpldir=Template.dir~ 14283 rm -rf $tpldir~ 14284 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14285 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 14286 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14287 rm -rf $tpldir~ 14288 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14289 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 14290 ;; 14291 *) # Version 6 and above use weak symbols 14292 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 14293 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 14294 ;; 14295 esac 14296 14297 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 14298 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 14299 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 14300 ;; 14301 cxx*) 14302 # Compaq C++ 14303 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 14304 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 14305 14306 runpath_var=LD_RUN_PATH 14307 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14308 hardcode_libdir_separator_CXX=: 14309 14310 # Commands to make compiler produce verbose output that lists 14311 # what "hidden" libraries, object files and flags are used when 14312 # linking a shared library. 14313 # 14314 # There doesn't appear to be a way to prevent this compiler from 14315 # explicitly linking system object files so we need to strip them 14316 # from the output so that they don't get included in the library 14317 # dependencies. 14318 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 14319 ;; 14320 xl* | mpixl* | bgxl*) 14321 # IBM XL 8.0 on PPC, with GNU ld 14322 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 14323 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 14324 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14325 if test "x$supports_anon_versioning" = xyes; then 14326 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14327 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14328 echo "local: *; };" >> $output_objdir/$libname.ver~ 14329 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 14330 fi 14331 ;; 14332 *) 14333 case `$CC -V 2>&1 | sed 5q` in 14334 *Sun\ C*) 14335 # Sun C++ 5.9 14336 no_undefined_flag_CXX=' -zdefs' 14337 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14338 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 14339 hardcode_libdir_flag_spec_CXX='-R$libdir' 14340 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 14341 compiler_needs_object_CXX=yes 14342 14343 # Not sure whether something based on 14344 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14345 # would be better. 14346 output_verbose_link_cmd='func_echo_all' 14347 14348 # Archives containing C++ object files must be created using 14349 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14350 # necessary to make sure instantiated templates are included 14351 # in the archive. 14352 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14353 ;; 14354 esac 14355 ;; 14356 esac 14357 ;; 14358 14359 lynxos*) 14360 # FIXME: insert proper C++ library support 14361 ld_shlibs_CXX=no 14362 ;; 14363 14364 m88k*) 14365 # FIXME: insert proper C++ library support 14366 ld_shlibs_CXX=no 14367 ;; 14368 14369 mvs*) 14370 case $cc_basename in 14371 cxx*) 14372 # FIXME: insert proper C++ library support 14373 ld_shlibs_CXX=no 14374 ;; 14375 *) 14376 # FIXME: insert proper C++ library support 14377 ld_shlibs_CXX=no 14378 ;; 14379 esac 14380 ;; 14381 14382 netbsd*) 14383 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14384 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14385 wlarc= 14386 hardcode_libdir_flag_spec_CXX='-R$libdir' 14387 hardcode_direct_CXX=yes 14388 hardcode_shlibpath_var_CXX=no 14389 fi 14390 # Workaround some broken pre-1.5 toolchains 14391 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14392 ;; 14393 14394 *nto* | *qnx*) 14395 ld_shlibs_CXX=yes 14396 ;; 14397 14398 openbsd2*) 14399 # C++ shared libraries are fairly broken 14400 ld_shlibs_CXX=no 14401 ;; 14402 14403 openbsd*) 14404 if test -f /usr/libexec/ld.so; then 14405 hardcode_direct_CXX=yes 14406 hardcode_shlibpath_var_CXX=no 14407 hardcode_direct_absolute_CXX=yes 14408 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14409 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 14410 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 14411 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 14412 export_dynamic_flag_spec_CXX='${wl}-E' 14413 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 14414 fi 14415 output_verbose_link_cmd=func_echo_all 14416 else 14417 ld_shlibs_CXX=no 14418 fi 14419 ;; 14420 14421 osf3* | osf4* | osf5*) 14422 case $cc_basename in 14423 KCC*) 14424 # Kuck and Associates, Inc. (KAI) C++ Compiler 14425 14426 # KCC will only create a shared library if the output file 14427 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14428 # to its proper name (with version) after linking. 14429 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 14430 14431 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 14432 hardcode_libdir_separator_CXX=: 14433 14434 # Archives containing C++ object files must be created using 14435 # the KAI C++ compiler. 14436 case $host in 14437 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14438 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14439 esac 14440 ;; 14441 RCC*) 14442 # Rational C++ 2.4.1 14443 # FIXME: insert proper C++ library support 14444 ld_shlibs_CXX=no 14445 ;; 14446 cxx*) 14447 case $host in 14448 osf3*) 14449 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 14450 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 14451 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 14452 ;; 14453 *) 14454 allow_undefined_flag_CXX=' -expect_unresolved \*' 14455 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 14456 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14457 echo "-hidden">> $lib.exp~ 14458 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ 14459 $RM $lib.exp' 14460 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14461 ;; 14462 esac 14463 14464 hardcode_libdir_separator_CXX=: 14465 14466 # Commands to make compiler produce verbose output that lists 14467 # what "hidden" libraries, object files and flags are used when 14468 # linking a shared library. 14469 # 14470 # There doesn't appear to be a way to prevent this compiler from 14471 # explicitly linking system object files so we need to strip them 14472 # from the output so that they don't get included in the library 14473 # dependencies. 14474 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14475 ;; 14476 *) 14477 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 14478 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 14479 case $host in 14480 osf3*) 14481 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 14482 ;; 14483 *) 14484 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 14485 ;; 14486 esac 14487 14488 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 14489 hardcode_libdir_separator_CXX=: 14490 14491 # Commands to make compiler produce verbose output that lists 14492 # what "hidden" libraries, object files and flags are used when 14493 # linking a shared library. 14494 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14495 14496 else 14497 # FIXME: insert proper C++ library support 14498 ld_shlibs_CXX=no 14499 fi 14500 ;; 14501 esac 14502 ;; 14503 14504 psos*) 14505 # FIXME: insert proper C++ library support 14506 ld_shlibs_CXX=no 14507 ;; 14508 14509 sunos4*) 14510 case $cc_basename in 14511 CC*) 14512 # Sun C++ 4.x 14513 # FIXME: insert proper C++ library support 14514 ld_shlibs_CXX=no 14515 ;; 14516 lcc*) 14517 # Lucid 14518 # FIXME: insert proper C++ library support 14519 ld_shlibs_CXX=no 14520 ;; 14521 *) 14522 # FIXME: insert proper C++ library support 14523 ld_shlibs_CXX=no 14524 ;; 14525 esac 14526 ;; 14527 14528 solaris*) 14529 case $cc_basename in 14530 CC* | sunCC*) 14531 # Sun C++ 4.2, 5.x and Centerline C++ 14532 archive_cmds_need_lc_CXX=yes 14533 no_undefined_flag_CXX=' -zdefs' 14534 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14535 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14536 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14537 14538 hardcode_libdir_flag_spec_CXX='-R$libdir' 14539 hardcode_shlibpath_var_CXX=no 14540 case $host_os in 14541 solaris2.[0-5] | solaris2.[0-5].*) ;; 14542 *) 14543 # The compiler driver will combine and reorder linker options, 14544 # but understands `-z linker_flag'. 14545 # Supported since Solaris 2.6 (maybe 2.5.1?) 14546 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 14547 ;; 14548 esac 14549 link_all_deplibs_CXX=yes 14550 14551 output_verbose_link_cmd='func_echo_all' 14552 14553 # Archives containing C++ object files must be created using 14554 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14555 # necessary to make sure instantiated templates are included 14556 # in the archive. 14557 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14558 ;; 14559 gcx*) 14560 # Green Hills C++ Compiler 14561 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 14562 14563 # The C++ compiler must be used to create the archive. 14564 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 14565 ;; 14566 *) 14567 # GNU C++ compiler with Solaris linker 14568 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 14569 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 14570 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 14571 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 14572 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14573 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14574 14575 # Commands to make compiler produce verbose output that lists 14576 # what "hidden" libraries, object files and flags are used when 14577 # linking a shared library. 14578 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14579 else 14580 # g++ 2.7 appears to require `-G' NOT `-shared' on this 14581 # platform. 14582 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 14583 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14584 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14585 14586 # Commands to make compiler produce verbose output that lists 14587 # what "hidden" libraries, object files and flags are used when 14588 # linking a shared library. 14589 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14590 fi 14591 14592 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 14593 case $host_os in 14594 solaris2.[0-5] | solaris2.[0-5].*) ;; 14595 *) 14596 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 14597 ;; 14598 esac 14599 fi 14600 ;; 14601 esac 14602 ;; 14603 14604 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 14605 no_undefined_flag_CXX='${wl}-z,text' 14606 archive_cmds_need_lc_CXX=no 14607 hardcode_shlibpath_var_CXX=no 14608 runpath_var='LD_RUN_PATH' 14609 14610 case $cc_basename in 14611 CC*) 14612 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14613 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14614 ;; 14615 *) 14616 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14617 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14618 ;; 14619 esac 14620 ;; 14621 14622 sysv5* | sco3.2v5* | sco5v6*) 14623 # Note: We can NOT use -z defs as we might desire, because we do not 14624 # link with -lc, and that would cause any symbols used from libc to 14625 # always be unresolved, which means just about no library would 14626 # ever link correctly. If we're not using GNU ld we use -z text 14627 # though, which does catch some bad symbols but isn't as heavy-handed 14628 # as -z defs. 14629 no_undefined_flag_CXX='${wl}-z,text' 14630 allow_undefined_flag_CXX='${wl}-z,nodefs' 14631 archive_cmds_need_lc_CXX=no 14632 hardcode_shlibpath_var_CXX=no 14633 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' 14634 hardcode_libdir_separator_CXX=':' 14635 link_all_deplibs_CXX=yes 14636 export_dynamic_flag_spec_CXX='${wl}-Bexport' 14637 runpath_var='LD_RUN_PATH' 14638 14639 case $cc_basename in 14640 CC*) 14641 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14642 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14643 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 14644 '"$old_archive_cmds_CXX" 14645 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 14646 '"$reload_cmds_CXX" 14647 ;; 14648 *) 14649 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14650 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14651 ;; 14652 esac 14653 ;; 14654 14655 tandem*) 14656 case $cc_basename in 14657 NCC*) 14658 # NonStop-UX NCC 3.20 14659 # FIXME: insert proper C++ library support 14660 ld_shlibs_CXX=no 14661 ;; 14662 *) 14663 # FIXME: insert proper C++ library support 14664 ld_shlibs_CXX=no 14665 ;; 14666 esac 14667 ;; 14668 14669 vxworks*) 14670 # FIXME: insert proper C++ library support 14671 ld_shlibs_CXX=no 14672 ;; 14673 14674 *) 14675 # FIXME: insert proper C++ library support 14676 ld_shlibs_CXX=no 14677 ;; 14678 esac 14679 14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14681$as_echo "$ld_shlibs_CXX" >&6; } 14682 test "$ld_shlibs_CXX" = no && can_build_shared=no 14683 14684 GCC_CXX="$GXX" 14685 LD_CXX="$LD" 14686 14687 ## CAVEAT EMPTOR: 14688 ## There is no encapsulation within the following macros, do not change 14689 ## the running order or otherwise move them around unless you know exactly 14690 ## what you are doing... 14691 # Dependencies to place before and after the object being linked: 14692predep_objects_CXX= 14693postdep_objects_CXX= 14694predeps_CXX= 14695postdeps_CXX= 14696compiler_lib_search_path_CXX= 14697 14698cat > conftest.$ac_ext <<_LT_EOF 14699class Foo 14700{ 14701public: 14702 Foo (void) { a = 0; } 14703private: 14704 int a; 14705}; 14706_LT_EOF 14707 14708 14709_lt_libdeps_save_CFLAGS=$CFLAGS 14710case "$CC $CFLAGS " in #( 14711*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 14712*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 14713*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 14714esac 14715 14716if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14717 (eval $ac_compile) 2>&5 14718 ac_status=$? 14719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14720 test $ac_status = 0; }; then 14721 # Parse the compiler output and extract the necessary 14722 # objects, libraries and library flags. 14723 14724 # Sentinel used to keep track of whether or not we are before 14725 # the conftest object file. 14726 pre_test_object_deps_done=no 14727 14728 for p in `eval "$output_verbose_link_cmd"`; do 14729 case ${prev}${p} in 14730 14731 -L* | -R* | -l*) 14732 # Some compilers place space between "-{L,R}" and the path. 14733 # Remove the space. 14734 if test $p = "-L" || 14735 test $p = "-R"; then 14736 prev=$p 14737 continue 14738 fi 14739 14740 # Expand the sysroot to ease extracting the directories later. 14741 if test -z "$prev"; then 14742 case $p in 14743 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 14744 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 14745 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 14746 esac 14747 fi 14748 case $p in 14749 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 14750 esac 14751 if test "$pre_test_object_deps_done" = no; then 14752 case ${prev} in 14753 -L | -R) 14754 # Internal compiler library paths should come after those 14755 # provided the user. The postdeps already come after the 14756 # user supplied libs so there is no need to process them. 14757 if test -z "$compiler_lib_search_path_CXX"; then 14758 compiler_lib_search_path_CXX="${prev}${p}" 14759 else 14760 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" 14761 fi 14762 ;; 14763 # The "-l" case would never come before the object being 14764 # linked, so don't bother handling this case. 14765 esac 14766 else 14767 if test -z "$postdeps_CXX"; then 14768 postdeps_CXX="${prev}${p}" 14769 else 14770 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 14771 fi 14772 fi 14773 prev= 14774 ;; 14775 14776 *.lto.$objext) ;; # Ignore GCC LTO objects 14777 *.$objext) 14778 # This assumes that the test object file only shows up 14779 # once in the compiler output. 14780 if test "$p" = "conftest.$objext"; then 14781 pre_test_object_deps_done=yes 14782 continue 14783 fi 14784 14785 if test "$pre_test_object_deps_done" = no; then 14786 if test -z "$predep_objects_CXX"; then 14787 predep_objects_CXX="$p" 14788 else 14789 predep_objects_CXX="$predep_objects_CXX $p" 14790 fi 14791 else 14792 if test -z "$postdep_objects_CXX"; then 14793 postdep_objects_CXX="$p" 14794 else 14795 postdep_objects_CXX="$postdep_objects_CXX $p" 14796 fi 14797 fi 14798 ;; 14799 14800 *) ;; # Ignore the rest. 14801 14802 esac 14803 done 14804 14805 # Clean up. 14806 rm -f a.out a.exe 14807else 14808 echo "libtool.m4: error: problem compiling CXX test program" 14809fi 14810 14811$RM -f confest.$objext 14812CFLAGS=$_lt_libdeps_save_CFLAGS 14813 14814# PORTME: override above test on systems where it is broken 14815case $host_os in 14816interix[3-9]*) 14817 # Interix 3.5 installs completely hosed .la files for C++, so rather than 14818 # hack all around it, let's just trust "g++" to DTRT. 14819 predep_objects_CXX= 14820 postdep_objects_CXX= 14821 postdeps_CXX= 14822 ;; 14823 14824linux*) 14825 case `$CC -V 2>&1 | sed 5q` in 14826 *Sun\ C*) 14827 # Sun C++ 5.9 14828 14829 # The more standards-conforming stlport4 library is 14830 # incompatible with the Cstd library. Avoid specifying 14831 # it if it's in CXXFLAGS. Ignore libCrun as 14832 # -library=stlport4 depends on it. 14833 case " $CXX $CXXFLAGS " in 14834 *" -library=stlport4 "*) 14835 solaris_use_stlport4=yes 14836 ;; 14837 esac 14838 14839 if test "$solaris_use_stlport4" != yes; then 14840 postdeps_CXX='-library=Cstd -library=Crun' 14841 fi 14842 ;; 14843 esac 14844 ;; 14845 14846solaris*) 14847 case $cc_basename in 14848 CC* | sunCC*) 14849 # The more standards-conforming stlport4 library is 14850 # incompatible with the Cstd library. Avoid specifying 14851 # it if it's in CXXFLAGS. Ignore libCrun as 14852 # -library=stlport4 depends on it. 14853 case " $CXX $CXXFLAGS " in 14854 *" -library=stlport4 "*) 14855 solaris_use_stlport4=yes 14856 ;; 14857 esac 14858 14859 # Adding this requires a known-good setup of shared libraries for 14860 # Sun compiler versions before 5.6, else PIC objects from an old 14861 # archive will be linked into the output, leading to subtle bugs. 14862 if test "$solaris_use_stlport4" != yes; then 14863 postdeps_CXX='-library=Cstd -library=Crun' 14864 fi 14865 ;; 14866 esac 14867 ;; 14868esac 14869 14870 14871case " $postdeps_CXX " in 14872*" -lc "*) archive_cmds_need_lc_CXX=no ;; 14873esac 14874 compiler_lib_search_dirs_CXX= 14875if test -n "${compiler_lib_search_path_CXX}"; then 14876 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 14877fi 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 lt_prog_compiler_wl_CXX= 14910lt_prog_compiler_pic_CXX= 14911lt_prog_compiler_static_CXX= 14912 14913 14914 # C++ specific cases for pic, static, wl, etc. 14915 if test "$GXX" = yes; then 14916 lt_prog_compiler_wl_CXX='-Wl,' 14917 lt_prog_compiler_static_CXX='-static' 14918 14919 case $host_os in 14920 aix*) 14921 # All AIX code is PIC. 14922 if test "$host_cpu" = ia64; then 14923 # AIX 5 now supports IA64 processor 14924 lt_prog_compiler_static_CXX='-Bstatic' 14925 fi 14926 ;; 14927 14928 amigaos*) 14929 case $host_cpu in 14930 powerpc) 14931 # see comment about AmigaOS4 .so support 14932 lt_prog_compiler_pic_CXX='-fPIC' 14933 ;; 14934 m68k) 14935 # FIXME: we need at least 68020 code to build shared libraries, but 14936 # adding the `-m68020' flag to GCC prevents building anything better, 14937 # like `-m68040'. 14938 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 14939 ;; 14940 esac 14941 ;; 14942 14943 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 14944 # PIC is the default for these OSes. 14945 ;; 14946 mingw* | cygwin* | os2* | pw32* | cegcc*) 14947 # This hack is so that the source file can tell whether it is being 14948 # built for inclusion in a dll (and should export symbols for example). 14949 # Although the cygwin gcc ignores -fPIC, still need this for old-style 14950 # (--disable-auto-import) libraries 14951 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14952 ;; 14953 darwin* | rhapsody*) 14954 # PIC is the default on this platform 14955 # Common symbols not allowed in MH_DYLIB files 14956 lt_prog_compiler_pic_CXX='-fno-common' 14957 ;; 14958 *djgpp*) 14959 # DJGPP does not support shared libraries at all 14960 lt_prog_compiler_pic_CXX= 14961 ;; 14962 haiku*) 14963 # PIC is the default for Haiku. 14964 # The "-static" flag exists, but is broken. 14965 lt_prog_compiler_static_CXX= 14966 ;; 14967 interix[3-9]*) 14968 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 14969 # Instead, we relocate shared libraries at runtime. 14970 ;; 14971 sysv4*MP*) 14972 if test -d /usr/nec; then 14973 lt_prog_compiler_pic_CXX=-Kconform_pic 14974 fi 14975 ;; 14976 hpux*) 14977 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 14978 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 14979 # sets the default TLS model and affects inlining. 14980 case $host_cpu in 14981 hppa*64*) 14982 ;; 14983 *) 14984 lt_prog_compiler_pic_CXX='-fPIC' 14985 ;; 14986 esac 14987 ;; 14988 *qnx* | *nto*) 14989 # QNX uses GNU C++, but need to define -shared option too, otherwise 14990 # it will coredump. 14991 lt_prog_compiler_pic_CXX='-fPIC -shared' 14992 ;; 14993 *) 14994 lt_prog_compiler_pic_CXX='-fPIC' 14995 ;; 14996 esac 14997 else 14998 case $host_os in 14999 aix[4-9]*) 15000 # All AIX code is PIC. 15001 if test "$host_cpu" = ia64; then 15002 # AIX 5 now supports IA64 processor 15003 lt_prog_compiler_static_CXX='-Bstatic' 15004 else 15005 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 15006 fi 15007 ;; 15008 chorus*) 15009 case $cc_basename in 15010 cxch68*) 15011 # Green Hills C++ Compiler 15012 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 15013 ;; 15014 esac 15015 ;; 15016 mingw* | cygwin* | os2* | pw32* | cegcc*) 15017 # This hack is so that the source file can tell whether it is being 15018 # built for inclusion in a dll (and should export symbols for example). 15019 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15020 ;; 15021 dgux*) 15022 case $cc_basename in 15023 ec++*) 15024 lt_prog_compiler_pic_CXX='-KPIC' 15025 ;; 15026 ghcx*) 15027 # Green Hills C++ Compiler 15028 lt_prog_compiler_pic_CXX='-pic' 15029 ;; 15030 *) 15031 ;; 15032 esac 15033 ;; 15034 freebsd* | dragonfly*) 15035 # FreeBSD uses GNU C++ 15036 ;; 15037 hpux9* | hpux10* | hpux11*) 15038 case $cc_basename in 15039 CC*) 15040 lt_prog_compiler_wl_CXX='-Wl,' 15041 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 15042 if test "$host_cpu" != ia64; then 15043 lt_prog_compiler_pic_CXX='+Z' 15044 fi 15045 ;; 15046 aCC*) 15047 lt_prog_compiler_wl_CXX='-Wl,' 15048 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 15049 case $host_cpu in 15050 hppa*64*|ia64*) 15051 # +Z the default 15052 ;; 15053 *) 15054 lt_prog_compiler_pic_CXX='+Z' 15055 ;; 15056 esac 15057 ;; 15058 *) 15059 ;; 15060 esac 15061 ;; 15062 interix*) 15063 # This is c89, which is MS Visual C++ (no shared libs) 15064 # Anyone wants to do a port? 15065 ;; 15066 irix5* | irix6* | nonstopux*) 15067 case $cc_basename in 15068 CC*) 15069 lt_prog_compiler_wl_CXX='-Wl,' 15070 lt_prog_compiler_static_CXX='-non_shared' 15071 # CC pic flag -KPIC is the default. 15072 ;; 15073 *) 15074 ;; 15075 esac 15076 ;; 15077 linux* | k*bsd*-gnu | kopensolaris*-gnu) 15078 case $cc_basename in 15079 KCC*) 15080 # KAI C++ Compiler 15081 lt_prog_compiler_wl_CXX='--backend -Wl,' 15082 lt_prog_compiler_pic_CXX='-fPIC' 15083 ;; 15084 ecpc* ) 15085 # old Intel C++ for x86_64 which still supported -KPIC. 15086 lt_prog_compiler_wl_CXX='-Wl,' 15087 lt_prog_compiler_pic_CXX='-KPIC' 15088 lt_prog_compiler_static_CXX='-static' 15089 ;; 15090 icpc* ) 15091 # Intel C++, used to be incompatible with GCC. 15092 # ICC 10 doesn't accept -KPIC any more. 15093 lt_prog_compiler_wl_CXX='-Wl,' 15094 lt_prog_compiler_pic_CXX='-fPIC' 15095 lt_prog_compiler_static_CXX='-static' 15096 ;; 15097 pgCC* | pgcpp*) 15098 # Portland Group C++ compiler 15099 lt_prog_compiler_wl_CXX='-Wl,' 15100 lt_prog_compiler_pic_CXX='-fpic' 15101 lt_prog_compiler_static_CXX='-Bstatic' 15102 ;; 15103 cxx*) 15104 # Compaq C++ 15105 # Make sure the PIC flag is empty. It appears that all Alpha 15106 # Linux and Compaq Tru64 Unix objects are PIC. 15107 lt_prog_compiler_pic_CXX= 15108 lt_prog_compiler_static_CXX='-non_shared' 15109 ;; 15110 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 15111 # IBM XL 8.0, 9.0 on PPC and BlueGene 15112 lt_prog_compiler_wl_CXX='-Wl,' 15113 lt_prog_compiler_pic_CXX='-qpic' 15114 lt_prog_compiler_static_CXX='-qstaticlink' 15115 ;; 15116 *) 15117 case `$CC -V 2>&1 | sed 5q` in 15118 *Sun\ C*) 15119 # Sun C++ 5.9 15120 lt_prog_compiler_pic_CXX='-KPIC' 15121 lt_prog_compiler_static_CXX='-Bstatic' 15122 lt_prog_compiler_wl_CXX='-Qoption ld ' 15123 ;; 15124 esac 15125 ;; 15126 esac 15127 ;; 15128 lynxos*) 15129 ;; 15130 m88k*) 15131 ;; 15132 mvs*) 15133 case $cc_basename in 15134 cxx*) 15135 lt_prog_compiler_pic_CXX='-W c,exportall' 15136 ;; 15137 *) 15138 ;; 15139 esac 15140 ;; 15141 netbsd*) 15142 ;; 15143 *qnx* | *nto*) 15144 # QNX uses GNU C++, but need to define -shared option too, otherwise 15145 # it will coredump. 15146 lt_prog_compiler_pic_CXX='-fPIC -shared' 15147 ;; 15148 osf3* | osf4* | osf5*) 15149 case $cc_basename in 15150 KCC*) 15151 lt_prog_compiler_wl_CXX='--backend -Wl,' 15152 ;; 15153 RCC*) 15154 # Rational C++ 2.4.1 15155 lt_prog_compiler_pic_CXX='-pic' 15156 ;; 15157 cxx*) 15158 # Digital/Compaq C++ 15159 lt_prog_compiler_wl_CXX='-Wl,' 15160 # Make sure the PIC flag is empty. It appears that all Alpha 15161 # Linux and Compaq Tru64 Unix objects are PIC. 15162 lt_prog_compiler_pic_CXX= 15163 lt_prog_compiler_static_CXX='-non_shared' 15164 ;; 15165 *) 15166 ;; 15167 esac 15168 ;; 15169 psos*) 15170 ;; 15171 solaris*) 15172 case $cc_basename in 15173 CC* | sunCC*) 15174 # Sun C++ 4.2, 5.x and Centerline C++ 15175 lt_prog_compiler_pic_CXX='-KPIC' 15176 lt_prog_compiler_static_CXX='-Bstatic' 15177 lt_prog_compiler_wl_CXX='-Qoption ld ' 15178 ;; 15179 gcx*) 15180 # Green Hills C++ Compiler 15181 lt_prog_compiler_pic_CXX='-PIC' 15182 ;; 15183 *) 15184 ;; 15185 esac 15186 ;; 15187 sunos4*) 15188 case $cc_basename in 15189 CC*) 15190 # Sun C++ 4.x 15191 lt_prog_compiler_pic_CXX='-pic' 15192 lt_prog_compiler_static_CXX='-Bstatic' 15193 ;; 15194 lcc*) 15195 # Lucid 15196 lt_prog_compiler_pic_CXX='-pic' 15197 ;; 15198 *) 15199 ;; 15200 esac 15201 ;; 15202 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15203 case $cc_basename in 15204 CC*) 15205 lt_prog_compiler_wl_CXX='-Wl,' 15206 lt_prog_compiler_pic_CXX='-KPIC' 15207 lt_prog_compiler_static_CXX='-Bstatic' 15208 ;; 15209 esac 15210 ;; 15211 tandem*) 15212 case $cc_basename in 15213 NCC*) 15214 # NonStop-UX NCC 3.20 15215 lt_prog_compiler_pic_CXX='-KPIC' 15216 ;; 15217 *) 15218 ;; 15219 esac 15220 ;; 15221 vxworks*) 15222 ;; 15223 *) 15224 lt_prog_compiler_can_build_shared_CXX=no 15225 ;; 15226 esac 15227 fi 15228 15229case $host_os in 15230 # For platforms which do not support PIC, -DPIC is meaningless: 15231 *djgpp*) 15232 lt_prog_compiler_pic_CXX= 15233 ;; 15234 *) 15235 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15236 ;; 15237esac 15238 15239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 15240$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15241if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then : 15242 $as_echo_n "(cached) " >&6 15243else 15244 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 15245fi 15246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 15247$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 15248lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 15249 15250# 15251# Check to make sure the PIC flag actually works. 15252# 15253if test -n "$lt_prog_compiler_pic_CXX"; then 15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15255$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15256if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then : 15257 $as_echo_n "(cached) " >&6 15258else 15259 lt_cv_prog_compiler_pic_works_CXX=no 15260 ac_outfile=conftest.$ac_objext 15261 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15262 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 15263 # Insert the option either (1) after the last *FLAGS variable, or 15264 # (2) before a word containing "conftest.", or (3) at the end. 15265 # Note that $ac_compile itself does not contain backslashes and begins 15266 # with a dollar sign (not a hyphen), so the echo should work correctly. 15267 # The option is referenced via a variable to avoid confusing sed. 15268 lt_compile=`echo "$ac_compile" | $SED \ 15269 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15270 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15271 -e 's:$: $lt_compiler_flag:'` 15272 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15273 (eval "$lt_compile" 2>conftest.err) 15274 ac_status=$? 15275 cat conftest.err >&5 15276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15277 if (exit $ac_status) && test -s "$ac_outfile"; then 15278 # The compiler can only warn and ignore the option if not recognized 15279 # So say no if there are warnings other than the usual output. 15280 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 15281 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15282 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15283 lt_cv_prog_compiler_pic_works_CXX=yes 15284 fi 15285 fi 15286 $RM conftest* 15287 15288fi 15289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15290$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15291 15292if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then 15293 case $lt_prog_compiler_pic_CXX in 15294 "" | " "*) ;; 15295 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15296 esac 15297else 15298 lt_prog_compiler_pic_CXX= 15299 lt_prog_compiler_can_build_shared_CXX=no 15300fi 15301 15302fi 15303 15304 15305 15306 15307 15308# 15309# Check to make sure the static flag actually works. 15310# 15311wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15313$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15314if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then : 15315 $as_echo_n "(cached) " >&6 15316else 15317 lt_cv_prog_compiler_static_works_CXX=no 15318 save_LDFLAGS="$LDFLAGS" 15319 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15320 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15321 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15322 # The linker can only warn and ignore the option if not recognized 15323 # So say no if there are warnings 15324 if test -s conftest.err; then 15325 # Append any errors to the config.log. 15326 cat conftest.err 1>&5 15327 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15328 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15329 if diff conftest.exp conftest.er2 >/dev/null; then 15330 lt_cv_prog_compiler_static_works_CXX=yes 15331 fi 15332 else 15333 lt_cv_prog_compiler_static_works_CXX=yes 15334 fi 15335 fi 15336 $RM -r conftest* 15337 LDFLAGS="$save_LDFLAGS" 15338 15339fi 15340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15341$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15342 15343if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 15344 : 15345else 15346 lt_prog_compiler_static_CXX= 15347fi 15348 15349 15350 15351 15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15353$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15354if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : 15355 $as_echo_n "(cached) " >&6 15356else 15357 lt_cv_prog_compiler_c_o_CXX=no 15358 $RM -r conftest 2>/dev/null 15359 mkdir conftest 15360 cd conftest 15361 mkdir out 15362 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15363 15364 lt_compiler_flag="-o out/conftest2.$ac_objext" 15365 # Insert the option either (1) after the last *FLAGS variable, or 15366 # (2) before a word containing "conftest.", or (3) at the end. 15367 # Note that $ac_compile itself does not contain backslashes and begins 15368 # with a dollar sign (not a hyphen), so the echo should work correctly. 15369 lt_compile=`echo "$ac_compile" | $SED \ 15370 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15371 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15372 -e 's:$: $lt_compiler_flag:'` 15373 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15374 (eval "$lt_compile" 2>out/conftest.err) 15375 ac_status=$? 15376 cat out/conftest.err >&5 15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15378 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15379 then 15380 # The compiler can only warn and ignore the option if not recognized 15381 # So say no if there are warnings 15382 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15383 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15384 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15385 lt_cv_prog_compiler_c_o_CXX=yes 15386 fi 15387 fi 15388 chmod u+w . 2>&5 15389 $RM conftest* 15390 # SGI C++ compiler will create directory out/ii_files/ for 15391 # template instantiation 15392 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15393 $RM out/* && rmdir out 15394 cd .. 15395 $RM -r conftest 15396 $RM conftest* 15397 15398fi 15399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15400$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15401 15402 15403 15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15405$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15406if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : 15407 $as_echo_n "(cached) " >&6 15408else 15409 lt_cv_prog_compiler_c_o_CXX=no 15410 $RM -r conftest 2>/dev/null 15411 mkdir conftest 15412 cd conftest 15413 mkdir out 15414 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15415 15416 lt_compiler_flag="-o out/conftest2.$ac_objext" 15417 # Insert the option either (1) after the last *FLAGS variable, or 15418 # (2) before a word containing "conftest.", or (3) at the end. 15419 # Note that $ac_compile itself does not contain backslashes and begins 15420 # with a dollar sign (not a hyphen), so the echo should work correctly. 15421 lt_compile=`echo "$ac_compile" | $SED \ 15422 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15423 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15424 -e 's:$: $lt_compiler_flag:'` 15425 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15426 (eval "$lt_compile" 2>out/conftest.err) 15427 ac_status=$? 15428 cat out/conftest.err >&5 15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15430 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15431 then 15432 # The compiler can only warn and ignore the option if not recognized 15433 # So say no if there are warnings 15434 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15435 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15436 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15437 lt_cv_prog_compiler_c_o_CXX=yes 15438 fi 15439 fi 15440 chmod u+w . 2>&5 15441 $RM conftest* 15442 # SGI C++ compiler will create directory out/ii_files/ for 15443 # template instantiation 15444 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15445 $RM out/* && rmdir out 15446 cd .. 15447 $RM -r conftest 15448 $RM conftest* 15449 15450fi 15451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15452$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15453 15454 15455 15456 15457hard_links="nottested" 15458if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 15459 # do not overwrite the value of need_locks provided by the user 15460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15461$as_echo_n "checking if we can lock with hard links... " >&6; } 15462 hard_links=yes 15463 $RM conftest* 15464 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15465 touch conftest.a 15466 ln conftest.a conftest.b 2>&5 || hard_links=no 15467 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15469$as_echo "$hard_links" >&6; } 15470 if test "$hard_links" = no; then 15471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 15472$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 15473 need_locks=warn 15474 fi 15475else 15476 need_locks=no 15477fi 15478 15479 15480 15481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15482$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15483 15484 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15485 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15486 case $host_os in 15487 aix[4-9]*) 15488 # If we're using GNU nm, then we don't want the "-C" option. 15489 # -C means demangle to AIX nm, but means don't demangle with GNU nm 15490 # Also, AIX nm treats weak defined symbols like other global defined 15491 # symbols, whereas GNU nm marks them as "W". 15492 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15493 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 15494 else 15495 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 15496 fi 15497 ;; 15498 pw32*) 15499 export_symbols_cmds_CXX="$ltdll_cmds" 15500 ;; 15501 cygwin* | mingw* | cegcc*) 15502 case $cc_basename in 15503 cl*) 15504 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15505 ;; 15506 *) 15507 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 15508 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15509 ;; 15510 esac 15511 ;; 15512 *) 15513 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15514 ;; 15515 esac 15516 15517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15518$as_echo "$ld_shlibs_CXX" >&6; } 15519test "$ld_shlibs_CXX" = no && can_build_shared=no 15520 15521with_gnu_ld_CXX=$with_gnu_ld 15522 15523 15524 15525 15526 15527 15528# 15529# Do we need to explicitly link libc? 15530# 15531case "x$archive_cmds_need_lc_CXX" in 15532x|xyes) 15533 # Assume -lc should be added 15534 archive_cmds_need_lc_CXX=yes 15535 15536 if test "$enable_shared" = yes && test "$GCC" = yes; then 15537 case $archive_cmds_CXX in 15538 *'~'*) 15539 # FIXME: we may have to deal with multi-command sequences. 15540 ;; 15541 '$CC '*) 15542 # Test whether the compiler implicitly links with -lc since on some 15543 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15544 # to ld, don't add -lc before -lgcc. 15545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15546$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15547if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then : 15548 $as_echo_n "(cached) " >&6 15549else 15550 $RM conftest* 15551 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15552 15553 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15554 (eval $ac_compile) 2>&5 15555 ac_status=$? 15556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15557 test $ac_status = 0; } 2>conftest.err; then 15558 soname=conftest 15559 lib=conftest 15560 libobjs=conftest.$ac_objext 15561 deplibs= 15562 wl=$lt_prog_compiler_wl_CXX 15563 pic_flag=$lt_prog_compiler_pic_CXX 15564 compiler_flags=-v 15565 linker_flags=-v 15566 verstring= 15567 output_objdir=. 15568 libname=conftest 15569 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 15570 allow_undefined_flag_CXX= 15571 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15572 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15573 ac_status=$? 15574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15575 test $ac_status = 0; } 15576 then 15577 lt_cv_archive_cmds_need_lc_CXX=no 15578 else 15579 lt_cv_archive_cmds_need_lc_CXX=yes 15580 fi 15581 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 15582 else 15583 cat conftest.err 1>&5 15584 fi 15585 $RM conftest* 15586 15587fi 15588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 15589$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 15590 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 15591 ;; 15592 esac 15593 fi 15594 ;; 15595esac 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 15659$as_echo_n "checking dynamic linker characteristics... " >&6; } 15660 15661library_names_spec= 15662libname_spec='lib$name' 15663soname_spec= 15664shrext_cmds=".so" 15665postinstall_cmds= 15666postuninstall_cmds= 15667finish_cmds= 15668finish_eval= 15669shlibpath_var= 15670shlibpath_overrides_runpath=unknown 15671version_type=none 15672dynamic_linker="$host_os ld.so" 15673sys_lib_dlsearch_path_spec="/lib /usr/lib" 15674need_lib_prefix=unknown 15675hardcode_into_libs=no 15676 15677# when you set need_version to no, make sure it does not cause -set_version 15678# flags to be left without arguments 15679need_version=unknown 15680 15681case $host_os in 15682aix3*) 15683 version_type=linux # correct to gnu/linux during the next big refactor 15684 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 15685 shlibpath_var=LIBPATH 15686 15687 # AIX 3 has no versioning support, so we append a major version to the name. 15688 soname_spec='${libname}${release}${shared_ext}$major' 15689 ;; 15690 15691aix[4-9]*) 15692 version_type=linux # correct to gnu/linux during the next big refactor 15693 need_lib_prefix=no 15694 need_version=no 15695 hardcode_into_libs=yes 15696 if test "$host_cpu" = ia64; then 15697 # AIX 5 supports IA64 15698 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 15699 shlibpath_var=LD_LIBRARY_PATH 15700 else 15701 # With GCC up to 2.95.x, collect2 would create an import file 15702 # for dependence libraries. The import file would start with 15703 # the line `#! .'. This would cause the generated library to 15704 # depend on `.', always an invalid library. This was fixed in 15705 # development snapshots of GCC prior to 3.0. 15706 case $host_os in 15707 aix4 | aix4.[01] | aix4.[01].*) 15708 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 15709 echo ' yes ' 15710 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 15711 : 15712 else 15713 can_build_shared=no 15714 fi 15715 ;; 15716 esac 15717 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 15718 # soname into executable. Probably we can add versioning support to 15719 # collect2, so additional links can be useful in future. 15720 if test "$aix_use_runtimelinking" = yes; then 15721 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 15722 # instead of lib<name>.a to let people know that these are not 15723 # typical AIX shared libraries. 15724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15725 else 15726 # We preserve .a as extension for shared libraries through AIX4.2 15727 # and later when we are not doing run time linking. 15728 library_names_spec='${libname}${release}.a $libname.a' 15729 soname_spec='${libname}${release}${shared_ext}$major' 15730 fi 15731 shlibpath_var=LIBPATH 15732 fi 15733 ;; 15734 15735amigaos*) 15736 case $host_cpu in 15737 powerpc) 15738 # Since July 2007 AmigaOS4 officially supports .so libraries. 15739 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 15740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15741 ;; 15742 m68k) 15743 library_names_spec='$libname.ixlibrary $libname.a' 15744 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15745 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 15746 ;; 15747 esac 15748 ;; 15749 15750beos*) 15751 library_names_spec='${libname}${shared_ext}' 15752 dynamic_linker="$host_os ld.so" 15753 shlibpath_var=LIBRARY_PATH 15754 ;; 15755 15756bsdi[45]*) 15757 version_type=linux # correct to gnu/linux during the next big refactor 15758 need_version=no 15759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15760 soname_spec='${libname}${release}${shared_ext}$major' 15761 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 15762 shlibpath_var=LD_LIBRARY_PATH 15763 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 15764 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 15765 # the default ld.so.conf also contains /usr/contrib/lib and 15766 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 15767 # libtool to hard-code these into programs 15768 ;; 15769 15770cygwin* | mingw* | pw32* | cegcc*) 15771 version_type=windows 15772 shrext_cmds=".dll" 15773 need_version=no 15774 need_lib_prefix=no 15775 15776 case $GCC,$cc_basename in 15777 yes,*) 15778 # gcc 15779 library_names_spec='$libname.dll.a' 15780 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15781 postinstall_cmds='base_file=`basename \${file}`~ 15782 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 15783 dldir=$destdir/`dirname \$dlpath`~ 15784 test -d \$dldir || mkdir -p \$dldir~ 15785 $install_prog $dir/$dlname \$dldir/$dlname~ 15786 chmod a+x \$dldir/$dlname~ 15787 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15788 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15789 fi' 15790 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15791 dlpath=$dir/\$dldll~ 15792 $RM \$dlpath' 15793 shlibpath_overrides_runpath=yes 15794 15795 case $host_os in 15796 cygwin*) 15797 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 15798 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15799 15800 ;; 15801 mingw* | cegcc*) 15802 # MinGW DLLs use traditional 'lib' prefix 15803 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15804 ;; 15805 pw32*) 15806 # pw32 DLLs use 'pw' prefix rather than 'lib' 15807 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15808 ;; 15809 esac 15810 dynamic_linker='Win32 ld.exe' 15811 ;; 15812 15813 *,cl*) 15814 # Native MSVC 15815 libname_spec='$name' 15816 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15817 library_names_spec='${libname}.dll.lib' 15818 15819 case $build_os in 15820 mingw*) 15821 sys_lib_search_path_spec= 15822 lt_save_ifs=$IFS 15823 IFS=';' 15824 for lt_path in $LIB 15825 do 15826 IFS=$lt_save_ifs 15827 # Let DOS variable expansion print the short 8.3 style file name. 15828 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 15829 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 15830 done 15831 IFS=$lt_save_ifs 15832 # Convert to MSYS style. 15833 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 15834 ;; 15835 cygwin*) 15836 # Convert to unix form, then to dos form, then back to unix form 15837 # but this time dos style (no spaces!) so that the unix form looks 15838 # like /cygdrive/c/PROGRA~1:/cygdr... 15839 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 15840 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 15841 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15842 ;; 15843 *) 15844 sys_lib_search_path_spec="$LIB" 15845 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 15846 # It is most probably a Windows format PATH. 15847 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 15848 else 15849 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15850 fi 15851 # FIXME: find the short name or the path components, as spaces are 15852 # common. (e.g. "Program Files" -> "PROGRA~1") 15853 ;; 15854 esac 15855 15856 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15857 postinstall_cmds='base_file=`basename \${file}`~ 15858 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 15859 dldir=$destdir/`dirname \$dlpath`~ 15860 test -d \$dldir || mkdir -p \$dldir~ 15861 $install_prog $dir/$dlname \$dldir/$dlname' 15862 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15863 dlpath=$dir/\$dldll~ 15864 $RM \$dlpath' 15865 shlibpath_overrides_runpath=yes 15866 dynamic_linker='Win32 link.exe' 15867 ;; 15868 15869 *) 15870 # Assume MSVC wrapper 15871 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 15872 dynamic_linker='Win32 ld.exe' 15873 ;; 15874 esac 15875 # FIXME: first we should search . and the directory the executable is in 15876 shlibpath_var=PATH 15877 ;; 15878 15879darwin* | rhapsody*) 15880 dynamic_linker="$host_os dyld" 15881 version_type=darwin 15882 need_lib_prefix=no 15883 need_version=no 15884 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 15885 soname_spec='${libname}${release}${major}$shared_ext' 15886 shlibpath_overrides_runpath=yes 15887 shlibpath_var=DYLD_LIBRARY_PATH 15888 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 15889 15890 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15891 ;; 15892 15893dgux*) 15894 version_type=linux # correct to gnu/linux during the next big refactor 15895 need_lib_prefix=no 15896 need_version=no 15897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 15898 soname_spec='${libname}${release}${shared_ext}$major' 15899 shlibpath_var=LD_LIBRARY_PATH 15900 ;; 15901 15902freebsd* | dragonfly*) 15903 # DragonFly does not have aout. When/if they implement a new 15904 # versioning mechanism, adjust this. 15905 if test -x /usr/bin/objformat; then 15906 objformat=`/usr/bin/objformat` 15907 else 15908 case $host_os in 15909 freebsd[23].*) objformat=aout ;; 15910 *) objformat=elf ;; 15911 esac 15912 fi 15913 version_type=freebsd-$objformat 15914 case $version_type in 15915 freebsd-elf*) 15916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 15917 need_version=no 15918 need_lib_prefix=no 15919 ;; 15920 freebsd-*) 15921 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 15922 need_version=yes 15923 ;; 15924 esac 15925 shlibpath_var=LD_LIBRARY_PATH 15926 case $host_os in 15927 freebsd2.*) 15928 shlibpath_overrides_runpath=yes 15929 ;; 15930 freebsd3.[01]* | freebsdelf3.[01]*) 15931 shlibpath_overrides_runpath=yes 15932 hardcode_into_libs=yes 15933 ;; 15934 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 15935 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 15936 shlibpath_overrides_runpath=no 15937 hardcode_into_libs=yes 15938 ;; 15939 *) # from 4.6 on, and DragonFly 15940 shlibpath_overrides_runpath=yes 15941 hardcode_into_libs=yes 15942 ;; 15943 esac 15944 ;; 15945 15946gnu*) 15947 version_type=linux # correct to gnu/linux during the next big refactor 15948 need_lib_prefix=no 15949 need_version=no 15950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 15951 soname_spec='${libname}${release}${shared_ext}$major' 15952 shlibpath_var=LD_LIBRARY_PATH 15953 shlibpath_overrides_runpath=no 15954 hardcode_into_libs=yes 15955 ;; 15956 15957haiku*) 15958 version_type=linux # correct to gnu/linux during the next big refactor 15959 need_lib_prefix=no 15960 need_version=no 15961 dynamic_linker="$host_os runtime_loader" 15962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 15963 soname_spec='${libname}${release}${shared_ext}$major' 15964 shlibpath_var=LIBRARY_PATH 15965 shlibpath_overrides_runpath=yes 15966 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 15967 hardcode_into_libs=yes 15968 ;; 15969 15970hpux9* | hpux10* | hpux11*) 15971 # Give a soname corresponding to the major version so that dld.sl refuses to 15972 # link against other versions. 15973 version_type=sunos 15974 need_lib_prefix=no 15975 need_version=no 15976 case $host_cpu in 15977 ia64*) 15978 shrext_cmds='.so' 15979 hardcode_into_libs=yes 15980 dynamic_linker="$host_os dld.so" 15981 shlibpath_var=LD_LIBRARY_PATH 15982 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15984 soname_spec='${libname}${release}${shared_ext}$major' 15985 if test "X$HPUX_IA64_MODE" = X32; then 15986 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 15987 else 15988 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 15989 fi 15990 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15991 ;; 15992 hppa*64*) 15993 shrext_cmds='.sl' 15994 hardcode_into_libs=yes 15995 dynamic_linker="$host_os dld.sl" 15996 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 15997 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15999 soname_spec='${libname}${release}${shared_ext}$major' 16000 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16001 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16002 ;; 16003 *) 16004 shrext_cmds='.sl' 16005 dynamic_linker="$host_os dld.sl" 16006 shlibpath_var=SHLIB_PATH 16007 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16009 soname_spec='${libname}${release}${shared_ext}$major' 16010 ;; 16011 esac 16012 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16013 postinstall_cmds='chmod 555 $lib' 16014 # or fails outright, so override atomically: 16015 install_override_mode=555 16016 ;; 16017 16018interix[3-9]*) 16019 version_type=linux # correct to gnu/linux during the next big refactor 16020 need_lib_prefix=no 16021 need_version=no 16022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16023 soname_spec='${libname}${release}${shared_ext}$major' 16024 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16025 shlibpath_var=LD_LIBRARY_PATH 16026 shlibpath_overrides_runpath=no 16027 hardcode_into_libs=yes 16028 ;; 16029 16030irix5* | irix6* | nonstopux*) 16031 case $host_os in 16032 nonstopux*) version_type=nonstopux ;; 16033 *) 16034 if test "$lt_cv_prog_gnu_ld" = yes; then 16035 version_type=linux # correct to gnu/linux during the next big refactor 16036 else 16037 version_type=irix 16038 fi ;; 16039 esac 16040 need_lib_prefix=no 16041 need_version=no 16042 soname_spec='${libname}${release}${shared_ext}$major' 16043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 16044 case $host_os in 16045 irix5* | nonstopux*) 16046 libsuff= shlibsuff= 16047 ;; 16048 *) 16049 case $LD in # libtool.m4 will add one of these switches to LD 16050 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16051 libsuff= shlibsuff= libmagic=32-bit;; 16052 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16053 libsuff=32 shlibsuff=N32 libmagic=N32;; 16054 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16055 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16056 *) libsuff= shlibsuff= libmagic=never-match;; 16057 esac 16058 ;; 16059 esac 16060 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16061 shlibpath_overrides_runpath=no 16062 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 16063 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 16064 hardcode_into_libs=yes 16065 ;; 16066 16067# No shared lib support for Linux oldld, aout, or coff. 16068linux*oldld* | linux*aout* | linux*coff*) 16069 dynamic_linker=no 16070 ;; 16071 16072# This must be glibc/ELF. 16073linux* | k*bsd*-gnu | kopensolaris*-gnu) 16074 version_type=linux # correct to gnu/linux during the next big refactor 16075 need_lib_prefix=no 16076 need_version=no 16077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16078 soname_spec='${libname}${release}${shared_ext}$major' 16079 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16080 shlibpath_var=LD_LIBRARY_PATH 16081 shlibpath_overrides_runpath=no 16082 16083 # Some binutils ld are patched to set DT_RUNPATH 16084 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : 16085 $as_echo_n "(cached) " >&6 16086else 16087 lt_cv_shlibpath_overrides_runpath=no 16088 save_LDFLAGS=$LDFLAGS 16089 save_libdir=$libdir 16090 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16091 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16093/* end confdefs.h. */ 16094 16095int 16096main () 16097{ 16098 16099 ; 16100 return 0; 16101} 16102_ACEOF 16103if ac_fn_cxx_try_link "$LINENO"; then : 16104 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16105 lt_cv_shlibpath_overrides_runpath=yes 16106fi 16107fi 16108rm -f core conftest.err conftest.$ac_objext \ 16109 conftest$ac_exeext conftest.$ac_ext 16110 LDFLAGS=$save_LDFLAGS 16111 libdir=$save_libdir 16112 16113fi 16114 16115 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16116 16117 # This implies no fast_install, which is unacceptable. 16118 # Some rework will be needed to allow for fast_install 16119 # before this can be enabled. 16120 hardcode_into_libs=yes 16121 16122 # Add ABI-specific directories to the system library path. 16123 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 16124 16125 # Append ld.so.conf contents to the search path 16126 if test -f /etc/ld.so.conf; then 16127 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' ' '` 16128 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 16129 16130 fi 16131 16132 # We used to test for /lib/ld.so.1 and disable shared libraries on 16133 # powerpc, because MkLinux only supported shared libraries with the 16134 # GNU dynamic linker. Since this was broken with cross compilers, 16135 # most powerpc-linux boxes support dynamic linking these days and 16136 # people can always --disable-shared, the test was removed, and we 16137 # assume the GNU/Linux dynamic linker is in use. 16138 dynamic_linker='GNU/Linux ld.so' 16139 ;; 16140 16141netbsd*) 16142 version_type=sunos 16143 need_lib_prefix=no 16144 need_version=no 16145 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16147 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16148 dynamic_linker='NetBSD (a.out) ld.so' 16149 else 16150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16151 soname_spec='${libname}${release}${shared_ext}$major' 16152 dynamic_linker='NetBSD ld.elf_so' 16153 fi 16154 shlibpath_var=LD_LIBRARY_PATH 16155 shlibpath_overrides_runpath=yes 16156 hardcode_into_libs=yes 16157 ;; 16158 16159newsos6) 16160 version_type=linux # correct to gnu/linux during the next big refactor 16161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16162 shlibpath_var=LD_LIBRARY_PATH 16163 shlibpath_overrides_runpath=yes 16164 ;; 16165 16166*nto* | *qnx*) 16167 version_type=qnx 16168 need_lib_prefix=no 16169 need_version=no 16170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16171 soname_spec='${libname}${release}${shared_ext}$major' 16172 shlibpath_var=LD_LIBRARY_PATH 16173 shlibpath_overrides_runpath=no 16174 hardcode_into_libs=yes 16175 dynamic_linker='ldqnx.so' 16176 ;; 16177 16178openbsd*) 16179 version_type=sunos 16180 sys_lib_dlsearch_path_spec="/usr/lib" 16181 need_lib_prefix=no 16182 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 16183 case $host_os in 16184 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 16185 *) need_version=no ;; 16186 esac 16187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16188 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16189 shlibpath_var=LD_LIBRARY_PATH 16190 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 16191 case $host_os in 16192 openbsd2.[89] | openbsd2.[89].*) 16193 shlibpath_overrides_runpath=no 16194 ;; 16195 *) 16196 shlibpath_overrides_runpath=yes 16197 ;; 16198 esac 16199 else 16200 shlibpath_overrides_runpath=yes 16201 fi 16202 ;; 16203 16204os2*) 16205 libname_spec='$name' 16206 shrext_cmds=".dll" 16207 need_lib_prefix=no 16208 library_names_spec='$libname${shared_ext} $libname.a' 16209 dynamic_linker='OS/2 ld.exe' 16210 shlibpath_var=LIBPATH 16211 ;; 16212 16213osf3* | osf4* | osf5*) 16214 version_type=osf 16215 need_lib_prefix=no 16216 need_version=no 16217 soname_spec='${libname}${release}${shared_ext}$major' 16218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16219 shlibpath_var=LD_LIBRARY_PATH 16220 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16221 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 16222 ;; 16223 16224rdos*) 16225 dynamic_linker=no 16226 ;; 16227 16228solaris*) 16229 version_type=linux # correct to gnu/linux during the next big refactor 16230 need_lib_prefix=no 16231 need_version=no 16232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16233 soname_spec='${libname}${release}${shared_ext}$major' 16234 shlibpath_var=LD_LIBRARY_PATH 16235 shlibpath_overrides_runpath=yes 16236 hardcode_into_libs=yes 16237 # ldd complains unless libraries are executable 16238 postinstall_cmds='chmod +x $lib' 16239 ;; 16240 16241sunos4*) 16242 version_type=sunos 16243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16244 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16245 shlibpath_var=LD_LIBRARY_PATH 16246 shlibpath_overrides_runpath=yes 16247 if test "$with_gnu_ld" = yes; then 16248 need_lib_prefix=no 16249 fi 16250 need_version=yes 16251 ;; 16252 16253sysv4 | sysv4.3*) 16254 version_type=linux # correct to gnu/linux during the next big refactor 16255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16256 soname_spec='${libname}${release}${shared_ext}$major' 16257 shlibpath_var=LD_LIBRARY_PATH 16258 case $host_vendor in 16259 sni) 16260 shlibpath_overrides_runpath=no 16261 need_lib_prefix=no 16262 runpath_var=LD_RUN_PATH 16263 ;; 16264 siemens) 16265 need_lib_prefix=no 16266 ;; 16267 motorola) 16268 need_lib_prefix=no 16269 need_version=no 16270 shlibpath_overrides_runpath=no 16271 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16272 ;; 16273 esac 16274 ;; 16275 16276sysv4*MP*) 16277 if test -d /usr/nec ;then 16278 version_type=linux # correct to gnu/linux during the next big refactor 16279 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 16280 soname_spec='$libname${shared_ext}.$major' 16281 shlibpath_var=LD_LIBRARY_PATH 16282 fi 16283 ;; 16284 16285sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16286 version_type=freebsd-elf 16287 need_lib_prefix=no 16288 need_version=no 16289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 16290 soname_spec='${libname}${release}${shared_ext}$major' 16291 shlibpath_var=LD_LIBRARY_PATH 16292 shlibpath_overrides_runpath=yes 16293 hardcode_into_libs=yes 16294 if test "$with_gnu_ld" = yes; then 16295 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16296 else 16297 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16298 case $host_os in 16299 sco3.2v5*) 16300 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16301 ;; 16302 esac 16303 fi 16304 sys_lib_dlsearch_path_spec='/usr/lib' 16305 ;; 16306 16307tpf*) 16308 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16309 version_type=linux # correct to gnu/linux during the next big refactor 16310 need_lib_prefix=no 16311 need_version=no 16312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16313 shlibpath_var=LD_LIBRARY_PATH 16314 shlibpath_overrides_runpath=no 16315 hardcode_into_libs=yes 16316 ;; 16317 16318uts4*) 16319 version_type=linux # correct to gnu/linux during the next big refactor 16320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16321 soname_spec='${libname}${release}${shared_ext}$major' 16322 shlibpath_var=LD_LIBRARY_PATH 16323 ;; 16324 16325*) 16326 dynamic_linker=no 16327 ;; 16328esac 16329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16330$as_echo "$dynamic_linker" >&6; } 16331test "$dynamic_linker" = no && can_build_shared=no 16332 16333variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16334if test "$GCC" = yes; then 16335 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16336fi 16337 16338if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 16339 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 16340fi 16341if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 16342 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 16343fi 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16383$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16384hardcode_action_CXX= 16385if test -n "$hardcode_libdir_flag_spec_CXX" || 16386 test -n "$runpath_var_CXX" || 16387 test "X$hardcode_automatic_CXX" = "Xyes" ; then 16388 16389 # We can hardcode non-existent directories. 16390 if test "$hardcode_direct_CXX" != no && 16391 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16392 # have to relink, otherwise we might link with an installed library 16393 # when we should be linking with a yet-to-be-installed one 16394 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 16395 test "$hardcode_minus_L_CXX" != no; then 16396 # Linking always hardcodes the temporary library directory. 16397 hardcode_action_CXX=relink 16398 else 16399 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16400 hardcode_action_CXX=immediate 16401 fi 16402else 16403 # We cannot hardcode anything, or else we can only hardcode existing 16404 # directories. 16405 hardcode_action_CXX=unsupported 16406fi 16407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16408$as_echo "$hardcode_action_CXX" >&6; } 16409 16410if test "$hardcode_action_CXX" = relink || 16411 test "$inherit_rpath_CXX" = yes; then 16412 # Fast installation is not supported 16413 enable_fast_install=no 16414elif test "$shlibpath_overrides_runpath" = yes || 16415 test "$enable_shared" = no; then 16416 # Fast installation is not necessary 16417 enable_fast_install=needless 16418fi 16419 16420 16421 16422 16423 16424 16425 16426 fi # test -n "$compiler" 16427 16428 CC=$lt_save_CC 16429 CFLAGS=$lt_save_CFLAGS 16430 LDCXX=$LD 16431 LD=$lt_save_LD 16432 GCC=$lt_save_GCC 16433 with_gnu_ld=$lt_save_with_gnu_ld 16434 lt_cv_path_LDCXX=$lt_cv_path_LD 16435 lt_cv_path_LD=$lt_save_path_LD 16436 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 16437 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 16438fi # test "$_lt_caught_CXX_error" != yes 16439 16440ac_ext=c 16441ac_cpp='$CPP $CPPFLAGS' 16442ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16443ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16444ac_compiler_gnu=$ac_cv_c_compiler_gnu 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 ac_config_commands="$ac_config_commands libtool" 16461 16462 16463 16464 16465# Only expand once: 16466 16467 16468 16469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 16470$as_echo_n "checking whether the C++ compiler works... " >&6; } 16471if test "${avahi_cv_sys_cxx_works+set}" = set; then : 16472 $as_echo_n "(cached) " >&6 16473else 16474 16475 ac_ext=cpp 16476ac_cpp='$CXXCPP $CPPFLAGS' 16477ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16478ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16479ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 16480 16481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16482/* end confdefs.h. */ 16483int main() { return 0; } 16484_ACEOF 16485if ac_fn_cxx_try_compile "$LINENO"; then : 16486 avahi_cv_sys_cxx_works=yes 16487else 16488 avahi_cv_sys_cxx_works=no 16489fi 16490rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16491 ac_ext=c 16492ac_cpp='$CPP $CPPFLAGS' 16493ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16494ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16495ac_compiler_gnu=$ac_cv_c_compiler_gnu 16496 16497 16498fi 16499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $avahi_cv_sys_cxx_works" >&5 16500$as_echo "$avahi_cv_sys_cxx_works" >&6; } 16501 if [ "x$avahi_cv_sys_cxx_works" = "xno" ]; then 16502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16503$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16504as_fn_error $? "The C++ compiler does not work 16505See \`config.log' for more details" "$LINENO" 5 ; } 16506 fi 16507 16508 16509 16510 16511ac_ext=c 16512ac_cpp='$CPP $CPPFLAGS' 16513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16515ac_compiler_gnu=$ac_cv_c_compiler_gnu 16516 16517acx_pthread_ok=no 16518 16519# We used to check for pthread.h first, but this fails if pthread.h 16520# requires special compiler flags (e.g. on True64 or Sequent). 16521# It gets checked for in the link test anyway. 16522 16523# First of all, check if the user has set any of the PTHREAD_LIBS, 16524# etcetera environment variables, and if threads linking works using 16525# them: 16526if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then 16527 save_CFLAGS="$CFLAGS" 16528 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 16529 save_LIBS="$LIBS" 16530 LIBS="$PTHREAD_LIBS $LIBS" 16531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 16532$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; } 16533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16534/* end confdefs.h. */ 16535 16536/* Override any GCC internal prototype to avoid an error. 16537 Use char because int might match the return type of a GCC 16538 builtin and then its argument prototype would still apply. */ 16539#ifdef __cplusplus 16540extern "C" 16541#endif 16542char pthread_join (); 16543int 16544main () 16545{ 16546return pthread_join (); 16547 ; 16548 return 0; 16549} 16550_ACEOF 16551if ac_fn_c_try_link "$LINENO"; then : 16552 acx_pthread_ok=yes 16553fi 16554rm -f core conftest.err conftest.$ac_objext \ 16555 conftest$ac_exeext conftest.$ac_ext 16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5 16557$as_echo "$acx_pthread_ok" >&6; } 16558 if test x"$acx_pthread_ok" = xno; then 16559 PTHREAD_LIBS="" 16560 PTHREAD_CFLAGS="" 16561 fi 16562 LIBS="$save_LIBS" 16563 CFLAGS="$save_CFLAGS" 16564fi 16565 16566# We must check for the threads library under a number of different 16567# names; the ordering is very important because some systems 16568# (e.g. DEC) have both -lpthread and -lpthreads, where one of the 16569# libraries is broken (non-POSIX). 16570 16571# Create a list of thread flags to try. Items starting with a "-" are 16572# C compiler flags, and other items are library names, except for "none" 16573# which indicates that we try without any flags at all, and "pthread-config" 16574# which is a program returning the flags for the Pth emulation library. 16575 16576acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" 16577 16578# The ordering *is* (sometimes) important. Some notes on the 16579# individual items follow: 16580 16581# pthreads: AIX (must check this before -lpthread) 16582# none: in case threads are in libc; should be tried before -Kthread and 16583# other compiler flags to prevent continual compiler warnings 16584# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) 16585# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) 16586# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) 16587# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) 16588# -pthreads: Solaris/gcc 16589# -mthreads: Mingw32/gcc, Lynx/gcc 16590# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it 16591# doesn't hurt to check since this sometimes defines pthreads too; 16592# also defines -D_REENTRANT) 16593# ... -mt is also the pthreads flag for HP/aCC 16594# pthread: Linux, etcetera 16595# --thread-safe: KAI C++ 16596# pthread-config: use pthread-config program (for GNU Pth library) 16597 16598case "${host_cpu}-${host_os}" in 16599 *solaris*) 16600 16601 # On Solaris (at least, for some versions), libc contains stubbed 16602 # (non-functional) versions of the pthreads routines, so link-based 16603 # tests will erroneously succeed. (We need to link with -pthreads/-mt/ 16604 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather 16605 # a function called by this macro, so we could check for that, but 16606 # who knows whether they'll stub that too in a future libc.) So, 16607 # we'll just look for -pthreads and -lpthread first: 16608 16609 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags" 16610 ;; 16611esac 16612 16613if test x"$acx_pthread_ok" = xno; then 16614for flag in $acx_pthread_flags; do 16615 16616 case $flag in 16617 none) 16618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 16619$as_echo_n "checking whether pthreads work without any flags... " >&6; } 16620 ;; 16621 16622 -*) 16623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5 16624$as_echo_n "checking whether pthreads work with $flag... " >&6; } 16625 PTHREAD_CFLAGS="$flag" 16626 ;; 16627 16628 pthread-config) 16629 # Extract the first word of "pthread-config", so it can be a program name with args. 16630set dummy pthread-config; ac_word=$2 16631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16632$as_echo_n "checking for $ac_word... " >&6; } 16633if test "${ac_cv_prog_acx_pthread_config+set}" = set; then : 16634 $as_echo_n "(cached) " >&6 16635else 16636 if test -n "$acx_pthread_config"; then 16637 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test. 16638else 16639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16640for as_dir in $PATH 16641do 16642 IFS=$as_save_IFS 16643 test -z "$as_dir" && as_dir=. 16644 for ac_exec_ext in '' $ac_executable_extensions; do 16645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 16646 ac_cv_prog_acx_pthread_config="yes" 16647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16648 break 2 16649 fi 16650done 16651 done 16652IFS=$as_save_IFS 16653 16654 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no" 16655fi 16656fi 16657acx_pthread_config=$ac_cv_prog_acx_pthread_config 16658if test -n "$acx_pthread_config"; then 16659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5 16660$as_echo "$acx_pthread_config" >&6; } 16661else 16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16663$as_echo "no" >&6; } 16664fi 16665 16666 16667 if test x"$acx_pthread_config" = xno; then continue; fi 16668 PTHREAD_CFLAGS="`pthread-config --cflags`" 16669 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" 16670 ;; 16671 16672 *) 16673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5 16674$as_echo_n "checking for the pthreads library -l$flag... " >&6; } 16675 PTHREAD_LIBS="-l$flag" 16676 ;; 16677 esac 16678 16679 save_LIBS="$LIBS" 16680 save_CFLAGS="$CFLAGS" 16681 LIBS="$PTHREAD_LIBS $LIBS" 16682 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 16683 16684 # Check for various functions. We must include pthread.h, 16685 # since some functions may be macros. (On the Sequent, we 16686 # need a special flag -Kthread to make this header compile.) 16687 # We check for pthread_join because it is in -lpthread on IRIX 16688 # while pthread_create is in libc. We check for pthread_attr_init 16689 # due to DEC craziness with -lpthreads. We check for 16690 # pthread_cleanup_push because it is one of the few pthread 16691 # functions on Solaris that doesn't have a non-functional libc stub. 16692 # We try pthread_create on general principles. 16693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16694/* end confdefs.h. */ 16695#include <pthread.h> 16696int 16697main () 16698{ 16699pthread_t th; pthread_join(th, 0); 16700 pthread_attr_init(0); pthread_cleanup_push(0, 0); 16701 pthread_create(0,0,0,0); pthread_cleanup_pop(0); 16702 ; 16703 return 0; 16704} 16705_ACEOF 16706if ac_fn_c_try_link "$LINENO"; then : 16707 acx_pthread_ok=yes 16708fi 16709rm -f core conftest.err conftest.$ac_objext \ 16710 conftest$ac_exeext conftest.$ac_ext 16711 16712 LIBS="$save_LIBS" 16713 CFLAGS="$save_CFLAGS" 16714 16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5 16716$as_echo "$acx_pthread_ok" >&6; } 16717 if test "x$acx_pthread_ok" = xyes; then 16718 break; 16719 fi 16720 16721 PTHREAD_LIBS="" 16722 PTHREAD_CFLAGS="" 16723done 16724fi 16725 16726# Various other checks: 16727if test "x$acx_pthread_ok" = xyes; then 16728 save_LIBS="$LIBS" 16729 LIBS="$PTHREAD_LIBS $LIBS" 16730 save_CFLAGS="$CFLAGS" 16731 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 16732 16733 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. 16734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5 16735$as_echo_n "checking for joinable pthread attribute... " >&6; } 16736 attr_name=unknown 16737 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do 16738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16739/* end confdefs.h. */ 16740#include <pthread.h> 16741int 16742main () 16743{ 16744int attr=$attr; return attr; 16745 ; 16746 return 0; 16747} 16748_ACEOF 16749if ac_fn_c_try_link "$LINENO"; then : 16750 attr_name=$attr; break 16751fi 16752rm -f core conftest.err conftest.$ac_objext \ 16753 conftest$ac_exeext conftest.$ac_ext 16754 done 16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5 16756$as_echo "$attr_name" >&6; } 16757 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then 16758 16759cat >>confdefs.h <<_ACEOF 16760#define PTHREAD_CREATE_JOINABLE $attr_name 16761_ACEOF 16762 16763 fi 16764 16765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5 16766$as_echo_n "checking if more special flags are required for pthreads... " >&6; } 16767 flag=no 16768 case "${host_cpu}-${host_os}" in 16769 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; 16770 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; 16771 esac 16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 16773$as_echo "${flag}" >&6; } 16774 if test "x$flag" != xno; then 16775 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" 16776 fi 16777 16778 LIBS="$save_LIBS" 16779 CFLAGS="$save_CFLAGS" 16780 # More AIX lossage: must compile with xlc_r or cc_r 16781 if test x"$GCC" != xyes; then 16782 for ac_prog in xlc_r cc_r 16783do 16784 # Extract the first word of "$ac_prog", so it can be a program name with args. 16785set dummy $ac_prog; ac_word=$2 16786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16787$as_echo_n "checking for $ac_word... " >&6; } 16788if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then : 16789 $as_echo_n "(cached) " >&6 16790else 16791 if test -n "$PTHREAD_CC"; then 16792 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test. 16793else 16794as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16795for as_dir in $PATH 16796do 16797 IFS=$as_save_IFS 16798 test -z "$as_dir" && as_dir=. 16799 for ac_exec_ext in '' $ac_executable_extensions; do 16800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 16801 ac_cv_prog_PTHREAD_CC="$ac_prog" 16802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16803 break 2 16804 fi 16805done 16806 done 16807IFS=$as_save_IFS 16808 16809fi 16810fi 16811PTHREAD_CC=$ac_cv_prog_PTHREAD_CC 16812if test -n "$PTHREAD_CC"; then 16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5 16814$as_echo "$PTHREAD_CC" >&6; } 16815else 16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16817$as_echo "no" >&6; } 16818fi 16819 16820 16821 test -n "$PTHREAD_CC" && break 16822done 16823test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}" 16824 16825 else 16826 PTHREAD_CC=$CC 16827 fi 16828 16829 # The next part tries to detect GCC inconsistency with -shared on some 16830 # architectures and systems. The problem is that in certain 16831 # configurations, when -shared is specified, GCC "forgets" to 16832 # internally use various flags which are still necessary. 16833 16834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check for GCC pthread/shared inconsistencies" >&5 16835$as_echo_n "checking whether to check for GCC pthread/shared inconsistencies... " >&6; } 16836 check_inconsistencies=yes 16837 case "${host_cpu}-${host_os}" in 16838 *-darwin*) check_inconsistencies=no ;; 16839 esac 16840 if test x"$GCC" != xyes -o "x$check_inconsistencies" != xyes ; then 16841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16842$as_echo "no" >&6; } 16843 else 16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16845$as_echo "yes" >&6; } 16846 16847 # In order not to create several levels of indentation, we test 16848 # the value of "$ok" until we find out the cure or run out of 16849 # ideas. 16850 ok="no" 16851 16852 # 16853 # Prepare the flags 16854 # 16855 save_CFLAGS="$CFLAGS" 16856 save_LIBS="$LIBS" 16857 save_CC="$CC" 16858 # Try with the flags determined by the earlier checks. 16859 # 16860 # -Wl,-z,defs forces link-time symbol resolution, so that the 16861 # linking checks with -shared actually have any value 16862 # 16863 # FIXME: -fPIC is required for -shared on many architectures, 16864 # so we specify it here, but the right way would probably be to 16865 # properly detect whether it is actually required. 16866 CFLAGS="-shared -fPIC -Wl,-z,defs $CFLAGS $PTHREAD_CFLAGS" 16867 LIBS="$PTHREAD_LIBS $LIBS" 16868 CC="$PTHREAD_CC" 16869 16870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is sufficient with -shared" >&5 16871$as_echo_n "checking whether -pthread is sufficient with -shared... " >&6; } 16872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16873/* end confdefs.h. */ 16874#include <pthread.h> 16875int 16876main () 16877{ 16878pthread_t th; pthread_join(th, 0); 16879 pthread_attr_init(0); pthread_cleanup_push(0, 0); 16880 pthread_create(0,0,0,0); pthread_cleanup_pop(0); 16881 ; 16882 return 0; 16883} 16884_ACEOF 16885if ac_fn_c_try_link "$LINENO"; then : 16886 ok=yes 16887fi 16888rm -f core conftest.err conftest.$ac_objext \ 16889 conftest$ac_exeext conftest.$ac_ext 16890 16891 if test "x$ok" = xyes; then 16892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16893$as_echo "yes" >&6; } 16894 else 16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16896$as_echo "no" >&6; } 16897 fi 16898 16899 # 16900 # Linux gcc on some architectures such as mips/mipsel forgets 16901 # about -lpthread 16902 # 16903 if test x"$ok" = xno; then 16904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lpthread fixes that" >&5 16905$as_echo_n "checking whether -lpthread fixes that... " >&6; } 16906 LIBS="-lpthread $PTHREAD_LIBS $save_LIBS" 16907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16908/* end confdefs.h. */ 16909#include <pthread.h> 16910int 16911main () 16912{ 16913pthread_t th; pthread_join(th, 0); 16914 pthread_attr_init(0); pthread_cleanup_push(0, 0); 16915 pthread_create(0,0,0,0); pthread_cleanup_pop(0); 16916 ; 16917 return 0; 16918} 16919_ACEOF 16920if ac_fn_c_try_link "$LINENO"; then : 16921 ok=yes 16922fi 16923rm -f core conftest.err conftest.$ac_objext \ 16924 conftest$ac_exeext conftest.$ac_ext 16925 16926 if test "x$ok" = xyes; then 16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16928$as_echo "yes" >&6; } 16929 PTHREAD_LIBS="-lpthread $PTHREAD_LIBS" 16930 else 16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16932$as_echo "no" >&6; } 16933 fi 16934 fi 16935 # 16936 # FreeBSD 4.10 gcc forgets to use -lc_r instead of -lc 16937 # 16938 if test x"$ok" = xno; then 16939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc_r fixes that" >&5 16940$as_echo_n "checking whether -lc_r fixes that... " >&6; } 16941 LIBS="-lc_r $PTHREAD_LIBS $save_LIBS" 16942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16943/* end confdefs.h. */ 16944#include <pthread.h> 16945int 16946main () 16947{ 16948pthread_t th; pthread_join(th, 0); 16949 pthread_attr_init(0); pthread_cleanup_push(0, 0); 16950 pthread_create(0,0,0,0); pthread_cleanup_pop(0); 16951 ; 16952 return 0; 16953} 16954_ACEOF 16955if ac_fn_c_try_link "$LINENO"; then : 16956 ok=yes 16957fi 16958rm -f core conftest.err conftest.$ac_objext \ 16959 conftest$ac_exeext conftest.$ac_ext 16960 16961 if test "x$ok" = xyes; then 16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16963$as_echo "yes" >&6; } 16964 PTHREAD_LIBS="-lc_r $PTHREAD_LIBS" 16965 else 16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16967$as_echo "no" >&6; } 16968 fi 16969 fi 16970 if test x"$ok" = xno; then 16971 # OK, we have run out of ideas 16972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Impossible to determine how to use pthreads with shared libraries" >&5 16973$as_echo "$as_me: WARNING: Impossible to determine how to use pthreads with shared libraries" >&2;} 16974 16975 # so it's not safe to assume that we may use pthreads 16976 acx_pthread_ok=no 16977 fi 16978 16979 CFLAGS="$save_CFLAGS" 16980 LIBS="$save_LIBS" 16981 CC="$save_CC" 16982 fi 16983else 16984 PTHREAD_CC="$CC" 16985fi 16986 16987 16988 16989 16990 16991# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: 16992if test x"$acx_pthread_ok" = xyes; then 16993 16994$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h 16995 16996 : 16997else 16998 acx_pthread_ok=no 16999 as_fn_error $? "Missing POSIX Threads support" "$LINENO" 5 17000fi 17001ac_ext=c 17002ac_cpp='$CPP $CPPFLAGS' 17003ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17004ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17005ac_compiler_gnu=$ac_cv_c_compiler_gnu 17006 17007 17008 17009# 17010# Check for netlink.h 17011# 17012ac_fn_c_check_header_compile "$LINENO" "linux/netlink.h" "ac_cv_header_linux_netlink_h" " 17013#include <sys/socket.h> 17014#include <asm/types.h> 17015 17016" 17017if test "x$ac_cv_header_linux_netlink_h" = x""yes; then : 17018 HAVE_NETLINK=yes 17019 17020$as_echo "#define HAVE_NETLINK /**/" >>confdefs.h 17021 17022 17023fi 17024 17025 17026 17027 if test x"$HAVE_NETLINK" = xyes ; then 17028 HAVE_NETLINK_TRUE= 17029 HAVE_NETLINK_FALSE='#' 17030else 17031 HAVE_NETLINK_TRUE='#' 17032 HAVE_NETLINK_FALSE= 17033fi 17034 17035 17036# 17037# Check for net/route.h 17038# 17039ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" " 17040#include <sys/types.h> 17041#include <sys/socket.h> 17042#include <net/if_dl.h> 17043 17044" 17045if test "x$ac_cv_header_net_route_h" = x""yes; then : 17046 HAVE_PF_ROUTE=yes 17047 17048$as_echo "#define HAVE_PF_ROUTE /**/" >>confdefs.h 17049 17050 17051fi 17052 17053 17054 17055 if test x"$HAVE_PF_ROUTE" = xyes ; then 17056 HAVE_PF_ROUTE_TRUE= 17057 HAVE_PF_ROUTE_FALSE='#' 17058else 17059 HAVE_PF_ROUTE_TRUE='#' 17060 HAVE_PF_ROUTE_FALSE= 17061fi 17062 17063 17064# 17065# Check for sys/filio.h; needed for FIONREAD on Solaris 17066# 17067ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" " 17068 17069" 17070if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 17071 HAVE_SYS_FILIO_H=yes 17072 17073$as_echo "#define HAVE_SYS_FILIO_H /**/" >>confdefs.h 17074 17075 17076fi 17077 17078 17079 17080 if test x"$HAVE_SYS_FILIO_H" = xyes ; then 17081 HAVE_SYS_FILIO_H_TRUE= 17082 HAVE_SYS_FILIO_H_FALSE='#' 17083else 17084 HAVE_SYS_FILIO_H_TRUE='#' 17085 HAVE_SYS_FILIO_H_FALSE= 17086fi 17087 17088 17089# 17090# Check for sys/sysctl.h; not present on Solaris 17091# 17092ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" " 17093#include <sys/types.h> 17094#include <sys/socket.h> 17095#include <sys/param.h> 17096 17097" 17098if test "x$ac_cv_header_sys_sysctl_h" = x""yes; then : 17099 HAVE_SYS_SYSCTL=yes 17100 17101$as_echo "#define HAVE_SYS_SYSCTL_H /**/" >>confdefs.h 17102 17103 17104fi 17105 17106 17107 17108 if test x"$HAVE_SYS_SYSCTL_H" = xyes ; then 17109 HAVE_SYS_SYSCTL_H_TRUE= 17110 HAVE_SYS_SYSCTL_H_FALSE='#' 17111else 17112 HAVE_SYS_SYSCTL_H_TRUE='#' 17113 HAVE_SYS_SYSCTL_H_FALSE= 17114fi 17115 17116 17117# 17118# Check for lifconf struct; only present on Solaris 17119# 17120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct lifconf" >&5 17121$as_echo_n "checking for struct lifconf... " >&6; } 17122if test "${avahi_cv_has_struct_lifconf+set}" = set; then : 17123 $as_echo_n "(cached) " >&6 17124else 17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17126/* end confdefs.h. */ 17127#include <sys/socket.h> 17128#include <net/if.h> 17129 17130int 17131main () 17132{ 17133sizeof (struct lifconf); 17134 ; 17135 return 0; 17136} 17137_ACEOF 17138if ac_fn_c_try_compile "$LINENO"; then : 17139 avahi_cv_has_struct_lifconf=yes 17140else 17141 avahi_cv_has_struct_lifconf=no 17142fi 17143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17144fi 17145 17146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $avahi_cv_has_struct_lifconf" >&5 17147$as_echo "$avahi_cv_has_struct_lifconf" >&6; } 17148if test $avahi_cv_has_struct_lifconf = yes; then 17149 17150$as_echo "#define HAVE_STRUCT_LIFCONF 1" >>confdefs.h 17151 17152fi 17153 17154# 17155# Check for struct ip_mreqn 17156# 17157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ip_mreqn" >&5 17158$as_echo_n "checking for struct ip_mreqn... " >&6; } 17159cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17160/* end confdefs.h. */ 17161#include <netinet/in.h> 17162int 17163main () 17164{ 17165 17166 struct ip_mreqn mreq; 17167 mreq.imr_address.s_addr = 0; 17168 17169 ; 17170 return 0; 17171} 17172_ACEOF 17173if ac_fn_c_try_compile "$LINENO"; then : 17174 17175 # Yes, we have it... 17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17177$as_echo "yes" >&6; } 17178 17179$as_echo "#define HAVE_STRUCT_IP_MREQN /**/" >>confdefs.h 17180 17181 17182else 17183 17184 # We'll just have to try and use struct ip_mreq 17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17186$as_echo "no" >&6; } 17187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ip_mreq" >&5 17188$as_echo_n "checking for struct ip_mreq... " >&6; } 17189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17190/* end confdefs.h. */ 17191#include <netinet/in.h> 17192int 17193main () 17194{ 17195 17196 struct ip_mreq mreq; 17197 mreq.imr_interface.s_addr = 0; 17198 17199 ; 17200 return 0; 17201} 17202_ACEOF 17203if ac_fn_c_try_compile "$LINENO"; then : 17204 17205 # Yes, we have it... 17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17207$as_echo "yes" >&6; } 17208 17209$as_echo "#define HAVE_STRUCT_IP_MREQ /**/" >>confdefs.h 17210 17211 17212else 17213 17214 # No multicast support 17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17216$as_echo "no" >&6; } 17217 17218fi 17219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17220 17221fi 17222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17223 17224# 17225# Detecting the linux distribution for specific things like init scripts. 17226# 17227 17228# Check whether --with-distro was given. 17229if test "${with_distro+set}" = set; then : 17230 withval=$with_distro; 17231fi 17232 17233if test "z$with_distro" = "z"; then 17234 if test "$cross_compiling" = yes; then 17235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)" >&5 17236$as_echo "$as_me: WARNING: Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)" >&2;} 17237 else 17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/lfs-release" >&5 17239$as_echo_n "checking for /etc/lfs-release... " >&6; } 17240if test "${ac_cv_file__etc_lfs_release+set}" = set; then : 17241 $as_echo_n "(cached) " >&6 17242else 17243 test "$cross_compiling" = yes && 17244 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17245if test -r "/etc/lfs-release"; then 17246 ac_cv_file__etc_lfs_release=yes 17247else 17248 ac_cv_file__etc_lfs_release=no 17249fi 17250fi 17251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_lfs_release" >&5 17252$as_echo "$ac_cv_file__etc_lfs_release" >&6; } 17253if test "x$ac_cv_file__etc_lfs_release" = x""yes; then : 17254 with_distro="lfs" 17255fi 17256 17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/SuSE-release" >&5 17258$as_echo_n "checking for /etc/SuSE-release... " >&6; } 17259if test "${ac_cv_file__etc_SuSE_release+set}" = set; then : 17260 $as_echo_n "(cached) " >&6 17261else 17262 test "$cross_compiling" = yes && 17263 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17264if test -r "/etc/SuSE-release"; then 17265 ac_cv_file__etc_SuSE_release=yes 17266else 17267 ac_cv_file__etc_SuSE_release=no 17268fi 17269fi 17270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_SuSE_release" >&5 17271$as_echo "$ac_cv_file__etc_SuSE_release" >&6; } 17272if test "x$ac_cv_file__etc_SuSE_release" = x""yes; then : 17273 with_distro="suse" 17274fi 17275 17276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/gentoo-release" >&5 17277$as_echo_n "checking for /etc/gentoo-release... " >&6; } 17278if test "${ac_cv_file__etc_gentoo_release+set}" = set; then : 17279 $as_echo_n "(cached) " >&6 17280else 17281 test "$cross_compiling" = yes && 17282 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17283if test -r "/etc/gentoo-release"; then 17284 ac_cv_file__etc_gentoo_release=yes 17285else 17286 ac_cv_file__etc_gentoo_release=no 17287fi 17288fi 17289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_gentoo_release" >&5 17290$as_echo "$ac_cv_file__etc_gentoo_release" >&6; } 17291if test "x$ac_cv_file__etc_gentoo_release" = x""yes; then : 17292 with_distro="gentoo" 17293fi 17294 17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/arch-release" >&5 17296$as_echo_n "checking for /etc/arch-release... " >&6; } 17297if test "${ac_cv_file__etc_arch_release+set}" = set; then : 17298 $as_echo_n "(cached) " >&6 17299else 17300 test "$cross_compiling" = yes && 17301 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17302if test -r "/etc/arch-release"; then 17303 ac_cv_file__etc_arch_release=yes 17304else 17305 ac_cv_file__etc_arch_release=no 17306fi 17307fi 17308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_arch_release" >&5 17309$as_echo "$ac_cv_file__etc_arch_release" >&6; } 17310if test "x$ac_cv_file__etc_arch_release" = x""yes; then : 17311 with_distro="archlinux" 17312fi 17313 17314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/debian_version" >&5 17315$as_echo_n "checking for /etc/debian_version... " >&6; } 17316if test "${ac_cv_file__etc_debian_version+set}" = set; then : 17317 $as_echo_n "(cached) " >&6 17318else 17319 test "$cross_compiling" = yes && 17320 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17321if test -r "/etc/debian_version"; then 17322 ac_cv_file__etc_debian_version=yes 17323else 17324 ac_cv_file__etc_debian_version=no 17325fi 17326fi 17327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_debian_version" >&5 17328$as_echo "$ac_cv_file__etc_debian_version" >&6; } 17329if test "x$ac_cv_file__etc_debian_version" = x""yes; then : 17330 with_distro="debian" 17331fi 17332 17333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/redhat-release" >&5 17334$as_echo_n "checking for /etc/redhat-release... " >&6; } 17335if test "${ac_cv_file__etc_redhat_release+set}" = set; then : 17336 $as_echo_n "(cached) " >&6 17337else 17338 test "$cross_compiling" = yes && 17339 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17340if test -r "/etc/redhat-release"; then 17341 ac_cv_file__etc_redhat_release=yes 17342else 17343 ac_cv_file__etc_redhat_release=no 17344fi 17345fi 17346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_redhat_release" >&5 17347$as_echo "$ac_cv_file__etc_redhat_release" >&6; } 17348if test "x$ac_cv_file__etc_redhat_release" = x""yes; then : 17349 with_distro="fedora" 17350fi 17351 17352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/mandriva-release" >&5 17353$as_echo_n "checking for /etc/mandriva-release... " >&6; } 17354if test "${ac_cv_file__etc_mandriva_release+set}" = set; then : 17355 $as_echo_n "(cached) " >&6 17356else 17357 test "$cross_compiling" = yes && 17358 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17359if test -r "/etc/mandriva-release"; then 17360 ac_cv_file__etc_mandriva_release=yes 17361else 17362 ac_cv_file__etc_mandriva_release=no 17363fi 17364fi 17365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_mandriva_release" >&5 17366$as_echo "$ac_cv_file__etc_mandriva_release" >&6; } 17367if test "x$ac_cv_file__etc_mandriva_release" = x""yes; then : 17368 with_distro="mandriva" 17369fi 17370 17371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/slackware-version" >&5 17372$as_echo_n "checking for /etc/slackware-version... " >&6; } 17373if test "${ac_cv_file__etc_slackware_version+set}" = set; then : 17374 $as_echo_n "(cached) " >&6 17375else 17376 test "$cross_compiling" = yes && 17377 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17378if test -r "/etc/slackware-version"; then 17379 ac_cv_file__etc_slackware_version=yes 17380else 17381 ac_cv_file__etc_slackware_version=no 17382fi 17383fi 17384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_slackware_version" >&5 17385$as_echo "$ac_cv_file__etc_slackware_version" >&6; } 17386if test "x$ac_cv_file__etc_slackware_version" = x""yes; then : 17387 with_distro="slackware" 17388fi 17389 17390 fi 17391 if test "z$with_distro" = "z"; then 17392 with_distro=`uname -s` 17393 fi 17394fi 17395with_distro=`echo ${with_distro} | tr '[:upper:]' '[:lower:]' ` 17396 17397case $with_distro in 17398 lfs|debian|gentoo|archlinux|suse|fedora|mandriva|darwin|freebsd|slackware|none) 17399 ;; 17400 netbsd) 17401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your distribution (${with_distro}) is supported but no init script exist yet! (patches welcome)" >&5 17402$as_echo "$as_me: WARNING: Your distribution (${with_distro}) is supported but no init script exist yet! (patches welcome)" >&2;} 17403 ;; 17404 linux) 17405 as_fn_error $? "Linux distribution autodetection failed, you must specify the distribution to target using --with-distro=DISTRO, set DISTRO to none if your distribution is not supported." "$LINENO" 5 17406 ;; 17407 *) 17408 as_fn_error $? "Your distribution (${with_distro}) is not yet supported, init scripts and D-Bus configuration will not be installed! (patches welcome), you can specify --with-distro=none to skip this check" "$LINENO" 5 17409 ;; 17410esac 17411 17412 if test x"$with_distro" = xlfs; then 17413 TARGET_LFS_TRUE= 17414 TARGET_LFS_FALSE='#' 17415else 17416 TARGET_LFS_TRUE='#' 17417 TARGET_LFS_FALSE= 17418fi 17419 17420 if test x"$with_distro" = xsuse; then 17421 TARGET_SUSE_TRUE= 17422 TARGET_SUSE_FALSE='#' 17423else 17424 TARGET_SUSE_TRUE='#' 17425 TARGET_SUSE_FALSE= 17426fi 17427 17428 if test x"$with_distro" = xgentoo; then 17429 TARGET_GENTOO_TRUE= 17430 TARGET_GENTOO_FALSE='#' 17431else 17432 TARGET_GENTOO_TRUE='#' 17433 TARGET_GENTOO_FALSE= 17434fi 17435 17436 if test x"$with_distro" = xdebian; then 17437 TARGET_DEBIAN_TRUE= 17438 TARGET_DEBIAN_FALSE='#' 17439else 17440 TARGET_DEBIAN_TRUE='#' 17441 TARGET_DEBIAN_FALSE= 17442fi 17443 17444 if test x"$with_distro" = xarchlinux; then 17445 TARGET_ARCHLINUX_TRUE= 17446 TARGET_ARCHLINUX_FALSE='#' 17447else 17448 TARGET_ARCHLINUX_TRUE='#' 17449 TARGET_ARCHLINUX_FALSE= 17450fi 17451 17452 if test x"$with_distro" = xfedora; then 17453 TARGET_FEDORA_TRUE= 17454 TARGET_FEDORA_FALSE='#' 17455else 17456 TARGET_FEDORA_TRUE='#' 17457 TARGET_FEDORA_FALSE= 17458fi 17459 17460 if test x"$with_distro" = xmandriva; then 17461 TARGET_MANDRIVA_TRUE= 17462 TARGET_MANDRIVA_FALSE='#' 17463else 17464 TARGET_MANDRIVA_TRUE='#' 17465 TARGET_MANDRIVA_FALSE= 17466fi 17467 17468 if test x"$with_distro" = xdarwin; then 17469 TARGET_DARWIN_TRUE= 17470 TARGET_DARWIN_FALSE='#' 17471else 17472 TARGET_DARWIN_TRUE='#' 17473 TARGET_DARWIN_FALSE= 17474fi 17475 17476 if test x"$with_distro" = xnetbsd; then 17477 TARGET_NETBSD_TRUE= 17478 TARGET_NETBSD_FALSE='#' 17479else 17480 TARGET_NETBSD_TRUE='#' 17481 TARGET_NETBSD_FALSE= 17482fi 17483 17484 if test x"$with_distro" = xfreebsd; then 17485 TARGET_FREEBSD_TRUE= 17486 TARGET_FREEBSD_FALSE='#' 17487else 17488 TARGET_FREEBSD_TRUE='#' 17489 TARGET_FREEBSD_FALSE= 17490fi 17491 17492 if test x"$with_distro" = xslackware; then 17493 TARGET_SLACKWARE_TRUE= 17494 TARGET_SLACKWARE_FALSE='#' 17495else 17496 TARGET_SLACKWARE_TRUE='#' 17497 TARGET_SLACKWARE_FALSE= 17498fi 17499 17500 17501test_gcc_flag() { 17502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17503/* end confdefs.h. */ 17504int main() {} 17505_ACEOF 17506 $CC -c conftest.c $CFLAGS $@ > /dev/null 2> /dev/null 17507 ret=$? 17508 rm -f conftest.o 17509 return $ret 17510} 17511 17512# If using GCC specify some additional parameters 17513if test "x$GCC" = "xyes" ; then 17514 17515 DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -fdiagnostics-show-option -Wno-cast-qual -fno-strict-aliasing" 17516 17517 if test "x$HAVE_NETLINK" = "xyes" ; then 17518 # Test whether rtnetlink.h can be included when compiled with -std=c99 17519 # some distributions (e.g. archlinux) have broken headers that dont 17520 # define __u64 with -std=c99 17521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking whether rtnetlink.h can be included with -std=c99" >&5 17522$as_echo_n "checking checking whether rtnetlink.h can be included with -std=c99... " >&6; } 17523 OLDCFLAGS="$CFLAGS" 17524 CFLAGS="-std=c99" 17525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17526/* end confdefs.h. */ 17527#include <linux/rtnetlink.h> 17528int 17529main () 17530{ 17531 17532 ; 17533 return 0; 17534} 17535_ACEOF 17536if ac_fn_c_try_compile "$LINENO"; then : 17537 use_stdc99=yes 17538else 17539 use_stdc99=no 17540fi 17541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17542 17543 if test x"$use_stdc99" = xyes; then 17544 DESIRED_FLAGS="-std=c99 $DESIRED_FLAGS" 17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17546$as_echo "yes" >&6; } 17547 else 17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17549$as_echo "no" >&6; } 17550 fi 17551 17552 CFLAGS="$OLDCFLAGS" 17553 else 17554 DESIRED_FLAGS="-std=c99 $DESIRED_FLAGS" 17555 fi 17556 17557 for flag in $DESIRED_FLAGS ; do 17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $flag" >&5 17559$as_echo_n "checking whether $CC accepts $flag... " >&6; } 17560 if test_gcc_flag $flag ; then 17561 CFLAGS="$CFLAGS $flag" 17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17563$as_echo "yes" >&6; } 17564 else 17565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17566$as_echo "no" >&6; } 17567 fi 17568 done 17569fi 17570 17571# Checks for header files. 17572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 17573$as_echo_n "checking for ANSI C header files... " >&6; } 17574if test "${ac_cv_header_stdc+set}" = set; then : 17575 $as_echo_n "(cached) " >&6 17576else 17577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17578/* end confdefs.h. */ 17579#include <stdlib.h> 17580#include <stdarg.h> 17581#include <string.h> 17582#include <float.h> 17583 17584int 17585main () 17586{ 17587 17588 ; 17589 return 0; 17590} 17591_ACEOF 17592if ac_fn_c_try_compile "$LINENO"; then : 17593 ac_cv_header_stdc=yes 17594else 17595 ac_cv_header_stdc=no 17596fi 17597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17598 17599if test $ac_cv_header_stdc = yes; then 17600 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17602/* end confdefs.h. */ 17603#include <string.h> 17604 17605_ACEOF 17606if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 17607 $EGREP "memchr" >/dev/null 2>&1; then : 17608 17609else 17610 ac_cv_header_stdc=no 17611fi 17612rm -f conftest* 17613 17614fi 17615 17616if test $ac_cv_header_stdc = yes; then 17617 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 17618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17619/* end confdefs.h. */ 17620#include <stdlib.h> 17621 17622_ACEOF 17623if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 17624 $EGREP "free" >/dev/null 2>&1; then : 17625 17626else 17627 ac_cv_header_stdc=no 17628fi 17629rm -f conftest* 17630 17631fi 17632 17633if test $ac_cv_header_stdc = yes; then 17634 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 17635 if test "$cross_compiling" = yes; then : 17636 : 17637else 17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17639/* end confdefs.h. */ 17640#include <ctype.h> 17641#include <stdlib.h> 17642#if ((' ' & 0x0FF) == 0x020) 17643# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 17644# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 17645#else 17646# define ISLOWER(c) \ 17647 (('a' <= (c) && (c) <= 'i') \ 17648 || ('j' <= (c) && (c) <= 'r') \ 17649 || ('s' <= (c) && (c) <= 'z')) 17650# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 17651#endif 17652 17653#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 17654int 17655main () 17656{ 17657 int i; 17658 for (i = 0; i < 256; i++) 17659 if (XOR (islower (i), ISLOWER (i)) 17660 || toupper (i) != TOUPPER (i)) 17661 return 2; 17662 return 0; 17663} 17664_ACEOF 17665if ac_fn_c_try_run "$LINENO"; then : 17666 17667else 17668 ac_cv_header_stdc=no 17669fi 17670rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17671 conftest.$ac_objext conftest.beam conftest.$ac_ext 17672fi 17673 17674fi 17675fi 17676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 17677$as_echo "$ac_cv_header_stdc" >&6; } 17678if test $ac_cv_header_stdc = yes; then 17679 17680$as_echo "#define STDC_HEADERS 1" >>confdefs.h 17681 17682fi 17683 17684for ac_header in arpa/inet.h fcntl.h inttypes.h limits.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h netdb.h syslog.h 17685do : 17686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 17687ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 17688if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 17689 cat >>confdefs.h <<_ACEOF 17690#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 17691_ACEOF 17692 17693fi 17694 17695done 17696 17697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 17698$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } 17699if test "${ac_cv_header_stdbool_h+set}" = set; then : 17700 $as_echo_n "(cached) " >&6 17701else 17702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17703/* end confdefs.h. */ 17704 17705#include <stdbool.h> 17706#ifndef bool 17707 "error: bool is not defined" 17708#endif 17709#ifndef false 17710 "error: false is not defined" 17711#endif 17712#if false 17713 "error: false is not 0" 17714#endif 17715#ifndef true 17716 "error: true is not defined" 17717#endif 17718#if true != 1 17719 "error: true is not 1" 17720#endif 17721#ifndef __bool_true_false_are_defined 17722 "error: __bool_true_false_are_defined is not defined" 17723#endif 17724 17725 struct s { _Bool s: 1; _Bool t; } s; 17726 17727 char a[true == 1 ? 1 : -1]; 17728 char b[false == 0 ? 1 : -1]; 17729 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 17730 char d[(bool) 0.5 == true ? 1 : -1]; 17731 bool e = &s; 17732 char f[(_Bool) 0.0 == false ? 1 : -1]; 17733 char g[true]; 17734 char h[sizeof (_Bool)]; 17735 char i[sizeof s.t]; 17736 enum { j = false, k = true, l = false * true, m = true * 256 }; 17737 /* The following fails for 17738 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ 17739 _Bool n[m]; 17740 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 17741 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 17742# if defined __xlc__ || defined __GNUC__ 17743 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 17744 reported by James Lemley on 2005-10-05; see 17745 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html 17746 This test is not quite right, since xlc is allowed to 17747 reject this program, as the initializer for xlcbug is 17748 not one of the forms that C requires support for. 17749 However, doing the test right would require a runtime 17750 test, and that would make cross-compilation harder. 17751 Let us hope that IBM fixes the xlc bug, and also adds 17752 support for this kind of constant expression. In the 17753 meantime, this test will reject xlc, which is OK, since 17754 our stdbool.h substitute should suffice. We also test 17755 this with GCC, where it should work, to detect more 17756 quickly whether someone messes up the test in the 17757 future. */ 17758 char digs[] = "0123456789"; 17759 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); 17760# endif 17761 /* Catch a bug in an HP-UX C compiler. See 17762 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 17763 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 17764 */ 17765 _Bool q = true; 17766 _Bool *pq = &q; 17767 17768int 17769main () 17770{ 17771 17772 *pq |= q; 17773 *pq |= ! q; 17774 /* Refer to every declared value, to avoid compiler optimizations. */ 17775 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 17776 + !m + !n + !o + !p + !q + !pq); 17777 17778 ; 17779 return 0; 17780} 17781_ACEOF 17782if ac_fn_c_try_compile "$LINENO"; then : 17783 ac_cv_header_stdbool_h=yes 17784else 17785 ac_cv_header_stdbool_h=no 17786fi 17787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17788fi 17789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 17790$as_echo "$ac_cv_header_stdbool_h" >&6; } 17791ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" 17792if test "x$ac_cv_type__Bool" = x""yes; then : 17793 17794cat >>confdefs.h <<_ACEOF 17795#define HAVE__BOOL 1 17796_ACEOF 17797 17798 17799fi 17800 17801if test $ac_cv_header_stdbool_h = yes; then 17802 17803$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h 17804 17805fi 17806 17807 17808# Checks for typedefs, structures, and compiler characteristics. 17809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 17810$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 17811if test "${ac_cv_c_const+set}" = set; then : 17812 $as_echo_n "(cached) " >&6 17813else 17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17815/* end confdefs.h. */ 17816 17817int 17818main () 17819{ 17820/* FIXME: Include the comments suggested by Paul. */ 17821#ifndef __cplusplus 17822 /* Ultrix mips cc rejects this. */ 17823 typedef int charset[2]; 17824 const charset cs; 17825 /* SunOS 4.1.1 cc rejects this. */ 17826 char const *const *pcpcc; 17827 char **ppc; 17828 /* NEC SVR4.0.2 mips cc rejects this. */ 17829 struct point {int x, y;}; 17830 static struct point const zero = {0,0}; 17831 /* AIX XL C 1.02.0.0 rejects this. 17832 It does not let you subtract one const X* pointer from another in 17833 an arm of an if-expression whose if-part is not a constant 17834 expression */ 17835 const char *g = "string"; 17836 pcpcc = &g + (g ? g-g : 0); 17837 /* HPUX 7.0 cc rejects these. */ 17838 ++pcpcc; 17839 ppc = (char**) pcpcc; 17840 pcpcc = (char const *const *) ppc; 17841 { /* SCO 3.2v4 cc rejects this. */ 17842 char *t; 17843 char const *s = 0 ? (char *) 0 : (char const *) 0; 17844 17845 *t++ = 0; 17846 if (s) return 0; 17847 } 17848 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 17849 int x[] = {25, 17}; 17850 const int *foo = &x[0]; 17851 ++foo; 17852 } 17853 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 17854 typedef const int *iptr; 17855 iptr p = 0; 17856 ++p; 17857 } 17858 { /* AIX XL C 1.02.0.0 rejects this saying 17859 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 17860 struct s { int j; const int *ap[3]; }; 17861 struct s *b; b->j = 5; 17862 } 17863 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 17864 const int foo = 10; 17865 if (!foo) return 0; 17866 } 17867 return !cs[0] && !zero.x; 17868#endif 17869 17870 ; 17871 return 0; 17872} 17873_ACEOF 17874if ac_fn_c_try_compile "$LINENO"; then : 17875 ac_cv_c_const=yes 17876else 17877 ac_cv_c_const=no 17878fi 17879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17880fi 17881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 17882$as_echo "$ac_cv_c_const" >&6; } 17883if test $ac_cv_c_const = no; then 17884 17885$as_echo "#define const /**/" >>confdefs.h 17886 17887fi 17888 17889ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 17890if test "x$ac_cv_type_size_t" = x""yes; then : 17891 17892else 17893 17894cat >>confdefs.h <<_ACEOF 17895#define size_t unsigned int 17896_ACEOF 17897 17898fi 17899 17900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 17901$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 17902if test "${ac_cv_header_time+set}" = set; then : 17903 $as_echo_n "(cached) " >&6 17904else 17905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17906/* end confdefs.h. */ 17907#include <sys/types.h> 17908#include <sys/time.h> 17909#include <time.h> 17910 17911int 17912main () 17913{ 17914if ((struct tm *) 0) 17915return 0; 17916 ; 17917 return 0; 17918} 17919_ACEOF 17920if ac_fn_c_try_compile "$LINENO"; then : 17921 ac_cv_header_time=yes 17922else 17923 ac_cv_header_time=no 17924fi 17925rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17926fi 17927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 17928$as_echo "$ac_cv_header_time" >&6; } 17929if test $ac_cv_header_time = yes; then 17930 17931$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 17932 17933fi 17934 17935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 17936$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 17937if test "${ac_cv_header_sys_wait_h+set}" = set; then : 17938 $as_echo_n "(cached) " >&6 17939else 17940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17941/* end confdefs.h. */ 17942#include <sys/types.h> 17943#include <sys/wait.h> 17944#ifndef WEXITSTATUS 17945# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) 17946#endif 17947#ifndef WIFEXITED 17948# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 17949#endif 17950 17951int 17952main () 17953{ 17954 int s; 17955 wait (&s); 17956 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 17957 ; 17958 return 0; 17959} 17960_ACEOF 17961if ac_fn_c_try_compile "$LINENO"; then : 17962 ac_cv_header_sys_wait_h=yes 17963else 17964 ac_cv_header_sys_wait_h=no 17965fi 17966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17967fi 17968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 17969$as_echo "$ac_cv_header_sys_wait_h" >&6; } 17970if test $ac_cv_header_sys_wait_h = yes; then 17971 17972$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h 17973 17974fi 17975 17976 17977 # Solaris stuff 17978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 17979$as_echo_n "checking for library containing inet_ntop... " >&6; } 17980if test "${ac_cv_search_inet_ntop+set}" = set; then : 17981 $as_echo_n "(cached) " >&6 17982else 17983 ac_func_search_save_LIBS=$LIBS 17984cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17985/* end confdefs.h. */ 17986 17987/* Override any GCC internal prototype to avoid an error. 17988 Use char because int might match the return type of a GCC 17989 builtin and then its argument prototype would still apply. */ 17990#ifdef __cplusplus 17991extern "C" 17992#endif 17993char inet_ntop (); 17994int 17995main () 17996{ 17997return inet_ntop (); 17998 ; 17999 return 0; 18000} 18001_ACEOF 18002for ac_lib in '' nsl; do 18003 if test -z "$ac_lib"; then 18004 ac_res="none required" 18005 else 18006 ac_res=-l$ac_lib 18007 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 18008 fi 18009 if ac_fn_c_try_link "$LINENO"; then : 18010 ac_cv_search_inet_ntop=$ac_res 18011fi 18012rm -f core conftest.err conftest.$ac_objext \ 18013 conftest$ac_exeext 18014 if test "${ac_cv_search_inet_ntop+set}" = set; then : 18015 break 18016fi 18017done 18018if test "${ac_cv_search_inet_ntop+set}" = set; then : 18019 18020else 18021 ac_cv_search_inet_ntop=no 18022fi 18023rm conftest.$ac_ext 18024LIBS=$ac_func_search_save_LIBS 18025fi 18026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 18027$as_echo "$ac_cv_search_inet_ntop" >&6; } 18028ac_res=$ac_cv_search_inet_ntop 18029if test "$ac_res" != no; then : 18030 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 18031 18032fi 18033 18034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing recv" >&5 18035$as_echo_n "checking for library containing recv... " >&6; } 18036if test "${ac_cv_search_recv+set}" = set; then : 18037 $as_echo_n "(cached) " >&6 18038else 18039 ac_func_search_save_LIBS=$LIBS 18040cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18041/* end confdefs.h. */ 18042 18043/* Override any GCC internal prototype to avoid an error. 18044 Use char because int might match the return type of a GCC 18045 builtin and then its argument prototype would still apply. */ 18046#ifdef __cplusplus 18047extern "C" 18048#endif 18049char recv (); 18050int 18051main () 18052{ 18053return recv (); 18054 ; 18055 return 0; 18056} 18057_ACEOF 18058for ac_lib in '' socket; do 18059 if test -z "$ac_lib"; then 18060 ac_res="none required" 18061 else 18062 ac_res=-l$ac_lib 18063 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 18064 fi 18065 if ac_fn_c_try_link "$LINENO"; then : 18066 ac_cv_search_recv=$ac_res 18067fi 18068rm -f core conftest.err conftest.$ac_objext \ 18069 conftest$ac_exeext 18070 if test "${ac_cv_search_recv+set}" = set; then : 18071 break 18072fi 18073done 18074if test "${ac_cv_search_recv+set}" = set; then : 18075 18076else 18077 ac_cv_search_recv=no 18078fi 18079rm conftest.$ac_ext 18080LIBS=$ac_func_search_save_LIBS 18081fi 18082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_recv" >&5 18083$as_echo "$ac_cv_search_recv" >&6; } 18084ac_res=$ac_cv_search_recv 18085if test "$ac_res" != no; then : 18086 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 18087 18088fi 18089 18090 ac_fn_c_check_decl "$LINENO" "CMSG_SPACE" "ac_cv_have_decl_CMSG_SPACE" "#include <sys/socket.h> 18091" 18092if test "x$ac_cv_have_decl_CMSG_SPACE" = x""yes; then : 18093 18094else 18095 CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__" 18096fi 18097 18098 18099# Checks for library functions. 18100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5 18101$as_echo_n "checking for working memcmp... " >&6; } 18102if test "${ac_cv_func_memcmp_working+set}" = set; then : 18103 $as_echo_n "(cached) " >&6 18104else 18105 if test "$cross_compiling" = yes; then : 18106 ac_cv_func_memcmp_working=no 18107else 18108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18109/* end confdefs.h. */ 18110$ac_includes_default 18111int 18112main () 18113{ 18114 18115 /* Some versions of memcmp are not 8-bit clean. */ 18116 char c0 = '\100', c1 = '\200', c2 = '\201'; 18117 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) 18118 return 1; 18119 18120 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes 18121 or more and with at least one buffer not starting on a 4-byte boundary. 18122 William Lewis provided this test program. */ 18123 { 18124 char foo[21]; 18125 char bar[21]; 18126 int i; 18127 for (i = 0; i < 4; i++) 18128 { 18129 char *a = foo + i; 18130 char *b = bar + i; 18131 strcpy (a, "--------01111111"); 18132 strcpy (b, "--------10000000"); 18133 if (memcmp (a, b, 16) >= 0) 18134 return 1; 18135 } 18136 return 0; 18137 } 18138 18139 ; 18140 return 0; 18141} 18142_ACEOF 18143if ac_fn_c_try_run "$LINENO"; then : 18144 ac_cv_func_memcmp_working=yes 18145else 18146 ac_cv_func_memcmp_working=no 18147fi 18148rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18149 conftest.$ac_objext conftest.beam conftest.$ac_ext 18150fi 18151 18152fi 18153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5 18154$as_echo "$ac_cv_func_memcmp_working" >&6; } 18155test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in 18156 *" memcmp.$ac_objext "* ) ;; 18157 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" 18158 ;; 18159esac 18160 18161 18162for ac_header in sys/select.h sys/socket.h 18163do : 18164 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18165ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 18166if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 18167 cat >>confdefs.h <<_ACEOF 18168#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18169_ACEOF 18170 18171fi 18172 18173done 18174 18175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5 18176$as_echo_n "checking types of arguments for select... " >&6; } 18177if test "${ac_cv_func_select_args+set}" = set; then : 18178 $as_echo_n "(cached) " >&6 18179else 18180 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do 18181 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do 18182 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do 18183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18184/* end confdefs.h. */ 18185$ac_includes_default 18186#ifdef HAVE_SYS_SELECT_H 18187# include <sys/select.h> 18188#endif 18189#ifdef HAVE_SYS_SOCKET_H 18190# include <sys/socket.h> 18191#endif 18192 18193int 18194main () 18195{ 18196extern int select ($ac_arg1, 18197 $ac_arg234, $ac_arg234, $ac_arg234, 18198 $ac_arg5); 18199 ; 18200 return 0; 18201} 18202_ACEOF 18203if ac_fn_c_try_compile "$LINENO"; then : 18204 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3 18205fi 18206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18207 done 18208 done 18209done 18210# Provide a safe default value. 18211: ${ac_cv_func_select_args='int,int *,struct timeval *'} 18212 18213fi 18214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5 18215$as_echo "$ac_cv_func_select_args" >&6; } 18216ac_save_IFS=$IFS; IFS=',' 18217set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'` 18218IFS=$ac_save_IFS 18219shift 18220 18221cat >>confdefs.h <<_ACEOF 18222#define SELECT_TYPE_ARG1 $1 18223_ACEOF 18224 18225 18226cat >>confdefs.h <<_ACEOF 18227#define SELECT_TYPE_ARG234 ($2) 18228_ACEOF 18229 18230 18231cat >>confdefs.h <<_ACEOF 18232#define SELECT_TYPE_ARG5 ($3) 18233_ACEOF 18234 18235rm -f conftest* 18236 18237# avahi_malloc actually returns NULL for avahi_malloc(0), so it does not matter 18238# whether libc's malloc does too. (Same for realloc.) 18239#AC_FUNC_MALLOC 18240#AC_FUNC_REALLOC 18241for ac_func in gethostname memchr memmove memset mkdir select socket strchr strcspn strdup strerror strrchr strspn strstr uname setresuid setreuid setresgid setregid strcasecmp gettimeofday putenv strncasecmp strlcpy gethostbyname seteuid setegid setproctitle getprogname 18242do : 18243 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18244ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 18245if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 18246 cat >>confdefs.h <<_ACEOF 18247#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18248_ACEOF 18249 18250fi 18251done 18252 18253 18254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 18255$as_echo_n "checking for uid_t in sys/types.h... " >&6; } 18256if test "${ac_cv_type_uid_t+set}" = set; then : 18257 $as_echo_n "(cached) " >&6 18258else 18259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18260/* end confdefs.h. */ 18261#include <sys/types.h> 18262 18263_ACEOF 18264if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18265 $EGREP "uid_t" >/dev/null 2>&1; then : 18266 ac_cv_type_uid_t=yes 18267else 18268 ac_cv_type_uid_t=no 18269fi 18270rm -f conftest* 18271 18272fi 18273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 18274$as_echo "$ac_cv_type_uid_t" >&6; } 18275if test $ac_cv_type_uid_t = no; then 18276 18277$as_echo "#define uid_t int" >>confdefs.h 18278 18279 18280$as_echo "#define gid_t int" >>confdefs.h 18281 18282fi 18283 18284for ac_header in unistd.h 18285do : 18286 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 18287if test "x$ac_cv_header_unistd_h" = x""yes; then : 18288 cat >>confdefs.h <<_ACEOF 18289#define HAVE_UNISTD_H 1 18290_ACEOF 18291 18292fi 18293 18294done 18295 18296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5 18297$as_echo_n "checking for working chown... " >&6; } 18298if test "${ac_cv_func_chown_works+set}" = set; then : 18299 $as_echo_n "(cached) " >&6 18300else 18301 if test "$cross_compiling" = yes; then : 18302 ac_cv_func_chown_works=no 18303else 18304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18305/* end confdefs.h. */ 18306$ac_includes_default 18307#include <fcntl.h> 18308 18309int 18310main () 18311{ 18312 char *f = "conftest.chown"; 18313 struct stat before, after; 18314 18315 if (creat (f, 0600) < 0) 18316 return 1; 18317 if (stat (f, &before) < 0) 18318 return 1; 18319 if (chown (f, (uid_t) -1, (gid_t) -1) == -1) 18320 return 1; 18321 if (stat (f, &after) < 0) 18322 return 1; 18323 return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid); 18324 18325 ; 18326 return 0; 18327} 18328_ACEOF 18329if ac_fn_c_try_run "$LINENO"; then : 18330 ac_cv_func_chown_works=yes 18331else 18332 ac_cv_func_chown_works=no 18333fi 18334rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18335 conftest.$ac_objext conftest.beam conftest.$ac_ext 18336fi 18337 18338rm -f conftest.chown 18339 18340fi 18341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5 18342$as_echo "$ac_cv_func_chown_works" >&6; } 18343if test $ac_cv_func_chown_works = yes; then 18344 18345$as_echo "#define HAVE_CHOWN 1" >>confdefs.h 18346 18347fi 18348 18349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 18350$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } 18351if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then : 18352 $as_echo_n "(cached) " >&6 18353else 18354 rm -f conftest.sym conftest.file 18355echo >conftest.file 18356if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then 18357 if test "$cross_compiling" = yes; then : 18358 ac_cv_func_lstat_dereferences_slashed_symlink=no 18359else 18360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18361/* end confdefs.h. */ 18362$ac_includes_default 18363int 18364main () 18365{ 18366struct stat sbuf; 18367 /* Linux will dereference the symlink and fail, as required by POSIX. 18368 That is better in the sense that it means we will not 18369 have to compile and use the lstat wrapper. */ 18370 return lstat ("conftest.sym/", &sbuf) == 0; 18371 ; 18372 return 0; 18373} 18374_ACEOF 18375if ac_fn_c_try_run "$LINENO"; then : 18376 ac_cv_func_lstat_dereferences_slashed_symlink=yes 18377else 18378 ac_cv_func_lstat_dereferences_slashed_symlink=no 18379fi 18380rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18381 conftest.$ac_objext conftest.beam conftest.$ac_ext 18382fi 18383 18384else 18385 # If the `ln -s' command failed, then we probably don't even 18386 # have an lstat function. 18387 ac_cv_func_lstat_dereferences_slashed_symlink=no 18388fi 18389rm -f conftest.sym conftest.file 18390 18391fi 18392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 18393$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } 18394 18395test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && 18396 18397cat >>confdefs.h <<_ACEOF 18398#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 18399_ACEOF 18400 18401 18402if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then 18403 case " $LIBOBJS " in 18404 *" lstat.$ac_objext "* ) ;; 18405 *) LIBOBJS="$LIBOBJS lstat.$ac_objext" 18406 ;; 18407esac 18408 18409fi 18410 18411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5 18412$as_echo_n "checking whether stat accepts an empty string... " >&6; } 18413if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then : 18414 $as_echo_n "(cached) " >&6 18415else 18416 if test "$cross_compiling" = yes; then : 18417 ac_cv_func_stat_empty_string_bug=yes 18418else 18419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18420/* end confdefs.h. */ 18421$ac_includes_default 18422int 18423main () 18424{ 18425struct stat sbuf; 18426 return stat ("", &sbuf) == 0; 18427 ; 18428 return 0; 18429} 18430_ACEOF 18431if ac_fn_c_try_run "$LINENO"; then : 18432 ac_cv_func_stat_empty_string_bug=no 18433else 18434 ac_cv_func_stat_empty_string_bug=yes 18435fi 18436rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18437 conftest.$ac_objext conftest.beam conftest.$ac_ext 18438fi 18439 18440fi 18441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5 18442$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; } 18443if test $ac_cv_func_stat_empty_string_bug = yes; then 18444 case " $LIBOBJS " in 18445 *" stat.$ac_objext "* ) ;; 18446 *) LIBOBJS="$LIBOBJS stat.$ac_objext" 18447 ;; 18448esac 18449 18450 18451cat >>confdefs.h <<_ACEOF 18452#define HAVE_STAT_EMPTY_STRING_BUG 1 18453_ACEOF 18454 18455fi 18456 18457ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 18458if test "x$ac_cv_type_mode_t" = x""yes; then : 18459 18460else 18461 18462cat >>confdefs.h <<_ACEOF 18463#define mode_t int 18464_ACEOF 18465 18466fi 18467 18468ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 18469if test "x$ac_cv_type_pid_t" = x""yes; then : 18470 18471else 18472 18473cat >>confdefs.h <<_ACEOF 18474#define pid_t int 18475_ACEOF 18476 18477fi 18478 18479 18480ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default" 18481if test "x$ac_cv_have_decl_environ" = x""yes; then : 18482 ac_have_decl=1 18483else 18484 ac_have_decl=0 18485fi 18486 18487cat >>confdefs.h <<_ACEOF 18488#define HAVE_DECL_ENVIRON $ac_have_decl 18489_ACEOF 18490 18491 18492# check if gcc's -fvisibility is supported 18493 18494 save_CFLAGS="$CFLAGS" 18495 VISIBILITY_HIDDEN_CFLAGS="" 18496 OPTION=-fvisibility=hidden 18497 18498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc $OPTION support" >&5 18499$as_echo_n "checking for gcc $OPTION support... " >&6; } 18500 18501 CFLAGS="$CFLAGS $OPTION" 18502 18503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18504/* end confdefs.h. */ 18505 18506 int default_vis __attribute__ ((visibility("default"))); 18507 int hidden_vis __attribute__ ((visibility("hidden"))); 18508 18509int 18510main () 18511{ 18512 18513 ; 18514 return 0; 18515} 18516_ACEOF 18517if ac_fn_c_try_compile "$LINENO"; then : 18518 ac_visibility_supported=yes 18519else 18520 ac_visibility_supported=no 18521fi 18522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_visibility_supported" >&5 18524$as_echo "$ac_visibility_supported" >&6; } 18525 18526 if test x"$ac_visibility_supported" = xyes; then 18527 18528$as_echo "#define HAVE_GCC_VISIBILITY 1" >>confdefs.h 18529 18530 VISIBILITY_HIDDEN_CFLAGS="$OPTION -DHAVE_VISIBILITY_HIDDEN" 18531 18532$as_echo "#define HAVE_VISIBILITY_HIDDEN /**/" >>confdefs.h 18533 18534 else 18535 18536 : 18537 fi 18538 18539 18540 18541 CFLAGS="$save_CFLAGS" 18542 18543 18544enable_chroot=yes 18545for ac_header in sys/capability.h 18546do : 18547 ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default" 18548if test "x$ac_cv_header_sys_capability_h" = x""yes; then : 18549 cat >>confdefs.h <<_ACEOF 18550#define HAVE_SYS_CAPABILITY_H 1 18551_ACEOF 18552 18553else 18554 enable_chroot=no 18555fi 18556 18557done 18558 18559for ac_header in sys/prctl.h 18560do : 18561 ac_fn_c_check_header_mongrel "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default" 18562if test "x$ac_cv_header_sys_prctl_h" = x""yes; then : 18563 cat >>confdefs.h <<_ACEOF 18564#define HAVE_SYS_PRCTL_H 1 18565_ACEOF 18566 18567else 18568 enable_chroot=no 18569fi 18570 18571done 18572 18573for ac_func in chroot 18574do : 18575 ac_fn_c_check_func "$LINENO" "chroot" "ac_cv_func_chroot" 18576if test "x$ac_cv_func_chroot" = x""yes; then : 18577 cat >>confdefs.h <<_ACEOF 18578#define HAVE_CHROOT 1 18579_ACEOF 18580 18581else 18582 enable_chroot=no 18583fi 18584done 18585 18586 18587 if test "x$enable_chroot" = "xyes"; then 18588 ENABLE_CHROOT_TRUE= 18589 ENABLE_CHROOT_FALSE='#' 18590else 18591 ENABLE_CHROOT_TRUE='#' 18592 ENABLE_CHROOT_FALSE= 18593fi 18594 18595 18596if test "x$enable_chroot" = "xyes" ; then 18597 18598$as_echo "#define ENABLE_CHROOT 1" >>confdefs.h 18599 18600fi 18601 18602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 18603$as_echo_n "checking for dlopen in -ldl... " >&6; } 18604if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 18605 $as_echo_n "(cached) " >&6 18606else 18607 ac_check_lib_save_LIBS=$LIBS 18608LIBS="-ldl $LIBS" 18609cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18610/* end confdefs.h. */ 18611 18612/* Override any GCC internal prototype to avoid an error. 18613 Use char because int might match the return type of a GCC 18614 builtin and then its argument prototype would still apply. */ 18615#ifdef __cplusplus 18616extern "C" 18617#endif 18618char dlopen (); 18619int 18620main () 18621{ 18622return dlopen (); 18623 ; 18624 return 0; 18625} 18626_ACEOF 18627if ac_fn_c_try_link "$LINENO"; then : 18628 ac_cv_lib_dl_dlopen=yes 18629else 18630 ac_cv_lib_dl_dlopen=no 18631fi 18632rm -f core conftest.err conftest.$ac_objext \ 18633 conftest$ac_exeext conftest.$ac_ext 18634LIBS=$ac_check_lib_save_LIBS 18635fi 18636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 18637$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 18638if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 18639 for ac_header in dlfcn.h 18640do : 18641 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 18642if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 18643 cat >>confdefs.h <<_ACEOF 18644#define HAVE_DLFCN_H 1 18645_ACEOF 18646 HAVE_DLOPEN=yes 18647else 18648 HAVE_DLOPEN=no 18649fi 18650 18651done 18652 18653else 18654 HAVE_DLOPEN=no 18655fi 18656 18657if test "x$HAVE_DLOPEN" = "xyes" ; then 18658 18659$as_echo "#define HAVE_DLOPEN 1" >>confdefs.h 18660 18661fi 18662 if test "x$HAVE_DLOPEN" = "xyes"; then 18663 HAVE_DLOPEN_TRUE= 18664 HAVE_DLOPEN_FALSE='#' 18665else 18666 HAVE_DLOPEN_TRUE='#' 18667 HAVE_DLOPEN_FALSE= 18668fi 18669 18670 18671have_inotify=no 18672for ac_header in sys/inotify.h 18673do : 18674 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" 18675if test "x$ac_cv_header_sys_inotify_h" = x""yes; then : 18676 cat >>confdefs.h <<_ACEOF 18677#define HAVE_SYS_INOTIFY_H 1 18678_ACEOF 18679 have_inotify=yes 18680fi 18681 18682done 18683 18684 18685 if test "x$have_inotify" = "xyes"; then 18686 HAVE_INOTIFY_TRUE= 18687 HAVE_INOTIFY_FALSE='#' 18688else 18689 HAVE_INOTIFY_TRUE='#' 18690 HAVE_INOTIFY_FALSE= 18691fi 18692 18693 18694if test "x$have_inotify" = "xyes" ; then 18695 18696$as_echo "#define HAVE_INOTIFY 1" >>confdefs.h 18697 18698fi 18699 18700have_kqueue=yes 18701for ac_func in kqueue 18702do : 18703 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue" 18704if test "x$ac_cv_func_kqueue" = x""yes; then : 18705 cat >>confdefs.h <<_ACEOF 18706#define HAVE_KQUEUE 1 18707_ACEOF 18708 18709else 18710 have_kqueue=no 18711fi 18712done 18713 18714 18715 if test "x$have_kqueue" = "xyes"; then 18716 HAVE_KQUEUE_TRUE= 18717 HAVE_KQUEUE_FALSE='#' 18718else 18719 HAVE_KQUEUE_TRUE='#' 18720 HAVE_KQUEUE_FALSE= 18721fi 18722 18723 18724if test "x$have_kqueue" = "xyes" ; then 18725 18726$as_echo "#define HAVE_KQUEUE 1" >>confdefs.h 18727 18728fi 18729 18730 18731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 18732$as_echo_n "checking whether NLS is requested... " >&6; } 18733 # Check whether --enable-nls was given. 18734if test "${enable_nls+set}" = set; then : 18735 enableval=$enable_nls; USE_NLS=$enableval 18736else 18737 USE_NLS=yes 18738fi 18739 18740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 18741$as_echo "$USE_NLS" >&6; } 18742 18743 18744 18745 18746case "$am__api_version" in 18747 1.01234) 18748 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 18749 ;; 18750 *) 18751 ;; 18752esac 18753 18754if test -n "0.35.0"; then 18755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5 18756$as_echo_n "checking for intltool >= 0.35.0... " >&6; } 18757 18758 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 18759 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 18760 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 18761 18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 18763$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 18764 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 18765 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5 18766fi 18767 18768# Extract the first word of "intltool-update", so it can be a program name with args. 18769set dummy intltool-update; ac_word=$2 18770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18771$as_echo_n "checking for $ac_word... " >&6; } 18772if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then : 18773 $as_echo_n "(cached) " >&6 18774else 18775 case $INTLTOOL_UPDATE in 18776 [\\/]* | ?:[\\/]*) 18777 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 18778 ;; 18779 *) 18780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18781for as_dir in $PATH 18782do 18783 IFS=$as_save_IFS 18784 test -z "$as_dir" && as_dir=. 18785 for ac_exec_ext in '' $ac_executable_extensions; do 18786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 18787 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 18788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18789 break 2 18790 fi 18791done 18792 done 18793IFS=$as_save_IFS 18794 18795 ;; 18796esac 18797fi 18798INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 18799if test -n "$INTLTOOL_UPDATE"; then 18800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 18801$as_echo "$INTLTOOL_UPDATE" >&6; } 18802else 18803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18804$as_echo "no" >&6; } 18805fi 18806 18807 18808# Extract the first word of "intltool-merge", so it can be a program name with args. 18809set dummy intltool-merge; ac_word=$2 18810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18811$as_echo_n "checking for $ac_word... " >&6; } 18812if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then : 18813 $as_echo_n "(cached) " >&6 18814else 18815 case $INTLTOOL_MERGE in 18816 [\\/]* | ?:[\\/]*) 18817 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 18818 ;; 18819 *) 18820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18821for as_dir in $PATH 18822do 18823 IFS=$as_save_IFS 18824 test -z "$as_dir" && as_dir=. 18825 for ac_exec_ext in '' $ac_executable_extensions; do 18826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 18827 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 18828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18829 break 2 18830 fi 18831done 18832 done 18833IFS=$as_save_IFS 18834 18835 ;; 18836esac 18837fi 18838INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 18839if test -n "$INTLTOOL_MERGE"; then 18840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 18841$as_echo "$INTLTOOL_MERGE" >&6; } 18842else 18843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18844$as_echo "no" >&6; } 18845fi 18846 18847 18848# Extract the first word of "intltool-extract", so it can be a program name with args. 18849set dummy intltool-extract; ac_word=$2 18850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18851$as_echo_n "checking for $ac_word... " >&6; } 18852if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then : 18853 $as_echo_n "(cached) " >&6 18854else 18855 case $INTLTOOL_EXTRACT in 18856 [\\/]* | ?:[\\/]*) 18857 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 18858 ;; 18859 *) 18860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18861for as_dir in $PATH 18862do 18863 IFS=$as_save_IFS 18864 test -z "$as_dir" && as_dir=. 18865 for ac_exec_ext in '' $ac_executable_extensions; do 18866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 18867 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 18868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18869 break 2 18870 fi 18871done 18872 done 18873IFS=$as_save_IFS 18874 18875 ;; 18876esac 18877fi 18878INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 18879if test -n "$INTLTOOL_EXTRACT"; then 18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 18881$as_echo "$INTLTOOL_EXTRACT" >&6; } 18882else 18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18884$as_echo "no" >&6; } 18885fi 18886 18887 18888if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 18889 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 18890fi 18891 18892 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18893INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18894 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18895 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18896 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' 18897 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18898 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18899 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18900INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18901 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18902 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18903 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u --no-translations $< $@' 18904 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18905 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18906 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18907 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18908 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18909 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18910 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 18911 18912 18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 18977 18978 18979 18980 18981 18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 19002 19003 19004 19005 19006 19007 19008# Check the gettext tools to make sure they are GNU 19009# Extract the first word of "xgettext", so it can be a program name with args. 19010set dummy xgettext; ac_word=$2 19011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19012$as_echo_n "checking for $ac_word... " >&6; } 19013if test "${ac_cv_path_XGETTEXT+set}" = set; then : 19014 $as_echo_n "(cached) " >&6 19015else 19016 case $XGETTEXT in 19017 [\\/]* | ?:[\\/]*) 19018 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 19019 ;; 19020 *) 19021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19022for as_dir in $PATH 19023do 19024 IFS=$as_save_IFS 19025 test -z "$as_dir" && as_dir=. 19026 for ac_exec_ext in '' $ac_executable_extensions; do 19027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19028 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 19029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19030 break 2 19031 fi 19032done 19033 done 19034IFS=$as_save_IFS 19035 19036 ;; 19037esac 19038fi 19039XGETTEXT=$ac_cv_path_XGETTEXT 19040if test -n "$XGETTEXT"; then 19041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 19042$as_echo "$XGETTEXT" >&6; } 19043else 19044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19045$as_echo "no" >&6; } 19046fi 19047 19048 19049# Extract the first word of "msgmerge", so it can be a program name with args. 19050set dummy msgmerge; ac_word=$2 19051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19052$as_echo_n "checking for $ac_word... " >&6; } 19053if test "${ac_cv_path_MSGMERGE+set}" = set; then : 19054 $as_echo_n "(cached) " >&6 19055else 19056 case $MSGMERGE in 19057 [\\/]* | ?:[\\/]*) 19058 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 19059 ;; 19060 *) 19061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19062for as_dir in $PATH 19063do 19064 IFS=$as_save_IFS 19065 test -z "$as_dir" && as_dir=. 19066 for ac_exec_ext in '' $ac_executable_extensions; do 19067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19068 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 19069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19070 break 2 19071 fi 19072done 19073 done 19074IFS=$as_save_IFS 19075 19076 ;; 19077esac 19078fi 19079MSGMERGE=$ac_cv_path_MSGMERGE 19080if test -n "$MSGMERGE"; then 19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 19082$as_echo "$MSGMERGE" >&6; } 19083else 19084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19085$as_echo "no" >&6; } 19086fi 19087 19088 19089# Extract the first word of "msgfmt", so it can be a program name with args. 19090set dummy msgfmt; ac_word=$2 19091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19092$as_echo_n "checking for $ac_word... " >&6; } 19093if test "${ac_cv_path_MSGFMT+set}" = set; then : 19094 $as_echo_n "(cached) " >&6 19095else 19096 case $MSGFMT in 19097 [\\/]* | ?:[\\/]*) 19098 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 19099 ;; 19100 *) 19101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19102for as_dir in $PATH 19103do 19104 IFS=$as_save_IFS 19105 test -z "$as_dir" && as_dir=. 19106 for ac_exec_ext in '' $ac_executable_extensions; do 19107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19108 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 19109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19110 break 2 19111 fi 19112done 19113 done 19114IFS=$as_save_IFS 19115 19116 ;; 19117esac 19118fi 19119MSGFMT=$ac_cv_path_MSGFMT 19120if test -n "$MSGFMT"; then 19121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 19122$as_echo "$MSGFMT" >&6; } 19123else 19124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19125$as_echo "no" >&6; } 19126fi 19127 19128 19129# Extract the first word of "gmsgfmt", so it can be a program name with args. 19130set dummy gmsgfmt; ac_word=$2 19131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19132$as_echo_n "checking for $ac_word... " >&6; } 19133if test "${ac_cv_path_GMSGFMT+set}" = set; then : 19134 $as_echo_n "(cached) " >&6 19135else 19136 case $GMSGFMT in 19137 [\\/]* | ?:[\\/]*) 19138 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 19139 ;; 19140 *) 19141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19142for as_dir in $PATH 19143do 19144 IFS=$as_save_IFS 19145 test -z "$as_dir" && as_dir=. 19146 for ac_exec_ext in '' $ac_executable_extensions; do 19147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19148 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 19149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19150 break 2 19151 fi 19152done 19153 done 19154IFS=$as_save_IFS 19155 19156 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 19157 ;; 19158esac 19159fi 19160GMSGFMT=$ac_cv_path_GMSGFMT 19161if test -n "$GMSGFMT"; then 19162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 19163$as_echo "$GMSGFMT" >&6; } 19164else 19165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19166$as_echo "no" >&6; } 19167fi 19168 19169 19170if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 19171 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 19172fi 19173xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 19174mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 19175mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 19176if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 19177 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 19178fi 19179 19180# Extract the first word of "perl", so it can be a program name with args. 19181set dummy perl; ac_word=$2 19182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19183$as_echo_n "checking for $ac_word... " >&6; } 19184if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then : 19185 $as_echo_n "(cached) " >&6 19186else 19187 case $INTLTOOL_PERL in 19188 [\\/]* | ?:[\\/]*) 19189 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 19190 ;; 19191 *) 19192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19193for as_dir in $PATH 19194do 19195 IFS=$as_save_IFS 19196 test -z "$as_dir" && as_dir=. 19197 for ac_exec_ext in '' $ac_executable_extensions; do 19198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19199 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 19200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19201 break 2 19202 fi 19203done 19204 done 19205IFS=$as_save_IFS 19206 19207 ;; 19208esac 19209fi 19210INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 19211if test -n "$INTLTOOL_PERL"; then 19212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 19213$as_echo "$INTLTOOL_PERL" >&6; } 19214else 19215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19216$as_echo "no" >&6; } 19217fi 19218 19219 19220if test -z "$INTLTOOL_PERL"; then 19221 as_fn_error $? "perl not found" "$LINENO" 5 19222fi 19223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 19224$as_echo_n "checking for perl >= 5.8.1... " >&6; } 19225$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 19226if test $? -ne 0; then 19227 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 19228else 19229 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 19230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 19231$as_echo "$IT_PERL_VERSION" >&6; } 19232fi 19233if test "x" != "xno-xml"; then 19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 19235$as_echo_n "checking for XML::Parser... " >&6; } 19236 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 19237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 19238$as_echo "ok" >&6; } 19239 else 19240 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 19241 fi 19242fi 19243 19244# Substitute ALL_LINGUAS so we can use it in po/Makefile 19245 19246 19247# Set DATADIRNAME correctly if it is not set yet 19248# (copied from glib-gettext.m4) 19249if test -z "$DATADIRNAME"; then 19250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19251/* end confdefs.h. */ 19252 19253int 19254main () 19255{ 19256extern int _nl_msg_cat_cntr; 19257 return _nl_msg_cat_cntr 19258 ; 19259 return 0; 19260} 19261_ACEOF 19262if ac_fn_c_try_link "$LINENO"; then : 19263 DATADIRNAME=share 19264else 19265 case $host in 19266 *-*-solaris*) 19267 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 19268if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : 19269 DATADIRNAME=share 19270else 19271 DATADIRNAME=lib 19272fi 19273 19274 ;; 19275 *) 19276 DATADIRNAME=lib 19277 ;; 19278 esac 19279fi 19280rm -f core conftest.err conftest.$ac_objext \ 19281 conftest$ac_exeext conftest.$ac_ext 19282fi 19283 19284 19285 19286 19287 19288GETTEXT_PACKAGE=avahi 19289 19290 19291cat >>confdefs.h <<_ACEOF 19292#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 19293_ACEOF 19294 19295#AM_GLIB_GNU_GETTEXT 19296 19297avahilocaledir='${prefix}/${DATADIRNAME}/locale' 19298 19299 19300# Check for pkg-config manually first, as if its not installed the 19301# PKG_PROG_PKG_CONFIG macro won't be defined. 19302# Extract the first word of "pkg-config", so it can be a program name with args. 19303set dummy pkg-config; ac_word=$2 19304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19305$as_echo_n "checking for $ac_word... " >&6; } 19306if test "${ac_cv_prog_have_pkg_config+set}" = set; then : 19307 $as_echo_n "(cached) " >&6 19308else 19309 if test -n "$have_pkg_config"; then 19310 ac_cv_prog_have_pkg_config="$have_pkg_config" # Let the user override the test. 19311else 19312as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19313for as_dir in $PATH 19314do 19315 IFS=$as_save_IFS 19316 test -z "$as_dir" && as_dir=. 19317 for ac_exec_ext in '' $ac_executable_extensions; do 19318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19319 ac_cv_prog_have_pkg_config="yes" 19320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19321 break 2 19322 fi 19323done 19324 done 19325IFS=$as_save_IFS 19326 19327 test -z "$ac_cv_prog_have_pkg_config" && ac_cv_prog_have_pkg_config="no" 19328fi 19329fi 19330have_pkg_config=$ac_cv_prog_have_pkg_config 19331if test -n "$have_pkg_config"; then 19332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pkg_config" >&5 19333$as_echo "$have_pkg_config" >&6; } 19334else 19335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19336$as_echo "no" >&6; } 19337fi 19338 19339 19340 19341if test x"$have_pkg_config" = "xno"; then 19342 as_fn_error $? "pkg-config is required to install this program" "$LINENO" 5 19343fi 19344 19345 19346 19347if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 19348 if test -n "$ac_tool_prefix"; then 19349 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 19350set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 19351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19352$as_echo_n "checking for $ac_word... " >&6; } 19353if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 19354 $as_echo_n "(cached) " >&6 19355else 19356 case $PKG_CONFIG in 19357 [\\/]* | ?:[\\/]*) 19358 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 19359 ;; 19360 *) 19361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19362for as_dir in $PATH 19363do 19364 IFS=$as_save_IFS 19365 test -z "$as_dir" && as_dir=. 19366 for ac_exec_ext in '' $ac_executable_extensions; do 19367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19368 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 19369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19370 break 2 19371 fi 19372done 19373 done 19374IFS=$as_save_IFS 19375 19376 ;; 19377esac 19378fi 19379PKG_CONFIG=$ac_cv_path_PKG_CONFIG 19380if test -n "$PKG_CONFIG"; then 19381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 19382$as_echo "$PKG_CONFIG" >&6; } 19383else 19384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19385$as_echo "no" >&6; } 19386fi 19387 19388 19389fi 19390if test -z "$ac_cv_path_PKG_CONFIG"; then 19391 ac_pt_PKG_CONFIG=$PKG_CONFIG 19392 # Extract the first word of "pkg-config", so it can be a program name with args. 19393set dummy pkg-config; ac_word=$2 19394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19395$as_echo_n "checking for $ac_word... " >&6; } 19396if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 19397 $as_echo_n "(cached) " >&6 19398else 19399 case $ac_pt_PKG_CONFIG in 19400 [\\/]* | ?:[\\/]*) 19401 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 19402 ;; 19403 *) 19404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19405for as_dir in $PATH 19406do 19407 IFS=$as_save_IFS 19408 test -z "$as_dir" && as_dir=. 19409 for ac_exec_ext in '' $ac_executable_extensions; do 19410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19411 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 19412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19413 break 2 19414 fi 19415done 19416 done 19417IFS=$as_save_IFS 19418 19419 ;; 19420esac 19421fi 19422ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 19423if test -n "$ac_pt_PKG_CONFIG"; then 19424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 19425$as_echo "$ac_pt_PKG_CONFIG" >&6; } 19426else 19427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19428$as_echo "no" >&6; } 19429fi 19430 19431 if test "x$ac_pt_PKG_CONFIG" = x; then 19432 PKG_CONFIG="" 19433 else 19434 case $cross_compiling:$ac_tool_warned in 19435yes:) 19436{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 19437$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 19438ac_tool_warned=yes ;; 19439esac 19440 PKG_CONFIG=$ac_pt_PKG_CONFIG 19441 fi 19442else 19443 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 19444fi 19445 19446fi 19447if test -n "$PKG_CONFIG"; then 19448 _pkg_min_version=0.9.0 19449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 19450$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 19451 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 19452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19453$as_echo "yes" >&6; } 19454 else 19455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19456$as_echo "no" >&6; } 19457 PKG_CONFIG="" 19458 fi 19459 19460fi 19461 19462# 19463# Check for GLIB 2.0 19464# 19465# Check whether --enable-glib was given. 19466if test "${enable_glib+set}" = set; then : 19467 enableval=$enable_glib; case "${enableval}" in 19468 yes) HAVE_GLIB=yes ;; 19469 no) HAVE_GLIB=no ;; 19470 *) as_fn_error $? "bad value ${enableval} for --enable-glib" "$LINENO" 5 ;; 19471 esac 19472else 19473 HAVE_GLIB=yes 19474fi 19475 19476 19477if test "x$HAVE_GLIB" = "xyes" ; then 19478 19479pkg_failed=no 19480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB20" >&5 19481$as_echo_n "checking for GLIB20... " >&6; } 19482 19483if test -n "$PKG_CONFIG"; then 19484 if test -n "$GLIB20_CFLAGS"; then 19485 pkg_cv_GLIB20_CFLAGS="$GLIB20_CFLAGS" 19486 else 19487 if test -n "$PKG_CONFIG" && \ 19488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.4.0 \""; } >&5 19489 ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.4.0 ") 2>&5 19490 ac_status=$? 19491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19492 test $ac_status = 0; }; then 19493 pkg_cv_GLIB20_CFLAGS=`$PKG_CONFIG --cflags " glib-2.0 >= 2.4.0 " 2>/dev/null` 19494else 19495 pkg_failed=yes 19496fi 19497 fi 19498else 19499 pkg_failed=untried 19500fi 19501if test -n "$PKG_CONFIG"; then 19502 if test -n "$GLIB20_LIBS"; then 19503 pkg_cv_GLIB20_LIBS="$GLIB20_LIBS" 19504 else 19505 if test -n "$PKG_CONFIG" && \ 19506 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.4.0 \""; } >&5 19507 ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.4.0 ") 2>&5 19508 ac_status=$? 19509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19510 test $ac_status = 0; }; then 19511 pkg_cv_GLIB20_LIBS=`$PKG_CONFIG --libs " glib-2.0 >= 2.4.0 " 2>/dev/null` 19512else 19513 pkg_failed=yes 19514fi 19515 fi 19516else 19517 pkg_failed=untried 19518fi 19519 19520 19521 19522if test $pkg_failed = yes; then 19523 19524if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19525 _pkg_short_errors_supported=yes 19526else 19527 _pkg_short_errors_supported=no 19528fi 19529 if test $_pkg_short_errors_supported = yes; then 19530 GLIB20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " glib-2.0 >= 2.4.0 "` 19531 else 19532 GLIB20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " glib-2.0 >= 2.4.0 "` 19533 fi 19534 # Put the nasty error message in config.log where it belongs 19535 echo "$GLIB20_PKG_ERRORS" >&5 19536 19537 as_fn_error $? "Package requirements ( glib-2.0 >= 2.4.0 ) were not met: 19538 19539$GLIB20_PKG_ERRORS 19540 19541Consider adjusting the PKG_CONFIG_PATH environment variable if you 19542installed software in a non-standard prefix. 19543 19544Alternatively, you may set the environment variables GLIB20_CFLAGS 19545and GLIB20_LIBS to avoid the need to call pkg-config. 19546See the pkg-config man page for more details. 19547" "$LINENO" 5 19548elif test $pkg_failed = untried; then 19549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19550$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19551as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 19552is in your PATH or set the PKG_CONFIG environment variable to the full 19553path to pkg-config. 19554 19555Alternatively, you may set the environment variables GLIB20_CFLAGS 19556and GLIB20_LIBS to avoid the need to call pkg-config. 19557See the pkg-config man page for more details. 19558 19559To get pkg-config, see <http://pkg-config.freedesktop.org/>. 19560See \`config.log' for more details" "$LINENO" 5 ; } 19561else 19562 GLIB20_CFLAGS=$pkg_cv_GLIB20_CFLAGS 19563 GLIB20_LIBS=$pkg_cv_GLIB20_LIBS 19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19565$as_echo "yes" >&6; } 19566 : 19567fi 19568 19569 19570fi 19571 if test "x$HAVE_GLIB" = "xyes"; then 19572 HAVE_GLIB_TRUE= 19573 HAVE_GLIB_FALSE='#' 19574else 19575 HAVE_GLIB_TRUE='#' 19576 HAVE_GLIB_FALSE= 19577fi 19578 19579 19580# 19581# Check for GLIB's gobject 2.0 19582# 19583# Check whether --enable-gobject was given. 19584if test "${enable_gobject+set}" = set; then : 19585 enableval=$enable_gobject; case "${enableval}" in 19586 yes) HAVE_GOBJECT=yes ;; 19587 no) HAVE_GOBJECT=no ;; 19588 *) as_fn_error $? "bad value ${enableval} for --enable-gobject" "$LINENO" 5 ;; 19589 esac 19590else 19591 HAVE_GOBJECT=yes 19592fi 19593 19594 19595if test "x$HAVE_GOBJECT" = "xyes" ; then 19596 19597pkg_failed=no 19598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5 19599$as_echo_n "checking for GOBJECT... " >&6; } 19600 19601if test -n "$PKG_CONFIG"; then 19602 if test -n "$GOBJECT_CFLAGS"; then 19603 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS" 19604 else 19605 if test -n "$PKG_CONFIG" && \ 19606 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.4.0 gobject-2.0 \""; } >&5 19607 ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.4.0 gobject-2.0 ") 2>&5 19608 ac_status=$? 19609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19610 test $ac_status = 0; }; then 19611 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags " glib-2.0 >= 2.4.0 gobject-2.0 " 2>/dev/null` 19612else 19613 pkg_failed=yes 19614fi 19615 fi 19616else 19617 pkg_failed=untried 19618fi 19619if test -n "$PKG_CONFIG"; then 19620 if test -n "$GOBJECT_LIBS"; then 19621 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS" 19622 else 19623 if test -n "$PKG_CONFIG" && \ 19624 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.4.0 gobject-2.0 \""; } >&5 19625 ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.4.0 gobject-2.0 ") 2>&5 19626 ac_status=$? 19627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19628 test $ac_status = 0; }; then 19629 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs " glib-2.0 >= 2.4.0 gobject-2.0 " 2>/dev/null` 19630else 19631 pkg_failed=yes 19632fi 19633 fi 19634else 19635 pkg_failed=untried 19636fi 19637 19638 19639 19640if test $pkg_failed = yes; then 19641 19642if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19643 _pkg_short_errors_supported=yes 19644else 19645 _pkg_short_errors_supported=no 19646fi 19647 if test $_pkg_short_errors_supported = yes; then 19648 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " glib-2.0 >= 2.4.0 gobject-2.0 "` 19649 else 19650 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " glib-2.0 >= 2.4.0 gobject-2.0 "` 19651 fi 19652 # Put the nasty error message in config.log where it belongs 19653 echo "$GOBJECT_PKG_ERRORS" >&5 19654 19655 as_fn_error $? "Package requirements ( glib-2.0 >= 2.4.0 gobject-2.0 ) were not met: 19656 19657$GOBJECT_PKG_ERRORS 19658 19659Consider adjusting the PKG_CONFIG_PATH environment variable if you 19660installed software in a non-standard prefix. 19661 19662Alternatively, you may set the environment variables GOBJECT_CFLAGS 19663and GOBJECT_LIBS to avoid the need to call pkg-config. 19664See the pkg-config man page for more details. 19665" "$LINENO" 5 19666elif test $pkg_failed = untried; then 19667 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19668$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19669as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 19670is in your PATH or set the PKG_CONFIG environment variable to the full 19671path to pkg-config. 19672 19673Alternatively, you may set the environment variables GOBJECT_CFLAGS 19674and GOBJECT_LIBS to avoid the need to call pkg-config. 19675See the pkg-config man page for more details. 19676 19677To get pkg-config, see <http://pkg-config.freedesktop.org/>. 19678See \`config.log' for more details" "$LINENO" 5 ; } 19679else 19680 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS 19681 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS 19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19683$as_echo "yes" >&6; } 19684 : 19685fi 19686 19687 19688fi 19689 if test "x$HAVE_GOBJECT" = "xyes"; then 19690 HAVE_GOBJECT_TRUE= 19691 HAVE_GOBJECT_FALSE='#' 19692else 19693 HAVE_GOBJECT_TRUE='#' 19694 HAVE_GOBJECT_FALSE= 19695fi 19696 19697 19698# 19699# Introspection support. 19700# 19701 19702 19703 19704 # Check whether --enable-introspection was given. 19705if test "${enable_introspection+set}" = set; then : 19706 enableval=$enable_introspection; 19707else 19708 enable_introspection=auto 19709fi 19710 19711 19712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5 19713$as_echo_n "checking for gobject-introspection... " >&6; } 19714 19715 case $enable_introspection in #( 19716 no) : 19717 found_introspection="no (disabled, use --enable-introspection to enable)" 19718 ;; #( 19719 yes) : 19720 if test -n "$PKG_CONFIG" && \ 19721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5 19722 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5 19723 ac_status=$? 19724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19725 test $ac_status = 0; }; then 19726 : 19727else 19728 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5 19729fi 19730 if test -n "$PKG_CONFIG" && \ 19731 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5 19732 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5 19733 ac_status=$? 19734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19735 test $ac_status = 0; }; then 19736 found_introspection=yes 19737else 19738 as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build avahi" "$LINENO" 5 19739fi 19740 ;; #( 19741 auto) : 19742 if test -n "$PKG_CONFIG" && \ 19743 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5 19744 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5 19745 ac_status=$? 19746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19747 test $ac_status = 0; }; then 19748 found_introspection=yes 19749else 19750 found_introspection=no 19751fi 19752 ;; #( 19753 *) : 19754 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5 19755 ;; 19756esac 19757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5 19758$as_echo "$found_introspection" >&6; } 19759 19760 INTROSPECTION_SCANNER= 19761 INTROSPECTION_COMPILER= 19762 INTROSPECTION_GENERATE= 19763 INTROSPECTION_GIRDIR= 19764 INTROSPECTION_TYPELIBDIR= 19765 if test "x$found_introspection" = "xyes"; then 19766 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` 19767 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` 19768 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` 19769 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` 19770 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)" 19771 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` 19772 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` 19773 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection 19774 fi 19775 19776 19777 19778 19779 19780 19781 19782 19783 19784 if test "x$found_introspection" = "xyes"; then 19785 HAVE_INTROSPECTION_TRUE= 19786 HAVE_INTROSPECTION_FALSE='#' 19787else 19788 HAVE_INTROSPECTION_TRUE='#' 19789 HAVE_INTROSPECTION_FALSE= 19790fi 19791 19792 19793 19794 19795# 19796# Check for Qt 3 19797# 19798# Check whether --enable-qt3 was given. 19799if test "${enable_qt3+set}" = set; then : 19800 enableval=$enable_qt3; case "${enableval}" in 19801 yes) HAVE_QT3=yes ;; 19802 no) HAVE_QT3=no ;; 19803 *) as_fn_error $? "bad value ${enableval} for --enable-qt3" "$LINENO" 5 ;; 19804 esac 19805else 19806 HAVE_QT3=yes 19807fi 19808 19809 19810if test "x$HAVE_QT3" = "xyes" ; then 19811 19812pkg_failed=no 19813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT3" >&5 19814$as_echo_n "checking for QT3... " >&6; } 19815 19816if test -n "$PKG_CONFIG"; then 19817 if test -n "$QT3_CFLAGS"; then 19818 pkg_cv_QT3_CFLAGS="$QT3_CFLAGS" 19819 else 19820 if test -n "$PKG_CONFIG" && \ 19821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" qt-mt >= 3.0.0 \""; } >&5 19822 ($PKG_CONFIG --exists --print-errors " qt-mt >= 3.0.0 ") 2>&5 19823 ac_status=$? 19824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19825 test $ac_status = 0; }; then 19826 pkg_cv_QT3_CFLAGS=`$PKG_CONFIG --cflags " qt-mt >= 3.0.0 " 2>/dev/null` 19827else 19828 pkg_failed=yes 19829fi 19830 fi 19831else 19832 pkg_failed=untried 19833fi 19834if test -n "$PKG_CONFIG"; then 19835 if test -n "$QT3_LIBS"; then 19836 pkg_cv_QT3_LIBS="$QT3_LIBS" 19837 else 19838 if test -n "$PKG_CONFIG" && \ 19839 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" qt-mt >= 3.0.0 \""; } >&5 19840 ($PKG_CONFIG --exists --print-errors " qt-mt >= 3.0.0 ") 2>&5 19841 ac_status=$? 19842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19843 test $ac_status = 0; }; then 19844 pkg_cv_QT3_LIBS=`$PKG_CONFIG --libs " qt-mt >= 3.0.0 " 2>/dev/null` 19845else 19846 pkg_failed=yes 19847fi 19848 fi 19849else 19850 pkg_failed=untried 19851fi 19852 19853 19854 19855if test $pkg_failed = yes; then 19856 19857if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19858 _pkg_short_errors_supported=yes 19859else 19860 _pkg_short_errors_supported=no 19861fi 19862 if test $_pkg_short_errors_supported = yes; then 19863 QT3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " qt-mt >= 3.0.0 "` 19864 else 19865 QT3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " qt-mt >= 3.0.0 "` 19866 fi 19867 # Put the nasty error message in config.log where it belongs 19868 echo "$QT3_PKG_ERRORS" >&5 19869 19870 as_fn_error $? "Package requirements ( qt-mt >= 3.0.0 ) were not met: 19871 19872$QT3_PKG_ERRORS 19873 19874Consider adjusting the PKG_CONFIG_PATH environment variable if you 19875installed software in a non-standard prefix. 19876 19877Alternatively, you may set the environment variables QT3_CFLAGS 19878and QT3_LIBS to avoid the need to call pkg-config. 19879See the pkg-config man page for more details. 19880" "$LINENO" 5 19881elif test $pkg_failed = untried; then 19882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19883$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19884as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 19885is in your PATH or set the PKG_CONFIG environment variable to the full 19886path to pkg-config. 19887 19888Alternatively, you may set the environment variables QT3_CFLAGS 19889and QT3_LIBS to avoid the need to call pkg-config. 19890See the pkg-config man page for more details. 19891 19892To get pkg-config, see <http://pkg-config.freedesktop.org/>. 19893See \`config.log' for more details" "$LINENO" 5 ; } 19894else 19895 QT3_CFLAGS=$pkg_cv_QT3_CFLAGS 19896 QT3_LIBS=$pkg_cv_QT3_LIBS 19897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19898$as_echo "yes" >&6; } 19899 : 19900fi 19901 19902 19903 QT3_PREFIX="`$PKG_CONFIG --variable=prefix qt-mt`/bin" 19904 for ac_prog in moc-qt3 moc 19905do 19906 # Extract the first word of "$ac_prog", so it can be a program name with args. 19907set dummy $ac_prog; ac_word=$2 19908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19909$as_echo_n "checking for $ac_word... " >&6; } 19910if test "${ac_cv_path_MOC_QT3+set}" = set; then : 19911 $as_echo_n "(cached) " >&6 19912else 19913 case $MOC_QT3 in 19914 [\\/]* | ?:[\\/]*) 19915 ac_cv_path_MOC_QT3="$MOC_QT3" # Let the user override the test with a path. 19916 ;; 19917 *) 19918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19919for as_dir in $QT3_PREFIX 19920do 19921 IFS=$as_save_IFS 19922 test -z "$as_dir" && as_dir=. 19923 for ac_exec_ext in '' $ac_executable_extensions; do 19924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19925 ac_cv_path_MOC_QT3="$as_dir/$ac_word$ac_exec_ext" 19926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19927 break 2 19928 fi 19929done 19930 done 19931IFS=$as_save_IFS 19932 19933 ;; 19934esac 19935fi 19936MOC_QT3=$ac_cv_path_MOC_QT3 19937if test -n "$MOC_QT3"; then 19938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC_QT3" >&5 19939$as_echo "$MOC_QT3" >&6; } 19940else 19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19942$as_echo "no" >&6; } 19943fi 19944 19945 19946 test -n "$MOC_QT3" && break 19947done 19948test -n "$MOC_QT3" || MOC_QT3="no" 19949 19950 if test "$MOC_QT3" = no; then 19951 as_fn_error $? "Could not find QT3 moc" "$LINENO" 5 19952 fi 19953 19954fi 19955 if test "x$HAVE_QT3" = "xyes"; then 19956 HAVE_QT3_TRUE= 19957 HAVE_QT3_FALSE='#' 19958else 19959 HAVE_QT3_TRUE='#' 19960 HAVE_QT3_FALSE= 19961fi 19962 19963 19964# 19965# Check for Qt 4 19966# 19967# Check whether --enable-qt4 was given. 19968if test "${enable_qt4+set}" = set; then : 19969 enableval=$enable_qt4; case "${enableval}" in 19970 yes) HAVE_QT4=yes ;; 19971 no) HAVE_QT4=no ;; 19972 *) as_fn_error $? "bad value ${enableval} for --enable-qt4" "$LINENO" 5 ;; 19973 esac 19974else 19975 HAVE_QT4=yes 19976fi 19977 19978 19979if test "x$HAVE_QT4" = "xyes" ; then 19980 19981pkg_failed=no 19982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT4" >&5 19983$as_echo_n "checking for QT4... " >&6; } 19984 19985if test -n "$PKG_CONFIG"; then 19986 if test -n "$QT4_CFLAGS"; then 19987 pkg_cv_QT4_CFLAGS="$QT4_CFLAGS" 19988 else 19989 if test -n "$PKG_CONFIG" && \ 19990 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" QtCore >= 4.0.0 \""; } >&5 19991 ($PKG_CONFIG --exists --print-errors " QtCore >= 4.0.0 ") 2>&5 19992 ac_status=$? 19993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19994 test $ac_status = 0; }; then 19995 pkg_cv_QT4_CFLAGS=`$PKG_CONFIG --cflags " QtCore >= 4.0.0 " 2>/dev/null` 19996else 19997 pkg_failed=yes 19998fi 19999 fi 20000else 20001 pkg_failed=untried 20002fi 20003if test -n "$PKG_CONFIG"; then 20004 if test -n "$QT4_LIBS"; then 20005 pkg_cv_QT4_LIBS="$QT4_LIBS" 20006 else 20007 if test -n "$PKG_CONFIG" && \ 20008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" QtCore >= 4.0.0 \""; } >&5 20009 ($PKG_CONFIG --exists --print-errors " QtCore >= 4.0.0 ") 2>&5 20010 ac_status=$? 20011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20012 test $ac_status = 0; }; then 20013 pkg_cv_QT4_LIBS=`$PKG_CONFIG --libs " QtCore >= 4.0.0 " 2>/dev/null` 20014else 20015 pkg_failed=yes 20016fi 20017 fi 20018else 20019 pkg_failed=untried 20020fi 20021 20022 20023 20024if test $pkg_failed = yes; then 20025 20026if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20027 _pkg_short_errors_supported=yes 20028else 20029 _pkg_short_errors_supported=no 20030fi 20031 if test $_pkg_short_errors_supported = yes; then 20032 QT4_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " QtCore >= 4.0.0 "` 20033 else 20034 QT4_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " QtCore >= 4.0.0 "` 20035 fi 20036 # Put the nasty error message in config.log where it belongs 20037 echo "$QT4_PKG_ERRORS" >&5 20038 20039 as_fn_error $? "Package requirements ( QtCore >= 4.0.0 ) were not met: 20040 20041$QT4_PKG_ERRORS 20042 20043Consider adjusting the PKG_CONFIG_PATH environment variable if you 20044installed software in a non-standard prefix. 20045 20046Alternatively, you may set the environment variables QT4_CFLAGS 20047and QT4_LIBS to avoid the need to call pkg-config. 20048See the pkg-config man page for more details. 20049" "$LINENO" 5 20050elif test $pkg_failed = untried; then 20051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20052$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20053as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 20054is in your PATH or set the PKG_CONFIG environment variable to the full 20055path to pkg-config. 20056 20057Alternatively, you may set the environment variables QT4_CFLAGS 20058and QT4_LIBS to avoid the need to call pkg-config. 20059See the pkg-config man page for more details. 20060 20061To get pkg-config, see <http://pkg-config.freedesktop.org/>. 20062See \`config.log' for more details" "$LINENO" 5 ; } 20063else 20064 QT4_CFLAGS=$pkg_cv_QT4_CFLAGS 20065 QT4_LIBS=$pkg_cv_QT4_LIBS 20066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20067$as_echo "yes" >&6; } 20068 : 20069fi 20070 20071 20072 QT4_PREFIX="`$PKG_CONFIG --variable=prefix QtCore`/bin" 20073 for ac_prog in moc-qt4 moc 20074do 20075 # Extract the first word of "$ac_prog", so it can be a program name with args. 20076set dummy $ac_prog; ac_word=$2 20077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20078$as_echo_n "checking for $ac_word... " >&6; } 20079if test "${ac_cv_path_MOC_QT4+set}" = set; then : 20080 $as_echo_n "(cached) " >&6 20081else 20082 case $MOC_QT4 in 20083 [\\/]* | ?:[\\/]*) 20084 ac_cv_path_MOC_QT4="$MOC_QT4" # Let the user override the test with a path. 20085 ;; 20086 *) 20087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20088for as_dir in $QT4_PREFIX 20089do 20090 IFS=$as_save_IFS 20091 test -z "$as_dir" && as_dir=. 20092 for ac_exec_ext in '' $ac_executable_extensions; do 20093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 20094 ac_cv_path_MOC_QT4="$as_dir/$ac_word$ac_exec_ext" 20095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20096 break 2 20097 fi 20098done 20099 done 20100IFS=$as_save_IFS 20101 20102 ;; 20103esac 20104fi 20105MOC_QT4=$ac_cv_path_MOC_QT4 20106if test -n "$MOC_QT4"; then 20107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC_QT4" >&5 20108$as_echo "$MOC_QT4" >&6; } 20109else 20110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20111$as_echo "no" >&6; } 20112fi 20113 20114 20115 test -n "$MOC_QT4" && break 20116done 20117test -n "$MOC_QT4" || MOC_QT4="no" 20118 20119 if test "$MOC_QT4" = no; then 20120 as_fn_error $? "Could not find QT4 moc" "$LINENO" 5 20121 fi 20122 20123fi 20124 if test "x$HAVE_QT4" = "xyes"; then 20125 HAVE_QT4_TRUE= 20126 HAVE_QT4_FALSE='#' 20127else 20128 HAVE_QT4_TRUE='#' 20129 HAVE_QT4_FALSE= 20130fi 20131 20132 20133# 20134# Check for GTK+ 2.0 20135# 20136# Check whether --enable-gtk was given. 20137if test "${enable_gtk+set}" = set; then : 20138 enableval=$enable_gtk; case "${enableval}" in 20139 yes) HAVE_GTK=yes ;; 20140 no) HAVE_GTK=no ;; 20141 *) as_fn_error $? "bad value ${enableval} for --enable-gtk" "$LINENO" 5 ;; 20142 esac 20143else 20144 HAVE_GTK=yes 20145fi 20146 20147 20148if test "x$HAVE_GTK" = "xyes" ; then 20149 # Check for GTK 2.0 20150 20151pkg_failed=no 20152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK20" >&5 20153$as_echo_n "checking for GTK20... " >&6; } 20154 20155if test -n "$PKG_CONFIG"; then 20156 if test -n "$GTK20_CFLAGS"; then 20157 pkg_cv_GTK20_CFLAGS="$GTK20_CFLAGS" 20158 else 20159 if test -n "$PKG_CONFIG" && \ 20160 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtk+-2.0 >= 2.14.0 \""; } >&5 20161 ($PKG_CONFIG --exists --print-errors " gtk+-2.0 >= 2.14.0 ") 2>&5 20162 ac_status=$? 20163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20164 test $ac_status = 0; }; then 20165 pkg_cv_GTK20_CFLAGS=`$PKG_CONFIG --cflags " gtk+-2.0 >= 2.14.0 " 2>/dev/null` 20166else 20167 pkg_failed=yes 20168fi 20169 fi 20170else 20171 pkg_failed=untried 20172fi 20173if test -n "$PKG_CONFIG"; then 20174 if test -n "$GTK20_LIBS"; then 20175 pkg_cv_GTK20_LIBS="$GTK20_LIBS" 20176 else 20177 if test -n "$PKG_CONFIG" && \ 20178 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtk+-2.0 >= 2.14.0 \""; } >&5 20179 ($PKG_CONFIG --exists --print-errors " gtk+-2.0 >= 2.14.0 ") 2>&5 20180 ac_status=$? 20181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20182 test $ac_status = 0; }; then 20183 pkg_cv_GTK20_LIBS=`$PKG_CONFIG --libs " gtk+-2.0 >= 2.14.0 " 2>/dev/null` 20184else 20185 pkg_failed=yes 20186fi 20187 fi 20188else 20189 pkg_failed=untried 20190fi 20191 20192 20193 20194if test $pkg_failed = yes; then 20195 20196if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20197 _pkg_short_errors_supported=yes 20198else 20199 _pkg_short_errors_supported=no 20200fi 20201 if test $_pkg_short_errors_supported = yes; then 20202 GTK20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gtk+-2.0 >= 2.14.0 "` 20203 else 20204 GTK20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gtk+-2.0 >= 2.14.0 "` 20205 fi 20206 # Put the nasty error message in config.log where it belongs 20207 echo "$GTK20_PKG_ERRORS" >&5 20208 20209 as_fn_error $? "Package requirements ( gtk+-2.0 >= 2.14.0 ) were not met: 20210 20211$GTK20_PKG_ERRORS 20212 20213Consider adjusting the PKG_CONFIG_PATH environment variable if you 20214installed software in a non-standard prefix. 20215 20216Alternatively, you may set the environment variables GTK20_CFLAGS 20217and GTK20_LIBS to avoid the need to call pkg-config. 20218See the pkg-config man page for more details. 20219" "$LINENO" 5 20220elif test $pkg_failed = untried; then 20221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20222$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20223as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 20224is in your PATH or set the PKG_CONFIG environment variable to the full 20225path to pkg-config. 20226 20227Alternatively, you may set the environment variables GTK20_CFLAGS 20228and GTK20_LIBS to avoid the need to call pkg-config. 20229See the pkg-config man page for more details. 20230 20231To get pkg-config, see <http://pkg-config.freedesktop.org/>. 20232See \`config.log' for more details" "$LINENO" 5 ; } 20233else 20234 GTK20_CFLAGS=$pkg_cv_GTK20_CFLAGS 20235 GTK20_LIBS=$pkg_cv_GTK20_LIBS 20236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20237$as_echo "yes" >&6; } 20238 : 20239fi 20240 20241 20242fi 20243 if test "x$HAVE_GTK" = "xyes"; then 20244 HAVE_GTK_TRUE= 20245 HAVE_GTK_FALSE='#' 20246else 20247 HAVE_GTK_TRUE='#' 20248 HAVE_GTK_FALSE= 20249fi 20250 20251 20252# 20253# Check for GTK+ 3.0 20254# 20255# Check whether --enable-gtk3 was given. 20256if test "${enable_gtk3+set}" = set; then : 20257 enableval=$enable_gtk3; case "${enableval}" in 20258 yes) HAVE_GTK3=yes ;; 20259 no) HAVE_GTK3=no ;; 20260 *) as_fn_error $? "bad value ${enableval} for --enable-gtk3" "$LINENO" 5 ;; 20261 esac 20262else 20263 HAVE_GTK3=yes 20264fi 20265 20266 20267if test "x$HAVE_GTK3" = "xyes" ; then 20268 # Check for GTK 3.0 20269 20270pkg_failed=no 20271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK30" >&5 20272$as_echo_n "checking for GTK30... " >&6; } 20273 20274if test -n "$PKG_CONFIG"; then 20275 if test -n "$GTK30_CFLAGS"; then 20276 pkg_cv_GTK30_CFLAGS="$GTK30_CFLAGS" 20277 else 20278 if test -n "$PKG_CONFIG" && \ 20279 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtk+-3.0 \""; } >&5 20280 ($PKG_CONFIG --exists --print-errors " gtk+-3.0 ") 2>&5 20281 ac_status=$? 20282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20283 test $ac_status = 0; }; then 20284 pkg_cv_GTK30_CFLAGS=`$PKG_CONFIG --cflags " gtk+-3.0 " 2>/dev/null` 20285else 20286 pkg_failed=yes 20287fi 20288 fi 20289else 20290 pkg_failed=untried 20291fi 20292if test -n "$PKG_CONFIG"; then 20293 if test -n "$GTK30_LIBS"; then 20294 pkg_cv_GTK30_LIBS="$GTK30_LIBS" 20295 else 20296 if test -n "$PKG_CONFIG" && \ 20297 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtk+-3.0 \""; } >&5 20298 ($PKG_CONFIG --exists --print-errors " gtk+-3.0 ") 2>&5 20299 ac_status=$? 20300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20301 test $ac_status = 0; }; then 20302 pkg_cv_GTK30_LIBS=`$PKG_CONFIG --libs " gtk+-3.0 " 2>/dev/null` 20303else 20304 pkg_failed=yes 20305fi 20306 fi 20307else 20308 pkg_failed=untried 20309fi 20310 20311 20312 20313if test $pkg_failed = yes; then 20314 20315if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20316 _pkg_short_errors_supported=yes 20317else 20318 _pkg_short_errors_supported=no 20319fi 20320 if test $_pkg_short_errors_supported = yes; then 20321 GTK30_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gtk+-3.0 "` 20322 else 20323 GTK30_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gtk+-3.0 "` 20324 fi 20325 # Put the nasty error message in config.log where it belongs 20326 echo "$GTK30_PKG_ERRORS" >&5 20327 20328 as_fn_error $? "Package requirements ( gtk+-3.0 ) were not met: 20329 20330$GTK30_PKG_ERRORS 20331 20332Consider adjusting the PKG_CONFIG_PATH environment variable if you 20333installed software in a non-standard prefix. 20334 20335Alternatively, you may set the environment variables GTK30_CFLAGS 20336and GTK30_LIBS to avoid the need to call pkg-config. 20337See the pkg-config man page for more details. 20338" "$LINENO" 5 20339elif test $pkg_failed = untried; then 20340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20341$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20342as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 20343is in your PATH or set the PKG_CONFIG environment variable to the full 20344path to pkg-config. 20345 20346Alternatively, you may set the environment variables GTK30_CFLAGS 20347and GTK30_LIBS to avoid the need to call pkg-config. 20348See the pkg-config man page for more details. 20349 20350To get pkg-config, see <http://pkg-config.freedesktop.org/>. 20351See \`config.log' for more details" "$LINENO" 5 ; } 20352else 20353 GTK30_CFLAGS=$pkg_cv_GTK30_CFLAGS 20354 GTK30_LIBS=$pkg_cv_GTK30_LIBS 20355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20356$as_echo "yes" >&6; } 20357 : 20358fi 20359 20360 20361fi 20362 if test "x$HAVE_GTK3" = "xyes"; then 20363 HAVE_GTK3_TRUE= 20364 HAVE_GTK3_FALSE='#' 20365else 20366 HAVE_GTK3_TRUE='#' 20367 HAVE_GTK3_FALSE= 20368fi 20369 20370 20371 if test "x$HAVE_GTK3" = "xyes" -o "x$HAVE_GTK" = "xyes" ; then 20372 HAVE_GTK2OR3_TRUE= 20373 HAVE_GTK2OR3_FALSE='#' 20374else 20375 HAVE_GTK2OR3_TRUE='#' 20376 HAVE_GTK2OR3_FALSE= 20377fi 20378 20379 20380# 20381# D-Bus 20382# 20383# Check whether --enable-dbus was given. 20384if test "${enable_dbus+set}" = set; then : 20385 enableval=$enable_dbus; case "${enableval}" in 20386 yes) HAVE_DBUS=yes ;; 20387 no) HAVE_DBUS=no ;; 20388 *) as_fn_error $? "bad value ${enableval} for --enable-dbus" "$LINENO" 5 ;; 20389 esac 20390else 20391 HAVE_DBUS=yes 20392fi 20393 20394 20395 20396# Check whether --with-dbus-sys was given. 20397if test "${with_dbus_sys+set}" = set; then : 20398 withval=$with_dbus_sys; 20399fi 20400 20401 20402# Check whether --with-dbus-system-socket was given. 20403if test "${with_dbus_system_socket+set}" = set; then : 20404 withval=$with_dbus_system_socket; 20405fi 20406 20407 20408DBUS_VERSION="Disabled" 20409DBUS_SYS_DIR="Disabled" 20410DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="Disabled" 20411if test "x$HAVE_DBUS" = "xyes" ; then 20412 20413pkg_failed=no 20414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5 20415$as_echo_n "checking for DBUS... " >&6; } 20416 20417if test -n "$PKG_CONFIG"; then 20418 if test -n "$DBUS_CFLAGS"; then 20419 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" 20420 else 20421 if test -n "$PKG_CONFIG" && \ 20422 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" dbus-1 >= 0.34 \""; } >&5 20423 ($PKG_CONFIG --exists --print-errors " dbus-1 >= 0.34 ") 2>&5 20424 ac_status=$? 20425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20426 test $ac_status = 0; }; then 20427 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags " dbus-1 >= 0.34 " 2>/dev/null` 20428else 20429 pkg_failed=yes 20430fi 20431 fi 20432else 20433 pkg_failed=untried 20434fi 20435if test -n "$PKG_CONFIG"; then 20436 if test -n "$DBUS_LIBS"; then 20437 pkg_cv_DBUS_LIBS="$DBUS_LIBS" 20438 else 20439 if test -n "$PKG_CONFIG" && \ 20440 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" dbus-1 >= 0.34 \""; } >&5 20441 ($PKG_CONFIG --exists --print-errors " dbus-1 >= 0.34 ") 2>&5 20442 ac_status=$? 20443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20444 test $ac_status = 0; }; then 20445 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs " dbus-1 >= 0.34 " 2>/dev/null` 20446else 20447 pkg_failed=yes 20448fi 20449 fi 20450else 20451 pkg_failed=untried 20452fi 20453 20454 20455 20456if test $pkg_failed = yes; then 20457 20458if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20459 _pkg_short_errors_supported=yes 20460else 20461 _pkg_short_errors_supported=no 20462fi 20463 if test $_pkg_short_errors_supported = yes; then 20464 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " dbus-1 >= 0.34 "` 20465 else 20466 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " dbus-1 >= 0.34 "` 20467 fi 20468 # Put the nasty error message in config.log where it belongs 20469 echo "$DBUS_PKG_ERRORS" >&5 20470 20471 as_fn_error $? "Package requirements ( dbus-1 >= 0.34 ) were not met: 20472 20473$DBUS_PKG_ERRORS 20474 20475Consider adjusting the PKG_CONFIG_PATH environment variable if you 20476installed software in a non-standard prefix. 20477 20478Alternatively, you may set the environment variables DBUS_CFLAGS 20479and DBUS_LIBS to avoid the need to call pkg-config. 20480See the pkg-config man page for more details. 20481" "$LINENO" 5 20482elif test $pkg_failed = untried; then 20483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20484$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20485as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 20486is in your PATH or set the PKG_CONFIG environment variable to the full 20487path to pkg-config. 20488 20489Alternatively, you may set the environment variables DBUS_CFLAGS 20490and DBUS_LIBS to avoid the need to call pkg-config. 20491See the pkg-config man page for more details. 20492 20493To get pkg-config, see <http://pkg-config.freedesktop.org/>. 20494See \`config.log' for more details" "$LINENO" 5 ; } 20495else 20496 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS 20497 DBUS_LIBS=$pkg_cv_DBUS_LIBS 20498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20499$as_echo "yes" >&6; } 20500 : 20501fi 20502 20503 20504$as_echo "#define HAVE_DBUS 1" >>confdefs.h 20505 20506 20507 DBUS_VERSION=`$PKG_CONFIG dbus-1 --modversion` 20508 DBUS_VERSION_MAJOR=`echo $DBUS_VERSION | awk -F. '{print $1}'` 20509 DBUS_VERSION_MINOR=`echo $DBUS_VERSION | awk -F. '{print $2}'` 20510 DBUS_VERSION_MICRO=`echo $DBUS_VERSION | awk -F. '{print $3}'` 20511 if test "z$DBUS_VERSION_MAJOR" = "z"; then 20512 DBUS_VERSION_MAJOR="0" 20513 fi 20514 if test "z$DBUS_VERSION_MINOR" = "z"; then 20515 DBUS_VERSION_MINOR="0" 20516 fi 20517 if test "z$DBUS_VERSION_MICRO" = "z"; then 20518 DBUS_VERSION_MICRO="0" 20519 fi 20520 20521 if test "z$DBUS_VERSION_MAJOR" = "z0" -a "z$DBUS_VERSION_MINOR" = "z0" -a "z$DBUS_VERSION_MICRO" = "z0"; then 20522 echo "Error: Couldn't determine the version of your D-Bus package." 20523 echo " This is probably an error in this script, please report it" 20524 echo " along with the following information:" 20525 echo " Base D-Buss version ='$DBUS_VERSION'" 20526 echo " DBUS_VERSION_MAJOR='$DBUS_VERSION_MAJOR'" 20527 echo " DBUS_VERSION_MINOR='$DBUS_VERSION_MINOR'" 20528 echo " DBUS_VERSION_MICRO='$DBUS_VERSION_MICRO'" 20529 exit 1 20530 else 20531 echo "Your D-Bus version is $DBUS_VERSION_MAJOR,$DBUS_VERSION_MINOR,$DBUS_VERSION_MICRO." 20532 DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR" 20533 DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR" 20534 DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO" 20535 fi 20536 20537 DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_API_SUBJECT_TO_CHANGE" 20538 20539 20540 20541 if ! test -z "$with_dbus_sys" ; then 20542 DBUS_SYS_DIR="$with_dbus_sys" 20543 else 20544 DBUS_SYS_DIR="${sysconfdir}/dbus-1/system.d" 20545 fi 20546 20547 20548 if ! test -z "$with_dbus_system_address" ; then 20549 DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="$with_dbus_system_address" 20550 else 20551 # This is ugly, but D-Bus doesn't export this address for us 20552 # so we have to guess, pretty much all setups i've seen have 20553 # it in /var/lib/dbus or /var/run/dbus, and its defaulted to 20554 # /var/run upstream so we will try guess first then default 20555 # to /var/run/dbus. 20556 20557 DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="unix:path=/var/run/dbus/system_bus_socket" 20558 TRY_SOCKETS="/var/lib/dbus/system_bus_socket /var/run/dbus/system_bus_socket ${localstatedir}/run/dbus/system_bus_socket ${prefix}/var/run/dbus/system_bus_socket" 20559 for sock in $TRY_SOCKETS; do 20560 if test -S $sock; then 20561 DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="unix:path=$sock" 20562 fi 20563 done 20564 fi 20565 20566 20567 SAVED_LIBS="$LIBS" 20568 LIBS="$LIBS $DBUS_LIBS" 20569 for ac_func in dbus_connection_close dbus_bus_get_private 20570do : 20571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20572ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20573if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20574 cat >>confdefs.h <<_ACEOF 20575#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20576_ACEOF 20577 20578fi 20579done 20580 20581 LIBS="$SAVED_LIBS" 20582fi 20583 if test "x$HAVE_DBUS" = "xyes"; then 20584 HAVE_DBUS_TRUE= 20585 HAVE_DBUS_FALSE='#' 20586else 20587 HAVE_DBUS_TRUE='#' 20588 HAVE_DBUS_FALSE= 20589fi 20590 20591 20592# 20593# Expat 20594# 20595 20596# Check whether --with-xml was given. 20597if test "${with_xml+set}" = set; then : 20598 withval=$with_xml; 20599fi 20600 20601use_expat=false 20602use_bsdxml=false 20603 20604# See what we have 20605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5 20606$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; } 20607if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then : 20608 $as_echo_n "(cached) " >&6 20609else 20610 ac_check_lib_save_LIBS=$LIBS 20611LIBS="-lexpat $LIBS" 20612cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20613/* end confdefs.h. */ 20614 20615/* Override any GCC internal prototype to avoid an error. 20616 Use char because int might match the return type of a GCC 20617 builtin and then its argument prototype would still apply. */ 20618#ifdef __cplusplus 20619extern "C" 20620#endif 20621char XML_ParserCreate (); 20622int 20623main () 20624{ 20625return XML_ParserCreate (); 20626 ; 20627 return 0; 20628} 20629_ACEOF 20630if ac_fn_c_try_link "$LINENO"; then : 20631 ac_cv_lib_expat_XML_ParserCreate=yes 20632else 20633 ac_cv_lib_expat_XML_ParserCreate=no 20634fi 20635rm -f core conftest.err conftest.$ac_objext \ 20636 conftest$ac_exeext conftest.$ac_ext 20637LIBS=$ac_check_lib_save_LIBS 20638fi 20639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5 20640$as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; } 20641if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then : 20642 for ac_header in expat.h 20643do : 20644 ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default" 20645if test "x$ac_cv_header_expat_h" = x""yes; then : 20646 cat >>confdefs.h <<_ACEOF 20647#define HAVE_EXPAT_H 1 20648_ACEOF 20649 have_expat=true 20650else 20651 have_expat=false 20652fi 20653 20654done 20655 20656else 20657 have_expat=false 20658fi 20659 20660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lbsdxml" >&5 20661$as_echo_n "checking for XML_ParserCreate in -lbsdxml... " >&6; } 20662if test "${ac_cv_lib_bsdxml_XML_ParserCreate+set}" = set; then : 20663 $as_echo_n "(cached) " >&6 20664else 20665 ac_check_lib_save_LIBS=$LIBS 20666LIBS="-lbsdxml $LIBS" 20667cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20668/* end confdefs.h. */ 20669 20670/* Override any GCC internal prototype to avoid an error. 20671 Use char because int might match the return type of a GCC 20672 builtin and then its argument prototype would still apply. */ 20673#ifdef __cplusplus 20674extern "C" 20675#endif 20676char XML_ParserCreate (); 20677int 20678main () 20679{ 20680return XML_ParserCreate (); 20681 ; 20682 return 0; 20683} 20684_ACEOF 20685if ac_fn_c_try_link "$LINENO"; then : 20686 ac_cv_lib_bsdxml_XML_ParserCreate=yes 20687else 20688 ac_cv_lib_bsdxml_XML_ParserCreate=no 20689fi 20690rm -f core conftest.err conftest.$ac_objext \ 20691 conftest$ac_exeext conftest.$ac_ext 20692LIBS=$ac_check_lib_save_LIBS 20693fi 20694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsdxml_XML_ParserCreate" >&5 20695$as_echo "$ac_cv_lib_bsdxml_XML_ParserCreate" >&6; } 20696if test "x$ac_cv_lib_bsdxml_XML_ParserCreate" = x""yes; then : 20697 for ac_header in bsdxml.h 20698do : 20699 ac_fn_c_check_header_mongrel "$LINENO" "bsdxml.h" "ac_cv_header_bsdxml_h" "$ac_includes_default" 20700if test "x$ac_cv_header_bsdxml_h" = x""yes; then : 20701 cat >>confdefs.h <<_ACEOF 20702#define HAVE_BSDXML_H 1 20703_ACEOF 20704 have_bsdxml=true 20705else 20706 have_bsdxml=false 20707fi 20708 20709done 20710 20711else 20712 have_bsdxml=false 20713fi 20714 20715 20716if test "x$with_xml" = "xnone"; then 20717 : 20718elif test "x$with_xml" = "xexpat"; then 20719 use_expat=true 20720 if ! $have_expat ; then 20721 as_fn_error $? "*** libexpat requested, but not found ***" "$LINENO" 5 20722 fi 20723elif test "x$with_xml" = "xbsdxml"; then 20724 use_bsdxml=true 20725 if ! $have_bsdxml ; then 20726 as_fn_error $? "*** libbsdxml requested, but not found ***" "$LINENO" 5 20727 fi 20728elif test "x$with_xml" != "x"; then 20729 as_fn_error $? "*** unknown with-xml option ***" "$LINENO" 5 20730else 20731 if $have_expat ; then 20732 use_expat=true 20733 elif $have_bsdxml ; then 20734 use_bsdxml=true 20735 else 20736 as_fn_error $? "*** neither libexpat not libbsdxml could be found ***" "$LINENO" 5 20737 fi 20738fi 20739 20740if $use_expat; then 20741 with_xml=expat 20742 XML_CFLAGS=-DUSE_EXPAT_H 20743 XML_LIBS=-lexpat 20744fi 20745if $use_bsdxml; then 20746 with_xml=bsdxml 20747 XML_CFLAGS=-DUSE_BSDXML_H 20748 XML_LIBS=-lbsdxml 20749fi 20750 20751 20752 20753if $use_expat || $use_bsdxml; then 20754 HAVE_XML=yes 20755fi 20756 20757 if test "x$HAVE_XML" = "xyes"; then 20758 HAVE_XML_TRUE= 20759 HAVE_XML_FALSE='#' 20760else 20761 HAVE_XML_TRUE='#' 20762 HAVE_XML_FALSE= 20763fi 20764 20765 20766# 20767# GDBM 20768# 20769# 20770# Check for dbm 20771# 20772# Check whether --enable-dbm was given. 20773if test "${enable_dbm+set}" = set; then : 20774 enableval=$enable_dbm; case "${enableval}" in 20775 yes) HAVE_DBM=yes ;; 20776 no) HAVE_DBM=no ;; 20777 *) as_fn_error $? "bad value ${enableval} for --enable-dbm" "$LINENO" 5 ;; 20778 esac 20779else 20780 HAVE_DBM=no 20781fi 20782 20783 20784# Check whether --enable-gdbm was given. 20785if test "${enable_gdbm+set}" = set; then : 20786 enableval=$enable_gdbm; case "${enableval}" in 20787 yes) HAVE_GDBM=yes ;; 20788 no) HAVE_GDBM=no ;; 20789 *) as_fn_error $? "bad value ${enableval} for --disable-gdbm" "$LINENO" 5 ;; 20790 esac 20791else 20792 HAVE_GDBM=yes 20793fi 20794 20795 20796if test "x$HAVE_GDBM" = "xyes" ; then 20797 if test "x$HAVE_DBM" = "xyes" ; then 20798 as_fn_error $? "*** --enable-gdbm and --enable-dbm both specified ***" "$LINENO" 5 20799 fi 20800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5 20801$as_echo_n "checking for gdbm_open in -lgdbm... " >&6; } 20802if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then : 20803 $as_echo_n "(cached) " >&6 20804else 20805 ac_check_lib_save_LIBS=$LIBS 20806LIBS="-lgdbm $LIBS" 20807cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20808/* end confdefs.h. */ 20809 20810/* Override any GCC internal prototype to avoid an error. 20811 Use char because int might match the return type of a GCC 20812 builtin and then its argument prototype would still apply. */ 20813#ifdef __cplusplus 20814extern "C" 20815#endif 20816char gdbm_open (); 20817int 20818main () 20819{ 20820return gdbm_open (); 20821 ; 20822 return 0; 20823} 20824_ACEOF 20825if ac_fn_c_try_link "$LINENO"; then : 20826 ac_cv_lib_gdbm_gdbm_open=yes 20827else 20828 ac_cv_lib_gdbm_gdbm_open=no 20829fi 20830rm -f core conftest.err conftest.$ac_objext \ 20831 conftest$ac_exeext conftest.$ac_ext 20832LIBS=$ac_check_lib_save_LIBS 20833fi 20834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5 20835$as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; } 20836if test "x$ac_cv_lib_gdbm_gdbm_open" = x""yes; then : 20837 for ac_header in gdbm.h 20838do : 20839 ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default" 20840if test "x$ac_cv_header_gdbm_h" = x""yes; then : 20841 cat >>confdefs.h <<_ACEOF 20842#define HAVE_GDBM_H 1 20843_ACEOF 20844 have_gdbm=true 20845else 20846 have_gdbm=false 20847fi 20848 20849done 20850 20851else 20852 have_gdbm=false 20853fi 20854 20855 20856 if ! $have_gdbm ; then 20857 as_fn_error $? "*** libgdbm not found ***" "$LINENO" 5 20858 fi 20859 20860$as_echo "#define HAVE_GDBM /**/" >>confdefs.h 20861 20862else 20863 if test "x$HAVE_DBM" = "xyes" ; then 20864 for ac_header in ndbm.h 20865do : 20866 ac_fn_c_check_header_mongrel "$LINENO" "ndbm.h" "ac_cv_header_ndbm_h" "$ac_includes_default" 20867if test "x$ac_cv_header_ndbm_h" = x""yes; then : 20868 cat >>confdefs.h <<_ACEOF 20869#define HAVE_NDBM_H 1 20870_ACEOF 20871 have_dbm=true 20872else 20873 have_dbm=false 20874fi 20875 20876done 20877 20878 20879 if ! $have_dbm ; then 20880 as_fn_error $? "*** dbm not found ***" "$LINENO" 5 20881 fi 20882 20883$as_echo "#define HAVE_DBM /**/" >>confdefs.h 20884 20885 fi 20886fi 20887 if test "x$HAVE_GDBM" = "xyes"; then 20888 HAVE_GDBM_TRUE= 20889 HAVE_GDBM_FALSE='#' 20890else 20891 HAVE_GDBM_TRUE='#' 20892 HAVE_GDBM_FALSE= 20893fi 20894 20895 if test "x$HAVE_DBM" = "xyes"; then 20896 HAVE_DBM_TRUE= 20897 HAVE_DBM_FALSE='#' 20898else 20899 HAVE_DBM_TRUE='#' 20900 HAVE_DBM_FALSE= 20901fi 20902 20903 20904# 20905# libdaemon 20906# 20907# Check whether --enable-libdaemon was given. 20908if test "${enable_libdaemon+set}" = set; then : 20909 enableval=$enable_libdaemon; case "${enableval}" in 20910 yes) HAVE_LIBDAEMON=yes ;; 20911 no) HAVE_LIBDAEMON=no ;; 20912 *) as_fn_error $? "bad value ${enableval} for --enable-libdaemon" "$LINENO" 5 ;; 20913 esac 20914else 20915 HAVE_LIBDAEMON=yes 20916fi 20917 20918 20919if test "x$HAVE_LIBDAEMON" = "xyes" ; then 20920 20921pkg_failed=no 20922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDAEMON" >&5 20923$as_echo_n "checking for LIBDAEMON... " >&6; } 20924 20925if test -n "$PKG_CONFIG"; then 20926 if test -n "$LIBDAEMON_CFLAGS"; then 20927 pkg_cv_LIBDAEMON_CFLAGS="$LIBDAEMON_CFLAGS" 20928 else 20929 if test -n "$PKG_CONFIG" && \ 20930 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libdaemon >= 0.14 \""; } >&5 20931 ($PKG_CONFIG --exists --print-errors " libdaemon >= 0.14 ") 2>&5 20932 ac_status=$? 20933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20934 test $ac_status = 0; }; then 20935 pkg_cv_LIBDAEMON_CFLAGS=`$PKG_CONFIG --cflags " libdaemon >= 0.14 " 2>/dev/null` 20936else 20937 pkg_failed=yes 20938fi 20939 fi 20940else 20941 pkg_failed=untried 20942fi 20943if test -n "$PKG_CONFIG"; then 20944 if test -n "$LIBDAEMON_LIBS"; then 20945 pkg_cv_LIBDAEMON_LIBS="$LIBDAEMON_LIBS" 20946 else 20947 if test -n "$PKG_CONFIG" && \ 20948 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libdaemon >= 0.14 \""; } >&5 20949 ($PKG_CONFIG --exists --print-errors " libdaemon >= 0.14 ") 2>&5 20950 ac_status=$? 20951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20952 test $ac_status = 0; }; then 20953 pkg_cv_LIBDAEMON_LIBS=`$PKG_CONFIG --libs " libdaemon >= 0.14 " 2>/dev/null` 20954else 20955 pkg_failed=yes 20956fi 20957 fi 20958else 20959 pkg_failed=untried 20960fi 20961 20962 20963 20964if test $pkg_failed = yes; then 20965 20966if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20967 _pkg_short_errors_supported=yes 20968else 20969 _pkg_short_errors_supported=no 20970fi 20971 if test $_pkg_short_errors_supported = yes; then 20972 LIBDAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " libdaemon >= 0.14 "` 20973 else 20974 LIBDAEMON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " libdaemon >= 0.14 "` 20975 fi 20976 # Put the nasty error message in config.log where it belongs 20977 echo "$LIBDAEMON_PKG_ERRORS" >&5 20978 20979 as_fn_error $? "Package requirements ( libdaemon >= 0.14 ) were not met: 20980 20981$LIBDAEMON_PKG_ERRORS 20982 20983Consider adjusting the PKG_CONFIG_PATH environment variable if you 20984installed software in a non-standard prefix. 20985 20986Alternatively, you may set the environment variables LIBDAEMON_CFLAGS 20987and LIBDAEMON_LIBS to avoid the need to call pkg-config. 20988See the pkg-config man page for more details. 20989" "$LINENO" 5 20990elif test $pkg_failed = untried; then 20991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20992$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20993as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 20994is in your PATH or set the PKG_CONFIG environment variable to the full 20995path to pkg-config. 20996 20997Alternatively, you may set the environment variables LIBDAEMON_CFLAGS 20998and LIBDAEMON_LIBS to avoid the need to call pkg-config. 20999See the pkg-config man page for more details. 21000 21001To get pkg-config, see <http://pkg-config.freedesktop.org/>. 21002See \`config.log' for more details" "$LINENO" 5 ; } 21003else 21004 LIBDAEMON_CFLAGS=$pkg_cv_LIBDAEMON_CFLAGS 21005 LIBDAEMON_LIBS=$pkg_cv_LIBDAEMON_LIBS 21006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21007$as_echo "yes" >&6; } 21008 : 21009fi 21010 21011 21012fi 21013 if test "x$HAVE_LIBDAEMON" = "xyes"; then 21014 HAVE_LIBDAEMON_TRUE= 21015 HAVE_LIBDAEMON_FALSE='#' 21016else 21017 HAVE_LIBDAEMON_TRUE='#' 21018 HAVE_LIBDAEMON_FALSE= 21019fi 21020 21021 21022# 21023# Python stuff 21024# 21025# Check whether --enable-python was given. 21026if test "${enable_python+set}" = set; then : 21027 enableval=$enable_python; case "${enableval}" in 21028 yes) HAVE_PYTHON=yes ;; 21029 no) HAVE_PYTHON=no ;; 21030 *) as_fn_error $? "bad value ${enableval} for --enable-python" "$LINENO" 5 ;; 21031 esac 21032else 21033 HAVE_PYTHON=yes 21034fi 21035 21036 21037HAVE_PYTHON_DBUS=no 21038HAVE_PYGTK=no 21039 21040if test "x$HAVE_PYTHON" = "xyes" ; then 21041 21042 21043 21044 21045 if test -n "$PYTHON"; then 21046 # If the user set $PYTHON, use it and don't search something else. 21047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.4" >&5 21048$as_echo_n "checking whether $PYTHON version >= 2.4... " >&6; } 21049 prog="import sys 21050# split strings by '.' and convert to numeric. Append some zeros 21051# because we need at least 4 digits for the hex conversion. 21052# map returns an iterator in Python 3.0 and a list in 2.x 21053minver = list(map(int, '2.4'.split('.'))) + [0, 0, 0] 21054minverhex = 0 21055# xrange is not present in Python 3.0 and range returns an iterator 21056for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] 21057sys.exit(sys.hexversion < minverhex)" 21058 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 21059 ($PYTHON -c "$prog") >&5 2>&5 21060 ac_status=$? 21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21062 (exit $ac_status); }; then : 21063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21064$as_echo "yes" >&6; } 21065else 21066 as_fn_error $? "too old" "$LINENO" 5 21067fi 21068 am_display_PYTHON=$PYTHON 21069 else 21070 # Otherwise, try each interpreter until we find one that satisfies 21071 # VERSION. 21072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.4" >&5 21073$as_echo_n "checking for a Python interpreter with version >= 2.4... " >&6; } 21074if test "${am_cv_pathless_PYTHON+set}" = set; then : 21075 $as_echo_n "(cached) " >&6 21076else 21077 21078 for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do 21079 test "$am_cv_pathless_PYTHON" = none && break 21080 prog="import sys 21081# split strings by '.' and convert to numeric. Append some zeros 21082# because we need at least 4 digits for the hex conversion. 21083# map returns an iterator in Python 3.0 and a list in 2.x 21084minver = list(map(int, '2.4'.split('.'))) + [0, 0, 0] 21085minverhex = 0 21086# xrange is not present in Python 3.0 and range returns an iterator 21087for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] 21088sys.exit(sys.hexversion < minverhex)" 21089 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 21090 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 21091 ac_status=$? 21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21093 (exit $ac_status); }; then : 21094 break 21095fi 21096 done 21097fi 21098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 21099$as_echo "$am_cv_pathless_PYTHON" >&6; } 21100 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. 21101 if test "$am_cv_pathless_PYTHON" = none; then 21102 PYTHON=: 21103 else 21104 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. 21105set dummy $am_cv_pathless_PYTHON; ac_word=$2 21106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21107$as_echo_n "checking for $ac_word... " >&6; } 21108if test "${ac_cv_path_PYTHON+set}" = set; then : 21109 $as_echo_n "(cached) " >&6 21110else 21111 case $PYTHON in 21112 [\\/]* | ?:[\\/]*) 21113 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 21114 ;; 21115 *) 21116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21117for as_dir in $PATH 21118do 21119 IFS=$as_save_IFS 21120 test -z "$as_dir" && as_dir=. 21121 for ac_exec_ext in '' $ac_executable_extensions; do 21122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21123 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 21124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21125 break 2 21126 fi 21127done 21128 done 21129IFS=$as_save_IFS 21130 21131 ;; 21132esac 21133fi 21134PYTHON=$ac_cv_path_PYTHON 21135if test -n "$PYTHON"; then 21136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 21137$as_echo "$PYTHON" >&6; } 21138else 21139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21140$as_echo "no" >&6; } 21141fi 21142 21143 21144 fi 21145 am_display_PYTHON=$am_cv_pathless_PYTHON 21146 fi 21147 21148 21149 if test "$PYTHON" = :; then 21150 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 21151 else 21152 21153 21154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 21155$as_echo_n "checking for $am_display_PYTHON version... " >&6; } 21156if test "${am_cv_python_version+set}" = set; then : 21157 $as_echo_n "(cached) " >&6 21158else 21159 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` 21160fi 21161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 21162$as_echo "$am_cv_python_version" >&6; } 21163 PYTHON_VERSION=$am_cv_python_version 21164 21165 21166 21167 PYTHON_PREFIX='${prefix}' 21168 21169 PYTHON_EXEC_PREFIX='${exec_prefix}' 21170 21171 21172 21173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 21174$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } 21175if test "${am_cv_python_platform+set}" = set; then : 21176 $as_echo_n "(cached) " >&6 21177else 21178 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` 21179fi 21180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 21181$as_echo "$am_cv_python_platform" >&6; } 21182 PYTHON_PLATFORM=$am_cv_python_platform 21183 21184 21185 21186 21187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 21188$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } 21189if test "${am_cv_python_pythondir+set}" = set; then : 21190 $as_echo_n "(cached) " >&6 21191else 21192 if test "x$prefix" = xNONE 21193 then 21194 am_py_prefix=$ac_default_prefix 21195 else 21196 am_py_prefix=$prefix 21197 fi 21198 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null || 21199 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` 21200 case $am_cv_python_pythondir in 21201 $am_py_prefix*) 21202 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` 21203 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` 21204 ;; 21205 *) 21206 case $am_py_prefix in 21207 /usr|/System*) ;; 21208 *) 21209 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages 21210 ;; 21211 esac 21212 ;; 21213 esac 21214 21215fi 21216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 21217$as_echo "$am_cv_python_pythondir" >&6; } 21218 pythondir=$am_cv_python_pythondir 21219 21220 21221 21222 pkgpythondir=\${pythondir}/$PACKAGE 21223 21224 21225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 21226$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } 21227if test "${am_cv_python_pyexecdir+set}" = set; then : 21228 $as_echo_n "(cached) " >&6 21229else 21230 if test "x$exec_prefix" = xNONE 21231 then 21232 am_py_exec_prefix=$am_py_prefix 21233 else 21234 am_py_exec_prefix=$exec_prefix 21235 fi 21236 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null || 21237 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"` 21238 case $am_cv_python_pyexecdir in 21239 $am_py_exec_prefix*) 21240 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` 21241 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` 21242 ;; 21243 *) 21244 case $am_py_exec_prefix in 21245 /usr|/System*) ;; 21246 *) 21247 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages 21248 ;; 21249 esac 21250 ;; 21251 esac 21252 21253fi 21254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 21255$as_echo "$am_cv_python_pyexecdir" >&6; } 21256 pyexecdir=$am_cv_python_pyexecdir 21257 21258 21259 21260 pkgpyexecdir=\${pyexecdir}/$PACKAGE 21261 21262 21263 21264 fi 21265 21266 21267 21268 # Check whether --enable-pygtk was given. 21269if test "${enable_pygtk+set}" = set; then : 21270 enableval=$enable_pygtk; case "${enableval}" in 21271 yes) HAVE_PYGTK=yes ;; 21272 no) HAVE_PYGTK=no ;; 21273 *) as_fn_error $? "bad value ${enableval} for --enable-pygtk" "$LINENO" 5 ;; 21274 esac 21275else 21276 HAVE_PYGTK=yes 21277fi 21278 21279 21280 if test "x$HAVE_PYGTK" = "xyes" ; then 21281 21282py_mod_var=`echo gtk'_' | sed 'y%./+-%__p_%'` 21283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module gtk" >&5 21284$as_echo_n "checking for python module gtk... " >&6; } 21285if eval "test \"\${py_cv_mod_$py_mod_var+set}\"" = set; then : 21286 $as_echo_n "(cached) " >&6 21287else 21288 21289prog=" 21290import sys 21291try: 21292 import gtk 21293except ImportError: 21294 sys.exit(1) 21295except: 21296 sys.exit(0) 21297sys.exit(0)" 21298if $PYTHON -c "$prog" 1>&5 2>&5 21299 then 21300 eval "py_cv_mod_$py_mod_var=yes" 21301 else 21302 eval "py_cv_mod_$py_mod_var=no" 21303 fi 21304 21305fi 21306 21307py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"` 21308if test "x$py_val" != xno; then 21309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21310$as_echo "yes" >&6; } 21311 else 21312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21313$as_echo "no" >&6; } 21314 as_fn_error $? "Could not find Python module gtk" "$LINENO" 5 21315fi 21316 21317 fi 21318 21319 21320 if test "x$HAVE_DBUS" = "xyes" ; then 21321 # Check whether --enable-python-dbus was given. 21322if test "${enable_python_dbus+set}" = set; then : 21323 enableval=$enable_python_dbus; case "${enableval}" in 21324 yes) HAVE_PYTHON_DBUS=yes ;; 21325 no) HAVE_PYTHON_DBUS=no ;; 21326 *) as_fn_error $? "bad value ${enableval} for --enable-python-dbus" "$LINENO" 5 ;; 21327 esac 21328else 21329 HAVE_PYTHON_DBUS=yes 21330fi 21331 21332 21333 if test "x$HAVE_PYTHON_DBUS" = "xyes"; then 21334 21335py_mod_var=`echo dbus'_' | sed 'y%./+-%__p_%'` 21336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module dbus" >&5 21337$as_echo_n "checking for python module dbus... " >&6; } 21338if eval "test \"\${py_cv_mod_$py_mod_var+set}\"" = set; then : 21339 $as_echo_n "(cached) " >&6 21340else 21341 21342prog=" 21343import sys 21344try: 21345 import dbus 21346except ImportError: 21347 sys.exit(1) 21348except: 21349 sys.exit(0) 21350sys.exit(0)" 21351if $PYTHON -c "$prog" 1>&5 2>&5 21352 then 21353 eval "py_cv_mod_$py_mod_var=yes" 21354 else 21355 eval "py_cv_mod_$py_mod_var=no" 21356 fi 21357 21358fi 21359 21360py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"` 21361if test "x$py_val" != xno; then 21362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21363$as_echo "yes" >&6; } 21364 else 21365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21366$as_echo "no" >&6; } 21367 as_fn_error $? "Could not find Python module dbus" "$LINENO" 5 21368fi 21369 21370 fi 21371 21372 21373py_mod_var=`echo socket'_' | sed 'y%./+-%__p_%'` 21374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module socket" >&5 21375$as_echo_n "checking for python module socket... " >&6; } 21376if eval "test \"\${py_cv_mod_$py_mod_var+set}\"" = set; then : 21377 $as_echo_n "(cached) " >&6 21378else 21379 21380prog=" 21381import sys 21382try: 21383 import socket 21384except ImportError: 21385 sys.exit(1) 21386except: 21387 sys.exit(0) 21388sys.exit(0)" 21389if $PYTHON -c "$prog" 1>&5 2>&5 21390 then 21391 eval "py_cv_mod_$py_mod_var=yes" 21392 else 21393 eval "py_cv_mod_$py_mod_var=no" 21394 fi 21395 21396fi 21397 21398py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"` 21399if test "x$py_val" != xno; then 21400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21401$as_echo "yes" >&6; } 21402 else 21403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21404$as_echo "no" >&6; } 21405 as_fn_error $? "Could not find Python module socket" "$LINENO" 5 21406fi 21407 21408 if test "x$HAVE_GDBM" = "xyes"; then 21409 21410py_mod_var=`echo gdbm'_' | sed 'y%./+-%__p_%'` 21411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module gdbm" >&5 21412$as_echo_n "checking for python module gdbm... " >&6; } 21413if eval "test \"\${py_cv_mod_$py_mod_var+set}\"" = set; then : 21414 $as_echo_n "(cached) " >&6 21415else 21416 21417prog=" 21418import sys 21419try: 21420 import gdbm 21421except ImportError: 21422 sys.exit(1) 21423except: 21424 sys.exit(0) 21425sys.exit(0)" 21426if $PYTHON -c "$prog" 1>&5 2>&5 21427 then 21428 eval "py_cv_mod_$py_mod_var=yes" 21429 else 21430 eval "py_cv_mod_$py_mod_var=no" 21431 fi 21432 21433fi 21434 21435py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"` 21436if test "x$py_val" != xno; then 21437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21438$as_echo "yes" >&6; } 21439 else 21440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21441$as_echo "no" >&6; } 21442 as_fn_error $? "Could not find Python module gdbm" "$LINENO" 5 21443fi 21444 21445 fi 21446 if test "x$HAVE_DBM" = "xyes"; then 21447 21448py_mod_var=`echo dbm'_' | sed 'y%./+-%__p_%'` 21449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module dbm" >&5 21450$as_echo_n "checking for python module dbm... " >&6; } 21451if eval "test \"\${py_cv_mod_$py_mod_var+set}\"" = set; then : 21452 $as_echo_n "(cached) " >&6 21453else 21454 21455prog=" 21456import sys 21457try: 21458 import dbm 21459except ImportError: 21460 sys.exit(1) 21461except: 21462 sys.exit(0) 21463sys.exit(0)" 21464if $PYTHON -c "$prog" 1>&5 2>&5 21465 then 21466 eval "py_cv_mod_$py_mod_var=yes" 21467 else 21468 eval "py_cv_mod_$py_mod_var=no" 21469 fi 21470 21471fi 21472 21473py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"` 21474if test "x$py_val" != xno; then 21475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21476$as_echo "yes" >&6; } 21477 else 21478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21479$as_echo "no" >&6; } 21480 as_fn_error $? "Could not find Python module dbm" "$LINENO" 5 21481fi 21482 21483 fi 21484 fi 21485fi 21486 if test "x$HAVE_PYTHON" = "xyes" ; then 21487 HAVE_PYTHON_TRUE= 21488 HAVE_PYTHON_FALSE='#' 21489else 21490 HAVE_PYTHON_TRUE='#' 21491 HAVE_PYTHON_FALSE= 21492fi 21493 21494 if test "x$HAVE_PYGTK" = "xyes"; then 21495 HAVE_PYGTK_TRUE= 21496 HAVE_PYGTK_FALSE='#' 21497else 21498 HAVE_PYGTK_TRUE='#' 21499 HAVE_PYGTK_FALSE= 21500fi 21501 21502 if test "x$HAVE_PYTHON_DBUS" = "xyes"; then 21503 HAVE_PYTHON_DBUS_TRUE= 21504 HAVE_PYTHON_DBUS_FALSE='#' 21505else 21506 HAVE_PYTHON_DBUS_TRUE='#' 21507 HAVE_PYTHON_DBUS_FALSE= 21508fi 21509 21510 21511# 21512# Check for mono stuff 21513# 21514HAVE_MONO=no 21515if test "x$HAVE_DBUS" = "xyes" ; then 21516 # Check whether --enable-mono was given. 21517if test "${enable_mono+set}" = set; then : 21518 enableval=$enable_mono; case "${enableval}" in 21519 yes) HAVE_MONO=yes ;; 21520 no) HAVE_MONO=no ;; 21521 *) as_fn_error $? "bad value ${enableval} for --enable-mono" "$LINENO" 5 ;; 21522 esac 21523else 21524 HAVE_MONO=yes 21525fi 21526 21527 21528 if test "x$HAVE_MONO" = "xyes" ; then 21529 # Extract the first word of "mcs", so it can be a program name with args. 21530set dummy mcs; ac_word=$2 21531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21532$as_echo_n "checking for $ac_word... " >&6; } 21533if test "${ac_cv_path_MCS+set}" = set; then : 21534 $as_echo_n "(cached) " >&6 21535else 21536 case $MCS in 21537 [\\/]* | ?:[\\/]*) 21538 ac_cv_path_MCS="$MCS" # Let the user override the test with a path. 21539 ;; 21540 *) 21541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21542for as_dir in $PATH 21543do 21544 IFS=$as_save_IFS 21545 test -z "$as_dir" && as_dir=. 21546 for ac_exec_ext in '' $ac_executable_extensions; do 21547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21548 ac_cv_path_MCS="$as_dir/$ac_word$ac_exec_ext" 21549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21550 break 2 21551 fi 21552done 21553 done 21554IFS=$as_save_IFS 21555 21556 ;; 21557esac 21558fi 21559MCS=$ac_cv_path_MCS 21560if test -n "$MCS"; then 21561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCS" >&5 21562$as_echo "$MCS" >&6; } 21563else 21564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21565$as_echo "no" >&6; } 21566fi 21567 21568 21569 if test "x$MCS" = "x" ; then 21570 as_fn_error $? "Can not find \"mcs\" - The Mono C-Sharp Compiler) in your PATH" "$LINENO" 5 21571 fi 21572 21573 # Extract the first word of "gacutil", so it can be a program name with args. 21574set dummy gacutil; ac_word=$2 21575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21576$as_echo_n "checking for $ac_word... " >&6; } 21577if test "${ac_cv_path_GACUTIL+set}" = set; then : 21578 $as_echo_n "(cached) " >&6 21579else 21580 case $GACUTIL in 21581 [\\/]* | ?:[\\/]*) 21582 ac_cv_path_GACUTIL="$GACUTIL" # Let the user override the test with a path. 21583 ;; 21584 *) 21585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21586for as_dir in $PATH 21587do 21588 IFS=$as_save_IFS 21589 test -z "$as_dir" && as_dir=. 21590 for ac_exec_ext in '' $ac_executable_extensions; do 21591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21592 ac_cv_path_GACUTIL="$as_dir/$ac_word$ac_exec_ext" 21593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21594 break 2 21595 fi 21596done 21597 done 21598IFS=$as_save_IFS 21599 21600 ;; 21601esac 21602fi 21603GACUTIL=$ac_cv_path_GACUTIL 21604if test -n "$GACUTIL"; then 21605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GACUTIL" >&5 21606$as_echo "$GACUTIL" >&6; } 21607else 21608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21609$as_echo "no" >&6; } 21610fi 21611 21612 21613 if test "x$GACUTIL" = "x" ; then 21614 as_fn_error $? "Can not find \"gacutil\" in your PATH" "$LINENO" 5 21615 fi 21616 21617 21618 21619 fi 21620fi 21621 if test "x$HAVE_MONO" = "xyes"; then 21622 HAVE_MONO_TRUE= 21623 HAVE_MONO_FALSE='#' 21624else 21625 HAVE_MONO_TRUE='#' 21626 HAVE_MONO_FALSE= 21627fi 21628 21629 21630# 21631# Check for monodoc stuff 21632# 21633HAVE_MONODOC=no 21634# Check whether --enable-monodoc was given. 21635if test "${enable_monodoc+set}" = set; then : 21636 enableval=$enable_monodoc; case "${enableval}" in 21637 yes) HAVE_MONODOC=yes ;; 21638 no) HAVE_MONODOC=no ;; 21639 *) as_fn_error $? "bad value ${enableval} for --enable-monodoc" "$LINENO" 5 ;; 21640 esac 21641else 21642 HAVE_MONODOC=yes 21643fi 21644 21645 21646if test "x$HAVE_MONO" = "xyes" && test "x$HAVE_MONODOC" = "xyes" ; then 21647 21648pkg_failed=no 21649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONODOC" >&5 21650$as_echo_n "checking for MONODOC... " >&6; } 21651 21652if test -n "$PKG_CONFIG"; then 21653 if test -n "$MONODOC_CFLAGS"; then 21654 pkg_cv_MONODOC_CFLAGS="$MONODOC_CFLAGS" 21655 else 21656 if test -n "$PKG_CONFIG" && \ 21657 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"monodoc >= 1.1.8\""; } >&5 21658 ($PKG_CONFIG --exists --print-errors "monodoc >= 1.1.8") 2>&5 21659 ac_status=$? 21660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21661 test $ac_status = 0; }; then 21662 pkg_cv_MONODOC_CFLAGS=`$PKG_CONFIG --cflags "monodoc >= 1.1.8" 2>/dev/null` 21663else 21664 pkg_failed=yes 21665fi 21666 fi 21667else 21668 pkg_failed=untried 21669fi 21670if test -n "$PKG_CONFIG"; then 21671 if test -n "$MONODOC_LIBS"; then 21672 pkg_cv_MONODOC_LIBS="$MONODOC_LIBS" 21673 else 21674 if test -n "$PKG_CONFIG" && \ 21675 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"monodoc >= 1.1.8\""; } >&5 21676 ($PKG_CONFIG --exists --print-errors "monodoc >= 1.1.8") 2>&5 21677 ac_status=$? 21678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21679 test $ac_status = 0; }; then 21680 pkg_cv_MONODOC_LIBS=`$PKG_CONFIG --libs "monodoc >= 1.1.8" 2>/dev/null` 21681else 21682 pkg_failed=yes 21683fi 21684 fi 21685else 21686 pkg_failed=untried 21687fi 21688 21689 21690 21691if test $pkg_failed = yes; then 21692 21693if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21694 _pkg_short_errors_supported=yes 21695else 21696 _pkg_short_errors_supported=no 21697fi 21698 if test $_pkg_short_errors_supported = yes; then 21699 MONODOC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "monodoc >= 1.1.8"` 21700 else 21701 MONODOC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "monodoc >= 1.1.8"` 21702 fi 21703 # Put the nasty error message in config.log where it belongs 21704 echo "$MONODOC_PKG_ERRORS" >&5 21705 21706 as_fn_error $? "Package requirements (monodoc >= 1.1.8) were not met: 21707 21708$MONODOC_PKG_ERRORS 21709 21710Consider adjusting the PKG_CONFIG_PATH environment variable if you 21711installed software in a non-standard prefix. 21712 21713Alternatively, you may set the environment variables MONODOC_CFLAGS 21714and MONODOC_LIBS to avoid the need to call pkg-config. 21715See the pkg-config man page for more details. 21716" "$LINENO" 5 21717elif test $pkg_failed = untried; then 21718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21719$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21720as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 21721is in your PATH or set the PKG_CONFIG environment variable to the full 21722path to pkg-config. 21723 21724Alternatively, you may set the environment variables MONODOC_CFLAGS 21725and MONODOC_LIBS to avoid the need to call pkg-config. 21726See the pkg-config man page for more details. 21727 21728To get pkg-config, see <http://pkg-config.freedesktop.org/>. 21729See \`config.log' for more details" "$LINENO" 5 ; } 21730else 21731 MONODOC_CFLAGS=$pkg_cv_MONODOC_CFLAGS 21732 MONODOC_LIBS=$pkg_cv_MONODOC_LIBS 21733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21734$as_echo "yes" >&6; } 21735 : 21736fi 21737 MONODOC_DIR=`$PKG_CONFIG --variable=sourcesdir monodoc` 21738 21739 # Extract the first word of "monodocer", so it can be a program name with args. 21740set dummy monodocer; ac_word=$2 21741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21742$as_echo_n "checking for $ac_word... " >&6; } 21743if test "${ac_cv_path_MONODOCER+set}" = set; then : 21744 $as_echo_n "(cached) " >&6 21745else 21746 case $MONODOCER in 21747 [\\/]* | ?:[\\/]*) 21748 ac_cv_path_MONODOCER="$MONODOCER" # Let the user override the test with a path. 21749 ;; 21750 *) 21751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21752for as_dir in $PATH 21753do 21754 IFS=$as_save_IFS 21755 test -z "$as_dir" && as_dir=. 21756 for ac_exec_ext in '' $ac_executable_extensions; do 21757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21758 ac_cv_path_MONODOCER="$as_dir/$ac_word$ac_exec_ext" 21759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21760 break 2 21761 fi 21762done 21763 done 21764IFS=$as_save_IFS 21765 21766 ;; 21767esac 21768fi 21769MONODOCER=$ac_cv_path_MONODOCER 21770if test -n "$MONODOCER"; then 21771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MONODOCER" >&5 21772$as_echo "$MONODOCER" >&6; } 21773else 21774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21775$as_echo "no" >&6; } 21776fi 21777 21778 21779 # Extract the first word of "mdassembler", so it can be a program name with args. 21780set dummy mdassembler; ac_word=$2 21781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21782$as_echo_n "checking for $ac_word... " >&6; } 21783if test "${ac_cv_path_MDASSEMBLER+set}" = set; then : 21784 $as_echo_n "(cached) " >&6 21785else 21786 case $MDASSEMBLER in 21787 [\\/]* | ?:[\\/]*) 21788 ac_cv_path_MDASSEMBLER="$MDASSEMBLER" # Let the user override the test with a path. 21789 ;; 21790 *) 21791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21792for as_dir in $PATH 21793do 21794 IFS=$as_save_IFS 21795 test -z "$as_dir" && as_dir=. 21796 for ac_exec_ext in '' $ac_executable_extensions; do 21797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21798 ac_cv_path_MDASSEMBLER="$as_dir/$ac_word$ac_exec_ext" 21799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21800 break 2 21801 fi 21802done 21803 done 21804IFS=$as_save_IFS 21805 21806 ;; 21807esac 21808fi 21809MDASSEMBLER=$ac_cv_path_MDASSEMBLER 21810if test -n "$MDASSEMBLER"; then 21811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MDASSEMBLER" >&5 21812$as_echo "$MDASSEMBLER" >&6; } 21813else 21814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21815$as_echo "no" >&6; } 21816fi 21817 21818 21819 21820 21821 21822 21823fi 21824 if test "x$HAVE_MONODOC" = "xyes"; then 21825 HAVE_MONODOC_TRUE= 21826 HAVE_MONODOC_FALSE='#' 21827else 21828 HAVE_MONODOC_TRUE='#' 21829 HAVE_MONODOC_FALSE= 21830fi 21831 21832 21833# 21834# Build autoipd? 21835# 21836# Check whether --enable-autoipd was given. 21837if test "${enable_autoipd+set}" = set; then : 21838 enableval=$enable_autoipd; case "${enableval}" in 21839 yes) ENABLE_AUTOIPD=yes ;; 21840 no) ENABLE_AUTOIPD=no ;; 21841 *) as_fn_error $? "bad value ${enableval} for --disable-autoipd" "$LINENO" 5 ;; 21842 esac 21843else 21844 ENABLE_AUTOIPD=yes 21845fi 21846 21847 21848 if test "x$ENABLE_AUTOIPD" = "xyes"; then 21849 ENABLE_AUTOIPD_TRUE= 21850 ENABLE_AUTOIPD_FALSE='#' 21851else 21852 ENABLE_AUTOIPD_TRUE='#' 21853 ENABLE_AUTOIPD_FALSE= 21854fi 21855 21856 21857# 21858# Defining users and groups 21859# 21860 21861# Check whether --with-avahi_user was given. 21862if test "${with_avahi_user+set}" = set; then : 21863 withval=$with_avahi_user; 21864fi 21865 21866if test -z "$with_avahi_user" ; then 21867 AVAHI_USER=avahi 21868else 21869 AVAHI_USER=$with_avahi_user 21870fi 21871 21872 21873cat >>confdefs.h <<_ACEOF 21874#define AVAHI_USER "$AVAHI_USER" 21875_ACEOF 21876 21877 21878 21879# Check whether --with-avahi_group was given. 21880if test "${with_avahi_group+set}" = set; then : 21881 withval=$with_avahi_group; 21882fi 21883 21884if test -z "$with_avahi_group" ; then 21885 AVAHI_GROUP=avahi 21886else 21887 AVAHI_GROUP=$with_avahi_group 21888fi 21889 21890 21891cat >>confdefs.h <<_ACEOF 21892#define AVAHI_GROUP "$AVAHI_GROUP" 21893_ACEOF 21894 21895 21896 21897# Check whether --with-avahi_priv_access_group was given. 21898if test "${with_avahi_priv_access_group+set}" = set; then : 21899 withval=$with_avahi_priv_access_group; 21900fi 21901 21902if test -z "$with_avahi_priv_access_group" ; then 21903 AVAHI_PRIV_ACCESS_GROUP=netdev 21904else 21905 AVAHI_PRIV_ACCESS_GROUP=$with_avahi_priv_access_group 21906fi 21907 21908 21909cat >>confdefs.h <<_ACEOF 21910#define AVAHI_PRIV_ACCESS_GROUP "$AVAHI_PRIV_ACCESS_GROUP" 21911_ACEOF 21912 21913 21914 21915# Check whether --with-autoipd_user was given. 21916if test "${with_autoipd_user+set}" = set; then : 21917 withval=$with_autoipd_user; 21918fi 21919 21920if test -z "$with_autoipd_user" ; then 21921 AVAHI_AUTOIPD_USER=avahi-autoipd 21922else 21923 AVAHI_AUTOIPD_USER=$with_autoipd_user 21924fi 21925 21926 21927cat >>confdefs.h <<_ACEOF 21928#define AVAHI_AUTOIPD_USER "$AVAHI_AUTOIPD_USER" 21929_ACEOF 21930 21931 21932 21933# Check whether --with-autoipd_group was given. 21934if test "${with_autoipd_group+set}" = set; then : 21935 withval=$with_autoipd_group; 21936fi 21937 21938if test -z "$with_autoipd_group" ; then 21939 AVAHI_AUTOIPD_GROUP=avahi-autoipd 21940else 21941 AVAHI_AUTOIPD_GROUP=$with_autoipd_group 21942fi 21943 21944 21945cat >>confdefs.h <<_ACEOF 21946#define AVAHI_AUTOIPD_GROUP "$AVAHI_AUTOIPD_GROUP" 21947_ACEOF 21948 21949 21950# 21951# Avahi runtime dir 21952# 21953avahi_runtime_dir="${localstatedir}/run" 21954avahi_socket="${avahi_runtime_dir}/avahi-daemon/socket" 21955 21956 21957 21958# 21959# Avahi interfaces dir 21960# 21961if test "x$HAVE_PYTHON_DBUS" = "xyes" -o "x$HAVE_GTK" = "xyes"; then 21962 interfacesdir="${datadir}/${PACKAGE}/interfaces/" 21963 21964fi 21965 21966# 21967# Doxygen 21968# 21969 21970 21971 21972 21973 21974 21975 21976 21977 21978 21979# Files: 21980DX_PROJECT=avahi 21981 21982DX_CONFIG=doxygen.cfg 21983 21984DX_DOCDIR=doxygen 21985 21986 21987# Environment variables used inside doxygen.cfg: 21988DX_ENV="$DX_ENV SRCDIR='$srcdir'" 21989 21990DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'" 21991 21992DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'" 21993 21994DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'" 21995 21996 21997# Doxygen itself: 21998 21999 22000 22001 # Check whether --enable-doxygen-doc was given. 22002if test "${enable_doxygen_doc+set}" = set; then : 22003 enableval=$enable_doxygen_doc; 22004case "$enableval" in 22005#( 22006y|Y|yes|Yes|YES) 22007 DX_FLAG_doc=1 22008 22009 22010;; #( 22011n|N|no|No|NO) 22012 DX_FLAG_doc=0 22013 22014;; #( 22015*) 22016 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5 22017;; 22018esac 22019 22020else 22021 22022DX_FLAG_doc=1 22023 22024 22025 22026fi 22027 22028if test "$DX_FLAG_doc" = 1; then 22029 22030if test -n "$ac_tool_prefix"; then 22031 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args. 22032set dummy ${ac_tool_prefix}doxygen; ac_word=$2 22033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22034$as_echo_n "checking for $ac_word... " >&6; } 22035if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then : 22036 $as_echo_n "(cached) " >&6 22037else 22038 case $DX_DOXYGEN in 22039 [\\/]* | ?:[\\/]*) 22040 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path. 22041 ;; 22042 *) 22043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22044for as_dir in $PATH 22045do 22046 IFS=$as_save_IFS 22047 test -z "$as_dir" && as_dir=. 22048 for ac_exec_ext in '' $ac_executable_extensions; do 22049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22050 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 22051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22052 break 2 22053 fi 22054done 22055 done 22056IFS=$as_save_IFS 22057 22058 ;; 22059esac 22060fi 22061DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN 22062if test -n "$DX_DOXYGEN"; then 22063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5 22064$as_echo "$DX_DOXYGEN" >&6; } 22065else 22066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22067$as_echo "no" >&6; } 22068fi 22069 22070 22071fi 22072if test -z "$ac_cv_path_DX_DOXYGEN"; then 22073 ac_pt_DX_DOXYGEN=$DX_DOXYGEN 22074 # Extract the first word of "doxygen", so it can be a program name with args. 22075set dummy doxygen; ac_word=$2 22076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22077$as_echo_n "checking for $ac_word... " >&6; } 22078if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then : 22079 $as_echo_n "(cached) " >&6 22080else 22081 case $ac_pt_DX_DOXYGEN in 22082 [\\/]* | ?:[\\/]*) 22083 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path. 22084 ;; 22085 *) 22086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22087for as_dir in $PATH 22088do 22089 IFS=$as_save_IFS 22090 test -z "$as_dir" && as_dir=. 22091 for ac_exec_ext in '' $ac_executable_extensions; do 22092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22093 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 22094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22095 break 2 22096 fi 22097done 22098 done 22099IFS=$as_save_IFS 22100 22101 ;; 22102esac 22103fi 22104ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN 22105if test -n "$ac_pt_DX_DOXYGEN"; then 22106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5 22107$as_echo "$ac_pt_DX_DOXYGEN" >&6; } 22108else 22109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22110$as_echo "no" >&6; } 22111fi 22112 22113 if test "x$ac_pt_DX_DOXYGEN" = x; then 22114 DX_DOXYGEN="" 22115 else 22116 case $cross_compiling:$ac_tool_warned in 22117yes:) 22118{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 22119$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 22120ac_tool_warned=yes ;; 22121esac 22122 DX_DOXYGEN=$ac_pt_DX_DOXYGEN 22123 fi 22124else 22125 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN" 22126fi 22127 22128if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then 22129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5 22130$as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;} 22131 DX_FLAG_doc=0 22132 22133fi 22134 22135 22136if test -n "$ac_tool_prefix"; then 22137 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args. 22138set dummy ${ac_tool_prefix}perl; ac_word=$2 22139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22140$as_echo_n "checking for $ac_word... " >&6; } 22141if test "${ac_cv_path_DX_PERL+set}" = set; then : 22142 $as_echo_n "(cached) " >&6 22143else 22144 case $DX_PERL in 22145 [\\/]* | ?:[\\/]*) 22146 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path. 22147 ;; 22148 *) 22149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22150for as_dir in $PATH 22151do 22152 IFS=$as_save_IFS 22153 test -z "$as_dir" && as_dir=. 22154 for ac_exec_ext in '' $ac_executable_extensions; do 22155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22156 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext" 22157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22158 break 2 22159 fi 22160done 22161 done 22162IFS=$as_save_IFS 22163 22164 ;; 22165esac 22166fi 22167DX_PERL=$ac_cv_path_DX_PERL 22168if test -n "$DX_PERL"; then 22169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5 22170$as_echo "$DX_PERL" >&6; } 22171else 22172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22173$as_echo "no" >&6; } 22174fi 22175 22176 22177fi 22178if test -z "$ac_cv_path_DX_PERL"; then 22179 ac_pt_DX_PERL=$DX_PERL 22180 # Extract the first word of "perl", so it can be a program name with args. 22181set dummy perl; ac_word=$2 22182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22183$as_echo_n "checking for $ac_word... " >&6; } 22184if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then : 22185 $as_echo_n "(cached) " >&6 22186else 22187 case $ac_pt_DX_PERL in 22188 [\\/]* | ?:[\\/]*) 22189 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path. 22190 ;; 22191 *) 22192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22193for as_dir in $PATH 22194do 22195 IFS=$as_save_IFS 22196 test -z "$as_dir" && as_dir=. 22197 for ac_exec_ext in '' $ac_executable_extensions; do 22198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22199 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext" 22200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22201 break 2 22202 fi 22203done 22204 done 22205IFS=$as_save_IFS 22206 22207 ;; 22208esac 22209fi 22210ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL 22211if test -n "$ac_pt_DX_PERL"; then 22212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5 22213$as_echo "$ac_pt_DX_PERL" >&6; } 22214else 22215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22216$as_echo "no" >&6; } 22217fi 22218 22219 if test "x$ac_pt_DX_PERL" = x; then 22220 DX_PERL="" 22221 else 22222 case $cross_compiling:$ac_tool_warned in 22223yes:) 22224{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 22225$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 22226ac_tool_warned=yes ;; 22227esac 22228 DX_PERL=$ac_pt_DX_PERL 22229 fi 22230else 22231 DX_PERL="$ac_cv_path_DX_PERL" 22232fi 22233 22234if test "$DX_FLAG_doc$DX_PERL" = 1; then 22235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5 22236$as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;} 22237 DX_FLAG_doc=0 22238 22239fi 22240 22241 : 22242fi 22243if test "$DX_FLAG_doc" = 1; then 22244 if :; then 22245 DX_COND_doc_TRUE= 22246 DX_COND_doc_FALSE='#' 22247else 22248 DX_COND_doc_TRUE='#' 22249 DX_COND_doc_FALSE= 22250fi 22251 22252 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'" 22253 22254 : 22255else 22256 if false; then 22257 DX_COND_doc_TRUE= 22258 DX_COND_doc_FALSE='#' 22259else 22260 DX_COND_doc_TRUE='#' 22261 DX_COND_doc_FALSE= 22262fi 22263 22264 22265 : 22266fi 22267 22268 22269# Dot for graphics: 22270 22271 22272 22273 # Check whether --enable-doxygen-dot was given. 22274if test "${enable_doxygen_dot+set}" = set; then : 22275 enableval=$enable_doxygen_dot; 22276case "$enableval" in 22277#( 22278y|Y|yes|Yes|YES) 22279 DX_FLAG_dot=1 22280 22281 22282test "$DX_FLAG_doc" = "1" \ 22283|| as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5 22284 22285;; #( 22286n|N|no|No|NO) 22287 DX_FLAG_dot=0 22288 22289;; #( 22290*) 22291 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5 22292;; 22293esac 22294 22295else 22296 22297DX_FLAG_dot=1 22298 22299 22300test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0 22301 22302 22303 22304fi 22305 22306if test "$DX_FLAG_dot" = 1; then 22307 22308if test -n "$ac_tool_prefix"; then 22309 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args. 22310set dummy ${ac_tool_prefix}dot; ac_word=$2 22311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22312$as_echo_n "checking for $ac_word... " >&6; } 22313if test "${ac_cv_path_DX_DOT+set}" = set; then : 22314 $as_echo_n "(cached) " >&6 22315else 22316 case $DX_DOT in 22317 [\\/]* | ?:[\\/]*) 22318 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path. 22319 ;; 22320 *) 22321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22322for as_dir in $PATH 22323do 22324 IFS=$as_save_IFS 22325 test -z "$as_dir" && as_dir=. 22326 for ac_exec_ext in '' $ac_executable_extensions; do 22327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22328 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext" 22329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22330 break 2 22331 fi 22332done 22333 done 22334IFS=$as_save_IFS 22335 22336 ;; 22337esac 22338fi 22339DX_DOT=$ac_cv_path_DX_DOT 22340if test -n "$DX_DOT"; then 22341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5 22342$as_echo "$DX_DOT" >&6; } 22343else 22344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22345$as_echo "no" >&6; } 22346fi 22347 22348 22349fi 22350if test -z "$ac_cv_path_DX_DOT"; then 22351 ac_pt_DX_DOT=$DX_DOT 22352 # Extract the first word of "dot", so it can be a program name with args. 22353set dummy dot; ac_word=$2 22354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22355$as_echo_n "checking for $ac_word... " >&6; } 22356if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then : 22357 $as_echo_n "(cached) " >&6 22358else 22359 case $ac_pt_DX_DOT in 22360 [\\/]* | ?:[\\/]*) 22361 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path. 22362 ;; 22363 *) 22364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22365for as_dir in $PATH 22366do 22367 IFS=$as_save_IFS 22368 test -z "$as_dir" && as_dir=. 22369 for ac_exec_ext in '' $ac_executable_extensions; do 22370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22371 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext" 22372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22373 break 2 22374 fi 22375done 22376 done 22377IFS=$as_save_IFS 22378 22379 ;; 22380esac 22381fi 22382ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT 22383if test -n "$ac_pt_DX_DOT"; then 22384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5 22385$as_echo "$ac_pt_DX_DOT" >&6; } 22386else 22387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22388$as_echo "no" >&6; } 22389fi 22390 22391 if test "x$ac_pt_DX_DOT" = x; then 22392 DX_DOT="" 22393 else 22394 case $cross_compiling:$ac_tool_warned in 22395yes:) 22396{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 22397$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 22398ac_tool_warned=yes ;; 22399esac 22400 DX_DOT=$ac_pt_DX_DOT 22401 fi 22402else 22403 DX_DOT="$ac_cv_path_DX_DOT" 22404fi 22405 22406if test "$DX_FLAG_dot$DX_DOT" = 1; then 22407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5 22408$as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;} 22409 DX_FLAG_dot=0 22410 22411fi 22412 22413 : 22414fi 22415if test "$DX_FLAG_dot" = 1; then 22416 if :; then 22417 DX_COND_dot_TRUE= 22418 DX_COND_dot_FALSE='#' 22419else 22420 DX_COND_dot_TRUE='#' 22421 DX_COND_dot_FALSE= 22422fi 22423 22424 DX_ENV="$DX_ENV HAVE_DOT='YES'" 22425 22426 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'" 22427 22428 : 22429else 22430 if false; then 22431 DX_COND_dot_TRUE= 22432 DX_COND_dot_FALSE='#' 22433else 22434 DX_COND_dot_TRUE='#' 22435 DX_COND_dot_FALSE= 22436fi 22437 22438 DX_ENV="$DX_ENV HAVE_DOT='NO'" 22439 22440 : 22441fi 22442 22443 22444# Man pages generation: 22445 22446 22447 22448 # Check whether --enable-doxygen-man was given. 22449if test "${enable_doxygen_man+set}" = set; then : 22450 enableval=$enable_doxygen_man; 22451case "$enableval" in 22452#( 22453y|Y|yes|Yes|YES) 22454 DX_FLAG_man=1 22455 22456 22457test "$DX_FLAG_doc" = "1" \ 22458|| as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5 22459 22460;; #( 22461n|N|no|No|NO) 22462 DX_FLAG_man=0 22463 22464;; #( 22465*) 22466 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5 22467;; 22468esac 22469 22470else 22471 22472DX_FLAG_man=0 22473 22474 22475test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0 22476 22477 22478 22479fi 22480 22481if test "$DX_FLAG_man" = 1; then 22482 22483 : 22484fi 22485if test "$DX_FLAG_man" = 1; then 22486 if :; then 22487 DX_COND_man_TRUE= 22488 DX_COND_man_FALSE='#' 22489else 22490 DX_COND_man_TRUE='#' 22491 DX_COND_man_FALSE= 22492fi 22493 22494 DX_ENV="$DX_ENV GENERATE_MAN='YES'" 22495 22496 : 22497else 22498 if false; then 22499 DX_COND_man_TRUE= 22500 DX_COND_man_FALSE='#' 22501else 22502 DX_COND_man_TRUE='#' 22503 DX_COND_man_FALSE= 22504fi 22505 22506 DX_ENV="$DX_ENV GENERATE_MAN='NO'" 22507 22508 : 22509fi 22510 22511 22512# RTF file generation: 22513 22514 22515 22516 # Check whether --enable-doxygen-rtf was given. 22517if test "${enable_doxygen_rtf+set}" = set; then : 22518 enableval=$enable_doxygen_rtf; 22519case "$enableval" in 22520#( 22521y|Y|yes|Yes|YES) 22522 DX_FLAG_rtf=1 22523 22524 22525test "$DX_FLAG_doc" = "1" \ 22526|| as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5 22527 22528;; #( 22529n|N|no|No|NO) 22530 DX_FLAG_rtf=0 22531 22532;; #( 22533*) 22534 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5 22535;; 22536esac 22537 22538else 22539 22540DX_FLAG_rtf=0 22541 22542 22543test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0 22544 22545 22546 22547fi 22548 22549if test "$DX_FLAG_rtf" = 1; then 22550 22551 : 22552fi 22553if test "$DX_FLAG_rtf" = 1; then 22554 if :; then 22555 DX_COND_rtf_TRUE= 22556 DX_COND_rtf_FALSE='#' 22557else 22558 DX_COND_rtf_TRUE='#' 22559 DX_COND_rtf_FALSE= 22560fi 22561 22562 DX_ENV="$DX_ENV GENERATE_RTF='YES'" 22563 22564 : 22565else 22566 if false; then 22567 DX_COND_rtf_TRUE= 22568 DX_COND_rtf_FALSE='#' 22569else 22570 DX_COND_rtf_TRUE='#' 22571 DX_COND_rtf_FALSE= 22572fi 22573 22574 DX_ENV="$DX_ENV GENERATE_RTF='NO'" 22575 22576 : 22577fi 22578 22579 22580# XML file generation: 22581 22582 22583 22584 # Check whether --enable-doxygen-xml was given. 22585if test "${enable_doxygen_xml+set}" = set; then : 22586 enableval=$enable_doxygen_xml; 22587case "$enableval" in 22588#( 22589y|Y|yes|Yes|YES) 22590 DX_FLAG_xml=1 22591 22592 22593test "$DX_FLAG_doc" = "1" \ 22594|| as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5 22595 22596;; #( 22597n|N|no|No|NO) 22598 DX_FLAG_xml=0 22599 22600;; #( 22601*) 22602 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5 22603;; 22604esac 22605 22606else 22607 22608DX_FLAG_xml=1 22609 22610 22611test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0 22612 22613 22614 22615fi 22616 22617if test "$DX_FLAG_xml" = 1; then 22618 22619 : 22620fi 22621if test "$DX_FLAG_xml" = 1; then 22622 if :; then 22623 DX_COND_xml_TRUE= 22624 DX_COND_xml_FALSE='#' 22625else 22626 DX_COND_xml_TRUE='#' 22627 DX_COND_xml_FALSE= 22628fi 22629 22630 DX_ENV="$DX_ENV GENERATE_XML='YES'" 22631 22632 : 22633else 22634 if false; then 22635 DX_COND_xml_TRUE= 22636 DX_COND_xml_FALSE='#' 22637else 22638 DX_COND_xml_TRUE='#' 22639 DX_COND_xml_FALSE= 22640fi 22641 22642 DX_ENV="$DX_ENV GENERATE_XML='NO'" 22643 22644 : 22645fi 22646 22647 22648# (Compressed) HTML help generation: 22649 22650 22651 22652 # Check whether --enable-doxygen-chm was given. 22653if test "${enable_doxygen_chm+set}" = set; then : 22654 enableval=$enable_doxygen_chm; 22655case "$enableval" in 22656#( 22657y|Y|yes|Yes|YES) 22658 DX_FLAG_chm=1 22659 22660 22661test "$DX_FLAG_doc" = "1" \ 22662|| as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5 22663 22664;; #( 22665n|N|no|No|NO) 22666 DX_FLAG_chm=0 22667 22668;; #( 22669*) 22670 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5 22671;; 22672esac 22673 22674else 22675 22676DX_FLAG_chm=0 22677 22678 22679test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0 22680 22681 22682 22683fi 22684 22685if test "$DX_FLAG_chm" = 1; then 22686 22687if test -n "$ac_tool_prefix"; then 22688 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args. 22689set dummy ${ac_tool_prefix}hhc; ac_word=$2 22690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22691$as_echo_n "checking for $ac_word... " >&6; } 22692if test "${ac_cv_path_DX_HHC+set}" = set; then : 22693 $as_echo_n "(cached) " >&6 22694else 22695 case $DX_HHC in 22696 [\\/]* | ?:[\\/]*) 22697 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path. 22698 ;; 22699 *) 22700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22701for as_dir in $PATH 22702do 22703 IFS=$as_save_IFS 22704 test -z "$as_dir" && as_dir=. 22705 for ac_exec_ext in '' $ac_executable_extensions; do 22706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22707 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext" 22708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22709 break 2 22710 fi 22711done 22712 done 22713IFS=$as_save_IFS 22714 22715 ;; 22716esac 22717fi 22718DX_HHC=$ac_cv_path_DX_HHC 22719if test -n "$DX_HHC"; then 22720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5 22721$as_echo "$DX_HHC" >&6; } 22722else 22723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22724$as_echo "no" >&6; } 22725fi 22726 22727 22728fi 22729if test -z "$ac_cv_path_DX_HHC"; then 22730 ac_pt_DX_HHC=$DX_HHC 22731 # Extract the first word of "hhc", so it can be a program name with args. 22732set dummy hhc; ac_word=$2 22733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22734$as_echo_n "checking for $ac_word... " >&6; } 22735if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then : 22736 $as_echo_n "(cached) " >&6 22737else 22738 case $ac_pt_DX_HHC in 22739 [\\/]* | ?:[\\/]*) 22740 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path. 22741 ;; 22742 *) 22743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22744for as_dir in $PATH 22745do 22746 IFS=$as_save_IFS 22747 test -z "$as_dir" && as_dir=. 22748 for ac_exec_ext in '' $ac_executable_extensions; do 22749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22750 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext" 22751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22752 break 2 22753 fi 22754done 22755 done 22756IFS=$as_save_IFS 22757 22758 ;; 22759esac 22760fi 22761ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC 22762if test -n "$ac_pt_DX_HHC"; then 22763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5 22764$as_echo "$ac_pt_DX_HHC" >&6; } 22765else 22766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22767$as_echo "no" >&6; } 22768fi 22769 22770 if test "x$ac_pt_DX_HHC" = x; then 22771 DX_HHC="" 22772 else 22773 case $cross_compiling:$ac_tool_warned in 22774yes:) 22775{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 22776$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 22777ac_tool_warned=yes ;; 22778esac 22779 DX_HHC=$ac_pt_DX_HHC 22780 fi 22781else 22782 DX_HHC="$ac_cv_path_DX_HHC" 22783fi 22784 22785if test "$DX_FLAG_chm$DX_HHC" = 1; then 22786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5 22787$as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;} 22788 DX_FLAG_chm=0 22789 22790fi 22791 22792 : 22793fi 22794if test "$DX_FLAG_chm" = 1; then 22795 if :; then 22796 DX_COND_chm_TRUE= 22797 DX_COND_chm_FALSE='#' 22798else 22799 DX_COND_chm_TRUE='#' 22800 DX_COND_chm_FALSE= 22801fi 22802 22803 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'" 22804 22805 DX_ENV="$DX_ENV GENERATE_HTML='YES'" 22806 22807 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'" 22808 22809 : 22810else 22811 if false; then 22812 DX_COND_chm_TRUE= 22813 DX_COND_chm_FALSE='#' 22814else 22815 DX_COND_chm_TRUE='#' 22816 DX_COND_chm_FALSE= 22817fi 22818 22819 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'" 22820 22821 : 22822fi 22823 22824 22825# Seperate CHI file generation. 22826 22827 22828 22829 # Check whether --enable-doxygen-chi was given. 22830if test "${enable_doxygen_chi+set}" = set; then : 22831 enableval=$enable_doxygen_chi; 22832case "$enableval" in 22833#( 22834y|Y|yes|Yes|YES) 22835 DX_FLAG_chi=1 22836 22837 22838test "$DX_FLAG_chm" = "1" \ 22839|| as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5 22840 22841;; #( 22842n|N|no|No|NO) 22843 DX_FLAG_chi=0 22844 22845;; #( 22846*) 22847 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5 22848;; 22849esac 22850 22851else 22852 22853DX_FLAG_chi=0 22854 22855 22856test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0 22857 22858 22859 22860fi 22861 22862if test "$DX_FLAG_chi" = 1; then 22863 22864 : 22865fi 22866if test "$DX_FLAG_chi" = 1; then 22867 if :; then 22868 DX_COND_chi_TRUE= 22869 DX_COND_chi_FALSE='#' 22870else 22871 DX_COND_chi_TRUE='#' 22872 DX_COND_chi_FALSE= 22873fi 22874 22875 DX_ENV="$DX_ENV GENERATE_CHI='YES'" 22876 22877 : 22878else 22879 if false; then 22880 DX_COND_chi_TRUE= 22881 DX_COND_chi_FALSE='#' 22882else 22883 DX_COND_chi_TRUE='#' 22884 DX_COND_chi_FALSE= 22885fi 22886 22887 DX_ENV="$DX_ENV GENERATE_CHI='NO'" 22888 22889 : 22890fi 22891 22892 22893# Plain HTML pages generation: 22894 22895 22896 22897 # Check whether --enable-doxygen-html was given. 22898if test "${enable_doxygen_html+set}" = set; then : 22899 enableval=$enable_doxygen_html; 22900case "$enableval" in 22901#( 22902y|Y|yes|Yes|YES) 22903 DX_FLAG_html=1 22904 22905 22906test "$DX_FLAG_doc" = "1" \ 22907|| as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5 22908 22909test "$DX_FLAG_chm" = "0" \ 22910|| as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5 22911 22912;; #( 22913n|N|no|No|NO) 22914 DX_FLAG_html=0 22915 22916;; #( 22917*) 22918 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5 22919;; 22920esac 22921 22922else 22923 22924DX_FLAG_html=1 22925 22926 22927test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0 22928 22929 22930test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0 22931 22932 22933 22934fi 22935 22936if test "$DX_FLAG_html" = 1; then 22937 22938 : 22939fi 22940if test "$DX_FLAG_html" = 1; then 22941 if :; then 22942 DX_COND_html_TRUE= 22943 DX_COND_html_FALSE='#' 22944else 22945 DX_COND_html_TRUE='#' 22946 DX_COND_html_FALSE= 22947fi 22948 22949 DX_ENV="$DX_ENV GENERATE_HTML='YES'" 22950 22951 : 22952else 22953 if false; then 22954 DX_COND_html_TRUE= 22955 DX_COND_html_FALSE='#' 22956else 22957 DX_COND_html_TRUE='#' 22958 DX_COND_html_FALSE= 22959fi 22960 22961 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'" 22962 22963 : 22964fi 22965 22966 22967# PostScript file generation: 22968 22969 22970 22971 # Check whether --enable-doxygen-ps was given. 22972if test "${enable_doxygen_ps+set}" = set; then : 22973 enableval=$enable_doxygen_ps; 22974case "$enableval" in 22975#( 22976y|Y|yes|Yes|YES) 22977 DX_FLAG_ps=1 22978 22979 22980test "$DX_FLAG_doc" = "1" \ 22981|| as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5 22982 22983;; #( 22984n|N|no|No|NO) 22985 DX_FLAG_ps=0 22986 22987;; #( 22988*) 22989 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5 22990;; 22991esac 22992 22993else 22994 22995DX_FLAG_ps=0 22996 22997 22998test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0 22999 23000 23001 23002fi 23003 23004if test "$DX_FLAG_ps" = 1; then 23005 23006if test -n "$ac_tool_prefix"; then 23007 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args. 23008set dummy ${ac_tool_prefix}latex; ac_word=$2 23009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23010$as_echo_n "checking for $ac_word... " >&6; } 23011if test "${ac_cv_path_DX_LATEX+set}" = set; then : 23012 $as_echo_n "(cached) " >&6 23013else 23014 case $DX_LATEX in 23015 [\\/]* | ?:[\\/]*) 23016 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path. 23017 ;; 23018 *) 23019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23020for as_dir in $PATH 23021do 23022 IFS=$as_save_IFS 23023 test -z "$as_dir" && as_dir=. 23024 for ac_exec_ext in '' $ac_executable_extensions; do 23025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23026 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext" 23027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23028 break 2 23029 fi 23030done 23031 done 23032IFS=$as_save_IFS 23033 23034 ;; 23035esac 23036fi 23037DX_LATEX=$ac_cv_path_DX_LATEX 23038if test -n "$DX_LATEX"; then 23039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5 23040$as_echo "$DX_LATEX" >&6; } 23041else 23042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23043$as_echo "no" >&6; } 23044fi 23045 23046 23047fi 23048if test -z "$ac_cv_path_DX_LATEX"; then 23049 ac_pt_DX_LATEX=$DX_LATEX 23050 # Extract the first word of "latex", so it can be a program name with args. 23051set dummy latex; ac_word=$2 23052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23053$as_echo_n "checking for $ac_word... " >&6; } 23054if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then : 23055 $as_echo_n "(cached) " >&6 23056else 23057 case $ac_pt_DX_LATEX in 23058 [\\/]* | ?:[\\/]*) 23059 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path. 23060 ;; 23061 *) 23062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23063for as_dir in $PATH 23064do 23065 IFS=$as_save_IFS 23066 test -z "$as_dir" && as_dir=. 23067 for ac_exec_ext in '' $ac_executable_extensions; do 23068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23069 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext" 23070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23071 break 2 23072 fi 23073done 23074 done 23075IFS=$as_save_IFS 23076 23077 ;; 23078esac 23079fi 23080ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX 23081if test -n "$ac_pt_DX_LATEX"; then 23082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5 23083$as_echo "$ac_pt_DX_LATEX" >&6; } 23084else 23085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23086$as_echo "no" >&6; } 23087fi 23088 23089 if test "x$ac_pt_DX_LATEX" = x; then 23090 DX_LATEX="" 23091 else 23092 case $cross_compiling:$ac_tool_warned in 23093yes:) 23094{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23095$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23096ac_tool_warned=yes ;; 23097esac 23098 DX_LATEX=$ac_pt_DX_LATEX 23099 fi 23100else 23101 DX_LATEX="$ac_cv_path_DX_LATEX" 23102fi 23103 23104if test "$DX_FLAG_ps$DX_LATEX" = 1; then 23105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5 23106$as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;} 23107 DX_FLAG_ps=0 23108 23109fi 23110 23111 23112if test -n "$ac_tool_prefix"; then 23113 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args. 23114set dummy ${ac_tool_prefix}makeindex; ac_word=$2 23115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23116$as_echo_n "checking for $ac_word... " >&6; } 23117if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then : 23118 $as_echo_n "(cached) " >&6 23119else 23120 case $DX_MAKEINDEX in 23121 [\\/]* | ?:[\\/]*) 23122 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path. 23123 ;; 23124 *) 23125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23126for as_dir in $PATH 23127do 23128 IFS=$as_save_IFS 23129 test -z "$as_dir" && as_dir=. 23130 for ac_exec_ext in '' $ac_executable_extensions; do 23131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23132 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 23133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23134 break 2 23135 fi 23136done 23137 done 23138IFS=$as_save_IFS 23139 23140 ;; 23141esac 23142fi 23143DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX 23144if test -n "$DX_MAKEINDEX"; then 23145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5 23146$as_echo "$DX_MAKEINDEX" >&6; } 23147else 23148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23149$as_echo "no" >&6; } 23150fi 23151 23152 23153fi 23154if test -z "$ac_cv_path_DX_MAKEINDEX"; then 23155 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX 23156 # Extract the first word of "makeindex", so it can be a program name with args. 23157set dummy makeindex; ac_word=$2 23158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23159$as_echo_n "checking for $ac_word... " >&6; } 23160if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then : 23161 $as_echo_n "(cached) " >&6 23162else 23163 case $ac_pt_DX_MAKEINDEX in 23164 [\\/]* | ?:[\\/]*) 23165 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path. 23166 ;; 23167 *) 23168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23169for as_dir in $PATH 23170do 23171 IFS=$as_save_IFS 23172 test -z "$as_dir" && as_dir=. 23173 for ac_exec_ext in '' $ac_executable_extensions; do 23174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23175 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 23176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23177 break 2 23178 fi 23179done 23180 done 23181IFS=$as_save_IFS 23182 23183 ;; 23184esac 23185fi 23186ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX 23187if test -n "$ac_pt_DX_MAKEINDEX"; then 23188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5 23189$as_echo "$ac_pt_DX_MAKEINDEX" >&6; } 23190else 23191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23192$as_echo "no" >&6; } 23193fi 23194 23195 if test "x$ac_pt_DX_MAKEINDEX" = x; then 23196 DX_MAKEINDEX="" 23197 else 23198 case $cross_compiling:$ac_tool_warned in 23199yes:) 23200{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23201$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23202ac_tool_warned=yes ;; 23203esac 23204 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX 23205 fi 23206else 23207 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX" 23208fi 23209 23210if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then 23211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5 23212$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;} 23213 DX_FLAG_ps=0 23214 23215fi 23216 23217 23218if test -n "$ac_tool_prefix"; then 23219 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args. 23220set dummy ${ac_tool_prefix}dvips; ac_word=$2 23221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23222$as_echo_n "checking for $ac_word... " >&6; } 23223if test "${ac_cv_path_DX_DVIPS+set}" = set; then : 23224 $as_echo_n "(cached) " >&6 23225else 23226 case $DX_DVIPS in 23227 [\\/]* | ?:[\\/]*) 23228 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path. 23229 ;; 23230 *) 23231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23232for as_dir in $PATH 23233do 23234 IFS=$as_save_IFS 23235 test -z "$as_dir" && as_dir=. 23236 for ac_exec_ext in '' $ac_executable_extensions; do 23237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23238 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext" 23239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23240 break 2 23241 fi 23242done 23243 done 23244IFS=$as_save_IFS 23245 23246 ;; 23247esac 23248fi 23249DX_DVIPS=$ac_cv_path_DX_DVIPS 23250if test -n "$DX_DVIPS"; then 23251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5 23252$as_echo "$DX_DVIPS" >&6; } 23253else 23254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23255$as_echo "no" >&6; } 23256fi 23257 23258 23259fi 23260if test -z "$ac_cv_path_DX_DVIPS"; then 23261 ac_pt_DX_DVIPS=$DX_DVIPS 23262 # Extract the first word of "dvips", so it can be a program name with args. 23263set dummy dvips; ac_word=$2 23264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23265$as_echo_n "checking for $ac_word... " >&6; } 23266if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then : 23267 $as_echo_n "(cached) " >&6 23268else 23269 case $ac_pt_DX_DVIPS in 23270 [\\/]* | ?:[\\/]*) 23271 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path. 23272 ;; 23273 *) 23274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23275for as_dir in $PATH 23276do 23277 IFS=$as_save_IFS 23278 test -z "$as_dir" && as_dir=. 23279 for ac_exec_ext in '' $ac_executable_extensions; do 23280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23281 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext" 23282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23283 break 2 23284 fi 23285done 23286 done 23287IFS=$as_save_IFS 23288 23289 ;; 23290esac 23291fi 23292ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS 23293if test -n "$ac_pt_DX_DVIPS"; then 23294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5 23295$as_echo "$ac_pt_DX_DVIPS" >&6; } 23296else 23297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23298$as_echo "no" >&6; } 23299fi 23300 23301 if test "x$ac_pt_DX_DVIPS" = x; then 23302 DX_DVIPS="" 23303 else 23304 case $cross_compiling:$ac_tool_warned in 23305yes:) 23306{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23307$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23308ac_tool_warned=yes ;; 23309esac 23310 DX_DVIPS=$ac_pt_DX_DVIPS 23311 fi 23312else 23313 DX_DVIPS="$ac_cv_path_DX_DVIPS" 23314fi 23315 23316if test "$DX_FLAG_ps$DX_DVIPS" = 1; then 23317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5 23318$as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;} 23319 DX_FLAG_ps=0 23320 23321fi 23322 23323 23324if test -n "$ac_tool_prefix"; then 23325 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args. 23326set dummy ${ac_tool_prefix}egrep; ac_word=$2 23327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23328$as_echo_n "checking for $ac_word... " >&6; } 23329if test "${ac_cv_path_DX_EGREP+set}" = set; then : 23330 $as_echo_n "(cached) " >&6 23331else 23332 case $DX_EGREP in 23333 [\\/]* | ?:[\\/]*) 23334 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path. 23335 ;; 23336 *) 23337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23338for as_dir in $PATH 23339do 23340 IFS=$as_save_IFS 23341 test -z "$as_dir" && as_dir=. 23342 for ac_exec_ext in '' $ac_executable_extensions; do 23343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23344 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 23345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23346 break 2 23347 fi 23348done 23349 done 23350IFS=$as_save_IFS 23351 23352 ;; 23353esac 23354fi 23355DX_EGREP=$ac_cv_path_DX_EGREP 23356if test -n "$DX_EGREP"; then 23357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5 23358$as_echo "$DX_EGREP" >&6; } 23359else 23360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23361$as_echo "no" >&6; } 23362fi 23363 23364 23365fi 23366if test -z "$ac_cv_path_DX_EGREP"; then 23367 ac_pt_DX_EGREP=$DX_EGREP 23368 # Extract the first word of "egrep", so it can be a program name with args. 23369set dummy egrep; ac_word=$2 23370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23371$as_echo_n "checking for $ac_word... " >&6; } 23372if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then : 23373 $as_echo_n "(cached) " >&6 23374else 23375 case $ac_pt_DX_EGREP in 23376 [\\/]* | ?:[\\/]*) 23377 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path. 23378 ;; 23379 *) 23380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23381for as_dir in $PATH 23382do 23383 IFS=$as_save_IFS 23384 test -z "$as_dir" && as_dir=. 23385 for ac_exec_ext in '' $ac_executable_extensions; do 23386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23387 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 23388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23389 break 2 23390 fi 23391done 23392 done 23393IFS=$as_save_IFS 23394 23395 ;; 23396esac 23397fi 23398ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP 23399if test -n "$ac_pt_DX_EGREP"; then 23400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5 23401$as_echo "$ac_pt_DX_EGREP" >&6; } 23402else 23403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23404$as_echo "no" >&6; } 23405fi 23406 23407 if test "x$ac_pt_DX_EGREP" = x; then 23408 DX_EGREP="" 23409 else 23410 case $cross_compiling:$ac_tool_warned in 23411yes:) 23412{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23413$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23414ac_tool_warned=yes ;; 23415esac 23416 DX_EGREP=$ac_pt_DX_EGREP 23417 fi 23418else 23419 DX_EGREP="$ac_cv_path_DX_EGREP" 23420fi 23421 23422if test "$DX_FLAG_ps$DX_EGREP" = 1; then 23423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5 23424$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;} 23425 DX_FLAG_ps=0 23426 23427fi 23428 23429 : 23430fi 23431if test "$DX_FLAG_ps" = 1; then 23432 if :; then 23433 DX_COND_ps_TRUE= 23434 DX_COND_ps_FALSE='#' 23435else 23436 DX_COND_ps_TRUE='#' 23437 DX_COND_ps_FALSE= 23438fi 23439 23440 23441 : 23442else 23443 if false; then 23444 DX_COND_ps_TRUE= 23445 DX_COND_ps_FALSE='#' 23446else 23447 DX_COND_ps_TRUE='#' 23448 DX_COND_ps_FALSE= 23449fi 23450 23451 23452 : 23453fi 23454 23455 23456# PDF file generation: 23457 23458 23459 23460 # Check whether --enable-doxygen-pdf was given. 23461if test "${enable_doxygen_pdf+set}" = set; then : 23462 enableval=$enable_doxygen_pdf; 23463case "$enableval" in 23464#( 23465y|Y|yes|Yes|YES) 23466 DX_FLAG_pdf=1 23467 23468 23469test "$DX_FLAG_doc" = "1" \ 23470|| as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5 23471 23472;; #( 23473n|N|no|No|NO) 23474 DX_FLAG_pdf=0 23475 23476;; #( 23477*) 23478 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5 23479;; 23480esac 23481 23482else 23483 23484DX_FLAG_pdf=0 23485 23486 23487test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0 23488 23489 23490 23491fi 23492 23493if test "$DX_FLAG_pdf" = 1; then 23494 23495if test -n "$ac_tool_prefix"; then 23496 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args. 23497set dummy ${ac_tool_prefix}pdflatex; ac_word=$2 23498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23499$as_echo_n "checking for $ac_word... " >&6; } 23500if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then : 23501 $as_echo_n "(cached) " >&6 23502else 23503 case $DX_PDFLATEX in 23504 [\\/]* | ?:[\\/]*) 23505 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path. 23506 ;; 23507 *) 23508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23509for as_dir in $PATH 23510do 23511 IFS=$as_save_IFS 23512 test -z "$as_dir" && as_dir=. 23513 for ac_exec_ext in '' $ac_executable_extensions; do 23514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23515 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext" 23516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23517 break 2 23518 fi 23519done 23520 done 23521IFS=$as_save_IFS 23522 23523 ;; 23524esac 23525fi 23526DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX 23527if test -n "$DX_PDFLATEX"; then 23528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5 23529$as_echo "$DX_PDFLATEX" >&6; } 23530else 23531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23532$as_echo "no" >&6; } 23533fi 23534 23535 23536fi 23537if test -z "$ac_cv_path_DX_PDFLATEX"; then 23538 ac_pt_DX_PDFLATEX=$DX_PDFLATEX 23539 # Extract the first word of "pdflatex", so it can be a program name with args. 23540set dummy pdflatex; ac_word=$2 23541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23542$as_echo_n "checking for $ac_word... " >&6; } 23543if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then : 23544 $as_echo_n "(cached) " >&6 23545else 23546 case $ac_pt_DX_PDFLATEX in 23547 [\\/]* | ?:[\\/]*) 23548 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path. 23549 ;; 23550 *) 23551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23552for as_dir in $PATH 23553do 23554 IFS=$as_save_IFS 23555 test -z "$as_dir" && as_dir=. 23556 for ac_exec_ext in '' $ac_executable_extensions; do 23557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23558 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext" 23559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23560 break 2 23561 fi 23562done 23563 done 23564IFS=$as_save_IFS 23565 23566 ;; 23567esac 23568fi 23569ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX 23570if test -n "$ac_pt_DX_PDFLATEX"; then 23571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5 23572$as_echo "$ac_pt_DX_PDFLATEX" >&6; } 23573else 23574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23575$as_echo "no" >&6; } 23576fi 23577 23578 if test "x$ac_pt_DX_PDFLATEX" = x; then 23579 DX_PDFLATEX="" 23580 else 23581 case $cross_compiling:$ac_tool_warned in 23582yes:) 23583{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23584$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23585ac_tool_warned=yes ;; 23586esac 23587 DX_PDFLATEX=$ac_pt_DX_PDFLATEX 23588 fi 23589else 23590 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX" 23591fi 23592 23593if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then 23594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5 23595$as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;} 23596 DX_FLAG_pdf=0 23597 23598fi 23599 23600 23601if test -n "$ac_tool_prefix"; then 23602 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args. 23603set dummy ${ac_tool_prefix}makeindex; ac_word=$2 23604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23605$as_echo_n "checking for $ac_word... " >&6; } 23606if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then : 23607 $as_echo_n "(cached) " >&6 23608else 23609 case $DX_MAKEINDEX in 23610 [\\/]* | ?:[\\/]*) 23611 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path. 23612 ;; 23613 *) 23614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23615for as_dir in $PATH 23616do 23617 IFS=$as_save_IFS 23618 test -z "$as_dir" && as_dir=. 23619 for ac_exec_ext in '' $ac_executable_extensions; do 23620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23621 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 23622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23623 break 2 23624 fi 23625done 23626 done 23627IFS=$as_save_IFS 23628 23629 ;; 23630esac 23631fi 23632DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX 23633if test -n "$DX_MAKEINDEX"; then 23634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5 23635$as_echo "$DX_MAKEINDEX" >&6; } 23636else 23637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23638$as_echo "no" >&6; } 23639fi 23640 23641 23642fi 23643if test -z "$ac_cv_path_DX_MAKEINDEX"; then 23644 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX 23645 # Extract the first word of "makeindex", so it can be a program name with args. 23646set dummy makeindex; ac_word=$2 23647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23648$as_echo_n "checking for $ac_word... " >&6; } 23649if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then : 23650 $as_echo_n "(cached) " >&6 23651else 23652 case $ac_pt_DX_MAKEINDEX in 23653 [\\/]* | ?:[\\/]*) 23654 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path. 23655 ;; 23656 *) 23657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23658for as_dir in $PATH 23659do 23660 IFS=$as_save_IFS 23661 test -z "$as_dir" && as_dir=. 23662 for ac_exec_ext in '' $ac_executable_extensions; do 23663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23664 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 23665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23666 break 2 23667 fi 23668done 23669 done 23670IFS=$as_save_IFS 23671 23672 ;; 23673esac 23674fi 23675ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX 23676if test -n "$ac_pt_DX_MAKEINDEX"; then 23677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5 23678$as_echo "$ac_pt_DX_MAKEINDEX" >&6; } 23679else 23680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23681$as_echo "no" >&6; } 23682fi 23683 23684 if test "x$ac_pt_DX_MAKEINDEX" = x; then 23685 DX_MAKEINDEX="" 23686 else 23687 case $cross_compiling:$ac_tool_warned in 23688yes:) 23689{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23690$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23691ac_tool_warned=yes ;; 23692esac 23693 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX 23694 fi 23695else 23696 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX" 23697fi 23698 23699if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then 23700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5 23701$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;} 23702 DX_FLAG_pdf=0 23703 23704fi 23705 23706 23707if test -n "$ac_tool_prefix"; then 23708 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args. 23709set dummy ${ac_tool_prefix}egrep; ac_word=$2 23710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23711$as_echo_n "checking for $ac_word... " >&6; } 23712if test "${ac_cv_path_DX_EGREP+set}" = set; then : 23713 $as_echo_n "(cached) " >&6 23714else 23715 case $DX_EGREP in 23716 [\\/]* | ?:[\\/]*) 23717 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path. 23718 ;; 23719 *) 23720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23721for as_dir in $PATH 23722do 23723 IFS=$as_save_IFS 23724 test -z "$as_dir" && as_dir=. 23725 for ac_exec_ext in '' $ac_executable_extensions; do 23726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23727 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 23728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23729 break 2 23730 fi 23731done 23732 done 23733IFS=$as_save_IFS 23734 23735 ;; 23736esac 23737fi 23738DX_EGREP=$ac_cv_path_DX_EGREP 23739if test -n "$DX_EGREP"; then 23740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5 23741$as_echo "$DX_EGREP" >&6; } 23742else 23743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23744$as_echo "no" >&6; } 23745fi 23746 23747 23748fi 23749if test -z "$ac_cv_path_DX_EGREP"; then 23750 ac_pt_DX_EGREP=$DX_EGREP 23751 # Extract the first word of "egrep", so it can be a program name with args. 23752set dummy egrep; ac_word=$2 23753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23754$as_echo_n "checking for $ac_word... " >&6; } 23755if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then : 23756 $as_echo_n "(cached) " >&6 23757else 23758 case $ac_pt_DX_EGREP in 23759 [\\/]* | ?:[\\/]*) 23760 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path. 23761 ;; 23762 *) 23763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23764for as_dir in $PATH 23765do 23766 IFS=$as_save_IFS 23767 test -z "$as_dir" && as_dir=. 23768 for ac_exec_ext in '' $ac_executable_extensions; do 23769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23770 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 23771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23772 break 2 23773 fi 23774done 23775 done 23776IFS=$as_save_IFS 23777 23778 ;; 23779esac 23780fi 23781ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP 23782if test -n "$ac_pt_DX_EGREP"; then 23783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5 23784$as_echo "$ac_pt_DX_EGREP" >&6; } 23785else 23786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23787$as_echo "no" >&6; } 23788fi 23789 23790 if test "x$ac_pt_DX_EGREP" = x; then 23791 DX_EGREP="" 23792 else 23793 case $cross_compiling:$ac_tool_warned in 23794yes:) 23795{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23796$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23797ac_tool_warned=yes ;; 23798esac 23799 DX_EGREP=$ac_pt_DX_EGREP 23800 fi 23801else 23802 DX_EGREP="$ac_cv_path_DX_EGREP" 23803fi 23804 23805if test "$DX_FLAG_pdf$DX_EGREP" = 1; then 23806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5 23807$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;} 23808 DX_FLAG_pdf=0 23809 23810fi 23811 23812 : 23813fi 23814if test "$DX_FLAG_pdf" = 1; then 23815 if :; then 23816 DX_COND_pdf_TRUE= 23817 DX_COND_pdf_FALSE='#' 23818else 23819 DX_COND_pdf_TRUE='#' 23820 DX_COND_pdf_FALSE= 23821fi 23822 23823 23824 : 23825else 23826 if false; then 23827 DX_COND_pdf_TRUE= 23828 DX_COND_pdf_FALSE='#' 23829else 23830 DX_COND_pdf_TRUE='#' 23831 DX_COND_pdf_FALSE= 23832fi 23833 23834 23835 : 23836fi 23837 23838 23839# LaTeX generation for PS and/or PDF: 23840if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then 23841 if :; then 23842 DX_COND_latex_TRUE= 23843 DX_COND_latex_FALSE='#' 23844else 23845 DX_COND_latex_TRUE='#' 23846 DX_COND_latex_FALSE= 23847fi 23848 23849 DX_ENV="$DX_ENV GENERATE_LATEX='YES'" 23850 23851else 23852 if false; then 23853 DX_COND_latex_TRUE= 23854 DX_COND_latex_FALSE='#' 23855else 23856 DX_COND_latex_TRUE='#' 23857 DX_COND_latex_FALSE= 23858fi 23859 23860 DX_ENV="$DX_ENV GENERATE_LATEX='NO'" 23861 23862fi 23863 23864# Paper size for PS and/or PDF: 23865 23866case "$DOXYGEN_PAPER_SIZE" in 23867#( 23868"") 23869 DOXYGEN_PAPER_SIZE="" 23870 23871;; #( 23872a4wide|a4|letter|legal|executive) 23873 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" 23874 23875;; #( 23876*) 23877 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5 23878;; 23879esac 23880 23881#For debugging: 23882#echo DX_FLAG_doc=$DX_FLAG_doc 23883#echo DX_FLAG_dot=$DX_FLAG_dot 23884#echo DX_FLAG_man=$DX_FLAG_man 23885#echo DX_FLAG_html=$DX_FLAG_html 23886#echo DX_FLAG_chm=$DX_FLAG_chm 23887#echo DX_FLAG_chi=$DX_FLAG_chi 23888#echo DX_FLAG_rtf=$DX_FLAG_rtf 23889#echo DX_FLAG_xml=$DX_FLAG_xml 23890#echo DX_FLAG_pdf=$DX_FLAG_pdf 23891#echo DX_FLAG_ps=$DX_FLAG_ps 23892#echo DX_ENV=$DX_ENV 23893 23894 23895# Check whether --enable-core-docs was given. 23896if test "${enable_core_docs+set}" = set; then : 23897 enableval=$enable_core_docs; case "${enableval}" in 23898 yes) ENABLE_CORE_DOCS=yes ;; 23899 no) ENABLE_CORE_DOCS=no ;; 23900 *) as_fn_error $? "bad value ${enableval} for --enable-core-docs" "$LINENO" 5 ;; 23901esac 23902else 23903 ENABLE_CORE_DOCS=no 23904fi 23905 23906 23907 if test "x$ENABLE_CORE_DOCS" = xyes; then 23908 ENABLE_CORE_DOCS_TRUE= 23909 ENABLE_CORE_DOCS_FALSE='#' 23910else 23911 ENABLE_CORE_DOCS_TRUE='#' 23912 ENABLE_CORE_DOCS_FALSE= 23913fi 23914 23915 23916# 23917# Build and Install man pages 23918# 23919# Check whether --enable-manpages was given. 23920if test "${enable_manpages+set}" = set; then : 23921 enableval=$enable_manpages; case "${enableval}" in 23922 yes) manpages=yes ;; 23923 no) manpages=no ;; 23924 *) as_fn_error $? "bad value ${enableval} for --disable-manpages" "$LINENO" 5 ;; 23925esac 23926else 23927 manpages=yes 23928fi 23929 23930 23931if test x$manpages = xyes ; then 23932 # 23933 # XMLTOMAN manpage generation 23934 # 23935 # Check whether --enable-xmltoman was given. 23936if test "${enable_xmltoman+set}" = set; then : 23937 enableval=$enable_xmltoman; case "${enableval}" in 23938 yes) xmltoman=yes ;; 23939 no) xmltoman=no ;; 23940 *) as_fn_error $? "bad value ${enableval} for --disable-xmltoman" "$LINENO" 5 ;; 23941 esac 23942else 23943 xmltoman=yes 23944fi 23945 23946 23947 if test x$xmltoman = xyes ; then 23948 # Extract the first word of "xmltoman", so it can be a program name with args. 23949set dummy xmltoman; ac_word=$2 23950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23951$as_echo_n "checking for $ac_word... " >&6; } 23952if test "${ac_cv_prog_have_xmltoman+set}" = set; then : 23953 $as_echo_n "(cached) " >&6 23954else 23955 if test -n "$have_xmltoman"; then 23956 ac_cv_prog_have_xmltoman="$have_xmltoman" # Let the user override the test. 23957else 23958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23959for as_dir in $PATH 23960do 23961 IFS=$as_save_IFS 23962 test -z "$as_dir" && as_dir=. 23963 for ac_exec_ext in '' $ac_executable_extensions; do 23964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23965 ac_cv_prog_have_xmltoman="yes" 23966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23967 break 2 23968 fi 23969done 23970 done 23971IFS=$as_save_IFS 23972 23973 test -z "$ac_cv_prog_have_xmltoman" && ac_cv_prog_have_xmltoman="no" 23974fi 23975fi 23976have_xmltoman=$ac_cv_prog_have_xmltoman 23977if test -n "$have_xmltoman"; then 23978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xmltoman" >&5 23979$as_echo "$have_xmltoman" >&6; } 23980else 23981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23982$as_echo "no" >&6; } 23983fi 23984 23985 23986 fi 23987 23988 if test x$have_xmltoman = xno -o x$xmltoman = xno; then 23989 if ! test -e man/avahi-daemon.8 ; then 23990 as_fn_error $? "*** xmltoman was not found or was disabled, it is required to build the manpages as they have not been pre-built, install xmltoman, pass --disable-manpages or dont pass --disable-xmltoman" "$LINENO" 5 23991 exit 1 23992 fi 23993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Not rebuilding man pages as xmltoman is not found ***" >&5 23994$as_echo "$as_me: WARNING: *** Not rebuilding man pages as xmltoman is not found ***" >&2;} 23995 xmltoman=no 23996 fi 23997fi 23998 if test "x$xmltoman" = xyes; then 23999 USE_XMLTOMAN_TRUE= 24000 USE_XMLTOMAN_FALSE='#' 24001else 24002 USE_XMLTOMAN_TRUE='#' 24003 USE_XMLTOMAN_FALSE= 24004fi 24005 24006 if test "x$manpages" = xyes; then 24007 BUILD_MANPAGES_TRUE= 24008 BUILD_MANPAGES_FALSE='#' 24009else 24010 BUILD_MANPAGES_TRUE='#' 24011 BUILD_MANPAGES_FALSE= 24012fi 24013 24014 24015# 24016# Conditionally compile test and example programs 24017# 24018# Check whether --enable-tests was given. 24019if test "${enable_tests+set}" = set; then : 24020 enableval=$enable_tests; case "${enableval}" in 24021 yes) ENABLE_TESTS=yes ;; 24022 no) ENABLE_TESTS=no ;; 24023 *) as_fn_error $? "bad value ${enableval} for --enable-tests" "$LINENO" 5 ;; 24024 esac 24025else 24026 ENABLE_TESTS=no 24027fi 24028 24029 24030 if test "x$ENABLE_TESTS" = "xyes"; then 24031 ENABLE_TESTS_TRUE= 24032 ENABLE_TESTS_FALSE='#' 24033else 24034 ENABLE_TESTS_TRUE='#' 24035 ENABLE_TESTS_FALSE= 24036fi 24037 24038 24039# 24040# Optionally enable libdns_sd compatibility support 24041# 24042# Check whether --enable-compat-libdns_sd was given. 24043if test "${enable_compat_libdns_sd+set}" = set; then : 24044 enableval=$enable_compat_libdns_sd; case "${enableval}" in 24045 yes) ENABLE_COMPAT_LIBDNS_SD=yes ;; 24046 no) ENABLE_COMPAT_LIBDNS_SD=no ;; 24047 *) as_fn_error $? "bad value ${enableval} for --enable-compat-libdns_sd" "$LINENO" 5 ;; 24048 esac 24049else 24050 ENABLE_COMPAT_LIBDNS_SD=no 24051fi 24052 24053 24054 if test "x$ENABLE_COMPAT_LIBDNS_SD" = "xyes"; then 24055 ENABLE_COMPAT_LIBDNS_SD_TRUE= 24056 ENABLE_COMPAT_LIBDNS_SD_FALSE='#' 24057else 24058 ENABLE_COMPAT_LIBDNS_SD_TRUE='#' 24059 ENABLE_COMPAT_LIBDNS_SD_FALSE= 24060fi 24061 24062 24063# 24064# Optionally enable HOWL compatibility support 24065# 24066# Check whether --enable-compat-howl was given. 24067if test "${enable_compat_howl+set}" = set; then : 24068 enableval=$enable_compat_howl; case "${enableval}" in 24069 yes) ENABLE_COMPAT_HOWL=yes ;; 24070 no) ENABLE_COMPAT_HOWL=no ;; 24071 *) as_fn_error $? "bad value ${enableval} for --enable-compat-howl" "$LINENO" 5 ;; 24072 esac 24073else 24074 ENABLE_COMPAT_HOWL=no 24075fi 24076 24077 24078 if test "x$ENABLE_COMPAT_HOWL" = "xyes"; then 24079 ENABLE_COMPAT_HOWL_TRUE= 24080 ENABLE_COMPAT_HOWL_FALSE='#' 24081else 24082 ENABLE_COMPAT_HOWL_TRUE='#' 24083 ENABLE_COMPAT_HOWL_FALSE= 24084fi 24085 24086 24087# 24088# systemd 24089# 24090 24091# Check whether --with-systemdsystemunitdir was given. 24092if test "${with_systemdsystemunitdir+set}" = set; then : 24093 withval=$with_systemdsystemunitdir; 24094else 24095 with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd) 24096fi 24097 24098if test "x$with_systemdsystemunitdir" != xno; then 24099 systemdsystemunitdir=$with_systemdsystemunitdir 24100 24101fi 24102 if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ; then 24103 HAVE_SYSTEMD_TRUE= 24104 HAVE_SYSTEMD_FALSE='#' 24105else 24106 HAVE_SYSTEMD_TRUE='#' 24107 HAVE_SYSTEMD_FALSE= 24108fi 24109 24110 24111# ========================================================================== 24112ac_config_files="$ac_config_files Makefile avahi-common/Makefile avahi-core/Makefile avahi-glib/Makefile avahi-gobject/Makefile avahi-qt/Makefile avahi-daemon/Makefile avahi-daemon/avahi-dbus.conf avahi-discover-standalone/Makefile avahi-client/Makefile initscript/Makefile initscript/debian/Makefile initscript/gentoo/Makefile initscript/archlinux/Makefile initscript/suse/Makefile initscript/fedora/Makefile initscript/lfs/Makefile initscript/mandriva/Makefile initscript/darwin/Makefile initscript/freebsd/Makefile initscript/slackware/Makefile avahi-dnsconfd/Makefile avahi-utils/Makefile avahi-python/Makefile avahi-python/avahi/Makefile avahi-python/avahi-discover/Makefile examples/Makefile common/Makefile man/Makefile tests/Makefile service-type-database/Makefile avahi-sharp/Makefile avahi-ui-sharp/Makefile avahi-compat-libdns_sd/Makefile avahi-compat-howl/Makefile avahi-compat-howl/samples/Makefile avahi-autoipd/Makefile avahi-ui/Makefile po/Makefile.in" 24113 24114cat >confcache <<\_ACEOF 24115# This file is a shell script that caches the results of configure 24116# tests run on this system so they can be shared between configure 24117# scripts and configure runs, see configure's option --config-cache. 24118# It is not useful on other systems. If it contains results you don't 24119# want to keep, you may remove or edit it. 24120# 24121# config.status only pays attention to the cache file if you give it 24122# the --recheck option to rerun configure. 24123# 24124# `ac_cv_env_foo' variables (set or unset) will be overridden when 24125# loading this file, other *unset* `ac_cv_foo' will be assigned the 24126# following values. 24127 24128_ACEOF 24129 24130# The following way of writing the cache mishandles newlines in values, 24131# but we know of no workaround that is simple, portable, and efficient. 24132# So, we kill variables containing newlines. 24133# Ultrix sh set writes to stderr and can't be redirected directly, 24134# and sets the high bit in the cache file unless we assign to the vars. 24135( 24136 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 24137 eval ac_val=\$$ac_var 24138 case $ac_val in #( 24139 *${as_nl}*) 24140 case $ac_var in #( 24141 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 24142$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 24143 esac 24144 case $ac_var in #( 24145 _ | IFS | as_nl) ;; #( 24146 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 24147 *) { eval $ac_var=; unset $ac_var;} ;; 24148 esac ;; 24149 esac 24150 done 24151 24152 (set) 2>&1 | 24153 case $as_nl`(ac_space=' '; set) 2>&1` in #( 24154 *${as_nl}ac_space=\ *) 24155 # `set' does not quote correctly, so add quotes: double-quote 24156 # substitution turns \\\\ into \\, and sed turns \\ into \. 24157 sed -n \ 24158 "s/'/'\\\\''/g; 24159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 24160 ;; #( 24161 *) 24162 # `set' quotes correctly as required by POSIX, so do not add quotes. 24163 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 24164 ;; 24165 esac | 24166 sort 24167) | 24168 sed ' 24169 /^ac_cv_env_/b end 24170 t clear 24171 :clear 24172 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 24173 t end 24174 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 24175 :end' >>confcache 24176if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 24177 if test -w "$cache_file"; then 24178 test "x$cache_file" != "x/dev/null" && 24179 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 24180$as_echo "$as_me: updating cache $cache_file" >&6;} 24181 cat confcache >$cache_file 24182 else 24183 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 24184$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 24185 fi 24186fi 24187rm -f confcache 24188 24189test "x$prefix" = xNONE && prefix=$ac_default_prefix 24190# Let make expand exec_prefix. 24191test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 24192 24193DEFS=-DHAVE_CONFIG_H 24194 24195ac_libobjs= 24196ac_ltlibobjs= 24197U= 24198for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 24199 # 1. Remove the extension, and $U if already installed. 24200 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 24201 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 24202 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 24203 # will be set to the directory where LIBOBJS objects are built. 24204 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 24205 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 24206done 24207LIBOBJS=$ac_libobjs 24208 24209LTLIBOBJS=$ac_ltlibobjs 24210 24211 24212 if test -n "$EXEEXT"; then 24213 am__EXEEXT_TRUE= 24214 am__EXEEXT_FALSE='#' 24215else 24216 am__EXEEXT_TRUE='#' 24217 am__EXEEXT_FALSE= 24218fi 24219 24220if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 24221 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 24222Usually this means the macro was only invoked conditionally." "$LINENO" 5 24223fi 24224if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 24225 as_fn_error $? "conditional \"AMDEP\" was never defined. 24226Usually this means the macro was only invoked conditionally." "$LINENO" 5 24227fi 24228if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 24229 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 24230Usually this means the macro was only invoked conditionally." "$LINENO" 5 24231fi 24232if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 24233 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 24234Usually this means the macro was only invoked conditionally." "$LINENO" 5 24235fi 24236if test -z "${HAVE_NETLINK_TRUE}" && test -z "${HAVE_NETLINK_FALSE}"; then 24237 as_fn_error $? "conditional \"HAVE_NETLINK\" was never defined. 24238Usually this means the macro was only invoked conditionally." "$LINENO" 5 24239fi 24240if test -z "${HAVE_PF_ROUTE_TRUE}" && test -z "${HAVE_PF_ROUTE_FALSE}"; then 24241 as_fn_error $? "conditional \"HAVE_PF_ROUTE\" was never defined. 24242Usually this means the macro was only invoked conditionally." "$LINENO" 5 24243fi 24244if test -z "${HAVE_SYS_FILIO_H_TRUE}" && test -z "${HAVE_SYS_FILIO_H_FALSE}"; then 24245 as_fn_error $? "conditional \"HAVE_SYS_FILIO_H\" was never defined. 24246Usually this means the macro was only invoked conditionally." "$LINENO" 5 24247fi 24248if test -z "${HAVE_SYS_SYSCTL_H_TRUE}" && test -z "${HAVE_SYS_SYSCTL_H_FALSE}"; then 24249 as_fn_error $? "conditional \"HAVE_SYS_SYSCTL_H\" was never defined. 24250Usually this means the macro was only invoked conditionally." "$LINENO" 5 24251fi 24252if test -z "${TARGET_LFS_TRUE}" && test -z "${TARGET_LFS_FALSE}"; then 24253 as_fn_error $? "conditional \"TARGET_LFS\" was never defined. 24254Usually this means the macro was only invoked conditionally." "$LINENO" 5 24255fi 24256if test -z "${TARGET_SUSE_TRUE}" && test -z "${TARGET_SUSE_FALSE}"; then 24257 as_fn_error $? "conditional \"TARGET_SUSE\" was never defined. 24258Usually this means the macro was only invoked conditionally." "$LINENO" 5 24259fi 24260if test -z "${TARGET_GENTOO_TRUE}" && test -z "${TARGET_GENTOO_FALSE}"; then 24261 as_fn_error $? "conditional \"TARGET_GENTOO\" was never defined. 24262Usually this means the macro was only invoked conditionally." "$LINENO" 5 24263fi 24264if test -z "${TARGET_DEBIAN_TRUE}" && test -z "${TARGET_DEBIAN_FALSE}"; then 24265 as_fn_error $? "conditional \"TARGET_DEBIAN\" was never defined. 24266Usually this means the macro was only invoked conditionally." "$LINENO" 5 24267fi 24268if test -z "${TARGET_ARCHLINUX_TRUE}" && test -z "${TARGET_ARCHLINUX_FALSE}"; then 24269 as_fn_error $? "conditional \"TARGET_ARCHLINUX\" was never defined. 24270Usually this means the macro was only invoked conditionally." "$LINENO" 5 24271fi 24272if test -z "${TARGET_FEDORA_TRUE}" && test -z "${TARGET_FEDORA_FALSE}"; then 24273 as_fn_error $? "conditional \"TARGET_FEDORA\" was never defined. 24274Usually this means the macro was only invoked conditionally." "$LINENO" 5 24275fi 24276if test -z "${TARGET_MANDRIVA_TRUE}" && test -z "${TARGET_MANDRIVA_FALSE}"; then 24277 as_fn_error $? "conditional \"TARGET_MANDRIVA\" was never defined. 24278Usually this means the macro was only invoked conditionally." "$LINENO" 5 24279fi 24280if test -z "${TARGET_DARWIN_TRUE}" && test -z "${TARGET_DARWIN_FALSE}"; then 24281 as_fn_error $? "conditional \"TARGET_DARWIN\" was never defined. 24282Usually this means the macro was only invoked conditionally." "$LINENO" 5 24283fi 24284if test -z "${TARGET_NETBSD_TRUE}" && test -z "${TARGET_NETBSD_FALSE}"; then 24285 as_fn_error $? "conditional \"TARGET_NETBSD\" was never defined. 24286Usually this means the macro was only invoked conditionally." "$LINENO" 5 24287fi 24288if test -z "${TARGET_FREEBSD_TRUE}" && test -z "${TARGET_FREEBSD_FALSE}"; then 24289 as_fn_error $? "conditional \"TARGET_FREEBSD\" was never defined. 24290Usually this means the macro was only invoked conditionally." "$LINENO" 5 24291fi 24292if test -z "${TARGET_SLACKWARE_TRUE}" && test -z "${TARGET_SLACKWARE_FALSE}"; then 24293 as_fn_error $? "conditional \"TARGET_SLACKWARE\" was never defined. 24294Usually this means the macro was only invoked conditionally." "$LINENO" 5 24295fi 24296if test -z "${ENABLE_CHROOT_TRUE}" && test -z "${ENABLE_CHROOT_FALSE}"; then 24297 as_fn_error $? "conditional \"ENABLE_CHROOT\" was never defined. 24298Usually this means the macro was only invoked conditionally." "$LINENO" 5 24299fi 24300if test -z "${HAVE_DLOPEN_TRUE}" && test -z "${HAVE_DLOPEN_FALSE}"; then 24301 as_fn_error $? "conditional \"HAVE_DLOPEN\" was never defined. 24302Usually this means the macro was only invoked conditionally." "$LINENO" 5 24303fi 24304if test -z "${HAVE_INOTIFY_TRUE}" && test -z "${HAVE_INOTIFY_FALSE}"; then 24305 as_fn_error $? "conditional \"HAVE_INOTIFY\" was never defined. 24306Usually this means the macro was only invoked conditionally." "$LINENO" 5 24307fi 24308if test -z "${HAVE_KQUEUE_TRUE}" && test -z "${HAVE_KQUEUE_FALSE}"; then 24309 as_fn_error $? "conditional \"HAVE_KQUEUE\" was never defined. 24310Usually this means the macro was only invoked conditionally." "$LINENO" 5 24311fi 24312 24313 ac_config_commands="$ac_config_commands po/stamp-it" 24314 24315 24316if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then 24317 as_fn_error $? "conditional \"HAVE_GLIB\" was never defined. 24318Usually this means the macro was only invoked conditionally." "$LINENO" 5 24319fi 24320if test -z "${HAVE_GOBJECT_TRUE}" && test -z "${HAVE_GOBJECT_FALSE}"; then 24321 as_fn_error $? "conditional \"HAVE_GOBJECT\" was never defined. 24322Usually this means the macro was only invoked conditionally." "$LINENO" 5 24323fi 24324if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then 24325 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined. 24326Usually this means the macro was only invoked conditionally." "$LINENO" 5 24327fi 24328if test -z "${HAVE_QT3_TRUE}" && test -z "${HAVE_QT3_FALSE}"; then 24329 as_fn_error $? "conditional \"HAVE_QT3\" was never defined. 24330Usually this means the macro was only invoked conditionally." "$LINENO" 5 24331fi 24332if test -z "${HAVE_QT4_TRUE}" && test -z "${HAVE_QT4_FALSE}"; then 24333 as_fn_error $? "conditional \"HAVE_QT4\" was never defined. 24334Usually this means the macro was only invoked conditionally." "$LINENO" 5 24335fi 24336if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then 24337 as_fn_error $? "conditional \"HAVE_GTK\" was never defined. 24338Usually this means the macro was only invoked conditionally." "$LINENO" 5 24339fi 24340if test -z "${HAVE_GTK3_TRUE}" && test -z "${HAVE_GTK3_FALSE}"; then 24341 as_fn_error $? "conditional \"HAVE_GTK3\" was never defined. 24342Usually this means the macro was only invoked conditionally." "$LINENO" 5 24343fi 24344if test -z "${HAVE_GTK2OR3_TRUE}" && test -z "${HAVE_GTK2OR3_FALSE}"; then 24345 as_fn_error $? "conditional \"HAVE_GTK2OR3\" was never defined. 24346Usually this means the macro was only invoked conditionally." "$LINENO" 5 24347fi 24348if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then 24349 as_fn_error $? "conditional \"HAVE_DBUS\" was never defined. 24350Usually this means the macro was only invoked conditionally." "$LINENO" 5 24351fi 24352if test -z "${HAVE_XML_TRUE}" && test -z "${HAVE_XML_FALSE}"; then 24353 as_fn_error $? "conditional \"HAVE_XML\" was never defined. 24354Usually this means the macro was only invoked conditionally." "$LINENO" 5 24355fi 24356if test -z "${HAVE_GDBM_TRUE}" && test -z "${HAVE_GDBM_FALSE}"; then 24357 as_fn_error $? "conditional \"HAVE_GDBM\" was never defined. 24358Usually this means the macro was only invoked conditionally." "$LINENO" 5 24359fi 24360if test -z "${HAVE_DBM_TRUE}" && test -z "${HAVE_DBM_FALSE}"; then 24361 as_fn_error $? "conditional \"HAVE_DBM\" was never defined. 24362Usually this means the macro was only invoked conditionally." "$LINENO" 5 24363fi 24364if test -z "${HAVE_LIBDAEMON_TRUE}" && test -z "${HAVE_LIBDAEMON_FALSE}"; then 24365 as_fn_error $? "conditional \"HAVE_LIBDAEMON\" was never defined. 24366Usually this means the macro was only invoked conditionally." "$LINENO" 5 24367fi 24368if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then 24369 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined. 24370Usually this means the macro was only invoked conditionally." "$LINENO" 5 24371fi 24372if test -z "${HAVE_PYGTK_TRUE}" && test -z "${HAVE_PYGTK_FALSE}"; then 24373 as_fn_error $? "conditional \"HAVE_PYGTK\" was never defined. 24374Usually this means the macro was only invoked conditionally." "$LINENO" 5 24375fi 24376if test -z "${HAVE_PYTHON_DBUS_TRUE}" && test -z "${HAVE_PYTHON_DBUS_FALSE}"; then 24377 as_fn_error $? "conditional \"HAVE_PYTHON_DBUS\" was never defined. 24378Usually this means the macro was only invoked conditionally." "$LINENO" 5 24379fi 24380if test -z "${HAVE_MONO_TRUE}" && test -z "${HAVE_MONO_FALSE}"; then 24381 as_fn_error $? "conditional \"HAVE_MONO\" was never defined. 24382Usually this means the macro was only invoked conditionally." "$LINENO" 5 24383fi 24384if test -z "${HAVE_MONODOC_TRUE}" && test -z "${HAVE_MONODOC_FALSE}"; then 24385 as_fn_error $? "conditional \"HAVE_MONODOC\" was never defined. 24386Usually this means the macro was only invoked conditionally." "$LINENO" 5 24387fi 24388if test -z "${ENABLE_AUTOIPD_TRUE}" && test -z "${ENABLE_AUTOIPD_FALSE}"; then 24389 as_fn_error $? "conditional \"ENABLE_AUTOIPD\" was never defined. 24390Usually this means the macro was only invoked conditionally." "$LINENO" 5 24391fi 24392if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then 24393 as_fn_error $? "conditional \"DX_COND_doc\" was never defined. 24394Usually this means the macro was only invoked conditionally." "$LINENO" 5 24395fi 24396if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then 24397 as_fn_error $? "conditional \"DX_COND_doc\" was never defined. 24398Usually this means the macro was only invoked conditionally." "$LINENO" 5 24399fi 24400if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then 24401 as_fn_error $? "conditional \"DX_COND_dot\" was never defined. 24402Usually this means the macro was only invoked conditionally." "$LINENO" 5 24403fi 24404if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then 24405 as_fn_error $? "conditional \"DX_COND_dot\" was never defined. 24406Usually this means the macro was only invoked conditionally." "$LINENO" 5 24407fi 24408if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then 24409 as_fn_error $? "conditional \"DX_COND_man\" was never defined. 24410Usually this means the macro was only invoked conditionally." "$LINENO" 5 24411fi 24412if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then 24413 as_fn_error $? "conditional \"DX_COND_man\" was never defined. 24414Usually this means the macro was only invoked conditionally." "$LINENO" 5 24415fi 24416if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then 24417 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined. 24418Usually this means the macro was only invoked conditionally." "$LINENO" 5 24419fi 24420if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then 24421 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined. 24422Usually this means the macro was only invoked conditionally." "$LINENO" 5 24423fi 24424if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then 24425 as_fn_error $? "conditional \"DX_COND_xml\" was never defined. 24426Usually this means the macro was only invoked conditionally." "$LINENO" 5 24427fi 24428if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then 24429 as_fn_error $? "conditional \"DX_COND_xml\" was never defined. 24430Usually this means the macro was only invoked conditionally." "$LINENO" 5 24431fi 24432if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then 24433 as_fn_error $? "conditional \"DX_COND_chm\" was never defined. 24434Usually this means the macro was only invoked conditionally." "$LINENO" 5 24435fi 24436if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then 24437 as_fn_error $? "conditional \"DX_COND_chm\" was never defined. 24438Usually this means the macro was only invoked conditionally." "$LINENO" 5 24439fi 24440if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then 24441 as_fn_error $? "conditional \"DX_COND_chi\" was never defined. 24442Usually this means the macro was only invoked conditionally." "$LINENO" 5 24443fi 24444if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then 24445 as_fn_error $? "conditional \"DX_COND_chi\" was never defined. 24446Usually this means the macro was only invoked conditionally." "$LINENO" 5 24447fi 24448if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then 24449 as_fn_error $? "conditional \"DX_COND_html\" was never defined. 24450Usually this means the macro was only invoked conditionally." "$LINENO" 5 24451fi 24452if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then 24453 as_fn_error $? "conditional \"DX_COND_html\" was never defined. 24454Usually this means the macro was only invoked conditionally." "$LINENO" 5 24455fi 24456if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then 24457 as_fn_error $? "conditional \"DX_COND_ps\" was never defined. 24458Usually this means the macro was only invoked conditionally." "$LINENO" 5 24459fi 24460if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then 24461 as_fn_error $? "conditional \"DX_COND_ps\" was never defined. 24462Usually this means the macro was only invoked conditionally." "$LINENO" 5 24463fi 24464if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then 24465 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined. 24466Usually this means the macro was only invoked conditionally." "$LINENO" 5 24467fi 24468if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then 24469 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined. 24470Usually this means the macro was only invoked conditionally." "$LINENO" 5 24471fi 24472if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then 24473 as_fn_error $? "conditional \"DX_COND_latex\" was never defined. 24474Usually this means the macro was only invoked conditionally." "$LINENO" 5 24475fi 24476if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then 24477 as_fn_error $? "conditional \"DX_COND_latex\" was never defined. 24478Usually this means the macro was only invoked conditionally." "$LINENO" 5 24479fi 24480if test -z "${ENABLE_CORE_DOCS_TRUE}" && test -z "${ENABLE_CORE_DOCS_FALSE}"; then 24481 as_fn_error $? "conditional \"ENABLE_CORE_DOCS\" was never defined. 24482Usually this means the macro was only invoked conditionally." "$LINENO" 5 24483fi 24484if test -z "${USE_XMLTOMAN_TRUE}" && test -z "${USE_XMLTOMAN_FALSE}"; then 24485 as_fn_error $? "conditional \"USE_XMLTOMAN\" was never defined. 24486Usually this means the macro was only invoked conditionally." "$LINENO" 5 24487fi 24488if test -z "${BUILD_MANPAGES_TRUE}" && test -z "${BUILD_MANPAGES_FALSE}"; then 24489 as_fn_error $? "conditional \"BUILD_MANPAGES\" was never defined. 24490Usually this means the macro was only invoked conditionally." "$LINENO" 5 24491fi 24492if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then 24493 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined. 24494Usually this means the macro was only invoked conditionally." "$LINENO" 5 24495fi 24496if test -z "${ENABLE_COMPAT_LIBDNS_SD_TRUE}" && test -z "${ENABLE_COMPAT_LIBDNS_SD_FALSE}"; then 24497 as_fn_error $? "conditional \"ENABLE_COMPAT_LIBDNS_SD\" was never defined. 24498Usually this means the macro was only invoked conditionally." "$LINENO" 5 24499fi 24500if test -z "${ENABLE_COMPAT_HOWL_TRUE}" && test -z "${ENABLE_COMPAT_HOWL_FALSE}"; then 24501 as_fn_error $? "conditional \"ENABLE_COMPAT_HOWL\" was never defined. 24502Usually this means the macro was only invoked conditionally." "$LINENO" 5 24503fi 24504if test -z "${HAVE_SYSTEMD_TRUE}" && test -z "${HAVE_SYSTEMD_FALSE}"; then 24505 as_fn_error $? "conditional \"HAVE_SYSTEMD\" was never defined. 24506Usually this means the macro was only invoked conditionally." "$LINENO" 5 24507fi 24508 24509: ${CONFIG_STATUS=./config.status} 24510ac_write_fail=0 24511ac_clean_files_save=$ac_clean_files 24512ac_clean_files="$ac_clean_files $CONFIG_STATUS" 24513{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 24514$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 24515as_write_fail=0 24516cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 24517#! $SHELL 24518# Generated by $as_me. 24519# Run this file to recreate the current configuration. 24520# Compiler output produced by configure, useful for debugging 24521# configure, is in config.log if it exists. 24522 24523debug=false 24524ac_cs_recheck=false 24525ac_cs_silent=false 24526 24527SHELL=\${CONFIG_SHELL-$SHELL} 24528export SHELL 24529_ASEOF 24530cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 24531## -------------------- ## 24532## M4sh Initialization. ## 24533## -------------------- ## 24534 24535# Be more Bourne compatible 24536DUALCASE=1; export DUALCASE # for MKS sh 24537if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 24538 emulate sh 24539 NULLCMD=: 24540 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 24541 # is contrary to our usage. Disable this feature. 24542 alias -g '${1+"$@"}'='"$@"' 24543 setopt NO_GLOB_SUBST 24544else 24545 case `(set -o) 2>/dev/null` in #( 24546 *posix*) : 24547 set -o posix ;; #( 24548 *) : 24549 ;; 24550esac 24551fi 24552 24553 24554as_nl=' 24555' 24556export as_nl 24557# Printing a long string crashes Solaris 7 /usr/bin/printf. 24558as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 24559as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 24560as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 24561# Prefer a ksh shell builtin over an external printf program on Solaris, 24562# but without wasting forks for bash or zsh. 24563if test -z "$BASH_VERSION$ZSH_VERSION" \ 24564 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 24565 as_echo='print -r --' 24566 as_echo_n='print -rn --' 24567elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 24568 as_echo='printf %s\n' 24569 as_echo_n='printf %s' 24570else 24571 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 24572 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 24573 as_echo_n='/usr/ucb/echo -n' 24574 else 24575 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 24576 as_echo_n_body='eval 24577 arg=$1; 24578 case $arg in #( 24579 *"$as_nl"*) 24580 expr "X$arg" : "X\\(.*\\)$as_nl"; 24581 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 24582 esac; 24583 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 24584 ' 24585 export as_echo_n_body 24586 as_echo_n='sh -c $as_echo_n_body as_echo' 24587 fi 24588 export as_echo_body 24589 as_echo='sh -c $as_echo_body as_echo' 24590fi 24591 24592# The user is always right. 24593if test "${PATH_SEPARATOR+set}" != set; then 24594 PATH_SEPARATOR=: 24595 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 24596 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 24597 PATH_SEPARATOR=';' 24598 } 24599fi 24600 24601 24602# IFS 24603# We need space, tab and new line, in precisely that order. Quoting is 24604# there to prevent editors from complaining about space-tab. 24605# (If _AS_PATH_WALK were called with IFS unset, it would disable word 24606# splitting by setting IFS to empty value.) 24607IFS=" "" $as_nl" 24608 24609# Find who we are. Look in the path if we contain no directory separator. 24610case $0 in #(( 24611 *[\\/]* ) as_myself=$0 ;; 24612 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24613for as_dir in $PATH 24614do 24615 IFS=$as_save_IFS 24616 test -z "$as_dir" && as_dir=. 24617 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 24618 done 24619IFS=$as_save_IFS 24620 24621 ;; 24622esac 24623# We did not find ourselves, most probably we were run as `sh COMMAND' 24624# in which case we are not to be found in the path. 24625if test "x$as_myself" = x; then 24626 as_myself=$0 24627fi 24628if test ! -f "$as_myself"; then 24629 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 24630 exit 1 24631fi 24632 24633# Unset variables that we do not need and which cause bugs (e.g. in 24634# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 24635# suppresses any "Segmentation fault" message there. '((' could 24636# trigger a bug in pdksh 5.2.14. 24637for as_var in BASH_ENV ENV MAIL MAILPATH 24638do eval test x\${$as_var+set} = xset \ 24639 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 24640done 24641PS1='$ ' 24642PS2='> ' 24643PS4='+ ' 24644 24645# NLS nuisances. 24646LC_ALL=C 24647export LC_ALL 24648LANGUAGE=C 24649export LANGUAGE 24650 24651# CDPATH. 24652(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 24653 24654 24655# as_fn_error STATUS ERROR [LINENO LOG_FD] 24656# ---------------------------------------- 24657# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 24658# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 24659# script with STATUS, using 1 if that was 0. 24660as_fn_error () 24661{ 24662 as_status=$1; test $as_status -eq 0 && as_status=1 24663 if test "$4"; then 24664 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 24665 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 24666 fi 24667 $as_echo "$as_me: error: $2" >&2 24668 as_fn_exit $as_status 24669} # as_fn_error 24670 24671 24672# as_fn_set_status STATUS 24673# ----------------------- 24674# Set $? to STATUS, without forking. 24675as_fn_set_status () 24676{ 24677 return $1 24678} # as_fn_set_status 24679 24680# as_fn_exit STATUS 24681# ----------------- 24682# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 24683as_fn_exit () 24684{ 24685 set +e 24686 as_fn_set_status $1 24687 exit $1 24688} # as_fn_exit 24689 24690# as_fn_unset VAR 24691# --------------- 24692# Portably unset VAR. 24693as_fn_unset () 24694{ 24695 { eval $1=; unset $1;} 24696} 24697as_unset=as_fn_unset 24698# as_fn_append VAR VALUE 24699# ---------------------- 24700# Append the text in VALUE to the end of the definition contained in VAR. Take 24701# advantage of any shell optimizations that allow amortized linear growth over 24702# repeated appends, instead of the typical quadratic growth present in naive 24703# implementations. 24704if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 24705 eval 'as_fn_append () 24706 { 24707 eval $1+=\$2 24708 }' 24709else 24710 as_fn_append () 24711 { 24712 eval $1=\$$1\$2 24713 } 24714fi # as_fn_append 24715 24716# as_fn_arith ARG... 24717# ------------------ 24718# Perform arithmetic evaluation on the ARGs, and store the result in the 24719# global $as_val. Take advantage of shells that can avoid forks. The arguments 24720# must be portable across $(()) and expr. 24721if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 24722 eval 'as_fn_arith () 24723 { 24724 as_val=$(( $* )) 24725 }' 24726else 24727 as_fn_arith () 24728 { 24729 as_val=`expr "$@" || test $? -eq 1` 24730 } 24731fi # as_fn_arith 24732 24733 24734if expr a : '\(a\)' >/dev/null 2>&1 && 24735 test "X`expr 00001 : '.*\(...\)'`" = X001; then 24736 as_expr=expr 24737else 24738 as_expr=false 24739fi 24740 24741if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 24742 as_basename=basename 24743else 24744 as_basename=false 24745fi 24746 24747if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 24748 as_dirname=dirname 24749else 24750 as_dirname=false 24751fi 24752 24753as_me=`$as_basename -- "$0" || 24754$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 24755 X"$0" : 'X\(//\)$' \| \ 24756 X"$0" : 'X\(/\)' \| . 2>/dev/null || 24757$as_echo X/"$0" | 24758 sed '/^.*\/\([^/][^/]*\)\/*$/{ 24759 s//\1/ 24760 q 24761 } 24762 /^X\/\(\/\/\)$/{ 24763 s//\1/ 24764 q 24765 } 24766 /^X\/\(\/\).*/{ 24767 s//\1/ 24768 q 24769 } 24770 s/.*/./; q'` 24771 24772# Avoid depending upon Character Ranges. 24773as_cr_letters='abcdefghijklmnopqrstuvwxyz' 24774as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 24775as_cr_Letters=$as_cr_letters$as_cr_LETTERS 24776as_cr_digits='0123456789' 24777as_cr_alnum=$as_cr_Letters$as_cr_digits 24778 24779ECHO_C= ECHO_N= ECHO_T= 24780case `echo -n x` in #((((( 24781-n*) 24782 case `echo 'xy\c'` in 24783 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 24784 xy) ECHO_C='\c';; 24785 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 24786 ECHO_T=' ';; 24787 esac;; 24788*) 24789 ECHO_N='-n';; 24790esac 24791 24792rm -f conf$$ conf$$.exe conf$$.file 24793if test -d conf$$.dir; then 24794 rm -f conf$$.dir/conf$$.file 24795else 24796 rm -f conf$$.dir 24797 mkdir conf$$.dir 2>/dev/null 24798fi 24799if (echo >conf$$.file) 2>/dev/null; then 24800 if ln -s conf$$.file conf$$ 2>/dev/null; then 24801 as_ln_s='ln -s' 24802 # ... but there are two gotchas: 24803 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 24804 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 24805 # In both cases, we have to default to `cp -p'. 24806 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 24807 as_ln_s='cp -p' 24808 elif ln conf$$.file conf$$ 2>/dev/null; then 24809 as_ln_s=ln 24810 else 24811 as_ln_s='cp -p' 24812 fi 24813else 24814 as_ln_s='cp -p' 24815fi 24816rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 24817rmdir conf$$.dir 2>/dev/null 24818 24819 24820# as_fn_mkdir_p 24821# ------------- 24822# Create "$as_dir" as a directory, including parents if necessary. 24823as_fn_mkdir_p () 24824{ 24825 24826 case $as_dir in #( 24827 -*) as_dir=./$as_dir;; 24828 esac 24829 test -d "$as_dir" || eval $as_mkdir_p || { 24830 as_dirs= 24831 while :; do 24832 case $as_dir in #( 24833 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 24834 *) as_qdir=$as_dir;; 24835 esac 24836 as_dirs="'$as_qdir' $as_dirs" 24837 as_dir=`$as_dirname -- "$as_dir" || 24838$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 24839 X"$as_dir" : 'X\(//\)[^/]' \| \ 24840 X"$as_dir" : 'X\(//\)$' \| \ 24841 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 24842$as_echo X"$as_dir" | 24843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 24844 s//\1/ 24845 q 24846 } 24847 /^X\(\/\/\)[^/].*/{ 24848 s//\1/ 24849 q 24850 } 24851 /^X\(\/\/\)$/{ 24852 s//\1/ 24853 q 24854 } 24855 /^X\(\/\).*/{ 24856 s//\1/ 24857 q 24858 } 24859 s/.*/./; q'` 24860 test -d "$as_dir" && break 24861 done 24862 test -z "$as_dirs" || eval "mkdir $as_dirs" 24863 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 24864 24865 24866} # as_fn_mkdir_p 24867if mkdir -p . 2>/dev/null; then 24868 as_mkdir_p='mkdir -p "$as_dir"' 24869else 24870 test -d ./-p && rmdir ./-p 24871 as_mkdir_p=false 24872fi 24873 24874if test -x / >/dev/null 2>&1; then 24875 as_test_x='test -x' 24876else 24877 if ls -dL / >/dev/null 2>&1; then 24878 as_ls_L_option=L 24879 else 24880 as_ls_L_option= 24881 fi 24882 as_test_x=' 24883 eval sh -c '\'' 24884 if test -d "$1"; then 24885 test -d "$1/."; 24886 else 24887 case $1 in #( 24888 -*)set "./$1";; 24889 esac; 24890 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 24891 ???[sx]*):;;*)false;;esac;fi 24892 '\'' sh 24893 ' 24894fi 24895as_executable_p=$as_test_x 24896 24897# Sed expression to map a string onto a valid CPP name. 24898as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 24899 24900# Sed expression to map a string onto a valid variable name. 24901as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 24902 24903 24904exec 6>&1 24905## ----------------------------------- ## 24906## Main body of $CONFIG_STATUS script. ## 24907## ----------------------------------- ## 24908_ASEOF 24909test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 24910 24911cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 24912# Save the log message, to keep $0 and so on meaningful, and to 24913# report actual input values of CONFIG_FILES etc. instead of their 24914# values after options handling. 24915ac_log=" 24916This file was extended by avahi $as_me 0.6.31, which was 24917generated by GNU Autoconf 2.67. Invocation command line was 24918 24919 CONFIG_FILES = $CONFIG_FILES 24920 CONFIG_HEADERS = $CONFIG_HEADERS 24921 CONFIG_LINKS = $CONFIG_LINKS 24922 CONFIG_COMMANDS = $CONFIG_COMMANDS 24923 $ $0 $@ 24924 24925on `(hostname || uname -n) 2>/dev/null | sed 1q` 24926" 24927 24928_ACEOF 24929 24930case $ac_config_files in *" 24931"*) set x $ac_config_files; shift; ac_config_files=$*;; 24932esac 24933 24934case $ac_config_headers in *" 24935"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 24936esac 24937 24938 24939cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 24940# Files that config.status was made for. 24941config_files="$ac_config_files" 24942config_headers="$ac_config_headers" 24943config_commands="$ac_config_commands" 24944 24945_ACEOF 24946 24947cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 24948ac_cs_usage="\ 24949\`$as_me' instantiates files and other configuration actions 24950from templates according to the current configuration. Unless the files 24951and actions are specified as TAGs, all are instantiated by default. 24952 24953Usage: $0 [OPTION]... [TAG]... 24954 24955 -h, --help print this help, then exit 24956 -V, --version print version number and configuration settings, then exit 24957 --config print configuration, then exit 24958 -q, --quiet, --silent 24959 do not print progress messages 24960 -d, --debug don't remove temporary files 24961 --recheck update $as_me by reconfiguring in the same conditions 24962 --file=FILE[:TEMPLATE] 24963 instantiate the configuration file FILE 24964 --header=FILE[:TEMPLATE] 24965 instantiate the configuration header FILE 24966 24967Configuration files: 24968$config_files 24969 24970Configuration headers: 24971$config_headers 24972 24973Configuration commands: 24974$config_commands 24975 24976Report bugs to <avahi (at) lists (dot) freedesktop (dot) org>." 24977 24978_ACEOF 24979cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 24980ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 24981ac_cs_version="\\ 24982avahi config.status 0.6.31 24983configured by $0, generated by GNU Autoconf 2.67, 24984 with options \\"\$ac_cs_config\\" 24985 24986Copyright (C) 2010 Free Software Foundation, Inc. 24987This config.status script is free software; the Free Software Foundation 24988gives unlimited permission to copy, distribute and modify it." 24989 24990ac_pwd='$ac_pwd' 24991srcdir='$srcdir' 24992INSTALL='$INSTALL' 24993MKDIR_P='$MKDIR_P' 24994AWK='$AWK' 24995test -n "\$AWK" || AWK=awk 24996_ACEOF 24997 24998cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 24999# The default lists apply if the user does not specify any file. 25000ac_need_defaults=: 25001while test $# != 0 25002do 25003 case $1 in 25004 --*=?*) 25005 ac_option=`expr "X$1" : 'X\([^=]*\)='` 25006 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 25007 ac_shift=: 25008 ;; 25009 --*=) 25010 ac_option=`expr "X$1" : 'X\([^=]*\)='` 25011 ac_optarg= 25012 ac_shift=: 25013 ;; 25014 *) 25015 ac_option=$1 25016 ac_optarg=$2 25017 ac_shift=shift 25018 ;; 25019 esac 25020 25021 case $ac_option in 25022 # Handling of the options. 25023 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 25024 ac_cs_recheck=: ;; 25025 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 25026 $as_echo "$ac_cs_version"; exit ;; 25027 --config | --confi | --conf | --con | --co | --c ) 25028 $as_echo "$ac_cs_config"; exit ;; 25029 --debug | --debu | --deb | --de | --d | -d ) 25030 debug=: ;; 25031 --file | --fil | --fi | --f ) 25032 $ac_shift 25033 case $ac_optarg in 25034 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 25035 '') as_fn_error $? "missing file argument" ;; 25036 esac 25037 as_fn_append CONFIG_FILES " '$ac_optarg'" 25038 ac_need_defaults=false;; 25039 --header | --heade | --head | --hea ) 25040 $ac_shift 25041 case $ac_optarg in 25042 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 25043 esac 25044 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 25045 ac_need_defaults=false;; 25046 --he | --h) 25047 # Conflict between --help and --header 25048 as_fn_error $? "ambiguous option: \`$1' 25049Try \`$0 --help' for more information.";; 25050 --help | --hel | -h ) 25051 $as_echo "$ac_cs_usage"; exit ;; 25052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 25053 | -silent | --silent | --silen | --sile | --sil | --si | --s) 25054 ac_cs_silent=: ;; 25055 25056 # This is an error. 25057 -*) as_fn_error $? "unrecognized option: \`$1' 25058Try \`$0 --help' for more information." ;; 25059 25060 *) as_fn_append ac_config_targets " $1" 25061 ac_need_defaults=false ;; 25062 25063 esac 25064 shift 25065done 25066 25067ac_configure_extra_args= 25068 25069if $ac_cs_silent; then 25070 exec 6>/dev/null 25071 ac_configure_extra_args="$ac_configure_extra_args --silent" 25072fi 25073 25074_ACEOF 25075cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25076if \$ac_cs_recheck; then 25077 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 25078 shift 25079 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 25080 CONFIG_SHELL='$SHELL' 25081 export CONFIG_SHELL 25082 exec "\$@" 25083fi 25084 25085_ACEOF 25086cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25087exec 5>>config.log 25088{ 25089 echo 25090 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 25091## Running $as_me. ## 25092_ASBOX 25093 $as_echo "$ac_log" 25094} >&5 25095 25096_ACEOF 25097cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25098# 25099# INIT-COMMANDS 25100# 25101AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 25102 25103 25104# The HP-UX ksh and POSIX shell print the target directory to stdout 25105# if CDPATH is set. 25106(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 25107 25108sed_quote_subst='$sed_quote_subst' 25109double_quote_subst='$double_quote_subst' 25110delay_variable_subst='$delay_variable_subst' 25111macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 25112macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 25113enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 25114enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 25115pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 25116enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 25117SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 25118ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 25119PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 25120host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 25121host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 25122host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 25123build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 25124build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 25125build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 25126SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 25127Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 25128GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 25129EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 25130FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 25131LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 25132NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 25133LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 25134max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 25135ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 25136exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 25137lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 25138lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 25139lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 25140lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 25141lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 25142reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 25143reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 25144OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 25145deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 25146file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 25147file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 25148want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 25149DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 25150sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 25151AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 25152AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 25153archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 25154STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 25155RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 25156old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 25157old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 25158old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 25159lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 25160CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 25161CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 25162compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 25163GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 25164lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 25165lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 25166lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 25167lt_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"`' 25168nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 25169lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 25170objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 25171MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 25172lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 25173lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 25174lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 25175lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 25176lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 25177need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 25178MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 25179DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 25180NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 25181LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 25182OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 25183OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 25184libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 25185shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 25186extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 25187archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 25188enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 25189export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 25190whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 25191compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 25192old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 25193old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 25194archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 25195archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 25196module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 25197module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 25198with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 25199allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 25200no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 25201hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 25202hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 25203hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 25204hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 25205hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 25206hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 25207hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 25208inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 25209link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 25210always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 25211export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 25212exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 25213include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 25214prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 25215postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 25216file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 25217variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 25218need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 25219need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 25220version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 25221runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 25222shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 25223shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 25224libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 25225library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 25226soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 25227install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 25228postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 25229postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 25230finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 25231finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 25232hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 25233sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 25234sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 25235hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 25236enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 25237enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 25238enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 25239old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 25240striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 25241compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 25242predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 25243postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 25244predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 25245postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 25246compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 25247LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 25248reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 25249reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25250old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25251compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 25252GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 25253lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 25254lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 25255lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 25256lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 25257lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 25258archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 25259enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 25260export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 25261whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 25262compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 25263old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25264old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25265archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25266archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25267module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25268module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25269with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 25270allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 25271no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 25272hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 25273hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 25274hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 25275hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 25276hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 25277hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 25278hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 25279inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 25280link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 25281always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 25282export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25283exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 25284include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 25285prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25286postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25287file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 25288hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 25289compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 25290predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 25291postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 25292predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 25293postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 25294compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 25295 25296LTCC='$LTCC' 25297LTCFLAGS='$LTCFLAGS' 25298compiler='$compiler_DEFAULT' 25299 25300# A function that is used when there is no print builtin or printf. 25301func_fallback_echo () 25302{ 25303 eval 'cat <<_LTECHO_EOF 25304\$1 25305_LTECHO_EOF' 25306} 25307 25308# Quote evaled strings. 25309for var in SHELL \ 25310ECHO \ 25311PATH_SEPARATOR \ 25312SED \ 25313GREP \ 25314EGREP \ 25315FGREP \ 25316LD \ 25317NM \ 25318LN_S \ 25319lt_SP2NL \ 25320lt_NL2SP \ 25321reload_flag \ 25322OBJDUMP \ 25323deplibs_check_method \ 25324file_magic_cmd \ 25325file_magic_glob \ 25326want_nocaseglob \ 25327DLLTOOL \ 25328sharedlib_from_linklib_cmd \ 25329AR \ 25330AR_FLAGS \ 25331archiver_list_spec \ 25332STRIP \ 25333RANLIB \ 25334CC \ 25335CFLAGS \ 25336compiler \ 25337lt_cv_sys_global_symbol_pipe \ 25338lt_cv_sys_global_symbol_to_cdecl \ 25339lt_cv_sys_global_symbol_to_c_name_address \ 25340lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 25341nm_file_list_spec \ 25342lt_prog_compiler_no_builtin_flag \ 25343lt_prog_compiler_pic \ 25344lt_prog_compiler_wl \ 25345lt_prog_compiler_static \ 25346lt_cv_prog_compiler_c_o \ 25347need_locks \ 25348MANIFEST_TOOL \ 25349DSYMUTIL \ 25350NMEDIT \ 25351LIPO \ 25352OTOOL \ 25353OTOOL64 \ 25354shrext_cmds \ 25355export_dynamic_flag_spec \ 25356whole_archive_flag_spec \ 25357compiler_needs_object \ 25358with_gnu_ld \ 25359allow_undefined_flag \ 25360no_undefined_flag \ 25361hardcode_libdir_flag_spec \ 25362hardcode_libdir_separator \ 25363exclude_expsyms \ 25364include_expsyms \ 25365file_list_spec \ 25366variables_saved_for_relink \ 25367libname_spec \ 25368library_names_spec \ 25369soname_spec \ 25370install_override_mode \ 25371finish_eval \ 25372old_striplib \ 25373striplib \ 25374compiler_lib_search_dirs \ 25375predep_objects \ 25376postdep_objects \ 25377predeps \ 25378postdeps \ 25379compiler_lib_search_path \ 25380LD_CXX \ 25381reload_flag_CXX \ 25382compiler_CXX \ 25383lt_prog_compiler_no_builtin_flag_CXX \ 25384lt_prog_compiler_pic_CXX \ 25385lt_prog_compiler_wl_CXX \ 25386lt_prog_compiler_static_CXX \ 25387lt_cv_prog_compiler_c_o_CXX \ 25388export_dynamic_flag_spec_CXX \ 25389whole_archive_flag_spec_CXX \ 25390compiler_needs_object_CXX \ 25391with_gnu_ld_CXX \ 25392allow_undefined_flag_CXX \ 25393no_undefined_flag_CXX \ 25394hardcode_libdir_flag_spec_CXX \ 25395hardcode_libdir_separator_CXX \ 25396exclude_expsyms_CXX \ 25397include_expsyms_CXX \ 25398file_list_spec_CXX \ 25399compiler_lib_search_dirs_CXX \ 25400predep_objects_CXX \ 25401postdep_objects_CXX \ 25402predeps_CXX \ 25403postdeps_CXX \ 25404compiler_lib_search_path_CXX; do 25405 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 25406 *[\\\\\\\`\\"\\\$]*) 25407 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 25408 ;; 25409 *) 25410 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 25411 ;; 25412 esac 25413done 25414 25415# Double-quote double-evaled strings. 25416for var in reload_cmds \ 25417old_postinstall_cmds \ 25418old_postuninstall_cmds \ 25419old_archive_cmds \ 25420extract_expsyms_cmds \ 25421old_archive_from_new_cmds \ 25422old_archive_from_expsyms_cmds \ 25423archive_cmds \ 25424archive_expsym_cmds \ 25425module_cmds \ 25426module_expsym_cmds \ 25427export_symbols_cmds \ 25428prelink_cmds \ 25429postlink_cmds \ 25430postinstall_cmds \ 25431postuninstall_cmds \ 25432finish_cmds \ 25433sys_lib_search_path_spec \ 25434sys_lib_dlsearch_path_spec \ 25435reload_cmds_CXX \ 25436old_archive_cmds_CXX \ 25437old_archive_from_new_cmds_CXX \ 25438old_archive_from_expsyms_cmds_CXX \ 25439archive_cmds_CXX \ 25440archive_expsym_cmds_CXX \ 25441module_cmds_CXX \ 25442module_expsym_cmds_CXX \ 25443export_symbols_cmds_CXX \ 25444prelink_cmds_CXX \ 25445postlink_cmds_CXX; do 25446 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 25447 *[\\\\\\\`\\"\\\$]*) 25448 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 25449 ;; 25450 *) 25451 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 25452 ;; 25453 esac 25454done 25455 25456ac_aux_dir='$ac_aux_dir' 25457xsi_shell='$xsi_shell' 25458lt_shell_append='$lt_shell_append' 25459 25460# See if we are running on zsh, and set the options which allow our 25461# commands through without removal of \ escapes INIT. 25462if test -n "\${ZSH_VERSION+set}" ; then 25463 setopt NO_GLOB_SUBST 25464fi 25465 25466 25467 PACKAGE='$PACKAGE' 25468 VERSION='$VERSION' 25469 TIMESTAMP='$TIMESTAMP' 25470 RM='$RM' 25471 ofile='$ofile' 25472 25473 25474 25475 25476 25477 25478_ACEOF 25479 25480cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25481 25482# Handling of arguments. 25483for ac_config_target in $ac_config_targets 25484do 25485 case $ac_config_target in 25486 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 25487 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 25488 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 25489 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 25490 "avahi-common/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-common/Makefile" ;; 25491 "avahi-core/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-core/Makefile" ;; 25492 "avahi-glib/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-glib/Makefile" ;; 25493 "avahi-gobject/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-gobject/Makefile" ;; 25494 "avahi-qt/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-qt/Makefile" ;; 25495 "avahi-daemon/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-daemon/Makefile" ;; 25496 "avahi-daemon/avahi-dbus.conf") CONFIG_FILES="$CONFIG_FILES avahi-daemon/avahi-dbus.conf" ;; 25497 "avahi-discover-standalone/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-discover-standalone/Makefile" ;; 25498 "avahi-client/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-client/Makefile" ;; 25499 "initscript/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/Makefile" ;; 25500 "initscript/debian/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/debian/Makefile" ;; 25501 "initscript/gentoo/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/gentoo/Makefile" ;; 25502 "initscript/archlinux/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/archlinux/Makefile" ;; 25503 "initscript/suse/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/suse/Makefile" ;; 25504 "initscript/fedora/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/fedora/Makefile" ;; 25505 "initscript/lfs/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/lfs/Makefile" ;; 25506 "initscript/mandriva/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/mandriva/Makefile" ;; 25507 "initscript/darwin/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/darwin/Makefile" ;; 25508 "initscript/freebsd/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/freebsd/Makefile" ;; 25509 "initscript/slackware/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/slackware/Makefile" ;; 25510 "avahi-dnsconfd/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-dnsconfd/Makefile" ;; 25511 "avahi-utils/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-utils/Makefile" ;; 25512 "avahi-python/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-python/Makefile" ;; 25513 "avahi-python/avahi/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-python/avahi/Makefile" ;; 25514 "avahi-python/avahi-discover/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-python/avahi-discover/Makefile" ;; 25515 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 25516 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; 25517 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 25518 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 25519 "service-type-database/Makefile") CONFIG_FILES="$CONFIG_FILES service-type-database/Makefile" ;; 25520 "avahi-sharp/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-sharp/Makefile" ;; 25521 "avahi-ui-sharp/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-ui-sharp/Makefile" ;; 25522 "avahi-compat-libdns_sd/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-compat-libdns_sd/Makefile" ;; 25523 "avahi-compat-howl/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-compat-howl/Makefile" ;; 25524 "avahi-compat-howl/samples/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-compat-howl/samples/Makefile" ;; 25525 "avahi-autoipd/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-autoipd/Makefile" ;; 25526 "avahi-ui/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-ui/Makefile" ;; 25527 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 25528 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 25529 25530 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 25531 esac 25532done 25533 25534 25535# If the user did not use the arguments to specify the items to instantiate, 25536# then the envvar interface is used. Set only those that are not. 25537# We use the long form for the default assignment because of an extremely 25538# bizarre bug on SunOS 4.1.3. 25539if $ac_need_defaults; then 25540 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 25541 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 25542 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 25543fi 25544 25545# Have a temporary directory for convenience. Make it in the build tree 25546# simply because there is no reason against having it here, and in addition, 25547# creating and moving files from /tmp can sometimes cause problems. 25548# Hook for its removal unless debugging. 25549# Note that there is a small window in which the directory will not be cleaned: 25550# after its creation but before its name has been assigned to `$tmp'. 25551$debug || 25552{ 25553 tmp= 25554 trap 'exit_status=$? 25555 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 25556' 0 25557 trap 'as_fn_exit 1' 1 2 13 15 25558} 25559# Create a (secure) tmp directory for tmp files. 25560 25561{ 25562 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 25563 test -n "$tmp" && test -d "$tmp" 25564} || 25565{ 25566 tmp=./conf$$-$RANDOM 25567 (umask 077 && mkdir "$tmp") 25568} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 25569 25570# Set up the scripts for CONFIG_FILES section. 25571# No need to generate them if there are no CONFIG_FILES. 25572# This happens for instance with `./config.status config.h'. 25573if test -n "$CONFIG_FILES"; then 25574 25575 25576ac_cr=`echo X | tr X '\015'` 25577# On cygwin, bash can eat \r inside `` if the user requested igncr. 25578# But we know of no other shell where ac_cr would be empty at this 25579# point, so we can use a bashism as a fallback. 25580if test "x$ac_cr" = x; then 25581 eval ac_cr=\$\'\\r\' 25582fi 25583ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 25584if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 25585 ac_cs_awk_cr='\\r' 25586else 25587 ac_cs_awk_cr=$ac_cr 25588fi 25589 25590echo 'BEGIN {' >"$tmp/subs1.awk" && 25591_ACEOF 25592 25593 25594{ 25595 echo "cat >conf$$subs.awk <<_ACEOF" && 25596 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 25597 echo "_ACEOF" 25598} >conf$$subs.sh || 25599 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 25600ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 25601ac_delim='%!_!# ' 25602for ac_last_try in false false false false false :; do 25603 . ./conf$$subs.sh || 25604 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 25605 25606 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 25607 if test $ac_delim_n = $ac_delim_num; then 25608 break 25609 elif $ac_last_try; then 25610 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 25611 else 25612 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 25613 fi 25614done 25615rm -f conf$$subs.sh 25616 25617cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25618cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 25619_ACEOF 25620sed -n ' 25621h 25622s/^/S["/; s/!.*/"]=/ 25623p 25624g 25625s/^[^!]*!// 25626:repl 25627t repl 25628s/'"$ac_delim"'$// 25629t delim 25630:nl 25631h 25632s/\(.\{148\}\)..*/\1/ 25633t more1 25634s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 25635p 25636n 25637b repl 25638:more1 25639s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 25640p 25641g 25642s/.\{148\}// 25643t nl 25644:delim 25645h 25646s/\(.\{148\}\)..*/\1/ 25647t more2 25648s/["\\]/\\&/g; s/^/"/; s/$/"/ 25649p 25650b 25651:more2 25652s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 25653p 25654g 25655s/.\{148\}// 25656t delim 25657' <conf$$subs.awk | sed ' 25658/^[^""]/{ 25659 N 25660 s/\n// 25661} 25662' >>$CONFIG_STATUS || ac_write_fail=1 25663rm -f conf$$subs.awk 25664cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25665_ACAWK 25666cat >>"\$tmp/subs1.awk" <<_ACAWK && 25667 for (key in S) S_is_set[key] = 1 25668 FS = "" 25669 25670} 25671{ 25672 line = $ 0 25673 nfields = split(line, field, "@") 25674 substed = 0 25675 len = length(field[1]) 25676 for (i = 2; i < nfields; i++) { 25677 key = field[i] 25678 keylen = length(key) 25679 if (S_is_set[key]) { 25680 value = S[key] 25681 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 25682 len += length(value) + length(field[++i]) 25683 substed = 1 25684 } else 25685 len += 1 + keylen 25686 } 25687 25688 print line 25689} 25690 25691_ACAWK 25692_ACEOF 25693cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25694if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 25695 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 25696else 25697 cat 25698fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 25699 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 25700_ACEOF 25701 25702# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 25703# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 25704# trailing colons and then remove the whole line if VPATH becomes empty 25705# (actually we leave an empty line to preserve line numbers). 25706if test "x$srcdir" = x.; then 25707 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 25708h 25709s/// 25710s/^/:/ 25711s/[ ]*$/:/ 25712s/:\$(srcdir):/:/g 25713s/:\${srcdir}:/:/g 25714s/:@srcdir@:/:/g 25715s/^:*// 25716s/:*$// 25717x 25718s/\(=[ ]*\).*/\1/ 25719G 25720s/\n// 25721s/^[^=]*=[ ]*$// 25722}' 25723fi 25724 25725cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25726fi # test -n "$CONFIG_FILES" 25727 25728# Set up the scripts for CONFIG_HEADERS section. 25729# No need to generate them if there are no CONFIG_HEADERS. 25730# This happens for instance with `./config.status Makefile'. 25731if test -n "$CONFIG_HEADERS"; then 25732cat >"$tmp/defines.awk" <<\_ACAWK || 25733BEGIN { 25734_ACEOF 25735 25736# Transform confdefs.h into an awk script `defines.awk', embedded as 25737# here-document in config.status, that substitutes the proper values into 25738# config.h.in to produce config.h. 25739 25740# Create a delimiter string that does not exist in confdefs.h, to ease 25741# handling of long lines. 25742ac_delim='%!_!# ' 25743for ac_last_try in false false :; do 25744 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 25745 if test -z "$ac_t"; then 25746 break 25747 elif $ac_last_try; then 25748 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 25749 else 25750 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 25751 fi 25752done 25753 25754# For the awk script, D is an array of macro values keyed by name, 25755# likewise P contains macro parameters if any. Preserve backslash 25756# newline sequences. 25757 25758ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 25759sed -n ' 25760s/.\{148\}/&'"$ac_delim"'/g 25761t rset 25762:rset 25763s/^[ ]*#[ ]*define[ ][ ]*/ / 25764t def 25765d 25766:def 25767s/\\$// 25768t bsnl 25769s/["\\]/\\&/g 25770s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 25771D["\1"]=" \3"/p 25772s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 25773d 25774:bsnl 25775s/["\\]/\\&/g 25776s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 25777D["\1"]=" \3\\\\\\n"\\/p 25778t cont 25779s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 25780t cont 25781d 25782:cont 25783n 25784s/.\{148\}/&'"$ac_delim"'/g 25785t clear 25786:clear 25787s/\\$// 25788t bsnlc 25789s/["\\]/\\&/g; s/^/"/; s/$/"/p 25790d 25791:bsnlc 25792s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 25793b cont 25794' <confdefs.h | sed ' 25795s/'"$ac_delim"'/"\\\ 25796"/g' >>$CONFIG_STATUS || ac_write_fail=1 25797 25798cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25799 for (key in D) D_is_set[key] = 1 25800 FS = "" 25801} 25802/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 25803 line = \$ 0 25804 split(line, arg, " ") 25805 if (arg[1] == "#") { 25806 defundef = arg[2] 25807 mac1 = arg[3] 25808 } else { 25809 defundef = substr(arg[1], 2) 25810 mac1 = arg[2] 25811 } 25812 split(mac1, mac2, "(") #) 25813 macro = mac2[1] 25814 prefix = substr(line, 1, index(line, defundef) - 1) 25815 if (D_is_set[macro]) { 25816 # Preserve the white space surrounding the "#". 25817 print prefix "define", macro P[macro] D[macro] 25818 next 25819 } else { 25820 # Replace #undef with comments. This is necessary, for example, 25821 # in the case of _POSIX_SOURCE, which is predefined and required 25822 # on some systems where configure will not decide to define it. 25823 if (defundef == "undef") { 25824 print "/*", prefix defundef, macro, "*/" 25825 next 25826 } 25827 } 25828} 25829{ print } 25830_ACAWK 25831_ACEOF 25832cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25833 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 25834fi # test -n "$CONFIG_HEADERS" 25835 25836 25837eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 25838shift 25839for ac_tag 25840do 25841 case $ac_tag in 25842 :[FHLC]) ac_mode=$ac_tag; continue;; 25843 esac 25844 case $ac_mode$ac_tag in 25845 :[FHL]*:*);; 25846 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 25847 :[FH]-) ac_tag=-:-;; 25848 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 25849 esac 25850 ac_save_IFS=$IFS 25851 IFS=: 25852 set x $ac_tag 25853 IFS=$ac_save_IFS 25854 shift 25855 ac_file=$1 25856 shift 25857 25858 case $ac_mode in 25859 :L) ac_source=$1;; 25860 :[FH]) 25861 ac_file_inputs= 25862 for ac_f 25863 do 25864 case $ac_f in 25865 -) ac_f="$tmp/stdin";; 25866 *) # Look for the file first in the build tree, then in the source tree 25867 # (if the path is not absolute). The absolute path cannot be DOS-style, 25868 # because $ac_f cannot contain `:'. 25869 test -f "$ac_f" || 25870 case $ac_f in 25871 [\\/$]*) false;; 25872 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 25873 esac || 25874 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 25875 esac 25876 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 25877 as_fn_append ac_file_inputs " '$ac_f'" 25878 done 25879 25880 # Let's still pretend it is `configure' which instantiates (i.e., don't 25881 # use $as_me), people would be surprised to read: 25882 # /* config.h. Generated by config.status. */ 25883 configure_input='Generated from '` 25884 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 25885 `' by configure.' 25886 if test x"$ac_file" != x-; then 25887 configure_input="$ac_file. $configure_input" 25888 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 25889$as_echo "$as_me: creating $ac_file" >&6;} 25890 fi 25891 # Neutralize special characters interpreted by sed in replacement strings. 25892 case $configure_input in #( 25893 *\&* | *\|* | *\\* ) 25894 ac_sed_conf_input=`$as_echo "$configure_input" | 25895 sed 's/[\\\\&|]/\\\\&/g'`;; #( 25896 *) ac_sed_conf_input=$configure_input;; 25897 esac 25898 25899 case $ac_tag in 25900 *:-:* | *:-) cat >"$tmp/stdin" \ 25901 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 25902 esac 25903 ;; 25904 esac 25905 25906 ac_dir=`$as_dirname -- "$ac_file" || 25907$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 25908 X"$ac_file" : 'X\(//\)[^/]' \| \ 25909 X"$ac_file" : 'X\(//\)$' \| \ 25910 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 25911$as_echo X"$ac_file" | 25912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 25913 s//\1/ 25914 q 25915 } 25916 /^X\(\/\/\)[^/].*/{ 25917 s//\1/ 25918 q 25919 } 25920 /^X\(\/\/\)$/{ 25921 s//\1/ 25922 q 25923 } 25924 /^X\(\/\).*/{ 25925 s//\1/ 25926 q 25927 } 25928 s/.*/./; q'` 25929 as_dir="$ac_dir"; as_fn_mkdir_p 25930 ac_builddir=. 25931 25932case "$ac_dir" in 25933.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 25934*) 25935 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 25936 # A ".." for each directory in $ac_dir_suffix. 25937 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 25938 case $ac_top_builddir_sub in 25939 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 25940 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 25941 esac ;; 25942esac 25943ac_abs_top_builddir=$ac_pwd 25944ac_abs_builddir=$ac_pwd$ac_dir_suffix 25945# for backward compatibility: 25946ac_top_builddir=$ac_top_build_prefix 25947 25948case $srcdir in 25949 .) # We are building in place. 25950 ac_srcdir=. 25951 ac_top_srcdir=$ac_top_builddir_sub 25952 ac_abs_top_srcdir=$ac_pwd ;; 25953 [\\/]* | ?:[\\/]* ) # Absolute name. 25954 ac_srcdir=$srcdir$ac_dir_suffix; 25955 ac_top_srcdir=$srcdir 25956 ac_abs_top_srcdir=$srcdir ;; 25957 *) # Relative name. 25958 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 25959 ac_top_srcdir=$ac_top_build_prefix$srcdir 25960 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 25961esac 25962ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 25963 25964 25965 case $ac_mode in 25966 :F) 25967 # 25968 # CONFIG_FILE 25969 # 25970 25971 case $INSTALL in 25972 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 25973 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 25974 esac 25975 ac_MKDIR_P=$MKDIR_P 25976 case $MKDIR_P in 25977 [\\/$]* | ?:[\\/]* ) ;; 25978 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 25979 esac 25980_ACEOF 25981 25982cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25983# If the template does not know about datarootdir, expand it. 25984# FIXME: This hack should be removed a few years after 2.60. 25985ac_datarootdir_hack=; ac_datarootdir_seen= 25986ac_sed_dataroot=' 25987/datarootdir/ { 25988 p 25989 q 25990} 25991/@datadir@/p 25992/@docdir@/p 25993/@infodir@/p 25994/@localedir@/p 25995/@mandir@/p' 25996case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 25997*datarootdir*) ac_datarootdir_seen=yes;; 25998*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 25999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 26000$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 26001_ACEOF 26002cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26003 ac_datarootdir_hack=' 26004 s&@datadir@&$datadir&g 26005 s&@docdir@&$docdir&g 26006 s&@infodir@&$infodir&g 26007 s&@localedir@&$localedir&g 26008 s&@mandir@&$mandir&g 26009 s&\\\${datarootdir}&$datarootdir&g' ;; 26010esac 26011_ACEOF 26012 26013# Neutralize VPATH when `$srcdir' = `.'. 26014# Shell code in configure.ac might set extrasub. 26015# FIXME: do we really want to maintain this feature? 26016cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26017ac_sed_extra="$ac_vpsub 26018$extrasub 26019_ACEOF 26020cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26021:t 26022/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 26023s|@configure_input@|$ac_sed_conf_input|;t t 26024s&@top_builddir@&$ac_top_builddir_sub&;t t 26025s&@top_build_prefix@&$ac_top_build_prefix&;t t 26026s&@srcdir@&$ac_srcdir&;t t 26027s&@abs_srcdir@&$ac_abs_srcdir&;t t 26028s&@top_srcdir@&$ac_top_srcdir&;t t 26029s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 26030s&@builddir@&$ac_builddir&;t t 26031s&@abs_builddir@&$ac_abs_builddir&;t t 26032s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 26033s&@INSTALL@&$ac_INSTALL&;t t 26034s&@MKDIR_P@&$ac_MKDIR_P&;t t 26035$ac_datarootdir_hack 26036" 26037eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 26038 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 26039 26040test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 26041 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 26042 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 26043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 26044which seems to be undefined. Please make sure it is defined" >&5 26045$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 26046which seems to be undefined. Please make sure it is defined" >&2;} 26047 26048 rm -f "$tmp/stdin" 26049 case $ac_file in 26050 -) cat "$tmp/out" && rm -f "$tmp/out";; 26051 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 26052 esac \ 26053 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 26054 ;; 26055 :H) 26056 # 26057 # CONFIG_HEADER 26058 # 26059 if test x"$ac_file" != x-; then 26060 { 26061 $as_echo "/* $configure_input */" \ 26062 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 26063 } >"$tmp/config.h" \ 26064 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 26065 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 26066 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 26067$as_echo "$as_me: $ac_file is unchanged" >&6;} 26068 else 26069 rm -f "$ac_file" 26070 mv "$tmp/config.h" "$ac_file" \ 26071 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 26072 fi 26073 else 26074 $as_echo "/* $configure_input */" \ 26075 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 26076 || as_fn_error $? "could not create -" "$LINENO" 5 26077 fi 26078# Compute "$ac_file"'s index in $config_headers. 26079_am_arg="$ac_file" 26080_am_stamp_count=1 26081for _am_header in $config_headers :; do 26082 case $_am_header in 26083 $_am_arg | $_am_arg:* ) 26084 break ;; 26085 * ) 26086 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 26087 esac 26088done 26089echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 26090$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26091 X"$_am_arg" : 'X\(//\)[^/]' \| \ 26092 X"$_am_arg" : 'X\(//\)$' \| \ 26093 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 26094$as_echo X"$_am_arg" | 26095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 26096 s//\1/ 26097 q 26098 } 26099 /^X\(\/\/\)[^/].*/{ 26100 s//\1/ 26101 q 26102 } 26103 /^X\(\/\/\)$/{ 26104 s//\1/ 26105 q 26106 } 26107 /^X\(\/\).*/{ 26108 s//\1/ 26109 q 26110 } 26111 s/.*/./; q'`/stamp-h$_am_stamp_count 26112 ;; 26113 26114 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 26115$as_echo "$as_me: executing $ac_file commands" >&6;} 26116 ;; 26117 esac 26118 26119 26120 case $ac_file$ac_mode in 26121 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 26122 # Autoconf 2.62 quotes --file arguments for eval, but not when files 26123 # are listed without --file. Let's play safe and only enable the eval 26124 # if we detect the quoting. 26125 case $CONFIG_FILES in 26126 *\'*) eval set x "$CONFIG_FILES" ;; 26127 *) set x $CONFIG_FILES ;; 26128 esac 26129 shift 26130 for mf 26131 do 26132 # Strip MF so we end up with the name of the file. 26133 mf=`echo "$mf" | sed -e 's/:.*$//'` 26134 # Check whether this is an Automake generated Makefile or not. 26135 # We used to match only the files named `Makefile.in', but 26136 # some people rename them; so instead we look at the file content. 26137 # Grep'ing the first line is not enough: some people post-process 26138 # each Makefile.in and add a new line on top of each file to say so. 26139 # Grep'ing the whole file is not good either: AIX grep has a line 26140 # limit of 2048, but all sed's we know have understand at least 4000. 26141 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 26142 dirpart=`$as_dirname -- "$mf" || 26143$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26144 X"$mf" : 'X\(//\)[^/]' \| \ 26145 X"$mf" : 'X\(//\)$' \| \ 26146 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 26147$as_echo X"$mf" | 26148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 26149 s//\1/ 26150 q 26151 } 26152 /^X\(\/\/\)[^/].*/{ 26153 s//\1/ 26154 q 26155 } 26156 /^X\(\/\/\)$/{ 26157 s//\1/ 26158 q 26159 } 26160 /^X\(\/\).*/{ 26161 s//\1/ 26162 q 26163 } 26164 s/.*/./; q'` 26165 else 26166 continue 26167 fi 26168 # Extract the definition of DEPDIR, am__include, and am__quote 26169 # from the Makefile without running `make'. 26170 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 26171 test -z "$DEPDIR" && continue 26172 am__include=`sed -n 's/^am__include = //p' < "$mf"` 26173 test -z "am__include" && continue 26174 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 26175 # When using ansi2knr, U may be empty or an underscore; expand it 26176 U=`sed -n 's/^U = //p' < "$mf"` 26177 # Find all dependency output files, they are included files with 26178 # $(DEPDIR) in their names. We invoke sed twice because it is the 26179 # simplest approach to changing $(DEPDIR) to its actual value in the 26180 # expansion. 26181 for file in `sed -n " 26182 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 26183 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 26184 # Make sure the directory exists. 26185 test -f "$dirpart/$file" && continue 26186 fdir=`$as_dirname -- "$file" || 26187$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26188 X"$file" : 'X\(//\)[^/]' \| \ 26189 X"$file" : 'X\(//\)$' \| \ 26190 X"$file" : 'X\(/\)' \| . 2>/dev/null || 26191$as_echo X"$file" | 26192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 26193 s//\1/ 26194 q 26195 } 26196 /^X\(\/\/\)[^/].*/{ 26197 s//\1/ 26198 q 26199 } 26200 /^X\(\/\/\)$/{ 26201 s//\1/ 26202 q 26203 } 26204 /^X\(\/\).*/{ 26205 s//\1/ 26206 q 26207 } 26208 s/.*/./; q'` 26209 as_dir=$dirpart/$fdir; as_fn_mkdir_p 26210 # echo "creating $dirpart/$file" 26211 echo '# dummy' > "$dirpart/$file" 26212 done 26213 done 26214} 26215 ;; 26216 "libtool":C) 26217 26218 # See if we are running on zsh, and set the options which allow our 26219 # commands through without removal of \ escapes. 26220 if test -n "${ZSH_VERSION+set}" ; then 26221 setopt NO_GLOB_SUBST 26222 fi 26223 26224 cfgfile="${ofile}T" 26225 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 26226 $RM "$cfgfile" 26227 26228 cat <<_LT_EOF >> "$cfgfile" 26229#! $SHELL 26230 26231# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 26232# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 26233# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 26234# NOTE: Changes made to this file will be lost: look at ltmain.sh. 26235# 26236# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 26237# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 26238# Foundation, Inc. 26239# Written by Gordon Matzigkeit, 1996 26240# 26241# This file is part of GNU Libtool. 26242# 26243# GNU Libtool is free software; you can redistribute it and/or 26244# modify it under the terms of the GNU General Public License as 26245# published by the Free Software Foundation; either version 2 of 26246# the License, or (at your option) any later version. 26247# 26248# As a special exception to the GNU General Public License, 26249# if you distribute this file as part of a program or library that 26250# is built using GNU Libtool, you may include this file under the 26251# same distribution terms that you use for the rest of that program. 26252# 26253# GNU Libtool is distributed in the hope that it will be useful, 26254# but WITHOUT ANY WARRANTY; without even the implied warranty of 26255# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26256# GNU General Public License for more details. 26257# 26258# You should have received a copy of the GNU General Public License 26259# along with GNU Libtool; see the file COPYING. If not, a copy 26260# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 26261# obtained by writing to the Free Software Foundation, Inc., 26262# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 26263 26264 26265# The names of the tagged configurations supported by this script. 26266available_tags="CXX " 26267 26268# ### BEGIN LIBTOOL CONFIG 26269 26270# Which release of libtool.m4 was used? 26271macro_version=$macro_version 26272macro_revision=$macro_revision 26273 26274# Whether or not to build shared libraries. 26275build_libtool_libs=$enable_shared 26276 26277# Whether or not to build static libraries. 26278build_old_libs=$enable_static 26279 26280# What type of objects to build. 26281pic_mode=$pic_mode 26282 26283# Whether or not to optimize for fast installation. 26284fast_install=$enable_fast_install 26285 26286# Shell to use when invoking shell scripts. 26287SHELL=$lt_SHELL 26288 26289# An echo program that protects backslashes. 26290ECHO=$lt_ECHO 26291 26292# The PATH separator for the build system. 26293PATH_SEPARATOR=$lt_PATH_SEPARATOR 26294 26295# The host system. 26296host_alias=$host_alias 26297host=$host 26298host_os=$host_os 26299 26300# The build system. 26301build_alias=$build_alias 26302build=$build 26303build_os=$build_os 26304 26305# A sed program that does not truncate output. 26306SED=$lt_SED 26307 26308# Sed that helps us avoid accidentally triggering echo(1) options like -n. 26309Xsed="\$SED -e 1s/^X//" 26310 26311# A grep program that handles long lines. 26312GREP=$lt_GREP 26313 26314# An ERE matcher. 26315EGREP=$lt_EGREP 26316 26317# A literal string matcher. 26318FGREP=$lt_FGREP 26319 26320# A BSD- or MS-compatible name lister. 26321NM=$lt_NM 26322 26323# Whether we need soft or hard links. 26324LN_S=$lt_LN_S 26325 26326# What is the maximum length of a command? 26327max_cmd_len=$max_cmd_len 26328 26329# Object file suffix (normally "o"). 26330objext=$ac_objext 26331 26332# Executable file suffix (normally ""). 26333exeext=$exeext 26334 26335# whether the shell understands "unset". 26336lt_unset=$lt_unset 26337 26338# turn spaces into newlines. 26339SP2NL=$lt_lt_SP2NL 26340 26341# turn newlines into spaces. 26342NL2SP=$lt_lt_NL2SP 26343 26344# convert \$build file names to \$host format. 26345to_host_file_cmd=$lt_cv_to_host_file_cmd 26346 26347# convert \$build files to toolchain format. 26348to_tool_file_cmd=$lt_cv_to_tool_file_cmd 26349 26350# An object symbol dumper. 26351OBJDUMP=$lt_OBJDUMP 26352 26353# Method to check whether dependent libraries are shared objects. 26354deplibs_check_method=$lt_deplibs_check_method 26355 26356# Command to use when deplibs_check_method = "file_magic". 26357file_magic_cmd=$lt_file_magic_cmd 26358 26359# How to find potential files when deplibs_check_method = "file_magic". 26360file_magic_glob=$lt_file_magic_glob 26361 26362# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 26363want_nocaseglob=$lt_want_nocaseglob 26364 26365# DLL creation program. 26366DLLTOOL=$lt_DLLTOOL 26367 26368# Command to associate shared and link libraries. 26369sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 26370 26371# The archiver. 26372AR=$lt_AR 26373 26374# Flags to create an archive. 26375AR_FLAGS=$lt_AR_FLAGS 26376 26377# How to feed a file listing to the archiver. 26378archiver_list_spec=$lt_archiver_list_spec 26379 26380# A symbol stripping program. 26381STRIP=$lt_STRIP 26382 26383# Commands used to install an old-style archive. 26384RANLIB=$lt_RANLIB 26385old_postinstall_cmds=$lt_old_postinstall_cmds 26386old_postuninstall_cmds=$lt_old_postuninstall_cmds 26387 26388# Whether to use a lock for old archive extraction. 26389lock_old_archive_extraction=$lock_old_archive_extraction 26390 26391# A C compiler. 26392LTCC=$lt_CC 26393 26394# LTCC compiler flags. 26395LTCFLAGS=$lt_CFLAGS 26396 26397# Take the output of nm and produce a listing of raw symbols and C names. 26398global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 26399 26400# Transform the output of nm in a proper C declaration. 26401global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 26402 26403# Transform the output of nm in a C name address pair. 26404global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 26405 26406# Transform the output of nm in a C name address pair when lib prefix is needed. 26407global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 26408 26409# Specify filename containing input files for \$NM. 26410nm_file_list_spec=$lt_nm_file_list_spec 26411 26412# The root where to search for dependent libraries,and in which our libraries should be installed. 26413lt_sysroot=$lt_sysroot 26414 26415# The name of the directory that contains temporary libtool files. 26416objdir=$objdir 26417 26418# Used to examine libraries when file_magic_cmd begins with "file". 26419MAGIC_CMD=$MAGIC_CMD 26420 26421# Must we lock files when doing compilation? 26422need_locks=$lt_need_locks 26423 26424# Manifest tool. 26425MANIFEST_TOOL=$lt_MANIFEST_TOOL 26426 26427# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 26428DSYMUTIL=$lt_DSYMUTIL 26429 26430# Tool to change global to local symbols on Mac OS X. 26431NMEDIT=$lt_NMEDIT 26432 26433# Tool to manipulate fat objects and archives on Mac OS X. 26434LIPO=$lt_LIPO 26435 26436# ldd/readelf like tool for Mach-O binaries on Mac OS X. 26437OTOOL=$lt_OTOOL 26438 26439# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 26440OTOOL64=$lt_OTOOL64 26441 26442# Old archive suffix (normally "a"). 26443libext=$libext 26444 26445# Shared library suffix (normally ".so"). 26446shrext_cmds=$lt_shrext_cmds 26447 26448# The commands to extract the exported symbol list from a shared archive. 26449extract_expsyms_cmds=$lt_extract_expsyms_cmds 26450 26451# Variables whose values should be saved in libtool wrapper scripts and 26452# restored at link time. 26453variables_saved_for_relink=$lt_variables_saved_for_relink 26454 26455# Do we need the "lib" prefix for modules? 26456need_lib_prefix=$need_lib_prefix 26457 26458# Do we need a version for libraries? 26459need_version=$need_version 26460 26461# Library versioning type. 26462version_type=$version_type 26463 26464# Shared library runtime path variable. 26465runpath_var=$runpath_var 26466 26467# Shared library path variable. 26468shlibpath_var=$shlibpath_var 26469 26470# Is shlibpath searched before the hard-coded library search path? 26471shlibpath_overrides_runpath=$shlibpath_overrides_runpath 26472 26473# Format of library name prefix. 26474libname_spec=$lt_libname_spec 26475 26476# List of archive names. First name is the real one, the rest are links. 26477# The last name is the one that the linker finds with -lNAME 26478library_names_spec=$lt_library_names_spec 26479 26480# The coded name of the library, if different from the real name. 26481soname_spec=$lt_soname_spec 26482 26483# Permission mode override for installation of shared libraries. 26484install_override_mode=$lt_install_override_mode 26485 26486# Command to use after installation of a shared archive. 26487postinstall_cmds=$lt_postinstall_cmds 26488 26489# Command to use after uninstallation of a shared archive. 26490postuninstall_cmds=$lt_postuninstall_cmds 26491 26492# Commands used to finish a libtool library installation in a directory. 26493finish_cmds=$lt_finish_cmds 26494 26495# As "finish_cmds", except a single script fragment to be evaled but 26496# not shown. 26497finish_eval=$lt_finish_eval 26498 26499# Whether we should hardcode library paths into libraries. 26500hardcode_into_libs=$hardcode_into_libs 26501 26502# Compile-time system search path for libraries. 26503sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 26504 26505# Run-time system search path for libraries. 26506sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 26507 26508# Whether dlopen is supported. 26509dlopen_support=$enable_dlopen 26510 26511# Whether dlopen of programs is supported. 26512dlopen_self=$enable_dlopen_self 26513 26514# Whether dlopen of statically linked programs is supported. 26515dlopen_self_static=$enable_dlopen_self_static 26516 26517# Commands to strip libraries. 26518old_striplib=$lt_old_striplib 26519striplib=$lt_striplib 26520 26521 26522# The linker used to build libraries. 26523LD=$lt_LD 26524 26525# How to create reloadable object files. 26526reload_flag=$lt_reload_flag 26527reload_cmds=$lt_reload_cmds 26528 26529# Commands used to build an old-style archive. 26530old_archive_cmds=$lt_old_archive_cmds 26531 26532# A language specific compiler. 26533CC=$lt_compiler 26534 26535# Is the compiler the GNU compiler? 26536with_gcc=$GCC 26537 26538# Compiler flag to turn off builtin functions. 26539no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 26540 26541# Additional compiler flags for building library objects. 26542pic_flag=$lt_lt_prog_compiler_pic 26543 26544# How to pass a linker flag through the compiler. 26545wl=$lt_lt_prog_compiler_wl 26546 26547# Compiler flag to prevent dynamic linking. 26548link_static_flag=$lt_lt_prog_compiler_static 26549 26550# Does compiler simultaneously support -c and -o options? 26551compiler_c_o=$lt_lt_cv_prog_compiler_c_o 26552 26553# Whether or not to add -lc for building shared libraries. 26554build_libtool_need_lc=$archive_cmds_need_lc 26555 26556# Whether or not to disallow shared libs when runtime libs are static. 26557allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 26558 26559# Compiler flag to allow reflexive dlopens. 26560export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 26561 26562# Compiler flag to generate shared objects directly from archives. 26563whole_archive_flag_spec=$lt_whole_archive_flag_spec 26564 26565# Whether the compiler copes with passing no objects directly. 26566compiler_needs_object=$lt_compiler_needs_object 26567 26568# Create an old-style archive from a shared archive. 26569old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 26570 26571# Create a temporary old-style archive to link instead of a shared archive. 26572old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 26573 26574# Commands used to build a shared archive. 26575archive_cmds=$lt_archive_cmds 26576archive_expsym_cmds=$lt_archive_expsym_cmds 26577 26578# Commands used to build a loadable module if different from building 26579# a shared archive. 26580module_cmds=$lt_module_cmds 26581module_expsym_cmds=$lt_module_expsym_cmds 26582 26583# Whether we are building with GNU ld or not. 26584with_gnu_ld=$lt_with_gnu_ld 26585 26586# Flag that allows shared libraries with undefined symbols to be built. 26587allow_undefined_flag=$lt_allow_undefined_flag 26588 26589# Flag that enforces no undefined symbols. 26590no_undefined_flag=$lt_no_undefined_flag 26591 26592# Flag to hardcode \$libdir into a binary during linking. 26593# This must work even if \$libdir does not exist 26594hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 26595 26596# Whether we need a single "-rpath" flag with a separated argument. 26597hardcode_libdir_separator=$lt_hardcode_libdir_separator 26598 26599# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 26600# DIR into the resulting binary. 26601hardcode_direct=$hardcode_direct 26602 26603# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 26604# DIR into the resulting binary and the resulting library dependency is 26605# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 26606# library is relocated. 26607hardcode_direct_absolute=$hardcode_direct_absolute 26608 26609# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 26610# into the resulting binary. 26611hardcode_minus_L=$hardcode_minus_L 26612 26613# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 26614# into the resulting binary. 26615hardcode_shlibpath_var=$hardcode_shlibpath_var 26616 26617# Set to "yes" if building a shared library automatically hardcodes DIR 26618# into the library and all subsequent libraries and executables linked 26619# against it. 26620hardcode_automatic=$hardcode_automatic 26621 26622# Set to yes if linker adds runtime paths of dependent libraries 26623# to runtime path list. 26624inherit_rpath=$inherit_rpath 26625 26626# Whether libtool must link a program against all its dependency libraries. 26627link_all_deplibs=$link_all_deplibs 26628 26629# Set to "yes" if exported symbols are required. 26630always_export_symbols=$always_export_symbols 26631 26632# The commands to list exported symbols. 26633export_symbols_cmds=$lt_export_symbols_cmds 26634 26635# Symbols that should not be listed in the preloaded symbols. 26636exclude_expsyms=$lt_exclude_expsyms 26637 26638# Symbols that must always be exported. 26639include_expsyms=$lt_include_expsyms 26640 26641# Commands necessary for linking programs (against libraries) with templates. 26642prelink_cmds=$lt_prelink_cmds 26643 26644# Commands necessary for finishing linking programs. 26645postlink_cmds=$lt_postlink_cmds 26646 26647# Specify filename containing input files. 26648file_list_spec=$lt_file_list_spec 26649 26650# How to hardcode a shared library path into an executable. 26651hardcode_action=$hardcode_action 26652 26653# The directories searched by this compiler when creating a shared library. 26654compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 26655 26656# Dependencies to place before and after the objects being linked to 26657# create a shared library. 26658predep_objects=$lt_predep_objects 26659postdep_objects=$lt_postdep_objects 26660predeps=$lt_predeps 26661postdeps=$lt_postdeps 26662 26663# The library search path used internally by the compiler when linking 26664# a shared library. 26665compiler_lib_search_path=$lt_compiler_lib_search_path 26666 26667# ### END LIBTOOL CONFIG 26668 26669_LT_EOF 26670 26671 case $host_os in 26672 aix3*) 26673 cat <<\_LT_EOF >> "$cfgfile" 26674# AIX sometimes has problems with the GCC collect2 program. For some 26675# reason, if we set the COLLECT_NAMES environment variable, the problems 26676# vanish in a puff of smoke. 26677if test "X${COLLECT_NAMES+set}" != Xset; then 26678 COLLECT_NAMES= 26679 export COLLECT_NAMES 26680fi 26681_LT_EOF 26682 ;; 26683 esac 26684 26685 26686ltmain="$ac_aux_dir/ltmain.sh" 26687 26688 26689 # We use sed instead of cat because bash on DJGPP gets confused if 26690 # if finds mixed CR/LF and LF-only lines. Since sed operates in 26691 # text mode, it properly converts lines to CR/LF. This bash problem 26692 # is reportedly fixed, but why not run on old versions too? 26693 sed '$q' "$ltmain" >> "$cfgfile" \ 26694 || (rm -f "$cfgfile"; exit 1) 26695 26696 if test x"$xsi_shell" = xyes; then 26697 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 26698func_dirname ()\ 26699{\ 26700\ case ${1} in\ 26701\ */*) func_dirname_result="${1%/*}${2}" ;;\ 26702\ * ) func_dirname_result="${3}" ;;\ 26703\ esac\ 26704} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 26705 && mv -f "$cfgfile.tmp" "$cfgfile" \ 26706 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 26707test 0 -eq $? || _lt_function_replace_fail=: 26708 26709 26710 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 26711func_basename ()\ 26712{\ 26713\ func_basename_result="${1##*/}"\ 26714} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 26715 && mv -f "$cfgfile.tmp" "$cfgfile" \ 26716 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 26717test 0 -eq $? || _lt_function_replace_fail=: 26718 26719 26720 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 26721func_dirname_and_basename ()\ 26722{\ 26723\ case ${1} in\ 26724\ */*) func_dirname_result="${1%/*}${2}" ;;\ 26725\ * ) func_dirname_result="${3}" ;;\ 26726\ esac\ 26727\ func_basename_result="${1##*/}"\ 26728} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 26729 && mv -f "$cfgfile.tmp" "$cfgfile" \ 26730 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 26731test 0 -eq $? || _lt_function_replace_fail=: 26732 26733 26734 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 26735func_stripname ()\ 26736{\ 26737\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 26738\ # positional parameters, so assign one to ordinary parameter first.\ 26739\ func_stripname_result=${3}\ 26740\ func_stripname_result=${func_stripname_result#"${1}"}\ 26741\ func_stripname_result=${func_stripname_result%"${2}"}\ 26742} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 26743 && mv -f "$cfgfile.tmp" "$cfgfile" \ 26744 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 26745test 0 -eq $? || _lt_function_replace_fail=: 26746 26747 26748 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 26749func_split_long_opt ()\ 26750{\ 26751\ func_split_long_opt_name=${1%%=*}\ 26752\ func_split_long_opt_arg=${1#*=}\ 26753} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 26754 && mv -f "$cfgfile.tmp" "$cfgfile" \ 26755 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 26756test 0 -eq $? || _lt_function_replace_fail=: 26757 26758 26759 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 26760func_split_short_opt ()\ 26761{\ 26762\ func_split_short_opt_arg=${1#??}\ 26763\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 26764} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 26765 && mv -f "$cfgfile.tmp" "$cfgfile" \ 26766 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 26767test 0 -eq $? || _lt_function_replace_fail=: 26768 26769 26770 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 26771func_lo2o ()\ 26772{\ 26773\ case ${1} in\ 26774\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 26775\ *) func_lo2o_result=${1} ;;\ 26776\ esac\ 26777} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 26778 && mv -f "$cfgfile.tmp" "$cfgfile" \ 26779 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 26780test 0 -eq $? || _lt_function_replace_fail=: 26781 26782 26783 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 26784func_xform ()\ 26785{\ 26786 func_xform_result=${1%.*}.lo\ 26787} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 26788 && mv -f "$cfgfile.tmp" "$cfgfile" \ 26789 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 26790test 0 -eq $? || _lt_function_replace_fail=: 26791 26792 26793 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 26794func_arith ()\ 26795{\ 26796 func_arith_result=$(( $* ))\ 26797} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 26798 && mv -f "$cfgfile.tmp" "$cfgfile" \ 26799 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 26800test 0 -eq $? || _lt_function_replace_fail=: 26801 26802 26803 sed -e '/^func_len ()$/,/^} # func_len /c\ 26804func_len ()\ 26805{\ 26806 func_len_result=${#1}\ 26807} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 26808 && mv -f "$cfgfile.tmp" "$cfgfile" \ 26809 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 26810test 0 -eq $? || _lt_function_replace_fail=: 26811 26812fi 26813 26814if test x"$lt_shell_append" = xyes; then 26815 sed -e '/^func_append ()$/,/^} # func_append /c\ 26816func_append ()\ 26817{\ 26818 eval "${1}+=\\${2}"\ 26819} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 26820 && mv -f "$cfgfile.tmp" "$cfgfile" \ 26821 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 26822test 0 -eq $? || _lt_function_replace_fail=: 26823 26824 26825 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 26826func_append_quoted ()\ 26827{\ 26828\ func_quote_for_eval "${2}"\ 26829\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 26830} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 26831 && mv -f "$cfgfile.tmp" "$cfgfile" \ 26832 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 26833test 0 -eq $? || _lt_function_replace_fail=: 26834 26835 26836 # Save a `func_append' function call where possible by direct use of '+=' 26837 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 26838 && mv -f "$cfgfile.tmp" "$cfgfile" \ 26839 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 26840 test 0 -eq $? || _lt_function_replace_fail=: 26841else 26842 # Save a `func_append' function call even when '+=' is not available 26843 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 26844 && mv -f "$cfgfile.tmp" "$cfgfile" \ 26845 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 26846 test 0 -eq $? || _lt_function_replace_fail=: 26847fi 26848 26849if test x"$_lt_function_replace_fail" = x":"; then 26850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 26851$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 26852fi 26853 26854 26855 mv -f "$cfgfile" "$ofile" || 26856 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 26857 chmod +x "$ofile" 26858 26859 26860 cat <<_LT_EOF >> "$ofile" 26861 26862# ### BEGIN LIBTOOL TAG CONFIG: CXX 26863 26864# The linker used to build libraries. 26865LD=$lt_LD_CXX 26866 26867# How to create reloadable object files. 26868reload_flag=$lt_reload_flag_CXX 26869reload_cmds=$lt_reload_cmds_CXX 26870 26871# Commands used to build an old-style archive. 26872old_archive_cmds=$lt_old_archive_cmds_CXX 26873 26874# A language specific compiler. 26875CC=$lt_compiler_CXX 26876 26877# Is the compiler the GNU compiler? 26878with_gcc=$GCC_CXX 26879 26880# Compiler flag to turn off builtin functions. 26881no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 26882 26883# Additional compiler flags for building library objects. 26884pic_flag=$lt_lt_prog_compiler_pic_CXX 26885 26886# How to pass a linker flag through the compiler. 26887wl=$lt_lt_prog_compiler_wl_CXX 26888 26889# Compiler flag to prevent dynamic linking. 26890link_static_flag=$lt_lt_prog_compiler_static_CXX 26891 26892# Does compiler simultaneously support -c and -o options? 26893compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 26894 26895# Whether or not to add -lc for building shared libraries. 26896build_libtool_need_lc=$archive_cmds_need_lc_CXX 26897 26898# Whether or not to disallow shared libs when runtime libs are static. 26899allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 26900 26901# Compiler flag to allow reflexive dlopens. 26902export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 26903 26904# Compiler flag to generate shared objects directly from archives. 26905whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 26906 26907# Whether the compiler copes with passing no objects directly. 26908compiler_needs_object=$lt_compiler_needs_object_CXX 26909 26910# Create an old-style archive from a shared archive. 26911old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 26912 26913# Create a temporary old-style archive to link instead of a shared archive. 26914old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 26915 26916# Commands used to build a shared archive. 26917archive_cmds=$lt_archive_cmds_CXX 26918archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 26919 26920# Commands used to build a loadable module if different from building 26921# a shared archive. 26922module_cmds=$lt_module_cmds_CXX 26923module_expsym_cmds=$lt_module_expsym_cmds_CXX 26924 26925# Whether we are building with GNU ld or not. 26926with_gnu_ld=$lt_with_gnu_ld_CXX 26927 26928# Flag that allows shared libraries with undefined symbols to be built. 26929allow_undefined_flag=$lt_allow_undefined_flag_CXX 26930 26931# Flag that enforces no undefined symbols. 26932no_undefined_flag=$lt_no_undefined_flag_CXX 26933 26934# Flag to hardcode \$libdir into a binary during linking. 26935# This must work even if \$libdir does not exist 26936hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 26937 26938# Whether we need a single "-rpath" flag with a separated argument. 26939hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 26940 26941# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 26942# DIR into the resulting binary. 26943hardcode_direct=$hardcode_direct_CXX 26944 26945# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 26946# DIR into the resulting binary and the resulting library dependency is 26947# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 26948# library is relocated. 26949hardcode_direct_absolute=$hardcode_direct_absolute_CXX 26950 26951# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 26952# into the resulting binary. 26953hardcode_minus_L=$hardcode_minus_L_CXX 26954 26955# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 26956# into the resulting binary. 26957hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 26958 26959# Set to "yes" if building a shared library automatically hardcodes DIR 26960# into the library and all subsequent libraries and executables linked 26961# against it. 26962hardcode_automatic=$hardcode_automatic_CXX 26963 26964# Set to yes if linker adds runtime paths of dependent libraries 26965# to runtime path list. 26966inherit_rpath=$inherit_rpath_CXX 26967 26968# Whether libtool must link a program against all its dependency libraries. 26969link_all_deplibs=$link_all_deplibs_CXX 26970 26971# Set to "yes" if exported symbols are required. 26972always_export_symbols=$always_export_symbols_CXX 26973 26974# The commands to list exported symbols. 26975export_symbols_cmds=$lt_export_symbols_cmds_CXX 26976 26977# Symbols that should not be listed in the preloaded symbols. 26978exclude_expsyms=$lt_exclude_expsyms_CXX 26979 26980# Symbols that must always be exported. 26981include_expsyms=$lt_include_expsyms_CXX 26982 26983# Commands necessary for linking programs (against libraries) with templates. 26984prelink_cmds=$lt_prelink_cmds_CXX 26985 26986# Commands necessary for finishing linking programs. 26987postlink_cmds=$lt_postlink_cmds_CXX 26988 26989# Specify filename containing input files. 26990file_list_spec=$lt_file_list_spec_CXX 26991 26992# How to hardcode a shared library path into an executable. 26993hardcode_action=$hardcode_action_CXX 26994 26995# The directories searched by this compiler when creating a shared library. 26996compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 26997 26998# Dependencies to place before and after the objects being linked to 26999# create a shared library. 27000predep_objects=$lt_predep_objects_CXX 27001postdep_objects=$lt_postdep_objects_CXX 27002predeps=$lt_predeps_CXX 27003postdeps=$lt_postdeps_CXX 27004 27005# The library search path used internally by the compiler when linking 27006# a shared library. 27007compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 27008 27009# ### END LIBTOOL TAG CONFIG: CXX 27010_LT_EOF 27011 27012 ;; 27013 "po/stamp-it":C) 27014 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 27015 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 27016 fi 27017 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 27018 >"po/stamp-it.tmp" 27019 sed '/^#/d 27020 s/^[[].*] *// 27021 /^[ ]*$/d 27022 '"s|^| $ac_top_srcdir/|" \ 27023 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 27024 27025 sed '/^POTFILES =/,/[^\\]$/ { 27026 /^POTFILES =/!d 27027 r po/POTFILES 27028 } 27029 ' "po/Makefile.in" >"po/Makefile" 27030 rm -f "po/Makefile.tmp" 27031 mv "po/stamp-it.tmp" "po/stamp-it" 27032 ;; 27033 27034 esac 27035done # for ac_tag 27036 27037 27038as_fn_exit 0 27039_ACEOF 27040ac_clean_files=$ac_clean_files_save 27041 27042test $ac_write_fail = 0 || 27043 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 27044 27045 27046# configure is writing to config.log, and then calls config.status. 27047# config.status does its own redirection, appending to config.log. 27048# Unfortunately, on DOS this fails, as config.log is still kept open 27049# by configure, so config.status won't be able to write to it; its 27050# output is simply discarded. So we exec the FD to /dev/null, 27051# effectively closing config.log, so it can be properly (re)opened and 27052# appended to by config.status. When coming back to configure, we 27053# need to make the FD available again. 27054if test "$no_create" != yes; then 27055 ac_cs_success=: 27056 ac_config_status_args= 27057 test "$silent" = yes && 27058 ac_config_status_args="$ac_config_status_args --quiet" 27059 exec 5>/dev/null 27060 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 27061 exec 5>>config.log 27062 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 27063 # would make configure fail if this is the last instruction. 27064 $ac_cs_success || as_fn_exit 1 27065fi 27066if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 27067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 27068$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 27069fi 27070 27071 27072# ========================================================================== 27073echo " 27074 ---{ $PACKAGE_NAME $VERSION }--- 27075 27076 prefix: ${prefix} 27077 sysconfdir: ${sysconfdir} 27078 localstatedir: ${localstatedir} 27079 avahi socket: ${avahi_socket} 27080 dbus-1 system.d dir: ${DBUS_SYS_DIR} 27081 dbus-1 version: ${DBUS_VERSION} 27082 dbus-1 system socket: ${DBUS_SYSTEM_BUS_DEFAULT_ADDRESS} 27083 C Compiler: ${CC} 27084 CFLAGS: ${CFLAGS} 27085 Enable GLIB: ${HAVE_GLIB} 27086 Enable GLIB GObject: ${HAVE_GOBJECT} 27087 Enable GObject Introspection: ${found_introspection} 27088 Enable GTK 2.0: ${HAVE_GTK} 27089 Enable GTK 3.0: ${HAVE_GTK3} 27090 Enable D-Bus: ${HAVE_DBUS} 27091 With XML: ${with_xml} 27092 Enable GDBM: ${HAVE_GDBM} 27093 Enable DBM: ${HAVE_DBM} 27094 Enable libdaemon: ${HAVE_LIBDAEMON} 27095 Enable Python: ${HAVE_PYTHON} 27096 Enable pygtk: ${HAVE_PYGTK} 27097 Enable python-dbus: ${HAVE_PYTHON_DBUS} 27098 Enable QT3: ${HAVE_QT3} 27099 Enable QT4: ${HAVE_QT4} 27100 Enable Mono: ${HAVE_MONO} 27101 Enable Monodoc: ${HAVE_MONODOC} 27102 Distribution/OS: ${with_distro} 27103 User for avahi-daemon: ${AVAHI_USER} 27104 Group for avahi-daemon: ${AVAHI_GROUP} 27105 Priviliged access group for Avahi clients: ${AVAHI_PRIV_ACCESS_GROUP} 27106 User for avahi-autoipd: ${AVAHI_AUTOIPD_USER} 27107 Group for avahi-autoipd: ${AVAHI_AUTOIPD_GROUP} 27108 Enable chroot(): ${enable_chroot} 27109 Enable Linux inotify: ${have_inotify} 27110 Enable stack-smashing protection: ${enable_ssp} 27111 systemd unit directory: ${with_systemdsystemunitdir} 27112" 27113 27114BUILD_DAEMON="no (You need libdaemon and expat/bsdxml!)" 27115 27116if test "x$HAVE_XML" = "xyes" -a "x$HAVE_LIBDAEMON" = "xyes" ; then 27117 BUILD_DAEMON=yes 27118fi 27119 27120BUILD_PYTHON="no (You need python, pygtk and python-dbus!)" 27121 27122if test "x$BUILD_DAEMON" = "xyes" -a "x$HAVE_DBUS" = "xyes" -a "x$HAVE_PYTHON" = "xyes" -a "x$HAVE_PYTHON_DBUS" = "xyes" -a "x$HAVE_PYGTK" = "xyes" ; then 27123 BUILD_PYTHON=yes 27124fi 27125 27126BUILD_CLIENT="no (You need avahi-daemon and D-Bus!)" 27127 27128if test "x$BUILD_DAEMON" = "xyes" -a "x$HAVE_DBUS" = "xyes" ; then 27129 BUILD_CLIENT=yes 27130fi 27131 27132if test "x$ENABLE_COMPAT_LIBDNS_SD" = "xyes" -a "x$BUILD_CLIENT" != "xyes" ; then 27133 ENABLE_COMPAT_LIBDNS_SD="no (You need libavahi-client!)" 27134fi 27135if test "x$ENABLE_COMPAT_HOWL" = "xyes" -a "x$BUILD_CLIENT" != "xyes" ; then 27136 ENABLE_COMPAT_HOWL="no (You need libavahi-client!)" 27137fi 27138if test "x$ENABLE_AUTOIPD" = "xyes" -a "x$HAVE_LIBDAEMON" != "xyes" ; then 27139 ENABLE_AUTOIPD="no (You need libdaemon!)" 27140fi 27141 27142HAVE_GTK2OR3=no 27143if test "x$HAVE_GTK" = "xyes" -o "x$HAVE_GTK3" = "xyes" ; then 27144 HAVE_GTK2OR3=yes 27145fi 27146 27147BUILD_UI="no" 27148if test "x$HAVE_GTK2OR3" = "xyes" -a "x$BUILD_CLIENT" = "xyes" ; then 27149 BUILD_UI="yes" 27150fi 27151 27152BUILD_GOBJECT="no" 27153if test "x$BUILD_CLIENT" = "xyes" -a "x$HAVE_GOBJECT" = "xyes" ; then 27154 BUILD_GOBJECT="yes" 27155fi 27156 27157echo "\ 27158 Building libavahi-core yes 27159 Building avahi-daemon: ${BUILD_DAEMON} 27160 Building avahi-dnsconfd: ${BUILD_DAEMON} 27161 Building libavahi-client: ${BUILD_CLIENT} 27162 Building avahi-utils: ${BUILD_CLIENT} 27163 Building avahi-python: ${BUILD_PYTHON} 27164 Building libavahi-glib: ${HAVE_GLIB} 27165 Building libavahi-gobject: ${BUILD_GOBJECT} 27166 Building avahi-discover-standalone: ${HAVE_GTK2OR3} 27167 Building libavahi-qt3: ${HAVE_QT3} 27168 Building libavahi-qt4: ${HAVE_QT4} 27169 Building avahi-sharp: ${HAVE_MONO} 27170 Building avahi-compat-libdns_sd: ${ENABLE_COMPAT_LIBDNS_SD} 27171 Building avahi-compat-howl: ${ENABLE_COMPAT_HOWL} 27172 Building tests: ${ENABLE_TESTS} 27173 Building avahi-core documentation: ${ENABLE_CORE_DOCS} 27174 Building avahi-autoipd: ${ENABLE_AUTOIPD} 27175 Building libavahi-ui: ${BUILD_UI} 27176" 27177